diff --git a/404.html b/404.html index 250a2b6..599652c 100644 --- a/404.html +++ b/404.html @@ -11,6 +11,6 @@ - + \ No newline at end of file diff --git a/index.html b/index.html index 250a2b6..599652c 100644 --- a/index.html +++ b/index.html @@ -11,6 +11,6 @@ - + \ No newline at end of file diff --git a/main.21b78450eddd1b00.js b/main.729b679a9bc9f30b.js similarity index 62% rename from main.21b78450eddd1b00.js rename to main.729b679a9bc9f30b.js index 8be2249..3685bc4 100644 --- a/main.21b78450eddd1b00.js +++ b/main.729b679a9bc9f30b.js @@ -1 +1 @@ -"use strict";(self.webpackChunkuntitled1=self.webpackChunkuntitled1||[]).push([[179],{3:()=>{function ie(n){return"function"==typeof n}function bo(n){const t=n(r=>{Error.call(r),r.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}const Co=bo(n=>function(t){n(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((r,i)=>`${i+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t});function hr(n,e){if(n){const t=n.indexOf(e);0<=t&&n.splice(t,1)}}class ot{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const o of t)o.remove(this);else t.remove(this);const{initialTeardown:r}=this;if(ie(r))try{r()}catch(o){e=o instanceof Co?o.errors:[o]}const{_finalizers:i}=this;if(i){this._finalizers=null;for(const o of i)try{uf(o)}catch(s){e=e??[],s instanceof Co?e=[...e,...s.errors]:e.push(s)}}if(e)throw new Co(e)}}add(e){var t;if(e&&e!==this)if(this.closed)uf(e);else{if(e instanceof ot){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(e)}}_hasParent(e){const{_parentage:t}=this;return t===e||Array.isArray(t)&&t.includes(e)}_addParent(e){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e}_removeParent(e){const{_parentage:t}=this;t===e?this._parentage=null:Array.isArray(t)&&hr(t,e)}remove(e){const{_finalizers:t}=this;t&&hr(t,e),e instanceof ot&&e._removeParent(this)}}ot.EMPTY=(()=>{const n=new ot;return n.closed=!0,n})();const af=ot.EMPTY;function lf(n){return n instanceof ot||n&&"closed"in n&&ie(n.remove)&&ie(n.add)&&ie(n.unsubscribe)}function uf(n){ie(n)?n():n.unsubscribe()}const Hn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},wo={setTimeout(n,e,...t){const{delegate:r}=wo;return r?.setTimeout?r.setTimeout(n,e,...t):setTimeout(n,e,...t)},clearTimeout(n){const{delegate:e}=wo;return(e?.clearTimeout||clearTimeout)(n)},delegate:void 0};function cf(n){wo.setTimeout(()=>{const{onUnhandledError:e}=Hn;if(!e)throw n;e(n)})}function $a(){}const nb=Ga("C",void 0,void 0);function Ga(n,e,t){return{kind:n,value:e,error:t}}let Un=null;function Mo(n){if(Hn.useDeprecatedSynchronousErrorHandling){const e=!Un;if(e&&(Un={errorThrown:!1,error:null}),n(),e){const{errorThrown:t,error:r}=Un;if(Un=null,t)throw r}}else n()}class za extends ot{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,lf(e)&&e.add(this)):this.destination=ub}static create(e,t,r){return new li(e,t,r)}next(e){this.isStopped?qa(function ib(n){return Ga("N",n,void 0)}(e),this):this._next(e)}error(e){this.isStopped?qa(function rb(n){return Ga("E",void 0,n)}(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?qa(nb,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const sb=Function.prototype.bind;function Wa(n,e){return sb.call(n,e)}class ab{constructor(e){this.partialObserver=e}next(e){const{partialObserver:t}=this;if(t.next)try{t.next(e)}catch(r){So(r)}}error(e){const{partialObserver:t}=this;if(t.error)try{t.error(e)}catch(r){So(r)}else So(e)}complete(){const{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(t){So(t)}}}class li extends za{constructor(e,t,r){let i;if(super(),ie(e)||!e)i={next:e??void 0,error:t??void 0,complete:r??void 0};else{let o;this&&Hn.useDeprecatedNextContext?(o=Object.create(e),o.unsubscribe=()=>this.unsubscribe(),i={next:e.next&&Wa(e.next,o),error:e.error&&Wa(e.error,o),complete:e.complete&&Wa(e.complete,o)}):i=e}this.destination=new ab(i)}}function So(n){Hn.useDeprecatedSynchronousErrorHandling?function ob(n){Hn.useDeprecatedSynchronousErrorHandling&&Un&&(Un.errorThrown=!0,Un.error=n)}(n):cf(n)}function qa(n,e){const{onStoppedNotification:t}=Hn;t&&wo.setTimeout(()=>t(n,e))}const ub={closed:!0,next:$a,error:function lb(n){throw n},complete:$a},Ka="function"==typeof Symbol&&Symbol.observable||"@@observable";function ui(n){return n}let we=(()=>{class n{constructor(t){t&&(this._subscribe=t)}lift(t){const r=new n;return r.source=this,r.operator=t,r}subscribe(t,r,i){const o=function db(n){return n&&n instanceof za||function cb(n){return n&&ie(n.next)&&ie(n.error)&&ie(n.complete)}(n)&&lf(n)}(t)?t:new li(t,r,i);return Mo(()=>{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(r){t.error(r)}}forEach(t,r){return new(r=ff(r))((i,o)=>{const s=new li({next:a=>{try{t(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(t){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(t)}[Ka](){return this}pipe(...t){return function df(n){return 0===n.length?ui:1===n.length?n[0]:function(t){return n.reduce((r,i)=>i(r),t)}}(t)(this)}toPromise(t){return new(t=ff(t))((r,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>r(o))})}}return n.create=e=>new n(e),n})();function ff(n){var e;return null!==(e=n??Hn.Promise)&&void 0!==e?e:Promise}const fb=bo(n=>function(){n(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let ci=(()=>{class n extends we{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const r=new hf(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new fb}next(t){Mo(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(t)}})}error(t){Mo(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:r}=this;for(;r.length;)r.shift().error(t)}})}complete(){Mo(()=>{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:r,isStopped:i,observers:o}=this;return r||i?af:(this.currentObservers=null,o.push(t),new ot(()=>{this.currentObservers=null,hr(o,t)}))}_checkFinalizedStatuses(t){const{hasError:r,thrownError:i,isStopped:o}=this;r?t.error(i):o&&t.complete()}asObservable(){const t=new we;return t.source=this,t}}return n.create=(e,t)=>new hf(e,t),n})();class hf extends ci{constructor(e,t){super(),this.destination=e,this.source=t}next(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,e)}error(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,e)}complete(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)}_subscribe(e){var t,r;return null!==(r=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==r?r:af}}function st(n){return e=>{if(function hb(n){return ie(n?.lift)}(e))return e.lift(function(t){try{return n(t,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function yt(n,e,t,r,i){return new pb(n,e,t,r,i)}class pb extends za{constructor(e,t,r,i,o,s){super(e),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(l){e.error(l)}}:super._next,this._error=i?function(a){try{i(a)}catch(l){e.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:t}=this;super.unsubscribe(),!t&&(null===(e=this.onFinalize)||void 0===e||e.call(this))}}}function Ze(n,e){return st((t,r)=>{let i=0;t.subscribe(yt(r,o=>{r.next(n.call(e,o,i++))}))})}function Mn(n){return this instanceof Mn?(this.v=n,this):new Mn(n)}function yf(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,e=n[Symbol.asyncIterator];return e?e.call(n):(n=function Xa(n){var e="function"==typeof Symbol&&Symbol.iterator,t=e&&n[e],r=0;if(t)return t.call(n);if(n&&"number"==typeof n.length)return{next:function(){return n&&r>=n.length&&(n=void 0),{value:n&&n[r++],done:!n}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}(n),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(o){t[o]=n[o]&&function(s){return new Promise(function(a,l){!function i(o,s,a,l){Promise.resolve(l).then(function(u){o({value:u,done:a})},s)}(a,l,(s=n[o](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const _f=n=>n&&"number"==typeof n.length&&"function"!=typeof n;function vf(n){return ie(n?.then)}function Df(n){return ie(n[Ka])}function Ef(n){return Symbol.asyncIterator&&ie(n?.[Symbol.asyncIterator])}function bf(n){return new TypeError(`You provided ${null!==n&&"object"==typeof n?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const Cf=function kb(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function wf(n){return ie(n?.[Cf])}function Mf(n){return function mf(n,e,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,r=t.apply(n,e||[]),o=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(f){r[f]&&(i[f]=function(h){return new Promise(function(p,g){o.push([f,h,p,g])>1||a(f,h)})})}function a(f,h){try{!function l(f){f.value instanceof Mn?Promise.resolve(f.value.v).then(u,c):d(o[0][2],f)}(r[f](h))}catch(p){d(o[0][3],p)}}function u(f){a("next",f)}function c(f){a("throw",f)}function d(f,h){f(h),o.shift(),o.length&&a(o[0][0],o[0][1])}}(this,arguments,function*(){const t=n.getReader();try{for(;;){const{value:r,done:i}=yield Mn(t.read());if(i)return yield Mn(void 0);yield yield Mn(r)}}finally{t.releaseLock()}})}function Sf(n){return ie(n?.getReader)}function At(n){if(n instanceof we)return n;if(null!=n){if(Df(n))return function Lb(n){return new we(e=>{const t=n[Ka]();if(ie(t.subscribe))return t.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(n);if(_f(n))return function Vb(n){return new we(e=>{for(let t=0;t{n.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,cf)})}(n);if(Ef(n))return If(n);if(wf(n))return function jb(n){return new we(e=>{for(const t of n)if(e.next(t),e.closed)return;e.complete()})}(n);if(Sf(n))return function Hb(n){return If(Mf(n))}(n)}throw bf(n)}function If(n){return new we(e=>{(function Ub(n,e){var t,r,i,o;return function pf(n,e,t,r){return new(t||(t=Promise))(function(o,s){function a(c){try{u(r.next(c))}catch(d){s(d)}}function l(c){try{u(r.throw(c))}catch(d){s(d)}}function u(c){c.done?o(c.value):function i(o){return o instanceof t?o:new t(function(s){s(o)})}(c.value).then(a,l)}u((r=r.apply(n,e||[])).next())})}(this,void 0,void 0,function*(){try{for(t=yf(n);!(r=yield t.next()).done;)if(e.next(r.value),e.closed)return}catch(s){i={error:s}}finally{try{r&&!r.done&&(o=t.return)&&(yield o.call(t))}finally{if(i)throw i.error}}e.complete()})})(n,e).catch(t=>e.error(t))})}function rn(n,e,t,r=0,i=!1){const o=e.schedule(function(){t(),i?n.add(this.schedule(null,r)):this.unsubscribe()},r);if(n.add(o),!i)return o}function Io(n,e,t=1/0){return ie(e)?Io((r,i)=>Ze((o,s)=>e(r,o,i,s))(At(n(r,i))),t):("number"==typeof e&&(t=e),st((r,i)=>function $b(n,e,t,r,i,o,s,a){const l=[];let u=0,c=0,d=!1;const f=()=>{d&&!l.length&&!u&&e.complete()},h=g=>u{o&&e.next(g),u++;let m=!1;At(t(g,c++)).subscribe(yt(e,y=>{i?.(y),o?h(y):e.next(y)},()=>{m=!0},void 0,()=>{if(m)try{for(u--;l.length&&up(y)):p(y)}f()}catch(y){e.error(y)}}))};return n.subscribe(yt(e,h,()=>{d=!0,f()})),()=>{a?.()}}(r,i,n,t)))}function Tf(n=1/0){return Io(ui,n)}const Ja=new we(n=>n.complete());function el(n){return n[n.length-1]}function Af(n){return ie(el(n))?n.pop():void 0}function di(n){return function zb(n){return n&&ie(n.schedule)}(el(n))?n.pop():void 0}function Nf(n,e=0){return st((t,r)=>{t.subscribe(yt(r,i=>rn(r,n,()=>r.next(i),e),()=>rn(r,n,()=>r.complete(),e),i=>rn(r,n,()=>r.error(i),e)))})}function Ff(n,e=0){return st((t,r)=>{r.add(n.schedule(()=>t.subscribe(r),e))})}function Of(n,e){if(!n)throw new Error("Iterable cannot be null");return new we(t=>{rn(t,e,()=>{const r=n[Symbol.asyncIterator]();rn(t,e,()=>{r.next().then(i=>{i.done?t.complete():t.next(i.value)})},0,!0)})})}function pr(n,e){return e?function Xb(n,e){if(null!=n){if(Df(n))return function qb(n,e){return At(n).pipe(Ff(e),Nf(e))}(n,e);if(_f(n))return function Qb(n,e){return new we(t=>{let r=0;return e.schedule(function(){r===n.length?t.complete():(t.next(n[r++]),t.closed||this.schedule())})})}(n,e);if(vf(n))return function Kb(n,e){return At(n).pipe(Ff(e),Nf(e))}(n,e);if(Ef(n))return Of(n,e);if(wf(n))return function Yb(n,e){return new we(t=>{let r;return rn(t,e,()=>{r=n[Cf](),rn(t,e,()=>{let i,o;try{({value:i,done:o}=r.next())}catch(s){return void t.error(s)}o?t.complete():t.next(i)},0,!0)}),()=>ie(r?.return)&&r.return()})}(n,e);if(Sf(n))return function Zb(n,e){return Of(Mf(n),e)}(n,e)}throw bf(n)}(n,e):At(n)}function tl(n,e,...t){if(!0===e)return void n();if(!1===e)return;const r=new li({next:()=>{r.unsubscribe(),n()}});return At(e(...t)).subscribe(r)}function re(n){for(let e in n)if(n[e]===re)return e;throw Error("Could not find renamed property on target object.")}function nl(n,e){for(const t in e)e.hasOwnProperty(t)&&!n.hasOwnProperty(t)&&(n[t]=e[t])}function oe(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(oe).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return`${n.overriddenName}`;if(n.name)return`${n.name}`;const e=n.toString();if(null==e)return""+e;const t=e.indexOf("\n");return-1===t?e:e.substring(0,t)}function rl(n,e){return null==n||""===n?null===e?"":e:null==e||""===e?n:n+" "+e}const eC=re({__forward_ref__:re});function se(n){return n.__forward_ref__=se,n.toString=function(){return oe(this())},n}function O(n){return il(n)?n():n}function il(n){return"function"==typeof n&&n.hasOwnProperty(eC)&&n.__forward_ref__===se}function ol(n){return n&&!!n.\u0275providers}class D extends Error{constructor(e,t){super(Ao(e,t)),this.code=e}}function Ao(n,e){return`NG0${Math.abs(n)}${e?": "+e.trim():""}`}function k(n){return"string"==typeof n?n:null==n?"":String(n)}function No(n,e){throw new D(-201,!1)}function _t(n,e){null==n&&function J(n,e,t,r){throw new Error(`ASSERTION ERROR: ${n}`+(null==r?"":` [Expected=> ${t} ${r} ${e} <=Actual]`))}(e,n,null,"!=")}function j(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function $e(n){return{providers:n.providers||[],imports:n.imports||[]}}function Fo(n){return xf(n,Oo)||xf(n,kf)}function xf(n,e){return n.hasOwnProperty(e)?n[e]:null}function Rf(n){return n&&(n.hasOwnProperty(sl)||n.hasOwnProperty(aC))?n[sl]:null}const Oo=re({\u0275prov:re}),sl=re({\u0275inj:re}),kf=re({ngInjectableDef:re}),aC=re({ngInjectorDef:re});var R=(()=>((R=R||{})[R.Default=0]="Default",R[R.Host=1]="Host",R[R.Self=2]="Self",R[R.SkipSelf=4]="SkipSelf",R[R.Optional=8]="Optional",R))();let al;function vt(n){const e=al;return al=n,e}function Lf(n,e,t){const r=Fo(n);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:t&R.Optional?null:void 0!==e?e:void No(oe(n))}const le=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),fi={},ll="__NG_DI_FLAG__",Po="ngTempTokenPath",uC="ngTokenPath",cC=/\n/gm,dC="\u0275",Vf="__source";let hi;function gr(n){const e=hi;return hi=n,e}function fC(n,e=R.Default){if(void 0===hi)throw new D(-203,!1);return null===hi?Lf(n,void 0,e):hi.get(n,e&R.Optional?null:void 0,e)}function I(n,e=R.Default){return(function lC(){return al}()||fC)(O(n),e)}function jt(n,e=R.Default){return I(n,xo(e))}function xo(n){return typeof n>"u"||"number"==typeof n?n:0|(n.optional&&8)|(n.host&&1)|(n.self&&2)|(n.skipSelf&&4)}function ul(n){const e=[];for(let t=0;t((Ht=Ht||{})[Ht.OnPush=0]="OnPush",Ht[Ht.Default=1]="Default",Ht))(),Nt=(()=>{return(n=Nt||(Nt={}))[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom",Nt;var n})();const sn={},Q=[],Ro=re({\u0275cmp:re}),cl=re({\u0275dir:re}),dl=re({\u0275pipe:re}),jf=re({\u0275mod:re}),an=re({\u0275fac:re}),gi=re({__NG_ELEMENT_ID__:re});let mC=0;function ko(n){return on(()=>{const e=Uf(n),t={...e,decls:n.decls,vars:n.vars,template:n.template,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,onPush:n.changeDetection===Ht.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&n.dependencies||null,getStandaloneInjector:null,data:n.data||{},encapsulation:n.encapsulation||Nt.Emulated,id:"c"+mC++,styles:n.styles||Q,_:null,schemas:n.schemas||null,tView:null};$f(t);const r=n.dependencies;return t.directiveDefs=Lo(r,!1),t.pipeDefs=Lo(r,!0),t})}function _C(n){return ee(n)||Pe(n)}function vC(n){return null!==n}function Xe(n){return on(()=>({type:n.type,bootstrap:n.bootstrap||Q,declarations:n.declarations||Q,imports:n.imports||Q,exports:n.exports||Q,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}))}function Hf(n,e){if(null==n)return sn;const t={};for(const r in n)if(n.hasOwnProperty(r)){let i=n[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),t[i]=r,e&&(e[i]=o)}return t}function L(n){return on(()=>{const e=Uf(n);return $f(e),e})}function ee(n){return n[Ro]||null}function Pe(n){return n[cl]||null}function et(n){return n[dl]||null}function Uf(n){const e={};return{type:n.type,providersResolver:null,factory:null,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:e,exportAs:n.exportAs||null,standalone:!0===n.standalone,selectors:n.selectors||Q,viewQuery:n.viewQuery||null,features:n.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Hf(n.inputs,e),outputs:Hf(n.outputs)}}function $f(n){n.features?.forEach(e=>e(n))}function Lo(n,e){if(!n)return null;const t=e?et:_C;return()=>("function"==typeof n?n():n).map(r=>t(r)).filter(vC)}const ln=0,M=1,H=2,pe=3,Ft=4,$n=5,xe=6,mr=7,me=8,Vo=9,Bo=10,$=11,fl=12,yi=13,Gf=14,yr=15,Re=16,_i=17,_r=18,Ut=19,vi=20,zf=21,ue=22,hl=1,Wf=2,jo=7,Ho=8,vr=9,Ge=10;function ut(n){return Array.isArray(n)&&"object"==typeof n[hl]}function Ot(n){return Array.isArray(n)&&!0===n[hl]}function pl(n){return 0!=(4&n.flags)}function Di(n){return n.componentOffset>-1}function Uo(n){return 1==(1&n.flags)}function Pt(n){return!!n.template}function EC(n){return 0!=(256&n[H])}function Gn(n,e){return n.hasOwnProperty(an)?n[an]:null}class wC{constructor(e,t,r){this.previousValue=e,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}}function $t(){return Qf}function Qf(n){return n.type.prototype.ngOnChanges&&(n.setInput=SC),MC}function MC(){const n=Zf(this),e=n?.current;if(e){const t=n.previous;if(t===sn)n.previous=e;else for(let r in e)t[r]=e[r];n.current=null,this.ngOnChanges(e)}}function SC(n,e,t,r){const i=this.declaredInputs[t],o=Zf(n)||function IC(n,e){return n[Yf]=e}(n,{previous:sn,current:null}),s=o.current||(o.current={}),a=o.previous,l=a[i];s[i]=new wC(l&&l.currentValue,e,a===sn),n[r]=e}$t.ngInherit=!0;const Yf="__ngSimpleChanges__";function Zf(n){return n[Yf]||null}const Dt=function(n,e,t){};function Ne(n){for(;Array.isArray(n);)n=n[ln];return n}function $o(n,e){return Ne(e[n])}function ct(n,e){return Ne(e[n.index])}function eh(n,e){return n.data[e]}function tt(n,e){const t=e[n];return ut(t)?t:t[ln]}function Go(n){return 64==(64&n[H])}function In(n,e){return null==e?null:n[e]}function th(n){n[_r]=0}function ml(n,e){n[$n]+=e;let t=n,r=n[pe];for(;null!==r&&(1===e&&1===t[$n]||-1===e&&0===t[$n]);)r[$n]+=e,t=r,r=r[pe]}const V={lFrame:dh(null),bindingsEnabled:!0};function rh(){return V.bindingsEnabled}function v(){return V.lFrame.lView}function W(){return V.lFrame.tView}function zo(n){return V.lFrame.contextLView=n,n[me]}function Wo(n){return V.lFrame.contextLView=null,n}function Fe(){let n=ih();for(;null!==n&&64===n.type;)n=n.parent;return n}function ih(){return V.lFrame.currentTNode}function Gt(n,e){const t=V.lFrame;t.currentTNode=n,t.isParent=e}function yl(){return V.lFrame.isParent}function _l(){V.lFrame.isParent=!1}function ze(){const n=V.lFrame;let e=n.bindingRootIndex;return-1===e&&(e=n.bindingRootIndex=n.tView.bindingStartIndex),e}function Er(){return V.lFrame.bindingIndex++}function jC(n,e){const t=V.lFrame;t.bindingIndex=t.bindingRootIndex=n,vl(e)}function vl(n){V.lFrame.currentDirectiveIndex=n}function lh(){return V.lFrame.currentQueryIndex}function El(n){V.lFrame.currentQueryIndex=n}function UC(n){const e=n[M];return 2===e.type?e.declTNode:1===e.type?n[xe]:null}function uh(n,e,t){if(t&R.SkipSelf){let i=e,o=n;for(;!(i=i.parent,null!==i||t&R.Host||(i=UC(o),null===i||(o=o[yr],10&i.type))););if(null===i)return!1;e=i,n=o}const r=V.lFrame=ch();return r.currentTNode=e,r.lView=n,!0}function bl(n){const e=ch(),t=n[M];V.lFrame=e,e.currentTNode=t.firstChild,e.lView=n,e.tView=t,e.contextLView=n,e.bindingIndex=t.bindingStartIndex,e.inI18n=!1}function ch(){const n=V.lFrame,e=null===n?null:n.child;return null===e?dh(n):e}function dh(n){const e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:n,child:null,inI18n:!1};return null!==n&&(n.child=e),e}function fh(){const n=V.lFrame;return V.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const hh=fh;function Cl(){const n=fh();n.isParent=!0,n.tView=null,n.selectedIndex=-1,n.contextLView=null,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.bindingRootIndex=-1,n.bindingIndex=-1,n.currentQueryIndex=0}function We(){return V.lFrame.selectedIndex}function zn(n){V.lFrame.selectedIndex=n}function qo(n,e){for(let t=e.directiveStart,r=e.directiveEnd;t=r)break}else e[l]<0&&(n[_r]+=65536),(a>11>16&&(3&n[H])===e){n[H]+=2048,Dt(4,a,o);try{o.call(a)}finally{Dt(5,a,o)}}}else{Dt(4,a,o);try{o.call(a)}finally{Dt(5,a,o)}}}const br=-1;class bi{constructor(e,t,r){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=r}}function Sl(n,e,t){let r=0;for(;re){s=o-1;break}}}for(;o>16}(n),r=e;for(;t>0;)r=r[yr],t--;return r}let Il=!0;function Xo(n){const e=Il;return Il=n,e}const vh=255,Dh=5;let nw=0;const zt={};function Jo(n,e){const t=Eh(n,e);if(-1!==t)return t;const r=e[M];r.firstCreatePass&&(n.injectorIndex=e.length,Tl(r.data,n),Tl(e,null),Tl(r.blueprint,null));const i=Al(n,e),o=n.injectorIndex;if(_h(i)){const s=Yo(i),a=Zo(i,e),l=a[M].data;for(let u=0;u<8;u++)e[o+u]=a[s+u]|l[s+u]}return e[o+8]=i,o}function Tl(n,e){n.push(0,0,0,0,0,0,0,0,e)}function Eh(n,e){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===e[n.injectorIndex+8]?-1:n.injectorIndex}function Al(n,e){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;let t=0,r=null,i=e;for(;null!==i;){if(r=Th(i),null===r)return br;if(t++,i=i[yr],-1!==r.injectorIndex)return r.injectorIndex|t<<16}return br}function Nl(n,e,t){!function rw(n,e,t){let r;"string"==typeof t?r=t.charCodeAt(0)||0:t.hasOwnProperty(gi)&&(r=t[gi]),null==r&&(r=t[gi]=nw++);const i=r&vh;e.data[n+(i>>Dh)]|=1<=0?e&vh:aw:e}(t);if("function"==typeof o){if(!uh(e,n,r))return r&R.Host?bh(i,0,r):Ch(e,t,r,i);try{const s=o(r);if(null!=s||r&R.Optional)return s;No()}finally{hh()}}else if("number"==typeof o){let s=null,a=Eh(n,e),l=br,u=r&R.Host?e[Re][xe]:null;for((-1===a||r&R.SkipSelf)&&(l=-1===a?Al(n,e):e[a+8],l!==br&&Ih(r,!1)?(s=e[M],a=Yo(l),e=Zo(l,e)):a=-1);-1!==a;){const c=e[M];if(Sh(o,a,c.data)){const d=ow(a,e,t,s,r,u);if(d!==zt)return d}l=e[a+8],l!==br&&Ih(r,e[M].data[a+8]===u)&&Sh(o,a,e)?(s=c,a=Yo(l),e=Zo(l,e)):a=-1}}return i}function ow(n,e,t,r,i,o){const s=e[M],a=s.data[n+8],c=es(a,s,t,null==r?Di(a)&&Il:r!=s&&0!=(3&a.type),i&R.Host&&o===a);return null!==c?Wn(e,s,c,a):zt}function es(n,e,t,r,i){const o=n.providerIndexes,s=e.data,a=1048575&o,l=n.directiveStart,c=o>>20,f=i?a+c:n.directiveEnd;for(let h=r?a:a+c;h=l&&p.type===t)return h}if(i){const h=s[l];if(h&&Pt(h)&&h.type===t)return l}return null}function Wn(n,e,t,r){let i=n[t];const o=e.data;if(function XC(n){return n instanceof bi}(i)){const s=i;s.resolving&&function tC(n,e){const t=e?`. Dependency path: ${e.join(" > ")} > ${n}`:"";throw new D(-200,`Circular dependency in DI detected for ${n}${t}`)}(function X(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():k(n)}(o[t]));const a=Xo(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?vt(s.injectImpl):null;uh(n,r,R.Default);try{i=n[t]=s.factory(void 0,o,n,r),e.firstCreatePass&&t>=r.directiveStart&&function YC(n,e,t){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(r){const s=Qf(e);(t.preOrderHooks??(t.preOrderHooks=[])).push(n,s),(t.preOrderCheckHooks??(t.preOrderCheckHooks=[])).push(n,s)}i&&(t.preOrderHooks??(t.preOrderHooks=[])).push(0-n,i),o&&((t.preOrderHooks??(t.preOrderHooks=[])).push(n,o),(t.preOrderCheckHooks??(t.preOrderCheckHooks=[])).push(n,o))}(t,o[t],e)}finally{null!==l&&vt(l),Xo(a),s.resolving=!1,hh()}}return i}function Sh(n,e,t){return!!(t[e+(n>>Dh)]&1<{const e=Fl(O(n));return e&&e()}:Gn(n)}function Th(n){const e=n[M],t=e.type;return 2===t?e.declTNode:1===t?n[xe]:null}const Mr="__parameters__";function Ir(n,e,t){return on(()=>{const r=function Pl(n){return function(...t){if(n){const r=n(...t);for(const i in r)this[i]=r[i]}}}(e);function i(...o){if(this instanceof i)return r.apply(this,o),this;const s=new i(...o);return a.annotation=s,a;function a(l,u,c){const d=l.hasOwnProperty(Mr)?l[Mr]:Object.defineProperty(l,Mr,{value:[]})[Mr];for(;d.length<=c;)d.push(null);return(d[c]=d[c]||[]).push(s),l}}return t&&(i.prototype=Object.create(t.prototype)),i.prototype.ngMetadataName=n,i.annotationCls=i,i})}class S{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=j({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function qn(n,e){n.forEach(t=>Array.isArray(t)?qn(t,e):e(t))}function Nh(n,e,t){e>=n.length?n.push(t):n.splice(e,0,t)}function ts(n,e){return e>=n.length-1?n.pop():n.splice(e,1)[0]}function Si(n,e){const t=[];for(let r=0;r=0?n[1|r]=t:(r=~r,function fw(n,e,t,r){let i=n.length;if(i==e)n.push(t,r);else if(1===i)n.push(r,n[0]),n[0]=t;else{for(i--,n.push(n[i-1],n[i]);i>e;)n[i]=n[i-2],i--;n[e]=t,n[e+1]=r}}(n,r,e,t)),r}function Rl(n,e){const t=Tr(n,e);if(t>=0)return n[1|t]}function Tr(n,e){return function Fh(n,e,t){let r=0,i=n.length>>t;for(;i!==r;){const o=r+(i-r>>1),s=n[o<e?i=o:r=o+1}return~(i<((nt=nt||{})[nt.Important=1]="Important",nt[nt.DashCase=2]="DashCase",nt))();const Hl=new Map;let xw=0;const $l="__ngContext__";function Le(n,e){ut(e)?(n[$l]=e[vi],function kw(n){Hl.set(n[vi],n)}(e)):n[$l]=e}let Gl;function zl(n,e){return Gl(n,e)}function Fi(n){const e=n[pe];return Ot(e)?e[pe]:e}function Wl(n){return Zh(n[yi])}function ql(n){return Zh(n[Ft])}function Zh(n){for(;null!==n&&!Ot(n);)n=n[Ft];return n}function Nr(n,e,t,r,i){if(null!=r){let o,s=!1;Ot(r)?o=r:ut(r)&&(s=!0,r=r[ln]);const a=Ne(r);0===n&&null!==t?null==i?rp(e,t,a):Qn(e,t,a,i||null,!0):1===n&&null!==t?Qn(e,t,a,i||null,!0):2===n?function eu(n,e,t){const r=os(n,e);r&&function nM(n,e,t,r){n.removeChild(e,t,r)}(n,r,e,t)}(e,a,s):3===n&&e.destroyNode(a),null!=o&&function oM(n,e,t,r,i){const o=t[jo];o!==Ne(t)&&Nr(e,n,r,o,i);for(let a=Ge;a0&&(n[t-1][Ft]=r[Ft]);const o=ts(n,Ge+e);!function Kw(n,e){Oi(n,e,e[$],2,null,null),e[ln]=null,e[xe]=null}(r[M],r);const s=o[Ut];null!==s&&s.detachView(o[M]),r[pe]=null,r[Ft]=null,r[H]&=-65}return r}function ep(n,e){if(!(128&e[H])){const t=e[$];t.destroyNode&&Oi(n,e,t,3,null,null),function Zw(n){let e=n[yi];if(!e)return Zl(n[M],n);for(;e;){let t=null;if(ut(e))t=e[yi];else{const r=e[Ge];r&&(t=r)}if(!t){for(;e&&!e[Ft]&&e!==n;)ut(e)&&Zl(e[M],e),e=e[pe];null===e&&(e=n),ut(e)&&Zl(e[M],e),t=e&&e[Ft]}e=t}}(e)}}function Zl(n,e){if(!(128&e[H])){e[H]&=-65,e[H]|=128,function tM(n,e){let t;if(null!=n&&null!=(t=n.destroyHooks))for(let r=0;r=0?r[i=s]():r[i=-s].unsubscribe(),o+=2}else{const s=r[i=t[o+1]];t[o].call(s)}if(null!==r){for(let o=i+1;o-1){const{encapsulation:o}=n.data[r.directiveStart+i];if(o===Nt.None||o===Nt.Emulated)return null}return ct(r,t)}}(n,e.parent,t)}function Qn(n,e,t,r,i){n.insertBefore(e,t,r,i)}function rp(n,e,t){n.appendChild(e,t)}function ip(n,e,t,r,i){null!==r?Qn(n,e,t,r,i):rp(n,e,t)}function os(n,e){return n.parentNode(e)}function op(n,e,t){return ap(n,e,t)}let Xl,ru,ap=function sp(n,e,t){return 40&n.type?ct(n,t):null};function ss(n,e,t,r){const i=tp(n,r,e),o=e[$],a=op(r.parent||e[xe],r,e);if(null!=i)if(Array.isArray(t))for(let l=0;l{const s=o;lu(s,t,[],r)&&(i||(i=[]),i.push(s))}),void 0!==i&&Fp(i,t),t}function Fp(n,e){for(let t=0;t{e.push(o)})}}function lu(n,e,t,r){if(!(n=O(n)))return!1;let i=null,o=Rf(n);const s=!o&&ee(n);if(o||s){if(s&&!s.standalone)return!1;i=n}else{const l=n.ngModule;if(o=Rf(l),!o)return!1;i=l}const a=r.has(i);if(s){if(a)return!1;if(r.add(i),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const u of l)lu(u,e,t,r)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let u;r.add(i);try{qn(o.imports,c=>{lu(c,e,t,r)&&(u||(u=[]),u.push(c))})}finally{}void 0!==u&&Fp(u,e)}if(!a){const u=Gn(i)||(()=>new i);e.push({provide:i,useFactory:u,deps:Q},{provide:Tp,useValue:i,multi:!0},{provide:Sp,useValue:()=>I(i),multi:!0})}const l=o.providers;null==l||a||uu(l,c=>{e.push(c)})}}return i!==n&&void 0!==n.providers}function uu(n,e){for(let t of n)ol(t)&&(t=t.\u0275providers),Array.isArray(t)?uu(t,e):e(t)}const HM=re({provide:String,useValue:re});function cu(n){return null!==n&&"object"==typeof n&&HM in n}function Zn(n){return"function"==typeof n}const du=new S("Set Injector scope."),fs={},$M={};let fu;function hs(){return void 0===fu&&(fu=new Ap),fu}class Xn{}class xp extends Xn{get destroyed(){return this._destroyed}constructor(e,t,r,i){super(),this.parent=t,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,pu(e,s=>this.processProvider(s)),this.records.set(Ip,Or(void 0,this)),i.has("environment")&&this.records.set(Xn,Or(void 0,this));const o=this.records.get(du);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Tp.multi,Q,R.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const e of this._ngOnDestroyHooks)e.ngOnDestroy();for(const e of this._onDestroyHooks)e()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(e){this._onDestroyHooks.push(e)}runInContext(e){this.assertNotDestroyed();const t=gr(this),r=vt(void 0);try{return e()}finally{gr(t),vt(r)}}get(e,t=fi,r=R.Default){this.assertNotDestroyed(),r=xo(r);const i=gr(this),o=vt(void 0);try{if(!(r&R.SkipSelf)){let a=this.records.get(e);if(void 0===a){const l=function KM(n){return"function"==typeof n||"object"==typeof n&&n instanceof S}(e)&&Fo(e);a=l&&this.injectableDefInScope(l)?Or(hu(e),fs):null,this.records.set(e,a)}if(null!=a)return this.hydrate(e,a)}return(r&R.Self?hs():this.parent).get(e,t=r&R.Optional&&t===fi?null:t)}catch(s){if("NullInjectorError"===s.name){if((s[Po]=s[Po]||[]).unshift(oe(e)),i)throw s;return function pC(n,e,t,r){const i=n[Po];throw e[Vf]&&i.unshift(e[Vf]),n.message=function gC(n,e,t,r=null){n=n&&"\n"===n.charAt(0)&&n.charAt(1)==dC?n.slice(2):n;let i=oe(e);if(Array.isArray(e))i=e.map(oe).join(" -> ");else if("object"==typeof e){let o=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):oe(a)))}i=`{${o.join(", ")}}`}return`${t}${r?"("+r+")":""}[${i}]: ${n.replace(cC,"\n ")}`}("\n"+n.message,i,t,r),n[uC]=i,n[Po]=null,n}(s,e,"R3InjectorError",this.source)}throw s}finally{vt(o),gr(i)}}resolveInjectorInitializers(){const e=gr(this),t=vt(void 0);try{const r=this.get(Sp.multi,Q,R.Self);for(const i of r)i()}finally{gr(e),vt(t)}}toString(){const e=[],t=this.records;for(const r of t.keys())e.push(oe(r));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new D(205,!1)}processProvider(e){let t=Zn(e=O(e))?e:O(e&&e.provide);const r=function zM(n){return cu(n)?Or(void 0,n.useValue):Or(Rp(n),fs)}(e);if(Zn(e)||!0!==e.multi)this.records.get(t);else{let i=this.records.get(t);i||(i=Or(void 0,fs,!0),i.factory=()=>ul(i.multi),this.records.set(t,i)),t=e,i.multi.push(e)}this.records.set(t,r)}hydrate(e,t){return t.value===fs&&(t.value=$M,t.value=t.factory()),"object"==typeof t.value&&t.value&&function qM(n){return null!==n&&"object"==typeof n&&"function"==typeof n.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}injectableDefInScope(e){if(!e.providedIn)return!1;const t=O(e.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}}function hu(n){const e=Fo(n),t=null!==e?e.factory:Gn(n);if(null!==t)return t;if(n instanceof S)throw new D(204,!1);if(n instanceof Function)return function GM(n){const e=n.length;if(e>0)throw Si(e,"?"),new D(204,!1);const t=function sC(n){return n&&(n[Oo]||n[kf])||null}(n);return null!==t?()=>t.factory(n):()=>new n}(n);throw new D(204,!1)}function Rp(n,e,t){let r;if(Zn(n)){const i=O(n);return Gn(i)||hu(i)}if(cu(n))r=()=>O(n.useValue);else if(function Pp(n){return!(!n||!n.useFactory)}(n))r=()=>n.useFactory(...ul(n.deps||[]));else if(function Op(n){return!(!n||!n.useExisting)}(n))r=()=>I(O(n.useExisting));else{const i=O(n&&(n.useClass||n.provide));if(!function WM(n){return!!n.deps}(n))return Gn(i)||hu(i);r=()=>new i(...ul(n.deps))}return r}function Or(n,e,t=!1){return{factory:n,value:e,multi:t?[]:void 0}}function pu(n,e){for(const t of n)Array.isArray(t)?pu(t,e):t&&ol(t)?pu(t.\u0275providers,e):e(t)}class QM{}class kp{}class ZM{resolveComponentFactory(e){throw function YM(n){const e=Error(`No component factory found for ${oe(n)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=n,e}(e)}}let ps=(()=>{class n{}return n.NULL=new ZM,n})();function XM(){return Pr(Fe(),v())}function Pr(n,e){return new bt(ct(n,e))}let bt=(()=>{class n{constructor(t){this.nativeElement=t}}return n.__NG_ELEMENT_ID__=XM,n})();function JM(n){return n instanceof bt?n.nativeElement:n}class Ri{}let Jn=(()=>{class n{}return n.__NG_ELEMENT_ID__=()=>function eS(){const n=v(),t=tt(Fe().index,n);return(ut(t)?t:n)[$]}(),n})(),tS=(()=>{class n{}return n.\u0275prov=j({token:n,providedIn:"root",factory:()=>null}),n})();class xr{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const nS=new xr("15.2.10"),gu={},mu="ngOriginalError";function yu(n){return n[mu]}class Tn{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e);this._console.error("ERROR",e),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(e){let t=e&&yu(e);for(;t&&yu(t);)t=yu(t);return t||null}}function Bp(n,e,t){let r=n.length;for(;;){const i=n.indexOf(e,t);if(-1===i)return i;if(0===i||n.charCodeAt(i-1)<=32){const o=e.length;if(i+o===r||n.charCodeAt(i+o)<=32)return i}t=i+1}}const jp="ng-template";function hS(n,e,t){let r=0,i=!0;for(;ro?"":i[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==Bp(h,u,0)||2&r&&u!==f){if(xt(r))return!1;s=!0}}}}else{if(!s&&!xt(r)&&!xt(l))return!1;if(s&&xt(l))continue;s=!1,r=l|1&r}}return xt(r)||s}function xt(n){return 0==(1&n)}function mS(n,e,t,r){if(null===e)return-1;let i=0;if(r||!t){let o=!1;for(;i-1)for(t++;t0?'="'+a+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""!==i&&!xt(s)&&(e+=$p(o,i),i=""),r=s,o=o||!xt(r);t++}return""!==i&&(e+=$p(o,i)),e}const B={};function An(n){Gp(W(),v(),We()+n,!1)}function Gp(n,e,t,r){if(!r)if(3==(3&e[H])){const o=n.preOrderCheckHooks;null!==o&&Ko(e,o,t)}else{const o=n.preOrderHooks;null!==o&&Qo(e,o,0,t)}zn(t)}function Kp(n,e=null,t=null,r){const i=Qp(n,e,t,r);return i.resolveInjectorInitializers(),i}function Qp(n,e=null,t=null,r,i=new Set){const o=[t||Q,jM(n)];return r=r||("object"==typeof n?void 0:oe(n)),new xp(o,e||hs(),r||null,i)}let hn=(()=>{class n{static create(t,r){if(Array.isArray(t))return Kp({name:""},r,t,"");{const i=t.name??"";return Kp({name:i},t.parent,t.providers,i)}}}return n.THROW_IF_NOT_FOUND=fi,n.NULL=new Ap,n.\u0275prov=j({token:n,providedIn:"any",factory:()=>I(Ip)}),n.__NG_ELEMENT_ID__=-1,n})();function b(n,e=R.Default){const t=v();return null===t?I(n,e):wh(Fe(),t,O(n),e)}function ng(n,e){const t=n.contentQueries;if(null!==t)for(let r=0;rue&&Gp(n,e,ue,!1),Dt(s?2:0,i),t(r,i)}finally{zn(o),Dt(s?3:1,i)}}function wu(n,e,t){if(pl(e)){const i=e.directiveEnd;for(let o=e.directiveStart;o0;){const t=n[--e];if("number"==typeof t&&t<0)return t}return 0})(s)!=a&&s.push(a),s.push(t,r,o)}}(n,e,r,ki(n,t,i.hostVars,B),i)}function uI(n,e,t,r,i,o){const s=o[e];if(null!==s){const a=r.setInput;for(let l=0;l0&&Fu(t)}}function Fu(n){for(let r=Wl(n);null!==r;r=ql(r))for(let i=Ge;i0&&Fu(o)}const t=n[M].components;if(null!==t)for(let r=0;r0&&Fu(i)}}function pI(n,e){const t=tt(e,n),r=t[M];(function gI(n,e){for(let t=e.length;t-1&&(Yl(e,r),ts(t,r))}this._attachedToViewContainer=!1}ep(this._lView[M],this._lView)}onDestroy(e){og(this._lView[M],this._lView,null,e)}markForCheck(){vs(this._cdRefInjectingView||this._lView)}detach(){this._lView[H]&=-65}reattach(){this._lView[H]|=64}detectChanges(){Ds(this._lView[M],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new D(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Yw(n,e){Oi(n,e,e[$],2,null,null)}(this._lView[M],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new D(902,!1);this._appRef=e}}class mI extends Li{constructor(e){super(e),this._view=e}detectChanges(){const e=this._view;Ds(e[M],e,e[me],!1)}checkNoChanges(){}get context(){return null}}class gg extends ps{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const t=ee(e);return new Vi(t,this.ngModule)}}function mg(n){const e=[];for(let t in n)n.hasOwnProperty(t)&&e.push({propName:n[t],templateName:t});return e}class _I{constructor(e,t){this.injector=e,this.parentInjector=t}get(e,t,r){r=xo(r);const i=this.injector.get(e,gu,r);return i!==gu||t===gu?i:this.parentInjector.get(e,t,r)}}class Vi extends kp{get inputs(){return mg(this.componentDef.inputs)}get outputs(){return mg(this.componentDef.outputs)}constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=function bS(n){return n.map(ES).join(",")}(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}create(e,t,r,i){let o=(i=i||this.ngModule)instanceof Xn?i:i?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const s=o?new _I(e,o):e,a=s.get(Ri,null);if(null===a)throw new D(407,!1);const l=s.get(tS,null),u=a.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",d=r?function qS(n,e,t){return n.selectRootElement(e,t===Nt.ShadowDom)}(u,r,this.componentDef.encapsulation):Ql(u,c,function yI(n){const e=n.toLowerCase();return"svg"===e?"svg":"math"===e?"math":null}(c)),f=this.componentDef.onPush?288:272,h=Iu(0,null,null,1,0,null,null,null,null,null),p=ms(null,h,null,f,null,null,a,u,l,s,null);let g,m;bl(p);try{const y=this.componentDef;let E,_=null;y.findHostDirectiveDefs?(E=[],_=new Map,y.findHostDirectiveDefs(y,E,_),E.push(y)):E=[y];const C=function DI(n,e){const t=n[M],r=ue;return n[r]=e,Lr(t,r,2,"#host",null)}(p,d),G=function EI(n,e,t,r,i,o,s,a){const l=i[M];!function bI(n,e,t,r){for(const i of n)e.mergedAttrs=Ci(e.mergedAttrs,i.hostAttrs);null!==e.mergedAttrs&&(Es(e,e.mergedAttrs,!0),null!==t&&fp(r,t,e))}(r,n,e,s);const u=o.createRenderer(e,t),c=ms(i,ig(t),null,t.onPush?32:16,i[n.index],n,o,u,a||null,null,null);return l.firstCreatePass&&Au(l,n,r.length-1),_s(i,c),i[n.index]=c}(C,d,y,E,p,a,u);m=eh(h,ue),d&&function wI(n,e,t,r){if(r)Sl(n,t,["ng-version",nS.full]);else{const{attrs:i,classes:o}=function CS(n){const e=[],t=[];let r=1,i=2;for(;r0&&dp(n,t,o.join(" "))}}(u,y,d,r),void 0!==t&&function MI(n,e,t){const r=n.projection=[];for(let i=0;i=0;r--){const i=n[r];i.hostVars=e+=i.hostVars,i.hostAttrs=Ci(i.hostAttrs,t=Ci(t,i.hostAttrs))}}(r)}function xu(n){return n===sn?{}:n===Q?[]:n}function TI(n,e){const t=n.viewQuery;n.viewQuery=t?(r,i)=>{e(r,i),t(r,i)}:e}function AI(n,e){const t=n.contentQueries;n.contentQueries=t?(r,i,o)=>{e(r,i,o),t(r,i,o)}:e}function NI(n,e){const t=n.hostBindings;n.hostBindings=t?(r,i)=>{e(r,i),t(r,i)}:e}function Cs(n){return!!function Ru(n){return null!==n&&("function"==typeof n||"object"==typeof n)}(n)&&(Array.isArray(n)||!(n instanceof Map)&&Symbol.iterator in n)}function Kt(n,e,t){return n[e]=t}function Ve(n,e,t){return!Object.is(n[e],t)&&(n[e]=t,!0)}function ji(n,e,t,r,i,o,s,a){const l=v(),u=W(),c=n+ue,d=u.firstCreatePass?function jI(n,e,t,r,i,o,s,a,l){const u=e.consts,c=Lr(e,n,4,s||null,In(u,a));Tu(e,t,c,In(u,l)),qo(e,c);const d=c.tView=Iu(2,c,r,i,o,e.directiveRegistry,e.pipeRegistry,null,e.schemas,u);return null!==e.queries&&(e.queries.template(e,c),d.queries=e.queries.embeddedTView(c)),c}(c,u,l,e,t,r,i,o,s):u.data[c];Gt(d,!1);const f=l[$].createComment("");ss(u,l,f,d),Le(f,l),_s(l,l[c]=cg(f,l,f,d)),Uo(d)&&Mu(u,l,d),null!=s&&Su(l,d,a)}function Nn(n,e,t){const r=v();return Ve(r,Er(),e)&&function ht(n,e,t,r,i,o,s,a){const l=ct(e,t);let c,u=e.inputs;!a&&null!=u&&(c=u[r])?(Pu(n,t,c,r,i),Di(e)&&function ZS(n,e){const t=tt(e,n);16&t[H]||(t[H]|=32)}(t,e.index)):3&e.type&&(r=function YS(n){return"class"===n?"className":"for"===n?"htmlFor":"formaction"===n?"formAction":"innerHtml"===n?"innerHTML":"readonly"===n?"readOnly":"tabindex"===n?"tabIndex":n}(r),i=null!=s?s(i,e.value||"",r):i,o.setProperty(l,r,i))}(W(),function de(){const n=V.lFrame;return eh(n.tView,n.selectedIndex)}(),r,n,e,r[$],t,!1),Nn}function ku(n,e,t,r,i){const s=i?"class":"style";Pu(n,t,e.inputs[s],s,r)}function Oe(n,e,t,r){const i=v(),o=W(),s=ue+n,a=i[$],l=o.firstCreatePass?function $I(n,e,t,r,i,o){const s=e.consts,l=Lr(e,n,2,r,In(s,i));return Tu(e,t,l,In(s,o)),null!==l.attrs&&Es(l,l.attrs,!1),null!==l.mergedAttrs&&Es(l,l.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,l),l}(s,o,i,e,t,r):o.data[s],u=i[s]=Ql(a,e,function QC(){return V.lFrame.currentNamespace}()),c=Uo(l);return Gt(l,!0),fp(a,u,l),32!=(32&l.flags)&&ss(o,i,u,l),0===function PC(){return V.lFrame.elementDepthCount}()&&Le(u,i),function xC(){V.lFrame.elementDepthCount++}(),c&&(Mu(o,i,l),wu(o,l,i)),null!==r&&Su(i,l),Oe}function Be(){let n=Fe();yl()?_l():(n=n.parent,Gt(n,!1));const e=n;!function RC(){V.lFrame.elementDepthCount--}();const t=W();return t.firstCreatePass&&(qo(t,n),pl(n)&&t.queries.elementEnd(n)),null!=e.classesWithoutHost&&function JC(n){return 0!=(8&n.flags)}(e)&&ku(t,e,v(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function ew(n){return 0!=(16&n.flags)}(e)&&ku(t,e,v(),e.stylesWithoutHost,!1),Be}function Ms(n,e,t,r){return Oe(n,e,t,r),Be(),Ms}function Bu(){return v()}function Ss(n){return!!n&&"function"==typeof n.then}const Og=function Fg(n){return!!n&&"function"==typeof n.subscribe};function qe(n,e,t,r){const i=v(),o=W(),s=Fe();return function xg(n,e,t,r,i,o,s){const a=Uo(r),u=n.firstCreatePass&&fg(n),c=e[me],d=dg(e);let f=!0;if(3&r.type||s){const g=ct(r,e),m=s?s(g):g,y=d.length,E=s?C=>s(Ne(C[r.index])):r.index;let _=null;if(!s&&a&&(_=function zI(n,e,t,r){const i=n.cleanup;if(null!=i)for(let o=0;ol?a[l]:null}"string"==typeof s&&(o+=2)}return null}(n,e,i,r.index)),null!==_)(_.__ngLastListenerFn__||_).__ngNextListenerFn__=o,_.__ngLastListenerFn__=o,f=!1;else{o=kg(r,e,c,o,!1);const C=t.listen(m,i,o);d.push(o,C),u&&u.push(i,E,y,y+1)}}else o=kg(r,e,c,o,!1);const h=r.outputs;let p;if(f&&null!==h&&(p=h[i])){const g=p.length;if(g)for(let m=0;m-1?tt(n.index,e):e);let l=Rg(e,t,r,s),u=o.__ngNextListenerFn__;for(;u;)l=Rg(e,t,u,s)&&l,u=u.__ngNextListenerFn__;return i&&!1===l&&(s.preventDefault(),s.returnValue=!1),l}}function qr(n=1){return function $C(n){return(V.lFrame.contextLView=function GC(n,e){for(;n>0;)e=e[yr],n--;return e}(n,V.lFrame.contextLView))[me]}(n)}function WI(n,e){let t=null;const r=function yS(n){const e=n.attrs;if(null!=e){const t=e.indexOf(5);if(!(1&t))return e[t+1]}return null}(n);for(let i=0;i>17&32767}function Hu(n){return 2|n}function tr(n){return(131068&n)>>2}function Uu(n,e){return-131069&n|e<<2}function $u(n){return 1|n}function Kg(n,e,t,r,i){const o=n[t+1],s=null===e;let a=r?Fn(o):tr(o),l=!1;for(;0!==a&&(!1===l||s);){const c=n[a+1];XI(n[a],e)&&(l=!0,n[a+1]=r?$u(c):Hu(c)),a=r?Fn(c):tr(c)}l&&(n[t+1]=r?Hu(o):$u(o))}function XI(n,e){return null===n||null==e||(Array.isArray(n)?n[1]:n)===e||!(!Array.isArray(n)||"string"!=typeof e)&&Tr(n,e)>=0}function Ts(n,e,t){return Rt(n,e,t,!1),Ts}function Hi(n,e){return Rt(n,e,null,!0),Hi}function Rt(n,e,t,r){const i=v(),o=W(),s=function cn(n){const e=V.lFrame,t=e.bindingIndex;return e.bindingIndex=e.bindingIndex+n,t}(2);o.firstUpdatePass&&function nm(n,e,t,r){const i=n.data;if(null===i[t+1]){const o=i[We()],s=function tm(n,e){return e>=n.expandoStartIndex}(n,t);(function sm(n,e){return 0!=(n.flags&(e?8:16))})(o,r)&&null===e&&!s&&(e=!1),e=function l0(n,e,t,r){const i=function Dl(n){const e=V.lFrame.currentDirectiveIndex;return-1===e?null:n[e]}(n);let o=r?e.residualClasses:e.residualStyles;if(null===i)0===(r?e.classBindings:e.styleBindings)&&(t=Ui(t=Gu(null,n,e,t,r),e.attrs,r),o=null);else{const s=e.directiveStylingLast;if(-1===s||n[s]!==i)if(t=Gu(i,n,e,t,r),null===o){let l=function u0(n,e,t){const r=t?e.classBindings:e.styleBindings;if(0!==tr(r))return n[Fn(r)]}(n,e,r);void 0!==l&&Array.isArray(l)&&(l=Gu(null,n,e,l[1],r),l=Ui(l,e.attrs,r),function c0(n,e,t,r){n[Fn(t?e.classBindings:e.styleBindings)]=r}(n,e,r,l))}else o=function d0(n,e,t){let r;const i=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0)&&(u=!0)):c=t,i)if(0!==l){const f=Fn(n[a+1]);n[r+1]=Is(f,a),0!==f&&(n[f+1]=Uu(n[f+1],r)),n[a+1]=function KI(n,e){return 131071&n|e<<17}(n[a+1],r)}else n[r+1]=Is(a,0),0!==a&&(n[a+1]=Uu(n[a+1],r)),a=r;else n[r+1]=Is(l,0),0===a?a=r:n[l+1]=Uu(n[l+1],r),l=r;u&&(n[r+1]=Hu(n[r+1])),Kg(n,c,r,!0),Kg(n,c,r,!1),function ZI(n,e,t,r,i){const o=i?n.residualClasses:n.residualStyles;null!=o&&"string"==typeof e&&Tr(o,e)>=0&&(t[r+1]=$u(t[r+1]))}(e,c,n,r,o),s=Is(a,l),o?e.classBindings=s:e.styleBindings=s}(i,o,e,t,s,r)}}(o,n,s,r),e!==B&&Ve(i,s,e)&&function im(n,e,t,r,i,o,s,a){if(!(3&e.type))return;const l=n.data,u=l[a+1],c=function QI(n){return 1==(1&n)}(u)?om(l,e,t,i,tr(u),s):void 0;As(c)||(As(o)||function qI(n){return 2==(2&n)}(u)&&(o=om(l,null,t,i,a,s)),function sM(n,e,t,r,i){if(e)i?n.addClass(t,r):n.removeClass(t,r);else{let o=-1===r.indexOf("-")?void 0:nt.DashCase;null==i?n.removeStyle(t,r,o):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=nt.Important),n.setStyle(t,r,i,o))}}(r,s,$o(We(),t),i,o))}(o,o.data[We()],i,i[$],n,i[s+1]=function g0(n,e){return null==n||""===n||("string"==typeof e?n+=e:"object"==typeof n&&(n=oe(function ft(n){return n instanceof Yn?n.changingThisBreaksApplicationSecurity:n}(n)))),n}(e,t),r,s)}function Gu(n,e,t,r,i){let o=null;const s=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a0;){const l=n[i],u=Array.isArray(l),c=u?l[1]:l,d=null===c;let f=t[i+1];f===B&&(f=d?Q:void 0);let h=d?Rl(f,r):c===r?f:void 0;if(u&&!As(h)&&(h=Rl(l,r)),As(h)&&(a=h,s))return a;const p=n[i+1];i=s?Fn(p):tr(p)}if(null!==e){let l=o?e.residualClasses:e.residualStyles;null!=l&&(a=Rl(l,r))}return a}function As(n){return void 0!==n}function Zt(n,e=""){const t=v(),r=W(),i=n+ue,o=r.firstCreatePass?Lr(r,i,1,e,null):r.data[i],s=t[i]=function Kl(n,e){return n.createText(e)}(t[$],e);ss(r,t,s,o),Gt(o,!1)}function $i(n,e,t){const r=v(),i=function Br(n,e,t,r){return Ve(n,Er(),t)?e+k(t)+r:B}(r,n,e,t);return i!==B&&function pn(n,e,t){const r=$o(e,n);!function Xh(n,e,t){n.setValue(e,t)}(n[$],r,t)}(r,We(),i),$i}const Yr="en-US";let Am=Yr;function qu(n,e,t,r,i){if(n=O(n),Array.isArray(n))for(let o=0;o>20;if(Zn(n)||!n.multi){const h=new bi(l,i,b),p=Qu(a,e,i?c:c+f,d);-1===p?(Nl(Jo(u,s),o,a),Ku(o,n,e.length),e.push(a),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),t.push(h),s.push(h)):(t[p]=h,s[p]=h)}else{const h=Qu(a,e,c+f,d),p=Qu(a,e,c,c+f),m=p>=0&&t[p];if(i&&!m||!i&&!(h>=0&&t[h])){Nl(Jo(u,s),o,a);const y=function PT(n,e,t,r,i){const o=new bi(n,t,b);return o.multi=[],o.index=e,o.componentProviders=0,ey(o,i,r&&!t),o}(i?OT:FT,t.length,i,r,l);!i&&m&&(t[p].providerFactory=y),Ku(o,n,e.length,0),e.push(a),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),t.push(y),s.push(y)}else Ku(o,n,h>-1?h:p,ey(t[i?p:h],l,!i&&r));!i&&r&&m&&t[p].componentProviders++}}}function Ku(n,e,t,r){const i=Zn(e),o=function UM(n){return!!n.useClass}(e);if(i||o){const l=(o?O(e.useClass):e).prototype.ngOnDestroy;if(l){const u=n.destroyHooks||(n.destroyHooks=[]);if(!i&&e.multi){const c=u.indexOf(t);-1===c?u.push(t,[r,l]):u[c+1].push(r,l)}else u.push(t,l)}}}function ey(n,e,t){return t&&n.componentProviders++,n.multi.push(e)-1}function Qu(n,e,t,r){for(let i=t;i{t.providersResolver=(r,i)=>function NT(n,e,t){const r=W();if(r.firstCreatePass){const i=Pt(n);qu(t,r.data,r.blueprint,i,!0),qu(e,r.data,r.blueprint,i,!1)}}(r,i?i(n):n,e)}}class Zr{}class xT{}class ty extends Zr{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new gg(this);const r=function lt(n,e){const t=n[jf]||null;if(!t&&!0===e)throw new Error(`Type ${oe(n)} does not have '\u0275mod' property.`);return t}(e);this._bootstrapComponents=function fn(n){return n instanceof Function?n():n}(r.bootstrap),this._r3Injector=Qp(e,t,[{provide:Zr,useValue:this},{provide:ps,useValue:this.componentFactoryResolver}],oe(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class Zu extends xT{constructor(e){super(),this.moduleType=e}create(e){return new ty(this.moduleType,e)}}function cy(n,e,t,r){return function dy(n,e,t,r,i,o){const s=e+t;return Ve(n,s,i)?Kt(n,s+1,o?r.call(o,i):r(i)):function Qi(n,e){const t=n[e];return t===B?void 0:t}(n,s+1)}(v(),ze(),n,e,t,r)}function Ju(n){return e=>{setTimeout(n,void 0,e)}}const ne=class lA extends ci{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,r){let i=e,o=t||(()=>null),s=r;if(e&&"object"==typeof e){const l=e;i=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=Ju(o),i&&(i=Ju(i)),s&&(s=Ju(s)));const a=super.subscribe({next:i,error:o,complete:s});return e instanceof ot&&e.add(a),a}};function uA(){return this._results[Symbol.iterator]()}class ec{get changes(){return this._changes||(this._changes=new ne)}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const t=ec.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=uA)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,t){const r=this;r.dirty=!1;const i=function Et(n){return n.flat(Number.POSITIVE_INFINITY)}(e);(this._changesDetected=!function cw(n,e,t){if(n.length!==e.length)return!1;for(let r=0;r{class n{}return n.__NG_ELEMENT_ID__=fA,n})();const cA=mn,dA=class extends cA{constructor(e,t,r){super(),this._declarationLView=e,this._declarationTContainer=t,this.elementRef=r}createEmbeddedView(e,t){const r=this._declarationTContainer.tView,i=ms(this._declarationLView,r,e,16,null,r.declTNode,null,null,null,null,t||null);i[_i]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[Ut];return null!==s&&(i[Ut]=s.createEmbeddedView(r)),Cu(r,i,e),new Li(i)}};function fA(){return xs(Fe(),v())}function xs(n,e){return 4&n.type?new dA(e,n,Pr(n,e)):null}let Xt=(()=>{class n{}return n.__NG_ELEMENT_ID__=hA,n})();function hA(){return _y(Fe(),v())}const pA=Xt,my=class extends pA{constructor(e,t,r){super(),this._lContainer=e,this._hostTNode=t,this._hostLView=r}get element(){return Pr(this._hostTNode,this._hostLView)}get injector(){return new Cr(this._hostTNode,this._hostLView)}get parentInjector(){const e=Al(this._hostTNode,this._hostLView);if(_h(e)){const t=Zo(e,this._hostLView),r=Yo(e);return new Cr(t[M].data[r+8],t)}return new Cr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const t=yy(this._lContainer);return null!==t&&t[e]||null}get length(){return this._lContainer.length-Ge}createEmbeddedView(e,t,r){let i,o;"number"==typeof r?i=r:null!=r&&(i=r.index,o=r.injector);const s=e.createEmbeddedView(t||{},o);return this.insert(s,i),s}createComponent(e,t,r,i,o){const s=e&&!function Mi(n){return"function"==typeof n}(e);let a;if(s)a=t;else{const d=t||{};a=d.index,r=d.injector,i=d.projectableNodes,o=d.environmentInjector||d.ngModuleRef}const l=s?e:new Vi(ee(e)),u=r||this.parentInjector;if(!o&&null==l.ngModule){const f=(s?u:this.parentInjector).get(Xn,null);f&&(o=f)}const c=l.create(u,i,void 0,o);return this.insert(c.hostView,a),c}insert(e,t){const r=e._lView,i=r[M];if(function OC(n){return Ot(n[pe])}(r)){const c=this.indexOf(e);if(-1!==c)this.detach(c);else{const d=r[pe],f=new my(d,d[xe],d[pe]);f.detach(f.indexOf(e))}}const o=this._adjustIndex(t),s=this._lContainer;!function Xw(n,e,t,r){const i=Ge+r,o=t.length;r>0&&(t[i-1][Ft]=e),r0)r.push(s[a/2]);else{const u=o[a+1],c=e[-l];for(let d=Ge;d{class n{constructor(t){this.appInits=t,this.resolve=ks,this.reject=ks,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i})}runInitializers(){if(this.initialized)return;const t=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i{o.subscribe({complete:a,error:l})});t.push(s)}}Promise.all(t).then(()=>{r()}).catch(i=>{this.reject(i)}),0===t.length&&r(),this.initialized=!0}}return n.\u0275fac=function(t){return new(t||n)(I(zy,8))},n.\u0275prov=j({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Xi=new S("AppId",{providedIn:"root",factory:function Wy(){return`${dc()}${dc()}${dc()}`}});function dc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const qy=new S("Platform Initializer"),Vs=new S("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Ky=new S("AnimationModuleType"),Jt=new S("LocaleId",{providedIn:"root",factory:()=>jt(Jt,R.Optional|R.SkipSelf)||function UA(){return typeof $localize<"u"&&$localize.locale||Yr}()}),qA=(()=>Promise.resolve(0))();function fc(n){typeof Zone>"u"?qA.then(()=>{n&&n.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",n)}class Ie{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ne(!1),this.onMicrotaskEmpty=new ne(!1),this.onStable=new ne(!1),this.onError=new ne(!1),typeof Zone>"u")throw new D(908,!1);Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&t,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function KA(){let n=le.requestAnimationFrame,e=le.cancelAnimationFrame;if(typeof Zone<"u"&&n&&e){const t=n[Zone.__symbol__("OriginalDelegate")];t&&(n=t);const r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function ZA(n){const e=()=>{!function YA(n){n.isCheckStableRunning||-1!==n.lastRequestAnimationFrameId||(n.lastRequestAnimationFrameId=n.nativeRequestAnimationFrame.call(le,()=>{n.fakeTopEventTask||(n.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{n.lastRequestAnimationFrameId=-1,pc(n),n.isCheckStableRunning=!0,hc(n),n.isCheckStableRunning=!1},void 0,()=>{},()=>{})),n.fakeTopEventTask.invoke()}),pc(n))}(n)};n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,r,i,o,s,a)=>{try{return Zy(n),t.invokeTask(i,o,s,a)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||n.shouldCoalesceRunChangeDetection)&&e(),Xy(n)}},onInvoke:(t,r,i,o,s,a,l)=>{try{return Zy(n),t.invoke(i,o,s,a,l)}finally{n.shouldCoalesceRunChangeDetection&&e(),Xy(n)}},onHasTask:(t,r,i,o)=>{t.hasTask(i,o),r===i&&("microTask"==o.change?(n._hasPendingMicrotasks=o.microTask,pc(n),hc(n)):"macroTask"==o.change&&(n.hasPendingMacrotasks=o.macroTask))},onHandleError:(t,r,i,o)=>(t.handleError(i,o),n.runOutsideAngular(()=>n.onError.emit(o)),!1)})}(i)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ie.isInAngularZone())throw new D(909,!1)}static assertNotInAngularZone(){if(Ie.isInAngularZone())throw new D(909,!1)}run(e,t,r){return this._inner.run(e,t,r)}runTask(e,t,r,i){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,e,QA,ks,ks);try{return o.runTask(s,t,r)}finally{o.cancelTask(s)}}runGuarded(e,t,r){return this._inner.runGuarded(e,t,r)}runOutsideAngular(e){return this._outer.run(e)}}const QA={};function hc(n){if(0==n._nesting&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(()=>n.onStable.emit(null))}finally{n.isStable=!0}}}function pc(n){n.hasPendingMicrotasks=!!(n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&-1!==n.lastRequestAnimationFrameId)}function Zy(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function Xy(n){n._nesting--,hc(n)}class XA{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ne,this.onMicrotaskEmpty=new ne,this.onStable=new ne,this.onError=new ne}run(e,t,r){return e.apply(t,r)}runGuarded(e,t,r){return e.apply(t,r)}runOutsideAngular(e){return e()}runTask(e,t,r,i){return e.apply(t,r)}}const Jy=new S(""),Bs=new S("");let yc,gc=(()=>{class n{constructor(t,r,i){this._ngZone=t,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,yc||(function JA(n){yc=n}(i),i.addToWindow(r)),this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Ie.assertNotInAngularZone(),fc(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())fc(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(t)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),t(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:t,timeoutId:o,updateCb:i})}whenStable(t,r,i){if(i&&!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,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,r,i){return[]}}return n.\u0275fac=function(t){return new(t||n)(I(Ie),I(mc),I(Bs))},n.\u0275prov=j({token:n,factory:n.\u0275fac}),n})(),mc=(()=>{class n{constructor(){this._applications=new Map}registerApplication(t,r){this._applications.set(t,r)}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,r=!0){return yc?.findTestabilityInTree(this,t,r)??null}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=j({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();const yn=!1;let On=null;const e_=new S("AllowMultipleToken"),_c=new S("PlatformDestroyListeners"),eN=new S("appBootstrapListener");function n_(n,e,t=[]){const r=`Platform: ${e}`,i=new S(r);return(o=[])=>{let s=vc();if(!s||s.injector.get(e_,!1)){const a=[...t,...o,{provide:i,useValue:!0}];n?n(a):function rN(n){if(On&&!On.get(e_,!1))throw new D(400,!1);On=n;const e=n.get(i_);(function t_(n){const e=n.get(qy,null);e&&e.forEach(t=>t())})(n)}(function r_(n=[],e){return hn.create({name:e,providers:[{provide:du,useValue:"platform"},{provide:_c,useValue:new Set([()=>On=null])},...n]})}(a,r))}return function oN(n){const e=vc();if(!e)throw new D(401,!1);return e}()}}function vc(){return On?.get(i_)??null}let i_=(()=>{class n{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,r){const i=function s_(n,e){let t;return t="noop"===n?new XA:("zone.js"===n?void 0:n)||new Ie(e),t}(r?.ngZone,function o_(n){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!n||!n.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!n||!n.ngZoneRunCoalescing)||!1}}(r)),o=[{provide:Ie,useValue:i}];return i.run(()=>{const s=hn.create({providers:o,parent:this.injector,name:t.moduleType.name}),a=t.create(s),l=a.injector.get(Tn,null);if(!l)throw new D(402,!1);return i.runOutsideAngular(()=>{const u=i.onError.subscribe({next:c=>{l.handleError(c)}});a.onDestroy(()=>{Hs(this._modules,a),u.unsubscribe()})}),function a_(n,e,t){try{const r=t();return Ss(r)?r.catch(i=>{throw e.runOutsideAngular(()=>n.handleError(i)),i}):r}catch(r){throw e.runOutsideAngular(()=>n.handleError(r)),r}}(l,i,()=>{const u=a.injector.get(Ls);return u.runInitializers(),u.donePromise.then(()=>(function Nm(n){_t(n,"Expected localeId to be defined"),"string"==typeof n&&(Am=n.toLowerCase().replace(/_/g,"-"))}(a.injector.get(Jt,Yr)||Yr),this._moduleDoBootstrap(a),a))})})}bootstrapModule(t,r=[]){const i=l_({},r);return function tN(n,e,t){const r=new Zu(t);return Promise.resolve(r)}(0,0,t).then(o=>this.bootstrapModuleFactory(o,i))}_moduleDoBootstrap(t){const r=t.injector.get(js);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!t.instance.ngDoBootstrap)throw new D(-403,!1);t.instance.ngDoBootstrap(r)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new D(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const t=this._injector.get(_c,null);t&&(t.forEach(r=>r()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return n.\u0275fac=function(t){return new(t||n)(I(hn))},n.\u0275prov=j({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();function l_(n,e){return Array.isArray(e)?e.reduce(l_,n):{...n,...e}}let js=(()=>{class n{get destroyed(){return this._destroyed}get injector(){return this._injector}constructor(t,r,i){this._zone=t,this._injector=r,this._exceptionHandler=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new we(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new we(a=>{let l;this._zone.runOutsideAngular(()=>{l=this._zone.onStable.subscribe(()=>{Ie.assertNotInAngularZone(),fc(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const u=this._zone.onUnstable.subscribe(()=>{Ie.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{l.unsubscribe(),u.unsubscribe()}});this.isStable=function Jb(...n){const e=di(n),t=function Wb(n,e){return"number"==typeof el(n)?n.pop():e}(n,1/0),r=n;return r.length?1===r.length?At(r[0]):Tf(t)(pr(r,e)):Ja}(o,s.pipe(function Pf(n={}){const{connector:e=(()=>new ci),resetOnError:t=!0,resetOnComplete:r=!0,resetOnRefCountZero:i=!0}=n;return o=>{let s,a,l,u=0,c=!1,d=!1;const f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=l=void 0,c=d=!1},p=()=>{const g=s;h(),g?.unsubscribe()};return st((g,m)=>{u++,!d&&!c&&f();const y=l=l??e();m.add(()=>{u--,0===u&&!d&&!c&&(a=tl(p,i))}),y.subscribe(m),!s&&u>0&&(s=new li({next:E=>y.next(E),error:E=>{d=!0,f(),a=tl(h,t,E),y.error(E)},complete:()=>{c=!0,f(),a=tl(h,r),y.complete()}}),At(g).subscribe(s))})(o)}}()))}bootstrap(t,r){const i=t instanceof kp;if(!this._injector.get(Ls).done){!i&&function mi(n){const e=ee(n)||Pe(n)||et(n);return null!==e&&e.standalone}(t);throw new D(405,yn)}let s;s=i?t:this._injector.get(ps).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function nN(n){return n.isBoundToModule}(s)?void 0:this._injector.get(Zr),u=s.create(hn.NULL,[],r||s.selector,a),c=u.location.nativeElement,d=u.injector.get(Jy,null);return d?.registerApplication(c),u.onDestroy(()=>{this.detachView(u.hostView),Hs(this.components,u),d?.unregisterApplication(c)}),this._loadComponent(u),u}tick(){if(this._runningTick)throw new D(101,!1);try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){const r=t;Hs(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const r=this._injector.get(eN,[]);r.push(...this._bootstrapListeners),r.forEach(i=>i(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>Hs(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new D(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return n.\u0275fac=function(t){return new(t||n)(I(Ie),I(Xn),I(Tn))},n.\u0275prov=j({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Hs(n,e){const t=n.indexOf(e);t>-1&&n.splice(t,1)}let d_=(()=>{class n{}return n.__NG_ELEMENT_ID__=aN,n})();function aN(n){return function lN(n,e,t){if(Di(n)&&!t){const r=tt(n.index,e);return new Li(r,r)}return 47&n.type?new Li(e[Re],e):null}(Fe(),v(),16==(16&n))}class p_{constructor(){}supports(e){return Cs(e)}create(e){return new pN(e)}}const hN=(n,e)=>e;class pN{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||hN}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,r=this._removalsHead,i=0,o=null;for(;t||r;){const s=!r||t&&t.currentIndex{s=this._trackByFn(i,a),null!==t&&Object.is(t.trackById,s)?(r&&(t=this._verifyReinsertion(t,a,s,i)),Object.is(t.item,a)||this._addIdentityChange(t,a)):(t=this._mismatch(t,a,s,i),r=!0),t=t._next,i++}),this.length=i;return this._truncate(t),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,r,i){let o;return null===e?o=this._itTail:(o=e._prev,this._remove(e)),null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,o,i)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,o,i)):e=this._addAfter(new gN(t,r),o,i),e}_verifyReinsertion(e,t,r,i){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==o?e=this._reinsertAfter(o,e._prev,i):e.currentIndex!=i&&(e.currentIndex=i,this._addToMoves(e,i)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const i=e._prevRemoved,o=e._nextRemoved;return null===i?this._removalsHead=o:i._nextRemoved=o,null===o?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(e,t,r),this._addToMoves(e,r),e}_moveAfter(e,t,r){return this._unlink(e),this._insertAfter(e,t,r),this._addToMoves(e,r),e}_addAfter(e,t,r){return this._insertAfter(e,t,r),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,t,r){const i=null===t?this._itHead:t._next;return e._next=i,e._prev=t,null===i?this._itTail=e:i._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new g_),this._linkedRecords.put(e),e.currentIndex=r,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,r=e._next;return null===t?this._itHead=r:t._next=r,null===r?this._itTail=t:r._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new g_),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class gN{constructor(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class mN{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===t||t<=r.currentIndex)&&Object.is(r.trackById,e))return r;return null}remove(e){const t=e._prevDup,r=e._nextDup;return null===t?this._head=r:t._nextDup=r,null===r?this._tail=t:r._prevDup=t,null===this._head}}class g_{constructor(){this.map=new Map}put(e){const t=e.trackById;let r=this.map.get(t);r||(r=new mN,this.map.set(t,r)),r.add(e)}get(e,t){const i=this.map.get(e);return i?i.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function m_(n,e,t){const r=n.previousIndex;if(null===r)return r;let i=0;return t&&r{class n{constructor(t){this.factories=t}static create(t,r){if(null!=r){const i=r.factories.slice();t=t.concat(i)}return new n(t)}static extend(t){return{provide:n,useFactory:r=>n.create(t,r||__()),deps:[[n,new Ii,new Kn]]}}find(t){const r=this.factories.find(i=>i.supports(t));if(null!=r)return r;throw new D(901,!1)}}return n.\u0275prov=j({token:n,providedIn:"root",factory:__}),n})();const EN=n_(null,"core",[]);let bN=(()=>{class n{constructor(t){}}return n.\u0275fac=function(t){return new(t||n)(I(js))},n.\u0275mod=Xe({type:n}),n.\u0275inj=$e({}),n})();let Mc=null;function ei(){return Mc}class MN{}const De=new S("DocumentToken");function A_(n,e){e=encodeURIComponent(e);for(const t of n.split(";")){const r=t.indexOf("="),[i,o]=-1==r?[t,""]:[t.slice(0,r),t.slice(r+1)];if(i.trim()===e)return decodeURIComponent(o)}return null}class fF{constructor(e,t,r,i){this.$implicit=e,this.ngForOf=t,this.index=r,this.count=i}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 kc=(()=>{class n{set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}constructor(t,r,i){this._viewContainer=t,this._template=r,this._differs=i,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 r=this._viewContainer;t.forEachOperation((i,o,s)=>{if(null==i.previousIndex)r.createEmbeddedView(this._template,new fF(i.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)r.remove(null===o?void 0:o);else if(null!==o){const a=r.get(o);r.move(a,s),P_(a,i)}});for(let i=0,o=r.length;i{P_(r.get(i.currentIndex),i)})}static ngTemplateContextGuard(t,r){return!0}}return n.\u0275fac=function(t){return new(t||n)(b(Xt),b(mn),b(Gs))},n.\u0275dir=L({type:n,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),n})();function P_(n,e){n.context.$implicit=e.item}let Lc=(()=>{class n{constructor(t,r){this._viewContainer=t,this._context=new pF,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){x_("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){x_("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,r){return!0}}return n.\u0275fac=function(t){return new(t||n)(b(Xt),b(mn))},n.\u0275dir=L({type:n,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),n})();class pF{constructor(){this.$implicit=null,this.ngIf=null}}function x_(n,e){if(e&&!e.createEmbeddedView)throw new Error(`${n} must be a TemplateRef, but received '${oe(e)}'.`)}let BF=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=Xe({type:n}),n.\u0275inj=$e({}),n})();const L_="browser";class B_{}class yO extends MN{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Gc extends yO{static makeCurrent(){!function wN(n){Mc||(Mc=n)}(new Gc)}onAndCancel(e,t,r){return e.addEventListener(t,r,!1),()=>{e.removeEventListener(t,r,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getBaseHref(e){const t=function _O(){return ro=ro||document.querySelector("base"),ro?ro.getAttribute("href"):null}();return null==t?null:function vO(n){na=na||document.createElement("a"),na.setAttribute("href",n);const e=na.pathname;return"/"===e.charAt(0)?e:`/${e}`}(t)}resetBaseElement(){ro=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return A_(document.cookie,e)}}let na,ro=null;const G_=new S("TRANSITION_ID"),EO=[{provide:zy,useFactory:function DO(n,e,t){return()=>{t.get(Ls).donePromise.then(()=>{const r=ei(),i=e.querySelectorAll(`style[ng-transition="${n}"]`);for(let o=0;o{class n{build(){return new XMLHttpRequest}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=j({token:n,factory:n.\u0275fac}),n})();const ra=new S("EventManagerPlugins");let ia=(()=>{class n{constructor(t,r){this._zone=r,this._eventNameToPlugin=new Map,t.forEach(i=>{i.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,r,i){return this._findPluginFor(r).addEventListener(t,r,i)}addGlobalEventListener(t,r,i){return this._findPluginFor(r).addGlobalEventListener(t,r,i)}getZone(){return this._zone}_findPluginFor(t){const r=this._eventNameToPlugin.get(t);if(r)return r;const i=this._plugins;for(let o=0;o{class n{constructor(){this.usageCount=new Map}addStyles(t){for(const r of t)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(t){for(const r of t)0===this.changeUsageCount(r,-1)&&this.onStyleRemoved(r)}onStyleRemoved(t){}onStyleAdded(t){}getAllStyles(){return this.usageCount.keys()}changeUsageCount(t,r){const i=this.usageCount;let o=i.get(t)??0;return o+=r,o>0?i.set(t,o):i.delete(t),o}ngOnDestroy(){for(const t of this.getAllStyles())this.onStyleRemoved(t);this.usageCount.clear()}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=j({token:n,factory:n.\u0275fac}),n})(),io=(()=>{class n extends W_{constructor(t){super(),this.doc=t,this.styleRef=new Map,this.hostNodes=new Set,this.resetHostNodes()}onStyleAdded(t){for(const r of this.hostNodes)this.addStyleToHost(r,t)}onStyleRemoved(t){const r=this.styleRef;r.get(t)?.forEach(o=>o.remove()),r.delete(t)}ngOnDestroy(){super.ngOnDestroy(),this.styleRef.clear(),this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(const r of this.getAllStyles())this.addStyleToHost(t,r)}removeHost(t){this.hostNodes.delete(t)}addStyleToHost(t,r){const i=this.doc.createElement("style");i.textContent=r,t.appendChild(i);const o=this.styleRef.get(r);o?o.push(i):this.styleRef.set(r,[i])}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}}return n.\u0275fac=function(t){return new(t||n)(I(De))},n.\u0275prov=j({token:n,factory:n.\u0275fac}),n})();const zc={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/"},Wc=/%COMP%/g,Q_=new S("RemoveStylesOnCompDestory",{providedIn:"root",factory:()=>!1});function Y_(n,e){return e.flat(100).map(t=>t.replace(Wc,n))}function Z_(n){return e=>{if("__ngUnwrap__"===e)return n;!1===n(e)&&(e.preventDefault(),e.returnValue=!1)}}let oa=(()=>{class n{constructor(t,r,i,o){this.eventManager=t,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestory=o,this.rendererByCompId=new Map,this.defaultRenderer=new qc(t)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;const i=this.getOrCreateRenderer(t,r);return i instanceof ev?i.applyToHost(t):i instanceof Kc&&i.applyStyles(),i}getOrCreateRenderer(t,r){const i=this.rendererByCompId;let o=i.get(r.id);if(!o){const s=this.eventManager,a=this.sharedStylesHost,l=this.removeStylesOnCompDestory;switch(r.encapsulation){case Nt.Emulated:o=new ev(s,a,r,this.appId,l);break;case Nt.ShadowDom:return new NO(s,a,t,r);default:o=new Kc(s,a,r,l)}o.onDestroy=()=>i.delete(r.id),i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}begin(){}end(){}}return n.\u0275fac=function(t){return new(t||n)(I(ia),I(io),I(Xi),I(Q_))},n.\u0275prov=j({token:n,factory:n.\u0275fac}),n})();class qc{constructor(e){this.eventManager=e,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(e,t){return t?document.createElementNS(zc[t]||t,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,t){(J_(e)?e.content:e).appendChild(t)}insertBefore(e,t,r){e&&(J_(e)?e.content:e).insertBefore(t,r)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let r="string"==typeof e?document.querySelector(e):e;if(!r)throw new Error(`The selector "${e}" did not match any elements`);return t||(r.textContent=""),r}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,r,i){if(i){t=i+":"+t;const o=zc[i];o?e.setAttributeNS(o,t,r):e.setAttribute(t,r)}else e.setAttribute(t,r)}removeAttribute(e,t,r){if(r){const i=zc[r];i?e.removeAttributeNS(i,t):e.removeAttribute(`${r}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,r,i){i&(nt.DashCase|nt.Important)?e.style.setProperty(t,r,i&nt.Important?"important":""):e.style[t]=r}removeStyle(e,t,r){r&nt.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,r){e[t]=r}setValue(e,t){e.nodeValue=t}listen(e,t,r){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,Z_(r)):this.eventManager.addEventListener(e,t,Z_(r))}}function J_(n){return"TEMPLATE"===n.tagName&&void 0!==n.content}class NO extends qc{constructor(e,t,r,i){super(e),this.sharedStylesHost=t,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const o=Y_(i.id,i.styles);for(const s of o){const a=document.createElement("style");a.textContent=s,this.shadowRoot.appendChild(a)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,r){return super.insertBefore(this.nodeOrShadowRoot(e),t,r)}removeChild(e,t){return super.removeChild(this.nodeOrShadowRoot(e),t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Kc extends qc{constructor(e,t,r,i,o=r.id){super(e),this.sharedStylesHost=t,this.removeStylesOnCompDestory=i,this.rendererUsageCount=0,this.styles=Y_(o,r.styles)}applyStyles(){this.sharedStylesHost.addStyles(this.styles),this.rendererUsageCount++}destroy(){this.removeStylesOnCompDestory&&(this.sharedStylesHost.removeStyles(this.styles),this.rendererUsageCount--,0===this.rendererUsageCount&&this.onDestroy?.())}}class ev extends Kc{constructor(e,t,r,i,o){const s=i+"-"+r.id;super(e,t,r,o,s),this.contentAttr=function IO(n){return"_ngcontent-%COMP%".replace(Wc,n)}(s),this.hostAttr=function TO(n){return"_nghost-%COMP%".replace(Wc,n)}(s)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,t){const r=super.createElement(e,t);return super.setAttribute(r,this.contentAttr,""),r}}let FO=(()=>{class n extends z_{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,i){return t.addEventListener(r,i,!1),()=>this.removeEventListener(t,r,i)}removeEventListener(t,r,i){return t.removeEventListener(r,i)}}return n.\u0275fac=function(t){return new(t||n)(I(De))},n.\u0275prov=j({token:n,factory:n.\u0275fac}),n})();const tv=["alt","control","meta","shift"],OO={"\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"},PO={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};let xO=(()=>{class n extends z_{constructor(t){super(t)}supports(t){return null!=n.parseEventName(t)}addEventListener(t,r,i){const o=n.parseEventName(r),s=n.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ei().onAndCancel(t,o.domEventName,s))}static parseEventName(t){const r=t.toLowerCase().split("."),i=r.shift();if(0===r.length||"keydown"!==i&&"keyup"!==i)return null;const o=n._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),tv.forEach(u=>{const c=r.indexOf(u);c>-1&&(r.splice(c,1),s+=u+".")}),s+=o,0!=r.length||0===o.length)return null;const l={};return l.domEventName=i,l.fullKey=s,l}static matchEventFullKeyCode(t,r){let i=OO[t.key]||t.key,o="";return r.indexOf("code.")>-1&&(i=t.code,o="code."),!(null==i||!i)&&(i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),tv.forEach(s=>{s!==i&&(0,PO[s])(t)&&(o+=s+".")}),o+=i,o===r)}static eventCallback(t,r,i){return o=>{n.matchEventFullKeyCode(o,t)&&i.runGuarded(()=>r(o))}}static _normalizeKey(t){return"esc"===t?"escape":t}}return n.\u0275fac=function(t){return new(t||n)(I(De))},n.\u0275prov=j({token:n,factory:n.\u0275fac}),n})();const VO=n_(EN,"browser",[{provide:Vs,useValue:L_},{provide:qy,useValue:function RO(){Gc.makeCurrent()},multi:!0},{provide:De,useFactory:function LO(){return function dM(n){ru=n}(document),document},deps:[]}]),iv=new S(""),ov=[{provide:Bs,useClass:class bO{addToWindow(e){le.getAngularTestability=(r,i=!0)=>{const o=e.findTestabilityInTree(r,i);if(null==o)throw new Error("Could not find testability for element.");return o},le.getAllAngularTestabilities=()=>e.getAllTestabilities(),le.getAllAngularRootElements=()=>e.getAllRootElements(),le.frameworkStabilizers||(le.frameworkStabilizers=[]),le.frameworkStabilizers.push(r=>{const i=le.getAllAngularTestabilities();let o=i.length,s=!1;const a=function(l){s=s||l,o--,0==o&&r(s)};i.forEach(function(l){l.whenStable(a)})})}findTestabilityInTree(e,t,r){return null==t?null:e.getTestability(t)??(r?ei().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null)}},deps:[]},{provide:Jy,useClass:gc,deps:[Ie,mc,Bs]},{provide:gc,useClass:gc,deps:[Ie,mc,Bs]}],sv=[{provide:du,useValue:"root"},{provide:Tn,useFactory:function kO(){return new Tn},deps:[]},{provide:ra,useClass:FO,multi:!0,deps:[De,Ie,Vs]},{provide:ra,useClass:xO,multi:!0,deps:[De]},{provide:oa,useClass:oa,deps:[ia,io,Xi,Q_]},{provide:Ri,useExisting:oa},{provide:W_,useExisting:io},{provide:io,useClass:io,deps:[De]},{provide:ia,useClass:ia,deps:[ra,Ie]},{provide:B_,useClass:CO,deps:[]},[]];let av=(()=>{class n{constructor(t){}static withServerTransition(t){return{ngModule:n,providers:[{provide:Xi,useValue:t.appId},{provide:G_,useExisting:Xi},EO]}}}return n.\u0275fac=function(t){return new(t||n)(I(iv,12))},n.\u0275mod=Xe({type:n}),n.\u0275inj=$e({providers:[...sv,...ov],imports:[BF,bN]}),n})();typeof window<"u"&&window;const{isArray:WO}=Array,{getPrototypeOf:qO,prototype:KO,keys:QO}=Object;function dv(n){if(1===n.length){const e=n[0];if(WO(e))return{args:e,keys:null};if(function YO(n){return n&&"object"==typeof n&&qO(n)===KO}(e)){const t=QO(e);return{args:t.map(r=>e[r]),keys:t}}}return{args:n,keys:null}}const{isArray:ZO}=Array;function fv(n){return Ze(e=>function XO(n,e){return ZO(e)?n(...e):n(e)}(n,e))}function hv(n,e){return n.reduce((t,r,i)=>(t[r]=e[i],t),{})}let gv=(()=>{class n{constructor(t,r){this._renderer=t,this._elementRef=r,this.onChange=i=>{},this.onTouched=()=>{}}setProperty(t,r){this._renderer.setProperty(this._elementRef.nativeElement,t,r)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}}return n.\u0275fac=function(t){return new(t||n)(b(Jn),b(bt))},n.\u0275dir=L({type:n}),n})(),ir=(()=>{class n extends gv{}return n.\u0275fac=function(){let e;return function(r){return(e||(e=function ke(n){return on(()=>{const e=n.prototype.constructor,t=e[an]||Fl(e),r=Object.prototype;let i=Object.getPrototypeOf(n.prototype).constructor;for(;i&&i!==r;){const o=i[an]||Fl(i);if(o&&o!==t)return o;i=Object.getPrototypeOf(i)}return o=>new o})}(n)))(r||n)}}(),n.\u0275dir=L({type:n,features:[te]}),n})();const en=new S("NgValueAccessor"),eP={provide:en,useExisting:se(()=>sa),multi:!0},nP=new S("CompositionEventMode");let sa=(()=>{class n extends gv{constructor(t,r,i){super(t,r),this._compositionMode=i,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function tP(){const n=ei()?ei().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}())}writeValue(t){this.setProperty("value",t??"")}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}return n.\u0275fac=function(t){return new(t||n)(b(Jn),b(bt),b(nP,8))},n.\u0275dir=L({type:n,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(t,r){1&t&&qe("input",function(o){return r._handleInput(o.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(o){return r._compositionEnd(o.target.value)})},features:[ce([eP]),te]}),n})();const rP=!1,je=new S("NgValidators"),Rn=new S("NgAsyncValidators");function Sv(n){return null!=n}function Iv(n){const e=Ss(n)?pr(n):n;if(rP&&!Og(e)){let t="Expected async validator to return Promise or Observable.";throw"object"==typeof n&&(t+=" Are you using a synchronous validator where an async validator is expected?"),new D(-1101,t)}return e}function Tv(n){let e={};return n.forEach(t=>{e=null!=t?{...e,...t}:e}),0===Object.keys(e).length?null:e}function Av(n,e){return e.map(t=>t(n))}function Nv(n){return n.map(e=>function oP(n){return!n.validate}(e)?e:t=>e.validate(t))}function Xc(n){return null!=n?function Fv(n){if(!n)return null;const e=n.filter(Sv);return 0==e.length?null:function(t){return Tv(Av(t,e))}}(Nv(n)):null}function Ov(n){if(!n)return null;const e=n.filter(Sv);return 0==e.length?null:function(t){return function pv(...n){const e=Af(n),{args:t,keys:r}=dv(n),i=new we(o=>{const{length:s}=t;if(!s)return void o.complete();const a=new Array(s);let l=s,u=s;for(let c=0;c{d||(d=!0,u--),a[c]=f},()=>l--,void 0,()=>{(!l||!d)&&(u||o.next(r?hv(r,a):a),o.complete())}))}});return e?i.pipe(fv(e)):i}(Av(t,e).map(Iv)).pipe(Ze(Tv))}}function Jc(n){return null!=n?Ov(Nv(n)):null}function Pv(n,e){return null===n?[e]:Array.isArray(n)?[...n,e]:[n,e]}function ed(n){return n?Array.isArray(n)?n:[n]:[]}function la(n,e){return Array.isArray(n)?n.includes(e):n===e}function kv(n,e){const t=ed(e);return ed(n).forEach(i=>{la(t,i)||t.push(i)}),t}function Lv(n,e){return ed(e).filter(t=>!la(n,t))}class Vv{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=Xc(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=Jc(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e){this.control&&this.control.reset(e)}hasError(e,t){return!!this.control&&this.control.hasError(e,t)}getError(e,t){return this.control?this.control.getError(e,t):null}}class Ye extends Vv{get formDirective(){return null}get path(){return null}}class kn extends Vv{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Bv{constructor(e){this._cd=e}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let jv=(()=>{class n extends Bv{constructor(t){super(t)}}return n.\u0275fac=function(t){return new(t||n)(b(kn,2))},n.\u0275dir=L({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,r){2&t&&Hi("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[te]}),n})();const oo="VALID",ca="INVALID",ti="PENDING",so="DISABLED";function da(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}class Gv{constructor(e,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===oo}get invalid(){return this.status===ca}get pending(){return this.status==ti}get disabled(){return this.status===so}get enabled(){return this.status!==so}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(kv(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(kv(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(Lv(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(Lv(e,this._rawAsyncValidators))}hasValidator(e){return la(this._rawValidators,e)}hasAsyncValidator(e){return la(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=ti,!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status=so,this.errors=null,this._forEachChild(r=>{r.disable({...e,onlySelf:!0})}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...e,skipPristineCheck:t}),this._onDisabledChange.forEach(r=>r(!0))}enable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status=oo,this._forEachChild(r=>{r.enable({...e,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors({...e,skipPristineCheck:t}),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===oo||this.status===ti)&&this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?so:oo}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=ti,this._hasOwnPendingAsyncValidator=!0;const t=Iv(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,t={}){this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}get(e){let t=e;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((r,i)=>r&&r._find(i),this)}getError(e,t){const r=t?this.get(t):this;return r&&r.errors?r.errors[e]:null}hasError(e,t){return!!this.getError(e,t)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new ne,this.statusChanges=new ne}_calculateStatus(){return this._allControlsDisabled()?so:this.errors?ca:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ti)?ti:this._anyControlsHaveStatus(ca)?ca:oo}_anyControlsHaveStatus(e){return this._anyControls(t=>t.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){da(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){return!e&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=function hP(n){return Array.isArray(n)?Xc(n):n||null}(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=function pP(n){return Array.isArray(n)?Jc(n):n||null}(this._rawAsyncValidators)}}const ni=new S("CallSetDisabledState",{providedIn:"root",factory:()=>fa}),fa="always";function ao(n,e,t=fa){(function ad(n,e){const t=function xv(n){return n._rawValidators}(n);null!==e.validator?n.setValidators(Pv(t,e.validator)):"function"==typeof t&&n.setValidators([t]);const r=function Rv(n){return n._rawAsyncValidators}(n);null!==e.asyncValidator?n.setAsyncValidators(Pv(r,e.asyncValidator)):"function"==typeof r&&n.setAsyncValidators([r]);const i=()=>n.updateValueAndValidity();ga(e._rawValidators,i),ga(e._rawAsyncValidators,i)})(n,e),e.valueAccessor.writeValue(n.value),(n.disabled||"always"===t)&&e.valueAccessor.setDisabledState?.(n.disabled),function yP(n,e){e.valueAccessor.registerOnChange(t=>{n._pendingValue=t,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&zv(n,e)})}(n,e),function vP(n,e){const t=(r,i)=>{e.valueAccessor.writeValue(r),i&&e.viewToModelUpdate(r)};n.registerOnChange(t),e._registerOnDestroy(()=>{n._unregisterOnChange(t)})}(n,e),function _P(n,e){e.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&zv(n,e),"submit"!==n.updateOn&&n.markAsTouched()})}(n,e),function mP(n,e){if(e.valueAccessor.setDisabledState){const t=r=>{e.valueAccessor.setDisabledState(r)};n.registerOnDisabledChange(t),e._registerOnDestroy(()=>{n._unregisterOnDisabledChange(t)})}}(n,e)}function ga(n,e){n.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)})}function zv(n,e){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function Kv(n,e){const t=n.indexOf(e);t>-1&&n.splice(t,1)}function Qv(n){return"object"==typeof n&&null!==n&&2===Object.keys(n).length&&"value"in n&&"disabled"in n}const Yv=class extends Gv{constructor(e=null,t,r){super(function id(n){return(da(n)?n.validators:n)||null}(t),function od(n,e){return(da(e)?e.asyncValidators:n)||null}(r,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),da(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=Qv(e)?e.value:e)}setValue(e,t={}){this.value=this._pendingValue=e,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(e,t={}){this.setValue(e,t)}reset(e=this.defaultValue,t={}){this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){Kv(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){Kv(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(e){Qv(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}},IP={provide:kn,useExisting:se(()=>fd)},Jv=(()=>Promise.resolve())();let fd=(()=>{class n extends kn{constructor(t,r,i,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new Yv,this._registered=!1,this.update=new ne,this._parent=t,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=function cd(n,e){if(!e)return null;let t,r,i;return Array.isArray(e),e.forEach(o=>{o.constructor===sa?t=o:function bP(n){return Object.getPrototypeOf(n.constructor)===ir}(o)?r=o:i=o}),i||r||t||null}(0,o)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){const r=t.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),function ud(n,e){if(!n.hasOwnProperty("model"))return!1;const t=n.model;return!!t.isFirstChange()||!Object.is(e,t.currentValue)}(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){ao(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(t){Jv.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const r=t.isDisabled.currentValue,i=0!==r&&function wc(n){return"boolean"==typeof n?n:null!=n&&"false"!==n}(r);Jv.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?function ha(n,e){return[...e.path,n]}(t,this._parent):[t]}}return n.\u0275fac=function(t){return new(t||n)(b(Ye,9),b(je,10),b(Rn,10),b(en,10),b(d_,8),b(ni,8))},n.\u0275dir=L({type:n,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[ce([IP]),te,$t]}),n})(),tD=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=Xe({type:n}),n.\u0275inj=$e({}),n})(),XP=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=Xe({type:n}),n.\u0275inj=$e({imports:[tD]}),n})(),ex=(()=>{class n{static withConfig(t){return{ngModule:n,providers:[{provide:ni,useValue:t.callSetDisabledState??fa}]}}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=Xe({type:n}),n.\u0275inj=$e({imports:[XP]}),n})();function vD(n,e){return st((t,r)=>{let i=0;t.subscribe(yt(r,o=>n.call(e,o,i++)&&r.next(o)))})}class ya{}class vd{}class vn{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?()=>{this.headers=new Map,e.split("\n").forEach(t=>{const r=t.indexOf(":");if(r>0){const i=t.slice(0,r),o=i.toLowerCase(),s=t.slice(r+1).trim();this.maybeSetNormalizedName(i,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:()=>{this.headers=new Map,Object.entries(e).forEach(([t,r])=>{let i;if(i="string"==typeof r?[r]:"number"==typeof r?[r.toString()]:r.map(o=>o.toString()),i.length>0){const o=t.toLowerCase();this.headers.set(o,i),this.maybeSetNormalizedName(t,o)}})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();const t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,t){return this.clone({name:e,value:t,op:"a"})}set(e,t){return this.clone({name:e,value:t,op:"s"})}delete(e,t){return this.clone({name:e,value:t,op:"d"})}maybeSetNormalizedName(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}init(){this.lazyInit&&(this.lazyInit instanceof vn?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(t=>{this.headers.set(t,e.headers.get(t)),this.normalizedNames.set(t,e.normalizedNames.get(t))})}clone(e){const t=new vn;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof vn?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([e]),t}applyUpdate(e){const t=e.name.toLowerCase();switch(e.op){case"a":case"s":let r=e.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(e.name,t);const i=("a"===e.op?this.headers.get(t):void 0)||[];i.push(...r),this.headers.set(t,i);break;case"d":const o=e.value;if(o){let s=this.headers.get(t);if(!s)return;s=s.filter(a=>-1===o.indexOf(a)),0===s.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}else this.headers.delete(t),this.normalizedNames.delete(t)}}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>e(this.normalizedNames.get(t),this.headers.get(t)))}}class nx{encodeKey(e){return DD(e)}encodeValue(e){return DD(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}const ix=/%(\d[a-f0-9])/gi,ox={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function DD(n){return encodeURIComponent(n).replace(ix,(e,t)=>ox[t]??e)}function _a(n){return`${n}`}class Ln{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new nx,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function rx(n,e){const t=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(i=>{const o=i.indexOf("="),[s,a]=-1==o?[e.decodeKey(i),""]:[e.decodeKey(i.slice(0,o)),e.decodeValue(i.slice(o+1))],l=t.get(s)||[];l.push(a),t.set(s,l)}),t}(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(t=>{const r=e.fromObject[t],i=Array.isArray(r)?r.map(_a):[_a(r)];this.map.set(t,i)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();const t=this.map.get(e);return t?t[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,t){return this.clone({param:e,value:t,op:"a"})}appendAll(e){const t=[];return Object.keys(e).forEach(r=>{const i=e[r];Array.isArray(i)?i.forEach(o=>{t.push({param:r,value:o,op:"a"})}):t.push({param:r,value:i,op:"a"})}),this.clone(t)}set(e,t){return this.clone({param:e,value:t,op:"s"})}delete(e,t){return this.clone({param:e,value:t,op:"d"})}toString(){return this.init(),this.keys().map(e=>{const t=this.encoder.encodeKey(e);return this.map.get(e).map(r=>t+"="+this.encoder.encodeValue(r)).join("&")}).filter(e=>""!==e).join("&")}clone(e){const t=new Ln({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(e),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":const t=("a"===e.op?this.map.get(e.param):void 0)||[];t.push(_a(e.value)),this.map.set(e.param,t);break;case"d":if(void 0===e.value){this.map.delete(e.param);break}{let r=this.map.get(e.param)||[];const i=r.indexOf(_a(e.value));-1!==i&&r.splice(i,1),r.length>0?this.map.set(e.param,r):this.map.delete(e.param)}}}),this.cloneFrom=this.updates=null)}}class sx{constructor(){this.map=new Map}set(e,t){return this.map.set(e,t),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}}function ED(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function bD(n){return typeof Blob<"u"&&n instanceof Blob}function CD(n){return typeof FormData<"u"&&n instanceof FormData}class uo{constructor(e,t,r,i){let o;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function ax(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==r?r:null,o=i):o=r,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params)),this.headers||(this.headers=new vn),this.context||(this.context=new sx),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=t;else{const a=t.indexOf("?");this.urlWithParams=t+(-1===a?"?":ad.set(f,e.setHeaders[f]),l)),e.setParams&&(u=Object.keys(e.setParams).reduce((d,f)=>d.set(f,e.setParams[f]),u)),new uo(t,r,o,{params:u,headers:l,context:c,reportProgress:a,responseType:i,withCredentials:s})}}var Ce=(()=>((Ce=Ce||{})[Ce.Sent=0]="Sent",Ce[Ce.UploadProgress=1]="UploadProgress",Ce[Ce.ResponseHeader=2]="ResponseHeader",Ce[Ce.DownloadProgress=3]="DownloadProgress",Ce[Ce.Response=4]="Response",Ce[Ce.User=5]="User",Ce))();class Dd{constructor(e,t=200,r="OK"){this.headers=e.headers||new vn,this.status=void 0!==e.status?e.status:t,this.statusText=e.statusText||r,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}}class Ed extends Dd{constructor(e={}){super(e),this.type=Ce.ResponseHeader}clone(e={}){return new Ed({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class va extends Dd{constructor(e={}){super(e),this.type=Ce.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new va({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class wD extends Dd{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${e.url||"(unknown url)"}`:`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}}function bd(n,e){return{body:e,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials}}let Cd=(()=>{class n{constructor(t){this.handler=t}request(t,r,i={}){let o;if(t instanceof uo)o=t;else{let l,u;l=i.headers instanceof vn?i.headers:new vn(i.headers),i.params&&(u=i.params instanceof Ln?i.params:new Ln({fromObject:i.params})),o=new uo(t,r,void 0!==i.body?i.body:null,{headers:l,context:i.context,params:u,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials})}const s=function ri(...n){return pr(n,di(n))}(o).pipe(function tx(n,e){return ie(e)?Io(n,e,1):Io(n,1)}(l=>this.handler.handle(l)));if(t instanceof uo||"events"===i.observe)return s;const a=s.pipe(vD(l=>l instanceof va));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(Ze(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(Ze(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(Ze(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(Ze(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(t,r={}){return this.request("DELETE",t,r)}get(t,r={}){return this.request("GET",t,r)}head(t,r={}){return this.request("HEAD",t,r)}jsonp(t,r){return this.request("JSONP",t,{params:(new Ln).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,r={}){return this.request("OPTIONS",t,r)}patch(t,r,i={}){return this.request("PATCH",t,bd(i,r))}post(t,r,i={}){return this.request("POST",t,bd(i,r))}put(t,r,i={}){return this.request("PUT",t,bd(i,r))}}return n.\u0275fac=function(t){return new(t||n)(I(ya))},n.\u0275prov=j({token:n,factory:n.\u0275fac}),n})();function MD(n,e){return e(n)}function ux(n,e){return(t,r)=>e.intercept(t,{handle:i=>n(i,r)})}const dx=new S("HTTP_INTERCEPTORS"),co=new S("HTTP_INTERCEPTOR_FNS");function fx(){let n=null;return(e,t)=>(null===n&&(n=(jt(dx,{optional:!0})??[]).reduceRight(ux,MD)),n(e,t))}let SD=(()=>{class n extends ya{constructor(t,r){super(),this.backend=t,this.injector=r,this.chain=null}handle(t){if(null===this.chain){const r=Array.from(new Set(this.injector.get(co)));this.chain=r.reduceRight((i,o)=>function cx(n,e,t){return(r,i)=>t.runInContext(()=>e(r,o=>n(o,i)))}(i,o,this.injector),MD)}return this.chain(t,r=>this.backend.handle(r))}}return n.\u0275fac=function(t){return new(t||n)(I(vd),I(Xn))},n.\u0275prov=j({token:n,factory:n.\u0275fac}),n})();const mx=/^\)\]\}',?\n/;let TD=(()=>{class n{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new we(r=>{const i=this.xhrFactory.build();if(i.open(t.method,t.urlWithParams),t.withCredentials&&(i.withCredentials=!0),t.headers.forEach((h,p)=>i.setRequestHeader(h,p.join(","))),t.headers.has("Accept")||i.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const h=t.detectContentTypeHeader();null!==h&&i.setRequestHeader("Content-Type",h)}if(t.responseType){const h=t.responseType.toLowerCase();i.responseType="json"!==h?h:"text"}const o=t.serializeBody();let s=null;const a=()=>{if(null!==s)return s;const h=i.statusText||"OK",p=new vn(i.getAllResponseHeaders()),g=function yx(n){return"responseURL"in n&&n.responseURL?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):null}(i)||t.url;return s=new Ed({headers:p,status:i.status,statusText:h,url:g}),s},l=()=>{let{headers:h,status:p,statusText:g,url:m}=a(),y=null;204!==p&&(y=typeof i.response>"u"?i.responseText:i.response),0===p&&(p=y?200:0);let E=p>=200&&p<300;if("json"===t.responseType&&"string"==typeof y){const _=y;y=y.replace(mx,"");try{y=""!==y?JSON.parse(y):null}catch(C){y=_,E&&(E=!1,y={error:C,text:y})}}E?(r.next(new va({body:y,headers:h,status:p,statusText:g,url:m||void 0})),r.complete()):r.error(new wD({error:y,headers:h,status:p,statusText:g,url:m||void 0}))},u=h=>{const{url:p}=a(),g=new wD({error:h,status:i.status||0,statusText:i.statusText||"Unknown Error",url:p||void 0});r.error(g)};let c=!1;const d=h=>{c||(r.next(a()),c=!0);let p={type:Ce.DownloadProgress,loaded:h.loaded};h.lengthComputable&&(p.total=h.total),"text"===t.responseType&&i.responseText&&(p.partialText=i.responseText),r.next(p)},f=h=>{let p={type:Ce.UploadProgress,loaded:h.loaded};h.lengthComputable&&(p.total=h.total),r.next(p)};return i.addEventListener("load",l),i.addEventListener("error",u),i.addEventListener("timeout",u),i.addEventListener("abort",u),t.reportProgress&&(i.addEventListener("progress",d),null!==o&&i.upload&&i.upload.addEventListener("progress",f)),i.send(o),r.next({type:Ce.Sent}),()=>{i.removeEventListener("error",u),i.removeEventListener("abort",u),i.removeEventListener("load",l),i.removeEventListener("timeout",u),t.reportProgress&&(i.removeEventListener("progress",d),null!==o&&i.upload&&i.upload.removeEventListener("progress",f)),i.readyState!==i.DONE&&i.abort()}})}}return n.\u0275fac=function(t){return new(t||n)(I(B_))},n.\u0275prov=j({token:n,factory:n.\u0275fac}),n})();const wd=new S("XSRF_ENABLED"),AD=new S("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),ND=new S("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class FD{}let Dx=(()=>{class n{constructor(t,r,i){this.doc=t,this.platform=r,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=A_(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return n.\u0275fac=function(t){return new(t||n)(I(De),I(Vs),I(AD))},n.\u0275prov=j({token:n,factory:n.\u0275fac}),n})();function Ex(n,e){const t=n.url.toLowerCase();if(!jt(wd)||"GET"===n.method||"HEAD"===n.method||t.startsWith("http://")||t.startsWith("https://"))return e(n);const r=jt(FD).getToken(),i=jt(ND);return null!=r&&!n.headers.has(i)&&(n=n.clone({headers:n.headers.set(i,r)})),e(n)}var ve=(()=>((ve=ve||{})[ve.Interceptors=0]="Interceptors",ve[ve.LegacyInterceptors=1]="LegacyInterceptors",ve[ve.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",ve[ve.NoXsrfProtection=3]="NoXsrfProtection",ve[ve.JsonpSupport=4]="JsonpSupport",ve[ve.RequestsMadeViaParent=5]="RequestsMadeViaParent",ve))();function ii(n,e){return{\u0275kind:n,\u0275providers:e}}function bx(...n){const e=[Cd,TD,SD,{provide:ya,useExisting:SD},{provide:vd,useExisting:TD},{provide:co,useValue:Ex,multi:!0},{provide:wd,useValue:!0},{provide:FD,useClass:Dx}];for(const t of n)e.push(...t.\u0275providers);return function BM(n){return{\u0275providers:n}}(e)}const OD=new S("LEGACY_INTERCEPTOR_FN");let wx=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=Xe({type:n}),n.\u0275inj=$e({providers:[bx(ii(ve.LegacyInterceptors,[{provide:OD,useFactory:fx},{provide:co,useExisting:OD,multi:!0}]))]}),n})();class Mx{constructor(){this.text="",this.color="",this.sender=""}}const PD=["( .-. )","( .o.)","( `\xb7\xb4 )","( \xb0 \u035c \u0296 \xb0)","( \u0361\xb0 \u035c\u0296 \u0361\xb0)","( \u2686 _ \u2686 )","( \ufe36\ufe3f\ufe36)","( \uff9f\u30ee\uff9f)","(\\/)(\xb0,,,\xb0)(\\/)","(\xac_\xac)","(\xac\xba-\xb0)\xac","(\xac\u203f\xac)","(\xb0\u30ed\xb0)\u261d","(\xb4\u30fb\u03c9\u30fb)\u3063","(\xf3 \xec_\xed)","(\u0298\u15e9\u0298')","(\u0298\u203f\u0298)","(\u033f\u2580\u033f\u2009\u033f\u0139\u032f\u033f\u033f\u2580\u033f \u033f)\u0304","(\u0361\xb0 \u035c\u0296 \u0361\xb0)","\u1566( \u0361\xb0 \u035c\u0296 \u0361\xb0)\u1564","(\u0ca0_\u0ca0)","(\u0ca0\u203f\u0ca0)","(\u0ca0\u2323\u0ca0)","(\u0ca5_\u0ca5)","(\u0ca5\ufe4f\u0ca5)","(\u0e07 \u0360\xb0 \u035f\u0644\u035c \u0361\xb0)\u0e07","(\u0e07 \u0361\u0298 \u035c\u0296 \u0361\u0298)\u0e07","(\u0e07 \u2022\u0300_\u2022\u0301)\u0e07","(\u0e07'\u0300-'\u0301)\u0e07","(\u0e07\xb0\u0644\u035c\xb0)\u0e07","(\u0e07\u2310\u25a1\u0644\u035c\u25a1)\u0e07","(\u10e6\u02d8\u2323\u02d8\u10e6)","(\u1d54\u1d25\u1d54)","(\u2022\u03c9\u2022)","(\u2022\u25e1\u2022)/","(\u2299\u03c9\u2299)","(\u2310\u25a0_\u25a0)","(\u2500\u203f\u203f\u2500)","(\u256f\xb0\u25a1\xb0\uff09\u256f","(\u25d5\u203f\u25d5)","(\u261e\uff9f\u2200\uff9f)\u261e","(\u274d\u1d25\u274d\u028b)","(\u3063\u25d5\u203f\u25d5)\u3063","(\u3065\uff61\u25d5\u203f\u203f\u25d5\uff61)\u3065","(\u30ce\u0ca0\u76ca\u0ca0)\u30ce","(\u30ce\u30fb\u2200\u30fb)\u30ce","(\uff1b\u4e00_\u4e00)","(\uff40\u25d4 \u03c9 \u25d4\xb4)","(\uff61\u25d5\u203f\u203f\u25d5\uff61)","(\uff89\u25d5\u30ee\u25d5)\uff89","*<{:\xac{D}}}","=^.^=","t(-.-t)","| (\u2022 \u25e1\u2022)|","~(\u02d8\u25be\u02d8~)","\xac_\xac","\xaf(\xb0_o)/\xaf","\xaf\\_(\u30c4)_/\xaf","\xb0\u0414\xb0","\u0273\u0f3c\u0e88\u0644\u035c\u0e88\u0f3d\u0272","\u0285\u0295\u2022\u1d25\u2022\u0294\u0283","\u0295\xb4\u2022\u1d25\u2022`\u0294","\u0295\u2022\u1d25\u2022\u0294","\u0295\u25c9.\u25c9\u0294","\u0295\u3147\ud638\u3147\u0294","\u0295\uff1b\u2022`\u1d25\u2022\xb4\u0294","\u0298\u203f\u0298","\u0361\xb0 \u035c\u0296 \u0361\xb0","\u03b6\u0f3c\u019f\u0346\u0644\u035c\u019f\u0346\u0f3d\u1d98","\u0470\u03b6\u0f3c\u1d3c\u0644\u035c\u1d3c\u0f3d\u1d98\u0470","\u0628_\u0628","\u0669\u25d4\u032f\u25d4\u06f6","\u0ca0_\u0ca0","\u0ca0o\u0ca0","\u0ca0~\u0ca0","\u0ca0\u203f\u0ca0","\u0ca0\u2323\u0ca0","\u0ca0\u256d\u256e\u0ca0","\u0cb0_\u0cb0","\u0e07 \u0360\xb0 \u0644\u035c \xb0)\u0e07","\u0e4f\u032f\u0361\u0e4f\ufd3f","\u0f3c \xba\xba\xba\xba\xba\u0644\u035f\xba\xba\xba\xba\xba \u0f3d","\u0f3c \xba\u0644\u035f\xba \u0f3d","\u0f3c \xba\u0644\u035f\xba\u0f3c","\u0f3c \xba\u0644\u035f\xba\u0f3d","\u0f3c \u0361\u25a0\u0644\u035c \u0361\u25a0\u0f3d","\u0f3c \u3064 \u25d5_\u25d5 \u0f3d\u3064","\u0f3c\u0298\u031a\u0644\u035c\u0298\u031a\u0f3d","\u10da(\xb4\u06a1`\u10da)","\u10da(\u0301\u25c9\u25de\u0c6a\u25df\u25c9\u2035\u10da)","\u10da(\u0ca0\u76ca\u0ca0\u10da)","\u113d\u1f41\u020d \u032a\u0151\u1f40\u113f","\u1511\u2022\ufeaa\u035f\u0360\u2022\u1510","\u1555( \u141b )\u1557","\u1559(\u21c0\u2038\u21bc\u2036)\u1557","\u1559\u0f3c\u0e88\u0644\u035c\u0e88\u0f3d\u1557","\u1d98 \u1d52\u1d25\u1d52\u1d85","(\uff89\u0ca5\u76ca\u0ca5\uff09\uff89","\u2267\u2609_\u2609\u2266","\u2299\u2583\u2299","\u2299\ufe4f\u2299","\u250c( \u0ca0_\u0ca0)\u2518","\u255a(\u0ca0_\u0ca0)=\u2510","\u25c9_\u25c9","\u25d4 \u2323 \u25d4","\u25d4\u032f\u25d4","\u25d5\u203f\u21bc","\u25d5\u203f\u25d5","\u2609_\u2609","\u261c(\u2312\u25bd\u2312)\u261e","\u263c.\u263c","\u2665\u203f\u2665","\u2686 _ \u2686","\u270c(-\u203f-)\u270c","\u3006(\u30fb\u2200\u30fb\uff20)","\u30ce( \xba _ \xba\u30ce)","\u30ce( \u309c-\u309c\u30ce)","\u30fd( \u035d\xb0 \u035c\u0296\u0361\xb0)\uff89","\u30fd(`\u0414\xb4)\uff89","\u30fd\u0f3c\xb0 \u035f\u0644\u035c \u0361\xb0\u0f3d\uff89","\u30fd\u0f3c\u0298\u031a\u0644\u035c\u0298\u031a\u0f3d\uff89","\u30fd\u0f3c\u0e88\u0644\u035c\u0e88\u0f3d\u0e07","\u30fd\u0f3c\u0e88\u0644\u035c\u0e88\u0f3d\uff89","\u30fd\u0f3c\u1ff8\u0644\u035c\u0e88\u0f3d\uff89","\u30fe(\u2310\u25a0_\u25a0)\u30ce","\ua4b0\uff65\u25e1\uff65\u0e51\ua4b1","\ufd3e\u0361\u0e4f\u032f\u0361\u0e4f\ufd3f","\uff61\u25d5\u203f\u25d5\uff61","\u0295\u30ce\u25d4\u03d6\u25d4\u0294\u30ce","(\u30ce\u0ca0\u76ca\u0ca0)\u30ce\u5f61\u253b\u2501\u253b","(\u256f\xb0\u25a1\xb0\uff09\u256f\ufe35 \u253b\u2501\u253b","\ua4b0\u2022\u0325\u0325\u0325\u0325\u0325\u0325\u0325 \ufe4f \u2022\u0325\u0325\u0325\u0325\u0325\u0325\u0325\u0325\u0e51\ua4b1","\u0ca0_\u0cb0\u0cc3","(\u0942\u02c3\u0323\u0323\u0323\u0323\u0323\u0323\ufe3f\u02c2\u0323\u0323\u0323\u0323\u0323\u0323 \u0942)","(\ua228\u0eb6\ua381\ua228\u0eb6)\u06f6\u201d","(\ua426\xb0\u1dc4\u0434\xb0\u1dc5)","(\u06f6\u0ac8 \u06dc \u1d52\u030c\u25b1\u0e4b\u1d52\u030c )\u06f6\u0ac8=\u035f\u035f\u035e\u035e \u2328","\u208d\u02c4\xb7\u0348\u0f1d\xb7\u0348\u02c4\u208e\u25de \u0311\u0311\u0dc6\u20db","(*\uff9f\u2699\u0360 \u2200 \u2699\u0360)\uff89\u2763","\u0669\ua4b0\uff65\u0e31\u03b5\uff65\u0e31 \ua4b1\u06f6","\u30d8\uff08\u3002\u25a1\xb0\uff09\u30d8","\u02d3\u02d3(\u0943\u3000 \u0941 \u0951\ua4b3\u2019)\u0941(\u0943\u2019\ua4b3 \u0951 \u0943\u3000)\u0941\u02d2\u02d2\u02d2","\ua4b0\u2718\u0414\u2718\u25cd\ua4b1","\u0aee( \u1d52\u030c\u0ae2\u0f6a\u1d52\u030c\u0ae2 )\u10d0","\u201c\u03c8(\uff40\u2207\xb4)\u03c8","\u0ca0\ufb5b\u0ca0","(\u0e51>\u1d17<\u0e51)","(\u06f6\ua228\u0eb6\ua381\ua228\u0eb6 )\u06f6\u02b8\u1d49\u1d43\u02b0\u1d4e","\u0669(\u2022\u0324\u0300\u1d55\u2022\u0324\u0301\u0e51)\u1d52\u1d4f\u1d4e\u1d4e\u1d4e\u1d4e","(oT-T)\u5c38","(\u270c\uff9f\u2200\uff9f)\u261e","\u0ca5\u203f\u0ca5","\u0971\u0970\u22c6(\u02f6\u0962\u203e\u1dc4\ufe43\u203e\u1dc5\u02f5\u0962)","\u252c\u2534\u252c\u2534\u2524 (\u0ca0\u251c\u252c\u2534\u252c\u2534","( \u02d8 \xb3\u02d8)\u2665","\u03a3 (\u0a6d\u0941 \u0eb6\u0a0a \u0eb6)\u0a6d\u0941\u207e\u207e","(\u2445 \u0963\u2022\u0348\u1d17\u2022\u0348 \u0963)","\u30fe(\xb4\uffe2\uff40)\uff89","(\u2022\u0300o\u2022\u0301)\u0e07","(\u0e51\u2022\u0952\u0300 \u0eb9\u0952\u2022\u0301\u0e51)","\u2688\u0e49\u0324\u0361 \u02cc\u032b\u032e \u2688\u0e49\u0324\u0361","=\u035f\u035f\u035e\u035e =\u035f\u035f\u035e\u035e \uff8d( \xb4\u0414`)\uff89","(((\u2579\u0434\u2579;)))","\u2022\u0300.\u032b\u2022\u0301\u2727","(\u1d52\u0324\u0311 \u2080\u0311 \u1d52\u0324\u0311)","\\_(\u0298_\u0298)_/","\u4e59(\u30c4)\u4e59","\u4e59(\u306e\u3063\u306e)\u4e59","\u30fe(\xaf\u2207\uffe3\u0e51)","\\_(\u0298_\u0298)_/","\u0f3c;\xb4\u0f0e\u0eb6 \u06dd \u0f0e\u0eb6\u0f3d","(\u2580\u033f\u0139\u032f\u2580\u033f \u033f)","(\uff89\u25d5\u30ee\u25d5)\uff89*:\uff65\uff9f\u2727","(\uff89\u25d5\u30ee\u25d5)\uff89*:\uff65\uff9f\u2727 \u2727\uff9f\uff65: *\u30fd(\u25d5\u30ee\u25d5\u30fd)","\u252c\u2534\u252c\u2534\u2524 \u035c\u0296 \u0361\xb0) \u251c\u252c\u2534\u252c\u2534","\u252c\u2534\u252c\u2534\u2524(\uff65_\u251c\u252c\u2534\u252c\u2534","(\u0361 \u0361\xb0 \u035c \u3064 \u0361\u0361\xb0)","( \u0361\xb0\u256d\u035c\u0296\u256e\u0361\xb0 )","(\u2022 \u03b5 \u2022)","[\u0332\u0305$\u0332\u0305(\u0332\u0305 \u0361\xb0 \u035c\u0296 \u0361\xb0\u0332\u0305)\u0332\u0305$\u0332\u0305]","| (\u2022 \u25e1\u2022)| (\u274d\u1d25\u274d\u028b)","(\u25d5\u203f\u25d5\u273f)","(\u256f\xb0\u25a1\xb0)\u256f\ufe35 \u029eooq\u01dd\u0254\u0250\u025f","(\u261e\uff9f\u30ee\uff9f)\u261e \u261c(\uff9f\u30ee\uff9f\u261c)","(\u3065\uffe3 \xb3\uffe3)\u3065","(;\xb4\u0f0e\u0eb6\u0414\u0f0e\u0eb6`)","\u266a~ \u1555(\u141b)\u1557","\u0f3c \u3064 \u0361\xb0 \u035c\u0296 \u0361\xb0 \u0f3d\u3064","\u0f3c \u3064 \u0ca5_\u0ca5 \u0f3d\u3064","\u0ca5_\u0ca5","( \u0361\u1d54 \u035c\u0296 \u0361\u1d54 )","\u30fe(\u2310\u25a0_\u25a0)\u30ce\u266a","~(\u02d8\u25be\u02d8~)","\\ (\u2022\u25e1\u2022) /","(~\u02d8\u25be\u02d8)~","(._.) ( l: ) ( .-. ) ( :l ) (._.)","\u0f3c \xba\u0644\u035f\xba \u0f3c \xba\u0644\u035f\xba \u0f3c \xba\u0644\u035f\xba \u0f3d \xba\u0644\u035f\xba \u0f3d \xba\u0644\u035f\xba \u0f3d","\u253b\u2501\u253b \ufe35\u30fd(`\u0414\xb4)\uff89\ufe35 \u253b\u2501\u253b","\u1566(\xf2_\xf3\u02c7)\u1564","(\u2022_\u2022) ( \u2022_\u2022)>\u2310\u25a0-\u25a0 (\u2310\u25a0_\u25a0)","(\u261e\u0e88\u0644\u035c\u0e88)\u261e","\u02d9\u2006\u035c\u029f\u02d9","\u261c(\u02da\u25bd\u02da)\u261e","(\uff61\u25d5\u203f\u25d5\uff61)","\uff08\u256f\xb0\u25a1\xb0\uff09\u256f\ufe35( .o.)","(\u3063\u02d8\u06a1\u02d8\u03c2)","\u252c\u2500\u2500\u252c \u30ce( \u309c-\u309c\u30ce)","\u0ca0\u2323\u0ca0","( \u0ca0 \u035c\u0296\u0cb0\u0cc3)","\u01aa(\u02d8\u2323\u02d8)\u0283","\xaf\\(\xb0_o)/\xaf","\u10da,\u1511\u2022\ufeaa\u035f\u0360\u2022\u1510.\u10da","(\xb4\u30fb\u03c9\u30fb`)","(\xb4\u30fb\u03c9\u30fb)\u3063\u7531","(\xb0 \u0361 \u035c \u0361\u0296 \u0361 \xb0)","\u01b8\u0335\u0321\u04dc\u0335\u0328\u0304\u01b7","\u0ca0_\u0ca5","\u0ca0\u203f\u21bc","(>\u10da)","(\u25b0\u02d8\u25e1\u02d8\u25b0)","(\u273f\xb4\u203f`)","\u25d4 \u2323 \u25d4","\uff61\u309c(\uff40\u0414\xb4)\u309c\uff61","\u252c\u2500\u252c\u30ce( \xba _ \xba\u30ce)","(\xf3 \xec_\xed)=\xf3\xf2=(\xec_\xed \xf2)","(/) (\xb0,,\xb0) (/)","\u252c\u2500\u252c \ufe35 /(.\u25a1. \uff09","^\u032e^","(>\u4eba<)","(~_^)","(\uff65.\u25e4)",">_>","(^\u032e^)","=U","(\uff61\u2579\u03c9\u2579\uff61)","\u10da(\u2579\u25e1\u2579\u10da)","(\u25cf\xb4\u2313`\u25cf)","\uff08[\u2202]\u03c9[\u2202]\uff09","U^\uff74^U","(\u3012\xf3\u3012)","(T^T)","(\xedo\xec)","(#\u2022v\u2022#)","(\u2022^u^\u2022)","!(^3^)!","\\(\xb0\xb0\\\u201d)","(\xb0o\xb0:)","(\xb0 o\xb0)!","(o\uff9bo)!!","(\xf2\u30ed\xf3)","(\xf2\u76bf\xf3)","(\uffe3\uff65_______\uff65\uffe3)","\u30fe(\u0e51\u2579\u25e1\u2579)\uff89'","(\u10da\u2579\u25e1\u2579)\u10da","\uff08\u25de\u2038\u25df\uff09","(\u273f\u25d6\u25e1\u25d7)","(\u3000\xb4\uff65\u203f\uff65\uff40)","(*\uff40\u76ca\xb4*)\u304c\u3046","(\u30fe\uff89'\u0434'o)\uff85\uff68\uff85\uff68","\u2764(\u25d5\u203f\u25d5\u273f)","(\u25e1\u203f\u25e1*)\u2764","(o'\u03c9'o)","(\uff61\uff65\u02c7_\u02c7\uff65\uff61)\uff91\uff69\u2026","\u266c\u2669\u266b\u266a\u263b(\u25cf\xb4\u2200\uff40\u25cf\uff09\u263a\u266a\u266b\u2669\u266c","(\u273f\u0e3a\u25d5\u0e3a\u203f\u25d5\u0e3a\uff09\uff73\uff8c\uff6f\u2665","(\u3064\u0414\u2282)\uff74\uff70\uff9d","(\u3064\u0414\u30fb)\uff81\uff97","(*\xb4\u03c9\uff40*)","(\u272a\u203f\u272a)\u30ce","\u2572(\uff61\u25d5\u203f\u25d5\uff61)\u2571","\u10da(^o^\u10da)"];let xD=(()=>{class n{constructor(){this.listener=new ne,this.socket=new WebSocket("wss:/localhost:8443/ws"),this.socket.onopen=t=>{this.listener.emit({type:"open",data:t})},this.socket.onclose=t=>{this.listener.emit({type:"close",data:t})},this.socket.onmessage=t=>{this.listener.emit({type:"message",data:JSON.parse(t.data)})}}send(t){this.socket.send(t)}close(){this.socket.close()}getEventListener(){return this.listener}static#e=this.\u0275fac=function(r){return new(r||n)};static#t=this.\u0275prov=j({token:n,factory:n.\u0275fac})}return n})();class Sx extends ci{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const t=super._subscribe(e);return!t.closed&&e.next(this._value),t}getValue(){const{hasError:e,thrownError:t,_value:r}=this;if(e)throw t;return this._throwIfClosed(),r}next(e){super.next(this._value=e)}}let RD=(()=>{class n{constructor(){this.pickerVisibleSubject=new Sx(!1),this.pickerVisible$=this.pickerVisibleSubject.asObservable()}showPicker(){this.pickerVisible$&&this.pickerVisibleSubject.next(!0)}hidePicker(){this.pickerVisibleSubject.next(!1)}static#e=this.\u0275fac=function(r){return new(r||n)};static#t=this.\u0275prov=j({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function Md(){return Md=Object.assign?Object.assign.bind():function(n){for(var e=1;e0&&(t.strPos=t.currentElContent.length-1,t.strings.unshift(t.currentElContent)),t.sequence=[],t.strings)t.sequence[l]=l;t.arrayPos=0,t.stopNum=0,t.loop=t.options.loop,t.loopCount=t.options.loopCount,t.curLoop=0,t.shuffle=t.options.shuffle,t.pause={status:!1,typewrite:!0,curString:"",curStrPos:0},t.typingComplete=!1,t.autoInsertCss=t.options.autoInsertCss,t.autoInsertCss&&(this.appendCursorAnimationCss(t),this.appendFadeOutAnimationCss(t))},e.getCurrentElContent=function(t){return t.attr?t.el.getAttribute(t.attr):t.isInput?t.el.value:"html"===t.contentType?t.el.innerHTML:t.el.textContent},e.appendCursorAnimationCss=function(t){var r="data-typed-js-cursor-css";if(t.showCursor&&!document.querySelector("["+r+"]")){var i=document.createElement("style");i.setAttribute(r,"true"),i.innerHTML="\n .typed-cursor{\n opacity: 1;\n }\n .typed-cursor.typed-cursor--blink{\n animation: typedjsBlink 0.7s infinite;\n -webkit-animation: typedjsBlink 0.7s infinite;\n animation: typedjsBlink 0.7s infinite;\n }\n @keyframes typedjsBlink{\n 50% { opacity: 0.0; }\n }\n @-webkit-keyframes typedjsBlink{\n 0% { opacity: 1; }\n 50% { opacity: 0.0; }\n 100% { opacity: 1; }\n }\n ",document.body.appendChild(i)}},e.appendFadeOutAnimationCss=function(t){var r="data-typed-fadeout-js-css";if(t.fadeOut&&!document.querySelector("["+r+"]")){var i=document.createElement("style");i.setAttribute(r,"true"),i.innerHTML="\n .typed-fade-out{\n opacity: 0;\n transition: opacity .25s;\n }\n .typed-cursor.typed-cursor--blink.typed-fade-out{\n -webkit-animation: 0;\n animation: 0;\n }\n ",document.body.appendChild(i)}},n}()),kD=new(function(){function n(){}var e=n.prototype;return e.typeHtmlChars=function(t,r,i){if("html"!==i.contentType)return r;var o=t.substring(r).charAt(0);if("<"===o||"&"===o){var s;for(s="<"===o?">":";";t.substring(r+1).charAt(0)!==s&&!(1+ ++r>t.length););r++}return r},e.backSpaceHtmlChars=function(t,r,i){if("html"!==i.contentType)return r;var o=t.substring(r).charAt(0);if(">"===o||";"===o){var s;for(s=">"===o?"<":"&";t.substring(r-1).charAt(0)!==s&&!(--r<0););r--}return r},n}()),Ax=function(){function n(t,r){Tx.load(this,r,t),this.begin()}var e=n.prototype;return e.toggle=function(){this.pause.status?this.start():this.stop()},e.stop=function(){this.typingComplete||this.pause.status||(this.toggleBlinking(!0),this.pause.status=!0,this.options.onStop(this.arrayPos,this))},e.start=function(){this.typingComplete||this.pause.status&&(this.pause.status=!1,this.pause.typewrite?this.typewrite(this.pause.curString,this.pause.curStrPos):this.backspace(this.pause.curString,this.pause.curStrPos),this.options.onStart(this.arrayPos,this))},e.destroy=function(){this.reset(!1),this.options.onDestroy(this)},e.reset=function(t){void 0===t&&(t=!0),clearInterval(this.timeout),this.replaceText(""),this.cursor&&this.cursor.parentNode&&(this.cursor.parentNode.removeChild(this.cursor),this.cursor=null),this.strPos=0,this.arrayPos=0,this.curLoop=0,t&&(this.insertCursor(),this.options.onReset(this),this.begin())},e.begin=function(){var t=this;this.options.onBegin(this),this.typingComplete=!1,this.shuffleStringsIfNeeded(this),this.insertCursor(),this.bindInputFocusEvents&&this.bindFocusEvents(),this.timeout=setTimeout(function(){0===t.strPos?t.typewrite(t.strings[t.sequence[t.arrayPos]],t.strPos):t.backspace(t.strings[t.sequence[t.arrayPos]],t.strPos)},this.startDelay)},e.typewrite=function(t,r){var i=this;this.fadeOut&&this.el.classList.contains(this.fadeOutClass)&&(this.el.classList.remove(this.fadeOutClass),this.cursor&&this.cursor.classList.remove(this.fadeOutClass));var o=this.humanizer(this.typeSpeed),s=1;!0!==this.pause.status?this.timeout=setTimeout(function(){r=kD.typeHtmlChars(t,r,i);var a=0,l=t.substring(r);if("^"===l.charAt(0)&&/^\^\d+/.test(l)){var u=1;u+=(l=/\d+/.exec(l)[0]).length,a=parseInt(l),i.temporaryPause=!0,i.options.onTypingPaused(i.arrayPos,i),t=t.substring(0,r)+t.substring(r+u),i.toggleBlinking(!0)}if("`"===l.charAt(0)){for(;"`"!==t.substring(r+s).charAt(0)&&(s++,!(r+s>t.length)););var c=t.substring(0,r),d=t.substring(c.length+1,r+s),f=t.substring(r+s+1);t=c+d+f,s--}i.timeout=setTimeout(function(){i.toggleBlinking(!1),r>=t.length?i.doneTyping(t,r):i.keepTyping(t,r,s),i.temporaryPause&&(i.temporaryPause=!1,i.options.onTypingResumed(i.arrayPos,i))},a)},o):this.setPauseStatus(t,r,!0)},e.keepTyping=function(t,r,i){0===r&&(this.toggleBlinking(!1),this.options.preStringTyped(this.arrayPos,this));var o=t.substring(0,r+=i);this.replaceText(o),this.typewrite(t,r)},e.doneTyping=function(t,r){var i=this;this.options.onStringTyped(this.arrayPos,this),this.toggleBlinking(!0),this.arrayPos===this.strings.length-1&&(this.complete(),!1===this.loop||this.curLoop===this.loopCount)||(this.timeout=setTimeout(function(){i.backspace(t,r)},this.backDelay))},e.backspace=function(t,r){var i=this;if(!0!==this.pause.status){if(this.fadeOut)return this.initFadeOut();this.toggleBlinking(!1);var o=this.humanizer(this.backSpeed);this.timeout=setTimeout(function(){r=kD.backSpaceHtmlChars(t,r,i);var s=t.substring(0,r);if(i.replaceText(s),i.smartBackspace){var a=i.strings[i.arrayPos+1];i.stopNum=a&&s===a.substring(0,r)?r:0}r>i.stopNum?(r--,i.backspace(t,r)):r<=i.stopNum&&(i.arrayPos++,i.arrayPos===i.strings.length?(i.arrayPos=0,i.options.onLastStringBackspaced(),i.shuffleStringsIfNeeded(),i.begin()):i.typewrite(i.strings[i.sequence[i.arrayPos]],r))},o)}else this.setPauseStatus(t,r,!1)},e.complete=function(){this.options.onComplete(this),this.loop?this.curLoop++:this.typingComplete=!0},e.setPauseStatus=function(t,r,i){this.pause.typewrite=i,this.pause.curString=t,this.pause.curStrPos=r},e.toggleBlinking=function(t){this.cursor&&(this.pause.status||this.cursorBlinking!==t&&(this.cursorBlinking=t,t?this.cursor.classList.add("typed-cursor--blink"):this.cursor.classList.remove("typed-cursor--blink")))},e.humanizer=function(t){return Math.round(Math.random()*t/2)+t},e.shuffleStringsIfNeeded=function(){this.shuffle&&(this.sequence=this.sequence.sort(function(){return Math.random()-.5}))},e.initFadeOut=function(){var t=this;return this.el.className+=" "+this.fadeOutClass,this.cursor&&(this.cursor.className+=" "+this.fadeOutClass),setTimeout(function(){t.arrayPos++,t.replaceText(""),t.strings.length>t.arrayPos?t.typewrite(t.strings[t.sequence[t.arrayPos]],0):(t.typewrite(t.strings[0],0),t.arrayPos=0)},this.fadeOutDelay)},e.replaceText=function(t){this.attr?this.el.setAttribute(this.attr,t):this.isInput?this.el.value=t:"html"===this.contentType?this.el.innerHTML=t:this.el.textContent=t},e.bindFocusEvents=function(){var t=this;this.isInput&&(this.el.addEventListener("focus",function(r){t.stop()}),this.el.addEventListener("blur",function(r){t.el.value&&0!==t.el.value.length||t.start()}))},e.insertCursor=function(){this.showCursor&&(this.cursor||(this.cursor=document.createElement("span"),this.cursor.className="typed-cursor",this.cursor.setAttribute("aria-hidden",!0),this.cursor.innerHTML=this.cursorChar,this.el.parentNode&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling)))},n}();const Nx=["wrapper"],Fx=["*"];let Ox=(()=>{class n{constructor(){this.typeSpeed=30,this.completed=new ne,this.preStringTyped=new ne,this.stringTyped=new ne,this.lastStringBackspaced=new ne,this.typingPaused=new ne,this.typingResumed=new ne,this.reset=new ne,this.stopped=new ne,this.started=new ne,this.destroyed=new ne}ngAfterViewInit(){this.typed=new Ax(this.content.nativeElement.querySelector(".typing"),this.options),!1!==this.showCursor&&this.updateCursorStyle()}toggle(){this.typed.toggle()}stop(){this.typed.stop()}start(){this.typed.start()}destroy(){this.typed.destroy()}doReset(t){this.typed.reset(t)}get options(){const t=o=>()=>o.emit(),r=o=>s=>o.emit(s),i={strings:this.strings??[""],stringsElement:this.stringsElement,typeSpeed:this.typeSpeed,startDelay:this.startDelay,backSpeed:this.backSpeed,smartBackspace:this.smartBackspace,shuffle:this.shuffle,backDelay:this.backDelay,fadeOut:this.fadeOut,fadeOutClass:this.fadeOutClass,fadeOutDelay:this.fadeOutDelay,loop:this.loop,loopCount:this.loopCount,showCursor:this.showCursor,autoInsertCss:this.autoInsertCss,attr:this.attr,bindInputFocusEvents:this.bindInputFocusEvents,contentType:this.contentType,onComplete:t(this.completed),preStringTyped:r(this.preStringTyped),onStringTyped:r(this.stringTyped),onLastStringBackspaced:t(this.lastStringBackspaced),onTypingPaused:r(this.typingPaused),onTypingResumed:r(this.typingResumed),onReset:t(this.reset),onStop:r(this.stopped),onStart:r(this.started),onDestroy:t(this.destroyed)};return Object.keys(i).forEach(o=>{void 0===i[o]&&delete i[o]}),i}updateCursorStyle(){const t=getComputedStyle(this.content.nativeElement.querySelector(".typing")),r=this.content.nativeElement.querySelector(".typed-cursor").style;r.fontSize=t.fontSize,r.color=this.cursorColor||t.color}ngOnChanges(t){this.typed&&(this.typed.destroy(),this.ngAfterViewInit())}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=ko({type:n,selectors:[["ngx-typed-js"]],viewQuery:function(t,r){if(1&t&&by(Nx,7),2&t){let i;Ey(i=function Cy(){return function DA(n,e){return n[Ut].queries[e].queryList}(v(),lh())}())&&(r.content=i.first)}},inputs:{cursorColor:"cursorColor",strings:"strings",stringsElement:"stringsElement",typeSpeed:"typeSpeed",startDelay:"startDelay",backSpeed:"backSpeed",smartBackspace:"smartBackspace",shuffle:"shuffle",backDelay:"backDelay",fadeOut:"fadeOut",fadeOutClass:"fadeOutClass",fadeOutDelay:"fadeOutDelay",loop:"loop",loopCount:"loopCount",showCursor:"showCursor",cursorChar:"cursorChar",autoInsertCss:"autoInsertCss",attr:"attr",bindInputFocusEvents:"bindInputFocusEvents",contentType:"contentType"},outputs:{completed:"completed",preStringTyped:"preStringTyped",stringTyped:"stringTyped",lastStringBackspaced:"lastStringBackspaced",typingPaused:"typingPaused",typingResumed:"typingResumed",reset:"reset",stopped:"stopped",started:"started",destroyed:"destroyed"},features:[$t],ngContentSelectors:Fx,decls:3,vars:0,consts:[["wrapper",""]],template:function(t,r){1&t&&(function Lg(n){const e=v()[Re][xe];if(!e.projection){const r=e.projection=Si(n?n.length:1,null),i=r.slice();let o=e.child;for(;null!==o;){const s=n?WI(o,n):0;null!==s&&(i[s]?i[s].projectionNext=o:r[s]=o,i[s]=o),o=o.next}}}(),Oe(0,"div",null,0),function Vg(n,e=0,t){const r=v(),i=W(),o=Lr(i,ue+n,16,null,t||null);null===o.projection&&(o.projection=e),_l(),32!=(32&o.flags)&&function iM(n,e,t){cp(e[$],0,e,t,tp(n,t,e),op(t.parent||e[xe],t,e))}(i,r,o)}(2),Be())},styles:["[_nghost-%COMP%] > .typing[_ngcontent-%COMP%]{display:inline}"]}),n})(),Px=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=Xe({type:n}),n.\u0275inj=$e({imports:[[]]}),n})();function xx(n,e){if(1&n){const t=Bu();Oe(0,"div",3),qe("click",function(){const o=zo(t).$implicit;return Wo(qr(2).selectFace(o))}),Zt(1),Be()}if(2&n){const t=e.$implicit;An(1),$i(" ",t," ")}}function Rx(n,e){if(1&n&&(Oe(0,"div",1),ji(1,xx,2,1,"div",2),Be()),2&n){const t=qr();An(1),Nn("ngForOf",t.coolFaces)}}let kx=(()=>{class n{constructor(t){this.facePickerService=t,this.faceSelected=new ne,this.coolFaces=PD,this.pickerVisibleSubscription=new ot,this.pickerVisible=!1}ngOnInit(){this.pickerVisibleSubscription=this.facePickerService.pickerVisible$.subscribe(t=>this.pickerVisible=t)}ngOnDestroy(){this.pickerVisibleSubscription.unsubscribe()}selectFace(t){this.faceSelected.emit(t),this.facePickerService.hidePicker()}static#e=this.\u0275fac=function(r){return new(r||n)(b(RD))};static#t=this.\u0275cmp=ko({type:n,selectors:[["app-face-picker"]],outputs:{faceSelected:"faceSelected"},decls:1,vars:1,consts:[["class","face-picker",4,"ngIf"],[1,"face-picker"],["style","margin:auto;",3,"click",4,"ngFor","ngForOf"],[2,"margin","auto",3,"click"]],template:function(r,i){1&r&&ji(0,Rx,2,1,"div",0),2&r&&Nn("ngIf",i.pickerVisible)},dependencies:[kc,Lc],styles:[".face-picker[_ngcontent-%COMP%]{position:absolute;border:1px solid #ccc;padding:8px;z-index:1000;grid-template-columns:repeat(3,1fr);gap:8px;display:grid;font-size:15px!important;max-height:10vh;overflow-y:scroll;overflow-x:hidden;max-width:30vw;white-space:pre;left:26%;bottom:30%;background-color:#000}.face-picker[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{cursor:pointer;margin-bottom:4px;font-size:15px;max-width:120px;transition:background-color .3s ease}.face-picker[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:hover{background-color:#888}"]})}return n})();function Lx(n,e){if(1&n&&(Oe(0,"span"),Zt(1),Be()),2&n){const t=qr().$implicit;Ts("color",t.color),An(1),$i("",t.sender," says:")}}const Vx=function(n){return[n]};function Bx(n,e){if(1&n){const t=Bu();Oe(0,"li",14)(1,"ngx-typed-js",15),qe("preStringTyped",function(){return zo(t),Wo(qr().playTypeSound())})("completed",function(){return zo(t),Wo(qr().stopTypeSound())}),ji(2,Lx,2,3,"span",16),Ms(3,"span",17),Be()()}if(2&n){const t=e.$implicit;An(1),Ts("color","system"===t.sender?t.color:"white"),Hi("italic-message",t.text.startsWith("[")),Nn("strings",cy(8,Vx,t.text))("typeSpeed",20)("showCursor",!1),An(1),Nn("ngIf","system"!=t.sender)}}const jx=function(){return{standalone:!0}};let Hx=(()=>{class n{constructor(t,r){this.socket=t,this.facePickerService=r,this.messages=new Array,this.faces=PD,this.pickerVisibleSubscription=new ot,this.selectedTheme="dark",this.chatBox="",this.audio=new Audio("../assets/typing.mp3"),this.audio.loop=!0,this.audio.volume=.5}ngOnInit(){this.socket.getEventListener().subscribe(t=>{if(console.log(t),"message"==t.type){let r=new Mx;r.sender=t.data.sender?" > "+t.data.sender:"system",r.text=t.data.content,r.color=t.data.color,this.messages.push(r)}"close"==t.type&&this.messages.push({text:"[connection failed... \u0ca5_\u0ca5!! Retrying...]",color:"red",sender:"system"}),"open"==t.type&&(this.messages.push({text:"[Welcome to nekoChat!!! \u0aee\u208d \u02f6\u1d54 \u1d55 \u1d54\u02f6 \u208e\u10d0 ]",color:"#03fc0b",sender:"system"}),this.messages.push({text:"[connection established!!!... (\uff89\u25d5\u30ee\u25d5)\uff89*:\uff65\uff9f\u2727]",color:"#03fc0b",sender:"system"}))})}ngOnDestroy(){this.socket.close()}send(){this.chatBox&&(this.socket.send(this.chatBox),this.chatBox="")}showPicker(){this.facePickerService.showPicker()}hidePicker(){this.facePickerService.hidePicker()}playTypeSound(){console.log("started"),this.audio.play()}stopTypeSound(){console.log("stopped"),this.audio.pause(),this.audio.currentTime=0}selectTheme(t){this.selectedTheme=t}static#e=this.\u0275fac=function(r){return new(r||n)(b(xD),b(RD))};static#t=this.\u0275cmp=ko({type:n,selectors:[["app-root"]],decls:22,vars:4,consts:[[2,"display","flex","flex-direction","column","margin-bottom","50px"],[2,"font-family","CooperBits","margin","auto","font-size","64px","display","flex"],[1,"animated"],[2,"margin","auto"],[2,"display","flex","flex-direction","column"],[1,"chat-container"],["id","messages"],["style","height: 30px; padding-top: 3px; padding-bottom: 3px",4,"ngFor","ngForOf"],["autocomplete","off","placeholder","write a message...",1,"user-input",2,"color","white",3,"ngModel","ngModelOptions","ngModelChange","keydown.enter","keydown.alt.q"],[2,"margin","5px auto 0px 25%","font-size","16px"],[2,"margin","50px auto","font-size","16px","color","greenyellow"],["href","https://www.github.com/igormieski27","target","_blank",2,"text-decoration","none"],["src","../assets/github.png","height","30px","width","30px",2,"margin-bottom","-8px","margin-right","5px"],[3,"faceSelected"],[2,"height","30px","padding-top","3px","padding-bottom","3px"],[2,"padding","0",3,"strings","typeSpeed","showCursor","preStringTyped","completed"],[3,"color",4,"ngIf"],[1,"typing"]],template:function(r,i){1&r&&(Oe(0,"div",0)(1,"span",1)(2,"div",2),Zt(3,"\uff3c(=^\u2025^)/"),Be(),Zt(4," nekoChat "),Oe(5,"div",2),Zt(6,"\uff3c(^\u2025^=)/"),Be()(),Oe(7,"span",3),Zt(8," free anonymous chat! "),Be()(),Oe(9,"div",4)(10,"div",5)(11,"ul",6),ji(12,Bx,4,10,"li",7),Be()(),Oe(13,"input",8),qe("ngModelChange",function(s){return i.chatBox=s})("keydown.enter",function(){return i.send(),i.hidePicker()})("keydown.alt.q",function(){return i.showPicker()}),Be(),Oe(14,"span",9),Zt(15,"Alt + Q - kaomoji menu"),Be(),Oe(16,"span",10),Zt(17,"Made by igor | "),Oe(18,"a",11),Ms(19,"img",12),Zt(20,"github"),Be()()(),Oe(21,"app-face-picker",13),qe("faceSelected",function(s){return i.chatBox=i.chatBox+s}),Be()),2&r&&(An(12),Nn("ngForOf",i.messages),An(1),Nn("ngModel",i.chatBox)("ngModelOptions",function uy(n,e,t){const r=ze()+n,i=v();return i[r]===B?Kt(i,r,t?e.call(t):e()):function Bi(n,e){return n[e]}(i,r)}(3,jx)))},dependencies:[kc,Lc,sa,jv,fd,Ox,kx],styles:['@keyframes _ngcontent-%COMP%_float {\n 0% {\n box-shadow: 0 5px 15px 0px rgba(0, 0, 0, 0.6);\n transform: translatey(0px);\n }\n 50% {\n box-shadow: 0 25px 15px 0px rgba(0, 0, 0, 0.2);\n transform: translatey(-20px);\n }\n 100% {\n box-shadow: 0 5px 15px 0px rgba(0, 0, 0, 0.6);\n transform: translatey(0px);\n }\n }\n\n .animated[_ngcontent-%COMP%] {\n margin: 20px;\n animation: _ngcontent-%COMP%_float 2s ease-in-out infinite;\n }\n .chat-container[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n height: 50vh; \n overflow-y: scroll;\n width: 50%;\n word-wrap: break-word;\n margin: auto;\n border: 1px solid white;\n }\n\n .italic-message[_ngcontent-%COMP%] {\n font-style: italic;\n }\n #messages[_ngcontent-%COMP%] {\n list-style-type: none;\n padding: 0;\n margin: 0;\n overflow-y: auto; \n }\n\n li[_ngcontent-%COMP%] {\n margin-bottom: 8px;\n }\n\n .user-input[_ngcontent-%COMP%] {\n display: inline-block;\n border: none;\n outline: none;\n background: transparent;\n color: #333;\n width: 50%;\n margin: auto;\n padding: 20px;\n border: 1px solid white;\n }\n\n .message-form[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n border-top: 1px solid #ccc;\n margin-top: 8px;\n }\n\n input[_ngcontent-%COMP%] {\n flex: 1;\n border: none;\n outline: none;\n background: transparent;\n padding: 4px;\n margin-left: 8px;\n caret-shape: block;\n }\n\n button[_ngcontent-%COMP%] {\n background: #1976d2;\n color: white;\n border: none;\n outline: none;\n padding: 8px;\n cursor: pointer;\n }\n\n button[_ngcontent-%COMP%]:hover {\n background: #125699;\n }\n\n @font-face {\n font-family: "CooperBits";\n src: url("assets/CooperBits.ttf") format("truetype");\n font-weight: normal;\n font-style: normal;\n }']})}return n})();class LD{}class Ux{}const Dn="*";function VD(n,e=null){return{type:2,steps:n,options:e}}function BD(n){return{type:6,styles:n,offset:null}}function jD(n){Promise.resolve().then(n)}class fo{constructor(e=0,t=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){jD(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}}class HD{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let t=0,r=0,i=0;const o=this.players.length;0==o?jD(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++t==o&&this._onFinish()}),s.onDestroy(()=>{++r==o&&this._onDestroy()}),s.onStart(()=>{++i==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){const t=e*this.totalTime;this.players.forEach(r=>{const i=r.totalTime?Math.min(1,t/r.totalTime):1;r.setPosition(i)})}getPosition(){const e=this.players.reduce((t,r)=>null===t||r.totalTime>t.totalTime?r:t,null);return null!=e?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}}const Sd="!";function UD(n){return new D(3e3,!1)}function CR(){return typeof window<"u"&&typeof window.document<"u"}function Id(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Vn(n){switch(n.length){case 0:return new fo;case 1:return n[0];default:return new HD(n)}}function $D(n,e,t,r,i=new Map,o=new Map){const s=[],a=[];let l=-1,u=null;if(r.forEach(c=>{const d=c.get("offset"),f=d==l,h=f&&u||new Map;c.forEach((p,g)=>{let m=g,y=p;if("offset"!==g)switch(m=e.normalizePropertyName(m,s),y){case Sd:y=i.get(g);break;case Dn:y=o.get(g);break;default:y=e.normalizeStyleValue(g,m,y,s)}h.set(m,y)}),f||a.push(h),u=h,l=d}),s.length)throw function dR(n){return new D(3502,!1)}();return a}function Td(n,e,t,r){switch(e){case"start":n.onStart(()=>r(t&&Ad(t,"start",n)));break;case"done":n.onDone(()=>r(t&&Ad(t,"done",n)));break;case"destroy":n.onDestroy(()=>r(t&&Ad(t,"destroy",n)))}}function Ad(n,e,t){const o=Nd(n.element,n.triggerName,n.fromState,n.toState,e||n.phaseName,t.totalTime??n.totalTime,!!t.disabled),s=n._data;return null!=s&&(o._data=s),o}function Nd(n,e,t,r,i="",o=0,s){return{element:n,triggerName:e,fromState:t,toState:r,phaseName:i,totalTime:o,disabled:!!s}}function pt(n,e,t){let r=n.get(e);return r||n.set(e,r=t),r}function GD(n){const e=n.indexOf(":");return[n.substring(1,e),n.slice(e+1)]}let Fd=(n,e)=>!1,zD=(n,e,t)=>[],WD=null;function Od(n){const e=n.parentNode||n.host;return e===WD?null:e}(Id()||typeof Element<"u")&&(CR()?(WD=(()=>document.documentElement)(),Fd=(n,e)=>{for(;e;){if(e===n)return!0;e=Od(e)}return!1}):Fd=(n,e)=>n.contains(e),zD=(n,e,t)=>{if(t)return Array.from(n.querySelectorAll(e));const r=n.querySelector(e);return r?[r]:[]});let sr=null,qD=!1;const KD=Fd,QD=zD;let YD=(()=>{class n{validateStyleProperty(t){return function MR(n){sr||(sr=function SR(){return typeof document<"u"?document.body:null}()||{},qD=!!sr.style&&"WebkitAppearance"in sr.style);let e=!0;return sr.style&&!function wR(n){return"ebkit"==n.substring(1,6)}(n)&&(e=n in sr.style,!e&&qD&&(e="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in sr.style)),e}(t)}matchesElement(t,r){return!1}containsElement(t,r){return KD(t,r)}getParentElement(t){return Od(t)}query(t,r,i){return QD(t,r,i)}computeStyle(t,r,i){return i||""}animate(t,r,i,o,s,a=[],l){return new fo(i,o)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=j({token:n,factory:n.\u0275fac}),n})(),Pd=(()=>{class n{}return n.NOOP=new YD,n})();const IR=1e3,xd="ng-enter",Da="ng-leave",Ea="ng-trigger",ba=".ng-trigger",XD="ng-animating",Rd=".ng-animating";function En(n){if("number"==typeof n)return n;const e=n.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:kd(parseFloat(e[1]),e[2])}function kd(n,e){return"s"===e?n*IR:n}function Ca(n,e,t){return n.hasOwnProperty("duration")?n:function AR(n,e,t){let i,o=0,s="";if("string"==typeof n){const a=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return e.push(UD()),{duration:0,delay:0,easing:""};i=kd(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(o=kd(parseFloat(l),a[4]));const u=a[5];u&&(s=u)}else i=n;if(!t){let a=!1,l=e.length;i<0&&(e.push(function $x(){return new D(3100,!1)}()),a=!0),o<0&&(e.push(function Gx(){return new D(3101,!1)}()),a=!0),a&&e.splice(l,0,UD())}return{duration:i,delay:o,easing:s}}(n,e,t)}function ho(n,e={}){return Object.keys(n).forEach(t=>{e[t]=n[t]}),e}function JD(n){const e=new Map;return Object.keys(n).forEach(t=>{e.set(t,n[t])}),e}function Bn(n,e=new Map,t){if(t)for(let[r,i]of t)e.set(r,i);for(let[r,i]of n)e.set(r,i);return e}function tE(n,e,t){return t?e+":"+t+";":""}function nE(n){let e="";for(let t=0;t{const o=Vd(i);t&&!t.has(i)&&t.set(i,n.style[o]),n.style[o]=r}),Id()&&nE(n))}function ar(n,e){n.style&&(e.forEach((t,r)=>{const i=Vd(r);n.style[i]=""}),Id()&&nE(n))}function po(n){return Array.isArray(n)?1==n.length?n[0]:VD(n):n}const Ld=new RegExp("{{\\s*(.+?)\\s*}}","g");function rE(n){let e=[];if("string"==typeof n){let t;for(;t=Ld.exec(n);)e.push(t[1]);Ld.lastIndex=0}return e}function go(n,e,t){const r=n.toString(),i=r.replace(Ld,(o,s)=>{let a=e[s];return null==a&&(t.push(function Wx(n){return new D(3003,!1)}()),a=""),a.toString()});return i==r?n:i}function wa(n){const e=[];let t=n.next();for(;!t.done;)e.push(t.value),t=n.next();return e}const OR=/-+([a-z0-9])/g;function Vd(n){return n.replace(OR,(...e)=>e[1].toUpperCase())}function PR(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function gt(n,e,t){switch(e.type){case 7:return n.visitTrigger(e,t);case 0:return n.visitState(e,t);case 1:return n.visitTransition(e,t);case 2:return n.visitSequence(e,t);case 3:return n.visitGroup(e,t);case 4:return n.visitAnimate(e,t);case 5:return n.visitKeyframes(e,t);case 6:return n.visitStyle(e,t);case 8:return n.visitReference(e,t);case 9:return n.visitAnimateChild(e,t);case 10:return n.visitAnimateRef(e,t);case 11:return n.visitQuery(e,t);case 12:return n.visitStagger(e,t);default:throw function qx(n){return new D(3004,!1)}()}}function iE(n,e){return window.getComputedStyle(n)[e]}const Ia="*";function BR(n,e){const t=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(r=>function jR(n,e,t){if(":"==n[0]){const l=function HR(n,e){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,r)=>parseFloat(r)>parseFloat(t);case":decrement":return(t,r)=>parseFloat(r) *"}}(n,t);if("function"==typeof l)return void e.push(l);n=l}const r=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return t.push(function sR(n){return new D(3015,!1)}()),e;const i=r[1],o=r[2],s=r[3];e.push(oE(i,s));"<"==o[0]&&!(i==Ia&&s==Ia)&&e.push(oE(s,i))}(r,t,e)):t.push(n),t}const Ta=new Set(["true","1"]),Aa=new Set(["false","0"]);function oE(n,e){const t=Ta.has(n)||Aa.has(n),r=Ta.has(e)||Aa.has(e);return(i,o)=>{let s=n==Ia||n==i,a=e==Ia||e==o;return!s&&t&&"boolean"==typeof i&&(s=i?Ta.has(n):Aa.has(n)),!a&&r&&"boolean"==typeof o&&(a=o?Ta.has(e):Aa.has(e)),s&&a}}const UR=new RegExp("s*:selfs*,?","g");function Bd(n,e,t,r){return new $R(n).build(e,t,r)}class $R{constructor(e){this._driver=e}build(e,t,r){const i=new WR(t);return this._resetContextStyleTimingState(i),gt(this,po(e),i)}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles=new Map,e.collectedStyles.set("",new Map),e.currentTime=0}visitTrigger(e,t){let r=t.queryCount=0,i=t.depCount=0;const o=[],s=[];return"@"==e.name.charAt(0)&&t.errors.push(function Qx(){return new D(3006,!1)}()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(t),0==a.type){const l=a,u=l.name;u.toString().split(/\s*,\s*/).forEach(c=>{l.name=c,o.push(this.visitState(l,t))}),l.name=u}else if(1==a.type){const l=this.visitTransition(a,t);r+=l.queryCount,i+=l.depCount,s.push(l)}else t.errors.push(function Yx(){return new D(3007,!1)}())}),{type:7,name:e.name,states:o,transitions:s,queryCount:r,depCount:i,options:null}}visitState(e,t){const r=this.visitStyle(e.styles,t),i=e.options&&e.options.params||null;if(r.containsDynamicStyles){const o=new Set,s=i||{};r.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{rE(l).forEach(u=>{s.hasOwnProperty(u)||o.add(u)})})}),o.size&&(wa(o.values()),t.errors.push(function Zx(n,e){return new D(3008,!1)}()))}return{type:0,name:e.name,style:r,options:i?{params:i}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;const r=gt(this,po(e.animation),t);return{type:1,matchers:BR(e.expr,t.errors),animation:r,queryCount:t.queryCount,depCount:t.depCount,options:lr(e.options)}}visitSequence(e,t){return{type:2,steps:e.steps.map(r=>gt(this,r,t)),options:lr(e.options)}}visitGroup(e,t){const r=t.currentTime;let i=0;const o=e.steps.map(s=>{t.currentTime=r;const a=gt(this,s,t);return i=Math.max(i,t.currentTime),a});return t.currentTime=i,{type:3,steps:o,options:lr(e.options)}}visitAnimate(e,t){const r=function KR(n,e){if(n.hasOwnProperty("duration"))return n;if("number"==typeof n)return jd(Ca(n,e).duration,0,"");const t=n;if(t.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=jd(0,0,"");return o.dynamic=!0,o.strValue=t,o}const i=Ca(t,e);return jd(i.duration,i.delay,i.easing)}(e.timings,t.errors);t.currentAnimateTimings=r;let i,o=e.styles?e.styles:BD({});if(5==o.type)i=this.visitKeyframes(o,t);else{let s=e.styles,a=!1;if(!s){a=!0;const u={};r.easing&&(u.easing=r.easing),s=BD(u)}t.currentTime+=r.duration+r.delay;const l=this.visitStyle(s,t);l.isEmptyStep=a,i=l}return t.currentAnimateTimings=null,{type:4,timings:r,style:i,options:null}}visitStyle(e,t){const r=this._makeStyleAst(e,t);return this._validateStyleAst(r,t),r}_makeStyleAst(e,t){const r=[],i=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of i)"string"==typeof a?a===Dn?r.push(a):t.errors.push(new D(3002,!1)):r.push(JD(a));let o=!1,s=null;return r.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o))for(let l of a.values())if(l.toString().indexOf("{{")>=0){o=!0;break}}),{type:6,styles:r,easing:s,offset:e.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(e,t){const r=t.currentAnimateTimings;let i=t.currentTime,o=t.currentTime;r&&o>0&&(o-=r.duration+r.delay),e.styles.forEach(s=>{"string"!=typeof s&&s.forEach((a,l)=>{const u=t.collectedStyles.get(t.currentQuerySelector),c=u.get(l);let d=!0;c&&(o!=i&&o>=c.startTime&&i<=c.endTime&&(t.errors.push(function Jx(n,e,t,r,i){return new D(3010,!1)}()),d=!1),o=c.startTime),d&&u.set(l,{startTime:o,endTime:i}),t.options&&function FR(n,e,t){const r=e.params||{},i=rE(n);i.length&&i.forEach(o=>{r.hasOwnProperty(o)||t.push(function zx(n){return new D(3001,!1)}())})}(a,t.options,t.errors)})})}visitKeyframes(e,t){const r={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(function eR(){return new D(3011,!1)}()),r;let o=0;const s=[];let a=!1,l=!1,u=0;const c=e.steps.map(y=>{const E=this._makeStyleAst(y,t);let _=null!=E.offset?E.offset:function qR(n){if("string"==typeof n)return null;let e=null;if(Array.isArray(n))n.forEach(t=>{if(t instanceof Map&&t.has("offset")){const r=t;e=parseFloat(r.get("offset")),r.delete("offset")}});else if(n instanceof Map&&n.has("offset")){const t=n;e=parseFloat(t.get("offset")),t.delete("offset")}return e}(E.styles),C=0;return null!=_&&(o++,C=E.offset=_),l=l||C<0||C>1,a=a||C0&&o{const _=f>0?E==h?1:f*E:s[E],C=_*m;t.currentTime=p+g.delay+C,g.duration=C,this._validateStyleAst(y,t),y.offset=_,r.styles.push(y)}),r}visitReference(e,t){return{type:8,animation:gt(this,po(e.animation),t),options:lr(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:9,options:lr(e.options)}}visitAnimateRef(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:lr(e.options)}}visitQuery(e,t){const r=t.currentQuerySelector,i=e.options||{};t.queryCount++,t.currentQuery=e;const[o,s]=function GR(n){const e=!!n.split(/\s*,\s*/).find(t=>":self"==t);return e&&(n=n.replace(UR,"")),n=n.replace(/@\*/g,ba).replace(/@\w+/g,t=>ba+"-"+t.slice(1)).replace(/:animating/g,Rd),[n,e]}(e.selector);t.currentQuerySelector=r.length?r+" "+o:o,pt(t.collectedStyles,t.currentQuerySelector,new Map);const a=gt(this,po(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=r,{type:11,selector:o,limit:i.limit||0,optional:!!i.optional,includeSelf:s,animation:a,originalSelector:e.selector,options:lr(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(function iR(){return new D(3013,!1)}());const r="full"===e.timings?{duration:0,delay:0,easing:"full"}:Ca(e.timings,t.errors,!0);return{type:12,animation:gt(this,po(e.animation),t),timings:r,options:null}}}class WR{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function lr(n){return n?(n=ho(n)).params&&(n.params=function zR(n){return n?ho(n):null}(n.params)):n={},n}function jd(n,e,t){return{duration:n,delay:e,easing:t}}function Hd(n,e,t,r,i,o,s=null,a=!1){return{type:1,element:n,keyframes:e,preStyleProps:t,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:s,subTimeline:a}}class Na{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,t){let r=this._map.get(e);r||this._map.set(e,r=[]),r.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}}const ZR=new RegExp(":enter","g"),JR=new RegExp(":leave","g");function Ud(n,e,t,r,i,o=new Map,s=new Map,a,l,u=[]){return(new ek).buildKeyframes(n,e,t,r,i,o,s,a,l,u)}class ek{buildKeyframes(e,t,r,i,o,s,a,l,u,c=[]){u=u||new Na;const d=new $d(e,t,u,i,o,c,[]);d.options=l;const f=l.delay?En(l.delay):0;d.currentTimeline.delayNextStep(f),d.currentTimeline.setStyles([s],null,d.errors,l),gt(this,r,d);const h=d.timelines.filter(p=>p.containsAnimation());if(h.length&&a.size){let p;for(let g=h.length-1;g>=0;g--){const m=h[g];if(m.element===t){p=m;break}}p&&!p.allowOnlyTimelineStyles()&&p.setStyles([a],null,d.errors,l)}return h.length?h.map(p=>p.buildKeyframes()):[Hd(t,[],[],[],0,f,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){const r=t.subInstructions.get(t.element);if(r){const i=t.createSubContext(e.options),o=t.currentTimeline.currentTime,s=this._visitSubInstructions(r,i,i.options);o!=s&&t.transformIntoNewTimeline(s)}t.previousNode=e}visitAnimateRef(e,t){const r=t.createSubContext(e.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,r),this.visitReference(e.animation,r),t.transformIntoNewTimeline(r.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,r){for(const i of e){const o=i?.delay;if(o){const s="number"==typeof o?o:En(go(o,i?.params??{},t.errors));r.delayNextStep(s)}}}_visitSubInstructions(e,t,r){let o=t.currentTimeline.currentTime;const s=null!=r.duration?En(r.duration):null,a=null!=r.delay?En(r.delay):null;return 0!==s&&e.forEach(l=>{const u=t.appendInstructionToTimeline(l,s,a);o=Math.max(o,u.duration+u.delay)}),o}visitReference(e,t){t.updateOptions(e.options,!0),gt(this,e.animation,t),t.previousNode=e}visitSequence(e,t){const r=t.subContextCount;let i=t;const o=e.options;if(o&&(o.params||o.delay)&&(i=t.createSubContext(o),i.transformIntoNewTimeline(),null!=o.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=Fa);const s=En(o.delay);i.delayNextStep(s)}e.steps.length&&(e.steps.forEach(s=>gt(this,s,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){const r=[];let i=t.currentTimeline.currentTime;const o=e.options&&e.options.delay?En(e.options.delay):0;e.steps.forEach(s=>{const a=t.createSubContext(e.options);o&&a.delayNextStep(o),gt(this,s,a),i=Math.max(i,a.currentTimeline.currentTime),r.push(a.currentTimeline)}),r.forEach(s=>t.currentTimeline.mergeTimelineCollectedStyles(s)),t.transformIntoNewTimeline(i),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){const r=e.strValue;return Ca(t.params?go(r,t.params,t.errors):r,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){const r=t.currentAnimateTimings=this._visitTiming(e.timings,t),i=t.currentTimeline;r.delay&&(t.incrementTime(r.delay),i.snapshotCurrentStyles());const o=e.style;5==o.type?this.visitKeyframes(o,t):(t.incrementTime(r.duration),this.visitStyle(o,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){const r=t.currentTimeline,i=t.currentAnimateTimings;!i&&r.hasCurrentStyleProperties()&&r.forwardFrame();const o=i&&i.easing||e.easing;e.isEmptyStep?r.applyEmptyStep(o):r.setStyles(e.styles,o,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){const r=t.currentAnimateTimings,i=t.currentTimeline.duration,o=r.duration,a=t.createSubContext().currentTimeline;a.easing=r.easing,e.styles.forEach(l=>{a.forwardTime((l.offset||0)*o),a.setStyles(l.styles,l.easing,t.errors,t.options),a.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(a),t.transformIntoNewTimeline(i+o),t.previousNode=e}visitQuery(e,t){const r=t.currentTimeline.currentTime,i=e.options||{},o=i.delay?En(i.delay):0;o&&(6===t.previousNode.type||0==r&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Fa);let s=r;const a=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=a.length;let l=null;a.forEach((u,c)=>{t.currentQueryIndex=c;const d=t.createSubContext(e.options,u);o&&d.delayNextStep(o),u===t.element&&(l=d.currentTimeline),gt(this,e.animation,d),d.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,d.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(s),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){const r=t.parentContext,i=t.currentTimeline,o=e.timings,s=Math.abs(o.duration),a=s*(t.currentQueryTotal-1);let l=s*t.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=r.currentStaggerTime}const c=t.currentTimeline;l&&c.delayNextStep(l);const d=c.currentTime;gt(this,e.animation,t),t.previousNode=e,r.currentStaggerTime=i.currentTime-d+(i.startTime-r.currentTimeline.startTime)}}const Fa={};class $d{constructor(e,t,r,i,o,s,a,l){this._driver=e,this.element=t,this.subInstructions=r,this._enterClassName=i,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Fa,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new Oa(this._driver,t,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;const r=e;let i=this.options;null!=r.duration&&(i.duration=En(r.duration)),null!=r.delay&&(i.delay=En(r.delay));const o=r.params;if(o){let s=i.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!t||!s.hasOwnProperty(a))&&(s[a]=go(o[a],s,this.errors))})}}_copyOptions(){const e={};if(this.options){const t=this.options.params;if(t){const r=e.params={};Object.keys(t).forEach(i=>{r[i]=t[i]})}}return e}createSubContext(e=null,t,r){const i=t||this.element,o=new $d(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(e){return this.previousNode=Fa,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,r){const i={duration:t??e.duration,delay:this.currentTimeline.currentTime+(r??0)+e.delay,easing:""},o=new tk(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(o),i}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,r,i,o,s){let a=[];if(i&&a.push(this.element),e.length>0){e=(e=e.replace(ZR,"."+this._enterClassName)).replace(JR,"."+this._leaveClassName);let u=this._driver.query(this.element,e,1!=r);0!==r&&(u=r<0?u.slice(u.length+r,u.length):u.slice(0,r)),a.push(...u)}return!o&&0==a.length&&s.push(function oR(n){return new D(3014,!1)}()),a}}class Oa{constructor(e,t,r,i){this._driver=e,this.element=t,this.startTime=r,this._elementTimelineStylesLookup=i,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(e){const t=1===this._keyframes.size&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new Oa(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[t,r]of this._globalTimelineStyles)this._backFill.set(t,r||Dn),this._currentKeyframe.set(t,Dn);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,r,i){t&&this._previousKeyframe.set("easing",t);const o=i&&i.params||{},s=function nk(n,e){const t=new Map;let r;return n.forEach(i=>{if("*"===i){r=r||e.keys();for(let o of r)t.set(o,Dn)}else Bn(i,t)}),t}(e,this._globalTimelineStyles);for(let[a,l]of s){const u=go(l,o,r);this._pendingStyles.set(a,u),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??Dn),this._updateStyle(a,u)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,e)}))}snapshotCurrentStyles(){for(let[e,t]of this._localTimelineStyles)this._pendingStyles.set(e,t),this._updateStyle(e,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((t,r)=>{const i=this._styleSummary.get(r);(!i||t.time>i.time)&&this._updateStyle(r,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,t=new Set,r=1===this._keyframes.size&&0===this.duration;let i=[];this._keyframes.forEach((a,l)=>{const u=Bn(a,new Map,this._backFill);u.forEach((c,d)=>{c===Sd?e.add(d):c===Dn&&t.add(d)}),r||u.set("offset",l/this.duration),i.push(u)});const o=e.size?wa(e.values()):[],s=t.size?wa(t.values()):[];if(r){const a=i[0],l=new Map(a);a.set("offset",0),l.set("offset",1),i=[a,l]}return Hd(this.element,i,o,s,this.duration,this.startTime,this.easing,!1)}}class tk extends Oa{constructor(e,t,r,i,o,s,a=!1){super(e,t,s.delay),this.keyframes=r,this.preStyleProps=i,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:r,easing:i}=this.timings;if(this._stretchStartingKeyframe&&t){const o=[],s=r+t,a=t/s,l=Bn(e[0]);l.set("offset",0),o.push(l);const u=Bn(e[0]);u.set("offset",lE(a)),o.push(u);const c=e.length-1;for(let d=1;d<=c;d++){let f=Bn(e[d]);const h=f.get("offset");f.set("offset",lE((t+h*r)/s)),o.push(f)}r=s,t=0,i="",e=o}return Hd(this.element,e,this.preStyleProps,this.postStyleProps,r,t,i,!0)}}function lE(n,e=3){const t=Math.pow(10,e-1);return Math.round(n*t)/t}class Gd{}const rk=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 ik extends Gd{normalizePropertyName(e,t){return Vd(e)}normalizeStyleValue(e,t,r,i){let o="";const s=r.toString().trim();if(rk.has(t)&&0!==r&&"0"!==r)if("number"==typeof r)o="px";else{const a=r.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&i.push(function Kx(n,e){return new D(3005,!1)}())}return s+o}}function uE(n,e,t,r,i,o,s,a,l,u,c,d,f){return{type:0,element:n,triggerName:e,isRemovalTransition:i,fromState:t,fromStyles:o,toState:r,toStyles:s,timelines:a,queriedElements:l,preStyleProps:u,postStyleProps:c,totalTime:d,errors:f}}const zd={};class cE{constructor(e,t,r){this._triggerName=e,this.ast=t,this._stateStyles=r}match(e,t,r,i){return function ok(n,e,t,r,i){return n.some(o=>o(e,t,r,i))}(this.ast.matchers,e,t,r,i)}buildStyles(e,t,r){let i=this._stateStyles.get("*");return void 0!==e&&(i=this._stateStyles.get(e?.toString())||i),i?i.buildStyles(t,r):new Map}build(e,t,r,i,o,s,a,l,u,c){const d=[],f=this.ast.options&&this.ast.options.params||zd,p=this.buildStyles(r,a&&a.params||zd,d),g=l&&l.params||zd,m=this.buildStyles(i,g,d),y=new Set,E=new Map,_=new Map,C="void"===i,G={params:sk(g,f),delay:this.ast.options?.delay},K=c?[]:Ud(e,t,this.ast.animation,o,s,p,m,G,u,d);let He=0;if(K.forEach(Cn=>{He=Math.max(Cn.duration+Cn.delay,He)}),d.length)return uE(t,this._triggerName,r,i,C,p,m,[],[],E,_,He,d);K.forEach(Cn=>{const wn=Cn.element,XE=pt(E,wn,new Set);Cn.preStyleProps.forEach(dr=>XE.add(dr));const Eo=pt(_,wn,new Set);Cn.postStyleProps.forEach(dr=>Eo.add(dr)),wn!==t&&y.add(wn)});const bn=wa(y.values());return uE(t,this._triggerName,r,i,C,p,m,K,bn,E,_,He)}}function sk(n,e){const t=ho(e);for(const r in n)n.hasOwnProperty(r)&&null!=n[r]&&(t[r]=n[r]);return t}class ak{constructor(e,t,r){this.styles=e,this.defaultParams=t,this.normalizer=r}buildStyles(e,t){const r=new Map,i=ho(this.defaultParams);return Object.keys(e).forEach(o=>{const s=e[o];null!==s&&(i[o]=s)}),this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((s,a)=>{s&&(s=go(s,i,t));const l=this.normalizer.normalizePropertyName(a,t);s=this.normalizer.normalizeStyleValue(a,l,s,t),r.set(a,s)})}),r}}class uk{constructor(e,t,r){this.name=e,this.ast=t,this._normalizer=r,this.transitionFactories=[],this.states=new Map,t.states.forEach(i=>{this.states.set(i.name,new ak(i.style,i.options&&i.options.params||{},r))}),dE(this.states,"true","1"),dE(this.states,"false","0"),t.transitions.forEach(i=>{this.transitionFactories.push(new cE(e,i,this.states))}),this.fallbackTransition=function ck(n,e,t){return new cE(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[(s,a)=>!0],options:null,queryCount:0,depCount:0},e)}(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,r,i){return this.transitionFactories.find(s=>s.match(e,t,r,i))||null}matchStyles(e,t,r){return this.fallbackTransition.buildStyles(e,t,r)}}function dE(n,e,t){n.has(e)?n.has(t)||n.set(t,n.get(e)):n.has(t)&&n.set(e,n.get(t))}const dk=new Na;class fk{constructor(e,t,r){this.bodyNode=e,this._driver=t,this._normalizer=r,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,t){const r=[],i=[],o=Bd(this._driver,t,r,i);if(r.length)throw function fR(n){return new D(3503,!1)}();this._animations.set(e,o)}_buildPlayer(e,t,r){const i=e.element,o=$D(0,this._normalizer,0,e.keyframes,t,r);return this._driver.animate(i,o,e.duration,e.delay,e.easing,[],!0)}create(e,t,r={}){const i=[],o=this._animations.get(e);let s;const a=new Map;if(o?(s=Ud(this._driver,t,o,xd,Da,new Map,new Map,r,dk,i),s.forEach(c=>{const d=pt(a,c.element,new Map);c.postStyleProps.forEach(f=>d.set(f,null))})):(i.push(function hR(){return new D(3300,!1)}()),s=[]),i.length)throw function pR(n){return new D(3504,!1)}();a.forEach((c,d)=>{c.forEach((f,h)=>{c.set(h,this._driver.computeStyle(d,h,Dn))})});const u=Vn(s.map(c=>{const d=a.get(c.element);return this._buildPlayer(c,new Map,d)}));return this._playersById.set(e,u),u.onDestroy(()=>this.destroy(e)),this.players.push(u),u}destroy(e){const t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);const r=this.players.indexOf(t);r>=0&&this.players.splice(r,1)}_getPlayer(e){const t=this._playersById.get(e);if(!t)throw function gR(n){return new D(3301,!1)}();return t}listen(e,t,r,i){const o=Nd(t,"","","");return Td(this._getPlayer(e),r,o,i),()=>{}}command(e,t,r,i){if("register"==r)return void this.register(e,i[0]);if("create"==r)return void this.create(e,t,i[0]||{});const o=this._getPlayer(e);switch(r){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(i[0]));break;case"destroy":this.destroy(e)}}}const fE="ng-animate-queued",Wd="ng-animate-disabled",yk=[],hE={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},_k={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},St="__ng_removed";class qd{get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;const r=e&&e.hasOwnProperty("value");if(this.value=function bk(n){return n??null}(r?e.value:e),r){const o=ho(e);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){const t=e.params;if(t){const r=this.options.params;Object.keys(t).forEach(i=>{null==r[i]&&(r[i]=t[i])})}}}const mo="void",Kd=new qd(mo);class vk{constructor(e,t,r){this.id=e,this.hostElement=t,this._engine=r,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,It(t,this._hostClassName)}listen(e,t,r,i){if(!this._triggers.has(t))throw function mR(n,e){return new D(3302,!1)}();if(null==r||0==r.length)throw function yR(n){return new D(3303,!1)}();if(!function Ck(n){return"start"==n||"done"==n}(r))throw function _R(n,e){return new D(3400,!1)}();const o=pt(this._elementListeners,e,[]),s={name:t,phase:r,callback:i};o.push(s);const a=pt(this._engine.statesByElement,e,new Map);return a.has(t)||(It(e,Ea),It(e,Ea+"-"+t),a.set(t,Kd)),()=>{this._engine.afterFlush(()=>{const l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(t)||a.delete(t)})}}register(e,t){return!this._triggers.has(e)&&(this._triggers.set(e,t),!0)}_getTrigger(e){const t=this._triggers.get(e);if(!t)throw function vR(n){return new D(3401,!1)}();return t}trigger(e,t,r,i=!0){const o=this._getTrigger(t),s=new Qd(this.id,t,e);let a=this._engine.statesByElement.get(e);a||(It(e,Ea),It(e,Ea+"-"+t),this._engine.statesByElement.set(e,a=new Map));let l=a.get(t);const u=new qd(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),a.set(t,u),l||(l=Kd),u.value!==mo&&l.value===u.value){if(!function Sk(n,e){const t=Object.keys(n),r=Object.keys(e);if(t.length!=r.length)return!1;for(let i=0;i{ar(e,m),tn(e,y)})}return}const f=pt(this._engine.playersByElement,e,[]);f.forEach(g=>{g.namespaceId==this.id&&g.triggerName==t&&g.queued&&g.destroy()});let h=o.matchTransition(l.value,u.value,e,u.params),p=!1;if(!h){if(!i)return;h=o.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:h,fromState:l,toState:u,player:s,isFallbackTransition:p}),p||(It(e,fE),s.onStart(()=>{oi(e,fE)})),s.onDone(()=>{let g=this.players.indexOf(s);g>=0&&this.players.splice(g,1);const m=this._engine.playersByElement.get(e);if(m){let y=m.indexOf(s);y>=0&&m.splice(y,1)}}),this.players.push(s),f.push(s),s}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,r)=>{this._elementListeners.set(r,t.filter(i=>i.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);const t=this._engine.playersByElement.get(e);t&&(t.forEach(r=>r.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){const r=this._engine.driver.query(e,ba,!0);r.forEach(i=>{if(i[St])return;const o=this._engine.fetchNamespacesByElement(i);o.size?o.forEach(s=>s.triggerLeaveAnimation(i,t,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(e,t,r,i){const o=this._engine.statesByElement.get(e),s=new Map;if(o){const a=[];if(o.forEach((l,u)=>{if(s.set(u,l.value),this._triggers.has(u)){const c=this.trigger(e,u,mo,i);c&&a.push(c)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,s),r&&Vn(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){const t=this._elementListeners.get(e),r=this._engine.statesByElement.get(e);if(t&&r){const i=new Set;t.forEach(o=>{const s=o.name;if(i.has(s))return;i.add(s);const l=this._triggers.get(s).fallbackTransition,u=r.get(s)||Kd,c=new qd(mo),d=new Qd(this.id,s,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:s,transition:l,fromState:u,toState:c,player:d,isFallbackTransition:!0})})}}removeNode(e,t){const r=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let i=!1;if(r.totalAnimations){const o=r.players.length?r.playersByQueriedElement.get(e):[];if(o&&o.length)i=!0;else{let s=e;for(;s=s.parentNode;)if(r.statesByElement.get(s)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)r.markElementAsRemoved(this.id,e,!1,t);else{const o=e[St];(!o||o===hE)&&(r.afterFlush(()=>this.clearElementCache(e)),r.destroyInnerAnimations(e),r._onRemovalComplete(e,t))}}insertNode(e,t){It(e,this._hostClassName)}drainQueuedTransitions(e){const t=[];return this._queue.forEach(r=>{const i=r.player;if(i.destroyed)return;const o=r.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==r.triggerName){const l=Nd(o,r.triggerName,r.fromState.value,r.toState.value);l._data=e,Td(r.player,a.phase,l,a.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):t.push(r)}),this._queue=[],t.sort((r,i)=>{const o=r.transition.ast.depCount,s=i.transition.ast.depCount;return 0==o||0==s?o-s:this._engine.driver.containsElement(r.element,i.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}elementContainsData(e){let t=!1;return this._elementListeners.has(e)&&(t=!0),t=!!this._queue.find(r=>r.element===e)||t,t}}class Dk{_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,r){this.bodyNode=e,this.driver=t,this._normalizer=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=(i,o)=>{}}get queuedPlayers(){const e=[];return this._namespaceList.forEach(t=>{t.players.forEach(r=>{r.queued&&e.push(r)})}),e}createNamespace(e,t){const r=new vk(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(r,t):(this.newHostElements.set(t,r),this.collectEnterElement(t)),this._namespaceLookup[e]=r}_balanceNamespaceList(e,t){const r=this._namespaceList,i=this.namespacesByHostElement;if(r.length-1>=0){let s=!1,a=this.driver.getParentElement(t);for(;a;){const l=i.get(a);if(l){const u=r.indexOf(l);r.splice(u+1,0,e),s=!0;break}a=this.driver.getParentElement(a)}s||r.unshift(e)}else r.push(e);return i.set(t,e),e}register(e,t){let r=this._namespaceLookup[e];return r||(r=this.createNamespace(e,t)),r}registerTrigger(e,t,r){let i=this._namespaceLookup[e];i&&i.register(t,r)&&this.totalAnimations++}destroy(e,t){if(!e)return;const r=this._fetchNamespace(e);this.afterFlush(()=>{this.namespacesByHostElement.delete(r.hostElement),delete this._namespaceLookup[e];const i=this._namespaceList.indexOf(r);i>=0&&this._namespaceList.splice(i,1)}),this.afterFlushAnimationsDone(()=>r.destroy(t))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){const t=new Set,r=this.statesByElement.get(e);if(r)for(let i of r.values())if(i.namespaceId){const o=this._fetchNamespace(i.namespaceId);o&&t.add(o)}return t}trigger(e,t,r,i){if(Pa(t)){const o=this._fetchNamespace(e);if(o)return o.trigger(t,r,i),!0}return!1}insertNode(e,t,r,i){if(!Pa(t))return;const o=t[St];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const s=this.collectedLeaveElements.indexOf(t);s>=0&&this.collectedLeaveElements.splice(s,1)}if(e){const s=this._fetchNamespace(e);s&&s.insertNode(t,r)}i&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),It(e,Wd)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),oi(e,Wd))}removeNode(e,t,r,i){if(Pa(t)){const o=e?this._fetchNamespace(e):null;if(o?o.removeNode(t,i):this.markElementAsRemoved(e,t,!1,i),r){const s=this.namespacesByHostElement.get(t);s&&s.id!==e&&s.removeNode(t,i)}}else this._onRemovalComplete(t,i)}markElementAsRemoved(e,t,r,i,o){this.collectedLeaveElements.push(t),t[St]={namespaceId:e,setForRemoval:i,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:o}}listen(e,t,r,i,o){return Pa(t)?this._fetchNamespace(e).listen(t,r,i,o):()=>{}}_buildInstruction(e,t,r,i,o){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,r,i,e.fromState.options,e.toState.options,t,o)}destroyInnerAnimations(e){let t=this.driver.query(e,ba,!0);t.forEach(r=>this.destroyActiveAnimationsForElement(r)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,Rd,!0),t.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(e){const t=this.playersByElement.get(e);t&&t.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(e){const t=this.playersByQueriedElement.get(e);t&&t.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return Vn(this.players).onDone(()=>e());e()})}processLeaveNode(e){const t=e[St];if(t&&t.setForRemoval){if(e[St]=hE,t.namespaceId){this.destroyInnerAnimations(e);const r=this._fetchNamespace(t.namespaceId);r&&r.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(Wd)&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach(r=>{this.markElementAsDisabled(r,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((r,i)=>this._balanceNamespaceList(r,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;rr()),this._flushFns=[],this._whenQuietFns.length){const r=this._whenQuietFns;this._whenQuietFns=[],t.length?Vn(t).onDone(()=>{r.forEach(i=>i())}):r.forEach(i=>i())}}reportError(e){throw function DR(n){return new D(3402,!1)}()}_flushAnimations(e,t){const r=new Na,i=[],o=new Map,s=[],a=new Map,l=new Map,u=new Map,c=new Set;this.disabledNodes.forEach(T=>{c.add(T);const N=this.driver.query(T,".ng-animate-queued",!0);for(let x=0;x{const x=xd+g++;p.set(N,x),T.forEach(q=>It(q,x))});const m=[],y=new Set,E=new Set;for(let T=0;Ty.add(q)):E.add(N))}const _=new Map,C=mE(f,Array.from(y));C.forEach((T,N)=>{const x=Da+g++;_.set(N,x),T.forEach(q=>It(q,x))}),e.push(()=>{h.forEach((T,N)=>{const x=p.get(N);T.forEach(q=>oi(q,x))}),C.forEach((T,N)=>{const x=_.get(N);T.forEach(q=>oi(q,x))}),m.forEach(T=>{this.processLeaveNode(T)})});const G=[],K=[];for(let T=this._namespaceList.length-1;T>=0;T--)this._namespaceList[T].drainQueuedTransitions(t).forEach(x=>{const q=x.player,Ae=x.element;if(G.push(q),this.collectedEnterElements.length){const Ue=Ae[St];if(Ue&&Ue.setForMove){if(Ue.previousTriggersValues&&Ue.previousTriggersValues.has(x.triggerName)){const fr=Ue.previousTriggersValues.get(x.triggerName),Tt=this.statesByElement.get(x.element);if(Tt&&Tt.has(x.triggerName)){const Ua=Tt.get(x.triggerName);Ua.value=fr,Tt.set(x.triggerName,Ua)}}return void q.destroy()}}const nn=!d||!this.driver.containsElement(d,Ae),mt=_.get(Ae),jn=p.get(Ae),he=this._buildInstruction(x,r,jn,mt,nn);if(he.errors&&he.errors.length)return void K.push(he);if(nn)return q.onStart(()=>ar(Ae,he.fromStyles)),q.onDestroy(()=>tn(Ae,he.toStyles)),void i.push(q);if(x.isFallbackTransition)return q.onStart(()=>ar(Ae,he.fromStyles)),q.onDestroy(()=>tn(Ae,he.toStyles)),void i.push(q);const tb=[];he.timelines.forEach(Ue=>{Ue.stretchStartingKeyframe=!0,this.disabledNodes.has(Ue.element)||tb.push(Ue)}),he.timelines=tb,r.append(Ae,he.timelines),s.push({instruction:he,player:q,element:Ae}),he.queriedElements.forEach(Ue=>pt(a,Ue,[]).push(q)),he.preStyleProps.forEach((Ue,fr)=>{if(Ue.size){let Tt=l.get(fr);Tt||l.set(fr,Tt=new Set),Ue.forEach((Ua,sf)=>Tt.add(sf))}}),he.postStyleProps.forEach((Ue,fr)=>{let Tt=u.get(fr);Tt||u.set(fr,Tt=new Set),Ue.forEach((Ua,sf)=>Tt.add(sf))})});if(K.length){const T=[];K.forEach(N=>{T.push(function ER(n,e){return new D(3505,!1)}())}),G.forEach(N=>N.destroy()),this.reportError(T)}const He=new Map,bn=new Map;s.forEach(T=>{const N=T.element;r.has(N)&&(bn.set(N,N),this._beforeAnimationBuild(T.player.namespaceId,T.instruction,He))}),i.forEach(T=>{const N=T.element;this._getPreviousPlayers(N,!1,T.namespaceId,T.triggerName,null).forEach(q=>{pt(He,N,[]).push(q),q.destroy()})});const Cn=m.filter(T=>_E(T,l,u)),wn=new Map;gE(wn,this.driver,E,u,Dn).forEach(T=>{_E(T,l,u)&&Cn.push(T)});const Eo=new Map;h.forEach((T,N)=>{gE(Eo,this.driver,new Set(T),l,Sd)}),Cn.forEach(T=>{const N=wn.get(T),x=Eo.get(T);wn.set(T,new Map([...Array.from(N?.entries()??[]),...Array.from(x?.entries()??[])]))});const dr=[],JE=[],eb={};s.forEach(T=>{const{element:N,player:x,instruction:q}=T;if(r.has(N)){if(c.has(N))return x.onDestroy(()=>tn(N,q.toStyles)),x.disabled=!0,x.overrideTotalTime(q.totalTime),void i.push(x);let Ae=eb;if(bn.size>1){let mt=N;const jn=[];for(;mt=mt.parentNode;){const he=bn.get(mt);if(he){Ae=he;break}jn.push(mt)}jn.forEach(he=>bn.set(he,Ae))}const nn=this._buildAnimation(x.namespaceId,q,He,o,Eo,wn);if(x.setRealPlayer(nn),Ae===eb)dr.push(x);else{const mt=this.playersByElement.get(Ae);mt&&mt.length&&(x.parentPlayer=Vn(mt)),i.push(x)}}else ar(N,q.fromStyles),x.onDestroy(()=>tn(N,q.toStyles)),JE.push(x),c.has(N)&&i.push(x)}),JE.forEach(T=>{const N=o.get(T.element);if(N&&N.length){const x=Vn(N);T.setRealPlayer(x)}}),i.forEach(T=>{T.parentPlayer?T.syncPlayerEvents(T.parentPlayer):T.destroy()});for(let T=0;T!nn.destroyed);Ae.length?wk(this,N,Ae):this.processLeaveNode(N)}return m.length=0,dr.forEach(T=>{this.players.push(T),T.onDone(()=>{T.destroy();const N=this.players.indexOf(T);this.players.splice(N,1)}),T.play()}),dr}elementContainsData(e,t){let r=!1;const i=t[St];return i&&i.setForRemoval&&(r=!0),this.playersByElement.has(t)&&(r=!0),this.playersByQueriedElement.has(t)&&(r=!0),this.statesByElement.has(t)&&(r=!0),this._fetchNamespace(e).elementContainsData(t)||r}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,r,i,o){let s=[];if(t){const a=this.playersByQueriedElement.get(e);a&&(s=a)}else{const a=this.playersByElement.get(e);if(a){const l=!o||o==mo;a.forEach(u=>{u.queued||!l&&u.triggerName!=i||s.push(u)})}}return(r||i)&&(s=s.filter(a=>!(r&&r!=a.namespaceId||i&&i!=a.triggerName))),s}_beforeAnimationBuild(e,t,r){const o=t.element,s=t.isRemovalTransition?void 0:e,a=t.isRemovalTransition?void 0:t.triggerName;for(const l of t.timelines){const u=l.element,c=u!==o,d=pt(r,u,[]);this._getPreviousPlayers(u,c,s,a,t.toState).forEach(h=>{const p=h.getRealPlayer();p.beforeDestroy&&p.beforeDestroy(),h.destroy(),d.push(h)})}ar(o,t.fromStyles)}_buildAnimation(e,t,r,i,o,s){const a=t.triggerName,l=t.element,u=[],c=new Set,d=new Set,f=t.timelines.map(p=>{const g=p.element;c.add(g);const m=g[St];if(m&&m.removedBeforeQueried)return new fo(p.duration,p.delay);const y=g!==l,E=function Mk(n){const e=[];return yE(n,e),e}((r.get(g)||yk).map(He=>He.getRealPlayer())).filter(He=>!!He.element&&He.element===g),_=o.get(g),C=s.get(g),G=$D(0,this._normalizer,0,p.keyframes,_,C),K=this._buildPlayer(p,G,E);if(p.subTimeline&&i&&d.add(g),y){const He=new Qd(e,a,g);He.setRealPlayer(K),u.push(He)}return K});u.forEach(p=>{pt(this.playersByQueriedElement,p.element,[]).push(p),p.onDone(()=>function Ek(n,e,t){let r=n.get(e);if(r){if(r.length){const i=r.indexOf(t);r.splice(i,1)}0==r.length&&n.delete(e)}return r}(this.playersByQueriedElement,p.element,p))}),c.forEach(p=>It(p,XD));const h=Vn(f);return h.onDestroy(()=>{c.forEach(p=>oi(p,XD)),tn(l,t.toStyles)}),d.forEach(p=>{pt(i,p,[]).push(h)}),h}_buildPlayer(e,t,r){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,r):new fo(e.duration,e.delay)}}class Qd{constructor(e,t,r){this.namespaceId=e,this.triggerName=t,this.element=r,this._player=new fo,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(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,r)=>{t.forEach(i=>Td(e,r,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){const t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){pt(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){const t=this._player;t.triggerCallback&&t.triggerCallback(e)}}function Pa(n){return n&&1===n.nodeType}function pE(n,e){const t=n.style.display;return n.style.display=e??"none",t}function gE(n,e,t,r,i){const o=[];t.forEach(l=>o.push(pE(l)));const s=[];r.forEach((l,u)=>{const c=new Map;l.forEach(d=>{const f=e.computeStyle(u,d,i);c.set(d,f),(!f||0==f.length)&&(u[St]=_k,s.push(u))}),n.set(u,c)});let a=0;return t.forEach(l=>pE(l,o[a++])),s}function mE(n,e){const t=new Map;if(n.forEach(a=>t.set(a,[])),0==e.length)return t;const r=1,i=new Set(e),o=new Map;function s(a){if(!a)return r;let l=o.get(a);if(l)return l;const u=a.parentNode;return l=t.has(u)?u:i.has(u)?r:s(u),o.set(a,l),l}return e.forEach(a=>{const l=s(a);l!==r&&t.get(l).push(a)}),t}function It(n,e){n.classList?.add(e)}function oi(n,e){n.classList?.remove(e)}function wk(n,e,t){Vn(t).onDone(()=>n.processLeaveNode(e))}function yE(n,e){for(let t=0;ti.add(o)):e.set(n,r),t.delete(n),!0}class xa{constructor(e,t,r){this.bodyNode=e,this._driver=t,this._normalizer=r,this._triggerCache={},this.onRemovalComplete=(i,o)=>{},this._transitionEngine=new Dk(e,t,r),this._timelineEngine=new fk(e,t,r),this._transitionEngine.onRemovalComplete=(i,o)=>this.onRemovalComplete(i,o)}registerTrigger(e,t,r,i,o){const s=e+"-"+i;let a=this._triggerCache[s];if(!a){const l=[],u=[],c=Bd(this._driver,o,l,u);if(l.length)throw function cR(n,e){return new D(3404,!1)}();a=function lk(n,e,t){return new uk(n,e,t)}(i,c,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(t,i,a)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,r,i){this._transitionEngine.insertNode(e,t,r,i)}onRemove(e,t,r,i){this._transitionEngine.removeNode(e,t,i||!1,r)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,r,i){if("@"==r.charAt(0)){const[o,s]=GD(r);this._timelineEngine.command(o,t,s,i)}else this._transitionEngine.trigger(e,t,r,i)}listen(e,t,r,i,o){if("@"==r.charAt(0)){const[s,a]=GD(r);return this._timelineEngine.listen(s,t,a,o)}return this._transitionEngine.listen(e,t,r,i,o)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Tk=(()=>{class n{constructor(t,r,i){this._element=t,this._startStyles=r,this._endStyles=i,this._state=0;let o=n.initialStylesByElement.get(t);o||n.initialStylesByElement.set(t,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&tn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(tn(this._element,this._initialStyles),this._endStyles&&(tn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(ar(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(ar(this._element,this._endStyles),this._endStyles=null),tn(this._element,this._initialStyles),this._state=3)}}return n.initialStylesByElement=new WeakMap,n})();function Yd(n){let e=null;return n.forEach((t,r)=>{(function Ak(n){return"display"===n||"position"===n})(r)&&(e=e||new Map,e.set(r,t))}),e}class vE{constructor(e,t,r,i){this.element=e,this.keyframes=t,this.options=r,this._specialStyles=i,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=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){const t=[];return e.forEach(r=>{t.push(Object.fromEntries(r))}),t}_triggerWebAnimation(e,t,r){return e.animate(this._convertKeyframesToObject(t),r)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((r,i)=>{"offset"!==i&&e.set(i,this._finished?r:iE(this.element,i))}),this.currentSnapshot=e}triggerCallback(e){const t="start"===e?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}}class Nk{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}matchesElement(e,t){return!1}containsElement(e,t){return KD(e,t)}getParentElement(e){return Od(e)}query(e,t,r){return QD(e,t,r)}computeStyle(e,t,r){return window.getComputedStyle(e)[t]}animate(e,t,r,i,o,s=[]){const l={duration:r,delay:i,fill:0==i?"both":"forwards"};o&&(l.easing=o);const u=new Map,c=s.filter(h=>h instanceof vE);(function xR(n,e){return 0===n||0===e})(r,i)&&c.forEach(h=>{h.currentSnapshot.forEach((p,g)=>u.set(g,p))});let d=function NR(n){return n.length?n[0]instanceof Map?n:n.map(e=>JD(e)):[]}(t).map(h=>Bn(h));d=function RR(n,e,t){if(t.size&&e.length){let r=e[0],i=[];if(t.forEach((o,s)=>{r.has(s)||i.push(s),r.set(s,o)}),i.length)for(let o=1;os.set(a,iE(n,a)))}}return e}(e,d,u);const f=function Ik(n,e){let t=null,r=null;return Array.isArray(e)&&e.length?(t=Yd(e[0]),e.length>1&&(r=Yd(e[e.length-1]))):e instanceof Map&&(t=Yd(e)),t||r?new Tk(n,t,r):null}(e,d);return new vE(e,d,l,f)}}let Fk=(()=>{class n extends LD{constructor(t,r){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(r.body,{id:"0",encapsulation:Nt.None,styles:[],data:{animation:[]}})}build(t){const r=this._nextAnimationId.toString();this._nextAnimationId++;const i=Array.isArray(t)?VD(t):t;return DE(this._renderer,null,r,"register",[i]),new Ok(r,this._renderer)}}return n.\u0275fac=function(t){return new(t||n)(I(Ri),I(De))},n.\u0275prov=j({token:n,factory:n.\u0275fac}),n})();class Ok extends Ux{constructor(e,t){super(),this._id=e,this._renderer=t}create(e,t){return new Pk(this._id,e,t||{},this._renderer)}}class Pk{constructor(e,t,r,i){this.id=e,this.element=t,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",r)}_listen(e,t){return this._renderer.listen(this.element,`@@${this.id}:${e}`,t)}_command(e,...t){return DE(this._renderer,this.element,this.id,e,t)}onDone(e){this._listen("done",e)}onStart(e){this._listen("start",e)}onDestroy(e){this._listen("destroy",e)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(e){this._command("setPosition",e)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function DE(n,e,t,r,i){return n.setProperty(e,`@@${t}:${r}`,i)}const EE="@.disabled";let xk=(()=>{class n{constructor(t,r,i){this.delegate=t,this.engine=r,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),r.onRemovalComplete=(o,s)=>{const a=s?.parentNode(o);a&&s.removeChild(a,o)}}createRenderer(t,r){const o=this.delegate.createRenderer(t,r);if(!(t&&r&&r.data&&r.data.animation)){let c=this._rendererCache.get(o);return c||(c=new bE("",o,this.engine,()=>this._rendererCache.delete(o)),this._rendererCache.set(o,c)),c}const s=r.id,a=r.id+"-"+this._currentId;this._currentId++,this.engine.register(a,t);const l=c=>{Array.isArray(c)?c.forEach(l):this.engine.registerTrigger(s,a,t,c.name,c)};return r.data.animation.forEach(l),new Rk(this,a,o,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,r,i){t>=0&&tr(i)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(o=>{const[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([r,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()}}return n.\u0275fac=function(t){return new(t||n)(I(Ri),I(xa),I(Ie))},n.\u0275prov=j({token:n,factory:n.\u0275fac}),n})();class bE{constructor(e,t,r,i){this.namespaceId=e,this.delegate=t,this.engine=r,this._onDestroy=i,this.destroyNode=this.delegate.destroyNode?o=>t.destroyNode(o):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,r,i=!0){this.delegate.insertBefore(e,t,r),this.engine.onInsert(this.namespaceId,t,e,i)}removeChild(e,t,r){this.engine.onRemove(this.namespaceId,t,this.delegate,r)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,r,i){this.delegate.setAttribute(e,t,r,i)}removeAttribute(e,t,r){this.delegate.removeAttribute(e,t,r)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,r,i){this.delegate.setStyle(e,t,r,i)}removeStyle(e,t,r){this.delegate.removeStyle(e,t,r)}setProperty(e,t,r){"@"==t.charAt(0)&&t==EE?this.disableAnimations(e,!!r):this.delegate.setProperty(e,t,r)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,r){return this.delegate.listen(e,t,r)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}}class Rk extends bE{constructor(e,t,r,i,o){super(t,r,i,o),this.factory=e,this.namespaceId=t}setProperty(e,t,r){"@"==t.charAt(0)?"."==t.charAt(1)&&t==EE?this.disableAnimations(e,r=void 0===r||!!r):this.engine.process(this.namespaceId,e,t.slice(1),r):this.delegate.setProperty(e,t,r)}listen(e,t,r){if("@"==t.charAt(0)){const i=function kk(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(e);let o=t.slice(1),s="";return"@"!=o.charAt(0)&&([o,s]=function Lk(n){const e=n.indexOf(".");return[n.substring(0,e),n.slice(e+1)]}(o)),this.engine.listen(this.namespaceId,i,o,s,a=>{this.factory.scheduleListenerCallback(a._data||-1,r,a)})}return this.delegate.listen(e,t,r)}}const CE=[{provide:LD,useClass:Fk},{provide:Gd,useFactory:function Bk(){return new ik}},{provide:xa,useClass:(()=>{class n extends xa{constructor(t,r,i,o){super(t.body,r,i)}ngOnDestroy(){this.flush()}}return n.\u0275fac=function(t){return new(t||n)(I(De),I(Pd),I(Gd),I(js))},n.\u0275prov=j({token:n,factory:n.\u0275fac}),n})()},{provide:Ri,useFactory:function jk(n,e,t){return new xk(n,e,t)},deps:[oa,xa,Ie]}],Zd=[{provide:Pd,useFactory:()=>new Nk},{provide:Ky,useValue:"BrowserAnimations"},...CE],wE=[{provide:Pd,useClass:YD},{provide:Ky,useValue:"NoopAnimations"},...CE];let Xd,Hk=(()=>{class n{static withConfig(t){return{ngModule:n,providers:t.disableAnimations?wE:Zd}}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=Xe({type:n}),n.\u0275inj=$e({providers:Zd,imports:[av]}),n})();try{Xd=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Xd=!1}let yo,ME=(()=>{class n{constructor(t){this._platformId=t,this.isBrowser=this._platformId?function $F(n){return n===L_}(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&&!Xd)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return n.\u0275fac=function(t){return new(t||n)(I(Vs))},n.\u0275prov=j({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function ka(n){return function Uk(){if(null==yo&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>yo=!0}))}finally{yo=yo||!1}return yo}()?n:!!n.capture}function IE(n){return Array.isArray(n)?n:[n]}function TE(n){return n instanceof bt?n.nativeElement:n}function AE(n,e,t){n?rn(t,n,e):e()}function ef(...n){return function e1(){return Tf(1)}()(pr(n,di(n)))}class r1 extends ot{constructor(e,t){super()}schedule(e,t=0){return this}}const Va={setInterval(n,e,...t){const{delegate:r}=Va;return r?.setInterval?r.setInterval(n,e,...t):setInterval(n,e,...t)},clearInterval(n){const{delegate:e}=Va;return(e?.clearInterval||clearInterval)(n)},delegate:void 0},NE={now:()=>(NE.delegate||Date).now(),delegate:void 0};class _o{constructor(e,t=_o.now){this.schedulerActionCtor=e,this.now=t}schedule(e,t=0,r){return new this.schedulerActionCtor(this,e).schedule(r,t)}}_o.now=NE.now;const a1=new class s1 extends _o{constructor(e,t=_o.now){super(e,t),this.actions=[],this._active=!1}flush(e){const{actions:t}=this;if(this._active)return void t.push(e);let r;this._active=!0;do{if(r=e.execute(e.state,e.delay))break}while(e=t.shift());if(this._active=!1,r){for(;e=t.shift();)e.unsubscribe();throw r}}}(class o1 extends r1{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){var r;if(this.closed)return this;this.state=e;const i=this.id,o=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(o,i,t)),this.pending=!0,this.delay=t,this.id=null!==(r=this.id)&&void 0!==r?r:this.requestAsyncId(o,this.id,t),this}requestAsyncId(e,t,r=0){return Va.setInterval(e.flush.bind(e,this),r)}recycleAsyncId(e,t,r=0){if(null!=r&&this.delay===r&&!1===this.pending)return t;null!=t&&Va.clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const r=this._execute(e,t);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let i,r=!1;try{this.work(e)}catch(o){r=!0,i=o||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),i}unsubscribe(){if(!this.closed){const{id:e,scheduler:t}=this,{actions:r}=t;this.work=this.state=this.scheduler=null,this.pending=!1,hr(r,this),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null,super.unsubscribe()}}});function u1(...n){const e=di(n);return st((t,r)=>{(e?ef(n,t,e):ef(n,t)).subscribe(r)})}function c1(n){return st((e,t)=>{At(n).subscribe(yt(t,()=>t.complete(),$a)),!t.closed&&e.subscribe(t)})}const FE=new Set;let ai,d1=(()=>{class n{constructor(t){this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):h1}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&function f1(n){if(!FE.has(n))try{ai||(ai=document.createElement("style"),ai.setAttribute("type","text/css"),document.head.appendChild(ai)),ai.sheet&&(ai.sheet.insertRule(`@media ${n} {body{ }}`,0),FE.add(n))}catch(e){console.error(e)}}(t),this._matchMedia(t)}}return n.\u0275fac=function(t){return new(t||n)(I(ME))},n.\u0275prov=j({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function h1(n){return{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{}}}let p1=(()=>{class n{constructor(t,r){this._mediaMatcher=t,this._zone=r,this._queries=new Map,this._destroySubject=new ci}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return OE(IE(t)).some(i=>this._registerQuery(i).mql.matches)}observe(t){let o=function Xk(...n){const e=di(n),t=Af(n),{args:r,keys:i}=dv(n);if(0===r.length)return pr([],e);const o=new we(function Jk(n,e,t=ui){return r=>{AE(e,()=>{const{length:i}=n,o=new Array(i);let s=i,a=i;for(let l=0;l{const u=pr(n[l],e);let c=!1;u.subscribe(yt(r,d=>{o[l]=d,c||(c=!0,a--),a||r.next(t(o.slice()))},()=>{--s||r.complete()}))},r)},r)}}(r,e,i?s=>hv(i,s):ui));return t?o.pipe(fv(t)):o}(OE(IE(t)).map(s=>this._registerQuery(s).observable));return o=ef(o.pipe(function t1(n){return n<=0?()=>Ja:st((e,t)=>{let r=0;e.subscribe(yt(t,i=>{++r<=n&&(t.next(i),n<=r&&t.complete())}))})}(1)),o.pipe(function n1(n){return vD((e,t)=>n<=t)}(1),function l1(n,e=a1){return st((t,r)=>{let i=null,o=null,s=null;const a=()=>{if(i){i.unsubscribe(),i=null;const u=o;o=null,r.next(u)}};function l(){const u=s+n,c=e.now();if(c{o=u,s=e.now(),i||(i=e.schedule(l,n),r.add(i))},()=>{a(),r.complete()},void 0,()=>{o=i=null}))})}(0))),o.pipe(Ze(s=>{const a={matches:!1,breakpoints:{}};return s.forEach(({matches:l,query:u})=>{a.matches=a.matches||l,a.breakpoints[u]=l}),a}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);const r=this._mediaMatcher.matchMedia(t),o={observable:new we(s=>{const a=l=>this._zone.run(()=>s.next(l));return r.addListener(a),()=>{r.removeListener(a)}}).pipe(u1(r),Ze(({matches:s})=>({query:t,matches:s})),c1(this._destroySubject)),mql:r};return this._queries.set(t,o),o}}return n.\u0275fac=function(t){return new(t||n)(I(d1),I(Ie))},n.\u0275prov=j({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function OE(n){return n.map(e=>e.split(",")).reduce((e,t)=>e.concat(t)).map(e=>e.trim())}const kE="cdk-high-contrast-black-on-white",LE="cdk-high-contrast-white-on-black",tf="cdk-high-contrast-active";let M1=(()=>{class n{constructor(t,r){this._platform=t,this._document=r,this._breakpointSubscription=jt(p1).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const r=this._document.defaultView||window,i=r&&r.getComputedStyle?r.getComputedStyle(t):null,o=(i&&i.backgroundColor||"").replace(/ /g,"");switch(t.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove(tf,kE,LE),this._hasCheckedHighContrastMode=!0;const r=this.getHighContrastMode();1===r?t.add(tf,kE):2===r&&t.add(tf,LE)}}}return n.\u0275fac=function(t){return new(t||n)(I(ME),I(De))},n.\u0275prov=j({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),VE=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=Xe({type:n}),n.\u0275inj=$e({}),n})();const A1=new S("mat-sanity-checks",{providedIn:"root",factory:function T1(){return!0}});let HE=(()=>{class n{constructor(t,r,i){this._sanityChecks=r,this._document=i,this._hasDoneGlobalChecks=!1,t._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(t){return!function zk(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[t])}}return n.\u0275fac=function(t){return new(t||n)(I(M1),I(A1,8),I(De))},n.\u0275mod=Xe({type:n}),n.\u0275inj=$e({imports:[VE,VE]}),n})();class F1{constructor(e,t,r,i=!1){this._renderer=e,this.element=t,this.config=r,this._animationForciblyDisabledThroughCss=i,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const UE=ka({passive:!0,capture:!0});class O1{constructor(){this._events=new Map,this._delegateEventHandler=e=>{const t=function Gk(n){return n.composedPath?n.composedPath()[0]:n.target}(e);t&&this._events.get(e.type)?.forEach((r,i)=>{(i===t||i.contains(t))&&r.forEach(o=>o.handleEvent(e))})}}addHandler(e,t,r,i){const o=this._events.get(t);if(o){const s=o.get(r);s?s.add(i):o.set(r,new Set([i]))}else this._events.set(t,new Map([[r,new Set([i])]])),e.runOutsideAngular(()=>{document.addEventListener(t,this._delegateEventHandler,UE)})}removeHandler(e,t,r){const i=this._events.get(e);if(!i)return;const o=i.get(t);o&&(o.delete(r),0===o.size&&i.delete(t),0===i.size&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,UE)))}}const $E={enterDuration:225,exitDuration:150},GE=ka({passive:!0,capture:!0}),zE=["mousedown","touchstart"],WE=["mouseup","mouseleave","touchend","touchcancel"];class Ba{constructor(e,t,r,i){this._target=e,this._ngZone=t,this._platform=i,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,i.isBrowser&&(this._containerElement=TE(r))}fadeInRipple(e,t,r={}){const i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o={...$E,...r.animation};r.centered&&(e=i.left+i.width/2,t=i.top+i.height/2);const s=r.radius||function x1(n,e,t){const r=Math.max(Math.abs(n-t.left),Math.abs(n-t.right)),i=Math.max(Math.abs(e-t.top),Math.abs(e-t.bottom));return Math.sqrt(r*r+i*i)}(e,t,i),a=e-i.left,l=t-i.top,u=o.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left=a-s+"px",c.style.top=l-s+"px",c.style.height=2*s+"px",c.style.width=2*s+"px",null!=r.color&&(c.style.backgroundColor=r.color),c.style.transitionDuration=`${u}ms`,this._containerElement.appendChild(c);const d=window.getComputedStyle(c),h=d.transitionDuration,p="none"===d.transitionProperty||"0s"===h||"0s, 0s"===h||0===i.width&&0===i.height,g=new F1(this,c,r,p);c.style.transform="scale3d(1, 1, 1)",g.state=0,r.persistent||(this._mostRecentTransientRipple=g);let m=null;return!p&&(u||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const y=()=>this._finishRippleTransition(g),E=()=>this._destroyRipple(g);c.addEventListener("transitionend",y),c.addEventListener("transitioncancel",E),m={onTransitionEnd:y,onTransitionCancel:E}}),this._activeRipples.set(g,m),(p||!u)&&this._finishRippleTransition(g),g}fadeOutRipple(e){if(2===e.state||3===e.state)return;const t=e.element,r={...$E,...e.config.animation};t.style.transitionDuration=`${r.exitDuration}ms`,t.style.opacity="0",e.state=2,(e._animationForciblyDisabledThroughCss||!r.exitDuration)&&this._finishRippleTransition(e)}fadeOutAll(){this._getActiveRipples().forEach(e=>e.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(e=>{e.config.persistent||e.fadeOut()})}setupTriggerEvents(e){const t=TE(e);!this._platform.isBrowser||!t||t===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=t,zE.forEach(r=>{Ba._eventManager.addHandler(this._ngZone,r,t,this)}))}handleEvent(e){"mousedown"===e.type?this._onMousedown(e):"touchstart"===e.type?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{WE.forEach(t=>{this._triggerElement.addEventListener(t,this,GE)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(e){0===e.state?this._startFadeOutTransition(e):2===e.state&&this._destroyRipple(e)}_startFadeOutTransition(e){const t=e===this._mostRecentTransientRipple,{persistent:r}=e.config;e.state=1,!r&&(!t||!this._isPointerDown)&&e.fadeOut()}_destroyRipple(e){const t=this._activeRipples.get(e)??null;this._activeRipples.delete(e),this._activeRipples.size||(this._containerRect=null),e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),e.state=3,null!==t&&(e.element.removeEventListener("transitionend",t.onTransitionEnd),e.element.removeEventListener("transitioncancel",t.onTransitionCancel)),e.element.remove()}_onMousedown(e){const t=function b1(n){return 0===n.buttons||0===n.offsetX&&0===n.offsetY}(e),r=this._lastTouchStartEvent&&Date.now(){!e.config.persistent&&(1===e.state||e.config.terminateOnPointerUp&&0===e.state)&&e.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const e=this._triggerElement;e&&(zE.forEach(t=>Ba._eventManager.removeHandler(t,e,this)),this._pointerUpEventsRegistered&&WE.forEach(t=>e.removeEventListener(t,this,GE)))}}Ba._eventManager=new O1;let U1=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=Xe({type:n}),n.\u0275inj=$e({imports:[HE,HE]}),n})(),$1=(()=>{class n{static#e=this.\u0275fac=function(r){return new(r||n)};static#t=this.\u0275mod=Xe({type:n,bootstrap:[Hx]});static#n=this.\u0275inj=$e({providers:[xD],imports:[av,ex,wx,Hk,U1,Px]})}return n})();VO().bootstrapModule($1).catch(n=>console.error(n))}},ie=>{ie(ie.s=3)}]); \ No newline at end of file +"use strict";(self.webpackChunkuntitled1=self.webpackChunkuntitled1||[]).push([[179],{3:()=>{function ie(n){return"function"==typeof n}function bo(n){const t=n(r=>{Error.call(r),r.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}const Co=bo(n=>function(t){n(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((r,i)=>`${i+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t});function hr(n,e){if(n){const t=n.indexOf(e);0<=t&&n.splice(t,1)}}class ot{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const o of t)o.remove(this);else t.remove(this);const{initialTeardown:r}=this;if(ie(r))try{r()}catch(o){e=o instanceof Co?o.errors:[o]}const{_finalizers:i}=this;if(i){this._finalizers=null;for(const o of i)try{uf(o)}catch(s){e=e??[],s instanceof Co?e=[...e,...s.errors]:e.push(s)}}if(e)throw new Co(e)}}add(e){var t;if(e&&e!==this)if(this.closed)uf(e);else{if(e instanceof ot){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(e)}}_hasParent(e){const{_parentage:t}=this;return t===e||Array.isArray(t)&&t.includes(e)}_addParent(e){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e}_removeParent(e){const{_parentage:t}=this;t===e?this._parentage=null:Array.isArray(t)&&hr(t,e)}remove(e){const{_finalizers:t}=this;t&&hr(t,e),e instanceof ot&&e._removeParent(this)}}ot.EMPTY=(()=>{const n=new ot;return n.closed=!0,n})();const af=ot.EMPTY;function lf(n){return n instanceof ot||n&&"closed"in n&&ie(n.remove)&&ie(n.add)&&ie(n.unsubscribe)}function uf(n){ie(n)?n():n.unsubscribe()}const Hn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},wo={setTimeout(n,e,...t){const{delegate:r}=wo;return r?.setTimeout?r.setTimeout(n,e,...t):setTimeout(n,e,...t)},clearTimeout(n){const{delegate:e}=wo;return(e?.clearTimeout||clearTimeout)(n)},delegate:void 0};function cf(n){wo.setTimeout(()=>{const{onUnhandledError:e}=Hn;if(!e)throw n;e(n)})}function $a(){}const nb=Ga("C",void 0,void 0);function Ga(n,e,t){return{kind:n,value:e,error:t}}let Un=null;function Mo(n){if(Hn.useDeprecatedSynchronousErrorHandling){const e=!Un;if(e&&(Un={errorThrown:!1,error:null}),n(),e){const{errorThrown:t,error:r}=Un;if(Un=null,t)throw r}}else n()}class za extends ot{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,lf(e)&&e.add(this)):this.destination=ub}static create(e,t,r){return new li(e,t,r)}next(e){this.isStopped?qa(function ib(n){return Ga("N",n,void 0)}(e),this):this._next(e)}error(e){this.isStopped?qa(function rb(n){return Ga("E",void 0,n)}(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?qa(nb,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const sb=Function.prototype.bind;function Wa(n,e){return sb.call(n,e)}class ab{constructor(e){this.partialObserver=e}next(e){const{partialObserver:t}=this;if(t.next)try{t.next(e)}catch(r){So(r)}}error(e){const{partialObserver:t}=this;if(t.error)try{t.error(e)}catch(r){So(r)}else So(e)}complete(){const{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(t){So(t)}}}class li extends za{constructor(e,t,r){let i;if(super(),ie(e)||!e)i={next:e??void 0,error:t??void 0,complete:r??void 0};else{let o;this&&Hn.useDeprecatedNextContext?(o=Object.create(e),o.unsubscribe=()=>this.unsubscribe(),i={next:e.next&&Wa(e.next,o),error:e.error&&Wa(e.error,o),complete:e.complete&&Wa(e.complete,o)}):i=e}this.destination=new ab(i)}}function So(n){Hn.useDeprecatedSynchronousErrorHandling?function ob(n){Hn.useDeprecatedSynchronousErrorHandling&&Un&&(Un.errorThrown=!0,Un.error=n)}(n):cf(n)}function qa(n,e){const{onStoppedNotification:t}=Hn;t&&wo.setTimeout(()=>t(n,e))}const ub={closed:!0,next:$a,error:function lb(n){throw n},complete:$a},Ka="function"==typeof Symbol&&Symbol.observable||"@@observable";function ui(n){return n}let we=(()=>{class n{constructor(t){t&&(this._subscribe=t)}lift(t){const r=new n;return r.source=this,r.operator=t,r}subscribe(t,r,i){const o=function db(n){return n&&n instanceof za||function cb(n){return n&&ie(n.next)&&ie(n.error)&&ie(n.complete)}(n)&&lf(n)}(t)?t:new li(t,r,i);return Mo(()=>{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(r){t.error(r)}}forEach(t,r){return new(r=ff(r))((i,o)=>{const s=new li({next:a=>{try{t(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(t){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(t)}[Ka](){return this}pipe(...t){return function df(n){return 0===n.length?ui:1===n.length?n[0]:function(t){return n.reduce((r,i)=>i(r),t)}}(t)(this)}toPromise(t){return new(t=ff(t))((r,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>r(o))})}}return n.create=e=>new n(e),n})();function ff(n){var e;return null!==(e=n??Hn.Promise)&&void 0!==e?e:Promise}const fb=bo(n=>function(){n(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let ci=(()=>{class n extends we{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const r=new hf(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new fb}next(t){Mo(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(t)}})}error(t){Mo(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:r}=this;for(;r.length;)r.shift().error(t)}})}complete(){Mo(()=>{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:r,isStopped:i,observers:o}=this;return r||i?af:(this.currentObservers=null,o.push(t),new ot(()=>{this.currentObservers=null,hr(o,t)}))}_checkFinalizedStatuses(t){const{hasError:r,thrownError:i,isStopped:o}=this;r?t.error(i):o&&t.complete()}asObservable(){const t=new we;return t.source=this,t}}return n.create=(e,t)=>new hf(e,t),n})();class hf extends ci{constructor(e,t){super(),this.destination=e,this.source=t}next(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,e)}error(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,e)}complete(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)}_subscribe(e){var t,r;return null!==(r=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==r?r:af}}function st(n){return e=>{if(function hb(n){return ie(n?.lift)}(e))return e.lift(function(t){try{return n(t,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function yt(n,e,t,r,i){return new pb(n,e,t,r,i)}class pb extends za{constructor(e,t,r,i,o,s){super(e),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(l){e.error(l)}}:super._next,this._error=i?function(a){try{i(a)}catch(l){e.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:t}=this;super.unsubscribe(),!t&&(null===(e=this.onFinalize)||void 0===e||e.call(this))}}}function Ze(n,e){return st((t,r)=>{let i=0;t.subscribe(yt(r,o=>{r.next(n.call(e,o,i++))}))})}function Mn(n){return this instanceof Mn?(this.v=n,this):new Mn(n)}function yf(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,e=n[Symbol.asyncIterator];return e?e.call(n):(n=function Xa(n){var e="function"==typeof Symbol&&Symbol.iterator,t=e&&n[e],r=0;if(t)return t.call(n);if(n&&"number"==typeof n.length)return{next:function(){return n&&r>=n.length&&(n=void 0),{value:n&&n[r++],done:!n}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}(n),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(o){t[o]=n[o]&&function(s){return new Promise(function(a,l){!function i(o,s,a,l){Promise.resolve(l).then(function(u){o({value:u,done:a})},s)}(a,l,(s=n[o](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const _f=n=>n&&"number"==typeof n.length&&"function"!=typeof n;function vf(n){return ie(n?.then)}function Df(n){return ie(n[Ka])}function Ef(n){return Symbol.asyncIterator&&ie(n?.[Symbol.asyncIterator])}function bf(n){return new TypeError(`You provided ${null!==n&&"object"==typeof n?"an invalid object":`'${n}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const Cf=function kb(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function wf(n){return ie(n?.[Cf])}function Mf(n){return function mf(n,e,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,r=t.apply(n,e||[]),o=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(f){r[f]&&(i[f]=function(h){return new Promise(function(p,g){o.push([f,h,p,g])>1||a(f,h)})})}function a(f,h){try{!function l(f){f.value instanceof Mn?Promise.resolve(f.value.v).then(u,c):d(o[0][2],f)}(r[f](h))}catch(p){d(o[0][3],p)}}function u(f){a("next",f)}function c(f){a("throw",f)}function d(f,h){f(h),o.shift(),o.length&&a(o[0][0],o[0][1])}}(this,arguments,function*(){const t=n.getReader();try{for(;;){const{value:r,done:i}=yield Mn(t.read());if(i)return yield Mn(void 0);yield yield Mn(r)}}finally{t.releaseLock()}})}function Sf(n){return ie(n?.getReader)}function At(n){if(n instanceof we)return n;if(null!=n){if(Df(n))return function Lb(n){return new we(e=>{const t=n[Ka]();if(ie(t.subscribe))return t.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(n);if(_f(n))return function Vb(n){return new we(e=>{for(let t=0;t{n.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,cf)})}(n);if(Ef(n))return If(n);if(wf(n))return function jb(n){return new we(e=>{for(const t of n)if(e.next(t),e.closed)return;e.complete()})}(n);if(Sf(n))return function Hb(n){return If(Mf(n))}(n)}throw bf(n)}function If(n){return new we(e=>{(function Ub(n,e){var t,r,i,o;return function pf(n,e,t,r){return new(t||(t=Promise))(function(o,s){function a(c){try{u(r.next(c))}catch(d){s(d)}}function l(c){try{u(r.throw(c))}catch(d){s(d)}}function u(c){c.done?o(c.value):function i(o){return o instanceof t?o:new t(function(s){s(o)})}(c.value).then(a,l)}u((r=r.apply(n,e||[])).next())})}(this,void 0,void 0,function*(){try{for(t=yf(n);!(r=yield t.next()).done;)if(e.next(r.value),e.closed)return}catch(s){i={error:s}}finally{try{r&&!r.done&&(o=t.return)&&(yield o.call(t))}finally{if(i)throw i.error}}e.complete()})})(n,e).catch(t=>e.error(t))})}function rn(n,e,t,r=0,i=!1){const o=e.schedule(function(){t(),i?n.add(this.schedule(null,r)):this.unsubscribe()},r);if(n.add(o),!i)return o}function Io(n,e,t=1/0){return ie(e)?Io((r,i)=>Ze((o,s)=>e(r,o,i,s))(At(n(r,i))),t):("number"==typeof e&&(t=e),st((r,i)=>function $b(n,e,t,r,i,o,s,a){const l=[];let u=0,c=0,d=!1;const f=()=>{d&&!l.length&&!u&&e.complete()},h=g=>u{o&&e.next(g),u++;let m=!1;At(t(g,c++)).subscribe(yt(e,y=>{i?.(y),o?h(y):e.next(y)},()=>{m=!0},void 0,()=>{if(m)try{for(u--;l.length&&up(y)):p(y)}f()}catch(y){e.error(y)}}))};return n.subscribe(yt(e,h,()=>{d=!0,f()})),()=>{a?.()}}(r,i,n,t)))}function Tf(n=1/0){return Io(ui,n)}const Ja=new we(n=>n.complete());function el(n){return n[n.length-1]}function Af(n){return ie(el(n))?n.pop():void 0}function di(n){return function zb(n){return n&&ie(n.schedule)}(el(n))?n.pop():void 0}function Nf(n,e=0){return st((t,r)=>{t.subscribe(yt(r,i=>rn(r,n,()=>r.next(i),e),()=>rn(r,n,()=>r.complete(),e),i=>rn(r,n,()=>r.error(i),e)))})}function Ff(n,e=0){return st((t,r)=>{r.add(n.schedule(()=>t.subscribe(r),e))})}function Of(n,e){if(!n)throw new Error("Iterable cannot be null");return new we(t=>{rn(t,e,()=>{const r=n[Symbol.asyncIterator]();rn(t,e,()=>{r.next().then(i=>{i.done?t.complete():t.next(i.value)})},0,!0)})})}function pr(n,e){return e?function Xb(n,e){if(null!=n){if(Df(n))return function qb(n,e){return At(n).pipe(Ff(e),Nf(e))}(n,e);if(_f(n))return function Qb(n,e){return new we(t=>{let r=0;return e.schedule(function(){r===n.length?t.complete():(t.next(n[r++]),t.closed||this.schedule())})})}(n,e);if(vf(n))return function Kb(n,e){return At(n).pipe(Ff(e),Nf(e))}(n,e);if(Ef(n))return Of(n,e);if(wf(n))return function Yb(n,e){return new we(t=>{let r;return rn(t,e,()=>{r=n[Cf](),rn(t,e,()=>{let i,o;try{({value:i,done:o}=r.next())}catch(s){return void t.error(s)}o?t.complete():t.next(i)},0,!0)}),()=>ie(r?.return)&&r.return()})}(n,e);if(Sf(n))return function Zb(n,e){return Of(Mf(n),e)}(n,e)}throw bf(n)}(n,e):At(n)}function tl(n,e,...t){if(!0===e)return void n();if(!1===e)return;const r=new li({next:()=>{r.unsubscribe(),n()}});return At(e(...t)).subscribe(r)}function re(n){for(let e in n)if(n[e]===re)return e;throw Error("Could not find renamed property on target object.")}function nl(n,e){for(const t in e)e.hasOwnProperty(t)&&!n.hasOwnProperty(t)&&(n[t]=e[t])}function oe(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(oe).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return`${n.overriddenName}`;if(n.name)return`${n.name}`;const e=n.toString();if(null==e)return""+e;const t=e.indexOf("\n");return-1===t?e:e.substring(0,t)}function rl(n,e){return null==n||""===n?null===e?"":e:null==e||""===e?n:n+" "+e}const eC=re({__forward_ref__:re});function se(n){return n.__forward_ref__=se,n.toString=function(){return oe(this())},n}function O(n){return il(n)?n():n}function il(n){return"function"==typeof n&&n.hasOwnProperty(eC)&&n.__forward_ref__===se}function ol(n){return n&&!!n.\u0275providers}class D extends Error{constructor(e,t){super(Ao(e,t)),this.code=e}}function Ao(n,e){return`NG0${Math.abs(n)}${e?": "+e.trim():""}`}function k(n){return"string"==typeof n?n:null==n?"":String(n)}function No(n,e){throw new D(-201,!1)}function _t(n,e){null==n&&function J(n,e,t,r){throw new Error(`ASSERTION ERROR: ${n}`+(null==r?"":` [Expected=> ${t} ${r} ${e} <=Actual]`))}(e,n,null,"!=")}function j(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function $e(n){return{providers:n.providers||[],imports:n.imports||[]}}function Fo(n){return xf(n,Oo)||xf(n,kf)}function xf(n,e){return n.hasOwnProperty(e)?n[e]:null}function Rf(n){return n&&(n.hasOwnProperty(sl)||n.hasOwnProperty(aC))?n[sl]:null}const Oo=re({\u0275prov:re}),sl=re({\u0275inj:re}),kf=re({ngInjectableDef:re}),aC=re({ngInjectorDef:re});var R=(()=>((R=R||{})[R.Default=0]="Default",R[R.Host=1]="Host",R[R.Self=2]="Self",R[R.SkipSelf=4]="SkipSelf",R[R.Optional=8]="Optional",R))();let al;function vt(n){const e=al;return al=n,e}function Lf(n,e,t){const r=Fo(n);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:t&R.Optional?null:void 0!==e?e:void No(oe(n))}const le=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),fi={},ll="__NG_DI_FLAG__",Po="ngTempTokenPath",uC="ngTokenPath",cC=/\n/gm,dC="\u0275",Vf="__source";let hi;function gr(n){const e=hi;return hi=n,e}function fC(n,e=R.Default){if(void 0===hi)throw new D(-203,!1);return null===hi?Lf(n,void 0,e):hi.get(n,e&R.Optional?null:void 0,e)}function I(n,e=R.Default){return(function lC(){return al}()||fC)(O(n),e)}function jt(n,e=R.Default){return I(n,xo(e))}function xo(n){return typeof n>"u"||"number"==typeof n?n:0|(n.optional&&8)|(n.host&&1)|(n.self&&2)|(n.skipSelf&&4)}function ul(n){const e=[];for(let t=0;t((Ht=Ht||{})[Ht.OnPush=0]="OnPush",Ht[Ht.Default=1]="Default",Ht))(),Nt=(()=>{return(n=Nt||(Nt={}))[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom",Nt;var n})();const sn={},Q=[],Ro=re({\u0275cmp:re}),cl=re({\u0275dir:re}),dl=re({\u0275pipe:re}),jf=re({\u0275mod:re}),an=re({\u0275fac:re}),gi=re({__NG_ELEMENT_ID__:re});let mC=0;function ko(n){return on(()=>{const e=Uf(n),t={...e,decls:n.decls,vars:n.vars,template:n.template,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,onPush:n.changeDetection===Ht.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&n.dependencies||null,getStandaloneInjector:null,data:n.data||{},encapsulation:n.encapsulation||Nt.Emulated,id:"c"+mC++,styles:n.styles||Q,_:null,schemas:n.schemas||null,tView:null};$f(t);const r=n.dependencies;return t.directiveDefs=Lo(r,!1),t.pipeDefs=Lo(r,!0),t})}function _C(n){return ee(n)||Pe(n)}function vC(n){return null!==n}function Xe(n){return on(()=>({type:n.type,bootstrap:n.bootstrap||Q,declarations:n.declarations||Q,imports:n.imports||Q,exports:n.exports||Q,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}))}function Hf(n,e){if(null==n)return sn;const t={};for(const r in n)if(n.hasOwnProperty(r)){let i=n[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),t[i]=r,e&&(e[i]=o)}return t}function L(n){return on(()=>{const e=Uf(n);return $f(e),e})}function ee(n){return n[Ro]||null}function Pe(n){return n[cl]||null}function et(n){return n[dl]||null}function Uf(n){const e={};return{type:n.type,providersResolver:null,factory:null,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:e,exportAs:n.exportAs||null,standalone:!0===n.standalone,selectors:n.selectors||Q,viewQuery:n.viewQuery||null,features:n.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Hf(n.inputs,e),outputs:Hf(n.outputs)}}function $f(n){n.features?.forEach(e=>e(n))}function Lo(n,e){if(!n)return null;const t=e?et:_C;return()=>("function"==typeof n?n():n).map(r=>t(r)).filter(vC)}const ln=0,M=1,H=2,pe=3,Ft=4,$n=5,xe=6,mr=7,me=8,Vo=9,Bo=10,$=11,fl=12,yi=13,Gf=14,yr=15,Re=16,_i=17,_r=18,Ut=19,vi=20,zf=21,ue=22,hl=1,Wf=2,jo=7,Ho=8,vr=9,Ge=10;function ut(n){return Array.isArray(n)&&"object"==typeof n[hl]}function Ot(n){return Array.isArray(n)&&!0===n[hl]}function pl(n){return 0!=(4&n.flags)}function Di(n){return n.componentOffset>-1}function Uo(n){return 1==(1&n.flags)}function Pt(n){return!!n.template}function EC(n){return 0!=(256&n[H])}function Gn(n,e){return n.hasOwnProperty(an)?n[an]:null}class wC{constructor(e,t,r){this.previousValue=e,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}}function $t(){return Qf}function Qf(n){return n.type.prototype.ngOnChanges&&(n.setInput=SC),MC}function MC(){const n=Zf(this),e=n?.current;if(e){const t=n.previous;if(t===sn)n.previous=e;else for(let r in e)t[r]=e[r];n.current=null,this.ngOnChanges(e)}}function SC(n,e,t,r){const i=this.declaredInputs[t],o=Zf(n)||function IC(n,e){return n[Yf]=e}(n,{previous:sn,current:null}),s=o.current||(o.current={}),a=o.previous,l=a[i];s[i]=new wC(l&&l.currentValue,e,a===sn),n[r]=e}$t.ngInherit=!0;const Yf="__ngSimpleChanges__";function Zf(n){return n[Yf]||null}const Dt=function(n,e,t){};function Ne(n){for(;Array.isArray(n);)n=n[ln];return n}function $o(n,e){return Ne(e[n])}function ct(n,e){return Ne(e[n.index])}function eh(n,e){return n.data[e]}function tt(n,e){const t=e[n];return ut(t)?t:t[ln]}function Go(n){return 64==(64&n[H])}function In(n,e){return null==e?null:n[e]}function th(n){n[_r]=0}function ml(n,e){n[$n]+=e;let t=n,r=n[pe];for(;null!==r&&(1===e&&1===t[$n]||-1===e&&0===t[$n]);)r[$n]+=e,t=r,r=r[pe]}const V={lFrame:dh(null),bindingsEnabled:!0};function rh(){return V.bindingsEnabled}function v(){return V.lFrame.lView}function W(){return V.lFrame.tView}function zo(n){return V.lFrame.contextLView=n,n[me]}function Wo(n){return V.lFrame.contextLView=null,n}function Fe(){let n=ih();for(;null!==n&&64===n.type;)n=n.parent;return n}function ih(){return V.lFrame.currentTNode}function Gt(n,e){const t=V.lFrame;t.currentTNode=n,t.isParent=e}function yl(){return V.lFrame.isParent}function _l(){V.lFrame.isParent=!1}function ze(){const n=V.lFrame;let e=n.bindingRootIndex;return-1===e&&(e=n.bindingRootIndex=n.tView.bindingStartIndex),e}function Er(){return V.lFrame.bindingIndex++}function jC(n,e){const t=V.lFrame;t.bindingIndex=t.bindingRootIndex=n,vl(e)}function vl(n){V.lFrame.currentDirectiveIndex=n}function lh(){return V.lFrame.currentQueryIndex}function El(n){V.lFrame.currentQueryIndex=n}function UC(n){const e=n[M];return 2===e.type?e.declTNode:1===e.type?n[xe]:null}function uh(n,e,t){if(t&R.SkipSelf){let i=e,o=n;for(;!(i=i.parent,null!==i||t&R.Host||(i=UC(o),null===i||(o=o[yr],10&i.type))););if(null===i)return!1;e=i,n=o}const r=V.lFrame=ch();return r.currentTNode=e,r.lView=n,!0}function bl(n){const e=ch(),t=n[M];V.lFrame=e,e.currentTNode=t.firstChild,e.lView=n,e.tView=t,e.contextLView=n,e.bindingIndex=t.bindingStartIndex,e.inI18n=!1}function ch(){const n=V.lFrame,e=null===n?null:n.child;return null===e?dh(n):e}function dh(n){const e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:n,child:null,inI18n:!1};return null!==n&&(n.child=e),e}function fh(){const n=V.lFrame;return V.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const hh=fh;function Cl(){const n=fh();n.isParent=!0,n.tView=null,n.selectedIndex=-1,n.contextLView=null,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.bindingRootIndex=-1,n.bindingIndex=-1,n.currentQueryIndex=0}function We(){return V.lFrame.selectedIndex}function zn(n){V.lFrame.selectedIndex=n}function qo(n,e){for(let t=e.directiveStart,r=e.directiveEnd;t=r)break}else e[l]<0&&(n[_r]+=65536),(a>11>16&&(3&n[H])===e){n[H]+=2048,Dt(4,a,o);try{o.call(a)}finally{Dt(5,a,o)}}}else{Dt(4,a,o);try{o.call(a)}finally{Dt(5,a,o)}}}const br=-1;class bi{constructor(e,t,r){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=r}}function Sl(n,e,t){let r=0;for(;re){s=o-1;break}}}for(;o>16}(n),r=e;for(;t>0;)r=r[yr],t--;return r}let Il=!0;function Xo(n){const e=Il;return Il=n,e}const vh=255,Dh=5;let nw=0;const zt={};function Jo(n,e){const t=Eh(n,e);if(-1!==t)return t;const r=e[M];r.firstCreatePass&&(n.injectorIndex=e.length,Tl(r.data,n),Tl(e,null),Tl(r.blueprint,null));const i=Al(n,e),o=n.injectorIndex;if(_h(i)){const s=Yo(i),a=Zo(i,e),l=a[M].data;for(let u=0;u<8;u++)e[o+u]=a[s+u]|l[s+u]}return e[o+8]=i,o}function Tl(n,e){n.push(0,0,0,0,0,0,0,0,e)}function Eh(n,e){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===e[n.injectorIndex+8]?-1:n.injectorIndex}function Al(n,e){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;let t=0,r=null,i=e;for(;null!==i;){if(r=Th(i),null===r)return br;if(t++,i=i[yr],-1!==r.injectorIndex)return r.injectorIndex|t<<16}return br}function Nl(n,e,t){!function rw(n,e,t){let r;"string"==typeof t?r=t.charCodeAt(0)||0:t.hasOwnProperty(gi)&&(r=t[gi]),null==r&&(r=t[gi]=nw++);const i=r&vh;e.data[n+(i>>Dh)]|=1<=0?e&vh:aw:e}(t);if("function"==typeof o){if(!uh(e,n,r))return r&R.Host?bh(i,0,r):Ch(e,t,r,i);try{const s=o(r);if(null!=s||r&R.Optional)return s;No()}finally{hh()}}else if("number"==typeof o){let s=null,a=Eh(n,e),l=br,u=r&R.Host?e[Re][xe]:null;for((-1===a||r&R.SkipSelf)&&(l=-1===a?Al(n,e):e[a+8],l!==br&&Ih(r,!1)?(s=e[M],a=Yo(l),e=Zo(l,e)):a=-1);-1!==a;){const c=e[M];if(Sh(o,a,c.data)){const d=ow(a,e,t,s,r,u);if(d!==zt)return d}l=e[a+8],l!==br&&Ih(r,e[M].data[a+8]===u)&&Sh(o,a,e)?(s=c,a=Yo(l),e=Zo(l,e)):a=-1}}return i}function ow(n,e,t,r,i,o){const s=e[M],a=s.data[n+8],c=es(a,s,t,null==r?Di(a)&&Il:r!=s&&0!=(3&a.type),i&R.Host&&o===a);return null!==c?Wn(e,s,c,a):zt}function es(n,e,t,r,i){const o=n.providerIndexes,s=e.data,a=1048575&o,l=n.directiveStart,c=o>>20,f=i?a+c:n.directiveEnd;for(let h=r?a:a+c;h=l&&p.type===t)return h}if(i){const h=s[l];if(h&&Pt(h)&&h.type===t)return l}return null}function Wn(n,e,t,r){let i=n[t];const o=e.data;if(function XC(n){return n instanceof bi}(i)){const s=i;s.resolving&&function tC(n,e){const t=e?`. Dependency path: ${e.join(" > ")} > ${n}`:"";throw new D(-200,`Circular dependency in DI detected for ${n}${t}`)}(function X(n){return"function"==typeof n?n.name||n.toString():"object"==typeof n&&null!=n&&"function"==typeof n.type?n.type.name||n.type.toString():k(n)}(o[t]));const a=Xo(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?vt(s.injectImpl):null;uh(n,r,R.Default);try{i=n[t]=s.factory(void 0,o,n,r),e.firstCreatePass&&t>=r.directiveStart&&function YC(n,e,t){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(r){const s=Qf(e);(t.preOrderHooks??(t.preOrderHooks=[])).push(n,s),(t.preOrderCheckHooks??(t.preOrderCheckHooks=[])).push(n,s)}i&&(t.preOrderHooks??(t.preOrderHooks=[])).push(0-n,i),o&&((t.preOrderHooks??(t.preOrderHooks=[])).push(n,o),(t.preOrderCheckHooks??(t.preOrderCheckHooks=[])).push(n,o))}(t,o[t],e)}finally{null!==l&&vt(l),Xo(a),s.resolving=!1,hh()}}return i}function Sh(n,e,t){return!!(t[e+(n>>Dh)]&1<{const e=Fl(O(n));return e&&e()}:Gn(n)}function Th(n){const e=n[M],t=e.type;return 2===t?e.declTNode:1===t?n[xe]:null}const Mr="__parameters__";function Ir(n,e,t){return on(()=>{const r=function Pl(n){return function(...t){if(n){const r=n(...t);for(const i in r)this[i]=r[i]}}}(e);function i(...o){if(this instanceof i)return r.apply(this,o),this;const s=new i(...o);return a.annotation=s,a;function a(l,u,c){const d=l.hasOwnProperty(Mr)?l[Mr]:Object.defineProperty(l,Mr,{value:[]})[Mr];for(;d.length<=c;)d.push(null);return(d[c]=d[c]||[]).push(s),l}}return t&&(i.prototype=Object.create(t.prototype)),i.prototype.ngMetadataName=n,i.annotationCls=i,i})}class S{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=j({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function qn(n,e){n.forEach(t=>Array.isArray(t)?qn(t,e):e(t))}function Nh(n,e,t){e>=n.length?n.push(t):n.splice(e,0,t)}function ts(n,e){return e>=n.length-1?n.pop():n.splice(e,1)[0]}function Si(n,e){const t=[];for(let r=0;r=0?n[1|r]=t:(r=~r,function fw(n,e,t,r){let i=n.length;if(i==e)n.push(t,r);else if(1===i)n.push(r,n[0]),n[0]=t;else{for(i--,n.push(n[i-1],n[i]);i>e;)n[i]=n[i-2],i--;n[e]=t,n[e+1]=r}}(n,r,e,t)),r}function Rl(n,e){const t=Tr(n,e);if(t>=0)return n[1|t]}function Tr(n,e){return function Fh(n,e,t){let r=0,i=n.length>>t;for(;i!==r;){const o=r+(i-r>>1),s=n[o<e?i=o:r=o+1}return~(i<((nt=nt||{})[nt.Important=1]="Important",nt[nt.DashCase=2]="DashCase",nt))();const Hl=new Map;let xw=0;const $l="__ngContext__";function Le(n,e){ut(e)?(n[$l]=e[vi],function kw(n){Hl.set(n[vi],n)}(e)):n[$l]=e}let Gl;function zl(n,e){return Gl(n,e)}function Fi(n){const e=n[pe];return Ot(e)?e[pe]:e}function Wl(n){return Zh(n[yi])}function ql(n){return Zh(n[Ft])}function Zh(n){for(;null!==n&&!Ot(n);)n=n[Ft];return n}function Nr(n,e,t,r,i){if(null!=r){let o,s=!1;Ot(r)?o=r:ut(r)&&(s=!0,r=r[ln]);const a=Ne(r);0===n&&null!==t?null==i?rp(e,t,a):Qn(e,t,a,i||null,!0):1===n&&null!==t?Qn(e,t,a,i||null,!0):2===n?function eu(n,e,t){const r=os(n,e);r&&function nM(n,e,t,r){n.removeChild(e,t,r)}(n,r,e,t)}(e,a,s):3===n&&e.destroyNode(a),null!=o&&function oM(n,e,t,r,i){const o=t[jo];o!==Ne(t)&&Nr(e,n,r,o,i);for(let a=Ge;a0&&(n[t-1][Ft]=r[Ft]);const o=ts(n,Ge+e);!function Kw(n,e){Oi(n,e,e[$],2,null,null),e[ln]=null,e[xe]=null}(r[M],r);const s=o[Ut];null!==s&&s.detachView(o[M]),r[pe]=null,r[Ft]=null,r[H]&=-65}return r}function ep(n,e){if(!(128&e[H])){const t=e[$];t.destroyNode&&Oi(n,e,t,3,null,null),function Zw(n){let e=n[yi];if(!e)return Zl(n[M],n);for(;e;){let t=null;if(ut(e))t=e[yi];else{const r=e[Ge];r&&(t=r)}if(!t){for(;e&&!e[Ft]&&e!==n;)ut(e)&&Zl(e[M],e),e=e[pe];null===e&&(e=n),ut(e)&&Zl(e[M],e),t=e&&e[Ft]}e=t}}(e)}}function Zl(n,e){if(!(128&e[H])){e[H]&=-65,e[H]|=128,function tM(n,e){let t;if(null!=n&&null!=(t=n.destroyHooks))for(let r=0;r=0?r[i=s]():r[i=-s].unsubscribe(),o+=2}else{const s=r[i=t[o+1]];t[o].call(s)}if(null!==r){for(let o=i+1;o-1){const{encapsulation:o}=n.data[r.directiveStart+i];if(o===Nt.None||o===Nt.Emulated)return null}return ct(r,t)}}(n,e.parent,t)}function Qn(n,e,t,r,i){n.insertBefore(e,t,r,i)}function rp(n,e,t){n.appendChild(e,t)}function ip(n,e,t,r,i){null!==r?Qn(n,e,t,r,i):rp(n,e,t)}function os(n,e){return n.parentNode(e)}function op(n,e,t){return ap(n,e,t)}let Xl,ru,ap=function sp(n,e,t){return 40&n.type?ct(n,t):null};function ss(n,e,t,r){const i=tp(n,r,e),o=e[$],a=op(r.parent||e[xe],r,e);if(null!=i)if(Array.isArray(t))for(let l=0;l{const s=o;lu(s,t,[],r)&&(i||(i=[]),i.push(s))}),void 0!==i&&Fp(i,t),t}function Fp(n,e){for(let t=0;t{e.push(o)})}}function lu(n,e,t,r){if(!(n=O(n)))return!1;let i=null,o=Rf(n);const s=!o&&ee(n);if(o||s){if(s&&!s.standalone)return!1;i=n}else{const l=n.ngModule;if(o=Rf(l),!o)return!1;i=l}const a=r.has(i);if(s){if(a)return!1;if(r.add(i),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const u of l)lu(u,e,t,r)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let u;r.add(i);try{qn(o.imports,c=>{lu(c,e,t,r)&&(u||(u=[]),u.push(c))})}finally{}void 0!==u&&Fp(u,e)}if(!a){const u=Gn(i)||(()=>new i);e.push({provide:i,useFactory:u,deps:Q},{provide:Tp,useValue:i,multi:!0},{provide:Sp,useValue:()=>I(i),multi:!0})}const l=o.providers;null==l||a||uu(l,c=>{e.push(c)})}}return i!==n&&void 0!==n.providers}function uu(n,e){for(let t of n)ol(t)&&(t=t.\u0275providers),Array.isArray(t)?uu(t,e):e(t)}const HM=re({provide:String,useValue:re});function cu(n){return null!==n&&"object"==typeof n&&HM in n}function Zn(n){return"function"==typeof n}const du=new S("Set Injector scope."),fs={},$M={};let fu;function hs(){return void 0===fu&&(fu=new Ap),fu}class Xn{}class xp extends Xn{get destroyed(){return this._destroyed}constructor(e,t,r,i){super(),this.parent=t,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,pu(e,s=>this.processProvider(s)),this.records.set(Ip,Or(void 0,this)),i.has("environment")&&this.records.set(Xn,Or(void 0,this));const o=this.records.get(du);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Tp.multi,Q,R.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const e of this._ngOnDestroyHooks)e.ngOnDestroy();for(const e of this._onDestroyHooks)e()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(e){this._onDestroyHooks.push(e)}runInContext(e){this.assertNotDestroyed();const t=gr(this),r=vt(void 0);try{return e()}finally{gr(t),vt(r)}}get(e,t=fi,r=R.Default){this.assertNotDestroyed(),r=xo(r);const i=gr(this),o=vt(void 0);try{if(!(r&R.SkipSelf)){let a=this.records.get(e);if(void 0===a){const l=function KM(n){return"function"==typeof n||"object"==typeof n&&n instanceof S}(e)&&Fo(e);a=l&&this.injectableDefInScope(l)?Or(hu(e),fs):null,this.records.set(e,a)}if(null!=a)return this.hydrate(e,a)}return(r&R.Self?hs():this.parent).get(e,t=r&R.Optional&&t===fi?null:t)}catch(s){if("NullInjectorError"===s.name){if((s[Po]=s[Po]||[]).unshift(oe(e)),i)throw s;return function pC(n,e,t,r){const i=n[Po];throw e[Vf]&&i.unshift(e[Vf]),n.message=function gC(n,e,t,r=null){n=n&&"\n"===n.charAt(0)&&n.charAt(1)==dC?n.slice(2):n;let i=oe(e);if(Array.isArray(e))i=e.map(oe).join(" -> ");else if("object"==typeof e){let o=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):oe(a)))}i=`{${o.join(", ")}}`}return`${t}${r?"("+r+")":""}[${i}]: ${n.replace(cC,"\n ")}`}("\n"+n.message,i,t,r),n[uC]=i,n[Po]=null,n}(s,e,"R3InjectorError",this.source)}throw s}finally{vt(o),gr(i)}}resolveInjectorInitializers(){const e=gr(this),t=vt(void 0);try{const r=this.get(Sp.multi,Q,R.Self);for(const i of r)i()}finally{gr(e),vt(t)}}toString(){const e=[],t=this.records;for(const r of t.keys())e.push(oe(r));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new D(205,!1)}processProvider(e){let t=Zn(e=O(e))?e:O(e&&e.provide);const r=function zM(n){return cu(n)?Or(void 0,n.useValue):Or(Rp(n),fs)}(e);if(Zn(e)||!0!==e.multi)this.records.get(t);else{let i=this.records.get(t);i||(i=Or(void 0,fs,!0),i.factory=()=>ul(i.multi),this.records.set(t,i)),t=e,i.multi.push(e)}this.records.set(t,r)}hydrate(e,t){return t.value===fs&&(t.value=$M,t.value=t.factory()),"object"==typeof t.value&&t.value&&function qM(n){return null!==n&&"object"==typeof n&&"function"==typeof n.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}injectableDefInScope(e){if(!e.providedIn)return!1;const t=O(e.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}}function hu(n){const e=Fo(n),t=null!==e?e.factory:Gn(n);if(null!==t)return t;if(n instanceof S)throw new D(204,!1);if(n instanceof Function)return function GM(n){const e=n.length;if(e>0)throw Si(e,"?"),new D(204,!1);const t=function sC(n){return n&&(n[Oo]||n[kf])||null}(n);return null!==t?()=>t.factory(n):()=>new n}(n);throw new D(204,!1)}function Rp(n,e,t){let r;if(Zn(n)){const i=O(n);return Gn(i)||hu(i)}if(cu(n))r=()=>O(n.useValue);else if(function Pp(n){return!(!n||!n.useFactory)}(n))r=()=>n.useFactory(...ul(n.deps||[]));else if(function Op(n){return!(!n||!n.useExisting)}(n))r=()=>I(O(n.useExisting));else{const i=O(n&&(n.useClass||n.provide));if(!function WM(n){return!!n.deps}(n))return Gn(i)||hu(i);r=()=>new i(...ul(n.deps))}return r}function Or(n,e,t=!1){return{factory:n,value:e,multi:t?[]:void 0}}function pu(n,e){for(const t of n)Array.isArray(t)?pu(t,e):t&&ol(t)?pu(t.\u0275providers,e):e(t)}class QM{}class kp{}class ZM{resolveComponentFactory(e){throw function YM(n){const e=Error(`No component factory found for ${oe(n)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=n,e}(e)}}let ps=(()=>{class n{}return n.NULL=new ZM,n})();function XM(){return Pr(Fe(),v())}function Pr(n,e){return new bt(ct(n,e))}let bt=(()=>{class n{constructor(t){this.nativeElement=t}}return n.__NG_ELEMENT_ID__=XM,n})();function JM(n){return n instanceof bt?n.nativeElement:n}class Ri{}let Jn=(()=>{class n{}return n.__NG_ELEMENT_ID__=()=>function eS(){const n=v(),t=tt(Fe().index,n);return(ut(t)?t:n)[$]}(),n})(),tS=(()=>{class n{}return n.\u0275prov=j({token:n,providedIn:"root",factory:()=>null}),n})();class xr{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const nS=new xr("15.2.10"),gu={},mu="ngOriginalError";function yu(n){return n[mu]}class Tn{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e);this._console.error("ERROR",e),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(e){let t=e&&yu(e);for(;t&&yu(t);)t=yu(t);return t||null}}function Bp(n,e,t){let r=n.length;for(;;){const i=n.indexOf(e,t);if(-1===i)return i;if(0===i||n.charCodeAt(i-1)<=32){const o=e.length;if(i+o===r||n.charCodeAt(i+o)<=32)return i}t=i+1}}const jp="ng-template";function hS(n,e,t){let r=0,i=!0;for(;ro?"":i[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==Bp(h,u,0)||2&r&&u!==f){if(xt(r))return!1;s=!0}}}}else{if(!s&&!xt(r)&&!xt(l))return!1;if(s&&xt(l))continue;s=!1,r=l|1&r}}return xt(r)||s}function xt(n){return 0==(1&n)}function mS(n,e,t,r){if(null===e)return-1;let i=0;if(r||!t){let o=!1;for(;i-1)for(t++;t0?'="'+a+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""!==i&&!xt(s)&&(e+=$p(o,i),i=""),r=s,o=o||!xt(r);t++}return""!==i&&(e+=$p(o,i)),e}const B={};function An(n){Gp(W(),v(),We()+n,!1)}function Gp(n,e,t,r){if(!r)if(3==(3&e[H])){const o=n.preOrderCheckHooks;null!==o&&Ko(e,o,t)}else{const o=n.preOrderHooks;null!==o&&Qo(e,o,0,t)}zn(t)}function Kp(n,e=null,t=null,r){const i=Qp(n,e,t,r);return i.resolveInjectorInitializers(),i}function Qp(n,e=null,t=null,r,i=new Set){const o=[t||Q,jM(n)];return r=r||("object"==typeof n?void 0:oe(n)),new xp(o,e||hs(),r||null,i)}let hn=(()=>{class n{static create(t,r){if(Array.isArray(t))return Kp({name:""},r,t,"");{const i=t.name??"";return Kp({name:i},t.parent,t.providers,i)}}}return n.THROW_IF_NOT_FOUND=fi,n.NULL=new Ap,n.\u0275prov=j({token:n,providedIn:"any",factory:()=>I(Ip)}),n.__NG_ELEMENT_ID__=-1,n})();function b(n,e=R.Default){const t=v();return null===t?I(n,e):wh(Fe(),t,O(n),e)}function ng(n,e){const t=n.contentQueries;if(null!==t)for(let r=0;rue&&Gp(n,e,ue,!1),Dt(s?2:0,i),t(r,i)}finally{zn(o),Dt(s?3:1,i)}}function wu(n,e,t){if(pl(e)){const i=e.directiveEnd;for(let o=e.directiveStart;o0;){const t=n[--e];if("number"==typeof t&&t<0)return t}return 0})(s)!=a&&s.push(a),s.push(t,r,o)}}(n,e,r,ki(n,t,i.hostVars,B),i)}function uI(n,e,t,r,i,o){const s=o[e];if(null!==s){const a=r.setInput;for(let l=0;l0&&Fu(t)}}function Fu(n){for(let r=Wl(n);null!==r;r=ql(r))for(let i=Ge;i0&&Fu(o)}const t=n[M].components;if(null!==t)for(let r=0;r0&&Fu(i)}}function pI(n,e){const t=tt(e,n),r=t[M];(function gI(n,e){for(let t=e.length;t-1&&(Yl(e,r),ts(t,r))}this._attachedToViewContainer=!1}ep(this._lView[M],this._lView)}onDestroy(e){og(this._lView[M],this._lView,null,e)}markForCheck(){vs(this._cdRefInjectingView||this._lView)}detach(){this._lView[H]&=-65}reattach(){this._lView[H]|=64}detectChanges(){Ds(this._lView[M],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new D(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Yw(n,e){Oi(n,e,e[$],2,null,null)}(this._lView[M],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new D(902,!1);this._appRef=e}}class mI extends Li{constructor(e){super(e),this._view=e}detectChanges(){const e=this._view;Ds(e[M],e,e[me],!1)}checkNoChanges(){}get context(){return null}}class gg extends ps{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const t=ee(e);return new Vi(t,this.ngModule)}}function mg(n){const e=[];for(let t in n)n.hasOwnProperty(t)&&e.push({propName:n[t],templateName:t});return e}class _I{constructor(e,t){this.injector=e,this.parentInjector=t}get(e,t,r){r=xo(r);const i=this.injector.get(e,gu,r);return i!==gu||t===gu?i:this.parentInjector.get(e,t,r)}}class Vi extends kp{get inputs(){return mg(this.componentDef.inputs)}get outputs(){return mg(this.componentDef.outputs)}constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=function bS(n){return n.map(ES).join(",")}(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}create(e,t,r,i){let o=(i=i||this.ngModule)instanceof Xn?i:i?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const s=o?new _I(e,o):e,a=s.get(Ri,null);if(null===a)throw new D(407,!1);const l=s.get(tS,null),u=a.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",d=r?function qS(n,e,t){return n.selectRootElement(e,t===Nt.ShadowDom)}(u,r,this.componentDef.encapsulation):Ql(u,c,function yI(n){const e=n.toLowerCase();return"svg"===e?"svg":"math"===e?"math":null}(c)),f=this.componentDef.onPush?288:272,h=Iu(0,null,null,1,0,null,null,null,null,null),p=ms(null,h,null,f,null,null,a,u,l,s,null);let g,m;bl(p);try{const y=this.componentDef;let E,_=null;y.findHostDirectiveDefs?(E=[],_=new Map,y.findHostDirectiveDefs(y,E,_),E.push(y)):E=[y];const C=function DI(n,e){const t=n[M],r=ue;return n[r]=e,Lr(t,r,2,"#host",null)}(p,d),G=function EI(n,e,t,r,i,o,s,a){const l=i[M];!function bI(n,e,t,r){for(const i of n)e.mergedAttrs=Ci(e.mergedAttrs,i.hostAttrs);null!==e.mergedAttrs&&(Es(e,e.mergedAttrs,!0),null!==t&&fp(r,t,e))}(r,n,e,s);const u=o.createRenderer(e,t),c=ms(i,ig(t),null,t.onPush?32:16,i[n.index],n,o,u,a||null,null,null);return l.firstCreatePass&&Au(l,n,r.length-1),_s(i,c),i[n.index]=c}(C,d,y,E,p,a,u);m=eh(h,ue),d&&function wI(n,e,t,r){if(r)Sl(n,t,["ng-version",nS.full]);else{const{attrs:i,classes:o}=function CS(n){const e=[],t=[];let r=1,i=2;for(;r0&&dp(n,t,o.join(" "))}}(u,y,d,r),void 0!==t&&function MI(n,e,t){const r=n.projection=[];for(let i=0;i=0;r--){const i=n[r];i.hostVars=e+=i.hostVars,i.hostAttrs=Ci(i.hostAttrs,t=Ci(t,i.hostAttrs))}}(r)}function xu(n){return n===sn?{}:n===Q?[]:n}function TI(n,e){const t=n.viewQuery;n.viewQuery=t?(r,i)=>{e(r,i),t(r,i)}:e}function AI(n,e){const t=n.contentQueries;n.contentQueries=t?(r,i,o)=>{e(r,i,o),t(r,i,o)}:e}function NI(n,e){const t=n.hostBindings;n.hostBindings=t?(r,i)=>{e(r,i),t(r,i)}:e}function Cs(n){return!!function Ru(n){return null!==n&&("function"==typeof n||"object"==typeof n)}(n)&&(Array.isArray(n)||!(n instanceof Map)&&Symbol.iterator in n)}function Kt(n,e,t){return n[e]=t}function Ve(n,e,t){return!Object.is(n[e],t)&&(n[e]=t,!0)}function ji(n,e,t,r,i,o,s,a){const l=v(),u=W(),c=n+ue,d=u.firstCreatePass?function jI(n,e,t,r,i,o,s,a,l){const u=e.consts,c=Lr(e,n,4,s||null,In(u,a));Tu(e,t,c,In(u,l)),qo(e,c);const d=c.tView=Iu(2,c,r,i,o,e.directiveRegistry,e.pipeRegistry,null,e.schemas,u);return null!==e.queries&&(e.queries.template(e,c),d.queries=e.queries.embeddedTView(c)),c}(c,u,l,e,t,r,i,o,s):u.data[c];Gt(d,!1);const f=l[$].createComment("");ss(u,l,f,d),Le(f,l),_s(l,l[c]=cg(f,l,f,d)),Uo(d)&&Mu(u,l,d),null!=s&&Su(l,d,a)}function Nn(n,e,t){const r=v();return Ve(r,Er(),e)&&function ht(n,e,t,r,i,o,s,a){const l=ct(e,t);let c,u=e.inputs;!a&&null!=u&&(c=u[r])?(Pu(n,t,c,r,i),Di(e)&&function ZS(n,e){const t=tt(e,n);16&t[H]||(t[H]|=32)}(t,e.index)):3&e.type&&(r=function YS(n){return"class"===n?"className":"for"===n?"htmlFor":"formaction"===n?"formAction":"innerHtml"===n?"innerHTML":"readonly"===n?"readOnly":"tabindex"===n?"tabIndex":n}(r),i=null!=s?s(i,e.value||"",r):i,o.setProperty(l,r,i))}(W(),function de(){const n=V.lFrame;return eh(n.tView,n.selectedIndex)}(),r,n,e,r[$],t,!1),Nn}function ku(n,e,t,r,i){const s=i?"class":"style";Pu(n,t,e.inputs[s],s,r)}function Oe(n,e,t,r){const i=v(),o=W(),s=ue+n,a=i[$],l=o.firstCreatePass?function $I(n,e,t,r,i,o){const s=e.consts,l=Lr(e,n,2,r,In(s,i));return Tu(e,t,l,In(s,o)),null!==l.attrs&&Es(l,l.attrs,!1),null!==l.mergedAttrs&&Es(l,l.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,l),l}(s,o,i,e,t,r):o.data[s],u=i[s]=Ql(a,e,function QC(){return V.lFrame.currentNamespace}()),c=Uo(l);return Gt(l,!0),fp(a,u,l),32!=(32&l.flags)&&ss(o,i,u,l),0===function PC(){return V.lFrame.elementDepthCount}()&&Le(u,i),function xC(){V.lFrame.elementDepthCount++}(),c&&(Mu(o,i,l),wu(o,l,i)),null!==r&&Su(i,l),Oe}function Be(){let n=Fe();yl()?_l():(n=n.parent,Gt(n,!1));const e=n;!function RC(){V.lFrame.elementDepthCount--}();const t=W();return t.firstCreatePass&&(qo(t,n),pl(n)&&t.queries.elementEnd(n)),null!=e.classesWithoutHost&&function JC(n){return 0!=(8&n.flags)}(e)&&ku(t,e,v(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function ew(n){return 0!=(16&n.flags)}(e)&&ku(t,e,v(),e.stylesWithoutHost,!1),Be}function Ms(n,e,t,r){return Oe(n,e,t,r),Be(),Ms}function Bu(){return v()}function Ss(n){return!!n&&"function"==typeof n.then}const Og=function Fg(n){return!!n&&"function"==typeof n.subscribe};function qe(n,e,t,r){const i=v(),o=W(),s=Fe();return function xg(n,e,t,r,i,o,s){const a=Uo(r),u=n.firstCreatePass&&fg(n),c=e[me],d=dg(e);let f=!0;if(3&r.type||s){const g=ct(r,e),m=s?s(g):g,y=d.length,E=s?C=>s(Ne(C[r.index])):r.index;let _=null;if(!s&&a&&(_=function zI(n,e,t,r){const i=n.cleanup;if(null!=i)for(let o=0;ol?a[l]:null}"string"==typeof s&&(o+=2)}return null}(n,e,i,r.index)),null!==_)(_.__ngLastListenerFn__||_).__ngNextListenerFn__=o,_.__ngLastListenerFn__=o,f=!1;else{o=kg(r,e,c,o,!1);const C=t.listen(m,i,o);d.push(o,C),u&&u.push(i,E,y,y+1)}}else o=kg(r,e,c,o,!1);const h=r.outputs;let p;if(f&&null!==h&&(p=h[i])){const g=p.length;if(g)for(let m=0;m-1?tt(n.index,e):e);let l=Rg(e,t,r,s),u=o.__ngNextListenerFn__;for(;u;)l=Rg(e,t,u,s)&&l,u=u.__ngNextListenerFn__;return i&&!1===l&&(s.preventDefault(),s.returnValue=!1),l}}function qr(n=1){return function $C(n){return(V.lFrame.contextLView=function GC(n,e){for(;n>0;)e=e[yr],n--;return e}(n,V.lFrame.contextLView))[me]}(n)}function WI(n,e){let t=null;const r=function yS(n){const e=n.attrs;if(null!=e){const t=e.indexOf(5);if(!(1&t))return e[t+1]}return null}(n);for(let i=0;i>17&32767}function Hu(n){return 2|n}function tr(n){return(131068&n)>>2}function Uu(n,e){return-131069&n|e<<2}function $u(n){return 1|n}function Kg(n,e,t,r,i){const o=n[t+1],s=null===e;let a=r?Fn(o):tr(o),l=!1;for(;0!==a&&(!1===l||s);){const c=n[a+1];XI(n[a],e)&&(l=!0,n[a+1]=r?$u(c):Hu(c)),a=r?Fn(c):tr(c)}l&&(n[t+1]=r?Hu(o):$u(o))}function XI(n,e){return null===n||null==e||(Array.isArray(n)?n[1]:n)===e||!(!Array.isArray(n)||"string"!=typeof e)&&Tr(n,e)>=0}function Ts(n,e,t){return Rt(n,e,t,!1),Ts}function Hi(n,e){return Rt(n,e,null,!0),Hi}function Rt(n,e,t,r){const i=v(),o=W(),s=function cn(n){const e=V.lFrame,t=e.bindingIndex;return e.bindingIndex=e.bindingIndex+n,t}(2);o.firstUpdatePass&&function nm(n,e,t,r){const i=n.data;if(null===i[t+1]){const o=i[We()],s=function tm(n,e){return e>=n.expandoStartIndex}(n,t);(function sm(n,e){return 0!=(n.flags&(e?8:16))})(o,r)&&null===e&&!s&&(e=!1),e=function l0(n,e,t,r){const i=function Dl(n){const e=V.lFrame.currentDirectiveIndex;return-1===e?null:n[e]}(n);let o=r?e.residualClasses:e.residualStyles;if(null===i)0===(r?e.classBindings:e.styleBindings)&&(t=Ui(t=Gu(null,n,e,t,r),e.attrs,r),o=null);else{const s=e.directiveStylingLast;if(-1===s||n[s]!==i)if(t=Gu(i,n,e,t,r),null===o){let l=function u0(n,e,t){const r=t?e.classBindings:e.styleBindings;if(0!==tr(r))return n[Fn(r)]}(n,e,r);void 0!==l&&Array.isArray(l)&&(l=Gu(null,n,e,l[1],r),l=Ui(l,e.attrs,r),function c0(n,e,t,r){n[Fn(t?e.classBindings:e.styleBindings)]=r}(n,e,r,l))}else o=function d0(n,e,t){let r;const i=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0)&&(u=!0)):c=t,i)if(0!==l){const f=Fn(n[a+1]);n[r+1]=Is(f,a),0!==f&&(n[f+1]=Uu(n[f+1],r)),n[a+1]=function KI(n,e){return 131071&n|e<<17}(n[a+1],r)}else n[r+1]=Is(a,0),0!==a&&(n[a+1]=Uu(n[a+1],r)),a=r;else n[r+1]=Is(l,0),0===a?a=r:n[l+1]=Uu(n[l+1],r),l=r;u&&(n[r+1]=Hu(n[r+1])),Kg(n,c,r,!0),Kg(n,c,r,!1),function ZI(n,e,t,r,i){const o=i?n.residualClasses:n.residualStyles;null!=o&&"string"==typeof e&&Tr(o,e)>=0&&(t[r+1]=$u(t[r+1]))}(e,c,n,r,o),s=Is(a,l),o?e.classBindings=s:e.styleBindings=s}(i,o,e,t,s,r)}}(o,n,s,r),e!==B&&Ve(i,s,e)&&function im(n,e,t,r,i,o,s,a){if(!(3&e.type))return;const l=n.data,u=l[a+1],c=function QI(n){return 1==(1&n)}(u)?om(l,e,t,i,tr(u),s):void 0;As(c)||(As(o)||function qI(n){return 2==(2&n)}(u)&&(o=om(l,null,t,i,a,s)),function sM(n,e,t,r,i){if(e)i?n.addClass(t,r):n.removeClass(t,r);else{let o=-1===r.indexOf("-")?void 0:nt.DashCase;null==i?n.removeStyle(t,r,o):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=nt.Important),n.setStyle(t,r,i,o))}}(r,s,$o(We(),t),i,o))}(o,o.data[We()],i,i[$],n,i[s+1]=function g0(n,e){return null==n||""===n||("string"==typeof e?n+=e:"object"==typeof n&&(n=oe(function ft(n){return n instanceof Yn?n.changingThisBreaksApplicationSecurity:n}(n)))),n}(e,t),r,s)}function Gu(n,e,t,r,i){let o=null;const s=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a0;){const l=n[i],u=Array.isArray(l),c=u?l[1]:l,d=null===c;let f=t[i+1];f===B&&(f=d?Q:void 0);let h=d?Rl(f,r):c===r?f:void 0;if(u&&!As(h)&&(h=Rl(l,r)),As(h)&&(a=h,s))return a;const p=n[i+1];i=s?Fn(p):tr(p)}if(null!==e){let l=o?e.residualClasses:e.residualStyles;null!=l&&(a=Rl(l,r))}return a}function As(n){return void 0!==n}function Zt(n,e=""){const t=v(),r=W(),i=n+ue,o=r.firstCreatePass?Lr(r,i,1,e,null):r.data[i],s=t[i]=function Kl(n,e){return n.createText(e)}(t[$],e);ss(r,t,s,o),Gt(o,!1)}function $i(n,e,t){const r=v(),i=function Br(n,e,t,r){return Ve(n,Er(),t)?e+k(t)+r:B}(r,n,e,t);return i!==B&&function pn(n,e,t){const r=$o(e,n);!function Xh(n,e,t){n.setValue(e,t)}(n[$],r,t)}(r,We(),i),$i}const Yr="en-US";let Am=Yr;function qu(n,e,t,r,i){if(n=O(n),Array.isArray(n))for(let o=0;o>20;if(Zn(n)||!n.multi){const h=new bi(l,i,b),p=Qu(a,e,i?c:c+f,d);-1===p?(Nl(Jo(u,s),o,a),Ku(o,n,e.length),e.push(a),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),t.push(h),s.push(h)):(t[p]=h,s[p]=h)}else{const h=Qu(a,e,c+f,d),p=Qu(a,e,c,c+f),m=p>=0&&t[p];if(i&&!m||!i&&!(h>=0&&t[h])){Nl(Jo(u,s),o,a);const y=function PT(n,e,t,r,i){const o=new bi(n,t,b);return o.multi=[],o.index=e,o.componentProviders=0,ey(o,i,r&&!t),o}(i?OT:FT,t.length,i,r,l);!i&&m&&(t[p].providerFactory=y),Ku(o,n,e.length,0),e.push(a),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=1048576),t.push(y),s.push(y)}else Ku(o,n,h>-1?h:p,ey(t[i?p:h],l,!i&&r));!i&&r&&m&&t[p].componentProviders++}}}function Ku(n,e,t,r){const i=Zn(e),o=function UM(n){return!!n.useClass}(e);if(i||o){const l=(o?O(e.useClass):e).prototype.ngOnDestroy;if(l){const u=n.destroyHooks||(n.destroyHooks=[]);if(!i&&e.multi){const c=u.indexOf(t);-1===c?u.push(t,[r,l]):u[c+1].push(r,l)}else u.push(t,l)}}}function ey(n,e,t){return t&&n.componentProviders++,n.multi.push(e)-1}function Qu(n,e,t,r){for(let i=t;i{t.providersResolver=(r,i)=>function NT(n,e,t){const r=W();if(r.firstCreatePass){const i=Pt(n);qu(t,r.data,r.blueprint,i,!0),qu(e,r.data,r.blueprint,i,!1)}}(r,i?i(n):n,e)}}class Zr{}class xT{}class ty extends Zr{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new gg(this);const r=function lt(n,e){const t=n[jf]||null;if(!t&&!0===e)throw new Error(`Type ${oe(n)} does not have '\u0275mod' property.`);return t}(e);this._bootstrapComponents=function fn(n){return n instanceof Function?n():n}(r.bootstrap),this._r3Injector=Qp(e,t,[{provide:Zr,useValue:this},{provide:ps,useValue:this.componentFactoryResolver}],oe(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class Zu extends xT{constructor(e){super(),this.moduleType=e}create(e){return new ty(this.moduleType,e)}}function cy(n,e,t,r){return function dy(n,e,t,r,i,o){const s=e+t;return Ve(n,s,i)?Kt(n,s+1,o?r.call(o,i):r(i)):function Qi(n,e){const t=n[e];return t===B?void 0:t}(n,s+1)}(v(),ze(),n,e,t,r)}function Ju(n){return e=>{setTimeout(n,void 0,e)}}const ne=class lA extends ci{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,r){let i=e,o=t||(()=>null),s=r;if(e&&"object"==typeof e){const l=e;i=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=Ju(o),i&&(i=Ju(i)),s&&(s=Ju(s)));const a=super.subscribe({next:i,error:o,complete:s});return e instanceof ot&&e.add(a),a}};function uA(){return this._results[Symbol.iterator]()}class ec{get changes(){return this._changes||(this._changes=new ne)}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const t=ec.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=uA)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,t){const r=this;r.dirty=!1;const i=function Et(n){return n.flat(Number.POSITIVE_INFINITY)}(e);(this._changesDetected=!function cw(n,e,t){if(n.length!==e.length)return!1;for(let r=0;r{class n{}return n.__NG_ELEMENT_ID__=fA,n})();const cA=mn,dA=class extends cA{constructor(e,t,r){super(),this._declarationLView=e,this._declarationTContainer=t,this.elementRef=r}createEmbeddedView(e,t){const r=this._declarationTContainer.tView,i=ms(this._declarationLView,r,e,16,null,r.declTNode,null,null,null,null,t||null);i[_i]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[Ut];return null!==s&&(i[Ut]=s.createEmbeddedView(r)),Cu(r,i,e),new Li(i)}};function fA(){return xs(Fe(),v())}function xs(n,e){return 4&n.type?new dA(e,n,Pr(n,e)):null}let Xt=(()=>{class n{}return n.__NG_ELEMENT_ID__=hA,n})();function hA(){return _y(Fe(),v())}const pA=Xt,my=class extends pA{constructor(e,t,r){super(),this._lContainer=e,this._hostTNode=t,this._hostLView=r}get element(){return Pr(this._hostTNode,this._hostLView)}get injector(){return new Cr(this._hostTNode,this._hostLView)}get parentInjector(){const e=Al(this._hostTNode,this._hostLView);if(_h(e)){const t=Zo(e,this._hostLView),r=Yo(e);return new Cr(t[M].data[r+8],t)}return new Cr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const t=yy(this._lContainer);return null!==t&&t[e]||null}get length(){return this._lContainer.length-Ge}createEmbeddedView(e,t,r){let i,o;"number"==typeof r?i=r:null!=r&&(i=r.index,o=r.injector);const s=e.createEmbeddedView(t||{},o);return this.insert(s,i),s}createComponent(e,t,r,i,o){const s=e&&!function Mi(n){return"function"==typeof n}(e);let a;if(s)a=t;else{const d=t||{};a=d.index,r=d.injector,i=d.projectableNodes,o=d.environmentInjector||d.ngModuleRef}const l=s?e:new Vi(ee(e)),u=r||this.parentInjector;if(!o&&null==l.ngModule){const f=(s?u:this.parentInjector).get(Xn,null);f&&(o=f)}const c=l.create(u,i,void 0,o);return this.insert(c.hostView,a),c}insert(e,t){const r=e._lView,i=r[M];if(function OC(n){return Ot(n[pe])}(r)){const c=this.indexOf(e);if(-1!==c)this.detach(c);else{const d=r[pe],f=new my(d,d[xe],d[pe]);f.detach(f.indexOf(e))}}const o=this._adjustIndex(t),s=this._lContainer;!function Xw(n,e,t,r){const i=Ge+r,o=t.length;r>0&&(t[i-1][Ft]=e),r0)r.push(s[a/2]);else{const u=o[a+1],c=e[-l];for(let d=Ge;d{class n{constructor(t){this.appInits=t,this.resolve=ks,this.reject=ks,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i})}runInitializers(){if(this.initialized)return;const t=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i{o.subscribe({complete:a,error:l})});t.push(s)}}Promise.all(t).then(()=>{r()}).catch(i=>{this.reject(i)}),0===t.length&&r(),this.initialized=!0}}return n.\u0275fac=function(t){return new(t||n)(I(zy,8))},n.\u0275prov=j({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();const Xi=new S("AppId",{providedIn:"root",factory:function Wy(){return`${dc()}${dc()}${dc()}`}});function dc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const qy=new S("Platform Initializer"),Vs=new S("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Ky=new S("AnimationModuleType"),Jt=new S("LocaleId",{providedIn:"root",factory:()=>jt(Jt,R.Optional|R.SkipSelf)||function UA(){return typeof $localize<"u"&&$localize.locale||Yr}()}),qA=(()=>Promise.resolve(0))();function fc(n){typeof Zone>"u"?qA.then(()=>{n&&n.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",n)}class Ie{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ne(!1),this.onMicrotaskEmpty=new ne(!1),this.onStable=new ne(!1),this.onError=new ne(!1),typeof Zone>"u")throw new D(908,!1);Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&t,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function KA(){let n=le.requestAnimationFrame,e=le.cancelAnimationFrame;if(typeof Zone<"u"&&n&&e){const t=n[Zone.__symbol__("OriginalDelegate")];t&&(n=t);const r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function ZA(n){const e=()=>{!function YA(n){n.isCheckStableRunning||-1!==n.lastRequestAnimationFrameId||(n.lastRequestAnimationFrameId=n.nativeRequestAnimationFrame.call(le,()=>{n.fakeTopEventTask||(n.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{n.lastRequestAnimationFrameId=-1,pc(n),n.isCheckStableRunning=!0,hc(n),n.isCheckStableRunning=!1},void 0,()=>{},()=>{})),n.fakeTopEventTask.invoke()}),pc(n))}(n)};n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,r,i,o,s,a)=>{try{return Zy(n),t.invokeTask(i,o,s,a)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||n.shouldCoalesceRunChangeDetection)&&e(),Xy(n)}},onInvoke:(t,r,i,o,s,a,l)=>{try{return Zy(n),t.invoke(i,o,s,a,l)}finally{n.shouldCoalesceRunChangeDetection&&e(),Xy(n)}},onHasTask:(t,r,i,o)=>{t.hasTask(i,o),r===i&&("microTask"==o.change?(n._hasPendingMicrotasks=o.microTask,pc(n),hc(n)):"macroTask"==o.change&&(n.hasPendingMacrotasks=o.macroTask))},onHandleError:(t,r,i,o)=>(t.handleError(i,o),n.runOutsideAngular(()=>n.onError.emit(o)),!1)})}(i)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ie.isInAngularZone())throw new D(909,!1)}static assertNotInAngularZone(){if(Ie.isInAngularZone())throw new D(909,!1)}run(e,t,r){return this._inner.run(e,t,r)}runTask(e,t,r,i){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,e,QA,ks,ks);try{return o.runTask(s,t,r)}finally{o.cancelTask(s)}}runGuarded(e,t,r){return this._inner.runGuarded(e,t,r)}runOutsideAngular(e){return this._outer.run(e)}}const QA={};function hc(n){if(0==n._nesting&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(()=>n.onStable.emit(null))}finally{n.isStable=!0}}}function pc(n){n.hasPendingMicrotasks=!!(n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&-1!==n.lastRequestAnimationFrameId)}function Zy(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function Xy(n){n._nesting--,hc(n)}class XA{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ne,this.onMicrotaskEmpty=new ne,this.onStable=new ne,this.onError=new ne}run(e,t,r){return e.apply(t,r)}runGuarded(e,t,r){return e.apply(t,r)}runOutsideAngular(e){return e()}runTask(e,t,r,i){return e.apply(t,r)}}const Jy=new S(""),Bs=new S("");let yc,gc=(()=>{class n{constructor(t,r,i){this._ngZone=t,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,yc||(function JA(n){yc=n}(i),i.addToWindow(r)),this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Ie.assertNotInAngularZone(),fc(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())fc(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(t)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),t(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:t,timeoutId:o,updateCb:i})}whenStable(t,r,i){if(i&&!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,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,r,i){return[]}}return n.\u0275fac=function(t){return new(t||n)(I(Ie),I(mc),I(Bs))},n.\u0275prov=j({token:n,factory:n.\u0275fac}),n})(),mc=(()=>{class n{constructor(){this._applications=new Map}registerApplication(t,r){this._applications.set(t,r)}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,r=!0){return yc?.findTestabilityInTree(this,t,r)??null}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=j({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();const yn=!1;let On=null;const e_=new S("AllowMultipleToken"),_c=new S("PlatformDestroyListeners"),eN=new S("appBootstrapListener");function n_(n,e,t=[]){const r=`Platform: ${e}`,i=new S(r);return(o=[])=>{let s=vc();if(!s||s.injector.get(e_,!1)){const a=[...t,...o,{provide:i,useValue:!0}];n?n(a):function rN(n){if(On&&!On.get(e_,!1))throw new D(400,!1);On=n;const e=n.get(i_);(function t_(n){const e=n.get(qy,null);e&&e.forEach(t=>t())})(n)}(function r_(n=[],e){return hn.create({name:e,providers:[{provide:du,useValue:"platform"},{provide:_c,useValue:new Set([()=>On=null])},...n]})}(a,r))}return function oN(n){const e=vc();if(!e)throw new D(401,!1);return e}()}}function vc(){return On?.get(i_)??null}let i_=(()=>{class n{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,r){const i=function s_(n,e){let t;return t="noop"===n?new XA:("zone.js"===n?void 0:n)||new Ie(e),t}(r?.ngZone,function o_(n){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!n||!n.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!n||!n.ngZoneRunCoalescing)||!1}}(r)),o=[{provide:Ie,useValue:i}];return i.run(()=>{const s=hn.create({providers:o,parent:this.injector,name:t.moduleType.name}),a=t.create(s),l=a.injector.get(Tn,null);if(!l)throw new D(402,!1);return i.runOutsideAngular(()=>{const u=i.onError.subscribe({next:c=>{l.handleError(c)}});a.onDestroy(()=>{Hs(this._modules,a),u.unsubscribe()})}),function a_(n,e,t){try{const r=t();return Ss(r)?r.catch(i=>{throw e.runOutsideAngular(()=>n.handleError(i)),i}):r}catch(r){throw e.runOutsideAngular(()=>n.handleError(r)),r}}(l,i,()=>{const u=a.injector.get(Ls);return u.runInitializers(),u.donePromise.then(()=>(function Nm(n){_t(n,"Expected localeId to be defined"),"string"==typeof n&&(Am=n.toLowerCase().replace(/_/g,"-"))}(a.injector.get(Jt,Yr)||Yr),this._moduleDoBootstrap(a),a))})})}bootstrapModule(t,r=[]){const i=l_({},r);return function tN(n,e,t){const r=new Zu(t);return Promise.resolve(r)}(0,0,t).then(o=>this.bootstrapModuleFactory(o,i))}_moduleDoBootstrap(t){const r=t.injector.get(js);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!t.instance.ngDoBootstrap)throw new D(-403,!1);t.instance.ngDoBootstrap(r)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new D(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const t=this._injector.get(_c,null);t&&(t.forEach(r=>r()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return n.\u0275fac=function(t){return new(t||n)(I(hn))},n.\u0275prov=j({token:n,factory:n.\u0275fac,providedIn:"platform"}),n})();function l_(n,e){return Array.isArray(e)?e.reduce(l_,n):{...n,...e}}let js=(()=>{class n{get destroyed(){return this._destroyed}get injector(){return this._injector}constructor(t,r,i){this._zone=t,this._injector=r,this._exceptionHandler=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new we(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new we(a=>{let l;this._zone.runOutsideAngular(()=>{l=this._zone.onStable.subscribe(()=>{Ie.assertNotInAngularZone(),fc(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const u=this._zone.onUnstable.subscribe(()=>{Ie.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{l.unsubscribe(),u.unsubscribe()}});this.isStable=function Jb(...n){const e=di(n),t=function Wb(n,e){return"number"==typeof el(n)?n.pop():e}(n,1/0),r=n;return r.length?1===r.length?At(r[0]):Tf(t)(pr(r,e)):Ja}(o,s.pipe(function Pf(n={}){const{connector:e=(()=>new ci),resetOnError:t=!0,resetOnComplete:r=!0,resetOnRefCountZero:i=!0}=n;return o=>{let s,a,l,u=0,c=!1,d=!1;const f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=l=void 0,c=d=!1},p=()=>{const g=s;h(),g?.unsubscribe()};return st((g,m)=>{u++,!d&&!c&&f();const y=l=l??e();m.add(()=>{u--,0===u&&!d&&!c&&(a=tl(p,i))}),y.subscribe(m),!s&&u>0&&(s=new li({next:E=>y.next(E),error:E=>{d=!0,f(),a=tl(h,t,E),y.error(E)},complete:()=>{c=!0,f(),a=tl(h,r),y.complete()}}),At(g).subscribe(s))})(o)}}()))}bootstrap(t,r){const i=t instanceof kp;if(!this._injector.get(Ls).done){!i&&function mi(n){const e=ee(n)||Pe(n)||et(n);return null!==e&&e.standalone}(t);throw new D(405,yn)}let s;s=i?t:this._injector.get(ps).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function nN(n){return n.isBoundToModule}(s)?void 0:this._injector.get(Zr),u=s.create(hn.NULL,[],r||s.selector,a),c=u.location.nativeElement,d=u.injector.get(Jy,null);return d?.registerApplication(c),u.onDestroy(()=>{this.detachView(u.hostView),Hs(this.components,u),d?.unregisterApplication(c)}),this._loadComponent(u),u}tick(){if(this._runningTick)throw new D(101,!1);try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){const r=t;Hs(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const r=this._injector.get(eN,[]);r.push(...this._bootstrapListeners),r.forEach(i=>i(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>Hs(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new D(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return n.\u0275fac=function(t){return new(t||n)(I(Ie),I(Xn),I(Tn))},n.\u0275prov=j({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function Hs(n,e){const t=n.indexOf(e);t>-1&&n.splice(t,1)}let d_=(()=>{class n{}return n.__NG_ELEMENT_ID__=aN,n})();function aN(n){return function lN(n,e,t){if(Di(n)&&!t){const r=tt(n.index,e);return new Li(r,r)}return 47&n.type?new Li(e[Re],e):null}(Fe(),v(),16==(16&n))}class p_{constructor(){}supports(e){return Cs(e)}create(e){return new pN(e)}}const hN=(n,e)=>e;class pN{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||hN}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,r=this._removalsHead,i=0,o=null;for(;t||r;){const s=!r||t&&t.currentIndex{s=this._trackByFn(i,a),null!==t&&Object.is(t.trackById,s)?(r&&(t=this._verifyReinsertion(t,a,s,i)),Object.is(t.item,a)||this._addIdentityChange(t,a)):(t=this._mismatch(t,a,s,i),r=!0),t=t._next,i++}),this.length=i;return this._truncate(t),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,r,i){let o;return null===e?o=this._itTail:(o=e._prev,this._remove(e)),null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,o,i)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,o,i)):e=this._addAfter(new gN(t,r),o,i),e}_verifyReinsertion(e,t,r,i){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==o?e=this._reinsertAfter(o,e._prev,i):e.currentIndex!=i&&(e.currentIndex=i,this._addToMoves(e,i)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const i=e._prevRemoved,o=e._nextRemoved;return null===i?this._removalsHead=o:i._nextRemoved=o,null===o?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(e,t,r),this._addToMoves(e,r),e}_moveAfter(e,t,r){return this._unlink(e),this._insertAfter(e,t,r),this._addToMoves(e,r),e}_addAfter(e,t,r){return this._insertAfter(e,t,r),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,t,r){const i=null===t?this._itHead:t._next;return e._next=i,e._prev=t,null===i?this._itTail=e:i._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new g_),this._linkedRecords.put(e),e.currentIndex=r,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,r=e._next;return null===t?this._itHead=r:t._next=r,null===r?this._itTail=t:r._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new g_),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class gN{constructor(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class mN{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===t||t<=r.currentIndex)&&Object.is(r.trackById,e))return r;return null}remove(e){const t=e._prevDup,r=e._nextDup;return null===t?this._head=r:t._nextDup=r,null===r?this._tail=t:r._prevDup=t,null===this._head}}class g_{constructor(){this.map=new Map}put(e){const t=e.trackById;let r=this.map.get(t);r||(r=new mN,this.map.set(t,r)),r.add(e)}get(e,t){const i=this.map.get(e);return i?i.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function m_(n,e,t){const r=n.previousIndex;if(null===r)return r;let i=0;return t&&r{class n{constructor(t){this.factories=t}static create(t,r){if(null!=r){const i=r.factories.slice();t=t.concat(i)}return new n(t)}static extend(t){return{provide:n,useFactory:r=>n.create(t,r||__()),deps:[[n,new Ii,new Kn]]}}find(t){const r=this.factories.find(i=>i.supports(t));if(null!=r)return r;throw new D(901,!1)}}return n.\u0275prov=j({token:n,providedIn:"root",factory:__}),n})();const EN=n_(null,"core",[]);let bN=(()=>{class n{constructor(t){}}return n.\u0275fac=function(t){return new(t||n)(I(js))},n.\u0275mod=Xe({type:n}),n.\u0275inj=$e({}),n})();let Mc=null;function ei(){return Mc}class MN{}const De=new S("DocumentToken");function A_(n,e){e=encodeURIComponent(e);for(const t of n.split(";")){const r=t.indexOf("="),[i,o]=-1==r?[t,""]:[t.slice(0,r),t.slice(r+1)];if(i.trim()===e)return decodeURIComponent(o)}return null}class fF{constructor(e,t,r,i){this.$implicit=e,this.ngForOf=t,this.index=r,this.count=i}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 kc=(()=>{class n{set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}constructor(t,r,i){this._viewContainer=t,this._template=r,this._differs=i,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 r=this._viewContainer;t.forEachOperation((i,o,s)=>{if(null==i.previousIndex)r.createEmbeddedView(this._template,new fF(i.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)r.remove(null===o?void 0:o);else if(null!==o){const a=r.get(o);r.move(a,s),P_(a,i)}});for(let i=0,o=r.length;i{P_(r.get(i.currentIndex),i)})}static ngTemplateContextGuard(t,r){return!0}}return n.\u0275fac=function(t){return new(t||n)(b(Xt),b(mn),b(Gs))},n.\u0275dir=L({type:n,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),n})();function P_(n,e){n.context.$implicit=e.item}let Lc=(()=>{class n{constructor(t,r){this._viewContainer=t,this._context=new pF,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){x_("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){x_("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,r){return!0}}return n.\u0275fac=function(t){return new(t||n)(b(Xt),b(mn))},n.\u0275dir=L({type:n,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),n})();class pF{constructor(){this.$implicit=null,this.ngIf=null}}function x_(n,e){if(e&&!e.createEmbeddedView)throw new Error(`${n} must be a TemplateRef, but received '${oe(e)}'.`)}let BF=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=Xe({type:n}),n.\u0275inj=$e({}),n})();const L_="browser";class B_{}class yO extends MN{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Gc extends yO{static makeCurrent(){!function wN(n){Mc||(Mc=n)}(new Gc)}onAndCancel(e,t,r){return e.addEventListener(t,r,!1),()=>{e.removeEventListener(t,r,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getBaseHref(e){const t=function _O(){return ro=ro||document.querySelector("base"),ro?ro.getAttribute("href"):null}();return null==t?null:function vO(n){na=na||document.createElement("a"),na.setAttribute("href",n);const e=na.pathname;return"/"===e.charAt(0)?e:`/${e}`}(t)}resetBaseElement(){ro=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return A_(document.cookie,e)}}let na,ro=null;const G_=new S("TRANSITION_ID"),EO=[{provide:zy,useFactory:function DO(n,e,t){return()=>{t.get(Ls).donePromise.then(()=>{const r=ei(),i=e.querySelectorAll(`style[ng-transition="${n}"]`);for(let o=0;o{class n{build(){return new XMLHttpRequest}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=j({token:n,factory:n.\u0275fac}),n})();const ra=new S("EventManagerPlugins");let ia=(()=>{class n{constructor(t,r){this._zone=r,this._eventNameToPlugin=new Map,t.forEach(i=>{i.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,r,i){return this._findPluginFor(r).addEventListener(t,r,i)}addGlobalEventListener(t,r,i){return this._findPluginFor(r).addGlobalEventListener(t,r,i)}getZone(){return this._zone}_findPluginFor(t){const r=this._eventNameToPlugin.get(t);if(r)return r;const i=this._plugins;for(let o=0;o{class n{constructor(){this.usageCount=new Map}addStyles(t){for(const r of t)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(t){for(const r of t)0===this.changeUsageCount(r,-1)&&this.onStyleRemoved(r)}onStyleRemoved(t){}onStyleAdded(t){}getAllStyles(){return this.usageCount.keys()}changeUsageCount(t,r){const i=this.usageCount;let o=i.get(t)??0;return o+=r,o>0?i.set(t,o):i.delete(t),o}ngOnDestroy(){for(const t of this.getAllStyles())this.onStyleRemoved(t);this.usageCount.clear()}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=j({token:n,factory:n.\u0275fac}),n})(),io=(()=>{class n extends W_{constructor(t){super(),this.doc=t,this.styleRef=new Map,this.hostNodes=new Set,this.resetHostNodes()}onStyleAdded(t){for(const r of this.hostNodes)this.addStyleToHost(r,t)}onStyleRemoved(t){const r=this.styleRef;r.get(t)?.forEach(o=>o.remove()),r.delete(t)}ngOnDestroy(){super.ngOnDestroy(),this.styleRef.clear(),this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(const r of this.getAllStyles())this.addStyleToHost(t,r)}removeHost(t){this.hostNodes.delete(t)}addStyleToHost(t,r){const i=this.doc.createElement("style");i.textContent=r,t.appendChild(i);const o=this.styleRef.get(r);o?o.push(i):this.styleRef.set(r,[i])}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}}return n.\u0275fac=function(t){return new(t||n)(I(De))},n.\u0275prov=j({token:n,factory:n.\u0275fac}),n})();const zc={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/"},Wc=/%COMP%/g,Q_=new S("RemoveStylesOnCompDestory",{providedIn:"root",factory:()=>!1});function Y_(n,e){return e.flat(100).map(t=>t.replace(Wc,n))}function Z_(n){return e=>{if("__ngUnwrap__"===e)return n;!1===n(e)&&(e.preventDefault(),e.returnValue=!1)}}let oa=(()=>{class n{constructor(t,r,i,o){this.eventManager=t,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestory=o,this.rendererByCompId=new Map,this.defaultRenderer=new qc(t)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;const i=this.getOrCreateRenderer(t,r);return i instanceof ev?i.applyToHost(t):i instanceof Kc&&i.applyStyles(),i}getOrCreateRenderer(t,r){const i=this.rendererByCompId;let o=i.get(r.id);if(!o){const s=this.eventManager,a=this.sharedStylesHost,l=this.removeStylesOnCompDestory;switch(r.encapsulation){case Nt.Emulated:o=new ev(s,a,r,this.appId,l);break;case Nt.ShadowDom:return new NO(s,a,t,r);default:o=new Kc(s,a,r,l)}o.onDestroy=()=>i.delete(r.id),i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}begin(){}end(){}}return n.\u0275fac=function(t){return new(t||n)(I(ia),I(io),I(Xi),I(Q_))},n.\u0275prov=j({token:n,factory:n.\u0275fac}),n})();class qc{constructor(e){this.eventManager=e,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(e,t){return t?document.createElementNS(zc[t]||t,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,t){(J_(e)?e.content:e).appendChild(t)}insertBefore(e,t,r){e&&(J_(e)?e.content:e).insertBefore(t,r)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let r="string"==typeof e?document.querySelector(e):e;if(!r)throw new Error(`The selector "${e}" did not match any elements`);return t||(r.textContent=""),r}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,r,i){if(i){t=i+":"+t;const o=zc[i];o?e.setAttributeNS(o,t,r):e.setAttribute(t,r)}else e.setAttribute(t,r)}removeAttribute(e,t,r){if(r){const i=zc[r];i?e.removeAttributeNS(i,t):e.removeAttribute(`${r}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,r,i){i&(nt.DashCase|nt.Important)?e.style.setProperty(t,r,i&nt.Important?"important":""):e.style[t]=r}removeStyle(e,t,r){r&nt.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,r){e[t]=r}setValue(e,t){e.nodeValue=t}listen(e,t,r){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,Z_(r)):this.eventManager.addEventListener(e,t,Z_(r))}}function J_(n){return"TEMPLATE"===n.tagName&&void 0!==n.content}class NO extends qc{constructor(e,t,r,i){super(e),this.sharedStylesHost=t,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const o=Y_(i.id,i.styles);for(const s of o){const a=document.createElement("style");a.textContent=s,this.shadowRoot.appendChild(a)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,r){return super.insertBefore(this.nodeOrShadowRoot(e),t,r)}removeChild(e,t){return super.removeChild(this.nodeOrShadowRoot(e),t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Kc extends qc{constructor(e,t,r,i,o=r.id){super(e),this.sharedStylesHost=t,this.removeStylesOnCompDestory=i,this.rendererUsageCount=0,this.styles=Y_(o,r.styles)}applyStyles(){this.sharedStylesHost.addStyles(this.styles),this.rendererUsageCount++}destroy(){this.removeStylesOnCompDestory&&(this.sharedStylesHost.removeStyles(this.styles),this.rendererUsageCount--,0===this.rendererUsageCount&&this.onDestroy?.())}}class ev extends Kc{constructor(e,t,r,i,o){const s=i+"-"+r.id;super(e,t,r,o,s),this.contentAttr=function IO(n){return"_ngcontent-%COMP%".replace(Wc,n)}(s),this.hostAttr=function TO(n){return"_nghost-%COMP%".replace(Wc,n)}(s)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,t){const r=super.createElement(e,t);return super.setAttribute(r,this.contentAttr,""),r}}let FO=(()=>{class n extends z_{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,i){return t.addEventListener(r,i,!1),()=>this.removeEventListener(t,r,i)}removeEventListener(t,r,i){return t.removeEventListener(r,i)}}return n.\u0275fac=function(t){return new(t||n)(I(De))},n.\u0275prov=j({token:n,factory:n.\u0275fac}),n})();const tv=["alt","control","meta","shift"],OO={"\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"},PO={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};let xO=(()=>{class n extends z_{constructor(t){super(t)}supports(t){return null!=n.parseEventName(t)}addEventListener(t,r,i){const o=n.parseEventName(r),s=n.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ei().onAndCancel(t,o.domEventName,s))}static parseEventName(t){const r=t.toLowerCase().split("."),i=r.shift();if(0===r.length||"keydown"!==i&&"keyup"!==i)return null;const o=n._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),tv.forEach(u=>{const c=r.indexOf(u);c>-1&&(r.splice(c,1),s+=u+".")}),s+=o,0!=r.length||0===o.length)return null;const l={};return l.domEventName=i,l.fullKey=s,l}static matchEventFullKeyCode(t,r){let i=OO[t.key]||t.key,o="";return r.indexOf("code.")>-1&&(i=t.code,o="code."),!(null==i||!i)&&(i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),tv.forEach(s=>{s!==i&&(0,PO[s])(t)&&(o+=s+".")}),o+=i,o===r)}static eventCallback(t,r,i){return o=>{n.matchEventFullKeyCode(o,t)&&i.runGuarded(()=>r(o))}}static _normalizeKey(t){return"esc"===t?"escape":t}}return n.\u0275fac=function(t){return new(t||n)(I(De))},n.\u0275prov=j({token:n,factory:n.\u0275fac}),n})();const VO=n_(EN,"browser",[{provide:Vs,useValue:L_},{provide:qy,useValue:function RO(){Gc.makeCurrent()},multi:!0},{provide:De,useFactory:function LO(){return function dM(n){ru=n}(document),document},deps:[]}]),iv=new S(""),ov=[{provide:Bs,useClass:class bO{addToWindow(e){le.getAngularTestability=(r,i=!0)=>{const o=e.findTestabilityInTree(r,i);if(null==o)throw new Error("Could not find testability for element.");return o},le.getAllAngularTestabilities=()=>e.getAllTestabilities(),le.getAllAngularRootElements=()=>e.getAllRootElements(),le.frameworkStabilizers||(le.frameworkStabilizers=[]),le.frameworkStabilizers.push(r=>{const i=le.getAllAngularTestabilities();let o=i.length,s=!1;const a=function(l){s=s||l,o--,0==o&&r(s)};i.forEach(function(l){l.whenStable(a)})})}findTestabilityInTree(e,t,r){return null==t?null:e.getTestability(t)??(r?ei().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null)}},deps:[]},{provide:Jy,useClass:gc,deps:[Ie,mc,Bs]},{provide:gc,useClass:gc,deps:[Ie,mc,Bs]}],sv=[{provide:du,useValue:"root"},{provide:Tn,useFactory:function kO(){return new Tn},deps:[]},{provide:ra,useClass:FO,multi:!0,deps:[De,Ie,Vs]},{provide:ra,useClass:xO,multi:!0,deps:[De]},{provide:oa,useClass:oa,deps:[ia,io,Xi,Q_]},{provide:Ri,useExisting:oa},{provide:W_,useExisting:io},{provide:io,useClass:io,deps:[De]},{provide:ia,useClass:ia,deps:[ra,Ie]},{provide:B_,useClass:CO,deps:[]},[]];let av=(()=>{class n{constructor(t){}static withServerTransition(t){return{ngModule:n,providers:[{provide:Xi,useValue:t.appId},{provide:G_,useExisting:Xi},EO]}}}return n.\u0275fac=function(t){return new(t||n)(I(iv,12))},n.\u0275mod=Xe({type:n}),n.\u0275inj=$e({providers:[...sv,...ov],imports:[BF,bN]}),n})();typeof window<"u"&&window;const{isArray:WO}=Array,{getPrototypeOf:qO,prototype:KO,keys:QO}=Object;function dv(n){if(1===n.length){const e=n[0];if(WO(e))return{args:e,keys:null};if(function YO(n){return n&&"object"==typeof n&&qO(n)===KO}(e)){const t=QO(e);return{args:t.map(r=>e[r]),keys:t}}}return{args:n,keys:null}}const{isArray:ZO}=Array;function fv(n){return Ze(e=>function XO(n,e){return ZO(e)?n(...e):n(e)}(n,e))}function hv(n,e){return n.reduce((t,r,i)=>(t[r]=e[i],t),{})}let gv=(()=>{class n{constructor(t,r){this._renderer=t,this._elementRef=r,this.onChange=i=>{},this.onTouched=()=>{}}setProperty(t,r){this._renderer.setProperty(this._elementRef.nativeElement,t,r)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}}return n.\u0275fac=function(t){return new(t||n)(b(Jn),b(bt))},n.\u0275dir=L({type:n}),n})(),ir=(()=>{class n extends gv{}return n.\u0275fac=function(){let e;return function(r){return(e||(e=function ke(n){return on(()=>{const e=n.prototype.constructor,t=e[an]||Fl(e),r=Object.prototype;let i=Object.getPrototypeOf(n.prototype).constructor;for(;i&&i!==r;){const o=i[an]||Fl(i);if(o&&o!==t)return o;i=Object.getPrototypeOf(i)}return o=>new o})}(n)))(r||n)}}(),n.\u0275dir=L({type:n,features:[te]}),n})();const en=new S("NgValueAccessor"),eP={provide:en,useExisting:se(()=>sa),multi:!0},nP=new S("CompositionEventMode");let sa=(()=>{class n extends gv{constructor(t,r,i){super(t,r),this._compositionMode=i,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function tP(){const n=ei()?ei().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}())}writeValue(t){this.setProperty("value",t??"")}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}return n.\u0275fac=function(t){return new(t||n)(b(Jn),b(bt),b(nP,8))},n.\u0275dir=L({type:n,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(t,r){1&t&&qe("input",function(o){return r._handleInput(o.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(o){return r._compositionEnd(o.target.value)})},features:[ce([eP]),te]}),n})();const rP=!1,je=new S("NgValidators"),Rn=new S("NgAsyncValidators");function Sv(n){return null!=n}function Iv(n){const e=Ss(n)?pr(n):n;if(rP&&!Og(e)){let t="Expected async validator to return Promise or Observable.";throw"object"==typeof n&&(t+=" Are you using a synchronous validator where an async validator is expected?"),new D(-1101,t)}return e}function Tv(n){let e={};return n.forEach(t=>{e=null!=t?{...e,...t}:e}),0===Object.keys(e).length?null:e}function Av(n,e){return e.map(t=>t(n))}function Nv(n){return n.map(e=>function oP(n){return!n.validate}(e)?e:t=>e.validate(t))}function Xc(n){return null!=n?function Fv(n){if(!n)return null;const e=n.filter(Sv);return 0==e.length?null:function(t){return Tv(Av(t,e))}}(Nv(n)):null}function Ov(n){if(!n)return null;const e=n.filter(Sv);return 0==e.length?null:function(t){return function pv(...n){const e=Af(n),{args:t,keys:r}=dv(n),i=new we(o=>{const{length:s}=t;if(!s)return void o.complete();const a=new Array(s);let l=s,u=s;for(let c=0;c{d||(d=!0,u--),a[c]=f},()=>l--,void 0,()=>{(!l||!d)&&(u||o.next(r?hv(r,a):a),o.complete())}))}});return e?i.pipe(fv(e)):i}(Av(t,e).map(Iv)).pipe(Ze(Tv))}}function Jc(n){return null!=n?Ov(Nv(n)):null}function Pv(n,e){return null===n?[e]:Array.isArray(n)?[...n,e]:[n,e]}function ed(n){return n?Array.isArray(n)?n:[n]:[]}function la(n,e){return Array.isArray(n)?n.includes(e):n===e}function kv(n,e){const t=ed(e);return ed(n).forEach(i=>{la(t,i)||t.push(i)}),t}function Lv(n,e){return ed(e).filter(t=>!la(n,t))}class Vv{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=Xc(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=Jc(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e){this.control&&this.control.reset(e)}hasError(e,t){return!!this.control&&this.control.hasError(e,t)}getError(e,t){return this.control?this.control.getError(e,t):null}}class Ye extends Vv{get formDirective(){return null}get path(){return null}}class kn extends Vv{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Bv{constructor(e){this._cd=e}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let jv=(()=>{class n extends Bv{constructor(t){super(t)}}return n.\u0275fac=function(t){return new(t||n)(b(kn,2))},n.\u0275dir=L({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,r){2&t&&Hi("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[te]}),n})();const oo="VALID",ca="INVALID",ti="PENDING",so="DISABLED";function da(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}class Gv{constructor(e,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===oo}get invalid(){return this.status===ca}get pending(){return this.status==ti}get disabled(){return this.status===so}get enabled(){return this.status!==so}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(kv(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(kv(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(Lv(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(Lv(e,this._rawAsyncValidators))}hasValidator(e){return la(this._rawValidators,e)}hasAsyncValidator(e){return la(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=ti,!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status=so,this.errors=null,this._forEachChild(r=>{r.disable({...e,onlySelf:!0})}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...e,skipPristineCheck:t}),this._onDisabledChange.forEach(r=>r(!0))}enable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status=oo,this._forEachChild(r=>{r.enable({...e,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors({...e,skipPristineCheck:t}),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===oo||this.status===ti)&&this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?so:oo}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=ti,this._hasOwnPendingAsyncValidator=!0;const t=Iv(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,t={}){this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}get(e){let t=e;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((r,i)=>r&&r._find(i),this)}getError(e,t){const r=t?this.get(t):this;return r&&r.errors?r.errors[e]:null}hasError(e,t){return!!this.getError(e,t)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new ne,this.statusChanges=new ne}_calculateStatus(){return this._allControlsDisabled()?so:this.errors?ca:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ti)?ti:this._anyControlsHaveStatus(ca)?ca:oo}_anyControlsHaveStatus(e){return this._anyControls(t=>t.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){da(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){return!e&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=function hP(n){return Array.isArray(n)?Xc(n):n||null}(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=function pP(n){return Array.isArray(n)?Jc(n):n||null}(this._rawAsyncValidators)}}const ni=new S("CallSetDisabledState",{providedIn:"root",factory:()=>fa}),fa="always";function ao(n,e,t=fa){(function ad(n,e){const t=function xv(n){return n._rawValidators}(n);null!==e.validator?n.setValidators(Pv(t,e.validator)):"function"==typeof t&&n.setValidators([t]);const r=function Rv(n){return n._rawAsyncValidators}(n);null!==e.asyncValidator?n.setAsyncValidators(Pv(r,e.asyncValidator)):"function"==typeof r&&n.setAsyncValidators([r]);const i=()=>n.updateValueAndValidity();ga(e._rawValidators,i),ga(e._rawAsyncValidators,i)})(n,e),e.valueAccessor.writeValue(n.value),(n.disabled||"always"===t)&&e.valueAccessor.setDisabledState?.(n.disabled),function yP(n,e){e.valueAccessor.registerOnChange(t=>{n._pendingValue=t,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&zv(n,e)})}(n,e),function vP(n,e){const t=(r,i)=>{e.valueAccessor.writeValue(r),i&&e.viewToModelUpdate(r)};n.registerOnChange(t),e._registerOnDestroy(()=>{n._unregisterOnChange(t)})}(n,e),function _P(n,e){e.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&zv(n,e),"submit"!==n.updateOn&&n.markAsTouched()})}(n,e),function mP(n,e){if(e.valueAccessor.setDisabledState){const t=r=>{e.valueAccessor.setDisabledState(r)};n.registerOnDisabledChange(t),e._registerOnDestroy(()=>{n._unregisterOnDisabledChange(t)})}}(n,e)}function ga(n,e){n.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)})}function zv(n,e){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function Kv(n,e){const t=n.indexOf(e);t>-1&&n.splice(t,1)}function Qv(n){return"object"==typeof n&&null!==n&&2===Object.keys(n).length&&"value"in n&&"disabled"in n}const Yv=class extends Gv{constructor(e=null,t,r){super(function id(n){return(da(n)?n.validators:n)||null}(t),function od(n,e){return(da(e)?e.asyncValidators:n)||null}(r,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),da(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=Qv(e)?e.value:e)}setValue(e,t={}){this.value=this._pendingValue=e,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(e,t={}){this.setValue(e,t)}reset(e=this.defaultValue,t={}){this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){Kv(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){Kv(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(e){Qv(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}},IP={provide:kn,useExisting:se(()=>fd)},Jv=(()=>Promise.resolve())();let fd=(()=>{class n extends kn{constructor(t,r,i,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new Yv,this._registered=!1,this.update=new ne,this._parent=t,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=function cd(n,e){if(!e)return null;let t,r,i;return Array.isArray(e),e.forEach(o=>{o.constructor===sa?t=o:function bP(n){return Object.getPrototypeOf(n.constructor)===ir}(o)?r=o:i=o}),i||r||t||null}(0,o)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){const r=t.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),function ud(n,e){if(!n.hasOwnProperty("model"))return!1;const t=n.model;return!!t.isFirstChange()||!Object.is(e,t.currentValue)}(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){ao(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(t){Jv.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const r=t.isDisabled.currentValue,i=0!==r&&function wc(n){return"boolean"==typeof n?n:null!=n&&"false"!==n}(r);Jv.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?function ha(n,e){return[...e.path,n]}(t,this._parent):[t]}}return n.\u0275fac=function(t){return new(t||n)(b(Ye,9),b(je,10),b(Rn,10),b(en,10),b(d_,8),b(ni,8))},n.\u0275dir=L({type:n,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[ce([IP]),te,$t]}),n})(),tD=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=Xe({type:n}),n.\u0275inj=$e({}),n})(),XP=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=Xe({type:n}),n.\u0275inj=$e({imports:[tD]}),n})(),ex=(()=>{class n{static withConfig(t){return{ngModule:n,providers:[{provide:ni,useValue:t.callSetDisabledState??fa}]}}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=Xe({type:n}),n.\u0275inj=$e({imports:[XP]}),n})();function vD(n,e){return st((t,r)=>{let i=0;t.subscribe(yt(r,o=>n.call(e,o,i++)&&r.next(o)))})}class ya{}class vd{}class vn{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?()=>{this.headers=new Map,e.split("\n").forEach(t=>{const r=t.indexOf(":");if(r>0){const i=t.slice(0,r),o=i.toLowerCase(),s=t.slice(r+1).trim();this.maybeSetNormalizedName(i,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:()=>{this.headers=new Map,Object.entries(e).forEach(([t,r])=>{let i;if(i="string"==typeof r?[r]:"number"==typeof r?[r.toString()]:r.map(o=>o.toString()),i.length>0){const o=t.toLowerCase();this.headers.set(o,i),this.maybeSetNormalizedName(t,o)}})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();const t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,t){return this.clone({name:e,value:t,op:"a"})}set(e,t){return this.clone({name:e,value:t,op:"s"})}delete(e,t){return this.clone({name:e,value:t,op:"d"})}maybeSetNormalizedName(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}init(){this.lazyInit&&(this.lazyInit instanceof vn?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(t=>{this.headers.set(t,e.headers.get(t)),this.normalizedNames.set(t,e.normalizedNames.get(t))})}clone(e){const t=new vn;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof vn?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([e]),t}applyUpdate(e){const t=e.name.toLowerCase();switch(e.op){case"a":case"s":let r=e.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(e.name,t);const i=("a"===e.op?this.headers.get(t):void 0)||[];i.push(...r),this.headers.set(t,i);break;case"d":const o=e.value;if(o){let s=this.headers.get(t);if(!s)return;s=s.filter(a=>-1===o.indexOf(a)),0===s.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}else this.headers.delete(t),this.normalizedNames.delete(t)}}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>e(this.normalizedNames.get(t),this.headers.get(t)))}}class nx{encodeKey(e){return DD(e)}encodeValue(e){return DD(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}const ix=/%(\d[a-f0-9])/gi,ox={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function DD(n){return encodeURIComponent(n).replace(ix,(e,t)=>ox[t]??e)}function _a(n){return`${n}`}class Ln{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new nx,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function rx(n,e){const t=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(i=>{const o=i.indexOf("="),[s,a]=-1==o?[e.decodeKey(i),""]:[e.decodeKey(i.slice(0,o)),e.decodeValue(i.slice(o+1))],l=t.get(s)||[];l.push(a),t.set(s,l)}),t}(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(t=>{const r=e.fromObject[t],i=Array.isArray(r)?r.map(_a):[_a(r)];this.map.set(t,i)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();const t=this.map.get(e);return t?t[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,t){return this.clone({param:e,value:t,op:"a"})}appendAll(e){const t=[];return Object.keys(e).forEach(r=>{const i=e[r];Array.isArray(i)?i.forEach(o=>{t.push({param:r,value:o,op:"a"})}):t.push({param:r,value:i,op:"a"})}),this.clone(t)}set(e,t){return this.clone({param:e,value:t,op:"s"})}delete(e,t){return this.clone({param:e,value:t,op:"d"})}toString(){return this.init(),this.keys().map(e=>{const t=this.encoder.encodeKey(e);return this.map.get(e).map(r=>t+"="+this.encoder.encodeValue(r)).join("&")}).filter(e=>""!==e).join("&")}clone(e){const t=new Ln({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(e),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":const t=("a"===e.op?this.map.get(e.param):void 0)||[];t.push(_a(e.value)),this.map.set(e.param,t);break;case"d":if(void 0===e.value){this.map.delete(e.param);break}{let r=this.map.get(e.param)||[];const i=r.indexOf(_a(e.value));-1!==i&&r.splice(i,1),r.length>0?this.map.set(e.param,r):this.map.delete(e.param)}}}),this.cloneFrom=this.updates=null)}}class sx{constructor(){this.map=new Map}set(e,t){return this.map.set(e,t),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}}function ED(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function bD(n){return typeof Blob<"u"&&n instanceof Blob}function CD(n){return typeof FormData<"u"&&n instanceof FormData}class uo{constructor(e,t,r,i){let o;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function ax(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==r?r:null,o=i):o=r,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params)),this.headers||(this.headers=new vn),this.context||(this.context=new sx),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=t;else{const a=t.indexOf("?");this.urlWithParams=t+(-1===a?"?":ad.set(f,e.setHeaders[f]),l)),e.setParams&&(u=Object.keys(e.setParams).reduce((d,f)=>d.set(f,e.setParams[f]),u)),new uo(t,r,o,{params:u,headers:l,context:c,reportProgress:a,responseType:i,withCredentials:s})}}var Ce=(()=>((Ce=Ce||{})[Ce.Sent=0]="Sent",Ce[Ce.UploadProgress=1]="UploadProgress",Ce[Ce.ResponseHeader=2]="ResponseHeader",Ce[Ce.DownloadProgress=3]="DownloadProgress",Ce[Ce.Response=4]="Response",Ce[Ce.User=5]="User",Ce))();class Dd{constructor(e,t=200,r="OK"){this.headers=e.headers||new vn,this.status=void 0!==e.status?e.status:t,this.statusText=e.statusText||r,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}}class Ed extends Dd{constructor(e={}){super(e),this.type=Ce.ResponseHeader}clone(e={}){return new Ed({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class va extends Dd{constructor(e={}){super(e),this.type=Ce.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new va({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class wD extends Dd{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${e.url||"(unknown url)"}`:`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}}function bd(n,e){return{body:e,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials}}let Cd=(()=>{class n{constructor(t){this.handler=t}request(t,r,i={}){let o;if(t instanceof uo)o=t;else{let l,u;l=i.headers instanceof vn?i.headers:new vn(i.headers),i.params&&(u=i.params instanceof Ln?i.params:new Ln({fromObject:i.params})),o=new uo(t,r,void 0!==i.body?i.body:null,{headers:l,context:i.context,params:u,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials})}const s=function ri(...n){return pr(n,di(n))}(o).pipe(function tx(n,e){return ie(e)?Io(n,e,1):Io(n,1)}(l=>this.handler.handle(l)));if(t instanceof uo||"events"===i.observe)return s;const a=s.pipe(vD(l=>l instanceof va));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(Ze(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(Ze(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(Ze(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(Ze(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(t,r={}){return this.request("DELETE",t,r)}get(t,r={}){return this.request("GET",t,r)}head(t,r={}){return this.request("HEAD",t,r)}jsonp(t,r){return this.request("JSONP",t,{params:(new Ln).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,r={}){return this.request("OPTIONS",t,r)}patch(t,r,i={}){return this.request("PATCH",t,bd(i,r))}post(t,r,i={}){return this.request("POST",t,bd(i,r))}put(t,r,i={}){return this.request("PUT",t,bd(i,r))}}return n.\u0275fac=function(t){return new(t||n)(I(ya))},n.\u0275prov=j({token:n,factory:n.\u0275fac}),n})();function MD(n,e){return e(n)}function ux(n,e){return(t,r)=>e.intercept(t,{handle:i=>n(i,r)})}const dx=new S("HTTP_INTERCEPTORS"),co=new S("HTTP_INTERCEPTOR_FNS");function fx(){let n=null;return(e,t)=>(null===n&&(n=(jt(dx,{optional:!0})??[]).reduceRight(ux,MD)),n(e,t))}let SD=(()=>{class n extends ya{constructor(t,r){super(),this.backend=t,this.injector=r,this.chain=null}handle(t){if(null===this.chain){const r=Array.from(new Set(this.injector.get(co)));this.chain=r.reduceRight((i,o)=>function cx(n,e,t){return(r,i)=>t.runInContext(()=>e(r,o=>n(o,i)))}(i,o,this.injector),MD)}return this.chain(t,r=>this.backend.handle(r))}}return n.\u0275fac=function(t){return new(t||n)(I(vd),I(Xn))},n.\u0275prov=j({token:n,factory:n.\u0275fac}),n})();const mx=/^\)\]\}',?\n/;let TD=(()=>{class n{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new we(r=>{const i=this.xhrFactory.build();if(i.open(t.method,t.urlWithParams),t.withCredentials&&(i.withCredentials=!0),t.headers.forEach((h,p)=>i.setRequestHeader(h,p.join(","))),t.headers.has("Accept")||i.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const h=t.detectContentTypeHeader();null!==h&&i.setRequestHeader("Content-Type",h)}if(t.responseType){const h=t.responseType.toLowerCase();i.responseType="json"!==h?h:"text"}const o=t.serializeBody();let s=null;const a=()=>{if(null!==s)return s;const h=i.statusText||"OK",p=new vn(i.getAllResponseHeaders()),g=function yx(n){return"responseURL"in n&&n.responseURL?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):null}(i)||t.url;return s=new Ed({headers:p,status:i.status,statusText:h,url:g}),s},l=()=>{let{headers:h,status:p,statusText:g,url:m}=a(),y=null;204!==p&&(y=typeof i.response>"u"?i.responseText:i.response),0===p&&(p=y?200:0);let E=p>=200&&p<300;if("json"===t.responseType&&"string"==typeof y){const _=y;y=y.replace(mx,"");try{y=""!==y?JSON.parse(y):null}catch(C){y=_,E&&(E=!1,y={error:C,text:y})}}E?(r.next(new va({body:y,headers:h,status:p,statusText:g,url:m||void 0})),r.complete()):r.error(new wD({error:y,headers:h,status:p,statusText:g,url:m||void 0}))},u=h=>{const{url:p}=a(),g=new wD({error:h,status:i.status||0,statusText:i.statusText||"Unknown Error",url:p||void 0});r.error(g)};let c=!1;const d=h=>{c||(r.next(a()),c=!0);let p={type:Ce.DownloadProgress,loaded:h.loaded};h.lengthComputable&&(p.total=h.total),"text"===t.responseType&&i.responseText&&(p.partialText=i.responseText),r.next(p)},f=h=>{let p={type:Ce.UploadProgress,loaded:h.loaded};h.lengthComputable&&(p.total=h.total),r.next(p)};return i.addEventListener("load",l),i.addEventListener("error",u),i.addEventListener("timeout",u),i.addEventListener("abort",u),t.reportProgress&&(i.addEventListener("progress",d),null!==o&&i.upload&&i.upload.addEventListener("progress",f)),i.send(o),r.next({type:Ce.Sent}),()=>{i.removeEventListener("error",u),i.removeEventListener("abort",u),i.removeEventListener("load",l),i.removeEventListener("timeout",u),t.reportProgress&&(i.removeEventListener("progress",d),null!==o&&i.upload&&i.upload.removeEventListener("progress",f)),i.readyState!==i.DONE&&i.abort()}})}}return n.\u0275fac=function(t){return new(t||n)(I(B_))},n.\u0275prov=j({token:n,factory:n.\u0275fac}),n})();const wd=new S("XSRF_ENABLED"),AD=new S("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),ND=new S("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class FD{}let Dx=(()=>{class n{constructor(t,r,i){this.doc=t,this.platform=r,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=A_(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return n.\u0275fac=function(t){return new(t||n)(I(De),I(Vs),I(AD))},n.\u0275prov=j({token:n,factory:n.\u0275fac}),n})();function Ex(n,e){const t=n.url.toLowerCase();if(!jt(wd)||"GET"===n.method||"HEAD"===n.method||t.startsWith("http://")||t.startsWith("https://"))return e(n);const r=jt(FD).getToken(),i=jt(ND);return null!=r&&!n.headers.has(i)&&(n=n.clone({headers:n.headers.set(i,r)})),e(n)}var ve=(()=>((ve=ve||{})[ve.Interceptors=0]="Interceptors",ve[ve.LegacyInterceptors=1]="LegacyInterceptors",ve[ve.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",ve[ve.NoXsrfProtection=3]="NoXsrfProtection",ve[ve.JsonpSupport=4]="JsonpSupport",ve[ve.RequestsMadeViaParent=5]="RequestsMadeViaParent",ve))();function ii(n,e){return{\u0275kind:n,\u0275providers:e}}function bx(...n){const e=[Cd,TD,SD,{provide:ya,useExisting:SD},{provide:vd,useExisting:TD},{provide:co,useValue:Ex,multi:!0},{provide:wd,useValue:!0},{provide:FD,useClass:Dx}];for(const t of n)e.push(...t.\u0275providers);return function BM(n){return{\u0275providers:n}}(e)}const OD=new S("LEGACY_INTERCEPTOR_FN");let wx=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=Xe({type:n}),n.\u0275inj=$e({providers:[bx(ii(ve.LegacyInterceptors,[{provide:OD,useFactory:fx},{provide:co,useExisting:OD,multi:!0}]))]}),n})();class Mx{constructor(){this.text="",this.color="",this.sender=""}}const PD=["( .-. )","( .o.)","( `\xb7\xb4 )","( \xb0 \u035c \u0296 \xb0)","( \u0361\xb0 \u035c\u0296 \u0361\xb0)","( \u2686 _ \u2686 )","( \ufe36\ufe3f\ufe36)","( \uff9f\u30ee\uff9f)","(\\/)(\xb0,,,\xb0)(\\/)","(\xac_\xac)","(\xac\xba-\xb0)\xac","(\xac\u203f\xac)","(\xb0\u30ed\xb0)\u261d","(\xb4\u30fb\u03c9\u30fb)\u3063","(\xf3 \xec_\xed)","(\u0298\u15e9\u0298')","(\u0298\u203f\u0298)","(\u033f\u2580\u033f\u2009\u033f\u0139\u032f\u033f\u033f\u2580\u033f \u033f)\u0304","(\u0361\xb0 \u035c\u0296 \u0361\xb0)","\u1566( \u0361\xb0 \u035c\u0296 \u0361\xb0)\u1564","(\u0ca0_\u0ca0)","(\u0ca0\u203f\u0ca0)","(\u0ca0\u2323\u0ca0)","(\u0ca5_\u0ca5)","(\u0ca5\ufe4f\u0ca5)","(\u0e07 \u0360\xb0 \u035f\u0644\u035c \u0361\xb0)\u0e07","(\u0e07 \u0361\u0298 \u035c\u0296 \u0361\u0298)\u0e07","(\u0e07 \u2022\u0300_\u2022\u0301)\u0e07","(\u0e07'\u0300-'\u0301)\u0e07","(\u0e07\xb0\u0644\u035c\xb0)\u0e07","(\u0e07\u2310\u25a1\u0644\u035c\u25a1)\u0e07","(\u10e6\u02d8\u2323\u02d8\u10e6)","(\u1d54\u1d25\u1d54)","(\u2022\u03c9\u2022)","(\u2022\u25e1\u2022)/","(\u2299\u03c9\u2299)","(\u2310\u25a0_\u25a0)","(\u2500\u203f\u203f\u2500)","(\u256f\xb0\u25a1\xb0\uff09\u256f","(\u25d5\u203f\u25d5)","(\u261e\uff9f\u2200\uff9f)\u261e","(\u274d\u1d25\u274d\u028b)","(\u3063\u25d5\u203f\u25d5)\u3063","(\u3065\uff61\u25d5\u203f\u203f\u25d5\uff61)\u3065","(\u30ce\u0ca0\u76ca\u0ca0)\u30ce","(\u30ce\u30fb\u2200\u30fb)\u30ce","(\uff1b\u4e00_\u4e00)","(\uff40\u25d4 \u03c9 \u25d4\xb4)","(\uff61\u25d5\u203f\u203f\u25d5\uff61)","(\uff89\u25d5\u30ee\u25d5)\uff89","*<{:\xac{D}}}","=^.^=","t(-.-t)","| (\u2022 \u25e1\u2022)|","~(\u02d8\u25be\u02d8~)","\xac_\xac","\xaf(\xb0_o)/\xaf","\xaf\\_(\u30c4)_/\xaf","\xb0\u0414\xb0","\u0273\u0f3c\u0e88\u0644\u035c\u0e88\u0f3d\u0272","\u0285\u0295\u2022\u1d25\u2022\u0294\u0283","\u0295\xb4\u2022\u1d25\u2022`\u0294","\u0295\u2022\u1d25\u2022\u0294","\u0295\u25c9.\u25c9\u0294","\u0295\u3147\ud638\u3147\u0294","\u0295\uff1b\u2022`\u1d25\u2022\xb4\u0294","\u0298\u203f\u0298","\u0361\xb0 \u035c\u0296 \u0361\xb0","\u03b6\u0f3c\u019f\u0346\u0644\u035c\u019f\u0346\u0f3d\u1d98","\u0470\u03b6\u0f3c\u1d3c\u0644\u035c\u1d3c\u0f3d\u1d98\u0470","\u0628_\u0628","\u0669\u25d4\u032f\u25d4\u06f6","\u0ca0_\u0ca0","\u0ca0o\u0ca0","\u0ca0~\u0ca0","\u0ca0\u203f\u0ca0","\u0ca0\u2323\u0ca0","\u0ca0\u256d\u256e\u0ca0","\u0cb0_\u0cb0","\u0e07 \u0360\xb0 \u0644\u035c \xb0)\u0e07","\u0e4f\u032f\u0361\u0e4f\ufd3f","\u0f3c \xba\xba\xba\xba\xba\u0644\u035f\xba\xba\xba\xba\xba \u0f3d","\u0f3c \xba\u0644\u035f\xba \u0f3d","\u0f3c \xba\u0644\u035f\xba\u0f3c","\u0f3c \xba\u0644\u035f\xba\u0f3d","\u0f3c \u0361\u25a0\u0644\u035c \u0361\u25a0\u0f3d","\u0f3c \u3064 \u25d5_\u25d5 \u0f3d\u3064","\u0f3c\u0298\u031a\u0644\u035c\u0298\u031a\u0f3d","\u10da(\xb4\u06a1`\u10da)","\u10da(\u0301\u25c9\u25de\u0c6a\u25df\u25c9\u2035\u10da)","\u10da(\u0ca0\u76ca\u0ca0\u10da)","\u113d\u1f41\u020d \u032a\u0151\u1f40\u113f","\u1511\u2022\ufeaa\u035f\u0360\u2022\u1510","\u1555( \u141b )\u1557","\u1559(\u21c0\u2038\u21bc\u2036)\u1557","\u1559\u0f3c\u0e88\u0644\u035c\u0e88\u0f3d\u1557","\u1d98 \u1d52\u1d25\u1d52\u1d85","(\uff89\u0ca5\u76ca\u0ca5\uff09\uff89","\u2267\u2609_\u2609\u2266","\u2299\u2583\u2299","\u2299\ufe4f\u2299","\u250c( \u0ca0_\u0ca0)\u2518","\u255a(\u0ca0_\u0ca0)=\u2510","\u25c9_\u25c9","\u25d4 \u2323 \u25d4","\u25d4\u032f\u25d4","\u25d5\u203f\u21bc","\u25d5\u203f\u25d5","\u2609_\u2609","\u261c(\u2312\u25bd\u2312)\u261e","\u263c.\u263c","\u2665\u203f\u2665","\u2686 _ \u2686","\u270c(-\u203f-)\u270c","\u3006(\u30fb\u2200\u30fb\uff20)","\u30ce( \xba _ \xba\u30ce)","\u30ce( \u309c-\u309c\u30ce)","\u30fd( \u035d\xb0 \u035c\u0296\u0361\xb0)\uff89","\u30fd(`\u0414\xb4)\uff89","\u30fd\u0f3c\xb0 \u035f\u0644\u035c \u0361\xb0\u0f3d\uff89","\u30fd\u0f3c\u0298\u031a\u0644\u035c\u0298\u031a\u0f3d\uff89","\u30fd\u0f3c\u0e88\u0644\u035c\u0e88\u0f3d\u0e07","\u30fd\u0f3c\u0e88\u0644\u035c\u0e88\u0f3d\uff89","\u30fd\u0f3c\u1ff8\u0644\u035c\u0e88\u0f3d\uff89","\u30fe(\u2310\u25a0_\u25a0)\u30ce","\ua4b0\uff65\u25e1\uff65\u0e51\ua4b1","\ufd3e\u0361\u0e4f\u032f\u0361\u0e4f\ufd3f","\uff61\u25d5\u203f\u25d5\uff61","\u0295\u30ce\u25d4\u03d6\u25d4\u0294\u30ce","(\u30ce\u0ca0\u76ca\u0ca0)\u30ce\u5f61\u253b\u2501\u253b","(\u256f\xb0\u25a1\xb0\uff09\u256f\ufe35 \u253b\u2501\u253b","\ua4b0\u2022\u0325\u0325\u0325\u0325\u0325\u0325\u0325 \ufe4f \u2022\u0325\u0325\u0325\u0325\u0325\u0325\u0325\u0325\u0e51\ua4b1","\u0ca0_\u0cb0\u0cc3","(\u0942\u02c3\u0323\u0323\u0323\u0323\u0323\u0323\ufe3f\u02c2\u0323\u0323\u0323\u0323\u0323\u0323 \u0942)","(\ua228\u0eb6\ua381\ua228\u0eb6)\u06f6\u201d","(\ua426\xb0\u1dc4\u0434\xb0\u1dc5)","(\u06f6\u0ac8 \u06dc \u1d52\u030c\u25b1\u0e4b\u1d52\u030c )\u06f6\u0ac8=\u035f\u035f\u035e\u035e \u2328","\u208d\u02c4\xb7\u0348\u0f1d\xb7\u0348\u02c4\u208e\u25de \u0311\u0311\u0dc6\u20db","(*\uff9f\u2699\u0360 \u2200 \u2699\u0360)\uff89\u2763","\u0669\ua4b0\uff65\u0e31\u03b5\uff65\u0e31 \ua4b1\u06f6","\u30d8\uff08\u3002\u25a1\xb0\uff09\u30d8","\u02d3\u02d3(\u0943\u3000 \u0941 \u0951\ua4b3\u2019)\u0941(\u0943\u2019\ua4b3 \u0951 \u0943\u3000)\u0941\u02d2\u02d2\u02d2","\ua4b0\u2718\u0414\u2718\u25cd\ua4b1","\u0aee( \u1d52\u030c\u0ae2\u0f6a\u1d52\u030c\u0ae2 )\u10d0","\u201c\u03c8(\uff40\u2207\xb4)\u03c8","\u0ca0\ufb5b\u0ca0","(\u0e51>\u1d17<\u0e51)","(\u06f6\ua228\u0eb6\ua381\ua228\u0eb6 )\u06f6\u02b8\u1d49\u1d43\u02b0\u1d4e","\u0669(\u2022\u0324\u0300\u1d55\u2022\u0324\u0301\u0e51)\u1d52\u1d4f\u1d4e\u1d4e\u1d4e\u1d4e","(oT-T)\u5c38","(\u270c\uff9f\u2200\uff9f)\u261e","\u0ca5\u203f\u0ca5","\u0971\u0970\u22c6(\u02f6\u0962\u203e\u1dc4\ufe43\u203e\u1dc5\u02f5\u0962)","\u252c\u2534\u252c\u2534\u2524 (\u0ca0\u251c\u252c\u2534\u252c\u2534","( \u02d8 \xb3\u02d8)\u2665","\u03a3 (\u0a6d\u0941 \u0eb6\u0a0a \u0eb6)\u0a6d\u0941\u207e\u207e","(\u2445 \u0963\u2022\u0348\u1d17\u2022\u0348 \u0963)","\u30fe(\xb4\uffe2\uff40)\uff89","(\u2022\u0300o\u2022\u0301)\u0e07","(\u0e51\u2022\u0952\u0300 \u0eb9\u0952\u2022\u0301\u0e51)","\u2688\u0e49\u0324\u0361 \u02cc\u032b\u032e \u2688\u0e49\u0324\u0361","=\u035f\u035f\u035e\u035e =\u035f\u035f\u035e\u035e \uff8d( \xb4\u0414`)\uff89","(((\u2579\u0434\u2579;)))","\u2022\u0300.\u032b\u2022\u0301\u2727","(\u1d52\u0324\u0311 \u2080\u0311 \u1d52\u0324\u0311)","\\_(\u0298_\u0298)_/","\u4e59(\u30c4)\u4e59","\u4e59(\u306e\u3063\u306e)\u4e59","\u30fe(\xaf\u2207\uffe3\u0e51)","\\_(\u0298_\u0298)_/","\u0f3c;\xb4\u0f0e\u0eb6 \u06dd \u0f0e\u0eb6\u0f3d","(\u2580\u033f\u0139\u032f\u2580\u033f \u033f)","(\uff89\u25d5\u30ee\u25d5)\uff89*:\uff65\uff9f\u2727","(\uff89\u25d5\u30ee\u25d5)\uff89*:\uff65\uff9f\u2727 \u2727\uff9f\uff65: *\u30fd(\u25d5\u30ee\u25d5\u30fd)","\u252c\u2534\u252c\u2534\u2524 \u035c\u0296 \u0361\xb0) \u251c\u252c\u2534\u252c\u2534","\u252c\u2534\u252c\u2534\u2524(\uff65_\u251c\u252c\u2534\u252c\u2534","(\u0361 \u0361\xb0 \u035c \u3064 \u0361\u0361\xb0)","( \u0361\xb0\u256d\u035c\u0296\u256e\u0361\xb0 )","(\u2022 \u03b5 \u2022)","[\u0332\u0305$\u0332\u0305(\u0332\u0305 \u0361\xb0 \u035c\u0296 \u0361\xb0\u0332\u0305)\u0332\u0305$\u0332\u0305]","| (\u2022 \u25e1\u2022)| (\u274d\u1d25\u274d\u028b)","(\u25d5\u203f\u25d5\u273f)","(\u256f\xb0\u25a1\xb0)\u256f\ufe35 \u029eooq\u01dd\u0254\u0250\u025f","(\u261e\uff9f\u30ee\uff9f)\u261e \u261c(\uff9f\u30ee\uff9f\u261c)","(\u3065\uffe3 \xb3\uffe3)\u3065","(;\xb4\u0f0e\u0eb6\u0414\u0f0e\u0eb6`)","\u266a~ \u1555(\u141b)\u1557","\u0f3c \u3064 \u0361\xb0 \u035c\u0296 \u0361\xb0 \u0f3d\u3064","\u0f3c \u3064 \u0ca5_\u0ca5 \u0f3d\u3064","\u0ca5_\u0ca5","( \u0361\u1d54 \u035c\u0296 \u0361\u1d54 )","\u30fe(\u2310\u25a0_\u25a0)\u30ce\u266a","~(\u02d8\u25be\u02d8~)","\\ (\u2022\u25e1\u2022) /","(~\u02d8\u25be\u02d8)~","(._.) ( l: ) ( .-. ) ( :l ) (._.)","\u0f3c \xba\u0644\u035f\xba \u0f3c \xba\u0644\u035f\xba \u0f3c \xba\u0644\u035f\xba \u0f3d \xba\u0644\u035f\xba \u0f3d \xba\u0644\u035f\xba \u0f3d","\u253b\u2501\u253b \ufe35\u30fd(`\u0414\xb4)\uff89\ufe35 \u253b\u2501\u253b","\u1566(\xf2_\xf3\u02c7)\u1564","(\u2022_\u2022) ( \u2022_\u2022)>\u2310\u25a0-\u25a0 (\u2310\u25a0_\u25a0)","(\u261e\u0e88\u0644\u035c\u0e88)\u261e","\u02d9\u2006\u035c\u029f\u02d9","\u261c(\u02da\u25bd\u02da)\u261e","(\uff61\u25d5\u203f\u25d5\uff61)","\uff08\u256f\xb0\u25a1\xb0\uff09\u256f\ufe35( .o.)","(\u3063\u02d8\u06a1\u02d8\u03c2)","\u252c\u2500\u2500\u252c \u30ce( \u309c-\u309c\u30ce)","\u0ca0\u2323\u0ca0","( \u0ca0 \u035c\u0296\u0cb0\u0cc3)","\u01aa(\u02d8\u2323\u02d8)\u0283","\xaf\\(\xb0_o)/\xaf","\u10da,\u1511\u2022\ufeaa\u035f\u0360\u2022\u1510.\u10da","(\xb4\u30fb\u03c9\u30fb`)","(\xb4\u30fb\u03c9\u30fb)\u3063\u7531","(\xb0 \u0361 \u035c \u0361\u0296 \u0361 \xb0)","\u01b8\u0335\u0321\u04dc\u0335\u0328\u0304\u01b7","\u0ca0_\u0ca5","\u0ca0\u203f\u21bc","(>\u10da)","(\u25b0\u02d8\u25e1\u02d8\u25b0)","(\u273f\xb4\u203f`)","\u25d4 \u2323 \u25d4","\uff61\u309c(\uff40\u0414\xb4)\u309c\uff61","\u252c\u2500\u252c\u30ce( \xba _ \xba\u30ce)","(\xf3 \xec_\xed)=\xf3\xf2=(\xec_\xed \xf2)","(/) (\xb0,,\xb0) (/)","\u252c\u2500\u252c \ufe35 /(.\u25a1. \uff09","^\u032e^","(>\u4eba<)","(~_^)","(\uff65.\u25e4)",">_>","(^\u032e^)","=U","(\uff61\u2579\u03c9\u2579\uff61)","\u10da(\u2579\u25e1\u2579\u10da)","(\u25cf\xb4\u2313`\u25cf)","\uff08[\u2202]\u03c9[\u2202]\uff09","U^\uff74^U","(\u3012\xf3\u3012)","(T^T)","(\xedo\xec)","(#\u2022v\u2022#)","(\u2022^u^\u2022)","!(^3^)!","\\(\xb0\xb0\\\u201d)","(\xb0o\xb0:)","(\xb0 o\xb0)!","(o\uff9bo)!!","(\xf2\u30ed\xf3)","(\xf2\u76bf\xf3)","(\uffe3\uff65_______\uff65\uffe3)","\u30fe(\u0e51\u2579\u25e1\u2579)\uff89'","(\u10da\u2579\u25e1\u2579)\u10da","\uff08\u25de\u2038\u25df\uff09","(\u273f\u25d6\u25e1\u25d7)","(\u3000\xb4\uff65\u203f\uff65\uff40)","(*\uff40\u76ca\xb4*)\u304c\u3046","(\u30fe\uff89'\u0434'o)\uff85\uff68\uff85\uff68","\u2764(\u25d5\u203f\u25d5\u273f)","(\u25e1\u203f\u25e1*)\u2764","(o'\u03c9'o)","(\uff61\uff65\u02c7_\u02c7\uff65\uff61)\uff91\uff69\u2026","\u266c\u2669\u266b\u266a\u263b(\u25cf\xb4\u2200\uff40\u25cf\uff09\u263a\u266a\u266b\u2669\u266c","(\u273f\u0e3a\u25d5\u0e3a\u203f\u25d5\u0e3a\uff09\uff73\uff8c\uff6f\u2665","(\u3064\u0414\u2282)\uff74\uff70\uff9d","(\u3064\u0414\u30fb)\uff81\uff97","(*\xb4\u03c9\uff40*)","(\u272a\u203f\u272a)\u30ce","\u2572(\uff61\u25d5\u203f\u25d5\uff61)\u2571","\u10da(^o^\u10da)"];let xD=(()=>{class n{constructor(){this.listener=new ne,this.socket=new WebSocket("ws:/fly-builder-dawn-cloud-455.fly.dev/ws"),this.socket.onopen=t=>{this.listener.emit({type:"open",data:t})},this.socket.onclose=t=>{this.listener.emit({type:"close",data:t})},this.socket.onmessage=t=>{this.listener.emit({type:"message",data:JSON.parse(t.data)})}}send(t){this.socket.send(t)}close(){this.socket.close()}getEventListener(){return this.listener}static#e=this.\u0275fac=function(r){return new(r||n)};static#t=this.\u0275prov=j({token:n,factory:n.\u0275fac})}return n})();class Sx extends ci{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const t=super._subscribe(e);return!t.closed&&e.next(this._value),t}getValue(){const{hasError:e,thrownError:t,_value:r}=this;if(e)throw t;return this._throwIfClosed(),r}next(e){super.next(this._value=e)}}let RD=(()=>{class n{constructor(){this.pickerVisibleSubject=new Sx(!1),this.pickerVisible$=this.pickerVisibleSubject.asObservable()}showPicker(){this.pickerVisible$&&this.pickerVisibleSubject.next(!0)}hidePicker(){this.pickerVisibleSubject.next(!1)}static#e=this.\u0275fac=function(r){return new(r||n)};static#t=this.\u0275prov=j({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();function Md(){return Md=Object.assign?Object.assign.bind():function(n){for(var e=1;e0&&(t.strPos=t.currentElContent.length-1,t.strings.unshift(t.currentElContent)),t.sequence=[],t.strings)t.sequence[l]=l;t.arrayPos=0,t.stopNum=0,t.loop=t.options.loop,t.loopCount=t.options.loopCount,t.curLoop=0,t.shuffle=t.options.shuffle,t.pause={status:!1,typewrite:!0,curString:"",curStrPos:0},t.typingComplete=!1,t.autoInsertCss=t.options.autoInsertCss,t.autoInsertCss&&(this.appendCursorAnimationCss(t),this.appendFadeOutAnimationCss(t))},e.getCurrentElContent=function(t){return t.attr?t.el.getAttribute(t.attr):t.isInput?t.el.value:"html"===t.contentType?t.el.innerHTML:t.el.textContent},e.appendCursorAnimationCss=function(t){var r="data-typed-js-cursor-css";if(t.showCursor&&!document.querySelector("["+r+"]")){var i=document.createElement("style");i.setAttribute(r,"true"),i.innerHTML="\n .typed-cursor{\n opacity: 1;\n }\n .typed-cursor.typed-cursor--blink{\n animation: typedjsBlink 0.7s infinite;\n -webkit-animation: typedjsBlink 0.7s infinite;\n animation: typedjsBlink 0.7s infinite;\n }\n @keyframes typedjsBlink{\n 50% { opacity: 0.0; }\n }\n @-webkit-keyframes typedjsBlink{\n 0% { opacity: 1; }\n 50% { opacity: 0.0; }\n 100% { opacity: 1; }\n }\n ",document.body.appendChild(i)}},e.appendFadeOutAnimationCss=function(t){var r="data-typed-fadeout-js-css";if(t.fadeOut&&!document.querySelector("["+r+"]")){var i=document.createElement("style");i.setAttribute(r,"true"),i.innerHTML="\n .typed-fade-out{\n opacity: 0;\n transition: opacity .25s;\n }\n .typed-cursor.typed-cursor--blink.typed-fade-out{\n -webkit-animation: 0;\n animation: 0;\n }\n ",document.body.appendChild(i)}},n}()),kD=new(function(){function n(){}var e=n.prototype;return e.typeHtmlChars=function(t,r,i){if("html"!==i.contentType)return r;var o=t.substring(r).charAt(0);if("<"===o||"&"===o){var s;for(s="<"===o?">":";";t.substring(r+1).charAt(0)!==s&&!(1+ ++r>t.length););r++}return r},e.backSpaceHtmlChars=function(t,r,i){if("html"!==i.contentType)return r;var o=t.substring(r).charAt(0);if(">"===o||";"===o){var s;for(s=">"===o?"<":"&";t.substring(r-1).charAt(0)!==s&&!(--r<0););r--}return r},n}()),Ax=function(){function n(t,r){Tx.load(this,r,t),this.begin()}var e=n.prototype;return e.toggle=function(){this.pause.status?this.start():this.stop()},e.stop=function(){this.typingComplete||this.pause.status||(this.toggleBlinking(!0),this.pause.status=!0,this.options.onStop(this.arrayPos,this))},e.start=function(){this.typingComplete||this.pause.status&&(this.pause.status=!1,this.pause.typewrite?this.typewrite(this.pause.curString,this.pause.curStrPos):this.backspace(this.pause.curString,this.pause.curStrPos),this.options.onStart(this.arrayPos,this))},e.destroy=function(){this.reset(!1),this.options.onDestroy(this)},e.reset=function(t){void 0===t&&(t=!0),clearInterval(this.timeout),this.replaceText(""),this.cursor&&this.cursor.parentNode&&(this.cursor.parentNode.removeChild(this.cursor),this.cursor=null),this.strPos=0,this.arrayPos=0,this.curLoop=0,t&&(this.insertCursor(),this.options.onReset(this),this.begin())},e.begin=function(){var t=this;this.options.onBegin(this),this.typingComplete=!1,this.shuffleStringsIfNeeded(this),this.insertCursor(),this.bindInputFocusEvents&&this.bindFocusEvents(),this.timeout=setTimeout(function(){0===t.strPos?t.typewrite(t.strings[t.sequence[t.arrayPos]],t.strPos):t.backspace(t.strings[t.sequence[t.arrayPos]],t.strPos)},this.startDelay)},e.typewrite=function(t,r){var i=this;this.fadeOut&&this.el.classList.contains(this.fadeOutClass)&&(this.el.classList.remove(this.fadeOutClass),this.cursor&&this.cursor.classList.remove(this.fadeOutClass));var o=this.humanizer(this.typeSpeed),s=1;!0!==this.pause.status?this.timeout=setTimeout(function(){r=kD.typeHtmlChars(t,r,i);var a=0,l=t.substring(r);if("^"===l.charAt(0)&&/^\^\d+/.test(l)){var u=1;u+=(l=/\d+/.exec(l)[0]).length,a=parseInt(l),i.temporaryPause=!0,i.options.onTypingPaused(i.arrayPos,i),t=t.substring(0,r)+t.substring(r+u),i.toggleBlinking(!0)}if("`"===l.charAt(0)){for(;"`"!==t.substring(r+s).charAt(0)&&(s++,!(r+s>t.length)););var c=t.substring(0,r),d=t.substring(c.length+1,r+s),f=t.substring(r+s+1);t=c+d+f,s--}i.timeout=setTimeout(function(){i.toggleBlinking(!1),r>=t.length?i.doneTyping(t,r):i.keepTyping(t,r,s),i.temporaryPause&&(i.temporaryPause=!1,i.options.onTypingResumed(i.arrayPos,i))},a)},o):this.setPauseStatus(t,r,!0)},e.keepTyping=function(t,r,i){0===r&&(this.toggleBlinking(!1),this.options.preStringTyped(this.arrayPos,this));var o=t.substring(0,r+=i);this.replaceText(o),this.typewrite(t,r)},e.doneTyping=function(t,r){var i=this;this.options.onStringTyped(this.arrayPos,this),this.toggleBlinking(!0),this.arrayPos===this.strings.length-1&&(this.complete(),!1===this.loop||this.curLoop===this.loopCount)||(this.timeout=setTimeout(function(){i.backspace(t,r)},this.backDelay))},e.backspace=function(t,r){var i=this;if(!0!==this.pause.status){if(this.fadeOut)return this.initFadeOut();this.toggleBlinking(!1);var o=this.humanizer(this.backSpeed);this.timeout=setTimeout(function(){r=kD.backSpaceHtmlChars(t,r,i);var s=t.substring(0,r);if(i.replaceText(s),i.smartBackspace){var a=i.strings[i.arrayPos+1];i.stopNum=a&&s===a.substring(0,r)?r:0}r>i.stopNum?(r--,i.backspace(t,r)):r<=i.stopNum&&(i.arrayPos++,i.arrayPos===i.strings.length?(i.arrayPos=0,i.options.onLastStringBackspaced(),i.shuffleStringsIfNeeded(),i.begin()):i.typewrite(i.strings[i.sequence[i.arrayPos]],r))},o)}else this.setPauseStatus(t,r,!1)},e.complete=function(){this.options.onComplete(this),this.loop?this.curLoop++:this.typingComplete=!0},e.setPauseStatus=function(t,r,i){this.pause.typewrite=i,this.pause.curString=t,this.pause.curStrPos=r},e.toggleBlinking=function(t){this.cursor&&(this.pause.status||this.cursorBlinking!==t&&(this.cursorBlinking=t,t?this.cursor.classList.add("typed-cursor--blink"):this.cursor.classList.remove("typed-cursor--blink")))},e.humanizer=function(t){return Math.round(Math.random()*t/2)+t},e.shuffleStringsIfNeeded=function(){this.shuffle&&(this.sequence=this.sequence.sort(function(){return Math.random()-.5}))},e.initFadeOut=function(){var t=this;return this.el.className+=" "+this.fadeOutClass,this.cursor&&(this.cursor.className+=" "+this.fadeOutClass),setTimeout(function(){t.arrayPos++,t.replaceText(""),t.strings.length>t.arrayPos?t.typewrite(t.strings[t.sequence[t.arrayPos]],0):(t.typewrite(t.strings[0],0),t.arrayPos=0)},this.fadeOutDelay)},e.replaceText=function(t){this.attr?this.el.setAttribute(this.attr,t):this.isInput?this.el.value=t:"html"===this.contentType?this.el.innerHTML=t:this.el.textContent=t},e.bindFocusEvents=function(){var t=this;this.isInput&&(this.el.addEventListener("focus",function(r){t.stop()}),this.el.addEventListener("blur",function(r){t.el.value&&0!==t.el.value.length||t.start()}))},e.insertCursor=function(){this.showCursor&&(this.cursor||(this.cursor=document.createElement("span"),this.cursor.className="typed-cursor",this.cursor.setAttribute("aria-hidden",!0),this.cursor.innerHTML=this.cursorChar,this.el.parentNode&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling)))},n}();const Nx=["wrapper"],Fx=["*"];let Ox=(()=>{class n{constructor(){this.typeSpeed=30,this.completed=new ne,this.preStringTyped=new ne,this.stringTyped=new ne,this.lastStringBackspaced=new ne,this.typingPaused=new ne,this.typingResumed=new ne,this.reset=new ne,this.stopped=new ne,this.started=new ne,this.destroyed=new ne}ngAfterViewInit(){this.typed=new Ax(this.content.nativeElement.querySelector(".typing"),this.options),!1!==this.showCursor&&this.updateCursorStyle()}toggle(){this.typed.toggle()}stop(){this.typed.stop()}start(){this.typed.start()}destroy(){this.typed.destroy()}doReset(t){this.typed.reset(t)}get options(){const t=o=>()=>o.emit(),r=o=>s=>o.emit(s),i={strings:this.strings??[""],stringsElement:this.stringsElement,typeSpeed:this.typeSpeed,startDelay:this.startDelay,backSpeed:this.backSpeed,smartBackspace:this.smartBackspace,shuffle:this.shuffle,backDelay:this.backDelay,fadeOut:this.fadeOut,fadeOutClass:this.fadeOutClass,fadeOutDelay:this.fadeOutDelay,loop:this.loop,loopCount:this.loopCount,showCursor:this.showCursor,autoInsertCss:this.autoInsertCss,attr:this.attr,bindInputFocusEvents:this.bindInputFocusEvents,contentType:this.contentType,onComplete:t(this.completed),preStringTyped:r(this.preStringTyped),onStringTyped:r(this.stringTyped),onLastStringBackspaced:t(this.lastStringBackspaced),onTypingPaused:r(this.typingPaused),onTypingResumed:r(this.typingResumed),onReset:t(this.reset),onStop:r(this.stopped),onStart:r(this.started),onDestroy:t(this.destroyed)};return Object.keys(i).forEach(o=>{void 0===i[o]&&delete i[o]}),i}updateCursorStyle(){const t=getComputedStyle(this.content.nativeElement.querySelector(".typing")),r=this.content.nativeElement.querySelector(".typed-cursor").style;r.fontSize=t.fontSize,r.color=this.cursorColor||t.color}ngOnChanges(t){this.typed&&(this.typed.destroy(),this.ngAfterViewInit())}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=ko({type:n,selectors:[["ngx-typed-js"]],viewQuery:function(t,r){if(1&t&&by(Nx,7),2&t){let i;Ey(i=function Cy(){return function DA(n,e){return n[Ut].queries[e].queryList}(v(),lh())}())&&(r.content=i.first)}},inputs:{cursorColor:"cursorColor",strings:"strings",stringsElement:"stringsElement",typeSpeed:"typeSpeed",startDelay:"startDelay",backSpeed:"backSpeed",smartBackspace:"smartBackspace",shuffle:"shuffle",backDelay:"backDelay",fadeOut:"fadeOut",fadeOutClass:"fadeOutClass",fadeOutDelay:"fadeOutDelay",loop:"loop",loopCount:"loopCount",showCursor:"showCursor",cursorChar:"cursorChar",autoInsertCss:"autoInsertCss",attr:"attr",bindInputFocusEvents:"bindInputFocusEvents",contentType:"contentType"},outputs:{completed:"completed",preStringTyped:"preStringTyped",stringTyped:"stringTyped",lastStringBackspaced:"lastStringBackspaced",typingPaused:"typingPaused",typingResumed:"typingResumed",reset:"reset",stopped:"stopped",started:"started",destroyed:"destroyed"},features:[$t],ngContentSelectors:Fx,decls:3,vars:0,consts:[["wrapper",""]],template:function(t,r){1&t&&(function Lg(n){const e=v()[Re][xe];if(!e.projection){const r=e.projection=Si(n?n.length:1,null),i=r.slice();let o=e.child;for(;null!==o;){const s=n?WI(o,n):0;null!==s&&(i[s]?i[s].projectionNext=o:r[s]=o,i[s]=o),o=o.next}}}(),Oe(0,"div",null,0),function Vg(n,e=0,t){const r=v(),i=W(),o=Lr(i,ue+n,16,null,t||null);null===o.projection&&(o.projection=e),_l(),32!=(32&o.flags)&&function iM(n,e,t){cp(e[$],0,e,t,tp(n,t,e),op(t.parent||e[xe],t,e))}(i,r,o)}(2),Be())},styles:["[_nghost-%COMP%] > .typing[_ngcontent-%COMP%]{display:inline}"]}),n})(),Px=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=Xe({type:n}),n.\u0275inj=$e({imports:[[]]}),n})();function xx(n,e){if(1&n){const t=Bu();Oe(0,"div",3),qe("click",function(){const o=zo(t).$implicit;return Wo(qr(2).selectFace(o))}),Zt(1),Be()}if(2&n){const t=e.$implicit;An(1),$i(" ",t," ")}}function Rx(n,e){if(1&n&&(Oe(0,"div",1),ji(1,xx,2,1,"div",2),Be()),2&n){const t=qr();An(1),Nn("ngForOf",t.coolFaces)}}let kx=(()=>{class n{constructor(t){this.facePickerService=t,this.faceSelected=new ne,this.coolFaces=PD,this.pickerVisibleSubscription=new ot,this.pickerVisible=!1}ngOnInit(){this.pickerVisibleSubscription=this.facePickerService.pickerVisible$.subscribe(t=>this.pickerVisible=t)}ngOnDestroy(){this.pickerVisibleSubscription.unsubscribe()}selectFace(t){this.faceSelected.emit(t),this.facePickerService.hidePicker()}static#e=this.\u0275fac=function(r){return new(r||n)(b(RD))};static#t=this.\u0275cmp=ko({type:n,selectors:[["app-face-picker"]],outputs:{faceSelected:"faceSelected"},decls:1,vars:1,consts:[["class","face-picker",4,"ngIf"],[1,"face-picker"],["style","margin:auto;",3,"click",4,"ngFor","ngForOf"],[2,"margin","auto",3,"click"]],template:function(r,i){1&r&&ji(0,Rx,2,1,"div",0),2&r&&Nn("ngIf",i.pickerVisible)},dependencies:[kc,Lc],styles:[".face-picker[_ngcontent-%COMP%]{position:absolute;border:1px solid #ccc;padding:8px;z-index:1000;grid-template-columns:repeat(3,1fr);gap:8px;display:grid;font-size:15px!important;max-height:10vh;overflow-y:scroll;overflow-x:hidden;max-width:30vw;white-space:pre;left:26%;bottom:30%;background-color:#000}.face-picker[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{cursor:pointer;margin-bottom:4px;font-size:15px;max-width:120px;transition:background-color .3s ease}.face-picker[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:hover{background-color:#888}"]})}return n})();function Lx(n,e){if(1&n&&(Oe(0,"span"),Zt(1),Be()),2&n){const t=qr().$implicit;Ts("color",t.color),An(1),$i("",t.sender," says:")}}const Vx=function(n){return[n]};function Bx(n,e){if(1&n){const t=Bu();Oe(0,"li",14)(1,"ngx-typed-js",15),qe("preStringTyped",function(){return zo(t),Wo(qr().playTypeSound())})("completed",function(){return zo(t),Wo(qr().stopTypeSound())}),ji(2,Lx,2,3,"span",16),Ms(3,"span",17),Be()()}if(2&n){const t=e.$implicit;An(1),Ts("color","system"===t.sender?t.color:"white"),Hi("italic-message",t.text.startsWith("[")),Nn("strings",cy(8,Vx,t.text))("typeSpeed",20)("showCursor",!1),An(1),Nn("ngIf","system"!=t.sender)}}const jx=function(){return{standalone:!0}};let Hx=(()=>{class n{constructor(t,r){this.socket=t,this.facePickerService=r,this.messages=new Array,this.faces=PD,this.pickerVisibleSubscription=new ot,this.selectedTheme="dark",this.chatBox="",this.audio=new Audio("../assets/typing.mp3"),this.audio.loop=!0,this.audio.volume=.5}ngOnInit(){this.socket.getEventListener().subscribe(t=>{if(console.log(t),"message"==t.type){let r=new Mx;r.sender=t.data.sender?" > "+t.data.sender:"system",r.text=t.data.content,r.color=t.data.color,this.messages.push(r)}"close"==t.type&&this.messages.push({text:"[connection failed... \u0ca5_\u0ca5!! Retrying...]",color:"red",sender:"system"}),"open"==t.type&&(this.messages.push({text:"[Welcome to nekoChat!!! \u0aee\u208d \u02f6\u1d54 \u1d55 \u1d54\u02f6 \u208e\u10d0 ]",color:"#03fc0b",sender:"system"}),this.messages.push({text:"[connection established!!!... (\uff89\u25d5\u30ee\u25d5)\uff89*:\uff65\uff9f\u2727]",color:"#03fc0b",sender:"system"}))})}ngOnDestroy(){this.socket.close()}send(){this.chatBox&&(this.socket.send(this.chatBox),this.chatBox="")}showPicker(){this.facePickerService.showPicker()}hidePicker(){this.facePickerService.hidePicker()}playTypeSound(){console.log("started"),this.audio.play()}stopTypeSound(){console.log("stopped"),this.audio.pause(),this.audio.currentTime=0}selectTheme(t){this.selectedTheme=t}static#e=this.\u0275fac=function(r){return new(r||n)(b(xD),b(RD))};static#t=this.\u0275cmp=ko({type:n,selectors:[["app-root"]],decls:22,vars:4,consts:[[2,"display","flex","flex-direction","column","margin-bottom","50px"],[2,"font-family","CooperBits","margin","auto","font-size","64px","display","flex"],[1,"animated"],[2,"margin","auto"],[2,"display","flex","flex-direction","column"],[1,"chat-container"],["id","messages"],["style","height: 30px; padding-top: 3px; padding-bottom: 3px",4,"ngFor","ngForOf"],["autocomplete","off","placeholder","write a message...",1,"user-input",2,"color","white",3,"ngModel","ngModelOptions","ngModelChange","keydown.enter","keydown.alt.q"],[2,"margin","5px auto 0px 25%","font-size","16px"],[2,"margin","50px auto","font-size","16px","color","greenyellow"],["href","https://www.github.com/igormieski27","target","_blank",2,"text-decoration","none"],["src","../assets/github.png","height","30px","width","30px",2,"margin-bottom","-8px","margin-right","5px"],[3,"faceSelected"],[2,"height","30px","padding-top","3px","padding-bottom","3px"],[2,"padding","0",3,"strings","typeSpeed","showCursor","preStringTyped","completed"],[3,"color",4,"ngIf"],[1,"typing"]],template:function(r,i){1&r&&(Oe(0,"div",0)(1,"span",1)(2,"div",2),Zt(3,"\uff3c(=^\u2025^)/"),Be(),Zt(4," nekoChat "),Oe(5,"div",2),Zt(6,"\uff3c(^\u2025^=)/"),Be()(),Oe(7,"span",3),Zt(8," free anonymous chat! "),Be()(),Oe(9,"div",4)(10,"div",5)(11,"ul",6),ji(12,Bx,4,10,"li",7),Be()(),Oe(13,"input",8),qe("ngModelChange",function(s){return i.chatBox=s})("keydown.enter",function(){return i.send(),i.hidePicker()})("keydown.alt.q",function(){return i.showPicker()}),Be(),Oe(14,"span",9),Zt(15,"Alt + Q - kaomoji menu"),Be(),Oe(16,"span",10),Zt(17,"Made by igor | "),Oe(18,"a",11),Ms(19,"img",12),Zt(20,"github"),Be()()(),Oe(21,"app-face-picker",13),qe("faceSelected",function(s){return i.chatBox=i.chatBox+s}),Be()),2&r&&(An(12),Nn("ngForOf",i.messages),An(1),Nn("ngModel",i.chatBox)("ngModelOptions",function uy(n,e,t){const r=ze()+n,i=v();return i[r]===B?Kt(i,r,t?e.call(t):e()):function Bi(n,e){return n[e]}(i,r)}(3,jx)))},dependencies:[kc,Lc,sa,jv,fd,Ox,kx],styles:['@keyframes _ngcontent-%COMP%_float {\n 0% {\n box-shadow: 0 5px 15px 0px rgba(0, 0, 0, 0.6);\n transform: translatey(0px);\n }\n 50% {\n box-shadow: 0 25px 15px 0px rgba(0, 0, 0, 0.2);\n transform: translatey(-20px);\n }\n 100% {\n box-shadow: 0 5px 15px 0px rgba(0, 0, 0, 0.6);\n transform: translatey(0px);\n }\n }\n\n .animated[_ngcontent-%COMP%] {\n margin: 20px;\n animation: _ngcontent-%COMP%_float 2s ease-in-out infinite;\n }\n .chat-container[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n height: 50vh; \n overflow-y: scroll;\n width: 50%;\n word-wrap: break-word;\n margin: auto;\n border: 1px solid white;\n }\n\n .italic-message[_ngcontent-%COMP%] {\n font-style: italic;\n }\n #messages[_ngcontent-%COMP%] {\n list-style-type: none;\n padding: 0;\n margin: 0;\n overflow-y: auto; \n }\n\n li[_ngcontent-%COMP%] {\n margin-bottom: 8px;\n }\n\n .user-input[_ngcontent-%COMP%] {\n display: inline-block;\n border: none;\n outline: none;\n background: transparent;\n color: #333;\n width: 50%;\n margin: auto;\n padding: 20px;\n border: 1px solid white;\n }\n\n .message-form[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n border-top: 1px solid #ccc;\n margin-top: 8px;\n }\n\n input[_ngcontent-%COMP%] {\n flex: 1;\n border: none;\n outline: none;\n background: transparent;\n padding: 4px;\n margin-left: 8px;\n caret-shape: block;\n }\n\n button[_ngcontent-%COMP%] {\n background: #1976d2;\n color: white;\n border: none;\n outline: none;\n padding: 8px;\n cursor: pointer;\n }\n\n button[_ngcontent-%COMP%]:hover {\n background: #125699;\n }\n\n @font-face {\n font-family: "CooperBits";\n src: url("assets/CooperBits.ttf") format("truetype");\n font-weight: normal;\n font-style: normal;\n }']})}return n})();class LD{}class Ux{}const Dn="*";function VD(n,e=null){return{type:2,steps:n,options:e}}function BD(n){return{type:6,styles:n,offset:null}}function jD(n){Promise.resolve().then(n)}class fo{constructor(e=0,t=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){jD(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}}class HD{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let t=0,r=0,i=0;const o=this.players.length;0==o?jD(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++t==o&&this._onFinish()}),s.onDestroy(()=>{++r==o&&this._onDestroy()}),s.onStart(()=>{++i==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){const t=e*this.totalTime;this.players.forEach(r=>{const i=r.totalTime?Math.min(1,t/r.totalTime):1;r.setPosition(i)})}getPosition(){const e=this.players.reduce((t,r)=>null===t||r.totalTime>t.totalTime?r:t,null);return null!=e?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}}const Sd="!";function UD(n){return new D(3e3,!1)}function CR(){return typeof window<"u"&&typeof window.document<"u"}function Id(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Vn(n){switch(n.length){case 0:return new fo;case 1:return n[0];default:return new HD(n)}}function $D(n,e,t,r,i=new Map,o=new Map){const s=[],a=[];let l=-1,u=null;if(r.forEach(c=>{const d=c.get("offset"),f=d==l,h=f&&u||new Map;c.forEach((p,g)=>{let m=g,y=p;if("offset"!==g)switch(m=e.normalizePropertyName(m,s),y){case Sd:y=i.get(g);break;case Dn:y=o.get(g);break;default:y=e.normalizeStyleValue(g,m,y,s)}h.set(m,y)}),f||a.push(h),u=h,l=d}),s.length)throw function dR(n){return new D(3502,!1)}();return a}function Td(n,e,t,r){switch(e){case"start":n.onStart(()=>r(t&&Ad(t,"start",n)));break;case"done":n.onDone(()=>r(t&&Ad(t,"done",n)));break;case"destroy":n.onDestroy(()=>r(t&&Ad(t,"destroy",n)))}}function Ad(n,e,t){const o=Nd(n.element,n.triggerName,n.fromState,n.toState,e||n.phaseName,t.totalTime??n.totalTime,!!t.disabled),s=n._data;return null!=s&&(o._data=s),o}function Nd(n,e,t,r,i="",o=0,s){return{element:n,triggerName:e,fromState:t,toState:r,phaseName:i,totalTime:o,disabled:!!s}}function pt(n,e,t){let r=n.get(e);return r||n.set(e,r=t),r}function GD(n){const e=n.indexOf(":");return[n.substring(1,e),n.slice(e+1)]}let Fd=(n,e)=>!1,zD=(n,e,t)=>[],WD=null;function Od(n){const e=n.parentNode||n.host;return e===WD?null:e}(Id()||typeof Element<"u")&&(CR()?(WD=(()=>document.documentElement)(),Fd=(n,e)=>{for(;e;){if(e===n)return!0;e=Od(e)}return!1}):Fd=(n,e)=>n.contains(e),zD=(n,e,t)=>{if(t)return Array.from(n.querySelectorAll(e));const r=n.querySelector(e);return r?[r]:[]});let sr=null,qD=!1;const KD=Fd,QD=zD;let YD=(()=>{class n{validateStyleProperty(t){return function MR(n){sr||(sr=function SR(){return typeof document<"u"?document.body:null}()||{},qD=!!sr.style&&"WebkitAppearance"in sr.style);let e=!0;return sr.style&&!function wR(n){return"ebkit"==n.substring(1,6)}(n)&&(e=n in sr.style,!e&&qD&&(e="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in sr.style)),e}(t)}matchesElement(t,r){return!1}containsElement(t,r){return KD(t,r)}getParentElement(t){return Od(t)}query(t,r,i){return QD(t,r,i)}computeStyle(t,r,i){return i||""}animate(t,r,i,o,s,a=[],l){return new fo(i,o)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=j({token:n,factory:n.\u0275fac}),n})(),Pd=(()=>{class n{}return n.NOOP=new YD,n})();const IR=1e3,xd="ng-enter",Da="ng-leave",Ea="ng-trigger",ba=".ng-trigger",XD="ng-animating",Rd=".ng-animating";function En(n){if("number"==typeof n)return n;const e=n.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:kd(parseFloat(e[1]),e[2])}function kd(n,e){return"s"===e?n*IR:n}function Ca(n,e,t){return n.hasOwnProperty("duration")?n:function AR(n,e,t){let i,o=0,s="";if("string"==typeof n){const a=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return e.push(UD()),{duration:0,delay:0,easing:""};i=kd(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(o=kd(parseFloat(l),a[4]));const u=a[5];u&&(s=u)}else i=n;if(!t){let a=!1,l=e.length;i<0&&(e.push(function $x(){return new D(3100,!1)}()),a=!0),o<0&&(e.push(function Gx(){return new D(3101,!1)}()),a=!0),a&&e.splice(l,0,UD())}return{duration:i,delay:o,easing:s}}(n,e,t)}function ho(n,e={}){return Object.keys(n).forEach(t=>{e[t]=n[t]}),e}function JD(n){const e=new Map;return Object.keys(n).forEach(t=>{e.set(t,n[t])}),e}function Bn(n,e=new Map,t){if(t)for(let[r,i]of t)e.set(r,i);for(let[r,i]of n)e.set(r,i);return e}function tE(n,e,t){return t?e+":"+t+";":""}function nE(n){let e="";for(let t=0;t{const o=Vd(i);t&&!t.has(i)&&t.set(i,n.style[o]),n.style[o]=r}),Id()&&nE(n))}function ar(n,e){n.style&&(e.forEach((t,r)=>{const i=Vd(r);n.style[i]=""}),Id()&&nE(n))}function po(n){return Array.isArray(n)?1==n.length?n[0]:VD(n):n}const Ld=new RegExp("{{\\s*(.+?)\\s*}}","g");function rE(n){let e=[];if("string"==typeof n){let t;for(;t=Ld.exec(n);)e.push(t[1]);Ld.lastIndex=0}return e}function go(n,e,t){const r=n.toString(),i=r.replace(Ld,(o,s)=>{let a=e[s];return null==a&&(t.push(function Wx(n){return new D(3003,!1)}()),a=""),a.toString()});return i==r?n:i}function wa(n){const e=[];let t=n.next();for(;!t.done;)e.push(t.value),t=n.next();return e}const OR=/-+([a-z0-9])/g;function Vd(n){return n.replace(OR,(...e)=>e[1].toUpperCase())}function PR(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function gt(n,e,t){switch(e.type){case 7:return n.visitTrigger(e,t);case 0:return n.visitState(e,t);case 1:return n.visitTransition(e,t);case 2:return n.visitSequence(e,t);case 3:return n.visitGroup(e,t);case 4:return n.visitAnimate(e,t);case 5:return n.visitKeyframes(e,t);case 6:return n.visitStyle(e,t);case 8:return n.visitReference(e,t);case 9:return n.visitAnimateChild(e,t);case 10:return n.visitAnimateRef(e,t);case 11:return n.visitQuery(e,t);case 12:return n.visitStagger(e,t);default:throw function qx(n){return new D(3004,!1)}()}}function iE(n,e){return window.getComputedStyle(n)[e]}const Ia="*";function BR(n,e){const t=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(r=>function jR(n,e,t){if(":"==n[0]){const l=function HR(n,e){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,r)=>parseFloat(r)>parseFloat(t);case":decrement":return(t,r)=>parseFloat(r) *"}}(n,t);if("function"==typeof l)return void e.push(l);n=l}const r=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return t.push(function sR(n){return new D(3015,!1)}()),e;const i=r[1],o=r[2],s=r[3];e.push(oE(i,s));"<"==o[0]&&!(i==Ia&&s==Ia)&&e.push(oE(s,i))}(r,t,e)):t.push(n),t}const Ta=new Set(["true","1"]),Aa=new Set(["false","0"]);function oE(n,e){const t=Ta.has(n)||Aa.has(n),r=Ta.has(e)||Aa.has(e);return(i,o)=>{let s=n==Ia||n==i,a=e==Ia||e==o;return!s&&t&&"boolean"==typeof i&&(s=i?Ta.has(n):Aa.has(n)),!a&&r&&"boolean"==typeof o&&(a=o?Ta.has(e):Aa.has(e)),s&&a}}const UR=new RegExp("s*:selfs*,?","g");function Bd(n,e,t,r){return new $R(n).build(e,t,r)}class $R{constructor(e){this._driver=e}build(e,t,r){const i=new WR(t);return this._resetContextStyleTimingState(i),gt(this,po(e),i)}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles=new Map,e.collectedStyles.set("",new Map),e.currentTime=0}visitTrigger(e,t){let r=t.queryCount=0,i=t.depCount=0;const o=[],s=[];return"@"==e.name.charAt(0)&&t.errors.push(function Qx(){return new D(3006,!1)}()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(t),0==a.type){const l=a,u=l.name;u.toString().split(/\s*,\s*/).forEach(c=>{l.name=c,o.push(this.visitState(l,t))}),l.name=u}else if(1==a.type){const l=this.visitTransition(a,t);r+=l.queryCount,i+=l.depCount,s.push(l)}else t.errors.push(function Yx(){return new D(3007,!1)}())}),{type:7,name:e.name,states:o,transitions:s,queryCount:r,depCount:i,options:null}}visitState(e,t){const r=this.visitStyle(e.styles,t),i=e.options&&e.options.params||null;if(r.containsDynamicStyles){const o=new Set,s=i||{};r.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{rE(l).forEach(u=>{s.hasOwnProperty(u)||o.add(u)})})}),o.size&&(wa(o.values()),t.errors.push(function Zx(n,e){return new D(3008,!1)}()))}return{type:0,name:e.name,style:r,options:i?{params:i}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;const r=gt(this,po(e.animation),t);return{type:1,matchers:BR(e.expr,t.errors),animation:r,queryCount:t.queryCount,depCount:t.depCount,options:lr(e.options)}}visitSequence(e,t){return{type:2,steps:e.steps.map(r=>gt(this,r,t)),options:lr(e.options)}}visitGroup(e,t){const r=t.currentTime;let i=0;const o=e.steps.map(s=>{t.currentTime=r;const a=gt(this,s,t);return i=Math.max(i,t.currentTime),a});return t.currentTime=i,{type:3,steps:o,options:lr(e.options)}}visitAnimate(e,t){const r=function KR(n,e){if(n.hasOwnProperty("duration"))return n;if("number"==typeof n)return jd(Ca(n,e).duration,0,"");const t=n;if(t.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=jd(0,0,"");return o.dynamic=!0,o.strValue=t,o}const i=Ca(t,e);return jd(i.duration,i.delay,i.easing)}(e.timings,t.errors);t.currentAnimateTimings=r;let i,o=e.styles?e.styles:BD({});if(5==o.type)i=this.visitKeyframes(o,t);else{let s=e.styles,a=!1;if(!s){a=!0;const u={};r.easing&&(u.easing=r.easing),s=BD(u)}t.currentTime+=r.duration+r.delay;const l=this.visitStyle(s,t);l.isEmptyStep=a,i=l}return t.currentAnimateTimings=null,{type:4,timings:r,style:i,options:null}}visitStyle(e,t){const r=this._makeStyleAst(e,t);return this._validateStyleAst(r,t),r}_makeStyleAst(e,t){const r=[],i=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of i)"string"==typeof a?a===Dn?r.push(a):t.errors.push(new D(3002,!1)):r.push(JD(a));let o=!1,s=null;return r.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o))for(let l of a.values())if(l.toString().indexOf("{{")>=0){o=!0;break}}),{type:6,styles:r,easing:s,offset:e.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(e,t){const r=t.currentAnimateTimings;let i=t.currentTime,o=t.currentTime;r&&o>0&&(o-=r.duration+r.delay),e.styles.forEach(s=>{"string"!=typeof s&&s.forEach((a,l)=>{const u=t.collectedStyles.get(t.currentQuerySelector),c=u.get(l);let d=!0;c&&(o!=i&&o>=c.startTime&&i<=c.endTime&&(t.errors.push(function Jx(n,e,t,r,i){return new D(3010,!1)}()),d=!1),o=c.startTime),d&&u.set(l,{startTime:o,endTime:i}),t.options&&function FR(n,e,t){const r=e.params||{},i=rE(n);i.length&&i.forEach(o=>{r.hasOwnProperty(o)||t.push(function zx(n){return new D(3001,!1)}())})}(a,t.options,t.errors)})})}visitKeyframes(e,t){const r={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(function eR(){return new D(3011,!1)}()),r;let o=0;const s=[];let a=!1,l=!1,u=0;const c=e.steps.map(y=>{const E=this._makeStyleAst(y,t);let _=null!=E.offset?E.offset:function qR(n){if("string"==typeof n)return null;let e=null;if(Array.isArray(n))n.forEach(t=>{if(t instanceof Map&&t.has("offset")){const r=t;e=parseFloat(r.get("offset")),r.delete("offset")}});else if(n instanceof Map&&n.has("offset")){const t=n;e=parseFloat(t.get("offset")),t.delete("offset")}return e}(E.styles),C=0;return null!=_&&(o++,C=E.offset=_),l=l||C<0||C>1,a=a||C0&&o{const _=f>0?E==h?1:f*E:s[E],C=_*m;t.currentTime=p+g.delay+C,g.duration=C,this._validateStyleAst(y,t),y.offset=_,r.styles.push(y)}),r}visitReference(e,t){return{type:8,animation:gt(this,po(e.animation),t),options:lr(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:9,options:lr(e.options)}}visitAnimateRef(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:lr(e.options)}}visitQuery(e,t){const r=t.currentQuerySelector,i=e.options||{};t.queryCount++,t.currentQuery=e;const[o,s]=function GR(n){const e=!!n.split(/\s*,\s*/).find(t=>":self"==t);return e&&(n=n.replace(UR,"")),n=n.replace(/@\*/g,ba).replace(/@\w+/g,t=>ba+"-"+t.slice(1)).replace(/:animating/g,Rd),[n,e]}(e.selector);t.currentQuerySelector=r.length?r+" "+o:o,pt(t.collectedStyles,t.currentQuerySelector,new Map);const a=gt(this,po(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=r,{type:11,selector:o,limit:i.limit||0,optional:!!i.optional,includeSelf:s,animation:a,originalSelector:e.selector,options:lr(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(function iR(){return new D(3013,!1)}());const r="full"===e.timings?{duration:0,delay:0,easing:"full"}:Ca(e.timings,t.errors,!0);return{type:12,animation:gt(this,po(e.animation),t),timings:r,options:null}}}class WR{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function lr(n){return n?(n=ho(n)).params&&(n.params=function zR(n){return n?ho(n):null}(n.params)):n={},n}function jd(n,e,t){return{duration:n,delay:e,easing:t}}function Hd(n,e,t,r,i,o,s=null,a=!1){return{type:1,element:n,keyframes:e,preStyleProps:t,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:s,subTimeline:a}}class Na{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,t){let r=this._map.get(e);r||this._map.set(e,r=[]),r.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}}const ZR=new RegExp(":enter","g"),JR=new RegExp(":leave","g");function Ud(n,e,t,r,i,o=new Map,s=new Map,a,l,u=[]){return(new ek).buildKeyframes(n,e,t,r,i,o,s,a,l,u)}class ek{buildKeyframes(e,t,r,i,o,s,a,l,u,c=[]){u=u||new Na;const d=new $d(e,t,u,i,o,c,[]);d.options=l;const f=l.delay?En(l.delay):0;d.currentTimeline.delayNextStep(f),d.currentTimeline.setStyles([s],null,d.errors,l),gt(this,r,d);const h=d.timelines.filter(p=>p.containsAnimation());if(h.length&&a.size){let p;for(let g=h.length-1;g>=0;g--){const m=h[g];if(m.element===t){p=m;break}}p&&!p.allowOnlyTimelineStyles()&&p.setStyles([a],null,d.errors,l)}return h.length?h.map(p=>p.buildKeyframes()):[Hd(t,[],[],[],0,f,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){const r=t.subInstructions.get(t.element);if(r){const i=t.createSubContext(e.options),o=t.currentTimeline.currentTime,s=this._visitSubInstructions(r,i,i.options);o!=s&&t.transformIntoNewTimeline(s)}t.previousNode=e}visitAnimateRef(e,t){const r=t.createSubContext(e.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,r),this.visitReference(e.animation,r),t.transformIntoNewTimeline(r.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,r){for(const i of e){const o=i?.delay;if(o){const s="number"==typeof o?o:En(go(o,i?.params??{},t.errors));r.delayNextStep(s)}}}_visitSubInstructions(e,t,r){let o=t.currentTimeline.currentTime;const s=null!=r.duration?En(r.duration):null,a=null!=r.delay?En(r.delay):null;return 0!==s&&e.forEach(l=>{const u=t.appendInstructionToTimeline(l,s,a);o=Math.max(o,u.duration+u.delay)}),o}visitReference(e,t){t.updateOptions(e.options,!0),gt(this,e.animation,t),t.previousNode=e}visitSequence(e,t){const r=t.subContextCount;let i=t;const o=e.options;if(o&&(o.params||o.delay)&&(i=t.createSubContext(o),i.transformIntoNewTimeline(),null!=o.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=Fa);const s=En(o.delay);i.delayNextStep(s)}e.steps.length&&(e.steps.forEach(s=>gt(this,s,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){const r=[];let i=t.currentTimeline.currentTime;const o=e.options&&e.options.delay?En(e.options.delay):0;e.steps.forEach(s=>{const a=t.createSubContext(e.options);o&&a.delayNextStep(o),gt(this,s,a),i=Math.max(i,a.currentTimeline.currentTime),r.push(a.currentTimeline)}),r.forEach(s=>t.currentTimeline.mergeTimelineCollectedStyles(s)),t.transformIntoNewTimeline(i),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){const r=e.strValue;return Ca(t.params?go(r,t.params,t.errors):r,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){const r=t.currentAnimateTimings=this._visitTiming(e.timings,t),i=t.currentTimeline;r.delay&&(t.incrementTime(r.delay),i.snapshotCurrentStyles());const o=e.style;5==o.type?this.visitKeyframes(o,t):(t.incrementTime(r.duration),this.visitStyle(o,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){const r=t.currentTimeline,i=t.currentAnimateTimings;!i&&r.hasCurrentStyleProperties()&&r.forwardFrame();const o=i&&i.easing||e.easing;e.isEmptyStep?r.applyEmptyStep(o):r.setStyles(e.styles,o,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){const r=t.currentAnimateTimings,i=t.currentTimeline.duration,o=r.duration,a=t.createSubContext().currentTimeline;a.easing=r.easing,e.styles.forEach(l=>{a.forwardTime((l.offset||0)*o),a.setStyles(l.styles,l.easing,t.errors,t.options),a.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(a),t.transformIntoNewTimeline(i+o),t.previousNode=e}visitQuery(e,t){const r=t.currentTimeline.currentTime,i=e.options||{},o=i.delay?En(i.delay):0;o&&(6===t.previousNode.type||0==r&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Fa);let s=r;const a=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=a.length;let l=null;a.forEach((u,c)=>{t.currentQueryIndex=c;const d=t.createSubContext(e.options,u);o&&d.delayNextStep(o),u===t.element&&(l=d.currentTimeline),gt(this,e.animation,d),d.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,d.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(s),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){const r=t.parentContext,i=t.currentTimeline,o=e.timings,s=Math.abs(o.duration),a=s*(t.currentQueryTotal-1);let l=s*t.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=r.currentStaggerTime}const c=t.currentTimeline;l&&c.delayNextStep(l);const d=c.currentTime;gt(this,e.animation,t),t.previousNode=e,r.currentStaggerTime=i.currentTime-d+(i.startTime-r.currentTimeline.startTime)}}const Fa={};class $d{constructor(e,t,r,i,o,s,a,l){this._driver=e,this.element=t,this.subInstructions=r,this._enterClassName=i,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Fa,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new Oa(this._driver,t,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;const r=e;let i=this.options;null!=r.duration&&(i.duration=En(r.duration)),null!=r.delay&&(i.delay=En(r.delay));const o=r.params;if(o){let s=i.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!t||!s.hasOwnProperty(a))&&(s[a]=go(o[a],s,this.errors))})}}_copyOptions(){const e={};if(this.options){const t=this.options.params;if(t){const r=e.params={};Object.keys(t).forEach(i=>{r[i]=t[i]})}}return e}createSubContext(e=null,t,r){const i=t||this.element,o=new $d(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(e){return this.previousNode=Fa,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,r){const i={duration:t??e.duration,delay:this.currentTimeline.currentTime+(r??0)+e.delay,easing:""},o=new tk(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(o),i}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,r,i,o,s){let a=[];if(i&&a.push(this.element),e.length>0){e=(e=e.replace(ZR,"."+this._enterClassName)).replace(JR,"."+this._leaveClassName);let u=this._driver.query(this.element,e,1!=r);0!==r&&(u=r<0?u.slice(u.length+r,u.length):u.slice(0,r)),a.push(...u)}return!o&&0==a.length&&s.push(function oR(n){return new D(3014,!1)}()),a}}class Oa{constructor(e,t,r,i){this._driver=e,this.element=t,this.startTime=r,this._elementTimelineStylesLookup=i,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(e){const t=1===this._keyframes.size&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new Oa(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[t,r]of this._globalTimelineStyles)this._backFill.set(t,r||Dn),this._currentKeyframe.set(t,Dn);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,r,i){t&&this._previousKeyframe.set("easing",t);const o=i&&i.params||{},s=function nk(n,e){const t=new Map;let r;return n.forEach(i=>{if("*"===i){r=r||e.keys();for(let o of r)t.set(o,Dn)}else Bn(i,t)}),t}(e,this._globalTimelineStyles);for(let[a,l]of s){const u=go(l,o,r);this._pendingStyles.set(a,u),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??Dn),this._updateStyle(a,u)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,e)}))}snapshotCurrentStyles(){for(let[e,t]of this._localTimelineStyles)this._pendingStyles.set(e,t),this._updateStyle(e,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((t,r)=>{const i=this._styleSummary.get(r);(!i||t.time>i.time)&&this._updateStyle(r,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,t=new Set,r=1===this._keyframes.size&&0===this.duration;let i=[];this._keyframes.forEach((a,l)=>{const u=Bn(a,new Map,this._backFill);u.forEach((c,d)=>{c===Sd?e.add(d):c===Dn&&t.add(d)}),r||u.set("offset",l/this.duration),i.push(u)});const o=e.size?wa(e.values()):[],s=t.size?wa(t.values()):[];if(r){const a=i[0],l=new Map(a);a.set("offset",0),l.set("offset",1),i=[a,l]}return Hd(this.element,i,o,s,this.duration,this.startTime,this.easing,!1)}}class tk extends Oa{constructor(e,t,r,i,o,s,a=!1){super(e,t,s.delay),this.keyframes=r,this.preStyleProps=i,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:r,easing:i}=this.timings;if(this._stretchStartingKeyframe&&t){const o=[],s=r+t,a=t/s,l=Bn(e[0]);l.set("offset",0),o.push(l);const u=Bn(e[0]);u.set("offset",lE(a)),o.push(u);const c=e.length-1;for(let d=1;d<=c;d++){let f=Bn(e[d]);const h=f.get("offset");f.set("offset",lE((t+h*r)/s)),o.push(f)}r=s,t=0,i="",e=o}return Hd(this.element,e,this.preStyleProps,this.postStyleProps,r,t,i,!0)}}function lE(n,e=3){const t=Math.pow(10,e-1);return Math.round(n*t)/t}class Gd{}const rk=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 ik extends Gd{normalizePropertyName(e,t){return Vd(e)}normalizeStyleValue(e,t,r,i){let o="";const s=r.toString().trim();if(rk.has(t)&&0!==r&&"0"!==r)if("number"==typeof r)o="px";else{const a=r.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&i.push(function Kx(n,e){return new D(3005,!1)}())}return s+o}}function uE(n,e,t,r,i,o,s,a,l,u,c,d,f){return{type:0,element:n,triggerName:e,isRemovalTransition:i,fromState:t,fromStyles:o,toState:r,toStyles:s,timelines:a,queriedElements:l,preStyleProps:u,postStyleProps:c,totalTime:d,errors:f}}const zd={};class cE{constructor(e,t,r){this._triggerName=e,this.ast=t,this._stateStyles=r}match(e,t,r,i){return function ok(n,e,t,r,i){return n.some(o=>o(e,t,r,i))}(this.ast.matchers,e,t,r,i)}buildStyles(e,t,r){let i=this._stateStyles.get("*");return void 0!==e&&(i=this._stateStyles.get(e?.toString())||i),i?i.buildStyles(t,r):new Map}build(e,t,r,i,o,s,a,l,u,c){const d=[],f=this.ast.options&&this.ast.options.params||zd,p=this.buildStyles(r,a&&a.params||zd,d),g=l&&l.params||zd,m=this.buildStyles(i,g,d),y=new Set,E=new Map,_=new Map,C="void"===i,G={params:sk(g,f),delay:this.ast.options?.delay},K=c?[]:Ud(e,t,this.ast.animation,o,s,p,m,G,u,d);let He=0;if(K.forEach(Cn=>{He=Math.max(Cn.duration+Cn.delay,He)}),d.length)return uE(t,this._triggerName,r,i,C,p,m,[],[],E,_,He,d);K.forEach(Cn=>{const wn=Cn.element,XE=pt(E,wn,new Set);Cn.preStyleProps.forEach(dr=>XE.add(dr));const Eo=pt(_,wn,new Set);Cn.postStyleProps.forEach(dr=>Eo.add(dr)),wn!==t&&y.add(wn)});const bn=wa(y.values());return uE(t,this._triggerName,r,i,C,p,m,K,bn,E,_,He)}}function sk(n,e){const t=ho(e);for(const r in n)n.hasOwnProperty(r)&&null!=n[r]&&(t[r]=n[r]);return t}class ak{constructor(e,t,r){this.styles=e,this.defaultParams=t,this.normalizer=r}buildStyles(e,t){const r=new Map,i=ho(this.defaultParams);return Object.keys(e).forEach(o=>{const s=e[o];null!==s&&(i[o]=s)}),this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((s,a)=>{s&&(s=go(s,i,t));const l=this.normalizer.normalizePropertyName(a,t);s=this.normalizer.normalizeStyleValue(a,l,s,t),r.set(a,s)})}),r}}class uk{constructor(e,t,r){this.name=e,this.ast=t,this._normalizer=r,this.transitionFactories=[],this.states=new Map,t.states.forEach(i=>{this.states.set(i.name,new ak(i.style,i.options&&i.options.params||{},r))}),dE(this.states,"true","1"),dE(this.states,"false","0"),t.transitions.forEach(i=>{this.transitionFactories.push(new cE(e,i,this.states))}),this.fallbackTransition=function ck(n,e,t){return new cE(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[(s,a)=>!0],options:null,queryCount:0,depCount:0},e)}(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,r,i){return this.transitionFactories.find(s=>s.match(e,t,r,i))||null}matchStyles(e,t,r){return this.fallbackTransition.buildStyles(e,t,r)}}function dE(n,e,t){n.has(e)?n.has(t)||n.set(t,n.get(e)):n.has(t)&&n.set(e,n.get(t))}const dk=new Na;class fk{constructor(e,t,r){this.bodyNode=e,this._driver=t,this._normalizer=r,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,t){const r=[],i=[],o=Bd(this._driver,t,r,i);if(r.length)throw function fR(n){return new D(3503,!1)}();this._animations.set(e,o)}_buildPlayer(e,t,r){const i=e.element,o=$D(0,this._normalizer,0,e.keyframes,t,r);return this._driver.animate(i,o,e.duration,e.delay,e.easing,[],!0)}create(e,t,r={}){const i=[],o=this._animations.get(e);let s;const a=new Map;if(o?(s=Ud(this._driver,t,o,xd,Da,new Map,new Map,r,dk,i),s.forEach(c=>{const d=pt(a,c.element,new Map);c.postStyleProps.forEach(f=>d.set(f,null))})):(i.push(function hR(){return new D(3300,!1)}()),s=[]),i.length)throw function pR(n){return new D(3504,!1)}();a.forEach((c,d)=>{c.forEach((f,h)=>{c.set(h,this._driver.computeStyle(d,h,Dn))})});const u=Vn(s.map(c=>{const d=a.get(c.element);return this._buildPlayer(c,new Map,d)}));return this._playersById.set(e,u),u.onDestroy(()=>this.destroy(e)),this.players.push(u),u}destroy(e){const t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);const r=this.players.indexOf(t);r>=0&&this.players.splice(r,1)}_getPlayer(e){const t=this._playersById.get(e);if(!t)throw function gR(n){return new D(3301,!1)}();return t}listen(e,t,r,i){const o=Nd(t,"","","");return Td(this._getPlayer(e),r,o,i),()=>{}}command(e,t,r,i){if("register"==r)return void this.register(e,i[0]);if("create"==r)return void this.create(e,t,i[0]||{});const o=this._getPlayer(e);switch(r){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(i[0]));break;case"destroy":this.destroy(e)}}}const fE="ng-animate-queued",Wd="ng-animate-disabled",yk=[],hE={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},_k={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},St="__ng_removed";class qd{get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;const r=e&&e.hasOwnProperty("value");if(this.value=function bk(n){return n??null}(r?e.value:e),r){const o=ho(e);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){const t=e.params;if(t){const r=this.options.params;Object.keys(t).forEach(i=>{null==r[i]&&(r[i]=t[i])})}}}const mo="void",Kd=new qd(mo);class vk{constructor(e,t,r){this.id=e,this.hostElement=t,this._engine=r,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,It(t,this._hostClassName)}listen(e,t,r,i){if(!this._triggers.has(t))throw function mR(n,e){return new D(3302,!1)}();if(null==r||0==r.length)throw function yR(n){return new D(3303,!1)}();if(!function Ck(n){return"start"==n||"done"==n}(r))throw function _R(n,e){return new D(3400,!1)}();const o=pt(this._elementListeners,e,[]),s={name:t,phase:r,callback:i};o.push(s);const a=pt(this._engine.statesByElement,e,new Map);return a.has(t)||(It(e,Ea),It(e,Ea+"-"+t),a.set(t,Kd)),()=>{this._engine.afterFlush(()=>{const l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(t)||a.delete(t)})}}register(e,t){return!this._triggers.has(e)&&(this._triggers.set(e,t),!0)}_getTrigger(e){const t=this._triggers.get(e);if(!t)throw function vR(n){return new D(3401,!1)}();return t}trigger(e,t,r,i=!0){const o=this._getTrigger(t),s=new Qd(this.id,t,e);let a=this._engine.statesByElement.get(e);a||(It(e,Ea),It(e,Ea+"-"+t),this._engine.statesByElement.set(e,a=new Map));let l=a.get(t);const u=new qd(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),a.set(t,u),l||(l=Kd),u.value!==mo&&l.value===u.value){if(!function Sk(n,e){const t=Object.keys(n),r=Object.keys(e);if(t.length!=r.length)return!1;for(let i=0;i{ar(e,m),tn(e,y)})}return}const f=pt(this._engine.playersByElement,e,[]);f.forEach(g=>{g.namespaceId==this.id&&g.triggerName==t&&g.queued&&g.destroy()});let h=o.matchTransition(l.value,u.value,e,u.params),p=!1;if(!h){if(!i)return;h=o.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:h,fromState:l,toState:u,player:s,isFallbackTransition:p}),p||(It(e,fE),s.onStart(()=>{oi(e,fE)})),s.onDone(()=>{let g=this.players.indexOf(s);g>=0&&this.players.splice(g,1);const m=this._engine.playersByElement.get(e);if(m){let y=m.indexOf(s);y>=0&&m.splice(y,1)}}),this.players.push(s),f.push(s),s}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,r)=>{this._elementListeners.set(r,t.filter(i=>i.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);const t=this._engine.playersByElement.get(e);t&&(t.forEach(r=>r.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){const r=this._engine.driver.query(e,ba,!0);r.forEach(i=>{if(i[St])return;const o=this._engine.fetchNamespacesByElement(i);o.size?o.forEach(s=>s.triggerLeaveAnimation(i,t,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(e,t,r,i){const o=this._engine.statesByElement.get(e),s=new Map;if(o){const a=[];if(o.forEach((l,u)=>{if(s.set(u,l.value),this._triggers.has(u)){const c=this.trigger(e,u,mo,i);c&&a.push(c)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,s),r&&Vn(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){const t=this._elementListeners.get(e),r=this._engine.statesByElement.get(e);if(t&&r){const i=new Set;t.forEach(o=>{const s=o.name;if(i.has(s))return;i.add(s);const l=this._triggers.get(s).fallbackTransition,u=r.get(s)||Kd,c=new qd(mo),d=new Qd(this.id,s,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:s,transition:l,fromState:u,toState:c,player:d,isFallbackTransition:!0})})}}removeNode(e,t){const r=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let i=!1;if(r.totalAnimations){const o=r.players.length?r.playersByQueriedElement.get(e):[];if(o&&o.length)i=!0;else{let s=e;for(;s=s.parentNode;)if(r.statesByElement.get(s)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)r.markElementAsRemoved(this.id,e,!1,t);else{const o=e[St];(!o||o===hE)&&(r.afterFlush(()=>this.clearElementCache(e)),r.destroyInnerAnimations(e),r._onRemovalComplete(e,t))}}insertNode(e,t){It(e,this._hostClassName)}drainQueuedTransitions(e){const t=[];return this._queue.forEach(r=>{const i=r.player;if(i.destroyed)return;const o=r.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==r.triggerName){const l=Nd(o,r.triggerName,r.fromState.value,r.toState.value);l._data=e,Td(r.player,a.phase,l,a.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):t.push(r)}),this._queue=[],t.sort((r,i)=>{const o=r.transition.ast.depCount,s=i.transition.ast.depCount;return 0==o||0==s?o-s:this._engine.driver.containsElement(r.element,i.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}elementContainsData(e){let t=!1;return this._elementListeners.has(e)&&(t=!0),t=!!this._queue.find(r=>r.element===e)||t,t}}class Dk{_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,r){this.bodyNode=e,this.driver=t,this._normalizer=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=(i,o)=>{}}get queuedPlayers(){const e=[];return this._namespaceList.forEach(t=>{t.players.forEach(r=>{r.queued&&e.push(r)})}),e}createNamespace(e,t){const r=new vk(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(r,t):(this.newHostElements.set(t,r),this.collectEnterElement(t)),this._namespaceLookup[e]=r}_balanceNamespaceList(e,t){const r=this._namespaceList,i=this.namespacesByHostElement;if(r.length-1>=0){let s=!1,a=this.driver.getParentElement(t);for(;a;){const l=i.get(a);if(l){const u=r.indexOf(l);r.splice(u+1,0,e),s=!0;break}a=this.driver.getParentElement(a)}s||r.unshift(e)}else r.push(e);return i.set(t,e),e}register(e,t){let r=this._namespaceLookup[e];return r||(r=this.createNamespace(e,t)),r}registerTrigger(e,t,r){let i=this._namespaceLookup[e];i&&i.register(t,r)&&this.totalAnimations++}destroy(e,t){if(!e)return;const r=this._fetchNamespace(e);this.afterFlush(()=>{this.namespacesByHostElement.delete(r.hostElement),delete this._namespaceLookup[e];const i=this._namespaceList.indexOf(r);i>=0&&this._namespaceList.splice(i,1)}),this.afterFlushAnimationsDone(()=>r.destroy(t))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){const t=new Set,r=this.statesByElement.get(e);if(r)for(let i of r.values())if(i.namespaceId){const o=this._fetchNamespace(i.namespaceId);o&&t.add(o)}return t}trigger(e,t,r,i){if(Pa(t)){const o=this._fetchNamespace(e);if(o)return o.trigger(t,r,i),!0}return!1}insertNode(e,t,r,i){if(!Pa(t))return;const o=t[St];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const s=this.collectedLeaveElements.indexOf(t);s>=0&&this.collectedLeaveElements.splice(s,1)}if(e){const s=this._fetchNamespace(e);s&&s.insertNode(t,r)}i&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),It(e,Wd)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),oi(e,Wd))}removeNode(e,t,r,i){if(Pa(t)){const o=e?this._fetchNamespace(e):null;if(o?o.removeNode(t,i):this.markElementAsRemoved(e,t,!1,i),r){const s=this.namespacesByHostElement.get(t);s&&s.id!==e&&s.removeNode(t,i)}}else this._onRemovalComplete(t,i)}markElementAsRemoved(e,t,r,i,o){this.collectedLeaveElements.push(t),t[St]={namespaceId:e,setForRemoval:i,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:o}}listen(e,t,r,i,o){return Pa(t)?this._fetchNamespace(e).listen(t,r,i,o):()=>{}}_buildInstruction(e,t,r,i,o){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,r,i,e.fromState.options,e.toState.options,t,o)}destroyInnerAnimations(e){let t=this.driver.query(e,ba,!0);t.forEach(r=>this.destroyActiveAnimationsForElement(r)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,Rd,!0),t.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(e){const t=this.playersByElement.get(e);t&&t.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(e){const t=this.playersByQueriedElement.get(e);t&&t.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return Vn(this.players).onDone(()=>e());e()})}processLeaveNode(e){const t=e[St];if(t&&t.setForRemoval){if(e[St]=hE,t.namespaceId){this.destroyInnerAnimations(e);const r=this._fetchNamespace(t.namespaceId);r&&r.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(Wd)&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach(r=>{this.markElementAsDisabled(r,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((r,i)=>this._balanceNamespaceList(r,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;rr()),this._flushFns=[],this._whenQuietFns.length){const r=this._whenQuietFns;this._whenQuietFns=[],t.length?Vn(t).onDone(()=>{r.forEach(i=>i())}):r.forEach(i=>i())}}reportError(e){throw function DR(n){return new D(3402,!1)}()}_flushAnimations(e,t){const r=new Na,i=[],o=new Map,s=[],a=new Map,l=new Map,u=new Map,c=new Set;this.disabledNodes.forEach(T=>{c.add(T);const N=this.driver.query(T,".ng-animate-queued",!0);for(let x=0;x{const x=xd+g++;p.set(N,x),T.forEach(q=>It(q,x))});const m=[],y=new Set,E=new Set;for(let T=0;Ty.add(q)):E.add(N))}const _=new Map,C=mE(f,Array.from(y));C.forEach((T,N)=>{const x=Da+g++;_.set(N,x),T.forEach(q=>It(q,x))}),e.push(()=>{h.forEach((T,N)=>{const x=p.get(N);T.forEach(q=>oi(q,x))}),C.forEach((T,N)=>{const x=_.get(N);T.forEach(q=>oi(q,x))}),m.forEach(T=>{this.processLeaveNode(T)})});const G=[],K=[];for(let T=this._namespaceList.length-1;T>=0;T--)this._namespaceList[T].drainQueuedTransitions(t).forEach(x=>{const q=x.player,Ae=x.element;if(G.push(q),this.collectedEnterElements.length){const Ue=Ae[St];if(Ue&&Ue.setForMove){if(Ue.previousTriggersValues&&Ue.previousTriggersValues.has(x.triggerName)){const fr=Ue.previousTriggersValues.get(x.triggerName),Tt=this.statesByElement.get(x.element);if(Tt&&Tt.has(x.triggerName)){const Ua=Tt.get(x.triggerName);Ua.value=fr,Tt.set(x.triggerName,Ua)}}return void q.destroy()}}const nn=!d||!this.driver.containsElement(d,Ae),mt=_.get(Ae),jn=p.get(Ae),he=this._buildInstruction(x,r,jn,mt,nn);if(he.errors&&he.errors.length)return void K.push(he);if(nn)return q.onStart(()=>ar(Ae,he.fromStyles)),q.onDestroy(()=>tn(Ae,he.toStyles)),void i.push(q);if(x.isFallbackTransition)return q.onStart(()=>ar(Ae,he.fromStyles)),q.onDestroy(()=>tn(Ae,he.toStyles)),void i.push(q);const tb=[];he.timelines.forEach(Ue=>{Ue.stretchStartingKeyframe=!0,this.disabledNodes.has(Ue.element)||tb.push(Ue)}),he.timelines=tb,r.append(Ae,he.timelines),s.push({instruction:he,player:q,element:Ae}),he.queriedElements.forEach(Ue=>pt(a,Ue,[]).push(q)),he.preStyleProps.forEach((Ue,fr)=>{if(Ue.size){let Tt=l.get(fr);Tt||l.set(fr,Tt=new Set),Ue.forEach((Ua,sf)=>Tt.add(sf))}}),he.postStyleProps.forEach((Ue,fr)=>{let Tt=u.get(fr);Tt||u.set(fr,Tt=new Set),Ue.forEach((Ua,sf)=>Tt.add(sf))})});if(K.length){const T=[];K.forEach(N=>{T.push(function ER(n,e){return new D(3505,!1)}())}),G.forEach(N=>N.destroy()),this.reportError(T)}const He=new Map,bn=new Map;s.forEach(T=>{const N=T.element;r.has(N)&&(bn.set(N,N),this._beforeAnimationBuild(T.player.namespaceId,T.instruction,He))}),i.forEach(T=>{const N=T.element;this._getPreviousPlayers(N,!1,T.namespaceId,T.triggerName,null).forEach(q=>{pt(He,N,[]).push(q),q.destroy()})});const Cn=m.filter(T=>_E(T,l,u)),wn=new Map;gE(wn,this.driver,E,u,Dn).forEach(T=>{_E(T,l,u)&&Cn.push(T)});const Eo=new Map;h.forEach((T,N)=>{gE(Eo,this.driver,new Set(T),l,Sd)}),Cn.forEach(T=>{const N=wn.get(T),x=Eo.get(T);wn.set(T,new Map([...Array.from(N?.entries()??[]),...Array.from(x?.entries()??[])]))});const dr=[],JE=[],eb={};s.forEach(T=>{const{element:N,player:x,instruction:q}=T;if(r.has(N)){if(c.has(N))return x.onDestroy(()=>tn(N,q.toStyles)),x.disabled=!0,x.overrideTotalTime(q.totalTime),void i.push(x);let Ae=eb;if(bn.size>1){let mt=N;const jn=[];for(;mt=mt.parentNode;){const he=bn.get(mt);if(he){Ae=he;break}jn.push(mt)}jn.forEach(he=>bn.set(he,Ae))}const nn=this._buildAnimation(x.namespaceId,q,He,o,Eo,wn);if(x.setRealPlayer(nn),Ae===eb)dr.push(x);else{const mt=this.playersByElement.get(Ae);mt&&mt.length&&(x.parentPlayer=Vn(mt)),i.push(x)}}else ar(N,q.fromStyles),x.onDestroy(()=>tn(N,q.toStyles)),JE.push(x),c.has(N)&&i.push(x)}),JE.forEach(T=>{const N=o.get(T.element);if(N&&N.length){const x=Vn(N);T.setRealPlayer(x)}}),i.forEach(T=>{T.parentPlayer?T.syncPlayerEvents(T.parentPlayer):T.destroy()});for(let T=0;T!nn.destroyed);Ae.length?wk(this,N,Ae):this.processLeaveNode(N)}return m.length=0,dr.forEach(T=>{this.players.push(T),T.onDone(()=>{T.destroy();const N=this.players.indexOf(T);this.players.splice(N,1)}),T.play()}),dr}elementContainsData(e,t){let r=!1;const i=t[St];return i&&i.setForRemoval&&(r=!0),this.playersByElement.has(t)&&(r=!0),this.playersByQueriedElement.has(t)&&(r=!0),this.statesByElement.has(t)&&(r=!0),this._fetchNamespace(e).elementContainsData(t)||r}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,r,i,o){let s=[];if(t){const a=this.playersByQueriedElement.get(e);a&&(s=a)}else{const a=this.playersByElement.get(e);if(a){const l=!o||o==mo;a.forEach(u=>{u.queued||!l&&u.triggerName!=i||s.push(u)})}}return(r||i)&&(s=s.filter(a=>!(r&&r!=a.namespaceId||i&&i!=a.triggerName))),s}_beforeAnimationBuild(e,t,r){const o=t.element,s=t.isRemovalTransition?void 0:e,a=t.isRemovalTransition?void 0:t.triggerName;for(const l of t.timelines){const u=l.element,c=u!==o,d=pt(r,u,[]);this._getPreviousPlayers(u,c,s,a,t.toState).forEach(h=>{const p=h.getRealPlayer();p.beforeDestroy&&p.beforeDestroy(),h.destroy(),d.push(h)})}ar(o,t.fromStyles)}_buildAnimation(e,t,r,i,o,s){const a=t.triggerName,l=t.element,u=[],c=new Set,d=new Set,f=t.timelines.map(p=>{const g=p.element;c.add(g);const m=g[St];if(m&&m.removedBeforeQueried)return new fo(p.duration,p.delay);const y=g!==l,E=function Mk(n){const e=[];return yE(n,e),e}((r.get(g)||yk).map(He=>He.getRealPlayer())).filter(He=>!!He.element&&He.element===g),_=o.get(g),C=s.get(g),G=$D(0,this._normalizer,0,p.keyframes,_,C),K=this._buildPlayer(p,G,E);if(p.subTimeline&&i&&d.add(g),y){const He=new Qd(e,a,g);He.setRealPlayer(K),u.push(He)}return K});u.forEach(p=>{pt(this.playersByQueriedElement,p.element,[]).push(p),p.onDone(()=>function Ek(n,e,t){let r=n.get(e);if(r){if(r.length){const i=r.indexOf(t);r.splice(i,1)}0==r.length&&n.delete(e)}return r}(this.playersByQueriedElement,p.element,p))}),c.forEach(p=>It(p,XD));const h=Vn(f);return h.onDestroy(()=>{c.forEach(p=>oi(p,XD)),tn(l,t.toStyles)}),d.forEach(p=>{pt(i,p,[]).push(h)}),h}_buildPlayer(e,t,r){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,r):new fo(e.duration,e.delay)}}class Qd{constructor(e,t,r){this.namespaceId=e,this.triggerName=t,this.element=r,this._player=new fo,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(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,r)=>{t.forEach(i=>Td(e,r,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){const t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){pt(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){const t=this._player;t.triggerCallback&&t.triggerCallback(e)}}function Pa(n){return n&&1===n.nodeType}function pE(n,e){const t=n.style.display;return n.style.display=e??"none",t}function gE(n,e,t,r,i){const o=[];t.forEach(l=>o.push(pE(l)));const s=[];r.forEach((l,u)=>{const c=new Map;l.forEach(d=>{const f=e.computeStyle(u,d,i);c.set(d,f),(!f||0==f.length)&&(u[St]=_k,s.push(u))}),n.set(u,c)});let a=0;return t.forEach(l=>pE(l,o[a++])),s}function mE(n,e){const t=new Map;if(n.forEach(a=>t.set(a,[])),0==e.length)return t;const r=1,i=new Set(e),o=new Map;function s(a){if(!a)return r;let l=o.get(a);if(l)return l;const u=a.parentNode;return l=t.has(u)?u:i.has(u)?r:s(u),o.set(a,l),l}return e.forEach(a=>{const l=s(a);l!==r&&t.get(l).push(a)}),t}function It(n,e){n.classList?.add(e)}function oi(n,e){n.classList?.remove(e)}function wk(n,e,t){Vn(t).onDone(()=>n.processLeaveNode(e))}function yE(n,e){for(let t=0;ti.add(o)):e.set(n,r),t.delete(n),!0}class xa{constructor(e,t,r){this.bodyNode=e,this._driver=t,this._normalizer=r,this._triggerCache={},this.onRemovalComplete=(i,o)=>{},this._transitionEngine=new Dk(e,t,r),this._timelineEngine=new fk(e,t,r),this._transitionEngine.onRemovalComplete=(i,o)=>this.onRemovalComplete(i,o)}registerTrigger(e,t,r,i,o){const s=e+"-"+i;let a=this._triggerCache[s];if(!a){const l=[],u=[],c=Bd(this._driver,o,l,u);if(l.length)throw function cR(n,e){return new D(3404,!1)}();a=function lk(n,e,t){return new uk(n,e,t)}(i,c,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(t,i,a)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,r,i){this._transitionEngine.insertNode(e,t,r,i)}onRemove(e,t,r,i){this._transitionEngine.removeNode(e,t,i||!1,r)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,r,i){if("@"==r.charAt(0)){const[o,s]=GD(r);this._timelineEngine.command(o,t,s,i)}else this._transitionEngine.trigger(e,t,r,i)}listen(e,t,r,i,o){if("@"==r.charAt(0)){const[s,a]=GD(r);return this._timelineEngine.listen(s,t,a,o)}return this._transitionEngine.listen(e,t,r,i,o)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Tk=(()=>{class n{constructor(t,r,i){this._element=t,this._startStyles=r,this._endStyles=i,this._state=0;let o=n.initialStylesByElement.get(t);o||n.initialStylesByElement.set(t,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&tn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(tn(this._element,this._initialStyles),this._endStyles&&(tn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(ar(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(ar(this._element,this._endStyles),this._endStyles=null),tn(this._element,this._initialStyles),this._state=3)}}return n.initialStylesByElement=new WeakMap,n})();function Yd(n){let e=null;return n.forEach((t,r)=>{(function Ak(n){return"display"===n||"position"===n})(r)&&(e=e||new Map,e.set(r,t))}),e}class vE{constructor(e,t,r,i){this.element=e,this.keyframes=t,this.options=r,this._specialStyles=i,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=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){const t=[];return e.forEach(r=>{t.push(Object.fromEntries(r))}),t}_triggerWebAnimation(e,t,r){return e.animate(this._convertKeyframesToObject(t),r)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((r,i)=>{"offset"!==i&&e.set(i,this._finished?r:iE(this.element,i))}),this.currentSnapshot=e}triggerCallback(e){const t="start"===e?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}}class Nk{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}matchesElement(e,t){return!1}containsElement(e,t){return KD(e,t)}getParentElement(e){return Od(e)}query(e,t,r){return QD(e,t,r)}computeStyle(e,t,r){return window.getComputedStyle(e)[t]}animate(e,t,r,i,o,s=[]){const l={duration:r,delay:i,fill:0==i?"both":"forwards"};o&&(l.easing=o);const u=new Map,c=s.filter(h=>h instanceof vE);(function xR(n,e){return 0===n||0===e})(r,i)&&c.forEach(h=>{h.currentSnapshot.forEach((p,g)=>u.set(g,p))});let d=function NR(n){return n.length?n[0]instanceof Map?n:n.map(e=>JD(e)):[]}(t).map(h=>Bn(h));d=function RR(n,e,t){if(t.size&&e.length){let r=e[0],i=[];if(t.forEach((o,s)=>{r.has(s)||i.push(s),r.set(s,o)}),i.length)for(let o=1;os.set(a,iE(n,a)))}}return e}(e,d,u);const f=function Ik(n,e){let t=null,r=null;return Array.isArray(e)&&e.length?(t=Yd(e[0]),e.length>1&&(r=Yd(e[e.length-1]))):e instanceof Map&&(t=Yd(e)),t||r?new Tk(n,t,r):null}(e,d);return new vE(e,d,l,f)}}let Fk=(()=>{class n extends LD{constructor(t,r){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(r.body,{id:"0",encapsulation:Nt.None,styles:[],data:{animation:[]}})}build(t){const r=this._nextAnimationId.toString();this._nextAnimationId++;const i=Array.isArray(t)?VD(t):t;return DE(this._renderer,null,r,"register",[i]),new Ok(r,this._renderer)}}return n.\u0275fac=function(t){return new(t||n)(I(Ri),I(De))},n.\u0275prov=j({token:n,factory:n.\u0275fac}),n})();class Ok extends Ux{constructor(e,t){super(),this._id=e,this._renderer=t}create(e,t){return new Pk(this._id,e,t||{},this._renderer)}}class Pk{constructor(e,t,r,i){this.id=e,this.element=t,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",r)}_listen(e,t){return this._renderer.listen(this.element,`@@${this.id}:${e}`,t)}_command(e,...t){return DE(this._renderer,this.element,this.id,e,t)}onDone(e){this._listen("done",e)}onStart(e){this._listen("start",e)}onDestroy(e){this._listen("destroy",e)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(e){this._command("setPosition",e)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function DE(n,e,t,r,i){return n.setProperty(e,`@@${t}:${r}`,i)}const EE="@.disabled";let xk=(()=>{class n{constructor(t,r,i){this.delegate=t,this.engine=r,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),r.onRemovalComplete=(o,s)=>{const a=s?.parentNode(o);a&&s.removeChild(a,o)}}createRenderer(t,r){const o=this.delegate.createRenderer(t,r);if(!(t&&r&&r.data&&r.data.animation)){let c=this._rendererCache.get(o);return c||(c=new bE("",o,this.engine,()=>this._rendererCache.delete(o)),this._rendererCache.set(o,c)),c}const s=r.id,a=r.id+"-"+this._currentId;this._currentId++,this.engine.register(a,t);const l=c=>{Array.isArray(c)?c.forEach(l):this.engine.registerTrigger(s,a,t,c.name,c)};return r.data.animation.forEach(l),new Rk(this,a,o,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,r,i){t>=0&&tr(i)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(o=>{const[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([r,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()}}return n.\u0275fac=function(t){return new(t||n)(I(Ri),I(xa),I(Ie))},n.\u0275prov=j({token:n,factory:n.\u0275fac}),n})();class bE{constructor(e,t,r,i){this.namespaceId=e,this.delegate=t,this.engine=r,this._onDestroy=i,this.destroyNode=this.delegate.destroyNode?o=>t.destroyNode(o):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,r,i=!0){this.delegate.insertBefore(e,t,r),this.engine.onInsert(this.namespaceId,t,e,i)}removeChild(e,t,r){this.engine.onRemove(this.namespaceId,t,this.delegate,r)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,r,i){this.delegate.setAttribute(e,t,r,i)}removeAttribute(e,t,r){this.delegate.removeAttribute(e,t,r)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,r,i){this.delegate.setStyle(e,t,r,i)}removeStyle(e,t,r){this.delegate.removeStyle(e,t,r)}setProperty(e,t,r){"@"==t.charAt(0)&&t==EE?this.disableAnimations(e,!!r):this.delegate.setProperty(e,t,r)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,r){return this.delegate.listen(e,t,r)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}}class Rk extends bE{constructor(e,t,r,i,o){super(t,r,i,o),this.factory=e,this.namespaceId=t}setProperty(e,t,r){"@"==t.charAt(0)?"."==t.charAt(1)&&t==EE?this.disableAnimations(e,r=void 0===r||!!r):this.engine.process(this.namespaceId,e,t.slice(1),r):this.delegate.setProperty(e,t,r)}listen(e,t,r){if("@"==t.charAt(0)){const i=function kk(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(e);let o=t.slice(1),s="";return"@"!=o.charAt(0)&&([o,s]=function Lk(n){const e=n.indexOf(".");return[n.substring(0,e),n.slice(e+1)]}(o)),this.engine.listen(this.namespaceId,i,o,s,a=>{this.factory.scheduleListenerCallback(a._data||-1,r,a)})}return this.delegate.listen(e,t,r)}}const CE=[{provide:LD,useClass:Fk},{provide:Gd,useFactory:function Bk(){return new ik}},{provide:xa,useClass:(()=>{class n extends xa{constructor(t,r,i,o){super(t.body,r,i)}ngOnDestroy(){this.flush()}}return n.\u0275fac=function(t){return new(t||n)(I(De),I(Pd),I(Gd),I(js))},n.\u0275prov=j({token:n,factory:n.\u0275fac}),n})()},{provide:Ri,useFactory:function jk(n,e,t){return new xk(n,e,t)},deps:[oa,xa,Ie]}],Zd=[{provide:Pd,useFactory:()=>new Nk},{provide:Ky,useValue:"BrowserAnimations"},...CE],wE=[{provide:Pd,useClass:YD},{provide:Ky,useValue:"NoopAnimations"},...CE];let Xd,Hk=(()=>{class n{static withConfig(t){return{ngModule:n,providers:t.disableAnimations?wE:Zd}}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=Xe({type:n}),n.\u0275inj=$e({providers:Zd,imports:[av]}),n})();try{Xd=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Xd=!1}let yo,ME=(()=>{class n{constructor(t){this._platformId=t,this.isBrowser=this._platformId?function $F(n){return n===L_}(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&&!Xd)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return n.\u0275fac=function(t){return new(t||n)(I(Vs))},n.\u0275prov=j({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function ka(n){return function Uk(){if(null==yo&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>yo=!0}))}finally{yo=yo||!1}return yo}()?n:!!n.capture}function IE(n){return Array.isArray(n)?n:[n]}function TE(n){return n instanceof bt?n.nativeElement:n}function AE(n,e,t){n?rn(t,n,e):e()}function ef(...n){return function e1(){return Tf(1)}()(pr(n,di(n)))}class r1 extends ot{constructor(e,t){super()}schedule(e,t=0){return this}}const Va={setInterval(n,e,...t){const{delegate:r}=Va;return r?.setInterval?r.setInterval(n,e,...t):setInterval(n,e,...t)},clearInterval(n){const{delegate:e}=Va;return(e?.clearInterval||clearInterval)(n)},delegate:void 0},NE={now:()=>(NE.delegate||Date).now(),delegate:void 0};class _o{constructor(e,t=_o.now){this.schedulerActionCtor=e,this.now=t}schedule(e,t=0,r){return new this.schedulerActionCtor(this,e).schedule(r,t)}}_o.now=NE.now;const a1=new class s1 extends _o{constructor(e,t=_o.now){super(e,t),this.actions=[],this._active=!1}flush(e){const{actions:t}=this;if(this._active)return void t.push(e);let r;this._active=!0;do{if(r=e.execute(e.state,e.delay))break}while(e=t.shift());if(this._active=!1,r){for(;e=t.shift();)e.unsubscribe();throw r}}}(class o1 extends r1{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){var r;if(this.closed)return this;this.state=e;const i=this.id,o=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(o,i,t)),this.pending=!0,this.delay=t,this.id=null!==(r=this.id)&&void 0!==r?r:this.requestAsyncId(o,this.id,t),this}requestAsyncId(e,t,r=0){return Va.setInterval(e.flush.bind(e,this),r)}recycleAsyncId(e,t,r=0){if(null!=r&&this.delay===r&&!1===this.pending)return t;null!=t&&Va.clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const r=this._execute(e,t);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let i,r=!1;try{this.work(e)}catch(o){r=!0,i=o||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),i}unsubscribe(){if(!this.closed){const{id:e,scheduler:t}=this,{actions:r}=t;this.work=this.state=this.scheduler=null,this.pending=!1,hr(r,this),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null,super.unsubscribe()}}});function u1(...n){const e=di(n);return st((t,r)=>{(e?ef(n,t,e):ef(n,t)).subscribe(r)})}function c1(n){return st((e,t)=>{At(n).subscribe(yt(t,()=>t.complete(),$a)),!t.closed&&e.subscribe(t)})}const FE=new Set;let ai,d1=(()=>{class n{constructor(t){this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):h1}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&function f1(n){if(!FE.has(n))try{ai||(ai=document.createElement("style"),ai.setAttribute("type","text/css"),document.head.appendChild(ai)),ai.sheet&&(ai.sheet.insertRule(`@media ${n} {body{ }}`,0),FE.add(n))}catch(e){console.error(e)}}(t),this._matchMedia(t)}}return n.\u0275fac=function(t){return new(t||n)(I(ME))},n.\u0275prov=j({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function h1(n){return{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{}}}let p1=(()=>{class n{constructor(t,r){this._mediaMatcher=t,this._zone=r,this._queries=new Map,this._destroySubject=new ci}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return OE(IE(t)).some(i=>this._registerQuery(i).mql.matches)}observe(t){let o=function Xk(...n){const e=di(n),t=Af(n),{args:r,keys:i}=dv(n);if(0===r.length)return pr([],e);const o=new we(function Jk(n,e,t=ui){return r=>{AE(e,()=>{const{length:i}=n,o=new Array(i);let s=i,a=i;for(let l=0;l{const u=pr(n[l],e);let c=!1;u.subscribe(yt(r,d=>{o[l]=d,c||(c=!0,a--),a||r.next(t(o.slice()))},()=>{--s||r.complete()}))},r)},r)}}(r,e,i?s=>hv(i,s):ui));return t?o.pipe(fv(t)):o}(OE(IE(t)).map(s=>this._registerQuery(s).observable));return o=ef(o.pipe(function t1(n){return n<=0?()=>Ja:st((e,t)=>{let r=0;e.subscribe(yt(t,i=>{++r<=n&&(t.next(i),n<=r&&t.complete())}))})}(1)),o.pipe(function n1(n){return vD((e,t)=>n<=t)}(1),function l1(n,e=a1){return st((t,r)=>{let i=null,o=null,s=null;const a=()=>{if(i){i.unsubscribe(),i=null;const u=o;o=null,r.next(u)}};function l(){const u=s+n,c=e.now();if(c{o=u,s=e.now(),i||(i=e.schedule(l,n),r.add(i))},()=>{a(),r.complete()},void 0,()=>{o=i=null}))})}(0))),o.pipe(Ze(s=>{const a={matches:!1,breakpoints:{}};return s.forEach(({matches:l,query:u})=>{a.matches=a.matches||l,a.breakpoints[u]=l}),a}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);const r=this._mediaMatcher.matchMedia(t),o={observable:new we(s=>{const a=l=>this._zone.run(()=>s.next(l));return r.addListener(a),()=>{r.removeListener(a)}}).pipe(u1(r),Ze(({matches:s})=>({query:t,matches:s})),c1(this._destroySubject)),mql:r};return this._queries.set(t,o),o}}return n.\u0275fac=function(t){return new(t||n)(I(d1),I(Ie))},n.\u0275prov=j({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();function OE(n){return n.map(e=>e.split(",")).reduce((e,t)=>e.concat(t)).map(e=>e.trim())}const kE="cdk-high-contrast-black-on-white",LE="cdk-high-contrast-white-on-black",tf="cdk-high-contrast-active";let M1=(()=>{class n{constructor(t,r){this._platform=t,this._document=r,this._breakpointSubscription=jt(p1).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const r=this._document.defaultView||window,i=r&&r.getComputedStyle?r.getComputedStyle(t):null,o=(i&&i.backgroundColor||"").replace(/ /g,"");switch(t.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove(tf,kE,LE),this._hasCheckedHighContrastMode=!0;const r=this.getHighContrastMode();1===r?t.add(tf,kE):2===r&&t.add(tf,LE)}}}return n.\u0275fac=function(t){return new(t||n)(I(ME),I(De))},n.\u0275prov=j({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),VE=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=Xe({type:n}),n.\u0275inj=$e({}),n})();const A1=new S("mat-sanity-checks",{providedIn:"root",factory:function T1(){return!0}});let HE=(()=>{class n{constructor(t,r,i){this._sanityChecks=r,this._document=i,this._hasDoneGlobalChecks=!1,t._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(t){return!function zk(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[t])}}return n.\u0275fac=function(t){return new(t||n)(I(M1),I(A1,8),I(De))},n.\u0275mod=Xe({type:n}),n.\u0275inj=$e({imports:[VE,VE]}),n})();class F1{constructor(e,t,r,i=!1){this._renderer=e,this.element=t,this.config=r,this._animationForciblyDisabledThroughCss=i,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const UE=ka({passive:!0,capture:!0});class O1{constructor(){this._events=new Map,this._delegateEventHandler=e=>{const t=function Gk(n){return n.composedPath?n.composedPath()[0]:n.target}(e);t&&this._events.get(e.type)?.forEach((r,i)=>{(i===t||i.contains(t))&&r.forEach(o=>o.handleEvent(e))})}}addHandler(e,t,r,i){const o=this._events.get(t);if(o){const s=o.get(r);s?s.add(i):o.set(r,new Set([i]))}else this._events.set(t,new Map([[r,new Set([i])]])),e.runOutsideAngular(()=>{document.addEventListener(t,this._delegateEventHandler,UE)})}removeHandler(e,t,r){const i=this._events.get(e);if(!i)return;const o=i.get(t);o&&(o.delete(r),0===o.size&&i.delete(t),0===i.size&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,UE)))}}const $E={enterDuration:225,exitDuration:150},GE=ka({passive:!0,capture:!0}),zE=["mousedown","touchstart"],WE=["mouseup","mouseleave","touchend","touchcancel"];class Ba{constructor(e,t,r,i){this._target=e,this._ngZone=t,this._platform=i,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,i.isBrowser&&(this._containerElement=TE(r))}fadeInRipple(e,t,r={}){const i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o={...$E,...r.animation};r.centered&&(e=i.left+i.width/2,t=i.top+i.height/2);const s=r.radius||function x1(n,e,t){const r=Math.max(Math.abs(n-t.left),Math.abs(n-t.right)),i=Math.max(Math.abs(e-t.top),Math.abs(e-t.bottom));return Math.sqrt(r*r+i*i)}(e,t,i),a=e-i.left,l=t-i.top,u=o.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left=a-s+"px",c.style.top=l-s+"px",c.style.height=2*s+"px",c.style.width=2*s+"px",null!=r.color&&(c.style.backgroundColor=r.color),c.style.transitionDuration=`${u}ms`,this._containerElement.appendChild(c);const d=window.getComputedStyle(c),h=d.transitionDuration,p="none"===d.transitionProperty||"0s"===h||"0s, 0s"===h||0===i.width&&0===i.height,g=new F1(this,c,r,p);c.style.transform="scale3d(1, 1, 1)",g.state=0,r.persistent||(this._mostRecentTransientRipple=g);let m=null;return!p&&(u||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const y=()=>this._finishRippleTransition(g),E=()=>this._destroyRipple(g);c.addEventListener("transitionend",y),c.addEventListener("transitioncancel",E),m={onTransitionEnd:y,onTransitionCancel:E}}),this._activeRipples.set(g,m),(p||!u)&&this._finishRippleTransition(g),g}fadeOutRipple(e){if(2===e.state||3===e.state)return;const t=e.element,r={...$E,...e.config.animation};t.style.transitionDuration=`${r.exitDuration}ms`,t.style.opacity="0",e.state=2,(e._animationForciblyDisabledThroughCss||!r.exitDuration)&&this._finishRippleTransition(e)}fadeOutAll(){this._getActiveRipples().forEach(e=>e.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(e=>{e.config.persistent||e.fadeOut()})}setupTriggerEvents(e){const t=TE(e);!this._platform.isBrowser||!t||t===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=t,zE.forEach(r=>{Ba._eventManager.addHandler(this._ngZone,r,t,this)}))}handleEvent(e){"mousedown"===e.type?this._onMousedown(e):"touchstart"===e.type?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{WE.forEach(t=>{this._triggerElement.addEventListener(t,this,GE)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(e){0===e.state?this._startFadeOutTransition(e):2===e.state&&this._destroyRipple(e)}_startFadeOutTransition(e){const t=e===this._mostRecentTransientRipple,{persistent:r}=e.config;e.state=1,!r&&(!t||!this._isPointerDown)&&e.fadeOut()}_destroyRipple(e){const t=this._activeRipples.get(e)??null;this._activeRipples.delete(e),this._activeRipples.size||(this._containerRect=null),e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),e.state=3,null!==t&&(e.element.removeEventListener("transitionend",t.onTransitionEnd),e.element.removeEventListener("transitioncancel",t.onTransitionCancel)),e.element.remove()}_onMousedown(e){const t=function b1(n){return 0===n.buttons||0===n.offsetX&&0===n.offsetY}(e),r=this._lastTouchStartEvent&&Date.now(){!e.config.persistent&&(1===e.state||e.config.terminateOnPointerUp&&0===e.state)&&e.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const e=this._triggerElement;e&&(zE.forEach(t=>Ba._eventManager.removeHandler(t,e,this)),this._pointerUpEventsRegistered&&WE.forEach(t=>e.removeEventListener(t,this,GE)))}}Ba._eventManager=new O1;let U1=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=Xe({type:n}),n.\u0275inj=$e({imports:[HE,HE]}),n})(),$1=(()=>{class n{static#e=this.\u0275fac=function(r){return new(r||n)};static#t=this.\u0275mod=Xe({type:n,bootstrap:[Hx]});static#n=this.\u0275inj=$e({providers:[xD],imports:[av,ex,wx,Hk,U1,Px]})}return n})();VO().bootstrapModule($1).catch(n=>console.error(n))}},ie=>{ie(ie.s=3)}]); \ No newline at end of file