From 8bf72ccc07cb2a1e078dd85aaa788fbc57860f43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Z=C3=A9fling?= Date: Tue, 29 Aug 2023 23:00:08 +0200 Subject: [PATCH] Update to 13.0.7 (demo / changelog) --- CHANGELOG.md | 4 ++++ dist/ng-select2/index.html | 2 +- .../{main.9a436d1c73166c69.js => main.9c25a66de97f27e8.js} | 2 +- projects/ng-select2-component/package.json | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) rename dist/ng-select2/{main.9a436d1c73166c69.js => main.9c25a66de97f27e8.js} (99%) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1a1cc39..a583f28 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog of ng-select2 +## V13.0.7 (2023-08-29) + +- fix tab navigation (don't open dropdown with tab) + ## V13.0.6 (2023-08-23) - fix value when data changes with NgControl diff --git a/dist/ng-select2/index.html b/dist/ng-select2/index.html index 58878a2..55b56b6 100644 --- a/dist/ng-select2/index.html +++ b/dist/ng-select2/index.html @@ -11,5 +11,5 @@ - + diff --git a/dist/ng-select2/main.9a436d1c73166c69.js b/dist/ng-select2/main.9c25a66de97f27e8.js similarity index 99% rename from dist/ng-select2/main.9a436d1c73166c69.js rename to dist/ng-select2/main.9c25a66de97f27e8.js index 300b52c..3f443e1 100644 --- a/dist/ng-select2/main.9a436d1c73166c69.js +++ b/dist/ng-select2/main.9c25a66de97f27e8.js @@ -1 +1 @@ -(self.webpackChunkng_select2=self.webpackChunkng_select2||[]).push([[179],{6410:(en,we,N)=>{"use strict";function z(e){return"function"==typeof e}let F=!1;const C={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){const n=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+n.stack)}else F&&console.log("RxJS: Back to a better error behavior. Thank you. <3");F=e},get useDeprecatedSynchronousErrorHandling(){return F}};function E(e){setTimeout(()=>{throw e},0)}const G={closed:!0,next(e){},error(e){if(C.useDeprecatedSynchronousErrorHandling)throw e;E(e)},complete(){}},h=Array.isArray||(e=>e&&"number"==typeof e.length);function f(e){return null!==e&&"object"==typeof e}const L=(()=>{function e(n){return Error.call(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((t,r)=>`${r+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n,this}return e.prototype=Object.create(Error.prototype),e})();class A{constructor(n){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,n&&(this._ctorUnsubscribe=!0,this._unsubscribe=n)}unsubscribe(){let n;if(this.closed)return;let{_parentOrParents:t,_ctorUnsubscribe:r,_unsubscribe:i,_subscriptions:o}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,t instanceof A)t.remove(this);else if(null!==t)for(let s=0;sn.concat(t instanceof L?t.errors:t),[])}A.EMPTY=((e=new A).closed=!0,e);const k="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class Z extends A{constructor(n,t,r){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=G;break;case 1:if(!n){this.destination=G;break}if("object"==typeof n){n instanceof Z?(this.syncErrorThrowable=n.syncErrorThrowable,this.destination=n,n.add(this)):(this.syncErrorThrowable=!0,this.destination=new Te(this,n));break}default:this.syncErrorThrowable=!0,this.destination=new Te(this,n,t,r)}}[k](){return this}static create(n,t,r){const i=new Z(n,t,r);return i.syncErrorThrowable=!1,i}next(n){this.isStopped||this._next(n)}error(n){this.isStopped||(this.isStopped=!0,this._error(n))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(n){this.destination.next(n)}_error(n){this.destination.error(n),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:n}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=n,this}}class Te extends Z{constructor(n,t,r,i){super(),this._parentSubscriber=n;let o,s=this;z(t)?o=t:t&&(o=t.next,r=t.error,i=t.complete,t!==G&&(s=Object.create(t),z(s.unsubscribe)&&this.add(s.unsubscribe.bind(s)),s.unsubscribe=this.unsubscribe.bind(this))),this._context=s,this._next=o,this._error=r,this._complete=i}next(n){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;C.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,n)&&this.unsubscribe():this.__tryOrUnsub(this._next,n)}}error(n){if(!this.isStopped){const{_parentSubscriber:t}=this,{useDeprecatedSynchronousErrorHandling:r}=C;if(this._error)r&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,n),this.unsubscribe()):(this.__tryOrUnsub(this._error,n),this.unsubscribe());else if(t.syncErrorThrowable)r?(t.syncErrorValue=n,t.syncErrorThrown=!0):E(n),this.unsubscribe();else{if(this.unsubscribe(),r)throw n;E(n)}}}complete(){if(!this.isStopped){const{_parentSubscriber:n}=this;if(this._complete){const t=()=>this._complete.call(this._context);C.useDeprecatedSynchronousErrorHandling&&n.syncErrorThrowable?(this.__tryOrSetError(n,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(n,t){try{n.call(this._context,t)}catch(r){if(this.unsubscribe(),C.useDeprecatedSynchronousErrorHandling)throw r;E(r)}}__tryOrSetError(n,t,r){if(!C.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,r)}catch(i){return C.useDeprecatedSynchronousErrorHandling?(n.syncErrorValue=i,n.syncErrorThrown=!0,!0):(E(i),!0)}return!1}_unsubscribe(){const{_parentSubscriber:n}=this;this._context=null,this._parentSubscriber=null,n.unsubscribe()}}const lt="function"==typeof Symbol&&Symbol.observable||"@@observable";function Et(e){return e}function et(e){return 0===e.length?Et:1===e.length?e[0]:function(t){return e.reduce((r,i)=>i(r),t)}}let be=(()=>{class e{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(t){const r=new e;return r.source=this,r.operator=t,r}subscribe(t,r,i){const{operator:o}=this,s=function $t(e,n,t){if(e){if(e instanceof Z)return e;if(e[k])return e[k]()}return e||n||t?new Z(e,n,t):new Z(G)}(t,r,i);if(s.add(o?o.call(s,this.source):this.source||C.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),C.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(t){try{return this._subscribe(t)}catch(r){C.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=r),function at(e){for(;e;){const{closed:n,destination:t,isStopped:r}=e;if(n||r)return!1;e=t&&t instanceof Z?t:null}return!0}(t)?t.error(r):console.warn(r)}}forEach(t,r){return new(r=tn(r))((i,o)=>{let s;s=this.subscribe(a=>{try{t(a)}catch(l){o(l),s&&s.unsubscribe()}},o,i)})}_subscribe(t){const{source:r}=this;return r&&r.subscribe(t)}[lt](){return this}pipe(...t){return 0===t.length?this:et(t)(this)}toPromise(t){return new(t=tn(t))((r,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>r(o))})}}return e.create=n=>new e(n),e})();function tn(e){if(e||(e=C.Promise||Promise),!e)throw new Error("no Promise impl found");return e}const Ct=(()=>{function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e})();class gi extends A{constructor(n,t){super(),this.subject=n,this.subscriber=t,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const n=this.subject,t=n.observers;if(this.subject=null,!t||0===t.length||n.isStopped||n.closed)return;const r=t.indexOf(this.subscriber);-1!==r&&t.splice(r,1)}}class nr extends Z{constructor(n){super(n),this.destination=n}}let je=(()=>{class e extends be{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[k](){return new nr(this)}lift(t){const r=new rr(this,this);return r.operator=t,r}next(t){if(this.closed)throw new Ct;if(!this.isStopped){const{observers:r}=this,i=r.length,o=r.slice();for(let s=0;snew rr(n,t),e})();class rr extends je{constructor(n,t){super(),this.destination=n,this.source=t}next(n){const{destination:t}=this;t&&t.next&&t.next(n)}error(n){const{destination:t}=this;t&&t.error&&this.destination.error(n)}complete(){const{destination:n}=this;n&&n.complete&&this.destination.complete()}_subscribe(n){const{source:t}=this;return t?this.source.subscribe(n):A.EMPTY}}class ze extends je{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const t=super._subscribe(n);return t&&!t.closed&&n.next(this._value),t}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new Ct;return this._value}next(n){super.next(this._value=n)}}function zt(e){return e&&"function"==typeof e.schedule}function oe(e,n){return function(r){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return r.lift(new mi(e,n))}}class mi{constructor(n,t){this.project=n,this.thisArg=t}call(n,t){return t.subscribe(new Eo(n,this.project,this.thisArg))}}class Eo extends Z{constructor(n,t,r){super(n),this.project=t,this.count=0,this.thisArg=r||this}_next(n){let t;try{t=this.project.call(this.thisArg,n,this.count++)}catch(r){return void this.destination.error(r)}this.destination.next(t)}}const _i=e=>n=>{for(let t=0,r=e.length;te&&"number"==typeof e.length&&"function"!=typeof e;function tt(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}const At=e=>{if(e&&"function"==typeof e[lt])return(e=>n=>{const t=e[lt]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(n)})(e);if(kt(e))return _i(e);if(tt(e))return(e=>n=>(e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,E),n))(e);if(e&&"function"==typeof e[mn])return(e=>n=>{const t=e[mn]();for(;;){let r;try{r=t.next()}catch(i){return n.error(i),n}if(r.done){n.complete();break}if(n.next(r.value),n.closed)break}return"function"==typeof t.return&&n.add(()=>{t.return&&t.return()}),n})(e);{const t=`You provided ${f(e)?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(t)}};function Fn(e,n){return new be(t=>{const r=new A;let i=0;return r.add(n.schedule(function(){i!==e.length?(t.next(e[i++]),t.closed||r.add(this.schedule())):t.complete()})),r})}function _t(e,n){return n?function RS(e,n){if(null!=e){if(function OS(e){return e&&"function"==typeof e[lt]}(e))return function _n(e,n){return new be(t=>{const r=new A;return r.add(n.schedule(()=>{const i=e[lt]();r.add(i.subscribe({next(o){r.add(n.schedule(()=>t.next(o)))},error(o){r.add(n.schedule(()=>t.error(o)))},complete(){r.add(n.schedule(()=>t.complete()))}}))})),r})}(e,n);if(tt(e))return function kn(e,n){return new be(t=>{const r=new A;return r.add(n.schedule(()=>e.then(i=>{r.add(n.schedule(()=>{t.next(i),r.add(n.schedule(()=>t.complete()))}))},i=>{r.add(n.schedule(()=>t.error(i)))}))),r})}(e,n);if(kt(e))return Fn(e,n);if(function xS(e){return e&&"function"==typeof e[mn]}(e)||"string"==typeof e)return function ea(e,n){if(!e)throw new Error("Iterable cannot be null");return new be(t=>{const r=new A;let i;return r.add(()=>{i&&"function"==typeof i.return&&i.return()}),r.add(n.schedule(()=>{i=e[mn](),r.add(n.schedule(function(){if(t.closed)return;let o,s;try{const a=i.next();o=a.value,s=a.done}catch(a){return void t.error(a)}s?t.complete():(t.next(o),this.schedule())}))})),r})}(e,n)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,n):e instanceof be?e:new be(At(e))}class bi extends Z{constructor(n){super(),this.parent=n}_next(n){this.parent.notifyNext(n)}_error(n){this.parent.notifyError(n),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class Ci extends Z{notifyNext(n){this.destination.next(n)}notifyError(n){this.destination.error(n)}notifyComplete(){this.destination.complete()}}function wi(e,n){if(n.closed)return;if(e instanceof be)return e.subscribe(n);let t;try{t=At(e)(n)}catch(r){n.error(r)}return t}function wt(e,n,t=Number.POSITIVE_INFINITY){return"function"==typeof n?r=>r.pipe(wt((i,o)=>_t(e(i,o)).pipe(oe((s,a)=>n(i,s,o,a))),t)):("number"==typeof n&&(t=n),r=>r.lift(new PS(e,t)))}class PS{constructor(n,t=Number.POSITIVE_INFINITY){this.project=n,this.concurrent=t}call(n,t){return t.subscribe(new NS(n,this.project,this.concurrent))}}class NS extends Ci{constructor(n,t,r=Number.POSITIVE_INFINITY){super(n),this.project=t,this.concurrent=r,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(n){this.active0?this._next(n.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function Di(e=Number.POSITIVE_INFINITY){return wt(Et,e)}function ta(e,n){return n?Fn(e,n):new be(_i(e))}function Jf(...e){let n=Number.POSITIVE_INFINITY,t=null,r=e[e.length-1];return zt(r)?(t=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(n=e.pop())):"number"==typeof r&&(n=e.pop()),null===t&&1===e.length&&e[0]instanceof be?e[0]:Di(n)(ta(e,t))}function ne(...e){let n=e[e.length-1];return zt(n)?(e.pop(),Fn(e,n)):ta(e)}function na(){return function(n){return n.lift(new kS(n))}}class kS{constructor(n){this.connectable=n}call(n,t){const{connectable:r}=this;r._refCount++;const i=new FS(n,r),o=t.subscribe(i);return i.closed||(i.connection=r.connect()),o}}class FS extends Z{constructor(n,t){super(n),this.connectable=t}_unsubscribe(){const{connectable:n}=this;if(!n)return void(this.connection=null);this.connectable=null;const t=n._refCount;if(t<=0)return void(this.connection=null);if(n._refCount=t-1,t>1)return void(this.connection=null);const{connection:r}=this,i=n._connection;this.connection=null,i&&(!r||i===r)&&i.unsubscribe()}}class xc extends be{constructor(n,t){super(),this.source=n,this.subjectFactory=t,this._refCount=0,this._isComplete=!1}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){const n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let n=this._connection;return n||(this._isComplete=!1,n=this._connection=new A,n.add(this.source.subscribe(new VS(this.getSubject(),this))),n.closed&&(this._connection=null,n=A.EMPTY)),n}refCount(){return na()(this)}}const LS=(()=>{const e=xc.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}})();class VS extends nr{constructor(n,t){super(n),this.connectable=t}_error(n){this._unsubscribe(),super._error(n)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const n=this.connectable;if(n){this.connectable=null;const t=n._connection;n._refCount=0,n._subject=null,n._connection=null,t&&t.unsubscribe()}}}class jS{constructor(n,t){this.subjectFactory=n,this.selector=t}call(n,t){const{selector:r}=this,i=this.subjectFactory(),o=r(i).subscribe(n);return o.add(t.subscribe(i)),o}}function US(){return new je}function ep(){return e=>na()(function HS(e,n){return function(r){let i;if(i="function"==typeof e?e:function(){return e},"function"==typeof n)return r.lift(new jS(i,n));const o=Object.create(r,LS);return o.source=r,o.subjectFactory=i,o}}(US)(e))}function nn(e,n){return"function"==typeof n?t=>t.pipe(nn((r,i)=>_t(e(r,i)).pipe(oe((o,s)=>n(r,o,i,s))))):t=>t.lift(new $S(e))}class $S{constructor(n){this.project=n}call(n,t){return t.subscribe(new zS(n,this.project))}}class zS extends Ci{constructor(n,t){super(n),this.project=t,this.index=0}_next(n){let t;const r=this.index++;try{t=this.project(n,r)}catch(i){return void this.destination.error(i)}this._innerSub(t)}_innerSub(n){const t=this.innerSubscription;t&&t.unsubscribe();const r=new bi(this),i=this.destination;i.add(r),this.innerSubscription=wi(n,r),this.innerSubscription!==r&&i.add(this.innerSubscription)}_complete(){const{innerSubscription:n}=this;(!n||n.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(n){this.destination.next(n)}}class WS{constructor(n,t){this.compare=n,this.keySelector=t}call(n,t){return t.subscribe(new qS(n,this.compare,this.keySelector))}}class qS extends Z{constructor(n,t,r){super(n),this.keySelector=r,this.hasKey=!1,"function"==typeof t&&(this.compare=t)}compare(n,t){return n===t}_next(n){let t;try{const{keySelector:i}=this;t=i?i(n):n}catch(i){return this.destination.error(i)}let r=!1;if(this.hasKey)try{const{compare:i}=this;r=i(this.key,t)}catch(i){return this.destination.error(i)}else this.hasKey=!0;r||(this.key=t,this.destination.next(n))}}function Oe(e){for(let n in e)if(e[n]===Oe)return n;throw Error("Could not find renamed property on target object.")}function ra(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function ut(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ut).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const n=e.toString();if(null==n)return""+n;const t=n.indexOf("\n");return-1===t?n:n.substring(0,t)}function Rc(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const ZS=Oe({__forward_ref__:Oe});function Le(e){return e.__forward_ref__=Le,e.toString=function(){return ut(this())},e}function se(e){return Pc(e)?e():e}function Pc(e){return"function"==typeof e&&e.hasOwnProperty(ZS)&&e.__forward_ref__===Le}function Nc(e){return e&&!!e.\u0275providers}const tp="https://g.co/ng/security#xss";class O extends Error{constructor(n,t){super(function ia(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}function ae(e){return"string"==typeof e?e:null==e?"":String(e)}function oa(e,n){throw new O(-201,!1)}function vn(e,n){null==e&&function Ee(e,n,t,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${t} ${r} ${n} <=Actual]`))}(n,e,null,"!=")}function U(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function nt(e){return{providers:e.providers||[],imports:e.imports||[]}}function sa(e){return np(e,aa)||np(e,ip)}function np(e,n){return e.hasOwnProperty(n)?e[n]:null}function rp(e){return e&&(e.hasOwnProperty(kc)||e.hasOwnProperty(nE))?e[kc]:null}const aa=Oe({\u0275prov:Oe}),kc=Oe({\u0275inj:Oe}),ip=Oe({ngInjectableDef:Oe}),nE=Oe({ngInjectorDef:Oe});var Q=(()=>((Q=Q||{})[Q.Default=0]="Default",Q[Q.Host=1]="Host",Q[Q.Self=2]="Self",Q[Q.SkipSelf=4]="SkipSelf",Q[Q.Optional=8]="Optional",Q))();let Fc;function Gt(e){const n=Fc;return Fc=e,n}function sp(e,n,t){const r=sa(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:t&Q.Optional?null:void 0!==n?n:void oa(ut(e))}const ke=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Io={},Lc="__NG_DI_FLAG__",la="ngTempTokenPath",iE=/\n/gm,ap="__source";let Si;function Dr(e){const n=Si;return Si=e,n}function aE(e,n=Q.Default){if(void 0===Si)throw new O(-203,!1);return null===Si?sp(e,void 0,n):Si.get(e,n&Q.Optional?null:void 0,n)}function P(e,n=Q.Default){return(function op(){return Fc}()||aE)(se(e),n)}function W(e,n=Q.Default){return P(e,ca(n))}function ca(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Vc(e){const n=[];for(let t=0;t((Ln=Ln||{})[Ln.OnPush=0]="OnPush",Ln[Ln.Default=1]="Default",Ln))(),on=(()=>(function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(on||(on={})),on))();const Vn={},De=[],ua=Oe({\u0275cmp:Oe}),Bc=Oe({\u0275dir:Oe}),Hc=Oe({\u0275pipe:Oe}),cp=Oe({\u0275mod:Oe}),or=Oe({\u0275fac:Oe}),Oo=Oe({__NG_ELEMENT_ID__:Oe}),up=Oe({__NG_ENV_ID__:Oe});function dp(e,n,t){let r=e.length;for(;;){const i=e.indexOf(n,t);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const o=n.length;if(i+o===r||e.charCodeAt(i+o)<=32)return i}t=i+1}}function jc(e,n,t){let r=0;for(;rn){s=o-1;break}}}for(;oo?"":i[d+1].toLowerCase();const g=8&r?p:null;if(g&&-1!==dp(g,c,0)||2&r&&c!==p){if(En(r))return!1;s=!0}}}}else{if(!s&&!En(r)&&!En(l))return!1;if(s&&En(l))continue;s=!1,r=l|1&r}}return En(r)||s}function En(e){return 0==(1&e)}function pE(e,n,t,r){if(null===n)return-1;let i=0;if(r||!t){let o=!1;for(;i-1)for(t++;t0?'="'+a+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""!==i&&!En(s)&&(n+=vp(o,i),i=""),r=s,o=o||!En(r);t++}return""!==i&&(n+=vp(o,i)),n}function Ei(e){return ir(()=>{const n=bp(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ln.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||on.Emulated,styles:e.styles||De,_:null,schemas:e.schemas||null,tView:null,id:""};Cp(t);const r=e.dependencies;return t.directiveDefs=da(r,!1),t.pipeDefs=da(r,!0),t.id=function AE(e){let n=0;const t=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const i of t)n=Math.imul(31,n)+i.charCodeAt(0)<<0;return n+=2147483648,"c"+n}(t),t})}function DE(e){return Me(e)||It(e)}function SE(e){return null!==e}function dt(e){return ir(()=>({type:e.type,bootstrap:e.bootstrap||De,declarations:e.declarations||De,imports:e.imports||De,exports:e.exports||De,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function yp(e,n){if(null==e)return Vn;const t={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),t[i]=r,n&&(n[i]=o)}return t}function X(e){return ir(()=>{const n=bp(e);return Cp(n),n})}function Wt(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function Me(e){return e[ua]||null}function It(e){return e[Bc]||null}function qt(e){return e[Hc]||null}function sn(e,n){const t=e[cp]||null;if(!t&&!0===n)throw new Error(`Type ${ut(e)} does not have '\u0275mod' property.`);return t}function bp(e){const n={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:e.inputs||Vn,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||De,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:yp(e.inputs,n),outputs:yp(e.outputs)}}function Cp(e){e.features?.forEach(n=>n(e))}function da(e,n){if(!e)return null;const t=n?qt:DE;return()=>("function"==typeof e?e():e).map(r=>t(r)).filter(SE)}const ht=0,H=1,ce=2,Ge=3,Mn=4,Ro=5,Tt=6,Ai=7,Ke=8,Ii=9,Br=10,ue=11,Po=12,wp=13,Ti=14,Xe=15,No=16,Oi=17,Bn=18,ko=19,Dp=20,Sr=21,sr=22,ha=23,fa=24,_e=25,Uc=1,Sp=2,Hn=7,xi=9,Ot=11;function an(e){return Array.isArray(e)&&"object"==typeof e[Uc]}function Zt(e){return Array.isArray(e)&&!0===e[Uc]}function $c(e){return 0!=(4&e.flags)}function Hr(e){return e.componentOffset>-1}function ga(e){return 1==(1&e.flags)}function An(e){return!!e.template}function zc(e){return 0!=(512&e[ce])}function jr(e,n){return e.hasOwnProperty(or)?e[or]:null}let PE=ke.WeakRef??class RE{constructor(n){this.ref=n}deref(){return this.ref}},kE=0,jn=null,ma=!1;function vt(e){const n=jn;return jn=e,n}class Tp{constructor(){this.id=kE++,this.ref=function NE(e){return new PE(e)}(this),this.producers=new Map,this.consumers=new Map,this.trackingVersion=0,this.valueVersion=0}consumerPollProducersForChange(){for(const[n,t]of this.producers){const r=t.producerNode.deref();if(null!=r&&t.atTrackingVersion===this.trackingVersion){if(r.producerPollStatus(t.seenValueVersion))return!0}else this.producers.delete(n),r?.consumers.delete(this.id)}return!1}producerMayHaveChanged(){const n=ma;ma=!0;try{for(const[t,r]of this.consumers){const i=r.consumerNode.deref();null!=i&&i.trackingVersion===r.atTrackingVersion?i.onConsumerDependencyMayHaveChanged():(this.consumers.delete(t),i?.producers.delete(this.id))}}finally{ma=n}}producerAccessed(){if(ma)throw new Error("");if(null===jn)return;let n=jn.producers.get(this.id);void 0===n?(n={consumerNode:jn.ref,producerNode:this.ref,seenValueVersion:this.valueVersion,atTrackingVersion:jn.trackingVersion},jn.producers.set(this.id,n),this.consumers.set(jn.id,n)):(n.seenValueVersion=this.valueVersion,n.atTrackingVersion=jn.trackingVersion)}get hasProducers(){return this.producers.size>0}get producerUpdatesAllowed(){return!1!==jn?.consumerAllowSignalWrites}producerPollStatus(n){return this.valueVersion!==n||(this.onProducerUpdateValueVersion(),this.valueVersion!==n)}}let Op=null;const Rp=()=>{};class BE extends Tp{constructor(n,t,r){super(),this.watch=n,this.schedule=t,this.dirty=!1,this.cleanupFn=Rp,this.registerOnCleanup=i=>{this.cleanupFn=i},this.consumerAllowSignalWrites=r}notify(){this.dirty||this.schedule(this),this.dirty=!0}onConsumerDependencyMayHaveChanged(){this.notify()}onProducerUpdateValueVersion(){}run(){if(this.dirty=!1,0!==this.trackingVersion&&!this.consumerPollProducersForChange())return;const n=vt(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=Rp,this.watch(this.registerOnCleanup)}finally{vt(n)}}cleanup(){this.cleanupFn()}}class HE{constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}}function Ft(){return Pp}function Pp(e){return e.type.prototype.ngOnChanges&&(e.setInput=UE),jE}function jE(){const e=kp(this),n=e?.current;if(n){const t=e.previous;if(t===Vn)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function UE(e,n,t,r){const i=this.declaredInputs[t],o=kp(e)||function $E(e,n){return e[Np]=n}(e,{previous:Vn,current:null}),s=o.current||(o.current={}),a=o.previous,l=a[i];s[i]=new HE(l&&l.currentValue,n,a===Vn),e[r]=n}Ft.ngInherit=!0;const Np="__ngSimpleChanges__";function kp(e){return e[Np]||null}const Un=function(e,n,t){};function Be(e){for(;Array.isArray(e);)e=e[ht];return e}function ya(e,n){return Be(n[e])}function Yt(e,n){return Be(n[e.index])}function Vp(e,n){return e.data[n]}function Ri(e,n){return e[n]}function ln(e,n){const t=n[e];return an(t)?t:t[ht]}function Er(e,n){return null==n?null:e[n]}function Bp(e){e[Oi]=0}function KE(e){1024&e[ce]||(e[ce]|=1024,jp(e,1))}function Hp(e){1024&e[ce]&&(e[ce]&=-1025,jp(e,-1))}function jp(e,n){let t=e[Ge];if(null===t)return;t[Ro]+=n;let r=t;for(t=t[Ge];null!==t&&(1===n&&1===r[Ro]||-1===n&&0===r[Ro]);)t[Ro]+=n,r=t,t=t[Ge]}const ie={lFrame:Qp(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function zp(){return ie.bindingsEnabled}function Pi(){return null!==ie.skipHydrationRootTNode}function I(){return ie.lFrame.lView}function Ce(){return ie.lFrame.tView}function xe(e){return ie.lFrame.contextLView=e,e[Ke]}function Re(e){return ie.lFrame.contextLView=null,e}function Dt(){let e=Gp();for(;null!==e&&64===e.type;)e=e.parent;return e}function Gp(){return ie.lFrame.currentTNode}function $n(e,n){const t=ie.lFrame;t.currentTNode=e,t.isParent=n}function Kc(){return ie.lFrame.isParent}function Xc(){ie.lFrame.isParent=!1}function Lt(){const e=ie.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Ni(){return ie.lFrame.bindingIndex++}function lr(e){const n=ie.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function lM(e,n){const t=ie.lFrame;t.bindingIndex=t.bindingRootIndex=e,Qc(n)}function Qc(e){ie.lFrame.currentDirectiveIndex=e}function Yp(){return ie.lFrame.currentQueryIndex}function eu(e){ie.lFrame.currentQueryIndex=e}function uM(e){const n=e[H];return 2===n.type?n.declTNode:1===n.type?e[Tt]:null}function Kp(e,n,t){if(t&Q.SkipSelf){let i=n,o=e;for(;!(i=i.parent,null!==i||t&Q.Host||(i=uM(o),null===i||(o=o[Ti],10&i.type))););if(null===i)return!1;n=i,e=o}const r=ie.lFrame=Xp();return r.currentTNode=n,r.lView=e,!0}function tu(e){const n=Xp(),t=e[H];ie.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function Xp(){const e=ie.lFrame,n=null===e?null:e.child;return null===n?Qp(e):n}function Qp(e){const n={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=n),n}function Jp(){const e=ie.lFrame;return ie.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const eg=Jp;function nu(){const e=Jp();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 Vt(){return ie.lFrame.selectedIndex}function Ur(e){ie.lFrame.selectedIndex=e}function We(){const e=ie.lFrame;return Vp(e.tView,e.selectedIndex)}let ng=!0;function ba(){return ng}function Mr(e){ng=e}function Ca(e,n){for(let t=n.directiveStart,r=n.directiveEnd;t=r)break}else n[l]<0&&(e[Oi]+=65536),(a>13>16&&(3&e[ce])===n&&(e[ce]+=8192,ig(a,o)):ig(a,o)}const ki=-1;class Vo{constructor(n,t,r){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=r}}function og(e){return e!==ki}function Sa(e){return 32767&e}function Ea(e,n){let t=function wM(e){return e>>16}(e),r=n;for(;t>0;)r=r[Ti],t--;return r}let ou=!0;function Ma(e){const n=ou;return ou=e,n}const sg=255,ag=5;let DM=0;const zn={};function Aa(e,n){const t=lg(e,n);if(-1!==t)return t;const r=n[H];r.firstCreatePass&&(e.injectorIndex=n.length,su(r.data,e),su(n,null),su(r.blueprint,null));const i=au(e,n),o=e.injectorIndex;if(og(i)){const s=Sa(i),a=Ea(i,n),l=a[H].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=i,o}function su(e,n){e.push(0,0,0,0,0,0,0,0,n)}function lg(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function au(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let t=0,r=null,i=n;for(;null!==i;){if(r=gg(i),null===r)return ki;if(t++,i=i[Ti],-1!==r.injectorIndex)return r.injectorIndex|t<<16}return ki}function lu(e,n,t){!function SM(e,n,t){let r;"string"==typeof t?r=t.charCodeAt(0)||0:t.hasOwnProperty(Oo)&&(r=t[Oo]),null==r&&(r=t[Oo]=DM++);const i=r&sg;n.data[e+(i>>ag)]|=1<=0?n&sg:IM:n}(t);if("function"==typeof o){if(!Kp(n,e,r))return r&Q.Host?cg(i,0,r):ug(n,t,r,i);try{const s=o(r);if(null!=s||r&Q.Optional)return s;oa()}finally{eg()}}else if("number"==typeof o){let s=null,a=lg(e,n),l=ki,c=r&Q.Host?n[Xe][Tt]:null;for((-1===a||r&Q.SkipSelf)&&(l=-1===a?au(e,n):n[a+8],l!==ki&&pg(r,!1)?(s=n[H],a=Sa(l),n=Ea(l,n)):a=-1);-1!==a;){const u=n[H];if(fg(o,a,u.data)){const d=MM(a,n,t,s,r,c);if(d!==zn)return d}l=n[a+8],l!==ki&&pg(r,n[H].data[a+8]===c)&&fg(o,a,n)?(s=u,a=Sa(l),n=Ea(l,n)):a=-1}}return i}function MM(e,n,t,r,i,o){const s=n[H],a=s.data[e+8],u=Ia(a,s,t,null==r?Hr(a)&&ou:r!=s&&0!=(3&a.type),i&Q.Host&&o===a);return null!==u?$r(n,s,u,a):zn}function Ia(e,n,t,r,i){const o=e.providerIndexes,s=n.data,a=1048575&o,l=e.directiveStart,u=o>>20,p=i?a+u:e.directiveEnd;for(let g=r?a:a+u;g=l&&y.type===t)return g}if(i){const g=s[l];if(g&&An(g)&&g.type===t)return l}return null}function $r(e,n,t,r){let i=e[t];const o=n.data;if(function yM(e){return e instanceof Vo}(i)){const s=i;s.resolving&&function YS(e,n){const t=n?`. Dependency path: ${n.join(" > ")} > ${e}`:"";throw new O(-200,`Circular dependency in DI detected for ${e}${t}`)}(function Ae(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ae(e)}(o[t]));const a=Ma(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?Gt(s.injectImpl):null;Kp(e,r,Q.Default);try{i=e[t]=s.factory(void 0,o,e,r),n.firstCreatePass&&t>=r.directiveStart&&function _M(e,n,t){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=n.type.prototype;if(r){const s=Pp(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}i&&(t.preOrderHooks??=[]).push(0-e,i),o&&((t.preOrderHooks??=[]).push(e,o),(t.preOrderCheckHooks??=[]).push(e,o))}(t,o[t],n)}finally{null!==l&&Gt(l),Ma(a),s.resolving=!1,eg()}}return i}function fg(e,n,t){return!!(t[n+(e>>ag)]&1<{const n=e.prototype.constructor,t=n[or]||cu(n),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const o=i[or]||cu(i);if(o&&o!==t)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function cu(e){return Pc(e)?()=>{const n=cu(se(e));return n&&n()}:jr(e)}function gg(e){const n=e[H],t=n.type;return 2===t?n.declTNode:1===t?e[Tt]:null}function Bo(e){return function EM(e,n){if("class"===n)return e.classes;if("style"===n)return e.styles;const t=e.attrs;if(t){const r=t.length;let i=0;for(;i{const r=function uu(e){return function(...t){if(e){const r=e(...t);for(const i in r)this[i]=r[i]}}}(n);function i(...o){if(this instanceof i)return r.apply(this,o),this;const s=new i(...o);return a.annotation=s,a;function a(l,c,u){const d=l.hasOwnProperty(Vi)?l[Vi]:Object.defineProperty(l,Vi,{value:[]})[Vi];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return t&&(i.prototype=Object.create(t.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}function Uo(e,n){e.forEach(t=>Array.isArray(t)?Uo(t,n):n(t))}function _g(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Ta(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function $o(e,n){const t=[];for(let r=0;r=0?e[1|r]=t:(r=~r,function NM(e,n,t,r){let i=e.length;if(i==n)e.push(t,r);else if(1===i)e.push(r,e[0]),e[0]=t;else{for(i--,e.push(e[i-1],e[i]);i>n;)e[i]=e[i-2],i--;e[n]=t,e[n+1]=r}}(e,r,n,t)),r}function du(e,n){const t=ji(e,n);if(t>=0)return e[1|t]}function ji(e,n){return function vg(e,n,t){let r=0,i=e.length>>t;for(;i!==r;){const o=r+(i-r>>1),s=e[o<n?i=o:r=o+1}return~(i<((Kt=Kt||{})[Kt.Important=1]="Important",Kt[Kt.DashCase=2]="DashCase",Kt))();const t0=/^>|^->||--!>|)/,r0="\u200b$1\u200b";const mu=new Map;let o0=0;const vu="__ngContext__";function xt(e,n){an(n)?(e[vu]=n[ko],function a0(e){mu.set(e[ko],e)}(n)):e[vu]=n}let yu;function bu(e,n){return yu(e,n)}function Wo(e){const n=e[Ge];return Zt(n)?n[Ge]:n}function Vg(e){return Hg(e[Po])}function Bg(e){return Hg(e[Mn])}function Hg(e){for(;null!==e&&!Zt(e);)e=e[Mn];return e}function zi(e,n,t,r,i){if(null!=r){let o,s=!1;Zt(r)?o=r:an(r)&&(s=!0,r=r[ht]);const a=Be(r);0===e&&null!==t?null==i?Gg(n,t,a):zr(n,t,a,i||null,!0):1===e&&null!==t?zr(n,t,a,i||null,!0):2===e?function $a(e,n,t){const r=ja(e,n);r&&function M0(e,n,t,r){e.removeChild(n,t,r)}(e,r,n,t)}(n,a,s):3===e&&n.destroyNode(a),null!=o&&function T0(e,n,t,r,i){const o=t[Hn];o!==Be(t)&&zi(n,e,r,o,i);for(let a=Ot;an.replace(n0,r0))}(n))}function Ha(e,n,t){return e.createElement(n,t)}function Ug(e,n){const t=e[xi],r=t.indexOf(n);Hp(n),t.splice(r,1)}function wu(e,n){if(e.length<=Ot)return;const t=Ot+n,r=e[t];if(r){const i=r[No];null!==i&&i!==e&&Ug(i,r),n>0&&(e[t-1][Mn]=r[Mn]);const o=Ta(e,Ot+n);!function v0(e,n){Zo(e,n,n[ue],2,null,null),n[ht]=null,n[Tt]=null}(r[H],r);const s=o[Bn];null!==s&&s.detachView(o[H]),r[Ge]=null,r[Mn]=null,r[ce]&=-129}return r}function $g(e,n){if(!(256&n[ce])){const t=n[ue];n[ha]?.destroy(),n[fa]?.destroy(),t.destroyNode&&Zo(e,n,t,3,null,null),function C0(e){let n=e[Po];if(!n)return Du(e[H],e);for(;n;){let t=null;if(an(n))t=n[Po];else{const r=n[Ot];r&&(t=r)}if(!t){for(;n&&!n[Mn]&&n!==e;)an(n)&&Du(n[H],n),n=n[Ge];null===n&&(n=e),an(n)&&Du(n[H],n),t=n&&n[Mn]}n=t}}(n)}}function Du(e,n){if(!(256&n[ce])){n[ce]&=-129,n[ce]|=256,function E0(e,n){let t;if(null!=e&&null!=(t=e.destroyHooks))for(let r=0;r=0?r[s]():r[-s].unsubscribe(),o+=2}else t[o].call(r[t[o+1]]);null!==r&&(n[Ai]=null);const i=n[Sr];if(null!==i){n[Sr]=null;for(let o=0;o-1){const{encapsulation:o}=e.data[r.directiveStart+i];if(o===on.None||o===on.Emulated)return null}return Yt(r,t)}}(e,n.parent,t)}function zr(e,n,t,r,i){e.insertBefore(n,t,r,i)}function Gg(e,n,t){e.appendChild(n,t)}function Wg(e,n,t,r,i){null!==r?zr(e,n,t,r,i):Gg(e,n,t)}function ja(e,n){return e.parentNode(n)}function qg(e,n,t){return Yg(e,n,t)}let Eu,za,Tu,Ga,Yg=function Zg(e,n,t){return 40&e.type?Yt(e,t):null};function Ua(e,n,t,r){const i=Su(e,r,n),o=n[ue],a=qg(r.parent||n[Tt],r,n);if(null!=i)if(Array.isArray(t))for(let l=0;le,createScript:e=>e,createScriptURL:e=>e})}catch{}return za}()?.createHTML(e)||e}function Yo(){if(void 0!==Tu)return Tu;if(typeof document<"u")return document;throw new O(210,!1)}function Ou(){if(void 0===Ga&&(Ga=null,ke.trustedTypes))try{Ga=ke.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ga}function nm(e){return Ou()?.createHTML(e)||e}function im(e){return Ou()?.createScriptURL(e)||e}class Gr{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${tp})`}}class F0 extends Gr{getTypeName(){return"HTML"}}class L0 extends Gr{getTypeName(){return"Style"}}class V0 extends Gr{getTypeName(){return"Script"}}class B0 extends Gr{getTypeName(){return"URL"}}class H0 extends Gr{getTypeName(){return"ResourceURL"}}function un(e){return e instanceof Gr?e.changingThisBreaksApplicationSecurity:e}function Gn(e,n){const t=function j0(e){return e instanceof Gr&&e.getTypeName()||null}(e);if(null!=t&&t!==n){if("ResourceURL"===t&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${tp})`)}return t===n}class q0{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{const t=(new window.DOMParser).parseFromString(Gi(n),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.removeChild(t.firstChild),t)}catch{return null}}}class Z0{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const t=this.inertDocument.createElement("template");return t.innerHTML=Gi(n),t}}const K0=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Wa(e){return(e=String(e)).match(K0)?e:"unsafe:"+e}function cr(e){const n={};for(const t of e.split(","))n[t]=!0;return n}function Ko(...e){const n={};for(const t of e)for(const r in t)t.hasOwnProperty(r)&&(n[r]=!0);return n}const sm=cr("area,br,col,hr,img,wbr"),am=cr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),lm=cr("rp,rt"),xu=Ko(sm,Ko(am,cr("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Ko(lm,cr("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Ko(lm,am)),Ru=cr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),cm=Ko(Ru,cr("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),cr("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),X0=cr("script,style,template");class Q0{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let t=n.firstChild,r=!0;for(;t;)if(t.nodeType===Node.ELEMENT_NODE?r=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,r&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let i=this.checkClobberedElement(t,t.nextSibling);if(i){t=i;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(n){const t=n.nodeName.toLowerCase();if(!xu.hasOwnProperty(t))return this.sanitizedSomething=!0,!X0.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const r=n.attributes;for(let i=0;i"),!0}endElement(n){const t=n.nodeName.toLowerCase();xu.hasOwnProperty(t)&&!sm.hasOwnProperty(t)&&(this.buf.push(""))}chars(n){this.buf.push(um(n))}checkClobberedElement(n,t){if(t&&(n.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`);return t}}const J0=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,eA=/([^\#-~ |!])/g;function um(e){return e.replace(/&/g,"&").replace(J0,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(eA,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}let qa;function dm(e,n){let t=null;try{qa=qa||function om(e){const n=new Z0(e);return function Y0(){try{return!!(new window.DOMParser).parseFromString(Gi(""),"text/html")}catch{return!1}}()?new q0(n):n}(e);let r=n?String(n):"";t=qa.getInertBodyElement(r);let i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=t.innerHTML,t=qa.getInertBodyElement(r)}while(r!==o);return Gi((new Q0).sanitizeChildren(Pu(t)||t))}finally{if(t){const r=Pu(t)||t;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Pu(e){return"content"in e&&function tA(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Fe=(()=>((Fe=Fe||{})[Fe.NONE=0]="NONE",Fe[Fe.HTML=1]="HTML",Fe[Fe.STYLE=2]="STYLE",Fe[Fe.SCRIPT=3]="SCRIPT",Fe[Fe.URL=4]="URL",Fe[Fe.RESOURCE_URL=5]="RESOURCE_URL",Fe))();function In(e){const n=Xo();return n?nm(n.sanitize(Fe.HTML,e)||""):Gn(e,"HTML")?nm(un(e)):dm(Yo(),ae(e))}function hm(e){const n=Xo();return n?n.sanitize(Fe.URL,e)||"":Gn(e,"URL")?un(e):Wa(ae(e))}function fm(e){const n=Xo();if(n)return im(n.sanitize(Fe.RESOURCE_URL,e)||"");if(Gn(e,"ResourceURL"))return im(un(e));throw new O(904,!1)}function Xo(){const e=I();return e&&e[Br].sanitizer}class ${constructor(n,t){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=U({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Qo=new $("ENVIRONMENT_INITIALIZER"),gm=new $("INJECTOR",-1),mm=new $("INJECTOR_DEF_TYPES");class _m{get(n,t=Io){if(t===Io){const r=new Error(`NullInjectorError: No provider for ${ut(n)}!`);throw r.name="NullInjectorError",r}return t}}function aA(...e){return{\u0275providers:ym(0,e),\u0275fromNgModule:!0}}function ym(e,...n){const t=[],r=new Set;let i;return Uo(n,o=>{const s=o;Nu(s,t,[],r)&&(i||=[],i.push(s))}),void 0!==i&&bm(i,t),t}function bm(e,n){for(let t=0;t{n.push(o)})}}function Nu(e,n,t,r){if(!(e=se(e)))return!1;let i=null,o=rp(e);const s=!o&&Me(e);if(o||s){if(s&&!s.standalone)return!1;i=e}else{const l=e.ngModule;if(o=rp(l),!o)return!1;i=l}const a=r.has(i);if(s){if(a)return!1;if(r.add(i),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)Nu(c,n,t,r)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;r.add(i);try{Uo(o.imports,u=>{Nu(u,n,t,r)&&(c||=[],c.push(u))})}finally{}void 0!==c&&bm(c,n)}if(!a){const c=jr(i)||(()=>new i);n.push({provide:i,useFactory:c,deps:De},{provide:mm,useValue:i,multi:!0},{provide:Qo,useValue:()=>P(i),multi:!0})}const l=o.providers;null==l||a||ku(l,u=>{n.push(u)})}}return i!==e&&void 0!==e.providers}function ku(e,n){for(let t of e)Nc(t)&&(t=t.\u0275providers),Array.isArray(t)?ku(t,n):n(t)}const lA=Oe({provide:String,useValue:Oe});function Fu(e){return null!==e&&"object"==typeof e&&lA in e}function Wr(e){return"function"==typeof e}const Lu=new $("Set Injector scope."),Za={},uA={};let Vu;function Ya(){return void 0===Vu&&(Vu=new _m),Vu}class ur{}class Bu extends ur{get destroyed(){return this._destroyed}constructor(n,t,r,i){super(),this.parent=t,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,ju(n,s=>this.processProvider(s)),this.records.set(gm,Wi(void 0,this)),i.has("environment")&&this.records.set(ur,Wi(void 0,this));const o=this.records.get(Lu);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(mm.multi,De,Q.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const t of n)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const t=Dr(this),r=Gt(void 0);try{return n()}finally{Dr(t),Gt(r)}}get(n,t=Io,r=Q.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(up))return n[up](this);r=ca(r);const i=Dr(this),o=Gt(void 0);try{if(!(r&Q.SkipSelf)){let a=this.records.get(n);if(void 0===a){const l=function gA(e){return"function"==typeof e||"object"==typeof e&&e instanceof $}(n)&&sa(n);a=l&&this.injectableDefInScope(l)?Wi(Hu(n),Za):null,this.records.set(n,a)}if(null!=a)return this.hydrate(n,a)}return(r&Q.Self?Ya():this.parent).get(n,t=r&Q.Optional&&t===Io?null:t)}catch(s){if("NullInjectorError"===s.name){if((s[la]=s[la]||[]).unshift(ut(n)),i)throw s;return function cE(e,n,t,r){const i=e[la];throw n[ap]&&i.unshift(n[ap]),e.message=function uE(e,n,t,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=ut(n);if(Array.isArray(n))i=n.map(ut).join(" -> ");else if("object"==typeof n){let o=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):ut(a)))}i=`{${o.join(", ")}}`}return`${t}${r?"("+r+")":""}[${i}]: ${e.replace(iE,"\n ")}`}("\n"+e.message,i,t,r),e.ngTokenPath=i,e[la]=null,e}(s,n,"R3InjectorError",this.source)}throw s}finally{Gt(o),Dr(i)}}resolveInjectorInitializers(){const n=Dr(this),t=Gt(void 0);try{const r=this.get(Qo.multi,De,Q.Self);for(const i of r)i()}finally{Dr(n),Gt(t)}}toString(){const n=[],t=this.records;for(const r of t.keys())n.push(ut(r));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new O(205,!1)}processProvider(n){let t=Wr(n=se(n))?n:se(n&&n.provide);const r=function hA(e){return Fu(e)?Wi(void 0,e.useValue):Wi(Dm(e),Za)}(n);if(Wr(n)||!0!==n.multi)this.records.get(t);else{let i=this.records.get(t);i||(i=Wi(void 0,Za,!0),i.factory=()=>Vc(i.multi),this.records.set(t,i)),t=n,i.multi.push(n)}this.records.set(t,r)}hydrate(n,t){return t.value===Za&&(t.value=uA,t.value=t.factory()),"object"==typeof t.value&&t.value&&function pA(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}injectableDefInScope(n){if(!n.providedIn)return!1;const t=se(n.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){const t=this._onDestroyHooks.indexOf(n);-1!==t&&this._onDestroyHooks.splice(t,1)}}function Hu(e){const n=sa(e),t=null!==n?n.factory:jr(e);if(null!==t)return t;if(e instanceof $)throw new O(204,!1);if(e instanceof Function)return function dA(e){const n=e.length;if(n>0)throw $o(n,"?"),new O(204,!1);const t=function tE(e){return e&&(e[aa]||e[ip])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new O(204,!1)}function Dm(e,n,t){let r;if(Wr(e)){const i=se(e);return jr(i)||Hu(i)}if(Fu(e))r=()=>se(e.useValue);else if(function wm(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Vc(e.deps||[]));else if(function Cm(e){return!(!e||!e.useExisting)}(e))r=()=>P(se(e.useExisting));else{const i=se(e&&(e.useClass||e.provide));if(!function fA(e){return!!e.deps}(e))return jr(i)||Hu(i);r=()=>new i(...Vc(e.deps))}return r}function Wi(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function ju(e,n){for(const t of e)Array.isArray(t)?ju(t,n):t&&Nc(t)?ju(t.\u0275providers,n):n(t)}const Ka=new $("AppId",{providedIn:"root",factory:()=>mA}),mA="ng",Sm=new $("Platform Initializer"),dr=new $("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),_A=new $("AnimationModuleType"),Em=new $("CSP nonce",{providedIn:"root",factory:()=>Yo().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Am=(e,n)=>null;function Im(e,n){return Am(e,n)}class MA{}class xm{}class IA{resolveComponentFactory(n){throw function AA(e){const n=Error(`No component factory found for ${ut(e)}.`);return n.ngComponent=e,n}(n)}}let ns=(()=>{class e{}return e.NULL=new IA,e})();function TA(){return qi(Dt(),I())}function qi(e,n){return new pt(Yt(e,n))}let pt=(()=>{class e{constructor(t){this.nativeElement=t}}return e.__NG_ELEMENT_ID__=TA,e})();function OA(e){return e instanceof pt?e.nativeElement:e}class Pm{}let hr=(()=>{class e{constructor(){this.destroyNode=null}}return e.__NG_ELEMENT_ID__=()=>function xA(){const e=I(),t=ln(Dt().index,e);return(an(t)?t:e)[ue]}(),e})(),RA=(()=>{class e{}return e.\u0275prov=U({token:e,providedIn:"root",factory:()=>null}),e})();class rs{constructor(n){this.full=n,this.major=n.split(".")[0],this.minor=n.split(".")[1],this.patch=n.split(".").slice(2).join(".")}}const PA=new rs("16.1.6"),Qu={};function is(e){for(;e;){e[ce]|=64;const n=Wo(e);if(zc(e)&&!n)return e;e=n}return null}function Ju(e){return e.ngOriginalError}class qr{constructor(){this._console=console}handleError(n){const t=this._findOriginalError(n);this._console.error("ERROR",n),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(n){let t=n&&Ju(n);for(;t&&Ju(t);)t=Ju(t);return t||null}}const Fm=new $("",{providedIn:"root",factory:()=>!1});function Lm(e){return e.ownerDocument}function fr(e){return e instanceof Function?e():e}class Um extends Tp{constructor(){super(...arguments),this.consumerAllowSignalWrites=!1,this._lView=null}set lView(n){this._lView=n}onConsumerDependencyMayHaveChanged(){is(this._lView)}onProducerUpdateValueVersion(){}get hasReadASignal(){return this.hasProducers}runInContext(n,t,r){const i=vt(this);this.trackingVersion++;try{n(t,r)}finally{vt(i)}}destroy(){this.trackingVersion++}}let nl=null;function $m(){return nl??=new Um,nl}function zm(e,n){return e[n]??$m()}function Gm(e,n){const t=$m();t.hasReadASignal&&(e[n]=nl,t.lView=e,nl=new Um)}const de={};function w(e){Wm(Ce(),I(),Vt()+e,!1)}function Wm(e,n,t,r){if(!r)if(3==(3&n[ce])){const o=e.preOrderCheckHooks;null!==o&&wa(n,o,t)}else{const o=e.preOrderHooks;null!==o&&Da(n,o,0,t)}Ur(t)}function Km(e,n=null,t=null,r){const i=Xm(e,n,t,r);return i.resolveInjectorInitializers(),i}function Xm(e,n=null,t=null,r,i=new Set){const o=[t||De,aA(e)];return r=r||("object"==typeof e?void 0:ut(e)),new Bu(o,n||Ya(),r||null,i)}let dn=(()=>{class e{static create(t,r){if(Array.isArray(t))return Km({name:""},r,t,"");{const i=t.name??"";return Km({name:i},t.parent,t.providers,i)}}}return e.THROW_IF_NOT_FOUND=Io,e.NULL=new _m,e.\u0275prov=U({token:e,providedIn:"any",factory:()=>P(gm)}),e.__NG_ELEMENT_ID__=-1,e})();function M(e,n=Q.Default){const t=I();return null===t?P(e,n):dg(Dt(),t,se(e),n)}function rl(e,n,t,r,i,o,s,a,l,c,u){const d=n.blueprint.slice();return d[ht]=i,d[ce]=140|r,(null!==c||e&&2048&e[ce])&&(d[ce]|=2048),Bp(d),d[Ge]=d[Ti]=e,d[Ke]=t,d[Br]=s||e&&e[Br],d[ue]=a||e&&e[ue],d[Ii]=l||e&&e[Ii]||null,d[Tt]=o,d[ko]=function s0(){return o0++}(),d[sr]=u,d[Dp]=c,d[Xe]=2==n.type?e[Xe]:d,d}function Yi(e,n,t,r,i){let o=e.data[n];if(null===o)o=function ed(e,n,t,r,i){const o=Gp(),s=Kc(),l=e.data[n]=function JA(e,n,t,r,i,o){let s=n?n.injectorIndex:-1,a=0;return Pi()&&(a|=128),{type:t,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?o:o&&o.parent,t,n,r,i);return null===e.firstChild&&(e.firstChild=l),null!==o&&(s?null==o.child&&null!==l.parent&&(o.child=l):null===o.next&&(o.next=l,l.prev=o)),l}(e,n,t,r,i),function aM(){return ie.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=t,o.value=r,o.attrs=i;const s=function Lo(){const e=ie.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}();o.injectorIndex=null===s?-1:s.injectorIndex}return $n(o,!0),o}function os(e,n,t,r){if(0===t)return-1;const i=n.length;for(let o=0;o_e&&Wm(e,n,_e,!1),Un(a?2:0,i),a)o.runInContext(t,r,i);else{const c=vt(null);try{t(r,i)}finally{vt(c)}}}finally{a&&null===n[ha]&&Gm(n,ha),Ur(s),Un(a?3:1,i)}}function td(e,n,t){if($c(n)){const r=vt(null);try{const o=n.directiveEnd;for(let s=n.directiveStart;snull;function n_(e,n,t,r){for(let i in e)if(e.hasOwnProperty(i)){t=null===t?{}:t;const o=e[i];null===r?r_(t,n,i,o):r.hasOwnProperty(i)&&r_(t,n,r[i],o)}return t}function r_(e,n,t,r){e.hasOwnProperty(t)?e[t].push(n,r):e[t]=[n,r]}function hn(e,n,t,r,i,o,s,a){const l=Yt(n,t);let u,c=n.inputs;!a&&null!=c&&(u=c[r])?(cd(e,t,u,r,i),Hr(n)&&function nI(e,n){const t=ln(n,e);16&t[ce]||(t[ce]|=64)}(t,n.index)):3&n.type&&(r=function tI(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=s?s(i,n.value||"",r):i,o.setProperty(l,r,i))}function od(e,n,t,r){if(zp()){const i=null===r?null:{"":-1},o=function lI(e,n){const t=e.directiveRegistry;let r=null,i=null;if(t)for(let o=0;o0;){const t=e[--n];if("number"==typeof t&&t<0)return t}return 0})(s)!=a&&s.push(a),s.push(t,r,o)}}(e,n,r,os(e,t,i.hostVars,de),i)}function Wn(e,n,t,r,i,o){const s=Yt(e,n);!function ad(e,n,t,r,i,o,s){if(null==o)e.removeAttribute(n,i,t);else{const a=null==s?ae(o):s(o,r||"",i);e.setAttribute(n,i,a,t)}}(n[ue],s,o,e.value,t,r,i)}function pI(e,n,t,r,i,o){const s=o[n];if(null!==s)for(let a=0;a{class e{constructor(){this.all=new Set,this.queue=new Map}create(t,r,i){const o=typeof Zone>"u"?null:Zone.current,s=new BE(t,c=>{this.all.has(c)&&this.queue.set(c,o)},i);let a;this.all.add(s),s.notify();const l=()=>{s.cleanup(),a?.(),this.all.delete(s),this.queue.delete(s)};return a=r?.onDestroy(l),{destroy:l}}flush(){if(0!==this.queue.size)for(const[t,r]of this.queue)this.queue.delete(t),r?r.run(()=>t.run()):t.run()}get isQueueEmpty(){return 0===this.queue.size}}return e.\u0275prov=U({token:e,providedIn:"root",factory:()=>new e}),e})();function ol(e,n,t){let r=t?e.styles:null,i=t?e.classes:null,o=0;if(null!==n)for(let s=0;s0){g_(e,1);const i=e[H].components;null!==i&&__(e,i,1)}}function __(e,n,t){for(let r=0;r-1&&(wu(n,r),Ta(t,r))}this._attachedToViewContainer=!1}$g(this._lView[H],this._lView)}onDestroy(n){!function Up(e,n){if(256==(256&e[ce]))throw new O(911,!1);null===e[Sr]&&(e[Sr]=[]),e[Sr].push(n)}(this._lView,n)}markForCheck(){is(this._cdRefInjectingView||this._lView)}detach(){this._lView[ce]&=-129}reattach(){this._lView[ce]|=128}detectChanges(){sl(this._lView[H],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new O(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function b0(e,n){Zo(e,n,n[ue],2,null,null)}(this._lView[H],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new O(902,!1);this._appRef=n}}class EI extends as{constructor(n){super(n),this._view=n}detectChanges(){const n=this._view;sl(n[H],n,n[Ke],!1)}checkNoChanges(){}get context(){return null}}class v_ extends ns{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const t=Me(n);return new ls(t,this.ngModule)}}function y_(e){const n=[];for(let t in e)e.hasOwnProperty(t)&&n.push({propName:e[t],templateName:t});return n}class AI{constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,r){r=ca(r);const i=this.injector.get(n,Qu,r);return i!==Qu||t===Qu?i:this.parentInjector.get(n,t,r)}}class ls extends xm{get inputs(){const n=this.componentDef,t=n.inputTransforms,r=y_(n.inputs);if(null!==t)for(const i of r)t.hasOwnProperty(i.propName)&&(i.transform=t[i.propName]);return r}get outputs(){return y_(this.componentDef.outputs)}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=function bE(e){return e.map(yE).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!t}create(n,t,r,i){let o=(i=i||this.ngModule)instanceof ur?i:i?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const s=o?new AI(n,o):n,a=s.get(Pm,null);if(null===a)throw new O(407,!1);const u={rendererFactory:a,sanitizer:s.get(RA,null),effectManager:s.get(f_,null)},d=a.createRenderer(null,this.componentDef),p=this.componentDef.selectors[0][0]||"div",g=r?function ZA(e,n,t,r){const o=r.get(Fm,!1)||t===on.ShadowDom,s=e.selectRootElement(n,o);return function YA(e){t_(e)}(s),s}(d,r,this.componentDef.encapsulation,s):Ha(d,p,function MI(e){const n=e.toLowerCase();return"svg"===n?"svg":"math"===n?"math":null}(p)),T=this.componentDef.signals?4608:this.componentDef.onPush?576:528,V=id(0,null,null,1,0,null,null,null,null,null,null),D=rl(null,V,null,T,null,null,u,d,s,null,null);let K,le;tu(D);try{const fe=this.componentDef;let Nt,Oc=null;fe.findHostDirectiveDefs?(Nt=[],Oc=new Map,fe.findHostDirectiveDefs(fe,Nt,Oc),Nt.push(fe)):Nt=[fe];const GH=function TI(e,n){const t=e[H],r=_e;return e[r]=n,Yi(t,r,2,"#host",null)}(D,g),WH=function OI(e,n,t,r,i,o,s){const a=i[H];!function xI(e,n,t,r){for(const i of e)n.mergedAttrs=xo(n.mergedAttrs,i.hostAttrs);null!==n.mergedAttrs&&(ol(n,n.mergedAttrs,!0),null!==t&&tm(r,t,n))}(r,e,n,s);let l=null;null!==n&&(l=Im(n,i[Ii]));const c=o.rendererFactory.createRenderer(n,t);let u=16;t.signals?u=4096:t.onPush&&(u=64);const d=rl(i,e_(t),null,u,i[e.index],e,o,c,null,null,l);return a.firstCreatePass&&sd(a,e,r.length-1),il(i,d),i[e.index]=d}(GH,g,fe,Nt,D,u,d);le=Vp(V,_e),g&&function PI(e,n,t,r){if(r)jc(e,t,["ng-version",PA.full]);else{const{attrs:i,classes:o}=function CE(e){const n=[],t=[];let r=1,i=2;for(;r0&&em(e,t,o.join(" "))}}(d,fe,g,r),void 0!==t&&function NI(e,n,t){const r=e.projection=[];for(let i=0;i=0;r--){const i=e[r];i.hostVars=n+=i.hostVars,i.hostAttrs=xo(i.hostAttrs,t=xo(t,i.hostAttrs))}}(r)}function al(e){return e===Vn?{}:e===De?[]:e}function LI(e,n){const t=e.viewQuery;e.viewQuery=t?(r,i)=>{n(r,i),t(r,i)}:n}function VI(e,n){const t=e.contentQueries;e.contentQueries=t?(r,i,o)=>{n(r,i,o),t(r,i,o)}:n}function BI(e,n){const t=e.hostBindings;e.hostBindings=t?(r,i)=>{n(r,i),t(r,i)}:n}function dd(e){const n=e.inputConfig,t={};for(const r in n)if(n.hasOwnProperty(r)){const i=n[r];Array.isArray(i)&&i[2]&&(t[r]=i[2])}e.inputTransforms=t}function ll(e){return!!function hd(e){return null!==e&&("function"==typeof e||"object"==typeof e)}(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function qn(e,n,t){return e[n]=t}function Rt(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function Zr(e,n,t,r){const i=Rt(e,n,t);return Rt(e,n+1,r)||i}function Bt(e,n,t,r){const i=I();return Rt(i,Ni(),n)&&(Ce(),Wn(We(),i,e,n,t,r)),Bt}function J(e,n,t,r,i,o,s,a){const l=I(),c=Ce(),u=e+_e,d=c.firstCreatePass?function uT(e,n,t,r,i,o,s,a,l){const c=n.consts,u=Yi(n,e,4,s||null,Er(c,a));od(n,t,u,Er(c,l)),Ca(n,u);const d=u.tView=id(2,u,r,i,o,n.directiveRegistry,n.pipeRegistry,null,n.schemas,c,null);return null!==n.queries&&(n.queries.template(n,u),d.queries=n.queries.embeddedTView(u)),u}(u,c,l,n,t,r,i,o,s):c.data[u];$n(d,!1);const p=F_(c,l,d,e);ba()&&Ua(c,l,p,d),xt(p,l),il(l,l[u]=a_(p,l,p,d)),ga(d)&&nd(c,l,d),null!=s&&rd(l,d,a)}let F_=function L_(e,n,t,r){return Mr(!0),n[ue].createComment("")};function Ue(e){return Ri(function sM(){return ie.lFrame.contextLView}(),_e+e)}function R(e,n,t){const r=I();return Rt(r,Ni(),n)&&hn(Ce(),We(),r,e,n,r[ue],t,!1),R}function vd(e,n,t,r,i){const s=i?"class":"style";cd(e,t,n.inputs[s],s,r)}function v(e,n,t,r){const i=I(),o=Ce(),s=_e+e,a=i[ue],l=o.firstCreatePass?function pT(e,n,t,r,i,o){const s=n.consts,l=Yi(n,e,2,r,Er(s,i));return od(n,t,l,Er(s,o)),null!==l.attrs&&ol(l,l.attrs,!1),null!==l.mergedAttrs&&ol(l,l.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,l),l}(s,o,i,n,t,r):o.data[s],c=V_(o,i,l,a,n,e);i[s]=c;const u=ga(l);return $n(l,!0),tm(a,c,l),32!=(32&l.flags)&&ba()&&Ua(o,i,c,l),0===function QE(){return ie.lFrame.elementDepthCount}()&&xt(c,i),function JE(){ie.lFrame.elementDepthCount++}(),u&&(nd(o,i,l),td(o,l,i)),null!==r&&rd(i,l),v}function _(){let e=Dt();Kc()?Xc():(e=e.parent,$n(e,!1));const n=e;(function tM(e){return ie.skipHydrationRootTNode===e})(n)&&function oM(){ie.skipHydrationRootTNode=null}(),function eM(){ie.lFrame.elementDepthCount--}();const t=Ce();return t.firstCreatePass&&(Ca(t,e),$c(e)&&t.queries.elementEnd(e)),null!=n.classesWithoutHost&&function bM(e){return 0!=(8&e.flags)}(n)&&vd(t,n,I(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function CM(e){return 0!=(16&e.flags)}(n)&&vd(t,n,I(),n.stylesWithoutHost,!1),_}function te(e,n,t,r){return v(e,n,t,r),_(),te}let V_=(e,n,t,r,i,o)=>(Mr(!0),Ha(r,i,function tg(){return ie.lFrame.currentNamespace}()));function Yr(e,n,t){const r=I(),i=Ce(),o=e+_e,s=i.firstCreatePass?function _T(e,n,t,r,i){const o=n.consts,s=Er(o,r),a=Yi(n,e,8,"ng-container",s);return null!==s&&ol(a,s,!0),od(n,t,a,Er(o,i)),null!==n.queries&&n.queries.elementStart(n,a),a}(o,i,r,n,t):i.data[o];$n(s,!0);const a=B_(i,r,s,e);return r[o]=a,ba()&&Ua(i,r,a,s),xt(a,r),ga(s)&&(nd(i,r,s),td(i,s,r)),null!=t&&rd(r,s),Yr}function Kr(){let e=Dt();const n=Ce();return Kc()?Xc():(e=e.parent,$n(e,!1)),n.firstCreatePass&&(Ca(n,e),$c(e)&&n.queries.elementEnd(e)),Kr}function gr(e,n,t){return Yr(e,n,t),Kr(),gr}let B_=(e,n,t,r)=>(Mr(!0),Cu(n[ue],""));function Zn(){return I()}function fs(e){return!!e&&"function"==typeof e.then}function H_(e){return!!e&&"function"==typeof e.subscribe}function j(e,n,t,r){const i=I(),o=Ce(),s=Dt();return function U_(e,n,t,r,i,o,s){const a=ga(r),c=e.firstCreatePass&&u_(e),u=n[Ke],d=c_(n);let p=!0;if(3&r.type||s){const S=Yt(r,n),T=s?s(S):S,V=d.length,D=s?le=>s(Be(le[r.index])):r.index;let K=null;if(!s&&a&&(K=function bT(e,n,t,r){const i=e.cleanup;if(null!=i)for(let o=0;ol?a[l]:null}"string"==typeof s&&(o+=2)}return null}(e,n,i,r.index)),null!==K)(K.__ngLastListenerFn__||K).__ngNextListenerFn__=o,K.__ngLastListenerFn__=o,p=!1;else{o=z_(r,n,u,o,!1);const le=t.listen(T,i,o);d.push(o,le),c&&c.push(i,D,V,V+1)}}else o=z_(r,n,u,o,!1);const g=r.outputs;let y;if(p&&null!==g&&(y=g[i])){const S=y.length;if(S)for(let T=0;T-1?ln(e.index,n):n);let l=$_(n,t,r,s),c=o.__ngNextListenerFn__;for(;c;)l=$_(n,t,c,s)&&l,c=c.__ngNextListenerFn__;return i&&!1===l&&s.preventDefault(),l}}function q(e=1){return function dM(e){return(ie.lFrame.contextLView=function hM(e,n){for(;e>0;)n=n[Ti],e--;return n}(e,ie.lFrame.contextLView))[Ke]}(e)}function CT(e,n){let t=null;const r=function gE(e){const n=e.attrs;if(null!=n){const t=n.indexOf(5);if(!(1&t))return n[t+1]}return null}(e);for(let i=0;i>17&32767}function Cd(e){return 2|e}function Xr(e){return(131068&e)>>2}function wd(e,n){return-131069&e|n<<2}function Dd(e){return 1|e}function tv(e,n,t,r,i){const o=e[t+1],s=null===n;let a=r?Ar(o):Xr(o),l=!1;for(;0!==a&&(!1===l||s);){const u=e[a+1];AT(e[a],n)&&(l=!0,e[a+1]=r?Dd(u):Cd(u)),a=r?Ar(u):Xr(u)}l&&(e[t+1]=r?Cd(o):Dd(o))}function AT(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&ji(e,n)>=0}const gt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function nv(e){return e.substring(gt.key,gt.keyEnd)}function rv(e,n){const t=gt.textEnd;return t===n?-1:(n=gt.keyEnd=function xT(e,n,t){for(;n32;)n++;return n}(e,gt.key=n,t),oo(e,n,t))}function oo(e,n,t){for(;n=0;t=rv(n,t))cn(e,nv(n),!0)}function Tn(e,n,t,r){const i=I(),o=Ce(),s=lr(2);o.firstUpdatePass&&cv(o,e,s,r),n!==de&&Rt(i,s,n)&&dv(o,o.data[Vt()],i,i[ue],e,i[s+1]=function UT(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=ut(un(e)))),e}(n,t),r,s)}function lv(e,n){return n>=e.expandoStartIndex}function cv(e,n,t,r){const i=e.data;if(null===i[t+1]){const o=i[Vt()],s=lv(e,t);fv(o,r)&&null===n&&!s&&(n=!1),n=function kT(e,n,t,r){const i=function Jc(e){const n=ie.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}(e);let o=r?n.residualClasses:n.residualStyles;if(null===i)0===(r?n.classBindings:n.styleBindings)&&(t=ps(t=Ed(null,e,n,t,r),n.attrs,r),o=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==i)if(t=Ed(i,e,n,t,r),null===o){let l=function FT(e,n,t){const r=t?n.classBindings:n.styleBindings;if(0!==Xr(r))return e[Ar(r)]}(e,n,r);void 0!==l&&Array.isArray(l)&&(l=Ed(null,e,n,l[1],r),l=ps(l,n.attrs,r),function LT(e,n,t,r){e[Ar(t?n.classBindings:n.styleBindings)]=r}(e,n,r,l))}else o=function VT(e,n,t){let r;const i=n.directiveEnd;for(let o=1+n.directiveStylingLast;o0)&&(c=!0)):u=t,i)if(0!==l){const p=Ar(e[a+1]);e[r+1]=fl(p,a),0!==p&&(e[p+1]=wd(e[p+1],r)),e[a+1]=function DT(e,n){return 131071&e|n<<17}(e[a+1],r)}else e[r+1]=fl(a,0),0!==a&&(e[a+1]=wd(e[a+1],r)),a=r;else e[r+1]=fl(l,0),0===a?a=r:e[l+1]=wd(e[l+1],r),l=r;c&&(e[r+1]=Cd(e[r+1])),tv(e,u,r,!0),tv(e,u,r,!1),function MT(e,n,t,r,i){const o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof n&&ji(o,n)>=0&&(t[r+1]=Dd(t[r+1]))}(n,u,e,r,o),s=fl(a,l),o?n.classBindings=s:n.styleBindings=s}(i,o,n,t,s,r)}}function Ed(e,n,t,r,i){let o=null;const s=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a0;){const l=e[i],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let p=t[i+1];p===de&&(p=d?De:void 0);let g=d?du(p,r):u===r?p:void 0;if(c&&!gl(g)&&(g=du(l,r)),gl(g)&&(a=g,s))return a;const y=e[i+1];i=s?Ar(y):Xr(y)}if(null!==n){let l=o?n.residualClasses:n.residualStyles;null!=l&&(a=du(l,r))}return a}function gl(e){return void 0!==e}function fv(e,n){return 0!=(e.flags&(n?8:16))}function b(e,n=""){const t=I(),r=Ce(),i=e+_e,o=r.firstCreatePass?Yi(r,i,1,n,null):r.data[i],s=pv(r,t,o,n,e);t[i]=s,ba()&&Ua(r,t,s,o),$n(o,!1)}let pv=(e,n,t,r,i)=>(Mr(!0),function Ba(e,n){return e.createText(n)}(n[ue],r));function fn(e){return pe("",e,""),fn}function pe(e,n,t){const r=I(),i=function Xi(e,n,t,r){return Rt(e,Ni(),t)?n+ae(t)+r:de}(r,e,n,t);return i!==de&&function pr(e,n,t){const r=ya(n,e);!function jg(e,n,t){e.setValue(n,t)}(e[ue],r,t)}(r,Vt(),i),pe}function Md(e,n,t){const r=I();return Rt(r,Ni(),n)&&hn(Ce(),We(),r,e,n,r[ue],t,!0),Md}const ao="en-US";let kv=ao;function Td(e,n,t,r,i){if(e=se(e),Array.isArray(e))for(let o=0;o>20;if(Wr(e)||!e.multi){const g=new Vo(l,i,M),y=xd(a,n,i?u:u+p,d);-1===y?(lu(Aa(c,s),o,a),Od(o,e,n.length),n.push(a),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=1048576),t.push(g),s.push(g)):(t[y]=g,s[y]=g)}else{const g=xd(a,n,u+p,d),y=xd(a,n,u,u+p),T=y>=0&&t[y];if(i&&!T||!i&&!(g>=0&&t[g])){lu(Aa(c,s),o,a);const V=function l1(e,n,t,r,i){const o=new Vo(e,t,M);return o.multi=[],o.index=n,o.componentProviders=0,sy(o,i,r&&!t),o}(i?a1:s1,t.length,i,r,l);!i&&T&&(t[y].providerFactory=V),Od(o,e,n.length,0),n.push(a),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=1048576),t.push(V),s.push(V)}else Od(o,e,g>-1?g:y,sy(t[i?y:g],l,!i&&r));!i&&r&&T&&t[y].componentProviders++}}}function Od(e,n,t,r){const i=Wr(n),o=function cA(e){return!!e.useClass}(n);if(i||o){const l=(o?se(n.useClass):n).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!i&&n.multi){const u=c.indexOf(t);-1===u?c.push(t,[r,l]):c[u+1].push(r,l)}else c.push(t,l)}}}function sy(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function xd(e,n,t,r){for(let i=t;i{t.providersResolver=(r,i)=>function o1(e,n,t){const r=Ce();if(r.firstCreatePass){const i=An(e);Td(t,r.data,r.blueprint,i,!0),Td(n,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,n)}}class lo{}class ay{}class Pd extends lo{constructor(n,t,r){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new v_(this);const i=sn(n);this._bootstrapComponents=fr(i.bootstrap),this._r3Injector=Xm(n,t,[{provide:lo,useValue:this},{provide:ns,useValue:this.componentFactoryResolver},...r],ut(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class Nd extends ay{constructor(n){super(),this.moduleType=n}create(n){return new Pd(this.moduleType,n,[])}}class ly extends lo{constructor(n){super(),this.componentFactoryResolver=new v_(this),this.instance=null;const t=new Bu([...n.providers,{provide:lo,useValue:this},{provide:ns,useValue:this.componentFactoryResolver}],n.parent||Ya(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function kd(e,n,t=null){return new ly({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}let d1=(()=>{class e{constructor(t){this._injector=t,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){const r=ym(0,t.type),i=r.length>0?kd([r],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,i)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=U({token:e,providedIn:"environment",factory:()=>new e(P(ur))}),e})();function cy(e){e.getStandaloneInjector=n=>n.get(d1).getOrCreateStandaloneInjector(e)}function my(e,n,t,r,i){return function yy(e,n,t,r,i,o,s){const a=n+t;return Zr(e,a,i,o)?qn(e,a+2,s?r.call(s,i,o):r(i,o)):bs(e,a+2)}(I(),Lt(),e,n,t,r,i)}function _y(e,n,t,r,i,o){return function by(e,n,t,r,i,o,s,a){const l=n+t;return function cl(e,n,t,r,i){const o=Zr(e,n,t,r);return Rt(e,n+2,i)||o}(e,l,i,o,s)?qn(e,l+3,a?r.call(a,i,o,s):r(i,o,s)):bs(e,l+3)}(I(),Lt(),e,n,t,r,i,o)}function bs(e,n){const t=e[n];return t===de?void 0:t}function bl(e,n){const t=Ce();let r;const i=e+_e;t.firstCreatePass?(r=function I1(e,n){if(n)for(let t=n.length-1;t>=0;t--){const r=n[t];if(e===r.name)return r}}(n,t.pipeRegistry),t.data[i]=r,r.onDestroy&&(t.destroyHooks??=[]).push(i,r.onDestroy)):r=t.data[i];const o=r.factory||(r.factory=jr(r.type)),s=Gt(M);try{const a=Ma(!1),l=o();return Ma(a),function fT(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}(t,I(),i,l),l}finally{Gt(s)}}function Cl(e,n,t){const r=e+_e,i=I(),o=Ri(i,r);return function Cs(e,n){return e[H].data[n].pure}(i,r)?function vy(e,n,t,r,i,o){const s=n+t;return Rt(e,s,i)?qn(e,s+1,o?r.call(o,i):r(i)):bs(e,s+1)}(i,Lt(),n,o.transform,t,o):o.transform(t)}function Ld(e){return n=>{setTimeout(e,void 0,n)}}const me=class P1 extends je{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}subscribe(n,t,r){let i=n,o=t||(()=>null),s=r;if(n&&"object"==typeof n){const l=n;i=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=Ld(o),i&&(i=Ld(i)),s&&(s=Ld(s)));const a=super.subscribe({next:i,error:o,complete:s});return n instanceof A&&n.add(a),a}};function N1(){return this._results[Symbol.iterator]()}class Vd{get changes(){return this._changes||(this._changes=new me)}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const t=Vd.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=N1)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){const r=this;r.dirty=!1;const i=function yn(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function RM(e,n,t){if(e.length!==n.length)return!1;for(let r=0;r{class e{}return e.__NG_ELEMENT_ID__=L1,e})();const k1=pn,F1=class extends k1{constructor(n,t,r){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,t){return this.createEmbeddedViewImpl(n,t,null)}createEmbeddedViewImpl(n,t,r){const s=this._declarationTContainer.tView,a=rl(this._declarationLView,s,n,4096&this._declarationLView[ce]?4096:16,null,s.declTNode,null,null,null,t||null,r||null);a[No]=this._declarationLView[this._declarationTContainer.index];const c=this._declarationLView[Bn];return null!==c&&(a[Bn]=c.createEmbeddedView(s)),ud(s,a,n),new as(a)}};function L1(){return wl(Dt(),I())}function wl(e,n){return 4&e.type?new F1(n,e,qi(e,n)):null}let Cn=(()=>{class e{}return e.__NG_ELEMENT_ID__=z1,e})();function z1(){return Iy(Dt(),I())}const G1=Cn,My=class extends G1{constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return qi(this._hostTNode,this._hostLView)}get injector(){return new Fi(this._hostTNode,this._hostLView)}get parentInjector(){const n=au(this._hostTNode,this._hostLView);if(og(n)){const t=Ea(n,this._hostLView),r=Sa(n);return new Fi(t[H].data[r+8],t)}return new Fi(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=Ay(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-Ot}createEmbeddedView(n,t,r){let i,o;"number"==typeof r?i=r:null!=r&&(i=r.index,o=r.injector);const a=n.createEmbeddedViewImpl(t||{},o,null);return this.insertImpl(a,i,false),a}createComponent(n,t,r,i,o){const s=n&&!function jo(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const S=t||{};a=S.index,r=S.injector,i=S.projectableNodes,o=S.environmentInjector||S.ngModuleRef}const l=s?n:new ls(Me(n)),c=r||this.parentInjector;if(!o&&null==l.ngModule){const T=(s?c:this.parentInjector).get(ur,null);T&&(o=T)}Me(l.componentType??{});const g=l.create(c,i,null,o);return this.insertImpl(g.hostView,a,false),g}insert(n,t){return this.insertImpl(n,t,!1)}insertImpl(n,t,r){const i=n._lView,o=i[H];if(function YE(e){return Zt(e[Ge])}(i)){const l=this.indexOf(n);if(-1!==l)this.detach(l);else{const c=i[Ge],u=new My(c,c[Tt],c[Ge]);u.detach(u.indexOf(n))}}const s=this._adjustIndex(t),a=this._lContainer;if(function w0(e,n,t,r){const i=Ot+r,o=t.length;r>0&&(t[i-1][Mn]=n),r0)r.push(s[a/2]);else{const c=o[a+1],u=n[-l];for(let d=Ot;d{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r}),this.appInits=W(Xd,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const i of this.appInits){const o=i();if(fs(o))t.push(o);else if(H_(o)){const s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});t.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{r()}).catch(i=>{this.reject(i)}),0===t.length&&r(),this.initialized=!0}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Jy=(()=>{class e{log(t){console.log(t)}warn(t){console.warn(t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const mr=new $("LocaleId",{providedIn:"root",factory:()=>W(mr,Q.Optional|Q.SkipSelf)||function Cx(){return typeof $localize<"u"&&$localize.locale||ao}()});let eb=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new ze(!1)}add(){this.hasPendingTasks.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),t}remove(t){this.pendingTasks.delete(t),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class Dx{constructor(n,t){this.ngModuleFactory=n,this.componentFactories=t}}let tb=(()=>{class e{compileModuleSync(t){return new Nd(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){const r=this.compileModuleSync(t),o=fr(sn(t).declarations).reduce((s,a)=>{const l=Me(a);return l&&s.push(new ls(l)),s},[]);return new Dx(r,o)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function ib(...e){}class Ie{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new me(!1),this.onMicrotaskEmpty=new me(!1),this.onStable=new me(!1),this.onError=new me(!1),typeof Zone>"u")throw new O(908,!1);Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&t,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function Mx(){const e="function"==typeof ke.requestAnimationFrame;let n=ke[e?"requestAnimationFrame":"setTimeout"],t=ke[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&n&&t){const r=n[Zone.__symbol__("OriginalDelegate")];r&&(n=r);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function Tx(e){const n=()=>{!function Ix(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ke,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,eh(e),e.isCheckStableRunning=!0,Jd(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),eh(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,r,i,o,s,a)=>{try{return ob(e),t.invokeTask(i,o,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&n(),sb(e)}},onInvoke:(t,r,i,o,s,a,l)=>{try{return ob(e),t.invoke(i,o,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&n(),sb(e)}},onHasTask:(t,r,i,o)=>{t.hasTask(i,o),r===i&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,eh(e),Jd(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(t,r,i,o)=>(t.handleError(i,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(i)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ie.isInAngularZone())throw new O(909,!1)}static assertNotInAngularZone(){if(Ie.isInAngularZone())throw new O(909,!1)}run(n,t,r){return this._inner.run(n,t,r)}runTask(n,t,r,i){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,n,Ax,ib,ib);try{return o.runTask(s,t,r)}finally{o.cancelTask(s)}}runGuarded(n,t,r){return this._inner.runGuarded(n,t,r)}runOutsideAngular(n){return this._outer.run(n)}}const Ax={};function Jd(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 eh(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function ob(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function sb(e){e._nesting--,Jd(e)}class Ox{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new me,this.onMicrotaskEmpty=new me,this.onStable=new me,this.onError=new me}run(n,t,r){return n.apply(t,r)}runGuarded(n,t,r){return n.apply(t,r)}runOutsideAngular(n){return n()}runTask(n,t,r,i){return n.apply(t,r)}}const ab=new $("",{providedIn:"root",factory:lb});function lb(){const e=W(Ie);let n=!0;return Jf(new be(i=>{n=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{i.next(n),i.complete()})}),new be(i=>{let o;e.runOutsideAngular(()=>{o=e.onStable.subscribe(()=>{Ie.assertNotInAngularZone(),queueMicrotask(()=>{!n&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(n=!0,i.next(!0))})})});const s=e.onUnstable.subscribe(()=>{Ie.assertInAngularZone(),n&&(n=!1,e.runOutsideAngular(()=>{i.next(!1)}))});return()=>{o.unsubscribe(),s.unsubscribe()}}).pipe(ep()))}const cb=new $(""),Sl=new $("");let rh,th=(()=>{class e{constructor(t,r,i){this._ngZone=t,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,rh||(function xx(e){rh=e}(i),i.addToWindow(r)),this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Ie.assertNotInAngularZone(),queueMicrotask(()=>{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())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(t)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),t(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:t,timeoutId:o,updateCb:i})}whenStable(t,r,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,r,i){return[]}}return e.\u0275fac=function(t){return new(t||e)(P(Ie),P(nh),P(Sl))},e.\u0275prov=U({token:e,factory:e.\u0275fac}),e})(),nh=(()=>{class e{constructor(){this._applications=new Map}registerApplication(t,r){this._applications.set(t,r)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,r=!0){return rh?.findTestabilityInTree(this,t,r)??null}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),Or=null;const ub=new $("AllowMultipleToken"),ih=new $("PlatformDestroyListeners"),oh=new $("appBootstrapListener");class hb{constructor(n,t){this.name=n,this.token=t}}function pb(e,n,t=[]){const r=`Platform: ${n}`,i=new $(r);return(o=[])=>{let s=sh();if(!s||s.injector.get(ub,!1)){const a=[...t,...o,{provide:i,useValue:!0}];e?e(a):function Nx(e){if(Or&&!Or.get(ub,!1))throw new O(400,!1);(function db(){!function LE(e){Op=e}(()=>{throw new O(600,!1)})})(),Or=e;const n=e.get(mb);(function fb(e){e.get(Sm,null)?.forEach(t=>t())})(e)}(function gb(e=[],n){return dn.create({name:n,providers:[{provide:Lu,useValue:"platform"},{provide:ih,useValue:new Set([()=>Or=null])},...e]})}(a,r))}return function Fx(e){const n=sh();if(!n)throw new O(401,!1);return n}()}}function sh(){return Or?.get(mb)??null}let mb=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,r){const i=function Lx(e="zone.js",n){return"noop"===e?new Ox:"zone.js"===e?new Ie(n):e}(r?.ngZone,function _b(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return i.run(()=>{const o=function u1(e,n,t){return new Pd(e,n,t)}(t.moduleType,this.injector,function wb(e){return[{provide:Ie,useFactory:e},{provide:Qo,multi:!0,useFactory:()=>{const n=W(Bx,{optional:!0});return()=>n.initialize()}},{provide:Cb,useFactory:Vx},{provide:ab,useFactory:lb}]}(()=>i)),s=o.injector.get(qr,null);return i.runOutsideAngular(()=>{const a=i.onError.subscribe({next:l=>{s.handleError(l)}});o.onDestroy(()=>{El(this._modules,o),a.unsubscribe()})}),function vb(e,n,t){try{const r=t();return fs(r)?r.catch(i=>{throw n.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw n.runOutsideAngular(()=>e.handleError(r)),r}}(s,i,()=>{const a=o.injector.get(Qd);return a.runInitializers(),a.donePromise.then(()=>(function Fv(e){vn(e,"Expected localeId to be defined"),"string"==typeof e&&(kv=e.toLowerCase().replace(/_/g,"-"))}(o.injector.get(mr,ao)||ao),this._moduleDoBootstrap(o),o))})})}bootstrapModule(t,r=[]){const i=yb({},r);return function Rx(e,n,t){const r=new Nd(t);return Promise.resolve(r)}(0,0,t).then(o=>this.bootstrapModuleFactory(o,i))}_moduleDoBootstrap(t){const r=t.injector.get(ei);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!t.instance.ngDoBootstrap)throw new O(-403,!1);t.instance.ngDoBootstrap(r)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new O(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const t=this._injector.get(ih,null);t&&(t.forEach(r=>r()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(t){return new(t||e)(P(dn))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function yb(e,n){return Array.isArray(n)?n.reduce(yb,e):{...e,...n}}let ei=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=W(Cb),this.zoneIsStable=W(ab),this.componentTypes=[],this.components=[],this.isStable=W(eb).hasPendingTasks.pipe(nn(t=>t?ne(!1):this.zoneIsStable),function GS(e,n){return t=>t.lift(new WS(e,n))}(),ep()),this._injector=W(ur)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,r){const i=t instanceof xm;if(!this._injector.get(Qd).done)throw!i&&function Mi(e){const n=Me(e)||It(e)||qt(e);return null!==n&&n.standalone}(t),new O(405,!1);let s;s=i?t:this._injector.get(ns).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function Px(e){return e.isBoundToModule}(s)?void 0:this._injector.get(lo),c=s.create(dn.NULL,[],r||s.selector,a),u=c.location.nativeElement,d=c.injector.get(cb,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),El(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new O(101,!1);try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this.internalErrorHandler(t)}finally{this._runningTick=!1}}attachView(t){const r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){const r=t;El(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const r=this._injector.get(oh,[]);r.push(...this._bootstrapListeners),r.forEach(i=>i(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>El(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new O(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function El(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}const Cb=new $("",{providedIn:"root",factory:()=>W(qr).handleError.bind(void 0)});function Vx(){const e=W(Ie),n=W(qr);return t=>e.runOutsideAngular(()=>n.handleError(t))}let Bx=(()=>{class e{constructor(){this.zone=W(Ie),this.applicationRef=W(ei)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();let Ds=(()=>{class e{}return e.__NG_ELEMENT_ID__=jx,e})();function jx(e){return function Ux(e,n,t){if(Hr(e)&&!t){const r=ln(e.index,n);return new as(r,r)}return 47&e.type?new as(n[Xe],n):null}(Dt(),I(),16==(16&e))}class Mb{constructor(){}supports(n){return ll(n)}create(n){return new Zx(n)}}const qx=(e,n)=>n;class Zx{constructor(n){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=n||qx}forEachItem(n){let t;for(t=this._itHead;null!==t;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,r=this._removalsHead,i=0,o=null;for(;t||r;){const s=!r||t&&t.currentIndex{s=this._trackByFn(i,a),null!==t&&Object.is(t.trackById,s)?(r&&(t=this._verifyReinsertion(t,a,s,i)),Object.is(t.item,a)||this._addIdentityChange(t,a)):(t=this._mismatch(t,a,s,i),r=!0),t=t._next,i++}),this.length=i;return this._truncate(t),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,t,r,i){let o;return null===n?o=this._itTail:(o=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,o,i)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,o,i)):n=this._addAfter(new Yx(t,r),o,i),n}_verifyReinsertion(n,t,r,i){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==o?n=this._reinsertAfter(o,n._prev,i):n.currentIndex!=i&&(n.currentIndex=i,this._addToMoves(n,i)),n}_truncate(n){for(;null!==n;){const t=n._next;this._addToRemovals(this._unlink(n)),n=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,t,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const i=n._prevRemoved,o=n._nextRemoved;return null===i?this._removalsHead=o:i._nextRemoved=o,null===o?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(n,t,r),this._addToMoves(n,r),n}_moveAfter(n,t,r){return this._unlink(n),this._insertAfter(n,t,r),this._addToMoves(n,r),n}_addAfter(n,t,r){return this._insertAfter(n,t,r),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,t,r){const i=null===t?this._itHead:t._next;return n._next=i,n._prev=t,null===i?this._itTail=n:i._prev=n,null===t?this._itHead=n:t._next=n,null===this._linkedRecords&&(this._linkedRecords=new Ab),this._linkedRecords.put(n),n.currentIndex=r,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const t=n._prev,r=n._next;return null===t?this._itHead=r:t._next=r,null===r?this._itTail=t:r._prev=t,n}_addToMoves(n,t){return n.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Ab),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,t){return n.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class Yx{constructor(n,t){this.item=n,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class Kx{constructor(){this._head=null,this._tail=null}add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,t){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===t||t<=r.currentIndex)&&Object.is(r.trackById,n))return r;return null}remove(n){const t=n._prevDup,r=n._nextDup;return null===t?this._head=r:t._nextDup=r,null===r?this._tail=t:r._prevDup=t,null===this._head}}class Ab{constructor(){this.map=new Map}put(n){const t=n.trackById;let r=this.map.get(t);r||(r=new Kx,this.map.set(t,r)),r.add(n)}get(n,t){const i=this.map.get(n);return i?i.get(n,t):null}remove(n){const t=n.trackById;return this.map.get(t).remove(n)&&this.map.delete(t),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Ib(e,n,t){const r=e.previousIndex;if(null===r)return r;let i=0;return t&&r{class e{constructor(t){this.factories=t}static create(t,r){if(null!=r){const i=r.factories.slice();t=t.concat(i)}return new e(t)}static extend(t){return{provide:e,useFactory:r=>e.create(t,r||Ob()),deps:[[e,new Ra,new xa]]}}find(t){const r=this.factories.find(i=>i.supports(t));if(null!=r)return r;throw new O(901,!1)}}return e.\u0275prov=U({token:e,providedIn:"root",factory:Ob}),e})();const tR=pb(null,"core",[]);let nR=(()=>{class e{constructor(t){}}return e.\u0275fac=function(t){return new(t||e)(P(ei))},e.\u0275mod=dt({type:e}),e.\u0275inj=nt({}),e})();function St(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function ni(e,n=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?n:Number(e)}let fh=null;function xr(){return fh}class pR{}const He=new $("DocumentToken");let ph=(()=>{class e{historyGo(t){throw new Error("Not implemented")}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:function(){return W(mR)},providedIn:"platform"}),e})();const gR=new $("Location Initialized");let mR=(()=>{class e extends ph{constructor(){super(),this._doc=W(He),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return xr().getBaseHref(this._doc)}onPopState(t){const r=xr().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",t,!1),()=>r.removeEventListener("popstate",t)}onHashChange(t){const r=xr().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",t,!1),()=>r.removeEventListener("hashchange",t)}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(t){this._location.pathname=t}pushState(t,r,i){this._history.pushState(t,r,i)}replaceState(t,r,i){this._history.replaceState(t,r,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:function(){return new e},providedIn:"platform"}),e})();function gh(e,n){if(0==e.length)return n;if(0==n.length)return e;let t=0;return e.endsWith("/")&&t++,n.startsWith("/")&&t++,2==t?e+n.substring(1):1==t?e+n:e+"/"+n}function Vb(e){const n=e.match(/#|\?|$/),t=n&&n.index||e.length;return e.slice(0,t-("/"===e[t-1]?1:0))+e.slice(t)}function _r(e){return e&&"?"!==e[0]?"?"+e:e}let ri=(()=>{class e{historyGo(t){throw new Error("Not implemented")}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:function(){return W(Hb)},providedIn:"root"}),e})();const Bb=new $("appBaseHref");let Hb=(()=>{class e extends ri{constructor(t,r){super(),this._platformLocation=t,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??W(He).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return gh(this._baseHref,t)}path(t=!1){const r=this._platformLocation.pathname+_r(this._platformLocation.search),i=this._platformLocation.hash;return i&&t?`${r}${i}`:r}pushState(t,r,i,o){const s=this.prepareExternalUrl(i+_r(o));this._platformLocation.pushState(t,r,s)}replaceState(t,r,i,o){const s=this.prepareExternalUrl(i+_r(o));this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}}return e.\u0275fac=function(t){return new(t||e)(P(ph),P(Bb,8))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),_R=(()=>{class e extends ri{constructor(t,r){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],null!=r&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let r=this._platformLocation.hash;return null==r&&(r="#"),r.length>0?r.substring(1):r}prepareExternalUrl(t){const r=gh(this._baseHref,t);return r.length>0?"#"+r:r}pushState(t,r,i,o){let s=this.prepareExternalUrl(i+_r(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,r,s)}replaceState(t,r,i,o){let s=this.prepareExternalUrl(i+_r(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}}return e.\u0275fac=function(t){return new(t||e)(P(ph),P(Bb,8))},e.\u0275prov=U({token:e,factory:e.\u0275fac}),e})(),Ol=(()=>{class e{constructor(t){this._subject=new me,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=t;const r=this._locationStrategy.getBaseHref();this._basePath=function bR(e){if(new RegExp("^(https?:)?//").test(e)){const[,t]=e.split(/\/\/[^\/]+/);return t}return e}(Vb(jb(r))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,r=""){return this.path()==this.normalize(t+_r(r))}normalize(t){return e.stripTrailingSlash(function yR(e,n){if(!e||!n.startsWith(e))return n;const t=n.substring(e.length);return""===t||["/",";","?","#"].includes(t[0])?t:n}(this._basePath,jb(t)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,r="",i=null){this._locationStrategy.pushState(i,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+_r(r)),i)}replaceState(t,r="",i=null){this._locationStrategy.replaceState(i,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+_r(r)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)})),()=>{const r=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",r){this._urlChangeListeners.forEach(i=>i(t,r))}subscribe(t,r,i){return this._subject.subscribe({next:t,error:r,complete:i})}}return e.normalizeQueryParams=_r,e.joinWithSlash=gh,e.stripTrailingSlash=Vb,e.\u0275fac=function(t){return new(t||e)(P(ri))},e.\u0275prov=U({token:e,factory:function(){return function vR(){return new Ol(P(ri))}()},providedIn:"root"}),e})();function jb(e){return e.replace(/\/index.html$/,"")}class sP{constructor(n,t,r,i){this.$implicit=n,this.ngForOf=t,this.index=r,this.count=i}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Qb=(()=>{class e{set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}constructor(t,r,i){this._viewContainer=t,this._template=r,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const r=this._viewContainer;t.forEachOperation((i,o,s)=>{if(null==i.previousIndex)r.createEmbeddedView(this._template,new sP(i.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)r.remove(null===o?void 0:o);else if(null!==o){const a=r.get(o);r.move(a,s),Jb(a,i)}});for(let i=0,o=r.length;i{Jb(r.get(i.currentIndex),i)})}static ngTemplateContextGuard(t,r){return!0}}return e.\u0275fac=function(t){return new(t||e)(M(Cn),M(pn),M(Il))},e.\u0275dir=X({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),e})();function Jb(e,n){e.context.$implicit=n.item}let Mh=(()=>{class e{constructor(t,r){this._viewContainer=t,this._context=new aP,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){eC("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){eC("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,r){return!0}}return e.\u0275fac=function(t){return new(t||e)(M(Cn),M(pn))},e.\u0275dir=X({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),e})();class aP{constructor(){this.$implicit=null,this.ngIf=null}}function eC(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${ut(n)}'.`)}let nC=(()=>{class e{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(t){if(t.ngTemplateOutlet||t.ngTemplateOutletInjector){const r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:i,ngTemplateOutletContext:o,ngTemplateOutletInjector:s}=this;this._viewRef=r.createEmbeddedView(i,o,s?{injector:s}:void 0)}else this._viewRef=null}else this._viewRef&&t.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return e.\u0275fac=function(t){return new(t||e)(M(Cn))},e.\u0275dir=X({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Ft]}),e})(),rC=(()=>{class e{transform(t){return JSON.stringify(t,null,2)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=Wt({name:"json",type:e,pure:!1,standalone:!0}),e})(),oC=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=dt({type:e}),e.\u0275inj=nt({}),e})();const sC="browser";function Hl(e){return e===sC}function aC(e){return"server"===e}let FP=(()=>{class e{}return e.\u0275prov=U({token:e,providedIn:"root",factory:()=>new LP(P(He),window)}),e})();class LP{constructor(n,t){this.document=n,this.window=t,this.offset=()=>[0,0]}setOffset(n){this.offset=Array.isArray(n)?()=>n:n}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(n){this.supportsScrolling()&&this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){if(!this.supportsScrolling())return;const t=function VP(e,n){const t=e.getElementById(n)||e.getElementsByName(n)[0];if(t)return t;if("function"==typeof e.createTreeWalker&&e.body&&"function"==typeof e.body.attachShadow){const r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let i=r.currentNode;for(;i;){const o=i.shadowRoot;if(o){const s=o.getElementById(n)||o.querySelector(`[name="${n}"]`);if(s)return s}i=r.nextNode()}}return null}(this.document,n);t&&(this.scrollToElement(t),t.focus())}setHistoryScrollRestoration(n){if(this.supportScrollRestoration()){const t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=n)}}scrollToElement(n){const t=n.getBoundingClientRect(),r=t.left+this.window.pageXOffset,i=t.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(r-o[0],i-o[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const n=lC(this.window.history)||lC(Object.getPrototypeOf(this.window.history));return!(!n||!n.writable&&!n.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function lC(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}class lN extends pR{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Ph extends lN{static makeCurrent(){!function fR(e){fh||(fh=e)}(new Ph)}onAndCancel(n,t,r){return n.addEventListener(t,r),()=>{n.removeEventListener(t,r)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}createElement(n,t){return(t=t||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return"window"===t?window:"document"===t?n:"body"===t?n.body:null}getBaseHref(n){const t=function cN(){return Is=Is||document.querySelector("base"),Is?Is.getAttribute("href"):null}();return null==t?null:function uN(e){$l=$l||document.createElement("a"),$l.setAttribute("href",e);const n=$l.pathname;return"/"===n.charAt(0)?n:`/${n}`}(t)}resetBaseElement(){Is=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return function rP(e,n){n=encodeURIComponent(n);for(const t of e.split(";")){const r=t.indexOf("="),[i,o]=-1==r?[t,""]:[t.slice(0,r),t.slice(r+1)];if(i.trim()===n)return decodeURIComponent(o)}return null}(document.cookie,n)}}let $l,Is=null,hN=(()=>{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac}),e})();const Nh=new $("EventManagerPlugins");let fC=(()=>{class e{constructor(t,r){this._zone=r,this._eventNameToPlugin=new Map,t.forEach(i=>{i.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,r,i){return this._findPluginFor(r).addEventListener(t,r,i)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(o=>o.supports(t)),!r)throw new O(5101,!1);return this._eventNameToPlugin.set(t,r),r}}return e.\u0275fac=function(t){return new(t||e)(P(Nh),P(Ie))},e.\u0275prov=U({token:e,factory:e.\u0275fac}),e})();class pC{constructor(n){this._doc=n}}const kh="ng-app-id";let gC=(()=>{class e{constructor(t,r,i,o={}){this.doc=t,this.appId=r,this.nonce=i,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=aC(o),this.resetHostNodes()}addStyles(t){for(const r of t)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(t){for(const r of t)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const t=this.styleNodesInDOM;t&&(t.forEach(r=>r.remove()),t.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(const r of this.getAllStyles())this.addStyleToHost(t,r)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(const r of this.hostNodes)this.addStyleToHost(r,t)}onStyleRemoved(t){const r=this.styleRef;r.get(t)?.elements?.forEach(i=>i.remove()),r.delete(t)}collectServerRenderedStyles(){const t=this.doc.head?.querySelectorAll(`style[${kh}="${this.appId}"]`);if(t?.length){const r=new Map;return t.forEach(i=>{null!=i.textContent&&r.set(i.textContent,i)}),r}return null}changeUsageCount(t,r){const i=this.styleRef;if(i.has(t)){const o=i.get(t);return o.usage+=r,o.usage}return i.set(t,{usage:r,elements:[]}),r}getStyleElement(t,r){const i=this.styleNodesInDOM,o=i?.get(r);if(o?.parentNode===t)return i.delete(r),o.removeAttribute(kh),o;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(kh,this.appId),s}}addStyleToHost(t,r){const i=this.getStyleElement(t,r);t.appendChild(i);const o=this.styleRef,s=o.get(r)?.elements;s?s.push(i):o.set(r,{elements:[i],usage:1})}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}}return e.\u0275fac=function(t){return new(t||e)(P(He),P(Ka),P(Em,8),P(dr))},e.\u0275prov=U({token:e,factory:e.\u0275fac}),e})();const Fh={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/"},Lh=/%COMP%/g,mN=new $("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function _C(e,n){return n.map(t=>t.replace(Lh,e))}let vC=(()=>{class e{constructor(t,r,i,o,s,a,l,c=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=aC(a),this.defaultRenderer=new Vh(t,s,l,this.platformIsServer)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===on.ShadowDom&&(r={...r,encapsulation:on.Emulated});const i=this.getOrCreateRenderer(t,r);return i instanceof bC?i.applyToHost(t):i instanceof Bh&&i.applyStyles(),i}getOrCreateRenderer(t,r){const i=this.rendererByCompId;let o=i.get(r.id);if(!o){const s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case on.Emulated:o=new bC(l,c,r,this.appId,u,s,a,d);break;case on.ShadowDom:return new bN(l,c,t,r,s,a,this.nonce,d);default:o=new Bh(l,c,r,u,s,a,d)}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}}return e.\u0275fac=function(t){return new(t||e)(P(fC),P(gC),P(Ka),P(mN),P(He),P(dr),P(Ie),P(Em))},e.\u0275prov=U({token:e,factory:e.\u0275fac}),e})();class Vh{constructor(n,t,r,i){this.eventManager=n,this.doc=t,this.ngZone=r,this.platformIsServer=i,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(n,t){return t?this.doc.createElementNS(Fh[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(yC(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(yC(n)?n.content:n).insertBefore(t,r)}removeChild(n,t){n&&n.removeChild(t)}selectRootElement(n,t){let r="string"==typeof n?this.doc.querySelector(n):n;if(!r)throw new O(-5104,!1);return t||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,r,i){if(i){t=i+":"+t;const o=Fh[i];o?n.setAttributeNS(o,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){const i=Fh[r];i?n.removeAttributeNS(i,t):n.removeAttribute(`${r}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,r,i){i&(Kt.DashCase|Kt.Important)?n.style.setProperty(t,r,i&Kt.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&Kt.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,r){n[t]=r}setValue(n,t){n.nodeValue=t}listen(n,t,r){if("string"==typeof n&&!(n=xr().getGlobalEventTarget(this.doc,n)))throw new Error(`Unsupported event target ${n} for event ${t}`);return this.eventManager.addEventListener(n,t,this.decoratePreventDefault(r))}decoratePreventDefault(n){return t=>{if("__ngUnwrap__"===t)return n;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>n(t)):n(t))&&t.preventDefault()}}}function yC(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class bN extends Vh{constructor(n,t,r,i,o,s,a,l){super(n,o,s,l),this.sharedStylesHost=t,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=_C(i.id,i.styles);for(const u of c){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,r){return super.insertBefore(this.nodeOrShadowRoot(n),t,r)}removeChild(n,t){return super.removeChild(this.nodeOrShadowRoot(n),t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Bh extends Vh{constructor(n,t,r,i,o,s,a,l){super(n,o,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=i,this.styles=l?_C(l,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class bC extends Bh{constructor(n,t,r,i,o,s,a,l){const c=i+"-"+r.id;super(n,t,r,o,s,a,l,c),this.contentAttr=function _N(e){return"_ngcontent-%COMP%".replace(Lh,e)}(c),this.hostAttr=function vN(e){return"_nghost-%COMP%".replace(Lh,e)}(c)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){const r=super.createElement(n,t);return super.setAttribute(r,this.contentAttr,""),r}}let CN=(()=>{class e extends pC{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,i){return t.addEventListener(r,i,!1),()=>this.removeEventListener(t,r,i)}removeEventListener(t,r,i){return t.removeEventListener(r,i)}}return e.\u0275fac=function(t){return new(t||e)(P(He))},e.\u0275prov=U({token:e,factory:e.\u0275fac}),e})();const CC=["alt","control","meta","shift"],wN={"\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"},DN={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let SN=(()=>{class e extends pC{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,r,i){const o=e.parseEventName(r),s=e.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>xr().onAndCancel(t,o.domEventName,s))}static parseEventName(t){const r=t.toLowerCase().split("."),i=r.shift();if(0===r.length||"keydown"!==i&&"keyup"!==i)return null;const o=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),CC.forEach(c=>{const u=r.indexOf(c);u>-1&&(r.splice(u,1),s+=c+".")}),s+=o,0!=r.length||0===o.length)return null;const l={};return l.domEventName=i,l.fullKey=s,l}static matchEventFullKeyCode(t,r){let i=wN[t.key]||t.key,o="";return r.indexOf("code.")>-1&&(i=t.code,o="code."),!(null==i||!i)&&(i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),CC.forEach(s=>{s!==i&&(0,DN[s])(t)&&(o+=s+".")}),o+=i,o===r)}static eventCallback(t,r,i){return o=>{e.matchEventFullKeyCode(o,t)&&i.runGuarded(()=>r(o))}}static _normalizeKey(t){return"esc"===t?"escape":t}}return e.\u0275fac=function(t){return new(t||e)(P(He))},e.\u0275prov=U({token:e,factory:e.\u0275fac}),e})();const DC=[{provide:dr,useValue:sC},{provide:Sm,useValue:function EN(){Ph.makeCurrent()},multi:!0},{provide:He,useFactory:function AN(){return function k0(e){Tu=e}(document),document},deps:[]}],IN=pb(tR,"browser",DC),TN=new $(""),SC=[{provide:Sl,useClass:class dN{addToWindow(n){ke.getAngularTestability=(r,i=!0)=>{const o=n.findTestabilityInTree(r,i);if(null==o)throw new O(5103,!1);return o},ke.getAllAngularTestabilities=()=>n.getAllTestabilities(),ke.getAllAngularRootElements=()=>n.getAllRootElements(),ke.frameworkStabilizers||(ke.frameworkStabilizers=[]),ke.frameworkStabilizers.push(r=>{const i=ke.getAllAngularTestabilities();let o=i.length,s=!1;const a=function(l){s=s||l,o--,0==o&&r(s)};i.forEach(l=>{l.whenStable(a)})})}findTestabilityInTree(n,t,r){return null==t?null:n.getTestability(t)??(r?xr().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:cb,useClass:th,deps:[Ie,nh,Sl]},{provide:th,useClass:th,deps:[Ie,nh,Sl]}],EC=[{provide:Lu,useValue:"root"},{provide:qr,useFactory:function MN(){return new qr},deps:[]},{provide:Nh,useClass:CN,multi:!0,deps:[He,Ie,dr]},{provide:Nh,useClass:SN,multi:!0,deps:[He]},vC,gC,fC,{provide:Pm,useExisting:vC},{provide:class BP{},useClass:hN,deps:[]},[]];let ON=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:Ka,useValue:t.appId}]}}}return e.\u0275fac=function(t){return new(t||e)(P(TN,12))},e.\u0275mod=dt({type:e}),e.\u0275inj=nt({providers:[...EC,...SC],imports:[oC,nR]}),e})(),MC=(()=>{class e{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}}return e.\u0275fac=function(t){return new(t||e)(P(He))},e.\u0275prov=U({token:e,factory:function(t){let r=null;return r=t?new t:function RN(){return new MC(P(He))}(),r},providedIn:"root"}),e})();typeof window<"u"&&window;let TC=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:function(t){let r=null;return r=t?new(t||e):P(OC),r},providedIn:"root"}),e})(),OC=(()=>{class e extends TC{constructor(t){super(),this._doc=t}sanitize(t,r){if(null==r)return null;switch(t){case Fe.NONE:return r;case Fe.HTML:return Gn(r,"HTML")?un(r):dm(this._doc,String(r)).toString();case Fe.STYLE:return Gn(r,"Style")?un(r):r;case Fe.SCRIPT:if(Gn(r,"Script"))return un(r);throw new O(5200,!1);case Fe.URL:return Gn(r,"URL")?un(r):Wa(String(r));case Fe.RESOURCE_URL:if(Gn(r,"ResourceURL"))return un(r);throw new O(5201,!1);default:throw new O(5202,!1)}}bypassSecurityTrustHtml(t){return function U0(e){return new F0(e)}(t)}bypassSecurityTrustStyle(t){return function $0(e){return new L0(e)}(t)}bypassSecurityTrustScript(t){return function z0(e){return new V0(e)}(t)}bypassSecurityTrustUrl(t){return function G0(e){return new B0(e)}(t)}bypassSecurityTrustResourceUrl(t){return function W0(e){return new H0(e)}(t)}}return e.\u0275fac=function(t){return new(t||e)(P(He))},e.\u0275prov=U({token:e,factory:function(t){let r=null;return r=t?new t:function FN(e){return new OC(e.get(He))}(P(dn)),r},providedIn:"root"}),e})();function zl(e,n){return new be(t=>{const r=e.length;if(0===r)return void t.complete();const i=new Array(r);let o=0,s=0;for(let a=0;a{c||(c=!0,s++),i[a]=u},error:u=>t.error(u),complete:()=>{o++,(o===r||!c)&&(s===r&&t.next(n?n.reduce((u,d,p)=>(u[d]=i[p],u),{}):i),t.complete())}}))}})}let RC=(()=>{class e{constructor(t,r){this._renderer=t,this._elementRef=r,this.onChange=i=>{},this.onTouched=()=>{}}setProperty(t,r){this._renderer.setProperty(this._elementRef.nativeElement,t,r)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}}return e.\u0275fac=function(t){return new(t||e)(M(hr),M(pt))},e.\u0275dir=X({type:e}),e})(),ii=(()=>{class e extends RC{}return e.\u0275fac=function(){let n;return function(r){return(n||(n=yt(e)))(r||e)}}(),e.\u0275dir=X({type:e,features:[Pe]}),e})();const Xn=new $("NgValueAccessor"),VN={provide:Xn,useExisting:Le(()=>Gl),multi:!0};let Gl=(()=>{class e extends ii{writeValue(t){this.setProperty("checked",t)}}return e.\u0275fac=function(){let n;return function(r){return(n||(n=yt(e)))(r||e)}}(),e.\u0275dir=X({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(t,r){1&t&&j("change",function(o){return r.onChange(o.target.checked)})("blur",function(){return r.onTouched()})},features:[$e([VN]),Pe]}),e})();const BN={provide:Xn,useExisting:Le(()=>Ts),multi:!0},jN=new $("CompositionEventMode");let Ts=(()=>{class e extends RC{constructor(t,r,i){super(t,r),this._compositionMode=i,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function HN(){const e=xr()?xr().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(t){this.setProperty("value",t??"")}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}return e.\u0275fac=function(t){return new(t||e)(M(hr),M(pt),M(jN,8))},e.\u0275dir=X({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(t,r){1&t&&j("input",function(o){return r._handleInput(o.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(o){return r._compositionEnd(o.target.value)})},features:[$e([BN]),Pe]}),e})();function Pr(e){return null==e||("string"==typeof e||Array.isArray(e))&&0===e.length}function PC(e){return null!=e&&"number"==typeof e.length}const Pt=new $("NgValidators"),Nr=new $("NgAsyncValidators"),UN=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class NC{static min(n){return function kC(e){return n=>{if(Pr(n.value)||Pr(e))return null;const t=parseFloat(n.value);return!isNaN(t)&&t{if(Pr(n.value)||Pr(e))return null;const t=parseFloat(n.value);return!isNaN(t)&&t>e?{max:{max:e,actual:n.value}}:null}}(n)}static required(n){return function LC(e){return Pr(e.value)?{required:!0}:null}(n)}static requiredTrue(n){return function VC(e){return!0===e.value?null:{required:!0}}(n)}static email(n){return function BC(e){return Pr(e.value)||UN.test(e.value)?null:{email:!0}}(n)}static minLength(n){return function HC(e){return n=>Pr(n.value)||!PC(n.value)?null:n.value.lengthPC(n.value)&&n.value.length>e?{maxlength:{requiredLength:e,actualLength:n.value.length}}:null}(n)}static pattern(n){return function UC(e){if(!e)return Wl;let n,t;return"string"==typeof e?(t="","^"!==e.charAt(0)&&(t+="^"),t+=e,"$"!==e.charAt(e.length-1)&&(t+="$"),n=new RegExp(t)):(t=e.toString(),n=e),r=>{if(Pr(r.value))return null;const i=r.value;return n.test(i)?null:{pattern:{requiredPattern:t,actualValue:i}}}}(n)}static nullValidator(n){return null}static compose(n){return ZC(n)}static composeAsync(n){return YC(n)}}function Wl(e){return null}function $C(e){return null!=e}function zC(e){return fs(e)?_t(e):e}function GC(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function WC(e,n){return n.map(t=>t(e))}function qC(e){return e.map(n=>function $N(e){return!e.validate}(n)?n:t=>n.validate(t))}function ZC(e){if(!e)return null;const n=e.filter($C);return 0==n.length?null:function(t){return GC(WC(t,n))}}function jh(e){return null!=e?ZC(qC(e)):null}function YC(e){if(!e)return null;const n=e.filter($C);return 0==n.length?null:function(t){return function LN(...e){if(1===e.length){const n=e[0];if(h(n))return zl(n,null);if(f(n)&&Object.getPrototypeOf(n)===Object.prototype){const t=Object.keys(n);return zl(t.map(r=>n[r]),t)}}if("function"==typeof e[e.length-1]){const n=e.pop();return zl(e=1===e.length&&h(e[0])?e[0]:e,null).pipe(oe(t=>n(...t)))}return zl(e,null)}(WC(t,n).map(zC)).pipe(oe(GC))}}function Uh(e){return null!=e?YC(qC(e)):null}function KC(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function XC(e){return e._rawValidators}function QC(e){return e._rawAsyncValidators}function $h(e){return e?Array.isArray(e)?e:[e]:[]}function ql(e,n){return Array.isArray(e)?e.includes(n):e===n}function JC(e,n){const t=$h(n);return $h(e).forEach(i=>{ql(t,i)||t.push(i)}),t}function ew(e,n){return $h(n).filter(t=>!ql(e,t))}class tw{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(n){this._rawValidators=n||[],this._composedValidatorFn=jh(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Uh(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,t){return!!this.control&&this.control.hasError(n,t)}getError(n,t){return this.control?this.control.getError(n,t):null}}class Ut extends tw{get formDirective(){return null}get path(){return null}}class yr extends tw{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class nw{constructor(n){this._cd=n}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let zh=(()=>{class e extends nw{constructor(t){super(t)}}return e.\u0275fac=function(t){return new(t||e)(M(yr,2))},e.\u0275dir=X({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,r){2&t&&rt("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[Pe]}),e})(),Gh=(()=>{class e extends nw{constructor(t){super(t)}}return e.\u0275fac=function(t){return new(t||e)(M(Ut,10))},e.\u0275dir=X({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(t,r){2&t&&rt("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},features:[Pe]}),e})();const Os="VALID",Yl="INVALID",ho="PENDING",xs="DISABLED";function Zh(e){return(Kl(e)?e.validators:e)||null}function Yh(e,n){return(Kl(n)?n.asyncValidators:e)||null}function Kl(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function iw(e,n,t){const r=e.controls;if(!(n?Object.keys(r):r).length)throw new O(1e3,"");if(!r[t])throw new O(1001,"")}function ow(e,n,t){e._forEachChild((r,i)=>{if(void 0===t[i])throw new O(1002,"")})}class Xl{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get valid(){return this.status===Os}get invalid(){return this.status===Yl}get pending(){return this.status==ho}get disabled(){return this.status===xs}get enabled(){return this.status!==xs}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(JC(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(JC(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(ew(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(ew(n,this._rawAsyncValidators))}hasValidator(n){return ql(this._rawValidators,n)}hasAsyncValidator(n){return ql(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=ho,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=xs,this.errors=null,this._forEachChild(r=>{r.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Os,this._forEachChild(r=>{r.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Os||this.status===ho)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?xs:Os}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=ho,this._hasOwnPendingAsyncValidator=!0;const t=zC(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent)}get(n){let t=n;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((r,i)=>r&&r._find(i),this)}getError(n,t){const r=t?this.get(t):this;return r&&r.errors?r.errors[n]:null}hasError(n,t){return!!this.getError(n,t)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new me,this.statusChanges=new me}_calculateStatus(){return this._allControlsDisabled()?xs:this.errors?Yl:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ho)?ho:this._anyControlsHaveStatus(Yl)?Yl:Os}_anyControlsHaveStatus(n){return this._anyControls(t=>t.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Kl(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function qN(e){return Array.isArray(e)?jh(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function ZN(e){return Array.isArray(e)?Uh(e):e||null}(this._rawAsyncValidators)}}class fo extends Xl{constructor(n,t,r){super(Zh(t),Yh(r,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,t){return this.controls[n]?this.controls[n]:(this.controls[n]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(n,t,r={}){this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(n,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(n,t,r={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],t&&this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,t={}){ow(this,0,n),Object.keys(n).forEach(r=>{iw(this,!0,r),this.controls[r].setValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(Object.keys(n).forEach(r=>{const i=this.controls[r];i&&i.patchValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n={},t={}){this._forEachChild((r,i)=>{r.reset(n[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(n,t,r)=>(n[r]=t.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(t,r)=>!!r._syncPendingControls()||t);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(t=>{const r=this.controls[t];r&&n(r,t)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[t,r]of Object.entries(this.controls))if(this.contains(t)&&n(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(t,r,i)=>((r.enabled||this.disabled)&&(t[i]=r.value),t))}_reduceChildren(n,t){let r=n;return this._forEachChild((i,o)=>{r=t(r,i,o)}),r}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}}const YN=fo;class sw extends fo{}const oi=new $("CallSetDisabledState",{providedIn:"root",factory:()=>Rs}),Rs="always";function Ql(e,n){return[...n.path,e]}function Ps(e,n,t=Rs){Kh(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function XN(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&aw(e,n)})}(e,n),function JN(e,n){const t=(r,i)=>{n.valueAccessor.writeValue(r),i&&n.viewToModelUpdate(r)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}(e,n),function QN(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&aw(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function KN(e,n){if(n.valueAccessor.setDisabledState){const t=r=>{n.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function Jl(e,n,t=!0){const r=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(r),n.valueAccessor.registerOnTouched(r)),tc(e,n),e&&(n._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function ec(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function Kh(e,n){const t=XC(e);null!==n.validator?e.setValidators(KC(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const r=QC(e);null!==n.asyncValidator?e.setAsyncValidators(KC(r,n.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const i=()=>e.updateValueAndValidity();ec(n._rawValidators,i),ec(n._rawAsyncValidators,i)}function tc(e,n){let t=!1;if(null!==e){if(null!==n.validator){const i=XC(e);if(Array.isArray(i)&&i.length>0){const o=i.filter(s=>s!==n.validator);o.length!==i.length&&(t=!0,e.setValidators(o))}}if(null!==n.asyncValidator){const i=QC(e);if(Array.isArray(i)&&i.length>0){const o=i.filter(s=>s!==n.asyncValidator);o.length!==i.length&&(t=!0,e.setAsyncValidators(o))}}}const r=()=>{};return ec(n._rawValidators,r),ec(n._rawAsyncValidators,r),t}function aw(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function lw(e,n){Kh(e,n)}function Qh(e,n){if(!e.hasOwnProperty("model"))return!1;const t=e.model;return!!t.isFirstChange()||!Object.is(n,t.currentValue)}function cw(e,n){e._syncPendingControls(),n.forEach(t=>{const r=t.control;"submit"===r.updateOn&&r._pendingChange&&(t.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}function Jh(e,n){if(!n)return null;let t,r,i;return Array.isArray(n),n.forEach(o=>{o.constructor===Ts?t=o:function nk(e){return Object.getPrototypeOf(e.constructor)===ii}(o)?r=o:i=o}),i||r||t||null}const ik={provide:Ut,useExisting:Le(()=>nc)},Ns=(()=>Promise.resolve())();let nc=(()=>{class e extends Ut{constructor(t,r,i){super(),this.callSetDisabledState=i,this.submitted=!1,this._directives=new Set,this.ngSubmit=new me,this.form=new fo({},jh(t),Uh(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){Ns.then(()=>{const r=this._findContainer(t.path);t.control=r.registerControl(t.name,t.control),Ps(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){Ns.then(()=>{const r=this._findContainer(t.path);r&&r.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){Ns.then(()=>{const r=this._findContainer(t.path),i=new fo({});lw(i,t),r.registerControl(t.name,i),i.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){Ns.then(()=>{const r=this._findContainer(t.path);r&&r.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,r){Ns.then(()=>{this.form.get(t.path).setValue(r)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,cw(this.form,this._directives),this.ngSubmit.emit(t),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}}return e.\u0275fac=function(t){return new(t||e)(M(Pt,10),M(Nr,10),M(oi,8))},e.\u0275dir=X({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,r){1&t&&j("submit",function(o){return r.onSubmit(o)})("reset",function(){return r.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[$e([ik]),Pe]}),e})();function uw(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function dw(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const po=class extends Xl{constructor(n=null,t,r){super(Zh(t),Yh(r,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Kl(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=dw(n)?n.value:n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(n,t={}){this.setValue(n,t)}reset(n=this.defaultValue,t={}){this._applyFormState(n),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){uw(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){uw(this._onDisabledChange,n)}_forEachChild(n){}_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(n){dw(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}},ye=po,ak={provide:yr,useExisting:Le(()=>ef)},pw=(()=>Promise.resolve())();let ef=(()=>{class e extends yr{constructor(t,r,i,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new po,this._registered=!1,this.name="",this.update=new me,this._parent=t,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=Jh(0,o)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){const r=t.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),Qh(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Ps(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(t){pw.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const r=t.isDisabled.currentValue,i=0!==r&&St(r);pw.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?Ql(t,this._parent):[t]}}return e.\u0275fac=function(t){return new(t||e)(M(Ut,9),M(Pt,10),M(Nr,10),M(Xn,10),M(Ds,8),M(oi,8))},e.\u0275dir=X({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:[$e([ak]),Pe,Ft]}),e})(),gw=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=X({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e})();const lk={provide:Xn,useExisting:Le(()=>rc),multi:!0};let rc=(()=>{class e extends ii{writeValue(t){this.setProperty("value",t??"")}registerOnChange(t){this.onChange=r=>{t(""==r?null:parseFloat(r))}}}return e.\u0275fac=function(){let n;return function(r){return(n||(n=yt(e)))(r||e)}}(),e.\u0275dir=X({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,r){1&t&&j("input",function(o){return r.onChange(o.target.value)})("blur",function(){return r.onTouched()})},features:[$e([lk]),Pe]}),e})(),mw=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=dt({type:e}),e.\u0275inj=nt({}),e})();const tf=new $("NgModelWithFormControlWarning"),fk={provide:Ut,useExisting:Le(()=>go)};let go=(()=>{class e extends Ut{constructor(t,r,i){super(),this.callSetDisabledState=i,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new me,this._setValidators(t),this._setAsyncValidators(r)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(tc(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const r=this.form.get(t.path);return Ps(r,t,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),r}getControl(t){return this.form.get(t.path)}removeControl(t){Jl(t.control||null,t,!1),function rk(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,r){this.form.get(t.path).setValue(r)}onSubmit(t){return this.submitted=!0,cw(this.form,this.directives),this.ngSubmit.emit(t),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const r=t.control,i=this.form.get(t.path);r!==i&&(Jl(r||null,t),(e=>e instanceof po)(i)&&(Ps(i,t,this.callSetDisabledState),t.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const r=this.form.get(t.path);lw(r,t),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const r=this.form.get(t.path);r&&function ek(e,n){return tc(e,n)}(r,t)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Kh(this.form,this),this._oldForm&&tc(this._oldForm,this)}_checkFormPresent(){}}return e.\u0275fac=function(t){return new(t||e)(M(Pt,10),M(Nr,10),M(oi,8))},e.\u0275dir=X({type:e,selectors:[["","formGroup",""]],hostBindings:function(t,r){1&t&&j("submit",function(o){return r.onSubmit(o)})("reset",function(){return r.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[$e([fk]),Pe,Ft]}),e})();const mk={provide:yr,useExisting:Le(()=>ic)};let ic=(()=>{class e extends yr{set isDisabled(t){}constructor(t,r,i,o,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.name=null,this.update=new me,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=Jh(0,o)}ngOnChanges(t){this._added||this._setUpControl(),Qh(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return Ql(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return e._ngModelWarningSentOnce=!1,e.\u0275fac=function(t){return new(t||e)(M(Ut,13),M(Pt,10),M(Nr,10),M(Xn,10),M(tf,8))},e.\u0275dir=X({type:e,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[$e([mk]),Pe,Ft]}),e})();const _k={provide:Xn,useExisting:Le(()=>oc),multi:!0};function Cw(e,n){return null==e?`${n}`:(n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let oc=(()=>{class e extends ii{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;const i=Cw(this._getOptionId(t),t);this.setProperty("value",i)}registerOnChange(t){this.onChange=r=>{this.value=this._getOptionValue(r),t(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r),t))return r;return null}_getOptionValue(t){const r=function vk(e){return e.split(":")[0]}(t);return this._optionMap.has(r)?this._optionMap.get(r):t}}return e.\u0275fac=function(){let n;return function(r){return(n||(n=yt(e)))(r||e)}}(),e.\u0275dir=X({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(t,r){1&t&&j("change",function(o){return r.onChange(o.target.value)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[$e([_k]),Pe]}),e})(),sf=(()=>{class e{constructor(t,r,i){this._element=t,this._renderer=r,this._select=i,this._select&&(this.id=this._select._registerOption())}set ngValue(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(Cw(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return e.\u0275fac=function(t){return new(t||e)(M(pt),M(hr),M(oc,9))},e.\u0275dir=X({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e})();const yk={provide:Xn,useExisting:Le(()=>af),multi:!0};function ww(e,n){return null==e?`${n}`:("string"==typeof n&&(n=`'${n}'`),n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let af=(()=>{class e extends ii{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){let r;if(this.value=t,Array.isArray(t)){const i=t.map(o=>this._getOptionId(o));r=(o,s)=>{o._setSelected(i.indexOf(s.toString())>-1)}}else r=(i,o)=>{i._setSelected(!1)};this._optionMap.forEach(r)}registerOnChange(t){this.onChange=r=>{const i=[],o=r.selectedOptions;if(void 0!==o){const s=o;for(let a=0;a{class e{constructor(t,r,i){this._element=t,this._renderer=r,this._select=i,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){null!=this._select&&(this._value=t,this._setElementValue(ww(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(ww(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}_setSelected(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return e.\u0275fac=function(t){return new(t||e)(M(pt),M(hr),M(af,9))},e.\u0275dir=X({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e})(),Rw=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=dt({type:e}),e.\u0275inj=nt({imports:[mw]}),e})();class Pw extends Xl{constructor(n,t,r){super(Zh(t),Yh(r,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(n){return this.controls[this._adjustIndex(n)]}push(n,t={}){this.controls.push(n),this._registerControl(n),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}insert(n,t,r={}){this.controls.splice(n,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(n,t={}){let r=this._adjustIndex(n);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}setControl(n,t,r={}){let i=this._adjustIndex(n);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),t&&(this.controls.splice(i,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,t={}){ow(this,0,n),n.forEach((r,i)=>{iw(this,!1,i),this.at(i).setValue(r,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(n.forEach((r,i)=>{this.at(i)&&this.at(i).patchValue(r,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n=[],t={}){this._forEachChild((r,i)=>{r.reset(n[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(n=>n.getRawValue())}clear(n={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_adjustIndex(n){return n<0?n+this.length:n}_syncPendingControls(){let n=this.controls.reduce((t,r)=>!!r._syncPendingControls()||t,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((t,r)=>{n(t,r)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(t=>t.enabled&&n(t))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(const n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}_find(n){return this.at(n)??null}}function Nw(e){return!!e&&(void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn)}let Tk=(()=>{class e{constructor(){this.useNonNullable=!1}get nonNullable(){const t=new e;return t.useNonNullable=!0,t}group(t,r=null){const i=this._reduceControls(t);let o={};return Nw(r)?o=r:null!==r&&(o.validators=r.validator,o.asyncValidators=r.asyncValidator),new fo(i,o)}record(t,r=null){const i=this._reduceControls(t);return new sw(i,r)}control(t,r,i){let o={};return this.useNonNullable?(Nw(r)?o=r:(o.validators=r,o.asyncValidators=i),new po(t,{...o,nonNullable:!0})):new po(t,r,i)}array(t,r,i){const o=t.map(s=>this._createControl(s));return new Pw(o,r,i)}_reduceControls(t){const r={};return Object.keys(t).forEach(i=>{r[i]=this._createControl(t[i])}),r}_createControl(t){return t instanceof po||t instanceof Xl?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),kw=(()=>{class e extends Tk{group(t,r=null){return super.group(t,r)}control(t,r,i){return super.control(t,r,i)}array(t,r,i){return super.array(t,r,i)}}return e.\u0275fac=function(){let n;return function(r){return(n||(n=yt(e)))(r||e)}}(),e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),uf=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:oi,useValue:t.callSetDisabledState??Rs}]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=dt({type:e}),e.\u0275inj=nt({imports:[Rw]}),e})(),Fw=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:tf,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:oi,useValue:t.callSetDisabledState??Rs}]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=dt({type:e}),e.\u0275inj=nt({imports:[Rw]}),e})();const br=new be(e=>e.complete());function df(e){return e?function Ok(e){return new be(n=>e.schedule(()=>n.complete()))}(e):br}function Qn(e,n){return new be(n?t=>n.schedule(xk,0,{error:e,subscriber:t}):t=>t.error(e))}function xk({error:e,subscriber:n}){n.error(e)}class Pk{constructor(n){this.resultSelector=n}call(n,t){return t.subscribe(new Nk(n,this.resultSelector))}}class Nk extends Z{constructor(n,t,r=Object.create(null)){super(n),this.resultSelector=t,this.iterators=[],this.active=0,this.resultSelector="function"==typeof t?t:void 0}_next(n){const t=this.iterators;h(n)?t.push(new Fk(n)):t.push("function"==typeof n[mn]?new kk(n[mn]()):new Lk(this.destination,this,n))}_complete(){const n=this.iterators,t=n.length;if(this.unsubscribe(),0!==t){this.active=t;for(let r=0;rthis.index}hasCompleted(){return this.array.length===this.index}}class Lk extends Ci{constructor(n,t,r){super(n),this.parent=t,this.observable=r,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}[mn](){return this}next(){const n=this.buffer;return 0===n.length&&this.isComplete?{value:null,done:!0}:{value:n.shift(),done:!1}}hasValue(){return this.buffer.length>0}hasCompleted(){return 0===this.buffer.length&&this.isComplete}notifyComplete(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()}notifyNext(n){this.buffer.push(n),this.parent.checkIterators()}subscribe(){return wi(this.observable,new bi(this))}}class Vk extends A{constructor(n,t){super()}schedule(n,t=0){return this}}class hf extends Vk{constructor(n,t){super(n,t),this.scheduler=n,this.work=t,this.pending=!1}schedule(n,t=0){if(this.closed)return this;this.state=n;const r=this.id,i=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(i,r,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(i,this.id,t),this}requestAsyncId(n,t,r=0){return setInterval(n.flush.bind(n,this),r)}recycleAsyncId(n,t,r=0){if(null!==r&&this.delay===r&&!1===this.pending)return t;clearInterval(t)}execute(n,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const r=this._execute(n,t);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,t){let i,r=!1;try{this.work(n)}catch(o){r=!0,i=!!o&&o||new Error(o)}if(r)return this.unsubscribe(),i}_unsubscribe(){const n=this.id,t=this.scheduler,r=t.actions,i=r.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&r.splice(i,1),null!=n&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null}}let Lw=(()=>{class e{constructor(t,r=e.now){this.SchedulerAction=t,this.now=r}schedule(t,r=0,i){return new this.SchedulerAction(this,t).schedule(i,r)}}return e.now=()=>Date.now(),e})();class Jn extends Lw{constructor(n,t=Lw.now){super(n,()=>Jn.delegate&&Jn.delegate!==this?Jn.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(n,t=0,r){return Jn.delegate&&Jn.delegate!==this?Jn.delegate.schedule(n,t,r):super.schedule(n,t,r)}flush(n){const{actions:t}=this;if(this.active)return void t.push(n);let r;this.active=!0;do{if(r=n.execute(n.state,n.delay))break}while(n=t.shift());if(this.active=!1,r){for(;n=t.shift();)n.unsubscribe();throw r}}}const sc=new class Hk extends Jn{flush(n){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let r,i=-1,o=t.length;n=n||t.shift();do{if(r=n.execute(n.state,n.delay))break}while(++i0?super.requestAsyncId(n,t,r):(n.actions.push(this),n.scheduled||(n.scheduled=requestAnimationFrame(()=>n.flush(null))))}recycleAsyncId(n,t,r=0){if(null!==r&&r>0||null===r&&this.delay>0)return super.recycleAsyncId(n,t,r);0===n.actions.length&&(cancelAnimationFrame(t),n.scheduled=void 0)}});function Jt(e,n){return function(r){return r.lift(new jk(e,n))}}class jk{constructor(n,t){this.predicate=n,this.thisArg=t}call(n,t){return t.subscribe(new Uk(n,this.predicate,this.thisArg))}}class Uk extends Z{constructor(n,t,r){super(n),this.predicate=t,this.thisArg=r,this.count=0}_next(n){let t;try{t=this.predicate.call(this.thisArg,n,this.count++)}catch(r){return void this.destination.error(r)}t&&this.destination.next(n)}}const Vw=(()=>{function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e})();function kr(e){return n=>0===e?df():n.lift(new $k(e))}class $k{constructor(n){if(this.total=n,this.total<0)throw new Vw}call(n,t){return t.subscribe(new zk(n,this.total))}}class zk extends Z{constructor(n,t){super(n),this.total=t,this.count=0}_next(n){const t=this.total,r=++this.count;r<=t&&(this.destination.next(n),r===t&&(this.destination.complete(),this.unsubscribe()))}}function Fr(){}function Ze(e,n,t){return function(i){return i.lift(new Gk(e,n,t))}}class Gk{constructor(n,t,r){this.nextOrObserver=n,this.error=t,this.complete=r}call(n,t){return t.subscribe(new Wk(n,this.nextOrObserver,this.error,this.complete))}}class Wk extends Z{constructor(n,t,r,i){super(n),this._tapNext=Fr,this._tapError=Fr,this._tapComplete=Fr,this._tapError=r||Fr,this._tapComplete=i||Fr,z(t)?(this._context=this,this._tapNext=t):t&&(this._context=t,this._tapNext=t.next||Fr,this._tapError=t.error||Fr,this._tapComplete=t.complete||Fr)}_next(n){try{this._tapNext.call(this._context,n)}catch(t){return void this.destination.error(t)}this.destination.next(n)}_error(n){try{this._tapError.call(this._context,n)}catch(t){return void this.destination.error(t)}this.destination.error(n)}_complete(){try{this._tapComplete.call(this._context)}catch(n){return void this.destination.error(n)}return this.destination.complete()}}function ai(e){return function(t){const r=new qk(e),i=t.lift(r);return r.caught=i}}class qk{constructor(n){this.selector=n}call(n,t){return t.subscribe(new Zk(n,this.selector,this.caught))}}class Zk extends Ci{constructor(n,t,r){super(n),this.selector=t,this.caught=r}error(n){if(!this.isStopped){let t;try{t=this.selector(n,this.caught)}catch(o){return void super.error(o)}this._unsubscribeAndRecycle();const r=new bi(this);this.add(r);const i=wi(t,r);i!==r&&this.add(i)}}}const ac=new $("HIGHLIGHT_OPTIONS");let ff;let Xk=(()=>{class e{constructor(t,r,i){this.doc=t,this.platformId=r,this._options=i,this._ready=new ze(null),this.ready=this._ready.asObservable().pipe(Jt(o=>!!o),oe(o=>o),kr(1)),Hl(r)&&(t.defaultView.hljs?this._ready.next(t.defaultView.hljs):(this._loadLibrary().pipe(nn(o=>this._options&&this._options.lineNumbersLoader?(t.defaultView.hljs=o,this.loadLineNumbers().pipe(Ze(()=>this._ready.next(o)))):(this._ready.next(o),br)),ai(o=>(console.error("[HLJS] ",o),br))).subscribe(),this._options?.themePath&&this.loadTheme(this._options.themePath)))}_loadLibrary(){if(this._options){if(this._options.fullLibraryLoader&&this._options.coreLibraryLoader)return Qn(()=>"The full library and the core library were imported, only one of them should be imported!");if(this._options.fullLibraryLoader&&this._options.languages)return Qn(()=>"The highlighting languages were imported they are not needed!");if(this._options.coreLibraryLoader&&!this._options.languages)return Qn(()=>"The highlighting languages were not imported!");if(!this._options.coreLibraryLoader&&this._options.languages)return Qn(()=>"The core library was not imported!");if(this._options.fullLibraryLoader)return this.loadFullLibrary();if(this._options.coreLibraryLoader&&this._options.languages&&Object.keys(this._options.languages).length)return this.loadCoreLibrary().pipe(nn(t=>this._loadLanguages(t)))}return Qn(()=>"Highlight.js library was not imported!")}_loadLanguages(t){return function Rk(...e){const n=e[e.length-1];return"function"==typeof n&&e.pop(),ta(e,void 0).lift(new Pk(n))}(...Object.entries(this._options.languages).map(([i,o])=>lc(o()).pipe(Ze(s=>t.registerLanguage(i,s))))).pipe(oe(()=>t))}loadCoreLibrary(){return lc(this._options.coreLibraryLoader())}loadFullLibrary(){return lc(this._options.fullLibraryLoader())}loadLineNumbers(){return lc(this._options.lineNumbersLoader())}setTheme(t){Hl(this.platformId)&&(this._themeLinkElement?this._themeLinkElement.href=t:this.loadTheme(t))}loadTheme(t){this._themeLinkElement=this.doc.createElement("link"),this._themeLinkElement.href=t,this._themeLinkElement.type="text/css",this._themeLinkElement.rel="stylesheet",this._themeLinkElement.media="screen,print",this.doc.head.appendChild(this._themeLinkElement)}}return e.\u0275fac=function(t){return new(t||e)(P(He),P(dr),P(ac,8))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const lc=e=>_t(e).pipe(Jt(n=>!!n&&!!n.default),oe(n=>n.default));let Qk=(()=>{class e{get hljs(){return this._hljs}constructor(t,r){this._loader=t,this._hljs=null,t.ready.subscribe(i=>{this._hljs=i,r&&r.config&&(i.configure(r.config),i.listLanguages().length<1&&console.error("[HighlightJS]: No languages were registered!"))})}highlight(t,{language:r,ignoreIllegals:i}){return this._loader.ready.pipe(oe(o=>o.highlight(t,{language:r,ignoreIllegals:i})))}highlightAuto(t,r){return this._loader.ready.pipe(oe(i=>i.highlightAuto(t,r)))}highlightElement(t){return this._loader.ready.pipe(oe(r=>r.highlightElement(t)))}highlightAll(){return this._loader.ready.pipe(oe(t=>t.highlightAll()))}configure(t){return this._loader.ready.pipe(oe(r=>r.configure(t)))}registerLanguage(t,r){return this._loader.ready.pipe(Ze(i=>i.registerLanguage(t,r)))}unregisterLanguage(t){return this._loader.ready.pipe(Ze(r=>r.unregisterLanguage(t)))}registerAliases(t,{languageName:r}){return this._loader.ready.pipe(Ze(i=>i.registerAliases(t,{languageName:r})))}listLanguages(){return this._loader.ready.pipe(oe(t=>t.listLanguages()))}getLanguage(t){return this._loader.ready.pipe(oe(r=>r.getLanguage(t)))}safeMode(){return this._loader.ready.pipe(oe(t=>t.safeMode()))}debugMode(){return this._loader.ready.pipe(oe(t=>t.debugMode()))}lineNumbersBlock(t){return this._loader.ready.pipe(Jt(r=>!!r.lineNumbersBlock),Ze(r=>r.lineNumbersBlock(t)))}}return e.\u0275fac=function(t){return new(t||e)(P(Xk),P(ac,8))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Jk=(()=>{class e{constructor(t,r,i,o,s){this._hljs=r,this._sanitizer=i,this.platformId=o,this._options=s,this.highlighted=new me,this._nativeElement=t.nativeElement}ngOnChanges(t){Hl(this.platformId)&&null!==t?.code?.currentValue&&t.code.currentValue!==t.code.previousValue&&(this.code?this.highlightElement(this.code,this.languages):this.setTextContent(""))}highlightElement(t,r){this.setTextContent(t),this._hljs.highlightAuto(t,r).subscribe(i=>{this.setInnerHTML(i?.value),this.lineNumbers&&this._options&&this._options.lineNumbersLoader&&this.addLineNumbers(),this.highlighted.emit(i)})}addLineNumbers(){this.destroyLineNumbersObserver(),sc.schedule(()=>{this._hljs.lineNumbersBlock(this._nativeElement).subscribe(),this._lineNumbersObs=new MutationObserver(()=>{this._nativeElement.firstElementChild&&"TABLE"===this._nativeElement.firstElementChild.tagName.toUpperCase()&&this._nativeElement.classList.add("hljs-line-numbers"),this.destroyLineNumbersObserver()}),this._lineNumbersObs.observe(this._nativeElement,{childList:!0})})}destroyLineNumbersObserver(){this._lineNumbersObs&&(this._lineNumbersObs.disconnect(),this._lineNumbersObs=null)}setTextContent(t){sc.schedule(()=>this._nativeElement.textContent=t)}setInnerHTML(t){sc.schedule(()=>this._nativeElement.innerHTML=function Kk(e){return function Yk(){if(!ff)try{ff=window?.trustedTypes?.createPolicy("ngx-highlightjs",{createHTML:e=>e})}catch{}return ff}()?.createHTML(e)||e}(this._sanitizer.sanitize(Fe.HTML,t)||""))}}return e.\u0275fac=function(t){return new(t||e)(M(pt),M(Qk),M(TC),M(dr),M(ac,8))},e.\u0275dir=X({type:e,selectors:[["","highlight",""]],hostVars:2,hostBindings:function(t,r){2&t&&rt("hljs",!0)},inputs:{code:["highlight","code"],languages:"languages",lineNumbers:"lineNumbers"},outputs:{highlighted:"highlighted"},features:[Ft]}),e})(),eF=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=dt({type:e}),e.\u0275inj=nt({}),e})();const tF=[{l:"a",s:/[\u24d0\uff41\u1e9a\xe0\xe1\xe2\u1ea7\u1ea5\u1eab\u1ea9\xe3\u0101\u0103\u1eb1\u1eaf\u1eb5\u1eb3\u0227\u01e1\xe4\u01df\u1ea3\xe5\u01fb\u01ce\u0201\u0203\u1ea1\u1ead\u1eb7\u1e01\u0105\u2c65\u0250]/gi},{l:"aa",s:/\ua733/gi},{l:"ae",s:/[\xe6\u01fd\u01e3]/gi},{l:"ao",s:/\ua735/gi},{l:"au",s:/\ua737/gi},{l:"av",s:/[\ua739\ua73b]/gi},{l:"ay",s:/\ua73d/gi},{l:"b",s:/[\u24d1\uff42\u1e03\u1e05\u1e07\u0180\u0183\u0253]/gi},{l:"c",s:/[\u24d2\uff43\u0107\u0109\u010b\u010d\xe7\u1e09\u0188\u023c\ua73f\u2184]/gi},{l:"d",s:/[\u24d3\uff44\u1e0b\u010f\u1e0d\u1e11\u1e13\u1e0f\u0111\u018c\u0256\u0257\ua77a]/gi},{l:"dz",s:/[\u01f3\u01c6]/gi},{l:"e",s:/[\u24d4\uff45\xe8\xe9\xea\u1ec1\u1ebf\u1ec5\u1ec3\u1ebd\u0113\u1e15\u1e17\u0115\u0117\xeb\u1ebb\u011b\u0205\u0207\u1eb9\u1ec7\u0229\u1e1d\u0119\u1e19\u1e1b\u0247\u025b\u01dd]/gi},{l:"f",s:/[\u24d5\uff46\u1e1f\u0192\ua77c]/gi},{l:"g",s:/[\u24d6\uff47\u01f5\u011d\u1e21\u011f\u0121\u01e7\u0123\u01e5\u0260\ua7a1\u1d79\ua77f]/gi},{l:"h",s:/[\u24d7\uff48\u0125\u1e23\u1e27\u021f\u1e25\u1e29\u1e2b\u1e96\u0127\u2c68\u2c76\u0265]/gi},{l:"hv",s:/\u0195/gi},{l:"i",s:/[\u24d8\uff49\xec\xed\xee\u0129\u012b\u012d\u0130\xef\u1e2f\u1ec9\u01d0\u0209\u020b\u1ecb\u012f\u1e2d\u0268\u0131]/gi},{l:"j",s:/[\u24d9\uff4a\u0135\u01f0\u0249]/gi},{l:"k",s:/[\u24da\uff4b\u1e31\u01e9\u1e33\u0137\u1e35\u0199\u2c6a\ua741\ua743\ua745\ua7a3]/gi},{l:"l",s:/[\u24db\uff4c\u0140\u013a\u013e\u1e37\u1e39\u013c\u1e3d\u1e3b\u017f\u0142\u019a\u026b\u2c61\ua749\ua781\ua747\ua746]/gi},{l:"lj",s:/\u01c9/gi},{l:"m",s:/[\u24dc\uff4d\u1e3f\u1e41\u1e43\u0271\u026f]/gi},{l:"n",s:/[\u24dd\uff4e\u01f9\u0144\xf1\u1e45\u0148\u1e47\u0146\u1e4b\u1e49\u019e\u0272\u0149\ua791\ua7a5]/gi},{l:"nj",s:/\u01cc/gi},{l:"o",s:/[\u24de\uff4f\xf2\xf3\xf4\u1ed3\u1ed1\u1ed7\u1ed5\xf5\u1e4d\u022d\u1e4f\u014d\u1e51\u1e53\u014f\u022f\u0231\xf6\u022b\u1ecf\u0151\u01d2\u020d\u020f\u01a1\u1edd\u1edb\u1ee1\u1edf\u1ee3\u1ecd\u1ed9\u01eb\u01ed\xf8\u01ff\u0254\u019f\ua74b\ua74d\u0275]/gi},{l:"oi",s:/\u01a3/gi},{l:"oe",s:/\u0153/gi},{l:"oo",s:/\ua74f/gi},{l:"ou",s:/\u0223/gi},{l:"p",s:/[\u24df\uff50\u1e55\u1e57\u01a5\u1d7d\ua751\ua753\ua755]/gi},{l:"q",s:/[\u24e0\uff51\u024b\ua757\ua759]/gi},{l:"r",s:/[\u24e1\uff52\u0155\u1e59\u0159\u0211\u0213\u1e5b\u1e5d\u0157\u1e5f\u024d\u027d\ua75b\ua7a7\ua783]/gi},{l:"s",s:/[\u24e2\uff53\xdf\u1e9e\u015b\u1e65\u015d\u1e61\u0161\u1e67\u1e63\u1e69\u0219\u015f\u023f\ua7a9\ua785\u1e9b]/gi},{l:"t",s:/[\u24e3\uff54\u1e6b\u1e97\u0165\u1e6d\u021b\u0163\u1e71\u1e6f\u0167\u01ad\u0288\u2c66\ua787]/gi},{l:"tz",s:/\ua729/gi},{l:"u",s:/[\u24e4\uff55\xf9\xfa\xfb\u0169\u1e79\u016b\u1e7b\u016d\xfc\u01dc\u01d8\u01d6\u01da\u1ee7\u016f\u0171\u01d4\u0215\u0217\u01b0\u1eeb\u1ee9\u1eef\u1eed\u1ef1\u1ee5\u1e73\u0173\u1e77\u1e75\u0289]/gi},{l:"v",s:/[\u24e5\uff56\u1e7d\u1e7f\u028b\ua75f\u028c]/gi},{l:"vy",s:/\ua761/gi},{l:"w",s:/[\u24e6\uff57\u1e81\u1e83\u0175\u1e87\u1e85\u1e98\u1e89\u2c73]/gi},{l:"x",s:/[\u24e7\uff58\u1e8b\u1e8d]/gi},{l:"y",s:/[\u24e8\uff59\u1ef3\xfd\u0177\u1ef9\u0233\u1e8f\xff\u1ef7\u1e99\u1ef5\u01b4\u024f\u1eff]/gi},{l:"z",s:/[\u24e9\uff5a\u017a\u1e91\u017c\u017e\u1e93\u1e95\u01b6\u0225\u0240\u2c6c\ua763]/gi}],rF=new RegExp("[\\-\\[\\]\\/\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^\\$\\|]","g");function ks(e){return null!=e&&"false"!=`${e}`}function Bw(e){return Array.isArray(e)?e:[e]}function st(e){return null==e?"":"string"==typeof e?e:`${e}px`}function pf(e,n,t,r){return z(t)&&(r=t,t=void 0),r?pf(e,n,t).pipe(oe(i=>h(i)?r(...i):r(i))):new be(i=>{Hw(e,n,function o(s){i.next(arguments.length>1?Array.prototype.slice.call(arguments):s)},i,t)})}function Hw(e,n,t,r,i){let o;if(function lF(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(e)){const s=e;e.addEventListener(n,t,i),o=()=>s.removeEventListener(n,t,i)}else if(function aF(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(e)){const s=e;e.on(n,t),o=()=>s.off(n,t)}else if(function sF(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(e)){const s=e;e.addListener(n,t),o=()=>s.removeListener(n,t)}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(let s=0,a=e.length;sjw(n)&&e()),n},clearImmediate(e){jw(e)}},gf=(new class hF extends Jn{flush(n){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let r,i=-1,o=t.length;n=n||t.shift();do{if(r=n.execute(n.state,n.delay))break}while(++i0?super.requestAsyncId(n,t,r):(n.actions.push(this),n.scheduled||(n.scheduled=Uw.setImmediate(n.flush.bind(n,null))))}recycleAsyncId(n,t,r=0){if(null!==r&&r>0||null===r&&this.delay>0)return super.recycleAsyncId(n,t,r);0===n.actions.length&&(Uw.clearImmediate(t),n.scheduled=void 0)}}),new Jn(hf));class gF{constructor(n){this.durationSelector=n}call(n,t){return t.subscribe(new mF(n,this.durationSelector))}}class mF extends Ci{constructor(n,t){super(n),this.durationSelector=t,this.hasValue=!1}_next(n){if(this.value=n,this.hasValue=!0,!this.throttled){let t;try{const{durationSelector:i}=this;t=i(n)}catch(i){return this.destination.error(i)}const r=wi(t,new bi(this));!r||r.closed?this.clearThrottle():this.add(this.throttled=r)}}clearThrottle(){const{value:n,hasValue:t,throttled:r}=this;r&&(this.remove(r),this.throttled=void 0,r.unsubscribe()),t&&(this.value=void 0,this.hasValue=!1,this.destination.next(n))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function $w(e){return!h(e)&&e-parseFloat(e)+1>=0}function vF(e){const{index:n,period:t,subscriber:r}=e;if(r.next(n),!r.closed){if(-1===t)return r.complete();e.index=n+1,this.schedule(e,t)}}function zw(e,n=gf){return function pF(e){return function(t){return t.lift(new gF(e))}}(()=>function _F(e=0,n,t){let r=-1;return $w(n)?r=Number(n)<1?1:Number(n):zt(n)&&(t=n),zt(t)||(t=gf),new be(i=>{const o=$w(e)?e:+e-t.now();return t.schedule(vF,o,{index:0,period:r,subscriber:i})})}(e,n))}let mf;try{mf=typeof Intl<"u"&&Intl.v8BreakIterator}catch{mf=!1}let li,Fs=(()=>{class e{constructor(t){this._platformId=t,this.isBrowser=this._platformId?Hl(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&&!mf)&&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(t){return new(t||e)(P(dr))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function bF(){if(null==li){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return li=!1,li;if("scrollBehavior"in document.documentElement.style)li=!0;else{const e=Element.prototype.scrollTo;li=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return li}function Ww(e){return e.composedPath?e.composedPath()[0]:e.target}function qw(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}const wF=new $("cdk-dir-doc",{providedIn:"root",factory:function DF(){return W(He)}}),SF=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let Zw=(()=>{class e{constructor(t){this.value="ltr",this.change=new me,t&&(this.value=function EF(e){const n=e?.toLowerCase()||"";return"auto"===n&&typeof navigator<"u"&&navigator?.language?SF.test(navigator.language)?"rtl":"ltr":"rtl"===n?"rtl":"ltr"}((t.body?t.body.dir:null)||(t.documentElement?t.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}}return e.\u0275fac=function(t){return new(t||e)(P(wF,8))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),vf=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=dt({type:e}),e.\u0275inj=nt({}),e})(),AF=(()=>{class e{constructor(t,r,i){this._ngZone=t,this._platform=r,this._scrolled=new je,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=i}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const r=this.scrollContainers.get(t);r&&(r.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new be(r=>{this._globalSubscription||this._addGlobalListener();const i=t>0?this._scrolled.pipe(zw(t)).subscribe(r):this._scrolled.subscribe(r);return this._scrolledCount++,()=>{i.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):ne()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,r)=>this.deregister(r)),this._scrolled.complete()}ancestorScrolled(t,r){const i=this.getAncestorScrollContainers(t);return this.scrolled(r).pipe(Jt(o=>!o||i.indexOf(o)>-1))}getAncestorScrollContainers(t){const r=[];return this.scrollContainers.forEach((i,o)=>{this._scrollableContainsElement(o,t)&&r.push(o)}),r}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,r){let i=function oF(e){return e instanceof pt?e.nativeElement:e}(r),o=t.getElementRef().nativeElement;do{if(i==o)return!0}while(i=i.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>pf(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return e.\u0275fac=function(t){return new(t||e)(P(Ie),P(Fs),P(He,8))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),yf=(()=>{class e{constructor(t,r,i){this._platform=t,this._change=new je,this._changeListener=o=>{this._change.next(o)},this._document=i,r.runOutsideAngular(()=>{if(t.isBrowser){const o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:r,height:i}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+i,right:t.left+r,height:i,width:r}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._document,r=this._getWindow(),i=t.documentElement,o=i.getBoundingClientRect();return{top:-o.top||t.body.scrollTop||r.scrollY||i.scrollTop||0,left:-o.left||t.body.scrollLeft||r.scrollX||i.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(zw(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}}return e.\u0275fac=function(t){return new(t||e)(P(Fs),P(Ie),P(He,8))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Yw=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=dt({type:e}),e.\u0275inj=nt({}),e})(),Kw=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=dt({type:e}),e.\u0275inj=nt({imports:[vf,Yw,vf,Yw]}),e})();class OF{constructor(n){this.notifier=n}call(n,t){const r=new xF(n),i=wi(this.notifier,new bi(r));return i&&!r.seenValue?(r.add(i),t.subscribe(r)):r}}class xF extends Ci{constructor(n){super(n),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}class PF{constructor(n,t){this.predicate=n,this.inclusive=t}call(n,t){return t.subscribe(new NF(n,this.predicate,this.inclusive))}}class NF extends Z{constructor(n,t,r){super(n),this.predicate=t,this.inclusive=r,this.index=0}_next(n){const t=this.destination;let r;try{r=this.predicate(n,this.index++)}catch(i){return void t.error(i)}this.nextOrComplete(n,r)}nextOrComplete(n,t){const r=this.destination;t?r.next(n):(this.inclusive&&r.next(n),r.complete())}}class bf{attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;null!=n&&(this._attachedHost=null,n.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(n){this._attachedHost=n}}class kF extends bf{constructor(n,t,r,i,o){super(),this.component=n,this.viewContainerRef=t,this.injector=r,this.componentFactoryResolver=i,this.projectableNodes=o}}class Xw extends bf{constructor(n,t,r,i){super(),this.templateRef=n,this.viewContainerRef=t,this.context=r,this.injector=i}get origin(){return this.templateRef.elementRef}attach(n,t=this.context){return this.context=t,super.attach(n)}detach(){return this.context=void 0,super.detach()}}class FF extends bf{constructor(n){super(),this.element=n instanceof pt?n.nativeElement:n}}class LF{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(n){return n instanceof kF?(this._attachedPortal=n,this.attachComponentPortal(n)):n instanceof Xw?(this._attachedPortal=n,this.attachTemplatePortal(n)):this.attachDomPortal&&n instanceof FF?(this._attachedPortal=n,this.attachDomPortal(n)):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(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class VF extends LF{constructor(n,t,r,i,o){super(),this.outletElement=n,this._componentFactoryResolver=t,this._appRef=r,this._defaultInjector=i,this.attachDomPortal=s=>{const a=s.element,l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=o}attachComponentPortal(n){const r=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component);let i;return n.viewContainerRef?(i=n.viewContainerRef.createComponent(r,n.viewContainerRef.length,n.injector||n.viewContainerRef.injector,n.projectableNodes||void 0),this.setDisposeFn(()=>i.destroy())):(i=r.create(n.injector||this._defaultInjector||dn.NULL),this._appRef.attachView(i.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(i.hostView),i.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(i)),this._attachedPortal=n,i}attachTemplatePortal(n){let t=n.viewContainerRef,r=t.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return r.rootNodes.forEach(i=>this.outletElement.appendChild(i)),r.detectChanges(),this.setDisposeFn(()=>{let i=t.indexOf(r);-1!==i&&t.remove(i)}),this._attachedPortal=n,r}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}}let BF=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=dt({type:e}),e.\u0275inj=nt({}),e})();const Qw=bF();class UF{constructor(n,t){this._viewportRuler=n,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=t}attach(){}enable(){if(this._canBeEnabled()){const n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=st(-this._previousScrollPosition.left),n.style.top=st(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const n=this._document.documentElement,r=n.style,i=this._document.body.style,o=r.scrollBehavior||"",s=i.scrollBehavior||"";this._isEnabled=!1,r.left=this._previousHTMLStyles.left,r.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),Qw&&(r.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Qw&&(r.scrollBehavior=o,i.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,r=this._viewportRuler.getViewportSize();return t.scrollHeight>r.height||t.scrollWidth>r.width}}class $F{constructor(n,t,r,i){this._scrollDispatcher=n,this._ngZone=t,this._viewportRuler=r,this._config=i,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(n){this._overlayRef=n}enable(){if(this._scrollSubscription)return;const n=this._scrollDispatcher.scrolled(0).pipe(Jt(t=>!t||!this._overlayRef.overlayElement.contains(t.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class Jw{enable(){}disable(){}attach(){}}function Cf(e,n){return n.some(t=>e.bottomt.bottom||e.rightt.right)}function eD(e,n){return n.some(t=>e.topt.bottom||e.leftt.right)}class zF{constructor(n,t,r,i){this._scrollDispatcher=n,this._viewportRuler=t,this._ngZone=r,this._config=i,this._scrollSubscription=null}attach(n){this._overlayRef=n}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 t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:r,height:i}=this._viewportRuler.getViewportSize();Cf(t,[{width:r,height:i,bottom:i,right:r,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 GF=(()=>{class e{constructor(t,r,i,o){this._scrollDispatcher=t,this._viewportRuler=r,this._ngZone=i,this.noop=()=>new Jw,this.close=s=>new $F(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new UF(this._viewportRuler,this._document),this.reposition=s=>new zF(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=o}}return e.\u0275fac=function(t){return new(t||e)(P(AF),P(yf),P(Ie),P(He))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class tD{constructor(n){if(this.scrollStrategy=new Jw,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,n){const t=Object.keys(n);for(const r of t)void 0!==n[r]&&(this[r]=n[r])}}}class WF{constructor(n,t){this.connectionPair=n,this.scrollableViewProperties=t}}let nD=(()=>{class e{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){const r=this._attachedOverlays.indexOf(t);r>-1&&this._attachedOverlays.splice(r,1),0===this._attachedOverlays.length&&this.detach()}}return e.\u0275fac=function(t){return new(t||e)(P(He))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),qF=(()=>{class e extends nD{constructor(t,r){super(t),this._ngZone=r,this._keydownListener=i=>{const o=this._attachedOverlays;for(let s=o.length-1;s>-1;s--)if(o[s]._keydownEvents.observers.length>0){const a=o[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>a.next(i)):a.next(i);break}}}add(t){super.add(t),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(t){return new(t||e)(P(He),P(Ie,8))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),ZF=(()=>{class e extends nD{constructor(t,r,i){super(t),this._platform=r,this._ngZone=i,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=Ww(o)},this._clickListener=o=>{const s=Ww(o),a="click"===o.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;const l=this._attachedOverlays.slice();for(let c=l.length-1;c>-1;c--){const u=l[c];if(u._outsidePointerEvents.observers.length<1||!u.hasAttached())continue;if(u.overlayElement.contains(s)||u.overlayElement.contains(a))break;const d=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>d.next(o)):d.next(o)}}}add(t){if(super.add(t),!this._isAttached){const r=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(r)):this._addEventListeners(r),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=r.style.cursor,r.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const t=this._document.body;t.removeEventListener("pointerdown",this._pointerDownListener,!0),t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(t){t.addEventListener("pointerdown",this._pointerDownListener,!0),t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0)}}return e.\u0275fac=function(t){return new(t||e)(P(He),P(Fs),P(Ie,8))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),rD=(()=>{class e{constructor(t,r){this._platform=r,this._document=t}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t="cdk-overlay-container";if(this._platform.isBrowser||qw()){const i=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let o=0;othis._backdropClick.next(d),this._backdropTransitionendHandler=d=>{this._disposeBackdrop(d.target)},this._keydownEvents=new je,this._outsidePointerEvents=new je,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const t=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(kr(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof t?.onDestroy&&t.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){const n=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,n&&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(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config={...this._config,...n},this._updateElementSize()}setDirection(n){this._config={...this._config,direction:n},this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){const n=this._config.direction;return n?"string"==typeof n?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const n=this._pane.style;n.width=st(this._config.width),n.height=st(this._config.height),n.minWidth=st(this._config.minWidth),n.minHeight=st(this._config.minHeight),n.maxWidth=st(this._config.maxWidth),n.maxHeight=st(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){const n="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(n)})}):this._backdropElement.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const n=this._backdropElement;if(n){if(this._animationsDisabled)return void this._disposeBackdrop(n);n.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{n.addEventListener("transitionend",this._backdropTransitionendHandler)}),n.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(n)},500))}}_toggleClasses(n,t,r){const i=Bw(t||[]).filter(o=>!!o);i.length&&(r?n.classList.add(...i):n.classList.remove(...i))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const n=this._ngZone.onStable.pipe(function TF(e){return n=>n.lift(new OF(e))}(Jf(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()),n.unsubscribe())})})}_disposeScrollStrategy(){const n=this._scrollStrategy;n&&(n.disable(),n.detach&&n.detach())}_disposeBackdrop(n){n&&(n.removeEventListener("click",this._backdropClickHandler),n.removeEventListener("transitionend",this._backdropTransitionendHandler),n.remove(),this._backdropElement===n&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const iD="cdk-overlay-connected-position-bounding-box",KF=/([A-Za-z%]+)$/;class XF{get positions(){return this._preferredPositions}constructor(n,t,r,i,o){this._viewportRuler=t,this._document=r,this._platform=i,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new je,this._resizeSubscription=A.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(n)}attach(n){this._validatePositions(),n.hostElement.classList.add(iD),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.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 n=this._originRect,t=this._overlayRect,r=this._viewportRect,i=this._containerRect,o=[];let s;for(let a of this._preferredPositions){let l=this._getOriginPoint(n,i,a),c=this._getOverlayPoint(l,t,a),u=this._getOverlayFit(c,t,r,a);if(u.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,l);this._canFitWithFlexibleDimensions(u,c,r)?o.push({position:a,origin:l,overlayRect:t,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&&ci(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(iD),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,t)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,-1===n.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,t,r){let i,o;if("center"==r.originX)i=n.left+n.width/2;else{const s=this._isRtl()?n.right:n.left,a=this._isRtl()?n.left:n.right;i="start"==r.originX?s:a}return t.left<0&&(i-=t.left),o="center"==r.originY?n.top+n.height/2:"top"==r.originY?n.top:n.bottom,t.top<0&&(o-=t.top),{x:i,y:o}}_getOverlayPoint(n,t,r){let i,o;return i="center"==r.overlayX?-t.width/2:"start"===r.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,o="center"==r.overlayY?-t.height/2:"top"==r.overlayY?0:-t.height,{x:n.x+i,y:n.y+o}}_getOverlayFit(n,t,r,i){const o=sD(t);let{x:s,y:a}=n,l=this._getOffset(i,"x"),c=this._getOffset(i,"y");l&&(s+=l),c&&(a+=c);let p=0-a,g=a+o.height-r.height,y=this._subtractOverflows(o.width,0-s,s+o.width-r.width),S=this._subtractOverflows(o.height,p,g),T=y*S;return{visibleArea:T,isCompletelyWithinViewport:o.width*o.height===T,fitsInViewportVertically:S===o.height,fitsInViewportHorizontally:y==o.width}}_canFitWithFlexibleDimensions(n,t,r){if(this._hasFlexibleDimensions){const i=r.bottom-t.y,o=r.right-t.x,s=oD(this._overlayRef.getConfig().minHeight),a=oD(this._overlayRef.getConfig().minWidth);return(n.fitsInViewportVertically||null!=s&&s<=i)&&(n.fitsInViewportHorizontally||null!=a&&a<=o)}return!1}_pushOverlayOnScreen(n,t,r){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};const i=sD(t),o=this._viewportRect,s=Math.max(n.x+i.width-o.width,0),a=Math.max(n.y+i.height-o.height,0),l=Math.max(o.top-r.top-n.y,0),c=Math.max(o.left-r.left-n.x,0);let u=0,d=0;return u=i.width<=o.width?c||-s:n.xy&&!this._isInitialRender&&!this._growAfterOpen&&(s=n.y-y/2)}if("end"===t.overlayX&&!i||"start"===t.overlayX&&i)p=r.width-n.x+this._viewportMargin,u=n.x-this._viewportMargin;else if("start"===t.overlayX&&!i||"end"===t.overlayX&&i)d=n.x,u=r.right-n.x;else{const g=Math.min(r.right-n.x+r.left,n.x),y=this._lastBoundingBoxSize.width;u=2*g,d=n.x-g,u>y&&!this._isInitialRender&&!this._growAfterOpen&&(d=n.x-y/2)}return{top:s,left:d,bottom:a,right:p,width:u,height:o}}_setBoundingBoxStyles(n,t){const r=this._calculateBoundingBoxRect(n,t);!this._isInitialRender&&!this._growAfterOpen&&(r.height=Math.min(r.height,this._lastBoundingBoxSize.height),r.width=Math.min(r.width,this._lastBoundingBoxSize.width));const i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{const o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;i.height=st(r.height),i.top=st(r.top),i.bottom=st(r.bottom),i.width=st(r.width),i.left=st(r.left),i.right=st(r.right),i.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",i.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",o&&(i.maxHeight=st(o)),s&&(i.maxWidth=st(s))}this._lastBoundingBoxSize=r,ci(this._boundingBox.style,i)}_resetBoundingBoxStyles(){ci(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ci(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,t){const r={},i=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(i){const u=this._viewportRuler.getViewportScrollPosition();ci(r,this._getExactOverlayY(t,n,u)),ci(r,this._getExactOverlayX(t,n,u))}else r.position="static";let a="",l=this._getOffset(t,"x"),c=this._getOffset(t,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),r.transform=a.trim(),s.maxHeight&&(i?r.maxHeight=st(s.maxHeight):o&&(r.maxHeight="")),s.maxWidth&&(i?r.maxWidth=st(s.maxWidth):o&&(r.maxWidth="")),ci(this._pane.style,r)}_getExactOverlayY(n,t,r){let i={top:"",bottom:""},o=this._getOverlayPoint(t,this._overlayRect,n);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,r)),"bottom"===n.overlayY?i.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":i.top=st(o.y),i}_getExactOverlayX(n,t,r){let s,i={left:"",right:""},o=this._getOverlayPoint(t,this._overlayRect,n);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,r)),s=this._isRtl()?"end"===n.overlayX?"left":"right":"end"===n.overlayX?"right":"left","right"===s?i.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":i.left=st(o.x),i}_getScrollVisibility(){const n=this._getOriginRect(),t=this._pane.getBoundingClientRect(),r=this._scrollables.map(i=>i.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:eD(n,r),isOriginOutsideView:Cf(n,r),isOverlayClipped:eD(t,r),isOverlayOutsideView:Cf(t,r)}}_subtractOverflows(n,...t){return t.reduce((r,i)=>r-Math.max(i,0),n)}_getNarrowedViewportRect(){const n=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,r=this._viewportRuler.getViewportScrollPosition();return{top:r.top+this._viewportMargin,left:r.left+this._viewportMargin,right:r.left+n-this._viewportMargin,bottom:r.top+t-this._viewportMargin,width:n-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,t){return"x"===t?null==n.offsetX?this._offsetX:n.offsetX:null==n.offsetY?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&Bw(n).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){const n=this._origin;if(n instanceof pt)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();const t=n.width||0,r=n.height||0;return{top:n.y,bottom:n.y+r,left:n.x,right:n.x+t,height:r,width:t}}}function ci(e,n){for(let t in n)n.hasOwnProperty(t)&&(e[t]=n[t]);return e}function oD(e){if("number"!=typeof e&&null!=e){const[n,t]=e.split(KF);return t&&"px"!==t?null:parseFloat(n)}return e||null}function sD(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 aD="cdk-global-overlay-wrapper";class QF{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(n){const t=n.getConfig();this._overlayRef=n,this._width&&!t.width&&n.updateSize({width:this._width}),this._height&&!t.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(aD),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const n=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,r=this._overlayRef.getConfig(),{width:i,height:o,maxWidth:s,maxHeight:a}=r,l=!("100%"!==i&&"100vw"!==i||s&&"100%"!==s&&"100vw"!==s),c=!("100%"!==o&&"100vh"!==o||a&&"100%"!==a&&"100vh"!==a),u=this._xPosition,d=this._xOffset,p="rtl"===this._overlayRef.getConfig().direction;let g="",y="",S="";l?S="flex-start":"center"===u?(S="center",p?y=d:g=d):p?"left"===u||"end"===u?(S="flex-end",g=d):("right"===u||"start"===u)&&(S="flex-start",y=d):"left"===u||"start"===u?(S="flex-start",g=d):("right"===u||"end"===u)&&(S="flex-end",y=d),n.position=this._cssPosition,n.marginLeft=l?"0":g,n.marginTop=c?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=l?"0":y,t.justifyContent=S,t.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const n=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,r=t.style;t.classList.remove(aD),r.justifyContent=r.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}}let JF=(()=>{class e{constructor(t,r,i,o){this._viewportRuler=t,this._document=r,this._platform=i,this._overlayContainer=o}global(){return new QF}flexibleConnectedTo(t){return new XF(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return e.\u0275fac=function(t){return new(t||e)(P(yf),P(He),P(Fs),P(rD))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),e2=0,wf=(()=>{class e{constructor(t,r,i,o,s,a,l,c,u,d,p,g){this.scrollStrategies=t,this._overlayContainer=r,this._componentFactoryResolver=i,this._positionBuilder=o,this._keyboardDispatcher=s,this._injector=a,this._ngZone=l,this._document=c,this._directionality=u,this._location=d,this._outsideClickDispatcher=p,this._animationsModuleType=g}create(t){const r=this._createHostElement(),i=this._createPaneElement(r),o=this._createPortalOutlet(i),s=new tD(t);return s.direction=s.direction||this._directionality.value,new YF(o,r,i,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(t){const r=this._document.createElement("div");return r.id="cdk-overlay-"+e2++,r.classList.add("cdk-overlay-pane"),t.appendChild(r),r}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(ei)),new VF(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return e.\u0275fac=function(t){return new(t||e)(P(GF),P(rD),P(ns),P(JF),P(qF),P(dn),P(Ie),P(He),P(Zw),P(Ol),P(ZF),P(_A,8))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const t2=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],lD=new $("cdk-connected-overlay-scroll-strategy");let cD=(()=>{class e{constructor(t){this.elementRef=t}}return e.\u0275fac=function(t){return new(t||e)(M(pt))},e.\u0275dir=X({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0}),e})(),uD=(()=>{class e{get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=ks(t)}get lockPosition(){return this._lockPosition}set lockPosition(t){this._lockPosition=ks(t)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(t){this._flexibleDimensions=ks(t)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(t){this._growAfterOpen=ks(t)}get push(){return this._push}set push(t){this._push=ks(t)}constructor(t,r,i,o,s){this._overlay=t,this._dir=s,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=A.EMPTY,this._attachSubscription=A.EMPTY,this._detachSubscription=A.EMPTY,this._positionSubscription=A.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new me,this.positionChange=new me,this.attach=new me,this.detach=new me,this.overlayKeydown=new me,this.overlayOutsideClick=new me,this._templatePortal=new Xw(r,i),this._scrollStrategyFactory=o,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=t2);const t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(r=>{this.overlayKeydown.next(r),27===r.keyCode&&!this.disableClose&&!function jF(e,...n){return n.length?n.some(t=>e[t]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}(r)&&(r.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(r=>{this.overlayOutsideClick.next(r)})}_buildConfig(){const t=this._position=this.positionStrategy||this._createPositionStrategy(),r=new tD({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(r.width=this.width),(this.height||0===this.height)&&(r.height=this.height),(this.minWidth||0===this.minWidth)&&(r.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(r.minHeight=this.minHeight),this.backdropClass&&(r.backdropClass=this.backdropClass),this.panelClass&&(r.panelClass=this.panelClass),r}_updatePositionStrategy(t){const r=this.positions.map(i=>({originX:i.originX,originY:i.originY,overlayX:i.overlayX,overlayY:i.overlayY,offsetX:i.offsetX||this.offsetX,offsetY:i.offsetY||this.offsetY,panelClass:i.panelClass||void 0}));return t.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(r).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const t=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(t),t}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof cD?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function RF(e,n=!1){return t=>t.lift(new PF(e,n))}(()=>this.positionChange.observers.length>0)).subscribe(t=>{this.positionChange.emit(t),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(M(wf),M(pn),M(Cn),M(lD),M(Zw,8))},e.\u0275dir=X({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[Ft]}),e})();const r2={provide:lD,deps:[wf],useFactory:function n2(e){return()=>e.scrollStrategies.reposition()}};let o2=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=dt({type:e}),e.\u0275inj=nt({providers:[wf,r2],imports:[vf,BF,Kw,Kw]}),e})();class Se{static getOptionByValue(n,t){if(Array.isArray(n))for(const r of n){const i=r.options;if(i){for(const o of i)if(o.value===t)return o}else if(r.value===t)return r}}static getOptionsByValue(n,t,r){if(r){const i=Array.isArray(t)?t:[],o=[];for(const s of i){const a=Se.getOptionByValue(n,s);a&&o.push(a)}return o}return Se.getOptionByValue(n,t)}static getFirstAvailableOption(n){if(Array.isArray(n))for(const t of n){const r=t.options;if(r){for(const i of r)if(!i.disabled)return i.value}else if(!t.disabled)return t.value}return null}static valueIsNotInFilteredData(n,t){if(Se.isNullOrUndefined(t))return!0;for(const r of n){const i=r.options;if(i){for(const o of i)if(o.value===t)return!1}else if(r.value===t)return!1}return!0}static getPreviousOption(n,t){let r=Se.isNullOrUndefined(t);for(let i=n.length-1;i>=0;i--){const o=n[i],s=o.options;if(s)for(let a=s.length-1;a>=0;a--){const l=s[a];if(r&&!l.disabled&&!l.hide)return l;r||(r=l.value===t)}else{if(r&&!o.disabled&&!o.hide)return o;r||(r=o.value===t)}}return null}static getNextOption(n,t){let r=Se.isNullOrUndefined(t);for(const i of n){const o=i.options;if(o)for(const s of o)if(r){if(!s.disabled&&!s.hide)return s}else r||(r=s.value===t);else if(r){if(!i.disabled&&!i.hide)return i}else r||(r=i.value===t)}return null}static getReduceData(n,t=0){if(t>0){let r=0;const i=[];for(const o of n){const s=o.options;if(s){const a={...o,options:[]};i.push(a);for(const l of s)if(a.options.push(l),r++,r===t)return{result:i,reduce:!0}}else i.push(o),r++;if(r===t)return{result:i,reduce:!0}}return{result:i,reduce:!1}}return{result:n,reduce:!1}}static getFilteredData(n,t,r){if(t){const i=[];for(const o of n){const s=o.options;if(s){if(s.some(a=>Se.containSearchText(a.label,t,r))){const a=s.filter(l=>Se.containSearchText(l.label,t,r));i.push({...o,options:a})}}else Se.containSearchText(o.label,t,r)&&i.push(o)}return i}return n}static getFilteredSelectedData(n,t){const r=[];for(const i of n){const o=i.options;if(o){const s=o.filter(a=>"false"===Se.isSelected(t,a,!0));s.length&&r.push({...i,options:s})}else"false"===Se.isSelected(t,i,!0)&&r.push(i)}return r}static isSearchboxHiddex(n,t){return(""===t||null==t||isNaN(+t))&&(t=6),Se.getOptionsCount(n)<+t}static isSelected(n,t,r){return r?n&&n.some(i=>i.value===t.value)?"true":"false":n&&t.value===n.value?"true":"false"}static removeSelection(n,t){for(let r=0;rObject.prototype.toString.call(e).includes(t))}function Sf(e,n){return e?n.document.documentElement:null}function hD(e,n){const t=function S2({container:e,isWindow:n,axis:t}){const{offsetHeightKey:r,clientHeightKey:i}=fD(t);return pD(e,n,r,i)}(n);return n.isWindow?function w2(e,n,t){const{axis:r,container:i,isWindow:o}=t,{offsetHeightKey:s,clientHeightKey:a}=fD(r),l=e+gD(Sf(o,i),r,o),c=pD(n.nativeElement,o,s,a),u=function E2(e,n,t){const r=n.topKey();if(e.getBoundingClientRect)return e.getBoundingClientRect()[r]+gD(e,n,t)}(n.nativeElement,r,o)+c;return{height:e,scrolled:l,totalToScroll:u,isWindow:o}}(t,e,n):function D2(e,n,t){const{axis:r,container:i}=t;return{height:e,scrolled:i[r.scrollTopKey()],totalToScroll:i[r.scrollHeightKey()],isWindow:!1}}(t,0,n)}function fD(e){return{offsetHeightKey:e.offsetHeightKey(),clientHeightKey:e.clientHeightKey()}}function pD(e,n,t,r){if(isNaN(e[t])){const i=Sf(n,e);return i?i[r]:0}return e[t]}function gD(e,n,t){const r=n.pageYOffsetKey(),i=n.scrollTopKey(),o=n.offsetTopKey();return isNaN(window.pageYOffset)?Sf(t,e)[i]:e.ownerDocument?e.ownerDocument.defaultView[r]:e[o]}function M2(e,n={down:0,up:0},t){let r,i;if(e.totalToScroll<=0)return!1;const o=e.isWindow?e.scrolled:e.height+e.scrolled;return t?(r=(e.totalToScroll-o)/e.totalToScroll,i=(n?.down?n.down:0)/10):(r=e.scrolled/(e.scrolled+(e.totalToScroll-o)),i=(n?.up?n.up:0)/10),r<=i}class x2{constructor({totalToScroll:n}){this.lastScrollPosition=0,this.lastTotalToScroll=0,this.totalToScroll=0,this.triggered={down:0,up:0},this.totalToScroll=n}updateScrollPosition(n){return this.lastScrollPosition=n}updateTotalToScroll(n){this.lastTotalToScroll!==n&&(this.lastTotalToScroll=this.totalToScroll,this.totalToScroll=n)}updateScroll(n,t){this.updateScrollPosition(n),this.updateTotalToScroll(t)}updateTriggeredFlag(n,t){t?this.triggered.down=n:this.triggered.up=n}isTriggeredScroll(n,t){return t?this.triggered.down===n:this.triggered.up===n}}const Ef={DOWN:"[NGX_ISE] DOWN",UP:"[NGX_ISE] UP"};function k2(e){const{scrollDown:n,stats:{scrolled:t}}=e;return{type:n?Ef.DOWN:Ef.UP,payload:{currentScrollPosition:t}}}let F2=(()=>{class e{constructor(t,r){this.element=t,this.zone=r,this.scrolled=new me,this.scrolledUp=new me,this.infiniteScrollDistance=2,this.infiniteScrollUpDistance=1.5,this.infiniteScrollThrottle=150,this.infiniteScrollDisabled=!1,this.infiniteScrollContainer=null,this.scrollWindow=!0,this.immediateCheck=!1,this.horizontal=!1,this.alwaysCallback=!1,this.fromRoot=!1}ngAfterViewInit(){this.infiniteScrollDisabled||this.setup()}ngOnChanges({infiniteScrollContainer:t,infiniteScrollDisabled:r,infiniteScrollDistance:i}){const o=Df(t),s=Df(r),a=Df(i),l=!s&&!this.infiniteScrollDisabled||s&&!r.currentValue||a;(o||s||a)&&(this.destroyScroller(),l&&this.setup())}setup(){(function p2(){return typeof window<"u"})()&&this.zone.runOutsideAngular(()=>{this.disposeScroller=function R2(e){const{scrollContainer:n,scrollWindow:t,element:r,fromRoot:i}=e,o=function y2({windowElement:e,axis:n}){return function b2(e,n){const t=e.isWindow||n&&!n.nativeElement?n:n.nativeElement;return{...e,container:t}}({axis:n,isWindow:C2(e)},e)}({axis:new _2(!e.horizontal),windowElement:h2(n,t,r,i)}),s=new x2({totalToScroll:hD(r,o)}),l={up:e.upDistance,down:e.downDistance};return function P2(e){let n=pf(e.container,"scroll");return e.throttle&&(n=n.pipe(function l2(e,n=gf,t=dD){return r=>r.lift(new c2(e,n,t.leading,t.trailing))}(e.throttle,void 0,{leading:!0,trailing:!0}))),n}({container:o.container,throttle:e.throttle}).pipe(wt(()=>ne(hD(r,o))),oe(c=>function N2(e,n,t){const{scrollDown:r,fire:i}=function I2(e,n,t){const r=function A2(e,n){return es.updateScroll(c.scrolled,c.totalToScroll)),Jt(({fire:c,scrollDown:u,stats:{totalToScroll:d}})=>function v2(e,n,t){return!!(e&&n||!t&&n)}(e.alwaysCallback,c,s.isTriggeredScroll(d,u))),Ze(({scrollDown:c,stats:{totalToScroll:u}})=>{s.updateTriggeredFlag(u,c)}),oe(k2))}({fromRoot:this.fromRoot,alwaysCallback:this.alwaysCallback,disable:this.infiniteScrollDisabled,downDistance:this.infiniteScrollDistance,element:this.element,horizontal:this.horizontal,scrollContainer:this.infiniteScrollContainer,scrollWindow:this.scrollWindow,throttle:this.infiniteScrollThrottle,upDistance:this.infiniteScrollUpDistance}).subscribe(t=>this.handleOnScroll(t))})}handleOnScroll({type:t,payload:r}){const i=t===Ef.DOWN?this.scrolled:this.scrolledUp;(function L2(e){return e.observed??e.observers.length>0})(i)&&this.zone.run(()=>i.emit(r))}ngOnDestroy(){this.destroyScroller()}destroyScroller(){this.disposeScroller&&this.disposeScroller.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(M(pt),M(Ie))},e.\u0275dir=X({type:e,selectors:[["","infiniteScroll",""],["","infinite-scroll",""],["","data-infinite-scroll",""]],inputs:{infiniteScrollDistance:"infiniteScrollDistance",infiniteScrollUpDistance:"infiniteScrollUpDistance",infiniteScrollThrottle:"infiniteScrollThrottle",infiniteScrollDisabled:"infiniteScrollDisabled",infiniteScrollContainer:"infiniteScrollContainer",scrollWindow:"scrollWindow",immediateCheck:"immediateCheck",horizontal:"horizontal",alwaysCallback:"alwaysCallback",fromRoot:"fromRoot"},outputs:{scrolled:"scrolled",scrolledUp:"scrolledUp"},features:[Ft]}),e})(),V2=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=dt({type:e}),e.\u0275inj=nt({}),e})();const B2=["selection"],H2=["results"],j2=["searchInput"],U2=["dropdown"],$2=["result"];function z2(e,n){1&e&&te(0,"span",14)}function G2(e,n){1&e&&(v(0,"span"),b(1,"\xa0"),_())}function W2(e,n){1&e&&te(0,"span",19),2&e&&R("innerHTML",q(3).select2Option.label,In)}function q2(e,n){1&e&&gr(0)}function Z2(e,n){if(1&e&&J(0,q2,1,0,"ng-container",20),2&e){const t=q(3);R("ngTemplateOutlet",t.getTemplate(t.select2Option,"option"))("ngTemplateOutletContext",t.select2Option)}}function Y2(e,n){if(1&e&&(Yr(0),J(1,W2,1,1,"span",17),J(2,Z2,1,2,"ng-template",null,18,bt),Kr()),2&e){const t=Ue(3),r=q(2);w(1),R("ngIf",!r.hasTemplate(r.select2Option,"option")||r.noLabelTemplate)("ngIfElse",t)}}function K2(e,n){if(1&e&&(v(0,"span",15),J(1,G2,2,0,"span",10),J(2,Y2,4,2,"ng-container",10),v(3,"span",16),b(4),_()()),2&e){const t=q();R("title",(null==t.select2Option?null:t.select2Option.label)||""),w(1),R("ngIf",!t.select2Option),w(1),R("ngIf",t.select2Option),w(1),rt("select2-selection__placeholder__option",t.option),w(1),fn(t.placeholder)}}function X2(e,n){if(1&e){const t=Zn();v(0,"span",21),j("click",function(i){return xe(t),Re(q().reset(i))}),b(1,"\xd7"),_()}}function Q2(e,n){1&e&&te(0,"span",22)}function J2(e,n){if(1&e&&(v(0,"span",16),b(1),_()),2&e){const t=q(2);rt("select2-selection__placeholder__option",(null==t.select2Options?null:t.select2Options.length)>0),w(1),fn(t.placeholder)}}function eL(e,n){if(1&e){const t=Zn();v(0,"span",30),j("click",function(i){xe(t);const o=q().$implicit;return Re(q(2).removeSelection(i,o))}),b(1,"\xd7"),_()}}function tL(e,n){1&e&&te(0,"span",19),2&e&&R("innerHTML",q().$implicit.label,In)}function nL(e,n){1&e&&gr(0)}function rL(e,n){if(1&e&&J(0,nL,1,0,"ng-container",20),2&e){const t=q().$implicit;R("ngTemplateOutlet",q(2).getTemplate(t,"option"))("ngTemplateOutletContext",t)}}function iL(e,n){if(1&e){const t=Zn();v(0,"li",27),j("keydown.enter",function(i){const s=xe(t).$implicit;return Re(q(2).removeSelection(i,s))}),J(1,eL,2,0,"span",28),J(2,tL,1,1,"span",17),J(3,rL,1,2,"ng-template",null,29,bt),_()}if(2&e){const t=n.$implicit,r=Ue(4),i=q(2);R("title",t.label),w(1),R("ngIf",!(i.disabled||i.readonly)),w(1),R("ngIf",!i.hasTemplate(t,"option")||i.noLabelTemplate)("ngIfElse",r)}}function oL(e,n){if(1&e){const t=Zn();v(0,"li",31),j("focus",function(i){return xe(t),Re(q(2).stopEvent(i))})("blur",function(i){return xe(t),Re(q(2).stopEvent(i))}),v(1,"input",32),j("click",function(i){xe(t);const o=q(2);return o.toggleOpenAndClose(!1,!0),Re(o.stopEvent(i))})("keydown",function(i){return xe(t),Re(q(2).keyDown(i,!0))})("keyup",function(i){return xe(t),Re(q(2).searchUpdate(i))})("change",function(i){return xe(t),Re(q(2).prevChange(i))}),_()()}if(2&e){const t=q(2);w(1),R("id",t.id+"-create-field")}}function sL(e,n){if(1&e&&(v(0,"ul",23),J(1,J2,2,3,"span",24),J(2,iL,5,4,"li",25),J(3,oL,2,1,"li",26),_()),2&e){const t=q();w(1),R("ngIf",!t.autoCreate),w(1),R("ngForOf",t.option)("ngForTrackBy",t.trackBy),w(1),R("ngIf",t.autoCreate)}}function aL(e,n){1&e&&gr(0)}function lL(e,n){if(1&e&&(Yr(0),J(1,aL,1,0,"ng-container",33),Kr()),2&e){q();const t=Ue(17);w(1),R("ngTemplateOutlet",t)}}function cL(e,n){1&e&&gr(0)}function uL(e,n){1&e&&J(0,cL,1,0,"ng-container",33),2&e&&(q(),R("ngTemplateOutlet",Ue(17)))}function dL(e,n){if(1&e&&te(0,"strong",19),2&e){const t=q(2).$implicit;R("innerHTML",t.label,In),Bt("class","select2-results__group"+(t.classes?" "+t.classes:""))}}function hL(e,n){1&e&&gr(0)}function fL(e,n){if(1&e&&J(0,hL,1,0,"ng-container",20),2&e){const t=q(2).$implicit;R("ngTemplateOutlet",q(2).getTemplate(t,"group"))("ngTemplateOutletContext",t)}}function pL(e,n){1&e&&te(0,"div",56),2&e&&R("innerHTML",q().$implicit.label,In)}function gL(e,n){1&e&&gr(0)}function mL(e,n){if(1&e&&J(0,gL,1,0,"ng-container",20),2&e){const t=q().$implicit;R("ngTemplateOutlet",q(4).getTemplate(t,"option"))("ngTemplateOutletContext",t)}}function _L(e,n){if(1&e){const t=Zn();v(0,"li",52,53),j("mouseenter",function(){const o=xe(t).$implicit;return Re(q(4).mouseenter(o))})("click",function(){const o=xe(t).$implicit;return Re(q(4).click(o))}),J(2,pL,1,1,"div",54),J(3,mL,1,2,"ng-template",null,55,bt),_()}if(2&e){const t=n.$implicit,r=n.index,i=Ue(4),o=q(2).index,s=q(2);Sd(s.getOptionStyle(t)),R("id",t.id||s.id+"-option-"+o+"-"+r),Bt("aria-selected",s.isSelected(t))("aria-disabled",s.isDisabled(t)),w(2),R("ngIf",!s.hasTemplate(t,"option"))("ngIfElse",i)}}function vL(e,n){if(1&e&&(v(0,"li",48),J(1,dL,1,2,"strong",17),J(2,fL,1,2,"ng-template",null,49,bt),v(4,"ul",50),J(5,_L,5,7,"li",51),_()()),2&e){const t=Ue(3),r=q().$implicit,i=q(2);w(1),R("ngIf",!i.hasTemplate(r,"group"))("ngIfElse",t),w(4),R("ngForOf",r.options)("ngForTrackBy",i.trackBy)}}function yL(e,n){1&e&&te(0,"div",56),2&e&&R("innerHTML",q(2).$implicit.label,In)}function bL(e,n){1&e&&gr(0)}function CL(e,n){if(1&e&&J(0,bL,1,0,"ng-container",20),2&e){const t=q(2).$implicit;R("ngTemplateOutlet",q(2).getTemplate(t,"option"))("ngTemplateOutletContext",t)}}function wL(e,n){if(1&e){const t=Zn();v(0,"li",52,53),j("mouseenter",function(){xe(t);const i=q().$implicit;return Re(q(2).mouseenter(i))})("click",function(){xe(t);const i=q().$implicit;return Re(q(2).click(i))}),J(2,yL,1,1,"div",54),J(3,CL,1,2,"ng-template",null,57,bt),_()}if(2&e){const t=Ue(4),r=q(),i=r.$implicit,o=r.index,s=q(2);Sd(s.getOptionStyle(i)),R("id",i.id||s.id+"-option-"+o),Bt("aria-selected",s.isSelected(i))("aria-disabled",s.isDisabled(i)),w(2),R("ngIf",!s.hasTemplate(i,"option"))("ngIfElse",t)}}function DL(e,n){if(1&e&&(Yr(0),J(1,vL,6,4,"li",46),J(2,wL,5,7,"li",47),Kr()),2&e){const t=n.$implicit;w(1),R("ngIf",t.options),w(1),R("ngIf",!t.options)}}function SL(e,n){1&e&&te(0,"li",58),2&e&&R("innerHTML",q(2).noResultMessage,In)}function EL(e,n){1&e&&te(0,"li",59),2&e&&R("innerHTML",q(2).maxResultsMessage,In)}function ML(e,n){if(1&e){const t=Zn();v(0,"div",34)(1,"div",35,36)(3,"div",37)(4,"input",38,39),j("keydown",function(i){return xe(t),Re(q().keyDown(i))})("keyup",function(i){return xe(t),Re(q().searchUpdate(i))})("change",function(i){return xe(t),Re(q().prevChange(i))}),_()(),v(6,"div",40)(7,"ul",41,42),j("scrolled",function(){return xe(t),Re(q().onScroll("down"))})("scrolledUp",function(){return xe(t),Re(q().onScroll("up"))})("keydown",function(i){return xe(t),Re(q().keyDown(i))}),J(9,DL,3,2,"ng-container",43),J(10,SL,1,1,"li",44),J(11,EL,1,1,"li",45),_()()()()}if(2&e){const t=Ue(8),r=q();rt("select2-container--open",r.isOpen)("select2-overlay",r.overlay)("select2-position-auto","auto"===r.listPosition),w(1),rt("select2-dropdown--below",!r.select2above)("select2-dropdown--above",r.select2above),w(2),rt("select2-search--hide",r.hideSearch()),w(1),R("id",r.id+"-search-field")("value",r.searchText),Bt("tabindex",r.isOpen?r.tabIndex:"-1"),w(3),pl("max-height",r.resultMaxHeight),R("infiniteScrollDisabled",!r.infiniteScroll&&!r.isOpen)("infiniteScrollDistance",r.infiniteScrollDistance)("infiniteScrollThrottle",r.infiniteScrollThrottle)("infiniteScrollContainer",t),w(2),R("ngForOf",r.filteredData)("ngForTrackBy",r.trackBy),w(1),R("ngIf",!(null!=r.filteredData&&r.filteredData.length)&&r.noResultMessage),w(1),R("ngIf",r.maxResultsExceeded)}}const AL=[[["select2-label"]],[["select2-hint"]]],IL=["select2-label","select2-hint"];let TL=0;const OL=["default","hidden","always"];let mD=(()=>{class e{set data(t){this._data=t,this.updateFilteredData(!0)}get multiple(){return this._multiple}set multiple(t){this._multiple=t,this.ngOnInit()}get minCountForSearch(){return this._minCountForSearch}set minCountForSearch(t){this._minCountForSearch=t,this.updateSearchBox()}get id(){return this._id}set id(t){this._id=t||this._uid}get disabled(){return this._control?this._control.disabled:this._disabled}set disabled(t){this._disabled=t}get value(){return this._value}set value(t){this.testValueChange(this._value,t)&&setTimeout(()=>{this._value=t,this.writeValue(t)},10)}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(t){this._tabIndex=t}get select2Options(){return this.multiple?this.option:null}get select2Option(){return this.multiple?null:this.option}get searchText(){return this.innerSearchText}set searchText(t){this.innerSearchText=t}get ariaInvalid(){return this._isErrorState()}get classMaterial(){return"material"===this.styleMode}get classNostyle(){return"noStyle"===this.styleMode}get select2above(){return this.overlay?this._isAbobeOverlay():"above"===this.listPosition}get _positions(){return"auto"===this.listPosition?void 0:null}get resultsElement(){return this.resultContainer?.nativeElement}constructor(t,r,i,o,s,a){this._viewportRuler=t,this._changeDetectorRef=r,this._parentForm=i,this._parentFormGroup=o,this._control=s,this.minCharForSearch=0,this.limitSelection=0,this.listPosition="below",this.overlay=!1,this.styleMode="default",this.maxResults=0,this.maxResultsMessage="Too many results\u2026",this.infiniteScrollDistance=1.5,this.infiniteScrollThrottle=150,this.infiniteScroll=!1,this.autoCreate=!1,this.noLabelTemplate=!1,this.resultMaxHeight="200px",this.customSearchEnabled=!1,this.required=!1,this.hideSelectedItems=!1,this.readonly=!1,this.resettable=!1,this.update=new me,this.open=new me,this.close=new me,this.focus=new me,this.blur=new me,this.search=new me,this.scroll=new me,this.removeOption=new me,this.option=null,this.isOpen=!1,this.focused=!1,this.hoveringValue=null,this.innerSearchText="",this._stateChanges=new je,this._disabled=!1,this._multiple=!1,this._uid="select2-"+TL++,this._onTouched=()=>{},this._onChange=()=>{},this.id=this.id,this._tabIndex=parseInt(a,10)||0,this._control&&(this._control.valueAccessor=this)}clickDetection(t){if(this.isOpen&&focus){const r=t.target;this.ifParentContainsClass(r,"selection")?this.ifParentContainsId(r,this._id)||(this.toggleOpenAndClose(),this.clickExit()):(this.ifParentContainsClass(r,"select2-dropdown")||this.toggleOpenAndClose(),this.ifParentContainsId(r,this._id)||this.clickExit())}}ngOnInit(){this._viewportRuler.change(100).subscribe(()=>{this.isOpen&&this.triggerRect()});const t=Se.getOptionsByValue(this._data,this._control?this._control.value:this.value,this.multiple);null!==t&&(this.option=t),Array.isArray(t)||(this.hoveringValue=this.value),this.updateSearchBox()}ngAfterViewInit(){this.cdkConnectedOverlay.positionChange.subscribe(t=>{"auto"===this.listPosition&&t.connectionPair?.originY&&this._overlayPosition!==t.connectionPair.originY&&(this.triggerRect(),this._overlayPosition=t.connectionPair.originY,this._changeDetectorRef.detectChanges())}),this.selectionElement=this.selection.nativeElement,this.triggerRect()}ngDoCheck(){this.updateSearchBox(),this._dirtyCheckNativeValue(),this._triggerRect&&(this.overlayWidth!==this._triggerRect.width&&(this.overlayWidth=this._triggerRect.width),this._dropdownRect?.height>0&&this.overlayHeight!==this._dropdownRect.height&&(this.overlayHeight="auto"===this.listPosition?this._dropdownRect.height:0))}updateSearchBox(){const t=!this.customSearchEnabled&&Se.isSearchboxHiddex(this._data,this._minCountForSearch);this.isSearchboxHidden!==t&&(this.isSearchboxHidden=t)}hideSearch(){const t=OL.indexOf(this.displaySearchStatus)>-1?this.displaySearchStatus:"default";return"default"===t&&this.isSearchboxHidden||"hidden"===t}getOptionStyle(t){return"select2-results__option "+(t.hide?"select2-results__option--hide ":"")+(t.value===this.hoveringValue?"select2-results__option--highlighted ":"")+(t.classes||"")}mouseenter(t){t.disabled||(this.hoveringValue=t.value)}click(t){this.testSelection(t)&&this.select(t)}reset(t){this.select(void 0!==this.resetSelectedValue?Se.getOptionByValue(this._data,this.resetSelectedValue)??null:null),this.stopEvent(t)}prevChange(t){t.stopPropagation()}stopEvent(t){t.preventDefault(),t.stopPropagation()}toggleOpenAndClose(t=!0,r,i){if(this.disabled)return;this._focus(t);const o=this.isOpen!==(r??!this.isOpen);this.isOpen=r??!this.isOpen,this.isOpen?(this.isSearchboxHidden||(this.innerSearchText="",this.updateFilteredData(),this._focusSearchboxOrResultsElement(t)),this.isSearchboxHidden&&!o&&i?this.keyDown(i):setTimeout(()=>{if(this.option){const s=Array.isArray(this.option)?this.option[0]:this.option;this.updateScrollFromOption(s)}else this.resultsElement&&(this.resultsElement.scrollTop=0);setTimeout(()=>{this.triggerRect(),this.cdkConnectedOverlay?.overlayRef?.updatePosition()},100)}),o&&this.open.emit(this)):o&&this.close.emit(this),this._changeDetectorRef.markForCheck()}hasTemplate(t,r){return this.templates instanceof pn||this.templates?.[t.templateId]instanceof pn||this.templates?.[r]instanceof pn}getTemplate(t,r){return this.hasTemplate(t,r)?this.templates[t.templateId]||this.templates[r]||this.templates:void 0}triggerRect(){this._triggerRect=this.selectionElement.getBoundingClientRect(),this._dropdownRect=this.dropdown?.nativeElement?this.dropdown.nativeElement.getBoundingClientRect():void 0}testSelection(t){return!t.disabled&&(!this.multiple||!this.limitSelection||Array.isArray(this._value)&&this._value.length-1))return!0;return!1}return!0}updateFilteredData(t=!1){setTimeout(()=>{let r=this._data;if(this.multiple&&this.hideSelectedItems&&(r=Se.getFilteredSelectedData(r,this.option)),!this.customSearchEnabled&&this.searchText&&this.searchText.length>=+this.minCharForSearch&&(r=Se.getFilteredData(r,this.searchText,this.editPattern)),this.maxResults>0){const i=Se.getReduceData(r,+this.maxResults);r=i.result,this.maxResultsExceeded=i.reduce}else this.maxResultsExceeded=!1;Se.valueIsNotInFilteredData(r,this.hoveringValue)&&(this.hoveringValue=Se.getFirstAvailableOption(r)),t&&this.writeValue(this._control?this._control.value:this.value),this.filteredData=r,this._changeDetectorRef.markForCheck()})}clickExit(){this._focus(!1)}ifParentContainsClass(t,r){return null!==this.getParentElementByClass(t,r)}ifParentContainsId(t,r){return null!==this.getParentElementById(t,r)}getParentElementByClass(t,r){return this.containClasses(t,r.trim().split(/\s+/))?t:t.parentElement?this.getParentElementByClass(t.parentElement,r):null}getParentElementById(t,r){return t.id===r?t:t.parentElement?this.getParentElementById(t.parentElement,r):null}containClasses(t,r){if(!t.classList)return!1;for(const i of r)if(!t.classList.contains(i))return!1;return!0}focusin(){this.disabled||this._focus(!0)}focusout(){this.selectionElement&&!this.selectionElement.classList.contains("select2-focused")&&(this._focus(!1),this._onTouched())}select(t){let r;if(null!=t)if(this.multiple){const i=this.option,o=i.findIndex(s=>s.value===t.value);-1===o?i.push(t):i.splice(o,1),r=this.option.map(s=>s.value)}else this.option=t,this.isOpen&&(this.isOpen=!1,this.close.emit(this),this.selectionElement?.focus()),r=this.option.value;else this.option=null;this.multiple&&this.hideSelectedItems&&this.updateFilteredData(),this._control?this._onChange(r):this._value=r,this.update.emit({component:this,value:r,options:Array.isArray(this.option)?this.option:this.option?[this.option]:null})}keyDown(t,r=!1){r&&this._testKey(t,["Enter",13])?this.createAndAdd(t):this._testKey(t,["ArrowDown",40])?(this.moveDown(),t.preventDefault()):this._testKey(t,["ArrowUp",38])?(this.moveUp(),t.preventDefault()):this._testKey(t,["Enter",13])?(this.selectByEnter(),t.preventDefault()):this._testKey(t,["Escape","Tab",9,27])&&this.isOpen&&(this.toggleOpenAndClose(),this._focus(!1))}openKey(t,r=!1){r&&this._testKey(t,["Enter",13])?this.createAndAdd(t):this._testKey(t,["ArrowDown","ArrowUp","Enter",40,38,13])?(this.toggleOpenAndClose(!0,!0,t),t.preventDefault()):this._testKey(t,["Escape","Tab",9,27])&&(this.toggleOpenAndClose(!1),this.isOpen&&t.preventDefault(),this._onTouched())}searchUpdate(t){this.searchText=t.target.value,this.customSearchEnabled?this.search.emit({component:this,value:this._value,search:this.searchText,data:this._data,filteredData:r=>{this.filteredData=r,this._changeDetectorRef.markForCheck()}}):this.updateFilteredData()}trackBy(t,r){return r.value}isSelected(t){return Se.isSelected(this.option,t,this.multiple)}isDisabled(t){return t.disabled?"true":"false"}removeSelection(t,r){Se.removeSelection(this.option,r),this.multiple&&this.hideSelectedItems&&this.updateFilteredData();const i=this.option.map(o=>o.value);this._control?this._onChange(i):this._value=i,this.update.emit({component:this,value:i,options:Array.isArray(this.option)?this.option:this.option?[this.option]:null}),this.removeOption.emit({component:this,value:i,removedOption:r}),t.preventDefault(),t.stopPropagation(),this.isOpen&&this._focusSearchboxOrResultsElement()}writeValue(t){this._setSelectionByValue(t)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}onScroll(t){this.scroll.emit({component:this,way:t,search:this.innerSearchText,data:this._data})}_isErrorState(){const t=this._control?.invalid,r=this._control?.touched;return!(!t||!r&&!this._parentFormGroup?.submitted&&!this._parentForm?.submitted)}addItem(t){let r=Se.getOptionByValue(this._data,t);return r||(r={value:t,label:t},this._data.push(r)),r}createAndAdd(t){const r=t.target.value;if(r.trim()){const i=this.addItem(r.trim());this.click(i),t.target.value=""}this.stopEvent(t)}moveUp(){this.updateScrollFromOption(Se.getPreviousOption(this.filteredData,this.hoveringValue))}moveDown(){this.updateScrollFromOption(Se.getNextOption(this.filteredData,this.hoveringValue))}updateScrollFromOption(t){if(t){this.hoveringValue=t.value;const r=this.results.find(i=>i.nativeElement.innerText.trim()===t.label);if(r&&this.resultsElement){this.resultsElement.scrollTop=0;const i=this.resultsElement.getBoundingClientRect(),o=r.nativeElement.getBoundingClientRect();this.resultsElement.scrollTop=o.top-i.top}}}selectByEnter(){if(this.hoveringValue){const t=Se.getOptionByValue(this._data,this.hoveringValue);this.select(t)}}_testKey(t,r=[]){return this._isKey(this._getKey(t),r)}_getKey(t){let r;return void 0!==t.key?r=t.key:void 0!==t.keyIdentifier?r=t.keyIdentifier:void 0!==t.keyCode?r=t.keyCode:t.preventDefault(),r}_isKey(t,r=[]){return!!(r&&r.length>0)&&-1!==r.indexOf(t)}_setSelectionByValue(t){if(this.option||null!=t){const r=Array.isArray(t);if(this.multiple&&t&&!r)throw new Error("Non array value.");this._data?this.multiple?(this.option=[],r&&Se.getOptionsByValue(this._data,t,this.multiple).map(o=>this.select(o))):this.select(Se.getOptionByValue(this._data,t)):this._control&&this._control.viewToModelUpdate(t),this._changeDetectorRef.markForCheck()}}_dirtyCheckNativeValue(){const t=this.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this._stateChanges.next())}_focusSearchboxOrResultsElement(t=!0){this.isSearchboxHidden||(setTimeout(()=>{this.searchInput&&this.searchInput.nativeElement&&t&&this.searchInput.nativeElement.focus()}),this.resultsElement&&t&&this.resultsElement.focus())}_focus(t){!t&&this.focused?(this.focused=t,this.blur.emit(this)):t&&!this.focused&&(this.focused=t,this.focus.emit(this))}_isAbobeOverlay(){return this.overlay&&this._overlayPosition&&"auto"===this.listPosition?"top"===this._overlayPosition:"above"===this.listPosition}}return e.\u0275fac=function(t){return new(t||e)(M(yf),M(Ds),M(nc,8),M(go,8),M(yr,10),Bo("tabindex"))},e.\u0275cmp=Ei({type:e,selectors:[["select2"]],viewQuery:function(t,r){if(1&t&&(Jr(uD,5),Jr(B2,7),Jr(H2,5),Jr(j2,5),Jr(U2,5),Jr($2,5)),2&t){let i;Ir(i=Tr())&&(r.cdkConnectedOverlay=i.first),Ir(i=Tr())&&(r.selection=i.first),Ir(i=Tr())&&(r.resultContainer=i.first),Ir(i=Tr())&&(r.searchInput=i.first),Ir(i=Tr())&&(r.dropdown=i.first),Ir(i=Tr())&&(r.results=i)}},hostVars:8,hostBindings:function(t,r){1&t&&j("click",function(o){return r.clickDetection(o)},0,Lm),2&t&&(Md("id",r.id),Bt("aria-invalid",r.ariaInvalid),rt("material",r.classMaterial)("nostyle",r.classNostyle)("select2-above",r.select2above))},inputs:{data:"data",minCharForSearch:["minCharForSearch","minCharForSearch",ni],displaySearchStatus:"displaySearchStatus",placeholder:"placeholder",limitSelection:["limitSelection","limitSelection",ni],listPosition:"listPosition",multiple:["multiple","multiple",St],overlay:["overlay","overlay",St],styleMode:"styleMode",noResultMessage:"noResultMessage",maxResults:["maxResults","maxResults",ni],maxResultsMessage:"maxResultsMessage",infiniteScrollDistance:["infiniteScrollDistance","infiniteScrollDistance",ni],infiniteScrollThrottle:["infiniteScrollThrottle","infiniteScrollThrottle",ni],infiniteScroll:["infiniteScroll","infiniteScroll",St],autoCreate:["autoCreate","autoCreate",St],noLabelTemplate:["noLabelTemplate","noLabelTemplate",St],editPattern:"editPattern",templates:"templates",resultMaxHeight:"resultMaxHeight",customSearchEnabled:["customSearchEnabled","customSearchEnabled",St],minCountForSearch:["minCountForSearch","minCountForSearch",ni],id:"id",required:["required","required",St],disabled:["disabled","disabled",St],hideSelectedItems:["hideSelectedItems","hideSelectedItems",St],readonly:["readonly","readonly",St],value:"value",tabIndex:["tabIndex","tabIndex",ni],resettable:["resettable","resettable",St],resetSelectedValue:"resetSelectedValue"},outputs:{update:"update",open:"open",close:"close",focus:"focus",blur:"blur",search:"search",scroll:"scroll",removeOption:"removeOption"},features:[dd],ngContentSelectors:IL,decls:18,vars:28,consts:[[1,"select2-label",3,"click"],["class","select2-required",4,"ngIf"],[1,"select2","select2-container","select2-container--default"],["cdkOverlayOrigin","",1,"selection",3,"tabindex","click","focus","blur","keydown"],["selection","","trigger","cdkOverlayOrigin"],["role","combobox",1,"select2-selection"],["class","select2-selection__rendered",3,"title",4,"ngIf"],["class","select2-selection__reset","role","presentation",3,"click",4,"ngIf"],["class","select2-selection__arrow","role","presentation",4,"ngIf"],["class","select2-selection__rendered",4,"ngIf"],[4,"ngIf"],[1,"select2-subscript-wrapper"],["cdkConnectedOverlay","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","select2-overlay-backdrop",3,"cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayMinWidth","cdkConnectedOverlayHeight","cdkConnectedOverlayPositions","backdropClick"],["containerTemplate",""],[1,"select2-required"],[1,"select2-selection__rendered",3,"title"],[1,"select2-selection__placeholder"],[3,"innerHTML",4,"ngIf","ngIfElse"],["template",""],[3,"innerHTML"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["role","presentation",1,"select2-selection__reset",3,"click"],["role","presentation",1,"select2-selection__arrow"],[1,"select2-selection__rendered"],["class","select2-selection__placeholder",3,"select2-selection__placeholder__option",4,"ngIf"],["class","select2-selection__choice","tabindex","0",3,"title","keydown.enter",4,"ngFor","ngForOf","ngForTrackBy"],["class","select2-selection__auto-create",3,"focus","blur",4,"ngIf"],["tabindex","0",1,"select2-selection__choice",3,"title","keydown.enter"],["class","select2-selection__choice__remove","role","presentation",3,"click",4,"ngIf"],["templateMultiple",""],["role","presentation",1,"select2-selection__choice__remove",3,"click"],[1,"select2-selection__auto-create",3,"focus","blur"],["type","search","role","textbox","autocomplete","off","autocorrect","off","autocapitalize","off","spellcheck","false",1,"select2-create__field",3,"id","click","keydown","keyup","change"],[4,"ngTemplateOutlet"],[1,"select2-container","select2-container--default","select2-container-dropdown"],[1,"select2-dropdown"],["dropdown",""],[1,"select2-search","select2-search--dropdown"],["type","search","role","textbox","autocomplete","off","autocorrect","off","autocapitalize","off","spellcheck","false",1,"select2-search__field",3,"id","value","keydown","keyup","change"],["searchInput",""],[1,"select2-results"],["role","tree","tabindex","-1","infiniteScroll","",1,"select2-results__options",3,"infiniteScrollDisabled","infiniteScrollDistance","infiniteScrollThrottle","infiniteScrollContainer","scrolled","scrolledUp","keydown"],["results",""],[4,"ngFor","ngForOf","ngForTrackBy"],["class","select2-no-result select2-results__option",3,"innerHTML",4,"ngIf"],["class","select2-too-much-result select2-results__option",3,"innerHTML",4,"ngIf"],["class","select2-results__option","role","group",4,"ngIf"],["role","treeitem",3,"id","class","mouseenter","click",4,"ngIf"],["role","group",1,"select2-results__option"],["optGroup",""],[1,"select2-results__options","select2-results__options--nested"],["role","treeitem",3,"id","class","mouseenter","click",4,"ngFor","ngForOf","ngForTrackBy"],["role","treeitem",3,"id","mouseenter","click"],["result",""],["class","select2-label-content",3,"innerHTML",4,"ngIf","ngIfElse"],["liGroup",""],[1,"select2-label-content",3,"innerHTML"],["li",""],[1,"select2-no-result","select2-results__option",3,"innerHTML"],[1,"select2-too-much-result","select2-results__option",3,"innerHTML"]],template:function(t,r){if(1&t&&(function G_(e){const n=I()[Xe][Tt];if(!n.projection){const r=n.projection=$o(e?e.length:1,null),i=r.slice();let o=n.child;for(;null!==o;){const s=e?CT(o,e):0;null!==s&&(i[s]?i[s].projectionNext=o:r[s]=o,i[s]=o),o=o.next}}}(AL),v(0,"div",0),j("click",function(){return r.toggleOpenAndClose()}),yd(1),J(2,z2,1,0,"span",1),_(),v(3,"div",2)(4,"div",3,4),j("click",function(){return r.toggleOpenAndClose()})("focus",function(){return r.focusin()})("blur",function(){return r.focusout()})("keydown",function(o){return r.openKey(o)}),v(7,"div",5),J(8,K2,5,6,"span",6),J(9,X2,2,0,"span",7),J(10,Q2,1,0,"span",8),J(11,sL,4,4,"ul",9),_()(),J(12,lL,2,1,"ng-container",10),v(13,"div",11),yd(14,1),_()(),J(15,uL,1,1,"ng-template",12),j("backdropClick",function(){return r.toggleOpenAndClose()}),J(16,ML,12,25,"ng-template",null,13,bt)),2&t){const i=Ue(6);w(2),R("ngIf",r.required),w(1),rt("select2-container--focus",r.focused)("select2-container--below",!r.select2above)("select2-container--above",r.select2above)("select2-container--open",r.isOpen)("select2-container--disabled",r.disabled),w(1),rt("select2-focused",r.focused),R("tabindex",r.isOpen?"-1":r.tabIndex),w(3),rt("select2-selection--multiple",r.multiple)("select2-selection--single",!r.multiple),w(1),R("ngIf",!r.multiple),w(1),R("ngIf",!r.multiple&&r.resettable&&r.resetSelectedValue!==r.value&&r.select2Option&&!(r.disabled||r.readonly)),w(1),R("ngIf",!r.multiple),w(1),R("ngIf",r.multiple),w(1),R("ngIf",!r.overlay),w(3),R("cdkConnectedOverlayOrigin",i)("cdkConnectedOverlayOpen",r.isOpen&&r.overlay)("cdkConnectedOverlayMinWidth",r.overlayWidth)("cdkConnectedOverlayHeight",r.overlayHeight)("cdkConnectedOverlayPositions",r._positions)}},dependencies:[Qb,Mh,nC,uD,cD,F2],styles:['.select2-label[_ngcontent-%COMP%]{color:var(--select2-label-text-color, #000)}.select2-container[_ngcontent-%COMP%]{box-sizing:border-box;display:inline-block;margin:0;position:relative;vertical-align:middle;width:100%}.select2-container[_ngcontent-%COMP%] .select2-container-dropdown[_ngcontent-%COMP%]{position:absolute;width:0px;opacity:0}.select2-container[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]{box-sizing:border-box;cursor:pointer;display:block;height:var(--select2-single-height, 28px);-webkit-user-select:none;user-select:none}.select2-container[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%]{display:block;padding:var(--select2-selection-padding, 0 0 0 8px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1 1 auto}.select2-container[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__clear[_ngcontent-%COMP%]{position:relative}.select2-container[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{box-sizing:border-box;cursor:pointer;display:block;min-height:var(--select2-multiple-height, 28px);-webkit-user-select:none;user-select:none}.select2-container[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%]{display:inline-flex;overflow:hidden;padding-left:8px;padding-bottom:2px;text-overflow:ellipsis;white-space:nowrap;flex-wrap:wrap;gap:var(--select2-selection-multiple-gap, 2px 5px)}.select2-container[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%] .select2-selection__auto-create[_ngcontent-%COMP%]{flex:1 1 150px;min-width:150px;display:flex}.select2-container[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%] .select2-create__field[_ngcontent-%COMP%]{width:100%;border:0}.select2-container[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%] .select2-create__field[_ngcontent-%COMP%]:focus{border:0;outline:0}.select2-container[_ngcontent-%COMP%] .select2-search--inline[_ngcontent-%COMP%]{float:left}.select2-container[_ngcontent-%COMP%] .select2-search--inline[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%]{box-sizing:border-box;border:none;font-size:100%;margin-top:5px;padding:0}.select2-container[_ngcontent-%COMP%] .select2-search--inline[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%]::-webkit-search-cancel-button{-webkit-appearance:none}.select2-dropdown[_ngcontent-%COMP%]{background:var(--select2-dropdown-background, white);border:1px solid var(--select2-dropdown-border-color, #aaa);border-radius:var(--select2-selection-border-radius, 4px);box-sizing:border-box;display:block;position:absolute;width:100%;z-index:1051;height:0;overflow:hidden}.select2-dropdown[_ngcontent-%COMP%] .select2-label-content[_ngcontent-%COMP%]{display:contents}.select2-results[_ngcontent-%COMP%]{display:block}.select2-results__options[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0}.select2-results__option[_ngcontent-%COMP%]{padding:var(--select2-option-padding, 6px);-webkit-user-select:none;user-select:none;color:var(--select2-option-text-color, #000)}.select2-results__option[aria-selected][_ngcontent-%COMP%]{cursor:pointer}.select2-container.select2-container-dropdown.select2-container--open[_ngcontent-%COMP%]{width:100%;opacity:1}.select2-container--open[_ngcontent-%COMP%] .select2-dropdown[_ngcontent-%COMP%]{overflow:auto;height:auto}.select2-container--open[_ngcontent-%COMP%] .select2-dropdown--above[_ngcontent-%COMP%]{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;bottom:27px;display:flex;flex-direction:column-reverse}.select2-container--open[_ngcontent-%COMP%] .select2-dropdown--below[_ngcontent-%COMP%]{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-search--dropdown[_ngcontent-%COMP%]{display:block;padding:4px}.select2-search--dropdown[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%]{padding:4px;width:100%;box-sizing:border-box}.select2-search--dropdown[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%]::-webkit-search-cancel-button{-webkit-appearance:none}.select2-search--dropdown.select2-search--hide[_ngcontent-%COMP%]{display:none}.select2-close-mask[_ngcontent-%COMP%]{border:0;margin:0;padding:0;display:block;position:fixed;left:0;top:0;min-height:100%;min-width:100%;height:auto;width:auto;opacity:0;z-index:99}.select2-required[_ngcontent-%COMP%]:before{content:"*";color:var(--select2-required-color, red)}.select2-hidden-accessible[_ngcontent-%COMP%]{border:0!important;clip:rect(0 0 0 0)!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;width:1px!important}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]{background:var(--select2-selection-background, #fff);border:1px solid var(--select2-selection-border-color, #aaa);border-radius:var(--select2-selection-border-radius, 4px);display:flex}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%]{color:var(--select2-selection-text-color, #111);line-height:var(--select2-selection-line-height, 28px)}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__clear[_ngcontent-%COMP%]{cursor:pointer;float:right;font-weight:700}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__placeholder[_ngcontent-%COMP%]{color:var(--select2-placeholder-color, #999)}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__placeholder[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;white-space:nowrap;text-overflow:var(--select2-placeholder-overflow, ellipsis)}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__placeholder__option[_ngcontent-%COMP%]{display:none}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__reset[_ngcontent-%COMP%], .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%]{display:flex;width:20px;align-items:center;justify-content:center}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%]:before{content:" ";border-color:var(--select2-arrow-color, #888) transparent;border-style:solid;border-width:5px 4px 0;height:0;width:0}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__reset[_ngcontent-%COMP%]{color:var(--select2-reset-color, #999)}.select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]{background:var(--select2-selection-disabled-background, #eee);cursor:default}.select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__clear[_ngcontent-%COMP%]{display:none}.select2-container--default.select2-container--open[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%]:before{border-color:transparent transparent var(--select2-arrow-color, #888);border-width:0 4px 5px}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{background:var(--select2-selection-background, #fff);border:1px solid var(--select2-selection-border-color, #aaa);border-radius:var(--select2-selection-border-radius, 4px);cursor:text;display:flex}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%]{flex:1 1 auto;box-sizing:border-box;list-style:none;margin:0;padding:var(--select2-selection-multiple-padding, 2px 5px);width:100%;min-height:1em;align-items:center}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style:none;line-height:var(--select2-selection-choice-line-height, 20px)}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__placeholder[_ngcontent-%COMP%]{display:block;width:100%;color:var(--select2-placeholder-color, #999);margin-top:5px;float:left;overflow:hidden;white-space:nowrap;text-overflow:var(--select2-placeholder-overflow, ellipsis)}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__placeholder__option[_ngcontent-%COMP%]{display:none}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__clear[_ngcontent-%COMP%]{cursor:pointer;float:right;font-weight:700;margin-top:5px;margin-right:10px}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice[_ngcontent-%COMP%]{color:var(--select2-selection-choice-text-color, #000);background:var(--select2-selection-choice-background, #e4e4e4);border:1px solid var(--select2-selection-choice-border-color, #aaa);border-radius:var(--select2-selection-border-radius, 4px);cursor:default;padding:0 5px}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice__remove[_ngcontent-%COMP%]{color:var(--select2-selection-choice-close-color, #999);cursor:pointer;display:inline-block;font-weight:700;margin-right:2px}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice__remove[_ngcontent-%COMP%]:hover{color:var(--select2-selection-choice-hover-close-color, #333)}.select2-container--default.select2-container--focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{border:solid var(--select2-selection-focus-border-color, #000) 1px;outline:none}.select2-container--default[_ngcontent-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .select2-container--default[_ngcontent-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{border:solid var(--select2-selection-focus-border-color, #000) 1px;outline:none}.select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{background:var(--select2-selection-disabled-background, #eee);cursor:default}.select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection__choice__remove[_ngcontent-%COMP%]{display:none}.select2-container--default.select2-container--open.select2-container--above[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .select2-container--default.select2-container--open.select2-container--above[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{border-top-left-radius:0;border-top-right-radius:0}.select2-container--default.select2-container--open.select2-container--below[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .select2-container--default.select2-container--open.select2-container--below[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--default[_ngcontent-%COMP%] .select2-search--dropdown[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%]{border:1px solid var(--select2-search-border-color, #aaa);background:1px solid var(--select2-search-background, #fff);border-radius:var(--select2-search-border-radius, 0px)}.select2-container--default[_ngcontent-%COMP%] .select2-search--inline[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%]{background:transparent;border:none;outline:none;box-shadow:none;-webkit-appearance:textfield}.select2-container--default[_ngcontent-%COMP%] .select2-results[_ngcontent-%COMP%] > .select2-results__options[_ngcontent-%COMP%]{overflow-y:auto}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[role=group][_ngcontent-%COMP%]{padding:0}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[aria-disabled=true][_ngcontent-%COMP%]{color:var(--select2-option-disabled-text-color, #999);background:var(--select2-option-disabled-background, transparent)}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[aria-selected=true][_ngcontent-%COMP%]{color:var(--select2-option-selected-text-color, #000);background:var(--select2-option-selected-background, #ddd)}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{padding-left:1em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__group[_ngcontent-%COMP%]{padding-left:0}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-1em;padding-left:2em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-2em;padding-left:3em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-3em;padding-left:4em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-4em;padding-left:5em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-5em;padding-left:6em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option--highlighted[aria-selected][_ngcontent-%COMP%]{background:var(--select2-option-highlighted-background, #5897fb);color:var(--select2-option-highlighted-text-color, #fff)}.select2-container--default[_ngcontent-%COMP%] .select2-results__option--hide[_ngcontent-%COMP%]{display:none}.select2-container--default[_ngcontent-%COMP%] .select2-results__group[_ngcontent-%COMP%]{cursor:default;display:block;padding:6px;color:var(--select2-option-group-text-color, gray);background:var(--select2-option-group-background, transparent)}.select2-no-result[_ngcontent-%COMP%]{color:var(--select2-no-result-color, #888);font-style:var(--select2-no-result-font-style, italic)}.select2-too-much-result[_ngcontent-%COMP%]{color:var(--select2-too-much-result-color, #888);font-style:var(--select2-too-much-font-style, italic)}.nostyle[_nghost-%COMP%] .select2-dropdown[_ngcontent-%COMP%]{border-color:transparent}.nostyle[_nghost-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .nostyle[_nghost-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{background:transparent;border-color:transparent}.nostyle[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .nostyle[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%], .nostyle[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .nostyle[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{background:transparent;border-color:transparent}.material[_nghost-%COMP%]{display:inline-block;width:300px}.material[_nghost-%COMP%] > .select2-container[_ngcontent-%COMP%]{padding-bottom:1.29688em;vertical-align:inherit}.material[_nghost-%COMP%] > .select2-container[_ngcontent-%COMP%] .selection[_ngcontent-%COMP%]{padding:.4375em 0;border-top:.84375em solid transparent;display:inline-flex;align-items:baseline;width:100%;height:auto}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{width:100%;border:0;border-radius:0;height:24px;box-sizing:border-box}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:before, .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:before{content:" ";display:block;position:absolute;bottom:1.65em;background:var(--select2-material-underline, #ddd);height:1px;width:100%}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:after, .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:after{content:" ";display:block;position:absolute;bottom:1.63em;background:var(--select2-material-underline-active, #5a419e);height:2px;width:0%;left:50%;transition:none}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%]{padding-left:1px;line-height:inherit}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__placeholder[_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__placeholder[_ngcontent-%COMP%]{display:block;color:var(--select2-material-placeholder-color, rgba(0, 0, 0, .38));transition:transform .3s;position:absolute;transform-origin:0 21px;left:0;top:20px}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-container--open[_ngcontent-%COMP%]{left:0;bottom:1.6em}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection__placeholder__option[_ngcontent-%COMP%]{transform:translateY(-1.5em) scale(.75) perspective(100px) translateZ(.001px);width:133.33333%}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%]{top:20px}.material[_nghost-%COMP%] .select2-container--default.select2-container--open[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:after, .material[_nghost-%COMP%] .select2-container--default.select2-container--open[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:after, .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:after, .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:after{transition:width .3s cubic-bezier(.12,1,.77,1),left .3s cubic-bezier(.12,1,.77,1);width:100%;left:0%}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-dropdown[_ngcontent-%COMP%]{border-radius:0;border:0;box-shadow:0 5px 5px #00000080}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-results__option[aria-selected=true][_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-results__option--highlighted[aria-selected][_ngcontent-%COMP%]{background:var(--select2-material-option-selected-background, rgba(0, 0, 0, .04));color:var(--select2-material-option-highlighted-text-color, #000)}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-results__option[aria-selected=true][_ngcontent-%COMP%]{color:var(--select2-material-option-selected-text-color, #ff5722)}.material[_nghost-%COMP%] .select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{background:transparent}.material[_nghost-%COMP%] .select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:before, .material[_nghost-%COMP%] .select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:before{background:var(--select2-material-underline-disabled, linear-gradient(to right, rgba(0, 0, 0, .26) 0, rgba(0, 0, 0, .26) 33%, transparent 0));background-size:4px 1px;background-repeat:repeat-x;background-position:0 bottom}.material.ng-invalid.ng-touched[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:before, .material.ng-invalid.ng-touched[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:after, .material.ng-invalid.ng-touched[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:before, .material.ng-invalid.ng-touched[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:after{background:var(--select2-material-underline-invalid, red)}.material[_nghost-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .material[_nghost-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{border:0}.material[_nghost-%COMP%] .select2-subscript-wrapper[_ngcontent-%COMP%]{position:absolute;top:calc(100% - 1.72917em);font-size:75%;color:var(--select2-hint-text-color, #888)} .select2-overlay-backdrop{background:var(--select2-overlay-backdrop, transparent)} .cdk-overlay-container .select2-container .select2-dropdown.select2-dropdown--above{bottom:28px} .cdk-overlay-container .select2-container--open.select2-position-auto .select2-dropdown{margin-bottom:28px} .cdk-overlay-container .select2-container--open.select2-position-auto .select2-dropdown.select2-dropdown--above{bottom:0;margin-bottom:0;margin-top:28px}@supports (-moz-appearance: none){select2.material[_ngcontent-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], select2.material[_ngcontent-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{height:26px}}']}),e})(),xL=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=dt({type:e}),e.\u0275inj=nt({imports:[oC,uf,o2,Fw,V2,uf,Fw]}),e})();class PL extends Z{notifyNext(n,t,r,i,o){this.destination.next(t)}notifyError(n,t){this.destination.error(n)}notifyComplete(n){this.destination.complete()}}class NL extends Z{constructor(n,t,r){super(),this.parent=n,this.outerValue=t,this.outerIndex=r,this.index=0}_next(n){this.parent.notifyNext(this.outerValue,n,this.outerIndex,this.index++,this)}_error(n){this.parent.notifyError(n,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}function kL(e,n,t,r,i=new NL(e,t,r)){if(!i.closed)return n instanceof be?n.subscribe(i):At(n)(i)}const _D={};function Mf(...e){let n,t;return zt(e[e.length-1])&&(t=e.pop()),"function"==typeof e[e.length-1]&&(n=e.pop()),1===e.length&&h(e[0])&&(e=e[0]),ta(e,t).lift(new FL(n))}class FL{constructor(n){this.resultSelector=n}call(n,t){return t.subscribe(new LL(n,this.resultSelector))}}class LL extends PL{constructor(n,t){super(n),this.resultSelector=t,this.active=0,this.values=[],this.observables=[]}_next(n){this.values.push(_D),this.observables.push(n)}_complete(){const n=this.observables,t=n.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(let r=0;r{function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e})();function Af(...e){return function VL(){return Di(1)}()(ne(...e))}function vD(e){return new be(n=>{let t;try{t=e()}catch(i){return void n.error(i)}return(t?_t(t):df()).subscribe(n)})}function hc(e=null){return n=>n.lift(new HL(e))}class HL{constructor(n){this.defaultValue=n}call(n,t){return t.subscribe(new jL(n,this.defaultValue))}}class jL extends Z{constructor(n,t){super(n),this.defaultValue=t,this.isEmpty=!0}_next(n){this.isEmpty=!1,this.destination.next(n)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function yD(e=zL){return n=>n.lift(new UL(e))}class UL{constructor(n){this.errorFactory=n}call(n,t){return t.subscribe(new $L(n,this.errorFactory))}}class $L extends Z{constructor(n,t){super(n),this.errorFactory=t,this.hasValue=!1}_next(n){this.hasValue=!0,this.destination.next(n)}_complete(){if(this.hasValue)return this.destination.complete();{let n;try{n=this.errorFactory()}catch(t){n=t}this.destination.error(n)}}}function zL(){return new dc}function ui(e,n){const t=arguments.length>=2;return r=>r.pipe(e?Jt((i,o)=>e(i,o,r)):Et,kr(1),t?hc(n):yD(()=>new dc))}function Vs(e,n){return wt(e,n,1)}class WL{constructor(n,t,r=!1){this.accumulator=n,this.seed=t,this.hasSeed=r}call(n,t){return t.subscribe(new qL(n,this.accumulator,this.seed,this.hasSeed))}}class qL extends Z{constructor(n,t,r,i){super(n),this.accumulator=t,this._seed=r,this.hasSeed=i,this.index=0}get seed(){return this._seed}set seed(n){this.hasSeed=!0,this._seed=n}_next(n){if(this.hasSeed)return this._tryNext(n);this.seed=n,this.destination.next(n)}_tryNext(n){const t=this.index++;let r;try{r=this.accumulator(this.seed,n,t)}catch(i){this.destination.error(i)}this.seed=r,this.destination.next(r)}}function If(e){return function(t){return 0===e?df():t.lift(new ZL(e))}}class ZL{constructor(n){if(this.total=n,this.total<0)throw new Vw}call(n,t){return t.subscribe(new YL(n,this.total))}}class YL extends Z{constructor(n,t){super(n),this.total=t,this.ring=new Array,this.count=0}_next(n){const t=this.ring,r=this.total,i=this.count++;t.length0){const r=this.count>=this.total?this.total:this.count,i=this.ring;for(let o=0;on.lift(new eV(e))}class eV{constructor(n){this.callback=n}call(n,t){return t.subscribe(new tV(n,this.callback))}}class tV extends Z{constructor(n,t){super(n),this.add(new A(t))}}const he="primary",Bs=Symbol("RouteTitle");class nV{constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){const t=this.params[n];return Array.isArray(t)?t[0]:t}return null}getAll(n){if(this.has(n)){const t=this.params[n];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function _o(e){return new nV(e)}function rV(e,n,t){const r=t.path.split("/");if(r.length>e.length||"full"===t.pathMatch&&(n.hasChildren()||r.lengthr[o]===i)}return e===n}function CD(e){return e.length>0?e[e.length-1]:null}function Lr(e){return function RL(e){return!!e&&(e instanceof be||"function"==typeof e.lift&&"function"==typeof e.subscribe)}(e)?e:fs(e)?_t(Promise.resolve(e)):ne(e)}const oV={exact:function SD(e,n,t){if(!di(e.segments,n.segments)||!fc(e.segments,n.segments,t)||e.numberOfChildren!==n.numberOfChildren)return!1;for(const r in n.children)if(!e.children[r]||!SD(e.children[r],n.children[r],t))return!1;return!0},subset:ED},wD={exact:function sV(e,n){return er(e,n)},subset:function aV(e,n){return Object.keys(n).length<=Object.keys(e).length&&Object.keys(n).every(t=>bD(e[t],n[t]))},ignored:()=>!0};function DD(e,n,t){return oV[t.paths](e.root,n.root,t.matrixParams)&&wD[t.queryParams](e.queryParams,n.queryParams)&&!("exact"===t.fragment&&e.fragment!==n.fragment)}function ED(e,n,t){return MD(e,n,n.segments,t)}function MD(e,n,t,r){if(e.segments.length>t.length){const i=e.segments.slice(0,t.length);return!(!di(i,t)||n.hasChildren()||!fc(i,t,r))}if(e.segments.length===t.length){if(!di(e.segments,t)||!fc(e.segments,t,r))return!1;for(const i in n.children)if(!e.children[i]||!ED(e.children[i],n.children[i],r))return!1;return!0}{const i=t.slice(0,e.segments.length),o=t.slice(e.segments.length);return!!(di(e.segments,i)&&fc(e.segments,i,r)&&e.children[he])&&MD(e.children[he],n,o,r)}}function fc(e,n,t){return n.every((r,i)=>wD[t](e[i].parameters,r.parameters))}class vo{constructor(n=new Ne([],{}),t={},r=null){this.root=n,this.queryParams=t,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=_o(this.queryParams)),this._queryParamMap}toString(){return uV.serialize(this)}}class Ne{constructor(n,t){this.segments=n,this.children=t,this.parent=null,Object.values(t).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return pc(this)}}class Hs{constructor(n,t){this.path=n,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=_o(this.parameters)),this._parameterMap}toString(){return TD(this)}}function di(e,n){return e.length===n.length&&e.every((t,r)=>t.path===n[r].path)}let js=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:function(){return new Of},providedIn:"root"}),e})();class Of{parse(n){const t=new CV(n);return new vo(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(n){const t=`/${Us(n.root,!0)}`,r=function fV(e){const n=Object.keys(e).map(t=>{const r=e[t];return Array.isArray(r)?r.map(i=>`${gc(t)}=${gc(i)}`).join("&"):`${gc(t)}=${gc(r)}`}).filter(t=>!!t);return n.length?`?${n.join("&")}`:""}(n.queryParams),i="string"==typeof n.fragment?`#${function dV(e){return encodeURI(e)}(n.fragment)}`:"";return`${t}${r}${i}`}}const uV=new Of;function pc(e){return e.segments.map(n=>TD(n)).join("/")}function Us(e,n){if(!e.hasChildren())return pc(e);if(n){const t=e.children[he]?Us(e.children[he],!1):"",r=[];return Object.entries(e.children).forEach(([i,o])=>{i!==he&&r.push(`${i}:${Us(o,!1)}`)}),r.length>0?`${t}(${r.join("//")})`:t}{const t=function cV(e,n){let t=[];return Object.entries(e.children).forEach(([r,i])=>{r===he&&(t=t.concat(n(i,r)))}),Object.entries(e.children).forEach(([r,i])=>{r!==he&&(t=t.concat(n(i,r)))}),t}(e,(r,i)=>i===he?[Us(e.children[he],!1)]:[`${i}:${Us(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[he]?`${pc(e)}/${t[0]}`:`${pc(e)}/(${t.join("//")})`}}function AD(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function gc(e){return AD(e).replace(/%3B/gi,";")}function xf(e){return AD(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function mc(e){return decodeURIComponent(e)}function ID(e){return mc(e.replace(/\+/g,"%20"))}function TD(e){return`${xf(e.path)}${function hV(e){return Object.keys(e).map(n=>`;${xf(n)}=${xf(e[n])}`).join("")}(e.parameters)}`}const pV=/^[^\/()?;#]+/;function Rf(e){const n=e.match(pV);return n?n[0]:""}const gV=/^[^\/()?;=#]+/,_V=/^[^=?&#]+/,yV=/^[^&#]+/;class CV{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ne([],{}):new Ne([],this.parseChildren())}parseQueryParams(){const n={};if(this.consumeOptional("?"))do{this.parseQueryParam(n)}while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(n.length>0||Object.keys(t).length>0)&&(r[he]=new Ne(n,t)),r}parseSegment(){const n=Rf(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new O(4009,!1);return this.capture(n),new Hs(mc(n),this.parseMatrixParams())}parseMatrixParams(){const n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){const t=function mV(e){const n=e.match(gV);return n?n[0]:""}(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){const i=Rf(this.remaining);i&&(r=i,this.capture(r))}n[mc(t)]=mc(r)}parseQueryParam(n){const t=function vV(e){const n=e.match(_V);return n?n[0]:""}(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){const s=function bV(e){const n=e.match(yV);return n?n[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const i=ID(t),o=ID(r);if(n.hasOwnProperty(i)){let s=n[i];Array.isArray(s)||(s=[s],n[i]=s),s.push(o)}else n[i]=o}parseParens(n){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=Rf(this.remaining),i=this.remaining[r.length];if("/"!==i&&")"!==i&&";"!==i)throw new O(4010,!1);let o;r.indexOf(":")>-1?(o=r.slice(0,r.indexOf(":")),this.capture(o),this.capture(":")):n&&(o=he);const s=this.parseChildren();t[o]=1===Object.keys(s).length?s[he]:new Ne([],s),this.consumeOptional("//")}return t}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return!!this.peekStartsWith(n)&&(this.remaining=this.remaining.substring(n.length),!0)}capture(n){if(!this.consumeOptional(n))throw new O(4011,!1)}}function OD(e){return e.segments.length>0?new Ne([],{[he]:e}):e}function xD(e){const n={};for(const r of Object.keys(e.children)){const o=xD(e.children[r]);if(r===he&&0===o.segments.length&&o.hasChildren())for(const[s,a]of Object.entries(o.children))n[s]=a;else(o.segments.length>0||o.hasChildren())&&(n[r]=o)}return function wV(e){if(1===e.numberOfChildren&&e.children[he]){const n=e.children[he];return new Ne(e.segments.concat(n.segments),n.children)}return e}(new Ne(e.segments,n))}function hi(e){return e instanceof vo}function RD(e){let n;const i=OD(function t(o){const s={};for(const l of o.children){const c=t(l);s[l.outlet]=c}const a=new Ne(o.url,s);return o===e&&(n=a),a}(e.root));return n??i}function PD(e,n,t,r){let i=e;for(;i.parent;)i=i.parent;if(0===n.length)return Pf(i,i,i,t,r);const o=function SV(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new kD(!0,0,e);let n=0,t=!1;const r=e.reduce((i,o,s)=>{if("object"==typeof o&&null!=o){if(o.outlets){const a={};return Object.entries(o.outlets).forEach(([l,c])=>{a[l]="string"==typeof c?c.split("/"):c}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return"string"!=typeof o?[...i,o]:0===s?(o.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?t=!0:".."===a?n++:""!=a&&i.push(a))}),i):[...i,o]},[]);return new kD(t,n,r)}(n);if(o.toRoot())return Pf(i,i,new Ne([],{}),t,r);const s=function EV(e,n,t){if(e.isAbsolute)return new vc(n,!0,0);if(!t)return new vc(n,!1,NaN);if(null===t.parent)return new vc(t,!0,0);const r=_c(e.commands[0])?0:1;return function MV(e,n,t){let r=e,i=n,o=t;for(;o>i;){if(o-=i,r=r.parent,!r)throw new O(4005,!1);i=r.segments.length}return new vc(r,!1,i-o)}(t,t.segments.length-1+r,e.numberOfDoubleDots)}(o,i,e),a=s.processChildren?zs(s.segmentGroup,s.index,o.commands):FD(s.segmentGroup,s.index,o.commands);return Pf(i,s.segmentGroup,a,t,r)}function _c(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function $s(e){return"object"==typeof e&&null!=e&&e.outlets}function Pf(e,n,t,r,i){let s,o={};r&&Object.entries(r).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(u=>`${u}`):`${c}`}),s=e===n?t:ND(e,n,t);const a=OD(xD(s));return new vo(a,o,i)}function ND(e,n,t){const r={};return Object.entries(e.children).forEach(([i,o])=>{r[i]=o===n?t:ND(o,n,t)}),new Ne(e.segments,r)}class kD{constructor(n,t,r){if(this.isAbsolute=n,this.numberOfDoubleDots=t,this.commands=r,n&&r.length>0&&_c(r[0]))throw new O(4003,!1);const i=r.find($s);if(i&&i!==CD(r))throw new O(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class vc{constructor(n,t,r){this.segmentGroup=n,this.processChildren=t,this.index=r}}function FD(e,n,t){if(e||(e=new Ne([],{})),0===e.segments.length&&e.hasChildren())return zs(e,n,t);const r=function IV(e,n,t){let r=0,i=n;const o={match:!1,pathIndex:0,commandIndex:0};for(;i=t.length)return o;const s=e.segments[i],a=t[r];if($s(a))break;const l=`${a}`,c=r0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!VD(l,c,s))return o;r+=2}else{if(!VD(l,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(e,n,t),i=t.slice(r.commandIndex);if(r.match&&r.pathIndex{"string"==typeof s&&(s=[s]),null!==s&&(i[o]=FD(e.children[o],n,s))}),Object.entries(e.children).forEach(([o,s])=>{void 0===r[o]&&(i[o]=s)}),new Ne(e.segments,i)}}function Nf(e,n,t){const r=e.segments.slice(0,n);let i=0;for(;i{"string"==typeof r&&(r=[r]),null!==r&&(n[t]=Nf(new Ne([],{}),0,r))}),n}function LD(e){const n={};return Object.entries(e).forEach(([t,r])=>n[t]=`${r}`),n}function VD(e,n,t){return e==t.path&&er(n,t.parameters)}const Gs="imperative";class tr{constructor(n,t){this.id=n,this.url=t}}class kf extends tr{constructor(n,t,r="imperative",i=null){super(n,t),this.type=0,this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class fi extends tr{constructor(n,t,r){super(n,t),this.urlAfterRedirects=r,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class yc extends tr{constructor(n,t,r,i){super(n,t),this.reason=r,this.code=i,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Ws extends tr{constructor(n,t,r,i){super(n,t),this.reason=r,this.code=i,this.type=16}}class Ff extends tr{constructor(n,t,r,i){super(n,t),this.error=r,this.target=i,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class OV extends tr{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class xV extends tr{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class RV extends tr{constructor(n,t,r,i,o){super(n,t),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class PV extends tr{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class NV extends tr{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class kV{constructor(n){this.route=n,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class FV{constructor(n){this.route=n,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class LV{constructor(n){this.snapshot=n,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class VV{constructor(n){this.snapshot=n,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class BV{constructor(n){this.snapshot=n,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class HV{constructor(n){this.snapshot=n,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class BD{constructor(n,t,r){this.routerEvent=n,this.position=t,this.anchor=r,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class jV{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new qs,this.attachRef=null}}let qs=(()=>{class e{constructor(){this.contexts=new Map}onChildOutletCreated(t,r){const i=this.getOrCreateContext(t);i.outlet=r,this.contexts.set(t,i)}onChildOutletDestroyed(t){const r=this.getContext(t);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let r=this.getContext(t);return r||(r=new jV,this.contexts.set(t,r)),r}getContext(t){return this.contexts.get(t)||null}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class HD{constructor(n){this._root=n}get root(){return this._root.value}parent(n){const t=this.pathFromRoot(n);return t.length>1?t[t.length-2]:null}children(n){const t=Lf(n,this._root);return t?t.children.map(r=>r.value):[]}firstChild(n){const t=Lf(n,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(n){const t=Vf(n,this._root);return t.length<2?[]:t[t.length-2].children.map(i=>i.value).filter(i=>i!==n)}pathFromRoot(n){return Vf(n,this._root).map(t=>t.value)}}function Lf(e,n){if(e===n.value)return n;for(const t of n.children){const r=Lf(e,t);if(r)return r}return null}function Vf(e,n){if(e===n.value)return[n];for(const t of n.children){const r=Vf(e,t);if(r.length)return r.unshift(n),r}return[]}class Cr{constructor(n,t){this.value=n,this.children=t}toString(){return`TreeNode(${this.value})`}}function yo(e){const n={};return e&&e.children.forEach(t=>n[t.value.outlet]=t),n}class jD extends HD{constructor(n,t){super(n),this.snapshot=t,Bf(this,n)}toString(){return this.snapshot.toString()}}function UD(e,n){const t=function UV(e,n){const s=new bc([],{},{},"",{},he,n,null,{});return new zD("",new Cr(s,[]))}(0,n),r=new ze([new Hs("",{})]),i=new ze({}),o=new ze({}),s=new ze({}),a=new ze(""),l=new bo(r,i,s,a,o,he,n,t.root);return l.snapshot=t.root,new jD(new Cr(l,[]),t)}class bo{constructor(n,t,r,i,o,s,a,l){this.urlSubject=n,this.paramsSubject=t,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(oe(c=>c[Bs]))??ne(void 0),this.url=n,this.params=t,this.queryParams=r,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(oe(n=>_o(n)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(oe(n=>_o(n)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function $D(e,n="emptyOnly"){const t=e.pathFromRoot;let r=0;if("always"!==n)for(r=t.length-1;r>=1;){const i=t[r],o=t[r-1];if(i.routeConfig&&""===i.routeConfig.path)r--;else{if(o.component)break;r--}}return function $V(e){return e.reduce((n,t)=>({params:{...n.params,...t.params},data:{...n.data,...t.data},resolve:{...t.data,...n.resolve,...t.routeConfig?.data,...t._resolvedData}}),{params:{},data:{},resolve:{}})}(t.slice(r))}class bc{get title(){return this.data?.[Bs]}constructor(n,t,r,i,o,s,a,l,c){this.url=n,this.params=t,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=_o(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=_o(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class zD extends HD{constructor(n,t){super(t),this.url=n,Bf(this,t)}toString(){return GD(this._root)}}function Bf(e,n){n.value._routerState=e,n.children.forEach(t=>Bf(e,t))}function GD(e){const n=e.children.length>0?` { ${e.children.map(GD).join(", ")} } `:"";return`${e.value}${n}`}function Hf(e){if(e.snapshot){const n=e.snapshot,t=e._futureSnapshot;e.snapshot=t,er(n.queryParams,t.queryParams)||e.queryParamsSubject.next(t.queryParams),n.fragment!==t.fragment&&e.fragmentSubject.next(t.fragment),er(n.params,t.params)||e.paramsSubject.next(t.params),function iV(e,n){if(e.length!==n.length)return!1;for(let t=0;ter(t.parameters,n[r].parameters))}(e.url,n.url);return t&&!(!e.parent!=!n.parent)&&(!e.parent||jf(e.parent,n.parent))}let Uf=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=he,this.activateEvents=new me,this.deactivateEvents=new me,this.attachEvents=new me,this.detachEvents=new me,this.parentContexts=W(qs),this.location=W(Cn),this.changeDetector=W(Ds),this.environmentInjector=W(ur),this.inputBinder=W(Cc,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(t){if(t.name){const{firstChange:r,previousValue:i}=t.name;if(r)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new O(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new O(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new O(4012,!1);this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,r){this.activated=t,this._activatedRoute=r,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,r){if(this.isActivated)throw new O(4013,!1);this._activatedRoute=t;const i=this.location,s=t.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new zV(t,a,i.injector);this.activated=i.createComponent(s,{index:i.length,injector:l,environmentInjector:r??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=X({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Ft]}),e})();class zV{constructor(n,t,r){this.route=n,this.childContexts=t,this.parent=r}get(n,t){return n===bo?this.route:n===qs?this.childContexts:this.parent.get(n,t)}}const Cc=new $("");let WD=(()=>{class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){const{activatedRoute:r}=t,i=Mf([r.queryParams,r.params,r.data]).pipe(nn(([o,s,a],l)=>(a={...o,...s,...a},0===l?ne(a):Promise.resolve(a)))).subscribe(o=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==r||null===r.component)return void this.unsubscribeFromRouteData(t);const s=function hR(e){const n=Me(e);if(!n)return null;const t=new ls(n);return{get selector(){return t.selector},get type(){return t.componentType},get inputs(){return t.inputs},get outputs(){return t.outputs},get ngContentSelectors(){return t.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}(r.component);if(s)for(const{templateName:a}of s.inputs)t.activatedComponentRef.setInput(a,o[a]);else this.unsubscribeFromRouteData(t)});this.outletDataSubscriptions.set(t,i)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac}),e})();function Zs(e,n,t){if(t&&e.shouldReuseRoute(n.value,t.value.snapshot)){const r=t.value;r._futureSnapshot=n.value;const i=function WV(e,n,t){return n.children.map(r=>{for(const i of t.children)if(e.shouldReuseRoute(r.value,i.value.snapshot))return Zs(e,r,i);return Zs(e,r)})}(e,n,t);return new Cr(r,i)}{if(e.shouldAttach(n.value)){const o=e.retrieve(n.value);if(null!==o){const s=o.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>Zs(e,a)),s}}const r=function qV(e){return new bo(new ze(e.url),new ze(e.params),new ze(e.queryParams),new ze(e.fragment),new ze(e.data),e.outlet,e.component,e)}(n.value),i=n.children.map(o=>Zs(e,o));return new Cr(r,i)}}const $f="ngNavigationCancelingError";function qD(e,n){const{redirectTo:t,navigationBehaviorOptions:r}=hi(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,i=ZD(!1,0,n);return i.url=t,i.navigationBehaviorOptions=r,i}function ZD(e,n,t){const r=new Error("NavigationCancelingError: "+(e||""));return r[$f]=!0,r.cancellationCode=n,t&&(r.url=t),r}function YD(e){return KD(e)&&hi(e.url)}function KD(e){return e&&e[$f]}let XD=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Ei({type:e,selectors:[["ng-component"]],standalone:!0,features:[cy],decls:1,vars:0,template:function(t,r){1&t&&te(0,"router-outlet")},dependencies:[Uf],encapsulation:2}),e})();function zf(e){const n=e.children&&e.children.map(zf),t=n?{...e,children:n}:{...e};return!t.component&&!t.loadComponent&&(n||t.loadChildren)&&t.outlet&&t.outlet!==he&&(t.component=XD),t}function Nn(e){return e.outlet||he}function Ys(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let n=e.parent;n;n=n.parent){const t=n.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}class eB{constructor(n,t,r,i,o){this.routeReuseStrategy=n,this.futureState=t,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=o}activate(n){const t=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,r,n),Hf(this.futureState.root),this.activateChildRoutes(t,r,n)}deactivateChildRoutes(n,t,r){const i=yo(t);n.children.forEach(o=>{const s=o.value.outlet;this.deactivateRoutes(o,i[s],r),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(n,t,r){const i=n.value,o=t?t.value:null;if(i===o)if(i.component){const s=r.getContext(i.outlet);s&&this.deactivateChildRoutes(n,t,s.children)}else this.deactivateChildRoutes(n,t,r);else o&&this.deactivateRouteAndItsChildren(t,r)}deactivateRouteAndItsChildren(n,t){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,t):this.deactivateRouteAndOutlet(n,t)}detachAndStoreRouteSubtree(n,t){const r=t.getContext(n.value.outlet),i=r&&n.value.component?r.children:t,o=yo(n);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],i);if(r&&r.outlet){const s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,t){const r=t.getContext(n.value.outlet),i=r&&n.value.component?r.children:t,o=yo(n);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(n,t,r){const i=yo(t);n.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new HV(o.value.snapshot))}),n.children.length&&this.forwardEvent(new VV(n.value.snapshot))}activateRoutes(n,t,r){const i=n.value,o=t?t.value:null;if(Hf(i),i===o)if(i.component){const s=r.getOrCreateContext(i.outlet);this.activateChildRoutes(n,t,s.children)}else this.activateChildRoutes(n,t,r);else if(i.component){const s=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Hf(a.route.value),this.activateChildRoutes(n,null,s.children)}else{const a=Ys(i.snapshot);s.attachRef=null,s.route=i,s.injector=a,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(n,null,s.children)}}else this.activateChildRoutes(n,null,r)}}class QD{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}}class wc{constructor(n,t){this.component=n,this.route=t}}function tB(e,n,t){const r=e._root;return Ks(r,n?n._root:null,t,[r.value])}function Co(e,n){const t=Symbol(),r=n.get(e,t);return r===t?"function"!=typeof e||function eE(e){return null!==sa(e)}(e)?n.get(e):e:r}function Ks(e,n,t,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=yo(n);return e.children.forEach(s=>{(function rB(e,n,t,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=e.value,s=n?n.value:null,a=t?t.getContext(e.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const l=function iB(e,n,t){if("function"==typeof t)return t(e,n);switch(t){case"pathParamsChange":return!di(e.url,n.url);case"pathParamsOrQueryParamsChange":return!di(e.url,n.url)||!er(e.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!jf(e,n)||!er(e.queryParams,n.queryParams);default:return!jf(e,n)}}(s,o,o.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new QD(r)):(o.data=s.data,o._resolvedData=s._resolvedData),Ks(e,n,o.component?a?a.children:null:t,r,i),l&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new wc(a.outlet.component,s))}else s&&Xs(n,a,i),i.canActivateChecks.push(new QD(r)),Ks(e,null,o.component?a?a.children:null:t,r,i)})(s,o[s.value.outlet],t,r.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Xs(a,t.getContext(s),i)),i}function Xs(e,n,t){const r=yo(e),i=e.value;Object.entries(r).forEach(([o,s])=>{Xs(s,i.component?n?n.children.getContext(o):null:n,t)}),t.canDeactivateChecks.push(new wc(i.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,i))}function Qs(e){return"function"==typeof e}function JD(e){return e instanceof dc||"EmptyError"===e?.name}const Dc=Symbol("INITIAL_VALUE");function wo(){return nn(e=>Mf(e.map(n=>n.pipe(kr(1),function BL(...e){const n=e[e.length-1];return zt(n)?(e.pop(),t=>Af(e,t,n)):t=>Af(e,t)}(Dc)))).pipe(oe(n=>{for(const t of n)if(!0!==t){if(t===Dc)return Dc;if(!1===t||t instanceof vo)return t}return!0}),Jt(n=>n!==Dc),kr(1)))}function eS(e){return function Mt(...e){return et(e)}(Ze(n=>{if(hi(n))throw qD(0,n)}),oe(n=>!0===n))}class Sc{constructor(n){this.segmentGroup=n||null}}class tS{constructor(n){this.urlTree=n}}function Do(e){return Qn(new Sc(e))}function nS(e){return Qn(new tS(e))}class SB{constructor(n,t){this.urlSerializer=n,this.urlTree=t}noMatchError(n){return new O(4002,!1)}lineralizeSegments(n,t){let r=[],i=t.root;for(;;){if(r=r.concat(i.segments),0===i.numberOfChildren)return ne(r);if(i.numberOfChildren>1||!i.children[he])return Qn(new O(4e3,!1));i=i.children[he]}}applyRedirectCommands(n,t,r){return this.applyRedirectCreateUrlTree(t,this.urlSerializer.parse(t),n,r)}applyRedirectCreateUrlTree(n,t,r,i){const o=this.createSegmentGroup(n,t.root,r,i);return new vo(o,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(n,t){const r={};return Object.entries(n).forEach(([i,o])=>{if("string"==typeof o&&o.startsWith(":")){const a=o.substring(1);r[i]=t[a]}else r[i]=o}),r}createSegmentGroup(n,t,r,i){const o=this.createSegments(n,t.segments,r,i);let s={};return Object.entries(t.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(n,l,r,i)}),new Ne(o,s)}createSegments(n,t,r,i){return t.map(o=>o.path.startsWith(":")?this.findPosParam(n,o,i):this.findOrReturn(o,r))}findPosParam(n,t,r){const i=r[t.path.substring(1)];if(!i)throw new O(4001,!1);return i}findOrReturn(n,t){let r=0;for(const i of t){if(i.path===n.path)return t.splice(r),i;r++}return n}}const Gf={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function EB(e,n,t,r,i){const o=Wf(e,n,t);return o.matched?(r=function ZV(e,n){return e.providers&&!e._injector&&(e._injector=kd(e.providers,n,`Route: ${e.path}`)),e._injector??n}(n,r),function CB(e,n,t,r){const i=n.canMatch;return i&&0!==i.length?ne(i.map(s=>{const a=Co(s,e);return Lr(function uB(e){return e&&Qs(e.canMatch)}(a)?a.canMatch(n,t):e.runInContext(()=>a(n,t)))})).pipe(wo(),eS()):ne(!0)}(r,n,t).pipe(oe(s=>!0===s?o:{...Gf}))):ne(o)}function Wf(e,n,t){if(""===n.path)return"full"===n.pathMatch&&(e.hasChildren()||t.length>0)?{...Gf}:{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};const i=(n.matcher||rV)(t,e,n);if(!i)return{...Gf};const o={};Object.entries(i.posParams??{}).forEach(([a,l])=>{o[a]=l.path});const s=i.consumed.length>0?{...o,...i.consumed[i.consumed.length-1].parameters}:o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:t.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function rS(e,n,t,r){return t.length>0&&function IB(e,n,t){return t.some(r=>Ec(e,n,r)&&Nn(r)!==he)}(e,t,r)?{segmentGroup:new Ne(n,AB(r,new Ne(t,e.children))),slicedSegments:[]}:0===t.length&&function TB(e,n,t){return t.some(r=>Ec(e,n,r))}(e,t,r)?{segmentGroup:new Ne(e.segments,MB(e,0,t,r,e.children)),slicedSegments:t}:{segmentGroup:new Ne(e.segments,e.children),slicedSegments:t}}function MB(e,n,t,r,i){const o={};for(const s of r)if(Ec(e,t,s)&&!i[Nn(s)]){const a=new Ne([],{});o[Nn(s)]=a}return{...i,...o}}function AB(e,n){const t={};t[he]=n;for(const r of e)if(""===r.path&&Nn(r)!==he){const i=new Ne([],{});t[Nn(r)]=i}return t}function Ec(e,n,t){return(!(e.hasChildren()||n.length>0)||"full"!==t.pathMatch)&&""===t.path}class PB{constructor(n,t,r,i,o,s,a){this.injector=n,this.configLoader=t,this.rootComponentType=r,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.allowRedirects=!0,this.applyRedirects=new SB(this.urlSerializer,this.urlTree)}noMatchError(n){return new O(4002,!1)}recognize(){const n=rS(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,n,he).pipe(ai(t=>{if(t instanceof tS)return this.allowRedirects=!1,this.urlTree=t.urlTree,this.match(t.urlTree);throw t instanceof Sc?this.noMatchError(t):t}),oe(t=>{const r=new bc([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},he,this.rootComponentType,null,{}),i=new Cr(r,t),o=new zD("",i),s=function DV(e,n,t=null,r=null){return PD(RD(e),n,t,r)}(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(o._root),{state:o,tree:s}}))}match(n){return this.processSegmentGroup(this.injector,this.config,n.root,he).pipe(ai(r=>{throw r instanceof Sc?this.noMatchError(r):r}))}inheritParamsAndData(n){const t=n.value,r=$D(t,this.paramsInheritanceStrategy);t.params=Object.freeze(r.params),t.data=Object.freeze(r.data),n.children.forEach(i=>this.inheritParamsAndData(i))}processSegmentGroup(n,t,r,i){return 0===r.segments.length&&r.hasChildren()?this.processChildren(n,t,r):this.processSegment(n,t,r,r.segments,i,!0)}processChildren(n,t,r){const i=[];for(const o of Object.keys(r.children))"primary"===o?i.unshift(o):i.push(o);return _t(i).pipe(Vs(o=>{const s=r.children[o],a=function QV(e,n){const t=e.filter(r=>Nn(r)===n);return t.push(...e.filter(r=>Nn(r)!==n)),t}(t,o);return this.processSegmentGroup(n,a,s,o)}),function GL(e,n){let t=!1;return arguments.length>=2&&(t=!0),function(i){return i.lift(new WL(e,n,t))}}((o,s)=>(o.push(...s),o)),hc(null),function KL(e,n){const t=arguments.length>=2;return r=>r.pipe(e?Jt((i,o)=>e(i,o,r)):Et,If(1),t?hc(n):yD(()=>new dc))}(),wt(o=>{if(null===o)return Do(r);const s=iS(o);return function NB(e){e.sort((n,t)=>n.value.outlet===he?-1:t.value.outlet===he?1:n.value.outlet.localeCompare(t.value.outlet))}(s),ne(s)}))}processSegment(n,t,r,i,o,s){return _t(t).pipe(Vs(a=>this.processSegmentAgainstRoute(a._injector??n,t,a,r,i,o,s).pipe(ai(l=>{if(l instanceof Sc)return ne(null);throw l}))),ui(a=>!!a),ai(a=>{if(JD(a))return function xB(e,n,t){return 0===n.length&&!e.children[t]}(r,i,o)?ne([]):Do(r);throw a}))}processSegmentAgainstRoute(n,t,r,i,o,s,a){return function OB(e,n,t,r){return!!(Nn(e)===r||r!==he&&Ec(n,t,e))&&("**"===e.path||Wf(n,e,t).matched)}(r,i,o,s)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(n,i,r,o,s,a):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(n,i,t,r,o,s):Do(i):Do(i)}expandSegmentAgainstRouteUsingRedirect(n,t,r,i,o,s){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(n,r,i,s):this.expandRegularSegmentAgainstRouteUsingRedirect(n,t,r,i,o,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(n,t,r,i){const o=this.applyRedirects.applyRedirectCommands([],r.redirectTo,{});return r.redirectTo.startsWith("/")?nS(o):this.applyRedirects.lineralizeSegments(r,o).pipe(wt(s=>{const a=new Ne(s,{});return this.processSegment(n,t,a,s,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(n,t,r,i,o,s){const{matched:a,consumedSegments:l,remainingSegments:c,positionalParamSegments:u}=Wf(t,i,o);if(!a)return Do(t);const d=this.applyRedirects.applyRedirectCommands(l,i.redirectTo,u);return i.redirectTo.startsWith("/")?nS(d):this.applyRedirects.lineralizeSegments(i,d).pipe(wt(p=>this.processSegment(n,r,t,p.concat(c),s,!1)))}matchSegmentAgainstRoute(n,t,r,i,o,s){let a;if("**"===r.path){const l=i.length>0?CD(i).parameters:{};a=ne({snapshot:new bc(i,l,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,oS(r),Nn(r),r.component??r._loadedComponent??null,r,sS(r)),consumedSegments:[],remainingSegments:[]}),t.children={}}else a=EB(t,r,i,n).pipe(oe(({matched:l,consumedSegments:c,remainingSegments:u,parameters:d})=>l?{snapshot:new bc(c,d,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,oS(r),Nn(r),r.component??r._loadedComponent??null,r,sS(r)),consumedSegments:c,remainingSegments:u}:null));return a.pipe(nn(l=>null===l?Do(t):this.getChildConfig(n=r._injector??n,r,i).pipe(nn(({routes:c})=>{const u=r._loadedInjector??n,{snapshot:d,consumedSegments:p,remainingSegments:g}=l,{segmentGroup:y,slicedSegments:S}=rS(t,p,g,c);if(0===S.length&&y.hasChildren())return this.processChildren(u,c,y).pipe(oe(V=>null===V?null:[new Cr(d,V)]));if(0===c.length&&0===S.length)return ne([new Cr(d,[])]);const T=Nn(r)===o;return this.processSegment(u,c,y,S,T?he:o,!0).pipe(oe(V=>[new Cr(d,V)]))}))))}getChildConfig(n,t,r){return t.children?ne({routes:t.children,injector:n}):t.loadChildren?void 0!==t._loadedRoutes?ne({routes:t._loadedRoutes,injector:t._loadedInjector}):function bB(e,n,t,r){const i=n.canLoad;return void 0===i||0===i.length?ne(!0):ne(i.map(s=>{const a=Co(s,e);return Lr(function sB(e){return e&&Qs(e.canLoad)}(a)?a.canLoad(n,t):e.runInContext(()=>a(n,t)))})).pipe(wo(),eS())}(n,t,r).pipe(wt(i=>i?this.configLoader.loadChildren(n,t).pipe(Ze(o=>{t._loadedRoutes=o.routes,t._loadedInjector=o.injector})):function DB(e){return Qn(ZD(!1,3))}())):ne({routes:[],injector:n})}}function kB(e){const n=e.value.routeConfig;return n&&""===n.path}function iS(e){const n=[],t=new Set;for(const r of e){if(!kB(r)){n.push(r);continue}const i=n.find(o=>r.value.routeConfig===o.value.routeConfig);void 0!==i?(i.children.push(...r.children),t.add(i)):n.push(r)}for(const r of t){const i=iS(r.children);n.push(new Cr(r.value,i))}return n.filter(r=>!t.has(r))}function oS(e){return e.data||{}}function sS(e){return e.resolve||{}}function aS(e){return"string"==typeof e.title||null===e.title}function qf(e){return nn(n=>{const t=e(n);return t?_t(t).pipe(oe(()=>n)):ne(n)})}const So=new $("ROUTES");let Zf=(()=>{class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=W(tb)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return ne(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);const r=Lr(t.loadComponent()).pipe(oe(lS),Ze(o=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=o}),Tf(()=>{this.componentLoaders.delete(t)})),i=new xc(r,()=>new je).pipe(na());return this.componentLoaders.set(t,i),i}loadChildren(t,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return ne({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);const o=this.loadModuleFactoryOrRoutes(r.loadChildren).pipe(oe(a=>{this.onLoadEndListener&&this.onLoadEndListener(r);let l,c;return Array.isArray(a)?c=a:(l=a.create(t).injector,c=l.get(So,[],Q.Self|Q.Optional).flat()),{routes:c.map(zf),injector:l}}),Tf(()=>{this.childrenLoaders.delete(r)})),s=new xc(o,()=>new je).pipe(na());return this.childrenLoaders.set(r,s),s}loadModuleFactoryOrRoutes(t){return Lr(t()).pipe(oe(lS),wt(r=>r instanceof ay||Array.isArray(r)?ne(r):_t(this.compiler.compileModuleAsync(r))))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function lS(e){return function UB(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let Mc=(()=>{class e{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new je,this.configLoader=W(Zf),this.environmentInjector=W(ur),this.urlSerializer=W(js),this.rootContexts=W(qs),this.inputBindingEnabled=null!==W(Cc,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>ne(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=i=>this.events.next(new FV(i)),this.configLoader.onLoadStartListener=i=>this.events.next(new kV(i))}complete(){this.transitions?.complete()}handleNavigationRequest(t){const r=++this.navigationId;this.transitions?.next({...this.transitions.value,...t,id:r})}setupNavigations(t){return this.transitions=new ze({id:0,currentUrlTree:t.currentUrlTree,currentRawUrl:t.currentUrlTree,extractedUrl:t.urlHandlingStrategy.extract(t.currentUrlTree),urlAfterRedirects:t.urlHandlingStrategy.extract(t.currentUrlTree),rawUrl:t.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Gs,restoredState:null,currentSnapshot:t.routerState.snapshot,targetSnapshot:null,currentRouterState:t.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Jt(r=>0!==r.id),oe(r=>({...r,extractedUrl:t.urlHandlingStrategy.extract(r.rawUrl)})),nn(r=>{let i=!1,o=!1;return ne(r).pipe(Ze(s=>{this.currentNavigation={id:s.id,initialUrl:s.rawUrl,extractedUrl:s.extractedUrl,trigger:s.source,extras:s.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),nn(s=>{const a=t.browserUrlTree.toString(),l=!t.navigated||s.extractedUrl.toString()!==a||a!==t.currentUrlTree.toString();if(!l&&"reload"!==(s.extras.onSameUrlNavigation??t.onSameUrlNavigation)){const u="";return this.events.next(new Ws(s.id,t.serializeUrl(r.rawUrl),u,0)),t.rawUrlTree=s.rawUrl,s.resolve(null),br}if(t.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return cS(s.source)&&(t.browserUrlTree=s.extractedUrl),ne(s).pipe(nn(u=>{const d=this.transitions?.getValue();return this.events.next(new kf(u.id,this.urlSerializer.serialize(u.extractedUrl),u.source,u.restoredState)),d!==this.transitions?.getValue()?br:Promise.resolve(u)}),function FB(e,n,t,r,i,o){return wt(s=>function RB(e,n,t,r,i,o,s="emptyOnly"){return new PB(e,n,t,r,i,s,o).recognize()}(e,n,t,r,s.extractedUrl,i,o).pipe(oe(({state:a,tree:l})=>({...s,targetSnapshot:a,urlAfterRedirects:l}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,t.paramsInheritanceStrategy),Ze(u=>{if(r.targetSnapshot=u.targetSnapshot,r.urlAfterRedirects=u.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:u.urlAfterRedirects},"eager"===t.urlUpdateStrategy){if(!u.extras.skipLocationChange){const p=t.urlHandlingStrategy.merge(u.urlAfterRedirects,u.rawUrl);t.setBrowserUrl(p,u)}t.browserUrlTree=u.urlAfterRedirects}const d=new OV(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(d)}));if(l&&t.urlHandlingStrategy.shouldProcessUrl(t.rawUrlTree)){const{id:u,extractedUrl:d,source:p,restoredState:g,extras:y}=s,S=new kf(u,this.urlSerializer.serialize(d),p,g);this.events.next(S);const T=UD(0,this.rootComponentType).snapshot;return ne(r={...s,targetSnapshot:T,urlAfterRedirects:d,extras:{...y,skipLocationChange:!1,replaceUrl:!1}})}{const u="";return this.events.next(new Ws(s.id,t.serializeUrl(r.extractedUrl),u,1)),t.rawUrlTree=s.rawUrl,s.resolve(null),br}}),Ze(s=>{const a=new xV(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),oe(s=>r={...s,guards:tB(s.targetSnapshot,s.currentSnapshot,this.rootContexts)}),function hB(e,n){return wt(t=>{const{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=t;return 0===s.length&&0===o.length?ne({...t,guardsResult:!0}):function fB(e,n,t,r){return _t(e).pipe(wt(i=>function yB(e,n,t,r,i){const o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;return o&&0!==o.length?ne(o.map(a=>{const l=Ys(n)??i,c=Co(a,l);return Lr(function cB(e){return e&&Qs(e.canDeactivate)}(c)?c.canDeactivate(e,n,t,r):l.runInContext(()=>c(e,n,t,r))).pipe(ui())})).pipe(wo()):ne(!0)}(i.component,i.route,t,n,r)),ui(i=>!0!==i,!0))}(s,r,i,e).pipe(wt(a=>a&&function oB(e){return"boolean"==typeof e}(a)?function pB(e,n,t,r){return _t(n).pipe(Vs(i=>Af(function mB(e,n){return null!==e&&n&&n(new LV(e)),ne(!0)}(i.route.parent,r),function gB(e,n){return null!==e&&n&&n(new BV(e)),ne(!0)}(i.route,r),function vB(e,n,t){const r=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(s=>function nB(e){const n=e.routeConfig?e.routeConfig.canActivateChild:null;return n&&0!==n.length?{node:e,guards:n}:null}(s)).filter(s=>null!==s).map(s=>vD(()=>ne(s.guards.map(l=>{const c=Ys(s.node)??t,u=Co(l,c);return Lr(function lB(e){return e&&Qs(e.canActivateChild)}(u)?u.canActivateChild(r,e):c.runInContext(()=>u(r,e))).pipe(ui())})).pipe(wo())));return ne(o).pipe(wo())}(e,i.path,t),function _B(e,n,t){const r=n.routeConfig?n.routeConfig.canActivate:null;if(!r||0===r.length)return ne(!0);const i=r.map(o=>vD(()=>{const s=Ys(n)??t,a=Co(o,s);return Lr(function aB(e){return e&&Qs(e.canActivate)}(a)?a.canActivate(n,e):s.runInContext(()=>a(n,e))).pipe(ui())}));return ne(i).pipe(wo())}(e,i.route,t))),ui(i=>!0!==i,!0))}(r,o,e,n):ne(a)),oe(a=>({...t,guardsResult:a})))})}(this.environmentInjector,s=>this.events.next(s)),Ze(s=>{if(r.guardsResult=s.guardsResult,hi(s.guardsResult))throw qD(0,s.guardsResult);const a=new RV(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);this.events.next(a)}),Jt(s=>!!s.guardsResult||(t.restoreHistory(s),this.cancelNavigationTransition(s,"",3),!1)),qf(s=>{if(s.guards.canActivateChecks.length)return ne(s).pipe(Ze(a=>{const l=new PV(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}),nn(a=>{let l=!1;return ne(a).pipe(function LB(e,n){return wt(t=>{const{targetSnapshot:r,guards:{canActivateChecks:i}}=t;if(!i.length)return ne(t);let o=0;return _t(i).pipe(Vs(s=>function VB(e,n,t,r){const i=e.routeConfig,o=e._resolve;return void 0!==i?.title&&!aS(i)&&(o[Bs]=i.title),function BB(e,n,t,r){const i=function HB(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}(e);if(0===i.length)return ne({});const o={};return _t(i).pipe(wt(s=>function jB(e,n,t,r){const i=Ys(n)??r,o=Co(e,i);return Lr(o.resolve?o.resolve(n,t):i.runInContext(()=>o(n,t)))}(e[s],n,t,r).pipe(ui(),Ze(a=>{o[s]=a}))),If(1),function XL(e){return n=>n.lift(new QL(e))}(o),ai(s=>JD(s)?br:Qn(s)))}(o,e,n,r).pipe(oe(s=>(e._resolvedData=s,e.data=$D(e,t).resolve,i&&aS(i)&&(e.data[Bs]=i.title),null)))}(s.route,r,e,n)),Ze(()=>o++),If(1),wt(s=>o===i.length?ne(t):br))})}(t.paramsInheritanceStrategy,this.environmentInjector),Ze({next:()=>l=!0,complete:()=>{l||(t.restoreHistory(a),this.cancelNavigationTransition(a,"",2))}}))}),Ze(a=>{const l=new NV(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}))}),qf(s=>{const a=l=>{const c=[];l.routeConfig?.loadComponent&&!l.routeConfig._loadedComponent&&c.push(this.configLoader.loadComponent(l.routeConfig).pipe(Ze(u=>{l.component=u}),oe(()=>{})));for(const u of l.children)c.push(...a(u));return c};return Mf(a(s.targetSnapshot.root)).pipe(hc(),kr(1))}),qf(()=>this.afterPreactivation()),oe(s=>{const a=function GV(e,n,t){const r=Zs(e,n._root,t?t._root:void 0);return new jD(r,n)}(t.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);return r={...s,targetRouterState:a}}),Ze(s=>{t.currentUrlTree=s.urlAfterRedirects,t.rawUrlTree=t.urlHandlingStrategy.merge(s.urlAfterRedirects,s.rawUrl),t.routerState=s.targetRouterState,"deferred"===t.urlUpdateStrategy&&(s.extras.skipLocationChange||t.setBrowserUrl(t.rawUrlTree,s),t.browserUrlTree=s.urlAfterRedirects)}),((e,n,t,r)=>oe(i=>(new eB(n,i.targetRouterState,i.currentRouterState,t,r).activate(e),i)))(this.rootContexts,t.routeReuseStrategy,s=>this.events.next(s),this.inputBindingEnabled),kr(1),Ze({next:s=>{i=!0,this.lastSuccessfulNavigation=this.currentNavigation,t.navigated=!0,this.events.next(new fi(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(t.currentUrlTree))),t.titleStrategy?.updateTitle(s.targetRouterState.snapshot),s.resolve(!0)},complete:()=>{i=!0}}),Tf(()=>{i||o||this.cancelNavigationTransition(r,"",1),this.currentNavigation?.id===r.id&&(this.currentNavigation=null)}),ai(s=>{if(o=!0,KD(s)){YD(s)||(t.navigated=!0,t.restoreHistory(r,!0));const a=new yc(r.id,this.urlSerializer.serialize(r.extractedUrl),s.message,s.cancellationCode);if(this.events.next(a),YD(s)){const l=t.urlHandlingStrategy.merge(s.url,t.rawUrlTree),c={skipLocationChange:r.extras.skipLocationChange,replaceUrl:"eager"===t.urlUpdateStrategy||cS(r.source)};t.scheduleNavigation(l,Gs,null,c,{resolve:r.resolve,reject:r.reject,promise:r.promise})}else r.resolve(!1)}else{t.restoreHistory(r,!0);const a=new Ff(r.id,this.urlSerializer.serialize(r.extractedUrl),s,r.targetSnapshot??void 0);this.events.next(a);try{r.resolve(t.errorHandler(s))}catch(l){r.reject(l)}}return br}))}))}cancelNavigationTransition(t,r,i){const o=new yc(t.id,this.urlSerializer.serialize(t.extractedUrl),r,i);this.events.next(o),t.resolve(!1)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function cS(e){return e!==Gs}let uS=(()=>{class e{buildTitle(t){let r,i=t.root;for(;void 0!==i;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(o=>o.outlet===he);return r}getResolvedTitleForRoute(t){return t.data[Bs]}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:function(){return W($B)},providedIn:"root"}),e})(),$B=(()=>{class e extends uS{constructor(t){super(),this.title=t}updateTitle(t){const r=this.buildTitle(t);void 0!==r&&this.title.setTitle(r)}}return e.\u0275fac=function(t){return new(t||e)(P(MC))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),zB=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:function(){return W(WB)},providedIn:"root"}),e})();class GB{shouldDetach(n){return!1}store(n,t){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,t){return n.routeConfig===t.routeConfig}}let WB=(()=>{class e extends GB{}return e.\u0275fac=function(){let n;return function(r){return(n||(n=yt(e)))(r||e)}}(),e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Ac=new $("",{providedIn:"root",factory:()=>({})});let qB=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:function(){return W(ZB)},providedIn:"root"}),e})(),ZB=(()=>{class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,r){return t}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var gn=(()=>((gn=gn||{})[gn.COMPLETE=0]="COMPLETE",gn[gn.FAILED=1]="FAILED",gn[gn.REDIRECTING=2]="REDIRECTING",gn))();function dS(e,n){e.events.pipe(Jt(t=>t instanceof fi||t instanceof yc||t instanceof Ff||t instanceof Ws),oe(t=>t instanceof fi||t instanceof Ws?gn.COMPLETE:t instanceof yc&&(0===t.code||1===t.code)?gn.REDIRECTING:gn.FAILED),Jt(t=>t!==gn.REDIRECTING),kr(1)).subscribe(()=>{n()})}function YB(e){throw e}function KB(e,n,t){return n.parse("/")}const XB={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},QB={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Sn=(()=>{class e{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){if("computed"===this.canceledNavigationResolution)return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=W(Jy),this.isNgZoneEnabled=!1,this.options=W(Ac,{optional:!0})||{},this.pendingTasks=W(eb),this.errorHandler=this.options.errorHandler||YB,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||KB,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=W(qB),this.routeReuseStrategy=W(zB),this.titleStrategy=W(uS),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=W(So,{optional:!0})?.flat()??[],this.navigationTransitions=W(Mc),this.urlSerializer=W(js),this.location=W(Ol),this.componentInputBindingEnabled=!!W(Cc,{optional:!0}),this.isNgZoneEnabled=W(Ie)instanceof Ie&&Ie.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new vo,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=UD(0,null),this.navigationTransitions.setupNavigations(this).subscribe(t=>{this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId??0},t=>{this.console.warn(`Unhandled Navigation Error: ${t}`)})}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const t=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Gs,t)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{const r="popstate"===t.type?"popstate":"hashchange";"popstate"===r&&setTimeout(()=>{this.navigateToSyncWithBrowser(t.url,r,t.state)},0)}))}navigateToSyncWithBrowser(t,r,i){const o={replaceUrl:!0},s=i?.navigationId?i:null;if(i){const l={...i};delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(o.state=l)}const a=this.parseUrl(t);this.scheduleNavigation(a,r,s,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(zf),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(t,r={}){const{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:l}=r,c=l?this.currentUrlTree.fragment:s;let d,u=null;switch(a){case"merge":u={...this.currentUrlTree.queryParams,...o};break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=o||null}null!==u&&(u=this.removeEmptyProps(u));try{d=RD(i?i.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof t[0]||!t[0].startsWith("/"))&&(t=[]),d=this.currentUrlTree.root}return PD(d,t,u,c??null)}navigateByUrl(t,r={skipLocationChange:!1}){const i=hi(t)?t:this.parseUrl(t),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,Gs,null,r)}navigate(t,r={skipLocationChange:!1}){return function JB(e){for(let n=0;n{const o=t[i];return null!=o&&(r[i]=o),r},{})}scheduleNavigation(t,r,i,o,s){if(this.disposed)return Promise.resolve(!1);let a,l,c;s?(a=s.resolve,l=s.reject,c=s.promise):c=new Promise((d,p)=>{a=d,l=p});const u=this.pendingTasks.add();return dS(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:o,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(d=>Promise.reject(d))}setBrowserUrl(t,r){const i=this.urlSerializer.serialize(t);if(this.location.isCurrentPathEqualTo(i)||r.extras.replaceUrl){const s={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId)};this.location.replaceState(i,"",s)}else{const o={...r.extras.state,...this.generateNgRouterState(r.id,(this.browserPageId??0)+1)};this.location.go(i,"",o)}}restoreHistory(t,r=!1){if("computed"===this.canceledNavigationResolution){const o=this.currentPageId-(this.browserPageId??this.currentPageId);0!==o?this.location.historyGo(o):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===o&&(this.resetState(t),this.browserUrlTree=t.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=t.currentRouterState,this.currentUrlTree=t.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,r){return"computed"===this.canceledNavigationResolution?{navigationId:t,\u0275routerPageId:r}:{navigationId:t}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Ic=(()=>{class e{constructor(t,r,i,o,s,a){this.router=t,this.route=r,this.tabIndexAttribute=i,this.renderer=o,this.el=s,this.locationStrategy=a,this.href=null,this.commands=null,this.onChanges=new je,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const l=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===l||"area"===l,this.isAnchorElement?this.subscription=t.events.subscribe(c=>{c instanceof fi&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(t){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(t){null!=t?(this.commands=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(t,r,i,o,s){return!!(null===this.urlTree||this.isAnchorElement&&(0!==t||r||i||o||s||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const t=null===this.href?null:function pm(e,n,t){return function sA(e,n){return"src"===n&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===n&&("base"===e||"link"===e)?fm:hm}(n,t)(e)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",t)}applyAttributeValue(t,r){const i=this.renderer,o=this.el.nativeElement;null!==r?i.setAttribute(o,t,r):i.removeAttribute(o,t)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return e.\u0275fac=function(t){return new(t||e)(M(Sn),M(bo),Bo("tabindex"),M(hr),M(pt),M(ri))},e.\u0275dir=X({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(t,r){1&t&&j("click",function(o){return r.onClick(o.button,o.ctrlKey,o.shiftKey,o.altKey,o.metaKey)}),2&t&&Bt("target",r.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",St],skipLocationChange:["skipLocationChange","skipLocationChange",St],replaceUrl:["replaceUrl","replaceUrl",St],routerLink:"routerLink"},standalone:!0,features:[dd,Ft]}),e})(),hS=(()=>{class e{get isActive(){return this._isActive}constructor(t,r,i,o,s){this.router=t,this.element=r,this.renderer=i,this.cdr=o,this.link=s,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new me,this.routerEventsSubscription=t.events.subscribe(a=>{a instanceof fi&&this.update()})}ngAfterContentInit(){ne(this.links.changes,ne(null)).pipe(Di()).subscribe(t=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const t=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=_t(t).pipe(Di()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(t){const r=Array.isArray(t)?t:t.split(" ");this.classes=r.filter(i=>!!i)}ngOnChanges(t){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const t=this.hasActiveLinks();this._isActive!==t&&(this._isActive=t,this.cdr.markForCheck(),this.classes.forEach(r=>{t?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),t&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(t))})}isLinkActive(t){const r=function eH(e){return!!e.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return i=>!!i.urlTree&&t.isActive(i.urlTree,r)}hasActiveLinks(){const t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.links.some(t)}}return e.\u0275fac=function(t){return new(t||e)(M(Sn),M(pt),M(hr),M(Ds),M(Ic,8))},e.\u0275dir=X({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(t,r,i){if(1&t&&function Py(e,n,t,r){const i=Ce();if(i.firstCreatePass){const o=Dt();ky(i,new xy(n,t,r),o.index),function ex(e,n){const t=e.contentQueries||(e.contentQueries=[]);n!==(t.length?t[t.length-1]:-1)&&t.push(e.queries.length-1,n)}(i,e),2==(2&t)&&(i.staticContentQueries=!0)}Ny(i,I(),t)}(i,Ic,5),2&t){let o;Ir(o=Tr())&&(r.links=o)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Ft]}),e})();class fS{}let tH=(()=>{class e{constructor(t,r,i,o,s){this.router=t,this.injector=i,this.preloadingStrategy=o,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(Jt(t=>t instanceof fi),Vs(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,r){const i=[];for(const o of r){o.providers&&!o._injector&&(o._injector=kd(o.providers,t,`Route: ${o.path}`));const s=o._injector??t,a=o._loadedInjector??s;(o.loadChildren&&!o._loadedRoutes&&void 0===o.canLoad||o.loadComponent&&!o._loadedComponent)&&i.push(this.preloadConfig(s,o)),(o.children||o._loadedRoutes)&&i.push(this.processRoutes(a,o.children??o._loadedRoutes))}return _t(i).pipe(Di())}preloadConfig(t,r){return this.preloadingStrategy.preload(r,()=>{let i;i=r.loadChildren&&void 0===r.canLoad?this.loader.loadChildren(t,r):ne(null);const o=i.pipe(wt(s=>null===s?ne(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??t,s.routes))));return r.loadComponent&&!r._loadedComponent?_t([o,this.loader.loadComponent(r)]).pipe(Di()):o})}}return e.\u0275fac=function(t){return new(t||e)(P(Sn),P(tb),P(ur),P(fS),P(Zf))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Yf=new $("");let pS=(()=>{class e{constructor(t,r,i,o,s={}){this.urlSerializer=t,this.transitions=r,this.viewportScroller=i,this.zone=o,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration=s.scrollPositionRestoration||"disabled",s.anchorScrolling=s.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof kf?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof fi?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof Ws&&0===t.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof BD&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new BD(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return e.\u0275fac=function(t){!function Qm(){throw new Error("invalid")}()},e.\u0275prov=U({token:e,factory:e.\u0275fac}),e})();function wr(e,n){return{\u0275kind:e,\u0275providers:n}}function mS(){const e=W(dn);return n=>{const t=e.get(ei);if(n!==t.components[0])return;const r=e.get(Sn),i=e.get(_S);1===e.get(Kf)&&r.initialNavigation(),e.get(vS,null,Q.Optional)?.setUpPreloading(),e.get(Yf,null,Q.Optional)?.init(),r.resetRootComponentType(t.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}const _S=new $("",{factory:()=>new je}),Kf=new $("",{providedIn:"root",factory:()=>1}),vS=new $("");function oH(e){return wr(0,[{provide:vS,useExisting:tH},{provide:fS,useExisting:e}])}const yS=new $("ROUTER_FORROOT_GUARD"),aH=[Ol,{provide:js,useClass:Of},Sn,qs,{provide:bo,useFactory:function gS(e){return e.routerState.root},deps:[Sn]},Zf,[]];function lH(){return new hb("Router",Sn)}let bS=(()=>{class e{constructor(t){}static forRoot(t,r){return{ngModule:e,providers:[aH,[],{provide:So,multi:!0,useValue:t},{provide:yS,useFactory:hH,deps:[[Sn,new xa,new Ra]]},{provide:Ac,useValue:r||{}},r?.useHash?{provide:ri,useClass:_R}:{provide:ri,useClass:Hb},{provide:Yf,useFactory:()=>{const e=W(FP),n=W(Ie),t=W(Ac),r=W(Mc),i=W(js);return t.scrollOffset&&e.setOffset(t.scrollOffset),new pS(i,r,e,n,t)}},r?.preloadingStrategy?oH(r.preloadingStrategy).\u0275providers:[],{provide:hb,multi:!0,useFactory:lH},r?.initialNavigation?fH(r):[],r?.bindToComponentInputs?wr(8,[WD,{provide:Cc,useExisting:WD}]).\u0275providers:[],[{provide:CS,useFactory:mS},{provide:oh,multi:!0,useExisting:CS}]]}}static forChild(t){return{ngModule:e,providers:[{provide:So,multi:!0,useValue:t}]}}}return e.\u0275fac=function(t){return new(t||e)(P(yS,8))},e.\u0275mod=dt({type:e}),e.\u0275inj=nt({}),e})();function hH(e){return"guarded"}function fH(e){return["disabled"===e.initialNavigation?wr(3,[{provide:Xd,multi:!0,useFactory:()=>{const n=W(Sn);return()=>{n.setUpLocationChangeListener()}}},{provide:Kf,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?wr(2,[{provide:Kf,useValue:0},{provide:Xd,multi:!0,deps:[dn],useFactory:n=>{const t=n.get(gR,Promise.resolve());return()=>t.then(()=>new Promise(r=>{const i=n.get(Sn),o=n.get(_S);dS(i,()=>{r(!0)}),n.get(Mc).afterPreactivation=()=>(r(!0),o.closed?ne(void 0):o),i.initialNavigation()}))}}]).\u0275providers:[]]}const CS=new $("");let gH=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Ei({type:e,selectors:[["app-root"]],decls:11,vars:0,consts:[["href","https://github.com/Harvest-Dev/ng-select2/tree/master/src","target","_blank"],["routerLink","/examples","routerLinkActive","active"],["routerLink","/generator","routerLinkActive","active"]],template:function(t,r){1&t&&(v(0,"a",0),b(1,"the source code of the demo"),_(),v(2,"nav")(3,"ul")(4,"li")(5,"a",1),b(6,"Exemples"),_()(),v(7,"li")(8,"a",2),b(9,"Code generator"),_()()()(),te(10,"router-outlet"))},dependencies:[Uf,Ic,hS],styles:[".cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*!\n Theme: GitHub\n Description: Light theme as seen on github.com\n Author: github.com\n Maintainer: @Hirse\n Updated: 2021-05-15\n\n Outdated base version: https://github.com/primer/github-syntax-light\n Current colors taken from GitHub's CSS\n*/.hljs{color:#24292e;background:#fff}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#d73a49}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#6f42c1}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id,.hljs-variable{color:#005cc5}.hljs-meta .hljs-string,.hljs-regexp,.hljs-string{color:#032f62}.hljs-built_in,.hljs-symbol{color:#e36209}.hljs-code,.hljs-comment,.hljs-formula{color:#6a737d}.hljs-name,.hljs-quote,.hljs-selector-pseudo,.hljs-selector-tag{color:#22863a}.hljs-subst{color:#24292e}.hljs-section{color:#005cc5;font-weight:700}.hljs-bullet{color:#735c0f}.hljs-emphasis{color:#24292e;font-style:italic}.hljs-strong{color:#24292e;font-weight:700}.hljs-addition{color:#22863a;background-color:#f0fff4}.hljs-deletion{color:#b31d28;background-color:#ffeef0}:root{--select2-single-height: 28px;--select2-multiple-height: 28px;--select2-label-text-color: #000;--select2-required-color: red;--select2-selection-border-radius: 4px;--select2-selection-background: #fff;--select2-selection-disabled-background: #eee;--select2-selection-border-color: #aaa;--select2-selection-focus-border-color: #000;--select2-selection-text-color: #111;--select2-selection-line-height: 28px;--select2-selection-padding: 0 0 0 8px;--select2-selection-multiple-gap: 2px 5px;--select2-selection-multiple-padding: 2px 5px;--select2-selection-choice-background: #e4e4e4;--select2-selection-choice-text-color: #000;--select2-selection-choice-border-color: #aaa;--select2-selection-choice-close-color: #999;--select2-selection-choice-hover-close-color: #333;--select2-placeholder-color: #999;--select2-placeholder-overflow: ellipsis;--select2-no-result-color: #888;--select2-no-result-font-style: italic;--select2-too-much-result-color: #888;--select2-too-much-result-style: italic;--select2-reset-color: #999;--select2-arrow-color: #888;--select2-dropdown-background: #fff;--select2-dropdown-border-color: #aaa;--select2-overlay-backdrop: transparent;--select2-search-border-color: #aaa;--select2-search-background: #fff;--select2-search-border-radius: 0px;--select2-option-text-color: #000;--select2-option-disabled-text-color: #999;--select2-option-disabled-background: transparent;--select2-option-selected-text-color: #000;--select2-option-selected-background: #ddd;--select2-option-highlighted-text-color: #fff;--select2-option-highlighted-background: #5897fb;--select2-option-group-text-color: gray;--select2-option-group-background: transparent;--select2-option-padding: 6px;--select2-hint-text-color: #888;--select2-material-underline: #ddd;--select2-material-underline-active: #5a419e;--select2-material-underline-disabled: linear-gradient( to right, rgba(0, 0, 0, .26) 0, rgba(0, 0, 0, .26) 33%, transparent 0 );--select2-material-underline-invalid: red;--select2-material-placeholder-color: rgba(0, 0, 0, .38);--select2-material-selection-background: #ddd;--select2-material-option-selected-background: rgba(0, 0, 0, .04);--select2-material-option-highlighted-text-color: #000;--select2-material-option-selected-text-color: #ff5722}nav ul{display:block}nav li{display:inline-block;padding:0 15px}\n"],encapsulation:2}),e})();const pi=[{label:"Alaskan/Hawaiian Time Zone",options:[{value:"AK",label:"Alaska"},{value:"HI",label:"Hawaii",disabled:!0}]},{label:"Pacific Time Zone",options:[{value:"CA",label:"California"},{value:"NV",label:"Nevada"},{value:"OR",label:"Oregon"},{value:"WA",label:"Washington"}]},{label:"Mountain Time Zone",options:[{value:"AZ",label:"Arizona"},{value:"CO",label:"Colorado"},{value:"ID",label:"Idaho"},{value:"MT",label:"Montana"},{value:"NE",label:"Nebraska"},{value:"NM",label:"New Mexico"},{value:"ND",label:"North Dakota"},{value:"UT",label:"Utah"},{value:"WY",label:"Wyoming"}]},{label:"Central Time Zone",options:[{value:"AL",label:"Alabama"},{value:"AR",label:"Arkansas"},{value:"IL",label:"Illinois"},{value:"IA",label:"Iowa"},{value:"KS",label:"Kansas"},{value:"KY",label:"Kentucky"},{value:"LA",label:"Louisiana"},{value:"MN",label:"Minnesota"},{value:"MS",label:"Mississippi"},{value:"MO",label:"Missouri"},{value:"OK",label:"Oklahoma"},{value:"SD",label:"South Dakota"},{value:"TX",label:"Texas"},{value:"TN",label:"Tennessee"},{value:"WI",label:"Wisconsin"}]},{label:"Eastern Time Zone",options:[{value:"CT",label:"Connecticut"},{value:"DE",label:"Delaware"},{value:"FL",label:"Florida"},{value:"GA",label:"Georgia"},{value:"IN",label:"Indiana"},{value:"ME",label:"Maine"},{value:"MD",label:"Maryland"},{value:"MA",label:"Massachusetts"},{value:"MI",label:"Michigan"},{value:"NH",label:"New Hampshire"},{value:"NJ",label:"New Jersey"},{value:"NY",label:"New York"},{value:"NC",label:"North Carolina"},{value:"OH",label:"Ohio"},{value:"PA",label:"Pennsylvania"},{value:"RI",label:"Rhode Island"},{value:"SC",label:"South Carolina"},{value:"VT",label:"Vermont"},{value:"VA",label:"Virginia"},{value:"WV",label:"West Virginia"}]}],Xf=[{value:"AK",label:"Alaska"},{value:"HI",label:"Hawaii",disabled:!0},{value:"CA",label:"California"},{value:"NV",label:"Nevada"},{value:"OR",label:"Oregon"},{value:"WA",label:"Washington"},{value:"AZ",label:"Arizona"},{value:"CO",label:"Colorado"},{value:"ID",label:"Idaho"},{value:"MT",label:"Montana"},{value:"NE",label:"Nebraska"},{value:"NM",label:"New Mexico"},{value:"ND",label:"North Dakota"},{value:"UT",label:"Utah"},{value:"WY",label:"Wyoming"},{value:"AL",label:"Alabama"},{value:"AR",label:"Arkansas"},{value:"IL",label:"Illinois"},{value:"IA",label:"Iowa"},{value:"KS",label:"Kansas"},{value:"KY",label:"Kentucky"},{value:"LA",label:"Louisiana"},{value:"MN",label:"Minnesota"},{value:"MS",label:"Mississippi"},{value:"MO",label:"Missouri"},{value:"OK",label:"Oklahoma"},{value:"SD",label:"South Dakota"},{value:"TX",label:"Texas"},{value:"TN",label:"Tennessee"},{value:"WI",label:"Wisconsin"},{value:"CT",label:"Connecticut"},{value:"DE",label:"Delaware"},{value:"FL",label:"Florida"},{value:"GA",label:"Georgia"},{value:"IN",label:"Indiana"},{value:"ME",label:"Maine"},{value:"MD",label:"Maryland"},{value:"MA",label:"Massachusetts"},{value:"MI",label:"Michigan"},{value:"NH",label:"New Hampshire"},{value:"NJ",label:"New Jersey"},{value:"NY",label:"New York"},{value:"NC",label:"North Carolina"},{value:"OH",label:"Ohio"},{value:"PA",label:"Pennsylvania"},{value:"RI",label:"Rhode Island"},{value:"SC",label:"South Carolina"},{value:"VT",label:"Vermont"},{value:"VA",label:"Virginia",disabled:!0},{value:"WV",label:"West Virginia"}],Tc=[{value:"foo",label:"foo"},{value:"bar",label:"bar"},{value:"baz",label:"baz"}],mH=[{value:0,label:"0"},{value:1,label:"1"},{value:2,label:"2"},{value:3,label:"3"},{value:4,label:"4"},{value:5,label:"5"},{value:6,label:"6"}],_H=[{value:"foo1",label:"foo1"},{value:"foo2",label:"foo2"},{value:"foo3",label:"foo3"},{value:"foo4",label:"foo4"},{value:"foo5",label:"foo5"},{value:"foo6",label:"foo6"}],vH=[{value:"FR-ARA",label:"Auvergne-Rh\xf4ne-Alpes"},{value:"FR-BFC",label:"Bourgogne-Franche-Comt\xe9"},{value:"FR-BRE",label:"Bretagne"},{value:"FR-CVL",label:"Centre-Val de Loire"},{value:"FR-COR",label:"Corse"},{value:"FR-GES",label:"Grand Est"},{value:"FR-HDF",label:"Hauts-de-France"},{value:"FR-IDF",label:"\xcele-de-France"},{value:"FR-NOR",label:"Normandie"},{value:"FR-NAQ",label:"Nouvelle-Aquitaine"},{value:"FR-OCC",label:"Occitanie"},{value:"FR-PDL",label:"Pays de la Loire"},{value:"FR-PAC",label:"Provence-Alpes-C\xf4te d'Azur"},{value:"FR-GP",label:"Guadeloupe"},{value:"FR-MQ",label:"Martinique"},{value:"FR-GF",label:"Guyane"},{value:"FR-RE",label:"La R\xe9union"},{value:"FR-YT",label:"Mayotte"}],yH=[{label:"Mainland region",options:[{value:"FR-ARA",label:"Auvergne-Rh\xf4ne-Alpes"},{value:"FR-BFC",label:"Bourgogne-Franche-Comt\xe9"},{value:"FR-BRE",label:"Bretagne"},{value:"FR-CVL",label:"Centre-Val de Loire"},{value:"FR-COR",label:"Corse"},{value:"FR-GES",label:"Grand Est"},{value:"FR-HDF",label:"Hauts-de-France"},{value:"FR-IDF",label:"\xcele-de-France"},{value:"FR-NOR",label:"Normandie"},{value:"FR-NAQ",label:"Nouvelle-Aquitaine"},{value:"FR-OCC",label:"Occitanie"},{value:"FR-PDL",label:"Pays de la Loire"},{value:"FR-PAC",label:"Provence-Alpes-C\xf4te d'Azur"}]},{label:"Overseas region",options:[{value:"FR-GP",label:"Guadeloupe"},{value:"FR-MQ",label:"Martinique"},{value:"FR-GF",label:"Guyane"},{value:"FR-RE",label:"La R\xe9union"},{value:"FR-YT",label:"Mayotte"}]}],Qf=[{value:"foo1",label:"foo1"},{value:"foo2",label:"foo2"},{value:"foo3",label:"foo3"},{value:"foo4",label:"foo4"},{value:"foo5",label:"foo5"},{value:"foo6",label:"foo6"},{value:"foo7",label:"foo7"},{value:"foo8",label:"foo8"},{value:"foo9",label:"foo9",hide:!0}],bH=[{value:!0,label:"true"},{value:!1,label:"false"}],CH=[{value:"fr",label:'
\n
France
\n
Europe
\n
'},{value:"sp",label:'
\n
Spain
\n
Europe
\n
'},{value:"ch",label:'
\n
China
\n
Asia
\n
'}],wH=[{value:"heliotrope",label:"Heliotrope",classes:"white flower",id:"option-heliotrope"},{value:"hibiscus",label:"Hibiscus",classes:"red flower",id:"option-hibiscus"},{value:"lily",label:"Lily",classes:"white flower",id:"option-lily"},{value:"marigold",label:"Marigold",classes:"red flower",id:"option-marigold"},{value:"petunia",label:"Petunia",classes:"white flower",id:"option-petunia"},{value:"sunflower",label:"Sunflower",classes:"yellow flower",id:"option-sunflower"}],wS=[{value:"heliotrope",label:"Heliotrope",data:{color:"white",name:"Heliotrope"},templateId:"template1",id:"option-heliotrope"},{value:"hibiscus",label:"Hibiscus",data:{color:"red",name:"Hibiscus"},templateId:"template1",id:"option-hibiscus"},{value:"lily",label:"Lily",data:{color:"white",name:"Lily"},templateId:"template2",id:"option-lily"},{value:"marigold",label:"Marigold",data:{color:"red",name:"Marigold"},templateId:"template2",id:"option-marigold"},{value:"petunia",label:"Petunia",data:{color:"white",name:"Petunia"},templateId:"template3",id:"option-petunia"},{value:"sunflower",label:"Sunflower",data:{color:"yellow",name:"Sunflower"},templateId:"template3",id:"option-sunflower"}],DS=[{label:"Red",data:{name:"(Red)"},options:[{value:"hibiscus",label:"Hibiscus",data:{color:"red",name:"Hibiscus"},templateId:"template1",id:"option-hibiscus"},{value:"marigold",label:"Marigold",data:{color:"red",name:"Marigold"},templateId:"template2",id:"option-marigold"}]},{label:"Yellow",data:{name:"(Yellow)"},options:[{value:"sunflower",label:"Sunflower",data:{color:"yellow",name:"Sunflower"},templateId:"template3",id:"option-sunflower"}]},{label:"White",data:{name:"(White)"},options:[{value:"heliotrope",label:"Heliotrope",data:{color:"white",name:"Heliotrope"},templateId:"template1",id:"option-heliotrope"},{value:"lily",label:"Lily",data:{color:"white",name:"Lily"},templateId:"template2",id:"option-lily"},{value:"petunia",label:"Petunia",data:{color:"white",name:"Petunia"},templateId:"template3",id:"option-petunia"}]}],SS=[];for(let e=1;e<=50;e++)SS.push({value:e,label:">"+e});const ES=[];for(let e=1;e<=200;e++)ES.push({value:e,label:"item n\xb0 "+e});const MS=[{value:"english",label:"English"},{value:"french",label:"French"},{value:"japanese",label:"Japanese"}],DH=[{value:"english",label:"Anglais"},{value:"french",label:"Fran\xe7ais"},{value:"japanese",label:"Japonais"}],SH=[{value:"english",label:"\u82f1\u8a9e"},{value:"french",label:"\u30d5\u30e9\u30f3\u30b9\u8a9e"},{value:"japanese",label:"\u65e5\u672c\u8a9e"}];let AS=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=X({type:e,selectors:[["select2-hint"]]}),e})(),IS=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=X({type:e,selectors:[["select2-label"]]}),e})();function EH(e,n){if(1&e&&(v(0,"strong"),b(1),_(),b(2)),2&e){const t=n.data;w(1),fn(null==t?null:t.color),w(1),pe(": ",null==t?null:t.name,"")}}function MH(e,n){if(1&e&&(v(0,"strong"),b(1),_(),b(2)),2&e){const t=n.data;w(1),fn(null==t?null:t.color),w(1),pe(": ",null==t?null:t.name,"")}}function AH(e,n){if(1&e&&(v(0,"strong"),b(1),_()),2&e){const t=n.label;w(1),pe("(",t,")")}}function IH(e,n){if(1&e&&(v(0,"span"),b(1),_()),2&e){const t=n.data;pl("background",null==t?null:t.color),w(1),fn(null==t?null:t.name)}}function TH(e,n){if(1&e&&(v(0,"strong"),b(1),_(),b(2)),2&e){const t=n.data;w(1),fn(null==t?null:t.color),w(1),pe(": ",null==t?null:t.name,"")}}function OH(e,n){1&e&&(b(0),bl(1,"json")),2&e&&fn(Cl(1,1,n.data))}const xH=function(e,n){return{option:e,group:n}},RH=function(e,n,t){return{template1:e,template2:n,template3:t}};let TS=(()=>{class e{constructor(t){this.fb=t,this.data1=pi,this.data2=Xf,this.data3=Tc,this.data4=JSON.parse(JSON.stringify(Tc)),this.data5=mH,this.data6=_H,this.data7=JSON.parse(JSON.stringify(Tc)),this.data8=[],this.data9=JSON.parse(JSON.stringify(pi)),this.data10=JSON.parse(JSON.stringify(pi)),this.data11=JSON.parse(JSON.stringify(pi)),this.data12=JSON.parse(JSON.stringify(pi)),this.data13=bH,this.data15=Xf,this.data16=Xf,this.data17=CH,this.data18=yH,this.data19=Qf,this.data20=JSON.parse(JSON.stringify(Qf)),this.data21=JSON.parse(JSON.stringify(Qf)),this.data22=wH,this.data23=wS,this.data24=DS,this.data25=JSON.parse(JSON.stringify(wS)),this.data26=SS,this.data28=ES,this.data29=JSON.parse(JSON.stringify(Tc)),this.data29b=JSON.parse(JSON.stringify(pi)),this.data30=JSON.parse(JSON.stringify(pi)),this.data31=MS,this.minCountForSearch=1/0,this.value1="CA",this.value2="CA",this.value3="foo",this.value4="bar",this.value5=0,this.value6="foo3",this.value7="",this.value8="",this.value9=[],this.value10=[],this.value11="CA",this.value12="CA",this.value13=!0,this.value15="",this.value16="",this.value17="",this.value18="",this.value19="",this.value20="",this.value21="foo6",this.value22="",this.value23="",this.value24="",this.value25="",this.value26="",this.value28="",this.value29=[],this.value29b=[],this.value30="CA",this.value31="",this.value31b="",this.limitSelection=0,this.overlay=!1,this.fg=new YN({state:new ye}),this.ctrlForm=this.fb.group({test11:new ye(null,NC.required)}),this.ctrlForm2=this.fb.group({test5:new ye(0,NC.required)}),this.fg.patchValue(this.formData())}addItem(){const t=this.data6.length+1;this.data6.push({value:"foo"+t,label:"foo"+t})}removeItem(){this.data6.pop()}open(t,r){console.log(t,r)}close(t,r){console.log(t,r)}focus(t,r){console.log(t,r)}blur(t,r){console.log(t,r)}change(t,r){console.log(t,r)}search(t,r){console.log(t,r)}open8(){this.data8=vH}close8(){alert("close")}search8(t){t.filteredData(t.search?t.data.filter(r=>r.label.toLowerCase().includes(t.search.toLowerCase())):t.data)}reset11(){const t=this.ctrlForm.get("test11");t&&t.reset()}change11(){const t=this.ctrlForm.get("test11");t&&t.setValue("UT")}scroll26(t){if(console.log("scroll26",t),"down"===t.way&&!t.search){const r=this.data26.length;for(let i=1+r;i<=50+r;i++)this.data26.push({value:i,label:">"+i})}}update(t,r){this[t]=r.value}resetForm(){this.fg.reset(this.formData())}print(){console.log("FormControl",this.fg.value)}formData(){return{state:["CA","NV"]}}changeData31(t){switch(t){case"english":this.data31=MS;break;case"french":this.data31=DH;break;case"japanese":this.data31=SH}}}return e.\u0275fac=function(t){return new(t||e)(M(kw))},e.\u0275cmp=Ei({type:e,selectors:[["app-root"]],decls:172,vars:151,consts:[["for","disabled"],["type","checkbox",3,"ngModel","ngModelChange"],[1,"block"],["id","ex-1"],["resettable","","customSearchEnabled","","id","selec2-1",3,"overlay","data","value","update","change","blur","focus","open","close","search"],["id","ex-2"],["id","selec2-2",3,"overlay","data","value","update"],["id","ex-3"],["id","selec2-3",3,"overlay","data","value","update"],["id","ex-4"],["id","selec2-4",3,"overlay","data","value","disabled"],["id","ex-5"],[3,"formGroup"],["formControlName","test5","id","selec2-5",3,"overlay","data","minCountForSearch","update"],["id","ex-6"],["size","3","value","7"],["limit",""],["status",""],["selected",""],["type","button",3,"click"],["id","selec2-6",3,"overlay","data","value","minCountForSearch","displaySearchStatus","update"],["id","ex-7"],["placeholder","select an item","resettable","","id","selec2-7",3,"overlay","data","update"],["id","ex-8"],["customSearchEnabled","","listPosition","auto","id","selec2-8",3,"overlay","data","open","close","search","update"],["id","ex-9"],["type","number",3,"ngModel","ngModelChange"],["multiple","true","customSearchEnabled","","id","selec2-9",3,"overlay","data","value","limitSelection","update","blur","focus","open","close","search"],["id","ex-10"],["multiple","true","hideSelectedItems","true","id","selec2-10",3,"overlay","data","value","update"],["id","ex-11"],["formControlName","test11","placeholder","Select a state","styleMode","material","id","selec2-11",3,"overlay","ngModel","data","ngModelChange"],[3,"click"],["id","ex-12"],["styleMode","material","id","selec2-12",3,"overlay","data","value","update"],["id","ex-13"],["id","selec2-13",3,"overlay","data","value","update"],["id","ex-14"],["multiple","true","id","selec2-10","formControlName","state",3,"overlay","data"],["id","ex-15"],["id","selec2-15",3,"overlay","data","value","update"],["id","ex-16"],["required","","id","selec2-16",3,"overlay","data","value","update"],["id","ex-17"],["id","select2-17",3,"overlay","data","value","update"],["id","ex-18"],["minCharForSearch","3","id","selec2-18",3,"overlay","data","value","update"],["id","ex-19"],["listPosition","above","id","selec2-19",3,"overlay","data","value","update"],[1,"noStyle"],["id","ex-20"],["listPosition","above","styleMode","noStyle","id","selec2-20",3,"overlay","data","value","update"],["id","ex-21"],["listPosition","above","id","selec2-21",3,"overlay","data","value","update"],["id","ex-22"],["listPosition","auto","id","selec2-22",1,"flower-list",3,"overlay","data","value","update"],["id","ex-23"],["listPosition","above","id","selec2-23",1,"flower-list",3,"overlay","data","value","templates","update"],["template",""],["id","ex-24"],["listPosition","above","id","selec2-24",1,"flower-list",3,"overlay","data","value","templates","update"],["templateOption",""],["templateGroup",""],["id","ex-25"],["listPosition","above","id","selec2-25",1,"flower-list",3,"overlay","data","value","templates","update"],["template1",""],["template2",""],["template3",""],["id","ex-26"],["listPosition","above","infiniteScroll","","infiniteScrollDistance","1.5","infiniteScrollThrottle","150","id","selec2-26",3,"overlay","data","value","update","scroll"],["id","ex-27"],["listPosition","auto","id","selec2-27",3,"overlay","data","value","update"],["id","ex-28"],["listPosition","auto","id","selec2-28","maxResults","50","maxResultsMessage","Too much results in this list.",3,"overlay","data","value","update"],["id","ex-29"],["multiple","","autoCreate","","id","selec2-29",3,"overlay","data","value","update"],["id","ex-29b"],["multiple","","autoCreate","","id","selec2-29b",3,"overlay","data","value","update"],["id","ex-30"],["resettable","","id","selec2-30",3,"overlay","data","value","resetSelectedValue","update"],["id","ex-31"],[3,"change"],["select",""],["id","selec2-31",3,"overlay","data","value","update"],["id","selec2-31b",3,"overlay","data","ngModel","ngModelChange","update"]],template:function(t,r){if(1&t){const i=Zn();v(0,"h2"),b(1,"Examples"),_(),v(2,"label",0),b(3,"overlay : "),_(),v(4,"input",1),j("ngModelChange",function(s){return r.overlay=s}),_(),v(5,"div",2)(6,"h3",3),b(7),_(),v(8,"select2",4),j("update",function(s){return r.update("value1",s)})("change",function(s){return r.change("change1",s)})("blur",function(s){return r.blur("blur1",s)})("focus",function(s){return r.focus("focus1",s)})("open",function(s){return r.open("open1",s)})("close",function(s){return r.close("close1",s)})("search",function(s){return r.search("search1",s)}),_(),v(9,"h3",5),b(10),_(),v(11,"select2",6),j("update",function(s){return r.update("value2",s)}),_(),v(12,"h3",7),b(13),_(),v(14,"select2",8),j("update",function(s){return r.update("value3",s)}),_(),v(15,"h3",9),b(16),_(),te(17,"select2",10),v(18,"h3",11),b(19),_(),v(20,"form",12)(21,"select2",13),j("update",function(s){return r.update("value5",s)}),_()(),v(22,"h3",14),b(23," 6. search limit to "),te(24,"input",15,16),b(26," / display status "),v(27,"select",null,17)(29,"option",18),b(30,"default"),_(),v(31,"option"),b(32,"hidden"),_(),v(33,"option"),b(34,"always"),_()(),b(35),_(),v(36,"div")(37,"button",19),j("click",function(){return r.addItem()}),b(38,"Add item"),_(),v(39,"button",19),j("click",function(){return r.removeItem()}),b(40,"Remove item"),_()(),v(41,"select2",20),j("update",function(s){return r.update("value6",s)}),_(),v(42,"h3",21),b(43),_(),v(44,"select2",22),j("update",function(s){return r.update("value7",s)}),_(),v(45,"h3",23),b(46),_(),v(47,"select2",24),j("open",function(){return r.open8()})("close",function(){return r.close8()})("search",function(s){return r.search8(s)})("update",function(s){return r.update("value8",s)}),v(48,"select2-hint"),b(49),_()(),v(50,"h3",25),b(51,"9. multiple + limite "),v(52,"input",26),j("ngModelChange",function(s){return r.limitSelection=s}),_(),b(53),bl(54,"json"),_(),v(55,"select2",27),j("update",function(s){return r.update("value9",s)})("blur",function(s){return r.blur("blur9",s)})("focus",function(s){return r.focus("focus9",s)})("open",function(s){return r.open("open9",s)})("close",function(s){return r.close("close9",s)})("search",function(s){return r.search("search9",s)}),_(),v(56,"h3",28),b(57),bl(58,"json"),_(),v(59,"select2",29),j("update",function(s){return r.update("value10",s)}),_(),v(60,"h3",30),b(61),_(),v(62,"form",12)(63,"select2",31),j("ngModelChange",function(s){return r.value11=s}),_(),v(64,"button",32),j("click",function(){return r.reset11()}),b(65,"reset"),_(),v(66,"button",32),j("click",function(){return r.change11()}),b(67,"Utah"),_()(),v(68,"h3",33),b(69),_(),v(70,"select2",34),j("update",function(s){return r.update("value12",s)}),_(),v(71,"h3",35),b(72),_(),v(73,"select2",36),j("update",function(s){return r.update("value13",s)}),_(),v(74,"h3",37),b(75,"14. FormControl"),_(),v(76,"form",12),te(77,"select2",38),v(78,"button",32),j("click",function(){return r.print()}),b(79,"Log Selected"),_(),v(80,"button",32),j("click",function(){return r.resetForm()}),b(81,"Reset Form"),_()(),v(82,"h3",39),b(83),_(),v(84,"select2",40),j("update",function(s){return r.update("value15",s)}),v(85,"select2-label"),b(86,"Select a state"),_()(),v(87,"h3",41),b(88),_(),v(89,"select2",42),j("update",function(s){return r.update("value16",s)}),v(90,"select2-label"),b(91,"Select a state"),_()(),v(92,"h3",43),b(93),_(),v(94,"select2",44),j("update",function(s){return r.update("value17",s)}),_(),v(95,"h3",45),b(96,"18. search starts with 3 chars"),_(),v(97,"select2",46),j("update",function(s){return r.update("value18",s)}),_(),v(98,"h3",47),b(99),_(),v(100,"select2",48),j("update",function(s){return r.update("value19",s)}),_(),v(101,"div",49)(102,"h3",50),b(103),_(),v(104,"select2",51),j("update",function(s){return r.update("value20",s)}),_()(),v(105,"h3",52),b(106),_(),v(107,"select2",53),j("update",function(s){return r.update("value21",s)}),_(),v(108,"button",32),j("click",function(){return r.value21=""}),b(109,"Update value to empty string"),_(),v(110,"button",32),j("click",function(){return r.value21=null}),b(111,"Update value to null"),_(),v(112,"button",32),j("click",function(){return r.value21=void 0}),b(113,"Update value to undefined"),_(),v(114,"h3",54),b(115),_(),v(116,"select2",55),j("update",function(s){return r.update("value22",s)}),_(),v(117,"h3",56),b(118),_(),v(119,"select2",57),j("update",function(s){return r.update("value23",s)}),J(120,EH,3,2,"ng-template",null,58,bt),_(),v(122,"h3",59),b(123),_(),v(124,"select2",60),j("update",function(s){return r.update("value24",s)}),J(125,MH,3,2,"ng-template",null,61,bt),J(127,AH,2,1,"ng-template",null,62,bt),_(),v(129,"h3",63),b(130),_(),v(131,"select2",64),j("update",function(s){return r.update("value25",s)}),J(132,IH,2,3,"ng-template",null,65,bt),J(134,TH,3,2,"ng-template",null,66,bt),J(136,OH,2,3,"ng-template",null,67,bt),_(),v(138,"h3",68),b(139),_(),v(140,"select2",69),j("update",function(s){return r.update("value26",s)})("scroll",function(s){return r.scroll26(s)}),_(),v(141,"h3",70),b(142),_(),v(143,"select2",71),j("update",function(s){return r.update("value2",s)}),_(),v(144,"h3",72),b(145),_(),v(146,"select2",73),j("update",function(s){return r.update("value28",s)}),_(),v(147,"h3",74),b(148),_(),v(149,"select2",75),j("update",function(s){return r.update("value29",s)}),_(),v(150,"h3",76),b(151),_(),v(152,"select2",77),j("update",function(s){return r.update("value29b",s)}),_(),v(153,"h3",78),b(154),_(),v(155,"select2",79),j("update",function(s){return r.update("value30",s)}),_(),v(156,"h3",80),b(157),_(),v(158,"select",81,82),j("change",function(){xe(i);const s=Ue(159);return Re(r.changeData31(s.value))}),v(160,"option"),b(161,"english"),_(),v(162,"option"),b(163,"french"),_(),v(164,"option"),b(165,"japanese"),_()(),te(166,"br"),b(167," Value : "),v(168,"select2",83),j("update",function(s){return r.update("value31",s)}),_(),te(169,"br"),b(170," NgModel : "),v(171,"select2",84),j("ngModelChange",function(s){return r.value31b=s})("update",function(s){return r.update("value31b",s)}),_()()}if(2&t){const i=Ue(25),o=Ue(28),s=Ue(121),a=Ue(126),l=Ue(128),c=Ue(133),u=Ue(135),d=Ue(137);w(4),R("ngModel",r.overlay),w(3),pe("1. options in group (",r.value1,")"),w(1),R("overlay",r.overlay)("data",r.data1)("value",r.value1),w(2),pe("2. options (",r.value2,")"),w(1),R("overlay",r.overlay)("data",r.data2)("value",r.value2),w(2),pe("3. less options (",r.value3,")"),w(1),R("overlay",r.overlay)("data",r.data3)("value",r.value3),w(2),pe("4. disabled (",r.value4,")"),w(1),R("overlay",r.overlay)("data",r.data4)("value",r.value4)("disabled",!0),w(2),pe("5. hide search box (",r.value5,")"),w(1),R("formGroup",r.ctrlForm2),w(1),R("overlay",r.overlay)("data",r.data5)("minCountForSearch",r.minCountForSearch),w(14),pe(" (",r.value6,") "),w(6),R("overlay",r.overlay)("data",r.data6)("value",r.value6)("minCountForSearch",i.value)("displaySearchStatus",o.value),w(2),pe("7. placeholder (",r.value7,")"),w(1),R("overlay",r.overlay)("data",r.data7),w(2),pe("8. open, close and search event (",r.value8,")"),w(1),R("overlay",r.overlay)("data",r.data8),w(2),pe("value : ",r.value8,""),w(3),R("ngModel",r.limitSelection),w(1),pe(" (",Cl(54,140,r.value9),")"),w(2),R("overlay",r.overlay)("data",r.data9)("value",r.value9)("limitSelection",r.limitSelection),w(2),pe("10. multiple + hide selected items (",Cl(58,142,r.value10),")"),w(2),R("overlay",r.overlay)("data",r.data10)("value",r.value10),w(2),pe("11. material style and form binding (",r.value11,")"),w(1),R("formGroup",r.ctrlForm),w(1),R("overlay",r.overlay)("ngModel",r.value11)("data",r.data11),w(6),pe("12. material style (",r.value12,")"),w(1),R("overlay",r.overlay)("data",r.data12)("value",r.value12),w(2),pe("13. boolean value (",r.value13,")"),w(1),R("overlay",r.overlay)("data",r.data13)("value",r.value13),w(3),R("formGroup",r.fg),w(1),R("overlay",r.overlay)("data",r.data9),w(6),pe("15. with label (",r.value15,")"),w(1),R("overlay",r.overlay)("data",r.data15)("value",r.value15),w(4),pe("16. required with label (",r.value16,")"),w(1),R("overlay",r.overlay)("data",r.data16)("value",r.value16),w(4),pe("17. with two option labels (",r.value17,")"),w(1),R("overlay",r.overlay)("data",r.data17)("value",r.value17),w(3),R("overlay",r.overlay)("data",r.data18)("value",r.value18),w(2),pe("19. dropdown list position above (",r.value19,")"),w(1),R("overlay",r.overlay)("data",r.data19)("value",r.value19),w(3),pe("20. nostyle (",r.value20,")"),w(1),R("overlay",r.overlay)("data",r.data20)("value",r.value20),w(2),pe("21. update to empty/null/undefined (",r.value21,")"),w(1),R("overlay",r.overlay)("data",r.data21)("value",r.value21),w(8),pe("22. with item classes and id (",r.value22,")"),w(1),R("overlay",r.overlay)("data",r.data22)("value",r.value22),w(2),pe("23. with template (",r.value23,")"),w(1),R("overlay",r.overlay)("data",r.data23)("value",r.value23)("templates",s),w(4),pe("24. with template (option / group) (",r.value24,")"),w(1),R("overlay",r.overlay)("data",r.data24)("value",r.value24)("templates",my(144,xH,a,l)),w(6),pe("25. with templates Ids (",r.value25,")"),w(1),R("overlay",r.overlay)("data",r.data25)("value",r.value25)("templates",_y(147,RH,c,u,d)),w(8),pe("26. infiniteScroll(",r.value26,")"),w(1),R("overlay",r.overlay)("data",r.data26)("value",r.value26),w(2),pe("27. position (",r.value2,")"),w(1),R("overlay",r.overlay)("data",r.data2)("value",r.value2),w(2),pe("28. max results 50 (",r.value28,")"),w(1),R("overlay",r.overlay)("data",r.data28)("value",r.value28),w(2),pe("29. option autocreate (",r.value29,")"),w(1),R("overlay",r.overlay)("data",r.data29)("value",r.value29),w(2),pe("29b. option autocreate search search (",r.value29b,")"),w(1),R("overlay",r.overlay)("data",r.data29b)("value",r.value29b),w(2),pe("30. selected option when \xd7 is clicked (",r.value30,")"),w(1),R("overlay",r.overlay)("data",r.data30)("value",r.value30)("resetSelectedValue","CA"),w(2),pe("31. change list (",r.value31,")"),w(11),R("overlay",r.overlay)("data",r.data31)("value",r.value31),w(3),R("overlay",r.overlay)("data",r.data31)("ngModel",r.value31b)}},dependencies:[gw,sf,lf,Ts,rc,Gl,zh,Gh,ef,go,ic,AS,IS,mD,rC],styles:['@charset "UTF-8";#select2-17[_ngcontent-%COMP%] .select2-multiple-labels{display:flex;justify-content:space-between}.noStyle[_ngcontent-%COMP%]{background-color:#faebd7}.flower-list[_ngcontent-%COMP%] .flower.white:before{content:"\\1f33c "}.flower-list[_ngcontent-%COMP%] .flower.red:before{content:"\\1f339 "}.flower-list[_ngcontent-%COMP%] .flower.yellow:before{content:"\\1f33b "}.block[_ngcontent-%COMP%]{padding-bottom:300px;max-width:500px}']}),e})();class PH{constructor(n,t={}){this.json=n,this.options={spaceType:"space",spaceLength:4,spaceBase:0,maxLength:0,attrPosition:"alignFirstAttr",wrapAttrNumber:1,type:"html",formatting:"multiline",indent:!0,xmlDefaultTag:"span",noContentTags:["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],removeOptionalEndTags:!1,optionalEndTags:["colgroup","dd","dt","li","optgroup","option","p","rb","rt","rtc","rp","td","th","thead","tbody","tfoot","tr"]},Object.assign(this.options,t)}toString(){let n="";const t="inline"===this.options.formatting;return Array.isArray(this.json)?this.json.forEach((r,i)=>{n+=`${i>0&&!t?"\n":""}${this._getSpacing(0)}${this._generate(0,r,t)}`}):n=`${this._getSpacing(0)}${this._generate(0,this.json,t)}`,n}_generate(n,t,r=!1){const i=!this.options.noContentTags.includes(t.tag.toLowerCase()),o=i&&!t.autoclose||!this._modeXML()?"":"/";let s=`<${t.tag}${this._generateAttrs(n,t,r||t.inline)}${o}>`;if(i&&!t.autoclose){let a=this._generateBody(n,t,r||t.inline);a&&this._hasMultiline()&&!(r||t.inline)&&(a=`${a}\n${this._getSpacing(n)}`),s+=a,(!this.options.removeOptionalEndTags||this._modeXML()||this.options.removeOptionalEndTags&&!this.options.optionalEndTags.includes(t.tag.toLowerCase()))&&(s+=``)}return s}_generateAttrs(n,t,r){let i="";const o=t.attrs;if(o&&Object.keys(o).length){const s=Object.values(t.attrs).filter(u=>void 0!==u).length,a=(this.options.wrapAttrNumber??1){const g=o[u];if(void 0!==g){const y=`${u}${null!==g||g?`="${String(g).replace(/"/g,""e;")}"`:""}`;let S="",T="";const[V,D]=a.split(" ");switch(V){case"inline":if(!this.options.maxLength||(l.replace(/\n/g,"")+(c>1?" ":"")+y+(d===p.length-1?">":"")).length{i+=this._generateBodyElement(n,o,!1,r)}):i+=this._generateBodyElement(n,t.body,!0,r)),i}_generateBodyElement(n,t,r,i=!1){let o="";return this._hasMultiline()&&!i&&(o+=`\n${this._getSpacing(n+1)}`),!r&&this._modeXML()&&"string"==typeof t&&(t={tag:this.options.xmlDefaultTag,body:t}),o+="string"==typeof t?this._formatText(n+1,t,i):this._generate(n+1,t,i),o}_formatText(n,t,r=!1){let i="";const o=this._getSpacing(n);if(!r&&this.options.maxLength){const s=t.split("\n");for(const a of s){let l="";if((o+a).length>this.options.maxLength){const c=a.split(" ");for(const u of c)(o+l+(l?" ":"")+u).length{class e{constructor(t){this.fb=t,this.data=DS,this.ctrlForm=this.fb.group({json:new ye(JSON.stringify(this.data,null,2)),label:new ye,hint:new ye,disabled:new ye,overlay:new ye,minCharForSearch:new ye,minCountForSearch:new ye,displaySearchStatus:new ye,placeholder:new ye,multiple:new ye,autoCreate:new ye,resettable:new ye,resetSelectedValue:new ye,limitSelection:new ye,hideSelectedItems:new ye,resultMaxHeight:new ye,listPosition:new ye,infiniteScroll:new ye,infiniteScrollDistance:new ye,infiniteScrollThrottle:new ye,styleMode:new ye,noResultMessage:new ye,maxResults:new ye,maxResultsMessage:new ye,template:new ye,noLabelTemplate:new ye,update:new ye,open:new ye,close:new ye,focus:new ye,blur:new ye,search:new ye,scroll:new ye,removeOption:new ye}),this.ctrlForm.valueChanges.subscribe(()=>{console.log(this.ctrlForm.value)}),this.ctrlForm.valueChanges.subscribe(r=>this.codeGeneration()),this.ctrlForm.get("json").valueChanges.subscribe(r=>this.changeJson(r))}ngAfterContentInit(){this.codeGeneration()}getTemplate(t,r,i,o,s){switch(this.ctrlForm.value.template){case"ref":return t;case"option-group":return{option:r,group:i};case"templateId":return{template1:o,template2:s}}}_event(t,r){this.ctrlForm.value&&this.ctrlForm.value[t]&&console.log("Event",t,r)}codeGeneration(){const t={tag:"select2",attrs:{"[data]":"data"},body:[]},r=this.ctrlForm.value,i=t.attrs,o=t.body;switch(r.label&&o.push({tag:"select2-label",body:r.label,inline:!0}),r.hint&&o.push({tag:"select2-hint",body:r.hint,inline:!0}),r.disabled&&(i.disabled=this._testBoolean(r.disabled)),r.overlay&&(i.overlay=this._testBoolean(r.overlay)),r.minCharForSearch&&(i.minCharForSearch=r.minCharForSearch),r.minCountForSearch&&(i.minCountForSearch=r.minCountForSearch),r.displaySearchStatus&&(i.displaySearchStatus=r.displaySearchStatus),r.placeholder&&(i.placeholder=r.placeholder),r.search&&(i.customSearchEnabled=this._testBoolean(r.search)),r.multiple?(i.multiple=this._testBoolean(r.multiple),r.autoCreate&&(i.autoCreate=this._testBoolean(r.autoCreate))):(r.resettable&&(i.resettable=this._testBoolean(r.resettable)),r.resetSelectedValue&&(i.resetSelectedValue=r.resetSelectedValue)),r.limitSelection&&(i.limitSelection=r.limitSelection),r.hideSelectedItems&&(i.hideSelectedItems=this._testBoolean(r.hideSelectedItems)),r.resultMaxHeight&&(i.resultMaxHeight=r.resultMaxHeight),r.listPosition&&(i.listPosition=r.listPosition),r.infiniteScroll&&(i.infiniteScroll=this._testBoolean(r.infiniteScroll)),r.infiniteScrollDistance&&(i.infiniteScrollDistance=r.infiniteScrollDistance),r.infiniteScrollThrottle&&(i.infiniteScrollThrottle=r.infiniteScrollThrottle),r.styleMode&&(i.styleMode=r.styleMode),r.noResultMessage&&(i.noResultMessage=r.noResultMessage),r.maxResultsMessage&&(i.maxResultsMessage=r.maxResultsMessage),r.maxResults&&(i.maxResults=r.maxResults),r.noLabelTemplate&&(i.noLabelTemplate=this._testBoolean(r.noLabelTemplate)),r.template){case"ref":i["[templates]"]="template",o.push({tag:"ng-template",attrs:{"#template":null,"let-data":"data"},body:' {{data?.color}}: {{data?.name}}'});break;case"option-group":i["[templates]"]="{option : option, group: group}",o.push({tag:"ng-template",attrs:{"#option":null,"let-data":"data"},body:"{{data?.name}}"},{tag:"ng-template",attrs:{"#group":null,"let-label":"label"},body:"Group: {{label}}"});break;case"templateId":i["[templates]"]="{template1 : template1, template2: template2}",o.push({tag:"ng-template",attrs:{"#template1":null,"let-data":"data"},body:"{{data?.name}}"},{tag:"ng-template",attrs:{"#template2":null,"let-label":"label","let-data":"data"},body:"{{label}} : {{data?.color}}"})}r.update&&(i["(update)"]="_update($event)"),r.open&&(i["(open)"]="_open($event)"),r.close&&(i["(close)"]="_close($event)"),r.focus&&(i["(focus)"]="_focus($event)"),r.blur&&(i["(blur)"]="_blur($event)"),r.search&&(i["(search)"]="_search($event)"),this.html=new PH(t).toString()}changeJson(t){this.jsonError="";try{this.data=JSON.parse(t)}catch(r){this.jsonError=this._parseJsonError(t,r)}}_parseJsonError(t,r){let i="";const o=r.message.match(/[^\n]+/)[0],s=NH.getParser(window.navigator.userAgent).getResult();if("Chrome"===s.browser.name)if(o.match(/at position/)){const a=parseInt(o.match(/at position (\d+)/)[1],10),l=t.split(/\n/);let c=1;for(const u of l)if(u){if(c+u.length>=a){i=o+"
"+u+"\n"+" ".repeat(a-c+1)+"^
";break}c+=u.length+1}}else i=o;else if("Firefox"===s.browser.name)if(o.match(/at line/)){const[,a,l]=o.match(/at line (\d+) column (\d+)/),c=t.split(/\n/);i=c[+a-1]?o+"
"+c[+a-1]+"\n"+" ".repeat(+l-1)+"^
":o}else i=o;else i=o;return i}_testBoolean(t){return t?null:void 0}}return e.\u0275fac=function(t){return new(t||e)(M(kw))},e.\u0275cmp=Ei({type:e,selectors:[["app-root"]],decls:209,vars:18,consts:[[1,"cols"],[3,"formGroup"],["for","json"],["formControlName","json","id","json"],[1,"error",3,"innerHTML"],["for","label"],["type","text","formControlName","label","id","label"],["for","hint"],["type","text","formControlName","hint","id","hint"],["for","disabled"],["type","checkbox","formControlName","disabled","id","disabled"],["for","overlay"],["type","checkbox","formControlName","overlay","id","overlay"],["for","minCharForSearch"],["type","number","formControlName","minCharForSearch","id","minCharForSearch"],["for","minCountForSearch"],["type","number","formControlName","minCountForSearch","id","minCountForSearch"],["for","displaySearchStatus"],["formControlName","displaySearchStatus","id","displaySearchStatus"],["value","default"],["value","hidden"],["value","always"],["for","placeholder"],["type","text","formControlName","placeholder","id","placeholder"],["for","noResultMessage"],["type","text","formControlName","noResultMessage","id","noResultMessage"],["for","multiple"],["type","checkbox","formControlName","multiple","id","multiple"],["for","resettable"],["type","checkbox","formControlName","resettable","id","resettable"],["for","resetSelectedValue"],["formControlName","resetSelectedValue","id","resetSelectedValue"],[3,"value"],["value","hibiscus"],["value","marigold"],["value","sunflower"],["value","heliotrope"],["value","lily"],["value","petunia"],["for","autoCreate"],["type","checkbox","formControlName","autoCreate","id","autoCreate"],["for","limitSelection"],["type","number","formControlName","limitSelection","id","limitSelection"],["for","hideSelectedItems"],["type","checkbox","formControlName","hideSelectedItems","id","hideSelectedItems"],["for","resultMaxHeight"],["type","text","formControlName","resultMaxHeight","id","resultMaxHeight"],["for","maxResults"],["type","text","formControlName","maxResults","id","maxResults"],["for","maxResultsMessage"],["type","text","formControlName","maxResultsMessage","id","maxResultsMessage"],["for","listPosition"],["formControlName","listPosition","id","listPosition"],["value","below"],["value","above"],["for","infiniteScroll"],["type","checkbox","formControlName","infiniteScroll","id","infiniteScroll"],["for","infiniteScrollDistance"],["type","number","formControlName","infiniteScrollDistance","id","infiniteScrollDistance"],["for","infiniteScrollThrottle"],["type","number","formControlName","infiniteScrollThrottle","id","infiniteScrollThrottle"],["for","styleMode"],["formControlName","styleMode","id","listPstyleModeosition"],["value",""],["value","material"],["value","noStyle"],["for","template"],["formControlName","template","id","template"],["value","none"],["value","ref"],["value","option-group"],["value","templateId"],["for","noLabelTemplate"],["type","checkbox","formControlName","noLabelTemplate","id","noLabelTemplate"],["for","update"],["type","checkbox","formControlName","update","id","update"],["for","open"],["type","checkbox","formControlName","open","id","open"],["for","close"],["type","checkbox","formControlName","close","id","close"],["for","focus"],["type","checkbox","formControlName","focus","id","focus"],["for","blur"],["type","checkbox","formControlName","blur","id","blur"],["for","search"],["type","checkbox","formControlName","search","id","search"],["for","scroll"],["type","checkbox","formControlName","scroll","id","scroll"],["for","removeOption"],["type","checkbox","formControlName","removeOption","id","removeOption"],[1,"result"],[3,"data","overlay","disabled","minCharForSearch","minCountForSearch","displaySearchStatus","placeholder","customSearchEnabled","multiple","resettable","resetSelectedValue","autoCreate","limitSelection","hideSelectedItems","resultMaxHeight","maxResults","maxResultsMessage","listPosition","infiniteScroll","infiniteScrollDistance","infiniteScrollThrottle","styleMode","noResultMessage","noLabelTemplate","templates","update","open","close","focus","blur","search","scroll","removeOption",4,"ngIf"],[1,"code"],[3,"highlight"],[3,"data","overlay","disabled","minCharForSearch","minCountForSearch","displaySearchStatus","placeholder","customSearchEnabled","multiple","resettable","resetSelectedValue","autoCreate","limitSelection","hideSelectedItems","resultMaxHeight","maxResults","maxResultsMessage","listPosition","infiniteScroll","infiniteScrollDistance","infiniteScrollThrottle","styleMode","noResultMessage","noLabelTemplate","templates","update","open","close","focus","blur","search","scroll","removeOption"],[3,"innerHTML"],["template",""],["option",""],["group",""],["template1",""],["template2",""],[4,"ngIf"]],template:function(t,r){1&t&&(v(0,"h2"),b(1,"Generator"),_(),v(2,"div",0)(3,"div",1)(4,"h4"),b(5,"data"),_(),v(6,"div")(7,"label",2),b(8,"json (for "),v(9,"code"),b(10,"[data]"),_(),b(11,") : "),_(),te(12,"textarea",3)(13,"div",4),_(),v(14,"h4"),b(15,"tags"),_(),v(16,"div")(17,"label",5),b(18,"label : "),_(),te(19,"input",6),_(),v(20,"div")(21,"label",7),b(22,"hint : "),_(),te(23,"input",8),_(),v(24,"h4"),b(25,"parameters"),_(),v(26,"div")(27,"label",9),b(28,"disabled : "),_(),te(29,"input",10),_(),v(30,"div")(31,"label",11),b(32,"overlay : "),_(),te(33,"input",12),_(),v(34,"div")(35,"label",13),b(36,"minCharForSearch (0) : "),_(),te(37,"input",14),_(),v(38,"div")(39,"label",15),b(40,"minCountForSearch (6) : "),_(),te(41,"input",16),_(),v(42,"div")(43,"label",17),b(44,"displaySearchStatus :"),_(),v(45,"select",18)(46,"option",19),b(47,"default"),_(),v(48,"option",20),b(49,"hidden"),_(),v(50,"option",21),b(51,"always"),_()()(),v(52,"div")(53,"label",22),b(54,"placeholder : "),_(),te(55,"input",23),_(),v(56,"div")(57,"label",24),b(58,"noResultMessage : "),_(),te(59,"input",25),_(),v(60,"div")(61,"label",26),b(62,"multiple : "),_(),te(63,"input",27),_(),v(64,"div")(65,"label",28),b(66,"resettable : "),_(),te(67,"input",29),_(),v(68,"div")(69,"label",30),b(70,"resetSelectedValue : "),_(),v(71,"select",31)(72,"option",32),b(73,"undefined"),_(),v(74,"option",32),b(75,"null"),_(),v(76,"option",33),b(77,"hibiscus"),_(),v(78,"option",34),b(79,"marigold"),_(),v(80,"option",35),b(81,"sunflower"),_(),v(82,"option",36),b(83,"heliotrope"),_(),v(84,"option",37),b(85,"lily"),_(),v(86,"option",38),b(87,"petunia"),_()()(),v(88,"div")(89,"label",39),b(90,"autoCreate : "),_(),te(91,"input",40),_(),v(92,"div")(93,"label",41),b(94,"limitSelection (0) : "),_(),te(95,"input",42),_(),v(96,"div")(97,"label",43),b(98,"hideSelectedItems : "),_(),te(99,"input",44),_(),v(100,"div")(101,"label",45),b(102,"resultMaxHeight ('200px') : "),_(),te(103,"input",46),_(),v(104,"div")(105,"label",47),b(106,"maxResults (0 = infinity) : "),_(),te(107,"input",48),_(),v(108,"div")(109,"label",49),b(110,"maxResultsMessage ('Too much result...') : "),_(),te(111,"input",50),_(),v(112,"div")(113,"label",51),b(114,"listPosition :"),_(),v(115,"select",52),te(116,"option"),v(117,"option",53),b(118,"below"),_(),v(119,"option",54),b(120,"above"),_()()(),v(121,"div")(122,"label",55),b(123,"infiniteScroll : "),_(),te(124,"input",56),_(),v(125,"div")(126,"label",57),b(127,"infiniteScrollDistance (1.5) : "),_(),te(128,"input",58),_(),v(129,"div")(130,"label",59),b(131,"infiniteScrollThrottle (150) : "),_(),te(132,"input",60),_(),v(133,"div")(134,"label",61),b(135,"styleMode : "),_(),v(136,"select",62)(137,"option",63),b(138,"default"),_(),v(139,"option",64),b(140,"material"),_(),v(141,"option",65),b(142,"noStyle"),_()()(),v(143,"h4"),b(144,"Templates"),_(),v(145,"div")(146,"label",66),b(147,"template style :"),_(),v(148,"select",67)(149,"option",68),b(150,"None"),_(),v(151,"option",69),b(152,"Unique template"),_(),v(153,"option",70),b(154,"Template group & option"),_(),v(155,"option",71),b(156,"Template by templateId"),_()()(),v(157,"div")(158,"label",72),b(159,"noLabelTemplate : "),_(),te(160,"input",73),_(),v(161,"h4"),b(162,"Events"),_(),v(163,"div")(164,"label",74),b(165,"update: "),_(),te(166,"input",75),_(),v(167,"div")(168,"label",76),b(169,"open: "),_(),te(170,"input",77),_(),v(171,"div")(172,"label",78),b(173,"close: "),_(),te(174,"input",79),_(),v(175,"div")(176,"label",80),b(177,"focus: "),_(),te(178,"input",81),_(),v(179,"div")(180,"label",82),b(181,"blur: "),_(),te(182,"input",83),_(),v(183,"div")(184,"label",84),b(185,"search: "),_(),te(186,"input",85),b(187," (Required: "),v(188,"code"),b(189,"customSearchEnabled"),_(),b(190,") "),_(),v(191,"div")(192,"label",86),b(193,"scroll: "),_(),te(194,"input",87),_(),v(195,"div")(196,"label",88),b(197,"removeOption: "),_(),te(198,"input",89),_()(),v(199,"div")(200,"div",90)(201,"h4"),b(202,"HTML render"),_(),J(203,jH,13,27,"select2",91),v(204,"h4"),b(205,"HTML Code"),_(),v(206,"div",92)(207,"code"),te(208,"pre",93),_()()()()()),2&t&&(w(3),R("formGroup",r.ctrlForm),w(10),R("innerHTML",r.jsonError,In),w(51),rt("hide",null==r.ctrlForm||null==r.ctrlForm.value?null:r.ctrlForm.value.multiple),w(4),rt("hide",null==r.ctrlForm||null==r.ctrlForm.value?null:r.ctrlForm.value.multiple),w(4),R("value",void 0),w(2),R("value",null),w(14),rt("hide",!(null!=r.ctrlForm&&null!=r.ctrlForm.value&&r.ctrlForm.value.multiple)),w(8),rt("hide",!(null!=r.ctrlForm&&null!=r.ctrlForm.value&&r.ctrlForm.value.multiple)),w(29),rt("hide",!(null!=r.ctrlForm&&null!=r.ctrlForm.value&&r.ctrlForm.value.infiniteScrollDistance)),w(4),rt("hide",!(null!=r.ctrlForm&&null!=r.ctrlForm.value&&r.ctrlForm.value.infiniteScroll)),w(74),R("ngIf",r.ctrlForm.value),w(5),R("highlight",r.html))},dependencies:[Mh,sf,lf,Ts,rc,Gl,oc,zh,Gh,go,ic,AS,IS,mD,Jk],styles:["label[_ngcontent-%COMP%]{display:inline-block;width:250px}.cols[_ngcontent-%COMP%]{display:flex;max-width:100%}.cols[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:1 0 50%;max-width:50%}.code[_ngcontent-%COMP%]{overflow:auto}.error[_ngcontent-%COMP%]{color:red}textarea#json[_ngcontent-%COMP%]{width:calc(100% - 15px);resize:vertical;box-sizing:border-box;height:200px}.hide[_ngcontent-%COMP%]{display:none}.result[_ngcontent-%COMP%]{position:sticky;top:0}"]}),e})()},{path:"**",component:TS}];let $H=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=dt({type:e}),e.\u0275inj=nt({imports:[bS.forRoot(UH),bS]}),e})(),zH=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=dt({type:e,bootstrap:[gH]}),e.\u0275inj=nt({providers:[{provide:ac,useValue:{coreLibraryLoader:()=>N.e(373).then(N.bind(N,4373)),lineNumbersLoader:()=>N.e(35).then(N.t.bind(N,1035,23)),languages:{typescript:()=>N.e(266).then(N.bind(N,5266)),javascript:()=>N.e(743).then(N.bind(N,8743)),css:()=>N.e(746).then(N.bind(N,8746)),xml:()=>N.e(668).then(N.bind(N,2668))}}}],imports:[ON,$H,uf,xL,eF]}),e})();IN().bootstrapModule(zH).catch(e=>console.log(e))},1523:function(en){en.exports=function(we){var N={};function z(F){if(N[F])return N[F].exports;var C=N[F]={i:F,l:!1,exports:{}};return we[F].call(C.exports,C,C.exports,z),C.l=!0,C.exports}return z.m=we,z.c=N,z.d=function(F,C,E){z.o(F,C)||Object.defineProperty(F,C,{enumerable:!0,get:E})},z.r=function(F){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(F,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(F,"__esModule",{value:!0})},z.t=function(F,C){if(1&C&&(F=z(F)),8&C||4&C&&"object"==typeof F&&F&&F.__esModule)return F;var E=Object.create(null);if(z.r(E),Object.defineProperty(E,"default",{enumerable:!0,value:F}),2&C&&"string"!=typeof F)for(var G in F)z.d(E,G,function(h){return F[h]}.bind(null,G));return E},z.n=function(F){var C=F&&F.__esModule?function(){return F.default}:function(){return F};return z.d(C,"a",C),C},z.o=function(F,C){return Object.prototype.hasOwnProperty.call(F,C)},z.p="",z(z.s=90)}({17:function(we,N,z){"use strict";N.__esModule=!0,N.default=void 0;var F=z(18),C=function(){function E(){}return E.getFirstMatch=function(G,h){var f=h.match(G);return f&&f.length>0&&f[1]||""},E.getSecondMatch=function(G,h){var f=h.match(G);return f&&f.length>1&&f[2]||""},E.matchAndReturnConst=function(G,h,f){if(G.test(h))return f},E.getWindowsVersionName=function(G){switch(G){case"NT":return"NT";case"XP":case"NT 5.1":return"XP";case"NT 5.0":return"2000";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},E.getMacOSVersionName=function(G){var h=G.split(".").splice(0,2).map(function(f){return parseInt(f,10)||0});if(h.push(0),10===h[0])switch(h[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}},E.getAndroidVersionName=function(G){var h=G.split(".").splice(0,2).map(function(f){return parseInt(f,10)||0});if(h.push(0),!(1===h[0]&&h[1]<5))return 1===h[0]&&h[1]<6?"Cupcake":1===h[0]&&h[1]>=6?"Donut":2===h[0]&&h[1]<2?"Eclair":2===h[0]&&2===h[1]?"Froyo":2===h[0]&&h[1]>2?"Gingerbread":3===h[0]?"Honeycomb":4===h[0]&&h[1]<1?"Ice Cream Sandwich":4===h[0]&&h[1]<4?"Jelly Bean":4===h[0]&&h[1]>=4?"KitKat":5===h[0]?"Lollipop":6===h[0]?"Marshmallow":7===h[0]?"Nougat":8===h[0]?"Oreo":9===h[0]?"Pie":void 0},E.getVersionPrecision=function(G){return G.split(".").length},E.compareVersions=function(G,h,f){void 0===f&&(f=!1);var m=E.getVersionPrecision(G),L=E.getVersionPrecision(h),A=Math.max(m,L),x=0,k=E.map([G,h],function(Y){var Z=A-E.getVersionPrecision(Y),Te=Y+new Array(Z+1).join(".0");return E.map(Te.split("."),function(at){return new Array(20-at.length).join("0")+at}).reverse()});for(f&&(x=A-Math.min(m,L)),A-=1;A>=x;){if(k[0][A]>k[1][A])return 1;if(k[0][A]===k[1][A]){if(A===x)return 0;A-=1}else if(k[0][A]1?L-1:0),x=1;x0){var $t=Object.keys(Y),lt=h.default.find($t,function(ct){return k.isOS(ct)});if(lt){var Et=this.satisfies(Y[lt]);if(void 0!==Et)return Et}var Mt=h.default.find($t,function(ct){return k.isPlatform(ct)});if(Mt){var et=this.satisfies(Y[Mt]);if(void 0!==et)return et}}if(at>0){var be=Object.keys(Te),tn=h.default.find(be,function(ct){return k.isBrowser(ct,!0)});if(void 0!==tn)return this.compareVersion(Te[tn])}},A.isBrowser=function(x,k){void 0===k&&(k=!1);var Y=this.getBrowserName().toLowerCase(),Z=x.toLowerCase(),Te=h.default.getBrowserTypeByAlias(Z);return k&&Te&&(Z=Te.toLowerCase()),Z===Y},A.compareVersion=function(x){var k=[0],Y=x,Z=!1,Te=this.getBrowserVersion();if("string"==typeof Te)return">"===x[0]||"<"===x[0]?(Y=x.substr(1),"="===x[1]?(Z=!0,Y=x.substr(2)):k=[],k.push(">"===x[0]?1:-1)):"="===x[0]?Y=x.substr(1):"~"===x[0]&&(Z=!0,Y=x.substr(1)),k.indexOf(h.default.compareVersions(Te,Y,Z))>-1},A.isOS=function(x){return this.getOSName(!0)===String(x).toLowerCase()},A.isPlatform=function(x){return this.getPlatformType(!0)===String(x).toLowerCase()},A.isEngine=function(x){return this.getEngineName(!0)===String(x).toLowerCase()},A.is=function(x,k){return void 0===k&&(k=!1),this.isBrowser(x,k)||this.isOS(x)||this.isPlatform(x)},A.some=function(x){var k=this;return void 0===x&&(x=[]),x.some(function(Y){return k.is(Y)})},L}();N.default=m,we.exports=N.default},92:function(we,N,z){"use strict";N.__esModule=!0,N.default=void 0;var F,C=(F=z(17))&&F.__esModule?F:{default:F},E=/version\/(\d+(\.?_?\d+)+)/i;N.default=[{test:[/googlebot/i],describe:function(h){var f={name:"Googlebot"},m=C.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,h)||C.default.getFirstMatch(E,h);return m&&(f.version=m),f}},{test:[/opera/i],describe:function(h){var f={name:"Opera"},m=C.default.getFirstMatch(E,h)||C.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/opr\/|opios/i],describe:function(h){var f={name:"Opera"},m=C.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,h)||C.default.getFirstMatch(E,h);return m&&(f.version=m),f}},{test:[/SamsungBrowser/i],describe:function(h){var f={name:"Samsung Internet for Android"},m=C.default.getFirstMatch(E,h)||C.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/Whale/i],describe:function(h){var f={name:"NAVER Whale Browser"},m=C.default.getFirstMatch(E,h)||C.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/MZBrowser/i],describe:function(h){var f={name:"MZ Browser"},m=C.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,h)||C.default.getFirstMatch(E,h);return m&&(f.version=m),f}},{test:[/focus/i],describe:function(h){var f={name:"Focus"},m=C.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,h)||C.default.getFirstMatch(E,h);return m&&(f.version=m),f}},{test:[/swing/i],describe:function(h){var f={name:"Swing"},m=C.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,h)||C.default.getFirstMatch(E,h);return m&&(f.version=m),f}},{test:[/coast/i],describe:function(h){var f={name:"Opera Coast"},m=C.default.getFirstMatch(E,h)||C.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(h){var f={name:"Opera Touch"},m=C.default.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,h)||C.default.getFirstMatch(E,h);return m&&(f.version=m),f}},{test:[/yabrowser/i],describe:function(h){var f={name:"Yandex Browser"},m=C.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,h)||C.default.getFirstMatch(E,h);return m&&(f.version=m),f}},{test:[/ucbrowser/i],describe:function(h){var f={name:"UC Browser"},m=C.default.getFirstMatch(E,h)||C.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/Maxthon|mxios/i],describe:function(h){var f={name:"Maxthon"},m=C.default.getFirstMatch(E,h)||C.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/epiphany/i],describe:function(h){var f={name:"Epiphany"},m=C.default.getFirstMatch(E,h)||C.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/puffin/i],describe:function(h){var f={name:"Puffin"},m=C.default.getFirstMatch(E,h)||C.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/sleipnir/i],describe:function(h){var f={name:"Sleipnir"},m=C.default.getFirstMatch(E,h)||C.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/k-meleon/i],describe:function(h){var f={name:"K-Meleon"},m=C.default.getFirstMatch(E,h)||C.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/micromessenger/i],describe:function(h){var f={name:"WeChat"},m=C.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,h)||C.default.getFirstMatch(E,h);return m&&(f.version=m),f}},{test:[/qqbrowser/i],describe:function(h){var f={name:/qqbrowserlite/i.test(h)?"QQ Browser Lite":"QQ Browser"},m=C.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,h)||C.default.getFirstMatch(E,h);return m&&(f.version=m),f}},{test:[/msie|trident/i],describe:function(h){var f={name:"Internet Explorer"},m=C.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/\sedg\//i],describe:function(h){var f={name:"Microsoft Edge"},m=C.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/edg([ea]|ios)/i],describe:function(h){var f={name:"Microsoft Edge"},m=C.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/vivaldi/i],describe:function(h){var f={name:"Vivaldi"},m=C.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/seamonkey/i],describe:function(h){var f={name:"SeaMonkey"},m=C.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/sailfish/i],describe:function(h){var f={name:"Sailfish"},m=C.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,h);return m&&(f.version=m),f}},{test:[/silk/i],describe:function(h){var f={name:"Amazon Silk"},m=C.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/phantom/i],describe:function(h){var f={name:"PhantomJS"},m=C.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/slimerjs/i],describe:function(h){var f={name:"SlimerJS"},m=C.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(h){var f={name:"BlackBerry"},m=C.default.getFirstMatch(E,h)||C.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/(web|hpw)[o0]s/i],describe:function(h){var f={name:"WebOS Browser"},m=C.default.getFirstMatch(E,h)||C.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/bada/i],describe:function(h){var f={name:"Bada"},m=C.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/tizen/i],describe:function(h){var f={name:"Tizen"},m=C.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,h)||C.default.getFirstMatch(E,h);return m&&(f.version=m),f}},{test:[/qupzilla/i],describe:function(h){var f={name:"QupZilla"},m=C.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,h)||C.default.getFirstMatch(E,h);return m&&(f.version=m),f}},{test:[/firefox|iceweasel|fxios/i],describe:function(h){var f={name:"Firefox"},m=C.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/electron/i],describe:function(h){var f={name:"Electron"},m=C.default.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/MiuiBrowser/i],describe:function(h){var f={name:"Miui"},m=C.default.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/chromium/i],describe:function(h){var f={name:"Chromium"},m=C.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,h)||C.default.getFirstMatch(E,h);return m&&(f.version=m),f}},{test:[/chrome|crios|crmo/i],describe:function(h){var f={name:"Chrome"},m=C.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/GSA/i],describe:function(h){var f={name:"Google Search"},m=C.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:function(h){var f=!h.test(/like android/i),m=h.test(/android/i);return f&&m},describe:function(h){var f={name:"Android Browser"},m=C.default.getFirstMatch(E,h);return m&&(f.version=m),f}},{test:[/playstation 4/i],describe:function(h){var f={name:"PlayStation 4"},m=C.default.getFirstMatch(E,h);return m&&(f.version=m),f}},{test:[/safari|applewebkit/i],describe:function(h){var f={name:"Safari"},m=C.default.getFirstMatch(E,h);return m&&(f.version=m),f}},{test:[/.*/i],describe:function(h){var f=-1!==h.search("\\(")?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:C.default.getFirstMatch(f,h),version:C.default.getSecondMatch(f,h)}}}],we.exports=N.default},93:function(we,N,z){"use strict";N.__esModule=!0,N.default=void 0;var F,C=(F=z(17))&&F.__esModule?F:{default:F},E=z(18);N.default=[{test:[/Roku\/DVP/],describe:function(h){var f=C.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,h);return{name:E.OS_MAP.Roku,version:f}}},{test:[/windows phone/i],describe:function(h){var f=C.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,h);return{name:E.OS_MAP.WindowsPhone,version:f}}},{test:[/windows /i],describe:function(h){var f=C.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,h),m=C.default.getWindowsVersionName(f);return{name:E.OS_MAP.Windows,version:f,versionName:m}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(h){var f={name:E.OS_MAP.iOS},m=C.default.getSecondMatch(/(Version\/)(\d[\d.]+)/,h);return m&&(f.version=m),f}},{test:[/macintosh/i],describe:function(h){var f=C.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,h).replace(/[_\s]/g,"."),m=C.default.getMacOSVersionName(f),L={name:E.OS_MAP.MacOS,version:f};return m&&(L.versionName=m),L}},{test:[/(ipod|iphone|ipad)/i],describe:function(h){var f=C.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,h).replace(/[_\s]/g,".");return{name:E.OS_MAP.iOS,version:f}}},{test:function(h){var f=!h.test(/like android/i),m=h.test(/android/i);return f&&m},describe:function(h){var f=C.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,h),m=C.default.getAndroidVersionName(f),L={name:E.OS_MAP.Android,version:f};return m&&(L.versionName=m),L}},{test:[/(web|hpw)[o0]s/i],describe:function(h){var f=C.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,h),m={name:E.OS_MAP.WebOS};return f&&f.length&&(m.version=f),m}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(h){var f=C.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,h)||C.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,h)||C.default.getFirstMatch(/\bbb(\d+)/i,h);return{name:E.OS_MAP.BlackBerry,version:f}}},{test:[/bada/i],describe:function(h){var f=C.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,h);return{name:E.OS_MAP.Bada,version:f}}},{test:[/tizen/i],describe:function(h){var f=C.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,h);return{name:E.OS_MAP.Tizen,version:f}}},{test:[/linux/i],describe:function(){return{name:E.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:E.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(h){var f=C.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,h);return{name:E.OS_MAP.PlayStation4,version:f}}}],we.exports=N.default},94:function(we,N,z){"use strict";N.__esModule=!0,N.default=void 0;var F,C=(F=z(17))&&F.__esModule?F:{default:F},E=z(18);N.default=[{test:[/googlebot/i],describe:function(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe:function(h){var f=C.default.getFirstMatch(/(can-l01)/i,h)&&"Nova",m={type:E.PLATFORMS_MAP.mobile,vendor:"Huawei"};return f&&(m.model=f),m}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:E.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:E.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(){return{type:E.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:E.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:E.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:E.PLATFORMS_MAP.tablet}}},{test:function(h){var f=h.test(/ipod|iphone/i),m=h.test(/like (ipod|iphone)/i);return f&&!m},describe:function(h){var f=C.default.getFirstMatch(/(ipod|iphone)/i,h);return{type:E.PLATFORMS_MAP.mobile,vendor:"Apple",model:f}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:E.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe:function(){return{type:E.PLATFORMS_MAP.mobile}}},{test:function(h){return"blackberry"===h.getBrowserName(!0)},describe:function(){return{type:E.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(h){return"bada"===h.getBrowserName(!0)},describe:function(){return{type:E.PLATFORMS_MAP.mobile}}},{test:function(h){return"windows phone"===h.getBrowserName()},describe:function(){return{type:E.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(h){var f=Number(String(h.getOSVersion()).split(".")[0]);return"android"===h.getOSName(!0)&&f>=3},describe:function(){return{type:E.PLATFORMS_MAP.tablet}}},{test:function(h){return"android"===h.getOSName(!0)},describe:function(){return{type:E.PLATFORMS_MAP.mobile}}},{test:function(h){return"macos"===h.getOSName(!0)},describe:function(){return{type:E.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(h){return"windows"===h.getOSName(!0)},describe:function(){return{type:E.PLATFORMS_MAP.desktop}}},{test:function(h){return"linux"===h.getOSName(!0)},describe:function(){return{type:E.PLATFORMS_MAP.desktop}}},{test:function(h){return"playstation 4"===h.getOSName(!0)},describe:function(){return{type:E.PLATFORMS_MAP.tv}}},{test:function(h){return"roku"===h.getOSName(!0)},describe:function(){return{type:E.PLATFORMS_MAP.tv}}}],we.exports=N.default},95:function(we,N,z){"use strict";N.__esModule=!0,N.default=void 0;var F,C=(F=z(17))&&F.__esModule?F:{default:F},E=z(18);N.default=[{test:function(h){return"microsoft edge"===h.getBrowserName(!0)},describe:function(h){if(/\sedg\//i.test(h))return{name:E.ENGINE_MAP.Blink};var f=C.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,h);return{name:E.ENGINE_MAP.EdgeHTML,version:f}}},{test:[/trident/i],describe:function(h){var f={name:E.ENGINE_MAP.Trident},m=C.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:function(h){return h.test(/presto/i)},describe:function(h){var f={name:E.ENGINE_MAP.Presto},m=C.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:function(h){var f=h.test(/gecko/i),m=h.test(/like gecko/i);return f&&!m},describe:function(h){var f={name:E.ENGINE_MAP.Gecko},m=C.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:E.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(h){var f={name:E.ENGINE_MAP.WebKit},m=C.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}}],we.exports=N.default}})},7354:en=>{const we="[A-Za-z$_][0-9A-Za-z$_]*",N=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],z=["true","false","null","undefined","NaN","Infinity"],F=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],C=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],E=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],G=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],h=[].concat(E,F,C);en.exports=function f(m){const L=m.regex,x=we,Z={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(kt,tt)=>{const At=kt[0].length+kt.index,_n=kt.input[At];if("<"===_n||","===_n)return void tt.ignoreMatch();let kn;">"===_n&&(((kt,{after:tt})=>{const At="",yi={match:[/const|var|let/,/\s+/,x,/\s*/,/=\s*/,/(async\s*)?/,L.lookahead(vi)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[ze]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:Te,exports:{PARAMS_CONTAINS:rr,CLASS_REFERENCE:oe},illegal:/#(?![$_A-z])/,contains:[m.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,et,be,tn,ct,gi,{match:/\$\d+/},Et,oe,{className:"attr",begin:x+L.lookahead(":"),relevance:0},yi,{begin:"("+m.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[gi,m.REGEXP_MODE,{className:"function",begin:vi,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:m.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:Te,contains:rr}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:"<>",end:""},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:Z.begin,"on:begin":Z.isTrulyOpeningTag,end:Z.end}],subLanguage:"xml",contains:[{begin:Z.begin,end:Z.end,skip:!0,contains:["self"]}]}]},Eo,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+m.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[ze,m.inherit(m.TITLE_MODE,{begin:x,className:"title.function"})]},{match:/\.\.\./,relevance:0},mn,{match:"\\$"+x,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[ze]},Ao,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},zt,Js,{match:/\$[(.]/}]}}},9574:en=>{const N=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],z=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],F=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],C=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],E=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();en.exports=function G(h){const f=(h=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:h.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[h.APOS_STRING_MODE,h.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:h.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}))(h),m=C,L=F,A="@[a-z-]+",Y={className:"variable",begin:"(\\$[a-zA-Z-][a-zA-Z0-9_-]*)\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[h.C_LINE_COMMENT_MODE,h.C_BLOCK_COMMENT_MODE,f.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},f.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+N.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+L.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+m.join("|")+")"},Y,{begin:/\(/,end:/\)/,contains:[f.CSS_NUMBER_MODE]},f.CSS_VARIABLE,{className:"attribute",begin:"\\b("+E.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[f.BLOCK_COMMENT,Y,f.HEXCOLOR,f.CSS_NUMBER_MODE,h.QUOTE_STRING_MODE,h.APOS_STRING_MODE,f.IMPORTANT,f.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:A,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:z.join(" ")},contains:[{begin:A,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},Y,h.QUOTE_STRING_MODE,h.APOS_STRING_MODE,f.HEXCOLOR,f.CSS_NUMBER_MODE]},f.FUNCTION_DISPATCH]}}},603:en=>{const we="[A-Za-z$_][0-9A-Za-z$_]*",N=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],z=["true","false","null","undefined","NaN","Infinity"],F=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],C=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],E=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],G=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],h=[].concat(E,F,C);en.exports=function m(L){const A=function f(L){const A=L.regex,k=we,Te={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(tt,At)=>{const _n=tt[0].length+tt.index,kn=tt.input[_n];if("<"===kn||","===kn)return void At.ignoreMatch();let Fn;">"===kn&&(((tt,{after:At})=>{const _n="",kt={match:[/const|var|let/,/\s+/,k,/\s*/,/=\s*/,/(async\s*)?/,A.lookahead(yi)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[zt]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:at,exports:{PARAMS_CONTAINS:ze,CLASS_REFERENCE:mi},illegal:/#(?![$_A-z])/,contains:[L.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},L.APOS_STRING_MODE,L.QUOTE_STRING_MODE,be,tn,ct,Ct,nr,{match:/\$\d+/},Mt,mi,{className:"attr",begin:k+A.lookahead(":"),relevance:0},kt,{begin:"("+L.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[nr,L.REGEXP_MODE,{className:"function",begin:yi,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:L.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:at,contains:ze}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:"<>",end:""},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:Te.begin,"on:begin":Te.isTrulyOpeningTag,end:Te.end}],subLanguage:"xml",contains:[{begin:Te.begin,end:Te.end,skip:!0,contains:["self"]}]}]},_i,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+L.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[zt,L.inherit(L.TITLE_MODE,{begin:k,className:"title.function"})]},{match:/\.\.\./,relevance:0},Js,{match:"\\$"+k,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[zt]},mn,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},oe,vi,{match:/\$[(.]/}]}}(L),x=we,k=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],Y={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[A.exports.CLASS_REFERENCE]},Z={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:k},contains:[A.exports.CLASS_REFERENCE]},$t={$pattern:we,keyword:N.concat(["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"]),literal:z,built_in:h.concat(k),"variable.language":G},lt={className:"meta",begin:"@"+x},Et=(et,be,tn)=>{const ct=et.contains.findIndex(Ct=>Ct.label===be);if(-1===ct)throw new Error("can not find mode to replace");et.contains.splice(ct,1,tn)};return Object.assign(A.keywords,$t),A.exports.PARAMS_CONTAINS.push(lt),A.contains=A.contains.concat([lt,Y,Z]),Et(A,"shebang",L.SHEBANG()),Et(A,"use_strict",{className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/}),A.contains.find(et=>"func.def"===et.label).relevance=0,Object.assign(A,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),A}},5149:en=>{en.exports=function we(N){const z=N.regex,F=z.concat(/[\p{L}_]/u,z.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),E={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},G={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},h=N.inherit(G,{begin:/\(/,end:/\)/}),f=N.inherit(N.APOS_STRING_MODE,{className:"string"}),m=N.inherit(N.QUOTE_STRING_MODE,{className:"string"}),L={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[G,m,f,h,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[G,h,m,f]}]}]},N.COMMENT(//,{relevance:10}),{begin://,relevance:10},E,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[m]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[L],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[L],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:z.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:F,relevance:0,starts:L}]},{className:"tag",begin:z.concat(/<\//,z.lookahead(z.concat(F,/>/))),contains:[{className:"name",begin:F,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}}},en=>{en(en.s=6410)}]); \ No newline at end of file +(self.webpackChunkng_select2=self.webpackChunkng_select2||[]).push([[179],{6410:(en,we,N)=>{"use strict";function z(e){return"function"==typeof e}let F=!1;const C={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){const n=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+n.stack)}else F&&console.log("RxJS: Back to a better error behavior. Thank you. <3");F=e},get useDeprecatedSynchronousErrorHandling(){return F}};function E(e){setTimeout(()=>{throw e},0)}const G={closed:!0,next(e){},error(e){if(C.useDeprecatedSynchronousErrorHandling)throw e;E(e)},complete(){}},h=Array.isArray||(e=>e&&"number"==typeof e.length);function f(e){return null!==e&&"object"==typeof e}const L=(()=>{function e(n){return Error.call(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((t,r)=>`${r+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n,this}return e.prototype=Object.create(Error.prototype),e})();class A{constructor(n){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,n&&(this._ctorUnsubscribe=!0,this._unsubscribe=n)}unsubscribe(){let n;if(this.closed)return;let{_parentOrParents:t,_ctorUnsubscribe:r,_unsubscribe:i,_subscriptions:o}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,t instanceof A)t.remove(this);else if(null!==t)for(let s=0;sn.concat(t instanceof L?t.errors:t),[])}A.EMPTY=((e=new A).closed=!0,e);const k="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class Z extends A{constructor(n,t,r){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=G;break;case 1:if(!n){this.destination=G;break}if("object"==typeof n){n instanceof Z?(this.syncErrorThrowable=n.syncErrorThrowable,this.destination=n,n.add(this)):(this.syncErrorThrowable=!0,this.destination=new Te(this,n));break}default:this.syncErrorThrowable=!0,this.destination=new Te(this,n,t,r)}}[k](){return this}static create(n,t,r){const i=new Z(n,t,r);return i.syncErrorThrowable=!1,i}next(n){this.isStopped||this._next(n)}error(n){this.isStopped||(this.isStopped=!0,this._error(n))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(n){this.destination.next(n)}_error(n){this.destination.error(n),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:n}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=n,this}}class Te extends Z{constructor(n,t,r,i){super(),this._parentSubscriber=n;let o,s=this;z(t)?o=t:t&&(o=t.next,r=t.error,i=t.complete,t!==G&&(s=Object.create(t),z(s.unsubscribe)&&this.add(s.unsubscribe.bind(s)),s.unsubscribe=this.unsubscribe.bind(this))),this._context=s,this._next=o,this._error=r,this._complete=i}next(n){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;C.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,n)&&this.unsubscribe():this.__tryOrUnsub(this._next,n)}}error(n){if(!this.isStopped){const{_parentSubscriber:t}=this,{useDeprecatedSynchronousErrorHandling:r}=C;if(this._error)r&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,n),this.unsubscribe()):(this.__tryOrUnsub(this._error,n),this.unsubscribe());else if(t.syncErrorThrowable)r?(t.syncErrorValue=n,t.syncErrorThrown=!0):E(n),this.unsubscribe();else{if(this.unsubscribe(),r)throw n;E(n)}}}complete(){if(!this.isStopped){const{_parentSubscriber:n}=this;if(this._complete){const t=()=>this._complete.call(this._context);C.useDeprecatedSynchronousErrorHandling&&n.syncErrorThrowable?(this.__tryOrSetError(n,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(n,t){try{n.call(this._context,t)}catch(r){if(this.unsubscribe(),C.useDeprecatedSynchronousErrorHandling)throw r;E(r)}}__tryOrSetError(n,t,r){if(!C.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,r)}catch(i){return C.useDeprecatedSynchronousErrorHandling?(n.syncErrorValue=i,n.syncErrorThrown=!0,!0):(E(i),!0)}return!1}_unsubscribe(){const{_parentSubscriber:n}=this;this._context=null,this._parentSubscriber=null,n.unsubscribe()}}const lt="function"==typeof Symbol&&Symbol.observable||"@@observable";function Et(e){return e}function et(e){return 0===e.length?Et:1===e.length?e[0]:function(t){return e.reduce((r,i)=>i(r),t)}}let be=(()=>{class e{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(t){const r=new e;return r.source=this,r.operator=t,r}subscribe(t,r,i){const{operator:o}=this,s=function $t(e,n,t){if(e){if(e instanceof Z)return e;if(e[k])return e[k]()}return e||n||t?new Z(e,n,t):new Z(G)}(t,r,i);if(s.add(o?o.call(s,this.source):this.source||C.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),C.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(t){try{return this._subscribe(t)}catch(r){C.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=r),function at(e){for(;e;){const{closed:n,destination:t,isStopped:r}=e;if(n||r)return!1;e=t&&t instanceof Z?t:null}return!0}(t)?t.error(r):console.warn(r)}}forEach(t,r){return new(r=tn(r))((i,o)=>{let s;s=this.subscribe(a=>{try{t(a)}catch(l){o(l),s&&s.unsubscribe()}},o,i)})}_subscribe(t){const{source:r}=this;return r&&r.subscribe(t)}[lt](){return this}pipe(...t){return 0===t.length?this:et(t)(this)}toPromise(t){return new(t=tn(t))((r,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>r(o))})}}return e.create=n=>new e(n),e})();function tn(e){if(e||(e=C.Promise||Promise),!e)throw new Error("no Promise impl found");return e}const Ct=(()=>{function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e})();class gi extends A{constructor(n,t){super(),this.subject=n,this.subscriber=t,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const n=this.subject,t=n.observers;if(this.subject=null,!t||0===t.length||n.isStopped||n.closed)return;const r=t.indexOf(this.subscriber);-1!==r&&t.splice(r,1)}}class nr extends Z{constructor(n){super(n),this.destination=n}}let je=(()=>{class e extends be{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[k](){return new nr(this)}lift(t){const r=new rr(this,this);return r.operator=t,r}next(t){if(this.closed)throw new Ct;if(!this.isStopped){const{observers:r}=this,i=r.length,o=r.slice();for(let s=0;snew rr(n,t),e})();class rr extends je{constructor(n,t){super(),this.destination=n,this.source=t}next(n){const{destination:t}=this;t&&t.next&&t.next(n)}error(n){const{destination:t}=this;t&&t.error&&this.destination.error(n)}complete(){const{destination:n}=this;n&&n.complete&&this.destination.complete()}_subscribe(n){const{source:t}=this;return t?this.source.subscribe(n):A.EMPTY}}class ze extends je{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const t=super._subscribe(n);return t&&!t.closed&&n.next(this._value),t}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new Ct;return this._value}next(n){super.next(this._value=n)}}function zt(e){return e&&"function"==typeof e.schedule}function oe(e,n){return function(r){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return r.lift(new mi(e,n))}}class mi{constructor(n,t){this.project=n,this.thisArg=t}call(n,t){return t.subscribe(new Eo(n,this.project,this.thisArg))}}class Eo extends Z{constructor(n,t,r){super(n),this.project=t,this.count=0,this.thisArg=r||this}_next(n){let t;try{t=this.project.call(this.thisArg,n,this.count++)}catch(r){return void this.destination.error(r)}this.destination.next(t)}}const _i=e=>n=>{for(let t=0,r=e.length;te&&"number"==typeof e.length&&"function"!=typeof e;function tt(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}const At=e=>{if(e&&"function"==typeof e[lt])return(e=>n=>{const t=e[lt]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(n)})(e);if(kt(e))return _i(e);if(tt(e))return(e=>n=>(e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,E),n))(e);if(e&&"function"==typeof e[mn])return(e=>n=>{const t=e[mn]();for(;;){let r;try{r=t.next()}catch(i){return n.error(i),n}if(r.done){n.complete();break}if(n.next(r.value),n.closed)break}return"function"==typeof t.return&&n.add(()=>{t.return&&t.return()}),n})(e);{const t=`You provided ${f(e)?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(t)}};function Fn(e,n){return new be(t=>{const r=new A;let i=0;return r.add(n.schedule(function(){i!==e.length?(t.next(e[i++]),t.closed||r.add(this.schedule())):t.complete()})),r})}function _t(e,n){return n?function RS(e,n){if(null!=e){if(function OS(e){return e&&"function"==typeof e[lt]}(e))return function _n(e,n){return new be(t=>{const r=new A;return r.add(n.schedule(()=>{const i=e[lt]();r.add(i.subscribe({next(o){r.add(n.schedule(()=>t.next(o)))},error(o){r.add(n.schedule(()=>t.error(o)))},complete(){r.add(n.schedule(()=>t.complete()))}}))})),r})}(e,n);if(tt(e))return function kn(e,n){return new be(t=>{const r=new A;return r.add(n.schedule(()=>e.then(i=>{r.add(n.schedule(()=>{t.next(i),r.add(n.schedule(()=>t.complete()))}))},i=>{r.add(n.schedule(()=>t.error(i)))}))),r})}(e,n);if(kt(e))return Fn(e,n);if(function xS(e){return e&&"function"==typeof e[mn]}(e)||"string"==typeof e)return function ea(e,n){if(!e)throw new Error("Iterable cannot be null");return new be(t=>{const r=new A;let i;return r.add(()=>{i&&"function"==typeof i.return&&i.return()}),r.add(n.schedule(()=>{i=e[mn](),r.add(n.schedule(function(){if(t.closed)return;let o,s;try{const a=i.next();o=a.value,s=a.done}catch(a){return void t.error(a)}s?t.complete():(t.next(o),this.schedule())}))})),r})}(e,n)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,n):e instanceof be?e:new be(At(e))}class bi extends Z{constructor(n){super(),this.parent=n}_next(n){this.parent.notifyNext(n)}_error(n){this.parent.notifyError(n),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class Ci extends Z{notifyNext(n){this.destination.next(n)}notifyError(n){this.destination.error(n)}notifyComplete(){this.destination.complete()}}function wi(e,n){if(n.closed)return;if(e instanceof be)return e.subscribe(n);let t;try{t=At(e)(n)}catch(r){n.error(r)}return t}function wt(e,n,t=Number.POSITIVE_INFINITY){return"function"==typeof n?r=>r.pipe(wt((i,o)=>_t(e(i,o)).pipe(oe((s,a)=>n(i,s,o,a))),t)):("number"==typeof n&&(t=n),r=>r.lift(new PS(e,t)))}class PS{constructor(n,t=Number.POSITIVE_INFINITY){this.project=n,this.concurrent=t}call(n,t){return t.subscribe(new NS(n,this.project,this.concurrent))}}class NS extends Ci{constructor(n,t,r=Number.POSITIVE_INFINITY){super(n),this.project=t,this.concurrent=r,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(n){this.active0?this._next(n.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function Di(e=Number.POSITIVE_INFINITY){return wt(Et,e)}function ta(e,n){return n?Fn(e,n):new be(_i(e))}function Jf(...e){let n=Number.POSITIVE_INFINITY,t=null,r=e[e.length-1];return zt(r)?(t=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(n=e.pop())):"number"==typeof r&&(n=e.pop()),null===t&&1===e.length&&e[0]instanceof be?e[0]:Di(n)(ta(e,t))}function ne(...e){let n=e[e.length-1];return zt(n)?(e.pop(),Fn(e,n)):ta(e)}function na(){return function(n){return n.lift(new kS(n))}}class kS{constructor(n){this.connectable=n}call(n,t){const{connectable:r}=this;r._refCount++;const i=new FS(n,r),o=t.subscribe(i);return i.closed||(i.connection=r.connect()),o}}class FS extends Z{constructor(n,t){super(n),this.connectable=t}_unsubscribe(){const{connectable:n}=this;if(!n)return void(this.connection=null);this.connectable=null;const t=n._refCount;if(t<=0)return void(this.connection=null);if(n._refCount=t-1,t>1)return void(this.connection=null);const{connection:r}=this,i=n._connection;this.connection=null,i&&(!r||i===r)&&i.unsubscribe()}}class xc extends be{constructor(n,t){super(),this.source=n,this.subjectFactory=t,this._refCount=0,this._isComplete=!1}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){const n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let n=this._connection;return n||(this._isComplete=!1,n=this._connection=new A,n.add(this.source.subscribe(new VS(this.getSubject(),this))),n.closed&&(this._connection=null,n=A.EMPTY)),n}refCount(){return na()(this)}}const LS=(()=>{const e=xc.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}})();class VS extends nr{constructor(n,t){super(n),this.connectable=t}_error(n){this._unsubscribe(),super._error(n)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const n=this.connectable;if(n){this.connectable=null;const t=n._connection;n._refCount=0,n._subject=null,n._connection=null,t&&t.unsubscribe()}}}class jS{constructor(n,t){this.subjectFactory=n,this.selector=t}call(n,t){const{selector:r}=this,i=this.subjectFactory(),o=r(i).subscribe(n);return o.add(t.subscribe(i)),o}}function US(){return new je}function ep(){return e=>na()(function HS(e,n){return function(r){let i;if(i="function"==typeof e?e:function(){return e},"function"==typeof n)return r.lift(new jS(i,n));const o=Object.create(r,LS);return o.source=r,o.subjectFactory=i,o}}(US)(e))}function nn(e,n){return"function"==typeof n?t=>t.pipe(nn((r,i)=>_t(e(r,i)).pipe(oe((o,s)=>n(r,o,i,s))))):t=>t.lift(new $S(e))}class $S{constructor(n){this.project=n}call(n,t){return t.subscribe(new zS(n,this.project))}}class zS extends Ci{constructor(n,t){super(n),this.project=t,this.index=0}_next(n){let t;const r=this.index++;try{t=this.project(n,r)}catch(i){return void this.destination.error(i)}this._innerSub(t)}_innerSub(n){const t=this.innerSubscription;t&&t.unsubscribe();const r=new bi(this),i=this.destination;i.add(r),this.innerSubscription=wi(n,r),this.innerSubscription!==r&&i.add(this.innerSubscription)}_complete(){const{innerSubscription:n}=this;(!n||n.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(n){this.destination.next(n)}}class WS{constructor(n,t){this.compare=n,this.keySelector=t}call(n,t){return t.subscribe(new qS(n,this.compare,this.keySelector))}}class qS extends Z{constructor(n,t,r){super(n),this.keySelector=r,this.hasKey=!1,"function"==typeof t&&(this.compare=t)}compare(n,t){return n===t}_next(n){let t;try{const{keySelector:i}=this;t=i?i(n):n}catch(i){return this.destination.error(i)}let r=!1;if(this.hasKey)try{const{compare:i}=this;r=i(this.key,t)}catch(i){return this.destination.error(i)}else this.hasKey=!0;r||(this.key=t,this.destination.next(n))}}function Oe(e){for(let n in e)if(e[n]===Oe)return n;throw Error("Could not find renamed property on target object.")}function ra(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function ut(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ut).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const n=e.toString();if(null==n)return""+n;const t=n.indexOf("\n");return-1===t?n:n.substring(0,t)}function Rc(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const ZS=Oe({__forward_ref__:Oe});function Le(e){return e.__forward_ref__=Le,e.toString=function(){return ut(this())},e}function se(e){return Pc(e)?e():e}function Pc(e){return"function"==typeof e&&e.hasOwnProperty(ZS)&&e.__forward_ref__===Le}function Nc(e){return e&&!!e.\u0275providers}const tp="https://g.co/ng/security#xss";class O extends Error{constructor(n,t){super(function ia(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}function ae(e){return"string"==typeof e?e:null==e?"":String(e)}function oa(e,n){throw new O(-201,!1)}function vn(e,n){null==e&&function Ee(e,n,t,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${t} ${r} ${n} <=Actual]`))}(n,e,null,"!=")}function U(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function nt(e){return{providers:e.providers||[],imports:e.imports||[]}}function sa(e){return np(e,aa)||np(e,ip)}function np(e,n){return e.hasOwnProperty(n)?e[n]:null}function rp(e){return e&&(e.hasOwnProperty(kc)||e.hasOwnProperty(nE))?e[kc]:null}const aa=Oe({\u0275prov:Oe}),kc=Oe({\u0275inj:Oe}),ip=Oe({ngInjectableDef:Oe}),nE=Oe({ngInjectorDef:Oe});var Q=(()=>((Q=Q||{})[Q.Default=0]="Default",Q[Q.Host=1]="Host",Q[Q.Self=2]="Self",Q[Q.SkipSelf=4]="SkipSelf",Q[Q.Optional=8]="Optional",Q))();let Fc;function Gt(e){const n=Fc;return Fc=e,n}function sp(e,n,t){const r=sa(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:t&Q.Optional?null:void 0!==n?n:void oa(ut(e))}const ke=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Io={},Lc="__NG_DI_FLAG__",la="ngTempTokenPath",iE=/\n/gm,ap="__source";let Si;function Dr(e){const n=Si;return Si=e,n}function aE(e,n=Q.Default){if(void 0===Si)throw new O(-203,!1);return null===Si?sp(e,void 0,n):Si.get(e,n&Q.Optional?null:void 0,n)}function P(e,n=Q.Default){return(function op(){return Fc}()||aE)(se(e),n)}function W(e,n=Q.Default){return P(e,ca(n))}function ca(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Vc(e){const n=[];for(let t=0;t((Ln=Ln||{})[Ln.OnPush=0]="OnPush",Ln[Ln.Default=1]="Default",Ln))(),on=(()=>(function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(on||(on={})),on))();const Vn={},De=[],ua=Oe({\u0275cmp:Oe}),Bc=Oe({\u0275dir:Oe}),Hc=Oe({\u0275pipe:Oe}),cp=Oe({\u0275mod:Oe}),or=Oe({\u0275fac:Oe}),Oo=Oe({__NG_ELEMENT_ID__:Oe}),up=Oe({__NG_ENV_ID__:Oe});function dp(e,n,t){let r=e.length;for(;;){const i=e.indexOf(n,t);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const o=n.length;if(i+o===r||e.charCodeAt(i+o)<=32)return i}t=i+1}}function jc(e,n,t){let r=0;for(;rn){s=o-1;break}}}for(;oo?"":i[d+1].toLowerCase();const g=8&r?p:null;if(g&&-1!==dp(g,c,0)||2&r&&c!==p){if(En(r))return!1;s=!0}}}}else{if(!s&&!En(r)&&!En(l))return!1;if(s&&En(l))continue;s=!1,r=l|1&r}}return En(r)||s}function En(e){return 0==(1&e)}function pE(e,n,t,r){if(null===n)return-1;let i=0;if(r||!t){let o=!1;for(;i-1)for(t++;t0?'="'+a+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""!==i&&!En(s)&&(n+=vp(o,i),i=""),r=s,o=o||!En(r);t++}return""!==i&&(n+=vp(o,i)),n}function Ei(e){return ir(()=>{const n=bp(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ln.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||on.Emulated,styles:e.styles||De,_:null,schemas:e.schemas||null,tView:null,id:""};Cp(t);const r=e.dependencies;return t.directiveDefs=da(r,!1),t.pipeDefs=da(r,!0),t.id=function AE(e){let n=0;const t=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const i of t)n=Math.imul(31,n)+i.charCodeAt(0)<<0;return n+=2147483648,"c"+n}(t),t})}function DE(e){return Me(e)||It(e)}function SE(e){return null!==e}function dt(e){return ir(()=>({type:e.type,bootstrap:e.bootstrap||De,declarations:e.declarations||De,imports:e.imports||De,exports:e.exports||De,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function yp(e,n){if(null==e)return Vn;const t={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),t[i]=r,n&&(n[i]=o)}return t}function X(e){return ir(()=>{const n=bp(e);return Cp(n),n})}function Wt(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function Me(e){return e[ua]||null}function It(e){return e[Bc]||null}function qt(e){return e[Hc]||null}function sn(e,n){const t=e[cp]||null;if(!t&&!0===n)throw new Error(`Type ${ut(e)} does not have '\u0275mod' property.`);return t}function bp(e){const n={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:e.inputs||Vn,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||De,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:yp(e.inputs,n),outputs:yp(e.outputs)}}function Cp(e){e.features?.forEach(n=>n(e))}function da(e,n){if(!e)return null;const t=n?qt:DE;return()=>("function"==typeof e?e():e).map(r=>t(r)).filter(SE)}const ht=0,H=1,ce=2,Ge=3,Mn=4,Ro=5,Tt=6,Ai=7,Ke=8,Ii=9,Br=10,ue=11,Po=12,wp=13,Ti=14,Xe=15,No=16,Oi=17,Bn=18,ko=19,Dp=20,Sr=21,sr=22,ha=23,fa=24,_e=25,Uc=1,Sp=2,Hn=7,xi=9,Ot=11;function an(e){return Array.isArray(e)&&"object"==typeof e[Uc]}function Zt(e){return Array.isArray(e)&&!0===e[Uc]}function $c(e){return 0!=(4&e.flags)}function Hr(e){return e.componentOffset>-1}function ga(e){return 1==(1&e.flags)}function An(e){return!!e.template}function zc(e){return 0!=(512&e[ce])}function jr(e,n){return e.hasOwnProperty(or)?e[or]:null}let PE=ke.WeakRef??class RE{constructor(n){this.ref=n}deref(){return this.ref}},kE=0,jn=null,ma=!1;function vt(e){const n=jn;return jn=e,n}class Tp{constructor(){this.id=kE++,this.ref=function NE(e){return new PE(e)}(this),this.producers=new Map,this.consumers=new Map,this.trackingVersion=0,this.valueVersion=0}consumerPollProducersForChange(){for(const[n,t]of this.producers){const r=t.producerNode.deref();if(null!=r&&t.atTrackingVersion===this.trackingVersion){if(r.producerPollStatus(t.seenValueVersion))return!0}else this.producers.delete(n),r?.consumers.delete(this.id)}return!1}producerMayHaveChanged(){const n=ma;ma=!0;try{for(const[t,r]of this.consumers){const i=r.consumerNode.deref();null!=i&&i.trackingVersion===r.atTrackingVersion?i.onConsumerDependencyMayHaveChanged():(this.consumers.delete(t),i?.producers.delete(this.id))}}finally{ma=n}}producerAccessed(){if(ma)throw new Error("");if(null===jn)return;let n=jn.producers.get(this.id);void 0===n?(n={consumerNode:jn.ref,producerNode:this.ref,seenValueVersion:this.valueVersion,atTrackingVersion:jn.trackingVersion},jn.producers.set(this.id,n),this.consumers.set(jn.id,n)):(n.seenValueVersion=this.valueVersion,n.atTrackingVersion=jn.trackingVersion)}get hasProducers(){return this.producers.size>0}get producerUpdatesAllowed(){return!1!==jn?.consumerAllowSignalWrites}producerPollStatus(n){return this.valueVersion!==n||(this.onProducerUpdateValueVersion(),this.valueVersion!==n)}}let Op=null;const Rp=()=>{};class BE extends Tp{constructor(n,t,r){super(),this.watch=n,this.schedule=t,this.dirty=!1,this.cleanupFn=Rp,this.registerOnCleanup=i=>{this.cleanupFn=i},this.consumerAllowSignalWrites=r}notify(){this.dirty||this.schedule(this),this.dirty=!0}onConsumerDependencyMayHaveChanged(){this.notify()}onProducerUpdateValueVersion(){}run(){if(this.dirty=!1,0!==this.trackingVersion&&!this.consumerPollProducersForChange())return;const n=vt(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=Rp,this.watch(this.registerOnCleanup)}finally{vt(n)}}cleanup(){this.cleanupFn()}}class HE{constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}}function Ft(){return Pp}function Pp(e){return e.type.prototype.ngOnChanges&&(e.setInput=UE),jE}function jE(){const e=kp(this),n=e?.current;if(n){const t=e.previous;if(t===Vn)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function UE(e,n,t,r){const i=this.declaredInputs[t],o=kp(e)||function $E(e,n){return e[Np]=n}(e,{previous:Vn,current:null}),s=o.current||(o.current={}),a=o.previous,l=a[i];s[i]=new HE(l&&l.currentValue,n,a===Vn),e[r]=n}Ft.ngInherit=!0;const Np="__ngSimpleChanges__";function kp(e){return e[Np]||null}const Un=function(e,n,t){};function Be(e){for(;Array.isArray(e);)e=e[ht];return e}function ya(e,n){return Be(n[e])}function Yt(e,n){return Be(n[e.index])}function Vp(e,n){return e.data[n]}function Ri(e,n){return e[n]}function ln(e,n){const t=n[e];return an(t)?t:t[ht]}function Er(e,n){return null==n?null:e[n]}function Bp(e){e[Oi]=0}function KE(e){1024&e[ce]||(e[ce]|=1024,jp(e,1))}function Hp(e){1024&e[ce]&&(e[ce]&=-1025,jp(e,-1))}function jp(e,n){let t=e[Ge];if(null===t)return;t[Ro]+=n;let r=t;for(t=t[Ge];null!==t&&(1===n&&1===r[Ro]||-1===n&&0===r[Ro]);)t[Ro]+=n,r=t,t=t[Ge]}const ie={lFrame:Qp(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function zp(){return ie.bindingsEnabled}function Pi(){return null!==ie.skipHydrationRootTNode}function I(){return ie.lFrame.lView}function Ce(){return ie.lFrame.tView}function xe(e){return ie.lFrame.contextLView=e,e[Ke]}function Re(e){return ie.lFrame.contextLView=null,e}function Dt(){let e=Gp();for(;null!==e&&64===e.type;)e=e.parent;return e}function Gp(){return ie.lFrame.currentTNode}function $n(e,n){const t=ie.lFrame;t.currentTNode=e,t.isParent=n}function Kc(){return ie.lFrame.isParent}function Xc(){ie.lFrame.isParent=!1}function Lt(){const e=ie.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Ni(){return ie.lFrame.bindingIndex++}function lr(e){const n=ie.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function lM(e,n){const t=ie.lFrame;t.bindingIndex=t.bindingRootIndex=e,Qc(n)}function Qc(e){ie.lFrame.currentDirectiveIndex=e}function Yp(){return ie.lFrame.currentQueryIndex}function eu(e){ie.lFrame.currentQueryIndex=e}function uM(e){const n=e[H];return 2===n.type?n.declTNode:1===n.type?e[Tt]:null}function Kp(e,n,t){if(t&Q.SkipSelf){let i=n,o=e;for(;!(i=i.parent,null!==i||t&Q.Host||(i=uM(o),null===i||(o=o[Ti],10&i.type))););if(null===i)return!1;n=i,e=o}const r=ie.lFrame=Xp();return r.currentTNode=n,r.lView=e,!0}function tu(e){const n=Xp(),t=e[H];ie.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function Xp(){const e=ie.lFrame,n=null===e?null:e.child;return null===n?Qp(e):n}function Qp(e){const n={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=n),n}function Jp(){const e=ie.lFrame;return ie.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const eg=Jp;function nu(){const e=Jp();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 Vt(){return ie.lFrame.selectedIndex}function Ur(e){ie.lFrame.selectedIndex=e}function We(){const e=ie.lFrame;return Vp(e.tView,e.selectedIndex)}let ng=!0;function ba(){return ng}function Mr(e){ng=e}function Ca(e,n){for(let t=n.directiveStart,r=n.directiveEnd;t=r)break}else n[l]<0&&(e[Oi]+=65536),(a>13>16&&(3&e[ce])===n&&(e[ce]+=8192,ig(a,o)):ig(a,o)}const ki=-1;class Vo{constructor(n,t,r){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=r}}function og(e){return e!==ki}function Sa(e){return 32767&e}function Ea(e,n){let t=function wM(e){return e>>16}(e),r=n;for(;t>0;)r=r[Ti],t--;return r}let ou=!0;function Ma(e){const n=ou;return ou=e,n}const sg=255,ag=5;let DM=0;const zn={};function Aa(e,n){const t=lg(e,n);if(-1!==t)return t;const r=n[H];r.firstCreatePass&&(e.injectorIndex=n.length,su(r.data,e),su(n,null),su(r.blueprint,null));const i=au(e,n),o=e.injectorIndex;if(og(i)){const s=Sa(i),a=Ea(i,n),l=a[H].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=i,o}function su(e,n){e.push(0,0,0,0,0,0,0,0,n)}function lg(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function au(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let t=0,r=null,i=n;for(;null!==i;){if(r=gg(i),null===r)return ki;if(t++,i=i[Ti],-1!==r.injectorIndex)return r.injectorIndex|t<<16}return ki}function lu(e,n,t){!function SM(e,n,t){let r;"string"==typeof t?r=t.charCodeAt(0)||0:t.hasOwnProperty(Oo)&&(r=t[Oo]),null==r&&(r=t[Oo]=DM++);const i=r&sg;n.data[e+(i>>ag)]|=1<=0?n&sg:IM:n}(t);if("function"==typeof o){if(!Kp(n,e,r))return r&Q.Host?cg(i,0,r):ug(n,t,r,i);try{const s=o(r);if(null!=s||r&Q.Optional)return s;oa()}finally{eg()}}else if("number"==typeof o){let s=null,a=lg(e,n),l=ki,c=r&Q.Host?n[Xe][Tt]:null;for((-1===a||r&Q.SkipSelf)&&(l=-1===a?au(e,n):n[a+8],l!==ki&&pg(r,!1)?(s=n[H],a=Sa(l),n=Ea(l,n)):a=-1);-1!==a;){const u=n[H];if(fg(o,a,u.data)){const d=MM(a,n,t,s,r,c);if(d!==zn)return d}l=n[a+8],l!==ki&&pg(r,n[H].data[a+8]===c)&&fg(o,a,n)?(s=u,a=Sa(l),n=Ea(l,n)):a=-1}}return i}function MM(e,n,t,r,i,o){const s=n[H],a=s.data[e+8],u=Ia(a,s,t,null==r?Hr(a)&&ou:r!=s&&0!=(3&a.type),i&Q.Host&&o===a);return null!==u?$r(n,s,u,a):zn}function Ia(e,n,t,r,i){const o=e.providerIndexes,s=n.data,a=1048575&o,l=e.directiveStart,u=o>>20,p=i?a+u:e.directiveEnd;for(let g=r?a:a+u;g=l&&y.type===t)return g}if(i){const g=s[l];if(g&&An(g)&&g.type===t)return l}return null}function $r(e,n,t,r){let i=e[t];const o=n.data;if(function yM(e){return e instanceof Vo}(i)){const s=i;s.resolving&&function YS(e,n){const t=n?`. Dependency path: ${n.join(" > ")} > ${e}`:"";throw new O(-200,`Circular dependency in DI detected for ${e}${t}`)}(function Ae(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ae(e)}(o[t]));const a=Ma(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?Gt(s.injectImpl):null;Kp(e,r,Q.Default);try{i=e[t]=s.factory(void 0,o,e,r),n.firstCreatePass&&t>=r.directiveStart&&function _M(e,n,t){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=n.type.prototype;if(r){const s=Pp(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}i&&(t.preOrderHooks??=[]).push(0-e,i),o&&((t.preOrderHooks??=[]).push(e,o),(t.preOrderCheckHooks??=[]).push(e,o))}(t,o[t],n)}finally{null!==l&&Gt(l),Ma(a),s.resolving=!1,eg()}}return i}function fg(e,n,t){return!!(t[n+(e>>ag)]&1<{const n=e.prototype.constructor,t=n[or]||cu(n),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const o=i[or]||cu(i);if(o&&o!==t)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function cu(e){return Pc(e)?()=>{const n=cu(se(e));return n&&n()}:jr(e)}function gg(e){const n=e[H],t=n.type;return 2===t?n.declTNode:1===t?e[Tt]:null}function Bo(e){return function EM(e,n){if("class"===n)return e.classes;if("style"===n)return e.styles;const t=e.attrs;if(t){const r=t.length;let i=0;for(;i{const r=function uu(e){return function(...t){if(e){const r=e(...t);for(const i in r)this[i]=r[i]}}}(n);function i(...o){if(this instanceof i)return r.apply(this,o),this;const s=new i(...o);return a.annotation=s,a;function a(l,c,u){const d=l.hasOwnProperty(Vi)?l[Vi]:Object.defineProperty(l,Vi,{value:[]})[Vi];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return t&&(i.prototype=Object.create(t.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}function Uo(e,n){e.forEach(t=>Array.isArray(t)?Uo(t,n):n(t))}function _g(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Ta(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function $o(e,n){const t=[];for(let r=0;r=0?e[1|r]=t:(r=~r,function NM(e,n,t,r){let i=e.length;if(i==n)e.push(t,r);else if(1===i)e.push(r,e[0]),e[0]=t;else{for(i--,e.push(e[i-1],e[i]);i>n;)e[i]=e[i-2],i--;e[n]=t,e[n+1]=r}}(e,r,n,t)),r}function du(e,n){const t=ji(e,n);if(t>=0)return e[1|t]}function ji(e,n){return function vg(e,n,t){let r=0,i=e.length>>t;for(;i!==r;){const o=r+(i-r>>1),s=e[o<n?i=o:r=o+1}return~(i<((Kt=Kt||{})[Kt.Important=1]="Important",Kt[Kt.DashCase=2]="DashCase",Kt))();const t0=/^>|^->||--!>|)/,r0="\u200b$1\u200b";const mu=new Map;let o0=0;const vu="__ngContext__";function xt(e,n){an(n)?(e[vu]=n[ko],function a0(e){mu.set(e[ko],e)}(n)):e[vu]=n}let yu;function bu(e,n){return yu(e,n)}function Wo(e){const n=e[Ge];return Zt(n)?n[Ge]:n}function Vg(e){return Hg(e[Po])}function Bg(e){return Hg(e[Mn])}function Hg(e){for(;null!==e&&!Zt(e);)e=e[Mn];return e}function zi(e,n,t,r,i){if(null!=r){let o,s=!1;Zt(r)?o=r:an(r)&&(s=!0,r=r[ht]);const a=Be(r);0===e&&null!==t?null==i?Gg(n,t,a):zr(n,t,a,i||null,!0):1===e&&null!==t?zr(n,t,a,i||null,!0):2===e?function $a(e,n,t){const r=ja(e,n);r&&function M0(e,n,t,r){e.removeChild(n,t,r)}(e,r,n,t)}(n,a,s):3===e&&n.destroyNode(a),null!=o&&function T0(e,n,t,r,i){const o=t[Hn];o!==Be(t)&&zi(n,e,r,o,i);for(let a=Ot;an.replace(n0,r0))}(n))}function Ha(e,n,t){return e.createElement(n,t)}function Ug(e,n){const t=e[xi],r=t.indexOf(n);Hp(n),t.splice(r,1)}function wu(e,n){if(e.length<=Ot)return;const t=Ot+n,r=e[t];if(r){const i=r[No];null!==i&&i!==e&&Ug(i,r),n>0&&(e[t-1][Mn]=r[Mn]);const o=Ta(e,Ot+n);!function v0(e,n){Zo(e,n,n[ue],2,null,null),n[ht]=null,n[Tt]=null}(r[H],r);const s=o[Bn];null!==s&&s.detachView(o[H]),r[Ge]=null,r[Mn]=null,r[ce]&=-129}return r}function $g(e,n){if(!(256&n[ce])){const t=n[ue];n[ha]?.destroy(),n[fa]?.destroy(),t.destroyNode&&Zo(e,n,t,3,null,null),function C0(e){let n=e[Po];if(!n)return Du(e[H],e);for(;n;){let t=null;if(an(n))t=n[Po];else{const r=n[Ot];r&&(t=r)}if(!t){for(;n&&!n[Mn]&&n!==e;)an(n)&&Du(n[H],n),n=n[Ge];null===n&&(n=e),an(n)&&Du(n[H],n),t=n&&n[Mn]}n=t}}(n)}}function Du(e,n){if(!(256&n[ce])){n[ce]&=-129,n[ce]|=256,function E0(e,n){let t;if(null!=e&&null!=(t=e.destroyHooks))for(let r=0;r=0?r[s]():r[-s].unsubscribe(),o+=2}else t[o].call(r[t[o+1]]);null!==r&&(n[Ai]=null);const i=n[Sr];if(null!==i){n[Sr]=null;for(let o=0;o-1){const{encapsulation:o}=e.data[r.directiveStart+i];if(o===on.None||o===on.Emulated)return null}return Yt(r,t)}}(e,n.parent,t)}function zr(e,n,t,r,i){e.insertBefore(n,t,r,i)}function Gg(e,n,t){e.appendChild(n,t)}function Wg(e,n,t,r,i){null!==r?zr(e,n,t,r,i):Gg(e,n,t)}function ja(e,n){return e.parentNode(n)}function qg(e,n,t){return Yg(e,n,t)}let Eu,za,Tu,Ga,Yg=function Zg(e,n,t){return 40&e.type?Yt(e,t):null};function Ua(e,n,t,r){const i=Su(e,r,n),o=n[ue],a=qg(r.parent||n[Tt],r,n);if(null!=i)if(Array.isArray(t))for(let l=0;le,createScript:e=>e,createScriptURL:e=>e})}catch{}return za}()?.createHTML(e)||e}function Yo(){if(void 0!==Tu)return Tu;if(typeof document<"u")return document;throw new O(210,!1)}function Ou(){if(void 0===Ga&&(Ga=null,ke.trustedTypes))try{Ga=ke.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ga}function nm(e){return Ou()?.createHTML(e)||e}function im(e){return Ou()?.createScriptURL(e)||e}class Gr{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${tp})`}}class F0 extends Gr{getTypeName(){return"HTML"}}class L0 extends Gr{getTypeName(){return"Style"}}class V0 extends Gr{getTypeName(){return"Script"}}class B0 extends Gr{getTypeName(){return"URL"}}class H0 extends Gr{getTypeName(){return"ResourceURL"}}function un(e){return e instanceof Gr?e.changingThisBreaksApplicationSecurity:e}function Gn(e,n){const t=function j0(e){return e instanceof Gr&&e.getTypeName()||null}(e);if(null!=t&&t!==n){if("ResourceURL"===t&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${tp})`)}return t===n}class q0{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{const t=(new window.DOMParser).parseFromString(Gi(n),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.removeChild(t.firstChild),t)}catch{return null}}}class Z0{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const t=this.inertDocument.createElement("template");return t.innerHTML=Gi(n),t}}const K0=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Wa(e){return(e=String(e)).match(K0)?e:"unsafe:"+e}function cr(e){const n={};for(const t of e.split(","))n[t]=!0;return n}function Ko(...e){const n={};for(const t of e)for(const r in t)t.hasOwnProperty(r)&&(n[r]=!0);return n}const sm=cr("area,br,col,hr,img,wbr"),am=cr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),lm=cr("rp,rt"),xu=Ko(sm,Ko(am,cr("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Ko(lm,cr("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Ko(lm,am)),Ru=cr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),cm=Ko(Ru,cr("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),cr("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),X0=cr("script,style,template");class Q0{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let t=n.firstChild,r=!0;for(;t;)if(t.nodeType===Node.ELEMENT_NODE?r=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,r&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let i=this.checkClobberedElement(t,t.nextSibling);if(i){t=i;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(n){const t=n.nodeName.toLowerCase();if(!xu.hasOwnProperty(t))return this.sanitizedSomething=!0,!X0.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const r=n.attributes;for(let i=0;i"),!0}endElement(n){const t=n.nodeName.toLowerCase();xu.hasOwnProperty(t)&&!sm.hasOwnProperty(t)&&(this.buf.push(""))}chars(n){this.buf.push(um(n))}checkClobberedElement(n,t){if(t&&(n.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`);return t}}const J0=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,eA=/([^\#-~ |!])/g;function um(e){return e.replace(/&/g,"&").replace(J0,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(eA,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}let qa;function dm(e,n){let t=null;try{qa=qa||function om(e){const n=new Z0(e);return function Y0(){try{return!!(new window.DOMParser).parseFromString(Gi(""),"text/html")}catch{return!1}}()?new q0(n):n}(e);let r=n?String(n):"";t=qa.getInertBodyElement(r);let i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=t.innerHTML,t=qa.getInertBodyElement(r)}while(r!==o);return Gi((new Q0).sanitizeChildren(Pu(t)||t))}finally{if(t){const r=Pu(t)||t;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Pu(e){return"content"in e&&function tA(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Fe=(()=>((Fe=Fe||{})[Fe.NONE=0]="NONE",Fe[Fe.HTML=1]="HTML",Fe[Fe.STYLE=2]="STYLE",Fe[Fe.SCRIPT=3]="SCRIPT",Fe[Fe.URL=4]="URL",Fe[Fe.RESOURCE_URL=5]="RESOURCE_URL",Fe))();function In(e){const n=Xo();return n?nm(n.sanitize(Fe.HTML,e)||""):Gn(e,"HTML")?nm(un(e)):dm(Yo(),ae(e))}function hm(e){const n=Xo();return n?n.sanitize(Fe.URL,e)||"":Gn(e,"URL")?un(e):Wa(ae(e))}function fm(e){const n=Xo();if(n)return im(n.sanitize(Fe.RESOURCE_URL,e)||"");if(Gn(e,"ResourceURL"))return im(un(e));throw new O(904,!1)}function Xo(){const e=I();return e&&e[Br].sanitizer}class ${constructor(n,t){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=U({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Qo=new $("ENVIRONMENT_INITIALIZER"),gm=new $("INJECTOR",-1),mm=new $("INJECTOR_DEF_TYPES");class _m{get(n,t=Io){if(t===Io){const r=new Error(`NullInjectorError: No provider for ${ut(n)}!`);throw r.name="NullInjectorError",r}return t}}function aA(...e){return{\u0275providers:ym(0,e),\u0275fromNgModule:!0}}function ym(e,...n){const t=[],r=new Set;let i;return Uo(n,o=>{const s=o;Nu(s,t,[],r)&&(i||=[],i.push(s))}),void 0!==i&&bm(i,t),t}function bm(e,n){for(let t=0;t{n.push(o)})}}function Nu(e,n,t,r){if(!(e=se(e)))return!1;let i=null,o=rp(e);const s=!o&&Me(e);if(o||s){if(s&&!s.standalone)return!1;i=e}else{const l=e.ngModule;if(o=rp(l),!o)return!1;i=l}const a=r.has(i);if(s){if(a)return!1;if(r.add(i),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)Nu(c,n,t,r)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;r.add(i);try{Uo(o.imports,u=>{Nu(u,n,t,r)&&(c||=[],c.push(u))})}finally{}void 0!==c&&bm(c,n)}if(!a){const c=jr(i)||(()=>new i);n.push({provide:i,useFactory:c,deps:De},{provide:mm,useValue:i,multi:!0},{provide:Qo,useValue:()=>P(i),multi:!0})}const l=o.providers;null==l||a||ku(l,u=>{n.push(u)})}}return i!==e&&void 0!==e.providers}function ku(e,n){for(let t of e)Nc(t)&&(t=t.\u0275providers),Array.isArray(t)?ku(t,n):n(t)}const lA=Oe({provide:String,useValue:Oe});function Fu(e){return null!==e&&"object"==typeof e&&lA in e}function Wr(e){return"function"==typeof e}const Lu=new $("Set Injector scope."),Za={},uA={};let Vu;function Ya(){return void 0===Vu&&(Vu=new _m),Vu}class ur{}class Bu extends ur{get destroyed(){return this._destroyed}constructor(n,t,r,i){super(),this.parent=t,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,ju(n,s=>this.processProvider(s)),this.records.set(gm,Wi(void 0,this)),i.has("environment")&&this.records.set(ur,Wi(void 0,this));const o=this.records.get(Lu);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(mm.multi,De,Q.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const t of n)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const t=Dr(this),r=Gt(void 0);try{return n()}finally{Dr(t),Gt(r)}}get(n,t=Io,r=Q.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(up))return n[up](this);r=ca(r);const i=Dr(this),o=Gt(void 0);try{if(!(r&Q.SkipSelf)){let a=this.records.get(n);if(void 0===a){const l=function gA(e){return"function"==typeof e||"object"==typeof e&&e instanceof $}(n)&&sa(n);a=l&&this.injectableDefInScope(l)?Wi(Hu(n),Za):null,this.records.set(n,a)}if(null!=a)return this.hydrate(n,a)}return(r&Q.Self?Ya():this.parent).get(n,t=r&Q.Optional&&t===Io?null:t)}catch(s){if("NullInjectorError"===s.name){if((s[la]=s[la]||[]).unshift(ut(n)),i)throw s;return function cE(e,n,t,r){const i=e[la];throw n[ap]&&i.unshift(n[ap]),e.message=function uE(e,n,t,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=ut(n);if(Array.isArray(n))i=n.map(ut).join(" -> ");else if("object"==typeof n){let o=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):ut(a)))}i=`{${o.join(", ")}}`}return`${t}${r?"("+r+")":""}[${i}]: ${e.replace(iE,"\n ")}`}("\n"+e.message,i,t,r),e.ngTokenPath=i,e[la]=null,e}(s,n,"R3InjectorError",this.source)}throw s}finally{Gt(o),Dr(i)}}resolveInjectorInitializers(){const n=Dr(this),t=Gt(void 0);try{const r=this.get(Qo.multi,De,Q.Self);for(const i of r)i()}finally{Dr(n),Gt(t)}}toString(){const n=[],t=this.records;for(const r of t.keys())n.push(ut(r));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new O(205,!1)}processProvider(n){let t=Wr(n=se(n))?n:se(n&&n.provide);const r=function hA(e){return Fu(e)?Wi(void 0,e.useValue):Wi(Dm(e),Za)}(n);if(Wr(n)||!0!==n.multi)this.records.get(t);else{let i=this.records.get(t);i||(i=Wi(void 0,Za,!0),i.factory=()=>Vc(i.multi),this.records.set(t,i)),t=n,i.multi.push(n)}this.records.set(t,r)}hydrate(n,t){return t.value===Za&&(t.value=uA,t.value=t.factory()),"object"==typeof t.value&&t.value&&function pA(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}injectableDefInScope(n){if(!n.providedIn)return!1;const t=se(n.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){const t=this._onDestroyHooks.indexOf(n);-1!==t&&this._onDestroyHooks.splice(t,1)}}function Hu(e){const n=sa(e),t=null!==n?n.factory:jr(e);if(null!==t)return t;if(e instanceof $)throw new O(204,!1);if(e instanceof Function)return function dA(e){const n=e.length;if(n>0)throw $o(n,"?"),new O(204,!1);const t=function tE(e){return e&&(e[aa]||e[ip])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new O(204,!1)}function Dm(e,n,t){let r;if(Wr(e)){const i=se(e);return jr(i)||Hu(i)}if(Fu(e))r=()=>se(e.useValue);else if(function wm(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Vc(e.deps||[]));else if(function Cm(e){return!(!e||!e.useExisting)}(e))r=()=>P(se(e.useExisting));else{const i=se(e&&(e.useClass||e.provide));if(!function fA(e){return!!e.deps}(e))return jr(i)||Hu(i);r=()=>new i(...Vc(e.deps))}return r}function Wi(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function ju(e,n){for(const t of e)Array.isArray(t)?ju(t,n):t&&Nc(t)?ju(t.\u0275providers,n):n(t)}const Ka=new $("AppId",{providedIn:"root",factory:()=>mA}),mA="ng",Sm=new $("Platform Initializer"),dr=new $("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),_A=new $("AnimationModuleType"),Em=new $("CSP nonce",{providedIn:"root",factory:()=>Yo().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Am=(e,n)=>null;function Im(e,n){return Am(e,n)}class MA{}class xm{}class IA{resolveComponentFactory(n){throw function AA(e){const n=Error(`No component factory found for ${ut(e)}.`);return n.ngComponent=e,n}(n)}}let ns=(()=>{class e{}return e.NULL=new IA,e})();function TA(){return qi(Dt(),I())}function qi(e,n){return new pt(Yt(e,n))}let pt=(()=>{class e{constructor(t){this.nativeElement=t}}return e.__NG_ELEMENT_ID__=TA,e})();function OA(e){return e instanceof pt?e.nativeElement:e}class Pm{}let hr=(()=>{class e{constructor(){this.destroyNode=null}}return e.__NG_ELEMENT_ID__=()=>function xA(){const e=I(),t=ln(Dt().index,e);return(an(t)?t:e)[ue]}(),e})(),RA=(()=>{class e{}return e.\u0275prov=U({token:e,providedIn:"root",factory:()=>null}),e})();class rs{constructor(n){this.full=n,this.major=n.split(".")[0],this.minor=n.split(".")[1],this.patch=n.split(".").slice(2).join(".")}}const PA=new rs("16.1.6"),Qu={};function is(e){for(;e;){e[ce]|=64;const n=Wo(e);if(zc(e)&&!n)return e;e=n}return null}function Ju(e){return e.ngOriginalError}class qr{constructor(){this._console=console}handleError(n){const t=this._findOriginalError(n);this._console.error("ERROR",n),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(n){let t=n&&Ju(n);for(;t&&Ju(t);)t=Ju(t);return t||null}}const Fm=new $("",{providedIn:"root",factory:()=>!1});function Lm(e){return e.ownerDocument}function fr(e){return e instanceof Function?e():e}class Um extends Tp{constructor(){super(...arguments),this.consumerAllowSignalWrites=!1,this._lView=null}set lView(n){this._lView=n}onConsumerDependencyMayHaveChanged(){is(this._lView)}onProducerUpdateValueVersion(){}get hasReadASignal(){return this.hasProducers}runInContext(n,t,r){const i=vt(this);this.trackingVersion++;try{n(t,r)}finally{vt(i)}}destroy(){this.trackingVersion++}}let nl=null;function $m(){return nl??=new Um,nl}function zm(e,n){return e[n]??$m()}function Gm(e,n){const t=$m();t.hasReadASignal&&(e[n]=nl,t.lView=e,nl=new Um)}const de={};function w(e){Wm(Ce(),I(),Vt()+e,!1)}function Wm(e,n,t,r){if(!r)if(3==(3&n[ce])){const o=e.preOrderCheckHooks;null!==o&&wa(n,o,t)}else{const o=e.preOrderHooks;null!==o&&Da(n,o,0,t)}Ur(t)}function Km(e,n=null,t=null,r){const i=Xm(e,n,t,r);return i.resolveInjectorInitializers(),i}function Xm(e,n=null,t=null,r,i=new Set){const o=[t||De,aA(e)];return r=r||("object"==typeof e?void 0:ut(e)),new Bu(o,n||Ya(),r||null,i)}let dn=(()=>{class e{static create(t,r){if(Array.isArray(t))return Km({name:""},r,t,"");{const i=t.name??"";return Km({name:i},t.parent,t.providers,i)}}}return e.THROW_IF_NOT_FOUND=Io,e.NULL=new _m,e.\u0275prov=U({token:e,providedIn:"any",factory:()=>P(gm)}),e.__NG_ELEMENT_ID__=-1,e})();function M(e,n=Q.Default){const t=I();return null===t?P(e,n):dg(Dt(),t,se(e),n)}function rl(e,n,t,r,i,o,s,a,l,c,u){const d=n.blueprint.slice();return d[ht]=i,d[ce]=140|r,(null!==c||e&&2048&e[ce])&&(d[ce]|=2048),Bp(d),d[Ge]=d[Ti]=e,d[Ke]=t,d[Br]=s||e&&e[Br],d[ue]=a||e&&e[ue],d[Ii]=l||e&&e[Ii]||null,d[Tt]=o,d[ko]=function s0(){return o0++}(),d[sr]=u,d[Dp]=c,d[Xe]=2==n.type?e[Xe]:d,d}function Yi(e,n,t,r,i){let o=e.data[n];if(null===o)o=function ed(e,n,t,r,i){const o=Gp(),s=Kc(),l=e.data[n]=function JA(e,n,t,r,i,o){let s=n?n.injectorIndex:-1,a=0;return Pi()&&(a|=128),{type:t,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?o:o&&o.parent,t,n,r,i);return null===e.firstChild&&(e.firstChild=l),null!==o&&(s?null==o.child&&null!==l.parent&&(o.child=l):null===o.next&&(o.next=l,l.prev=o)),l}(e,n,t,r,i),function aM(){return ie.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=t,o.value=r,o.attrs=i;const s=function Lo(){const e=ie.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}();o.injectorIndex=null===s?-1:s.injectorIndex}return $n(o,!0),o}function os(e,n,t,r){if(0===t)return-1;const i=n.length;for(let o=0;o_e&&Wm(e,n,_e,!1),Un(a?2:0,i),a)o.runInContext(t,r,i);else{const c=vt(null);try{t(r,i)}finally{vt(c)}}}finally{a&&null===n[ha]&&Gm(n,ha),Ur(s),Un(a?3:1,i)}}function td(e,n,t){if($c(n)){const r=vt(null);try{const o=n.directiveEnd;for(let s=n.directiveStart;snull;function n_(e,n,t,r){for(let i in e)if(e.hasOwnProperty(i)){t=null===t?{}:t;const o=e[i];null===r?r_(t,n,i,o):r.hasOwnProperty(i)&&r_(t,n,r[i],o)}return t}function r_(e,n,t,r){e.hasOwnProperty(t)?e[t].push(n,r):e[t]=[n,r]}function hn(e,n,t,r,i,o,s,a){const l=Yt(n,t);let u,c=n.inputs;!a&&null!=c&&(u=c[r])?(cd(e,t,u,r,i),Hr(n)&&function nI(e,n){const t=ln(n,e);16&t[ce]||(t[ce]|=64)}(t,n.index)):3&n.type&&(r=function tI(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=s?s(i,n.value||"",r):i,o.setProperty(l,r,i))}function od(e,n,t,r){if(zp()){const i=null===r?null:{"":-1},o=function lI(e,n){const t=e.directiveRegistry;let r=null,i=null;if(t)for(let o=0;o0;){const t=e[--n];if("number"==typeof t&&t<0)return t}return 0})(s)!=a&&s.push(a),s.push(t,r,o)}}(e,n,r,os(e,t,i.hostVars,de),i)}function Wn(e,n,t,r,i,o){const s=Yt(e,n);!function ad(e,n,t,r,i,o,s){if(null==o)e.removeAttribute(n,i,t);else{const a=null==s?ae(o):s(o,r||"",i);e.setAttribute(n,i,a,t)}}(n[ue],s,o,e.value,t,r,i)}function pI(e,n,t,r,i,o){const s=o[n];if(null!==s)for(let a=0;a{class e{constructor(){this.all=new Set,this.queue=new Map}create(t,r,i){const o=typeof Zone>"u"?null:Zone.current,s=new BE(t,c=>{this.all.has(c)&&this.queue.set(c,o)},i);let a;this.all.add(s),s.notify();const l=()=>{s.cleanup(),a?.(),this.all.delete(s),this.queue.delete(s)};return a=r?.onDestroy(l),{destroy:l}}flush(){if(0!==this.queue.size)for(const[t,r]of this.queue)this.queue.delete(t),r?r.run(()=>t.run()):t.run()}get isQueueEmpty(){return 0===this.queue.size}}return e.\u0275prov=U({token:e,providedIn:"root",factory:()=>new e}),e})();function ol(e,n,t){let r=t?e.styles:null,i=t?e.classes:null,o=0;if(null!==n)for(let s=0;s0){g_(e,1);const i=e[H].components;null!==i&&__(e,i,1)}}function __(e,n,t){for(let r=0;r-1&&(wu(n,r),Ta(t,r))}this._attachedToViewContainer=!1}$g(this._lView[H],this._lView)}onDestroy(n){!function Up(e,n){if(256==(256&e[ce]))throw new O(911,!1);null===e[Sr]&&(e[Sr]=[]),e[Sr].push(n)}(this._lView,n)}markForCheck(){is(this._cdRefInjectingView||this._lView)}detach(){this._lView[ce]&=-129}reattach(){this._lView[ce]|=128}detectChanges(){sl(this._lView[H],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new O(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function b0(e,n){Zo(e,n,n[ue],2,null,null)}(this._lView[H],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new O(902,!1);this._appRef=n}}class EI extends as{constructor(n){super(n),this._view=n}detectChanges(){const n=this._view;sl(n[H],n,n[Ke],!1)}checkNoChanges(){}get context(){return null}}class v_ extends ns{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const t=Me(n);return new ls(t,this.ngModule)}}function y_(e){const n=[];for(let t in e)e.hasOwnProperty(t)&&n.push({propName:e[t],templateName:t});return n}class AI{constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,r){r=ca(r);const i=this.injector.get(n,Qu,r);return i!==Qu||t===Qu?i:this.parentInjector.get(n,t,r)}}class ls extends xm{get inputs(){const n=this.componentDef,t=n.inputTransforms,r=y_(n.inputs);if(null!==t)for(const i of r)t.hasOwnProperty(i.propName)&&(i.transform=t[i.propName]);return r}get outputs(){return y_(this.componentDef.outputs)}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=function bE(e){return e.map(yE).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!t}create(n,t,r,i){let o=(i=i||this.ngModule)instanceof ur?i:i?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const s=o?new AI(n,o):n,a=s.get(Pm,null);if(null===a)throw new O(407,!1);const u={rendererFactory:a,sanitizer:s.get(RA,null),effectManager:s.get(f_,null)},d=a.createRenderer(null,this.componentDef),p=this.componentDef.selectors[0][0]||"div",g=r?function ZA(e,n,t,r){const o=r.get(Fm,!1)||t===on.ShadowDom,s=e.selectRootElement(n,o);return function YA(e){t_(e)}(s),s}(d,r,this.componentDef.encapsulation,s):Ha(d,p,function MI(e){const n=e.toLowerCase();return"svg"===n?"svg":"math"===n?"math":null}(p)),T=this.componentDef.signals?4608:this.componentDef.onPush?576:528,V=id(0,null,null,1,0,null,null,null,null,null,null),D=rl(null,V,null,T,null,null,u,d,s,null,null);let K,le;tu(D);try{const fe=this.componentDef;let Nt,Oc=null;fe.findHostDirectiveDefs?(Nt=[],Oc=new Map,fe.findHostDirectiveDefs(fe,Nt,Oc),Nt.push(fe)):Nt=[fe];const GH=function TI(e,n){const t=e[H],r=_e;return e[r]=n,Yi(t,r,2,"#host",null)}(D,g),WH=function OI(e,n,t,r,i,o,s){const a=i[H];!function xI(e,n,t,r){for(const i of e)n.mergedAttrs=xo(n.mergedAttrs,i.hostAttrs);null!==n.mergedAttrs&&(ol(n,n.mergedAttrs,!0),null!==t&&tm(r,t,n))}(r,e,n,s);let l=null;null!==n&&(l=Im(n,i[Ii]));const c=o.rendererFactory.createRenderer(n,t);let u=16;t.signals?u=4096:t.onPush&&(u=64);const d=rl(i,e_(t),null,u,i[e.index],e,o,c,null,null,l);return a.firstCreatePass&&sd(a,e,r.length-1),il(i,d),i[e.index]=d}(GH,g,fe,Nt,D,u,d);le=Vp(V,_e),g&&function PI(e,n,t,r){if(r)jc(e,t,["ng-version",PA.full]);else{const{attrs:i,classes:o}=function CE(e){const n=[],t=[];let r=1,i=2;for(;r0&&em(e,t,o.join(" "))}}(d,fe,g,r),void 0!==t&&function NI(e,n,t){const r=e.projection=[];for(let i=0;i=0;r--){const i=e[r];i.hostVars=n+=i.hostVars,i.hostAttrs=xo(i.hostAttrs,t=xo(t,i.hostAttrs))}}(r)}function al(e){return e===Vn?{}:e===De?[]:e}function LI(e,n){const t=e.viewQuery;e.viewQuery=t?(r,i)=>{n(r,i),t(r,i)}:n}function VI(e,n){const t=e.contentQueries;e.contentQueries=t?(r,i,o)=>{n(r,i,o),t(r,i,o)}:n}function BI(e,n){const t=e.hostBindings;e.hostBindings=t?(r,i)=>{n(r,i),t(r,i)}:n}function dd(e){const n=e.inputConfig,t={};for(const r in n)if(n.hasOwnProperty(r)){const i=n[r];Array.isArray(i)&&i[2]&&(t[r]=i[2])}e.inputTransforms=t}function ll(e){return!!function hd(e){return null!==e&&("function"==typeof e||"object"==typeof e)}(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function qn(e,n,t){return e[n]=t}function Rt(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function Zr(e,n,t,r){const i=Rt(e,n,t);return Rt(e,n+1,r)||i}function Bt(e,n,t,r){const i=I();return Rt(i,Ni(),n)&&(Ce(),Wn(We(),i,e,n,t,r)),Bt}function J(e,n,t,r,i,o,s,a){const l=I(),c=Ce(),u=e+_e,d=c.firstCreatePass?function uT(e,n,t,r,i,o,s,a,l){const c=n.consts,u=Yi(n,e,4,s||null,Er(c,a));od(n,t,u,Er(c,l)),Ca(n,u);const d=u.tView=id(2,u,r,i,o,n.directiveRegistry,n.pipeRegistry,null,n.schemas,c,null);return null!==n.queries&&(n.queries.template(n,u),d.queries=n.queries.embeddedTView(u)),u}(u,c,l,n,t,r,i,o,s):c.data[u];$n(d,!1);const p=F_(c,l,d,e);ba()&&Ua(c,l,p,d),xt(p,l),il(l,l[u]=a_(p,l,p,d)),ga(d)&&nd(c,l,d),null!=s&&rd(l,d,a)}let F_=function L_(e,n,t,r){return Mr(!0),n[ue].createComment("")};function Ue(e){return Ri(function sM(){return ie.lFrame.contextLView}(),_e+e)}function R(e,n,t){const r=I();return Rt(r,Ni(),n)&&hn(Ce(),We(),r,e,n,r[ue],t,!1),R}function vd(e,n,t,r,i){const s=i?"class":"style";cd(e,t,n.inputs[s],s,r)}function v(e,n,t,r){const i=I(),o=Ce(),s=_e+e,a=i[ue],l=o.firstCreatePass?function pT(e,n,t,r,i,o){const s=n.consts,l=Yi(n,e,2,r,Er(s,i));return od(n,t,l,Er(s,o)),null!==l.attrs&&ol(l,l.attrs,!1),null!==l.mergedAttrs&&ol(l,l.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,l),l}(s,o,i,n,t,r):o.data[s],c=V_(o,i,l,a,n,e);i[s]=c;const u=ga(l);return $n(l,!0),tm(a,c,l),32!=(32&l.flags)&&ba()&&Ua(o,i,c,l),0===function QE(){return ie.lFrame.elementDepthCount}()&&xt(c,i),function JE(){ie.lFrame.elementDepthCount++}(),u&&(nd(o,i,l),td(o,l,i)),null!==r&&rd(i,l),v}function _(){let e=Dt();Kc()?Xc():(e=e.parent,$n(e,!1));const n=e;(function tM(e){return ie.skipHydrationRootTNode===e})(n)&&function oM(){ie.skipHydrationRootTNode=null}(),function eM(){ie.lFrame.elementDepthCount--}();const t=Ce();return t.firstCreatePass&&(Ca(t,e),$c(e)&&t.queries.elementEnd(e)),null!=n.classesWithoutHost&&function bM(e){return 0!=(8&e.flags)}(n)&&vd(t,n,I(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function CM(e){return 0!=(16&e.flags)}(n)&&vd(t,n,I(),n.stylesWithoutHost,!1),_}function te(e,n,t,r){return v(e,n,t,r),_(),te}let V_=(e,n,t,r,i,o)=>(Mr(!0),Ha(r,i,function tg(){return ie.lFrame.currentNamespace}()));function Yr(e,n,t){const r=I(),i=Ce(),o=e+_e,s=i.firstCreatePass?function _T(e,n,t,r,i){const o=n.consts,s=Er(o,r),a=Yi(n,e,8,"ng-container",s);return null!==s&&ol(a,s,!0),od(n,t,a,Er(o,i)),null!==n.queries&&n.queries.elementStart(n,a),a}(o,i,r,n,t):i.data[o];$n(s,!0);const a=B_(i,r,s,e);return r[o]=a,ba()&&Ua(i,r,a,s),xt(a,r),ga(s)&&(nd(i,r,s),td(i,s,r)),null!=t&&rd(r,s),Yr}function Kr(){let e=Dt();const n=Ce();return Kc()?Xc():(e=e.parent,$n(e,!1)),n.firstCreatePass&&(Ca(n,e),$c(e)&&n.queries.elementEnd(e)),Kr}function gr(e,n,t){return Yr(e,n,t),Kr(),gr}let B_=(e,n,t,r)=>(Mr(!0),Cu(n[ue],""));function Zn(){return I()}function fs(e){return!!e&&"function"==typeof e.then}function H_(e){return!!e&&"function"==typeof e.subscribe}function j(e,n,t,r){const i=I(),o=Ce(),s=Dt();return function U_(e,n,t,r,i,o,s){const a=ga(r),c=e.firstCreatePass&&u_(e),u=n[Ke],d=c_(n);let p=!0;if(3&r.type||s){const S=Yt(r,n),T=s?s(S):S,V=d.length,D=s?le=>s(Be(le[r.index])):r.index;let K=null;if(!s&&a&&(K=function bT(e,n,t,r){const i=e.cleanup;if(null!=i)for(let o=0;ol?a[l]:null}"string"==typeof s&&(o+=2)}return null}(e,n,i,r.index)),null!==K)(K.__ngLastListenerFn__||K).__ngNextListenerFn__=o,K.__ngLastListenerFn__=o,p=!1;else{o=z_(r,n,u,o,!1);const le=t.listen(T,i,o);d.push(o,le),c&&c.push(i,D,V,V+1)}}else o=z_(r,n,u,o,!1);const g=r.outputs;let y;if(p&&null!==g&&(y=g[i])){const S=y.length;if(S)for(let T=0;T-1?ln(e.index,n):n);let l=$_(n,t,r,s),c=o.__ngNextListenerFn__;for(;c;)l=$_(n,t,c,s)&&l,c=c.__ngNextListenerFn__;return i&&!1===l&&s.preventDefault(),l}}function q(e=1){return function dM(e){return(ie.lFrame.contextLView=function hM(e,n){for(;e>0;)n=n[Ti],e--;return n}(e,ie.lFrame.contextLView))[Ke]}(e)}function CT(e,n){let t=null;const r=function gE(e){const n=e.attrs;if(null!=n){const t=n.indexOf(5);if(!(1&t))return n[t+1]}return null}(e);for(let i=0;i>17&32767}function Cd(e){return 2|e}function Xr(e){return(131068&e)>>2}function wd(e,n){return-131069&e|n<<2}function Dd(e){return 1|e}function tv(e,n,t,r,i){const o=e[t+1],s=null===n;let a=r?Ar(o):Xr(o),l=!1;for(;0!==a&&(!1===l||s);){const u=e[a+1];AT(e[a],n)&&(l=!0,e[a+1]=r?Dd(u):Cd(u)),a=r?Ar(u):Xr(u)}l&&(e[t+1]=r?Cd(o):Dd(o))}function AT(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&ji(e,n)>=0}const gt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function nv(e){return e.substring(gt.key,gt.keyEnd)}function rv(e,n){const t=gt.textEnd;return t===n?-1:(n=gt.keyEnd=function xT(e,n,t){for(;n32;)n++;return n}(e,gt.key=n,t),oo(e,n,t))}function oo(e,n,t){for(;n=0;t=rv(n,t))cn(e,nv(n),!0)}function Tn(e,n,t,r){const i=I(),o=Ce(),s=lr(2);o.firstUpdatePass&&cv(o,e,s,r),n!==de&&Rt(i,s,n)&&dv(o,o.data[Vt()],i,i[ue],e,i[s+1]=function UT(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=ut(un(e)))),e}(n,t),r,s)}function lv(e,n){return n>=e.expandoStartIndex}function cv(e,n,t,r){const i=e.data;if(null===i[t+1]){const o=i[Vt()],s=lv(e,t);fv(o,r)&&null===n&&!s&&(n=!1),n=function kT(e,n,t,r){const i=function Jc(e){const n=ie.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}(e);let o=r?n.residualClasses:n.residualStyles;if(null===i)0===(r?n.classBindings:n.styleBindings)&&(t=ps(t=Ed(null,e,n,t,r),n.attrs,r),o=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==i)if(t=Ed(i,e,n,t,r),null===o){let l=function FT(e,n,t){const r=t?n.classBindings:n.styleBindings;if(0!==Xr(r))return e[Ar(r)]}(e,n,r);void 0!==l&&Array.isArray(l)&&(l=Ed(null,e,n,l[1],r),l=ps(l,n.attrs,r),function LT(e,n,t,r){e[Ar(t?n.classBindings:n.styleBindings)]=r}(e,n,r,l))}else o=function VT(e,n,t){let r;const i=n.directiveEnd;for(let o=1+n.directiveStylingLast;o0)&&(c=!0)):u=t,i)if(0!==l){const p=Ar(e[a+1]);e[r+1]=fl(p,a),0!==p&&(e[p+1]=wd(e[p+1],r)),e[a+1]=function DT(e,n){return 131071&e|n<<17}(e[a+1],r)}else e[r+1]=fl(a,0),0!==a&&(e[a+1]=wd(e[a+1],r)),a=r;else e[r+1]=fl(l,0),0===a?a=r:e[l+1]=wd(e[l+1],r),l=r;c&&(e[r+1]=Cd(e[r+1])),tv(e,u,r,!0),tv(e,u,r,!1),function MT(e,n,t,r,i){const o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof n&&ji(o,n)>=0&&(t[r+1]=Dd(t[r+1]))}(n,u,e,r,o),s=fl(a,l),o?n.classBindings=s:n.styleBindings=s}(i,o,n,t,s,r)}}function Ed(e,n,t,r,i){let o=null;const s=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a0;){const l=e[i],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let p=t[i+1];p===de&&(p=d?De:void 0);let g=d?du(p,r):u===r?p:void 0;if(c&&!gl(g)&&(g=du(l,r)),gl(g)&&(a=g,s))return a;const y=e[i+1];i=s?Ar(y):Xr(y)}if(null!==n){let l=o?n.residualClasses:n.residualStyles;null!=l&&(a=du(l,r))}return a}function gl(e){return void 0!==e}function fv(e,n){return 0!=(e.flags&(n?8:16))}function b(e,n=""){const t=I(),r=Ce(),i=e+_e,o=r.firstCreatePass?Yi(r,i,1,n,null):r.data[i],s=pv(r,t,o,n,e);t[i]=s,ba()&&Ua(r,t,s,o),$n(o,!1)}let pv=(e,n,t,r,i)=>(Mr(!0),function Ba(e,n){return e.createText(n)}(n[ue],r));function fn(e){return pe("",e,""),fn}function pe(e,n,t){const r=I(),i=function Xi(e,n,t,r){return Rt(e,Ni(),t)?n+ae(t)+r:de}(r,e,n,t);return i!==de&&function pr(e,n,t){const r=ya(n,e);!function jg(e,n,t){e.setValue(n,t)}(e[ue],r,t)}(r,Vt(),i),pe}function Md(e,n,t){const r=I();return Rt(r,Ni(),n)&&hn(Ce(),We(),r,e,n,r[ue],t,!0),Md}const ao="en-US";let kv=ao;function Td(e,n,t,r,i){if(e=se(e),Array.isArray(e))for(let o=0;o>20;if(Wr(e)||!e.multi){const g=new Vo(l,i,M),y=xd(a,n,i?u:u+p,d);-1===y?(lu(Aa(c,s),o,a),Od(o,e,n.length),n.push(a),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=1048576),t.push(g),s.push(g)):(t[y]=g,s[y]=g)}else{const g=xd(a,n,u+p,d),y=xd(a,n,u,u+p),T=y>=0&&t[y];if(i&&!T||!i&&!(g>=0&&t[g])){lu(Aa(c,s),o,a);const V=function l1(e,n,t,r,i){const o=new Vo(e,t,M);return o.multi=[],o.index=n,o.componentProviders=0,sy(o,i,r&&!t),o}(i?a1:s1,t.length,i,r,l);!i&&T&&(t[y].providerFactory=V),Od(o,e,n.length,0),n.push(a),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=1048576),t.push(V),s.push(V)}else Od(o,e,g>-1?g:y,sy(t[i?y:g],l,!i&&r));!i&&r&&T&&t[y].componentProviders++}}}function Od(e,n,t,r){const i=Wr(n),o=function cA(e){return!!e.useClass}(n);if(i||o){const l=(o?se(n.useClass):n).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!i&&n.multi){const u=c.indexOf(t);-1===u?c.push(t,[r,l]):c[u+1].push(r,l)}else c.push(t,l)}}}function sy(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function xd(e,n,t,r){for(let i=t;i{t.providersResolver=(r,i)=>function o1(e,n,t){const r=Ce();if(r.firstCreatePass){const i=An(e);Td(t,r.data,r.blueprint,i,!0),Td(n,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,n)}}class lo{}class ay{}class Pd extends lo{constructor(n,t,r){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new v_(this);const i=sn(n);this._bootstrapComponents=fr(i.bootstrap),this._r3Injector=Xm(n,t,[{provide:lo,useValue:this},{provide:ns,useValue:this.componentFactoryResolver},...r],ut(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class Nd extends ay{constructor(n){super(),this.moduleType=n}create(n){return new Pd(this.moduleType,n,[])}}class ly extends lo{constructor(n){super(),this.componentFactoryResolver=new v_(this),this.instance=null;const t=new Bu([...n.providers,{provide:lo,useValue:this},{provide:ns,useValue:this.componentFactoryResolver}],n.parent||Ya(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function kd(e,n,t=null){return new ly({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}let d1=(()=>{class e{constructor(t){this._injector=t,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){const r=ym(0,t.type),i=r.length>0?kd([r],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,i)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=U({token:e,providedIn:"environment",factory:()=>new e(P(ur))}),e})();function cy(e){e.getStandaloneInjector=n=>n.get(d1).getOrCreateStandaloneInjector(e)}function my(e,n,t,r,i){return function yy(e,n,t,r,i,o,s){const a=n+t;return Zr(e,a,i,o)?qn(e,a+2,s?r.call(s,i,o):r(i,o)):bs(e,a+2)}(I(),Lt(),e,n,t,r,i)}function _y(e,n,t,r,i,o){return function by(e,n,t,r,i,o,s,a){const l=n+t;return function cl(e,n,t,r,i){const o=Zr(e,n,t,r);return Rt(e,n+2,i)||o}(e,l,i,o,s)?qn(e,l+3,a?r.call(a,i,o,s):r(i,o,s)):bs(e,l+3)}(I(),Lt(),e,n,t,r,i,o)}function bs(e,n){const t=e[n];return t===de?void 0:t}function bl(e,n){const t=Ce();let r;const i=e+_e;t.firstCreatePass?(r=function I1(e,n){if(n)for(let t=n.length-1;t>=0;t--){const r=n[t];if(e===r.name)return r}}(n,t.pipeRegistry),t.data[i]=r,r.onDestroy&&(t.destroyHooks??=[]).push(i,r.onDestroy)):r=t.data[i];const o=r.factory||(r.factory=jr(r.type)),s=Gt(M);try{const a=Ma(!1),l=o();return Ma(a),function fT(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}(t,I(),i,l),l}finally{Gt(s)}}function Cl(e,n,t){const r=e+_e,i=I(),o=Ri(i,r);return function Cs(e,n){return e[H].data[n].pure}(i,r)?function vy(e,n,t,r,i,o){const s=n+t;return Rt(e,s,i)?qn(e,s+1,o?r.call(o,i):r(i)):bs(e,s+1)}(i,Lt(),n,o.transform,t,o):o.transform(t)}function Ld(e){return n=>{setTimeout(e,void 0,n)}}const me=class P1 extends je{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}subscribe(n,t,r){let i=n,o=t||(()=>null),s=r;if(n&&"object"==typeof n){const l=n;i=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=Ld(o),i&&(i=Ld(i)),s&&(s=Ld(s)));const a=super.subscribe({next:i,error:o,complete:s});return n instanceof A&&n.add(a),a}};function N1(){return this._results[Symbol.iterator]()}class Vd{get changes(){return this._changes||(this._changes=new me)}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const t=Vd.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=N1)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){const r=this;r.dirty=!1;const i=function yn(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function RM(e,n,t){if(e.length!==n.length)return!1;for(let r=0;r{class e{}return e.__NG_ELEMENT_ID__=L1,e})();const k1=pn,F1=class extends k1{constructor(n,t,r){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,t){return this.createEmbeddedViewImpl(n,t,null)}createEmbeddedViewImpl(n,t,r){const s=this._declarationTContainer.tView,a=rl(this._declarationLView,s,n,4096&this._declarationLView[ce]?4096:16,null,s.declTNode,null,null,null,t||null,r||null);a[No]=this._declarationLView[this._declarationTContainer.index];const c=this._declarationLView[Bn];return null!==c&&(a[Bn]=c.createEmbeddedView(s)),ud(s,a,n),new as(a)}};function L1(){return wl(Dt(),I())}function wl(e,n){return 4&e.type?new F1(n,e,qi(e,n)):null}let Cn=(()=>{class e{}return e.__NG_ELEMENT_ID__=z1,e})();function z1(){return Iy(Dt(),I())}const G1=Cn,My=class extends G1{constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return qi(this._hostTNode,this._hostLView)}get injector(){return new Fi(this._hostTNode,this._hostLView)}get parentInjector(){const n=au(this._hostTNode,this._hostLView);if(og(n)){const t=Ea(n,this._hostLView),r=Sa(n);return new Fi(t[H].data[r+8],t)}return new Fi(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=Ay(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-Ot}createEmbeddedView(n,t,r){let i,o;"number"==typeof r?i=r:null!=r&&(i=r.index,o=r.injector);const a=n.createEmbeddedViewImpl(t||{},o,null);return this.insertImpl(a,i,false),a}createComponent(n,t,r,i,o){const s=n&&!function jo(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const S=t||{};a=S.index,r=S.injector,i=S.projectableNodes,o=S.environmentInjector||S.ngModuleRef}const l=s?n:new ls(Me(n)),c=r||this.parentInjector;if(!o&&null==l.ngModule){const T=(s?c:this.parentInjector).get(ur,null);T&&(o=T)}Me(l.componentType??{});const g=l.create(c,i,null,o);return this.insertImpl(g.hostView,a,false),g}insert(n,t){return this.insertImpl(n,t,!1)}insertImpl(n,t,r){const i=n._lView,o=i[H];if(function YE(e){return Zt(e[Ge])}(i)){const l=this.indexOf(n);if(-1!==l)this.detach(l);else{const c=i[Ge],u=new My(c,c[Tt],c[Ge]);u.detach(u.indexOf(n))}}const s=this._adjustIndex(t),a=this._lContainer;if(function w0(e,n,t,r){const i=Ot+r,o=t.length;r>0&&(t[i-1][Mn]=n),r0)r.push(s[a/2]);else{const c=o[a+1],u=n[-l];for(let d=Ot;d{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r}),this.appInits=W(Xd,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const i of this.appInits){const o=i();if(fs(o))t.push(o);else if(H_(o)){const s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});t.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{r()}).catch(i=>{this.reject(i)}),0===t.length&&r(),this.initialized=!0}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Jy=(()=>{class e{log(t){console.log(t)}warn(t){console.warn(t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const mr=new $("LocaleId",{providedIn:"root",factory:()=>W(mr,Q.Optional|Q.SkipSelf)||function Cx(){return typeof $localize<"u"&&$localize.locale||ao}()});let eb=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new ze(!1)}add(){this.hasPendingTasks.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),t}remove(t){this.pendingTasks.delete(t),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class Dx{constructor(n,t){this.ngModuleFactory=n,this.componentFactories=t}}let tb=(()=>{class e{compileModuleSync(t){return new Nd(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){const r=this.compileModuleSync(t),o=fr(sn(t).declarations).reduce((s,a)=>{const l=Me(a);return l&&s.push(new ls(l)),s},[]);return new Dx(r,o)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function ib(...e){}class Ie{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new me(!1),this.onMicrotaskEmpty=new me(!1),this.onStable=new me(!1),this.onError=new me(!1),typeof Zone>"u")throw new O(908,!1);Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&t,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function Mx(){const e="function"==typeof ke.requestAnimationFrame;let n=ke[e?"requestAnimationFrame":"setTimeout"],t=ke[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&n&&t){const r=n[Zone.__symbol__("OriginalDelegate")];r&&(n=r);const i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function Tx(e){const n=()=>{!function Ix(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ke,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,eh(e),e.isCheckStableRunning=!0,Jd(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),eh(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,r,i,o,s,a)=>{try{return ob(e),t.invokeTask(i,o,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&n(),sb(e)}},onInvoke:(t,r,i,o,s,a,l)=>{try{return ob(e),t.invoke(i,o,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&n(),sb(e)}},onHasTask:(t,r,i,o)=>{t.hasTask(i,o),r===i&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,eh(e),Jd(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(t,r,i,o)=>(t.handleError(i,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(i)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ie.isInAngularZone())throw new O(909,!1)}static assertNotInAngularZone(){if(Ie.isInAngularZone())throw new O(909,!1)}run(n,t,r){return this._inner.run(n,t,r)}runTask(n,t,r,i){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,n,Ax,ib,ib);try{return o.runTask(s,t,r)}finally{o.cancelTask(s)}}runGuarded(n,t,r){return this._inner.runGuarded(n,t,r)}runOutsideAngular(n){return this._outer.run(n)}}const Ax={};function Jd(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 eh(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function ob(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function sb(e){e._nesting--,Jd(e)}class Ox{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new me,this.onMicrotaskEmpty=new me,this.onStable=new me,this.onError=new me}run(n,t,r){return n.apply(t,r)}runGuarded(n,t,r){return n.apply(t,r)}runOutsideAngular(n){return n()}runTask(n,t,r,i){return n.apply(t,r)}}const ab=new $("",{providedIn:"root",factory:lb});function lb(){const e=W(Ie);let n=!0;return Jf(new be(i=>{n=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{i.next(n),i.complete()})}),new be(i=>{let o;e.runOutsideAngular(()=>{o=e.onStable.subscribe(()=>{Ie.assertNotInAngularZone(),queueMicrotask(()=>{!n&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(n=!0,i.next(!0))})})});const s=e.onUnstable.subscribe(()=>{Ie.assertInAngularZone(),n&&(n=!1,e.runOutsideAngular(()=>{i.next(!1)}))});return()=>{o.unsubscribe(),s.unsubscribe()}}).pipe(ep()))}const cb=new $(""),Sl=new $("");let rh,th=(()=>{class e{constructor(t,r,i){this._ngZone=t,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,rh||(function xx(e){rh=e}(i),i.addToWindow(r)),this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Ie.assertNotInAngularZone(),queueMicrotask(()=>{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())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(t)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==o),t(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:t,timeoutId:o,updateCb:i})}whenStable(t,r,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,r,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,r,i){return[]}}return e.\u0275fac=function(t){return new(t||e)(P(Ie),P(nh),P(Sl))},e.\u0275prov=U({token:e,factory:e.\u0275fac}),e})(),nh=(()=>{class e{constructor(){this._applications=new Map}registerApplication(t,r){this._applications.set(t,r)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,r=!0){return rh?.findTestabilityInTree(this,t,r)??null}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),Or=null;const ub=new $("AllowMultipleToken"),ih=new $("PlatformDestroyListeners"),oh=new $("appBootstrapListener");class hb{constructor(n,t){this.name=n,this.token=t}}function pb(e,n,t=[]){const r=`Platform: ${n}`,i=new $(r);return(o=[])=>{let s=sh();if(!s||s.injector.get(ub,!1)){const a=[...t,...o,{provide:i,useValue:!0}];e?e(a):function Nx(e){if(Or&&!Or.get(ub,!1))throw new O(400,!1);(function db(){!function LE(e){Op=e}(()=>{throw new O(600,!1)})})(),Or=e;const n=e.get(mb);(function fb(e){e.get(Sm,null)?.forEach(t=>t())})(e)}(function gb(e=[],n){return dn.create({name:n,providers:[{provide:Lu,useValue:"platform"},{provide:ih,useValue:new Set([()=>Or=null])},...e]})}(a,r))}return function Fx(e){const n=sh();if(!n)throw new O(401,!1);return n}()}}function sh(){return Or?.get(mb)??null}let mb=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,r){const i=function Lx(e="zone.js",n){return"noop"===e?new Ox:"zone.js"===e?new Ie(n):e}(r?.ngZone,function _b(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return i.run(()=>{const o=function u1(e,n,t){return new Pd(e,n,t)}(t.moduleType,this.injector,function wb(e){return[{provide:Ie,useFactory:e},{provide:Qo,multi:!0,useFactory:()=>{const n=W(Bx,{optional:!0});return()=>n.initialize()}},{provide:Cb,useFactory:Vx},{provide:ab,useFactory:lb}]}(()=>i)),s=o.injector.get(qr,null);return i.runOutsideAngular(()=>{const a=i.onError.subscribe({next:l=>{s.handleError(l)}});o.onDestroy(()=>{El(this._modules,o),a.unsubscribe()})}),function vb(e,n,t){try{const r=t();return fs(r)?r.catch(i=>{throw n.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw n.runOutsideAngular(()=>e.handleError(r)),r}}(s,i,()=>{const a=o.injector.get(Qd);return a.runInitializers(),a.donePromise.then(()=>(function Fv(e){vn(e,"Expected localeId to be defined"),"string"==typeof e&&(kv=e.toLowerCase().replace(/_/g,"-"))}(o.injector.get(mr,ao)||ao),this._moduleDoBootstrap(o),o))})})}bootstrapModule(t,r=[]){const i=yb({},r);return function Rx(e,n,t){const r=new Nd(t);return Promise.resolve(r)}(0,0,t).then(o=>this.bootstrapModuleFactory(o,i))}_moduleDoBootstrap(t){const r=t.injector.get(ei);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!t.instance.ngDoBootstrap)throw new O(-403,!1);t.instance.ngDoBootstrap(r)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new O(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const t=this._injector.get(ih,null);t&&(t.forEach(r=>r()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(t){return new(t||e)(P(dn))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function yb(e,n){return Array.isArray(n)?n.reduce(yb,e):{...e,...n}}let ei=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=W(Cb),this.zoneIsStable=W(ab),this.componentTypes=[],this.components=[],this.isStable=W(eb).hasPendingTasks.pipe(nn(t=>t?ne(!1):this.zoneIsStable),function GS(e,n){return t=>t.lift(new WS(e,n))}(),ep()),this._injector=W(ur)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,r){const i=t instanceof xm;if(!this._injector.get(Qd).done)throw!i&&function Mi(e){const n=Me(e)||It(e)||qt(e);return null!==n&&n.standalone}(t),new O(405,!1);let s;s=i?t:this._injector.get(ns).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function Px(e){return e.isBoundToModule}(s)?void 0:this._injector.get(lo),c=s.create(dn.NULL,[],r||s.selector,a),u=c.location.nativeElement,d=c.injector.get(cb,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),El(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new O(101,!1);try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this.internalErrorHandler(t)}finally{this._runningTick=!1}}attachView(t){const r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){const r=t;El(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const r=this._injector.get(oh,[]);r.push(...this._bootstrapListeners),r.forEach(i=>i(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>El(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new O(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function El(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}const Cb=new $("",{providedIn:"root",factory:()=>W(qr).handleError.bind(void 0)});function Vx(){const e=W(Ie),n=W(qr);return t=>e.runOutsideAngular(()=>n.handleError(t))}let Bx=(()=>{class e{constructor(){this.zone=W(Ie),this.applicationRef=W(ei)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();let Ds=(()=>{class e{}return e.__NG_ELEMENT_ID__=jx,e})();function jx(e){return function Ux(e,n,t){if(Hr(e)&&!t){const r=ln(e.index,n);return new as(r,r)}return 47&e.type?new as(n[Xe],n):null}(Dt(),I(),16==(16&e))}class Mb{constructor(){}supports(n){return ll(n)}create(n){return new Zx(n)}}const qx=(e,n)=>n;class Zx{constructor(n){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=n||qx}forEachItem(n){let t;for(t=this._itHead;null!==t;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,r=this._removalsHead,i=0,o=null;for(;t||r;){const s=!r||t&&t.currentIndex{s=this._trackByFn(i,a),null!==t&&Object.is(t.trackById,s)?(r&&(t=this._verifyReinsertion(t,a,s,i)),Object.is(t.item,a)||this._addIdentityChange(t,a)):(t=this._mismatch(t,a,s,i),r=!0),t=t._next,i++}),this.length=i;return this._truncate(t),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,t,r,i){let o;return null===n?o=this._itTail:(o=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,o,i)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,o,i)):n=this._addAfter(new Yx(t,r),o,i),n}_verifyReinsertion(n,t,r,i){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==o?n=this._reinsertAfter(o,n._prev,i):n.currentIndex!=i&&(n.currentIndex=i,this._addToMoves(n,i)),n}_truncate(n){for(;null!==n;){const t=n._next;this._addToRemovals(this._unlink(n)),n=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,t,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const i=n._prevRemoved,o=n._nextRemoved;return null===i?this._removalsHead=o:i._nextRemoved=o,null===o?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(n,t,r),this._addToMoves(n,r),n}_moveAfter(n,t,r){return this._unlink(n),this._insertAfter(n,t,r),this._addToMoves(n,r),n}_addAfter(n,t,r){return this._insertAfter(n,t,r),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,t,r){const i=null===t?this._itHead:t._next;return n._next=i,n._prev=t,null===i?this._itTail=n:i._prev=n,null===t?this._itHead=n:t._next=n,null===this._linkedRecords&&(this._linkedRecords=new Ab),this._linkedRecords.put(n),n.currentIndex=r,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const t=n._prev,r=n._next;return null===t?this._itHead=r:t._next=r,null===r?this._itTail=t:r._prev=t,n}_addToMoves(n,t){return n.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Ab),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,t){return n.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class Yx{constructor(n,t){this.item=n,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class Kx{constructor(){this._head=null,this._tail=null}add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,t){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===t||t<=r.currentIndex)&&Object.is(r.trackById,n))return r;return null}remove(n){const t=n._prevDup,r=n._nextDup;return null===t?this._head=r:t._nextDup=r,null===r?this._tail=t:r._prevDup=t,null===this._head}}class Ab{constructor(){this.map=new Map}put(n){const t=n.trackById;let r=this.map.get(t);r||(r=new Kx,this.map.set(t,r)),r.add(n)}get(n,t){const i=this.map.get(n);return i?i.get(n,t):null}remove(n){const t=n.trackById;return this.map.get(t).remove(n)&&this.map.delete(t),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Ib(e,n,t){const r=e.previousIndex;if(null===r)return r;let i=0;return t&&r{class e{constructor(t){this.factories=t}static create(t,r){if(null!=r){const i=r.factories.slice();t=t.concat(i)}return new e(t)}static extend(t){return{provide:e,useFactory:r=>e.create(t,r||Ob()),deps:[[e,new Ra,new xa]]}}find(t){const r=this.factories.find(i=>i.supports(t));if(null!=r)return r;throw new O(901,!1)}}return e.\u0275prov=U({token:e,providedIn:"root",factory:Ob}),e})();const tR=pb(null,"core",[]);let nR=(()=>{class e{constructor(t){}}return e.\u0275fac=function(t){return new(t||e)(P(ei))},e.\u0275mod=dt({type:e}),e.\u0275inj=nt({}),e})();function St(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function ni(e,n=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?n:Number(e)}let fh=null;function xr(){return fh}class pR{}const He=new $("DocumentToken");let ph=(()=>{class e{historyGo(t){throw new Error("Not implemented")}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:function(){return W(mR)},providedIn:"platform"}),e})();const gR=new $("Location Initialized");let mR=(()=>{class e extends ph{constructor(){super(),this._doc=W(He),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return xr().getBaseHref(this._doc)}onPopState(t){const r=xr().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",t,!1),()=>r.removeEventListener("popstate",t)}onHashChange(t){const r=xr().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",t,!1),()=>r.removeEventListener("hashchange",t)}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(t){this._location.pathname=t}pushState(t,r,i){this._history.pushState(t,r,i)}replaceState(t,r,i){this._history.replaceState(t,r,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:function(){return new e},providedIn:"platform"}),e})();function gh(e,n){if(0==e.length)return n;if(0==n.length)return e;let t=0;return e.endsWith("/")&&t++,n.startsWith("/")&&t++,2==t?e+n.substring(1):1==t?e+n:e+"/"+n}function Vb(e){const n=e.match(/#|\?|$/),t=n&&n.index||e.length;return e.slice(0,t-("/"===e[t-1]?1:0))+e.slice(t)}function _r(e){return e&&"?"!==e[0]?"?"+e:e}let ri=(()=>{class e{historyGo(t){throw new Error("Not implemented")}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:function(){return W(Hb)},providedIn:"root"}),e})();const Bb=new $("appBaseHref");let Hb=(()=>{class e extends ri{constructor(t,r){super(),this._platformLocation=t,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??W(He).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return gh(this._baseHref,t)}path(t=!1){const r=this._platformLocation.pathname+_r(this._platformLocation.search),i=this._platformLocation.hash;return i&&t?`${r}${i}`:r}pushState(t,r,i,o){const s=this.prepareExternalUrl(i+_r(o));this._platformLocation.pushState(t,r,s)}replaceState(t,r,i,o){const s=this.prepareExternalUrl(i+_r(o));this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}}return e.\u0275fac=function(t){return new(t||e)(P(ph),P(Bb,8))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),_R=(()=>{class e extends ri{constructor(t,r){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],null!=r&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let r=this._platformLocation.hash;return null==r&&(r="#"),r.length>0?r.substring(1):r}prepareExternalUrl(t){const r=gh(this._baseHref,t);return r.length>0?"#"+r:r}pushState(t,r,i,o){let s=this.prepareExternalUrl(i+_r(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,r,s)}replaceState(t,r,i,o){let s=this.prepareExternalUrl(i+_r(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}}return e.\u0275fac=function(t){return new(t||e)(P(ph),P(Bb,8))},e.\u0275prov=U({token:e,factory:e.\u0275fac}),e})(),Ol=(()=>{class e{constructor(t){this._subject=new me,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=t;const r=this._locationStrategy.getBaseHref();this._basePath=function bR(e){if(new RegExp("^(https?:)?//").test(e)){const[,t]=e.split(/\/\/[^\/]+/);return t}return e}(Vb(jb(r))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,r=""){return this.path()==this.normalize(t+_r(r))}normalize(t){return e.stripTrailingSlash(function yR(e,n){if(!e||!n.startsWith(e))return n;const t=n.substring(e.length);return""===t||["/",";","?","#"].includes(t[0])?t:n}(this._basePath,jb(t)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,r="",i=null){this._locationStrategy.pushState(i,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+_r(r)),i)}replaceState(t,r="",i=null){this._locationStrategy.replaceState(i,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+_r(r)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)})),()=>{const r=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",r){this._urlChangeListeners.forEach(i=>i(t,r))}subscribe(t,r,i){return this._subject.subscribe({next:t,error:r,complete:i})}}return e.normalizeQueryParams=_r,e.joinWithSlash=gh,e.stripTrailingSlash=Vb,e.\u0275fac=function(t){return new(t||e)(P(ri))},e.\u0275prov=U({token:e,factory:function(){return function vR(){return new Ol(P(ri))}()},providedIn:"root"}),e})();function jb(e){return e.replace(/\/index.html$/,"")}class sP{constructor(n,t,r,i){this.$implicit=n,this.ngForOf=t,this.index=r,this.count=i}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Qb=(()=>{class e{set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}constructor(t,r,i){this._viewContainer=t,this._template=r,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const r=this._viewContainer;t.forEachOperation((i,o,s)=>{if(null==i.previousIndex)r.createEmbeddedView(this._template,new sP(i.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)r.remove(null===o?void 0:o);else if(null!==o){const a=r.get(o);r.move(a,s),Jb(a,i)}});for(let i=0,o=r.length;i{Jb(r.get(i.currentIndex),i)})}static ngTemplateContextGuard(t,r){return!0}}return e.\u0275fac=function(t){return new(t||e)(M(Cn),M(pn),M(Il))},e.\u0275dir=X({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),e})();function Jb(e,n){e.context.$implicit=n.item}let Mh=(()=>{class e{constructor(t,r){this._viewContainer=t,this._context=new aP,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){eC("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){eC("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,r){return!0}}return e.\u0275fac=function(t){return new(t||e)(M(Cn),M(pn))},e.\u0275dir=X({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),e})();class aP{constructor(){this.$implicit=null,this.ngIf=null}}function eC(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${ut(n)}'.`)}let nC=(()=>{class e{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(t){if(t.ngTemplateOutlet||t.ngTemplateOutletInjector){const r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:i,ngTemplateOutletContext:o,ngTemplateOutletInjector:s}=this;this._viewRef=r.createEmbeddedView(i,o,s?{injector:s}:void 0)}else this._viewRef=null}else this._viewRef&&t.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return e.\u0275fac=function(t){return new(t||e)(M(Cn))},e.\u0275dir=X({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Ft]}),e})(),rC=(()=>{class e{transform(t){return JSON.stringify(t,null,2)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=Wt({name:"json",type:e,pure:!1,standalone:!0}),e})(),oC=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=dt({type:e}),e.\u0275inj=nt({}),e})();const sC="browser";function Hl(e){return e===sC}function aC(e){return"server"===e}let FP=(()=>{class e{}return e.\u0275prov=U({token:e,providedIn:"root",factory:()=>new LP(P(He),window)}),e})();class LP{constructor(n,t){this.document=n,this.window=t,this.offset=()=>[0,0]}setOffset(n){this.offset=Array.isArray(n)?()=>n:n}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(n){this.supportsScrolling()&&this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){if(!this.supportsScrolling())return;const t=function VP(e,n){const t=e.getElementById(n)||e.getElementsByName(n)[0];if(t)return t;if("function"==typeof e.createTreeWalker&&e.body&&"function"==typeof e.body.attachShadow){const r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let i=r.currentNode;for(;i;){const o=i.shadowRoot;if(o){const s=o.getElementById(n)||o.querySelector(`[name="${n}"]`);if(s)return s}i=r.nextNode()}}return null}(this.document,n);t&&(this.scrollToElement(t),t.focus())}setHistoryScrollRestoration(n){if(this.supportScrollRestoration()){const t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=n)}}scrollToElement(n){const t=n.getBoundingClientRect(),r=t.left+this.window.pageXOffset,i=t.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(r-o[0],i-o[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const n=lC(this.window.history)||lC(Object.getPrototypeOf(this.window.history));return!(!n||!n.writable&&!n.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function lC(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}class lN extends pR{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Ph extends lN{static makeCurrent(){!function fR(e){fh||(fh=e)}(new Ph)}onAndCancel(n,t,r){return n.addEventListener(t,r),()=>{n.removeEventListener(t,r)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}createElement(n,t){return(t=t||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return"window"===t?window:"document"===t?n:"body"===t?n.body:null}getBaseHref(n){const t=function cN(){return Is=Is||document.querySelector("base"),Is?Is.getAttribute("href"):null}();return null==t?null:function uN(e){$l=$l||document.createElement("a"),$l.setAttribute("href",e);const n=$l.pathname;return"/"===n.charAt(0)?n:`/${n}`}(t)}resetBaseElement(){Is=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return function rP(e,n){n=encodeURIComponent(n);for(const t of e.split(";")){const r=t.indexOf("="),[i,o]=-1==r?[t,""]:[t.slice(0,r),t.slice(r+1)];if(i.trim()===n)return decodeURIComponent(o)}return null}(document.cookie,n)}}let $l,Is=null,hN=(()=>{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac}),e})();const Nh=new $("EventManagerPlugins");let fC=(()=>{class e{constructor(t,r){this._zone=r,this._eventNameToPlugin=new Map,t.forEach(i=>{i.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,r,i){return this._findPluginFor(r).addEventListener(t,r,i)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(o=>o.supports(t)),!r)throw new O(5101,!1);return this._eventNameToPlugin.set(t,r),r}}return e.\u0275fac=function(t){return new(t||e)(P(Nh),P(Ie))},e.\u0275prov=U({token:e,factory:e.\u0275fac}),e})();class pC{constructor(n){this._doc=n}}const kh="ng-app-id";let gC=(()=>{class e{constructor(t,r,i,o={}){this.doc=t,this.appId=r,this.nonce=i,this.platformId=o,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=aC(o),this.resetHostNodes()}addStyles(t){for(const r of t)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(t){for(const r of t)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const t=this.styleNodesInDOM;t&&(t.forEach(r=>r.remove()),t.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(const r of this.getAllStyles())this.addStyleToHost(t,r)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(const r of this.hostNodes)this.addStyleToHost(r,t)}onStyleRemoved(t){const r=this.styleRef;r.get(t)?.elements?.forEach(i=>i.remove()),r.delete(t)}collectServerRenderedStyles(){const t=this.doc.head?.querySelectorAll(`style[${kh}="${this.appId}"]`);if(t?.length){const r=new Map;return t.forEach(i=>{null!=i.textContent&&r.set(i.textContent,i)}),r}return null}changeUsageCount(t,r){const i=this.styleRef;if(i.has(t)){const o=i.get(t);return o.usage+=r,o.usage}return i.set(t,{usage:r,elements:[]}),r}getStyleElement(t,r){const i=this.styleNodesInDOM,o=i?.get(r);if(o?.parentNode===t)return i.delete(r),o.removeAttribute(kh),o;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(kh,this.appId),s}}addStyleToHost(t,r){const i=this.getStyleElement(t,r);t.appendChild(i);const o=this.styleRef,s=o.get(r)?.elements;s?s.push(i):o.set(r,{elements:[i],usage:1})}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}}return e.\u0275fac=function(t){return new(t||e)(P(He),P(Ka),P(Em,8),P(dr))},e.\u0275prov=U({token:e,factory:e.\u0275fac}),e})();const Fh={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/"},Lh=/%COMP%/g,mN=new $("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function _C(e,n){return n.map(t=>t.replace(Lh,e))}let vC=(()=>{class e{constructor(t,r,i,o,s,a,l,c=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=aC(a),this.defaultRenderer=new Vh(t,s,l,this.platformIsServer)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===on.ShadowDom&&(r={...r,encapsulation:on.Emulated});const i=this.getOrCreateRenderer(t,r);return i instanceof bC?i.applyToHost(t):i instanceof Bh&&i.applyStyles(),i}getOrCreateRenderer(t,r){const i=this.rendererByCompId;let o=i.get(r.id);if(!o){const s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case on.Emulated:o=new bC(l,c,r,this.appId,u,s,a,d);break;case on.ShadowDom:return new bN(l,c,t,r,s,a,this.nonce,d);default:o=new Bh(l,c,r,u,s,a,d)}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}}return e.\u0275fac=function(t){return new(t||e)(P(fC),P(gC),P(Ka),P(mN),P(He),P(dr),P(Ie),P(Em))},e.\u0275prov=U({token:e,factory:e.\u0275fac}),e})();class Vh{constructor(n,t,r,i){this.eventManager=n,this.doc=t,this.ngZone=r,this.platformIsServer=i,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(n,t){return t?this.doc.createElementNS(Fh[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(yC(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(yC(n)?n.content:n).insertBefore(t,r)}removeChild(n,t){n&&n.removeChild(t)}selectRootElement(n,t){let r="string"==typeof n?this.doc.querySelector(n):n;if(!r)throw new O(-5104,!1);return t||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,r,i){if(i){t=i+":"+t;const o=Fh[i];o?n.setAttributeNS(o,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){const i=Fh[r];i?n.removeAttributeNS(i,t):n.removeAttribute(`${r}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,r,i){i&(Kt.DashCase|Kt.Important)?n.style.setProperty(t,r,i&Kt.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&Kt.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,r){n[t]=r}setValue(n,t){n.nodeValue=t}listen(n,t,r){if("string"==typeof n&&!(n=xr().getGlobalEventTarget(this.doc,n)))throw new Error(`Unsupported event target ${n} for event ${t}`);return this.eventManager.addEventListener(n,t,this.decoratePreventDefault(r))}decoratePreventDefault(n){return t=>{if("__ngUnwrap__"===t)return n;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>n(t)):n(t))&&t.preventDefault()}}}function yC(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class bN extends Vh{constructor(n,t,r,i,o,s,a,l){super(n,o,s,l),this.sharedStylesHost=t,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=_C(i.id,i.styles);for(const u of c){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,r){return super.insertBefore(this.nodeOrShadowRoot(n),t,r)}removeChild(n,t){return super.removeChild(this.nodeOrShadowRoot(n),t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Bh extends Vh{constructor(n,t,r,i,o,s,a,l){super(n,o,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=i,this.styles=l?_C(l,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class bC extends Bh{constructor(n,t,r,i,o,s,a,l){const c=i+"-"+r.id;super(n,t,r,o,s,a,l,c),this.contentAttr=function _N(e){return"_ngcontent-%COMP%".replace(Lh,e)}(c),this.hostAttr=function vN(e){return"_nghost-%COMP%".replace(Lh,e)}(c)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){const r=super.createElement(n,t);return super.setAttribute(r,this.contentAttr,""),r}}let CN=(()=>{class e extends pC{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,i){return t.addEventListener(r,i,!1),()=>this.removeEventListener(t,r,i)}removeEventListener(t,r,i){return t.removeEventListener(r,i)}}return e.\u0275fac=function(t){return new(t||e)(P(He))},e.\u0275prov=U({token:e,factory:e.\u0275fac}),e})();const CC=["alt","control","meta","shift"],wN={"\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"},DN={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let SN=(()=>{class e extends pC{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,r,i){const o=e.parseEventName(r),s=e.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>xr().onAndCancel(t,o.domEventName,s))}static parseEventName(t){const r=t.toLowerCase().split("."),i=r.shift();if(0===r.length||"keydown"!==i&&"keyup"!==i)return null;const o=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),CC.forEach(c=>{const u=r.indexOf(c);u>-1&&(r.splice(u,1),s+=c+".")}),s+=o,0!=r.length||0===o.length)return null;const l={};return l.domEventName=i,l.fullKey=s,l}static matchEventFullKeyCode(t,r){let i=wN[t.key]||t.key,o="";return r.indexOf("code.")>-1&&(i=t.code,o="code."),!(null==i||!i)&&(i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),CC.forEach(s=>{s!==i&&(0,DN[s])(t)&&(o+=s+".")}),o+=i,o===r)}static eventCallback(t,r,i){return o=>{e.matchEventFullKeyCode(o,t)&&i.runGuarded(()=>r(o))}}static _normalizeKey(t){return"esc"===t?"escape":t}}return e.\u0275fac=function(t){return new(t||e)(P(He))},e.\u0275prov=U({token:e,factory:e.\u0275fac}),e})();const DC=[{provide:dr,useValue:sC},{provide:Sm,useValue:function EN(){Ph.makeCurrent()},multi:!0},{provide:He,useFactory:function AN(){return function k0(e){Tu=e}(document),document},deps:[]}],IN=pb(tR,"browser",DC),TN=new $(""),SC=[{provide:Sl,useClass:class dN{addToWindow(n){ke.getAngularTestability=(r,i=!0)=>{const o=n.findTestabilityInTree(r,i);if(null==o)throw new O(5103,!1);return o},ke.getAllAngularTestabilities=()=>n.getAllTestabilities(),ke.getAllAngularRootElements=()=>n.getAllRootElements(),ke.frameworkStabilizers||(ke.frameworkStabilizers=[]),ke.frameworkStabilizers.push(r=>{const i=ke.getAllAngularTestabilities();let o=i.length,s=!1;const a=function(l){s=s||l,o--,0==o&&r(s)};i.forEach(l=>{l.whenStable(a)})})}findTestabilityInTree(n,t,r){return null==t?null:n.getTestability(t)??(r?xr().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:cb,useClass:th,deps:[Ie,nh,Sl]},{provide:th,useClass:th,deps:[Ie,nh,Sl]}],EC=[{provide:Lu,useValue:"root"},{provide:qr,useFactory:function MN(){return new qr},deps:[]},{provide:Nh,useClass:CN,multi:!0,deps:[He,Ie,dr]},{provide:Nh,useClass:SN,multi:!0,deps:[He]},vC,gC,fC,{provide:Pm,useExisting:vC},{provide:class BP{},useClass:hN,deps:[]},[]];let ON=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:Ka,useValue:t.appId}]}}}return e.\u0275fac=function(t){return new(t||e)(P(TN,12))},e.\u0275mod=dt({type:e}),e.\u0275inj=nt({providers:[...EC,...SC],imports:[oC,nR]}),e})(),MC=(()=>{class e{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}}return e.\u0275fac=function(t){return new(t||e)(P(He))},e.\u0275prov=U({token:e,factory:function(t){let r=null;return r=t?new t:function RN(){return new MC(P(He))}(),r},providedIn:"root"}),e})();typeof window<"u"&&window;let TC=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:function(t){let r=null;return r=t?new(t||e):P(OC),r},providedIn:"root"}),e})(),OC=(()=>{class e extends TC{constructor(t){super(),this._doc=t}sanitize(t,r){if(null==r)return null;switch(t){case Fe.NONE:return r;case Fe.HTML:return Gn(r,"HTML")?un(r):dm(this._doc,String(r)).toString();case Fe.STYLE:return Gn(r,"Style")?un(r):r;case Fe.SCRIPT:if(Gn(r,"Script"))return un(r);throw new O(5200,!1);case Fe.URL:return Gn(r,"URL")?un(r):Wa(String(r));case Fe.RESOURCE_URL:if(Gn(r,"ResourceURL"))return un(r);throw new O(5201,!1);default:throw new O(5202,!1)}}bypassSecurityTrustHtml(t){return function U0(e){return new F0(e)}(t)}bypassSecurityTrustStyle(t){return function $0(e){return new L0(e)}(t)}bypassSecurityTrustScript(t){return function z0(e){return new V0(e)}(t)}bypassSecurityTrustUrl(t){return function G0(e){return new B0(e)}(t)}bypassSecurityTrustResourceUrl(t){return function W0(e){return new H0(e)}(t)}}return e.\u0275fac=function(t){return new(t||e)(P(He))},e.\u0275prov=U({token:e,factory:function(t){let r=null;return r=t?new t:function FN(e){return new OC(e.get(He))}(P(dn)),r},providedIn:"root"}),e})();function zl(e,n){return new be(t=>{const r=e.length;if(0===r)return void t.complete();const i=new Array(r);let o=0,s=0;for(let a=0;a{c||(c=!0,s++),i[a]=u},error:u=>t.error(u),complete:()=>{o++,(o===r||!c)&&(s===r&&t.next(n?n.reduce((u,d,p)=>(u[d]=i[p],u),{}):i),t.complete())}}))}})}let RC=(()=>{class e{constructor(t,r){this._renderer=t,this._elementRef=r,this.onChange=i=>{},this.onTouched=()=>{}}setProperty(t,r){this._renderer.setProperty(this._elementRef.nativeElement,t,r)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}}return e.\u0275fac=function(t){return new(t||e)(M(hr),M(pt))},e.\u0275dir=X({type:e}),e})(),ii=(()=>{class e extends RC{}return e.\u0275fac=function(){let n;return function(r){return(n||(n=yt(e)))(r||e)}}(),e.\u0275dir=X({type:e,features:[Pe]}),e})();const Xn=new $("NgValueAccessor"),VN={provide:Xn,useExisting:Le(()=>Gl),multi:!0};let Gl=(()=>{class e extends ii{writeValue(t){this.setProperty("checked",t)}}return e.\u0275fac=function(){let n;return function(r){return(n||(n=yt(e)))(r||e)}}(),e.\u0275dir=X({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(t,r){1&t&&j("change",function(o){return r.onChange(o.target.checked)})("blur",function(){return r.onTouched()})},features:[$e([VN]),Pe]}),e})();const BN={provide:Xn,useExisting:Le(()=>Ts),multi:!0},jN=new $("CompositionEventMode");let Ts=(()=>{class e extends RC{constructor(t,r,i){super(t,r),this._compositionMode=i,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function HN(){const e=xr()?xr().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(t){this.setProperty("value",t??"")}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}return e.\u0275fac=function(t){return new(t||e)(M(hr),M(pt),M(jN,8))},e.\u0275dir=X({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(t,r){1&t&&j("input",function(o){return r._handleInput(o.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(o){return r._compositionEnd(o.target.value)})},features:[$e([BN]),Pe]}),e})();function Pr(e){return null==e||("string"==typeof e||Array.isArray(e))&&0===e.length}function PC(e){return null!=e&&"number"==typeof e.length}const Pt=new $("NgValidators"),Nr=new $("NgAsyncValidators"),UN=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class NC{static min(n){return function kC(e){return n=>{if(Pr(n.value)||Pr(e))return null;const t=parseFloat(n.value);return!isNaN(t)&&t{if(Pr(n.value)||Pr(e))return null;const t=parseFloat(n.value);return!isNaN(t)&&t>e?{max:{max:e,actual:n.value}}:null}}(n)}static required(n){return function LC(e){return Pr(e.value)?{required:!0}:null}(n)}static requiredTrue(n){return function VC(e){return!0===e.value?null:{required:!0}}(n)}static email(n){return function BC(e){return Pr(e.value)||UN.test(e.value)?null:{email:!0}}(n)}static minLength(n){return function HC(e){return n=>Pr(n.value)||!PC(n.value)?null:n.value.lengthPC(n.value)&&n.value.length>e?{maxlength:{requiredLength:e,actualLength:n.value.length}}:null}(n)}static pattern(n){return function UC(e){if(!e)return Wl;let n,t;return"string"==typeof e?(t="","^"!==e.charAt(0)&&(t+="^"),t+=e,"$"!==e.charAt(e.length-1)&&(t+="$"),n=new RegExp(t)):(t=e.toString(),n=e),r=>{if(Pr(r.value))return null;const i=r.value;return n.test(i)?null:{pattern:{requiredPattern:t,actualValue:i}}}}(n)}static nullValidator(n){return null}static compose(n){return ZC(n)}static composeAsync(n){return YC(n)}}function Wl(e){return null}function $C(e){return null!=e}function zC(e){return fs(e)?_t(e):e}function GC(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function WC(e,n){return n.map(t=>t(e))}function qC(e){return e.map(n=>function $N(e){return!e.validate}(n)?n:t=>n.validate(t))}function ZC(e){if(!e)return null;const n=e.filter($C);return 0==n.length?null:function(t){return GC(WC(t,n))}}function jh(e){return null!=e?ZC(qC(e)):null}function YC(e){if(!e)return null;const n=e.filter($C);return 0==n.length?null:function(t){return function LN(...e){if(1===e.length){const n=e[0];if(h(n))return zl(n,null);if(f(n)&&Object.getPrototypeOf(n)===Object.prototype){const t=Object.keys(n);return zl(t.map(r=>n[r]),t)}}if("function"==typeof e[e.length-1]){const n=e.pop();return zl(e=1===e.length&&h(e[0])?e[0]:e,null).pipe(oe(t=>n(...t)))}return zl(e,null)}(WC(t,n).map(zC)).pipe(oe(GC))}}function Uh(e){return null!=e?YC(qC(e)):null}function KC(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function XC(e){return e._rawValidators}function QC(e){return e._rawAsyncValidators}function $h(e){return e?Array.isArray(e)?e:[e]:[]}function ql(e,n){return Array.isArray(e)?e.includes(n):e===n}function JC(e,n){const t=$h(n);return $h(e).forEach(i=>{ql(t,i)||t.push(i)}),t}function ew(e,n){return $h(n).filter(t=>!ql(e,t))}class tw{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(n){this._rawValidators=n||[],this._composedValidatorFn=jh(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Uh(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,t){return!!this.control&&this.control.hasError(n,t)}getError(n,t){return this.control?this.control.getError(n,t):null}}class Ut extends tw{get formDirective(){return null}get path(){return null}}class yr extends tw{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class nw{constructor(n){this._cd=n}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let zh=(()=>{class e extends nw{constructor(t){super(t)}}return e.\u0275fac=function(t){return new(t||e)(M(yr,2))},e.\u0275dir=X({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,r){2&t&&rt("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[Pe]}),e})(),Gh=(()=>{class e extends nw{constructor(t){super(t)}}return e.\u0275fac=function(t){return new(t||e)(M(Ut,10))},e.\u0275dir=X({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(t,r){2&t&&rt("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},features:[Pe]}),e})();const Os="VALID",Yl="INVALID",ho="PENDING",xs="DISABLED";function Zh(e){return(Kl(e)?e.validators:e)||null}function Yh(e,n){return(Kl(n)?n.asyncValidators:e)||null}function Kl(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function iw(e,n,t){const r=e.controls;if(!(n?Object.keys(r):r).length)throw new O(1e3,"");if(!r[t])throw new O(1001,"")}function ow(e,n,t){e._forEachChild((r,i)=>{if(void 0===t[i])throw new O(1002,"")})}class Xl{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get valid(){return this.status===Os}get invalid(){return this.status===Yl}get pending(){return this.status==ho}get disabled(){return this.status===xs}get enabled(){return this.status!==xs}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(JC(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(JC(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(ew(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(ew(n,this._rawAsyncValidators))}hasValidator(n){return ql(this._rawValidators,n)}hasAsyncValidator(n){return ql(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=ho,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=xs,this.errors=null,this._forEachChild(r=>{r.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Os,this._forEachChild(r=>{r.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Os||this.status===ho)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?xs:Os}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=ho,this._hasOwnPendingAsyncValidator=!0;const t=zC(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent)}get(n){let t=n;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((r,i)=>r&&r._find(i),this)}getError(n,t){const r=t?this.get(t):this;return r&&r.errors?r.errors[n]:null}hasError(n,t){return!!this.getError(n,t)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new me,this.statusChanges=new me}_calculateStatus(){return this._allControlsDisabled()?xs:this.errors?Yl:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ho)?ho:this._anyControlsHaveStatus(Yl)?Yl:Os}_anyControlsHaveStatus(n){return this._anyControls(t=>t.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Kl(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function qN(e){return Array.isArray(e)?jh(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function ZN(e){return Array.isArray(e)?Uh(e):e||null}(this._rawAsyncValidators)}}class fo extends Xl{constructor(n,t,r){super(Zh(t),Yh(r,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,t){return this.controls[n]?this.controls[n]:(this.controls[n]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(n,t,r={}){this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(n,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(n,t,r={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],t&&this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,t={}){ow(this,0,n),Object.keys(n).forEach(r=>{iw(this,!0,r),this.controls[r].setValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(Object.keys(n).forEach(r=>{const i=this.controls[r];i&&i.patchValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n={},t={}){this._forEachChild((r,i)=>{r.reset(n[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(n,t,r)=>(n[r]=t.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(t,r)=>!!r._syncPendingControls()||t);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(t=>{const r=this.controls[t];r&&n(r,t)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[t,r]of Object.entries(this.controls))if(this.contains(t)&&n(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(t,r,i)=>((r.enabled||this.disabled)&&(t[i]=r.value),t))}_reduceChildren(n,t){let r=n;return this._forEachChild((i,o)=>{r=t(r,i,o)}),r}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}}const YN=fo;class sw extends fo{}const oi=new $("CallSetDisabledState",{providedIn:"root",factory:()=>Rs}),Rs="always";function Ql(e,n){return[...n.path,e]}function Ps(e,n,t=Rs){Kh(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function XN(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&aw(e,n)})}(e,n),function JN(e,n){const t=(r,i)=>{n.valueAccessor.writeValue(r),i&&n.viewToModelUpdate(r)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}(e,n),function QN(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&aw(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function KN(e,n){if(n.valueAccessor.setDisabledState){const t=r=>{n.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function Jl(e,n,t=!0){const r=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(r),n.valueAccessor.registerOnTouched(r)),tc(e,n),e&&(n._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function ec(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function Kh(e,n){const t=XC(e);null!==n.validator?e.setValidators(KC(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const r=QC(e);null!==n.asyncValidator?e.setAsyncValidators(KC(r,n.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const i=()=>e.updateValueAndValidity();ec(n._rawValidators,i),ec(n._rawAsyncValidators,i)}function tc(e,n){let t=!1;if(null!==e){if(null!==n.validator){const i=XC(e);if(Array.isArray(i)&&i.length>0){const o=i.filter(s=>s!==n.validator);o.length!==i.length&&(t=!0,e.setValidators(o))}}if(null!==n.asyncValidator){const i=QC(e);if(Array.isArray(i)&&i.length>0){const o=i.filter(s=>s!==n.asyncValidator);o.length!==i.length&&(t=!0,e.setAsyncValidators(o))}}}const r=()=>{};return ec(n._rawValidators,r),ec(n._rawAsyncValidators,r),t}function aw(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function lw(e,n){Kh(e,n)}function Qh(e,n){if(!e.hasOwnProperty("model"))return!1;const t=e.model;return!!t.isFirstChange()||!Object.is(n,t.currentValue)}function cw(e,n){e._syncPendingControls(),n.forEach(t=>{const r=t.control;"submit"===r.updateOn&&r._pendingChange&&(t.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}function Jh(e,n){if(!n)return null;let t,r,i;return Array.isArray(n),n.forEach(o=>{o.constructor===Ts?t=o:function nk(e){return Object.getPrototypeOf(e.constructor)===ii}(o)?r=o:i=o}),i||r||t||null}const ik={provide:Ut,useExisting:Le(()=>nc)},Ns=(()=>Promise.resolve())();let nc=(()=>{class e extends Ut{constructor(t,r,i){super(),this.callSetDisabledState=i,this.submitted=!1,this._directives=new Set,this.ngSubmit=new me,this.form=new fo({},jh(t),Uh(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){Ns.then(()=>{const r=this._findContainer(t.path);t.control=r.registerControl(t.name,t.control),Ps(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){Ns.then(()=>{const r=this._findContainer(t.path);r&&r.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){Ns.then(()=>{const r=this._findContainer(t.path),i=new fo({});lw(i,t),r.registerControl(t.name,i),i.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){Ns.then(()=>{const r=this._findContainer(t.path);r&&r.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,r){Ns.then(()=>{this.form.get(t.path).setValue(r)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,cw(this.form,this._directives),this.ngSubmit.emit(t),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}}return e.\u0275fac=function(t){return new(t||e)(M(Pt,10),M(Nr,10),M(oi,8))},e.\u0275dir=X({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,r){1&t&&j("submit",function(o){return r.onSubmit(o)})("reset",function(){return r.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[$e([ik]),Pe]}),e})();function uw(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function dw(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const po=class extends Xl{constructor(n=null,t,r){super(Zh(t),Yh(r,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Kl(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=dw(n)?n.value:n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(n,t={}){this.setValue(n,t)}reset(n=this.defaultValue,t={}){this._applyFormState(n),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){uw(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){uw(this._onDisabledChange,n)}_forEachChild(n){}_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(n){dw(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}},ye=po,ak={provide:yr,useExisting:Le(()=>ef)},pw=(()=>Promise.resolve())();let ef=(()=>{class e extends yr{constructor(t,r,i,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new po,this._registered=!1,this.name="",this.update=new me,this._parent=t,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=Jh(0,o)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){const r=t.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),Qh(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Ps(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(t){pw.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const r=t.isDisabled.currentValue,i=0!==r&&St(r);pw.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?Ql(t,this._parent):[t]}}return e.\u0275fac=function(t){return new(t||e)(M(Ut,9),M(Pt,10),M(Nr,10),M(Xn,10),M(Ds,8),M(oi,8))},e.\u0275dir=X({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:[$e([ak]),Pe,Ft]}),e})(),gw=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=X({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e})();const lk={provide:Xn,useExisting:Le(()=>rc),multi:!0};let rc=(()=>{class e extends ii{writeValue(t){this.setProperty("value",t??"")}registerOnChange(t){this.onChange=r=>{t(""==r?null:parseFloat(r))}}}return e.\u0275fac=function(){let n;return function(r){return(n||(n=yt(e)))(r||e)}}(),e.\u0275dir=X({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,r){1&t&&j("input",function(o){return r.onChange(o.target.value)})("blur",function(){return r.onTouched()})},features:[$e([lk]),Pe]}),e})(),mw=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=dt({type:e}),e.\u0275inj=nt({}),e})();const tf=new $("NgModelWithFormControlWarning"),fk={provide:Ut,useExisting:Le(()=>go)};let go=(()=>{class e extends Ut{constructor(t,r,i){super(),this.callSetDisabledState=i,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new me,this._setValidators(t),this._setAsyncValidators(r)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(tc(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const r=this.form.get(t.path);return Ps(r,t,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),r}getControl(t){return this.form.get(t.path)}removeControl(t){Jl(t.control||null,t,!1),function rk(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,r){this.form.get(t.path).setValue(r)}onSubmit(t){return this.submitted=!0,cw(this.form,this.directives),this.ngSubmit.emit(t),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const r=t.control,i=this.form.get(t.path);r!==i&&(Jl(r||null,t),(e=>e instanceof po)(i)&&(Ps(i,t,this.callSetDisabledState),t.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const r=this.form.get(t.path);lw(r,t),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const r=this.form.get(t.path);r&&function ek(e,n){return tc(e,n)}(r,t)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Kh(this.form,this),this._oldForm&&tc(this._oldForm,this)}_checkFormPresent(){}}return e.\u0275fac=function(t){return new(t||e)(M(Pt,10),M(Nr,10),M(oi,8))},e.\u0275dir=X({type:e,selectors:[["","formGroup",""]],hostBindings:function(t,r){1&t&&j("submit",function(o){return r.onSubmit(o)})("reset",function(){return r.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[$e([fk]),Pe,Ft]}),e})();const mk={provide:yr,useExisting:Le(()=>ic)};let ic=(()=>{class e extends yr{set isDisabled(t){}constructor(t,r,i,o,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.name=null,this.update=new me,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=Jh(0,o)}ngOnChanges(t){this._added||this._setUpControl(),Qh(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return Ql(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return e._ngModelWarningSentOnce=!1,e.\u0275fac=function(t){return new(t||e)(M(Ut,13),M(Pt,10),M(Nr,10),M(Xn,10),M(tf,8))},e.\u0275dir=X({type:e,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[$e([mk]),Pe,Ft]}),e})();const _k={provide:Xn,useExisting:Le(()=>oc),multi:!0};function Cw(e,n){return null==e?`${n}`:(n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let oc=(()=>{class e extends ii{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;const i=Cw(this._getOptionId(t),t);this.setProperty("value",i)}registerOnChange(t){this.onChange=r=>{this.value=this._getOptionValue(r),t(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r),t))return r;return null}_getOptionValue(t){const r=function vk(e){return e.split(":")[0]}(t);return this._optionMap.has(r)?this._optionMap.get(r):t}}return e.\u0275fac=function(){let n;return function(r){return(n||(n=yt(e)))(r||e)}}(),e.\u0275dir=X({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(t,r){1&t&&j("change",function(o){return r.onChange(o.target.value)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[$e([_k]),Pe]}),e})(),sf=(()=>{class e{constructor(t,r,i){this._element=t,this._renderer=r,this._select=i,this._select&&(this.id=this._select._registerOption())}set ngValue(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(Cw(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return e.\u0275fac=function(t){return new(t||e)(M(pt),M(hr),M(oc,9))},e.\u0275dir=X({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e})();const yk={provide:Xn,useExisting:Le(()=>af),multi:!0};function ww(e,n){return null==e?`${n}`:("string"==typeof n&&(n=`'${n}'`),n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let af=(()=>{class e extends ii{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){let r;if(this.value=t,Array.isArray(t)){const i=t.map(o=>this._getOptionId(o));r=(o,s)=>{o._setSelected(i.indexOf(s.toString())>-1)}}else r=(i,o)=>{i._setSelected(!1)};this._optionMap.forEach(r)}registerOnChange(t){this.onChange=r=>{const i=[],o=r.selectedOptions;if(void 0!==o){const s=o;for(let a=0;a{class e{constructor(t,r,i){this._element=t,this._renderer=r,this._select=i,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){null!=this._select&&(this._value=t,this._setElementValue(ww(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(ww(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}_setSelected(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return e.\u0275fac=function(t){return new(t||e)(M(pt),M(hr),M(af,9))},e.\u0275dir=X({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e})(),Rw=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=dt({type:e}),e.\u0275inj=nt({imports:[mw]}),e})();class Pw extends Xl{constructor(n,t,r){super(Zh(t),Yh(r,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(n){return this.controls[this._adjustIndex(n)]}push(n,t={}){this.controls.push(n),this._registerControl(n),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}insert(n,t,r={}){this.controls.splice(n,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(n,t={}){let r=this._adjustIndex(n);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}setControl(n,t,r={}){let i=this._adjustIndex(n);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),t&&(this.controls.splice(i,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,t={}){ow(this,0,n),n.forEach((r,i)=>{iw(this,!1,i),this.at(i).setValue(r,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(n.forEach((r,i)=>{this.at(i)&&this.at(i).patchValue(r,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n=[],t={}){this._forEachChild((r,i)=>{r.reset(n[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(n=>n.getRawValue())}clear(n={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_adjustIndex(n){return n<0?n+this.length:n}_syncPendingControls(){let n=this.controls.reduce((t,r)=>!!r._syncPendingControls()||t,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((t,r)=>{n(t,r)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(t=>t.enabled&&n(t))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(const n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}_find(n){return this.at(n)??null}}function Nw(e){return!!e&&(void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn)}let Tk=(()=>{class e{constructor(){this.useNonNullable=!1}get nonNullable(){const t=new e;return t.useNonNullable=!0,t}group(t,r=null){const i=this._reduceControls(t);let o={};return Nw(r)?o=r:null!==r&&(o.validators=r.validator,o.asyncValidators=r.asyncValidator),new fo(i,o)}record(t,r=null){const i=this._reduceControls(t);return new sw(i,r)}control(t,r,i){let o={};return this.useNonNullable?(Nw(r)?o=r:(o.validators=r,o.asyncValidators=i),new po(t,{...o,nonNullable:!0})):new po(t,r,i)}array(t,r,i){const o=t.map(s=>this._createControl(s));return new Pw(o,r,i)}_reduceControls(t){const r={};return Object.keys(t).forEach(i=>{r[i]=this._createControl(t[i])}),r}_createControl(t){return t instanceof po||t instanceof Xl?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),kw=(()=>{class e extends Tk{group(t,r=null){return super.group(t,r)}control(t,r,i){return super.control(t,r,i)}array(t,r,i){return super.array(t,r,i)}}return e.\u0275fac=function(){let n;return function(r){return(n||(n=yt(e)))(r||e)}}(),e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),uf=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:oi,useValue:t.callSetDisabledState??Rs}]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=dt({type:e}),e.\u0275inj=nt({imports:[Rw]}),e})(),Fw=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:tf,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:oi,useValue:t.callSetDisabledState??Rs}]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=dt({type:e}),e.\u0275inj=nt({imports:[Rw]}),e})();const br=new be(e=>e.complete());function df(e){return e?function Ok(e){return new be(n=>e.schedule(()=>n.complete()))}(e):br}function Qn(e,n){return new be(n?t=>n.schedule(xk,0,{error:e,subscriber:t}):t=>t.error(e))}function xk({error:e,subscriber:n}){n.error(e)}class Pk{constructor(n){this.resultSelector=n}call(n,t){return t.subscribe(new Nk(n,this.resultSelector))}}class Nk extends Z{constructor(n,t,r=Object.create(null)){super(n),this.resultSelector=t,this.iterators=[],this.active=0,this.resultSelector="function"==typeof t?t:void 0}_next(n){const t=this.iterators;h(n)?t.push(new Fk(n)):t.push("function"==typeof n[mn]?new kk(n[mn]()):new Lk(this.destination,this,n))}_complete(){const n=this.iterators,t=n.length;if(this.unsubscribe(),0!==t){this.active=t;for(let r=0;rthis.index}hasCompleted(){return this.array.length===this.index}}class Lk extends Ci{constructor(n,t,r){super(n),this.parent=t,this.observable=r,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}[mn](){return this}next(){const n=this.buffer;return 0===n.length&&this.isComplete?{value:null,done:!0}:{value:n.shift(),done:!1}}hasValue(){return this.buffer.length>0}hasCompleted(){return 0===this.buffer.length&&this.isComplete}notifyComplete(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()}notifyNext(n){this.buffer.push(n),this.parent.checkIterators()}subscribe(){return wi(this.observable,new bi(this))}}class Vk extends A{constructor(n,t){super()}schedule(n,t=0){return this}}class hf extends Vk{constructor(n,t){super(n,t),this.scheduler=n,this.work=t,this.pending=!1}schedule(n,t=0){if(this.closed)return this;this.state=n;const r=this.id,i=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(i,r,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(i,this.id,t),this}requestAsyncId(n,t,r=0){return setInterval(n.flush.bind(n,this),r)}recycleAsyncId(n,t,r=0){if(null!==r&&this.delay===r&&!1===this.pending)return t;clearInterval(t)}execute(n,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const r=this._execute(n,t);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,t){let i,r=!1;try{this.work(n)}catch(o){r=!0,i=!!o&&o||new Error(o)}if(r)return this.unsubscribe(),i}_unsubscribe(){const n=this.id,t=this.scheduler,r=t.actions,i=r.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&r.splice(i,1),null!=n&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null}}let Lw=(()=>{class e{constructor(t,r=e.now){this.SchedulerAction=t,this.now=r}schedule(t,r=0,i){return new this.SchedulerAction(this,t).schedule(i,r)}}return e.now=()=>Date.now(),e})();class Jn extends Lw{constructor(n,t=Lw.now){super(n,()=>Jn.delegate&&Jn.delegate!==this?Jn.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(n,t=0,r){return Jn.delegate&&Jn.delegate!==this?Jn.delegate.schedule(n,t,r):super.schedule(n,t,r)}flush(n){const{actions:t}=this;if(this.active)return void t.push(n);let r;this.active=!0;do{if(r=n.execute(n.state,n.delay))break}while(n=t.shift());if(this.active=!1,r){for(;n=t.shift();)n.unsubscribe();throw r}}}const sc=new class Hk extends Jn{flush(n){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let r,i=-1,o=t.length;n=n||t.shift();do{if(r=n.execute(n.state,n.delay))break}while(++i0?super.requestAsyncId(n,t,r):(n.actions.push(this),n.scheduled||(n.scheduled=requestAnimationFrame(()=>n.flush(null))))}recycleAsyncId(n,t,r=0){if(null!==r&&r>0||null===r&&this.delay>0)return super.recycleAsyncId(n,t,r);0===n.actions.length&&(cancelAnimationFrame(t),n.scheduled=void 0)}});function Jt(e,n){return function(r){return r.lift(new jk(e,n))}}class jk{constructor(n,t){this.predicate=n,this.thisArg=t}call(n,t){return t.subscribe(new Uk(n,this.predicate,this.thisArg))}}class Uk extends Z{constructor(n,t,r){super(n),this.predicate=t,this.thisArg=r,this.count=0}_next(n){let t;try{t=this.predicate.call(this.thisArg,n,this.count++)}catch(r){return void this.destination.error(r)}t&&this.destination.next(n)}}const Vw=(()=>{function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e})();function kr(e){return n=>0===e?df():n.lift(new $k(e))}class $k{constructor(n){if(this.total=n,this.total<0)throw new Vw}call(n,t){return t.subscribe(new zk(n,this.total))}}class zk extends Z{constructor(n,t){super(n),this.total=t,this.count=0}_next(n){const t=this.total,r=++this.count;r<=t&&(this.destination.next(n),r===t&&(this.destination.complete(),this.unsubscribe()))}}function Fr(){}function Ze(e,n,t){return function(i){return i.lift(new Gk(e,n,t))}}class Gk{constructor(n,t,r){this.nextOrObserver=n,this.error=t,this.complete=r}call(n,t){return t.subscribe(new Wk(n,this.nextOrObserver,this.error,this.complete))}}class Wk extends Z{constructor(n,t,r,i){super(n),this._tapNext=Fr,this._tapError=Fr,this._tapComplete=Fr,this._tapError=r||Fr,this._tapComplete=i||Fr,z(t)?(this._context=this,this._tapNext=t):t&&(this._context=t,this._tapNext=t.next||Fr,this._tapError=t.error||Fr,this._tapComplete=t.complete||Fr)}_next(n){try{this._tapNext.call(this._context,n)}catch(t){return void this.destination.error(t)}this.destination.next(n)}_error(n){try{this._tapError.call(this._context,n)}catch(t){return void this.destination.error(t)}this.destination.error(n)}_complete(){try{this._tapComplete.call(this._context)}catch(n){return void this.destination.error(n)}return this.destination.complete()}}function ai(e){return function(t){const r=new qk(e),i=t.lift(r);return r.caught=i}}class qk{constructor(n){this.selector=n}call(n,t){return t.subscribe(new Zk(n,this.selector,this.caught))}}class Zk extends Ci{constructor(n,t,r){super(n),this.selector=t,this.caught=r}error(n){if(!this.isStopped){let t;try{t=this.selector(n,this.caught)}catch(o){return void super.error(o)}this._unsubscribeAndRecycle();const r=new bi(this);this.add(r);const i=wi(t,r);i!==r&&this.add(i)}}}const ac=new $("HIGHLIGHT_OPTIONS");let ff;let Xk=(()=>{class e{constructor(t,r,i){this.doc=t,this.platformId=r,this._options=i,this._ready=new ze(null),this.ready=this._ready.asObservable().pipe(Jt(o=>!!o),oe(o=>o),kr(1)),Hl(r)&&(t.defaultView.hljs?this._ready.next(t.defaultView.hljs):(this._loadLibrary().pipe(nn(o=>this._options&&this._options.lineNumbersLoader?(t.defaultView.hljs=o,this.loadLineNumbers().pipe(Ze(()=>this._ready.next(o)))):(this._ready.next(o),br)),ai(o=>(console.error("[HLJS] ",o),br))).subscribe(),this._options?.themePath&&this.loadTheme(this._options.themePath)))}_loadLibrary(){if(this._options){if(this._options.fullLibraryLoader&&this._options.coreLibraryLoader)return Qn(()=>"The full library and the core library were imported, only one of them should be imported!");if(this._options.fullLibraryLoader&&this._options.languages)return Qn(()=>"The highlighting languages were imported they are not needed!");if(this._options.coreLibraryLoader&&!this._options.languages)return Qn(()=>"The highlighting languages were not imported!");if(!this._options.coreLibraryLoader&&this._options.languages)return Qn(()=>"The core library was not imported!");if(this._options.fullLibraryLoader)return this.loadFullLibrary();if(this._options.coreLibraryLoader&&this._options.languages&&Object.keys(this._options.languages).length)return this.loadCoreLibrary().pipe(nn(t=>this._loadLanguages(t)))}return Qn(()=>"Highlight.js library was not imported!")}_loadLanguages(t){return function Rk(...e){const n=e[e.length-1];return"function"==typeof n&&e.pop(),ta(e,void 0).lift(new Pk(n))}(...Object.entries(this._options.languages).map(([i,o])=>lc(o()).pipe(Ze(s=>t.registerLanguage(i,s))))).pipe(oe(()=>t))}loadCoreLibrary(){return lc(this._options.coreLibraryLoader())}loadFullLibrary(){return lc(this._options.fullLibraryLoader())}loadLineNumbers(){return lc(this._options.lineNumbersLoader())}setTheme(t){Hl(this.platformId)&&(this._themeLinkElement?this._themeLinkElement.href=t:this.loadTheme(t))}loadTheme(t){this._themeLinkElement=this.doc.createElement("link"),this._themeLinkElement.href=t,this._themeLinkElement.type="text/css",this._themeLinkElement.rel="stylesheet",this._themeLinkElement.media="screen,print",this.doc.head.appendChild(this._themeLinkElement)}}return e.\u0275fac=function(t){return new(t||e)(P(He),P(dr),P(ac,8))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const lc=e=>_t(e).pipe(Jt(n=>!!n&&!!n.default),oe(n=>n.default));let Qk=(()=>{class e{get hljs(){return this._hljs}constructor(t,r){this._loader=t,this._hljs=null,t.ready.subscribe(i=>{this._hljs=i,r&&r.config&&(i.configure(r.config),i.listLanguages().length<1&&console.error("[HighlightJS]: No languages were registered!"))})}highlight(t,{language:r,ignoreIllegals:i}){return this._loader.ready.pipe(oe(o=>o.highlight(t,{language:r,ignoreIllegals:i})))}highlightAuto(t,r){return this._loader.ready.pipe(oe(i=>i.highlightAuto(t,r)))}highlightElement(t){return this._loader.ready.pipe(oe(r=>r.highlightElement(t)))}highlightAll(){return this._loader.ready.pipe(oe(t=>t.highlightAll()))}configure(t){return this._loader.ready.pipe(oe(r=>r.configure(t)))}registerLanguage(t,r){return this._loader.ready.pipe(Ze(i=>i.registerLanguage(t,r)))}unregisterLanguage(t){return this._loader.ready.pipe(Ze(r=>r.unregisterLanguage(t)))}registerAliases(t,{languageName:r}){return this._loader.ready.pipe(Ze(i=>i.registerAliases(t,{languageName:r})))}listLanguages(){return this._loader.ready.pipe(oe(t=>t.listLanguages()))}getLanguage(t){return this._loader.ready.pipe(oe(r=>r.getLanguage(t)))}safeMode(){return this._loader.ready.pipe(oe(t=>t.safeMode()))}debugMode(){return this._loader.ready.pipe(oe(t=>t.debugMode()))}lineNumbersBlock(t){return this._loader.ready.pipe(Jt(r=>!!r.lineNumbersBlock),Ze(r=>r.lineNumbersBlock(t)))}}return e.\u0275fac=function(t){return new(t||e)(P(Xk),P(ac,8))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Jk=(()=>{class e{constructor(t,r,i,o,s){this._hljs=r,this._sanitizer=i,this.platformId=o,this._options=s,this.highlighted=new me,this._nativeElement=t.nativeElement}ngOnChanges(t){Hl(this.platformId)&&null!==t?.code?.currentValue&&t.code.currentValue!==t.code.previousValue&&(this.code?this.highlightElement(this.code,this.languages):this.setTextContent(""))}highlightElement(t,r){this.setTextContent(t),this._hljs.highlightAuto(t,r).subscribe(i=>{this.setInnerHTML(i?.value),this.lineNumbers&&this._options&&this._options.lineNumbersLoader&&this.addLineNumbers(),this.highlighted.emit(i)})}addLineNumbers(){this.destroyLineNumbersObserver(),sc.schedule(()=>{this._hljs.lineNumbersBlock(this._nativeElement).subscribe(),this._lineNumbersObs=new MutationObserver(()=>{this._nativeElement.firstElementChild&&"TABLE"===this._nativeElement.firstElementChild.tagName.toUpperCase()&&this._nativeElement.classList.add("hljs-line-numbers"),this.destroyLineNumbersObserver()}),this._lineNumbersObs.observe(this._nativeElement,{childList:!0})})}destroyLineNumbersObserver(){this._lineNumbersObs&&(this._lineNumbersObs.disconnect(),this._lineNumbersObs=null)}setTextContent(t){sc.schedule(()=>this._nativeElement.textContent=t)}setInnerHTML(t){sc.schedule(()=>this._nativeElement.innerHTML=function Kk(e){return function Yk(){if(!ff)try{ff=window?.trustedTypes?.createPolicy("ngx-highlightjs",{createHTML:e=>e})}catch{}return ff}()?.createHTML(e)||e}(this._sanitizer.sanitize(Fe.HTML,t)||""))}}return e.\u0275fac=function(t){return new(t||e)(M(pt),M(Qk),M(TC),M(dr),M(ac,8))},e.\u0275dir=X({type:e,selectors:[["","highlight",""]],hostVars:2,hostBindings:function(t,r){2&t&&rt("hljs",!0)},inputs:{code:["highlight","code"],languages:"languages",lineNumbers:"lineNumbers"},outputs:{highlighted:"highlighted"},features:[Ft]}),e})(),eF=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=dt({type:e}),e.\u0275inj=nt({}),e})();const tF=[{l:"a",s:/[\u24d0\uff41\u1e9a\xe0\xe1\xe2\u1ea7\u1ea5\u1eab\u1ea9\xe3\u0101\u0103\u1eb1\u1eaf\u1eb5\u1eb3\u0227\u01e1\xe4\u01df\u1ea3\xe5\u01fb\u01ce\u0201\u0203\u1ea1\u1ead\u1eb7\u1e01\u0105\u2c65\u0250]/gi},{l:"aa",s:/\ua733/gi},{l:"ae",s:/[\xe6\u01fd\u01e3]/gi},{l:"ao",s:/\ua735/gi},{l:"au",s:/\ua737/gi},{l:"av",s:/[\ua739\ua73b]/gi},{l:"ay",s:/\ua73d/gi},{l:"b",s:/[\u24d1\uff42\u1e03\u1e05\u1e07\u0180\u0183\u0253]/gi},{l:"c",s:/[\u24d2\uff43\u0107\u0109\u010b\u010d\xe7\u1e09\u0188\u023c\ua73f\u2184]/gi},{l:"d",s:/[\u24d3\uff44\u1e0b\u010f\u1e0d\u1e11\u1e13\u1e0f\u0111\u018c\u0256\u0257\ua77a]/gi},{l:"dz",s:/[\u01f3\u01c6]/gi},{l:"e",s:/[\u24d4\uff45\xe8\xe9\xea\u1ec1\u1ebf\u1ec5\u1ec3\u1ebd\u0113\u1e15\u1e17\u0115\u0117\xeb\u1ebb\u011b\u0205\u0207\u1eb9\u1ec7\u0229\u1e1d\u0119\u1e19\u1e1b\u0247\u025b\u01dd]/gi},{l:"f",s:/[\u24d5\uff46\u1e1f\u0192\ua77c]/gi},{l:"g",s:/[\u24d6\uff47\u01f5\u011d\u1e21\u011f\u0121\u01e7\u0123\u01e5\u0260\ua7a1\u1d79\ua77f]/gi},{l:"h",s:/[\u24d7\uff48\u0125\u1e23\u1e27\u021f\u1e25\u1e29\u1e2b\u1e96\u0127\u2c68\u2c76\u0265]/gi},{l:"hv",s:/\u0195/gi},{l:"i",s:/[\u24d8\uff49\xec\xed\xee\u0129\u012b\u012d\u0130\xef\u1e2f\u1ec9\u01d0\u0209\u020b\u1ecb\u012f\u1e2d\u0268\u0131]/gi},{l:"j",s:/[\u24d9\uff4a\u0135\u01f0\u0249]/gi},{l:"k",s:/[\u24da\uff4b\u1e31\u01e9\u1e33\u0137\u1e35\u0199\u2c6a\ua741\ua743\ua745\ua7a3]/gi},{l:"l",s:/[\u24db\uff4c\u0140\u013a\u013e\u1e37\u1e39\u013c\u1e3d\u1e3b\u017f\u0142\u019a\u026b\u2c61\ua749\ua781\ua747\ua746]/gi},{l:"lj",s:/\u01c9/gi},{l:"m",s:/[\u24dc\uff4d\u1e3f\u1e41\u1e43\u0271\u026f]/gi},{l:"n",s:/[\u24dd\uff4e\u01f9\u0144\xf1\u1e45\u0148\u1e47\u0146\u1e4b\u1e49\u019e\u0272\u0149\ua791\ua7a5]/gi},{l:"nj",s:/\u01cc/gi},{l:"o",s:/[\u24de\uff4f\xf2\xf3\xf4\u1ed3\u1ed1\u1ed7\u1ed5\xf5\u1e4d\u022d\u1e4f\u014d\u1e51\u1e53\u014f\u022f\u0231\xf6\u022b\u1ecf\u0151\u01d2\u020d\u020f\u01a1\u1edd\u1edb\u1ee1\u1edf\u1ee3\u1ecd\u1ed9\u01eb\u01ed\xf8\u01ff\u0254\u019f\ua74b\ua74d\u0275]/gi},{l:"oi",s:/\u01a3/gi},{l:"oe",s:/\u0153/gi},{l:"oo",s:/\ua74f/gi},{l:"ou",s:/\u0223/gi},{l:"p",s:/[\u24df\uff50\u1e55\u1e57\u01a5\u1d7d\ua751\ua753\ua755]/gi},{l:"q",s:/[\u24e0\uff51\u024b\ua757\ua759]/gi},{l:"r",s:/[\u24e1\uff52\u0155\u1e59\u0159\u0211\u0213\u1e5b\u1e5d\u0157\u1e5f\u024d\u027d\ua75b\ua7a7\ua783]/gi},{l:"s",s:/[\u24e2\uff53\xdf\u1e9e\u015b\u1e65\u015d\u1e61\u0161\u1e67\u1e63\u1e69\u0219\u015f\u023f\ua7a9\ua785\u1e9b]/gi},{l:"t",s:/[\u24e3\uff54\u1e6b\u1e97\u0165\u1e6d\u021b\u0163\u1e71\u1e6f\u0167\u01ad\u0288\u2c66\ua787]/gi},{l:"tz",s:/\ua729/gi},{l:"u",s:/[\u24e4\uff55\xf9\xfa\xfb\u0169\u1e79\u016b\u1e7b\u016d\xfc\u01dc\u01d8\u01d6\u01da\u1ee7\u016f\u0171\u01d4\u0215\u0217\u01b0\u1eeb\u1ee9\u1eef\u1eed\u1ef1\u1ee5\u1e73\u0173\u1e77\u1e75\u0289]/gi},{l:"v",s:/[\u24e5\uff56\u1e7d\u1e7f\u028b\ua75f\u028c]/gi},{l:"vy",s:/\ua761/gi},{l:"w",s:/[\u24e6\uff57\u1e81\u1e83\u0175\u1e87\u1e85\u1e98\u1e89\u2c73]/gi},{l:"x",s:/[\u24e7\uff58\u1e8b\u1e8d]/gi},{l:"y",s:/[\u24e8\uff59\u1ef3\xfd\u0177\u1ef9\u0233\u1e8f\xff\u1ef7\u1e99\u1ef5\u01b4\u024f\u1eff]/gi},{l:"z",s:/[\u24e9\uff5a\u017a\u1e91\u017c\u017e\u1e93\u1e95\u01b6\u0225\u0240\u2c6c\ua763]/gi}],rF=new RegExp("[\\-\\[\\]\\/\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^\\$\\|]","g");function ks(e){return null!=e&&"false"!=`${e}`}function Bw(e){return Array.isArray(e)?e:[e]}function st(e){return null==e?"":"string"==typeof e?e:`${e}px`}function pf(e,n,t,r){return z(t)&&(r=t,t=void 0),r?pf(e,n,t).pipe(oe(i=>h(i)?r(...i):r(i))):new be(i=>{Hw(e,n,function o(s){i.next(arguments.length>1?Array.prototype.slice.call(arguments):s)},i,t)})}function Hw(e,n,t,r,i){let o;if(function lF(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(e)){const s=e;e.addEventListener(n,t,i),o=()=>s.removeEventListener(n,t,i)}else if(function aF(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(e)){const s=e;e.on(n,t),o=()=>s.off(n,t)}else if(function sF(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(e)){const s=e;e.addListener(n,t),o=()=>s.removeListener(n,t)}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(let s=0,a=e.length;sjw(n)&&e()),n},clearImmediate(e){jw(e)}},gf=(new class hF extends Jn{flush(n){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let r,i=-1,o=t.length;n=n||t.shift();do{if(r=n.execute(n.state,n.delay))break}while(++i0?super.requestAsyncId(n,t,r):(n.actions.push(this),n.scheduled||(n.scheduled=Uw.setImmediate(n.flush.bind(n,null))))}recycleAsyncId(n,t,r=0){if(null!==r&&r>0||null===r&&this.delay>0)return super.recycleAsyncId(n,t,r);0===n.actions.length&&(Uw.clearImmediate(t),n.scheduled=void 0)}}),new Jn(hf));class gF{constructor(n){this.durationSelector=n}call(n,t){return t.subscribe(new mF(n,this.durationSelector))}}class mF extends Ci{constructor(n,t){super(n),this.durationSelector=t,this.hasValue=!1}_next(n){if(this.value=n,this.hasValue=!0,!this.throttled){let t;try{const{durationSelector:i}=this;t=i(n)}catch(i){return this.destination.error(i)}const r=wi(t,new bi(this));!r||r.closed?this.clearThrottle():this.add(this.throttled=r)}}clearThrottle(){const{value:n,hasValue:t,throttled:r}=this;r&&(this.remove(r),this.throttled=void 0,r.unsubscribe()),t&&(this.value=void 0,this.hasValue=!1,this.destination.next(n))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function $w(e){return!h(e)&&e-parseFloat(e)+1>=0}function vF(e){const{index:n,period:t,subscriber:r}=e;if(r.next(n),!r.closed){if(-1===t)return r.complete();e.index=n+1,this.schedule(e,t)}}function zw(e,n=gf){return function pF(e){return function(t){return t.lift(new gF(e))}}(()=>function _F(e=0,n,t){let r=-1;return $w(n)?r=Number(n)<1?1:Number(n):zt(n)&&(t=n),zt(t)||(t=gf),new be(i=>{const o=$w(e)?e:+e-t.now();return t.schedule(vF,o,{index:0,period:r,subscriber:i})})}(e,n))}let mf;try{mf=typeof Intl<"u"&&Intl.v8BreakIterator}catch{mf=!1}let li,Fs=(()=>{class e{constructor(t){this._platformId=t,this.isBrowser=this._platformId?Hl(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&&!mf)&&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(t){return new(t||e)(P(dr))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function bF(){if(null==li){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return li=!1,li;if("scrollBehavior"in document.documentElement.style)li=!0;else{const e=Element.prototype.scrollTo;li=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return li}function Ww(e){return e.composedPath?e.composedPath()[0]:e.target}function qw(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}const wF=new $("cdk-dir-doc",{providedIn:"root",factory:function DF(){return W(He)}}),SF=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let Zw=(()=>{class e{constructor(t){this.value="ltr",this.change=new me,t&&(this.value=function EF(e){const n=e?.toLowerCase()||"";return"auto"===n&&typeof navigator<"u"&&navigator?.language?SF.test(navigator.language)?"rtl":"ltr":"rtl"===n?"rtl":"ltr"}((t.body?t.body.dir:null)||(t.documentElement?t.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}}return e.\u0275fac=function(t){return new(t||e)(P(wF,8))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),vf=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=dt({type:e}),e.\u0275inj=nt({}),e})(),AF=(()=>{class e{constructor(t,r,i){this._ngZone=t,this._platform=r,this._scrolled=new je,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=i}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const r=this.scrollContainers.get(t);r&&(r.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new be(r=>{this._globalSubscription||this._addGlobalListener();const i=t>0?this._scrolled.pipe(zw(t)).subscribe(r):this._scrolled.subscribe(r);return this._scrolledCount++,()=>{i.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):ne()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,r)=>this.deregister(r)),this._scrolled.complete()}ancestorScrolled(t,r){const i=this.getAncestorScrollContainers(t);return this.scrolled(r).pipe(Jt(o=>!o||i.indexOf(o)>-1))}getAncestorScrollContainers(t){const r=[];return this.scrollContainers.forEach((i,o)=>{this._scrollableContainsElement(o,t)&&r.push(o)}),r}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,r){let i=function oF(e){return e instanceof pt?e.nativeElement:e}(r),o=t.getElementRef().nativeElement;do{if(i==o)return!0}while(i=i.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>pf(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return e.\u0275fac=function(t){return new(t||e)(P(Ie),P(Fs),P(He,8))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),yf=(()=>{class e{constructor(t,r,i){this._platform=t,this._change=new je,this._changeListener=o=>{this._change.next(o)},this._document=i,r.runOutsideAngular(()=>{if(t.isBrowser){const o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:r,height:i}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+i,right:t.left+r,height:i,width:r}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._document,r=this._getWindow(),i=t.documentElement,o=i.getBoundingClientRect();return{top:-o.top||t.body.scrollTop||r.scrollY||i.scrollTop||0,left:-o.left||t.body.scrollLeft||r.scrollX||i.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(zw(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}}return e.\u0275fac=function(t){return new(t||e)(P(Fs),P(Ie),P(He,8))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Yw=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=dt({type:e}),e.\u0275inj=nt({}),e})(),Kw=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=dt({type:e}),e.\u0275inj=nt({imports:[vf,Yw,vf,Yw]}),e})();class OF{constructor(n){this.notifier=n}call(n,t){const r=new xF(n),i=wi(this.notifier,new bi(r));return i&&!r.seenValue?(r.add(i),t.subscribe(r)):r}}class xF extends Ci{constructor(n){super(n),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}class PF{constructor(n,t){this.predicate=n,this.inclusive=t}call(n,t){return t.subscribe(new NF(n,this.predicate,this.inclusive))}}class NF extends Z{constructor(n,t,r){super(n),this.predicate=t,this.inclusive=r,this.index=0}_next(n){const t=this.destination;let r;try{r=this.predicate(n,this.index++)}catch(i){return void t.error(i)}this.nextOrComplete(n,r)}nextOrComplete(n,t){const r=this.destination;t?r.next(n):(this.inclusive&&r.next(n),r.complete())}}class bf{attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;null!=n&&(this._attachedHost=null,n.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(n){this._attachedHost=n}}class kF extends bf{constructor(n,t,r,i,o){super(),this.component=n,this.viewContainerRef=t,this.injector=r,this.componentFactoryResolver=i,this.projectableNodes=o}}class Xw extends bf{constructor(n,t,r,i){super(),this.templateRef=n,this.viewContainerRef=t,this.context=r,this.injector=i}get origin(){return this.templateRef.elementRef}attach(n,t=this.context){return this.context=t,super.attach(n)}detach(){return this.context=void 0,super.detach()}}class FF extends bf{constructor(n){super(),this.element=n instanceof pt?n.nativeElement:n}}class LF{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(n){return n instanceof kF?(this._attachedPortal=n,this.attachComponentPortal(n)):n instanceof Xw?(this._attachedPortal=n,this.attachTemplatePortal(n)):this.attachDomPortal&&n instanceof FF?(this._attachedPortal=n,this.attachDomPortal(n)):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(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class VF extends LF{constructor(n,t,r,i,o){super(),this.outletElement=n,this._componentFactoryResolver=t,this._appRef=r,this._defaultInjector=i,this.attachDomPortal=s=>{const a=s.element,l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=o}attachComponentPortal(n){const r=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component);let i;return n.viewContainerRef?(i=n.viewContainerRef.createComponent(r,n.viewContainerRef.length,n.injector||n.viewContainerRef.injector,n.projectableNodes||void 0),this.setDisposeFn(()=>i.destroy())):(i=r.create(n.injector||this._defaultInjector||dn.NULL),this._appRef.attachView(i.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(i.hostView),i.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(i)),this._attachedPortal=n,i}attachTemplatePortal(n){let t=n.viewContainerRef,r=t.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return r.rootNodes.forEach(i=>this.outletElement.appendChild(i)),r.detectChanges(),this.setDisposeFn(()=>{let i=t.indexOf(r);-1!==i&&t.remove(i)}),this._attachedPortal=n,r}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}}let BF=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=dt({type:e}),e.\u0275inj=nt({}),e})();const Qw=bF();class UF{constructor(n,t){this._viewportRuler=n,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=t}attach(){}enable(){if(this._canBeEnabled()){const n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=st(-this._previousScrollPosition.left),n.style.top=st(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const n=this._document.documentElement,r=n.style,i=this._document.body.style,o=r.scrollBehavior||"",s=i.scrollBehavior||"";this._isEnabled=!1,r.left=this._previousHTMLStyles.left,r.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),Qw&&(r.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Qw&&(r.scrollBehavior=o,i.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,r=this._viewportRuler.getViewportSize();return t.scrollHeight>r.height||t.scrollWidth>r.width}}class $F{constructor(n,t,r,i){this._scrollDispatcher=n,this._ngZone=t,this._viewportRuler=r,this._config=i,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(n){this._overlayRef=n}enable(){if(this._scrollSubscription)return;const n=this._scrollDispatcher.scrolled(0).pipe(Jt(t=>!t||!this._overlayRef.overlayElement.contains(t.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class Jw{enable(){}disable(){}attach(){}}function Cf(e,n){return n.some(t=>e.bottomt.bottom||e.rightt.right)}function eD(e,n){return n.some(t=>e.topt.bottom||e.leftt.right)}class zF{constructor(n,t,r,i){this._scrollDispatcher=n,this._viewportRuler=t,this._ngZone=r,this._config=i,this._scrollSubscription=null}attach(n){this._overlayRef=n}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 t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:r,height:i}=this._viewportRuler.getViewportSize();Cf(t,[{width:r,height:i,bottom:i,right:r,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 GF=(()=>{class e{constructor(t,r,i,o){this._scrollDispatcher=t,this._viewportRuler=r,this._ngZone=i,this.noop=()=>new Jw,this.close=s=>new $F(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new UF(this._viewportRuler,this._document),this.reposition=s=>new zF(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=o}}return e.\u0275fac=function(t){return new(t||e)(P(AF),P(yf),P(Ie),P(He))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class tD{constructor(n){if(this.scrollStrategy=new Jw,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,n){const t=Object.keys(n);for(const r of t)void 0!==n[r]&&(this[r]=n[r])}}}class WF{constructor(n,t){this.connectionPair=n,this.scrollableViewProperties=t}}let nD=(()=>{class e{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){const r=this._attachedOverlays.indexOf(t);r>-1&&this._attachedOverlays.splice(r,1),0===this._attachedOverlays.length&&this.detach()}}return e.\u0275fac=function(t){return new(t||e)(P(He))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),qF=(()=>{class e extends nD{constructor(t,r){super(t),this._ngZone=r,this._keydownListener=i=>{const o=this._attachedOverlays;for(let s=o.length-1;s>-1;s--)if(o[s]._keydownEvents.observers.length>0){const a=o[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>a.next(i)):a.next(i);break}}}add(t){super.add(t),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(t){return new(t||e)(P(He),P(Ie,8))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),ZF=(()=>{class e extends nD{constructor(t,r,i){super(t),this._platform=r,this._ngZone=i,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=Ww(o)},this._clickListener=o=>{const s=Ww(o),a="click"===o.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;const l=this._attachedOverlays.slice();for(let c=l.length-1;c>-1;c--){const u=l[c];if(u._outsidePointerEvents.observers.length<1||!u.hasAttached())continue;if(u.overlayElement.contains(s)||u.overlayElement.contains(a))break;const d=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>d.next(o)):d.next(o)}}}add(t){if(super.add(t),!this._isAttached){const r=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(r)):this._addEventListeners(r),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=r.style.cursor,r.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const t=this._document.body;t.removeEventListener("pointerdown",this._pointerDownListener,!0),t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(t){t.addEventListener("pointerdown",this._pointerDownListener,!0),t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0)}}return e.\u0275fac=function(t){return new(t||e)(P(He),P(Fs),P(Ie,8))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),rD=(()=>{class e{constructor(t,r){this._platform=r,this._document=t}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t="cdk-overlay-container";if(this._platform.isBrowser||qw()){const i=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let o=0;othis._backdropClick.next(d),this._backdropTransitionendHandler=d=>{this._disposeBackdrop(d.target)},this._keydownEvents=new je,this._outsidePointerEvents=new je,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const t=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(kr(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof t?.onDestroy&&t.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){const n=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,n&&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(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config={...this._config,...n},this._updateElementSize()}setDirection(n){this._config={...this._config,direction:n},this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){const n=this._config.direction;return n?"string"==typeof n?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const n=this._pane.style;n.width=st(this._config.width),n.height=st(this._config.height),n.minWidth=st(this._config.minWidth),n.minHeight=st(this._config.minHeight),n.maxWidth=st(this._config.maxWidth),n.maxHeight=st(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){const n="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(n)})}):this._backdropElement.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const n=this._backdropElement;if(n){if(this._animationsDisabled)return void this._disposeBackdrop(n);n.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{n.addEventListener("transitionend",this._backdropTransitionendHandler)}),n.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(n)},500))}}_toggleClasses(n,t,r){const i=Bw(t||[]).filter(o=>!!o);i.length&&(r?n.classList.add(...i):n.classList.remove(...i))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const n=this._ngZone.onStable.pipe(function TF(e){return n=>n.lift(new OF(e))}(Jf(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()),n.unsubscribe())})})}_disposeScrollStrategy(){const n=this._scrollStrategy;n&&(n.disable(),n.detach&&n.detach())}_disposeBackdrop(n){n&&(n.removeEventListener("click",this._backdropClickHandler),n.removeEventListener("transitionend",this._backdropTransitionendHandler),n.remove(),this._backdropElement===n&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const iD="cdk-overlay-connected-position-bounding-box",KF=/([A-Za-z%]+)$/;class XF{get positions(){return this._preferredPositions}constructor(n,t,r,i,o){this._viewportRuler=t,this._document=r,this._platform=i,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new je,this._resizeSubscription=A.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(n)}attach(n){this._validatePositions(),n.hostElement.classList.add(iD),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.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 n=this._originRect,t=this._overlayRect,r=this._viewportRect,i=this._containerRect,o=[];let s;for(let a of this._preferredPositions){let l=this._getOriginPoint(n,i,a),c=this._getOverlayPoint(l,t,a),u=this._getOverlayFit(c,t,r,a);if(u.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,l);this._canFitWithFlexibleDimensions(u,c,r)?o.push({position:a,origin:l,overlayRect:t,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&&ci(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(iD),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const t=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,t)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,-1===n.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,t,r){let i,o;if("center"==r.originX)i=n.left+n.width/2;else{const s=this._isRtl()?n.right:n.left,a=this._isRtl()?n.left:n.right;i="start"==r.originX?s:a}return t.left<0&&(i-=t.left),o="center"==r.originY?n.top+n.height/2:"top"==r.originY?n.top:n.bottom,t.top<0&&(o-=t.top),{x:i,y:o}}_getOverlayPoint(n,t,r){let i,o;return i="center"==r.overlayX?-t.width/2:"start"===r.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,o="center"==r.overlayY?-t.height/2:"top"==r.overlayY?0:-t.height,{x:n.x+i,y:n.y+o}}_getOverlayFit(n,t,r,i){const o=sD(t);let{x:s,y:a}=n,l=this._getOffset(i,"x"),c=this._getOffset(i,"y");l&&(s+=l),c&&(a+=c);let p=0-a,g=a+o.height-r.height,y=this._subtractOverflows(o.width,0-s,s+o.width-r.width),S=this._subtractOverflows(o.height,p,g),T=y*S;return{visibleArea:T,isCompletelyWithinViewport:o.width*o.height===T,fitsInViewportVertically:S===o.height,fitsInViewportHorizontally:y==o.width}}_canFitWithFlexibleDimensions(n,t,r){if(this._hasFlexibleDimensions){const i=r.bottom-t.y,o=r.right-t.x,s=oD(this._overlayRef.getConfig().minHeight),a=oD(this._overlayRef.getConfig().minWidth);return(n.fitsInViewportVertically||null!=s&&s<=i)&&(n.fitsInViewportHorizontally||null!=a&&a<=o)}return!1}_pushOverlayOnScreen(n,t,r){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};const i=sD(t),o=this._viewportRect,s=Math.max(n.x+i.width-o.width,0),a=Math.max(n.y+i.height-o.height,0),l=Math.max(o.top-r.top-n.y,0),c=Math.max(o.left-r.left-n.x,0);let u=0,d=0;return u=i.width<=o.width?c||-s:n.xy&&!this._isInitialRender&&!this._growAfterOpen&&(s=n.y-y/2)}if("end"===t.overlayX&&!i||"start"===t.overlayX&&i)p=r.width-n.x+this._viewportMargin,u=n.x-this._viewportMargin;else if("start"===t.overlayX&&!i||"end"===t.overlayX&&i)d=n.x,u=r.right-n.x;else{const g=Math.min(r.right-n.x+r.left,n.x),y=this._lastBoundingBoxSize.width;u=2*g,d=n.x-g,u>y&&!this._isInitialRender&&!this._growAfterOpen&&(d=n.x-y/2)}return{top:s,left:d,bottom:a,right:p,width:u,height:o}}_setBoundingBoxStyles(n,t){const r=this._calculateBoundingBoxRect(n,t);!this._isInitialRender&&!this._growAfterOpen&&(r.height=Math.min(r.height,this._lastBoundingBoxSize.height),r.width=Math.min(r.width,this._lastBoundingBoxSize.width));const i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{const o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;i.height=st(r.height),i.top=st(r.top),i.bottom=st(r.bottom),i.width=st(r.width),i.left=st(r.left),i.right=st(r.right),i.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",i.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",o&&(i.maxHeight=st(o)),s&&(i.maxWidth=st(s))}this._lastBoundingBoxSize=r,ci(this._boundingBox.style,i)}_resetBoundingBoxStyles(){ci(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ci(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,t){const r={},i=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(i){const u=this._viewportRuler.getViewportScrollPosition();ci(r,this._getExactOverlayY(t,n,u)),ci(r,this._getExactOverlayX(t,n,u))}else r.position="static";let a="",l=this._getOffset(t,"x"),c=this._getOffset(t,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),r.transform=a.trim(),s.maxHeight&&(i?r.maxHeight=st(s.maxHeight):o&&(r.maxHeight="")),s.maxWidth&&(i?r.maxWidth=st(s.maxWidth):o&&(r.maxWidth="")),ci(this._pane.style,r)}_getExactOverlayY(n,t,r){let i={top:"",bottom:""},o=this._getOverlayPoint(t,this._overlayRect,n);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,r)),"bottom"===n.overlayY?i.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":i.top=st(o.y),i}_getExactOverlayX(n,t,r){let s,i={left:"",right:""},o=this._getOverlayPoint(t,this._overlayRect,n);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,r)),s=this._isRtl()?"end"===n.overlayX?"left":"right":"end"===n.overlayX?"right":"left","right"===s?i.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":i.left=st(o.x),i}_getScrollVisibility(){const n=this._getOriginRect(),t=this._pane.getBoundingClientRect(),r=this._scrollables.map(i=>i.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:eD(n,r),isOriginOutsideView:Cf(n,r),isOverlayClipped:eD(t,r),isOverlayOutsideView:Cf(t,r)}}_subtractOverflows(n,...t){return t.reduce((r,i)=>r-Math.max(i,0),n)}_getNarrowedViewportRect(){const n=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,r=this._viewportRuler.getViewportScrollPosition();return{top:r.top+this._viewportMargin,left:r.left+this._viewportMargin,right:r.left+n-this._viewportMargin,bottom:r.top+t-this._viewportMargin,width:n-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,t){return"x"===t?null==n.offsetX?this._offsetX:n.offsetX:null==n.offsetY?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&Bw(n).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){const n=this._origin;if(n instanceof pt)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();const t=n.width||0,r=n.height||0;return{top:n.y,bottom:n.y+r,left:n.x,right:n.x+t,height:r,width:t}}}function ci(e,n){for(let t in n)n.hasOwnProperty(t)&&(e[t]=n[t]);return e}function oD(e){if("number"!=typeof e&&null!=e){const[n,t]=e.split(KF);return t&&"px"!==t?null:parseFloat(n)}return e||null}function sD(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 aD="cdk-global-overlay-wrapper";class QF{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(n){const t=n.getConfig();this._overlayRef=n,this._width&&!t.width&&n.updateSize({width:this._width}),this._height&&!t.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(aD),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const n=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,r=this._overlayRef.getConfig(),{width:i,height:o,maxWidth:s,maxHeight:a}=r,l=!("100%"!==i&&"100vw"!==i||s&&"100%"!==s&&"100vw"!==s),c=!("100%"!==o&&"100vh"!==o||a&&"100%"!==a&&"100vh"!==a),u=this._xPosition,d=this._xOffset,p="rtl"===this._overlayRef.getConfig().direction;let g="",y="",S="";l?S="flex-start":"center"===u?(S="center",p?y=d:g=d):p?"left"===u||"end"===u?(S="flex-end",g=d):("right"===u||"start"===u)&&(S="flex-start",y=d):"left"===u||"start"===u?(S="flex-start",g=d):("right"===u||"end"===u)&&(S="flex-end",y=d),n.position=this._cssPosition,n.marginLeft=l?"0":g,n.marginTop=c?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=l?"0":y,t.justifyContent=S,t.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const n=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,r=t.style;t.classList.remove(aD),r.justifyContent=r.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}}let JF=(()=>{class e{constructor(t,r,i,o){this._viewportRuler=t,this._document=r,this._platform=i,this._overlayContainer=o}global(){return new QF}flexibleConnectedTo(t){return new XF(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return e.\u0275fac=function(t){return new(t||e)(P(yf),P(He),P(Fs),P(rD))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),e2=0,wf=(()=>{class e{constructor(t,r,i,o,s,a,l,c,u,d,p,g){this.scrollStrategies=t,this._overlayContainer=r,this._componentFactoryResolver=i,this._positionBuilder=o,this._keyboardDispatcher=s,this._injector=a,this._ngZone=l,this._document=c,this._directionality=u,this._location=d,this._outsideClickDispatcher=p,this._animationsModuleType=g}create(t){const r=this._createHostElement(),i=this._createPaneElement(r),o=this._createPortalOutlet(i),s=new tD(t);return s.direction=s.direction||this._directionality.value,new YF(o,r,i,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(t){const r=this._document.createElement("div");return r.id="cdk-overlay-"+e2++,r.classList.add("cdk-overlay-pane"),t.appendChild(r),r}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(ei)),new VF(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return e.\u0275fac=function(t){return new(t||e)(P(GF),P(rD),P(ns),P(JF),P(qF),P(dn),P(Ie),P(He),P(Zw),P(Ol),P(ZF),P(_A,8))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const t2=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],lD=new $("cdk-connected-overlay-scroll-strategy");let cD=(()=>{class e{constructor(t){this.elementRef=t}}return e.\u0275fac=function(t){return new(t||e)(M(pt))},e.\u0275dir=X({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0}),e})(),uD=(()=>{class e{get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=ks(t)}get lockPosition(){return this._lockPosition}set lockPosition(t){this._lockPosition=ks(t)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(t){this._flexibleDimensions=ks(t)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(t){this._growAfterOpen=ks(t)}get push(){return this._push}set push(t){this._push=ks(t)}constructor(t,r,i,o,s){this._overlay=t,this._dir=s,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=A.EMPTY,this._attachSubscription=A.EMPTY,this._detachSubscription=A.EMPTY,this._positionSubscription=A.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new me,this.positionChange=new me,this.attach=new me,this.detach=new me,this.overlayKeydown=new me,this.overlayOutsideClick=new me,this._templatePortal=new Xw(r,i),this._scrollStrategyFactory=o,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=t2);const t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(r=>{this.overlayKeydown.next(r),27===r.keyCode&&!this.disableClose&&!function jF(e,...n){return n.length?n.some(t=>e[t]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}(r)&&(r.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(r=>{this.overlayOutsideClick.next(r)})}_buildConfig(){const t=this._position=this.positionStrategy||this._createPositionStrategy(),r=new tD({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(r.width=this.width),(this.height||0===this.height)&&(r.height=this.height),(this.minWidth||0===this.minWidth)&&(r.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(r.minHeight=this.minHeight),this.backdropClass&&(r.backdropClass=this.backdropClass),this.panelClass&&(r.panelClass=this.panelClass),r}_updatePositionStrategy(t){const r=this.positions.map(i=>({originX:i.originX,originY:i.originY,overlayX:i.overlayX,overlayY:i.overlayY,offsetX:i.offsetX||this.offsetX,offsetY:i.offsetY||this.offsetY,panelClass:i.panelClass||void 0}));return t.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(r).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const t=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(t),t}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof cD?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function RF(e,n=!1){return t=>t.lift(new PF(e,n))}(()=>this.positionChange.observers.length>0)).subscribe(t=>{this.positionChange.emit(t),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(M(wf),M(pn),M(Cn),M(lD),M(Zw,8))},e.\u0275dir=X({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[Ft]}),e})();const r2={provide:lD,deps:[wf],useFactory:function n2(e){return()=>e.scrollStrategies.reposition()}};let o2=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=dt({type:e}),e.\u0275inj=nt({providers:[wf,r2],imports:[vf,BF,Kw,Kw]}),e})();class Se{static getOptionByValue(n,t){if(Array.isArray(n))for(const r of n){const i=r.options;if(i){for(const o of i)if(o.value===t)return o}else if(r.value===t)return r}}static getOptionsByValue(n,t,r){if(r){const i=Array.isArray(t)?t:[],o=[];for(const s of i){const a=Se.getOptionByValue(n,s);a&&o.push(a)}return o}return Se.getOptionByValue(n,t)}static getFirstAvailableOption(n){if(Array.isArray(n))for(const t of n){const r=t.options;if(r){for(const i of r)if(!i.disabled)return i.value}else if(!t.disabled)return t.value}return null}static valueIsNotInFilteredData(n,t){if(Se.isNullOrUndefined(t))return!0;for(const r of n){const i=r.options;if(i){for(const o of i)if(o.value===t)return!1}else if(r.value===t)return!1}return!0}static getPreviousOption(n,t){let r=Se.isNullOrUndefined(t);for(let i=n.length-1;i>=0;i--){const o=n[i],s=o.options;if(s)for(let a=s.length-1;a>=0;a--){const l=s[a];if(r&&!l.disabled&&!l.hide)return l;r||(r=l.value===t)}else{if(r&&!o.disabled&&!o.hide)return o;r||(r=o.value===t)}}return null}static getNextOption(n,t){let r=Se.isNullOrUndefined(t);for(const i of n){const o=i.options;if(o)for(const s of o)if(r){if(!s.disabled&&!s.hide)return s}else r||(r=s.value===t);else if(r){if(!i.disabled&&!i.hide)return i}else r||(r=i.value===t)}return null}static getReduceData(n,t=0){if(t>0){let r=0;const i=[];for(const o of n){const s=o.options;if(s){const a={...o,options:[]};i.push(a);for(const l of s)if(a.options.push(l),r++,r===t)return{result:i,reduce:!0}}else i.push(o),r++;if(r===t)return{result:i,reduce:!0}}return{result:i,reduce:!1}}return{result:n,reduce:!1}}static getFilteredData(n,t,r){if(t){const i=[];for(const o of n){const s=o.options;if(s){if(s.some(a=>Se.containSearchText(a.label,t,r))){const a=s.filter(l=>Se.containSearchText(l.label,t,r));i.push({...o,options:a})}}else Se.containSearchText(o.label,t,r)&&i.push(o)}return i}return n}static getFilteredSelectedData(n,t){const r=[];for(const i of n){const o=i.options;if(o){const s=o.filter(a=>"false"===Se.isSelected(t,a,!0));s.length&&r.push({...i,options:s})}else"false"===Se.isSelected(t,i,!0)&&r.push(i)}return r}static isSearchboxHiddex(n,t){return(""===t||null==t||isNaN(+t))&&(t=6),Se.getOptionsCount(n)<+t}static isSelected(n,t,r){return r?n&&n.some(i=>i.value===t.value)?"true":"false":n&&t.value===n.value?"true":"false"}static removeSelection(n,t){for(let r=0;rObject.prototype.toString.call(e).includes(t))}function Sf(e,n){return e?n.document.documentElement:null}function hD(e,n){const t=function S2({container:e,isWindow:n,axis:t}){const{offsetHeightKey:r,clientHeightKey:i}=fD(t);return pD(e,n,r,i)}(n);return n.isWindow?function w2(e,n,t){const{axis:r,container:i,isWindow:o}=t,{offsetHeightKey:s,clientHeightKey:a}=fD(r),l=e+gD(Sf(o,i),r,o),c=pD(n.nativeElement,o,s,a),u=function E2(e,n,t){const r=n.topKey();if(e.getBoundingClientRect)return e.getBoundingClientRect()[r]+gD(e,n,t)}(n.nativeElement,r,o)+c;return{height:e,scrolled:l,totalToScroll:u,isWindow:o}}(t,e,n):function D2(e,n,t){const{axis:r,container:i}=t;return{height:e,scrolled:i[r.scrollTopKey()],totalToScroll:i[r.scrollHeightKey()],isWindow:!1}}(t,0,n)}function fD(e){return{offsetHeightKey:e.offsetHeightKey(),clientHeightKey:e.clientHeightKey()}}function pD(e,n,t,r){if(isNaN(e[t])){const i=Sf(n,e);return i?i[r]:0}return e[t]}function gD(e,n,t){const r=n.pageYOffsetKey(),i=n.scrollTopKey(),o=n.offsetTopKey();return isNaN(window.pageYOffset)?Sf(t,e)[i]:e.ownerDocument?e.ownerDocument.defaultView[r]:e[o]}function M2(e,n={down:0,up:0},t){let r,i;if(e.totalToScroll<=0)return!1;const o=e.isWindow?e.scrolled:e.height+e.scrolled;return t?(r=(e.totalToScroll-o)/e.totalToScroll,i=(n?.down?n.down:0)/10):(r=e.scrolled/(e.scrolled+(e.totalToScroll-o)),i=(n?.up?n.up:0)/10),r<=i}class x2{constructor({totalToScroll:n}){this.lastScrollPosition=0,this.lastTotalToScroll=0,this.totalToScroll=0,this.triggered={down:0,up:0},this.totalToScroll=n}updateScrollPosition(n){return this.lastScrollPosition=n}updateTotalToScroll(n){this.lastTotalToScroll!==n&&(this.lastTotalToScroll=this.totalToScroll,this.totalToScroll=n)}updateScroll(n,t){this.updateScrollPosition(n),this.updateTotalToScroll(t)}updateTriggeredFlag(n,t){t?this.triggered.down=n:this.triggered.up=n}isTriggeredScroll(n,t){return t?this.triggered.down===n:this.triggered.up===n}}const Ef={DOWN:"[NGX_ISE] DOWN",UP:"[NGX_ISE] UP"};function k2(e){const{scrollDown:n,stats:{scrolled:t}}=e;return{type:n?Ef.DOWN:Ef.UP,payload:{currentScrollPosition:t}}}let F2=(()=>{class e{constructor(t,r){this.element=t,this.zone=r,this.scrolled=new me,this.scrolledUp=new me,this.infiniteScrollDistance=2,this.infiniteScrollUpDistance=1.5,this.infiniteScrollThrottle=150,this.infiniteScrollDisabled=!1,this.infiniteScrollContainer=null,this.scrollWindow=!0,this.immediateCheck=!1,this.horizontal=!1,this.alwaysCallback=!1,this.fromRoot=!1}ngAfterViewInit(){this.infiniteScrollDisabled||this.setup()}ngOnChanges({infiniteScrollContainer:t,infiniteScrollDisabled:r,infiniteScrollDistance:i}){const o=Df(t),s=Df(r),a=Df(i),l=!s&&!this.infiniteScrollDisabled||s&&!r.currentValue||a;(o||s||a)&&(this.destroyScroller(),l&&this.setup())}setup(){(function p2(){return typeof window<"u"})()&&this.zone.runOutsideAngular(()=>{this.disposeScroller=function R2(e){const{scrollContainer:n,scrollWindow:t,element:r,fromRoot:i}=e,o=function y2({windowElement:e,axis:n}){return function b2(e,n){const t=e.isWindow||n&&!n.nativeElement?n:n.nativeElement;return{...e,container:t}}({axis:n,isWindow:C2(e)},e)}({axis:new _2(!e.horizontal),windowElement:h2(n,t,r,i)}),s=new x2({totalToScroll:hD(r,o)}),l={up:e.upDistance,down:e.downDistance};return function P2(e){let n=pf(e.container,"scroll");return e.throttle&&(n=n.pipe(function l2(e,n=gf,t=dD){return r=>r.lift(new c2(e,n,t.leading,t.trailing))}(e.throttle,void 0,{leading:!0,trailing:!0}))),n}({container:o.container,throttle:e.throttle}).pipe(wt(()=>ne(hD(r,o))),oe(c=>function N2(e,n,t){const{scrollDown:r,fire:i}=function I2(e,n,t){const r=function A2(e,n){return es.updateScroll(c.scrolled,c.totalToScroll)),Jt(({fire:c,scrollDown:u,stats:{totalToScroll:d}})=>function v2(e,n,t){return!!(e&&n||!t&&n)}(e.alwaysCallback,c,s.isTriggeredScroll(d,u))),Ze(({scrollDown:c,stats:{totalToScroll:u}})=>{s.updateTriggeredFlag(u,c)}),oe(k2))}({fromRoot:this.fromRoot,alwaysCallback:this.alwaysCallback,disable:this.infiniteScrollDisabled,downDistance:this.infiniteScrollDistance,element:this.element,horizontal:this.horizontal,scrollContainer:this.infiniteScrollContainer,scrollWindow:this.scrollWindow,throttle:this.infiniteScrollThrottle,upDistance:this.infiniteScrollUpDistance}).subscribe(t=>this.handleOnScroll(t))})}handleOnScroll({type:t,payload:r}){const i=t===Ef.DOWN?this.scrolled:this.scrolledUp;(function L2(e){return e.observed??e.observers.length>0})(i)&&this.zone.run(()=>i.emit(r))}ngOnDestroy(){this.destroyScroller()}destroyScroller(){this.disposeScroller&&this.disposeScroller.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(M(pt),M(Ie))},e.\u0275dir=X({type:e,selectors:[["","infiniteScroll",""],["","infinite-scroll",""],["","data-infinite-scroll",""]],inputs:{infiniteScrollDistance:"infiniteScrollDistance",infiniteScrollUpDistance:"infiniteScrollUpDistance",infiniteScrollThrottle:"infiniteScrollThrottle",infiniteScrollDisabled:"infiniteScrollDisabled",infiniteScrollContainer:"infiniteScrollContainer",scrollWindow:"scrollWindow",immediateCheck:"immediateCheck",horizontal:"horizontal",alwaysCallback:"alwaysCallback",fromRoot:"fromRoot"},outputs:{scrolled:"scrolled",scrolledUp:"scrolledUp"},features:[Ft]}),e})(),V2=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=dt({type:e}),e.\u0275inj=nt({}),e})();const B2=["selection"],H2=["results"],j2=["searchInput"],U2=["dropdown"],$2=["result"];function z2(e,n){1&e&&te(0,"span",14)}function G2(e,n){1&e&&(v(0,"span"),b(1,"\xa0"),_())}function W2(e,n){1&e&&te(0,"span",19),2&e&&R("innerHTML",q(3).select2Option.label,In)}function q2(e,n){1&e&&gr(0)}function Z2(e,n){if(1&e&&J(0,q2,1,0,"ng-container",20),2&e){const t=q(3);R("ngTemplateOutlet",t.getTemplate(t.select2Option,"option"))("ngTemplateOutletContext",t.select2Option)}}function Y2(e,n){if(1&e&&(Yr(0),J(1,W2,1,1,"span",17),J(2,Z2,1,2,"ng-template",null,18,bt),Kr()),2&e){const t=Ue(3),r=q(2);w(1),R("ngIf",!r.hasTemplate(r.select2Option,"option")||r.noLabelTemplate)("ngIfElse",t)}}function K2(e,n){if(1&e&&(v(0,"span",15),J(1,G2,2,0,"span",10),J(2,Y2,4,2,"ng-container",10),v(3,"span",16),b(4),_()()),2&e){const t=q();R("title",(null==t.select2Option?null:t.select2Option.label)||""),w(1),R("ngIf",!t.select2Option),w(1),R("ngIf",t.select2Option),w(1),rt("select2-selection__placeholder__option",t.option),w(1),fn(t.placeholder)}}function X2(e,n){if(1&e){const t=Zn();v(0,"span",21),j("click",function(i){return xe(t),Re(q().reset(i))}),b(1,"\xd7"),_()}}function Q2(e,n){1&e&&te(0,"span",22)}function J2(e,n){if(1&e&&(v(0,"span",16),b(1),_()),2&e){const t=q(2);rt("select2-selection__placeholder__option",(null==t.select2Options?null:t.select2Options.length)>0),w(1),fn(t.placeholder)}}function eL(e,n){if(1&e){const t=Zn();v(0,"span",30),j("click",function(i){xe(t);const o=q().$implicit;return Re(q(2).removeSelection(i,o))}),b(1,"\xd7"),_()}}function tL(e,n){1&e&&te(0,"span",19),2&e&&R("innerHTML",q().$implicit.label,In)}function nL(e,n){1&e&&gr(0)}function rL(e,n){if(1&e&&J(0,nL,1,0,"ng-container",20),2&e){const t=q().$implicit;R("ngTemplateOutlet",q(2).getTemplate(t,"option"))("ngTemplateOutletContext",t)}}function iL(e,n){if(1&e){const t=Zn();v(0,"li",27),j("keydown.enter",function(i){const s=xe(t).$implicit;return Re(q(2).removeSelection(i,s))}),J(1,eL,2,0,"span",28),J(2,tL,1,1,"span",17),J(3,rL,1,2,"ng-template",null,29,bt),_()}if(2&e){const t=n.$implicit,r=Ue(4),i=q(2);R("title",t.label),w(1),R("ngIf",!(i.disabled||i.readonly)),w(1),R("ngIf",!i.hasTemplate(t,"option")||i.noLabelTemplate)("ngIfElse",r)}}function oL(e,n){if(1&e){const t=Zn();v(0,"li",31),j("focus",function(i){return xe(t),Re(q(2).stopEvent(i))})("blur",function(i){return xe(t),Re(q(2).stopEvent(i))}),v(1,"input",32),j("click",function(i){xe(t);const o=q(2);return o.toggleOpenAndClose(!1,!0),Re(o.stopEvent(i))})("keydown",function(i){return xe(t),Re(q(2).keyDown(i,!0))})("keyup",function(i){return xe(t),Re(q(2).searchUpdate(i))})("change",function(i){return xe(t),Re(q(2).prevChange(i))}),_()()}if(2&e){const t=q(2);w(1),R("id",t.id+"-create-field")}}function sL(e,n){if(1&e&&(v(0,"ul",23),J(1,J2,2,3,"span",24),J(2,iL,5,4,"li",25),J(3,oL,2,1,"li",26),_()),2&e){const t=q();w(1),R("ngIf",!t.autoCreate),w(1),R("ngForOf",t.option)("ngForTrackBy",t.trackBy),w(1),R("ngIf",t.autoCreate)}}function aL(e,n){1&e&&gr(0)}function lL(e,n){if(1&e&&(Yr(0),J(1,aL,1,0,"ng-container",33),Kr()),2&e){q();const t=Ue(17);w(1),R("ngTemplateOutlet",t)}}function cL(e,n){1&e&&gr(0)}function uL(e,n){1&e&&J(0,cL,1,0,"ng-container",33),2&e&&(q(),R("ngTemplateOutlet",Ue(17)))}function dL(e,n){if(1&e&&te(0,"strong",19),2&e){const t=q(2).$implicit;R("innerHTML",t.label,In),Bt("class","select2-results__group"+(t.classes?" "+t.classes:""))}}function hL(e,n){1&e&&gr(0)}function fL(e,n){if(1&e&&J(0,hL,1,0,"ng-container",20),2&e){const t=q(2).$implicit;R("ngTemplateOutlet",q(2).getTemplate(t,"group"))("ngTemplateOutletContext",t)}}function pL(e,n){1&e&&te(0,"div",56),2&e&&R("innerHTML",q().$implicit.label,In)}function gL(e,n){1&e&&gr(0)}function mL(e,n){if(1&e&&J(0,gL,1,0,"ng-container",20),2&e){const t=q().$implicit;R("ngTemplateOutlet",q(4).getTemplate(t,"option"))("ngTemplateOutletContext",t)}}function _L(e,n){if(1&e){const t=Zn();v(0,"li",52,53),j("mouseenter",function(){const o=xe(t).$implicit;return Re(q(4).mouseenter(o))})("click",function(){const o=xe(t).$implicit;return Re(q(4).click(o))}),J(2,pL,1,1,"div",54),J(3,mL,1,2,"ng-template",null,55,bt),_()}if(2&e){const t=n.$implicit,r=n.index,i=Ue(4),o=q(2).index,s=q(2);Sd(s.getOptionStyle(t)),R("id",t.id||s.id+"-option-"+o+"-"+r),Bt("aria-selected",s.isSelected(t))("aria-disabled",s.isDisabled(t)),w(2),R("ngIf",!s.hasTemplate(t,"option"))("ngIfElse",i)}}function vL(e,n){if(1&e&&(v(0,"li",48),J(1,dL,1,2,"strong",17),J(2,fL,1,2,"ng-template",null,49,bt),v(4,"ul",50),J(5,_L,5,7,"li",51),_()()),2&e){const t=Ue(3),r=q().$implicit,i=q(2);w(1),R("ngIf",!i.hasTemplate(r,"group"))("ngIfElse",t),w(4),R("ngForOf",r.options)("ngForTrackBy",i.trackBy)}}function yL(e,n){1&e&&te(0,"div",56),2&e&&R("innerHTML",q(2).$implicit.label,In)}function bL(e,n){1&e&&gr(0)}function CL(e,n){if(1&e&&J(0,bL,1,0,"ng-container",20),2&e){const t=q(2).$implicit;R("ngTemplateOutlet",q(2).getTemplate(t,"option"))("ngTemplateOutletContext",t)}}function wL(e,n){if(1&e){const t=Zn();v(0,"li",52,53),j("mouseenter",function(){xe(t);const i=q().$implicit;return Re(q(2).mouseenter(i))})("click",function(){xe(t);const i=q().$implicit;return Re(q(2).click(i))}),J(2,yL,1,1,"div",54),J(3,CL,1,2,"ng-template",null,57,bt),_()}if(2&e){const t=Ue(4),r=q(),i=r.$implicit,o=r.index,s=q(2);Sd(s.getOptionStyle(i)),R("id",i.id||s.id+"-option-"+o),Bt("aria-selected",s.isSelected(i))("aria-disabled",s.isDisabled(i)),w(2),R("ngIf",!s.hasTemplate(i,"option"))("ngIfElse",t)}}function DL(e,n){if(1&e&&(Yr(0),J(1,vL,6,4,"li",46),J(2,wL,5,7,"li",47),Kr()),2&e){const t=n.$implicit;w(1),R("ngIf",t.options),w(1),R("ngIf",!t.options)}}function SL(e,n){1&e&&te(0,"li",58),2&e&&R("innerHTML",q(2).noResultMessage,In)}function EL(e,n){1&e&&te(0,"li",59),2&e&&R("innerHTML",q(2).maxResultsMessage,In)}function ML(e,n){if(1&e){const t=Zn();v(0,"div",34)(1,"div",35,36)(3,"div",37)(4,"input",38,39),j("keydown",function(i){return xe(t),Re(q().keyDown(i))})("keyup",function(i){return xe(t),Re(q().searchUpdate(i))})("change",function(i){return xe(t),Re(q().prevChange(i))}),_()(),v(6,"div",40)(7,"ul",41,42),j("scrolled",function(){return xe(t),Re(q().onScroll("down"))})("scrolledUp",function(){return xe(t),Re(q().onScroll("up"))})("keydown",function(i){return xe(t),Re(q().keyDown(i))}),J(9,DL,3,2,"ng-container",43),J(10,SL,1,1,"li",44),J(11,EL,1,1,"li",45),_()()()()}if(2&e){const t=Ue(8),r=q();rt("select2-container--open",r.isOpen)("select2-overlay",r.overlay)("select2-position-auto","auto"===r.listPosition),w(1),rt("select2-dropdown--below",!r.select2above)("select2-dropdown--above",r.select2above),w(2),rt("select2-search--hide",r.hideSearch()),w(1),R("id",r.id+"-search-field")("value",r.searchText),Bt("tabindex",r.isOpen?r.tabIndex:"-1"),w(3),pl("max-height",r.resultMaxHeight),R("infiniteScrollDisabled",!r.infiniteScroll&&!r.isOpen)("infiniteScrollDistance",r.infiniteScrollDistance)("infiniteScrollThrottle",r.infiniteScrollThrottle)("infiniteScrollContainer",t),w(2),R("ngForOf",r.filteredData)("ngForTrackBy",r.trackBy),w(1),R("ngIf",!(null!=r.filteredData&&r.filteredData.length)&&r.noResultMessage),w(1),R("ngIf",r.maxResultsExceeded)}}const AL=[[["select2-label"]],[["select2-hint"]]],IL=["select2-label","select2-hint"];let TL=0;const OL=["default","hidden","always"];let mD=(()=>{class e{set data(t){this._data=t,this.updateFilteredData(!0)}get multiple(){return this._multiple}set multiple(t){this._multiple=t,this.ngOnInit()}get minCountForSearch(){return this._minCountForSearch}set minCountForSearch(t){this._minCountForSearch=t,this.updateSearchBox()}get id(){return this._id}set id(t){this._id=t||this._uid}get disabled(){return this._control?this._control.disabled:this._disabled}set disabled(t){this._disabled=t}get value(){return this._value}set value(t){this.testValueChange(this._value,t)&&setTimeout(()=>{this._value=t,this.writeValue(t)},10)}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(t){this._tabIndex=t}get select2Options(){return this.multiple?this.option:null}get select2Option(){return this.multiple?null:this.option}get searchText(){return this.innerSearchText}set searchText(t){this.innerSearchText=t}get ariaInvalid(){return this._isErrorState()}get classMaterial(){return"material"===this.styleMode}get classNostyle(){return"noStyle"===this.styleMode}get select2above(){return this.overlay?this._isAbobeOverlay():"above"===this.listPosition}get _positions(){return"auto"===this.listPosition?void 0:null}get resultsElement(){return this.resultContainer?.nativeElement}constructor(t,r,i,o,s,a){this._viewportRuler=t,this._changeDetectorRef=r,this._parentForm=i,this._parentFormGroup=o,this._control=s,this.minCharForSearch=0,this.limitSelection=0,this.listPosition="below",this.overlay=!1,this.styleMode="default",this.maxResults=0,this.maxResultsMessage="Too many results\u2026",this.infiniteScrollDistance=1.5,this.infiniteScrollThrottle=150,this.infiniteScroll=!1,this.autoCreate=!1,this.noLabelTemplate=!1,this.resultMaxHeight="200px",this.customSearchEnabled=!1,this.required=!1,this.hideSelectedItems=!1,this.readonly=!1,this.resettable=!1,this.update=new me,this.open=new me,this.close=new me,this.focus=new me,this.blur=new me,this.search=new me,this.scroll=new me,this.removeOption=new me,this.option=null,this.isOpen=!1,this.focused=!1,this.hoveringValue=null,this.innerSearchText="",this._stateChanges=new je,this._disabled=!1,this._multiple=!1,this._uid="select2-"+TL++,this._onTouched=()=>{},this._onChange=()=>{},this.id=this.id,this._tabIndex=parseInt(a,10)||0,this._control&&(this._control.valueAccessor=this)}clickDetection(t){if(this.isOpen&&focus){const r=t.target;this.ifParentContainsClass(r,"selection")?this.ifParentContainsId(r,this._id)||(this.toggleOpenAndClose(),this.clickExit()):(this.ifParentContainsClass(r,"select2-dropdown")||this.toggleOpenAndClose(),this.ifParentContainsId(r,this._id)||this.clickExit())}}ngOnInit(){this._viewportRuler.change(100).subscribe(()=>{this.isOpen&&this.triggerRect()});const t=Se.getOptionsByValue(this._data,this._control?this._control.value:this.value,this.multiple);null!==t&&(this.option=t),Array.isArray(t)||(this.hoveringValue=this.value),this.updateSearchBox()}ngAfterViewInit(){this.cdkConnectedOverlay.positionChange.subscribe(t=>{"auto"===this.listPosition&&t.connectionPair?.originY&&this._overlayPosition!==t.connectionPair.originY&&(this.triggerRect(),this._overlayPosition=t.connectionPair.originY,this._changeDetectorRef.detectChanges())}),this.selectionElement=this.selection.nativeElement,this.triggerRect()}ngDoCheck(){this.updateSearchBox(),this._dirtyCheckNativeValue(),this._triggerRect&&(this.overlayWidth!==this._triggerRect.width&&(this.overlayWidth=this._triggerRect.width),this._dropdownRect?.height>0&&this.overlayHeight!==this._dropdownRect.height&&(this.overlayHeight="auto"===this.listPosition?this._dropdownRect.height:0))}updateSearchBox(){const t=!this.customSearchEnabled&&Se.isSearchboxHiddex(this._data,this._minCountForSearch);this.isSearchboxHidden!==t&&(this.isSearchboxHidden=t)}hideSearch(){const t=OL.indexOf(this.displaySearchStatus)>-1?this.displaySearchStatus:"default";return"default"===t&&this.isSearchboxHidden||"hidden"===t}getOptionStyle(t){return"select2-results__option "+(t.hide?"select2-results__option--hide ":"")+(t.value===this.hoveringValue?"select2-results__option--highlighted ":"")+(t.classes||"")}mouseenter(t){t.disabled||(this.hoveringValue=t.value)}click(t){this.testSelection(t)&&this.select(t)}reset(t){this.select(void 0!==this.resetSelectedValue?Se.getOptionByValue(this._data,this.resetSelectedValue)??null:null),this.stopEvent(t)}prevChange(t){t.stopPropagation()}stopEvent(t){t.preventDefault(),t.stopPropagation()}toggleOpenAndClose(t=!0,r,i){if(this.disabled)return;this._focus(t);const o=this.isOpen!==(r??!this.isOpen);this.isOpen=r??!this.isOpen,this.isOpen?(this.isSearchboxHidden||(this.innerSearchText="",this.updateFilteredData(),this._focusSearchboxOrResultsElement(t)),this.isSearchboxHidden&&!o&&i?this.keyDown(i):setTimeout(()=>{if(this.option){const s=Array.isArray(this.option)?this.option[0]:this.option;this.updateScrollFromOption(s)}else this.resultsElement&&(this.resultsElement.scrollTop=0);setTimeout(()=>{this.triggerRect(),this.cdkConnectedOverlay?.overlayRef?.updatePosition()},100)}),o&&this.open.emit(this)):o&&this.close.emit(this),this._changeDetectorRef.markForCheck()}hasTemplate(t,r){return this.templates instanceof pn||this.templates?.[t.templateId]instanceof pn||this.templates?.[r]instanceof pn}getTemplate(t,r){return this.hasTemplate(t,r)?this.templates[t.templateId]||this.templates[r]||this.templates:void 0}triggerRect(){this._triggerRect=this.selectionElement.getBoundingClientRect(),this._dropdownRect=this.dropdown?.nativeElement?this.dropdown.nativeElement.getBoundingClientRect():void 0}testSelection(t){return!t.disabled&&(!this.multiple||!this.limitSelection||Array.isArray(this._value)&&this._value.length-1))return!0;return!1}return!0}updateFilteredData(t=!1){setTimeout(()=>{let r=this._data;if(this.multiple&&this.hideSelectedItems&&(r=Se.getFilteredSelectedData(r,this.option)),!this.customSearchEnabled&&this.searchText&&this.searchText.length>=+this.minCharForSearch&&(r=Se.getFilteredData(r,this.searchText,this.editPattern)),this.maxResults>0){const i=Se.getReduceData(r,+this.maxResults);r=i.result,this.maxResultsExceeded=i.reduce}else this.maxResultsExceeded=!1;Se.valueIsNotInFilteredData(r,this.hoveringValue)&&(this.hoveringValue=Se.getFirstAvailableOption(r)),t&&this.writeValue(this._control?this._control.value:this.value),this.filteredData=r,this._changeDetectorRef.markForCheck()})}clickExit(){this._focus(!1)}ifParentContainsClass(t,r){return null!==this.getParentElementByClass(t,r)}ifParentContainsId(t,r){return null!==this.getParentElementById(t,r)}getParentElementByClass(t,r){return this.containClasses(t,r.trim().split(/\s+/))?t:t.parentElement?this.getParentElementByClass(t.parentElement,r):null}getParentElementById(t,r){return t.id===r?t:t.parentElement?this.getParentElementById(t.parentElement,r):null}containClasses(t,r){if(!t.classList)return!1;for(const i of r)if(!t.classList.contains(i))return!1;return!0}focusin(){this.disabled||this._focus(!0)}focusout(){this.selectionElement&&!this.selectionElement.classList.contains("select2-focused")&&(this._focus(!1),this._onTouched())}select(t){let r;if(null!=t)if(this.multiple){const i=this.option,o=i.findIndex(s=>s.value===t.value);-1===o?i.push(t):i.splice(o,1),r=this.option.map(s=>s.value)}else this.option=t,this.isOpen&&(this.isOpen=!1,this.close.emit(this),this.selectionElement?.focus()),r=this.option.value;else this.option=null;this.multiple&&this.hideSelectedItems&&this.updateFilteredData(),this._control?this._onChange(r):this._value=r,this.update.emit({component:this,value:r,options:Array.isArray(this.option)?this.option:this.option?[this.option]:null})}keyDown(t,r=!1){r&&this._testKey(t,["Enter",13])?this.createAndAdd(t):this._testKey(t,["ArrowDown",40])?(this.moveDown(),t.preventDefault()):this._testKey(t,["ArrowUp",38])?(this.moveUp(),t.preventDefault()):this._testKey(t,["Enter",13])?(this.selectByEnter(),t.preventDefault()):this._testKey(t,["Escape","Tab",9,27])&&this.isOpen&&(this.toggleOpenAndClose(),this._focus(!1))}openKey(t,r=!1){r&&this._testKey(t,["Enter",13])?this.createAndAdd(t):this._testKey(t,["ArrowDown","ArrowUp","Enter",40,38,13])?(this.toggleOpenAndClose(!0,!0,t),t.preventDefault()):this._testKey(t,["Escape","Tab",9,27])&&this.isOpen&&(this.toggleOpenAndClose(!1),t.preventDefault(),this._onTouched())}searchUpdate(t){this.searchText=t.target.value,this.customSearchEnabled?this.search.emit({component:this,value:this._value,search:this.searchText,data:this._data,filteredData:r=>{this.filteredData=r,this._changeDetectorRef.markForCheck()}}):this.updateFilteredData()}trackBy(t,r){return r.value}isSelected(t){return Se.isSelected(this.option,t,this.multiple)}isDisabled(t){return t.disabled?"true":"false"}removeSelection(t,r){Se.removeSelection(this.option,r),this.multiple&&this.hideSelectedItems&&this.updateFilteredData();const i=this.option.map(o=>o.value);this._control?this._onChange(i):this._value=i,this.update.emit({component:this,value:i,options:Array.isArray(this.option)?this.option:this.option?[this.option]:null}),this.removeOption.emit({component:this,value:i,removedOption:r}),t.preventDefault(),t.stopPropagation(),this.isOpen&&this._focusSearchboxOrResultsElement()}writeValue(t){this._setSelectionByValue(t)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}onScroll(t){this.scroll.emit({component:this,way:t,search:this.innerSearchText,data:this._data})}_isErrorState(){const t=this._control?.invalid,r=this._control?.touched;return!(!t||!r&&!this._parentFormGroup?.submitted&&!this._parentForm?.submitted)}addItem(t){let r=Se.getOptionByValue(this._data,t);return r||(r={value:t,label:t},this._data.push(r)),r}createAndAdd(t){const r=t.target.value;if(r.trim()){const i=this.addItem(r.trim());this.click(i),t.target.value=""}this.stopEvent(t)}moveUp(){this.updateScrollFromOption(Se.getPreviousOption(this.filteredData,this.hoveringValue))}moveDown(){this.updateScrollFromOption(Se.getNextOption(this.filteredData,this.hoveringValue))}updateScrollFromOption(t){if(t){this.hoveringValue=t.value;const r=this.results.find(i=>i.nativeElement.innerText.trim()===t.label);if(r&&this.resultsElement){this.resultsElement.scrollTop=0;const i=this.resultsElement.getBoundingClientRect(),o=r.nativeElement.getBoundingClientRect();this.resultsElement.scrollTop=o.top-i.top}}}selectByEnter(){if(this.hoveringValue){const t=Se.getOptionByValue(this._data,this.hoveringValue);this.select(t)}}_testKey(t,r=[]){return this._isKey(this._getKey(t),r)}_getKey(t){let r;return void 0!==t.key?r=t.key:void 0!==t.keyIdentifier?r=t.keyIdentifier:void 0!==t.keyCode?r=t.keyCode:t.preventDefault(),r}_isKey(t,r=[]){return!!(r&&r.length>0)&&-1!==r.indexOf(t)}_setSelectionByValue(t){if(this.option||null!=t){const r=Array.isArray(t);if(this.multiple&&t&&!r)throw new Error("Non array value.");this._data?this.multiple?(this.option=[],r&&Se.getOptionsByValue(this._data,t,this.multiple).map(o=>this.select(o))):this.select(Se.getOptionByValue(this._data,t)):this._control&&this._control.viewToModelUpdate(t),this._changeDetectorRef.markForCheck()}}_dirtyCheckNativeValue(){const t=this.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this._stateChanges.next())}_focusSearchboxOrResultsElement(t=!0){this.isSearchboxHidden||(setTimeout(()=>{this.searchInput&&this.searchInput.nativeElement&&t&&this.searchInput.nativeElement.focus()}),this.resultsElement&&t&&this.resultsElement.focus())}_focus(t){!t&&this.focused?(this.focused=t,this.blur.emit(this)):t&&!this.focused&&(this.focused=t,this.focus.emit(this))}_isAbobeOverlay(){return this.overlay&&this._overlayPosition&&"auto"===this.listPosition?"top"===this._overlayPosition:"above"===this.listPosition}}return e.\u0275fac=function(t){return new(t||e)(M(yf),M(Ds),M(nc,8),M(go,8),M(yr,10),Bo("tabindex"))},e.\u0275cmp=Ei({type:e,selectors:[["select2"]],viewQuery:function(t,r){if(1&t&&(Jr(uD,5),Jr(B2,7),Jr(H2,5),Jr(j2,5),Jr(U2,5),Jr($2,5)),2&t){let i;Ir(i=Tr())&&(r.cdkConnectedOverlay=i.first),Ir(i=Tr())&&(r.selection=i.first),Ir(i=Tr())&&(r.resultContainer=i.first),Ir(i=Tr())&&(r.searchInput=i.first),Ir(i=Tr())&&(r.dropdown=i.first),Ir(i=Tr())&&(r.results=i)}},hostVars:8,hostBindings:function(t,r){1&t&&j("click",function(o){return r.clickDetection(o)},0,Lm),2&t&&(Md("id",r.id),Bt("aria-invalid",r.ariaInvalid),rt("material",r.classMaterial)("nostyle",r.classNostyle)("select2-above",r.select2above))},inputs:{data:"data",minCharForSearch:["minCharForSearch","minCharForSearch",ni],displaySearchStatus:"displaySearchStatus",placeholder:"placeholder",limitSelection:["limitSelection","limitSelection",ni],listPosition:"listPosition",multiple:["multiple","multiple",St],overlay:["overlay","overlay",St],styleMode:"styleMode",noResultMessage:"noResultMessage",maxResults:["maxResults","maxResults",ni],maxResultsMessage:"maxResultsMessage",infiniteScrollDistance:["infiniteScrollDistance","infiniteScrollDistance",ni],infiniteScrollThrottle:["infiniteScrollThrottle","infiniteScrollThrottle",ni],infiniteScroll:["infiniteScroll","infiniteScroll",St],autoCreate:["autoCreate","autoCreate",St],noLabelTemplate:["noLabelTemplate","noLabelTemplate",St],editPattern:"editPattern",templates:"templates",resultMaxHeight:"resultMaxHeight",customSearchEnabled:["customSearchEnabled","customSearchEnabled",St],minCountForSearch:["minCountForSearch","minCountForSearch",ni],id:"id",required:["required","required",St],disabled:["disabled","disabled",St],hideSelectedItems:["hideSelectedItems","hideSelectedItems",St],readonly:["readonly","readonly",St],value:"value",tabIndex:["tabIndex","tabIndex",ni],resettable:["resettable","resettable",St],resetSelectedValue:"resetSelectedValue"},outputs:{update:"update",open:"open",close:"close",focus:"focus",blur:"blur",search:"search",scroll:"scroll",removeOption:"removeOption"},features:[dd],ngContentSelectors:IL,decls:18,vars:28,consts:[[1,"select2-label",3,"click"],["class","select2-required",4,"ngIf"],[1,"select2","select2-container","select2-container--default"],["cdkOverlayOrigin","",1,"selection",3,"tabindex","click","focus","blur","keydown"],["selection","","trigger","cdkOverlayOrigin"],["role","combobox",1,"select2-selection"],["class","select2-selection__rendered",3,"title",4,"ngIf"],["class","select2-selection__reset","role","presentation",3,"click",4,"ngIf"],["class","select2-selection__arrow","role","presentation",4,"ngIf"],["class","select2-selection__rendered",4,"ngIf"],[4,"ngIf"],[1,"select2-subscript-wrapper"],["cdkConnectedOverlay","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","select2-overlay-backdrop",3,"cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayMinWidth","cdkConnectedOverlayHeight","cdkConnectedOverlayPositions","backdropClick"],["containerTemplate",""],[1,"select2-required"],[1,"select2-selection__rendered",3,"title"],[1,"select2-selection__placeholder"],[3,"innerHTML",4,"ngIf","ngIfElse"],["template",""],[3,"innerHTML"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["role","presentation",1,"select2-selection__reset",3,"click"],["role","presentation",1,"select2-selection__arrow"],[1,"select2-selection__rendered"],["class","select2-selection__placeholder",3,"select2-selection__placeholder__option",4,"ngIf"],["class","select2-selection__choice","tabindex","0",3,"title","keydown.enter",4,"ngFor","ngForOf","ngForTrackBy"],["class","select2-selection__auto-create",3,"focus","blur",4,"ngIf"],["tabindex","0",1,"select2-selection__choice",3,"title","keydown.enter"],["class","select2-selection__choice__remove","role","presentation",3,"click",4,"ngIf"],["templateMultiple",""],["role","presentation",1,"select2-selection__choice__remove",3,"click"],[1,"select2-selection__auto-create",3,"focus","blur"],["type","search","role","textbox","autocomplete","off","autocorrect","off","autocapitalize","off","spellcheck","false",1,"select2-create__field",3,"id","click","keydown","keyup","change"],[4,"ngTemplateOutlet"],[1,"select2-container","select2-container--default","select2-container-dropdown"],[1,"select2-dropdown"],["dropdown",""],[1,"select2-search","select2-search--dropdown"],["type","search","role","textbox","autocomplete","off","autocorrect","off","autocapitalize","off","spellcheck","false",1,"select2-search__field",3,"id","value","keydown","keyup","change"],["searchInput",""],[1,"select2-results"],["role","tree","tabindex","-1","infiniteScroll","",1,"select2-results__options",3,"infiniteScrollDisabled","infiniteScrollDistance","infiniteScrollThrottle","infiniteScrollContainer","scrolled","scrolledUp","keydown"],["results",""],[4,"ngFor","ngForOf","ngForTrackBy"],["class","select2-no-result select2-results__option",3,"innerHTML",4,"ngIf"],["class","select2-too-much-result select2-results__option",3,"innerHTML",4,"ngIf"],["class","select2-results__option","role","group",4,"ngIf"],["role","treeitem",3,"id","class","mouseenter","click",4,"ngIf"],["role","group",1,"select2-results__option"],["optGroup",""],[1,"select2-results__options","select2-results__options--nested"],["role","treeitem",3,"id","class","mouseenter","click",4,"ngFor","ngForOf","ngForTrackBy"],["role","treeitem",3,"id","mouseenter","click"],["result",""],["class","select2-label-content",3,"innerHTML",4,"ngIf","ngIfElse"],["liGroup",""],[1,"select2-label-content",3,"innerHTML"],["li",""],[1,"select2-no-result","select2-results__option",3,"innerHTML"],[1,"select2-too-much-result","select2-results__option",3,"innerHTML"]],template:function(t,r){if(1&t&&(function G_(e){const n=I()[Xe][Tt];if(!n.projection){const r=n.projection=$o(e?e.length:1,null),i=r.slice();let o=n.child;for(;null!==o;){const s=e?CT(o,e):0;null!==s&&(i[s]?i[s].projectionNext=o:r[s]=o,i[s]=o),o=o.next}}}(AL),v(0,"div",0),j("click",function(){return r.toggleOpenAndClose()}),yd(1),J(2,z2,1,0,"span",1),_(),v(3,"div",2)(4,"div",3,4),j("click",function(){return r.toggleOpenAndClose()})("focus",function(){return r.focusin()})("blur",function(){return r.focusout()})("keydown",function(o){return r.openKey(o)}),v(7,"div",5),J(8,K2,5,6,"span",6),J(9,X2,2,0,"span",7),J(10,Q2,1,0,"span",8),J(11,sL,4,4,"ul",9),_()(),J(12,lL,2,1,"ng-container",10),v(13,"div",11),yd(14,1),_()(),J(15,uL,1,1,"ng-template",12),j("backdropClick",function(){return r.toggleOpenAndClose()}),J(16,ML,12,25,"ng-template",null,13,bt)),2&t){const i=Ue(6);w(2),R("ngIf",r.required),w(1),rt("select2-container--focus",r.focused)("select2-container--below",!r.select2above)("select2-container--above",r.select2above)("select2-container--open",r.isOpen)("select2-container--disabled",r.disabled),w(1),rt("select2-focused",r.focused),R("tabindex",r.isOpen?"-1":r.tabIndex),w(3),rt("select2-selection--multiple",r.multiple)("select2-selection--single",!r.multiple),w(1),R("ngIf",!r.multiple),w(1),R("ngIf",!r.multiple&&r.resettable&&r.resetSelectedValue!==r.value&&r.select2Option&&!(r.disabled||r.readonly)),w(1),R("ngIf",!r.multiple),w(1),R("ngIf",r.multiple),w(1),R("ngIf",!r.overlay),w(3),R("cdkConnectedOverlayOrigin",i)("cdkConnectedOverlayOpen",r.isOpen&&r.overlay)("cdkConnectedOverlayMinWidth",r.overlayWidth)("cdkConnectedOverlayHeight",r.overlayHeight)("cdkConnectedOverlayPositions",r._positions)}},dependencies:[Qb,Mh,nC,uD,cD,F2],styles:['.select2-label[_ngcontent-%COMP%]{color:var(--select2-label-text-color, #000)}.select2-container[_ngcontent-%COMP%]{box-sizing:border-box;display:inline-block;margin:0;position:relative;vertical-align:middle;width:100%}.select2-container[_ngcontent-%COMP%] .select2-container-dropdown[_ngcontent-%COMP%]{position:absolute;width:0px;opacity:0}.select2-container[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]{box-sizing:border-box;cursor:pointer;display:block;height:var(--select2-single-height, 28px);-webkit-user-select:none;user-select:none}.select2-container[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%]{display:block;padding:var(--select2-selection-padding, 0 0 0 8px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1 1 auto}.select2-container[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__clear[_ngcontent-%COMP%]{position:relative}.select2-container[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{box-sizing:border-box;cursor:pointer;display:block;min-height:var(--select2-multiple-height, 28px);-webkit-user-select:none;user-select:none}.select2-container[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%]{display:inline-flex;overflow:hidden;padding-left:8px;padding-bottom:2px;text-overflow:ellipsis;white-space:nowrap;flex-wrap:wrap;gap:var(--select2-selection-multiple-gap, 2px 5px)}.select2-container[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%] .select2-selection__auto-create[_ngcontent-%COMP%]{flex:1 1 150px;min-width:150px;display:flex}.select2-container[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%] .select2-create__field[_ngcontent-%COMP%]{width:100%;border:0}.select2-container[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%] .select2-create__field[_ngcontent-%COMP%]:focus{border:0;outline:0}.select2-container[_ngcontent-%COMP%] .select2-search--inline[_ngcontent-%COMP%]{float:left}.select2-container[_ngcontent-%COMP%] .select2-search--inline[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%]{box-sizing:border-box;border:none;font-size:100%;margin-top:5px;padding:0}.select2-container[_ngcontent-%COMP%] .select2-search--inline[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%]::-webkit-search-cancel-button{-webkit-appearance:none}.select2-dropdown[_ngcontent-%COMP%]{background:var(--select2-dropdown-background, white);border:1px solid var(--select2-dropdown-border-color, #aaa);border-radius:var(--select2-selection-border-radius, 4px);box-sizing:border-box;display:block;position:absolute;width:100%;z-index:1051;height:0;overflow:hidden}.select2-dropdown[_ngcontent-%COMP%] .select2-label-content[_ngcontent-%COMP%]{display:contents}.select2-results[_ngcontent-%COMP%]{display:block}.select2-results__options[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0}.select2-results__option[_ngcontent-%COMP%]{padding:var(--select2-option-padding, 6px);-webkit-user-select:none;user-select:none;color:var(--select2-option-text-color, #000)}.select2-results__option[aria-selected][_ngcontent-%COMP%]{cursor:pointer}.select2-container.select2-container-dropdown.select2-container--open[_ngcontent-%COMP%]{width:100%;opacity:1}.select2-container--open[_ngcontent-%COMP%] .select2-dropdown[_ngcontent-%COMP%]{overflow:auto;height:auto}.select2-container--open[_ngcontent-%COMP%] .select2-dropdown--above[_ngcontent-%COMP%]{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;bottom:27px;display:flex;flex-direction:column-reverse}.select2-container--open[_ngcontent-%COMP%] .select2-dropdown--below[_ngcontent-%COMP%]{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-search--dropdown[_ngcontent-%COMP%]{display:block;padding:4px}.select2-search--dropdown[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%]{padding:4px;width:100%;box-sizing:border-box}.select2-search--dropdown[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%]::-webkit-search-cancel-button{-webkit-appearance:none}.select2-search--dropdown.select2-search--hide[_ngcontent-%COMP%]{display:none}.select2-close-mask[_ngcontent-%COMP%]{border:0;margin:0;padding:0;display:block;position:fixed;left:0;top:0;min-height:100%;min-width:100%;height:auto;width:auto;opacity:0;z-index:99}.select2-required[_ngcontent-%COMP%]:before{content:"*";color:var(--select2-required-color, red)}.select2-hidden-accessible[_ngcontent-%COMP%]{border:0!important;clip:rect(0 0 0 0)!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;width:1px!important}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]{background:var(--select2-selection-background, #fff);border:1px solid var(--select2-selection-border-color, #aaa);border-radius:var(--select2-selection-border-radius, 4px);display:flex}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%]{color:var(--select2-selection-text-color, #111);line-height:var(--select2-selection-line-height, 28px)}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__clear[_ngcontent-%COMP%]{cursor:pointer;float:right;font-weight:700}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__placeholder[_ngcontent-%COMP%]{color:var(--select2-placeholder-color, #999)}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__placeholder[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;white-space:nowrap;text-overflow:var(--select2-placeholder-overflow, ellipsis)}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__placeholder__option[_ngcontent-%COMP%]{display:none}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__reset[_ngcontent-%COMP%], .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%]{display:flex;width:20px;align-items:center;justify-content:center}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%]:before{content:" ";border-color:var(--select2-arrow-color, #888) transparent;border-style:solid;border-width:5px 4px 0;height:0;width:0}.select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__reset[_ngcontent-%COMP%]{color:var(--select2-reset-color, #999)}.select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]{background:var(--select2-selection-disabled-background, #eee);cursor:default}.select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__clear[_ngcontent-%COMP%]{display:none}.select2-container--default.select2-container--open[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%]:before{border-color:transparent transparent var(--select2-arrow-color, #888);border-width:0 4px 5px}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{background:var(--select2-selection-background, #fff);border:1px solid var(--select2-selection-border-color, #aaa);border-radius:var(--select2-selection-border-radius, 4px);cursor:text;display:flex}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%]{flex:1 1 auto;box-sizing:border-box;list-style:none;margin:0;padding:var(--select2-selection-multiple-padding, 2px 5px);width:100%;min-height:1em;align-items:center}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style:none;line-height:var(--select2-selection-choice-line-height, 20px)}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__placeholder[_ngcontent-%COMP%]{display:block;width:100%;color:var(--select2-placeholder-color, #999);margin-top:5px;float:left;overflow:hidden;white-space:nowrap;text-overflow:var(--select2-placeholder-overflow, ellipsis)}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__placeholder__option[_ngcontent-%COMP%]{display:none}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__clear[_ngcontent-%COMP%]{cursor:pointer;float:right;font-weight:700;margin-top:5px;margin-right:10px}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice[_ngcontent-%COMP%]{color:var(--select2-selection-choice-text-color, #000);background:var(--select2-selection-choice-background, #e4e4e4);border:1px solid var(--select2-selection-choice-border-color, #aaa);border-radius:var(--select2-selection-border-radius, 4px);cursor:default;padding:0 5px}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice__remove[_ngcontent-%COMP%]{color:var(--select2-selection-choice-close-color, #999);cursor:pointer;display:inline-block;font-weight:700;margin-right:2px}.select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__choice__remove[_ngcontent-%COMP%]:hover{color:var(--select2-selection-choice-hover-close-color, #333)}.select2-container--default.select2-container--focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{border:solid var(--select2-selection-focus-border-color, #000) 1px;outline:none}.select2-container--default[_ngcontent-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .select2-container--default[_ngcontent-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{border:solid var(--select2-selection-focus-border-color, #000) 1px;outline:none}.select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{background:var(--select2-selection-disabled-background, #eee);cursor:default}.select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection__choice__remove[_ngcontent-%COMP%]{display:none}.select2-container--default.select2-container--open.select2-container--above[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .select2-container--default.select2-container--open.select2-container--above[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{border-top-left-radius:0;border-top-right-radius:0}.select2-container--default.select2-container--open.select2-container--below[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .select2-container--default.select2-container--open.select2-container--below[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--default[_ngcontent-%COMP%] .select2-search--dropdown[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%]{border:1px solid var(--select2-search-border-color, #aaa);background:1px solid var(--select2-search-background, #fff);border-radius:var(--select2-search-border-radius, 0px)}.select2-container--default[_ngcontent-%COMP%] .select2-search--inline[_ngcontent-%COMP%] .select2-search__field[_ngcontent-%COMP%]{background:transparent;border:none;outline:none;box-shadow:none;-webkit-appearance:textfield}.select2-container--default[_ngcontent-%COMP%] .select2-results[_ngcontent-%COMP%] > .select2-results__options[_ngcontent-%COMP%]{overflow-y:auto}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[role=group][_ngcontent-%COMP%]{padding:0}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[aria-disabled=true][_ngcontent-%COMP%]{color:var(--select2-option-disabled-text-color, #999);background:var(--select2-option-disabled-background, transparent)}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[aria-selected=true][_ngcontent-%COMP%]{color:var(--select2-option-selected-text-color, #000);background:var(--select2-option-selected-background, #ddd)}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{padding-left:1em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__group[_ngcontent-%COMP%]{padding-left:0}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-1em;padding-left:2em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-2em;padding-left:3em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-3em;padding-left:4em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-4em;padding-left:5em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%] .select2-results__option[_ngcontent-%COMP%]{margin-left:-5em;padding-left:6em}.select2-container--default[_ngcontent-%COMP%] .select2-results__option--highlighted[aria-selected][_ngcontent-%COMP%]{background:var(--select2-option-highlighted-background, #5897fb);color:var(--select2-option-highlighted-text-color, #fff)}.select2-container--default[_ngcontent-%COMP%] .select2-results__option--hide[_ngcontent-%COMP%]{display:none}.select2-container--default[_ngcontent-%COMP%] .select2-results__group[_ngcontent-%COMP%]{cursor:default;display:block;padding:6px;color:var(--select2-option-group-text-color, gray);background:var(--select2-option-group-background, transparent)}.select2-no-result[_ngcontent-%COMP%]{color:var(--select2-no-result-color, #888);font-style:var(--select2-no-result-font-style, italic)}.select2-too-much-result[_ngcontent-%COMP%]{color:var(--select2-too-much-result-color, #888);font-style:var(--select2-too-much-font-style, italic)}.nostyle[_nghost-%COMP%] .select2-dropdown[_ngcontent-%COMP%]{border-color:transparent}.nostyle[_nghost-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .nostyle[_nghost-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{background:transparent;border-color:transparent}.nostyle[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .nostyle[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%], .nostyle[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .nostyle[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{background:transparent;border-color:transparent}.material[_nghost-%COMP%]{display:inline-block;width:300px}.material[_nghost-%COMP%] > .select2-container[_ngcontent-%COMP%]{padding-bottom:1.29688em;vertical-align:inherit}.material[_nghost-%COMP%] > .select2-container[_ngcontent-%COMP%] .selection[_ngcontent-%COMP%]{padding:.4375em 0;border-top:.84375em solid transparent;display:inline-flex;align-items:baseline;width:100%;height:auto}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{width:100%;border:0;border-radius:0;height:24px;box-sizing:border-box}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:before, .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:before{content:" ";display:block;position:absolute;bottom:1.65em;background:var(--select2-material-underline, #ddd);height:1px;width:100%}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:after, .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:after{content:" ";display:block;position:absolute;bottom:1.63em;background:var(--select2-material-underline-active, #5a419e);height:2px;width:0%;left:50%;transition:none}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__rendered[_ngcontent-%COMP%]{padding-left:1px;line-height:inherit}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%] .select2-selection__placeholder[_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%] .select2-selection__placeholder[_ngcontent-%COMP%]{display:block;color:var(--select2-material-placeholder-color, rgba(0, 0, 0, .38));transition:transform .3s;position:absolute;transform-origin:0 21px;left:0;top:20px}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-container--open[_ngcontent-%COMP%]{left:0;bottom:1.6em}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection__placeholder__option[_ngcontent-%COMP%]{transform:translateY(-1.5em) scale(.75) perspective(100px) translateZ(.001px);width:133.33333%}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection__arrow[_ngcontent-%COMP%]{top:20px}.material[_nghost-%COMP%] .select2-container--default.select2-container--open[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:after, .material[_nghost-%COMP%] .select2-container--default.select2-container--open[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:after, .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:after, .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:after{transition:width .3s cubic-bezier(.12,1,.77,1),left .3s cubic-bezier(.12,1,.77,1);width:100%;left:0%}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-dropdown[_ngcontent-%COMP%]{border-radius:0;border:0;box-shadow:0 5px 5px #00000080}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-results__option[aria-selected=true][_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-results__option--highlighted[aria-selected][_ngcontent-%COMP%]{background:var(--select2-material-option-selected-background, rgba(0, 0, 0, .04));color:var(--select2-material-option-highlighted-text-color, #000)}.material[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-results__option[aria-selected=true][_ngcontent-%COMP%]{color:var(--select2-material-option-selected-text-color, #ff5722)}.material[_nghost-%COMP%] .select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .material[_nghost-%COMP%] .select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{background:transparent}.material[_nghost-%COMP%] .select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:before, .material[_nghost-%COMP%] .select2-container--default.select2-container--disabled[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:before{background:var(--select2-material-underline-disabled, linear-gradient(to right, rgba(0, 0, 0, .26) 0, rgba(0, 0, 0, .26) 33%, transparent 0));background-size:4px 1px;background-repeat:repeat-x;background-position:0 bottom}.material.ng-invalid.ng-touched[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:before, .material.ng-invalid.ng-touched[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%]:after, .material.ng-invalid.ng-touched[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:before, .material.ng-invalid.ng-touched[_nghost-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]:after{background:var(--select2-material-underline-invalid, red)}.material[_nghost-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], .material[_nghost-%COMP%]:not(.select2-container--open) .select2-focused[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{border:0}.material[_nghost-%COMP%] .select2-subscript-wrapper[_ngcontent-%COMP%]{position:absolute;top:calc(100% - 1.72917em);font-size:75%;color:var(--select2-hint-text-color, #888)} .select2-overlay-backdrop{background:var(--select2-overlay-backdrop, transparent)} .cdk-overlay-container .select2-container .select2-dropdown.select2-dropdown--above{bottom:28px} .cdk-overlay-container .select2-container--open.select2-position-auto .select2-dropdown{margin-bottom:28px} .cdk-overlay-container .select2-container--open.select2-position-auto .select2-dropdown.select2-dropdown--above{bottom:0;margin-bottom:0;margin-top:28px}@supports (-moz-appearance: none){select2.material[_ngcontent-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--single[_ngcontent-%COMP%], select2.material[_ngcontent-%COMP%] .select2-container--default[_ngcontent-%COMP%] .select2-selection--multiple[_ngcontent-%COMP%]{height:26px}}']}),e})(),xL=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=dt({type:e}),e.\u0275inj=nt({imports:[oC,uf,o2,Fw,V2,uf,Fw]}),e})();class PL extends Z{notifyNext(n,t,r,i,o){this.destination.next(t)}notifyError(n,t){this.destination.error(n)}notifyComplete(n){this.destination.complete()}}class NL extends Z{constructor(n,t,r){super(),this.parent=n,this.outerValue=t,this.outerIndex=r,this.index=0}_next(n){this.parent.notifyNext(this.outerValue,n,this.outerIndex,this.index++,this)}_error(n){this.parent.notifyError(n,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}function kL(e,n,t,r,i=new NL(e,t,r)){if(!i.closed)return n instanceof be?n.subscribe(i):At(n)(i)}const _D={};function Mf(...e){let n,t;return zt(e[e.length-1])&&(t=e.pop()),"function"==typeof e[e.length-1]&&(n=e.pop()),1===e.length&&h(e[0])&&(e=e[0]),ta(e,t).lift(new FL(n))}class FL{constructor(n){this.resultSelector=n}call(n,t){return t.subscribe(new LL(n,this.resultSelector))}}class LL extends PL{constructor(n,t){super(n),this.resultSelector=t,this.active=0,this.values=[],this.observables=[]}_next(n){this.values.push(_D),this.observables.push(n)}_complete(){const n=this.observables,t=n.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(let r=0;r{function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e})();function Af(...e){return function VL(){return Di(1)}()(ne(...e))}function vD(e){return new be(n=>{let t;try{t=e()}catch(i){return void n.error(i)}return(t?_t(t):df()).subscribe(n)})}function hc(e=null){return n=>n.lift(new HL(e))}class HL{constructor(n){this.defaultValue=n}call(n,t){return t.subscribe(new jL(n,this.defaultValue))}}class jL extends Z{constructor(n,t){super(n),this.defaultValue=t,this.isEmpty=!0}_next(n){this.isEmpty=!1,this.destination.next(n)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function yD(e=zL){return n=>n.lift(new UL(e))}class UL{constructor(n){this.errorFactory=n}call(n,t){return t.subscribe(new $L(n,this.errorFactory))}}class $L extends Z{constructor(n,t){super(n),this.errorFactory=t,this.hasValue=!1}_next(n){this.hasValue=!0,this.destination.next(n)}_complete(){if(this.hasValue)return this.destination.complete();{let n;try{n=this.errorFactory()}catch(t){n=t}this.destination.error(n)}}}function zL(){return new dc}function ui(e,n){const t=arguments.length>=2;return r=>r.pipe(e?Jt((i,o)=>e(i,o,r)):Et,kr(1),t?hc(n):yD(()=>new dc))}function Vs(e,n){return wt(e,n,1)}class WL{constructor(n,t,r=!1){this.accumulator=n,this.seed=t,this.hasSeed=r}call(n,t){return t.subscribe(new qL(n,this.accumulator,this.seed,this.hasSeed))}}class qL extends Z{constructor(n,t,r,i){super(n),this.accumulator=t,this._seed=r,this.hasSeed=i,this.index=0}get seed(){return this._seed}set seed(n){this.hasSeed=!0,this._seed=n}_next(n){if(this.hasSeed)return this._tryNext(n);this.seed=n,this.destination.next(n)}_tryNext(n){const t=this.index++;let r;try{r=this.accumulator(this.seed,n,t)}catch(i){this.destination.error(i)}this.seed=r,this.destination.next(r)}}function If(e){return function(t){return 0===e?df():t.lift(new ZL(e))}}class ZL{constructor(n){if(this.total=n,this.total<0)throw new Vw}call(n,t){return t.subscribe(new YL(n,this.total))}}class YL extends Z{constructor(n,t){super(n),this.total=t,this.ring=new Array,this.count=0}_next(n){const t=this.ring,r=this.total,i=this.count++;t.length0){const r=this.count>=this.total?this.total:this.count,i=this.ring;for(let o=0;on.lift(new eV(e))}class eV{constructor(n){this.callback=n}call(n,t){return t.subscribe(new tV(n,this.callback))}}class tV extends Z{constructor(n,t){super(n),this.add(new A(t))}}const he="primary",Bs=Symbol("RouteTitle");class nV{constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){const t=this.params[n];return Array.isArray(t)?t[0]:t}return null}getAll(n){if(this.has(n)){const t=this.params[n];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function _o(e){return new nV(e)}function rV(e,n,t){const r=t.path.split("/");if(r.length>e.length||"full"===t.pathMatch&&(n.hasChildren()||r.lengthr[o]===i)}return e===n}function CD(e){return e.length>0?e[e.length-1]:null}function Lr(e){return function RL(e){return!!e&&(e instanceof be||"function"==typeof e.lift&&"function"==typeof e.subscribe)}(e)?e:fs(e)?_t(Promise.resolve(e)):ne(e)}const oV={exact:function SD(e,n,t){if(!di(e.segments,n.segments)||!fc(e.segments,n.segments,t)||e.numberOfChildren!==n.numberOfChildren)return!1;for(const r in n.children)if(!e.children[r]||!SD(e.children[r],n.children[r],t))return!1;return!0},subset:ED},wD={exact:function sV(e,n){return er(e,n)},subset:function aV(e,n){return Object.keys(n).length<=Object.keys(e).length&&Object.keys(n).every(t=>bD(e[t],n[t]))},ignored:()=>!0};function DD(e,n,t){return oV[t.paths](e.root,n.root,t.matrixParams)&&wD[t.queryParams](e.queryParams,n.queryParams)&&!("exact"===t.fragment&&e.fragment!==n.fragment)}function ED(e,n,t){return MD(e,n,n.segments,t)}function MD(e,n,t,r){if(e.segments.length>t.length){const i=e.segments.slice(0,t.length);return!(!di(i,t)||n.hasChildren()||!fc(i,t,r))}if(e.segments.length===t.length){if(!di(e.segments,t)||!fc(e.segments,t,r))return!1;for(const i in n.children)if(!e.children[i]||!ED(e.children[i],n.children[i],r))return!1;return!0}{const i=t.slice(0,e.segments.length),o=t.slice(e.segments.length);return!!(di(e.segments,i)&&fc(e.segments,i,r)&&e.children[he])&&MD(e.children[he],n,o,r)}}function fc(e,n,t){return n.every((r,i)=>wD[t](e[i].parameters,r.parameters))}class vo{constructor(n=new Ne([],{}),t={},r=null){this.root=n,this.queryParams=t,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=_o(this.queryParams)),this._queryParamMap}toString(){return uV.serialize(this)}}class Ne{constructor(n,t){this.segments=n,this.children=t,this.parent=null,Object.values(t).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return pc(this)}}class Hs{constructor(n,t){this.path=n,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=_o(this.parameters)),this._parameterMap}toString(){return TD(this)}}function di(e,n){return e.length===n.length&&e.every((t,r)=>t.path===n[r].path)}let js=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:function(){return new Of},providedIn:"root"}),e})();class Of{parse(n){const t=new CV(n);return new vo(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(n){const t=`/${Us(n.root,!0)}`,r=function fV(e){const n=Object.keys(e).map(t=>{const r=e[t];return Array.isArray(r)?r.map(i=>`${gc(t)}=${gc(i)}`).join("&"):`${gc(t)}=${gc(r)}`}).filter(t=>!!t);return n.length?`?${n.join("&")}`:""}(n.queryParams),i="string"==typeof n.fragment?`#${function dV(e){return encodeURI(e)}(n.fragment)}`:"";return`${t}${r}${i}`}}const uV=new Of;function pc(e){return e.segments.map(n=>TD(n)).join("/")}function Us(e,n){if(!e.hasChildren())return pc(e);if(n){const t=e.children[he]?Us(e.children[he],!1):"",r=[];return Object.entries(e.children).forEach(([i,o])=>{i!==he&&r.push(`${i}:${Us(o,!1)}`)}),r.length>0?`${t}(${r.join("//")})`:t}{const t=function cV(e,n){let t=[];return Object.entries(e.children).forEach(([r,i])=>{r===he&&(t=t.concat(n(i,r)))}),Object.entries(e.children).forEach(([r,i])=>{r!==he&&(t=t.concat(n(i,r)))}),t}(e,(r,i)=>i===he?[Us(e.children[he],!1)]:[`${i}:${Us(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[he]?`${pc(e)}/${t[0]}`:`${pc(e)}/(${t.join("//")})`}}function AD(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function gc(e){return AD(e).replace(/%3B/gi,";")}function xf(e){return AD(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function mc(e){return decodeURIComponent(e)}function ID(e){return mc(e.replace(/\+/g,"%20"))}function TD(e){return`${xf(e.path)}${function hV(e){return Object.keys(e).map(n=>`;${xf(n)}=${xf(e[n])}`).join("")}(e.parameters)}`}const pV=/^[^\/()?;#]+/;function Rf(e){const n=e.match(pV);return n?n[0]:""}const gV=/^[^\/()?;=#]+/,_V=/^[^=?&#]+/,yV=/^[^&#]+/;class CV{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ne([],{}):new Ne([],this.parseChildren())}parseQueryParams(){const n={};if(this.consumeOptional("?"))do{this.parseQueryParam(n)}while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(n.length>0||Object.keys(t).length>0)&&(r[he]=new Ne(n,t)),r}parseSegment(){const n=Rf(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new O(4009,!1);return this.capture(n),new Hs(mc(n),this.parseMatrixParams())}parseMatrixParams(){const n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){const t=function mV(e){const n=e.match(gV);return n?n[0]:""}(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){const i=Rf(this.remaining);i&&(r=i,this.capture(r))}n[mc(t)]=mc(r)}parseQueryParam(n){const t=function vV(e){const n=e.match(_V);return n?n[0]:""}(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){const s=function bV(e){const n=e.match(yV);return n?n[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const i=ID(t),o=ID(r);if(n.hasOwnProperty(i)){let s=n[i];Array.isArray(s)||(s=[s],n[i]=s),s.push(o)}else n[i]=o}parseParens(n){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=Rf(this.remaining),i=this.remaining[r.length];if("/"!==i&&")"!==i&&";"!==i)throw new O(4010,!1);let o;r.indexOf(":")>-1?(o=r.slice(0,r.indexOf(":")),this.capture(o),this.capture(":")):n&&(o=he);const s=this.parseChildren();t[o]=1===Object.keys(s).length?s[he]:new Ne([],s),this.consumeOptional("//")}return t}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return!!this.peekStartsWith(n)&&(this.remaining=this.remaining.substring(n.length),!0)}capture(n){if(!this.consumeOptional(n))throw new O(4011,!1)}}function OD(e){return e.segments.length>0?new Ne([],{[he]:e}):e}function xD(e){const n={};for(const r of Object.keys(e.children)){const o=xD(e.children[r]);if(r===he&&0===o.segments.length&&o.hasChildren())for(const[s,a]of Object.entries(o.children))n[s]=a;else(o.segments.length>0||o.hasChildren())&&(n[r]=o)}return function wV(e){if(1===e.numberOfChildren&&e.children[he]){const n=e.children[he];return new Ne(e.segments.concat(n.segments),n.children)}return e}(new Ne(e.segments,n))}function hi(e){return e instanceof vo}function RD(e){let n;const i=OD(function t(o){const s={};for(const l of o.children){const c=t(l);s[l.outlet]=c}const a=new Ne(o.url,s);return o===e&&(n=a),a}(e.root));return n??i}function PD(e,n,t,r){let i=e;for(;i.parent;)i=i.parent;if(0===n.length)return Pf(i,i,i,t,r);const o=function SV(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new kD(!0,0,e);let n=0,t=!1;const r=e.reduce((i,o,s)=>{if("object"==typeof o&&null!=o){if(o.outlets){const a={};return Object.entries(o.outlets).forEach(([l,c])=>{a[l]="string"==typeof c?c.split("/"):c}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return"string"!=typeof o?[...i,o]:0===s?(o.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?t=!0:".."===a?n++:""!=a&&i.push(a))}),i):[...i,o]},[]);return new kD(t,n,r)}(n);if(o.toRoot())return Pf(i,i,new Ne([],{}),t,r);const s=function EV(e,n,t){if(e.isAbsolute)return new vc(n,!0,0);if(!t)return new vc(n,!1,NaN);if(null===t.parent)return new vc(t,!0,0);const r=_c(e.commands[0])?0:1;return function MV(e,n,t){let r=e,i=n,o=t;for(;o>i;){if(o-=i,r=r.parent,!r)throw new O(4005,!1);i=r.segments.length}return new vc(r,!1,i-o)}(t,t.segments.length-1+r,e.numberOfDoubleDots)}(o,i,e),a=s.processChildren?zs(s.segmentGroup,s.index,o.commands):FD(s.segmentGroup,s.index,o.commands);return Pf(i,s.segmentGroup,a,t,r)}function _c(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function $s(e){return"object"==typeof e&&null!=e&&e.outlets}function Pf(e,n,t,r,i){let s,o={};r&&Object.entries(r).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(u=>`${u}`):`${c}`}),s=e===n?t:ND(e,n,t);const a=OD(xD(s));return new vo(a,o,i)}function ND(e,n,t){const r={};return Object.entries(e.children).forEach(([i,o])=>{r[i]=o===n?t:ND(o,n,t)}),new Ne(e.segments,r)}class kD{constructor(n,t,r){if(this.isAbsolute=n,this.numberOfDoubleDots=t,this.commands=r,n&&r.length>0&&_c(r[0]))throw new O(4003,!1);const i=r.find($s);if(i&&i!==CD(r))throw new O(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class vc{constructor(n,t,r){this.segmentGroup=n,this.processChildren=t,this.index=r}}function FD(e,n,t){if(e||(e=new Ne([],{})),0===e.segments.length&&e.hasChildren())return zs(e,n,t);const r=function IV(e,n,t){let r=0,i=n;const o={match:!1,pathIndex:0,commandIndex:0};for(;i=t.length)return o;const s=e.segments[i],a=t[r];if($s(a))break;const l=`${a}`,c=r0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!VD(l,c,s))return o;r+=2}else{if(!VD(l,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(e,n,t),i=t.slice(r.commandIndex);if(r.match&&r.pathIndex{"string"==typeof s&&(s=[s]),null!==s&&(i[o]=FD(e.children[o],n,s))}),Object.entries(e.children).forEach(([o,s])=>{void 0===r[o]&&(i[o]=s)}),new Ne(e.segments,i)}}function Nf(e,n,t){const r=e.segments.slice(0,n);let i=0;for(;i{"string"==typeof r&&(r=[r]),null!==r&&(n[t]=Nf(new Ne([],{}),0,r))}),n}function LD(e){const n={};return Object.entries(e).forEach(([t,r])=>n[t]=`${r}`),n}function VD(e,n,t){return e==t.path&&er(n,t.parameters)}const Gs="imperative";class tr{constructor(n,t){this.id=n,this.url=t}}class kf extends tr{constructor(n,t,r="imperative",i=null){super(n,t),this.type=0,this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class fi extends tr{constructor(n,t,r){super(n,t),this.urlAfterRedirects=r,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class yc extends tr{constructor(n,t,r,i){super(n,t),this.reason=r,this.code=i,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Ws extends tr{constructor(n,t,r,i){super(n,t),this.reason=r,this.code=i,this.type=16}}class Ff extends tr{constructor(n,t,r,i){super(n,t),this.error=r,this.target=i,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class OV extends tr{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class xV extends tr{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class RV extends tr{constructor(n,t,r,i,o){super(n,t),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class PV extends tr{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class NV extends tr{constructor(n,t,r,i){super(n,t),this.urlAfterRedirects=r,this.state=i,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class kV{constructor(n){this.route=n,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class FV{constructor(n){this.route=n,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class LV{constructor(n){this.snapshot=n,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class VV{constructor(n){this.snapshot=n,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class BV{constructor(n){this.snapshot=n,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class HV{constructor(n){this.snapshot=n,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class BD{constructor(n,t,r){this.routerEvent=n,this.position=t,this.anchor=r,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class jV{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new qs,this.attachRef=null}}let qs=(()=>{class e{constructor(){this.contexts=new Map}onChildOutletCreated(t,r){const i=this.getOrCreateContext(t);i.outlet=r,this.contexts.set(t,i)}onChildOutletDestroyed(t){const r=this.getContext(t);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let r=this.getContext(t);return r||(r=new jV,this.contexts.set(t,r)),r}getContext(t){return this.contexts.get(t)||null}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class HD{constructor(n){this._root=n}get root(){return this._root.value}parent(n){const t=this.pathFromRoot(n);return t.length>1?t[t.length-2]:null}children(n){const t=Lf(n,this._root);return t?t.children.map(r=>r.value):[]}firstChild(n){const t=Lf(n,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(n){const t=Vf(n,this._root);return t.length<2?[]:t[t.length-2].children.map(i=>i.value).filter(i=>i!==n)}pathFromRoot(n){return Vf(n,this._root).map(t=>t.value)}}function Lf(e,n){if(e===n.value)return n;for(const t of n.children){const r=Lf(e,t);if(r)return r}return null}function Vf(e,n){if(e===n.value)return[n];for(const t of n.children){const r=Vf(e,t);if(r.length)return r.unshift(n),r}return[]}class Cr{constructor(n,t){this.value=n,this.children=t}toString(){return`TreeNode(${this.value})`}}function yo(e){const n={};return e&&e.children.forEach(t=>n[t.value.outlet]=t),n}class jD extends HD{constructor(n,t){super(n),this.snapshot=t,Bf(this,n)}toString(){return this.snapshot.toString()}}function UD(e,n){const t=function UV(e,n){const s=new bc([],{},{},"",{},he,n,null,{});return new zD("",new Cr(s,[]))}(0,n),r=new ze([new Hs("",{})]),i=new ze({}),o=new ze({}),s=new ze({}),a=new ze(""),l=new bo(r,i,s,a,o,he,n,t.root);return l.snapshot=t.root,new jD(new Cr(l,[]),t)}class bo{constructor(n,t,r,i,o,s,a,l){this.urlSubject=n,this.paramsSubject=t,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(oe(c=>c[Bs]))??ne(void 0),this.url=n,this.params=t,this.queryParams=r,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(oe(n=>_o(n)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(oe(n=>_o(n)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function $D(e,n="emptyOnly"){const t=e.pathFromRoot;let r=0;if("always"!==n)for(r=t.length-1;r>=1;){const i=t[r],o=t[r-1];if(i.routeConfig&&""===i.routeConfig.path)r--;else{if(o.component)break;r--}}return function $V(e){return e.reduce((n,t)=>({params:{...n.params,...t.params},data:{...n.data,...t.data},resolve:{...t.data,...n.resolve,...t.routeConfig?.data,...t._resolvedData}}),{params:{},data:{},resolve:{}})}(t.slice(r))}class bc{get title(){return this.data?.[Bs]}constructor(n,t,r,i,o,s,a,l,c){this.url=n,this.params=t,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=_o(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=_o(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class zD extends HD{constructor(n,t){super(t),this.url=n,Bf(this,t)}toString(){return GD(this._root)}}function Bf(e,n){n.value._routerState=e,n.children.forEach(t=>Bf(e,t))}function GD(e){const n=e.children.length>0?` { ${e.children.map(GD).join(", ")} } `:"";return`${e.value}${n}`}function Hf(e){if(e.snapshot){const n=e.snapshot,t=e._futureSnapshot;e.snapshot=t,er(n.queryParams,t.queryParams)||e.queryParamsSubject.next(t.queryParams),n.fragment!==t.fragment&&e.fragmentSubject.next(t.fragment),er(n.params,t.params)||e.paramsSubject.next(t.params),function iV(e,n){if(e.length!==n.length)return!1;for(let t=0;ter(t.parameters,n[r].parameters))}(e.url,n.url);return t&&!(!e.parent!=!n.parent)&&(!e.parent||jf(e.parent,n.parent))}let Uf=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=he,this.activateEvents=new me,this.deactivateEvents=new me,this.attachEvents=new me,this.detachEvents=new me,this.parentContexts=W(qs),this.location=W(Cn),this.changeDetector=W(Ds),this.environmentInjector=W(ur),this.inputBinder=W(Cc,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(t){if(t.name){const{firstChange:r,previousValue:i}=t.name;if(r)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new O(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new O(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new O(4012,!1);this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,r){this.activated=t,this._activatedRoute=r,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,r){if(this.isActivated)throw new O(4013,!1);this._activatedRoute=t;const i=this.location,s=t.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new zV(t,a,i.injector);this.activated=i.createComponent(s,{index:i.length,injector:l,environmentInjector:r??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=X({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Ft]}),e})();class zV{constructor(n,t,r){this.route=n,this.childContexts=t,this.parent=r}get(n,t){return n===bo?this.route:n===qs?this.childContexts:this.parent.get(n,t)}}const Cc=new $("");let WD=(()=>{class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){const{activatedRoute:r}=t,i=Mf([r.queryParams,r.params,r.data]).pipe(nn(([o,s,a],l)=>(a={...o,...s,...a},0===l?ne(a):Promise.resolve(a)))).subscribe(o=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==r||null===r.component)return void this.unsubscribeFromRouteData(t);const s=function hR(e){const n=Me(e);if(!n)return null;const t=new ls(n);return{get selector(){return t.selector},get type(){return t.componentType},get inputs(){return t.inputs},get outputs(){return t.outputs},get ngContentSelectors(){return t.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}(r.component);if(s)for(const{templateName:a}of s.inputs)t.activatedComponentRef.setInput(a,o[a]);else this.unsubscribeFromRouteData(t)});this.outletDataSubscriptions.set(t,i)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac}),e})();function Zs(e,n,t){if(t&&e.shouldReuseRoute(n.value,t.value.snapshot)){const r=t.value;r._futureSnapshot=n.value;const i=function WV(e,n,t){return n.children.map(r=>{for(const i of t.children)if(e.shouldReuseRoute(r.value,i.value.snapshot))return Zs(e,r,i);return Zs(e,r)})}(e,n,t);return new Cr(r,i)}{if(e.shouldAttach(n.value)){const o=e.retrieve(n.value);if(null!==o){const s=o.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>Zs(e,a)),s}}const r=function qV(e){return new bo(new ze(e.url),new ze(e.params),new ze(e.queryParams),new ze(e.fragment),new ze(e.data),e.outlet,e.component,e)}(n.value),i=n.children.map(o=>Zs(e,o));return new Cr(r,i)}}const $f="ngNavigationCancelingError";function qD(e,n){const{redirectTo:t,navigationBehaviorOptions:r}=hi(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,i=ZD(!1,0,n);return i.url=t,i.navigationBehaviorOptions=r,i}function ZD(e,n,t){const r=new Error("NavigationCancelingError: "+(e||""));return r[$f]=!0,r.cancellationCode=n,t&&(r.url=t),r}function YD(e){return KD(e)&&hi(e.url)}function KD(e){return e&&e[$f]}let XD=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Ei({type:e,selectors:[["ng-component"]],standalone:!0,features:[cy],decls:1,vars:0,template:function(t,r){1&t&&te(0,"router-outlet")},dependencies:[Uf],encapsulation:2}),e})();function zf(e){const n=e.children&&e.children.map(zf),t=n?{...e,children:n}:{...e};return!t.component&&!t.loadComponent&&(n||t.loadChildren)&&t.outlet&&t.outlet!==he&&(t.component=XD),t}function Nn(e){return e.outlet||he}function Ys(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let n=e.parent;n;n=n.parent){const t=n.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}class eB{constructor(n,t,r,i,o){this.routeReuseStrategy=n,this.futureState=t,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=o}activate(n){const t=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,r,n),Hf(this.futureState.root),this.activateChildRoutes(t,r,n)}deactivateChildRoutes(n,t,r){const i=yo(t);n.children.forEach(o=>{const s=o.value.outlet;this.deactivateRoutes(o,i[s],r),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(n,t,r){const i=n.value,o=t?t.value:null;if(i===o)if(i.component){const s=r.getContext(i.outlet);s&&this.deactivateChildRoutes(n,t,s.children)}else this.deactivateChildRoutes(n,t,r);else o&&this.deactivateRouteAndItsChildren(t,r)}deactivateRouteAndItsChildren(n,t){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,t):this.deactivateRouteAndOutlet(n,t)}detachAndStoreRouteSubtree(n,t){const r=t.getContext(n.value.outlet),i=r&&n.value.component?r.children:t,o=yo(n);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],i);if(r&&r.outlet){const s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,t){const r=t.getContext(n.value.outlet),i=r&&n.value.component?r.children:t,o=yo(n);for(const s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(n,t,r){const i=yo(t);n.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new HV(o.value.snapshot))}),n.children.length&&this.forwardEvent(new VV(n.value.snapshot))}activateRoutes(n,t,r){const i=n.value,o=t?t.value:null;if(Hf(i),i===o)if(i.component){const s=r.getOrCreateContext(i.outlet);this.activateChildRoutes(n,t,s.children)}else this.activateChildRoutes(n,t,r);else if(i.component){const s=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Hf(a.route.value),this.activateChildRoutes(n,null,s.children)}else{const a=Ys(i.snapshot);s.attachRef=null,s.route=i,s.injector=a,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(n,null,s.children)}}else this.activateChildRoutes(n,null,r)}}class QD{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}}class wc{constructor(n,t){this.component=n,this.route=t}}function tB(e,n,t){const r=e._root;return Ks(r,n?n._root:null,t,[r.value])}function Co(e,n){const t=Symbol(),r=n.get(e,t);return r===t?"function"!=typeof e||function eE(e){return null!==sa(e)}(e)?n.get(e):e:r}function Ks(e,n,t,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=yo(n);return e.children.forEach(s=>{(function rB(e,n,t,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=e.value,s=n?n.value:null,a=t?t.getContext(e.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const l=function iB(e,n,t){if("function"==typeof t)return t(e,n);switch(t){case"pathParamsChange":return!di(e.url,n.url);case"pathParamsOrQueryParamsChange":return!di(e.url,n.url)||!er(e.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!jf(e,n)||!er(e.queryParams,n.queryParams);default:return!jf(e,n)}}(s,o,o.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new QD(r)):(o.data=s.data,o._resolvedData=s._resolvedData),Ks(e,n,o.component?a?a.children:null:t,r,i),l&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new wc(a.outlet.component,s))}else s&&Xs(n,a,i),i.canActivateChecks.push(new QD(r)),Ks(e,null,o.component?a?a.children:null:t,r,i)})(s,o[s.value.outlet],t,r.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Xs(a,t.getContext(s),i)),i}function Xs(e,n,t){const r=yo(e),i=e.value;Object.entries(r).forEach(([o,s])=>{Xs(s,i.component?n?n.children.getContext(o):null:n,t)}),t.canDeactivateChecks.push(new wc(i.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,i))}function Qs(e){return"function"==typeof e}function JD(e){return e instanceof dc||"EmptyError"===e?.name}const Dc=Symbol("INITIAL_VALUE");function wo(){return nn(e=>Mf(e.map(n=>n.pipe(kr(1),function BL(...e){const n=e[e.length-1];return zt(n)?(e.pop(),t=>Af(e,t,n)):t=>Af(e,t)}(Dc)))).pipe(oe(n=>{for(const t of n)if(!0!==t){if(t===Dc)return Dc;if(!1===t||t instanceof vo)return t}return!0}),Jt(n=>n!==Dc),kr(1)))}function eS(e){return function Mt(...e){return et(e)}(Ze(n=>{if(hi(n))throw qD(0,n)}),oe(n=>!0===n))}class Sc{constructor(n){this.segmentGroup=n||null}}class tS{constructor(n){this.urlTree=n}}function Do(e){return Qn(new Sc(e))}function nS(e){return Qn(new tS(e))}class SB{constructor(n,t){this.urlSerializer=n,this.urlTree=t}noMatchError(n){return new O(4002,!1)}lineralizeSegments(n,t){let r=[],i=t.root;for(;;){if(r=r.concat(i.segments),0===i.numberOfChildren)return ne(r);if(i.numberOfChildren>1||!i.children[he])return Qn(new O(4e3,!1));i=i.children[he]}}applyRedirectCommands(n,t,r){return this.applyRedirectCreateUrlTree(t,this.urlSerializer.parse(t),n,r)}applyRedirectCreateUrlTree(n,t,r,i){const o=this.createSegmentGroup(n,t.root,r,i);return new vo(o,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(n,t){const r={};return Object.entries(n).forEach(([i,o])=>{if("string"==typeof o&&o.startsWith(":")){const a=o.substring(1);r[i]=t[a]}else r[i]=o}),r}createSegmentGroup(n,t,r,i){const o=this.createSegments(n,t.segments,r,i);let s={};return Object.entries(t.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(n,l,r,i)}),new Ne(o,s)}createSegments(n,t,r,i){return t.map(o=>o.path.startsWith(":")?this.findPosParam(n,o,i):this.findOrReturn(o,r))}findPosParam(n,t,r){const i=r[t.path.substring(1)];if(!i)throw new O(4001,!1);return i}findOrReturn(n,t){let r=0;for(const i of t){if(i.path===n.path)return t.splice(r),i;r++}return n}}const Gf={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function EB(e,n,t,r,i){const o=Wf(e,n,t);return o.matched?(r=function ZV(e,n){return e.providers&&!e._injector&&(e._injector=kd(e.providers,n,`Route: ${e.path}`)),e._injector??n}(n,r),function CB(e,n,t,r){const i=n.canMatch;return i&&0!==i.length?ne(i.map(s=>{const a=Co(s,e);return Lr(function uB(e){return e&&Qs(e.canMatch)}(a)?a.canMatch(n,t):e.runInContext(()=>a(n,t)))})).pipe(wo(),eS()):ne(!0)}(r,n,t).pipe(oe(s=>!0===s?o:{...Gf}))):ne(o)}function Wf(e,n,t){if(""===n.path)return"full"===n.pathMatch&&(e.hasChildren()||t.length>0)?{...Gf}:{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};const i=(n.matcher||rV)(t,e,n);if(!i)return{...Gf};const o={};Object.entries(i.posParams??{}).forEach(([a,l])=>{o[a]=l.path});const s=i.consumed.length>0?{...o,...i.consumed[i.consumed.length-1].parameters}:o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:t.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function rS(e,n,t,r){return t.length>0&&function IB(e,n,t){return t.some(r=>Ec(e,n,r)&&Nn(r)!==he)}(e,t,r)?{segmentGroup:new Ne(n,AB(r,new Ne(t,e.children))),slicedSegments:[]}:0===t.length&&function TB(e,n,t){return t.some(r=>Ec(e,n,r))}(e,t,r)?{segmentGroup:new Ne(e.segments,MB(e,0,t,r,e.children)),slicedSegments:t}:{segmentGroup:new Ne(e.segments,e.children),slicedSegments:t}}function MB(e,n,t,r,i){const o={};for(const s of r)if(Ec(e,t,s)&&!i[Nn(s)]){const a=new Ne([],{});o[Nn(s)]=a}return{...i,...o}}function AB(e,n){const t={};t[he]=n;for(const r of e)if(""===r.path&&Nn(r)!==he){const i=new Ne([],{});t[Nn(r)]=i}return t}function Ec(e,n,t){return(!(e.hasChildren()||n.length>0)||"full"!==t.pathMatch)&&""===t.path}class PB{constructor(n,t,r,i,o,s,a){this.injector=n,this.configLoader=t,this.rootComponentType=r,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.allowRedirects=!0,this.applyRedirects=new SB(this.urlSerializer,this.urlTree)}noMatchError(n){return new O(4002,!1)}recognize(){const n=rS(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,n,he).pipe(ai(t=>{if(t instanceof tS)return this.allowRedirects=!1,this.urlTree=t.urlTree,this.match(t.urlTree);throw t instanceof Sc?this.noMatchError(t):t}),oe(t=>{const r=new bc([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},he,this.rootComponentType,null,{}),i=new Cr(r,t),o=new zD("",i),s=function DV(e,n,t=null,r=null){return PD(RD(e),n,t,r)}(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(o._root),{state:o,tree:s}}))}match(n){return this.processSegmentGroup(this.injector,this.config,n.root,he).pipe(ai(r=>{throw r instanceof Sc?this.noMatchError(r):r}))}inheritParamsAndData(n){const t=n.value,r=$D(t,this.paramsInheritanceStrategy);t.params=Object.freeze(r.params),t.data=Object.freeze(r.data),n.children.forEach(i=>this.inheritParamsAndData(i))}processSegmentGroup(n,t,r,i){return 0===r.segments.length&&r.hasChildren()?this.processChildren(n,t,r):this.processSegment(n,t,r,r.segments,i,!0)}processChildren(n,t,r){const i=[];for(const o of Object.keys(r.children))"primary"===o?i.unshift(o):i.push(o);return _t(i).pipe(Vs(o=>{const s=r.children[o],a=function QV(e,n){const t=e.filter(r=>Nn(r)===n);return t.push(...e.filter(r=>Nn(r)!==n)),t}(t,o);return this.processSegmentGroup(n,a,s,o)}),function GL(e,n){let t=!1;return arguments.length>=2&&(t=!0),function(i){return i.lift(new WL(e,n,t))}}((o,s)=>(o.push(...s),o)),hc(null),function KL(e,n){const t=arguments.length>=2;return r=>r.pipe(e?Jt((i,o)=>e(i,o,r)):Et,If(1),t?hc(n):yD(()=>new dc))}(),wt(o=>{if(null===o)return Do(r);const s=iS(o);return function NB(e){e.sort((n,t)=>n.value.outlet===he?-1:t.value.outlet===he?1:n.value.outlet.localeCompare(t.value.outlet))}(s),ne(s)}))}processSegment(n,t,r,i,o,s){return _t(t).pipe(Vs(a=>this.processSegmentAgainstRoute(a._injector??n,t,a,r,i,o,s).pipe(ai(l=>{if(l instanceof Sc)return ne(null);throw l}))),ui(a=>!!a),ai(a=>{if(JD(a))return function xB(e,n,t){return 0===n.length&&!e.children[t]}(r,i,o)?ne([]):Do(r);throw a}))}processSegmentAgainstRoute(n,t,r,i,o,s,a){return function OB(e,n,t,r){return!!(Nn(e)===r||r!==he&&Ec(n,t,e))&&("**"===e.path||Wf(n,e,t).matched)}(r,i,o,s)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(n,i,r,o,s,a):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(n,i,t,r,o,s):Do(i):Do(i)}expandSegmentAgainstRouteUsingRedirect(n,t,r,i,o,s){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(n,r,i,s):this.expandRegularSegmentAgainstRouteUsingRedirect(n,t,r,i,o,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(n,t,r,i){const o=this.applyRedirects.applyRedirectCommands([],r.redirectTo,{});return r.redirectTo.startsWith("/")?nS(o):this.applyRedirects.lineralizeSegments(r,o).pipe(wt(s=>{const a=new Ne(s,{});return this.processSegment(n,t,a,s,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(n,t,r,i,o,s){const{matched:a,consumedSegments:l,remainingSegments:c,positionalParamSegments:u}=Wf(t,i,o);if(!a)return Do(t);const d=this.applyRedirects.applyRedirectCommands(l,i.redirectTo,u);return i.redirectTo.startsWith("/")?nS(d):this.applyRedirects.lineralizeSegments(i,d).pipe(wt(p=>this.processSegment(n,r,t,p.concat(c),s,!1)))}matchSegmentAgainstRoute(n,t,r,i,o,s){let a;if("**"===r.path){const l=i.length>0?CD(i).parameters:{};a=ne({snapshot:new bc(i,l,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,oS(r),Nn(r),r.component??r._loadedComponent??null,r,sS(r)),consumedSegments:[],remainingSegments:[]}),t.children={}}else a=EB(t,r,i,n).pipe(oe(({matched:l,consumedSegments:c,remainingSegments:u,parameters:d})=>l?{snapshot:new bc(c,d,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,oS(r),Nn(r),r.component??r._loadedComponent??null,r,sS(r)),consumedSegments:c,remainingSegments:u}:null));return a.pipe(nn(l=>null===l?Do(t):this.getChildConfig(n=r._injector??n,r,i).pipe(nn(({routes:c})=>{const u=r._loadedInjector??n,{snapshot:d,consumedSegments:p,remainingSegments:g}=l,{segmentGroup:y,slicedSegments:S}=rS(t,p,g,c);if(0===S.length&&y.hasChildren())return this.processChildren(u,c,y).pipe(oe(V=>null===V?null:[new Cr(d,V)]));if(0===c.length&&0===S.length)return ne([new Cr(d,[])]);const T=Nn(r)===o;return this.processSegment(u,c,y,S,T?he:o,!0).pipe(oe(V=>[new Cr(d,V)]))}))))}getChildConfig(n,t,r){return t.children?ne({routes:t.children,injector:n}):t.loadChildren?void 0!==t._loadedRoutes?ne({routes:t._loadedRoutes,injector:t._loadedInjector}):function bB(e,n,t,r){const i=n.canLoad;return void 0===i||0===i.length?ne(!0):ne(i.map(s=>{const a=Co(s,e);return Lr(function sB(e){return e&&Qs(e.canLoad)}(a)?a.canLoad(n,t):e.runInContext(()=>a(n,t)))})).pipe(wo(),eS())}(n,t,r).pipe(wt(i=>i?this.configLoader.loadChildren(n,t).pipe(Ze(o=>{t._loadedRoutes=o.routes,t._loadedInjector=o.injector})):function DB(e){return Qn(ZD(!1,3))}())):ne({routes:[],injector:n})}}function kB(e){const n=e.value.routeConfig;return n&&""===n.path}function iS(e){const n=[],t=new Set;for(const r of e){if(!kB(r)){n.push(r);continue}const i=n.find(o=>r.value.routeConfig===o.value.routeConfig);void 0!==i?(i.children.push(...r.children),t.add(i)):n.push(r)}for(const r of t){const i=iS(r.children);n.push(new Cr(r.value,i))}return n.filter(r=>!t.has(r))}function oS(e){return e.data||{}}function sS(e){return e.resolve||{}}function aS(e){return"string"==typeof e.title||null===e.title}function qf(e){return nn(n=>{const t=e(n);return t?_t(t).pipe(oe(()=>n)):ne(n)})}const So=new $("ROUTES");let Zf=(()=>{class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=W(tb)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return ne(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);const r=Lr(t.loadComponent()).pipe(oe(lS),Ze(o=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=o}),Tf(()=>{this.componentLoaders.delete(t)})),i=new xc(r,()=>new je).pipe(na());return this.componentLoaders.set(t,i),i}loadChildren(t,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return ne({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);const o=this.loadModuleFactoryOrRoutes(r.loadChildren).pipe(oe(a=>{this.onLoadEndListener&&this.onLoadEndListener(r);let l,c;return Array.isArray(a)?c=a:(l=a.create(t).injector,c=l.get(So,[],Q.Self|Q.Optional).flat()),{routes:c.map(zf),injector:l}}),Tf(()=>{this.childrenLoaders.delete(r)})),s=new xc(o,()=>new je).pipe(na());return this.childrenLoaders.set(r,s),s}loadModuleFactoryOrRoutes(t){return Lr(t()).pipe(oe(lS),wt(r=>r instanceof ay||Array.isArray(r)?ne(r):_t(this.compiler.compileModuleAsync(r))))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function lS(e){return function UB(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let Mc=(()=>{class e{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new je,this.configLoader=W(Zf),this.environmentInjector=W(ur),this.urlSerializer=W(js),this.rootContexts=W(qs),this.inputBindingEnabled=null!==W(Cc,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>ne(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=i=>this.events.next(new FV(i)),this.configLoader.onLoadStartListener=i=>this.events.next(new kV(i))}complete(){this.transitions?.complete()}handleNavigationRequest(t){const r=++this.navigationId;this.transitions?.next({...this.transitions.value,...t,id:r})}setupNavigations(t){return this.transitions=new ze({id:0,currentUrlTree:t.currentUrlTree,currentRawUrl:t.currentUrlTree,extractedUrl:t.urlHandlingStrategy.extract(t.currentUrlTree),urlAfterRedirects:t.urlHandlingStrategy.extract(t.currentUrlTree),rawUrl:t.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Gs,restoredState:null,currentSnapshot:t.routerState.snapshot,targetSnapshot:null,currentRouterState:t.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Jt(r=>0!==r.id),oe(r=>({...r,extractedUrl:t.urlHandlingStrategy.extract(r.rawUrl)})),nn(r=>{let i=!1,o=!1;return ne(r).pipe(Ze(s=>{this.currentNavigation={id:s.id,initialUrl:s.rawUrl,extractedUrl:s.extractedUrl,trigger:s.source,extras:s.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),nn(s=>{const a=t.browserUrlTree.toString(),l=!t.navigated||s.extractedUrl.toString()!==a||a!==t.currentUrlTree.toString();if(!l&&"reload"!==(s.extras.onSameUrlNavigation??t.onSameUrlNavigation)){const u="";return this.events.next(new Ws(s.id,t.serializeUrl(r.rawUrl),u,0)),t.rawUrlTree=s.rawUrl,s.resolve(null),br}if(t.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return cS(s.source)&&(t.browserUrlTree=s.extractedUrl),ne(s).pipe(nn(u=>{const d=this.transitions?.getValue();return this.events.next(new kf(u.id,this.urlSerializer.serialize(u.extractedUrl),u.source,u.restoredState)),d!==this.transitions?.getValue()?br:Promise.resolve(u)}),function FB(e,n,t,r,i,o){return wt(s=>function RB(e,n,t,r,i,o,s="emptyOnly"){return new PB(e,n,t,r,i,s,o).recognize()}(e,n,t,r,s.extractedUrl,i,o).pipe(oe(({state:a,tree:l})=>({...s,targetSnapshot:a,urlAfterRedirects:l}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,t.paramsInheritanceStrategy),Ze(u=>{if(r.targetSnapshot=u.targetSnapshot,r.urlAfterRedirects=u.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:u.urlAfterRedirects},"eager"===t.urlUpdateStrategy){if(!u.extras.skipLocationChange){const p=t.urlHandlingStrategy.merge(u.urlAfterRedirects,u.rawUrl);t.setBrowserUrl(p,u)}t.browserUrlTree=u.urlAfterRedirects}const d=new OV(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(d)}));if(l&&t.urlHandlingStrategy.shouldProcessUrl(t.rawUrlTree)){const{id:u,extractedUrl:d,source:p,restoredState:g,extras:y}=s,S=new kf(u,this.urlSerializer.serialize(d),p,g);this.events.next(S);const T=UD(0,this.rootComponentType).snapshot;return ne(r={...s,targetSnapshot:T,urlAfterRedirects:d,extras:{...y,skipLocationChange:!1,replaceUrl:!1}})}{const u="";return this.events.next(new Ws(s.id,t.serializeUrl(r.extractedUrl),u,1)),t.rawUrlTree=s.rawUrl,s.resolve(null),br}}),Ze(s=>{const a=new xV(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),oe(s=>r={...s,guards:tB(s.targetSnapshot,s.currentSnapshot,this.rootContexts)}),function hB(e,n){return wt(t=>{const{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=t;return 0===s.length&&0===o.length?ne({...t,guardsResult:!0}):function fB(e,n,t,r){return _t(e).pipe(wt(i=>function yB(e,n,t,r,i){const o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;return o&&0!==o.length?ne(o.map(a=>{const l=Ys(n)??i,c=Co(a,l);return Lr(function cB(e){return e&&Qs(e.canDeactivate)}(c)?c.canDeactivate(e,n,t,r):l.runInContext(()=>c(e,n,t,r))).pipe(ui())})).pipe(wo()):ne(!0)}(i.component,i.route,t,n,r)),ui(i=>!0!==i,!0))}(s,r,i,e).pipe(wt(a=>a&&function oB(e){return"boolean"==typeof e}(a)?function pB(e,n,t,r){return _t(n).pipe(Vs(i=>Af(function mB(e,n){return null!==e&&n&&n(new LV(e)),ne(!0)}(i.route.parent,r),function gB(e,n){return null!==e&&n&&n(new BV(e)),ne(!0)}(i.route,r),function vB(e,n,t){const r=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(s=>function nB(e){const n=e.routeConfig?e.routeConfig.canActivateChild:null;return n&&0!==n.length?{node:e,guards:n}:null}(s)).filter(s=>null!==s).map(s=>vD(()=>ne(s.guards.map(l=>{const c=Ys(s.node)??t,u=Co(l,c);return Lr(function lB(e){return e&&Qs(e.canActivateChild)}(u)?u.canActivateChild(r,e):c.runInContext(()=>u(r,e))).pipe(ui())})).pipe(wo())));return ne(o).pipe(wo())}(e,i.path,t),function _B(e,n,t){const r=n.routeConfig?n.routeConfig.canActivate:null;if(!r||0===r.length)return ne(!0);const i=r.map(o=>vD(()=>{const s=Ys(n)??t,a=Co(o,s);return Lr(function aB(e){return e&&Qs(e.canActivate)}(a)?a.canActivate(n,e):s.runInContext(()=>a(n,e))).pipe(ui())}));return ne(i).pipe(wo())}(e,i.route,t))),ui(i=>!0!==i,!0))}(r,o,e,n):ne(a)),oe(a=>({...t,guardsResult:a})))})}(this.environmentInjector,s=>this.events.next(s)),Ze(s=>{if(r.guardsResult=s.guardsResult,hi(s.guardsResult))throw qD(0,s.guardsResult);const a=new RV(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);this.events.next(a)}),Jt(s=>!!s.guardsResult||(t.restoreHistory(s),this.cancelNavigationTransition(s,"",3),!1)),qf(s=>{if(s.guards.canActivateChecks.length)return ne(s).pipe(Ze(a=>{const l=new PV(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}),nn(a=>{let l=!1;return ne(a).pipe(function LB(e,n){return wt(t=>{const{targetSnapshot:r,guards:{canActivateChecks:i}}=t;if(!i.length)return ne(t);let o=0;return _t(i).pipe(Vs(s=>function VB(e,n,t,r){const i=e.routeConfig,o=e._resolve;return void 0!==i?.title&&!aS(i)&&(o[Bs]=i.title),function BB(e,n,t,r){const i=function HB(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}(e);if(0===i.length)return ne({});const o={};return _t(i).pipe(wt(s=>function jB(e,n,t,r){const i=Ys(n)??r,o=Co(e,i);return Lr(o.resolve?o.resolve(n,t):i.runInContext(()=>o(n,t)))}(e[s],n,t,r).pipe(ui(),Ze(a=>{o[s]=a}))),If(1),function XL(e){return n=>n.lift(new QL(e))}(o),ai(s=>JD(s)?br:Qn(s)))}(o,e,n,r).pipe(oe(s=>(e._resolvedData=s,e.data=$D(e,t).resolve,i&&aS(i)&&(e.data[Bs]=i.title),null)))}(s.route,r,e,n)),Ze(()=>o++),If(1),wt(s=>o===i.length?ne(t):br))})}(t.paramsInheritanceStrategy,this.environmentInjector),Ze({next:()=>l=!0,complete:()=>{l||(t.restoreHistory(a),this.cancelNavigationTransition(a,"",2))}}))}),Ze(a=>{const l=new NV(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}))}),qf(s=>{const a=l=>{const c=[];l.routeConfig?.loadComponent&&!l.routeConfig._loadedComponent&&c.push(this.configLoader.loadComponent(l.routeConfig).pipe(Ze(u=>{l.component=u}),oe(()=>{})));for(const u of l.children)c.push(...a(u));return c};return Mf(a(s.targetSnapshot.root)).pipe(hc(),kr(1))}),qf(()=>this.afterPreactivation()),oe(s=>{const a=function GV(e,n,t){const r=Zs(e,n._root,t?t._root:void 0);return new jD(r,n)}(t.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);return r={...s,targetRouterState:a}}),Ze(s=>{t.currentUrlTree=s.urlAfterRedirects,t.rawUrlTree=t.urlHandlingStrategy.merge(s.urlAfterRedirects,s.rawUrl),t.routerState=s.targetRouterState,"deferred"===t.urlUpdateStrategy&&(s.extras.skipLocationChange||t.setBrowserUrl(t.rawUrlTree,s),t.browserUrlTree=s.urlAfterRedirects)}),((e,n,t,r)=>oe(i=>(new eB(n,i.targetRouterState,i.currentRouterState,t,r).activate(e),i)))(this.rootContexts,t.routeReuseStrategy,s=>this.events.next(s),this.inputBindingEnabled),kr(1),Ze({next:s=>{i=!0,this.lastSuccessfulNavigation=this.currentNavigation,t.navigated=!0,this.events.next(new fi(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(t.currentUrlTree))),t.titleStrategy?.updateTitle(s.targetRouterState.snapshot),s.resolve(!0)},complete:()=>{i=!0}}),Tf(()=>{i||o||this.cancelNavigationTransition(r,"",1),this.currentNavigation?.id===r.id&&(this.currentNavigation=null)}),ai(s=>{if(o=!0,KD(s)){YD(s)||(t.navigated=!0,t.restoreHistory(r,!0));const a=new yc(r.id,this.urlSerializer.serialize(r.extractedUrl),s.message,s.cancellationCode);if(this.events.next(a),YD(s)){const l=t.urlHandlingStrategy.merge(s.url,t.rawUrlTree),c={skipLocationChange:r.extras.skipLocationChange,replaceUrl:"eager"===t.urlUpdateStrategy||cS(r.source)};t.scheduleNavigation(l,Gs,null,c,{resolve:r.resolve,reject:r.reject,promise:r.promise})}else r.resolve(!1)}else{t.restoreHistory(r,!0);const a=new Ff(r.id,this.urlSerializer.serialize(r.extractedUrl),s,r.targetSnapshot??void 0);this.events.next(a);try{r.resolve(t.errorHandler(s))}catch(l){r.reject(l)}}return br}))}))}cancelNavigationTransition(t,r,i){const o=new yc(t.id,this.urlSerializer.serialize(t.extractedUrl),r,i);this.events.next(o),t.resolve(!1)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function cS(e){return e!==Gs}let uS=(()=>{class e{buildTitle(t){let r,i=t.root;for(;void 0!==i;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(o=>o.outlet===he);return r}getResolvedTitleForRoute(t){return t.data[Bs]}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:function(){return W($B)},providedIn:"root"}),e})(),$B=(()=>{class e extends uS{constructor(t){super(),this.title=t}updateTitle(t){const r=this.buildTitle(t);void 0!==r&&this.title.setTitle(r)}}return e.\u0275fac=function(t){return new(t||e)(P(MC))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),zB=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:function(){return W(WB)},providedIn:"root"}),e})();class GB{shouldDetach(n){return!1}store(n,t){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,t){return n.routeConfig===t.routeConfig}}let WB=(()=>{class e extends GB{}return e.\u0275fac=function(){let n;return function(r){return(n||(n=yt(e)))(r||e)}}(),e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Ac=new $("",{providedIn:"root",factory:()=>({})});let qB=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:function(){return W(ZB)},providedIn:"root"}),e})(),ZB=(()=>{class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,r){return t}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var gn=(()=>((gn=gn||{})[gn.COMPLETE=0]="COMPLETE",gn[gn.FAILED=1]="FAILED",gn[gn.REDIRECTING=2]="REDIRECTING",gn))();function dS(e,n){e.events.pipe(Jt(t=>t instanceof fi||t instanceof yc||t instanceof Ff||t instanceof Ws),oe(t=>t instanceof fi||t instanceof Ws?gn.COMPLETE:t instanceof yc&&(0===t.code||1===t.code)?gn.REDIRECTING:gn.FAILED),Jt(t=>t!==gn.REDIRECTING),kr(1)).subscribe(()=>{n()})}function YB(e){throw e}function KB(e,n,t){return n.parse("/")}const XB={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},QB={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Sn=(()=>{class e{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){if("computed"===this.canceledNavigationResolution)return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=W(Jy),this.isNgZoneEnabled=!1,this.options=W(Ac,{optional:!0})||{},this.pendingTasks=W(eb),this.errorHandler=this.options.errorHandler||YB,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||KB,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=W(qB),this.routeReuseStrategy=W(zB),this.titleStrategy=W(uS),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=W(So,{optional:!0})?.flat()??[],this.navigationTransitions=W(Mc),this.urlSerializer=W(js),this.location=W(Ol),this.componentInputBindingEnabled=!!W(Cc,{optional:!0}),this.isNgZoneEnabled=W(Ie)instanceof Ie&&Ie.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new vo,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=UD(0,null),this.navigationTransitions.setupNavigations(this).subscribe(t=>{this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId??0},t=>{this.console.warn(`Unhandled Navigation Error: ${t}`)})}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const t=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Gs,t)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{const r="popstate"===t.type?"popstate":"hashchange";"popstate"===r&&setTimeout(()=>{this.navigateToSyncWithBrowser(t.url,r,t.state)},0)}))}navigateToSyncWithBrowser(t,r,i){const o={replaceUrl:!0},s=i?.navigationId?i:null;if(i){const l={...i};delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(o.state=l)}const a=this.parseUrl(t);this.scheduleNavigation(a,r,s,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(zf),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(t,r={}){const{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:l}=r,c=l?this.currentUrlTree.fragment:s;let d,u=null;switch(a){case"merge":u={...this.currentUrlTree.queryParams,...o};break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=o||null}null!==u&&(u=this.removeEmptyProps(u));try{d=RD(i?i.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof t[0]||!t[0].startsWith("/"))&&(t=[]),d=this.currentUrlTree.root}return PD(d,t,u,c??null)}navigateByUrl(t,r={skipLocationChange:!1}){const i=hi(t)?t:this.parseUrl(t),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,Gs,null,r)}navigate(t,r={skipLocationChange:!1}){return function JB(e){for(let n=0;n{const o=t[i];return null!=o&&(r[i]=o),r},{})}scheduleNavigation(t,r,i,o,s){if(this.disposed)return Promise.resolve(!1);let a,l,c;s?(a=s.resolve,l=s.reject,c=s.promise):c=new Promise((d,p)=>{a=d,l=p});const u=this.pendingTasks.add();return dS(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:o,resolve:a,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(d=>Promise.reject(d))}setBrowserUrl(t,r){const i=this.urlSerializer.serialize(t);if(this.location.isCurrentPathEqualTo(i)||r.extras.replaceUrl){const s={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId)};this.location.replaceState(i,"",s)}else{const o={...r.extras.state,...this.generateNgRouterState(r.id,(this.browserPageId??0)+1)};this.location.go(i,"",o)}}restoreHistory(t,r=!1){if("computed"===this.canceledNavigationResolution){const o=this.currentPageId-(this.browserPageId??this.currentPageId);0!==o?this.location.historyGo(o):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===o&&(this.resetState(t),this.browserUrlTree=t.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=t.currentRouterState,this.currentUrlTree=t.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,r){return"computed"===this.canceledNavigationResolution?{navigationId:t,\u0275routerPageId:r}:{navigationId:t}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Ic=(()=>{class e{constructor(t,r,i,o,s,a){this.router=t,this.route=r,this.tabIndexAttribute=i,this.renderer=o,this.el=s,this.locationStrategy=a,this.href=null,this.commands=null,this.onChanges=new je,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const l=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===l||"area"===l,this.isAnchorElement?this.subscription=t.events.subscribe(c=>{c instanceof fi&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(t){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(t){null!=t?(this.commands=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(t,r,i,o,s){return!!(null===this.urlTree||this.isAnchorElement&&(0!==t||r||i||o||s||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const t=null===this.href?null:function pm(e,n,t){return function sA(e,n){return"src"===n&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===n&&("base"===e||"link"===e)?fm:hm}(n,t)(e)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",t)}applyAttributeValue(t,r){const i=this.renderer,o=this.el.nativeElement;null!==r?i.setAttribute(o,t,r):i.removeAttribute(o,t)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return e.\u0275fac=function(t){return new(t||e)(M(Sn),M(bo),Bo("tabindex"),M(hr),M(pt),M(ri))},e.\u0275dir=X({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(t,r){1&t&&j("click",function(o){return r.onClick(o.button,o.ctrlKey,o.shiftKey,o.altKey,o.metaKey)}),2&t&&Bt("target",r.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",St],skipLocationChange:["skipLocationChange","skipLocationChange",St],replaceUrl:["replaceUrl","replaceUrl",St],routerLink:"routerLink"},standalone:!0,features:[dd,Ft]}),e})(),hS=(()=>{class e{get isActive(){return this._isActive}constructor(t,r,i,o,s){this.router=t,this.element=r,this.renderer=i,this.cdr=o,this.link=s,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new me,this.routerEventsSubscription=t.events.subscribe(a=>{a instanceof fi&&this.update()})}ngAfterContentInit(){ne(this.links.changes,ne(null)).pipe(Di()).subscribe(t=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const t=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=_t(t).pipe(Di()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(t){const r=Array.isArray(t)?t:t.split(" ");this.classes=r.filter(i=>!!i)}ngOnChanges(t){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const t=this.hasActiveLinks();this._isActive!==t&&(this._isActive=t,this.cdr.markForCheck(),this.classes.forEach(r=>{t?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),t&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(t))})}isLinkActive(t){const r=function eH(e){return!!e.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return i=>!!i.urlTree&&t.isActive(i.urlTree,r)}hasActiveLinks(){const t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.links.some(t)}}return e.\u0275fac=function(t){return new(t||e)(M(Sn),M(pt),M(hr),M(Ds),M(Ic,8))},e.\u0275dir=X({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(t,r,i){if(1&t&&function Py(e,n,t,r){const i=Ce();if(i.firstCreatePass){const o=Dt();ky(i,new xy(n,t,r),o.index),function ex(e,n){const t=e.contentQueries||(e.contentQueries=[]);n!==(t.length?t[t.length-1]:-1)&&t.push(e.queries.length-1,n)}(i,e),2==(2&t)&&(i.staticContentQueries=!0)}Ny(i,I(),t)}(i,Ic,5),2&t){let o;Ir(o=Tr())&&(r.links=o)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Ft]}),e})();class fS{}let tH=(()=>{class e{constructor(t,r,i,o,s){this.router=t,this.injector=i,this.preloadingStrategy=o,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(Jt(t=>t instanceof fi),Vs(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,r){const i=[];for(const o of r){o.providers&&!o._injector&&(o._injector=kd(o.providers,t,`Route: ${o.path}`));const s=o._injector??t,a=o._loadedInjector??s;(o.loadChildren&&!o._loadedRoutes&&void 0===o.canLoad||o.loadComponent&&!o._loadedComponent)&&i.push(this.preloadConfig(s,o)),(o.children||o._loadedRoutes)&&i.push(this.processRoutes(a,o.children??o._loadedRoutes))}return _t(i).pipe(Di())}preloadConfig(t,r){return this.preloadingStrategy.preload(r,()=>{let i;i=r.loadChildren&&void 0===r.canLoad?this.loader.loadChildren(t,r):ne(null);const o=i.pipe(wt(s=>null===s?ne(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??t,s.routes))));return r.loadComponent&&!r._loadedComponent?_t([o,this.loader.loadComponent(r)]).pipe(Di()):o})}}return e.\u0275fac=function(t){return new(t||e)(P(Sn),P(tb),P(ur),P(fS),P(Zf))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Yf=new $("");let pS=(()=>{class e{constructor(t,r,i,o,s={}){this.urlSerializer=t,this.transitions=r,this.viewportScroller=i,this.zone=o,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration=s.scrollPositionRestoration||"disabled",s.anchorScrolling=s.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof kf?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof fi?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof Ws&&0===t.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof BD&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new BD(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return e.\u0275fac=function(t){!function Qm(){throw new Error("invalid")}()},e.\u0275prov=U({token:e,factory:e.\u0275fac}),e})();function wr(e,n){return{\u0275kind:e,\u0275providers:n}}function mS(){const e=W(dn);return n=>{const t=e.get(ei);if(n!==t.components[0])return;const r=e.get(Sn),i=e.get(_S);1===e.get(Kf)&&r.initialNavigation(),e.get(vS,null,Q.Optional)?.setUpPreloading(),e.get(Yf,null,Q.Optional)?.init(),r.resetRootComponentType(t.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}const _S=new $("",{factory:()=>new je}),Kf=new $("",{providedIn:"root",factory:()=>1}),vS=new $("");function oH(e){return wr(0,[{provide:vS,useExisting:tH},{provide:fS,useExisting:e}])}const yS=new $("ROUTER_FORROOT_GUARD"),aH=[Ol,{provide:js,useClass:Of},Sn,qs,{provide:bo,useFactory:function gS(e){return e.routerState.root},deps:[Sn]},Zf,[]];function lH(){return new hb("Router",Sn)}let bS=(()=>{class e{constructor(t){}static forRoot(t,r){return{ngModule:e,providers:[aH,[],{provide:So,multi:!0,useValue:t},{provide:yS,useFactory:hH,deps:[[Sn,new xa,new Ra]]},{provide:Ac,useValue:r||{}},r?.useHash?{provide:ri,useClass:_R}:{provide:ri,useClass:Hb},{provide:Yf,useFactory:()=>{const e=W(FP),n=W(Ie),t=W(Ac),r=W(Mc),i=W(js);return t.scrollOffset&&e.setOffset(t.scrollOffset),new pS(i,r,e,n,t)}},r?.preloadingStrategy?oH(r.preloadingStrategy).\u0275providers:[],{provide:hb,multi:!0,useFactory:lH},r?.initialNavigation?fH(r):[],r?.bindToComponentInputs?wr(8,[WD,{provide:Cc,useExisting:WD}]).\u0275providers:[],[{provide:CS,useFactory:mS},{provide:oh,multi:!0,useExisting:CS}]]}}static forChild(t){return{ngModule:e,providers:[{provide:So,multi:!0,useValue:t}]}}}return e.\u0275fac=function(t){return new(t||e)(P(yS,8))},e.\u0275mod=dt({type:e}),e.\u0275inj=nt({}),e})();function hH(e){return"guarded"}function fH(e){return["disabled"===e.initialNavigation?wr(3,[{provide:Xd,multi:!0,useFactory:()=>{const n=W(Sn);return()=>{n.setUpLocationChangeListener()}}},{provide:Kf,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?wr(2,[{provide:Kf,useValue:0},{provide:Xd,multi:!0,deps:[dn],useFactory:n=>{const t=n.get(gR,Promise.resolve());return()=>t.then(()=>new Promise(r=>{const i=n.get(Sn),o=n.get(_S);dS(i,()=>{r(!0)}),n.get(Mc).afterPreactivation=()=>(r(!0),o.closed?ne(void 0):o),i.initialNavigation()}))}}]).\u0275providers:[]]}const CS=new $("");let gH=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Ei({type:e,selectors:[["app-root"]],decls:11,vars:0,consts:[["href","https://github.com/Harvest-Dev/ng-select2/tree/master/src","target","_blank"],["routerLink","/examples","routerLinkActive","active"],["routerLink","/generator","routerLinkActive","active"]],template:function(t,r){1&t&&(v(0,"a",0),b(1,"the source code of the demo"),_(),v(2,"nav")(3,"ul")(4,"li")(5,"a",1),b(6,"Exemples"),_()(),v(7,"li")(8,"a",2),b(9,"Code generator"),_()()()(),te(10,"router-outlet"))},dependencies:[Uf,Ic,hS],styles:[".cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*!\n Theme: GitHub\n Description: Light theme as seen on github.com\n Author: github.com\n Maintainer: @Hirse\n Updated: 2021-05-15\n\n Outdated base version: https://github.com/primer/github-syntax-light\n Current colors taken from GitHub's CSS\n*/.hljs{color:#24292e;background:#fff}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#d73a49}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#6f42c1}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id,.hljs-variable{color:#005cc5}.hljs-meta .hljs-string,.hljs-regexp,.hljs-string{color:#032f62}.hljs-built_in,.hljs-symbol{color:#e36209}.hljs-code,.hljs-comment,.hljs-formula{color:#6a737d}.hljs-name,.hljs-quote,.hljs-selector-pseudo,.hljs-selector-tag{color:#22863a}.hljs-subst{color:#24292e}.hljs-section{color:#005cc5;font-weight:700}.hljs-bullet{color:#735c0f}.hljs-emphasis{color:#24292e;font-style:italic}.hljs-strong{color:#24292e;font-weight:700}.hljs-addition{color:#22863a;background-color:#f0fff4}.hljs-deletion{color:#b31d28;background-color:#ffeef0}:root{--select2-single-height: 28px;--select2-multiple-height: 28px;--select2-label-text-color: #000;--select2-required-color: red;--select2-selection-border-radius: 4px;--select2-selection-background: #fff;--select2-selection-disabled-background: #eee;--select2-selection-border-color: #aaa;--select2-selection-focus-border-color: #000;--select2-selection-text-color: #111;--select2-selection-line-height: 28px;--select2-selection-padding: 0 0 0 8px;--select2-selection-multiple-gap: 2px 5px;--select2-selection-multiple-padding: 2px 5px;--select2-selection-choice-background: #e4e4e4;--select2-selection-choice-text-color: #000;--select2-selection-choice-border-color: #aaa;--select2-selection-choice-close-color: #999;--select2-selection-choice-hover-close-color: #333;--select2-placeholder-color: #999;--select2-placeholder-overflow: ellipsis;--select2-no-result-color: #888;--select2-no-result-font-style: italic;--select2-too-much-result-color: #888;--select2-too-much-result-style: italic;--select2-reset-color: #999;--select2-arrow-color: #888;--select2-dropdown-background: #fff;--select2-dropdown-border-color: #aaa;--select2-overlay-backdrop: transparent;--select2-search-border-color: #aaa;--select2-search-background: #fff;--select2-search-border-radius: 0px;--select2-option-text-color: #000;--select2-option-disabled-text-color: #999;--select2-option-disabled-background: transparent;--select2-option-selected-text-color: #000;--select2-option-selected-background: #ddd;--select2-option-highlighted-text-color: #fff;--select2-option-highlighted-background: #5897fb;--select2-option-group-text-color: gray;--select2-option-group-background: transparent;--select2-option-padding: 6px;--select2-hint-text-color: #888;--select2-material-underline: #ddd;--select2-material-underline-active: #5a419e;--select2-material-underline-disabled: linear-gradient( to right, rgba(0, 0, 0, .26) 0, rgba(0, 0, 0, .26) 33%, transparent 0 );--select2-material-underline-invalid: red;--select2-material-placeholder-color: rgba(0, 0, 0, .38);--select2-material-selection-background: #ddd;--select2-material-option-selected-background: rgba(0, 0, 0, .04);--select2-material-option-highlighted-text-color: #000;--select2-material-option-selected-text-color: #ff5722}nav ul{display:block}nav li{display:inline-block;padding:0 15px}\n"],encapsulation:2}),e})();const pi=[{label:"Alaskan/Hawaiian Time Zone",options:[{value:"AK",label:"Alaska"},{value:"HI",label:"Hawaii",disabled:!0}]},{label:"Pacific Time Zone",options:[{value:"CA",label:"California"},{value:"NV",label:"Nevada"},{value:"OR",label:"Oregon"},{value:"WA",label:"Washington"}]},{label:"Mountain Time Zone",options:[{value:"AZ",label:"Arizona"},{value:"CO",label:"Colorado"},{value:"ID",label:"Idaho"},{value:"MT",label:"Montana"},{value:"NE",label:"Nebraska"},{value:"NM",label:"New Mexico"},{value:"ND",label:"North Dakota"},{value:"UT",label:"Utah"},{value:"WY",label:"Wyoming"}]},{label:"Central Time Zone",options:[{value:"AL",label:"Alabama"},{value:"AR",label:"Arkansas"},{value:"IL",label:"Illinois"},{value:"IA",label:"Iowa"},{value:"KS",label:"Kansas"},{value:"KY",label:"Kentucky"},{value:"LA",label:"Louisiana"},{value:"MN",label:"Minnesota"},{value:"MS",label:"Mississippi"},{value:"MO",label:"Missouri"},{value:"OK",label:"Oklahoma"},{value:"SD",label:"South Dakota"},{value:"TX",label:"Texas"},{value:"TN",label:"Tennessee"},{value:"WI",label:"Wisconsin"}]},{label:"Eastern Time Zone",options:[{value:"CT",label:"Connecticut"},{value:"DE",label:"Delaware"},{value:"FL",label:"Florida"},{value:"GA",label:"Georgia"},{value:"IN",label:"Indiana"},{value:"ME",label:"Maine"},{value:"MD",label:"Maryland"},{value:"MA",label:"Massachusetts"},{value:"MI",label:"Michigan"},{value:"NH",label:"New Hampshire"},{value:"NJ",label:"New Jersey"},{value:"NY",label:"New York"},{value:"NC",label:"North Carolina"},{value:"OH",label:"Ohio"},{value:"PA",label:"Pennsylvania"},{value:"RI",label:"Rhode Island"},{value:"SC",label:"South Carolina"},{value:"VT",label:"Vermont"},{value:"VA",label:"Virginia"},{value:"WV",label:"West Virginia"}]}],Xf=[{value:"AK",label:"Alaska"},{value:"HI",label:"Hawaii",disabled:!0},{value:"CA",label:"California"},{value:"NV",label:"Nevada"},{value:"OR",label:"Oregon"},{value:"WA",label:"Washington"},{value:"AZ",label:"Arizona"},{value:"CO",label:"Colorado"},{value:"ID",label:"Idaho"},{value:"MT",label:"Montana"},{value:"NE",label:"Nebraska"},{value:"NM",label:"New Mexico"},{value:"ND",label:"North Dakota"},{value:"UT",label:"Utah"},{value:"WY",label:"Wyoming"},{value:"AL",label:"Alabama"},{value:"AR",label:"Arkansas"},{value:"IL",label:"Illinois"},{value:"IA",label:"Iowa"},{value:"KS",label:"Kansas"},{value:"KY",label:"Kentucky"},{value:"LA",label:"Louisiana"},{value:"MN",label:"Minnesota"},{value:"MS",label:"Mississippi"},{value:"MO",label:"Missouri"},{value:"OK",label:"Oklahoma"},{value:"SD",label:"South Dakota"},{value:"TX",label:"Texas"},{value:"TN",label:"Tennessee"},{value:"WI",label:"Wisconsin"},{value:"CT",label:"Connecticut"},{value:"DE",label:"Delaware"},{value:"FL",label:"Florida"},{value:"GA",label:"Georgia"},{value:"IN",label:"Indiana"},{value:"ME",label:"Maine"},{value:"MD",label:"Maryland"},{value:"MA",label:"Massachusetts"},{value:"MI",label:"Michigan"},{value:"NH",label:"New Hampshire"},{value:"NJ",label:"New Jersey"},{value:"NY",label:"New York"},{value:"NC",label:"North Carolina"},{value:"OH",label:"Ohio"},{value:"PA",label:"Pennsylvania"},{value:"RI",label:"Rhode Island"},{value:"SC",label:"South Carolina"},{value:"VT",label:"Vermont"},{value:"VA",label:"Virginia",disabled:!0},{value:"WV",label:"West Virginia"}],Tc=[{value:"foo",label:"foo"},{value:"bar",label:"bar"},{value:"baz",label:"baz"}],mH=[{value:0,label:"0"},{value:1,label:"1"},{value:2,label:"2"},{value:3,label:"3"},{value:4,label:"4"},{value:5,label:"5"},{value:6,label:"6"}],_H=[{value:"foo1",label:"foo1"},{value:"foo2",label:"foo2"},{value:"foo3",label:"foo3"},{value:"foo4",label:"foo4"},{value:"foo5",label:"foo5"},{value:"foo6",label:"foo6"}],vH=[{value:"FR-ARA",label:"Auvergne-Rh\xf4ne-Alpes"},{value:"FR-BFC",label:"Bourgogne-Franche-Comt\xe9"},{value:"FR-BRE",label:"Bretagne"},{value:"FR-CVL",label:"Centre-Val de Loire"},{value:"FR-COR",label:"Corse"},{value:"FR-GES",label:"Grand Est"},{value:"FR-HDF",label:"Hauts-de-France"},{value:"FR-IDF",label:"\xcele-de-France"},{value:"FR-NOR",label:"Normandie"},{value:"FR-NAQ",label:"Nouvelle-Aquitaine"},{value:"FR-OCC",label:"Occitanie"},{value:"FR-PDL",label:"Pays de la Loire"},{value:"FR-PAC",label:"Provence-Alpes-C\xf4te d'Azur"},{value:"FR-GP",label:"Guadeloupe"},{value:"FR-MQ",label:"Martinique"},{value:"FR-GF",label:"Guyane"},{value:"FR-RE",label:"La R\xe9union"},{value:"FR-YT",label:"Mayotte"}],yH=[{label:"Mainland region",options:[{value:"FR-ARA",label:"Auvergne-Rh\xf4ne-Alpes"},{value:"FR-BFC",label:"Bourgogne-Franche-Comt\xe9"},{value:"FR-BRE",label:"Bretagne"},{value:"FR-CVL",label:"Centre-Val de Loire"},{value:"FR-COR",label:"Corse"},{value:"FR-GES",label:"Grand Est"},{value:"FR-HDF",label:"Hauts-de-France"},{value:"FR-IDF",label:"\xcele-de-France"},{value:"FR-NOR",label:"Normandie"},{value:"FR-NAQ",label:"Nouvelle-Aquitaine"},{value:"FR-OCC",label:"Occitanie"},{value:"FR-PDL",label:"Pays de la Loire"},{value:"FR-PAC",label:"Provence-Alpes-C\xf4te d'Azur"}]},{label:"Overseas region",options:[{value:"FR-GP",label:"Guadeloupe"},{value:"FR-MQ",label:"Martinique"},{value:"FR-GF",label:"Guyane"},{value:"FR-RE",label:"La R\xe9union"},{value:"FR-YT",label:"Mayotte"}]}],Qf=[{value:"foo1",label:"foo1"},{value:"foo2",label:"foo2"},{value:"foo3",label:"foo3"},{value:"foo4",label:"foo4"},{value:"foo5",label:"foo5"},{value:"foo6",label:"foo6"},{value:"foo7",label:"foo7"},{value:"foo8",label:"foo8"},{value:"foo9",label:"foo9",hide:!0}],bH=[{value:!0,label:"true"},{value:!1,label:"false"}],CH=[{value:"fr",label:'
\n
France
\n
Europe
\n
'},{value:"sp",label:'
\n
Spain
\n
Europe
\n
'},{value:"ch",label:'
\n
China
\n
Asia
\n
'}],wH=[{value:"heliotrope",label:"Heliotrope",classes:"white flower",id:"option-heliotrope"},{value:"hibiscus",label:"Hibiscus",classes:"red flower",id:"option-hibiscus"},{value:"lily",label:"Lily",classes:"white flower",id:"option-lily"},{value:"marigold",label:"Marigold",classes:"red flower",id:"option-marigold"},{value:"petunia",label:"Petunia",classes:"white flower",id:"option-petunia"},{value:"sunflower",label:"Sunflower",classes:"yellow flower",id:"option-sunflower"}],wS=[{value:"heliotrope",label:"Heliotrope",data:{color:"white",name:"Heliotrope"},templateId:"template1",id:"option-heliotrope"},{value:"hibiscus",label:"Hibiscus",data:{color:"red",name:"Hibiscus"},templateId:"template1",id:"option-hibiscus"},{value:"lily",label:"Lily",data:{color:"white",name:"Lily"},templateId:"template2",id:"option-lily"},{value:"marigold",label:"Marigold",data:{color:"red",name:"Marigold"},templateId:"template2",id:"option-marigold"},{value:"petunia",label:"Petunia",data:{color:"white",name:"Petunia"},templateId:"template3",id:"option-petunia"},{value:"sunflower",label:"Sunflower",data:{color:"yellow",name:"Sunflower"},templateId:"template3",id:"option-sunflower"}],DS=[{label:"Red",data:{name:"(Red)"},options:[{value:"hibiscus",label:"Hibiscus",data:{color:"red",name:"Hibiscus"},templateId:"template1",id:"option-hibiscus"},{value:"marigold",label:"Marigold",data:{color:"red",name:"Marigold"},templateId:"template2",id:"option-marigold"}]},{label:"Yellow",data:{name:"(Yellow)"},options:[{value:"sunflower",label:"Sunflower",data:{color:"yellow",name:"Sunflower"},templateId:"template3",id:"option-sunflower"}]},{label:"White",data:{name:"(White)"},options:[{value:"heliotrope",label:"Heliotrope",data:{color:"white",name:"Heliotrope"},templateId:"template1",id:"option-heliotrope"},{value:"lily",label:"Lily",data:{color:"white",name:"Lily"},templateId:"template2",id:"option-lily"},{value:"petunia",label:"Petunia",data:{color:"white",name:"Petunia"},templateId:"template3",id:"option-petunia"}]}],SS=[];for(let e=1;e<=50;e++)SS.push({value:e,label:">"+e});const ES=[];for(let e=1;e<=200;e++)ES.push({value:e,label:"item n\xb0 "+e});const MS=[{value:"english",label:"English"},{value:"french",label:"French"},{value:"japanese",label:"Japanese"}],DH=[{value:"english",label:"Anglais"},{value:"french",label:"Fran\xe7ais"},{value:"japanese",label:"Japonais"}],SH=[{value:"english",label:"\u82f1\u8a9e"},{value:"french",label:"\u30d5\u30e9\u30f3\u30b9\u8a9e"},{value:"japanese",label:"\u65e5\u672c\u8a9e"}];let AS=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=X({type:e,selectors:[["select2-hint"]]}),e})(),IS=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=X({type:e,selectors:[["select2-label"]]}),e})();function EH(e,n){if(1&e&&(v(0,"strong"),b(1),_(),b(2)),2&e){const t=n.data;w(1),fn(null==t?null:t.color),w(1),pe(": ",null==t?null:t.name,"")}}function MH(e,n){if(1&e&&(v(0,"strong"),b(1),_(),b(2)),2&e){const t=n.data;w(1),fn(null==t?null:t.color),w(1),pe(": ",null==t?null:t.name,"")}}function AH(e,n){if(1&e&&(v(0,"strong"),b(1),_()),2&e){const t=n.label;w(1),pe("(",t,")")}}function IH(e,n){if(1&e&&(v(0,"span"),b(1),_()),2&e){const t=n.data;pl("background",null==t?null:t.color),w(1),fn(null==t?null:t.name)}}function TH(e,n){if(1&e&&(v(0,"strong"),b(1),_(),b(2)),2&e){const t=n.data;w(1),fn(null==t?null:t.color),w(1),pe(": ",null==t?null:t.name,"")}}function OH(e,n){1&e&&(b(0),bl(1,"json")),2&e&&fn(Cl(1,1,n.data))}const xH=function(e,n){return{option:e,group:n}},RH=function(e,n,t){return{template1:e,template2:n,template3:t}};let TS=(()=>{class e{constructor(t){this.fb=t,this.data1=pi,this.data2=Xf,this.data3=Tc,this.data4=JSON.parse(JSON.stringify(Tc)),this.data5=mH,this.data6=_H,this.data7=JSON.parse(JSON.stringify(Tc)),this.data8=[],this.data9=JSON.parse(JSON.stringify(pi)),this.data10=JSON.parse(JSON.stringify(pi)),this.data11=JSON.parse(JSON.stringify(pi)),this.data12=JSON.parse(JSON.stringify(pi)),this.data13=bH,this.data15=Xf,this.data16=Xf,this.data17=CH,this.data18=yH,this.data19=Qf,this.data20=JSON.parse(JSON.stringify(Qf)),this.data21=JSON.parse(JSON.stringify(Qf)),this.data22=wH,this.data23=wS,this.data24=DS,this.data25=JSON.parse(JSON.stringify(wS)),this.data26=SS,this.data28=ES,this.data29=JSON.parse(JSON.stringify(Tc)),this.data29b=JSON.parse(JSON.stringify(pi)),this.data30=JSON.parse(JSON.stringify(pi)),this.data31=MS,this.minCountForSearch=1/0,this.value1="CA",this.value2="CA",this.value3="foo",this.value4="bar",this.value5=0,this.value6="foo3",this.value7="",this.value8="",this.value9=[],this.value10=[],this.value11="CA",this.value12="CA",this.value13=!0,this.value15="",this.value16="",this.value17="",this.value18="",this.value19="",this.value20="",this.value21="foo6",this.value22="",this.value23="",this.value24="",this.value25="",this.value26="",this.value28="",this.value29=[],this.value29b=[],this.value30="CA",this.value31="",this.value31b="",this.limitSelection=0,this.overlay=!1,this.fg=new YN({state:new ye}),this.ctrlForm=this.fb.group({test11:new ye(null,NC.required)}),this.ctrlForm2=this.fb.group({test5:new ye(0,NC.required)}),this.fg.patchValue(this.formData())}addItem(){const t=this.data6.length+1;this.data6.push({value:"foo"+t,label:"foo"+t})}removeItem(){this.data6.pop()}open(t,r){console.log(t,r)}close(t,r){console.log(t,r)}focus(t,r){console.log(t,r)}blur(t,r){console.log(t,r)}change(t,r){console.log(t,r)}search(t,r){console.log(t,r)}open8(){this.data8=vH}close8(){alert("close")}search8(t){t.filteredData(t.search?t.data.filter(r=>r.label.toLowerCase().includes(t.search.toLowerCase())):t.data)}reset11(){const t=this.ctrlForm.get("test11");t&&t.reset()}change11(){const t=this.ctrlForm.get("test11");t&&t.setValue("UT")}scroll26(t){if(console.log("scroll26",t),"down"===t.way&&!t.search){const r=this.data26.length;for(let i=1+r;i<=50+r;i++)this.data26.push({value:i,label:">"+i})}}update(t,r){this[t]=r.value}resetForm(){this.fg.reset(this.formData())}print(){console.log("FormControl",this.fg.value)}formData(){return{state:["CA","NV"]}}changeData31(t){switch(t){case"english":this.data31=MS;break;case"french":this.data31=DH;break;case"japanese":this.data31=SH}}}return e.\u0275fac=function(t){return new(t||e)(M(kw))},e.\u0275cmp=Ei({type:e,selectors:[["app-root"]],decls:172,vars:151,consts:[["for","disabled"],["type","checkbox",3,"ngModel","ngModelChange"],[1,"block"],["id","ex-1"],["resettable","","customSearchEnabled","","id","selec2-1",3,"overlay","data","value","update","change","blur","focus","open","close","search"],["id","ex-2"],["id","selec2-2",3,"overlay","data","value","update"],["id","ex-3"],["id","selec2-3",3,"overlay","data","value","update"],["id","ex-4"],["id","selec2-4",3,"overlay","data","value","disabled"],["id","ex-5"],[3,"formGroup"],["formControlName","test5","id","selec2-5",3,"overlay","data","minCountForSearch","update"],["id","ex-6"],["size","3","value","7"],["limit",""],["status",""],["selected",""],["type","button",3,"click"],["id","selec2-6",3,"overlay","data","value","minCountForSearch","displaySearchStatus","update"],["id","ex-7"],["placeholder","select an item","resettable","","id","selec2-7",3,"overlay","data","update"],["id","ex-8"],["customSearchEnabled","","listPosition","auto","id","selec2-8",3,"overlay","data","open","close","search","update"],["id","ex-9"],["type","number",3,"ngModel","ngModelChange"],["multiple","true","customSearchEnabled","","id","selec2-9",3,"overlay","data","value","limitSelection","update","blur","focus","open","close","search"],["id","ex-10"],["multiple","true","hideSelectedItems","true","id","selec2-10",3,"overlay","data","value","update"],["id","ex-11"],["formControlName","test11","placeholder","Select a state","styleMode","material","id","selec2-11",3,"overlay","ngModel","data","ngModelChange"],[3,"click"],["id","ex-12"],["styleMode","material","id","selec2-12",3,"overlay","data","value","update"],["id","ex-13"],["id","selec2-13",3,"overlay","data","value","update"],["id","ex-14"],["multiple","true","id","selec2-10","formControlName","state",3,"overlay","data"],["id","ex-15"],["id","selec2-15",3,"overlay","data","value","update"],["id","ex-16"],["required","","id","selec2-16",3,"overlay","data","value","update"],["id","ex-17"],["id","select2-17",3,"overlay","data","value","update"],["id","ex-18"],["minCharForSearch","3","id","selec2-18",3,"overlay","data","value","update"],["id","ex-19"],["listPosition","above","id","selec2-19",3,"overlay","data","value","update"],[1,"noStyle"],["id","ex-20"],["listPosition","above","styleMode","noStyle","id","selec2-20",3,"overlay","data","value","update"],["id","ex-21"],["listPosition","above","id","selec2-21",3,"overlay","data","value","update"],["id","ex-22"],["listPosition","auto","id","selec2-22",1,"flower-list",3,"overlay","data","value","update"],["id","ex-23"],["listPosition","above","id","selec2-23",1,"flower-list",3,"overlay","data","value","templates","update"],["template",""],["id","ex-24"],["listPosition","above","id","selec2-24",1,"flower-list",3,"overlay","data","value","templates","update"],["templateOption",""],["templateGroup",""],["id","ex-25"],["listPosition","above","id","selec2-25",1,"flower-list",3,"overlay","data","value","templates","update"],["template1",""],["template2",""],["template3",""],["id","ex-26"],["listPosition","above","infiniteScroll","","infiniteScrollDistance","1.5","infiniteScrollThrottle","150","id","selec2-26",3,"overlay","data","value","update","scroll"],["id","ex-27"],["listPosition","auto","id","selec2-27",3,"overlay","data","value","update"],["id","ex-28"],["listPosition","auto","id","selec2-28","maxResults","50","maxResultsMessage","Too much results in this list.",3,"overlay","data","value","update"],["id","ex-29"],["multiple","","autoCreate","","id","selec2-29",3,"overlay","data","value","update"],["id","ex-29b"],["multiple","","autoCreate","","id","selec2-29b",3,"overlay","data","value","update"],["id","ex-30"],["resettable","","id","selec2-30",3,"overlay","data","value","resetSelectedValue","update"],["id","ex-31"],[3,"change"],["select",""],["id","selec2-31",3,"overlay","data","value","update"],["id","selec2-31b",3,"overlay","data","ngModel","ngModelChange","update"]],template:function(t,r){if(1&t){const i=Zn();v(0,"h2"),b(1,"Examples"),_(),v(2,"label",0),b(3,"overlay : "),_(),v(4,"input",1),j("ngModelChange",function(s){return r.overlay=s}),_(),v(5,"div",2)(6,"h3",3),b(7),_(),v(8,"select2",4),j("update",function(s){return r.update("value1",s)})("change",function(s){return r.change("change1",s)})("blur",function(s){return r.blur("blur1",s)})("focus",function(s){return r.focus("focus1",s)})("open",function(s){return r.open("open1",s)})("close",function(s){return r.close("close1",s)})("search",function(s){return r.search("search1",s)}),_(),v(9,"h3",5),b(10),_(),v(11,"select2",6),j("update",function(s){return r.update("value2",s)}),_(),v(12,"h3",7),b(13),_(),v(14,"select2",8),j("update",function(s){return r.update("value3",s)}),_(),v(15,"h3",9),b(16),_(),te(17,"select2",10),v(18,"h3",11),b(19),_(),v(20,"form",12)(21,"select2",13),j("update",function(s){return r.update("value5",s)}),_()(),v(22,"h3",14),b(23," 6. search limit to "),te(24,"input",15,16),b(26," / display status "),v(27,"select",null,17)(29,"option",18),b(30,"default"),_(),v(31,"option"),b(32,"hidden"),_(),v(33,"option"),b(34,"always"),_()(),b(35),_(),v(36,"div")(37,"button",19),j("click",function(){return r.addItem()}),b(38,"Add item"),_(),v(39,"button",19),j("click",function(){return r.removeItem()}),b(40,"Remove item"),_()(),v(41,"select2",20),j("update",function(s){return r.update("value6",s)}),_(),v(42,"h3",21),b(43),_(),v(44,"select2",22),j("update",function(s){return r.update("value7",s)}),_(),v(45,"h3",23),b(46),_(),v(47,"select2",24),j("open",function(){return r.open8()})("close",function(){return r.close8()})("search",function(s){return r.search8(s)})("update",function(s){return r.update("value8",s)}),v(48,"select2-hint"),b(49),_()(),v(50,"h3",25),b(51,"9. multiple + limite "),v(52,"input",26),j("ngModelChange",function(s){return r.limitSelection=s}),_(),b(53),bl(54,"json"),_(),v(55,"select2",27),j("update",function(s){return r.update("value9",s)})("blur",function(s){return r.blur("blur9",s)})("focus",function(s){return r.focus("focus9",s)})("open",function(s){return r.open("open9",s)})("close",function(s){return r.close("close9",s)})("search",function(s){return r.search("search9",s)}),_(),v(56,"h3",28),b(57),bl(58,"json"),_(),v(59,"select2",29),j("update",function(s){return r.update("value10",s)}),_(),v(60,"h3",30),b(61),_(),v(62,"form",12)(63,"select2",31),j("ngModelChange",function(s){return r.value11=s}),_(),v(64,"button",32),j("click",function(){return r.reset11()}),b(65,"reset"),_(),v(66,"button",32),j("click",function(){return r.change11()}),b(67,"Utah"),_()(),v(68,"h3",33),b(69),_(),v(70,"select2",34),j("update",function(s){return r.update("value12",s)}),_(),v(71,"h3",35),b(72),_(),v(73,"select2",36),j("update",function(s){return r.update("value13",s)}),_(),v(74,"h3",37),b(75,"14. FormControl"),_(),v(76,"form",12),te(77,"select2",38),v(78,"button",32),j("click",function(){return r.print()}),b(79,"Log Selected"),_(),v(80,"button",32),j("click",function(){return r.resetForm()}),b(81,"Reset Form"),_()(),v(82,"h3",39),b(83),_(),v(84,"select2",40),j("update",function(s){return r.update("value15",s)}),v(85,"select2-label"),b(86,"Select a state"),_()(),v(87,"h3",41),b(88),_(),v(89,"select2",42),j("update",function(s){return r.update("value16",s)}),v(90,"select2-label"),b(91,"Select a state"),_()(),v(92,"h3",43),b(93),_(),v(94,"select2",44),j("update",function(s){return r.update("value17",s)}),_(),v(95,"h3",45),b(96,"18. search starts with 3 chars"),_(),v(97,"select2",46),j("update",function(s){return r.update("value18",s)}),_(),v(98,"h3",47),b(99),_(),v(100,"select2",48),j("update",function(s){return r.update("value19",s)}),_(),v(101,"div",49)(102,"h3",50),b(103),_(),v(104,"select2",51),j("update",function(s){return r.update("value20",s)}),_()(),v(105,"h3",52),b(106),_(),v(107,"select2",53),j("update",function(s){return r.update("value21",s)}),_(),v(108,"button",32),j("click",function(){return r.value21=""}),b(109,"Update value to empty string"),_(),v(110,"button",32),j("click",function(){return r.value21=null}),b(111,"Update value to null"),_(),v(112,"button",32),j("click",function(){return r.value21=void 0}),b(113,"Update value to undefined"),_(),v(114,"h3",54),b(115),_(),v(116,"select2",55),j("update",function(s){return r.update("value22",s)}),_(),v(117,"h3",56),b(118),_(),v(119,"select2",57),j("update",function(s){return r.update("value23",s)}),J(120,EH,3,2,"ng-template",null,58,bt),_(),v(122,"h3",59),b(123),_(),v(124,"select2",60),j("update",function(s){return r.update("value24",s)}),J(125,MH,3,2,"ng-template",null,61,bt),J(127,AH,2,1,"ng-template",null,62,bt),_(),v(129,"h3",63),b(130),_(),v(131,"select2",64),j("update",function(s){return r.update("value25",s)}),J(132,IH,2,3,"ng-template",null,65,bt),J(134,TH,3,2,"ng-template",null,66,bt),J(136,OH,2,3,"ng-template",null,67,bt),_(),v(138,"h3",68),b(139),_(),v(140,"select2",69),j("update",function(s){return r.update("value26",s)})("scroll",function(s){return r.scroll26(s)}),_(),v(141,"h3",70),b(142),_(),v(143,"select2",71),j("update",function(s){return r.update("value2",s)}),_(),v(144,"h3",72),b(145),_(),v(146,"select2",73),j("update",function(s){return r.update("value28",s)}),_(),v(147,"h3",74),b(148),_(),v(149,"select2",75),j("update",function(s){return r.update("value29",s)}),_(),v(150,"h3",76),b(151),_(),v(152,"select2",77),j("update",function(s){return r.update("value29b",s)}),_(),v(153,"h3",78),b(154),_(),v(155,"select2",79),j("update",function(s){return r.update("value30",s)}),_(),v(156,"h3",80),b(157),_(),v(158,"select",81,82),j("change",function(){xe(i);const s=Ue(159);return Re(r.changeData31(s.value))}),v(160,"option"),b(161,"english"),_(),v(162,"option"),b(163,"french"),_(),v(164,"option"),b(165,"japanese"),_()(),te(166,"br"),b(167," Value : "),v(168,"select2",83),j("update",function(s){return r.update("value31",s)}),_(),te(169,"br"),b(170," NgModel : "),v(171,"select2",84),j("ngModelChange",function(s){return r.value31b=s})("update",function(s){return r.update("value31b",s)}),_()()}if(2&t){const i=Ue(25),o=Ue(28),s=Ue(121),a=Ue(126),l=Ue(128),c=Ue(133),u=Ue(135),d=Ue(137);w(4),R("ngModel",r.overlay),w(3),pe("1. options in group (",r.value1,")"),w(1),R("overlay",r.overlay)("data",r.data1)("value",r.value1),w(2),pe("2. options (",r.value2,")"),w(1),R("overlay",r.overlay)("data",r.data2)("value",r.value2),w(2),pe("3. less options (",r.value3,")"),w(1),R("overlay",r.overlay)("data",r.data3)("value",r.value3),w(2),pe("4. disabled (",r.value4,")"),w(1),R("overlay",r.overlay)("data",r.data4)("value",r.value4)("disabled",!0),w(2),pe("5. hide search box (",r.value5,")"),w(1),R("formGroup",r.ctrlForm2),w(1),R("overlay",r.overlay)("data",r.data5)("minCountForSearch",r.minCountForSearch),w(14),pe(" (",r.value6,") "),w(6),R("overlay",r.overlay)("data",r.data6)("value",r.value6)("minCountForSearch",i.value)("displaySearchStatus",o.value),w(2),pe("7. placeholder (",r.value7,")"),w(1),R("overlay",r.overlay)("data",r.data7),w(2),pe("8. open, close and search event (",r.value8,")"),w(1),R("overlay",r.overlay)("data",r.data8),w(2),pe("value : ",r.value8,""),w(3),R("ngModel",r.limitSelection),w(1),pe(" (",Cl(54,140,r.value9),")"),w(2),R("overlay",r.overlay)("data",r.data9)("value",r.value9)("limitSelection",r.limitSelection),w(2),pe("10. multiple + hide selected items (",Cl(58,142,r.value10),")"),w(2),R("overlay",r.overlay)("data",r.data10)("value",r.value10),w(2),pe("11. material style and form binding (",r.value11,")"),w(1),R("formGroup",r.ctrlForm),w(1),R("overlay",r.overlay)("ngModel",r.value11)("data",r.data11),w(6),pe("12. material style (",r.value12,")"),w(1),R("overlay",r.overlay)("data",r.data12)("value",r.value12),w(2),pe("13. boolean value (",r.value13,")"),w(1),R("overlay",r.overlay)("data",r.data13)("value",r.value13),w(3),R("formGroup",r.fg),w(1),R("overlay",r.overlay)("data",r.data9),w(6),pe("15. with label (",r.value15,")"),w(1),R("overlay",r.overlay)("data",r.data15)("value",r.value15),w(4),pe("16. required with label (",r.value16,")"),w(1),R("overlay",r.overlay)("data",r.data16)("value",r.value16),w(4),pe("17. with two option labels (",r.value17,")"),w(1),R("overlay",r.overlay)("data",r.data17)("value",r.value17),w(3),R("overlay",r.overlay)("data",r.data18)("value",r.value18),w(2),pe("19. dropdown list position above (",r.value19,")"),w(1),R("overlay",r.overlay)("data",r.data19)("value",r.value19),w(3),pe("20. nostyle (",r.value20,")"),w(1),R("overlay",r.overlay)("data",r.data20)("value",r.value20),w(2),pe("21. update to empty/null/undefined (",r.value21,")"),w(1),R("overlay",r.overlay)("data",r.data21)("value",r.value21),w(8),pe("22. with item classes and id (",r.value22,")"),w(1),R("overlay",r.overlay)("data",r.data22)("value",r.value22),w(2),pe("23. with template (",r.value23,")"),w(1),R("overlay",r.overlay)("data",r.data23)("value",r.value23)("templates",s),w(4),pe("24. with template (option / group) (",r.value24,")"),w(1),R("overlay",r.overlay)("data",r.data24)("value",r.value24)("templates",my(144,xH,a,l)),w(6),pe("25. with templates Ids (",r.value25,")"),w(1),R("overlay",r.overlay)("data",r.data25)("value",r.value25)("templates",_y(147,RH,c,u,d)),w(8),pe("26. infiniteScroll(",r.value26,")"),w(1),R("overlay",r.overlay)("data",r.data26)("value",r.value26),w(2),pe("27. position (",r.value2,")"),w(1),R("overlay",r.overlay)("data",r.data2)("value",r.value2),w(2),pe("28. max results 50 (",r.value28,")"),w(1),R("overlay",r.overlay)("data",r.data28)("value",r.value28),w(2),pe("29. option autocreate (",r.value29,")"),w(1),R("overlay",r.overlay)("data",r.data29)("value",r.value29),w(2),pe("29b. option autocreate search search (",r.value29b,")"),w(1),R("overlay",r.overlay)("data",r.data29b)("value",r.value29b),w(2),pe("30. selected option when \xd7 is clicked (",r.value30,")"),w(1),R("overlay",r.overlay)("data",r.data30)("value",r.value30)("resetSelectedValue","CA"),w(2),pe("31. change list (",r.value31,")"),w(11),R("overlay",r.overlay)("data",r.data31)("value",r.value31),w(3),R("overlay",r.overlay)("data",r.data31)("ngModel",r.value31b)}},dependencies:[gw,sf,lf,Ts,rc,Gl,zh,Gh,ef,go,ic,AS,IS,mD,rC],styles:['@charset "UTF-8";#select2-17[_ngcontent-%COMP%] .select2-multiple-labels{display:flex;justify-content:space-between}.noStyle[_ngcontent-%COMP%]{background-color:#faebd7}.flower-list[_ngcontent-%COMP%] .flower.white:before{content:"\\1f33c "}.flower-list[_ngcontent-%COMP%] .flower.red:before{content:"\\1f339 "}.flower-list[_ngcontent-%COMP%] .flower.yellow:before{content:"\\1f33b "}.block[_ngcontent-%COMP%]{padding-bottom:300px;max-width:500px}']}),e})();class PH{constructor(n,t={}){this.json=n,this.options={spaceType:"space",spaceLength:4,spaceBase:0,maxLength:0,attrPosition:"alignFirstAttr",wrapAttrNumber:1,type:"html",formatting:"multiline",indent:!0,xmlDefaultTag:"span",noContentTags:["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],removeOptionalEndTags:!1,optionalEndTags:["colgroup","dd","dt","li","optgroup","option","p","rb","rt","rtc","rp","td","th","thead","tbody","tfoot","tr"]},Object.assign(this.options,t)}toString(){let n="";const t="inline"===this.options.formatting;return Array.isArray(this.json)?this.json.forEach((r,i)=>{n+=`${i>0&&!t?"\n":""}${this._getSpacing(0)}${this._generate(0,r,t)}`}):n=`${this._getSpacing(0)}${this._generate(0,this.json,t)}`,n}_generate(n,t,r=!1){const i=!this.options.noContentTags.includes(t.tag.toLowerCase()),o=i&&!t.autoclose||!this._modeXML()?"":"/";let s=`<${t.tag}${this._generateAttrs(n,t,r||t.inline)}${o}>`;if(i&&!t.autoclose){let a=this._generateBody(n,t,r||t.inline);a&&this._hasMultiline()&&!(r||t.inline)&&(a=`${a}\n${this._getSpacing(n)}`),s+=a,(!this.options.removeOptionalEndTags||this._modeXML()||this.options.removeOptionalEndTags&&!this.options.optionalEndTags.includes(t.tag.toLowerCase()))&&(s+=``)}return s}_generateAttrs(n,t,r){let i="";const o=t.attrs;if(o&&Object.keys(o).length){const s=Object.values(t.attrs).filter(u=>void 0!==u).length,a=(this.options.wrapAttrNumber??1){const g=o[u];if(void 0!==g){const y=`${u}${null!==g||g?`="${String(g).replace(/"/g,""e;")}"`:""}`;let S="",T="";const[V,D]=a.split(" ");switch(V){case"inline":if(!this.options.maxLength||(l.replace(/\n/g,"")+(c>1?" ":"")+y+(d===p.length-1?">":"")).length{i+=this._generateBodyElement(n,o,!1,r)}):i+=this._generateBodyElement(n,t.body,!0,r)),i}_generateBodyElement(n,t,r,i=!1){let o="";return this._hasMultiline()&&!i&&(o+=`\n${this._getSpacing(n+1)}`),!r&&this._modeXML()&&"string"==typeof t&&(t={tag:this.options.xmlDefaultTag,body:t}),o+="string"==typeof t?this._formatText(n+1,t,i):this._generate(n+1,t,i),o}_formatText(n,t,r=!1){let i="";const o=this._getSpacing(n);if(!r&&this.options.maxLength){const s=t.split("\n");for(const a of s){let l="";if((o+a).length>this.options.maxLength){const c=a.split(" ");for(const u of c)(o+l+(l?" ":"")+u).length{class e{constructor(t){this.fb=t,this.data=DS,this.ctrlForm=this.fb.group({json:new ye(JSON.stringify(this.data,null,2)),label:new ye,hint:new ye,disabled:new ye,overlay:new ye,minCharForSearch:new ye,minCountForSearch:new ye,displaySearchStatus:new ye,placeholder:new ye,multiple:new ye,autoCreate:new ye,resettable:new ye,resetSelectedValue:new ye,limitSelection:new ye,hideSelectedItems:new ye,resultMaxHeight:new ye,listPosition:new ye,infiniteScroll:new ye,infiniteScrollDistance:new ye,infiniteScrollThrottle:new ye,styleMode:new ye,noResultMessage:new ye,maxResults:new ye,maxResultsMessage:new ye,template:new ye,noLabelTemplate:new ye,update:new ye,open:new ye,close:new ye,focus:new ye,blur:new ye,search:new ye,scroll:new ye,removeOption:new ye}),this.ctrlForm.valueChanges.subscribe(()=>{console.log(this.ctrlForm.value)}),this.ctrlForm.valueChanges.subscribe(r=>this.codeGeneration()),this.ctrlForm.get("json").valueChanges.subscribe(r=>this.changeJson(r))}ngAfterContentInit(){this.codeGeneration()}getTemplate(t,r,i,o,s){switch(this.ctrlForm.value.template){case"ref":return t;case"option-group":return{option:r,group:i};case"templateId":return{template1:o,template2:s}}}_event(t,r){this.ctrlForm.value&&this.ctrlForm.value[t]&&console.log("Event",t,r)}codeGeneration(){const t={tag:"select2",attrs:{"[data]":"data"},body:[]},r=this.ctrlForm.value,i=t.attrs,o=t.body;switch(r.label&&o.push({tag:"select2-label",body:r.label,inline:!0}),r.hint&&o.push({tag:"select2-hint",body:r.hint,inline:!0}),r.disabled&&(i.disabled=this._testBoolean(r.disabled)),r.overlay&&(i.overlay=this._testBoolean(r.overlay)),r.minCharForSearch&&(i.minCharForSearch=r.minCharForSearch),r.minCountForSearch&&(i.minCountForSearch=r.minCountForSearch),r.displaySearchStatus&&(i.displaySearchStatus=r.displaySearchStatus),r.placeholder&&(i.placeholder=r.placeholder),r.search&&(i.customSearchEnabled=this._testBoolean(r.search)),r.multiple?(i.multiple=this._testBoolean(r.multiple),r.autoCreate&&(i.autoCreate=this._testBoolean(r.autoCreate))):(r.resettable&&(i.resettable=this._testBoolean(r.resettable)),r.resetSelectedValue&&(i.resetSelectedValue=r.resetSelectedValue)),r.limitSelection&&(i.limitSelection=r.limitSelection),r.hideSelectedItems&&(i.hideSelectedItems=this._testBoolean(r.hideSelectedItems)),r.resultMaxHeight&&(i.resultMaxHeight=r.resultMaxHeight),r.listPosition&&(i.listPosition=r.listPosition),r.infiniteScroll&&(i.infiniteScroll=this._testBoolean(r.infiniteScroll)),r.infiniteScrollDistance&&(i.infiniteScrollDistance=r.infiniteScrollDistance),r.infiniteScrollThrottle&&(i.infiniteScrollThrottle=r.infiniteScrollThrottle),r.styleMode&&(i.styleMode=r.styleMode),r.noResultMessage&&(i.noResultMessage=r.noResultMessage),r.maxResultsMessage&&(i.maxResultsMessage=r.maxResultsMessage),r.maxResults&&(i.maxResults=r.maxResults),r.noLabelTemplate&&(i.noLabelTemplate=this._testBoolean(r.noLabelTemplate)),r.template){case"ref":i["[templates]"]="template",o.push({tag:"ng-template",attrs:{"#template":null,"let-data":"data"},body:' {{data?.color}}: {{data?.name}}'});break;case"option-group":i["[templates]"]="{option : option, group: group}",o.push({tag:"ng-template",attrs:{"#option":null,"let-data":"data"},body:"{{data?.name}}"},{tag:"ng-template",attrs:{"#group":null,"let-label":"label"},body:"Group: {{label}}"});break;case"templateId":i["[templates]"]="{template1 : template1, template2: template2}",o.push({tag:"ng-template",attrs:{"#template1":null,"let-data":"data"},body:"{{data?.name}}"},{tag:"ng-template",attrs:{"#template2":null,"let-label":"label","let-data":"data"},body:"{{label}} : {{data?.color}}"})}r.update&&(i["(update)"]="_update($event)"),r.open&&(i["(open)"]="_open($event)"),r.close&&(i["(close)"]="_close($event)"),r.focus&&(i["(focus)"]="_focus($event)"),r.blur&&(i["(blur)"]="_blur($event)"),r.search&&(i["(search)"]="_search($event)"),this.html=new PH(t).toString()}changeJson(t){this.jsonError="";try{this.data=JSON.parse(t)}catch(r){this.jsonError=this._parseJsonError(t,r)}}_parseJsonError(t,r){let i="";const o=r.message.match(/[^\n]+/)[0],s=NH.getParser(window.navigator.userAgent).getResult();if("Chrome"===s.browser.name)if(o.match(/at position/)){const a=parseInt(o.match(/at position (\d+)/)[1],10),l=t.split(/\n/);let c=1;for(const u of l)if(u){if(c+u.length>=a){i=o+"
"+u+"\n"+" ".repeat(a-c+1)+"^
";break}c+=u.length+1}}else i=o;else if("Firefox"===s.browser.name)if(o.match(/at line/)){const[,a,l]=o.match(/at line (\d+) column (\d+)/),c=t.split(/\n/);i=c[+a-1]?o+"
"+c[+a-1]+"\n"+" ".repeat(+l-1)+"^
":o}else i=o;else i=o;return i}_testBoolean(t){return t?null:void 0}}return e.\u0275fac=function(t){return new(t||e)(M(kw))},e.\u0275cmp=Ei({type:e,selectors:[["app-root"]],decls:209,vars:18,consts:[[1,"cols"],[3,"formGroup"],["for","json"],["formControlName","json","id","json"],[1,"error",3,"innerHTML"],["for","label"],["type","text","formControlName","label","id","label"],["for","hint"],["type","text","formControlName","hint","id","hint"],["for","disabled"],["type","checkbox","formControlName","disabled","id","disabled"],["for","overlay"],["type","checkbox","formControlName","overlay","id","overlay"],["for","minCharForSearch"],["type","number","formControlName","minCharForSearch","id","minCharForSearch"],["for","minCountForSearch"],["type","number","formControlName","minCountForSearch","id","minCountForSearch"],["for","displaySearchStatus"],["formControlName","displaySearchStatus","id","displaySearchStatus"],["value","default"],["value","hidden"],["value","always"],["for","placeholder"],["type","text","formControlName","placeholder","id","placeholder"],["for","noResultMessage"],["type","text","formControlName","noResultMessage","id","noResultMessage"],["for","multiple"],["type","checkbox","formControlName","multiple","id","multiple"],["for","resettable"],["type","checkbox","formControlName","resettable","id","resettable"],["for","resetSelectedValue"],["formControlName","resetSelectedValue","id","resetSelectedValue"],[3,"value"],["value","hibiscus"],["value","marigold"],["value","sunflower"],["value","heliotrope"],["value","lily"],["value","petunia"],["for","autoCreate"],["type","checkbox","formControlName","autoCreate","id","autoCreate"],["for","limitSelection"],["type","number","formControlName","limitSelection","id","limitSelection"],["for","hideSelectedItems"],["type","checkbox","formControlName","hideSelectedItems","id","hideSelectedItems"],["for","resultMaxHeight"],["type","text","formControlName","resultMaxHeight","id","resultMaxHeight"],["for","maxResults"],["type","text","formControlName","maxResults","id","maxResults"],["for","maxResultsMessage"],["type","text","formControlName","maxResultsMessage","id","maxResultsMessage"],["for","listPosition"],["formControlName","listPosition","id","listPosition"],["value","below"],["value","above"],["for","infiniteScroll"],["type","checkbox","formControlName","infiniteScroll","id","infiniteScroll"],["for","infiniteScrollDistance"],["type","number","formControlName","infiniteScrollDistance","id","infiniteScrollDistance"],["for","infiniteScrollThrottle"],["type","number","formControlName","infiniteScrollThrottle","id","infiniteScrollThrottle"],["for","styleMode"],["formControlName","styleMode","id","listPstyleModeosition"],["value",""],["value","material"],["value","noStyle"],["for","template"],["formControlName","template","id","template"],["value","none"],["value","ref"],["value","option-group"],["value","templateId"],["for","noLabelTemplate"],["type","checkbox","formControlName","noLabelTemplate","id","noLabelTemplate"],["for","update"],["type","checkbox","formControlName","update","id","update"],["for","open"],["type","checkbox","formControlName","open","id","open"],["for","close"],["type","checkbox","formControlName","close","id","close"],["for","focus"],["type","checkbox","formControlName","focus","id","focus"],["for","blur"],["type","checkbox","formControlName","blur","id","blur"],["for","search"],["type","checkbox","formControlName","search","id","search"],["for","scroll"],["type","checkbox","formControlName","scroll","id","scroll"],["for","removeOption"],["type","checkbox","formControlName","removeOption","id","removeOption"],[1,"result"],[3,"data","overlay","disabled","minCharForSearch","minCountForSearch","displaySearchStatus","placeholder","customSearchEnabled","multiple","resettable","resetSelectedValue","autoCreate","limitSelection","hideSelectedItems","resultMaxHeight","maxResults","maxResultsMessage","listPosition","infiniteScroll","infiniteScrollDistance","infiniteScrollThrottle","styleMode","noResultMessage","noLabelTemplate","templates","update","open","close","focus","blur","search","scroll","removeOption",4,"ngIf"],[1,"code"],[3,"highlight"],[3,"data","overlay","disabled","minCharForSearch","minCountForSearch","displaySearchStatus","placeholder","customSearchEnabled","multiple","resettable","resetSelectedValue","autoCreate","limitSelection","hideSelectedItems","resultMaxHeight","maxResults","maxResultsMessage","listPosition","infiniteScroll","infiniteScrollDistance","infiniteScrollThrottle","styleMode","noResultMessage","noLabelTemplate","templates","update","open","close","focus","blur","search","scroll","removeOption"],[3,"innerHTML"],["template",""],["option",""],["group",""],["template1",""],["template2",""],[4,"ngIf"]],template:function(t,r){1&t&&(v(0,"h2"),b(1,"Generator"),_(),v(2,"div",0)(3,"div",1)(4,"h4"),b(5,"data"),_(),v(6,"div")(7,"label",2),b(8,"json (for "),v(9,"code"),b(10,"[data]"),_(),b(11,") : "),_(),te(12,"textarea",3)(13,"div",4),_(),v(14,"h4"),b(15,"tags"),_(),v(16,"div")(17,"label",5),b(18,"label : "),_(),te(19,"input",6),_(),v(20,"div")(21,"label",7),b(22,"hint : "),_(),te(23,"input",8),_(),v(24,"h4"),b(25,"parameters"),_(),v(26,"div")(27,"label",9),b(28,"disabled : "),_(),te(29,"input",10),_(),v(30,"div")(31,"label",11),b(32,"overlay : "),_(),te(33,"input",12),_(),v(34,"div")(35,"label",13),b(36,"minCharForSearch (0) : "),_(),te(37,"input",14),_(),v(38,"div")(39,"label",15),b(40,"minCountForSearch (6) : "),_(),te(41,"input",16),_(),v(42,"div")(43,"label",17),b(44,"displaySearchStatus :"),_(),v(45,"select",18)(46,"option",19),b(47,"default"),_(),v(48,"option",20),b(49,"hidden"),_(),v(50,"option",21),b(51,"always"),_()()(),v(52,"div")(53,"label",22),b(54,"placeholder : "),_(),te(55,"input",23),_(),v(56,"div")(57,"label",24),b(58,"noResultMessage : "),_(),te(59,"input",25),_(),v(60,"div")(61,"label",26),b(62,"multiple : "),_(),te(63,"input",27),_(),v(64,"div")(65,"label",28),b(66,"resettable : "),_(),te(67,"input",29),_(),v(68,"div")(69,"label",30),b(70,"resetSelectedValue : "),_(),v(71,"select",31)(72,"option",32),b(73,"undefined"),_(),v(74,"option",32),b(75,"null"),_(),v(76,"option",33),b(77,"hibiscus"),_(),v(78,"option",34),b(79,"marigold"),_(),v(80,"option",35),b(81,"sunflower"),_(),v(82,"option",36),b(83,"heliotrope"),_(),v(84,"option",37),b(85,"lily"),_(),v(86,"option",38),b(87,"petunia"),_()()(),v(88,"div")(89,"label",39),b(90,"autoCreate : "),_(),te(91,"input",40),_(),v(92,"div")(93,"label",41),b(94,"limitSelection (0) : "),_(),te(95,"input",42),_(),v(96,"div")(97,"label",43),b(98,"hideSelectedItems : "),_(),te(99,"input",44),_(),v(100,"div")(101,"label",45),b(102,"resultMaxHeight ('200px') : "),_(),te(103,"input",46),_(),v(104,"div")(105,"label",47),b(106,"maxResults (0 = infinity) : "),_(),te(107,"input",48),_(),v(108,"div")(109,"label",49),b(110,"maxResultsMessage ('Too much result...') : "),_(),te(111,"input",50),_(),v(112,"div")(113,"label",51),b(114,"listPosition :"),_(),v(115,"select",52),te(116,"option"),v(117,"option",53),b(118,"below"),_(),v(119,"option",54),b(120,"above"),_()()(),v(121,"div")(122,"label",55),b(123,"infiniteScroll : "),_(),te(124,"input",56),_(),v(125,"div")(126,"label",57),b(127,"infiniteScrollDistance (1.5) : "),_(),te(128,"input",58),_(),v(129,"div")(130,"label",59),b(131,"infiniteScrollThrottle (150) : "),_(),te(132,"input",60),_(),v(133,"div")(134,"label",61),b(135,"styleMode : "),_(),v(136,"select",62)(137,"option",63),b(138,"default"),_(),v(139,"option",64),b(140,"material"),_(),v(141,"option",65),b(142,"noStyle"),_()()(),v(143,"h4"),b(144,"Templates"),_(),v(145,"div")(146,"label",66),b(147,"template style :"),_(),v(148,"select",67)(149,"option",68),b(150,"None"),_(),v(151,"option",69),b(152,"Unique template"),_(),v(153,"option",70),b(154,"Template group & option"),_(),v(155,"option",71),b(156,"Template by templateId"),_()()(),v(157,"div")(158,"label",72),b(159,"noLabelTemplate : "),_(),te(160,"input",73),_(),v(161,"h4"),b(162,"Events"),_(),v(163,"div")(164,"label",74),b(165,"update: "),_(),te(166,"input",75),_(),v(167,"div")(168,"label",76),b(169,"open: "),_(),te(170,"input",77),_(),v(171,"div")(172,"label",78),b(173,"close: "),_(),te(174,"input",79),_(),v(175,"div")(176,"label",80),b(177,"focus: "),_(),te(178,"input",81),_(),v(179,"div")(180,"label",82),b(181,"blur: "),_(),te(182,"input",83),_(),v(183,"div")(184,"label",84),b(185,"search: "),_(),te(186,"input",85),b(187," (Required: "),v(188,"code"),b(189,"customSearchEnabled"),_(),b(190,") "),_(),v(191,"div")(192,"label",86),b(193,"scroll: "),_(),te(194,"input",87),_(),v(195,"div")(196,"label",88),b(197,"removeOption: "),_(),te(198,"input",89),_()(),v(199,"div")(200,"div",90)(201,"h4"),b(202,"HTML render"),_(),J(203,jH,13,27,"select2",91),v(204,"h4"),b(205,"HTML Code"),_(),v(206,"div",92)(207,"code"),te(208,"pre",93),_()()()()()),2&t&&(w(3),R("formGroup",r.ctrlForm),w(10),R("innerHTML",r.jsonError,In),w(51),rt("hide",null==r.ctrlForm||null==r.ctrlForm.value?null:r.ctrlForm.value.multiple),w(4),rt("hide",null==r.ctrlForm||null==r.ctrlForm.value?null:r.ctrlForm.value.multiple),w(4),R("value",void 0),w(2),R("value",null),w(14),rt("hide",!(null!=r.ctrlForm&&null!=r.ctrlForm.value&&r.ctrlForm.value.multiple)),w(8),rt("hide",!(null!=r.ctrlForm&&null!=r.ctrlForm.value&&r.ctrlForm.value.multiple)),w(29),rt("hide",!(null!=r.ctrlForm&&null!=r.ctrlForm.value&&r.ctrlForm.value.infiniteScrollDistance)),w(4),rt("hide",!(null!=r.ctrlForm&&null!=r.ctrlForm.value&&r.ctrlForm.value.infiniteScroll)),w(74),R("ngIf",r.ctrlForm.value),w(5),R("highlight",r.html))},dependencies:[Mh,sf,lf,Ts,rc,Gl,oc,zh,Gh,go,ic,AS,IS,mD,Jk],styles:["label[_ngcontent-%COMP%]{display:inline-block;width:250px}.cols[_ngcontent-%COMP%]{display:flex;max-width:100%}.cols[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:1 0 50%;max-width:50%}.code[_ngcontent-%COMP%]{overflow:auto}.error[_ngcontent-%COMP%]{color:red}textarea#json[_ngcontent-%COMP%]{width:calc(100% - 15px);resize:vertical;box-sizing:border-box;height:200px}.hide[_ngcontent-%COMP%]{display:none}.result[_ngcontent-%COMP%]{position:sticky;top:0}"]}),e})()},{path:"**",component:TS}];let $H=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=dt({type:e}),e.\u0275inj=nt({imports:[bS.forRoot(UH),bS]}),e})(),zH=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=dt({type:e,bootstrap:[gH]}),e.\u0275inj=nt({providers:[{provide:ac,useValue:{coreLibraryLoader:()=>N.e(373).then(N.bind(N,4373)),lineNumbersLoader:()=>N.e(35).then(N.t.bind(N,1035,23)),languages:{typescript:()=>N.e(266).then(N.bind(N,5266)),javascript:()=>N.e(743).then(N.bind(N,8743)),css:()=>N.e(746).then(N.bind(N,8746)),xml:()=>N.e(668).then(N.bind(N,2668))}}}],imports:[ON,$H,uf,xL,eF]}),e})();IN().bootstrapModule(zH).catch(e=>console.log(e))},1523:function(en){en.exports=function(we){var N={};function z(F){if(N[F])return N[F].exports;var C=N[F]={i:F,l:!1,exports:{}};return we[F].call(C.exports,C,C.exports,z),C.l=!0,C.exports}return z.m=we,z.c=N,z.d=function(F,C,E){z.o(F,C)||Object.defineProperty(F,C,{enumerable:!0,get:E})},z.r=function(F){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(F,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(F,"__esModule",{value:!0})},z.t=function(F,C){if(1&C&&(F=z(F)),8&C||4&C&&"object"==typeof F&&F&&F.__esModule)return F;var E=Object.create(null);if(z.r(E),Object.defineProperty(E,"default",{enumerable:!0,value:F}),2&C&&"string"!=typeof F)for(var G in F)z.d(E,G,function(h){return F[h]}.bind(null,G));return E},z.n=function(F){var C=F&&F.__esModule?function(){return F.default}:function(){return F};return z.d(C,"a",C),C},z.o=function(F,C){return Object.prototype.hasOwnProperty.call(F,C)},z.p="",z(z.s=90)}({17:function(we,N,z){"use strict";N.__esModule=!0,N.default=void 0;var F=z(18),C=function(){function E(){}return E.getFirstMatch=function(G,h){var f=h.match(G);return f&&f.length>0&&f[1]||""},E.getSecondMatch=function(G,h){var f=h.match(G);return f&&f.length>1&&f[2]||""},E.matchAndReturnConst=function(G,h,f){if(G.test(h))return f},E.getWindowsVersionName=function(G){switch(G){case"NT":return"NT";case"XP":case"NT 5.1":return"XP";case"NT 5.0":return"2000";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},E.getMacOSVersionName=function(G){var h=G.split(".").splice(0,2).map(function(f){return parseInt(f,10)||0});if(h.push(0),10===h[0])switch(h[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}},E.getAndroidVersionName=function(G){var h=G.split(".").splice(0,2).map(function(f){return parseInt(f,10)||0});if(h.push(0),!(1===h[0]&&h[1]<5))return 1===h[0]&&h[1]<6?"Cupcake":1===h[0]&&h[1]>=6?"Donut":2===h[0]&&h[1]<2?"Eclair":2===h[0]&&2===h[1]?"Froyo":2===h[0]&&h[1]>2?"Gingerbread":3===h[0]?"Honeycomb":4===h[0]&&h[1]<1?"Ice Cream Sandwich":4===h[0]&&h[1]<4?"Jelly Bean":4===h[0]&&h[1]>=4?"KitKat":5===h[0]?"Lollipop":6===h[0]?"Marshmallow":7===h[0]?"Nougat":8===h[0]?"Oreo":9===h[0]?"Pie":void 0},E.getVersionPrecision=function(G){return G.split(".").length},E.compareVersions=function(G,h,f){void 0===f&&(f=!1);var m=E.getVersionPrecision(G),L=E.getVersionPrecision(h),A=Math.max(m,L),x=0,k=E.map([G,h],function(Y){var Z=A-E.getVersionPrecision(Y),Te=Y+new Array(Z+1).join(".0");return E.map(Te.split("."),function(at){return new Array(20-at.length).join("0")+at}).reverse()});for(f&&(x=A-Math.min(m,L)),A-=1;A>=x;){if(k[0][A]>k[1][A])return 1;if(k[0][A]===k[1][A]){if(A===x)return 0;A-=1}else if(k[0][A]1?L-1:0),x=1;x0){var $t=Object.keys(Y),lt=h.default.find($t,function(ct){return k.isOS(ct)});if(lt){var Et=this.satisfies(Y[lt]);if(void 0!==Et)return Et}var Mt=h.default.find($t,function(ct){return k.isPlatform(ct)});if(Mt){var et=this.satisfies(Y[Mt]);if(void 0!==et)return et}}if(at>0){var be=Object.keys(Te),tn=h.default.find(be,function(ct){return k.isBrowser(ct,!0)});if(void 0!==tn)return this.compareVersion(Te[tn])}},A.isBrowser=function(x,k){void 0===k&&(k=!1);var Y=this.getBrowserName().toLowerCase(),Z=x.toLowerCase(),Te=h.default.getBrowserTypeByAlias(Z);return k&&Te&&(Z=Te.toLowerCase()),Z===Y},A.compareVersion=function(x){var k=[0],Y=x,Z=!1,Te=this.getBrowserVersion();if("string"==typeof Te)return">"===x[0]||"<"===x[0]?(Y=x.substr(1),"="===x[1]?(Z=!0,Y=x.substr(2)):k=[],k.push(">"===x[0]?1:-1)):"="===x[0]?Y=x.substr(1):"~"===x[0]&&(Z=!0,Y=x.substr(1)),k.indexOf(h.default.compareVersions(Te,Y,Z))>-1},A.isOS=function(x){return this.getOSName(!0)===String(x).toLowerCase()},A.isPlatform=function(x){return this.getPlatformType(!0)===String(x).toLowerCase()},A.isEngine=function(x){return this.getEngineName(!0)===String(x).toLowerCase()},A.is=function(x,k){return void 0===k&&(k=!1),this.isBrowser(x,k)||this.isOS(x)||this.isPlatform(x)},A.some=function(x){var k=this;return void 0===x&&(x=[]),x.some(function(Y){return k.is(Y)})},L}();N.default=m,we.exports=N.default},92:function(we,N,z){"use strict";N.__esModule=!0,N.default=void 0;var F,C=(F=z(17))&&F.__esModule?F:{default:F},E=/version\/(\d+(\.?_?\d+)+)/i;N.default=[{test:[/googlebot/i],describe:function(h){var f={name:"Googlebot"},m=C.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,h)||C.default.getFirstMatch(E,h);return m&&(f.version=m),f}},{test:[/opera/i],describe:function(h){var f={name:"Opera"},m=C.default.getFirstMatch(E,h)||C.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/opr\/|opios/i],describe:function(h){var f={name:"Opera"},m=C.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,h)||C.default.getFirstMatch(E,h);return m&&(f.version=m),f}},{test:[/SamsungBrowser/i],describe:function(h){var f={name:"Samsung Internet for Android"},m=C.default.getFirstMatch(E,h)||C.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/Whale/i],describe:function(h){var f={name:"NAVER Whale Browser"},m=C.default.getFirstMatch(E,h)||C.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/MZBrowser/i],describe:function(h){var f={name:"MZ Browser"},m=C.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,h)||C.default.getFirstMatch(E,h);return m&&(f.version=m),f}},{test:[/focus/i],describe:function(h){var f={name:"Focus"},m=C.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,h)||C.default.getFirstMatch(E,h);return m&&(f.version=m),f}},{test:[/swing/i],describe:function(h){var f={name:"Swing"},m=C.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,h)||C.default.getFirstMatch(E,h);return m&&(f.version=m),f}},{test:[/coast/i],describe:function(h){var f={name:"Opera Coast"},m=C.default.getFirstMatch(E,h)||C.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(h){var f={name:"Opera Touch"},m=C.default.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,h)||C.default.getFirstMatch(E,h);return m&&(f.version=m),f}},{test:[/yabrowser/i],describe:function(h){var f={name:"Yandex Browser"},m=C.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,h)||C.default.getFirstMatch(E,h);return m&&(f.version=m),f}},{test:[/ucbrowser/i],describe:function(h){var f={name:"UC Browser"},m=C.default.getFirstMatch(E,h)||C.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/Maxthon|mxios/i],describe:function(h){var f={name:"Maxthon"},m=C.default.getFirstMatch(E,h)||C.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/epiphany/i],describe:function(h){var f={name:"Epiphany"},m=C.default.getFirstMatch(E,h)||C.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/puffin/i],describe:function(h){var f={name:"Puffin"},m=C.default.getFirstMatch(E,h)||C.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/sleipnir/i],describe:function(h){var f={name:"Sleipnir"},m=C.default.getFirstMatch(E,h)||C.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/k-meleon/i],describe:function(h){var f={name:"K-Meleon"},m=C.default.getFirstMatch(E,h)||C.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/micromessenger/i],describe:function(h){var f={name:"WeChat"},m=C.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,h)||C.default.getFirstMatch(E,h);return m&&(f.version=m),f}},{test:[/qqbrowser/i],describe:function(h){var f={name:/qqbrowserlite/i.test(h)?"QQ Browser Lite":"QQ Browser"},m=C.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,h)||C.default.getFirstMatch(E,h);return m&&(f.version=m),f}},{test:[/msie|trident/i],describe:function(h){var f={name:"Internet Explorer"},m=C.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/\sedg\//i],describe:function(h){var f={name:"Microsoft Edge"},m=C.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/edg([ea]|ios)/i],describe:function(h){var f={name:"Microsoft Edge"},m=C.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/vivaldi/i],describe:function(h){var f={name:"Vivaldi"},m=C.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/seamonkey/i],describe:function(h){var f={name:"SeaMonkey"},m=C.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/sailfish/i],describe:function(h){var f={name:"Sailfish"},m=C.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,h);return m&&(f.version=m),f}},{test:[/silk/i],describe:function(h){var f={name:"Amazon Silk"},m=C.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/phantom/i],describe:function(h){var f={name:"PhantomJS"},m=C.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/slimerjs/i],describe:function(h){var f={name:"SlimerJS"},m=C.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(h){var f={name:"BlackBerry"},m=C.default.getFirstMatch(E,h)||C.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/(web|hpw)[o0]s/i],describe:function(h){var f={name:"WebOS Browser"},m=C.default.getFirstMatch(E,h)||C.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/bada/i],describe:function(h){var f={name:"Bada"},m=C.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/tizen/i],describe:function(h){var f={name:"Tizen"},m=C.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,h)||C.default.getFirstMatch(E,h);return m&&(f.version=m),f}},{test:[/qupzilla/i],describe:function(h){var f={name:"QupZilla"},m=C.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,h)||C.default.getFirstMatch(E,h);return m&&(f.version=m),f}},{test:[/firefox|iceweasel|fxios/i],describe:function(h){var f={name:"Firefox"},m=C.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/electron/i],describe:function(h){var f={name:"Electron"},m=C.default.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/MiuiBrowser/i],describe:function(h){var f={name:"Miui"},m=C.default.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/chromium/i],describe:function(h){var f={name:"Chromium"},m=C.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,h)||C.default.getFirstMatch(E,h);return m&&(f.version=m),f}},{test:[/chrome|crios|crmo/i],describe:function(h){var f={name:"Chrome"},m=C.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/GSA/i],describe:function(h){var f={name:"Google Search"},m=C.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:function(h){var f=!h.test(/like android/i),m=h.test(/android/i);return f&&m},describe:function(h){var f={name:"Android Browser"},m=C.default.getFirstMatch(E,h);return m&&(f.version=m),f}},{test:[/playstation 4/i],describe:function(h){var f={name:"PlayStation 4"},m=C.default.getFirstMatch(E,h);return m&&(f.version=m),f}},{test:[/safari|applewebkit/i],describe:function(h){var f={name:"Safari"},m=C.default.getFirstMatch(E,h);return m&&(f.version=m),f}},{test:[/.*/i],describe:function(h){var f=-1!==h.search("\\(")?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:C.default.getFirstMatch(f,h),version:C.default.getSecondMatch(f,h)}}}],we.exports=N.default},93:function(we,N,z){"use strict";N.__esModule=!0,N.default=void 0;var F,C=(F=z(17))&&F.__esModule?F:{default:F},E=z(18);N.default=[{test:[/Roku\/DVP/],describe:function(h){var f=C.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,h);return{name:E.OS_MAP.Roku,version:f}}},{test:[/windows phone/i],describe:function(h){var f=C.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,h);return{name:E.OS_MAP.WindowsPhone,version:f}}},{test:[/windows /i],describe:function(h){var f=C.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,h),m=C.default.getWindowsVersionName(f);return{name:E.OS_MAP.Windows,version:f,versionName:m}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(h){var f={name:E.OS_MAP.iOS},m=C.default.getSecondMatch(/(Version\/)(\d[\d.]+)/,h);return m&&(f.version=m),f}},{test:[/macintosh/i],describe:function(h){var f=C.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,h).replace(/[_\s]/g,"."),m=C.default.getMacOSVersionName(f),L={name:E.OS_MAP.MacOS,version:f};return m&&(L.versionName=m),L}},{test:[/(ipod|iphone|ipad)/i],describe:function(h){var f=C.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,h).replace(/[_\s]/g,".");return{name:E.OS_MAP.iOS,version:f}}},{test:function(h){var f=!h.test(/like android/i),m=h.test(/android/i);return f&&m},describe:function(h){var f=C.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,h),m=C.default.getAndroidVersionName(f),L={name:E.OS_MAP.Android,version:f};return m&&(L.versionName=m),L}},{test:[/(web|hpw)[o0]s/i],describe:function(h){var f=C.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,h),m={name:E.OS_MAP.WebOS};return f&&f.length&&(m.version=f),m}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(h){var f=C.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,h)||C.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,h)||C.default.getFirstMatch(/\bbb(\d+)/i,h);return{name:E.OS_MAP.BlackBerry,version:f}}},{test:[/bada/i],describe:function(h){var f=C.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,h);return{name:E.OS_MAP.Bada,version:f}}},{test:[/tizen/i],describe:function(h){var f=C.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,h);return{name:E.OS_MAP.Tizen,version:f}}},{test:[/linux/i],describe:function(){return{name:E.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:E.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(h){var f=C.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,h);return{name:E.OS_MAP.PlayStation4,version:f}}}],we.exports=N.default},94:function(we,N,z){"use strict";N.__esModule=!0,N.default=void 0;var F,C=(F=z(17))&&F.__esModule?F:{default:F},E=z(18);N.default=[{test:[/googlebot/i],describe:function(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe:function(h){var f=C.default.getFirstMatch(/(can-l01)/i,h)&&"Nova",m={type:E.PLATFORMS_MAP.mobile,vendor:"Huawei"};return f&&(m.model=f),m}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:E.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:E.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(){return{type:E.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:E.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:E.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:E.PLATFORMS_MAP.tablet}}},{test:function(h){var f=h.test(/ipod|iphone/i),m=h.test(/like (ipod|iphone)/i);return f&&!m},describe:function(h){var f=C.default.getFirstMatch(/(ipod|iphone)/i,h);return{type:E.PLATFORMS_MAP.mobile,vendor:"Apple",model:f}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:E.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe:function(){return{type:E.PLATFORMS_MAP.mobile}}},{test:function(h){return"blackberry"===h.getBrowserName(!0)},describe:function(){return{type:E.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(h){return"bada"===h.getBrowserName(!0)},describe:function(){return{type:E.PLATFORMS_MAP.mobile}}},{test:function(h){return"windows phone"===h.getBrowserName()},describe:function(){return{type:E.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(h){var f=Number(String(h.getOSVersion()).split(".")[0]);return"android"===h.getOSName(!0)&&f>=3},describe:function(){return{type:E.PLATFORMS_MAP.tablet}}},{test:function(h){return"android"===h.getOSName(!0)},describe:function(){return{type:E.PLATFORMS_MAP.mobile}}},{test:function(h){return"macos"===h.getOSName(!0)},describe:function(){return{type:E.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(h){return"windows"===h.getOSName(!0)},describe:function(){return{type:E.PLATFORMS_MAP.desktop}}},{test:function(h){return"linux"===h.getOSName(!0)},describe:function(){return{type:E.PLATFORMS_MAP.desktop}}},{test:function(h){return"playstation 4"===h.getOSName(!0)},describe:function(){return{type:E.PLATFORMS_MAP.tv}}},{test:function(h){return"roku"===h.getOSName(!0)},describe:function(){return{type:E.PLATFORMS_MAP.tv}}}],we.exports=N.default},95:function(we,N,z){"use strict";N.__esModule=!0,N.default=void 0;var F,C=(F=z(17))&&F.__esModule?F:{default:F},E=z(18);N.default=[{test:function(h){return"microsoft edge"===h.getBrowserName(!0)},describe:function(h){if(/\sedg\//i.test(h))return{name:E.ENGINE_MAP.Blink};var f=C.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,h);return{name:E.ENGINE_MAP.EdgeHTML,version:f}}},{test:[/trident/i],describe:function(h){var f={name:E.ENGINE_MAP.Trident},m=C.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:function(h){return h.test(/presto/i)},describe:function(h){var f={name:E.ENGINE_MAP.Presto},m=C.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:function(h){var f=h.test(/gecko/i),m=h.test(/like gecko/i);return f&&!m},describe:function(h){var f={name:E.ENGINE_MAP.Gecko},m=C.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:E.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(h){var f={name:E.ENGINE_MAP.WebKit},m=C.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,h);return m&&(f.version=m),f}}],we.exports=N.default}})},7354:en=>{const we="[A-Za-z$_][0-9A-Za-z$_]*",N=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],z=["true","false","null","undefined","NaN","Infinity"],F=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],C=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],E=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],G=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],h=[].concat(E,F,C);en.exports=function f(m){const L=m.regex,x=we,Z={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(kt,tt)=>{const At=kt[0].length+kt.index,_n=kt.input[At];if("<"===_n||","===_n)return void tt.ignoreMatch();let kn;">"===_n&&(((kt,{after:tt})=>{const At="",yi={match:[/const|var|let/,/\s+/,x,/\s*/,/=\s*/,/(async\s*)?/,L.lookahead(vi)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[ze]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:Te,exports:{PARAMS_CONTAINS:rr,CLASS_REFERENCE:oe},illegal:/#(?![$_A-z])/,contains:[m.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,et,be,tn,ct,gi,{match:/\$\d+/},Et,oe,{className:"attr",begin:x+L.lookahead(":"),relevance:0},yi,{begin:"("+m.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[gi,m.REGEXP_MODE,{className:"function",begin:vi,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:m.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:Te,contains:rr}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:"<>",end:""},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:Z.begin,"on:begin":Z.isTrulyOpeningTag,end:Z.end}],subLanguage:"xml",contains:[{begin:Z.begin,end:Z.end,skip:!0,contains:["self"]}]}]},Eo,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+m.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[ze,m.inherit(m.TITLE_MODE,{begin:x,className:"title.function"})]},{match:/\.\.\./,relevance:0},mn,{match:"\\$"+x,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[ze]},Ao,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},zt,Js,{match:/\$[(.]/}]}}},9574:en=>{const N=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],z=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],F=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],C=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],E=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();en.exports=function G(h){const f=(h=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:h.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[h.APOS_STRING_MODE,h.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:h.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}))(h),m=C,L=F,A="@[a-z-]+",Y={className:"variable",begin:"(\\$[a-zA-Z-][a-zA-Z0-9_-]*)\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[h.C_LINE_COMMENT_MODE,h.C_BLOCK_COMMENT_MODE,f.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},f.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+N.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+L.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+m.join("|")+")"},Y,{begin:/\(/,end:/\)/,contains:[f.CSS_NUMBER_MODE]},f.CSS_VARIABLE,{className:"attribute",begin:"\\b("+E.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[f.BLOCK_COMMENT,Y,f.HEXCOLOR,f.CSS_NUMBER_MODE,h.QUOTE_STRING_MODE,h.APOS_STRING_MODE,f.IMPORTANT,f.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:A,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:z.join(" ")},contains:[{begin:A,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},Y,h.QUOTE_STRING_MODE,h.APOS_STRING_MODE,f.HEXCOLOR,f.CSS_NUMBER_MODE]},f.FUNCTION_DISPATCH]}}},603:en=>{const we="[A-Za-z$_][0-9A-Za-z$_]*",N=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],z=["true","false","null","undefined","NaN","Infinity"],F=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],C=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],E=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],G=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],h=[].concat(E,F,C);en.exports=function m(L){const A=function f(L){const A=L.regex,k=we,Te={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(tt,At)=>{const _n=tt[0].length+tt.index,kn=tt.input[_n];if("<"===kn||","===kn)return void At.ignoreMatch();let Fn;">"===kn&&(((tt,{after:At})=>{const _n="",kt={match:[/const|var|let/,/\s+/,k,/\s*/,/=\s*/,/(async\s*)?/,A.lookahead(yi)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[zt]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:at,exports:{PARAMS_CONTAINS:ze,CLASS_REFERENCE:mi},illegal:/#(?![$_A-z])/,contains:[L.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},L.APOS_STRING_MODE,L.QUOTE_STRING_MODE,be,tn,ct,Ct,nr,{match:/\$\d+/},Mt,mi,{className:"attr",begin:k+A.lookahead(":"),relevance:0},kt,{begin:"("+L.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[nr,L.REGEXP_MODE,{className:"function",begin:yi,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:L.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:at,contains:ze}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:"<>",end:""},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:Te.begin,"on:begin":Te.isTrulyOpeningTag,end:Te.end}],subLanguage:"xml",contains:[{begin:Te.begin,end:Te.end,skip:!0,contains:["self"]}]}]},_i,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+L.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[zt,L.inherit(L.TITLE_MODE,{begin:k,className:"title.function"})]},{match:/\.\.\./,relevance:0},Js,{match:"\\$"+k,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[zt]},mn,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},oe,vi,{match:/\$[(.]/}]}}(L),x=we,k=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],Y={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[A.exports.CLASS_REFERENCE]},Z={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:k},contains:[A.exports.CLASS_REFERENCE]},$t={$pattern:we,keyword:N.concat(["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"]),literal:z,built_in:h.concat(k),"variable.language":G},lt={className:"meta",begin:"@"+x},Et=(et,be,tn)=>{const ct=et.contains.findIndex(Ct=>Ct.label===be);if(-1===ct)throw new Error("can not find mode to replace");et.contains.splice(ct,1,tn)};return Object.assign(A.keywords,$t),A.exports.PARAMS_CONTAINS.push(lt),A.contains=A.contains.concat([lt,Y,Z]),Et(A,"shebang",L.SHEBANG()),Et(A,"use_strict",{className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/}),A.contains.find(et=>"func.def"===et.label).relevance=0,Object.assign(A,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),A}},5149:en=>{en.exports=function we(N){const z=N.regex,F=z.concat(/[\p{L}_]/u,z.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),E={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},G={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},h=N.inherit(G,{begin:/\(/,end:/\)/}),f=N.inherit(N.APOS_STRING_MODE,{className:"string"}),m=N.inherit(N.QUOTE_STRING_MODE,{className:"string"}),L={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[G,m,f,h,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[G,h,m,f]}]}]},N.COMMENT(//,{relevance:10}),{begin://,relevance:10},E,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[m]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[L],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[L],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:z.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:F,relevance:0,starts:L}]},{className:"tag",begin:z.concat(/<\//,z.lookahead(z.concat(F,/>/))),contains:[{className:"name",begin:F,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}}},en=>{en(en.s=6410)}]); \ No newline at end of file diff --git a/projects/ng-select2-component/package.json b/projects/ng-select2-component/package.json index 7ef216b..0ed6542 100644 --- a/projects/ng-select2-component/package.json +++ b/projects/ng-select2-component/package.json @@ -1,6 +1,6 @@ { "name": "ng-select2-component", - "version": "13.0.6", + "version": "13.0.7", "description": "An Angular select2 component.", "author": "York Yao, Célian Veyssière", "license": "MIT",