"use strict";(self.webpackChunkdropdown=self.webpackChunkdropdown||[]).push([[429],{492:()=>{}},e=>{e(e.s=492)}]);(()=>{"use strict";var e,v={},i={};function a(e){var f=i[e];if(void 0!==f)return f.exports;var r=i[e]={exports:{}};return v[e](r,r.exports,a),r.exports}a.m=v,e=[],a.O=(f,r,u,o)=>{if(!r){var c=1/0;for(n=0;n=o)&&Object.keys(a.O).every(h=>a.O[h](r[l]))?r.splice(l--,1):(t=!1,o0&&e[n-1][2]>o;n--)e[n]=e[n-1];e[n]=[r,u,o]},a.o=(e,f)=>Object.prototype.hasOwnProperty.call(e,f),(()=>{var e={666:0};a.O.j=u=>0===e[u];var f=(u,o)=>{var l,s,[n,c,t]=o,d=0;if(n.some(_=>0!==e[_])){for(l in c)a.o(c,l)&&(a.m[l]=c[l]);if(t)var p=t(a)}for(u&&u(o);d{function W(e){return"function"==typeof e}function zr(e){const n=e(i=>{Error.call(i),i.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const Wr=zr(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((i,r)=>`${r+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function Wn(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class Ze{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const o of n)o.remove(this);else n.remove(this);const{initialTeardown:i}=this;if(W(i))try{i()}catch(o){t=o instanceof Wr?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{od(o)}catch(s){t=t??[],s instanceof Wr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Wr(t)}}add(t){var n;if(t&&t!==this)if(this.closed)od(t);else{if(t instanceof Ze){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Wn(n,t)}remove(t){const{_finalizers:n}=this;n&&Wn(n,t),t instanceof Ze&&t._removeParent(this)}}Ze.EMPTY=(()=>{const e=new Ze;return e.closed=!0,e})();const id=Ze.EMPTY;function rd(e){return e instanceof Ze||e&&"closed"in e&&W(e.remove)&&W(e.add)&&W(e.unsubscribe)}function od(e){W(e)?e():e.unsubscribe()}const bn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},qr={setTimeout(e,t,...n){const{delegate:i}=qr;return i?.setTimeout?i.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=qr;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function sd(e){qr.setTimeout(()=>{const{onUnhandledError:t}=bn;if(!t)throw e;t(e)})}function Gs(){}const Yy=zs("C",void 0,void 0);function zs(e,t,n){return{kind:e,value:t,error:n}}let En=null;function Yr(e){if(bn.useDeprecatedSynchronousErrorHandling){const t=!En;if(t&&(En={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:i}=En;if(En=null,n)throw i}}else e()}class Ws extends Ze{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,rd(t)&&t.add(this)):this.destination=tC}static create(t,n,i){return new ji(t,n,i)}next(t){this.isStopped?Ys(function Xy(e){return zs("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?Ys(function Zy(e){return zs("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Ys(Yy,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Qy=Function.prototype.bind;function qs(e,t){return Qy.call(e,t)}class Jy{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(i){Zr(i)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(i){Zr(i)}else Zr(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Zr(n)}}}class ji extends Ws{constructor(t,n,i){let r;if(super(),W(t)||!t)r={next:t??void 0,error:n??void 0,complete:i??void 0};else{let o;this&&bn.useDeprecatedNextContext?(o=Object.create(t),o.unsubscribe=()=>this.unsubscribe(),r={next:t.next&&qs(t.next,o),error:t.error&&qs(t.error,o),complete:t.complete&&qs(t.complete,o)}):r=t}this.destination=new Jy(r)}}function Zr(e){bn.useDeprecatedSynchronousErrorHandling?function Ky(e){bn.useDeprecatedSynchronousErrorHandling&&En&&(En.errorThrown=!0,En.error=e)}(e):sd(e)}function Ys(e,t){const{onStoppedNotification:n}=bn;n&&qr.setTimeout(()=>n(e,t))}const tC={closed:!0,next:Gs,error:function eC(e){throw e},complete:Gs},Zs="function"==typeof Symbol&&Symbol.observable||"@@observable";function ad(e){return e}let xe=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const i=new e;return i.source=this,i.operator=n,i}subscribe(n,i,r){const o=function iC(e){return e&&e instanceof Ws||function nC(e){return e&&W(e.next)&&W(e.error)&&W(e.complete)}(e)&&rd(e)}(n)?n:new ji(n,i,r);return Yr(()=>{const{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(n){try{return this._subscribe(n)}catch(i){n.error(i)}}forEach(n,i){return new(i=cd(i))((r,o)=>{const s=new ji({next:a=>{try{n(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:r});this.subscribe(s)})}_subscribe(n){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(n)}[Zs](){return this}pipe(...n){return function ld(e){return 0===e.length?ad:1===e.length?e[0]:function(n){return e.reduce((i,r)=>r(i),n)}}(n)(this)}toPromise(n){return new(n=cd(n))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return e.create=t=>new e(t),e})();function cd(e){var t;return null!==(t=e??bn.Promise)&&void 0!==t?t:Promise}const rC=zr(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let tt=(()=>{class e extends xe{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const i=new ud(this,this);return i.operator=n,i}_throwIfClosed(){if(this.closed)throw new rC}next(n){Yr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(n)}})}error(n){Yr(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:i}=this;for(;i.length;)i.shift().error(n)}})}complete(){Yr(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:i,isStopped:r,observers:o}=this;return i||r?id:(this.currentObservers=null,o.push(n),new Ze(()=>{this.currentObservers=null,Wn(o,n)}))}_checkFinalizedStatuses(n){const{hasError:i,thrownError:r,isStopped:o}=this;i?n.error(r):o&&n.complete()}asObservable(){const n=new xe;return n.source=this,n}}return e.create=(t,n)=>new ud(t,n),e})();class ud extends tt{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,i;null===(i=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===i||i.call(n,t)}error(t){var n,i;null===(i=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===i||i.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,i;return null!==(i=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==i?i:id}}function Pt(e){return t=>{if(function oC(e){return W(e?.lift)}(t))return t.lift(function(n){try{return e(n,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function ft(e,t,n,i,r){return new sC(e,t,n,i,r)}class sC extends Ws{constructor(t,n,i,r,o,s){super(t),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(l){t.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){t.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function Hi(e,t){return Pt((n,i)=>{let r=0;n.subscribe(ft(i,o=>{i.next(e.call(t,o,r++))}))})}function on(e){return this instanceof on?(this.v=e,this):new on(e)}function hd(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(f){i[f]&&(r[f]=function(h){return new Promise(function(p,g){o.push([f,h,p,g])>1||a(f,h)})})}function a(f,h){try{!function l(f){f.value instanceof on?Promise.resolve(f.value.v).then(c,u):d(o[0][2],f)}(i[f](h))}catch(p){d(o[0][3],p)}}function c(f){a("next",f)}function u(f){a("throw",f)}function d(f,h){f(h),o.shift(),o.length&&a(o[0][0],o[0][1])}}function pd(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function Js(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},i("next"),i("throw"),i("return"),n[Symbol.asyncIterator]=function(){return this},n);function i(o){n[o]=e[o]&&function(s){return new Promise(function(a,l){!function r(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}(a,l,(s=e[o](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const ea=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function gd(e){return W(e?.then)}function md(e){return W(e[Zs])}function _d(e){return Symbol.asyncIterator&&W(e?.[Symbol.asyncIterator])}function vd(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const yd=function xC(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Cd(e){return W(e?.[yd])}function Dd(e){return hd(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:i,done:r}=yield on(n.read());if(r)return yield on(void 0);yield yield on(i)}}finally{n.releaseLock()}})}function wd(e){return W(e?.getReader)}function ht(e){if(e instanceof xe)return e;if(null!=e){if(md(e))return function TC(e){return new xe(t=>{const n=e[Zs]();if(W(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(ea(e))return function AC(e){return new xe(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,sd)})}(e);if(_d(e))return bd(e);if(Cd(e))return function OC(e){return new xe(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(wd(e))return function RC(e){return bd(Dd(e))}(e)}throw vd(e)}function bd(e){return new xe(t=>{(function PC(e,t){var n,i,r,o;return function dd(e,t,n,i){return new(n||(n=Promise))(function(o,s){function a(u){try{c(i.next(u))}catch(d){s(d)}}function l(u){try{c(i.throw(u))}catch(d){s(d)}}function c(u){u.done?o(u.value):function r(o){return o instanceof n?o:new n(function(s){s(o)})}(u.value).then(a,l)}c((i=i.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=pd(e);!(i=yield n.next()).done;)if(t.next(i.value),t.closed)return}catch(s){r={error:s}}finally{try{i&&!i.done&&(o=n.return)&&(yield o.call(n))}finally{if(r)throw r.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function sn(e,t,n,i=0,r=!1){const o=t.schedule(function(){n(),r?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(o),!r)return o}function ta(e,t,n=1/0){return W(t)?ta((i,r)=>Hi((o,s)=>t(i,o,r,s))(ht(e(i,r))),n):("number"==typeof t&&(n=t),Pt((i,r)=>function kC(e,t,n,i,r,o,s,a){const l=[];let c=0,u=0,d=!1;const f=()=>{d&&!l.length&&!c&&t.complete()},h=g=>c{o&&t.next(g),c++;let _=!1;ht(n(g,u++)).subscribe(ft(t,C=>{r?.(C),o?h(C):t.next(C)},()=>{_=!0},void 0,()=>{if(_)try{for(c--;l.length&&cp(C)):p(C)}f()}catch(C){t.error(C)}}))};return e.subscribe(ft(t,h,()=>{d=!0,f()})),()=>{a?.()}}(i,r,e,n)))}const na=new xe(e=>e.complete());function Ed(e){return e&&W(e.schedule)}function ia(e){return e[e.length-1]}function Sd(e){return Ed(ia(e))?e.pop():void 0}function Id(e,t=0){return Pt((n,i)=>{n.subscribe(ft(i,r=>sn(i,e,()=>i.next(r),t),()=>sn(i,e,()=>i.complete(),t),r=>sn(i,e,()=>i.error(r),t)))})}function Md(e,t=0){return Pt((n,i)=>{i.add(e.schedule(()=>n.subscribe(i),t))})}function xd(e,t){if(!e)throw new Error("Iterable cannot be null");return new xe(n=>{sn(n,t,()=>{const i=e[Symbol.asyncIterator]();sn(n,t,()=>{i.next().then(r=>{r.done?n.complete():n.next(r.value)})},0,!0)})})}function ra(e,t){return t?function zC(e,t){if(null!=e){if(md(e))return function jC(e,t){return ht(e).pipe(Md(t),Id(t))}(e,t);if(ea(e))return function $C(e,t){return new xe(n=>{let i=0;return t.schedule(function(){i===e.length?n.complete():(n.next(e[i++]),n.closed||this.schedule())})})}(e,t);if(gd(e))return function HC(e,t){return ht(e).pipe(Md(t),Id(t))}(e,t);if(_d(e))return xd(e,t);if(Cd(e))return function UC(e,t){return new xe(n=>{let i;return sn(n,t,()=>{i=e[yd](),sn(n,t,()=>{let r,o;try{({value:r,done:o}=i.next())}catch(s){return void n.error(s)}o?n.complete():n.next(r)},0,!0)}),()=>W(i?.return)&&i.return()})}(e,t);if(wd(e))return function GC(e,t){return xd(Dd(e),t)}(e,t)}throw vd(e)}(e,t):ht(e)}function oa(...e){const t=Sd(e),n=function BC(e,t){return"number"==typeof ia(e)?e.pop():t}(e,1/0),i=e;return i.length?1===i.length?ht(i[0]):function NC(e=1/0){return ta(ad,e)}(n)(ra(i,t)):na}function sa(e,t,...n){if(!0===t)return void e();if(!1===t)return;const i=new ji({next:()=>{i.unsubscribe(),e()}});return t(...n).subscribe(i)}function X(e){for(let t in e)if(e[t]===X)return t;throw Error("Could not find renamed property on target object.")}function aa(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function K(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(K).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function la(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const qC=X({__forward_ref__:X});function Q(e){return e.__forward_ref__=Q,e.toString=function(){return K(this())},e}function A(e){return ca(e)?e():e}function ca(e){return"function"==typeof e&&e.hasOwnProperty(qC)&&e.__forward_ref__===Q}class S extends Error{constructor(t,n){super(function Xr(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function P(e){return"string"==typeof e?e:null==e?"":String(e)}function Kr(e,t){throw new S(-201,!1)}function it(e,t){null==e&&function q(e,t,n,i){throw new Error(`ASSERTION ERROR: ${e}`+(null==i?"":` [Expected=> ${n} ${i} ${t} <=Actual]`))}(t,e,null,"!=")}function N(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function pe(e){return{providers:e.providers||[],imports:e.imports||[]}}function Qr(e){return Td(e,Jr)||Td(e,Fd)}function Td(e,t){return e.hasOwnProperty(t)?e[t]:null}function Ad(e){return e&&(e.hasOwnProperty(ua)||e.hasOwnProperty(tD))?e[ua]:null}const Jr=X({\u0275prov:X}),ua=X({\u0275inj:X}),Fd=X({ngInjectableDef:X}),tD=X({ngInjectorDef:X});var F=(()=>((F=F||{})[F.Default=0]="Default",F[F.Host=1]="Host",F[F.Self=2]="Self",F[F.SkipSelf=4]="SkipSelf",F[F.Optional=8]="Optional",F))();let da;function pt(e){const t=da;return da=e,t}function Od(e,t,n){const i=Qr(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&F.Optional?null:void 0!==t?t:void Kr(K(e))}function an(e){return{toString:e}.toString()}var Dt=(()=>((Dt=Dt||{})[Dt.OnPush=0]="OnPush",Dt[Dt.Default=1]="Default",Dt))(),kt=(()=>{return(e=kt||(kt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",kt;var e})();const J=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),qn={},G=[],eo=X({\u0275cmp:X}),fa=X({\u0275dir:X}),ha=X({\u0275pipe:X}),Rd=X({\u0275mod:X}),Wt=X({\u0275fac:X}),$i=X({__NG_ELEMENT_ID__:X});let iD=0;function qt(e){return an(()=>{const n=!0===e.standalone,i={},r={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:i,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Dt.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||G,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||kt.Emulated,id:"c"+iD++,styles:e.styles||G,_:null,setInput:null,schemas:e.schemas||null,tView:null},o=e.dependencies,s=e.features;return r.inputs=Nd(e.inputs,i),r.outputs=Nd(e.outputs),s&&s.forEach(a=>a(r)),r.directiveDefs=o?()=>("function"==typeof o?o():o).map(Pd).filter(kd):null,r.pipeDefs=o?()=>("function"==typeof o?o():o).map(He).filter(kd):null,r})}function Pd(e){return Y(e)||je(e)}function kd(e){return null!==e}function ve(e){return an(()=>({type:e.type,bootstrap:e.bootstrap||G,declarations:e.declarations||G,imports:e.imports||G,exports:e.exports||G,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Nd(e,t){if(null==e)return qn;const n={};for(const i in e)if(e.hasOwnProperty(i)){let r=e[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),n[r]=i,t&&(t[r]=o)}return n}const O=qt;function Y(e){return e[eo]||null}function je(e){return e[fa]||null}function He(e){return e[ha]||null}const L=11;function Ke(e){return Array.isArray(e)&&"object"==typeof e[1]}function bt(e){return Array.isArray(e)&&!0===e[1]}function ma(e){return 0!=(8&e.flags)}function ro(e){return 2==(2&e.flags)}function oo(e){return 1==(1&e.flags)}function Et(e){return null!==e.template}function cD(e){return 0!=(256&e[2])}function Tn(e,t){return e.hasOwnProperty(Wt)?e[Wt]:null}class Bd{constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}}function Nt(){return jd}function jd(e){return e.type.prototype.ngOnChanges&&(e.setInput=hD),fD}function fD(){const e=$d(this),t=e?.current;if(t){const n=e.previous;if(n===qn)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function hD(e,t,n,i){const r=$d(e)||function pD(e,t){return e[Hd]=t}(e,{previous:qn,current:null}),o=r.current||(r.current={}),s=r.previous,a=this.declaredInputs[n],l=s[a];o[a]=new Bd(l&&l.currentValue,t,s===qn),e[i]=t}Nt.ngInherit=!0;const Hd="__ngSimpleChanges__";function $d(e){return e[Hd]||null}function ye(e){for(;Array.isArray(e);)e=e[0];return e}function so(e,t){return ye(t[e])}function st(e,t){return ye(t[e.index])}function Da(e,t){return e.data[t]}function at(e,t){const n=t[e];return Ke(n)?n:n[0]}function ao(e){return 64==(64&e[2])}function ln(e,t){return null==t?null:e[t]}function Ud(e){e[18]=0}function wa(e,t){e[5]+=t;let n=e,i=e[3];for(;null!==i&&(1===t&&1===n[5]||-1===t&&0===n[5]);)i[5]+=t,n=i,i=i[3]}const R={lFrame:tf(null),bindingsEnabled:!0};function zd(){return R.bindingsEnabled}function v(){return R.lFrame.lView}function H(){return R.lFrame.tView}function Ee(){let e=Yd();for(;null!==e&&64===e.type;)e=e.parent;return e}function Yd(){return R.lFrame.currentTNode}function Vt(e,t){const n=R.lFrame;n.currentTNode=e,n.isParent=t}function ba(){return R.lFrame.isParent}function Ea(){R.lFrame.isParent=!1}function Qn(){return R.lFrame.bindingIndex++}function Zt(e){const t=R.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function TD(e,t){const n=R.lFrame;n.bindingIndex=n.bindingRootIndex=e,Sa(t)}function Sa(e){R.lFrame.currentDirectiveIndex=e}function Qd(){return R.lFrame.currentQueryIndex}function Ma(e){R.lFrame.currentQueryIndex=e}function FD(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Jd(e,t,n){if(n&F.SkipSelf){let r=t,o=e;for(;!(r=r.parent,null!==r||n&F.Host||(r=FD(o),null===r||(o=o[15],10&r.type))););if(null===r)return!1;t=r,e=o}const i=R.lFrame=ef();return i.currentTNode=t,i.lView=e,!0}function xa(e){const t=ef(),n=e[1];R.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function ef(){const e=R.lFrame,t=null===e?null:e.child;return null===t?tf(e):t}function tf(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function nf(){const e=R.lFrame;return R.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const rf=nf;function Ta(){const e=nf();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Ue(){return R.lFrame.selectedIndex}function cn(e){R.lFrame.selectedIndex=e}function se(){const e=R.lFrame;return Da(e.tView,e.selectedIndex)}function lo(e,t){for(let n=t.directiveStart,i=t.directiveEnd;n=i)break}else t[l]<0&&(e[18]+=65536),(a>11>16&&(3&e[2])===t){e[2]+=2048;try{o.call(a)}finally{}}}else try{o.call(a)}finally{}}class Zi{constructor(t,n,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}}function fo(e,t,n){let i=0;for(;it){s=o-1;break}}}for(;o>16}(e),i=t;for(;n>0;)i=i[15],n--;return i}let Oa=!0;function po(e){const t=Oa;return Oa=e,t}let zD=0;const Lt={};function Ki(e,t){const n=Pa(e,t);if(-1!==n)return n;const i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,Ra(i.data,e),Ra(t,null),Ra(i.blueprint,null));const r=go(e,t),o=e.injectorIndex;if(df(r)){const s=Jn(r),a=ei(r,t),l=a[1].data;for(let c=0;c<8;c++)t[o+c]=a[s+c]|l[s+c]}return t[o+8]=r,o}function Ra(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Pa(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function go(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,r=t;for(;null!==r;){if(i=Cf(r),null===i)return-1;if(n++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function mo(e,t,n){!function WD(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty($i)&&(i=n[$i]),null==i&&(i=n[$i]=zD++);const r=255&i;t.data[e+(r>>5)]|=1<=0?255&t:XD:t}(n);if("function"==typeof o){if(!Jd(t,e,i))return i&F.Host?pf(r,0,i):gf(t,n,i,r);try{const s=o(i);if(null!=s||i&F.Optional)return s;Kr()}finally{rf()}}else if("number"==typeof o){let s=null,a=Pa(e,t),l=-1,c=i&F.Host?t[16][6]:null;for((-1===a||i&F.SkipSelf)&&(l=-1===a?go(e,t):t[a+8],-1!==l&&yf(i,!1)?(s=t[1],a=Jn(l),t=ei(l,t)):a=-1);-1!==a;){const u=t[1];if(vf(o,a,u.data)){const d=YD(a,t,n,s,i,c);if(d!==Lt)return d}l=t[a+8],-1!==l&&yf(i,t[1].data[a+8]===c)&&vf(o,a,t)?(s=u,a=Jn(l),t=ei(l,t)):a=-1}}return r}function YD(e,t,n,i,r,o){const s=t[1],a=s.data[e+8],u=_o(a,s,n,null==i?ro(a)&&Oa:i!=s&&0!=(3&a.type),r&F.Host&&o===a);return null!==u?Qi(t,s,u,a):Lt}function _o(e,t,n,i,r){const o=e.providerIndexes,s=t.data,a=1048575&o,l=e.directiveStart,u=o>>20,f=r?a+u:e.directiveEnd;for(let h=i?a:a+u;h=l&&p.type===n)return h}if(r){const h=s[l];if(h&&Et(h)&&h.type===n)return l}return null}function Qi(e,t,n,i){let r=e[n];const o=t.data;if(function jD(e){return e instanceof Zi}(r)){const s=r;s.resolving&&function YC(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new S(-200,`Circular dependency in DI detected for ${e}${n}`)}(function U(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():P(e)}(o[n]));const a=po(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?pt(s.injectImpl):null;Jd(e,i,F.Default);try{r=e[n]=s.factory(void 0,o,e,i),t.firstCreatePass&&n>=i.directiveStart&&function LD(e,t,n){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=t.type.prototype;if(i){const s=jd(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s)}r&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,r),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o))}(n,o[n],t)}finally{null!==l&&pt(l),po(a),s.resolving=!1,rf()}}return r}function vf(e,t,n){return!!(n[t+(e>>5)]&1<{const t=ka(A(e));return t&&t()}:Tn(e)}function Cf(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}const ii="__parameters__";function oi(e,t,n){return an(()=>{const i=function Va(e){return function(...n){if(e){const i=e(...n);for(const r in i)this[r]=i[r]}}}(t);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,u){const d=l.hasOwnProperty(ii)?l[ii]:Object.defineProperty(l,ii,{value:[]})[ii];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}class x{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=N({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function lt(e,t){void 0===t&&(t=e);for(let n=0;nArray.isArray(n)?Xt(n,t):t(n))}function wf(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function vo(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function tr(e,t){const n=[];for(let i=0;i=0?e[1|i]=n:(i=~i,function tw(e,t,n,i){let r=e.length;if(r==t)e.push(n,i);else if(1===r)e.push(i,e[0]),e[0]=n;else{for(r--,e.push(e[r-1],e[r]);r>t;)e[r]=e[r-2],r--;e[t]=n,e[t+1]=i}}(e,i,t,n)),i}function Ba(e,t){const n=si(e,t);if(n>=0)return e[1|n]}function si(e,t){return function Sf(e,t,n){let i=0,r=e.length>>n;for(;r!==i;){const o=i+(r-i>>1),s=e[o<t?r=o:i=o+1}return~(r<((Qe=Qe||{})[Qe.Important=1]="Important",Qe[Qe.DashCase=2]="DashCase",Qe))();const qa=new Map;let Aw=0;const Za="__ngContext__";function Ve(e,t){Ke(t)?(e[Za]=t[20],function Ow(e){qa.set(e[20],e)}(t)):e[Za]=t}function Ka(e,t){return undefined(e,t)}function lr(e){const t=e[3];return bt(t)?t[3]:t}function Qa(e){return qf(e[13])}function Ja(e){return qf(e[4])}function qf(e){for(;null!==e&&!bt(e);)e=e[4];return e}function ci(e,t,n,i,r){if(null!=i){let o,s=!1;bt(i)?o=i:Ke(i)&&(s=!0,i=i[0]);const a=ye(i);0===e&&null!==n?null==r?Jf(t,n,a):An(t,n,a,r||null,!0):1===e&&null!==n?An(t,n,a,r||null,!0):2===e?function sl(e,t,n){const i=Io(e,t);i&&function eb(e,t,n,i){e.removeChild(t,n,i)}(e,i,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=o&&function ib(e,t,n,i,r){const o=n[7];o!==ye(n)&&ci(t,e,i,o,r);for(let a=10;a0&&(e[n-1][4]=i[4]);const o=vo(e,10+t);!function Ww(e,t){cr(e,t,t[L],2,null,null),t[0]=null,t[6]=null}(i[1],i);const s=o[19];null!==s&&s.detachView(o[1]),i[3]=null,i[4]=null,i[2]&=-65}return i}function Xf(e,t){if(!(128&t[2])){const n=t[L];n.destroyNode&&cr(e,t,n,3,null,null),function Zw(e){let t=e[13];if(!t)return il(e[1],e);for(;t;){let n=null;if(Ke(t))n=t[13];else{const i=t[10];i&&(n=i)}if(!n){for(;t&&!t[4]&&t!==e;)Ke(t)&&il(t[1],t),t=t[3];null===t&&(t=e),Ke(t)&&il(t[1],t),n=t&&t[4]}t=n}}(t)}}function il(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function Jw(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let i=0;i=0?i[r=c]():i[r=-c].unsubscribe(),o+=2}else{const s=i[r=n[o+1]];n[o].call(s)}if(null!==i){for(let o=r+1;o{const s=o;ml(s,n,[],i)&&(r||(r=[]),r.push(s))}),void 0!==r&&Ih(r,n),n}function Ih(e,t){for(let n=0;n{t.push(o)})}}function ml(e,t,n,i){if(!(e=A(e)))return!1;let r=null,o=Ad(e);const s=!o&&Y(e);if(o||s){if(s&&!s.standalone)return!1;r=e}else{const l=e.ngModule;if(o=Ad(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)ml(c,t,n,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{Xt(o.imports,u=>{ml(u,t,n,i)&&(c||(c=[]),c.push(u))})}finally{}void 0!==c&&Ih(c,t)}if(!a){const c=Tn(r)||(()=>new r);t.push({provide:r,useFactory:c,deps:G},{provide:bh,useValue:r,multi:!0},{provide:Dh,useValue:()=>D(r),multi:!0})}const l=o.providers;null==l||a||Xt(l,u=>{t.push(u)})}}return r!==e&&void 0!==e.providers}const Rb=X({provide:String,useValue:X});function _l(e){return null!==e&&"object"==typeof e&&Rb in e}function On(e){return"function"==typeof e}const vl=new x("Set Injector scope."),Oo={},kb={};let yl;function Ro(){return void 0===yl&&(yl=new Eh),yl}class ui{}class Th extends ui{constructor(t,n,i,r){super(),this.parent=n,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Dl(t,s=>this.processProvider(s)),this.records.set(wh,di(void 0,this)),r.has("environment")&&this.records.set(ui,di(void 0,this));const o=this.records.get(vl);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(bh.multi,G,F.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=ai(this),i=pt(void 0);try{return t()}finally{ai(n),pt(i)}}get(t,n=nr,i=F.Default){this.assertNotDestroyed();const r=ai(this),o=pt(void 0);try{if(!(i&F.SkipSelf)){let a=this.records.get(t);if(void 0===a){const l=function jb(e){return"function"==typeof e||"object"==typeof e&&e instanceof x}(t)&&Qr(t);a=l&&this.injectableDefInScope(l)?di(Cl(t),Oo):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(i&F.Self?Ro():this.parent).get(t,n=i&F.Optional&&n===nr?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[Co]=s[Co]||[]).unshift(K(t)),r)throw s;return function hw(e,t,n,i){const r=e[Co];throw t[If]&&r.unshift(t[If]),e.message=function pw(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let r=K(t);if(Array.isArray(t))r=t.map(K).join(" -> ");else if("object"==typeof t){let o=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):K(a)))}r=`{${o.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${e.replace(cw,"\n ")}`}("\n"+e.message,r,n,i),e.ngTokenPath=r,e[Co]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{pt(o),ai(r)}}resolveInjectorInitializers(){const t=ai(this),n=pt(void 0);try{const i=this.get(Dh.multi,G,F.Self);for(const r of i)r()}finally{ai(t),pt(n)}}toString(){const t=[],n=this.records;for(const i of n.keys())t.push(K(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new S(205,!1)}processProvider(t){let n=On(t=A(t))?t:A(t&&t.provide);const i=function Vb(e){return _l(e)?di(void 0,e.useValue):di(Ah(e),Oo)}(t);if(On(t)||!0!==t.multi)this.records.get(n);else{let r=this.records.get(n);r||(r=di(void 0,Oo,!0),r.factory=()=>$a(r.multi),this.records.set(n,r)),n=t,r.multi.push(t)}this.records.set(n,i)}hydrate(t,n){return n.value===Oo&&(n.value=kb,n.value=n.factory()),"object"==typeof n.value&&n.value&&function Bb(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=A(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function Cl(e){const t=Qr(e),n=null!==t?t.factory:Tn(e);if(null!==n)return n;if(e instanceof x)throw new S(204,!1);if(e instanceof Function)return function Nb(e){const t=e.length;if(t>0)throw tr(t,"?"),new S(204,!1);const n=function JC(e){const t=e&&(e[Jr]||e[Fd]);if(t){const n=function eD(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new S(204,!1)}function Ah(e,t,n){let i;if(On(e)){const r=A(e);return Tn(r)||Cl(r)}if(_l(e))i=()=>A(e.useValue);else if(function xh(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...$a(e.deps||[]));else if(function Mh(e){return!(!e||!e.useExisting)}(e))i=()=>D(A(e.useExisting));else{const r=A(e&&(e.useClass||e.provide));if(!function Lb(e){return!!e.deps}(e))return Tn(r)||Cl(r);i=()=>new r(...$a(e.deps))}return i}function di(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Hb(e){return!!e.\u0275providers}function Dl(e,t){for(const n of e)Array.isArray(n)?Dl(n,t):Hb(n)?Dl(n.\u0275providers,t):t(n)}class Fh{}class Gb{resolveComponentFactory(t){throw function Ub(e){const t=Error(`No component factory found for ${K(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Rn=(()=>{class e{}return e.NULL=new Gb,e})();function zb(){return fi(Ee(),v())}function fi(e,t){return new Ae(st(e,t))}let Ae=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=zb,e})();function Wb(e){return e instanceof Ae?e.nativeElement:e}class Rh{}let Pn=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function qb(){const e=v(),n=at(Ee().index,e);return(Ke(n)?n:e)[L]}(),e})(),Yb=(()=>{class e{}return e.\u0275prov=N({token:e,providedIn:"root",factory:()=>null}),e})();class hr{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Zb=new hr("14.3.0"),wl={};function El(e){return e.ngOriginalError}class hi{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&El(t);for(;n&&El(n);)n=El(n);return n||null}}function Ph(e){return e.ownerDocument.defaultView}function kh(e){return e.ownerDocument}function Vh(e,t,n){let i=e.length;for(;;){const r=e.indexOf(t,n);if(-1===r)return r;if(0===r||e.charCodeAt(r-1)<=32){const o=t.length;if(r+o===i||e.charCodeAt(r+o)<=32)return r}n=r+1}}const Lh="ng-template";function rE(e,t,n){let i=0;for(;io?"":r[d+1].toLowerCase();const h=8&i?f:null;if(h&&-1!==Vh(h,c,0)||2&i&&c!==f){if(St(i))return!1;s=!0}}}}else{if(!s&&!St(i)&&!St(l))return!1;if(s&&St(l))continue;s=!1,i=l|1&i}}return St(i)||s}function St(e){return 0==(1&e)}function aE(e,t,n,i){if(null===t)return-1;let r=0;if(i||!n){let o=!1;for(;r-1)for(n++;n0?'="'+a+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);else""!==r&&!St(s)&&(t+=Hh(o,r),r=""),i=s,o=o||!St(i);n++}return""!==r&&(t+=Hh(o,r)),t}const k={};function Z(e){$h(H(),v(),Ue()+e,!1)}function $h(e,t,n,i){if(!i)if(3==(3&t[2])){const o=e.preOrderCheckHooks;null!==o&&co(t,o,n)}else{const o=e.preOrderHooks;null!==o&&uo(t,o,0,n)}cn(n)}function Wh(e,t=null,n=null,i){const r=qh(e,t,n,i);return r.resolveInjectorInitializers(),r}function qh(e,t=null,n=null,i,r=new Set){const o=[n||G,Ob(e)];return i=i||("object"==typeof e?void 0:K(e)),new Th(o,t||Ro(),i||null,r)}let _t=(()=>{class e{static create(n,i){if(Array.isArray(n))return Wh({name:""},i,n,"");{const r=n.name??"";return Wh({name:r},n.parent,n.providers,r)}}}return e.THROW_IF_NOT_FOUND=nr,e.NULL=new Eh,e.\u0275prov=N({token:e,providedIn:"any",factory:()=>D(wh)}),e.__NG_ELEMENT_ID__=-1,e})();function y(e,t=F.Default){const n=v();return null===n?D(e,t):mf(Ee(),n,A(e),t)}function ko(e,t){return e<<17|t<<2}function It(e){return e>>17&32767}function Tl(e){return 2|e}function Jt(e){return(131068&e)>>2}function Al(e,t){return-131069&e|t<<2}function Fl(e){return 1|e}function up(e,t){const n=e.contentQueries;if(null!==n)for(let i=0;i22&&$h(e,t,22,!1),n(i,r)}finally{cn(o)}}function fp(e,t,n){if(ma(t)){const r=t.directiveEnd;for(let o=t.directiveStart;o0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(a)!=l&&a.push(l),a.push(i,r,s)}}function yp(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Cp(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function o0(e,t,n){if(n){if(t.exportAs)for(let i=0;i0&&Wl(n)}}function Wl(e){for(let i=Qa(e);null!==i;i=Ja(i))for(let r=10;r0&&Wl(o)}const n=e[1].components;if(null!==n)for(let i=0;i0&&Wl(r)}}function f0(e,t){const n=at(t,e),i=n[1];(function h0(e,t){for(let n=t.length;n-1&&(nl(t,i),vo(n,i))}this._attachedToViewContainer=!1}Xf(this._lView[1],this._lView)}onDestroy(t){pp(this._lView[1],this._lView,null,t)}markForCheck(){ql(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){Ho(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new S(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Yw(e,t){cr(e,t,t[L],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new S(902,!1);this._appRef=t}}class p0 extends pr{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Ho(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class Xl extends Rn{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Y(t);return new gr(n,this.ngModule)}}function xp(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class m0{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,i){const r=this.injector.get(t,wl,i);return r!==wl||n===wl?r:this.parentInjector.get(t,n,i)}}class gr extends Fh{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function hE(e){return e.map(fE).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return xp(this.componentDef.inputs)}get outputs(){return xp(this.componentDef.outputs)}create(t,n,i,r){let o=(r=r||this.ngModule)instanceof ui?r:r?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const s=o?new m0(t,o):t,a=s.get(Rh,null);if(null===a)throw new S(407,!1);const l=s.get(Yb,null),c=a.createRenderer(null,this.componentDef),u=this.componentDef.selectors[0][0]||"div",d=i?function YE(e,t,n){return e.selectRootElement(t,n===kt.ShadowDom)}(c,i,this.componentDef.encapsulation):tl(c,u,function g0(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(u)),f=this.componentDef.onPush?288:272,h=Ul(0,null,null,1,0,null,null,null,null,null),p=Lo(null,h,null,f,null,null,a,c,l,s,null);let g,_;xa(p);try{const C=function y0(e,t,n,i,r,o){const s=n[1];n[22]=e;const l=mi(s,22,2,"#host",null),c=l.mergedAttrs=t.hostAttrs;null!==c&&($o(l,c,!0),null!==e&&(fo(r,e,c),null!==l.classes&&ll(r,e,l.classes),null!==l.styles&&ah(r,e,l.styles)));const u=i.createRenderer(e,t),d=Lo(n,hp(t),null,t.onPush?32:16,n[22],l,i,u,o||null,null,null);return s.firstCreatePass&&(mo(Ki(l,n),s,t.type),Cp(s,l),Dp(l,n.length,1)),jo(n,d),n[22]=d}(d,this.componentDef,p,a,c);if(d)if(i)fo(c,d,["ng-version",Zb.full]);else{const{attrs:E,classes:m}=function pE(e){const t=[],n=[];let i=1,r=2;for(;i0&&ll(c,d,m.join(" "))}if(_=Da(h,22),void 0!==n){const E=_.projection=[];for(let m=0;m=0;i--){const r=e[i];r.hostVars=t+=r.hostVars,r.hostAttrs=ho(r.hostAttrs,n=ho(n,r.hostAttrs))}}(i)}function Kl(e){return e===qn?{}:e===G?[]:e}function b0(e,t){const n=e.viewQuery;e.viewQuery=n?(i,r)=>{t(i,r),n(i,r)}:t}function E0(e,t){const n=e.contentQueries;e.contentQueries=n?(i,r,o)=>{t(i,r,o),n(i,r,o)}:t}function S0(e,t){const n=e.hostBindings;e.hostBindings=n?(i,r)=>{t(i,r),n(i,r)}:t}let Go=null;function kn(){if(!Go){const e=J.Symbol;if(e&&e.iterator)Go=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;na(ye($[i.index])):i.index;let I=null;if(!a&&l&&(I=function L0(e,t,n,i){const r=e.cleanup;if(null!=r)for(let o=0;ol?a[l]:null}"string"==typeof s&&(o+=2)}return null}(e,t,r,i.index)),null!==I)(I.__ngLastListenerFn__||I).__ngNextListenerFn__=o,I.__ngLastListenerFn__=o,h=!1;else{o=zp(i,t,d,o,!1);const $=n.listen(C,r,o);f.push(o,$),u&&u.push(r,m,E,E+1)}}else o=zp(i,t,d,o,!1);const p=i.outputs;let g;if(h&&null!==p&&(g=p[r])){const _=g.length;if(_)for(let C=0;C<_;C+=2){const oe=t[g[C]][g[C+1]].subscribe(o),zn=f.length;f.push(o,oe),u&&u.push(r,i.index,zn,-(zn+1))}}}(o,r,r[L],s,e,t,0,i),Fe}function Gp(e,t,n,i){try{return!1!==n(i)}catch(r){return Mp(e,r),!1}}function zp(e,t,n,i,r){return function o(s){if(s===Function)return i;ql(2&e.flags?at(e.index,t):t);let l=Gp(t,0,i,s),c=o.__ngNextListenerFn__;for(;c;)l=Gp(t,0,c,s)&&l,c=c.__ngNextListenerFn__;return r&&!1===l&&(s.preventDefault(),s.returnValue=!1),l}}function Oe(e=1){return function OD(e){return(R.lFrame.contextLView=function RD(e,t){for(;e>0;)t=t[15],e--;return t}(e,R.lFrame.contextLView))[8]}(e)}function B0(e,t){let n=null;const i=function lE(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e);for(let r=0;r=0}const Ie={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ng(e){return e.substring(Ie.key,Ie.keyEnd)}function U0(e){return e.substring(Ie.value,Ie.valueEnd)}function ig(e,t){const n=Ie.textEnd;return n===t?-1:(t=Ie.keyEnd=function W0(e,t,n){for(;t32;)t++;return t}(e,Ie.key=t,n),Ti(e,t,n))}function rg(e,t){const n=Ie.textEnd;let i=Ie.key=Ti(e,t,n);return n===i?-1:(i=Ie.keyEnd=function q0(e,t,n){let i;for(;t=65&&(-33&i)<=90||i>=48&&i<=57);)t++;return t}(e,i,n),i=sg(e,i,n),i=Ie.value=Ti(e,i,n),i=Ie.valueEnd=function Y0(e,t,n){let i=-1,r=-1,o=-1,s=t,a=s;for(;s32&&(a=s),o=r,r=i,i=-33&l}return a}(e,i,n),sg(e,i,n))}function og(e){Ie.key=0,Ie.keyEnd=0,Ie.value=0,Ie.valueEnd=0,Ie.textEnd=e.length}function Ti(e,t,n){for(;t=0;n=rg(t,n))dg(e,ng(t),U0(t))}function $t(e,t){for(let n=function G0(e){return og(e),ig(e,Ti(e,0,Ie.textEnd))}(t);n>=0;n=ig(t,n))ct(e,ng(t),!0)}function xt(e,t,n,i){const r=v(),o=H(),s=Zt(2);o.firstUpdatePass&&ug(o,e,s,i),t!==k&&Le(r,s,t)&&fg(o,o.data[Ue()],r,r[L],e,r[s+1]=function nS(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=K(dn(e)))),e}(t,n),i,s)}function Tt(e,t,n,i){const r=H(),o=Zt(2);r.firstUpdatePass&&ug(r,null,o,i);const s=v();if(n!==k&&Le(s,o,n)){const a=r.data[Ue()];if(pg(a,i)&&!cg(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(n=la(l,n||"")),Jl(r,a,s,n,i)}else!function tS(e,t,n,i,r,o,s,a){r===k&&(r=G);let l=0,c=0,u=0=e.expandoStartIndex}function ug(e,t,n,i){const r=e.data;if(null===r[n+1]){const o=r[Ue()],s=cg(e,n);pg(o,i)&&null===t&&!s&&(t=!1),t=function X0(e,t,n,i){const r=function Ia(e){const t=R.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let o=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(n=Cr(n=ic(null,e,t,n,i),t.attrs,i),o=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==r)if(n=ic(r,e,t,n,i),null===o){let l=function K0(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==Jt(i))return e[It(i)]}(e,t,i);void 0!==l&&Array.isArray(l)&&(l=ic(null,e,t,l[1],i),l=Cr(l,t.attrs,i),function Q0(e,t,n,i){e[It(n?t.classBindings:t.styleBindings)]=i}(e,t,i,l))}else o=function J0(e,t,n){let i;const r=t.directiveEnd;for(let o=1+t.directiveStylingLast;o0)&&(c=!0)}else u=n;if(r)if(0!==l){const f=It(e[a+1]);e[i+1]=ko(f,a),0!==f&&(e[f+1]=Al(e[f+1],i)),e[a+1]=function PE(e,t){return 131071&e|t<<17}(e[a+1],i)}else e[i+1]=ko(a,0),0!==a&&(e[a+1]=Al(e[a+1],i)),a=i;else e[i+1]=ko(l,0),0===a?a=i:e[l+1]=Al(e[l+1],i),l=i;c&&(e[i+1]=Tl(e[i+1])),tg(e,u,i,!0),tg(e,u,i,!1),function H0(e,t,n,i,r){const o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&si(o,t)>=0&&(n[i+1]=Fl(n[i+1]))}(t,u,e,i,o),s=ko(a,l),o?t.classBindings=s:t.styleBindings=s}(r,o,t,n,s,i)}}function ic(e,t,n,i,r){let o=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const l=e[r],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let f=n[r+1];f===k&&(f=d?G:void 0);let h=d?Ba(f,i):u===i?f:void 0;if(c&&!Zo(h)&&(h=Ba(l,i)),Zo(h)&&(a=h,s))return a;const p=e[r+1];r=s?It(p):Jt(p)}if(null!==t){let l=o?t.residualClasses:t.residualStyles;null!=l&&(a=Ba(l,i))}return a}function Zo(e){return void 0!==e}function pg(e,t){return 0!=(e.flags&(t?16:32))}function pn(e,t=""){const n=v(),i=H(),r=e+22,o=i.firstCreatePass?mi(i,r,1,t,null):i.data[r],s=n[r]=function el(e,t){return e.createText(t)}(n[L],t);Mo(i,n,s,o),Vt(o,!1)}function Vn(e){return Xo("",e,""),Vn}function Xo(e,t,n){const i=v(),r=yi(i,e,t,n);return r!==k&&function en(e,t,n){const i=so(t,e);!function Yf(e,t,n){e.setValue(t,n)}(e[L],i,n)}(i,Ue(),r),Xo}function Re(e,t,n){Tt(ct,$t,yi(v(),e,t,n),!0)}const Fi="en-US";let Vg=Fi;function sc(e,t,n,i,r){if(e=A(e),Array.isArray(e))for(let o=0;o>20;if(On(e)||!e.multi){const h=new Zi(l,r,y),p=lc(a,t,r?u:u+f,d);-1===p?(mo(Ki(c,s),o,a),ac(o,e,t.length),t.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(h),s.push(h)):(n[p]=h,s[p]=h)}else{const h=lc(a,t,u+f,d),p=lc(a,t,u,u+f),g=h>=0&&n[h],_=p>=0&&n[p];if(r&&!_||!r&&!g){mo(Ki(c,s),o,a);const C=function vI(e,t,n,i,r){const o=new Zi(e,n,y);return o.multi=[],o.index=t,o.componentProviders=0,lm(o,r,i&&!n),o}(r?_I:mI,n.length,r,i,l);!r&&_&&(n[p].providerFactory=C),ac(o,e,t.length,0),t.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(C),s.push(C)}else ac(o,e,h>-1?h:p,lm(n[r?p:h],l,!r&&i));!r&&i&&_&&n[p].componentProviders++}}}function ac(e,t,n,i){const r=On(t),o=function Pb(e){return!!e.useClass}(t);if(r||o){const l=(o?A(t.useClass):t).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){const u=c.indexOf(n);-1===u?c.push(n,[i,l]):c[u+1].push(i,l)}else c.push(n,l)}}}function lm(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function lc(e,t,n,i){for(let r=n;r{n.providersResolver=(i,r)=>function gI(e,t,n){const i=H();if(i.firstCreatePass){const r=Et(e);sc(n,i.data,i.blueprint,r,!0),sc(t,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,t)}}class Oi{}class cm extends Oi{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Xl(this);const i=function rt(e,t){const n=e[Rd]||null;if(!n&&!0===t)throw new Error(`Type ${K(e)} does not have '\u0275mod' property.`);return n}(t);this._bootstrapComponents=function Qt(e){return e instanceof Function?e():e}(i.bootstrap),this._r3Injector=qh(t,n,[{provide:Oi,useValue:this},{provide:Rn,useValue:this.componentFactoryResolver}],K(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class uc extends class yI{}{constructor(t){super(),this.moduleType=t}create(t){return new cm(this.moduleType,t)}}function fc(e){return t=>{setTimeout(e,void 0,t)}}const ie=class ZI extends tt{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,i){let r=t,o=n||(()=>null),s=i;if(t&&"object"==typeof t){const l=t;r=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=fc(o),r&&(r=fc(r)),s&&(s=fc(s)));const a=super.subscribe({next:r,error:o,complete:s});return t instanceof Ze&&t.add(a),a}};function XI(){return this._results[kn()]()}class hc{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=kn(),i=hc.prototype;i[n]||(i[n]=XI)}get changes(){return this._changes||(this._changes=new ie)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const i=this;i.dirty=!1;const r=lt(t);(this._changesDetected=!function JD(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i{class e{}return e.__NG_ELEMENT_ID__=JI,e})();const KI=Ut,QI=class extends KI{constructor(t,n,i){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=i}createEmbeddedView(t,n){const i=this._declarationTContainer.tViews,r=Lo(this._declarationLView,i,t,16,null,i.declTNode,null,null,null,null,n||null);r[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(r[19]=s.createEmbeddedView(i)),jl(i,r,t),new pr(r)}};function JI(){return ts(Ee(),v())}function ts(e,t){return 4&e.type?new QI(t,e,fi(e,t)):null}let dt=(()=>{class e{}return e.__NG_ELEMENT_ID__=eM,e})();function eM(){return Em(Ee(),v())}const tM=dt,wm=class extends tM{constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return fi(this._hostTNode,this._hostLView)}get injector(){return new ti(this._hostTNode,this._hostLView)}get parentInjector(){const t=go(this._hostTNode,this._hostLView);if(df(t)){const n=ei(t,this._hostLView),i=Jn(t);return new ti(n[1].data[i+8],n)}return new ti(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=bm(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const s=t.createEmbeddedView(n||{},o);return this.insert(s,r),s}createComponent(t,n,i,r,o){const s=t&&!function er(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const d=n||{};a=d.index,i=d.injector,r=d.projectableNodes,o=d.environmentInjector||d.ngModuleRef}const l=s?t:new gr(Y(t)),c=i||this.parentInjector;if(!o&&null==l.ngModule){const f=(s?c:this.parentInjector).get(ui,null);f&&(o=f)}const u=l.create(c,r,void 0,o);return this.insert(u.hostView,a),u}insert(t,n){const i=t._lView,r=i[1];if(function DD(e){return bt(e[3])}(i)){const u=this.indexOf(t);if(-1!==u)this.detach(u);else{const d=i[3],f=new wm(d,d[6],d[3]);f.detach(f.indexOf(t))}}const o=this._adjustIndex(n),s=this._lContainer;!function Xw(e,t,n,i){const r=10+i,o=n.length;i>0&&(n[r-1][4]=t),i0)i.push(s[a/2]);else{const c=o[a+1],u=t[-l];for(let d=10;d{class e{constructor(n){this.appInits=n,this.resolve=is,this.reject=is,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,r)=>{this.resolve=i,this.reject=r})}runInitializers(){if(this.initialized)return;const n=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let r=0;r{o.subscribe({complete:a,error:l})});n.push(s)}}Promise.all(n).then(()=>{i()}).catch(r=>{this.reject(r)}),0===n.length&&i(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(D(Ym,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Tr=new x("AppId",{providedIn:"root",factory:function Zm(){return`${Ic()}${Ic()}${Ic()}`}});function Ic(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Xm=new x("Platform Initializer"),Mc=new x("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),TM=new x("appBootstrapListener"),AM=new x("AnimationModuleType"),tn=new x("LocaleId",{providedIn:"root",factory:()=>Do(tn,F.Optional|F.SkipSelf)||function FM(){return typeof $localize<"u"&&$localize.locale||Fi}()}),NM=(()=>Promise.resolve(0))();function xc(e){typeof Zone>"u"?NM.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class ue{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ie(!1),this.onMicrotaskEmpty=new ie(!1),this.onStable=new ie(!1),this.onError=new ie(!1),typeof Zone>"u")throw new S(908,!1);Zone.assertZonePatched();const r=this;if(r._nesting=0,r._outer=r._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const o=Zone.AsyncStackTaggingZoneSpec;r._inner=r._inner.fork(new o("Angular"))}Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&n,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function VM(){let e=J.requestAnimationFrame,t=J.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function jM(e){const t=()=>{!function BM(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(J,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Ac(e),e.isCheckStableRunning=!0,Tc(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Ac(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,r,o,s,a)=>{try{return Jm(e),n.invokeTask(r,o,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&t(),e_(e)}},onInvoke:(n,i,r,o,s,a,l)=>{try{return Jm(e),n.invoke(r,o,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),e_(e)}},onHasTask:(n,i,r,o)=>{n.hasTask(r,o),i===r&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,Ac(e),Tc(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,i,r,o)=>(n.handleError(r,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ue.isInAngularZone())throw new S(909,!1)}static assertNotInAngularZone(){if(ue.isInAngularZone())throw new S(909,!1)}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,r){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,t,LM,is,is);try{return o.runTask(s,n,i)}finally{o.cancelTask(s)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}}const LM={};function Tc(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Ac(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Jm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function e_(e){e._nesting--,Tc(e)}class HM{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ie,this.onMicrotaskEmpty=new ie,this.onStable=new ie,this.onError=new ie}run(t,n,i){return t.apply(n,i)}runGuarded(t,n,i){return t.apply(n,i)}runOutsideAngular(t){return t()}runTask(t,n,i,r){return t.apply(n,i)}}const t_=new x(""),os=new x("");let Rc,Fc=(()=>{class e{constructor(n,i,r){this._ngZone=n,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Rc||(function $M(e){Rc=e}(r),r.addToWindow(i)),this._watchAngularEvents(),n.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:()=>{ue.assertNotInAngularZone(),xc(()=>{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())xc(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(n)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,i,r){let o=-1;i&&i>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),n(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:n,timeoutId:o,updateCb:r})}whenStable(n,i,r){if(r&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,i,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,i,r){return[]}}return e.\u0275fac=function(n){return new(n||e)(D(ue),D(Oc),D(os))},e.\u0275prov=N({token:e,factory:e.\u0275fac}),e})(),Oc=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,i){this._applications.set(n,i)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,i=!0){return Rc?.findTestabilityInTree(this,n,i)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),_n=null;const n_=new x("AllowMultipleToken"),Pc=new x("PlatformDestroyListeners");function r_(e,t,n=[]){const i=`Platform: ${t}`,r=new x(i);return(o=[])=>{let s=kc();if(!s||s.injector.get(n_,!1)){const a=[...n,...o,{provide:r,useValue:!0}];e?e(a):function zM(e){if(_n&&!_n.get(n_,!1))throw new S(400,!1);_n=e;const t=e.get(s_);(function i_(e){const t=e.get(Xm,null);t&&t.forEach(n=>n())})(e)}(function o_(e=[],t){return _t.create({name:t,providers:[{provide:vl,useValue:"platform"},{provide:Pc,useValue:new Set([()=>_n=null])},...e]})}(a,i))}return function qM(e){const t=kc();if(!t)throw new S(401,!1);return t}()}}function kc(){return _n?.get(s_)??null}let s_=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,i){const r=function l_(e,t){let n;return n="noop"===e?new HM:("zone.js"===e?void 0:e)||new ue(t),n}(i?.ngZone,function a_(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(i)),o=[{provide:ue,useValue:r}];return r.run(()=>{const s=_t.create({providers:o,parent:this.injector,name:n.moduleType.name}),a=n.create(s),l=a.injector.get(hi,null);if(!l)throw new S(402,!1);return r.runOutsideAngular(()=>{const c=r.onError.subscribe({next:u=>{l.handleError(u)}});a.onDestroy(()=>{ss(this._modules,a),c.unsubscribe()})}),function c_(e,t,n){try{const i=n();return Wo(i)?i.catch(r=>{throw t.runOutsideAngular(()=>e.handleError(r)),r}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}(l,r,()=>{const c=a.injector.get(rs);return c.runInitializers(),c.donePromise.then(()=>(function Lg(e){it(e,"Expected localeId to be defined"),"string"==typeof e&&(Vg=e.toLowerCase().replace(/_/g,"-"))}(a.injector.get(tn,Fi)||Fi),this._moduleDoBootstrap(a),a))})})}bootstrapModule(n,i=[]){const r=u_({},i);return function UM(e,t,n){const i=new uc(n);return Promise.resolve(i)}(0,0,n).then(o=>this.bootstrapModuleFactory(o,r))}_moduleDoBootstrap(n){const i=n.injector.get(Ni);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!n.instance.ngDoBootstrap)throw new S(403,!1);n.instance.ngDoBootstrap(i)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new S(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const n=this._injector.get(Pc,null);n&&(n.forEach(i=>i()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(D(_t))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function u_(e,t){return Array.isArray(t)?t.reduce(u_,e):{...e,...t}}let Ni=(()=>{class e{constructor(n,i,r){this._zone=n,this._injector=i,this._exceptionHandler=r,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new xe(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new xe(a=>{let l;this._zone.runOutsideAngular(()=>{l=this._zone.onStable.subscribe(()=>{ue.assertNotInAngularZone(),xc(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const c=this._zone.onUnstable.subscribe(()=>{ue.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{l.unsubscribe(),c.unsubscribe()}});this.isStable=oa(o,s.pipe(function WC(e={}){const{connector:t=(()=>new tt),resetOnError:n=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=e;return o=>{let s,a,l,c=0,u=!1,d=!1;const f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=l=void 0,u=d=!1},p=()=>{const g=s;h(),g?.unsubscribe()};return Pt((g,_)=>{c++,!d&&!u&&f();const C=l=l??t();_.add(()=>{c--,0===c&&!d&&!u&&(a=sa(p,r))}),C.subscribe(_),!s&&c>0&&(s=new ji({next:E=>C.next(E),error:E=>{d=!0,f(),a=sa(h,n,E),C.error(E)},complete:()=>{u=!0,f(),a=sa(h,i),C.complete()}}),ht(g).subscribe(s))})(o)}}()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,i){const r=n instanceof Fh;if(!this._injector.get(rs).done)throw!r&&function Ui(e){const t=Y(e)||je(e)||He(e);return null!==t&&t.standalone}(n),new S(405,false);let s;s=r?n:this._injector.get(Rn).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function GM(e){return e.isBoundToModule}(s)?void 0:this._injector.get(Oi),c=s.create(_t.NULL,[],i||s.selector,a),u=c.location.nativeElement,d=c.injector.get(t_,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),ss(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new S(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){const i=n;ss(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(TM,[]).concat(this._bootstrapListeners).forEach(r=>r(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>ss(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new S(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(D(ue),D(ui),D(hi))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function ss(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let f_=!0,Ar=(()=>{class e{}return e.__NG_ELEMENT_ID__=XM,e})();function XM(e){return function KM(e,t,n){if(ro(e)&&!n){const i=at(e.index,t);return new pr(i,i)}return 47&e.type?new pr(t[16],t):null}(Ee(),v(),16==(16&e))}class __{constructor(){}supports(t){return mr(t)}create(t){return new ix(t)}}const nx=(e,t)=>t;class ix{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||nx}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,i=this._removalsHead,r=0,o=null;for(;n||i;){const s=!i||n&&n.currentIndex{s=this._trackByFn(r,a),null!==n&&Object.is(n.trackById,s)?(i&&(n=this._verifyReinsertion(n,a,s,r)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,s,r),i=!0),n=n._next,r++}),this.length=r;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,i,r){let o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,o,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,o,r)):t=this._addAfter(new rx(n,i),o,r),t}_verifyReinsertion(t,n,i,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==o?t=this._reinsertAfter(o,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,o=t._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(t,n,i),this._addToMoves(t,i),t}_moveAfter(t,n,i){return this._unlink(t),this._insertAfter(t,n,i),this._addToMoves(t,i),t}_addAfter(t,n,i){return this._insertAfter(t,n,i),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,i){const r=null===n?this._itHead:n._next;return t._next=r,t._prev=n,null===r?this._itTail=t:r._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new v_),this._linkedRecords.put(t),t.currentIndex=i,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,i=t._next;return null===n?this._itHead=i:n._next=i,null===i?this._itTail=n:i._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new v_),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class rx{constructor(t,n){this.item=t,this.trackById=n,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 ox{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===n||n<=i.currentIndex)&&Object.is(i.trackById,t))return i;return null}remove(t){const n=t._prevDup,i=t._nextDup;return null===n?this._head=i:n._nextDup=i,null===i?this._tail=n:i._prevDup=n,null===this._head}}class v_{constructor(){this.map=new Map}put(t){const n=t.trackById;let i=this.map.get(n);i||(i=new ox,this.map.set(n,i)),i.add(t)}get(t,n){const r=this.map.get(t);return r?r.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function y_(e,t,n){const i=e.previousIndex;if(null===i)return i;let r=0;return n&&i{if(n&&n.key===r)this._maybeAddToChanges(n,i),this._appendAfter=n,n=n._next;else{const o=this._getOrCreateRecordForKey(r,i);n=this._insertBeforeOrAppend(n,o)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let i=n;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(t,n){if(t){const i=t._prev;return n._next=t,n._prev=i,t._prev=n,i&&(i._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const r=this._records.get(t);this._maybeAddToChanges(r,n);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 ax(t);return this._records.set(t,i),i.currentValue=n,this._addToAdditions(i),i}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(i=>n(t[i],i))}}class ax{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function D_(){return new cs([new __])}let cs=(()=>{class e{constructor(n){this.factories=n}static create(n,i){if(null!=i){const r=i.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||D_()),deps:[[e,new bo,new wo]]}}find(n){const i=this.factories.find(r=>r.supports(n));if(null!=i)return i;throw new S(901,!1)}}return e.\u0275prov=N({token:e,providedIn:"root",factory:D_}),e})();function w_(){return new Fr([new C_])}let Fr=(()=>{class e{constructor(n){this.factories=n}static create(n,i){if(i){const r=i.factories.slice();n=n.concat(r)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||w_()),deps:[[e,new bo,new wo]]}}find(n){const i=this.factories.find(r=>r.supports(n));if(i)return i;throw new S(901,!1)}}return e.\u0275prov=N({token:e,providedIn:"root",factory:w_}),e})();const ux=r_(null,"core",[]);let dx=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(D(Ni))},e.\u0275mod=ve({type:e}),e.\u0275inj=pe({}),e})();let us=null;function Gt(){return us}const ge=new x("DocumentToken");let b_=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=N({token:e,factory:function(){return function gx(){return D(E_)}()},providedIn:"platform"}),e})(),E_=(()=>{class e extends b_{constructor(n){super(),this._doc=n,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Gt().getBaseHref(this._doc)}onPopState(n){const i=Gt().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",n,!1),()=>i.removeEventListener("popstate",n)}onHashChange(n){const i=Gt().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",n,!1),()=>i.removeEventListener("hashchange",n)}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(n){this.location.pathname=n}pushState(n,i,r){S_()?this._history.pushState(n,i,r):this.location.hash=r}replaceState(n,i,r){S_()?this._history.replaceState(n,i,r):this.location.hash=r}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}}return e.\u0275fac=function(n){return new(n||e)(D(ge))},e.\u0275prov=N({token:e,factory:function(){return function mx(){return new E_(D(ge))}()},providedIn:"platform"}),e})();function S_(){return!!window.history.pushState}function I_(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function M_(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function jn(e){return e&&"?"!==e[0]?"?"+e:e}let Hc=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=N({token:e,factory:function(){return Do(vx)},providedIn:"root"}),e})();const _x=new x("appBaseHref");let vx=(()=>{class e extends Hc{constructor(n,i){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??Do(ge).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return I_(this._baseHref,n)}path(n=!1){const i=this._platformLocation.pathname+jn(this._platformLocation.search),r=this._platformLocation.hash;return r&&n?`${i}${r}`:i}pushState(n,i,r,o){const s=this.prepareExternalUrl(r+jn(o));this._platformLocation.pushState(n,i,s)}replaceState(n,i,r,o){const s=this.prepareExternalUrl(r+jn(o));this._platformLocation.replaceState(n,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}}return e.\u0275fac=function(n){return new(n||e)(D(b_),D(_x,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),x_=(()=>{class e{constructor(n){this._subject=new ie,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;const i=this._locationStrategy.getBaseHref();this._baseHref=M_(T_(i)),this._locationStrategy.onPopState(r=>{this._subject.emit({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,i=""){return this.path()==this.normalize(n+jn(i))}normalize(n){return e.stripTrailingSlash(function Cx(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,T_(n)))}prepareExternalUrl(n){return n&&"/"!==n[0]&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,i="",r=null){this._locationStrategy.pushState(r,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+jn(i)),r)}replaceState(n,i="",r=null){this._locationStrategy.replaceState(r,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+jn(i)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{const i=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(i,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",i){this._urlChangeListeners.forEach(r=>r(n,i))}subscribe(n,i,r){return this._subject.subscribe({next:n,error:i,complete:r})}}return e.normalizeQueryParams=jn,e.joinWithSlash=I_,e.stripTrailingSlash=M_,e.\u0275fac=function(n){return new(n||e)(D(Hc))},e.\u0275prov=N({token:e,factory:function(){return function yx(){return new x_(D(Hc))}()},providedIn:"root"}),e})();function T_(e){return e.replace(/\/index.html$/,"")}let Cs=(()=>{class e{constructor(n,i,r,o){this._iterableDiffers=n,this._keyValueDiffers=i,this._ngEl=r,this._renderer=o,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(n){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof n?n.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(n){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof n?n.split(/\s+/):n,this._rawClass&&(mr(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const n=this._iterableDiffer.diff(this._rawClass);n&&this._applyIterableChanges(n)}else if(this._keyValueDiffer){const n=this._keyValueDiffer.diff(this._rawClass);n&&this._applyKeyValueChanges(n)}}_applyKeyValueChanges(n){n.forEachAddedItem(i=>this._toggleClass(i.key,i.currentValue)),n.forEachChangedItem(i=>this._toggleClass(i.key,i.currentValue)),n.forEachRemovedItem(i=>{i.previousValue&&this._toggleClass(i.key,!1)})}_applyIterableChanges(n){n.forEachAddedItem(i=>{if("string"!=typeof i.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${K(i.item)}`);this._toggleClass(i.item,!0)}),n.forEachRemovedItem(i=>this._toggleClass(i.item,!1))}_applyClasses(n){n&&(Array.isArray(n)||n instanceof Set?n.forEach(i=>this._toggleClass(i,!0)):Object.keys(n).forEach(i=>this._toggleClass(i,!!n[i])))}_removeClasses(n){n&&(Array.isArray(n)||n instanceof Set?n.forEach(i=>this._toggleClass(i,!1)):Object.keys(n).forEach(i=>this._toggleClass(i,!1)))}_toggleClass(n,i){(n=n.trim())&&n.split(/\s+/g).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}}return e.\u0275fac=function(n){return new(n||e)(y(cs),y(Fr),y(Ae),y(Pn))},e.\u0275dir=O({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),e})();class oT{constructor(t,n,i,r){this.$implicit=t,this.ngForOf=n,this.index=i,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Kc=(()=>{class e{constructor(n,i,r){this._viewContainer=n,this._template=i,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const i=this._viewContainer;n.forEachOperation((r,o,s)=>{if(null==r.previousIndex)i.createEmbeddedView(this._template,new oT(r.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)i.remove(null===o?void 0:o);else if(null!==o){const a=i.get(o);i.move(a,s),j_(a,r)}});for(let r=0,o=i.length;r{j_(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(n,i){return!0}}return e.\u0275fac=function(n){return new(n||e)(y(dt),y(Ut),y(cs))},e.\u0275dir=O({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),e})();function j_(e,t){e.context.$implicit=t.item}let Qc=(()=>{class e{constructor(n,i){this._viewContainer=n,this._context=new aT,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){H_("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){H_("ngIfElse",n),this._elseTemplateRef=n,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(n,i){return!0}}return e.\u0275fac=function(n){return new(n||e)(y(dt),y(Ut))},e.\u0275dir=O({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),e})();class aT{constructor(){this.$implicit=null,this.ngIf=null}}function H_(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${K(t)}'.`)}let U_=(()=>{class e{constructor(n){this._viewContainerRef=n,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(n){if(n.ngTemplateOutlet||n.ngTemplateOutletInjector){const i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:r,ngTemplateOutletContext:o,ngTemplateOutletInjector:s}=this;this._viewRef=i.createEmbeddedView(r,o,s?{injector:s}:void 0)}else this._viewRef=null}else this._viewRef&&n.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return e.\u0275fac=function(n){return new(n||e)(y(dt))},e.\u0275dir=O({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Nt]}),e})(),vn=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ve({type:e}),e.\u0275inj=pe({}),e})();const z_="browser";class ou extends class dA extends class px{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function hx(e){us||(us=e)}(new ou)}onAndCancel(t,n,i){return t.addEventListener(n,i,!1),()=>{t.removeEventListener(n,i,!1)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function fA(){return kr=kr||document.querySelector("base"),kr?kr.getAttribute("href"):null}();return null==n?null:function hA(e){bs=bs||document.createElement("a"),bs.setAttribute("href",e);const t=bs.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){kr=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function iT(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const i=n.indexOf("="),[r,o]=-1==i?[n,""]:[n.slice(0,i),n.slice(i+1)];if(r.trim()===t)return decodeURIComponent(o)}return null}(document.cookie,t)}}let bs,kr=null;const K_=new x("TRANSITION_ID"),gA=[{provide:Ym,useFactory:function pA(e,t,n){return()=>{n.get(rs).donePromise.then(()=>{const i=Gt(),r=t.querySelectorAll(`style[ng-transition="${e}"]`);for(let o=0;o{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac}),e})();const Es=new x("EventManagerPlugins");let Ss=(()=>{class e{constructor(n,i){this._zone=i,this._eventNameToPlugin=new Map,n.forEach(r=>r.manager=this),this._plugins=n.slice().reverse()}addEventListener(n,i,r){return this._findPluginFor(i).addEventListener(n,i,r)}addGlobalEventListener(n,i,r){return this._findPluginFor(i).addGlobalEventListener(n,i,r)}getZone(){return this._zone}_findPluginFor(n){const i=this._eventNameToPlugin.get(n);if(i)return i;const r=this._plugins;for(let o=0;o{class e{constructor(){this._stylesSet=new Set}addStyles(n){const i=new Set;n.forEach(r=>{this._stylesSet.has(r)||(this._stylesSet.add(r),i.add(r))}),this.onStylesAdded(i)}onStylesAdded(n){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac}),e})(),Nr=(()=>{class e extends J_{constructor(n){super(),this._doc=n,this._hostNodes=new Map,this._hostNodes.set(n.head,[])}_addStylesToHost(n,i,r){n.forEach(o=>{const s=this._doc.createElement("style");s.textContent=o,r.push(i.appendChild(s))})}addHost(n){const i=[];this._addStylesToHost(this._stylesSet,n,i),this._hostNodes.set(n,i)}removeHost(n){const i=this._hostNodes.get(n);i&&i.forEach(ev),this._hostNodes.delete(n)}onStylesAdded(n){this._hostNodes.forEach((i,r)=>{this._addStylesToHost(n,r,i)})}ngOnDestroy(){this._hostNodes.forEach(n=>n.forEach(ev))}}return e.\u0275fac=function(n){return new(n||e)(D(ge))},e.\u0275prov=N({token:e,factory:e.\u0275fac}),e})();function ev(e){Gt().remove(e)}const su={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/"},au=/%COMP%/g;function Is(e,t,n){for(let i=0;i{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let lu=(()=>{class e{constructor(n,i,r){this.eventManager=n,this.sharedStylesHost=i,this.appId=r,this.rendererByCompId=new Map,this.defaultRenderer=new cu(n)}createRenderer(n,i){if(!n||!i)return this.defaultRenderer;switch(i.encapsulation){case kt.Emulated:{let r=this.rendererByCompId.get(i.id);return r||(r=new bA(this.eventManager,this.sharedStylesHost,i,this.appId),this.rendererByCompId.set(i.id,r)),r.applyToHost(n),r}case 1:case kt.ShadowDom:return new EA(this.eventManager,this.sharedStylesHost,n,i);default:if(!this.rendererByCompId.has(i.id)){const r=Is(i.id,i.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(i.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(n){return new(n||e)(D(Ss),D(Nr),D(Tr))},e.\u0275prov=N({token:e,factory:e.\u0275fac}),e})();class cu{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?document.createElementNS(su[n]||n,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,n){(ov(t)?t.content:t).appendChild(n)}insertBefore(t,n,i){t&&(ov(t)?t.content:t).insertBefore(n,i)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let i="string"==typeof t?document.querySelector(t):t;if(!i)throw new Error(`The selector "${t}" did not match any elements`);return n||(i.textContent=""),i}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,i,r){if(r){n=r+":"+n;const o=su[r];o?t.setAttributeNS(o,n,i):t.setAttribute(n,i)}else t.setAttribute(n,i)}removeAttribute(t,n,i){if(i){const r=su[i];r?t.removeAttributeNS(r,n):t.removeAttribute(`${i}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,i,r){r&(Qe.DashCase|Qe.Important)?t.style.setProperty(n,i,r&Qe.Important?"important":""):t.style[n]=i}removeStyle(t,n,i){i&Qe.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,i){t[n]=i}setValue(t,n){t.nodeValue=n}listen(t,n,i){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,n,iv(i)):this.eventManager.addEventListener(t,n,iv(i))}}function ov(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class bA extends cu{constructor(t,n,i,r){super(t),this.component=i;const o=Is(r+"-"+i.id,i.styles,[]);n.addStyles(o),this.contentAttr=function CA(e){return"_ngcontent-%COMP%".replace(au,e)}(r+"-"+i.id),this.hostAttr=function DA(e){return"_nghost-%COMP%".replace(au,e)}(r+"-"+i.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,n){const i=super.createElement(t,n);return super.setAttribute(i,this.contentAttr,""),i}}class EA extends cu{constructor(t,n,i,r){super(t),this.sharedStylesHost=n,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const o=Is(r.id,r.styles,[]);for(let s=0;s{class e extends Q_{constructor(n){super(n)}supports(n){return!0}addEventListener(n,i,r){return n.addEventListener(i,r,!1),()=>this.removeEventListener(n,i,r)}removeEventListener(n,i,r){return n.removeEventListener(i,r)}}return e.\u0275fac=function(n){return new(n||e)(D(ge))},e.\u0275prov=N({token:e,factory:e.\u0275fac}),e})();const sv=["alt","control","meta","shift"],IA={"\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"},MA={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let xA=(()=>{class e extends Q_{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,i,r){const o=e.parseEventName(i),s=e.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Gt().onAndCancel(n,o.domEventName,s))}static parseEventName(n){const i=n.toLowerCase().split("."),r=i.shift();if(0===i.length||"keydown"!==r&&"keyup"!==r)return null;const o=e._normalizeKey(i.pop());let s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),sv.forEach(c=>{const u=i.indexOf(c);u>-1&&(i.splice(u,1),s+=c+".")}),s+=o,0!=i.length||0===o.length)return null;const l={};return l.domEventName=r,l.fullKey=s,l}static matchEventFullKeyCode(n,i){let r=IA[n.key]||n.key,o="";return i.indexOf("code.")>-1&&(r=n.code,o="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),sv.forEach(s=>{s!==r&&(0,MA[s])(n)&&(o+=s+".")}),o+=r,o===i)}static eventCallback(n,i,r){return o=>{e.matchEventFullKeyCode(o,n)&&r.runGuarded(()=>i(o))}}static _normalizeKey(n){return"esc"===n?"escape":n}}return e.\u0275fac=function(n){return new(n||e)(D(ge))},e.\u0275prov=N({token:e,factory:e.\u0275fac}),e})();const OA=r_(ux,"browser",[{provide:Mc,useValue:z_},{provide:Xm,useValue:function TA(){ou.makeCurrent()},multi:!0},{provide:ge,useFactory:function FA(){return function lb(e){ul=e}(document),document},deps:[]}]),cv=new x(""),uv=[{provide:os,useClass:class mA{addToWindow(t){J.getAngularTestability=(i,r=!0)=>{const o=t.findTestabilityInTree(i,r);if(null==o)throw new Error("Could not find testability for element.");return o},J.getAllAngularTestabilities=()=>t.getAllTestabilities(),J.getAllAngularRootElements=()=>t.getAllRootElements(),J.frameworkStabilizers||(J.frameworkStabilizers=[]),J.frameworkStabilizers.push(i=>{const r=J.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(t,n,i){return null==n?null:t.getTestability(n)??(i?Gt().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:t_,useClass:Fc,deps:[ue,Oc,os]},{provide:Fc,useClass:Fc,deps:[ue,Oc,os]}],dv=[{provide:vl,useValue:"root"},{provide:hi,useFactory:function AA(){return new hi},deps:[]},{provide:Es,useClass:SA,multi:!0,deps:[ge,ue,Mc]},{provide:Es,useClass:xA,multi:!0,deps:[ge]},{provide:lu,useClass:lu,deps:[Ss,Nr,Tr]},{provide:Rh,useExisting:lu},{provide:J_,useExisting:Nr},{provide:Nr,useClass:Nr,deps:[ge]},{provide:Ss,useClass:Ss,deps:[Es,ue]},{provide:class LT{},useClass:_A,deps:[]},[]];let RA=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:Tr,useValue:n.appId},{provide:K_,useExisting:Tr},gA]}}}return e.\u0275fac=function(n){return new(n||e)(D(cv,12))},e.\u0275mod=ve({type:e}),e.\u0275inj=pe({providers:[...dv,...uv],imports:[vn,dx]}),e})();function pv(e){return Array.isArray(e)?e:[e]}function be(e){return null==e?"":"string"==typeof e?e:`${e}px`}typeof window<"u"&&window;const{isArray:WA}=Array;function gv(e){return Hi(t=>function qA(e,t){return WA(t)?e(...t):e(t)}(e,t))}const YA=["addListener","removeListener"],ZA=["addEventListener","removeEventListener"],XA=["on","off"];function fu(e,t,n,i){if(W(n)&&(i=n,n=void 0),i)return fu(e,t,n).pipe(gv(i));const[r,o]=function JA(e){return W(e.addEventListener)&&W(e.removeEventListener)}(e)?ZA.map(s=>a=>e[s](t,a,n)):function KA(e){return W(e.addListener)&&W(e.removeListener)}(e)?YA.map(mv(e,t)):function QA(e){return W(e.on)&&W(e.off)}(e)?XA.map(mv(e,t)):[];if(!r&&ea(e))return ta(s=>fu(s,t,n))(ht(e));if(!r)throw new TypeError("Invalid event target");return new xe(s=>{const a=(...l)=>s.next(1o(a)})}function mv(e,t){return n=>i=>e[n](t,i)}class eF extends Ze{constructor(t,n){super()}schedule(t,n=0){return this}}const Ms={setInterval(e,t,...n){const{delegate:i}=Ms;return i?.setInterval?i.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){const{delegate:t}=Ms;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};class hu extends eF{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var i;if(this.closed)return this;this.state=t;const r=this.id,o=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(o,r,n)),this.pending=!0,this.delay=n,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(o,this.id,n),this}requestAsyncId(t,n,i=0){return Ms.setInterval(t.flush.bind(t,this),i)}recycleAsyncId(t,n,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return n;null!=n&&Ms.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(t,n);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r,i=!1;try{this.work(t)}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:t,scheduler:n}=this,{actions:i}=n;this.work=this.state=this.scheduler=null,this.pending=!1,Wn(i,this),null!=t&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}}const Vr={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame;const{delegate:i}=Vr;i&&(t=i.requestAnimationFrame,n=i.cancelAnimationFrame);const r=t(o=>{n=void 0,e(o)});return new Ze(()=>n?.(r))},requestAnimationFrame(...e){const{delegate:t}=Vr;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){const{delegate:t}=Vr;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0},pu={now:()=>(pu.delegate||Date).now(),delegate:void 0};class Lr{constructor(t,n=Lr.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,i){return new this.schedulerActionCtor(this,t).schedule(i,n)}}Lr.now=pu.now;class gu extends Lr{constructor(t,n=Lr.now){super(t,n),this.actions=[],this._active=!1}flush(t){const{actions:n}=this;if(this._active)return void n.push(t);let i;this._active=!0;do{if(i=t.execute(t.state,t.delay))break}while(t=n.shift());if(this._active=!1,i){for(;t=n.shift();)t.unsubscribe();throw i}}}new class nF extends gu{flush(t){this._active=!0;const n=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;t=t||i.shift();do{if(r=t.execute(t.state,t.delay))break}while((t=i[0])&&t.id===n&&i.shift());if(this._active=!1,r){for(;(t=i[0])&&t.id===n&&i.shift();)t.unsubscribe();throw r}}}(class tF extends hu{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,i=0){return null!==i&&i>0?super.requestAsyncId(t,n,i):(t.actions.push(this),t._scheduled||(t._scheduled=Vr.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,n,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(t,n,i);const{actions:o}=t;null!=n&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==n&&(Vr.cancelAnimationFrame(n),t._scheduled=void 0)}});let mu,rF=1;const xs={};function _v(e){return e in xs&&(delete xs[e],!0)}const oF={setImmediate(e){const t=rF++;return xs[t]=!0,mu||(mu=Promise.resolve()),mu.then(()=>_v(t)&&e()),t},clearImmediate(e){_v(e)}},{setImmediate:sF,clearImmediate:aF}=oF,Ts={setImmediate(...e){const{delegate:t}=Ts;return(t?.setImmediate||sF)(...e)},clearImmediate(e){const{delegate:t}=Ts;return(t?.clearImmediate||aF)(e)},delegate:void 0},vv=(new class cF extends gu{flush(t){this._active=!0;const n=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;t=t||i.shift();do{if(r=t.execute(t.state,t.delay))break}while((t=i[0])&&t.id===n&&i.shift());if(this._active=!1,r){for(;(t=i[0])&&t.id===n&&i.shift();)t.unsubscribe();throw r}}}(class lF extends hu{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,i=0){return null!==i&&i>0?super.requestAsyncId(t,n,i):(t.actions.push(this),t._scheduled||(t._scheduled=Ts.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,n,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(t,n,i);const{actions:o}=t;null!=n&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==n&&(Ts.clearImmediate(n),t._scheduled=void 0)}}),new gu(hu)),dF=vv;function yv(e,t=vv){return function fF(e){return Pt((t,n)=>{let i=!1,r=null,o=null,s=!1;const a=()=>{if(o?.unsubscribe(),o=null,i){i=!1;const c=r;r=null,n.next(c)}s&&n.complete()},l=()=>{o=null,s&&n.complete()};t.subscribe(ft(n,c=>{i=!0,r=c,o||ht(e(c)).subscribe(o=ft(n,a,l))},()=>{s=!0,(!i||!o||o.closed)&&n.complete()}))})}(()=>function pF(e=0,t,n=dF){let i=-1;return null!=t&&(Ed(t)?n=t:i=t),new xe(r=>{let o=function hF(e){return e instanceof Date&&!isNaN(e)}(e)?+e-n.now():e;o<0&&(o=0);let s=0;return n.schedule(function(){r.closed||(r.next(s++),0<=i?this.schedule(void 0,i):r.complete())},o)})}(e,t))}function Cv(e,t){return Pt((n,i)=>{let r=0;n.subscribe(ft(i,o=>e.call(t,o,r++)&&i.next(o)))})}let _u;try{_u=typeof Intl<"u"&&Intl.v8BreakIterator}catch{_u=!1}let Hn,Vi=(()=>{class e{constructor(n){this._platformId=n,this.isBrowser=this._platformId?function NT(e){return e===z_}(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&&!_u)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return e.\u0275fac=function(n){return new(n||e)(D(Mc))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function mF(){if(null==Hn){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Hn=!1,Hn;if("scrollBehavior"in document.documentElement.style)Hn=!0;else{const e=Element.prototype.scrollTo;Hn=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return Hn}function wv(e){return e.composedPath?e.composedPath()[0]:e.target}function bv(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}const vF=new x("cdk-dir-doc",{providedIn:"root",factory:function yF(){return Do(ge)}}),CF=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let wF=(()=>{class e{constructor(n){if(this.value="ltr",this.change=new ie,n){const r=n.documentElement?n.documentElement.dir:null;this.value=function DF(e){const t=e?.toLowerCase()||"";return"auto"===t&&typeof navigator<"u"&&navigator?.language?CF.test(navigator.language)?"rtl":"ltr":"rtl"===t?"rtl":"ltr"}((n.body?n.body.dir:null)||r||"ltr")}}ngOnDestroy(){this.change.complete()}}return e.\u0275fac=function(n){return new(n||e)(D(vF,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),yu=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ve({type:e}),e.\u0275inj=pe({}),e})(),EF=(()=>{class e{constructor(n,i,r){this._ngZone=n,this._platform=i,this._scrolled=new tt,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}register(n){this.scrollContainers.has(n)||this.scrollContainers.set(n,n.elementScrolled().subscribe(()=>this._scrolled.next(n)))}deregister(n){const i=this.scrollContainers.get(n);i&&(i.unsubscribe(),this.scrollContainers.delete(n))}scrolled(n=20){return this._platform.isBrowser?new xe(i=>{this._globalSubscription||this._addGlobalListener();const r=n>0?this._scrolled.pipe(yv(n)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):function zA(...e){return ra(e,Sd(e))}()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((n,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(n,i){const r=this.getAncestorScrollContainers(n);return this.scrolled(i).pipe(Cv(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(n){const i=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,n)&&i.push(o)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(n,i){let r=function GA(e){return e instanceof Ae?e.nativeElement:e}(i),o=n.getElementRef().nativeElement;do{if(r==o)return!0}while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>fu(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return e.\u0275fac=function(n){return new(n||e)(D(ue),D(Vi),D(ge,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Ev=(()=>{class e{constructor(n,i,r){this._platform=n,this._change=new tt,this._changeListener=o=>{this._change.next(o)},this._document=r,i.runOutsideAngular(()=>{if(n.isBrowser){const o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const n=this._getWindow();n.removeEventListener("resize",this._changeListener),n.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const n={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),n}getViewportRect(){const n=this.getViewportScrollPosition(),{width:i,height:r}=this.getViewportSize();return{top:n.top,left:n.left,bottom:n.top+r,right:n.left+i,height:r,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const n=this._document,i=this._getWindow(),r=n.documentElement,o=r.getBoundingClientRect();return{top:-o.top||n.body.scrollTop||i.scrollY||r.scrollTop||0,left:-o.left||n.body.scrollLeft||i.scrollX||r.scrollLeft||0}}change(n=20){return n>0?this._change.pipe(yv(n)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const n=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:n.innerWidth,height:n.innerHeight}:{width:0,height:0}}}return e.\u0275fac=function(n){return new(n||e)(D(Vi),D(ue),D(ge,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Sv=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ve({type:e}),e.\u0275inj=pe({}),e})(),Iv=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ve({type:e}),e.\u0275inj=pe({imports:[yu,Sv,yu,Sv]}),e})();class Cu{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class IF extends Cu{constructor(t,n,i,r){super(),this.component=t,this.viewContainerRef=n,this.injector=i,this.componentFactoryResolver=r}}class Du extends Cu{constructor(t,n,i,r){super(),this.templateRef=t,this.viewContainerRef=n,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(t,n=this.context){return this.context=n,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class MF extends Cu{constructor(t){super(),this.element=t instanceof Ae?t.nativeElement:t}}class TF extends class xF{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof IF?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof Du?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof MF?(this._attachedPortal=t,this.attachDomPortal(t)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}{constructor(t,n,i,r,o){super(),this.outletElement=t,this._componentFactoryResolver=n,this._appRef=i,this._defaultInjector=r,this.attachDomPortal=s=>{const a=s.element,l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=o}attachComponentPortal(t){const i=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let r;return t.viewContainerRef?(r=t.viewContainerRef.createComponent(i,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(()=>r.destroy())):(r=i.create(t.injector||this._defaultInjector||_t.NULL),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(r.hostView),r.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(r)),this._attachedPortal=t,r}attachTemplatePortal(t){let n=t.viewContainerRef,i=n.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return i.rootNodes.forEach(r=>this.outletElement.appendChild(r)),i.detectChanges(),this.setDisposeFn(()=>{let r=n.indexOf(i);-1!==r&&n.remove(r)}),this._attachedPortal=t,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let Mv=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ve({type:e}),e.\u0275inj=pe({}),e})();const xv=mF();class OF{constructor(t,n){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=n}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=be(-this._previousScrollPosition.left),t.style.top=be(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,i=t.style,r=this._document.body.style,o=i.scrollBehavior||"",s=r.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),xv&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),xv&&(i.scrollBehavior=o,r.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const n=this._document.body,i=this._viewportRuler.getViewportSize();return n.scrollHeight>i.height||n.scrollWidth>i.width}}class RF{constructor(t,n,i,r){this._scrollDispatcher=t,this._ngZone=n,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const n=this._viewportRuler.getViewportScrollPosition().top;Math.abs(n-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class Tv{enable(){}disable(){}attach(){}}function wu(e,t){return t.some(n=>e.bottomn.bottom||e.rightn.right)}function Av(e,t){return t.some(n=>e.topn.bottom||e.leftn.right)}class PF{constructor(t,n,i,r){this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=i,this._config=r,this._scrollSubscription=null}attach(t){this._overlayRef=t}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const n=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:r}=this._viewportRuler.getViewportSize();wu(n,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let kF=(()=>{class e{constructor(n,i,r,o){this._scrollDispatcher=n,this._viewportRuler=i,this._ngZone=r,this.noop=()=>new Tv,this.close=s=>new RF(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new OF(this._viewportRuler,this._document),this.reposition=s=>new PF(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=o}}return e.\u0275fac=function(n){return new(n||e)(D(EF),D(Ev),D(ue),D(ge))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class bu{constructor(t){if(this.scrollStrategy=new Tv,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const n=Object.keys(t);for(const i of n)void 0!==t[i]&&(this[i]=t[i])}}}class et{constructor(t,n,i,r,o){this.offsetX=i,this.offsetY=r,this.panelClass=o,this.originX=t.originX,this.originY=t.originY,this.overlayX=n.overlayX,this.overlayY=n.overlayY}}class NF{constructor(t,n){this.connectionPair=t,this.scrollableViewProperties=n}}let Fv=(()=>{class e{constructor(n){this._attachedOverlays=[],this._document=n}ngOnDestroy(){this.detach()}add(n){this.remove(n),this._attachedOverlays.push(n)}remove(n){const i=this._attachedOverlays.indexOf(n);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}}return e.\u0275fac=function(n){return new(n||e)(D(ge))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),VF=(()=>{class e extends Fv{constructor(n,i){super(n),this._ngZone=i,this._keydownListener=r=>{const o=this._attachedOverlays;for(let s=o.length-1;s>-1;s--)if(o[s]._keydownEvents.observers.length>0){const a=o[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>a.next(r)):a.next(r);break}}}add(n){super.add(n),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return e.\u0275fac=function(n){return new(n||e)(D(ge),D(ue,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),LF=(()=>{class e extends Fv{constructor(n,i,r){super(n),this._platform=i,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=wv(o)},this._clickListener=o=>{const s=wv(o),a="click"===o.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;const l=this._attachedOverlays.slice();for(let c=l.length-1;c>-1;c--){const u=l[c];if(u._outsidePointerEvents.observers.length<1||!u.hasAttached())continue;if(u.overlayElement.contains(s)||u.overlayElement.contains(a))break;const d=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>d.next(o)):d.next(o)}}}add(n){if(super.add(n),!this._isAttached){const i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const n=this._document.body;n.removeEventListener("pointerdown",this._pointerDownListener,!0),n.removeEventListener("click",this._clickListener,!0),n.removeEventListener("auxclick",this._clickListener,!0),n.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(n.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(n){n.addEventListener("pointerdown",this._pointerDownListener,!0),n.addEventListener("click",this._clickListener,!0),n.addEventListener("auxclick",this._clickListener,!0),n.addEventListener("contextmenu",this._clickListener,!0)}}return e.\u0275fac=function(n){return new(n||e)(D(ge),D(Vi),D(ue,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Ov=(()=>{class e{constructor(n,i){this._platform=i,this._document=n}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const n="cdk-overlay-container";if(this._platform.isBrowser||bv()){const r=this._document.querySelectorAll(`.${n}[platform="server"], .${n}[platform="test"]`);for(let o=0;othis._backdropClick.next(d),this._backdropTransitionendHandler=d=>{this._disposeBackdrop(d.target)},this._keydownEvents=new tt,this._outsidePointerEvents=new tt,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const n=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(function AF(e){return e<=0?()=>na:Pt((t,n)=>{let i=0;t.subscribe(ft(n,r=>{++i<=e&&(n.next(r),e<=i&&n.complete())}))})}(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 n?.onDestroy&&n.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),n}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){const t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,t&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config={...this._config,...t},this._updateElementSize()}setDirection(t){this._config={...this._config,direction:t},this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=be(this._config.width),t.height=be(this._config.height),t.minWidth=be(this._config.minWidth),t.minHeight=be(this._config.minHeight),t.maxWidth=be(this._config.maxWidth),t.maxHeight=be(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){const t="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const t=this._backdropElement;if(t){if(this._animationsDisabled)return void this._disposeBackdrop(t);t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",this._backdropTransitionendHandler)}),t.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(t)},500))}}_toggleClasses(t,n,i){const r=pv(n||[]).filter(o=>!!o);r.length&&(i?t.classList.add(...r):t.classList.remove(...r))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe(function FF(e){return Pt((t,n)=>{ht(e).subscribe(ft(n,()=>n.complete(),Gs)),!n.closed&&t.subscribe(n)})}(oa(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}_disposeBackdrop(t){t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",this._backdropTransitionendHandler),t.remove(),this._backdropElement===t&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const Rv="cdk-overlay-connected-position-bounding-box",jF=/([A-Za-z%]+)$/;class HF{constructor(t,n,i,r,o){this._viewportRuler=n,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 tt,this._resizeSubscription=Ze.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){this._validatePositions(),t.hostElement.classList.add(Rv),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._originRect,n=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[];let s;for(let a of this._preferredPositions){let l=this._getOriginPoint(t,r,a),c=this._getOverlayPoint(l,n,a),u=this._getOverlayFit(c,n,i,a);if(u.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,l);this._canFitWithFlexibleDimensions(u,c,i)?o.push({position:a,origin:l,overlayRect:n,boundingBoxRect:this._calculateBoundingBoxRect(l,a)}):(!s||s.overlayFit.visibleAreal&&(l=u,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&&$n(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Rv),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const n=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,n)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,n,i){let r,o;if("center"==i.originX)r=t.left+t.width/2;else{const s=this._isRtl()?t.right:t.left,a=this._isRtl()?t.left:t.right;r="start"==i.originX?s:a}return n.left<0&&(r-=n.left),o="center"==i.originY?t.top+t.height/2:"top"==i.originY?t.top:t.bottom,n.top<0&&(o-=n.top),{x:r,y:o}}_getOverlayPoint(t,n,i){let r,o;return r="center"==i.overlayX?-n.width/2:"start"===i.overlayX?this._isRtl()?-n.width:0:this._isRtl()?0:-n.width,o="center"==i.overlayY?-n.height/2:"top"==i.overlayY?0:-n.height,{x:t.x+r,y:t.y+o}}_getOverlayFit(t,n,i,r){const o=kv(n);let{x:s,y:a}=t,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(s+=l),c&&(a+=c);let f=0-a,h=a+o.height-i.height,p=this._subtractOverflows(o.width,0-s,s+o.width-i.width),g=this._subtractOverflows(o.height,f,h),_=p*g;return{visibleArea:_,isCompletelyWithinViewport:o.width*o.height===_,fitsInViewportVertically:g===o.height,fitsInViewportHorizontally:p==o.width}}_canFitWithFlexibleDimensions(t,n,i){if(this._hasFlexibleDimensions){const r=i.bottom-n.y,o=i.right-n.x,s=Pv(this._overlayRef.getConfig().minHeight),a=Pv(this._overlayRef.getConfig().minWidth),c=t.fitsInViewportHorizontally||null!=a&&a<=o;return(t.fitsInViewportVertically||null!=s&&s<=r)&&c}return!1}_pushOverlayOnScreen(t,n,i){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const r=kv(n),o=this._viewportRect,s=Math.max(t.x+r.width-o.width,0),a=Math.max(t.y+r.height-o.height,0),l=Math.max(o.top-i.top-t.y,0),c=Math.max(o.left-i.left-t.x,0);let u=0,d=0;return u=r.width<=o.width?c||-s:t.xp&&!this._isInitialRender&&!this._growAfterOpen&&(s=t.y-p/2)}if("end"===n.overlayX&&!r||"start"===n.overlayX&&r)f=i.width-t.x+this._viewportMargin,u=t.x-this._viewportMargin;else if("start"===n.overlayX&&!r||"end"===n.overlayX&&r)d=t.x,u=i.right-t.x;else{const h=Math.min(i.right-t.x+i.left,t.x),p=this._lastBoundingBoxSize.width;u=2*h,d=t.x-h,u>p&&!this._isInitialRender&&!this._growAfterOpen&&(d=t.x-p/2)}return{top:s,left:d,bottom:a,right:f,width:u,height:o}}_setBoundingBoxStyles(t,n){const i=this._calculateBoundingBoxRect(t,n);!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=be(i.height),r.top=be(i.top),r.bottom=be(i.bottom),r.width=be(i.width),r.left=be(i.left),r.right=be(i.right),r.alignItems="center"===n.overlayX?"center":"end"===n.overlayX?"flex-end":"flex-start",r.justifyContent="center"===n.overlayY?"center":"bottom"===n.overlayY?"flex-end":"flex-start",o&&(r.maxHeight=be(o)),s&&(r.maxWidth=be(s))}this._lastBoundingBoxSize=i,$n(this._boundingBox.style,r)}_resetBoundingBoxStyles(){$n(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){$n(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,n){const i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(r){const u=this._viewportRuler.getViewportScrollPosition();$n(i,this._getExactOverlayY(n,t,u)),$n(i,this._getExactOverlayX(n,t,u))}else i.position="static";let a="",l=this._getOffset(n,"x"),c=this._getOffset(n,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),i.transform=a.trim(),s.maxHeight&&(r?i.maxHeight=be(s.maxHeight):o&&(i.maxHeight="")),s.maxWidth&&(r?i.maxWidth=be(s.maxWidth):o&&(i.maxWidth="")),$n(this._pane.style,i)}_getExactOverlayY(t,n,i){let r={top:"",bottom:""},o=this._getOverlayPoint(n,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),"bottom"===t.overlayY?r.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":r.top=be(o.y),r}_getExactOverlayX(t,n,i){let s,r={left:"",right:""},o=this._getOverlayPoint(n,this._overlayRect,t);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),s=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===s?r.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":r.left=be(o.x),r}_getScrollVisibility(){const t=this._getOriginRect(),n=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Av(t,i),isOriginOutsideView:wu(t,i),isOverlayClipped:Av(n,i),isOverlayOutsideView:wu(n,i)}}_subtractOverflows(t,...n){return n.reduce((i,r)=>i-Math.max(r,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,n=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+t-this._viewportMargin,bottom:i.top+n-this._viewportMargin,width:t-2*this._viewportMargin,height:n-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,n){return"x"===n?t.offsetX??this._offsetX:t.offsetY??this._offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&pv(t).forEach(n=>{""!==n&&-1===this._appliedPanelClasses.indexOf(n)&&(this._appliedPanelClasses.push(n),this._pane.classList.add(n))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof Ae)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const n=t.width||0,i=t.height||0;return{top:t.y,bottom:t.y+i,left:t.x,right:t.x+n,height:i,width:n}}}function $n(e,t){for(let n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function Pv(e){if("number"!=typeof e&&null!=e){const[t,n]=e.split(jF);return n&&"px"!==n?null:parseFloat(t)}return e||null}function kv(e){return{top:Math.floor(e.top),right:Math.floor(e.right),bottom:Math.floor(e.bottom),left:Math.floor(e.left),width:Math.floor(e.width),height:Math.floor(e.height)}}const Nv="cdk-global-overlay-wrapper";class $F{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(t){const n=t.getConfig();this._overlayRef=t,this._width&&!n.width&&t.updateSize({width:this._width}),this._height&&!n.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(Nv),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._xOffset=t,this._xPosition="left",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._xOffset=t,this._xPosition="right",this}start(t=""){return this._xOffset=t,this._xPosition="start",this}end(t=""){return this._xOffset=t,this._xPosition="end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._xPosition="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,n=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),u=this._xPosition,d=this._xOffset,f="rtl"===this._overlayRef.getConfig().direction;let h="",p="",g="";l?g="flex-start":"center"===u?(g="center",f?p=d:h=d):f?"left"===u||"end"===u?(g="flex-end",h=d):("right"===u||"start"===u)&&(g="flex-start",p=d):"left"===u||"start"===u?(g="flex-start",h=d):("right"===u||"end"===u)&&(g="flex-end",p=d),t.position=this._cssPosition,t.marginLeft=l?"0":h,t.marginTop=c?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=l?"0":p,n.justifyContent=g,n.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,n=this._overlayRef.hostElement,i=n.style;n.classList.remove(Nv),i.justifyContent=i.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let UF=(()=>{class e{constructor(n,i,r,o){this._viewportRuler=n,this._document=i,this._platform=r,this._overlayContainer=o}global(){return new $F}flexibleConnectedTo(n){return new HF(n,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return e.\u0275fac=function(n){return new(n||e)(D(Ev),D(ge),D(Vi),D(Ov))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),GF=0,Fs=(()=>{class e{constructor(n,i,r,o,s,a,l,c,u,d,f,h){this.scrollStrategies=n,this._overlayContainer=i,this._componentFactoryResolver=r,this._positionBuilder=o,this._keyboardDispatcher=s,this._injector=a,this._ngZone=l,this._document=c,this._directionality=u,this._location=d,this._outsideClickDispatcher=f,this._animationsModuleType=h}create(n){const i=this._createHostElement(),r=this._createPaneElement(i),o=this._createPortalOutlet(r),s=new bu(n);return s.direction=s.direction||this._directionality.value,new BF(o,i,r,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(n){const i=this._document.createElement("div");return i.id="cdk-overlay-"+GF++,i.classList.add("cdk-overlay-pane"),n.appendChild(i),i}_createHostElement(){const n=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(n),n}_createPortalOutlet(n){return this._appRef||(this._appRef=this._injector.get(Ni)),new TF(n,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return e.\u0275fac=function(n){return new(n||e)(D(kF),D(Ov),D(Rn),D(UF),D(VF),D(_t),D(ue),D(ge),D(wF),D(x_),D(LF),D(AM,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac}),e})();const qF={provide:new x("cdk-connected-overlay-scroll-strategy"),deps:[Fs],useFactory:function WF(e){return()=>e.scrollStrategies.reposition()}};let Vv=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ve({type:e}),e.\u0275inj=pe({providers:[Fs,qF],imports:[yu,Mv,Iv,Iv]}),e})();class Os extends tt{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){const{hasError:t,thrownError:n,_value:i}=this;if(t)throw n;return this._throwIfClosed(),i}next(t){super.next(this._value=t)}}const Eu=new x("SPRITE_URL"),YF={provide:Eu,useValue:"/assets/sprite.svg"};let Lv=(()=>{class e{constructor(n,i){this._spriteUrl=n,this.host=i,this._svgSize=24}set size(n){this._svgSize=n,this.updateHost(n)}get size(){return this._svgSize}get spriteHref(){return`${this._spriteUrl}#${this.icon}`}ngOnInit(){this.updateHost(this._svgSize)}updateHost(n){this.host.nativeElement.style.width=`${n}px`,this.host.nativeElement.style.height=`${n}px`}}return e.\u0275fac=function(n){return new(n||e)(y(Eu),y(Ae))},e.\u0275cmp=qt({type:e,selectors:[["eui-svg-icon"]],inputs:{icon:"icon",size:"size"},decls:2,vars:5,template:function(n,i){1&n&&(function sf(){R.lFrame.currentNamespace="svg"}(),le(0,"svg"),Mi(1,"use"),ce()),2&n&&(qo("height",i.size,"px")("width",i.size,"px"),Z(1),Ht("href",i.spriteHref,null,"xlink"))},styles:["[_nghost-%COMP%]{margin:0 auto;padding:0;display:flex;align-items:center;justify-content:center;fill:none;fill:currentColor}"]}),e})(),Su=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ve({type:e}),e.\u0275inj=pe({providers:[YF],imports:[vn]}),e})(),ZF=(()=>{class e{constructor(){this.disabled=!1,this.choose=new ie,this.onChange=n=>{},this.onTouched=()=>{}}get disabledCssClass(){return this.disabled?`${this.prefix}-disabled`:""}registerOnChange(n){this.onChange=n}registerOnTouched(n){this.onTouched=n}writeValue(n){this._selectionSrv.changeValue(n,!1)}setDisabledState(n){this.disabled=n,this._selectionSrv.disabled=n}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=qt({type:e,selectors:[["ng-component"]],hostVars:2,hostBindings:function(n,i){2&n&&function lg(e){Tt(ct,$t,e,!0)}(i.disabledCssClass)},inputs:{disabled:"disabled"},outputs:{choose:"choose"},decls:0,vars:0,template:function(n,i){},encapsulation:2,changeDetection:0}),e})(),XF=(()=>{class e{get selectionIsAllowed(){return null!==this._selectionSrv&&this.selectable}ngOnInit(){null!=this._selectionSrv&&(null!=this.value&&!this._selectionSrv?.orderValues?.includes(this.value)&&this._selectionSrv.order.push(this),this.selected=this.checked,this.selectionIsAllowed&&(this._valueSubscription=this._selectionSrv.value$.subscribe(n=>this._switchSelectable(n)),this.checked&&this._selectionSrv.changeValue(this.value,!0,!1)))}ngOnDestroy(){this._selectionSrv.order=[],this._valueSubscription?.unsubscribe()}_switchSelectable(n){this._selectionSrv.isMultiselect?n.value===this.value&&(this.selected=n.isSelect):this.selected=this.value===n.value,this._cdr.detectChanges()}_applySelect(){null!=this._selectionSrv&&this.selectable&&(this._selectionSrv.changeValue(this.value,!this.selected,!0),this._appRef?.tick())}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=O({type:e}),e})(),Rs=(()=>{class e{constructor(){this.disabled=!1,this.order=[],this._multiselect=!1,this._distributor=new Os({isSelect:!1,notify:!1,value:void 0}),this._focusSubject=new Os(null)}get orderValues(){return this.order.map(n=>n.value)}get isMultiselect(){return this._multiselect}get value(){return this._distributor.value}get value$(){return this._distributor.asObservable()}get focused(){return this._focusSubject.value}get focused$(){return this._focusSubject.asObservable()}changeValue(n,i,r=!0){this.disabled||this._distributor.next({value:n,notify:r,isSelect:i})}setFocused(n){this._focusSubject.next(n)}blur(){this._focusSubject.next(null)}checkPrev(){if(1===this.order.length||this.disabled)return;const n=this._getIndexOfCurrentValue(),i=this.getPreviousAvailableValue(n);this.changeValue(i,!0)}checkNext(){if(1===this.order.length||this.disabled)return;const n=this._getIndexOfCurrentValue(),i=this.getNextAvailableValue(n);this.changeValue(i,!0)}getPreviousAvailableValue(n){for(let i=n;i>=0;i--){if(0===i)return this.getPreviousAvailableValue(this.order.length);if(!this.order[i-1]?.disabled)return this.orderValues[i-1]}}getNextAvailableValue(n){for(let i=n;i{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ve({type:e}),e.\u0275inj=pe({providers:[{provide:"EUI_PREFIX",useValue:"eui"}],imports:[vn]}),e})();const{isArray:KF}=Array,{getPrototypeOf:QF,prototype:JF,keys:eO}=Object;function iO(e,t){return e.reduce((n,i,r)=>(n[i]=t[r],n),{})}function rO(...e){const t=function LC(e){return W(ia(e))?e.pop():void 0}(e),{args:n,keys:i}=function tO(e){if(1===e.length){const t=e[0];if(KF(t))return{args:t,keys:null};if(function nO(e){return e&&"object"==typeof e&&QF(e)===JF}(t)){const n=eO(t);return{args:n.map(i=>t[i]),keys:n}}}return{args:e,keys:null}}(e),r=new xe(o=>{const{length:s}=n;if(!s)return void o.complete();const a=new Array(s);let l=s,c=s;for(let u=0;u{d||(d=!0,c--),a[u]=f},()=>l--,void 0,()=>{(!l||!d)&&(c||o.next(i?iO(i,a):a),o.complete())}))}});return t?r.pipe(gv(t)):r}let Bv=(()=>{class e{constructor(n,i){this._renderer=n,this._elementRef=i,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(n,i){this._renderer.setProperty(this._elementRef.nativeElement,n,i)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}}return e.\u0275fac=function(n){return new(n||e)(y(Pn),y(Ae))},e.\u0275dir=O({type:e}),e})(),Un=(()=>{class e extends Bv{}return e.\u0275fac=function(){let t;return function(i){return(t||(t=function Ne(e){return an(()=>{const t=e.prototype.constructor,n=t[Wt]||ka(t),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const o=r[Wt]||ka(r);if(o&&o!==n)return o;r=Object.getPrototypeOf(r)}return o=>new o})}(e)))(i||e)}}(),e.\u0275dir=O({type:e,features:[z]}),e})();const Rt=new x("NgValueAccessor"),sO={provide:Rt,useExisting:Q(()=>Iu),multi:!0},lO=new x("CompositionEventMode");let Iu=(()=>{class e extends Bv{constructor(n,i,r){super(n,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function aO(){const e=Gt()?Gt().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(n){this.setProperty("value",n??"")}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}}return e.\u0275fac=function(n){return new(n||e)(y(Pn),y(Ae),y(lO,8))},e.\u0275dir=O({type:e,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(n,i){1&n&&Fe("input",function(o){return i._handleInput(o.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(o){return i._compositionEnd(o.target.value)})},features:[ne([sO]),z]}),e})();const Be=new x("NgValidators"),Dn=new x("NgAsyncValidators");function Xv(e){return null!=e}function Kv(e){return Wo(e)?ra(e):e}function Qv(e){let t={};return e.forEach(n=>{t=null!=n?{...t,...n}:t}),0===Object.keys(t).length?null:t}function Jv(e,t){return t.map(n=>n(e))}function ey(e){return e.map(t=>function dO(e){return!e.validate}(t)?t:n=>t.validate(n))}function Mu(e){return null!=e?function ty(e){if(!e)return null;const t=e.filter(Xv);return 0==t.length?null:function(n){return Qv(Jv(n,t))}}(ey(e)):null}function xu(e){return null!=e?function ny(e){if(!e)return null;const t=e.filter(Xv);return 0==t.length?null:function(n){return rO(Jv(n,t).map(Kv)).pipe(Hi(Qv))}}(ey(e)):null}function iy(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function Tu(e){return e?Array.isArray(e)?e:[e]:[]}function ks(e,t){return Array.isArray(e)?e.includes(t):e===t}function sy(e,t){const n=Tu(t);return Tu(e).forEach(r=>{ks(n,r)||n.push(r)}),n}function ay(e,t){return Tu(t).filter(n=>!ks(e,n))}class ly{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(t){this._rawValidators=t||[],this._composedValidatorFn=Mu(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=xu(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,n){return!!this.control&&this.control.hasError(t,n)}getError(t,n){return this.control?this.control.getError(t,n):null}}class Ye extends ly{get formDirective(){return null}get path(){return null}}class wn extends ly{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}let uy=(()=>{class e extends class cy{constructor(t){this._cd=t}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}}{constructor(n){super(n)}}return e.\u0275fac=function(n){return new(n||e)(y(wn,2))},e.\u0275dir=O({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,i){2&n&&Yo("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[z]}),e})();const Hr="VALID",Vs="INVALID",Bi="PENDING",$r="DISABLED";function fy(e){return Array.isArray(e)?Mu(e):e||null}function hy(e){return Array.isArray(e)?xu(e):e||null}function Ls(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function Ur(e,t){(function Nu(e,t){const n=function ry(e){return e._rawValidators}(e);null!==t.validator?e.setValidators(iy(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const i=function oy(e){return e._rawAsyncValidators}(e);null!==t.asyncValidator?e.setAsyncValidators(iy(i,t.asyncValidator)):"function"==typeof i&&e.setAsyncValidators([i]);const r=()=>e.updateValueAndValidity();Hs(t._rawValidators,r),Hs(t._rawAsyncValidators,r)})(e,t),t.valueAccessor.writeValue(e.value),e.disabled&&t.valueAccessor.setDisabledState?.(!0),function DO(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&_y(e,t)})}(e,t),function bO(e,t){const n=(i,r)=>{t.valueAccessor.writeValue(i),r&&t.viewToModelUpdate(i)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function wO(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&_y(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function CO(e,t){if(t.valueAccessor.setDisabledState){const n=i=>{t.valueAccessor.setDisabledState(i)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function Hs(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function _y(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function Dy(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function wy(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const FO={provide:wn,useExisting:Q(()=>ju)},Iy=(()=>Promise.resolve())();let ju=(()=>{class e extends wn{constructor(n,i,r,o,s){super(),this._changeDetectorRef=s,this.control=new class extends class my{constructor(t,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=n,this._composedValidatorFn=fy(this._rawValidators),this._composedAsyncValidatorFn=hy(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===Hr}get invalid(){return this.status===Vs}get pending(){return this.status==Bi}get disabled(){return this.status===$r}get enabled(){return this.status!==$r}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._rawValidators=t,this._composedValidatorFn=fy(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=hy(t)}addValidators(t){this.setValidators(sy(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(sy(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(ay(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(ay(t,this._rawAsyncValidators))}hasValidator(t){return ks(this._rawValidators,t)}hasAsyncValidator(t){return ks(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(n=>{n.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(n=>{n.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=Bi,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=$r,this.errors=null,this._forEachChild(i=>{i.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(i=>i(!0))}enable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=Hr,this._forEachChild(i=>{i.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Hr||this.status===Bi)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?$r:Hr}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=Bi,this._hasOwnPendingAsyncValidator=!0;const n=Kv(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(!1!==n.emitEvent)}get(t){let n=t;return null==n||(Array.isArray(n)||(n=n.split(".")),0===n.length)?null:n.reduce((i,r)=>i&&i._find(r),this)}getError(t,n){const i=n?this.get(n):this;return i&&i.errors?i.errors[t]:null}hasError(t,n){return!!this.getError(t,n)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new ie,this.statusChanges=new ie}_calculateStatus(){return this._allControlsDisabled()?$r:this.errors?Vs:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Bi)?Bi:this._anyControlsHaveStatus(Vs)?Vs:Hr}_anyControlsHaveStatus(t){return this._anyControls(n=>n.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){Ls(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}}{constructor(t=null,n,i){super(function Ru(e){return(Ls(e)?e.validators:e)||null}(n),function Pu(e,t){return(Ls(t)?t.asyncValidators:e)||null}(i,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ls(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=wy(t)?t.value:t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==n.emitViewToModelChange)),this.updateValueAndValidity(n)}patchValue(t,n={}){this.setValue(t,n)}reset(t=this.defaultValue,n={}){this._applyFormState(t),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){Dy(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Dy(this._onDisabledChange,t)}_forEachChild(t){}_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(t){wy(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},this._registered=!1,this.update=new ie,this._parent=n,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=function Lu(e,t){if(!t)return null;let n,i,r;return Array.isArray(t),t.forEach(o=>{o.constructor===Iu?n=o:function IO(e){return Object.getPrototypeOf(e.constructor)===Un}(o)?i=o:r=o}),r||i||n||null}(0,o)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){const i=n.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),function Vu(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}(n,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(n){this.viewModel=n,this.update.emit(n)}_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(){Ur(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(n){Iy.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){const i=n.isDisabled.currentValue,r=0!==i&&function jc(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}(i);Iy.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?function Bs(e,t){return[...t.path,e]}(n,this._parent):[n]}}return e.\u0275fac=function(n){return new(n||e)(y(Ye,9),y(Be,10),y(Dn,10),y(Rt,10),y(Ar,8))},e.\u0275dir=O({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[ne([FO]),z,Nt]}),e})(),xy=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ve({type:e}),e.\u0275inj=pe({}),e})(),n1=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ve({type:e}),e.\u0275inj=pe({imports:[xy]}),e})(),r1=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ve({type:e}),e.\u0275inj=pe({imports:[n1]}),e})(),s1=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ve({type:e}),e.\u0275inj=pe({providers:[{provide:"EUI_PREFIX",useValue:"eui"}],imports:[vn,jr]}),e})(),a1=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ve({type:e}),e.\u0275inj=pe({providers:[{provide:"EUI_PREFIX",useValue:"eui"}],imports:[vn,jr,Su]}),e})(),l1=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ve({type:e}),e.\u0275inj=pe({providers:[{provide:"EUI_PREFIX",useValue:"eui"}],imports:[vn,jr]}),e})();const Wy=["*"],c1=["overlayContainer"],u1=["overlay"];function d1(e,t){1&e&&xi(0)}function f1(e,t){1&e&&xi(0)}function h1(e,t){if(1&e&&(vr(0),le(1,"eui-option-wrapper",7),ze(2,f1,1,0,"ng-container",1),ce(),yr()),2&e){const n=t.$implicit;Z(1),ae("checked",n.value)("value",n.value)("disabled",n.disabled),Z(1),ae("ngTemplateOutlet",n.template)}}function p1(e,t){if(1&e&&(le(0,"div"),ze(1,h1,3,4,"ng-container",6),ce()),2&e){const n=Oe();Re("",n.prefix,"-select__dropdown"),qo("max-height",n.maxHeight||n.viewMaximumHeight,"px"),Z(1),ae("ngForOf",n.options)}}let qy=(()=>{class e{constructor(n){this._selectionSrv=n,this.checked=!1,this.disabled=!1}ngOnInit(){this._selectionSrv?.order.push(this)}ngOnDestroy(){this._selectionSrv.order=[]}}return e.\u0275fac=function(n){return new(n||e)(y(Rs))},e.\u0275cmp=qt({type:e,selectors:[["eui-option"]],contentQueries:function(n,i,r){if(1&n&&Cc(r,Ut,5),2&n){let o;gn(o=mn())&&(i.template=o.first)}},inputs:{checked:"checked",value:"value",disabled:"disabled"},ngContentSelectors:Wy,decls:1,vars:0,template:function(n,i){1&n&&(ec(),tc(0))},encapsulation:2,changeDetection:0}),e})();const g1=[new et({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"},0,2),new et({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"},0,2)],m1=["Tab","Escape","Enter","Space","ArrowUp","ArrowLeft","ArrowDown","ArrowRight"," "];let _1=(()=>{class e extends XF{constructor(n,i,r,o){super(),this.prefix=n,this._cdr=i,this._appRef=r,this._selectionSrv=o,this.selectable=!0,this.focused=!1,this.checked=!1,this.disabled=!1}ngOnInit(){super.ngOnInit(),this._focusedSubscription=this._selectionSrv.focused$.subscribe(n=>{this.focused=n===this.value,this._cdr.markForCheck()})}handleClick(n){n.preventDefault(),this._applySelect()}ngOnDestroy(){this._focusedSubscription.unsubscribe(),this._valueSubscription?.unsubscribe()}get classNames(){let n="";return this.focused&&(n+=`${this.prefix}-focused `),this.selected&&(n+=`${this.prefix}-selected `),this.disabled&&(n+=`${this.prefix}-disabled`),n}}return e.\u0275fac=function(n){return new(n||e)(y("EUI_PREFIX"),y(Ar),y(Ni),y(Rs,8))},e.\u0275cmp=qt({type:e,selectors:[["eui-option-wrapper"]],inputs:{checked:"checked",value:"value",disabled:"disabled"},features:[z],ngContentSelectors:Wy,decls:2,vars:4,consts:[[3,"ngClass","keyup.enter","keyup.space","click"]],template:function(n,i){1&n&&(ec(),le(0,"div",0),Fe("keyup.enter",function(o){return i.handleClick(o)})("keyup.space",function(o){return i.handleClick(o)})("click",function(o){return i.handleClick(o)}),tc(1),ce()),2&n&&(Re("",i.prefix,"-select__option"),ae("ngClass",i.classNames))},dependencies:[Cs],encapsulation:2,changeDetection:0}),e})(),v1=(()=>{class e extends ZF{constructor(n,i,r,o,s){super(),this._cdr=n,this.prefix=i,this._hostElement=r,this._selectionSrv=o,this._overlay=s,this.tabindex=0,this.focused=!1,this.showDropdown=new Os(!1),this.positions=g1,this.icon="eui-check",this.disabled=!1,this.choose=new ie,this.byToggleDropdown=new ie,this._selectionSrv.value$.pipe(Cv(a=>a.notify),Hi(a=>a.value)).subscribe(a=>{this.choose.emit(a),this.onChange(a),this.onTouched();const l=this._selectionSrv.orderValues?.indexOf(a);this.selectedTemplate=this.options?.get(l)?.template,this.showDropdown.next(!1)}),this.showDropdown.subscribe(a=>{this.toggleDropdown(),this.byToggleDropdown.emit(this.showDropdown)})}ngOnChanges(n){this._selectionSrv.disabled=!0===n.disabled?.currentValue,this.tabindex=this.disabled?-1:0}ngOnDestroy(){this._valueSubs?.unsubscribe()}ngAfterContentInit(){if(null!=this.selectedTemplate)return;const n=this.options.find(i=>i.checked)??this.options.get(0);n&&(this.selectedTemplate=n.template)}_updateDropdownWidth(){this.dropdownWidth=this.getDropdownWidth(),this._cdr.markForCheck()}blurElementsFocus(){this._selectionSrv.blur()}onKeyPress(n){if(!m1.includes(n.key))return;const i=this._selectionSrv.focused,r=this._selectionSrv.orderValues.indexOf(i);if("Tab"===n.key||"Escape"===n.key){if(!1===this.showDropdown.value)return;this._updateDropdownWidth(),this.showDropdown.next(!1)}n.preventDefault(),("Enter"===n.key||"Space"===n.key||" "===n.key)&&(!0===this.showDropdown.value?(this._selectionSrv.changeValue(i,!0,!0),this._selectionSrv.blur()):(this._updateDropdownWidth(),this.showDropdown.next(!0))),this._selectionSrv.handleFocus(n.key,r),this._cdr.detectChanges()}getDropdownWidth(){return this.width??this._hostElement?.nativeElement.getBoundingClientRect().width}setFocus(){this.disabled||(this.focused=!0)}blur(){this.focused=!1}clickDropdown(n){n?.preventDefault(),n?.stopPropagation(),this._updateDropdownWidth(),this.showDropdown.next(!this.showDropdown.value)}toggleDropdown(){if(this.showDropdown.value){const n=new bu({positionStrategy:this._overlay.position().flexibleConnectedTo(this._hostElement).withPositions(this.positions).withPush(!1),scrollStrategy:this._overlay.scrollStrategies.reposition()});this._overlayRef=this._overlay.create(n),this._overlayRef.outsidePointerEvents().subscribe(i=>{!Array.from(this._hostElement.nativeElement.children).includes(i.target)&&this.showDropdown.next(!1)}),this._overlayRef.updateSize({width:this.dropdownWidth}),this._overlayRef.attach(new Du(this._overlayTemplate,this._overlayContainer)),this._overlayRef.updatePosition(),this._setViewMaxHeight(),this._cdr.detectChanges()}else!this.showDropdown.value&&this._overlayRef&&(this._overlayRef.dispose(),this._cdr.detectChanges())}_setViewMaxHeight(){null!=this.maxHeight&&!isNaN(this.maxHeight)&&null==this.maxVisibleItemsCount&&this.maxVisibleItemsCount<1||(this.viewMaximumHeight=this._overlayRef.overlayElement.querySelector("eui-option-wrapper").getBoundingClientRect()?.height*this.maxVisibleItemsCount)}}return e.\u0275fac=function(n){return new(n||e)(y(Ar),y("EUI_PREFIX"),y(Ae),y(Rs),y(Fs))},e.\u0275cmp=qt({type:e,selectors:[["eui-select"]],contentQueries:function(n,i,r){if(1&n&&Cc(r,qy,4),2&n){let o;gn(o=mn())&&(i.options=o)}},viewQuery:function(n,i){if(1&n&&(Ri(c1,5,dt),Ri(u1,5)),2&n){let r;gn(r=mn())&&(i._overlayContainer=r.first),gn(r=mn())&&(i._overlayTemplate=r.first)}},hostBindings:function(n,i){1&n&&Fe("resize",function(){return i._updateDropdownWidth()},0,Ph)("mousemove",function(){return i.blurElementsFocus()},!1,kh)("keydown",function(o){return i.onKeyPress(o)})},inputs:{positions:"positions",icon:"icon",disabled:"disabled",maxHeight:"maxHeight",width:"width",maxVisibleItemsCount:"maxVisibleItemsCount"},outputs:{choose:"choose",byToggleDropdown:"byToggleDropdown"},features:[ne([Rs,{provide:Rt,useExisting:Q(()=>e),multi:!0}]),z,Nt],decls:9,vars:14,consts:[[3,"tabIndex","click","focus"],[4,"ngTemplateOutlet"],[3,"ngClass"],[3,"size","icon"],["overlayContainer",""],["overlay",""],[4,"ngFor","ngForOf"],[3,"checked","value","disabled"]],template:function(n,i){1&n&&(le(0,"div",0),Fe("click",function(o){return i.clickDropdown(o)})("focus",function(){return i.setFocus()}),le(1,"div"),ze(2,d1,1,0,"ng-container",1),ce(),le(3,"div",2),Mi(4,"eui-svg-icon",3),ce()(),xi(5,null,4),ze(7,p1,2,6,"ng-template",null,5,Dc)),2&n&&(Re("",i.prefix,"-select__body"),ae("tabIndex",i.tabindex),Z(1),Re("",i.prefix,"-select__body-content"),Z(1),ae("ngTemplateOutlet",i.selectedTemplate),Z(1),Re("",i.prefix,"-select__body-mark"),ae("ngClass",i.showDropdown.value?i.prefix+"-open":""),Z(1),ae("size",20)("icon",i.icon))},dependencies:[Cs,Kc,U_,Lv,_1],styles:["[_nghost-%COMP%]:focus, [_nghost-%COMP%]:focus-visible, [_nghost-%COMP%]:focus-within{outline:none}"],changeDetection:0}),e})(),y1=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ve({type:e}),e.\u0275inj=pe({providers:[{provide:"EUI_PREFIX",useValue:"eui"}],imports:[jr,vn,Su,Vv,Mv]}),e})();const C1=["overlayContainer"],D1=["overlay"],w1=["tooltipRef"];function b1(e,t){if(1&e&&(le(0,"p"),pn(1," : "),le(2,"span"),pn(3),ce()()),2&e){const n=Oe();Re("",n.prefix,"-header__value"),Z(3),Vn(n.value)}}function E1(e,t){if(1&e&&(le(0,"div"),pn(1),ce()),2&e){const n=Oe(2);Re("",n.prefix,"-header__tooltip-text"),Z(1),Vn(n.tooltip)}}function S1(e,t){if(1&e){const n=function Bp(){return v()}();le(0,"div",2,3),Fe("click",function(){return function Wd(e){return R.lFrame.contextLView=e,e[8]}(n),function qd(e){return R.lFrame.contextLView=null,e}(Oe().clickOverlay())}),Mi(2,"eui-svg-icon",4),xi(3,null,5),ze(5,E1,2,4,"ng-template",null,6,Dc),ce()}if(2&e){const n=Oe();Re("",n.prefix,"-header__tooltip"),Z(2),ae("icon",n.iconName)("size",16)}}function I1(e,t){if(1&e&&(le(0,"div"),pn(1),ce()),2&e){const n=Oe();Re("",n.prefix,"-header__description"),Z(1),Vn(n.description)}}function F1(e,t){if(1&e&&Mi(0,"div",6),2&e){const n=Oe(2).$implicit,i=Oe();(function Mt(e){Tt(dg,Z0,e,!1)})(i.getPreviewStyles(n)),Re("",i.prefix,"-content__preview"),ae("ngClass",i.cssClass)}}function O1(e,t){if(1&e&&(le(0,"div"),pn(1),ce()),2&e){const n=Oe(3).$implicit;Re("",Oe().prefix,"-content__value-name"),Z(1),Vn(n.name)}}function R1(e,t){if(1&e&&(le(0,"div"),pn(1),ce()),2&e){const n=Oe(3).$implicit;Re("",Oe().prefix,"-content__value-text"),Z(1),Xo(" ",n.additionalText," ")}}function P1(e,t){if(1&e&&(le(0,"div"),ze(1,O1,2,4,"div",5),ze(2,R1,2,4,"div",5),ce()),2&e){const n=Oe(2).$implicit,i=Oe();Re("",i.prefix,"-content__value"),Z(1),ae("ngIf",null!=n.name),Z(1),ae("ngIf",null!=n.additionalText&&!1!==i.option.showValueAdditionalText)}}function k1(e,t){if(1&e&&(le(0,"div"),ze(1,F1,1,6,"div",4),ze(2,P1,3,5,"div",5),ce()),2&e){const n=Oe().$implicit,i=Oe();(function bg(e,t,n,i,r){Tt(ct,$t,Ci(v(),e,t,n,i,r),!0)})("",i.prefix,"-content__item ",i.prefix,"-content__item_select"),Z(1),ae("ngIf",null!=n.color||null!=n.imageUrl),Z(1),ae("ngIf",null!=n.name||null!=n.additionalText)}}function N1(e,t){if(1&e&&(vr(0),le(1,"eui-option",3),ze(2,k1,3,6,"ng-template"),ce(),yr()),2&e){const n=t.$implicit;Z(1),ae("value",n)("disabled",null==n?null:n.disabled)}}const V1=[new et({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"},0,0,"mdo-header__tooltip_tc"),new et({originX:"center",originY:"top"},{overlayX:"start",overlayY:"bottom"},-24,0,"mdo-header__tooltip_tl"),new et({originX:"center",originY:"top"},{overlayX:"end",overlayY:"bottom"},24,0,"mdo-header__tooltip_tr"),new et({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"},0,0,"mdo-header__tooltip_bc"),new et({originX:"center",originY:"bottom"},{overlayX:"start",overlayY:"top"},-24,0,"mdo-header__tooltip_bl"),new et({originX:"center",originY:"bottom"},{overlayX:"end",overlayY:"top"},24,0,"mdo-header__tooltip_br")];let L1=(()=>{class e{constructor(n,i,r,o,s){this.prefix=n,this._overlay=i,this._viewRef=r,this._hostElement=o,this._platform=s,this.positions=V1,this.name="",this.showValueInTitle=!1,this.useCustomTooltip=!1,this.byToggleTooltip=new ie,this.iconName="au-uif-tooltip",this.showTooltip=new Os(!1),this.showTooltip.subscribe(()=>{this.useCustomTooltip||this.toggleOverlay(),this.byToggleTooltip.emit(this.showTooltip)})}set icon(n){null!=n&&(this.iconName=n)}get isIOS(){return this._platform.IOS}clickOverlay(){this.showTooltip.next(!this.showTooltip.value)}clickedOutside(){this.showTooltip.next(!1)}toggleOverlay(){if(this.showTooltip.value){const n=window.innerHeight>document.documentElement.clientHeight,i=window.innerWidth==document.documentElement.clientWidth,r=this.isIOS&&n&&i?window.innerHeight-document.documentElement.clientHeight:0,o=new bu({positionStrategy:this._overlay.position().flexibleConnectedTo(this.tooltipRef).setOrigin(this.tooltipRef).withPositions([new et({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"},0,-r,"mdo-header__tooltip_tc"),new et({originX:"center",originY:"top"},{overlayX:"start",overlayY:"bottom"},-24,-r,"mdo-header__tooltip_tl"),new et({originX:"center",originY:"top"},{overlayX:"end",overlayY:"bottom"},24,-r,"mdo-header__tooltip_tr"),new et({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"},0,-r,"mdo-header__tooltip_bc"),new et({originX:"center",originY:"bottom"},{overlayX:"start",overlayY:"top"},-24,-r,"mdo-header__tooltip_bl"),new et({originX:"center",originY:"bottom"},{overlayX:"end",overlayY:"top"},24,-r,"mdo-header__tooltip_br")]).withPush(!1).withFlexibleDimensions(!0),scrollStrategy:this._overlay.scrollStrategies.close()});this._overlayRef=this._overlay.create(o),this._overlayRef.outsidePointerEvents().subscribe(s=>{!Array.from(this._hostElement.nativeElement.children).includes(s.target)&&this.showTooltip.next(!1)}),this._overlayRef.attach(new Du(this._overlayTemplate,this._overlayContainer)),this._overlayRef.updatePosition()}else!this.showTooltip.value&&this._overlayRef&&this._overlayRef.dispose()}}return e.\u0275fac=function(n){return new(n||e)(y("EUI_PREFIX"),y(Fs),y(dt),y(Ae),y(Vi))},e.\u0275cmp=qt({type:e,selectors:[["mdo-header"]],viewQuery:function(n,i){if(1&n&&(Ri(C1,5,dt),Ri(D1,5),Ri(w1,5,Ae)),2&n){let r;gn(r=mn())&&(i._overlayContainer=r.first),gn(r=mn())&&(i._overlayTemplate=r.first),gn(r=mn())&&(i.tooltipRef=r.first)}},inputs:{name:"name",value:"value",tooltip:"tooltip",description:"description",showValueInTitle:"showValueInTitle",useCustomTooltip:"useCustomTooltip",icon:"icon"},outputs:{byToggleTooltip:"byToggleTooltip"},decls:7,vars:13,consts:[[3,"class",4,"ngIf"],[3,"class","click",4,"ngIf"],[3,"click"],["tooltipRef",""],[3,"icon","size"],["overlayContainer",""],["overlay",""]],template:function(n,i){1&n&&(le(0,"div")(1,"div")(2,"p"),pn(3),ce(),ze(4,b1,4,4,"p",0),ze(5,S1,7,5,"div",1),ce(),ze(6,I1,2,4,"div",0),ce()),2&n&&(Re("",i.prefix,"-header"),Z(1),Re("",i.prefix,"-header__group"),Z(1),Re("",i.prefix,"-header__title"),Z(1),Vn(i.name),Z(1),ae("ngIf",i.showValueInTitle&&null!=i.value),Z(1),ae("ngIf",null!=i.tooltip),Z(1),ae("ngIf",null!=i.description))},dependencies:[Qc,Lv]}),e})();function B1(e){return e.imageUrl?{background:`url(${e.imageUrl})`,backgroundSize:"contain",backgroundRepeat:"no-repeat",backgroundPosition:"center"}:e.color?{background:e.color}:null}let j1=(()=>{class e{constructor(n){this.prefix=n,this.changed=new ie,this.toggleTooltip=new ie,this.toggleDropdown=new ie,this.getPreviewStyles=B1}getDisabledStyles(n){return n?`${this.prefix}-disabled`:""}get cssClass(){return null!=this?.option?.showValueAdditionalText?`${this.prefix}-small`:`${this.prefix}-big`}}return e.\u0275fac=function(n){return new(n||e)(y("EUI_PREFIX"))},e.\u0275cmp=qt({type:e,selectors:[["mdo-select"]],inputs:{option:"option",config:"config"},outputs:{changed:"changed",toggleTooltip:"toggleTooltip",toggleDropdown:"toggleDropdown"},decls:3,vars:11,consts:[[3,"showValueInTitle","useCustomTooltip","name","value","tooltip","description","icon","byToggleTooltip"],[3,"disabled","ngModel","icon","ngModelChange","byToggleDropdown"],[4,"ngFor","ngForOf"],[3,"value","disabled"],[3,"class","ngClass","style",4,"ngIf"],[3,"class",4,"ngIf"],[3,"ngClass"]],template:function(n,i){1&n&&(le(0,"mdo-header",0),Fe("byToggleTooltip",function(o){return i.toggleTooltip.emit(o)}),ce(),le(1,"eui-select",1),Fe("ngModelChange",function(o){return i.changed.emit(o)})("byToggleDropdown",function(o){return i.toggleDropdown.emit(o)}),ze(2,N1,3,2,"ng-container",2),ce()),2&n&&(ae("showValueInTitle",null==i.config?null:i.config.showValueInTitle)("useCustomTooltip",null==i.config?null:i.config.useCustomTooltip)("name",null==i.option?null:i.option.name)("value",null==i.option||null==i.option.selected?null:i.option.selected.name)("tooltip",null==i.option?null:i.option.tooltip)("description",null==i.option?null:i.option.description)("icon",null==i.config?null:i.config.tooltipIcon),Z(1),ae("disabled",null==i.config?null:i.config.disabled)("ngModel",null==i.option?null:i.option.selected)("icon",null==i.config?null:i.config.chevronIcon),Z(1),ae("ngForOf",null==i.option?null:i.option.values))},dependencies:[Cs,Kc,Qc,uy,ju,v1,qy,L1],changeDetection:0}),e})(),H1=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ve({type:e}),e.\u0275inj=pe({providers:[{provide:"EUI_PREFIX",useValue:"mdo"}],imports:[vn,Su,jr,r1,Vv,a1,s1,l1,y1]}),e})();class $1 extends tt{constructor(t=1/0,n=1/0,i=pu){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){const{isStopped:n,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:s}=this;n||(i.push(t),!r&&i.push(o.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();const n=this._innerSubscribe(t),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let s=0;sclearTimeout(n)},scheduleBeforeRender(e){if(typeof window>"u")return Us.schedule(e,0);if(typeof window.requestAnimationFrame>"u")return Us.schedule(e,16);const t=window.requestAnimationFrame(e);return()=>window.cancelAnimationFrame(t)}};let qu;function Q1(e,t,n){let i=n;return function z1(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&t.some((r,o)=>!("*"===r||!function q1(e,t){if(!qu){const n=Element.prototype;qu=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE&&qu.call(e,t)}(e,r)||(i=o,0))),i}class eR{constructor(t,n){this.componentFactory=n.get(Rn).resolveComponentFactory(t)}create(t){return new tR(this.componentFactory,t)}}class tR{constructor(t,n){this.componentFactory=t,this.injector=n,this.eventEmitters=new $1(1),this.events=this.eventEmitters.pipe(function U1(e,t){return Pt((n,i)=>{let r=null,o=0,s=!1;const a=()=>s&&!r&&i.complete();n.subscribe(ft(i,l=>{r?.unsubscribe();let c=0;const u=o++;ht(e(l,u)).subscribe(r=ft(i,d=>i.next(t?t(l,d,u,c++):d),()=>{r=null,a()}))},()=>{s=!0,a()}))})}(i=>oa(...i))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:i})=>i)),this.ngZone=this.injector.get(ue),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(t){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(t)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=Us.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},10))})}getInputValue(t){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(t):this.componentRef.instance[t])}setInputValue(t,n){this.runInZone(()=>{null!==this.componentRef?function Y1(e,t){return e===t||e!=e&&t!=t}(n,this.getInputValue(t))&&(void 0!==n||!this.unchangedInputs.has(t))||(this.recordInputChange(t,n),this.unchangedInputs.delete(t),this.hasInputChanges=!0,this.componentRef.instance[t]=n,this.scheduleDetectChanges()):this.initialInputValues.set(t,n)})}initializeComponent(t){const n=_t.create({providers:[],parent:this.injector}),i=function K1(e,t){const n=e.childNodes,i=t.map(()=>[]);let r=-1;t.some((o,s)=>"*"===o&&(r=s,!0));for(let o=0,s=n.length;o{this.initialInputValues.has(t)&&this.setInputValue(t,this.initialInputValues.get(t))}),this.initialInputValues.clear()}initializeOutputs(t){const n=this.componentFactory.outputs.map(({propName:i,templateName:r})=>t.instance[i].pipe(Hi(s=>({name:r,value:s}))));this.eventEmitters.next(n)}callNgOnChanges(t){if(!this.implementsOnChanges||null===this.inputChanges)return;const n=this.inputChanges;this.inputChanges=null,t.instance.ngOnChanges(n)}markViewForCheck(t){this.hasInputChanges&&(this.hasInputChanges=!1,t.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=Us.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(t,n){if(!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const i=this.inputChanges[t];if(i)return void(i.currentValue=n);const r=this.unchangedInputs.has(t),o=r?void 0:this.getInputValue(t);this.inputChanges[t]=new Bd(o,n,r)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(t){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(t):t()}}class nR extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}let rR=(()=>{class e{constructor(n){this._injector=n}ngDoBootstrap(){const n=function iR(e,t){const n=function X1(e,t){return t.get(Rn).resolveComponentFactory(e).inputs}(e,t.injector),i=t.strategyFactory||new eR(e,t.injector),r=function Z1(e){const t={};return e.forEach(({propName:n,templateName:i})=>{t[function G1(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}(i)]=n}),t}(n);class o extends nR{constructor(a){super(),this.injector=a}get ngElementStrategy(){if(!this._ngElementStrategy){const a=this._ngElementStrategy=i.create(this.injector||t.injector);n.forEach(({propName:l})=>{if(!this.hasOwnProperty(l))return;const c=this[l];delete this[l],a.setInputValue(l,c)})}return this._ngElementStrategy}attributeChangedCallback(a,l,c,u){this.ngElementStrategy.setInputValue(r[a],c)}connectedCallback(){let a=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),a=!0),this.ngElementStrategy.connect(this),a||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(a=>{const l=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(l)})}}return o.observedAttributes=Object.keys(r),n.forEach(({propName:s})=>{Object.defineProperty(o.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(a){this.ngElementStrategy.setInputValue(s,a)},configurable:!0,enumerable:!0})}),o}(j1,{injector:this._injector});customElements.define("au-dropdown",n)}}return e.\u0275fac=function(n){return new(n||e)(D(_t))},e.\u0275mod=ve({type:e}),e.\u0275inj=pe({providers:[{provide:Eu,useValue:""}],imports:[RA,H1]}),e})();(function ZM(){f_=!1})(),OA().bootstrapModule(rR,{ngZone:"noop"}).catch(e=>console.error(e))}},W=>{W(W.s=937)}]);