"use strict";(self.webpackChunkchips=self.webpackChunkchips||[]).push([[429],{330:()=>{}},s=>{s(s.s=330)}]);(()=>{"use strict";var e,v={},h={};function n(e){var l=h[e];if(void 0!==l)return l.exports;var r=h[e]={exports:{}};return v[e](r,r.exports,n),r.exports}n.m=v,e=[],n.O=(l,r,c,f)=>{if(!r){var u=1/0;for(a=0;a=f)&&Object.keys(n.O).every(d=>n.O[d](r[s]))?r.splice(s--,1):(i=!1,f0&&e[a-1][2]>f;a--)e[a]=e[a-1];e[a]=[r,c,f]},n.o=(e,l)=>Object.prototype.hasOwnProperty.call(e,l),(()=>{var e={666:0};n.O.j=c=>0===e[c];var l=(c,f)=>{var s,o,[a,u,i]=f,t=0;if(a.some(_=>0!==e[_])){for(s in u)n.o(u,s)&&(n.m[s]=u[s]);if(i)var p=i(n)}for(c&&c(f);t{function W(e){return"function"==typeof e}function Vr(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 Lr=Vr(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 $n(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 Lr?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{Ju(o)}catch(s){t=t??[],s instanceof Lr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Lr(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Ju(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)&&$n(n,t)}remove(t){const{_finalizers:n}=this;n&&$n(n,t),t instanceof ze&&t._removeParent(this)}}ze.EMPTY=(()=>{const e=new ze;return e.closed=!0,e})();const Qu=ze.EMPTY;function Ku(e){return e instanceof ze||e&&"closed"in e&&W(e.remove)&&W(e.add)&&W(e.unsubscribe)}function Ju(e){W(e)?e():e.unsubscribe()}const vn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Br={setTimeout(e,t,...n){const{delegate:i}=Br;return i?.setTimeout?i.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=Br;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function ed(e){Br.setTimeout(()=>{const{onUnhandledError:t}=vn;if(!t)throw e;t(e)})}function Bs(){}const $y=js("C",void 0,void 0);function js(e,t,n){return{kind:e,value:t,error:n}}let yn=null;function jr(e){if(vn.useDeprecatedSynchronousErrorHandling){const t=!yn;if(t&&(yn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:i}=yn;if(yn=null,n)throw i}}else e()}class Hs extends ze{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Ku(t)&&t.add(this)):this.destination=Zy}static create(t,n,i){return new ki(t,n,i)}next(t){this.isStopped?Us(function Gy(e){return js("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?Us(function Uy(e){return js("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Us($y,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 Wy=Function.prototype.bind;function $s(e,t){return Wy.call(e,t)}class qy{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(i){Hr(i)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(i){Hr(i)}else Hr(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Hr(n)}}}class ki extends Hs{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&&vn.useDeprecatedNextContext?(o=Object.create(t),o.unsubscribe=()=>this.unsubscribe(),r={next:t.next&&$s(t.next,o),error:t.error&&$s(t.error,o),complete:t.complete&&$s(t.complete,o)}):r=t}this.destination=new qy(r)}}function Hr(e){vn.useDeprecatedSynchronousErrorHandling?function zy(e){vn.useDeprecatedSynchronousErrorHandling&&yn&&(yn.errorThrown=!0,yn.error=e)}(e):ed(e)}function Us(e,t){const{onStoppedNotification:n}=vn;n&&Br.setTimeout(()=>n(e,t))}const Zy={closed:!0,next:Bs,error:function Yy(e){throw e},complete:Bs},Gs="function"==typeof Symbol&&Symbol.observable||"@@observable";function td(e){return e}let Ee=(()=>{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 Qy(e){return e&&e instanceof Hs||function Xy(e){return e&&W(e.next)&&W(e.error)&&W(e.complete)}(e)&&Ku(e)}(n)?n:new ki(n,i,r);return jr(()=>{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=id(i))((r,o)=>{const s=new ki({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)}[Gs](){return this}pipe(...n){return function nd(e){return 0===e.length?td:1===e.length?e[0]:function(n){return e.reduce((i,r)=>r(i),n)}}(n)(this)}toPromise(n){return new(n=id(n))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return e.create=t=>new e(t),e})();function id(e){var t;return null!==(t=e??vn.Promise)&&void 0!==t?t:Promise}const Ky=Vr(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Qe=(()=>{class e extends Ee{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const i=new rd(this,this);return i.operator=n,i}_throwIfClosed(){if(this.closed)throw new Ky}next(n){jr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(n)}})}error(n){jr(()=>{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(){jr(()=>{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?Qu:(this.currentObservers=null,o.push(n),new ze(()=>{this.currentObservers=null,$n(o,n)}))}_checkFinalizedStatuses(n){const{hasError:i,thrownError:r,isStopped:o}=this;i?n.error(r):o&&n.complete()}asObservable(){const n=new Ee;return n.source=this,n}}return e.create=(t,n)=>new rd(t,n),e})();class rd extends Qe{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:Qu}}function Ft(e){return t=>{if(function Jy(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 at(e,t,n,i,r){return new eC(e,t,n,i,r)}class eC extends Hs{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 Ni(e,t){return Ft((n,i)=>{let r=0;n.subscribe(at(i,o=>{i.next(e.call(t,o,r++))}))})}function nn(e){return this instanceof nn?(this.v=e,this):new nn(e)}function ad(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 nn?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 ld(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 Ys(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 Zs=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function cd(e){return W(e?.then)}function ud(e){return W(e[Gs])}function dd(e){return Symbol.asyncIterator&&W(e?.[Symbol.asyncIterator])}function fd(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 hd=function wC(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function pd(e){return W(e?.[hd])}function gd(e){return ad(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:i,done:r}=yield nn(n.read());if(r)return yield nn(void 0);yield yield nn(i)}}finally{n.releaseLock()}})}function md(e){return W(e?.getReader)}function lt(e){if(e instanceof Ee)return e;if(null!=e){if(ud(e))return function bC(e){return new Ee(t=>{const n=e[Gs]();if(W(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Zs(e))return function EC(e){return new Ee(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,ed)})}(e);if(dd(e))return _d(e);if(pd(e))return function IC(e){return new Ee(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(md(e))return function MC(e){return _d(gd(e))}(e)}throw fd(e)}function _d(e){return new Ee(t=>{(function xC(e,t){var n,i,r,o;return function od(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=ld(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 rn(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 Xs(e,t,n=1/0){return W(t)?Xs((i,r)=>Ni((o,s)=>t(i,o,r,s))(lt(e(i,r))),n):("number"==typeof t&&(n=t),Ft((i,r)=>function TC(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;lt(n(g,u++)).subscribe(at(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(at(t,h,()=>{d=!0,f()})),()=>{a?.()}}(i,r,e,n)))}const Qs=new Ee(e=>e.complete());function vd(e){return e&&W(e.schedule)}function Ks(e){return e[e.length-1]}function yd(e){return vd(Ks(e))?e.pop():void 0}function Cd(e,t=0){return Ft((n,i)=>{n.subscribe(at(i,r=>rn(i,e,()=>i.next(r),t),()=>rn(i,e,()=>i.complete(),t),r=>rn(i,e,()=>i.error(r),t)))})}function Dd(e,t=0){return Ft((n,i)=>{i.add(e.schedule(()=>n.subscribe(i),t))})}function wd(e,t){if(!e)throw new Error("Iterable cannot be null");return new Ee(n=>{rn(n,t,()=>{const i=e[Symbol.asyncIterator]();rn(n,t,()=>{i.next().then(r=>{r.done?n.complete():n.next(r.value)})},0,!0)})})}function Js(e,t){return t?function BC(e,t){if(null!=e){if(ud(e))return function PC(e,t){return lt(e).pipe(Dd(t),Cd(t))}(e,t);if(Zs(e))return function NC(e,t){return new Ee(n=>{let i=0;return t.schedule(function(){i===e.length?n.complete():(n.next(e[i++]),n.closed||this.schedule())})})}(e,t);if(cd(e))return function kC(e,t){return lt(e).pipe(Dd(t),Cd(t))}(e,t);if(dd(e))return wd(e,t);if(pd(e))return function VC(e,t){return new Ee(n=>{let i;return rn(n,t,()=>{i=e[hd](),rn(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(md(e))return function LC(e,t){return wd(gd(e),t)}(e,t)}throw fd(e)}(e,t):lt(e)}function ea(...e){const t=yd(e),n=function RC(e,t){return"number"==typeof Ks(e)?e.pop():t}(e,1/0),i=e;return i.length?1===i.length?lt(i[0]):function AC(e=1/0){return Xs(td,e)}(n)(Js(i,t)):Qs}function ta(e,t,...n){if(!0===t)return void e();if(!1===t)return;const i=new ki({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 na(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Q(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Q).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 ia(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const HC=X({__forward_ref__:X});function Z(e){return e.__forward_ref__=Z,e.toString=function(){return Q(this())},e}function A(e){return ra(e)?e():e}function ra(e){return"function"==typeof e&&e.hasOwnProperty(HC)&&e.__forward_ref__===Z}class S extends Error{constructor(t,n){super(function $r(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 Ur(e,t){throw new S(-201,!1)}function Je(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 ue(e){return{providers:e.providers||[],imports:e.imports||[]}}function Gr(e){return bd(e,zr)||bd(e,Sd)}function bd(e,t){return e.hasOwnProperty(t)?e[t]:null}function Ed(e){return e&&(e.hasOwnProperty(oa)||e.hasOwnProperty(ZC))?e[oa]:null}const zr=X({\u0275prov:X}),oa=X({\u0275inj:X}),Sd=X({ngInjectableDef:X}),ZC=X({ngInjectorDef:X});var O=(()=>((O=O||{})[O.Default=0]="Default",O[O.Host=1]="Host",O[O.Self=2]="Self",O[O.SkipSelf=4]="SkipSelf",O[O.Optional=8]="Optional",O))();let sa;function ct(e){const t=sa;return sa=e,t}function Id(e,t,n){const i=Gr(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&O.Optional?null:void 0!==t?t:void Ur(Q(e))}function on(e){return{toString:e}.toString()}var yt=(()=>((yt=yt||{})[yt.OnPush=0]="OnPush",yt[yt.Default=1]="Default",yt))(),Rt=(()=>{return(e=Rt||(Rt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Rt;var e})();const K=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Un={},z=[],Wr=X({\u0275cmp:X}),aa=X({\u0275dir:X}),la=X({\u0275pipe:X}),Md=X({\u0275mod:X}),Ut=X({\u0275fac:X}),Vi=X({__NG_ELEMENT_ID__:X});let QC=0;function Gt(e){return on(()=>{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===yt.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||z,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Rt.Emulated,id:"c"+QC++,styles:e.styles||z,_:null,setInput:null,schemas:e.schemas||null,tView:null},o=e.dependencies,s=e.features;return r.inputs=Ad(e.inputs,i),r.outputs=Ad(e.outputs),s&&s.forEach(a=>a(r)),r.directiveDefs=o?()=>("function"==typeof o?o():o).map(xd).filter(Td):null,r.pipeDefs=o?()=>("function"==typeof o?o():o).map(Le).filter(Td):null,r})}function xd(e){return Y(e)||Ve(e)}function Td(e){return null!==e}function pe(e){return on(()=>({type:e.type,bootstrap:e.bootstrap||z,declarations:e.declarations||z,imports:e.imports||z,exports:e.exports||z,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Ad(e,t){if(null==e)return Un;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 F=Gt;function Y(e){return e[Wr]||null}function Ve(e){return e[aa]||null}function Le(e){return e[la]||null}const L=11,J=22;function qe(e){return Array.isArray(e)&&"object"==typeof e[1]}function Dt(e){return Array.isArray(e)&&!0===e[1]}function da(e){return 0!=(8&e.flags)}function Xr(e){return 2==(2&e.flags)}function Qr(e){return 1==(1&e.flags)}function wt(e){return null!==e.template}function iD(e){return 0!=(256&e[2])}function En(e,t){return e.hasOwnProperty(Ut)?e[Ut]:null}class Rd{constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}}function Pt(){return Pd}function Pd(e){return e.type.prototype.ngOnChanges&&(e.setInput=aD),sD}function sD(){const e=Nd(this),t=e?.current;if(t){const n=e.previous;if(n===Un)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function aD(e,t,n,i){const r=Nd(e)||function lD(e,t){return e[kd]=t}(e,{previous:Un,current:null}),o=r.current||(r.current={}),s=r.previous,a=this.declaredInputs[n],l=s[a];o[a]=new Rd(l&&l.currentValue,t,s===Un),e[i]=t}Pt.ngInherit=!0;const kd="__ngSimpleChanges__";function Nd(e){return e[kd]||null}function ge(e){for(;Array.isArray(e);)e=e[0];return e}function Kr(e,t){return ge(t[e])}function nt(e,t){return ge(t[e.index])}function ma(e,t){return e.data[t]}function it(e,t){const n=t[e];return qe(n)?n:n[0]}function Jr(e){return 64==(64&e[2])}function sn(e,t){return null==t?null:e[t]}function Vd(e){e[18]=0}function _a(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:Zd(null),bindingsEnabled:!0};function Bd(){return R.bindingsEnabled}function v(){return R.lFrame.lView}function H(){return R.lFrame.tView}function Ce(){let e=$d();for(;null!==e&&64===e.type;)e=e.parent;return e}function $d(){return R.lFrame.currentTNode}function kt(e,t){const n=R.lFrame;n.currentTNode=e,n.isParent=t}function va(){return R.lFrame.isParent}function ya(){R.lFrame.isParent=!1}function Yn(){return R.lFrame.bindingIndex++}function Wt(e){const t=R.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function bD(e,t){const n=R.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ca(t)}function Ca(e){R.lFrame.currentDirectiveIndex=e}function Wd(){return R.lFrame.currentQueryIndex}function wa(e){R.lFrame.currentQueryIndex=e}function SD(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function qd(e,t,n){if(n&O.SkipSelf){let r=t,o=e;for(;!(r=r.parent,null!==r||n&O.Host||(r=SD(o),null===r||(o=o[15],10&r.type))););if(null===r)return!1;t=r,e=o}const i=R.lFrame=Yd();return i.currentTNode=t,i.lView=e,!0}function ba(e){const t=Yd(),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 Yd(){const e=R.lFrame,t=null===e?null:e.child;return null===t?Zd(e):t}function Zd(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 Xd(){const e=R.lFrame;return R.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Qd=Xd;function Ea(){const e=Xd();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 je(){return R.lFrame.selectedIndex}function an(e){R.lFrame.selectedIndex=e}function re(){const e=R.lFrame;return ma(e.tView,e.selectedIndex)}function eo(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 Gi{constructor(t,n,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}}function io(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 Ma=!0;function oo(e){const t=Ma;return Ma=e,t}let BD=0;const Nt={};function Wi(e,t){const n=Ta(e,t);if(-1!==n)return n;const i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,xa(i.data,e),xa(t,null),xa(i.blueprint,null));const r=so(e,t),o=e.injectorIndex;if(rf(r)){const s=Zn(r),a=Xn(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 xa(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ta(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function so(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=pf(r),null===i)return-1;if(n++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function ao(e,t,n){!function jD(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(Vi)&&(i=n[Vi]),null==i&&(i=n[Vi]=BD++);const r=255&i;t.data[e+(r>>5)]|=1<=0?255&t:GD:t}(n);if("function"==typeof o){if(!qd(t,e,i))return i&O.Host?lf(r,0,i):cf(t,n,i,r);try{const s=o(i);if(null!=s||i&O.Optional)return s;Ur()}finally{Qd()}}else if("number"==typeof o){let s=null,a=Ta(e,t),l=-1,c=i&O.Host?t[16][6]:null;for((-1===a||i&O.SkipSelf)&&(l=-1===a?so(e,t):t[a+8],-1!==l&&hf(i,!1)?(s=t[1],a=Zn(l),t=Xn(l,t)):a=-1);-1!==a;){const u=t[1];if(ff(o,a,u.data)){const d=$D(a,t,n,s,i,c);if(d!==Nt)return d}l=t[a+8],-1!==l&&hf(i,t[1].data[a+8]===c)&&ff(o,a,t)?(s=u,a=Zn(l),t=Xn(l,t)):a=-1}}return r}function $D(e,t,n,i,r,o){const s=t[1],a=s.data[e+8],u=lo(a,s,n,null==i?Xr(a)&&Ma:i!=s&&0!=(3&a.type),r&O.Host&&o===a);return null!==u?qi(t,s,u,a):Nt}function lo(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&&wt(h)&&h.type===n)return l}return null}function qi(e,t,n,i){let r=e[n];const o=t.data;if(function PD(e){return e instanceof Gi}(r)){const s=r;s.resolving&&function $C(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new S(-200,`Circular dependency in DI detected for ${e}${n}`)}(function G(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=oo(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?ct(s.injectImpl):null;qd(e,i,O.Default);try{r=e[n]=s.factory(void 0,o,e,i),t.firstCreatePass&&n>=i.directiveStart&&function FD(e,t,n){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=t.type.prototype;if(i){const s=Pd(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&&ct(l),oo(a),s.resolving=!1,Qd()}}return r}function ff(e,t,n){return!!(n[t+(e>>5)]&1<{const t=e.prototype.constructor,n=t[Ut]||Aa(t),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const o=r[Ut]||Aa(r);if(o&&o!==n)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function Aa(e){return ra(e)?()=>{const t=Aa(A(e));return t&&t()}:En(e)}function pf(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}const Jn="__parameters__";function ti(e,t,n){return on(()=>{const i=function Fa(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(Jn)?l[Jn]:Object.defineProperty(l,Jn,{value:[]})[Jn];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 rt(e,t){void 0===t&&(t=e);for(let n=0;nArray.isArray(n)?qt(n,t):t(n))}function mf(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function co(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Xi(e,t){const n=[];for(let i=0;i=0?e[1|i]=n:(i=~i,function ZD(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 Pa(e,t){const n=ni(e,t);if(n>=0)return e[1|n]}function ni(e,t){return function yf(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<((Ye=Ye||{})[Ye.Important=1]="Important",Ye[Ye.DashCase=2]="DashCase",Ye))();const $a=new Map;let Ew=0;const Ga="__ngContext__";function Oe(e,t){qe(t)?(e[Ga]=t[20],function Iw(e){$a.set(e[20],e)}(t)):e[Ga]=t}function Wa(e,t){return undefined(e,t)}function ir(e){const t=e[3];return Dt(t)?t[3]:t}function qa(e){return Hf(e[13])}function Ya(e){return Hf(e[4])}function Hf(e){for(;null!==e&&!Dt(e);)e=e[4];return e}function oi(e,t,n,i,r){if(null!=i){let o,s=!1;Dt(i)?o=i:qe(i)&&(s=!0,i=i[0]);const a=ge(i);0===e&&null!==n?null==r?qf(t,n,a):Sn(t,n,a,r||null,!0):1===e&&null!==n?Sn(t,n,a,r||null,!0):2===e?function tl(e,t,n){const i=vo(e,t);i&&function Yw(e,t,n,i){e.removeChild(t,n,i)}(e,i,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=o&&function Qw(e,t,n,i,r){const o=n[7];o!==ge(n)&&oi(t,e,i,o,r);for(let a=10;a0&&(e[n-1][4]=i[4]);const o=co(e,10+t);!function jw(e,t){rr(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 Gf(e,t){if(!(128&t[2])){const n=t[L];n.destroyNode&&rr(e,t,n,3,null,null),function Uw(e){let t=e[13];if(!t)return Ka(e[1],e);for(;t;){let n=null;if(qe(t))n=t[13];else{const i=t[10];i&&(n=i)}if(!n){for(;t&&!t[4]&&t!==e;)qe(t)&&Ka(t[1],t),t=t[3];null===t&&(t=e),qe(t)&&Ka(t[1],t),n=t&&t[4]}t=n}}(t)}}function Ka(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function qw(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;dl(s,n,[],i)&&(r||(r=[]),r.push(s))}),void 0!==r&&Ch(r,n),n}function Ch(e,t){for(let n=0;n{t.push(o)})}}function dl(e,t,n,i){if(!(e=A(e)))return!1;let r=null,o=Ed(e);const s=!o&&Y(e);if(o||s){if(s&&!s.standalone)return!1;r=e}else{const l=e.ngModule;if(o=Ed(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)dl(c,t,n,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{qt(o.imports,u=>{dl(u,t,n,i)&&(c||(c=[]),c.push(u))})}finally{}void 0!==c&&Ch(c,t)}if(!a){const c=En(r)||(()=>new r);t.push({provide:r,useFactory:c,deps:z},{provide:_h,useValue:r,multi:!0},{provide:gh,useValue:()=>D(r),multi:!0})}const l=o.providers;null==l||a||qt(l,u=>{t.push(u)})}}return r!==e&&void 0!==e.providers}const Mb=X({provide:String,useValue:X});function fl(e){return null!==e&&"object"==typeof e&&Mb in e}function Mn(e){return"function"==typeof e}const hl=new x("Set Injector scope."),Eo={},Tb={};let pl;function So(){return void 0===pl&&(pl=new vh),pl}class si{}class bh extends si{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,ml(t,s=>this.processProvider(s)),this.records.set(mh,ai(void 0,this)),r.has("environment")&&this.records.set(si,ai(void 0,this));const o=this.records.get(hl);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(_h.multi,z,O.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=ii(this),i=ct(void 0);try{return t()}finally{ii(n),ct(i)}}get(t,n=Qi,i=O.Default){this.assertNotDestroyed();const r=ii(this),o=ct(void 0);try{if(!(i&O.SkipSelf)){let a=this.records.get(t);if(void 0===a){const l=function Pb(e){return"function"==typeof e||"object"==typeof e&&e instanceof x}(t)&&Gr(t);a=l&&this.injectableDefInScope(l)?ai(gl(t),Eo):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(i&O.Self?So():this.parent).get(t,n=i&O.Optional&&n===Qi?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[fo]=s[fo]||[]).unshift(Q(t)),r)throw s;return function aw(e,t,n,i){const r=e[fo];throw t[Cf]&&r.unshift(t[Cf]),e.message=function lw(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let r=Q(t);if(Array.isArray(t))r=t.map(Q).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):Q(a)))}r=`{${o.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${e.replace(iw,"\n ")}`}("\n"+e.message,r,n,i),e.ngTokenPath=r,e[fo]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{ct(o),ii(r)}}resolveInjectorInitializers(){const t=ii(this),n=ct(void 0);try{const i=this.get(gh.multi,z,O.Self);for(const r of i)r()}finally{ii(t),ct(n)}}toString(){const t=[],n=this.records;for(const i of n.keys())t.push(Q(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new S(205,!1)}processProvider(t){let n=Mn(t=A(t))?t:A(t&&t.provide);const i=function Ob(e){return fl(e)?ai(void 0,e.useValue):ai(Eh(e),Eo)}(t);if(Mn(t)||!0!==t.multi)this.records.get(n);else{let r=this.records.get(n);r||(r=ai(void 0,Eo,!0),r.factory=()=>Va(r.multi),this.records.set(n,r)),n=t,r.multi.push(t)}this.records.set(n,i)}hydrate(t,n){return n.value===Eo&&(n.value=Tb,n.value=n.factory()),"object"==typeof n.value&&n.value&&function Rb(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 gl(e){const t=Gr(e),n=null!==t?t.factory:En(e);if(null!==n)return n;if(e instanceof x)throw new S(204,!1);if(e instanceof Function)return function Ab(e){const t=e.length;if(t>0)throw Xi(t,"?"),new S(204,!1);const n=function qC(e){const t=e&&(e[zr]||e[Sd]);if(t){const n=function YC(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 Eh(e,t,n){let i;if(Mn(e)){const r=A(e);return En(r)||gl(r)}if(fl(e))i=()=>A(e.useValue);else if(function wh(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...Va(e.deps||[]));else if(function Dh(e){return!(!e||!e.useExisting)}(e))i=()=>D(A(e.useExisting));else{const r=A(e&&(e.useClass||e.provide));if(!function Fb(e){return!!e.deps}(e))return En(r)||gl(r);i=()=>new r(...Va(e.deps))}return i}function ai(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function kb(e){return!!e.\u0275providers}function ml(e,t){for(const n of e)Array.isArray(n)?ml(n,t):kb(n)?ml(n.\u0275providers,t):t(n)}class Sh{}class Lb{resolveComponentFactory(t){throw function Vb(e){const t=Error(`No component factory found for ${Q(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let xn=(()=>{class e{}return e.NULL=new Lb,e})();function Bb(){return li(Ce(),v())}function li(e,t){return new Ie(nt(e,t))}let Ie=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=Bb,e})();function jb(e){return e instanceof Ie?e.nativeElement:e}class Mh{}let Tn=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function Hb(){const e=v(),n=it(Ce().index,e);return(qe(n)?n:e)[L]}(),e})(),$b=(()=>{class e{}return e.\u0275prov=N({token:e,providedIn:"root",factory:()=>null}),e})();class lr{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Ub=new lr("14.3.0"),_l={};function yl(e){return e.ngOriginalError}class ci{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&&yl(t);for(;n&&yl(n);)n=yl(n);return n||null}}function Th(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 Ah="ng-template";function eE(e,t,n){let i=0;for(;io?"":r[d+1].toLowerCase();const h=8&i?f:null;if(h&&-1!==Th(h,c,0)||2&i&&c!==f){if(bt(i))return!1;s=!0}}}}else{if(!s&&!bt(i)&&!bt(l))return!1;if(s&&bt(l))continue;s=!1,i=l|1&i}}return bt(i)||s}function bt(e){return 0==(1&e)}function iE(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&&!bt(s)&&(t+=Rh(o,r),r=""),i=s,o=o||!bt(i);n++}return""!==r&&(t+=Rh(o,r)),t}const k={};function xe(e){Ph(H(),v(),je()+e,!1)}function Ph(e,t,n,i){if(!i)if(3==(3&t[2])){const o=e.preOrderCheckHooks;null!==o&&to(t,o,n)}else{const o=e.preOrderHooks;null!==o&&no(t,o,0,n)}an(n)}function Lh(e,t=null,n=null,i){const r=Bh(e,t,n,i);return r.resolveInjectorInitializers(),r}function Bh(e,t=null,n=null,i,r=new Set){const o=[n||z,Ib(e)];return i=i||("object"==typeof e?void 0:Q(e)),new bh(o,t||So(),i||null,r)}let ft=(()=>{class e{static create(n,i){if(Array.isArray(n))return Lh({name:""},i,n,"");{const r=n.name??"";return Lh({name:r},n.parent,n.providers,r)}}}return e.THROW_IF_NOT_FOUND=Qi,e.NULL=new vh,e.\u0275prov=N({token:e,providedIn:"any",factory:()=>D(mh)}),e.__NG_ELEMENT_ID__=-1,e})();function y(e,t=O.Default){const n=v();return null===n?D(e,t):uf(Ce(),n,A(e),t)}function Mo(e,t){return e<<17|t<<2}function Et(e){return e>>17&32767}function El(e){return 2|e}function Xt(e){return(131068&e)>>2}function Sl(e,t){return-131069&e|t<<2}function Il(e){return 1|e}function np(e,t){const n=e.contentQueries;if(null!==n)for(let i=0;iJ&&Ph(e,t,J,!1),n(i,r)}finally{an(o)}}function rp(e,t,n){if(da(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 dp(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function fp(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function e0(e,t,n){if(n){if(t.exportAs)for(let i=0;i0&&Hl(n)}}function Hl(e){for(let i=qa(e);null!==i;i=Ya(i))for(let r=10;r0&&Hl(o)}const n=e[1].components;if(null!==n)for(let i=0;i0&&Hl(r)}}function l0(e,t){const n=it(t,e),i=n[1];(function c0(e,t){for(let n=t.length;n-1&&(Qa(t,i),co(n,i))}this._attachedToViewContainer=!1}Gf(this._lView[1],this._lView)}onDestroy(t){sp(this._lView[1],this._lView,null,t)}markForCheck(){$l(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){Ro(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 $w(e,t){rr(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 u0 extends cr{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Ro(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class zl extends xn{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Y(t);return new ur(n,this.ngModule)}}function Cp(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class f0{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,i){const r=this.injector.get(t,_l,i);return r!==_l||n===_l?r:this.parentInjector.get(t,n,i)}}class ur extends Sh{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function cE(e){return e.map(lE).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return Cp(this.componentDef.inputs)}get outputs(){return Cp(this.componentDef.outputs)}create(t,n,i,r){let o=(r=r||this.ngModule)instanceof si?r:r?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const s=o?new f0(t,o):t,a=s.get(Mh,null);if(null===a)throw new S(407,!1);const l=s.get($b,null),c=a.createRenderer(null,this.componentDef),u=this.componentDef.selectors[0][0]||"div",d=i?function GE(e,t,n){return e.selectRootElement(t,n===Rt.ShadowDom)}(c,i,this.componentDef.encapsulation):Xa(c,u,function d0(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(u)),f=this.componentDef.onPush?288:272,h=Ll(0,null,null,1,0,null,null,null,null,null),p=Ao(null,h,null,f,null,null,a,c,l,s,null);let g,_;ba(p);try{const C=function g0(e,t,n,i,r,o){const s=n[1];n[22]=e;const l=fi(s,22,2,"#host",null),c=l.mergedAttrs=t.hostAttrs;null!==c&&(Po(l,c,!0),null!==e&&(io(r,e,c),null!==l.classes&&il(r,e,l.classes),null!==l.styles&&th(r,e,l.styles)));const u=i.createRenderer(e,t),d=Ao(n,op(t),null,t.onPush?32:16,n[22],l,i,u,o||null,null,null);return s.firstCreatePass&&(ao(Wi(l,n),s,t.type),fp(s,l),hp(l,n.length,1)),Fo(n,d),n[22]=d}(d,this.componentDef,p,a,c);if(d)if(i)io(c,d,["ng-version",Ub.full]);else{const{attrs:E,classes:m}=function uE(e){const t=[],n=[];let i=1,r=2;for(;i0&&il(c,d,m.join(" "))}if(_=ma(h,J),void 0!==n){const E=_.projection=[];for(let m=0;m=0;i--){const r=e[i];r.hostVars=t+=r.hostVars,r.hostAttrs=ro(r.hostAttrs,n=ro(n,r.hostAttrs))}}(i)}function Wl(e){return e===Un?{}:e===z?[]:e}function y0(e,t){const n=e.viewQuery;e.viewQuery=n?(i,r)=>{t(i,r),n(i,r)}:t}function C0(e,t){const n=e.contentQueries;e.contentQueries=n?(i,r,o)=>{t(i,r,o),n(i,r,o)}:t}function D0(e,t){const n=e.hostBindings;e.hostBindings=n?(i,r)=>{t(i,r),n(i,r)}:t}let No=null;function An(){if(!No){const e=K.Symbol;if(e&&e.iterator)No=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;na(ge($[i.index])):i.index;let I=null;if(!a&&l&&(I=function P0(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=Vp(i,t,d,o,!1);const $=n.listen(C,r,o);f.push(o,$),u&&u.push(r,m,E,E+1)}}else o=Vp(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 ie=t[g[C]][g[C+1]].subscribe(o),Hn=f.length;f.push(o,ie),u&&u.push(r,i.index,Hn,-(Hn+1))}}}(o,r,r[L],s,e,t,0,i),ke}function Np(e,t,n,i){try{return!1!==n(i)}catch(r){return yp(e,r),!1}}function Vp(e,t,n,i,r){return function o(s){if(s===Function)return i;$l(2&e.flags?it(e.index,t):t);let l=Np(t,0,i,s),c=o.__ngNextListenerFn__;for(;c;)l=Np(t,0,c,s)&&l,c=c.__ngNextListenerFn__;return r&&!1===l&&(s.preventDefault(),s.returnValue=!1),l}}function Fn(e=1){return function ID(e){return(R.lFrame.contextLView=function MD(e,t){for(;e>0;)t=t[15],e--;return t}(e,R.lFrame.contextLView))[8]}(e)}function k0(e,t){let n=null;const i=function rE(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 we={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Yp(e){return e.substring(we.key,we.keyEnd)}function Zp(e,t){const n=we.textEnd;return n===t?-1:(t=we.keyEnd=function $0(e,t,n){for(;t32;)t++;return t}(e,we.key=t,n),Ei(e,t,n))}function Ei(e,t,n){for(;t=0;n=Zp(t,n))ot(e,Yp(t),!0)}function It(e,t,n,i){const r=v(),o=H(),s=Wt(2);o.firstUpdatePass&&ng(o,e,s,i),t!==k&&Fe(r,s,t)&&rg(o,o.data[je()],r,r[L],e,r[s+1]=function K0(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Q(cn(e)))),e}(t,n),i,s)}function Mt(e,t,n,i){const r=H(),o=Wt(2);r.firstUpdatePass&&ng(r,null,o,i);const s=v();if(n!==k&&Fe(s,o,n)){const a=r.data[je()];if(sg(a,i)&&!tg(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(n=ia(l,n||"")),Yl(r,a,s,n,i)}else!function Q0(e,t,n,i,r,o,s,a){r===k&&(r=z);let l=0,c=0,u=0=e.expandoStartIndex}function ng(e,t,n,i){const r=e.data;if(null===r[n+1]){const o=r[je()],s=tg(e,n);sg(o,i)&&null===t&&!s&&(t=!1),t=function W0(e,t,n,i){const r=function Da(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=hr(n=ec(null,e,t,n,i),t.attrs,i),o=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==r)if(n=ec(r,e,t,n,i),null===o){let l=function q0(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==Xt(i))return e[Et(i)]}(e,t,i);void 0!==l&&Array.isArray(l)&&(l=ec(null,e,t,l[1],i),l=hr(l,t.attrs,i),function Y0(e,t,n,i){e[Et(n?t.classBindings:t.styleBindings)]=i}(e,t,i,l))}else o=function Z0(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=Et(e[a+1]);e[i+1]=Mo(f,a),0!==f&&(e[f+1]=Sl(e[f+1],i)),e[a+1]=function AE(e,t){return 131071&e|t<<17}(e[a+1],i)}else e[i+1]=Mo(a,0),0!==a&&(e[a+1]=Sl(e[a+1],i)),a=i;else e[i+1]=Mo(l,0),0===a?a=i:e[l+1]=Sl(e[l+1],i),l=i;c&&(e[i+1]=El(e[i+1])),qp(e,u,i,!0),qp(e,u,i,!1),function V0(e,t,n,i,r){const o=r?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&ni(o,t)>=0&&(n[i+1]=Il(n[i+1]))}(t,u,e,i,o),s=Mo(a,l),o?t.classBindings=s:t.styleBindings=s}(r,o,t,n,s,i)}}function ec(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?z:void 0);let h=d?Pa(f,i):u===i?f:void 0;if(c&&!Uo(h)&&(h=Pa(l,i)),Uo(h)&&(a=h,s))return a;const p=e[r+1];r=s?Et(p):Xt(p)}if(null!==t){let l=o?t.residualClasses:t.residualStyles;null!=l&&(a=Pa(l,i))}return a}function Uo(e){return void 0!==e}function sg(e,t){return 0!=(e.flags&(t?16:32))}function Rn(e,t=""){const n=v(),i=H(),r=e+J,o=i.firstCreatePass?fi(i,r,1,t,null):i.data[r],s=n[r]=function Za(e,t){return e.createText(t)}(n[L],t);yo(i,n,s,o),kt(o,!1)}function Si(e){return Go("",e,""),Si}function Go(e,t,n){const i=v(),r=gi(i,e,t,n);return r!==k&&function Qt(e,t,n){const i=Kr(t,e);!function $f(e,t,n){e.setValue(t,n)}(e[L],i,n)}(i,je(),r),Go}function xt(e,t,n){Mt(ot,jt,gi(v(),e,t,n),!0)}const Mi="en-US";let Tg=Mi;function ic(e,t,n,i,r){if(e=A(e),Array.isArray(e))for(let o=0;o>20;if(Mn(e)||!e.multi){const h=new Gi(l,r,y),p=oc(a,t,r?u:u+f,d);-1===p?(ao(Wi(c,s),o,a),rc(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=oc(a,t,u+f,d),p=oc(a,t,u,u+f),g=h>=0&&n[h],_=p>=0&&n[p];if(r&&!_||!r&&!g){ao(Wi(c,s),o,a);const C=function pI(e,t,n,i,r){const o=new Gi(e,n,y);return o.multi=[],o.index=t,o.componentProviders=0,em(o,r,i&&!n),o}(r?hI:fI,n.length,r,i,l);!r&&_&&(n[p].providerFactory=C),rc(o,e,t.length,0),t.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(C),s.push(C)}else rc(o,e,h>-1?h:p,em(n[r?p:h],l,!r&&i));!r&&i&&_&&n[p].componentProviders++}}}function rc(e,t,n,i){const r=Mn(t),o=function xb(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 em(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function oc(e,t,n,i){for(let r=n;r{n.providersResolver=(i,r)=>function dI(e,t,n){const i=H();if(i.firstCreatePass){const r=wt(e);ic(n,i.data,i.blueprint,r,!0),ic(t,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,t)}}class xi{}class tm extends xi{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new zl(this);const i=function et(e,t){const n=e[Md]||null;if(!n&&!0===t)throw new Error(`Type ${Q(e)} does not have '\u0275mod' property.`);return n}(t);this._bootstrapComponents=function Zt(e){return e instanceof Function?e():e}(i.bootstrap),this._r3Injector=Bh(t,n,[{provide:xi,useValue:this},{provide:xn,useValue:this.componentFactoryResolver}],Q(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 ac extends class gI{}{constructor(t){super(),this.moduleType=t}create(t){return new tm(this.moduleType,t)}}function cc(e){return t=>{setTimeout(e,void 0,t)}}const ce=class zI extends Qe{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=cc(o),r&&(r=cc(r)),s&&(s=cc(s)));const a=super.subscribe({next:r,error:o,complete:s});return t instanceof ze&&t.add(a),a}};function WI(){return this._results[An()]()}class uc{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=An(),i=uc.prototype;i[n]||(i[n]=WI)}get changes(){return this._changes||(this._changes=new ce)}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=rt(t);(this._changesDetected=!function qD(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i{class e{}return e.__NG_ELEMENT_ID__=ZI,e})();const qI=Kt,YI=class extends qI{constructor(t,n,i){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=i}createEmbeddedView(t,n){const i=this._declarationTContainer.tViews,r=Ao(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)),kl(i,r,t),new cr(r)}};function ZI(){return Zo(Ce(),v())}function Zo(e,t){return 4&e.type?new YI(t,e,li(e,t)):null}let gt=(()=>{class e{}return e.__NG_ELEMENT_ID__=XI,e})();function XI(){return mm(Ce(),v())}const QI=gt,pm=class extends QI{constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return li(this._hostTNode,this._hostLView)}get injector(){return new Qn(this._hostTNode,this._hostLView)}get parentInjector(){const t=so(this._hostTNode,this._hostLView);if(rf(t)){const n=Xn(t,this._hostLView),i=Zn(t);return new Qn(n[1].data[i+8],n)}return new Qn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=gm(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 Zi(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 ur(Y(t)),c=i||this.parentInjector;if(!o&&null==l.ngModule){const f=(s?c:this.parentInjector).get(si,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 gD(e){return Dt(e[3])}(i)){const u=this.indexOf(t);if(-1!==u)this.detach(u);else{const d=i[3],f=new pm(d,d[6],d[3]);f.detach(f.indexOf(t))}}const o=this._adjustIndex(n),s=this._lContainer;!function Gw(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=es,this.reject=es,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(Hm,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const wr=new x("AppId",{providedIn:"root",factory:function $m(){return`${Dc()}${Dc()}${Dc()}`}});function Dc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Um=new x("Platform Initializer"),wc=new x("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),IM=new x("appBootstrapListener"),MM=new x("AnimationModuleType"),Jt=new x("LocaleId",{providedIn:"root",factory:()=>ho(Jt,O.Optional|O.SkipSelf)||function xM(){return typeof $localize<"u"&&$localize.locale||Mi}()}),RM=(()=>Promise.resolve(0))();function bc(e){typeof Zone>"u"?RM.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class oe{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ce(!1),this.onMicrotaskEmpty=new ce(!1),this.onStable=new ce(!1),this.onError=new ce(!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 PM(){let e=K.requestAnimationFrame,t=K.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 VM(e){const t=()=>{!function NM(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(K,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Sc(e),e.isCheckStableRunning=!0,Ec(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Sc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,r,o,s,a)=>{try{return Wm(e),n.invokeTask(r,o,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&t(),qm(e)}},onInvoke:(n,i,r,o,s,a,l)=>{try{return Wm(e),n.invoke(r,o,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),qm(e)}},onHasTask:(n,i,r,o)=>{n.hasTask(r,o),i===r&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,Sc(e),Ec(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(!oe.isInAngularZone())throw new S(909,!1)}static assertNotInAngularZone(){if(oe.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,kM,es,es);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 kM={};function Ec(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 Sc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Wm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function qm(e){e._nesting--,Ec(e)}class LM{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ce,this.onMicrotaskEmpty=new ce,this.onStable=new ce,this.onError=new ce}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 Ym=new x(""),ns=new x("");let xc,Ic=(()=>{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,xc||(function BM(e){xc=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:()=>{oe.assertNotInAngularZone(),bc(()=>{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())bc(()=>{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(oe),D(Mc),D(ns))},e.\u0275prov=N({token:e,factory:e.\u0275fac}),e})(),Mc=(()=>{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 xc?.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})(),fn=null;const Zm=new x("AllowMultipleToken"),Tc=new x("PlatformDestroyListeners");function Qm(e,t,n=[]){const i=`Platform: ${t}`,r=new x(i);return(o=[])=>{let s=Ac();if(!s||s.injector.get(Zm,!1)){const a=[...n,...o,{provide:r,useValue:!0}];e?e(a):function $M(e){if(fn&&!fn.get(Zm,!1))throw new S(400,!1);fn=e;const t=e.get(Jm);(function Xm(e){const t=e.get(Um,null);t&&t.forEach(n=>n())})(e)}(function Km(e=[],t){return ft.create({name:t,providers:[{provide:hl,useValue:"platform"},{provide:Tc,useValue:new Set([()=>fn=null])},...e]})}(a,i))}return function GM(e){const t=Ac();if(!t)throw new S(401,!1);return t}()}}function Ac(){return fn?.get(Jm)??null}let Jm=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,i){const r=function t_(e,t){let n;return n="noop"===e?new LM:("zone.js"===e?void 0:e)||new oe(t),n}(i?.ngZone,function e_(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(i)),o=[{provide:oe,useValue:r}];return r.run(()=>{const s=ft.create({providers:o,parent:this.injector,name:n.moduleType.name}),a=n.create(s),l=a.injector.get(ci,null);if(!l)throw new S(402,!1);return r.runOutsideAngular(()=>{const c=r.onError.subscribe({next:u=>{l.handleError(u)}});a.onDestroy(()=>{is(this._modules,a),c.unsubscribe()})}),function n_(e,t,n){try{const i=n();return Bo(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(ts);return c.runInitializers(),c.donePromise.then(()=>(function Ag(e){Je(e,"Expected localeId to be defined"),"string"==typeof e&&(Tg=e.toLowerCase().replace(/_/g,"-"))}(a.injector.get(Jt,Mi)||Mi),this._moduleDoBootstrap(a),a))})})}bootstrapModule(n,i=[]){const r=i_({},i);return function jM(e,t,n){const i=new ac(n);return Promise.resolve(i)}(0,0,n).then(o=>this.bootstrapModuleFactory(o,r))}_moduleDoBootstrap(n){const i=n.injector.get(Oi);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(Tc,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(ft))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function i_(e,t){return Array.isArray(t)?t.reduce(i_,e):{...e,...t}}let Oi=(()=>{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 Ee(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new Ee(a=>{let l;this._zone.runOutsideAngular(()=>{l=this._zone.onStable.subscribe(()=>{oe.assertNotInAngularZone(),bc(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const c=this._zone.onUnstable.subscribe(()=>{oe.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{l.unsubscribe(),c.unsubscribe()}});this.isStable=ea(o,s.pipe(function jC(e={}){const{connector:t=(()=>new Qe),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 Ft((g,_)=>{c++,!d&&!u&&f();const C=l=l??t();_.add(()=>{c--,0===c&&!d&&!u&&(a=ta(p,r))}),C.subscribe(_),!s&&c>0&&(s=new ki({next:E=>C.next(E),error:E=>{d=!0,f(),a=ta(h,n,E),C.error(E)},complete:()=>{u=!0,f(),a=ta(h,i),C.complete()}}),lt(g).subscribe(s))})(o)}}()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,i){const r=n instanceof Sh;if(!this._injector.get(ts).done)throw!r&&function Li(e){const t=Y(e)||Ve(e)||Le(e);return null!==t&&t.standalone}(n),new S(405,false);let s;s=r?n:this._injector.get(xn).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function HM(e){return e.isBoundToModule}(s)?void 0:this._injector.get(xi),c=s.create(ft.NULL,[],i||s.selector,a),u=c.location.nativeElement,d=c.injector.get(Ym,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),is(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;is(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(IM,[]).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),()=>is(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(oe),D(si),D(ci))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function is(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let o_=!0,rs=(()=>{class e{}return e.__NG_ELEMENT_ID__=qM,e})();function qM(e){return function YM(e,t,n){if(Xr(e)&&!n){const i=it(e.index,t);return new cr(i,i)}return 47&e.type?new cr(t[16],t):null}(Ce(),v(),16==(16&e))}class u_{constructor(){}supports(t){return dr(t)}create(t){return new ex(t)}}const JM=(e,t)=>t;class ex{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||JM}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 tx(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 d_),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 d_),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 tx{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 nx{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 d_{constructor(){this.map=new Map}put(t){const n=t.trackById;let i=this.map.get(n);i||(i=new nx,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 f_(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 rx(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 rx{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 p_(){return new as([new u_])}let as=(()=>{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||p_()),deps:[[e,new go,new po]]}}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:p_}),e})();function g_(){return new br([new h_])}let br=(()=>{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||g_()),deps:[[e,new go,new po]]}}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:g_}),e})();const ax=Qm(null,"core",[]);let lx=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(D(Oi))},e.\u0275mod=pe({type:e}),e.\u0275inj=ue({}),e})();let ls=null;function Ht(){return ls}const de=new x("DocumentToken");let m_=(()=>{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 fx(){return D(__)}()},providedIn:"platform"}),e})(),__=(()=>{class e extends m_{constructor(n){super(),this._doc=n,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ht().getBaseHref(this._doc)}onPopState(n){const i=Ht().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",n,!1),()=>i.removeEventListener("popstate",n)}onHashChange(n){const i=Ht().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){v_()?this._history.pushState(n,i,r):this.location.hash=r}replaceState(n,i,r){v_()?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(de))},e.\u0275prov=N({token:e,factory:function(){return function hx(){return new __(D(de))}()},providedIn:"platform"}),e})();function v_(){return!!window.history.pushState}function y_(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 C_(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 Nn(e){return e&&"?"!==e[0]?"?"+e:e}let Nc=(()=>{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 ho(gx)},providedIn:"root"}),e})();const px=new x("appBaseHref");let gx=(()=>{class e extends Nc{constructor(n,i){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??ho(de).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 y_(this._baseHref,n)}path(n=!1){const i=this._platformLocation.pathname+Nn(this._platformLocation.search),r=this._platformLocation.hash;return r&&n?`${i}${r}`:i}pushState(n,i,r,o){const s=this.prepareExternalUrl(r+Nn(o));this._platformLocation.pushState(n,i,s)}replaceState(n,i,r,o){const s=this.prepareExternalUrl(r+Nn(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(m_),D(px,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),D_=(()=>{class e{constructor(n){this._subject=new ce,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;const i=this._locationStrategy.getBaseHref();this._baseHref=C_(w_(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+Nn(i))}normalize(n){return e.stripTrailingSlash(function _x(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,w_(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+Nn(i)),r)}replaceState(n,i="",r=null){this._locationStrategy.replaceState(r,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Nn(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=Nn,e.joinWithSlash=y_,e.stripTrailingSlash=C_,e.\u0275fac=function(n){return new(n||e)(D(Nc))},e.\u0275prov=N({token:e,factory:function(){return function mx(){return new D_(D(Nc))}()},providedIn:"root"}),e})();function w_(e){return e.replace(/\/index.html$/,"")}let Wc=(()=>{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&&(dr(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 ${Q(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(as),y(br),y(Ie),y(Tn))},e.\u0275dir=F({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),e})();class nT{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 R_=(()=>{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 nT(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),P_(a,r)}});for(let r=0,o=i.length;r{P_(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(n,i){return!0}}return e.\u0275fac=function(n){return new(n||e)(y(gt),y(Kt),y(as))},e.\u0275dir=F({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),e})();function P_(e,t){e.context.$implicit=t.item}let k_=(()=>{class e{constructor(n,i){this._viewContainer=n,this._context=new rT,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){N_("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){N_("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(gt),y(Kt))},e.\u0275dir=F({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),e})();class rT{constructor(){this.$implicit=null,this.ngIf=null}}function N_(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Q(t)}'.`)}let hn=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=pe({type:e}),e.\u0275inj=ue({}),e})();const B_="browser";class Jc extends class cA extends class dx{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function ux(e){ls||(ls=e)}(new Jc)}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 uA(){return Mr=Mr||document.querySelector("base"),Mr?Mr.getAttribute("href"):null}();return null==n?null:function dA(e){Cs=Cs||document.createElement("a"),Cs.setAttribute("href",e);const t=Cs.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){Mr=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function eT(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 Cs,Mr=null;const z_=new x("TRANSITION_ID"),hA=[{provide:Hm,useFactory:function fA(e,t,n){return()=>{n.get(ts).donePromise.then(()=>{const i=Ht(),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 Ds=new x("EventManagerPlugins");let ws=(()=>{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})(),xr=(()=>{class e extends q_{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(Y_),this._hostNodes.delete(n)}onStylesAdded(n){this._hostNodes.forEach((i,r)=>{this._addStylesToHost(n,r,i)})}ngOnDestroy(){this._hostNodes.forEach(n=>n.forEach(Y_))}}return e.\u0275fac=function(n){return new(n||e)(D(de))},e.\u0275prov=N({token:e,factory:e.\u0275fac}),e})();function Y_(e){Ht().remove(e)}const eu={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/"},tu=/%COMP%/g;function bs(e,t,n){for(let i=0;i{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let nu=(()=>{class e{constructor(n,i,r){this.eventManager=n,this.sharedStylesHost=i,this.appId=r,this.rendererByCompId=new Map,this.defaultRenderer=new iu(n)}createRenderer(n,i){if(!n||!i)return this.defaultRenderer;switch(i.encapsulation){case Rt.Emulated:{let r=this.rendererByCompId.get(i.id);return r||(r=new DA(this.eventManager,this.sharedStylesHost,i,this.appId),this.rendererByCompId.set(i.id,r)),r.applyToHost(n),r}case 1:case Rt.ShadowDom:return new wA(this.eventManager,this.sharedStylesHost,n,i);default:if(!this.rendererByCompId.has(i.id)){const r=bs(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(ws),D(xr),D(wr))},e.\u0275prov=N({token:e,factory:e.\u0275fac}),e})();class iu{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?document.createElementNS(eu[n]||n,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,n){(J_(t)?t.content:t).appendChild(n)}insertBefore(t,n,i){t&&(J_(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=eu[r];o?t.setAttributeNS(o,n,i):t.setAttribute(n,i)}else t.setAttribute(n,i)}removeAttribute(t,n,i){if(i){const r=eu[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&(Ye.DashCase|Ye.Important)?t.style.setProperty(n,i,r&Ye.Important?"important":""):t.style[n]=i}removeStyle(t,n,i){i&Ye.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,Q_(i)):this.eventManager.addEventListener(t,n,Q_(i))}}function J_(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class DA extends iu{constructor(t,n,i,r){super(t),this.component=i;const o=bs(r+"-"+i.id,i.styles,[]);n.addStyles(o),this.contentAttr=function vA(e){return"_ngcontent-%COMP%".replace(tu,e)}(r+"-"+i.id),this.hostAttr=function yA(e){return"_nghost-%COMP%".replace(tu,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 wA extends iu{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=bs(r.id,r.styles,[]);for(let s=0;s{class e extends W_{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(de))},e.\u0275prov=N({token:e,factory:e.\u0275fac}),e})();const ev=["alt","control","meta","shift"],EA={"\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"},SA={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let IA=(()=>{class e extends W_{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(()=>Ht().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."),ev.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=EA[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"),ev.forEach(s=>{s!==r&&(0,SA[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(de))},e.\u0275prov=N({token:e,factory:e.\u0275fac}),e})();const AA=Qm(ax,"browser",[{provide:wc,useValue:B_},{provide:Um,useValue:function MA(){Jc.makeCurrent()},multi:!0},{provide:de,useFactory:function TA(){return function nb(e){ol=e}(document),document},deps:[]}]),iv=new x(""),rv=[{provide:ns,useClass:class pA{addToWindow(t){K.getAngularTestability=(i,r=!0)=>{const o=t.findTestabilityInTree(i,r);if(null==o)throw new Error("Could not find testability for element.");return o},K.getAllAngularTestabilities=()=>t.getAllTestabilities(),K.getAllAngularRootElements=()=>t.getAllRootElements(),K.frameworkStabilizers||(K.frameworkStabilizers=[]),K.frameworkStabilizers.push(i=>{const r=K.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?Ht().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:Ym,useClass:Ic,deps:[oe,Mc,ns]},{provide:Ic,useClass:Ic,deps:[oe,Mc,ns]}],ov=[{provide:hl,useValue:"root"},{provide:ci,useFactory:function xA(){return new ci},deps:[]},{provide:Ds,useClass:bA,multi:!0,deps:[de,oe,wc]},{provide:Ds,useClass:IA,multi:!0,deps:[de]},{provide:nu,useClass:nu,deps:[ws,xr,wr]},{provide:Mh,useExisting:nu},{provide:q_,useExisting:xr},{provide:xr,useClass:xr,deps:[de]},{provide:ws,useClass:ws,deps:[Ds,oe]},{provide:class NT{},useClass:gA,deps:[]},[]];let OA=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:wr,useValue:n.appId},{provide:z_,useExisting:wr},hA]}}}return e.\u0275fac=function(n){return new(n||e)(D(iv,12))},e.\u0275mod=pe({type:e}),e.\u0275inj=ue({providers:[...ov,...rv],imports:[hn,lx]}),e})();function lv(e){return Array.isArray(e)?e:[e]}function ye(e){return null==e?"":"string"==typeof e?e:`${e}px`}typeof window<"u"&&window;const{isArray:GA}=Array;function cv(e){return Ni(t=>function zA(e,t){return GA(t)?e(...t):e(t)}(e,t))}const WA=["addListener","removeListener"],qA=["addEventListener","removeEventListener"],YA=["on","off"];function su(e,t,n,i){if(W(n)&&(i=n,n=void 0),i)return su(e,t,n).pipe(cv(i));const[r,o]=function QA(e){return W(e.addEventListener)&&W(e.removeEventListener)}(e)?qA.map(s=>a=>e[s](t,a,n)):function ZA(e){return W(e.addListener)&&W(e.removeListener)}(e)?WA.map(uv(e,t)):function XA(e){return W(e.on)&&W(e.off)}(e)?YA.map(uv(e,t)):[];if(!r&&Zs(e))return Xs(s=>su(s,t,n))(lt(e));if(!r)throw new TypeError("Invalid event target");return new Ee(s=>{const a=(...l)=>s.next(1o(a)})}function uv(e,t){return n=>i=>e[n](t,i)}class KA extends ze{constructor(t,n){super()}schedule(t,n=0){return this}}const Es={setInterval(e,t,...n){const{delegate:i}=Es;return i?.setInterval?i.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){const{delegate:t}=Es;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};class au extends KA{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 Es.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&&Es.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,$n(i,this),null!=t&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}}const Tr={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame;const{delegate:i}=Tr;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}=Tr;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){const{delegate:t}=Tr;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0},lu={now:()=>(lu.delegate||Date).now(),delegate:void 0};class Ar{constructor(t,n=Ar.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,i){return new this.schedulerActionCtor(this,t).schedule(i,n)}}Ar.now=lu.now;class cu extends Ar{constructor(t,n=Ar.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 eO extends cu{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 JA extends au{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=Tr.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&&(Tr.cancelAnimationFrame(n),t._scheduled=void 0)}});let uu,nO=1;const Ss={};function dv(e){return e in Ss&&(delete Ss[e],!0)}const iO={setImmediate(e){const t=nO++;return Ss[t]=!0,uu||(uu=Promise.resolve()),uu.then(()=>dv(t)&&e()),t},clearImmediate(e){dv(e)}},{setImmediate:rO,clearImmediate:oO}=iO,Is={setImmediate(...e){const{delegate:t}=Is;return(t?.setImmediate||rO)(...e)},clearImmediate(e){const{delegate:t}=Is;return(t?.clearImmediate||oO)(e)},delegate:void 0},fv=(new class aO extends cu{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 sO extends au{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=Is.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&&(Is.clearImmediate(n),t._scheduled=void 0)}}),new cu(au)),cO=fv;function hv(e,t=fv){return function uO(e){return Ft((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(at(n,c=>{i=!0,r=c,o||lt(e(c)).subscribe(o=at(n,a,l))},()=>{s=!0,(!i||!o||o.closed)&&n.complete()}))})}(()=>function fO(e=0,t,n=cO){let i=-1;return null!=t&&(vd(t)?n=t:i=t),new Ee(r=>{let o=function dO(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 pv(e,t){return Ft((n,i)=>{let r=0;n.subscribe(at(i,o=>e.call(t,o,r++)&&i.next(o)))})}let du;try{du=typeof Intl<"u"&&Intl.v8BreakIterator}catch{du=!1}let Vn,Fi=(()=>{class e{constructor(n){this._platformId=n,this.isBrowser=this._platformId?function PT(e){return e===B_}(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&&!du)&&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(wc))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function pO(){if(null==Vn){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Vn=!1,Vn;if("scrollBehavior"in document.documentElement.style)Vn=!0;else{const e=Element.prototype.scrollTo;Vn=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return Vn}function mv(e){return e.composedPath?e.composedPath()[0]:e.target}function _v(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}const mO=new x("cdk-dir-doc",{providedIn:"root",factory:function _O(){return ho(de)}}),vO=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let CO=(()=>{class e{constructor(n){if(this.value="ltr",this.change=new ce,n){const r=n.documentElement?n.documentElement.dir:null;this.value=function yO(e){const t=e?.toLowerCase()||"";return"auto"===t&&typeof navigator<"u"&&navigator?.language?vO.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(mO,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),hu=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=pe({type:e}),e.\u0275inj=ue({}),e})(),wO=(()=>{class e{constructor(n,i,r){this._ngZone=n,this._platform=i,this._scrolled=new Qe,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 Ee(i=>{this._globalSubscription||this._addGlobalListener();const r=n>0?this._scrolled.pipe(hv(n)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):function UA(...e){return Js(e,yd(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(pv(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 $A(e){return e instanceof Ie?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(()=>su(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(oe),D(Fi),D(de,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),vv=(()=>{class e{constructor(n,i,r){this._platform=n,this._change=new Qe,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(hv(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(Fi),D(oe),D(de,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),yv=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=pe({type:e}),e.\u0275inj=ue({}),e})(),Cv=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=pe({type:e}),e.\u0275inj=ue({imports:[hu,yv,hu,yv]}),e})();class pu{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 EO extends pu{constructor(t,n,i,r){super(),this.component=t,this.viewContainerRef=n,this.injector=i,this.componentFactoryResolver=r}}class Dv extends pu{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 SO extends pu{constructor(t){super(),this.element=t instanceof Ie?t.nativeElement:t}}class MO extends class IO{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof EO?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof Dv?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof SO?(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||ft.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 wv=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=pe({type:e}),e.\u0275inj=ue({}),e})();const bv=pO();class AO{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=ye(-this._previousScrollPosition.left),t.style.top=ye(-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"),bv&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),bv&&(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 OO{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 Ev{enable(){}disable(){}attach(){}}function gu(e,t){return t.some(n=>e.bottomn.bottom||e.rightn.right)}function Sv(e,t){return t.some(n=>e.topn.bottom||e.leftn.right)}class FO{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();gu(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 RO=(()=>{class e{constructor(n,i,r,o){this._scrollDispatcher=n,this._viewportRuler=i,this._ngZone=r,this.noop=()=>new Ev,this.close=s=>new OO(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new AO(this._viewportRuler,this._document),this.reposition=s=>new FO(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=o}}return e.\u0275fac=function(n){return new(n||e)(D(wO),D(vv),D(oe),D(de))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class Iv{constructor(t){if(this.scrollStrategy=new Ev,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 Xe{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 PO{constructor(t,n){this.connectionPair=t,this.scrollableViewProperties=n}}let Mv=(()=>{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(de))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),kO=(()=>{class e extends Mv{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(de),D(oe,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),NO=(()=>{class e extends Mv{constructor(n,i,r){super(n),this._platform=i,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=mv(o)},this._clickListener=o=>{const s=mv(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(de),D(Fi),D(oe,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),xv=(()=>{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||_v()){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 Qe,this._outsidePointerEvents=new Qe,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 xO(e){return e<=0?()=>Qs:Ft((t,n)=>{let i=0;t.subscribe(at(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=ye(this._config.width),t.height=ye(this._config.height),t.minWidth=ye(this._config.minWidth),t.minHeight=ye(this._config.minHeight),t.maxWidth=ye(this._config.maxWidth),t.maxHeight=ye(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=lv(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 TO(e){return Ft((t,n)=>{lt(e).subscribe(at(n,()=>n.complete(),Bs)),!n.closed&&t.subscribe(n)})}(ea(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 Tv="cdk-overlay-connected-position-bounding-box",LO=/([A-Za-z%]+)$/;class BO{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 Qe,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(Tv),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&&Ln(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Tv),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=Ov(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=Av(this._overlayRef.getConfig().minHeight),a=Av(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=Ov(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=ye(i.height),r.top=ye(i.top),r.bottom=ye(i.bottom),r.width=ye(i.width),r.left=ye(i.left),r.right=ye(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=ye(o)),s&&(r.maxWidth=ye(s))}this._lastBoundingBoxSize=i,Ln(this._boundingBox.style,r)}_resetBoundingBoxStyles(){Ln(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Ln(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();Ln(i,this._getExactOverlayY(n,t,u)),Ln(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=ye(s.maxHeight):o&&(i.maxHeight="")),s.maxWidth&&(r?i.maxWidth=ye(s.maxWidth):o&&(i.maxWidth="")),Ln(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=ye(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=ye(o.x),r}_getScrollVisibility(){const t=this._getOriginRect(),n=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Sv(t,i),isOriginOutsideView:gu(t,i),isOverlayClipped:Sv(n,i),isOverlayOutsideView:gu(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&&lv(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 Ie)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 Ln(e,t){for(let n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function Av(e){if("number"!=typeof e&&null!=e){const[t,n]=e.split(LO);return n&&"px"!==n?null:parseFloat(t)}return e||null}function Ov(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 Fv="cdk-global-overlay-wrapper";class jO{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(Fv),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(Fv),i.justifyContent=i.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let HO=(()=>{class e{constructor(n,i,r,o){this._viewportRuler=n,this._document=i,this._platform=r,this._overlayContainer=o}global(){return new jO}flexibleConnectedTo(n){return new BO(n,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return e.\u0275fac=function(n){return new(n||e)(D(vv),D(de),D(Fi),D(xv))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),$O=0,mu=(()=>{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 Iv(n);return s.direction=s.direction||this._directionality.value,new VO(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-"+$O++,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(Oi)),new MO(n,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return e.\u0275fac=function(n){return new(n||e)(D(RO),D(xv),D(xn),D(HO),D(kO),D(ft),D(oe),D(de),D(CO),D(D_),D(NO),D(MM,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac}),e})();const zO={provide:new x("cdk-connected-overlay-scroll-strategy"),deps:[mu],useFactory:function GO(e){return()=>e.scrollStrategies.reposition()}};let Rv=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=pe({type:e}),e.\u0275inj=ue({providers:[mu,zO],imports:[hu,wv,Cv,Cv]}),e})();class _u extends Qe{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 vu=new x("SPRITE_URL"),WO={provide:vu,useValue:"/assets/sprite.svg"};let qO=(()=>{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(vu),y(Ie))},e.\u0275cmp=Gt({type:e,selectors:[["eui-svg-icon"]],inputs:{icon:"icon",size:"size"},decls:2,vars:5,template:function(n,i){1&n&&(function Kd(){R.lFrame.currentNamespace="svg"}(),Re(0,"svg"),Lo(1,"use"),Pe()),2&n&&(Jl("height",i.size,"px")("width",i.size,"px"),xe(1),St("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})(),yu=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=pe({type:e}),e.\u0275inj=ue({providers:[WO],imports:[hn]}),e})();const{isArray:YO}=Array,{getPrototypeOf:ZO,prototype:XO,keys:QO}=Object;function eF(e,t){return e.reduce((n,i,r)=>(n[i]=t[r],n),{})}function tF(...e){const t=function FC(e){return W(Ks(e))?e.pop():void 0}(e),{args:n,keys:i}=function KO(e){if(1===e.length){const t=e[0];if(YO(t))return{args:t,keys:null};if(function JO(e){return e&&"object"==typeof e&&ZO(e)===XO}(t)){const n=QO(t);return{args:n.map(i=>t[i]),keys:n}}}return{args:e,keys:null}}(e),r=new Ee(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?eF(i,a):a),o.complete())}))}});return t?r.pipe(cv(t)):r}let Pv=(()=>{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(Tn),y(Ie))},e.\u0275dir=F({type:e}),e})(),Bn=(()=>{class e extends Pv{}return e.\u0275fac=function(){let t;return function(i){return(t||(t=Me(e)))(i||e)}}(),e.\u0275dir=F({type:e,features:[U]}),e})();const vt=new x("NgValueAccessor"),iF={provide:vt,useExisting:Z(()=>Cu),multi:!0},oF=new x("CompositionEventMode");let Cu=(()=>{class e extends Pv{constructor(n,i,r){super(n,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function rF(){const e=Ht()?Ht().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(Tn),y(Ie),y(oF,8))},e.\u0275dir=F({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&&ke("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:[ee([iF]),U]}),e})();const Ne=new x("NgValidators"),mn=new x("NgAsyncValidators");function zv(e){return null!=e}function Wv(e){return Bo(e)?Js(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 Yv(e,t){return t.map(n=>n(e))}function Zv(e){return e.map(t=>function lF(e){return!e.validate}(t)?t:n=>t.validate(n))}function Du(e){return null!=e?function Xv(e){if(!e)return null;const t=e.filter(zv);return 0==t.length?null:function(n){return qv(Yv(n,t))}}(Zv(e)):null}function wu(e){return null!=e?function Qv(e){if(!e)return null;const t=e.filter(zv);return 0==t.length?null:function(n){return tF(Yv(n,t).map(Wv)).pipe(Ni(qv))}}(Zv(e)):null}function Kv(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function bu(e){return e?Array.isArray(e)?e:[e]:[]}function Ts(e,t){return Array.isArray(e)?e.includes(t):e===t}function ty(e,t){const n=bu(t);return bu(e).forEach(r=>{Ts(n,r)||n.push(r)}),n}function ny(e,t){return bu(t).filter(n=>!Ts(e,n))}class iy{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=Du(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=wu(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 Ge extends iy{get formDirective(){return null}get path(){return null}}class _n extends iy{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}let oy=(()=>{class e extends class ry{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(_n,2))},e.\u0275dir=F({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,i){2&n&&$o("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:[U]}),e})();const Fr="VALID",Os="INVALID",Pi="PENDING",Rr="DISABLED";function ay(e){return Array.isArray(e)?Du(e):e||null}function ly(e){return Array.isArray(e)?wu(e):e||null}function Fs(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function Pr(e,t){(function Au(e,t){const n=function Jv(e){return e._rawValidators}(e);null!==t.validator?e.setValidators(Kv(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const i=function ey(e){return e._rawAsyncValidators}(e);null!==t.asyncValidator?e.setAsyncValidators(Kv(i,t.asyncValidator)):"function"==typeof i&&e.setAsyncValidators([i]);const r=()=>e.updateValueAndValidity();ks(t._rawValidators,r),ks(t._rawAsyncValidators,r)})(e,t),t.valueAccessor.writeValue(e.value),e.disabled&&t.valueAccessor.setDisabledState?.(!0),function vF(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&fy(e,t)})}(e,t),function CF(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 yF(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&fy(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function _F(e,t){if(t.valueAccessor.setDisabledState){const n=i=>{t.valueAccessor.setDisabledState(i)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function ks(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function fy(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function my(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function _y(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const xF={provide:_n,useExisting:Z(()=>Pu)},Dy=(()=>Promise.resolve())();let Pu=(()=>{class e extends _n{constructor(n,i,r,o,s){super(),this._changeDetectorRef=s,this.control=new class extends class dy{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=ay(this._rawValidators),this._composedAsyncValidatorFn=ly(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===Fr}get invalid(){return this.status===Os}get pending(){return this.status==Pi}get disabled(){return this.status===Rr}get enabled(){return this.status!==Rr}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=ay(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=ly(t)}addValidators(t){this.setValidators(ty(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(ty(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(ny(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(ny(t,this._rawAsyncValidators))}hasValidator(t){return Ts(this._rawValidators,t)}hasAsyncValidator(t){return Ts(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=Pi,!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=Rr,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=Fr,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===Fr||this.status===Pi)&&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()?Rr:Fr}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=Pi,this._hasOwnPendingAsyncValidator=!0;const n=Wv(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 ce,this.statusChanges=new ce}_calculateStatus(){return this._allControlsDisabled()?Rr:this.errors?Os:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Pi)?Pi:this._anyControlsHaveStatus(Os)?Os:Fr}_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){Fs(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 Mu(e){return(Fs(e)?e.validators:e)||null}(n),function xu(e,t){return(Fs(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}),Fs(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=_y(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){my(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){my(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){_y(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 ce,this._parent=n,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=function Fu(e,t){if(!t)return null;let n,i,r;return Array.isArray(t),t.forEach(o=>{o.constructor===Cu?n=o:function bF(e){return Object.getPrototypeOf(e.constructor)===Bn}(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 Ou(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(){Pr(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){Dy.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){const i=n.isDisabled.currentValue,r=0!==i&&function kc(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}(i);Dy.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?function Rs(e,t){return[...t.path,e]}(n,this._parent):[n]}}return e.\u0275fac=function(n){return new(n||e)(y(Ge,9),y(Ne,10),y(mn,10),y(vt,10),y(rs,8))},e.\u0275dir=F({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:[ee([xF]),U,Pt]}),e})(),by=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=pe({type:e}),e.\u0275inj=ue({}),e})(),JF=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=pe({type:e}),e.\u0275inj=ue({imports:[by]}),e})(),e1=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=pe({type:e}),e.\u0275inj=ue({imports:[JF]}),e})();const n1=["*"];let r1=(()=>{class e{constructor(){this.disabled=!1,this.choose=new ce,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=Gt({type:e,selectors:[["ng-component"]],hostVars:2,hostBindings:function(n,i){2&n&&function eg(e){Mt(ot,jt,e,!0)}(i.disabledCssClass)},inputs:{disabled:"disabled"},outputs:{choose:"choose"},decls:0,vars:0,template:function(n,i){},encapsulation:2,changeDetection:0}),e})(),o1=(()=>{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=F({type:e}),e})(),Vs=(()=>{class e{constructor(){this.disabled=!1,this.order=[],this._multiselect=!1,this._distributor=new _u({isSelect:!1,notify:!1,value:void 0}),this._focusSubject=new _u(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 extends r1{constructor(n,i,r){super(),this.prefix=n,this._selectionSrv=i,this._hostElement=r,this.focused=!1,this.tabindex=0,this._valueSubs=this._selectionSrv.value$.pipe(pv(o=>o.notify),Ni(o=>o.value)).subscribe(o=>{this.choose.emit(o),this.onChange(o),this.onTouched()})}setFocus(){this.disabled||(this.focused=!0,this.focused?this._hostElement.nativeElement.classList.add(`${this.prefix}-focused`):this._hostElement.nativeElement.classList.remove(`${this.prefix}-focused`))}blur(){this.focused=!1,this.focused?this._hostElement.nativeElement.classList.add(`${this.prefix}-focused`):this._hostElement.nativeElement.classList.remove(`${this.prefix}-focused`)}onKeyPress(n){if("ArrowUp"===n.key||"ArrowLeft"===n.key)return n.preventDefault(),void this._selectionSrv.checkPrev();("ArrowDown"===n.key||"ArrowRight"===n.key)&&(n.preventDefault(),this._selectionSrv.checkNext())}ngOnChanges(n){this._selectionSrv.disabled=!0===n.disabled?.currentValue,this.tabindex=this.disabled?-1:0}ngOnDestroy(){this._valueSubs?.unsubscribe()}}return e.\u0275fac=function(n){return new(n||e)(y("EUI_PREFIX"),y(Vs),y(Ie))},e.\u0275cmp=Gt({type:e,selectors:[["eui-selection"]],hostVars:1,hostBindings:function(n,i){1&n&&ke("keyup",function(){return i.setFocus()})("click",function(){return i.blur()})("blur",function(){return i.blur()})("keydown",function(o){return i.onKeyPress(o)}),2&n&&St("tabindex",i.tabindex)},features:[ee([Vs,{provide:vt,useExisting:Z(()=>e),multi:!0}]),U,Pt],ngContentSelectors:n1,decls:1,vars:0,template:function(n,i){1&n&&(jo(),Ho(0))},styles:["[_nghost-%COMP%]:focus, [_nghost-%COMP%]:focus-visible, [_nghost-%COMP%]:focus-within{outline:none}"],changeDetection:0}),e})(),Nr=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=pe({type:e}),e.\u0275inj=ue({providers:[{provide:"EUI_PREFIX",useValue:"eui"}],imports:[hn]}),e})();const Hy=["*"];let a1=(()=>{class e extends o1{constructor(n,i,r,o){super(),this._cdr=n,this.prefix=i,this._appRef=r,this._selectionSrv=o,this.selectable=!0,this.checked=!1,this.disabled=!1}handleClick(){this._applySelect()}get classNames(){let n="";return this.selected&&(n+=`${this.prefix}-selected `),this.disabled&&(n+=`${this.prefix}-disabled`),n}}return e.\u0275fac=function(n){return new(n||e)(y(rs),y("EUI_PREFIX"),y(Oi),y(Vs,8))},e.\u0275cmp=Gt({type:e,selectors:[["eui-chips"]],inputs:{checked:"checked",value:"value",disabled:"disabled"},features:[U],ngContentSelectors:Hy,decls:2,vars:4,consts:[[3,"ngClass","click","keyup.enter"]],template:function(n,i){1&n&&(jo(),Re(0,"div",0),ke("click",function(){return i.handleClick()})("keyup.enter",function(){return i.handleClick()}),Ho(1),Pe()),2&n&&(xt("",i.prefix,"-chips"),pt("ngClass",i.classNames))},dependencies:[Wc],encapsulation:2}),e})(),l1=(()=>{class e extends s1{}return e.\u0275fac=function(){let t;return function(i){return(t||(t=Me(e)))(i||e)}}(),e.\u0275cmp=Gt({type:e,selectors:[["eui-chips-group"]],features:[ee([Vs,{provide:vt,useExisting:Z(()=>e),multi:!0}]),U],ngContentSelectors:Hy,decls:2,vars:4,consts:[[3,"ngClass"]],template:function(n,i){1&n&&(jo(),Re(0,"div",0),Ho(1),Pe()),2&n&&(xt("",i.prefix,"-radio-group"),pt("ngClass",i.disabledCssClass))},dependencies:[Wc],styles:["[_nghost-%COMP%]:focus, [_nghost-%COMP%]:focus-visible, [_nghost-%COMP%]:focus-within{outline:none}"]}),e})(),c1=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=pe({type:e}),e.\u0275inj=ue({providers:[{provide:"EUI_PREFIX",useValue:"eui"}],imports:[hn,Nr]}),e})(),u1=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=pe({type:e}),e.\u0275inj=ue({providers:[{provide:"EUI_PREFIX",useValue:"eui"}],imports:[hn,Nr,yu]}),e})(),d1=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=pe({type:e}),e.\u0275inj=ue({providers:[{provide:"EUI_PREFIX",useValue:"eui"}],imports:[hn,Nr]}),e})();new Xe({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"},0,2),new Xe({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"},0,2);let p1=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=pe({type:e}),e.\u0275inj=ue({providers:[{provide:"EUI_PREFIX",useValue:"eui"}],imports:[Nr,hn,yu,Rv,wv]}),e})();const g1=["overlayContainer"],m1=["overlay"],_1=["tooltipRef"];function v1(e,t){if(1&e&&(Re(0,"p"),Rn(1," : "),Re(2,"span"),Rn(3),Pe()()),2&e){const n=Fn();xt("",n.prefix,"-header__value"),xe(3),Si(n.value)}}function y1(e,t){if(1&e&&(Re(0,"div"),Rn(1),Pe()),2&e){const n=Fn(2);xt("",n.prefix,"-header__tooltip-text"),xe(1),Si(n.tooltip)}}function C1(e,t){if(1&e){const n=function Op(){return v()}();Re(0,"div",2,3),ke("click",function(){return function jd(e){return R.lFrame.contextLView=e,e[8]}(n),function Hd(e){return R.lFrame.contextLView=null,e}(Fn().clickOverlay())}),Lo(2,"eui-svg-icon",4),Ql(3,null,5),bi(5,y1,2,4,"ng-template",null,6,wm),Pe()}if(2&e){const n=Fn();xt("",n.prefix,"-header__tooltip"),xe(2),pt("icon",n.iconName)("size",16)}}function D1(e,t){if(1&e&&(Re(0,"div"),Rn(1),Pe()),2&e){const n=Fn();xt("",n.prefix,"-header__description"),xe(1),Si(n.description)}}function b1(e,t){if(1&e&&(Re(0,"div")(1,"eui-chips",3),Rn(2),Pe()()),2&e){const n=t.$implicit;xt("",Fn().prefix,"-content__item"),xe(1),pt("value",n)("disabled",null==n?null:n.disabled),xe(1),Go(" ",n.name,"")}}const F1=[new Xe({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"},0,0,"mdo-header__tooltip_tc"),new Xe({originX:"center",originY:"top"},{overlayX:"start",overlayY:"bottom"},-24,0,"mdo-header__tooltip_tl"),new Xe({originX:"center",originY:"top"},{overlayX:"end",overlayY:"bottom"},24,0,"mdo-header__tooltip_tr"),new Xe({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"},0,0,"mdo-header__tooltip_bc"),new Xe({originX:"center",originY:"bottom"},{overlayX:"start",overlayY:"top"},-24,0,"mdo-header__tooltip_bl"),new Xe({originX:"center",originY:"bottom"},{overlayX:"end",overlayY:"top"},24,0,"mdo-header__tooltip_br")];let R1=(()=>{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=F1,this.name="",this.showValueInTitle=!1,this.useCustomTooltip=!1,this.byToggleTooltip=new ce,this.iconName="au-uif-tooltip",this.showTooltip=new _u(!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 Iv({positionStrategy:this._overlay.position().flexibleConnectedTo(this.tooltipRef).setOrigin(this.tooltipRef).withPositions([new Xe({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"},0,-r,"mdo-header__tooltip_tc"),new Xe({originX:"center",originY:"top"},{overlayX:"start",overlayY:"bottom"},-24,-r,"mdo-header__tooltip_tl"),new Xe({originX:"center",originY:"top"},{overlayX:"end",overlayY:"bottom"},24,-r,"mdo-header__tooltip_tr"),new Xe({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"},0,-r,"mdo-header__tooltip_bc"),new Xe({originX:"center",originY:"bottom"},{overlayX:"start",overlayY:"top"},-24,-r,"mdo-header__tooltip_bl"),new Xe({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 Dv(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(mu),y(gt),y(Ie),y(Fi))},e.\u0275cmp=Gt({type:e,selectors:[["mdo-header"]],viewQuery:function(n,i){if(1&n&&(Qo(g1,5,gt),Qo(m1,5),Qo(_1,5,Ie)),2&n){let r;Xo(r=Ko())&&(i._overlayContainer=r.first),Xo(r=Ko())&&(i._overlayTemplate=r.first),Xo(r=Ko())&&(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&&(Re(0,"div")(1,"div")(2,"p"),Rn(3),Pe(),bi(4,v1,4,4,"p",0),bi(5,C1,7,5,"div",1),Pe(),bi(6,D1,2,4,"div",0),Pe()),2&n&&(xt("",i.prefix,"-header"),xe(1),xt("",i.prefix,"-header__group"),xe(1),xt("",i.prefix,"-header__title"),xe(1),Si(i.name),xe(1),pt("ngIf",i.showValueInTitle&&null!=i.value),xe(1),pt("ngIf",null!=i.tooltip),xe(1),pt("ngIf",null!=i.description))},dependencies:[k_,qO]}),e})(),P1=(()=>{class e{constructor(n){this.prefix=n,this.changed=new ce,this.toggleTooltip=new ce}}return e.\u0275fac=function(n){return new(n||e)(y("EUI_PREFIX"))},e.\u0275cmp=Gt({type:e,selectors:[["mdo-chips"]],inputs:{option:"option",config:"config"},outputs:{changed:"changed",toggleTooltip:"toggleTooltip"},decls:4,vars:14,consts:[[3,"showValueInTitle","useCustomTooltip","name","value","tooltip","description","icon","byToggleTooltip"],[3,"disabled","ngModel","ngModelChange"],[3,"class",4,"ngFor","ngForOf"],[3,"value","disabled"]],template:function(n,i){1&n&&(Re(0,"mdo-header",0),ke("byToggleTooltip",function(o){return i.toggleTooltip.emit(o)}),Pe(),Re(1,"eui-chips-group",1),ke("ngModelChange",function(o){return i.changed.emit(o)}),Re(2,"div"),bi(3,b1,3,6,"div",2),Pe()()),2&n&&(pt("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),xe(1),pt("disabled",null==i.config?null:i.config.disabled)("ngModel",null==i.option?null:i.option.selected),xe(1),function gg(e,t,n,i,r){Mt(ot,jt,mi(v(),e,t,n,i,r),!0)}("",i.prefix,"-content ",i.prefix,"-content_chips"),xe(1),pt("ngForOf",null==i.option?null:i.option.values))},dependencies:[R_,oy,Pu,l1,a1,R1],changeDetection:0}),e})(),k1=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=pe({type:e}),e.\u0275inj=ue({providers:[{provide:"EUI_PREFIX",useValue:"mdo"}],imports:[hn,yu,Nr,e1,Rv,u1,c1,d1,p1]}),e})();class N1 extends Qe{constructor(t=1/0,n=1/0,i=lu){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 Ls.schedule(e,0);if(typeof window.requestAnimationFrame>"u")return Ls.schedule(e,16);const t=window.requestAnimationFrame(e);return()=>window.cancelAnimationFrame(t)}};let Hu;function W1(e,t,n){let i=n;return function B1(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&t.some((r,o)=>!("*"===r||!function H1(e,t){if(!Hu){const n=Element.prototype;Hu=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE&&Hu.call(e,t)}(e,r)||(i=o,0))),i}class Y1{constructor(t,n){this.componentFactory=n.get(xn).resolveComponentFactory(t)}create(t){return new Z1(this.componentFactory,t)}}class Z1{constructor(t,n){this.componentFactory=t,this.injector=n,this.eventEmitters=new N1(1),this.events=this.eventEmitters.pipe(function V1(e,t){return Ft((n,i)=>{let r=null,o=0,s=!1;const a=()=>s&&!r&&i.complete();n.subscribe(at(i,l=>{r?.unsubscribe();let c=0;const u=o++;lt(e(l,u)).subscribe(r=at(i,d=>i.next(t?t(l,d,u,c++):d),()=>{r=null,a()}))},()=>{s=!0,a()}))})}(i=>ea(...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(oe),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=Ls.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 $1(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=ft.create({providers:[],parent:this.injector}),i=function z1(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(Ni(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=Ls.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 Rd(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 X1 extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}let K1=(()=>{class e{constructor(n){this._injector=n}ngDoBootstrap(){const n=function Q1(e,t){const n=function G1(e,t){return t.get(xn).resolveComponentFactory(e).inputs}(e,t.injector),i=t.strategyFactory||new Y1(e,t.injector),r=function U1(e){const t={};return e.forEach(({propName:n,templateName:i})=>{t[function L1(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}(i)]=n}),t}(n);class o extends X1{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}(P1,{injector:this._injector});customElements.define("au-chips",n)}}return e.\u0275fac=function(n){return new(n||e)(D(ft))},e.\u0275mod=pe({type:e}),e.\u0275inj=ue({providers:[{provide:vu,useValue:""}],imports:[OA,k1]}),e})();(function WM(){o_=!1})(),AA().bootstrapModule(K1,{ngZone:"noop"}).catch(e=>console.error(e))}},W=>{W(W.s=495)}]);