"use strict";(self.webpackChunkcheckbox=self.webpackChunkcheckbox||[]).push([[429],{765:()=>{}},c=>{c(c.s=765)}]);(()=>{"use strict";var e,i={},h={};function n(e){var f=h[e];if(void 0!==f)return f.exports;var r=h[e]={exports:{}};return i[e](r,r.exports,n),r.exports}n.m=i,e=[],n.O=(f,r,o,c)=>{if(!r){var s=1/0;for(a=0;a=c)&&Object.keys(n.O).every(d=>n.O[d](r[l]))?r.splice(l--,1):(t=!1,c0&&e[a-1][2]>c;a--)e[a]=e[a-1];e[a]=[r,o,c]},n.o=(e,f)=>Object.prototype.hasOwnProperty.call(e,f),(()=>{var e={666:0};n.O.j=o=>0===e[o];var f=(o,c)=>{var l,u,[a,s,t]=c,v=0;if(a.some(b=>0!==e[b])){for(l in s)n.o(s,l)&&(n.m[l]=s[l]);if(t)var _=t(n)}for(o&&o(c);v{function Y(e){return"function"==typeof e}function Xo(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 Ko=Xo(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((i,o)=>`${o+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function Kn(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 r of n)r.remove(this);else n.remove(this);const{initialTeardown:i}=this;if(Y(i))try{i()}catch(r){t=r instanceof Ko?r.errors:[r]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const r of o)try{hd(r)}catch(s){t=t??[],s instanceof Ko?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Ko(t)}}add(t){var n;if(t&&t!==this)if(this.closed)hd(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)&&Kn(n,t)}remove(t){const{_finalizers:n}=this;n&&Kn(n,t),t instanceof Ze&&t._removeParent(this)}}Ze.EMPTY=(()=>{const e=new Ze;return e.closed=!0,e})();const dd=Ze.EMPTY;function fd(e){return e instanceof Ze||e&&"closed"in e&&Y(e.remove)&&Y(e.add)&&Y(e.unsubscribe)}function hd(e){Y(e)?e():e.unsubscribe()}const xn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Qo={setTimeout(e,t,...n){const{delegate:i}=Qo;return i?.setTimeout?i.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=Qo;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function pd(e){Qo.setTimeout(()=>{const{onUnhandledError:t}=xn;if(!t)throw e;t(e)})}function Ys(){}const eC=Zs("C",void 0,void 0);function Zs(e,t,n){return{kind:e,value:t,error:n}}let Tn=null;function Jo(e){if(xn.useDeprecatedSynchronousErrorHandling){const t=!Tn;if(t&&(Tn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:i}=Tn;if(Tn=null,n)throw i}}else e()}class Xs extends Ze{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,fd(t)&&t.add(this)):this.destination=aC}static create(t,n,i){return new Wi(t,n,i)}next(t){this.isStopped?Qs(function nC(e){return Zs("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?Qs(function tC(e){return Zs("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Qs(eC,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 oC=Function.prototype.bind;function Ks(e,t){return oC.call(e,t)}class rC{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(i){er(i)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(i){er(i)}else er(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){er(n)}}}class Wi extends Xs{constructor(t,n,i){let o;if(super(),Y(t)||!t)o={next:t??void 0,error:n??void 0,complete:i??void 0};else{let r;this&&xn.useDeprecatedNextContext?(r=Object.create(t),r.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Ks(t.next,r),error:t.error&&Ks(t.error,r),complete:t.complete&&Ks(t.complete,r)}):o=t}this.destination=new rC(o)}}function er(e){xn.useDeprecatedSynchronousErrorHandling?function iC(e){xn.useDeprecatedSynchronousErrorHandling&&Tn&&(Tn.errorThrown=!0,Tn.error=e)}(e):pd(e)}function Qs(e,t){const{onStoppedNotification:n}=xn;n&&Qo.setTimeout(()=>n(e,t))}const aC={closed:!0,next:Ys,error:function sC(e){throw e},complete:Ys},Js="function"==typeof Symbol&&Symbol.observable||"@@observable";function gd(e){return e}let Fe=(()=>{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,o){const r=function cC(e){return e&&e instanceof Xs||function lC(e){return e&&Y(e.next)&&Y(e.error)&&Y(e.complete)}(e)&&fd(e)}(n)?n:new Wi(n,i,o);return Jo(()=>{const{operator:s,source:a}=this;r.add(s?s.call(r,a):a?this._subscribe(r):this._trySubscribe(r))}),r}_trySubscribe(n){try{return this._subscribe(n)}catch(i){n.error(i)}}forEach(n,i){return new(i=_d(i))((o,r)=>{const s=new Wi({next:a=>{try{n(a)}catch(l){r(l),s.unsubscribe()}},error:r,complete:o});this.subscribe(s)})}_subscribe(n){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(n)}[Js](){return this}pipe(...n){return function md(e){return 0===e.length?gd:1===e.length?e[0]:function(n){return e.reduce((i,o)=>o(i),n)}}(n)(this)}toPromise(n){return new(n=_d(n))((i,o)=>{let r;this.subscribe(s=>r=s,s=>o(s),()=>i(r))})}}return e.create=t=>new e(t),e})();function _d(e){var t;return null!==(t=e??xn.Promise)&&void 0!==t?t:Promise}const uC=Xo(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let nt=(()=>{class e extends Fe{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const i=new yd(this,this);return i.operator=n,i}_throwIfClosed(){if(this.closed)throw new uC}next(n){Jo(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(n)}})}error(n){Jo(()=>{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(){Jo(()=>{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:o,observers:r}=this;return i||o?dd:(this.currentObservers=null,r.push(n),new Ze(()=>{this.currentObservers=null,Kn(r,n)}))}_checkFinalizedStatuses(n){const{hasError:i,thrownError:o,isStopped:r}=this;i?n.error(o):r&&n.complete()}asObservable(){const n=new Fe;return n.source=this,n}}return e.create=(t,n)=>new yd(t,n),e})();class yd extends nt{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:dd}}function Nt(e){return t=>{if(function dC(e){return Y(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 ht(e,t,n,i,o){return new fC(e,t,n,i,o)}class fC extends Xs{constructor(t,n,i,o,r,s){super(t),this.onFinalize=r,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(l){t.error(l)}}:super._next,this._error=o?function(a){try{o(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 Qn(e,t){return Nt((n,i)=>{let o=0;n.subscribe(ht(i,r=>{i.next(e.call(t,r,o++))}))})}function un(e){return this instanceof un?(this.v=e,this):new un(e)}function Dd(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,i=n.apply(e,t||[]),r=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){i[f]&&(o[f]=function(h){return new Promise(function(p,g){r.push([f,h,p,g])>1||a(f,h)})})}function a(f,h){try{!function l(f){f.value instanceof un?Promise.resolve(f.value.v).then(c,u):d(r[0][2],f)}(i[f](h))}catch(p){d(r[0][3],p)}}function c(f){a("next",f)}function u(f){a("throw",f)}function d(f,h){f(h),r.shift(),r.length&&a(r[0][0],r[0][1])}}function wd(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 ia(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(r){n[r]=e[r]&&function(s){return new Promise(function(a,l){!function o(r,s,a,l){Promise.resolve(l).then(function(c){r({value:c,done:a})},s)}(a,l,(s=e[r](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const oa=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Ed(e){return Y(e?.then)}function bd(e){return Y(e[Js])}function Sd(e){return Symbol.asyncIterator&&Y(e?.[Symbol.asyncIterator])}function Md(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 Id=function PC(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function xd(e){return Y(e?.[Id])}function Td(e){return Dd(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:i,done:o}=yield un(n.read());if(o)return yield un(void 0);yield yield un(i)}}finally{n.releaseLock()}})}function Ad(e){return Y(e?.getReader)}function pt(e){if(e instanceof Fe)return e;if(null!=e){if(bd(e))return function kC(e){return new Fe(t=>{const n=e[Js]();if(Y(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(oa(e))return function NC(e){return new Fe(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,pd)})}(e);if(Sd(e))return Fd(e);if(xd(e))return function LC(e){return new Fe(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(Ad(e))return function BC(e){return Fd(Td(e))}(e)}throw Md(e)}function Fd(e){return new Fe(t=>{(function jC(e,t){var n,i,o,r;return function vd(e,t,n,i){return new(n||(n=Promise))(function(r,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?r(u.value):function o(r){return r instanceof n?r:new n(function(s){s(r)})}(u.value).then(a,l)}c((i=i.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=wd(e);!(i=yield n.next()).done;)if(t.next(i.value),t.closed)return}catch(s){o={error:s}}finally{try{i&&!i.done&&(r=n.return)&&(yield r.call(n))}finally{if(o)throw o.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function dn(e,t,n,i=0,o=!1){const r=t.schedule(function(){n(),o?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(r),!o)return r}function ra(e,t,n=1/0){return Y(t)?ra((i,o)=>Qn((r,s)=>t(i,r,o,s))(pt(e(i,o))),n):("number"==typeof t&&(n=t),Nt((i,o)=>function HC(e,t,n,i,o,r,s,a){const l=[];let c=0,u=0,d=!1;const f=()=>{d&&!l.length&&!c&&t.complete()},h=g=>c{r&&t.next(g),c++;let y=!1;pt(n(g,u++)).subscribe(ht(t,C=>{o?.(C),r?h(C):t.next(C)},()=>{y=!0},void 0,()=>{if(y)try{for(c--;l.length&&cp(C)):p(C)}f()}catch(C){t.error(C)}}))};return e.subscribe(ht(t,h,()=>{d=!0,f()})),()=>{a?.()}}(i,o,e,n)))}const sa=new Fe(e=>e.complete());function Od(e){return e&&Y(e.schedule)}function aa(e){return e[e.length-1]}function Rd(e){return Od(aa(e))?e.pop():void 0}function Pd(e,t=0){return Nt((n,i)=>{n.subscribe(ht(i,o=>dn(i,e,()=>i.next(o),t),()=>dn(i,e,()=>i.complete(),t),o=>dn(i,e,()=>i.error(o),t)))})}function kd(e,t=0){return Nt((n,i)=>{i.add(e.schedule(()=>n.subscribe(i),t))})}function Nd(e,t){if(!e)throw new Error("Iterable cannot be null");return new Fe(n=>{dn(n,t,()=>{const i=e[Symbol.asyncIterator]();dn(n,t,()=>{i.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function la(e,t){return t?function KC(e,t){if(null!=e){if(bd(e))return function WC(e,t){return pt(e).pipe(kd(t),Pd(t))}(e,t);if(oa(e))return function YC(e,t){return new Fe(n=>{let i=0;return t.schedule(function(){i===e.length?n.complete():(n.next(e[i++]),n.closed||this.schedule())})})}(e,t);if(Ed(e))return function qC(e,t){return pt(e).pipe(kd(t),Pd(t))}(e,t);if(Sd(e))return Nd(e,t);if(xd(e))return function ZC(e,t){return new Fe(n=>{let i;return dn(n,t,()=>{i=e[Id](),dn(n,t,()=>{let o,r;try{({value:o,done:r}=i.next())}catch(s){return void n.error(s)}r?n.complete():n.next(o)},0,!0)}),()=>Y(i?.return)&&i.return()})}(e,t);if(Ad(e))return function XC(e,t){return Nd(Td(e),t)}(e,t)}throw Md(e)}(e,t):pt(e)}function ca(...e){const t=Rd(e),n=function GC(e,t){return"number"==typeof aa(e)?e.pop():t}(e,1/0),i=e;return i.length?1===i.length?pt(i[0]):function $C(e=1/0){return ra(gd,e)}(n)(la(i,t)):sa}function ua(e,t,...n){if(!0===t)return void e();if(!1===t)return;const i=new Wi({next:()=>{i.unsubscribe(),e()}});return t(...n).subscribe(i)}function ee(e){for(let t in e)if(e[t]===ee)return t;throw Error("Could not find renamed property on target object.")}function da(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function te(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(te).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 fa(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const JC=ee({__forward_ref__:ee});function z(e){return e.__forward_ref__=z,e.toString=function(){return te(this())},e}function T(e){return ha(e)?e():e}function ha(e){return"function"==typeof e&&e.hasOwnProperty(JC)&&e.__forward_ref__===z}class S extends Error{constructor(t,n){super(function tr(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 nr(e,t){throw new S(-201,!1)}function ot(e,t){null==e&&function Z(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 me(e){return{providers:e.providers||[],imports:e.imports||[]}}function ir(e){return Vd(e,or)||Vd(e,Bd)}function Vd(e,t){return e.hasOwnProperty(t)?e[t]:null}function Ld(e){return e&&(e.hasOwnProperty(pa)||e.hasOwnProperty(aD))?e[pa]:null}const or=ee({\u0275prov:ee}),pa=ee({\u0275inj:ee}),Bd=ee({ngInjectableDef:ee}),aD=ee({ngInjectorDef:ee});var F=(()=>((F=F||{})[F.Default=0]="Default",F[F.Host=1]="Host",F[F.Self=2]="Self",F[F.SkipSelf=4]="SkipSelf",F[F.Optional=8]="Optional",F))();let ga;function gt(e){const t=ga;return ga=e,t}function jd(e,t,n){const i=ir(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&F.Optional?null:void 0!==t?t:void nr(te(e))}function fn(e){return{toString:e}.toString()}var bt=(()=>((bt=bt||{})[bt.OnPush=0]="OnPush",bt[bt.Default=1]="Default",bt))(),Vt=(()=>{return(e=Vt||(Vt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Vt;var e})();const ne=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Jn={},q=[],rr=ee({\u0275cmp:ee}),ma=ee({\u0275dir:ee}),_a=ee({\u0275pipe:ee}),Hd=ee({\u0275mod:ee}),Kt=ee({\u0275fac:ee}),qi=ee({__NG_ELEMENT_ID__:ee});let cD=0;function Pe(e){return fn(()=>{const n=!0===e.standalone,i={},o={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===bt.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||q,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Vt.Emulated,id:"c"+cD++,styles:e.styles||q,_:null,setInput:null,schemas:e.schemas||null,tView:null},r=e.dependencies,s=e.features;return o.inputs=zd(e.inputs,i),o.outputs=zd(e.outputs),s&&s.forEach(a=>a(o)),o.directiveDefs=r?()=>("function"==typeof r?r():r).map($d).filter(Ud):null,o.pipeDefs=r?()=>("function"==typeof r?r():r).map($e).filter(Ud):null,o})}function $d(e){return Q(e)||He(e)}function Ud(e){return null!==e}function Ce(e){return fn(()=>({type:e.type,bootstrap:e.bootstrap||q,declarations:e.declarations||q,imports:e.imports||q,exports:e.exports||q,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function zd(e,t){if(null==e)return Jn;const n={};for(const i in e)if(e.hasOwnProperty(i)){let o=e[i],r=o;Array.isArray(o)&&(r=o[1],o=o[0]),n[o]=i,t&&(t[o]=r)}return n}const O=Pe;function Q(e){return e[rr]||null}function He(e){return e[ma]||null}function $e(e){return e[_a]||null}const L=11;function Ke(e){return Array.isArray(e)&&"object"==typeof e[1]}function Mt(e){return Array.isArray(e)&&!0===e[1]}function Ca(e){return 0!=(8&e.flags)}function cr(e){return 2==(2&e.flags)}function ur(e){return 1==(1&e.flags)}function It(e){return null!==e.template}function gD(e){return 0!=(256&e[2])}function Pn(e,t){return e.hasOwnProperty(Kt)?e[Kt]:null}class qd{constructor(t,n,i){this.previousValue=t,this.currentValue=n,this.firstChange=i}isFirstChange(){return this.firstChange}}function _t(){return Yd}function Yd(e){return e.type.prototype.ngOnChanges&&(e.setInput=vD),yD}function yD(){const e=Xd(this),t=e?.current;if(t){const n=e.previous;if(n===Jn)e.previous=t;else for(let i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function vD(e,t,n,i){const o=Xd(e)||function CD(e,t){return e[Zd]=t}(e,{previous:Jn,current:null}),r=o.current||(o.current={}),s=o.previous,a=this.declaredInputs[n],l=s[a];r[a]=new qd(l&&l.currentValue,t,s===Jn),e[i]=t}_t.ngInherit=!0;const Zd="__ngSimpleChanges__";function Xd(e){return e[Zd]||null}function De(e){for(;Array.isArray(e);)e=e[0];return e}function dr(e,t){return De(t[e])}function at(e,t){return De(t[e.index])}function Sa(e,t){return e.data[t]}function lt(e,t){const n=t[e];return Ke(n)?n:n[0]}function fr(e){return 64==(64&e[2])}function hn(e,t){return null==t?null:e[t]}function Kd(e){e[18]=0}function Ma(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:cf(null),bindingsEnabled:!0};function Jd(){return R.bindingsEnabled}function v(){return R.lFrame.lView}function $(){return R.lFrame.tView}function Ia(e){return R.lFrame.contextLView=e,e[8]}function xa(e){return R.lFrame.contextLView=null,e}function Ie(){let e=ef();for(;null!==e&&64===e.type;)e=e.parent;return e}function ef(){return R.lFrame.currentTNode}function Lt(e,t){const n=R.lFrame;n.currentTNode=e,n.isParent=t}function Ta(){return R.lFrame.isParent}function Aa(){R.lFrame.isParent=!1}function oi(){return R.lFrame.bindingIndex++}function Jt(e){const t=R.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function kD(e,t){const n=R.lFrame;n.bindingIndex=n.bindingRootIndex=e,Fa(t)}function Fa(e){R.lFrame.currentDirectiveIndex=e}function sf(){return R.lFrame.currentQueryIndex}function Ra(e){R.lFrame.currentQueryIndex=e}function VD(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function af(e,t,n){if(n&F.SkipSelf){let o=t,r=e;for(;!(o=o.parent,null!==o||n&F.Host||(o=VD(r),null===o||(r=r[15],10&o.type))););if(null===o)return!1;t=o,e=r}const i=R.lFrame=lf();return i.currentTNode=t,i.lView=e,!0}function Pa(e){const t=lf(),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 lf(){const e=R.lFrame,t=null===e?null:e.child;return null===t?cf(e):t}function cf(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 uf(){const e=R.lFrame;return R.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const df=uf;function ka(){const e=uf();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 ze(){return R.lFrame.selectedIndex}function pn(e){R.lFrame.selectedIndex=e}function ce(){const e=R.lFrame;return Sa(e.tView,e.selectedIndex)}function hr(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{r.call(a)}finally{}}}else try{r.call(a)}finally{}}class eo{constructor(t,n,i){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}}function mr(e,t,n){let i=0;for(;it){s=r-1;break}}}for(;r>16}(e),i=t;for(;n>0;)i=i[15],n--;return i}let La=!0;function yr(e){const t=La;return La=e,t}let KD=0;const Bt={};function no(e,t){const n=ja(e,t);if(-1!==n)return n;const i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,Ba(i.data,e),Ba(t,null),Ba(i.blueprint,null));const o=vr(e,t),r=e.injectorIndex;if(_f(o)){const s=ri(o),a=si(o,t),l=a[1].data;for(let c=0;c<8;c++)t[r+c]=a[s+c]|l[s+c]}return t[r+8]=o,r}function Ba(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ja(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function vr(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,o=t;for(;null!==o;){if(i=Mf(o),null===i)return-1;if(n++,o=o[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return-1}function Cr(e,t,n){!function QD(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(qi)&&(i=n[qi]),null==i&&(i=n[qi]=KD++);const o=255&i;t.data[e+(o>>5)]|=1<=0?255&t:nw:t}(n);if("function"==typeof r){if(!af(t,e,i))return i&F.Host?Cf(o,0,i):Df(t,n,i,o);try{const s=r(i);if(null!=s||i&F.Optional)return s;nr()}finally{df()}}else if("number"==typeof r){let s=null,a=ja(e,t),l=-1,c=i&F.Host?t[16][6]:null;for((-1===a||i&F.SkipSelf)&&(l=-1===a?vr(e,t):t[a+8],-1!==l&&Sf(i,!1)?(s=t[1],a=ri(l),t=si(l,t)):a=-1);-1!==a;){const u=t[1];if(bf(r,a,u.data)){const d=ew(a,t,n,s,i,c);if(d!==Bt)return d}l=t[a+8],-1!==l&&Sf(i,t[1].data[a+8]===c)&&bf(r,a,t)?(s=u,a=ri(l),t=si(l,t)):a=-1}}return o}function ew(e,t,n,i,o,r){const s=t[1],a=s.data[e+8],u=Dr(a,s,n,null==i?cr(a)&&La:i!=s&&0!=(3&a.type),o&F.Host&&r===a);return null!==u?io(t,s,u,a):Bt}function Dr(e,t,n,i,o){const r=e.providerIndexes,s=t.data,a=1048575&r,l=e.directiveStart,u=r>>20,f=o?a+u:e.directiveEnd;for(let h=i?a:a+u;h=l&&p.type===n)return h}if(o){const h=s[l];if(h&&It(h)&&h.type===n)return l}return null}function io(e,t,n,i){let o=e[n];const r=t.data;if(function WD(e){return e instanceof eo}(o)){const s=o;s.resolving&&function eD(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new S(-200,`Circular dependency in DI detected for ${e}${n}`)}(function W(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)}(r[n]));const a=yr(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?gt(s.injectImpl):null;af(e,i,F.Default);try{o=e[n]=s.factory(void 0,r,e,i),t.firstCreatePass&&n>=i.directiveStart&&function zD(e,t,n){const{ngOnChanges:i,ngOnInit:o,ngDoCheck:r}=t.type.prototype;if(i){const s=Yd(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),r&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,r))}(n,r[n],t)}finally{null!==l&>(l),yr(a),s.resolving=!1,df()}}return o}function bf(e,t,n){return!!(n[t+(e>>5)]&1<{const t=Ha(T(e));return t&&t()}:Pn(e)}function Mf(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}const ci="__parameters__";function di(e,t,n){return fn(()=>{const i=function Ua(e){return function(...n){if(e){const i=e(...n);for(const o in i)this[o]=i[o]}}}(t);function o(...r){if(this instanceof o)return i.apply(this,r),this;const s=new o(...r);return a.annotation=s,a;function a(l,c,u){const d=l.hasOwnProperty(ci)?l[ci]:Object.defineProperty(l,ci,{value:[]})[ci];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}class A{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 ct(e,t){void 0===t&&(t=e);for(let n=0;nArray.isArray(n)?en(n,t):t(n))}function xf(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function wr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function so(e,t){const n=[];for(let i=0;i=0?e[1|i]=n:(i=~i,function aw(e,t,n,i){let o=e.length;if(o==t)e.push(n,i);else if(1===o)e.push(i,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=i}}(e,i,t,n)),i}function Ga(e,t){const n=fi(e,t);if(n>=0)return e[1|n]}function fi(e,t){return function Ff(e,t,n){let i=0,o=e.length>>n;for(;o!==i;){const r=i+(o-i>>1),s=e[r<t?o=r:i=r+1}return~(o<((Qe=Qe||{})[Qe.Important=1]="Important",Qe[Qe.DashCase=2]="DashCase",Qe))();const Ja=new Map;let Nw=0;const tl="__ngContext__";function Ve(e,t){Ke(t)?(e[tl]=t[20],function Lw(e){Ja.set(e[20],e)}(t)):e[tl]=t}function il(e,t){return undefined(e,t)}function po(e){const t=e[3];return Mt(t)?t[3]:t}function ol(e){return Jf(e[13])}function rl(e){return Jf(e[4])}function Jf(e){for(;null!==e&&!Mt(e);)e=e[4];return e}function gi(e,t,n,i,o){if(null!=i){let r,s=!1;Mt(i)?r=i:Ke(i)&&(s=!0,i=i[0]);const a=De(i);0===e&&null!==n?null==o?rh(t,n,a):kn(t,n,a,o||null,!0):1===e&&null!==n?kn(t,n,a,o||null,!0):2===e?function fl(e,t,n){const i=Ar(e,t);i&&function sE(e,t,n,i){e.removeChild(t,n,i)}(e,i,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=r&&function cE(e,t,n,i,o){const r=n[7];r!==De(n)&&gi(t,e,i,r,o);for(let a=10;a0&&(e[n-1][4]=i[4]);const r=wr(e,10+t);!function Qw(e,t){go(e,t,t[L],2,null,null),t[0]=null,t[6]=null}(i[1],i);const s=r[19];null!==s&&s.detachView(r[1]),i[3]=null,i[4]=null,i[2]&=-65}return i}function nh(e,t){if(!(128&t[2])){const n=t[L];n.destroyNode&&go(e,t,n,3,null,null),function tE(e){let t=e[13];if(!t)return cl(e[1],e);for(;t;){let n=null;if(Ke(t))n=t[13];else{const i=t[10];i&&(n=i)}if(!n){for(;t&&!t[4]&&t!==e;)Ke(t)&&cl(t[1],t),t=t[3];null===t&&(t=e),Ke(t)&&cl(t[1],t),n=t&&t[4]}t=n}}(t)}}function cl(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function rE(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let i=0;i=0?i[o=c]():i[o=-c].unsubscribe(),r+=2}else{const s=i[o=n[r+1]];n[r].call(s)}if(null!==i){for(let r=o+1;r{const s=r;wl(s,n,[],i)&&(o||(o=[]),o.push(s))}),void 0!==o&&Oh(o,n),n}function Oh(e,t){for(let n=0;n{t.push(r)})}}function wl(e,t,n,i){if(!(e=T(e)))return!1;let o=null,r=Ld(e);const s=!r&&Q(e);if(r||s){if(s&&!s.standalone)return!1;o=e}else{const l=e.ngModule;if(r=Ld(l),!r)return!1;o=l}const a=i.has(o);if(s){if(a)return!1;if(i.add(o),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)wl(c,t,n,i)}}else{if(!r)return!1;{if(null!=r.imports&&!a){let c;i.add(o);try{en(r.imports,u=>{wl(u,t,n,i)&&(c||(c=[]),c.push(u))})}finally{}void 0!==c&&Oh(c,t)}if(!a){const c=Pn(o)||(()=>new o);t.push({provide:o,useFactory:c,deps:q},{provide:Th,useValue:o,multi:!0},{provide:Ih,useValue:()=>w(o),multi:!0})}const l=r.providers;null==l||a||en(l,u=>{t.push(u)})}}return o!==e&&void 0!==e.providers}const BE=ee({provide:String,useValue:ee});function El(e){return null!==e&&"object"==typeof e&&BE in e}function Vn(e){return"function"==typeof e}const bl=new A("Set Injector scope."),Nr={},HE={};let Sl;function Vr(){return void 0===Sl&&(Sl=new Ah),Sl}class mi{}class kh extends mi{constructor(t,n,i,o){super(),this.parent=n,this.source=i,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Il(t,s=>this.processProvider(s)),this.records.set(xh,_i(void 0,this)),o.has("environment")&&this.records.set(mi,_i(void 0,this));const r=this.records.get(bl);null!=r&&"string"==typeof r.value&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(Th.multi,q,F.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=hi(this),i=gt(void 0);try{return t()}finally{hi(n),gt(i)}}get(t,n=ao,i=F.Default){this.assertNotDestroyed();const o=hi(this),r=gt(void 0);try{if(!(i&F.SkipSelf)){let a=this.records.get(t);if(void 0===a){const l=function WE(e){return"function"==typeof e||"object"==typeof e&&e instanceof A}(t)&&ir(t);a=l&&this.injectableDefInScope(l)?_i(Ml(t),Nr):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(i&F.Self?Vr():this.parent).get(t,n=i&F.Optional&&n===ao?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[br]=s[br]||[]).unshift(te(t)),o)throw s;return function vw(e,t,n,i){const o=e[br];throw t[Of]&&o.unshift(t[Of]),e.message=function Cw(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=te(t);if(Array.isArray(t))o=t.map(te).join(" -> ");else if("object"==typeof t){let r=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];r.push(s+":"+("string"==typeof a?JSON.stringify(a):te(a)))}o=`{${r.join(", ")}}`}return`${n}${i?"("+i+")":""}[${o}]: ${e.replace(gw,"\n ")}`}("\n"+e.message,o,n,i),e.ngTokenPath=o,e[br]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{gt(r),hi(o)}}resolveInjectorInitializers(){const t=hi(this),n=gt(void 0);try{const i=this.get(Ih.multi,q,F.Self);for(const o of i)o()}finally{hi(t),gt(n)}}toString(){const t=[],n=this.records;for(const i of n.keys())t.push(te(i));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new S(205,!1)}processProvider(t){let n=Vn(t=T(t))?t:T(t&&t.provide);const i=function UE(e){return El(e)?_i(void 0,e.useValue):_i(Nh(e),Nr)}(t);if(Vn(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=_i(void 0,Nr,!0),o.factory=()=>Ya(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,i)}hydrate(t,n){return n.value===Nr&&(n.value=HE,n.value=n.factory()),"object"==typeof n.value&&n.value&&function GE(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=T(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function Ml(e){const t=ir(e),n=null!==t?t.factory:Pn(e);if(null!==n)return n;if(e instanceof A)throw new S(204,!1);if(e instanceof Function)return function $E(e){const t=e.length;if(t>0)throw so(t,"?"),new S(204,!1);const n=function rD(e){const t=e&&(e[or]||e[Bd]);if(t){const n=function sD(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 Nh(e,t,n){let i;if(Vn(e)){const o=T(e);return Pn(o)||Ml(o)}if(El(e))i=()=>T(e.useValue);else if(function Ph(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...Ya(e.deps||[]));else if(function Rh(e){return!(!e||!e.useExisting)}(e))i=()=>w(T(e.useExisting));else{const o=T(e&&(e.useClass||e.provide));if(!function zE(e){return!!e.deps}(e))return Pn(o)||Ml(o);i=()=>new o(...Ya(e.deps))}return i}function _i(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function qE(e){return!!e.\u0275providers}function Il(e,t){for(const n of e)Array.isArray(n)?Il(n,t):qE(n)?Il(n.\u0275providers,t):t(n)}class Vh{}class XE{resolveComponentFactory(t){throw function ZE(e){const t=Error(`No component factory found for ${te(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Ln=(()=>{class e{}return e.NULL=new XE,e})();function KE(){return yi(Ie(),v())}function yi(e,t){return new Ee(at(e,t))}let Ee=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=KE,e})();function QE(e){return e instanceof Ee?e.nativeElement:e}class Bh{}let Bn=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function JE(){const e=v(),n=lt(Ie().index,e);return(Ke(n)?n:e)[L]}(),e})(),eb=(()=>{class e{}return e.\u0275prov=N({token:e,providedIn:"root",factory:()=>null}),e})();class vo{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const tb=new vo("14.3.0"),xl={};function Al(e){return e.ngOriginalError}class vi{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&&Al(t);for(;n&&Al(n);)n=Al(n);return n||null}}function Uh(e,t,n){let i=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const r=t.length;if(o+r===i||e.charCodeAt(o+r)<=32)return o}n=o+1}}const zh="ng-template";function ub(e,t,n){let i=0;for(;ir?"":o[d+1].toLowerCase();const h=8&i?f:null;if(h&&-1!==Uh(h,c,0)||2&i&&c!==f){if(xt(i))return!1;s=!0}}}}else{if(!s&&!xt(i)&&!xt(l))return!1;if(s&&xt(l))continue;s=!1,i=l|1&i}}return xt(i)||s}function xt(e){return 0==(1&e)}function hb(e,t,n,i){if(null===t)return-1;let o=0;if(i||!n){let r=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else 8&i?o+="."+s:4&i&&(o+=" "+s);else""!==o&&!xt(s)&&(t+=qh(r,o),o=""),i=s,r=r||!xt(i);n++}return""!==o&&(t+=qh(r,o)),t}const k={};function G(e){Yh($(),v(),ze()+e,!1)}function Yh(e,t,n,i){if(!i)if(3==(3&t[2])){const r=e.preOrderCheckHooks;null!==r&&pr(t,r,n)}else{const r=e.preOrderHooks;null!==r&&gr(t,r,0,n)}pn(n)}function Qh(e,t=null,n=null,i){const o=Jh(e,t,n,i);return o.resolveInjectorInitializers(),o}function Jh(e,t=null,n=null,i,o=new Set){const r=[n||q,LE(e)];return i=i||("object"==typeof e?void 0:te(e)),new kh(r,t||Vr(),i||null,o)}let vt=(()=>{class e{static create(n,i){if(Array.isArray(n))return Qh({name:""},i,n,"");{const o=n.name??"";return Qh({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=ao,e.NULL=new Ah,e.\u0275prov=N({token:e,providedIn:"any",factory:()=>w(xh)}),e.__NG_ELEMENT_ID__=-1,e})();function m(e,t=F.Default){const n=v();return null===n?w(e,t):wf(Ie(),n,T(e),t)}function Br(e,t){return e<<17|t<<2}function Tt(e){return e>>17&32767}function kl(e){return 2|e}function on(e){return(131068&e)>>2}function Nl(e,t){return-131069&e|t<<2}function Vl(e){return 1|e}function mp(e,t){const n=e.contentQueries;if(null!==n)for(let i=0;i22&&Yh(e,t,22,!1),n(i,o)}finally{pn(r)}}function yp(e,t,n){if(Ca(t)){const o=t.directiveEnd;for(let r=t.directiveStart;r0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(a)!=l&&a.push(l),a.push(i,o,s)}}function Sp(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Mp(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function d0(e,t,n){if(n){if(t.exportAs)for(let i=0;i0&&Ql(n)}}function Ql(e){for(let i=ol(e);null!==i;i=rl(i))for(let o=10;o0&&Ql(r)}const n=e[1].components;if(null!==n)for(let i=0;i0&&Ql(o)}}function y0(e,t){const n=lt(t,e),i=n[1];(function v0(e,t){for(let n=t.length;n-1&&(ll(t,i),wr(n,i))}this._attachedToViewContainer=!1}nh(this._lView[1],this._lView)}onDestroy(t){Cp(this._lView[1],this._lView,null,t)}markForCheck(){Jl(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){Gr(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 eE(e,t){go(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 C0 extends Co{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Gr(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class nc extends Ln{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Q(t);return new Do(n,this.ngModule)}}function Pp(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class w0{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,i){const o=this.injector.get(t,xl,i);return o!==xl||n===xl?o:this.parentInjector.get(t,n,i)}}class Do extends Vh{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function vb(e){return e.map(yb).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return Pp(this.componentDef.inputs)}get outputs(){return Pp(this.componentDef.outputs)}create(t,n,i,o){let r=(o=o||this.ngModule)instanceof mi?o:o?.injector;r&&null!==this.componentDef.getStandaloneInjector&&(r=this.componentDef.getStandaloneInjector(r)||r);const s=r?new w0(t,r):t,a=s.get(Bh,null);if(null===a)throw new S(407,!1);const l=s.get(eb,null),c=a.createRenderer(null,this.componentDef),u=this.componentDef.selectors[0][0]||"div",d=i?function e0(e,t,n){return e.selectRootElement(t,n===Vt.ShadowDom)}(c,i,this.componentDef.encapsulation):al(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=Zl(0,null,null,1,0,null,null,null,null,null),p=$r(null,h,null,f,null,null,a,c,l,s,null);let g,y;Pa(p);try{const C=function S0(e,t,n,i,o,r){const s=n[1];n[22]=e;const l=wi(s,22,2,"#host",null),c=l.mergedAttrs=t.hostAttrs;null!==c&&(Wr(l,c,!0),null!==e&&(mr(o,e,c),null!==l.classes&&pl(o,e,l.classes),null!==l.styles&&hh(o,e,l.styles)));const u=i.createRenderer(e,t),d=$r(n,vp(t),null,t.onPush?32:16,n[22],l,i,u,r||null,null,null);return s.firstCreatePass&&(Cr(no(l,n),s,t.type),Mp(s,l),Ip(l,n.length,1)),zr(n,d),n[22]=d}(d,this.componentDef,p,a,c);if(d)if(i)mr(c,d,["ng-version",tb.full]);else{const{attrs:b,classes:_}=function Cb(e){const t=[],n=[];let i=1,o=2;for(;i0&&pl(c,d,_.join(" "))}if(y=Sa(h,22),void 0!==n){const b=y.projection=[];for(let _=0;_=0;i--){const o=e[i];o.hostVars=t+=o.hostVars,o.hostAttrs=_r(o.hostAttrs,n=_r(n,o.hostAttrs))}}(i)}function ic(e){return e===Jn?{}:e===q?[]:e}function T0(e,t){const n=e.viewQuery;e.viewQuery=n?(i,o)=>{t(i,o),n(i,o)}:t}function A0(e,t){const n=e.contentQueries;e.contentQueries=n?(i,o,r)=>{t(i,o,r),n(i,o,r)}:t}function F0(e,t){const n=e.hostBindings;e.hostBindings=n?(i,o)=>{t(i,o),n(i,o)}:t}let Yr=null;function jn(){if(!Yr){const e=ne.Symbol;if(e&&e.iterator)Yr=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;na(De(U[i.index])):i.index;let M=null;if(!a&&l&&(M=function U0(e,t,n,i){const o=e.cleanup;if(null!=o)for(let r=0;rl?a[l]:null}"string"==typeof s&&(r+=2)}return null}(e,t,o,i.index)),null!==M)(M.__ngLastListenerFn__||M).__ngNextListenerFn__=r,M.__ngLastListenerFn__=r,h=!1;else{r=Kp(i,t,d,r,!1);const U=n.listen(C,o,r);f.push(r,U),u&&u.push(o,_,b,b+1)}}else r=Kp(i,t,d,r,!1);const p=i.outputs;let g;if(h&&null!==p&&(g=p[o])){const y=g.length;if(y)for(let C=0;C0;)t=t[15],e--;return t}(e,R.lFrame.contextLView))[8]}(e)}function z0(e,t){let n=null;const i=function pb(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 o=0;o=0}const Te={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function lg(e){return e.substring(Te.key,Te.keyEnd)}function cg(e,t){const n=Te.textEnd;return n===t?-1:(t=Te.keyEnd=function K0(e,t,n){for(;t32;)t++;return t}(e,Te.key=t,n),Pi(e,t,n))}function Pi(e,t,n){for(;t=0;n=cg(t,n))ut(e,lg(t),!0)}function Ft(e,t,n,i){const o=v(),r=$(),s=Jt(2);r.firstUpdatePass&&gg(r,e,s,i),t!==k&&Le(o,s,t)&&_g(r,r.data[ze()],o,o[L],e,o[s+1]=function aS(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=te(mn(e)))),e}(t,n),i,s)}function Ot(e,t,n,i){const o=$(),r=Jt(2);o.firstUpdatePass&&gg(o,null,r,i);const s=v();if(n!==k&&Le(s,r,n)){const a=o.data[ze()];if(vg(a,i)&&!pg(o,r)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(n=fa(l,n||"")),rc(o,a,s,n,i)}else!function sS(e,t,n,i,o,r,s,a){o===k&&(o=q);let l=0,c=0,u=0=e.expandoStartIndex}function gg(e,t,n,i){const o=e.data;if(null===o[n+1]){const r=o[ze()],s=pg(e,n);vg(r,i)&&null===t&&!s&&(t=!1),t=function tS(e,t,n,i){const o=function Oa(e){const t=R.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let r=i?t.residualClasses:t.residualStyles;if(null===o)0===(i?t.classBindings:t.styleBindings)&&(n=bo(n=uc(null,e,t,n,i),t.attrs,i),r=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=uc(o,e,t,n,i),null===r){let l=function nS(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0!==on(i))return e[Tt(i)]}(e,t,i);void 0!==l&&Array.isArray(l)&&(l=uc(null,e,t,l[1],i),l=bo(l,t.attrs,i),function iS(e,t,n,i){e[Tt(n?t.classBindings:t.styleBindings)]=i}(e,t,i,l))}else r=function oS(e,t,n){let i;const o=t.directiveEnd;for(let r=1+t.directiveStylingLast;r0)&&(c=!0)}else u=n;if(o)if(0!==l){const f=Tt(e[a+1]);e[i+1]=Br(f,a),0!==f&&(e[f+1]=Nl(e[f+1],i)),e[a+1]=function jb(e,t){return 131071&e|t<<17}(e[a+1],i)}else e[i+1]=Br(a,0),0!==a&&(e[a+1]=Nl(e[a+1],i)),a=i;else e[i+1]=Br(l,0),0===a?a=i:e[l+1]=Nl(e[l+1],i),l=i;c&&(e[i+1]=kl(e[i+1])),ag(e,u,i,!0),ag(e,u,i,!1),function W0(e,t,n,i,o){const r=o?e.residualClasses:e.residualStyles;null!=r&&"string"==typeof t&&fi(r,t)>=0&&(n[i+1]=Vl(n[i+1]))}(t,u,e,i,r),s=Br(a,l),r?t.classBindings=s:t.styleBindings=s}(o,r,t,n,s,i)}}function uc(e,t,n,i,o){let r=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const l=e[o],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let f=n[o+1];f===k&&(f=d?q:void 0);let h=d?Ga(f,i):u===i?f:void 0;if(c&&!es(h)&&(h=Ga(l,i)),es(h)&&(a=h,s))return a;const p=e[o+1];o=s?Tt(p):on(p)}if(null!==t){let l=r?t.residualClasses:t.residualStyles;null!=l&&(a=Ga(l,i))}return a}function es(e){return void 0!==e}function vg(e,t){return 0!=(e.flags&(t?16:32))}function $n(e,t=""){const n=v(),i=$(),o=e+22,r=i.firstCreatePass?wi(i,o,1,t,null):i.data[o],s=n[o]=function sl(e,t){return e.createText(t)}(n[L],t);Fr(i,n,s,r),Lt(r,!1)}function ki(e){return ts("",e,""),ki}function ts(e,t,n){const i=v(),o=Si(i,e,t,n);return o!==k&&function rn(e,t,n){const i=dr(t,e);!function eh(e,t,n){e.setValue(t,n)}(e[L],i,n)}(i,ze(),o),ts}function de(e,t,n){Ot(ut,Wt,Si(v(),e,t,n),!0)}function So(e,t,n,i,o){Ot(ut,Wt,Mi(v(),e,t,n,i,o),!0)}const Vi="en-US";let Hg=Vi;function hc(e,t,n,i,o){if(e=T(e),Array.isArray(e))for(let r=0;r>20;if(Vn(e)||!e.multi){const h=new eo(l,o,m),p=gc(a,t,o?u:u+f,d);-1===p?(Cr(no(c,s),r,a),pc(r,e,t.length),t.push(a),c.directiveStart++,c.directiveEnd++,o&&(c.providerIndexes+=1048576),n.push(h),s.push(h)):(n[p]=h,s[p]=h)}else{const h=gc(a,t,u+f,d),p=gc(a,t,u,u+f),g=h>=0&&n[h],y=p>=0&&n[p];if(o&&!y||!o&&!g){Cr(no(c,s),r,a);const C=function EM(e,t,n,i,o){const r=new eo(e,n,m);return r.multi=[],r.index=t,r.componentProviders=0,fm(r,o,i&&!n),r}(o?wM:DM,n.length,o,i,l);!o&&y&&(n[p].providerFactory=C),pc(r,e,t.length,0),t.push(a),c.directiveStart++,c.directiveEnd++,o&&(c.providerIndexes+=1048576),n.push(C),s.push(C)}else pc(r,e,h>-1?h:p,fm(n[o?p:h],l,!o&&i));!o&&i&&y&&n[p].componentProviders++}}}function pc(e,t,n,i){const o=Vn(t),r=function jE(e){return!!e.useClass}(t);if(o||r){const l=(r?T(t.useClass):t).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&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 fm(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function gc(e,t,n,i){for(let o=n;o{n.providersResolver=(i,o)=>function CM(e,t,n){const i=$();if(i.firstCreatePass){const o=It(e);hc(n,i.data,i.blueprint,o,!0),hc(t,i.data,i.blueprint,o,!1)}}(i,o?o(e):e,t)}}class Li{}class hm extends Li{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new nc(this);const i=function rt(e,t){const n=e[Hd]||null;if(!n&&!0===t)throw new Error(`Type ${te(e)} does not have '\u0275mod' property.`);return n}(t);this._bootstrapComponents=function nn(e){return e instanceof Function?e():e}(i.bootstrap),this._r3Injector=Jh(t,n,[{provide:Li,useValue:this},{provide:Ln,useValue:this.componentFactoryResolver}],te(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 _c extends class bM{}{constructor(t){super(),this.moduleType=t}create(t){return new hm(this.moduleType,t)}}function vc(e){return t=>{setTimeout(e,void 0,t)}}const oe=class eI extends nt{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,i){let o=t,r=n||(()=>null),s=i;if(t&&"object"==typeof t){const l=t;o=l.next?.bind(l),r=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(r=vc(r),o&&(o=vc(o)),s&&(s=vc(s)));const a=super.subscribe({next:o,error:r,complete:s});return t instanceof Ze&&t.add(a),a}};function tI(){return this._results[jn()]()}class Cc{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=jn(),i=Cc.prototype;i[n]||(i[n]=tI)}get changes(){return this._changes||(this._changes=new oe)}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 o=ct(t);(this._changesDetected=!function rw(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i{class e{}return e.__NG_ELEMENT_ID__=oI,e})();const nI=qt,iI=class extends nI{constructor(t,n,i){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=i}createEmbeddedView(t,n){const i=this._declarationTContainer.tViews,o=$r(this._declarationLView,i,t,16,null,i.declTNode,null,null,null,null,n||null);o[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(o[19]=s.createEmbeddedView(i)),Wl(i,o,t),new Co(o)}};function oI(){return ss(Ie(),v())}function ss(e,t){return 4&e.type?new iI(t,e,yi(e,t)):null}let ft=(()=>{class e{}return e.__NG_ELEMENT_ID__=rI,e})();function rI(){return xm(Ie(),v())}const sI=ft,Mm=class extends sI{constructor(t,n,i){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=i}get element(){return yi(this._hostTNode,this._hostLView)}get injector(){return new ai(this._hostTNode,this._hostLView)}get parentInjector(){const t=vr(this._hostTNode,this._hostLView);if(_f(t)){const n=si(t,this._hostLView),i=ri(t);return new ai(n[1].data[i+8],n)}return new ai(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Im(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,i){let o,r;"number"==typeof i?o=i:null!=i&&(o=i.index,r=i.injector);const s=t.createEmbeddedView(n||{},r);return this.insert(s,o),s}createComponent(t,n,i,o,r){const s=t&&!function ro(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const d=n||{};a=d.index,i=d.injector,o=d.projectableNodes,r=d.environmentInjector||d.ngModuleRef}const l=s?t:new Do(Q(t)),c=i||this.parentInjector;if(!r&&null==l.ngModule){const f=(s?c:this.parentInjector).get(mi,null);f&&(r=f)}const u=l.create(c,o,void 0,r);return this.insert(u.hostView,a),u}insert(t,n){const i=t._lView,o=i[1];if(function ID(e){return Mt(e[3])}(i)){const u=this.indexOf(t);if(-1!==u)this.detach(u);else{const d=i[3],f=new Mm(d,d[6],d[3]);f.detach(f.indexOf(t))}}const r=this._adjustIndex(n),s=this._lContainer;!function nE(e,t,n,i){const o=10+i,r=n.length;i>0&&(n[o-1][4]=t),i0)i.push(s[a/2]);else{const c=r[a+1],u=t[-l];for(let d=10;d{class e{constructor(n){this.appInits=n,this.resolve=ls,this.reject=ls,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,o)=>{this.resolve=i,this.reject=o})}runInitializers(){if(this.initialized)return;const n=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o{r.subscribe({complete:a,error:l})});n.push(s)}}Promise.all(n).then(()=>{i()}).catch(o=>{this.reject(o)}),0===n.length&&i(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(w(Qm,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Po=new A("AppId",{providedIn:"root",factory:function Jm(){return`${Rc()}${Rc()}${Rc()}`}});function Rc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const e_=new A("Platform Initializer"),Pc=new A("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),PI=new A("appBootstrapListener"),sn=new A("LocaleId",{providedIn:"root",factory:()=>Sr(sn,F.Optional|F.SkipSelf)||function kI(){return typeof $localize<"u"&&$localize.locale||Vi}()}),jI=(()=>Promise.resolve(0))();function kc(e){typeof Zone>"u"?jI.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class fe{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new oe(!1),this.onMicrotaskEmpty=new oe(!1),this.onStable=new oe(!1),this.onError=new oe(!1),typeof Zone>"u")throw new S(908,!1);Zone.assertZonePatched();const o=this;if(o._nesting=0,o._outer=o._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const r=Zone.AsyncStackTaggingZoneSpec;o._inner=o._inner.fork(new r("Angular"))}Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!i&&n,o.shouldCoalesceRunChangeDetection=i,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function HI(){let e=ne.requestAnimationFrame,t=ne.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 zI(e){const t=()=>{!function UI(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ne,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Vc(e),e.isCheckStableRunning=!0,Nc(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Vc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,o,r,s,a)=>{try{return i_(e),n.invokeTask(o,r,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===r.type||e.shouldCoalesceRunChangeDetection)&&t(),o_(e)}},onInvoke:(n,i,o,r,s,a,l)=>{try{return i_(e),n.invoke(o,r,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),o_(e)}},onHasTask:(n,i,o,r)=>{n.hasTask(o,r),i===o&&("microTask"==r.change?(e._hasPendingMicrotasks=r.microTask,Vc(e),Nc(e)):"macroTask"==r.change&&(e.hasPendingMacrotasks=r.macroTask))},onHandleError:(n,i,o,r)=>(n.handleError(o,r),e.runOutsideAngular(()=>e.onError.emit(r)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!fe.isInAngularZone())throw new S(909,!1)}static assertNotInAngularZone(){if(fe.isInAngularZone())throw new S(909,!1)}run(t,n,i){return this._inner.run(t,n,i)}runTask(t,n,i,o){const r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+o,t,$I,ls,ls);try{return r.runTask(s,n,i)}finally{r.cancelTask(s)}}runGuarded(t,n,i){return this._inner.runGuarded(t,n,i)}runOutsideAngular(t){return this._outer.run(t)}}const $I={};function Nc(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 Vc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function i_(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function o_(e){e._nesting--,Nc(e)}class GI{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new oe,this.onMicrotaskEmpty=new oe,this.onStable=new oe,this.onError=new oe}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,o){return t.apply(n,i)}}const r_=new A(""),us=new A("");let jc,Lc=(()=>{class e{constructor(n,i,o){this._ngZone=n,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,jc||(function WI(e){jc=e}(o),o.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:()=>{fe.assertNotInAngularZone(),kc(()=>{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())kc(()=>{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,o){let r=-1;i&&i>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==r),n(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:n,timeoutId:r,updateCb:o})}whenStable(n,i,o){if(o&&!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,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,i,o){return[]}}return e.\u0275fac=function(n){return new(n||e)(w(fe),w(Bc),w(us))},e.\u0275prov=N({token:e,factory:e.\u0275fac}),e})(),Bc=(()=>{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 jc?.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})(),wn=null;const s_=new A("AllowMultipleToken"),Hc=new A("PlatformDestroyListeners");function l_(e,t,n=[]){const i=`Platform: ${t}`,o=new A(i);return(r=[])=>{let s=$c();if(!s||s.injector.get(s_,!1)){const a=[...n,...r,{provide:o,useValue:!0}];e?e(a):function ZI(e){if(wn&&!wn.get(s_,!1))throw new S(400,!1);wn=e;const t=e.get(u_);(function a_(e){const t=e.get(e_,null);t&&t.forEach(n=>n())})(e)}(function c_(e=[],t){return vt.create({name:t,providers:[{provide:bl,useValue:"platform"},{provide:Hc,useValue:new Set([()=>wn=null])},...e]})}(a,i))}return function KI(e){const t=$c();if(!t)throw new S(401,!1);return t}()}}function $c(){return wn?.get(u_)??null}let u_=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,i){const o=function f_(e,t){let n;return n="noop"===e?new GI:("zone.js"===e?void 0:e)||new fe(t),n}(i?.ngZone,function d_(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(i)),r=[{provide:fe,useValue:o}];return o.run(()=>{const s=vt.create({providers:r,parent:this.injector,name:n.moduleType.name}),a=n.create(s),l=a.injector.get(vi,null);if(!l)throw new S(402,!1);return o.runOutsideAngular(()=>{const c=o.onError.subscribe({next:u=>{l.handleError(u)}});a.onDestroy(()=>{ds(this._modules,a),c.unsubscribe()})}),function h_(e,t,n){try{const i=n();return Qr(i)?i.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):i}catch(i){throw t.runOutsideAngular(()=>e.handleError(i)),i}}(l,o,()=>{const c=a.injector.get(cs);return c.runInitializers(),c.donePromise.then(()=>(function $g(e){ot(e,"Expected localeId to be defined"),"string"==typeof e&&(Hg=e.toLowerCase().replace(/_/g,"-"))}(a.injector.get(sn,Vi)||Vi),this._moduleDoBootstrap(a),a))})})}bootstrapModule(n,i=[]){const o=p_({},i);return function qI(e,t,n){const i=new _c(n);return Promise.resolve(i)}(0,0,n).then(r=>this.bootstrapModuleFactory(r,o))}_moduleDoBootstrap(n){const i=n.injector.get(Yt);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>i.bootstrap(o));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(Hc,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)(w(vt))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function p_(e,t){return Array.isArray(t)?t.reduce(p_,e):{...e,...t}}let Yt=(()=>{class e{constructor(n,i,o){this._zone=n,this._injector=i,this._exceptionHandler=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const r=new Fe(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new Fe(a=>{let l;this._zone.runOutsideAngular(()=>{l=this._zone.onStable.subscribe(()=>{fe.assertNotInAngularZone(),kc(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const c=this._zone.onUnstable.subscribe(()=>{fe.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{l.unsubscribe(),c.unsubscribe()}});this.isStable=ca(r,s.pipe(function QC(e={}){const{connector:t=(()=>new nt),resetOnError:n=!0,resetOnComplete:i=!0,resetOnRefCountZero:o=!0}=e;return r=>{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 Nt((g,y)=>{c++,!d&&!u&&f();const C=l=l??t();y.add(()=>{c--,0===c&&!d&&!u&&(a=ua(p,o))}),C.subscribe(y),!s&&c>0&&(s=new Wi({next:b=>C.next(b),error:b=>{d=!0,f(),a=ua(h,n,b),C.error(b)},complete:()=>{u=!0,f(),a=ua(h,i),C.complete()}}),pt(g).subscribe(s))})(r)}}()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,i){const o=n instanceof Vh;if(!this._injector.get(cs).done)throw!o&&function Yi(e){const t=Q(e)||He(e)||$e(e);return null!==t&&t.standalone}(n),new S(405,false);let s;s=o?n:this._injector.get(Ln).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function YI(e){return e.isBoundToModule}(s)?void 0:this._injector.get(Li),c=s.create(vt.NULL,[],i||s.selector,a),u=c.location.nativeElement,d=c.injector.get(r_,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),ds(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;ds(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(PI,[]).concat(this._bootstrapListeners).forEach(o=>o(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),()=>ds(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)(w(fe),w(mi),w(vi))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function ds(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let m_=!0,ln=(()=>{class e{}return e.__NG_ELEMENT_ID__=ex,e})();function ex(e){return function tx(e,t,n){if(cr(e)&&!n){const i=lt(e.index,t);return new Co(i,i)}return 47&e.type?new Co(t[16],t):null}(Ie(),v(),16==(16&e))}class D_{constructor(){}supports(t){return wo(t)}create(t){return new ax(t)}}const sx=(e,t)=>t;class ax{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||sx}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,i=this._removalsHead,o=0,r=null;for(;n||i;){const s=!i||n&&n.currentIndex{s=this._trackByFn(o,a),null!==n&&Object.is(n.trackById,s)?(i&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,s,o),i=!0),n=n._next,o++}),this.length=o;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,o){let r;return null===t?r=this._itTail:(r=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,r,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(i,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,r,o)):t=this._addAfter(new lx(n,i),r,o),t}_verifyReinsertion(t,n,i,o){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==r?t=this._reinsertAfter(r,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),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 o=t._prevRemoved,r=t._nextRemoved;return null===o?this._removalsHead=r:o._nextRemoved=r,null===r?this._removalsTail=o:r._prevRemoved=o,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 o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new w_),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 w_),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 lx{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 cx{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 w_{constructor(){this.map=new Map}put(t){const n=t.trackById;let i=this.map.get(n);i||(i=new cx,this.map.set(n,i)),i.add(t)}get(t,n){const o=this.map.get(t);return o?o.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 E_(e,t,n){const i=e.previousIndex;if(null===i)return i;let o=0;return n&&i{class e{constructor(n){this.factories=n}static create(n,i){if(null!=i){const o=i.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||S_()),deps:[[e,new Ir,new Mr]]}}find(n){const i=this.factories.find(o=>o.supports(n));if(null!=i)return i;throw new S(901,!1)}}return e.\u0275prov=N({token:e,providedIn:"root",factory:S_}),e})();const px=l_(null,"core",[]);let gx=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(w(Yt))},e.\u0275mod=Ce({type:e}),e.\u0275inj=me({}),e})();let gs=null;function Zt(){return gs}const _e=new A("DocumentToken");let I_=(()=>{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 vx(){return w(x_)}()},providedIn:"platform"}),e})(),x_=(()=>{class e extends I_{constructor(n){super(),this._doc=n,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Zt().getBaseHref(this._doc)}onPopState(n){const i=Zt().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",n,!1),()=>i.removeEventListener("popstate",n)}onHashChange(n){const i=Zt().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,o){T_()?this._history.pushState(n,i,o):this.location.hash=o}replaceState(n,i,o){T_()?this._history.replaceState(n,i,o):this.location.hash=o}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)(w(_e))},e.\u0275prov=N({token:e,factory:function(){return function Cx(){return new x_(w(_e))}()},providedIn:"platform"}),e})();function T_(){return!!window.history.pushState}function A_(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 F_(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 Gn(e){return e&&"?"!==e[0]?"?"+e:e}let Yc=(()=>{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 Sr(wx)},providedIn:"root"}),e})();const Dx=new A("appBaseHref");let wx=(()=>{class e extends Yc{constructor(n,i){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??Sr(_e).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 A_(this._baseHref,n)}path(n=!1){const i=this._platformLocation.pathname+Gn(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${i}${o}`:i}pushState(n,i,o,r){const s=this.prepareExternalUrl(o+Gn(r));this._platformLocation.pushState(n,i,s)}replaceState(n,i,o,r){const s=this.prepareExternalUrl(o+Gn(r));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)(w(I_),w(Dx,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),O_=(()=>{class e{constructor(n){this._subject=new oe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;const i=this._locationStrategy.getBaseHref();this._baseHref=F_(R_(i)),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.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+Gn(i))}normalize(n){return e.stripTrailingSlash(function bx(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,R_(n)))}prepareExternalUrl(n){return n&&"/"!==n[0]&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,i="",o=null){this._locationStrategy.pushState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Gn(i)),o)}replaceState(n,i="",o=null){this._locationStrategy.replaceState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Gn(i)),o)}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(o=>o(n,i))}subscribe(n,i,o){return this._subject.subscribe({next:n,error:i,complete:o})}}return e.normalizeQueryParams=Gn,e.joinWithSlash=A_,e.stripTrailingSlash=F_,e.\u0275fac=function(n){return new(n||e)(w(Yc))},e.\u0275prov=N({token:e,factory:function(){return function Ex(){return new O_(w(Yc))}()},providedIn:"root"}),e})();function R_(e){return e.replace(/\/index.html$/,"")}class cT{constructor(t,n,i,o){this.$implicit=t,this.ngForOf=n,this.index=i,this.count=o}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 ou=(()=>{class e{constructor(n,i,o){this._viewContainer=n,this._template=i,this._differs=o,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((o,r,s)=>{if(null==o.previousIndex)i.createEmbeddedView(this._template,new cT(o.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)i.remove(null===r?void 0:r);else if(null!==r){const a=i.get(r);i.move(a,s),z_(a,o)}});for(let o=0,r=i.length;o{z_(i.get(o.currentIndex),o)})}static ngTemplateContextGuard(n,i){return!0}}return e.\u0275fac=function(n){return new(n||e)(m(ft),m(qt),m(ps))},e.\u0275dir=O({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),e})();function z_(e,t){e.context.$implicit=t.item}let ru=(()=>{class e{constructor(n,i){this._viewContainer=n,this._context=new dT,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){G_("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){G_("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)(m(ft),m(qt))},e.\u0275dir=O({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),e})();class dT{constructor(){this.$implicit=null,this.ngIf=null}}function G_(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${te(t)}'.`)}let En=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ce({type:e}),e.\u0275inj=me({}),e})();const Z_="browser";class fu extends class gA extends class yx{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function _x(e){gs||(gs=e)}(new fu)}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 mA(){return Bo=Bo||document.querySelector("base"),Bo?Bo.getAttribute("href"):null}();return null==n?null:function _A(e){Is=Is||document.createElement("a"),Is.setAttribute("href",e);const t=Is.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){Bo=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function aT(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const i=n.indexOf("="),[o,r]=-1==i?[n,""]:[n.slice(0,i),n.slice(i+1)];if(o.trim()===t)return decodeURIComponent(r)}return null}(document.cookie,t)}}let Is,Bo=null;const ty=new A("TRANSITION_ID"),vA=[{provide:Qm,useFactory:function yA(e,t,n){return()=>{n.get(cs).donePromise.then(()=>{const i=Zt(),o=t.querySelectorAll(`style[ng-transition="${e}"]`);for(let r=0;r{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 xs=new A("EventManagerPlugins");let Ts=(()=>{class e{constructor(n,i){this._zone=i,this._eventNameToPlugin=new Map,n.forEach(o=>o.manager=this),this._plugins=n.slice().reverse()}addEventListener(n,i,o){return this._findPluginFor(i).addEventListener(n,i,o)}addGlobalEventListener(n,i,o){return this._findPluginFor(i).addGlobalEventListener(n,i,o)}getZone(){return this._zone}_findPluginFor(n){const i=this._eventNameToPlugin.get(n);if(i)return i;const o=this._plugins;for(let r=0;r{class e{constructor(){this._stylesSet=new Set}addStyles(n){const i=new Set;n.forEach(o=>{this._stylesSet.has(o)||(this._stylesSet.add(o),i.add(o))}),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})(),jo=(()=>{class e extends iy{constructor(n){super(),this._doc=n,this._hostNodes=new Map,this._hostNodes.set(n.head,[])}_addStylesToHost(n,i,o){n.forEach(r=>{const s=this._doc.createElement("style");s.textContent=r,o.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(oy),this._hostNodes.delete(n)}onStylesAdded(n){this._hostNodes.forEach((i,o)=>{this._addStylesToHost(n,o,i)})}ngOnDestroy(){this._hostNodes.forEach(n=>n.forEach(oy))}}return e.\u0275fac=function(n){return new(n||e)(w(_e))},e.\u0275prov=N({token:e,factory:e.\u0275fac}),e})();function oy(e){Zt().remove(e)}const hu={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/"},pu=/%COMP%/g;function As(e,t,n){for(let i=0;i{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let gu=(()=>{class e{constructor(n,i,o){this.eventManager=n,this.sharedStylesHost=i,this.appId=o,this.rendererByCompId=new Map,this.defaultRenderer=new mu(n)}createRenderer(n,i){if(!n||!i)return this.defaultRenderer;switch(i.encapsulation){case Vt.Emulated:{let o=this.rendererByCompId.get(i.id);return o||(o=new IA(this.eventManager,this.sharedStylesHost,i,this.appId),this.rendererByCompId.set(i.id,o)),o.applyToHost(n),o}case 1:case Vt.ShadowDom:return new xA(this.eventManager,this.sharedStylesHost,n,i);default:if(!this.rendererByCompId.has(i.id)){const o=As(i.id,i.styles,[]);this.sharedStylesHost.addStyles(o),this.rendererByCompId.set(i.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(n){return new(n||e)(w(Ts),w(jo),w(Po))},e.\u0275prov=N({token:e,factory:e.\u0275fac}),e})();class mu{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?document.createElementNS(hu[n]||n,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,n){(cy(t)?t.content:t).appendChild(n)}insertBefore(t,n,i){t&&(cy(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,o){if(o){n=o+":"+n;const r=hu[o];r?t.setAttributeNS(r,n,i):t.setAttribute(n,i)}else t.setAttribute(n,i)}removeAttribute(t,n,i){if(i){const o=hu[i];o?t.removeAttributeNS(o,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,o){o&(Qe.DashCase|Qe.Important)?t.style.setProperty(n,i,o&Qe.Important?"important":""):t.style[n]=i}removeStyle(t,n,i){i&Qe.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,i){t[n]=i}setValue(t,n){t.nodeValue=n}listen(t,n,i){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,n,ay(i)):this.eventManager.addEventListener(t,n,ay(i))}}function cy(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class IA extends mu{constructor(t,n,i,o){super(t),this.component=i;const r=As(o+"-"+i.id,i.styles,[]);n.addStyles(r),this.contentAttr=function bA(e){return"_ngcontent-%COMP%".replace(pu,e)}(o+"-"+i.id),this.hostAttr=function SA(e){return"_nghost-%COMP%".replace(pu,e)}(o+"-"+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 xA extends mu{constructor(t,n,i,o){super(t),this.sharedStylesHost=n,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const r=As(o.id,o.styles,[]);for(let s=0;s{class e extends ny{constructor(n){super(n)}supports(n){return!0}addEventListener(n,i,o){return n.addEventListener(i,o,!1),()=>this.removeEventListener(n,i,o)}removeEventListener(n,i,o){return n.removeEventListener(i,o)}}return e.\u0275fac=function(n){return new(n||e)(w(_e))},e.\u0275prov=N({token:e,factory:e.\u0275fac}),e})();const uy=["alt","control","meta","shift"],AA={"\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"},FA={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let OA=(()=>{class e extends ny{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,i,o){const r=e.parseEventName(i),s=e.eventCallback(r.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Zt().onAndCancel(n,r.domEventName,s))}static parseEventName(n){const i=n.toLowerCase().split("."),o=i.shift();if(0===i.length||"keydown"!==o&&"keyup"!==o)return null;const r=e._normalizeKey(i.pop());let s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),uy.forEach(c=>{const u=i.indexOf(c);u>-1&&(i.splice(u,1),s+=c+".")}),s+=r,0!=i.length||0===r.length)return null;const l={};return l.domEventName=o,l.fullKey=s,l}static matchEventFullKeyCode(n,i){let o=AA[n.key]||n.key,r="";return i.indexOf("code.")>-1&&(o=n.code,r="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),uy.forEach(s=>{s!==o&&(0,FA[s])(n)&&(r+=s+".")}),r+=o,r===i)}static eventCallback(n,i,o){return r=>{e.matchEventFullKeyCode(r,n)&&o.runGuarded(()=>i(r))}}static _normalizeKey(n){return"esc"===n?"escape":n}}return e.\u0275fac=function(n){return new(n||e)(w(_e))},e.\u0275prov=N({token:e,factory:e.\u0275fac}),e})();const NA=l_(px,"browser",[{provide:Pc,useValue:Z_},{provide:e_,useValue:function RA(){fu.makeCurrent()},multi:!0},{provide:_e,useFactory:function kA(){return function pE(e){ml=e}(document),document},deps:[]}]),hy=new A(""),py=[{provide:us,useClass:class CA{addToWindow(t){ne.getAngularTestability=(i,o=!0)=>{const r=t.findTestabilityInTree(i,o);if(null==r)throw new Error("Could not find testability for element.");return r},ne.getAllAngularTestabilities=()=>t.getAllTestabilities(),ne.getAllAngularRootElements=()=>t.getAllRootElements(),ne.frameworkStabilizers||(ne.frameworkStabilizers=[]),ne.frameworkStabilizers.push(i=>{const o=ne.getAllAngularTestabilities();let r=o.length,s=!1;const a=function(l){s=s||l,r--,0==r&&i(s)};o.forEach(function(l){l.whenStable(a)})})}findTestabilityInTree(t,n,i){return null==n?null:t.getTestability(n)??(i?Zt().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:r_,useClass:Lc,deps:[fe,Bc,us]},{provide:Lc,useClass:Lc,deps:[fe,Bc,us]}],gy=[{provide:bl,useValue:"root"},{provide:vi,useFactory:function PA(){return new vi},deps:[]},{provide:xs,useClass:TA,multi:!0,deps:[_e,fe,Pc]},{provide:xs,useClass:OA,multi:!0,deps:[_e]},{provide:gu,useClass:gu,deps:[Ts,jo,Po]},{provide:Bh,useExisting:gu},{provide:iy,useExisting:jo},{provide:jo,useClass:jo,deps:[_e]},{provide:Ts,useClass:Ts,deps:[xs,fe]},{provide:class $T{},useClass:DA,deps:[]},[]];let VA=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:Po,useValue:n.appId},{provide:ty,useExisting:Po},vA]}}}return e.\u0275fac=function(n){return new(n||e)(w(hy,12))},e.\u0275mod=Ce({type:e}),e.\u0275inj=me({providers:[...gy,...py],imports:[En,gx]}),e})();function yy(e){return Array.isArray(e)?e:[e]}function Me(e){return null==e?"":"string"==typeof e?e:`${e}px`}typeof window<"u"&&window;const{isArray:XA}=Array;function vy(e){return Qn(t=>function KA(e,t){return XA(t)?e(...t):e(t)}(e,t))}const QA=["addListener","removeListener"],JA=["addEventListener","removeEventListener"],eF=["on","off"];function vu(e,t,n,i){if(Y(n)&&(i=n,n=void 0),i)return vu(e,t,n).pipe(vy(i));const[o,r]=function iF(e){return Y(e.addEventListener)&&Y(e.removeEventListener)}(e)?JA.map(s=>a=>e[s](t,a,n)):function tF(e){return Y(e.addListener)&&Y(e.removeListener)}(e)?QA.map(Cy(e,t)):function nF(e){return Y(e.on)&&Y(e.off)}(e)?eF.map(Cy(e,t)):[];if(!o&&oa(e))return ra(s=>vu(s,t,n))(pt(e));if(!o)throw new TypeError("Invalid event target");return new Fe(s=>{const a=(...l)=>s.next(1r(a)})}function Cy(e,t){return n=>i=>e[n](t,i)}class oF extends Ze{constructor(t,n){super()}schedule(t,n=0){return this}}const Fs={setInterval(e,t,...n){const{delegate:i}=Fs;return i?.setInterval?i.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){const{delegate:t}=Fs;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};class Cu extends oF{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 o=this.id,r=this.scheduler;return null!=o&&(this.id=this.recycleAsyncId(r,o,n)),this.pending=!0,this.delay=n,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(r,this.id,n),this}requestAsyncId(t,n,i=0){return Fs.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&&Fs.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 o,i=!1;try{this.work(t)}catch(r){i=!0,o=r||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){const{id:t,scheduler:n}=this,{actions:i}=n;this.work=this.state=this.scheduler=null,this.pending=!1,Kn(i,this),null!=t&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}}const Ho={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame;const{delegate:i}=Ho;i&&(t=i.requestAnimationFrame,n=i.cancelAnimationFrame);const o=t(r=>{n=void 0,e(r)});return new Ze(()=>n?.(o))},requestAnimationFrame(...e){const{delegate:t}=Ho;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){const{delegate:t}=Ho;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0},Du={now:()=>(Du.delegate||Date).now(),delegate:void 0};class $o{constructor(t,n=$o.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,i){return new this.schedulerActionCtor(this,t).schedule(i,n)}}$o.now=Du.now;class wu extends $o{constructor(t,n=$o.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 sF extends wu{flush(t){this._active=!0;const n=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let o;t=t||i.shift();do{if(o=t.execute(t.state,t.delay))break}while((t=i[0])&&t.id===n&&i.shift());if(this._active=!1,o){for(;(t=i[0])&&t.id===n&&i.shift();)t.unsubscribe();throw o}}}(class rF extends Cu{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=Ho.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,n,i=0){var o;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(t,n,i);const{actions:r}=t;null!=n&&(null===(o=r[r.length-1])||void 0===o?void 0:o.id)!==n&&(Ho.cancelAnimationFrame(n),t._scheduled=void 0)}});let Eu,lF=1;const Os={};function Dy(e){return e in Os&&(delete Os[e],!0)}const cF={setImmediate(e){const t=lF++;return Os[t]=!0,Eu||(Eu=Promise.resolve()),Eu.then(()=>Dy(t)&&e()),t},clearImmediate(e){Dy(e)}},{setImmediate:uF,clearImmediate:dF}=cF,Rs={setImmediate(...e){const{delegate:t}=Rs;return(t?.setImmediate||uF)(...e)},clearImmediate(e){const{delegate:t}=Rs;return(t?.clearImmediate||dF)(e)},delegate:void 0},wy=(new class hF extends wu{flush(t){this._active=!0;const n=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let o;t=t||i.shift();do{if(o=t.execute(t.state,t.delay))break}while((t=i[0])&&t.id===n&&i.shift());if(this._active=!1,o){for(;(t=i[0])&&t.id===n&&i.shift();)t.unsubscribe();throw o}}}(class fF extends Cu{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=Rs.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,n,i=0){var o;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(t,n,i);const{actions:r}=t;null!=n&&(null===(o=r[r.length-1])||void 0===o?void 0:o.id)!==n&&(Rs.clearImmediate(n),t._scheduled=void 0)}}),new wu(Cu)),gF=wy;function Ey(e,t=wy){return function mF(e){return Nt((t,n)=>{let i=!1,o=null,r=null,s=!1;const a=()=>{if(r?.unsubscribe(),r=null,i){i=!1;const c=o;o=null,n.next(c)}s&&n.complete()},l=()=>{r=null,s&&n.complete()};t.subscribe(ht(n,c=>{i=!0,o=c,r||pt(e(c)).subscribe(r=ht(n,a,l))},()=>{s=!0,(!i||!r||r.closed)&&n.complete()}))})}(()=>function yF(e=0,t,n=gF){let i=-1;return null!=t&&(Od(t)?n=t:i=t),new Fe(o=>{let r=function _F(e){return e instanceof Date&&!isNaN(e)}(e)?+e-n.now():e;r<0&&(r=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=i?this.schedule(void 0,i):o.complete())},r)})}(e,t))}function Ps(e,t){return Nt((n,i)=>{let o=0;n.subscribe(ht(i,r=>e.call(t,r,o++)&&i.next(r)))})}let bu;try{bu=typeof Intl<"u"&&Intl.v8BreakIterator}catch{bu=!1}let Wn,Ui=(()=>{class e{constructor(n){this._platformId=n,this.isBrowser=this._platformId?function jT(e){return e===Z_}(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!bu)&&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)(w(Pc))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function CF(){if(null==Wn){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Wn=!1,Wn;if("scrollBehavior"in document.documentElement.style)Wn=!0;else{const e=Element.prototype.scrollTo;Wn=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return Wn}function Sy(e){return e.composedPath?e.composedPath()[0]:e.target}function My(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}const wF=new A("cdk-dir-doc",{providedIn:"root",factory:function EF(){return Sr(_e)}}),bF=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let MF=(()=>{class e{constructor(n){if(this.value="ltr",this.change=new oe,n){const o=n.documentElement?n.documentElement.dir:null;this.value=function SF(e){const t=e?.toLowerCase()||"";return"auto"===t&&typeof navigator<"u"&&navigator?.language?bF.test(navigator.language)?"rtl":"ltr":"rtl"===t?"rtl":"ltr"}((n.body?n.body.dir:null)||o||"ltr")}}ngOnDestroy(){this.change.complete()}}return e.\u0275fac=function(n){return new(n||e)(w(wF,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Mu=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ce({type:e}),e.\u0275inj=me({}),e})(),xF=(()=>{class e{constructor(n,i,o){this._ngZone=n,this._platform=i,this._scrolled=new nt,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}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 Fe(i=>{this._globalSubscription||this._addGlobalListener();const o=n>0?this._scrolled.pipe(Ey(n)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):function ZA(...e){return la(e,Rd(e))}()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((n,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(n,i){const o=this.getAncestorScrollContainers(n);return this.scrolled(i).pipe(Ps(r=>!r||o.indexOf(r)>-1))}getAncestorScrollContainers(n){const i=[];return this.scrollContainers.forEach((o,r)=>{this._scrollableContainsElement(r,n)&&i.push(r)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(n,i){let o=function YA(e){return e instanceof Ee?e.nativeElement:e}(i),r=n.getElementRef().nativeElement;do{if(o==r)return!0}while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>vu(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)(w(fe),w(Ui),w(_e,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Iy=(()=>{class e{constructor(n,i,o){this._platform=n,this._change=new nt,this._changeListener=r=>{this._change.next(r)},this._document=o,i.runOutsideAngular(()=>{if(n.isBrowser){const r=this._getWindow();r.addEventListener("resize",this._changeListener),r.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const 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:o}=this.getViewportSize();return{top:n.top,left:n.left,bottom:n.top+o,right:n.left+i,height:o,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const n=this._document,i=this._getWindow(),o=n.documentElement,r=o.getBoundingClientRect();return{top:-r.top||n.body.scrollTop||i.scrollY||o.scrollTop||0,left:-r.left||n.body.scrollLeft||i.scrollX||o.scrollLeft||0}}change(n=20){return n>0?this._change.pipe(Ey(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)(w(Ui),w(fe),w(_e,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),xy=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ce({type:e}),e.\u0275inj=me({}),e})(),Ty=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ce({type:e}),e.\u0275inj=me({imports:[[Mu,xy],Mu,xy]}),e})();class Iu{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 AF extends Iu{constructor(t,n,i,o){super(),this.component=t,this.viewContainerRef=n,this.injector=i,this.componentFactoryResolver=o}}class xu extends Iu{constructor(t,n,i){super(),this.templateRef=t,this.viewContainerRef=n,this.context=i}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 FF extends Iu{constructor(t){super(),this.element=t instanceof Ee?t.nativeElement:t}}class RF extends class OF{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof AF?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof xu?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof FF?(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,o,r){super(),this.outletElement=t,this._componentFactoryResolver=n,this._appRef=i,this._defaultInjector=o,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=r}attachComponentPortal(t){const i=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let o;return t.viewContainerRef?(o=t.viewContainerRef.createComponent(i,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(()=>o.destroy())):(o=i.create(t.injector||this._defaultInjector||vt.NULL),this._appRef.attachView(o.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(o.hostView),o.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(o)),this._attachedPortal=t,o}attachTemplatePortal(t){let n=t.viewContainerRef,i=n.createEmbeddedView(t.templateRef,t.context);return i.rootNodes.forEach(o=>this.outletElement.appendChild(o)),i.detectChanges(),this.setDisposeFn(()=>{let o=n.indexOf(i);-1!==o&&n.remove(o)}),this._attachedPortal=t,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let Ay=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ce({type:e}),e.\u0275inj=me({}),e})();const Fy=CF();class NF{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=Me(-this._previousScrollPosition.left),t.style.top=Me(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,i=t.style,o=this._document.body.style,r=i.scrollBehavior||"",s=o.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),Fy&&(i.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Fy&&(i.scrollBehavior=r,o.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 VF{constructor(t,n,i,o){this._scrollDispatcher=t,this._ngZone=n,this._viewportRuler=i,this._config=o,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 Oy{enable(){}disable(){}attach(){}}function Tu(e,t){return t.some(n=>e.bottomn.bottom||e.rightn.right)}function Ry(e,t){return t.some(n=>e.topn.bottom||e.leftn.right)}class LF{constructor(t,n,i,o){this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=i,this._config=o,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:o}=this._viewportRuler.getViewportSize();Tu(n,[{width:i,height:o,bottom:o,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 BF=(()=>{class e{constructor(n,i,o,r){this._scrollDispatcher=n,this._viewportRuler=i,this._ngZone=o,this.noop=()=>new Oy,this.close=s=>new VF(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new NF(this._viewportRuler,this._document),this.reposition=s=>new LF(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=r}}return e.\u0275fac=function(n){return new(n||e)(w(xF),w(Iy),w(fe),w(_e))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class Au{constructor(t){if(this.scrollStrategy=new Oy,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const n=Object.keys(t);for(const i of n)void 0!==t[i]&&(this[i]=t[i])}}}class et{constructor(t,n,i,o,r){this.offsetX=i,this.offsetY=o,this.panelClass=r,this.originX=t.originX,this.originY=t.originY,this.overlayX=n.overlayX,this.overlayY=n.overlayY}}class jF{constructor(t,n){this.connectionPair=t,this.scrollableViewProperties=n}}let Py=(()=>{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)(w(_e))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),HF=(()=>{class e extends Py{constructor(n,i){super(n),this._ngZone=i,this._keydownListener=o=>{const r=this._attachedOverlays;for(let s=r.length-1;s>-1;s--)if(r[s]._keydownEvents.observers.length>0){const a=r[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>a.next(o)):a.next(o);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)(w(_e),w(fe,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),$F=(()=>{class e extends Py{constructor(n,i,o){super(n),this._platform=i,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=r=>{this._pointerDownEventTarget=Sy(r)},this._clickListener=r=>{const s=Sy(r),a="click"===r.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(r)):d.next(r)}}}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)(w(_e),w(Ui),w(fe,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),ky=(()=>{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||My()){const o=this._document.querySelectorAll(`.${n}[platform="server"], .${n}[platform="test"]`);for(let r=0;rthis._backdropClick.next(u),this._backdropTransitionendHandler=u=>{this._disposeBackdrop(u.target)},this._keydownEvents=new nt,this._outsidePointerEvents=new nt,o.scrollStrategy&&(this._scrollStrategy=o.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=o.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 PF(e){return e<=0?()=>sa:Nt((t,n)=>{let i=0;t.subscribe(ht(n,o=>{++i<=e&&(n.next(o),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),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=Me(this._config.width),t.height=Me(this._config.height),t.minWidth=Me(this._config.minWidth),t.minHeight=Me(this._config.minHeight),t.maxWidth=Me(this._config.maxWidth),t.maxHeight=Me(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._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),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;!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 o=yy(n||[]).filter(r=>!!r);o.length&&(i?t.classList.add(...o):t.classList.remove(...o))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe(function kF(e){return Nt((t,n)=>{pt(e).subscribe(ht(n,()=>n.complete(),Ys)),!n.closed&&t.subscribe(n)})}(ca(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 Ny="cdk-overlay-connected-position-bounding-box",zF=/([A-Za-z%]+)$/;class GF{constructor(t,n,i,o,r){this._viewportRuler=n,this._document=i,this._platform=o,this._overlayContainer=r,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 nt,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(Ny),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,o=this._containerRect,r=[];let s;for(let a of this._preferredPositions){let l=this._getOriginPoint(t,o,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)?r.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&&qn(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Ny),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 o,r;if("center"==i.originX)o=t.left+t.width/2;else{const s=this._isRtl()?t.right:t.left,a=this._isRtl()?t.left:t.right;o="start"==i.originX?s:a}return n.left<0&&(o-=n.left),r="center"==i.originY?t.top+t.height/2:"top"==i.originY?t.top:t.bottom,n.top<0&&(r-=n.top),{x:o,y:r}}_getOverlayPoint(t,n,i){let o,r;return o="center"==i.overlayX?-n.width/2:"start"===i.overlayX?this._isRtl()?-n.width:0:this._isRtl()?0:-n.width,r="center"==i.overlayY?-n.height/2:"top"==i.overlayY?0:-n.height,{x:t.x+o,y:t.y+r}}_getOverlayFit(t,n,i,o){const r=Ly(n);let{x:s,y:a}=t,l=this._getOffset(o,"x"),c=this._getOffset(o,"y");l&&(s+=l),c&&(a+=c);let f=0-a,h=a+r.height-i.height,p=this._subtractOverflows(r.width,0-s,s+r.width-i.width),g=this._subtractOverflows(r.height,f,h),y=p*g;return{visibleArea:y,isCompletelyWithinViewport:r.width*r.height===y,fitsInViewportVertically:g===r.height,fitsInViewportHorizontally:p==r.width}}_canFitWithFlexibleDimensions(t,n,i){if(this._hasFlexibleDimensions){const o=i.bottom-n.y,r=i.right-n.x,s=Vy(this._overlayRef.getConfig().minHeight),a=Vy(this._overlayRef.getConfig().minWidth),c=t.fitsInViewportHorizontally||null!=a&&a<=r;return(t.fitsInViewportVertically||null!=s&&s<=o)&&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 o=Ly(n),r=this._viewportRect,s=Math.max(t.x+o.width-r.width,0),a=Math.max(t.y+o.height-r.height,0),l=Math.max(r.top-i.top-t.y,0),c=Math.max(r.left-i.left-t.x,0);let u=0,d=0;return u=o.width<=r.width?c||-s:t.xp&&!this._isInitialRender&&!this._growAfterOpen&&(s=t.y-p/2)}if("end"===n.overlayX&&!o||"start"===n.overlayX&&o)f=i.width-t.x+this._viewportMargin,u=t.x-this._viewportMargin;else if("start"===n.overlayX&&!o||"end"===n.overlayX&&o)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:r}}_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 o={};if(this._hasExactPosition())o.top=o.left="0",o.bottom=o.right=o.maxHeight=o.maxWidth="",o.width=o.height="100%";else{const r=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;o.height=Me(i.height),o.top=Me(i.top),o.bottom=Me(i.bottom),o.width=Me(i.width),o.left=Me(i.left),o.right=Me(i.right),o.alignItems="center"===n.overlayX?"center":"end"===n.overlayX?"flex-end":"flex-start",o.justifyContent="center"===n.overlayY?"center":"bottom"===n.overlayY?"flex-end":"flex-start",r&&(o.maxHeight=Me(r)),s&&(o.maxWidth=Me(s))}this._lastBoundingBoxSize=i,qn(this._boundingBox.style,o)}_resetBoundingBoxStyles(){qn(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){qn(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,n){const i={},o=this._hasExactPosition(),r=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(o){const u=this._viewportRuler.getViewportScrollPosition();qn(i,this._getExactOverlayY(n,t,u)),qn(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&&(o?i.maxHeight=Me(s.maxHeight):r&&(i.maxHeight="")),s.maxWidth&&(o?i.maxWidth=Me(s.maxWidth):r&&(i.maxWidth="")),qn(this._pane.style,i)}_getExactOverlayY(t,n,i){let o={top:"",bottom:""},r=this._getOverlayPoint(n,this._overlayRect,t);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,i)),"bottom"===t.overlayY?o.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":o.top=Me(r.y),o}_getExactOverlayX(t,n,i){let s,o={left:"",right:""},r=this._getOverlayPoint(n,this._overlayRect,t);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,i)),s=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===s?o.right=this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)+"px":o.left=Me(r.x),o}_getScrollVisibility(){const t=this._getOriginRect(),n=this._pane.getBoundingClientRect(),i=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Ry(t,i),isOriginOutsideView:Tu(t,i),isOverlayClipped:Ry(n,i),isOverlayOutsideView:Tu(n,i)}}_subtractOverflows(t,...n){return n.reduce((i,o)=>i-Math.max(o,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&&yy(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 Ee)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 qn(e,t){for(let n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function Vy(e){if("number"!=typeof e&&null!=e){const[t,n]=e.split(zF);return n&&"px"!==n?null:parseFloat(t)}return e||null}function Ly(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 By="cdk-global-overlay-wrapper";class WF{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}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(By),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._rightOffset="",this._leftOffset=t,this._justifyContent="flex-start",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._leftOffset="",this._rightOffset=t,this._justifyContent="flex-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._justifyContent="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:o,height:r,maxWidth:s,maxHeight:a}=i,l=!("100%"!==o&&"100vw"!==o||s&&"100%"!==s&&"100vw"!==s),c=!("100%"!==r&&"100vh"!==r||a&&"100%"!==a&&"100vh"!==a);t.position=this._cssPosition,t.marginLeft=l?"0":this._leftOffset,t.marginTop=c?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=this._rightOffset,l?n.justifyContent="flex-start":"center"===this._justifyContent?n.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?n.justifyContent="flex-end":"flex-end"===this._justifyContent&&(n.justifyContent="flex-start"):n.justifyContent=this._justifyContent,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(By),i.justifyContent=i.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let qF=(()=>{class e{constructor(n,i,o,r){this._viewportRuler=n,this._document=i,this._platform=o,this._overlayContainer=r}global(){return new WF}flexibleConnectedTo(n){return new GF(n,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return e.\u0275fac=function(n){return new(n||e)(w(Iy),w(_e),w(Ui),w(ky))},e.\u0275prov=N({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),YF=0,Ns=(()=>{class e{constructor(n,i,o,r,s,a,l,c,u,d,f){this.scrollStrategies=n,this._overlayContainer=i,this._componentFactoryResolver=o,this._positionBuilder=r,this._keyboardDispatcher=s,this._injector=a,this._ngZone=l,this._document=c,this._directionality=u,this._location=d,this._outsideClickDispatcher=f}create(n){const i=this._createHostElement(),o=this._createPaneElement(i),r=this._createPortalOutlet(o),s=new Au(n);return s.direction=s.direction||this._directionality.value,new UF(r,i,o,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(n){const i=this._document.createElement("div");return i.id="cdk-overlay-"+YF++,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(Yt)),new RF(n,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return e.\u0275fac=function(n){return new(n||e)(w(BF),w(ky),w(Ln),w(qF),w(HF),w(vt),w(fe),w(_e),w(MF),w(O_),w($F))},e.\u0275prov=N({token:e,factory:e.\u0275fac}),e})();const KF={provide:new A("cdk-connected-overlay-scroll-strategy"),deps:[Ns],useFactory:function XF(e){return()=>e.scrollStrategies.reposition()}};let jy=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ce({type:e}),e.\u0275inj=me({providers:[Ns,KF],imports:[[Mu,Ay,Ty],Ty]}),e})();class Vs extends nt{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 Fu=new A("SPRITE_URL"),QF={provide:Fu,useValue:"/assets/sprite.svg"};let Ou=(()=>{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)(m(Fu),m(Ee))},e.\u0275cmp=Pe({type:e,selectors:[["eui-svg-icon"]],inputs:{size:"size",icon:"icon"},decls:2,vars:5,template:function(n,i){1&n&&(function ff(){R.lFrame.currentNamespace="svg"}(),X(0,"svg"),vn(1,"use"),J()),2&n&&(lc("height",i.size,"px")("width",i.size,"px"),G(1),At("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})(),Ru=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ce({type:e}),e.\u0275inj=me({providers:[QF],imports:[En]}),e})();const{isArray:JF}=Array,{getPrototypeOf:e1,prototype:t1,keys:n1}=Object;function r1(e,t){return e.reduce((n,i,o)=>(n[i]=t[o],n),{})}function s1(...e){const t=function zC(e){return Y(aa(e))?e.pop():void 0}(e),{args:n,keys:i}=function i1(e){if(1===e.length){const t=e[0];if(JF(t))return{args:t,keys:null};if(function o1(e){return e&&"object"==typeof e&&e1(e)===t1}(t)){const n=n1(t);return{args:n.map(i=>t[i]),keys:n}}}return{args:e,keys:null}}(e),o=new Fe(r=>{const{length:s}=n;if(!s)return void r.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||r.next(i?r1(i,a):a),r.complete())}))}});return t?o.pipe(vy(t)):o}let Hy=(()=>{class e{constructor(n,i){this._renderer=n,this._elementRef=i,this.onChange=o=>{},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)(m(Bn),m(Ee))},e.\u0275dir=O({type:e}),e})(),Yn=(()=>{class e extends Hy{}return e.\u0275fac=function(){let t;return function(i){return(t||(t=function Re(e){return fn(()=>{const t=e.prototype.constructor,n=t[Kt]||Ha(t),i=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==i;){const r=o[Kt]||Ha(o);if(r&&r!==n)return r;o=Object.getPrototypeOf(o)}return r=>new r})}(e)))(i||e)}}(),e.\u0275dir=O({type:e,features:[j]}),e})();const Be=new A("NgValueAccessor"),l1={provide:Be,useExisting:z(()=>Pu),multi:!0},u1=new A("CompositionEventMode");let Pu=(()=>{class e extends Hy{constructor(n,i,o){super(n,i),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function c1(){const e=Zt()?Zt().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)(m(Bn),m(Ee),m(u1,8))},e.\u0275dir=O({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(n,i){1&n&&ue("input",function(r){return i._handleInput(r.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(r){return i._compositionEnd(r.target.value)})},features:[K([l1]),j]}),e})();const je=new A("NgValidators"),Mn=new A("NgAsyncValidators");function Qy(e){return null!=e}function Jy(e){return Qr(e)?la(e):e}function ev(e){let t={};return e.forEach(n=>{t=null!=n?{...t,...n}:t}),0===Object.keys(t).length?null:t}function tv(e,t){return t.map(n=>n(e))}function nv(e){return e.map(t=>function h1(e){return!e.validate}(t)?t:n=>t.validate(n))}function ku(e){return null!=e?function iv(e){if(!e)return null;const t=e.filter(Qy);return 0==t.length?null:function(n){return ev(tv(n,t))}}(nv(e)):null}function Nu(e){return null!=e?function ov(e){if(!e)return null;const t=e.filter(Qy);return 0==t.length?null:function(n){return s1(tv(n,t).map(Jy)).pipe(Qn(ev))}}(nv(e)):null}function rv(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function Vu(e){return e?Array.isArray(e)?e:[e]:[]}function Bs(e,t){return Array.isArray(e)?e.includes(t):e===t}function lv(e,t){const n=Vu(t);return Vu(e).forEach(o=>{Bs(n,o)||n.push(o)}),n}function cv(e,t){return Vu(t).filter(n=>!Bs(e,n))}class uv{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=ku(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Nu(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,n){return!!this.control&&this.control.hasError(t,n)}getError(t,n){return this.control?this.control.getError(t,n):null}}class Ye extends uv{get formDirective(){return null}get path(){return null}}class In extends uv{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}let fv=(()=>{class e extends class dv{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)(m(In,2))},e.\u0275dir=O({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,i){2&n&&Jr("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:[j]}),e})();const zo="VALID",Hs="INVALID",Gi="PENDING",Go="DISABLED";function pv(e){return Array.isArray(e)?ku(e):e||null}function gv(e){return Array.isArray(e)?Nu(e):e||null}function $s(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function Wo(e,t){(function zu(e,t){const n=function sv(e){return e._rawValidators}(e);null!==t.validator?e.setValidators(rv(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const i=function av(e){return e._rawAsyncValidators}(e);null!==t.asyncValidator?e.setAsyncValidators(rv(i,t.asyncValidator)):"function"==typeof i&&e.setAsyncValidators([i]);const o=()=>e.updateValueAndValidity();Gs(t._rawValidators,o),Gs(t._rawAsyncValidators,o)})(e,t),t.valueAccessor.writeValue(e.value),e.disabled&&t.valueAccessor.setDisabledState?.(!0),function E1(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&vv(e,t)})}(e,t),function S1(e,t){const n=(i,o)=>{t.valueAccessor.writeValue(i),o&&t.viewToModelUpdate(i)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function b1(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&vv(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function w1(e,t){if(t.valueAccessor.setDisabledState){const n=i=>{t.valueAccessor.setDisabledState(i)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function Gs(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function vv(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function Ev(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function bv(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const R1={provide:In,useExisting:z(()=>Yu)},xv=(()=>Promise.resolve())();let Yu=(()=>{class e extends In{constructor(n,i,o,r,s){super(),this._changeDetectorRef=s,this.control=new class extends class yv{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=pv(this._rawValidators),this._composedAsyncValidatorFn=gv(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===zo}get invalid(){return this.status===Hs}get pending(){return this.status==Gi}get disabled(){return this.status===Go}get enabled(){return this.status!==Go}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=pv(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=gv(t)}addValidators(t){this.setValidators(lv(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(lv(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(cv(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(cv(t,this._rawAsyncValidators))}hasValidator(t){return Bs(this._rawValidators,t)}hasAsyncValidator(t){return Bs(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=Gi,!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=Go,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=zo,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===zo||this.status===Gi)&&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()?Go:zo}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=Gi,this._hasOwnPendingAsyncValidator=!0;const n=Jy(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,o)=>i&&i._find(o),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 oe,this.statusChanges=new oe}_calculateStatus(){return this._allControlsDisabled()?Go:this.errors?Hs:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Gi)?Gi:this._anyControlsHaveStatus(Hs)?Hs:zo}_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){$s(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 Hu(e){return($s(e)?e.validators:e)||null}(n),function $u(e,t){return($s(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}),$s(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=bv(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){Ev(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Ev(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){bv(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 oe,this._parent=n,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=function Wu(e,t){if(!t)return null;let n,i,o;return Array.isArray(t),t.forEach(r=>{r.constructor===Pu?n=r:function x1(e){return Object.getPrototypeOf(e.constructor)===Yn}(r)?i=r:o=r}),o||i||n||null}(0,r)}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 Gu(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(){Wo(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){xv.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){const i=n.isDisabled.currentValue,o=0!==i&&function qc(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}(i);xv.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?function Us(e,t){return[...t.path,e]}(n,this._parent):[n]}}return e.\u0275fac=function(n){return new(n||e)(m(Ye,9),m(je,10),m(Mn,10),m(Be,10),m(ln,8))},e.\u0275dir=O({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[K([R1]),j,_t]}),e})(),Av=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ce({type:e}),e.\u0275inj=me({}),e})(),oO=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ce({type:e}),e.\u0275inj=me({imports:[Av]}),e})(),rO=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ce({type:e}),e.\u0275inj=me({imports:[oO]}),e})();const Yv=["*"];let tt=(()=>{class e{constructor(){this.disabled=!1,this.order=[],this._multiselect=!1,this._distributor=new Vs({isSelect:!1,notify:!1,value:void 0}),this._focusSubject=new Vs(null)}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,o=!0){this.disabled||this._distributor.next({value:n,notify:o,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();this.changeValue(this.order[0===n?this.order.length-1:n-1],!0)}checkNext(){if(1===this.order.length||this.disabled)return;const n=this._getIndexOfCurrentValue();this.changeValue(this.order[n===this.order.length-1?0:n+1],!0)}handleFocus(n,i){switch(n){case"ArrowUp":case"ArrowLeft":this.setFocused(this.order[0===i?this.order.length-1:i-1]);break;case"ArrowDown":case"ArrowRight":this.setFocused(this.order[i===this.order.length-1?0:i+1]);break;case"Enter":case"Space":case" ":this.setFocused(this.order[0])}}multiSelectMode(){this._multiselect=!0}_getIndexOfCurrentValue(){const n=this.order.indexOf(this._distributor.value.value);return-1===n?0:n}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac}),e})(),aO=(()=>{class e{constructor(n,i){this.prefix=n,this._selectionSrv=i,this.disabled=!1,this.choose=new oe,this._values=new Set,this.onChange=o=>{},this.onTouched=()=>{},this._valueSubs=this._selectionSrv.value$.pipe(Ps(o=>o.notify)).subscribe(o=>{o.isSelect?this._values.add(o.value):this._values.delete(o.value),this.choose.emit(this.values),this.onChange(this.values),this.onTouched()})}get disabledCssClass(){return this.disabled?`${this.prefix}-disabled`:""}get values(){return Array.from(this._values)}ngOnInit(){this._selectionSrv.multiSelectMode()}ngOnChanges(n){var i;this._selectionSrv.disabled=!0===(null===(i=n.disabled)||void 0===i?void 0:i.currentValue)}ngOnDestroy(){var n;null===(n=this._valueSubs)||void 0===n||n.unsubscribe()}writeValue(n){!Array.isArray(n)||n.forEach(i=>this._selectionSrv.changeValue(i,!0))}registerOnChange(n){this.onChange=n}registerOnTouched(n){this.onTouched=n}setDisabledState(n){this.disabled=n,this._selectionSrv.disabled=n}}return e.\u0275fac=function(n){return new(n||e)(m("EUI_PREFIX"),m(tt))},e.\u0275cmp=Pe({type:e,selectors:[["eui-multi-selection"]],hostVars:2,hostBindings:function(n,i){2&n&&function cc(e){Ot(ut,Wt,e,!0)}(i.disabledCssClass)},inputs:{disabled:"disabled"},outputs:{choose:"choose"},features:[K([tt,{provide:Be,useExisting:z(()=>e),multi:!0}]),_t],ngContentSelectors:Yv,decls:1,vars:0,template:function(n,i){1&n&&(Ut(),zt(0))},encapsulation:2,changeDetection:0}),e})(),Yo=(()=>{class e{get selectionIsAllowed(){return null!==this._selectionSrv&&this.selectable}ngOnInit(){var n,i;null!=this._selectionSrv&&(null!=this.value&&!(null!==(i=null===(n=this._selectionSrv)||void 0===n?void 0:n.order)&&void 0!==i&&i.includes(this.value))&&this._selectionSrv.order.push(this.value),this.selected=this.checked,this.selectionIsAllowed&&(this._valueSubscription=this._selectionSrv.value$.subscribe(o=>this._switchSelectable(o)),this.checked&&this._selectionSrv.changeValue(this.value,!0,!1)))}ngOnDestroy(){var n;null===(n=this._valueSubscription)||void 0===n||n.unsubscribe()}_switchSelectable(n){this._selectionSrv.isMultiselect?n.value===this.value&&(this.selected=n.isSelect):this.selected=this.value===n.value,this._cdr.detectChanges()}_applySelect(){var n;null!=this._selectionSrv&&this.selectable&&(this._selectionSrv.changeValue(this.value,!this.selected,!0),null===(n=this._appRef)||void 0===n||n.tick())}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=O({type:e}),e})(),Zo=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ce({type:e}),e.\u0275inj=me({providers:[{provide:"EUI_PREFIX",useValue:"eui"}],imports:[En]}),e})(),lO=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ce({type:e}),e.\u0275inj=me({providers:[{provide:"EUI_PREFIX",useValue:"eui"}],imports:[En,Zo]}),e})();const cO=["*"];let uO=(()=>{class e extends Yo{constructor(n,i,o,r){super(),this._cdr=n,this.prefix=i,this._selectionSrv=o,this._appRef=r,this.selectable=!0,this.isError=!1,this.disabled=!1,this.checked=!1,this.isChecked=!1,this.icon="te-check",this.changed=new oe,this._touchFn=()=>{},this._changeFn=s=>{}}get parentDisabled(){var n,i;return null!==(i=null===(n=this._selectionSrv)||void 0===n?void 0:n.disabled)&&void 0!==i&&i}registerOnChange(n){this._changeFn=n}registerOnTouched(n){this._touchFn=n}writeValue(n){this.value=n}notify(n){this._applySelect(),this._changeFn(n),this._touchFn(),this.changed.emit(n)}}return e.\u0275fac=function(n){return new(n||e)(m(ln),m("EUI_PREFIX"),m(tt,8),m(Yt))},e.\u0275cmp=Pe({type:e,selectors:[["eui-checkbox"]],inputs:{isError:"isError",disabled:"disabled",checked:"checked",isChecked:"isChecked",icon:"icon",value:"value"},outputs:{changed:"changed"},features:[K([{provide:Be,useExisting:z(()=>e),multi:!0}]),j],ngContentSelectors:cO,decls:7,vars:17,consts:[["type","checkbox",3,"disabled","checked","change"],["input",""],["tabindex","0",3,"keyup.enter"],[3,"icon","size"]],template:function(n,i){if(1&n){const o=sc();Ut(),X(0,"label")(1,"input",0,1),ue("change",function(s){return i.notify(null==s.target?null:s.target.checked)}),J(),X(3,"div",2),ue("keyup.enter",function(){return Ia(o),xa(function Gp(e){return function ii(e,t){return e[t]}(function RD(){return R.lFrame.contextLView}(),22+e)}(2).click())}),vn(4,"eui-svg-icon",3),J(),X(5,"p"),zt(6),J()()}if(2&n){let o;de("",i.prefix,"-checkbox"),G(1),de("",i.prefix,"-checkbox__input"),se("disabled",i.disabled||i.parentDisabled)("checked",null!==(o=i.selected)&&void 0!==o?o:i.isChecked),G(2),So("",i.prefix,"-checkbox__wrapper ",i.isError?i.prefix+"-error":"",""),G(1),se("icon",i.icon)("size",10),G(1),de("",i.prefix,"-checkbox__text")}},dependencies:[Ou],styles:["[_nghost-%COMP%]{display:block}"]}),e})(),dO=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ce({type:e}),e.\u0275inj=me({providers:[{provide:"EUI_PREFIX",useValue:"eui"}],imports:[En,Zo,Ru]}),e})(),pO=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ce({type:e}),e.\u0275inj=me({providers:[{provide:"EUI_PREFIX",useValue:"eui"}],imports:[En,Zo]}),e})();new et({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"},0,2),new et({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"},0,2);let SO=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ce({type:e}),e.\u0275inj=me({providers:[{provide:"EUI_PREFIX",useValue:"eui"}],imports:[Zo,En,Ru,jy,Ay]}),e})();const MO=["overlayContainer"],IO=["overlay"],xO=["tooltipRef"];function TO(e,t){if(1&e&&(X(0,"p"),$n(1," : "),X(2,"span"),$n(3),J()()),2&e){const n=$t();de("",n.prefix,"-header__value"),G(3),ki(n.value)}}function AO(e,t){if(1&e&&(X(0,"div"),$n(1),J()),2&e){const n=$t(2);de("",n.prefix,"-header__tooltip-text"),G(1),ki(n.tooltip)}}function FO(e,t){if(1&e){const n=sc();X(0,"div",2,3),ue("click",function(){return Ia(n),xa($t().clickOverlay())}),vn(2,"eui-svg-icon",4),Ri(3,null,5),Dt(5,AO,2,4,"ng-template",null,6,xc),J()}if(2&e){const n=$t();de("",n.prefix,"-header__tooltip"),G(2),se("icon",n.iconName)("size",16)}}function OO(e,t){if(1&e&&(X(0,"div"),$n(1),J()),2&e){const n=$t();de("",n.prefix,"-header__description"),G(1),ki(n.description)}}function NO(e,t){if(1&e&&(X(0,"div")(1,"eui-checkbox",3),$n(2),J()()),2&e){const n=t.$implicit,i=$t();let o;de("",i.prefix,"-content__item"),G(1),se("icon",null!==(o=null==i.config?null:i.config.checkboxIcon)&&void 0!==o?o:"au-check")("value",n),G(1),ts(" ",n.name,"")}}const UO=[new et({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"},0,0,"mdo-header__tooltip_tc"),new et({originX:"center",originY:"top"},{overlayX:"start",overlayY:"bottom"},-24,0,"mdo-header__tooltip_tl"),new et({originX:"center",originY:"top"},{overlayX:"end",overlayY:"bottom"},24,0,"mdo-header__tooltip_tr"),new et({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"},0,0,"mdo-header__tooltip_bc"),new et({originX:"center",originY:"bottom"},{overlayX:"start",overlayY:"top"},-24,0,"mdo-header__tooltip_bl"),new et({originX:"center",originY:"bottom"},{overlayX:"end",overlayY:"top"},24,0,"mdo-header__tooltip_br")];let zO=(()=>{class e{constructor(n,i,o,r,s){this.prefix=n,this._overlay=i,this._viewRef=o,this._hostElement=r,this._platform=s,this.positions=UO,this.name="",this.showValueInTitle=!1,this.useCustomTooltip=!1,this.byToggleTooltip=new oe,this.iconName="au-uif-tooltip",this.showTooltip=new Vs(!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,o=this.isIOS&&n&&i?window.innerHeight-document.documentElement.clientHeight:0,r=new Au({positionStrategy:this._overlay.position().flexibleConnectedTo(this.tooltipRef).setOrigin(this.tooltipRef).withPositions([new et({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"},0,-o,"mdo-header__tooltip_tc"),new et({originX:"center",originY:"top"},{overlayX:"start",overlayY:"bottom"},-24,-o,"mdo-header__tooltip_tl"),new et({originX:"center",originY:"top"},{overlayX:"end",overlayY:"bottom"},24,-o,"mdo-header__tooltip_tr"),new et({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"},0,-o,"mdo-header__tooltip_bc"),new et({originX:"center",originY:"bottom"},{overlayX:"start",overlayY:"top"},-24,-o,"mdo-header__tooltip_bl"),new et({originX:"center",originY:"bottom"},{overlayX:"end",overlayY:"top"},24,-o,"mdo-header__tooltip_br")]).withPush(!1).withFlexibleDimensions(!0),scrollStrategy:this._overlay.scrollStrategies.close()});this._overlayRef=this._overlay.create(r),this._overlayRef.outsidePointerEvents().subscribe(s=>{!Array.from(this._hostElement.nativeElement.children).includes(s.target)&&this.showTooltip.next(!1)}),this._overlayRef.attach(new xu(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)(m("EUI_PREFIX"),m(Ns),m(ft),m(Ee),m(Ui))},e.\u0275cmp=Pe({type:e,selectors:[["mdo-header"]],viewQuery:function(n,i){if(1&n&&(Bi(MO,5,ft),Bi(IO,5),Bi(xO,5,Ee)),2&n){let o;Cn(o=Dn())&&(i._overlayContainer=o.first),Cn(o=Dn())&&(i._overlayTemplate=o.first),Cn(o=Dn())&&(i.tooltipRef=o.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&&(X(0,"div")(1,"div")(2,"p"),$n(3),J(),Dt(4,TO,4,4,"p",0),Dt(5,FO,7,5,"div",1),J(),Dt(6,OO,2,4,"div",0),J()),2&n&&(de("",i.prefix,"-header"),G(1),de("",i.prefix,"-header__group"),G(1),de("",i.prefix,"-header__title"),G(1),ki(i.name),G(1),se("ngIf",i.showValueInTitle&&null!=i.value),G(1),se("ngIf",null!=i.tooltip),G(1),se("ngIf",null!=i.description))},dependencies:[ru,Ou]}),e})(),GO=(()=>{class e{constructor(n){this.prefix=n,this.changed=new oe,this.toggleTooltip=new oe}}return e.\u0275fac=function(n){return new(n||e)(m("EUI_PREFIX"))},e.\u0275cmp=Pe({type:e,selectors:[["mdo-checkbox"]],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,"icon","value"]],template:function(n,i){1&n&&(X(0,"mdo-header",0),ue("byToggleTooltip",function(r){return i.toggleTooltip.emit(r)}),J(),X(1,"eui-multi-selection",1),ue("ngModelChange",function(r){return i.changed.emit(r)}),X(2,"div"),Dt(3,NO,3,6,"div",2),J()()),2&n&&(se("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),G(1),se("disabled",null==i.config?null:i.config.disabled)("ngModel",null==i.option?null:i.option.selected),G(1),So("",i.prefix,"-content ",i.prefix,"-content_list"),G(1),se("ngForOf",null==i.option?null:i.option.values))},dependencies:[ou,aO,fv,Yu,uO,zO],changeDetection:0}),e})(),WO=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ce({type:e}),e.\u0275inj=me({providers:[{provide:"EUI_PREFIX",useValue:"mdo"}],imports:[En,Ru,Zo,rO,jy,dO,lO,pO,SO]}),e})();class qO extends nt{constructor(t=1/0,n=1/0,i=Du){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:o,_timestampProvider:r,_windowTime:s}=this;n||(i.push(t),!o&&i.push(r.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();const n=this._innerSubscribe(t),{_infiniteTimeWindow:i,_buffer:o}=this,r=o.slice();for(let s=0;sclearTimeout(n)},scheduleBeforeRender(e){if(typeof window>"u")return qs.schedule(e,0);if(typeof window.requestAnimationFrame>"u")return qs.schedule(e,16);const t=window.requestAnimationFrame(e);return()=>window.cancelAnimationFrame(t)}};let td;function iR(e,t,n){let i=n;return function XO(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&t.some((o,r)=>!("*"===o||!function QO(e,t){if(!td){const n=Element.prototype;td=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE&&td.call(e,t)}(e,o)||(i=r,0))),i}class rR{constructor(t,n){this.componentFactory=n.get(Ln).resolveComponentFactory(t)}create(t){return new sR(this.componentFactory,t)}}class sR{constructor(t,n){this.componentFactory=t,this.injector=n,this.eventEmitters=new qO(1),this.events=this.eventEmitters.pipe(function YO(e,t){return Nt((n,i)=>{let o=null,r=0,s=!1;const a=()=>s&&!o&&i.complete();n.subscribe(ht(i,l=>{o?.unsubscribe();let c=0;const u=r++;pt(e(l,u)).subscribe(o=ht(i,d=>i.next(t?t(l,d,u,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}(i=>ca(...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(fe),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=qs.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 JO(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=vt.create({providers:[],parent:this.injector}),i=function nR(e,t){const n=e.childNodes,i=t.map(()=>[]);let o=-1;t.some((r,s)=>"*"===r&&(o=s,!0));for(let r=0,s=n.length;r{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:o})=>t.instance[i].pipe(Qn(s=>({name:o,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=qs.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 o=this.unchangedInputs.has(t),r=o?void 0:this.getInputValue(t);this.inputChanges[t]=new qd(r,n,o)}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 aR extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}let cR=(()=>{class e{constructor(n){this._injector=n}ngDoBootstrap(){const n=function lR(e,t){const n=function tR(e,t){return t.get(Ln).resolveComponentFactory(e).inputs}(e,t.injector),i=t.strategyFactory||new rR(e,t.injector),o=function eR(e){const t={};return e.forEach(({propName:n,templateName:i})=>{t[function ZO(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}(i)]=n}),t}(n);class r extends aR{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(o[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 r.observedAttributes=Object.keys(o),n.forEach(({propName:s})=>{Object.defineProperty(r.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(a){this.ngElementStrategy.setInputValue(s,a)},configurable:!0,enumerable:!0})}),r}(GO,{injector:this._injector});customElements.define("au-checkbox",n)}}return e.\u0275fac=function(n){return new(n||e)(w(vt))},e.\u0275mod=Ce({type:e}),e.\u0275inj=me({providers:[{provide:Fu,useValue:""}],imports:[VA,WO]}),e})();(function JI(){m_=!1})(),NA().bootstrapModule(cR,{ngZone:"noop"}).catch(e=>console.error(e))}},Y=>{Y(Y.s=789)}]);