"use strict";(self.webpackChunkevent_search=self.webpackChunkevent_search||[]).push([[179],{55:()=>{function fe(n){return"function"==typeof n}function Fc(n){const t=n(i=>{Error.call(i),i.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}const Yh=Fc(n=>function(t){n(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((i,r)=>`${r+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t});function Js(n,e){if(n){const t=n.indexOf(e);0<=t&&n.splice(t,1)}}class Te{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const o of t)o.remove(this);else t.remove(this);const{initialTeardown:i}=this;if(fe(i))try{i()}catch(o){e=o instanceof Yh?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{aC(o)}catch(s){e=e??[],s instanceof Yh?e=[...e,...s.errors]:e.push(s)}}if(e)throw new Yh(e)}}add(e){var t;if(e&&e!==this)if(this.closed)aC(e);else{if(e instanceof Te){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)&&Js(t,e)}remove(e){const{_finalizers:t}=this;t&&Js(t,e),e instanceof Te&&e._removeParent(this)}}Te.EMPTY=(()=>{const n=new Te;return n.closed=!0,n})();const oC=Te.EMPTY;function sC(n){return n instanceof Te||n&&"closed"in n&&fe(n.remove)&&fe(n.add)&&fe(n.unsubscribe)}function aC(n){fe(n)?n():n.unsubscribe()}const uo={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Zh={setTimeout(n,e,...t){const{delegate:i}=Zh;return i?.setTimeout?i.setTimeout(n,e,...t):setTimeout(n,e,...t)},clearTimeout(n){const{delegate:e}=Zh;return(e?.clearTimeout||clearTimeout)(n)},delegate:void 0};function lC(n){Zh.setTimeout(()=>{const{onUnhandledError:e}=uo;if(!e)throw n;e(n)})}function Kh(){}const LO=ig("C",void 0,void 0);function ig(n,e,t){return{kind:n,value:e,error:t}}let ho=null;function Xh(n){if(uo.useDeprecatedSynchronousErrorHandling){const e=!ho;if(e&&(ho={errorThrown:!1,error:null}),n(),e){const{errorThrown:t,error:i}=ho;if(ho=null,t)throw i}}else n()}class rg extends Te{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,sC(e)&&e.add(this)):this.destination=$O}static create(e,t,i){return new Pc(e,t,i)}next(e){this.isStopped?sg(function BO(n){return ig("N",n,void 0)}(e),this):this._next(e)}error(e){this.isStopped?sg(function VO(n){return ig("E",void 0,n)}(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?sg(LO,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 jO=Function.prototype.bind;function og(n,e){return jO.call(n,e)}class HO{constructor(e){this.partialObserver=e}next(e){const{partialObserver:t}=this;if(t.next)try{t.next(e)}catch(i){Qh(i)}}error(e){const{partialObserver:t}=this;if(t.error)try{t.error(e)}catch(i){Qh(i)}else Qh(e)}complete(){const{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(t){Qh(t)}}}class Pc extends rg{constructor(e,t,i){let r;if(super(),fe(e)||!e)r={next:e??void 0,error:t??void 0,complete:i??void 0};else{let o;this&&uo.useDeprecatedNextContext?(o=Object.create(e),o.unsubscribe=()=>this.unsubscribe(),r={next:e.next&&og(e.next,o),error:e.error&&og(e.error,o),complete:e.complete&&og(e.complete,o)}):r=e}this.destination=new HO(r)}}function Qh(n){uo.useDeprecatedSynchronousErrorHandling?function zO(n){uo.useDeprecatedSynchronousErrorHandling&&ho&&(ho.errorThrown=!0,ho.error=n)}(n):lC(n)}function sg(n,e){const{onStoppedNotification:t}=uo;t&&Zh.setTimeout(()=>t(n,e))}const $O={closed:!0,next:Kh,error:function UO(n){throw n},complete:Kh},ag="function"==typeof Symbol&&Symbol.observable||"@@observable";function fr(n){return n}function cC(n){return 0===n.length?fr:1===n.length?n[0]:function(t){return n.reduce((i,r)=>r(i),t)}}class le{constructor(e){e&&(this._subscribe=e)}lift(e){const t=new le;return t.source=this,t.operator=e,t}subscribe(e,t,i){const r=function qO(n){return n&&n instanceof rg||function WO(n){return n&&fe(n.next)&&fe(n.error)&&fe(n.complete)}(n)&&sC(n)}(e)?e:new Pc(e,t,i);return Xh(()=>{const{operator:o,source:s}=this;r.add(o?o.call(r,s):s?this._subscribe(r):this._trySubscribe(r))}),r}_trySubscribe(e){try{return this._subscribe(e)}catch(t){e.error(t)}}forEach(e,t){return new(t=dC(t))((i,r)=>{const o=new Pc({next:s=>{try{e(s)}catch(a){r(a),o.unsubscribe()}},error:r,complete:i});this.subscribe(o)})}_subscribe(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)}[ag](){return this}pipe(...e){return cC(e)(this)}toPromise(e){return new(e=dC(e))((t,i)=>{let r;this.subscribe(o=>r=o,o=>i(o),()=>t(r))})}}function dC(n){var e;return null!==(e=n??uo.Promise)&&void 0!==e?e:Promise}le.create=n=>new le(n);const YO=Fc(n=>function(){n(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});class B extends le{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){const t=new uC(this,this);return t.operator=e,t}_throwIfClosed(){if(this.closed)throw new YO}next(e){Xh(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const t of this.currentObservers)t.next(e)}})}error(e){Xh(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;const{observers:t}=this;for(;t.length;)t.shift().error(e)}})}complete(){Xh(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){const{hasError:t,isStopped:i,observers:r}=this;return t||i?oC:(this.currentObservers=null,r.push(e),new Te(()=>{this.currentObservers=null,Js(r,e)}))}_checkFinalizedStatuses(e){const{hasError:t,thrownError:i,isStopped:r}=this;t?e.error(i):r&&e.complete()}asObservable(){const e=new le;return e.source=this,e}}B.create=(n,e)=>new uC(n,e);class uC extends B{constructor(e,t){super(),this.destination=e,this.source=t}next(e){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===i||i.call(t,e)}error(e){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===i||i.call(t,e)}complete(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)}_subscribe(e){var t,i;return null!==(i=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==i?i:oC}}function hC(n){return fe(n?.lift)}function $e(n){return e=>{if(hC(e))return e.lift(function(t){try{return n(t,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function Ne(n,e,t,i,r){return new ZO(n,e,t,i,r)}class ZO extends rg{constructor(e,t,i,r,o,s){super(e),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(l){e.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){e.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:t}=this;super.unsubscribe(),!t&&(null===(e=this.onFinalize)||void 0===e||e.call(this))}}}function G(n,e){return $e((t,i)=>{let r=0;t.subscribe(Ne(i,o=>{i.next(n.call(e,o,r++))}))})}function KO(n,e,t,i){return new(t||(t=Promise))(function(o,s){function a(d){try{c(i.next(d))}catch(u){s(u)}}function l(d){try{c(i.throw(d))}catch(u){s(u)}}function c(d){d.done?o(d.value):function r(o){return o instanceof t?o:new t(function(s){s(o)})}(d.value).then(a,l)}c((i=i.apply(n,e||[])).next())})}Object.create;function mC(n){var e="function"==typeof Symbol&&Symbol.iterator,t=e&&n[e],i=0;if(t)return t.call(n);if(n&&"number"==typeof n.length)return{next:function(){return n&&i>=n.length&&(n=void 0),{value:n&&n[i++],done:!n}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function fo(n){return this instanceof fo?(this.v=n,this):new fo(n)}function QO(n,e,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=t.apply(n,e||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(h){i[h]&&(r[h]=function(p){return new Promise(function(m,g){o.push([h,p,m,g])>1||a(h,p)})})}function a(h,p){try{!function l(h){h.value instanceof fo?Promise.resolve(h.value.v).then(c,d):u(o[0][2],h)}(i[h](p))}catch(m){u(o[0][3],m)}}function c(h){a("next",h)}function d(h){a("throw",h)}function u(h,p){h(p),o.shift(),o.length&&a(o[0][0],o[0][1])}}function JO(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,e=n[Symbol.asyncIterator];return e?e.call(n):(n=mC(n),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(o){t[o]=n[o]&&function(s){return new Promise(function(a,l){(function r(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)})(a,l,(s=n[o](s)).done,s.value)})}}}Object.create;const cg=n=>n&&"number"==typeof n.length&&"function"!=typeof n;function gC(n){return fe(n?.then)}function _C(n){return fe(n[ag])}function yC(n){return Symbol.asyncIterator&&fe(n?.[Symbol.asyncIterator])}function bC(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 vC=function tk(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function CC(n){return fe(n?.[vC])}function wC(n){return QO(this,arguments,function*(){const t=n.getReader();try{for(;;){const{value:i,done:r}=yield fo(t.read());if(r)return yield fo(void 0);yield yield fo(i)}}finally{t.releaseLock()}})}function xC(n){return fe(n?.getReader)}function Mt(n){if(n instanceof le)return n;if(null!=n){if(_C(n))return function nk(n){return new le(e=>{const t=n[ag]();if(fe(t.subscribe))return t.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(n);if(cg(n))return function ik(n){return new le(e=>{for(let t=0;t<n.length&&!e.closed;t++)e.next(n[t]);e.complete()})}(n);if(gC(n))return function rk(n){return new le(e=>{n.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,lC)})}(n);if(yC(n))return DC(n);if(CC(n))return function ok(n){return new le(e=>{for(const t of n)if(e.next(t),e.closed)return;e.complete()})}(n);if(xC(n))return function sk(n){return DC(wC(n))}(n)}throw bC(n)}function DC(n){return new le(e=>{(function ak(n,e){var t,i,r,o;return KO(this,void 0,void 0,function*(){try{for(t=JO(n);!(i=yield t.next()).done;){const s=i.value;if(e.next(s),e.closed)return}}catch(s){r={error:s}}finally{try{i&&!i.done&&(o=t.return)&&(yield o.call(t))}finally{if(r)throw r.error}}e.complete()})})(n,e).catch(t=>e.error(t))})}function Ti(n,e,t,i=0,r=!1){const o=e.schedule(function(){t(),r?n.add(this.schedule(null,i)):this.unsubscribe()},i);if(n.add(o),!r)return o}function lt(n,e,t=1/0){return fe(e)?lt((i,r)=>G((o,s)=>e(i,o,r,s))(Mt(n(i,r))),t):("number"==typeof e&&(t=e),$e((i,r)=>function lk(n,e,t,i,r,o,s,a){const l=[];let c=0,d=0,u=!1;const h=()=>{u&&!l.length&&!c&&e.complete()},p=g=>c<i?m(g):l.push(g),m=g=>{o&&e.next(g),c++;let v=!1;Mt(t(g,d++)).subscribe(Ne(e,D=>{r?.(D),o?p(D):e.next(D)},()=>{v=!0},void 0,()=>{if(v)try{for(c--;l.length&&c<i;){const D=l.shift();s?Ti(e,s,()=>m(D)):m(D)}h()}catch(D){e.error(D)}}))};return n.subscribe(Ne(e,p,()=>{u=!0,h()})),()=>{a?.()}}(i,r,n,t)))}function ea(n=1/0){return lt(fr,n)}const hn=new le(n=>n.complete());function MC(n){return n&&fe(n.schedule)}function dg(n){return n[n.length-1]}function EC(n){return fe(dg(n))?n.pop():void 0}function Nc(n){return MC(dg(n))?n.pop():void 0}function IC(n,e=0){return $e((t,i)=>{t.subscribe(Ne(i,r=>Ti(i,n,()=>i.next(r),e),()=>Ti(i,n,()=>i.complete(),e),r=>Ti(i,n,()=>i.error(r),e)))})}function SC(n,e=0){return $e((t,i)=>{i.add(n.schedule(()=>t.subscribe(i),e))})}function TC(n,e){if(!n)throw new Error("Iterable cannot be null");return new le(t=>{Ti(t,e,()=>{const i=n[Symbol.asyncIterator]();Ti(t,e,()=>{i.next().then(r=>{r.done?t.complete():t.next(r.value)})},0,!0)})})}function gk(n,e){if(null!=n){if(_C(n))return function uk(n,e){return Mt(n).pipe(SC(e),IC(e))}(n,e);if(cg(n))return function fk(n,e){return new le(t=>{let i=0;return e.schedule(function(){i===n.length?t.complete():(t.next(n[i++]),t.closed||this.schedule())})})}(n,e);if(gC(n))return function hk(n,e){return Mt(n).pipe(SC(e),IC(e))}(n,e);if(yC(n))return TC(n,e);if(CC(n))return function pk(n,e){return new le(t=>{let i;return Ti(t,e,()=>{i=n[vC](),Ti(t,e,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(s){return void t.error(s)}o?t.complete():t.next(r)},0,!0)}),()=>fe(i?.return)&&i.return()})}(n,e);if(xC(n))return function mk(n,e){return TC(wC(n),e)}(n,e)}throw bC(n)}function tt(n,e){return e?gk(n,e):Mt(n)}function kn(...n){const e=Nc(n),t=function dk(n,e){return"number"==typeof dg(n)?n.pop():e}(n,1/0),i=n;return i.length?1===i.length?Mt(i[0]):ea(t)(tt(i,e)):hn}function AC(n={}){const{connector:e=(()=>new B),resetOnError:t=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=n;return o=>{let s,a,l,c=0,d=!1,u=!1;const h=()=>{a?.unsubscribe(),a=void 0},p=()=>{h(),s=l=void 0,d=u=!1},m=()=>{const g=s;p(),g?.unsubscribe()};return $e((g,v)=>{c++,!u&&!d&&h();const D=l=l??e();v.add(()=>{c--,0===c&&!u&&!d&&(a=ug(m,r))}),D.subscribe(v),!s&&c>0&&(s=new Pc({next:O=>D.next(O),error:O=>{u=!0,h(),a=ug(p,t,O),D.error(O)},complete:()=>{d=!0,h(),a=ug(p,i),D.complete()}}),Mt(g).subscribe(s))})(o)}}function ug(n,e,...t){if(!0===e)return void n();if(!1===e)return;const i=new Pc({next:()=>{i.unsubscribe(),n()}});return Mt(e(...t)).subscribe(i)}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 hg(n,e){for(const t in e)e.hasOwnProperty(t)&&!n.hasOwnProperty(t)&&(n[t]=e[t])}function Le(n){if("string"==typeof n)return n;if(Array.isArray(n))return"["+n.map(Le).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 fg(n,e){return null==n||""===n?null===e?"":e:null==e||""===e?n:n+" "+e}const _k=Re({__forward_ref__:Re});function Ae(n){return n.__forward_ref__=Ae,n.toString=function(){return Le(this())},n}function Y(n){return pg(n)?n():n}function pg(n){return"function"==typeof n&&n.hasOwnProperty(_k)&&n.__forward_ref__===Ae}function mg(n){return n&&!!n.\u0275providers}const Jh="https://g.co/ng/security#xss";class w extends Error{constructor(e,t){super(Xt(e,t)),this.code=e}}function Xt(n,e){return`NG0${Math.abs(n)}${e?": "+e.trim():""}`}function K(n){return"string"==typeof n?n:null==n?"":String(n)}function Me(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)}function ef(n,e){throw new w(-201,!1)}function pr(n,e,t){n!=e&&Ee(t,n,e,"==")}function fn(n,e){null==n&&Ee(e,n,null,"!=")}function Ee(n,e,t,i){throw new Error(`ASSERTION ERROR: ${n}`+(null==i?"":` [Expected=> ${t} ${i} ${e} <=Actual]`))}function I(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function X(n){return{providers:n.providers||[],imports:n.imports||[]}}function tf(n){return OC(n,nf)||OC(n,RC)}function OC(n,e){return n.hasOwnProperty(e)?n[e]:null}function kC(n){return n&&(n.hasOwnProperty(gg)||n.hasOwnProperty(Ek))?n[gg]:null}const nf=Re({\u0275prov:Re}),gg=Re({\u0275inj:Re}),RC=Re({ngInjectableDef:Re}),Ek=Re({ngInjectorDef:Re});var ce,n;let _g;function pn(n){const e=_g;return _g=n,e}function FC(n,e,t){const i=tf(n);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:t&ce.Optional?null:void 0!==e?e:void ef(Le(n))}(n=ce||(ce={}))[n.Default=0]="Default",n[n.Host=1]="Host",n[n.Self=2]="Self",n[n.SkipSelf=4]="SkipSelf",n[n.Optional=8]="Optional";const ze=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)();const mr={},yg="__NG_DI_FLAG__",rf="ngTempTokenPath",Sk="ngTokenPath",Tk=/\n/gm,Ak="\u0275",PC="__source";let Lc;function ta(n){const e=Lc;return Lc=n,e}function Ok(n,e=ce.Default){if(void 0===Lc)throw new w(-203,!1);return null===Lc?FC(n,void 0,e):Lc.get(n,e&ce.Optional?null:void 0,e)}function b(n,e=ce.Default){return(function Ik(){return _g}()||Ok)(Y(n),e)}function NC(n){throw new w(202,!1)}function H(n,e=ce.Default){return b(n,of(e))}function of(n){return typeof n>"u"||"number"==typeof n?n:0|(n.optional&&8)|(n.host&&1)|(n.self&&2)|(n.skipSelf&&4)}function bg(n){const e=[];for(let t=0;t<n.length;t++){const i=Y(n[t]);if(Array.isArray(i)){if(0===i.length)throw new w(900,!1);let r,o=ce.Default;for(let s=0;s<i.length;s++){const a=i[s],l=kk(a);"number"==typeof l?-1===l?r=a.token:o|=l:r=a}e.push(b(r,o))}else e.push(b(i))}return e}function Vc(n,e){return n[yg]=e,n.prototype[yg]=e,n}function kk(n){return n[yg]}function Rk(n,e,t,i){const r=n[rf];throw e[PC]&&r.unshift(e[PC]),n.message=function Fk(n,e,t,i=null){n=n&&"\n"===n.charAt(0)&&n.charAt(1)==Ak?n.slice(2):n;let r=Le(e);if(Array.isArray(e))r=e.map(Le).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):Le(a)))}r=`{${o.join(", ")}}`}return`${t}${i?"("+i+")":""}[${r}]: ${n.replace(Tk,"\n ")}`}("\n"+n.message,r,t,i),n[Sk]=r,n[rf]=null,n}function gr(n){return{toString:n}.toString()}var na,ti;!function(n){n[n.OnPush=0]="OnPush",n[n.Default=1]="Default"}(na||(na={})),function(n){n[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom"}(ti||(ti={}));const Ai={},we=[],sf=Re({\u0275cmp:Re}),vg=Re({\u0275dir:Re}),Cg=Re({\u0275pipe:Re}),LC=Re({\u0275mod:Re}),Oi=Re({\u0275fac:Re}),Bc=Re({__NG_ELEMENT_ID__:Re});let Pk=0;function xe(n){return gr(()=>{const e=n.type,t=!0===n.standalone,i={},r={type:e,providersResolver:null,decls:n.decls,vars:n.vars,factory:null,template:n.template||null,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:i,inputs:null,outputs:null,exportAs:n.exportAs||null,onPush:n.changeDetection===na.OnPush,directiveDefs:null,pipeDefs:null,standalone:t,dependencies:t&&n.dependencies||null,getStandaloneInjector:null,selectors:n.selectors||we,viewQuery:n.viewQuery||null,features:n.features||null,data:n.data||{},encapsulation:n.encapsulation||ti.Emulated,id:"c"+Pk++,styles:n.styles||we,_:null,setInput:null,schemas:n.schemas||null,tView:null,findHostDirectiveDefs:null,hostDirectives:null},o=n.dependencies,s=n.features;return r.inputs=zC(n.inputs,i),r.outputs=zC(n.outputs),s&&s.forEach(a=>a(r)),r.directiveDefs=o?()=>("function"==typeof o?o():o).map(VC).filter(BC):null,r.pipeDefs=o?()=>("function"==typeof o?o():o).map(Nt).filter(BC):null,r})}function Nk(n,e,t){const i=n.\u0275cmp;i.directiveDefs=()=>("function"==typeof e?e():e).map(VC),i.pipeDefs=()=>("function"==typeof t?t():t).map(Nt)}function VC(n){return Ie(n)||Et(n)}function BC(n){return null!==n}function te(n){return gr(()=>({type:n.type,bootstrap:n.bootstrap||we,declarations:n.declarations||we,imports:n.imports||we,exports:n.exports||we,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}))}function Lk(n,e){return gr(()=>{const t=Jt(n,!0);t.declarations=e.declarations||we,t.imports=e.imports||we,t.exports=e.exports||we})}function zC(n,e){if(null==n)return Ai;const t={};for(const i in n)if(n.hasOwnProperty(i)){let r=n[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),t[r]=i,e&&(e[r]=o)}return t}const E=xe;function $t(n){return{type:n.type,name:n.name,factory:null,pure:!1!==n.pure,standalone:!0===n.standalone,onDestroy:n.type.prototype.ngOnDestroy||null}}function Ie(n){return n[sf]||null}function Et(n){return n[vg]||null}function Nt(n){return n[Cg]||null}function ia(n){const e=Ie(n)||Et(n)||Nt(n);return null!==e&&e.standalone}function Jt(n,e){const t=n[LC]||null;if(!t&&!0===e)throw new Error(`Type ${Le(n)} does not have '\u0275mod' property.`);return t}const ki=0,P=1,se=2,Ke=3,Rn=4,po=5,It=6,ra=7,et=8,af=9,lf=10,ae=11,wg=12,zc=13,jC=14,oa=15,St=16,jc=17,sa=18,ni=19,Hc=20,HC=21,je=22,xg=1,UC=2,cf=7,df=8,aa=9,Lt=10;function en(n){return Array.isArray(n)&&"object"==typeof n[xg]}function Fn(n){return Array.isArray(n)&&!0===n[xg]}function Dg(n){return 0!=(4&n.flags)}function Uc(n){return n.componentOffset>-1}function uf(n){return 1==(1&n.flags)}function Pn(n){return null!==n.template}function Vk(n){return 0!=(256&n[se])}function mo(n,e){return n.hasOwnProperty(Oi)?n[Oi]:null}class jk{constructor(e,t,i){this.previousValue=e,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}function Ve(){return WC}function WC(n){return n.type.prototype.ngOnChanges&&(n.setInput=Uk),Hk}function Hk(){const n=YC(this),e=n?.current;if(e){const t=n.previous;if(t===Ai)n.previous=e;else for(let i in e)t[i]=e[i];n.current=null,this.ngOnChanges(e)}}function Uk(n,e,t,i){const r=this.declaredInputs[t],o=YC(n)||function $k(n,e){return n[qC]=e}(n,{previous:Ai,current:null}),s=o.current||(o.current={}),a=o.previous,l=a[r];s[r]=new jk(l&&l.currentValue,e,a===Ai),n[i]=e}Ve.ngInherit=!0;const qC="__ngSimpleChanges__";function YC(n){return n[qC]||null}let Mg=null;const mn=function(n,e,t){Mg?.(n,e,t)},ZC="svg",KC="math";function bt(n){for(;Array.isArray(n);)n=n[ki];return n}function hf(n,e){return bt(e[n])}function tn(n,e){return bt(e[n.index])}function XC(n,e){return n.data[e]}function la(n,e){return n[e]}function nn(n,e){const t=e[n];return en(t)?t:t[ki]}function ff(n){return 64==(64&n[se])}function _r(n,e){return null==e?null:n[e]}function QC(n){n[sa]=0}function Eg(n,e){n[po]+=e;let t=n,i=n[Ke];for(;null!==i&&(1===e&&1===t[po]||-1===e&&0===t[po]);)i[po]+=e,t=i,i=i[Ke]}const Q={lFrame:lw(null),bindingsEnabled:!0};function ew(){return Q.bindingsEnabled}function Jk(){Q.bindingsEnabled=!0}function e1(){Q.bindingsEnabled=!1}function T(){return Q.lFrame.lView}function pe(){return Q.lFrame.tView}function nt(n){return Q.lFrame.contextLView=n,n[et]}function it(n){return Q.lFrame.contextLView=null,n}function vt(){let n=tw();for(;null!==n&&64===n.type;)n=n.parent;return n}function tw(){return Q.lFrame.currentTNode}function $c(){const n=Q.lFrame,e=n.currentTNode;return n.isParent?e:e.parent}function ii(n,e){const t=Q.lFrame;t.currentTNode=n,t.isParent=e}function Ig(){return Q.lFrame.isParent}function Sg(){Q.lFrame.isParent=!1}function Vt(){const n=Q.lFrame;let e=n.bindingRootIndex;return-1===e&&(e=n.bindingRootIndex=n.tView.bindingStartIndex),e}function Ri(){return Q.lFrame.bindingIndex}function iw(n){return Q.lFrame.bindingIndex=n}function ca(){return Q.lFrame.bindingIndex++}function Fi(n){const e=Q.lFrame,t=e.bindingIndex;return e.bindingIndex=e.bindingIndex+n,t}function rw(n){Q.lFrame.inI18n=n}function i1(n,e){const t=Q.lFrame;t.bindingIndex=t.bindingRootIndex=n,Tg(e)}function Tg(n){Q.lFrame.currentDirectiveIndex=n}function Ag(n){const e=Q.lFrame.currentDirectiveIndex;return-1===e?null:n[e]}function ow(){return Q.lFrame.currentQueryIndex}function Og(n){Q.lFrame.currentQueryIndex=n}function o1(n){const e=n[P];return 2===e.type?e.declTNode:1===e.type?n[It]:null}function sw(n,e,t){if(t&ce.SkipSelf){let r=e,o=n;for(;(r=r.parent,null===r&&!(t&ce.Host))&&(r=o1(o),!(null===r||(o=o[oa],10&r.type))););if(null===r)return!1;e=r,n=o}const i=Q.lFrame=aw();return i.currentTNode=e,i.lView=n,!0}function kg(n){const e=aw(),t=n[P];Q.lFrame=e,e.currentTNode=t.firstChild,e.lView=n,e.tView=t,e.contextLView=n,e.bindingIndex=t.bindingStartIndex,e.inI18n=!1}function aw(){const n=Q.lFrame,e=null===n?null:n.child;return null===e?lw(n):e}function lw(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 cw(){const n=Q.lFrame;return Q.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}const dw=cw;function Rg(){const n=cw();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 s1(n){return(Q.lFrame.contextLView=function a1(n,e){for(;n>0;)e=e[oa],n--;return e}(n,Q.lFrame.contextLView))[et]}function Bt(){return Q.lFrame.selectedIndex}function go(n){Q.lFrame.selectedIndex=n}function Ye(){const n=Q.lFrame;return XC(n.tView,n.selectedIndex)}function Fg(){Q.lFrame.currentNamespace=ZC}function l1(){Q.lFrame.currentNamespace=KC}function uw(){!function c1(){Q.lFrame.currentNamespace=null}()}function pf(n,e){for(let t=e.directiveStart,i=e.directiveEnd;t<i;t++){const o=n.data[t].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:d}=o;s&&(n.contentHooks||(n.contentHooks=[])).push(-t,s),a&&((n.contentHooks||(n.contentHooks=[])).push(t,a),(n.contentCheckHooks||(n.contentCheckHooks=[])).push(t,a)),l&&(n.viewHooks||(n.viewHooks=[])).push(-t,l),c&&((n.viewHooks||(n.viewHooks=[])).push(t,c),(n.viewCheckHooks||(n.viewCheckHooks=[])).push(t,c)),null!=d&&(n.destroyHooks||(n.destroyHooks=[])).push(t,d)}}function mf(n,e,t){hw(n,e,3,t)}function gf(n,e,t,i){(3&n[se])===t&&hw(n,e,t,i)}function Pg(n,e){let t=n[se];(3&t)===e&&(t&=2047,t+=1,n[se]=t)}function hw(n,e,t,i){const r=void 0!==i?65535&n[sa]:0,o=i??-1,s=e.length-1;let a=0;for(let l=r;l<s;l++)if("number"==typeof e[l+1]){if(a=e[l],null!=i&&a>=i)break}else e[l]<0&&(n[sa]+=65536),(a<o||-1==o)&&(h1(n,t,e,l),n[sa]=(4294901760&n[sa])+l+2),l++}function h1(n,e,t,i){const r=t[i]<0,o=t[i+1],a=n[r?-t[i]:t[i]];if(r){if(n[se]>>11<n[sa]>>16&&(3&n[se])===e){n[se]+=2048,mn(4,a,o);try{o.call(a)}finally{mn(5,a,o)}}}else{mn(4,a,o);try{o.call(a)}finally{mn(5,a,o)}}}const da=-1;class Gc{constructor(e,t,i){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=i}}function Lg(n,e,t){let i=0;for(;i<t.length;){const r=t[i];if("number"==typeof r){if(0!==r)break;i++;const o=t[i++],s=t[i++],a=t[i++];n.setAttribute(e,s,a,o)}else{const o=r,s=t[++i];pw(o)?n.setProperty(e,o,s):n.setAttribute(e,o,s),i++}}return i}function fw(n){return 3===n||4===n||6===n}function pw(n){return 64===n.charCodeAt(0)}function Wc(n,e){if(null!==e&&0!==e.length)if(null===n||0===n.length)n=e.slice();else{let t=-1;for(let i=0;i<e.length;i++){const r=e[i];"number"==typeof r?t=r:0===t||mw(n,t,r,null,-1===t||2===t?e[++i]:null)}}return n}function mw(n,e,t,i,r){let o=0,s=n.length;if(-1===e)s=-1;else for(;o<n.length;){const a=n[o++];if("number"==typeof a){if(a===e){s=-1;break}if(a>e){s=o-1;break}}}for(;o<n.length;){const a=n[o];if("number"==typeof a)break;if(a===t){if(null===i)return void(null!==r&&(n[o+1]=r));if(i===n[o+1])return void(n[o+2]=r)}o++,null!==i&&o++,null!==r&&o++}-1!==s&&(n.splice(s,0,e),o=s+1),n.splice(o++,0,t),null!==i&&n.splice(o++,0,i),null!==r&&n.splice(o++,0,r)}function gw(n){return n!==da}function _f(n){return 32767&n}function yf(n,e){let t=function g1(n){return n>>16}(n),i=e;for(;t>0;)i=i[oa],t--;return i}let Vg=!0;function bf(n){const e=Vg;return Vg=n,e}const _w=255,yw=5;let _1=0;const ri={};function vf(n,e){const t=bw(n,e);if(-1!==t)return t;const i=e[P];i.firstCreatePass&&(n.injectorIndex=e.length,Bg(i.data,n),Bg(e,null),Bg(i.blueprint,null));const r=zg(n,e),o=n.injectorIndex;if(gw(r)){const s=_f(r),a=yf(r,e),l=a[P].data;for(let c=0;c<8;c++)e[o+c]=a[s+c]|l[s+c]}return e[o+8]=r,o}function Bg(n,e){n.push(0,0,0,0,0,0,0,0,e)}function bw(n,e){return-1===n.injectorIndex||n.parent&&n.parent.injectorIndex===n.injectorIndex||null===e[n.injectorIndex+8]?-1:n.injectorIndex}function zg(n,e){if(n.parent&&-1!==n.parent.injectorIndex)return n.parent.injectorIndex;let t=0,i=null,r=e;for(;null!==r;){if(i=Ew(r),null===i)return da;if(t++,r=r[oa],-1!==i.injectorIndex)return i.injectorIndex|t<<16}return da}function jg(n,e,t){!function y1(n,e,t){let i;"string"==typeof t?i=t.charCodeAt(0)||0:t.hasOwnProperty(Bc)&&(i=t[Bc]),null==i&&(i=t[Bc]=_1++);const r=i&_w,o=1<<r;e.data[n+(r>>yw)]|=o}(n,e,t)}function vw(n,e,t){if(t&ce.Optional||void 0!==n)return n;ef()}function Cw(n,e,t,i){if(t&ce.Optional&&void 0===i&&(i=null),!(t&(ce.Self|ce.Host))){const r=n[af],o=pn(void 0);try{return r?r.get(e,i,t&ce.Optional):FC(e,i,t&ce.Optional)}finally{pn(o)}}return vw(i,0,t)}function ww(n,e,t,i=ce.Default,r){if(null!==n){if(1024&e[se]){const s=function x1(n,e,t,i,r){let o=n,s=e;for(;null!==o&&null!==s&&1024&s[se]&&!(256&s[se]);){const a=xw(o,s,t,i|ce.Self,ri);if(a!==ri)return a;let l=o.parent;if(!l){const c=s[HC];if(c){const d=c.get(t,ri,i);if(d!==ri)return d}l=Ew(s),s=s[oa]}o=l}return r}(n,e,t,i,ri);if(s!==ri)return s}const o=xw(n,e,t,i,ri);if(o!==ri)return o}return Cw(e,t,i,r)}function xw(n,e,t,i,r){const o=function C1(n){if("string"==typeof n)return n.charCodeAt(0)||0;const e=n.hasOwnProperty(Bc)?n[Bc]:void 0;return"number"==typeof e?e>=0?e&_w:w1:e}(t);if("function"==typeof o){if(!sw(e,n,i))return i&ce.Host?vw(r,0,i):Cw(e,t,i,r);try{const s=o(i);if(null!=s||i&ce.Optional)return s;ef()}finally{dw()}}else if("number"==typeof o){let s=null,a=bw(n,e),l=da,c=i&ce.Host?e[St][It]:null;for((-1===a||i&ce.SkipSelf)&&(l=-1===a?zg(n,e):e[a+8],l!==da&&Mw(i,!1)?(s=e[P],a=_f(l),e=yf(l,e)):a=-1);-1!==a;){const d=e[P];if(Dw(o,a,d.data)){const u=v1(a,e,t,s,i,c);if(u!==ri)return u}l=e[a+8],l!==da&&Mw(i,e[P].data[a+8]===c)&&Dw(o,a,e)?(s=d,a=_f(l),e=yf(l,e)):a=-1}}return r}function v1(n,e,t,i,r,o){const s=e[P],a=s.data[n+8],d=Cf(a,s,t,null==i?Uc(a)&&Vg:i!=s&&0!=(3&a.type),r&ce.Host&&o===a);return null!==d?_o(e,s,d,a):ri}function Cf(n,e,t,i,r){const o=n.providerIndexes,s=e.data,a=1048575&o,l=n.directiveStart,c=n.directiveEnd,d=o>>20,h=r?a+d:c;for(let p=i?a:a+d;p<h;p++){const m=s[p];if(p<l&&t===m||p>=l&&m.type===t)return p}if(r){const p=s[l];if(p&&Pn(p)&&p.type===t)return l}return null}function _o(n,e,t,i){let r=n[t];const o=e.data;if(function f1(n){return n instanceof Gc}(r)){const s=r;s.resolving&&function yk(n,e){const t=e?`. Dependency path: ${e.join(" > ")} > ${n}`:"";throw new w(-200,`Circular dependency in DI detected for ${n}${t}`)}(Me(o[t]));const a=bf(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?pn(s.injectImpl):null;sw(n,i,ce.Default);try{r=n[t]=s.factory(void 0,o,n,i),e.firstCreatePass&&t>=i.directiveStart&&function u1(n,e,t){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=e.type.prototype;if(i){const s=WC(e);(t.preOrderHooks||(t.preOrderHooks=[])).push(n,s),(t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n,s)}r&&(t.preOrderHooks||(t.preOrderHooks=[])).push(0-n,r),o&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n,o),(t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n,o))}(t,o[t],e)}finally{null!==l&&pn(l),bf(a),s.resolving=!1,dw()}}return r}function Dw(n,e,t){const i=1<<n;return!!(t[e+(n>>yw)]&i)}function Mw(n,e){return!(n&ce.Self||n&ce.Host&&e)}class ua{constructor(e,t){this._tNode=e,this._lView=t}get(e,t,i){return ww(this._tNode,this._lView,e,of(i),t)}}function w1(){return new ua(vt(),T())}function Oe(n){return gr(()=>{const e=n.prototype.constructor,t=e[Oi]||Hg(e),i=Object.prototype;let r=Object.getPrototypeOf(n.prototype).constructor;for(;r&&r!==i;){const o=r[Oi]||Hg(r);if(o&&o!==t)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function Hg(n){return pg(n)?()=>{const e=Hg(Y(n));return e&&e()}:mo(n)}function Ew(n){const e=n[P],t=e.type;return 2===t?e.declTNode:1===t?n[It]:null}function yo(n){return function b1(n,e){if("class"===e)return n.classes;if("style"===e)return n.styles;const t=n.attrs;if(t){const i=t.length;let r=0;for(;r<i;){const o=t[r];if(fw(o))break;if(0===o)r+=2;else if("number"==typeof o)for(r++;r<i&&"string"==typeof t[r];)r++;else{if(o===e)return t[r+1];r+=2}}}return null}(vt(),n)}const ha="__annotations__",fa="__parameters__",pa="__prop__metadata__";function qc(n,e,t,i,r){return gr(()=>{const o=Ug(e);function s(...a){if(this instanceof s)return o.call(this,...a),this;const l=new s(...a);return function(d){return r&&r(d,...a),(d.hasOwnProperty(ha)?d[ha]:Object.defineProperty(d,ha,{value:[]})[ha]).push(l),i&&i(d),d}}return t&&(s.prototype=Object.create(t.prototype)),s.prototype.ngMetadataName=n,s.annotationCls=s,s})}function Ug(n){return function(...t){if(n){const i=n(...t);for(const r in i)this[r]=i[r]}}}function ma(n,e,t){return gr(()=>{const i=Ug(e);function r(...o){if(this instanceof r)return i.apply(this,o),this;const s=new r(...o);return a.annotation=s,a;function a(l,c,d){const u=l.hasOwnProperty(fa)?l[fa]:Object.defineProperty(l,fa,{value:[]})[fa];for(;u.length<=d;)u.push(null);return(u[d]=u[d]||[]).push(s),l}}return t&&(r.prototype=Object.create(t.prototype)),r.prototype.ngMetadataName=n,r.annotationCls=r,r})}function yr(n,e,t,i){return gr(()=>{const r=Ug(e);function o(...s){if(this instanceof o)return r.apply(this,s),this;const a=new o(...s);return function l(c,d){const u=c.constructor,h=u.hasOwnProperty(pa)?u[pa]:Object.defineProperty(u,pa,{value:{}})[pa];h[d]=h.hasOwnProperty(d)&&h[d]||[],h[d].unshift(a),i&&i(c,d,...s)}}return t&&(o.prototype=Object.create(t.prototype)),o.prototype.ngMetadataName=n,o.annotationCls=o,o})}const D1=ma("Attribute",n=>({attributeName:n,__NG_ELEMENT_ID__:()=>yo(n)}));class A{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=I({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}new A("AnalyzeForEntryComponents");class wf{}yr("ContentChildren",(n,e={})=>({selector:n,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:true,...e}),wf),yr("ContentChild",(n,e={})=>({selector:n,first:!0,isViewQuery:!1,descendants:!0,...e}),wf),yr("ViewChildren",(n,e={})=>({selector:n,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:true,...e}),wf),yr("ViewChild",(n,e)=>({selector:n,first:!0,isViewQuery:!0,descendants:!0,...e}),wf);var bo,Sw,Tw;function ct(n){const e=ze.ng;if(e&&e.\u0275compilerFacade)return e.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}!function(n){n[n.Directive=0]="Directive",n[n.Component=1]="Component",n[n.Injectable=2]="Injectable",n[n.Pipe=3]="Pipe",n[n.NgModule=4]="NgModule"}(bo||(bo={})),function(n){n[n.Directive=0]="Directive",n[n.Pipe=1]="Pipe",n[n.NgModule=2]="NgModule"}(Sw||(Sw={})),function(n){n[n.Emulated=0]="Emulated",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom"}(Tw||(Tw={}));const $g=Function;function Yc(n){return"function"==typeof n}function gn(n){return n.flat(Number.POSITIVE_INFINITY)}function vo(n,e){n.forEach(t=>Array.isArray(t)?vo(t,e):e(t))}function Aw(n,e,t){e>=n.length?n.push(t):n.splice(e,0,t)}function xf(n,e){return e>=n.length-1?n.pop():n.splice(e,1)[0]}function Zc(n,e){const t=[];for(let i=0;i<n;i++)t.push(e);return t}function rn(n,e,t){let i=ga(n,e);return i>=0?n[1|i]=t:(i=~i,function I1(n,e,t,i){let r=n.length;if(r==e)n.push(t,i);else if(1===r)n.push(i,n[0]),n[0]=t;else{for(r--,n.push(n[r-1],n[r]);r>e;){const o=r-2;n[r]=n[o],r--}n[e]=t,n[e+1]=i}}(n,i,e,t)),i}function Gg(n,e){const t=ga(n,e);if(t>=0)return n[1|t]}function ga(n,e){return Ow(n,e,1)}function Ow(n,e,t){let i=0,r=n.length>>t;for(;r!==i;){const o=i+(r-i>>1),s=n[o<<t];if(e===s)return o<<t;s>e?r=o:i=o+1}return~(r<<t)}const S1=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,T1=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,A1=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,O1=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class R1{constructor(e){this._reflect=e||ze.Reflect}factory(e){return(...t)=>new e(...t)}_zipTypesAndAnnotations(e,t){let i;i=Zc(typeof e>"u"?t.length:e.length);for(let r=0;r<i.length;r++)typeof e>"u"?i[r]=[]:e[r]&&e[r]!=Object?i[r]=[e[r]]:i[r]=[],t&&null!=t[r]&&(i[r]=i[r].concat(t[r]));return i}_ownParameters(e,t){if(function k1(n){return S1.test(n)||O1.test(n)||T1.test(n)&&!A1.test(n)}(e.toString()))return null;if(e.parameters&&e.parameters!==t.parameters)return e.parameters;const r=e.ctorParameters;if(r&&r!==t.ctorParameters){const a="function"==typeof r?r():r,l=a.map(d=>d&&d.type),c=a.map(d=>d&&Wg(d.decorators));return this._zipTypesAndAnnotations(l,c)}const o=e.hasOwnProperty(fa)&&e[fa],s=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",e);return s||o?this._zipTypesAndAnnotations(s,o):Zc(e.length)}parameters(e){if(!Yc(e))return[];const t=Df(e);let i=this._ownParameters(e,t);return!i&&t!==Object&&(i=this.parameters(t)),i||[]}_ownAnnotations(e,t){if(e.annotations&&e.annotations!==t.annotations){let i=e.annotations;return"function"==typeof i&&i.annotations&&(i=i.annotations),i}return e.decorators&&e.decorators!==t.decorators?Wg(e.decorators):e.hasOwnProperty(ha)?e[ha]:null}annotations(e){if(!Yc(e))return[];const t=Df(e),i=this._ownAnnotations(e,t)||[];return(t!==Object?this.annotations(t):[]).concat(i)}_ownPropMetadata(e,t){if(e.propMetadata&&e.propMetadata!==t.propMetadata){let i=e.propMetadata;return"function"==typeof i&&i.propMetadata&&(i=i.propMetadata),i}if(e.propDecorators&&e.propDecorators!==t.propDecorators){const i=e.propDecorators,r={};return Object.keys(i).forEach(o=>{r[o]=Wg(i[o])}),r}return e.hasOwnProperty(pa)?e[pa]:null}propMetadata(e){if(!Yc(e))return{};const t=Df(e),i={};if(t!==Object){const o=this.propMetadata(t);Object.keys(o).forEach(s=>{i[s]=o[s]})}const r=this._ownPropMetadata(e,t);return r&&Object.keys(r).forEach(o=>{const s=[];i.hasOwnProperty(o)&&s.push(...i[o]),s.push(...r[o]),i[o]=s}),i}ownPropMetadata(e){return Yc(e)&&this._ownPropMetadata(e,Df(e))||{}}hasLifecycleHook(e,t){return e instanceof $g&&t in e.prototype}}function Wg(n){return n?n.map(e=>new(0,e.type.annotationCls)(...e.args?e.args:[])):[]}function Df(n){const e=n.prototype?Object.getPrototypeOf(n.prototype):null;return(e?e.constructor:null)||Object}const Mf=Vc(ma("Inject",n=>({token:n})),-1),Co=Vc(ma("Optional"),8),qg=Vc(ma("Self"),2),_a=Vc(ma("SkipSelf"),4),F1=Vc(ma("Host"),1);let kw=null;function Kc(){return kw=kw||new R1}function Ef(n){return Rw(Kc().parameters(n))}function Rw(n){return n.map(e=>function P1(n){const e={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(n)&&n.length>0)for(let t=0;t<n.length;t++){const i=n[t];if(void 0===i)continue;const r=Object.getPrototypeOf(i);if(i instanceof Co||"Optional"===r.ngMetadataName)e.optional=!0;else if(i instanceof _a||"SkipSelf"===r.ngMetadataName)e.skipSelf=!0;else if(i instanceof qg||"Self"===r.ngMetadataName)e.self=!0;else if(i instanceof F1||"Host"===r.ngMetadataName)e.host=!0;else if(i instanceof Mf)e.token=i.token;else if(i instanceof D1){if(void 0===i.attributeName)throw new w(204,!1);e.attribute=i.attributeName}else e.token=i}else void 0===n||Array.isArray(n)&&0===n.length?e.token=null:e.token=n;return e}(e))}let ya=new Map;const Xc=new Set;function Fw(n){return!!(n.templateUrl&&!n.hasOwnProperty("template")||n.styleUrls&&n.styleUrls.length)}const If=new Map;let Pw=!0;function Nw(n,e){(function H1(n,e,t){if(e&&e!==t&&Pw)throw new Error(`Duplicate module registered for ${n} - ${Le(e)} vs ${Le(e.name)}`)})(e,If.get(e)||null,n),If.set(e,n)}var Pi;!function(n){n[n.Important=1]="Important",n[n.DashCase=2]="DashCase"}(Pi||(Pi={}));const W1=/^>|^->|<!--|-->|--!>|<!-$/g,q1=/(<|>)/,Y1="\u200b$1\u200b";function Hw(n){return n.replace(W1,e=>e.replace(q1,Y1))}const Xg=new Map;let Z1=0;const Jg="__ngContext__";function Tt(n,e){en(e)?(n[Jg]=e[Hc],function X1(n){Xg.set(n[Hc],n)}(e)):n[Jg]=e}let e_;function t_(n,e){return e_(n,e)}function Jc(n){const e=n[Ke];return Fn(e)?e[Ke]:e}function n_(n){return Kw(n[zc])}function i_(n){return Kw(n[Rn])}function Kw(n){for(;null!==n&&!Fn(n);)n=n[Rn];return n}function ba(n,e,t,i,r){if(null!=i){let o,s=!1;Fn(i)?o=i:en(i)&&(s=!0,i=i[ki]);const a=bt(i);0===n&&null!==t?null==r?nx(e,t,a):wo(e,t,a,r||null,!0):1===n&&null!==t?wo(e,t,a,r||null,!0):2===n?d_(e,a,s):3===n&&e.destroyNode(a),null!=o&&function vR(n,e,t,i,r){const o=t[cf],s=bt(t);o!==s&&ba(e,n,i,o,r);for(let a=Lt;a<t.length;a++){const l=t[a];ed(l[P],l,n,e,i,o)}}(e,n,o,t,r)}}function r_(n,e){return n.createText(e)}function Xw(n,e,t){n.setValue(e,t)}function lR(n,e){return n.createComment(Hw(e))}function o_(n,e,t){return n.createElement(e,t)}function fR(n,e,t,i){const r=Lt+i,o=t.length;i>0&&(t[r-1][Rn]=e),i<o-Lt?(e[Rn]=t[r],Aw(t,Lt+i,e)):(t.push(e),e[Rn]=null),e[Ke]=t;const s=e[jc];null!==s&&t!==s&&function pR(n,e){const t=n[aa],r=e[Ke][Ke][St];e[St]!==r&&(n[UC]=!0),null===t?n[aa]=[e]:t.push(e)}(s,e);const a=e[ni];null!==a&&a.insertView(n),e[se]|=64}function Qw(n,e){const t=n[aa],i=t.indexOf(e),r=e[Ke];512&e[se]&&(e[se]&=-513,Eg(r,-1)),t.splice(i,1)}function s_(n,e){if(n.length<=Lt)return;const t=Lt+e,i=n[t];if(i){const r=i[jc];null!==r&&r!==n&&Qw(r,i),e>0&&(n[t-1][Rn]=i[Rn]);const o=xf(n,Lt+e);!function cR(n,e){ed(n,e,e[ae],2,null,null),e[ki]=null,e[It]=null}(i[P],i);const s=o[ni];null!==s&&s.detachView(o[P]),i[Ke]=null,i[Rn]=null,i[se]&=-65}return i}function Jw(n,e){if(!(128&e[se])){const t=e[ae];t.destroyNode&&ed(n,e,t,3,null,null),function hR(n){let e=n[zc];if(!e)return a_(n[P],n);for(;e;){let t=null;if(en(e))t=e[zc];else{const i=e[Lt];i&&(t=i)}if(!t){for(;e&&!e[Rn]&&e!==n;)en(e)&&a_(e[P],e),e=e[Ke];null===e&&(e=n),en(e)&&a_(e[P],e),t=e&&e[Rn]}e=t}}(e)}}function a_(n,e){if(!(128&e[se])){e[se]&=-65,e[se]|=128,function gR(n,e){let t;if(null!=n&&null!=(t=n.destroyHooks))for(let i=0;i<t.length;i+=2){const r=e[t[i]];if(!(r instanceof Gc)){const o=t[i+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){const a=r[o[s]],l=o[s+1];mn(4,a,l);try{l.call(a)}finally{mn(5,a,l)}}else{mn(4,r,o);try{o.call(r)}finally{mn(5,r,o)}}}}}(n,e),function mR(n,e){const t=n.cleanup,i=e[ra];let r=-1;if(null!==t)for(let o=0;o<t.length-1;o+=2)if("string"==typeof t[o]){const s=t[o+3];s>=0?i[r=s]():i[r=-s].unsubscribe(),o+=2}else{const s=i[r=t[o+1]];t[o].call(s)}if(null!==i){for(let o=r+1;o<i.length;o++){(0,i[o])()}e[ra]=null}}(n,e),1===e[P].type&&e[ae].destroy();const t=e[jc];if(null!==t&&Fn(e[Ke])){t!==e[Ke]&&Qw(t,e);const i=e[ni];null!==i&&i.detachView(n)}!function Q1(n){Xg.delete(n[Hc])}(e)}}function ex(n,e,t){return tx(n,e.parent,t)}function tx(n,e,t){let i=e;for(;null!==i&&40&i.type;)i=(e=i).parent;if(null===i)return t[ki];{const{componentOffset:r}=i;if(r>-1){const{encapsulation:o}=n.data[i.directiveStart+r];if(o===ti.None||o===ti.Emulated)return null}return tn(i,t)}}function wo(n,e,t,i,r){n.insertBefore(e,t,i,r)}function nx(n,e,t){n.appendChild(e,t)}function ix(n,e,t,i,r){null!==i?wo(n,e,t,i,r):nx(n,e,t)}function Sf(n,e){return n.parentNode(e)}function rx(n,e,t){return sx(n,e,t)}function ox(n,e,t){return 40&n.type?tn(n,t):null}let l_,Of,f_,kf,sx=ox;function ax(n,e){sx=n,l_=e}function Tf(n,e,t,i){const r=ex(n,i,e),o=e[ae],a=rx(i.parent||e[It],i,e);if(null!=r)if(Array.isArray(t))for(let l=0;l<t.length;l++)ix(o,r,t[l],a,!1);else ix(o,r,t,a,!1);void 0!==l_&&l_(o,i,e,t,r)}function Af(n,e){if(null!==e){const t=e.type;if(3&t)return tn(e,n);if(4&t)return c_(-1,n[e.index]);if(8&t){const i=e.child;if(null!==i)return Af(n,i);{const r=n[e.index];return Fn(r)?c_(-1,r):bt(r)}}if(32&t)return t_(e,n)()||bt(n[e.index]);{const i=lx(n,e);if(null!==i){if(Array.isArray(i))return i[0];return Af(Jc(n[St]),i)}return Af(n,e.next)}}return null}function lx(n,e){if(null!==e){const i=n[St][It],r=e.projection;return i.projection[r]}return null}function c_(n,e){const t=Lt+n+1;if(t<e.length){const i=e[t],r=i[P].firstChild;if(null!==r)return Af(i,r)}return e[cf]}function d_(n,e,t){const i=Sf(n,e);i&&function _R(n,e,t,i){n.removeChild(e,t,i)}(n,i,e,t)}function u_(n,e,t,i,r,o,s){for(;null!=t;){const a=i[t.index],l=t.type;if(s&&0===e&&(a&&Tt(bt(a),i),t.flags|=2),32!=(32&t.flags))if(8&l)u_(n,e,t.child,i,r,o,!1),ba(e,n,r,a,o);else if(32&l){const c=t_(t,i);let d;for(;d=c();)ba(e,n,r,d,o);ba(e,n,r,a,o)}else 16&l?cx(n,e,i,t,r,o):ba(e,n,r,a,o);t=s?t.projectionNext:t.next}}function ed(n,e,t,i,r,o){u_(t,i,n.firstChild,e,r,o,!1)}function cx(n,e,t,i,r,o){const s=t[St],l=s[It].projection[i.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++){ba(e,n,r,l[c],o)}else{u_(n,e,l,s[Ke],r,o,!0)}}function dx(n,e,t){""===t?n.removeAttribute(e,"class"):n.setAttribute(e,"class",t)}function ux(n,e,t){const{mergedAttrs:i,classes:r,styles:o}=t;null!==i&&Lg(n,e,i),null!==r&&dx(n,e,r),null!==o&&function wR(n,e,t){n.setAttribute(e,"style",t)}(n,e,o)}function h_(){if(void 0===Of&&(Of=null,ze.trustedTypes))try{Of=ze.trustedTypes.createPolicy("angular",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return Of}function va(n){return h_()?.createHTML(n)||n}function MR(n,e,t){const i=T(),r=Ye(),o=tn(r,i);if(2===r.type&&"iframe"===e.toLowerCase()){const s=o;s.src="",s.srcdoc=va(""),d_(i[ae],s);throw new w(-910,!1)}return n}function hx(){return void 0!==f_?f_:typeof document<"u"?document:void 0}function p_(){if(void 0===kf&&(kf=null,ze.trustedTypes))try{kf=ze.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return kf}function fx(n){return p_()?.createHTML(n)||n}function px(n){return p_()?.createScript(n)||n}function mx(n){return p_()?.createScriptURL(n)||n}class xo{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Jh})`}}class IR extends xo{getTypeName(){return"HTML"}}class SR extends xo{getTypeName(){return"Style"}}class TR extends xo{getTypeName(){return"Script"}}class AR extends xo{getTypeName(){return"URL"}}class OR extends xo{getTypeName(){return"ResourceURL"}}function on(n){return n instanceof xo?n.changingThisBreaksApplicationSecurity:n}function oi(n,e){const t=function kR(n){return n instanceof xo&&n.getTypeName()||null}(n);if(null!=t&&t!==e){if("ResourceURL"===t&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${t} (see ${Jh})`)}return t===e}function gx(n){const e=new BR(n);return function zR(){try{return!!(new window.DOMParser).parseFromString(va(""),"text/html")}catch{return!1}}()?new VR(e):e}class VR{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e="<body><remove></remove>"+e;try{const t=(new window.DOMParser).parseFromString(va(e),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(e):(t.removeChild(t.firstChild),t)}catch{return null}}}class BR{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){const t=this.inertDocument.createElement("template");return t.innerHTML=va(e),t}}const jR=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;function Rf(n){return(n=String(n)).match(jR)?n:"unsafe:"+n}function Ni(n){const e={};for(const t of n.split(","))e[t]=!0;return e}function td(...n){const e={};for(const t of n)for(const i in t)t.hasOwnProperty(i)&&(e[i]=!0);return e}const _x=Ni("area,br,col,hr,img,wbr"),yx=Ni("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),bx=Ni("rp,rt"),HR=td(bx,yx),UR=td(yx,Ni("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),$R=td(bx,Ni("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),m_=td(_x,UR,$R,HR),g_=Ni("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),GR=Ni("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),WR=Ni("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),vx=td(g_,GR,WR),qR=Ni("script,style,template");class YR{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let t=e.firstChild,i=!0;for(;t;)if(t.nodeType===Node.ELEMENT_NODE?i=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,i&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let r=this.checkClobberedElement(t,t.nextSibling);if(r){t=r;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(e){const t=e.nodeName.toLowerCase();if(!m_.hasOwnProperty(t))return this.sanitizedSomething=!0,!qR.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const i=e.attributes;for(let r=0;r<i.length;r++){const o=i.item(r),s=o.name,a=s.toLowerCase();if(!vx.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=o.value;g_[a]&&(l=Rf(l)),this.buf.push(" ",s,'="',Cx(l),'"')}return this.buf.push(">"),!0}endElement(e){const t=e.nodeName.toLowerCase();m_.hasOwnProperty(t)&&!_x.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(Cx(e))}checkClobberedElement(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`);return t}}const ZR=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,KR=/([^\#-~ |!])/g;function Cx(n){return n.replace(/&/g,"&").replace(ZR,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(KR,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let Ff;function wx(n,e){let t=null;try{Ff=Ff||gx(n);let i=e?String(e):"";t=Ff.getInertBodyElement(i);let r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=t.innerHTML,t=Ff.getInertBodyElement(i)}while(i!==o);return va((new YR).sanitizeChildren(__(t)||t))}finally{if(t){const i=__(t)||t;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function __(n){return"content"in n&&function XR(n){return n.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===n.nodeName}(n)?n.content:null}var sn;function QR(n){const e=nd();return e?fx(e.sanitize(sn.HTML,n)||""):oi(n,"HTML")?fx(on(n)):wx(hx(),K(n))}function JR(n){const e=nd();return e?e.sanitize(sn.STYLE,n)||"":oi(n,"Style")?on(n):K(n)}function si(n){const e=nd();return e?e.sanitize(sn.URL,n)||"":oi(n,"URL")?on(n):Rf(K(n))}function xx(n){const e=nd();if(e)return mx(e.sanitize(sn.RESOURCE_URL,n)||"");if(oi(n,"ResourceURL"))return mx(on(n));throw new w(904,!1)}function eF(n){const e=nd();if(e)return px(e.sanitize(sn.SCRIPT,n)||"");if(oi(n,"Script"))return px(on(n));throw new w(905,!1)}function tF(n){return va(n[0])}function nF(n){return function DR(n){return h_()?.createScriptURL(n)||n}(n[0])}function Dx(n,e,t){return function iF(n,e){return"src"===e&&("embed"===n||"frame"===n||"iframe"===n||"media"===n||"script"===n)||"href"===e&&("base"===n||"link"===n)?xx:si}(e,t)(n)}function nd(){const n=T();return n&&n[wg]}!function(n){n[n.NONE=0]="NONE",n[n.HTML=1]="HTML",n[n.STYLE=2]="STYLE",n[n.SCRIPT=3]="SCRIPT",n[n.URL=4]="URL",n[n.RESOURCE_URL=5]="RESOURCE_URL"}(sn||(sn={}));const Pf=new A("ENVIRONMENT_INITIALIZER"),Mx=new A("INJECTOR",-1),Ex=new A("INJECTOR_DEF_TYPES");class Ix{get(e,t=mr){if(t===mr){const i=new Error(`NullInjectorError: No provider for ${Le(e)}!`);throw i.name="NullInjectorError",i}return t}}function oF(...n){return{\u0275providers:Sx(!0,n),\u0275fromNgModule:!0}}function Sx(n,...e){const t=[],i=new Set;let r;return vo(e,o=>{const s=o;y_(s,t,[],i)&&(r||(r=[]),r.push(s))}),void 0!==r&&Tx(r,t),t}function Tx(n,e){for(let t=0;t<n.length;t++){const{ngModule:i,providers:r}=n[t];b_(r,o=>{e.push(o)})}}function y_(n,e,t,i){if(!(n=Y(n)))return!1;let r=null,o=kC(n);const s=!o&&Ie(n);if(o||s){if(s&&!s.standalone)return!1;r=n}else{const l=n.ngModule;if(o=kC(l),!o)return!1;r=l}const a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)y_(c,e,t,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{vo(o.imports,d=>{y_(d,e,t,i)&&(c||(c=[]),c.push(d))})}finally{}void 0!==c&&Tx(c,e)}if(!a){const c=mo(r)||(()=>new r);e.push({provide:r,useFactory:c,deps:we},{provide:Ex,useValue:r,multi:!0},{provide:Pf,useValue:()=>b(r),multi:!0})}const l=o.providers;if(null!=l&&!a){b_(l,d=>{e.push(d)})}}}return r!==n&&void 0!==n.providers}function b_(n,e){for(let t of n)mg(t)&&(t=t.\u0275providers),Array.isArray(t)?b_(t,e):e(t)}const sF=Re({provide:String,useValue:Re});function v_(n){return null!==n&&"object"==typeof n&&sF in n}function Ax(n){return!(!n||!n.useExisting)}function Ox(n){return!(!n||!n.useFactory)}function Do(n){return"function"==typeof n}const C_=new A("Set Injector scope."),Nf={},lF={};let w_;function Lf(){return void 0===w_&&(w_=new Ix),w_}class _n{}class kx extends _n{get destroyed(){return this._destroyed}constructor(e,t,i,r){super(),this.parent=t,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,D_(e,s=>this.processProvider(s)),this.records.set(Mx,Ca(void 0,this)),r.has("environment")&&this.records.set(_n,Ca(void 0,this));const o=this.records.get(C_);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Ex.multi,we,ce.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=ta(this),i=pn(void 0);try{return e()}finally{ta(t),pn(i)}}get(e,t=mr,i=ce.Default){this.assertNotDestroyed(),i=of(i);const r=ta(this),o=pn(void 0);try{if(!(i&ce.SkipSelf)){let a=this.records.get(e);if(void 0===a){const l=function fF(n){return"function"==typeof n||"object"==typeof n&&n instanceof A}(e)&&tf(e);a=l&&this.injectableDefInScope(l)?Ca(x_(e),Nf):null,this.records.set(e,a)}if(null!=a)return this.hydrate(e,a)}const s=i&ce.Self?Lf():this.parent;return t=i&ce.Optional&&t===mr?null:t,s.get(e,t)}catch(s){if("NullInjectorError"===s.name){if((s[rf]=s[rf]||[]).unshift(Le(e)),r)throw s;return Rk(s,e,"R3InjectorError",this.source)}throw s}finally{pn(o),ta(r)}}resolveInjectorInitializers(){const e=ta(this),t=pn(void 0);try{const i=this.get(Pf.multi,we,ce.Self);for(const r of i)r()}finally{ta(e),pn(t)}}toString(){const e=[],t=this.records;for(const i of t.keys())e.push(Le(i));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new w(205,!1)}processProvider(e){let t=Do(e=Y(e))?e:Y(e&&e.provide);const i=function dF(n){if(v_(n))return Ca(void 0,n.useValue);return Ca(Rx(n),Nf)}(e);if(Do(e)||!0!==e.multi){this.records.get(t)}else{let r=this.records.get(t);r||(r=Ca(void 0,Nf,!0),r.factory=()=>bg(r.multi),this.records.set(t,r)),t=e,r.multi.push(e)}this.records.set(t,i)}hydrate(e,t){return t.value===Nf&&(t.value=lF,t.value=t.factory()),"object"==typeof t.value&&t.value&&function hF(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=Y(e.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}}function x_(n){const e=tf(n),t=null!==e?e.factory:mo(n);if(null!==t)return t;if(n instanceof A)throw new w(204,!1);if(n instanceof Function)return function cF(n){const e=n.length;if(e>0){Zc(e,"?");throw new w(204,!1)}const t=function Dk(n){const e=n&&(n[nf]||n[RC]);if(e)return function Mk(n){if(n.hasOwnProperty("name"))return n.name;const e=(""+n).match(/^function\s*([^\s(]+)/);null===e||e[1]}(n),e;return null}(n);return null!==t?()=>t.factory(n):()=>new n}(n);throw new w(204,!1)}function Rx(n,e,t){let i;if(Do(n)){const r=Y(n);return mo(r)||x_(r)}if(v_(n))i=()=>Y(n.useValue);else if(Ox(n))i=()=>n.useFactory(...bg(n.deps||[]));else if(Ax(n))i=()=>b(Y(n.useExisting));else{const r=Y(n&&(n.useClass||n.provide));if(!function uF(n){return!!n.deps}(n))return mo(r)||x_(r);i=()=>new r(...bg(n.deps))}return i}function Ca(n,e,t=!1){return{factory:n,value:e,multi:t?[]:void 0}}function D_(n,e){for(const t of n)Array.isArray(t)?D_(t,e):t&&mg(t)?D_(t.\u0275providers,e):e(t)}class pF{}class Fx{}const Px="ngComponent";class gF{resolveComponentFactory(e){throw function mF(n){const e=Error(`No component factory found for ${Le(n)}. Did you add it to @NgModule.entryComponents?`);return e[Px]=n,e}(e)}}class Li{}function wa(n,e){return new j(tn(n,e))}Li.NULL=new gF;class j{constructor(e){this.nativeElement=e}}function yF(n){return n instanceof j?n.nativeElement:n}j.__NG_ELEMENT_ID__=function _F(){return wa(vt(),T())};class id{}class Nn{}Nn.__NG_ELEMENT_ID__=()=>function bF(){const n=T(),t=nn(vt().index,n);return(en(t)?t:n)[ae]}();class M_{}M_.\u0275prov=I({token:M_,providedIn:"root",factory:()=>null});class Mo{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const vF=new Mo("15.2.2"),E_={},I_="ngOriginalError";function S_(n){return n[I_]}class xa{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&&S_(e);for(;t&&S_(t);)t=S_(t);return t||null}}function EF(n){return n.ownerDocument.defaultView}function IF(n){return n.ownerDocument}function SF(n){return n.ownerDocument.body}function Vi(n){return n instanceof Function?n():n}function Lx(n,e,t){let i=n.length;for(;;){const r=n.indexOf(e,t);if(-1===r)return r;if(0===r||n.charCodeAt(r-1)<=32){const o=e.length;if(r+o===i||n.charCodeAt(r+o)<=32)return r}t=r+1}}const Vx="ng-template";function OF(n,e,t){let i=0;for(;i<n.length;){let r=n[i++];if(t&&"class"===r){if(r=n[i],-1!==Lx(r.toLowerCase(),e,0))return!0}else if(1===r){for(;i<n.length&&"string"==typeof(r=n[i++]);)if(r.toLowerCase()===e)return!0;return!1}}return!1}function Bx(n){return 4===n.type&&n.value!==Vx}function kF(n,e,t){return e===(4!==n.type||t?n.value:Vx)}function RF(n,e,t){let i=4;const r=n.attrs||[],o=function NF(n){for(let e=0;e<n.length;e++){if(fw(n[e]))return e}return n.length}(r);let s=!1;for(let a=0;a<e.length;a++){const l=e[a];if("number"!=typeof l){if(!s)if(4&i){if(i=2|1&i,""!==l&&!kF(n,l,t)||""===l&&1===e.length){if(Ln(i))return!1;s=!0}}else{const c=8&i?l:e[++a];if(8&i&&null!==n.attrs){if(!OF(n.attrs,c,t)){if(Ln(i))return!1;s=!0}continue}const u=FF(8&i?"class":l,r,Bx(n),t);if(-1===u){if(Ln(i))return!1;s=!0;continue}if(""!==c){let h;h=u>o?"":r[u+1].toLowerCase();const p=8&i?h:null;if(p&&-1!==Lx(p,c,0)||2&i&&c!==h){if(Ln(i))return!1;s=!0}}}}else{if(!s&&!Ln(i)&&!Ln(l))return!1;if(s&&Ln(l))continue;s=!1,i=l|1&i}}return Ln(i)||s}function Ln(n){return 0==(1&n)}function FF(n,e,t,i){if(null===e)return-1;let r=0;if(i||!t){let o=!1;for(;r<e.length;){const s=e[r];if(s===n)return r;if(3===s||6===s)o=!0;else{if(1===s||2===s){let a=e[++r];for(;"string"==typeof a;)a=e[++r];continue}if(4===s)break;if(0===s){r+=4;continue}}r+=o?1:2}return-1}return function LF(n,e){let t=n.indexOf(4);if(t>-1)for(t++;t<n.length;){const i=n[t];if("number"==typeof i)return-1;if(i===e)return t;t++}return-1}(e,n)}function zx(n,e,t=!1){for(let i=0;i<e.length;i++)if(RF(n,e[i],t))return!0;return!1}function VF(n,e){e:for(let t=0;t<e.length;t++){const i=e[t];if(n.length===i.length){for(let r=0;r<n.length;r++)if(n[r]!==i[r])continue e;return!0}}return!1}function jx(n,e){return n?":not("+e.trim()+")":e}function BF(n){let e=n[0],t=1,i=2,r="",o=!1;for(;t<n.length;){let s=n[t];if("string"==typeof s)if(2&i){const a=n[++t];r+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);else""!==r&&!Ln(s)&&(e+=jx(o,r),r=""),i=s,o=o||!Ln(i);t++}return""!==r&&(e+=jx(o,r)),e}const J={};function C(n){Hx(pe(),T(),Bt()+n,!1)}function Hx(n,e,t,i){if(!i)if(3==(3&e[se])){const o=n.preOrderCheckHooks;null!==o&&mf(e,o,t)}else{const o=n.preOrderHooks;null!==o&&gf(e,o,0,t)}go(t)}const Ux={\u0275\u0275defineInjectable:I,\u0275\u0275defineInjector:X,\u0275\u0275inject:b,\u0275\u0275invalidFactoryDep:NC,resolveForwardRef:Y};function HF(n,e){let t=null,i=null;n.hasOwnProperty(nf)||Object.defineProperty(n,nf,{get:()=>(null===t&&(t=ct().compileInjectable(Ux,`ng:///${n.name}/\u0275prov.js`,function WF(n,e){const t=e||{providedIn:null},i={name:n.name,type:n,typeArgumentCount:0,providedIn:t.providedIn};return($x(t)||Gx(t))&&void 0!==t.deps&&(i.deps=Rw(t.deps)),$x(t)?i.useClass=t.useClass:function $F(n){return UF in n}(t)?i.useValue=t.useValue:Gx(t)?i.useFactory=t.useFactory:function GF(n){return void 0!==n.useExisting}(t)&&(i.useExisting=t.useExisting),i}(n,e))),t)}),n.hasOwnProperty(Oi)||Object.defineProperty(n,Oi,{get:()=>{if(null===i){const r=ct();i=r.compileFactory(Ux,`ng:///${n.name}/\u0275fac.js`,{name:n.name,type:n,typeArgumentCount:0,deps:Ef(n),target:r.FactoryTarget.Injectable})}return i},configurable:!0})}const UF=Re({provide:String,useValue:Re});function $x(n){return void 0!==n.useClass}function Gx(n){return void 0!==n.useFactory}qc("Injectable",void 0,void 0,void 0,(n,e)=>HF(n,e));function Wx(n,e=null,t=null,i){const r=qx(n,e,t,i);return r.resolveInjectorInitializers(),r}function qx(n,e=null,t=null,i,r=new Set){const o=[t||we,oF(n)];return i=i||("object"==typeof n?void 0:Le(n)),new kx(o,e||Lf(),i||null,r)}class He{static create(e,t){if(Array.isArray(e))return Wx({name:""},t,e,"");{const i=e.name??"";return Wx({name:i},e.parent,e.providers,i)}}}function T_(n){return n.length>1?" ("+function qF(n){const e=[];for(let t=0;t<n.length;++t){if(e.indexOf(n[t])>-1)return e.push(n[t]),e;e.push(n[t])}return e}(n.slice().reverse()).map(i=>Le(i.token)).join(" -> ")+")":""}function A_(n,e,t,i){const r=[e],o=t(r),s=i?function CF(n,e){const t=`${n} caused by: ${e instanceof Error?e.message:e}`,i=Error(t);return i[I_]=e,i}(o,i):Error(o);return s.addKey=YF,s.keys=r,s.injectors=[n],s.constructResolvingMessage=t,s[I_]=i,s}function YF(n,e){this.injectors.push(n),this.keys.push(e),this.message=this.constructResolvingMessage(this.keys)}function Yx(n,e){const t=[];for(let i=0,r=e.length;i<r;i++){const o=e[i];o&&0!=o.length?t.push(o.map(Le).join(" ")):t.push("?")}return Error("Cannot resolve all parameters for '"+Le(n)+"'("+t.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+Le(n)+"' is decorated with Injectable.")}function eP(n,e){return Error(`Cannot mix multi providers and regular providers, got: ${n} ${e}`)}He.THROW_IF_NOT_FOUND=mr,He.NULL=new Ix,He.\u0275prov=I({token:He,providedIn:"any",factory:()=>b(Mx)}),He.__NG_ELEMENT_ID__=-1;class br{constructor(e,t){if(this.token=e,this.id=t,!e)throw new w(208,!1);this.displayName=Le(this.token)}static get(e){return Zx.get(Y(e))}static get numberOfKeys(){return Zx.numberOfKeys}}const Zx=new class tP{constructor(){this._allKeys=new Map}get(e){if(e instanceof br)return e;if(this._allKeys.has(e))return this._allKeys.get(e);const t=new br(e,br.numberOfKeys);return this._allKeys.set(e,t),t}get numberOfKeys(){return this._allKeys.size}};class Vf{constructor(e,t,i){this.key=e,this.optional=t,this.visibility=i}static fromKey(e){return new Vf(e,!1,null)}}const nP=[];class Kx{constructor(e,t,i){this.key=e,this.resolvedFactories=t,this.multiProvider=i,this.resolvedFactory=this.resolvedFactories[0]}}class iP{constructor(e,t){this.factory=e,this.dependencies=t}}function rP(n){let e,t;if(n.useClass){const i=Y(n.useClass);e=Kc().factory(i),t=Qx(i)}else n.useExisting?(e=i=>i,t=[Vf.fromKey(br.get(n.useExisting))]):n.useFactory?(e=n.useFactory,t=function lP(n,e){if(e){const t=e.map(i=>[i]);return e.map(i=>Jx(n,i,t))}return Qx(n)}(n.useFactory,n.deps)):(e=()=>n.useValue,t=nP);return new iP(e,t)}function oP(n){return new Kx(br.get(n.provide),[rP(n)],n.multi||!1)}function sP(n){const i=function aP(n,e){for(let t=0;t<n.length;t++){const i=n[t],r=e.get(i.key.id);if(r){if(i.multiProvider!==r.multiProvider)throw eP(r,i);if(i.multiProvider)for(let o=0;o<i.resolvedFactories.length;o++)r.resolvedFactories.push(i.resolvedFactories[o]);else e.set(i.key.id,i)}else{let o;o=i.multiProvider?new Kx(i.key,i.resolvedFactories.slice(),i.multiProvider):i,e.set(i.key.id,o)}}return e}(Xx(n,[]).map(oP),new Map);return Array.from(i.values())}function Xx(n,e){return n.forEach(t=>{if(t instanceof $g)e.push({provide:t,useClass:t});else if(t&&"object"==typeof t&&void 0!==t.provide)e.push(t);else{if(!Array.isArray(t))throw function QF(n){return Error(`Invalid provider - only instances of Provider and Type are allowed, got: ${n}`)}(t);Xx(t,e)}}),e}function Qx(n){const e=Kc().parameters(n);if(!e)return[];if(e.some(t=>null==t))throw Yx(n,e);return e.map(t=>Jx(n,t,e))}function Jx(n,e,t){let i=null,r=!1;if(!Array.isArray(e))return O_(e instanceof Mf?e.token:e,r,null);let o=null;for(let s=0;s<e.length;++s){const a=e[s];a instanceof $g?i=a:a instanceof Mf?i=a.token:a instanceof Co?r=!0:a instanceof qg||a instanceof _a?o=a:a instanceof A&&(i=a)}if(i=Y(i),null!=i)return O_(i,r,o);throw Yx(n,t)}function O_(n,e,t){return new Vf(br.get(n),e,t)}const rd={};class od{static resolve(e){return sP(e)}static resolveAndCreate(e,t){const i=od.resolve(e);return od.fromResolvedProviders(i,t)}static fromResolvedProviders(e,t){return new Ma(e,t)}}class Ma{constructor(e,t){this._constructionCounter=0,this._providers=e,this.parent=t||null;const i=e.length;this.keyIds=[],this.objs=[];for(let r=0;r<i;r++)this.keyIds[r]=e[r].key.id,this.objs[r]=rd}get(e,t=mr){return this._getByKey(br.get(e),null,t)}resolveAndCreateChild(e){const t=od.resolve(e);return this.createChildFromResolved(t)}createChildFromResolved(e){const t=new Ma(e);return t.parent=this,t}resolveAndInstantiate(e){return this.instantiateResolved(od.resolve([e])[0])}instantiateResolved(e){return this._instantiateProvider(e)}getProviderAtIndex(e){if(e<0||e>=this._providers.length)throw function JF(n){return Error(`Index ${n} is out-of-bounds.`)}(e);return this._providers[e]}_new(e){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw function KF(n,e){return A_(n,e,function(t){return`Cannot instantiate cyclic dependency!${T_(t)}`})}(this,e.key);return this._instantiateProvider(e)}_getMaxNumberOfObjects(){return this.objs.length}_instantiateProvider(e){if(e.multiProvider){const t=[];for(let i=0;i<e.resolvedFactories.length;++i)t[i]=this._instantiate(e,e.resolvedFactories[i]);return t}return this._instantiate(e,e.resolvedFactories[0])}_instantiate(e,t){const i=t.factory;let r,o;try{r=t.dependencies.map(s=>this._getByReflectiveDependency(s))}catch(s){throw s.addKey&&s.addKey(this,e.key),s}try{o=i(...r)}catch(s){throw function XF(n,e,t,i){return A_(n,i,function(r){const o=Le(r[0].token);return`${e.message}: Error during instantiation of ${o}!${T_(r)}.`},e)}(this,s,s.stack,e.key)}return o}_getByReflectiveDependency(e){return this._getByKey(e.key,e.visibility,e.optional?null:mr)}_getByKey(e,t,i){return e===Ma.INJECTOR_KEY?this:t instanceof qg?this._getByKeySelf(e,i):this._getByKeyDefault(e,i,t)}_getObjByKeyId(e){for(let t=0;t<this.keyIds.length;t++)if(this.keyIds[t]===e)return this.objs[t]===rd&&(this.objs[t]=this._new(this._providers[t])),this.objs[t];return rd}_throwOrNull(e,t){if(t!==mr)return t;throw function ZF(n,e){return A_(n,e,function(t){return`No provider for ${Le(t[0].token)}!${T_(t)}`})}(this,e)}_getByKeySelf(e,t){const i=this._getObjByKeyId(e.id);return i!==rd?i:this._throwOrNull(e,t)}_getByKeyDefault(e,t,i){let r;for(r=i instanceof _a?this.parent:this;r instanceof Ma;){const o=r,s=o._getObjByKeyId(e.id);if(s!==rd)return s;r=o.parent}return null!==r?r.get(e.token,t):this._throwOrNull(e,t)}get displayName(){return`ReflectiveInjector(providers: [${function cP(n,e){const t=[];for(let i=0;i<n._providers.length;++i)t[i]=e(n.getProviderAtIndex(i));return t}(this,t=>' "'+t.key.displayName+'" ').join(", ")}])`}toString(){return this.displayName}}function f(n,e=ce.Default){const t=T();if(null===t)return b(n,e);return ww(vt(),t,Y(n),e)}function Bf(){throw new Error("invalid")}function eD(n,e){const t=n.contentQueries;if(null!==t)for(let i=0;i<t.length;i+=2){const r=t[i],o=t[i+1];if(-1!==o){const s=n.data[o];Og(r),s.contentQueries(2,e[o],o)}}}function zf(n,e,t,i,r,o,s,a,l,c,d){const u=e.blueprint.slice();return u[ki]=r,u[se]=76|i,(null!==d||n&&1024&n[se])&&(u[se]|=1024),QC(u),u[Ke]=u[oa]=n,u[et]=t,u[lf]=s||n&&n[lf],u[ae]=a||n&&n[ae],u[wg]=l||n&&n[wg]||null,u[af]=c||n&&n[af]||null,u[It]=o,u[Hc]=function K1(){return Z1++}(),u[HC]=d,u[St]=2==e.type?n[St]:u,u}function Ea(n,e,t,i,r){let o=n.data[e];if(null===o)o=k_(n,e,t,i,r),function n1(){return Q.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=t,o.value=i,o.attrs=r;const s=$c();o.injectorIndex=null===s?-1:s.injectorIndex}return ii(o,!0),o}function k_(n,e,t,i,r){const o=tw(),s=Ig(),a=s?o:o&&o.parent,l=n.data[e]=function mP(n,e,t,i,r,o){let s=e?e.injectorIndex:-1;return{type:t,index:i,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:0,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,a,t,e,i,r);return null===n.firstChild&&(n.firstChild=l),null!==o&&(s?null==o.child&&null!==l.parent&&(o.child=l):null===o.next&&(o.next=l,l.prev=o)),l}function sd(n,e,t,i){if(0===t)return-1;const r=e.length;for(let o=0;o<t;o++)e.push(i),n.blueprint.push(i),n.data.push(null);return r}function R_(n,e,t){kg(e);try{const i=n.viewQuery;null!==i&&U_(1,i,t);const r=n.template;null!==r&&tD(n,e,r,1,t),n.firstCreatePass&&(n.firstCreatePass=!1),n.staticContentQueries&&eD(n,e),n.staticViewQueries&&U_(2,n.viewQuery,t);const o=n.components;null!==o&&function hP(n,e){for(let t=0;t<e.length;t++)FP(n,e[t])}(e,o)}catch(i){throw n.firstCreatePass&&(n.incompleteFirstPass=!0,n.firstCreatePass=!1),i}finally{e[se]&=-5,Rg()}}function jf(n,e,t,i){const r=e[se];if(128==(128&r))return;kg(e);try{QC(e),iw(n.bindingStartIndex),null!==t&&tD(n,e,t,2,i);const s=3==(3&r);if(s){const c=n.preOrderCheckHooks;null!==c&&mf(e,c,null)}else{const c=n.preOrderHooks;null!==c&&gf(e,c,0,null),Pg(e,0)}if(function kP(n){for(let e=n_(n);null!==e;e=i_(e)){if(!e[UC])continue;const t=e[aa];for(let i=0;i<t.length;i++){const r=t[i],o=r[Ke];512&r[se]||Eg(o,1),r[se]|=512}}}(e),function OP(n){for(let e=n_(n);null!==e;e=i_(e))for(let t=Lt;t<e.length;t++){const i=e[t],r=i[P];ff(i)&&jf(r,i,r.template,i[et])}}(e),null!==n.contentQueries&&eD(n,e),s){const c=n.contentCheckHooks;null!==c&&mf(e,c)}else{const c=n.contentHooks;null!==c&&gf(e,c,1),Pg(e,1)}!function dP(n,e){const t=n.hostBindingOpCodes;if(null!==t)try{for(let i=0;i<t.length;i++){const r=t[i];if(r<0)go(~r);else{const o=r,s=t[++i],a=t[++i];i1(s,o),a(2,e[o])}}}finally{go(-1)}}(n,e);const a=n.components;null!==a&&function uP(n,e){for(let t=0;t<e.length;t++)RP(n,e[t])}(e,a);const l=n.viewQuery;if(null!==l&&U_(2,l,i),s){const c=n.viewCheckHooks;null!==c&&mf(e,c)}else{const c=n.viewHooks;null!==c&&gf(e,c,2),Pg(e,2)}!0===n.firstUpdatePass&&(n.firstUpdatePass=!1),e[se]&=-41,512&e[se]&&(e[se]&=-513,Eg(e[Ke],-1))}finally{Rg()}}function tD(n,e,t,i,r){const o=Bt(),s=2&i;try{go(-1),s&&e.length>je&&Hx(n,e,je,!1),mn(s?2:0,r),t(i,r)}finally{go(o),mn(s?3:1,r)}}function F_(n,e,t){if(Dg(e)){const i=e.directiveStart,r=e.directiveEnd;for(let o=i;o<r;o++){const s=n.data[o];s.contentQueries&&s.contentQueries(1,t[o],o)}}}function P_(n,e,t){ew()&&(function CP(n,e,t,i){const r=t.directiveStart,o=t.directiveEnd;Uc(t)&&function SP(n,e,t){const i=tn(e,n),r=nD(t),o=n[lf],s=Hf(n,zf(n,r,null,t.onPush?32:16,i,e,o,o.createRenderer(i,t),null,null,null));n[e.index]=s}(e,t,n.data[r+t.componentOffset]),n.firstCreatePass||vf(t,e),Tt(i,e);const s=t.initialInputs;for(let a=r;a<o;a++){const l=n.data[a],c=_o(e,n,a,t);if(Tt(c,e),null!==s&&TP(e,a-r,c,l,t,s),Pn(l)){nn(t.index,e)[et]=_o(e,n,a,t)}}}(n,e,t,tn(t,e)),64==(64&t.flags)&&lD(n,e,t))}function N_(n,e,t=tn){const i=e.localNames;if(null!==i){let r=e.index+1;for(let o=0;o<i.length;o+=2){const s=i[o+1],a=-1===s?t(e,n):n[s];n[r++]=a}}}function nD(n){const e=n.tView;return null===e||e.incompleteFirstPass?n.tView=L_(1,null,n.template,n.decls,n.vars,n.directiveDefs,n.pipeDefs,n.viewQuery,n.schemas,n.consts):e}function L_(n,e,t,i,r,o,s,a,l,c){const d=je+i,u=d+r,h=function fP(n,e){const t=[];for(let i=0;i<e;i++)t.push(i<n?null:J);return t}(d,u),p="function"==typeof c?c():c;return h[P]={type:n,blueprint:h,template:t,queries:null,viewQuery:a,declTNode:e,data:h.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:u,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:l,consts:p,incompleteFirstPass:!1}}function iD(n,e,t,i){const r=dD(e);null===t?r.push(i):(r.push(t),n.firstCreatePass&&uD(n).push(i,r.length-1))}function rD(n,e,t,i){for(let r in n)if(n.hasOwnProperty(r)){t=null===t?{}:t;const o=n[r];null===i?oD(t,e,r,o):i.hasOwnProperty(r)&&oD(t,e,i[r],o)}return t}function oD(n,e,t,i){n.hasOwnProperty(t)?n[t].push(e,i):n[t]=[e,i]}function an(n,e,t,i,r,o,s,a){const l=tn(e,t);let d,c=e.inputs;!a&&null!=c&&(d=c[i])?($_(n,t,d,i,r),Uc(e)&&sD(t,e.index)):3&e.type?(i=function _P(n){return"class"===n?"className":"for"===n?"htmlFor":"formaction"===n?"formAction":"innerHtml"===n?"innerHTML":"readonly"===n?"readOnly":"tabindex"===n?"tabIndex":n}(i),r=null!=s?s(r,e.value||"",i):r,o.setProperty(l,i,r)):e.type}function sD(n,e){const t=nn(e,n);16&t[se]||(t[se]|=32)}function V_(n,e,t,i){if(ew()){const r=null===i?null:{"":-1},o=function xP(n,e){const t=n.directiveRegistry;let i=null,r=null;if(t)for(let o=0;o<t.length;o++){const s=t[o];if(zx(e,s.selectors,!1))if(i||(i=[]),Pn(s))if(null!==s.findHostDirectiveDefs){const a=[];r=r||new Map,s.findHostDirectiveDefs(s,a,r),i.unshift(...a,s);B_(n,e,a.length)}else i.unshift(s),B_(n,e,0);else r=r||new Map,s.findHostDirectiveDefs?.(s,i,r),i.push(s)}return null===i?null:[i,r]}(n,t);let s,a;null===o?s=a=null:[s,a]=o,null!==s&&aD(n,e,t,s,r,a),r&&function DP(n,e,t){if(e){const i=n.localNames=[];for(let r=0;r<e.length;r+=2){const o=t[e[r+1]];if(null==o)throw new w(-301,!1);i.push(e[r],o)}}}(t,i,r)}t.mergedAttrs=Wc(t.mergedAttrs,t.attrs)}function aD(n,e,t,i,r,o){for(let c=0;c<i.length;c++)jg(vf(t,e),n,i[c].type);!function EP(n,e,t){n.flags|=1,n.directiveStart=e,n.directiveEnd=e+t,n.providerIndexes=e}(t,n.data.length,i.length);for(let c=0;c<i.length;c++){const d=i[c];d.providersResolver&&d.providersResolver(d)}let s=!1,a=!1,l=sd(n,e,i.length,null);for(let c=0;c<i.length;c++){const d=i[c];t.mergedAttrs=Wc(t.mergedAttrs,d.hostAttrs),IP(n,t,e,l,d),MP(l,d,r),null!==d.contentQueries&&(t.flags|=4),(null!==d.hostBindings||null!==d.hostAttrs||0!==d.hostVars)&&(t.flags|=64);const u=d.type.prototype;!s&&(u.ngOnChanges||u.ngOnInit||u.ngDoCheck)&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t.index),s=!0),!a&&(u.ngOnChanges||u.ngDoCheck)&&((n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t.index),a=!0),l++}!function gP(n,e,t){const i=e.directiveStart,r=e.directiveEnd,o=n.data,s=e.attrs,a=[];let l=null,c=null;for(let d=i;d<r;d++){const u=o[d],h=t?t.get(u):null,p=h?h.inputs:null,m=h?h.outputs:null;l=rD(u.inputs,d,l,p),c=rD(u.outputs,d,c,m);const g=null===l||null===s||Bx(e)?null:AP(l,d,s);a.push(g)}null!==l&&(l.hasOwnProperty("class")&&(e.flags|=8),l.hasOwnProperty("style")&&(e.flags|=16)),e.initialInputs=a,e.inputs=l,e.outputs=c}(n,t,o)}function lD(n,e,t){const i=t.directiveStart,r=t.directiveEnd,o=t.index,s=function r1(){return Q.lFrame.currentDirectiveIndex}();try{go(o);for(let a=i;a<r;a++){const l=n.data[a],c=e[a];Tg(a),(null!==l.hostBindings||0!==l.hostVars||null!==l.hostAttrs)&&wP(l,c)}}finally{go(-1),Tg(s)}}function wP(n,e){null!==n.hostBindings&&n.hostBindings(1,e)}function B_(n,e,t){e.componentOffset=t,(n.components||(n.components=[])).push(e.index)}function MP(n,e,t){if(t){if(e.exportAs)for(let i=0;i<e.exportAs.length;i++)t[e.exportAs[i]]=n;Pn(e)&&(t[""]=n)}}function IP(n,e,t,i,r){n.data[i]=r;const o=r.factory||(r.factory=mo(r.type)),s=new Gc(o,Pn(r),f);n.blueprint[i]=s,t[i]=s,function bP(n,e,t,i,r){const o=r.hostBindings;if(o){let s=n.hostBindingOpCodes;null===s&&(s=n.hostBindingOpCodes=[]);const a=~e.index;(function vP(n){let e=n.length;for(;e>0;){const t=n[--e];if("number"==typeof t&&t<0)return t}return 0})(s)!=a&&s.push(a),s.push(t,i,o)}}(n,e,i,sd(n,t,r.hostVars,J),r)}function ai(n,e,t,i,r,o){const s=tn(n,e);z_(e[ae],s,o,n.value,t,i,r)}function z_(n,e,t,i,r,o,s){if(null==o)n.removeAttribute(e,r,t);else{const a=null==s?K(o):s(o,i||"",r);n.setAttribute(e,r,a,t)}}function TP(n,e,t,i,r,o){const s=o[e];if(null!==s){const a=i.setInput;for(let l=0;l<s.length;){const c=s[l++],d=s[l++],u=s[l++];null!==a?i.setInput(t,u,c,d):t[d]=u}}}function AP(n,e,t){let i=null,r=0;for(;r<t.length;){const o=t[r];if(0!==o)if(5!==o){if("number"==typeof o)break;if(n.hasOwnProperty(o)){null===i&&(i=[]);const s=n[o];for(let a=0;a<s.length;a+=2)if(s[a]===e){i.push(o,s[a+1],t[r+1]);break}}r+=2}else r+=2;else r+=4}return i}function cD(n,e,t,i){return[n,!0,!1,e,null,0,i,t,null,null]}function RP(n,e){const t=nn(e,n);if(ff(t)){const i=t[P];48&t[se]?jf(i,t,i.template,t[et]):t[po]>0&&j_(t)}}function j_(n){for(let i=n_(n);null!==i;i=i_(i))for(let r=Lt;r<i.length;r++){const o=i[r];if(ff(o))if(512&o[se]){const s=o[P];jf(s,o,s.template,o[et])}else o[po]>0&&j_(o)}const t=n[P].components;if(null!==t)for(let i=0;i<t.length;i++){const r=nn(t[i],n);ff(r)&&r[po]>0&&j_(r)}}function FP(n,e){const t=nn(e,n),i=t[P];(function PP(n,e){for(let t=e.length;t<n.blueprint.length;t++)e.push(n.blueprint[t])})(i,t),R_(i,t,t[et])}function Hf(n,e){return n[zc]?n[jC][Rn]=e:n[zc]=e,n[jC]=e,e}function H_(n){for(;n;){n[se]|=32;const e=Jc(n);if(Vk(n)&&!e)return n;n=e}return null}function Uf(n,e,t,i=!0){const r=e[lf];r.begin&&r.begin();try{jf(n,e,n.template,t)}catch(s){throw i&&fD(e,s),s}finally{r.end&&r.end()}}function U_(n,e,t){Og(0),e(n,t)}function dD(n){return n[ra]||(n[ra]=[])}function uD(n){return n.cleanup||(n.cleanup=[])}function hD(n,e,t){return(null===n||Pn(n))&&(t=function Wk(n){for(;Array.isArray(n);){if("object"==typeof n[xg])return n;n=n[ki]}return null}(t[e.index])),t[ae]}function fD(n,e){const t=n[af],i=t?t.get(xa,null):null;i&&i.handleError(e)}function $_(n,e,t,i,r){for(let o=0;o<t.length;){const s=t[o++],a=t[o++],l=e[s],c=n.data[s];null!==c.setInput?c.setInput(l,r,i,a):l[a]=r}}function Bi(n,e,t){const i=hf(e,n);Xw(n[ae],i,t)}function $f(n,e,t){let i=t?n.styles:null,r=t?n.classes:null,o=0;if(null!==e)for(let s=0;s<e.length;s++){const a=e[s];if("number"==typeof a)o=a;else if(1==o)r=fg(r,a);else if(2==o){i=fg(i,a+": "+e[++s]+";")}}t?n.styles=i:n.stylesWithoutHost=i,t?n.classes=r:n.classesWithoutHost=r}function Gf(n,e,t,i,r=!1){for(;null!==t;){const o=e[t.index];if(null!==o&&i.push(bt(o)),Fn(o))for(let a=Lt;a<o.length;a++){const l=o[a],c=l[P].firstChild;null!==c&&Gf(l[P],l,c,i)}const s=t.type;if(8&s)Gf(n,e,t.child,i);else if(32&s){const a=t_(t,e);let l;for(;l=a();)i.push(l)}else if(16&s){const a=lx(e,t);if(Array.isArray(a))i.push(...a);else{const l=Jc(e[St]);Gf(l[P],l,a,i,!0)}}t=r?t.projectionNext:t.next}return i}Ma.INJECTOR_KEY=br.get(He);class ad{get rootNodes(){const e=this._lView,t=e[P];return Gf(t,e,t.firstChild,[])}constructor(e,t){this._lView=e,this._cdRefInjectingView=t,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[et]}set context(e){this._lView[et]=e}get destroyed(){return 128==(128&this._lView[se])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const e=this._lView[Ke];if(Fn(e)){const t=e[df],i=t?t.indexOf(this):-1;i>-1&&(s_(e,i),xf(t,i))}this._attachedToViewContainer=!1}Jw(this._lView[P],this._lView)}onDestroy(e){iD(this._lView[P],this._lView,null,e)}markForCheck(){H_(this._cdRefInjectingView||this._lView)}detach(){this._lView[se]&=-65}reattach(){this._lView[se]|=64}detectChanges(){Uf(this._lView[P],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new w(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function uR(n,e){ed(n,e,e[ae],2,null,null)}(this._lView[P],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new w(902,!1);this._appRef=e}}class NP extends ad{constructor(e){super(e),this._view=e}detectChanges(){const e=this._view;Uf(e[P],e,e[et],!1)}checkNoChanges(){}get context(){return null}}class pD extends Li{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const t=Ie(e);return new ld(t,this.ngModule)}}function mD(n){const e=[];for(let t in n)if(n.hasOwnProperty(t)){const i=n[t];e.push({propName:i,templateName:t})}return e}class VP{constructor(e,t){this.injector=e,this.parentInjector=t}get(e,t,i){i=of(i);const r=this.injector.get(e,E_,i);return r!==E_||t===E_?r:this.parentInjector.get(e,t,i)}}class ld extends Fx{get inputs(){return mD(this.componentDef.inputs)}get outputs(){return mD(this.componentDef.outputs)}constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=function zF(n){return n.map(BF).join(",")}(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}create(e,t,i,r){let o=(r=r||this.ngModule)instanceof _n?r:r?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const s=o?new VP(e,o):e,a=s.get(id,null);if(null===a)throw new w(407,!1);const l=s.get(M_,null),c=a.createRenderer(null,this.componentDef),d=this.componentDef.selectors[0][0]||"div",u=i?function pP(n,e,t){const i=t===ti.ShadowDom;return n.selectRootElement(e,i)}(c,i,this.componentDef.encapsulation):o_(c,d,function LP(n){const e=n.toLowerCase();return"svg"===e?ZC:"math"===e?KC:null}(d)),h=this.componentDef.onPush?288:272,p=L_(0,null,null,1,0,null,null,null,null,null),m=zf(null,p,null,h,null,null,a,c,l,s,null);let g,v;kg(m);try{const D=this.componentDef;let O,x=null;D.findHostDirectiveDefs?(O=[],x=new Map,D.findHostDirectiveDefs(D,O,x),O.push(D)):O=[D];const N=function zP(n,e){const t=n[P],i=je;return n[i]=e,Ea(t,i,2,"#host",null)}(m,u),me=function jP(n,e,t,i,r,o,s,a){const l=r[P];!function HP(n,e,t,i){for(const r of n)e.mergedAttrs=Wc(e.mergedAttrs,r.hostAttrs);null!==e.mergedAttrs&&($f(e,e.mergedAttrs,!0),null!==t&&ux(i,t,e))}(i,n,e,s);const c=o.createRenderer(e,t),d=zf(r,nD(t),null,t.onPush?32:16,r[n.index],n,o,c,a||null,null,null);return l.firstCreatePass&&B_(l,n,i.length-1),Hf(r,d),r[n.index]=d}(N,u,D,O,m,a,c);v=XC(p,je),u&&function $P(n,e,t,i){if(i)Lg(n,t,["ng-version",vF.full]);else{const{attrs:r,classes:o}=function jF(n){const e=[],t=[];let i=1,r=2;for(;i<n.length;){let o=n[i];if("string"==typeof o)2===r?""!==o&&e.push(o,n[++i]):8===r&&t.push(o);else{if(!Ln(r))break;r=o}i++}return{attrs:e,classes:t}}(e.selectors[0]);r&&Lg(n,t,r),o&&o.length>0&&dx(n,t,o.join(" "))}}(c,D,u,i),void 0!==t&&function GP(n,e,t){const i=n.projection=[];for(let r=0;r<e.length;r++){const o=t[r];i.push(null!=o?Array.from(o):null)}}(v,this.ngContentSelectors,t),g=function UP(n,e,t,i,r,o){const s=vt(),a=r[P],l=tn(s,r);aD(a,r,s,t,null,i);for(let d=0;d<t.length;d++){Tt(_o(r,a,s.directiveStart+d,s),r)}lD(a,r,s),l&&Tt(l,r);const c=_o(r,a,s.directiveStart+s.componentOffset,s);if(n[et]=r[et]=c,null!==o)for(const d of o)d(c,e);return F_(a,s,n),c}(me,D,O,x,m,[WP]),R_(p,m,null)}finally{Rg()}return new BP(this.componentType,g,wa(v,m),m,v)}}class BP extends pF{constructor(e,t,i,r,o){super(),this.location=i,this._rootLView=r,this._tNode=o,this.instance=t,this.hostView=this.changeDetectorRef=new NP(r),this.componentType=e}setInput(e,t){const i=this._tNode.inputs;let r;if(null!==i&&(r=i[e])){const o=this._rootLView;$_(o[P],o,r,e,t),sD(o,this._tNode.index)}}get injector(){return new ua(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}}function WP(){const n=vt();pf(T()[P],n)}function gD(n){return Object.getPrototypeOf(n.prototype).constructor}function L(n){let e=gD(n.type),t=!0;const i=[n];for(;e;){let r;if(Pn(n))r=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new w(903,!1);r=e.\u0275dir}if(r){if(t){i.push(r);const s=n;s.inputs=G_(n.inputs),s.declaredInputs=G_(n.declaredInputs),s.outputs=G_(n.outputs);const a=r.hostBindings;a&&KP(n,a);const l=r.viewQuery,c=r.contentQueries;if(l&&YP(n,l),c&&ZP(n,c),hg(n.inputs,r.inputs),hg(n.declaredInputs,r.declaredInputs),hg(n.outputs,r.outputs),Pn(r)&&r.data.animation){const d=n.data;d.animation=(d.animation||[]).concat(r.data.animation)}}const o=r.features;if(o)for(let s=0;s<o.length;s++){const a=o[s];a&&a.ngInherit&&a(n),a===L&&(t=!1)}}e=Object.getPrototypeOf(e)}!function qP(n){let e=0,t=null;for(let i=n.length-1;i>=0;i--){const r=n[i];r.hostVars=e+=r.hostVars,r.hostAttrs=Wc(r.hostAttrs,t=Wc(t,r.hostAttrs))}}(i)}function G_(n){return n===Ai?{}:n===we?[]:n}function YP(n,e){const t=n.viewQuery;n.viewQuery=t?(i,r)=>{e(i,r),t(i,r)}:e}function ZP(n,e){const t=n.contentQueries;n.contentQueries=t?(i,r,o)=>{e(i,r,o),t(i,r,o)}:e}function KP(n,e){const t=n.hostBindings;n.hostBindings=t?(i,r)=>{e(i,r),t(i,r)}:e}const XP=["providersResolver"],QP=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function JP(n){let t,e=gD(n.type);t=Pn(n)?e.\u0275cmp:e.\u0275dir;const i=n;for(const r of XP)i[r]=t[r];if(Pn(t))for(const r of QP)i[r]=t[r]}function eN(n){return e=>{e.findHostDirectiveDefs=_D,e.hostDirectives=(Array.isArray(n)?n:n()).map(t=>"function"==typeof t?{directive:Y(t),inputs:Ai,outputs:Ai}:{directive:Y(t.directive),inputs:yD(t.inputs),outputs:yD(t.outputs)})}}function _D(n,e,t){if(null!==n.hostDirectives)for(const i of n.hostDirectives){const r=Et(i.directive);tN(r.declaredInputs,i.inputs),_D(r,e,t),t.set(r,i),e.push(r)}}function yD(n){if(void 0===n||0===n.length)return Ai;const e={};for(let t=0;t<n.length;t+=2)e[n[t]]=n[t+1];return e}function tN(n,e){for(const t in e)if(e.hasOwnProperty(t)){const i=e[t],r=n[t];n[i]=r}}function Wf(n){return!!W_(n)&&(Array.isArray(n)||!(n instanceof Map)&&Symbol.iterator in n)}function W_(n){return null!==n&&("function"==typeof n||"object"==typeof n)}function li(n,e,t){return n[e]=t}function cd(n,e){return n[e]}function At(n,e,t){const i=n[e];return!Object.is(i,t)&&(n[e]=t,!0)}function Eo(n,e,t,i){const r=At(n,e,t);return At(n,e+1,i)||r}function qf(n,e,t,i,r){const o=Eo(n,e,t,i);return At(n,e+2,r)||o}function yn(n,e,t,i,r,o){const s=Eo(n,e,t,i);return Eo(n,e+2,r,o)||s}function ge(n,e,t,i){const r=T();if(At(r,ca(),e)){pe();ai(Ye(),r,n,e,t,i)}return ge}function Ia(n,e){let t=!1,i=Ri();for(let o=1;o<e.length;o+=2)t=At(n,i++,e[o])||t;if(iw(i),!t)return J;let r=e[0];for(let o=1;o<e.length;o+=2)r+=K(e[o])+e[o+1];return r}function Sa(n,e,t,i){return At(n,ca(),t)?e+K(t)+i:J}function Ta(n,e,t,i,r,o){const a=Eo(n,Ri(),t,r);return Fi(2),a?e+K(t)+i+K(r)+o:J}function Aa(n,e,t,i,r,o,s,a){const c=qf(n,Ri(),t,r,s);return Fi(3),c?e+K(t)+i+K(r)+o+K(s)+a:J}function Oa(n,e,t,i,r,o,s,a,l,c){const u=yn(n,Ri(),t,r,s,l);return Fi(4),u?e+K(t)+i+K(r)+o+K(s)+a+K(l)+c:J}function ka(n,e,t,i,r,o,s,a,l,c,d,u){const h=Ri();let p=yn(n,h,t,r,s,l);return p=At(n,h+4,d)||p,Fi(5),p?e+K(t)+i+K(r)+o+K(s)+a+K(l)+c+K(d)+u:J}function Ra(n,e,t,i,r,o,s,a,l,c,d,u,h,p){const m=Ri();let g=yn(n,m,t,r,s,l);return g=Eo(n,m+4,d,h)||g,Fi(6),g?e+K(t)+i+K(r)+o+K(s)+a+K(l)+c+K(d)+u+K(h)+p:J}function Fa(n,e,t,i,r,o,s,a,l,c,d,u,h,p,m,g){const v=Ri();let D=yn(n,v,t,r,s,l);return D=qf(n,v+4,d,h,m)||D,Fi(7),D?e+K(t)+i+K(r)+o+K(s)+a+K(l)+c+K(d)+u+K(h)+p+K(m)+g:J}function Pa(n,e,t,i,r,o,s,a,l,c,d,u,h,p,m,g,v,D){const O=Ri();let x=yn(n,O,t,r,s,l);return x=yn(n,O+4,d,h,m,v)||x,Fi(8),x?e+K(t)+i+K(r)+o+K(s)+a+K(l)+c+K(d)+u+K(h)+p+K(m)+g+K(v)+D:J}function vD(n,e,t,i,r,o){const s=T(),a=Sa(s,e,t,i);if(a!==J){ai(Ye(),s,n,a,r,o)}return vD}function CD(n,e,t,i,r,o,s,a){const l=T(),c=Ta(l,e,t,i,r,o);if(c!==J){ai(Ye(),l,n,c,s,a)}return CD}function wD(n,e,t,i,r,o,s,a,l,c){const d=T(),u=Aa(d,e,t,i,r,o,s,a);if(u!==J){ai(Ye(),d,n,u,l,c)}return wD}function xD(n,e,t,i,r,o,s,a,l,c,d,u){const h=T(),p=Oa(h,e,t,i,r,o,s,a,l,c);if(p!==J){ai(Ye(),h,n,p,d,u)}return xD}function DD(n,e,t,i,r,o,s,a,l,c,d,u,h,p){const m=T(),g=ka(m,e,t,i,r,o,s,a,l,c,d,u);if(g!==J){ai(Ye(),m,n,g,h,p)}return DD}function MD(n,e,t,i,r,o,s,a,l,c,d,u,h,p,m,g){const v=T(),D=Ra(v,e,t,i,r,o,s,a,l,c,d,u,h,p);if(D!==J){ai(Ye(),v,n,D,m,g)}return MD}function ED(n,e,t,i,r,o,s,a,l,c,d,u,h,p,m,g,v,D){const O=T(),x=Fa(O,e,t,i,r,o,s,a,l,c,d,u,h,p,m,g);if(x!==J){ai(Ye(),O,n,x,v,D)}return ED}function ID(n,e,t,i,r,o,s,a,l,c,d,u,h,p,m,g,v,D,O,x){const N=T(),me=Pa(N,e,t,i,r,o,s,a,l,c,d,u,h,p,m,g,v,D);if(me!==J){ai(Ye(),N,n,me,O,x)}return ID}function SD(n,e,t,i){const r=T(),o=Ia(r,e);if(o!==J){ai(Ye(),r,n,o,t,i)}return SD}function k(n,e,t,i,r,o,s,a){const l=T(),c=pe(),d=n+je,u=c.firstCreatePass?function sN(n,e,t,i,r,o,s,a,l){const c=e.consts,d=Ea(e,n,4,s||null,_r(c,a));V_(e,t,d,_r(c,l)),pf(e,d);const u=d.tView=L_(2,d,i,r,o,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c);return null!==e.queries&&(e.queries.template(e,d),u.queries=e.queries.embeddedTView(d)),d}(d,c,l,e,t,i,r,o,s):c.data[d];ii(u,!1);const h=l[ae].createComment("");Tf(c,l,h,u),Tt(h,l),Hf(l,l[d]=cD(h,l,h,u)),uf(u)&&P_(c,l,u),null!=s&&N_(l,u,a)}function Vn(n){return la(function t1(){return Q.lFrame.contextLView}(),je+n)}function M(n,e,t){const i=T();if(At(i,ca(),e)){an(pe(),Ye(),i,n,e,i[ae],t,!1)}return M}function q_(n,e,t,i,r){const s=r?"class":"style";$_(n,t,e.inputs[s],s,i)}function _(n,e,t,i){const r=T(),o=pe(),s=je+n,a=r[ae],l=o.firstCreatePass?function lN(n,e,t,i,r,o){const s=e.consts,l=Ea(e,n,2,i,_r(s,r));return V_(e,t,l,_r(s,o)),null!==l.attrs&&$f(l,l.attrs,!1),null!==l.mergedAttrs&&$f(l,l.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,l),l}(s,o,r,e,t,i):o.data[s],c=r[s]=o_(a,e,function d1(){return Q.lFrame.currentNamespace}()),d=uf(l);return ii(l,!0),ux(a,c,l),32!=(32&l.flags)&&Tf(o,r,c,l),0===function Kk(){return Q.lFrame.elementDepthCount}()&&Tt(c,r),function Xk(){Q.lFrame.elementDepthCount++}(),d&&(P_(o,r,l),F_(o,l,r)),null!==i&&N_(r,l),_}function y(){let n=vt();Ig()?Sg():(n=n.parent,ii(n,!1));const e=n;!function Qk(){Q.lFrame.elementDepthCount--}();const t=pe();return t.firstCreatePass&&(pf(t,n),Dg(n)&&t.queries.elementEnd(n)),null!=e.classesWithoutHost&&function p1(n){return 0!=(8&n.flags)}(e)&&q_(t,e,T(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function m1(n){return 0!=(16&n.flags)}(e)&&q_(t,e,T(),e.stylesWithoutHost,!1),y}function oe(n,e,t,i){return _(n,e,t,i),y(),oe}function Yf(n,e,t){const i=T(),r=pe(),o=n+je,s=r.firstCreatePass?function cN(n,e,t,i,r){const o=e.consts,s=_r(o,i),a=Ea(e,n,8,"ng-container",s);return null!==s&&$f(a,s,!0),V_(e,t,a,_r(o,r)),null!==e.queries&&e.queries.elementStart(e,a),a}(o,r,i,e,t):r.data[o];ii(s,!0);const a=i[o]=i[ae].createComment("");return Tf(r,i,a,s),Tt(a,i),uf(s)&&(P_(r,i,s),F_(r,s,i)),null!=t&&N_(i,s),Yf}function Zf(){let n=vt();const e=pe();return Ig()?Sg():(n=n.parent,ii(n,!1)),e.firstCreatePass&&(pf(e,n),Dg(n)&&e.queries.elementEnd(n)),Zf}function dd(n,e,t){return Yf(n,e,t),Zf(),dd}function gt(){return T()}function ud(n){return!!n&&"function"==typeof n.then}function TD(n){return!!n&&"function"==typeof n.subscribe}const Y_=TD;function q(n,e,t,i){const r=T(),o=pe(),s=vt();return OD(o,r,r[ae],s,n,e,i),q}function AD(n,e){const t=vt(),i=T(),r=pe();return OD(r,i,hD(Ag(r.data),t,i),t,n,e),AD}function OD(n,e,t,i,r,o,s){const a=uf(i),c=n.firstCreatePass&&uD(n),d=e[et],u=dD(e);let h=!0;if(3&i.type||s){const g=tn(i,e),v=s?s(g):g,D=u.length,O=s?N=>s(bt(N[i.index])):i.index;let x=null;if(!s&&a&&(x=function dN(n,e,t,i){const r=n.cleanup;if(null!=r)for(let o=0;o<r.length-1;o+=2){const s=r[o];if(s===t&&r[o+1]===i){const a=e[ra],l=r[o+2];return a.length>l?a[l]:null}"string"==typeof s&&(o+=2)}return null}(n,e,r,i.index)),null!==x){(x.__ngLastListenerFn__||x).__ngNextListenerFn__=o,x.__ngLastListenerFn__=o,h=!1}else{o=RD(i,e,d,o,!1);const N=t.listen(v,r,o);u.push(o,N),c&&c.push(r,O,D,D+1)}}else o=RD(i,e,d,o,!1);const p=i.outputs;let m;if(h&&null!==p&&(m=p[r])){const g=m.length;if(g)for(let v=0;v<g;v+=2){const D=m[v],O=m[v+1],me=e[D][O].subscribe(o),Ce=u.length;u.push(o,me),c&&c.push(r,i.index,Ce,-(Ce+1))}}}function kD(n,e,t,i){try{return mn(6,e,t),!1!==t(i)}catch(r){return fD(n,r),!1}finally{mn(7,e,t)}}function RD(n,e,t,i,r){return function o(s){if(s===Function)return i;H_(n.componentOffset>-1?nn(n.index,e):e);let l=kD(e,t,i,s),c=o.__ngNextListenerFn__;for(;c;)l=kD(e,t,c,s)&&l,c=c.__ngNextListenerFn__;return r&&!1===l&&(s.preventDefault(),s.returnValue=!1),l}}function F(n=1){return s1(n)}function uN(n,e){let t=null;const i=function PF(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 r=0;r<e.length;r++){const o=e[r];if("*"!==o){if(null===i?zx(n,o,!0):VF(i,o))return r}else t=r}return t}function Wt(n){const e=T()[St][It];if(!e.projection){const t=n?n.length:1,i=e.projection=Zc(t,null),r=i.slice();let o=e.child;for(;null!==o;){const s=n?uN(o,n):0;null!==s&&(r[s]?r[s].projectionNext=o:i[s]=o,r[s]=o),o=o.next}}}function Ge(n,e=0,t){const i=T(),r=pe(),o=Ea(r,je+n,16,null,t||null);null===o.projection&&(o.projection=e),Sg(),32!=(32&o.flags)&&function bR(n,e,t){cx(e[ae],0,e,t,ex(n,t,e),rx(t.parent||e[It],t,e))}(r,i,o)}function vr(n,e,t){return hd(n,"",e,"",t),vr}function hd(n,e,t,i,r){const o=T(),s=Sa(o,e,t,i);if(s!==J){an(pe(),Ye(),o,n,s,o[ae],r,!1)}return hd}function Z_(n,e,t,i,r,o,s){const a=T(),l=Ta(a,e,t,i,r,o);if(l!==J){an(pe(),Ye(),a,n,l,a[ae],s,!1)}return Z_}function FD(n,e,t,i,r,o,s,a,l){const c=T(),d=Aa(c,e,t,i,r,o,s,a);if(d!==J){an(pe(),Ye(),c,n,d,c[ae],l,!1)}return FD}function PD(n,e,t,i,r,o,s,a,l,c,d){const u=T(),h=Oa(u,e,t,i,r,o,s,a,l,c);if(h!==J){an(pe(),Ye(),u,n,h,u[ae],d,!1)}return PD}function ND(n,e,t,i,r,o,s,a,l,c,d,u,h){const p=T(),m=ka(p,e,t,i,r,o,s,a,l,c,d,u);if(m!==J){an(pe(),Ye(),p,n,m,p[ae],h,!1)}return ND}function LD(n,e,t,i,r,o,s,a,l,c,d,u,h,p,m){const g=T(),v=Ra(g,e,t,i,r,o,s,a,l,c,d,u,h,p);if(v!==J){an(pe(),Ye(),g,n,v,g[ae],m,!1)}return LD}function VD(n,e,t,i,r,o,s,a,l,c,d,u,h,p,m,g,v){const D=T(),O=Fa(D,e,t,i,r,o,s,a,l,c,d,u,h,p,m,g);if(O!==J){an(pe(),Ye(),D,n,O,D[ae],v,!1)}return VD}function BD(n,e,t,i,r,o,s,a,l,c,d,u,h,p,m,g,v,D,O){const x=T(),N=Pa(x,e,t,i,r,o,s,a,l,c,d,u,h,p,m,g,v,D);if(N!==J){an(pe(),Ye(),x,n,N,x[ae],O,!1)}return BD}function zD(n,e,t){const i=T(),r=Ia(i,e);if(r!==J){an(pe(),Ye(),i,n,r,i[ae],t,!1)}return zD}function Kf(n,e){return n<<17|e<<2}function Cr(n){return n>>17&32767}function K_(n){return 2|n}function Io(n){return(131068&n)>>2}function X_(n,e){return-131069&n|e<<2}function Q_(n){return 1|n}function mN(n,e,t,i,r,o){let s=o?e.classBindings:e.styleBindings,a=Cr(s),l=Io(s);n[i]=t;let d,c=!1;if(Array.isArray(t)){const u=t;d=u[1],(null===d||ga(u,d)>0)&&(c=!0)}else d=t;if(r)if(0!==l){const h=Cr(n[a+1]);n[i+1]=Kf(h,a),0!==h&&(n[h+1]=X_(n[h+1],i)),n[a+1]=function fN(n,e){return 131071&n|e<<17}(n[a+1],i)}else n[i+1]=Kf(a,0),0!==a&&(n[a+1]=X_(n[a+1],i)),a=i;else n[i+1]=Kf(l,0),0===a?a=i:n[l+1]=X_(n[l+1],i),l=i;c&&(n[i+1]=K_(n[i+1])),jD(n,d,i,!0,o),jD(n,d,i,!1,o),function gN(n,e,t,i,r){const o=r?n.residualClasses:n.residualStyles;null!=o&&"string"==typeof e&&ga(o,e)>=0&&(t[i+1]=Q_(t[i+1]))}(e,d,n,i,o),s=Kf(a,l),o?e.classBindings=s:e.styleBindings=s}function jD(n,e,t,i,r){const o=n[t+1],s=null===e;let a=i?Cr(o):Io(o),l=!1;for(;0!==a&&(!1===l||s);){const c=n[a],d=n[a+1];_N(c,e)&&(l=!0,n[a+1]=i?Q_(d):K_(d)),a=i?Cr(d):Io(d)}l&&(n[t+1]=i?K_(o):Q_(o))}function _N(n,e){return null===n||null==e||(Array.isArray(n)?n[1]:n)===e||!(!Array.isArray(n)||"string"!=typeof e)&&ga(n,e)>=0}const dt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function HD(n){return n.substring(dt.key,dt.keyEnd)}function yN(n){return n.substring(dt.value,dt.valueEnd)}function UD(n,e){const t=dt.textEnd;return t===e?-1:(e=dt.keyEnd=function CN(n,e,t){for(;e<t&&n.charCodeAt(e)>32;)e++;return e}(n,dt.key=e,t),Na(n,e,t))}function $D(n,e){const t=dt.textEnd;let i=dt.key=Na(n,e,t);return t===i?-1:(i=dt.keyEnd=function wN(n,e,t){let i;for(;e<t&&(45===(i=n.charCodeAt(e))||95===i||(-33&i)>=65&&(-33&i)<=90||i>=48&&i<=57);)e++;return e}(n,i,t),i=WD(n,i,t,58),i=dt.value=Na(n,i,t),i=dt.valueEnd=function xN(n,e,t){let i=-1,r=-1,o=-1,s=e,a=s;for(;s<t;){const l=n.charCodeAt(s++);if(59===l)return a;34===l||39===l?a=s=qD(n,l,s,t):e===s-4&&85===o&&82===r&&76===i&&40===l?a=s=qD(n,41,s,t):l>32&&(a=s),o=r,r=i,i=-33&l}return a}(n,i,t),WD(n,i,t,59))}function GD(n){dt.key=0,dt.keyEnd=0,dt.value=0,dt.valueEnd=0,dt.textEnd=n.length}function Na(n,e,t){for(;e<t&&n.charCodeAt(e)<=32;)e++;return e}function WD(n,e,t,i){return(e=Na(n,e,t))<t&&e++,e}function qD(n,e,t,i){let r=-1,o=t;for(;o<i;){const s=n.charCodeAt(o++);if(s==e&&92!==r)return o;r=92==s&&92===r?0:s}throw new Error}function wr(n,e,t){return Bn(n,e,t,!1),wr}function ue(n,e){return Bn(n,e,null,!0),ue}function ci(n){zn(KD,DN,n,!1)}function DN(n,e){for(let t=function vN(n){return GD(n),$D(n,Na(n,0,dt.textEnd))}(e);t>=0;t=$D(e,t))KD(n,HD(e),yN(e))}function MN(n){zn(rn,di,n,!0)}function di(n,e){for(let t=function bN(n){return GD(n),UD(n,Na(n,0,dt.textEnd))}(e);t>=0;t=UD(e,t))rn(n,HD(e),!0)}function Bn(n,e,t,i){const r=T(),o=pe(),s=Fi(2);if(o.firstUpdatePass&&ZD(o,n,s,i),e!==J&&At(r,s,e)){XD(o,o.data[Bt()],r,r[ae],n,r[s+1]=function kN(n,e){return null==n||("string"==typeof e?n+=e:"object"==typeof n&&(n=Le(on(n)))),n}(e,t),i,s)}}function zn(n,e,t,i){const r=pe(),o=Fi(2);r.firstUpdatePass&&ZD(r,null,o,i);const s=T();if(t!==J&&At(s,o,t)){const a=r.data[Bt()];if(JD(a,i)&&!YD(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(t=fg(l,t||"")),q_(r,a,s,t,i)}else!function ON(n,e,t,i,r,o,s,a){r===J&&(r=we);let l=0,c=0,d=0<r.length?r[0]:null,u=0<o.length?o[0]:null;for(;null!==d||null!==u;){const h=l<r.length?r[l+1]:void 0,p=c<o.length?o[c+1]:void 0;let g,m=null;d===u?(l+=2,c+=2,h!==p&&(m=u,g=p)):null===u||null!==d&&d<u?(l+=2,m=d):(c+=2,m=u,g=p),null!==m&&XD(n,e,t,i,m,g,s,a),d=l<r.length?r[l]:null,u=c<o.length?o[c]:null}}(r,a,s,s[ae],s[o+1],s[o+1]=function AN(n,e,t){if(null==t||""===t)return we;const i=[],r=on(t);if(Array.isArray(r))for(let o=0;o<r.length;o++)n(i,r[o],!0);else if("object"==typeof r)for(const o in r)r.hasOwnProperty(o)&&n(i,o,r[o]);else"string"==typeof r&&e(i,r);return i}(n,e,t),i,o)}}function YD(n,e){return e>=n.expandoStartIndex}function ZD(n,e,t,i){const r=n.data;if(null===r[t+1]){const o=r[Bt()],s=YD(n,t);JD(o,i)&&null===e&&!s&&(e=!1),e=function EN(n,e,t,i){const r=Ag(n);let o=i?e.residualClasses:e.residualStyles;if(null===r)0===(i?e.classBindings:e.styleBindings)&&(t=J_(null,n,e,t,i),t=fd(t,e.attrs,i),o=null);else{const s=e.directiveStylingLast;if(-1===s||n[s]!==r)if(t=J_(r,n,e,t,i),null===o){let l=function IN(n,e,t){const i=t?e.classBindings:e.styleBindings;if(0!==Io(i))return n[Cr(i)]}(n,e,i);void 0!==l&&Array.isArray(l)&&(l=J_(null,n,e,l[1],i),l=fd(l,e.attrs,i),function SN(n,e,t,i){const r=t?e.classBindings:e.styleBindings;n[Cr(r)]=i}(n,e,i,l))}else o=function TN(n,e,t){let i;const r=e.directiveEnd;for(let o=1+e.directiveStylingLast;o<r;o++){i=fd(i,n[o].hostAttrs,t)}return fd(i,e.attrs,t)}(n,e,i)}return void 0!==o&&(i?e.residualClasses=o:e.residualStyles=o),t}(r,o,e,i),mN(r,o,e,t,s,i)}}function J_(n,e,t,i,r){let o=null;const s=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a<s&&(o=e[a],i=fd(i,o.hostAttrs,r),o!==n);)a++;return null!==n&&(t.directiveStylingLast=a),i}function fd(n,e,t){const i=t?1:2;let r=-1;if(null!==e)for(let o=0;o<e.length;o++){const s=e[o];"number"==typeof s?r=s:r===i&&(Array.isArray(n)||(n=void 0===n?[]:["",n]),rn(n,s,!!t||e[++o]))}return void 0===n?null:n}function KD(n,e,t){rn(n,e,on(t))}function XD(n,e,t,i,r,o,s,a){if(!(3&e.type))return;const l=n.data,c=l[a+1],d=function pN(n){return 1==(1&n)}(c)?QD(l,e,t,r,Io(c),s):void 0;if(!Xf(d)){Xf(o)||function hN(n){return 2==(2&n)}(c)&&(o=QD(l,null,t,r,a,s));!function CR(n,e,t,i,r){if(e)r?n.addClass(t,i):n.removeClass(t,i);else{let o=-1===i.indexOf("-")?void 0:Pi.DashCase;null==r?n.removeStyle(t,i,o):("string"==typeof r&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=Pi.Important),n.setStyle(t,i,r,o))}}(i,s,hf(Bt(),t),r,o)}}function QD(n,e,t,i,r,o){const s=null===e;let a;for(;r>0;){const l=n[r],c=Array.isArray(l),d=c?l[1]:l,u=null===d;let h=t[r+1];h===J&&(h=u?we:void 0);let p=u?Gg(h,i):d===i?h:void 0;if(c&&!Xf(p)&&(p=Gg(l,i)),Xf(p)&&(a=p,s))return a;const m=n[r+1];r=s?Cr(m):Io(m)}if(null!==e){let l=o?e.residualClasses:e.residualStyles;null!=l&&(a=Gg(l,i))}return a}function Xf(n){return void 0!==n}function JD(n,e){return 0!=(n.flags&(e?8:16))}function S(n,e=""){const t=T(),i=pe(),r=n+je,o=i.firstCreatePass?Ea(i,r,1,e,null):i.data[r],s=t[r]=r_(t[ae],e);Tf(i,t,s,o),ii(o,!1)}function Ue(n){return jn("",n,""),Ue}function jn(n,e,t){const i=T(),r=Sa(i,n,e,t);return r!==J&&Bi(i,Bt(),r),jn}function ey(n,e,t,i,r){const o=T(),s=Ta(o,n,e,t,i,r);return s!==J&&Bi(o,Bt(),s),ey}function eM(n,e,t,i,r,o,s){const a=T(),l=Aa(a,n,e,t,i,r,o,s);return l!==J&&Bi(a,Bt(),l),eM}function tM(n,e,t,i,r,o,s,a,l){const c=T(),d=Oa(c,n,e,t,i,r,o,s,a,l);return d!==J&&Bi(c,Bt(),d),tM}function nM(n,e,t,i,r,o,s,a,l,c,d){const u=T(),h=ka(u,n,e,t,i,r,o,s,a,l,c,d);return h!==J&&Bi(u,Bt(),h),nM}function iM(n,e,t,i,r,o,s,a,l,c,d,u,h){const p=T(),m=Ra(p,n,e,t,i,r,o,s,a,l,c,d,u,h);return m!==J&&Bi(p,Bt(),m),iM}function rM(n,e,t,i,r,o,s,a,l,c,d,u,h,p,m){const g=T(),v=Fa(g,n,e,t,i,r,o,s,a,l,c,d,u,h,p,m);return v!==J&&Bi(g,Bt(),v),rM}function oM(n,e,t,i,r,o,s,a,l,c,d,u,h,p,m,g,v){const D=T(),O=Pa(D,n,e,t,i,r,o,s,a,l,c,d,u,h,p,m,g,v);return O!==J&&Bi(D,Bt(),O),oM}function sM(n){const e=T(),t=Ia(e,n);return t!==J&&Bi(e,Bt(),t),sM}function RN(n,e,t){zn(rn,di,Sa(T(),n,e,t),!0)}function FN(n,e,t,i,r){zn(rn,di,Ta(T(),n,e,t,i,r),!0)}function PN(n,e,t,i,r,o,s){zn(rn,di,Aa(T(),n,e,t,i,r,o,s),!0)}function NN(n,e,t,i,r,o,s,a,l){zn(rn,di,Oa(T(),n,e,t,i,r,o,s,a,l),!0)}function LN(n,e,t,i,r,o,s,a,l,c,d){zn(rn,di,ka(T(),n,e,t,i,r,o,s,a,l,c,d),!0)}function VN(n,e,t,i,r,o,s,a,l,c,d,u,h){zn(rn,di,Ra(T(),n,e,t,i,r,o,s,a,l,c,d,u,h),!0)}function BN(n,e,t,i,r,o,s,a,l,c,d,u,h,p,m){zn(rn,di,Fa(T(),n,e,t,i,r,o,s,a,l,c,d,u,h,p,m),!0)}function zN(n,e,t,i,r,o,s,a,l,c,d,u,h,p,m,g,v){zn(rn,di,Pa(T(),n,e,t,i,r,o,s,a,l,c,d,u,h,p,m,g,v),!0)}function jN(n){zn(rn,di,Ia(T(),n),!0)}function HN(n,e,t){ci(Sa(T(),n,e,t))}function UN(n,e,t,i,r){ci(Ta(T(),n,e,t,i,r))}function $N(n,e,t,i,r,o,s){ci(Aa(T(),n,e,t,i,r,o,s))}function GN(n,e,t,i,r,o,s,a,l){ci(Oa(T(),n,e,t,i,r,o,s,a,l))}function WN(n,e,t,i,r,o,s,a,l,c,d){ci(ka(T(),n,e,t,i,r,o,s,a,l,c,d))}function qN(n,e,t,i,r,o,s,a,l,c,d,u,h){ci(Ra(T(),n,e,t,i,r,o,s,a,l,c,d,u,h))}function YN(n,e,t,i,r,o,s,a,l,c,d,u,h,p,m){ci(Fa(T(),n,e,t,i,r,o,s,a,l,c,d,u,h,p,m))}function ZN(n,e,t,i,r,o,s,a,l,c,d,u,h,p,m,g,v){ci(Pa(T(),n,e,t,i,r,o,s,a,l,c,d,u,h,p,m,g,v))}function KN(n){ci(Ia(T(),n))}function aM(n,e,t,i,r){return Bn(n,Sa(T(),e,t,i),r,!1),aM}function lM(n,e,t,i,r,o,s){return Bn(n,Ta(T(),e,t,i,r,o),s,!1),lM}function cM(n,e,t,i,r,o,s,a,l){return Bn(n,Aa(T(),e,t,i,r,o,s,a),l,!1),cM}function dM(n,e,t,i,r,o,s,a,l,c,d){return Bn(n,Oa(T(),e,t,i,r,o,s,a,l,c),d,!1),dM}function uM(n,e,t,i,r,o,s,a,l,c,d,u,h){return Bn(n,ka(T(),e,t,i,r,o,s,a,l,c,d,u),h,!1),uM}function hM(n,e,t,i,r,o,s,a,l,c,d,u,h,p,m){return Bn(n,Ra(T(),e,t,i,r,o,s,a,l,c,d,u,h,p),m,!1),hM}function fM(n,e,t,i,r,o,s,a,l,c,d,u,h,p,m,g,v){return Bn(n,Fa(T(),e,t,i,r,o,s,a,l,c,d,u,h,p,m,g),v,!1),fM}function pM(n,e,t,i,r,o,s,a,l,c,d,u,h,p,m,g,v,D,O){return Bn(n,Pa(T(),e,t,i,r,o,s,a,l,c,d,u,h,p,m,g,v,D),O,!1),pM}function mM(n,e,t){return Bn(n,Ia(T(),e),t,!1),mM}function xr(n,e,t){const i=T();if(At(i,ca(),e)){an(pe(),Ye(),i,n,e,i[ae],t,!0)}return xr}function gM(n,e,t){const i=T();if(At(i,ca(),e)){const o=pe(),s=Ye();an(o,s,i,n,e,hD(Ag(o.data),s,i),t,!0)}return gM}const So=void 0;var QN=["en",[["a","p"],["AM","PM"],So],[["AM","PM"],So,So],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],So,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],So,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",So,"{1} 'at' {0}",So],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function XN(n){const t=Math.floor(Math.abs(n)),i=n.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===i?1:5}];let La={};function zt(n){const e=function JN(n){return n.toLowerCase().replace(/_/g,"-")}(n);let t=yM(e);if(t)return t;const i=e.split("-")[0];if(t=yM(i),t)return t;if("en"===i)return QN;throw new w(701,!1)}function _M(n){return zt(n)[Fe.PluralCase]}function yM(n){return n in La||(La[n]=ze.ng&&ze.ng.common&&ze.ng.common.locales&&ze.ng.common.locales[n]),La[n]}var Fe;!function(n){n[n.LocaleId=0]="LocaleId",n[n.DayPeriodsFormat=1]="DayPeriodsFormat",n[n.DayPeriodsStandalone=2]="DayPeriodsStandalone",n[n.DaysFormat=3]="DaysFormat",n[n.DaysStandalone=4]="DaysStandalone",n[n.MonthsFormat=5]="MonthsFormat",n[n.MonthsStandalone=6]="MonthsStandalone",n[n.Eras=7]="Eras",n[n.FirstDayOfWeek=8]="FirstDayOfWeek",n[n.WeekendRange=9]="WeekendRange",n[n.DateFormat=10]="DateFormat",n[n.TimeFormat=11]="TimeFormat",n[n.DateTimeFormat=12]="DateTimeFormat",n[n.NumberSymbols=13]="NumberSymbols",n[n.NumberFormats=14]="NumberFormats",n[n.CurrencyCode=15]="CurrencyCode",n[n.CurrencySymbol=16]="CurrencySymbol",n[n.CurrencyName=17]="CurrencyName",n[n.Currencies=18]="Currencies",n[n.Directionality=19]="Directionality",n[n.PluralCase=20]="PluralCase",n[n.ExtraData=21]="ExtraData"}(Fe||(Fe={}));const eL=["zero","one","two","few","many"];const Va="en-US",Qf={marker:"element"},Jf={marker:"ICU"};var jt;!function(n){n[n.SHIFT=2]="SHIFT",n[n.APPEND_EAGERLY=1]="APPEND_EAGERLY",n[n.COMMENT=2]="COMMENT"}(jt||(jt={}));let bM=Va;function vM(n){fn(n,"Expected localeId to be defined"),"string"==typeof n&&(bM=n.toLowerCase().replace(/_/g,"-"))}function CM(n,e,t){const i=e.insertBeforeIndex,r=Array.isArray(i)?i[0]:i;return null===r?ox(n,0,t):bt(t[r])}function wM(n,e,t,i,r){const o=e.insertBeforeIndex;if(Array.isArray(o)){let s=i,a=null;if(3&e.type||(a=s,s=r),null!==s&&-1===e.componentOffset)for(let l=1;l<o.length;l++){wo(n,s,t[o[l]],a,!1)}}}function xM(n,e){if(n.push(e),n.length>1)for(let t=n.length-2;t>=0;t--){const i=n[t];DM(i)||rL(i,e)&&null===oL(i)&&sL(i,e.index)}}function DM(n){return!(64&n.type)}function rL(n,e){return DM(e)||n.index>e.index}function oL(n){const e=n.insertBeforeIndex;return Array.isArray(e)?e[0]:e}function sL(n,e){const t=n.insertBeforeIndex;Array.isArray(t)?t[0]=e:(ax(CM,wM),n.insertBeforeIndex=e)}function pd(n,e){const t=n.data[e];return null===t||"string"==typeof t?null:t.hasOwnProperty("currentCaseLViewIndex")?t:t.value}function cL(n,e,t){const i=k_(n,t,64,null,null);return xM(e,i),i}function ep(n,e){const t=e[n.currentCaseLViewIndex];return null===t?t:t<0?~t:t}function MM(n){return n>>>17}function EM(n){return(131070&n)>>>1}let md=0,gd=0;function SM(n,e,t,i){const r=t[ae];let s,o=null;for(let a=0;a<e.length;a++){const l=e[a];if("string"==typeof l){const c=e[++a];null===t[c]&&(t[c]=r_(r,l))}else if("number"==typeof l)switch(1&l){case 0:const c=MM(l);let d,u;if(null===o&&(o=c,s=Sf(r,i)),c===o?(d=i,u=s):(d=null,u=bt(t[c])),null!==u){const g=EM(l);wo(r,u,t[g],d,!1);const D=pd(n,g);if(null!==D&&"object"==typeof D){const O=ep(D,t);null!==O&&SM(n,D.create[O],t,t[D.anchorIdx])}}break;case 1:const h=l>>>1,p=e[++a],m=e[++a];z_(r,hf(h,t),null,null,p,m,null)}else switch(l){case Jf:const c=e[++a],d=e[++a];if(null===t[d]){Tt(t[d]=lR(r,c),t)}break;case Qf:const u=e[++a],h=e[++a];if(null===t[h]){Tt(t[h]=o_(r,u,null),t)}}}}function TM(n,e,t,i,r){for(let o=0;o<t.length;o++){const s=t[o],a=t[++o];if(s&r){let l="";for(let c=o+1;c<=o+a;c++){const d=t[c];if("string"==typeof d)l+=d;else if("number"==typeof d)if(d<0)l+=K(e[i-d]);else{const u=d>>>2;switch(3&d){case 1:const h=t[++c],p=t[++c],m=n.data[u];"string"==typeof m?z_(e[ae],e[u],null,m,h,l,p):an(n,m,e,h,l,e[ae],p,!1);break;case 0:const g=e[u];null!==g&&Xw(e[ae],g,l);break;case 2:pL(n,pd(n,u),e,l);break;case 3:AM(n,pd(n,u),i,e)}}}}else{const l=t[o+1];if(l>0&&3==(3&l)){const d=pd(n,l>>>2);e[d.currentCaseLViewIndex]<0&&AM(n,d,i,e)}}o+=a}}function AM(n,e,t,i){let r=i[e.currentCaseLViewIndex];if(null!==r){let o=md;r<0&&(r=i[e.currentCaseLViewIndex]=~r,o=-1),TM(n,i,e.update[r],t,o)}}function pL(n,e,t,i){const r=function mL(n,e){let t=n.cases.indexOf(e);if(-1===t)switch(n.type){case 1:{const i=function tL(n,e){const t=_M(e)(parseInt(n,10)),i=eL[t];return void 0!==i?i:"other"}(e,function iL(){return bM}());t=n.cases.indexOf(i),-1===t&&"other"!==i&&(t=n.cases.indexOf("other"));break}case 0:t=n.cases.indexOf("other")}return-1===t?null:t}(e,i);if(ep(e,t)!==r&&(OM(n,e,t),t[e.currentCaseLViewIndex]=null===r?null:~r,null!==r)){const s=t[e.anchorIdx];s&&SM(n,e.create[r],t,s)}}function OM(n,e,t){let i=ep(e,t);if(null!==i){const r=e.remove[i];for(let o=0;o<r.length;o++){const s=r[o];if(s>0){const a=hf(s,t);null!==a&&d_(t[ae],a)}else OM(n,pd(n,~s),t)}}}function gL(){const n=[];let t,i,e=-1;function o(a,l){e=0;const c=ep(a,l);i=null!==c?a.remove[c]:we}function s(){if(e<i.length){const a=i[e++];if(a>0)return t[a];{n.push(e,i);const l=~a;return o(t[P].data[l],t),s()}}return 0===n.length?null:(i=n.pop(),e=n.pop(),s())}return function r(a,l){for(t=l;n.length;)n.pop();return o(a.value,l),s}}const tp=/\ufffd(\d+):?\d*\ufffd/gi,_L=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,yL=/\ufffd(\d+)\ufffd/,RM=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,_d="\ufffd",bL=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,vL=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,CL=/\uE500/g;function xL(n,e,t,i,r,o){const s=$c(),a=[],l=[],c=[[]];r=function SL(n,e){if(function IL(n){return-1===n}(e))return NM(n);{const t=n.indexOf(`:${e}${_d}`)+2+e.toString().length,i=n.search(new RegExp(`${_d}\\/\\*\\d+:${e}${_d}`));return NM(n.substring(t,i))}}(r,o);const d=function wL(n){return n.replace(CL," ")}(r).split(vL);for(let u=0;u<d.length;u++){let h=d[u];if(1&u){const p=47===h.charCodeAt(0),g=(h.charCodeAt(p?1:0),je+Number.parseInt(h.substring(p?2:1)));if(p)c.shift(),ii($c(),!1);else{const v=cL(n,c[0],g);c.unshift([]),ii(v,!0)}}else{const p=ty(h);for(let m=0;m<p.length;m++){let g=p[m];if(1&m){const v=g;if("object"!=typeof v)throw new Error(`Unable to parse ICU expression in "${r}" message.`);LM(n,t,l,e,v,FM(n,s,c[0],t,a,"",!0).index)}else{const v=g;""!==v&&DL(n,s,c[0],a,l,t,v)}}}}n.data[i]={create:a,update:l}}function FM(n,e,t,i,r,o,s){const a=sd(n,i,1,null);let l=a<<jt.SHIFT,c=$c();e===c&&(c=null),null===c&&(l|=jt.APPEND_EAGERLY),s&&(l|=jt.COMMENT,function oR(n){void 0===e_&&(e_=n())}(gL)),r.push(l,null===o?"":o);const d=k_(n,a,s?32:1,null===o?"":o,null);xM(t,d);const u=d.index;return ii(d,!1),null!==c&&e!==c&&function lL(n,e){let t=n.insertBeforeIndex;null===t?(ax(CM,wM),t=n.insertBeforeIndex=[null,e]):(pr(Array.isArray(t),!0,"Expecting array here"),t.push(e))}(c,u),d}function DL(n,e,t,i,r,o,s){const a=s.match(tp),l=FM(n,e,t,o,i,a?null:s,!1);a&&yd(r,s,l.index,null,0,null)}function yd(n,e,t,i,r,o){const s=n.length,a=s+1;n.push(null,null);const l=s+2,c=e.split(tp);let d=0;for(let u=0;u<c.length;u++){const h=c[u];if(1&u){const p=r+parseInt(h,10);n.push(-1-p),d|=PM(p)}else""!==h&&n.push(h)}return n.push(t<<2|(i?1:0)),i&&n.push(i,o),n[s]=d,n[a]=n.length-l,d}function EL(n){let e=0;for(let t=0;t<n.length;t++){const i=n[t];"number"==typeof i&&i<0&&e++}return e}function PM(n){return 1<<Math.min(n,31)}function NM(n){let e,o,t="",i=0,r=!1;for(;null!==(e=bL.exec(n));)r?e[0]===`${_d}/*${o}${_d}`&&(i=e.index,r=!1):(t+=n.substring(i,e.index+e[0].length),o=e[1],r=!0);return t+=n.slice(i),t}function LM(n,e,t,i,r,o){let s=0;const a={type:r.type,currentCaseLViewIndex:sd(n,e,1,null),anchorIdx:o,cases:[],create:[],remove:[],update:[]};(function kL(n,e,t){n.push(PM(e.mainBinding),2,-1-e.mainBinding,t<<2|2)})(t,r,o),function aL(n,e,t){const i=n.data[e];null===i?n.data[e]=t:i.value=t}(n,o,a);const l=r.values;for(let c=0;c<l.length;c++){const d=l[c],u=[];for(let h=0;h<d.length;h++){const p=d[h];if("string"!=typeof p){const m=u.push(p)-1;d[h]=`\x3c!--\ufffd${m}\ufffd--\x3e`}}s=AL(n,a,e,t,i,r.cases[c],d.join(""),u)|s}s&&function RL(n,e,t){n.push(e,1,t<<2|3)}(t,s,o)}function TL(n){const e=[],t=[];let i=1,r=0;const o=ty(n=n.replace(RM,function(s,a,l){return i="select"===l?0:1,r=parseInt(a.slice(1),10),""}));for(let s=0;s<o.length;){let a=o[s++].trim();1===i&&(a=a.replace(/\s*(?:=)?(\w+)\s*/,"$1")),a.length&&e.push(a);const l=ty(o[s++]);e.length>t.length&&t.push(l)}return{type:i,mainBinding:r,cases:e,values:t}}function ty(n){if(!n)return[];let e=0;const t=[],i=[],r=/[{}]/g;let o;for(r.lastIndex=0;o=r.exec(n);){const a=o.index;if("}"==o[0]){if(t.pop(),0==t.length){const l=n.substring(e,a);RM.test(l)?i.push(TL(l)):i.push(l),e=a+1}}else{if(0==t.length){const l=n.substring(e,a);i.push(l),e=a+1}t.push("{")}}const s=n.substring(e);return i.push(s),i}function AL(n,e,t,i,r,o,s,a){const l=[],c=[],d=[];e.cases.push(o),e.create.push(l),e.remove.push(c),e.update.push(d);const h=gx(hx()).getInertBodyElement(s),p=__(h)||h;return p?VM(n,e,t,i,l,c,d,p,r,a,0):0}function VM(n,e,t,i,r,o,s,a,l,c,d){let u=0,h=a.firstChild;for(;h;){const p=sd(n,t,1,null);switch(h.nodeType){case Node.ELEMENT_NODE:const m=h,g=m.tagName.toLowerCase();if(m_.hasOwnProperty(g)){ny(r,Qf,g,l,p),n.data[p]=g;const x=m.attributes;for(let N=0;N<x.length;N++){const me=x.item(N),Ce=me.name.toLowerCase();me.value.match(tp)?vx.hasOwnProperty(Ce)&&(g_[Ce]?yd(s,me.value,p,me.name,0,Rf):yd(s,me.value,p,me.name,0,null)):FL(r,p,me)}u=VM(n,e,t,i,r,o,s,h,p,c,d+1)|u,BM(o,p,d)}break;case Node.TEXT_NODE:const v=h.textContent||"",D=v.match(tp);ny(r,null,D?"":v,l,p),BM(o,p,d),D&&(u=yd(s,v,p,null,0,null)|u);break;case Node.COMMENT_NODE:const O=yL.exec(h.textContent||"");if(O){const N=c[parseInt(O[1],10)];ny(r,Jf,"",l,p),LM(n,t,i,l,N,p),OL(o,p,d)}}h=h.nextSibling}return u}function BM(n,e,t){0===t&&n.push(e)}function OL(n,e,t){0===t&&(n.push(~e),n.push(e))}function ny(n,e,t,i,r){null!==e&&n.push(e),n.push(t,r,function dL(n,e,t){return n|e<<17|t<<1}(0,i,r))}function FL(n,e,t){n.push(e<<1|1,t.name,t.value)}const zM=0,PL=/\[(\ufffd.+?\ufffd?)\]/,NL=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,LL=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,VL=/{([A-Z0-9_]+)}/g,BL=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,zL=/\/\*/,jL=/\d+\:(\d+)/;function jM(n,e,t=-1){const i=pe(),r=T(),o=je+n,s=_r(i.consts,e),a=$c();i.firstCreatePass&&xL(i,null===a?0:a.index,r,o,s,t);const l=i.data[o],d=tx(i,a===r[It]?null:a,r),u=a&&8&a.type?r[a.index]:null;(function fL(n,e,t,i){const r=n[ae];for(let o=0;o<e.length;o++){const s=e[o++],a=e[o],l=(s&jt.COMMENT)===jt.COMMENT,c=(s&jt.APPEND_EAGERLY)===jt.APPEND_EAGERLY,d=s>>>jt.SHIFT;let u=n[d];null===u&&(u=n[d]=l?r.createComment(a):r_(r,a)),c&&null!==t&&wo(r,t,u,i,!1)}})(r,l.create,d,u),rw(!0)}function HM(){rw(!1)}function UL(n,e,t){jM(n,e,t),HM()}function $L(n,e){const t=pe(),i=_r(t.consts,e);!function ML(n,e,t){const r=vt().index,o=[];if(n.firstCreatePass&&null===n.data[e]){for(let s=0;s<t.length;s+=2){const a=t[s],l=t[s+1];if(""!==l){if(_L.test(l))throw new Error(`ICU expressions are not supported in attributes. Message: "${l}".`);yd(o,l,r,a,EL(o),null)}}n.data[e]=o}}(t,n+je,i)}function UM(n){return function uL(n){n&&(md|=1<<Math.min(gd,31)),gd++}(At(T(),ca(),n)),UM}function GL(n){!function hL(n,e,t){if(gd>0){const i=n.data[t];TM(n,e,Array.isArray(i)?i:i.update,Ri()-gd-1,md)}md=0,gd=0}(pe(),T(),n+je)}function WL(n,e={}){return function HL(n,e={}){let t=n;if(PL.test(n)){const i={},r=[zM];t=t.replace(NL,(o,s,a)=>{const l=s||a,c=i[l]||[];if(c.length||(l.split("|").forEach(g=>{const v=g.match(jL),D=v?parseInt(v[1],10):zM,O=zL.test(g);c.push([D,O,g])}),i[l]=c),!c.length)throw new Error(`i18n postprocess: unmatched placeholder - ${l}`);const d=r[r.length-1];let u=0;for(let g=0;g<c.length;g++)if(c[g][0]===d){u=g;break}const[h,p,m]=c[u];return p?r.pop():d!==h&&r.push(h),c.splice(u,1),m})}return Object.keys(e).length&&(t=t.replace(LL,(i,r,o,s,a,l)=>e.hasOwnProperty(o)?`${r}${e[o]}${l}`:i),t=t.replace(VL,(i,r)=>e.hasOwnProperty(r)?e[r]:i),t=t.replace(BL,(i,r)=>{if(e.hasOwnProperty(r)){const o=e[r];if(!o.length)throw new Error(`i18n postprocess: unmatched ICU - ${i} with key: ${r}`);return o.shift()}return i})),t}(n,e)}function iy(n,e,t,i,r){if(n=Y(n),Array.isArray(n))for(let o=0;o<n.length;o++)iy(n[o],e,t,i,r);else{const o=pe(),s=T();let a=Do(n)?n:Y(n.provide),l=Rx(n);const c=vt(),d=1048575&c.providerIndexes,u=c.directiveStart,h=c.providerIndexes>>20;if(Do(n)||!n.multi){const p=new Gc(l,r,f),m=oy(a,e,r?d:d+h,u);-1===m?(jg(vf(c,s),o,a),ry(o,n,e.length),e.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),t.push(p),s.push(p)):(t[m]=p,s[m]=p)}else{const p=oy(a,e,d+h,u),m=oy(a,e,d,d+h),g=p>=0&&t[p],v=m>=0&&t[m];if(r&&!v||!r&&!g){jg(vf(c,s),o,a);const D=function KL(n,e,t,i,r){const o=new Gc(n,t,f);return o.multi=[],o.index=e,o.componentProviders=0,$M(o,r,i&&!t),o}(r?ZL:YL,t.length,r,i,l);!r&&v&&(t[m].providerFactory=D),ry(o,n,e.length,0),e.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),t.push(D),s.push(D)}else{ry(o,n,p>-1?p:m,$M(t[r?m:p],l,!r&&i))}!r&&i&&v&&t[m].componentProviders++}}}function ry(n,e,t,i){const r=Do(e),o=function aF(n){return!!n.useClass}(e);if(r||o){const l=(o?Y(e.useClass):e).prototype.ngOnDestroy;if(l){const c=n.destroyHooks||(n.destroyHooks=[]);if(!r&&e.multi){const d=c.indexOf(t);-1===d?c.push(t,[i,l]):c[d+1].push(i,l)}else c.push(t,l)}}}function $M(n,e,t){return t&&n.componentProviders++,n.multi.push(e)-1}function oy(n,e,t,i){for(let r=t;r<i;r++)if(e[r]===n)return r;return-1}function YL(n,e,t,i){return sy(this.multi,[])}function ZL(n,e,t,i){const r=this.multi;let o;if(this.providerFactory){const s=this.providerFactory.componentProviders,a=_o(t,t[P],this.providerFactory.index,i);o=a.slice(0,s),sy(r,o);for(let l=s;l<a.length;l++)o.push(a[l])}else o=[],sy(r,o);return o}function sy(n,e){for(let t=0;t<n.length;t++){const i=n[t];e.push(i())}return e}function ee(n,e=[]){return t=>{t.providersResolver=(i,r)=>function qL(n,e,t){const i=pe();if(i.firstCreatePass){const r=Pn(n);iy(t,i.data,i.blueprint,r,!0),iy(e,i.data,i.blueprint,r,!1)}}(i,r?r(n):n,e)}}class Ba{}class GM{}class WM extends Ba{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new pD(this);const i=Jt(e);this._bootstrapComponents=Vi(i.bootstrap),this._r3Injector=qx(e,t,[{provide:Ba,useValue:this},{provide:Li,useValue:this.componentFactoryResolver}],Le(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 ay extends GM{constructor(e){super(),this.moduleType=e}create(e){return new WM(this.moduleType,e)}}class QL extends Ba{constructor(e,t,i){super(),this.componentFactoryResolver=new pD(this),this.instance=null;const r=new kx([...e,{provide:Ba,useValue:this},{provide:Li,useValue:this.componentFactoryResolver}],t||Lf(),i,new Set(["environment"]));this.injector=r,r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}}function np(n,e,t=null){return new QL(n,e,t).injector}class ip{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e.id)){const t=Sx(0,e.type),i=t.length>0?np([t],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e.id,i)}return this.cachedInjectors.get(e.id)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}}function ly(n){n.getStandaloneInjector=e=>e.get(ip).getOrCreateStandaloneInjector(n)}function a2(n,e,t){const i=Vt()+n,r=T();return r[i]===J?li(r,i,t?e.call(t):e()):cd(r,i)}function JM(n,e,t,i){return t0(T(),Vt(),n,e,t,i)}function e0(n,e,t,i,r){return n0(T(),Vt(),n,e,t,i,r)}function l2(n,e,t,i,r,o){return i0(T(),Vt(),n,e,t,i,r,o)}function c2(n,e,t,i,r,o,s){return r0(T(),Vt(),n,e,t,i,r,o,s)}function d2(n,e,t,i,r,o,s,a){const l=Vt()+n,c=T(),d=yn(c,l,t,i,r,o);return At(c,l+4,s)||d?li(c,l+5,a?e.call(a,t,i,r,o,s):e(t,i,r,o,s)):cd(c,l+5)}function u2(n,e,t,i,r,o,s,a,l){const c=Vt()+n,d=T(),u=yn(d,c,t,i,r,o);return Eo(d,c+4,s,a)||u?li(d,c+6,l?e.call(l,t,i,r,o,s,a):e(t,i,r,o,s,a)):cd(d,c+6)}function h2(n,e,t,i,r,o,s,a,l,c){const d=Vt()+n,u=T();let h=yn(u,d,t,i,r,o);return qf(u,d+4,s,a,l)||h?li(u,d+7,c?e.call(c,t,i,r,o,s,a,l):e(t,i,r,o,s,a,l)):cd(u,d+7)}function f2(n,e,t,i,r,o,s,a,l,c,d){const u=Vt()+n,h=T(),p=yn(h,u,t,i,r,o);return yn(h,u+4,s,a,l,c)||p?li(h,u+8,d?e.call(d,t,i,r,o,s,a,l,c):e(t,i,r,o,s,a,l,c)):cd(h,u+8)}function p2(n,e,t,i){return o0(T(),Vt(),n,e,t,i)}function bd(n,e){const t=n[e];return t===J?void 0:t}function t0(n,e,t,i,r,o){const s=e+t;return At(n,s,r)?li(n,s+1,o?i.call(o,r):i(r)):bd(n,s+1)}function n0(n,e,t,i,r,o,s){const a=e+t;return Eo(n,a,r,o)?li(n,a+2,s?i.call(s,r,o):i(r,o)):bd(n,a+2)}function i0(n,e,t,i,r,o,s,a){const l=e+t;return qf(n,l,r,o,s)?li(n,l+3,a?i.call(a,r,o,s):i(r,o,s)):bd(n,l+3)}function r0(n,e,t,i,r,o,s,a,l){const c=e+t;return yn(n,c,r,o,s,a)?li(n,c+4,l?i.call(l,r,o,s,a):i(r,o,s,a)):bd(n,c+4)}function o0(n,e,t,i,r,o){let s=e+t,a=!1;for(let l=0;l<r.length;l++)At(n,s++,r[l])&&(a=!0);return a?li(n,s,i.apply(o,r)):bd(n,s)}function m2(n,e){const t=pe();let i;const r=n+je;t.firstCreatePass?(i=function g2(n,e){if(e)for(let t=e.length-1;t>=0;t--){const i=e[t];if(n===i.name)return i}}(e,t.pipeRegistry),t.data[r]=i,i.onDestroy&&(t.destroyHooks||(t.destroyHooks=[])).push(r,i.onDestroy)):i=t.data[r];const o=i.factory||(i.factory=mo(i.type)),s=pn(f);try{const a=bf(!1),l=o();return bf(a),function aN(n,e,t,i){t>=n.data.length&&(n.data[t]=null,n.blueprint[t]=null),e[t]=i}(t,T(),r,l),l}finally{pn(s)}}function _2(n,e,t){const i=n+je,r=T(),o=la(r,i);return vd(r,i)?t0(r,Vt(),e,o.transform,t,o):o.transform(t)}function y2(n,e,t,i){const r=n+je,o=T(),s=la(o,r);return vd(o,r)?n0(o,Vt(),e,s.transform,t,i,s):s.transform(t,i)}function b2(n,e,t,i,r){const o=n+je,s=T(),a=la(s,o);return vd(s,o)?i0(s,Vt(),e,a.transform,t,i,r,a):a.transform(t,i,r)}function v2(n,e,t,i,r,o){const s=n+je,a=T(),l=la(a,s);return vd(a,s)?r0(a,Vt(),e,l.transform,t,i,r,o,l):l.transform(t,i,r,o)}function C2(n,e,t){const i=n+je,r=T(),o=la(r,i);return vd(r,i)?o0(r,Vt(),e,o.transform,t,o):o.transform.apply(o,t)}function vd(n,e){return n[P].data[e].pure}ip.\u0275prov=I({token:ip,providedIn:"environment",factory:()=>new ip(b(_n))});function dy(n){return e=>{setTimeout(n,void 0,e)}}const U=class w2 extends B{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,i){let r=e,o=t||(()=>null),s=i;if(e&&"object"==typeof e){const l=e;r=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=dy(o),r&&(r=dy(r)),s&&(s=dy(s)));const a=super.subscribe({next:r,error:o,complete:s});return e instanceof Te&&e.add(a),a}};function x2(){return this._results[Symbol.iterator]()}class za{get changes(){return this._changes||(this._changes=new U)}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=za.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=x2)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,t){const i=this;i.dirty=!1;const r=gn(e);(this._changesDetected=!function M1(n,e,t){if(n.length!==e.length)return!1;for(let i=0;i<n.length;i++){let r=n[i],o=e[i];if(t&&(r=t(r),o=t(o)),o!==r)return!1}return!0}(i._results,r,t))&&(i._results=r,i.length=r.length,i.last=r[this.length-1],i.first=r[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}class ut{}ut.__NG_ELEMENT_ID__=function E2(){return rp(vt(),T())};const D2=ut,M2=class extends D2{constructor(e,t,i){super(),this._declarationLView=e,this._declarationTContainer=t,this.elementRef=i}createEmbeddedView(e,t){const i=this._declarationTContainer.tView,r=zf(this._declarationLView,i,e,16,null,i.declTNode,null,null,null,null,t||null),o=this._declarationLView[this._declarationTContainer.index];r[jc]=o;const s=this._declarationLView[ni];return null!==s&&(r[ni]=s.createEmbeddedView(i)),R_(i,r,e),new ad(r)}};function rp(n,e){return 4&n.type?new M2(e,n,wa(n,e)):null}class rt{}rt.__NG_ELEMENT_ID__=function I2(){const n=vt();return l0(n,T())};const S2=rt,s0=class extends S2{constructor(e,t,i){super(),this._lContainer=e,this._hostTNode=t,this._hostLView=i}get element(){return wa(this._hostTNode,this._hostLView)}get injector(){return new ua(this._hostTNode,this._hostLView)}get parentInjector(){const e=zg(this._hostTNode,this._hostLView);if(gw(e)){const t=yf(e,this._hostLView),i=_f(e),r=t[P].data[i+8];return new ua(r,t)}return new ua(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const t=a0(this._lContainer);return null!==t&&t[e]||null}get length(){return this._lContainer.length-Lt}createEmbeddedView(e,t,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const s=e.createEmbeddedView(t||{},o);return this.insert(s,r),s}createComponent(e,t,i,r,o){const s=e&&!Yc(e);let a;if(s)a=t;else{const u=t||{};a=u.index,i=u.injector,r=u.projectableNodes,o=u.environmentInjector||u.ngModuleRef}const l=s?e:new ld(Ie(e)),c=i||this.parentInjector;if(!o&&null==l.ngModule){const h=(s?c:this.parentInjector).get(_n,null);h&&(o=h)}const d=l.create(c,r,void 0,o);return this.insert(d.hostView,a),d}insert(e,t){const i=e._lView,r=i[P];if(function Zk(n){return Fn(n[Ke])}(i)){const d=this.indexOf(e);if(-1!==d)this.detach(d);else{const u=i[Ke],h=new s0(u,u[It],u[Ke]);h.detach(h.indexOf(e))}}const o=this._adjustIndex(t),s=this._lContainer;fR(r,i,s,o);const a=c_(o,s),l=i[ae],c=Sf(l,s[cf]);return null!==c&&function dR(n,e,t,i,r,o){i[ki]=r,i[It]=e,ed(n,i,t,1,r,o)}(r,s[It],l,i,c,a),e.attachToViewContainerRef(),Aw(uy(s),o,e),e}move(e,t){return this.insert(e,t)}indexOf(e){const t=a0(this._lContainer);return null!==t?t.indexOf(e):-1}remove(e){const t=this._adjustIndex(e,-1),i=s_(this._lContainer,t);i&&(xf(uy(this._lContainer),t),Jw(i[P],i))}detach(e){const t=this._adjustIndex(e,-1),i=s_(this._lContainer,t);return i&&null!=xf(uy(this._lContainer),t)?new ad(i):null}_adjustIndex(e,t=0){return e??this.length+t}};function a0(n){return n[df]}function uy(n){return n[df]||(n[df]=[])}function l0(n,e){let t;const i=e[n.index];if(Fn(i))t=i;else{let r;if(8&n.type)r=bt(i);else{const o=e[ae];r=o.createComment("");const s=tn(n,e);wo(o,Sf(o,s),r,function yR(n,e){return n.nextSibling(e)}(o,s),!1)}e[n.index]=t=cD(i,e,r,n),Hf(e,t)}return new s0(t,n,e)}class hy{constructor(e){this.queryList=e,this.matches=null}clone(){return new hy(this.queryList)}setDirty(){this.queryList.setDirty()}}class fy{constructor(e=[]){this.queries=e}createEmbeddedView(e){const t=e.queries;if(null!==t){const i=null!==e.contentQueries?e.contentQueries[0]:t.length,r=[];for(let o=0;o<i;o++){const s=t.getByIndex(o),a=this.queries[s.indexInDeclarationView];r.push(a.clone())}return new fy(r)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let t=0;t<this.queries.length;t++)null!==f0(e,t).matches&&this.queries[t].setDirty()}}class c0{constructor(e,t,i=null){this.predicate=e,this.flags=t,this.read=i}}class py{constructor(e=[]){this.queries=e}elementStart(e,t){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(e,t)}elementEnd(e){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(e)}embeddedTView(e){let t=null;for(let i=0;i<this.length;i++){const r=null!==t?t.length:0,o=this.getByIndex(i).embeddedTView(e,r);o&&(o.indexInDeclarationView=i,null!==t?t.push(o):t=[o])}return null!==t?new py(t):null}template(e,t){for(let i=0;i<this.queries.length;i++)this.queries[i].template(e,t)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}}class my{constructor(e,t=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=t}elementStart(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,t){this.elementStart(e,t)}embeddedTView(e,t){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,t),new my(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const t=this._declarationNodeIndex;let i=e.parent;for(;null!==i&&8&i.type&&i.index!==t;)i=i.parent;return t===(null!==i?i.index:-1)}return this._appliesToNextNode}matchTNode(e,t){const i=this.metadata.predicate;if(Array.isArray(i))for(let r=0;r<i.length;r++){const o=i[r];this.matchTNodeWithReadOption(e,t,T2(t,o)),this.matchTNodeWithReadOption(e,t,Cf(t,e,o,!1,!1))}else i===ut?4&t.type&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,Cf(t,e,i,!1,!1))}matchTNodeWithReadOption(e,t,i){if(null!==i){const r=this.metadata.read;if(null!==r)if(r===j||r===rt||r===ut&&4&t.type)this.addMatch(t.index,-2);else{const o=Cf(t,e,r,!1,!1);null!==o&&this.addMatch(t.index,o)}else this.addMatch(t.index,i)}}addMatch(e,t){null===this.matches?this.matches=[e,t]:this.matches.push(e,t)}}function T2(n,e){const t=n.localNames;if(null!==t)for(let i=0;i<t.length;i+=2)if(t[i]===e)return t[i+1];return null}function O2(n,e,t,i){return-1===t?function A2(n,e){return 11&n.type?wa(n,e):4&n.type?rp(n,e):null}(e,n):-2===t?function k2(n,e,t){if(t===j)return wa(e,n);if(t===ut)return rp(e,n);if(t===rt)return l0(e,n)}(n,e,i):_o(n,n[P],t,e)}function d0(n,e,t,i){const r=e[ni].queries[i];if(null===r.matches){const o=n.data,s=t.matches,a=[];for(let l=0;l<s.length;l+=2){const c=s[l];if(c<0)a.push(null);else{const d=o[c];a.push(O2(e,d,s[l+1],t.metadata.read))}}r.matches=a}return r.matches}function gy(n,e,t,i){const r=n.queries.getByIndex(t),o=r.matches;if(null!==o){const s=d0(n,e,r,t);for(let a=0;a<o.length;a+=2){const l=o[a];if(l>0)i.push(s[a/2]);else{const c=o[a+1],d=e[-l];for(let u=Lt;u<d.length;u++){const h=d[u];h[jc]===h[Ke]&&gy(h[P],h,c,i)}if(null!==d[aa]){const u=d[aa];for(let h=0;h<u.length;h++){const p=u[h];gy(p[P],p,c,i)}}}}}return i}function ne(n){const e=T(),t=pe(),i=ow();Og(i+1);const r=f0(t,i);if(n.dirty&&function Yk(n){return 4==(4&n[se])}(e)===(2==(2&r.metadata.flags))){if(null===r.matches)n.reset([]);else{const o=r.crossesNgTemplate?gy(t,e,i,[]):d0(t,e,r,i);n.reset(o,yF),n.notifyOnChanges()}return!0}return!1}function Pe(n,e,t){const i=pe();i.firstCreatePass&&(h0(i,new c0(n,e,t),-1),2==(2&e)&&(i.staticViewQueries=!0)),u0(i,T(),e)}function Ct(n,e,t,i){const r=pe();if(r.firstCreatePass){const o=vt();h0(r,new c0(e,t,i),o.index),function F2(n,e){const t=n.contentQueries||(n.contentQueries=[]),i=t.length?t[t.length-1]:-1;e!==i&&t.push(n.queries.length-1,e)}(r,n),2==(2&t)&&(r.staticContentQueries=!0)}u0(r,T(),t)}function ie(){return function R2(n,e){return n[ni].queries[e].queryList}(T(),ow())}function u0(n,e,t){const i=new za(4==(4&t));iD(n,e,i,i.destroy),null===e[ni]&&(e[ni]=new fy),e[ni].queries.push(new hy(i))}function h0(n,e,t){null===n.queries&&(n.queries=new py),n.queries.track(new my(e,t))}function f0(n,e){return n.queries.getByIndex(e)}function op(n,e){return rp(n,e)}const Ht={\u0275\u0275attribute:ge,\u0275\u0275attributeInterpolate1:vD,\u0275\u0275attributeInterpolate2:CD,\u0275\u0275attributeInterpolate3:wD,\u0275\u0275attributeInterpolate4:xD,\u0275\u0275attributeInterpolate5:DD,\u0275\u0275attributeInterpolate6:MD,\u0275\u0275attributeInterpolate7:ED,\u0275\u0275attributeInterpolate8:ID,\u0275\u0275attributeInterpolateV:SD,\u0275\u0275defineComponent:xe,\u0275\u0275defineDirective:E,\u0275\u0275defineInjectable:I,\u0275\u0275defineInjector:X,\u0275\u0275defineNgModule:te,\u0275\u0275definePipe:$t,\u0275\u0275directiveInject:f,\u0275\u0275getInheritedFactory:Oe,\u0275\u0275inject:b,\u0275\u0275injectAttribute:yo,\u0275\u0275invalidFactory:Bf,\u0275\u0275invalidFactoryDep:NC,\u0275\u0275templateRefExtractor:op,\u0275\u0275resetView:it,\u0275\u0275HostDirectivesFeature:eN,\u0275\u0275NgOnChangesFeature:Ve,\u0275\u0275ProvidersFeature:ee,\u0275\u0275CopyDefinitionFeature:JP,\u0275\u0275InheritDefinitionFeature:L,\u0275\u0275StandaloneFeature:ly,\u0275\u0275nextContext:F,\u0275\u0275namespaceHTML:uw,\u0275\u0275namespaceMathML:l1,\u0275\u0275namespaceSVG:Fg,\u0275\u0275enableBindings:Jk,\u0275\u0275disableBindings:e1,\u0275\u0275elementStart:_,\u0275\u0275elementEnd:y,\u0275\u0275element:oe,\u0275\u0275elementContainerStart:Yf,\u0275\u0275elementContainerEnd:Zf,\u0275\u0275elementContainer:dd,\u0275\u0275pureFunction0:a2,\u0275\u0275pureFunction1:JM,\u0275\u0275pureFunction2:e0,\u0275\u0275pureFunction3:l2,\u0275\u0275pureFunction4:c2,\u0275\u0275pureFunction5:d2,\u0275\u0275pureFunction6:u2,\u0275\u0275pureFunction7:h2,\u0275\u0275pureFunction8:f2,\u0275\u0275pureFunctionV:p2,\u0275\u0275getCurrentView:gt,\u0275\u0275restoreView:nt,\u0275\u0275listener:q,\u0275\u0275projection:Ge,\u0275\u0275syntheticHostProperty:gM,\u0275\u0275syntheticHostListener:AD,\u0275\u0275pipeBind1:_2,\u0275\u0275pipeBind2:y2,\u0275\u0275pipeBind3:b2,\u0275\u0275pipeBind4:v2,\u0275\u0275pipeBindV:C2,\u0275\u0275projectionDef:Wt,\u0275\u0275hostProperty:xr,\u0275\u0275property:M,\u0275\u0275propertyInterpolate:vr,\u0275\u0275propertyInterpolate1:hd,\u0275\u0275propertyInterpolate2:Z_,\u0275\u0275propertyInterpolate3:FD,\u0275\u0275propertyInterpolate4:PD,\u0275\u0275propertyInterpolate5:ND,\u0275\u0275propertyInterpolate6:LD,\u0275\u0275propertyInterpolate7:VD,\u0275\u0275propertyInterpolate8:BD,\u0275\u0275propertyInterpolateV:zD,\u0275\u0275pipe:m2,\u0275\u0275queryRefresh:ne,\u0275\u0275viewQuery:Pe,\u0275\u0275loadQuery:ie,\u0275\u0275contentQuery:Ct,\u0275\u0275reference:Vn,\u0275\u0275classMap:MN,\u0275\u0275classMapInterpolate1:RN,\u0275\u0275classMapInterpolate2:FN,\u0275\u0275classMapInterpolate3:PN,\u0275\u0275classMapInterpolate4:NN,\u0275\u0275classMapInterpolate5:LN,\u0275\u0275classMapInterpolate6:VN,\u0275\u0275classMapInterpolate7:BN,\u0275\u0275classMapInterpolate8:zN,\u0275\u0275classMapInterpolateV:jN,\u0275\u0275styleMap:ci,\u0275\u0275styleMapInterpolate1:HN,\u0275\u0275styleMapInterpolate2:UN,\u0275\u0275styleMapInterpolate3:$N,\u0275\u0275styleMapInterpolate4:GN,\u0275\u0275styleMapInterpolate5:WN,\u0275\u0275styleMapInterpolate6:qN,\u0275\u0275styleMapInterpolate7:YN,\u0275\u0275styleMapInterpolate8:ZN,\u0275\u0275styleMapInterpolateV:KN,\u0275\u0275styleProp:wr,\u0275\u0275stylePropInterpolate1:aM,\u0275\u0275stylePropInterpolate2:lM,\u0275\u0275stylePropInterpolate3:cM,\u0275\u0275stylePropInterpolate4:dM,\u0275\u0275stylePropInterpolate5:uM,\u0275\u0275stylePropInterpolate6:hM,\u0275\u0275stylePropInterpolate7:fM,\u0275\u0275stylePropInterpolate8:pM,\u0275\u0275stylePropInterpolateV:mM,\u0275\u0275classProp:ue,\u0275\u0275advance:C,\u0275\u0275template:k,\u0275\u0275text:S,\u0275\u0275textInterpolate:Ue,\u0275\u0275textInterpolate1:jn,\u0275\u0275textInterpolate2:ey,\u0275\u0275textInterpolate3:eM,\u0275\u0275textInterpolate4:tM,\u0275\u0275textInterpolate5:nM,\u0275\u0275textInterpolate6:iM,\u0275\u0275textInterpolate7:rM,\u0275\u0275textInterpolate8:oM,\u0275\u0275textInterpolateV:sM,\u0275\u0275i18n:UL,\u0275\u0275i18nAttributes:$L,\u0275\u0275i18nExp:UM,\u0275\u0275i18nStart:jM,\u0275\u0275i18nEnd:HM,\u0275\u0275i18nApply:GL,\u0275\u0275i18nPostprocess:WL,\u0275\u0275resolveWindow:EF,\u0275\u0275resolveDocument:IF,\u0275\u0275resolveBody:SF,\u0275\u0275setComponentScope:Nk,\u0275\u0275setNgModuleScope:Lk,\u0275\u0275registerNgModuleType:Nw,\u0275\u0275sanitizeHtml:QR,\u0275\u0275sanitizeStyle:JR,\u0275\u0275sanitizeResourceUrl:xx,\u0275\u0275sanitizeScript:eF,\u0275\u0275sanitizeUrl:si,\u0275\u0275sanitizeUrlOrResourceUrl:Dx,\u0275\u0275trustConstantHtml:tF,\u0275\u0275trustConstantResourceUrl:nF,\u0275\u0275validateIframeAttribute:MR,forwardRef:Ae,resolveForwardRef:Y};let ja=null;function p0(n){return void 0!==n.ngModule}function _y(n){return!!Jt(n)}const Cd=[];let yy=!1;function m0(n){return Array.isArray(n)?n.every(m0):!!Y(n)}function B2(n,e={}){(function z2(n,e,t=!1){const i=gn(e.declarations||we);let r=null;Object.defineProperty(n,LC,{configurable:!0,get:()=>(null===r&&(r=ct().compileNgModule(Ht,`ng:///${n.name}/\u0275mod.js`,{type:n,bootstrap:gn(e.bootstrap||we).map(Y),declarations:i.map(Y),imports:gn(e.imports||we).map(Y).map(v0),exports:gn(e.exports||we).map(Y).map(v0),schemas:e.schemas?gn(e.schemas):null,id:e.id||null}),r.schemas||(r.schemas=[])),r)});let o=null;Object.defineProperty(n,Oi,{get:()=>{if(null===o){const a=ct();o=a.compileFactory(Ht,`ng:///${n.name}/\u0275fac.js`,{name:n.name,type:n,deps:Ef(n),target:a.FactoryTarget.NgModule,typeArgumentCount:0})}return o},configurable:!1});let s=null;Object.defineProperty(n,gg,{get:()=>{if(null===s){const a={name:n.name,type:n,providers:e.providers||we,imports:[(e.imports||we).map(Y),(e.exports||we).map(Y)]};s=ct().compileInjector(Ht,`ng:///${n.name}/\u0275inj.js`,a)}return s},configurable:!1})})(n,e),void 0!==e.id&&Nw(n,e.id),function L2(n,e){Cd.push({moduleType:n,ngModule:e})}(n,e)}function H2(n,e){const t=gn(e.declarations||we),i=Ha(n);t.forEach(r=>{if((r=Y(r)).hasOwnProperty(sf)){b0(Ie(r),i)}else!r.hasOwnProperty(vg)&&!r.hasOwnProperty(Cg)&&(r.ngSelectorScope=n)})}function b0(n,e){n.directiveDefs=()=>Array.from(e.compilation.directives).map(t=>t.hasOwnProperty(sf)?Ie(t):Et(t)).filter(t=>!!t),n.pipeDefs=()=>Array.from(e.compilation.pipes).map(t=>Nt(t)),n.schemas=e.schemas,n.tView=null}function Ha(n){if(_y(n))return function U2(n){const e=Jt(n,!0);if(null!==e.transitiveCompileScopes)return e.transitiveCompileScopes;const t={schemas:e.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return Vi(e.imports).forEach(i=>{const r=Ha(i);r.exported.directives.forEach(o=>t.compilation.directives.add(o)),r.exported.pipes.forEach(o=>t.compilation.pipes.add(o))}),Vi(e.declarations).forEach(i=>{Nt(i)?t.compilation.pipes.add(i):t.compilation.directives.add(i)}),Vi(e.exports).forEach(i=>{const r=i;if(_y(r)){const o=Ha(r);o.exported.directives.forEach(s=>{t.compilation.directives.add(s),t.exported.directives.add(s)}),o.exported.pipes.forEach(s=>{t.compilation.pipes.add(s),t.exported.pipes.add(s)})}else Nt(r)?t.exported.pipes.add(r):t.exported.directives.add(r)}),e.transitiveCompileScopes=t,t}(n);if(ia(n)){if(null!==(Ie(n)||Et(n)))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set([n]),pipes:new Set}};if(null!==Nt(n))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set([n])}}}throw new Error(`${n.name} does not have a module def (\u0275mod property)`)}function v0(n){return p0(n)?n.ngModule:n}let Cy=0;function $2(n,e){let t=null;(function L1(n,e){Fw(e)&&(ya.set(n,e),Xc.add(n))})(n,e),x0(n,e),Object.defineProperty(n,sf,{get:()=>{if(null===t){const i=ct();if(Fw(e)){const c=[`Component '${n.name}' is not resolved:`];throw e.templateUrl&&c.push(` - templateUrl: ${e.templateUrl}`),e.styleUrls&&e.styleUrls.length&&c.push(` - styleUrls: ${JSON.stringify(e.styleUrls)}`),c.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(c.join("\n"))}const r=function N2(){return ja}();let o=e.preserveWhitespaces;void 0===o&&(o=null!==r&&void 0!==r.preserveWhitespaces&&r.preserveWhitespaces);let s=e.encapsulation;void 0===s&&(s=null!==r&&void 0!==r.defaultEncapsulation?r.defaultEncapsulation:ti.Emulated);const a=e.templateUrl||`ng:///${n.name}/template.html`,l={...D0(n,e),typeSourceSpan:i.createParseSourceSpan("Component",n.name,a),template:e.template||"",preserveWhitespaces:o,styles:e.styles||we,animations:e.animations,declarations:[],changeDetection:e.changeDetection,encapsulation:s,interpolation:e.interpolation,viewProviders:e.viewProviders||null};Cy++;try{if(l.usesInheritance&&M0(n),t=i.compileComponent(Ht,a,l),e.standalone){const c=gn(e.imports||we),{directiveDefs:d,pipeDefs:u}=function W2(n,e){let t=null,i=null;return{directiveDefs:()=>{if(null===t){t=[Ie(n)];const s=new Set;for(const a of e){const l=Y(a);if(!s.has(l))if(s.add(l),Jt(l)){const c=Ha(l);for(const d of c.exported.directives){const u=Ie(d)||Et(d);u&&!s.has(d)&&(s.add(d),t.push(u))}}else{const c=Ie(l)||Et(l);c&&t.push(c)}}}return t},pipeDefs:()=>{if(null===i){i=[];const s=new Set;for(const a of e){const l=Y(a);if(!s.has(l))if(s.add(l),Jt(l)){const c=Ha(l);for(const d of c.exported.pipes){const u=Nt(d);u&&!s.has(d)&&(s.add(d),i.push(u))}}else{const c=Nt(l);c&&i.push(c)}}}return i}}}(n,c);t.directiveDefs=d,t.pipeDefs=u,t.dependencies=()=>c.map(Y)}}finally{Cy--}if(0===Cy&&function V2(){if(!yy){yy=!0;try{for(let n=Cd.length-1;n>=0;n--){const{moduleType:e,ngModule:t}=Cd[n];t.declarations&&t.declarations.every(m0)&&(Cd.splice(n,1),H2(e,t))}}finally{yy=!1}}}(),function q2(n){return void 0!==n.ngSelectorScope}(n)){const c=Ha(n.ngSelectorScope);b0(t,c)}if(e.schemas){if(!e.standalone)throw new Error(`The 'schemas' was specified for the ${Me(n)} but is only valid on a component that is standalone.`);t.schemas=e.schemas}else e.standalone&&(t.schemas=[])}return t},configurable:!1})}function C0(n,e){let t=null;x0(n,e||{}),Object.defineProperty(n,vg,{get:()=>{if(null===t){const i=w0(n,e||{});t=ct().compileDirective(Ht,i.sourceMapUrl,i.metadata)}return t},configurable:!1})}function w0(n,e){const t=n&&n.name,i=`ng:///${t}/\u0275dir.js`,r=ct(),o=D0(n,e);return o.typeSourceSpan=r.createParseSourceSpan("Directive",t,i),o.usesInheritance&&M0(n),{metadata:o,sourceMapUrl:i}}function x0(n,e){let t=null;Object.defineProperty(n,Oi,{get:()=>{if(null===t){const i=w0(n,e),r=ct();t=r.compileFactory(Ht,`ng:///${n.name}/\u0275fac.js`,{name:i.metadata.name,type:i.metadata.type,typeArgumentCount:0,deps:Ef(n),target:r.FactoryTarget.Directive})}return t},configurable:!1})}function Y2(n){return Object.getPrototypeOf(n.prototype)===Object.prototype}function D0(n,e){const t=Kc(),i=t.ownPropMetadata(n);return{name:n.name,type:n,selector:void 0!==e.selector?e.selector:null,host:e.host||Ai,propMetadata:i,inputs:e.inputs||we,outputs:e.outputs||we,queries:E0(n,i,I0),lifecycle:{usesOnChanges:t.hasLifecycleHook(n,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!Y2(n),exportAs:X2(e.exportAs),providers:e.providers||null,viewQueries:E0(n,i,S0),isStandalone:!!e.standalone,hostDirectives:e.hostDirectives?.map(r=>"function"==typeof r?{directive:r}:r)||null}}function M0(n){const e=Object.prototype;let t=Object.getPrototypeOf(n.prototype).constructor;for(;t&&t!==e;)!Et(t)&&!Ie(t)&&J2(t)&&C0(t,null),t=Object.getPrototypeOf(t)}function Z2(n){return"string"==typeof n?A0(n):Y(n)}function K2(n,e){return{propertyName:n,predicate:Z2(e.selector),descendants:e.descendants,first:e.first,read:e.read?e.read:null,static:!!e.static,emitDistinctChangesOnly:!!e.emitDistinctChangesOnly}}function E0(n,e,t){const i=[];for(const r in e)if(e.hasOwnProperty(r)){const o=e[r];o.forEach(s=>{if(t(s)){if(!s.selector)throw new Error(`Can't construct a query for the property "${r}" of "${Me(n)}" since the query selector wasn't defined.`);if(o.some(T0))throw new Error("Cannot combine @Input decorators with query decorators");i.push(K2(r,s))}})}return i}function X2(n){return void 0===n?null:A0(n)}function I0(n){const e=n.ngMetadataName;return"ContentChild"===e||"ContentChildren"===e}function S0(n){const e=n.ngMetadataName;return"ViewChild"===e||"ViewChildren"===e}function T0(n){return"Input"===n.ngMetadataName}function A0(n){return n.split(",").map(e=>e.trim())}const Q2=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function J2(n){const e=Kc();if(Q2.some(i=>e.hasLifecycleHook(n,i)))return!0;const t=e.propMetadata(n);for(const i in t){const r=t[i];for(let o=0;o<r.length;o++){const s=r[o],a=s.ngMetadataName;if(T0(s)||I0(s)||S0(s)||"Output"===a||"HostBinding"===a||"HostListener"===a)return!0}}return!1}function O0(n,e){return{type:n,name:n.name,pipeName:e.name,pure:void 0===e.pure||e.pure,isStandalone:!!e.standalone}}const tV=qc("Directive",(n={})=>n,void 0,void 0,(n,e)=>C0(n,e));qc("Component",(n={})=>({changeDetection:na.Default,...n}),tV,void 0,(n,e)=>$2(n,e)),qc("Pipe",n=>({pure:!0,...n}),void 0,void 0,(n,e)=>function eV(n,e){let t=null,i=null;Object.defineProperty(n,Oi,{get:()=>{if(null===i){const r=O0(n,e),o=ct(r.type);i=o.compileFactory(Ht,`ng:///${r.name}/\u0275fac.js`,{name:r.name,type:r.type,typeArgumentCount:0,deps:Ef(n),target:o.FactoryTarget.Pipe})}return i},configurable:!1}),Object.defineProperty(n,Cg,{get:()=>{if(null===t){const r=O0(n,e);t=ct(r.type).compilePipe(Ht,`ng:///${r.name}/\u0275pipe.js`,r)}return t},configurable:!1})}(n,e)),yr("Input",n=>({bindingPropertyName:n})),yr("Output",n=>({bindingPropertyName:n})),yr("HostBinding",n=>({hostPropertyName:n})),yr("HostListener",(n,e)=>({eventName:n,args:e})),qc("NgModule",n=>n,void 0,void 0,(n,e)=>B2(n,e));function ap(...n){}const lp=new A("Application Initializer");class zi{constructor(e){this.appInits=e,this.resolve=ap,this.reject=ap,this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,i)=>{this.resolve=t,this.reject=i})}runInitializers(){if(this.initialized)return;const e=[],t=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i<this.appInits.length;i++){const r=this.appInits[i]();if(ud(r))e.push(r);else if(Y_(r)){const o=new Promise((s,a)=>{r.subscribe({complete:s,error:a})});e.push(o)}}Promise.all(e).then(()=>{t()}).catch(i=>{this.reject(i)}),0===e.length&&t(),this.initialized=!0}}zi.\u0275fac=function(e){return new(e||zi)(b(lp,8))},zi.\u0275prov=I({token:zi,factory:zi.\u0275fac,providedIn:"root"});const To=new A("AppId",{providedIn:"root",factory:k0});function k0(){return`${wy()}${wy()}${wy()}`}function wy(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const R0=new A("Platform Initializer"),Ua=new A("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),_t=(new A("Application Packages Root URL"),new A("AnimationModuleType"));class Dr{log(e){console.log(e)}warn(e){console.warn(e)}}Dr.\u0275fac=function(e){return new(e||Dr)},Dr.\u0275prov=I({token:Dr,factory:Dr.\u0275fac,providedIn:"platform"});const ui=new A("LocaleId",{providedIn:"root",factory:()=>H(ui,ce.Optional|ce.SkipSelf)||function nV(){return typeof $localize<"u"&&$localize.locale||Va}()}),iV=new A("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});new A("Translations"),new A("TranslationsFormat");var F0;!function(n){n[n.Error=0]="Error",n[n.Warning=1]="Warning",n[n.Ignore=2]="Ignore"}(F0||(F0={}));class rV{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}class Ao{compileModuleSync(e){return new ay(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const t=this.compileModuleSync(e),r=Vi(Jt(e).declarations).reduce((o,s)=>{const a=Ie(s);return a&&o.push(new ld(a)),o},[]);return new rV(t,r)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}}Ao.\u0275fac=function(e){return new(e||Ao)},Ao.\u0275prov=I({token:Ao,factory:Ao.\u0275fac,providedIn:"root"});new A("compilerOptions");const aV=Promise.resolve(0);function xy(n){typeof Zone>"u"?aV.then(()=>{n&&n.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",n)}class R{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new U(!1),this.onMicrotaskEmpty=new U(!1),this.onStable=new U(!1),this.onError=new U(!1),typeof Zone>"u")throw new w(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&t,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function lV(){let n=ze.requestAnimationFrame,e=ze.cancelAnimationFrame;if(typeof Zone<"u"&&n&&e){const t=n[Zone.__symbol__("OriginalDelegate")];t&&(n=t);const i=e[Zone.__symbol__("OriginalDelegate")];i&&(e=i)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function uV(n){const e=()=>{!function dV(n){n.isCheckStableRunning||-1!==n.lastRequestAnimationFrameId||(n.lastRequestAnimationFrameId=n.nativeRequestAnimationFrame.call(ze,()=>{n.fakeTopEventTask||(n.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{n.lastRequestAnimationFrameId=-1,My(n),n.isCheckStableRunning=!0,Dy(n),n.isCheckStableRunning=!1},void 0,()=>{},()=>{})),n.fakeTopEventTask.invoke()}),My(n))}(n)};n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,i,r,o,s,a)=>{try{return L0(n),t.invokeTask(r,o,s,a)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||n.shouldCoalesceRunChangeDetection)&&e(),V0(n)}},onInvoke:(t,i,r,o,s,a,l)=>{try{return L0(n),t.invoke(r,o,s,a,l)}finally{n.shouldCoalesceRunChangeDetection&&e(),V0(n)}},onHasTask:(t,i,r,o)=>{t.hasTask(r,o),i===r&&("microTask"==o.change?(n._hasPendingMicrotasks=o.microTask,My(n),Dy(n)):"macroTask"==o.change&&(n.hasPendingMacrotasks=o.macroTask))},onHandleError:(t,i,r,o)=>(t.handleError(r,o),n.runOutsideAngular(()=>n.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!R.isInAngularZone())throw new w(909,!1)}static assertNotInAngularZone(){if(R.isInAngularZone())throw new w(909,!1)}run(e,t,i){return this._inner.run(e,t,i)}runTask(e,t,i,r){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,e,cV,ap,ap);try{return o.runTask(s,t,i)}finally{o.cancelTask(s)}}runGuarded(e,t,i){return this._inner.runGuarded(e,t,i)}runOutsideAngular(e){return this._outer.run(e)}}const cV={};function Dy(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 My(n){n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&-1!==n.lastRequestAnimationFrameId?n.hasPendingMicrotasks=!0:n.hasPendingMicrotasks=!1}function L0(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function V0(n){n._nesting--,Dy(n)}class hV{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new U,this.onMicrotaskEmpty=new U,this.onStable=new U,this.onError=new U}run(e,t,i){return e.apply(t,i)}runGuarded(e,t,i){return e.apply(t,i)}runOutsideAngular(e){return e()}runTask(e,t,i,r){return e.apply(t,i)}}const B0=new A(""),cp=new A("");class Mr{constructor(e,t,i){this._ngZone=e,this.registry=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Ey||(function fV(n){Ey=n}(i),i.addToWindow(t)),this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{R.assertNotInAngularZone(),xy(()=>{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())xy(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(t=>!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,t,i){let r=-1;t&&t>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(o=>o.timeoutId!==r),e(this._didWork,this.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:i})}whenStable(e,t,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(e,t,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,t,i){return[]}}Mr.\u0275fac=function(e){return new(e||Mr)(b(R),b(Er),b(cp))},Mr.\u0275prov=I({token:Mr,factory:Mr.\u0275fac});class Er{constructor(){this._applications=new Map}registerApplication(e,t){this._applications.set(e,t)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,t=!0){return Ey?.findTestabilityInTree(this,e,t)??null}}let Ey;Er.\u0275fac=function(e){return new(e||Er)},Er.\u0275prov=I({token:Er,factory:Er.\u0275fac,providedIn:"platform"});const ji=!1;let Ir=null;const z0=new A("AllowMultipleToken"),Iy=new A("PlatformDestroyListeners"),j0=new A("appBootstrapListener");class H0{constructor(e,t){this.name=e,this.token=t}}function U0(n){const e=n.get(R0,null);e&&e.forEach(t=>t())}function $0(n,e,t=[]){const i=`Platform: ${e}`,r=new A(i);return(o=[])=>{let s=Sy();if(!s||s.injector.get(z0,!1)){const a=[...t,...o,{provide:r,useValue:!0}];n?n(a):function gV(n){if(Ir&&!Ir.get(z0,!1))throw new w(400,!1);Ir=n;const e=n.get(Oo);return U0(n),e}(G0(a,i))}return function yV(n){const e=Sy();if(!e)throw new w(401,!1);return e}()}}function G0(n=[],e){return He.create({name:e,providers:[{provide:C_,useValue:"platform"},{provide:Iy,useValue:new Set([()=>Ir=null])},...n]})}function Sy(){return Ir?.get(Oo)??null}class Oo{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,t){const i=q0(t?.ngZone,W0(t)),r=[{provide:R,useValue:i}];return i.run(()=>{const o=He.create({providers:r,parent:this.injector,name:e.moduleType.name}),s=e.create(o),a=s.injector.get(xa,null);if(!a)throw new w(402,!1);return i.runOutsideAngular(()=>{const l=i.onError.subscribe({next:c=>{a.handleError(c)}});s.onDestroy(()=>{dp(this._modules,s),l.unsubscribe()})}),Y0(a,i,()=>{const l=s.injector.get(zi);return l.runInitializers(),l.donePromise.then(()=>(vM(s.injector.get(ui,Va)||Va),this._moduleDoBootstrap(s),s))})})}bootstrapModule(e,t=[]){const i=Z0({},t);return function pV(n,e,t){const i=new ay(t);return Promise.resolve(i)}(this.injector,0,e).then(r=>this.bootstrapModuleFactory(r,i))}_moduleDoBootstrap(e){const t=e.injector.get(Un);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(i=>t.bootstrap(i));else{if(!e.instance.ngDoBootstrap)throw new w(-403,!1);e.instance.ngDoBootstrap(t)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new w(404,!1);this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t());const e=this._injector.get(Iy,null);e&&(e.forEach(t=>t()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}function W0(n){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!n||!n.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!n||!n.ngZoneRunCoalescing)||!1}}function q0(n,e){let t;return t="noop"===n?new hV:("zone.js"===n?void 0:n)||new R(e),t}function Y0(n,e,t){try{const i=t();return ud(i)?i.catch(r=>{throw e.runOutsideAngular(()=>n.handleError(r)),r}):i}catch(i){throw e.runOutsideAngular(()=>n.handleError(i)),i}}function Z0(n,e){return n=Array.isArray(e)?e.reduce(Z0,n):{...n,...e}}Oo.\u0275fac=function(e){return new(e||Oo)(b(He))},Oo.\u0275prov=I({token:Oo,factory:Oo.\u0275fac,providedIn:"platform"});class Un{get destroyed(){return this._destroyed}get injector(){return this._injector}constructor(e,t,i){this._zone=e,this._injector=t,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 r=new le(s=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{s.next(this._stable),s.complete()})}),o=new le(s=>{let a;this._zone.runOutsideAngular(()=>{a=this._zone.onStable.subscribe(()=>{R.assertNotInAngularZone(),xy(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,s.next(!0))})})});const l=this._zone.onUnstable.subscribe(()=>{R.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{s.next(!1)}))});return()=>{a.unsubscribe(),l.unsubscribe()}});this.isStable=kn(r,o.pipe(AC()))}bootstrap(e,t){ji&&this.warnIfDestroyed();const i=e instanceof Fx;if(!this._injector.get(zi).done){const h="Cannot bootstrap as there are still asynchronous initializers running."+(!i&&ia(e)?"":" Bootstrap components in the `ngDoBootstrap` method of the root module.");throw new w(405,ji&&h)}let o;o=i?e:this._injector.get(Li).resolveComponentFactory(e),this.componentTypes.push(o.componentType);const s=function mV(n){return n.isBoundToModule}(o)?void 0:this._injector.get(Ba),a=t||o.selector,l=o.create(He.NULL,[],a,s),c=l.location.nativeElement,d=l.injector.get(B0,null);return d?.registerApplication(c),l.onDestroy(()=>{this.detachView(l.hostView),dp(this.components,l),d?.unregisterApplication(c)}),this._loadComponent(l),l}tick(){if(ji&&this.warnIfDestroyed(),this._runningTick)throw new w(101,!1);try{this._runningTick=!0;for(let e of this._views)e.detectChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){ji&&this.warnIfDestroyed();const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){ji&&this.warnIfDestroyed();const t=e;dp(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);const t=this._injector.get(j0,[]);t.push(...this._bootstrapListeners),t.forEach(i=>i(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return ji&&this.warnIfDestroyed(),this._destroyListeners.push(e),()=>dp(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new w(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){ji&&this._destroyed&&console.warn(Xt(406,"This instance of the `ApplicationRef` has already been destroyed."))}}function dp(n,e){const t=n.indexOf(e);t>-1&&n.splice(t,1)}Un.\u0275fac=function(e){return new(e||Un)(b(R),b(_n),b(xa))},Un.\u0275prov=I({token:Un,factory:Un.\u0275fac,providedIn:"root"});class ht{}ht.__NG_ELEMENT_ID__=function vV(n){return function CV(n,e,t){if(Uc(n)&&!t){const i=nn(n.index,e);return new ad(i,i)}if(47&n.type){const i=e[St];return new ad(i,e)}return null}(vt(),T(),16==(16&n))};class eE{constructor(){}supports(e){return Wf(e)}create(e){return new IV(e)}}const EV=(n,e)=>e;class IV{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||EV}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,i=this._removalsHead,r=0,o=null;for(;t||i;){const s=!i||t&&t.currentIndex<nE(i,r,o)?t:i,a=nE(s,r,o),l=s.currentIndex;if(s===i)r--,i=i._nextRemoved;else if(t=t._next,null==s.previousIndex)r++;else{o||(o=[]);const c=a-r,d=l-r;if(c!=d){for(let h=0;h<c;h++){const p=h<o.length?o[h]:o[h]=0,m=p+h;d<=m&&m<c&&(o[h]=p+1)}o[s.previousIndex]=d-c}}a!==l&&e(s,a,l)}}forEachPreviousItem(e){let t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachMovedItem(e){let t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}forEachIdentityChange(e){let t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)}diff(e){if(null==e&&(e=[]),!Wf(e))throw new w(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let r,o,s,t=this._itHead,i=!1;if(Array.isArray(e)){this.length=e.length;for(let a=0;a<this.length;a++)o=e[a],s=this._trackByFn(a,o),null!==t&&Object.is(t.trackById,s)?(i&&(t=this._verifyReinsertion(t,o,s,a)),Object.is(t.item,o)||this._addIdentityChange(t,o)):(t=this._mismatch(t,o,s,a),i=!0),t=t._next}else r=0,function iN(n,e){if(Array.isArray(n))for(let t=0;t<n.length;t++)e(n[t]);else{const t=n[Symbol.iterator]();let i;for(;!(i=t.next()).done;)e(i.value)}}(e,a=>{s=this._trackByFn(r,a),null!==t&&Object.is(t.trackById,s)?(i&&(t=this._verifyReinsertion(t,a,s,r)),Object.is(t.item,a)||this._addIdentityChange(t,a)):(t=this._mismatch(t,a,s,r),i=!0),t=t._next,r++}),this.length=r;return this._truncate(t),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,i,r){let o;return null===e?o=this._itTail:(o=e._prev,this._remove(e)),null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,o,r)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,o,r)):e=this._addAfter(new SV(t,i),o,r),e}_verifyReinsertion(e,t,i,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==o?e=this._reinsertAfter(o,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const r=e._prevRemoved,o=e._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(e,t,i),this._addToMoves(e,i),e}_moveAfter(e,t,i){return this._unlink(e),this._insertAfter(e,t,i),this._addToMoves(e,i),e}_addAfter(e,t,i){return this._insertAfter(e,t,i),null===this._additionsTail?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,t,i){const r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new tE),this._linkedRecords.put(e),e.currentIndex=i,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,i=e._next;return null===t?this._itHead=i:t._next=i,null===i?this._itTail=t:i._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(null===this._movesTail?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new tE),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,null===this._identityChangesTail?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}}class SV{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 TV{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===t||t<=i.currentIndex)&&Object.is(i.trackById,e))return i;return null}remove(e){const t=e._prevDup,i=e._nextDup;return null===t?this._head=i:t._nextDup=i,null===i?this._tail=t:i._prevDup=t,null===this._head}}class tE{constructor(){this.map=new Map}put(e){const t=e.trackById;let i=this.map.get(t);i||(i=new TV,this.map.set(t,i)),i.add(e)}get(e,t){const i=e,r=this.map.get(i);return r?r.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function nE(n,e,t){const i=n.previousIndex;if(null===i)return i;let r=0;return t&&i<t.length&&(r=t[i]),i+e+r}class iE{constructor(){}supports(e){return e instanceof Map||W_(e)}create(){return new AV}}class AV{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(e){let t;for(t=this._mapHead;null!==t;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}diff(e){if(e){if(!(e instanceof Map||W_(e)))throw new w(900,!1)}else e=new Map;return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(i,r)=>{if(t&&t.key===r)this._maybeAddToChanges(t,i),this._appendAfter=t,t=t._next;else{const o=this._getOrCreateRecordForKey(r,i);t=this._insertBeforeOrAppend(t,o)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let i=t;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const i=e._prev;return t._next=e,t._prev=i,e._prev=t,i&&(i._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){const r=this._records.get(e);this._maybeAddToChanges(r,t);const o=r._prev,s=r._next;return o&&(o._next=s),s&&(s._prev=o),r._next=null,r._prev=null,r}const i=new OV(e);return this._records.set(e,i),i.currentValue=t,this._addToAdditions(i),i}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(i=>t(e[i],i))}}class OV{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function rE(){return new bn([new eE])}class bn{constructor(e){this.factories=e}static create(e,t){if(null!=t){const i=t.factories.slice();e=e.concat(i)}return new bn(e)}static extend(e){return{provide:bn,useFactory:t=>bn.create(e,t||rE()),deps:[[bn,new _a,new Co]]}}find(e){const t=this.factories.find(i=>i.supports(e));if(null!=t)return t;throw new w(901,!1)}}function oE(){return new vn([new iE])}bn.\u0275prov=I({token:bn,providedIn:"root",factory:rE});class vn{constructor(e){this.factories=e}static create(e,t){if(t){const i=t.factories.slice();e=e.concat(i)}return new vn(e)}static extend(e){return{provide:vn,useFactory:t=>vn.create(e,t||oE()),deps:[[vn,new _a,new Co]]}}find(e){const t=this.factories.find(i=>i.supports(e));if(t)return t;throw new w(901,!1)}}vn.\u0275prov=I({token:vn,providedIn:"root",factory:oE});const kV=[new iE],RV=[new eE],FV=(new bn(RV),new vn(kV),$0(null,"core",[]));class $a{constructor(e){}}function Ga(n){return"boolean"==typeof n?n:null!=n&&"false"!==n}$a.\u0275fac=function(e){return new(e||$a)(b(Un))},$a.\u0275mod=te({type:$a}),$a.\u0275inj=X({});let Ry=null;function hi(){return Ry}class LV{}const $=new A("DocumentToken");class Ro{historyGo(e){throw new Error("Not implemented")}}Ro.\u0275fac=function(e){return new(e||Ro)},Ro.\u0275prov=I({token:Ro,factory:function(){return function VV(){return b(Wa)}()},providedIn:"platform"});const BV=new A("Location Initialized");class Wa extends Ro{constructor(e){super(),this._doc=e,this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return hi().getBaseHref(this._doc)}onPopState(e){const t=hi().getGlobalEventTarget(this._doc,"window");return t.addEventListener("popstate",e,!1),()=>t.removeEventListener("popstate",e)}onHashChange(e){const t=hi().getGlobalEventTarget(this._doc,"window");return t.addEventListener("hashchange",e,!1),()=>t.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,t,i){sE()?this._history.pushState(e,t,i):this._location.hash=i}replaceState(e,t,i){sE()?this._history.replaceState(e,t,i):this._location.hash=i}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}}function sE(){return!!window.history.pushState}function Fy(n,e){if(0==n.length)return e;if(0==e.length)return n;let t=0;return n.endsWith("/")&&t++,e.startsWith("/")&&t++,2==t?n+e.substring(1):1==t?n+e:n+"/"+e}function aE(n){const e=n.match(/#|\?|$/),t=e&&e.index||n.length,i=t-("/"===n[t-1]?1:0);return n.slice(0,i)+n.slice(t)}function Hi(n){return n&&"?"!==n[0]?"?"+n:n}Wa.\u0275fac=function(e){return new(e||Wa)(b($))},Wa.\u0275prov=I({token:Wa,factory:function(){return function zV(){return new Wa(b($))}()},providedIn:"platform"});class $n{historyGo(e){throw new Error("Not implemented")}}$n.\u0275fac=function(e){return new(e||$n)},$n.\u0275prov=I({token:$n,factory:function(){return H(Fo)},providedIn:"root"});const lE=new A("appBaseHref");class Fo extends $n{constructor(e,t){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=t??this._platformLocation.getBaseHrefFromDOM()??H($).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return Fy(this._baseHref,e)}path(e=!1){const t=this._platformLocation.pathname+Hi(this._platformLocation.search),i=this._platformLocation.hash;return i&&e?`${t}${i}`:t}pushState(e,t,i,r){const o=this.prepareExternalUrl(i+Hi(r));this._platformLocation.pushState(e,t,o)}replaceState(e,t,i,r){const o=this.prepareExternalUrl(i+Hi(r));this._platformLocation.replaceState(e,t,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}}Fo.\u0275fac=function(e){return new(e||Fo)(b(Ro),b(lE,8))},Fo.\u0275prov=I({token:Fo,factory:Fo.\u0275fac,providedIn:"root"});class qa extends $n{constructor(e,t){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],null!=t&&(this._baseHref=t)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t}prepareExternalUrl(e){const t=Fy(this._baseHref,e);return t.length>0?"#"+t:t}pushState(e,t,i,r){let o=this.prepareExternalUrl(i+Hi(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(e,t,o)}replaceState(e,t,i,r){let o=this.prepareExternalUrl(i+Hi(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}}qa.\u0275fac=function(e){return new(e||qa)(b(Ro),b(lE,8))},qa.\u0275prov=I({token:qa,factory:qa.\u0275fac});class qt{constructor(e){this._subject=new U,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const t=this._locationStrategy.getBaseHref();this._basePath=function UV(n){if(new RegExp("^(https?:)?//").test(n)){const[,t]=n.split(/\/\/[^\/]+/);return t}return n}(aE(cE(t))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,t=""){return this.path()==this.normalize(e+Hi(t))}normalize(e){return qt.stripTrailingSlash(function HV(n,e){if(!n||!e.startsWith(n))return e;const t=e.substring(n.length);return""===t||["/",";","?","#"].includes(t[0])?t:e}(this._basePath,cE(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,t="",i=null){this._locationStrategy.pushState(i,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Hi(t)),i)}replaceState(e,t="",i=null){this._locationStrategy.replaceState(i,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Hi(t)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)})),()=>{const t=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(t,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",t){this._urlChangeListeners.forEach(i=>i(e,t))}subscribe(e,t,i){return this._subject.subscribe({next:e,error:t,complete:i})}}function cE(n){return n.replace(/\/index.html$/,"")}qt.normalizeQueryParams=Hi,qt.joinWithSlash=Fy,qt.stripTrailingSlash=aE,qt.\u0275fac=function(e){return new(e||qt)(b($n))},qt.\u0275prov=I({token:qt,factory:function(){return function jV(){return new qt(b($n))}()},providedIn:"root"});const dE={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var wd,Po,Ot,ke,Yt,Xe,uE;function fp(n,e){return wn(zt(n)[Fe.DateFormat],e)}function pp(n,e){return wn(zt(n)[Fe.TimeFormat],e)}function mp(n,e){return wn(zt(n)[Fe.DateTimeFormat],e)}function Cn(n,e){const t=zt(n),i=t[Fe.NumberSymbols][e];if(typeof i>"u"){if(e===Xe.CurrencyDecimal)return t[Fe.NumberSymbols][Xe.Decimal];if(e===Xe.CurrencyGroup)return t[Fe.NumberSymbols][Xe.Group]}return i}function Py(n,e){return zt(n)[Fe.NumberFormats][e]}!function(n){n[n.Decimal=0]="Decimal",n[n.Percent=1]="Percent",n[n.Currency=2]="Currency",n[n.Scientific=3]="Scientific"}(wd||(wd={})),function(n){n[n.Zero=0]="Zero",n[n.One=1]="One",n[n.Two=2]="Two",n[n.Few=3]="Few",n[n.Many=4]="Many",n[n.Other=5]="Other"}(Po||(Po={})),function(n){n[n.Format=0]="Format",n[n.Standalone=1]="Standalone"}(Ot||(Ot={})),function(n){n[n.Narrow=0]="Narrow",n[n.Abbreviated=1]="Abbreviated",n[n.Wide=2]="Wide",n[n.Short=3]="Short"}(ke||(ke={})),function(n){n[n.Short=0]="Short",n[n.Medium=1]="Medium",n[n.Long=2]="Long",n[n.Full=3]="Full"}(Yt||(Yt={})),function(n){n[n.Decimal=0]="Decimal",n[n.Group=1]="Group",n[n.List=2]="List",n[n.PercentSign=3]="PercentSign",n[n.PlusSign=4]="PlusSign",n[n.MinusSign=5]="MinusSign",n[n.Exponential=6]="Exponential",n[n.SuperscriptingExponent=7]="SuperscriptingExponent",n[n.PerMille=8]="PerMille",n[n.Infinity=9]="Infinity",n[n.NaN=10]="NaN",n[n.TimeSeparator=11]="TimeSeparator",n[n.CurrencyDecimal=12]="CurrencyDecimal",n[n.CurrencyGroup=13]="CurrencyGroup"}(Xe||(Xe={})),function(n){n[n.Sunday=0]="Sunday",n[n.Monday=1]="Monday",n[n.Tuesday=2]="Tuesday",n[n.Wednesday=3]="Wednesday",n[n.Thursday=4]="Thursday",n[n.Friday=5]="Friday",n[n.Saturday=6]="Saturday"}(uE||(uE={}));const KV=_M;function hE(n){if(!n[Fe.ExtraData])throw new Error(`Missing extra locale data for the locale "${n[Fe.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function wn(n,e){for(let t=e;t>-1;t--)if(typeof n[t]<"u")return n[t];throw new Error("Locale data API: locale data undefined")}function Ny(n){const[e,t]=n.split(":");return{hours:+e,minutes:+t}}function JV(n,e,t="en"){const i=function ZV(n){return zt(n)[Fe.Currencies]}(t)[n]||dE[n]||[],r=i[1];return"narrow"===e&&"string"==typeof r?r:i[0]||n}const eB=2;const nB=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,xd={},iB=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var fi,be,ve;function rB(n,e,t,i){let r=function fB(n){if(mE(n))return n;if("number"==typeof n&&!isNaN(n))return new Date(n);if("string"==typeof n){if(n=n.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(n)){const[r,o=1,s=1]=n.split("-").map(a=>+a);return gp(r,o-1,s)}const t=parseFloat(n);if(!isNaN(n-t))return new Date(t);let i;if(i=n.match(nB))return function pB(n){const e=new Date(0);let t=0,i=0;const r=n[8]?e.setUTCFullYear:e.setFullYear,o=n[8]?e.setUTCHours:e.setHours;n[9]&&(t=Number(n[9]+n[10]),i=Number(n[9]+n[11])),r.call(e,Number(n[1]),Number(n[2])-1,Number(n[3]));const s=Number(n[4]||0)-t,a=Number(n[5]||0)-i,l=Number(n[6]||0),c=Math.floor(1e3*parseFloat("0."+(n[7]||0)));return o.call(e,s,a,l,c),e}(i)}const e=new Date(n);if(!mE(e))throw new Error(`Unable to convert "${n}" into a date`);return e}(n);e=Ui(t,e)||e;let a,s=[];for(;e;){if(a=iB.exec(e),!a){s.push(e);break}{s=s.concat(a.slice(1));const d=s.pop();if(!d)break;e=d}}let l=r.getTimezoneOffset();i&&(l=pE(i,l),r=function hB(n,e,t){const i=t?-1:1,r=n.getTimezoneOffset(),o=pE(e,r);return function uB(n,e){return n=new Date(n.getTime()),n.setMinutes(n.getMinutes()+e),n}(n,i*(o-r))}(r,i,!0));let c="";return s.forEach(d=>{const u=function dB(n){if(Vy[n])return Vy[n];let e;switch(n){case"G":case"GG":case"GGG":e=Be(ve.Eras,ke.Abbreviated);break;case"GGGG":e=Be(ve.Eras,ke.Wide);break;case"GGGGG":e=Be(ve.Eras,ke.Narrow);break;case"y":e=ot(be.FullYear,1,0,!1,!0);break;case"yy":e=ot(be.FullYear,2,0,!0,!0);break;case"yyy":e=ot(be.FullYear,3,0,!1,!0);break;case"yyyy":e=ot(be.FullYear,4,0,!1,!0);break;case"Y":e=vp(1);break;case"YY":e=vp(2,!0);break;case"YYY":e=vp(3);break;case"YYYY":e=vp(4);break;case"M":case"L":e=ot(be.Month,1,1);break;case"MM":case"LL":e=ot(be.Month,2,1);break;case"MMM":e=Be(ve.Months,ke.Abbreviated);break;case"MMMM":e=Be(ve.Months,ke.Wide);break;case"MMMMM":e=Be(ve.Months,ke.Narrow);break;case"LLL":e=Be(ve.Months,ke.Abbreviated,Ot.Standalone);break;case"LLLL":e=Be(ve.Months,ke.Wide,Ot.Standalone);break;case"LLLLL":e=Be(ve.Months,ke.Narrow,Ot.Standalone);break;case"w":e=Ly(1);break;case"ww":e=Ly(2);break;case"W":e=Ly(1,!0);break;case"d":e=ot(be.Date,1);break;case"dd":e=ot(be.Date,2);break;case"c":case"cc":e=ot(be.Day,1);break;case"ccc":e=Be(ve.Days,ke.Abbreviated,Ot.Standalone);break;case"cccc":e=Be(ve.Days,ke.Wide,Ot.Standalone);break;case"ccccc":e=Be(ve.Days,ke.Narrow,Ot.Standalone);break;case"cccccc":e=Be(ve.Days,ke.Short,Ot.Standalone);break;case"E":case"EE":case"EEE":e=Be(ve.Days,ke.Abbreviated);break;case"EEEE":e=Be(ve.Days,ke.Wide);break;case"EEEEE":e=Be(ve.Days,ke.Narrow);break;case"EEEEEE":e=Be(ve.Days,ke.Short);break;case"a":case"aa":case"aaa":e=Be(ve.DayPeriods,ke.Abbreviated);break;case"aaaa":e=Be(ve.DayPeriods,ke.Wide);break;case"aaaaa":e=Be(ve.DayPeriods,ke.Narrow);break;case"b":case"bb":case"bbb":e=Be(ve.DayPeriods,ke.Abbreviated,Ot.Standalone,!0);break;case"bbbb":e=Be(ve.DayPeriods,ke.Wide,Ot.Standalone,!0);break;case"bbbbb":e=Be(ve.DayPeriods,ke.Narrow,Ot.Standalone,!0);break;case"B":case"BB":case"BBB":e=Be(ve.DayPeriods,ke.Abbreviated,Ot.Format,!0);break;case"BBBB":e=Be(ve.DayPeriods,ke.Wide,Ot.Format,!0);break;case"BBBBB":e=Be(ve.DayPeriods,ke.Narrow,Ot.Format,!0);break;case"h":e=ot(be.Hours,1,-12);break;case"hh":e=ot(be.Hours,2,-12);break;case"H":e=ot(be.Hours,1);break;case"HH":e=ot(be.Hours,2);break;case"m":e=ot(be.Minutes,1);break;case"mm":e=ot(be.Minutes,2);break;case"s":e=ot(be.Seconds,1);break;case"ss":e=ot(be.Seconds,2);break;case"S":e=ot(be.FractionalSeconds,1);break;case"SS":e=ot(be.FractionalSeconds,2);break;case"SSS":e=ot(be.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=yp(fi.Short);break;case"ZZZZZ":e=yp(fi.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=yp(fi.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=yp(fi.Long);break;default:return null}return Vy[n]=e,e}(d);c+=u?u(r,t,l):"''"===d?"'":d.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function gp(n,e,t){const i=new Date(0);return i.setFullYear(n,e,t),i.setHours(0,0,0),i}function Ui(n,e){const t=function $V(n){return zt(n)[Fe.LocaleId]}(n);if(xd[t]=xd[t]||{},xd[t][e])return xd[t][e];let i="";switch(e){case"shortDate":i=fp(n,Yt.Short);break;case"mediumDate":i=fp(n,Yt.Medium);break;case"longDate":i=fp(n,Yt.Long);break;case"fullDate":i=fp(n,Yt.Full);break;case"shortTime":i=pp(n,Yt.Short);break;case"mediumTime":i=pp(n,Yt.Medium);break;case"longTime":i=pp(n,Yt.Long);break;case"fullTime":i=pp(n,Yt.Full);break;case"short":const r=Ui(n,"shortTime"),o=Ui(n,"shortDate");i=_p(mp(n,Yt.Short),[r,o]);break;case"medium":const s=Ui(n,"mediumTime"),a=Ui(n,"mediumDate");i=_p(mp(n,Yt.Medium),[s,a]);break;case"long":const l=Ui(n,"longTime"),c=Ui(n,"longDate");i=_p(mp(n,Yt.Long),[l,c]);break;case"full":const d=Ui(n,"fullTime"),u=Ui(n,"fullDate");i=_p(mp(n,Yt.Full),[d,u])}return i&&(xd[t][e]=i),i}function _p(n,e){return e&&(n=n.replace(/\{([^}]+)}/g,function(t,i){return null!=e&&i in e?e[i]:t})),n}function Gn(n,e,t="-",i,r){let o="";(n<0||r&&n<=0)&&(r?n=1-n:(n=-n,o=t));let s=String(n);for(;s.length<e;)s="0"+s;return i&&(s=s.slice(s.length-e)),o+s}function ot(n,e,t=0,i=!1,r=!1){return function(o,s){let a=function sB(n,e){switch(n){case be.FullYear:return e.getFullYear();case be.Month:return e.getMonth();case be.Date:return e.getDate();case be.Hours:return e.getHours();case be.Minutes:return e.getMinutes();case be.Seconds:return e.getSeconds();case be.FractionalSeconds:return e.getMilliseconds();case be.Day:return e.getDay();default:throw new Error(`Unknown DateType value "${n}".`)}}(n,o);if((t>0||a>-t)&&(a+=t),n===be.Hours)0===a&&-12===t&&(a=12);else if(n===be.FractionalSeconds)return function oB(n,e){return Gn(n,3).substring(0,e)}(a,e);const l=Cn(s,Xe.MinusSign);return Gn(a,e,l,i,r)}}function Be(n,e,t=Ot.Format,i=!1){return function(r,o){return function aB(n,e,t,i,r,o){switch(t){case ve.Months:return function qV(n,e,t){const i=zt(n),o=wn([i[Fe.MonthsFormat],i[Fe.MonthsStandalone]],e);return wn(o,t)}(e,r,i)[n.getMonth()];case ve.Days:return function WV(n,e,t){const i=zt(n),o=wn([i[Fe.DaysFormat],i[Fe.DaysStandalone]],e);return wn(o,t)}(e,r,i)[n.getDay()];case ve.DayPeriods:const s=n.getHours(),a=n.getMinutes();if(o){const c=function XV(n){const e=zt(n);return hE(e),(e[Fe.ExtraData][2]||[]).map(i=>"string"==typeof i?Ny(i):[Ny(i[0]),Ny(i[1])])}(e),d=function QV(n,e,t){const i=zt(n);hE(i);const o=wn([i[Fe.ExtraData][0],i[Fe.ExtraData][1]],e)||[];return wn(o,t)||[]}(e,r,i),u=c.findIndex(h=>{if(Array.isArray(h)){const[p,m]=h,g=s>=p.hours&&a>=p.minutes,v=s<m.hours||s===m.hours&&a<m.minutes;if(p.hours<m.hours){if(g&&v)return!0}else if(g||v)return!0}else if(h.hours===s&&h.minutes===a)return!0;return!1});if(-1!==u)return d[u]}return function GV(n,e,t){const i=zt(n),o=wn([i[Fe.DayPeriodsFormat],i[Fe.DayPeriodsStandalone]],e);return wn(o,t)}(e,r,i)[s<12?0:1];case ve.Eras:return function YV(n,e){return wn(zt(n)[Fe.Eras],e)}(e,i)[n.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${t}`)}}(r,o,n,e,t,i)}}function yp(n){return function(e,t,i){const r=-1*i,o=Cn(t,Xe.MinusSign),s=r>0?Math.floor(r/60):Math.ceil(r/60);switch(n){case fi.Short:return(r>=0?"+":"")+Gn(s,2,o)+Gn(Math.abs(r%60),2,o);case fi.ShortGMT:return"GMT"+(r>=0?"+":"")+Gn(s,1,o);case fi.Long:return"GMT"+(r>=0?"+":"")+Gn(s,2,o)+":"+Gn(Math.abs(r%60),2,o);case fi.Extended:return 0===i?"Z":(r>=0?"+":"")+Gn(s,2,o)+":"+Gn(Math.abs(r%60),2,o);default:throw new Error(`Unknown zone width "${n}"`)}}}!function(n){n[n.Short=0]="Short",n[n.ShortGMT=1]="ShortGMT",n[n.Long=2]="Long",n[n.Extended=3]="Extended"}(fi||(fi={})),function(n){n[n.FullYear=0]="FullYear",n[n.Month=1]="Month",n[n.Date=2]="Date",n[n.Hours=3]="Hours",n[n.Minutes=4]="Minutes",n[n.Seconds=5]="Seconds",n[n.FractionalSeconds=6]="FractionalSeconds",n[n.Day=7]="Day"}(be||(be={})),function(n){n[n.DayPeriods=0]="DayPeriods",n[n.Days=1]="Days",n[n.Months=2]="Months",n[n.Eras=3]="Eras"}(ve||(ve={}));const lB=0,bp=4;function fE(n){return gp(n.getFullYear(),n.getMonth(),n.getDate()+(bp-n.getDay()))}function Ly(n,e=!1){return function(t,i){let r;if(e){const o=new Date(t.getFullYear(),t.getMonth(),1).getDay()-1,s=t.getDate();r=1+Math.floor((s+o)/7)}else{const o=fE(t),s=function cB(n){const e=gp(n,lB,1).getDay();return gp(n,0,1+(e<=bp?bp:bp+7)-e)}(o.getFullYear()),a=o.getTime()-s.getTime();r=1+Math.round(a/6048e5)}return Gn(r,n,Cn(i,Xe.MinusSign))}}function vp(n,e=!1){return function(t,i){return Gn(fE(t).getFullYear(),n,Cn(i,Xe.MinusSign),e)}}const Vy={};function pE(n,e){n=n.replace(/:/g,"");const t=Date.parse("Jan 01, 1970 00:00:00 "+n)/6e4;return isNaN(t)?e:t}function mE(n){return n instanceof Date&&!isNaN(n.valueOf())}const mB=/^(\d+)?\.((\d+)(-(\d+))?)?$/,gE=22,Cp=".",Dd="0",gB=";",_B=",",By="#",_E="\xa4",yB="%";function zy(n,e,t,i,r,o,s=!1){let a="",l=!1;if(isFinite(n)){let c=function wB(n){let i,r,o,s,a,e=Math.abs(n)+"",t=0;for((r=e.indexOf(Cp))>-1&&(e=e.replace(Cp,"")),(o=e.search(/e/i))>0?(r<0&&(r=o),r+=+e.slice(o+1),e=e.substring(0,o)):r<0&&(r=e.length),o=0;e.charAt(o)===Dd;o++);if(o===(a=e.length))i=[0],r=1;else{for(a--;e.charAt(a)===Dd;)a--;for(r-=o,i=[],s=0;o<=a;o++,s++)i[s]=Number(e.charAt(o))}return r>gE&&(i=i.splice(0,gE-1),t=r-1,r=1),{digits:i,exponent:t,integerLen:r}}(n);s&&(c=function CB(n){if(0===n.digits[0])return n;const e=n.digits.length-n.integerLen;return n.exponent?n.exponent+=2:(0===e?n.digits.push(0,0):1===e&&n.digits.push(0),n.integerLen+=2),n}(c));let d=e.minInt,u=e.minFrac,h=e.maxFrac;if(o){const O=o.match(mB);if(null===O)throw new Error(`${o} is not a valid digit info`);const x=O[1],N=O[3],me=O[5];null!=x&&(d=Hy(x)),null!=N&&(u=Hy(N)),null!=me?h=Hy(me):null!=N&&u>h&&(h=u)}!function xB(n,e,t){if(e>t)throw new Error(`The minimum number of digits after fraction (${e}) is higher than the maximum (${t}).`);let i=n.digits,r=i.length-n.integerLen;const o=Math.min(Math.max(e,r),t);let s=o+n.integerLen,a=i[s];if(s>0){i.splice(Math.max(n.integerLen,s));for(let u=s;u<i.length;u++)i[u]=0}else{r=Math.max(0,r),n.integerLen=1,i.length=Math.max(1,s=o+1),i[0]=0;for(let u=1;u<s;u++)i[u]=0}if(a>=5)if(s-1<0){for(let u=0;u>s;u--)i.unshift(0),n.integerLen++;i.unshift(1),n.integerLen++}else i[s-1]++;for(;r<Math.max(0,o);r++)i.push(0);let l=0!==o;const c=e+n.integerLen,d=i.reduceRight(function(u,h,p,m){return h+=u,m[p]=h<10?h:h-10,l&&(0===m[p]&&p>=c?m.pop():l=!1),h>=10?1:0},0);d&&(i.unshift(d),n.integerLen++)}(c,u,h);let p=c.digits,m=c.integerLen;const g=c.exponent;let v=[];for(l=p.every(O=>!O);m<d;m++)p.unshift(0);for(;m<0;m++)p.unshift(0);m>0?v=p.splice(m,p.length):(v=p,p=[0]);const D=[];for(p.length>=e.lgSize&&D.unshift(p.splice(-e.lgSize,p.length).join(""));p.length>e.gSize;)D.unshift(p.splice(-e.gSize,p.length).join(""));p.length&&D.unshift(p.join("")),a=D.join(Cn(t,i)),v.length&&(a+=Cn(t,r)+v.join("")),g&&(a+=Cn(t,Xe.Exponential)+"+"+g)}else a=Cn(t,Xe.Infinity);return a=n<0&&!l?e.negPre+a+e.negSuf:e.posPre+a+e.posSuf,a}function bB(n,e,t,i,r){const s=jy(Py(e,wd.Currency),Cn(e,Xe.MinusSign));return s.minFrac=function tB(n){let e;const t=dE[n];return t&&(e=t[2]),"number"==typeof e?e:eB}(i),s.maxFrac=s.minFrac,zy(n,s,e,Xe.CurrencyGroup,Xe.CurrencyDecimal,r).replace(_E,t).replace(_E,"").trim()}function yE(n,e,t){return zy(n,jy(Py(e,wd.Decimal),Cn(e,Xe.MinusSign)),e,Xe.Group,Xe.Decimal,t)}function jy(n,e="-"){const t={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},i=n.split(gB),r=i[0],o=i[1],s=-1!==r.indexOf(Cp)?r.split(Cp):[r.substring(0,r.lastIndexOf(Dd)+1),r.substring(r.lastIndexOf(Dd)+1)],a=s[0],l=s[1]||"";t.posPre=a.substring(0,a.indexOf(By));for(let d=0;d<l.length;d++){const u=l.charAt(d);u===Dd?t.minFrac=t.maxFrac=d+1:u===By?t.maxFrac=d+1:t.posSuf+=u}const c=a.split(_B);if(t.gSize=c[1]?c[1].length:0,t.lgSize=c[2]||c[1]?(c[2]||c[1]).length:0,o){const d=r.length-t.posPre.length-t.posSuf.length,u=o.indexOf(By);t.negPre=o.substring(0,u).replace(/'/g,""),t.negSuf=o.slice(u+d).replace(/'/g,"")}else t.negPre=e+t.posPre,t.negSuf=t.posSuf;return t}function Hy(n){const e=parseInt(n);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+n);return e}class No{}function bE(n,e,t,i){let r=`=${n}`;if(e.indexOf(r)>-1||(r=t.getPluralCategory(n,i),e.indexOf(r)>-1))return r;if(e.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${n}"`)}No.\u0275fac=function(e){return new(e||No)},No.\u0275prov=I({token:No,factory:function(e){let t=null;return e?t=new e:(i=b(ui),t=new Ya(i)),t;var i},providedIn:"root"});class Ya extends No{constructor(e){super(),this.locale=e}getPluralCategory(e,t){switch(KV(t||this.locale)(e)){case Po.Zero:return"zero";case Po.One:return"one";case Po.Two:return"two";case Po.Few:return"few";case Po.Many:return"many";default:return"other"}}}function vE(n,e){e=encodeURIComponent(e);for(const t of n.split(";")){const i=t.indexOf("="),[r,o]=-1==i?[t,""]:[t.slice(0,i),t.slice(i+1)];if(r.trim()===e)return decodeURIComponent(o)}return null}Ya.\u0275fac=function(e){return new(e||Ya)(b(ui))},Ya.\u0275prov=I({token:Ya,factory:Ya.\u0275fac});const Uy=/\s+/,CE=[];class Lo{constructor(e,t,i,r){this._iterableDiffers=e,this._keyValueDiffers=t,this._ngEl=i,this._renderer=r,this.initialClasses=CE,this.stateMap=new Map}set klass(e){this.initialClasses=null!=e?e.trim().split(Uy):CE}set ngClass(e){this.rawClass="string"==typeof e?e.trim().split(Uy):e}ngDoCheck(){for(const t of this.initialClasses)this._updateState(t,!0);const e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(const t of e)this._updateState(t,!0);else if(null!=e)for(const t of Object.keys(e))this._updateState(t,Boolean(e[t]));this._applyStateDiff()}_updateState(e,t){const i=this.stateMap.get(e);void 0!==i?(i.enabled!==t&&(i.changed=!0,i.enabled=t),i.touched=!0):this.stateMap.set(e,{enabled:t,changed:!0,touched:!0})}_applyStateDiff(){for(const e of this.stateMap){const t=e[0],i=e[1];i.changed?(this._toggleClass(t,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(t,!1),this.stateMap.delete(t)),i.touched=!1}}_toggleClass(e,t){(e=e.trim()).length>0&&e.split(Uy).forEach(i=>{t?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}}Lo.\u0275fac=function(e){return new(e||Lo)(f(bn),f(vn),f(j),f(Nn))},Lo.\u0275dir=E({type:Lo,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0});class Md{constructor(e){this._viewContainerRef=e,this.ngComponentOutlet=null}ngOnChanges(e){const{_viewContainerRef:t,ngComponentOutletNgModule:i,ngComponentOutletNgModuleFactory:r}=this;if(t.clear(),this._componentRef=void 0,this.ngComponentOutlet){const o=this.ngComponentOutletInjector||t.parentInjector;(e.ngComponentOutletNgModule||e.ngComponentOutletNgModuleFactory)&&(this._moduleRef&&this._moduleRef.destroy(),this._moduleRef=i?function XL(n,e){return new WM(n,e??null)}(i,wE(o)):r?r.create(wE(o)):void 0),this._componentRef=t.createComponent(this.ngComponentOutlet,{index:t.length,injector:o,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}function wE(n){return n.get(Ba).injector}Md.\u0275fac=function(e){return new(e||Md)(f(rt))},Md.\u0275dir=E({type:Md,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[Ve]});class DB{constructor(e,t,i,r){this.$implicit=e,this.ngForOf=t,this.index=i,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}class Wn{set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}constructor(e,t,i){this._viewContainer=e,this._template=t,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const t=this._viewContainer;e.forEachOperation((i,r,o)=>{if(null==i.previousIndex)t.createEmbeddedView(this._template,new DB(i.item,this._ngForOf,-1,-1),null===o?void 0:o);else if(null==o)t.remove(null===r?void 0:r);else if(null!==r){const s=t.get(r);t.move(s,o),DE(s,i)}});for(let i=0,r=t.length;i<r;i++){const s=t.get(i).context;s.index=i,s.count=r,s.ngForOf=this._ngForOf}e.forEachIdentityChange(i=>{DE(t.get(i.currentIndex),i)})}static ngTemplateContextGuard(e,t){return!0}}function DE(n,e){n.context.$implicit=e.item}Wn.\u0275fac=function(e){return new(e||Wn)(f(rt),f(ut),f(bn))},Wn.\u0275dir=E({type:Wn,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});class ln{constructor(e,t){this._viewContainer=e,this._context=new EB,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=t}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){ME("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){ME("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,t){return!0}}ln.\u0275fac=function(e){return new(e||ln)(f(rt),f(ut))},ln.\u0275dir=E({type:ln,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});class EB{constructor(){this.$implicit=null,this.ngIf=null}}function ME(n,e){if(e&&!e.createEmbeddedView)throw new Error(`${n} must be a TemplateRef, but received '${Le(e)}'.`)}class $y{constructor(e,t){this._viewContainerRef=e,this._templateRef=t,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}}class $i{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews.push(e)}_matchCase(e){const t=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||t,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),t}_updateDefaultCases(e){if(this._defaultViews.length>0&&e!==this._defaultUsed){this._defaultUsed=e;for(const t of this._defaultViews)t.enforceState(e)}}}$i.\u0275fac=function(e){return new(e||$i)},$i.\u0275dir=E({type:$i,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0});class Vo{constructor(e,t,i){this.ngSwitch=i,i._addCase(),this._view=new $y(e,t)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}Vo.\u0275fac=function(e){return new(e||Vo)(f(rt),f(ut),f($i,9))},Vo.\u0275dir=E({type:Vo,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0});class Ed{constructor(e,t,i){i._addDefault(new $y(e,t))}}Ed.\u0275fac=function(e){return new(e||Ed)(f(rt),f(ut),f($i,9))},Ed.\u0275dir=E({type:Ed,selectors:[["","ngSwitchDefault",""]],standalone:!0});class Za{constructor(e){this._localization=e,this._caseViews={}}set ngPlural(e){this._updateView(e)}addCase(e,t){this._caseViews[e]=t}_updateView(e){this._clearViews();const i=bE(e,Object.keys(this._caseViews),this._localization);this._activateView(this._caseViews[i])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(e){e&&(this._activeView=e,this._activeView.create())}}Za.\u0275fac=function(e){return new(e||Za)(f(No))},Za.\u0275dir=E({type:Za,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"},standalone:!0});class Id{constructor(e,t,i,r){this.value=e;const o=!isNaN(Number(e));r.addCase(o?`=${e}`:e,new $y(i,t))}}Id.\u0275fac=function(e){return new(e||Id)(yo("ngPluralCase"),f(ut),f(rt),f(Za,1))},Id.\u0275dir=E({type:Id,selectors:[["","ngPluralCase",""]],standalone:!0});class Sd{constructor(e,t,i){this._ngEl=e,this._differs=t,this._renderer=i,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,t){const[i,r]=e.split("."),o=-1===i.indexOf("-")?void 0:Pi.DashCase;null!=t?this._renderer.setStyle(this._ngEl.nativeElement,i,r?`${t}${r}`:t,o):this._renderer.removeStyle(this._ngEl.nativeElement,i,o)}_applyChanges(e){e.forEachRemovedItem(t=>this._setStyle(t.key,null)),e.forEachAddedItem(t=>this._setStyle(t.key,t.currentValue)),e.forEachChangedItem(t=>this._setStyle(t.key,t.currentValue))}}Sd.\u0275fac=function(e){return new(e||Sd)(f(j),f(vn),f(Nn))},Sd.\u0275dir=E({type:Sd,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0});class Bo{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(e.ngTemplateOutlet||e.ngTemplateOutletInjector){const t=this._viewContainerRef;if(this._viewRef&&t.remove(t.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:i,ngTemplateOutletContext:r,ngTemplateOutletInjector:o}=this;this._viewRef=t.createEmbeddedView(i,r,o?{injector:o}:void 0)}else this._viewRef=null}else this._viewRef&&e.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}Bo.\u0275fac=function(e){return new(e||Bo)(f(rt))},Bo.\u0275dir=E({type:Bo,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Ve]});function qn(n,e){return new w(2100,!1)}const TB=new class SB{createSubscription(e,t){return e.then(t,i=>{throw i})}dispose(e){}},AB=new class IB{createSubscription(e,t){return e.subscribe({next:t,error:i=>{throw i}})}dispose(e){e.unsubscribe()}};class zo{constructor(e){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,t=>this._updateLatestValue(e,t))}_selectStrategy(e){if(ud(e))return TB;if(TD(e))return AB;throw qn()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,t){e===this._obj&&(this._latestValue=t,this._ref.markForCheck())}}zo.\u0275fac=function(e){return new(e||zo)(f(ht,16))},zo.\u0275pipe=$t({name:"async",type:zo,pure:!1,standalone:!0});class jo{transform(e){if(null==e)return null;if("string"!=typeof e)throw qn();return e.toLowerCase()}}jo.\u0275fac=function(e){return new(e||jo)},jo.\u0275pipe=$t({name:"lowercase",type:jo,pure:!0,standalone:!0});const OB=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;class Ho{transform(e){if(null==e)return null;if("string"!=typeof e)throw qn();return e.replace(OB,t=>t[0].toUpperCase()+t.slice(1).toLowerCase())}}Ho.\u0275fac=function(e){return new(e||Ho)},Ho.\u0275pipe=$t({name:"titlecase",type:Ho,pure:!0,standalone:!0});class Uo{transform(e){if(null==e)return null;if("string"!=typeof e)throw qn();return e.toUpperCase()}}Uo.\u0275fac=function(e){return new(e||Uo)},Uo.\u0275pipe=$t({name:"uppercase",type:Uo,pure:!0,standalone:!0});const RB=new A("DATE_PIPE_DEFAULT_TIMEZONE"),FB=new A("DATE_PIPE_DEFAULT_OPTIONS");class $o{constructor(e,t,i){this.locale=e,this.defaultTimezone=t,this.defaultOptions=i}transform(e,t,i,r){if(null==e||""===e||e!=e)return null;try{const o=t??this.defaultOptions?.dateFormat??"mediumDate",s=i??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return rB(e,o,r||this.locale,s)}catch(o){throw qn(0,o.message)}}}$o.\u0275fac=function(e){return new(e||$o)(f(ui,16),f(RB,24),f(FB,24))},$o.\u0275pipe=$t({name:"date",type:$o,pure:!0,standalone:!0});const PB=/#/g;class Go{constructor(e){this._localization=e}transform(e,t,i){if(null==e)return"";if("object"!=typeof t||null===t)throw qn();return t[bE(e,Object.keys(t),this._localization,i)].replace(PB,e.toString())}}Go.\u0275fac=function(e){return new(e||Go)(f(No,16))},Go.\u0275pipe=$t({name:"i18nPlural",type:Go,pure:!0,standalone:!0});class Wo{transform(e,t){if(null==e)return"";if("object"!=typeof t||"string"!=typeof e)throw qn();return t.hasOwnProperty(e)?t[e]:t.hasOwnProperty("other")?t.other:""}}Wo.\u0275fac=function(e){return new(e||Wo)},Wo.\u0275pipe=$t({name:"i18nSelect",type:Wo,pure:!0,standalone:!0});class Td{transform(e){return JSON.stringify(e,null,2)}}Td.\u0275fac=function(e){return new(e||Td)},Td.\u0275pipe=$t({name:"json",type:Td,pure:!1,standalone:!0});class Ad{constructor(e){this.differs=e,this.keyValues=[],this.compareFn=EE}transform(e,t=EE){if(!e||!(e instanceof Map)&&"object"!=typeof e)return null;this.differ||(this.differ=this.differs.find(e).create());const i=this.differ.diff(e),r=t!==this.compareFn;return i&&(this.keyValues=[],i.forEachItem(o=>{this.keyValues.push(function NB(n,e){return{key:n,value:e}}(o.key,o.currentValue))})),(i||r)&&(this.keyValues.sort(t),this.compareFn=t),this.keyValues}}function EE(n,e){const t=n.key,i=e.key;if(t===i)return 0;if(void 0===t)return 1;if(void 0===i)return-1;if(null===t)return 1;if(null===i)return-1;if("string"==typeof t&&"string"==typeof i)return t<i?-1:1;if("number"==typeof t&&"number"==typeof i)return t-i;if("boolean"==typeof t&&"boolean"==typeof i)return t<i?-1:1;const r=String(t),o=String(i);return r==o?0:r<o?-1:1}Ad.\u0275fac=function(e){return new(e||Ad)(f(vn,16))},Ad.\u0275pipe=$t({name:"keyvalue",type:Ad,pure:!1,standalone:!0});class qo{constructor(e){this._locale=e}transform(e,t,i){if(!Gy(e))return null;i=i||this._locale;try{return yE(Wy(e),i,t)}catch(r){throw qn(0,r.message)}}}qo.\u0275fac=function(e){return new(e||qo)(f(ui,16))},qo.\u0275pipe=$t({name:"number",type:qo,pure:!0,standalone:!0});class Yo{constructor(e){this._locale=e}transform(e,t,i){if(!Gy(e))return null;i=i||this._locale;try{return function vB(n,e,t){return zy(n,jy(Py(e,wd.Percent),Cn(e,Xe.MinusSign)),e,Xe.Group,Xe.Decimal,t,!0).replace(new RegExp(yB,"g"),Cn(e,Xe.PercentSign))}(Wy(e),i,t)}catch(r){throw qn(0,r.message)}}}Yo.\u0275fac=function(e){return new(e||Yo)(f(ui,16))},Yo.\u0275pipe=$t({name:"percent",type:Yo,pure:!0,standalone:!0});class Zo{constructor(e,t="USD"){this._locale=e,this._defaultCurrencyCode=t}transform(e,t=this._defaultCurrencyCode,i="symbol",r,o){if(!Gy(e))return null;o=o||this._locale,"boolean"==typeof i&&(i=i?"symbol":"code");let s=t||this._defaultCurrencyCode;"code"!==i&&(s="symbol"===i||"symbol-narrow"===i?JV(s,"symbol"===i?"wide":"narrow",o):i);try{return bB(Wy(e),o,s,t,r)}catch(a){throw qn(0,a.message)}}}function Gy(n){return!(null==n||""===n||n!=n)}function Wy(n){if("string"==typeof n&&!isNaN(Number(n)-parseFloat(n)))return Number(n);if("number"!=typeof n)throw new Error(`${n} is not a number`);return n}Zo.\u0275fac=function(e){return new(e||Zo)(f(ui,16),f(iV,16))},Zo.\u0275pipe=$t({name:"currency",type:Zo,pure:!0,standalone:!0});class Ko{transform(e,t,i){if(null==e)return null;if(!this.supports(e))throw qn();return e.slice(t,i)}supports(e){return"string"==typeof e||Array.isArray(e)}}Ko.\u0275fac=function(e){return new(e||Ko)},Ko.\u0275pipe=$t({name:"slice",type:Ko,pure:!1,standalone:!0});class Yn{}Yn.\u0275fac=function(e){return new(e||Yn)},Yn.\u0275mod=te({type:Yn}),Yn.\u0275inj=X({});const IE="browser",LB="server";function SE(n){return n===IE}new Mo("15.2.2");class qy{}qy.\u0275prov=I({token:qy,providedIn:"root",factory:()=>new jB(b($),window)});class jB{constructor(e,t){this.document=e,this.window=t,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){if(!this.supportsScrolling())return;const t=function HB(n,e){const t=n.getElementById(e)||n.getElementsByName(e)[0];if(t)return t;if("function"==typeof n.createTreeWalker&&n.body&&(n.body.createShadowRoot||n.body.attachShadow)){const i=n.createTreeWalker(n.body,NodeFilter.SHOW_ELEMENT);let r=i.currentNode;for(;r;){const o=r.shadowRoot;if(o){const s=o.getElementById(e)||o.querySelector(`[name="${e}"]`);if(s)return s}r=i.nextNode()}}return null}(this.document,e);t&&(this.scrollToElement(t),t.focus())}setHistoryScrollRestoration(e){if(this.supportScrollRestoration()){const t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}scrollToElement(e){const t=e.getBoundingClientRect(),i=t.left+this.window.pageXOffset,r=t.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(i-o[0],r-o[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const e=TE(this.window.history)||TE(Object.getPrototypeOf(this.window.history));return!(!e||!e.writable&&!e.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function TE(n){return Object.getOwnPropertyDescriptor(n,"scrollRestoration")}class AE{}function wp(n,e){return Yy(n)?new URL(n):new URL(n,e.location.href)}function Yy(n){return/^https?:\/\//.test(n)}function OE(n){return Yy(n)?new URL(n).hostname:n}function GB(n){return n.startsWith("/")?n.slice(1):n}const Od=n=>n.src,kE=new A("ImageLoader",{providedIn:"root",factory:()=>Od});function xp(n,e){return function(i){return function UB(n){if("string"!=typeof n||""===n.trim())return!1;try{return new URL(n),!0}catch{return!1}}(i)||function WB(n,e){throw new w(2959,!1)}(),i=function $B(n){return n.endsWith("/")?n.slice(0,-1):n}(i),[{provide:kE,useValue:s=>(Yy(s.src)&&function qB(n,e){throw new w(2959,!1)}(0,s.src),n(i,{...s,src:GB(s.src)}))}]}}xp(function YB(n,e){let t="format=auto";return e.width&&(t+=`,width=${e.width}`),`${n}/cdn-cgi/image/${t}/${e.src}`});xp(function QB(n,e){let t="f_auto,q_auto";return e.width&&(t+=`,w_${e.width}`),`${n}/image/upload/${t}/${e.src}`});xp(function nz(n,e){let t="tr:q-auto";return e.width&&(t+=`,w-${e.width}`),`${n}/${t}/${e.src}`});xp(function sz(n,e){const t=new URL(`${n}/${e.src}`);return t.searchParams.set("auto","format"),e.width&&t.searchParams.set("w",e.width.toString()),t.href});function Qe(n,e=!0){return`The NgOptimizedImage directive ${e?`(activated on an <img> element with the \`ngSrc="${n}"\`) `:""}has detected that`}function RE(n){throw new w(2958,`Unexpected invocation of the ${n} in the prod mode. Please make sure that the prod mode is enabled for production builds.`)}class kd{constructor(){this.images=new Map,this.alreadyWarned=new Set,this.window=null,this.observer=null,RE("LCP checker");const e=H($).defaultView;typeof e<"u"&&typeof PerformanceObserver<"u"&&(this.window=e,this.observer=this.initPerformanceObserver())}initPerformanceObserver(){const e=new PerformanceObserver(t=>{const i=t.getEntries();if(0===i.length)return;const o=i[i.length-1].element?.src??"";o.startsWith("data:")||o.startsWith("blob:")||this.images.get(o)&&!this.alreadyWarned.has(o)&&(this.alreadyWarned.add(o),function az(n){const e=Qe(n);console.warn(Xt(2955,`${e} this image is the Largest Contentful Paint (LCP) element but was not marked "priority". This image should be marked "priority" in order to prioritize its loading. To fix this, add the "priority" attribute.`))}(o))});return e.observe({type:"largest-contentful-paint",buffered:!0}),e}registerImage(e,t){this.observer&&this.images.set(wp(e,this.window).href,t)}unregisterImage(e){this.observer&&this.images.delete(wp(e,this.window).href)}ngOnDestroy(){this.observer&&(this.observer.disconnect(),this.images.clear(),this.alreadyWarned.clear())}}kd.\u0275fac=function(e){return new(e||kd)},kd.\u0275prov=I({token:kd,factory:kd.\u0275fac,providedIn:"root"});const lz=new Set(["localhost","127.0.0.1","0.0.0.0"]),cz=new A("PRECONNECT_CHECK_BLOCKLIST");class Rd{constructor(){this.document=H($),this.preconnectLinks=null,this.alreadySeen=new Set,this.window=null,this.blocklist=new Set(lz),RE("preconnect link checker");const e=this.document.defaultView;typeof e<"u"&&(this.window=e);const t=H(cz,{optional:!0});t&&this.populateBlocklist(t)}populateBlocklist(e){Array.isArray(e)?FE(e,t=>{this.blocklist.add(OE(t))}):this.blocklist.add(OE(e))}assertPreconnect(e,t){if(!this.window)return;const i=wp(e,this.window);this.blocklist.has(i.hostname)||this.alreadySeen.has(i.origin)||(this.alreadySeen.add(i.origin),this.preconnectLinks||(this.preconnectLinks=this.queryPreconnectLinks()),this.preconnectLinks.has(i.origin)||console.warn(Xt(2956,`${Qe(t)} there is no preconnect tag present for this image. Preconnecting to the origin(s) that serve priority images ensures that these images are delivered as soon as possible. To fix this, please add the following element into the <head> of the document:\n <link rel="preconnect" href="${i.origin}">`)))}queryPreconnectLinks(){const e=new Set,i=Array.from(this.document.querySelectorAll("link[rel=preconnect]"));for(let r of i){const o=wp(r.href,this.window);e.add(o.origin)}return e}ngOnDestroy(){this.preconnectLinks?.clear(),this.alreadySeen.clear()}}function FE(n,e){for(let t of n)Array.isArray(t)?FE(t,e):e(t)}Rd.\u0275fac=function(e){return new(e||Rd)},Rd.\u0275prov=I({token:Rd,factory:Rd.\u0275fac,providedIn:"root"});const dz=new A("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set});class Ka{constructor(){this.preloadedImages=H(dz),this.document=H($)}createPreloadLinkTag(e,t,i,r){if(this.preloadedImages.has(t))return;this.preloadedImages.add(t);const o=e.createElement("link");e.setAttribute(o,"as","image"),e.setAttribute(o,"href",t),e.setAttribute(o,"rel","preload"),e.setAttribute(o,"fetchpriority","high"),r&&e.setAttribute(o,"imageSizes",r),i&&e.setAttribute(o,"imageSrcset",i),e.appendChild(this.document.head,o)}}Ka.\u0275fac=function(e){return new(e||Ka)},Ka.\u0275prov=I({token:Ka,factory:Ka.\u0275fac,providedIn:"root"});const NE=/^((\s*\d+w\s*(,|$)){1,})$/,hz=[1,2],BE={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840]},_z=new A("ImageConfig",{providedIn:"root",factory:()=>BE});class Dp{constructor(){this.imageLoader=H(kE),this.config=function yz(n){let e={};return n.breakpoints&&(e.breakpoints=n.breakpoints.sort((t,i)=>t-i)),Object.assign({},BE,n,e)}(H(_z)),this.renderer=H(Nn),this.imgElement=H(j).nativeElement,this.injector=H(He),this.isServer=function zB(n){return n===LB}(H(Ua)),this.preloadLinkChecker=H(Ka),this.lcpObserver=null,this._renderedSrc=null,this._priority=!1,this._disableOptimizedSrcset=!1,this._fill=!1}set width(e){this._width=zE(e)}get width(){return this._width}set height(e){this._height=zE(e)}get height(){return this._height}set priority(e){this._priority=Ky(e)}get priority(){return this._priority}set disableOptimizedSrcset(e){this._disableOptimizedSrcset=Ky(e)}get disableOptimizedSrcset(){return this._disableOptimizedSrcset}set fill(e){this._fill=Ky(e)}get fill(){return this._fill}ngOnInit(){this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||(this.sizes="100vw"):(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");const e=this.getRewrittenSrc();let t;this.setHostAttribute("src",e),this.sizes&&this.setHostAttribute("sizes",this.sizes),this.ngSrcset?t=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(t=this.getAutomaticSrcset()),t&&this.setHostAttribute("srcset",t),this.isServer&&this.priority&&this.preloadLinkChecker.createPreloadLinkTag(this.renderer,e,t,this.sizes)}ngOnChanges(e){}callImageLoader(e){let t=e;return this.loaderParams&&(t.loaderParams=this.loaderParams),this.imageLoader(t)}getLoadingBehavior(){return this.priority||void 0===this.loading?this.priority?"eager":"lazy":this.loading}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){if(!this._renderedSrc){const e={src:this.ngSrc};this._renderedSrc=this.callImageLoader(e)}return this._renderedSrc}getRewrittenSrcset(){const e=NE.test(this.ngSrcset);return this.ngSrcset.split(",").filter(i=>""!==i).map(i=>{i=i.trim();const r=e?parseFloat(i):parseFloat(i)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:r})} ${i}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){const{breakpoints:e}=this.config;let t=e;return"100vw"===this.sizes?.trim()&&(t=e.filter(r=>r>=640)),t.map(r=>`${this.callImageLoader({src:this.ngSrc,width:r})} ${r}w`).join(", ")}getFixedSrcset(){return hz.map(t=>`${this.callImageLoader({src:this.ngSrc,width:this.width*t})} ${t}x`).join(", ")}shouldGenerateAutomaticSrcset(){return!this._disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==Od&&!(this.width>1920||this.height>1080)}ngOnDestroy(){}setHostAttribute(e,t){this.renderer.setAttribute(this.imgElement,e,t)}}function zE(n){return"string"==typeof n?parseInt(n,10):n}function Ky(n){return null!=n&&"false"!=`${n}`}Dp.\u0275fac=function(e){return new(e||Dp)},Dp.\u0275dir=E({type:Dp,selectors:[["img","ngSrc",""]],hostVars:8,hostBindings:function(e,t){2&e&&wr("position",t.fill?"absolute":null)("width",t.fill?"100%":null)("height",t.fill?"100%":null)("inset",t.fill?"0px":null)},inputs:{ngSrc:"ngSrc",ngSrcset:"ngSrcset",sizes:"sizes",width:"width",height:"height",loading:"loading",priority:"priority",loaderParams:"loaderParams",disableOptimizedSrcset:"disableOptimizedSrcset",fill:"fill",src:"src",srcset:"srcset"},standalone:!0,features:[Ve]});class wz extends LV{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Xy extends wz{static makeCurrent(){!function NV(n){Ry||(Ry=n)}(new Xy)}onAndCancel(e,t,i){return e.addEventListener(t,i,!1),()=>{e.removeEventListener(t,i,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getBaseHref(e){const t=function xz(){return Pd=Pd||document.querySelector("base"),Pd?Pd.getAttribute("href"):null}();return null==t?null:function Dz(n){Mp=Mp||document.createElement("a"),Mp.setAttribute("href",n);const e=Mp.pathname;return"/"===e.charAt(0)?e:`/${e}`}(t)}resetBaseElement(){Pd=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return vE(document.cookie,e)}}let Mp,Pd=null;const jE=new A("TRANSITION_ID");const Ez=[{provide:lp,useFactory:function Mz(n,e,t){return()=>{t.get(zi).donePromise.then(()=>{const i=hi(),r=e.querySelectorAll(`style[ng-transition="${n}"]`);for(let o=0;o<r.length;o++)i.remove(r[o])})}},deps:[jE,$,He],multi:!0}];class Xa{build(){return new XMLHttpRequest}}Xa.\u0275fac=function(e){return new(e||Xa)},Xa.\u0275prov=I({token:Xa,factory:Xa.\u0275fac});const Nd=new A("EventManagerPlugins");class Gi{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(i=>{i.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,t,i){return this._findPluginFor(t).addEventListener(e,t,i)}addGlobalEventListener(e,t,i){return this._findPluginFor(t).addGlobalEventListener(e,t,i)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const i=this._plugins;for(let r=0;r<i.length;r++){const o=i[r];if(o.supports(e))return this._eventNameToPlugin.set(e,o),o}throw new Error(`No event manager plugin found for event ${e}`)}}Gi.\u0275fac=function(e){return new(e||Gi)(b(Nd),b(R))},Gi.\u0275prov=I({token:Gi,factory:Gi.\u0275fac});class Qy{constructor(e){this._doc=e}addGlobalEventListener(e,t,i){const r=hi().getGlobalEventTarget(this._doc,e);if(!r)throw new Error(`Unsupported event target ${r} for event ${t}`);return this.addEventListener(r,t,i)}}class Xo{constructor(){this.usageCount=new Map}addStyles(e){for(const t of e)1===this.changeUsageCount(t,1)&&this.onStyleAdded(t)}removeStyles(e){for(const t of e)0===this.changeUsageCount(t,-1)&&this.onStyleRemoved(t)}onStyleRemoved(e){}onStyleAdded(e){}getAllStyles(){return this.usageCount.keys()}changeUsageCount(e,t){const i=this.usageCount;let r=i.get(e)??0;return r+=t,r>0?i.set(e,r):i.delete(e),r}ngOnDestroy(){for(const e of this.getAllStyles())this.onStyleRemoved(e);this.usageCount.clear()}}Xo.\u0275fac=function(e){return new(e||Xo)},Xo.\u0275prov=I({token:Xo,factory:Xo.\u0275fac});class pi extends Xo{constructor(e){super(),this.doc=e,this.styleRef=new Map,this.hostNodes=new Set,this.resetHostNodes()}onStyleAdded(e){for(const t of this.hostNodes)this.addStyleToHost(t,e)}onStyleRemoved(e){const t=this.styleRef;t.get(e)?.forEach(r=>r.remove()),t.delete(e)}ngOnDestroy(){super.ngOnDestroy(),this.styleRef.clear(),this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(const t of this.getAllStyles())this.addStyleToHost(e,t)}removeHost(e){this.hostNodes.delete(e)}addStyleToHost(e,t){const i=this.doc.createElement("style");i.textContent=t,e.appendChild(i);const r=this.styleRef.get(t);r?r.push(i):this.styleRef.set(t,[i])}resetHostNodes(){const e=this.hostNodes;e.clear(),e.add(this.doc.head)}}pi.\u0275fac=function(e){return new(e||pi)(b($))},pi.\u0275prov=I({token:pi,factory:pi.\u0275fac});const Jy={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/"},eb=/%COMP%/g,Sz="_nghost-%COMP%",Tz="_ngcontent-%COMP%",$E=new A("RemoveStylesOnCompDestory",{providedIn:"root",factory:()=>false});function GE(n,e){return e.flat(100).map(t=>t.replace(eb,n))}function WE(n){return e=>{if("__ngUnwrap__"===e)return n;!1===n(e)&&(e.preventDefault(),e.returnValue=!1)}}class Wi{constructor(e,t,i,r){this.eventManager=e,this.sharedStylesHost=t,this.appId=i,this.removeStylesOnCompDestory=r,this.rendererByCompId=new Map,this.defaultRenderer=new tb(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;const i=this.getOrCreateRenderer(e,t);return i instanceof ZE?i.applyToHost(e):i instanceof nb&&i.applyStyles(),i}getOrCreateRenderer(e,t){const i=this.rendererByCompId;let r=i.get(t.id);if(!r){const o=this.eventManager,s=this.sharedStylesHost,a=this.removeStylesOnCompDestory;switch(t.encapsulation){case ti.Emulated:r=new ZE(o,s,t,this.appId,a);break;case ti.ShadowDom:return new Fz(o,s,e,t);default:r=new nb(o,s,t,a)}r.onDestroy=()=>i.delete(t.id),i.set(t.id,r)}return r}ngOnDestroy(){this.rendererByCompId.clear()}begin(){}end(){}}Wi.\u0275fac=function(e){return new(e||Wi)(b(Gi),b(pi),b(To),b($E))},Wi.\u0275prov=I({token:Wi,factory:Wi.\u0275fac});class tb{constructor(e){this.eventManager=e,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(e,t){return t?document.createElementNS(Jy[t]||t,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,t){(YE(e)?e.content:e).appendChild(t)}insertBefore(e,t,i){e&&(YE(e)?e.content:e).insertBefore(t,i)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let i="string"==typeof e?document.querySelector(e):e;if(!i)throw new Error(`The selector "${e}" did not match any elements`);return t||(i.textContent=""),i}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,i,r){if(r){t=r+":"+t;const o=Jy[r];o?e.setAttributeNS(o,t,i):e.setAttribute(t,i)}else e.setAttribute(t,i)}removeAttribute(e,t,i){if(i){const r=Jy[i];r?e.removeAttributeNS(r,t):e.removeAttribute(`${i}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,i,r){r&(Pi.DashCase|Pi.Important)?e.style.setProperty(t,i,r&Pi.Important?"important":""):e.style[t]=i}removeStyle(e,t,i){i&Pi.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,i){e[t]=i}setValue(e,t){e.nodeValue=t}listen(e,t,i){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,WE(i)):this.eventManager.addEventListener(e,t,WE(i))}}"@".charCodeAt(0);function YE(n){return"TEMPLATE"===n.tagName&&void 0!==n.content}class Fz extends tb{constructor(e,t,i,r){super(e),this.sharedStylesHost=t,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const o=GE(r.id,r.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,i){return super.insertBefore(this.nodeOrShadowRoot(e),t,i)}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 nb extends tb{constructor(e,t,i,r,o=i.id){super(e),this.sharedStylesHost=t,this.removeStylesOnCompDestory=r,this.rendererUsageCount=0,this.styles=GE(o,i.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 ZE extends nb{constructor(e,t,i,r,o){const s=r+"-"+i.id;super(e,t,i,o,s),this.contentAttr=function Oz(n){return Tz.replace(eb,n)}(s),this.hostAttr=function kz(n){return Sz.replace(eb,n)}(s)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,t){const i=super.createElement(e,t);return super.setAttribute(i,this.contentAttr,""),i}}class Qa extends Qy{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,i){return e.addEventListener(t,i,!1),()=>this.removeEventListener(e,t,i)}removeEventListener(e,t,i){return e.removeEventListener(t,i)}}Qa.\u0275fac=function(e){return new(e||Qa)(b($))},Qa.\u0275prov=I({token:Qa,factory:Qa.\u0275fac});const KE=["alt","control","meta","shift"],Pz={"\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"},Nz={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey};class xn extends Qy{constructor(e){super(e)}supports(e){return null!=xn.parseEventName(e)}addEventListener(e,t,i){const r=xn.parseEventName(t),o=xn.eventCallback(r.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>hi().onAndCancel(e,r.domEventName,o))}static parseEventName(e){const t=e.toLowerCase().split("."),i=t.shift();if(0===t.length||"keydown"!==i&&"keyup"!==i)return null;const r=xn._normalizeKey(t.pop());let o="",s=t.indexOf("code");if(s>-1&&(t.splice(s,1),o="code."),KE.forEach(l=>{const c=t.indexOf(l);c>-1&&(t.splice(c,1),o+=l+".")}),o+=r,0!=t.length||0===r.length)return null;const a={};return a.domEventName=i,a.fullKey=o,a}static matchEventFullKeyCode(e,t){let i=Pz[e.key]||e.key,r="";return t.indexOf("code.")>-1&&(i=e.code,r="code."),!(null==i||!i)&&(i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),KE.forEach(o=>{if(o!==i){(0,Nz[o])(e)&&(r+=o+".")}}),r+=i,r===t)}static eventCallback(e,t,i){return r=>{xn.matchEventFullKeyCode(r,e)&&i.runGuarded(()=>t(r))}}static _normalizeKey(e){return"esc"===e?"escape":e}}xn.\u0275fac=function(e){return new(e||xn)(b($))},xn.\u0275prov=I({token:xn,factory:xn.\u0275fac});const QE=[{provide:Ua,useValue:IE},{provide:R0,useValue:function Lz(){Xy.makeCurrent()},multi:!0},{provide:$,useFactory:function Bz(){return function ER(n){f_=n}(document),document},deps:[]}],zz=$0(FV,"browser",QE),JE=new A(""),eI=[{provide:cp,useClass:class Iz{addToWindow(e){ze.getAngularTestability=(i,r=!0)=>{const o=e.findTestabilityInTree(i,r);if(null==o)throw new Error("Could not find testability for element.");return o},ze.getAllAngularTestabilities=()=>e.getAllTestabilities(),ze.getAllAngularRootElements=()=>e.getAllRootElements();ze.frameworkStabilizers||(ze.frameworkStabilizers=[]),ze.frameworkStabilizers.push(i=>{const r=ze.getAllAngularTestabilities();let o=r.length,s=!1;const a=function(l){s=s||l,o--,0==o&&i(s)};r.forEach(function(l){l.whenStable(a)})})}findTestabilityInTree(e,t,i){if(null==t)return null;return e.getTestability(t)??(i?hi().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null)}},deps:[]},{provide:B0,useClass:Mr,deps:[R,Er,cp]},{provide:Mr,useClass:Mr,deps:[R,Er,cp]}],tI=[{provide:C_,useValue:"root"},{provide:xa,useFactory:function Vz(){return new xa},deps:[]},{provide:Nd,useClass:Qa,multi:!0,deps:[$,R,Ua]},{provide:Nd,useClass:xn,multi:!0,deps:[$]},{provide:Wi,useClass:Wi,deps:[Gi,pi,To,$E]},{provide:id,useExisting:Wi},{provide:Xo,useExisting:pi},{provide:pi,useClass:pi,deps:[$]},{provide:Gi,useClass:Gi,deps:[Nd,R]},{provide:AE,useClass:Xa,deps:[]},[]];class mi{constructor(e){false}static withServerTransition(e){return{ngModule:mi,providers:[{provide:To,useValue:e.appId},{provide:jE,useExisting:To},Ez]}}}mi.\u0275fac=function(e){return new(e||mi)(b(JE,12))},mi.\u0275mod=te({type:mi}),mi.\u0275inj=X({providers:[...tI,...eI],imports:[Yn,$a]});class Ld{constructor(e){this._doc=e,this._dom=hi()}addTag(e,t=!1){return e?this._getOrCreateElement(e,t):null}addTags(e,t=!1){return e?e.reduce((i,r)=>(r&&i.push(this._getOrCreateElement(r,t)),i),[]):[]}getTag(e){return e&&this._doc.querySelector(`meta[${e}]`)||null}getTags(e){if(!e)return[];const t=this._doc.querySelectorAll(`meta[${e}]`);return t?[].slice.call(t):[]}updateTag(e,t){if(!e)return null;t=t||this._parseSelector(e);const i=this.getTag(t);return i?this._setMetaElementAttributes(e,i):this._getOrCreateElement(e,!0)}removeTag(e){this.removeTagElement(this.getTag(e))}removeTagElement(e){e&&this._dom.remove(e)}_getOrCreateElement(e,t=!1){if(!t){const o=this._parseSelector(e),s=this.getTags(o).filter(a=>this._containsAttributes(e,a))[0];if(void 0!==s)return s}const i=this._dom.createElement("meta");return this._setMetaElementAttributes(e,i),this._doc.getElementsByTagName("head")[0].appendChild(i),i}_setMetaElementAttributes(e,t){return Object.keys(e).forEach(i=>t.setAttribute(this._getMetaKeyMap(i),e[i])),t}_parseSelector(e){const t=e.name?"name":"property";return`${t}="${e[t]}"`}_containsAttributes(e,t){return Object.keys(e).every(i=>t.getAttribute(this._getMetaKeyMap(i))===e[i])}_getMetaKeyMap(e){return Hz[e]||e}}Ld.\u0275fac=function(e){return new(e||Ld)(b($))},Ld.\u0275prov=I({token:Ld,factory:function(e){let t=null;return t=e?new e:function jz(){return new Ld(b($))}(),t},providedIn:"root"});const Hz={httpEquiv:"http-equiv"};class Ja{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}Ja.\u0275fac=function(e){return new(e||Ja)(b($))},Ja.\u0275prov=I({token:Ja,factory:function(e){let t=null;return t=e?new e:function Uz(){return new Ja(b($))}(),t},providedIn:"root"});typeof window<"u"&&window;class Vd{constructor(){this.store={},this.onSerializeCallbacks={},this.store=function qz(n,e){const t=n.getElementById(e+"-state");let i={};if(t&&t.textContent)try{i=JSON.parse(function Wz(n){const e={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"};return n.replace(/&[^;]+;/g,t=>e[t])}(t.textContent))}catch(r){console.warn("Exception while restoring TransferState for app "+e,r)}return i}(H($),H(To))}get(e,t){return void 0!==this.store[e]?this.store[e]:t}set(e,t){this.store[e]=t}remove(e){delete this.store[e]}hasKey(e){return this.store.hasOwnProperty(e)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(e,t){this.onSerializeCallbacks[e]=t}toJson(){for(const e in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(e))try{this.store[e]=this.onSerializeCallbacks[e]()}catch(t){console.warn("Exception in onSerialize callback: ",t)}return JSON.stringify(this.store)}}Vd.\u0275fac=function(e){return new(e||Vd)},Vd.\u0275prov=I({token:Vd,factory:Vd.\u0275fac,providedIn:"root"});class Bd{}Bd.\u0275fac=function(e){return new(e||Bd)},Bd.\u0275mod=te({type:Bd}),Bd.\u0275inj=X({});const Zz={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},ob=new A("HammerGestureConfig"),rI=new A("HammerLoader");class el{constructor(){this.events=[],this.overrides={}}buildHammer(e){const t=new Hammer(e,this.options);t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0});for(const i in this.overrides)t.get(i).set(this.overrides[i]);return t}}el.\u0275fac=function(e){return new(e||el)},el.\u0275prov=I({token:el,factory:el.\u0275fac});class tl extends Qy{constructor(e,t,i,r){super(e),this._config=t,this.console=i,this.loader=r,this._loaderPromise=null}supports(e){return!(!Zz.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e)||!window.Hammer&&!this.loader)}addEventListener(e,t,i){const r=this.manager.getZone();if(t=t.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||r.runOutsideAngular(()=>this.loader());let o=!1,s=()=>{o=!0};return r.runOutsideAngular(()=>this._loaderPromise.then(()=>{window.Hammer?o||(s=this.addEventListener(e,t,i)):s=()=>{}}).catch(()=>{s=()=>{}})),()=>{s()}}return r.runOutsideAngular(()=>{const o=this._config.buildHammer(e),s=function(a){r.runGuarded(function(){i(a)})};return o.on(t,s),()=>{o.off(t,s),"function"==typeof o.destroy&&o.destroy()}})}isCustomEvent(e){return this._config.events.indexOf(e)>-1}}tl.\u0275fac=function(e){return new(e||tl)(b($),b(ob),b(Dr),b(rI,8))},tl.\u0275prov=I({token:tl,factory:tl.\u0275fac});class zd{}zd.\u0275fac=function(e){return new(e||zd)},zd.\u0275mod=te({type:zd}),zd.\u0275inj=X({providers:[{provide:Nd,useClass:tl,multi:!0,deps:[$,ob,Dr,[new Co,rI]]},{provide:ob,useClass:el,deps:[]}]});class nl{}nl.\u0275fac=function(e){return new(e||nl)},nl.\u0275prov=I({token:nl,factory:function(e){let t=null;return t=e?new(e||nl):b(il),t},providedIn:"root"});class il extends nl{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case sn.NONE:return t;case sn.HTML:return oi(t,"HTML")?on(t):wx(this._doc,String(t)).toString();case sn.STYLE:return oi(t,"Style")?on(t):t;case sn.SCRIPT:if(oi(t,"Script"))return on(t);throw new Error("unsafe value used in a script context");case sn.URL:return oi(t,"URL")?on(t):Rf(String(t));case sn.RESOURCE_URL:if(oi(t,"ResourceURL"))return on(t);throw new Error(`unsafe value used in a resource URL context (see ${Jh})`);default:throw new Error(`Unexpected SecurityContext ${e} (see ${Jh})`)}}bypassSecurityTrustHtml(e){return function RR(n){return new IR(n)}(e)}bypassSecurityTrustStyle(e){return function FR(n){return new SR(n)}(e)}bypassSecurityTrustScript(e){return function PR(n){return new TR(n)}(e)}bypassSecurityTrustUrl(e){return function NR(n){return new AR(n)}(e)}bypassSecurityTrustResourceUrl(e){return function LR(n){return new OR(n)}(e)}}il.\u0275fac=function(e){return new(e||il)(b($))},il.\u0275prov=I({token:il,factory:function(e){let t=null;return t=e?new e:function Kz(n){return new il(n.get($))}(b(He)),t},providedIn:"root"});new Mo("15.2.2");class oI{}class Xz{}const qi="*";function Ep(n,e){return{type:7,name:n,definitions:e,options:{}}}function Yi(n,e=null){return{type:4,styles:e,timings:n}}function sb(n,e=null){return{type:3,steps:n,options:e}}function sI(n,e=null){return{type:2,steps:n,options:e}}function wt(n){return{type:6,styles:n,offset:null}}function Qo(n,e,t){return{type:0,name:n,styles:e,options:t}}function Tr(n,e,t=null){return{type:1,expr:n,animation:e,options:t}}function aI(n=null){return{type:9,options:n}}function lI(n,e,t=null){return{type:11,selector:n,animation:e,options:t}}function cI(n){Promise.resolve().then(n)}class jd{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(){cI(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}class dI{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let t=0,i=0,r=0;const o=this.players.length;0==o?cI(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++t==o&&this._onFinish()}),s.onDestroy(()=>{++i==o&&this._onDestroy()}),s.onStart(()=>{++r==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){const t=e*this.totalTime;this.players.forEach(i=>{const r=i.totalTime?Math.min(1,t/i.totalTime):1;i.setPosition(r)})}getPosition(){const e=this.players.reduce((t,i)=>null===t||i.totalTime>t.totalTime?i:t,null);return null!=e?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}const ab="!";function uI(n){return new w(3e3,!1)}function lb(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function Ar(n){switch(n.length){case 0:return new jd;case 1:return n[0];default:return new dI(n)}}function hI(n,e,t,i,r=new Map,o=new Map){const s=[],a=[];let l=-1,c=null;if(i.forEach(d=>{const u=d.get("offset"),h=u==l,p=h&&c||new Map;d.forEach((m,g)=>{let v=g,D=m;if("offset"!==g)switch(v=e.normalizePropertyName(v,s),D){case ab:D=r.get(g);break;case qi:D=o.get(g);break;default:D=e.normalizeStyleValue(g,v,D,s)}p.set(v,D)}),h||a.push(p),c=p,l=u}),s.length)throw function v3(n){return new w(3502,!1)}();return a}function cb(n,e,t,i){switch(e){case"start":n.onStart(()=>i(t&&db(t,"start",n)));break;case"done":n.onDone(()=>i(t&&db(t,"done",n)));break;case"destroy":n.onDestroy(()=>i(t&&db(t,"destroy",n)))}}function db(n,e,t){const i=t.totalTime,r=!!t.disabled,o=ub(n.element,n.triggerName,n.fromState,n.toState,e||n.phaseName,i??n.totalTime,r),s=n._data;return null!=s&&(o._data=s),o}function ub(n,e,t,i,r="",o=0,s){return{element:n,triggerName:e,fromState:t,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function cn(n,e,t){let i=n.get(e);return i||n.set(e,i=t),i}function fI(n){const e=n.indexOf(":");return[n.substring(1,e),n.slice(e+1)]}let hb=(n,e)=>!1,pI=(n,e,t)=>[],mI=null;function fb(n){const e=n.parentNode||n.host;return e===mI?null:e}(lb()||typeof Element<"u")&&(function k3(){return typeof window<"u"&&typeof window.document<"u"}()?(mI=(()=>document.documentElement)(),hb=(n,e)=>{for(;e;){if(e===n)return!0;e=fb(e)}return!1}):hb=(n,e)=>n.contains(e),pI=(n,e,t)=>{if(t)return Array.from(n.querySelectorAll(e));const i=n.querySelector(e);return i?[i]:[]});let Jo=null,gI=!1;function F3(n){Jo||(Jo=function P3(){return typeof document<"u"?document.body:null}()||{},gI=!!Jo.style&&"WebkitAppearance"in Jo.style);let e=!0;return Jo.style&&!function R3(n){return"ebkit"==n.substring(1,6)}(n)&&(e=n in Jo.style,!e&&gI&&(e="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in Jo.style)),e}const _I=hb,yI=pI;class es{validateStyleProperty(e){return F3(e)}matchesElement(e,t){return!1}containsElement(e,t){return _I(e,t)}getParentElement(e){return fb(e)}query(e,t,i){return yI(e,t,i)}computeStyle(e,t,i){return i||""}animate(e,t,i,r,o,s=[],a){return new jd(i,r)}}es.\u0275fac=function(e){return new(e||es)},es.\u0275prov=I({token:es,factory:es.\u0275fac});class Ip{}Ip.NOOP=new es;const N3=1e3,pb="ng-enter",Sp="ng-leave",Tp="ng-trigger",Ap=".ng-trigger",vI="ng-animating",mb=".ng-animating";function Zi(n){if("number"==typeof n)return n;const e=n.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:gb(parseFloat(e[1]),e[2])}function gb(n,e){return"s"===e?n*N3:n}function Op(n,e,t){return n.hasOwnProperty("duration")?n:function V3(n,e,t){const i=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;let r,o=0,s="";if("string"==typeof n){const a=n.match(i);if(null===a)return e.push(uI()),{duration:0,delay:0,easing:""};r=gb(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(o=gb(parseFloat(l),a[4]));const c=a[5];c&&(s=c)}else r=n;if(!t){let a=!1,l=e.length;r<0&&(e.push(function Qz(){return new w(3100,!1)}()),a=!0),o<0&&(e.push(function Jz(){return new w(3101,!1)}()),a=!0),a&&e.splice(l,0,uI())}return{duration:r,delay:o,easing:s}}(n,e,t)}function Hd(n,e={}){return Object.keys(n).forEach(t=>{e[t]=n[t]}),e}function CI(n){const e=new Map;return Object.keys(n).forEach(t=>{const i=n[t];e.set(t,i)}),e}function Or(n,e=new Map,t){if(t)for(let[i,r]of t)e.set(i,r);for(let[i,r]of n)e.set(i,r);return e}function xI(n,e,t){return t?e+":"+t+";":""}function DI(n){let e="";for(let t=0;t<n.style.length;t++){const i=n.style.item(t);e+=xI(0,i,n.style.getPropertyValue(i))}for(const t in n.style){if(!n.style.hasOwnProperty(t)||t.startsWith("_"))continue;e+=xI(0,H3(t),n.style[t])}n.setAttribute("style",e)}function gi(n,e,t){n.style&&(e.forEach((i,r)=>{const o=yb(r);t&&!t.has(r)&&t.set(r,n.style[o]),n.style[o]=i}),lb()&&DI(n))}function ts(n,e){n.style&&(e.forEach((t,i)=>{const r=yb(i);n.style[r]=""}),lb()&&DI(n))}function Ud(n){return Array.isArray(n)?1==n.length?n[0]:sI(n):n}function z3(n,e,t){const i=e.params||{},r=MI(n);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||t.push(function e3(n){return new w(3001,!1)}())})}const _b=new RegExp("{{\\s*(.+?)\\s*}}","g");function MI(n){let e=[];if("string"==typeof n){let t;for(;t=_b.exec(n);)e.push(t[1]);_b.lastIndex=0}return e}function $d(n,e,t){const i=n.toString(),r=i.replace(_b,(o,s)=>{let a=e[s];return null==a&&(t.push(function t3(n){return new w(3003,!1)}()),a=""),a.toString()});return r==i?n:r}function kp(n){const e=[];let t=n.next();for(;!t.done;)e.push(t.value),t=n.next();return e}const j3=/-+([a-z0-9])/g;function yb(n){return n.replace(j3,(...e)=>e[1].toUpperCase())}function H3(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function dn(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 n3(n){return new w(3004,!1)}(e.type)}}function EI(n,e){return window.getComputedStyle(n)[e]}const Rp=!1;function Fp(n){const e="\n - ";return`${e}${n.filter(Boolean).map(t=>t).join(e)}`}const Pp="*";function Y3(n,e){const t=[];return"string"==typeof n?n.split(/\s*,\s*/).forEach(i=>function Z3(n,e,t){if(":"==n[0]){const l=function K3(n,e){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,i)=>parseFloat(i)>parseFloat(t);case":decrement":return(t,i)=>parseFloat(i)<parseFloat(t);default:return e.push(function g3(n){return new w(3016,!1)}()),"* => *"}}(n,t);if("function"==typeof l)return void e.push(l);n=l}const i=n.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return t.push(function m3(n){return new w(3015,!1)}()),e;const r=i[1],o=i[2],s=i[3];e.push(II(r,s));const a=r==Pp&&s==Pp;"<"==o[0]&&!a&&e.push(II(s,r))}(i,t,e)):t.push(n),t}const Np=new Set(["true","1"]),Lp=new Set(["false","0"]);function II(n,e){const t=Np.has(n)||Lp.has(n),i=Np.has(e)||Lp.has(e);return(r,o)=>{let s=n==Pp||n==r,a=e==Pp||e==o;return!s&&t&&"boolean"==typeof r&&(s=r?Np.has(n):Lp.has(n)),!a&&i&&"boolean"==typeof o&&(a=o?Np.has(e):Lp.has(e)),s&&a}}const SI=":self",X3=new RegExp(`s*${SI}s*,?`,"g");function bb(n,e,t,i){return new Q3(n).build(e,t,i)}class Q3{constructor(e){this._driver=e}build(e,t,i){const r=new tj(t);return this._resetContextStyleTimingState(r),dn(this,Ud(e),r)}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles=new Map,e.collectedStyles.set("",new Map),e.currentTime=0}visitTrigger(e,t){let i=t.queryCount=0,r=t.depCount=0;const o=[],s=[];return"@"==e.name.charAt(0)&&t.errors.push(function r3(){return new w(3006,!1)}()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(t),0==a.type){const l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,o.push(this.visitState(l,t))}),l.name=c}else if(1==a.type){const l=this.visitTransition(a,t);i+=l.queryCount,r+=l.depCount,s.push(l)}else t.errors.push(function o3(){return new w(3007,!1)}())}),{type:7,name:e.name,states:o,transitions:s,queryCount:i,depCount:r,options:null}}visitState(e,t){const i=this.visitStyle(e.styles,t),r=e.options&&e.options.params||null;if(i.containsDynamicStyles){const o=new Set,s=r||{};if(i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{MI(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size){kp(o.values());t.errors.push(function s3(n,e){return new w(3008,!1)}(e.name))}}return{type:0,name:e.name,style:i,options:r?{params:r}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;const i=dn(this,Ud(e.animation),t);return{type:1,matchers:Y3(e.expr,t.errors),animation:i,queryCount:t.queryCount,depCount:t.depCount,options:ns(e.options)}}visitSequence(e,t){return{type:2,steps:e.steps.map(i=>dn(this,i,t)),options:ns(e.options)}}visitGroup(e,t){const i=t.currentTime;let r=0;const o=e.steps.map(s=>{t.currentTime=i;const a=dn(this,s,t);return r=Math.max(r,t.currentTime),a});return t.currentTime=r,{type:3,steps:o,options:ns(e.options)}}visitAnimate(e,t){const i=function ij(n,e){if(n.hasOwnProperty("duration"))return n;if("number"==typeof n){return vb(Op(n,e).duration,0,"")}const t=n;if(t.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=vb(0,0,"");return o.dynamic=!0,o.strValue=t,o}const r=Op(t,e);return vb(r.duration,r.delay,r.easing)}(e.timings,t.errors);t.currentAnimateTimings=i;let r,o=e.styles?e.styles:wt({});if(5==o.type)r=this.visitKeyframes(o,t);else{let s=e.styles,a=!1;if(!s){a=!0;const c={};i.easing&&(c.easing=i.easing),s=wt(c)}t.currentTime+=i.duration+i.delay;const l=this.visitStyle(s,t);l.isEmptyStep=a,r=l}return t.currentAnimateTimings=null,{type:4,timings:i,style:r,options:null}}visitStyle(e,t){const i=this._makeStyleAst(e,t);return this._validateStyleAst(i,t),i}_makeStyleAst(e,t){const i=[],r=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of r)"string"==typeof a?a===qi?i.push(a):t.errors.push(new w(3002,!1)):i.push(CI(a));let o=!1,s=null;return i.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o))for(let l of a.values())if(l.toString().indexOf("{{")>=0){o=!0;break}}),{type:6,styles:i,easing:s,offset:e.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(e,t){const i=t.currentAnimateTimings;let r=t.currentTime,o=t.currentTime;i&&o>0&&(o-=i.duration+i.delay),e.styles.forEach(s=>{"string"!=typeof s&&s.forEach((a,l)=>{const c=t.collectedStyles.get(t.currentQuerySelector),d=c.get(l);let u=!0;d&&(o!=r&&o>=d.startTime&&r<=d.endTime&&(t.errors.push(function l3(n,e,t,i,r){return new w(3010,!1)}(0,d.startTime,d.endTime)),u=!1),o=d.startTime),u&&c.set(l,{startTime:o,endTime:r}),t.options&&z3(a,t.options,t.errors)})})}visitKeyframes(e,t){const i={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(function c3(){return new w(3011,!1)}()),i;let o=0;const s=[];let a=!1,l=!1,c=0;const d=e.steps.map(D=>{const O=this._makeStyleAst(D,t);let x=null!=O.offset?O.offset:function nj(n){if("string"==typeof n)return null;let e=null;if(Array.isArray(n))n.forEach(t=>{if(t instanceof Map&&t.has("offset")){const i=t;e=parseFloat(i.get("offset")),i.delete("offset")}});else if(n instanceof Map&&n.has("offset")){const t=n;e=parseFloat(t.get("offset")),t.delete("offset")}return e}(O.styles),N=0;return null!=x&&(o++,N=O.offset=x),l=l||N<0||N>1,a=a||N<c,c=N,s.push(N),O});l&&t.errors.push(function d3(){return new w(3012,!1)}()),a&&t.errors.push(function u3(){return new w(3200,!1)}());const u=e.steps.length;let h=0;o>0&&o<u?t.errors.push(function h3(){return new w(3202,!1)}()):0==o&&(h=1/(u-1));const p=u-1,m=t.currentTime,g=t.currentAnimateTimings,v=g.duration;return d.forEach((D,O)=>{const x=h>0?O==p?1:h*O:s[O],N=x*v;t.currentTime=m+g.delay+N,g.duration=N,this._validateStyleAst(D,t),D.offset=x,i.styles.push(D)}),i}visitReference(e,t){return{type:8,animation:dn(this,Ud(e.animation),t),options:ns(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:9,options:ns(e.options)}}visitAnimateRef(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:ns(e.options)}}visitQuery(e,t){const i=t.currentQuerySelector,r=e.options||{};t.queryCount++,t.currentQuery=e;const[o,s]=function J3(n){const e=!!n.split(/\s*,\s*/).find(t=>t==SI);return e&&(n=n.replace(X3,"")),n=n.replace(/@\*/g,Ap).replace(/@\w+/g,t=>Ap+"-"+t.slice(1)).replace(/:animating/g,mb),[n,e]}(e.selector);t.currentQuerySelector=i.length?i+" "+o:o,cn(t.collectedStyles,t.currentQuerySelector,new Map);const a=dn(this,Ud(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=i,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:e.selector,options:ns(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(function f3(){return new w(3013,!1)}());const i="full"===e.timings?{duration:0,delay:0,easing:"full"}:Op(e.timings,t.errors,!0);return{type:12,animation:dn(this,Ud(e.animation),t),timings:i,options:null}}}class tj{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 ns(n){return n?(n=Hd(n)).params&&(n.params=function ej(n){return n?Hd(n):null}(n.params)):n={},n}function vb(n,e,t){return{duration:n,delay:e,easing:t}}function Cb(n,e,t,i,r,o,s=null,a=!1){return{type:1,element:n,keyframes:e,preStyleProps:t,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}class Vp{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,t){let i=this._map.get(e);i||this._map.set(e,i=[]),i.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}}const sj=new RegExp(":enter","g"),lj=new RegExp(":leave","g");function wb(n,e,t,i,r,o=new Map,s=new Map,a,l,c=[]){return(new cj).buildKeyframes(n,e,t,i,r,o,s,a,l,c)}class cj{buildKeyframes(e,t,i,r,o,s,a,l,c,d=[]){c=c||new Vp;const u=new xb(e,t,c,r,o,d,[]);u.options=l;const h=l.delay?Zi(l.delay):0;u.currentTimeline.delayNextStep(h),u.currentTimeline.setStyles([s],null,u.errors,l),dn(this,i,u);const p=u.timelines.filter(m=>m.containsAnimation());if(p.length&&a.size){let m;for(let g=p.length-1;g>=0;g--){const v=p[g];if(v.element===t){m=v;break}}m&&!m.allowOnlyTimelineStyles()&&m.setStyles([a],null,u.errors,l)}return p.length?p.map(m=>m.buildKeyframes()):[Cb(t,[],[],[],0,h,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){const i=t.subInstructions.get(t.element);if(i){const r=t.createSubContext(e.options),o=t.currentTimeline.currentTime,s=this._visitSubInstructions(i,r,r.options);o!=s&&t.transformIntoNewTimeline(s)}t.previousNode=e}visitAnimateRef(e,t){const i=t.createSubContext(e.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,i),this.visitReference(e.animation,i),t.transformIntoNewTimeline(i.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,i){for(const r of e){const o=r?.delay;if(o){const s="number"==typeof o?o:Zi($d(o,r?.params??{},t.errors));i.delayNextStep(s)}}}_visitSubInstructions(e,t,i){let o=t.currentTimeline.currentTime;const s=null!=i.duration?Zi(i.duration):null,a=null!=i.delay?Zi(i.delay):null;return 0!==s&&e.forEach(l=>{const c=t.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(e,t){t.updateOptions(e.options,!0),dn(this,e.animation,t),t.previousNode=e}visitSequence(e,t){const i=t.subContextCount;let r=t;const o=e.options;if(o&&(o.params||o.delay)&&(r=t.createSubContext(o),r.transformIntoNewTimeline(),null!=o.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Bp);const s=Zi(o.delay);r.delayNextStep(s)}e.steps.length&&(e.steps.forEach(s=>dn(this,s,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){const i=[];let r=t.currentTimeline.currentTime;const o=e.options&&e.options.delay?Zi(e.options.delay):0;e.steps.forEach(s=>{const a=t.createSubContext(e.options);o&&a.delayNextStep(o),dn(this,s,a),r=Math.max(r,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(s=>t.currentTimeline.mergeTimelineCollectedStyles(s)),t.transformIntoNewTimeline(r),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){const i=e.strValue;return Op(t.params?$d(i,t.params,t.errors):i,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){const i=t.currentAnimateTimings=this._visitTiming(e.timings,t),r=t.currentTimeline;i.delay&&(t.incrementTime(i.delay),r.snapshotCurrentStyles());const o=e.style;5==o.type?this.visitKeyframes(o,t):(t.incrementTime(i.duration),this.visitStyle(o,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){const i=t.currentTimeline,r=t.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();const o=r&&r.easing||e.easing;e.isEmptyStep?i.applyEmptyStep(o):i.setStyles(e.styles,o,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){const i=t.currentAnimateTimings,r=t.currentTimeline.duration,o=i.duration,a=t.createSubContext().currentTimeline;a.easing=i.easing,e.styles.forEach(l=>{const c=l.offset||0;a.forwardTime(c*o),a.setStyles(l.styles,l.easing,t.errors,t.options),a.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(a),t.transformIntoNewTimeline(r+o),t.previousNode=e}visitQuery(e,t){const i=t.currentTimeline.currentTime,r=e.options||{},o=r.delay?Zi(r.delay):0;o&&(6===t.previousNode.type||0==i&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Bp);let s=i;const a=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=a.length;let l=null;a.forEach((c,d)=>{t.currentQueryIndex=d;const u=t.createSubContext(e.options,c);o&&u.delayNextStep(o),c===t.element&&(l=u.currentTimeline),dn(this,e.animation,u),u.currentTimeline.applyStylesToKeyframe();const h=u.currentTimeline.currentTime;s=Math.max(s,h)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(s),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){const i=t.parentContext,r=t.currentTimeline,o=e.timings,s=Math.abs(o.duration),a=s*(t.currentQueryTotal-1);let l=s*t.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime}const d=t.currentTimeline;l&&d.delayNextStep(l);const u=d.currentTime;dn(this,e.animation,t),t.previousNode=e,i.currentStaggerTime=r.currentTime-u+(r.startTime-i.currentTimeline.startTime)}}const Bp={};class xb{constructor(e,t,i,r,o,s,a,l){this._driver=e,this.element=t,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Bp,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new zp(this._driver,t,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;const i=e;let r=this.options;null!=i.duration&&(r.duration=Zi(i.duration)),null!=i.delay&&(r.delay=Zi(i.delay));const o=i.params;if(o){let s=r.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!t||!s.hasOwnProperty(a))&&(s[a]=$d(o[a],s,this.errors))})}}_copyOptions(){const e={};if(this.options){const t=this.options.params;if(t){const i=e.params={};Object.keys(t).forEach(r=>{i[r]=t[r]})}}return e}createSubContext(e=null,t,i){const r=t||this.element,o=new xb(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(e){return this.previousNode=Bp,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,i){const r={duration:t??e.duration,delay:this.currentTimeline.currentTime+(i??0)+e.delay,easing:""},o=new dj(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,i,r,o,s){let a=[];if(r&&a.push(this.element),e.length>0){e=(e=e.replace(sj,"."+this._enterClassName)).replace(lj,"."+this._leaveClassName);const l=1!=i;let c=this._driver.query(this.element,e,l);0!==i&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),a.push(...c)}return!o&&0==a.length&&s.push(function p3(n){return new w(3014,!1)}()),a}}class zp{constructor(e,t,i,r){this._driver=e,this.element=t,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(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 zp(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[t,i]of this._globalTimelineStyles)this._backFill.set(t,i||qi),this._currentKeyframe.set(t,qi);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,i,r){t&&this._previousKeyframe.set("easing",t);const o=r&&r.params||{},s=function uj(n,e){const t=new Map;let i;return n.forEach(r=>{if("*"===r){i=i||e.keys();for(let o of i)t.set(o,qi)}else Or(r,t)}),t}(e,this._globalTimelineStyles);for(let[a,l]of s){const c=$d(l,o,i);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??qi),this._updateStyle(a,c)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,e)}))}snapshotCurrentStyles(){for(let[e,t]of this._localTimelineStyles)this._pendingStyles.set(e,t),this._updateStyle(e,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((t,i)=>{const r=this._styleSummary.get(i);(!r||t.time>r.time)&&this._updateStyle(i,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,t=new Set,i=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((a,l)=>{const c=Or(a,new Map,this._backFill);c.forEach((d,u)=>{d===ab?e.add(u):d===qi&&t.add(u)}),i||c.set("offset",l/this.duration),r.push(c)});const o=e.size?kp(e.values()):[],s=t.size?kp(t.values()):[];if(i){const a=r[0],l=new Map(a);a.set("offset",0),l.set("offset",1),r=[a,l]}return Cb(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}}class dj extends zp{constructor(e,t,i,r,o,s,a=!1){super(e,t,s.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&t){const o=[],s=i+t,a=t/s,l=Or(e[0]);l.set("offset",0),o.push(l);const c=Or(e[0]);c.set("offset",AI(a)),o.push(c);const d=e.length-1;for(let u=1;u<=d;u++){let h=Or(e[u]);const m=t+h.get("offset")*i;h.set("offset",AI(m/s)),o.push(h)}i=s,t=0,r="",e=o}return Cb(this.element,e,this.preStyleProps,this.postStyleProps,i,t,r,!0)}}function AI(n,e=3){const t=Math.pow(10,e-1);return Math.round(n*t)/t}class Db{}const hj=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 fj extends Db{normalizePropertyName(e,t){return yb(e)}normalizeStyleValue(e,t,i,r){let o="";const s=i.toString().trim();if(hj.has(t)&&0!==i&&"0"!==i)if("number"==typeof i)o="px";else{const a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push(function i3(n,e){return new w(3005,!1)}())}return s+o}}function OI(n,e,t,i,r,o,s,a,l,c,d,u,h){return{type:0,element:n,triggerName:e,isRemovalTransition:r,fromState:t,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:h}}const Mb={};class kI{constructor(e,t,i){this._triggerName=e,this.ast=t,this._stateStyles=i}match(e,t,i,r){return function pj(n,e,t,i,r){return n.some(o=>o(e,t,i,r))}(this.ast.matchers,e,t,i,r)}buildStyles(e,t,i){let r=this._stateStyles.get("*");return void 0!==e&&(r=this._stateStyles.get(e?.toString())||r),r?r.buildStyles(t,i):new Map}build(e,t,i,r,o,s,a,l,c,d){const u=[],h=this.ast.options&&this.ast.options.params||Mb,p=a&&a.params||Mb,m=this.buildStyles(i,p,u),g=l&&l.params||Mb,v=this.buildStyles(r,g,u),D=new Set,O=new Map,x=new Map,N="void"===r,me={params:mj(g,h),delay:this.ast.options?.delay},Ce=d?[]:wb(e,t,this.ast.animation,o,s,m,v,me,c,u);let Ft=0;if(Ce.forEach(ur=>{Ft=Math.max(ur.duration+ur.delay,Ft)}),u.length)return OI(t,this._triggerName,i,r,N,m,v,[],[],O,x,Ft,u);Ce.forEach(ur=>{const hr=ur.element,RO=cn(O,hr,new Set);ur.preStyleProps.forEach(Xs=>RO.add(Xs));const qh=cn(x,hr,new Set);ur.postStyleProps.forEach(Xs=>qh.add(Xs)),hr!==t&&D.add(hr)});const dr=kp(D.values());return OI(t,this._triggerName,i,r,N,m,v,Ce,dr,O,x,Ft)}}function mj(n,e){const t=Hd(e);for(const i in n)n.hasOwnProperty(i)&&null!=n[i]&&(t[i]=n[i]);return t}class gj{constructor(e,t,i){this.styles=e,this.defaultParams=t,this.normalizer=i}buildStyles(e,t){const i=new Map,r=Hd(this.defaultParams);return Object.keys(e).forEach(o=>{const s=e[o];null!==s&&(r[o]=s)}),this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((s,a)=>{s&&(s=$d(s,r,t));const l=this.normalizer.normalizePropertyName(a,t);s=this.normalizer.normalizeStyleValue(a,l,s,t),i.set(a,s)})}),i}}class yj{constructor(e,t,i){this.name=e,this.ast=t,this._normalizer=i,this.transitionFactories=[],this.states=new Map,t.states.forEach(r=>{const o=r.options&&r.options.params||{};this.states.set(r.name,new gj(r.style,o,i))}),RI(this.states,"true","1"),RI(this.states,"false","0"),t.transitions.forEach(r=>{this.transitionFactories.push(new kI(e,r,this.states))}),this.fallbackTransition=function bj(n,e,t){return new kI(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[(s,a)=>!0],options:null,queryCount:0,depCount:0},e)}(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,i,r){return this.transitionFactories.find(s=>s.match(e,t,i,r))||null}matchStyles(e,t,i){return this.fallbackTransition.buildStyles(e,t,i)}}function RI(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 vj=new Vp;class Cj{constructor(e,t,i){this.bodyNode=e,this._driver=t,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,t){const i=[],r=[],o=bb(this._driver,t,i,r);if(i.length)throw function C3(n){return new w(3503,!1)}();r.length&&function q3(n){Rp&&console.warn(`Animation built with the following warnings:${Fp(n)}`)}(r),this._animations.set(e,o)}_buildPlayer(e,t,i){const r=e.element,o=hI(this._driver,this._normalizer,0,e.keyframes,t,i);return this._driver.animate(r,o,e.duration,e.delay,e.easing,[],!0)}create(e,t,i={}){const r=[],o=this._animations.get(e);let s;const a=new Map;if(o?(s=wb(this._driver,t,o,pb,Sp,new Map,new Map,i,vj,r),s.forEach(d=>{const u=cn(a,d.element,new Map);d.postStyleProps.forEach(h=>u.set(h,null))})):(r.push(function w3(){return new w(3300,!1)}()),s=[]),r.length)throw function x3(n){return new w(3504,!1)}();a.forEach((d,u)=>{d.forEach((h,p)=>{d.set(p,this._driver.computeStyle(u,p,qi))})});const c=Ar(s.map(d=>{const u=a.get(d.element);return this._buildPlayer(d,new Map,u)}));return this._playersById.set(e,c),c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){const t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);const i=this.players.indexOf(t);i>=0&&this.players.splice(i,1)}_getPlayer(e){const t=this._playersById.get(e);if(!t)throw function D3(n){return new w(3301,!1)}();return t}listen(e,t,i,r){const o=ub(t,"","","");return cb(this._getPlayer(e),i,o,r),()=>{}}command(e,t,i,r){if("register"==i)return void this.register(e,r[0]);if("create"==i){const s=r[0]||{};return void this.create(e,t,s)}const o=this._getPlayer(e);switch(i){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(e)}}}const FI="ng-animate-queued",Eb="ng-animate-disabled",Ej=[],PI={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ij={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Dn="__ng_removed";class Ib{get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;const i=e&&e.hasOwnProperty("value"),r=i?e.value:e;if(this.value=function Oj(n){return n??null}(r),i){const o=Hd(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 i=this.options.params;Object.keys(t).forEach(r=>{null==i[r]&&(i[r]=t[r])})}}}const Gd="void",Sb=new Ib(Gd);class Sj{constructor(e,t,i){this.id=e,this.hostElement=t,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,Mn(t,this._hostClassName)}listen(e,t,i,r){if(!this._triggers.has(t))throw function M3(n,e){return new w(3302,!1)}();if(null==i||0==i.length)throw function E3(n){return new w(3303,!1)}();if(!function kj(n){return"start"==n||"done"==n}(i))throw function I3(n,e){return new w(3400,!1)}();const o=cn(this._elementListeners,e,[]),s={name:t,phase:i,callback:r};o.push(s);const a=cn(this._engine.statesByElement,e,new Map);return a.has(t)||(Mn(e,Tp),Mn(e,Tp+"-"+t),a.set(t,Sb)),()=>{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 S3(n){return new w(3401,!1)}();return t}trigger(e,t,i,r=!0){const o=this._getTrigger(t),s=new Tb(this.id,t,e);let a=this._engine.statesByElement.get(e);a||(Mn(e,Tp),Mn(e,Tp+"-"+t),this._engine.statesByElement.set(e,a=new Map));let l=a.get(t);const c=new Ib(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(t,c),l||(l=Sb),c.value!==Gd&&l.value===c.value){if(!function Pj(n,e){const t=Object.keys(n),i=Object.keys(e);if(t.length!=i.length)return!1;for(let r=0;r<t.length;r++){const o=t[r];if(!e.hasOwnProperty(o)||n[o]!==e[o])return!1}return!0}(l.params,c.params)){const g=[],v=o.matchStyles(l.value,l.params,g),D=o.matchStyles(c.value,c.params,g);g.length?this._engine.reportError(g):this._engine.afterFlush(()=>{ts(e,v),gi(e,D)})}return}const h=cn(this._engine.playersByElement,e,[]);h.forEach(g=>{g.namespaceId==this.id&&g.triggerName==t&&g.queued&&g.destroy()});let p=o.matchTransition(l.value,c.value,e,c.params),m=!1;if(!p){if(!r)return;p=o.fallbackTransition,m=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:p,fromState:l,toState:c,player:s,isFallbackTransition:m}),m||(Mn(e,FI),s.onStart(()=>{rl(e,FI)})),s.onDone(()=>{let g=this.players.indexOf(s);g>=0&&this.players.splice(g,1);const v=this._engine.playersByElement.get(e);if(v){let D=v.indexOf(s);D>=0&&v.splice(D,1)}}),this.players.push(s),h.push(s),s}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,i)=>{this._elementListeners.set(i,t.filter(r=>r.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);const t=this._engine.playersByElement.get(e);t&&(t.forEach(i=>i.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){const i=this._engine.driver.query(e,Ap,!0);i.forEach(r=>{if(r[Dn])return;const o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(s=>s.triggerLeaveAnimation(r,t,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(e,t,i,r){const o=this._engine.statesByElement.get(e),s=new Map;if(o){const a=[];if(o.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){const d=this.trigger(e,c,Gd,r);d&&a.push(d)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,s),i&&Ar(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){const t=this._elementListeners.get(e),i=this._engine.statesByElement.get(e);if(t&&i){const r=new Set;t.forEach(o=>{const s=o.name;if(r.has(s))return;r.add(s);const l=this._triggers.get(s).fallbackTransition,c=i.get(s)||Sb,d=new Ib(Gd),u=new Tb(this.id,s,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:s,transition:l,fromState:c,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(e,t){const i=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let r=!1;if(i.totalAnimations){const o=i.players.length?i.playersByQueriedElement.get(e):[];if(o&&o.length)r=!0;else{let s=e;for(;s=s.parentNode;)if(i.statesByElement.get(s)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(e),r)i.markElementAsRemoved(this.id,e,!1,t);else{const o=e[Dn];(!o||o===PI)&&(i.afterFlush(()=>this.clearElementCache(e)),i.destroyInnerAnimations(e),i._onRemovalComplete(e,t))}}insertNode(e,t){Mn(e,this._hostClassName)}drainQueuedTransitions(e){const t=[];return this._queue.forEach(i=>{const r=i.player;if(r.destroyed)return;const o=i.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==i.triggerName){const l=ub(o,i.triggerName,i.fromState.value,i.toState.value);l._data=e,cb(i.player,a.phase,l,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):t.push(i)}),this._queue=[],t.sort((i,r)=>{const o=i.transition.ast.depCount,s=r.transition.ast.depCount;return 0==o||0==s?o-s:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}elementContainsData(e){let t=!1;return this._elementListeners.has(e)&&(t=!0),t=!!this._queue.find(i=>i.element===e)||t,t}}class Tj{_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,i){this.bodyNode=e,this.driver=t,this._normalizer=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(r,o)=>{}}get queuedPlayers(){const e=[];return this._namespaceList.forEach(t=>{t.players.forEach(i=>{i.queued&&e.push(i)})}),e}createNamespace(e,t){const i=new Sj(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(i,t):(this.newHostElements.set(t,i),this.collectEnterElement(t)),this._namespaceLookup[e]=i}_balanceNamespaceList(e,t){const i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let s=!1,a=this.driver.getParentElement(t);for(;a;){const l=r.get(a);if(l){const c=i.indexOf(l);i.splice(c+1,0,e),s=!0;break}a=this.driver.getParentElement(a)}s||i.unshift(e)}else i.push(e);return r.set(t,e),e}register(e,t){let i=this._namespaceLookup[e];return i||(i=this.createNamespace(e,t)),i}registerTrigger(e,t,i){let r=this._namespaceLookup[e];r&&r.register(t,i)&&this.totalAnimations++}destroy(e,t){if(!e)return;const i=this._fetchNamespace(e);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[e];const r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1)}),this.afterFlushAnimationsDone(()=>i.destroy(t))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){const t=new Set,i=this.statesByElement.get(e);if(i)for(let r of i.values())if(r.namespaceId){const o=this._fetchNamespace(r.namespaceId);o&&t.add(o)}return t}trigger(e,t,i,r){if(jp(t)){const o=this._fetchNamespace(e);if(o)return o.trigger(t,i,r),!0}return!1}insertNode(e,t,i,r){if(!jp(t))return;const o=t[Dn];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const s=this.collectedLeaveElements.indexOf(t);s>=0&&this.collectedLeaveElements.splice(s,1)}if(e){const s=this._fetchNamespace(e);s&&s.insertNode(t,i)}r&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Mn(e,Eb)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),rl(e,Eb))}removeNode(e,t,i,r){if(jp(t)){const o=e?this._fetchNamespace(e):null;if(o?o.removeNode(t,r):this.markElementAsRemoved(e,t,!1,r),i){const s=this.namespacesByHostElement.get(t);s&&s.id!==e&&s.removeNode(t,r)}}else this._onRemovalComplete(t,r)}markElementAsRemoved(e,t,i,r,o){this.collectedLeaveElements.push(t),t[Dn]={namespaceId:e,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(e,t,i,r,o){return jp(t)?this._fetchNamespace(e).listen(t,i,r,o):()=>{}}_buildInstruction(e,t,i,r,o){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,i,r,e.fromState.options,e.toState.options,t,o)}destroyInnerAnimations(e){let t=this.driver.query(e,Ap,!0);t.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,mb,!0),t.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(e){const t=this.playersByElement.get(e);t&&t.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(e){const t=this.playersByQueriedElement.get(e);t&&t.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return Ar(this.players).onDone(()=>e());e()})}processLeaveNode(e){const t=e[Dn];if(t&&t.setForRemoval){if(e[Dn]=PI,t.namespaceId){this.destroyInnerAnimations(e);const i=this._fetchNamespace(t.namespaceId);i&&i.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(Eb)&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;i<this.collectedEnterElements.length;i++){Mn(this.collectedEnterElements[i],"ng-star-inserted")}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const i=[];try{t=this._flushAnimations(i,e)}finally{for(let r=0;r<i.length;r++)i[r]()}}else for(let i=0;i<this.collectedLeaveElements.length;i++){const r=this.collectedLeaveElements[i];this.processLeaveNode(r)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(i=>i()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],t.length?Ar(t).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(e){throw function T3(n){return new w(3402,!1)}()}_flushAnimations(e,t){const i=new Vp,r=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(z=>{d.add(z);const W=this.driver.query(z,".ng-animate-queued",!0);for(let Z=0;Z<W.length;Z++)d.add(W[Z])});const u=this.bodyNode,h=Array.from(this.statesByElement.keys()),p=VI(h,this.collectedEnterElements),m=new Map;let g=0;p.forEach((z,W)=>{const Z=pb+g++;m.set(W,Z),z.forEach(ye=>Mn(ye,Z))});const v=[],D=new Set,O=new Set;for(let z=0;z<this.collectedLeaveElements.length;z++){const W=this.collectedLeaveElements[z],Z=W[Dn];Z&&Z.setForRemoval&&(v.push(W),D.add(W),Z.hasAnimation?this.driver.query(W,".ng-star-inserted",!0).forEach(ye=>D.add(ye)):O.add(W))}const x=new Map,N=VI(h,Array.from(D));N.forEach((z,W)=>{const Z=Sp+g++;x.set(W,Z),z.forEach(ye=>Mn(ye,Z))}),e.push(()=>{p.forEach((z,W)=>{const Z=m.get(W);z.forEach(ye=>rl(ye,Z))}),N.forEach((z,W)=>{const Z=x.get(W);z.forEach(ye=>rl(ye,Z))}),v.forEach(z=>{this.processLeaveNode(z)})});const me=[],Ce=[];for(let z=this._namespaceList.length-1;z>=0;z--)this._namespaceList[z].drainQueuedTransitions(t).forEach(Z=>{const ye=Z.player,yt=Z.element;if(me.push(ye),this.collectedEnterElements.length){const Pt=yt[Dn];if(Pt&&Pt.setForMove){if(Pt.previousTriggersValues&&Pt.previousTriggersValues.has(Z.triggerName)){const Qs=Pt.previousTriggersValues.get(Z.triggerName),On=this.statesByElement.get(Z.element);if(On&&On.has(Z.triggerName)){const ng=On.get(Z.triggerName);ng.value=Qs,On.set(Z.triggerName,ng)}}return void ye.destroy()}}const Si=!u||!this.driver.containsElement(u,yt),un=x.get(yt),co=m.get(yt),Ze=this._buildInstruction(Z,i,co,un,Si);if(Ze.errors&&Ze.errors.length)return void Ce.push(Ze);if(Si)return ye.onStart(()=>ts(yt,Ze.fromStyles)),ye.onDestroy(()=>gi(yt,Ze.toStyles)),void r.push(ye);if(Z.isFallbackTransition)return ye.onStart(()=>ts(yt,Ze.fromStyles)),ye.onDestroy(()=>gi(yt,Ze.toStyles)),void r.push(ye);const NO=[];Ze.timelines.forEach(Pt=>{Pt.stretchStartingKeyframe=!0,this.disabledNodes.has(Pt.element)||NO.push(Pt)}),Ze.timelines=NO,i.append(yt,Ze.timelines);const $W={instruction:Ze,player:ye,element:yt};s.push($W),Ze.queriedElements.forEach(Pt=>cn(a,Pt,[]).push(ye)),Ze.preStyleProps.forEach((Pt,Qs)=>{if(Pt.size){let On=l.get(Qs);On||l.set(Qs,On=new Set),Pt.forEach((ng,rC)=>On.add(rC))}}),Ze.postStyleProps.forEach((Pt,Qs)=>{let On=c.get(Qs);On||c.set(Qs,On=new Set),Pt.forEach((ng,rC)=>On.add(rC))})});if(Ce.length){const z=[];Ce.forEach(W=>{z.push(function A3(n,e){return new w(3505,!1)}(W.triggerName,W.errors))}),me.forEach(W=>W.destroy()),this.reportError(z)}const Ft=new Map,dr=new Map;s.forEach(z=>{const W=z.element;i.has(W)&&(dr.set(W,W),this._beforeAnimationBuild(z.player.namespaceId,z.instruction,Ft))}),r.forEach(z=>{const W=z.element;this._getPreviousPlayers(W,!1,z.namespaceId,z.triggerName,null).forEach(ye=>{cn(Ft,W,[]).push(ye),ye.destroy()})});const ur=v.filter(z=>zI(z,l,c)),hr=new Map;LI(hr,this.driver,O,c,qi).forEach(z=>{zI(z,l,c)&&ur.push(z)});const qh=new Map;p.forEach((z,W)=>{LI(qh,this.driver,new Set(z),l,ab)}),ur.forEach(z=>{const W=hr.get(z),Z=qh.get(z);hr.set(z,new Map([...Array.from(W?.entries()??[]),...Array.from(Z?.entries()??[])]))});const Xs=[],FO=[],PO={};s.forEach(z=>{const{element:W,player:Z,instruction:ye}=z;if(i.has(W)){if(d.has(W))return Z.onDestroy(()=>gi(W,ye.toStyles)),Z.disabled=!0,Z.overrideTotalTime(ye.totalTime),void r.push(Z);let yt=PO;if(dr.size>1){let un=W;const co=[];for(;un=un.parentNode;){const Ze=dr.get(un);if(Ze){yt=Ze;break}co.push(un)}co.forEach(Ze=>dr.set(Ze,yt))}const Si=this._buildAnimation(Z.namespaceId,ye,Ft,o,qh,hr);if(Z.setRealPlayer(Si),yt===PO)Xs.push(Z);else{const un=this.playersByElement.get(yt);un&&un.length&&(Z.parentPlayer=Ar(un)),r.push(Z)}}else ts(W,ye.fromStyles),Z.onDestroy(()=>gi(W,ye.toStyles)),FO.push(Z),d.has(W)&&r.push(Z)}),FO.forEach(z=>{const W=o.get(z.element);if(W&&W.length){const Z=Ar(W);z.setRealPlayer(Z)}}),r.forEach(z=>{z.parentPlayer?z.syncPlayerEvents(z.parentPlayer):z.destroy()});for(let z=0;z<v.length;z++){const W=v[z],Z=W[Dn];if(rl(W,Sp),Z&&Z.hasAnimation)continue;let ye=[];if(a.size){let Si=a.get(W);Si&&Si.length&&ye.push(...Si);let un=this.driver.query(W,mb,!0);for(let co=0;co<un.length;co++){let Ze=a.get(un[co]);Ze&&Ze.length&&ye.push(...Ze)}}const yt=ye.filter(Si=>!Si.destroyed);yt.length?Rj(this,W,yt):this.processLeaveNode(W)}return v.length=0,Xs.forEach(z=>{this.players.push(z),z.onDone(()=>{z.destroy();const W=this.players.indexOf(z);this.players.splice(W,1)}),z.play()}),Xs}elementContainsData(e,t){let i=!1;const r=t[Dn];return r&&r.setForRemoval&&(i=!0),this.playersByElement.has(t)&&(i=!0),this.playersByQueriedElement.has(t)&&(i=!0),this.statesByElement.has(t)&&(i=!0),this._fetchNamespace(e).elementContainsData(t)||i}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,i,r,o){let s=[];if(t){const a=this.playersByQueriedElement.get(e);a&&(s=a)}else{const a=this.playersByElement.get(e);if(a){const l=!o||o==Gd;a.forEach(c=>{c.queued||!l&&c.triggerName!=r||s.push(c)})}}return(i||r)&&(s=s.filter(a=>!(i&&i!=a.namespaceId||r&&r!=a.triggerName))),s}_beforeAnimationBuild(e,t,i){const r=t.triggerName,o=t.element,s=t.isRemovalTransition?void 0:e,a=t.isRemovalTransition?void 0:r;for(const l of t.timelines){const c=l.element,d=c!==o,u=cn(i,c,[]);this._getPreviousPlayers(c,d,s,a,t.toState).forEach(p=>{const m=p.getRealPlayer();m.beforeDestroy&&m.beforeDestroy(),p.destroy(),u.push(p)})}ts(o,t.fromStyles)}_buildAnimation(e,t,i,r,o,s){const a=t.triggerName,l=t.element,c=[],d=new Set,u=new Set,h=t.timelines.map(m=>{const g=m.element;d.add(g);const v=g[Dn];if(v&&v.removedBeforeQueried)return new jd(m.duration,m.delay);const D=g!==l,O=function Fj(n){const e=[];return BI(n,e),e}((i.get(g)||Ej).map(Ft=>Ft.getRealPlayer())).filter(Ft=>{const dr=Ft;return!!dr.element&&dr.element===g}),x=o.get(g),N=s.get(g),me=hI(this.driver,this._normalizer,0,m.keyframes,x,N),Ce=this._buildPlayer(m,me,O);if(m.subTimeline&&r&&u.add(g),D){const Ft=new Tb(e,a,g);Ft.setRealPlayer(Ce),c.push(Ft)}return Ce});c.forEach(m=>{cn(this.playersByQueriedElement,m.element,[]).push(m),m.onDone(()=>function Aj(n,e,t){let i=n.get(e);if(i){if(i.length){const r=i.indexOf(t);i.splice(r,1)}0==i.length&&n.delete(e)}return i}(this.playersByQueriedElement,m.element,m))}),d.forEach(m=>Mn(m,vI));const p=Ar(h);return p.onDestroy(()=>{d.forEach(m=>rl(m,vI)),gi(l,t.toStyles)}),u.forEach(m=>{cn(r,m,[]).push(p)}),p}_buildPlayer(e,t,i){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,i):new jd(e.duration,e.delay)}}class Tb{constructor(e,t,i){this.namespaceId=e,this.triggerName=t,this.element=i,this._player=new jd,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,i)=>{t.forEach(r=>cb(e,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){const t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){cn(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 jp(n){return n&&1===n.nodeType}function NI(n,e){const t=n.style.display;return n.style.display=e??"none",t}function LI(n,e,t,i,r){const o=[];t.forEach(l=>o.push(NI(l)));const s=[];i.forEach((l,c)=>{const d=new Map;l.forEach(u=>{const h=e.computeStyle(c,u,r);d.set(u,h),(!h||0==h.length)&&(c[Dn]=Ij,s.push(c))}),n.set(c,d)});let a=0;return t.forEach(l=>NI(l,o[a++])),s}function VI(n,e){const t=new Map;if(n.forEach(a=>t.set(a,[])),0==e.length)return t;const i=1,r=new Set(e),o=new Map;function s(a){if(!a)return i;let l=o.get(a);if(l)return l;const c=a.parentNode;return l=t.has(c)?c:r.has(c)?i:s(c),o.set(a,l),l}return e.forEach(a=>{const l=s(a);l!==i&&t.get(l).push(a)}),t}function Mn(n,e){n.classList?.add(e)}function rl(n,e){n.classList?.remove(e)}function Rj(n,e,t){Ar(t).onDone(()=>n.processLeaveNode(e))}function BI(n,e){for(let t=0;t<n.length;t++){const i=n[t];i instanceof dI?BI(i.players,e):e.push(i)}}function zI(n,e,t){const i=t.get(n);if(!i)return!1;let r=e.get(n);return r?i.forEach(o=>r.add(o)):e.set(n,i),t.delete(n),!0}class Hp{constructor(e,t,i){this.bodyNode=e,this._driver=t,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(r,o)=>{},this._transitionEngine=new Tj(e,t,i),this._timelineEngine=new Cj(e,t,i),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(e,t,i,r,o){const s=e+"-"+r;let a=this._triggerCache[s];if(!a){const l=[],c=[],d=bb(this._driver,o,l,c);if(l.length)throw function b3(n,e){return new w(3404,!1)}();c.length&&function W3(n,e){Rp&&console.warn(`The animation trigger "${n}" has built with the following warnings:${Fp(e)}`)}(r,c),a=function _j(n,e,t){return new yj(n,e,t)}(r,d,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(t,r,a)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,i,r){this._transitionEngine.insertNode(e,t,i,r)}onRemove(e,t,i,r){this._transitionEngine.removeNode(e,t,r||!1,i)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,i,r){if("@"==i.charAt(0)){const[o,s]=fI(i),a=r;this._timelineEngine.command(o,t,s,a)}else this._transitionEngine.trigger(e,t,i,r)}listen(e,t,i,r,o){if("@"==i.charAt(0)){const[s,a]=fI(i);return this._timelineEngine.listen(s,t,a,o)}return this._transitionEngine.listen(e,t,i,r,o)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}class ol{constructor(e,t,i){this._element=e,this._startStyles=t,this._endStyles=i,this._state=0;let r=ol.initialStylesByElement.get(e);r||ol.initialStylesByElement.set(e,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&gi(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(gi(this._element,this._initialStyles),this._endStyles&&(gi(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(ol.initialStylesByElement.delete(this._element),this._startStyles&&(ts(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(ts(this._element,this._endStyles),this._endStyles=null),gi(this._element,this._initialStyles),this._state=3)}}function Ab(n){let e=null;return n.forEach((t,i)=>{(function Lj(n){return"display"===n||"position"===n})(i)&&(e=e||new Map,e.set(i,t))}),e}ol.initialStylesByElement=new WeakMap;class jI{constructor(e,t,i,r){this.element=e,this.keyframes=t,this.options=i,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){const t=[];return e.forEach(i=>{t.push(Object.fromEntries(i))}),t}_triggerWebAnimation(e,t,i){return e.animate(this._convertKeyframesToObject(t),i)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{"offset"!==r&&e.set(r,this._finished?i:EI(this.element,r))}),this.currentSnapshot=e}triggerCallback(e){const t="start"===e?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}}class Vj{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}matchesElement(e,t){return!1}containsElement(e,t){return _I(e,t)}getParentElement(e){return fb(e)}query(e,t,i){return yI(e,t,i)}computeStyle(e,t,i){return window.getComputedStyle(e)[t]}animate(e,t,i,r,o,s=[]){const l={duration:i,delay:r,fill:0==r?"both":"forwards"};o&&(l.easing=o);const c=new Map,d=s.filter(p=>p instanceof jI);(function U3(n,e){return 0===n||0===e})(i,r)&&d.forEach(p=>{p.currentSnapshot.forEach((m,g)=>c.set(g,m))});let u=function B3(n){return n.length?n[0]instanceof Map?n:n.map(e=>CI(e)):[]}(t).map(p=>Or(p));u=function $3(n,e,t){if(t.size&&e.length){let i=e[0],r=[];if(t.forEach((o,s)=>{i.has(s)||r.push(s),i.set(s,o)}),r.length)for(let o=1;o<e.length;o++){let s=e[o];r.forEach(a=>s.set(a,EI(n,a)))}}return e}(e,u,c);const h=function Nj(n,e){let t=null,i=null;return Array.isArray(e)&&e.length?(t=Ab(e[0]),e.length>1&&(i=Ab(e[e.length-1]))):e instanceof Map&&(t=Ab(e)),t||i?new ol(n,t,i):null}(e,u);return new jI(e,u,l,h)}}class sl extends oI{constructor(e,t){super(),this._nextAnimationId=0;const i={id:"0",encapsulation:ti.None,styles:[],data:{animation:[]}};this._renderer=e.createRenderer(t.body,i)}build(e){const t=this._nextAnimationId.toString();this._nextAnimationId++;const i=Array.isArray(e)?sI(e):e;return HI(this._renderer,null,t,"register",[i]),new Bj(t,this._renderer)}}sl.\u0275fac=function(e){return new(e||sl)(b(id),b($))},sl.\u0275prov=I({token:sl,factory:sl.\u0275fac});class Bj extends Xz{constructor(e,t){super(),this._id=e,this._renderer=t}create(e,t){return new zj(this._id,e,t||{},this._renderer)}}class zj{constructor(e,t,i,r){this.id=e,this.element=t,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(e,t){return this._renderer.listen(this.element,`@@${this.id}:${e}`,t)}_command(e,...t){return HI(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 HI(n,e,t,i,r){return n.setProperty(e,`@@${t}:${i}`,r)}const UI="@.disabled";class al{constructor(e,t,i){this.delegate=e,this.engine=t,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),t.onRemovalComplete=(r,o)=>{const s=o?.parentNode(r);s&&o.removeChild(s,r)}}createRenderer(e,t){const r=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){let c=this._rendererCache.get(r);if(!c){const d=()=>this._rendererCache.delete(r);c=new $I("",r,this.engine,d),this._rendererCache.set(r,c)}return c}const o=t.id,s=t.id+"-"+this._currentId;this._currentId++,this.engine.register(s,e);const a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(o,s,e,c.name,c)};return t.data.animation.forEach(a),new jj(this,s,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,i){e>=0&&e<this._microtaskId?this._zone.run(()=>t(i)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(r=>{const[o,s]=r;o(s)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([t,i]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}al.\u0275fac=function(e){return new(e||al)(b(id),b(Hp),b(R))},al.\u0275prov=I({token:al,factory:al.\u0275fac});class $I{constructor(e,t,i,r){this.namespaceId=e,this.delegate=t,this.engine=i,this._onDestroy=r,this.destroyNode=this.delegate.destroyNode?o=>t.destroyNode(o):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,i,r=!0){this.delegate.insertBefore(e,t,i),this.engine.onInsert(this.namespaceId,t,e,r)}removeChild(e,t,i){this.engine.onRemove(this.namespaceId,t,this.delegate,i)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,i,r){this.delegate.setAttribute(e,t,i,r)}removeAttribute(e,t,i){this.delegate.removeAttribute(e,t,i)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,i,r){this.delegate.setStyle(e,t,i,r)}removeStyle(e,t,i){this.delegate.removeStyle(e,t,i)}setProperty(e,t,i){"@"==t.charAt(0)&&t==UI?this.disableAnimations(e,!!i):this.delegate.setProperty(e,t,i)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,i){return this.delegate.listen(e,t,i)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}}class jj extends $I{constructor(e,t,i,r,o){super(t,i,r,o),this.factory=e,this.namespaceId=t}setProperty(e,t,i){"@"==t.charAt(0)?"."==t.charAt(1)&&t==UI?(i=void 0===i||!!i,this.disableAnimations(e,i)):this.engine.process(this.namespaceId,e,t.slice(1),i):this.delegate.setProperty(e,t,i)}listen(e,t,i){if("@"==t.charAt(0)){const r=function Hj(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 Uj(n){const e=n.indexOf("."),t=n.substring(0,e),i=n.slice(e+1);return[t,i]}(o)),this.engine.listen(this.namespaceId,r,o,s,a=>{const l=a._data||-1;this.factory.scheduleListenerCallback(l,i,a)})}return this.delegate.listen(e,t,i)}}class ll extends Hp{constructor(e,t,i,r){super(e.body,t,i)}ngOnDestroy(){this.flush()}}ll.\u0275fac=function(e){return new(e||ll)(b($),b(Ip),b(Db),b(Un))},ll.\u0275prov=I({token:ll,factory:ll.\u0275fac});const GI=[{provide:oI,useClass:sl},{provide:Db,useFactory:function $j(){return new fj}},{provide:Hp,useClass:ll},{provide:id,useFactory:function Gj(n,e,t){return new al(n,e,t)},deps:[Wi,Hp,R]}],Ob=[{provide:Ip,useFactory:()=>new Vj},{provide:_t,useValue:"BrowserAnimations"},...GI],kb=[{provide:Ip,useClass:es},{provide:_t,useValue:"NoopAnimations"},...GI];class kr{static withConfig(e){return{ngModule:kr,providers:e.disableAnimations?kb:Ob}}}kr.\u0275fac=function(e){return new(e||kr)},kr.\u0275mod=te({type:kr}),kr.\u0275inj=X({providers:Ob,imports:[mi]});class Wd{}Wd.\u0275fac=function(e){return new(e||Wd)},Wd.\u0275mod=te({type:Wd}),Wd.\u0275inj=X({providers:kb,imports:[mi]});const{isArray:Wj}=Array,{getPrototypeOf:qj,prototype:Yj,keys:Zj}=Object;function WI(n){if(1===n.length){const e=n[0];if(Wj(e))return{args:e,keys:null};if(function Kj(n){return n&&"object"==typeof n&&qj(n)===Yj}(e)){const t=Zj(e);return{args:t.map(i=>e[i]),keys:t}}}return{args:n,keys:null}}const{isArray:Xj}=Array;function Rb(n){return G(e=>function Qj(n,e){return Xj(e)?n(...e):n(e)}(n,e))}function qI(n,e){return n.reduce((t,i,r)=>(t[i]=e[r],t),{})}class cl{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=i=>{},this.onTouched=()=>{}}setProperty(e,t){this._renderer.setProperty(this._elementRef.nativeElement,e,t)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}cl.\u0275fac=function(e){return new(e||cl)(f(Nn),f(j))},cl.\u0275dir=E({type:cl});class En extends cl{}En.\u0275fac=function(){let n;return function(t){return(n||(n=Oe(En)))(t||En)}}(),En.\u0275dir=E({type:En,features:[L]});const Zn=new A("NgValueAccessor"),eH={provide:Zn,useExisting:Ae(()=>Rr),multi:!0};class Rr extends En{writeValue(e){this.setProperty("checked",e)}}Rr.\u0275fac=function(){let n;return function(t){return(n||(n=Oe(Rr)))(t||Rr)}}(),Rr.\u0275dir=E({type:Rr,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(e,t){1&e&&q("change",function(r){return t.onChange(r.target.checked)})("blur",function(){return t.onTouched()})},features:[ee([eH]),L]});const tH={provide:Zn,useExisting:Ae(()=>Fr),multi:!0};const iH=new A("CompositionEventMode");class Fr extends cl{constructor(e,t,i){super(e,t),this._compositionMode=i,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function nH(){const n=hi()?hi().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}())}writeValue(e){const t=e??"";this.setProperty("value",t)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}Fr.\u0275fac=function(e){return new(e||Fr)(f(Nn),f(j),f(iH,8))},Fr.\u0275dir=E({type:Fr,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(e,t){1&e&&q("input",function(r){return t._handleInput(r.target.value)})("blur",function(){return t.onTouched()})("compositionstart",function(){return t._compositionStart()})("compositionend",function(r){return t._compositionEnd(r.target.value)})},features:[ee([tH]),L]});const rH=!1;function Pr(n){return null==n||("string"==typeof n||Array.isArray(n))&&0===n.length}function YI(n){return null!=n&&"number"==typeof n.length}const kt=new A("NgValidators"),Nr=new A("NgAsyncValidators"),oH=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class sH{static min(e){return ZI(e)}static max(e){return KI(e)}static required(e){return XI(e)}static requiredTrue(e){return QI(e)}static email(e){return JI(e)}static minLength(e){return eS(e)}static maxLength(e){return tS(e)}static pattern(e){return nS(e)}static nullValidator(e){return null}static compose(e){return lS(e)}static composeAsync(e){return cS(e)}}function ZI(n){return e=>{if(Pr(e.value)||Pr(n))return null;const t=parseFloat(e.value);return!isNaN(t)&&t<n?{min:{min:n,actual:e.value}}:null}}function KI(n){return e=>{if(Pr(e.value)||Pr(n))return null;const t=parseFloat(e.value);return!isNaN(t)&&t>n?{max:{max:n,actual:e.value}}:null}}function XI(n){return Pr(n.value)?{required:!0}:null}function QI(n){return!0===n.value?null:{required:!0}}function JI(n){return Pr(n.value)||oH.test(n.value)?null:{email:!0}}function eS(n){return e=>Pr(e.value)||!YI(e.value)?null:e.value.length<n?{minlength:{requiredLength:n,actualLength:e.value.length}}:null}function tS(n){return e=>YI(e.value)&&e.value.length>n?{maxlength:{requiredLength:n,actualLength:e.value.length}}:null}function nS(n){if(!n)return $p;let e,t;return"string"==typeof n?(t="","^"!==n.charAt(0)&&(t+="^"),t+=n,"$"!==n.charAt(n.length-1)&&(t+="$"),e=new RegExp(t)):(t=n.toString(),e=n),i=>{if(Pr(i.value))return null;const r=i.value;return e.test(r)?null:{pattern:{requiredPattern:t,actualValue:r}}}}function $p(n){return null}function iS(n){return null!=n}function rS(n){const e=ud(n)?tt(n):n;if(rH&&!Y_(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 w(-1101,t)}return e}function oS(n){let e={};return n.forEach(t=>{e=null!=t?{...e,...t}:e}),0===Object.keys(e).length?null:e}function sS(n,e){return e.map(t=>t(n))}function aS(n){return n.map(e=>function aH(n){return!n.validate}(e)?e:t=>e.validate(t))}function lS(n){if(!n)return null;const e=n.filter(iS);return 0==e.length?null:function(t){return oS(sS(t,e))}}function Fb(n){return null!=n?lS(aS(n)):null}function cS(n){if(!n)return null;const e=n.filter(iS);return 0==e.length?null:function(t){return function Jj(...n){const e=EC(n),{args:t,keys:i}=WI(n),r=new le(o=>{const{length:s}=t;if(!s)return void o.complete();const a=new Array(s);let l=s,c=s;for(let d=0;d<s;d++){let u=!1;Mt(t[d]).subscribe(Ne(o,h=>{u||(u=!0,c--),a[d]=h},()=>l--,void 0,()=>{(!l||!u)&&(c||o.next(i?qI(i,a):a),o.complete())}))}});return e?r.pipe(Rb(e)):r}(sS(t,e).map(rS)).pipe(G(oS))}}function Pb(n){return null!=n?cS(aS(n)):null}function dS(n,e){return null===n?[e]:Array.isArray(n)?[...n,e]:[n,e]}function uS(n){return n._rawValidators}function hS(n){return n._rawAsyncValidators}function Nb(n){return n?Array.isArray(n)?n:[n]:[]}function Gp(n,e){return Array.isArray(n)?n.includes(e):n===e}function fS(n,e){const t=Nb(e);return Nb(n).forEach(r=>{Gp(t,r)||t.push(r)}),t}function pS(n,e){return Nb(e).filter(t=>!Gp(n,t))}class mS{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=Fb(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=Pb(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 Ut extends mS{get formDirective(){return null}get path(){return null}}class Ki extends mS{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class gS{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}}class dl extends gS{constructor(e){super(e)}}dl.\u0275fac=function(e){return new(e||dl)(f(Ki,2))},dl.\u0275dir=E({type:dl,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&ue("ng-untouched",t.isUntouched)("ng-touched",t.isTouched)("ng-pristine",t.isPristine)("ng-dirty",t.isDirty)("ng-valid",t.isValid)("ng-invalid",t.isInvalid)("ng-pending",t.isPending)},features:[L]});class ul extends gS{constructor(e){super(e)}}ul.\u0275fac=function(e){return new(e||ul)(f(Ut,10))},ul.\u0275dir=E({type:ul,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,t){2&e&&ue("ng-untouched",t.isUntouched)("ng-touched",t.isTouched)("ng-pristine",t.isPristine)("ng-dirty",t.isDirty)("ng-valid",t.isValid)("ng-invalid",t.isInvalid)("ng-pending",t.isPending)("ng-submitted",t.isSubmitted)},features:[L]});function _S(n,e){return n?`with name: '${e}'`:`at index: ${e}`}const Bb=!1,qd="VALID",qp="INVALID",hl="PENDING",Yd="DISABLED";function zb(n){return(Yp(n)?n.validators:n)||null}function jb(n,e){return(Yp(e)?e.asyncValidators:n)||null}function Yp(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}function yS(n,e,t){const i=n.controls;if(!(e?Object.keys(i):i).length)throw new w(1e3,Bb?function uH(n){return`\n There are no form controls registered with this ${n?"group":"array"} yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n `}(e):"");if(!i[t])throw new w(1001,Bb?function hH(n,e){return`Cannot find form control ${_S(n,e)}`}(e,t):"")}function bS(n,e,t){n._forEachChild((i,r)=>{if(void 0===t[r])throw new w(1002,Bb?function fH(n,e){return`Must supply a value for form control ${_S(n,e)}`}(e,r):"")})}class Zp{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===qd}get invalid(){return this.status===qp}get pending(){return this.status==hl}get disabled(){return this.status===Yd}get enabled(){return this.status!==Yd}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(fS(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(fS(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(pS(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(pS(e,this._rawAsyncValidators))}hasValidator(e){return Gp(this._rawValidators,e)}hasAsyncValidator(e){return Gp(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=hl,!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=Yd,this.errors=null,this._forEachChild(i=>{i.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(i=>i(!0))}enable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status=qd,this._forEachChild(i=>{i.enable({...e,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors({...e,skipPristineCheck:t}),this._onDisabledChange.forEach(i=>i(!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===qd||this.status===hl)&&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()?Yd:qd}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=hl,this._hasOwnPendingAsyncValidator=!0;const t=rS(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{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((i,r)=>i&&i._find(r),this)}getError(e,t){const i=t?this.get(t):this;return i&&i.errors?i.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 U,this.statusChanges=new U}_calculateStatus(){return this._allControlsDisabled()?Yd:this.errors?qp:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(hl)?hl:this._anyControlsHaveStatus(qp)?qp:qd}_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){Yp(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){const t=this._parent&&this._parent.dirty;return!e&&!!t&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=function pH(n){return Array.isArray(n)?Fb(n):n||null}(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=function mH(n){return Array.isArray(n)?Pb(n):n||null}(this._rawAsyncValidators)}}class Zd extends Zp{constructor(e,t,i){super(zb(t),jb(i,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(e,t,i={}){this.registerControl(e,t),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(e,t={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(e,t,i={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,t={}){bS(this,!0,e),Object.keys(e).forEach(i=>{yS(this,!0,i),this.controls[i].setValue(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){null!=e&&(Object.keys(e).forEach(i=>{const r=this.controls[i];r&&r.patchValue(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e={},t={}){this._forEachChild((i,r)=>{i.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(e,t,i)=>(e[i]=t.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(t,i)=>!!i._syncPendingControls()||t);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(t=>{const i=this.controls[t];i&&e(i,t)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(const[t,i]of Object.entries(this.controls))if(this.contains(t)&&e(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(t,i,r)=>((i.enabled||this.disabled)&&(t[r]=i.value),t))}_reduceChildren(e,t){let i=e;return this._forEachChild((r,o)=>{i=t(i,r,o)}),i}_allControlsDisabled(){for(const e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}}class vS extends Zd{}const is=new A("CallSetDisabledState",{providedIn:"root",factory:()=>Kd}),Kd="always";function Kp(n,e){return[...e.path,n]}function Xd(n,e,t=Kd){Hb(n,e),e.valueAccessor.writeValue(n.value),(n.disabled||"always"===t)&&e.valueAccessor.setDisabledState?.(n.disabled),function _H(n,e){e.valueAccessor.registerOnChange(t=>{n._pendingValue=t,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&CS(n,e)})}(n,e),function bH(n,e){const t=(i,r)=>{e.valueAccessor.writeValue(i),r&&e.viewToModelUpdate(i)};n.registerOnChange(t),e._registerOnDestroy(()=>{n._unregisterOnChange(t)})}(n,e),function yH(n,e){e.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&CS(n,e),"submit"!==n.updateOn&&n.markAsTouched()})}(n,e),function gH(n,e){if(e.valueAccessor.setDisabledState){const t=i=>{e.valueAccessor.setDisabledState(i)};n.registerOnDisabledChange(t),e._registerOnDestroy(()=>{n._unregisterOnDisabledChange(t)})}}(n,e)}function Xp(n,e,t=!0){const i=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(i),e.valueAccessor.registerOnTouched(i)),Jp(n,e),n&&(e._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function Qp(n,e){n.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)})}function Hb(n,e){const t=uS(n);null!==e.validator?n.setValidators(dS(t,e.validator)):"function"==typeof t&&n.setValidators([t]);const i=hS(n);null!==e.asyncValidator?n.setAsyncValidators(dS(i,e.asyncValidator)):"function"==typeof i&&n.setAsyncValidators([i]);const r=()=>n.updateValueAndValidity();Qp(e._rawValidators,r),Qp(e._rawAsyncValidators,r)}function Jp(n,e){let t=!1;if(null!==n){if(null!==e.validator){const r=uS(n);if(Array.isArray(r)&&r.length>0){const o=r.filter(s=>s!==e.validator);o.length!==r.length&&(t=!0,n.setValidators(o))}}if(null!==e.asyncValidator){const r=hS(n);if(Array.isArray(r)&&r.length>0){const o=r.filter(s=>s!==e.asyncValidator);o.length!==r.length&&(t=!0,n.setAsyncValidators(o))}}}const i=()=>{};return Qp(e._rawValidators,i),Qp(e._rawAsyncValidators,i),t}function CS(n,e){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function wS(n,e){Hb(n,e)}function $b(n,e){if(!n.hasOwnProperty("model"))return!1;const t=n.model;return!!t.isFirstChange()||!Object.is(e,t.currentValue)}function xS(n,e){n._syncPendingControls(),e.forEach(t=>{const i=t.control;"submit"===i.updateOn&&i._pendingChange&&(t.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function Gb(n,e){if(!e)return null;let t,i,r;return Array.isArray(e),e.forEach(o=>{o.constructor===Fr?t=o:function wH(n){return Object.getPrototypeOf(n.constructor)===En}(o)?i=o:r=o}),r||i||t||null}const DH={provide:Ut,useExisting:Ae(()=>Lr)},Qd=Promise.resolve();class Lr extends Ut{constructor(e,t,i){super(),this.callSetDisabledState=i,this.submitted=!1,this._directives=new Set,this.ngSubmit=new U,this.form=new Zd({},Fb(e),Pb(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Qd.then(()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),Xd(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Qd.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Qd.then(()=>{const t=this._findContainer(e.path),i=new Zd({});wS(i,e),t.registerControl(e.name,i),i.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Qd.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){Qd.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,xS(this.form,this._directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}function DS(n,e){const t=n.indexOf(e);t>-1&&n.splice(t,1)}function MS(n){return"object"==typeof n&&null!==n&&2===Object.keys(n).length&&"value"in n&&"disabled"in n}Lr.\u0275fac=function(e){return new(e||Lr)(f(kt,10),f(Nr,10),f(is,8))},Lr.\u0275dir=E({type:Lr,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&q("submit",function(r){return t.onSubmit(r)})("reset",function(){return t.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[ee([DH]),L]});const _i=class extends Zp{constructor(e=null,t,i){super(zb(t),jb(i,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Yp(t)&&(t.nonNullable||t.initialValueIsDefault)&&(MS(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,t={}){this.value=this._pendingValue=e,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(i=>i(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){DS(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){DS(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){MS(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}};class rs extends Ut{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Kp(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}}rs.\u0275fac=function(){let n;return function(t){return(n||(n=Oe(rs)))(t||rs)}}(),rs.\u0275dir=E({type:rs,features:[L]});const EH={provide:Ut,useExisting:Ae(()=>Vr)};class Vr extends rs{constructor(e,t,i){super(),this._parent=e,this._setValidators(t),this._setAsyncValidators(i)}_checkParentType(){!(this._parent instanceof Vr)&&this._parent}}Vr.\u0275fac=function(e){return new(e||Vr)(f(Ut,5),f(kt,10),f(Nr,10))},Vr.\u0275dir=E({type:Vr,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[ee([EH]),L]});const IH={provide:Ki,useExisting:Ae(()=>fl)},ES=Promise.resolve();class fl extends Ki{constructor(e,t,i,r,o,s){super(),this._changeDetectorRef=o,this.callSetDisabledState=s,this.control=new _i,this._registered=!1,this.update=new U,this._parent=e,this._setValidators(t),this._setAsyncValidators(i),this.valueAccessor=Gb(0,r)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const t=e.name.previousValue;this.formDirective.removeControl({name:t,path:this._getPath(t)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),$b(e,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(e){this.viewModel=e,this.update.emit(e)}_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(){Xd(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()&&this.name}_updateValue(e){ES.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){const t=e.isDisabled.currentValue,i=0!==t&&Ga(t);ES.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?Kp(e,this._parent):[e]}}fl.\u0275fac=function(e){return new(e||fl)(f(Ut,9),f(kt,10),f(Nr,10),f(Zn,10),f(ht,8),f(is,8))},fl.\u0275dir=E({type:fl,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[ee([IH]),L,Ve]});class Jd{}Jd.\u0275fac=function(e){return new(e||Jd)},Jd.\u0275dir=E({type:Jd,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});const SH={provide:Zn,useExisting:Ae(()=>Br),multi:!0};class Br extends En{writeValue(e){const t=e??"";this.setProperty("value",t)}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}}Br.\u0275fac=function(){let n;return function(t){return(n||(n=Oe(Br)))(t||Br)}}(),Br.\u0275dir=E({type:Br,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,t){1&e&&q("input",function(r){return t.onChange(r.target.value)})("blur",function(){return t.onTouched()})},features:[ee([SH]),L]});const TH={provide:Zn,useExisting:Ae(()=>ml),multi:!0};class os{}os.\u0275fac=function(e){return new(e||os)},os.\u0275mod=te({type:os}),os.\u0275inj=X({});class pl{constructor(){this._accessors=[]}add(e,t){this._accessors.push([e,t])}remove(e){for(let t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)}select(e){this._accessors.forEach(t=>{this._isSameGroup(t,e)&&t[1]!==e&&t[1].fireUncheck(e.value)})}_isSameGroup(e,t){return!!e[0].control&&(e[0]._parent===t._control._parent&&e[1].name===t.name)}}pl.\u0275fac=function(e){return new(e||pl)},pl.\u0275prov=I({token:pl,factory:pl.\u0275fac,providedIn:os});class ml extends En{constructor(e,t,i,r){super(e,t),this._registry=i,this._injector=r,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=H(is,{optional:!0})??Kd}ngOnInit(){this._control=this._injector.get(Ki),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(e){this._state=e===this.value,this.setProperty("checked",this._state)}registerOnChange(e){this._fn=e,this.onChange=()=>{e(this.value),this._registry.select(this)}}setDisabledState(e){(this.setDisabledStateFired||e||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",e),this.setDisabledStateFired=!0}fireUncheck(e){this.writeValue(e)}_checkName(){this.name&&this.formControlName&&(this.name,this.formControlName),!this.name&&this.formControlName&&(this.name=this.formControlName)}}ml.\u0275fac=function(e){return new(e||ml)(f(Nn),f(j),f(pl),f(He))},ml.\u0275dir=E({type:ml,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(e,t){1&e&&q("change",function(){return t.onChange()})("blur",function(){return t.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[ee([TH]),L]});const AH={provide:Zn,useExisting:Ae(()=>ss),multi:!0};class ss extends En{writeValue(e){this.setProperty("value",parseFloat(e))}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}}ss.\u0275fac=function(){let n;return function(t){return(n||(n=Oe(ss)))(t||ss)}}(),ss.\u0275dir=E({type:ss,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(e,t){1&e&&q("change",function(r){return t.onChange(r.target.value)})("input",function(r){return t.onChange(r.target.value)})("blur",function(){return t.onTouched()})},features:[ee([AH]),L]});const Wb=new A("NgModelWithFormControlWarning"),OH={provide:Ki,useExisting:Ae(()=>as)};class as extends Ki{set isDisabled(e){}constructor(e,t,i,r,o){super(),this._ngModelWarningConfig=r,this.callSetDisabledState=o,this.update=new U,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(t),this.valueAccessor=Gb(0,i)}ngOnChanges(e){if(this._isControlChanged(e)){const t=e.form.previousValue;t&&Xp(t,this,!1),Xd(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}$b(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Xp(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}}as._ngModelWarningSentOnce=!1,as.\u0275fac=function(e){return new(e||as)(f(kt,10),f(Nr,10),f(Zn,10),f(Wb,8),f(is,8))},as.\u0275dir=E({type:as,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[ee([OH]),L,Ve]});const kH={provide:Ut,useExisting:Ae(()=>Xi)};class Xi extends Ut{constructor(e,t,i){super(),this.callSetDisabledState=i,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new U,this._setValidators(e),this._setAsyncValidators(t)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Jp(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const t=this.form.get(e.path);return Xd(t,e,this.callSetDisabledState),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){Xp(e.control||null,e,!1),function xH(n,e){const t=n.indexOf(e);t>-1&&n.splice(t,1)}(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,t){this.form.get(e.path).setValue(t)}onSubmit(e){return this.submitted=!0,xS(this.form,this.directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const t=e.control,i=this.form.get(e.path);t!==i&&(Xp(t||null,e),(n=>n instanceof _i)(i)&&(Xd(i,e,this.callSetDisabledState),e.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const t=this.form.get(e.path);wS(t,e),t.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const t=this.form.get(e.path);t&&function vH(n,e){return Jp(n,e)}(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Hb(this.form,this),this._oldForm&&Jp(this._oldForm,this)}_checkFormPresent(){this.form}}Xi.\u0275fac=function(e){return new(e||Xi)(f(kt,10),f(Nr,10),f(is,8))},Xi.\u0275dir=E({type:Xi,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&q("submit",function(r){return t.onSubmit(r)})("reset",function(){return t.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[ee([kH]),L,Ve]});const RH={provide:Ut,useExisting:Ae(()=>ls)};class ls extends rs{constructor(e,t,i){super(),this._parent=e,this._setValidators(t),this._setAsyncValidators(i)}_checkParentType(){IS(this._parent)}}ls.\u0275fac=function(e){return new(e||ls)(f(Ut,13),f(kt,10),f(Nr,10))},ls.\u0275dir=E({type:ls,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[ee([RH]),L]});const FH={provide:Ut,useExisting:Ae(()=>cs)};class cs extends Ut{constructor(e,t,i){super(),this._parent=e,this._setValidators(t),this._setAsyncValidators(i)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return Kp(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){IS(this._parent)}}function IS(n){return!(n instanceof ls||n instanceof Xi||n instanceof cs)}cs.\u0275fac=function(e){return new(e||cs)(f(Ut,13),f(kt,10),f(Nr,10))},cs.\u0275dir=E({type:cs,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[ee([FH]),L]});const PH={provide:Ki,useExisting:Ae(()=>zr)};class zr extends Ki{set isDisabled(e){}constructor(e,t,i,r,o){super(),this._ngModelWarningConfig=o,this._added=!1,this.update=new U,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(t),this._setAsyncValidators(i),this.valueAccessor=Gb(0,r)}ngOnChanges(e){this._added||this._setUpControl(),$b(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return Kp(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}zr._ngModelWarningSentOnce=!1,zr.\u0275fac=function(e){return new(e||zr)(f(Ut,13),f(kt,10),f(Nr,10),f(Zn,10),f(Wb,8))},zr.\u0275dir=E({type:zr,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[ee([PH]),L,Ve]});const NH={provide:Zn,useExisting:Ae(()=>Qi),multi:!0};function SS(n,e){return null==n?`${e}`:(e&&"object"==typeof e&&(e="Object"),`${n}: ${e}`.slice(0,50))}class Qi extends En{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){this.value=e;const i=SS(this._getOptionId(e),e);this.setProperty("value",i)}registerOnChange(e){this.onChange=t=>{this.value=this._getOptionValue(t),e(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(e){for(const t of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(t),e))return t;return null}_getOptionValue(e){const t=function LH(n){return n.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e}}Qi.\u0275fac=function(){let n;return function(t){return(n||(n=Oe(Qi)))(t||Qi)}}(),Qi.\u0275dir=E({type:Qi,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(e,t){1&e&&q("change",function(r){return t.onChange(r.target.value)})("blur",function(){return t.onTouched()})},inputs:{compareWith:"compareWith"},features:[ee([NH]),L]});class gl{constructor(e,t,i){this._element=e,this._renderer=t,this._select=i,this._select&&(this.id=this._select._registerOption())}set ngValue(e){null!=this._select&&(this._select._optionMap.set(this.id,e),this._setElementValue(SS(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._setElementValue(e),this._select&&this._select.writeValue(this._select.value)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}gl.\u0275fac=function(e){return new(e||gl)(f(j),f(Nn),f(Qi,9))},gl.\u0275dir=E({type:gl,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}});const VH={provide:Zn,useExisting:Ae(()=>jr),multi:!0};function TS(n,e){return null==n?`${e}`:("string"==typeof e&&(e=`'${e}'`),e&&"object"==typeof e&&(e="Object"),`${n}: ${e}`.slice(0,50))}class jr extends En{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){let t;if(this.value=e,Array.isArray(e)){const i=e.map(r=>this._getOptionId(r));t=(r,o)=>{r._setSelected(i.indexOf(o.toString())>-1)}}else t=(i,r)=>{i._setSelected(!1)};this._optionMap.forEach(t)}registerOnChange(e){this.onChange=t=>{const i=[],r=t.selectedOptions;if(void 0!==r){const o=r;for(let s=0;s<o.length;s++){const a=o[s],l=this._getOptionValue(a.value);i.push(l)}}else{const o=t.options;for(let s=0;s<o.length;s++){const a=o[s];if(a.selected){const l=this._getOptionValue(a.value);i.push(l)}}}this.value=i,e(i)}}_registerOption(e){const t=(this._idCounter++).toString();return this._optionMap.set(t,e),t}_getOptionId(e){for(const t of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(t)._value,e))return t;return null}_getOptionValue(e){const t=function BH(n){return n.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t)._value:e}}jr.\u0275fac=function(){let n;return function(t){return(n||(n=Oe(jr)))(t||jr)}}(),jr.\u0275dir=E({type:jr,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(e,t){1&e&&q("change",function(r){return t.onChange(r.target)})("blur",function(){return t.onTouched()})},inputs:{compareWith:"compareWith"},features:[ee([VH]),L]});class _l{constructor(e,t,i){this._element=e,this._renderer=t,this._select=i,this._select&&(this.id=this._select._registerOption(this))}set ngValue(e){null!=this._select&&(this._value=e,this._setElementValue(TS(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._select?(this._value=e,this._setElementValue(TS(this.id,e)),this._select.writeValue(this._select.value)):this._setElementValue(e)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}_setSelected(e){this._renderer.setProperty(this._element.nativeElement,"selected",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}function AS(n){return"number"==typeof n?n:parseInt(n,10)}function OS(n){return"number"==typeof n?n:parseFloat(n)}_l.\u0275fac=function(e){return new(e||_l)(f(j),f(Nn),f(jr,9))},_l.\u0275dir=E({type:_l,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}});class Kn{constructor(){this._validator=$p}ngOnChanges(e){if(this.inputName in e){const t=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(t),this._validator=this._enabled?this.createValidator(t):$p,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}}Kn.\u0275fac=function(e){return new(e||Kn)},Kn.\u0275dir=E({type:Kn,features:[Ve]});const zH={provide:kt,useExisting:Ae(()=>ds),multi:!0};class ds extends Kn{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=e=>OS(e),this.createValidator=e=>KI(e)}}ds.\u0275fac=function(){let n;return function(t){return(n||(n=Oe(ds)))(t||ds)}}(),ds.\u0275dir=E({type:ds,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&ge("max",t._enabled?t.max:null)},inputs:{max:"max"},features:[ee([zH]),L]});const jH={provide:kt,useExisting:Ae(()=>Hr),multi:!0};class Hr extends Kn{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=e=>OS(e),this.createValidator=e=>ZI(e)}}Hr.\u0275fac=function(){let n;return function(t){return(n||(n=Oe(Hr)))(t||Hr)}}(),Hr.\u0275dir=E({type:Hr,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&ge("min",t._enabled?t.min:null)},inputs:{min:"min"},features:[ee([jH]),L]});const HH={provide:kt,useExisting:Ae(()=>Ji),multi:!0},UH={provide:kt,useExisting:Ae(()=>us),multi:!0};class Ji extends Kn{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=Ga,this.createValidator=e=>XI}enabled(e){return e}}Ji.\u0275fac=function(){let n;return function(t){return(n||(n=Oe(Ji)))(t||Ji)}}(),Ji.\u0275dir=E({type:Ji,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,t){2&e&&ge("required",t._enabled?"":null)},inputs:{required:"required"},features:[ee([HH]),L]});class us extends Ji{constructor(){super(...arguments),this.createValidator=e=>QI}}us.\u0275fac=function(){let n;return function(t){return(n||(n=Oe(us)))(t||us)}}(),us.\u0275dir=E({type:us,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&ge("required",t._enabled?"":null)},features:[ee([UH]),L]});const $H={provide:kt,useExisting:Ae(()=>hs),multi:!0};class hs extends Kn{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=Ga,this.createValidator=e=>JI}enabled(e){return e}}hs.\u0275fac=function(){let n;return function(t){return(n||(n=Oe(hs)))(t||hs)}}(),hs.\u0275dir=E({type:hs,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[ee([$H]),L]});const GH={provide:kt,useExisting:Ae(()=>fs),multi:!0};class fs extends Kn{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=e=>AS(e),this.createValidator=e=>eS(e)}}fs.\u0275fac=function(){let n;return function(t){return(n||(n=Oe(fs)))(t||fs)}}(),fs.\u0275dir=E({type:fs,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&ge("minlength",t._enabled?t.minlength:null)},inputs:{minlength:"minlength"},features:[ee([GH]),L]});const WH={provide:kt,useExisting:Ae(()=>ps),multi:!0};class ps extends Kn{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=e=>AS(e),this.createValidator=e=>tS(e)}}ps.\u0275fac=function(){let n;return function(t){return(n||(n=Oe(ps)))(t||ps)}}(),ps.\u0275dir=E({type:ps,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&ge("maxlength",t._enabled?t.maxlength:null)},inputs:{maxlength:"maxlength"},features:[ee([WH]),L]});const qH={provide:kt,useExisting:Ae(()=>ms),multi:!0};class ms extends Kn{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=e=>e,this.createValidator=e=>nS(e)}}ms.\u0275fac=function(){let n;return function(t){return(n||(n=Oe(ms)))(t||ms)}}(),ms.\u0275dir=E({type:ms,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&ge("pattern",t._enabled?t.pattern:null)},inputs:{pattern:"pattern"},features:[ee([qH]),L]});class gs{}gs.\u0275fac=function(e){return new(e||gs)},gs.\u0275mod=te({type:gs}),gs.\u0275inj=X({imports:[os]});class kS extends Zp{constructor(e,t,i){super(zb(t),jb(i,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(e){return this.controls[this._adjustIndex(e)]}push(e,t={}){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}insert(e,t,i={}){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(e,t={}){let i=this._adjustIndex(e);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}setControl(e,t,i={}){let r=this._adjustIndex(e);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),t&&(this.controls.splice(r,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,t={}){bS(this,!1,e),e.forEach((i,r)=>{yS(this,!1,r),this.at(r).setValue(i,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){null!=e&&(e.forEach((i,r)=>{this.at(r)&&this.at(r).patchValue(i,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e=[],t={}){this._forEachChild((i,r)=>{i.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(e=>e.getRawValue())}clear(e={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:e.emitEvent}))}_adjustIndex(e){return e<0?e+this.length:e}_syncPendingControls(){let e=this.controls.reduce((t,i)=>!!i._syncPendingControls()||t,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){this.controls.forEach((t,i)=>{e(t,i)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(t=>t.enabled&&e(t))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_allControlsDisabled(){for(const e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}_find(e){return this.at(e)??null}}function RS(n){return!!n&&(void 0!==n.asyncValidators||void 0!==n.validators||void 0!==n.updateOn)}class yi{constructor(){this.useNonNullable=!1}get nonNullable(){const e=new yi;return e.useNonNullable=!0,e}group(e,t=null){const i=this._reduceControls(e);let r={};return RS(t)?r=t:null!==t&&(r.validators=t.validator,r.asyncValidators=t.asyncValidator),new Zd(i,r)}record(e,t=null){const i=this._reduceControls(e);return new vS(i,t)}control(e,t,i){let r={};return this.useNonNullable?(RS(t)?r=t:(r.validators=t,r.asyncValidators=i),new _i(e,{...r,nonNullable:!0})):new _i(e,t,i)}array(e,t,i){const r=e.map(o=>this._createControl(o));return new kS(r,t,i)}_reduceControls(e){const t={};return Object.keys(e).forEach(i=>{t[i]=this._createControl(e[i])}),t}_createControl(e){if(e instanceof _i)return e;if(e instanceof Zp)return e;if(Array.isArray(e)){const t=e[0],i=e.length>1?e[1]:null,r=e.length>2?e[2]:null;return this.control(t,i,r)}return this.control(e)}}yi.\u0275fac=function(e){return new(e||yi)},yi.\u0275prov=I({token:yi,factory:yi.\u0275fac,providedIn:"root"});class em{}em.\u0275fac=function(e){return new(e||em)},em.\u0275prov=I({token:em,factory:function(){return H(yi).nonNullable},providedIn:"root"});class yl extends yi{group(e,t=null){return super.group(e,t)}control(e,t,i){return super.control(e,t,i)}array(e,t,i){return super.array(e,t,i)}}yl.\u0275fac=function(){let n;return function(t){return(n||(n=Oe(yl)))(t||yl)}}(),yl.\u0275prov=I({token:yl,factory:yl.\u0275fac,providedIn:"root"});new Mo("15.2.2");class Ur{static withConfig(e){return{ngModule:Ur,providers:[{provide:is,useValue:e.callSetDisabledState??Kd}]}}}Ur.\u0275fac=function(e){return new(e||Ur)},Ur.\u0275mod=te({type:Ur}),Ur.\u0275inj=X({imports:[gs]});class $r{static withConfig(e){return{ngModule:$r,providers:[{provide:Wb,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:is,useValue:e.callSetDisabledState??Kd}]}}}function V(...n){return tt(n,Nc(n))}function Gr(n,e){return fe(e)?lt(n,e,1):lt(n,1)}function st(n,e){return $e((t,i)=>{let r=0;t.subscribe(Ne(i,o=>n.call(e,o,r++)&&i.next(o)))})}$r.\u0275fac=function(e){return new(e||$r)},$r.\u0275mod=te({type:$r}),$r.\u0275inj=X({imports:[gs]});class tm{}class qb{}class er{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?()=>{this.headers=new Map,e.split("\n").forEach(t=>{const i=t.indexOf(":");if(i>0){const r=t.slice(0,i),o=r.toLowerCase(),s=t.slice(i+1).trim();this.maybeSetNormalizedName(r,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:()=>{this.headers=new Map,Object.keys(e).forEach(t=>{let i=e[t];const r=t.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(this.headers.set(r,i),this.maybeSetNormalizedName(t,r))})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();const t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,t){return this.clone({name:e,value:t,op:"a"})}set(e,t){return this.clone({name:e,value:t,op:"s"})}delete(e,t){return this.clone({name:e,value:t,op:"d"})}maybeSetNormalizedName(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}init(){this.lazyInit&&(this.lazyInit instanceof er?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 er;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof er?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([e]),t}applyUpdate(e){const t=e.name.toLowerCase();switch(e.op){case"a":case"s":let i=e.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(e.name,t);const r=("a"===e.op?this.headers.get(t):void 0)||[];r.push(...i),this.headers.set(t,r);break;case"d":const o=e.value;if(o){let s=this.headers.get(t);if(!s)return;s=s.filter(a=>-1===o.indexOf(a)),0===s.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}else this.headers.delete(t),this.normalizedNames.delete(t)}}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>e(this.normalizedNames.get(t),this.headers.get(t)))}}class YH{encodeKey(e){return FS(e)}encodeValue(e){return FS(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}const KH=/%(\d[a-f0-9])/gi,XH={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function FS(n){return encodeURIComponent(n).replace(KH,(e,t)=>XH[t]??e)}function nm(n){return`${n}`}class Wr{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new YH,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function ZH(n,e){const t=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(r=>{const o=r.indexOf("="),[s,a]=-1==o?[e.decodeKey(r),""]:[e.decodeKey(r.slice(0,o)),e.decodeValue(r.slice(o+1))],l=t.get(s)||[];l.push(a),t.set(s,l)}),t}(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(t=>{const i=e.fromObject[t],r=Array.isArray(i)?i.map(nm):[nm(i)];this.map.set(t,r)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();const t=this.map.get(e);return t?t[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,t){return this.clone({param:e,value:t,op:"a"})}appendAll(e){const t=[];return Object.keys(e).forEach(i=>{const r=e[i];Array.isArray(r)?r.forEach(o=>{t.push({param:i,value:o,op:"a"})}):t.push({param:i,value:r,op:"a"})}),this.clone(t)}set(e,t){return this.clone({param:e,value:t,op:"s"})}delete(e,t){return this.clone({param:e,value:t,op:"d"})}toString(){return this.init(),this.keys().map(e=>{const t=this.encoder.encodeKey(e);return this.map.get(e).map(i=>t+"="+this.encoder.encodeValue(i)).join("&")}).filter(e=>""!==e).join("&")}clone(e){const t=new Wr({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(nm(e.value)),this.map.set(e.param,t);break;case"d":if(void 0===e.value){this.map.delete(e.param);break}{let i=this.map.get(e.param)||[];const r=i.indexOf(nm(e.value));-1!==r&&i.splice(r,1),i.length>0?this.map.set(e.param,i):this.map.delete(e.param)}}}),this.cloneFrom=this.updates=null)}}class QH{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 PS(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function NS(n){return typeof Blob<"u"&&n instanceof Blob}function LS(n){return typeof FormData<"u"&&n instanceof FormData}class eu{constructor(e,t,i,r){let o;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function JH(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==i?i:null,o=r):o=i,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params)),this.headers||(this.headers=new er),this.context||(this.context=new QH),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=t;else{const a=t.indexOf("?"),l=-1===a?"?":a<t.length-1?"&":"";this.urlWithParams=t+l+s}}else this.params=new Wr,this.urlWithParams=t}serializeBody(){return null===this.body?null:PS(this.body)||NS(this.body)||LS(this.body)||function eU(n){return typeof URLSearchParams<"u"&&n instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Wr?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||LS(this.body)?null:NS(this.body)?this.body.type||null:PS(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Wr?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(e={}){const t=e.method||this.method,i=e.url||this.url,r=e.responseType||this.responseType,o=void 0!==e.body?e.body:this.body,s=void 0!==e.withCredentials?e.withCredentials:this.withCredentials,a=void 0!==e.reportProgress?e.reportProgress:this.reportProgress;let l=e.headers||this.headers,c=e.params||this.params;const d=e.context??this.context;return void 0!==e.setHeaders&&(l=Object.keys(e.setHeaders).reduce((u,h)=>u.set(h,e.setHeaders[h]),l)),e.setParams&&(c=Object.keys(e.setParams).reduce((u,h)=>u.set(h,e.setParams[h]),c)),new eu(t,i,o,{params:c,headers:l,context:d,reportProgress:a,responseType:r,withCredentials:s})}}var qr;!function(n){n[n.Sent=0]="Sent",n[n.UploadProgress=1]="UploadProgress",n[n.ResponseHeader=2]="ResponseHeader",n[n.DownloadProgress=3]="DownloadProgress",n[n.Response=4]="Response",n[n.User=5]="User"}(qr||(qr={}));class Yb{constructor(e,t=200,i="OK"){this.headers=e.headers||new er,this.status=void 0!==e.status?e.status:t,this.statusText=e.statusText||i,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}}class Zb extends Yb{constructor(e={}){super(e),this.type=qr.ResponseHeader}clone(e={}){return new Zb({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 tu extends Yb{constructor(e={}){super(e),this.type=qr.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new tu({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 im extends Yb{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}}function Kb(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}}class Yr{constructor(e){this.handler=e}request(e,t,i={}){let r;if(e instanceof eu)r=e;else{let a,l;a=i.headers instanceof er?i.headers:new er(i.headers),i.params&&(l=i.params instanceof Wr?i.params:new Wr({fromObject:i.params})),r=new eu(e,t,void 0!==i.body?i.body:null,{headers:a,context:i.context,params:l,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials})}const o=V(r).pipe(Gr(a=>this.handler.handle(a)));if(e instanceof eu||"events"===i.observe)return o;const s=o.pipe(st(a=>a instanceof tu));switch(i.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return s.pipe(G(a=>{if(null!==a.body&&!(a.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return a.body}));case"blob":return s.pipe(G(a=>{if(null!==a.body&&!(a.body instanceof Blob))throw new Error("Response is not a Blob.");return a.body}));case"text":return s.pipe(G(a=>{if(null!==a.body&&"string"!=typeof a.body)throw new Error("Response is not a string.");return a.body}));default:return s.pipe(G(a=>a.body))}case"response":return s;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(e,t={}){return this.request("DELETE",e,t)}get(e,t={}){return this.request("GET",e,t)}head(e,t={}){return this.request("HEAD",e,t)}jsonp(e,t){return this.request("JSONP",e,{params:(new Wr).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,t={}){return this.request("OPTIONS",e,t)}patch(e,t,i={}){return this.request("PATCH",e,Kb(i,t))}post(e,t,i={}){return this.request("POST",e,Kb(i,t))}put(e,t,i={}){return this.request("PUT",e,Kb(i,t))}}function VS(n,e){return e(n)}function tU(n,e){return(t,i)=>e.intercept(t,{handle:r=>n(r,i)})}Yr.\u0275fac=function(e){return new(e||Yr)(b(tm))},Yr.\u0275prov=I({token:Yr,factory:Yr.\u0275fac});const BS=new A("HTTP_INTERCEPTORS"),nu=new A("HTTP_INTERCEPTOR_FNS");function iU(){let n=null;return(e,t)=>(null===n&&(n=(H(BS,{optional:!0})??[]).reduceRight(tU,VS)),n(e,t))}class _s extends tm{constructor(e,t){super(),this.backend=e,this.injector=t,this.chain=null}handle(e){if(null===this.chain){const t=Array.from(new Set(this.injector.get(nu)));this.chain=t.reduceRight((i,r)=>function nU(n,e,t){return(i,r)=>t.runInContext(()=>e(i,o=>n(o,r)))}(i,r,this.injector),VS)}return this.chain(e,t=>this.backend.handle(t))}}_s.\u0275fac=function(e){return new(e||_s)(b(qb),b(_n))},_s.\u0275prov=I({token:_s,factory:_s.\u0275fac});let Xb,rU=0;class zS{}function cU(){return"object"==typeof window?window:{}}class ys{constructor(e,t){this.callbackMap=e,this.document=t,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+rU++}handle(e){if("JSONP"!==e.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==e.responseType)throw new Error("JSONP requests must use Json response type.");if(e.headers.keys().length>0)throw new Error("JSONP requests do not support headers.");return new le(t=>{const i=this.nextCallback(),r=e.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${i}$1`),o=this.document.createElement("script");o.src=r;let s=null,a=!1;this.callbackMap[i]=u=>{delete this.callbackMap[i],s=u,a=!0};const l=()=>{o.parentNode&&o.parentNode.removeChild(o),delete this.callbackMap[i]};return o.addEventListener("load",u=>{this.resolvedPromise.then(()=>{l(),a?(t.next(new tu({body:s,status:200,statusText:"OK",url:r})),t.complete()):t.error(new im({url:r,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})}),o.addEventListener("error",u=>{l(),t.error(new im({error:u,status:0,statusText:"JSONP Error",url:r}))}),this.document.body.appendChild(o),t.next({type:qr.Sent}),()=>{a||this.removeListeners(o),l()}})}removeListeners(e){Xb||(Xb=this.document.implementation.createHTMLDocument()),Xb.adoptNode(e)}}function jS(n,e){return"JSONP"===n.method?H(ys).handle(n):e(n)}ys.\u0275fac=function(e){return new(e||ys)(b(zS),b($))},ys.\u0275prov=I({token:ys,factory:ys.\u0275fac});class iu{constructor(e){this.injector=e}intercept(e,t){return this.injector.runInContext(()=>jS(e,i=>t.handle(i)))}}iu.\u0275fac=function(e){return new(e||iu)(b(_n))},iu.\u0275prov=I({token:iu,factory:iu.\u0275fac});const dU=/^\)\]\}',?\n/;class bs{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new le(t=>{const i=this.xhrFactory.build();if(i.open(e.method,e.urlWithParams),e.withCredentials&&(i.withCredentials=!0),e.headers.forEach((h,p)=>i.setRequestHeader(h,p.join(","))),e.headers.has("Accept")||i.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const h=e.detectContentTypeHeader();null!==h&&i.setRequestHeader("Content-Type",h)}if(e.responseType){const h=e.responseType.toLowerCase();i.responseType="json"!==h?h:"text"}const r=e.serializeBody();let o=null;const s=()=>{if(null!==o)return o;const h=i.statusText||"OK",p=new er(i.getAllResponseHeaders()),m=function uU(n){return"responseURL"in n&&n.responseURL?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):null}(i)||e.url;return o=new Zb({headers:p,status:i.status,statusText:h,url:m}),o},a=()=>{let{headers:h,status:p,statusText:m,url:g}=s(),v=null;204!==p&&(v=typeof i.response>"u"?i.responseText:i.response),0===p&&(p=v?200:0);let D=p>=200&&p<300;if("json"===e.responseType&&"string"==typeof v){const O=v;v=v.replace(dU,"");try{v=""!==v?JSON.parse(v):null}catch(x){v=O,D&&(D=!1,v={error:x,text:v})}}D?(t.next(new tu({body:v,headers:h,status:p,statusText:m,url:g||void 0})),t.complete()):t.error(new im({error:v,headers:h,status:p,statusText:m,url:g||void 0}))},l=h=>{const{url:p}=s(),m=new im({error:h,status:i.status||0,statusText:i.statusText||"Unknown Error",url:p||void 0});t.error(m)};let c=!1;const d=h=>{c||(t.next(s()),c=!0);let p={type:qr.DownloadProgress,loaded:h.loaded};h.lengthComputable&&(p.total=h.total),"text"===e.responseType&&i.responseText&&(p.partialText=i.responseText),t.next(p)},u=h=>{let p={type:qr.UploadProgress,loaded:h.loaded};h.lengthComputable&&(p.total=h.total),t.next(p)};return i.addEventListener("load",a),i.addEventListener("error",l),i.addEventListener("timeout",l),i.addEventListener("abort",l),e.reportProgress&&(i.addEventListener("progress",d),null!==r&&i.upload&&i.upload.addEventListener("progress",u)),i.send(r),t.next({type:qr.Sent}),()=>{i.removeEventListener("error",l),i.removeEventListener("abort",l),i.removeEventListener("load",a),i.removeEventListener("timeout",l),e.reportProgress&&(i.removeEventListener("progress",d),null!==r&&i.upload&&i.upload.removeEventListener("progress",u)),i.readyState!==i.DONE&&i.abort()}})}}bs.\u0275fac=function(e){return new(e||bs)(b(AE))},bs.\u0275prov=I({token:bs,factory:bs.\u0275fac});const rm=new A("XSRF_ENABLED"),HS="XSRF-TOKEN",US=new A("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>HS}),$S="X-XSRF-TOKEN",GS=new A("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>$S});class Qb{}class vs{constructor(e,t,i){this.doc=e,this.platform=t,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=vE(e,this.cookieName),this.lastCookieString=e),this.lastToken}}function WS(n,e){const t=n.url.toLowerCase();if(!H(rm)||"GET"===n.method||"HEAD"===n.method||t.startsWith("http://")||t.startsWith("https://"))return e(n);const i=H(Qb).getToken(),r=H(GS);return null!=i&&!n.headers.has(r)&&(n=n.clone({headers:n.headers.set(r,i)})),e(n)}vs.\u0275fac=function(e){return new(e||vs)(b($),b(Ua),b(US))},vs.\u0275prov=I({token:vs,factory:vs.\u0275fac});class Cs{constructor(e){this.injector=e}intercept(e,t){return this.injector.runInContext(()=>WS(e,i=>t.handle(i)))}}var Zr;function bl(n,e){return{\u0275kind:n,\u0275providers:e}}Cs.\u0275fac=function(e){return new(e||Cs)(b(_n))},Cs.\u0275prov=I({token:Cs,factory:Cs.\u0275fac}),function(n){n[n.Interceptors=0]="Interceptors",n[n.LegacyInterceptors=1]="LegacyInterceptors",n[n.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",n[n.NoXsrfProtection=3]="NoXsrfProtection",n[n.JsonpSupport=4]="JsonpSupport",n[n.RequestsMadeViaParent=5]="RequestsMadeViaParent"}(Zr||(Zr={}));const qS=new A("LEGACY_INTERCEPTOR_FN");function YS({cookieName:n,headerName:e}){const t=[];return void 0!==n&&t.push({provide:US,useValue:n}),void 0!==e&&t.push({provide:GS,useValue:e}),bl(Zr.CustomXsrfConfiguration,t)}class Kr{static disable(){return{ngModule:Kr,providers:[bl(Zr.NoXsrfProtection,[{provide:rm,useValue:!1}]).\u0275providers]}}static withOptions(e={}){return{ngModule:Kr,providers:YS(e).\u0275providers}}}Kr.\u0275fac=function(e){return new(e||Kr)},Kr.\u0275mod=te({type:Kr}),Kr.\u0275inj=X({providers:[Cs,{provide:BS,useExisting:Cs,multi:!0},{provide:Qb,useClass:vs},YS({cookieName:HS,headerName:$S}).\u0275providers,{provide:rm,useValue:!0}]});class vl{}vl.\u0275fac=function(e){return new(e||vl)},vl.\u0275mod=te({type:vl}),vl.\u0275inj=X({providers:[function hU(...n){const e=[Yr,bs,_s,{provide:tm,useExisting:_s},{provide:qb,useExisting:bs},{provide:nu,useValue:WS,multi:!0},{provide:rm,useValue:!0},{provide:Qb,useClass:vs}];for(const t of n)e.push(...t.\u0275providers);return function rF(n){return{\u0275providers:n}}(e)}(function fU(){return bl(Zr.LegacyInterceptors,[{provide:qS,useFactory:iU},{provide:nu,useExisting:qS,multi:!0}])}())]});class ru{}ru.\u0275fac=function(e){return new(e||ru)},ru.\u0275mod=te({type:ru}),ru.\u0275inj=X({providers:[function mU(){return bl(Zr.JsonpSupport,[ys,{provide:zS,useFactory:cU},{provide:nu,useValue:jS,multi:!0}])}().\u0275providers]});let Jb,Cl;try{Jb=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Jb=!1}class Se{constructor(e){this._platformId=e,this.isBrowser=this._platformId?SE(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&&!Jb)&&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}}Se.\u0275fac=function(e){return new(e||Se)(b(Ua))},Se.\u0275prov=I({token:Se,factory:Se.\u0275fac,providedIn:"root"});class ou{}ou.\u0275fac=function(e){return new(e||ou)},ou.\u0275mod=te({type:ou}),ou.\u0275inj=X({});const ZS=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function KS(){if(Cl)return Cl;if("object"!=typeof document||!document)return Cl=new Set(ZS),Cl;let n=document.createElement("input");return Cl=new Set(ZS.filter(e=>(n.setAttribute("type",e),n.type===e))),Cl}let su,om,ws,ev;function wl(n){return function gU(){if(null==su&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>su=!0}))}finally{su=su||!1}return su}()?n:!!n.capture}function XS(){if(null==ws){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return ws=!1,ws;if("scrollBehavior"in document.documentElement.style)ws=!0;else{const n=Element.prototype.scrollTo;ws=!!n&&!/\{\s*\[native code\]\s*\}/.test(n.toString())}}return ws}function au(){if("object"!=typeof document||!document)return 0;if(null==om){const n=document.createElement("div"),e=n.style;n.dir="rtl",e.width="1px",e.overflow="auto",e.visibility="hidden",e.pointerEvents="none",e.position="absolute";const t=document.createElement("div"),i=t.style;i.width="2px",i.height="1px",n.appendChild(t),document.body.appendChild(n),om=0,0===n.scrollLeft&&(n.scrollLeft=1,om=0===n.scrollLeft?1:2),n.remove()}return om}function yU(n){if(function _U(){if(null==ev){const n=typeof document<"u"?document.head:null;ev=!(!n||!n.createShadowRoot&&!n.attachShadow)}return ev}()){const e=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function sm(){let n=typeof document<"u"&&document?document.activeElement:null;for(;n&&n.shadowRoot;){const e=n.shadowRoot.activeElement;if(e===n)break;n=e}return n}function tr(n){return n.composedPath?n.composedPath()[0]:n.target}function tv(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}class De extends B{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const t=super._subscribe(e);return!t.closed&&e.next(this._value),t}getValue(){const{hasError:e,thrownError:t,_value:i}=this;if(e)throw t;return this._throwIfClosed(),i}next(e){super.next(this._value=e)}}function nr(n,...e){return e.length?e.some(t=>n[t]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}function ft(n,e,t){const i=fe(n)||e||t?{next:n,error:e,complete:t}:n;return i?$e((r,o)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;r.subscribe(Ne(o,l=>{var c;null===(c=i.next)||void 0===c||c.call(i,l),o.next(l)},()=>{var l;a=!1,null===(l=i.complete)||void 0===l||l.call(i),o.complete()},l=>{var c;a=!1,null===(c=i.error)||void 0===c||c.call(i,l),o.error(l)},()=>{var l,c;a&&(null===(l=i.unsubscribe)||void 0===l||l.call(i)),null===(c=i.finalize)||void 0===c||c.call(i)}))}):fr}class FU extends Te{constructor(e,t){super()}schedule(e,t=0){return this}}const am={setInterval(n,e,...t){const{delegate:i}=am;return i?.setInterval?i.setInterval(n,e,...t):setInterval(n,e,...t)},clearInterval(n){const{delegate:e}=am;return(e?.clearInterval||clearInterval)(n)},delegate:void 0};class ov extends FU{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){var i;if(this.closed)return this;this.state=e;const r=this.id,o=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(o,r,t)),this.pending=!0,this.delay=t,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(o,this.id,t),this}requestAsyncId(e,t,i=0){return am.setInterval(e.flush.bind(e,this),i)}recycleAsyncId(e,t,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return t;null!=t&&am.clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(e,t);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let r,i=!1;try{this.work(e)}catch(o){i=!0,r=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){const{id:e,scheduler:t}=this,{actions:i}=t;this.work=this.state=this.scheduler=null,this.pending=!1,Js(i,this),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null,super.unsubscribe()}}}const sv={now:()=>(sv.delegate||Date).now(),delegate:void 0};class cu{constructor(e,t=cu.now){this.schedulerActionCtor=e,this.now=t}schedule(e,t=0,i){return new this.schedulerActionCtor(this,e).schedule(i,t)}}cu.now=sv.now;class av extends cu{constructor(e,t=cu.now){super(e,t),this.actions=[],this._active=!1}flush(e){const{actions:t}=this;if(this._active)return void t.push(e);let i;this._active=!0;do{if(i=e.execute(e.state,e.delay))break}while(e=t.shift());if(this._active=!1,i){for(;e=t.shift();)e.unsubscribe();throw i}}}const lm=new av(ov),PU=lm;function cm(n,e=lm){return $e((t,i)=>{let r=null,o=null,s=null;const a=()=>{if(r){r.unsubscribe(),r=null;const c=o;o=null,i.next(c)}};function l(){const c=s+n,d=e.now();if(d<c)return r=this.schedule(void 0,c-d),void i.add(r);a()}t.subscribe(Ne(i,c=>{o=c,s=e.now(),r||(r=e.schedule(l,n),i.add(r))},()=>{a(),i.complete()},void 0,()=>{o=r=null}))})}function We(n){return n<=0?()=>hn:$e((e,t)=>{let i=0;e.subscribe(Ne(t,r=>{++i<=n&&(t.next(r),n<=i&&t.complete())}))})}function lv(n){return st((e,t)=>n<=t)}function cv(n,e=fr){return n=n??NU,$e((t,i)=>{let r,o=!0;t.subscribe(Ne(i,s=>{const a=e(s);(o||!n(r,a))&&(o=!1,r=a,i.next(s))}))})}function NU(n,e){return n===e}function he(n){return $e((e,t)=>{Mt(n).subscribe(Ne(t,()=>t.complete(),Kh)),!t.closed&&e.subscribe(t)})}function _e(n){return null!=n&&"false"!=`${n}`}function Rt(n,e=0){return function LU(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}(n)?Number(n):e}function dm(n){return Array.isArray(n)?n:[n]}function at(n){return null==n?"":"string"==typeof n?n:`${n}px`}function ir(n){return n instanceof j?n.nativeElement:n}class xs{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}}xs.\u0275fac=function(e){return new(e||xs)},xs.\u0275prov=I({token:xs,factory:xs.\u0275fac,providedIn:"root"});class Ds{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,t)=>this._cleanupObserver(t))}observe(e){const t=ir(e);return new le(i=>{const o=this._observeElement(t).subscribe(i);return()=>{o.unsubscribe(),this._unobserveElement(t)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const t=new B,i=this._mutationObserverFactory.create(r=>t.next(r));i&&i.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:i,stream:t,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:t,stream:i}=this._observedElements.get(e);t&&t.disconnect(),i.complete(),this._observedElements.delete(e)}}}Ds.\u0275fac=function(e){return new(e||Ds)(b(xs))},Ds.\u0275prov=I({token:Ds,factory:Ds.\u0275fac,providedIn:"root"});class Ms{get disabled(){return this._disabled}set disabled(e){this._disabled=_e(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=Rt(e),this._subscribe()}constructor(e,t,i){this._contentObserver=e,this._elementRef=t,this._ngZone=i,this.event=new U,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe(cm(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}}Ms.\u0275fac=function(e){return new(e||Ms)(f(Ds),f(j),f(R))},Ms.\u0275dir=E({type:Ms,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]});class Xr{}function rr(...n){const e=Nc(n),t=EC(n),{args:i,keys:r}=WI(n);if(0===i.length)return tt([],e);const o=new le(function BU(n,e,t=fr){return i=>{eT(e,()=>{const{length:r}=n,o=new Array(r);let s=r,a=r;for(let l=0;l<r;l++)eT(e,()=>{const c=tt(n[l],e);let d=!1;c.subscribe(Ne(i,u=>{o[l]=u,d||(d=!0,a--),a||i.next(t(o.slice()))},()=>{--s||i.complete()}))},i)},i)}}(i,e,r?s=>qI(r,s):fr));return t?o.pipe(Rb(t)):o}function eT(n,e,t){n?Ti(t,n,e):e()}function du(...n){return function zU(){return ea(1)}()(tt(n,Nc(n)))}function Xn(...n){const e=Nc(n);return $e((t,i)=>{(e?du(n,t,e):du(n,t)).subscribe(i)})}Xr.\u0275fac=function(e){return new(e||Xr)},Xr.\u0275mod=te({type:Xr}),Xr.\u0275inj=X({providers:[xs]});class uu{}uu.\u0275fac=function(e){return new(e||uu)},uu.\u0275mod=te({type:uu}),uu.\u0275inj=X({});const tT=new Set;let xl;class Dl{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):HU}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function jU(n){if(!tT.has(n))try{xl||(xl=document.createElement("style"),xl.setAttribute("type","text/css"),document.head.appendChild(xl)),xl.sheet&&(xl.sheet.insertRule(`@media ${n} {body{ }}`,0),tT.add(n))}catch(e){console.error(e)}}(e),this._matchMedia(e)}}function HU(n){return{matches:"all"===n||""===n,media:n,addListener:()=>{},removeListener:()=>{}}}Dl.\u0275fac=function(e){return new(e||Dl)(b(Se))},Dl.\u0275prov=I({token:Dl,factory:Dl.\u0275fac,providedIn:"root"});class Ml{constructor(e,t){this._mediaMatcher=e,this._zone=t,this._queries=new Map,this._destroySubject=new B}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return nT(dm(e)).some(i=>this._registerQuery(i).mql.matches)}observe(e){let r=rr(nT(dm(e)).map(o=>this._registerQuery(o).observable));return r=du(r.pipe(We(1)),r.pipe(lv(1),cm(0))),r.pipe(G(o=>{const s={matches:!1,breakpoints:{}};return o.forEach(({matches:a,query:l})=>{s.matches=s.matches||a,s.breakpoints[l]=a}),s}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const t=this._mediaMatcher.matchMedia(e),r={observable:new le(o=>{const s=a=>this._zone.run(()=>o.next(a));return t.addListener(s),()=>{t.removeListener(s)}}).pipe(Xn(t),G(({matches:o})=>({query:e,matches:o})),he(this._destroySubject)),mql:t};return this._queries.set(e,r),r}}function nT(n){return n.map(e=>e.split(",")).reduce((e,t)=>e.concat(t)).map(e=>e.trim())}Ml.\u0275fac=function(e){return new(e||Ml)(b(Dl),b(R))},Ml.\u0275prov=I({token:Ml,factory:Ml.\u0275fac,providedIn:"root"});const iT=" ";function um(n,e){return(n.getAttribute(e)||"").match(/\S+/g)||[]}const rT="cdk-describedby-message",hm="cdk-describedby-host";let dv=0;class hu{constructor(e,t){this._platform=t,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+dv++,this._document=e,this._id=H(To)+"-"+dv++}describe(e,t,i){if(!this._canBeDescribed(e,t))return;const r=uv(t,i);"string"!=typeof t?(oT(t,this._id),this._messageRegistry.set(r,{messageElement:t,referenceCount:0})):this._messageRegistry.has(r)||this._createMessageElement(t,i),this._isElementDescribedByMessage(e,r)||this._addMessageReference(e,r)}removeDescription(e,t,i){if(!t||!this._isElementNode(e))return;const r=uv(t,i);if(this._isElementDescribedByMessage(e,r)&&this._removeMessageReference(e,r),"string"==typeof t){const o=this._messageRegistry.get(r);o&&0===o.referenceCount&&this._deleteMessageElement(r)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const e=this._document.querySelectorAll(`[${hm}="${this._id}"]`);for(let t=0;t<e.length;t++)this._removeCdkDescribedByReferenceIds(e[t]),e[t].removeAttribute(hm);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(e,t){const i=this._document.createElement("div");oT(i,this._id),i.textContent=e,t&&i.setAttribute("role",t),this._createMessagesContainer(),this._messagesContainer.appendChild(i),this._messageRegistry.set(uv(e,t),{messageElement:i,referenceCount:0})}_deleteMessageElement(e){this._messageRegistry.get(e)?.messageElement?.remove(),this._messageRegistry.delete(e)}_createMessagesContainer(){if(this._messagesContainer)return;const e="cdk-describedby-message-container",t=this._document.querySelectorAll(`.${e}[platform="server"]`);for(let r=0;r<t.length;r++)t[r].remove();const i=this._document.createElement("div");i.style.visibility="hidden",i.classList.add(e),i.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&i.setAttribute("platform","server"),this._document.body.appendChild(i),this._messagesContainer=i}_removeCdkDescribedByReferenceIds(e){const t=um(e,"aria-describedby").filter(i=>0!=i.indexOf(rT));e.setAttribute("aria-describedby",t.join(" "))}_addMessageReference(e,t){const i=this._messageRegistry.get(t);(function UU(n,e,t){const i=um(n,e);i.some(r=>r.trim()==t.trim())||(i.push(t.trim()),n.setAttribute(e,i.join(iT)))})(e,"aria-describedby",i.messageElement.id),e.setAttribute(hm,this._id),i.referenceCount++}_removeMessageReference(e,t){const i=this._messageRegistry.get(t);i.referenceCount--,function $U(n,e,t){const r=um(n,e).filter(o=>o!=t.trim());r.length?n.setAttribute(e,r.join(iT)):n.removeAttribute(e)}(e,"aria-describedby",i.messageElement.id),e.removeAttribute(hm)}_isElementDescribedByMessage(e,t){const i=um(e,"aria-describedby"),r=this._messageRegistry.get(t),o=r&&r.messageElement.id;return!!o&&-1!=i.indexOf(o)}_canBeDescribed(e,t){if(!this._isElementNode(e))return!1;if(t&&"object"==typeof t)return!0;const i=null==t?"":`${t}`.trim(),r=e.getAttribute("aria-label");return!!i&&(!r||r.trim()!==i)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}function uv(n,e){return"string"==typeof n?`${e||""}/${n}`:n}function oT(n,e){n.id||(n.id=`${rT}-${e}-${dv++}`)}hu.\u0275fac=function(e){return new(e||hu)(b($),b(Se))},hu.\u0275prov=I({token:hu,factory:hu.\u0275fac,providedIn:"root"});class sT{constructor(e){this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new B,this._typeaheadSubscription=Te.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=t=>t.disabled,this._pressedLetters=[],this.tabOut=new B,this.change=new B,e instanceof za&&(this._itemChangesSubscription=e.changes.subscribe(t=>{if(this._activeItem){const r=t.toArray().indexOf(this._activeItem);r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r)}}))}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(ft(t=>this._pressedLetters.push(t)),cm(e),st(()=>this._pressedLetters.length>0),G(()=>this._pressedLetters.join(""))).subscribe(t=>{const i=this._getItemsArray();for(let r=1;r<i.length+1;r++){const o=(this._activeItemIndex+r)%i.length,s=i[o];if(!this._skipPredicateFn(s)&&0===s.getLabel().toUpperCase().trim().indexOf(t)){this.setActiveItem(o);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(e=!0){return this._homeAndEnd=e,this}withPageUpDown(e=!0,t=10){return this._pageUpAndDown={enabled:e,delta:t},this}setActiveItem(e){const t=this._activeItem;this.updateActiveItem(e),this._activeItem!==t&&this.change.next(this._activeItemIndex)}onKeydown(e){const t=e.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!e[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(t){case 9:return void this.tabOut.next();case 40:if(this._vertical&&r){this.setNextItemActive();break}return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&r){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&r){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}return;case 33:if(this._pageUpAndDown.enabled&&r){const o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}return;case 34:if(this._pageUpAndDown.enabled&&r){const o=this._activeItemIndex+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(o<s?o:s-1,-1);break}return;default:return void((r||nr(e,"shiftKey"))&&(e.key&&1===e.key.length?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(t>=65&&t<=90||t>=48&&t<=57)&&this._letterKeyStream.next(String.fromCharCode(t))))}this._pressedLetters=[],e.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(e){const t=this._getItemsArray(),i="number"==typeof e?e:t.indexOf(e),r=t[i];this._activeItem=r??null,this._activeItemIndex=i}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){const t=this._getItemsArray();for(let i=1;i<=t.length;i++){const r=(this._activeItemIndex+e*i+t.length)%t.length,o=t[r];if(!this._skipPredicateFn(o))return void this.setActiveItem(r)}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,t){const i=this._getItemsArray();if(i[e]){for(;this._skipPredicateFn(i[e]);)if(!i[e+=t])return;this.setActiveItem(e)}}_getItemsArray(){return this._items instanceof za?this._items.toArray():this._items}}class GU extends sT{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}}class WU extends sT{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(e){return this._origin=e,this}setActiveItem(e){super.setActiveItem(e),this.activeItem&&this.activeItem.focus(this._origin)}}class bi{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function YU(n){return!!(n.offsetWidth||n.offsetHeight||"function"==typeof n.getClientRects&&n.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const t=function qU(n){try{return n.frameElement}catch{return null}}(function n5(n){return n.ownerDocument&&n.ownerDocument.defaultView||window}(e));if(t&&(-1===lT(t)||!this.isVisible(t)))return!1;let i=e.nodeName.toLowerCase(),r=lT(e);return e.hasAttribute("contenteditable")?-1!==r:!("iframe"===i||"object"===i||this._platform.WEBKIT&&this._platform.IOS&&!function e5(n){let e=n.nodeName.toLowerCase(),t="input"===e&&n.type;return"text"===t||"password"===t||"select"===e||"textarea"===e}(e))&&("audio"===i?!!e.hasAttribute("controls")&&-1!==r:"video"===i?-1!==r&&(null!==r||(this._platform.FIREFOX||e.hasAttribute("controls"))):e.tabIndex>=0)}isFocusable(e,t){return function t5(n){return!function KU(n){return function QU(n){return"input"==n.nodeName.toLowerCase()}(n)&&"hidden"==n.type}(n)&&(function ZU(n){let e=n.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(n)||function XU(n){return function JU(n){return"a"==n.nodeName.toLowerCase()}(n)&&n.hasAttribute("href")}(n)||n.hasAttribute("contenteditable")||aT(n))}(e)&&!this.isDisabled(e)&&(t?.ignoreVisibility||this.isVisible(e))}}function aT(n){if(!n.hasAttribute("tabindex")||void 0===n.tabIndex)return!1;let e=n.getAttribute("tabindex");return!(!e||isNaN(parseInt(e,10)))}function lT(n){if(!aT(n))return null;const e=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}bi.\u0275fac=function(e){return new(e||bi)(b(Se))},bi.\u0275prov=I({token:bi,factory:bi.\u0275fac,providedIn:"root"});class cT{get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}constructor(e,t,i,r,o=!1){this._element=e,this._checker=t,this._ngZone=i,this._document=r,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}destroy(){const e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.remove()),t&&(t.removeEventListener("focus",this.endAnchorListener),t.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement(e)))})}focusFirstTabbableElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement(e)))})}focusLastTabbableElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement(e)))})}_getRegionBoundary(e){const t=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);return"start"==e?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(e){const t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(t){if(!this._checker.isFocusable(t)){const i=this._getFirstTabbableElement(t);return i?.focus(e),!!i}return t.focus(e),!0}return this.focusFirstTabbableElement(e)}focusFirstTabbableElement(e){const t=this._getRegionBoundary("start");return t&&t.focus(e),!!t}focusLastTabbableElement(e){const t=this._getRegionBoundary("end");return t&&t.focus(e),!!t}hasAttached(){return this._hasAttached}_getFirstTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;const t=e.children;for(let i=0;i<t.length;i++){const r=t[i].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(t[i]):null;if(r)return r}return null}_getLastTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;const t=e.children;for(let i=t.length-1;i>=0;i--){const r=t[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[i]):null;if(r)return r}return null}_createAnchor(){const e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}_toggleAnchorTabIndex(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._ngZone.isStable?e():this._ngZone.onStable.pipe(We(1)).subscribe(e)}}class or{constructor(e,t,i){this._checker=e,this._ngZone=t,this._document=i}create(e,t=!1){return new cT(e,this._checker,this._ngZone,this._document,t)}}or.\u0275fac=function(e){return new(e||or)(b(bi),b(R),b($))},or.\u0275prov=I({token:or,factory:or.\u0275fac,providedIn:"root"});class fm{get enabled(){return this.focusTrap.enabled}set enabled(e){this.focusTrap.enabled=_e(e)}get autoCapture(){return this._autoCapture}set autoCapture(e){this._autoCapture=_e(e)}constructor(e,t,i){this._elementRef=e,this._focusTrapFactory=t,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(e){const t=e.autoCapture;t&&!t.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=sm(),this.focusTrap.focusInitialElementWhenReady()}}fm.\u0275fac=function(e){return new(e||fm)(f(j),f(or),f($))},fm.\u0275dir=E({type:fm,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[Ve]});class i5 extends cT{get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._enabled?this._focusTrapManager.register(this):this._focusTrapManager.deregister(this)}constructor(e,t,i,r,o,s,a){super(e,t,i,r,a.defer),this._focusTrapManager=o,this._inertStrategy=s,this._focusTrapManager.register(this)}destroy(){this._focusTrapManager.deregister(this),super.destroy()}_enable(){this._inertStrategy.preventFocus(this),this.toggleAnchors(!0)}_disable(){this._inertStrategy.allowFocus(this),this.toggleAnchors(!1)}}const r5=new A("FOCUS_TRAP_INERT_STRATEGY");class o5{constructor(){this._listener=null}preventFocus(e){this._listener&&e._document.removeEventListener("focus",this._listener,!0),this._listener=t=>this._trapFocus(e,t),e._ngZone.runOutsideAngular(()=>{e._document.addEventListener("focus",this._listener,!0)})}allowFocus(e){this._listener&&(e._document.removeEventListener("focus",this._listener,!0),this._listener=null)}_trapFocus(e,t){const i=t.target,r=e._element;i&&!r.contains(i)&&!i.closest?.("div.cdk-overlay-pane")&&setTimeout(()=>{e.enabled&&!r.contains(e._document.activeElement)&&e.focusFirstTabbableElement()})}}class El{constructor(){this._focusTrapStack=[]}register(e){this._focusTrapStack=this._focusTrapStack.filter(i=>i!==e);let t=this._focusTrapStack;t.length&&t[t.length-1]._disable(),t.push(e),e._enable()}deregister(e){e._disable();const t=this._focusTrapStack,i=t.indexOf(e);-1!==i&&(t.splice(i,1),t.length&&t[t.length-1]._enable())}}El.\u0275fac=function(e){return new(e||El)},El.\u0275prov=I({token:El,factory:El.\u0275fac,providedIn:"root"});class fu{constructor(e,t,i,r,o){this._checker=e,this._ngZone=t,this._focusTrapManager=i,this._document=r,this._inertStrategy=o||new o5}create(e,t={defer:!1}){let i;return i="boolean"==typeof t?{defer:t}:t,new i5(e,this._checker,this._ngZone,this._document,this._focusTrapManager,this._inertStrategy,i)}}function dT(n){return 0===n.buttons||0===n.offsetX&&0===n.offsetY}function uT(n){const e=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!(!e||-1!==e.identifier||null!=e.radiusX&&1!==e.radiusX||null!=e.radiusY&&1!==e.radiusY)}fu.\u0275fac=function(e){return new(e||fu)(b(bi),b(R),b(El),b($),b(r5,8))},fu.\u0275prov=I({token:fu,factory:fu.\u0275fac,providedIn:"root"});const s5=new A("cdk-input-modality-detector-options"),a5={ignoreKeys:[18,17,224,91,16]},Il=wl({passive:!0,capture:!0});class Sl{get mostRecentModality(){return this._modality.value}constructor(e,t,i,r){this._platform=e,this._mostRecentTarget=null,this._modality=new De(null),this._lastTouchMs=0,this._onKeydown=o=>{this._options?.ignoreKeys?.some(s=>s===o.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=tr(o))},this._onMousedown=o=>{Date.now()-this._lastTouchMs<650||(this._modality.next(dT(o)?"keyboard":"mouse"),this._mostRecentTarget=tr(o))},this._onTouchstart=o=>{uT(o)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=tr(o))},this._options={...a5,...r},this.modalityDetected=this._modality.pipe(lv(1)),this.modalityChanged=this.modalityDetected.pipe(cv()),e.isBrowser&&t.runOutsideAngular(()=>{i.addEventListener("keydown",this._onKeydown,Il),i.addEventListener("mousedown",this._onMousedown,Il),i.addEventListener("touchstart",this._onTouchstart,Il)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Il),document.removeEventListener("mousedown",this._onMousedown,Il),document.removeEventListener("touchstart",this._onTouchstart,Il))}}Sl.\u0275fac=function(e){return new(e||Sl)(b(Se),b(R),b($),b(s5,8))},Sl.\u0275prov=I({token:Sl,factory:Sl.\u0275fac,providedIn:"root"});const l5=new A("liveAnnouncerElement",{providedIn:"root",factory:function c5(){return null}});const d5=new A("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let u5=0;class Tl{constructor(e,t,i,r){this._ngZone=t,this._defaultOptions=r,this._document=i,this._liveElement=e||this._createLiveElement()}announce(e,...t){const i=this._defaultOptions;let r,o;return 1===t.length&&"number"==typeof t[0]?o=t[0]:[r,o]=t,this.clear(),clearTimeout(this._previousTimeout),r||(r=i&&i.politeness?i.politeness:"polite"),null==o&&i&&(o=i.duration),this._liveElement.setAttribute("aria-live",r),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(s=>this._currentResolve=s)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,"number"==typeof o&&(this._previousTimeout=setTimeout(()=>this.clear(),o)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const e="cdk-live-announcer-element",t=this._document.getElementsByClassName(e),i=this._document.createElement("div");for(let r=0;r<t.length;r++)t[r].remove();return i.classList.add(e),i.classList.add("cdk-visually-hidden"),i.setAttribute("aria-atomic","true"),i.setAttribute("aria-live","polite"),i.id="cdk-live-announcer-"+u5++,this._document.body.appendChild(i),i}_exposeAnnouncerToModals(e){const t=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let i=0;i<t.length;i++){const r=t[i],o=r.getAttribute("aria-owns");o?-1===o.indexOf(e)&&r.setAttribute("aria-owns",o+" "+e):r.setAttribute("aria-owns",e)}}}Tl.\u0275fac=function(e){return new(e||Tl)(b(l5,8),b(R),b($),b(d5,8))},Tl.\u0275prov=I({token:Tl,factory:Tl.\u0275fac,providedIn:"root"});class pm{get politeness(){return this._politeness}set politeness(e){this._politeness="off"===e||"assertive"===e?e:"polite","off"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular(()=>this._contentObserver.observe(this._elementRef).subscribe(()=>{const t=this._elementRef.nativeElement.textContent;t!==this._previousAnnouncedText&&(this._liveAnnouncer.announce(t,this._politeness,this.duration),this._previousAnnouncedText=t)})))}constructor(e,t,i,r){this._elementRef=e,this._liveAnnouncer=t,this._contentObserver=i,this._ngZone=r,this._politeness="polite"}ngOnDestroy(){this._subscription&&this._subscription.unsubscribe()}}pm.\u0275fac=function(e){return new(e||pm)(f(j),f(Tl),f(Ds),f(R))},pm.\u0275dir=E({type:pm,selectors:[["","cdkAriaLive",""]],inputs:{politeness:["cdkAriaLive","politeness"],duration:["cdkAriaLiveDuration","duration"]},exportAs:["cdkAriaLive"]});const h5=new A("cdk-focus-monitor-default-options"),mm=wl({passive:!0,capture:!0});class Qn{constructor(e,t,i,r,o){this._ngZone=e,this._platform=t,this._inputModalityDetector=i,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new B,this._rootNodeFocusAndBlurListener=s=>{for(let l=tr(s);l;l=l.parentElement)"focus"===s.type?this._onFocus(s,l):this._onBlur(s,l)},this._document=r,this._detectionMode=o?.detectionMode||0}monitor(e,t=!1){const i=ir(e);if(!this._platform.isBrowser||1!==i.nodeType)return V(null);const r=yU(i)||this._getDocument(),o=this._elementInfo.get(i);if(o)return t&&(o.checkChildren=!0),o.subject;const s={checkChildren:t,subject:new B,rootNode:r};return this._elementInfo.set(i,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(e){const t=ir(e),i=this._elementInfo.get(t);i&&(i.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(i))}focusVia(e,t,i){const r=ir(e);r===this._getDocument().activeElement?this._getClosestElementsInfo(r).forEach(([s,a])=>this._originChanged(s,t,a)):(this._setOrigin(t),"function"==typeof r.focus&&r.focus(i))}ngOnDestroy(){this._elementInfo.forEach((e,t)=>this.stopMonitoring(t))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return 1===this._detectionMode||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,t){e.classList.toggle("cdk-focused",!!t),e.classList.toggle("cdk-touch-focused","touch"===t),e.classList.toggle("cdk-keyboard-focused","keyboard"===t),e.classList.toggle("cdk-mouse-focused","mouse"===t),e.classList.toggle("cdk-program-focused","program"===t)}_setOrigin(e,t=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction="touch"===e&&t,0===this._detectionMode){clearTimeout(this._originTimeoutId);const i=this._originFromTouchInteraction?650:1;this._originTimeoutId=setTimeout(()=>this._origin=null,i)}})}_onFocus(e,t){const i=this._elementInfo.get(t),r=tr(e);!i||!i.checkChildren&&t!==r||this._originChanged(t,this._getFocusOrigin(r),i)}_onBlur(e,t){const i=this._elementInfo.get(t);!i||i.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(i,null))}_emitOrigin(e,t){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(t))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const t=e.rootNode,i=this._rootNodeFocusListenerCount.get(t)||0;i||this._ngZone.runOutsideAngular(()=>{t.addEventListener("focus",this._rootNodeFocusAndBlurListener,mm),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,mm)}),this._rootNodeFocusListenerCount.set(t,i+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(he(this._stopInputModalityDetector)).subscribe(r=>{this._setOrigin(r,!0)}))}_removeGlobalListeners(e){const t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){const i=this._rootNodeFocusListenerCount.get(t);i>1?this._rootNodeFocusListenerCount.set(t,i-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,mm),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,mm),this._rootNodeFocusListenerCount.delete(t))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,t,i){this._setClasses(e,t),this._emitOrigin(i,t),this._lastFocusOrigin=t}_getClosestElementsInfo(e){const t=[];return this._elementInfo.forEach((i,r)=>{(r===e||i.checkChildren&&r.contains(e))&&t.push([r,i])}),t}_isLastInteractionFromInputLabel(e){const{_mostRecentTarget:t,mostRecentModality:i}=this._inputModalityDetector;if("mouse"!==i||!t||t===e||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName||e.disabled)return!1;const r=e.labels;if(r)for(let o=0;o<r.length;o++)if(r[o].contains(t))return!0;return!1}}Qn.\u0275fac=function(e){return new(e||Qn)(b(R),b(Se),b(Sl),b($,8),b(h5,8))},Qn.\u0275prov=I({token:Qn,factory:Qn.\u0275fac,providedIn:"root"});class pu{constructor(e,t){this._elementRef=e,this._focusMonitor=t,this._focusOrigin=null,this.cdkFocusChange=new U}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,1===e.nodeType&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(t=>{this._focusOrigin=t,this.cdkFocusChange.emit(t)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}pu.\u0275fac=function(e){return new(e||pu)(f(j),f(Qn))},pu.\u0275dir=E({type:pu,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]});const fT="cdk-high-contrast-black-on-white",pT="cdk-high-contrast-white-on-black",hv="cdk-high-contrast-active";class Es{constructor(e,t){this._platform=e,this._document=t,this._breakpointSubscription=H(Ml).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const t=this._document.defaultView||window,i=t&&t.getComputedStyle?t.getComputedStyle(e):null,r=(i&&i.backgroundColor||"").replace(/ /g,"");switch(e.remove(),r){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(hv,fT,pT),this._hasCheckedHighContrastMode=!0;const t=this.getHighContrastMode();1===t?e.add(hv,fT):2===t&&e.add(hv,pT)}}}Es.\u0275fac=function(e){return new(e||Es)(b(Se),b($))},Es.\u0275prov=I({token:Es,factory:Es.\u0275fac,providedIn:"root"});class Is{constructor(e){e._applyBodyHighContrastModeCssClasses()}}Is.\u0275fac=function(e){return new(e||Is)(b(Es))},Is.\u0275mod=te({type:Is}),Is.\u0275inj=X({imports:[Xr]});const f5=new A("cdk-dir-doc",{providedIn:"root",factory:function p5(){return H($)}});const m5=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function mT(n){const e=n?.toLowerCase()||"";return"auto"===e&&typeof navigator<"u"&&navigator?.language?m5.test(navigator.language)?"rtl":"ltr":"rtl"===e?"rtl":"ltr"}class qe{constructor(e){if(this.value="ltr",this.change=new U,e){const t=e.body?e.body.dir:null,i=e.documentElement?e.documentElement.dir:null;this.value=mT(t||i||"ltr")}}ngOnDestroy(){this.change.complete()}}qe.\u0275fac=function(e){return new(e||qe)(b(f5,8))},qe.\u0275prov=I({token:qe,factory:qe.\u0275fac,providedIn:"root"});class mu{constructor(){this._dir="ltr",this._isInitialized=!1,this.change=new U}get dir(){return this._dir}set dir(e){const t=this._dir;this._dir=mT(e),this._rawDir=e,t!==this._dir&&this._isInitialized&&this.change.emit(this._dir)}get value(){return this.dir}ngAfterContentInit(){this._isInitialized=!0}ngOnDestroy(){this.change.complete()}}mu.\u0275fac=function(e){return new(e||mu)},mu.\u0275dir=E({type:mu,selectors:[["","dir",""]],hostVars:1,hostBindings:function(e,t){2&e&&ge("dir",t._rawDir)},inputs:{dir:"dir"},outputs:{change:"dirChange"},exportAs:["dir"],features:[ee([{provide:qe,useExisting:mu}])]});class vi{}vi.\u0275fac=function(e){return new(e||vi)},vi.\u0275mod=te({type:vi}),vi.\u0275inj=X({});new Mo("15.2.3");const g5=["*",[["mat-option"],["ng-container"]]],y5=["text"];function b5(n,e){if(1&n&&oe(0,"mat-pseudo-checkbox",6),2&n){const t=F();M("state",t.selected?"checked":"unchecked")("disabled",t.disabled)}}function v5(n,e){if(1&n&&oe(0,"mat-pseudo-checkbox",7),2&n){M("disabled",F().disabled)}}function C5(n,e){if(1&n&&(_(0,"span",8),S(1),y()),2&n){const t=F();C(1),jn("(",t.group.label,")")}}const w5=[[["mat-icon"]],"*"];new Mo("15.2.3");class gm{}gm.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",gm.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",gm.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",gm.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)";class fv{}fv.COMPLEX="375ms",fv.ENTERING="225ms",fv.EXITING="195ms";const M5=new A("mat-sanity-checks",{providedIn:"root",factory:function D5(){return!0}});class Je{constructor(e,t,i){this._sanityChecks=t,this._document=i,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!tv()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}function _m(n){return class extends n{get disabled(){return this._disabled}set disabled(e){this._disabled=_e(e)}constructor(...e){super(...e),this._disabled=!1}}}function yT(n,e){return class extends n{get color(){return this._color}set color(t){const i=t||this.defaultColor;i!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),i&&this._elementRef.nativeElement.classList.add(`mat-${i}`),this._color=i)}constructor(...t){super(...t),this.defaultColor=e,this.color=e}}}function pv(n){return class extends n{get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=_e(e)}constructor(...e){super(...e),this._disableRipple=!1}}}Je.\u0275fac=function(e){return new(e||Je)(b(Es),b(M5,8),b($))},Je.\u0275mod=te({type:Je}),Je.\u0275inj=X({imports:[vi,vi]});const S5=new A("MAT_DATE_LOCALE",{providedIn:"root",factory:function T5(){return H(ui)}});class bT{constructor(){this._localeChanges=new B,this.localeChanges=this._localeChanges}getValidDateOrNull(e){return this.isDateInstance(e)&&this.isValid(e)?e:null}deserialize(e){return null==e||this.isDateInstance(e)&&this.isValid(e)?e:this.invalid()}setLocale(e){this.locale=e,this._localeChanges.next()}compareDate(e,t){return this.getYear(e)-this.getYear(t)||this.getMonth(e)-this.getMonth(t)||this.getDate(e)-this.getDate(t)}sameDate(e,t){if(e&&t){let i=this.isValid(e),r=this.isValid(t);return i&&r?!this.compareDate(e,t):i==r}return e==t}clampDate(e,t,i){return t&&this.compareDate(e,t)<0?t:i&&this.compareDate(e,i)>0?i:e}}const A5=new A("mat-date-formats"),O5=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function mv(n,e){const t=Array(n);for(let i=0;i<n;i++)t[i]=e(i);return t}class Al extends bT{constructor(e,t){super(),this.useUtcForDisplay=!1,super.setLocale(e)}getYear(e){return e.getFullYear()}getMonth(e){return e.getMonth()}getDate(e){return e.getDate()}getDayOfWeek(e){return e.getDay()}getMonthNames(e){const t=new Intl.DateTimeFormat(this.locale,{month:e,timeZone:"utc"});return mv(12,i=>this._format(t,new Date(2017,i,1)))}getDateNames(){const e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return mv(31,t=>this._format(e,new Date(2017,0,t+1)))}getDayOfWeekNames(e){const t=new Intl.DateTimeFormat(this.locale,{weekday:e,timeZone:"utc"});return mv(7,i=>this._format(t,new Date(2017,0,i+1)))}getYearName(e){const t=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(t,e)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(e){return this.getDate(this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+1,0))}clone(e){return new Date(e.getTime())}createDate(e,t,i){let r=this._createDateWithOverflow(e,t,i);return r.getMonth(),r}today(){return new Date}parse(e,t){return"number"==typeof e?new Date(e):e?new Date(Date.parse(e)):null}format(e,t){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");const i=new Intl.DateTimeFormat(this.locale,{...t,timeZone:"utc"});return this._format(i,e)}addCalendarYears(e,t){return this.addCalendarMonths(e,12*t)}addCalendarMonths(e,t){let i=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+t,this.getDate(e));return this.getMonth(i)!=((this.getMonth(e)+t)%12+12)%12&&(i=this._createDateWithOverflow(this.getYear(i),this.getMonth(i),0)),i}addCalendarDays(e,t){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+t)}toIso8601(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")}deserialize(e){if("string"==typeof e){if(!e)return null;if(O5.test(e)){let t=new Date(e);if(this.isValid(t))return t}}return super.deserialize(e)}isDateInstance(e){return e instanceof Date}isValid(e){return!isNaN(e.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(e,t,i){const r=new Date;return r.setFullYear(e,t,i),r.setHours(0,0,0,0),r}_2digit(e){return("00"+e).slice(-2)}_format(e,t){const i=new Date;return i.setUTCFullYear(t.getFullYear(),t.getMonth(),t.getDate()),i.setUTCHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),e.format(i)}}Al.\u0275fac=function(e){return new(e||Al)(b(S5,8),b(Se))},Al.\u0275prov=I({token:Al,factory:Al.\u0275fac});class Ol{}Ol.\u0275fac=function(e){return new(e||Ol)},Ol.\u0275mod=te({type:Ol}),Ol.\u0275inj=X({providers:[{provide:bT,useClass:Al}]});class gu{}gu.\u0275fac=function(e){return new(e||gu)},gu.\u0275mod=te({type:gu}),gu.\u0275inj=X({providers:[{provide:A5,useValue:{parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}}}],imports:[Ol]});class _u{isErrorState(e,t){return!!(e&&e.invalid&&(e.dirty||t&&t.submitted))}}_u.\u0275fac=function(e){return new(e||_u)},_u.\u0275prov=I({token:_u,factory:_u.\u0275fac});class kl{isErrorState(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))}}kl.\u0275fac=function(e){return new(e||kl)},kl.\u0275prov=I({token:kl,factory:kl.\u0275fac,providedIn:"root"});class ym{}ym.\u0275fac=function(e){return new(e||ym)},ym.\u0275dir=E({type:ym,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]});class bu{}bu.\u0275fac=function(e){return new(e||bu)},bu.\u0275mod=te({type:bu}),bu.\u0275inj=X({imports:[Je,Je]});class R5{constructor(e,t,i,r=!1){this._renderer=e,this.element=t,this.config=i,this._animationForciblyDisabledThroughCss=r,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const vT=wl({passive:!0,capture:!0});const CT={enterDuration:225,exitDuration:150},wT=wl({passive:!0,capture:!0}),xT=["mousedown","touchstart"],DT=["mouseup","mouseleave","touchend","touchcancel"];class vu{constructor(e,t,i,r){this._target=e,this._ngZone=t,this._platform=r,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=ir(i))}fadeInRipple(e,t,i={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o={...CT,...i.animation};i.centered&&(e=r.left+r.width/2,t=r.top+r.height/2);const s=i.radius||function N5(n,e,t){const i=Math.max(Math.abs(n-t.left),Math.abs(n-t.right)),r=Math.max(Math.abs(e-t.top),Math.abs(e-t.bottom));return Math.sqrt(i*i+r*r)}(e,t,r),a=e-r.left,l=t-r.top,c=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=a-s+"px",d.style.top=l-s+"px",d.style.height=2*s+"px",d.style.width=2*s+"px",null!=i.color&&(d.style.backgroundColor=i.color),d.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(d);const u=window.getComputedStyle(d),h=u.transitionProperty,p=u.transitionDuration,m="none"===h||"0s"===p||"0s, 0s"===p||0===r.width&&0===r.height,g=new R5(this,d,i,m);d.style.transform="scale3d(1, 1, 1)",g.state=0,i.persistent||(this._mostRecentTransientRipple=g);let v=null;return!m&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const D=()=>this._finishRippleTransition(g),O=()=>this._destroyRipple(g);d.addEventListener("transitionend",D),d.addEventListener("transitioncancel",O),v={onTransitionEnd:D,onTransitionCancel:O}}),this._activeRipples.set(g,v),(m||!c)&&this._finishRippleTransition(g),g}fadeOutRipple(e){if(2===e.state||3===e.state)return;const t=e.element,i={...CT,...e.config.animation};t.style.transitionDuration=`${i.exitDuration}ms`,t.style.opacity="0",e.state=2,(e._animationForciblyDisabledThroughCss||!i.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=ir(e);!this._platform.isBrowser||!t||t===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=t,xT.forEach(i=>{vu._eventManager.addHandler(this._ngZone,i,t,this)}))}handleEvent(e){"mousedown"===e.type?this._onMousedown(e):"touchstart"===e.type?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{DT.forEach(t=>{this._triggerElement.addEventListener(t,this,wT)})}),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:i}=e.config;e.state=1,!i&&(!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=dT(e),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!t&&!i&&(this._isPointerDown=!0,this.fadeInRipple(e.clientX,e.clientY,this._target.rippleConfig))}_onTouchStart(e){if(!this._target.rippleDisabled&&!uT(e)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const t=e.changedTouches;for(let i=0;i<t.length;i++)this.fadeInRipple(t[i].clientX,t[i].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(e=>{const t=1===e.state||e.config.terminateOnPointerUp&&0===e.state;!e.config.persistent&&t&&e.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const e=this._triggerElement;e&&(xT.forEach(t=>vu._eventManager.removeHandler(t,e,this)),this._pointerUpEventsRegistered&&DT.forEach(t=>e.removeEventListener(t,this,wT)))}}vu._eventManager=new class F5{constructor(){this._events=new Map,this._delegateEventHandler=e=>{const t=tr(e);t&&this._events.get(e.type)?.forEach((i,r)=>{(r===t||r.contains(t))&&i.forEach(o=>o.handleEvent(e))})}}addHandler(e,t,i,r){const o=this._events.get(t);if(o){const s=o.get(i);s?s.add(r):o.set(i,new Set([r]))}else this._events.set(t,new Map([[i,new Set([r])]])),e.runOutsideAngular(()=>{document.addEventListener(t,this._delegateEventHandler,vT)})}removeHandler(e,t,i){const r=this._events.get(e);if(!r)return;const o=r.get(t);o&&(o.delete(i),0===o.size&&r.delete(t),0===r.size&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,vT)))}};const gv=new A("mat-ripple-global-options");class sr{get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}constructor(e,t,i,r,o){this._elementRef=e,this._animationMode=o,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=r||{},this._rippleRenderer=new vu(this,t,e,i)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,t=0,i){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,t,{...this.rippleConfig,...i}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...e})}}sr.\u0275fac=function(e){return new(e||sr)(f(j),f(R),f(Se),f(gv,8),f(_t,8))},sr.\u0275dir=E({type:sr,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,t){2&e&&ue("mat-ripple-unbounded",t.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]});class Ss{}Ss.\u0275fac=function(e){return new(e||Ss)},Ss.\u0275mod=te({type:Ss}),Ss.\u0275inj=X({imports:[Je,Je]});class Cu{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1,this.appearance="full"}}Cu.\u0275fac=function(e){return new(e||Cu)(f(_t,8))},Cu.\u0275cmp=xe({type:Cu,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(e,t){2&e&&ue("mat-pseudo-checkbox-indeterminate","indeterminate"===t.state)("mat-pseudo-checkbox-checked","checked"===t.state)("mat-pseudo-checkbox-disabled",t.disabled)("mat-pseudo-checkbox-minimal","minimal"===t.appearance)("mat-pseudo-checkbox-full","full"===t.appearance)("_mat-animation-noopable","NoopAnimations"===t._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(e,t){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-full{border:2px solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0});class Rl{}Rl.\u0275fac=function(e){return new(e||Rl)},Rl.\u0275mod=te({type:Rl}),Rl.\u0275inj=X({imports:[Je]});const _v=new A("MAT_OPTION_PARENT_COMPONENT"),L5=_m(class{});let V5=0;class wu extends L5{constructor(e){super(),this._labelId="mat-optgroup-label-"+V5++,this._inert=e?.inertGroups??!1}}wu.\u0275fac=function(e){return new(e||wu)(f(_v,8))},wu.\u0275dir=E({type:wu,inputs:{label:"label"},features:[L]});const yv=new A("MatOptgroup");class Fl extends wu{}Fl.\u0275fac=function(){let n;return function(t){return(n||(n=Oe(Fl)))(t||Fl)}}(),Fl.\u0275cmp=xe({type:Fl,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-mdc-optgroup"],hostVars:3,hostBindings:function(e,t){2&e&&ge("role",t._inert?null:"group")("aria-disabled",t._inert?null:t.disabled.toString())("aria-labelledby",t._inert?null:t._labelId)},inputs:{disabled:"disabled"},exportAs:["matOptgroup"],features:[ee([{provide:yv,useExisting:Fl}]),L],ngContentSelectors:["*","mat-option, ng-container"],decls:5,vars:4,consts:[["aria-hidden","true",1,"mat-mdc-optgroup-label",3,"id"],[1,"mdc-list-item__primary-text"]],template:function(e,t){1&e&&(Wt(g5),_(0,"span",0)(1,"span",1),S(2),Ge(3),y()(),Ge(4,1)),2&e&&(ue("mdc-list-item--disabled",t.disabled),M("id",t._labelId),C(2),jn("",t.label," "))},styles:[".mat-mdc-optgroup-label{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;min-height:48px}.mat-mdc-optgroup-label:focus{outline:none}[dir=rtl] .mat-mdc-optgroup-label,.mat-mdc-optgroup-label[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-optgroup-label.mdc-list-item--disabled{opacity:.38}.mat-mdc-optgroup-label .mdc-list-item__primary-text{white-space:normal}"],encapsulation:2,changeDetection:0});let B5=0;class MT{constructor(e,t=!1){this.source=e,this.isUserInput=t}}class bm{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=_e(e)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(e,t,i,r){this._element=e,this._changeDetectorRef=t,this._parent=i,this.group=r,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+B5++,this.onSelectionChange=new U,this._stateChanges=new B}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(e,t){const i=this._getHostElement();"function"==typeof i.focus&&i.focus(t)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!nr(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new MT(this,e))}}bm.\u0275fac=function(e){Bf()},bm.\u0275dir=E({type:bm,viewQuery:function(e,t){if(1&e&&Pe(y5,7),2&e){let i;ne(i=ie())&&(t._text=i.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}});class Pl extends bm{constructor(e,t,i,r){super(e,t,i,r)}}Pl.\u0275fac=function(e){return new(e||Pl)(f(j),f(ht),f(_v,8),f(yv,8))},Pl.\u0275cmp=xe({type:Pl,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mat-mdc-focus-indicator","mdc-list-item"],hostVars:12,hostBindings:function(e,t){1&e&&q("click",function(){return t._selectViaInteraction()})("keydown",function(r){return t._handleKeydown(r)}),2&e&&(xr("id",t.id),ge("tabindex",t._getTabIndex())("aria-selected",t.selected)("aria-disabled",t.disabled.toString()),ue("mdc-list-item--selected",t.selected)("mat-mdc-option-multiple",t.multiple)("mat-mdc-option-active",t.active)("mdc-list-item--disabled",t.disabled))},exportAs:["matOption"],features:[L],ngContentSelectors:["mat-icon","*"],decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","appearance","minimal",3,"disabled",4,"ngIf"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-mdc-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-mdc-option-pseudo-checkbox",3,"state","disabled"],["state","checked","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"]],template:function(e,t){1&e&&(Wt(w5),k(0,b5,1,2,"mat-pseudo-checkbox",0),Ge(1),_(2,"span",1,2),Ge(4,1),y(),k(5,v5,1,1,"mat-pseudo-checkbox",3),k(6,C5,2,1,"span",4),oe(7,"div",5)),2&e&&(M("ngIf",t.multiple),C(5),M("ngIf",!t.multiple&&t.selected&&!t.hideSingleSelectionIndicator),C(1),M("ngIf",t.group&&t.group._inert),C(1),M("matRippleTrigger",t._getHostElement())("matRippleDisabled",t.disabled||t.disableRipple))},dependencies:[sr,ln,Cu],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{opacity:.38;cursor:default}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active::before{content:""}'],encapsulation:2,changeDetection:0});class Ts{}Ts.\u0275fac=function(e){return new(e||Ts)},Ts.\u0275mod=te({type:Ts}),Ts.\u0275inj=X({imports:[Ss,Yn,Je,Rl]});const H5=["addListener","removeListener"],U5=["addEventListener","removeEventListener"],$5=["on","off"];function In(n,e,t,i){if(fe(t)&&(i=t,t=void 0),i)return In(n,e,t).pipe(Rb(i));const[r,o]=function q5(n){return fe(n.addEventListener)&&fe(n.removeEventListener)}(n)?U5.map(s=>a=>n[s](e,a,t)):function G5(n){return fe(n.addListener)&&fe(n.removeListener)}(n)?H5.map(ET(n,e)):function W5(n){return fe(n.on)&&fe(n.off)}(n)?$5.map(ET(n,e)):[];if(!r&&cg(n))return lt(s=>In(s,e,t))(Mt(n));if(!r)throw new TypeError("Invalid event target");return new le(s=>{const a=(...l)=>s.next(1<l.length?l:l[0]);return r(a),()=>o(a)})}function ET(n,e){return t=>i=>n[t](e,i)}const xu={schedule(n){let e=requestAnimationFrame,t=cancelAnimationFrame;const{delegate:i}=xu;i&&(e=i.requestAnimationFrame,t=i.cancelAnimationFrame);const r=e(o=>{t=void 0,n(o)});return new Te(()=>t?.(r))},requestAnimationFrame(...n){const{delegate:e}=xu;return(e?.requestAnimationFrame||requestAnimationFrame)(...n)},cancelAnimationFrame(...n){const{delegate:e}=xu;return(e?.cancelAnimationFrame||cancelAnimationFrame)(...n)},delegate:void 0};const K5=new class Z5 extends av{flush(e){this._active=!0;const t=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;e=e||i.shift();do{if(r=e.execute(e.state,e.delay))break}while((e=i[0])&&e.id===t&&i.shift());if(this._active=!1,r){for(;(e=i[0])&&e.id===t&&i.shift();)e.unsubscribe();throw r}}}(class Y5 extends ov{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,i=0){return null!==i&&i>0?super.requestAsyncId(e,t,i):(e.actions.push(this),e._scheduled||(e._scheduled=xu.requestAnimationFrame(()=>e.flush(void 0))))}recycleAsyncId(e,t,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(e,t,i);const{actions:o}=e;null!=t&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==t&&(xu.cancelAnimationFrame(t),e._scheduled=void 0)}});let bv,X5=1;const vm={};function IT(n){return n in vm&&(delete vm[n],!0)}const Q5={setImmediate(n){const e=X5++;return vm[e]=!0,bv||(bv=Promise.resolve()),bv.then(()=>IT(e)&&n()),e},clearImmediate(n){IT(n)}},{setImmediate:J5,clearImmediate:e$}=Q5,Cm={setImmediate(...n){const{delegate:e}=Cm;return(e?.setImmediate||J5)(...n)},clearImmediate(n){const{delegate:e}=Cm;return(e?.clearImmediate||e$)(n)},delegate:void 0};const i$=new class n$ extends av{flush(e){this._active=!0;const t=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;e=e||i.shift();do{if(r=e.execute(e.state,e.delay))break}while((e=i[0])&&e.id===t&&i.shift());if(this._active=!1,r){for(;(e=i[0])&&e.id===t&&i.shift();)e.unsubscribe();throw r}}}(class t$ extends ov{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,i=0){return null!==i&&i>0?super.requestAsyncId(e,t,i):(e.actions.push(this),e._scheduled||(e._scheduled=Cm.setImmediate(e.flush.bind(e,void 0))))}recycleAsyncId(e,t,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(e,t,i);const{actions:o}=e;null!=t&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==t&&(Cm.clearImmediate(t),e._scheduled=void 0)}});function ST(n){return!!n&&(n instanceof le||fe(n.lift)&&fe(n.subscribe))}function vv(n=0,e,t=PU){let i=-1;return null!=e&&(MC(e)?t=e:i=e),new le(r=>{let o=function o$(n){return n instanceof Date&&!isNaN(n)}(n)?+n-t.now():n;o<0&&(o=0);let s=0;return t.schedule(function(){r.closed||(r.next(s++),0<=i?this.schedule(void 0,i):r.complete())},o)})}function wm(n,e=lm){return function r$(n){return $e((e,t)=>{let i=!1,r=null,o=null,s=!1;const a=()=>{if(o?.unsubscribe(),o=null,i){i=!1;const c=r;r=null,t.next(c)}s&&t.complete()},l=()=>{o=null,s&&t.complete()};e.subscribe(Ne(t,c=>{i=!0,r=c,o||Mt(n(c)).subscribe(o=Ne(t,a,l))},()=>{s=!0,(!i||!o||o.closed)&&t.complete()}))})}(()=>vv(n,e))}function xt(n,e){return $e((t,i)=>{let r=null,o=0,s=!1;const a=()=>s&&!r&&i.complete();t.subscribe(Ne(i,l=>{r?.unsubscribe();let c=0;const d=o++;Mt(n(l,d)).subscribe(r=Ne(i,u=>i.next(e?e(l,u,d,c++):u),()=>{r=null,a()}))},()=>{s=!0,a()}))})}class a$ extends B{constructor(e=1/0,t=1/0,i=sv){super(),this._bufferSize=e,this._windowTime=t,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,t)}next(e){const{isStopped:t,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:s}=this;t||(i.push(e),!r&&i.push(o.now()+s)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();const t=this._innerSubscribe(e),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let s=0;s<o.length&&!e.closed;s+=i?1:2)e.next(o[s]);return this._checkFinalizedStatuses(e),t}_trimBuffer(){const{_bufferSize:e,_timestampProvider:t,_buffer:i,_infiniteTimeWindow:r}=this,o=(r?1:2)*e;if(e<1/0&&o<i.length&&i.splice(0,i.length-o),!r){const s=t.now();let a=0;for(let l=1;l<i.length&&i[l]<=s;l+=2)a=l;a&&i.splice(0,a+1)}}}function Cv(){return $e((n,e)=>{let t=null;n._refCount++;const i=Ne(e,void 0,void 0,void 0,()=>{if(!n||n._refCount<=0||0<--n._refCount)return void(t=null);const r=n._connection,o=t;t=null,r&&(!o||r===o)&&r.unsubscribe(),e.unsubscribe()});n.subscribe(i),i.closed||(t=n.connect())})}class wv extends le{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,hC(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new Te;const t=this.getSubject();e.add(this.source.subscribe(Ne(t,void 0,()=>{this._teardown(),t.complete()},i=>{this._teardown(),t.error(i)},()=>this._teardown()))),e.closed&&(this._connection=null,e=Te.EMPTY)}return e}refCount(){return Cv()(this)}}class c${}class u$ extends c${constructor(e){super(),this._data=e}connect(){return ST(this._data)?this._data:V(this._data)}disconnect(){}}class Du{constructor(){this._listeners=[]}notify(e,t){for(let i of this._listeners)i(e,t)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(t=>e!==t)}}ngOnDestroy(){this._listeners=[]}}Du.\u0275fac=function(e){return new(e||Du)},Du.\u0275prov=I({token:Du,factory:Du.\u0275fac,providedIn:"root"});const TT=new A("_ViewRepeater"),f$=["contentWrapper"],AT=new A("VIRTUAL_SCROLL_STRATEGY");class m${constructor(e,t,i){this._scrolledIndexChange=new B,this.scrolledIndexChange=this._scrolledIndexChange.pipe(cv()),this._viewport=null,this._itemSize=e,this._minBufferPx=t,this._maxBufferPx=i}attach(e){this._viewport=e,this._updateTotalContentSize(),this._updateRenderedRange()}detach(){this._scrolledIndexChange.complete(),this._viewport=null}updateItemAndBufferSize(e,t,i){this._itemSize=e,this._minBufferPx=t,this._maxBufferPx=i,this._updateTotalContentSize(),this._updateRenderedRange()}onContentScrolled(){this._updateRenderedRange()}onDataLengthChanged(){this._updateTotalContentSize(),this._updateRenderedRange()}onContentRendered(){}onRenderedOffsetChanged(){}scrollToIndex(e,t){this._viewport&&this._viewport.scrollToOffset(e*this._itemSize,t)}_updateTotalContentSize(){this._viewport&&this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)}_updateRenderedRange(){if(!this._viewport)return;const e=this._viewport.getRenderedRange(),t={start:e.start,end:e.end},i=this._viewport.getViewportSize(),r=this._viewport.getDataLength();let o=this._viewport.measureScrollOffset(),s=this._itemSize>0?o/this._itemSize:0;if(t.end>r){const l=Math.ceil(i/this._itemSize),c=Math.max(0,Math.min(s,r-l));s!=c&&(s=c,o=c*this._itemSize,t.start=Math.floor(s)),t.end=Math.max(0,Math.min(r,t.start+l))}const a=o-t.start*this._itemSize;if(a<this._minBufferPx&&0!=t.start){const l=Math.ceil((this._maxBufferPx-a)/this._itemSize);t.start=Math.max(0,t.start-l),t.end=Math.min(r,Math.ceil(s+(i+this._minBufferPx)/this._itemSize))}else{const l=t.end*this._itemSize-(o+i);if(l<this._minBufferPx&&t.end!=r){const c=Math.ceil((this._maxBufferPx-l)/this._itemSize);c>0&&(t.end=Math.min(r,t.end+c),t.start=Math.max(0,Math.floor(s-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(t),this._viewport.setRenderedContentOffset(this._itemSize*t.start),this._scrolledIndexChange.next(Math.floor(s))}}class Mu{constructor(){this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new m$(this.itemSize,this.minBufferPx,this.maxBufferPx)}get itemSize(){return this._itemSize}set itemSize(e){this._itemSize=Rt(e)}get minBufferPx(){return this._minBufferPx}set minBufferPx(e){this._minBufferPx=Rt(e)}get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(e){this._maxBufferPx=Rt(e)}ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}}Mu.\u0275fac=function(e){return new(e||Mu)},Mu.\u0275dir=E({type:Mu,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},standalone:!0,features:[ee([{provide:AT,useFactory:function g$(n){return n._scrollStrategy},deps:[Ae(()=>Mu)]}]),Ve]});class Jn{constructor(e,t,i){this._ngZone=e,this._platform=t,this._scrolled=new B,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=i}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new le(t=>{this._globalSubscription||this._addGlobalListener();const i=e>0?this._scrolled.pipe(wm(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{i.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):V()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,t)=>this.deregister(t)),this._scrolled.complete()}ancestorScrolled(e,t){const i=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(st(r=>!r||i.indexOf(r)>-1))}getAncestorScrollContainers(e){const t=[];return this.scrollContainers.forEach((i,r)=>{this._scrollableContainsElement(r,e)&&t.push(r)}),t}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,t){let i=ir(t),r=e.getElementRef().nativeElement;do{if(i==r)return!0}while(i=i.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>In(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}Jn.\u0275fac=function(e){return new(e||Jn)(b(R),b(Se),b($,8))},Jn.\u0275prov=I({token:Jn,factory:Jn.\u0275fac,providedIn:"root"});class Nl{constructor(e,t,i,r){this.elementRef=e,this.scrollDispatcher=t,this.ngZone=i,this.dir=r,this._destroyed=new B,this._elementScrolled=new le(o=>this.ngZone.runOutsideAngular(()=>In(this.elementRef.nativeElement,"scroll").pipe(he(this._destroyed)).subscribe(o)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){const t=this.elementRef.nativeElement,i=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=i?e.end:e.start),null==e.right&&(e.right=i?e.start:e.end),null!=e.bottom&&(e.top=t.scrollHeight-t.clientHeight-e.bottom),i&&0!=au()?(null!=e.left&&(e.right=t.scrollWidth-t.clientWidth-e.left),2==au()?e.left=e.right:1==au()&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=t.scrollWidth-t.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){const t=this.elementRef.nativeElement;XS()?t.scrollTo(e):(null!=e.top&&(t.scrollTop=e.top),null!=e.left&&(t.scrollLeft=e.left))}measureScrollOffset(e){const t="left",i="right",r=this.elementRef.nativeElement;if("top"==e)return r.scrollTop;if("bottom"==e)return r.scrollHeight-r.clientHeight-r.scrollTop;const o=this.dir&&"rtl"==this.dir.value;return"start"==e?e=o?i:t:"end"==e&&(e=o?t:i),o&&2==au()?e==t?r.scrollWidth-r.clientWidth-r.scrollLeft:r.scrollLeft:o&&1==au()?e==t?r.scrollLeft+r.scrollWidth-r.clientWidth:-r.scrollLeft:e==t?r.scrollLeft:r.scrollWidth-r.clientWidth-r.scrollLeft}}Nl.\u0275fac=function(e){return new(e||Nl)(f(j),f(Jn),f(R),f(qe,8))},Nl.\u0275dir=E({type:Nl,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0});class Zt{constructor(e,t,i){this._platform=e,this._change=new B,this._changeListener=r=>{this._change.next(r)},this._document=i,t.runOutsideAngular(()=>{if(e.isBrowser){const r=this._getWindow();r.addEventListener("resize",this._changeListener),r.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:t,height:i}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+i,right:e.left+t,height:i,width:t}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,t=this._getWindow(),i=e.documentElement,r=i.getBoundingClientRect();return{top:-r.top||e.body.scrollTop||t.scrollY||i.scrollTop||0,left:-r.left||e.body.scrollLeft||t.scrollX||i.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(wm(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}Zt.\u0275fac=function(e){return new(e||Zt)(b(Se),b(R),b($,8))},Zt.\u0275prov=I({token:Zt,factory:Zt.\u0275fac,providedIn:"root"});const xm=new A("VIRTUAL_SCROLLABLE");class As extends Nl{constructor(e,t,i,r){super(e,t,i,r)}measureViewportSize(e){const t=this.elementRef.nativeElement;return"horizontal"===e?t.clientWidth:t.clientHeight}}As.\u0275fac=function(e){return new(e||As)(f(j),f(Jn),f(R),f(qe,8))},As.\u0275dir=E({type:As,features:[L]});const v$=typeof requestAnimationFrame<"u"?K5:i$;class Os extends As{get orientation(){return this._orientation}set orientation(e){this._orientation!==e&&(this._orientation=e,this._calculateSpacerSize())}get appendOnly(){return this._appendOnly}set appendOnly(e){this._appendOnly=_e(e)}constructor(e,t,i,r,o,s,a,l){super(e,s,i,o),this.elementRef=e,this._changeDetectorRef=t,this._scrollStrategy=r,this.scrollable=l,this._platform=H(Se),this._detachedSubject=new B,this._renderedRangeSubject=new B,this._orientation="vertical",this._appendOnly=!1,this.scrolledIndexChange=new le(c=>this._scrollStrategy.scrolledIndexChange.subscribe(d=>Promise.resolve().then(()=>this.ngZone.run(()=>c.next(d))))),this.renderedRangeStream=this._renderedRangeSubject,this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=Te.EMPTY,this._viewportChanges=a.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this)}ngOnInit(){this._platform.isBrowser&&(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe(Xn(null),wm(0,v$)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(e){this._forOf,this.ngZone.runOutsideAngular(()=>{this._forOf=e,this._forOf.dataStream.pipe(he(this._detachedSubject)).subscribe(t=>{const i=t.length;i!==this._dataLength&&(this._dataLength=i,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(e){return this.getElementRef().nativeElement.getBoundingClientRect()[e]}setTotalContentSize(e){this._totalContentSize!==e&&(this._totalContentSize=e,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(e){(function b$(n,e){return n.start==e.start&&n.end==e.end})(this._renderedRange,e)||(this.appendOnly&&(e={start:0,end:Math.max(this._renderedRange.end,e.end)}),this._renderedRangeSubject.next(this._renderedRange=e),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(e,t="to-start"){e=this.appendOnly&&"to-start"===t?0:e;const i=this.dir&&"rtl"==this.dir.value,r="horizontal"==this.orientation,o=r?"X":"Y";let a=`translate${o}(${Number((r&&i?-1:1)*e)}px)`;this._renderedContentOffset=e,"to-end"===t&&(a+=` translate${o}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=a&&(this._renderedContentTransform=a,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(e,t="auto"){const i={behavior:t};"horizontal"===this.orientation?i.start=e:i.top=e,this.scrollable.scrollTo(i)}scrollToIndex(e,t="auto"){this._scrollStrategy.scrollToIndex(e,t)}measureScrollOffset(e){let t;return t=this.scrollable==this?i=>super.measureScrollOffset(i):i=>this.scrollable.measureScrollOffset(i),Math.max(0,t(e??("horizontal"===this.orientation?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(e){let t;const i="left",r="right",o="rtl"==this.dir?.value;t="start"==e?o?r:i:"end"==e?o?i:r:e||("horizontal"===this.orientation?"left":"top");const s=this.scrollable.measureBoundingClientRectWithScrollOffset(t);return this.elementRef.nativeElement.getBoundingClientRect()[t]-s}measureRenderedContentSize(){const e=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?e.offsetWidth:e.offsetHeight}measureRangeSize(e){return this._forOf?this._forOf.measureRangeSize(e,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(e){e&&this._runAfterChangeDetection.push(e),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run(()=>this._changeDetectorRef.markForCheck());const e=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const t of e)t()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}}function OT(n,e,t){const i=t;if(!i.getBoundingClientRect)return 0;const r=i.getBoundingClientRect();return"horizontal"===n?"start"===e?r.left:r.right:"start"===e?r.top:r.bottom}Os.\u0275fac=function(e){return new(e||Os)(f(j),f(ht),f(R),f(AT,8),f(qe,8),f(Jn),f(Zt),f(xm,8))},Os.\u0275cmp=xe({type:Os,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(e,t){if(1&e&&Pe(f$,7),2&e){let i;ne(i=ie())&&(t._contentWrapper=i.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(e,t){2&e&&ue("cdk-virtual-scroll-orientation-horizontal","horizontal"===t.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==t.orientation)},inputs:{orientation:"orientation",appendOnly:"appendOnly"},outputs:{scrolledIndexChange:"scrolledIndexChange"},standalone:!0,features:[ee([{provide:Nl,useFactory:(n,e)=>n||e,deps:[[new Co,new Mf(xm)],Os]}]),L,ly],ngContentSelectors:["*"],decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(e,t){1&e&&(Wt(),_(0,"div",0,1),Ge(2),y(),oe(3,"div",2)),2&e&&(C(3),wr("width",t._totalContentWidth)("height",t._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}"],encapsulation:2,changeDetection:0});class Dm{get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(e){this._cdkVirtualForOf=e,function d$(n){return n&&"function"==typeof n.connect&&!(n instanceof wv)}(e)?this._dataSourceChanges.next(e):this._dataSourceChanges.next(new u$(ST(e)?e:Array.from(e||[])))}get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(e){this._needsUpdate=!0,this._cdkVirtualForTrackBy=e?(t,i)=>e(t+(this._renderedRange?this._renderedRange.start:0),i):void 0}set cdkVirtualForTemplate(e){e&&(this._needsUpdate=!0,this._template=e)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(e){this._viewRepeater.viewCacheSize=Rt(e)}constructor(e,t,i,r,o,s){this._viewContainerRef=e,this._template=t,this._differs=i,this._viewRepeater=r,this._viewport=o,this.viewChange=new B,this._dataSourceChanges=new B,this.dataStream=this._dataSourceChanges.pipe(Xn(null),function s$(){return $e((n,e)=>{let t,i=!1;n.subscribe(Ne(e,r=>{const o=t;t=r,i&&e.next([o,r]),i=!0}))})}(),xt(([a,l])=>this._changeDataSource(a,l)),function l$(n,e,t){let i,r=!1;return n&&"object"==typeof n?({bufferSize:i=1/0,windowTime:e=1/0,refCount:r=!1,scheduler:t}=n):i=n??1/0,AC({connector:()=>new a$(i,e,t),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}(1)),this._differ=null,this._needsUpdate=!1,this._destroyed=new B,this.dataStream.subscribe(a=>{this._data=a,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe(he(this._destroyed)).subscribe(a=>{this._renderedRange=a,this.viewChange.observers.length&&s.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}measureRangeSize(e,t){if(e.start>=e.end)return 0;e.start<this._renderedRange.start||(e.end,this._renderedRange.end);const i=e.start-this._renderedRange.start,r=e.end-e.start;let o,s;for(let a=0;a<r;a++){const l=this._viewContainerRef.get(a+i);if(l&&l.rootNodes.length){o=s=l.rootNodes[0];break}}for(let a=r-1;a>-1;a--){const l=this._viewContainerRef.get(a+i);if(l&&l.rootNodes.length){s=l.rootNodes[l.rootNodes.length-1];break}}return o&&s?OT(t,"end",s)-OT(t,"start",o):0}ngDoCheck(){if(this._differ&&this._needsUpdate){const e=this._differ.diff(this._renderedItems);e?this._applyChanges(e):this._updateContext(),this._needsUpdate=!1}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}_onRenderedDataChange(){this._renderedRange&&(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create((e,t)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(e,t):t)),this._needsUpdate=!0)}_changeDataSource(e,t){return e&&e.disconnect(this),this._needsUpdate=!0,t?t.connect(this):V()}_updateContext(){const e=this._data.length;let t=this._viewContainerRef.length;for(;t--;){const i=this._viewContainerRef.get(t);i.context.index=this._renderedRange.start+t,i.context.count=e,this._updateComputedContextProperties(i.context),i.detectChanges()}}_applyChanges(e){this._viewRepeater.applyChanges(e,this._viewContainerRef,(r,o,s)=>this._getEmbeddedViewArgs(r,s),r=>r.item),e.forEachIdentityChange(r=>{this._viewContainerRef.get(r.currentIndex).context.$implicit=r.item});const t=this._data.length;let i=this._viewContainerRef.length;for(;i--;){const r=this._viewContainerRef.get(i);r.context.index=this._renderedRange.start+i,r.context.count=t,this._updateComputedContextProperties(r.context)}}_updateComputedContextProperties(e){e.first=0===e.index,e.last=e.index===e.count-1,e.even=e.index%2==0,e.odd=!e.even}_getEmbeddedViewArgs(e,t){return{templateRef:this._template,context:{$implicit:e.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:t}}}Dm.\u0275fac=function(e){return new(e||Dm)(f(rt),f(ut),f(bn),f(TT),f(Os,4),f(R))},Dm.\u0275dir=E({type:Dm,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"},standalone:!0,features:[ee([{provide:TT,useClass:class h${constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(e,t,i,r,o){e.forEachOperation((s,a,l)=>{let c,d;if(null==s.previousIndex){const u=()=>i(s,a,l);c=this._insertView(u,l,t,r(s)),d=c?1:0}else null==l?(this._detachAndCacheView(a,t),d=3):(c=this._moveView(a,l,t,r(s)),d=2);o&&o({context:c?.context,operation:d,record:s})})}detach(){for(const e of this._viewCache)e.destroy();this._viewCache=[]}_insertView(e,t,i,r){const o=this._insertViewFromCache(t,i);if(o)return void(o.context.$implicit=r);const s=e();return i.createEmbeddedView(s.templateRef,s.context,s.index)}_detachAndCacheView(e,t){const i=t.detach(e);this._maybeCacheView(i,t)}_moveView(e,t,i,r){const o=i.get(e);return i.move(o,t),o.context.$implicit=r,o}_maybeCacheView(e,t){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(e);else{const i=t.indexOf(e);-1===i?e.destroy():t.remove(i)}}_insertViewFromCache(e,t){const i=this._viewCache.pop();return i&&t.insert(i,e),i||null}}}])]});class Eu extends As{constructor(e,t,i,r){super(e,t,i,r)}measureBoundingClientRectWithScrollOffset(e){return this.getElementRef().nativeElement.getBoundingClientRect()[e]-this.measureScrollOffset(e)}}Eu.\u0275fac=function(e){return new(e||Eu)(f(j),f(Jn),f(R),f(qe,8))},Eu.\u0275dir=E({type:Eu,selectors:[["","cdkVirtualScrollingElement",""]],hostAttrs:[1,"cdk-virtual-scrollable"],standalone:!0,features:[ee([{provide:xm,useExisting:Eu}]),L]});class Iu extends As{constructor(e,t,i){super(new j(document.documentElement),e,t,i),this._elementScrolled=new le(r=>this.ngZone.runOutsideAngular(()=>In(document,"scroll").pipe(he(this._destroyed)).subscribe(r)))}measureBoundingClientRectWithScrollOffset(e){return this.getElementRef().nativeElement.getBoundingClientRect()[e]}}Iu.\u0275fac=function(e){return new(e||Iu)(f(Jn),f(R),f(qe,8))},Iu.\u0275dir=E({type:Iu,selectors:[["cdk-virtual-scroll-viewport","scrollWindow",""]],standalone:!0,features:[ee([{provide:xm,useExisting:Iu}]),L]});class Qr{}Qr.\u0275fac=function(e){return new(e||Qr)},Qr.\u0275mod=te({type:Qr}),Qr.\u0275inj=X({});class ks{}ks.\u0275fac=function(e){return new(e||ks)},ks.\u0275mod=te({type:ks}),ks.\u0275inj=X({imports:[vi,Qr,Os,vi,Qr]});class xv{attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;null!=e&&(this._attachedHost=null,e.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(e){this._attachedHost=e}}class Dv extends xv{constructor(e,t,i,r,o){super(),this.component=e,this.viewContainerRef=t,this.injector=i,this.componentFactoryResolver=r,this.projectableNodes=o}}class Ll extends xv{constructor(e,t,i,r){super(),this.templateRef=e,this.viewContainerRef=t,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(e,t=this.context){return this.context=t,super.attach(e)}detach(){return this.context=void 0,super.detach()}}class C$ extends xv{constructor(e){super(),this.element=e instanceof j?e.nativeElement:e}}class Mv{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(e){return e instanceof Dv?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof Ll?(this._attachedPortal=e,this.attachTemplatePortal(e)):this.attachDomPortal&&e instanceof C$?(this._attachedPortal=e,this.attachDomPortal(e)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class w$ extends Mv{constructor(e,t,i,r,o){super(),this.outletElement=e,this._componentFactoryResolver=t,this._appRef=i,this._defaultInjector=r,this.attachDomPortal=s=>{this._document;const a=s.element;a.parentNode;const l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=o}attachComponentPortal(e){const i=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component);let r;return e.viewContainerRef?(r=e.viewContainerRef.createComponent(i,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector,e.projectableNodes||void 0),this.setDisposeFn(()=>r.destroy())):(r=i.create(e.injector||this._defaultInjector||He.NULL),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(r.hostView),r.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(r)),this._attachedPortal=e,r}attachTemplatePortal(e){let t=e.viewContainerRef,i=t.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=t.indexOf(i);-1!==r&&t.remove(r)}),this._attachedPortal=e,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(e){return e.hostView.rootNodes[0]}}class Rs extends Ll{constructor(e,t){super(e,t)}}Rs.\u0275fac=function(e){return new(e||Rs)(f(ut),f(rt))},Rs.\u0275dir=E({type:Rs,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[L]});class Vl extends Rs{}Vl.\u0275fac=function(){let n;return function(t){return(n||(n=Oe(Vl)))(t||Vl)}}(),Vl.\u0275dir=E({type:Vl,selectors:[["","cdk-portal",""],["","portal",""]],exportAs:["cdkPortal"],features:[ee([{provide:Rs,useExisting:Vl}]),L]});class Sn extends Mv{constructor(e,t,i){super(),this._componentFactoryResolver=e,this._viewContainerRef=t,this._isInitialized=!1,this.attached=new U,this.attachDomPortal=r=>{this._document;const o=r.element;o.parentNode;const s=this._document.createComment("dom-portal");r.setAttachedHost(this),o.parentNode.insertBefore(s,o),this._getRootNode().appendChild(o),this._attachedPortal=r,super.setDisposeFn(()=>{s.parentNode&&s.parentNode.replaceChild(o,s)})},this._document=i}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);const t=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,r=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),o=t.createComponent(r,t.length,e.injector||t.injector,e.projectableNodes||void 0);return t!==this._viewContainerRef&&this._getRootNode().appendChild(o.hostView.rootNodes[0]),super.setDisposeFn(()=>o.destroy()),this._attachedPortal=e,this._attachedRef=o,this.attached.emit(o),o}attachTemplatePortal(e){e.setAttachedHost(this);const t=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=t,this.attached.emit(t),t}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}Sn.\u0275fac=function(e){return new(e||Sn)(f(Li),f(rt),f($))},Sn.\u0275dir=E({type:Sn,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[L]});class Bl extends Sn{}Bl.\u0275fac=function(){let n;return function(t){return(n||(n=Oe(Bl)))(t||Bl)}}(),Bl.\u0275dir=E({type:Bl,selectors:[["","cdkPortalHost",""],["","portalHost",""]],inputs:{portal:["cdkPortalHost","portal"]},exportAs:["cdkPortalHost"],features:[ee([{provide:Sn,useExisting:Bl}]),L]});class Ci{}Ci.\u0275fac=function(e){return new(e||Ci)},Ci.\u0275mod=te({type:Ci}),Ci.\u0275inj=X({});function kT(n,e=!1){return $e((t,i)=>{let r=0;t.subscribe(Ne(i,o=>{const s=n(o,r++);(s||e)&&i.next(o),!s&&i.complete()}))})}const RT=XS();class x${constructor(e,t){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=t}attach(){}enable(){if(this._canBeEnabled()){const e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=at(-this._previousScrollPosition.left),e.style.top=at(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const e=this._document.documentElement,t=this._document.body,i=e.style,r=t.style,o=i.scrollBehavior||"",s=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),RT&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),RT&&(i.scrollBehavior=o,r.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,i=this._viewportRuler.getViewportSize();return t.scrollHeight>i.height||t.scrollWidth>i.width}}class D${constructor(e,t,i,r){this._scrollDispatcher=e,this._ngZone=t,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(this._scrollSubscription)return;const e=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class FT{enable(){}disable(){}attach(){}}function Ev(n,e){return e.some(t=>{const i=n.bottom<t.top,r=n.top>t.bottom,o=n.right<t.left,s=n.left>t.right;return i||r||o||s})}function PT(n,e){return e.some(t=>{const i=n.top<t.top,r=n.bottom>t.bottom,o=n.left<t.left,s=n.right>t.right;return i||r||o||s})}class M${constructor(e,t,i,r){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=i,this._config=r,this._scrollSubscription=null}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(!this._scrollSubscription){const e=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(e).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();Ev(t,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class zl{constructor(e,t,i,r){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=i,this.noop=()=>new FT,this.close=o=>new D$(this._scrollDispatcher,this._ngZone,this._viewportRuler,o),this.block=()=>new x$(this._viewportRuler,this._document),this.reposition=o=>new M$(this._scrollDispatcher,this._viewportRuler,this._ngZone,o),this._document=r}}zl.\u0275fac=function(e){return new(e||zl)(b(Jn),b(Zt),b(R),b($))},zl.\u0275prov=I({token:zl,factory:zl.\u0275fac,providedIn:"root"});class Mm{constructor(e){if(this.scrollStrategy=new FT,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e){const t=Object.keys(e);for(const i of t)void 0!==e[i]&&(this[i]=e[i])}}}class E${constructor(e,t){this.connectionPair=e,this.scrollableViewProperties=t}}class Fs{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),0===this._attachedOverlays.length&&this.detach()}}Fs.\u0275fac=function(e){return new(e||Fs)(b($))},Fs.\u0275prov=I({token:Fs,factory:Fs.\u0275fac,providedIn:"root"});class jl extends Fs{constructor(e,t){super(e),this._ngZone=t,this._keydownListener=i=>{const r=this._attachedOverlays;for(let o=r.length-1;o>-1;o--)if(r[o]._keydownEvents.observers.length>0){const s=r[o]._keydownEvents;this._ngZone?this._ngZone.run(()=>s.next(i)):s.next(i);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}jl.\u0275fac=function(e){return new(e||jl)(b($),b(R,8))},jl.\u0275prov=I({token:jl,factory:jl.\u0275fac,providedIn:"root"});class Hl extends Fs{constructor(e,t,i){super(e),this._platform=t,this._ngZone=i,this._cursorStyleIsSet=!1,this._pointerDownListener=r=>{this._pointerDownEventTarget=tr(r)},this._clickListener=r=>{const o=tr(r),s="click"===r.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:o;this._pointerDownEventTarget=null;const a=this._attachedOverlays.slice();for(let l=a.length-1;l>-1;l--){const c=a[l];if(c._outsidePointerEvents.observers.length<1||!c.hasAttached())continue;if(c.overlayElement.contains(o)||c.overlayElement.contains(s))break;const d=c._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>d.next(r)):d.next(r)}}}add(e){if(super.add(e),!this._isAttached){const t=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(t)):this._addEventListeners(t),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=t.style.cursor,t.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}}Hl.\u0275fac=function(e){return new(e||Hl)(b($),b(Se),b(R,8))},Hl.\u0275prov=I({token:Hl,factory:Hl.\u0275fac,providedIn:"root"});class wi{constructor(e,t){this._platform=t,this._document=e}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||tv()){const i=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let r=0;r<i.length;r++)i[r].remove()}const t=this._document.createElement("div");t.classList.add(e),tv()?t.setAttribute("platform","test"):this._platform.isBrowser||t.setAttribute("platform","server"),this._document.body.appendChild(t),this._containerElement=t}}wi.\u0275fac=function(e){return new(e||wi)(b($),b(Se))},wi.\u0275prov=I({token:wi,factory:wi.\u0275fac,providedIn:"root"});class Su{constructor(e,t,i,r,o,s,a,l,c,d=!1){this._portalOutlet=e,this._host=t,this._pane=i,this._config=r,this._ngZone=o,this._keyboardDispatcher=s,this._document=a,this._location=l,this._outsideClickDispatcher=c,this._animationsDisabled=d,this._backdropElement=null,this._backdropClick=new B,this._attachments=new B,this._detachments=new B,this._locationChanges=Te.EMPTY,this._backdropClickHandler=u=>this._backdropClick.next(u),this._backdropTransitionendHandler=u=>{this._disposeBackdrop(u.target)},this._keydownEvents=new B,this._outsidePointerEvents=new B,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(e){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const t=this._portalOutlet.attach(e);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(We(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof t?.onDestroy&&t.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}dispose(){const e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,e&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config={...this._config,...e},this._updateElementSize()}setDirection(e){this._config={...this._config,direction:e},this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){const e=this._config.direction;return e?"string"==typeof e?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const e=this._pane.style;e.width=at(this._config.width),e.height=at(this._config.height),e.minWidth=at(this._config.minWidth),e.minHeight=at(this._config.minHeight),e.maxWidth=at(this._config.maxWidth),e.maxHeight=at(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"":"none"}_attachBackdrop(){const e="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(e)})}):this._backdropElement.classList.add(e)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const e=this._backdropElement;if(e){if(this._animationsDisabled)return void this._disposeBackdrop(e);e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",this._backdropTransitionendHandler)}),e.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(e)},500))}}_toggleClasses(e,t,i){const r=dm(t||[]).filter(o=>!!o);r.length&&(i?e.classList.add(...r):e.classList.remove(...r))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const e=this._ngZone.onStable.pipe(he(kn(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),e.unsubscribe())})})}_disposeScrollStrategy(){const e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}_disposeBackdrop(e){e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",this._backdropTransitionendHandler),e.remove(),this._backdropElement===e&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const NT="cdk-overlay-connected-position-bounding-box",I$=/([A-Za-z%]+)$/;class S${get positions(){return this._preferredPositions}constructor(e,t,i,r,o){this._viewportRuler=t,this._document=i,this._platform=r,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new B,this._resizeSubscription=Te.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(e)}attach(e){this._overlayRef&&this._overlayRef,this._validatePositions(),e.hostElement.classList.add(NT),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._originRect,t=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[];let s;for(let a of this._preferredPositions){let l=this._getOriginPoint(e,r,a),c=this._getOverlayPoint(l,t,a),d=this._getOverlayFit(c,t,i,a);if(d.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,l);this._canFitWithFlexibleDimensions(d,c,i)?o.push({position:a,origin:l,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(l,a)}):(!s||s.overlayFit.visibleArea<d.visibleArea)&&(s={overlayFit:d,overlayPoint:c,originPoint:l,position:a,overlayRect:t})}if(o.length){let a=null,l=-1;for(const c of o){const d=c.boundingBoxRect.width*c.boundingBoxRect.height*(c.position.weight||1);d>l&&(l=d,a=c)}return this._isPushed=!1,void this._applyPosition(a.position,a.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Ps(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(NT),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const e=this._lastPosition;if(e){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._getOriginPoint(this._originRect,this._containerRect,e);this._applyPosition(e,t)}else this.apply()}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,-1===e.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,t,i){let r,o;if("center"==i.originX)r=e.left+e.width/2;else{const s=this._isRtl()?e.right:e.left,a=this._isRtl()?e.left:e.right;r="start"==i.originX?s:a}return t.left<0&&(r-=t.left),o="center"==i.originY?e.top+e.height/2:"top"==i.originY?e.top:e.bottom,t.top<0&&(o-=t.top),{x:r,y:o}}_getOverlayPoint(e,t,i){let r,o;return r="center"==i.overlayX?-t.width/2:"start"===i.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,o="center"==i.overlayY?-t.height/2:"top"==i.overlayY?0:-t.height,{x:e.x+r,y:e.y+o}}_getOverlayFit(e,t,i,r){const o=VT(t);let{x:s,y:a}=e,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(s+=l),c&&(a+=c);let d=0-s,u=s+o.width-i.width,h=0-a,p=a+o.height-i.height,m=this._subtractOverflows(o.width,d,u),g=this._subtractOverflows(o.height,h,p),v=m*g;return{visibleArea:v,isCompletelyWithinViewport:o.width*o.height===v,fitsInViewportVertically:g===o.height,fitsInViewportHorizontally:m==o.width}}_canFitWithFlexibleDimensions(e,t,i){if(this._hasFlexibleDimensions){const r=i.bottom-t.y,o=i.right-t.x,s=LT(this._overlayRef.getConfig().minHeight),a=LT(this._overlayRef.getConfig().minWidth),l=e.fitsInViewportVertically||null!=s&&s<=r,c=e.fitsInViewportHorizontally||null!=a&&a<=o;return l&&c}return!1}_pushOverlayOnScreen(e,t,i){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};const r=VT(t),o=this._viewportRect,s=Math.max(e.x+r.width-o.width,0),a=Math.max(e.y+r.height-o.height,0),l=Math.max(o.top-i.top-e.y,0),c=Math.max(o.left-i.left-e.x,0);let d=0,u=0;return d=r.width<=o.width?c||-s:e.x<this._viewportMargin?o.left-i.left-e.x:0,u=r.height<=o.height?l||-a:e.y<this._viewportMargin?o.top-i.top-e.y:0,this._previousPushAmount={x:d,y:u},{x:e.x+d,y:e.y+u}}_applyPosition(e,t){if(this._setTransformOrigin(e),this._setOverlayElementStyles(t,e),this._setBoundingBoxStyles(t,e),e.panelClass&&this._addPanelClasses(e.panelClass),this._lastPosition=e,this._positionChanges.observers.length){const i=this._getScrollVisibility(),r=new E$(e,i);this._positionChanges.next(r)}this._isInitialRender=!1}_setTransformOrigin(e){if(!this._transformOriginSelector)return;const t=this._boundingBox.querySelectorAll(this._transformOriginSelector);let i,r=e.overlayY;i="center"===e.overlayX?"center":this._isRtl()?"start"===e.overlayX?"right":"left":"start"===e.overlayX?"left":"right";for(let o=0;o<t.length;o++)t[o].style.transformOrigin=`${i} ${r}`}_calculateBoundingBoxRect(e,t){const i=this._viewportRect,r=this._isRtl();let o,s,a;if("top"===t.overlayY)s=e.y,o=i.height-s+this._viewportMargin;else if("bottom"===t.overlayY)a=i.height-e.y+2*this._viewportMargin,o=i.height-a+this._viewportMargin;else{const p=Math.min(i.bottom-e.y+i.top,e.y),m=this._lastBoundingBoxSize.height;o=2*p,s=e.y-p,o>m&&!this._isInitialRender&&!this._growAfterOpen&&(s=e.y-m/2)}const l="start"===t.overlayX&&!r||"end"===t.overlayX&&r;let d,u,h;if("end"===t.overlayX&&!r||"start"===t.overlayX&&r)h=i.width-e.x+this._viewportMargin,d=e.x-this._viewportMargin;else if(l)u=e.x,d=i.right-e.x;else{const p=Math.min(i.right-e.x+i.left,e.x),m=this._lastBoundingBoxSize.width;d=2*p,u=e.x-p,d>m&&!this._isInitialRender&&!this._growAfterOpen&&(u=e.x-m/2)}return{top:s,left:u,bottom:a,right:h,width:d,height:o}}_setBoundingBoxStyles(e,t){const i=this._calculateBoundingBoxRect(e,t);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{const o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;r.height=at(i.height),r.top=at(i.top),r.bottom=at(i.bottom),r.width=at(i.width),r.left=at(i.left),r.right=at(i.right),"center"===t.overlayX?r.alignItems="center":r.alignItems="end"===t.overlayX?"flex-end":"flex-start","center"===t.overlayY?r.justifyContent="center":r.justifyContent="bottom"===t.overlayY?"flex-end":"flex-start",o&&(r.maxHeight=at(o)),s&&(r.maxWidth=at(s))}this._lastBoundingBoxSize=i,Ps(this._boundingBox.style,r)}_resetBoundingBoxStyles(){Ps(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Ps(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,t){const i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(r){const d=this._viewportRuler.getViewportScrollPosition();Ps(i,this._getExactOverlayY(t,e,d)),Ps(i,this._getExactOverlayX(t,e,d))}else i.position="static";let a="",l=this._getOffset(t,"x"),c=this._getOffset(t,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),i.transform=a.trim(),s.maxHeight&&(r?i.maxHeight=at(s.maxHeight):o&&(i.maxHeight="")),s.maxWidth&&(r?i.maxWidth=at(s.maxWidth):o&&(i.maxWidth="")),Ps(this._pane.style,i)}_getExactOverlayY(e,t,i){let r={top:"",bottom:""},o=this._getOverlayPoint(t,this._overlayRect,e);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),"bottom"===e.overlayY){const s=this._document.documentElement.clientHeight;r.bottom=s-(o.y+this._overlayRect.height)+"px"}else r.top=at(o.y);return r}_getExactOverlayX(e,t,i){let s,r={left:"",right:""},o=this._getOverlayPoint(t,this._overlayRect,e);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),s=this._isRtl()?"end"===e.overlayX?"left":"right":"end"===e.overlayX?"right":"left","right"===s){const a=this._document.documentElement.clientWidth;r.right=a-(o.x+this._overlayRect.width)+"px"}else r.left=at(o.x);return r}_getScrollVisibility(){const e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:PT(e,i),isOriginOutsideView:Ev(e,i),isOverlayClipped:PT(t,i),isOverlayOutsideView:Ev(t,i)}}_subtractOverflows(e,...t){return t.reduce((i,r)=>i-Math.max(r,0),e)}_getNarrowedViewportRect(){const e=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+e-this._viewportMargin,bottom:i.top+t-this._viewportMargin,width:e-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,t){return"x"===t?null==e.offsetX?this._offsetX:e.offsetX:null==e.offsetY?this._offsetY:e.offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&dm(e).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){const e=this._origin;if(e instanceof j)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();const t=e.width||0,i=e.height||0;return{top:e.y,bottom:e.y+i,left:e.x,right:e.x+t,height:i,width:t}}}function Ps(n,e){for(let t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n}function LT(n){if("number"!=typeof n&&null!=n){const[e,t]=n.split(I$);return t&&"px"!==t?null:parseFloat(e)}return n||null}function VT(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}const BT="cdk-global-overlay-wrapper";class T${constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(e){const t=e.getConfig();this._overlayRef=e,this._width&&!t.width&&e.updateSize({width:this._width}),this._height&&!t.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(BT),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._xOffset=e,this._xPosition="left",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._xOffset=e,this._xPosition="right",this}start(e=""){return this._xOffset=e,this._xPosition="start",this}end(e=""){return this._xOffset=e,this._xPosition="end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._xPosition="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:s,maxHeight:a}=i,l=!("100%"!==r&&"100vw"!==r||s&&"100%"!==s&&"100vw"!==s),c=!("100%"!==o&&"100vh"!==o||a&&"100%"!==a&&"100vh"!==a),d=this._xPosition,u=this._xOffset,h="rtl"===this._overlayRef.getConfig().direction;let p="",m="",g="";l?g="flex-start":"center"===d?(g="center",h?m=u:p=u):h?"left"===d||"end"===d?(g="flex-end",p=u):("right"===d||"start"===d)&&(g="flex-start",m=u):"left"===d||"start"===d?(g="flex-start",p=u):("right"===d||"end"===d)&&(g="flex-end",m=u),e.position=this._cssPosition,e.marginLeft=l?"0":p,e.marginTop=c?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=l?"0":m,t.justifyContent=g,t.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,i=t.style;t.classList.remove(BT),i.justifyContent=i.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}}class Ul{constructor(e,t,i,r){this._viewportRuler=e,this._document=t,this._platform=i,this._overlayContainer=r}global(){return new T$}flexibleConnectedTo(e){return new S$(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}Ul.\u0275fac=function(e){return new(e||Ul)(b(Zt),b($),b(Se),b(wi))},Ul.\u0275prov=I({token:Ul,factory:Ul.\u0275fac,providedIn:"root"});let A$=0;class Kt{constructor(e,t,i,r,o,s,a,l,c,d,u,h){this.scrollStrategies=e,this._overlayContainer=t,this._componentFactoryResolver=i,this._positionBuilder=r,this._keyboardDispatcher=o,this._injector=s,this._ngZone=a,this._document=l,this._directionality=c,this._location=d,this._outsideClickDispatcher=u,this._animationsModuleType=h}create(e){const t=this._createHostElement(),i=this._createPaneElement(t),r=this._createPortalOutlet(i),o=new Mm(e);return o.direction=o.direction||this._directionality.value,new Su(r,t,i,o,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(e){const t=this._document.createElement("div");return t.id="cdk-overlay-"+A$++,t.classList.add("cdk-overlay-pane"),e.appendChild(t),t}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(Un)),new w$(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}Kt.\u0275fac=function(e){return new(e||Kt)(b(zl),b(wi),b(Li),b(Ul),b(jl),b(He),b(R),b($),b(qe),b(qt),b(Hl),b(_t,8))},Kt.\u0275prov=I({token:Kt,factory:Kt.\u0275fac,providedIn:"root"});const O$=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],zT=new A("cdk-connected-overlay-scroll-strategy");class Tu{constructor(e){this.elementRef=e}}Tu.\u0275fac=function(e){return new(e||Tu)(f(j))},Tu.\u0275dir=E({type:Tu,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0});class Em{get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=_e(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=_e(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=_e(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=_e(e)}get push(){return this._push}set push(e){this._push=_e(e)}constructor(e,t,i,r,o){this._overlay=e,this._dir=o,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=Te.EMPTY,this._attachSubscription=Te.EMPTY,this._detachSubscription=Te.EMPTY,this._positionSubscription=Te.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new U,this.positionChange=new U,this.attach=new U,this.detach=new U,this.overlayKeydown=new U,this.overlayOutsideClick=new U,this._templatePortal=new Ll(t,i),this._scrollStrategyFactory=r,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=O$);const e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(t=>{this.overlayKeydown.next(t),27===t.keyCode&&!this.disableClose&&!nr(t)&&(t.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(t=>{this.overlayOutsideClick.next(t)})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),t=new Mm({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(t.width=this.width),(this.height||0===this.height)&&(t.height=this.height),(this.minWidth||0===this.minWidth)&&(t.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(t.minHeight=this.minHeight),this.backdropClass&&(t.backdropClass=this.backdropClass),this.panelClass&&(t.panelClass=this.panelClass),t}_updatePositionStrategy(e){const t=this.positions.map(i=>({originX:i.originX,originY:i.originY,overlayX:i.overlayX,overlayY:i.overlayY,offsetX:i.offsetX||this.offsetX,offsetY:i.offsetY||this.offsetY,panelClass:i.panelClass||void 0}));return e.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(t).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const e=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(e),e}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof Tu?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(kT(()=>this.positionChange.observers.length>0)).subscribe(e=>{this.positionChange.emit(e),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}Em.\u0275fac=function(e){return new(e||Em)(f(Kt),f(ut),f(rt),f(zT),f(qe,8))},Em.\u0275dir=E({type:Em,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[Ve]});const R$={provide:zT,deps:[Kt],useFactory:function k$(n){return()=>n.scrollStrategies.reposition()}};class Jr{}Jr.\u0275fac=function(e){return new(e||Jr)},Jr.\u0275mod=te({type:Jr}),Jr.\u0275inj=X({providers:[Kt,R$],imports:[vi,Ci,ks,ks]});class Au extends wi{constructor(e,t){super(e,t)}ngOnDestroy(){super.ngOnDestroy(),this._fullScreenEventName&&this._fullScreenListener&&this._document.removeEventListener(this._fullScreenEventName,this._fullScreenListener)}_createContainer(){super._createContainer(),this._adjustParentForFullscreenChange(),this._addFullscreenChangeListener(()=>this._adjustParentForFullscreenChange())}_adjustParentForFullscreenChange(){this._containerElement&&(this.getFullscreenElement()||this._document.body).appendChild(this._containerElement)}_addFullscreenChangeListener(e){const t=this._getEventName();t&&(this._fullScreenListener&&this._document.removeEventListener(t,this._fullScreenListener),this._document.addEventListener(t,e),this._fullScreenListener=e)}_getEventName(){if(!this._fullScreenEventName){const e=this._document;e.fullscreenEnabled?this._fullScreenEventName="fullscreenchange":e.webkitFullscreenEnabled?this._fullScreenEventName="webkitfullscreenchange":e.mozFullScreenEnabled?this._fullScreenEventName="mozfullscreenchange":e.msFullscreenEnabled&&(this._fullScreenEventName="MSFullscreenChange")}return this._fullScreenEventName}getFullscreenElement(){const e=this._document;return e.fullscreenElement||e.webkitFullscreenElement||e.mozFullScreenElement||e.msFullscreenElement||null}}function Ou(n){return new le(e=>{Mt(n()).subscribe(e)})}Au.\u0275fac=function(e){return new(e||Au)(b($),b(Se))},Au.\u0275prov=I({token:Au,factory:Au.\u0275fac,providedIn:"root"});const N$=["textField"],L$=["iconPrefixContainer"],V$=["textPrefixContainer"];function B$(n,e){1&n&&oe(0,"span",19)}function z$(n,e){if(1&n){const t=gt();_(0,"label",17),q("cdkObserveContent",function(){nt(t);return it(F(2)._refreshOutlineNotchWidth())}),Ge(1,1),k(2,B$,1,0,"span",18),y()}if(2&n){const t=F(2);M("floating",t._shouldLabelFloat())("cdkObserveContentDisabled",!t._hasOutline())("id",t._labelId),ge("for",t._control.id)("aria-owns",t._control.id),C(2),M("ngIf",!t.hideRequiredMarker&&t._control.required)}}function j$(n,e){if(1&n&&k(0,z$,3,6,"label",16),2&n){M("ngIf",F()._hasFloatingLabel())}}function H$(n,e){1&n&&oe(0,"div",20)}function U$(n,e){}function $$(n,e){if(1&n&&k(0,U$,0,0,"ng-template",22),2&n){F(2);M("ngTemplateOutlet",Vn(1))}}function G$(n,e){if(1&n&&(_(0,"div",21),k(1,$$,1,1,"ng-template",9),y()),2&n){const t=F();M("matFormFieldNotchedOutlineOpen",t._shouldLabelFloat())("matFormFieldNotchedOutlineLabelWidth",t._labelWidth),C(1),M("ngIf",!t._forceDisplayInfixLabel())}}function W$(n,e){1&n&&(_(0,"div",23,24),Ge(2,2),y())}function q$(n,e){1&n&&(_(0,"div",25,26),Ge(2,3),y())}function Y$(n,e){}function Z$(n,e){if(1&n&&k(0,Y$,0,0,"ng-template",22),2&n){F();M("ngTemplateOutlet",Vn(1))}}function K$(n,e){1&n&&(_(0,"div",27),Ge(1,4),y())}function X$(n,e){1&n&&(_(0,"div",28),Ge(1,5),y())}function Q$(n,e){1&n&&oe(0,"div",29)}function J$(n,e){if(1&n&&(_(0,"div",30),Ge(1,6),y()),2&n){M("@transitionMessages",F()._subscriptAnimationState)}}function e4(n,e){if(1&n&&(_(0,"mat-hint",34),S(1),y()),2&n){const t=F(2);M("id",t._hintLabelId),C(1),Ue(t.hintLabel)}}function t4(n,e){if(1&n&&(_(0,"div",31),k(1,e4,2,2,"mat-hint",32),Ge(2,7),oe(3,"div",33),Ge(4,8),y()),2&n){const t=F();M("@transitionMessages",t._subscriptAnimationState),C(1),M("ngIf",t.hintLabel)}}const n4=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]];class $l{}$l.\u0275fac=function(e){return new(e||$l)},$l.\u0275dir=E({type:$l,selectors:[["mat-label"]]});let r4=0;const jT=new A("MatError");class ku{constructor(e,t){this.id="mat-mdc-error-"+r4++,e||t.nativeElement.setAttribute("aria-live","polite")}}ku.\u0275fac=function(e){return new(e||ku)(yo("aria-live"),f(j))},ku.\u0275dir=E({type:ku,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(e,t){2&e&&xr("id",t.id)},inputs:{id:"id"},features:[ee([{provide:jT,useExisting:ku}])]});let o4=0;class Gl{constructor(){this.align="start",this.id="mat-mdc-hint-"+o4++}}Gl.\u0275fac=function(e){return new(e||Gl)},Gl.\u0275dir=E({type:Gl,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(e,t){2&e&&(xr("id",t.id),ge("align",null),ue("mat-mdc-form-field-hint-end","end"===t.align))},inputs:{align:"align",id:"id"}});const HT=new A("MatPrefix");class Ru{constructor(){this._isText=!1}set _isTextSelector(e){this._isText=!0}}Ru.\u0275fac=function(e){return new(e||Ru)},Ru.\u0275dir=E({type:Ru,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:["matTextPrefix","_isTextSelector"]},features:[ee([{provide:HT,useExisting:Ru}])]});const UT=new A("MatSuffix");class Fu{constructor(){this._isText=!1}set _isTextSelector(e){this._isText=!0}}Fu.\u0275fac=function(e){return new(e||Fu)},Fu.\u0275dir=E({type:Fu,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:["matTextSuffix","_isTextSelector"]},features:[ee([{provide:UT,useExisting:Fu}])]});class Wl{constructor(e){this._elementRef=e,this.floating=!1}getWidth(){return function s4(n){const e=n;if(null!==e.offsetParent)return e.scrollWidth;const t=e.cloneNode(!0);t.style.setProperty("position","absolute"),t.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(t);const i=t.scrollWidth;return t.remove(),i}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}}Wl.\u0275fac=function(e){return new(e||Wl)(f(j))},Wl.\u0275dir=E({type:Wl,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(e,t){2&e&&ue("mdc-floating-label--float-above",t.floating)},inputs:{floating:"floating"}});const $T="mdc-line-ripple--active",Im="mdc-line-ripple--deactivating";class ql{constructor(e,t){this._elementRef=e,this._handleTransitionEnd=i=>{const r=this._elementRef.nativeElement.classList,o=r.contains(Im);"opacity"===i.propertyName&&o&&r.remove($T,Im)},t.runOutsideAngular(()=>{e.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const e=this._elementRef.nativeElement.classList;e.remove(Im),e.add($T)}deactivate(){this._elementRef.nativeElement.classList.add(Im)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}}ql.\u0275fac=function(e){return new(e||ql)(f(j),f(R))},ql.\u0275dir=E({type:ql,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]});class Yl{constructor(e,t){this._elementRef=e,this._ngZone=t,this.labelWidth=0,this.open=!1}ngAfterViewInit(){const e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_getNotchWidth(){return this.open?this.labelWidth>0?`calc(${this.labelWidth}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:"0px":null}}Yl.\u0275fac=function(e){return new(e||Yl)(f(j),f(R))},Yl.\u0275cmp=xe({type:Yl,selectors:[["div","matFormFieldNotchedOutline",""]],hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(e,t){2&e&&ue("mdc-notched-outline--notched",t.open)},inputs:{labelWidth:["matFormFieldNotchedOutlineLabelWidth","labelWidth"],open:["matFormFieldNotchedOutlineOpen","open"]},attrs:["matFormFieldNotchedOutline",""],ngContentSelectors:["*"],decls:4,vars:2,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(e,t){1&e&&(Wt(),oe(0,"div",0),_(1,"div",1),Ge(2),y(),oe(3,"div",2)),2&e&&(C(1),wr("width",t._getNotchWidth()))},encapsulation:2,changeDetection:0});const a4={transitionMessages:Ep("transitionMessages",[Qo("enter",wt({opacity:1,transform:"translateY(0%)"})),Tr("void => enter",[wt({opacity:0,transform:"translateY(-5px)"}),Yi("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};class Zl{}Zl.\u0275fac=function(e){return new(e||Zl)},Zl.\u0275dir=E({type:Zl});const Iv=new A("MatFormField"),l4=new A("MAT_FORM_FIELD_DEFAULT_OPTIONS");let GT=0;class Pu{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=_e(e)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(e){const t=this._appearance,i=e||this._defaults?.appearance||"fill";this._appearance=i,"outline"===this._appearance&&this._appearance!==t&&(this._refreshOutlineNotchWidth(),this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}constructor(e,t,i,r,o,s,a,l){this._elementRef=e,this._changeDetectorRef=t,this._ngZone=i,this._dir=r,this._platform=o,this._defaults=s,this._animationMode=a,this._document=l,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+GT++,this._hintLabelId="mat-mdc-hint-"+GT++,this._subscriptAnimationState="",this._labelWidth=0,this._destroyed=new B,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,s&&(s.appearance&&(this.appearance=s.appearance),this._hideRequiredMarker=Boolean(s?.hideRequiredMarker),s.color&&(this.color=s.color))}ngAfterViewInit(){this._updateFocusState(),this._refreshOutlineNotchWidth(),this._document?.fonts?.ready?this._document.fonts.ready.then(()=>{this._refreshOutlineNotchWidth(),this._changeDetectorRef.markForCheck()}):setTimeout(()=>this._refreshOutlineNotchWidth(),100),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${e.controlType}`),e.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(he(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),kn(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(he(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe(he(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(e){const t=this._control?this._control.ngControl:null;return t&&t[e]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||(this._labelWidth=this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const t=this._hintChildren?this._hintChildren.find(r=>"start"===r.align):null,i=this._hintChildren?this._hintChildren.find(r=>"end"===r.align):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),i&&e.push(i.id)}else this._errorChildren&&e.push(...this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(e)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const e=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(e.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const t=this._iconPrefixContainer?.nativeElement,i=this._textPrefixContainer?.nativeElement,r=t?.getBoundingClientRect().width??0,o=i?.getBoundingClientRect().width??0,c=`calc(${"rtl"===this._dir.value?"-1":"1"} * (${`${r+o}px`} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;e.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(${c})\n )`}_isAttachedToDom(){const e=this._elementRef.nativeElement;if(e.getRootNode){const t=e.getRootNode();return t&&t!==e}return document.documentElement.contains(e)}}Pu.\u0275fac=function(e){return new(e||Pu)(f(j),f(ht),f(R),f(qe),f(Se),f(l4,8),f(_t,8),f($))},Pu.\u0275cmp=xe({type:Pu,selectors:[["mat-form-field"]],contentQueries:function(e,t,i){if(1&e&&(Ct(i,$l,5),Ct(i,$l,7),Ct(i,Zl,5),Ct(i,HT,5),Ct(i,UT,5),Ct(i,jT,5),Ct(i,Gl,5)),2&e){let r;ne(r=ie())&&(t._labelChildNonStatic=r.first),ne(r=ie())&&(t._labelChildStatic=r.first),ne(r=ie())&&(t._formFieldControl=r.first),ne(r=ie())&&(t._prefixChildren=r),ne(r=ie())&&(t._suffixChildren=r),ne(r=ie())&&(t._errorChildren=r),ne(r=ie())&&(t._hintChildren=r)}},viewQuery:function(e,t){if(1&e&&(Pe(N$,5),Pe(L$,5),Pe(V$,5),Pe(Wl,5),Pe(Yl,5),Pe(ql,5)),2&e){let i;ne(i=ie())&&(t._textField=i.first),ne(i=ie())&&(t._iconPrefixContainer=i.first),ne(i=ie())&&(t._textPrefixContainer=i.first),ne(i=ie())&&(t._floatingLabel=i.first),ne(i=ie())&&(t._notchedOutline=i.first),ne(i=ie())&&(t._lineRipple=i.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(e,t){2&e&&ue("mat-mdc-form-field-label-always-float",t._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",t._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",t._hasIconSuffix)("mat-form-field-invalid",t._control.errorState)("mat-form-field-disabled",t._control.disabled)("mat-form-field-autofilled",t._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===t._animationMode)("mat-form-field-appearance-fill","fill"==t.appearance)("mat-form-field-appearance-outline","outline"==t.appearance)("mat-form-field-hide-placeholder",t._hasFloatingLabel()&&!t._shouldLabelFloat())("mat-focused",t._control.focused)("mat-primary","accent"!==t.color&&"warn"!==t.color)("mat-accent","accent"===t.color)("mat-warn","warn"===t.color)("ng-untouched",t._shouldForward("untouched"))("ng-touched",t._shouldForward("touched"))("ng-pristine",t._shouldForward("pristine"))("ng-dirty",t._shouldForward("dirty"))("ng-valid",t._shouldForward("valid"))("ng-invalid",t._shouldForward("invalid"))("ng-pending",t._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[ee([{provide:Iv,useExisting:Pu}])],ngContentSelectors:["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"],decls:18,vars:23,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay",4,"ngIf"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen","matFormFieldNotchedOutlineLabelWidth",4,"ngIf"],["class","mat-mdc-form-field-icon-prefix",4,"ngIf"],["class","mat-mdc-form-field-text-prefix",4,"ngIf"],[1,"mat-mdc-form-field-infix"],[3,"ngIf"],["class","mat-mdc-form-field-text-suffix",4,"ngIf"],["class","mat-mdc-form-field-icon-suffix",4,"ngIf"],["matFormFieldLineRipple","",4,"ngIf"],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align",3,"ngSwitch"],["class","mat-mdc-form-field-error-wrapper",4,"ngSwitchCase"],["class","mat-mdc-form-field-hint-wrapper",4,"ngSwitchCase"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent",4,"ngIf"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required",4,"ngIf"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen","matFormFieldNotchedOutlineLabelWidth"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id",4,"ngIf"],[1,"mat-mdc-form-field-hint-spacer"],[3,"id"]],template:function(e,t){1&e&&(Wt(n4),k(0,j$,1,1,"ng-template",null,0,op),_(2,"div",1,2),q("click",function(r){return t._control.onContainerClick&&t._control.onContainerClick(r)}),k(4,H$,1,0,"div",3),_(5,"div",4),k(6,G$,2,3,"div",5),k(7,W$,3,0,"div",6),k(8,q$,3,0,"div",7),_(9,"div",8),k(10,Z$,1,1,"ng-template",9),Ge(11),y(),k(12,K$,2,0,"div",10),k(13,X$,2,0,"div",11),y(),k(14,Q$,1,0,"div",12),y(),_(15,"div",13),k(16,J$,2,1,"div",14),k(17,t4,5,2,"div",15),y()),2&e&&(C(2),ue("mdc-text-field--filled",!t._hasOutline())("mdc-text-field--outlined",t._hasOutline())("mdc-text-field--no-label",!t._hasFloatingLabel())("mdc-text-field--disabled",t._control.disabled)("mdc-text-field--invalid",t._control.errorState),C(2),M("ngIf",!t._hasOutline()&&!t._control.disabled),C(2),M("ngIf",t._hasOutline()),C(1),M("ngIf",t._hasIconPrefix),C(1),M("ngIf",t._hasTextPrefix),C(2),M("ngIf",!t._hasOutline()||t._forceDisplayInfixLabel()),C(2),M("ngIf",t._hasTextSuffix),C(1),M("ngIf",t._hasIconSuffix),C(1),M("ngIf",!t._hasOutline()),C(1),ue("mat-mdc-form-field-subscript-dynamic-size","dynamic"===t.subscriptSizing),M("ngSwitch",t._getDisplayedMessages()),C(1),M("ngSwitchCase","error"),C(1),M("ngSwitchCase","hint"))},dependencies:[ln,Bo,$i,Vo,Ms,Gl,Wl,Yl,ql],styles:['.mdc-text-field{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;border-top:1px solid;border-bottom:1px solid;pointer-events:none}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid;flex-grow:1}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{flex:0 0 auto;width:auto;max-width:calc(100% - 12px * 2)}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{line-height:normal;pointer-events:all}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-10.25px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-10.25px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-24.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-24.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-106%) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-106%) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}'],encapsulation:2,data:{animation:[a4.transitionMessages]},changeDetection:0});class Ns{}function YT(n){return G(()=>n)}function ZT(n,e){return e?t=>du(e.pipe(We(1),function u4(){return $e((n,e)=>{n.subscribe(Ne(e,Kh))})}()),t.pipe(ZT(n))):lt((t,i)=>Mt(n(t,i)).pipe(We(1),YT(t)))}Ns.\u0275fac=function(e){return new(e||Ns)},Ns.\u0275mod=te({type:Ns}),Ns.\u0275inj=X({imports:[Je,Yn,Xr,Je]});const f4=["panel"];function p4(n,e){if(1&n&&(_(0,"div",0,1),Ge(2),y()),2&n){const t=e.id,i=F();M("id",i.id)("ngClass",i._classList)("@panelAnimation",i.isOpen?"visible":"hidden"),ge("aria-label",i.ariaLabel||null)("aria-labelledby",i._getPanelAriaLabelledby(t))}}const g4=Ep("panelAnimation",[Qo("void, hidden",wt({opacity:0,transform:"scaleY(0.8)"})),Tr(":enter, hidden => visible",[sb([Yi("0.03s linear",wt({opacity:1})),Yi("0.12s cubic-bezier(0, 0, 0.2, 1)",wt({transform:"scaleY(1)"}))])]),Tr(":leave, visible => hidden",[Yi("0.075s linear",wt({opacity:0}))])]);let _4=0;class y4{constructor(e,t){this.source=e,this.option=t}}const b4=pv(class{}),KT=new A("mat-autocomplete-default-options",{providedIn:"root",factory:function v4(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1}}});class Nu extends b4{get isOpen(){return this._isOpen&&this.showPanel}_setColor(e){this._color=e,this._setThemeClasses(this._classList)}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(e){this._autoActiveFirstOption=_e(e)}get autoSelectActiveOption(){return this._autoSelectActiveOption}set autoSelectActiveOption(e){this._autoSelectActiveOption=_e(e)}set classList(e){e&&e.length?this._classList=function VU(n,e=/\s+/){const t=[];if(null!=n){const i=Array.isArray(n)?n:`${n}`.split(e);for(const r of i){const o=`${r}`.trim();o&&t.push(o)}}return t}(e).reduce((t,i)=>(t[i]=!0,t),{}):this._classList={},this._setVisibilityClasses(this._classList),this._setThemeClasses(this._classList),this._elementRef.nativeElement.className=""}constructor(e,t,i,r){super(),this._changeDetectorRef=e,this._elementRef=t,this._defaults=i,this._activeOptionChanges=Te.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this._autoActiveFirstOption=!!this._defaults.autoActiveFirstOption,this._autoSelectActiveOption=!!this._defaults.autoSelectActiveOption,this.optionSelected=new U,this.opened=new U,this.closed=new U,this.optionActivated=new U,this._classList={},this.id="mat-autocomplete-"+_4++,this.inertGroups=r?.SAFARI||!1}ngAfterContentInit(){this._keyManager=new GU(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(e=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[e]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(e){this.panel&&(this.panel.nativeElement.scrollTop=e)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(e){const t=new y4(this,e);this.optionSelected.emit(t)}_getPanelAriaLabelledby(e){if(this.ariaLabel)return null;const t=e?e+" ":"";return this.ariaLabelledby?t+this.ariaLabelledby:e}_setVisibilityClasses(e){e[this._visibleClass]=this.showPanel,e[this._hiddenClass]=!this.showPanel}_setThemeClasses(e){e["mat-primary"]="primary"===this._color,e["mat-warn"]="warn"===this._color,e["mat-accent"]="accent"===this._color}}Nu.\u0275fac=function(e){return new(e||Nu)(f(ht),f(j),f(KT),f(Se))},Nu.\u0275dir=E({type:Nu,viewQuery:function(e,t){if(1&e&&(Pe(ut,7),Pe(f4,5)),2&e){let i;ne(i=ie())&&(t.template=i.first),ne(i=ie())&&(t.panel=i.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",autoSelectActiveOption:"autoSelectActiveOption",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[L]});class Ls extends Nu{constructor(){super(...arguments),this._visibleClass="mat-mdc-autocomplete-visible",this._hiddenClass="mat-mdc-autocomplete-hidden",this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=_e(e),this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const e of this.options)e._changeDetectorRef.markForCheck()}}Ls.\u0275fac=function(){let n;return function(t){return(n||(n=Oe(Ls)))(t||Ls)}}(),Ls.\u0275cmp=xe({type:Ls,selectors:[["mat-autocomplete"]],contentQueries:function(e,t,i){if(1&e&&(Ct(i,yv,5),Ct(i,Pl,5)),2&e){let r;ne(r=ie())&&(t.optionGroups=r),ne(r=ie())&&(t.options=r)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{disableRipple:"disableRipple",hideSingleSelectionIndicator:"hideSingleSelectionIndicator"},exportAs:["matAutocomplete"],features:[ee([{provide:_v,useExisting:Ls}]),L],ngContentSelectors:["*"],decls:1,vars:0,consts:[["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id","ngClass"],["panel",""]],template:function(e,t){1&e&&(Wt(),k(0,p4,3,5,"ng-template"))},dependencies:[Lo],styles:[".mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:4px;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mdc-menu-surface.mat-mdc-autocomplete-panel{width:100%;max-height:256px;position:static;visibility:hidden;transform-origin:center top;margin:0;padding:8px 0;list-style-type:none}.mdc-menu-surface.mat-mdc-autocomplete-panel:focus{outline:none}.cdk-high-contrast-active .mdc-menu-surface.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) .mdc-menu-surface.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above .mdc-menu-surface.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}.mdc-menu-surface.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}.mdc-menu-surface.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[g4]},changeDetection:0});class Lu{constructor(e){this.elementRef=e}}Lu.\u0275fac=function(e){return new(e||Lu)(f(j))},Lu.\u0275dir=E({type:Lu});class Vu extends Lu{}Vu.\u0275fac=function(){let n;return function(t){return(n||(n=Oe(Vu)))(t||Vu)}}(),Vu.\u0275dir=E({type:Vu,selectors:[["","matAutocompleteOrigin",""]],exportAs:["matAutocompleteOrigin"],features:[L]});const C4={provide:Zn,useExisting:Ae(()=>Vs),multi:!0};const XT=new A("mat-autocomplete-scroll-strategy");const x4={provide:XT,deps:[Kt],useFactory:function w4(n){return()=>n.scrollStrategies.reposition()}};class Bu{get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(e){this._autocompleteDisabled=_e(e)}constructor(e,t,i,r,o,s,a,l,c,d,u){this._element=e,this._overlay=t,this._viewContainerRef=i,this._zone=r,this._changeDetectorRef=o,this._dir=a,this._formField=l,this._document=c,this._viewportRuler=d,this._defaults=u,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=Te.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new B,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=Ou(()=>{const h=this.autocomplete?this.autocomplete.options:null;return h?h.changes.pipe(Xn(h),xt(()=>kn(...h.map(p=>p.onSelectionChange)))):this._zone.onStable.pipe(We(1),xt(()=>this.optionSelections))}),this._scrollStrategy=s}ngAfterViewInit(){const e=this._getWindow();typeof e<"u"&&this._zone.runOutsideAngular(()=>e.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(e){e.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const e=this._getWindow();typeof e<"u"&&e.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._isOpen=this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return kn(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(st(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(st(()=>this._overlayAttached)):V()).pipe(G(e=>e instanceof MT?e:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return kn(In(this._document,"click"),In(this._document,"auxclick"),In(this._document,"touchend")).pipe(st(e=>{const t=tr(e),i=this._formField?this._formField._elementRef.nativeElement:null,r=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&t!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!i||!i.contains(t))&&(!r||!r.contains(t))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(t)}))}writeValue(e){Promise.resolve(null).then(()=>this._assignOptionValue(e))}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._element.nativeElement.disabled=e}_handleKeydown(e){const t=e.keyCode,i=nr(e);if(27===t&&!i&&e.preventDefault(),this.activeOption&&13===t&&this.panelOpen&&!i)this.activeOption._selectViaInteraction(),this._resetActiveItem(),e.preventDefault();else if(this.autocomplete){const r=this.autocomplete._keyManager.activeItem,o=38===t||40===t;9===t||o&&!i&&this.panelOpen?this.autocomplete._keyManager.onKeydown(e):o&&this._canOpen()&&this.openPanel(),(o||this.autocomplete._keyManager.activeItem!==r)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._element.nativeElement.value),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(e){let t=e.target,i=t.value;"number"===t.type&&(i=""==i?null:parseFloat(i)),this._previousValue!==i&&(this._previousValue=i,this._pendingAutoselectedOption=null,this._onChange(i),this._canOpen()&&this._document.activeElement===e.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this.openPanel()}_floatLabel(e=!1){this._formField&&"auto"===this._formField.floatLabel&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const e=this._zone.onStable.pipe(We(1)),t=this.autocomplete.options.changes.pipe(ft(()=>this._positionStrategy.reapplyLastPosition()),function h4(n,e=lm){const t=vv(n,e);return ZT(()=>t)}(0));return kn(e,t).pipe(xt(()=>(this._zone.run(()=>{const i=this.panelOpen;this._resetActiveItem(),this.autocomplete._setVisibility(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),i!==this.panelOpen&&(this.panelOpen?this.autocomplete.opened.emit():this.autocomplete.closed.emit())}),this.panelClosingActions)),We(1)).subscribe(i=>this._setValueAndClose(i))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(e){const t=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(e):e;this._updateNativeInputValue(t??"")}_updateNativeInputValue(e){this._formField?this._formField._control.value=e:this._element.nativeElement.value=e,this._previousValue=e}_setValueAndClose(e){const t=e?e.source:this._pendingAutoselectedOption;t&&(this._clearPreviousSelectedOption(t),this._assignOptionValue(t.value),this._onChange(t.value),this.autocomplete._emitSelectEvent(t),this._element.nativeElement.focus()),this.closePanel()}_clearPreviousSelectedOption(e){this.autocomplete.options.forEach(t=>{t!==e&&t.selected&&t.deselect()})}_attachOverlay(){this.autocomplete;let e=this._overlayRef;e?(this._positionStrategy.setOrigin(this._getConnectedElement()),e.updateSize({width:this._getPanelWidth()})):(this._portal=new Ll(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),e=this._overlay.create(this._getOverlayConfig()),this._overlayRef=e,this._handleOverlayEvents(e),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&e&&e.updateSize({width:this._getPanelWidth()})})),e&&!e.hasAttached()&&(e.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const t=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._setColor(this._formField?.color),this.panelOpen&&t!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){return new Mm({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const e=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(e),this._positionStrategy=e,e}_setStrategyPositions(e){const t=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],i=this._aboveClass,r=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:i},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:i}];let o;o="above"===this.position?r:"below"===this.position?t:[...t,...r],e.withPositions(o)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const e=this.autocomplete;e.autoActiveFirstOption?e._keyManager.setFirstItemActive():e._keyManager.setActiveItem(-1)}_canOpen(){const e=this._element.nativeElement;return!e.readOnly&&!e.disabled&&!this._autocompleteDisabled}_getWindow(){return this._document?.defaultView||window}_scrollToOption(e){const t=this.autocomplete,i=function z5(n,e,t){if(t.length){let i=e.toArray(),r=t.toArray(),o=0;for(let s=0;s<n+1;s++)i[s].group&&i[s].group===r[o]&&o++;return o}return 0}(e,t.options,t.optionGroups);if(0===e&&1===i)t._setScrollTop(0);else if(t.panel){const r=t.options.toArray()[e];if(r){const o=r._getHostElement(),s=function j5(n,e,t,i){return n<t?n:n+e>t+i?Math.max(0,n-i+e):t}(o.offsetTop,o.offsetHeight,t._getScrollTop(),t.panel.nativeElement.offsetHeight);t._setScrollTop(s)}}}_handleOverlayEvents(e){e.keydownEvents().subscribe(t=>{(27===t.keyCode&&!nr(t)||38===t.keyCode&&nr(t,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),t.stopPropagation(),t.preventDefault())}),e.outsidePointerEvents().subscribe()}}Bu.\u0275fac=function(e){return new(e||Bu)(f(j),f(Kt),f(rt),f(R),f(ht),f(XT),f(qe,8),f(Iv,9),f($,8),f(Zt),f(KT,8))},Bu.\u0275dir=E({type:Bu,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[Ve]});class Vs extends Bu{constructor(){super(...arguments),this._aboveClass="mat-mdc-autocomplete-panel-above"}}Vs.\u0275fac=function(){let n;return function(t){return(n||(n=Oe(Vs)))(t||Vs)}}(),Vs.\u0275dir=E({type:Vs,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(e,t){1&e&&q("focusin",function(){return t._handleFocus()})("blur",function(){return t._onTouched()})("input",function(r){return t._handleInput(r)})("keydown",function(r){return t._handleKeydown(r)})("click",function(){return t._handleClick()}),2&e&&ge("autocomplete",t.autocompleteAttribute)("role",t.autocompleteDisabled?null:"combobox")("aria-autocomplete",t.autocompleteDisabled?null:"list")("aria-activedescendant",t.panelOpen&&t.activeOption?t.activeOption.id:null)("aria-expanded",t.autocompleteDisabled?null:t.panelOpen.toString())("aria-owns",t.autocompleteDisabled||!t.panelOpen||null==t.autocomplete?null:t.autocomplete.id)("aria-haspopup",t.autocompleteDisabled?null:"listbox")},exportAs:["matAutocompleteTrigger"],features:[ee([C4]),L]});class Kl{}Kl.\u0275fac=function(e){return new(e||Kl)},Kl.\u0275mod=te({type:Kl}),Kl.\u0275inj=X({providers:[x4],imports:[Jr,Ts,Je,Yn,Qr,Ts,Je]});const QT=wl({passive:!0});class Bs{constructor(e,t){this._platform=e,this._ngZone=t,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return hn;const t=ir(e),i=this._monitoredElements.get(t);if(i)return i.subject;const r=new B,o="cdk-text-field-autofilled",s=a=>{"cdk-text-field-autofill-start"!==a.animationName||t.classList.contains(o)?"cdk-text-field-autofill-end"===a.animationName&&t.classList.contains(o)&&(t.classList.remove(o),this._ngZone.run(()=>r.next({target:a.target,isAutofilled:!1}))):(t.classList.add(o),this._ngZone.run(()=>r.next({target:a.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{t.addEventListener("animationstart",s,QT),t.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(t,{subject:r,unlisten:()=>{t.removeEventListener("animationstart",s,QT)}}),r}stopMonitoring(e){const t=ir(e),i=this._monitoredElements.get(t);i&&(i.unlisten(),i.subject.complete(),t.classList.remove("cdk-text-field-autofill-monitored"),t.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(t))}ngOnDestroy(){this._monitoredElements.forEach((e,t)=>this.stopMonitoring(t))}}Bs.\u0275fac=function(e){return new(e||Bs)(b(Se),b(R))},Bs.\u0275prov=I({token:Bs,factory:Bs.\u0275fac,providedIn:"root"});class Sm{constructor(e,t){this._elementRef=e,this._autofillMonitor=t,this.cdkAutofill=new U}ngOnInit(){this._autofillMonitor.monitor(this._elementRef).subscribe(e=>this.cdkAutofill.emit(e))}ngOnDestroy(){this._autofillMonitor.stopMonitoring(this._elementRef)}}Sm.\u0275fac=function(e){return new(e||Sm)(f(j),f(Bs))},Sm.\u0275dir=E({type:Sm,selectors:[["","cdkAutofill",""]],outputs:{cdkAutofill:"cdkAutofill"}});class Tm{get minRows(){return this._minRows}set minRows(e){this._minRows=Rt(e),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(e){this._maxRows=Rt(e),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(e){e=_e(e),this._enabled!==e&&((this._enabled=e)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(e){this._cachedPlaceholderHeight=void 0,e?this._textareaElement.setAttribute("placeholder",e):this._textareaElement.removeAttribute("placeholder"),this._cacheTextareaPlaceholderHeight()}constructor(e,t,i,r){this._elementRef=e,this._platform=t,this._ngZone=i,this._destroyed=new B,this._enabled=!0,this._previousMinRows=-1,this._isViewInited=!1,this._handleFocusEvent=o=>{this._hasFocus="focus"===o.type},this._document=r,this._textareaElement=this._elementRef.nativeElement}_setMinHeight(){const e=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;e&&(this._textareaElement.style.minHeight=e)}_setMaxHeight(){const e=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;e&&(this._textareaElement.style.maxHeight=e)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{In(this._getWindow(),"resize").pipe(wm(16),he(this._destroyed)).subscribe(()=>this.resizeToFitContent(!0)),this._textareaElement.addEventListener("focus",this._handleFocusEvent),this._textareaElement.addEventListener("blur",this._handleFocusEvent)}),this._isViewInited=!0,this.resizeToFitContent(!0))}ngOnDestroy(){this._textareaElement.removeEventListener("focus",this._handleFocusEvent),this._textareaElement.removeEventListener("blur",this._handleFocusEvent),this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let e=this._textareaElement.cloneNode(!1);e.rows=1,e.style.position="absolute",e.style.visibility="hidden",e.style.border="none",e.style.padding="0",e.style.height="",e.style.minHeight="",e.style.maxHeight="",e.style.overflow="hidden",this._textareaElement.parentNode.appendChild(e),this._cachedLineHeight=e.clientHeight,e.remove(),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){const e=this._textareaElement,t=e.style.marginBottom||"",i=this._platform.FIREFOX,r=i&&this._hasFocus,o=i?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";r&&(e.style.marginBottom=`${e.clientHeight}px`),e.classList.add(o);const s=e.scrollHeight-4;return e.classList.remove(o),r&&(e.style.marginBottom=t),s}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||null!=this._cachedPlaceholderHeight)return;if(!this.placeholder)return void(this._cachedPlaceholderHeight=0);const e=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=e}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(e=!1){if(!this._enabled||(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight))return;const t=this._elementRef.nativeElement,i=t.value;if(!e&&this._minRows===this._previousMinRows&&i===this._previousValue)return;const r=this._measureScrollHeight(),o=Math.max(r,this._cachedPlaceholderHeight||0);t.style.height=`${o}px`,this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame<"u"?requestAnimationFrame(()=>this._scrollToCaretPosition(t)):setTimeout(()=>this._scrollToCaretPosition(t))}),this._previousValue=i,this._previousMinRows=this._minRows}reset(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollToCaretPosition(e){const{selectionStart:t,selectionEnd:i}=e;!this._destroyed.isStopped&&this._hasFocus&&e.setSelectionRange(t,i)}}Tm.\u0275fac=function(e){return new(e||Tm)(f(j),f(Se),f(R),f($,8))},Tm.\u0275dir=E({type:Tm,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(e,t){1&e&&q("input",function(){return t._noopInputHandler()})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]});class Xl{}Xl.\u0275fac=function(e){return new(e||Xl)},Xl.\u0275mod=te({type:Xl}),Xl.\u0275inj=X({});const D4=new A("MAT_INPUT_VALUE_ACCESSOR"),M4=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let E4=0;const I4=function I5(n){return class extends n{updateErrorState(){const e=this.errorState,t=this._parentFormGroup||this._parentForm,i=this.errorStateMatcher||this._defaultErrorStateMatcher,r=this.ngControl?this.ngControl.control:null,o=i.isErrorState(r,t);o!==e&&(this.errorState=o,this.stateChanges.next())}constructor(...e){super(...e),this.errorState=!1}}}(class{constructor(n,e,t,i){this._defaultErrorStateMatcher=n,this._parentForm=e,this._parentFormGroup=t,this.ngControl=i,this.stateChanges=new B}});class Ql extends I4{get disabled(){return this._disabled}set disabled(e){this._disabled=_e(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(sH.required)??!1}set required(e){this._required=_e(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&KS().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=_e(e)}constructor(e,t,i,r,o,s,a,l,c,d){super(s,r,o,i),this._elementRef=e,this._platform=t,this._autofillMonitor=l,this._formField=d,this._uid="mat-input-"+E4++,this.focused=!1,this.stateChanges=new B,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(p=>KS().has(p)),this._iOSKeyupListener=p=>{const m=p.target;!m.value&&0===m.selectionStart&&0===m.selectionEnd&&(m.setSelectionRange(1,1),m.setSelectionRange(0,0))};const u=this._elementRef.nativeElement,h=u.nodeName.toLowerCase();this._inputValueAccessor=a||u,this._previousNativeValue=this.value,this.id=this.id,t.IOS&&c.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===h,this._isTextarea="textarea"===h,this._isInFormField=!!d,this._isNativeSelect&&(this.controlType=u.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){const e=this._getPlaceholder();if(e!==this._previousPlaceholder){const t=this._elementRef.nativeElement;this._previousPlaceholder=e,e?t.setAttribute("placeholder",e):t.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){M4.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,t=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&t&&t.label)}return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}}Ql.\u0275fac=function(e){return new(e||Ql)(f(j),f(Se),f(Ki,10),f(Lr,8),f(Xi,8),f(kl),f(D4,10),f(Bs),f(R),f(Iv,8))},Ql.\u0275dir=E({type:Ql,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(e,t){1&e&&q("focus",function(){return t._focusChanged(!0)})("blur",function(){return t._focusChanged(!1)})("input",function(){return t._onInput()}),2&e&&(xr("id",t.id)("disabled",t.disabled)("required",t.required),ge("name",t.name||null)("readonly",t.readonly&&!t._isNativeSelect||null)("aria-invalid",t.empty&&t.required?null:t.errorState)("aria-required",t.required)("id",t.id),ue("mat-input-server",t._isServer)("mat-mdc-form-field-textarea-control",t._isInFormField&&t._isTextarea)("mat-mdc-form-field-input-control",t._isInFormField)("mdc-text-field__input",t._isInFormField)("mat-mdc-native-select-inline",t._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[ee([{provide:Zl,useExisting:Ql}]),L,Ve]});class Jl{}Jl.\u0275fac=function(e){return new(e||Jl)},Jl.\u0275mod=te({type:Jl}),Jl.\u0275inj=X({imports:[Je,Ns,Ns,Xl,Je]});const S4=["determinateSpinner"];function T4(n,e){if(1&n&&(Fg(),_(0,"svg",11),oe(1,"circle",12),y()),2&n){const t=F();ge("viewBox",t._viewBox()),C(1),wr("stroke-dasharray",t._strokeCircumference(),"px")("stroke-dashoffset",t._strokeCircumference()/2,"px")("stroke-width",t._circleStrokeWidth(),"%"),ge("r",t._circleRadius())}}const A4=yT(class{constructor(n){this._elementRef=n}},"primary"),O4=new A("mat-progress-spinner-default-options",{providedIn:"root",factory:function k4(){return{diameter:JT}}});const JT=100;class zs extends A4{constructor(e,t,i){super(e),this.mode="mat-spinner"===this._elementRef.nativeElement.nodeName.toLowerCase()?"indeterminate":"determinate",this._value=0,this._diameter=JT,this._noopAnimations="NoopAnimations"===t&&!!i&&!i._forceAnimations,i&&(i.color&&(this.color=this.defaultColor=i.color),i.diameter&&(this.diameter=i.diameter),i.strokeWidth&&(this.strokeWidth=i.strokeWidth))}get value(){return"determinate"===this.mode?this._value:0}set value(e){this._value=Math.max(0,Math.min(100,Rt(e)))}get diameter(){return this._diameter}set diameter(e){this._diameter=Rt(e)}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(e){this._strokeWidth=Rt(e)}_circleRadius(){return(this.diameter-10)/2}_viewBox(){const e=2*this._circleRadius()+this.strokeWidth;return`0 0 ${e} ${e}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return"determinate"===this.mode?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}}zs.\u0275fac=function(e){return new(e||zs)(f(j),f(_t,8),f(O4))},zs.\u0275cmp=xe({type:zs,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(e,t){if(1&e&&Pe(S4,5),2&e){let i;ne(i=ie())&&(t._determinateCircle=i.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:12,hostBindings:function(e,t){2&e&&(ge("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===t.mode?t.value:null)("mode",t.mode),wr("width",t.diameter,"px")("height",t.diameter,"px"),ue("_mat-animation-noopable",t._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===t.mode))},inputs:{color:"color",mode:"mode",value:"value",diameter:"diameter",strokeWidth:"strokeWidth"},exportAs:["matProgressSpinner"],features:[L],decls:14,vars:11,consts:[["circle",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["determinateSpinner",""],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(e,t){if(1&e&&(k(0,T4,2,8,"ng-template",null,0,op),_(2,"div",1,2),Fg(),_(4,"svg",3),oe(5,"circle",4),y()(),uw(),_(6,"div",5)(7,"div",6)(8,"div",7),dd(9,8),y(),_(10,"div",9),dd(11,8),y(),_(12,"div",10),dd(13,8),y()()()),2&e){const i=Vn(1);C(4),ge("viewBox",t._viewBox()),C(1),wr("stroke-dasharray",t._strokeCircumference(),"px")("stroke-dashoffset",t._strokeDashOffset(),"px")("stroke-width",t._circleStrokeWidth(),"%"),ge("r",t._circleRadius()),C(4),M("ngTemplateOutlet",i),C(2),M("ngTemplateOutlet",i),C(2),M("ngTemplateOutlet",i)}},dependencies:[Bo],styles:["@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}89%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}.mdc-circular-progress{display:inline-flex;position:relative;direction:ltr;line-height:0;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-1{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-2{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-3{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-4{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--closed{opacity:0}.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color, transparent)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-1 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-2 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-3 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-4 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}"],encapsulation:2,changeDetection:0});class ec{}function F4(n,e){}ec.\u0275fac=function(e){return new(e||ec)},ec.\u0275mod=te({type:ec}),ec.\u0275inj=X({imports:[Yn,Je]});const P4=function(n){return{animationDuration:n}},N4=function(n,e){return{value:n,params:e}};function L4(n,e){1&n&&Ge(0)}const zu=["*"],eA=["tabListContainer"],tA=["tabList"],nA=["tabListInner"],iA=["nextPaginator"],rA=["previousPaginator"],V4=["tabBodyWrapper"],B4=["tabHeader"];function z4(n,e){}function j4(n,e){if(1&n&&k(0,z4,0,0,"ng-template",14),2&n){M("cdkPortalOutlet",F().$implicit.templateLabel)}}function H4(n,e){if(1&n&&S(0),2&n){Ue(F().$implicit.textLabel)}}function U4(n,e){if(1&n){const t=gt();_(0,"div",6,7),q("click",function(){const r=nt(t),o=r.$implicit,s=r.index,a=F(),l=Vn(1);return it(a._handleClick(o,l,s))})("cdkFocusChange",function(r){const s=nt(t).index;return it(F()._tabFocusChanged(r,s))}),oe(2,"span",8)(3,"div",9),_(4,"span",10)(5,"span",11),k(6,j4,1,1,"ng-template",12),k(7,H4,1,1,"ng-template",null,13,op),y()()()}if(2&n){const t=e.$implicit,i=e.index,r=Vn(1),o=Vn(8),s=F();ue("mdc-tab--active",s.selectedIndex===i),M("id",s._getTabLabelId(i))("ngClass",t.labelClass)("disabled",t.disabled)("fitInkBarToContent",s.fitInkBarToContent),ge("tabIndex",s._getTabIndex(i))("aria-posinset",i+1)("aria-setsize",s._tabs.length)("aria-controls",s._getTabContentId(i))("aria-selected",s.selectedIndex===i)("aria-label",t.ariaLabel||null)("aria-labelledby",!t.ariaLabel&&t.ariaLabelledby?t.ariaLabelledby:null),C(3),M("matRippleTrigger",r)("matRippleDisabled",t.disabled||s.disableRipple),C(3),M("ngIf",t.templateLabel)("ngIfElse",o)}}function $4(n,e){if(1&n){const t=gt();_(0,"mat-tab-body",15),q("_onCentered",function(){nt(t);return it(F()._removeTabBodyWrapperHeight())})("_onCentering",function(r){nt(t);return it(F()._setTabBodyWrapperHeight(r))}),y()}if(2&n){const t=e.$implicit,i=e.index,r=F();ue("mat-mdc-tab-body-active",r.selectedIndex===i),M("id",r._getTabContentId(i))("ngClass",t.bodyClass)("content",t.content)("position",t.position)("origin",t.origin)("animationDuration",r.animationDuration)("preserveContent",r.preserveContent),ge("tabindex",null!=r.contentTabIndex&&r.selectedIndex===i?r.contentTabIndex:null)("aria-labelledby",r._getTabLabelId(i))}}const q4={translateTab:Ep("translateTab",[Qo("center, void, left-origin-center, right-origin-center",wt({transform:"none"})),Qo("left",wt({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),Qo("right",wt({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),Tr("* => left, * => right, left => center, right => center",Yi("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),Tr("void => left-origin-center",[wt({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),Yi("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),Tr("void => right-origin-center",[wt({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),Yi("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};class ju extends Sn{constructor(e,t,i,r){super(e,t,r),this._host=i,this._centeringSub=Te.EMPTY,this._leavingSub=Te.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Xn(this._host._isCenterPosition(this._host._position))).subscribe(e=>{e&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}ju.\u0275fac=function(e){return new(e||ju)(f(Li),f(rt),f(Ae(()=>tc)),f($))},ju.\u0275dir=E({type:ju,selectors:[["","matTabBodyHost",""]],features:[L]});class Hu{set position(e){this._positionIndex=e,this._computePositionAnimationState()}constructor(e,t,i){this._elementRef=e,this._dir=t,this._dirChangeSubscription=Te.EMPTY,this._translateTabComplete=new B,this._onCentering=new U,this._beforeCentering=new U,this._afterLeavingCenter=new U,this._onCentered=new U(!0),this.animationDuration="500ms",this.preserveContent=!1,t&&(this._dirChangeSubscription=t.change.subscribe(r=>{this._computePositionAnimationState(r),i.markForCheck()})),this._translateTabComplete.pipe(cv((r,o)=>r.fromState===o.fromState&&r.toState===o.toState)).subscribe(r=>{this._isCenterPosition(r.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(r.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(e){const t=this._isCenterPosition(e.toState);this._beforeCentering.emit(t),t&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(e){return"center"==e||"left-origin-center"==e||"right-origin-center"==e}_computePositionAnimationState(e=this._getLayoutDirection()){this._positionIndex<0?this._position="ltr"==e?"left":"right":this._positionIndex>0?this._position="ltr"==e?"right":"left":this._position="center"}_computePositionFromOrigin(e){const t=this._getLayoutDirection();return"ltr"==t&&e<=0||"rtl"==t&&e>0?"left-origin-center":"right-origin-center"}}Hu.\u0275fac=function(e){return new(e||Hu)(f(j),f(qe,8),f(ht))},Hu.\u0275dir=E({type:Hu,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}});class tc extends Hu{constructor(e,t,i){super(e,t,i)}}tc.\u0275fac=function(e){return new(e||tc)(f(j),f(qe,8),f(ht))},tc.\u0275cmp=xe({type:tc,selectors:[["mat-tab-body"]],viewQuery:function(e,t){if(1&e&&Pe(Sn,5),2&e){let i;ne(i=ie())&&(t._portalHost=i.first)}},hostAttrs:[1,"mat-mdc-tab-body"],features:[L],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(e,t){1&e&&(_(0,"div",0,1),q("@translateTab.start",function(r){return t._onTranslateTabStarted(r)})("@translateTab.done",function(r){return t._translateTabComplete.next(r)}),k(2,F4,0,0,"ng-template",2),y()),2&e&&M("@translateTab",e0(3,N4,t._position,JM(1,P4,t.animationDuration)))},dependencies:[ju],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[q4.translateTab]}});const Y4=new A("MatTabContent");class nc{constructor(e){this.template=e}}nc.\u0275fac=function(e){return new(e||nc)(f(ut))},nc.\u0275dir=E({type:nc,selectors:[["","matTabContent",""]],features:[ee([{provide:Y4,useExisting:nc}])]});const Z4=new A("MatTabLabel"),oA=new A("MAT_TAB");class ic extends Rs{constructor(e,t,i){super(e,t),this._closestTab=i}}ic.\u0275fac=function(e){return new(e||ic)(f(ut),f(rt),f(oA,8))},ic.\u0275dir=E({type:ic,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[ee([{provide:Z4,useExisting:ic}]),L]});const Sv="mdc-tab-indicator--active",sA="mdc-tab-indicator--no-transition";class aA{constructor(e){this._items=e}hide(){this._items.forEach(e=>e.deactivateInkBar())}alignToElement(e){const t=this._items.find(r=>r.elementRef.nativeElement===e),i=this._currentItem;if(i?.deactivateInkBar(),t){const r=i?.elementRef.nativeElement.getBoundingClientRect?.();t.activateInkBar(r),this._currentItem=t}}}function lA(n){return class extends n{constructor(...e){super(...e),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(e){const t=_e(e);this._fitToContent!==t&&(this._fitToContent=t,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(e){const t=this.elementRef.nativeElement;if(!e||!t.getBoundingClientRect||!this._inkBarContentElement)return void t.classList.add(Sv);const i=t.getBoundingClientRect(),r=e.width/i.width,o=e.left-i.left;t.classList.add(sA),this._inkBarContentElement.style.setProperty("transform",`translateX(${o}px) scaleX(${r})`),t.getBoundingClientRect(),t.classList.remove(sA),t.classList.add(Sv),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this.elementRef.nativeElement.classList.remove(Sv)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const e=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=e.createElement("span"),this._inkBarContentElement=e.createElement("span"),this._inkBarElement.className="mdc-tab-indicator",this._inkBarContentElement.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",this._inkBarElement.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){this._inkBarElement;(this._fitToContent?this.elementRef.nativeElement.querySelector(".mdc-tab__content"):this.elementRef.nativeElement).appendChild(this._inkBarElement)}}}new A("MatInkBarPositioner",{providedIn:"root",factory:function K4(){return e=>({left:e?(e.offsetLeft||0)+"px":"0",width:e?(e.offsetWidth||0)+"px":"0"})}});const X4=_m(class{});class Uu extends X4{constructor(e){super(),this.elementRef=e}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}Uu.\u0275fac=function(e){return new(e||Uu)(f(j))},Uu.\u0275dir=E({type:Uu,features:[L]});const Q4=lA(Uu);class js extends Q4{}js.\u0275fac=function(){let n;return function(t){return(n||(n=Oe(js)))(t||js)}}(),js.\u0275dir=E({type:js,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(e,t){2&e&&(ge("aria-disabled",!!t.disabled),ue("mat-mdc-tab-disabled",t.disabled))},inputs:{disabled:"disabled",fitInkBarToContent:"fitInkBarToContent"},features:[L]});const J4=_m(class{}),cA=new A("MAT_TAB_GROUP");class $u extends J4{get content(){return this._contentPortal}constructor(e,t){super(),this._viewContainerRef=e,this._closestTabGroup=t,this.textLabel="",this._contentPortal=null,this._stateChanges=new B,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new Ll(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e)}}$u.\u0275fac=function(e){return new(e||$u)(f(rt),f(cA,8))},$u.\u0275dir=E({type:$u,viewQuery:function(e,t){if(1&e&&Pe(ut,7),2&e){let i;ne(i=ie())&&(t._implicitContent=i.first)}},inputs:{textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},features:[L,Ve]});class eo extends $u{get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}}eo.\u0275fac=function(){let n;return function(t){return(n||(n=Oe(eo)))(t||eo)}}(),eo.\u0275cmp=xe({type:eo,selectors:[["mat-tab"]],contentQueries:function(e,t,i){if(1&e&&(Ct(i,nc,7,ut),Ct(i,ic,5)),2&e){let r;ne(r=ie())&&(t._explicitContent=r.first),ne(r=ie())&&(t.templateLabel=r.first)}},inputs:{disabled:"disabled"},exportAs:["matTab"],features:[ee([{provide:oA,useExisting:eo}]),L],ngContentSelectors:zu,decls:1,vars:0,template:function(e,t){1&e&&(Wt(),k(0,L4,1,0,"ng-template"))},encapsulation:2});const dA=wl({passive:!0});class rc{get disablePagination(){return this._disablePagination}set disablePagination(e){this._disablePagination=_e(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){e=Rt(e),this._selectedIndex!=e&&(this._selectedIndexChanged=!0,this._selectedIndex=e,this._keyManager&&this._keyManager.updateActiveItem(e))}constructor(e,t,i,r,o,s,a){this._elementRef=e,this._changeDetectorRef=t,this._viewportRuler=i,this._dir=r,this._ngZone=o,this._platform=s,this._animationMode=a,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new B,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new B,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new U,this.indexFocused=new U,o.runOutsideAngular(()=>{In(e.nativeElement,"mouseleave").pipe(he(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){In(this._previousPaginator.nativeElement,"touchstart",dA).pipe(he(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),In(this._nextPaginator.nativeElement,"touchstart",dA).pipe(he(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const e=this._dir?this._dir.change:V("ltr"),t=this._viewportRuler.change(150),i=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new WU(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe(We(1)).subscribe(i),kn(e,t,this._items.changes,this._itemsResized()).pipe(he(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),i()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(r=>{this.indexFocused.emit(r),this._setTabFocus(r)})}_itemsResized(){return"function"!=typeof ResizeObserver?hn:this._items.changes.pipe(Xn(this._items),xt(e=>new le(t=>this._ngZone.runOutsideAngular(()=>{const i=new ResizeObserver(r=>t.next(r));return e.forEach(r=>i.observe(r.elementRef.nativeElement)),()=>{i.disconnect()}}))),lv(1),st(e=>e.some(t=>t.contentRect.width>0&&t.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!nr(e))switch(e.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){const t=this._items.get(this.focusIndex);t&&!t.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e))}break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){const e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){return!this._items||!!this._items.toArray()[e]}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();const t=this._tabListContainer.nativeElement;"ltr"==this._getLayoutDirection()?t.scrollLeft=0:t.scrollLeft=t.scrollWidth-t.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const e=this.scrollDistance,t="ltr"===this._getLayoutDirection()?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(t)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){const i=("before"==e?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3;return this._scrollTo(this._scrollDistance+i)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;const t=this._items?this._items.toArray()[e]:null;if(!t)return;const i=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:r,offsetWidth:o}=t.elementRef.nativeElement;let s,a;"ltr"==this._getLayoutDirection()?(s=r,a=s+o):(a=this._tabListInner.nativeElement.offsetWidth-r,s=a-o);const l=this.scrollDistance,c=this.scrollDistance+i;s<l?this.scrollDistance-=l-s:a>c&&(this.scrollDistance+=Math.min(a-c,s-l))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const e=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;e||(this.scrollDistance=0),e!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=e}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,t=e?e.elementRef.nativeElement:null;t?this._inkBar.alignToElement(t):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,t){t&&null!=t.button&&0!==t.button||(this._stopInterval(),vv(650,100).pipe(he(kn(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:i,distance:r}=this._scrollHeader(e);(0===r||r>=i)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const t=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(t,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:t,distance:this._scrollDistance}}}rc.\u0275fac=function(e){return new(e||rc)(f(j),f(ht),f(Zt),f(qe,8),f(R),f(Se),f(_t,8))},rc.\u0275dir=E({type:rc,inputs:{disablePagination:"disablePagination"}});class Gu extends rc{get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=_e(e)}constructor(e,t,i,r,o,s,a){super(e,t,i,r,o,s,a),this._disableRipple=!1}_itemSelected(e){e.preventDefault()}}Gu.\u0275fac=function(e){return new(e||Gu)(f(j),f(ht),f(Zt),f(qe,8),f(R),f(Se),f(_t,8))},Gu.\u0275dir=E({type:Gu,inputs:{disableRipple:"disableRipple"},features:[L]});class Wu extends Gu{constructor(e,t,i,r,o,s,a){super(e,t,i,r,o,s,a)}ngAfterContentInit(){this._inkBar=new aA(this._items),super.ngAfterContentInit()}}Wu.\u0275fac=function(e){return new(e||Wu)(f(j),f(ht),f(Zt),f(qe,8),f(R),f(Se),f(_t,8))},Wu.\u0275cmp=xe({type:Wu,selectors:[["mat-tab-header"]],contentQueries:function(e,t,i){if(1&e&&Ct(i,js,4),2&e){let r;ne(r=ie())&&(t._items=r)}},viewQuery:function(e,t){if(1&e&&(Pe(eA,7),Pe(tA,7),Pe(nA,7),Pe(iA,5),Pe(rA,5)),2&e){let i;ne(i=ie())&&(t._tabListContainer=i.first),ne(i=ie())&&(t._tabList=i.first),ne(i=ie())&&(t._tabListInner=i.first),ne(i=ie())&&(t._nextPaginator=i.first),ne(i=ie())&&(t._previousPaginator=i.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(e,t){2&e&&ue("mat-mdc-tab-header-pagination-controls-enabled",t._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==t._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[L],ngContentSelectors:zu,decls:13,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-mdc-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(e,t){1&e&&(Wt(),_(0,"button",0,1),q("click",function(){return t._handlePaginatorClick("before")})("mousedown",function(r){return t._handlePaginatorPress("before",r)})("touchend",function(){return t._stopInterval()}),oe(2,"div",2),y(),_(3,"div",3,4),q("keydown",function(r){return t._handleKeydown(r)}),_(5,"div",5,6),q("cdkObserveContent",function(){return t._onContentChanges()}),_(7,"div",7,8),Ge(9),y()()(),_(10,"button",9,10),q("mousedown",function(r){return t._handlePaginatorPress("after",r)})("click",function(){return t._handlePaginatorClick("after")})("touchend",function(){return t._stopInterval()}),oe(12,"div",2),y()),2&e&&(ue("mat-mdc-tab-header-pagination-disabled",t._disableScrollBefore),M("matRippleDisabled",t._disableScrollBefore||t.disableRipple)("disabled",t._disableScrollBefore||null),C(3),ue("_mat-animation-noopable","NoopAnimations"===t._animationMode),C(7),ue("mat-mdc-tab-header-pagination-disabled",t._disableScrollAfter),M("matRippleDisabled",t._disableScrollAfter||t.disableRipple)("disabled",t._disableScrollAfter||null))},dependencies:[sr,Ms],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2});const Tv=new A("MAT_TABS_CONFIG");let n8=0;const i8=yT(pv(class{constructor(n){this._elementRef=n}}),"primary");class qu extends i8{get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(e){this._dynamicHeight=_e(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=Rt(e,null)}get animationDuration(){return this._animationDuration}set animationDuration(e){this._animationDuration=/^\d+$/.test(e+"")?e+"ms":e}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(e){this._contentTabIndex=Rt(e,null)}get disablePagination(){return this._disablePagination}set disablePagination(e){this._disablePagination=_e(e)}get preserveContent(){return this._preserveContent}set preserveContent(e){this._preserveContent=_e(e)}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){const t=this._elementRef.nativeElement.classList;t.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),e&&t.add("mat-tabs-with-background",`mat-background-${e}`),this._backgroundColor=e}constructor(e,t,i,r){super(e),this._changeDetectorRef=t,this._animationMode=r,this._tabs=new za,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=Te.EMPTY,this._tabLabelSubscription=Te.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new U,this.focusChange=new U,this.animationDone=new U,this.selectedTabChange=new U(!0),this._groupId=n8++,this.animationDuration=i&&i.animationDuration?i.animationDuration:"500ms",this.disablePagination=!(!i||null==i.disablePagination)&&i.disablePagination,this.dynamicHeight=!(!i||null==i.dynamicHeight)&&i.dynamicHeight,this.contentTabIndex=i?.contentTabIndex??null,this.preserveContent=!!i?.preserveContent}ngAfterContentChecked(){const e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){const t=null==this._selectedIndex;if(!t){this.selectedTabChange.emit(this._createChangeEvent(e));const i=this._tabBodyWrapper.nativeElement;i.style.minHeight=i.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((i,r)=>i.isActive=r===e),t||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((t,i)=>{t.position=i-e,null!=this._selectedIndex&&0==t.position&&!t.origin&&(t.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const e=this._clampTabIndex(this._indexToSelect);if(e===this._selectedIndex){const t=this._tabs.toArray();let i;for(let r=0;r<t.length;r++)if(t[r].isActive){this._indexToSelect=this._selectedIndex=r,this._lastFocusedTabIndex=null,i=t[r];break}!i&&t[e]&&Promise.resolve().then(()=>{t[e].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(e))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(Xn(this._allTabs)).subscribe(e=>{this._tabs.reset(e.filter(t=>t._closestTabGroup===this||!t._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(e){const t=this._tabHeader;t&&(t.focusIndex=e)}_focusChanged(e){this._lastFocusedTabIndex=e,this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){const t=new r8;return t.index=e,this._tabs&&this._tabs.length&&(t.tab=this._tabs.toArray()[e]),t}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=kn(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e){return`mat-tab-label-${this._groupId}-${e}`}_getTabContentId(e){return`mat-tab-content-${this._groupId}-${e}`}_setTabBodyWrapperHeight(e){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const t=this._tabBodyWrapper.nativeElement;t.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(t.style.height=e+"px")}_removeTabBodyWrapperHeight(){const e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this.animationDone.emit()}_handleClick(e,t,i){t.focusIndex=i,e.disabled||(this.selectedIndex=i)}_getTabIndex(e){return e===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(e,t){e&&"mouse"!==e&&"touch"!==e&&(this._tabHeader.focusIndex=t)}}qu.\u0275fac=function(e){return new(e||qu)(f(j),f(ht),f(Tv,8),f(_t,8))},qu.\u0275dir=E({type:qu,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",preserveContent:"preserveContent",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[L]});class oc extends qu{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(e){this._fitInkBarToContent=_e(e),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(e){this._stretchTabs=_e(e)}constructor(e,t,i,r){super(e,t,i,r),this._fitInkBarToContent=!1,this._stretchTabs=!0,this.fitInkBarToContent=!(!i||null==i.fitInkBarToContent)&&i.fitInkBarToContent}}oc.\u0275fac=function(e){return new(e||oc)(f(j),f(ht),f(Tv,8),f(_t,8))},oc.\u0275cmp=xe({type:oc,selectors:[["mat-tab-group"]],contentQueries:function(e,t,i){if(1&e&&Ct(i,eo,5),2&e){let r;ne(r=ie())&&(t._allTabs=r)}},viewQuery:function(e,t){if(1&e&&(Pe(V4,5),Pe(B4,5)),2&e){let i;ne(i=ie())&&(t._tabBodyWrapper=i.first),ne(i=ie())&&(t._tabHeader=i.first)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:6,hostBindings:function(e,t){2&e&&ue("mat-mdc-tab-group-dynamic-height",t.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===t.headerPosition)("mat-mdc-tab-group-stretch-tabs",t.stretchTabs)},inputs:{color:"color",disableRipple:"disableRipple",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"]},exportAs:["matTabGroup"],features:[ee([{provide:cA,useExisting:oc}]),L],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mdc-tab mat-mdc-tab mat-mdc-focus-indicator","role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",3,"id","mdc-tab--active","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-mdc-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-mdc-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange"],["tabNode",""],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"]],template:function(e,t){1&e&&(_(0,"mat-tab-header",0,1),q("indexFocused",function(r){return t._focusChanged(r)})("selectFocusedIndex",function(r){return t.selectedIndex=r}),k(2,U4,9,17,"div",2),y(),_(3,"div",3,4),k(5,$4,1,11,"mat-tab-body",5),y()),2&e&&(M("selectedIndex",t.selectedIndex||0)("disableRipple",t.disableRipple)("disablePagination",t.disablePagination),C(2),M("ngForOf",t._tabs),C(1),ue("_mat-animation-noopable","NoopAnimations"===t._animationMode),C(2),M("ngForOf",t._tabs))},dependencies:[Lo,Wn,ln,Sn,sr,pu,tc,js,Wu],styles:['.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator .mdc-tab-indicator__content--underline{border-top-width:2px}.mdc-tab-indicator .mdc-tab-indicator__content--icon{height:34px;font-size:34px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-tab.mdc-tab{height:48px;flex-grow:0}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none}.mat-mdc-tab .mdc-tab__text-label{display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-disabled{opacity:.4}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-mdc-tab-header-with-background-background-color, transparent)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab-indicator__content--underline,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before{border-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{border-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2});class r8{}let uA=0;class sc extends rc{get backgroundColor(){return this._backgroundColor}set backgroundColor(e){const t=this._elementRef.nativeElement.classList;t.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),e&&t.add("mat-tabs-with-background",`mat-background-${e}`),this._backgroundColor=e}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=_e(e)}constructor(e,t,i,r,o,s,a){super(e,r,o,t,i,s,a),this._disableRipple=!1,this.color="primary"}_itemSelected(){}ngAfterContentInit(){this._items.changes.pipe(Xn(null),he(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}updateActiveLink(){if(!this._items)return;const e=this._items.toArray();for(let t=0;t<e.length;t++)if(e[t].active)return this.selectedIndex=t,this._changeDetectorRef.markForCheck(),void(this.tabPanel&&(this.tabPanel._activeTabId=e[t].id));this.selectedIndex=-1,this._inkBar.hide()}_getRole(){return this.tabPanel?"tablist":this._elementRef.nativeElement.getAttribute("role")}}sc.\u0275fac=function(e){return new(e||sc)(f(j),f(qe,8),f(R),f(ht),f(Zt),f(Se),f(_t,8))},sc.\u0275dir=E({type:sc,inputs:{backgroundColor:"backgroundColor",disableRipple:"disableRipple",color:"color",tabPanel:"tabPanel"},features:[L]});const o8=function E5(n,e=0){return class extends n{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(t){this._tabIndex=null!=t?Rt(t):this.defaultTabIndex}constructor(...t){super(...t),this._tabIndex=e,this.defaultTabIndex=e}}}(pv(_m(class{})));class Yu extends o8{get active(){return this._isActive}set active(e){const t=_e(e);t!==this._isActive&&(this._isActive=t,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}constructor(e,t,i,r,o,s){super(),this._tabNavBar=e,this.elementRef=t,this._focusMonitor=o,this._isActive=!1,this.id="mat-tab-link-"+uA++,this.rippleConfig=i||{},this.tabIndex=parseInt(r)||0,"NoopAnimations"===s&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this.elementRef)}_handleFocus(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)}_handleKeydown(e){this._tabNavBar.tabPanel&&32===e.keyCode&&this.elementRef.nativeElement.click()}_getAriaControls(){return this._tabNavBar.tabPanel?this._tabNavBar.tabPanel?.id:this.elementRef.nativeElement.getAttribute("aria-controls")}_getAriaSelected(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")}_getAriaCurrent(){return this.active&&!this._tabNavBar.tabPanel?"page":null}_getRole(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")}_getTabIndex(){return this._tabNavBar.tabPanel?this._isActive&&!this.disabled?0:-1:this.tabIndex}}Yu.\u0275fac=function(e){return new(e||Yu)(f(sc),f(j),f(gv,8),yo("tabindex"),f(Qn),f(_t,8))},Yu.\u0275dir=E({type:Yu,inputs:{active:"active",id:"id"},features:[L]});const s8=lA(Yu);class Zu extends sc{get fitInkBarToContent(){return this._fitInkBarToContent.value}set fitInkBarToContent(e){this._fitInkBarToContent.next(_e(e)),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(e){this._stretchTabs=_e(e)}constructor(e,t,i,r,o,s,a,l){super(e,t,i,r,o,s,a),this._fitInkBarToContent=new De(!1),this._stretchTabs=!0,this.disablePagination=!(!l||null==l.disablePagination)&&l.disablePagination,this.fitInkBarToContent=!(!l||null==l.fitInkBarToContent)&&l.fitInkBarToContent}ngAfterContentInit(){this._inkBar=new aA(this._items),super.ngAfterContentInit()}ngAfterViewInit(){this.tabPanel,super.ngAfterViewInit()}}Zu.\u0275fac=function(e){return new(e||Zu)(f(j),f(qe,8),f(R),f(ht),f(Zt),f(Se),f(_t,8),f(Tv,8))},Zu.\u0275cmp=xe({type:Zu,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(e,t,i){if(1&e&&Ct(i,Ku,5),2&e){let r;ne(r=ie())&&(t._items=r)}},viewQuery:function(e,t){if(1&e&&(Pe(eA,7),Pe(tA,7),Pe(nA,7),Pe(iA,5),Pe(rA,5)),2&e){let i;ne(i=ie())&&(t._tabListContainer=i.first),ne(i=ie())&&(t._tabList=i.first),ne(i=ie())&&(t._tabListInner=i.first),ne(i=ie())&&(t._nextPaginator=i.first),ne(i=ie())&&(t._previousPaginator=i.first)}},hostAttrs:[1,"mat-mdc-tab-nav-bar","mat-mdc-tab-header"],hostVars:15,hostBindings:function(e,t){2&e&&(ge("role",t._getRole()),ue("mat-mdc-tab-header-pagination-controls-enabled",t._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==t._getLayoutDirection())("mat-mdc-tab-nav-bar-stretch-tabs",t.stretchTabs)("mat-primary","warn"!==t.color&&"accent"!==t.color)("mat-accent","accent"===t.color)("mat-warn","warn"===t.color)("_mat-animation-noopable","NoopAnimations"===t._animationMode))},inputs:{color:"color",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"]},exportAs:["matTabNavBar","matTabNav"],features:[L],attrs:["mat-tab-nav-bar",""],ngContentSelectors:zu,decls:13,vars:8,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-link-container",3,"keydown"],["tabListContainer",""],[1,"mat-mdc-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-mdc-tab-links"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(e,t){1&e&&(Wt(),_(0,"button",0,1),q("click",function(){return t._handlePaginatorClick("before")})("mousedown",function(r){return t._handlePaginatorPress("before",r)})("touchend",function(){return t._stopInterval()}),oe(2,"div",2),y(),_(3,"div",3,4),q("keydown",function(r){return t._handleKeydown(r)}),_(5,"div",5,6),q("cdkObserveContent",function(){return t._onContentChanges()}),_(7,"div",7,8),Ge(9),y()()(),_(10,"button",9,10),q("mousedown",function(r){return t._handlePaginatorPress("after",r)})("click",function(){return t._handlePaginatorClick("after")})("touchend",function(){return t._stopInterval()}),oe(12,"div",2),y()),2&e&&(ue("mat-mdc-tab-header-pagination-disabled",t._disableScrollBefore),M("matRippleDisabled",t._disableScrollBefore||t.disableRipple)("disabled",t._disableScrollBefore||null),C(10),ue("mat-mdc-tab-header-pagination-disabled",t._disableScrollAfter),M("matRippleDisabled",t._disableScrollAfter||t.disableRipple)("disabled",t._disableScrollAfter||null))},dependencies:[sr,Ms],styles:[".mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator .mdc-tab-indicator__content--underline{border-top-width:2px}.mdc-tab-indicator .mdc-tab-indicator__content--icon{height:34px;font-size:34px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-links{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:flex-end}.mat-mdc-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-mdc-tab-header-with-background-background-color, transparent)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab .mdc-tab__text-label,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab-indicator__content--underline,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-focus-indicator::before{border-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab__ripple::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{border-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}"],encapsulation:2});class Ku extends s8{constructor(e,t,i,r,o,s){super(e,t,i,r,o,s),this._destroyed=new B,e._fitInkBarToContent.pipe(he(this._destroyed)).subscribe(a=>{this.fitInkBarToContent=a})}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),super.ngOnDestroy()}}Ku.\u0275fac=function(e){return new(e||Ku)(f(Zu),f(j),f(gv,8),yo("tabindex"),f(Qn),f(_t,8))},Ku.\u0275cmp=xe({type:Ku,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-mdc-focus-indicator"],hostVars:11,hostBindings:function(e,t){1&e&&q("focus",function(){return t._handleFocus()})("keydown",function(r){return t._handleKeydown(r)}),2&e&&(ge("aria-controls",t._getAriaControls())("aria-current",t._getAriaCurrent())("aria-disabled",t.disabled)("aria-selected",t._getAriaSelected())("id",t.id)("tabIndex",t._getTabIndex())("role",t._getRole()),ue("mat-mdc-tab-disabled",t.disabled)("mdc-tab--active",t.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",active:"active",id:"id"},exportAs:["matTabLink"],features:[L],attrs:["mat-tab-link",""],ngContentSelectors:zu,decls:5,vars:2,consts:[[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"]],template:function(e,t){1&e&&(Wt(),oe(0,"span",0)(1,"div",1),_(2,"span",2)(3,"span",3),Ge(4),y()()),2&e&&(C(1),M("matRippleTrigger",t.elementRef.nativeElement)("matRippleDisabled",t.rippleDisabled))},dependencies:[sr],styles:['.mat-mdc-tab-link{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-tab-link.mdc-tab{height:48px;flex-grow:0}.mat-mdc-tab-link .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none}.mat-mdc-tab-link .mdc-tab__text-label{display:inline-flex;align-items:center}.mat-mdc-tab-link .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab-link:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab-link.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab-link.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab-link .mat-ripple-element{opacity:.12}.mat-mdc-tab-link.mat-mdc-tab-disabled{pointer-events:none;opacity:.4}.mat-mdc-tab-header.mat-mdc-tab-nav-bar-stretch-tabs .mat-mdc-tab-link{flex-grow:1}.mat-mdc-tab-link::before{margin:5px}@media(max-width: 599px){.mat-mdc-tab-link{min-width:72px}}'],encapsulation:2,changeDetection:0});class Am{constructor(){this.id="mat-tab-nav-panel-"+uA++}}Am.\u0275fac=function(e){return new(e||Am)},Am.\u0275cmp=xe({type:Am,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(e,t){2&e&&ge("aria-labelledby",t._activeTabId)("id",t.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],ngContentSelectors:zu,decls:1,vars:0,template:function(e,t){1&e&&(Wt(),Ge(0))},encapsulation:2,changeDetection:0});class ac{}function a8(n,e){}ac.\u0275fac=function(e){return new(e||ac)},ac.\u0275mod=te({type:ac}),ac.\u0275inj=X({imports:[Yn,Je,Ci,Ss,Xr,Is,Je]});class Om{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}}class lc extends Mv{constructor(e,t,i,r,o,s,a,l){super(),this._elementRef=e,this._focusTrapFactory=t,this._config=r,this._interactivityChecker=o,this._ngZone=s,this._overlayRef=a,this._focusMonitor=l,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=c=>{this._portalOutlet.hasAttached();const d=this._portalOutlet.attachDomPortal(c);return this._contentAttached(),d},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=i}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();const t=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),t}attachTemplatePortal(e){this._portalOutlet.hasAttached();const t=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),t}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,t){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const i=()=>{e.removeEventListener("blur",i),e.removeEventListener("mousedown",i),e.removeAttribute("tabindex")};e.addEventListener("blur",i),e.addEventListener("mousedown",i)})),e.focus(t)}_focusByCssSelector(e,t){let i=this._elementRef.nativeElement.querySelector(e);i&&this._forceFocus(i,t)}_trapFocus(){const e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(t=>{t||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const e=this._config.restoreFocus;let t=null;if("string"==typeof e?t=this._document.querySelector(e):"boolean"==typeof e?t=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(t=e),this._config.restoreFocus&&t&&"function"==typeof t.focus){const i=sm(),r=this._elementRef.nativeElement;(!i||i===this._document.body||i===r||r.contains(i))&&(this._focusMonitor?(this._focusMonitor.focusVia(t,this._closeInteractionType),this._closeInteractionType=null):t.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,t=sm();return e===t||e.contains(t)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=sm())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}lc.\u0275fac=function(e){return new(e||lc)(f(j),f(or),f($,8),f(Om),f(bi),f(R),f(Su),f(Qn))},lc.\u0275cmp=xe({type:lc,selectors:[["cdk-dialog-container"]],viewQuery:function(e,t){if(1&e&&Pe(Sn,7),2&e){let i;ne(i=ie())&&(t._portalOutlet=i.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(e,t){2&e&&ge("id",t._config.id||null)("role",t._config.role)("aria-modal",t._config.ariaModal)("aria-labelledby",t._config.ariaLabel?null:t._ariaLabelledBy)("aria-label",t._config.ariaLabel)("aria-describedby",t._config.ariaDescribedBy||null)},features:[L],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&k(0,a8,0,0,"ng-template",0)},dependencies:[Sn],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2});class Av{constructor(e,t){this.overlayRef=e,this.config=t,this.closed=new B,this.disableClose=t.disableClose,this.backdropClick=e.backdropClick(),this.keydownEvents=e.keydownEvents(),this.outsidePointerEvents=e.outsidePointerEvents(),this.id=t.id,this.keydownEvents.subscribe(i=>{27===i.keyCode&&!this.disableClose&&!nr(i)&&(i.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=e.detachments().subscribe(()=>{!1!==t.closeOnOverlayDetachments&&this.close()})}close(e,t){if(this.containerInstance){const i=this.closed;this.containerInstance._closeInteractionType=t?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),i.next(e),i.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(e="",t=""){return this.overlayRef.updateSize({width:e,height:t}),this}addPanelClass(e){return this.overlayRef.addPanelClass(e),this}removePanelClass(e){return this.overlayRef.removePanelClass(e),this}}const hA=new A("DialogScrollStrategy"),l8=new A("DialogData"),c8=new A("DefaultDialogConfig");const u8={provide:hA,deps:[Kt],useFactory:function d8(n){return()=>n.scrollStrategies.block()}};let h8=0;class to{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(e,t,i,r,o,s){this._overlay=e,this._injector=t,this._defaultOptions=i,this._parentDialog=r,this._overlayContainer=o,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new B,this._afterOpenedAtThisLevel=new B,this._ariaHiddenElements=new Map,this.afterAllClosed=Ou(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Xn(void 0))),this._scrollStrategy=s}open(e,t){(t={...this._defaultOptions||new Om,...t}).id=t.id||"cdk-dialog-"+h8++,t.id&&this.getDialogById(t.id);const r=this._getOverlayConfig(t),o=this._overlay.create(r),s=new Av(o,t),a=this._attachContainer(o,s,t);return s.containerInstance=a,this._attachDialogContent(e,s,a,t),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(s),s.closed.subscribe(()=>this._removeOpenDialog(s,!0)),this.afterOpened.next(s),s}closeAll(){Ov(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){Ov(this._openDialogsAtThisLevel,e=>{!1===e.config.closeOnDestroy&&this._removeOpenDialog(e,!1)}),Ov(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){const t=new Mm({positionStrategy:e.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(t.backdropClass=e.backdropClass),t}_attachContainer(e,t,i){const r=i.injector||i.viewContainerRef?.injector,o=[{provide:Om,useValue:i},{provide:Av,useValue:t},{provide:Su,useValue:e}];let s;i.container?"function"==typeof i.container?s=i.container:(s=i.container.type,o.push(...i.container.providers(i))):s=lc;const a=new Dv(s,i.viewContainerRef,He.create({parent:r||this._injector,providers:o}),i.componentFactoryResolver);return e.attach(a).instance}_attachDialogContent(e,t,i,r){if(e instanceof ut){const o=this._createInjector(r,t,i,void 0);let s={$implicit:r.data,dialogRef:t};r.templateContext&&(s={...s,..."function"==typeof r.templateContext?r.templateContext():r.templateContext}),i.attachTemplatePortal(new Ll(e,null,s,o))}else{const o=this._createInjector(r,t,i,this._injector),s=i.attachComponentPortal(new Dv(e,r.viewContainerRef,o,r.componentFactoryResolver));t.componentInstance=s.instance}}_createInjector(e,t,i,r){const o=e.injector||e.viewContainerRef?.injector,s=[{provide:l8,useValue:e.data},{provide:Av,useValue:t}];return e.providers&&("function"==typeof e.providers?s.push(...e.providers(t,e,i)):s.push(...e.providers)),e.direction&&(!o||!o.get(qe,null,{optional:!0}))&&s.push({provide:qe,useValue:{value:e.direction,change:V()}}),He.create({parent:o||r,providers:s})}_removeOpenDialog(e,t){const i=this.openDialogs.indexOf(e);i>-1&&(this.openDialogs.splice(i,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((r,o)=>{r?o.setAttribute("aria-hidden",r):o.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),t&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const e=this._overlayContainer.getContainerElement();if(e.parentElement){const t=e.parentElement.children;for(let i=t.length-1;i>-1;i--){const r=t[i];r!==e&&"SCRIPT"!==r.nodeName&&"STYLE"!==r.nodeName&&!r.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(r,r.getAttribute("aria-hidden")),r.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}}function Ov(n,e){let t=n.length;for(;t--;)e(n[t])}to.\u0275fac=function(e){return new(e||to)(b(Kt),b(He),b(c8,8),b(to,12),b(wi),b(hA))},to.\u0275prov=I({token:to,factory:to.\u0275fac});class cc{}function f8(n,e){}cc.\u0275fac=function(e){return new(e||cc)},cc.\u0275mod=te({type:cc}),cc.\u0275inj=X({providers:[to,u8],imports:[Jr,Ci,Is,Ci]});class Xu{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const kv="mdc-dialog--open",fA="mdc-dialog--opening",pA="mdc-dialog--closing";class Qu extends lc{constructor(e,t,i,r,o,s,a,l){super(e,t,i,r,o,s,a,l),this._animationStateChanged=new U}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}}Qu.\u0275fac=function(e){return new(e||Qu)(f(j),f(or),f($,8),f(Xu),f(bi),f(R),f(Su),f(Qn))},Qu.\u0275cmp=xe({type:Qu,selectors:[["ng-component"]],features:[L],decls:0,vars:0,template:function(e,t){},encapsulation:2});const mA="--mat-dialog-transition-duration";function gA(n){return null==n?null:"number"==typeof n?n:n.endsWith("ms")?Rt(n.substring(0,n.length-2)):n.endsWith("s")?1e3*Rt(n.substring(0,n.length-1)):"0"===n?0:null}class Ju extends Qu{constructor(e,t,i,r,o,s,a,l,c){super(e,t,i,r,o,s,a,c),this._animationMode=l,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._hostElement=this._elementRef.nativeElement,this._openAnimationDuration=this._animationsEnabled?gA(this._config.enterAnimationDuration)??150:0,this._closeAnimationDuration=this._animationsEnabled?gA(this._config.exitAnimationDuration)??75:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._openAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._closeAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._openAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(mA,`${this._openAnimationDuration}ms`),this._hostElement.classList.add(fA),this._hostElement.classList.add(kv),this._waitForAnimationToComplete(this._openAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(kv),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._closeAnimationDuration}),this._hostElement.classList.remove(kv),this._animationsEnabled?(this._hostElement.style.setProperty(mA,`${this._openAnimationDuration}ms`),this._hostElement.classList.add(pA),this._waitForAnimationToComplete(this._closeAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove(fA),this._hostElement.classList.remove(pA)}_waitForAnimationToComplete(e,t){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(t,e)}}Ju.\u0275fac=function(e){return new(e||Ju)(f(j),f(or),f($,8),f(Xu),f(bi),f(R),f(Su),f(_t,8),f(Qn))},Ju.\u0275cmp=xe({type:Ju,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(e,t){2&e&&(xr("id",t._config.id),ge("aria-modal",t._config.ariaModal)("role",t._config.role)("aria-labelledby",t._config.ariaLabel?null:t._ariaLabelledBy)("aria-label",t._config.ariaLabel)("aria-describedby",t._config.ariaDescribedBy||null),ue("_mat-animation-noopable",!t._animationsEnabled))},features:[L],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(e,t){1&e&&(_(0,"div",0)(1,"div",1),k(2,f8,0,0,"ng-template",2),y()())},dependencies:[Sn],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{display:block;width:100%;height:100%}.mat-mdc-dialog-container{outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, var(--mdc-shape-medium, 4px))}.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__title,.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__actions,.mat-mdc-dialog-container.mdc-dialog--scrollable.mdc-dialog-scroll-divider-footer .mdc-dialog__actions{border-color:var(--mdc-dialog-with-divider-divider-color, black)}.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__title{border-bottom-color:var(--mdc-dialog-with-divider-divider-color, black)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, "Arial");line-height:var(--mdc-dialog-subhead-line-height, 14px);font-size:var(--mdc-dialog-subhead-size, 14px);font-weight:var(--mdc-dialog-subhead-weight, 500);letter-spacing:var(--mdc-dialog-subhead-tracking, 1px)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, black)}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, "Arial");line-height:var(--mdc-dialog-supporting-text-line-height, 14px);font-size:var(--mdc-dialog-supporting-text-size, 14px);font-weight:var(--mdc-dialog-supporting-text-weight, 500);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 1px)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, black)}.mat-mdc-dialog-container .mdc-dialog__container{transition-duration:var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container{transition:none}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2});class km{constructor(e,t,i){this._ref=e,this._containerInstance=i,this._afterOpened=new B,this._beforeClosed=new B,this._state=0,this.disableClose=t.disableClose,this.id=e.id,i._animationStateChanged.pipe(st(r=>"opened"===r.state),We(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),i._animationStateChanged.pipe(st(r=>"closed"===r.state),We(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),e.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),kn(this.backdropClick(),this.keydownEvents().pipe(st(r=>27===r.keyCode&&!this.disableClose&&!nr(r)))).subscribe(r=>{this.disableClose||(r.preventDefault(),_A(this,"keydown"===r.type?"keyboard":"mouse"))})}close(e){this._result=e,this._containerInstance._animationStateChanged.pipe(st(t=>"closing"===t.state),We(1)).subscribe(t=>{this._beforeClosed.next(e),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),t.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(e){let t=this._ref.config.positionStrategy;return e&&(e.left||e.right)?e.left?t.left(e.left):t.right(e.right):t.centerHorizontally(),e&&(e.top||e.bottom)?e.top?t.top(e.top):t.bottom(e.bottom):t.centerVertically(),this._ref.updatePosition(),this}updateSize(e="",t=""){return this._ref.updateSize(e,t),this}addPanelClass(e){return this._ref.addPanelClass(e),this}removePanelClass(e){return this._ref.removePanelClass(e),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function _A(n,e,t){return n._closeInteractionType=e,n.close(t)}const yA=new A("MatMdcDialogData"),g8=new A("mat-mdc-dialog-default-options"),bA=new A("mat-mdc-dialog-scroll-strategy");const y8={provide:bA,deps:[Kt],useFactory:function _8(n){return()=>n.scrollStrategies.block()}};let b8=0;class eh{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(e,t,i,r,o,s,a,l,c,d){this._overlay=e,this._defaultOptions=i,this._parentDialog=r,this._dialogRefConstructor=a,this._dialogContainerType=l,this._dialogDataToken=c,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new B,this._afterOpenedAtThisLevel=new B,this._idPrefix="mat-dialog-",this.dialogConfigClass=Xu,this.afterAllClosed=Ou(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Xn(void 0))),this._scrollStrategy=s,this._dialog=t.get(to)}open(e,t){let i;(t={...this._defaultOptions||new Xu,...t}).id=t.id||`${this._idPrefix}${b8++}`,t.scrollStrategy=t.scrollStrategy||this._scrollStrategy();const r=this._dialog.open(e,{...t,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:t},{provide:Om,useValue:t}]},templateContext:()=>({dialogRef:i}),providers:(o,s,a)=>(i=new this._dialogRefConstructor(o,t,a),i.updatePosition(t?.position),[{provide:this._dialogContainerType,useValue:a},{provide:this._dialogDataToken,useValue:s.data},{provide:this._dialogRefConstructor,useValue:i}])});return i.componentInstance=r.componentInstance,this.openDialogs.push(i),this.afterOpened.next(i),i.afterClosed().subscribe(()=>{const o=this.openDialogs.indexOf(i);o>-1&&(this.openDialogs.splice(o,1),this.openDialogs.length||this._getAfterAllClosed().next())}),i}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let t=e.length;for(;t--;)e[t].close()}}eh.\u0275fac=function(e){Bf()},eh.\u0275prov=I({token:eh,factory:eh.\u0275fac});class xi extends eh{constructor(e,t,i,r,o,s,a,l){super(e,t,r,s,a,o,km,Ju,yA,l),this._idPrefix="mat-mdc-dialog-"}}xi.\u0275fac=function(e){return new(e||xi)(b(Kt),b(He),b(qt,8),b(g8,8),b(bA),b(xi,12),b(wi),b(_t,8))},xi.\u0275prov=I({token:xi,factory:xi.\u0275fac});let v8=0;class Rm{constructor(e,t,i){this.dialogRef=e,this._elementRef=t,this._dialog=i,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=vA(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){const t=e._matDialogClose||e._matDialogCloseResult;t&&(this.dialogResult=t.currentValue)}_onButtonClick(e){_A(this.dialogRef,0===e.screenX&&0===e.screenY?"keyboard":"mouse",this.dialogResult)}}Rm.\u0275fac=function(e){return new(e||Rm)(f(km,8),f(j),f(xi))},Rm.\u0275dir=E({type:Rm,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(e,t){1&e&&q("click",function(r){return t._onButtonClick(r)}),2&e&&ge("aria-label",t.ariaLabel||null)("type",t.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[Ve]});class th{constructor(e,t,i){this._dialogRef=e,this._elementRef=t,this._dialog=i,this.id="mat-mdc-dialog-title-"+v8++}ngOnInit(){this._dialogRef||(this._dialogRef=vA(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const e=this._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=this.id)})}}th.\u0275fac=function(e){return new(e||th)(f(km,8),f(j),f(xi))},th.\u0275dir=E({type:th,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(e,t){2&e&&xr("id",t.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]});class nh{}nh.\u0275fac=function(e){return new(e||nh)},nh.\u0275dir=E({type:nh,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"]});class ih{constructor(){this.align="start"}}function vA(n,e){let t=n.nativeElement.parentElement;for(;t&&!t.classList.contains("mat-mdc-dialog-container");)t=t.parentElement;return t?e.find(i=>i.id===t.id):null}ih.\u0275fac=function(e){return new(e||ih)},ih.\u0275dir=E({type:ih,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:4,hostBindings:function(e,t){2&e&&ue("mat-mdc-dialog-actions-align-center","center"===t.align)("mat-mdc-dialog-actions-align-end","end"===t.align)},inputs:{align:"align"}});class dc{}dc.\u0275fac=function(e){return new(e||dc)},dc.\u0275mod=te({type:dc}),dc.\u0275inj=X({providers:[xi,y8],imports:[cc,Jr,Ci,Je,Je]});const CA={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},rh=(Ep("dialogContainer",[Qo("void, exit",wt({opacity:0,transform:"scale(0.7)"})),Qo("enter",wt({transform:"none"})),Tr("* => enter",sb([Yi("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",wt({transform:"none",opacity:1})),lI("@*",aI(),{optional:!0})]),CA),Tr("* => void, * => exit",sb([Yi("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",wt({opacity:0})),lI("@*",aI(),{optional:!0})]),CA)]),Fc(n=>function(){n(this),this.name="EmptyError",this.message="no elements in sequence"}));function oh(n,e){const t=fe(n)?n:()=>n,i=r=>r.error(t());return new le(e?r=>e.schedule(i,0,r):i)}function Fm(n){return $e((e,t)=>{let i=!1;e.subscribe(Ne(t,r=>{i=!0,t.next(r)},()=>{i||t.next(n),t.complete()}))})}function wA(n=C8){return $e((e,t)=>{let i=!1;e.subscribe(Ne(t,r=>{i=!0,t.next(r)},()=>i?t.complete():t.error(n())))})}function C8(){return new rh}function no(n,e){const t=arguments.length>=2;return i=>i.pipe(n?st((r,o)=>n(r,o,i)):fr,We(1),t?Fm(e):wA(()=>new rh))}function Tn(n){return $e((e,t)=>{let o,i=null,r=!1;i=e.subscribe(Ne(t,void 0,void 0,s=>{o=Mt(n(s,Tn(n)(e))),i?(i.unsubscribe(),i=null,o.subscribe(t)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(t))})}function xA(n,e){return $e(function w8(n,e,t,i,r){return(o,s)=>{let a=t,l=e,c=0;o.subscribe(Ne(s,d=>{const u=c++;l=a?n(l,d,u):(a=!0,d),i&&s.next(l)},r&&(()=>{a&&s.next(l),s.complete()})))}}(n,e,arguments.length>=2,!0))}function Rv(n){return n<=0?()=>hn:$e((e,t)=>{let i=[];e.subscribe(Ne(t,r=>{i.push(r),n<i.length&&i.shift()},()=>{for(const r of i)t.next(r);t.complete()},void 0,()=>{i=null}))})}function DA(n,e){const t=arguments.length>=2;return i=>i.pipe(n?st((r,o)=>n(r,o,i)):fr,Rv(1),t?Fm(e):wA(()=>new rh))}function Pm(n){return $e((e,t)=>{try{e.subscribe(t)}finally{t.add(n)}})}const re="primary",sh=Symbol("RouteTitle");class x8{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t[0]:t}return null}getAll(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function uc(n){return new x8(n)}function D8(n,e,t){const i=t.path.split("/");if(i.length>n.length||"full"===t.pathMatch&&(e.hasChildren()||i.length<n.length))return null;const r={};for(let o=0;o<i.length;o++){const s=i[o],a=n[o];if(s.startsWith(":"))r[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:n.slice(0,i.length),posParams:r}}function Di(n,e){const t=n?Object.keys(n):void 0,i=e?Object.keys(e):void 0;if(!t||!i||t.length!=i.length)return!1;let r;for(let o=0;o<t.length;o++)if(r=t[o],!MA(n[r],e[r]))return!1;return!0}function MA(n,e){if(Array.isArray(n)&&Array.isArray(e)){if(n.length!==e.length)return!1;const t=[...n].sort(),i=[...e].sort();return t.every((r,o)=>i[o]===r)}return n===e}function EA(n){return Array.prototype.concat.apply([],n)}function IA(n){return n.length>0?n[n.length-1]:null}function Dt(n,e){for(const t in n)n.hasOwnProperty(t)&&e(n[t],t)}function io(n){return Y_(n)?n:ud(n)?tt(Promise.resolve(n)):V(n)}const Nm=!1,E8={exact:function AA(n,e,t){if(!Hs(n.segments,e.segments)||!Lm(n.segments,e.segments,t)||n.numberOfChildren!==e.numberOfChildren)return!1;for(const i in e.children)if(!n.children[i]||!AA(n.children[i],e.children[i],t))return!1;return!0},subset:OA},SA={exact:function I8(n,e){return Di(n,e)},subset:function S8(n,e){return Object.keys(e).length<=Object.keys(n).length&&Object.keys(e).every(t=>MA(n[t],e[t]))},ignored:()=>!0};function TA(n,e,t){return E8[t.paths](n.root,e.root,t.matrixParams)&&SA[t.queryParams](n.queryParams,e.queryParams)&&!("exact"===t.fragment&&n.fragment!==e.fragment)}function OA(n,e,t){return kA(n,e,e.segments,t)}function kA(n,e,t,i){if(n.segments.length>t.length){const r=n.segments.slice(0,t.length);return!(!Hs(r,t)||e.hasChildren()||!Lm(r,t,i))}if(n.segments.length===t.length){if(!Hs(n.segments,t)||!Lm(n.segments,t,i))return!1;for(const r in e.children)if(!n.children[r]||!OA(n.children[r],e.children[r],i))return!1;return!0}{const r=t.slice(0,n.segments.length),o=t.slice(n.segments.length);return!!(Hs(n.segments,r)&&Lm(n.segments,r,i)&&n.children[re])&&kA(n.children[re],e,o,i)}}function Lm(n,e,t){return e.every((i,r)=>SA[t](n[r].parameters,i.parameters))}class ro{constructor(e=new de([],{}),t={},i=null){this.root=e,this.queryParams=t,this.fragment=i,Nm}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=uc(this.queryParams)),this._queryParamMap}toString(){return O8.serialize(this)}}class de{constructor(e,t){this.segments=e,this.children=t,this.parent=null,Dt(t,(i,r)=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Vm(this)}}class ah{constructor(e,t){this.path=e,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=uc(this.parameters)),this._parameterMap}toString(){return PA(this)}}function Hs(n,e){return n.length===e.length&&n.every((t,i)=>t.path===e[i].path)}class ar{}ar.\u0275fac=function(e){return new(e||ar)},ar.\u0275prov=I({token:ar,factory:function(){return new Fv},providedIn:"root"});class Fv{parse(e){const t=new z8(e);return new ro(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(e){const t=`/${lh(e.root,!0)}`,i=function F8(n){const e=Object.keys(n).map(t=>{const i=n[t];return Array.isArray(i)?i.map(r=>`${Bm(t)}=${Bm(r)}`).join("&"):`${Bm(t)}=${Bm(i)}`}).filter(t=>!!t);return e.length?`?${e.join("&")}`:""}(e.queryParams),r="string"==typeof e.fragment?`#${function k8(n){return encodeURI(n)}(e.fragment)}`:"";return`${t}${i}${r}`}}const O8=new Fv;function Vm(n){return n.segments.map(e=>PA(e)).join("/")}function lh(n,e){if(!n.hasChildren())return Vm(n);if(e){const t=n.children[re]?lh(n.children[re],!1):"",i=[];return Dt(n.children,(r,o)=>{o!==re&&i.push(`${o}:${lh(r,!1)}`)}),i.length>0?`${t}(${i.join("//")})`:t}{const t=function A8(n,e){let t=[];return Dt(n.children,(i,r)=>{r===re&&(t=t.concat(e(i,r)))}),Dt(n.children,(i,r)=>{r!==re&&(t=t.concat(e(i,r)))}),t}(n,(i,r)=>r===re?[lh(n.children[re],!1)]:[`${r}:${lh(i,!1)}`]);return 1===Object.keys(n.children).length&&null!=n.children[re]?`${Vm(n)}/${t[0]}`:`${Vm(n)}/(${t.join("//")})`}}function RA(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Bm(n){return RA(n).replace(/%3B/gi,";")}function Pv(n){return RA(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function zm(n){return decodeURIComponent(n)}function FA(n){return zm(n.replace(/\+/g,"%20"))}function PA(n){return`${Pv(n.path)}${function R8(n){return Object.keys(n).map(e=>`;${Pv(e)}=${Pv(n[e])}`).join("")}(n.parameters)}`}const P8=/^[^\/()?;=#]+/;function jm(n){const e=n.match(P8);return e?e[0]:""}const N8=/^[^=?&#]+/;const V8=/^[^&#]+/;class z8{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new de([],{}):new de([],this.parseChildren())}parseQueryParams(){const e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(i[re]=new de(e,t)),i}parseSegment(){const e=jm(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new w(4009,Nm);return this.capture(e),new ah(zm(e),this.parseMatrixParams())}parseMatrixParams(){const e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){const t=jm(this.remaining);if(!t)return;this.capture(t);let i="";if(this.consumeOptional("=")){const r=jm(this.remaining);r&&(i=r,this.capture(i))}e[zm(t)]=zm(i)}parseQueryParam(e){const t=function L8(n){const e=n.match(N8);return e?e[0]:""}(this.remaining);if(!t)return;this.capture(t);let i="";if(this.consumeOptional("=")){const s=function B8(n){const e=n.match(V8);return e?e[0]:""}(this.remaining);s&&(i=s,this.capture(i))}const r=FA(t),o=FA(i);if(e.hasOwnProperty(r)){let s=e[r];Array.isArray(s)||(s=[s],e[r]=s),s.push(o)}else e[r]=o}parseParens(e){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=jm(this.remaining),r=this.remaining[i.length];if("/"!==r&&")"!==r&&";"!==r)throw new w(4010,Nm);let o;i.indexOf(":")>-1?(o=i.slice(0,i.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=re);const s=this.parseChildren();t[o]=1===Object.keys(s).length?s[re]:new de([],s),this.consumeOptional("//")}return t}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}capture(e){if(!this.consumeOptional(e))throw new w(4011,Nm)}}function Nv(n){return n.segments.length>0?new de([],{[re]:n}):n}function Hm(n){const e={};for(const i of Object.keys(n.children)){const o=Hm(n.children[i]);(o.segments.length>0||o.hasChildren())&&(e[i]=o)}return function j8(n){if(1===n.numberOfChildren&&n.children[re]){const e=n.children[re];return new de(n.segments.concat(e.segments),e.children)}return n}(new de(n.segments,e))}function Us(n){return n instanceof ro}const Lv=!1;function NA(n){let e;const i=function t(o){const s={};for(const l of o.children){const c=t(l);s[l.outlet]=c}const a=new de(o.url,s);return o===n&&(e=a),a}(n.root),r=Nv(i);return e??r}function LA(n,e,t,i){let r=n;for(;r.parent;)r=r.parent;if(0===e.length)return hc(r,r,r,t,i);const o=zA(e);if(o.toRoot())return hc(r,r,new de([],{}),t,i);const s=function U8(n,e,t){if(n.isAbsolute)return new fc(e,!0,0);if(!t)return new fc(e,!1,NaN);if(null===t.parent)return new fc(t,!0,0);const i=ch(n.commands[0])?0:1,r=t.segments.length-1+i;return jA(t,r,n.numberOfDoubleDots)}(o,r,n),a=s.processChildren?pc(s.segmentGroup,s.index,o.commands):Vv(s.segmentGroup,s.index,o.commands);return hc(r,s.segmentGroup,a,t,i)}function H8(n,e,t,i,r){if(0===t.length)return hc(e.root,e.root,e.root,i,r);const o=zA(t);if(o.toRoot())return hc(e.root,e.root,new de([],{}),i,r);return function s(l){const c=function $8(n,e,t,i){if(n.isAbsolute)return new fc(e.root,!0,0);if(-1===i){const s=t===e.root;return new fc(t,s,0)}const r=ch(n.commands[0])?0:1,o=i+r;return jA(t,o,n.numberOfDoubleDots)}(o,e,n.snapshot?._urlSegment,l),d=c.processChildren?pc(c.segmentGroup,c.index,o.commands):Vv(c.segmentGroup,c.index,o.commands);return hc(e.root,c.segmentGroup,d,i,r)}(n.snapshot?._lastPathIndex)}function ch(n){return"object"==typeof n&&null!=n&&!n.outlets&&!n.segmentPath}function dh(n){return"object"==typeof n&&null!=n&&n.outlets}function hc(n,e,t,i,r){let s,o={};i&&Dt(i,(l,c)=>{o[c]=Array.isArray(l)?l.map(d=>`${d}`):`${l}`}),s=n===e?t:VA(n,e,t);const a=Nv(Hm(s));return new ro(a,o,r)}function VA(n,e,t){const i={};return Dt(n.children,(r,o)=>{i[o]=r===e?t:VA(r,e,t)}),new de(n.segments,i)}class BA{constructor(e,t,i){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=i,e&&i.length>0&&ch(i[0]))throw new w(4003,Lv&&"Root segment cannot have matrix parameters");const r=i.find(dh);if(r&&r!==IA(i))throw new w(4004,Lv&&"{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}function zA(n){if("string"==typeof n[0]&&1===n.length&&"/"===n[0])return new BA(!0,0,n);let e=0,t=!1;const i=n.reduce((r,o,s)=>{if("object"==typeof o&&null!=o){if(o.outlets){const a={};return Dt(o.outlets,(l,c)=>{a[c]="string"==typeof l?l.split("/"):l}),[...r,{outlets:a}]}if(o.segmentPath)return[...r,o.segmentPath]}return"string"!=typeof o?[...r,o]:0===s?(o.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?t=!0:".."===a?e++:""!=a&&r.push(a))}),r):[...r,o]},[]);return new BA(t,e,i)}class fc{constructor(e,t,i){this.segmentGroup=e,this.processChildren=t,this.index=i}}function jA(n,e,t){let i=n,r=e,o=t;for(;o>r;){if(o-=r,i=i.parent,!i)throw new w(4005,Lv&&"Invalid number of '../'");r=i.segments.length}return new fc(i,!1,r-o)}function Vv(n,e,t){if(n||(n=new de([],{})),0===n.segments.length&&n.hasChildren())return pc(n,e,t);const i=function W8(n,e,t){let i=0,r=e;const o={match:!1,pathIndex:0,commandIndex:0};for(;r<n.segments.length;){if(i>=t.length)return o;const s=n.segments[r],a=t[i];if(dh(a))break;const l=`${a}`,c=i<t.length-1?t[i+1]:null;if(r>0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!UA(l,c,s))return o;i+=2}else{if(!UA(l,{},s))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(n,e,t),r=t.slice(i.commandIndex);if(i.match&&i.pathIndex<n.segments.length){const o=new de(n.segments.slice(0,i.pathIndex),{});return o.children[re]=new de(n.segments.slice(i.pathIndex),n.children),pc(o,0,r)}return i.match&&0===r.length?new de(n.segments,{}):i.match&&!n.hasChildren()?Bv(n,e,t):i.match?pc(n,0,r):Bv(n,e,t)}function pc(n,e,t){if(0===t.length)return new de(n.segments,{});{const i=function G8(n){return dh(n[0])?n[0].outlets:{[re]:n}}(t),r={};return!i[re]&&n.children[re]&&1===n.numberOfChildren&&0===n.children[re].segments.length?pc(n.children[re],e,t):(Dt(i,(o,s)=>{"string"==typeof o&&(o=[o]),null!==o&&(r[s]=Vv(n.children[s],e,o))}),Dt(n.children,(o,s)=>{void 0===i[s]&&(r[s]=o)}),new de(n.segments,r))}}function Bv(n,e,t){const i=n.segments.slice(0,e);let r=0;for(;r<t.length;){const o=t[r];if(dh(o)){const l=q8(o.outlets);return new de(i,l)}if(0===r&&ch(t[0])){const l=n.segments[e];i.push(new ah(l.path,HA(t[0]))),r++;continue}const s=dh(o)?o.outlets[re]:`${o}`,a=r<t.length-1?t[r+1]:null;s&&a&&ch(a)?(i.push(new ah(s,HA(a))),r+=2):(i.push(new ah(s,{})),r++)}return new de(i,{})}function q8(n){const e={};return Dt(n,(t,i)=>{"string"==typeof t&&(t=[t]),null!==t&&(e[i]=Bv(new de([],{}),0,t))}),e}function HA(n){const e={};return Dt(n,(t,i)=>e[i]=`${t}`),e}function UA(n,e,t){return n==t.path&&Di(e,t.parameters)}const uh="imperative";class Mi{constructor(e,t){this.id=e,this.url=t}}class zv extends Mi{constructor(e,t,i="imperative",r=null){super(e,t),this.type=0,this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class oo extends Mi{constructor(e,t,i){super(e,t),this.urlAfterRedirects=i,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Um extends Mi{constructor(e,t,i,r){super(e,t),this.reason=i,this.code=r,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class $m extends Mi{constructor(e,t,i,r){super(e,t),this.reason=i,this.code=r,this.type=16}}class jv extends Mi{constructor(e,t,i,r){super(e,t),this.error=i,this.target=r,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Y8 extends Mi{constructor(e,t,i,r){super(e,t),this.urlAfterRedirects=i,this.state=r,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Z8 extends Mi{constructor(e,t,i,r){super(e,t),this.urlAfterRedirects=i,this.state=r,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class K8 extends Mi{constructor(e,t,i,r,o){super(e,t),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=o,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class X8 extends Mi{constructor(e,t,i,r){super(e,t),this.urlAfterRedirects=i,this.state=r,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Q8 extends Mi{constructor(e,t,i,r){super(e,t),this.urlAfterRedirects=i,this.state=r,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class J8{constructor(e){this.route=e,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class eG{constructor(e){this.route=e,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class tG{constructor(e){this.snapshot=e,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class nG{constructor(e){this.snapshot=e,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class iG{constructor(e){this.snapshot=e,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class rG{constructor(e){this.snapshot=e,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class $A{constructor(e,t,i){this.routerEvent=e,this.position=t,this.anchor=i,this.type=15}toString(){const e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}}class mc{createUrlTree(e,t,i,r,o,s){const l=H8(e||t.root,i,r,o,s);return l}}mc.\u0275fac=function(e){return new(e||mc)},mc.\u0275prov=I({token:mc,factory:mc.\u0275fac});class gc{createUrlTree(e,t,i,r,o,s){let a;try{a=NA(e?e.snapshot:t.snapshot.root)}catch{("string"!=typeof r[0]||!r[0].startsWith("/"))&&(r=[]),a=i.root}return LA(a,r,o,s)}}gc.\u0275fac=function(e){return new(e||gc)},gc.\u0275prov=I({token:gc,factory:gc.\u0275fac});class hh{}hh.\u0275fac=function(e){return new(e||hh)},hh.\u0275prov=I({token:hh,factory:function(n){return mc.\u0275fac(n)},providedIn:"root"});class GA{constructor(e){this._root=e}get root(){return this._root.value}parent(e){const t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}children(e){const t=Hv(e,this._root);return t?t.children.map(i=>i.value):[]}firstChild(e){const t=Hv(e,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(e){const t=Uv(e,this._root);return t.length<2?[]:t[t.length-2].children.map(r=>r.value).filter(r=>r!==e)}pathFromRoot(e){return Uv(e,this._root).map(t=>t.value)}}function Hv(n,e){if(n===e.value)return e;for(const t of e.children){const i=Hv(n,t);if(i)return i}return null}function Uv(n,e){if(n===e.value)return[e];for(const t of e.children){const i=Uv(n,t);if(i.length)return i.unshift(e),i}return[]}class lr{constructor(e,t){this.value=e,this.children=t}toString(){return`TreeNode(${this.value})`}}function _c(n){const e={};return n&&n.children.forEach(t=>e[t.value.outlet]=t),e}class WA extends GA{constructor(e,t){super(e),this.snapshot=t,$v(this,e)}toString(){return this.snapshot.toString()}}function qA(n,e){const t=function aG(n,e){const t={},i={},r={},o="",s=new Gm([],t,r,o,i,re,e,null,n.root,-1,{});return new ZA("",new lr(s,[]))}(n,e),i=new De([new ah("",{})]),r=new De({}),o=new De({}),s=new De({}),a=new De(""),l=new yc(i,r,s,a,o,re,e,t.root);return l.snapshot=t.root,new WA(new lr(l,[]),t)}class yc{constructor(e,t,i,r,o,s,a,l){this.url=e,this.params=t,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.title=this.data?.pipe(G(c=>c[sh]))??V(void 0),this._futureSnapshot=l}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(G(e=>uc(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(G(e=>uc(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function YA(n,e="emptyOnly"){const t=n.pathFromRoot;let i=0;if("always"!==e)for(i=t.length-1;i>=1;){const r=t[i],o=t[i-1];if(r.routeConfig&&""===r.routeConfig.path)i--;else{if(o.component)break;i--}}return function lG(n){return n.reduce((e,t)=>({params:{...e.params,...t.params},data:{...e.data,...t.data},resolve:{...t.data,...e.resolve,...t.routeConfig?.data,...t._resolvedData}}),{params:{},data:{},resolve:{}})}(t.slice(i))}class Gm{get title(){return this.data?.[sh]}constructor(e,t,i,r,o,s,a,l,c,d,u){this.url=e,this.params=t,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._urlSegment=c,this._lastPathIndex=d,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=uc(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=uc(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(i=>i.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class ZA extends GA{constructor(e,t){super(t),this.url=e,$v(this,t)}toString(){return KA(this._root)}}function $v(n,e){e.value._routerState=n,e.children.forEach(t=>$v(n,t))}function KA(n){const e=n.children.length>0?` { ${n.children.map(KA).join(", ")} } `:"";return`${n.value}${e}`}function Gv(n){if(n.snapshot){const e=n.snapshot,t=n._futureSnapshot;n.snapshot=t,Di(e.queryParams,t.queryParams)||n.queryParams.next(t.queryParams),e.fragment!==t.fragment&&n.fragment.next(t.fragment),Di(e.params,t.params)||n.params.next(t.params),function M8(n,e){if(n.length!==e.length)return!1;for(let t=0;t<n.length;++t)if(!Di(n[t],e[t]))return!1;return!0}(e.url,t.url)||n.url.next(t.url),Di(e.data,t.data)||n.data.next(t.data)}else n.snapshot=n._futureSnapshot,n.data.next(n._futureSnapshot.data)}function Wv(n,e){const t=Di(n.params,e.params)&&function T8(n,e){return Hs(n,e)&&n.every((t,i)=>Di(t.parameters,e[i].parameters))}(n.url,e.url),i=!n.parent!=!e.parent;return t&&!i&&(!n.parent||Wv(n.parent,e.parent))}function fh(n,e,t){if(t&&n.shouldReuseRoute(e.value,t.value.snapshot)){const i=t.value;i._futureSnapshot=e.value;const r=function dG(n,e,t){return e.children.map(i=>{for(const r of t.children)if(n.shouldReuseRoute(i.value,r.value.snapshot))return fh(n,i,r);return fh(n,i)})}(n,e,t);return new lr(i,r)}{if(n.shouldAttach(e.value)){const o=n.retrieve(e.value);if(null!==o){const s=o.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>fh(n,a)),s}}const i=function uG(n){return new yc(new De(n.url),new De(n.params),new De(n.queryParams),new De(n.fragment),new De(n.data),n.outlet,n.component,n)}(e.value),r=e.children.map(o=>fh(n,o));return new lr(i,r)}}const qv="ngNavigationCancelingError";function XA(n,e){const{redirectTo:t,navigationBehaviorOptions:i}=Us(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,r=QA(!1,0,e);return r.url=t,r.navigationBehaviorOptions=i,r}function QA(n,e,t){const i=new Error("NavigationCancelingError: "+(n||""));return i[qv]=!0,i.cancellationCode=e,t&&(i.url=t),i}function JA(n){return eO(n)&&Us(n.url)}function eO(n){return n&&n[qv]}class hG{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Ei,this.attachRef=null}}class Ei{constructor(){this.contexts=new Map}onChildOutletCreated(e,t){const i=this.getOrCreateContext(e);i.outlet=t,this.contexts.set(e,i)}onChildOutletDestroyed(e){const t=this.getContext(e);t&&(t.outlet=null,t.attachRef=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let t=this.getContext(e);return t||(t=new hG,this.contexts.set(e,t)),t}getContext(e){return this.contexts.get(e)||null}}Ei.\u0275fac=function(e){return new(e||Ei)},Ei.\u0275prov=I({token:Ei,factory:Ei.\u0275fac,providedIn:"root"});const Wm=!1;class $s{constructor(){this.activated=null,this._activatedRoute=null,this.name=re,this.activateEvents=new U,this.deactivateEvents=new U,this.attachEvents=new U,this.detachEvents=new U,this.parentContexts=H(Ei),this.location=H(rt),this.changeDetector=H(ht),this.environmentInjector=H(_n)}ngOnChanges(e){if(e.name){const{firstChange:t,previousValue:i}=e.name;if(t)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new w(4012,Wm);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new w(4012,Wm);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new w(4012,Wm);this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new w(4013,Wm);this._activatedRoute=e;const i=this.location,o=e.snapshot.component,s=this.parentContexts.getOrCreateContext(this.name).children,a=new fG(e,s,i.injector);if(t&&function pG(n){return!!n.resolveComponentFactory}(t)){const l=t.resolveComponentFactory(o);this.activated=i.createComponent(l,i.length,a)}else{const l=t??this.environmentInjector;this.activated=i.createComponent(o,{index:i.length,injector:a,environmentInjector:l})}this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}$s.\u0275fac=function(e){return new(e||$s)},$s.\u0275dir=E({type:$s,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Ve]});class fG{constructor(e,t,i){this.route=e,this.childContexts=t,this.parent=i}get(e,t){return e===yc?this.route:e===Ei?this.childContexts:this.parent.get(e,t)}}class Gs{}function tO(n,e){return n.providers&&!n._injector&&(n._injector=np(n.providers,e,`Route: ${n.path}`)),n._injector??e}function Yv(n,e="",t=!1){for(let i=0;i<n.length;i++){const r=n[i];gG(r,_G(e,r),t)}}function gG(n,e,t){n.children&&Yv(n.children,e,t)}function _G(n,e){return e?n||e.path?n&&!e.path?`${n}/`:!n&&e.path?e.path:`${n}/${e.path}`:"":n}function Zv(n){const e=n.children&&n.children.map(Zv),t=e?{...n,children:e}:{...n};return!t.component&&!t.loadComponent&&(e||t.loadChildren)&&t.outlet&&t.outlet!==re&&(t.component=Gs),t}function An(n){return n.outlet||re}function nO(n,e){const t=n.filter(i=>An(i)===e);return t.push(...n.filter(i=>An(i)!==e)),t}function ph(n){if(!n)return null;if(n.routeConfig?._injector)return n.routeConfig._injector;for(let e=n.parent;e;e=e.parent){const t=e.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}Gs.\u0275fac=function(e){return new(e||Gs)},Gs.\u0275cmp=xe({type:Gs,selectors:[["ng-component"]],standalone:!0,features:[ly],decls:1,vars:0,template:function(e,t){1&e&&oe(0,"router-outlet")},dependencies:[$s],encapsulation:2});class bG{constructor(e,t,i,r){this.routeReuseStrategy=e,this.futureState=t,this.currState=i,this.forwardEvent=r}activate(e){const t=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,i,e),Gv(this.futureState.root),this.activateChildRoutes(t,i,e)}deactivateChildRoutes(e,t,i){const r=_c(t);e.children.forEach(o=>{const s=o.value.outlet;this.deactivateRoutes(o,r[s],i),delete r[s]}),Dt(r,(o,s)=>{this.deactivateRouteAndItsChildren(o,i)})}deactivateRoutes(e,t,i){const r=e.value,o=t?t.value:null;if(r===o)if(r.component){const s=i.getContext(r.outlet);s&&this.deactivateChildRoutes(e,t,s.children)}else this.deactivateChildRoutes(e,t,i);else o&&this.deactivateRouteAndItsChildren(t,i)}deactivateRouteAndItsChildren(e,t){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)}detachAndStoreRouteSubtree(e,t){const i=t.getContext(e.value.outlet),r=i&&e.value.component?i.children:t,o=_c(e);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],r);if(i&&i.outlet){const s=i.outlet.detach(),a=i.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,t){const i=t.getContext(e.value.outlet),r=i&&e.value.component?i.children:t,o=_c(e);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],r);i&&i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated(),i.attachRef=null,i.resolver=null,i.route=null)}activateChildRoutes(e,t,i){const r=_c(t);e.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],i),this.forwardEvent(new rG(o.value.snapshot))}),e.children.length&&this.forwardEvent(new nG(e.value.snapshot))}activateRoutes(e,t,i){const r=e.value,o=t?t.value:null;if(Gv(r),r===o)if(r.component){const s=i.getOrCreateContext(r.outlet);this.activateChildRoutes(e,t,s.children)}else this.activateChildRoutes(e,t,i);else if(r.component){const s=i.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Gv(a.route.value),this.activateChildRoutes(e,null,s.children)}else{const a=ph(r.snapshot),l=a?.get(Li)??null;s.attachRef=null,s.route=r,s.resolver=l,s.injector=a,s.outlet&&s.outlet.activateWith(r,s.injector),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,i)}}class iO{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}}class qm{constructor(e,t){this.component=e,this.route=t}}function vG(n,e,t){const i=n._root;return mh(i,e?e._root:null,t,[i.value])}function bc(n,e){const t=Symbol(),i=e.get(n,t);return i===t?"function"!=typeof n||function xk(n){return null!==tf(n)}(n)?e.get(n):n:i}function mh(n,e,t,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=_c(e);return n.children.forEach(s=>{(function wG(n,e,t,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=n.value,s=e?e.value:null,a=t?t.getContext(n.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const l=function xG(n,e,t){if("function"==typeof t)return t(n,e);switch(t){case"pathParamsChange":return!Hs(n.url,e.url);case"pathParamsOrQueryParamsChange":return!Hs(n.url,e.url)||!Di(n.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Wv(n,e)||!Di(n.queryParams,e.queryParams);default:return!Wv(n,e)}}(s,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new iO(i)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?mh(n,e,a?a.children:null,i,r):mh(n,e,t,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new qm(a.outlet.component,s))}else s&&gh(e,a,r),r.canActivateChecks.push(new iO(i)),o.component?mh(n,null,a?a.children:null,i,r):mh(n,null,t,i,r);return r})(s,o[s.value.outlet],t,i.concat([s.value]),r),delete o[s.value.outlet]}),Dt(o,(s,a)=>gh(s,t.getContext(a),r)),r}function gh(n,e,t){const i=_c(n),r=n.value;Dt(i,(o,s)=>{r.component?gh(o,e?e.children.getContext(s):null,t):gh(o,e,t)}),r.component&&e&&e.outlet&&e.outlet.isActivated?t.canDeactivateChecks.push(new qm(e.outlet.component,r)):t.canDeactivateChecks.push(new qm(null,r))}function _h(n){return"function"==typeof n}function Kv(n){return n instanceof rh||"EmptyError"===n?.name}const Ym=Symbol("INITIAL_VALUE");function vc(){return xt(n=>rr(n.map(e=>e.pipe(We(1),Xn(Ym)))).pipe(G(e=>{for(const t of e)if(!0!==t){if(t===Ym)return Ym;if(!1===t||t instanceof ro)return t}return!0}),st(e=>e!==Ym),We(1)))}function OG(n,e){return lt(t=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:s}}=t;return 0===s.length&&0===o.length?V({...t,guardsResult:!0}):function kG(n,e,t,i){return tt(n).pipe(lt(r=>function VG(n,e,t,i,r){const o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||0===o.length)return V(!0);const s=o.map(a=>{const l=ph(e)??r,c=bc(a,l);return io(function SG(n){return n&&_h(n.canDeactivate)}(c)?c.canDeactivate(n,e,t,i):l.runInContext(()=>c(n,e,t,i))).pipe(no())});return V(s).pipe(vc())}(r.component,r.route,t,e,i)),no(r=>!0!==r,!0))}(s,i,r,n).pipe(lt(a=>a&&function DG(n){return"boolean"==typeof n}(a)?function RG(n,e,t,i){return tt(e).pipe(Gr(r=>du(function PG(n,e){return null!==n&&e&&e(new tG(n)),V(!0)}(r.route.parent,i),function FG(n,e){return null!==n&&e&&e(new iG(n)),V(!0)}(r.route,i),function LG(n,e,t){const i=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>function CG(n){const e=n.routeConfig?n.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:n,guards:e}:null}(s)).filter(s=>null!==s).map(s=>Ou(()=>V(s.guards.map(l=>{const c=ph(s.node)??t,d=bc(l,c);return io(function IG(n){return n&&_h(n.canActivateChild)}(d)?d.canActivateChild(i,n):c.runInContext(()=>d(i,n))).pipe(no())})).pipe(vc())));return V(o).pipe(vc())}(n,r.path,t),function NG(n,e,t){const i=e.routeConfig?e.routeConfig.canActivate:null;if(!i||0===i.length)return V(!0);const r=i.map(o=>Ou(()=>{const s=ph(e)??t,a=bc(o,s);return io(function EG(n){return n&&_h(n.canActivate)}(a)?a.canActivate(e,n):s.runInContext(()=>a(e,n))).pipe(no())}));return V(r).pipe(vc())}(n,r.route,t))),no(r=>!0!==r,!0))}(i,o,n,e):V(a)),G(a=>({...t,guardsResult:a})))})}function BG(n,e,t,i){const r=e.canLoad;if(void 0===r||0===r.length)return V(!0);return V(r.map(s=>{const a=bc(s,n);return io(function MG(n){return n&&_h(n.canLoad)}(a)?a.canLoad(e,t):n.runInContext(()=>a(e,t)))})).pipe(vc(),rO(i))}function rO(n){return function GO(...n){return cC(n)}(ft(e=>{if(Us(e))throw XA(0,e)}),G(e=>!0===e))}function zG(n,e,t,i){const r=e.canMatch;if(!r||0===r.length)return V(!0);return V(r.map(s=>{const a=bc(s,n);return io(function TG(n){return n&&_h(n.canMatch)}(a)?a.canMatch(e,t):n.runInContext(()=>a(e,t)))})).pipe(vc(),rO())}const Xv={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function oO(n,e,t,i,r){const o=Qv(n,e,t);return o.matched?zG(i=tO(e,i),e,t).pipe(G(s=>!0===s?o:{...Xv})):V(o)}function Qv(n,e,t){if(""===e.path)return"full"===e.pathMatch&&(n.hasChildren()||t.length>0)?{...Xv}:{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};const r=(e.matcher||D8)(t,n,e);if(!r)return{...Xv};const o={};Dt(r.posParams,(a,l)=>{o[l]=a.path});const s=r.consumed.length>0?{...o,...r.consumed[r.consumed.length-1].parameters}:o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:t.slice(r.consumed.length),parameters:s,positionalParamSegments:r.posParams??{}}}function Zm(n,e,t,i){if(t.length>0&&function UG(n,e,t){return t.some(i=>Km(n,e,i)&&An(i)!==re)}(n,t,i)){const o=new de(e,function HG(n,e,t,i){const r={};r[re]=i,i._sourceSegment=n,i._segmentIndexShift=e.length;for(const o of t)if(""===o.path&&An(o)!==re){const s=new de([],{});s._sourceSegment=n,s._segmentIndexShift=e.length,r[An(o)]=s}return r}(n,e,i,new de(t,n.children)));return o._sourceSegment=n,o._segmentIndexShift=e.length,{segmentGroup:o,slicedSegments:[]}}if(0===t.length&&function $G(n,e,t){return t.some(i=>Km(n,e,i))}(n,t,i)){const o=new de(n.segments,function jG(n,e,t,i,r){const o={};for(const s of i)if(Km(n,t,s)&&!r[An(s)]){const a=new de([],{});a._sourceSegment=n,a._segmentIndexShift=e.length,o[An(s)]=a}return{...r,...o}}(n,e,t,i,n.children));return o._sourceSegment=n,o._segmentIndexShift=e.length,{segmentGroup:o,slicedSegments:t}}const r=new de(n.segments,n.children);return r._sourceSegment=n,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:t}}function Km(n,e,t){return(!(n.hasChildren()||e.length>0)||"full"!==t.pathMatch)&&""===t.path}function sO(n,e,t,i){return!!(An(n)===i||i!==re&&Km(e,t,n))&&("**"===n.path||Qv(e,n,t).matched)}function aO(n,e,t){return 0===e.length&&!n.children[t]}const Xm=!1;class Qm{constructor(e){this.segmentGroup=e||null}}class lO{constructor(e){this.urlTree=e}}function yh(n){return oh(new Qm(n))}function cO(n){return oh(new lO(n))}function GG(n){return oh(new w(4e3,Xm&&`Only absolute redirects can have named outlets. redirectTo: '${n}'`))}class YG{constructor(e,t,i,r,o){this.injector=e,this.configLoader=t,this.urlSerializer=i,this.urlTree=r,this.config=o,this.allowRedirects=!0}apply(){const e=Zm(this.urlTree.root,[],[],this.config).segmentGroup,t=new de(e.segments,e.children);return this.expandSegmentGroup(this.injector,this.config,t,re).pipe(G(o=>this.createUrlTree(Hm(o),this.urlTree.queryParams,this.urlTree.fragment))).pipe(Tn(o=>{if(o instanceof lO)return this.allowRedirects=!1,this.match(o.urlTree);throw o instanceof Qm?this.noMatchError(o):o}))}match(e){return this.expandSegmentGroup(this.injector,this.config,e.root,re).pipe(G(r=>this.createUrlTree(Hm(r),e.queryParams,e.fragment))).pipe(Tn(r=>{throw r instanceof Qm?this.noMatchError(r):r}))}noMatchError(e){return new w(4002,Xm&&`Cannot match any routes. URL Segment: '${e.segmentGroup}'`)}createUrlTree(e,t,i){const r=Nv(e);return new ro(r,t,i)}expandSegmentGroup(e,t,i,r){return 0===i.segments.length&&i.hasChildren()?this.expandChildren(e,t,i).pipe(G(o=>new de([],o))):this.expandSegment(e,i,t,i.segments,r,!0)}expandChildren(e,t,i){const r=[];for(const o of Object.keys(i.children))"primary"===o?r.unshift(o):r.push(o);return tt(r).pipe(Gr(o=>{const s=i.children[o],a=nO(t,o);return this.expandSegmentGroup(e,a,s,o).pipe(G(l=>({segment:l,outlet:o})))}),xA((o,s)=>(o[s.outlet]=s.segment,o),{}),DA())}expandSegment(e,t,i,r,o,s){return tt(i).pipe(Gr(a=>this.expandSegmentAgainstRoute(e,t,i,a,r,o,s).pipe(Tn(c=>{if(c instanceof Qm)return V(null);throw c}))),no(a=>!!a),Tn((a,l)=>{if(Kv(a))return aO(t,r,o)?V(new de([],{})):yh(t);throw a}))}expandSegmentAgainstRoute(e,t,i,r,o,s,a){return sO(r,t,o,s)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(e,t,r,o,s):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,i,r,o,s):yh(t):yh(t)}expandSegmentAgainstRouteUsingRedirect(e,t,i,r,o,s){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,i,r,s):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,i,r,o,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(e,t,i,r){const o=this.applyRedirectCommands([],i.redirectTo,{});return i.redirectTo.startsWith("/")?cO(o):this.lineralizeSegments(i,o).pipe(lt(s=>{const a=new de(s,{});return this.expandSegment(e,a,t,s,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(e,t,i,r,o,s){const{matched:a,consumedSegments:l,remainingSegments:c,positionalParamSegments:d}=Qv(t,r,o);if(!a)return yh(t);const u=this.applyRedirectCommands(l,r.redirectTo,d);return r.redirectTo.startsWith("/")?cO(u):this.lineralizeSegments(r,u).pipe(lt(h=>this.expandSegment(e,t,i,h.concat(c),s,!1)))}matchSegmentAgainstRoute(e,t,i,r,o){return"**"===i.path?(e=tO(i,e),i.loadChildren?(i._loadedRoutes?V({routes:i._loadedRoutes,injector:i._loadedInjector}):this.configLoader.loadChildren(e,i)).pipe(G(a=>(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,new de(r,{})))):V(new de(r,{}))):oO(t,i,r,e,this.urlSerializer).pipe(xt(({matched:s,consumedSegments:a,remainingSegments:l})=>s?(e=i._injector??e,this.getChildConfig(e,i,r).pipe(lt(d=>{const u=d.injector??e,h=d.routes,{segmentGroup:p,slicedSegments:m}=Zm(t,a,l,h),g=new de(p.segments,p.children);if(0===m.length&&g.hasChildren())return this.expandChildren(u,h,g).pipe(G(x=>new de(a,x)));if(0===h.length&&0===m.length)return V(new de(a,{}));const v=An(i)===o;return this.expandSegment(u,g,h,m,v?re:o,!0).pipe(G(O=>new de(a.concat(O.segments),O.children)))}))):yh(t)))}getChildConfig(e,t,i){return t.children?V({routes:t.children,injector:e}):t.loadChildren?void 0!==t._loadedRoutes?V({routes:t._loadedRoutes,injector:t._loadedInjector}):BG(e,t,i,this.urlSerializer).pipe(lt(r=>r?this.configLoader.loadChildren(e,t).pipe(ft(o=>{t._loadedRoutes=o.routes,t._loadedInjector=o.injector})):function WG(n){return oh(QA(Xm&&`Cannot load children because the guard of the route "path: '${n.path}'" returned false`,3))}(t))):V({routes:[],injector:e})}lineralizeSegments(e,t){let i=[],r=t.root;for(;;){if(i=i.concat(r.segments),0===r.numberOfChildren)return V(i);if(r.numberOfChildren>1||!r.children[re])return GG(e.redirectTo);r=r.children[re]}}applyRedirectCommands(e,t,i){return this.applyRedirectCreateUrlTree(t,this.urlSerializer.parse(t),e,i)}applyRedirectCreateUrlTree(e,t,i,r){const o=this.createSegmentGroup(e,t.root,i,r);return new ro(o,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(e,t){const i={};return Dt(e,(r,o)=>{if("string"==typeof r&&r.startsWith(":")){const a=r.substring(1);i[o]=t[a]}else i[o]=r}),i}createSegmentGroup(e,t,i,r){const o=this.createSegments(e,t.segments,i,r);let s={};return Dt(t.children,(a,l)=>{s[l]=this.createSegmentGroup(e,a,i,r)}),new de(o,s)}createSegments(e,t,i,r){return t.map(o=>o.path.startsWith(":")?this.findPosParam(e,o,r):this.findOrReturn(o,i))}findPosParam(e,t,i){const r=i[t.path.substring(1)];if(!r)throw new w(4001,Xm&&`Cannot redirect to '${e}'. Cannot find '${t.path}'.`);return r}findOrReturn(e,t){let i=0;for(const r of t){if(r.path===e.path)return t.splice(i),r;i++}return e}}function ZG(n,e,t,i){return xt(r=>function qG(n,e,t,i,r){return new YG(n,e,t,i,r).apply()}(n,e,t,r.extractedUrl,i).pipe(G(o=>({...r,urlAfterRedirects:o}))))}const dO=!1;class KG{}function QG(n,e,t,i,r,o,s="emptyOnly"){return new JG(n,e,t,i,r,s,o).recognize().pipe(xt(a=>null===a?function XG(n){return new le(e=>e.error(n))}(new KG):V(a)))}class JG{constructor(e,t,i,r,o,s,a){this.injector=e,this.rootComponentType=t,this.config=i,this.urlTree=r,this.url=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a}recognize(){const e=Zm(this.urlTree.root,[],[],this.config.filter(t=>void 0===t.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,e,re).pipe(G(t=>{if(null===t)return null;const i=new Gm([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},re,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new lr(i,t),o=new ZA(this.url,r);return this.inheritParamsAndData(o._root),o}))}inheritParamsAndData(e){const t=e.value,i=YA(t,this.paramsInheritanceStrategy);t.params=Object.freeze(i.params),t.data=Object.freeze(i.data),e.children.forEach(r=>this.inheritParamsAndData(r))}processSegmentGroup(e,t,i,r){return 0===i.segments.length&&i.hasChildren()?this.processChildren(e,t,i):this.processSegment(e,t,i,i.segments,r)}processChildren(e,t,i){return tt(Object.keys(i.children)).pipe(Gr(r=>{const o=i.children[r],s=nO(t,r);return this.processSegmentGroup(e,s,o,r)}),xA((r,o)=>r&&o?(r.push(...o),r):null),kT(r=>null!==r),Fm(null),DA(),G(r=>{if(null===r)return null;const o=uO(r);return dO&&function i6(n){const e={};n.forEach(t=>{const i=e[t.value.outlet];if(i){const r=i.url.map(s=>s.toString()).join("/"),o=t.value.url.map(s=>s.toString()).join("/");throw new w(4006,dO&&`Two segments cannot have the same outlet name: '${r}' and '${o}'.`)}e[t.value.outlet]=t.value})}(o),function e6(n){n.sort((e,t)=>e.value.outlet===re?-1:t.value.outlet===re?1:e.value.outlet.localeCompare(t.value.outlet))}(o),o}))}processSegment(e,t,i,r,o){return tt(t).pipe(Gr(s=>this.processSegmentAgainstRoute(s._injector??e,s,i,r,o)),no(s=>!!s),Tn(s=>{if(Kv(s))return aO(i,r,o)?V([]):V(null);throw s}))}processSegmentAgainstRoute(e,t,i,r,o){if(t.redirectTo||!sO(t,i,r,o))return V(null);let s;if("**"===t.path){const a=r.length>0?IA(r).parameters:{},l=fO(i)+r.length;s=V({snapshot:new Gm(r,a,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,pO(t),An(t),t.component??t._loadedComponent??null,t,hO(i),l,mO(t)),consumedSegments:[],remainingSegments:[]})}else s=oO(i,t,r,e,this.urlSerializer).pipe(G(({matched:a,consumedSegments:l,remainingSegments:c,parameters:d})=>{if(!a)return null;const u=fO(i)+l.length;return{snapshot:new Gm(l,d,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,pO(t),An(t),t.component??t._loadedComponent??null,t,hO(i),u,mO(t)),consumedSegments:l,remainingSegments:c}}));return s.pipe(xt(a=>{if(null===a)return V(null);const{snapshot:l,consumedSegments:c,remainingSegments:d}=a;e=t._injector??e;const u=t._loadedInjector??e,h=function t6(n){return n.children?n.children:n.loadChildren?n._loadedRoutes:[]}(t),{segmentGroup:p,slicedSegments:m}=Zm(i,c,d,h.filter(v=>void 0===v.redirectTo));if(0===m.length&&p.hasChildren())return this.processChildren(u,h,p).pipe(G(v=>null===v?null:[new lr(l,v)]));if(0===h.length&&0===m.length)return V([new lr(l,[])]);const g=An(t)===o;return this.processSegment(u,h,p,m,g?re:o).pipe(G(v=>null===v?null:[new lr(l,v)]))}))}}function n6(n){const e=n.value.routeConfig;return e&&""===e.path&&void 0===e.redirectTo}function uO(n){const e=[],t=new Set;for(const i of n){if(!n6(i)){e.push(i);continue}const r=e.find(o=>i.value.routeConfig===o.value.routeConfig);void 0!==r?(r.children.push(...i.children),t.add(r)):e.push(i)}for(const i of t){const r=uO(i.children);e.push(new lr(i.value,r))}return e.filter(i=>!t.has(i))}function hO(n){let e=n;for(;e._sourceSegment;)e=e._sourceSegment;return e}function fO(n){let e=n,t=e._segmentIndexShift??0;for(;e._sourceSegment;)e=e._sourceSegment,t+=e._segmentIndexShift??0;return t-1}function pO(n){return n.data||{}}function mO(n){return n.resolve||{}}function o6(n,e){return lt(t=>{const{targetSnapshot:i,guards:{canActivateChecks:r}}=t;if(!r.length)return V(t);let o=0;return tt(r).pipe(Gr(s=>function s6(n,e,t,i){const r=n.routeConfig,o=n._resolve;return void 0!==r?.title&&!gO(r)&&(o[sh]=r.title),function a6(n,e,t,i){const r=function l6(n){return[...Object.keys(n),...Object.getOwnPropertySymbols(n)]}(n);if(0===r.length)return V({});const o={};return tt(r).pipe(lt(s=>function c6(n,e,t,i){const r=ph(e)??i,o=bc(n,r),s=o.resolve?o.resolve(e,t):r.runInContext(()=>o(e,t));return io(s)}(n[s],e,t,i).pipe(no(),ft(a=>{o[s]=a}))),Rv(1),YT(o),Tn(s=>Kv(s)?hn:oh(s)))}(o,n,e,i).pipe(G(s=>(n._resolvedData=s,n.data=YA(n,t).resolve,r&&gO(r)&&(n.data[sh]=r.title),null)))}(s.route,i,n,e)),ft(()=>o++),Rv(1),lt(s=>o===r.length?V(t):hn))})}function gO(n){return"string"==typeof n.title||null===n.title}function Jv(n){return xt(e=>{const t=n(e);return t?tt(t).pipe(G(()=>e)):V(e)})}const Cc=new A("ROUTES");class so{constructor(e,t){this.injector=e,this.compiler=t,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return V(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);const t=io(e.loadComponent()).pipe(G(yO),ft(r=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=r}),Pm(()=>{this.componentLoaders.delete(e)})),i=new wv(t,()=>new B).pipe(Cv());return this.componentLoaders.set(e,i),i}loadChildren(e,t){if(this.childrenLoaders.get(t))return this.childrenLoaders.get(t);if(t._loadedRoutes)return V({routes:t._loadedRoutes,injector:t._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(t);const r=this.loadModuleFactoryOrRoutes(t.loadChildren).pipe(G(s=>{this.onLoadEndListener&&this.onLoadEndListener(t);let a,l,c=!1;Array.isArray(s)?(l=s,c=!0):(a=s.create(e).injector,l=EA(a.get(Cc,[],ce.Self|ce.Optional)));const d=l.map(Zv);return{routes:d,injector:a}}),Pm(()=>{this.childrenLoaders.delete(t)})),o=new wv(r,()=>new B).pipe(Cv());return this.childrenLoaders.set(t,o),o}loadModuleFactoryOrRoutes(e){return(this.injector,null)||io(e()).pipe(G(yO),lt(i=>i instanceof GM||Array.isArray(i)?V(i):tt(this.compiler.compileModuleAsync(i))))}}function yO(n){return function u6(n){return n&&"object"==typeof n&&"default"in n}(n)?n.default:n}so.\u0275fac=function(e){return new(e||so)(b(He),b(Ao))},so.\u0275prov=I({token:so,factory:so.\u0275fac,providedIn:"root"});class cr{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new B,this.configLoader=H(so),this.environmentInjector=H(_n),this.urlSerializer=H(ar),this.rootContexts=H(Ei),this.navigationId=0,this.afterPreactivation=()=>V(void 0),this.rootComponentType=null;this.configLoader.onLoadEndListener=i=>this.events.next(new eG(i)),this.configLoader.onLoadStartListener=i=>this.events.next(new J8(i))}complete(){this.transitions?.complete()}handleNavigationRequest(e){const t=++this.navigationId;this.transitions?.next({...this.transitions.value,...e,id:t})}setupNavigations(e){return this.transitions=new De({id:0,targetPageId:0,currentUrlTree:e.currentUrlTree,currentRawUrl:e.currentUrlTree,extractedUrl:e.urlHandlingStrategy.extract(e.currentUrlTree),urlAfterRedirects:e.urlHandlingStrategy.extract(e.currentUrlTree),rawUrl:e.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:uh,restoredState:null,currentSnapshot:e.routerState.snapshot,targetSnapshot:null,currentRouterState:e.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(st(t=>0!==t.id),G(t=>({...t,extractedUrl:e.urlHandlingStrategy.extract(t.rawUrl)})),xt(t=>{let i=!1,r=!1;return V(t).pipe(ft(o=>{this.currentNavigation={id:o.id,initialUrl:o.rawUrl,extractedUrl:o.extractedUrl,trigger:o.source,extras:o.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),xt(o=>{const s=e.browserUrlTree.toString(),a=!e.navigated||o.extractedUrl.toString()!==s||s!==e.currentUrlTree.toString(),l=o.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!a&&"reload"!==l){const c="";return this.events.next(new $m(o.id,e.serializeUrl(t.rawUrl),c,0)),e.rawUrlTree=o.rawUrl,o.resolve(null),hn}if(e.urlHandlingStrategy.shouldProcessUrl(o.rawUrl))return bO(o.source)&&(e.browserUrlTree=o.extractedUrl),V(o).pipe(xt(c=>{const d=this.transitions?.getValue();return this.events.next(new zv(c.id,this.urlSerializer.serialize(c.extractedUrl),c.source,c.restoredState)),d!==this.transitions?.getValue()?hn:Promise.resolve(c)}),ZG(this.environmentInjector,this.configLoader,this.urlSerializer,e.config),ft(c=>{this.currentNavigation={...this.currentNavigation,finalUrl:c.urlAfterRedirects},t.urlAfterRedirects=c.urlAfterRedirects}),function r6(n,e,t,i,r){return lt(o=>QG(n,e,t,o.urlAfterRedirects,i.serialize(o.urlAfterRedirects),i,r).pipe(G(s=>({...o,targetSnapshot:s}))))}(this.environmentInjector,this.rootComponentType,e.config,this.urlSerializer,e.paramsInheritanceStrategy),ft(c=>{if(t.targetSnapshot=c.targetSnapshot,"eager"===e.urlUpdateStrategy){if(!c.extras.skipLocationChange){const u=e.urlHandlingStrategy.merge(c.urlAfterRedirects,c.rawUrl);e.setBrowserUrl(u,c)}e.browserUrlTree=c.urlAfterRedirects}const d=new Y8(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}));if(a&&e.urlHandlingStrategy.shouldProcessUrl(e.rawUrlTree)){const{id:c,extractedUrl:d,source:u,restoredState:h,extras:p}=o,m=new zv(c,this.urlSerializer.serialize(d),u,h);this.events.next(m);const g=qA(d,this.rootComponentType).snapshot;return V(t={...o,targetSnapshot:g,urlAfterRedirects:d,extras:{...p,skipLocationChange:!1,replaceUrl:!1}})}{const c="";return this.events.next(new $m(o.id,e.serializeUrl(t.extractedUrl),c,1)),e.rawUrlTree=o.rawUrl,o.resolve(null),hn}}),ft(o=>{const s=new Z8(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot);this.events.next(s)}),G(o=>t={...o,guards:vG(o.targetSnapshot,o.currentSnapshot,this.rootContexts)}),OG(this.environmentInjector,o=>this.events.next(o)),ft(o=>{if(t.guardsResult=o.guardsResult,Us(o.guardsResult))throw XA(this.urlSerializer,o.guardsResult);const s=new K8(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot,!!o.guardsResult);this.events.next(s)}),st(o=>!!o.guardsResult||(e.restoreHistory(o),this.cancelNavigationTransition(o,"",3),!1)),Jv(o=>{if(o.guards.canActivateChecks.length)return V(o).pipe(ft(s=>{const a=new X8(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),xt(s=>{let a=!1;return V(s).pipe(o6(e.paramsInheritanceStrategy,this.environmentInjector),ft({next:()=>a=!0,complete:()=>{a||(e.restoreHistory(s),this.cancelNavigationTransition(s,"",2))}}))}),ft(s=>{const a=new Q8(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}))}),Jv(o=>{const s=a=>{const l=[];a.routeConfig?.loadComponent&&!a.routeConfig._loadedComponent&&l.push(this.configLoader.loadComponent(a.routeConfig).pipe(ft(c=>{a.component=c}),G(()=>{})));for(const c of a.children)l.push(...s(c));return l};return rr(s(o.targetSnapshot.root)).pipe(Fm(),We(1))}),Jv(()=>this.afterPreactivation()),G(o=>{const s=function cG(n,e,t){const i=fh(n,e._root,t?t._root:void 0);return new WA(i,e)}(e.routeReuseStrategy,o.targetSnapshot,o.currentRouterState);return t={...o,targetRouterState:s}}),ft(o=>{e.currentUrlTree=o.urlAfterRedirects,e.rawUrlTree=e.urlHandlingStrategy.merge(o.urlAfterRedirects,o.rawUrl),e.routerState=o.targetRouterState,"deferred"===e.urlUpdateStrategy&&(o.extras.skipLocationChange||e.setBrowserUrl(e.rawUrlTree,o),e.browserUrlTree=o.urlAfterRedirects)}),((n,e,t)=>G(i=>(new bG(e,i.targetRouterState,i.currentRouterState,t).activate(n),i)))(this.rootContexts,e.routeReuseStrategy,o=>this.events.next(o)),ft({next:o=>{i=!0,this.lastSuccessfulNavigation=this.currentNavigation,e.navigated=!0,this.events.next(new oo(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(e.currentUrlTree))),e.titleStrategy?.updateTitle(o.targetRouterState.snapshot),o.resolve(!0)},complete:()=>{i=!0}}),Pm(()=>{if(!i&&!r){const o="";this.cancelNavigationTransition(t,o,1)}this.currentNavigation?.id===t.id&&(this.currentNavigation=null)}),Tn(o=>{if(r=!0,eO(o)){JA(o)||(e.navigated=!0,e.restoreHistory(t,!0));const s=new Um(t.id,this.urlSerializer.serialize(t.extractedUrl),o.message,o.cancellationCode);if(this.events.next(s),JA(o)){const a=e.urlHandlingStrategy.merge(o.url,e.rawUrlTree),l={skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===e.urlUpdateStrategy||bO(t.source)};e.scheduleNavigation(a,uh,null,l,{resolve:t.resolve,reject:t.reject,promise:t.promise})}else t.resolve(!1)}else{e.restoreHistory(t,!0);const s=new jv(t.id,this.urlSerializer.serialize(t.extractedUrl),o,t.targetSnapshot??void 0);this.events.next(s);try{t.resolve(e.errorHandler(o))}catch(a){t.reject(a)}}return hn}))}))}cancelNavigationTransition(e,t,i){const r=new Um(e.id,this.urlSerializer.serialize(e.extractedUrl),t,i);this.events.next(r),e.resolve(!1)}}function bO(n){return n!==uh}cr.\u0275fac=function(e){return new(e||cr)},cr.\u0275prov=I({token:cr,factory:cr.\u0275fac,providedIn:"root"});class wc{buildTitle(e){let t,i=e.root;for(;void 0!==i;)t=this.getResolvedTitleForRoute(i)??t,i=i.children.find(r=>r.outlet===re);return t}getResolvedTitleForRoute(e){return e.data[sh]}}wc.\u0275fac=function(e){return new(e||wc)},wc.\u0275prov=I({token:wc,factory:function(){return H(xc)},providedIn:"root"});class xc extends wc{constructor(e){super(),this.title=e}updateTitle(e){const t=this.buildTitle(e);void 0!==t&&this.title.setTitle(t)}}xc.\u0275fac=function(e){return new(e||xc)(b(Ja))},xc.\u0275prov=I({token:xc,factory:xc.\u0275fac,providedIn:"root"});class bh{}bh.\u0275fac=function(e){return new(e||bh)},bh.\u0275prov=I({token:bh,factory:function(){return H(Ws)},providedIn:"root"});class h6{shouldDetach(e){return!1}store(e,t){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,t){return e.routeConfig===t.routeConfig}}class Ws extends h6{}Ws.\u0275fac=function(){let n;return function(t){return(n||(n=Oe(Ws)))(t||Ws)}}(),Ws.\u0275prov=I({token:Ws,factory:Ws.\u0275fac,providedIn:"root"});const eg=new A("",{providedIn:"root",factory:()=>({})});class vh{}vh.\u0275fac=function(e){return new(e||vh)},vh.\u0275prov=I({token:vh,factory:function(){return H(Dc)},providedIn:"root"});class Dc{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,t){return e}}Dc.\u0275fac=function(e){return new(e||Dc)},Dc.\u0275prov=I({token:Dc,factory:Dc.\u0275fac,providedIn:"root"});const eC=!1;function p6(n){throw n}function m6(n,e,t){return e.parse("/")}const g6={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},_6={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};class pt{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=H(Dr),this.isNgZoneEnabled=!1,this.options=H(eg,{optional:!0})||{},this.errorHandler=this.options.errorHandler||p6,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||m6,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=H(vh),this.routeReuseStrategy=H(bh),this.urlCreationStrategy=H(hh),this.titleStrategy=H(wc),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=EA(H(Cc,{optional:!0})??[]),this.navigationTransitions=H(cr),this.urlSerializer=H(ar),this.location=H(qt),this.isNgZoneEnabled=H(R)instanceof R&&R.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new ro,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=qA(this.currentUrlTree,null),this.navigationTransitions.setupNavigations(this).subscribe(e=>{this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId},e=>{this.console.warn(`Unhandled Navigation Error: ${e}`)})}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const e=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),uh,e)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const t="popstate"===e.type?"popstate":"hashchange";"popstate"===t&&setTimeout(()=>{this.navigateToSyncWithBrowser(e.url,t,e.state)},0)}))}navigateToSyncWithBrowser(e,t,i){const r={replaceUrl:!0},o=i?.navigationId?i:null;if(i){const a={...i};delete a.navigationId,delete a.\u0275routerPageId,0!==Object.keys(a).length&&(r.state=a)}const s=this.parseUrl(e);this.scheduleNavigation(s,t,o,r)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(e){eC&&Yv(e),this.config=e.map(Zv),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(e,t={}){const{relativeTo:i,queryParams:r,fragment:o,queryParamsHandling:s,preserveFragment:a}=t,l=a?this.currentUrlTree.fragment:o;let c=null;switch(s){case"merge":c={...this.currentUrlTree.queryParams,...r};break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=r||null}return null!==c&&(c=this.removeEmptyProps(c)),this.urlCreationStrategy.createUrlTree(i,this.routerState,this.currentUrlTree,e,c,l??null)}navigateByUrl(e,t={skipLocationChange:!1}){eC&&(this.isNgZoneEnabled&&!R.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?"),e instanceof ro&&e._warnIfUsedForNavigation&&this.console.warn(e._warnIfUsedForNavigation));const i=Us(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(r,uh,null,t)}navigate(e,t={skipLocationChange:!1}){return function y6(n){for(let e=0;e<n.length;e++){const t=n[e];if(null==t)throw new w(4008,eC&&`The requested path contains ${t} segment at index ${e}`)}}(e),this.navigateByUrl(this.createUrlTree(e,t),t)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){let t;try{t=this.urlSerializer.parse(e)}catch(i){t=this.malformedUriErrorHandler(i,this.urlSerializer,e)}return t}isActive(e,t){let i;if(i=!0===t?{...g6}:!1===t?{..._6}:t,Us(e))return TA(this.currentUrlTree,e,i);const r=this.parseUrl(e);return TA(this.currentUrlTree,r,i)}removeEmptyProps(e){return Object.keys(e).reduce((t,i)=>{const r=e[i];return null!=r&&(t[i]=r),t},{})}scheduleNavigation(e,t,i,r,o){if(this.disposed)return Promise.resolve(!1);let s,a,l,c;return o?(s=o.resolve,a=o.reject,l=o.promise):l=new Promise((d,u)=>{s=d,a=u}),c="computed"===this.canceledNavigationResolution?i&&i.\u0275routerPageId?i.\u0275routerPageId:r.replaceUrl||r.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1:0,this.navigationTransitions.handleNavigationRequest({targetPageId:c,source:t,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:r,resolve:s,reject:a,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(d=>Promise.reject(d))}setBrowserUrl(e,t){const i=this.urlSerializer.serialize(e),r={...t.extras.state,...this.generateNgRouterState(t.id,t.targetPageId)};this.location.isCurrentPathEqualTo(i)||t.extras.replaceUrl?this.location.replaceState(i,"",r):this.location.go(i,"",r)}restoreHistory(e,t=!1){if("computed"===this.canceledNavigationResolution){const i=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.getCurrentNavigation()?.finalUrl||0===i?this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===i&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(i)}else"replace"===this.canceledNavigationResolution&&(t&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=e.currentRouterState,this.currentUrlTree=e.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,t){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:t}:{navigationId:e}}}pt.\u0275fac=function(e){return new(e||pt)},pt.\u0275prov=I({token:pt,factory:pt.\u0275fac,providedIn:"root"});class ao{constructor(e,t,i,r,o,s){this.router=e,this.route=t,this.tabIndexAttribute=i,this.renderer=r,this.el=o,this.locationStrategy=s,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new B;const a=o.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===a||"area"===a,this.isAnchorElement?this.subscription=e.events.subscribe(l=>{l instanceof oo&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(e){this._preserveFragment=Ga(e)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(e){this._skipLocationChange=Ga(e)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(e){this._replaceUrl=Ga(e)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(e){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(e){null!=e?(this.commands=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(e,t,i,r,o){if(null===this.urlTree||this.isAnchorElement&&(0!==e||t||i||r||o||"string"==typeof this.target&&"_self"!=this.target))return!0;const s={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state};return this.router.navigateByUrl(this.urlTree,s),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const e=null===this.href?null:Dx(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",e)}applyAttributeValue(e,t){const i=this.renderer,r=this.el.nativeElement;null!==t?i.setAttribute(r,e,t):i.removeAttribute(r,e)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}ao.\u0275fac=function(e){return new(e||ao)(f(pt),f(yc),yo("tabindex"),f(Nn),f(j),f($n))},ao.\u0275dir=E({type:ao,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(e,t){1&e&&q("click",function(r){return t.onClick(r.button,r.ctrlKey,r.shiftKey,r.altKey,r.metaKey)}),2&e&&ge("target",t.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[Ve]});class Ch{get isActive(){return this._isActive}constructor(e,t,i,r,o){this.router=e,this.element=t,this.renderer=i,this.cdr=r,this.link=o,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new U,this.routerEventsSubscription=e.events.subscribe(s=>{s instanceof oo&&this.update()})}ngAfterContentInit(){V(this.links.changes,V(null)).pipe(ea()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const e=[...this.links.toArray(),this.link].filter(t=>!!t).map(t=>t.onChanges);this.linkInputChangesSubscription=tt(e).pipe(ea()).subscribe(t=>{this._isActive!==this.isLinkActive(this.router)(t)&&this.update()})}set routerLinkActive(e){const t=Array.isArray(e)?e:e.split(" ");this.classes=t.filter(i=>!!i)}ngOnChanges(e){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||Promise.resolve().then(()=>{const e=this.hasActiveLinks();this._isActive!==e&&(this._isActive=e,this.cdr.markForCheck(),this.classes.forEach(t=>{e?this.renderer.addClass(this.element.nativeElement,t):this.renderer.removeClass(this.element.nativeElement,t)}),e&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(e))})}isLinkActive(e){const t=function b6(n){return!!n.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return i=>!!i.urlTree&&e.isActive(i.urlTree,t)}hasActiveLinks(){const e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}}Ch.\u0275fac=function(e){return new(e||Ch)(f(pt),f(j),f(Nn),f(ht),f(ao,8))},Ch.\u0275dir=E({type:Ch,selectors:[["","routerLinkActive",""]],contentQueries:function(e,t,i){if(1&e&&Ct(i,ao,5),2&e){let r;ne(r=ie())&&(t.links=r)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Ve]});class vO{}class wh{preload(e,t){return t().pipe(Tn(()=>V(null)))}}wh.\u0275fac=function(e){return new(e||wh)},wh.\u0275prov=I({token:wh,factory:wh.\u0275fac,providedIn:"root"});class xh{preload(e,t){return V(null)}}xh.\u0275fac=function(e){return new(e||xh)},xh.\u0275prov=I({token:xh,factory:xh.\u0275fac,providedIn:"root"});class Mc{constructor(e,t,i,r,o){this.router=e,this.injector=i,this.preloadingStrategy=r,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(st(e=>e instanceof oo),Gr(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,t){const i=[];for(const r of t){r.providers&&!r._injector&&(r._injector=np(r.providers,e,`Route: ${r.path}`));const o=r._injector??e,s=r._loadedInjector??o;r.loadChildren&&!r._loadedRoutes&&void 0===r.canLoad||r.loadComponent&&!r._loadedComponent?i.push(this.preloadConfig(o,r)):(r.children||r._loadedRoutes)&&i.push(this.processRoutes(s,r.children??r._loadedRoutes))}return tt(i).pipe(ea())}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>{let i;i=t.loadChildren&&void 0===t.canLoad?this.loader.loadChildren(e,t):V(null);const r=i.pipe(lt(o=>null===o?V(void 0):(t._loadedRoutes=o.routes,t._loadedInjector=o.injector,this.processRoutes(o.injector??e,o.routes))));if(t.loadComponent&&!t._loadedComponent){return tt([r,this.loader.loadComponent(t)]).pipe(ea())}return r})}}Mc.\u0275fac=function(e){return new(e||Mc)(b(pt),b(Ao),b(_n),b(vO),b(so))},Mc.\u0275prov=I({token:Mc,factory:Mc.\u0275fac,providedIn:"root"});const tC=new A("");class Ec{constructor(e,t,i,r,o={}){this.urlSerializer=e,this.transitions=t,this.viewportScroller=i,this.zone=r,this.options=o,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},o.scrollPositionRestoration=o.scrollPositionRestoration||"disabled",o.anchorScrolling=o.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof zv?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof oo&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof $A&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,t){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new $A(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}var Ic;Ec.\u0275fac=function(e){Bf()},Ec.\u0275prov=I({token:Ec,factory:Ec.\u0275fac}),function(n){n[n.COMPLETE=0]="COMPLETE",n[n.FAILED=1]="FAILED",n[n.REDIRECTING=2]="REDIRECTING"}(Ic||(Ic={}));const Sc=!1;function CO(n){return n.routerState.root}function lo(n,e){return{\u0275kind:n,\u0275providers:e}}const nC=new A("",{providedIn:"root",factory:()=>!1});function wO(){const n=H(He);return e=>{const t=n.get(Un);if(e!==t.components[0])return;const i=n.get(pt),r=n.get(xO);1===n.get(iC)&&i.initialNavigation(),n.get(DO,null,ce.Optional)?.setUpPreloading(),n.get(tC,null,ce.Optional)?.init(),i.resetRootComponentType(t.componentTypes[0]),r.closed||(r.next(),r.unsubscribe())}}const xO=new A(Sc?"bootstrap done indicator":"",{factory:()=>new B}),iC=new A(Sc?"initial navigation":"",{providedIn:"root",factory:()=>1});function w6(){return lo(2,[{provide:iC,useValue:0},{provide:lp,multi:!0,deps:[He],useFactory:e=>{const t=e.get(BV,Promise.resolve());return()=>t.then(()=>new Promise(i=>{const r=e.get(pt),o=e.get(xO);(function v6(n,e){n.events.pipe(st(t=>t instanceof oo||t instanceof Um||t instanceof jv||t instanceof $m),G(t=>t instanceof oo||t instanceof $m?Ic.COMPLETE:t instanceof Um&&(0===t.code||1===t.code)?Ic.REDIRECTING:Ic.FAILED),st(t=>t!==Ic.REDIRECTING),We(1)).subscribe(()=>{e()})})(r,()=>{i(!0)}),e.get(cr).afterPreactivation=()=>(i(!0),o.closed?V(void 0):o),r.initialNavigation()}))}}])}function D6(){let n=[];return n=Sc?[{provide:Pf,multi:!0,useFactory:()=>{const e=H(pt);return()=>e.events.subscribe(t=>{console.group?.(`Router Event: ${t.constructor.name}`),console.log(function oG(n){if(!("type"in n))return`Unknown Router Event: ${n.constructor.name}`;switch(n.type){case 14:return`ActivationEnd(path: '${n.snapshot.routeConfig?.path||""}')`;case 13:return`ActivationStart(path: '${n.snapshot.routeConfig?.path||""}')`;case 12:return`ChildActivationEnd(path: '${n.snapshot.routeConfig?.path||""}')`;case 11:return`ChildActivationStart(path: '${n.snapshot.routeConfig?.path||""}')`;case 8:return`GuardsCheckEnd(id: ${n.id}, url: '${n.url}', urlAfterRedirects: '${n.urlAfterRedirects}', state: ${n.state}, shouldActivate: ${n.shouldActivate})`;case 7:return`GuardsCheckStart(id: ${n.id}, url: '${n.url}', urlAfterRedirects: '${n.urlAfterRedirects}', state: ${n.state})`;case 2:return`NavigationCancel(id: ${n.id}, url: '${n.url}')`;case 16:return`NavigationSkipped(id: ${n.id}, url: '${n.url}')`;case 1:return`NavigationEnd(id: ${n.id}, url: '${n.url}', urlAfterRedirects: '${n.urlAfterRedirects}')`;case 3:return`NavigationError(id: ${n.id}, url: '${n.url}', error: ${n.error})`;case 0:return`NavigationStart(id: ${n.id}, url: '${n.url}')`;case 6:return`ResolveEnd(id: ${n.id}, url: '${n.url}', urlAfterRedirects: '${n.urlAfterRedirects}', state: ${n.state})`;case 5:return`ResolveStart(id: ${n.id}, url: '${n.url}', urlAfterRedirects: '${n.urlAfterRedirects}', state: ${n.state})`;case 10:return`RouteConfigLoadEnd(path: ${n.route.path})`;case 9:return`RouteConfigLoadStart(path: ${n.route.path})`;case 4:return`RoutesRecognized(id: ${n.id}, url: '${n.url}', urlAfterRedirects: '${n.urlAfterRedirects}', state: ${n.state})`;case 15:const e=n.position?`${n.position[0]}, ${n.position[1]}`:null;return`Scroll(anchor: '${n.anchor}', position: '${e}')`}}(t)),console.log(t),console.groupEnd?.()})}}]:[],lo(1,n)}const DO=new A(Sc?"router preloader":"");function M6(n){return lo(0,[{provide:DO,useExisting:Mc},{provide:vO,useExisting:n}])}const Dh=!1,MO=new A(Dh?"router duplicate forRoot guard":"ROUTER_FORROOT_GUARD"),E6=[qt,{provide:ar,useClass:Fv},pt,Ei,{provide:yc,useFactory:CO,deps:[pt]},so,Dh?{provide:nC,useValue:!0}:[]];function I6(){return new H0("Router",pt)}class Ii{constructor(e){}static forRoot(e,t){return{ngModule:Ii,providers:[E6,Dh&&t?.enableTracing?D6().\u0275providers:[],{provide:Cc,multi:!0,useValue:e},{provide:MO,useFactory:O6,deps:[[pt,new Co,new _a]]},{provide:eg,useValue:t||{}},t?.useHash?{provide:$n,useClass:qa}:{provide:$n,useClass:Fo},{provide:tC,useFactory:()=>{const n=H(qy),e=H(R),t=H(eg),i=H(cr),r=H(ar);return t.scrollOffset&&n.setOffset(t.scrollOffset),new Ec(r,i,n,e,t)}},t?.preloadingStrategy?M6(t.preloadingStrategy).\u0275providers:[],{provide:H0,multi:!0,useFactory:I6},t?.initialNavigation?k6(t):[],[{provide:EO,useFactory:wO},{provide:j0,multi:!0,useExisting:EO}]]}}static forChild(e){return{ngModule:Ii,providers:[{provide:Cc,multi:!0,useValue:e}]}}}function O6(n){if(Dh&&n)throw new w(4007,"The Router was provided more than once. This can happen if 'forRoot' is used outside of the root injector. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function k6(n){return["disabled"===n.initialNavigation?lo(3,[{provide:lp,multi:!0,useFactory:()=>{const e=H(pt);return()=>{e.setUpLocationChangeListener()}}},{provide:iC,useValue:2}]).\u0275providers:[],"enabledBlocking"===n.initialNavigation?w6().\u0275providers:[]]}Ii.\u0275fac=function(e){return new(e||Ii)(b(MO,8))},Ii.\u0275mod=te({type:Ii}),Ii.\u0275inj=X({imports:[Gs]});const EO=new A(Dh?"Router Initializer":"");new Mo("15.2.2");class qs{constructor(e){this.http=e,this.rootUrl=""}handleError(e){return t=>(console.error(t),V(e))}getEventDetail(e){return this.http.get(this.rootUrl+`/eventDetail/${e}`)}getVenueDetail(e){return this.http.get(this.rootUrl+`/venue/${e}`)}getArtistDetail(e){return this.http.get(this.rootUrl+`/artist/${e}`)}}function IO(n,e,t,i,r,o,s){try{var a=n[o](s),l=a.value}catch(c){return void t(c)}a.done?e(l):Promise.resolve(l).then(i,r)}function SO(n){return function(){var e=this,t=arguments;return new Promise(function(i,r){var o=n.apply(e,t);function s(l){IO(o,i,r,s,a,"next",l)}function a(l){IO(o,i,r,s,a,"throw",l)}s(void 0)})}}function tg(n,e){const t="object"==typeof e;return new Promise((i,r)=>{let s,o=!1;n.subscribe({next:a=>{s=a,o=!0},error:r,complete:()=>{o?i(s):t?i(e.defaultValue):r(new rh)}})})}qs.\u0275fac=function(e){return new(e||qs)(b(Yr))},qs.\u0275prov=I({token:qs,factory:qs.\u0275fac,providedIn:"root"});class Ys{constructor(e){this.http=e,this.rootUrl=""}handleError(e){return t=>(console.error(t),V(e))}getAutoFill(e){return null!=e&&""!=e?this.http.get(this.rootUrl+`/autofill/${e}`).pipe(Tn(this.handleError([]))):V([])}getIPLocation(){return this.http.get("https://ipinfo.io/?token=4fd050f2c74c76").pipe(G(e=>e.loc),Tn(this.handleError("")))}getGoogleLocation(e){return null!=e&&null!=e?this.http.get("https://maps.googleapis.com/maps/api/geocode/json",{params:{address:e,key:"AIzaSyBv14IBvcxFRUVxwD_MdioMfL1Ey22GnXs"}}).pipe(G(t=>"OK"==t.status?t.results[0].geometry.location:"INVALID_REQUEST"==t.status?{}:void 0),Tn(this.handleError({}))):V({})}getEvents(e){return this.http.get(this.rootUrl+"/events",{params:e})}}function F6(n,e){1&n&&(_(0,"mat-option",27),oe(1,"mat-spinner",28),y())}function P6(n,e){if(1&n&&(_(0,"mat-option",30),S(1),y()),2&n){const t=e.$implicit;M("value",t),C(1),jn(" ",t," ")}}function N6(n,e){if(1&n&&(Yf(0),k(1,P6,2,2,"mat-option",29),Zf()),2&n){const t=F();C(1),M("ngForOf",t.filteredAutoFills)}}Ys.\u0275fac=function(e){return new(e||Ys)(b(Yr))},Ys.\u0275prov=I({token:Ys,factory:Ys.\u0275fac,providedIn:"root"});class Mh{constructor(e,t){this.formBuilder=e,this.searchFormService=t,this.searchForm=this.formBuilder.group({keyword:new _i(""),distance:new _i(10),category:new _i("default"),location:new _i(""),isAuto:new _i(!1)}),this.isAutoFillLoading=!1,this.filteredAutoFills=[],this.events=[],this.messageEvents=new U,this.messageClear=new U,this.searchQuery={keyword:"",distance:10,category:"default",lat:0,lng:0}}ngOnInit(){this.searchForm.controls.keyword.valueChanges.pipe(cm(1e3),ft(()=>this.isAutoFillLoading=!0),xt(e=>this.searchFormService.getAutoFill(e).pipe(Pm(()=>this.isAutoFillLoading=!1)))).subscribe(e=>this.filteredAutoFills=e)}isAutoOnChange(){this.searchForm.value.isAuto?(this.searchForm.controls.location.disable(),this.searchForm.controls.location.setValue("")):this.searchForm.controls.location.enable()}onSubmit(){var e=this;return SO(function*(){if(e.searchQuery.keyword=null!=e.searchForm.value.keyword&&null!=e.searchForm.value.keyword?e.searchForm.value.keyword:"",e.searchQuery.distance=null!=e.searchForm.value.distance&&null!=e.searchForm.value.distance?e.searchForm.value.distance:10,e.searchQuery.category=null!=e.searchForm.value.category&&null!=e.searchForm.value.category?e.searchForm.value.category:"default",e.searchForm.value.isAuto){const i=yield tg(e.searchFormService.getIPLocation());if(!i||""==i)return void e.messageEvents.emit([]);var t=i.split(",");e.searchQuery.lat=parseFloat(t[0]),e.searchQuery.lng=parseFloat(t[1])}else{const i=yield tg(e.searchFormService.getGoogleLocation(e.searchForm.value.location));if(!i)return void e.messageEvents.emit([]);e.searchQuery.lat=i.lat,e.searchQuery.lng=i.lng}e.events=yield tg(e.searchFormService.getEvents(e.searchQuery)),e.events.sort((i,r)=>i.date+" "+i.time<r.date+" "+r.time?-1:1),e.messageEvents.emit(e.events)})()}clear(){this.searchForm.reset({distance:10,category:"default"}),this.searchForm.controls.location.enable(),this.messageClear.emit()}}function L6(n,e){if(1&n){const t=gt();_(0,"tbody")(1,"tr",4),q("click",function(){const o=nt(t).$implicit;return it(F().showEventDetail(o.id,o.venue))}),_(2,"td"),S(3),oe(4,"br"),S(5),y(),_(6,"td"),oe(7,"img",5),y(),_(8,"td"),S(9),y(),_(10,"td"),S(11),y(),_(12,"td"),S(13),y()()()}if(2&n){const t=e.$implicit;C(3),Ue(t.date),C(2),Ue(t.time),C(2),vr("src",t.iconUrl,si),C(2),Ue(t.name),C(2),Ue(t.genre),C(2),Ue(t.venue)}}Mh.\u0275fac=function(e){return new(e||Mh)(f(yi),f(Ys))},Mh.\u0275cmp=xe({type:Mh,selectors:[["app-search-form"]],outputs:{messageEvents:"messageEvents",messageClear:"messageClear"},decls:54,vars:4,consts:[[1,"search-form","px-3","py-4","mx-auto","my-5"],[1,"title","text-center","fs-2","py-3"],["ngNativeValidate","",3,"formGroup","ngSubmit"],[1,"my-3"],[1,"form-label"],["type","text","formControlName","keyword","matInput","","required","",1,"form-control",3,"matAutocomplete"],["auto","matAutocomplete"],["class","is-loading",4,"ngIf"],[4,"ngIf"],[1,"row","g-2","align-items-center"],[1,"col-6"],["type","number","formControlName","distance","min","1",1,"form-control"],[1,"col-4","ms-3"],["formControlName","category",1,"form-select","selectpicker","show-tick"],["categorySelect",""],["value","default","selected","",1,"select-items"],["value","music",1,"select-items"],["value","sports",1,"select-items"],["value","arts_theatre",1,"select-items"],["value","film",1,"select-items"],["value","miscellaneous",1,"select-items"],["type","text","formControlName","location","required","",1,"form-control"],["type","checkbox","formControlName","isAuto",3,"change"],[1,"form-label","ms-2"],[1,"my-3","mx-auto",2,"width","fit-content"],["type","submit",1,"btn","btn-danger","me-3"],["type","button",1,"btn","btn-primary",3,"click"],[1,"is-loading"],["diameter","20"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(e,t){if(1&e&&(_(0,"div",0)(1,"div",1),S(2," Events Search "),y(),_(3,"form",2),q("ngSubmit",function(){return t.onSubmit()}),_(4,"div",3)(5,"label",4),S(6,"Keyword"),_(7,"i"),S(8,"*"),y()(),oe(9,"input",5),_(10,"mat-autocomplete",null,6),k(12,F6,2,0,"mat-option",7),k(13,N6,2,1,"ng-container",8),y()(),_(14,"div",3)(15,"div",9)(16,"div",10)(17,"label",4),S(18,"Distance(miles)"),y(),oe(19,"input",11),y(),_(20,"div",12)(21,"label",4),S(22,"Category"),_(23,"i"),S(24,"*"),y()(),_(25,"select",13,14)(27,"option",15),S(28,"Default"),y(),_(29,"option",16),S(30,"Music"),y(),_(31,"option",17),S(32,"Sports"),y(),_(33,"option",18),S(34,"Arts & Theatre"),y(),_(35,"option",19),S(36,"Film"),y(),_(37,"option",20),S(38,"Miscellaneous"),y()()()()(),_(39,"div",3)(40,"label",4),S(41,"Location"),_(42,"i"),S(43,"*"),y()(),oe(44,"input",21),y(),_(45,"div",3)(46,"input",22),q("change",function(){return t.isAutoOnChange()}),y(),_(47,"label",23),S(48,"Auto-detect your location"),y()(),_(49,"div",24)(50,"button",25),S(51,"SUBMIT"),y(),_(52,"button",26),q("click",function(){return t.clear()}),S(53,"CLEAR"),y()()()()),2&e){const i=Vn(11);C(3),M("formGroup",t.searchForm),C(6),M("matAutocomplete",i),C(3),M("ngIf",t.isAutoFillLoading),C(1),M("ngIf",!t.isAutoFillLoading)}},dependencies:[Wn,ln,gl,_l,Fr,Br,Rr,Qi,dl,ul,Ji,Hr,Xi,zr,Ls,Pl,Vs,Ql,zs],styles:[".search-form[_ngcontent-%COMP%]{background-color:#fff3;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);max-width:600px;border-radius:1em}.title[_ngcontent-%COMP%]{border-bottom:1px solid white;font-family:Georgia,Times New Roman,Times,serif;color:#fff}.form-label[_ngcontent-%COMP%]{color:#add8e6}.form-label[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:red;font-style:normal}.select-items[_ngcontent-%COMP%]{background-color:#33393e;color:#fff}"]});class Eh{constructor(){this.messageEventID=new U}showEventDetail(e,t){this.messageEventID.emit({id:e,venue:t})}}Eh.\u0275fac=function(e){return new(e||Eh)},Eh.\u0275cmp=xe({type:Eh,selectors:[["app-events-table"]],inputs:{events:"events"},outputs:{messageEventID:"messageEventID"},decls:16,vars:1,consts:[[1,"events-table","mx-auto"],[1,"table-responsive","mx-auto","rounded-3"],["data-toggle","table","data-sort-name","Date/Time","data-sort-order","asc",1,"table","table-dark","table-striped","text-center",2,"margin","0"],[4,"ngFor","ngForOf"],[1,"clickable",3,"click"],[3,"src"]],template:function(e,t){1&e&&(_(0,"div",0)(1,"div",1)(2,"table",2)(3,"thead")(4,"tr")(5,"th"),S(6,"Date/Time"),y(),_(7,"th"),S(8,"Icon"),y(),_(9,"th"),S(10,"Event"),y(),_(11,"th"),S(12,"Genre"),y(),_(13,"th"),S(14,"Venue"),y()()(),k(15,L6,14,6,"tbody",3),y()()()),2&e&&(C(15),M("ngForOf",t.events))},dependencies:[Wn],styles:[".table-responsive[_ngcontent-%COMP%]{max-width:1200px}.events-table[_ngcontent-%COMP%]{margin:100px 0}td[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:80px;height:60px}.clickable[_ngcontent-%COMP%]{cursor:pointer}"]});const TO=["*"];class ei{_clearListeners(){for(const e of this._listeners)e.remove();this._listeners=[]}constructor(e){this._ngZone=e,this._pending=[],this._listeners=[],this._targetStream=new De(void 0)}getLazyEmitter(e){return this._targetStream.pipe(xt(t=>{const i=new le(r=>{if(!t)return void this._pending.push({observable:i,observer:r});const o=t.addListener(e,s=>{this._ngZone.run(()=>r.next(s))});if(o)return this._listeners.push(o),()=>o.remove();r.complete()});return i}))}setTarget(e){const t=this._targetStream.value;e!==t&&(t&&(this._clearListeners(),this._pending=[]),this._targetStream.next(e),this._pending.forEach(i=>i.observable.subscribe(i.observer)),this._pending=[])}destroy(){this._clearListeners(),this._pending=[],this._targetStream.complete()}}const Ih={center:{lat:37.421995,lng:-122.084092},zoom:17,mapTypeId:"roadmap"};class mt{set center(e){this._center=e}set zoom(e){this._zoom=e}set options(e){this._options=e||Ih}constructor(e,t,i){if(this._elementRef=e,this._ngZone=t,this._eventManager=new ei(this._ngZone),this.height="500px",this.width="500px",this._options=Ih,this.mapInitialized=new U,this.authFailure=new U,this.boundsChanged=this._eventManager.getLazyEmitter("bounds_changed"),this.centerChanged=this._eventManager.getLazyEmitter("center_changed"),this.mapClick=this._eventManager.getLazyEmitter("click"),this.mapDblclick=this._eventManager.getLazyEmitter("dblclick"),this.mapDrag=this._eventManager.getLazyEmitter("drag"),this.mapDragend=this._eventManager.getLazyEmitter("dragend"),this.mapDragstart=this._eventManager.getLazyEmitter("dragstart"),this.headingChanged=this._eventManager.getLazyEmitter("heading_changed"),this.idle=this._eventManager.getLazyEmitter("idle"),this.maptypeidChanged=this._eventManager.getLazyEmitter("maptypeid_changed"),this.mapMousemove=this._eventManager.getLazyEmitter("mousemove"),this.mapMouseout=this._eventManager.getLazyEmitter("mouseout"),this.mapMouseover=this._eventManager.getLazyEmitter("mouseover"),this.projectionChanged=this._eventManager.getLazyEmitter("projection_changed"),this.mapRightclick=this._eventManager.getLazyEmitter("rightclick"),this.tilesloaded=this._eventManager.getLazyEmitter("tilesloaded"),this.tiltChanged=this._eventManager.getLazyEmitter("tilt_changed"),this.zoomChanged=this._eventManager.getLazyEmitter("zoom_changed"),this._isBrowser=SE(i),this._isBrowser){const r=window;r.google,this._existingAuthFailureCallback=r.gm_authFailure,r.gm_authFailure=()=>{this._existingAuthFailureCallback&&this._existingAuthFailureCallback(),this.authFailure.emit()}}}ngOnChanges(e){(e.height||e.width)&&this._setSize();const t=this.googleMap;t&&(e.options&&t.setOptions(this._combineOptions()),e.center&&this._center&&t.setCenter(this._center),e.zoom&&null!=this._zoom&&t.setZoom(this._zoom),e.mapTypeId&&this.mapTypeId&&t.setMapTypeId(this.mapTypeId))}ngOnInit(){this._isBrowser&&(this._mapEl=this._elementRef.nativeElement.querySelector(".map-container"),this._setSize(),this._ngZone.runOutsideAngular(()=>{this.googleMap=new google.maps.Map(this._mapEl,this._combineOptions())}),this._eventManager.setTarget(this.googleMap),this.mapInitialized.emit(this.googleMap))}ngOnDestroy(){if(this._eventManager.destroy(),this._isBrowser){window.gm_authFailure=this._existingAuthFailureCallback}}fitBounds(e,t){this._assertInitialized(),this.googleMap.fitBounds(e,t)}panBy(e,t){this._assertInitialized(),this.googleMap.panBy(e,t)}panTo(e){this._assertInitialized(),this.googleMap.panTo(e)}panToBounds(e,t){this._assertInitialized(),this.googleMap.panToBounds(e,t)}getBounds(){return this._assertInitialized(),this.googleMap.getBounds()||null}getCenter(){return this._assertInitialized(),this.googleMap.getCenter()}getClickableIcons(){return this._assertInitialized(),this.googleMap.getClickableIcons()}getHeading(){return this._assertInitialized(),this.googleMap.getHeading()}getMapTypeId(){return this._assertInitialized(),this.googleMap.getMapTypeId()}getProjection(){return this._assertInitialized(),this.googleMap.getProjection()||null}getStreetView(){return this._assertInitialized(),this.googleMap.getStreetView()}getTilt(){return this._assertInitialized(),this.googleMap.getTilt()}getZoom(){return this._assertInitialized(),this.googleMap.getZoom()}get controls(){return this._assertInitialized(),this.googleMap.controls}get data(){return this._assertInitialized(),this.googleMap.data}get mapTypes(){return this._assertInitialized(),this.googleMap.mapTypes}get overlayMapTypes(){return this._assertInitialized(),this.googleMap.overlayMapTypes}_setSize(){if(this._mapEl){const e=this._mapEl.style;e.height=null===this.height?"":kO(this.height)||"500px",e.width=null===this.width?"":kO(this.width)||"500px"}}_combineOptions(){const e=this._options||{};return{...e,center:this._center||e.center||Ih.center,zoom:this._zoom??e.zoom??Ih.zoom,mapTypeId:this.mapTypeId||e.mapTypeId||Ih.mapTypeId}}_assertInitialized(){this.googleMap}}mt.\u0275fac=function(e){return new(e||mt)(f(j),f(R),f(Ua))},mt.\u0275cmp=xe({type:mt,selectors:[["google-map"]],inputs:{height:"height",width:"width",mapTypeId:"mapTypeId",center:"center",zoom:"zoom",options:"options"},outputs:{mapInitialized:"mapInitialized",authFailure:"authFailure",boundsChanged:"boundsChanged",centerChanged:"centerChanged",mapClick:"mapClick",mapDblclick:"mapDblclick",mapDrag:"mapDrag",mapDragend:"mapDragend",mapDragstart:"mapDragstart",headingChanged:"headingChanged",idle:"idle",maptypeidChanged:"maptypeidChanged",mapMousemove:"mapMousemove",mapMouseout:"mapMouseout",mapMouseover:"mapMouseover",projectionChanged:"projectionChanged",mapRightclick:"mapRightclick",tilesloaded:"tilesloaded",tiltChanged:"tiltChanged",zoomChanged:"zoomChanged"},exportAs:["googleMap"],features:[Ve],ngContentSelectors:TO,decls:2,vars:0,consts:[[1,"map-container"]],template:function(e,t){1&e&&(Wt(),oe(0,"div",0),Ge(1))},encapsulation:2,changeDetection:0});const V6=/([A-Za-z%]+)$/;function kO(n){return null==n?"":V6.test(n)?n:`${n}px`}class Zs{constructor(e,t){this._map=e,this._ngZone=t}ngOnInit(){this._map._isBrowser&&(this._ngZone.runOutsideAngular(()=>{this._initializeObject()}),this._assertInitialized(),this._setMap())}ngOnDestroy(){this._unsetMap()}_assertInitialized(){if(!this._map.googleMap)throw Error("Cannot access Google Map information before the API has been initialized. Please wait for the API to load before trying to interact with it.")}_initializeObject(){}_setMap(){}_unsetMap(){}}Zs.\u0275fac=function(e){return new(e||Zs)(f(mt),f(R))},Zs.\u0275dir=E({type:Zs,selectors:[["map-base-layer"]],exportAs:["mapBaseLayer"]});class Tc extends Zs{_initializeObject(){this.bicyclingLayer=new google.maps.BicyclingLayer}_setMap(){this._assertLayerInitialized(),this.bicyclingLayer.setMap(this._map.googleMap)}_unsetMap(){this.bicyclingLayer&&this.bicyclingLayer.setMap(null)}_assertLayerInitialized(){if(!this.bicyclingLayer)throw Error("Cannot interact with a Google Map Bicycling Layer before it has been initialized. Please wait for the Transit Layer to load before trying to interact with it.")}}Tc.\u0275fac=function(){let n;return function(t){return(n||(n=Oe(Tc)))(t||Tc)}}(),Tc.\u0275dir=E({type:Tc,selectors:[["map-bicycling-layer"]],exportAs:["mapBicyclingLayer"],features:[L]});class Sh{set options(e){this._options.next(e||{})}set center(e){this._center.next(e)}set radius(e){this._radius.next(e)}constructor(e,t){this._map=e,this._ngZone=t,this._eventManager=new ei(this._ngZone),this._options=new De({}),this._center=new De(void 0),this._radius=new De(void 0),this._destroyed=new B,this.centerChanged=this._eventManager.getLazyEmitter("center_changed"),this.circleClick=this._eventManager.getLazyEmitter("click"),this.circleDblclick=this._eventManager.getLazyEmitter("dblclick"),this.circleDrag=this._eventManager.getLazyEmitter("drag"),this.circleDragend=this._eventManager.getLazyEmitter("dragend"),this.circleDragstart=this._eventManager.getLazyEmitter("dragstart"),this.circleMousedown=this._eventManager.getLazyEmitter("mousedown"),this.circleMousemove=this._eventManager.getLazyEmitter("mousemove"),this.circleMouseout=this._eventManager.getLazyEmitter("mouseout"),this.circleMouseover=this._eventManager.getLazyEmitter("mouseover"),this.circleMouseup=this._eventManager.getLazyEmitter("mouseup"),this.radiusChanged=this._eventManager.getLazyEmitter("radius_changed"),this.circleRightclick=this._eventManager.getLazyEmitter("rightclick")}ngOnInit(){this._map._isBrowser&&(this._combineOptions().pipe(We(1)).subscribe(e=>{this._ngZone.runOutsideAngular(()=>{this.circle=new google.maps.Circle(e)}),this._assertInitialized(),this.circle.setMap(this._map.googleMap),this._eventManager.setTarget(this.circle)}),this._watchForOptionsChanges(),this._watchForCenterChanges(),this._watchForRadiusChanges())}ngOnDestroy(){this._eventManager.destroy(),this._destroyed.next(),this._destroyed.complete(),this.circle&&this.circle.setMap(null)}getBounds(){return this._assertInitialized(),this.circle.getBounds()}getCenter(){return this._assertInitialized(),this.circle.getCenter()}getDraggable(){return this._assertInitialized(),this.circle.getDraggable()}getEditable(){return this._assertInitialized(),this.circle.getEditable()}getRadius(){return this._assertInitialized(),this.circle.getRadius()}getVisible(){return this._assertInitialized(),this.circle.getVisible()}_combineOptions(){return rr([this._options,this._center,this._radius]).pipe(G(([e,t,i])=>({...e,center:t||e.center,radius:void 0!==i?i:e.radius})))}_watchForOptionsChanges(){this._options.pipe(he(this._destroyed)).subscribe(e=>{this._assertInitialized(),this.circle.setOptions(e)})}_watchForCenterChanges(){this._center.pipe(he(this._destroyed)).subscribe(e=>{e&&(this._assertInitialized(),this.circle.setCenter(e))})}_watchForRadiusChanges(){this._radius.pipe(he(this._destroyed)).subscribe(e=>{void 0!==e&&(this._assertInitialized(),this.circle.setRadius(e))})}_assertInitialized(){}}Sh.\u0275fac=function(e){return new(e||Sh)(f(mt),f(R))},Sh.\u0275dir=E({type:Sh,selectors:[["map-circle"]],inputs:{options:"options",center:"center",radius:"radius"},outputs:{centerChanged:"centerChanged",circleClick:"circleClick",circleDblclick:"circleDblclick",circleDrag:"circleDrag",circleDragend:"circleDragend",circleDragstart:"circleDragstart",circleMousedown:"circleMousedown",circleMousemove:"circleMousemove",circleMouseout:"circleMouseout",circleMouseover:"circleMouseover",circleMouseup:"circleMouseup",radiusChanged:"radiusChanged",circleRightclick:"circleRightclick"},exportAs:["mapCircle"]});class Th{set directions(e){this._directions=e}set options(e){this._options=e}constructor(e,t){this._googleMap=e,this._ngZone=t,this._eventManager=new ei(this._ngZone),this.directionsChanged=this._eventManager.getLazyEmitter("directions_changed")}ngOnInit(){this._googleMap._isBrowser&&(this._ngZone.runOutsideAngular(()=>{this.directionsRenderer=new google.maps.DirectionsRenderer(this._combineOptions())}),this._assertInitialized(),this.directionsRenderer.setMap(this._googleMap.googleMap),this._eventManager.setTarget(this.directionsRenderer))}ngOnChanges(e){this.directionsRenderer&&(e.options&&this.directionsRenderer.setOptions(this._combineOptions()),e.directions&&void 0!==this._directions&&this.directionsRenderer.setDirections(this._directions))}ngOnDestroy(){this._eventManager.destroy(),this.directionsRenderer&&this.directionsRenderer.setMap(null)}getDirections(){return this._assertInitialized(),this.directionsRenderer.getDirections()}getPanel(){return this._assertInitialized(),this.directionsRenderer.getPanel()}getRouteIndex(){return this._assertInitialized(),this.directionsRenderer.getRouteIndex()}_combineOptions(){const e=this._options||{};return{...e,directions:this._directions||e.directions,map:this._googleMap.googleMap}}_assertInitialized(){}}Th.\u0275fac=function(e){return new(e||Th)(f(mt),f(R))},Th.\u0275dir=E({type:Th,selectors:[["map-directions-renderer"]],inputs:{directions:"directions",options:"options"},outputs:{directionsChanged:"directionsChanged"},exportAs:["mapDirectionsRenderer"],features:[Ve]});class Ah{set url(e){this._url.next(e)}get bounds(){return this._bounds.value}set bounds(e){this._bounds.next(e)}set opacity(e){this._opacity.next(e)}constructor(e,t){this._map=e,this._ngZone=t,this._eventManager=new ei(this._ngZone),this._opacity=new De(1),this._url=new De(""),this._bounds=new De(void 0),this._destroyed=new B,this.clickable=!1,this.mapClick=this._eventManager.getLazyEmitter("click"),this.mapDblclick=this._eventManager.getLazyEmitter("dblclick")}ngOnInit(){this._map._isBrowser&&(this._bounds.pipe(he(this._destroyed)).subscribe(e=>{this.groundOverlay&&(this.groundOverlay.setMap(null),this.groundOverlay=void 0),e&&(this._ngZone.runOutsideAngular(()=>{this.groundOverlay=new google.maps.GroundOverlay(this._url.getValue(),e,{clickable:this.clickable,opacity:this._opacity.value})}),this._assertInitialized(),this.groundOverlay.setMap(this._map.googleMap),this._eventManager.setTarget(this.groundOverlay))}),this._watchForOpacityChanges(),this._watchForUrlChanges())}ngOnDestroy(){this._eventManager.destroy(),this._destroyed.next(),this._destroyed.complete(),this.groundOverlay&&this.groundOverlay.setMap(null)}getBounds(){return this._assertInitialized(),this.groundOverlay.getBounds()}getOpacity(){return this._assertInitialized(),this.groundOverlay.getOpacity()}getUrl(){return this._assertInitialized(),this.groundOverlay.getUrl()}_watchForOpacityChanges(){this._opacity.pipe(he(this._destroyed)).subscribe(e=>{null!=e&&(this._assertInitialized(),this.groundOverlay.setOpacity(e))})}_watchForUrlChanges(){this._url.pipe(he(this._destroyed)).subscribe(e=>{this._assertInitialized();const t=this.groundOverlay;t.set("url",e),t.setMap(null),t.setMap(this._map.googleMap)})}_assertInitialized(){}}Ah.\u0275fac=function(e){return new(e||Ah)(f(mt),f(R))},Ah.\u0275dir=E({type:Ah,selectors:[["map-ground-overlay"]],inputs:{url:"url",bounds:"bounds",clickable:"clickable",opacity:"opacity"},outputs:{mapClick:"mapClick",mapDblclick:"mapDblclick"},exportAs:["mapGroundOverlay"]});class Oh{set options(e){this._options.next(e||{})}set position(e){this._position.next(e)}constructor(e,t,i){this._googleMap=e,this._elementRef=t,this._ngZone=i,this._eventManager=new ei(this._ngZone),this._options=new De({}),this._position=new De(void 0),this._destroy=new B,this.closeclick=this._eventManager.getLazyEmitter("closeclick"),this.contentChanged=this._eventManager.getLazyEmitter("content_changed"),this.domready=this._eventManager.getLazyEmitter("domready"),this.positionChanged=this._eventManager.getLazyEmitter("position_changed"),this.zindexChanged=this._eventManager.getLazyEmitter("zindex_changed")}ngOnInit(){this._googleMap._isBrowser&&(this._combineOptions().pipe(We(1)).subscribe(t=>{this._ngZone.runOutsideAngular(()=>{this.infoWindow=new google.maps.InfoWindow(t)}),this._eventManager.setTarget(this.infoWindow)}),this._watchForOptionsChanges(),this._watchForPositionChanges())}ngOnDestroy(){this._eventManager.destroy(),this._destroy.next(),this._destroy.complete(),this.infoWindow&&this.close()}close(){this._assertInitialized(),this.infoWindow.close()}getContent(){return this._assertInitialized(),this.infoWindow.getContent()||null}getPosition(){return this._assertInitialized(),this.infoWindow.getPosition()||null}getZIndex(){return this._assertInitialized(),this.infoWindow.getZIndex()}open(e,t){this._assertInitialized();const i=e?e.getAnchor():void 0;(this.infoWindow.get("anchor")!==i||!i)&&(this._elementRef.nativeElement.style.display="",this.infoWindow.open({map:this._googleMap.googleMap,anchor:i,shouldFocus:t}))}_combineOptions(){return rr([this._options,this._position]).pipe(G(([e,t])=>({...e,position:t||e.position,content:this._elementRef.nativeElement})))}_watchForOptionsChanges(){this._options.pipe(he(this._destroy)).subscribe(e=>{this._assertInitialized(),this.infoWindow.setOptions(e)})}_watchForPositionChanges(){this._position.pipe(he(this._destroy)).subscribe(e=>{e&&(this._assertInitialized(),this.infoWindow.setPosition(e))})}_assertInitialized(){}}Oh.\u0275fac=function(e){return new(e||Oh)(f(mt),f(j),f(R))},Oh.\u0275dir=E({type:Oh,selectors:[["map-info-window"]],hostAttrs:[2,"display","none"],inputs:{options:"options",position:"position"},outputs:{closeclick:"closeclick",contentChanged:"contentChanged",domready:"domready",positionChanged:"positionChanged",zindexChanged:"zindexChanged"},exportAs:["mapInfoWindow"]});class kh{set options(e){this._options.next(e||{})}set url(e){this._url.next(e)}constructor(e,t){this._map=e,this._ngZone=t,this._eventManager=new ei(this._ngZone),this._options=new De({}),this._url=new De(""),this._destroyed=new B,this.kmlClick=this._eventManager.getLazyEmitter("click"),this.defaultviewportChanged=this._eventManager.getLazyEmitter("defaultviewport_changed"),this.statusChanged=this._eventManager.getLazyEmitter("status_changed")}ngOnInit(){this._map._isBrowser&&(this._combineOptions().pipe(We(1)).subscribe(e=>{this._ngZone.runOutsideAngular(()=>this.kmlLayer=new google.maps.KmlLayer(e)),this._assertInitialized(),this.kmlLayer.setMap(this._map.googleMap),this._eventManager.setTarget(this.kmlLayer)}),this._watchForOptionsChanges(),this._watchForUrlChanges())}ngOnDestroy(){this._eventManager.destroy(),this._destroyed.next(),this._destroyed.complete(),this.kmlLayer&&this.kmlLayer.setMap(null)}getDefaultViewport(){return this._assertInitialized(),this.kmlLayer.getDefaultViewport()}getMetadata(){return this._assertInitialized(),this.kmlLayer.getMetadata()}getStatus(){return this._assertInitialized(),this.kmlLayer.getStatus()}getUrl(){return this._assertInitialized(),this.kmlLayer.getUrl()}getZIndex(){return this._assertInitialized(),this.kmlLayer.getZIndex()}_combineOptions(){return rr([this._options,this._url]).pipe(G(([e,t])=>({...e,url:t||e.url})))}_watchForOptionsChanges(){this._options.pipe(he(this._destroyed)).subscribe(e=>{this.kmlLayer&&(this._assertInitialized(),this.kmlLayer.setOptions(e))})}_watchForUrlChanges(){this._url.pipe(he(this._destroyed)).subscribe(e=>{e&&this.kmlLayer&&(this._assertInitialized(),this.kmlLayer.setUrl(e))})}_assertInitialized(){}}kh.\u0275fac=function(e){return new(e||kh)(f(mt),f(R))},kh.\u0275dir=E({type:kh,selectors:[["map-kml-layer"]],inputs:{options:"options",url:"url"},outputs:{kmlClick:"kmlClick",defaultviewportChanged:"defaultviewportChanged",statusChanged:"statusChanged"},exportAs:["mapKmlLayer"]});const B6={position:{lat:37.421995,lng:-122.084092}};class Ks{set title(e){this._title=e}set position(e){this._position=e}set label(e){this._label=e}set clickable(e){this._clickable=e}set options(e){this._options=e}set icon(e){this._icon=e}set visible(e){this._visible=e}constructor(e,t){this._googleMap=e,this._ngZone=t,this._eventManager=new ei(this._ngZone),this.animationChanged=this._eventManager.getLazyEmitter("animation_changed"),this.mapClick=this._eventManager.getLazyEmitter("click"),this.clickableChanged=this._eventManager.getLazyEmitter("clickable_changed"),this.cursorChanged=this._eventManager.getLazyEmitter("cursor_changed"),this.mapDblclick=this._eventManager.getLazyEmitter("dblclick"),this.mapDrag=this._eventManager.getLazyEmitter("drag"),this.mapDragend=this._eventManager.getLazyEmitter("dragend"),this.draggableChanged=this._eventManager.getLazyEmitter("draggable_changed"),this.mapDragstart=this._eventManager.getLazyEmitter("dragstart"),this.flatChanged=this._eventManager.getLazyEmitter("flat_changed"),this.iconChanged=this._eventManager.getLazyEmitter("icon_changed"),this.mapMousedown=this._eventManager.getLazyEmitter("mousedown"),this.mapMouseout=this._eventManager.getLazyEmitter("mouseout"),this.mapMouseover=this._eventManager.getLazyEmitter("mouseover"),this.mapMouseup=this._eventManager.getLazyEmitter("mouseup"),this.positionChanged=this._eventManager.getLazyEmitter("position_changed"),this.mapRightclick=this._eventManager.getLazyEmitter("rightclick"),this.shapeChanged=this._eventManager.getLazyEmitter("shape_changed"),this.titleChanged=this._eventManager.getLazyEmitter("title_changed"),this.visibleChanged=this._eventManager.getLazyEmitter("visible_changed"),this.zindexChanged=this._eventManager.getLazyEmitter("zindex_changed")}ngOnInit(){this._googleMap._isBrowser&&(this._ngZone.runOutsideAngular(()=>{this.marker=new google.maps.Marker(this._combineOptions())}),this._assertInitialized(),this.marker.setMap(this._googleMap.googleMap),this._eventManager.setTarget(this.marker))}ngOnChanges(e){const{marker:t,_title:i,_position:r,_label:o,_clickable:s,_icon:a,_visible:l}=this;t&&(e.options&&t.setOptions(this._combineOptions()),e.title&&void 0!==i&&t.setTitle(i),e.position&&r&&t.setPosition(r),e.label&&void 0!==o&&t.setLabel(o),e.clickable&&void 0!==s&&t.setClickable(s),e.icon&&a&&t.setIcon(a),e.visible&&void 0!==l&&t.setVisible(l))}ngOnDestroy(){this._eventManager.destroy(),this.marker&&this.marker.setMap(null)}getAnimation(){return this._assertInitialized(),this.marker.getAnimation()||null}getClickable(){return this._assertInitialized(),this.marker.getClickable()}getCursor(){return this._assertInitialized(),this.marker.getCursor()||null}getDraggable(){return this._assertInitialized(),!!this.marker.getDraggable()}getIcon(){return this._assertInitialized(),this.marker.getIcon()||null}getLabel(){return this._assertInitialized(),this.marker.getLabel()||null}getOpacity(){return this._assertInitialized(),this.marker.getOpacity()||null}getPosition(){return this._assertInitialized(),this.marker.getPosition()||null}getShape(){return this._assertInitialized(),this.marker.getShape()||null}getTitle(){return this._assertInitialized(),this.marker.getTitle()||null}getVisible(){return this._assertInitialized(),this.marker.getVisible()}getZIndex(){return this._assertInitialized(),this.marker.getZIndex()||null}getAnchor(){return this._assertInitialized(),this.marker}_combineOptions(){const e=this._options||B6;return{...e,title:this._title||e.title,position:this._position||e.position,label:this._label||e.label,clickable:this._clickable??e.clickable,map:this._googleMap.googleMap,icon:this._icon||e.icon,visible:this._visible??e.visible}}_assertInitialized(){}}Ks.\u0275fac=function(e){return new(e||Ks)(f(mt),f(R))},Ks.\u0275dir=E({type:Ks,selectors:[["map-marker"]],inputs:{title:"title",position:"position",label:"label",clickable:"clickable",options:"options",icon:"icon",visible:"visible"},outputs:{animationChanged:"animationChanged",mapClick:"mapClick",clickableChanged:"clickableChanged",cursorChanged:"cursorChanged",mapDblclick:"mapDblclick",mapDrag:"mapDrag",mapDragend:"mapDragend",draggableChanged:"draggableChanged",mapDragstart:"mapDragstart",flatChanged:"flatChanged",iconChanged:"iconChanged",mapMousedown:"mapMousedown",mapMouseout:"mapMouseout",mapMouseover:"mapMouseover",mapMouseup:"mapMouseup",positionChanged:"positionChanged",mapRightclick:"mapRightclick",shapeChanged:"shapeChanged",titleChanged:"titleChanged",visibleChanged:"visibleChanged",zindexChanged:"zindexChanged"},exportAs:["mapMarker"],features:[Ve]});const z6={};class Rh{set averageCenter(e){this._averageCenter=e}set batchSizeIE(e){this._batchSizeIE=e}set calculator(e){this._calculator=e}set clusterClass(e){this._clusterClass=e}set enableRetinaIcons(e){this._enableRetinaIcons=e}set gridSize(e){this._gridSize=e}set ignoreHidden(e){this._ignoreHidden=e}set imageExtension(e){this._imageExtension=e}set imagePath(e){this._imagePath=e}set imageSizes(e){this._imageSizes=e}set maxZoom(e){this._maxZoom=e}set minimumClusterSize(e){this._minimumClusterSize=e}set styles(e){this._styles=e}set title(e){this._title=e}set zIndex(e){this._zIndex=e}set zoomOnClick(e){this._zoomOnClick=e}set options(e){this._options=e}constructor(e,t){this._googleMap=e,this._ngZone=t,this._currentMarkers=new Set,this._eventManager=new ei(this._ngZone),this._destroy=new B,this.ariaLabelFn=()=>"",this.clusteringbegin=this._eventManager.getLazyEmitter("clusteringbegin"),this.clusteringend=this._eventManager.getLazyEmitter("clusteringend"),this.clusterClick=this._eventManager.getLazyEmitter("click"),this._canInitialize=this._googleMap._isBrowser}ngOnInit(){this._canInitialize&&(this._ngZone.runOutsideAngular(()=>{this.markerClusterer=new MarkerClusterer(this._googleMap.googleMap,[],this._combineOptions())}),this._assertInitialized(),this._eventManager.setTarget(this.markerClusterer))}ngAfterContentInit(){this._canInitialize&&this._watchForMarkerChanges()}ngOnChanges(e){const{markerClusterer:t,ariaLabelFn:i,_averageCenter:r,_batchSizeIE:o,_calculator:s,_styles:a,_clusterClass:l,_enableRetinaIcons:c,_gridSize:d,_ignoreHidden:u,_imageExtension:h,_imagePath:p,_imageSizes:m,_maxZoom:g,_minimumClusterSize:v,_title:D,_zIndex:O,_zoomOnClick:x}=this;t&&(e.options&&t.setOptions(this._combineOptions()),e.ariaLabelFn&&(t.ariaLabelFn=i),e.averageCenter&&void 0!==r&&t.setAverageCenter(r),e.batchSizeIE&&void 0!==o&&t.setBatchSizeIE(o),e.calculator&&s&&t.setCalculator(s),e.clusterClass&&void 0!==l&&t.setClusterClass(l),e.enableRetinaIcons&&void 0!==c&&t.setEnableRetinaIcons(c),e.gridSize&&void 0!==d&&t.setGridSize(d),e.ignoreHidden&&void 0!==u&&t.setIgnoreHidden(u),e.imageExtension&&void 0!==h&&t.setImageExtension(h),e.imagePath&&void 0!==p&&t.setImagePath(p),e.imageSizes&&m&&t.setImageSizes(m),e.maxZoom&&void 0!==g&&t.setMaxZoom(g),e.minimumClusterSize&&void 0!==v&&t.setMinimumClusterSize(v),e.styles&&a&&t.setStyles(a),e.title&&void 0!==D&&t.setTitle(D),e.zIndex&&void 0!==O&&t.setZIndex(O),e.zoomOnClick&&void 0!==x&&t.setZoomOnClick(x))}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this._eventManager.destroy(),this.markerClusterer&&this.markerClusterer.setMap(null)}fitMapToMarkers(e){this._assertInitialized(),this.markerClusterer.fitMapToMarkers(e)}getAverageCenter(){return this._assertInitialized(),this.markerClusterer.getAverageCenter()}getBatchSizeIE(){return this._assertInitialized(),this.markerClusterer.getBatchSizeIE()}getCalculator(){return this._assertInitialized(),this.markerClusterer.getCalculator()}getClusterClass(){return this._assertInitialized(),this.markerClusterer.getClusterClass()}getClusters(){return this._assertInitialized(),this.markerClusterer.getClusters()}getEnableRetinaIcons(){return this._assertInitialized(),this.markerClusterer.getEnableRetinaIcons()}getGridSize(){return this._assertInitialized(),this.markerClusterer.getGridSize()}getIgnoreHidden(){return this._assertInitialized(),this.markerClusterer.getIgnoreHidden()}getImageExtension(){return this._assertInitialized(),this.markerClusterer.getImageExtension()}getImagePath(){return this._assertInitialized(),this.markerClusterer.getImagePath()}getImageSizes(){return this._assertInitialized(),this.markerClusterer.getImageSizes()}getMaxZoom(){return this._assertInitialized(),this.markerClusterer.getMaxZoom()}getMinimumClusterSize(){return this._assertInitialized(),this.markerClusterer.getMinimumClusterSize()}getStyles(){return this._assertInitialized(),this.markerClusterer.getStyles()}getTitle(){return this._assertInitialized(),this.markerClusterer.getTitle()}getTotalClusters(){return this._assertInitialized(),this.markerClusterer.getTotalClusters()}getTotalMarkers(){return this._assertInitialized(),this.markerClusterer.getTotalMarkers()}getZIndex(){return this._assertInitialized(),this.markerClusterer.getZIndex()}getZoomOnClick(){return this._assertInitialized(),this.markerClusterer.getZoomOnClick()}_combineOptions(){const e=this._options||z6;return{...e,ariaLabelFn:this.ariaLabelFn??e.ariaLabelFn,averageCenter:this._averageCenter??e.averageCenter,batchSize:this.batchSize??e.batchSize,batchSizeIE:this._batchSizeIE??e.batchSizeIE,calculator:this._calculator??e.calculator,clusterClass:this._clusterClass??e.clusterClass,enableRetinaIcons:this._enableRetinaIcons??e.enableRetinaIcons,gridSize:this._gridSize??e.gridSize,ignoreHidden:this._ignoreHidden??e.ignoreHidden,imageExtension:this._imageExtension??e.imageExtension,imagePath:this._imagePath??e.imagePath,imageSizes:this._imageSizes??e.imageSizes,maxZoom:this._maxZoom??e.maxZoom,minimumClusterSize:this._minimumClusterSize??e.minimumClusterSize,styles:this._styles??e.styles,title:this._title??e.title,zIndex:this._zIndex??e.zIndex,zoomOnClick:this._zoomOnClick??e.zoomOnClick}}_watchForMarkerChanges(){this._assertInitialized();const e=[];for(const t of this._getInternalMarkers(this._markers.toArray()))this._currentMarkers.add(t),e.push(t);this.markerClusterer.addMarkers(e),this._markers.changes.pipe(he(this._destroy)).subscribe(t=>{this._assertInitialized();const i=new Set(this._getInternalMarkers(t)),r=[],o=[];for(const s of Array.from(i))this._currentMarkers.has(s)||(this._currentMarkers.add(s),r.push(s));for(const s of Array.from(this._currentMarkers))i.has(s)||o.push(s);this.markerClusterer.addMarkers(r,!0),this.markerClusterer.removeMarkers(o,!0),this.markerClusterer.repaint();for(const s of o)this._currentMarkers.delete(s)})}_getInternalMarkers(e){return e.filter(t=>!!t.marker).map(t=>t.marker)}_assertInitialized(){}}Rh.\u0275fac=function(e){return new(e||Rh)(f(mt),f(R))},Rh.\u0275cmp=xe({type:Rh,selectors:[["map-marker-clusterer"]],contentQueries:function(e,t,i){if(1&e&&Ct(i,Ks,5),2&e){let r;ne(r=ie())&&(t._markers=r)}},inputs:{ariaLabelFn:"ariaLabelFn",averageCenter:"averageCenter",batchSize:"batchSize",batchSizeIE:"batchSizeIE",calculator:"calculator",clusterClass:"clusterClass",enableRetinaIcons:"enableRetinaIcons",gridSize:"gridSize",ignoreHidden:"ignoreHidden",imageExtension:"imageExtension",imagePath:"imagePath",imageSizes:"imageSizes",maxZoom:"maxZoom",minimumClusterSize:"minimumClusterSize",styles:"styles",title:"title",zIndex:"zIndex",zoomOnClick:"zoomOnClick",options:"options"},outputs:{clusteringbegin:"clusteringbegin",clusteringend:"clusteringend",clusterClick:"clusterClick"},exportAs:["mapMarkerClusterer"],features:[Ve],ngContentSelectors:TO,decls:1,vars:0,template:function(e,t){1&e&&(Wt(),Ge(0))},encapsulation:2,changeDetection:0});class Fh{set options(e){this._options.next(e||{})}set paths(e){this._paths.next(e)}constructor(e,t){this._map=e,this._ngZone=t,this._eventManager=new ei(this._ngZone),this._options=new De({}),this._paths=new De(void 0),this._destroyed=new B,this.polygonClick=this._eventManager.getLazyEmitter("click"),this.polygonDblclick=this._eventManager.getLazyEmitter("dblclick"),this.polygonDrag=this._eventManager.getLazyEmitter("drag"),this.polygonDragend=this._eventManager.getLazyEmitter("dragend"),this.polygonDragstart=this._eventManager.getLazyEmitter("dragstart"),this.polygonMousedown=this._eventManager.getLazyEmitter("mousedown"),this.polygonMousemove=this._eventManager.getLazyEmitter("mousemove"),this.polygonMouseout=this._eventManager.getLazyEmitter("mouseout"),this.polygonMouseover=this._eventManager.getLazyEmitter("mouseover"),this.polygonMouseup=this._eventManager.getLazyEmitter("mouseup"),this.polygonRightclick=this._eventManager.getLazyEmitter("rightclick")}ngOnInit(){this._map._isBrowser&&(this._combineOptions().pipe(We(1)).subscribe(e=>{this._ngZone.runOutsideAngular(()=>{this.polygon=new google.maps.Polygon(e)}),this._assertInitialized(),this.polygon.setMap(this._map.googleMap),this._eventManager.setTarget(this.polygon)}),this._watchForOptionsChanges(),this._watchForPathChanges())}ngOnDestroy(){this._eventManager.destroy(),this._destroyed.next(),this._destroyed.complete(),this.polygon&&this.polygon.setMap(null)}getDraggable(){return this._assertInitialized(),this.polygon.getDraggable()}getEditable(){return this._assertInitialized(),this.polygon.getEditable()}getPath(){return this._assertInitialized(),this.polygon.getPath()}getPaths(){return this._assertInitialized(),this.polygon.getPaths()}getVisible(){return this._assertInitialized(),this.polygon.getVisible()}_combineOptions(){return rr([this._options,this._paths]).pipe(G(([e,t])=>({...e,paths:t||e.paths})))}_watchForOptionsChanges(){this._options.pipe(he(this._destroyed)).subscribe(e=>{this._assertInitialized(),this.polygon.setOptions(e)})}_watchForPathChanges(){this._paths.pipe(he(this._destroyed)).subscribe(e=>{e&&(this._assertInitialized(),this.polygon.setPaths(e))})}_assertInitialized(){}}Fh.\u0275fac=function(e){return new(e||Fh)(f(mt),f(R))},Fh.\u0275dir=E({type:Fh,selectors:[["map-polygon"]],inputs:{options:"options",paths:"paths"},outputs:{polygonClick:"polygonClick",polygonDblclick:"polygonDblclick",polygonDrag:"polygonDrag",polygonDragend:"polygonDragend",polygonDragstart:"polygonDragstart",polygonMousedown:"polygonMousedown",polygonMousemove:"polygonMousemove",polygonMouseout:"polygonMouseout",polygonMouseover:"polygonMouseover",polygonMouseup:"polygonMouseup",polygonRightclick:"polygonRightclick"},exportAs:["mapPolygon"]});class Ph{set options(e){this._options.next(e||{})}set path(e){this._path.next(e)}constructor(e,t){this._map=e,this._ngZone=t,this._eventManager=new ei(this._ngZone),this._options=new De({}),this._path=new De(void 0),this._destroyed=new B,this.polylineClick=this._eventManager.getLazyEmitter("click"),this.polylineDblclick=this._eventManager.getLazyEmitter("dblclick"),this.polylineDrag=this._eventManager.getLazyEmitter("drag"),this.polylineDragend=this._eventManager.getLazyEmitter("dragend"),this.polylineDragstart=this._eventManager.getLazyEmitter("dragstart"),this.polylineMousedown=this._eventManager.getLazyEmitter("mousedown"),this.polylineMousemove=this._eventManager.getLazyEmitter("mousemove"),this.polylineMouseout=this._eventManager.getLazyEmitter("mouseout"),this.polylineMouseover=this._eventManager.getLazyEmitter("mouseover"),this.polylineMouseup=this._eventManager.getLazyEmitter("mouseup"),this.polylineRightclick=this._eventManager.getLazyEmitter("rightclick")}ngOnInit(){this._map._isBrowser&&(this._combineOptions().pipe(We(1)).subscribe(e=>{this._ngZone.runOutsideAngular(()=>this.polyline=new google.maps.Polyline(e)),this._assertInitialized(),this.polyline.setMap(this._map.googleMap),this._eventManager.setTarget(this.polyline)}),this._watchForOptionsChanges(),this._watchForPathChanges())}ngOnDestroy(){this._eventManager.destroy(),this._destroyed.next(),this._destroyed.complete(),this.polyline&&this.polyline.setMap(null)}getDraggable(){return this._assertInitialized(),this.polyline.getDraggable()}getEditable(){return this._assertInitialized(),this.polyline.getEditable()}getPath(){return this._assertInitialized(),this.polyline.getPath()}getVisible(){return this._assertInitialized(),this.polyline.getVisible()}_combineOptions(){return rr([this._options,this._path]).pipe(G(([e,t])=>({...e,path:t||e.path})))}_watchForOptionsChanges(){this._options.pipe(he(this._destroyed)).subscribe(e=>{this._assertInitialized(),this.polyline.setOptions(e)})}_watchForPathChanges(){this._path.pipe(he(this._destroyed)).subscribe(e=>{e&&(this._assertInitialized(),this.polyline.setPath(e))})}_assertInitialized(){}}Ph.\u0275fac=function(e){return new(e||Ph)(f(mt),f(R))},Ph.\u0275dir=E({type:Ph,selectors:[["map-polyline"]],inputs:{options:"options",path:"path"},outputs:{polylineClick:"polylineClick",polylineDblclick:"polylineDblclick",polylineDrag:"polylineDrag",polylineDragend:"polylineDragend",polylineDragstart:"polylineDragstart",polylineMousedown:"polylineMousedown",polylineMousemove:"polylineMousemove",polylineMouseout:"polylineMouseout",polylineMouseover:"polylineMouseover",polylineMouseup:"polylineMouseup",polylineRightclick:"polylineRightclick"},exportAs:["mapPolyline"]});class Nh{set options(e){this._options.next(e||{})}set bounds(e){this._bounds.next(e)}constructor(e,t){this._map=e,this._ngZone=t,this._eventManager=new ei(this._ngZone),this._options=new De({}),this._bounds=new De(void 0),this._destroyed=new B,this.boundsChanged=this._eventManager.getLazyEmitter("bounds_changed"),this.rectangleClick=this._eventManager.getLazyEmitter("click"),this.rectangleDblclick=this._eventManager.getLazyEmitter("dblclick"),this.rectangleDrag=this._eventManager.getLazyEmitter("drag"),this.rectangleDragend=this._eventManager.getLazyEmitter("dragend"),this.rectangleDragstart=this._eventManager.getLazyEmitter("dragstart"),this.rectangleMousedown=this._eventManager.getLazyEmitter("mousedown"),this.rectangleMousemove=this._eventManager.getLazyEmitter("mousemove"),this.rectangleMouseout=this._eventManager.getLazyEmitter("mouseout"),this.rectangleMouseover=this._eventManager.getLazyEmitter("mouseover"),this.rectangleMouseup=this._eventManager.getLazyEmitter("mouseup"),this.rectangleRightclick=this._eventManager.getLazyEmitter("rightclick")}ngOnInit(){this._map._isBrowser&&(this._combineOptions().pipe(We(1)).subscribe(e=>{this._ngZone.runOutsideAngular(()=>{this.rectangle=new google.maps.Rectangle(e)}),this._assertInitialized(),this.rectangle.setMap(this._map.googleMap),this._eventManager.setTarget(this.rectangle)}),this._watchForOptionsChanges(),this._watchForBoundsChanges())}ngOnDestroy(){this._eventManager.destroy(),this._destroyed.next(),this._destroyed.complete(),this.rectangle&&this.rectangle.setMap(null)}getBounds(){return this._assertInitialized(),this.rectangle.getBounds()}getDraggable(){return this._assertInitialized(),this.rectangle.getDraggable()}getEditable(){return this._assertInitialized(),this.rectangle.getEditable()}getVisible(){return this._assertInitialized(),this.rectangle.getVisible()}_combineOptions(){return rr([this._options,this._bounds]).pipe(G(([e,t])=>({...e,bounds:t||e.bounds})))}_watchForOptionsChanges(){this._options.pipe(he(this._destroyed)).subscribe(e=>{this._assertInitialized(),this.rectangle.setOptions(e)})}_watchForBoundsChanges(){this._bounds.pipe(he(this._destroyed)).subscribe(e=>{e&&(this._assertInitialized(),this.rectangle.setBounds(e))})}_assertInitialized(){}}Nh.\u0275fac=function(e){return new(e||Nh)(f(mt),f(R))},Nh.\u0275dir=E({type:Nh,selectors:[["map-rectangle"]],inputs:{options:"options",bounds:"bounds"},outputs:{boundsChanged:"boundsChanged",rectangleClick:"rectangleClick",rectangleDblclick:"rectangleDblclick",rectangleDrag:"rectangleDrag",rectangleDragend:"rectangleDragend",rectangleDragstart:"rectangleDragstart",rectangleMousedown:"rectangleMousedown",rectangleMousemove:"rectangleMousemove",rectangleMouseout:"rectangleMouseout",rectangleMouseover:"rectangleMouseover",rectangleMouseup:"rectangleMouseup",rectangleRightclick:"rectangleRightclick"},exportAs:["mapRectangle"]});class Lh{set autoRefresh(e){this._autoRefresh.next(e)}constructor(e,t){this._map=e,this._ngZone=t,this._autoRefresh=new De(!0),this._destroyed=new B}ngOnInit(){this._map._isBrowser&&(this._combineOptions().pipe(We(1)).subscribe(e=>{this._ngZone.runOutsideAngular(()=>{this.trafficLayer=new google.maps.TrafficLayer(e)}),this._assertInitialized(),this.trafficLayer.setMap(this._map.googleMap)}),this._watchForAutoRefreshChanges())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this.trafficLayer&&this.trafficLayer.setMap(null)}_combineOptions(){return this._autoRefresh.pipe(G(e=>({autoRefresh:e})))}_watchForAutoRefreshChanges(){this._combineOptions().pipe(he(this._destroyed)).subscribe(e=>{this._assertInitialized(),this.trafficLayer.setOptions(e)})}_assertInitialized(){if(!this._map.googleMap)throw Error("Cannot access Google Map information before the API has been initialized. Please wait for the API to load before trying to interact with it.");if(!this.trafficLayer)throw Error("Cannot interact with a Google Map Traffic Layer before it has been initialized. Please wait for the Traffic Layer to load before trying to interact with it.")}}Lh.\u0275fac=function(e){return new(e||Lh)(f(mt),f(R))},Lh.\u0275dir=E({type:Lh,selectors:[["map-traffic-layer"]],inputs:{autoRefresh:"autoRefresh"},exportAs:["mapTrafficLayer"]});class Ac extends Zs{_initializeObject(){this.transitLayer=new google.maps.TransitLayer}_setMap(){this._assertLayerInitialized(),this.transitLayer.setMap(this._map.googleMap)}_unsetMap(){this.transitLayer&&this.transitLayer.setMap(null)}_assertLayerInitialized(){if(!this.transitLayer)throw Error("Cannot interact with a Google Map Transit Layer before it has been initialized. Please wait for the Transit Layer to load before trying to interact with it.")}}Ac.\u0275fac=function(){let n;return function(t){return(n||(n=Oe(Ac)))(t||Ac)}}(),Ac.\u0275dir=E({type:Ac,selectors:[["map-transit-layer"]],exportAs:["mapTransitLayer"],features:[L]});class Vh{set data(e){this._data=e}set options(e){this._options=e}constructor(e,t){this._googleMap=e,this._ngZone=t}ngOnInit(){this._googleMap._isBrowser&&(window.google?.maps?.visualization,this._ngZone.runOutsideAngular(()=>{this.heatmap=new google.maps.visualization.HeatmapLayer(this._combineOptions())}),this._assertInitialized(),this.heatmap.setMap(this._googleMap.googleMap))}ngOnChanges(e){const{_data:t,heatmap:i}=this;i&&(e.options&&i.setOptions(this._combineOptions()),e.data&&void 0!==t&&i.setData(this._normalizeData(t)))}ngOnDestroy(){this.heatmap&&this.heatmap.setMap(null)}getData(){return this._assertInitialized(),this.heatmap.getData()}_combineOptions(){const e=this._options||{};return{...e,data:this._normalizeData(this._data||e.data||[]),map:this._googleMap.googleMap}}_normalizeData(e){const t=[];return e.forEach(i=>{t.push(function j6(n){return n&&"number"==typeof n.lat&&"number"==typeof n.lng}(i)?new google.maps.LatLng(i.lat,i.lng):i)}),t}_assertInitialized(){}}Vh.\u0275fac=function(e){return new(e||Vh)(f(mt),f(R))},Vh.\u0275dir=E({type:Vh,selectors:[["map-heatmap-layer"]],inputs:{data:"data",options:"options"},exportAs:["mapHeatmapLayer"],features:[Ve]});class Oc{}Oc.\u0275fac=function(e){return new(e||Oc)},Oc.\u0275mod=te({type:Oc}),Oc.\u0275inj=X({});class Bh{constructor(e){this._ngZone=e}route(e){return new le(t=>{this._directionsService||(this._directionsService=new google.maps.DirectionsService),this._directionsService.route(e,(i,r)=>{this._ngZone.run(()=>{t.next({result:i||void 0,status:r}),t.complete()})})})}}Bh.\u0275fac=function(e){return new(e||Bh)(b(R))},Bh.\u0275prov=I({token:Bh,factory:Bh.\u0275fac,providedIn:"root"});class zh{constructor(e){this._ngZone=e}geocode(e){return new le(t=>{this._geocoder||(this._geocoder=new google.maps.Geocoder),this._geocoder.geocode(e,(i,r)=>{this._ngZone.run(()=>{t.next({results:i||[],status:r}),t.complete()})})})}}zh.\u0275fac=function(e){return new(e||zh)(b(R))},zh.\u0275prov=I({token:zh,factory:zh.\u0275fac,providedIn:"root"});class jh{constructor(e,t){this.dialogRes=e,this.mapOptions={zoom:14},this.marker={},this.mapOptions.center=t,this.marker.position=t}close(){this.dialogRes.close()}}function H6(n,e){1&n&&(_(0,"div",3),S(1,"No music related artist details to show"),y())}function U6(n,e){if(1&n&&oe(0,"img",19),2&n){vr("src",F().$implicit.artistImgUrl,si)}}function $6(n,e){if(1&n&&(_(0,"div",10)(1,"div",20)(2,"div",21),S(3,"Popularity"),y(),_(4,"div",22),oe(5,"mat-progress-spinner",23),_(6,"div",24),S(7),y()()()()),2&n){const t=F().$implicit,i=F(2);C(5),M("color",i.spinnerColor)("mode",i.spinnerMode)("value",t.popularity),C(2),Ue(t.popularity)}}function G6(n,e){if(1&n&&(_(0,"div",25)(1,"div",20)(2,"div",21),S(3,"Followers"),y(),_(4,"div",26),S(5),y()()()),2&n){const t=F().$implicit,i=F(2);C(5),Ue(i.followerNumberFormat(t.followers))}}function W6(n,e){if(1&n&&(_(0,"div",25)(1,"div",20)(2,"div",21),S(3,"Spotify Link"),y(),_(4,"a",27),oe(5,"i",28),y()()()),2&n){const t=F().$implicit;C(4),vr("href",t.link,si)}}function q6(n,e){if(1&n&&(_(0,"div",29),oe(1,"img",30),y()),2&n){const t=e.$implicit;C(1),vr("src",t,si)}}function Y6(n,e){if(1&n&&(_(0,"div")(1,"div",8)(2,"div",9)(3,"div",10)(4,"div",11),k(5,U6,1,1,"img",12),_(6,"div",13),S(7),y()()(),k(8,$6,8,4,"div",14),k(9,G6,6,1,"div",15),k(10,W6,6,1,"div",15),y(),_(11,"div",16),S(12),y(),_(13,"div",17),k(14,q6,2,1,"div",18),y()()()),2&n){const t=e.$implicit,i=e.index;C(1),ue("active",0==i),C(4),M("ngIf",""!=t.artistImgUrl),C(2),Ue(t.name),C(1),M("ngIf",t.popularity>=0),C(1),M("ngIf",t.followers>=0),C(1),M("ngIf",""!=t.link),C(2),jn("Album featuring ",t.name,""),C(2),M("ngForOf",t.albumsImgsUrls)}}function Z6(n,e){1&n&&(_(0,"div")(1,"button",31),oe(2,"span",32),_(3,"span",33),S(4,"Previous"),y()(),_(5,"button",34),oe(6,"span",35),_(7,"span",33),S(8,"Next"),y()()())}function K6(n,e){if(1&n&&(_(0,"div",4)(1,"div",5),k(2,Y6,15,9,"div",6),y(),k(3,Z6,9,0,"div",7),y()),2&n){const t=F();C(2),M("ngForOf",t.artistsDetails),C(1),M("ngIf",t.artistsDetails.length>1)}}jh.\u0275fac=function(e){return new(e||jh)(f(km),f(yA))},jh.\u0275cmp=xe({type:jh,selectors:[["app-venue-map-modal"]],decls:8,vars:4,consts:[["mat-dialog-title","",2,"border-bottom","1px solid gainsboro"],[1,"p-2"],[3,"width","height","options"],[3,"position"],["type","button",1,"btn","btn-dark",3,"click"]],template:function(e,t){1&e&&(_(0,"h4",0),S(1,"Event Venue"),y(),_(2,"mat-dialog-content",1)(3,"google-map",2),oe(4,"map-marker",3),y()(),_(5,"mat-dialog-actions")(6,"button",4),q("click",function(){return t.close()}),S(7,"Close"),y()()),2&e&&(C(3),M("width",null)("height",null)("options",t.mapOptions),C(1),M("position",t.marker.position))},dependencies:[th,nh,ih,mt,Ks],styles:[".map-container{max-width:100%;width:400px;height:300px}"]});class Hh{constructor(e){this.eventDetailService=e,this.artists=[],this.detailsLoaded=!1,this.artistsDetails=[],this.spinnerColor="warn",this.spinnerMode="determinate",this.spinnervalue=99}ngOnInit(){this.getDetails()}getDetails(){var e=this;return SO(function*(){for(var t=0;t<Math.min(e.artists.length,10);t++){const i=yield tg(e.eventDetailService.getArtistDetail(e.artists[t]));typeof i.name<"u"&&e.artistsDetails.push(i)}e.detailsLoaded=!0})()}followerNumberFormat(e){return yE(e,"en-US")}}function X6(n,e){if(1&n){const t=gt();_(0,"i",19),q("click",function(){nt(t);return it(F(2).addFav())}),S(1,"favorite_border"),y()}}function Q6(n,e){if(1&n){const t=gt();_(0,"i",20),q("click",function(){nt(t);return it(F(2).cancelFav())}),S(1,"favorite"),y()}}function J6(n,e){if(1&n&&(_(0,"p",16),S(1),k(2,X6,2,0,"i",17),k(3,Q6,2,0,"i",18),y()),2&n){const t=F();C(1),jn("",t.eventDetails.name," "),C(1),M("ngIf",!t.isFavorite),C(1),M("ngIf",t.isFavorite)}}function eW(n,e){if(1&n&&(_(0,"div",25)(1,"div",26),S(2,"Date"),y(),_(3,"div",27),S(4),y()()),2&n){const t=F(2);C(4),ey("",t.eventDetails.date," ",t.eventDetails.time,"")}}function tW(n,e){if(1&n&&(_(0,"div",25)(1,"div",26),S(2,"Artist/Teams"),y(),_(3,"div",27),S(4),y()()),2&n){const t=F(2);C(4),Ue(t.combineStrings(t.eventDetails.artistTeams))}}function nW(n,e){if(1&n&&(_(0,"div",25)(1,"div",26),S(2,"Venue"),y(),_(3,"div",27),S(4),y()()),2&n){const t=F(2);C(4),Ue(t.eventDetails.venue)}}function iW(n,e){if(1&n&&(_(0,"div",25)(1,"div",26),S(2,"Genres"),y(),_(3,"div",27),S(4),y()()),2&n){const t=F(2);C(4),Ue(t.combineStrings(t.eventDetails.genres))}}function rW(n,e){if(1&n&&(_(0,"div",25)(1,"div",26),S(2,"Price Ranges"),y(),_(3,"div",27),S(4),y()()),2&n){const t=F(2);C(4),Ue(t.eventDetails.priceRanges)}}function oW(n,e){1&n&&(_(0,"div",33),S(1,"On Sale"),y())}function sW(n,e){1&n&&(_(0,"div",34),S(1,"Off Sale"),y())}function aW(n,e){1&n&&(_(0,"div",35),S(1,"Cancelled"),y())}function lW(n,e){1&n&&(_(0,"div",36),S(1,"Postponed"),y())}function cW(n,e){1&n&&(_(0,"div",36),S(1,"Rescheduled"),y())}function dW(n,e){if(1&n&&(_(0,"div",25)(1,"div",26),S(2,"Ticket Status"),y(),_(3,"div",28),k(4,oW,2,0,"div",29),k(5,sW,2,0,"div",30),k(6,aW,2,0,"div",31),k(7,lW,2,0,"div",32),k(8,cW,2,0,"div",32),y()()),2&n){const t=F(2);C(3),M("ngSwitch",t.eventDetails.ticketStatus),C(1),M("ngSwitchCase","onsale"),C(1),M("ngSwitchCase","offsale"),C(1),M("ngSwitchCase","cancelled"),C(1),M("ngSwitchCase","postponed"),C(1),M("ngSwitchCase","rescheduled")}}function uW(n,e){if(1&n&&(_(0,"div",25)(1,"div",26),S(2,"Buy Ticket At:"),y(),_(3,"a",37),S(4,"Ticketmaster"),y()()),2&n){const t=F(2);C(3),vr("href",t.eventDetails.url,si)}}function hW(n,e){if(1&n&&(_(0,"div",38),oe(1,"img",39),y()),2&n){const t=F(2);C(1),vr("src",t.eventDetails.seatMapUrl,si)}}function fW(n,e){if(1&n&&(_(0,"div",21)(1,"div",22),k(2,eW,5,2,"div",23),k(3,tW,5,1,"div",23),k(4,nW,5,1,"div",23),k(5,iW,5,1,"div",23),k(6,rW,5,1,"div",23),k(7,dW,9,6,"div",23),k(8,uW,5,1,"div",23),y(),k(9,hW,2,1,"div",24),y()),2&n){const t=F();C(2),M("ngIf",""!=t.eventDetails.date||""!=t.eventDetails.time),C(1),M("ngIf",t.eventDetails.artistTeams.length>0),C(1),M("ngIf",""!=t.eventDetails.venue),C(1),M("ngIf",t.eventDetails.genres.length>0),C(1),M("ngIf",""!=t.eventDetails.priceRanges),C(1),M("ngIf",""!=t.eventDetails.ticketStatus),C(1),M("ngIf",""!=t.eventDetails.url),C(1),M("ngIf",""!=t.eventDetails.seatMapUrl)}}function pW(n,e){if(1&n&&(_(0,"div",40)(1,"span",41),S(2,"Share on: "),y(),_(3,"a",42),oe(4,"i",43),y(),_(5,"a",42),oe(6,"i",44),y()()),2&n){const t=F();C(3),Z_("href","https://twitter.com/intent/tweet?text=Check ",t.stringToUrlComponent(t.eventDetails.name)," on Ticketmaster. ",t.eventDetails.url,"&hashtags=hashtag1,hashtag2",si),C(2),hd("href","https://www.facebook.com/sharer/sharer.php?u=",t.eventDetails.url,"&src=sdkpreparse",si)}}function mW(n,e){if(1&n&&oe(0,"app-artist-detail",45),2&n){M("artists",F().eventDetails.musicArtists)}}function gW(n,e){1&n&&(_(0,"div",46),S(1,"No venue details to show"),y())}function _W(n,e){if(1&n&&(_(0,"div",25)(1,"div",26),S(2,"Name"),y(),_(3,"div",27),S(4),y()()),2&n){const t=F(3);C(4),Ue(t.venueDetails.name)}}function yW(n,e){if(1&n&&(_(0,"div",25)(1,"div",26),S(2,"Address"),y(),_(3,"div",27),S(4),y()()),2&n){const t=F(3);C(4),Ue(t.venueDetails.address)}}function bW(n,e){if(1&n&&(_(0,"div",25)(1,"div",26),S(2,"Phone Number"),y(),_(3,"div",27),S(4),y()()),2&n){const t=F(3);C(4),Ue(t.venueDetails.phoneNumber)}}function vW(n,e){if(1&n&&(_(0,"div",22),k(1,_W,5,1,"div",23),k(2,yW,5,1,"div",23),k(3,bW,5,1,"div",23),y()),2&n){const t=F(2);C(1),M("ngIf",""!=t.venueDetails.name),C(1),M("ngIf",""!=t.venueDetails.address),C(1),M("ngIf",""!=t.venueDetails.phoneNumber)}}function CW(n,e){if(1&n){const t=gt();_(0,"div",52),q("click",function(){nt(t);return it(F(5).showOpenHours=!0)}),_(1,"span",53),S(2,"Show More"),y(),_(3,"i",54),S(4,"keyboard_arrow_down"),y()()}}function wW(n,e){if(1&n){const t=gt();_(0,"div",52),q("click",function(){nt(t);return it(F(5).showOpenHours=!1)}),_(1,"span",53),S(2,"Show Less"),y(),_(3,"i",54),S(4,"keyboard_arrow_up"),y()()}}function xW(n,e){if(1&n&&(_(0,"div"),k(1,CW,5,0,"div",51),k(2,wW,5,0,"div",51),y()),2&n){const t=F(4);C(1),M("ngIf",!t.showOpenHours),C(1),M("ngIf",t.showOpenHours)}}function DW(n,e){if(1&n&&(_(0,"div",25)(1,"div",26),S(2,"Open Hours"),y(),_(3,"div",49,50),S(5),y(),k(6,xW,3,2,"div",15),y()),2&n){const t=Vn(4),i=F(3);C(3),ue("show",i.showOpenHours),C(2),jn("",i.venueDetails.openHours," "),C(1),M("ngIf",i.showOpenHours||!i.showOpenHours&&t.scrollHeight>t.clientHeight+2)}}function MW(n,e){if(1&n){const t=gt();_(0,"div",52),q("click",function(){nt(t);return it(F(5).showGeneralRule=!0)}),_(1,"span",53),S(2,"Show More"),y(),_(3,"i",54),S(4,"keyboard_arrow_down"),y()()}}function EW(n,e){if(1&n){const t=gt();_(0,"div",52),q("click",function(){nt(t);return it(F(5).showGeneralRule=!1)}),_(1,"span",53),S(2,"Show Less"),y(),_(3,"i",54),S(4,"keyboard_arrow_up"),y()()}}function IW(n,e){if(1&n&&(_(0,"div"),k(1,MW,5,0,"div",51),k(2,EW,5,0,"div",51),y()),2&n){const t=F(4);C(1),M("ngIf",!t.showGeneralRule),C(1),M("ngIf",t.showGeneralRule)}}function SW(n,e){if(1&n&&(_(0,"div",25)(1,"div",26),S(2,"General Rule"),y(),_(3,"div",49,55),S(5),y(),k(6,IW,3,2,"div",15),y()),2&n){const t=Vn(4),i=F(3);C(3),ue("show",i.showGeneralRule),C(2),jn("",i.venueDetails.generalRule," "),C(1),M("ngIf",i.showGeneralRule||!i.showGeneralRule&&t.scrollHeight>t.clientHeight+2)}}function TW(n,e){if(1&n){const t=gt();_(0,"div",52),q("click",function(){nt(t);return it(F(5).showChildRule=!0)}),_(1,"span",53),S(2,"Show More"),y(),_(3,"i",54),S(4,"keyboard_arrow_down"),y()()}}function AW(n,e){if(1&n){const t=gt();_(0,"div",52),q("click",function(){nt(t);return it(F(5).showChildRule=!1)}),_(1,"span",53),S(2,"Show Less"),y(),_(3,"i",54),S(4,"keyboard_arrow_up"),y()()}}function OW(n,e){if(1&n&&(_(0,"div"),k(1,TW,5,0,"div",51),k(2,AW,5,0,"div",51),y()),2&n){const t=F(4);C(1),M("ngIf",!t.showChildRule),C(1),M("ngIf",t.showChildRule)}}function kW(n,e){if(1&n&&(_(0,"div",25)(1,"div",26),S(2,"Child Rule"),y(),_(3,"div",49,56),S(5),y(),k(6,OW,3,2,"div",15),y()),2&n){const t=Vn(4),i=F(3);C(3),ue("show",i.showChildRule),C(2),jn("",i.venueDetails.childRule," "),C(1),M("ngIf",i.showChildRule||!i.showChildRule&&t.scrollHeight>t.clientHeight+2)}}function RW(n,e){if(1&n&&(_(0,"div",22),k(1,DW,7,4,"div",23),k(2,SW,7,4,"div",23),k(3,kW,7,4,"div",23),y()),2&n){const t=F(2);C(1),M("ngIf",""!=t.venueDetails.openHours),C(1),M("ngIf",""!=t.venueDetails.generalRule),C(1),M("ngIf",""!=t.venueDetails.childRule)}}function FW(n,e){if(1&n){const t=gt();_(0,"button",57),q("click",function(){nt(t);const r=F(2);return it(r.openMap(r.venueDetails.address))}),S(1,"Show venue on Google map"),y()}}function PW(n,e){if(1&n&&(_(0,"div")(1,"div",21),k(2,vW,4,3,"div",47),k(3,RW,4,3,"div",47),y(),k(4,FW,2,0,"button",48),y()),2&n){const t=F();C(2),M("ngIf",""!=t.venueDetails.name||""!=t.venueDetails.address||""!=t.venueDetails.phoneNumber),C(1),M("ngIf",""!=t.venueDetails.openHours||""!=t.venueDetails.generalRule||""!=t.venueDetails.childRule),C(1),M("ngIf",""!=t.venueDetails.address)}}Hh.\u0275fac=function(e){return new(e||Hh)(f(qs))},Hh.\u0275cmp=xe({type:Hh,selectors:[["app-artist-detail"]],inputs:{artists:"artists"},decls:3,vars:2,consts:[[1,"py-3"],["class","no-results mx-auto text-center",4,"ngIf"],["id","carouselControls","class","carousel slide px-5","data-bs-ride","carousel",4,"ngIf"],[1,"no-results","mx-auto","text-center"],["id","carouselControls","data-bs-ride","carousel",1,"carousel","slide","px-5"],[1,"carousel-inner","px-4"],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"carousel-item"],[1,"row","m-3"],[1,"col-sm"],[1,"detail-container","m-auto"],["class","rounded-circle artist-img mx-auto",3,"src",4,"ngIf"],[1,"detail-label","h4","py-2"],["class","col-sm",4,"ngIf"],["class","col-sm","style","vertical-align: middle;",4,"ngIf"],[1,"detail-label","ms-2","mt-4","mb-3","mx-sm-auto",2,"font-weight","bold"],[1,"row"],["class","col-sm p-0 m-2",4,"ngFor","ngForOf"],[1,"rounded-circle","artist-img","mx-auto",3,"src"],[1,"detail-container","m-auto","mt-5"],[1,"detail-label","h5"],[1,"mt-3"],["diameter","50",1,"mx-auto",3,"color","mode","value"],[1,"detail-content",2,"margin-top","-38px"],[1,"col-sm",2,"vertical-align","middle"],[1,"detail-content","mt-3"],["target","_blank",1,"mt-3",2,"text-decoration","none","display","block",3,"href"],[1,"fa-brands","fa-spotify","fa-2x",2,"color","#1ed760","display","block"],[1,"col-sm","p-0","m-2"],[1,"album-img","mx-auto",3,"src"],["type","button","data-bs-target","#carouselControls","data-bs-slide","prev",1,"carousel-control-prev"],["aria-hidden","true",1,"carousel-control-prev-icon"],[1,"visually-hidden"],["type","button","data-bs-target","#carouselControls","data-bs-slide","next",1,"carousel-control-next"],["aria-hidden","true",1,"carousel-control-next-icon"]],template:function(e,t){1&e&&(_(0,"div",0),k(1,H6,2,0,"div",1),k(2,K6,4,2,"div",2),y()),2&e&&(C(1),M("ngIf",0==t.artists.length),C(1),M("ngIf",t.artists.length>0&&t.detailsLoaded))},dependencies:[Wn,ln,zs],styles:[".detail-label[_ngcontent-%COMP%]{color:#7fffd4;font-weight:700}.detail-content[_ngcontent-%COMP%]{color:#fff}.detail-container[_ngcontent-%COMP%]{width:-moz-fit-content;width:fit-content;text-align:center}.artist-img[_ngcontent-%COMP%]{width:160px;height:160px}.album-img[_ngcontent-%COMP%]{width:200px;height:200px;display:block}"]});class Uh{constructor(e,t){this.matDialog=e,this.searchFormService=t,this.eventLoaded=!1,this.venueLoaded=!1,this.messageBack=new U,this.isFavorite=!1,this.showOpenHours=!1,this.showGeneralRule=!1,this.showChildRule=!1}ngOnChanges(e){e.eventLoaded&&e.eventLoaded.currentValue&&this.checkFav()}backToEventTable(){this.showOpenHours=!1,this.showGeneralRule=!1,this.showChildRule=!1,this.messageBack.emit()}combineStrings(e){for(var t="",i=0;i<e.length-1;i++)t+=e[i]+" | ";return t+=e[e.length-1]}stringToUrlComponent(e){return encodeURIComponent(e)}openMap(e){const t=new Xu;t.disableClose=!0,t.hasBackdrop=!1,this.searchFormService.getGoogleLocation(e).subscribe(i=>{t.data=i,this.matDialog.open(jh,t)})}addFav(){this.isFavorite=!0;var t,e={id:this.eventDetails.id,name:this.eventDetails.name,date:this.eventDetails.date,category:this.combineStrings(this.eventDetails.genres),venue:this.eventDetails.venue};const i=localStorage.getItem("favorites");null===i?((t=[]).push(e),localStorage.setItem("favorites",JSON.stringify(t))):((t=JSON.parse(i)).push(e),localStorage.setItem("favorites",JSON.stringify(t))),alert("Event Added to Favorites")}cancelFav(){var e;this.isFavorite=!1;const t=localStorage.getItem("favorites");if(null!==t){e=JSON.parse(t);for(var i=0;i<e.length;i++)if(e[i].id==this.eventDetails.id){e.splice(i,1);break}localStorage.setItem("favorites",JSON.stringify(e))}alert("Removed from Favorites!")}checkFav(){const t=localStorage.getItem("favorites");if(null!==t){for(var i of JSON.parse(t))if(i.id==this.eventDetails.id)return void(this.isFavorite=!0);this.isFavorite=!1}else this.isFavorite=!1}}function NW(n,e){1&n&&(_(0,"div",5),S(1,"No results available"),y())}function LW(n,e){if(1&n){const t=gt();_(0,"app-events-table",6),q("messageEventID",function(r){nt(t);return it(F().receiveEventID(r))}),y()}if(2&n){M("events",F().eventsRes)}}function VW(n,e){if(1&n){const t=gt();_(0,"app-event-detail",7),q("messageBack",function(){nt(t);return it(F().receiveBack())}),y()}if(2&n){const t=F();M("eventDetails",t.eventDetails)("venueDetails",t.venueDetails)("eventLoaded",t.eventLoaded)("venueLoaded",t.venueLoaded)}}Uh.\u0275fac=function(e){return new(e||Uh)(f(xi),f(Ys))},Uh.\u0275cmp=xe({type:Uh,selectors:[["app-event-detail"]],inputs:{eventDetails:"eventDetails",venueDetails:"venueDetails",eventLoaded:"eventLoaded",venueLoaded:"venueLoaded"},outputs:{messageBack:"messageBack"},features:[Ve],decls:17,vars:6,consts:[[1,"event-detail","mx-auto","my-3","py-3","overflow-auto"],[1,"ms-3"],[1,"arrow","left"],[1,"back",3,"click"],[1,"my-4","mx-auto",2,"width","fit-content"],["class","event-name h4 px-2",4,"ngIf"],[1,"my-3"],["mat-stretch-tabs","","mat-align-tabs","center","backgroundColor","primary"],["label","Events"],["class","row m-0 p-3",4,"ngIf"],["class","mx-auto","style","width: fit-content;",4,"ngIf"],["label","Artist/Teams"],[3,"artists",4,"ngIf"],["label","Venue"],["class","no-results text-center mx-auto",4,"ngIf"],[4,"ngIf"],[1,"event-name","h4","px-2"],["class","material-icons favorite p-2 m-2",3,"click",4,"ngIf"],["class","material-icons favorite-hit p-2 m-2",3,"click",4,"ngIf"],[1,"material-icons","favorite","p-2","m-2",3,"click"],[1,"material-icons","favorite-hit","p-2","m-2",3,"click"],[1,"row","m-0","p-3"],[1,"col-sm"],["class","my-3 mx-auto detail-container",4,"ngIf"],["class","col-sm align-self-center",4,"ngIf"],[1,"my-3","mx-auto","detail-container"],[1,"detail-label","h5"],[1,"detail-content"],[3,"ngSwitch"],["class","detail-status mx-auto p-1","style","background-color: green;",4,"ngSwitchCase"],["class","detail-status mx-auto p-1","style","background-color: red;",4,"ngSwitchCase"],["class","detail-status mx-auto p-1","style","background-color: black;",4,"ngSwitchCase"],["class","detail-status mx-auto p-1","style","background-color: orange;",4,"ngSwitchCase"],[1,"detail-status","mx-auto","p-1",2,"background-color","green"],[1,"detail-status","mx-auto","p-1",2,"background-color","red"],[1,"detail-status","mx-auto","p-1",2,"background-color","black"],[1,"detail-status","mx-auto","p-1",2,"background-color","orange"],["target","_blank",3,"href"],[1,"col-sm","align-self-center"],[1,"mw-100","mh-100",3,"src"],[1,"mx-auto",2,"width","fit-content"],[2,"color","white"],["target","_blank",1,"m-1",3,"href"],[1,"fa-brands","fa-twitter","fa-2x",2,"color","#00acee"],[1,"fa-brands","fa-square-facebook","fa-2x",2,"color","#4267B2"],[3,"artists"],[1,"no-results","text-center","mx-auto"],["class","col-sm",4,"ngIf"],["type","button","class","btn btn-danger mx-auto","style","display: block;",3,"click",4,"ngIf"],[1,"detail-content","hide"],["content1",""],["class","show-link-container mx-auto",3,"click",4,"ngIf"],[1,"show-link-container","mx-auto",3,"click"],[1,"show-link"],[1,"material-icons","show-link-arrow"],["content2",""],["content3",""],["type","button",1,"btn","btn-danger","mx-auto",2,"display","block",3,"click"]],template:function(e,t){1&e&&(_(0,"div",0)(1,"div",1),oe(2,"i",2),_(3,"span",3),q("click",function(){return t.backToEventTable()}),S(4,"Back"),y()(),_(5,"div",4),k(6,J6,4,3,"p",5),y(),_(7,"div",6)(8,"mat-tab-group",7)(9,"mat-tab",8),k(10,fW,10,8,"div",9),k(11,pW,7,3,"div",10),y(),_(12,"mat-tab",11),k(13,mW,1,1,"app-artist-detail",12),y(),_(14,"mat-tab",13),k(15,gW,2,0,"div",14),k(16,PW,5,3,"div",15),y()()()()),2&e&&(C(6),M("ngIf",t.eventLoaded),C(4),M("ngIf",t.eventLoaded),C(1),M("ngIf",t.eventLoaded&&""!=t.eventDetails.url),C(2),M("ngIf",t.eventLoaded),C(2),M("ngIf",t.venueLoaded&&void 0===t.venueDetails.name),C(1),M("ngIf",t.venueLoaded&&void 0!==t.venueDetails.name))},dependencies:[ln,$i,Vo,eo,oc,Hh],styles:[".material-icons.md-18[_ngcontent-%COMP%]{font-size:18px}.material-icons.md-24[_ngcontent-%COMP%]{font-size:24px}.material-icons.md-36[_ngcontent-%COMP%]{font-size:36px}.material-icons.md-48[_ngcontent-%COMP%]{font-size:48px}.material-icons.md-dark[_ngcontent-%COMP%]{color:#0000008a}.material-icons.md-dark.md-inactive[_ngcontent-%COMP%]{color:#00000042}.material-icons.md-light[_ngcontent-%COMP%]{color:#fff}.material-icons.md-light.md-inactive[_ngcontent-%COMP%]{color:#ffffff4d}.arrow[_ngcontent-%COMP%]{border:solid white;border-width:0 2px 2px 0;display:inline-block;padding:4px}.left[_ngcontent-%COMP%]{transform:rotate(135deg);-webkit-transform:rotate(135deg)}.event-detail[_ngcontent-%COMP%]{background-color:#fff3;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);max-width:800px;border-radius:1em}.back[_ngcontent-%COMP%]{color:#fff;text-decoration:underline;cursor:pointer} .mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:0!important;padding-left:5%;padding-right:5%} .mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab-indicator__content--underline, .mat-mdc-tab-group.mat-tabs-with-background[_ngcontent-nyn-c114][_ngcontent-%COMP%] > .mat-mdc-tab-header[_ngcontent-nyn-c114][_ngcontent-%COMP%] .mat-mdc-tab-header-pagination-chevron[_ngcontent-nyn-c114][_ngcontent-%COMP%], .mat-mdc-tab-group.mat-tabs-with-background[_ngcontent-nyn-c114][_ngcontent-%COMP%] > .mat-mdc-tab-header[_ngcontent-nyn-c114][_ngcontent-%COMP%] .mat-mdc-focus-indicator[_ngcontent-nyn-c114][_ngcontent-%COMP%]:before{border-color:#00f!important} .mat-mdc-tab-group.mat-background-primary, .mat-mdc-tab-nav-bar.mat-background-primary[_ngcontent-%COMP%]{--mat-mdc-tab-header-with-background-background-color: darkcyan;--mat-mdc-tab-header-with-background-foreground-color: whitesmoke}.event-name[_ngcontent-%COMP%]{color:#fff;font-weight:bolder;text-align:center}.detail-container[_ngcontent-%COMP%]{width:-moz-fit-content;width:fit-content;text-align:center}.detail-label[_ngcontent-%COMP%]{color:#7fffd4;font-weight:700}.detail-content[_ngcontent-%COMP%]{color:#fff}.detail-status[_ngcontent-%COMP%]{width:-moz-fit-content;width:fit-content;color:#fff;border-radius:10px}.onsale[_ngcontent-%COMP%]{background-color:green}.offsale[_ngcontent-%COMP%]{background-color:red}.cancelled[_ngcontent-%COMP%]{background-color:#000}.postponed[_ngcontent-%COMP%], .rescheduled[_ngcontent-%COMP%]{background-color:orange}.hide[_ngcontent-%COMP%]{line-height:1.2em;height:2.5em;overflow:hidden}.show[_ngcontent-%COMP%]{height:auto;overflow:visible}.show-link[_ngcontent-%COMP%]{color:#6495ed;text-decoration:underline;vertical-align:middle}.show-link-container[_ngcontent-%COMP%]{width:-moz-fit-content;width:fit-content;cursor:pointer}.show-link-arrow[_ngcontent-%COMP%]{color:#fff;vertical-align:middle}.favorite[_ngcontent-%COMP%]{background-color:#fff;border-radius:50%;color:gray;cursor:pointer}.favorite-hit[_ngcontent-%COMP%]{background-color:#fff;border-radius:50%;color:red;cursor:pointer}"]});class $h{constructor(e){this.eventDetailsService=e,this.eventsRes=[],this.hasRes=!1,this.noRes=!1,this.showDetail=!1,this.eventLoaded=!1,this.venueLoaded=!1}receiveEvents(e){this.showDetail=!1,this.eventLoaded=!1,this.venueLoaded=!1,this.eventsRes=e,e.length>0?(this.noRes=!1,this.hasRes=!0):(this.noRes=!0,this.hasRes=!1)}receiveClear(){this.hasRes=!1,this.noRes=!1,this.eventsRes=[],this.showDetail=!1,this.eventLoaded=!1,this.venueLoaded=!1}receiveEventID(e){this.eventLoaded=!1,this.venueLoaded=!1,this.showDetail=!0,this.eventDetailsService.getEventDetail(e.id).subscribe(t=>{this.eventDetails=t,this.eventLoaded=!0}),this.eventDetailsService.getVenueDetail(e.venue).subscribe(t=>{this.venueDetails=t,this.venueLoaded=!0})}receiveBack(){this.showDetail=!1}}function BW(n,e){1&n&&(_(0,"div",3),S(1,"No favorite events to show"),y())}function zW(n,e){if(1&n){const t=gt();_(0,"tbody")(1,"tr")(2,"th"),S(3),y(),_(4,"td"),S(5),y(),_(6,"td"),S(7),y(),_(8,"td"),S(9),y(),_(10,"td"),S(11),y(),_(12,"td",8),q("click",function(){const o=nt(t).$implicit;return it(F(2).deleteFav(o.id))}),oe(13,"i",9),y()()()}if(2&n){const t=e.$implicit,i=e.index;ge("data-index",i),C(3),Ue(i+1),C(2),Ue(t.date),C(2),Ue(t.name),C(2),Ue(t.category),C(2),Ue(t.venue)}}function jW(n,e){if(1&n&&(_(0,"div")(1,"div",4),S(2,"List of your favorite events"),y(),_(3,"div",5)(4,"table",6)(5,"thead")(6,"tr")(7,"th"),S(8,"#"),y(),_(9,"th"),S(10,"Date"),y(),_(11,"th"),S(12,"Event"),y(),_(13,"th"),S(14,"Category"),y(),_(15,"th"),S(16,"Venue"),y(),_(17,"th"),S(18,"Favorite"),y()()(),k(19,zW,14,6,"tbody",7),y()()()),2&n){const t=F();C(19),M("ngForOf",t.favorites)}}$h.\u0275fac=function(e){return new(e||$h)(f(qs))},$h.\u0275cmp=xe({type:$h,selectors:[["app-search"]],decls:5,vars:3,consts:[[1,"px-2"],[3,"messageEvents","messageClear"],["class","no-results text-center mx-auto",4,"ngIf"],[3,"events","messageEventID",4,"ngIf"],[3,"eventDetails","venueDetails","eventLoaded","venueLoaded","messageBack",4,"ngIf"],[1,"no-results","text-center","mx-auto"],[3,"events","messageEventID"],[3,"eventDetails","venueDetails","eventLoaded","venueLoaded","messageBack"]],template:function(e,t){1&e&&(_(0,"div",0)(1,"app-search-form",1),q("messageEvents",function(r){return t.receiveEvents(r)})("messageClear",function(){return t.receiveClear()}),y(),k(2,NW,2,0,"div",2),k(3,LW,1,1,"app-events-table",3),k(4,VW,1,4,"app-event-detail",4),y()),2&e&&(C(2),M("ngIf",t.noRes),C(1),M("ngIf",t.hasRes&&!t.showDetail),C(1),M("ngIf",t.showDetail))},dependencies:[ln,Mh,Eh,Uh]});class Gh{constructor(){this.favorites=[],this.noFav=!1}ngOnInit(){this.loadFav()}loadFav(){const e=localStorage.getItem("favorites");null===e?this.noFav=!0:(this.favorites=JSON.parse(e),0==this.favorites.length?this.noFav=!0:this.noFav=!1)}deleteFav(e){for(var t=0;t<this.favorites.length;t++)if(this.favorites[t].id==e){this.favorites.splice(t,1);break}localStorage.setItem("favorites",JSON.stringify(this.favorites)),0==this.favorites.length&&(this.noFav=!0),alert("Removed from Favorites!")}}Gh.\u0275fac=function(e){return new(e||Gh)},Gh.\u0275cmp=xe({type:Gh,selectors:[["app-favorites"]],decls:3,vars:2,consts:[[1,"px-2"],["class","no-results text-center mx-auto",4,"ngIf"],[4,"ngIf"],[1,"no-results","text-center","mx-auto"],[1,"h4","mx-auto","my-3",2,"color","aquamarine","width","fit-content"],[1,"table-responsive","mx-auto","rounded","rounded-3",2,"max-width","1000px"],[1,"table","table-light","table-hover","text-center",2,"margin","0"],[4,"ngFor","ngForOf"],[2,"cursor","pointer",3,"click"],[1,"fa-regular","fa-trash-can"]],template:function(e,t){1&e&&(_(0,"div",0),k(1,BW,2,0,"div",1),k(2,jW,20,1,"div",2),y()),2&e&&(C(1),M("ngIf",t.noFav),C(1),M("ngIf",!t.noFav))},dependencies:[Wn,ln]});const HW=[{path:"",redirectTo:"search",pathMatch:"full"},{path:"search",component:$h},{path:"favorites",component:Gh}];class kc{}function UW(n,e){if(1&n){const t=gt();_(0,"a",4),q("click",function(){const o=nt(t).index;return it(F().setIndex(o))}),S(1),y()}if(2&n){const t=e.$implicit,i=e.index;ue("active",F().selectedIndex===i),hd("routerLink","/",t.toLowerCase(),""),C(1),Ue(t)}}kc.\u0275fac=function(e){return new(e||kc)},kc.\u0275mod=te({type:kc}),kc.\u0275inj=X({imports:[Ii.forRoot(HW),Ii]});class Wh{setIndex(e){this.selectedIndex=e}constructor(e){this.router=e,this.navs=["Search","Favorites"],this.selectedIndex=0,e.events.subscribe(t=>{t instanceof oo&&("/search"==t.url?this.selectedIndex=0:"/favorites"==t.url&&(this.selectedIndex=1))})}}Wh.\u0275fac=function(e){return new(e||Wh)(f(pt))},Wh.\u0275cmp=xe({type:Wh,selectors:[["app-root"]],decls:5,vars:1,consts:[[1,"navbar","navbar-expand","bg-transparent"],[1,"container-fluid"],[1,"navbar-nav","ms-auto"],["class","nav-link px-3",3,"active","routerLink","click",4,"ngFor","ngForOf"],[1,"nav-link","px-3",3,"routerLink","click"]],template:function(e,t){1&e&&(_(0,"nav",0)(1,"div",1)(2,"div",2),k(3,UW,2,4,"a",3),y()()(),oe(4,"router-outlet")),2&e&&(C(3),M("ngForOf",t.navs))},dependencies:[Wn,$s,ao],styles:[".navbar-nav[_ngcontent-%COMP%] > .nav-link[_ngcontent-%COMP%]{color:#fff;border-color:transparent;border-style:solid;border-width:2px;border-radius:1em}.navbar-nav[_ngcontent-%COMP%] > .nav-link.active[_ngcontent-%COMP%]{border-color:#fff}"]});class Rc{}Rc.\u0275fac=function(e){return new(e||Rc)},Rc.\u0275mod=te({type:Rc,bootstrap:[Wh]}),Rc.\u0275inj=X({imports:[mi,kr,kc,Ur,$r,vl,Kl,Jl,ec,ac,dc,Oc]}),zz().bootstrapModule(Rc).catch(n=>console.error(n))}},fe=>{var Js;Js=55,fe(fe.s=Js)}]);