homebridge-eufy-security 3.0.0-0 → 3.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ (self.webpackChunkconfig_ui=self.webpackChunkconfig_ui||[]).push([[792],{947:(z3,et,C1)=>{"use strict";function ye(e,n,t,i,r,a,o){try{var s=e[a](o),c=s.value}catch(l){return void t(l)}s.done?n(c):Promise.resolve(c).then(i,r)}function ee(e){return function(){var n=this,t=arguments;return new Promise(function(i,r){var a=e.apply(n,t);function o(c){ye(a,i,r,o,s,"next",c)}function s(c){ye(a,i,r,o,s,"throw",c)}o(void 0)})}}let _e=null,Ee=1;const Be=Symbol("SIGNAL");function D(e){const n=_e;return _e=e,n}function Qe(e){if((!A4(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==Ee)){if(!e.producerMustRecompute(e)&&!s2(e))return e.dirty=!1,void(e.lastCleanEpoch=Ee);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=Ee}}function s2(e){i4(e);for(let n=0;n<e.producerNode.length;n++){const t=e.producerNode[n],i=e.producerLastReadVersion[n];if(i!==t.version||(Qe(t),i!==t.version))return!0}return!1}function I4(e,n){if(function Io(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}(e),i4(e),1===e.liveConsumerNode.length)for(let i=0;i<e.producerNode.length;i++)I4(e.producerNode[i],e.producerIndexOfThis[i]);const t=e.liveConsumerNode.length-1;if(e.liveConsumerNode[n]=e.liveConsumerNode[t],e.liveConsumerIndexOfThis[n]=e.liveConsumerIndexOfThis[t],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,n<e.liveConsumerNode.length){const i=e.liveConsumerIndexOfThis[n],r=e.liveConsumerNode[n];i4(r),r.producerIndexOfThis[i]=n}}function A4(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function i4(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let Ro=null;function Le(e){return"function"==typeof e}function Zt(e){const t=e(i=>{Error.call(i),i.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}const Nn=Zt(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((i,r)=>`${r+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t});function S3(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class p2{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const a of t)a.remove(this);else t.remove(this);const{initialTeardown:i}=this;if(Le(i))try{i()}catch(a){n=a instanceof Nn?a.errors:[a]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const a of r)try{Go(a)}catch(o){n=n??[],o instanceof Nn?n=[...n,...o.errors]:n.push(o)}}if(n)throw new Nn(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Go(n);else{if(n instanceof p2){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(n)}}_hasParent(n){const{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){const{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&S3(t,n)}remove(n){const{_finalizers:t}=this;t&&S3(t,n),n instanceof p2&&n._removeParent(this)}}p2.EMPTY=(()=>{const e=new p2;return e.closed=!0,e})();const N3=p2.EMPTY;function jo(e){return e instanceof p2||e&&"closed"in e&&Le(e.remove)&&Le(e.add)&&Le(e.unsubscribe)}function Go(e){Le(e)?e():e.unsubscribe()}const Jt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Ln={setTimeout(e,n,...t){const{delegate:i}=Ln;return i?.setTimeout?i.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=Ln;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function tt(e){Ln.setTimeout(()=>{const{onUnhandledError:n}=Jt;if(!n)throw e;n(e)})}function xn(){}const P0=_("C",void 0,void 0);function _(e,n,t){return{kind:e,value:n,error:t}}let d=null;function h(e){if(Jt.useDeprecatedSynchronousErrorHandling){const n=!d;if(n&&(d={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:i}=d;if(d=null,t)throw i}}else e()}class z extends p2{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,jo(n)&&n.add(this)):this.destination=EI}static create(n,t,i){return new r1(n,t,i)}next(n){this.isStopped?Re(function F0(e){return _("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?Re(function Xt(e){return _("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Re(P0,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const x=Function.prototype.bind;function I(e,n){return x.call(e,n)}class Me{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(i){We(i)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(i){We(i)}else We(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){We(t)}}}class r1 extends z{constructor(n,t,i){let r;if(super(),Le(n)||!n)r={next:n??void 0,error:t??void 0,complete:i??void 0};else{let a;this&&Jt.useDeprecatedNextContext?(a=Object.create(n),a.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&I(n.next,a),error:n.error&&I(n.error,a),complete:n.complete&&I(n.complete,a)}):r=n}this.destination=new Me(r)}}function We(e){Jt.useDeprecatedSynchronousErrorHandling?function y(e){Jt.useDeprecatedSynchronousErrorHandling&&d&&(d.errorThrown=!0,d.error=e)}(e):tt(e)}function Re(e,n){const{onStoppedNotification:t}=Jt;t&&Ln.setTimeout(()=>t(e,n))}const EI={closed:!0,next:xn,error:function M1(e){throw e},complete:xn},B0="function"==typeof Symbol&&Symbol.observable||"@@observable";function En(e){return e}function td(e){return 0===e.length?En:1===e.length?e[0]:function(t){return e.reduce((i,r)=>r(i),t)}}let d1=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){const i=new e;return i.source=this,i.operator=t,i}subscribe(t,i,r){const a=function AI(e){return e&&e instanceof z||function II(e){return e&&Le(e.next)&&Le(e.error)&&Le(e.complete)}(e)&&jo(e)}(t)?t:new r1(t,i,r);return h(()=>{const{operator:o,source:s}=this;a.add(o?o.call(a,s):s?this._subscribe(a):this._trySubscribe(a))}),a}_trySubscribe(t){try{return this._subscribe(t)}catch(i){t.error(i)}}forEach(t,i){return new(i=nd(i))((r,a)=>{const o=new r1({next:s=>{try{t(s)}catch(c){a(c),o.unsubscribe()}},error:a,complete:r});this.subscribe(o)})}_subscribe(t){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(t)}[B0](){return this}pipe(...t){return td(t)(this)}toPromise(t){return new(t=nd(t))((i,r)=>{let a;this.subscribe(o=>a=o,o=>r(o),()=>i(a))})}}return e.create=n=>new e(n),e})();function nd(e){var n;return null!==(n=e??Jt.Promise)&&void 0!==n?n:Promise}const kI=Zt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let a1=(()=>{class e extends d1{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const i=new id(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new kI}next(t){h(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(t)}})}error(t){h(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:i}=this;for(;i.length;)i.shift().error(t)}})}complete(){h(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:i,isStopped:r,observers:a}=this;return i||r?N3:(this.currentObservers=null,a.push(t),new p2(()=>{this.currentObservers=null,S3(a,t)}))}_checkFinalizedStatuses(t){const{hasError:i,thrownError:r,isStopped:a}=this;i?t.error(r):a&&t.complete()}asObservable(){const t=new d1;return t.source=this,t}}return e.create=(n,t)=>new id(n,t),e})();class id extends a1{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===i||i.call(t,n)}error(n){var t,i;null===(i=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===i||i.call(t,n)}complete(){var n,t;null===(t=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===t||t.call(n)}_subscribe(n){var t,i;return null!==(i=null===(t=this.source)||void 0===t?void 0:t.subscribe(n))&&void 0!==i?i:N3}}class yt extends a1{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){const{hasError:n,thrownError:t,_value:i}=this;if(n)throw t;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}}function rd(e){return Le(e?.lift)}function B1(e){return n=>{if(rd(n))return n.lift(function(t){try{return e(t,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function h1(e,n,t,i,r){return new RI(e,n,t,i,r)}class RI extends z{constructor(n,t,i,r,a,o){super(n),this.onFinalize=a,this.shouldUnsubscribe=o,this._next=t?function(s){try{t(s)}catch(c){n.error(c)}}:super._next,this._error=r?function(s){try{r(s)}catch(c){n.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(s){n.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:t}=this;super.unsubscribe(),!t&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function Te(e,n){return B1((t,i)=>{let r=0;t.subscribe(h1(i,a=>{i.next(e.call(n,a,r++))}))})}const ad="https://g.co/ng/security#xss";class A extends Error{constructor(n,t){super(function L3(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}function Tn(e){return{toString:e}.toString()}const E3="__parameters__";function I3(e,n,t){return Tn(()=>{const i=function U0(e){return function(...t){if(e){const i=e(...t);for(const r in i)this[r]=i[r]}}}(n);function r(...a){if(this instanceof r)return i.apply(this,a),this;const o=new r(...a);return s.annotation=o,s;function s(c,l,u){const f=c.hasOwnProperty(E3)?c[E3]:Object.defineProperty(c,E3,{value:[]})[E3];for(;f.length<=u;)f.push(null);return(f[u]=f[u]||[]).push(o),c}}return t&&(r.prototype=Object.create(t.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}const Ue=globalThis;function qe(e){for(let n in e)if(e[n]===qe)return n;throw Error("Could not find renamed property on target object.")}function OI(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function K1(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(K1).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 j0(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const PI=qe({__forward_ref__:qe});function je(e){return e.__forward_ref__=je,e.toString=function(){return K1(this())},e}function ae(e){return Wo(e)?e():e}function Wo(e){return"function"==typeof e&&e.hasOwnProperty(PI)&&e.__forward_ref__===je}function B(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ye(e){return{providers:e.providers||[],imports:e.imports||[]}}function qo(e){return ld(e,Ko)||ld(e,ud)}function ld(e,n){return e.hasOwnProperty(n)?e[n]:null}function Yo(e){return e&&(e.hasOwnProperty(G0)||e.hasOwnProperty($I))?e[G0]:null}const Ko=qe({\u0275prov:qe}),G0=qe({\u0275inj:qe}),ud=qe({ngInjectableDef:qe}),$I=qe({ngInjectorDef:qe});class q{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=B({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function K0(e){return e&&!!e.\u0275providers}const fr=qe({\u0275cmp:qe}),Q0=qe({\u0275dir:qe}),Z0=qe({\u0275pipe:qe}),dd=qe({\u0275mod:qe}),In=qe({\u0275fac:qe}),dr=qe({__NG_ELEMENT_ID__:qe}),hd=qe({__NG_ENV_ID__:qe});function pe(e){return"string"==typeof e?e:null==e?"":String(e)}function J0(e,n){throw new A(-201,!1)}var ze=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(ze||{});let X0;function pd(){return X0}function j2(e){const n=X0;return X0=e,n}function md(e,n,t){const i=qo(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:t&ze.Optional?null:void 0!==n?n:void J0()}const hr={},e8="__NG_DI_FLAG__",Qo="ngTempTokenPath",ZI=/\n/gm,gd="__source";let A3;function a4(e){const n=A3;return A3=e,n}function eA(e,n=ze.Default){if(void 0===A3)throw new A(-203,!1);return null===A3?md(e,void 0,n):A3.get(e,n&ze.Optional?null:void 0,n)}function te(e,n=ze.Default){return(pd()||eA)(ae(e),n)}function H(e,n=ze.Default){return te(e,Zo(n))}function Zo(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function t8(e){const n=[];for(let t=0;t<e.length;t++){const i=ae(e[t]);if(Array.isArray(i)){if(0===i.length)throw new A(900,!1);let r,a=ze.Default;for(let o=0;o<i.length;o++){const s=i[o],c=tA(s);"number"==typeof c?-1===c?r=s.token:a|=c:r=s}n.push(te(r,a))}else n.push(te(i))}return n}function pr(e,n){return e[e8]=n,e.prototype[e8]=n,e}function tA(e){return e[e8]}const Jo=pr(I3("Optional"),8),Xo=pr(I3("SkipSelf"),4);function R4(e,n){return e.hasOwnProperty(In)?e[In]:null}function k3(e,n){e.forEach(t=>Array.isArray(t)?k3(t,n):n(t))}function _d(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function es(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function rt(e,n,t){let i=R3(e,n);return i>=0?e[1|i]=t:(i=~i,function Cd(e,n,t,i){let r=e.length;if(r==n)e.push(t,i);else if(1===r)e.push(i,e[0]),e[0]=t;else{for(r--,e.push(e[r-1],e[r]);r>n;)e[r]=e[r-2],r--;e[n]=t,e[n+1]=i}}(e,i,n,t)),i}function i8(e,n){const t=R3(e,n);if(t>=0)return e[1|t]}function R3(e,n){return function yd(e,n,t){let i=0,r=e.length>>t;for(;r!==i;){const a=i+(r-i>>1),o=e[a<<t];if(n===o)return a<<t;o>n?r=a:i=a+1}return~(r<<t)}(e,n,1)}const en={},Ie=[],O4=new q(""),Md=new q("",-1),r8=new q("");class ns{get(n,t=hr){if(t===hr){const i=new Error(`NullInjectorError: No provider for ${K1(n)}!`);throw i.name="NullInjectorError",i}return t}}var is=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(is||{}),Lt=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Lt||{}),Ge=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Ge||{});function cA(e,n,t){let i=e.length;for(;;){const r=e.indexOf(n,t);if(-1===r)return r;if(0===r||e.charCodeAt(r-1)<=32){const a=n.length;if(r+a===i||e.charCodeAt(r+a)<=32)return r}t=r+1}}function a8(e,n,t){let i=0;for(;i<t.length;){const r=t[i];if("number"==typeof r){if(0!==r)break;i++;const a=t[i++],o=t[i++],s=t[i++];e.setAttribute(n,o,s,a)}else{const a=r,o=t[++i];wd(a)?e.setProperty(n,a,o):e.setAttribute(n,a,o),i++}}return i}function bd(e){return 3===e||4===e||6===e}function wd(e){return 64===e.charCodeAt(0)}function mr(e,n){if(null!==n&&0!==n.length)if(null===e||0===e.length)e=n.slice();else{let t=-1;for(let i=0;i<n.length;i++){const r=n[i];"number"==typeof r?t=r:0===t||Hd(e,t,r,null,-1===t||2===t?n[++i]:null)}}return e}function Hd(e,n,t,i,r){let a=0,o=e.length;if(-1===n)o=-1;else for(;a<e.length;){const s=e[a++];if("number"==typeof s){if(s===n){o=-1;break}if(s>n){o=a-1;break}}}for(;a<e.length;){const s=e[a];if("number"==typeof s)break;if(s===t){if(null===i)return void(null!==r&&(e[a+1]=r));if(i===e[a+1])return void(e[a+2]=r)}a++,null!==i&&a++,null!==r&&a++}-1!==o&&(e.splice(o,0,n),a=o+1),e.splice(a++,0,t),null!==i&&e.splice(a++,0,i),null!==r&&e.splice(a++,0,r)}const Vd="ng-template";function lA(e,n,t,i){let r=0;if(i){for(;r<n.length&&"string"==typeof n[r];r+=2)if("class"===n[r]&&-1!==cA(n[r+1].toLowerCase(),t,0))return!0}else if(o8(e))return!1;if(r=n.indexOf(1,r),r>-1){let a;for(;++r<n.length&&"string"==typeof(a=n[r]);)if(a.toLowerCase()===t)return!0}return!1}function o8(e){return 4===e.type&&e.value!==Vd}function uA(e,n,t){return n===(4!==e.type||t?e.value:Vd)}function fA(e,n,t){let i=4;const r=e.attrs,a=null!==r?function pA(e){for(let n=0;n<e.length;n++)if(bd(e[n]))return n;return e.length}(r):0;let o=!1;for(let s=0;s<n.length;s++){const c=n[s];if("number"!=typeof c){if(!o)if(4&i){if(i=2|1&i,""!==c&&!uA(e,c,t)||""===c&&1===n.length){if(xt(i))return!1;o=!0}}else if(8&i){if(null===r||!lA(e,r,c,t)){if(xt(i))return!1;o=!0}}else{const l=n[++s],u=dA(c,r,o8(e),t);if(-1===u){if(xt(i))return!1;o=!0;continue}if(""!==l){let f;if(f=u>a?"":r[u+1].toLowerCase(),2&i&&l!==f){if(xt(i))return!1;o=!0}}}}else{if(!o&&!xt(i)&&!xt(c))return!1;if(o&&xt(c))continue;o=!1,i=c|1&i}}return xt(i)||o}function xt(e){return!(1&e)}function dA(e,n,t,i){if(null===n)return-1;let r=0;if(i||!t){let a=!1;for(;r<n.length;){const o=n[r];if(o===e)return r;if(3===o||6===o)a=!0;else{if(1===o||2===o){let s=n[++r];for(;"string"==typeof s;)s=n[++r];continue}if(4===o)break;if(0===o){r+=4;continue}}r+=a?1:2}return-1}return function mA(e,n){let t=e.indexOf(4);if(t>-1)for(t++;t<e.length;){const i=e[t];if("number"==typeof i)return-1;if(i===n)return t;t++}return-1}(n,e)}function zd(e,n,t=!1){for(let i=0;i<n.length;i++)if(fA(e,n[i],t))return!0;return!1}function gA(e,n){e:for(let t=0;t<n.length;t++){const i=n[t];if(e.length===i.length){for(let r=0;r<e.length;r++)if(e[r]!==i[r])continue e;return!0}}return!1}function Dd(e,n){return e?":not("+n.trim()+")":n}function vA(e){let n=e[0],t=1,i=2,r="",a=!1;for(;t<e.length;){let o=e[t];if("string"==typeof o)if(2&i){const s=e[++t];r+="["+o+(s.length>0?'="'+s+'"':"")+"]"}else 8&i?r+="."+o:4&i&&(r+=" "+o);else""!==r&&!xt(o)&&(n+=Dd(a,r),r=""),i=o,a=a||!xt(i);t++}return""!==r&&(n+=Dd(a,r)),n}function oe(e){return Tn(()=>{const n=Nd(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===is.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Lt.Emulated,styles:e.styles||Ie,_:null,schemas:e.schemas||null,tView:null,id:""};Ld(t);const i=e.dependencies;return t.directiveDefs=rs(i,!1),t.pipeDefs=rs(i,!0),t.id=function wA(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 r of t)n=Math.imul(31,n)+r.charCodeAt(0)|0;return n+=2147483648,"c"+n}(t),t})}function yA(e){return He(e)||Q1(e)}function MA(e){return null!==e}function Ze(e){return Tn(()=>({type:e.type,bootstrap:e.bootstrap||Ie,declarations:e.declarations||Ie,imports:e.imports||Ie,exports:e.exports||Ie,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Sd(e,n){if(null==e)return en;const t={};for(const i in e)if(e.hasOwnProperty(i)){const r=e[i];let a,o,s=Ge.None;Array.isArray(r)?(s=r[0],a=r[1],o=r[2]??a):(a=r,o=r),n?(t[a]=s!==Ge.None?[i,s]:i,n[a]=o):t[a]=i}return t}function $(e){return Tn(()=>{const n=Nd(e);return Ld(n),n})}function He(e){return e[fr]||null}function Q1(e){return e[Q0]||null}function m2(e){return e[Z0]||null}function H2(e,n){const t=e[dd]||null;if(!t&&!0===n)throw new Error(`Type ${K1(e)} does not have '\u0275mod' property.`);return t}function Nd(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||en,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Ie,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Sd(e.inputs,n),outputs:Sd(e.outputs),debugInfo:null}}function Ld(e){e.features?.forEach(n=>n(e))}function rs(e,n){if(!e)return null;const t=n?m2:yA;return()=>("function"==typeof e?e():e).map(i=>t(i)).filter(MA)}function xd(...e){return{\u0275providers:s8(0,e),\u0275fromNgModule:!0}}function s8(e,...n){const t=[],i=new Set;let r;const a=o=>{t.push(o)};return k3(n,o=>{const s=o;os(s,a,[],i)&&(r||=[],r.push(s))}),void 0!==r&&Ed(r,a),t}function Ed(e,n){for(let t=0;t<e.length;t++){const{ngModule:i,providers:r}=e[t];c8(r,a=>{n(a,i)})}}function os(e,n,t,i){if(!(e=ae(e)))return!1;let r=null,a=Yo(e);const o=!a&&He(e);if(a||o){if(o&&!o.standalone)return!1;r=e}else{const c=e.ngModule;if(a=Yo(c),!a)return!1;r=c}const s=i.has(r);if(o){if(s)return!1;if(i.add(r),o.dependencies){const c="function"==typeof o.dependencies?o.dependencies():o.dependencies;for(const l of c)os(l,n,t,i)}}else{if(!a)return!1;{if(null!=a.imports&&!s){let l;i.add(r);try{k3(a.imports,u=>{os(u,n,t,i)&&(l||=[],l.push(u))})}finally{}void 0!==l&&Ed(l,n)}if(!s){const l=R4(r)||(()=>new r);n({provide:r,useFactory:l,deps:Ie},r),n({provide:r8,useValue:r,multi:!0},r),n({provide:O4,useValue:()=>te(r),multi:!0},r)}const c=a.providers;if(null!=c&&!s){const l=e;c8(c,u=>{n(u,l)})}}}return r!==e&&void 0!==e.providers}function c8(e,n){for(let t of e)K0(t)&&(t=t.\u0275providers),Array.isArray(t)?c8(t,n):n(t)}const HA=qe({provide:String,useValue:qe});function l8(e){return null!==e&&"object"==typeof e&&HA in e}function P4(e){return"function"==typeof e}const u8=new q(""),ss={},zA={};let f8;function cs(){return void 0===f8&&(f8=new ns),f8}class E2{}class O3 extends E2{get destroyed(){return this._destroyed}constructor(n,t,i,r){super(),this.parent=t,this.source=i,this.scopes=r,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,h8(n,o=>this.processProvider(o)),this.records.set(Md,P3(void 0,this)),r.has("environment")&&this.records.set(E2,P3(void 0,this));const a=this.records.get(u8);null!=a&&"string"==typeof a.value&&this.scopes.add(a.value),this.injectorDefTypes=new Set(this.get(r8,Ie,ze.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const n=D(null);try{for(const i of this._ngOnDestroyHooks)i.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const i of t)i()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),D(n)}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const t=a4(this),i=j2(void 0);try{return n()}finally{a4(t),j2(i)}}get(n,t=hr,i=ze.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(hd))return n[hd](this);i=Zo(i);const a=a4(this),o=j2(void 0);try{if(!(i&ze.SkipSelf)){let c=this.records.get(n);if(void 0===c){const l=function xA(e){return"function"==typeof e||"object"==typeof e&&e instanceof q}(n)&&qo(n);c=l&&this.injectableDefInScope(l)?P3(d8(n),ss):null,this.records.set(n,c)}if(null!=c)return this.hydrate(n,c)}return(i&ze.Self?cs():this.parent).get(n,t=i&ze.Optional&&t===hr?null:t)}catch(s){if("NullInjectorError"===s.name){if((s[Qo]=s[Qo]||[]).unshift(K1(n)),a)throw s;return function nA(e,n,t,i){const r=e[Qo];throw n[gd]&&r.unshift(n[gd]),e.message=function iA(e,n,t,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let r=K1(n);if(Array.isArray(n))r=n.map(K1).join(" -> ");else if("object"==typeof n){let a=[];for(let o in n)if(n.hasOwnProperty(o)){let s=n[o];a.push(o+":"+("string"==typeof s?JSON.stringify(s):K1(s)))}r=`{${a.join(", ")}}`}return`${t}${i?"("+i+")":""}[${r}]: ${e.replace(ZI,"\n ")}`}("\n"+e.message,r,t,i),e.ngTokenPath=r,e[Qo]=null,e}(s,n,"R3InjectorError",this.source)}throw s}finally{j2(o),a4(a)}}resolveInjectorInitializers(){const n=D(null),t=a4(this),i=j2(void 0);try{const a=this.get(O4,Ie,ze.Self);for(const o of a)o()}finally{a4(t),j2(i),D(n)}}toString(){const n=[],t=this.records;for(const i of t.keys())n.push(K1(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new A(205,!1)}processProvider(n){let t=P4(n=ae(n))?n:ae(n&&n.provide);const i=function SA(e){return l8(e)?P3(void 0,e.useValue):P3(Ad(e),ss)}(n);if(!P4(n)&&!0===n.multi){let r=this.records.get(t);r||(r=P3(void 0,ss,!0),r.factory=()=>t8(r.multi),this.records.set(t,r)),t=n,r.multi.push(n)}this.records.set(t,i)}hydrate(n,t){const i=D(null);try{return t.value===ss&&(t.value=zA,t.value=t.factory()),"object"==typeof t.value&&t.value&&function LA(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{D(i)}}injectableDefInScope(n){if(!n.providedIn)return!1;const t=ae(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 d8(e){const n=qo(e),t=null!==n?n.factory:R4(e);if(null!==t)return t;if(e instanceof q)throw new A(204,!1);if(e instanceof Function)return function DA(e){if(e.length>0)throw new A(204,!1);const t=function GI(e){return e&&(e[Ko]||e[ud])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new A(204,!1)}function Ad(e,n,t){let i;if(P4(e)){const r=ae(e);return R4(r)||d8(r)}if(l8(e))i=()=>ae(e.useValue);else if(function Id(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...t8(e.deps||[]));else if(function Td(e){return!(!e||!e.useExisting)}(e))i=()=>te(ae(e.useExisting));else{const r=ae(e&&(e.useClass||e.provide));if(!function NA(e){return!!e.deps}(e))return R4(r)||d8(r);i=()=>new r(...t8(e.deps))}return i}function P3(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function h8(e,n){for(const t of e)Array.isArray(t)?h8(t,n):t&&K0(t)?h8(t.\u0275providers,n):n(t)}function An(e,n){e instanceof O3&&e.assertNotDestroyed();const i=a4(e),r=j2(void 0);try{return n()}finally{a4(i),j2(r)}}function kd(){return void 0!==pd()||null!=function XI(){return A3}()}function gr(e){if(!kd())throw new A(-203,!1)}const b1=0,U=1,J=2,k1=3,Et=4,V2=5,at=6,B3=7,o1=8,g2=9,Tt=10,ce=11,_r=12,Od=13,U3=14,S1=15,Cr=16,j3=17,kn=18,yr=19,Pd=20,s4=21,us=22,F4=23,me=25,m8=1,tn=7,G3=9,R1=10;var g8=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(g8||{});function z2(e){return Array.isArray(e)&&"object"==typeof e[m8]}function D2(e){return Array.isArray(e)&&!0===e[m8]}function v8(e){return!!(4&e.flags)}function B4(e){return e.componentOffset>-1}function ds(e){return!(1&~e.flags)}function It(e){return!!e.template}function _8(e){return!!(512&e[J])}class GA{constructor(n,t,i){this.previousValue=n,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}function jd(e,n,t,i){null!==n?n.applyValueToInputSignal(n,i):e[t]=i}function T1(){return Gd}function Gd(e){return e.type.prototype.ngOnChanges&&(e.setInput=WA),$A}function $A(){const e=Wd(this),n=e?.current;if(n){const t=e.previous;if(t===en)e.previous=n;else for(let i in n)t[i]=n[i];e.current=null,this.ngOnChanges(n)}}function WA(e,n,t,i,r){const a=this.declaredInputs[i],o=Wd(e)||function qA(e,n){return e[$d]=n}(e,{previous:en,current:null}),s=o.current||(o.current={}),c=o.previous,l=c[a];s[a]=new GA(l&&l.currentValue,t,c===en),jd(e,n,r,t)}T1.ngInherit=!0;const $d="__ngSimpleChanges__";function Wd(e){return e[$d]||null}const nn=function(e,n,t){},qd="svg";let Kd=!1;function Je(e){for(;Array.isArray(e);)e=e[b1];return e}function br(e,n){return Je(n[e])}function T2(e,n){return Je(n[e.index])}function wr(e,n){return e.data[n]}function ot(e,n){const t=n[e];return z2(t)?t:t[b1]}function w8(e){return!(128&~e[J])}function rn(e,n){return null==n?null:e[n]}function Qd(e){e[j3]=0}function XA(e){1024&e[J]||(e[J]|=1024,w8(e)&&Hr(e))}function H8(e){return!!(9216&e[J]||e[F4]?.dirty)}function V8(e){e[Tt].changeDetectionScheduler?.notify(1),H8(e)?Hr(e):64&e[J]&&(function KA(){return Kd}()?(e[J]|=1024,Hr(e)):e[Tt].changeDetectionScheduler?.notify())}function Hr(e){e[Tt].changeDetectionScheduler?.notify();let n=U4(e);for(;null!==n&&!(8192&n[J])&&(n[J]|=8192,w8(n));)n=U4(n)}function hs(e,n){if(!(256&~e[J]))throw new A(911,!1);null===e[s4]&&(e[s4]=[]),e[s4].push(n)}function U4(e){const n=e[k1];return D2(n)?n[k1]:n}const le={lFrame:oh(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Xd(){return le.bindingsEnabled}function W3(){return null!==le.skipHydrationRootTNode}function T(){return le.lFrame.lView}function De(){return le.lFrame.tView}function be(e){return le.lFrame.contextLView=e,e[o1]}function we(e){return le.lFrame.contextLView=null,e}function Ke(){let e=eh();for(;null!==e&&64===e.type;)e=e.parent;return e}function eh(){return le.lFrame.currentTNode}function an(e,n){const t=le.lFrame;t.currentTNode=e,t.isParent=n}function D8(){return le.lFrame.isParent}function S8(){le.lFrame.isParent=!1}function Rn(){return le.lFrame.bindingIndex}function At(){return le.lFrame.bindingIndex++}function On(e){const n=le.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function uk(e,n){const t=le.lFrame;t.bindingIndex=t.bindingRootIndex=e,N8(n)}function N8(e){le.lFrame.currentDirectiveIndex=e}function x8(){return le.lFrame.currentQueryIndex}function ps(e){le.lFrame.currentQueryIndex=e}function dk(e){const n=e[U];return 2===n.type?n.declTNode:1===n.type?e[V2]:null}function rh(e,n,t){if(t&ze.SkipSelf){let r=n,a=e;for(;!(r=r.parent,null!==r||t&ze.Host||(r=dk(a),null===r||(a=a[U3],10&r.type))););if(null===r)return!1;n=r,e=a}const i=le.lFrame=ah();return i.currentTNode=n,i.lView=e,!0}function E8(e){const n=ah(),t=e[U];le.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function ah(){const e=le.lFrame,n=null===e?null:e.child;return null===n?oh(e):n}function oh(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 sh(){const e=le.lFrame;return le.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const ch=sh;function T8(){const e=sh();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 S2(){return le.lFrame.selectedIndex}function j4(e){le.lFrame.selectedIndex=e}function s1(){const e=le.lFrame;return wr(e.tView,e.selectedIndex)}function zr(){le.lFrame.currentNamespace=qd}function Dr(){!function mk(){le.lFrame.currentNamespace=null}()}let uh=!0;function Sr(){return uh}function on(e){uh=e}function ms(e,n){for(let t=n.directiveStart,i=n.directiveEnd;t<i;t++){const a=e.data[t].type.prototype,{ngAfterContentInit:o,ngAfterContentChecked:s,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=a;o&&(e.contentHooks??=[]).push(-t,o),s&&((e.contentHooks??=[]).push(t,s),(e.contentCheckHooks??=[]).push(t,s)),c&&(e.viewHooks??=[]).push(-t,c),l&&((e.viewHooks??=[]).push(t,l),(e.viewCheckHooks??=[]).push(t,l)),null!=u&&(e.destroyHooks??=[]).push(t,u)}}function gs(e,n,t){fh(e,n,3,t)}function vs(e,n,t,i){(3&e[J])===t&&fh(e,n,t,i)}function I8(e,n){let t=e[J];(3&t)===n&&(t&=16383,t+=1,e[J]=t)}function fh(e,n,t,i){const a=i??-1,o=n.length-1;let s=0;for(let c=void 0!==i?65535&e[j3]:0;c<o;c++)if("number"==typeof n[c+1]){if(s=n[c],null!=i&&s>=i)break}else n[c]<0&&(e[j3]+=65536),(s<a||-1==a)&&(vk(e,t,n,c),e[j3]=(4294901760&e[j3])+c+2),c++}function dh(e,n){nn(4,e,n);const t=D(null);try{n.call(e)}finally{D(t),nn(5,e,n)}}function vk(e,n,t,i){const r=t[i]<0,a=t[i+1],s=e[r?-t[i]:t[i]];r?e[J]>>14<e[j3]>>16&&(3&e[J])===n&&(e[J]+=16384,dh(s,a)):dh(s,a)}const q3=-1;class Nr{constructor(n,t,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=i}}function k8(e){return e!==q3}function Lr(e){return 32767&e}function xr(e,n){let t=function bk(e){return e>>16}(e),i=n;for(;t>0;)i=i[U3],t--;return i}let R8=!0;function _s(e){const n=R8;return R8=e,n}const hh=255,ph=5;let wk=0;const sn={};function Cs(e,n){const t=mh(e,n);if(-1!==t)return t;const i=n[U];i.firstCreatePass&&(e.injectorIndex=n.length,O8(i.data,e),O8(n,null),O8(i.blueprint,null));const r=ys(e,n),a=e.injectorIndex;if(k8(r)){const o=Lr(r),s=xr(r,n),c=s[U].data;for(let l=0;l<8;l++)n[a+l]=s[o+l]|c[o+l]}return n[a+8]=r,a}function O8(e,n){e.push(0,0,0,0,0,0,0,0,n)}function mh(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function ys(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let t=0,i=null,r=n;for(;null!==r;){if(i=bh(r),null===i)return q3;if(t++,r=r[U3],-1!==i.injectorIndex)return i.injectorIndex|t<<16}return q3}function P8(e,n,t){!function Hk(e,n,t){let i;"string"==typeof t?i=t.charCodeAt(0)||0:t.hasOwnProperty(dr)&&(i=t[dr]),null==i&&(i=t[dr]=wk++);const r=i&hh;n.data[e+(r>>ph)]|=1<<r}(e,n,t)}function gh(e,n,t){if(t&ze.Optional||void 0!==e)return e;J0()}function vh(e,n,t,i){if(t&ze.Optional&&void 0===i&&(i=null),!(t&(ze.Self|ze.Host))){const r=e[g2],a=j2(void 0);try{return r?r.get(n,i,t&ze.Optional):md(n,i,t&ze.Optional)}finally{j2(a)}}return gh(i,0,t)}function _h(e,n,t,i=ze.Default,r){if(null!==e){if(2048&n[J]&&!(i&ze.Self)){const o=function Nk(e,n,t,i,r){let a=e,o=n;for(;null!==a&&null!==o&&2048&o[J]&&!(512&o[J]);){const s=Ch(a,o,t,i|ze.Self,sn);if(s!==sn)return s;let c=a.parent;if(!c){const l=o[Pd];if(l){const u=l.get(t,sn,i);if(u!==sn)return u}c=bh(o),o=o[U3]}a=c}return r}(e,n,t,i,sn);if(o!==sn)return o}const a=Ch(e,n,t,i,sn);if(a!==sn)return a}return vh(n,t,i,r)}function Ch(e,n,t,i,r){const a=function Dk(e){if("string"==typeof e)return e.charCodeAt(0)||0;const n=e.hasOwnProperty(dr)?e[dr]:void 0;return"number"==typeof n?n>=0?n&hh:Sk:n}(t);if("function"==typeof a){if(!rh(n,e,i))return i&ze.Host?gh(r,0,i):vh(n,t,i,r);try{let o;if(o=a(i),null!=o||i&ze.Optional)return o;J0()}finally{ch()}}else if("number"==typeof a){let o=null,s=mh(e,n),c=q3,l=i&ze.Host?n[S1][V2]:null;for((-1===s||i&ze.SkipSelf)&&(c=-1===s?ys(e,n):n[s+8],c!==q3&&Mh(i,!1)?(o=n[U],s=Lr(c),n=xr(c,n)):s=-1);-1!==s;){const u=n[U];if(yh(a,s,u.data)){const f=zk(s,n,t,o,i,l);if(f!==sn)return f}c=n[s+8],c!==q3&&Mh(i,n[U].data[s+8]===l)&&yh(a,s,n)?(o=u,s=Lr(c),n=xr(c,n)):s=-1}}return r}function zk(e,n,t,i,r,a){const o=n[U],s=o.data[e+8],u=Ms(s,o,t,null==i?B4(s)&&R8:i!=o&&!!(3&s.type),r&ze.Host&&a===s);return null!==u?G4(n,o,u,s):sn}function Ms(e,n,t,i,r){const a=e.providerIndexes,o=n.data,s=1048575&a,c=e.directiveStart,u=a>>20,p=r?s+u:e.directiveEnd;for(let g=i?s:s+u;g<p;g++){const b=o[g];if(g<c&&t===b||g>=c&&b.type===t)return g}if(r){const g=o[c];if(g&&It(g)&&g.type===t)return c}return null}function G4(e,n,t,i){let r=e[t];const a=n.data;if(function _k(e){return e instanceof Nr}(r)){const o=r;o.resolving&&function YI(e,n){throw n&&n.join(" > "),new A(-200,e)}(function Oe(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():pe(e)}(a[t]));const s=_s(o.canSeeViewProviders);o.resolving=!0;const l=o.injectImpl?j2(o.injectImpl):null;rh(e,i,ze.Default);try{r=e[t]=o.factory(void 0,a,e,i),n.firstCreatePass&&t>=i.directiveStart&&function gk(e,n,t){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:a}=n.type.prototype;if(i){const o=Gd(n);(t.preOrderHooks??=[]).push(e,o),(t.preOrderCheckHooks??=[]).push(e,o)}r&&(t.preOrderHooks??=[]).push(0-e,r),a&&((t.preOrderHooks??=[]).push(e,a),(t.preOrderCheckHooks??=[]).push(e,a))}(t,a[t],n)}finally{null!==l&&j2(l),_s(s),o.resolving=!1,ch()}}return r}function yh(e,n,t){return!!(t[n+(e>>ph)]&1<<e)}function Mh(e,n){return!(e&ze.Self||e&ze.Host&&n)}class J1{constructor(n,t){this._tNode=n,this._lView=t}get(n,t,i){return _h(this._tNode,this._lView,n,Zo(i),t)}}function Sk(){return new J1(Ke(),T())}function c1(e){return Tn(()=>{const n=e.prototype.constructor,t=n[In]||F8(n),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const a=r[In]||F8(r);if(a&&a!==t)return a;r=Object.getPrototypeOf(r)}return a=>new a})}function F8(e){return Wo(e)?()=>{const n=F8(ae(e));return n&&n()}:R4(e)}function bh(e){const n=e[U],t=n.type;return 2===t?n.declTNode:1===t?e[V2]:null}function Dh(e,n=null,t=null,i){const r=Sh(e,n,t,i);return r.resolveInjectorInitializers(),r}function Sh(e,n=null,t=null,i,r=new Set){const a=[t||Ie,xd(e)];return i=i||("object"==typeof e?void 0:K1(e)),new O3(a,n||cs(),i||null,r)}let U1=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=hr;static#t=this.NULL=new ns;static create(t,i){if(Array.isArray(t))return Dh({name:""},i,t,"");{const r=t.name??"";return Dh({name:r},t.parent,t.providers,r)}}static#n=this.\u0275prov=B({token:e,providedIn:"any",factory:()=>te(Md)});static#i=this.__NG_ELEMENT_ID__=-1}return e})();function U8(e){return e.ngOriginalError}class cn{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&&U8(n);for(;t&&U8(t);)t=U8(t);return t||null}}const Lh=new q("",{providedIn:"root",factory:()=>H(cn).handleError.bind(void 0)});let ln=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=Ok;static#t=this.__NG_ENV_ID__=t=>t}return e})();class Rk extends ln{constructor(n){super(),this._lView=n}onDestroy(n){return hs(this._lView,n),()=>function z8(e,n){if(null===e[s4])return;const t=e[s4].indexOf(n);-1!==t&&e[s4].splice(t,1)}(this._lView,n)}}function Ok(){return new Rk(T())}function Pk(){return Q3(Ke(),T())}function Q3(e,n){return new Ae(T2(e,n))}let Ae=(()=>{class e{constructor(t){this.nativeElement=t}static#e=this.__NG_ELEMENT_ID__=Pk}return e})();function Eh(e){return e instanceof Ae?e.nativeElement:e}function j8(e){return n=>{setTimeout(e,void 0,n)}}const Z=class Fk extends a1{constructor(n=!1){super(),this.destroyRef=void 0,this.__isAsync=n,kd()&&(this.destroyRef=H(ln,{optional:!0})??void 0)}emit(n){const t=D(null);try{super.next(n)}finally{D(t)}}subscribe(n,t,i){let r=n,a=t||(()=>null),o=i;if(n&&"object"==typeof n){const c=n;r=c.next?.bind(c),a=c.error?.bind(c),o=c.complete?.bind(c)}this.__isAsync&&(a=j8(a),r&&(r=j8(r)),o&&(o=j8(o)));const s=super.subscribe({next:r,error:a,complete:o});return n instanceof p2&&n.add(s),s}};function Bk(){return this._results[Symbol.iterator]()}class G8{static#e=Symbol.iterator;get changes(){return this._changes??=new Z}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const t=G8.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=Bk)}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){this.dirty=!1;const i=function G2(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function sA(e,n,t){if(e.length!==n.length)return!1;for(let i=0;i<e.length;i++){let r=e[i],a=n[i];if(t&&(r=t(r),a=t(a)),a!==r)return!1}return!0}(this._results,i,t))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}}function ws(e){return!(128&~e.flags)}const $8=new Map;let jk=0;const q8="__ngContext__";function N2(e,n){z2(n)?(e[q8]=n[yr],function $k(e){$8.set(e[yr],e)}(n)):e[q8]=n}function Uh(e){return Gh(e[_r])}function jh(e){return Gh(e[Et])}function Gh(e){for(;null!==e&&!D2(e);)e=e[Et];return e}let Y8;function l4(){if(void 0!==Y8)return Y8;if(typeof document<"u")return document;throw new A(210,!1)}const zs=new q("",{providedIn:"root",factory:()=>lR}),lR="ng",Jh=new q(""),$4=new q("",{providedIn:"platform",factory:()=>"unknown"}),Xh=new q("",{providedIn:"root",factory:()=>l4().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let ep=()=>null;function nl(e,n,t=!1){return ep(e,n,t)}const ap=new q("",{providedIn:"root",factory:()=>!1});let Ts,Is;function X3(e){return function ol(){if(void 0===Ts&&(Ts=null,Ue.trustedTypes))try{Ts=Ue.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ts}()?.createHTML(e)||e}function sl(){if(void 0===Is&&(Is=null,Ue.trustedTypes))try{Is=Ue.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Is}function sp(e){return sl()?.createHTML(e)||e}function lp(e){return sl()?.createScriptURL(e)||e}class W4{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ad})`}}class wR extends W4{getTypeName(){return"HTML"}}class HR extends W4{getTypeName(){return"Style"}}class VR extends W4{getTypeName(){return"Script"}}class zR extends W4{getTypeName(){return"URL"}}class DR extends W4{getTypeName(){return"ResourceURL"}}function st(e){return e instanceof W4?e.changingThisBreaksApplicationSecurity:e}function un(e,n){const t=function SR(e){return e instanceof W4&&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 ${ad})`)}return t===n}class IR{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{const t=(new window.DOMParser).parseFromString(X3(n),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.removeChild(t.firstChild),t)}catch{return null}}}class AR{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const t=this.inertDocument.createElement("template");return t.innerHTML=X3(n),t}}const RR=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function As(e){return(e=String(e)).match(RR)?e:"unsafe:"+e}function Pn(e){const n={};for(const t of e.split(","))n[t]=!0;return n}function Or(...e){const n={};for(const t of e)for(const i in t)t.hasOwnProperty(i)&&(n[i]=!0);return n}const fp=Pn("area,br,col,hr,img,wbr"),dp=Pn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),hp=Pn("rp,rt"),cl=Or(fp,Or(dp,Pn("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")),Or(hp,Pn("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")),Or(hp,dp)),ll=Pn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),pp=Or(ll,Pn("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"),Pn("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")),OR=Pn("script,style,template");class PR{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let t=n.firstChild,i=!0,r=[];for(;t;)if(t.nodeType===Node.ELEMENT_NODE?i=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,i&&t.firstChild)r.push(t),t=UR(t);else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let a=BR(t);if(a){t=a;break}t=r.pop()}return this.buf.join("")}startElement(n){const t=mp(n).toLowerCase();if(!cl.hasOwnProperty(t))return this.sanitizedSomething=!0,!OR.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const i=n.attributes;for(let r=0;r<i.length;r++){const a=i.item(r),o=a.name,s=o.toLowerCase();if(!pp.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let c=a.value;ll[s]&&(c=As(c)),this.buf.push(" ",o,'="',vp(c),'"')}return this.buf.push(">"),!0}endElement(n){const t=mp(n).toLowerCase();cl.hasOwnProperty(t)&&!fp.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(n){this.buf.push(vp(n))}}function BR(e){const n=e.nextSibling;if(n&&e!==n.previousSibling)throw gp(n);return n}function UR(e){const n=e.firstChild;if(n&&function FR(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,n))throw gp(n);return n}function mp(e){const n=e.nodeName;return"string"==typeof n?n:"FORM"}function gp(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const jR=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,GR=/([^\#-~ |!])/g;function vp(e){return e.replace(/&/g,"&amp;").replace(jR,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(GR,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let ks;function _p(e,n){let t=null;try{ks=ks||function up(e){const n=new AR(e);return function kR(){try{return!!(new window.DOMParser).parseFromString(X3(""),"text/html")}catch{return!1}}()?new IR(n):n}(e);let i=n?String(n):"";t=ks.getInertBodyElement(i);let r=5,a=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=a,a=t.innerHTML,t=ks.getInertBodyElement(i)}while(i!==a);return X3((new PR).sanitizeChildren(ul(t)||t))}finally{if(t){const i=ul(t)||t;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function ul(e){return"content"in e&&function $R(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Mt=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Mt||{});function Cp(e){const n=Fr();return n?sp(n.sanitize(Mt.HTML,e)||""):un(e,"HTML")?sp(st(e)):_p(l4(),pe(e))}function q4(e){const n=Fr();return n?n.sanitize(Mt.STYLE,e)||"":un(e,"Style")?st(e):pe(e)}function Pr(e){const n=Fr();return n?n.sanitize(Mt.URL,e)||"":un(e,"URL")?st(e):As(pe(e))}function yp(e){const n=Fr();if(n)return lp(n.sanitize(Mt.RESOURCE_URL,e)||"");if(un(e,"ResourceURL"))return lp(st(e));throw new A(904,!1)}function Fr(){const e=T();return e&&e[Tt].sanitizer}function ct(e){return e instanceof Function?e():e}var f4=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(f4||{});let pl;function ml(e,n){return pl(e,n)}function ti(e,n,t,i,r){if(null!=i){let a,o=!1;D2(i)?a=i:z2(i)&&(o=!0,i=i[b1]);const s=Je(i);0===e&&null!==t?null==r?Tp(n,t,s):Y4(n,t,s,r||null,!0):1===e&&null!==t?Y4(n,t,s,r||null,!0):2===e?function jr(e,n,t){const i=Bs(e,n);i&&function vO(e,n,t,i){e.removeChild(n,t,i)}(e,i,n,t)}(n,s,o):3===e&&n.destroyNode(s),null!=a&&function yO(e,n,t,i,r){const a=t[tn];a!==Je(t)&&ti(n,e,i,a,r);for(let s=R1;s<t.length;s++){const c=t[s];js(c[U],c,e,n,i,a)}}(n,e,a,t,r)}}function Ps(e,n,t){return e.createElement(n,t)}function Lp(e,n){n[Tt].changeDetectionScheduler?.notify(1),js(e,n,n[ce],2,null,null)}function xp(e,n){const t=e[G3],i=t.indexOf(n);t.splice(i,1)}function Br(e,n){if(e.length<=R1)return;const t=R1+n,i=e[t];if(i){const r=i[Cr];null!==r&&r!==e&&xp(r,i),n>0&&(e[t-1][Et]=i[Et]);const a=es(e,R1+n);!function uO(e,n){Lp(e,n),n[b1]=null,n[V2]=null}(i[U],i);const o=a[kn];null!==o&&o.detachView(a[U]),i[k1]=null,i[Et]=null,i[J]&=-129}return i}function Fs(e,n){if(!(256&n[J])){const t=n[ce];t.destroyNode&&js(e,n,t,3,null,null),function dO(e){let n=e[_r];if(!n)return _l(e[U],e);for(;n;){let t=null;if(z2(n))t=n[_r];else{const i=n[R1];i&&(t=i)}if(!t){for(;n&&!n[Et]&&n!==e;)z2(n)&&_l(n[U],n),n=n[k1];null===n&&(n=e),z2(n)&&_l(n[U],n),t=n&&n[Et]}n=t}}(n)}}function _l(e,n){if(256&n[J])return;const t=D(null);try{n[J]&=-129,n[J]|=256,n[F4]&&function Qt(e){if(i4(e),A4(e))for(let n=0;n<e.producerNode.length;n++)I4(e.producerNode[n],e.producerIndexOfThis[n]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}(n[F4]),function gO(e,n){let t;if(null!=e&&null!=(t=e.destroyHooks))for(let i=0;i<t.length;i+=2){const r=n[t[i]];if(!(r instanceof Nr)){const a=t[i+1];if(Array.isArray(a))for(let o=0;o<a.length;o+=2){const s=r[a[o]],c=a[o+1];nn(4,s,c);try{c.call(s)}finally{nn(5,s,c)}}else{nn(4,r,a);try{a.call(r)}finally{nn(5,r,a)}}}}}(e,n),function mO(e,n){const t=e.cleanup,i=n[B3];if(null!==t)for(let a=0;a<t.length-1;a+=2)if("string"==typeof t[a]){const o=t[a+3];o>=0?i[o]():i[-o].unsubscribe(),a+=2}else t[a].call(i[t[a+1]]);null!==i&&(n[B3]=null);const r=n[s4];if(null!==r){n[s4]=null;for(let a=0;a<r.length;a++)(0,r[a])()}}(e,n),1===n[U].type&&n[ce].destroy();const i=n[Cr];if(null!==i&&D2(n[k1])){i!==n[k1]&&xp(i,n);const r=n[kn];null!==r&&r.detachView(e)}!function Wk(e){$8.delete(e[yr])}(n)}finally{D(t)}}function Cl(e,n,t){return function Ep(e,n,t){let i=n;for(;null!==i&&40&i.type;)i=(n=i).parent;if(null===i)return t[b1];{const{componentOffset:r}=i;if(r>-1){const{encapsulation:a}=e.data[i.directiveStart+r];if(a===Lt.None||a===Lt.Emulated)return null}return T2(i,t)}}(e,n.parent,t)}function Y4(e,n,t,i,r){e.insertBefore(n,t,i,r)}function Tp(e,n,t){e.appendChild(n,t)}function Ip(e,n,t,i,r){null!==i?Y4(e,n,t,i,r):Tp(e,n,t)}function Bs(e,n){return e.parentNode(n)}function Ap(e,n,t){return Rp(e,n,t)}let yl,Rp=function kp(e,n,t){return 40&e.type?T2(e,t):null};function Us(e,n,t,i){const r=Cl(e,i,n),a=n[ce],s=Ap(i.parent||n[V2],i,n);if(null!=r)if(Array.isArray(t))for(let c=0;c<t.length;c++)Ip(a,r,t[c],s,!1);else Ip(a,r,t,s,!1);void 0!==yl&&yl(a,i,n,t,r)}function Ur(e,n){if(null!==n){const t=n.type;if(3&t)return T2(n,e);if(4&t)return Ml(-1,e[n.index]);if(8&t){const i=n.child;if(null!==i)return Ur(e,i);{const r=e[n.index];return D2(r)?Ml(-1,r):Je(r)}}if(32&t)return ml(n,e)()||Je(e[n.index]);{const i=Pp(e,n);return null!==i?Array.isArray(i)?i[0]:Ur(U4(e[S1]),i):Ur(e,n.next)}}return null}function Pp(e,n){return null!==n?e[S1][V2].projection[n.projection]:null}function Ml(e,n){const t=R1+e+1;if(t<n.length){const i=n[t],r=i[U].firstChild;if(null!==r)return Ur(i,r)}return n[tn]}function bl(e,n,t,i,r,a,o){for(;null!=t;){const s=i[t.index],c=t.type;if(o&&0===n&&(s&&N2(Je(s),i),t.flags|=2),32&~t.flags)if(8&c)bl(e,n,t.child,i,r,a,!1),ti(n,e,r,s,a);else if(32&c){const l=ml(t,i);let u;for(;u=l();)ti(n,e,r,u,a);ti(n,e,r,s,a)}else 16&c?Bp(e,n,i,t,r,a):ti(n,e,r,s,a);t=o?t.projectionNext:t.next}}function js(e,n,t,i,r,a){bl(t,i,e.firstChild,n,r,a,!1)}function Bp(e,n,t,i,r,a){const o=t[S1],c=o[V2].projection[i.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++)ti(n,e,r,c[l],a);else{let l=c;const u=o[k1];ws(i)&&(l.flags|=128),bl(e,n,l,u,r,a,!0)}}function Up(e,n,t){""===t?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}function jp(e,n,t){const{mergedAttrs:i,classes:r,styles:a}=t;null!==i&&a8(e,n,i),null!==r&&Up(e,n,r),null!==a&&function bO(e,n,t){e.setAttribute(n,"style",t)}(e,n,a)}const ge={};function C(e=1){Gp(De(),T(),S2()+e,!1)}function Gp(e,n,t,i){if(!i)if(3&~n[J]){const a=e.preOrderHooks;null!==a&&vs(n,a,0,t)}else{const a=e.preOrderCheckHooks;null!==a&&gs(n,a,t)}j4(t)}function E(e,n=ze.Default){const t=T();return null===t?te(e,n):_h(Ke(),t,ae(e),n)}function Wp(e,n,t,i,r,a){const o=D(null);try{let s=null;r&Ge.SignalBased&&(s=n[i][Be]),null!==s&&void 0!==s.transformFn&&(a=s.transformFn(a)),r&Ge.HasDecoratorInputTransform&&(a=e.inputTransforms[i].call(n,a)),null!==e.setInput?e.setInput(n,s,a,t,i):jd(n,s,i,a)}finally{D(o)}}function Gs(e,n,t,i,r,a,o,s,c,l,u){const f=n.blueprint.slice();return f[b1]=r,f[J]=204|i,(null!==l||e&&2048&e[J])&&(f[J]|=2048),Qd(f),f[k1]=f[U3]=e,f[o1]=t,f[Tt]=o||e&&e[Tt],f[ce]=s||e&&e[ce],f[g2]=c||e&&e[g2]||null,f[V2]=a,f[yr]=function Gk(){return jk++}(),f[at]=u,f[Pd]=l,f[S1]=2==n.type?e[S1]:f,f}function ni(e,n,t,i,r){let a=e.data[n];if(null===a)a=function wl(e,n,t,i,r){const a=eh(),o=D8(),c=e.data[n]=function LO(e,n,t,i,r,a){let o=n?n.injectorIndex:-1,s=0;return W3()&&(s|=128),{type:t,index:i,insertBeforeIndex:null,injectorIndex:o,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:s,providerIndexes:0,value:r,attrs:a,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,o?a:a&&a.parent,t,n,i,r);return null===e.firstChild&&(e.firstChild=c),null!==a&&(o?null==a.child&&null!==c.parent&&(a.child=c):null===a.next&&(a.next=c,c.prev=a)),c}(e,n,t,i,r),function lk(){return le.lFrame.inI18n}()&&(a.flags|=32);else if(64&a.type){a.type=t,a.value=i,a.attrs=r;const o=function Vr(){const e=le.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}();a.injectorIndex=null===o?-1:o.injectorIndex}return an(a,!0),a}function Gr(e,n,t,i){if(0===t)return-1;const r=n.length;for(let a=0;a<t;a++)n.push(i),e.blueprint.push(i),e.data.push(null);return r}function qp(e,n,t,i,r){const a=S2(),o=2&i;try{j4(-1),o&&n.length>me&&Gp(e,n,me,!1),nn(o?2:0,r),t(i,r)}finally{j4(a),nn(o?3:1,r)}}function Hl(e,n,t){if(v8(n)){const i=D(null);try{const a=n.directiveEnd;for(let o=n.directiveStart;o<a;o++){const s=e.data[o];s.contentQueries&&s.contentQueries(1,t[o],o)}}finally{D(i)}}}function Vl(e,n,t){Xd()&&(function RO(e,n,t,i){const r=t.directiveStart,a=t.directiveEnd;B4(t)&&function GO(e,n,t){const i=T2(n,e),r=Yp(t);let o=16;t.signals?o=4096:t.onPush&&(o=64);const s=$s(e,Gs(e,r,null,o,i,n,null,e[Tt].rendererFactory.createRenderer(i,t),null,null,null));e[n.index]=s}(n,t,e.data[r+t.componentOffset]),e.firstCreatePass||Cs(t,n),N2(i,n);const o=t.initialInputs;for(let s=r;s<a;s++){const c=e.data[s],l=G4(n,e,s,t);N2(l,n),null!==o&&$O(0,s-r,l,c,0,o),It(c)&&(ot(t.index,n)[o1]=G4(n,e,s,t))}}(e,n,t,T2(t,n)),!(64&~t.flags)&&Xp(e,n,t))}function zl(e,n,t=T2){const i=n.localNames;if(null!==i){let r=n.index+1;for(let a=0;a<i.length;a+=2){const o=i[a+1],s=-1===o?t(n,e):e[o];e[r++]=s}}}function Yp(e){const n=e.tView;return null===n||n.incompleteFirstPass?e.tView=Dl(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):n}function Dl(e,n,t,i,r,a,o,s,c,l,u){const f=me+i,p=f+r,g=function HO(e,n){const t=[];for(let i=0;i<n;i++)t.push(i<e?null:ge);return t}(f,p),b="function"==typeof l?l():l;return g[U]={type:e,blueprint:g,template:t,queries:null,viewQuery:s,declTNode:n,data:g.slice().fill(null,f),bindingStartIndex:f,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof a?a():a,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:c,consts:b,incompleteFirstPass:!1,ssrId:u}}let Kp=()=>null;function Qp(e,n,t,i,r){for(let a in n){if(!n.hasOwnProperty(a))continue;const o=n[a];if(void 0===o)continue;i??={};let s,c=Ge.None;Array.isArray(o)?(s=o[0],c=o[1]):s=o;let l=a;if(null!==r){if(!r.hasOwnProperty(a))continue;l=r[a]}0===e?Zp(i,t,l,s,c):Zp(i,t,l,s)}return i}function Zp(e,n,t,i,r){let a;e.hasOwnProperty(t)?(a=e[t]).push(n,i):a=e[t]=[n,i],void 0!==r&&a.push(r)}function q2(e,n,t,i,r,a,o,s){const c=T2(n,t);let u,l=n.inputs;!s&&null!=l&&(u=l[i])?(El(e,t,u,i,r),B4(n)&&function TO(e,n){const t=ot(n,e);16&t[J]||(t[J]|=64)}(t,n.index)):3&n.type&&(i=function EO(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),r=null!=o?o(r,n.value||"",i):r,a.setProperty(c,i,r))}function Sl(e,n,t,i){if(Xd()){const r=null===i?null:{"":-1},a=function PO(e,n){const t=e.directiveRegistry;let i=null,r=null;if(t)for(let a=0;a<t.length;a++){const o=t[a];if(zd(n,o.selectors,!1))if(i||(i=[]),It(o))if(null!==o.findHostDirectiveDefs){const s=[];r=r||new Map,o.findHostDirectiveDefs(o,s,r),i.unshift(...s,o),Nl(e,n,s.length)}else i.unshift(o),Nl(e,n,0);else r=r||new Map,o.findHostDirectiveDefs?.(o,i,r),i.push(o)}return null===i?null:[i,r]}(e,t);let o,s;null===a?o=s=null:[o,s]=a,null!==o&&Jp(e,n,t,o,r,s),r&&function FO(e,n,t){if(n){const i=e.localNames=[];for(let r=0;r<n.length;r+=2){const a=t[n[r+1]];if(null==a)throw new A(-301,!1);i.push(n[r],a)}}}(t,i,r)}t.mergedAttrs=mr(t.mergedAttrs,t.attrs)}function Jp(e,n,t,i,r,a){for(let l=0;l<i.length;l++)P8(Cs(t,n),e,i[l].type);!function UO(e,n,t){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+t,e.providerIndexes=n}(t,e.data.length,i.length);for(let l=0;l<i.length;l++){const u=i[l];u.providersResolver&&u.providersResolver(u)}let o=!1,s=!1,c=Gr(e,n,i.length,null);for(let l=0;l<i.length;l++){const u=i[l];t.mergedAttrs=mr(t.mergedAttrs,u.hostAttrs),jO(e,t,n,c,u),BO(c,u,r),null!==u.contentQueries&&(t.flags|=4),(null!==u.hostBindings||null!==u.hostAttrs||0!==u.hostVars)&&(t.flags|=64);const f=u.type.prototype;!o&&(f.ngOnChanges||f.ngOnInit||f.ngDoCheck)&&((e.preOrderHooks??=[]).push(t.index),o=!0),!s&&(f.ngOnChanges||f.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(t.index),s=!0),c++}!function xO(e,n,t){const r=n.directiveEnd,a=e.data,o=n.attrs,s=[];let c=null,l=null;for(let u=n.directiveStart;u<r;u++){const f=a[u],p=t?t.get(f):null,b=p?p.outputs:null;c=Qp(0,f.inputs,u,c,p?p.inputs:null),l=Qp(1,f.outputs,u,l,b);const w=null===c||null===o||o8(n)?null:WO(c,u,o);s.push(w)}null!==c&&(c.hasOwnProperty("class")&&(n.flags|=8),c.hasOwnProperty("style")&&(n.flags|=16)),n.initialInputs=s,n.inputs=c,n.outputs=l}(e,t,a)}function Xp(e,n,t){const i=t.directiveStart,r=t.directiveEnd,a=t.index,o=function fk(){return le.lFrame.currentDirectiveIndex}();try{j4(a);for(let s=i;s<r;s++){const c=e.data[s],l=n[s];N8(s),(null!==c.hostBindings||0!==c.hostVars||null!==c.hostAttrs)&&OO(c,l)}}finally{j4(-1),N8(o)}}function OO(e,n){null!==e.hostBindings&&e.hostBindings(1,n)}function Nl(e,n,t){n.componentOffset=t,(e.components??=[]).push(n.index)}function BO(e,n,t){if(t){if(n.exportAs)for(let i=0;i<n.exportAs.length;i++)t[n.exportAs[i]]=e;It(n)&&(t[""]=e)}}function jO(e,n,t,i,r){e.data[i]=r;const a=r.factory||(r.factory=R4(r.type)),o=new Nr(a,It(r),E);e.blueprint[i]=o,t[i]=o,function AO(e,n,t,i,r){const a=r.hostBindings;if(a){let o=e.hostBindingOpCodes;null===o&&(o=e.hostBindingOpCodes=[]);const s=~n.index;(function kO(e){let n=e.length;for(;n>0;){const t=e[--n];if("number"==typeof t&&t<0)return t}return 0})(o)!=s&&o.push(s),o.push(t,i,a)}}(e,n,i,Gr(e,t,r.hostVars,ge),r)}function fn(e,n,t,i,r,a){const o=T2(e,n);!function Ll(e,n,t,i,r,a,o){if(null==a)e.removeAttribute(n,r,t);else{const s=null==o?pe(a):o(a,i||"",r);e.setAttribute(n,r,s,t)}}(n[ce],o,a,e.value,t,i,r)}function $O(e,n,t,i,r,a){const o=a[n];if(null!==o)for(let s=0;s<o.length;)Wp(i,t,o[s++],o[s++],o[s++],o[s++])}function WO(e,n,t){let i=null,r=0;for(;r<t.length;){const a=t[r];if(0!==a)if(5!==a){if("number"==typeof a)break;if(e.hasOwnProperty(a)){null===i&&(i=[]);const o=e[a];for(let s=0;s<o.length;s+=3)if(o[s]===n){i.push(a,o[s+1],o[s+2],t[r+1]);break}}r+=2}else r+=2;else r+=4}return i}function em(e,n,t,i){return[e,!0,0,n,null,i,null,t,null,null]}function tm(e,n){const t=e.contentQueries;if(null!==t){const i=D(null);try{for(let r=0;r<t.length;r+=2){const o=t[r+1];if(-1!==o){const s=e.data[o];ps(t[r]),s.contentQueries(2,n[o],o)}}}finally{D(i)}}}function $s(e,n){return e[_r]?e[Od][Et]=n:e[_r]=n,e[Od]=n,n}function xl(e,n,t){ps(0);const i=D(null);try{n(e,t)}finally{D(i)}}function nm(e){return e[B3]||(e[B3]=[])}function im(e){return e.cleanup||(e.cleanup=[])}function Ws(e,n){const t=e[g2],i=t?t.get(cn,null):null;i&&i.handleError(n)}function El(e,n,t,i,r){for(let a=0;a<t.length;){const o=t[a++],s=t[a++],c=t[a++];Wp(e.data[o],n[o],i,s,c,r)}}function Fn(e,n,t){const i=br(n,e);!function Np(e,n,t){e.setValue(n,t)}(e[ce],i,t)}function qO(e,n){const t=ot(n,e),i=t[U];!function YO(e,n){for(let t=n.length;t<e.blueprint.length;t++)n.push(e.blueprint[t])}(i,t);const r=t[b1];null!==r&&null===t[at]&&(t[at]=nl(r,t[g2])),Tl(i,t,t[o1])}function Tl(e,n,t){E8(n);try{const i=e.viewQuery;null!==i&&xl(1,i,t);const r=e.template;null!==r&&qp(e,n,r,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),n[kn]?.finishViewCreation(e),e.staticContentQueries&&tm(e,n),e.staticViewQueries&&xl(2,e.viewQuery,t);const a=e.components;null!==a&&function KO(e,n){for(let t=0;t<n.length;t++)qO(e,n[t])}(n,a)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{n[J]&=-5,T8()}}function $r(e,n,t,i){const r=D(null);try{const a=n.tView,c=Gs(e,a,t,4096&e[J]?4096:16,null,n,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null);c[Cr]=e[n.index];const u=e[kn];return null!==u&&(c[kn]=u.createEmbeddedView(a)),Tl(a,c,t),c}finally{D(r)}}function ii(e,n){return!n||null===n.firstChild||ws(e)}function Wr(e,n,t,i=!0){const r=n[U];if(function hO(e,n,t,i){const r=R1+i,a=t.length;i>0&&(t[r-1][Et]=n),i<a-R1?(n[Et]=t[r],_d(t,R1+i,n)):(t.push(n),n[Et]=null),n[k1]=t;const o=n[Cr];null!==o&&t!==o&&function pO(e,n){const t=e[G3];n[S1]!==n[k1][k1][S1]&&(e[J]|=g8.HasTransplantedViews),null===t?e[G3]=[n]:t.push(n)}(o,n);const s=n[kn];null!==s&&s.insertView(e),V8(n),n[J]|=128}(r,n,e,t),i){const o=Ml(t,e),s=n[ce],c=Bs(s,e[tn]);null!==c&&function fO(e,n,t,i,r,a){i[b1]=r,i[V2]=n,js(e,i,t,1,r,a)}(r,e[V2],s,n,c,o)}const a=n[at];null!==a&&null!==a.firstChild&&(a.firstChild=null)}function qr(e,n,t,i,r=!1){for(;null!==t;){const a=n[t.index];null!==a&&i.push(Je(a)),D2(a)&&om(a,i);const o=t.type;if(8&o)qr(e,n,t.child,i);else if(32&o){const s=ml(t,n);let c;for(;c=s();)i.push(c)}else if(16&o){const s=Pp(n,t);if(Array.isArray(s))i.push(...s);else{const c=U4(n[S1]);qr(c[U],c,s,i,!0)}}t=r?t.projectionNext:t.next}return i}function om(e,n){for(let t=R1;t<e.length;t++){const i=e[t],r=i[U].firstChild;null!==r&&qr(i[U],i,r,n)}e[tn]!==e[b1]&&n.push(e[tn])}let sm=[];const XO={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Hr(e.lView)},consumerOnSignalRead(){this.lView[F4]=this}},cm=100;function qs(e,n=!0,t=0){const i=e[Tt],r=i.rendererFactory;r.begin?.();try{!function eP(e,n){Al(e,n);let t=0;for(;H8(e);){if(t===cm)throw new A(103,!1);t++,Al(e,1)}}(e,t)}catch(o){throw n&&Ws(e,o),o}finally{r.end?.(),i.inlineEffectRunner?.flush()}}function tP(e,n,t,i){const r=n[J];if(!(256&~r))return;n[Tt].inlineEffectRunner?.flush(),E8(n);let o=null,s=null;(function nP(e){return 2!==e.type})(e)&&(s=function QO(e){return e[F4]??function ZO(e){const n=sm.pop()??Object.create(XO);return n.lView=e,n}(e)}(n),o=function h2(e){return e&&(e.nextProducerIndex=0),D(e)}(s));try{Qd(n),function nh(e){return le.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==t&&qp(e,n,t,2,i);const c=!(3&~r);if(c){const f=e.preOrderCheckHooks;null!==f&&gs(n,f,null)}else{const f=e.preOrderHooks;null!==f&&vs(n,f,0,null),I8(n,0)}if(function iP(e){for(let n=Uh(e);null!==n;n=jh(n)){if(!(n[J]&g8.HasTransplantedViews))continue;const t=n[G3];for(let i=0;i<t.length;i++){XA(t[i])}}}(n),lm(n,0),null!==e.contentQueries&&tm(e,n),c){const f=e.contentCheckHooks;null!==f&&gs(n,f)}else{const f=e.contentHooks;null!==f&&vs(n,f,1),I8(n,1)}!function wO(e,n){const t=e.hostBindingOpCodes;if(null!==t)try{for(let i=0;i<t.length;i++){const r=t[i];if(r<0)j4(~r);else{const a=r,o=t[++i],s=t[++i];uk(o,a),s(2,n[a])}}}finally{j4(-1)}}(e,n);const l=e.components;null!==l&&fm(n,l,0);const u=e.viewQuery;if(null!==u&&xl(2,u,i),c){const f=e.viewCheckHooks;null!==f&&gs(n,f)}else{const f=e.viewHooks;null!==f&&vs(n,f,2),I8(n,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),n[us]){for(const f of n[us])f();n[us]=null}n[J]&=-73}catch(c){throw Hr(n),c}finally{null!==s&&(function Nt(e,n){if(D(n),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(A4(e))for(let t=e.nextProducerIndex;t<e.producerNode.length;t++)I4(e.producerNode[t],e.producerIndexOfThis[t]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(s,o),function JO(e){e.lView[F4]!==e&&(e.lView=null,sm.push(e))}(s)),T8()}}function lm(e,n){for(let t=Uh(e);null!==t;t=jh(t))for(let i=R1;i<t.length;i++)um(t[i],n)}function rP(e,n,t){um(ot(n,e),t)}function um(e,n){w8(e)&&Al(e,n)}function Al(e,n){const i=e[U],r=e[J],a=e[F4];let o=!!(0===n&&16&r);if(o||=!!(64&r&&0===n),o||=!!(1024&r),o||=!(!a?.dirty||!s2(a)),a&&(a.dirty=!1),e[J]&=-9217,o)tP(i,e,i.template,e[o1]);else if(8192&r){lm(e,1);const s=i.components;null!==s&&fm(e,s,1)}}function fm(e,n,t){for(let i=0;i<n.length;i++)rP(e,n[i],t)}function Yr(e){for(e[Tt].changeDetectionScheduler?.notify();e;){e[J]|=64;const n=U4(e);if(_8(e)&&!n)return e;e=n}return null}class Kr{get rootNodes(){const n=this._lView,t=n[U];return qr(t,n,t.firstChild,[])}constructor(n,t,i=!0){this._lView=n,this._cdRefInjectingView=t,this.notifyErrorHandler=i,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[o1]}set context(n){this._lView[o1]=n}get destroyed(){return!(256&~this._lView[J])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const n=this._lView[k1];if(D2(n)){const t=n[8],i=t?t.indexOf(this):-1;i>-1&&(Br(n,i),es(t,i))}this._attachedToViewContainer=!1}Fs(this._lView[U],this._lView)}onDestroy(n){hs(this._lView,n)}markForCheck(){Yr(this._cdRefInjectingView||this._lView)}detach(){this._lView[J]&=-129}reattach(){V8(this._lView),this._lView[J]|=128}detectChanges(){this._lView[J]|=1024,qs(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new A(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Lp(this._lView[U],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new A(902,!1);this._appRef=n,V8(this._lView)}}let I1=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=sP}return e})();const aP=I1,oP=class extends aP{constructor(n,t,i){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,t){return this.createEmbeddedViewImpl(n,t)}createEmbeddedViewImpl(n,t,i){const r=$r(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:t,dehydratedView:i});return new Kr(r)}};function sP(){return Ys(Ke(),T())}function Ys(e,n){return 4&e.type?new oP(n,e,Q3(e,n)):null}let vm=()=>null;function ri(e,n){return vm(e,n)}class Bl{}class xP{}class _m{}class TP{resolveComponentFactory(n){throw function EP(e){const n=Error(`No component factory found for ${K1(e)}.`);return n.ngComponent=e,n}(n)}}let Xs=(()=>{class e{static#e=this.NULL=new TP}return e})();class ym{}let dn=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function IP(){const e=T(),t=ot(Ke().index,e);return(z2(t)?t:e)[ce]}()}return e})(),AP=(()=>{class e{static#e=this.\u0275prov=B({token:e,providedIn:"root",factory:()=>null})}return e})();const Ul={},Mm=new Set;function hn(e){Mm.has(e)||(Mm.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function bm(...e){}class ve{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Z(!1),this.onMicrotaskEmpty=new Z(!1),this.onStable=new Z(!1),this.onError=new Z(!1),typeof Zone>"u")throw new A(908,!1);Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&t,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function kP(){const e="function"==typeof Ue.requestAnimationFrame;let n=Ue[e?"requestAnimationFrame":"setTimeout"],t=Ue[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&n&&t){const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function PP(e){const n=()=>{!function OP(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Ue,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Gl(e),e.isCheckStableRunning=!0,jl(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Gl(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,i,r,a,o,s)=>{if(function FP(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(s))return t.invokeTask(r,a,o,s);try{return wm(e),t.invokeTask(r,a,o,s)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===a.type||e.shouldCoalesceRunChangeDetection)&&n(),Hm(e)}},onInvoke:(t,i,r,a,o,s,c)=>{try{return wm(e),t.invoke(r,a,o,s,c)}finally{e.shouldCoalesceRunChangeDetection&&n(),Hm(e)}},onHasTask:(t,i,r,a)=>{t.hasTask(r,a),i===r&&("microTask"==a.change?(e._hasPendingMicrotasks=a.microTask,Gl(e),jl(e)):"macroTask"==a.change&&(e.hasPendingMacrotasks=a.macroTask))},onHandleError:(t,i,r,a)=>(t.handleError(r,a),e.runOutsideAngular(()=>e.onError.emit(a)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ve.isInAngularZone())throw new A(909,!1)}static assertNotInAngularZone(){if(ve.isInAngularZone())throw new A(909,!1)}run(n,t,i){return this._inner.run(n,t,i)}runTask(n,t,i,r){const a=this._inner,o=a.scheduleEventTask("NgZoneEvent: "+r,n,RP,bm,bm);try{return a.runTask(o,t,i)}finally{a.cancelTask(o)}}runGuarded(n,t,i){return this._inner.runGuarded(n,t,i)}runOutsideAngular(n){return this._outer.run(n)}}const RP={};function jl(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 Gl(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function wm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Hm(e){e._nesting--,jl(e)}var K4=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(K4||{});const zm={destroy(){}};function Dm(e,n){!n&&gr();const t=n?.injector??H(U1);if(!function u4(e){return"browser"===(e??H(U1)).get($4)}(t))return zm;hn("NgAfterNextRender");const i=t.get(ea),r=i.handler??=new Nm,a=n?.phase??K4.MixedReadWrite,o=()=>{r.unregister(c),s()},s=t.get(ln).onDestroy(o),c=An(t,()=>new Sm(a,()=>{o(),e()}));return r.register(c),{destroy:o}}class Sm{constructor(n,t){this.phase=n,this.callbackFn=t,this.zone=H(ve),this.errorHandler=H(cn,{optional:!0}),H(Bl,{optional:!0})?.notify(1)}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(n){this.errorHandler?.handleError(n)}}}class Nm{constructor(){this.executingCallbacks=!1,this.buckets={[K4.EarlyRead]:new Set,[K4.Write]:new Set,[K4.MixedReadWrite]:new Set,[K4.Read]:new Set},this.deferredCallbacks=new Set}register(n){(this.executingCallbacks?this.deferredCallbacks:this.buckets[n.phase]).add(n)}unregister(n){this.buckets[n.phase].delete(n),this.deferredCallbacks.delete(n)}execute(){this.executingCallbacks=!0;for(const n of Object.values(this.buckets))for(const t of n)t.invoke();this.executingCallbacks=!1;for(const n of this.deferredCallbacks)this.buckets[n.phase].add(n);this.deferredCallbacks.clear()}destroy(){for(const n of Object.values(this.buckets))n.clear();this.deferredCallbacks.clear()}}let ea=(()=>{class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const t=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const i of t)i()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=B({token:e,providedIn:"root",factory:()=>new e})}return e})();function tc(e,n,t){let i=t?e.styles:null,r=t?e.classes:null,a=0;if(null!==n)for(let o=0;o<n.length;o++){const s=n[o];"number"==typeof s?a=s:1==a?r=j0(r,s):2==a&&(i=j0(i,s+": "+n[++o]+";"))}t?e.styles=i:e.stylesWithoutHost=i,t?e.classes=r:e.classesWithoutHost=r}class Em extends Xs{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const t=He(n);return new ia(t,this.ngModule)}}function Tm(e){const n=[];for(const t in e){if(!e.hasOwnProperty(t))continue;const i=e[t];void 0!==i&&n.push({propName:Array.isArray(i)?i[0]:i,templateName:t})}return n}class nc{constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,i){i=Zo(i);const r=this.injector.get(n,Ul,i);return r!==Ul||t===Ul?r:this.parentInjector.get(n,t,i)}}class ia extends _m{get inputs(){const n=this.componentDef,t=n.inputTransforms,i=Tm(n.inputs);if(null!==t)for(const r of i)t.hasOwnProperty(r.propName)&&(r.transform=t[r.propName]);return i}get outputs(){return Tm(this.componentDef.outputs)}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=function _A(e){return e.map(vA).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!t}create(n,t,i,r){const a=D(null);try{let o=(r=r||this.ngModule)instanceof E2?r:r?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const s=o?new nc(n,o):n,c=s.get(ym,null);if(null===c)throw new A(407,!1);const l=s.get(AP,null),p={rendererFactory:c,sanitizer:l,inlineEffectRunner:null,afterRenderEventManager:s.get(ea,null),changeDetectionScheduler:s.get(Bl,null)},g=c.createRenderer(null,this.componentDef),b=this.componentDef.selectors[0][0]||"div",w=i?function VO(e,n,t,i){const a=i.get(ap,!1)||t===Lt.ShadowDom,o=e.selectRootElement(n,a);return function zO(e){Kp(e)}(o),o}(g,i,this.componentDef.encapsulation,s):Ps(g,b,function $P(e){const n=e.toLowerCase();return"svg"===n?qd:"math"===n?"math":null}(b));let S=512;this.componentDef.signals?S|=4096:this.componentDef.onPush||(S|=16);let L=null;null!==w&&(L=nl(w,s,!0));const N=Dl(0,null,null,1,0,null,null,null,null,null,null),P=Gs(null,N,null,S,null,null,p,g,s,null,L);let F,G;E8(P);try{const K=this.componentDef;let de,Se=null;K.findHostDirectiveDefs?(de=[],Se=new Map,K.findHostDirectiveDefs(K,de,Se),de.push(K)):de=[K];const $e=function qP(e,n){const t=e[U],i=me;return e[i]=n,ni(t,i,2,"#host",null)}(P,w),L1=function YP(e,n,t,i,r,a,o){const s=r[U];!function KP(e,n,t,i){for(const r of e)n.mergedAttrs=mr(n.mergedAttrs,r.hostAttrs);null!==n.mergedAttrs&&(tc(n,n.mergedAttrs,!0),null!==t&&jp(i,t,n))}(i,e,n,o);let c=null;null!==n&&(c=nl(n,r[g2]));const l=a.rendererFactory.createRenderer(n,t);let u=16;t.signals?u=4096:t.onPush&&(u=64);const f=Gs(r,Yp(t),null,u,r[e.index],e,a,l,null,null,c);return s.firstCreatePass&&Nl(s,e,i.length-1),$s(r,f),r[e.index]=f}($e,w,K,de,P,p,g);G=wr(N,me),w&&function ZP(e,n,t,i){if(i)a8(e,t,["ng-version","17.3.4"]);else{const{attrs:r,classes:a}=function CA(e){const n=[],t=[];let i=1,r=2;for(;i<e.length;){let a=e[i];if("string"==typeof a)2===r?""!==a&&n.push(a,e[++i]):8===r&&t.push(a);else{if(!xt(r))break;r=a}i++}return{attrs:n,classes:t}}(n.selectors[0]);r&&a8(e,t,r),a&&a.length>0&&Up(e,t,a.join(" "))}}(g,K,w,i),void 0!==t&&function JP(e,n,t){const i=e.projection=[];for(let r=0;r<n.length;r++){const a=t[r];i.push(null!=a?Array.from(a):null)}}(G,this.ngContentSelectors,t),F=function QP(e,n,t,i,r,a){const o=Ke(),s=r[U],c=T2(o,r);Jp(s,r,o,t,null,i);for(let u=0;u<t.length;u++)N2(G4(r,s,o.directiveStart+u,o),r);Xp(s,r,o),c&&N2(c,r);const l=G4(r,s,o.directiveStart+o.componentOffset,o);if(e[o1]=r[o1]=l,null!==a)for(const u of a)u(l,n);return Hl(s,o,r),l}(L1,K,de,Se,P,[XP]),Tl(N,P,null)}finally{T8()}return new WP(this.componentType,F,Q3(G,P),P,G)}finally{D(a)}}}class WP extends xP{constructor(n,t,i,r,a){super(),this.location=i,this._rootLView=r,this._tNode=a,this.previousInputValues=null,this.instance=t,this.hostView=this.changeDetectorRef=new Kr(r,void 0,!1),this.componentType=n}setInput(n,t){const i=this._tNode.inputs;let r;if(null!==i&&(r=i[n])){if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),t))return;const a=this._rootLView;El(a[U],a,r,n,t),this.previousInputValues.set(n,t),Yr(ot(this._tNode.index,a))}}get injector(){return new J1(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}}function XP(){const e=Ke();ms(T()[U],e)}let Y2=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=eF}return e})();function eF(){return km(Ke(),T())}const tF=Y2,Im=class extends tF{constructor(n,t,i){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=i}get element(){return Q3(this._hostTNode,this._hostLView)}get injector(){return new J1(this._hostTNode,this._hostLView)}get parentInjector(){const n=ys(this._hostTNode,this._hostLView);if(k8(n)){const t=xr(n,this._hostLView),i=Lr(n);return new J1(t[U].data[i+8],t)}return new J1(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=Am(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-R1}createEmbeddedView(n,t,i){let r,a;"number"==typeof i?r=i:null!=i&&(r=i.index,a=i.injector);const o=ri(this._lContainer,n.ssrId),s=n.createEmbeddedViewImpl(t||{},a,o);return this.insertImpl(s,r,ii(this._hostTNode,o)),s}createComponent(n,t,i,r,a){const o=n&&!function vr(e){return"function"==typeof e}(n);let s;if(o)s=t;else{const b=t||{};s=b.index,i=b.injector,r=b.projectableNodes,a=b.environmentInjector||b.ngModuleRef}const c=o?n:new ia(He(n)),l=i||this.parentInjector;if(!a&&null==c.ngModule){const w=(o?l:this.parentInjector).get(E2,null);w&&(a=w)}const u=He(c.componentType??{}),f=ri(this._lContainer,u?.id??null),g=c.create(l,r,f?.firstChild??null,a);return this.insertImpl(g.hostView,s,ii(this._hostTNode,f)),g}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,i){const r=n._lView;if(function JA(e){return D2(e[k1])}(r)){const s=this.indexOf(n);if(-1!==s)this.detach(s);else{const c=r[k1],l=new Im(c,c[V2],c[k1]);l.detach(l.indexOf(n))}}const a=this._adjustIndex(t),o=this._lContainer;return Wr(o,r,a,i),n.attachToViewContainerRef(),_d(Yl(o),a,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=Am(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),i=Br(this._lContainer,t);i&&(es(Yl(this._lContainer),t),Fs(i[U],i))}detach(n){const t=this._adjustIndex(n,-1),i=Br(this._lContainer,t);return i&&null!=es(Yl(this._lContainer),t)?new Kr(i):null}_adjustIndex(n,t=0){return n??this.length+t}};function Am(e){return e[8]}function Yl(e){return e[8]||(e[8]=[])}function km(e,n){let t;const i=n[e.index];return D2(i)?t=i:(t=em(i,n,null,e),n[e.index]=t,$s(n,t)),Rm(t,n,e,i),new Im(t,e,n)}let Rm=function Pm(e,n,t,i){if(e[tn])return;let r;r=8&t.type?Je(i):function nF(e,n){const t=e[ce],i=t.createComment(""),r=T2(n,e);return Y4(t,Bs(t,r),i,function _O(e,n){return e.nextSibling(n)}(t,r),!1),i}(n,t),e[tn]=r},Kl=()=>!1;class Ql{constructor(n){this.queryList=n,this.matches=null}clone(){return new Ql(this.queryList)}setDirty(){this.queryList.setDirty()}}class Zl{constructor(n=[]){this.queries=n}createEmbeddedView(n){const t=n.queries;if(null!==t){const i=null!==n.contentQueries?n.contentQueries[0]:t.length,r=[];for(let a=0;a<i;a++){const o=t.getByIndex(a);r.push(this.queries[o.indexInDeclarationView].clone())}return new Zl(r)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let t=0;t<this.queries.length;t++)null!==n5(n,t).matches&&this.queries[t].setDirty()}}class Fm{constructor(n,t,i=null){this.flags=t,this.read=i,this.predicate="string"==typeof n?function uF(e){return e.split(",").map(n=>n.trim())}(n):n}}class Jl{constructor(n=[]){this.queries=n}elementStart(n,t){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(n,t)}elementEnd(n){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(n)}embeddedTView(n){let t=null;for(let i=0;i<this.length;i++){const r=null!==t?t.length:0,a=this.getByIndex(i).embeddedTView(n,r);a&&(a.indexInDeclarationView=i,null!==t?t.push(a):t=[a])}return null!==t?new Jl(t):null}template(n,t){for(let i=0;i<this.queries.length;i++)this.queries[i].template(n,t)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}}class Xl{constructor(n,t=-1){this.metadata=n,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=t}elementStart(n,t){this.isApplyingToNode(t)&&this.matchTNode(n,t)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,t){this.elementStart(n,t)}embeddedTView(n,t){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,t),new Xl(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&1&~this.metadata.flags){const t=this._declarationNodeIndex;let i=n.parent;for(;null!==i&&8&i.type&&i.index!==t;)i=i.parent;return t===(null!==i?i.index:-1)}return this._appliesToNextNode}matchTNode(n,t){const i=this.metadata.predicate;if(Array.isArray(i))for(let r=0;r<i.length;r++){const a=i[r];this.matchTNodeWithReadOption(n,t,oF(t,a)),this.matchTNodeWithReadOption(n,t,Ms(t,n,a,!1,!1))}else i===I1?4&t.type&&this.matchTNodeWithReadOption(n,t,-1):this.matchTNodeWithReadOption(n,t,Ms(t,n,i,!1,!1))}matchTNodeWithReadOption(n,t,i){if(null!==i){const r=this.metadata.read;if(null!==r)if(r===Ae||r===Y2||r===I1&&4&t.type)this.addMatch(t.index,-2);else{const a=Ms(t,n,r,!1,!1);null!==a&&this.addMatch(t.index,a)}else this.addMatch(t.index,i)}}addMatch(n,t){null===this.matches?this.matches=[n,t]:this.matches.push(n,t)}}function oF(e,n){const t=e.localNames;if(null!==t)for(let i=0;i<t.length;i+=2)if(t[i]===n)return t[i+1];return null}function cF(e,n,t,i){return-1===t?function sF(e,n){return 11&e.type?Q3(e,n):4&e.type?Ys(e,n):null}(n,e):-2===t?function lF(e,n,t){return t===Ae?Q3(n,e):t===I1?Ys(n,e):t===Y2?km(n,e):void 0}(e,n,i):G4(e,e[U],t,n)}function Bm(e,n,t,i){const r=n[kn].queries[i];if(null===r.matches){const a=e.data,o=t.matches,s=[];for(let c=0;null!==o&&c<o.length;c+=2){const l=o[c];s.push(l<0?null:cF(n,a[l],o[c+1],t.metadata.read))}r.matches=s}return r.matches}function e5(e,n,t,i){const r=e.queries.getByIndex(t),a=r.matches;if(null!==a){const o=Bm(e,n,r,t);for(let s=0;s<a.length;s+=2){const c=a[s];if(c>0)i.push(o[s/2]);else{const l=a[s+1],u=n[-c];for(let f=R1;f<u.length;f++){const p=u[f];p[Cr]===p[k1]&&e5(p[U],p,l,i)}if(null!==u[G3]){const f=u[G3];for(let p=0;p<f.length;p++){const g=f[p];e5(g[U],g,l,i)}}}}}return i}function Um(e,n,t){const i=new G8(!(4&~t));return function NO(e,n,t,i){const r=nm(n);r.push(t),e.firstCreatePass&&im(e).push(i,r.length-1)}(e,n,i,i.destroy),(n[kn]??=new Zl).queries.push(new Ql(i))-1}function $m(e,n,t){null===e.queries&&(e.queries=new Jl),e.queries.track(new Xl(n,t))}function n5(e,n){return e.queries.getByIndex(n)}function Wm(e,n){const t=e[U],i=n5(t,n);return i.crossesNgTemplate?e5(t,e,n,[]):Bm(t,e,i,n)}function Km(e){return function qm(e){return"function"==typeof e&&void 0!==e[Be]}(e)&&"function"==typeof e.set}function X(e){let n=function og(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),t=!0;const i=[e];for(;n;){let r;if(It(e))r=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new A(903,!1);r=n.\u0275dir}if(r){if(t){i.push(r);const o=e;o.inputs=rc(e.inputs),o.inputTransforms=rc(e.inputTransforms),o.declaredInputs=rc(e.declaredInputs),o.outputs=rc(e.outputs);const s=r.hostBindings;s&&zF(e,s);const c=r.viewQuery,l=r.contentQueries;if(c&&HF(e,c),l&&VF(e,l),bF(e,r),OI(e.outputs,r.outputs),It(r)&&r.data.animation){const u=e.data;u.animation=(u.animation||[]).concat(r.data.animation)}}const a=r.features;if(a)for(let o=0;o<a.length;o++){const s=a[o];s&&s.ngInherit&&s(e),s===X&&(t=!1)}}n=Object.getPrototypeOf(n)}!function wF(e){let n=0,t=null;for(let i=e.length-1;i>=0;i--){const r=e[i];r.hostVars=n+=r.hostVars,r.hostAttrs=mr(r.hostAttrs,t=mr(t,r.hostAttrs))}}(i)}function bF(e,n){for(const t in n.inputs){if(!n.inputs.hasOwnProperty(t)||e.inputs.hasOwnProperty(t))continue;const i=n.inputs[t];if(void 0!==i&&(e.inputs[t]=i,e.declaredInputs[t]=n.declaredInputs[t],null!==n.inputTransforms)){const r=Array.isArray(i)?i[0]:i;if(!n.inputTransforms.hasOwnProperty(r))continue;e.inputTransforms??={},e.inputTransforms[r]=n.inputTransforms[r]}}}function rc(e){return e===en?{}:e===Ie?[]:e}function HF(e,n){const t=e.viewQuery;e.viewQuery=t?(i,r)=>{n(i,r),t(i,r)}:n}function VF(e,n){const t=e.contentQueries;e.contentQueries=t?(i,r,a)=>{n(i,r,a),t(i,r,a)}:n}function zF(e,n){const t=e.hostBindings;e.hostBindings=t?(i,r)=>{n(i,r),t(i,r)}:n}function r5(e){const n=t=>{const i=(Array.isArray(e)?e:e()).map(r=>"function"==typeof r?{directive:ae(r),inputs:en,outputs:en}:{directive:ae(r.directive),inputs:cg(r.inputs),outputs:cg(r.outputs)});null===t.hostDirectives?(t.findHostDirectiveDefs=sg,t.hostDirectives=i):t.hostDirectives.unshift(...i)};return n.ngInherit=!0,n}function sg(e,n,t){if(null!==e.hostDirectives)for(const i of e.hostDirectives){const r=Q1(i.directive);LF(r.declaredInputs,i.inputs),sg(r,n,t),t.set(r,i),n.push(r)}}function cg(e){if(void 0===e||0===e.length)return en;const n={};for(let t=0;t<e.length;t+=2)n[e[t]]=e[t+1];return n}function LF(e,n){for(const t in n)n.hasOwnProperty(t)&&(e[n[t]]=e[t])}function ug(e){const n=e.inputConfig,t={};for(const i in n)if(n.hasOwnProperty(i)){const r=n[i];Array.isArray(r)&&r[3]&&(t[i]=r[3])}e.inputTransforms=t}class Q4{}class fg{}class a5 extends Q4{constructor(n,t,i){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Em(this);const r=H2(n);this._bootstrapComponents=ct(r.bootstrap),this._r3Injector=Sh(n,t,[{provide:Q4,useValue:this},{provide:Xs,useValue:this.componentFactoryResolver},...i],K1(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 o5 extends fg{constructor(n){super(),this.moduleType=n}create(n){return new a5(this.moduleType,n,[])}}class dg extends Q4{constructor(n){super(),this.componentFactoryResolver=new Em(this),this.instance=null;const t=new O3([...n.providers,{provide:Q4,useValue:this},{provide:Xs,useValue:this.componentFactoryResolver}],n.parent||cs(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function ac(e,n,t=null){return new dg({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}let oi=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new yt(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||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&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function sc(e){return!!function s5(e){return null!==e&&("function"==typeof e||"object"==typeof e)}(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function O1(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function Z4(e,n,t,i){const r=O1(e,n,t);return O1(e,n+1,i)||r}function j(e,n,t,i,r,a,o,s){const c=T(),l=De(),u=e+me,f=l.firstCreatePass?function OF(e,n,t,i,r,a,o,s,c){const l=n.consts,u=ni(n,e,4,o||null,rn(l,s));Sl(n,t,u,rn(l,c)),ms(n,u);const f=u.tView=Dl(2,u,i,r,a,n.directiveRegistry,n.pipeRegistry,null,n.schemas,l,null);return null!==n.queries&&(n.queries.template(n,u),f.queries=n.queries.embeddedTView(u)),u}(u,l,c,n,t,i,r,a,o):l.data[u];an(f,!1);const p=hg(l,c,f,e);Sr()&&Us(l,c,p,f),N2(p,c);const g=em(p,c,p,f);return c[u]=g,$s(c,g),function Om(e,n,t){return Kl(e,n,t)}(g,f,c),ds(f)&&Vl(l,c,f),null!=o&&zl(c,f,s),j}let hg=function pg(e,n,t,i){return on(!0),n[ce].createComment("")};function W(e,n,t,i){const r=T();return O1(r,At(),n)&&(De(),fn(s1(),r,e,n,t,i)),W}function pi(e,n,t,i){return O1(e,At(),t)?n+pe(t)+i:ge}function gi(e,n,t,i,r,a,o,s){const l=function cc(e,n,t,i,r){const a=Z4(e,n,t,i);return O1(e,n+2,r)||a}(e,Rn(),t,r,o);return On(3),l?n+pe(t)+i+pe(r)+a+pe(o)+s:ge}function pc(e,n){return e<<17|n<<2}function m4(e){return e>>17&32767}function v5(e){return 2|e}function X4(e){return(131068&e)>>2}function _5(e,n){return-131069&e|n<<2}function C5(e){return 1|e}function $g(e,n,t,i){const r=e[t+1],a=null===n;let o=i?m4(r):X4(r),s=!1;for(;0!==o&&(!1===s||a);){const l=e[o+1];wB(e[o],n)&&(s=!0,e[o+1]=i?C5(l):v5(l)),o=i?m4(l):X4(l)}s&&(e[t+1]=i?v5(r):C5(r))}function wB(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&R3(e,n)>=0}const X1={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Wg(e){return e.substring(X1.key,X1.keyEnd)}function qg(e,n){const t=X1.textEnd;return t===n?-1:(n=X1.keyEnd=function DB(e,n,t){for(;n<t&&e.charCodeAt(n)>32;)n++;return n}(e,X1.key=n,t),bi(e,n,t))}function bi(e,n,t){for(;n<t&&e.charCodeAt(n)<=32;)n++;return n}function V(e,n,t){const i=T();return O1(i,At(),n)&&q2(De(),s1(),i,e,n,i[ce],t,!1),V}function y5(e,n,t,i,r){const o=r?"class":"style";El(e,t,n.inputs[o],o,i)}function ua(e,n,t){return kt(e,n,t,!1),ua}function Ne(e,n){return kt(e,n,null,!0),Ne}function g4(e){!function Rt(e,n,t,i){const r=De(),a=On(2);r.firstUpdatePass&&Xg(r,null,a,i);const o=T();if(t!==ge&&O1(o,a,t)){const s=r.data[S2()];if(iv(s,i)&&!Jg(r,a)){let c=i?s.classesWithoutHost:s.stylesWithoutHost;null!==c&&(t=j0(c,t||"")),y5(r,s,o,t,i)}else!function RB(e,n,t,i,r,a,o,s){r===ge&&(r=Ie);let c=0,l=0,u=0<r.length?r[0]:null,f=0<a.length?a[0]:null;for(;null!==u||null!==f;){const p=c<r.length?r[c+1]:void 0,g=l<a.length?a[l+1]:void 0;let w,b=null;u===f?(c+=2,l+=2,p!==g&&(b=f,w=g)):null===f||null!==u&&u<f?(c+=2,b=u):(l+=2,b=f,w=g),null!==b&&tv(e,n,t,i,b,w,o,s),u=c<r.length?r[c]:null,f=l<a.length?a[l]:null}}(r,s,o,o[ce],o[a+1],o[a+1]=function AB(e,n,t){if(null==t||""===t)return Ie;const i=[],r=st(t);if(Array.isArray(r))for(let a=0;a<r.length;a++)e(i,r[a],!0);else if("object"==typeof r)for(const a in r)r.hasOwnProperty(a)&&e(i,a,r[a]);else"string"==typeof r&&n(i,r);return i}(e,n,t),i,a)}}(kB,gn,e,!0)}function gn(e,n){for(let t=function VB(e){return function Kg(e){X1.key=0,X1.keyEnd=0,X1.value=0,X1.valueEnd=0,X1.textEnd=e.length}(e),qg(e,bi(e,0,X1.textEnd))}(n);t>=0;t=qg(n,t))rt(e,Wg(n),!0)}function kt(e,n,t,i){const r=T(),a=De(),o=On(2);a.firstUpdatePass&&Xg(a,e,o,i),n!==ge&&O1(r,o,n)&&tv(a,a.data[S2()],r,r[ce],e,r[o+1]=function OB(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=K1(st(e)))),e}(n,t),i,o)}function Jg(e,n){return n>=e.expandoStartIndex}function Xg(e,n,t,i){const r=e.data;if(null===r[t+1]){const a=r[S2()],o=Jg(e,t);iv(a,i)&&null===n&&!o&&(n=!1),n=function xB(e,n,t,i){const r=function L8(e){const n=le.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}(e);let a=i?n.residualClasses:n.residualStyles;if(null===r)0===(i?n.classBindings:n.styleBindings)&&(t=fa(t=M5(null,e,n,t,i),n.attrs,i),a=null);else{const o=n.directiveStylingLast;if(-1===o||e[o]!==r)if(t=M5(r,e,n,t,i),null===a){let c=function EB(e,n,t){const i=t?n.classBindings:n.styleBindings;if(0!==X4(i))return e[m4(i)]}(e,n,i);void 0!==c&&Array.isArray(c)&&(c=M5(null,e,n,c[1],i),c=fa(c,n.attrs,i),function TB(e,n,t,i){e[m4(t?n.classBindings:n.styleBindings)]=i}(e,n,i,c))}else a=function IB(e,n,t){let i;const r=n.directiveEnd;for(let a=1+n.directiveStylingLast;a<r;a++)i=fa(i,e[a].hostAttrs,t);return fa(i,n.attrs,t)}(e,n,i)}return void 0!==a&&(i?n.residualClasses=a:n.residualStyles=a),t}(r,a,n,i),function MB(e,n,t,i,r,a){let o=a?n.classBindings:n.styleBindings,s=m4(o),c=X4(o);e[i]=t;let u,l=!1;if(Array.isArray(t)?(u=t[1],(null===u||R3(t,u)>0)&&(l=!0)):u=t,r)if(0!==c){const p=m4(e[s+1]);e[i+1]=pc(p,s),0!==p&&(e[p+1]=_5(e[p+1],i)),e[s+1]=function CB(e,n){return 131071&e|n<<17}(e[s+1],i)}else e[i+1]=pc(s,0),0!==s&&(e[s+1]=_5(e[s+1],i)),s=i;else e[i+1]=pc(c,0),0===s?s=i:e[c+1]=_5(e[c+1],i),c=i;l&&(e[i+1]=v5(e[i+1])),$g(e,u,i,!0),$g(e,u,i,!1),function bB(e,n,t,i,r){const a=r?e.residualClasses:e.residualStyles;null!=a&&"string"==typeof n&&R3(a,n)>=0&&(t[i+1]=C5(t[i+1]))}(n,u,e,i,a),o=pc(s,c),a?n.classBindings=o:n.styleBindings=o}(r,a,n,t,o,i)}}function M5(e,n,t,i,r){let a=null;const o=t.directiveEnd;let s=t.directiveStylingLast;for(-1===s?s=t.directiveStart:s++;s<o&&(a=n[s],i=fa(i,a.hostAttrs,r),a!==e);)s++;return null!==e&&(t.directiveStylingLast=s),i}function fa(e,n,t){const i=t?1:2;let r=-1;if(null!==n)for(let a=0;a<n.length;a++){const o=n[a];"number"==typeof o?r=o:r===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),rt(e,o,!!t||n[++a]))}return void 0===e?null:e}function kB(e,n,t){const i=String(n);""!==i&&!i.includes(" ")&&rt(e,i,t)}function tv(e,n,t,i,r,a,o,s){if(!(3&n.type))return;const c=e.data,l=c[s+1],u=function yB(e){return!(1&~e)}(l)?nv(c,n,t,r,X4(l),o):void 0;mc(u)||(mc(a)||function _B(e){return!(2&~e)}(l)&&(a=nv(c,null,t,r,s,o)),function MO(e,n,t,i,r){if(n)r?e.addClass(t,i):e.removeClass(t,i);else{let a=-1===i.indexOf("-")?void 0:f4.DashCase;null==r?e.removeStyle(t,i,a):("string"==typeof r&&r.endsWith("!important")&&(r=r.slice(0,-10),a|=f4.Important),e.setStyle(t,i,r,a))}}(i,o,br(S2(),t),r,a))}function nv(e,n,t,i,r,a){const o=null===n;let s;for(;r>0;){const c=e[r],l=Array.isArray(c),u=l?c[1]:c,f=null===u;let p=t[r+1];p===ge&&(p=f?Ie:void 0);let g=f?i8(p,i):u===i?p:void 0;if(l&&!mc(g)&&(g=i8(c,i)),mc(g)&&(s=g,o))return s;const b=e[r+1];r=o?m4(b):X4(b)}if(null!==n){let c=a?n.residualClasses:n.residualStyles;null!=c&&(s=i8(c,i))}return s}function mc(e){return void 0!==e}function iv(e,n){return!!(e.flags&(n?8:16))}function j1(e,n,t){hn("NgControlFlow");const i=T(),r=At(),a=function H5(e,n){return e[n]}(i,me+e);if(O1(i,r,n)){const s=D(null);try{if(function Il(e,n){const t=Br(e,n);return void 0!==t&&Fs(t[U],t),t}(a,0),-1!==n){const c=function V5(e,n){return wr(e,n)}(i[U],me+n),l=ri(a,c.tView.ssrId);Wr(a,$r(i,c,t,{dehydratedView:l}),0,ii(c,l))}}finally{D(s)}}else{const s=function am(e,n){const t=R1+n;if(t<e.length)return e[t]}(a,0);void 0!==s&&(s[o1]=t)}}function m(e,n,t,i){const r=T(),a=De(),o=me+e,s=r[ce],c=a.firstCreatePass?function iU(e,n,t,i,r,a){const o=n.consts,c=ni(n,e,2,i,rn(o,r));return Sl(n,t,c,rn(o,a)),null!==c.attrs&&tc(c,c.attrs,!1),null!==c.mergedAttrs&&tc(c,c.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,c),c}(o,a,r,n,t,i):a.data[o],l=sv(a,r,c,s,n,e);r[o]=l;const u=ds(c);return an(c,!0),jp(s,l,c),!function oa(e){return!(32&~e.flags)}(c)&&Sr()&&Us(a,r,l,c),0===function ek(){return le.lFrame.elementDepthCount}()&&N2(l,r),function tk(){le.lFrame.elementDepthCount++}(),u&&(Vl(a,r,c),Hl(a,c,r)),null!==i&&zl(r,c),m}function v(){let e=Ke();D8()?S8():(e=e.parent,an(e,!1));const n=e;(function ik(e){return le.skipHydrationRootTNode===e})(n)&&function sk(){le.skipHydrationRootTNode=null}(),function nk(){le.lFrame.elementDepthCount--}();const t=De();return t.firstCreatePass&&(ms(t,e),v8(e)&&t.queries.elementEnd(e)),null!=n.classesWithoutHost&&function yk(e){return!!(8&e.flags)}(n)&&y5(t,n,T(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function Mk(e){return!!(16&e.flags)}(n)&&y5(t,n,T(),n.stylesWithoutHost,!1),v}function k(e,n,t,i){return m(e,n,t,i),v(),k}let sv=(e,n,t,i,r,a)=>(on(!0),Ps(i,r,function lh(){return le.lFrame.currentNamespace}()));function w1(){return T()}function A2(e,n,t){const i=T();return O1(i,At(),n)&&q2(De(),s1(),i,e,n,i[ce],t,!0),A2}const Hi="en-US";let hv=Hi;function R(e,n,t,i){const r=T(),a=De(),o=Ke();return L5(a,r,r[ce],o,e,n,i),R}function L5(e,n,t,i,r,a,o){const s=ds(i),l=e.firstCreatePass&&im(e),u=n[o1],f=nm(n);let p=!0;if(3&i.type||o){const w=T2(i,n),S=o?o(w):w,L=f.length,N=o?F=>o(Je(F[i.index])):i.index;let P=null;if(!o&&s&&(P=function oj(e,n,t,i){const r=e.cleanup;if(null!=r)for(let a=0;a<r.length-1;a+=2){const o=r[a];if(o===t&&r[a+1]===i){const s=n[B3],c=r[a+2];return s.length>c?s[c]:null}"string"==typeof o&&(a+=2)}return null}(e,n,r,i.index)),null!==P)(P.__ngLastListenerFn__||P).__ngNextListenerFn__=a,P.__ngLastListenerFn__=a,p=!1;else{a=Bv(i,n,u,a,!1);const F=t.listen(S,r,a);f.push(a,F),l&&l.push(r,N,L,L+1)}}else a=Bv(i,n,u,a,!1);const g=i.outputs;let b;if(p&&null!==g&&(b=g[r])){const w=b.length;if(w)for(let S=0;S<w;S+=2){const G=n[b[S]][b[S+1]].subscribe(a),K=f.length;f.push(a,G),l&&l.push(r,i.index,K,-(K+1))}}}function Fv(e,n,t,i){const r=D(null);try{return nn(6,n,t),!1!==t(i)}catch(a){return Ws(e,a),!1}finally{nn(7,n,t),D(r)}}function Bv(e,n,t,i,r){return function a(o){if(o===Function)return i;Yr(e.componentOffset>-1?ot(e.index,n):n);let c=Fv(n,t,i,o),l=a.__ngNextListenerFn__;for(;l;)c=Fv(n,t,l,o)&&c,l=l.__ngNextListenerFn__;return r&&!1===c&&o.preventDefault(),c}}function O(e=1){return function hk(e){return(le.lFrame.contextLView=function Zd(e,n){for(;e>0;)n=n[U3],e--;return n}(e,le.lFrame.contextLView))[o1]}(e)}function sj(e,n){let t=null;const i=function hA(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 r=0;r<n.length;r++){const a=n[r];if("*"!==a){if(null===i?zd(e,a,!0):gA(i,a))return r}else t=r}return t}function Vi(e){const n=T()[S1][V2];if(!n.projection){const i=n.projection=function ts(e,n){const t=[];for(let i=0;i<e;i++)t.push(n);return t}(e?e.length:1,null),r=i.slice();let a=n.child;for(;null!==a;){const o=e?sj(a,e):0;null!==o&&(r[o]?r[o].projectionNext=a:i[o]=a,r[o]=a),a=a.next}}}function zi(e,n=0,t){const i=T(),r=De(),a=ni(r,me+e,16,null,t||null);null===a.projection&&(a.projection=n),S8(),(!i[at]||W3())&&32&~a.flags&&function CO(e,n,t){Bp(n[ce],0,n,t,Cl(e,t,n),Ap(t.parent||n[V2],t,n))}(r,i,a)}function x5(e,n,t){return v4(e,"",n,"",t),x5}function v4(e,n,t,i,r){const a=T(),o=pi(a,n,t,i);return o!==ge&&q2(De(),s1(),a,e,o,a[ce],r,!1),v4}function e2(e,n,t,i){!function Gm(e,n,t,i){const r=De();if(r.firstCreatePass){const a=Ke();$m(r,new Fm(n,t,i),a.index),function fF(e,n){const t=e.contentQueries||(e.contentQueries=[]);n!==(t.length?t[t.length-1]:-1)&&t.push(e.queries.length-1,n)}(r,e),!(2&~t)&&(r.staticContentQueries=!0)}return Um(r,T(),t)}(e,n,t,i)}function t3(e,n,t){!function jm(e,n,t){const i=De();return i.firstCreatePass&&($m(i,new Fm(e,n,t),-1),!(2&~n)&&(i.staticViewQueries=!0)),Um(i,T(),n)}(e,n,t)}function p1(e){const n=T(),t=De(),i=x8();ps(i+1);const r=n5(t,i);if(e.dirty&&function ZA(e){return!(4&~e[J])}(n)===!(2&~r.metadata.flags)){if(null===r.matches)e.reset([]);else{const a=Wm(n,i);e.reset(a,Eh),e.notifyOnChanges()}return!0}return!1}function m1(){return function t5(e,n){return e[kn].queries[n].queryList}(T(),x8())}function v2(e){return function $3(e,n){return e[n]}(function ck(){return le.lFrame.contextLView}(),me+e)}function M(e,n=""){const t=T(),i=De(),r=e+me,a=i.firstCreatePass?ni(i,r,1,n,null):i.data[r],o=a_(i,t,a,n,e);t[r]=o,Sr()&&Us(i,t,o,a),an(a,!1)}let a_=(e,n,t,i,r)=>(on(!0),function gl(e,n){return e.createText(n)}(n[ce],i));function Ot(e){return wt("",e,""),Ot}function wt(e,n,t){const i=T(),r=pi(i,e,n,t);return r!==ge&&Fn(i,S2(),r),wt}function yc(e,n,t,i,r){const a=T(),o=function mi(e,n,t,i,r,a){const s=Z4(e,Rn(),t,r);return On(2),s?n+pe(t)+i+pe(r)+a:ge}(a,e,n,t,i,r);return o!==ge&&Fn(a,S2(),o),yc}function E5(e,n,t,i,r,a,o){const s=T(),c=gi(s,e,n,t,i,r,a,o);return c!==ge&&Fn(s,S2(),c),E5}function ue(e,n,t){Km(n)&&(n=n());const i=T();return O1(i,At(),n)&&q2(De(),s1(),i,e,n,i[ce],t,!1),ue}function he(e,n){const t=Km(e);return t&&e.set(n),t}function fe(e,n){const t=T(),i=De(),r=Ke();return L5(i,t,t[ce],r,e,n),fe}function T5(e,n,t,i,r){if(e=ae(e),Array.isArray(e))for(let a=0;a<e.length;a++)T5(e[a],n,t,i,r);else{const a=De(),o=T(),s=Ke();let c=P4(e)?e:ae(e.provide);const l=Ad(e),u=1048575&s.providerIndexes,f=s.directiveStart,p=s.providerIndexes>>20;if(P4(e)||!e.multi){const g=new Nr(l,r,E),b=A5(c,n,r?u:u+p,f);-1===b?(P8(Cs(s,o),a,c),I5(a,e,n.length),n.push(c),s.directiveStart++,s.directiveEnd++,r&&(s.providerIndexes+=1048576),t.push(g),o.push(g)):(t[b]=g,o[b]=g)}else{const g=A5(c,n,u+p,f),b=A5(c,n,u,u+p),S=b>=0&&t[b];if(r&&!S||!r&&!(g>=0&&t[g])){P8(Cs(s,o),a,c);const L=function zj(e,n,t,i,r){const a=new Nr(e,t,E);return a.multi=[],a.index=n,a.componentProviders=0,d_(a,r,i&&!t),a}(r?Vj:Hj,t.length,r,i,l);!r&&S&&(t[b].providerFactory=L),I5(a,e,n.length,0),n.push(c),s.directiveStart++,s.directiveEnd++,r&&(s.providerIndexes+=1048576),t.push(L),o.push(L)}else I5(a,e,g>-1?g:b,d_(t[r?b:g],l,!r&&i));!r&&i&&S&&t[b].componentProviders++}}}function I5(e,n,t,i){const r=P4(n),a=function VA(e){return!!e.useClass}(n);if(r||a){const c=(a?ae(n.useClass):n).prototype.ngOnDestroy;if(c){const l=e.destroyHooks||(e.destroyHooks=[]);if(!r&&n.multi){const u=l.indexOf(t);-1===u?l.push(t,[i,c]):l[u+1].push(i,c)}else l.push(t,c)}}}function d_(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function A5(e,n,t,i){for(let r=t;r<i;r++)if(n[r]===e)return r;return-1}function Hj(e,n,t,i){return k5(this.multi,[])}function Vj(e,n,t,i){const r=this.multi;let a;if(this.providerFactory){const o=this.providerFactory.componentProviders,s=G4(t,t[U],this.providerFactory.index,i);a=s.slice(0,o),k5(r,a);for(let c=o;c<s.length;c++)a.push(s[c])}else a=[],k5(r,a);return a}function k5(e,n){for(let t=0;t<e.length;t++)n.push((0,e[t])());return n}function n1(e,n=[]){return t=>{t.providersResolver=(i,r)=>function wj(e,n,t){const i=De();if(i.firstCreatePass){const r=It(e);T5(t,i.data,i.blueprint,r,!0),T5(n,i.data,i.blueprint,r,!1)}}(i,r?r(e):e,n)}}let Dj=(()=>{class e{constructor(t){this._injector=t,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){const i=s8(0,t.type),r=i.length>0?ac([i],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,r)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=B({token:e,providedIn:"environment",factory:()=>new e(te(E2))})}return e})();function se(e){hn("NgStandalone"),e.getStandaloneInjector=n=>n.get(Dj).getOrCreateStandaloneInjector(e)}function bc(e,n,t){const i=function I2(){const e=le.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}()+e,r=T();return r[i]===ge?function pn(e,n,t){return e[n]=t}(r,i,t?n.call(t):n()):function aa(e,n){return e[n]}(r,i)}function Q2(e,n){return Ys(e,n)}let I_=(()=>{class e{log(t){console.log(t)}warn(t){console.warn(t)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const P_=new q(""),zc=new q("");let $5,j5=(()=>{class e{constructor(t,i,r){this._ngZone=t,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,$5||(function AG(e){$5=e}(r),r.addToWindow(i)),this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{ve.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,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()}});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(t)||(clearTimeout(i.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,i,r){let a=-1;i&&i>0&&(a=setTimeout(()=>{this._callbacks=this._callbacks.filter(o=>o.timeoutId!==a),t()},i)),this._callbacks.push({doneCb:t,timeoutId:a,updateCb:r})}whenStable(t,i,r){if(r&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,i,r),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,i,r){return[]}static#e=this.\u0275fac=function(i){return new(i||e)(te(ve),te(G5),te(zc))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})(),G5=(()=>{class e{constructor(){this._applications=new Map}registerApplication(t,i){this._applications.set(t,i)}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,i=!0){return $5?.findTestabilityInTree(this,t,i)??null}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Va(e){return!!e&&"function"==typeof e.then}function F_(e){return!!e&&"function"==typeof e.subscribe}const W5=new q("");let q5=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,i)=>{this.resolve=t,this.reject=i}),this.appInits=H(W5,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const r of this.appInits){const a=r();if(Va(a))t.push(a);else if(F_(a)){const o=new Promise((s,c)=>{a.subscribe({complete:s,error:c})});t.push(o)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{i()}).catch(r=>{this.reject(r)}),0===t.length&&i(),this.initialized=!0}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Y5=new q("");let yn=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=H(Lh),this.afterRenderEffectManager=H(ea),this.externalTestViews=new Set,this.beforeRender=new a1,this.afterTick=new a1,this.componentTypes=[],this.components=[],this.isStable=H(oi).hasPendingTasks.pipe(Te(t=>!t)),this._injector=H(E2)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,i){const r=t instanceof _m;if(!this._injector.get(q5).done)throw!r&&function o4(e){const n=He(e)||Q1(e)||m2(e);return null!==n&&n.standalone}(t),new A(405,!1);let o;o=r?t:this._injector.get(Xs).resolveComponentFactory(t),this.componentTypes.push(o.componentType);const s=function kG(e){return e.isBoundToModule}(o)?void 0:this._injector.get(Q4),l=o.create(U1.NULL,[],i||o.selector,s),u=l.location.nativeElement,f=l.injector.get(P_,null);return f?.registerApplication(u),l.onDestroy(()=>{this.detachView(l.hostView),Dc(this.components,l),f?.unregisterApplication(u)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(t){if(this._runningTick)throw new A(101,!1);const i=D(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(t)}catch(r){this.internalErrorHandler(r)}finally{this.afterTick.next(),this._runningTick=!1,D(i)}}detectChangesInAttachedViews(t){let i=0;const r=this.afterRenderEffectManager;for(;;){if(i===cm)throw new A(103,!1);if(t){const a=0===i;this.beforeRender.next(a);for(let{_lView:o,notifyErrorHandler:s}of this._views)OG(o,a,s)}if(i++,r.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:a})=>K5(a))&&(r.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:a})=>K5(a))))break}}attachView(t){const i=t;this._views.push(i),i.attachToAppRef(this)}detachView(t){const i=t;Dc(this._views,i),i.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const i=this._injector.get(Y5,[]);[...this._bootstrapListeners,...i].forEach(r=>r(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),()=>Dc(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new A(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Dc(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function OG(e,n,t){!n&&!K5(e)||function PG(e,n,t){let i;t?(i=0,e[J]|=1024):i=64&e[J]?0:1,qs(e,n,i)}(e,t,n)}function K5(e){return H8(e)}class FG{constructor(n,t){this.ngModuleFactory=n,this.componentFactories=t}}let G_=(()=>{class e{compileModuleSync(t){return new o5(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){const i=this.compileModuleSync(t),a=ct(H2(t).declarations).reduce((o,s)=>{const c=He(s);return c&&o.push(new ia(c)),o},[]);return new FG(i,a)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),jG=(()=>{class e{constructor(){this.zone=H(ve),this.applicationRef=H(yn)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function W_(e){return[{provide:ve,useFactory:e},{provide:O4,multi:!0,useFactory:()=>{const n=H(jG,{optional:!0});return()=>n.initialize()}},{provide:O4,multi:!0,useFactory:()=>{const n=H(WG);return()=>{n.initialize()}}},{provide:Lh,useFactory:GG}]}function GG(){const e=H(ve),n=H(cn);return t=>e.runOutsideAngular(()=>n.handleError(t))}function $G(e){return function as(e){return{\u0275providers:e}}([[],W_(()=>new ve(function q_(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}(e)))])}let WG=(()=>{class e{constructor(){this.subscription=new p2,this.initialized=!1,this.zone=H(ve),this.pendingTasks=H(oi)}initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{ve.assertNotInAngularZone(),queueMicrotask(()=>{null!==t&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ve.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Mn=new q("",{providedIn:"root",factory:()=>H(Mn,ze.Optional|ze.SkipSelf)||function qG(){return typeof $localize<"u"&&$localize.locale||Hi}()}),Q5=new q("");let _4=null;let ut=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=XG}return e})();function XG(e){return function e$(e,n,t){if(B4(e)&&!t){const i=ot(e.index,n);return new Kr(i,i)}return 47&e.type?new Kr(n[S1],n):null}(Ke(),T(),!(16&~e))}class nC{constructor(){}supports(n){return sc(n)}create(n){return new a$(n)}}const r$=(e,n)=>n;class a${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||r$}forEachItem(n){let t;for(t=this._itHead;null!==t;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,i=this._removalsHead,r=0,a=null;for(;t||i;){const o=!i||t&&t.currentIndex<rC(i,r,a)?t:i,s=rC(o,r,a),c=o.currentIndex;if(o===i)r--,i=i._nextRemoved;else if(t=t._next,null==o.previousIndex)r++;else{a||(a=[]);const l=s-r,u=c-r;if(l!=u){for(let p=0;p<l;p++){const g=p<a.length?a[p]:a[p]=0,b=g+p;u<=b&&b<l&&(a[p]=g+1)}a[o.previousIndex]=u-l}}s!==c&&n(o,s,c)}}forEachPreviousItem(n){let t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)n(t)}forEachAddedItem(n){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)n(t)}forEachMovedItem(n){let t;for(t=this._movesHead;null!==t;t=t._nextMoved)n(t)}forEachRemovedItem(n){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)n(t)}forEachIdentityChange(n){let t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)n(t)}diff(n){if(null==n&&(n=[]),!sc(n))throw new A(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let r,a,o,t=this._itHead,i=!1;if(Array.isArray(n)){this.length=n.length;for(let s=0;s<this.length;s++)a=n[s],o=this._trackByFn(s,a),null!==t&&Object.is(t.trackById,o)?(i&&(t=this._verifyReinsertion(t,a,o,s)),Object.is(t.item,a)||this._addIdentityChange(t,a)):(t=this._mismatch(t,a,o,s),i=!0),t=t._next}else r=0,function kF(e,n){if(Array.isArray(e))for(let t=0;t<e.length;t++)n(e[t]);else{const t=e[Symbol.iterator]();let i;for(;!(i=t.next()).done;)n(i.value)}}(n,s=>{o=this._trackByFn(r,s),null!==t&&Object.is(t.trackById,o)?(i&&(t=this._verifyReinsertion(t,s,o,r)),Object.is(t.item,s)||this._addIdentityChange(t,s)):(t=this._mismatch(t,s,o,r),i=!0),t=t._next,r++}),this.length=r;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,i,r){let a;return null===n?a=this._itTail:(a=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,a,r)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,a,r)):n=this._addAfter(new o$(t,i),a,r),n}_verifyReinsertion(n,t,i,r){let a=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==a?n=this._reinsertAfter(a,n._prev,r):n.currentIndex!=r&&(n.currentIndex=r,this._addToMoves(n,r)),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,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const r=n._prevRemoved,a=n._nextRemoved;return null===r?this._removalsHead=a:r._nextRemoved=a,null===a?this._removalsTail=r:a._prevRemoved=r,this._insertAfter(n,t,i),this._addToMoves(n,i),n}_moveAfter(n,t,i){return this._unlink(n),this._insertAfter(n,t,i),this._addToMoves(n,i),n}_addAfter(n,t,i){return this._insertAfter(n,t,i),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,t,i){const r=null===t?this._itHead:t._next;return n._next=r,n._prev=t,null===r?this._itTail=n:r._prev=n,null===t?this._itHead=n:t._next=n,null===this._linkedRecords&&(this._linkedRecords=new iC),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const t=n._prev,i=n._next;return null===t?this._itHead=i:t._next=i,null===i?this._itTail=t:i._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 iC),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 o${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 s${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 i;for(i=this._head;null!==i;i=i._nextDup)if((null===t||t<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){const t=n._prevDup,i=n._nextDup;return null===t?this._head=i:t._nextDup=i,null===i?this._tail=t:i._prevDup=t,null===this._head}}class iC{constructor(){this.map=new Map}put(n){const t=n.trackById;let i=this.map.get(t);i||(i=new s$,this.map.set(t,i)),i.add(n)}get(n,t){const r=this.map.get(n);return r?r.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 rC(e,n,t){const i=e.previousIndex;if(null===i)return i;let r=0;return t&&i<t.length&&(r=t[i]),i+n+r}function oC(){return new n7([new nC])}let n7=(()=>{class e{static#e=this.\u0275prov=B({token:e,providedIn:"root",factory:oC});constructor(t){this.factories=t}static create(t,i){if(null!=i){const r=i.factories.slice();t=t.concat(r)}return new e(t)}static extend(t){return{provide:e,useFactory:i=>e.create(t,i||oC()),deps:[[e,new Xo,new Jo]]}}find(t){const i=this.factories.find(r=>r.supports(t));if(null!=i)return i;throw new A(901,!1)}}return e})(),d$=(()=>{class e{constructor(t){}static#e=this.\u0275fac=function(i){return new(i||e)(te(yn))};static#t=this.\u0275mod=Ze({type:e});static#n=this.\u0275inj=Ye({})}return e})();function D$(e){try{const{rootComponent:n,appProviders:t,platformProviders:i}=e,r=function JG(e=[]){if(_4)return _4;const n=function Q_(e=[],n){return U1.create({name:n,providers:[{provide:u8,useValue:"platform"},{provide:Q5,useValue:new Set([()=>_4=null])},...e]})}(e);return _4=n,function B_(){!function k0(e){Ro=e}(()=>{throw new A(600,!1)})}(),function Z_(e){e.get(Jh,null)?.forEach(t=>t())}(n),n}(i),a=[$G(),...t||[]],s=new dg({providers:a,parent:r,debugName:"",runEnvironmentInitializers:!1}).injector,c=s.get(ve);return c.run(()=>{s.resolveInjectorInitializers();const l=s.get(cn,null);let u;c.runOutsideAngular(()=>{u=c.onError.subscribe({next:g=>{l.handleError(g)}})});const f=()=>s.destroy(),p=r.get(Q5);return p.add(f),s.onDestroy(()=>{u.unsubscribe(),p.delete(f)}),function U_(e,n,t){try{const i=t();return Va(i)?i.catch(r=>{throw n.runOutsideAngular(()=>e.handleError(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>e.handleError(i)),i}}(l,c,()=>{const g=s.get(q5);return g.runInitializers(),g.donePromise.then(()=>{!function pv(e){"string"==typeof e&&(hv=e.toLowerCase().replace(/_/g,"-"))}(s.get(Mn,Hi)||Hi);const w=s.get(yn);return void 0!==n&&w.bootstrap(n),w})})})}catch(n){return Promise.reject(n)}}function Li(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function a7(e,n){const t=He(e),i=n.elementInjector||cs();return new ia(t).create(i,n.projectableNodes,n.hostElement,n.environmentInjector)}function C4(e){return this instanceof C4?(this.v=e,this):new C4(e)}function TC(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function l7(e){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&e[n],i=0;if(t)return t.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(a){t[a]=e[a]&&function(o){return new Promise(function(s,c){!function r(a,o,s,c){Promise.resolve(c).then(function(l){a({value:l,done:s})},o)}(s,c,(o=e[a](o)).done,o.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const u7=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function IC(e){return Le(e?.then)}function AC(e){return Le(e[B0])}function kC(e){return Symbol.asyncIterator&&Le(e?.[Symbol.asyncIterator])}function RC(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const OC=function vW(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function PC(e){return Le(e?.[OC])}function FC(e){return function EC(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=t.apply(e,n||[]),a=[];return r={},o("next"),o("throw"),o("return"),r[Symbol.asyncIterator]=function(){return this},r;function o(p){i[p]&&(r[p]=function(g){return new Promise(function(b,w){a.push([p,g,b,w])>1||s(p,g)})})}function s(p,g){try{!function c(p){p.value instanceof C4?Promise.resolve(p.value.v).then(l,u):f(a[0][2],p)}(i[p](g))}catch(b){f(a[0][3],b)}}function l(p){s("next",p)}function u(p){s("throw",p)}function f(p,g){p(g),a.shift(),a.length&&s(a[0][0],a[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:i,done:r}=yield C4(t.read());if(r)return yield C4(void 0);yield yield C4(i)}}finally{t.releaseLock()}})}function BC(e){return Le(e?.getReader)}function _2(e){if(e instanceof d1)return e;if(null!=e){if(AC(e))return function _W(e){return new d1(n=>{const t=e[B0]();if(Le(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(u7(e))return function CW(e){return new d1(n=>{for(let t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete()})}(e);if(IC(e))return function yW(e){return new d1(n=>{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,tt)})}(e);if(kC(e))return UC(e);if(PC(e))return function MW(e){return new d1(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(BC(e))return function bW(e){return UC(FC(e))}(e)}throw RC(e)}function UC(e){return new d1(n=>{(function wW(e,n){var t,i,r,a;return function LC(e,n,t,i){return new(t||(t=Promise))(function(a,o){function s(u){try{l(i.next(u))}catch(f){o(f)}}function c(u){try{l(i.throw(u))}catch(f){o(f)}}function l(u){u.done?a(u.value):function r(a){return a instanceof t?a:new t(function(o){o(a)})}(u.value).then(s,c)}l((i=i.apply(e,n||[])).next())})}(this,void 0,void 0,function*(){try{for(t=TC(e);!(i=yield t.next()).done;)if(n.next(i.value),n.closed)return}catch(o){r={error:o}}finally{try{i&&!i.done&&(a=t.return)&&(yield a.call(t))}finally{if(r)throw r.error}}n.complete()})})(e,n).catch(t=>n.error(t))})}function Bn(e,n,t,i=0,r=!1){const a=n.schedule(function(){t(),r?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(a),!r)return a}function jC(e,n=0){return B1((t,i)=>{t.subscribe(h1(i,r=>Bn(i,e,()=>i.next(r),n),()=>Bn(i,e,()=>i.complete(),n),r=>Bn(i,e,()=>i.error(r),n)))})}function GC(e,n=0){return B1((t,i)=>{i.add(e.schedule(()=>t.subscribe(i),n))})}function $C(e,n){if(!e)throw new Error("Iterable cannot be null");return new d1(t=>{Bn(t,n,()=>{const i=e[Symbol.asyncIterator]();Bn(t,n,()=>{i.next().then(r=>{r.done?t.complete():t.next(r.value)})},0,!0)})})}function n2(e,n){return n?function NW(e,n){if(null!=e){if(AC(e))return function HW(e,n){return _2(e).pipe(GC(n),jC(n))}(e,n);if(u7(e))return function zW(e,n){return new d1(t=>{let i=0;return n.schedule(function(){i===e.length?t.complete():(t.next(e[i++]),t.closed||this.schedule())})})}(e,n);if(IC(e))return function VW(e,n){return _2(e).pipe(GC(n),jC(n))}(e,n);if(kC(e))return $C(e,n);if(PC(e))return function DW(e,n){return new d1(t=>{let i;return Bn(t,n,()=>{i=e[OC](),Bn(t,n,()=>{let r,a;try{({value:r,done:a}=i.next())}catch(o){return void t.error(o)}a?t.complete():t.next(r)},0,!0)}),()=>Le(i?.return)&&i.return()})}(e,n);if(BC(e))return function SW(e,n){return $C(FC(e),n)}(e,n)}throw RC(e)}(e,n):_2(e)}function WC(e){return e&&Le(e.schedule)}function f7(e){return e[e.length-1]}function Rc(e){return Le(f7(e))?e.pop():void 0}function Sa(e){return WC(f7(e))?e.pop():void 0}function ie(...e){return n2(e,Sa(e))}const{isArray:xW}=Array,{getPrototypeOf:EW,prototype:TW,keys:IW}=Object;function qC(e){if(1===e.length){const n=e[0];if(xW(n))return{args:n,keys:null};if(function AW(e){return e&&"object"==typeof e&&EW(e)===TW}(n)){const t=IW(n);return{args:t.map(i=>n[i]),keys:t}}}return{args:e,keys:null}}const{isArray:kW}=Array;function d7(e){return Te(n=>function RW(e,n){return kW(n)?e(...n):e(n)}(e,n))}function YC(e,n){return e.reduce((t,i,r)=>(t[i]=n[r],t),{})}function h7(...e){const n=Sa(e),t=Rc(e),{args:i,keys:r}=qC(e);if(0===i.length)return n2([],n);const a=new d1(function OW(e,n,t=En){return i=>{KC(n,()=>{const{length:r}=e,a=new Array(r);let o=r,s=r;for(let c=0;c<r;c++)KC(n,()=>{const l=n2(e[c],n);let u=!1;l.subscribe(h1(i,f=>{a[c]=f,u||(u=!0,s--),s||i.next(t(a.slice()))},()=>{--o||i.complete()}))},i)},i)}}(i,n,r?o=>YC(r,o):En));return t?a.pipe(d7(t)):a}function KC(e,n,t){e?Bn(t,e,n):n()}const Oc=Zt(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function r2(e,n,t=1/0){return Le(n)?r2((i,r)=>Te((a,o)=>n(i,a,r,o))(_2(e(i,r))),t):("number"==typeof n&&(t=n),B1((i,r)=>function PW(e,n,t,i,r,a,o,s){const c=[];let l=0,u=0,f=!1;const p=()=>{f&&!c.length&&!l&&n.complete()},g=w=>l<i?b(w):c.push(w),b=w=>{a&&n.next(w),l++;let S=!1;_2(t(w,u++)).subscribe(h1(n,L=>{r?.(L),a?g(L):n.next(L)},()=>{S=!0},void 0,()=>{if(S)try{for(l--;c.length&&l<i;){const L=c.shift();o?Bn(n,o,()=>b(L)):b(L)}p()}catch(L){n.error(L)}}))};return e.subscribe(h1(n,g,()=>{f=!0,p()})),()=>{s?.()}}(i,r,e,t)))}function xi(e=1/0){return r2(En,e)}function Na(...e){return function FW(){return xi(1)}()(n2(e,Sa(e)))}function QC(e){return new d1(n=>{_2(e()).subscribe(n)})}function Pc(e,n){const t=Le(e)?e:()=>e,i=r=>r.error(t());return new d1(n?r=>n.schedule(i,0,r):i)}const ft=new d1(e=>e.complete());function p7(){return B1((e,n)=>{let t=null;e._refCount++;const i=h1(n,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(t=null);const r=e._connection,a=t;t=null,r&&(!a||r===a)&&r.unsubscribe(),n.unsubscribe()});e.subscribe(i),i.closed||(t=e.connect())})}class ZC extends d1{constructor(n,t){super(),this.source=n,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,rd(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){const n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new p2;const t=this.getSubject();n.add(this.source.subscribe(h1(t,void 0,()=>{this._teardown(),t.complete()},i=>{this._teardown(),t.error(i)},()=>this._teardown()))),n.closed&&(this._connection=null,n=p2.EMPTY)}return n}refCount(){return p7()(this)}}let JC=null;function y4(){return JC}class jW{}const N1=new q("");let m7=(()=>{class e{historyGo(t){throw new Error("")}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=B({token:e,factory:()=>H($W),providedIn:"platform"})}return e})();const GW=new q("");let $W=(()=>{class e extends m7{constructor(){super(),this._doc=H(N1),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return y4().getBaseHref(this._doc)}onPopState(t){const i=y4().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",t,!1),()=>i.removeEventListener("popstate",t)}onHashChange(t){const i=y4().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",t,!1),()=>i.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,i,r){this._history.pushState(t,i,r)}replaceState(t,i,r){this._history.replaceState(t,i,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=B({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function g7(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 XC(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 Un(e){return e&&"?"!==e[0]?"?"+e:e}let M4=(()=>{class e{historyGo(t){throw new Error("")}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=B({token:e,factory:()=>H(ty),providedIn:"root"})}return e})();const ey=new q("");let ty=(()=>{class e extends M4{constructor(t,i){super(),this._platformLocation=t,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??H(N1).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 g7(this._baseHref,t)}path(t=!1){const i=this._platformLocation.pathname+Un(this._platformLocation.search),r=this._platformLocation.hash;return r&&t?`${i}${r}`:i}pushState(t,i,r,a){const o=this.prepareExternalUrl(r+Un(a));this._platformLocation.pushState(t,i,o)}replaceState(t,i,r,a){const o=this.prepareExternalUrl(r+Un(a));this._platformLocation.replaceState(t,i,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static#e=this.\u0275fac=function(i){return new(i||e)(te(m7),te(ey,8))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ny=(()=>{class e extends M4{constructor(t,i){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],null!=i&&(this._baseHref=i)}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){const i=this._platformLocation.hash??"#";return i.length>0?i.substring(1):i}prepareExternalUrl(t){const i=g7(this._baseHref,t);return i.length>0?"#"+i:i}pushState(t,i,r,a){let o=this.prepareExternalUrl(r+Un(a));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(t,i,o)}replaceState(t,i,r,a){let o=this.prepareExternalUrl(r+Un(a));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(t,i,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static#e=this.\u0275fac=function(i){return new(i||e)(te(m7),te(ey,8))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})(),La=(()=>{class e{constructor(t){this._subject=new Z,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=t;const i=this._locationStrategy.getBaseHref();this._basePath=function YW(e){if(new RegExp("^(https?:)?//").test(e)){const[,t]=e.split(/\/\/[^\/]+/);return t}return e}(XC(iy(i))),this._locationStrategy.onPopState(r=>{this._subject.emit({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,i=""){return this.path()==this.normalize(t+Un(i))}normalize(t){return e.stripTrailingSlash(function qW(e,n){if(!e||!n.startsWith(e))return n;const t=n.substring(e.length);return""===t||["/",";","?","#"].includes(t[0])?t:n}(this._basePath,iy(t)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,i="",r=null){this._locationStrategy.pushState(r,"",t,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Un(i)),r)}replaceState(t,i="",r=null){this._locationStrategy.replaceState(r,"",t,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Un(i)),r)}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.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}),()=>{const i=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(i,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",i){this._urlChangeListeners.forEach(r=>r(t,i))}subscribe(t,i,r){return this._subject.subscribe({next:t,error:i,complete:r})}static#e=this.normalizeQueryParams=Un;static#t=this.joinWithSlash=g7;static#n=this.stripTrailingSlash=XC;static#i=this.\u0275fac=function(i){return new(i||e)(te(M4))};static#r=this.\u0275prov=B({token:e,factory:()=>function WW(){return new La(te(M4))}(),providedIn:"root"})}return e})();function iy(e){return e.replace(/\/index.html$/,"")}class Eq{constructor(n,t,i,r){this.$implicit=n,this.ngForOf=t,this.index=i,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Zc=(()=>{class e{set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}constructor(t,i,r){this._viewContainer=t,this._template=i,this._differs=r,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 i=this._viewContainer;t.forEachOperation((r,a,o)=>{if(null==r.previousIndex)i.createEmbeddedView(this._template,new Eq(r.item,this._ngForOf,-1,-1),null===o?void 0:o);else if(null==o)i.remove(null===a?void 0:a);else if(null!==a){const s=i.get(a);i.move(s,o),gy(s,r)}});for(let r=0,a=i.length;r<a;r++){const s=i.get(r).context;s.index=r,s.count=a,s.ngForOf=this._ngForOf}t.forEachIdentityChange(r=>{gy(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(t,i){return!0}static#e=this.\u0275fac=function(i){return new(i||e)(E(Y2),E(I1),E(n7))};static#t=this.\u0275dir=$({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return e})();function gy(e,n){e.context.$implicit=n.item}let Z2=(()=>{class e{constructor(t,i){this._viewContainer=t,this._context=new Tq,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){vy("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){vy("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,i){return!0}static#e=this.\u0275fac=function(i){return new(i||e)(E(Y2),E(I1))};static#t=this.\u0275dir=$({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class Tq{constructor(){this.$implicit=null,this.ngIf=null}}function vy(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${K1(n)}'.`)}let Ti=(()=>{class e{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(t){if(this._shouldRecreateView(t)){const i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const r=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,i,r)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,i,r),get:(t,i,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,r)}})}static#e=this.\u0275fac=function(i){return new(i||e)(E(Y2))};static#t=this.\u0275dir=$({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[T1]})}return e})(),sY=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Ze({type:e});static#n=this.\u0275inj=Ye({})}return e})();const yy="browser";function My(e){return"server"===e}let dY=(()=>{class e{static#e=this.\u0275prov=B({token:e,providedIn:"root",factory:()=>function fY(e){return e===yy}(H($4))?new hY(H(N1),window):new mY})}return e})();class hY{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.window.scrollX,this.window.scrollY]}scrollToPosition(n){this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){const t=function pY(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 i=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let r=i.currentNode;for(;r;){const a=r.shadowRoot;if(a){const o=a.getElementById(n)||a.querySelector(`[name="${n}"]`);if(o)return o}r=i.nextNode()}}return null}(this.document,n);t&&(this.scrollToElement(t),t.focus())}setHistoryScrollRestoration(n){this.window.history.scrollRestoration=n}scrollToElement(n){const t=n.getBoundingClientRect(),i=t.left+this.window.pageXOffset,r=t.top+this.window.pageYOffset,a=this.offset();this.window.scrollTo(i-a[0],r-a[1])}}class mY{setOffset(n){}getScrollPosition(){return[0,0]}scrollToPosition(n){}scrollToAnchor(n){}setHistoryScrollRestoration(n){}}function Bt(e,n){return B1((t,i)=>{let r=null,a=0,o=!1;const s=()=>o&&!r&&i.complete();t.subscribe(h1(i,c=>{r?.unsubscribe();let l=0;const u=a++;_2(e(c,u)).subscribe(r=h1(i,f=>i.next(n?n(c,f,u,l++):f),()=>{r=null,s()}))},()=>{o=!0,s()}))})}function C2(e){return e<=0?()=>ft:B1((n,t)=>{let i=0;n.subscribe(h1(t,r=>{++i<=e&&(t.next(r),e<=i&&t.complete())}))})}function l2(e,n){return B1((t,i)=>{let r=0;t.subscribe(h1(i,a=>e.call(n,a,r++)&&i.next(a)))})}function t6(e){return B1((n,t)=>{let i=!1;n.subscribe(h1(t,r=>{i=!0,t.next(r)},()=>{i||t.next(e),t.complete()}))})}function xy(e=GY){return B1((n,t)=>{let i=!1;n.subscribe(h1(t,r=>{i=!0,t.next(r)},()=>i?t.complete():t.error(e())))})}function GY(){return new Oc}function i3(e,n){const t=arguments.length>=2;return i=>i.pipe(e?l2((r,a)=>e(r,a,i)):En,C2(1),t?t6(n):xy(()=>new Oc))}function Ia(e,n){return Le(n)?r2(e,n,1):r2(e,1)}function u2(e,n,t){const i=Le(e)||n||t?{next:e,error:n,complete:t}:e;return i?B1((r,a)=>{var o;null===(o=i.subscribe)||void 0===o||o.call(i);let s=!0;r.subscribe(h1(a,c=>{var l;null===(l=i.next)||void 0===l||l.call(i,c),a.next(c)},()=>{var c;s=!1,null===(c=i.complete)||void 0===c||c.call(i),a.complete()},c=>{var l;s=!1,null===(l=i.error)||void 0===l||l.call(i,c),a.error(c)},()=>{var c,l;s&&(null===(c=i.unsubscribe)||void 0===c||c.call(i)),null===(l=i.finalize)||void 0===l||l.call(i)}))}):En}function Ii(e){return B1((n,t)=>{let a,i=null,r=!1;i=n.subscribe(h1(t,void 0,void 0,o=>{a=_2(e(o,Ii(e)(n))),i?(i.unsubscribe(),i=null,a.subscribe(t)):r=!0})),r&&(i.unsubscribe(),i=null,a.subscribe(t))})}function T7(e){return e<=0?()=>ft:B1((n,t)=>{let i=[];n.subscribe(h1(t,r=>{i.push(r),e<i.length&&i.shift()},()=>{for(const r of i)t.next(r);t.complete()},void 0,()=>{i=null}))})}function Ey(e){return Te(()=>e)}function I7(e){return B1((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}function y2(e){return B1((n,t)=>{_2(e).subscribe(h1(t,()=>t.complete(),xn)),!t.closed&&n.subscribe(t)})}class YY extends jW{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class A7 extends YY{static makeCurrent(){!function UW(e){JC??=e}(new A7)}onAndCancel(n,t,i){return n.addEventListener(t,i),()=>{n.removeEventListener(t,i)}}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 KY(){return Aa=Aa||document.querySelector("base"),Aa?Aa.getAttribute("href"):null}();return null==t?null:function QY(e){return new URL(e,document.baseURI).pathname}(t)}resetBaseElement(){Aa=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return function Nq(e,n){n=encodeURIComponent(n);for(const t of e.split(";")){const i=t.indexOf("="),[r,a]=-1==i?[t,""]:[t.slice(0,i),t.slice(i+1)];if(r.trim()===n)return decodeURIComponent(a)}return null}(document.cookie,n)}}let Aa=null,JY=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})();const k7=new q("");let Ty=(()=>{class e{constructor(t,i){this._zone=i,this._eventNameToPlugin=new Map,t.forEach(r=>{r.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,i,r){return this._findPluginFor(i).addEventListener(t,i,r)}getZone(){return this._zone}_findPluginFor(t){let i=this._eventNameToPlugin.get(t);if(i)return i;if(i=this._plugins.find(a=>a.supports(t)),!i)throw new A(5101,!1);return this._eventNameToPlugin.set(t,i),i}static#e=this.\u0275fac=function(i){return new(i||e)(te(k7),te(ve))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})();class Iy{constructor(n){this._doc=n}}const R7="ng-app-id";let Ay=(()=>{class e{constructor(t,i,r,a={}){this.doc=t,this.appId=i,this.nonce=r,this.platformId=a,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=My(a),this.resetHostNodes()}addStyles(t){for(const i of t)1===this.changeUsageCount(i,1)&&this.onStyleAdded(i)}removeStyles(t){for(const i of t)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){const t=this.styleNodesInDOM;t&&(t.forEach(i=>i.remove()),t.clear());for(const i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(const i of this.getAllStyles())this.addStyleToHost(t,i)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(const i of this.hostNodes)this.addStyleToHost(i,t)}onStyleRemoved(t){const i=this.styleRef;i.get(t)?.elements?.forEach(r=>r.remove()),i.delete(t)}collectServerRenderedStyles(){const t=this.doc.head?.querySelectorAll(`style[${R7}="${this.appId}"]`);if(t?.length){const i=new Map;return t.forEach(r=>{null!=r.textContent&&i.set(r.textContent,r)}),i}return null}changeUsageCount(t,i){const r=this.styleRef;if(r.has(t)){const a=r.get(t);return a.usage+=i,a.usage}return r.set(t,{usage:i,elements:[]}),i}getStyleElement(t,i){const r=this.styleNodesInDOM,a=r?.get(i);if(a?.parentNode===t)return r.delete(i),a.removeAttribute(R7),a;{const o=this.doc.createElement("style");return this.nonce&&o.setAttribute("nonce",this.nonce),o.textContent=i,this.platformIsServer&&o.setAttribute(R7,this.appId),t.appendChild(o),o}}addStyleToHost(t,i){const r=this.getStyleElement(t,i),a=this.styleRef,o=a.get(i)?.elements;o?o.push(r):a.set(i,{elements:[r],usage:1})}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}static#e=this.\u0275fac=function(i){return new(i||e)(te(N1),te(zs),te(Xh,8),te($4))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})();const O7={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/"},P7=/%COMP%/g,nK=new q("",{providedIn:"root",factory:()=>!0});function Ry(e,n){return n.map(t=>t.replace(P7,e))}let Oy=(()=>{class e{constructor(t,i,r,a,o,s,c,l=null){this.eventManager=t,this.sharedStylesHost=i,this.appId=r,this.removeStylesOnCompDestroy=a,this.doc=o,this.platformId=s,this.ngZone=c,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=My(s),this.defaultRenderer=new F7(t,o,c,this.platformIsServer)}createRenderer(t,i){if(!t||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Lt.ShadowDom&&(i={...i,encapsulation:Lt.Emulated});const r=this.getOrCreateRenderer(t,i);return r instanceof Fy?r.applyToHost(t):r instanceof B7&&r.applyStyles(),r}getOrCreateRenderer(t,i){const r=this.rendererByCompId;let a=r.get(i.id);if(!a){const o=this.doc,s=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(i.encapsulation){case Lt.Emulated:a=new Fy(c,l,i,this.appId,u,o,s,f);break;case Lt.ShadowDom:return new oK(c,l,t,i,o,s,this.nonce,f);default:a=new B7(c,l,i,u,o,s,f)}r.set(i.id,a)}return a}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(i){return new(i||e)(te(Ty),te(Ay),te(zs),te(nK),te(N1),te($4),te(ve),te(Xh))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})();class F7{constructor(n,t,i,r){this.eventManager=n,this.doc=t,this.ngZone=i,this.platformIsServer=r,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(n,t){return t?this.doc.createElementNS(O7[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(Py(n)?n.content:n).appendChild(t)}insertBefore(n,t,i){n&&(Py(n)?n.content:n).insertBefore(t,i)}removeChild(n,t){n&&n.removeChild(t)}selectRootElement(n,t){let i="string"==typeof n?this.doc.querySelector(n):n;if(!i)throw new A(-5104,!1);return t||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,i,r){if(r){t=r+":"+t;const a=O7[r];a?n.setAttributeNS(a,t,i):n.setAttribute(t,i)}else n.setAttribute(t,i)}removeAttribute(n,t,i){if(i){const r=O7[i];r?n.removeAttributeNS(r,t):n.removeAttribute(`${i}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,i,r){r&(f4.DashCase|f4.Important)?n.style.setProperty(t,i,r&f4.Important?"important":""):n.style[t]=i}removeStyle(n,t,i){i&f4.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,i){null!=n&&(n[t]=i)}setValue(n,t){n.nodeValue=t}listen(n,t,i){if("string"==typeof n&&!(n=y4().getGlobalEventTarget(this.doc,n)))throw new Error(`Unsupported event target ${n} for event ${t}`);return this.eventManager.addEventListener(n,t,this.decoratePreventDefault(i))}decoratePreventDefault(n){return t=>{if("__ngUnwrap__"===t)return n;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>n(t)):n(t))&&t.preventDefault()}}}function Py(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class oK extends F7{constructor(n,t,i,r,a,o,s,c){super(n,a,o,c),this.sharedStylesHost=t,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const l=Ry(r.id,r.styles);for(const u of l){const f=document.createElement("style");s&&f.setAttribute("nonce",s),f.textContent=u,this.shadowRoot.appendChild(f)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,i){return super.insertBefore(this.nodeOrShadowRoot(n),t,i)}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 B7 extends F7{constructor(n,t,i,r,a,o,s,c){super(n,a,o,s),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=r,this.styles=c?Ry(c,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Fy extends B7{constructor(n,t,i,r,a,o,s,c){const l=r+"-"+i.id;super(n,t,i,a,o,s,c,l),this.contentAttr=function iK(e){return"_ngcontent-%COMP%".replace(P7,e)}(l),this.hostAttr=function rK(e){return"_nghost-%COMP%".replace(P7,e)}(l)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){const i=super.createElement(n,t);return super.setAttribute(i,this.contentAttr,""),i}}let sK=(()=>{class e extends Iy{constructor(t){super(t)}supports(t){return!0}addEventListener(t,i,r){return t.addEventListener(i,r,!1),()=>this.removeEventListener(t,i,r)}removeEventListener(t,i,r){return t.removeEventListener(i,r)}static#e=this.\u0275fac=function(i){return new(i||e)(te(N1))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})();const By=["alt","control","meta","shift"],cK={"\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"},lK={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let uK=(()=>{class e extends Iy{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,i,r){const a=e.parseEventName(i),o=e.eventCallback(a.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>y4().onAndCancel(t,a.domEventName,o))}static parseEventName(t){const i=t.toLowerCase().split("."),r=i.shift();if(0===i.length||"keydown"!==r&&"keyup"!==r)return null;const a=e._normalizeKey(i.pop());let o="",s=i.indexOf("code");if(s>-1&&(i.splice(s,1),o="code."),By.forEach(l=>{const u=i.indexOf(l);u>-1&&(i.splice(u,1),o+=l+".")}),o+=a,0!=i.length||0===a.length)return null;const c={};return c.domEventName=r,c.fullKey=o,c}static matchEventFullKeyCode(t,i){let r=cK[t.key]||t.key,a="";return i.indexOf("code.")>-1&&(r=t.code,a="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),By.forEach(o=>{o!==r&&(0,lK[o])(t)&&(a+=o+".")}),a+=r,a===i)}static eventCallback(t,i,r){return a=>{e.matchEventFullKeyCode(a,t)&&r.runGuarded(()=>i(a))}}static _normalizeKey(t){return"esc"===t?"escape":t}static#e=this.\u0275fac=function(i){return new(i||e)(te(N1))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})();function Uy(e){return{appProviders:[...Gy,...e?.providers??[]],platformProviders:mK}}const mK=[{provide:$4,useValue:yy},{provide:Jh,useValue:function dK(){A7.makeCurrent()},multi:!0},{provide:N1,useFactory:function pK(){return function cR(e){Y8=e}(document),document},deps:[]}],gK=new q(""),jy=[{provide:zc,useClass:class ZY{addToWindow(n){Ue.getAngularTestability=(i,r=!0)=>{const a=n.findTestabilityInTree(i,r);if(null==a)throw new A(5103,!1);return a},Ue.getAllAngularTestabilities=()=>n.getAllTestabilities(),Ue.getAllAngularRootElements=()=>n.getAllRootElements(),Ue.frameworkStabilizers||(Ue.frameworkStabilizers=[]),Ue.frameworkStabilizers.push(i=>{const r=Ue.getAllAngularTestabilities();let a=r.length;const o=function(){a--,0==a&&i()};r.forEach(s=>{s.whenStable(o)})})}findTestabilityInTree(n,t,i){return null==t?null:n.getTestability(t)??(i?y4().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:P_,useClass:j5,deps:[ve,G5,zc]},{provide:j5,useClass:j5,deps:[ve,G5,zc]}],Gy=[{provide:u8,useValue:"root"},{provide:cn,useFactory:function hK(){return new cn},deps:[]},{provide:k7,useClass:sK,multi:!0,deps:[N1,ve,$4]},{provide:k7,useClass:uK,multi:!0,deps:[N1]},Oy,Ay,Ty,{provide:ym,useExisting:Oy},{provide:class gY{},useClass:JY,deps:[]},[]];let vK=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:zs,useValue:t.appId}]}}static#e=this.\u0275fac=function(i){return new(i||e)(te(gK,12))};static#t=this.\u0275mod=Ze({type:e});static#n=this.\u0275inj=Ye({providers:[...Gy,...jy],imports:[sY,d$]})}return e})(),_K=(()=>{class e{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}static#e=this.\u0275fac=function(i){return new(i||e)(te(N1))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),qy=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=B({token:e,factory:function(i){let r=null;return r=i?new(i||e):te(bK),r},providedIn:"root"})}return e})(),bK=(()=>{class e extends qy{constructor(t){super(),this._doc=t}sanitize(t,i){if(null==i)return null;switch(t){case Mt.NONE:return i;case Mt.HTML:return un(i,"HTML")?st(i):_p(this._doc,String(i)).toString();case Mt.STYLE:return un(i,"Style")?st(i):i;case Mt.SCRIPT:if(un(i,"Script"))return st(i);throw new A(5200,!1);case Mt.URL:return un(i,"URL")?st(i):As(String(i));case Mt.RESOURCE_URL:if(un(i,"ResourceURL"))return st(i);throw new A(5201,!1);default:throw new A(5202,!1)}}bypassSecurityTrustHtml(t){return function NR(e){return new wR(e)}(t)}bypassSecurityTrustStyle(t){return function LR(e){return new HR(e)}(t)}bypassSecurityTrustScript(t){return function xR(e){return new VR(e)}(t)}bypassSecurityTrustUrl(t){return function ER(e){return new zR(e)}(t)}bypassSecurityTrustResourceUrl(t){return function TR(e){return new DR(e)}(t)}static#e=this.\u0275fac=function(i){return new(i||e)(te(N1))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Ce="primary",Ra=Symbol("RouteTitle");class wK{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 Ai(e){return new wK(e)}function HK(e,n,t){const i=t.path.split("/");if(i.length>e.length||"full"===t.pathMatch&&(n.hasChildren()||i.length<e.length))return null;const r={};for(let a=0;a<i.length;a++){const o=i[a],s=e[a];if(o.startsWith(":"))r[o.substring(1)]=s;else if(o!==s.path)return null}return{consumed:e.slice(0,i.length),posParams:r}}function bn(e,n){const t=e?U7(e):void 0,i=n?U7(n):void 0;if(!t||!i||t.length!=i.length)return!1;let r;for(let a=0;a<t.length;a++)if(r=t[a],!Ky(e[r],n[r]))return!1;return!0}function U7(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function Ky(e,n){if(Array.isArray(e)&&Array.isArray(n)){if(e.length!==n.length)return!1;const t=[...e].sort(),i=[...n].sort();return t.every((r,a)=>i[a]===r)}return e===n}function Qy(e){return e.length>0?e[e.length-1]:null}function b4(e){return function K$(e){return!!e&&(e instanceof d1||Le(e.lift)&&Le(e.subscribe))}(e)?e:Va(e)?n2(Promise.resolve(e)):ie(e)}const zK={exact:function Xy(e,n,t){if(!r3(e.segments,n.segments)||!n6(e.segments,n.segments,t)||e.numberOfChildren!==n.numberOfChildren)return!1;for(const i in n.children)if(!e.children[i]||!Xy(e.children[i],n.children[i],t))return!1;return!0},subset:eM},Zy={exact:function DK(e,n){return bn(e,n)},subset:function SK(e,n){return Object.keys(n).length<=Object.keys(e).length&&Object.keys(n).every(t=>Ky(e[t],n[t]))},ignored:()=>!0};function Jy(e,n,t){return zK[t.paths](e.root,n.root,t.matrixParams)&&Zy[t.queryParams](e.queryParams,n.queryParams)&&!("exact"===t.fragment&&e.fragment!==n.fragment)}function eM(e,n,t){return tM(e,n,n.segments,t)}function tM(e,n,t,i){if(e.segments.length>t.length){const r=e.segments.slice(0,t.length);return!(!r3(r,t)||n.hasChildren()||!n6(r,t,i))}if(e.segments.length===t.length){if(!r3(e.segments,t)||!n6(e.segments,t,i))return!1;for(const r in n.children)if(!e.children[r]||!eM(e.children[r],n.children[r],i))return!1;return!0}{const r=t.slice(0,e.segments.length),a=t.slice(e.segments.length);return!!(r3(e.segments,r)&&n6(e.segments,r,i)&&e.children[Ce])&&tM(e.children[Ce],n,a,i)}}function n6(e,n,t){return n.every((i,r)=>Zy[t](e[r].parameters,i.parameters))}class ki{constructor(n=new Xe([],{}),t={},i=null){this.root=n,this.queryParams=t,this.fragment=i}get queryParamMap(){return this._queryParamMap??=Ai(this.queryParams),this._queryParamMap}toString(){return xK.serialize(this)}}class Xe{constructor(n,t){this.segments=n,this.children=t,this.parent=null,Object.values(t).forEach(i=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return i6(this)}}class Oa{constructor(n,t){this.path=n,this.parameters=t}get parameterMap(){return this._parameterMap??=Ai(this.parameters),this._parameterMap}toString(){return rM(this)}}function r3(e,n){return e.length===n.length&&e.every((t,i)=>t.path===n[i].path)}let Ri=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=B({token:e,factory:()=>new j7,providedIn:"root"})}return e})();class j7{parse(n){const t=new UK(n);return new ki(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(n){const t=`/${Pa(n.root,!0)}`,i=function IK(e){const n=Object.entries(e).map(([t,i])=>Array.isArray(i)?i.map(r=>`${r6(t)}=${r6(r)}`).join("&"):`${r6(t)}=${r6(i)}`).filter(t=>t);return n.length?`?${n.join("&")}`:""}(n.queryParams);return`${t}${i}${"string"==typeof n.fragment?`#${function EK(e){return encodeURI(e)}(n.fragment)}`:""}`}}const xK=new j7;function i6(e){return e.segments.map(n=>rM(n)).join("/")}function Pa(e,n){if(!e.hasChildren())return i6(e);if(n){const t=e.children[Ce]?Pa(e.children[Ce],!1):"",i=[];return Object.entries(e.children).forEach(([r,a])=>{r!==Ce&&i.push(`${r}:${Pa(a,!1)}`)}),i.length>0?`${t}(${i.join("//")})`:t}{const t=function LK(e,n){let t=[];return Object.entries(e.children).forEach(([i,r])=>{i===Ce&&(t=t.concat(n(r,i)))}),Object.entries(e.children).forEach(([i,r])=>{i!==Ce&&(t=t.concat(n(r,i)))}),t}(e,(i,r)=>r===Ce?[Pa(e.children[Ce],!1)]:[`${r}:${Pa(i,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[Ce]?`${i6(e)}/${t[0]}`:`${i6(e)}/(${t.join("//")})`}}function nM(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function r6(e){return nM(e).replace(/%3B/gi,";")}function G7(e){return nM(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function a6(e){return decodeURIComponent(e)}function iM(e){return a6(e.replace(/\+/g,"%20"))}function rM(e){return`${G7(e.path)}${function TK(e){return Object.entries(e).map(([n,t])=>`;${G7(n)}=${G7(t)}`).join("")}(e.parameters)}`}const AK=/^[^\/()?;#]+/;function $7(e){const n=e.match(AK);return n?n[0]:""}const kK=/^[^\/()?;=#]+/,OK=/^[^=?&#]+/,FK=/^[^&#]+/;class UK{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Xe([],{}):new Xe([],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 i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(n.length>0||Object.keys(t).length>0)&&(i[Ce]=new Xe(n,t)),i}parseSegment(){const n=$7(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new A(4009,!1);return this.capture(n),new Oa(a6(n),this.parseMatrixParams())}parseMatrixParams(){const n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){const t=function RK(e){const n=e.match(kK);return n?n[0]:""}(this.remaining);if(!t)return;this.capture(t);let i="";if(this.consumeOptional("=")){const r=$7(this.remaining);r&&(i=r,this.capture(i))}n[a6(t)]=a6(i)}parseQueryParam(n){const t=function PK(e){const n=e.match(OK);return n?n[0]:""}(this.remaining);if(!t)return;this.capture(t);let i="";if(this.consumeOptional("=")){const o=function BK(e){const n=e.match(FK);return n?n[0]:""}(this.remaining);o&&(i=o,this.capture(i))}const r=iM(t),a=iM(i);if(n.hasOwnProperty(r)){let o=n[r];Array.isArray(o)||(o=[o],n[r]=o),o.push(a)}else n[r]=a}parseParens(n){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=$7(this.remaining),r=this.remaining[i.length];if("/"!==r&&")"!==r&&";"!==r)throw new A(4010,!1);let a;i.indexOf(":")>-1?(a=i.slice(0,i.indexOf(":")),this.capture(a),this.capture(":")):n&&(a=Ce);const o=this.parseChildren();t[a]=1===Object.keys(o).length?o[Ce]:new Xe([],o),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 A(4011,!1)}}function aM(e){return e.segments.length>0?new Xe([],{[Ce]:e}):e}function oM(e){const n={};for(const[i,r]of Object.entries(e.children)){const a=oM(r);if(i===Ce&&0===a.segments.length&&a.hasChildren())for(const[o,s]of Object.entries(a.children))n[o]=s;else(a.segments.length>0||a.hasChildren())&&(n[i]=a)}return function jK(e){if(1===e.numberOfChildren&&e.children[Ce]){const n=e.children[Ce];return new Xe(e.segments.concat(n.segments),n.children)}return e}(new Xe(e.segments,n))}function Oi(e){return e instanceof ki}function sM(e){let n;const r=aM(function t(a){const o={};for(const c of a.children){const l=t(c);o[c.outlet]=l}const s=new Xe(a.url,o);return a===e&&(n=s),s}(e.root));return n??r}function cM(e,n,t,i){let r=e;for(;r.parent;)r=r.parent;if(0===n.length)return W7(r,r,r,t,i);const a=function $K(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new uM(!0,0,e);let n=0,t=!1;const i=e.reduce((r,a,o)=>{if("object"==typeof a&&null!=a){if(a.outlets){const s={};return Object.entries(a.outlets).forEach(([c,l])=>{s[c]="string"==typeof l?l.split("/"):l}),[...r,{outlets:s}]}if(a.segmentPath)return[...r,a.segmentPath]}return"string"!=typeof a?[...r,a]:0===o?(a.split("/").forEach((s,c)=>{0==c&&"."===s||(0==c&&""===s?t=!0:".."===s?n++:""!=s&&r.push(s))}),r):[...r,a]},[]);return new uM(t,n,i)}(n);if(a.toRoot())return W7(r,r,new Xe([],{}),t,i);const o=function WK(e,n,t){if(e.isAbsolute)return new s6(n,!0,0);if(!t)return new s6(n,!1,NaN);if(null===t.parent)return new s6(t,!0,0);const i=o6(e.commands[0])?0:1;return function qK(e,n,t){let i=e,r=n,a=t;for(;a>r;){if(a-=r,i=i.parent,!i)throw new A(4005,!1);r=i.segments.length}return new s6(i,!1,r-a)}(t,t.segments.length-1+i,e.numberOfDoubleDots)}(a,r,e),s=o.processChildren?Ba(o.segmentGroup,o.index,a.commands):fM(o.segmentGroup,o.index,a.commands);return W7(r,o.segmentGroup,s,t,i)}function o6(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function Fa(e){return"object"==typeof e&&null!=e&&e.outlets}function W7(e,n,t,i,r){let o,a={};i&&Object.entries(i).forEach(([c,l])=>{a[c]=Array.isArray(l)?l.map(u=>`${u}`):`${l}`}),o=e===n?t:lM(e,n,t);const s=aM(oM(o));return new ki(s,a,r)}function lM(e,n,t){const i={};return Object.entries(e.children).forEach(([r,a])=>{i[r]=a===n?t:lM(a,n,t)}),new Xe(e.segments,i)}class uM{constructor(n,t,i){if(this.isAbsolute=n,this.numberOfDoubleDots=t,this.commands=i,n&&i.length>0&&o6(i[0]))throw new A(4003,!1);const r=i.find(Fa);if(r&&r!==Qy(i))throw new A(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class s6{constructor(n,t,i){this.segmentGroup=n,this.processChildren=t,this.index=i}}function fM(e,n,t){if(e??=new Xe([],{}),0===e.segments.length&&e.hasChildren())return Ba(e,n,t);const i=function KK(e,n,t){let i=0,r=n;const a={match:!1,pathIndex:0,commandIndex:0};for(;r<e.segments.length;){if(i>=t.length)return a;const o=e.segments[r],s=t[i];if(Fa(s))break;const c=`${s}`,l=i<t.length-1?t[i+1]:null;if(r>0&&void 0===c)break;if(c&&l&&"object"==typeof l&&void 0===l.outlets){if(!hM(c,l,o))return a;i+=2}else{if(!hM(c,{},o))return a;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(e,n,t),r=t.slice(i.commandIndex);if(i.match&&i.pathIndex<e.segments.length){const a=new Xe(e.segments.slice(0,i.pathIndex),{});return a.children[Ce]=new Xe(e.segments.slice(i.pathIndex),e.children),Ba(a,0,r)}return i.match&&0===r.length?new Xe(e.segments,{}):i.match&&!e.hasChildren()?q7(e,n,t):i.match?Ba(e,0,r):q7(e,n,t)}function Ba(e,n,t){if(0===t.length)return new Xe(e.segments,{});{const i=function YK(e){return Fa(e[0])?e[0].outlets:{[Ce]:e}}(t),r={};if(Object.keys(i).some(a=>a!==Ce)&&e.children[Ce]&&1===e.numberOfChildren&&0===e.children[Ce].segments.length){const a=Ba(e.children[Ce],n,t);return new Xe(e.segments,a.children)}return Object.entries(i).forEach(([a,o])=>{"string"==typeof o&&(o=[o]),null!==o&&(r[a]=fM(e.children[a],n,o))}),Object.entries(e.children).forEach(([a,o])=>{void 0===i[a]&&(r[a]=o)}),new Xe(e.segments,r)}}function q7(e,n,t){const i=e.segments.slice(0,n);let r=0;for(;r<t.length;){const a=t[r];if(Fa(a)){const c=QK(a.outlets);return new Xe(i,c)}if(0===r&&o6(t[0])){i.push(new Oa(e.segments[n].path,dM(t[0]))),r++;continue}const o=Fa(a)?a.outlets[Ce]:`${a}`,s=r<t.length-1?t[r+1]:null;o&&s&&o6(s)?(i.push(new Oa(o,dM(s))),r+=2):(i.push(new Oa(o,{})),r++)}return new Xe(i,{})}function QK(e){const n={};return Object.entries(e).forEach(([t,i])=>{"string"==typeof i&&(i=[i]),null!==i&&(n[t]=q7(new Xe([],{}),0,i))}),n}function dM(e){const n={};return Object.entries(e).forEach(([t,i])=>n[t]=`${i}`),n}function hM(e,n,t){return e==t.path&&bn(n,t.parameters)}const Ua="imperative";var xe=function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e}(xe||{});class wn{constructor(n,t){this.id=n,this.url=t}}class ja extends wn{constructor(n,t,i="imperative",r=null){super(n,t),this.type=xe.NavigationStart,this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class $n extends wn{constructor(n,t,i){super(n,t),this.urlAfterRedirects=i,this.type=xe.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var ht=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(ht||{}),c6=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(c6||{});class Pi extends wn{constructor(n,t,i,r){super(n,t),this.reason=i,this.code=r,this.type=xe.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Fi extends wn{constructor(n,t,i,r){super(n,t),this.reason=i,this.code=r,this.type=xe.NavigationSkipped}}class l6 extends wn{constructor(n,t,i,r){super(n,t),this.error=i,this.target=r,this.type=xe.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class pM extends wn{constructor(n,t,i,r){super(n,t),this.urlAfterRedirects=i,this.state=r,this.type=xe.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ZK extends wn{constructor(n,t,i,r){super(n,t),this.urlAfterRedirects=i,this.state=r,this.type=xe.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class JK extends wn{constructor(n,t,i,r,a){super(n,t),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=a,this.type=xe.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class XK extends wn{constructor(n,t,i,r){super(n,t),this.urlAfterRedirects=i,this.state=r,this.type=xe.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class eQ extends wn{constructor(n,t,i,r){super(n,t),this.urlAfterRedirects=i,this.state=r,this.type=xe.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class tQ{constructor(n){this.route=n,this.type=xe.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class nQ{constructor(n){this.route=n,this.type=xe.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class iQ{constructor(n){this.snapshot=n,this.type=xe.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class rQ{constructor(n){this.snapshot=n,this.type=xe.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class aQ{constructor(n){this.snapshot=n,this.type=xe.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class oQ{constructor(n){this.snapshot=n,this.type=xe.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class mM{constructor(n,t,i){this.routerEvent=n,this.position=t,this.anchor=i,this.type=xe.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Y7{}class K7{constructor(n){this.url=n}}class sQ{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Ga,this.attachRef=null}}let Ga=(()=>{class e{constructor(){this.contexts=new Map}onChildOutletCreated(t,i){const r=this.getOrCreateContext(t);r.outlet=i,this.contexts.set(t,r)}onChildOutletDestroyed(t){const i=this.getContext(t);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let i=this.getContext(t);return i||(i=new sQ,this.contexts.set(t,i)),i}getContext(t){return this.contexts.get(t)||null}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class gM{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=Q7(n,this._root);return t?t.children.map(i=>i.value):[]}firstChild(n){const t=Q7(n,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(n){const t=Z7(n,this._root);return t.length<2?[]:t[t.length-2].children.map(r=>r.value).filter(r=>r!==n)}pathFromRoot(n){return Z7(n,this._root).map(t=>t.value)}}function Q7(e,n){if(e===n.value)return n;for(const t of n.children){const i=Q7(e,t);if(i)return i}return null}function Z7(e,n){if(e===n.value)return[n];for(const t of n.children){const i=Z7(e,t);if(i.length)return i.unshift(n),i}return[]}class Ut{constructor(n,t){this.value=n,this.children=t}toString(){return`TreeNode(${this.value})`}}function Bi(e){const n={};return e&&e.children.forEach(t=>n[t.value.outlet]=t),n}class vM extends gM{constructor(n,t){super(n),this.snapshot=t,eu(this,n)}toString(){return this.snapshot.toString()}}function _M(e){const n=function cQ(e){const a=new X7([],{},{},"",{},Ce,e,null,{});return new CM("",new Ut(a,[]))}(e),t=new yt([new Oa("",{})]),i=new yt({}),r=new yt({}),a=new yt({}),o=new yt(""),s=new Wn(t,i,a,o,r,Ce,e,n.root);return s.snapshot=n.root,new vM(new Ut(s,[]),n)}class Wn{constructor(n,t,i,r,a,o,s,c){this.urlSubject=n,this.paramsSubject=t,this.queryParamsSubject=i,this.fragmentSubject=r,this.dataSubject=a,this.outlet=o,this.component=s,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(Te(l=>l[Ra]))??ie(void 0),this.url=n,this.params=t,this.queryParams=i,this.fragment=r,this.data=a}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.params.pipe(Te(n=>Ai(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(Te(n=>Ai(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function J7(e,n,t="emptyOnly"){let i;const{routeConfig:r}=e;return i=null===n||"always"!==t&&""!==r?.path&&(n.component||n.routeConfig?.loadComponent)?{params:{...e.params},data:{...e.data},resolve:{...e.data,...e._resolvedData??{}}}:{params:{...n.params,...e.params},data:{...n.data,...e.data},resolve:{...e.data,...n.data,...r?.data,...e._resolvedData}},r&&MM(r)&&(i.resolve[Ra]=r.title),i}class X7{get title(){return this.data?.[Ra]}constructor(n,t,i,r,a,o,s,c,l){this.url=n,this.params=t,this.queryParams=i,this.fragment=r,this.data=a,this.outlet=o,this.component=s,this.routeConfig=c,this._resolve=l}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??=Ai(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Ai(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(i=>i.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class CM extends gM{constructor(n,t){super(t),this.url=n,eu(this,t)}toString(){return yM(this._root)}}function eu(e,n){n.value._routerState=e,n.children.forEach(t=>eu(e,t))}function yM(e){const n=e.children.length>0?` { ${e.children.map(yM).join(", ")} } `:"";return`${e.value}${n}`}function tu(e){if(e.snapshot){const n=e.snapshot,t=e._futureSnapshot;e.snapshot=t,bn(n.queryParams,t.queryParams)||e.queryParamsSubject.next(t.queryParams),n.fragment!==t.fragment&&e.fragmentSubject.next(t.fragment),bn(n.params,t.params)||e.paramsSubject.next(t.params),function VK(e,n){if(e.length!==n.length)return!1;for(let t=0;t<e.length;++t)if(!bn(e[t],n[t]))return!1;return!0}(n.url,t.url)||e.urlSubject.next(t.url),bn(n.data,t.data)||e.dataSubject.next(t.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function nu(e,n){const t=bn(e.params,n.params)&&function NK(e,n){return r3(e,n)&&e.every((t,i)=>bn(t.parameters,n[i].parameters))}(e.url,n.url);return t&&!(!e.parent!=!n.parent)&&(!e.parent||nu(e.parent,n.parent))}function MM(e){return"string"==typeof e.title||null===e.title}let iu=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=Ce,this.activateEvents=new Z,this.deactivateEvents=new Z,this.attachEvents=new Z,this.detachEvents=new Z,this.parentContexts=H(Ga),this.location=H(Y2),this.changeDetector=H(ut),this.environmentInjector=H(E2),this.inputBinder=H(u6,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(t){if(t.name){const{firstChange:i,previousValue:r}=t.name;if(i)return;this.isTrackedInParentContexts(r)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(r)),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 A(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new A(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new A(4012,!1);this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,i){this.activated=t,this._activatedRoute=i,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,i){if(this.isActivated)throw new A(4013,!1);this._activatedRoute=t;const r=this.location,o=t.snapshot.component,s=this.parentContexts.getOrCreateContext(this.name).children,c=new lQ(t,s,r.injector);this.activated=r.createComponent(o,{index:r.length,injector:c,environmentInjector:i??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=$({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[T1]})}return e})();class lQ{constructor(n,t,i){this.route=n,this.childContexts=t,this.parent=i,this.__ngOutletInjector=!0}get(n,t){return n===Wn?this.route:n===Ga?this.childContexts:this.parent.get(n,t)}}const u6=new q("");let bM=(()=>{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:i}=t,r=h7([i.queryParams,i.params,i.data]).pipe(Bt(([a,o,s],c)=>(s={...a,...o,...s},0===c?ie(s):Promise.resolve(s)))).subscribe(a=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==i||null===i.component)return void this.unsubscribeFromRouteData(t);const o=function Y$(e){const n=He(e);if(!n)return null;const t=new ia(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}}}(i.component);if(o)for(const{templateName:s}of o.inputs)t.activatedComponentRef.setInput(s,a[s]);else this.unsubscribeFromRouteData(t)});this.outletDataSubscriptions.set(t,r)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})();function $a(e,n,t){if(t&&e.shouldReuseRoute(n.value,t.value.snapshot)){const i=t.value;i._futureSnapshot=n.value;const r=function fQ(e,n,t){return n.children.map(i=>{for(const r of t.children)if(e.shouldReuseRoute(i.value,r.value.snapshot))return $a(e,i,r);return $a(e,i)})}(e,n,t);return new Ut(i,r)}{if(e.shouldAttach(n.value)){const a=e.retrieve(n.value);if(null!==a){const o=a.route;return o.value._futureSnapshot=n.value,o.children=n.children.map(s=>$a(e,s)),o}}const i=function dQ(e){return new Wn(new yt(e.url),new yt(e.params),new yt(e.queryParams),new yt(e.fragment),new yt(e.data),e.outlet,e.component,e)}(n.value),r=n.children.map(a=>$a(e,a));return new Ut(i,r)}}const wM="ngNavigationCancelingError";function HM(e,n){const{redirectTo:t,navigationBehaviorOptions:i}=Oi(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,r=VM(!1,ht.Redirect);return r.url=t,r.navigationBehaviorOptions=i,r}function VM(e,n){const t=new Error(`NavigationCancelingError: ${e||""}`);return t[wM]=!0,t.cancellationCode=n,t}function zM(e){return!!e&&e[wM]}let DM=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=oe({type:e,selectors:[["ng-component"]],standalone:!0,features:[se],decls:1,vars:0,template:function(i,r){1&i&&k(0,"router-outlet")},dependencies:[iu],encapsulation:2})}return e})();function ru(e){const n=e.children&&e.children.map(ru),t=n?{...e,children:n}:{...e};return!t.component&&!t.loadComponent&&(n||t.loadChildren)&&t.outlet&&t.outlet!==Ce&&(t.component=DM),t}function Hn(e){return e.outlet||Ce}function Wa(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 yQ{constructor(n,t,i,r,a){this.routeReuseStrategy=n,this.futureState=t,this.currState=i,this.forwardEvent=r,this.inputBindingEnabled=a}activate(n){const t=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,i,n),tu(this.futureState.root),this.activateChildRoutes(t,i,n)}deactivateChildRoutes(n,t,i){const r=Bi(t);n.children.forEach(a=>{const o=a.value.outlet;this.deactivateRoutes(a,r[o],i),delete r[o]}),Object.values(r).forEach(a=>{this.deactivateRouteAndItsChildren(a,i)})}deactivateRoutes(n,t,i){const r=n.value,a=t?t.value:null;if(r===a)if(r.component){const o=i.getContext(r.outlet);o&&this.deactivateChildRoutes(n,t,o.children)}else this.deactivateChildRoutes(n,t,i);else a&&this.deactivateRouteAndItsChildren(t,i)}deactivateRouteAndItsChildren(n,t){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,t):this.deactivateRouteAndOutlet(n,t)}detachAndStoreRouteSubtree(n,t){const i=t.getContext(n.value.outlet),r=i&&n.value.component?i.children:t,a=Bi(n);for(const o of Object.values(a))this.deactivateRouteAndItsChildren(o,r);if(i&&i.outlet){const o=i.outlet.detach(),s=i.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:o,route:n,contexts:s})}}deactivateRouteAndOutlet(n,t){const i=t.getContext(n.value.outlet),r=i&&n.value.component?i.children:t,a=Bi(n);for(const o of Object.values(a))this.deactivateRouteAndItsChildren(o,r);i&&(i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated()),i.attachRef=null,i.route=null)}activateChildRoutes(n,t,i){const r=Bi(t);n.children.forEach(a=>{this.activateRoutes(a,r[a.value.outlet],i),this.forwardEvent(new oQ(a.value.snapshot))}),n.children.length&&this.forwardEvent(new rQ(n.value.snapshot))}activateRoutes(n,t,i){const r=n.value,a=t?t.value:null;if(tu(r),r===a)if(r.component){const o=i.getOrCreateContext(r.outlet);this.activateChildRoutes(n,t,o.children)}else this.activateChildRoutes(n,t,i);else if(r.component){const o=i.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const s=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),o.children.onOutletReAttached(s.contexts),o.attachRef=s.componentRef,o.route=s.route.value,o.outlet&&o.outlet.attach(s.componentRef,s.route.value),tu(s.route.value),this.activateChildRoutes(n,null,o.children)}else{const s=Wa(r.snapshot);o.attachRef=null,o.route=r,o.injector=s,o.outlet&&o.outlet.activateWith(r,o.injector),this.activateChildRoutes(n,null,o.children)}}else this.activateChildRoutes(n,null,i)}}class SM{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}}class f6{constructor(n,t){this.component=n,this.route=t}}function MQ(e,n,t){const i=e._root;return qa(i,n?n._root:null,t,[i.value])}function Ui(e,n){const t=Symbol(),i=n.get(e,t);return i===t?"function"!=typeof e||function jI(e){return null!==qo(e)}(e)?n.get(e):e:i}function qa(e,n,t,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const a=Bi(n);return e.children.forEach(o=>{(function wQ(e,n,t,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const a=e.value,o=n?n.value:null,s=t?t.getContext(e.value.outlet):null;if(o&&a.routeConfig===o.routeConfig){const c=function HQ(e,n,t){if("function"==typeof t)return t(e,n);switch(t){case"pathParamsChange":return!r3(e.url,n.url);case"pathParamsOrQueryParamsChange":return!r3(e.url,n.url)||!bn(e.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!nu(e,n)||!bn(e.queryParams,n.queryParams);default:return!nu(e,n)}}(o,a,a.routeConfig.runGuardsAndResolvers);c?r.canActivateChecks.push(new SM(i)):(a.data=o.data,a._resolvedData=o._resolvedData),qa(e,n,a.component?s?s.children:null:t,i,r),c&&s&&s.outlet&&s.outlet.isActivated&&r.canDeactivateChecks.push(new f6(s.outlet.component,o))}else o&&Ya(n,s,r),r.canActivateChecks.push(new SM(i)),qa(e,null,a.component?s?s.children:null:t,i,r)})(o,a[o.value.outlet],t,i.concat([o.value]),r),delete a[o.value.outlet]}),Object.entries(a).forEach(([o,s])=>Ya(s,t.getContext(o),r)),r}function Ya(e,n,t){const i=Bi(e),r=e.value;Object.entries(i).forEach(([a,o])=>{Ya(o,r.component?n?n.children.getContext(a):null:n,t)}),t.canDeactivateChecks.push(new f6(r.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,r))}function Ka(e){return"function"==typeof e}function NM(e){return e instanceof Oc||"EmptyError"===e?.name}const d6=Symbol("INITIAL_VALUE");function ji(){return Bt(e=>h7(e.map(n=>n.pipe(C2(1),function Ly(...e){const n=Sa(e);return B1((t,i)=>{(n?Na(e,t,n):Na(e,t)).subscribe(i)})}(d6)))).pipe(Te(n=>{for(const t of n)if(!0!==t){if(t===d6)return d6;if(!1===t||t instanceof ki)return t}return!0}),l2(n=>n!==d6),C2(1)))}function LM(e){return function TI(...e){return td(e)}(u2(n=>{if(Oi(n))throw HM(0,n)}),Te(n=>!0===n))}class au{constructor(n){this.segmentGroup=n||null}}class ou extends Error{constructor(n){super(),this.urlTree=n}}function Gi(e){return Pc(new au(e))}class jQ{constructor(n,t){this.urlSerializer=n,this.urlTree=t}lineralizeSegments(n,t){let i=[],r=t.root;for(;;){if(i=i.concat(r.segments),0===r.numberOfChildren)return ie(i);if(r.numberOfChildren>1||!r.children[Ce])return Pc(new A(4e3,!1));r=r.children[Ce]}}applyRedirectCommands(n,t,i){const r=this.applyRedirectCreateUrlTree(t,this.urlSerializer.parse(t),n,i);if(t.startsWith("/"))throw new ou(r);return r}applyRedirectCreateUrlTree(n,t,i,r){const a=this.createSegmentGroup(n,t.root,i,r);return new ki(a,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(n,t){const i={};return Object.entries(n).forEach(([r,a])=>{if("string"==typeof a&&a.startsWith(":")){const s=a.substring(1);i[r]=t[s]}else i[r]=a}),i}createSegmentGroup(n,t,i,r){const a=this.createSegments(n,t.segments,i,r);let o={};return Object.entries(t.children).forEach(([s,c])=>{o[s]=this.createSegmentGroup(n,c,i,r)}),new Xe(a,o)}createSegments(n,t,i,r){return t.map(a=>a.path.startsWith(":")?this.findPosParam(n,a,r):this.findOrReturn(a,i))}findPosParam(n,t,i){const r=i[t.path.substring(1)];if(!r)throw new A(4001,!1);return r}findOrReturn(n,t){let i=0;for(const r of t){if(r.path===n.path)return t.splice(i),r;i++}return n}}const su={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function GQ(e,n,t,i,r){const a=cu(e,n,t);return a.matched?(i=function pQ(e,n){return e.providers&&!e._injector&&(e._injector=ac(e.providers,n,`Route: ${e.path}`)),e._injector??n}(n,i),function FQ(e,n,t,i){const r=n.canMatch;return r&&0!==r.length?ie(r.map(o=>{const s=Ui(o,e);return b4(function LQ(e){return e&&Ka(e.canMatch)}(s)?s.canMatch(n,t):An(e,()=>s(n,t)))})).pipe(ji(),LM()):ie(!0)}(i,n,t).pipe(Te(o=>!0===o?a:{...su}))):ie(a)}function cu(e,n,t){if("**"===n.path)return function $Q(e){return{matched:!0,parameters:e.length>0?Qy(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}(t);if(""===n.path)return"full"===n.pathMatch&&(e.hasChildren()||t.length>0)?{...su}:{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};const r=(n.matcher||HK)(t,e,n);if(!r)return{...su};const a={};Object.entries(r.posParams??{}).forEach(([s,c])=>{a[s]=c.path});const o=r.consumed.length>0?{...a,...r.consumed[r.consumed.length-1].parameters}:a;return{matched:!0,consumedSegments:r.consumed,remainingSegments:t.slice(r.consumed.length),parameters:o,positionalParamSegments:r.posParams??{}}}function xM(e,n,t,i){return t.length>0&&function YQ(e,n,t){return t.some(i=>h6(e,n,i)&&Hn(i)!==Ce)}(e,t,i)?{segmentGroup:new Xe(n,qQ(i,new Xe(t,e.children))),slicedSegments:[]}:0===t.length&&function KQ(e,n,t){return t.some(i=>h6(e,n,i))}(e,t,i)?{segmentGroup:new Xe(e.segments,WQ(e,t,i,e.children)),slicedSegments:t}:{segmentGroup:new Xe(e.segments,e.children),slicedSegments:t}}function WQ(e,n,t,i){const r={};for(const a of t)if(h6(e,n,a)&&!i[Hn(a)]){const o=new Xe([],{});r[Hn(a)]=o}return{...i,...r}}function qQ(e,n){const t={};t[Ce]=n;for(const i of e)if(""===i.path&&Hn(i)!==Ce){const r=new Xe([],{});t[Hn(i)]=r}return t}function h6(e,n,t){return(!(e.hasChildren()||n.length>0)||"full"!==t.pathMatch)&&""===t.path}class JQ{}class tZ{constructor(n,t,i,r,a,o,s){this.injector=n,this.configLoader=t,this.rootComponentType=i,this.config=r,this.urlTree=a,this.paramsInheritanceStrategy=o,this.urlSerializer=s,this.applyRedirects=new jQ(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(n){return new A(4002,`'${n.segmentGroup}'`)}recognize(){const n=xM(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(Te(t=>{const i=new X7([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Ce,this.rootComponentType,null,{}),r=new Ut(i,t),a=new CM("",r),o=function GK(e,n,t=null,i=null){return cM(sM(e),n,t,i)}(i,[],this.urlTree.queryParams,this.urlTree.fragment);return o.queryParams=this.urlTree.queryParams,a.url=this.urlSerializer.serialize(o),this.inheritParamsAndData(a._root,null),{state:a,tree:o}}))}match(n){return this.processSegmentGroup(this.injector,this.config,n,Ce).pipe(Ii(i=>{if(i instanceof ou)return this.urlTree=i.urlTree,this.match(i.urlTree.root);throw i instanceof au?this.noMatchError(i):i}))}inheritParamsAndData(n,t){const i=n.value,r=J7(i,t,this.paramsInheritanceStrategy);i.params=Object.freeze(r.params),i.data=Object.freeze(r.data),n.children.forEach(a=>this.inheritParamsAndData(a,i))}processSegmentGroup(n,t,i,r){return 0===i.segments.length&&i.hasChildren()?this.processChildren(n,t,i):this.processSegment(n,t,i,i.segments,r,!0).pipe(Te(a=>a instanceof Ut?[a]:[]))}processChildren(n,t,i){const r=[];for(const a of Object.keys(i.children))"primary"===a?r.unshift(a):r.push(a);return n2(r).pipe(Ia(a=>{const o=i.children[a],s=function _Q(e,n){const t=e.filter(i=>Hn(i)===n);return t.push(...e.filter(i=>Hn(i)!==n)),t}(t,a);return this.processSegmentGroup(n,s,o,a)}),function WY(e,n){return B1(function $Y(e,n,t,i,r){return(a,o)=>{let s=t,c=n,l=0;a.subscribe(h1(o,u=>{const f=l++;c=s?e(c,u,f):(s=!0,u),i&&o.next(c)},r&&(()=>{s&&o.next(c),o.complete()})))}}(e,n,arguments.length>=2,!0))}((a,o)=>(a.push(...o),a)),t6(null),function qY(e,n){const t=arguments.length>=2;return i=>i.pipe(e?l2((r,a)=>e(r,a,i)):En,T7(1),t?t6(n):xy(()=>new Oc))}(),r2(a=>{if(null===a)return Gi(i);const o=EM(a);return function nZ(e){e.sort((n,t)=>n.value.outlet===Ce?-1:t.value.outlet===Ce?1:n.value.outlet.localeCompare(t.value.outlet))}(o),ie(o)}))}processSegment(n,t,i,r,a,o){return n2(t).pipe(Ia(s=>this.processSegmentAgainstRoute(s._injector??n,t,s,i,r,a,o).pipe(Ii(c=>{if(c instanceof au)return ie(null);throw c}))),i3(s=>!!s),Ii(s=>{if(NM(s))return function ZQ(e,n,t){return 0===n.length&&!e.children[t]}(i,r,a)?ie(new JQ):Gi(i);throw s}))}processSegmentAgainstRoute(n,t,i,r,a,o,s){return function QQ(e,n,t,i){return!!(Hn(e)===i||i!==Ce&&h6(n,t,e))&&cu(n,e,t).matched}(i,r,a,o)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(n,r,i,a,o):this.allowRedirects&&s?this.expandSegmentAgainstRouteUsingRedirect(n,r,t,i,a,o):Gi(r):Gi(r)}expandSegmentAgainstRouteUsingRedirect(n,t,i,r,a,o){const{matched:s,consumedSegments:c,positionalParamSegments:l,remainingSegments:u}=cu(t,r,a);if(!s)return Gi(t);r.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const f=this.applyRedirects.applyRedirectCommands(c,r.redirectTo,l);return this.applyRedirects.lineralizeSegments(r,f).pipe(r2(p=>this.processSegment(n,i,t,p.concat(u),o,!1)))}matchSegmentAgainstRoute(n,t,i,r,a){const o=GQ(t,i,r,n);return"**"===i.path&&(t.children={}),o.pipe(Bt(s=>s.matched?this.getChildConfig(n=i._injector??n,i,r).pipe(Bt(({routes:c})=>{const l=i._loadedInjector??n,{consumedSegments:u,remainingSegments:f,parameters:p}=s,g=new X7(u,p,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function rZ(e){return e.data||{}}(i),Hn(i),i.component??i._loadedComponent??null,i,function aZ(e){return e.resolve||{}}(i)),{segmentGroup:b,slicedSegments:w}=xM(t,u,f,c);if(0===w.length&&b.hasChildren())return this.processChildren(l,c,b).pipe(Te(L=>null===L?null:new Ut(g,L)));if(0===c.length&&0===w.length)return ie(new Ut(g,[]));const S=Hn(i)===a;return this.processSegment(l,c,b,w,S?Ce:a,!0).pipe(Te(L=>new Ut(g,L instanceof Ut?[L]:[])))})):Gi(t)))}getChildConfig(n,t,i){return t.children?ie({routes:t.children,injector:n}):t.loadChildren?void 0!==t._loadedRoutes?ie({routes:t._loadedRoutes,injector:t._loadedInjector}):function PQ(e,n,t,i){const r=n.canLoad;return void 0===r||0===r.length?ie(!0):ie(r.map(o=>{const s=Ui(o,e);return b4(function zQ(e){return e&&Ka(e.canLoad)}(s)?s.canLoad(n,t):An(e,()=>s(n,t)))})).pipe(ji(),LM())}(n,t,i).pipe(r2(r=>r?this.configLoader.loadChildren(n,t).pipe(u2(a=>{t._loadedRoutes=a.routes,t._loadedInjector=a.injector})):function UQ(e){return Pc(VM(!1,ht.GuardRejected))}())):ie({routes:[],injector:n})}}function iZ(e){const n=e.value.routeConfig;return n&&""===n.path}function EM(e){const n=[],t=new Set;for(const i of e){if(!iZ(i)){n.push(i);continue}const r=n.find(a=>i.value.routeConfig===a.value.routeConfig);void 0!==r?(r.children.push(...i.children),t.add(r)):n.push(i)}for(const i of t){const r=EM(i.children);n.push(new Ut(i.value,r))}return n.filter(i=>!t.has(i))}function TM(e){const n=e.children.map(t=>TM(t)).flat();return[e,...n]}function lu(e){return Bt(n=>{const t=e(n);return t?n2(t).pipe(Te(()=>n)):ie(n)})}let IM=(()=>{class e{buildTitle(t){let i,r=t.root;for(;void 0!==r;)i=this.getResolvedTitleForRoute(r)??i,r=r.children.find(a=>a.outlet===Ce);return i}getResolvedTitleForRoute(t){return t.data[Ra]}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=B({token:e,factory:()=>H(fZ),providedIn:"root"})}return e})(),fZ=(()=>{class e extends IM{constructor(t){super(),this.title=t}updateTitle(t){const i=this.buildTitle(t);void 0!==i&&this.title.setTitle(i)}static#e=this.\u0275fac=function(i){return new(i||e)(te(_K))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const $i=new q("",{providedIn:"root",factory:()=>({})}),Wi=new q("");let uu=(()=>{class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=H(G_)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return ie(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);const i=b4(t.loadComponent()).pipe(Te(AM),u2(a=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=a}),I7(()=>{this.componentLoaders.delete(t)})),r=new ZC(i,()=>new a1).pipe(p7());return this.componentLoaders.set(t,r),r}loadChildren(t,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return ie({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);const a=function dZ(e,n,t,i){return b4(e.loadChildren()).pipe(Te(AM),r2(r=>r instanceof fg||Array.isArray(r)?ie(r):n2(n.compileModuleAsync(r))),Te(r=>{i&&i(e);let a,o,s=!1;return Array.isArray(r)?(o=r,!0):(a=r.create(t).injector,o=a.get(Wi,[],{optional:!0,self:!0}).flat()),{routes:o.map(ru),injector:a}}))}(i,this.compiler,t,this.onLoadEndListener).pipe(I7(()=>{this.childrenLoaders.delete(i)})),o=new ZC(a,()=>new a1).pipe(p7());return this.childrenLoaders.set(i,o),o}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function AM(e){return function hZ(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let fu=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=B({token:e,factory:()=>H(pZ),providedIn:"root"})}return e})(),pZ=(()=>{class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,i){return t}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const kM=new q(""),RM=new q("");function mZ(e,n,t){const i=e.get(RM),r=e.get(N1);return e.get(ve).runOutsideAngular(()=>{if(!r.startViewTransition||i.skipNextTransition)return i.skipNextTransition=!1,Promise.resolve();let a;const o=new Promise(l=>{a=l}),s=r.startViewTransition(()=>(a(),function gZ(e){return new Promise(n=>{Dm(n,{injector:e})})}(e))),{onViewTransitionCreated:c}=i;return c&&An(e,()=>c({transition:s,from:n,to:t})),o})}let p6=(()=>{class e{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new a1,this.transitionAbortSubject=new a1,this.configLoader=H(uu),this.environmentInjector=H(E2),this.urlSerializer=H(Ri),this.rootContexts=H(Ga),this.location=H(La),this.inputBindingEnabled=null!==H(u6,{optional:!0}),this.titleStrategy=H(IM),this.options=H($i,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=H(fu),this.createViewTransition=H(kM,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>ie(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=r=>this.events.next(new nQ(r)),this.configLoader.onLoadStartListener=r=>this.events.next(new tQ(r))}complete(){this.transitions?.complete()}handleNavigationRequest(t){const i=++this.navigationId;this.transitions?.next({...this.transitions.value,...t,id:i})}setupNavigations(t,i,r){return this.transitions=new yt({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Ua,restoredState:null,currentSnapshot:r.snapshot,targetSnapshot:null,currentRouterState:r,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(l2(a=>0!==a.id),Te(a=>({...a,extractedUrl:this.urlHandlingStrategy.extract(a.rawUrl)})),Bt(a=>{let o=!1,s=!1;return ie(a).pipe(Bt(c=>{if(this.navigationId>a.id)return this.cancelNavigationTransition(a,"",ht.SupersededByNewNavigation),ft;this.currentTransition=a,this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const l=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!l&&"reload"!==(c.extras.onSameUrlNavigation??t.onSameUrlNavigation)){const f="";return this.events.next(new Fi(c.id,this.urlSerializer.serialize(c.rawUrl),f,c6.IgnoredSameUrlNavigation)),c.resolve(null),ft}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return ie(c).pipe(Bt(f=>{const p=this.transitions?.getValue();return this.events.next(new ja(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),p!==this.transitions?.getValue()?ft:Promise.resolve(f)}),function oZ(e,n,t,i,r,a){return r2(o=>function XQ(e,n,t,i,r,a,o="emptyOnly"){return new tZ(e,n,t,i,r,o,a).recognize()}(e,n,t,i,o.extractedUrl,r,a).pipe(Te(({state:s,tree:c})=>({...o,targetSnapshot:s,urlAfterRedirects:c}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),u2(f=>{a.targetSnapshot=f.targetSnapshot,a.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:f.urlAfterRedirects};const p=new pM(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(p)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){const{id:f,extractedUrl:p,source:g,restoredState:b,extras:w}=c,S=new ja(f,this.urlSerializer.serialize(p),g,b);this.events.next(S);const L=_M(this.rootComponentType).snapshot;return this.currentTransition=a={...c,targetSnapshot:L,urlAfterRedirects:p,extras:{...w,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=p,ie(a)}{const f="";return this.events.next(new Fi(c.id,this.urlSerializer.serialize(c.extractedUrl),f,c6.IgnoredByUrlHandlingStrategy)),c.resolve(null),ft}}),u2(c=>{const l=new ZK(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}),Te(c=>(this.currentTransition=a={...c,guards:MQ(c.targetSnapshot,c.currentSnapshot,this.rootContexts)},a)),function xQ(e,n){return r2(t=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:a,canDeactivateChecks:o}}=t;return 0===o.length&&0===a.length?ie({...t,guardsResult:!0}):function EQ(e,n,t,i){return n2(e).pipe(r2(r=>function OQ(e,n,t,i,r){const a=n&&n.routeConfig?n.routeConfig.canDeactivate:null;return a&&0!==a.length?ie(a.map(s=>{const c=Wa(n)??r,l=Ui(s,c);return b4(function NQ(e){return e&&Ka(e.canDeactivate)}(l)?l.canDeactivate(e,n,t,i):An(c,()=>l(e,n,t,i))).pipe(i3())})).pipe(ji()):ie(!0)}(r.component,r.route,t,n,i)),i3(r=>!0!==r,!0))}(o,i,r,e).pipe(r2(s=>s&&function VQ(e){return"boolean"==typeof e}(s)?function TQ(e,n,t,i){return n2(n).pipe(Ia(r=>Na(function AQ(e,n){return null!==e&&n&&n(new iQ(e)),ie(!0)}(r.route.parent,i),function IQ(e,n){return null!==e&&n&&n(new aQ(e)),ie(!0)}(r.route,i),function RQ(e,n,t){const i=n[n.length-1],a=n.slice(0,n.length-1).reverse().map(o=>function bQ(e){const n=e.routeConfig?e.routeConfig.canActivateChild:null;return n&&0!==n.length?{node:e,guards:n}:null}(o)).filter(o=>null!==o).map(o=>QC(()=>ie(o.guards.map(c=>{const l=Wa(o.node)??t,u=Ui(c,l);return b4(function SQ(e){return e&&Ka(e.canActivateChild)}(u)?u.canActivateChild(i,e):An(l,()=>u(i,e))).pipe(i3())})).pipe(ji())));return ie(a).pipe(ji())}(e,r.path,t),function kQ(e,n,t){const i=n.routeConfig?n.routeConfig.canActivate:null;if(!i||0===i.length)return ie(!0);const r=i.map(a=>QC(()=>{const o=Wa(n)??t,s=Ui(a,o);return b4(function DQ(e){return e&&Ka(e.canActivate)}(s)?s.canActivate(n,e):An(o,()=>s(n,e))).pipe(i3())}));return ie(r).pipe(ji())}(e,r.route,t))),i3(r=>!0!==r,!0))}(i,a,e,n):ie(s)),Te(s=>({...t,guardsResult:s})))})}(this.environmentInjector,c=>this.events.next(c)),u2(c=>{if(a.guardsResult=c.guardsResult,Oi(c.guardsResult))throw HM(0,c.guardsResult);const l=new JK(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(l)}),l2(c=>!!c.guardsResult||(this.cancelNavigationTransition(c,"",ht.GuardRejected),!1)),lu(c=>{if(c.guards.canActivateChecks.length)return ie(c).pipe(u2(l=>{const u=new XK(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(u)}),Bt(l=>{let u=!1;return ie(l).pipe(function sZ(e,n){return r2(t=>{const{targetSnapshot:i,guards:{canActivateChecks:r}}=t;if(!r.length)return ie(t);const a=new Set(r.map(c=>c.route)),o=new Set;for(const c of a)if(!o.has(c))for(const l of TM(c))o.add(l);let s=0;return n2(o).pipe(Ia(c=>a.has(c)?function cZ(e,n,t,i){const r=e.routeConfig,a=e._resolve;return void 0!==r?.title&&!MM(r)&&(a[Ra]=r.title),function lZ(e,n,t,i){const r=U7(e);if(0===r.length)return ie({});const a={};return n2(r).pipe(r2(o=>function uZ(e,n,t,i){const r=Wa(n)??i,a=Ui(e,r);return b4(a.resolve?a.resolve(n,t):An(r,()=>a(n,t)))}(e[o],n,t,i).pipe(i3(),u2(s=>{a[o]=s}))),T7(1),Ey(a),Ii(o=>NM(o)?ft:Pc(o)))}(a,e,n,i).pipe(Te(o=>(e._resolvedData=o,e.data=J7(e,e.parent,t).resolve,null)))}(c,i,e,n):(c.data=J7(c,c.parent,e).resolve,ie(void 0))),u2(()=>s++),T7(1),r2(c=>s===o.size?ie(t):ft))})}(this.paramsInheritanceStrategy,this.environmentInjector),u2({next:()=>u=!0,complete:()=>{u||this.cancelNavigationTransition(l,"",ht.NoDataFromResolver)}}))}),u2(l=>{const u=new eQ(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(u)}))}),lu(c=>{const l=u=>{const f=[];u.routeConfig?.loadComponent&&!u.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(u.routeConfig).pipe(u2(p=>{u.component=p}),Te(()=>{})));for(const p of u.children)f.push(...l(p));return f};return h7(l(c.targetSnapshot.root)).pipe(t6(null),C2(1))}),lu(()=>this.afterPreactivation()),Bt(()=>{const{currentSnapshot:c,targetSnapshot:l}=a,u=this.createViewTransition?.(this.environmentInjector,c.root,l.root);return u?n2(u).pipe(Te(()=>a)):ie(a)}),Te(c=>{const l=function uQ(e,n,t){const i=$a(e,n._root,t?t._root:void 0);return new vM(i,n)}(t.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=a={...c,targetRouterState:l},this.currentNavigation.targetRouterState=l,a}),u2(()=>{this.events.next(new Y7)}),((e,n,t,i)=>Te(r=>(new yQ(n,r.targetRouterState,r.currentRouterState,t,i).activate(e),r)))(this.rootContexts,t.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),C2(1),u2({next:c=>{o=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new $n(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),this.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{o=!0}}),y2(this.transitionAbortSubject.pipe(u2(c=>{throw c}))),I7(()=>{!o&&!s&&this.cancelNavigationTransition(a,"",ht.SupersededByNewNavigation),this.currentTransition?.id===a.id&&(this.currentNavigation=null,this.currentTransition=null)}),Ii(c=>{if(s=!0,zM(c))this.events.next(new Pi(a.id,this.urlSerializer.serialize(a.extractedUrl),c.message,c.cancellationCode)),function hQ(e){return zM(e)&&Oi(e.url)}(c)?this.events.next(new K7(c.url)):a.resolve(!1);else{this.events.next(new l6(a.id,this.urlSerializer.serialize(a.extractedUrl),c,a.targetSnapshot??void 0));try{a.resolve(t.errorHandler(c))}catch(l){this.options.resolveNavigationPromiseOnError?a.resolve(!1):a.reject(l)}}return ft}))}))}cancelNavigationTransition(t,i,r){const a=new Pi(t.id,this.urlSerializer.serialize(t.extractedUrl),i,r);this.events.next(a),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function vZ(e){return e!==Ua}let _Z=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=B({token:e,factory:()=>H(yZ),providedIn:"root"})}return e})();class CZ{shouldDetach(n){return!1}store(n,t){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,t){return n.routeConfig===t.routeConfig}}let yZ=(()=>{class e extends CZ{static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=c1(e)))(r||e)}})();static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),OM=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=B({token:e,factory:()=>H(MZ),providedIn:"root"})}return e})(),MZ=(()=>{class e extends OM{constructor(){super(...arguments),this.location=H(La),this.urlSerializer=H(Ri),this.options=H($i,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=H(fu),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new ki,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=_M(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(i=>{"popstate"===i.type&&t(i.url,i.state)})}handleRouterEvent(t,i){if(t instanceof ja)this.stateMemento=this.createStateMemento();else if(t instanceof Fi)this.rawUrlTree=i.initialUrl;else if(t instanceof pM){if("eager"===this.urlUpdateStrategy&&!i.extras.skipLocationChange){const r=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(r,i)}}else t instanceof Y7?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,"deferred"===this.urlUpdateStrategy&&(i.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,i))):t instanceof Pi&&(t.code===ht.GuardRejected||t.code===ht.NoDataFromResolver)?this.restoreHistory(i):t instanceof l6?this.restoreHistory(i,!0):t instanceof $n&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,i){const r=this.urlSerializer.serialize(t);if(this.location.isCurrentPathEqualTo(r)||i.extras.replaceUrl){const o={...i.extras.state,...this.generateNgRouterState(i.id,this.browserPageId)};this.location.replaceState(r,"",o)}else{const a={...i.extras.state,...this.generateNgRouterState(i.id,this.browserPageId+1)};this.location.go(r,"",a)}}restoreHistory(t,i=!1){if("computed"===this.canceledNavigationResolution){const a=this.currentPageId-this.browserPageId;0!==a?this.location.historyGo(a):this.currentUrlTree===t.finalUrl&&0===a&&(this.resetState(t),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(i&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,i){return"computed"===this.canceledNavigationResolution?{navigationId:t,\u0275routerPageId:i}:{navigationId:t}}static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=c1(e)))(r||e)}})();static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Qa=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(Qa||{});function PM(e,n){e.events.pipe(l2(t=>t instanceof $n||t instanceof Pi||t instanceof l6||t instanceof Fi),Te(t=>t instanceof $n||t instanceof Fi?Qa.COMPLETE:t instanceof Pi&&(t.code===ht.Redirect||t.code===ht.SupersededByNewNavigation)?Qa.REDIRECTING:Qa.FAILED),l2(t=>t!==Qa.REDIRECTING),C2(1)).subscribe(()=>{n()})}function bZ(e){throw e}const wZ={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},HZ={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let O2=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=H(I_),this.stateManager=H(OM),this.options=H($i,{optional:!0})||{},this.pendingTasks=H(oi),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=H(p6),this.urlSerializer=H(Ri),this.location=H(La),this.urlHandlingStrategy=H(fu),this._events=new a1,this.errorHandler=this.options.errorHandler||bZ,this.navigated=!1,this.routeReuseStrategy=H(_Z),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=H(Wi,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!H(u6,{optional:!0}),this.eventsSubscription=new p2,this.isNgZoneEnabled=H(ve)instanceof ve&&ve.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const t=this.navigationTransitions.events.subscribe(i=>{try{const r=this.navigationTransitions.currentTransition,a=this.navigationTransitions.currentNavigation;if(null!==r&&null!==a)if(this.stateManager.handleRouterEvent(i,a),i instanceof Pi&&i.code!==ht.Redirect&&i.code!==ht.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof $n)this.navigated=!0;else if(i instanceof K7){const o=this.urlHandlingStrategy.merge(i.url,r.currentRawUrl),s={info:r.extras.info,skipLocationChange:r.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||vZ(r.source)};this.scheduleNavigation(o,Ua,null,s,{resolve:r.resolve,reject:r.reject,promise:r.promise})}(function zZ(e){return!(e instanceof Y7||e instanceof K7)})(i)&&this._events.next(i)}catch(r){this.navigationTransitions.transitionAbortSubject.next(r)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Ua,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(t,"popstate",i)},0)})}navigateToSyncWithBrowser(t,i,r){const a={replaceUrl:!0},o=r?.navigationId?r:null;if(r){const c={...r};delete c.navigationId,delete c.\u0275routerPageId,0!==Object.keys(c).length&&(a.state=c)}const s=this.parseUrl(t);this.scheduleNavigation(s,i,o,a)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(ru),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,i={}){const{relativeTo:r,queryParams:a,fragment:o,queryParamsHandling:s,preserveFragment:c}=i,l=c?this.currentUrlTree.fragment:o;let f,u=null;switch(s){case"merge":u={...this.currentUrlTree.queryParams,...a};break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=a||null}null!==u&&(u=this.removeEmptyProps(u));try{f=sM(r?r.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof t[0]||!t[0].startsWith("/"))&&(t=[]),f=this.currentUrlTree.root}return cM(f,t,u,l??null)}navigateByUrl(t,i={skipLocationChange:!1}){const r=Oi(t)?t:this.parseUrl(t),a=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(a,Ua,null,i)}navigate(t,i={skipLocationChange:!1}){return function VZ(e){for(let n=0;n<e.length;n++)if(null==e[n])throw new A(4008,!1)}(t),this.navigateByUrl(this.createUrlTree(t,i),i)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.urlSerializer.parse("/")}}isActive(t,i){let r;if(r=!0===i?{...wZ}:!1===i?{...HZ}:i,Oi(t))return Jy(this.currentUrlTree,t,r);const a=this.parseUrl(t);return Jy(this.currentUrlTree,a,r)}removeEmptyProps(t){return Object.entries(t).reduce((i,[r,a])=>(null!=a&&(i[r]=a),i),{})}scheduleNavigation(t,i,r,a,o){if(this.disposed)return Promise.resolve(!1);let s,c,l;o?(s=o.resolve,c=o.reject,l=o.promise):l=new Promise((f,p)=>{s=f,c=p});const u=this.pendingTasks.add();return PM(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:a,resolve:s,reject:c,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(f=>Promise.reject(f))}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),jt=(()=>{class e{constructor(t,i,r,a,o,s){this.router=t,this.route=i,this.tabIndexAttribute=r,this.renderer=a,this.el=o,this.locationStrategy=s,this.href=null,this.commands=null,this.onChanges=new a1,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const c=o.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===c||"area"===c,this.isAnchorElement?this.subscription=t.events.subscribe(l=>{l instanceof $n&&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,i,r,a,o){const s=this.urlTree;return!!(null===s||this.isAnchorElement&&(0!==t||i||r||a||o||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(s,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const t=this.urlTree;this.href=null!==t&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(t)):null;const i=null===this.href?null:function Mp(e,n,t){return function KR(e,n){return"src"===n&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===n&&("base"===e||"link"===e)?yp:Pr}(n,t)(e)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",i)}applyAttributeValue(t,i){const r=this.renderer,a=this.el.nativeElement;null!==i?r.setAttribute(a,t,i):r.removeAttribute(a,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})}static#e=this.\u0275fac=function(i){return new(i||e)(E(O2),E(Wn),function c4(e){return function Vk(e,n){if("class"===n)return e.classes;if("style"===n)return e.styles;const t=e.attrs;if(t){const i=t.length;let r=0;for(;r<i;){const a=t[r];if(bd(a))break;if(0===a)r+=2;else if("number"==typeof a)for(r++;r<i&&"string"==typeof t[r];)r++;else{if(a===n)return t[r+1];r+=2}}}return null}(Ke(),e)}("tabindex"),E(dn),E(Ae),E(M4))};static#t=this.\u0275dir=$({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,r){1&i&&R("click",function(o){return r.onClick(o.button,o.ctrlKey,o.shiftKey,o.altKey,o.metaKey)}),2&i&&W("target",r.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[Ge.HasDecoratorInputTransform,"preserveFragment","preserveFragment",Li],skipLocationChange:[Ge.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",Li],replaceUrl:[Ge.HasDecoratorInputTransform,"replaceUrl","replaceUrl",Li],routerLink:"routerLink"},standalone:!0,features:[ug,T1]})}return e})();class FM{}let NZ=(()=>{class e{constructor(t,i,r,a,o){this.router=t,this.injector=r,this.preloadingStrategy=a,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(l2(t=>t instanceof $n),Ia(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,i){const r=[];for(const a of i){a.providers&&!a._injector&&(a._injector=ac(a.providers,t,`Route: ${a.path}`));const o=a._injector??t,s=a._loadedInjector??o;(a.loadChildren&&!a._loadedRoutes&&void 0===a.canLoad||a.loadComponent&&!a._loadedComponent)&&r.push(this.preloadConfig(o,a)),(a.children||a._loadedRoutes)&&r.push(this.processRoutes(s,a.children??a._loadedRoutes))}return n2(r).pipe(xi())}preloadConfig(t,i){return this.preloadingStrategy.preload(i,()=>{let r;r=i.loadChildren&&void 0===i.canLoad?this.loader.loadChildren(t,i):ie(null);const a=r.pipe(r2(o=>null===o?ie(void 0):(i._loadedRoutes=o.routes,i._loadedInjector=o.injector,this.processRoutes(o.injector??t,o.routes))));return i.loadComponent&&!i._loadedComponent?n2([a,this.loader.loadComponent(i)]).pipe(xi()):a})}static#e=this.\u0275fac=function(i){return new(i||e)(te(O2),te(G_),te(E2),te(FM),te(uu))};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const du=new q("");let BM=(()=>{class e{constructor(t,i,r,a,o={}){this.urlSerializer=t,this.transitions=i,this.viewportScroller=r,this.zone=a,this.options=o,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},o.scrollPositionRestoration||="disabled",o.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof ja?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof $n?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof Fi&&t.code===c6.IgnoredSameUrlNavigation&&(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 mM&&(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,i){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new mM(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(i){!function $p(){throw new Error("invalid")}()};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac})}return e})();function Vn(e,n){return{\u0275kind:e,\u0275providers:n}}function jM(){const e=H(U1);return n=>{const t=e.get(yn);if(n!==t.components[0])return;const i=e.get(O2),r=e.get(GM);1===e.get(hu)&&i.initialNavigation(),e.get($M,null,ze.Optional)?.setUpPreloading(),e.get(du,null,ze.Optional)?.init(),i.resetRootComponentType(t.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}const GM=new q("",{factory:()=>new a1}),hu=new q("",{providedIn:"root",factory:()=>1}),$M=new q("");function TZ(e){return Vn(0,[{provide:$M,useExisting:NZ},{provide:FM,useExisting:e}])}function AZ(e){return Vn(9,[{provide:kM,useValue:mZ},{provide:RM,useValue:{skipNextTransition:!!e?.skipInitialTransition,...e}}])}const WM=new q("ROUTER_FORROOT_GUARD"),kZ=[La,{provide:Ri,useClass:j7},O2,Ga,{provide:Wn,useFactory:function UM(e){return e.routerState.root},deps:[O2]},uu,[]];let qM=(()=>{class e{constructor(t){}static forRoot(t,i){return{ngModule:e,providers:[kZ,[],{provide:Wi,multi:!0,useValue:t},{provide:WM,useFactory:FZ,deps:[[O2,new Jo,new Xo]]},{provide:$i,useValue:i||{}},i?.useHash?{provide:M4,useClass:ny}:{provide:M4,useClass:ty},{provide:du,useFactory:()=>{const e=H(dY),n=H(ve),t=H($i),i=H(p6),r=H(Ri);return t.scrollOffset&&e.setOffset(t.scrollOffset),new BM(r,i,e,n,t)}},i?.preloadingStrategy?TZ(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?BZ(i):[],i?.bindToComponentInputs?Vn(8,[bM,{provide:u6,useExisting:bM}]).\u0275providers:[],i?.enableViewTransitions?AZ().\u0275providers:[],[{provide:YM,useFactory:jM},{provide:Y5,multi:!0,useExisting:YM}]]}}static forChild(t){return{ngModule:e,providers:[{provide:Wi,multi:!0,useValue:t}]}}static#e=this.\u0275fac=function(i){return new(i||e)(te(WM,8))};static#t=this.\u0275mod=Ze({type:e});static#n=this.\u0275inj=Ye({})}return e})();function FZ(e){return"guarded"}function BZ(e){return["disabled"===e.initialNavigation?Vn(3,[{provide:W5,multi:!0,useFactory:()=>{const n=H(O2);return()=>{n.setUpLocationChangeListener()}}},{provide:hu,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?Vn(2,[{provide:hu,useValue:0},{provide:W5,multi:!0,deps:[U1],useFactory:n=>{const t=n.get(GW,Promise.resolve());return()=>t.then(()=>new Promise(i=>{const r=n.get(O2),a=n.get(GM);PM(r,()=>{i(!0)}),n.get(p6).afterPreactivation=()=>(i(!0),a.closed?ie(void 0):a),r.initialNavigation()}))}}]).\u0275providers:[]]}const YM=new q("");let jZ=(()=>{class e{title="config-ui";logoSrc="assets/images/homebridge-eufy-security.png";static \u0275fac=function(i){return new(i||e)};static \u0275cmp=oe({type:e,selectors:[["app-root"]],standalone:!0,features:[se],decls:16,vars:1,consts:[[1,"card","card-body",2,"width","100%"],[1,"logo"],["alt","Homebridge Eufy Security Logo",1,"logo",3,"src"],[1,"text-center"],[2,"font-weight","800"],[1,"pluginContent",2,"max-width","720px !important"],[1,"footer"]],template:function(i,r){1&i&&(m(0,"div",0)(1,"div",1),k(2,"img",2),v(),m(3,"h3",3),M(4," Welcome to"),k(5,"br"),m(6,"b",4),M(7,"Eufy Security Plugin"),v()(),m(8,"h6",3),M(9,"Homebridge plugin for Eufy Security Devices"),v(),k(10,"hr"),m(11,"div",5),k(12,"router-outlet"),v(),k(13,"hr"),m(14,"div",6),M(15,"We are not affiliated, associated, authorized, endorsed by, or in any way officially connected with Anker Innovations Technology Co.LTd, and Shenzhen Oceanwing Smart Innovations Technology Co., Ltd, and its affiliated companies within the Anker Group, or any of its subsidiaries or its affiliates. "),v()()),2&i&&(C(2),V("src",r.logoSrc,Pr))},dependencies:[iu],styles:["div.logo[_ngcontent-%COMP%]{text-align:center;margin:0 0 5px}img.logo[_ngcontent-%COMP%]{text-align:center;margin:0 auto;max-width:75%;height:auto;object-fit:cover}.footer[_ngcontent-%COMP%]{font-size:small;color:#888}"]})}return e})();function KM(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,i)}return t}function Y(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?KM(Object(t),!0).forEach(function(i){a2(e,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):KM(Object(t)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(t,i))})}return e}function m6(e){return(m6="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(e)}function QM(e,n){for(var t=0;t<n.length;t++){var i=n[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function a2(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function pu(e,n){return function YZ(e){if(Array.isArray(e))return e}(e)||function QZ(e,n){var t=null==e?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var o,s,i=[],r=!0,a=!1;try{for(t=t.call(e);!(r=(o=t.next()).done)&&(i.push(o.value),!n||i.length!==n);r=!0);}catch(c){a=!0,s=c}finally{try{!r&&null!=t.return&&t.return()}finally{if(a)throw s}}return i}}(e,n)||ZM(e,n)||function JZ(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ja(e){return function qZ(e){if(Array.isArray(e))return mu(e)}(e)||function KZ(e){if(typeof Symbol<"u"&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||ZM(e)||function ZZ(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ZM(e,n){if(e){if("string"==typeof e)return mu(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return mu(e,n)}}function mu(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,i=new Array(n);t<n;t++)i[t]=e[t];return i}var JM=function(){},gu={},XM={},eb=null,tb={mark:JM,measure:JM};try{typeof window<"u"&&(gu=window),typeof document<"u"&&(XM=document),typeof MutationObserver<"u"&&(eb=MutationObserver),typeof performance<"u"&&(tb=performance)}catch{}var _6,C6,y6,M6,b6,nb=(gu.navigator||{}).userAgent,ib=void 0===nb?"":nb,w4=gu,g1=XM,rb=eb,v6=tb,qn=!!g1.documentElement&&!!g1.head&&"function"==typeof g1.addEventListener&&"function"==typeof g1.createElement,ab=~ib.indexOf("MSIE")||~ib.indexOf("Trident/"),Yn="___FONT_AWESOME___",ob="fa",sb="svg-inline--fa",a3="data-fa-i2svg",_u="data-fa-pseudo-element",eJ="data-fa-pseudo-element-pending",Cu="data-prefix",yu="data-icon",cb="fontawesome-i2svg",tJ="async",nJ=["HTML","HEAD","STYLE","SCRIPT"],lb=function(){try{return!0}catch{return!1}}(),v1="classic",A1="sharp",Mu=[v1,A1];function Xa(e){return new Proxy(e,{get:function(t,i){return i in t?t[i]:t[v1]}})}var eo=Xa((a2(_6={},v1,{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit",fakd:"kit","fa-kit":"kit","fa-kit-duotone":"kit"}),a2(_6,A1,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"}),_6)),to=Xa((a2(C6={},v1,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),a2(C6,A1,{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"}),C6)),no=Xa((a2(y6={},v1,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),a2(y6,A1,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"}),y6)),iJ=Xa((a2(M6={},v1,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),a2(M6,A1,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"}),M6)),rJ=/fa(s|r|l|t|d|b|k|ss|sr|sl|st)?[\-\ ]/,ub="fa-layers-text",aJ=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,oJ=Xa((a2(b6={},v1,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),a2(b6,A1,{900:"fass",400:"fasr",300:"fasl",100:"fast"}),b6)),fb=[1,2,3,4,5,6,7,8,9,10],sJ=fb.concat([11,12,13,14,15,16,17,18,19,20]),cJ=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],o3={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},io=new Set;Object.keys(to[v1]).map(io.add.bind(io)),Object.keys(to[A1]).map(io.add.bind(io));var lJ=[].concat(Mu,Ja(io),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",o3.GROUP,o3.SWAP_OPACITY,o3.PRIMARY,o3.SECONDARY]).concat(fb.map(function(e){return"".concat(e,"x")})).concat(sJ.map(function(e){return"w-".concat(e)})),ro=w4.FontAwesomeConfig||{};g1&&"function"==typeof g1.querySelector&&[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(function(e){var n=pu(e,2),i=n[1],r=function fJ(e){return""===e||"false"!==e&&("true"===e||e)}(function uJ(e){var n=g1.querySelector("script["+e+"]");if(n)return n.getAttribute(e)}(n[0]));null!=r&&(ro[i]=r)});var db={styleDefault:"solid",familyDefault:"classic",cssPrefix:ob,replacementClass:sb,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};ro.familyPrefix&&(ro.cssPrefix=ro.familyPrefix);var qi=Y(Y({},db),ro);qi.autoReplaceSvg||(qi.observeMutations=!1);var Q={};Object.keys(db).forEach(function(e){Object.defineProperty(Q,e,{enumerable:!0,set:function(t){qi[e]=t,ao.forEach(function(i){return i(Q)})},get:function(){return qi[e]}})}),Object.defineProperty(Q,"familyPrefix",{enumerable:!0,set:function(n){qi.cssPrefix=n,ao.forEach(function(t){return t(Q)})},get:function(){return qi.cssPrefix}}),w4.FontAwesomeConfig=Q;var ao=[],zn={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1},mJ="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function oo(){for(var e=12,n="";e-- >0;)n+=mJ[62*Math.random()|0];return n}function Yi(e){for(var n=[],t=(e||[]).length>>>0;t--;)n[t]=e[t];return n}function bu(e){return e.classList?Yi(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(n){return n})}function hb(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function w6(e){return Object.keys(e||{}).reduce(function(n,t){return n+"".concat(t,": ").concat(e[t].trim(),";")},"")}function wu(e){return e.size!==zn.size||e.x!==zn.x||e.y!==zn.y||e.rotate!==zn.rotate||e.flipX||e.flipY}var CJ=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n transform: scale(var(--fa-counter-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(var(--fa-li-width, 2em) * -1);\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n -webkit-animation-name: fa-beat;\n animation-name: fa-beat;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n -webkit-animation-name: fa-bounce;\n animation-name: fa-bounce;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n -webkit-animation-name: fa-fade;\n animation-name: fa-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n -webkit-animation-name: fa-beat-fade;\n animation-name: fa-beat-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n -webkit-animation-name: fa-flip;\n animation-name: fa-flip;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n -webkit-animation-name: fa-shake;\n animation-name: fa-shake;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 2s);\n animation-duration: var(--fa-animation-duration, 2s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n -webkit-animation-delay: -1ms;\n animation-delay: -1ms;\n -webkit-animation-duration: 1ms;\n animation-duration: 1ms;\n -webkit-animation-iteration-count: 1;\n animation-iteration-count: 1;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n@-webkit-keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@-webkit-keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@-webkit-keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@-webkit-keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@-webkit-keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@-webkit-keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n -webkit-transform: rotate(var(--fa-rotate-angle, 0));\n transform: rotate(var(--fa-rotate-angle, 0));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n color: var(--fa-inverse, #fff);\n}';function pb(){var e=ob,n=sb,t=Q.cssPrefix,i=Q.replacementClass,r=CJ;if(t!==e||i!==n){var a=new RegExp("\\.".concat(e,"\\-"),"g"),o=new RegExp("\\--".concat(e,"\\-"),"g"),s=new RegExp("\\.".concat(n),"g");r=r.replace(a,".".concat(t,"-")).replace(o,"--".concat(t,"-")).replace(s,".".concat(i))}return r}var mb=!1;function Hu(){Q.autoAddCss&&!mb&&(function pJ(e){if(e&&qn){var n=g1.createElement("style");n.setAttribute("type","text/css"),n.innerHTML=e;for(var t=g1.head.childNodes,i=null,r=t.length-1;r>-1;r--){var a=t[r],o=(a.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(i=a)}g1.head.insertBefore(n,i)}}(pb()),mb=!0)}var yJ={mixout:function(){return{dom:{css:pb,insertCss:Hu}}},hooks:function(){return{beforeDOMElementCreation:function(){Hu()},beforeI2svg:function(){Hu()}}}},Kn=w4||{};Kn[Yn]||(Kn[Yn]={}),Kn[Yn].styles||(Kn[Yn].styles={}),Kn[Yn].hooks||(Kn[Yn].hooks={}),Kn[Yn].shims||(Kn[Yn].shims=[]);var Gt=Kn[Yn],gb=[],H6=!1;function so(e){var n=e.tag,t=e.attributes,i=void 0===t?{}:t,r=e.children,a=void 0===r?[]:r;return"string"==typeof e?hb(e):"<".concat(n," ").concat(function gJ(e){return Object.keys(e||{}).reduce(function(n,t){return n+"".concat(t,'="').concat(hb(e[t]),'" ')},"").trim()}(i),">").concat(a.map(so).join(""),"</").concat(n,">")}function vb(e,n,t){if(e&&e[n]&&e[n][t])return{prefix:n,iconName:t,icon:e[n][t]}}qn&&((H6=(g1.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(g1.readyState))||g1.addEventListener("DOMContentLoaded",function e(){g1.removeEventListener("DOMContentLoaded",e),H6=1,gb.map(function(n){return n()})}));var Vu=function(n,t,i,r){var c,l,u,a=Object.keys(n),o=a.length,s=void 0!==r?function(n,t){return function(i,r,a,o){return n.call(t,i,r,a,o)}}(t,r):t;for(void 0===i?(c=1,u=n[a[0]]):(c=0,u=i);c<o;c++)u=s(u,n[l=a[c]],l,n);return u};function zu(e){var n=function HJ(e){for(var n=[],t=0,i=e.length;t<i;){var r=e.charCodeAt(t++);if(r>=55296&&r<=56319&&t<i){var a=e.charCodeAt(t++);56320==(64512&a)?n.push(((1023&r)<<10)+(1023&a)+65536):(n.push(r),t--)}else n.push(r)}return n}(e);return 1===n.length?n[0].toString(16):null}function _b(e){return Object.keys(e).reduce(function(n,t){var i=e[t];return i.icon?n[i.iconName]=i.icon:n[t]=i,n},{})}function Du(e,n){var i=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,r=void 0!==i&&i,a=_b(n);"function"!=typeof Gt.hooks.addPack||r?Gt.styles[e]=Y(Y({},Gt.styles[e]||{}),a):Gt.hooks.addPack(e,_b(n)),"fas"===e&&Du("fa",n)}var V6,z6,D6,Ki=Gt.styles,zJ=Gt.shims,DJ=(a2(V6={},v1,Object.values(no[v1])),a2(V6,A1,Object.values(no[A1])),V6),Su=null,Cb={},yb={},Mb={},bb={},wb={},SJ=(a2(z6={},v1,Object.keys(eo[v1])),a2(z6,A1,Object.keys(eo[A1])),z6);var Hb=function(){var n=function(a){return Vu(Ki,function(o,s,c){return o[c]=Vu(s,a,{}),o},{})};Cb=n(function(r,a,o){return a[3]&&(r[a[3]]=o),a[2]&&a[2].filter(function(c){return"number"==typeof c}).forEach(function(c){r[c.toString(16)]=o}),r}),yb=n(function(r,a,o){return r[o]=o,a[2]&&a[2].filter(function(c){return"string"==typeof c}).forEach(function(c){r[c]=o}),r}),wb=n(function(r,a,o){var s=a[2];return r[o]=o,s.forEach(function(c){r[c]=o}),r});var t="far"in Ki||Q.autoFetchSvg,i=Vu(zJ,function(r,a){var o=a[0],s=a[1],c=a[2];return"far"===s&&!t&&(s="fas"),"string"==typeof o&&(r.names[o]={prefix:s,iconName:c}),"number"==typeof o&&(r.unicodes[o.toString(16)]={prefix:s,iconName:c}),r},{names:{},unicodes:{}});Mb=i.names,bb=i.unicodes,Su=S6(Q.styleDefault,{family:Q.familyDefault})};function Nu(e,n){return(Cb[e]||{})[n]}function s3(e,n){return(wb[e]||{})[n]}function Vb(e){return Mb[e]||{prefix:null,iconName:null}}function V4(){return Su}(function hJ(e){ao.push(e)})(function(e){Su=S6(e.styleDefault,{family:Q.familyDefault})}),Hb();var Lu=function(){return{prefix:null,iconName:null,rest:[]}};function S6(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).family,i=void 0===t?v1:t;return to[i][e]||to[i][eo[i][e]]||(e in Gt.styles?e:null)||null}var zb=(a2(D6={},v1,Object.keys(no[v1])),a2(D6,A1,Object.keys(no[A1])),D6);function N6(e){var n,i=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,r=void 0!==i&&i,a=(a2(n={},v1,"".concat(Q.cssPrefix,"-").concat(v1)),a2(n,A1,"".concat(Q.cssPrefix,"-").concat(A1)),n),o=null,s=v1;(e.includes(a[v1])||e.some(function(l){return zb[v1].includes(l)}))&&(s=v1),(e.includes(a[A1])||e.some(function(l){return zb[A1].includes(l)}))&&(s=A1);var c=e.reduce(function(l,u){var f=function LJ(e,n){var t=n.split("-"),i=t[0],r=t.slice(1).join("-");return i!==e||""===r||function NJ(e){return~lJ.indexOf(e)}(r)?null:r}(Q.cssPrefix,u);if(Ki[u]?(u=DJ[s].includes(u)?iJ[s][u]:u,o=u,l.prefix=u):SJ[s].indexOf(u)>-1?(o=u,l.prefix=S6(u,{family:s})):f?l.iconName=f:u!==Q.replacementClass&&u!==a[v1]&&u!==a[A1]&&l.rest.push(u),!r&&l.prefix&&l.iconName){var p="fa"===o?Vb(l.iconName):{},g=s3(l.prefix,l.iconName);p.prefix&&(o=null),l.iconName=p.iconName||g||l.iconName,l.prefix=p.prefix||l.prefix,"far"===l.prefix&&!Ki.far&&Ki.fas&&!Q.autoFetchSvg&&(l.prefix="fas")}return l},Lu());return(e.includes("fa-brands")||e.includes("fab"))&&(c.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(c.prefix="fad"),!c.prefix&&s===A1&&(Ki.fass||Q.autoFetchSvg)&&(c.prefix="fass",c.iconName=s3(c.prefix,c.iconName)||c.iconName),("fa"===c.prefix||"fa"===o)&&(c.prefix=V4()||"fas"),c}var TJ=function(){function e(){(function GZ(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")})(this,e),this.definitions={}}return function $Z(e,n,t){n&&QM(e.prototype,n),t&&QM(e,t),Object.defineProperty(e,"prototype",{writable:!1})}(e,[{key:"add",value:function(){for(var t=this,i=arguments.length,r=new Array(i),a=0;a<i;a++)r[a]=arguments[a];var o=r.reduce(this._pullDefinitions,{});Object.keys(o).forEach(function(s){t.definitions[s]=Y(Y({},t.definitions[s]||{}),o[s]),Du(s,o[s]);var c=no[v1][s];c&&Du(c,o[s]),Hb()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(t,i){var r=i.prefix&&i.iconName&&i.icon?{0:i}:i;return Object.keys(r).map(function(a){var o=r[a],s=o.prefix,c=o.iconName,l=o.icon,u=l[2];t[s]||(t[s]={}),u.length>0&&u.forEach(function(f){"string"==typeof f&&(t[s][f]=l)}),t[s][c]=l}),t}}]),e}(),Db=[],Qi={},Zi={},IJ=Object.keys(Zi);function xu(e,n){for(var t=arguments.length,i=new Array(t>2?t-2:0),r=2;r<t;r++)i[r-2]=arguments[r];return(Qi[e]||[]).forEach(function(o){n=o.apply(null,[n].concat(i))}),n}function c3(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),i=1;i<n;i++)t[i-1]=arguments[i];(Qi[e]||[]).forEach(function(a){a.apply(null,t)})}function Qn(){var e=arguments[0],n=Array.prototype.slice.call(arguments,1);return Zi[e]?Zi[e].apply(null,n):void 0}function Eu(e){"fa"===e.prefix&&(e.prefix="fas");var n=e.iconName,t=e.prefix||V4();if(n)return n=s3(t,n)||n,vb(Sb.definitions,t,n)||vb(Gt.styles,t,n)}var Sb=new TJ,RJ={i2svg:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return qn?(c3("beforeI2svg",n),Qn("pseudoElements2svg",n),Qn("i2svg",n)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=n.autoReplaceSvgRoot;!1===Q.autoReplaceSvg&&(Q.autoReplaceSvg=!0),Q.observeMutations=!0,function bJ(e){qn&&(H6?setTimeout(e,0):gb.push(e))}(function(){PJ({autoReplaceSvgRoot:t}),c3("watch",n)})}},pt={noAuto:function(){Q.autoReplaceSvg=!1,Q.observeMutations=!1,c3("noAuto")},config:Q,dom:RJ,parse:{icon:function(n){if(null===n)return null;if("object"===m6(n)&&n.prefix&&n.iconName)return{prefix:n.prefix,iconName:s3(n.prefix,n.iconName)||n.iconName};if(Array.isArray(n)&&2===n.length){var t=0===n[1].indexOf("fa-")?n[1].slice(3):n[1],i=S6(n[0]);return{prefix:i,iconName:s3(i,t)||t}}if("string"==typeof n&&(n.indexOf("".concat(Q.cssPrefix,"-"))>-1||n.match(rJ))){var r=N6(n.split(" "),{skipLookups:!0});return{prefix:r.prefix||V4(),iconName:s3(r.prefix,r.iconName)||r.iconName}}if("string"==typeof n){var a=V4();return{prefix:a,iconName:s3(a,n)||n}}}},library:Sb,findIconDefinition:Eu,toHtml:so},PJ=function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,i=void 0===t?g1:t;(Object.keys(Gt.styles).length>0||Q.autoFetchSvg)&&qn&&Q.autoReplaceSvg&&pt.dom.i2svg({node:i})};function L6(e,n){return Object.defineProperty(e,"abstract",{get:n}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(i){return so(i)})}}),Object.defineProperty(e,"node",{get:function(){if(qn){var i=g1.createElement("div");return i.innerHTML=e.html,i.children}}}),e}function Tu(e){var n=e.icons,t=n.main,i=n.mask,r=e.prefix,a=e.iconName,o=e.transform,s=e.symbol,c=e.title,l=e.maskId,u=e.titleId,f=e.extra,p=e.watchable,g=void 0!==p&&p,b=i.found?i:t,w=b.width,S=b.height,L="fak"===r,N=[Q.replacementClass,a?"".concat(Q.cssPrefix,"-").concat(a):""].filter(function($e){return-1===f.classes.indexOf($e)}).filter(function($e){return""!==$e||!!$e}).concat(f.classes).join(" "),P={children:[],attributes:Y(Y({},f.attributes),{},{"data-prefix":r,"data-icon":a,class:N,role:f.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(w," ").concat(S)})},F=L&&!~f.classes.indexOf("fa-fw")?{width:"".concat(w/S*16*.0625,"em")}:{};g&&(P.attributes[a3]=""),c&&(P.children.push({tag:"title",attributes:{id:P.attributes["aria-labelledby"]||"title-".concat(u||oo())},children:[c]}),delete P.attributes.title);var G=Y(Y({},P),{},{prefix:r,iconName:a,main:t,mask:i,maskId:l,transform:o,symbol:s,styles:Y(Y({},F),f.styles)}),K=i.found&&t.found?Qn("generateAbstractMask",G)||{children:[],attributes:{}}:Qn("generateAbstractIcon",G)||{children:[],attributes:{}},Se=K.attributes;return G.children=K.children,G.attributes=Se,s?function BJ(e){var t=e.iconName,i=e.children,r=e.attributes,a=e.symbol,o=!0===a?"".concat(e.prefix,"-").concat(Q.cssPrefix,"-").concat(t):a;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:Y(Y({},r),{},{id:o}),children:i}]}]}(G):function FJ(e){var n=e.children,t=e.main,i=e.mask,r=e.attributes,a=e.styles,o=e.transform;if(wu(o)&&t.found&&!i.found){var l={x:t.width/t.height/2,y:.5};r.style=w6(Y(Y({},a),{},{"transform-origin":"".concat(l.x+o.x/16,"em ").concat(l.y+o.y/16,"em")}))}return[{tag:"svg",attributes:r,children:n}]}(G)}function Nb(e){var n=e.content,t=e.width,i=e.height,r=e.transform,a=e.title,o=e.extra,s=e.watchable,c=void 0!==s&&s,l=Y(Y(Y({},o.attributes),a?{title:a}:{}),{},{class:o.classes.join(" ")});c&&(l[a3]="");var u=Y({},o.styles);wu(r)&&(u.transform=function _J(e){var n=e.transform,t=e.width,r=e.height,a=void 0===r?16:r,o=e.startCentered,s=void 0!==o&&o,c="";return c+=s&&ab?"translate(".concat(n.x/16-(void 0===t?16:t)/2,"em, ").concat(n.y/16-a/2,"em) "):s?"translate(calc(-50% + ".concat(n.x/16,"em), calc(-50% + ").concat(n.y/16,"em)) "):"translate(".concat(n.x/16,"em, ").concat(n.y/16,"em) "),(c+="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "))+"rotate(".concat(n.rotate,"deg) ")}({transform:r,startCentered:!0,width:t,height:i}),u["-webkit-transform"]=u.transform);var f=w6(u);f.length>0&&(l.style=f);var p=[];return p.push({tag:"span",attributes:l,children:[n]}),a&&p.push({tag:"span",attributes:{class:"sr-only"},children:[a]}),p}var Iu=Gt.styles;function Au(e){var n=e[0],t=e[1],a=pu(e.slice(4),1)[0];return{found:!0,width:n,height:t,icon:Array.isArray(a)?{tag:"g",attributes:{class:"".concat(Q.cssPrefix,"-").concat(o3.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Q.cssPrefix,"-").concat(o3.SECONDARY),fill:"currentColor",d:a[0]}},{tag:"path",attributes:{class:"".concat(Q.cssPrefix,"-").concat(o3.PRIMARY),fill:"currentColor",d:a[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:a}}}}var jJ={found:!1,width:512,height:512};function ku(e,n){var t=n;return"fa"===n&&null!==Q.styleDefault&&(n=V4()),new Promise(function(i,r){if(Qn("missingIconAbstract"),"fa"===t){var o=Vb(e)||{};e=o.iconName||e,n=o.prefix||n}if(e&&n&&Iu[n]&&Iu[n][e])return i(Au(Iu[n][e]));(function GJ(e,n){!lb&&!Q.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(n,'" is missing.'))})(e,n),i(Y(Y({},jJ),{},{icon:Q.showMissingIcons&&e&&Qn("missingIconAbstract")||{}}))})}var Lb=function(){},Ru=Q.measurePerformance&&v6&&v6.mark&&v6.measure?v6:{mark:Lb,measure:Lb},co='FA "6.5.2"',xb=function(n){Ru.mark("".concat(co," ").concat(n," ends")),Ru.measure("".concat(co," ").concat(n),"".concat(co," ").concat(n," begins"),"".concat(co," ").concat(n," ends"))},Ou={begin:function(n){return Ru.mark("".concat(co," ").concat(n," begins")),function(){return xb(n)}},end:xb},x6=function(){};function Eb(e){return"string"==typeof(e.getAttribute?e.getAttribute(a3):null)}function KJ(e){return g1.createElementNS("http://www.w3.org/2000/svg",e)}function QJ(e){return g1.createElement(e)}function Tb(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,i=void 0===t?"svg"===e.tag?KJ:QJ:t;if("string"==typeof e)return g1.createTextNode(e);var r=i(e.tag);return Object.keys(e.attributes||[]).forEach(function(o){r.setAttribute(o,e.attributes[o])}),(e.children||[]).forEach(function(o){r.appendChild(Tb(o,{ceFn:i}))}),r}var E6={replace:function(n){var t=n[0];if(t.parentNode)if(n[1].forEach(function(r){t.parentNode.insertBefore(Tb(r),t)}),null===t.getAttribute(a3)&&Q.keepOriginalSource){var i=g1.createComment(function ZJ(e){var n=" ".concat(e.outerHTML," ");return"".concat(n,"Font Awesome fontawesome.com ")}(t));t.parentNode.replaceChild(i,t)}else t.remove()},nest:function(n){var t=n[0],i=n[1];if(~bu(t).indexOf(Q.replacementClass))return E6.replace(n);var r=new RegExp("".concat(Q.cssPrefix,"-.*"));if(delete i[0].attributes.id,i[0].attributes.class){var a=i[0].attributes.class.split(" ").reduce(function(s,c){return c===Q.replacementClass||c.match(r)?s.toSvg.push(c):s.toNode.push(c),s},{toNode:[],toSvg:[]});i[0].attributes.class=a.toSvg.join(" "),0===a.toNode.length?t.removeAttribute("class"):t.setAttribute("class",a.toNode.join(" "))}var o=i.map(function(s){return so(s)}).join("\n");t.setAttribute(a3,""),t.innerHTML=o}};function Ib(e){e()}function Ab(e,n){var t="function"==typeof n?n:x6;if(0===e.length)t();else{var i=Ib;Q.mutateApproach===tJ&&(i=w4.requestAnimationFrame||Ib),i(function(){var r=function YJ(){return!0===Q.autoReplaceSvg?E6.replace:E6[Q.autoReplaceSvg]||E6.replace}(),a=Ou.begin("mutate");e.map(r),a(),t()})}}var Pu=!1;function kb(){Pu=!0}function Fu(){Pu=!1}var T6=null;function Rb(e){if(rb&&Q.observeMutations){var n=e.treeCallback,t=void 0===n?x6:n,i=e.nodeCallback,r=void 0===i?x6:i,a=e.pseudoElementsCallback,o=void 0===a?x6:a,s=e.observeMutationsRoot,c=void 0===s?g1:s;T6=new rb(function(l){if(!Pu){var u=V4();Yi(l).forEach(function(f){if("childList"===f.type&&f.addedNodes.length>0&&!Eb(f.addedNodes[0])&&(Q.searchPseudoElements&&o(f.target),t(f.target)),"attributes"===f.type&&f.target.parentNode&&Q.searchPseudoElements&&o(f.target.parentNode),"attributes"===f.type&&Eb(f.target)&&~cJ.indexOf(f.attributeName))if("class"===f.attributeName&&function WJ(e){var n=e.getAttribute?e.getAttribute(Cu):null,t=e.getAttribute?e.getAttribute(yu):null;return n&&t}(f.target)){var p=N6(bu(f.target)),b=p.iconName;f.target.setAttribute(Cu,p.prefix||u),b&&f.target.setAttribute(yu,b)}else(function qJ(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(Q.replacementClass)})(f.target)&&r(f.target)})}}),qn&&T6.observe(c,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Ob(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},t=function eX(e){var n=e.getAttribute("data-prefix"),t=e.getAttribute("data-icon"),i=void 0!==e.innerText?e.innerText.trim():"",r=N6(bu(e));return r.prefix||(r.prefix=V4()),n&&t&&(r.prefix=n,r.iconName=t),r.iconName&&r.prefix||(r.prefix&&i.length>0&&(r.iconName=function xJ(e,n){return(yb[e]||{})[n]}(r.prefix,e.innerText)||Nu(r.prefix,zu(e.innerText))),!r.iconName&&Q.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(r.iconName=e.firstChild.data)),r}(e),i=t.iconName,r=t.prefix,a=t.rest,o=function tX(e){var n=Yi(e.attributes).reduce(function(r,a){return"class"!==r.name&&"style"!==r.name&&(r[a.name]=a.value),r},{}),t=e.getAttribute("title"),i=e.getAttribute("data-fa-title-id");return Q.autoA11y&&(t?n["aria-labelledby"]="".concat(Q.replacementClass,"-title-").concat(i||oo()):(n["aria-hidden"]="true",n.focusable="false")),n}(e),s=xu("parseNodeAttributes",{},e),c=n.styleParser?function XJ(e){var n=e.getAttribute("style"),t=[];return n&&(t=n.split(";").reduce(function(i,r){var a=r.split(":"),o=a[0],s=a.slice(1);return o&&s.length>0&&(i[o]=s.join(":").trim()),i},{})),t}(e):[];return Y({iconName:i,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:r,transform:zn,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:c,attributes:o}},s)}var iX=Gt.styles;function Pb(e){var n="nest"===Q.autoReplaceSvg?Ob(e,{styleParser:!1}):Ob(e);return~n.extra.classes.indexOf(ub)?Qn("generateLayersText",e,n):Qn("generateSvgReplacementMutation",e,n)}var z4=new Set;function Fb(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!qn)return Promise.resolve();var t=g1.documentElement.classList,i=function(f){return t.add("".concat(cb,"-").concat(f))},r=function(f){return t.remove("".concat(cb,"-").concat(f))},a=Q.autoFetchSvg?z4:Mu.map(function(u){return"fa-".concat(u)}).concat(Object.keys(iX));a.includes("fa")||a.push("fa");var o=[".".concat(ub,":not([").concat(a3,"])")].concat(a.map(function(u){return".".concat(u,":not([").concat(a3,"])")})).join(", ");if(0===o.length)return Promise.resolve();var s=[];try{s=Yi(e.querySelectorAll(o))}catch{}if(!(s.length>0))return Promise.resolve();i("pending"),r("complete");var c=Ou.begin("onTree"),l=s.reduce(function(u,f){try{var p=Pb(f);p&&u.push(p)}catch(g){lb||"MissingIcon"===g.name&&console.error(g)}return u},[]);return new Promise(function(u,f){Promise.all(l).then(function(p){Ab(p,function(){i("active"),i("complete"),r("pending"),"function"==typeof n&&n(),c(),u()})}).catch(function(p){c(),f(p)})})}function rX(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;Pb(e).then(function(t){t&&Ab([t],n)})}Mu.map(function(e){z4.add("fa-".concat(e))}),Object.keys(eo[v1]).map(z4.add.bind(z4)),Object.keys(eo[A1]).map(z4.add.bind(z4)),z4=Ja(z4);var oX=function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=t.transform,r=void 0===i?zn:i,a=t.symbol,o=void 0!==a&&a,s=t.mask,c=void 0===s?null:s,l=t.maskId,u=void 0===l?null:l,f=t.title,p=void 0===f?null:f,g=t.titleId,b=void 0===g?null:g,w=t.classes,S=void 0===w?[]:w,L=t.attributes,N=void 0===L?{}:L,P=t.styles,F=void 0===P?{}:P;if(n){var G=n.prefix,K=n.iconName,de=n.icon;return L6(Y({type:"icon"},n),function(){return c3("beforeDOMElementCreation",{iconDefinition:n,params:t}),Q.autoA11y&&(p?N["aria-labelledby"]="".concat(Q.replacementClass,"-title-").concat(b||oo()):(N["aria-hidden"]="true",N.focusable="false")),Tu({icons:{main:Au(de),mask:c?Au(c.icon):{found:!1,width:null,height:null,icon:{}}},prefix:G,iconName:K,transform:Y(Y({},zn),r),symbol:o,title:p,maskId:u,titleId:b,extra:{attributes:N,styles:F,classes:S}})})}},sX={mixout:function(){return{icon:(e=oX,function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=(n||{}).icon?n:Eu(n||{}),r=t.mask;return r&&(r=(r||{}).icon?r:Eu(r||{})),e(i,Y(Y({},t),{},{mask:r}))})};var e},hooks:function(){return{mutationObserverCallbacks:function(t){return t.treeCallback=Fb,t.nodeCallback=rX,t}}},provides:function(n){n.i2svg=function(t){var i=t.node,a=t.callback;return Fb(void 0===i?g1:i,void 0===a?function(){}:a)},n.generateSvgReplacementMutation=function(t,i){var r=i.iconName,a=i.title,o=i.titleId,s=i.prefix,c=i.transform,l=i.symbol,u=i.mask,f=i.maskId,p=i.extra;return new Promise(function(g,b){Promise.all([ku(r,s),u.iconName?ku(u.iconName,u.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(w){var S=pu(w,2);g([t,Tu({icons:{main:S[0],mask:S[1]},prefix:s,iconName:r,transform:c,symbol:l,maskId:f,title:a,titleId:o,extra:p,watchable:!0})])}).catch(b)})},n.generateAbstractIcon=function(t){var l,i=t.children,r=t.attributes,a=t.main,o=t.transform,c=w6(t.styles);return c.length>0&&(r.style=c),wu(o)&&(l=Qn("generateAbstractTransformGrouping",{main:a,transform:o,containerWidth:a.width,iconWidth:a.width})),i.push(l||a.icon),{children:i,attributes:r}}}},cX={mixout:function(){return{layer:function(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=i.classes,a=void 0===r?[]:r;return L6({type:"layer"},function(){c3("beforeDOMElementCreation",{assembler:t,params:i});var o=[];return t(function(s){Array.isArray(s)?s.map(function(c){o=o.concat(c.abstract)}):o=o.concat(s.abstract)}),[{tag:"span",attributes:{class:["".concat(Q.cssPrefix,"-layers")].concat(Ja(a)).join(" ")},children:o}]})}}}},lX={mixout:function(){return{counter:function(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=i.title,a=void 0===r?null:r,o=i.classes,s=void 0===o?[]:o,c=i.attributes,l=void 0===c?{}:c,u=i.styles,f=void 0===u?{}:u;return L6({type:"counter",content:t},function(){return c3("beforeDOMElementCreation",{content:t,params:i}),function UJ(e){var n=e.content,t=e.title,i=e.extra,r=Y(Y(Y({},i.attributes),t?{title:t}:{}),{},{class:i.classes.join(" ")}),a=w6(i.styles);a.length>0&&(r.style=a);var o=[];return o.push({tag:"span",attributes:r,children:[n]}),t&&o.push({tag:"span",attributes:{class:"sr-only"},children:[t]}),o}({content:t.toString(),title:a,extra:{attributes:l,styles:f,classes:["".concat(Q.cssPrefix,"-layers-counter")].concat(Ja(s))}})})}}}},uX={mixout:function(){return{text:function(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=i.transform,a=void 0===r?zn:r,o=i.title,s=void 0===o?null:o,c=i.classes,l=void 0===c?[]:c,u=i.attributes,f=void 0===u?{}:u,p=i.styles,g=void 0===p?{}:p;return L6({type:"text",content:t},function(){return c3("beforeDOMElementCreation",{content:t,params:i}),Nb({content:t,transform:Y(Y({},zn),a),title:s,extra:{attributes:f,styles:g,classes:["".concat(Q.cssPrefix,"-layers-text")].concat(Ja(l))}})})}}},provides:function(n){n.generateLayersText=function(t,i){var r=i.title,a=i.transform,o=i.extra,s=null,c=null;if(ab){var l=parseInt(getComputedStyle(t).fontSize,10),u=t.getBoundingClientRect();s=u.width/l,c=u.height/l}return Q.autoA11y&&!r&&(o.attributes["aria-hidden"]="true"),Promise.resolve([t,Nb({content:t.innerHTML,width:s,height:c,transform:a,title:r,extra:o,watchable:!0})])}}},fX=new RegExp('"',"ug"),Bb=[1105920,1112319];function Ub(e,n){var t="".concat(eJ).concat(n.replace(":","-"));return new Promise(function(i,r){if(null!==e.getAttribute(t))return i();var o=Yi(e.children).filter(function(de){return de.getAttribute(_u)===n})[0],s=w4.getComputedStyle(e,n),c=s.getPropertyValue("font-family").match(aJ),l=s.getPropertyValue("font-weight"),u=s.getPropertyValue("content");if(o&&!c)return e.removeChild(o),i();if(c&&"none"!==u&&""!==u){var f=s.getPropertyValue("content"),p=~["Sharp"].indexOf(c[2])?A1:v1,g=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(c[2])?to[p][c[2].toLowerCase()]:oJ[p][l],b=function dX(e){var n=e.replace(fX,""),t=function VJ(e,n){var r,t=e.length,i=e.charCodeAt(n);return i>=55296&&i<=56319&&t>n+1&&(r=e.charCodeAt(n+1))>=56320&&r<=57343?1024*(i-55296)+r-56320+65536:i}(n,0),i=t>=Bb[0]&&t<=Bb[1],r=2===n.length&&n[0]===n[1];return{value:zu(r?n[0]:n),isSecondary:i||r}}(f),w=b.value,S=b.isSecondary,L=c[0].startsWith("FontAwesome"),N=Nu(g,w),P=N;if(L){var F=function EJ(e){var n=bb[e],t=Nu("fas",e);return n||(t?{prefix:"fas",iconName:t}:null)||{prefix:null,iconName:null}}(w);F.iconName&&F.prefix&&(N=F.iconName,g=F.prefix)}if(!N||S||o&&o.getAttribute(Cu)===g&&o.getAttribute(yu)===P)i();else{e.setAttribute(t,P),o&&e.removeChild(o);var G=function nX(){return{iconName:null,title:null,titleId:null,prefix:null,transform:zn,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}(),K=G.extra;K.attributes[_u]=n,ku(N,g).then(function(de){var Se=Tu(Y(Y({},G),{},{icons:{main:de,mask:Lu()},prefix:g,iconName:P,extra:K,watchable:!0})),$e=g1.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===n?e.insertBefore($e,e.firstChild):e.appendChild($e),$e.outerHTML=Se.map(function(L1){return so(L1)}).join("\n"),e.removeAttribute(t),i()}).catch(r)}}else i()})}function hX(e){return Promise.all([Ub(e,"::before"),Ub(e,"::after")])}function pX(e){return!(e.parentNode===document.head||~nJ.indexOf(e.tagName.toUpperCase())||e.getAttribute(_u)||e.parentNode&&"svg"===e.parentNode.tagName)}function jb(e){if(qn)return new Promise(function(n,t){var i=Yi(e.querySelectorAll("*")).filter(pX).map(hX),r=Ou.begin("searchPseudoElements");kb(),Promise.all(i).then(function(){r(),Fu(),n()}).catch(function(){r(),Fu(),t()})})}var Gb=!1,$b=function(n){return n.toLowerCase().split(" ").reduce(function(i,r){var a=r.toLowerCase().split("-"),o=a[0],s=a.slice(1).join("-");if(o&&"h"===s)return i.flipX=!0,i;if(o&&"v"===s)return i.flipY=!0,i;if(s=parseFloat(s),isNaN(s))return i;switch(o){case"grow":i.size=i.size+s;break;case"shrink":i.size=i.size-s;break;case"left":i.x=i.x-s;break;case"right":i.x=i.x+s;break;case"up":i.y=i.y-s;break;case"down":i.y=i.y+s;break;case"rotate":i.rotate=i.rotate+s}return i},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},Bu={x:0,y:0,width:"100%",height:"100%"};function Wb(e){return e.attributes&&(e.attributes.fill||!(arguments.length>1&&void 0!==arguments[1])||arguments[1])&&(e.attributes.fill="black"),e}!function AJ(e,n){var t=n.mixoutsTo;Db=e,Qi={},Object.keys(Zi).forEach(function(i){-1===IJ.indexOf(i)&&delete Zi[i]}),Db.forEach(function(i){var r=i.mixout?i.mixout():{};if(Object.keys(r).forEach(function(o){"function"==typeof r[o]&&(t[o]=r[o]),"object"===m6(r[o])&&Object.keys(r[o]).forEach(function(s){t[o]||(t[o]={}),t[o][s]=r[o][s]})}),i.hooks){var a=i.hooks();Object.keys(a).forEach(function(o){Qi[o]||(Qi[o]=[]),Qi[o].push(a[o])})}i.provides&&i.provides(Zi)})}([yJ,sX,cX,lX,uX,{hooks:function(){return{mutationObserverCallbacks:function(t){return t.pseudoElementsCallback=jb,t}}},provides:function(n){n.pseudoElements2svg=function(t){var i=t.node;Q.searchPseudoElements&&jb(void 0===i?g1:i)}}},{mixout:function(){return{dom:{unwatch:function(){kb(),Gb=!0}}}},hooks:function(){return{bootstrap:function(){Rb(xu("mutationObserverCallbacks",{}))},noAuto:function(){!function JJ(){T6&&T6.disconnect()}()},watch:function(t){var i=t.observeMutationsRoot;Gb?Fu():Rb(xu("mutationObserverCallbacks",{observeMutationsRoot:i}))}}}},{mixout:function(){return{parse:{transform:function(t){return $b(t)}}}},hooks:function(){return{parseNodeAttributes:function(t,i){var r=i.getAttribute("data-fa-transform");return r&&(t.transform=$b(r)),t}}},provides:function(n){n.generateAbstractTransformGrouping=function(t){var i=t.main,r=t.transform,o=t.iconWidth,s={transform:"translate(".concat(t.containerWidth/2," 256)")},c="translate(".concat(32*r.x,", ").concat(32*r.y,") "),l="scale(".concat(r.size/16*(r.flipX?-1:1),", ").concat(r.size/16*(r.flipY?-1:1),") "),u="rotate(".concat(r.rotate," 0 0)"),g={outer:s,inner:{transform:"".concat(c," ").concat(l," ").concat(u)},path:{transform:"translate(".concat(o/2*-1," -256)")}};return{tag:"g",attributes:Y({},g.outer),children:[{tag:"g",attributes:Y({},g.inner),children:[{tag:i.icon.tag,children:i.icon.children,attributes:Y(Y({},i.icon.attributes),g.path)}]}]}}}},{hooks:function(){return{parseNodeAttributes:function(t,i){var r=i.getAttribute("data-fa-mask"),a=r?N6(r.split(" ").map(function(o){return o.trim()})):Lu();return a.prefix||(a.prefix=V4()),t.mask=a,t.maskId=i.getAttribute("data-fa-mask-id"),t}}},provides:function(n){n.generateAbstractMask=function(t){var e,i=t.children,r=t.attributes,a=t.main,o=t.mask,s=t.maskId,u=a.icon,p=o.icon,g=function vJ(e){var n=e.transform,i=e.iconWidth,r={transform:"translate(".concat(e.containerWidth/2," 256)")},a="translate(".concat(32*n.x,", ").concat(32*n.y,") "),o="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),s="rotate(".concat(n.rotate," 0 0)");return{outer:r,inner:{transform:"".concat(a," ").concat(o," ").concat(s)},path:{transform:"translate(".concat(i/2*-1," -256)")}}}({transform:t.transform,containerWidth:o.width,iconWidth:a.width}),b={tag:"rect",attributes:Y(Y({},Bu),{},{fill:"white"})},w=u.children?{children:u.children.map(Wb)}:{},S={tag:"g",attributes:Y({},g.inner),children:[Wb(Y({tag:u.tag,attributes:Y(Y({},u.attributes),g.path)},w))]},L={tag:"g",attributes:Y({},g.outer),children:[S]},N="mask-".concat(s||oo()),P="clip-".concat(s||oo()),F={tag:"mask",attributes:Y(Y({},Bu),{},{id:N,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[b,L]},G={tag:"defs",children:[{tag:"clipPath",attributes:{id:P},children:(e=p,"g"===e.tag?e.children:[e])},F]};return i.push(G,{tag:"rect",attributes:Y({fill:"currentColor","clip-path":"url(#".concat(P,")"),mask:"url(#".concat(N,")")},Bu)}),{children:i,attributes:r}}}},{provides:function(n){var t=!1;w4.matchMedia&&(t=w4.matchMedia("(prefers-reduced-motion: reduce)").matches),n.missingIconAbstract=function(){var i=[],r={fill:"currentColor"},a={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};i.push({tag:"path",attributes:Y(Y({},r),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var o=Y(Y({},a),{},{attributeName:"opacity"}),s={tag:"circle",attributes:Y(Y({},r),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||s.children.push({tag:"animate",attributes:Y(Y({},a),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:Y(Y({},o),{},{values:"1;0;1;1;0;1;"})}),i.push(s),i.push({tag:"path",attributes:Y(Y({},r),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:Y(Y({},o),{},{values:"1;0;0;0;0;1;"})}]}),t||i.push({tag:"path",attributes:Y(Y({},r),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:Y(Y({},o),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:i}}}},{hooks:function(){return{parseNodeAttributes:function(t,i){var r=i.getAttribute("data-fa-symbol");return t.symbol=null!==r&&(""===r||r),t}}}}],{mixoutsTo:pt});var wX=pt.parse,HX=pt.icon;const VX=["*"],SX=e=>{const n={[`fa-${e.animation}`]:null!=e.animation&&!e.animation.startsWith("spin"),"fa-spin":"spin"===e.animation||"spin-reverse"===e.animation,"fa-spin-pulse":"spin-pulse"===e.animation||"spin-pulse-reverse"===e.animation,"fa-spin-reverse":"spin-reverse"===e.animation||"spin-pulse-reverse"===e.animation,"fa-pulse":"spin-pulse"===e.animation||"spin-pulse-reverse"===e.animation,"fa-fw":e.fixedWidth,"fa-border":e.border,"fa-inverse":e.inverse,"fa-layers-counter":e.counter,"fa-flip-horizontal":"horizontal"===e.flip||"both"===e.flip,"fa-flip-vertical":"vertical"===e.flip||"both"===e.flip,[`fa-${e.size}`]:null!==e.size,[`fa-rotate-${e.rotate}`]:null!==e.rotate,[`fa-pull-${e.pull}`]:null!==e.pull,[`fa-stack-${e.stackItemSize}`]:null!=e.stackItemSize};return Object.keys(n).map(t=>n[t]?t:null).filter(t=>t)};let xX=(()=>{class e{constructor(){this.defaultPrefix="fas",this.fallbackIcon=null}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),EX=(()=>{class e{constructor(){this.definitions={}}addIcons(...t){for(const i of t){i.prefix in this.definitions||(this.definitions[i.prefix]={}),this.definitions[i.prefix][i.iconName]=i;for(const r of i.icon[2])"string"==typeof r&&(this.definitions[i.prefix][r]=i)}}addIconPacks(...t){for(const i of t){const r=Object.keys(i).map(a=>i[a]);this.addIcons(...r)}}getIconDefinition(t,i){return t in this.definitions&&i in this.definitions[t]?this.definitions[t][i]:null}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),TX=(()=>{class e{constructor(){this.stackItemSize="1x"}ngOnChanges(t){if("size"in t)throw new Error('fa-icon is not allowed to customize size when used inside fa-stack. Set size on the enclosing fa-stack instead: <fa-stack size="4x">...</fa-stack>.')}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=$({type:e,selectors:[["fa-icon","stackItemSize",""],["fa-duotone-icon","stackItemSize",""]],inputs:{stackItemSize:"stackItemSize",size:"size"},standalone:!0,features:[T1]})}return e})(),IX=(()=>{class e{constructor(t,i){this.renderer=t,this.elementRef=i}ngOnInit(){this.renderer.addClass(this.elementRef.nativeElement,"fa-stack")}ngOnChanges(t){"size"in t&&(null!=t.size.currentValue&&this.renderer.addClass(this.elementRef.nativeElement,`fa-${t.size.currentValue}`),null!=t.size.previousValue&&this.renderer.removeClass(this.elementRef.nativeElement,`fa-${t.size.previousValue}`))}static#e=this.\u0275fac=function(i){return new(i||e)(E(dn),E(Ae))};static#t=this.\u0275cmp=oe({type:e,selectors:[["fa-stack"]],inputs:{size:"size"},standalone:!0,features:[T1,se],ngContentSelectors:VX,decls:1,vars:0,template:function(i,r){1&i&&(Vi(),zi(0))},encapsulation:2})}return e})(),qb=(()=>{class e{set spin(t){this.animation=t?"spin":void 0}set pulse(t){this.animation=t?"spin-pulse":void 0}constructor(t,i,r,a,o){this.sanitizer=t,this.config=i,this.iconLibrary=r,this.stackItem=a,this.classes=[],null!=o&&null==a&&console.error('FontAwesome: fa-icon and fa-duotone-icon elements must specify stackItemSize attribute when wrapped into fa-stack. Example: <fa-icon stackItemSize="2x"></fa-icon>.')}ngOnChanges(t){if(null!=this.icon||null!=this.config.fallbackIcon){if(t){const r=this.findIconDefinition(null!=this.icon?this.icon:this.config.fallbackIcon);if(null!=r){const a=this.buildParams();this.renderIcon(r,a)}}}else(()=>{throw new Error("Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.")})()}render(){this.ngOnChanges({})}findIconDefinition(t){const i=((e,n)=>(e=>void 0!==e.prefix&&void 0!==e.iconName)(e)?e:"string"==typeof e?{prefix:n,iconName:e}:{prefix:e[0],iconName:e[1]})(t,this.config.defaultPrefix);return"icon"in i?i:this.iconLibrary.getIconDefinition(i.prefix,i.iconName)??((e=>{throw new Error(`Could not find icon with iconName=${e.iconName} and prefix=${e.prefix} in the icon library.`)})(i),null)}buildParams(){const t={flip:this.flip,animation:this.animation,border:this.border,inverse:this.inverse,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:"boolean"==typeof this.fixedWidth?this.fixedWidth:this.config.fixedWidth,stackItemSize:null!=this.stackItem?this.stackItem.stackItemSize:null},i="string"==typeof this.transform?wX.transform(this.transform):this.transform;return{title:this.title,transform:i,classes:[...SX(t),...this.classes],mask:null!=this.mask?this.findIconDefinition(this.mask):null,styles:null!=this.styles?this.styles:{},symbol:this.symbol,attributes:{role:this.a11yRole}}}renderIcon(t,i){const r=HX(t,i);this.renderedIconHTML=this.sanitizer.bypassSecurityTrustHtml(r.html.join("\n"))}static#e=this.\u0275fac=function(i){return new(i||e)(E(qy),E(xX),E(EX),E(TX,8),E(IX,8))};static#t=this.\u0275cmp=oe({type:e,selectors:[["fa-icon"]],hostAttrs:[1,"ng-fa-icon"],hostVars:2,hostBindings:function(i,r){2&i&&(A2("innerHTML",r.renderedIconHTML,Cp),W("title",r.title))},inputs:{icon:"icon",title:"title",animation:"animation",spin:"spin",pulse:"pulse",mask:"mask",styles:"styles",flip:"flip",size:"size",pull:"pull",border:"border",inverse:"inverse",symbol:"symbol",rotate:"rotate",fixedWidth:"fixedWidth",classes:"classes",transform:"transform",a11yRole:"a11yRole"},standalone:!0,features:[T1,se],decls:0,vars:0,template:function(i,r){},encapsulation:2})}return e})(),AX=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Ze({type:e});static#n=this.\u0275inj=Ye({})}return e})();function Zn(e){e||(gr(),e=H(ln));const n=new d1(t=>e.onDestroy(t.next.bind(t)));return t=>t.pipe(y2(n))}const PX=["addListener","removeListener"],FX=["addEventListener","removeEventListener"],BX=["on","off"];function M2(e,n,t,i){if(Le(t)&&(i=t,t=void 0),i)return M2(e,n,t).pipe(d7(i));const[r,a]=function GX(e){return Le(e.addEventListener)&&Le(e.removeEventListener)}(e)?FX.map(o=>s=>e[o](n,s,t)):function UX(e){return Le(e.addListener)&&Le(e.removeListener)}(e)?PX.map(Yb(e,n)):function jX(e){return Le(e.on)&&Le(e.off)}(e)?BX.map(Yb(e,n)):[];if(!r&&u7(e))return r2(o=>M2(o,n,t))(_2(e));if(!r)throw new TypeError("Invalid event target");return new d1(o=>{const s=(...c)=>o.next(1<c.length?c:c[0]);return r(s),()=>a(s)})}function Yb(e,n){return t=>i=>e[t](n,i)}class $X extends p2{constructor(n,t){super()}schedule(n,t=0){return this}}const I6={setInterval(e,n,...t){const{delegate:i}=I6;return i?.setInterval?i.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){const{delegate:n}=I6;return(n?.clearInterval||clearInterval)(e)},delegate:void 0},Kb={now:()=>(Kb.delegate||Date).now(),delegate:void 0};class lo{constructor(n,t=lo.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,i){return new this.schedulerActionCtor(this,n).schedule(i,t)}}lo.now=Kb.now;const Qb=new class qX extends lo{constructor(n,t=lo.now){super(n,t),this.actions=[],this._active=!1}flush(n){const{actions:t}=this;if(this._active)return void t.push(n);let i;this._active=!0;do{if(i=n.execute(n.state,n.delay))break}while(n=t.shift());if(this._active=!1,i){for(;n=t.shift();)n.unsubscribe();throw i}}}(class WX extends $X{constructor(n,t){super(n,t),this.scheduler=n,this.work=t,this.pending=!1}schedule(n,t=0){var i;if(this.closed)return this;this.state=n;const r=this.id,a=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(a,r,t)),this.pending=!0,this.delay=t,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(a,this.id,t),this}requestAsyncId(n,t,i=0){return I6.setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,t,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return t;null!=t&&I6.clearInterval(t)}execute(n,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(n,t);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,t){let r,i=!1;try{this.work(n)}catch(a){i=!0,r=a||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){const{id:n,scheduler:t}=this,{actions:i}=t;this.work=this.state=this.scheduler=null,this.pending=!1,S3(i,this),null!=n&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}}),YX=Qb;function Zb(e=0,n,t=YX){let i=-1;return null!=n&&(WC(n)?t=n:i=n),new d1(r=>{let a=function KX(e){return e instanceof Date&&!isNaN(e)}(e)?+e-t.now():e;a<0&&(a=0);let o=0;return t.schedule(function(){r.closed||(r.next(o++),0<=i?this.schedule(void 0,i):r.complete())},a)})}const{isArray:QX}=Array;function Jb(e){return 1===e.length&&QX(e[0])?e[0]:e}function Xb(...e){return 1===(e=Jb(e)).length?_2(e[0]):new d1(function ZX(e){return n=>{let t=[];for(let i=0;t&&!n.closed&&i<e.length;i++)t.push(_2(e[i]).subscribe(h1(n,r=>{if(t){for(let a=0;a<t.length;a++)a!==i&&t[a].unsubscribe();t=null}n.next(r)})))}}(e))}function Uu(...e){const n=Rc(e),t=Jb(e);return t.length?new d1(i=>{let r=t.map(()=>[]),a=t.map(()=>!1);i.add(()=>{r=a=null});for(let o=0;!i.closed&&o<t.length;o++)_2(t[o]).subscribe(h1(i,s=>{if(r[o].push(s),r.every(c=>c.length)){const c=r.map(l=>l.shift());i.next(n?n(...c):c),r.some((l,u)=>!l.length&&a[u])&&i.complete()}},()=>{a[o]=!0,!r[o].length&&i.complete()}));return()=>{r=a=null}}):ft}function ju(...e){const n=Rc(e);return B1((t,i)=>{const r=e.length,a=new Array(r);let o=e.map(()=>!1),s=!1;for(let c=0;c<r;c++)_2(e[c]).subscribe(h1(i,l=>{a[c]=l,!s&&!o[c]&&(o[c]=!0,(s=o.every(En))&&(o=null))},xn));t.subscribe(h1(i,c=>{if(s){const l=[c,...a];i.next(n?n(...l):l)}}))})}function ew(e,n){return n?t=>Na(n.pipe(C2(1),function eee(){return B1((e,n)=>{e.subscribe(h1(n,xn))})}()),t.pipe(ew(e))):r2((t,i)=>_2(e(t,i)).pipe(C2(1),Ey(t)))}let tw=(()=>{class e{constructor(t,i){this._renderer=t,this._elementRef=i,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(t,i){this._renderer.setProperty(this._elementRef.nativeElement,t,i)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static#e=this.\u0275fac=function(i){return new(i||e)(E(dn),E(Ae))};static#t=this.\u0275dir=$({type:e})}return e})(),l3=(()=>{class e extends tw{static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=c1(e)))(r||e)}})();static#t=this.\u0275dir=$({type:e,features:[X]})}return e})();const zt=new q(""),oee={provide:zt,useExisting:je(()=>f2),multi:!0};let f2=(()=>{class e extends l3{writeValue(t){this.setProperty("checked",t)}static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=c1(e)))(r||e)}})();static#t=this.\u0275dir=$({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(i,r){1&i&&R("change",function(o){return r.onChange(o.target.checked)})("blur",function(){return r.onTouched()})},features:[n1([oee]),X]})}return e})();const see={provide:zt,useExisting:je(()=>D4),multi:!0},lee=new q("");let D4=(()=>{class e extends tw{constructor(t,i,r){super(t,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function cee(){const e=y4()?y4().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)}static#e=this.\u0275fac=function(i){return new(i||e)(E(dn),E(Ae),E(lee,8))};static#t=this.\u0275dir=$({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(i,r){1&i&&R("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:[n1([see]),X]})}return e})();const b2=new q(""),N4=new q(""),uee=/^(?=.{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])?)*$/;function sw(e){return function S4(e){return null==e||("string"==typeof e||Array.isArray(e))&&0===e.length}(e.value)||uee.test(e.value)?null:{email:!0}}function A6(e){return null}function fw(e){return null!=e}function dw(e){return Va(e)?n2(e):e}function hw(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function pw(e,n){return n.map(t=>t(e))}function mw(e){return e.map(n=>function fee(e){return!e.validate}(n)?n:t=>n.validate(t))}function Gu(e){return null!=e?function gw(e){if(!e)return null;const n=e.filter(fw);return 0==n.length?null:function(t){return hw(pw(t,n))}}(mw(e)):null}function $u(e){return null!=e?function vw(e){if(!e)return null;const n=e.filter(fw);return 0==n.length?null:function(t){return function aee(...e){const n=Rc(e),{args:t,keys:i}=qC(e),r=new d1(a=>{const{length:o}=t;if(!o)return void a.complete();const s=new Array(o);let c=o,l=o;for(let u=0;u<o;u++){let f=!1;_2(t[u]).subscribe(h1(a,p=>{f||(f=!0,l--),s[u]=p},()=>c--,void 0,()=>{(!c||!f)&&(l||a.next(i?YC(i,s):s),a.complete())}))}});return n?r.pipe(d7(n)):r}(pw(t,n).map(dw)).pipe(Te(hw))}}(mw(e)):null}function _w(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function Wu(e){return e?Array.isArray(e)?e:[e]:[]}function k6(e,n){return Array.isArray(e)?e.includes(n):e===n}function Mw(e,n){const t=Wu(n);return Wu(e).forEach(r=>{k6(t,r)||t.push(r)}),t}function bw(e,n){return Wu(n).filter(t=>!k6(e,t))}class ww{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=Gu(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=$u(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 P2 extends ww{get formDirective(){return null}get path(){return null}}class L4 extends ww{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Hw{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 H1=(()=>{class e extends Hw{constructor(t){super(t)}static#e=this.\u0275fac=function(i){return new(i||e)(E(L4,2))};static#t=this.\u0275dir=$({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){2&i&&Ne("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:[X]})}return e})();const uo="VALID",O6="INVALID",Ji="PENDING",fo="DISABLED";function P6(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class Zu{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===uo}get invalid(){return this.status===O6}get pending(){return this.status==Ji}get disabled(){return this.status===fo}get enabled(){return this.status!==fo}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(Mw(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(Mw(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(bw(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(bw(n,this._rawAsyncValidators))}hasValidator(n){return k6(this._rawValidators,n)}hasAsyncValidator(n){return k6(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=Ji,!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=fo,this.errors=null,this._forEachChild(i=>{i.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(i=>i(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=uo,this._forEachChild(i=>{i.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(i=>i(!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===uo||this.status===Ji)&&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()?fo:uo}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=Ji,this._hasOwnPendingAsyncValidator=!0;const t=dw(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{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((i,r)=>i&&i._find(r),this)}getError(n,t){const i=t?this.get(t):this;return i&&i.errors?i.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 Z,this.statusChanges=new Z}_calculateStatus(){return this._allControlsDisabled()?fo:this.errors?O6:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ji)?Ji:this._anyControlsHaveStatus(O6)?O6:uo}_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){P6(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 gee(e){return Array.isArray(e)?Gu(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function vee(e){return Array.isArray(e)?$u(e):e||null}(this._rawAsyncValidators)}}const Xi=new q("CallSetDisabledState",{providedIn:"root",factory:()=>F6}),F6="always";function ho(e,n,t=F6){(function Xu(e,n){const t=function Cw(e){return e._rawValidators}(e);null!==n.validator?e.setValidators(_w(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const i=function yw(e){return e._rawAsyncValidators}(e);null!==n.asyncValidator?e.setAsyncValidators(_w(i,n.asyncValidator)):"function"==typeof i&&e.setAsyncValidators([i]);const r=()=>e.updateValueAndValidity();j6(n._rawValidators,r),j6(n._rawAsyncValidators,r)})(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function yee(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&Sw(e,n)})}(e,n),function bee(e,n){const t=(i,r)=>{n.valueAccessor.writeValue(i),r&&n.viewToModelUpdate(i)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}(e,n),function Mee(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&Sw(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function Cee(e,n){if(n.valueAccessor.setDisabledState){const t=i=>{n.valueAccessor.setDisabledState(i)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function j6(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function Sw(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function xw(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function Ew(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}Promise.resolve();const Tw=class extends Zu{constructor(n=null,t,i){super(function Ku(e){return(P6(e)?e.validators:e)||null}(t),function Qu(e,n){return(P6(n)?n.asyncValidators:e)||null}(i,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),P6(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=Ew(n)?n.value:n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(i=>i(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){xw(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){xw(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){Ew(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}},Lee={provide:L4,useExisting:je(()=>_1)},kw=Promise.resolve();let _1=(()=>{class e extends L4{constructor(t,i,r,a,o,s){super(),this._changeDetectorRef=o,this.callSetDisabledState=s,this.control=new Tw,this._registered=!1,this.name="",this.update=new Z,this._parent=t,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=function nf(e,n){if(!n)return null;let t,i,r;return Array.isArray(n),n.forEach(a=>{a.constructor===D4?t=a:function Vee(e){return Object.getPrototypeOf(e.constructor)===l3}(a)?i=a:r=a}),r||i||t||null}(0,a)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){const i=t.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),function tf(e,n){if(!e.hasOwnProperty("model"))return!1;const t=e.model;return!!t.isFirstChange()||!Object.is(n,t.currentValue)}(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(){ho(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){kw.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const i=t.isDisabled.currentValue,r=0!==i&&Li(i);kw.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?function B6(e,n){return[...n.path,e]}(t,this._parent):[t]}static#e=this.\u0275fac=function(i){return new(i||e)(E(P2,9),E(b2,10),E(N4,10),E(zt,10),E(ut,8),E(Xi,8))};static#t=this.\u0275dir=$({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[Ge.None,"disabled","isDisabled"],model:[Ge.None,"ngModel","model"],options:[Ge.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[n1([Lee]),X,T1]})}return e})();const Eee={provide:zt,useExisting:je(()=>er),multi:!0};let er=(()=>{class e extends l3{writeValue(t){this.setProperty("value",t??"")}registerOnChange(t){this.onChange=i=>{t(""==i?null:parseFloat(i))}}static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=c1(e)))(r||e)}})();static#t=this.\u0275dir=$({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(i,r){1&i&&R("input",function(o){return r.onChange(o.target.value)})("blur",function(){return r.onTouched()})},features:[n1([Eee]),X]})}return e})();const Bee={provide:zt,useExisting:je(()=>Jn),multi:!0};function jw(e,n){return null==e?`${n}`:(n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let Jn=(()=>{class e extends l3{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 r=jw(this._getOptionId(t),t);this.setProperty("value",r)}registerOnChange(t){this.onChange=i=>{this.value=this._getOptionValue(i),t(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const i of this._optionMap.keys())if(this._compareWith(this._optionMap.get(i),t))return i;return null}_getOptionValue(t){const i=function Uee(e){return e.split(":")[0]}(t);return this._optionMap.has(i)?this._optionMap.get(i):t}static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=c1(e)))(r||e)}})();static#t=this.\u0275dir=$({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(i,r){1&i&&R("change",function(o){return r.onChange(o.target.value)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[n1([Bee]),X]})}return e})(),u3=(()=>{class e{constructor(t,i,r){this._element=t,this._renderer=i,this._select=r,this._select&&(this.id=this._select._registerOption())}set ngValue(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(jw(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))}static#e=this.\u0275fac=function(i){return new(i||e)(E(Ae),E(dn),E(Jn,9))};static#t=this.\u0275dir=$({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})();const jee={provide:zt,useExisting:je(()=>lf),multi:!0};function Gw(e,n){return null==e?`${n}`:("string"==typeof n&&(n=`'${n}'`),n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let lf=(()=>{class e extends l3{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){let i;if(this.value=t,Array.isArray(t)){const r=t.map(a=>this._getOptionId(a));i=(a,o)=>{a._setSelected(r.indexOf(o.toString())>-1)}}else i=(r,a)=>{r._setSelected(!1)};this._optionMap.forEach(i)}registerOnChange(t){this.onChange=i=>{const r=[],a=i.selectedOptions;if(void 0!==a){const o=a;for(let s=0;s<o.length;s++){const l=this._getOptionValue(o[s].value);r.push(l)}}else{const o=i.options;for(let s=0;s<o.length;s++){const c=o[s];if(c.selected){const l=this._getOptionValue(c.value);r.push(l)}}}this.value=r,t(r)}}_registerOption(t){const i=(this._idCounter++).toString();return this._optionMap.set(i,t),i}_getOptionId(t){for(const i of this._optionMap.keys())if(this._compareWith(this._optionMap.get(i)._value,t))return i;return null}_getOptionValue(t){const i=function Gee(e){return e.split(":")[0]}(t);return this._optionMap.has(i)?this._optionMap.get(i)._value:t}static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=c1(e)))(r||e)}})();static#t=this.\u0275dir=$({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(i,r){1&i&&R("change",function(o){return r.onChange(o.target)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[n1([jee]),X]})}return e})(),f3=(()=>{class e{constructor(t,i,r){this._element=t,this._renderer=i,this._select=r,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){null!=this._select&&(this._value=t,this._setElementValue(Gw(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(Gw(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))}static#e=this.\u0275fac=function(i){return new(i||e)(E(Ae),E(dn),E(lf,9))};static#t=this.\u0275dir=$({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})(),d3=(()=>{class e{constructor(){this._validator=A6}ngOnChanges(t){if(this.inputName in t){const i=this.normalizeInput(t[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):A6,this._onChange&&this._onChange()}}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}enabled(t){return null!=t}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=$({type:e,features:[T1]})}return e})();const Kee={provide:b2,useExisting:je(()=>ff),multi:!0};let ff=(()=>{class e extends d3{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=Li,this.createValidator=t=>sw}enabled(t){return t}static#e=this.\u0275fac=(()=>{let t;return function(r){return(t||(t=c1(e)))(r||e)}})();static#t=this.\u0275dir=$({type:e,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[n1([Kee]),X]})}return e})(),Xee=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Ze({type:e});static#n=this.\u0275inj=Ye({})}return e})(),V1=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Xi,useValue:t.callSetDisabledState??F6}]}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Ze({type:e});static#n=this.\u0275inj=Ye({imports:[Xee]})}return e})();var t1e={left:"right",right:"left",bottom:"top",top:"bottom"};function $6(e){return e.replace(/left|right|bottom|top/g,function(n){return t1e[n]})}function Dn(e){return e.split("-")[0]}var n1e={start:"end",end:"start"};function Xw(e){return e.replace(/start|end/g,function(n){return n1e[n]})}var mt="top",$t="bottom",Wt="right",gt="left",df="auto",mo=[mt,$t,Wt,gt],tr="start",go="end",eH="viewport",vo="popper",tH=mo.reduce(function(e,n){return e.concat([n+"-"+tr,n+"-"+go])},[]),nH=[].concat(mo,[df]).reduce(function(e,n){return e.concat([n,n+"-"+tr,n+"-"+go])},[]),p1e=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function vt(e){if(null==e)return window;if("[object Window]"!==e.toString()){var n=e.ownerDocument;return n&&n.defaultView||window}return e}function h3(e){return e instanceof vt(e).Element||e instanceof Element}function Dt(e){return e instanceof vt(e).HTMLElement||e instanceof HTMLElement}function hf(e){return!(typeof ShadowRoot>"u")&&(e instanceof vt(e).ShadowRoot||e instanceof ShadowRoot)}function x4(e){return((h3(e)?e.ownerDocument:e.document)||window.document).documentElement}var p3=Math.max,W6=Math.min,nr=Math.round;function pf(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(n){return n.brand+"/"+n.version}).join(" "):navigator.userAgent}function iH(){return!/^((?!chrome|android).)*safari/i.test(pf())}function ir(e,n,t){void 0===n&&(n=!1),void 0===t&&(t=!1);var i=e.getBoundingClientRect(),r=1,a=1;n&&Dt(e)&&(r=e.offsetWidth>0&&nr(i.width)/e.offsetWidth||1,a=e.offsetHeight>0&&nr(i.height)/e.offsetHeight||1);var s=(h3(e)?vt(e):window).visualViewport,c=!iH()&&t,l=(i.left+(c&&s?s.offsetLeft:0))/r,u=(i.top+(c&&s?s.offsetTop:0))/a,f=i.width/r,p=i.height/a;return{width:f,height:p,top:u,right:l+f,bottom:u+p,left:l,x:l,y:u}}function mf(e){var n=vt(e);return{scrollLeft:n.pageXOffset,scrollTop:n.pageYOffset}}function gf(e){return ir(x4(e)).left+mf(e).scrollLeft}function Xn(e){return vt(e).getComputedStyle(e)}function Sn(e){return e?(e.nodeName||"").toLowerCase():null}function q6(e){return"html"===Sn(e)?e:e.assignedSlot||e.parentNode||(hf(e)?e.host:null)||x4(e)}function vf(e){var n=Xn(e);return/auto|scroll|overlay|hidden/.test(n.overflow+n.overflowY+n.overflowX)}function rH(e){return["html","body","#document"].indexOf(Sn(e))>=0?e.ownerDocument.body:Dt(e)&&vf(e)?e:rH(q6(e))}function _o(e,n){var t;void 0===n&&(n=[]);var i=rH(e),r=i===(null==(t=e.ownerDocument)?void 0:t.body),a=vt(i),o=r?[a].concat(a.visualViewport||[],vf(i)?i:[]):i,s=n.concat(o);return r?s:s.concat(_o(q6(o)))}function v1e(e){return["table","td","th"].indexOf(Sn(e))>=0}function aH(e){return Dt(e)&&"fixed"!==Xn(e).position?e.offsetParent:null}function Co(e){for(var n=vt(e),t=aH(e);t&&v1e(t)&&"static"===Xn(t).position;)t=aH(t);return t&&("html"===Sn(t)||"body"===Sn(t)&&"static"===Xn(t).position)?n:t||function _1e(e){var n=/firefox/i.test(pf());if(/Trident/i.test(pf())&&Dt(e)&&"fixed"===Xn(e).position)return null;var r=q6(e);for(hf(r)&&(r=r.host);Dt(r)&&["html","body"].indexOf(Sn(r))<0;){var a=Xn(r);if("none"!==a.transform||"none"!==a.perspective||"paint"===a.contain||-1!==["transform","perspective"].indexOf(a.willChange)||n&&"filter"===a.willChange||n&&a.filter&&"none"!==a.filter)return r;r=r.parentNode}return null}(e)||n}function oH(e,n){var t=n.getRootNode&&n.getRootNode();if(e.contains(n))return!0;if(t&&hf(t)){var i=n;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function _f(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function sH(e,n,t){return n===eH?_f(function m1e(e,n){var t=vt(e),i=x4(e),r=t.visualViewport,a=i.clientWidth,o=i.clientHeight,s=0,c=0;if(r){a=r.width,o=r.height;var l=iH();(l||!l&&"fixed"===n)&&(s=r.offsetLeft,c=r.offsetTop)}return{width:a,height:o,x:s+gf(e),y:c}}(e,t)):h3(n)?function C1e(e,n){var t=ir(e,!1,"fixed"===n);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(n,t):_f(function g1e(e){var n,t=x4(e),i=mf(e),r=null==(n=e.ownerDocument)?void 0:n.body,a=p3(t.scrollWidth,t.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),o=p3(t.scrollHeight,t.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),s=-i.scrollLeft+gf(e),c=-i.scrollTop;return"rtl"===Xn(r||t).direction&&(s+=p3(t.clientWidth,r?r.clientWidth:0)-a),{width:a,height:o,x:s,y:c}}(x4(e)))}function rr(e){return e.split("-")[1]}function Cf(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function cH(e){var c,n=e.reference,t=e.element,i=e.placement,r=i?Dn(i):null,a=i?rr(i):null,o=n.x+n.width/2-t.width/2,s=n.y+n.height/2-t.height/2;switch(r){case mt:c={x:o,y:n.y-t.height};break;case $t:c={x:o,y:n.y+n.height};break;case Wt:c={x:n.x+n.width,y:s};break;case gt:c={x:n.x-t.width,y:s};break;default:c={x:n.x,y:n.y}}var l=r?Cf(r):null;if(null!=l){var u="y"===l?"height":"width";switch(a){case tr:c[l]=c[l]-(n[u]/2-t[u]/2);break;case go:c[l]=c[l]+(n[u]/2-t[u]/2)}}return c}function uH(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function fH(e,n){return n.reduce(function(t,i){return t[i]=e,t},{})}function yf(e,n){void 0===n&&(n={});var i=n.placement,r=void 0===i?e.placement:i,a=n.strategy,o=void 0===a?e.strategy:a,s=n.boundary,c=void 0===s?"clippingParents":s,l=n.rootBoundary,u=void 0===l?eH:l,f=n.elementContext,p=void 0===f?vo:f,g=n.altBoundary,b=void 0!==g&&g,w=n.padding,S=void 0===w?0:w,L=uH("number"!=typeof S?S:fH(S,mo)),P=e.rects.popper,F=e.elements[b?p===vo?"reference":vo:p],G=function M1e(e,n,t,i){var r="clippingParents"===n?function y1e(e){var n=_o(q6(e)),i=["absolute","fixed"].indexOf(Xn(e).position)>=0&&Dt(e)?Co(e):e;return h3(i)?n.filter(function(r){return h3(r)&&oH(r,i)&&"body"!==Sn(r)}):[]}(e):[].concat(n),a=[].concat(r,[t]),s=a.reduce(function(c,l){var u=sH(e,l,i);return c.top=p3(u.top,c.top),c.right=W6(u.right,c.right),c.bottom=W6(u.bottom,c.bottom),c.left=p3(u.left,c.left),c},sH(e,a[0],i));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}(h3(F)?F:F.contextElement||x4(e.elements.popper),c,u,o),K=ir(e.elements.reference),de=cH({reference:K,element:P,strategy:"absolute",placement:r}),Se=_f(Object.assign({},P,de)),$e=p===vo?Se:K,L1={top:G.top-$e.top+L.top,bottom:$e.bottom-G.bottom+L.bottom,left:G.left-$e.left+L.left,right:$e.right-G.right+L.right},L2=e.modifiersData.offset;if(p===vo&&L2){var Yt=L2[r];Object.keys(L1).forEach(function(F2){var M3=[Wt,$t].indexOf(F2)>=0?1:-1,b3=[mt,$t].indexOf(F2)>=0?"y":"x";L1[F2]+=Yt[b3]*M3})}return L1}const V1e={name:"flip",enabled:!0,phase:"main",fn:function H1e(e){var n=e.state,t=e.options,i=e.name;if(!n.modifiersData[i]._skip){for(var r=t.mainAxis,a=void 0===r||r,o=t.altAxis,s=void 0===o||o,c=t.fallbackPlacements,l=t.padding,u=t.boundary,f=t.rootBoundary,p=t.altBoundary,g=t.flipVariations,b=void 0===g||g,w=t.allowedAutoPlacements,S=n.options.placement,L=Dn(S),P=c||(L!==S&&b?function w1e(e){if(Dn(e)===df)return[];var n=$6(e);return[Xw(e),n,Xw(n)]}(S):[$6(S)]),F=[S].concat(P).reduce(function(cr,T4){return cr.concat(Dn(T4)===df?function b1e(e,n){void 0===n&&(n={});var r=n.boundary,a=n.rootBoundary,o=n.padding,s=n.flipVariations,c=n.allowedAutoPlacements,l=void 0===c?nH:c,u=rr(n.placement),f=u?s?tH:tH.filter(function(b){return rr(b)===u}):mo,p=f.filter(function(b){return l.indexOf(b)>=0});0===p.length&&(p=f);var g=p.reduce(function(b,w){return b[w]=yf(e,{placement:w,boundary:r,rootBoundary:a,padding:o})[Dn(w)],b},{});return Object.keys(g).sort(function(b,w){return g[b]-g[w]})}(n,{placement:T4,boundary:u,rootBoundary:f,padding:l,flipVariations:b,allowedAutoPlacements:w}):T4)},[]),G=n.rects.reference,K=n.rects.popper,de=new Map,Se=!0,$e=F[0],L1=0;L1<F.length;L1++){var L2=F[L1],Yt=Dn(L2),F2=rr(L2)===tr,M3=[mt,$t].indexOf(Yt)>=0,b3=M3?"width":"height",Ct=yf(n,{placement:L2,boundary:u,rootBoundary:f,altBoundary:p,padding:l}),Kt=M3?F2?Wt:gt:F2?$t:mt;G[b3]>K[b3]&&(Kt=$6(Kt));var x0=$6(Kt),w3=[];if(a&&w3.push(Ct[Yt]<=0),s&&w3.push(Ct[Kt]<=0,Ct[x0]<=0),w3.every(function(cr){return cr})){$e=L2,Se=!1;break}de.set(L2,w3)}if(Se)for(var W9=function(T4){var To=F.find(function(I0){var H3=de.get(I0);if(H3)return H3.slice(0,T4).every(function(q9){return q9})});if(To)return $e=To,"break"},Eo=b?3:1;Eo>0&&"break"!==W9(Eo);Eo--);n.placement!==$e&&(n.modifiersData[i]._skip=!0,n.placement=$e,n.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function yo(e,n,t){return p3(e,W6(n,t))}function Mf(e){var n=ir(e),t=e.offsetWidth,i=e.offsetHeight;return Math.abs(n.width-t)<=1&&(t=n.width),Math.abs(n.height-i)<=1&&(i=n.height),{x:e.offsetLeft,y:e.offsetTop,width:t,height:i}}const N1e={name:"preventOverflow",enabled:!0,phase:"main",fn:function S1e(e){var n=e.state,t=e.options,i=e.name,r=t.mainAxis,a=void 0===r||r,o=t.altAxis,s=void 0!==o&&o,p=t.tether,g=void 0===p||p,b=t.tetherOffset,w=void 0===b?0:b,S=yf(n,{boundary:t.boundary,rootBoundary:t.rootBoundary,padding:t.padding,altBoundary:t.altBoundary}),L=Dn(n.placement),N=rr(n.placement),P=!N,F=Cf(L),G=function z1e(e){return"x"===e?"y":"x"}(F),K=n.modifiersData.popperOffsets,de=n.rects.reference,Se=n.rects.popper,$e="function"==typeof w?w(Object.assign({},n.rects,{placement:n.placement})):w,L1="number"==typeof $e?{mainAxis:$e,altAxis:$e}:Object.assign({mainAxis:0,altAxis:0},$e),L2=n.modifiersData.offset?n.modifiersData.offset[n.placement]:null,Yt={x:0,y:0};if(K){if(a){var F2,M3="y"===F?mt:gt,b3="y"===F?$t:Wt,Ct="y"===F?"height":"width",Kt=K[F],x0=Kt+S[M3],w3=Kt-S[b3],E0=g?-Se[Ct]/2:0,W9=N===tr?de[Ct]:Se[Ct],Eo=N===tr?-Se[Ct]:-de[Ct],T0=n.elements.arrow,cr=g&&T0?Mf(T0):{width:0,height:0},T4=n.modifiersData["arrow#persistent"]?n.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},To=T4[M3],I0=T4[b3],H3=yo(0,de[Ct],cr[Ct]),q9=P?de[Ct]/2-E0-H3-To-L1.mainAxis:W9-H3-To-L1.mainAxis,PDe=P?-de[Ct]/2+E0+H3+I0+L1.mainAxis:Eo+H3+I0+L1.mainAxis,Y9=n.elements.arrow&&Co(n.elements.arrow),FDe=Y9?"y"===F?Y9.clientTop||0:Y9.clientLeft||0:0,wI=null!=(F2=L2?.[F])?F2:0,UDe=Kt+PDe-wI,HI=yo(g?W6(x0,Kt+q9-wI-FDe):x0,Kt,g?p3(w3,UDe):w3);K[F]=HI,Yt[F]=HI-Kt}if(s){var VI,V3=K[G],A0="y"===G?"height":"width",zI=V3+S["x"===F?mt:gt],DI=V3-S["x"===F?$t:Wt],K9=-1!==[mt,gt].indexOf(L),SI=null!=(VI=L2?.[G])?VI:0,NI=K9?zI:V3-de[A0]-Se[A0]-SI+L1.altAxis,LI=K9?V3+de[A0]+Se[A0]-SI-L1.altAxis:DI,xI=g&&K9?function D1e(e,n,t){var i=yo(e,n,t);return i>t?t:i}(NI,V3,LI):yo(g?NI:zI,V3,g?LI:DI);K[G]=xI,Yt[G]=xI-V3}n.modifiersData[i]=Yt}},requiresIfExists:["offset"]},T1e={name:"arrow",enabled:!0,phase:"main",fn:function x1e(e){var n,t=e.state,i=e.name,r=e.options,a=t.elements.arrow,o=t.modifiersData.popperOffsets,s=Dn(t.placement),c=Cf(s),u=[gt,Wt].indexOf(s)>=0?"height":"width";if(a&&o){var f=function(n,t){return uH("number"!=typeof(n="function"==typeof n?n(Object.assign({},t.rects,{placement:t.placement})):n)?n:fH(n,mo))}(r.padding,t),p=Mf(a),g="y"===c?mt:gt,b="y"===c?$t:Wt,w=t.rects.reference[u]+t.rects.reference[c]-o[c]-t.rects.popper[u],S=o[c]-t.rects.reference[c],L=Co(a),N=L?"y"===c?L.clientHeight||0:L.clientWidth||0:0,K=N/2-p[u]/2+(w/2-S/2),de=yo(f[g],K,N-p[u]-f[b]);t.modifiersData[i]=((n={})[c]=de,n.centerOffset=de-K,n)}},effect:function E1e(e){var n=e.state,i=e.options.element,r=void 0===i?"[data-popper-arrow]":i;null!=r&&("string"==typeof r&&!(r=n.elements.popper.querySelector(r))||oH(n.elements.popper,r)&&(n.elements.arrow=r))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function R1e(e,n,t){void 0===t&&(t=!1);var i=Dt(n),r=Dt(n)&&function k1e(e){var n=e.getBoundingClientRect(),t=nr(n.width)/e.offsetWidth||1,i=nr(n.height)/e.offsetHeight||1;return 1!==t||1!==i}(n),a=x4(n),o=ir(e,r,t),s={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(i||!i&&!t)&&(("body"!==Sn(n)||vf(a))&&(s=function A1e(e){return e!==vt(e)&&Dt(e)?function I1e(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}(e):mf(e)}(n)),Dt(n)?((c=ir(n,!0)).x+=n.clientLeft,c.y+=n.clientTop):a&&(c.x=gf(a))),{x:o.left+s.scrollLeft-c.x,y:o.top+s.scrollTop-c.y,width:o.width,height:o.height}}function O1e(e){var n=new Map,t=new Set,i=[];function r(a){t.add(a.name),[].concat(a.requires||[],a.requiresIfExists||[]).forEach(function(s){if(!t.has(s)){var c=n.get(s);c&&r(c)}}),i.push(a)}return e.forEach(function(a){n.set(a.name,a)}),e.forEach(function(a){t.has(a.name)||r(a)}),i}function F1e(e){var n;return function(){return n||(n=new Promise(function(t){Promise.resolve().then(function(){n=void 0,t(e())})})),n}}var dH={placement:"bottom",modifiers:[],strategy:"absolute"};function hH(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return!n.some(function(i){return!(i&&"function"==typeof i.getBoundingClientRect)})}function U1e(e){void 0===e&&(e={});var t=e.defaultModifiers,i=void 0===t?[]:t,r=e.defaultOptions,a=void 0===r?dH:r;return function(s,c,l){void 0===l&&(l=a);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},dH,a),modifiersData:{},elements:{reference:s,popper:c},attributes:{},styles:{}},f=[],p=!1,g={state:u,setOptions:function(L){var N="function"==typeof L?L(u.options):L;w(),u.options=Object.assign({},a,u.options,N),u.scrollParents={reference:h3(s)?_o(s):s.contextElement?_o(s.contextElement):[],popper:_o(c)};var P=function P1e(e){var n=O1e(e);return p1e.reduce(function(t,i){return t.concat(n.filter(function(r){return r.phase===i}))},[])}(function B1e(e){var n=e.reduce(function(t,i){var r=t[i.name];return t[i.name]=r?Object.assign({},r,i,{options:Object.assign({},r.options,i.options),data:Object.assign({},r.data,i.data)}):i,t},{});return Object.keys(n).map(function(t){return n[t]})}([].concat(i,u.options.modifiers)));return u.orderedModifiers=P.filter(function(F){return F.enabled}),function b(){u.orderedModifiers.forEach(function(S){var N=S.options,F=S.effect;if("function"==typeof F){var G=F({state:u,name:S.name,instance:g,options:void 0===N?{}:N});f.push(G||function(){})}})}(),g.update()},forceUpdate:function(){if(!p){var L=u.elements,N=L.reference,P=L.popper;if(hH(N,P)){u.rects={reference:R1e(N,Co(P),"fixed"===u.options.strategy),popper:Mf(P)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(L1){return u.modifiersData[L1.name]=Object.assign({},L1.data)});for(var F=0;F<u.orderedModifiers.length;F++)if(!0!==u.reset){var G=u.orderedModifiers[F],K=G.fn,de=G.options;"function"==typeof K&&(u=K({state:u,options:void 0===de?{}:de,name:G.name,instance:g})||u)}else u.reset=!1,F=-1}}},update:F1e(function(){return new Promise(function(S){g.forceUpdate(),S(u)})}),destroy:function(){w(),p=!0}};if(!hH(s,c))return g;function w(){f.forEach(function(S){return S()}),f=[]}return g.setOptions(l).then(function(S){!p&&l.onFirstUpdate&&l.onFirstUpdate(S)}),g}}var Y6={passive:!0},q1e={top:"auto",right:"auto",bottom:"auto",left:"auto"};function pH(e){var n,t=e.popper,i=e.popperRect,r=e.placement,a=e.variation,o=e.offsets,s=e.position,c=e.gpuAcceleration,l=e.adaptive,u=e.roundOffsets,f=e.isFixed,p=o.x,g=void 0===p?0:p,b=o.y,w=void 0===b?0:b,S="function"==typeof u?u({x:g,y:w}):{x:g,y:w};g=S.x,w=S.y;var L=o.hasOwnProperty("x"),N=o.hasOwnProperty("y"),P=gt,F=mt,G=window;if(l){var K=Co(t),de="clientHeight",Se="clientWidth";K===vt(t)&&"static"!==Xn(K=x4(t)).position&&"absolute"===s&&(de="scrollHeight",Se="scrollWidth"),(r===mt||(r===gt||r===Wt)&&a===go)&&(F=$t,w-=(f&&K===G&&G.visualViewport?G.visualViewport.height:K[de])-i.height,w*=c?1:-1),r!==gt&&(r!==mt&&r!==$t||a!==go)||(P=Wt,g-=(f&&K===G&&G.visualViewport?G.visualViewport.width:K[Se])-i.width,g*=c?1:-1)}var F2,L2=Object.assign({position:s},l&&q1e),Yt=!0===u?function Y1e(e,n){var i=e.y,r=n.devicePixelRatio||1;return{x:nr(e.x*r)/r||0,y:nr(i*r)/r||0}}({x:g,y:w},vt(t)):{x:g,y:w};return g=Yt.x,w=Yt.y,Object.assign({},L2,c?((F2={})[F]=N?"0":"",F2[P]=L?"0":"",F2.transform=(G.devicePixelRatio||1)<=1?"translate("+g+"px, "+w+"px)":"translate3d("+g+"px, "+w+"px, 0)",F2):((n={})[F]=N?w+"px":"",n[P]=L?g+"px":"",n.transform="",n))}var e2e=U1e({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function j1e(e){var n=e.state,t=e.instance,i=e.options,r=i.scroll,a=void 0===r||r,o=i.resize,s=void 0===o||o,c=vt(n.elements.popper),l=[].concat(n.scrollParents.reference,n.scrollParents.popper);return a&&l.forEach(function(u){u.addEventListener("scroll",t.update,Y6)}),s&&c.addEventListener("resize",t.update,Y6),function(){a&&l.forEach(function(u){u.removeEventListener("scroll",t.update,Y6)}),s&&c.removeEventListener("resize",t.update,Y6)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function $1e(e){var n=e.state;n.modifiersData[e.name]=cH({reference:n.rects.reference,element:n.rects.popper,strategy:"absolute",placement:n.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function K1e(e){var n=e.state,t=e.options,i=t.gpuAcceleration,r=void 0===i||i,a=t.adaptive,o=void 0===a||a,s=t.roundOffsets,c=void 0===s||s,l={placement:Dn(n.placement),variation:rr(n.placement),popper:n.elements.popper,popperRect:n.rects.popper,gpuAcceleration:r,isFixed:"fixed"===n.options.strategy};null!=n.modifiersData.popperOffsets&&(n.styles.popper=Object.assign({},n.styles.popper,pH(Object.assign({},l,{offsets:n.modifiersData.popperOffsets,position:n.options.strategy,adaptive:o,roundOffsets:c})))),null!=n.modifiersData.arrow&&(n.styles.arrow=Object.assign({},n.styles.arrow,pH(Object.assign({},l,{offsets:n.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-placement":n.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function Z1e(e){var n=e.state;Object.keys(n.elements).forEach(function(t){var i=n.styles[t]||{},r=n.attributes[t]||{},a=n.elements[t];!Dt(a)||!Sn(a)||(Object.assign(a.style,i),Object.keys(r).forEach(function(o){var s=r[o];!1===s?a.removeAttribute(o):a.setAttribute(o,!0===s?"":s)}))})},effect:function J1e(e){var n=e.state,t={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(n.elements.popper.style,t.popper),n.styles=t,n.elements.arrow&&Object.assign(n.elements.arrow.style,t.arrow),function(){Object.keys(n.elements).forEach(function(i){var r=n.elements[i],a=n.attributes[i]||{},s=Object.keys(n.styles.hasOwnProperty(i)?n.styles[i]:t[i]).reduce(function(c,l){return c[l]="",c},{});!Dt(r)||!Sn(r)||(Object.assign(r.style,s),Object.keys(a).forEach(function(c){r.removeAttribute(c)}))})}},requires:["computeStyles"]}]});const i2e={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function n2e(e){var n=e.state,i=e.name,r=e.options.offset,a=void 0===r?[0,0]:r,o=nH.reduce(function(u,f){return u[f]=function t2e(e,n,t){var i=Dn(e),r=[gt,mt].indexOf(i)>=0?-1:1,a="function"==typeof t?t(Object.assign({},n,{placement:e})):t,o=a[0],s=a[1];return o=o||0,s=(s||0)*r,[gt,Wt].indexOf(i)>=0?{x:s,y:o}:{x:o,y:s}}(f,n.rects,a),u},{}),s=o[n.placement],l=s.y;null!=n.modifiersData.popperOffsets&&(n.modifiersData.popperOffsets.x+=s.x,n.modifiersData.popperOffsets.y+=l),n.modifiersData[i]=o}},K6=["*"];function r2e(e,n){if(1&e){const t=w1();m(0,"button",1),R("click",function(){return be(t),we(O().close())}),v()}}const I2e=["dialog"];function ute(e,n){1&e&&M(0),2&e&&Ot(O(2).title)}function fte(e,n){}function dte(e,n){if(1&e&&(m(0,"h3",2),j(1,ute,1,1,"ng-template",null,0,Q2)(3,fte,0,0,"ng-template",4),v()),2&e){const t=v2(2),i=O();C(3),V("ngTemplateOutlet",i.isTitleTemplate()?i.title:t)("ngTemplateOutletContext",i.context)}}const gH={animation:!0,transitionTimerDelayMs:5};let m3=(()=>{class e{constructor(){this.animation=gH.animation}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),wte=(()=>{class e{constructor(){this._ngbConfig=H(m3),this.closeOthers=!1,this.destroyOnHide=!0}get animation(){return this._animation??this._ngbConfig.animation}set animation(t){this._animation=t}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function E4(e){return"string"==typeof e}function g3(e){return null!=e}function ar(e){return(e||document.body).getBoundingClientRect()}const Ste=()=>{},{transitionTimerDelayMs:Nte}=gH,Mo=new Map,_t=(e,n,t,i)=>{let r=i.context||{};const a=Mo.get(n);if(a)switch(i.runningTransition){case"continue":return ft;case"stop":e.run(()=>a.transition$.complete()),r=Object.assign(a.context,r),Mo.delete(n)}const o=t(n,i.animation,r)||Ste;if(!i.animation||"none"===window.getComputedStyle(n).transitionProperty)return e.run(()=>o()),ie(void 0).pipe(function Dte(e){return n=>new d1(t=>n.subscribe({next:o=>e.run(()=>t.next(o)),error:o=>e.run(()=>t.error(o)),complete:()=>e.run(()=>t.complete())}))}(e));const s=new a1,c=new a1,l=s.pipe(function XX(...e){return n=>Na(n,ie(...e))}(!0));Mo.set(n,{transition$:s,complete:()=>{c.next(),c.complete()},context:r});const u=function Hte(e){const{transitionDelay:n,transitionDuration:t}=window.getComputedStyle(e);return 1e3*(parseFloat(n)+parseFloat(t))}(n);return e.runOutsideAngular(()=>{const f=M2(n,"transitionend").pipe(y2(l),l2(({target:g})=>g===n));Xb(Zb(u+Nte).pipe(y2(l)),f,c).pipe(y2(l)).subscribe(()=>{Mo.delete(n),e.run(()=>{o(),s.next(),s.complete()})})}),s.asObservable()},xte=(e,n,t)=>{let{direction:i,maxSize:r,dimension:a}=t;const{classList:o}=e;function s(){o.add("collapse"),"show"===i?o.add("show"):o.remove("show")}if(n)return r||(r=function Lte(e,n){if(typeof navigator>"u")return"0px";const{classList:t}=e,i=t.contains("show");i||t.add("show"),e.style[n]="";const r=e.getBoundingClientRect()[n]+"px";return i||t.remove("show"),r}(e,a),t.maxSize=r,e.style[a]="show"!==i?r:"0px",o.remove("collapse"),o.remove("collapsing"),o.remove("show"),ar(e),o.add("collapsing")),e.style[a]="show"===i?r:"0px",()=>{s(),o.remove("collapsing"),e.style[a]=""};s()};let Ete=(()=>{class e{constructor(){this._ngbConfig=H(m3),this.horizontal=!1}get animation(){return this._animation??this._ngbConfig.animation}set animation(t){this._animation=t}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),yH=(()=>{class e{constructor(){this._config=H(Ete),this._element=H(Ae),this._zone=H(ve),this.animation=this._config.animation,this._afterInit=!1,this._isCollapsed=!1,this.ngbCollapseChange=new Z,this.horizontal=this._config.horizontal,this.shown=new Z,this.hidden=new Z}set collapsed(t){this._isCollapsed!==t&&(this._isCollapsed=t,this._afterInit&&this._runTransitionWithEvents(t,this.animation))}ngOnInit(){this._runTransition(this._isCollapsed,!1),this._afterInit=!0}toggle(t=this._isCollapsed){this.collapsed=!t,this.ngbCollapseChange.next(this._isCollapsed)}_runTransition(t,i){return _t(this._zone,this._element.nativeElement,xte,{animation:i,runningTransition:"stop",context:{direction:t?"hide":"show",dimension:this.horizontal?"width":"height"}})}_runTransitionWithEvents(t,i){this._runTransition(t,i).subscribe(()=>{t?this.hidden.emit():this.shown.emit()})}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=$({type:e,selectors:[["","ngbCollapse",""]],hostVars:2,hostBindings:function(i,r){2&i&&Ne("collapse-horizontal",r.horizontal)},inputs:{animation:"animation",collapsed:[Ge.None,"ngbCollapse","collapsed"],horizontal:"horizontal"},outputs:{ngbCollapseChange:"ngbCollapseChange",shown:"shown",hidden:"hidden"},exportAs:["ngbCollapse"],standalone:!0})}return e})(),Tte=0,wf=(()=>{class e{constructor(){this._vcr=H(Y2),this._element=H(Ae).nativeElement,this._item=H(e4),this._viewRef=null}ngAfterContentChecked(){this._bodyTpl&&(this._item._shouldBeInDOM?this._createViewIfNotExists():this._destroyViewIfExists())}ngOnDestroy(){this._destroyViewIfExists()}_destroyViewIfExists(){this._viewRef&&(this._viewRef.destroy(),this._viewRef=null)}_createViewIfNotExists(){if(!this._viewRef){this._viewRef=this._vcr.createEmbeddedView(this._bodyTpl),this._viewRef.detectChanges();for(const t of this._viewRef.rootNodes)this._element.appendChild(t)}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=$({type:e,selectors:[["","ngbAccordionBody",""]],contentQueries:function(i,r,a){if(1&i&&e2(a,I1,7),2&i){let o;p1(o=m1())&&(r._bodyTpl=o.first)}},hostVars:2,hostBindings:function(i,r){2&i&&Ne("accordion-body",!0)},standalone:!0})}return e})(),Q6=(()=>{class e{constructor(){this.item=H(e4),this.ngbCollapse=H(yH)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=$({type:e,selectors:[["","ngbAccordionCollapse",""]],hostAttrs:["role","region"],hostVars:4,hostBindings:function(i,r){2&i&&(A2("id",r.item.collapseId),W("aria-labelledby",r.item.toggleId),Ne("accordion-collapse",!0))},exportAs:["ngbAccordionCollapse"],standalone:!0,features:[r5([yH])]})}return e})(),MH=(()=>{class e{constructor(){this.item=H(e4),this.accordion=H(bo)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=$({type:e,selectors:[["","ngbAccordionToggle",""]],hostVars:5,hostBindings:function(i,r){1&i&&R("click",function(){return!r.item.disabled&&r.accordion.toggle(r.item.id)}),2&i&&(A2("id",r.item.toggleId),W("aria-controls",r.item.collapseId)("aria-expanded",!r.item.collapsed),Ne("collapsed",r.item.collapsed))},standalone:!0})}return e})(),Hf=(()=>{class e{constructor(){this.item=H(e4)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=$({type:e,selectors:[["button","ngbAccordionButton",""]],hostAttrs:["type","button"],hostVars:3,hostBindings:function(i,r){2&i&&(A2("disabled",r.item.disabled),Ne("accordion-button",!0))},standalone:!0,features:[r5([MH])]})}return e})(),Vf=(()=>{class e{constructor(){this.item=H(e4)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=$({type:e,selectors:[["","ngbAccordionHeader",""]],hostAttrs:["role","heading"],hostVars:4,hostBindings:function(i,r){2&i&&Ne("accordion-header",!0)("collapsed",r.item.collapsed)},standalone:!0})}return e})(),e4=(()=>{class e{constructor(){this._accordion=H(bo),this._cd=H(ut),this._destroyRef=H(ln),this._collapsed=!0,this._id="ngb-accordion-item-"+Tte++,this._collapseAnimationRunning=!1,this.disabled=!1,this.show=new Z,this.shown=new Z,this.hide=new Z,this.hidden=new Z}set id(t){E4(t)&&""!==t&&(this._id=t)}set destroyOnHide(t){this._destroyOnHide=t}get destroyOnHide(){return void 0===this._destroyOnHide?this._accordion.destroyOnHide:this._destroyOnHide}set collapsed(t){t?this.collapse():this.expand()}get collapsed(){return this._collapsed}get id(){return`${this._id}`}get toggleId(){return`${this.id}-toggle`}get collapseId(){return`${this.id}-collapse`}get _shouldBeInDOM(){return!this.collapsed||this._collapseAnimationRunning||!this.destroyOnHide}ngAfterContentInit(){const{ngbCollapse:t}=this._collapse;t.animation=!1,t.collapsed=this.collapsed,t.animation=this._accordion.animation,t.hidden.pipe(Zn(this._destroyRef)).subscribe(()=>{this._collapseAnimationRunning=!1,this.hidden.emit(),this._accordion.hidden.emit(this.id)}),t.shown.pipe(Zn(this._destroyRef)).subscribe(()=>{this.shown.emit(),this._accordion.shown.emit(this.id)})}toggle(){this.collapsed=!this.collapsed}expand(){if(this.collapsed){if(!this._accordion._ensureCanExpand(this))return;this._collapsed=!1,this._cd.markForCheck(),this._cd.detectChanges(),this.show.emit(),this._accordion.show.emit(this.id),this._collapse.ngbCollapse.animation=this._accordion.animation,this._collapse.ngbCollapse.collapsed=!1}}collapse(){this.collapsed||(this._collapsed=!0,this._collapseAnimationRunning=!0,this._cd.markForCheck(),this.hide.emit(),this._accordion.hide.emit(this.id),this._collapse.ngbCollapse.animation=this._accordion.animation,this._collapse.ngbCollapse.collapsed=!0)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=$({type:e,selectors:[["","ngbAccordionItem",""]],contentQueries:function(i,r,a){if(1&i&&e2(a,Q6,7),2&i){let o;p1(o=m1())&&(r._collapse=o.first)}},hostVars:3,hostBindings:function(i,r){2&i&&(A2("id",r.id),Ne("accordion-item",!0))},inputs:{id:[Ge.None,"ngbAccordionItem","id"],destroyOnHide:"destroyOnHide",disabled:"disabled",collapsed:"collapsed"},outputs:{show:"show",shown:"shown",hide:"hide",hidden:"hidden"},exportAs:["ngbAccordionItem"],standalone:!0})}return e})(),bo=(()=>{class e{constructor(){this._config=H(wte),this._anItemWasAlreadyExpandedDuringInitialisation=!1,this.animation=this._config.animation,this.closeOthers=this._config.closeOthers,this.destroyOnHide=this._config.destroyOnHide,this.show=new Z,this.shown=new Z,this.hide=new Z,this.hidden=new Z}toggle(t){this._getItem(t)?.toggle()}expand(t){this._getItem(t)?.expand()}expandAll(){this._items&&(this.closeOthers?this._items.find(t=>!t.collapsed)||this._items.first.expand():this._items.forEach(t=>t.expand()))}collapse(t){this._getItem(t)?.collapse()}collapseAll(){this._items?.forEach(t=>t.collapse())}isExpanded(t){const i=this._getItem(t);return!!i&&!i.collapsed}_ensureCanExpand(t){return!(this.closeOthers&&(this._items?(this._items.find(i=>!i.collapsed&&t!==i)?.collapse(),0):this._anItemWasAlreadyExpandedDuringInitialisation||(this._anItemWasAlreadyExpandedDuringInitialisation=!0,0)))}_getItem(t){return this._items?.find(i=>i.id===t)}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=$({type:e,selectors:[["","ngbAccordion",""]],contentQueries:function(i,r,a){if(1&i&&e2(a,e4,4),2&i){let o;p1(o=m1())&&(r._items=o)}},hostVars:2,hostBindings:function(i,r){2&i&&Ne("accordion",!0)},inputs:{animation:"animation",closeOthers:"closeOthers",destroyOnHide:"destroyOnHide"},outputs:{show:"show",shown:"shown",hide:"hide",hidden:"hidden"},exportAs:["ngbAccordion"],standalone:!0})}return e})(),Z6=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Ze({type:e});static#n=this.\u0275inj=Ye({})}return e})(),Ite=(()=>{class e{constructor(){this._ngbConfig=H(m3),this.dismissible=!0,this.type="warning"}get animation(){return this._animation??this._ngbConfig.animation}set animation(t){this._animation=t}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Ate=({classList:e})=>{e.remove("show")};let zf=(()=>{class e{constructor(){this._config=H(Ite),this._elementRef=H(Ae),this._zone=H(ve),this.animation=this._config.animation,this.dismissible=this._config.dismissible,this.type=this._config.type,this.closed=new Z}close(){const t=_t(this._zone,this._elementRef.nativeElement,Ate,{animation:this.animation,runningTransition:"continue"});return t.subscribe(()=>this.closed.emit()),t}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=oe({type:e,selectors:[["ngb-alert"]],hostAttrs:["role","alert"],hostVars:6,hostBindings:function(i,r){2&i&&(g4("alert show"+(r.type?" alert-"+r.type:"")),Ne("fade",r.animation)("alert-dismissible",r.dismissible))},inputs:{animation:"animation",dismissible:"dismissible",type:"type"},outputs:{closed:"closed"},exportAs:["ngbAlert"],standalone:!0,features:[se],ngContentSelectors:K6,decls:2,vars:1,consts:()=>{let t;return t=$localize`:@@ngb.alert.close:Close`,[["type","button","aria-label",t,1,"btn-close"],["type","button","aria-label",t,1,"btn-close",3,"click"]]},template:function(i,r){1&i&&(Vi(),zi(0),j(1,r2e,1,0,"button",0)),2&i&&(C(),j1(1,r.dismissible?1:-1))},styles:["ngb-alert{display:block}\n"],encapsulation:2,changeDetection:0})}return e})(),Df=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Ze({type:e});static#n=this.\u0275inj=Ye({})}return e})(),HH=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Ze({type:e});static#n=this.\u0275inj=Ye({})}return e})(),VH=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Ze({type:e});static#n=this.\u0275inj=Ye({})}return e})();var i1=function(e){return e[e.Tab=9]="Tab",e[e.Enter=13]="Enter",e[e.Escape=27]="Escape",e[e.Space=32]="Space",e[e.PageUp=33]="PageUp",e[e.PageDown=34]="PageDown",e[e.End=35]="End",e[e.Home=36]="Home",e[e.ArrowLeft=37]="ArrowLeft",e[e.ArrowUp=38]="ArrowUp",e[e.ArrowRight=39]="ArrowRight",e[e.ArrowDown=40]="ArrowDown",e}(i1||{});const r0=(e,n)=>!!n&&n.some(t=>t.contains(e)),LH=(e,n)=>!n||null!=function zte(e,n){return!n||typeof e.closest>"u"?null:e.closest(n)}(e,n),tne=typeof navigator<"u"&&!!navigator.userAgent&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2||/Android/.test(navigator.userAgent));function a0(e,n,t,i,r,a,o,s){t&&e.runOutsideAngular((e=>tne?()=>setTimeout(()=>e(),100):e)(()=>{const l=M2(n,"keydown").pipe(y2(r),l2(p=>p.which===i1.Escape),u2(p=>p.preventDefault())),u=M2(n,"mousedown").pipe(Te(p=>{const g=p.target;return 2!==p.button&&!r0(g,o)&&("inside"===t?r0(g,a)&&LH(g,s):"outside"===t?!r0(g,a):LH(g,s)||!r0(g,a))}),y2(r)),f=M2(n,"mouseup").pipe(ju(u),l2(([p,g])=>g),function tee(e,n=Qb){const t=Zb(e,n);return ew(()=>t)}(0),y2(r));Xb([l.pipe(Te(p=>0)),f.pipe(Te(p=>1))]).subscribe(p=>e.run(()=>i(p)))}))}const xH=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");function EH(e){const n=Array.from(e.querySelectorAll(xH)).filter(t=>-1!==t.tabIndex);return[n[0],n[n.length-1]]}let ine=(()=>{class e{constructor(){this._element=H(N1).documentElement}isRTL(){return"rtl"===(this._element.getAttribute("dir")||"").toLowerCase()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const rne=/\s+/,ane=/ +/gi,one={top:["top"],bottom:["bottom"],start:["left","right"],left:["left"],end:["right","left"],right:["right"],"top-start":["top-start","top-end"],"top-left":["top-start"],"top-end":["top-end","top-start"],"top-right":["top-end"],"bottom-start":["bottom-start","bottom-end"],"bottom-left":["bottom-start"],"bottom-end":["bottom-end","bottom-start"],"bottom-right":["bottom-end"],"start-top":["left-start","right-start"],"left-top":["left-start"],"start-bottom":["left-end","right-end"],"left-bottom":["left-end"],"end-top":["right-start","left-start"],"right-top":["right-start"],"end-bottom":["right-end","left-end"],"right-bottom":["right-end"]},cne=/^left/,lne=/^right/,une=/^start/,fne=/^end/;function IH({placement:e,baseClass:n},t){let i=Array.isArray(e)?e:e.split(rne),a=i.findIndex(l=>"auto"===l);a>=0&&["top","bottom","start","end","top-start","top-end","bottom-start","bottom-end","start-top","start-bottom","end-top","end-bottom"].forEach(function(l){null==i.find(u=>-1!==u.search("^"+l))&&i.splice(a++,1,l)});const o=i.map(l=>function sne(e,n){const[t,i]=one[e];return n&&i||t}(l,t.isRTL()));return{placement:o.shift(),modifiers:[{name:"bootstrapClasses",enabled:!!n,phase:"write",fn({state:l}){const u=new RegExp(n+"(-[a-z]+)*","gi"),f=l.elements.popper,p=l.placement;let g=f.className;g=g.replace(u,""),g+=` ${function dne(e,n){let[t,i]=n.split("-");const r=t.replace(cne,"start").replace(lne,"end");let a=[r];if(i){let o=i;("left"===t||"right"===t)&&(o=o.replace(une,"top").replace(fne,"bottom")),a.push(`${r}-${o}`)}return e&&(a=a.map(o=>`${e}-${o}`)),a.join(" ")}(n,p)}`,g=g.trim().replace(ane," "),f.className=g}},V1e,N1e,T1e,{enabled:!0,name:"flip",options:{fallbackPlacements:o}},{enabled:!0,name:"preventOverflow",phase:"main",fn:function(){}}]}}function AH(e){return e}function o0(){const e=H(ine);let n=null;return{createPopper(t){if(!n){let r=(t.updatePopperOptions||AH)(IH(t,e));n=e2e(t.hostElement,t.targetElement,r)}},update(){n&&n.update()},setOptions(t){if(n){let r=(t.updatePopperOptions||AH)(IH(t,e));n.setOptions(r)}},destroy(){n&&(n.destroy(),n=null)}}}function s0(e){return n=>(n.modifiers.push(i2e,{name:"offset",options:{offset:()=>e}}),n)}new Date(1882,10,12),new Date(2174,10,25);let WH=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Ze({type:e});static#n=this.\u0275inj=Ye({})}return e})(),YH=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Ze({type:e});static#n=this.\u0275inj=Ye({})}return e})(),xne=(()=>{class e{constructor(){this._ngbConfig=H(m3),this.backdrop=!0,this.fullscreen=!1,this.keyboard=!0}get animation(){return this._animation??this._ngbConfig.animation}set animation(t){this._animation=t}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class y3{constructor(n,t,i){this.nodes=n,this.viewRef=t,this.componentRef=i}}class KH{constructor(n){this._componentType=n,this._windowRef=null,this._contentRef=null,this._document=H(N1),this._applicationRef=H(yn),this._injector=H(U1),this._viewContainerRef=H(Y2),this._ngZone=H(ve)}open(n,t,i=!1){this._windowRef||(this._contentRef=this._getContentRef(n,t),this._windowRef=this._viewContainerRef.createComponent(this._componentType,{injector:this._injector,projectableNodes:this._contentRef.nodes}));const{nativeElement:r}=this._windowRef.location,a=this._ngZone.onStable.pipe(C2(1),r2(()=>_t(this._ngZone,r,({classList:o})=>o.add("show"),{animation:i,runningTransition:"continue"})));return{windowRef:this._windowRef,transition$:a}}close(n=!1){return this._windowRef?_t(this._ngZone,this._windowRef.location.nativeElement,({classList:t})=>t.remove("show"),{animation:n,runningTransition:"stop"}).pipe(u2(()=>{this._windowRef&&(this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._windowRef.hostView)),this._windowRef=null),this._contentRef?.viewRef&&(this._applicationRef.detachView(this._contentRef.viewRef),this._contentRef.viewRef.destroy(),this._contentRef=null)})):ie(void 0)}_getContentRef(n,t){if(n){if(n instanceof I1){const i=n.createEmbeddedView(t);return this._applicationRef.attachView(i),new y3([i.rootNodes],i)}return new y3([[this._document.createTextNode(`${n}`)]])}return new y3([])}}let Ene=(()=>{class e{constructor(){this._document=H(N1)}hide(){const t=Math.abs(window.innerWidth-this._document.documentElement.clientWidth),i=this._document.body,r=i.style,{overflow:a,paddingRight:o}=r;if(t>0){const s=parseFloat(window.getComputedStyle(i).paddingRight);r.paddingRight=`${s+t}px`}return r.overflow="hidden",()=>{t>0&&(r.paddingRight=o),r.overflow=a}}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Tne=(()=>{class e{constructor(){this._nativeElement=H(Ae).nativeElement,this._zone=H(ve)}ngOnInit(){this._zone.onStable.asObservable().pipe(C2(1)).subscribe(()=>{_t(this._zone,this._nativeElement,(t,i)=>{i&&ar(t),t.classList.add("show")},{animation:this.animation,runningTransition:"continue"})})}hide(){return _t(this._zone,this._nativeElement,({classList:t})=>t.remove("show"),{animation:this.animation,runningTransition:"stop"})}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=oe({type:e,selectors:[["ngb-modal-backdrop"]],hostAttrs:[2,"z-index","1055"],hostVars:6,hostBindings:function(i,r){2&i&&(g4("modal-backdrop"+(r.backdropClass?" "+r.backdropClass:"")),Ne("show",!r.animation)("fade",r.animation))},inputs:{animation:"animation",backdropClass:"backdropClass"},standalone:!0,features:[se],decls:0,vars:0,template:function(i,r){},encapsulation:2})}return e})();class QH{update(n){}close(n){}dismiss(n){}}const Ine=["animation","ariaLabelledBy","ariaDescribedBy","backdrop","centered","fullscreen","keyboard","scrollable","size","windowClass","modalDialogClass"],Ane=["animation","backdropClass"];class kne{_applyWindowOptions(n,t){Ine.forEach(i=>{g3(t[i])&&(n[i]=t[i])})}_applyBackdropOptions(n,t){Ane.forEach(i=>{g3(t[i])&&(n[i]=t[i])})}update(n){this._applyWindowOptions(this._windowCmptRef.instance,n),this._backdropCmptRef&&this._backdropCmptRef.instance&&this._applyBackdropOptions(this._backdropCmptRef.instance,n)}get componentInstance(){if(this._contentRef&&this._contentRef.componentRef)return this._contentRef.componentRef.instance}get closed(){return this._closed.asObservable().pipe(y2(this._hidden))}get dismissed(){return this._dismissed.asObservable().pipe(y2(this._hidden))}get hidden(){return this._hidden.asObservable()}get shown(){return this._windowCmptRef.instance.shown.asObservable()}constructor(n,t,i,r){this._windowCmptRef=n,this._contentRef=t,this._backdropCmptRef=i,this._beforeDismiss=r,this._closed=new a1,this._dismissed=new a1,this._hidden=new a1,n.instance.dismissEvent.subscribe(a=>{this.dismiss(a)}),this.result=new Promise((a,o)=>{this._resolve=a,this._reject=o}),this.result.then(null,()=>{})}close(n){this._windowCmptRef&&(this._closed.next(n),this._resolve(n),this._removeModalElements())}_dismiss(n){this._dismissed.next(n),this._reject(n),this._removeModalElements()}dismiss(n){if(this._windowCmptRef)if(this._beforeDismiss){const t=this._beforeDismiss();!function vH(e){return e&&e.then}(t)?!1!==t&&this._dismiss(n):t.then(i=>{!1!==i&&this._dismiss(n)},()=>{})}else this._dismiss(n)}_removeModalElements(){const n=this._windowCmptRef.instance.hide(),t=this._backdropCmptRef?this._backdropCmptRef.instance.hide():ie(void 0);n.subscribe(()=>{const{nativeElement:i}=this._windowCmptRef.location;i.parentNode.removeChild(i),this._windowCmptRef.destroy(),this._contentRef&&this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._windowCmptRef=null,this._contentRef=null}),t.subscribe(()=>{if(this._backdropCmptRef){const{nativeElement:i}=this._backdropCmptRef.location;i.parentNode.removeChild(i),this._backdropCmptRef.destroy(),this._backdropCmptRef=null}}),Uu(n,t).subscribe(()=>{this._hidden.next(),this._hidden.complete()})}}var zo=function(e){return e[e.BACKDROP_CLICK=0]="BACKDROP_CLICK",e[e.ESC=1]="ESC",e}(zo||{});let Rne=(()=>{class e{constructor(){this._document=H(N1),this._elRef=H(Ae),this._zone=H(ve),this._closed$=new a1,this._elWithFocus=null,this.backdrop=!0,this.keyboard=!0,this.dismissEvent=new Z,this.shown=new a1,this.hidden=new a1}get fullscreenClass(){return!0===this.fullscreen?" modal-fullscreen":E4(this.fullscreen)?` modal-fullscreen-${this.fullscreen}-down`:""}dismiss(t){this.dismissEvent.emit(t)}ngOnInit(){this._elWithFocus=this._document.activeElement,this._zone.onStable.asObservable().pipe(C2(1)).subscribe(()=>{this._show()})}ngOnDestroy(){this._disableEventHandling()}hide(){const{nativeElement:t}=this._elRef,i={animation:this.animation,runningTransition:"stop"},o=Uu(_t(this._zone,t,()=>t.classList.remove("show"),i),_t(this._zone,this._dialogEl.nativeElement,()=>{},i));return o.subscribe(()=>{this.hidden.next(),this.hidden.complete()}),this._disableEventHandling(),this._restoreFocus(),o}_show(){const t={animation:this.animation,runningTransition:"continue"};Uu(_t(this._zone,this._elRef.nativeElement,(a,o)=>{o&&ar(a),a.classList.add("show")},t),_t(this._zone,this._dialogEl.nativeElement,()=>{},t)).subscribe(()=>{this.shown.next(),this.shown.complete()}),this._enableEventHandling(),this._setFocus()}_enableEventHandling(){const{nativeElement:t}=this._elRef;this._zone.runOutsideAngular(()=>{M2(t,"keydown").pipe(y2(this._closed$),l2(r=>r.which===i1.Escape)).subscribe(r=>{this.keyboard?requestAnimationFrame(()=>{r.defaultPrevented||this._zone.run(()=>this.dismiss(zo.ESC))}):"static"===this.backdrop&&this._bumpBackdrop()});let i=!1;M2(this._dialogEl.nativeElement,"mousedown").pipe(y2(this._closed$),u2(()=>i=!1),Bt(()=>M2(t,"mouseup").pipe(y2(this._closed$),C2(1))),l2(({target:r})=>t===r)).subscribe(()=>{i=!0}),M2(t,"click").pipe(y2(this._closed$)).subscribe(({target:r})=>{t===r&&("static"===this.backdrop?this._bumpBackdrop():!0===this.backdrop&&!i&&this._zone.run(()=>this.dismiss(zo.BACKDROP_CLICK))),i=!1})})}_disableEventHandling(){this._closed$.next()}_setFocus(){const{nativeElement:t}=this._elRef;if(!t.contains(document.activeElement)){const i=t.querySelector("[ngbAutofocus]"),r=EH(t)[0];(i||r||t).focus()}}_restoreFocus(){const t=this._document.body,i=this._elWithFocus;let r;r=i&&i.focus&&t.contains(i)?i:t,this._zone.runOutsideAngular(()=>{setTimeout(()=>r.focus()),this._elWithFocus=null})}_bumpBackdrop(){"static"===this.backdrop&&_t(this._zone,this._elRef.nativeElement,({classList:t})=>(t.add("modal-static"),()=>t.remove("modal-static")),{animation:this.animation,runningTransition:"continue"})}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=oe({type:e,selectors:[["ngb-modal-window"]],viewQuery:function(i,r){if(1&i&&t3(I2e,7),2&i){let a;p1(a=m1())&&(r._dialogEl=a.first)}},hostAttrs:["role","dialog","tabindex","-1"],hostVars:7,hostBindings:function(i,r){2&i&&(W("aria-modal",!0)("aria-labelledby",r.ariaLabelledBy)("aria-describedby",r.ariaDescribedBy),g4("modal d-block"+(r.windowClass?" "+r.windowClass:"")),Ne("fade",r.animation))},inputs:{animation:"animation",ariaLabelledBy:"ariaLabelledBy",ariaDescribedBy:"ariaDescribedBy",backdrop:"backdrop",centered:"centered",fullscreen:"fullscreen",keyboard:"keyboard",scrollable:"scrollable",size:"size",windowClass:"windowClass",modalDialogClass:"modalDialogClass"},outputs:{dismissEvent:"dismiss"},standalone:!0,features:[se],ngContentSelectors:K6,decls:4,vars:2,consts:[["dialog",""],["role","document"],[1,"modal-content"]],template:function(i,r){1&i&&(Vi(),m(0,"div",1,0)(2,"div",2),zi(3),v()()),2&i&&g4("modal-dialog"+(r.size?" modal-"+r.size:"")+(r.centered?" modal-dialog-centered":"")+r.fullscreenClass+(r.scrollable?" modal-dialog-scrollable":"")+(r.modalDialogClass?" "+r.modalDialogClass:""))},styles:["ngb-modal-window .component-host-scrollable{display:flex;flex-direction:column;overflow:hidden}\n"],encapsulation:2})}return e})(),One=(()=>{class e{constructor(){this._applicationRef=H(yn),this._injector=H(U1),this._environmentInjector=H(E2),this._document=H(N1),this._scrollBar=H(Ene),this._activeWindowCmptHasChanged=new a1,this._ariaHiddenValues=new Map,this._scrollBarRestoreFn=null,this._modalRefs=[],this._windowCmpts=[],this._activeInstances=new Z;const t=H(ve);this._activeWindowCmptHasChanged.subscribe(()=>{if(this._windowCmpts.length){const i=this._windowCmpts[this._windowCmpts.length-1];((e,n,t,i=!1)=>{e.runOutsideAngular(()=>{const r=M2(n,"focusin").pipe(y2(t),Te(a=>a.target));M2(n,"keydown").pipe(y2(t),l2(a=>a.which===i1.Tab),ju(r)).subscribe(([a,o])=>{const[s,c]=EH(n);(o===s||o===n)&&a.shiftKey&&(c.focus(),a.preventDefault()),o===c&&!a.shiftKey&&(s.focus(),a.preventDefault())}),i&&M2(n,"click").pipe(y2(t),ju(r),Te(a=>a[1])).subscribe(a=>a.focus())})})(t,i.location.nativeElement,this._activeWindowCmptHasChanged),this._revertAriaHidden(),this._setAriaHidden(i.location.nativeElement)}})}_restoreScrollBar(){const t=this._scrollBarRestoreFn;t&&(this._scrollBarRestoreFn=null,t())}_hideScrollBar(){this._scrollBarRestoreFn||(this._scrollBarRestoreFn=this._scrollBar.hide())}open(t,i,r){const a=r.container instanceof HTMLElement?r.container:g3(r.container)?this._document.querySelector(r.container):this._document.body;if(!a)throw new Error(`The specified modal container "${r.container||"body"}" was not found in the DOM.`);this._hideScrollBar();const o=new QH,s=(t=r.injector||t).get(E2,null)||this._environmentInjector,c=this._getContentRef(t,s,i,o,r);let l=!1!==r.backdrop?this._attachBackdrop(a):void 0,u=this._attachWindowComponent(a,c.nodes),f=new kne(u,c,l,r.beforeDismiss);return this._registerModalRef(f),this._registerWindowCmpt(u),f.hidden.pipe(C2(1)).subscribe(()=>Promise.resolve(!0).then(()=>{this._modalRefs.length||(this._document.body.classList.remove("modal-open"),this._restoreScrollBar(),this._revertAriaHidden())})),o.close=p=>{f.close(p)},o.dismiss=p=>{f.dismiss(p)},o.update=p=>{f.update(p)},f.update(r),1===this._modalRefs.length&&this._document.body.classList.add("modal-open"),l&&l.instance&&l.changeDetectorRef.detectChanges(),u.changeDetectorRef.detectChanges(),f}get activeInstances(){return this._activeInstances}dismissAll(t){this._modalRefs.forEach(i=>i.dismiss(t))}hasOpenModals(){return this._modalRefs.length>0}_attachBackdrop(t){let i=a7(Tne,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector});return this._applicationRef.attachView(i.hostView),t.appendChild(i.location.nativeElement),i}_attachWindowComponent(t,i){let r=a7(Rne,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector,projectableNodes:i});return this._applicationRef.attachView(r.hostView),t.appendChild(r.location.nativeElement),r}_getContentRef(t,i,r,a,o){return r?r instanceof I1?this._createFromTemplateRef(r,a):E4(r)?this._createFromString(r):this._createFromComponent(t,i,r,a,o):new y3([])}_createFromTemplateRef(t,i){const a=t.createEmbeddedView({$implicit:i,close(o){i.close(o)},dismiss(o){i.dismiss(o)}});return this._applicationRef.attachView(a),new y3([a.rootNodes],a)}_createFromString(t){const i=this._document.createTextNode(`${t}`);return new y3([[i]])}_createFromComponent(t,i,r,a,o){const c=a7(r,{environmentInjector:i,elementInjector:U1.create({providers:[{provide:QH,useValue:a}],parent:t})}),l=c.location.nativeElement;return o.scrollable&&l.classList.add("component-host-scrollable"),this._applicationRef.attachView(c.hostView),new y3([[l]],c.hostView,c)}_setAriaHidden(t){const i=t.parentElement;i&&t!==this._document.body&&(Array.from(i.children).forEach(r=>{r!==t&&"SCRIPT"!==r.nodeName&&(this._ariaHiddenValues.set(r,r.getAttribute("aria-hidden")),r.setAttribute("aria-hidden","true"))}),this._setAriaHidden(i))}_revertAriaHidden(){this._ariaHiddenValues.forEach((t,i)=>{t?i.setAttribute("aria-hidden",t):i.removeAttribute("aria-hidden")}),this._ariaHiddenValues.clear()}_registerModalRef(t){const i=()=>{const r=this._modalRefs.indexOf(t);r>-1&&(this._modalRefs.splice(r,1),this._activeInstances.emit(this._modalRefs))};this._modalRefs.push(t),this._activeInstances.emit(this._modalRefs),t.result.then(i,i)}_registerWindowCmpt(t){this._windowCmpts.push(t),this._activeWindowCmptHasChanged.next(),t.onDestroy(()=>{const i=this._windowCmpts.indexOf(t);i>-1&&(this._windowCmpts.splice(i,1),this._activeWindowCmptHasChanged.next())})}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ZH=(()=>{class e{constructor(){this._injector=H(U1),this._modalStack=H(One),this._config=H(xne)}open(t,i={}){const r={...this._config,animation:this._config.animation,...i};return this._modalStack.open(this._injector,t,r)}get activeInstances(){return this._modalStack.activeInstances}dismissAll(t){this._modalStack.dismissAll(t)}hasOpenModals(){return this._modalStack.hasOpenModals()}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),JH=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Ze({type:e});static#n=this.\u0275inj=Ye({providers:[ZH]})}return e})(),tV=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Ze({type:e});static#n=this.\u0275inj=Ye({})}return e})(),lV=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Ze({type:e});static#n=this.\u0275inj=Ye({})}return e})();const qne={hover:["mouseenter","mouseleave"],focus:["focusin","focusout"]};function uV(e,n,t,i,r,a=0,o=0){const s=function Yne(e){const n=(e||"").trim();if(0===n.length)return[];const t=n.split(/\s+/).map(r=>r.split(":")).map(r=>qne[r[0]]||r),i=t.filter(r=>r.includes("manual"));if(i.length>1)throw"Triggers parse error: only one manual trigger is allowed";if(1===i.length&&t.length>1)throw"Triggers parse error: manual trigger can't be mixed with other triggers";return i.length?[]:t}(n);if(0===s.length)return()=>{};const c=new Set,l=[];let u;function f(g,b){e.addEventListener(g,b),l.push(()=>e.removeEventListener(g,b))}function p(g,b){clearTimeout(u),b>0?u=setTimeout(g,b):g()}for(const[g,b]of s)b?(f(g,()=>{c.add(g),p(()=>c.size>0&&i(),a)}),f(b,()=>{c.delete(g),p(()=>0===c.size&&r(),o)})):f(g,()=>t()?p(r,o):p(i,a));return()=>l.forEach(g=>g())}let Kne=(()=>{class e{constructor(){this._ngbConfig=H(m3),this.autoClose=!0,this.placement="auto",this.popperOptions=t=>t,this.triggers="click",this.disablePopover=!1,this.openDelay=0,this.closeDelay=0}get animation(){return this._animation??this._ngbConfig.animation}set animation(t){this._animation=t}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Qne=0,Zne=(()=>{class e{isTitleTemplate(){return this.title instanceof I1}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=oe({type:e,selectors:[["ngb-popover-window"]],hostAttrs:["role","tooltip",2,"position","absolute"],hostVars:5,hostBindings:function(i,r){2&i&&(A2("id",r.id),g4("popover"+(r.popoverClass?" "+r.popoverClass:"")),Ne("fade",r.animation))},inputs:{animation:"animation",title:"title",id:"id",popoverClass:"popoverClass",context:"context"},standalone:!0,features:[se],ngContentSelectors:K6,decls:4,vars:1,consts:[["simpleTitle",""],["data-popper-arrow","",1,"popover-arrow"],[1,"popover-header"],[1,"popover-body"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(i,r){1&i&&(Vi(),k(0,"div",1),j(1,dte,4,2,"h3",2),m(2,"div",3),zi(3),v()),2&i&&(C(),j1(1,r.title?1:-1))},dependencies:[Ti],encapsulation:2,changeDetection:0})}return e})(),Jne=(()=>{class e{constructor(){this._config=H(Kne),this.animation=this._config.animation,this.autoClose=this._config.autoClose,this.placement=this._config.placement,this.popperOptions=this._config.popperOptions,this.triggers=this._config.triggers,this.container=this._config.container,this.disablePopover=this._config.disablePopover,this.popoverClass=this._config.popoverClass,this.openDelay=this._config.openDelay,this.closeDelay=this._config.closeDelay,this.shown=new Z,this.hidden=new Z,this._nativeElement=H(Ae).nativeElement,this._ngZone=H(ve),this._document=H(N1),this._changeDetector=H(ut),this._ngbPopoverWindowId="ngb-popover-"+Qne++,this._popupService=new KH(Zne),this._windowRef=null,this._positioning=o0()}open(t){if(!this._windowRef&&!this._isDisabled()){const{windowRef:i,transition$:r}=this._popupService.open(this.ngbPopover,t??this.popoverContext,this.animation);this._windowRef=i,this._windowRef.setInput("animation",this.animation),this._windowRef.setInput("title",this.popoverTitle),this._windowRef.setInput("context",t??this.popoverContext),this._windowRef.setInput("popoverClass",this.popoverClass),this._windowRef.setInput("id",this._ngbPopoverWindowId),this._getPositionTargetElement().setAttribute("aria-describedby",this._ngbPopoverWindowId),"body"===this.container&&this._document.body.appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.detectChanges(),this._windowRef.changeDetectorRef.markForCheck(),this._ngZone.runOutsideAngular(()=>{this._positioning.createPopper({hostElement:this._getPositionTargetElement(),targetElement:this._windowRef.location.nativeElement,placement:this.placement,appendToBody:"body"===this.container,baseClass:"bs-popover",updatePopperOptions:a=>this.popperOptions(s0([0,8])(a))}),Promise.resolve().then(()=>{this._positioning.update(),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>this._positioning.update())})}),a0(this._ngZone,this._document,this.autoClose,()=>this.close(),this.hidden,[this._windowRef.location.nativeElement]),r.subscribe(()=>this.shown.emit())}}close(t=this.animation){this._windowRef&&(this._getPositionTargetElement().removeAttribute("aria-describedby"),this._popupService.close(t).subscribe(()=>{this._windowRef=null,this._positioning.destroy(),this._zoneSubscription?.unsubscribe(),this.hidden.emit(),this._changeDetector.markForCheck()}))}toggle(){this._windowRef?this.close():this.open()}isOpen(){return null!=this._windowRef}ngOnInit(){this._unregisterListenersFn=uV(this._nativeElement,this.triggers,this.isOpen.bind(this),this.open.bind(this),this.close.bind(this),+this.openDelay,+this.closeDelay)}ngOnChanges({ngbPopover:t,popoverTitle:i,disablePopover:r,popoverClass:a}){a&&this.isOpen()&&this._windowRef.setInput("popoverClass",a.currentValue),(t||i||r)&&this._isDisabled()&&this.close()}ngOnDestroy(){this.close(!1),this._unregisterListenersFn?.()}_isDisabled(){return!!this.disablePopover||!this.ngbPopover&&!this.popoverTitle}_getPositionTargetElement(){return(E4(this.positionTarget)?this._document.querySelector(this.positionTarget):this.positionTarget)||this._nativeElement}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=$({type:e,selectors:[["","ngbPopover",""]],inputs:{animation:"animation",autoClose:"autoClose",ngbPopover:"ngbPopover",popoverTitle:"popoverTitle",placement:"placement",popperOptions:"popperOptions",triggers:"triggers",positionTarget:"positionTarget",container:"container",disablePopover:"disablePopover",popoverClass:"popoverClass",popoverContext:"popoverContext",openDelay:"openDelay",closeDelay:"closeDelay"},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbPopover"],standalone:!0,features:[T1]})}return e})(),fV=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Ze({type:e});static#n=this.\u0275inj=Ye({})}return e})(),dV=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Ze({type:e});static#n=this.\u0275inj=Ye({})}return e})(),hV=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Ze({type:e});static#n=this.\u0275inj=Ye({})}return e})(),pV=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Ze({type:e});static#n=this.\u0275inj=Ye({})}return e})(),mV=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Ze({type:e});static#n=this.\u0275inj=Ye({})}return e})(),gV=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Ze({type:e});static#n=this.\u0275inj=Ye({})}return e})(),n4e=(()=>{class e{constructor(){this._ngbConfig=H(m3),this.autoClose=!0,this.placement="auto",this.popperOptions=t=>t,this.triggers="hover focus",this.disableTooltip=!1,this.openDelay=0,this.closeDelay=0}get animation(){return this._animation??this._ngbConfig.animation}set animation(t){this._animation=t}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),i4e=0,r4e=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275cmp=oe({type:e,selectors:[["ngb-tooltip-window"]],hostAttrs:["role","tooltip"],hostVars:5,hostBindings:function(i,r){2&i&&(A2("id",r.id),g4("tooltip"+(r.tooltipClass?" "+r.tooltipClass:"")),Ne("fade",r.animation))},inputs:{animation:"animation",id:"id",tooltipClass:"tooltipClass"},standalone:!0,features:[se],ngContentSelectors:K6,decls:3,vars:0,consts:[["data-popper-arrow","",1,"tooltip-arrow"],[1,"tooltip-inner"]],template:function(i,r){1&i&&(Vi(),k(0,"div",0),m(1,"div",1),zi(2),v())},styles:["ngb-tooltip-window{pointer-events:none;position:absolute}ngb-tooltip-window .tooltip-inner{pointer-events:auto}ngb-tooltip-window.bs-tooltip-top,ngb-tooltip-window.bs-tooltip-bottom{padding-left:0;padding-right:0}ngb-tooltip-window.bs-tooltip-start,ngb-tooltip-window.bs-tooltip-end{padding-top:0;padding-bottom:0}\n"],encapsulation:2,changeDetection:0})}return e})(),vV=(()=>{class e{constructor(){this._config=H(n4e),this.animation=this._config.animation,this.autoClose=this._config.autoClose,this.placement=this._config.placement,this.popperOptions=this._config.popperOptions,this.triggers=this._config.triggers,this.container=this._config.container,this.disableTooltip=this._config.disableTooltip,this.tooltipClass=this._config.tooltipClass,this.openDelay=this._config.openDelay,this.closeDelay=this._config.closeDelay,this.shown=new Z,this.hidden=new Z,this._nativeElement=H(Ae).nativeElement,this._ngZone=H(ve),this._document=H(N1),this._changeDetector=H(ut),this._ngbTooltipWindowId="ngb-tooltip-"+i4e++,this._popupService=new KH(r4e),this._windowRef=null,this._positioning=o0()}set ngbTooltip(t){this._ngbTooltip=t,!t&&this._windowRef&&this.close()}get ngbTooltip(){return this._ngbTooltip}open(t){if(!this._windowRef&&this._ngbTooltip&&!this.disableTooltip){const{windowRef:i,transition$:r}=this._popupService.open(this._ngbTooltip,t??this.tooltipContext,this.animation);this._windowRef=i,this._windowRef.setInput("animation",this.animation),this._windowRef.setInput("tooltipClass",this.tooltipClass),this._windowRef.setInput("id",this._ngbTooltipWindowId),this._getPositionTargetElement().setAttribute("aria-describedby",this._ngbTooltipWindowId),"body"===this.container&&this._document.body.appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.detectChanges(),this._windowRef.changeDetectorRef.markForCheck(),this._ngZone.runOutsideAngular(()=>{this._positioning.createPopper({hostElement:this._getPositionTargetElement(),targetElement:this._windowRef.location.nativeElement,placement:this.placement,appendToBody:"body"===this.container,baseClass:"bs-tooltip",updatePopperOptions:a=>this.popperOptions(s0([0,6])(a))}),Promise.resolve().then(()=>{this._positioning.update(),this._zoneSubscription=this._ngZone.onStable.subscribe(()=>this._positioning.update())})}),a0(this._ngZone,this._document,this.autoClose,()=>this.close(),this.hidden,[this._windowRef.location.nativeElement],[this._nativeElement]),r.subscribe(()=>this.shown.emit())}}close(t=this.animation){null!=this._windowRef&&(this._getPositionTargetElement().removeAttribute("aria-describedby"),this._popupService.close(t).subscribe(()=>{this._windowRef=null,this._positioning.destroy(),this._zoneSubscription?.unsubscribe(),this.hidden.emit(),this._changeDetector.markForCheck()}))}toggle(){this._windowRef?this.close():this.open()}isOpen(){return null!=this._windowRef}ngOnInit(){this._unregisterListenersFn=uV(this._nativeElement,this.triggers,this.isOpen.bind(this),this.open.bind(this),this.close.bind(this),+this.openDelay,+this.closeDelay)}ngOnChanges({tooltipClass:t}){t&&this.isOpen()&&this._windowRef.setInput("tooltipClass",t.currentValue)}ngOnDestroy(){this.close(!1),this._unregisterListenersFn?.()}_getPositionTargetElement(){return(E4(this.positionTarget)?this._document.querySelector(this.positionTarget):this.positionTarget)||this._nativeElement}static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275dir=$({type:e,selectors:[["","ngbTooltip",""]],inputs:{animation:"animation",autoClose:"autoClose",placement:"placement",popperOptions:"popperOptions",triggers:"triggers",positionTarget:"positionTarget",container:"container",disableTooltip:"disableTooltip",tooltipClass:"tooltipClass",tooltipContext:"tooltipContext",openDelay:"openDelay",closeDelay:"closeDelay",ngbTooltip:"ngbTooltip"},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbTooltip"],standalone:!0,features:[T1]})}return e})(),Bf=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Ze({type:e});static#n=this.\u0275inj=Ye({})}return e})();new q("live announcer delay",{providedIn:"root",factory:()=>100});let _V=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Ze({type:e});static#n=this.\u0275inj=Ye({})}return e})(),CV=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Ze({type:e});static#n=this.\u0275inj=Ye({})}return e})();const o4e=[Z6,Df,HH,VH,WH,YH,JH,tV,CV,lV,fV,dV,hV,pV,mV,gV,Bf,_V];let s4e=(()=>{class e{static#e=this.\u0275fac=function(i){return new(i||e)};static#t=this.\u0275mod=Ze({type:e});static#n=this.\u0275inj=Ye({imports:[o4e,Z6,Df,HH,VH,WH,YH,JH,tV,CV,lV,fV,dV,hV,pV,mV,gV,Bf,_V]})}return e})();var NV={prefix:"fas",iconName:"circle-minus",icon:[512,512,["minus-circle"],"f056","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM184 232H328c13.3 0 24 10.7 24 24s-10.7 24-24 24H184c-13.3 0-24-10.7-24-24s10.7-24 24-24z"]},Pz={prefix:"fas",iconName:"eye-slash",icon:[640,512,[],"f070","M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zM223.1 149.5C248.6 126.2 282.7 112 320 112c79.5 0 144 64.5 144 144c0 24.9-6.3 48.3-17.4 68.7L408 294.5c8.4-19.3 10.6-41.4 4.8-63.3c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3c0 10.2-2.4 19.8-6.6 28.3l-90.3-70.8zM373 389.9c-16.4 6.5-34.3 10.1-53 10.1c-79.5 0-144-64.5-144-144c0-6.9 .5-13.6 1.4-20.2L83.1 161.5C60.3 191.2 44 220.8 34.5 243.7c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c47.8 0 89.9-12.9 126.2-32.5L373 389.9z"]},n9={prefix:"fas",iconName:"shield-halved",icon:[512,512,["shield-alt"],"f3ed","M256 0c4.6 0 9.2 1 13.4 2.9L457.7 82.8c22 9.3 38.4 31 38.3 57.2c-.5 99.2-41.3 280.7-213.6 363.2c-16.7 8-36.1 8-52.8 0C57.3 420.7 16.5 239.2 16 140c-.1-26.2 16.3-47.9 38.3-57.2L242.7 2.9C246.8 1 251.4 0 256 0zm0 66.8V444.8C394 378 431.1 230.1 432 141.4L256 66.8l0 0z"]},o9={prefix:"fas",iconName:"screwdriver-wrench",icon:[512,512,["tools"],"f7d9","M78.6 5C69.1-2.4 55.6-1.5 47 7L7 47c-8.5 8.5-9.4 22-2.1 31.6l80 104c4.5 5.9 11.6 9.4 19 9.4h54.1l109 109c-14.7 29-10 65.4 14.3 89.6l112 112c12.5 12.5 32.8 12.5 45.3 0l64-64c12.5-12.5 12.5-32.8 0-45.3l-112-112c-24.2-24.2-60.6-29-89.6-14.3l-109-109V104c0-7.5-3.5-14.5-9.4-19L78.6 5zM19.9 396.1C7.2 408.8 0 426.1 0 444.1C0 481.6 30.4 512 67.9 512c18 0 35.3-7.2 48-19.9L233.7 374.3c-7.8-20.9-9-43.6-3.6-65.1l-61.7-61.7L19.9 396.1zM512 144c0-10.5-1.1-20.7-3.2-30.5c-2.4-11.2-16.1-14.1-24.2-6l-63.9 63.9c-3 3-7.1 4.7-11.3 4.7H352c-8.8 0-16-7.2-16-16V102.6c0-4.2 1.7-8.3 4.7-11.3l63.9-63.9c8.1-8.1 5.2-21.8-6-24.2C388.7 1.1 378.5 0 368 0C288.5 0 224 64.5 224 144l0 .8 85.3 85.3c36-9.1 75.8 .5 104 28.7L429 274.5c49-23 83-72.8 83-130.5zM56 432a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z"]},ZS={prefix:"fas",iconName:"circle",icon:[512,512,[128308,128309,128992,128993,128994,128995,128996,9679,9898,9899,11044,61708,61915],"f111","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512z"]},HL={prefix:"fas",iconName:"download",icon:[512,512,[],"f019","M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32V274.7l-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7V32zM64 352c-35.3 0-64 28.7-64 64v32c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V416c0-35.3-28.7-64-64-64H346.5l-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352H64zm368 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"]},D9={prefix:"fas",iconName:"rotate",icon:[512,512,[128260,"sync-alt"],"f2f1","M142.9 142.9c62.2-62.2 162.7-62.5 225.3-1L327 183c-6.9 6.9-8.9 17.2-5.2 26.2s12.5 14.8 22.2 14.8H463.5c0 0 0 0 0 0H472c13.3 0 24-10.7 24-24V72c0-9.7-5.8-18.5-14.8-22.2s-19.3-1.7-26.2 5.2L413.4 96.6c-87.6-86.5-228.7-86.2-315.8 1C73.2 122 55.6 150.7 44.8 181.4c-5.9 16.7 2.9 34.9 19.5 40.8s34.9-2.9 40.8-19.5c7.7-21.8 20.2-42.3 37.8-59.8zM16 312v7.6 .7V440c0 9.7 5.8 18.5 14.8 22.2s19.3 1.7 26.2-5.2l41.6-41.6c87.6 86.5 228.7 86.2 315.8-1c24.4-24.4 42.1-53.1 52.9-83.7c5.9-16.7-2.9-34.9-19.5-40.8s-34.9 2.9-40.8 19.5c-7.7 21.8-20.2 42.3-37.8 59.8c-62.2 62.2-162.7 62.5-225.3 1L185 329c6.9-6.9 8.9-17.2 5.2-26.2s-12.5-14.8-22.2-14.8H48.4h-.7H40c-13.3 0-24 10.7-24 24z"]},aE={prefix:"fas",iconName:"circle-plus",icon:[512,512,["plus-circle"],"f055","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM232 344V280H168c-13.3 0-24-10.7-24-24s10.7-24 24-24h64V168c0-13.3 10.7-24 24-24s24 10.7 24 24v64h64c13.3 0 24 10.7 24 24s-10.7 24-24 24H280v64c0 13.3-10.7 24-24 24s-24-10.7-24-24z"]},k9={prefix:"fas",iconName:"video",icon:[576,512,["video-camera"],"f03d","M0 128C0 92.7 28.7 64 64 64H320c35.3 0 64 28.7 64 64V384c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V128zM559.1 99.8c10.4 5.6 16.9 16.4 16.9 28.2V384c0 11.8-6.5 22.6-16.9 28.2s-23 5-32.9-1.6l-96-64L416 337.1V320 192 174.9l14.2-9.5 96-64c9.8-6.5 22.4-7.2 32.9-1.6z"]};function Lbe(e){switch(e){case 0:return"homebase2_large.jpg";case 1:case 4:return"eufycam_large.jpg";case 2:return"sensor_large.jpg";case 3:case 37:case 39:return"floodlight_large.jpg";case 5:case 7:case 16:case 91:return"batterydoorbell2k_large.jpg";case 8:return"eufycam2c_large.jpg";case 9:case 14:case 15:return"eufycam2_large.jpg";case 10:return"motionsensor_large.jpg";case 11:return"keypad_large.jpg";case 18:return"homebase3_large.jpg";case 19:return"eufycam3_large.jpg";case 23:return"eufycam3c_large.jpg";case 24:return"eufycame330_large.jpg";case 25:return"minibase_chime_T8023_large.jpg";case 30:return"indoorcamc120_large.png";case 100:return"indoorcammini_large.jpg";case 31:case 35:return"indoorcamp24_large.jpg";case 32:case 33:return"solocame20_large.jpg";case 34:return"soloindoorcamc24_large.jpg";case 38:return"floodlight2pro_large.jpg";case 44:case 46:return"solooutdoorcamc22_large.jpg";case 45:case 60:case 61:case 62:return"solooutdoorcamc24_large.jpg";case 47:return"floodlightcame340_large.jpg";case 48:return"solocams340_large.jpg";case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 58:case 180:case 184:return"smartlock_t8500_large.jpg";case 63:return"solocams220_large.jpg";case 64:return"solocamc210_large.jpg";case 90:return"smartdrop_t8790_large.jpg";case 93:return"wireddoorbelldual_large.jpg";case 94:return"batterydoorbell_e340_large.jpg";case 104:return"indoorcams350_large.jpg";case 101:case 102:case 110:case 131:case 132:case 133:return"garage_camera_t8452_large.jpg";case 140:case 142:case 143:return"smartsafe_s10_t7400_large.jpg";case 141:return"smartsafe_s12_t7401_large.jpg";case 151:return"walllight_s100_large.jpg";case 10005:return"walllight_s120_large.jpg";case 157:return"smarttrack_link_t87B0_large.jpg";case 159:return"smarttrack_card_t87B2_large.jpg";default:return"unknown.png"}}const xbe=new Map([0,1,2,3,4,5,7,8,9,10,11,14,15,16,18,19,23,24,25,30,31,32,33,34,35,37,38,39,44,45,46,47,48,50,51,52,53,54,55,56,57,58,60,61,62,63,64,90,91,93,94,100,101,102,104,110,131,132,133,140,141,142,143,151,157,159,180,184,10005].map(e=>[e,{image:Lbe(e)}]));let e1=(()=>{class e extends EventTarget{stations=[];accessories$=new d1(t=>{const i=r=>t.next(r);return window.homebridge.addEventListener("addAccessory",i),()=>{window.homebridge.removeEventListener("addAccessory",i)}});config;constructor(){super(),this.init()}init(){this.accessories$.subscribe(t=>{this.stations=t.data}),this.loadStoredAccessories()}getStations(){return this.stations}getStation(t){return this.stations.find(i=>i.uniqueId===t)}getDevice(t){for(const i of this.stations)if(i.devices){const r=i.devices.find(a=>a.uniqueId===t);if(r)return r}}loadStoredAccessories(){var t=this;return ee(function*(){try{const i=yield window.homebridge.request("/storedAccessories");return i.forEach(r=>{t.addAccessory(r)}),0!==i.length&&t.dispatchEvent(new Event("newAccessories")),Promise.resolve(0!==i.length)}catch(i){return Promise.reject(i)}})()}addAccessory(t){this.stations.find(i=>i.uniqueId===t.uniqueId)||this.stations.push(t)}getConfig(){var t=this;return ee(function*(){return t.config?Promise.resolve(t.config):t.getPlatformConfig()})()}updateConfig(t,i){var r=this;return ee(function*(){try{yield window.homebridge.updatePluginConfig([t]),r.config=t,i&&(yield window.homebridge.savePluginConfig()),r.dispatchEvent(new Event("configChanged"))}catch(a){console.log("There was an error updating the credentials in your config: "+a)}})()}getPlatformConfig(){var t=this;return ee(function*(){try{const i=yield window.homebridge.getPluginConfig();return i.length>0?(t.config=i[0],t.config.platform="EufySecurity",Promise.resolve(i[0])):Promise.reject("Could not get Platform config")}catch(i){return Promise.reject(i)}})()}static \u0275fac=function(i){return new(i||e)};static \u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const R9=()=>[];function Ebe(e,n){if(1&e){const t=w1();m(0,"div",2)(1,"h4",3),M(2,"Refresh stations and devices"),v(),m(3,"button",4),R("click",function(){return we(be(t).$implicit.dismiss("Cross click"))}),v()(),m(4,"div",5)(5,"div",6),M(6," To refresh all stations and devices you will be logged into your eufy account. This can interfere with the plugins connection to the eufy cloud. "),k(7,"p"),m(8,"b",7),M(9,"We strongly recommened that you restart the plugin after you're done with the configuration even if you didn't change any settings."),v(),k(10,"p"),M(11," Otherwise you might experience glitches like no longer working push notifications for the plugin (see "),m(12,"a",8),M(13,"here"),v(),M(14," for more information). "),v()(),m(15,"div",9)(16,"a",10),R("click",function(){return we(be(t).$implicit.close("Login"))}),M(17,"Login with eufy"),v()()}}function Tbe(e,n){if(1&e){const t=w1();m(0,"div",11)(1,"div",12)(2,"div",13)(3,"button",14),R("click",function(){be(t);const r=O(),a=v2(1);return we(r.openReloadModal(a))}),k(4,"fa-icon",15),v()(),m(5,"div",16)(6,"a",17),M(7,"Plugin Settings"),v()()(),m(8,"div",18),k(9,"div",19),m(10,"div",20)(11,"div",21)(12,"div",22),M(13," Loading Accessories... "),m(14,"div",23),k(15,"div",24),v()()()(),k(16,"div",19),v()()}if(2&e){const t=O();C(4),V("icon",t.reloadIcon)}}function Ibe(e,n){if(1&e){const t=w1();m(0,"div"),k(1,"p"),m(2,"ngb-alert",30)(3,"a",31),R("click",function(){be(t);const r=O(2),a=v2(1);return we(r.openReloadModal(a))})("keydown.enter",function(){be(t);const r=O(2),a=v2(1);return we(r.openReloadModal(a))}),M(4,"Plugin has been updated, please refresh and reboot the plugin."),v()(),k(5,"p"),v()}2&e&&(C(2),V("dismissible",!1))}function Abe(e,n){if(1&e&&(m(0,"div",41)(1,"div",42),M(2),v(),m(3,"div",43)(4,"span",44)(5,"button",45),k(6,"fa-icon",15),v()()()()),2&e){const t=O().$implicit,i=O(3);v4("routerLink","/cameraConfig/",t.uniqueId,""),C(),ua("text-decoration",t.devices&&t.devices[0].ignored?"line-through":"none"),C(),wt(" ",t.displayName,""),C(3),v4("routerLink","/stationConfig/",t.uniqueId,""),C(),V("icon",i.shieldIcon)}}function kbe(e,n){if(1&e&&(m(0,"button",46)(1,"div",42),M(2),v(),m(3,"div",43)(4,"span",44)(5,"button",45),k(6,"fa-icon",15),v()()()()),2&e){const t=O().$implicit,i=O(3);C(),ua("text-decoration",t.ignored?"line-through":"none"),C(),wt(" ",t.displayName,""),C(3),v4("routerLink","/stationConfig/",t.uniqueId,""),C(),V("icon",i.shieldIcon)}}function Rbe(e,n){if(1&e&&(m(0,"span",60),k(1,"fa-icon",61),v()),2&e){const t=O(7);C(),V("icon",t.ignoreIcon)}}function Obe(e,n){if(1&e&&(m(0,"div",49)(1,"div",50)(2,"div",51)(3,"a",52)(4,"div",53),k(5,"img",54),m(6,"span",55),k(7,"fa-icon",56),v(),j(8,Rbe,2,1,"span",57),v()()()(),m(9,"span",58),M(10),v(),m(11,"span",59),M(12),v()()),2&e){let t;const i=n.$implicit,r=O(6);C(3),v4("routerLink","/cameraConfig/",i.uniqueId,""),C(2),ua("opacity",!0===i.ignored?.5:1),x5("alt",i.displayName),V("src","assets/devices/"+(r.DeviceImage.get(i.type)?null==(t=r.DeviceImage.get(i.type))?null:t.image:"unknown.png"),Pr),C(2),V("icon",r.settingsIcon),C(),V("ngIf",i.ignored),C(2),Ot(i.displayName),C(2),yc("(",i.type," - ",i.uniqueId,")")}}function Pbe(e,n){if(1&e&&(m(0,"div",12),j(1,Obe,13,11,"div",48),v()),2&e){const t=O(2).$implicit;C(),V("ngForOf",t.devices)}}function Fbe(e,n){1&e&&(m(0,"div",47),j(1,Pbe,2,1,"ng-template"),v())}function Bbe(e,n){if(1&e&&(m(0,"div",35)(1,"div",36),j(2,Abe,7,8,"div",37)(3,kbe,7,6,"button",38),v(),m(4,"div",39),j(5,Fbe,2,0,"div",40),v()()),2&e){let t,i,r;const a=n.$implicit;v4("ngbAccordionItem","S_",a.uniqueId,""),C(2),V("ngIf",a&&(null!==(t=a.devices)&&void 0!==t?t:bc(5,R9))[0].uniqueId===a.uniqueId),C(),V("ngIf",a&&(null!==(i=a.devices)&&void 0!==i?i:bc(6,R9))[0].uniqueId!==a.uniqueId),C(2),V("ngIf",a&&(null!==(r=a.devices)&&void 0!==r?r:bc(7,R9))[0].uniqueId!==a.uniqueId)}}function Ube(e,n){if(1&e&&(m(0,"div"),k(1,"p"),m(2,"span"),M(3,"Click the name to reveal the attached device(s) or access camera configuration. The shield icon allows you to configure alarm settings."),v(),k(4,"p"),m(5,"div",32),j(6,Bbe,6,8,"div",33),v(),k(7,"p"),m(8,"span")(9,"i"),M(10,"The images used above are 'best effort' for now, since we do not own every eufy device. If you experience that your device is depicted with a wrong image please feel free to let us know in an issue on our "),m(11,"a",34),M(12,"Github page."),v()()()()),2&e){const t=O(2);C(5),V("closeOthers",!0),C(),V("ngForOf",t.stations)}}function jbe(e,n){if(1&e){const t=w1();m(0,"div",11)(1,"div",25)(2,"button",26),R("click",function(){be(t);const r=O(),a=v2(1);return we(r.openReloadModal(a))})("keydown.enter",function(){be(t);const r=O(),a=v2(1);return we(r.openReloadModal(a))}),k(3,"fa-icon",15),v(),m(4,"button",27),k(5,"fa-icon",15),v(),m(6,"button",28),k(7,"fa-icon",15),v()(),j(8,Ibe,6,1,"div",29)(9,Ube,13,2,"div",29),v()}if(2&e){const t=O();C(3),V("icon",t.reloadIcon),C(2),V("icon",t.downloadIcon),C(2),V("icon",t.settingsIcon),C(),V("ngIf",t.versionUnmatched),C(),V("ngIf",!t.versionUnmatched)}}let Gbe=(()=>{class e{modalService;pluginService;route;routerService;stations=[];versionUnmatched=!1;waitForAccessories;settingsIcon=o9;ignoreIcon=Pz;reloadIcon=D9;videoIcon=k9;shieldIcon=n9;downloadIcon=HL;DeviceImage=xbe;closeResult="";constructor(t,i,r,a){this.modalService=t,this.pluginService=i,this.route=r,this.routerService=a}ngOnInit(){var t=this;return ee(function*(){t.waitForAccessories="true"===t.route.snapshot.paramMap.get("waitForAccessories"),window.homebridge.addEventListener("versionUnmatched",i=>{console.log(`Stored version (${i.data.storedVersion}) does not match current version (${i.data.currentVersion})`),t.versionUnmatched=!0}),t.pluginService.addEventListener("newAccessories",ee(function*(){console.log("plugin accessories have changed. updating..."),yield t.updateStations()})),yield t.updateStations(),!t.waitForAccessories&&0===t.stations.length&&t.pluginService.loadStoredAccessories().then(i=>{i||t.routerService.navigateByUrl("/login")}).catch(()=>{t.routerService.navigateByUrl("/login")})})()}updateStations(){var t=this;return ee(function*(){const{ignoreStations:i=[],ignoreDevices:r=[]}=yield t.pluginService.getConfig();t.stations=t.pluginService.getStations()??[],t.stations.forEach(a=>{a.ignored=i.includes(a.uniqueId),a.devices?.forEach(o=>{o.ignored=r.includes(o.uniqueId)})})})()}openReloadModal(t){this.modalService.open(t,{ariaLabelledBy:"modal-basic-title",centered:!0}).result.then(i=>{this.closeResult=`Closed with: ${i}`},i=>{this.closeResult=`Dismissed ${this.getDismissReason(i)}`})}getDismissReason(t){return t===zo.ESC?"by pressing ESC":t===zo.BACKDROP_CLICK?"by clicking on a backdrop":`with: ${t}`}static \u0275fac=function(i){return new(i||e)(E(ZH),E(e1),E(Wn),E(O2))};static \u0275cmp=oe({type:e,selectors:[["app-accessory-list"]],inputs:{waitForAccessories:"waitForAccessories"},standalone:!0,features:[se],decls:4,vars:2,consts:[["reloadModal",""],["class","container",4,"ngIf"],[1,"modal-header"],["id","modal-basic-title",1,"modal-title"],["type","button","aria-label","Close",1,"btn-close",3,"click"],[1,"modal-body"],[1,"mb-3"],[2,"color","#dc3545"],["href","https://github.com/homebridge-eufy-security/plugin/issues/59#issuecomment-1147314942","target","_blank","rel","noopener noreferrer"],[1,"modal-footer"],["routerLink","/login",1,"btn","btn-success",3,"click"],[1,"container"],[1,"row"],[1,"col-6"],["type","button",1,"btn","btn-success",3,"click"],["size","lg",3,"icon"],[1,"col-6","text-end"],["routerLink","/advancedConfig",1,"btn","btn-secondary"],[1,"row","pl-5","pr-5"],[1,"col",2,"max-width","20%"],[1,"col","d-flex","justify-content-center"],[1,"card","shadow-sm","text-center","pt-3","pb-3",2,"width","100%"],[1,"mx-auto"],[1,"progress",2,"height","8px"],["role","progressbar","aria-valuenow","75","aria-valuemin","0","aria-valuemax","100",1,"progress-bar","progress-bar-striped","bg-info","progress-bar-animated",2,"width","75%"],[1,"text-end"],["type","button","placement","top","ngbTooltip","Re Sync",1,"btn","btn-success",3,"click","keydown.enter"],["type","button","placement","top","ngbTooltip","Download Logs","routerLink","/downloadLogs",1,"btn","btn-warning"],["type","button","placement","top","ngbTooltip","Global Settings","routerLink","/advancedConfig",1,"btn","btn-danger"],[4,"ngIf"],["type","warning",3,"dismissible"],["tabindex","0",3,"click","keydown.enter"],["ngbAccordion","",3,"closeOthers"],[3,"ngbAccordionItem",4,"ngFor","ngForOf"],["href","https://github.com/homebridge-eufy-security/plugin","target","_blank","rel","noopener noreferrer"],[3,"ngbAccordionItem"],["ngbAccordionHeader",""],["ngbAccordionButton","","class","row m-0 accordion-button2",3,"routerLink",4,"ngIf"],["ngbAccordionButton","","class","row m-0",4,"ngIf"],["ngbAccordionCollapse",""],["ngbAccordionBody","",4,"ngIf"],["ngbAccordionButton","",1,"row","m-0","accordion-button2",3,"routerLink"],[1,"col-8"],[1,"col"],[1,"float-right"],["type","button","placement","top","ngbTooltip","Alarm configuration",1,"btn","text-muted","my-0","mx-1",3,"routerLink"],["ngbAccordionButton","",1,"row","m-0"],["ngbAccordionBody",""],["class","col-6 col-sm-4 mt-3 mb-3 d-flex flex-column align-items-center",4,"ngFor","ngForOf"],[1,"col-6","col-sm-4","mt-3","mb-3","d-flex","flex-column","align-items-center"],[1,"col-12","col-sm-7"],[1,"text-center"],[2,"color","black",3,"routerLink"],[1,"device","ratio","ratio-1x1","border","rounded","shadow-sm"],[1,"deviceimage",2,"padding","20px",3,"src","alt"],[1,"devicesettingsicon","d-flex","border","align-items-center","justify-content-center",2,"z-index","15"],["size","2x",3,"icon"],["class","d-flex border align-items-top justify-content-end","style","z-index: 20;",4,"ngIf"],[1,"col-12","text-center"],[1,"col-12","serial","fw-light","text-center"],[1,"d-flex","border","align-items-top","justify-content-end",2,"z-index","20"],["size","xs",1,"mt-sm-1","m-sm-2","m-1","mt-0",3,"icon"]],template:function(i,r){1&i&&j(0,Ebe,18,0,"ng-template",null,0,Q2)(2,Tbe,17,1,"div",1)(3,jbe,10,5,"div",1),2&i&&(C(2),V("ngIf",0===r.stations.length),C(),V("ngIf",0!==r.stations.length))},dependencies:[jt,Z2,qb,Zc,Z6,Hf,bo,e4,Vf,wf,Q6,Df,zf,Bf,vV],styles:[".device[_ngcontent-%COMP%]:hover{transform:scale(1.05);border-color:#ffc107!important;color:#ffc107}.device[_ngcontent-%COMP%]{background-color:#fff!important;color:#000!important}.device[_ngcontent-%COMP%]:hover .deviceimage[_ngcontent-%COMP%]{opacity:.5}.device[_ngcontent-%COMP%] .devicesettingsicon[_ngcontent-%COMP%]{display:none!important}.device[_ngcontent-%COMP%]:hover .devicesettingsicon[_ngcontent-%COMP%]{display:flex!important;color:#ffa000!important}.serial[_ngcontent-%COMP%]{font-size:12px}",".accordion-button[_ngcontent-%COMP%]:before{flex-shrink:0;width:var(--bs-accordion-btn-icon-width);height:var(--bs-accordion-btn-icon-width);margin-right:var(--bs-accordion-btn-icon-width);content:\"\";background-image:var(--bs-accordion-btn-active-icon);background-repeat:no-repeat;background-size:var(--bs-accordion-btn-icon-width);transition:var(--bs-accordion-btn-icon-transition)}.accordion-button[_ngcontent-%COMP%]:not(.collapsed):before{background-image:var(--bs-accordion-btn-active-icon);transform:var(--bs-accordion-btn-icon-transform)}.accordion-button[_ngcontent-%COMP%]:after{display:none!important}.serial[_ngcontent-%COMP%]{filter:blur(5px)}.serial[_ngcontent-%COMP%]:hover{filter:none}.my-custom-header[_ngcontent-%COMP%]:after{content:none}.accordion-button2[_ngcontent-%COMP%]{position:relative;cursor:pointer;display:flex;align-items:center;width:100%;padding:var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);font-size:1rem;color:var(--bs-accordion-btn-color);text-align:left;background-color:var(--bs-accordion-btn-bg);border:0;border-radius:0;overflow-anchor:none;transition:var(--bs-accordion-transition)}.accordion-button2[_ngcontent-%COMP%]:before{flex-shrink:0;width:var(--bs-accordion-btn-icon-width);height:var(--bs-accordion-btn-icon-width);margin-right:var(--bs-accordion-btn-icon-width);content:\"\";background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-box-arrow-up-right' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8.636 3.5a.5.5 0 0 0-.5-.5H1.5A1.5 1.5 0 0 0 0 4.5v10A1.5 1.5 0 0 0 1.5 16h10a1.5 1.5 0 0 0 1.5-1.5V7.864a.5.5 0 0 0-1 0V14.5a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h6.636a.5.5 0 0 0 .5-.5'/%3E%3Cpath fill-rule='evenodd' d='M16 .5a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0 0 1h3.793L6.146 9.146a.5.5 0 1 0 .708.708L15 1.707V5.5a.5.5 0 0 0 1 0z'/%3E%3C/svg%3E\");background-repeat:no-repeat;background-size:var(--bs-accordion-btn-icon-width);transition:var(--bs-accordion-btn-icon-transition)}"]})}return e})(),$be=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275cmp=oe({type:e,selectors:[["app-reset-plugin"]],standalone:!0,features:[se],decls:9,vars:0,consts:[[1,"settingsItem","row","p-3"],[1,"d-flex","flex-column","flex-sm-row","justify-content-between","align-items-center","mb-2"],[1,"mb-3","mb-sm-0"],["routerLink","/reset",1,"btn","btn-danger","col-12","col-sm-4"]],template:function(i,r){1&i&&(m(0,"div",0)(1,"div",1)(2,"span",2),M(3,"Reset Plugin"),v(),m(4,"a",3),M(5,"Remove everything"),v()(),m(6,"small")(7,"i"),M(8," This will delete the plugin settings and files. Please be aware that this will not delete any cached accessories from homebridge. You'll have to remove these manually via the homebridge UI. "),v()()())},dependencies:[jt],encapsulation:2})}return e})();var Wbe=C1(838);function qbe(e,n){if(1&e&&(m(0,"div",7),M(1),v()),2&e){const t=O();C(),wt(" ",t.failureMessage," ")}}function Ybe(e,n){1&e&&k(0,"span",10)}function Kbe(e,n){1&e&&(m(0,"span"),M(1,"Download Logs"),v())}function Qbe(e,n){1&e&&(m(0,"span"),M(1," Generating Log File..."),v())}function Zbe(e,n){if(1&e){const t=w1();m(0,"button",8),R("click",function(){return be(t),we(O().downloadLogs())}),j(1,Ybe,1,0,"span",9)(2,Kbe,2,0,"span",6)(3,Qbe,2,0,"span",6),v()}if(2&e){const t=O();W("disabled",!!t.isDownloading||null),C(),V("ngIf",t.isDownloading),C(),V("ngIf",!t.isDownloading),C(),V("ngIf",t.isDownloading)}}function Jbe(e,n){if(1&e){const t=w1();m(0,"a",11),R("click",function(){return be(t),we(O().openLink())})("keydown.enter",function(){return be(t),we(O().openLink())}),m(1,"span"),M(2,"Download Logs"),v()()}}function Xbe(e,n){if(1&e&&(m(0,"small")(1,"i"),M(2),v()()),2&e){const t=O();C(2),wt(" ",t.downloadMessage," ")}}function ewe(e,n){1&e&&(m(0,"small")(1,"i"),M(2," The log file should have downloaded. If not click the button again. The file will be named 'Unknown.zip', due to technical reasons."),k(3,"br"),m(4,"b"),M(5,"Please make sure that you have pop-ups allowed for this site. If you're not sure, maybe this "),m(6,"a",12),M(7,"site"),v(),M(8," can help."),v()()())}let YE=(()=>{class e{router;zone;routeSub;constructor(t,i){this.router=t,this.zone=i}ngOnInit(){this.routeSub=this.router.events.subscribe(t=>{t instanceof ja&&""!==this.logFileLocation&&(console.log("revoke log zip file blob location url."),window.URL.revokeObjectURL(this.logFileLocation),this.logFileLocation="")}),window.homebridge.addEventListener("downloadLogsFileCount",t=>{this.updateDownloadMessage(`Compressing ${t.data.numberOfFiles} log files...`)})}failed=!1;isDownloading=!1;hasDownloaded=!1;downloadMessage;failureMessage="";logFileLocation="";downloadLogs(){var t=this;return ee(function*(){try{t.isDownloading=!0;const i=yield window.homebridge.request("/downloadLogs"),r=Wbe.hp.from(i.data),a=new File([r],"logs.zip",{type:"application/zip"}),o=window.URL.createObjectURL(a);t.logFileLocation=o,window.open(t.logFileLocation),t.updateDownloadMessage(void 0),t.hasDownloaded=!0}catch(i){console.log(i);const r=i;t.failed=!0,t.updateDownloadMessage(void 0),t.failureMessage=`Generating of compressed logs.zip file did not complete: ${r.message}`}finally{t.isDownloading=!1}})()}openLink(){window.open(this.logFileLocation)}updateDownloadMessage(t){this.zone.run(()=>{this.downloadMessage=t})}static \u0275fac=function(i){return new(i||e)(E(O2),E(ve))};static \u0275cmp=oe({type:e,selectors:[["app-download-logs"]],standalone:!0,features:[se],decls:9,vars:5,consts:[[1,"settingsItem","row","p-3"],["class","alert alert-danger","role","alert",4,"ngIf"],[1,"d-flex","flex-column","flex-sm-row","justify-content-between","align-items-center","mb-2"],[1,"mb-3","mb-sm-0"],["type","button","class","btn btn-secondary col-12 col-sm-4",3,"click",4,"ngIf"],["tabindex","0","class","btn btn-success col-12 col-sm-4",3,"click","keydown.enter",4,"ngIf"],[4,"ngIf"],["role","alert",1,"alert","alert-danger"],["type","button",1,"btn","btn-secondary","col-12","col-sm-4",3,"click"],["class","spinner-border spinner-border-sm","role","status","aria-hidden","true",4,"ngIf"],["role","status","aria-hidden","true",1,"spinner-border","spinner-border-sm"],["tabindex","0",1,"btn","btn-success","col-12","col-sm-4",3,"click","keydown.enter"],["href","https://www.howtogeek.com/773082/how-to-disable-pop-up-blocker-in-chrome-firefox-edge-safari/","target","_blank","rel","noopener noreferrer"]],template:function(i,r){1&i&&(m(0,"div",0),j(1,qbe,2,1,"div",1),m(2,"div",2)(3,"span",3),M(4,"Download Logs"),v(),j(5,Zbe,4,4,"button",4)(6,Jbe,3,0,"a",5),v(),j(7,Xbe,3,1,"small",6)(8,ewe,9,0,"small",6),v()),2&i&&(C(),V("ngIf",r.failed),C(4),V("ngIf",!r.hasDownloaded),C(),V("ngIf",r.hasDownloaded),C(),V("ngIf",r.downloadMessage),C(),V("ngIf",r.hasDownloaded))},dependencies:[Z2],encapsulation:2})}return e})();const t4={platform:"EufySecurity",username:"",password:"",deviceName:"MyPhone",enableDetailedLogging:!1,omitLogFiles:!1,CameraMaxLivestreamDuration:30,pollingIntervalMinutes:10,hkHome:1,hkAway:0,hkNight:3,hkOff:63,ignoreStations:[],ignoreDevices:[],country:"US",stations:[],cameras:[],cleanCache:!0,ignoreMultipleDevicesWarning:!1,autoSyncStation:!1,nodejs_security:!1};class D1{pluginService;config;constructor(n){this.pluginService=n,this.config=t4,this.pluginService.getConfig().then(t=>{this.config={...this.config,...t}}).catch(t=>console.log("Could not get config in config interpreter: "+t))}getCameraConfig(n){var t=this;return ee(function*(){const i=yield t.pluginService.getConfig();if(Array.isArray(i.cameras))return i.cameras.find(r=>r.serialNumber===n)||void 0})()}getStationConfig(n){var t=this;return ee(function*(){const i=yield t.pluginService.getConfig();if(Array.isArray(i.stations))return i.stations.find(r=>r.serialNumber===n)||void 0})()}updateConfig(n){var t=this;return ee(function*(){let i=yield t.pluginService.getConfig();i={...t4,...i,...n},t.pluginService.updateConfig(i)})()}updateStationConfig(n,t){var i=this;return ee(function*(){const r=yield i.pluginService.getConfig();Array.isArray(r.stations)||(r.stations=[]);const a=r.stations.findIndex(o=>o.serialNumber===t.uniqueId);a>=0?r.stations[a]={...r.stations[a],...n}:r.stations.push({serialNumber:t.uniqueId,...n}),i.pluginService.updateConfig(r)})()}updateDeviceConfig(n,t){var i=this;return ee(function*(){const r=yield i.pluginService.getConfig();Array.isArray(r.cameras)||(r.cameras=[]);const a=r.cameras.findIndex(o=>o.serialNumber===t.uniqueId);a>=0?r.cameras[a]={...r.cameras[a],...n}:r.cameras.push({serialNumber:t.uniqueId,...n}),i.pluginService.updateConfig(r)})()}}function twe(e,n){1&e&&(m(0,"span"),M(1,"These settings will only apply for this station. The global mappings can be found in the plugin settings."),v())}function nwe(e,n){1&e&&(m(0,"option",6),M(1,"Use global setting"),v()),2&e&&V("ngValue",void 0)}function iwe(e,n){1&e&&(m(0,"option",6),M(1,"Use global setting"),v()),2&e&&V("ngValue",void 0)}function rwe(e,n){1&e&&(m(0,"option",6),M(1,"Use global setting"),v()),2&e&&V("ngValue",void 0)}function awe(e,n){1&e&&(m(0,"option",6),M(1,"Use global setting"),v()),2&e&&V("ngValue",void 0)}let KE=(()=>{class e extends D1{constructor(t){super(t)}ngOnInit(){this.readValue()}station;hkHome=void 0;hkAway=void 0;hkNight=void 0;hkOff=void 0;readValue(){var t=this;return ee(function*(){const i=t.station?yield t.getStationConfig(t.station.uniqueId):yield t.pluginService.getConfig();i&&Object.prototype.hasOwnProperty.call(i,"hkHome")?t.hkHome=i.hkHome:t.station||(t.hkHome=t4.hkHome),i&&Object.prototype.hasOwnProperty.call(i,"hkAway")?t.hkAway=i.hkAway:t.station||(t.hkAway=t4.hkAway),i&&Object.prototype.hasOwnProperty.call(i,"hkNight")?t.hkNight=i.hkNight:t.station||(t.hkNight=t4.hkNight),i&&Object.prototype.hasOwnProperty.call(i,"hkOff")?t.hkOff=i.hkOff:t.station||(t.hkOff=t4.hkOff)})()}update(){var t=this;return ee(function*(){let i=t.station?yield t.getStationConfig(t.station.uniqueId):yield t.pluginService.getConfig();void 0===i&&(i={}),void 0===t.hkHome&&Object.prototype.hasOwnProperty.call(i,"hkHome")?delete i.hkHome:i.hkHome=t.hkHome,void 0===t.hkAway&&Object.prototype.hasOwnProperty.call(i,"hkAway")?delete i.hkAway:i.hkAway=t.hkAway,void 0===t.hkNight&&Object.prototype.hasOwnProperty.call(i,"hkNight")?delete i.hkNight:i.hkNight=t.hkNight,void 0===t.hkOff&&Object.prototype.hasOwnProperty.call(i,"hkOff")?delete i.hkOff:i.hkOff=t.hkOff;let r=yield t.pluginService.getConfig();if(t.station){Array.isArray(r.stations)||(r.stations=[]);let a=-1;r.stations.forEach((o,s)=>{o.serialNumber===t.station?.uniqueId&&(a=s)}),a>=0?r.stations[a]=i:(i.serialNumber=t.station.uniqueId,r.stations.push(i))}else r=i;t.pluginService.updateConfig(r)})()}static \u0275fac=function(i){return new(i||e)(E(e1))};static \u0275cmp=oe({type:e,selectors:[["app-guard-modes-mapping"]],inputs:{station:"station"},standalone:!0,features:[X,se],decls:90,vars:41,consts:[[1,"settingsItem","row","p-3"],[4,"ngIf"],[1,"input-group","mb-1"],["for","inputGroupSelect01",1,"input-group-text","w-25"],["id","inputGroupSelect01",1,"form-select",3,"ngModelChange","change","ngModel"],[3,"ngValue",4,"ngIf"],[3,"ngValue"],["for","inputGroupSelect02",1,"input-group-text","w-25"],["id","inputGroupSelect02",1,"form-select",3,"ngModelChange","change","ngModel"],["for","inputGroupSelect03",1,"input-group-text","w-25"],["id","inputGroupSelect03",1,"form-select",3,"ngModelChange","change","ngModel"],["for","inputGroupSelect04",1,"input-group-text","w-25"],["id","inputGroupSelect04",1,"form-select",3,"ngModelChange","change","ngModel"]],template:function(i,r){1&i&&(m(0,"div",0)(1,"span"),M(2,"Change how each mode in the HomeKit security system is mapped to the modes in the Eufy App."),v(),k(3,"p"),j(4,twe,2,0,"span",1),k(5,"p"),m(6,"div",2)(7,"label",3),M(8,"HomeKit Home"),v(),m(9,"select",4),fe("ngModelChange",function(o){return he(r.hkHome,o)||(r.hkHome=o),o}),R("change",function(){return r.update()}),j(10,nwe,2,1,"option",5),m(11,"option",6),M(12,"Eufy Home"),v(),m(13,"option",6),M(14,"Eufy Away"),v(),m(15,"option",6),M(16,"Eufy Schedule"),v(),m(17,"option",6),M(18,"Eufy Custom 1 (Night)"),v(),m(19,"option",6),M(20,"Eufy Custom 2"),v(),m(21,"option",6),M(22,"Eufy Custom 3"),v(),m(23,"option",6),M(24,"Eufy Geofencing"),v(),m(25,"option",6),M(26,"Eufy Disarmed"),v()()(),m(27,"div",2)(28,"label",7),M(29,"HomeKit Away"),v(),m(30,"select",8),fe("ngModelChange",function(o){return he(r.hkAway,o)||(r.hkAway=o),o}),R("change",function(){return r.update()}),j(31,iwe,2,1,"option",5),m(32,"option",6),M(33,"Eufy Home"),v(),m(34,"option",6),M(35,"Eufy Away"),v(),m(36,"option",6),M(37,"Eufy Schedule"),v(),m(38,"option",6),M(39,"Eufy Custom 1 (Night)"),v(),m(40,"option",6),M(41,"Eufy Custom 2"),v(),m(42,"option",6),M(43,"Eufy Custom 3"),v(),m(44,"option",6),M(45,"Eufy Geofencing"),v(),m(46,"option",6),M(47,"Eufy Disarmed"),v()()(),m(48,"div",2)(49,"label",9),M(50,"HomeKit Night"),v(),m(51,"select",10),fe("ngModelChange",function(o){return he(r.hkNight,o)||(r.hkNight=o),o}),R("change",function(){return r.update()}),j(52,rwe,2,1,"option",5),m(53,"option",6),M(54,"Eufy Home"),v(),m(55,"option",6),M(56,"Eufy Away"),v(),m(57,"option",6),M(58,"Eufy Schedule"),v(),m(59,"option",6),M(60,"Eufy Custom 1 (Night)"),v(),m(61,"option",6),M(62,"Eufy Custom 2"),v(),m(63,"option",6),M(64,"Eufy Custom 3"),v(),m(65,"option",6),M(66,"Eufy Geofencing"),v(),m(67,"option",6),M(68,"Eufy Disarmed"),v()()(),m(69,"div",2)(70,"label",11),M(71,"HomeKit Off"),v(),m(72,"select",12),fe("ngModelChange",function(o){return he(r.hkOff,o)||(r.hkOff=o),o}),R("change",function(){return r.update()}),j(73,awe,2,1,"option",5),m(74,"option",6),M(75,"Eufy Home"),v(),m(76,"option",6),M(77,"Eufy Away"),v(),m(78,"option",6),M(79,"Eufy Schedule"),v(),m(80,"option",6),M(81,"Eufy Custom 1 (Night)"),v(),m(82,"option",6),M(83,"Eufy Custom 2"),v(),m(84,"option",6),M(85,"Eufy Custom 3"),v(),m(86,"option",6),M(87,"Eufy Geofencing"),v(),m(88,"option",6),M(89,"Eufy Disarmed"),v()()()()),2&i&&(C(4),V("ngIf",r.station),C(5),ue("ngModel",r.hkHome),C(),V("ngIf",r.station),C(),V("ngValue",1),C(2),V("ngValue",0),C(2),V("ngValue",2),C(2),V("ngValue",3),C(2),V("ngValue",4),C(2),V("ngValue",5),C(2),V("ngValue",47),C(2),V("ngValue",63),C(5),ue("ngModel",r.hkAway),C(),V("ngIf",r.station),C(),V("ngValue",1),C(2),V("ngValue",0),C(2),V("ngValue",2),C(2),V("ngValue",3),C(2),V("ngValue",4),C(2),V("ngValue",5),C(2),V("ngValue",47),C(2),V("ngValue",63),C(5),ue("ngModel",r.hkNight),C(),V("ngIf",r.station),C(),V("ngValue",1),C(2),V("ngValue",0),C(2),V("ngValue",2),C(2),V("ngValue",3),C(2),V("ngValue",4),C(2),V("ngValue",5),C(2),V("ngValue",47),C(2),V("ngValue",63),C(5),ue("ngModel",r.hkOff),C(),V("ngIf",r.station),C(),V("ngValue",1),C(2),V("ngValue",0),C(2),V("ngValue",2),C(2),V("ngValue",3),C(2),V("ngValue",4),C(2),V("ngValue",5),C(2),V("ngValue",47),C(2),V("ngValue",63))},dependencies:[Z2,V1,u3,f3,Jn,H1,_1],encapsulation:2})}return e})(),owe=(()=>{class e extends D1{constructor(t){super(t)}ngOnInit(){this.readValue()}model=!1;readValue(){Object.prototype.hasOwnProperty.call(this.config,"cleanCache")&&(this.model=this.config.cleanCache)}update(){this.updateConfig({cleanCache:this.model})}static \u0275fac=function(i){return new(i||e)(E(e1))};static \u0275cmp=oe({type:e,selectors:[["app-clean-cache"]],standalone:!0,features:[X,se],decls:9,vars:1,consts:[[1,"settingsItem","row","p-3"],[1,"d-flex","justify-content-between","align-items-center","mb-2"],[1,"form-check","form-switch"],["type","checkbox","role","switch","id","flexSwitchCheckDefault",1,"form-check-input",3,"ngModelChange","change","ngModel"]],template:function(i,r){1&i&&(m(0,"div",0)(1,"div",1)(2,"span"),M(3,"Clean cache automatically"),v(),m(4,"div",2)(5,"input",3),fe("ngModelChange",function(o){return he(r.model,o)||(r.model=o),o}),R("change",function(){return r.update()}),v()()(),m(6,"small")(7,"i"),M(8," When enabled, you let the plugin clean accessory when removed from the Eufy app. "),v()()()),2&i&&(C(5),ue("ngModel",r.model))},dependencies:[V1,f2,H1,_1],encapsulation:2})}return e})(),swe=(()=>{class e extends D1{constructor(t){super(t)}ngOnInit(){this.readValue()}value=!1;readValue(){Object.prototype.hasOwnProperty.call(this.config,"omitLogFiles")&&(this.value=this.config.omitLogFiles)}update(){this.updateConfig({omitLogFiles:this.value})}static \u0275fac=function(i){return new(i||e)(E(e1))};static \u0275cmp=oe({type:e,selectors:[["app-omit-log-files"]],standalone:!0,features:[X,se],decls:9,vars:1,consts:[[1,"settingsItem","row","p-3"],[1,"d-flex","justify-content-between","align-items-center","mb-2"],[1,"form-check","form-switch"],["type","checkbox","role","switch","id","flexSwitchCheckDefault",1,"form-check-input",3,"ngModelChange","change","ngModel"]],template:function(i,r){1&i&&(m(0,"div",0)(1,"div",1)(2,"span"),M(3,"Don't store log files"),v(),m(4,"div",2)(5,"input",3),fe("ngModelChange",function(o){return he(r.value,o)||(r.value=o),o}),R("change",function(){return r.update()}),v()()(),m(6,"small")(7,"i"),M(8," This setting prevents log files to be stored to disk. If enabled, log messages will only be written to the Homebridge UI log window. "),v()()()),2&i&&(C(5),ue("ngModel",r.value))},dependencies:[V1,f2,H1,_1],encapsulation:2})}return e})(),cwe=(()=>{class e extends D1{value=t4.ignoreMultipleDevicesWarning;constructor(t){super(t)}ngOnInit(){this.readValue()}readValue(){this.config&&void 0!==this.config.ignoreMultipleDevicesWarning&&(this.value=this.config.ignoreMultipleDevicesWarning)}update(){this.updateConfig({ignoreMultipleDevicesWarning:this.value})}static \u0275fac=function(i){return new(i||e)(E(e1))};static \u0275cmp=oe({type:e,selectors:[["app-ignore-multiple-devices-warning"]],standalone:!0,features:[X,se],decls:9,vars:1,consts:[[1,"settingsItem","row","p-3"],[1,"d-flex","justify-content-between","align-items-center","mb-2"],[1,"form-check","form-switch"],["type","checkbox","role","switch","id","flexSwitchCheckDefault",1,"form-check-input",3,"ngModelChange","change","ngModel"]],template:function(i,r){1&i&&(m(0,"div",0)(1,"div",1)(2,"span"),M(3,"Enable snapshot and HKSV settings for multiple devices on one station."),v(),m(4,"div",2)(5,"input",3),fe("ngModelChange",function(o){return he(r.value,o)||(r.value=o),o}),R("change",function(){return r.update()}),v()()(),m(6,"small")(7,"i"),M(8," Normally it is not encouraged to use live snapshots and the HKSV feature if multiple cameras are connected through one and the same station. These options are therefore disabled by default for these devices. By enabling this setting you'll be able to use these features anyway, but please be aware that this might result in failing streams. "),v()()()),2&i&&(C(5),ue("ngModel",r.value))},dependencies:[V1,f2,H1,_1],encapsulation:2})}return e})(),lwe=(()=>{class e extends D1{constructor(t){super(t)}ngOnInit(){this.readValue()}model=!1;readValue(){Object.prototype.hasOwnProperty.call(this.config,"enableDetailedLogging")&&(this.model=this.config.enableDetailedLogging)}update(){this.updateConfig({enableDetailedLogging:this.model})}static \u0275fac=function(i){return new(i||e)(E(e1))};static \u0275cmp=oe({type:e,selectors:[["app-enable-detailed-logging"]],standalone:!0,features:[X,se],decls:9,vars:1,consts:[[1,"settingsItem","row","p-3"],[1,"d-flex","justify-content-between","align-items-center","mb-2"],[1,"form-check","form-switch"],["type","checkbox","role","switch","id","flexSwitchCheckDefault",1,"form-check-input",3,"ngModelChange","change","ngModel"]],template:function(i,r){1&i&&(m(0,"div",0)(1,"div",1)(2,"span"),M(3,"Debug Mode"),v(),m(4,"div",2)(5,"input",3),fe("ngModelChange",function(o){return he(r.model,o)||(r.model=o),o}),R("change",function(){return r.update()}),v()()(),m(6,"small")(7,"i"),M(8," This will output more information to the homebridge logs. This helps the plugin team to understand what's going on. "),v()()()),2&i&&(C(5),ue("ngModel",r.model))},dependencies:[V1,f2,H1,_1],encapsulation:2})}return e})(),uwe=(()=>{class e extends D1{constructor(t){super(t)}ngOnInit(){this.readValue()}value=30;inputIsInvalid=!1;readValue(){Object.prototype.hasOwnProperty.call(this.config,"CameraMaxLivestreamDuration")&&(this.value=this.config.CameraMaxLivestreamDuration)}update(){this.inputIsInvalid=!1,(!this.value||this.value<0)&&(this.inputIsInvalid=!0),this.inputIsInvalid||this.updateConfig({CameraMaxLivestreamDuration:this.value})}static \u0275fac=function(i){return new(i||e)(E(e1))};static \u0275cmp=oe({type:e,selectors:[["app-livestream-duration-seconds"]],standalone:!0,features:[X,se],decls:13,vars:2,consts:[[1,"settingsItem","row","p-3"],[1,"d-flex","flex-column","flex-sm-row","justify-content-between","align-items-start","align-items-sm-center","mb-2"],[1,"col-12","col-sm-4"],[1,"input-group","input-group-sm"],["type","number","aria-label","Polling interval minutes","aria-describedby","basic-addon2",3,"ngModelChange","change","ngModel"],[1,"input-group-append"],["id","basic-addon2",1,"input-group-text"]],template:function(i,r){1&i&&(m(0,"div",0)(1,"div",1)(2,"span"),M(3,"Maximum Livestream Duration"),v(),m(4,"div",2)(5,"div",3)(6,"input",4),fe("ngModelChange",function(o){return he(r.value,o)||(r.value=o),o}),R("change",function(){return r.update()}),v(),m(7,"div",5)(8,"span",6),M(9,"seconds"),v()()()()(),m(10,"small")(11,"i"),M(12," Time in second before ending the livestream automatically (longer livestreams imply shorter batterylife) "),v()()()),2&i&&(C(6),ue("ngModel",r.value),W("class",r.inputIsInvalid?"form-control text-end is-invalid":"form-control text-end"))},dependencies:[V1,D4,er,H1,_1],encapsulation:2})}return e})(),fwe=(()=>{class e extends D1{constructor(t){super(t)}ngOnInit(){this.readValue()}value=10;inputIsInvalid=!1;readValue(){Object.prototype.hasOwnProperty.call(this.config,"pollingIntervalMinutes")&&(this.value=this.config.pollingIntervalMinutes)}update(){this.inputIsInvalid=!1,(!this.value||this.value<0)&&(this.inputIsInvalid=!0),this.inputIsInvalid||this.updateConfig({pollingIntervalMinutes:this.value})}static \u0275fac=function(i){return new(i||e)(E(e1))};static \u0275cmp=oe({type:e,selectors:[["app-polling-interval-minutes"]],standalone:!0,features:[X,se],decls:13,vars:2,consts:[[1,"settingsItem","row","p-3","pb-0"],[1,"d-flex","flex-column","flex-sm-row","justify-content-between","align-items-start","align-items-sm-center","mb-2"],[1,"col-12","col-sm-4"],[1,"input-group","input-group-sm"],["type","number","aria-label","Polling interval minutes","aria-describedby","basic-addon2",3,"ngModelChange","change","ngModel"],[1,"input-group-append"],["id","basic-addon2",1,"input-group-text"]],template:function(i,r){1&i&&(m(0,"div",0)(1,"div",1)(2,"span"),M(3,"Polling Interval"),v(),m(4,"div",2)(5,"div",3)(6,"input",4),fe("ngModelChange",function(o){return he(r.value,o)||(r.value=o),o}),R("change",function(){return r.update()}),v(),m(7,"div",5)(8,"span",6),M(9,"minutes"),v()()()()(),m(10,"small")(11,"i"),M(12," Time in minutes before polling the eufy cloud for updated device information (set to 0 for no polling). "),v()()()),2&i&&(C(6),ue("ngModel",r.value),W("class",r.inputIsInvalid?"form-control text-end is-invalid":"form-control text-end"))},dependencies:[V1,D4,er,H1,_1],encapsulation:2})}return e})(),dwe=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275cmp=oe({type:e,selectors:[["app-edit-credentials"]],standalone:!0,features:[se],decls:6,vars:0,consts:[[1,"settingsItem","row","p-3"],[1,"d-flex","flex-column","flex-sm-row","justify-content-between","align-items-center"],[1,"mb-3","mb-sm-0"],["routerLink","/login",1,"btn","btn-secondary","col-12","col-sm-4"]],template:function(i,r){1&i&&(m(0,"div",0)(1,"div",1)(2,"span",2),M(3,"Change username, password and country"),v(),m(4,"a",3),M(5,"New Login"),v()()())},dependencies:[jt],encapsulation:2})}return e})(),hwe=(()=>{class e extends D1{constructor(t){super(t)}ngOnInit(){this.readValue()}model=!1;readValue(){Object.prototype.hasOwnProperty.call(this.config,"autoSyncStation")&&(this.model=this.config.autoSyncStation)}update(){this.updateConfig({autoSyncStation:this.model})}static \u0275fac=function(i){return new(i||e)(E(e1))};static \u0275cmp=oe({type:e,selectors:[["app-auto-sync-station"]],standalone:!0,features:[X,se],decls:9,vars:1,consts:[[1,"settingsItem","row","p-3"],[1,"d-flex","justify-content-between","align-items-center","mb-2"],[1,"form-check","form-switch"],["type","checkbox","role","switch","id","flexSwitchCheckDefault",1,"form-check-input",3,"ngModelChange","change","ngModel"]],template:function(i,r){1&i&&(m(0,"div",0)(1,"div",1)(2,"span"),M(3,"Auto Sync Station status"),v(),m(4,"div",2)(5,"input",3),fe("ngModelChange",function(o){return he(r.model,o)||(r.model=o),o}),R("change",function(){return r.update()}),v()()(),m(6,"small")(7,"i"),M(8," When enabled, all alarm and change modes of all devices will be removed and replaced by a single new Alarm/Mode feature which will sync every mode together. Furthermore, this synchronization will exclusively occur through Apple HomeKit; syncing won't apply if changes are made using the Eufy App. "),v()()()),2&i&&(C(5),ue("ngModel",r.model))},dependencies:[V1,f2,H1,_1],encapsulation:2})}return e})(),pwe=(()=>{class e extends D1{constructor(t){super(t)}ngOnInit(){this.readValue()}model=!1;readValue(){Object.prototype.hasOwnProperty.call(this.config,"nodejs_security")&&(this.model=this.config.nodejs_security)}update(){this.updateConfig({nodejs_security:this.model})}static \u0275fac=function(i){return new(i||e)(E(e1))};static \u0275cmp=oe({type:e,selectors:[["app-nodejs-security"]],standalone:!0,features:[X,se],decls:9,vars:1,consts:[[1,"settingsItem","row","p-3"],[1,"d-flex","justify-content-between","align-items-center","mb-2"],[1,"form-check","form-switch"],["type","checkbox","role","switch","id","flexSwitchCheckDefault",1,"form-check-input",3,"ngModelChange","change","ngModel"]],template:function(i,r){1&i&&(m(0,"div",0)(1,"div",1)(2,"span"),M(3,"Node Security Compatibility Bypass"),v(),m(4,"div",2)(5,"input",3),fe("ngModelChange",function(o){return he(r.model,o)||(r.model=o),o}),R("change",function(){return r.update()}),v()()(),m(6,"small")(7,"i"),M(8," In February, Node.js released a security patch (CVE-2023-46809 - RSA_PKCS1_PADDING) in their latest version, causing a disruption in plugins. Currently, the only solution is to downgrade as there is no workaround available. This issue specifically affects camera livestream functionality; however, other functionalities remain unaffected. If livestreaming isn't a requirement, you can continue using the latest version of Node.js. Enabling this workaround will allow you to circumvent the blocking mechanism that prevents plugins from running and displaying error messages related to NodeJS. For further details, please refer to https://nodejs.org/en/blog/vulnerability/february-2024-security-releases#nodejs-is-vulnerable-to-the-marvin-attack-timing-variant-of-the-bleichenbacher-attack-against-pkcs1-v15-padding-cve-2023-46809---medium. "),v()()()),2&i&&(C(5),ue("ngModel",r.model))},dependencies:[V1,f2,H1,_1],encapsulation:2})}return e})(),mwe=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275cmp=oe({type:e,selectors:[["app-advanced-config-options"]],standalone:!0,features:[se],decls:29,vars:0,consts:[["routerLink","/accessories",1,"btn","btn-secondary","mb-3"],[1,"card"],[1,"card-header"],[1,"card-body","pt-0","pb-4"]],template:function(i,r){1&i&&(m(0,"a",0),M(1,"Back to Devices List"),v(),m(2,"div",1)(3,"div",2),M(4," Advanced Settings "),v(),m(5,"div",3),k(6,"app-edit-credentials")(7,"hr")(8,"app-polling-interval-minutes")(9,"hr")(10,"app-livestream-duration-seconds")(11,"hr")(12,"app-enable-detailed-logging")(13,"hr")(14,"app-ignore-multiple-devices-warning")(15,"hr")(16,"app-auto-sync-station")(17,"hr")(18,"app-omit-log-files")(19,"hr")(20,"app-clean-cache")(21,"hr")(22,"app-nodejs-security")(23,"hr")(24,"app-guard-modes-mapping")(25,"hr")(26,"app-download-logs")(27,"hr")(28,"app-reset-plugin"),v()())},dependencies:[jt,dwe,fwe,uwe,lwe,cwe,swe,owe,KE,YE,$be,hwe,pwe],encapsulation:2})}return e})();function gwe(e,n){if(1&e&&(m(0,"div"),M(1),v()),2&e){const t=O();C(),wt(" ",t.presetDescription," ")}}let vwe=(()=>{class e extends D1{constructor(t){super(t)}ngOnInit(){this.readValue()}device;debug=void 0;readRate=void 0;vcodec=void 0;acodec=void 0;videoFilter=void 0;encoderOptions=void 0;probeSize=void 0;analyzeDuration=void 0;maxStreams=void 0;maxWidth=void 0;maxHeight=void 0;maxFPS=void 0;maxBitrate=void 0;useSeparateProcesses=void 0;preset=0;presetDescription;readValue(){var t=this;return ee(function*(){const i=yield t.getCameraConfig(t.device?.uniqueId||"");i&&Object.prototype.hasOwnProperty.call(i,"videoConfig")&&Object.entries(i.videoConfig).forEach(([r,a])=>{t[r]=a}),t.updatePreset()})()}loadPreset(){0===this.preset?(this.readRate=void 0,this.vcodec=void 0,this.acodec=void 0,this.videoFilter=void 0,this.encoderOptions=void 0,this.probeSize=void 0,this.analyzeDuration=void 0,this.maxStreams=void 0,this.maxWidth=void 0,this.maxHeight=void 0,this.maxFPS=void 0,this.maxBitrate=void 0,this.useSeparateProcesses=void 0,this.presetDescription=void 0):1===this.preset?(this.readRate=void 0,this.vcodec="copy",this.acodec=void 0,this.videoFilter=void 0,this.encoderOptions=void 0,this.probeSize=void 0,this.analyzeDuration=void 0,this.maxStreams=void 0,this.maxWidth=void 0,this.maxHeight=void 0,this.maxFPS=void 0,this.maxBitrate=void 0,this.useSeparateProcesses=!0,this.presetDescription="Most eufy cams support the same codec that HomeKit requests. You can try and 'forward' the stream directly without encoding it with ffmpeg. This can increase performance and quality drastically."):2===this.preset?(this.readRate=void 0,this.vcodec=void 0,this.acodec=void 0,this.videoFilter=void 0,this.encoderOptions=void 0,this.probeSize=void 0,this.analyzeDuration=void 0,this.maxStreams=void 0,this.maxWidth=640,this.maxHeight=480,this.maxFPS=15,this.maxBitrate=void 0,this.useSeparateProcesses=!0,this.presetDescription="This preset tries to increase performance by reducing the quality of the stream. This can work for low performance hardware like raspberry pis."):this.presetDescription=void 0,this.update()}updatePreset(){let t=3;!this.readRate&&void 0===this.vcodec&&void 0===this.acodec&&void 0===this.videoFilter&&void 0===this.encoderOptions&&void 0===this.probeSize&&void 0===this.analyzeDuration&&void 0===this.maxStreams&&void 0===this.maxWidth&&void 0===this.maxHeight&&void 0===this.maxFPS&&void 0===this.maxBitrate&&void 0===this.useSeparateProcesses&&(t=0),!this.readRate&&"copy"===this.vcodec&&void 0===this.acodec&&void 0===this.videoFilter&&void 0===this.encoderOptions&&void 0===this.probeSize&&void 0===this.analyzeDuration&&void 0===this.maxStreams&&void 0===this.maxWidth&&void 0===this.maxHeight&&void 0===this.maxFPS&&void 0===this.maxBitrate&&!0===this.useSeparateProcesses&&(t=1),!this.readRate&&void 0===this.vcodec&&void 0===this.acodec&&void 0===this.videoFilter&&void 0===this.encoderOptions&&void 0===this.probeSize&&void 0===this.analyzeDuration&&void 0===this.maxStreams&&640===this.maxWidth&&480===this.maxHeight&&15===this.maxFPS&&void 0===this.maxBitrate&&!0===this.useSeparateProcesses&&(t=2),t!==this.preset&&(this.preset=t)}update(){var t=this;return ee(function*(){const i=yield t.getCameraConfig(t.device?.uniqueId||""),r=i&&Object.prototype.hasOwnProperty.call(i,"videoConfig")?i.videoConfig:{},a={};Object.prototype.hasOwnProperty.call(r,"audio")&&(a.audio=r.audio),t.debug&&(a.debug=t.debug),t.readRate&&(a.readRate=t.readRate),t.vcodec&&""!==t.vcodec&&(a.vcodec=t.vcodec),t.acodec&&""!==t.acodec&&(a.acodec=t.acodec),t.videoFilter&&""!==t.videoFilter&&(a.videoFilter=t.videoFilter),t.encoderOptions&&""!==t.encoderOptions&&(a.encoderOptions=t.encoderOptions),void 0!==t.probeSize&&(a.probeSize=t.probeSize),void 0!==t.analyzeDuration&&(a.analyzeDuration=t.analyzeDuration),void 0!==t.maxStreams&&(a.maxStreams=t.maxStreams),void 0!==t.maxWidth&&(a.maxWidth=t.maxWidth),void 0!==t.maxHeight&&(a.maxHeight=t.maxHeight),void 0!==t.maxFPS&&(a.maxFPS=t.maxFPS),void 0!==t.maxBitrate&&(a.maxBitrate=t.maxBitrate),t.useSeparateProcesses&&(a.useSeparateProcesses=t.useSeparateProcesses),t.updateDeviceConfig({videoConfig:a},t.device),t.updatePreset()})()}static \u0275fac=function(i){return new(i||e)(E(e1))};static \u0275cmp=oe({type:e,selectors:[["app-advanced-videoconfig"]],inputs:{device:"device"},standalone:!0,features:[X,se],decls:99,vars:54,consts:[[1,"settingsItem","row","p-3"],[1,"d-flex","flex-column","flex-sm-row","justify-content-between","align-items-start","align-items-sm-center","mb-2"],[1,"col-12","col-sm-4"],["aria-label","Presets",1,"form-select",3,"ngModelChange","change","ngModel"],[3,"ngValue"],[4,"ngIf"],[1,"input-group","mb-1"],[1,"input-group-text"],["type","checkbox",1,"form-check-input","mt-0",3,"ngModelChange","change","ngModel"],["id","inputGroup-sizing-default",1,"input-group-text"],["type","checkbox",1,"form-check-input","mt-0",3,"change","checked"],["type","text","placeholder","libx264",1,"form-control",3,"ngModelChange","change","ngModel"],["type","text","placeholder","libfdk_aac",1,"form-control",3,"ngModelChange","change","ngModel"],["type","text","placeholder","leave blank if you don't know",1,"form-control",3,"ngModelChange","change","ngModel"],["type","text","placeholder","-preset ultrafast -tune zerolatency",1,"form-control",3,"ngModelChange","change","ngModel"],["type","number","placeholder","0",1,"form-control",3,"ngModelChange","change","ngModel"]],template:function(i,r){1&i&&(m(0,"div",0),M(1," The following options directly change the way how ffmpeg is configured when a stream is started. If configured incorrectly these will most likely result in faulty streams or bad streaming performance. "),k(2,"p"),M(3," You can try the following presets to improve your streaming experience. We do not guarantee that these will work for you."),k(4,"p"),m(5,"div",1)(6,"div",2)(7,"select",3),fe("ngModelChange",function(o){return he(r.preset,o)||(r.preset=o),o}),R("change",function(){return r.loadPreset()}),m(8,"option",4),M(9,"No Preset (default)"),v(),m(10,"option",4),M(11,"Copy"),v(),m(12,"option",4),M(13,"Performance"),v(),m(14,"option",4),M(15,"Custom"),v()()()(),j(16,gwe,2,1,"div",5),k(17,"p"),m(18,"div",6)(19,"div",7)(20,"input",8),fe("ngModelChange",function(o){return he(r.debug,o)||(r.debug=o),o}),R("change",function(){return r.update()}),v()(),m(21,"span",9),M(22,"ffmpeg debug"),v()(),m(23,"div",6)(24,"div",7)(25,"input",8),fe("ngModelChange",function(o){return he(r.useSeparateProcesses,o)||(r.useSeparateProcesses=o),o}),R("change",function(){return r.update()}),v()(),m(26,"span",9),M(27,"use separate processes for video and audio"),v()(),m(28,"div",6)(29,"div",7)(30,"input",8),fe("ngModelChange",function(o){return he(r.readRate,o)||(r.readRate=o),o}),R("change",function(){return r.update()}),v()(),m(31,"span",9),M(32,"readRate"),v()(),m(33,"div",6)(34,"div",7)(35,"input",10),R("change",function(){return r.vcodec=void 0===r.vcodec?"":void 0,r.update()}),v()(),m(36,"span",9),M(37,"vcodec"),v(),m(38,"input",11),fe("ngModelChange",function(o){return he(r.vcodec,o)||(r.vcodec=o),o}),R("change",function(){return r.update()}),v()(),m(39,"div",6)(40,"div",7)(41,"input",10),R("change",function(){return r.acodec=void 0===r.acodec?"":void 0,r.update()}),v()(),m(42,"span",9),M(43,"acodec"),v(),m(44,"input",12),fe("ngModelChange",function(o){return he(r.acodec,o)||(r.acodec=o),o}),R("change",function(){return r.update()}),v()(),m(45,"div",6)(46,"div",7)(47,"input",10),R("change",function(){return r.videoFilter=void 0===r.videoFilter?"":void 0,r.update()}),v()(),m(48,"span",9),M(49,"videoFilter"),v(),m(50,"input",13),fe("ngModelChange",function(o){return he(r.videoFilter,o)||(r.videoFilter=o),o}),R("change",function(){return r.update()}),v()(),m(51,"div",6)(52,"div",7)(53,"input",10),R("change",function(){return r.encoderOptions=void 0===r.encoderOptions?"":void 0,r.update()}),v()(),m(54,"span",9),M(55,"encoderOptions"),v(),m(56,"input",14),fe("ngModelChange",function(o){return he(r.encoderOptions,o)||(r.encoderOptions=o),o}),R("change",function(){return r.update()}),v()(),m(57,"div",6)(58,"div",7)(59,"input",10),R("change",function(){return r.probeSize=void 0===r.probeSize?0:void 0,r.update()}),v()(),m(60,"span",9),M(61,"probeSize"),v(),m(62,"input",15),fe("ngModelChange",function(o){return he(r.probeSize,o)||(r.probeSize=o),o}),R("change",function(){return r.update()}),v()(),m(63,"div",6)(64,"div",7)(65,"input",10),R("change",function(){return r.analyzeDuration=void 0===r.analyzeDuration?0:void 0,r.update()}),v()(),m(66,"span",9),M(67,"analyzeDuration"),v(),m(68,"input",15),fe("ngModelChange",function(o){return he(r.analyzeDuration,o)||(r.analyzeDuration=o),o}),R("change",function(){return r.update()}),v()(),m(69,"div",6)(70,"div",7)(71,"input",10),R("change",function(){return r.maxStreams=void 0===r.maxStreams?0:void 0,r.update()}),v()(),m(72,"span",9),M(73,"maxStreams"),v(),m(74,"input",15),fe("ngModelChange",function(o){return he(r.maxStreams,o)||(r.maxStreams=o),o}),R("change",function(){return r.update()}),v()(),m(75,"div",6)(76,"div",7)(77,"input",10),R("change",function(){return r.maxWidth=void 0===r.maxWidth?0:void 0,r.update()}),v()(),m(78,"span",9),M(79,"maxWidth"),v(),m(80,"input",15),fe("ngModelChange",function(o){return he(r.maxWidth,o)||(r.maxWidth=o),o}),R("change",function(){return r.update()}),v()(),m(81,"div",6)(82,"div",7)(83,"input",10),R("change",function(){return r.maxHeight=void 0===r.maxHeight?0:void 0,r.update()}),v()(),m(84,"span",9),M(85,"maxHeight"),v(),m(86,"input",15),fe("ngModelChange",function(o){return he(r.maxHeight,o)||(r.maxHeight=o),o}),R("change",function(){return r.update()}),v()(),m(87,"div",6)(88,"div",7)(89,"input",10),R("change",function(){return r.maxFPS=void 0===r.maxFPS?0:void 0,r.update()}),v()(),m(90,"span",9),M(91,"fps"),v(),m(92,"input",15),fe("ngModelChange",function(o){return he(r.maxFPS,o)||(r.maxFPS=o),o}),R("change",function(){return r.update()}),v()(),m(93,"div",6)(94,"div",7)(95,"input",10),R("change",function(){return r.maxBitrate=void 0===r.maxBitrate?0:void 0,r.update()}),v()(),m(96,"span",9),M(97,"bitrate"),v(),m(98,"input",15),fe("ngModelChange",function(o){return he(r.maxBitrate,o)||(r.maxBitrate=o),o}),R("change",function(){return r.update()}),v()()()),2&i&&(C(7),ue("ngModel",r.preset),C(),V("ngValue",0),C(2),V("ngValue",1),C(2),V("ngValue",2),C(2),V("ngValue",3),C(2),V("ngIf",r.presetDescription),C(4),ue("ngModel",r.debug),C(5),ue("ngModel",r.useSeparateProcesses),C(5),ue("ngModel",r.readRate),C(5),V("checked",void 0!==r.vcodec||null),C(3),ue("ngModel",r.vcodec),W("disabled",void 0===r.vcodec||null),C(3),V("checked",void 0!==r.acodec||null),C(3),ue("ngModel",r.acodec),W("disabled",void 0===r.acodec||null),C(3),V("checked",void 0!==r.videoFilter||null),W("disabled","copy"===r.vcodec||null),C(),W("style","copy"===r.vcodec?"text-decoration: line-through; color: lightgray;":null,q4),C(2),ue("ngModel",r.videoFilter),W("disabled",void 0===r.videoFilter||"copy"===r.vcodec||null),C(3),V("checked",void 0!==r.encoderOptions||null),W("disabled","copy"===r.vcodec||null),C(),W("style","copy"===r.vcodec?"text-decoration: line-through; color: lightgray;":null,q4),C(2),ue("ngModel",r.encoderOptions),W("disabled",void 0===r.encoderOptions||"copy"===r.vcodec||null),C(3),V("checked",void 0!==r.probeSize||null),C(3),ue("ngModel",r.probeSize),W("disabled",void 0===r.probeSize||null),C(3),V("checked",void 0!==r.analyzeDuration||null),C(3),ue("ngModel",r.analyzeDuration),W("disabled",void 0===r.analyzeDuration||null),C(3),V("checked",void 0!==r.maxStreams||null),C(3),ue("ngModel",r.maxStreams),W("disabled",void 0===r.maxStreams||null),C(3),V("checked",void 0!==r.maxWidth||null),W("disabled","copy"===r.vcodec||null),C(),W("style","copy"===r.vcodec?"text-decoration: line-through; color: lightgray;":null,q4),C(2),ue("ngModel",r.maxWidth),W("disabled",void 0===r.maxWidth||"copy"===r.vcodec||null),C(3),V("checked",void 0!==r.maxHeight||null),W("disabled","copy"===r.vcodec||null),C(),W("style","copy"===r.vcodec?"text-decoration: line-through; color: lightgray;":null,q4),C(2),ue("ngModel",r.maxHeight),W("disabled",void 0===r.maxHeight||"copy"===r.vcodec||null),C(3),V("checked",void 0!==r.maxFPS||null),W("disabled","copy"===r.vcodec||null),C(),W("style","copy"===r.vcodec?"text-decoration: line-through; color: lightgray;":null,q4),C(2),ue("ngModel",r.maxFPS),W("disabled",void 0===r.maxFPS||"copy"===r.vcodec||null),C(3),V("checked",void 0!==r.maxBitrate||null),W("disabled","copy"===r.vcodec||null),C(),W("style","copy"===r.vcodec?"text-decoration: line-through; color: lightgray;":null,q4),C(2),ue("ngModel",r.maxBitrate),W("disabled",void 0===r.maxBitrate||"copy"===r.vcodec||null))},dependencies:[V1,u3,f3,D4,er,f2,Jn,H1,_1,Z2],encapsulation:2})}return e})(),_we=(()=>{class e extends D1{constructor(t){super(t)}ngOnInit(){this.readValue()}device;value=!1;readValue(){var t=this;return ee(function*(){const i=yield t.getCameraConfig(t.device?.uniqueId||"");i&&Object.prototype.hasOwnProperty.call(i,"forcerefreshsnap")&&(t.value=i.forcerefreshsnap)})()}update(){this.updateDeviceConfig({forcerefreshsnap:this.value},this.device)}static \u0275fac=function(i){return new(i||e)(E(e1))};static \u0275cmp=oe({type:e,selectors:[["app-force-refreshsnap"]],inputs:{device:"device"},standalone:!0,features:[X,se],decls:11,vars:1,consts:[[1,"settingsItem","row","p-3"],[1,"d-flex","justify-content-between","align-items-center","mb-2"],[1,"form-check","form-switch"],["type","checkbox","role","switch","id","flexSwitchCheckDefault",1,"form-check-input",3,"ngModelChange","change","ngModel"]],template:function(i,r){1&i&&(m(0,"div",0)(1,"div",1)(2,"span"),M(3,"Force Refresh Snapshot (Deprecated)"),v(),m(4,"div",2)(5,"input",3),fe("ngModelChange",function(o){return he(r.value,o)||(r.value=o),o}),R("change",function(){return r.update()}),v()()(),m(6,"small")(7,"i"),M(8," When enabled, we will start stream for one frame and use as a snapshot (this can affect the battery life). If it's disabled, we will use the Eufy Cloud API one (which could be really old)."),k(9,"br"),M(10," This option is only used if you have disabled enhanced snapshot handling. "),v()()()),2&i&&(C(5),ue("ngModel",r.value))},dependencies:[V1,f2,H1,_1],encapsulation:2})}return e})(),Cwe=(()=>{class e extends D1{constructor(t){super(t)}ngOnInit(){this.readValue()}device;value=0;inputIsInvalid=!1;readValue(){var t=this;return ee(function*(){const i=yield t.getCameraConfig(t.device?.uniqueId||"");i&&Object.prototype.hasOwnProperty.call(i,"refreshSnapshotIntervalMinutes")&&(t.value=i.refreshSnapshotIntervalMinutes)})()}switchSetting(){this.value=0===this.value?30:0,this.update()}update(){this.validate()&&this.updateDeviceConfig({refreshSnapshotIntervalMinutes:this.value},this.device)}validate(){return this.inputIsInvalid=!1,(null==this.value||this.value<5&&0!==this.value)&&(this.inputIsInvalid=!0),!this.inputIsInvalid}static \u0275fac=function(i){return new(i||e)(E(e1))};static \u0275cmp=oe({type:e,selectors:[["app-periodic-snapshot-refresh"]],inputs:{device:"device"},standalone:!0,features:[X,se],decls:25,vars:3,consts:[[1,"settingsItem","row","p-3"],[1,"d-flex","justify-content-between","align-items-center","mb-2"],[1,"form-check","form-switch"],["type","checkbox","role","switch","id","flexSwitchCheckDefault",1,"form-check-input",3,"change"],[1,"d-flex","flex-column","flex-sm-row","justify-content-between","align-items-start","align-items-sm-center","mb-2"],[1,"col-12","col-sm-4"],[1,"input-group","input-group-sm"],["type","number","aria-label","Polling interval minutes","aria-describedby","basic-addon2",3,"ngModelChange","change","ngModel"],[1,"input-group-append"],["id","basic-addon2",1,"input-group-text"]],template:function(i,r){1&i&&(m(0,"div",0)(1,"div",1)(2,"span"),M(3,"Periodic Snapshot Refresh"),v(),m(4,"div",2)(5,"input",3),R("change",function(){return r.switchSetting()}),v()()(),m(6,"div",4)(7,"span"),M(8,"Refresh Interval"),v(),m(9,"div",5)(10,"div",6)(11,"input",7),fe("ngModelChange",function(o){return he(r.value,o)||(r.value=o),o}),R("change",function(){return r.update()}),v(),m(12,"div",8)(13,"span",9),M(14,"minutes"),v()()()()(),m(15,"small")(16,"i"),M(17," This option will force a snapshot to be generated every x minutes. This snapshot will then be used for homekit. So that your snapshots will never be older than this."),k(18,"br"),M(19," Best used with 'Cloud Snapshots' handling method."),k(20,"br"),M(21," Every setting below 5 minutes will be discarded due to performance reasons."),k(22,"br"),m(23,"b"),M(24,"Don't use this with the 'Force Refresh Snapshots' method, since it will have negligible effects other than slowing down homebridge and decreasing possible battery life."),v()()()()),2&i&&(C(5),W("checked",r.value>0||null),C(6),ue("ngModel",r.value),W("class",r.inputIsInvalid?"form-control text-end is-invalid":"form-control text-end"))},dependencies:[V1,D4,er,H1,_1],encapsulation:2})}return e})(),ywe=(()=>{class e extends D1{constructor(t){super(t)}ngOnInit(){this.readValue()}device;value=false;readValue(){var t=this;return ee(function*(){const i=yield t.getCameraConfig(t.device?.uniqueId||"");i&&Object.prototype.hasOwnProperty.call(i,"delayCameraSnapshot")&&(t.value=i.delayCameraSnapshot)})()}update(){this.updateDeviceConfig({delayCameraSnapshot:this.value},this.device)}static \u0275fac=function(i){return new(i||e)(E(e1))};static \u0275cmp=oe({type:e,selectors:[["app-delay-camera-snapshots"]],inputs:{device:"device"},standalone:!0,features:[X,se],decls:12,vars:1,consts:[[1,"settingsItem","row","p-3"],[1,"d-flex","justify-content-between","align-items-center","mb-2"],[1,"form-check","form-switch"],["type","checkbox","role","switch","id","flexSwitchCheckDefault",1,"form-check-input",3,"ngModelChange","change","ngModel"]],template:function(i,r){1&i&&(m(0,"div",0)(1,"div",1)(2,"span"),M(3,"Night-Vision Improvement for camera snapshots"),v(),m(4,"div",2)(5,"input",3),fe("ngModelChange",function(o){return he(r.value,o)||(r.value=o),o}),R("change",function(){return r.update()}),v()()(),m(6,"small")(7,"i"),M(8," Force night vision on dark snapshots to improve the image."),k(9,"br"),m(10,"b"),M(11,"The snapshot request will be delayed by half a second if you enable this setting."),v()()()()),2&i&&(C(5),ue("ngModel",r.value))},dependencies:[V1,f2,H1,_1],encapsulation:2})}return e})(),Mwe=(()=>{class e extends D1{constructor(t){super(t)}ngOnInit(){this.readValue()}device;value=false;readValue(){var t=this;return ee(function*(){const i=yield t.getCameraConfig(t.device?.uniqueId||"");i&&Object.prototype.hasOwnProperty.call(i,"immediateRingNotificationWithoutSnapshot")&&(t.value=i.immediateRingNotificationWithoutSnapshot)})()}update(){this.updateDeviceConfig({immediateRingNotificationWithoutSnapshot:this.value},this.device)}static \u0275fac=function(i){return new(i||e)(E(e1))};static \u0275cmp=oe({type:e,selectors:[["app-immediate-notification-on-ring"]],inputs:{device:"device"},standalone:!0,features:[X,se],decls:12,vars:1,consts:[[1,"settingsItem","row","p-3"],[1,"d-flex","justify-content-between","align-items-center","mb-2"],[1,"form-check","form-switch"],["type","checkbox","role","switch","id","flexSwitchCheckDefault",1,"form-check-input",3,"ngModelChange","change","ngModel"]],template:function(i,r){1&i&&(m(0,"div",0)(1,"div",1)(2,"span"),M(3,"Immediate Notification on ring events"),v(),m(4,"div",2)(5,"input",3),fe("ngModelChange",function(o){return he(r.value,o)||(r.value=o),o}),R("change",function(){return r.update()}),v()()(),m(6,"small")(7,"i"),M(8," In general Homekit will try to get a snapshot to show it in it's push notifications. Since the process to genereate a snapshot takes some time the push notification will be delayed by this time difference. This option allows to generate an empty snapshot on ringing events to speed up the push notification. This can safe up to 10 seconds between the event and the corresponding notification on your device."),k(9,"br"),m(10,"b"),M(11,"This option however delivers most likely an empty (black) snapshot on those events!"),v()()()()),2&i&&(C(5),ue("ngModel",r.value))},dependencies:[V1,f2,H1,_1],encapsulation:2})}return e})();var O9=function(e){return e[e.UNKNOWN=0]="UNKNOWN",e[e.CAPTCHA=1]="CAPTCHA",e[e.TFA=2]="TFA",e[e.TIMEOUT=3]="TIMEOUT",e}(O9||{}),P9=function(e){return e[e.CHARGING=1]="CHARGING",e[e.UNPLUGGED=2]="UNPLUGGED",e[e.PLUGGED=3]="PLUGGED",e[e.SOLAR_CHARGING=4]="SOLAR_CHARGING",e}(P9||{});function bwe(e,n){1&e&&(m(0,"div"),M(1," You can enable this setting nevertheless in "),m(2,"a",9),M(3,"Plugin Settings"),v(),k(4,"p"),v())}function wwe(e,n){if(1&e&&(m(0,"div",8),M(1," There are other cameras connected through the same station as this device. One station can only ever stream from one camera at the same time. Therefore it is not recommened to use another snapshot method other than cloud snapshots."),k(2,"p"),j(3,bwe,5,0,"div",7),v()),2&e){const t=O();C(3),V("ngIf",!t.ignoreMultipleDevicesWarning)}}function Hwe(e,n){1&e&&(m(0,"div",8)(1,"b"),M(2,"Caution!"),v(),M(3," While Force Refresh Snapshots will deliver most up-to-date snapshots, this can have negative effects on HomeKit behaviour. For example starting a livestream might be delayed as a side effect by this option. See "),m(4,"a",10),M(5,"here"),v(),M(6," for more informtaion. "),v())}function Vwe(e,n){1&e&&(m(0,"div",8),M(1," Since your device is battery powered and currently not charging we don't recommend using this setting. The battery life will most likely decrease significantly. "),v())}function zwe(e,n){1&e&&(m(0,"div",11),M(1," Please be advised that since your device is only solar powered we cannot guarantee optimal results with this setting. It might well be, that your battery is depleting faster than it can be recharged by the sun. This depends heavily on your exact use case. "),v())}function Dwe(e,n){if(1&e&&(m(0,"small")(1,"i")(2,"b"),M(3,"Description:"),v(),M(4," The plugin will try to get the latest possible snapshot. If none is present the plugin will start a livestream to render one frame."),k(5,"br"),M(6," This process might take a few seconds and can slow down your homebridge instance for this duration. If you encounter problems with this method please try another. "),k(7,"p")(8,"fa-icon",12),M(9," Up-to-date Snapshots (events)"),k(10,"br")(11,"fa-icon",12),M(12," Up-to-date Snapshots (HomeKit View)"),k(13,"br")(14,"fa-icon",13),M(15," Performance"),k(16,"br")(17,"fa-icon",13),M(18," Battery life"),k(19,"br"),v()()),2&e){const t=O();C(8),V("icon",t.plusIcon),C(3),V("icon",t.plusIcon),C(3),V("icon",t.minusIcon),C(3),V("icon",t.minusIcon)}}function Swe(e,n){if(1&e&&(m(0,"small")(1,"i")(2,"b"),M(3,"Description:"),v(),M(4," This mode combines the other two. When a snapshot is requested the plugin will try to get a new snapshot from the camera."),k(5,"br"),M(6," After one second the snapshot will be delivered - if necessary by using an older snapshot. For events the plugin will wait on a new snapshot. "),k(7,"p")(8,"fa-icon",12),M(9," Up-to-date Snapshots (events)"),k(10,"br")(11,"fa-icon",14),M(12," Up-to-date Snapshots (HomeKit View)"),k(13,"br")(14,"fa-icon",12),M(15," Performance"),k(16,"br")(17,"fa-icon",13),M(18," Battery life"),k(19,"br"),v()()),2&e){const t=O();C(8),V("icon",t.plusIcon),C(3),V("icon",t.mediumIcon),C(3),V("icon",t.plusIcon),C(3),V("icon",t.minusIcon)}}function Nwe(e,n){if(1&e&&(m(0,"small")(1,"i")(2,"b"),M(3,"Description:"),v(),M(4," The plugin will preferablly use cloud snapshots from eufy to fulfill snapshot requests as fast as possible."),k(5,"br"),M(6," If an event, like motion or doorbell ring oocurs, the plugin will try to wait for a cloud snapshot to be provided. But the periodic snapshots in homekit will most likely be outdated (e.g. up to a few hours old). "),k(7,"p")(8,"fa-icon",12),M(9," Up-to-date Snapshots (events)"),k(10,"br")(11,"fa-icon",13),M(12," Up-to-date Snapshots (HomeKit View)"),k(13,"br")(14,"fa-icon",12),M(15," Performance"),k(16,"br")(17,"fa-icon",12),M(18," Battery life"),k(19,"br"),v()()),2&e){const t=O();C(8),V("icon",t.plusIcon),C(3),V("icon",t.minusIcon),C(3),V("icon",t.plusIcon),C(3),V("icon",t.plusIcon)}}let Lwe=(()=>{class e extends D1{device;constructor(t){super(t)}ngOnInit(){this.readValue()}plusIcon=aE;minusIcon=NV;mediumIcon=ZS;value=3;chargingStatus=P9.PLUGGED;standalone=!1;ignoreMultipleDevicesWarning=t4.ignoreMultipleDevicesWarning;readValue(){var t=this;return ee(function*(){const i=t.device?.uniqueId||"",r=yield t.getCameraConfig(i);r&&Object.prototype.hasOwnProperty.call(r,"ignoreMultipleDevicesWarning")&&(t.ignoreMultipleDevicesWarning=r.ignoreMultipleDevicesWarning),t.device&&(t.chargingStatus=t.device.chargingStatus,t.standalone=t.device.standalone,r&&(Object.prototype.hasOwnProperty.call(r,"snapshotHandlingMethod")?t.value=r.snapshotHandlingMethod:Object.prototype.hasOwnProperty.call(r,"forcerefreshsnap")&&(t.value=r.forcerefreshsnap?1:3)),t.ignoreMultipleDevicesWarning||(t.value=3,t.update()))})()}update(){this.updateDeviceConfig({snapshotHandlingMethod:this.value},this.device)}static \u0275fac=function(i){return new(i||e)(E(e1))};static \u0275cmp=oe({type:e,selectors:[["app-snapshot-handling-method"]],inputs:{device:"device"},standalone:!0,features:[X,se],decls:19,vars:12,consts:[[1,"settingsItem","row","p-3"],[1,"d-flex","flex-column","flex-sm-row","justify-content-between","align-items-start","align-items-sm-center","mb-2"],[1,"col-12","col-sm-4"],["aria-label","Device Operation Mode",1,"form-select",3,"ngModelChange","change","ngModel"],[3,"ngValue"],["class","alert alert-warning","role","alert",4,"ngIf"],["class","alert alert-secondary","role","alert",4,"ngIf"],[4,"ngIf"],["role","alert",1,"alert","alert-warning"],["routerLink","/advancedConfig"],["href","https://github.com/homebridge-eufy-security/plugin/wiki/Streaming-Settings#streams-take-a-long-time-to-start","target","_blank","rel","noopener noreferrer"],["role","alert",1,"alert","alert-secondary"],["size","xs",1,"m-1",2,"color","#7FFF00",3,"icon"],["size","xs",1,"m-1",2,"color","#B22222",3,"icon"],["size","xs",1,"m-1",2,"color","#FF8C00",3,"icon"]],template:function(i,r){1&i&&(m(0,"div",0)(1,"div",1)(2,"span"),M(3,"Snapshot Handling Method"),v(),m(4,"div",2)(5,"select",3),fe("ngModelChange",function(o){return he(r.value,o)||(r.value=o),o}),R("change",function(){return r.update()}),m(6,"option",4),M(7,"Force Refresh Snapshots"),v(),m(8,"option",4),M(9,"Balanced"),v(),m(10,"option",4),M(11,"Cloud Snapshots"),v()()()(),j(12,wwe,4,1,"div",5)(13,Hwe,7,0,"div",5)(14,Vwe,2,0,"div",5)(15,zwe,2,0,"div",6)(16,Dwe,20,4,"small",7)(17,Swe,20,4,"small",7)(18,Nwe,20,4,"small",7),v()),2&i&&(C(5),ue("ngModel",r.value),W("disabled",!r.standalone&&!r.ignoreMultipleDevicesWarning||null),C(),V("ngValue",1),C(2),V("ngValue",2),C(2),V("ngValue",3),C(2),V("ngIf",!r.standalone),C(),V("ngIf",1===r.value),C(),V("ngIf",2===r.chargingStatus&&1===r.value),C(),V("ngIf",4===r.chargingStatus&&1===r.value),C(),V("ngIf",1===r.value),C(),V("ngIf",2===r.value),C(),V("ngIf",3===r.value))},dependencies:[V1,u3,f3,Jn,H1,_1,Z2,jt,qb],encapsulation:2})}return e})();var GT={prefix:"far",iconName:"circle-question",icon:[512,512,[62108,"question-circle"],"f059","M464 256A208 208 0 1 0 48 256a208 208 0 1 0 416 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zm169.8-90.7c7.9-22.3 29.1-37.3 52.8-37.3h58.3c34.9 0 63.1 28.3 63.1 63.1c0 22.6-12.1 43.5-31.7 54.8L280 264.4c-.2 13-10.9 23.6-24 23.6c-13.3 0-24-10.7-24-24V250.5c0-8.6 4.6-16.5 12.1-20.8l44.3-25.4c4.7-2.7 7.6-7.7 7.6-13.1c0-8.4-6.8-15.1-15.1-15.1H222.6c-3.4 0-6.4 2.1-7.5 5.3l-.4 1.2c-4.4 12.5-18.2 19-30.6 14.6s-19-18.2-14.6-30.6l.4-1.2zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"]};function Pze(e,n){1&e&&(m(0,"div"),M(1," You can enable this setting nevertheless in "),m(2,"a",8),M(3,"Plugin Settings"),v(),k(4,"p"),v())}function Fze(e,n){if(1&e&&(m(0,"div",6),M(1," There are other cameras connected through the same station as this device. One station can only ever stream from one camera at the same time. Therefore it is not recommened to use HomeKit Secure Video with this camera since this would likely lead to conflicts."),k(2,"p"),j(3,Pze,5,0,"div",7),v()),2&e){const t=O();C(3),V("ngIf",!t.ignoreMultipleDevicesWarning)}}function Bze(e,n){1&e&&(m(0,"div",6),M(1," Since your device is battery powered and currently not charging we don't recommend using this setting. The battery life will most likely decrease significantly. "),v())}function Uze(e,n){1&e&&(m(0,"div",9),M(1," Please be advised that since your device is only solar powered we cannot guarantee optimal results with this setting. It might well be, that your battery is depleting faster than it can be recharged by the sun. This depends heavily on your exact use case. "),v())}let jze=(()=>{class e extends D1{faQuestionCircle=GT;constructor(t){super(t)}ngOnInit(){this.readValue()}device;value=false;chargingStatus=P9.PLUGGED;camerasOnSameStation=[];standalone=!0;ignoreMultipleDevicesWarning=t4.ignoreMultipleDevicesWarning;readValue(){var t=this;return ee(function*(){const i=yield t.getCameraConfig(t.device?.uniqueId||"");i&&Object.prototype.hasOwnProperty.call(i,"hsv")&&(t.value=i.hsv);try{t.device&&(t.chargingStatus=t.device.chargingStatus,t.standalone=t.device.standalone,Object.prototype.hasOwnProperty.call(t.config,"ignoreMultipleDevicesWarning")&&(t.ignoreMultipleDevicesWarning=t.config.ignoreMultipleDevicesWarning),t.camerasOnSameStation.length>1&&!t.ignoreMultipleDevicesWarning&&(t.value=!1,t.update()))}catch(r){console.log(r)}})()}update(){this.updateDeviceConfig({hsv:this.value},this.device)}static \u0275fac=function(i){return new(i||e)(E(e1))};static \u0275cmp=oe({type:e,selectors:[["app-enable-hsv"]],inputs:{device:"device"},standalone:!0,features:[X,se],decls:20,vars:5,consts:[[1,"settingsItem","row","p-3"],[1,"d-flex","justify-content-between","align-items-center","mb-2"],[1,"form-check","form-switch"],["type","checkbox","role","switch","id","flexSwitchCheckDefault",1,"form-check-input",3,"ngModelChange","change","ngModel"],["class","alert alert-warning","role","alert",4,"ngIf"],["class","alert alert-secondary","role","alert",4,"ngIf"],["role","alert",1,"alert","alert-warning"],[4,"ngIf"],["routerLink","/advancedConfig"],["role","alert",1,"alert","alert-secondary"]],template:function(i,r){1&i&&(m(0,"div",0)(1,"div",1)(2,"span"),M(3,"Use HomeKit Secure Video"),v(),m(4,"div",2)(5,"input",3),fe("ngModelChange",function(o){return he(r.value,o)||(r.value=o),o}),R("change",function(){return r.update()}),v()()(),j(6,Fze,4,1,"div",4)(7,Bze,2,0,"div",4)(8,Uze,2,0,"div",5),m(9,"small")(10,"i"),M(11," This feature is in an experimental state and can have some side-effects due to technical limitations imposed by the connection to the eufy device. "),k(12,"p"),m(13,"ul")(14,"li"),M(15,"The device will record until the HomeKit-Controller cancels the recording, or up to a maximum of three minutes. However Apple analyzes the recorded video and only shows the snippets containing an actual event. "),v(),m(16,"li"),M(17,"Due to the continued recording the power consumption will be higher than with the native recording through the eufy app. Keep this in mind, if you use battery powered devices."),v(),m(18,"li"),M(19,"If you use low performance hardware the recording might interfere with livestreaming. You might be able to utilize the 'copy' preset in advanced configuration to mitigate this."),v()()()()()),2&i&&(C(5),ue("ngModel",r.value),W("disabled",!r.standalone&&!r.ignoreMultipleDevicesWarning||null),C(),V("ngIf",!r.standalone),C(),V("ngIf",2===r.chargingStatus&&r.value),C(),V("ngIf",4===r.chargingStatus&&r.value))},dependencies:[V1,f2,H1,_1,Z2,jt],encapsulation:2})}return e})();function Gze(e,n){if(1&e){const t=w1();m(0,"div",3)(1,"span"),M(2),v(),m(3,"div",4)(4,"input",5),fe("ngModelChange",function(r){const a=be(t).$implicit;return he(a.value,r)||(a.value=r),we(r)}),R("change",function(){return be(t),we(O().update())}),v()()()}if(2&e){const t=n.$implicit;C(2),wt("Display HomeKit switch to turn ",t.description," on/off"),C(2),ue("ngModel",t.value),V("id","flexSwitchCheck"+t.name)}}let $ze=(()=>{class e extends D1{device;buttonConfigs=[{name:"Enable",button:"enableButton",description:"camera",value:true,propertyName:"DeviceEnabled"},{name:"Motion",button:"motionButton",description:"detection",value:true,propertyName:"DeviceMotionDetection"},{name:"Light",button:"lightButton",description:"light",value:true,propertyName:"DeviceLight"},{name:"IndoorChime",button:"indoorChimeButton",description:"indoor chime",value:false,propertyName:"DeviceChimeIndoor"}];constructor(t){super(t)}ngOnInit(){this.readValue()}readValue(){var t=this;return ee(function*(){const i=t.device?.uniqueId??"",r=yield t.getCameraConfig(i);t.buttonConfigs=t.buttonConfigs.filter(a=>!(!t.device||!t.device[a.propertyName]||(a.button in r&&(a.value=r[a.button]??a.value),0)))})()}update(){const t={};this.buttonConfigs.forEach(i=>{t[i.button]=i.value}),this.updateDeviceConfig(t,this.device)}static \u0275fac=function(i){return new(i||e)(E(e1))};static \u0275cmp=oe({type:e,selectors:[["app-camera-buttons"]],inputs:{device:"device"},standalone:!0,features:[X,se],decls:8,vars:1,consts:[[1,"settingsItem","row","p-3"],["class","d-flex justify-content-between align-items-center mb-2",4,"ngFor","ngForOf"],["href","https://github.com/homebridge-eufy-security/plugin/wiki/Common-Issues#unexpected-homekit-behaviour","target","_blank","rel","noopener noreferrer"],[1,"d-flex","justify-content-between","align-items-center","mb-2"],[1,"form-check","form-switch"],["type","checkbox","role","switch",1,"form-check-input",3,"ngModelChange","change","ngModel","id"]],template:function(i,r){1&i&&(m(0,"div",0),j(1,Gze,5,3,"div",1),m(2,"small")(3,"i"),M(4," When changing these settings you might need to clear accessory cache (homebridge settings) so it can take effect. See "),m(5,"a",2),M(6,"here"),v(),M(7," for more details. "),v()()()),2&i&&(C(),V("ngForOf",r.buttonConfigs))},dependencies:[Zc,V1,f2,H1,_1],encapsulation:2})}return e})();function Wze(e,n){1&e&&(m(0,"div",5),M(1," Talkback will not work while 'RTSP Streaming' is enabled! "),v())}let qze=(()=>{class e extends D1{constructor(t){super(t)}ngOnInit(){this.readValue(),this.pluginService.addEventListener("configChanged",()=>this.readValue())}device;value=!1;rtspIsEnabled=!1;readValue(){var t=this;return ee(function*(){const i=yield t.getCameraConfig(t.device?.uniqueId||"");i&&Object.prototype.hasOwnProperty.call(i,"talkback")&&(t.value=i.talkback),i&&Object.prototype.hasOwnProperty.call(i,"rtsp")&&(t.rtspIsEnabled=i.rtsp)})()}update(){this.updateDeviceConfig({talkback:this.value},this.device)}static \u0275fac=function(i){return new(i||e)(E(e1))};static \u0275cmp=oe({type:e,selectors:[["app-talkback"]],inputs:{device:"device"},standalone:!0,features:[X,se],decls:13,vars:2,consts:[[1,"settingsItem","row","p-3"],[1,"d-flex","justify-content-between","align-items-center","mb-2"],[1,"form-check","form-switch"],["type","checkbox","role","switch","id","flexSwitchCheckDefault",1,"form-check-input",3,"ngModelChange","change","ngModel"],["class","alert alert-danger","role","alert",4,"ngIf"],["role","alert",1,"alert","alert-danger"]],template:function(i,r){1&i&&(m(0,"div",0)(1,"div",1)(2,"span"),M(3,"Enable Talkback (Two way communication)"),v(),m(4,"div",2)(5,"input",3),fe("ngModelChange",function(o){return he(r.value,o)||(r.value=o),o}),R("change",function(){return r.update()}),v()()(),j(6,Wze,2,0,"div",4),m(7,"small")(8,"i"),M(9," Enables you to talk with someone infront of the camera while streaming. "),k(10,"p"),M(11," Please be advised that this setting is in an early development stage. If you're experiencing issues while streaming, it is recommened to disable this setting."),k(12,"br"),v()()()),2&i&&(C(5),ue("ngModel",r.value),C(),V("ngIf",r.rtspIsEnabled&&r.value))},dependencies:[V1,f2,H1,_1,Z2],encapsulation:2})}return e})(),Yze=(()=>{class e extends D1{constructor(t){super(t)}ngOnInit(){this.readValue()}device;value=!1;samplerate=0;readValue(){var t=this;return ee(function*(){const i=yield t.getCameraConfig(t.device?.uniqueId||"");if(i&&i.videoConfig&&Object.prototype.hasOwnProperty.call(i.videoConfig,"audio")&&(t.value=i.videoConfig.audio),i&&i.videoConfig&&Object.prototype.hasOwnProperty.call(i.videoConfig,"audioSampleRate")){const r=i.videoConfig.audioSampleRate;(8===r||16===r||24===r)&&(t.samplerate=r)}})()}update(){var t=this;return ee(function*(){if(!t.device)return;let i=yield t.getCameraConfig(t.device?.uniqueId||"");i||(i={serialNumber:t.device?.uniqueId,videoConfig:{}}),Object.prototype.hasOwnProperty.call(i,"videoConfig")||(i.videoConfig={}),i.videoConfig.audio=t.value,i.videoConfig.audioSampleRate=t.samplerate,t.updateDeviceConfig(i,t.device)})()}static \u0275fac=function(i){return new(i||e)(E(e1))};static \u0275cmp=oe({type:e,selectors:[["app-enable-audio"]],inputs:{device:"device"},standalone:!0,features:[X,se],decls:25,vars:7,consts:[[1,"settingsItem","row","p-3"],[1,"d-flex","justify-content-between","align-items-center","mb-2"],[1,"form-check","form-switch"],["type","checkbox","role","switch","id","flexSwitchCheckDefault",1,"form-check-input",3,"ngModelChange","change","ngModel"],[1,"d-flex","flex-column","flex-sm-row","justify-content-between","align-items-start","align-items-sm-center","mb-2"],[1,"col-12","col-sm-4"],["aria-label","Samplerate",1,"form-select",3,"ngModelChange","change","ngModel"],[3,"ngValue"]],template:function(i,r){1&i&&(m(0,"div",0)(1,"div",1)(2,"span"),M(3,"Enable Audio"),v(),m(4,"div",2)(5,"input",3),fe("ngModelChange",function(o){return he(r.value,o)||(r.value=o),o}),R("change",function(){return r.update()}),v()()(),m(6,"small")(7,"i"),M(8," Try to enable audio streaming for this device."),k(9,"br"),M(10," If you encounter problems try to disable this setting. "),v()(),k(11,"p"),m(12,"div",4)(13,"span"),M(14,"Force Audio Sample Rate"),v(),m(15,"div",5)(16,"select",6),fe("ngModelChange",function(o){return he(r.samplerate,o)||(r.samplerate=o),o}),R("change",function(){return r.update()}),m(17,"option",7),M(18,"Default Sample Rate"),v(),m(19,"option",7),M(20,"8 kHz"),v(),m(21,"option",7),M(22,"16 kHz"),v(),m(23,"option",7),M(24,"24 kHz"),v()()()()()),2&i&&(C(5),ue("ngModel",r.value),C(11),ue("ngModel",r.samplerate),W("disabled",!r.value||null),C(),V("ngValue",0),C(2),V("ngValue",8),C(2),V("ngValue",16),C(2),V("ngValue",24))},dependencies:[V1,u3,f3,f2,Jn,H1,_1],encapsulation:2})}return e})();function Kze(e,n){1&e&&(m(0,"div",5),M(1," Talkback will not work while 'RTSP Streaming' is enabled! "),v())}let Qze=(()=>{class e extends D1{constructor(t){super(t)}ngOnInit(){this.readValue(),this.pluginService.addEventListener("configChanged",()=>this.readValue())}device;value=!1;talkbackIsEnabled=!1;readValue(){var t=this;return ee(function*(){const i=yield t.getCameraConfig(t.device?.uniqueId||"");i&&Object.prototype.hasOwnProperty.call(i,"rtsp")&&(t.value=i.rtsp),i&&Object.prototype.hasOwnProperty.call(i,"talkback")&&(t.talkbackIsEnabled=i.talkback)})()}update(){this.updateDeviceConfig({rtsp:this.value},this.device)}static \u0275fac=function(i){return new(i||e)(E(e1))};static \u0275cmp=oe({type:e,selectors:[["app-rtsp-streaming"]],inputs:{device:"device"},standalone:!0,features:[X,se],decls:11,vars:2,consts:[[1,"settingsItem","row","p-3"],[1,"d-flex","justify-content-between","align-items-center","mb-2"],[1,"form-check","form-switch"],["type","checkbox","role","switch","id","flexSwitchCheckDefault",1,"form-check-input",3,"ngModelChange","change","ngModel"],["class","alert alert-danger","role","alert",4,"ngIf"],["role","alert",1,"alert","alert-danger"]],template:function(i,r){1&i&&(m(0,"div",0)(1,"div",1)(2,"span"),M(3,"Use RTSP streaming"),v(),m(4,"div",2)(5,"input",3),fe("ngModelChange",function(o){return he(r.value,o)||(r.value=o),o}),R("change",function(){return r.update()}),v()()(),j(6,Kze,2,0,"div",4),m(7,"small")(8,"i"),M(9," Try to utilize RTSP capabilities of some devices. This may result in improved streaming stability. Please be advised that RTSP must be enable within Eufy App first!"),k(10,"br"),v()()()),2&i&&(C(5),ue("ngModel",r.value),C(),V("ngIf",r.talkbackIsEnabled&&r.value))},dependencies:[V1,f2,H1,_1,Z2],encapsulation:2})}return e})();function Zze(e,n){1&e&&(m(0,"small")(1,"i"),M(2," This option is disabled since doorbells are handled always as cameras. "),v()())}function Jze(e,n){1&e&&(m(0,"small")(1,"i"),M(2," Cameras are handled as Motion Sensor by default, switch this setting to use as Camera "),v()())}let Xze=(()=>{class e extends D1{constructor(t){super(t)}ngOnInit(){this.readValue()}device;value="true";disabled=!1;readValue(){var t=this;return ee(function*(){t.device&&t.device.isDoorbell&&(t.value="true",t.disabled=!0,t.update());const i=yield t.getCameraConfig(t.device?.uniqueId||"");i&&Object.prototype.hasOwnProperty.call(i,"enableCamera")&&(t.value=i.enableCamera)})()}update(){this.updateDeviceConfig({enableCamera:JSON.parse(this.value)},this.device)}static \u0275fac=function(i){return new(i||e)(E(e1))};static \u0275cmp=oe({type:e,selectors:[["app-enable-camera"]],inputs:{device:"device"},standalone:!0,features:[X,se],decls:12,vars:4,consts:[[1,"settingsItem","row","p-3"],[1,"d-flex","flex-column","flex-sm-row","justify-content-between","align-items-start","align-items-sm-center","mb-2"],[1,"col-12","col-sm-4"],["aria-label","Device Operation Mode",1,"form-select",3,"ngModelChange","change","ngModel"],["value","false"],["value","true"],[4,"ngIf"]],template:function(i,r){1&i&&(m(0,"div",0)(1,"div",1)(2,"span"),M(3,"Operation Mode"),v(),m(4,"div",2)(5,"select",3),fe("ngModelChange",function(o){return he(r.value,o)||(r.value=o),o}),R("change",function(){return r.update()}),m(6,"option",4),M(7,"Motion Sensor"),v(),m(8,"option",5),M(9,"Camera"),v()()()(),j(10,Zze,3,0,"small",6)(11,Jze,3,0,"small",6),v()),2&i&&(C(5),ue("ngModel",r.value),W("disabled",!!r.disabled||null),C(5),V("ngIf",r.disabled),C(),V("ngIf",!r.disabled))},dependencies:[V1,u3,f3,Jn,H1,_1,Z2],encapsulation:2})}return e})(),bI=(()=>{class e extends D1{constructor(t){super(t)}ngOnInit(){this.readValue()}accessory;station;ignored=new Z;value=!1;readValue(){var t=this;return ee(function*(){if(t.config=yield t.pluginService.getConfig(),t.accessory){const i=t.station?"ignoreStations":"ignoreDevices";Array.isArray(t.config[i])&&(t.value=void 0!==t.config[i].find(r=>r===t.accessory.uniqueId))}})()}update(){var t=this;return ee(function*(){if(!t.accessory)return;t.ignored.emit(t.value);const i=t.station?"ignoreStations":"ignoreDevices";t.config=yield t.pluginService.getConfig(),t.value?Array.isArray(t.config[i])&&!t.config[i].find(r=>r===t.accessory.uniqueId)?t.config[i].push(t.accessory.uniqueId):Array.isArray(t.config[i])||(t.config[i]=[t.accessory.uniqueId]):Array.isArray(t.config[i])&&void 0!==t.config[i].find(r=>r===t.accessory.uniqueId)&&(t.config[i]=t.config[i].filter(r=>r!==t.accessory.uniqueId)),t.pluginService.updateConfig(t.config)})()}static \u0275fac=function(i){return new(i||e)(E(e1))};static \u0275cmp=oe({type:e,selectors:[["app-ignore-accessory"]],inputs:{accessory:"accessory",station:"station"},outputs:{ignored:"ignored"},standalone:!0,features:[X,se],decls:6,vars:1,consts:[[1,"settingsItem","row","p-3","pb-1"],[1,"d-flex","justify-content-between","align-items-center","mb-2"],[1,"form-check","form-switch"],["type","checkbox","role","switch","id","flexSwitchCheckDefault",1,"form-check-input",3,"ngModelChange","change","ngModel"]],template:function(i,r){1&i&&(m(0,"div",0)(1,"div",1)(2,"span"),M(3,"Ignore"),v(),m(4,"div",2)(5,"input",3),fe("ngModelChange",function(o){return he(r.value,o)||(r.value=o),o}),R("change",function(){return r.update()}),v()()()()),2&i&&(C(5),ue("ngModel",r.value))},dependencies:[V1,f2,H1,_1],encapsulation:2})}return e})();function eDe(e,n){1&e&&k(0,"hr")}function tDe(e,n){1&e&&k(0,"app-rtsp-streaming",11),2&e&&V("device",O(4).device)}function nDe(e,n){1&e&&k(0,"hr")}function iDe(e,n){1&e&&k(0,"app-talkback",11),2&e&&V("device",O(4).device)}function rDe(e,n){if(1&e&&(m(0,"div"),k(1,"app-enable-camera",11),j(2,eDe,1,0,"hr",1)(3,tDe,1,1,"app-rtsp-streaming",12),k(4,"hr")(5,"app-enable-audio",11),j(6,nDe,1,0,"hr",1)(7,iDe,1,1,"app-talkback",12),v()),2&e){const t=O(3);C(),V("device",t.device),C(),V("ngIf",t.supportsRTSP),C(),V("ngIf",t.supportsRTSP),C(2),V("device",t.device),C(),V("ngIf",t.supportsTalkback),C(),V("ngIf",t.supportsTalkback)}}function aDe(e,n){if(1&e&&k(0,"app-camera-buttons",11)(1,"hr")(2,"app-enable-hsv",11),2&e){const t=O(4);V("device",t.device),C(2),V("device",t.device)}}function oDe(e,n){1&e&&(m(0,"div",13)(1,"h2",6)(2,"button",7),M(3,"HomeKit Behaviour"),v()(),m(4,"div",8)(5,"div",9),j(6,aDe,3,2,"ng-template"),v()()())}function sDe(e,n){1&e&&k(0,"hr")}function cDe(e,n){1&e&&k(0,"app-immediate-notification-on-ring",11),2&e&&V("device",O(5).device)}function lDe(e,n){if(1&e&&(m(0,"div"),k(1,"app-force-refreshsnap",11),v()),2&e){const t=O(5);C(),V("device",t.device)}}function uDe(e,n){if(1&e&&(k(0,"app-snapshot-handling-method",11),j(1,sDe,1,0,"hr",1)(2,cDe,1,1,"app-immediate-notification-on-ring",12),k(3,"hr")(4,"app-delay-camera-snapshots",11)(5,"hr")(6,"app-periodic-snapshot-refresh",11),j(7,lDe,2,1,"div",1)),2&e){const t=O(4);V("device",t.device),C(),V("ngIf",t.isDoorbell),C(),V("ngIf",t.isDoorbell),C(2),V("device",t.device),C(2),V("device",t.device),C(),V("ngIf",!t.showEnhancedSnapshotBehaviour)}}function fDe(e,n){1&e&&(m(0,"div",13)(1,"h2",6)(2,"button",7),M(3,"Snapshot Behaviour"),v()(),m(4,"div",8)(5,"div",9),j(6,uDe,8,6,"ng-template"),v()()())}function dDe(e,n){1&e&&k(0,"app-advanced-videoconfig",11),2&e&&V("device",O(4).device)}function hDe(e,n){1&e&&(m(0,"div",13)(1,"h2",6)(2,"button",7),M(3,"Advanced Video Config"),v()(),m(4,"div",8)(5,"div",9),j(6,dDe,1,1,"ng-template"),v()()())}function pDe(e,n){if(1&e&&(m(0,"div",4)(1,"div",5)(2,"h2",6)(3,"button",7),M(4,"Device Settings"),v()(),m(5,"div",8)(6,"div",9),j(7,rDe,8,6,"ng-template"),v()()(),j(8,oDe,7,0,"div",10)(9,fDe,7,0,"div",10)(10,hDe,7,0,"div",10),v()),2&e){const t=O(2);V("closeOthers",!0),C(),V("collapsed",!1),C(7),V("ngIf",t.isCamera),C(),V("ngIf",t.isCamera),C(),V("ngIf",t.isCamera)}}function mDe(e,n){if(1&e){const t=w1();m(0,"div")(1,"p")(2,"i"),M(3),v()(),m(4,"app-ignore-accessory",2),R("ignored",function(r){return be(t),we(O().ignoredChanged(r))}),v(),k(5,"p"),j(6,pDe,11,5,"div",3),v()}if(2&e){const t=O();C(3),E5("",t.device.displayName," (",t.device.uniqueId,") (",t.device.typename,")"),C(),V("accessory",t.device)("station",!1),C(2),V("ngIf",!t.device.ignored&&t.isCamera)}}let gDe=(()=>{class e extends D1{route;device;showEnhancedSnapshotBehaviour=!0;isDoorbell=!1;isCamera=!1;supportsRTSP=!1;supportsTalkback=!1;constructor(t,i){super(t),this.route=i}ngOnInit(){const t=this.route.snapshot.paramMap.get("uniqueId");this.device=this.pluginService.getDevice(t),this.device&&(this.isCamera=this.device.isCamera,this.isDoorbell=this.device.isDoorbell,this.supportsRTSP=this.device.supportsRTSP,this.supportsTalkback=this.device.supportsTalkback,this.supportsRTSP||this.updateDeviceConfig({rtsp:!1},this.device),this.supportsTalkback||this.updateDeviceConfig({talkback:!1},this.device))}ignoredChanged(t){this.device.ignored=t}updateSnapshotView(t){this.showEnhancedSnapshotBehaviour=t}static \u0275fac=function(i){return new(i||e)(E(e1),E(Wn))};static \u0275cmp=oe({type:e,selectors:[["app-camera-config-options"]],standalone:!0,features:[X,se],decls:3,vars:1,consts:[["routerLink","/accessories",1,"btn","btn-secondary","mb-3"],[4,"ngIf"],[3,"ignored","accessory","station"],["ngbAccordion","",3,"closeOthers",4,"ngIf"],["ngbAccordion","",3,"closeOthers"],["ngbAccordionItem","",3,"collapsed"],["ngbAccordionHeader",""],["ngbAccordionButton",""],["ngbAccordionCollapse",""],["ngbAccordionBody",""],["ngbAccordionItem","",4,"ngIf"],[3,"device"],[3,"device",4,"ngIf"],["ngbAccordionItem",""]],template:function(i,r){1&i&&(m(0,"a",0),M(1,"Back to Devices List"),v(),j(2,mDe,7,6,"div",1)),2&i&&(C(2),V("ngIf",r.device))},dependencies:[jt,Z2,bI,Xze,Qze,Yze,qze,$ze,jze,Lwe,Mwe,ywe,Cwe,_we,vwe,Z6,Hf,bo,e4,Vf,wf,Q6],encapsulation:2})}return e})();const vDe={AF:"Afghanistan",AX:"Aland Islands",AL:"Albania",DZ:"Algeria",AS:"American Samoa",AD:"Andorra",AO:"Angola",AI:"Anguilla",AQ:"Antarctica",AG:"Antigua and Barbuda",AR:"Argentina",AM:"Armenia",AW:"Aruba",AU:"Australia",AT:"Austria",AZ:"Azerbaijan",BS:"Bahamas",BH:"Bahrain",BD:"Bangladesh",BB:"Barbados",BY:"Belarus",BE:"Belgium",BZ:"Belize",BJ:"Benin",BM:"Bermuda",BT:"Bhutan",BO:"Bolivia",BQ:"Bonaire, Sint Eustatius and Saba",BA:"Bosnia and Herzegovina",BW:"Botswana",BV:"Bouvet Island",BR:"Brazil",IO:"British Indian Ocean Territory",BN:"Brunei Darussalam",BG:"Bulgaria",BF:"Burkina Faso",BI:"Burundi",KH:"Cambodia",CM:"Cameroon",CA:"Canada",CV:"Cape Verde",KY:"Cayman Islands",CF:"Central African Republic",TD:"Chad",CL:"Chile",CN:"China",CX:"Christmas Island",CC:"Cocos (Keeling) Islands",CO:"Colombia",KM:"Comoros",CG:"Congo",CD:"Congo, the Democratic Republic of the",CK:"Cook Islands",CR:"Costa Rica",CI:"Cote D'Ivoire",HR:"Croatia",CU:"Cuba",CW:"Curacao",CY:"Cyprus",CZ:"Czech Republic",DK:"Denmark",DJ:"Djibouti",DM:"Dominica",DO:"Dominican Republic",EC:"Ecuador",EG:"Egypt",SV:"El Salvador",GQ:"Equatorial Guinea",ER:"Eritrea",EE:"Estonia",ET:"Ethiopia",FK:"Falkland Islands (Malvinas)",FO:"Faroe Islands",FJ:"Fiji",FI:"Finland",FR:"France",GF:"French Guiana",PF:"French Polynesia",TF:"French Southern Territories",GA:"Gabon",GM:"Gambia",GE:"Georgia",DE:"Germany",GH:"Ghana",GI:"Gibraltar",GR:"Greece",GL:"Greenland",GD:"Grenada",GP:"Guadeloupe",GU:"Guam",GT:"Guatemala",GG:"Guernsey",GN:"Guinea",GW:"Guinea-Bissau",GY:"Guyana",HT:"Haiti",HM:"Heard Island and Mcdonald Islands",VA:"Holy See (Vatican City State)",HN:"Honduras",HK:"Hong Kong",HU:"Hungary",IS:"Iceland",IN:"India",ID:"Indonesia",IR:"Iran, Islamic Republic of",IQ:"Iraq",IE:"Ireland",IM:"Isle of Man",IL:"Israel",IT:"Italy",JM:"Jamaica",JP:"Japan",JE:"Jersey",JO:"Jordan",KZ:"Kazakhstan",KE:"Kenya",KI:"Kiribati",KP:"Korea, Democratic People's Republic of",KR:"Korea, Republic of",XK:"Kosovo",KW:"Kuwait",KG:"Kyrgyzstan",LA:"Lao People's Democratic Republic",LV:"Latvia",LB:"Lebanon",LS:"Lesotho",LR:"Liberia",LY:"Libyan Arab Jamahiriya",LI:"Liechtenstein",LT:"Lithuania",LU:"Luxembourg",MO:"Macao",MK:"Macedonia, the Former Yugoslav Republic of",MG:"Madagascar",MW:"Malawi",MY:"Malaysia",MV:"Maldives",ML:"Mali",MT:"Malta",MH:"Marshall Islands",MQ:"Martinique",MR:"Mauritania",MU:"Mauritius",YT:"Mayotte",MX:"Mexico",FM:"Micronesia, Federated States of",MD:"Moldova, Republic of",MC:"Monaco",MN:"Mongolia",ME:"Montenegro",MS:"Montserrat",MA:"Morocco",MZ:"Mozambique",MM:"Myanmar",NA:"Namibia",NR:"Nauru",NP:"Nepal",NL:"Netherlands",AN:"Netherlands Antilles",NC:"New Caledonia",NZ:"New Zealand",NI:"Nicaragua",NE:"Niger",NG:"Nigeria",NU:"Niue",NF:"Norfolk Island",MP:"Northern Mariana Islands",NO:"Norway",OM:"Oman",PK:"Pakistan",PW:"Palau",PS:"Palestinian Territory, Occupied",PA:"Panama",PG:"Papua New Guinea",PY:"Paraguay",PE:"Peru",PH:"Philippines",PN:"Pitcairn",PL:"Poland",PT:"Portugal",PR:"Puerto Rico",QA:"Qatar",RE:"Reunion",RO:"Romania",RU:"Russian Federation",RW:"Rwanda",BL:"Saint Barthelemy",SH:"Saint Helena",KN:"Saint Kitts and Nevis",LC:"Saint Lucia",MF:"Saint Martin",PM:"Saint Pierre and Miquelon",VC:"Saint Vincent and the Grenadines",WS:"Samoa",SM:"San Marino",ST:"Sao Tome and Principe",SA:"Saudi Arabia",SN:"Senegal",RS:"Serbia",CS:"Serbia and Montenegro",SC:"Seychelles",SL:"Sierra Leone",SG:"Singapore",SX:"Sint Maarten",SK:"Slovakia",SI:"Slovenia",SB:"Solomon Islands",SO:"Somalia",ZA:"South Africa",GS:"South Georgia and the South Sandwich Islands",SS:"South Sudan",ES:"Spain",LK:"Sri Lanka",SD:"Sudan",SR:"Suriname",SJ:"Svalbard and Jan Mayen",SZ:"Swaziland",SE:"Sweden",CH:"Switzerland",SY:"Syrian Arab Republic",TW:"Taiwan, Province of China",TJ:"Tajikistan",TZ:"Tanzania, United Republic of",TH:"Thailand",TL:"Timor-Leste",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trinidad and Tobago",TN:"Tunisia",TR:"Turk",TM:"Turkmenistan",TC:"Turks and Caicos Islands",TV:"Tuvalu",UG:"Uganda",UA:"Ukraine",AE:"United Arab Emirates",GB:"United Kingdom",US:"United States",UM:"United States Minor Outlying Islands",UY:"Uruguay",UZ:"Uzbekistan",VU:"Vanuatu",VE:"Venezuela",VN:"Viet Nam",VG:"Virgin Islands, British",VI:"Virgin Islands, U.s.",WF:"Wallis and Futuna",EH:"Western Sahara",YE:"Yemen",ZM:"Zambia",ZW:"Zimbabwe"};let _De=(()=>{class e{pluginService;constructor(t){this.pluginService=t}getCredentials(){var t=this;return ee(function*(){try{const i=yield t.pluginService.getConfig();return i.username&&i.password?Promise.resolve({username:i.username,password:i.password,country:i.country?i.country:"US",deviceName:i.deviceName}):Promise.reject("no full credentials in config")}catch{return Promise.reject("no config")}})()}login(t){return ee(function*(){try{const i=yield window.homebridge.request("/login",t);return Promise.resolve(i)}catch(i){return Promise.reject(i)}})()}updateConfigCredentials(t){var i=this;return ee(function*(){let r={};try{r=yield i.pluginService.getConfig()}catch(a){console.log("Could not get credentials from config: "+a)}r.username=t.username,r.password=t.password,r.country=t.country,r.deviceName=t.deviceName,yield i.pluginService.updateConfig(r,!0)})()}static \u0275fac=function(i){return new(i||e)(te(e1))};static \u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function CDe(e,n){1&e&&(M(0," If you login here the new connection might interfere with any already established connection that was made by the eufy plugin itself."),k(1,"p"),m(2,"i"),M(3,"So even if you do not change any settings we recommened that you restart the plugin after you've connected to the eufy cloud here."),v())}function yDe(e,n){if(1&e){const t=w1();m(0,"p",11)(1,"ngb-alert",12),R("closed",function(){return be(t),we(O().resetLoginFailed())}),zr(),m(2,"svg",13),k(3,"use",14),v(),Dr(),m(4,"strong"),M(5,"Login was not successful!"),v()()()}2&e&&(C(),V("dismissible",!0))}function MDe(e,n){if(1&e&&(m(0,"div",32),zr(),m(1,"svg",33),k(2,"use",34),v(),Dr(),m(3,"div"),M(4," Please make sure to restart plugin after you're done. "),m(5,"u",35),M(6," Tell me why... "),v()()()),2&e){O(2);const t=v2(6);C(5),V("autoClose","outside")("ngbPopover",t)}}function bDe(e,n){1&e&&(M(0,"You can leave this field blank."),k(1,"p"),M(2,"This will set the an option in the api calls to the eufy cloud, so that the servers think this plugin uses the official eufy app on the given device. If left blank the plugin will use a random device identifier. See "),m(3,"a",36),M(4,"this disussion"),v(),M(5," to learn more."))}function wDe(e,n){if(1&e&&(m(0,"option"),M(1),v()),2&e){const t=n.$implicit,i=O(2);W("value",t.short)("selected",i.credentials.country===t.short||null),C(),wt("",t.long," ")}}function HDe(e,n){1&e&&k(0,"span",37)}function VDe(e,n){1&e&&(m(0,"span"),M(1,"..."),v())}function zDe(e,n){if(1&e){const t=w1();m(0,"div"),j(1,MDe,7,2,"div",15),m(2,"div",16)(3,"input",17),fe("ngModelChange",function(r){be(t);const a=O();return he(a.credentials.username,r)||(a.credentials.username=r),we(r)}),v(),m(4,"label",18),M(5,"Email address"),v()(),k(6,"p"),m(7,"div",16)(8,"input",19),fe("ngModelChange",function(r){be(t);const a=O();return he(a.credentials.password,r)||(a.credentials.password=r),we(r)}),v(),m(9,"label",20),M(10,"Password"),v()(),k(11,"p"),m(12,"div",16),j(13,bDe,6,0,"ng-template",null,1,Q2),m(15,"input",21),fe("ngModelChange",function(r){be(t);const a=O();return he(a.credentials.deviceName,r)||(a.credentials.deviceName=r),we(r)}),v(),m(16,"label",22),M(17,"Device Name"),v()(),m(18,"div",23)(19,"div",24)(20,"select",25),fe("ngModelChange",function(r){be(t);const a=O();return he(a.credentials.country,r)||(a.credentials.country=r),we(r)}),j(21,wDe,2,3,"option",26),v(),m(22,"small")(23,"i"),M(24," Make sure to use the same country that you use to login with the eufy app. "),v()()(),k(25,"span",27),m(26,"div",28)(27,"button",29),R("click",function(){return be(t),we(O().login())}),j(28,HDe,1,0,"span",30),M(29," Login "),j(30,VDe,2,0,"span",10),v(),m(31,"button",31),R("click",function(){return be(t),we(O().cancelLogin())}),M(32," Cancel "),v()()()()}if(2&e){const t=v2(14),i=O();C(),V("ngIf",!i.firstLoginAssumed),C(2),ue("ngModel",i.credentials.username),W("class",i.emailIsValid?"form-control":"form-control is-invalid")("disabled",!!i.loginInProgress||null),C(5),ue("ngModel",i.credentials.password),W("class",i.passwordIsValid?"form-control":"form-control is-invalid")("disabled",!!i.loginInProgress||null),C(7),ue("ngModel",i.credentials.deviceName),V("ngbTooltip",t)("closeDelay",2500),W("class",i.passwordIsValid?"form-control":"form-control is-invalid")("disabled",!!i.loginInProgress||null),C(5),ue("ngModel",i.credentials.country),W("disabled",!!i.loginInProgress||null),C(),V("ngForOf",i.countries),C(6),W("disabled",!!i.loginInProgress||null),C(),V("ngIf",i.loginInProgress),C(2),V("ngIf",i.loginInProgress),C(),W("disabled",!!i.loginInProgress||null)}}function DDe(e,n){1&e&&k(0,"span",37)}function SDe(e,n){1&e&&(m(0,"span"),M(1,"..."),v())}function NDe(e,n){if(1&e){const t=w1();m(0,"div")(1,"div",38),M(2,"You should have gotten a 2FA verification code from eufy in your mail. Please enter this below."),v(),m(3,"div",7)(4,"div",39)(5,"input",40),fe("ngModelChange",function(r){be(t);const a=O();return he(a.otp,r)||(a.otp=r),we(r)}),v(),m(6,"label",41),M(7,"2FA Code"),v()()(),m(8,"div",42)(9,"div",43)(10,"button",44),R("click",function(){return be(t),we(O().login())}),j(11,DDe,1,0,"span",30),M(12," Verify "),j(13,SDe,2,0,"span",10),v()()(),m(14,"div",7)(15,"div",43)(16,"button",31),R("click",function(){return be(t),we(O().cancelLogin())}),M(17," Cancel "),v()()()()}if(2&e){const t=O();C(5),ue("ngModel",t.otp),W("class",t.otpIsValid?"form-control":"form-control is-invalid")("disabled",!!t.loginInProgress||null),C(5),W("disabled",!!t.loginInProgress||null),C(),V("ngIf",t.loginInProgress),C(2),V("ngIf",t.loginInProgress),C(3),W("disabled",!!t.loginInProgress||null)}}function LDe(e,n){1&e&&k(0,"span",37)}function xDe(e,n){1&e&&(m(0,"span"),M(1,"..."),v())}function EDe(e,n){if(1&e){const t=w1();m(0,"div")(1,"div",38),M(2,"Please enter the captcha below."),v(),m(3,"div",42),k(4,"img",45),v(),m(5,"div",7)(6,"div",39)(7,"input",40),fe("ngModelChange",function(r){be(t);const a=O();return he(a.captcha,r)||(a.captcha=r),we(r)}),v(),m(8,"label",41),M(9,"Captcha"),v()()(),m(10,"div",42)(11,"div",43)(12,"button",44),R("click",function(){return be(t),we(O().login())}),j(13,LDe,1,0,"span",30),M(14," Verify "),j(15,xDe,2,0,"span",10),v()()(),m(16,"div",7)(17,"div",43)(18,"button",31),R("click",function(){return be(t),we(O().cancelLogin())}),M(19," Cancel "),v()()()()}if(2&e){const t=O();C(4),V("src",t.captchaImageData,Pr),C(3),ue("ngModel",t.captcha),W("class",t.captchaIsValid?"form-control":"form-control is-invalid")("disabled",!!t.loginInProgress||null),C(5),W("disabled",!!t.loginInProgress||null),C(),V("ngIf",t.loginInProgress),C(2),V("ngIf",t.loginInProgress),C(3),W("disabled",!!t.loginInProgress||null)}}var St=function(e){return e[e.LOGIN=1]="LOGIN",e[e.TFA=2]="TFA",e[e.CAPTCHA=3]="CAPTCHA",e}(St||{});let TDe=(()=>{class e{loginService;routerService;countries=[];credentials={username:"",password:"",country:"US",deviceName:""};otp="";captcha="";captchaImageData="";captchaId="";loginInProgress=!1;loginFailed=!1;loginStep=St.LOGIN;firstLoginAssumed=!1;emailIsValid=!0;passwordIsValid=!0;otpIsValid=!0;captchaIsValid=!0;constructor(t,i){this.loginService=t,this.routerService=i}ngOnInit(){this.getCredentials(),this.fillCountryArray()}getCredentials(){this.loginService.getCredentials().then(t=>this.credentials=t).catch(t=>{this.firstLoginAssumed=!0,console.log("Could not get config in login component: "+t)})}fillCountryArray(){Object.entries(vDe).forEach(([t,i])=>{this.countries.push({short:t,long:i})})}login(){this.inputIsInvalid()||(this.resetLoginFailed(),this.loginInProgress=!0,this.loginStep===St.LOGIN&&this.loginWithCredentials(),this.loginStep===St.TFA&&this.loginWithTFA(),this.loginStep===St.CAPTCHA&&this.loginWithCaptcha())}loginWithCredentials(){var t=this;return ee(function*(){let i;try{i=yield t.loginService.login(t.credentials)}catch(r){console.log("login error: "+r)}t.evaluateLoginResult(i)})()}loginWithTFA(){var t=this;return ee(function*(){let i;try{i=yield t.loginService.login({verifyCode:t.otp})}catch(r){console.log("login error: "+r)}t.evaluateLoginResult(i)})()}loginWithCaptcha(){var t=this;return ee(function*(){let i;try{i=yield t.loginService.login({captcha:{captchaCode:t.captcha,captchaId:t.captchaId}})}catch(r){console.log("login error: "+r)}t.evaluateLoginResult(i)})()}evaluateLoginResult(t){if(this.loginInProgress=!1,t&&t.success)this.loginService.updateConfigCredentials(this.credentials),this.routerService.navigate(["/accessories",{waitForAccessories:!0}]);else{if(t&&t.failReason&&t.failReason===O9.TFA)return void(this.loginStep=St.TFA);if(t&&t.failReason&&t.failReason===O9.CAPTCHA&&t.data&&t.data.id&&t.data.captcha)return this.loginStep=St.CAPTCHA,this.captchaId=t.data.id,void(this.captchaImageData=t.data.captcha);this.loginStep=St.LOGIN,this.loginFailed=!0}}inputIsInvalid(){this.emailIsValid=!0,this.passwordIsValid=!0,this.otpIsValid=!0;let t=!1;return this.loginStep===St.LOGIN&&this.credentials.username.length<4&&(this.emailIsValid=!1,t=!0),this.loginStep===St.LOGIN&&this.credentials.password.length<4&&(this.passwordIsValid=!1,t=!0),this.loginStep===St.TFA&&this.otp.length<6&&(this.otpIsValid=!1,t=!0),this.loginStep===St.CAPTCHA&&this.captcha.length<4&&(this.captchaIsValid=!1,t=!0),t}resetLoginFailed(){this.loginFailed=!1}cancelLogin(){this.routerService.navigate(["/accessories"])}static \u0275fac=function(i){return new(i||e)(E(_De),E(O2))};static \u0275cmp=oe({type:e,selectors:[["app-login"]],standalone:!0,features:[se],decls:13,vars:4,consts:[["popInfo",""],["deviceNameExplanation",""],["xmlns","http://www.w3.org/2000/svg",2,"display","none"],["id","info-fill","fill","currentColor","viewBox","0 0 16 16"],["d","M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16zm.93-9.412-1 4.705c-.07.34.029.533.304.533.194 0 .487-.07.686-.246l-.088.416c-.287.346-.92.598-1.465.598-.703 0-1.002-.422-.808-1.319l.738-3.468c.064-.293.006-.399-.287-.47l-.451-.081.082-.381 2.29-.287zM8 5.5a1 1 0 1 1 0-2 1 1 0 0 1 0 2z"],["id","exclamation-triangle-fill","fill","currentColor","viewBox","0 0 16 16"],["d","M8.982 1.566a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566zM8 5c.535 0 .954.462.9.995l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995A.905.905 0 0 1 8 5zm.002 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2z"],[1,"row","d-flex","justify-content-center"],["class","col-11 col-sm-7",4,"ngIf"],[1,"col-11","col-sm-7","card","p-4"],[4,"ngIf"],[1,"col-11","col-sm-7"],["type","danger",3,"closed","dismissible"],["width","24","height","24","role","img","aria-label","Login Error",1,"bi","flex-shrink-0","me-2"],[0,"xlink","href","#exclamation-triangle-fill"],["class","alert alert-warning d-flex align-items-center","role","alert",4,"ngIf"],[1,"form-floating","mb-3"],["type","email","id","floatingInput","placeholder","name@example.com","ngModel","","email","",3,"ngModelChange","ngModel"],["for","floatingInput"],["type","password","id","floatingPassword","placeholder","Password",3,"ngModelChange","ngModel"],["for","floatingPassword"],["type","text","id","floatingDevice","placeholder","Device Name","placement","top",3,"ngModelChange","ngModel","ngbTooltip","closeDelay"],["for","floatingDevice"],[1,"row"],[1,"col-12","col-sm-6","mb-3","mb-sm0"],["aria-label","select country",1,"form-select","mb-3",3,"ngModelChange","ngModel"],[4,"ngFor","ngForOf"],[1,"col-0","col-sm-1"],[1,"col-12","col-sm-5","text-end","mb-3"],["type","button",1,"btn","btn-success","col-12","mb-3",3,"click"],["class","spinner-border spinner-border-sm","role","status","aria-hidden","true",4,"ngIf"],["type","button",1,"btn","btn-secondary","col-12",3,"click"],["role","alert",1,"alert","alert-warning","d-flex","align-items-center"],["width","24","height","24","role","img","aria-label","Warning:",1,"bi","flex-shrink-0","me-2"],[0,"xlink","href","#info-fill"],["role","button","popoverTitle","Please restart after login",3,"autoClose","ngbPopover"],["href","https://github.com/homebridge-eufy-security/plugin/issues/201","target","_blank","rel","noopener noreferrer",2,"color","white"],["role","status","aria-hidden","true",1,"spinner-border","spinner-border-sm"],[1,"row","mb-3"],[1,"form-floating","mb-3","col-8","col-sm-6"],["type","text","id","floatingOTP","placeholder","",3,"ngModelChange","ngModel"],["for","floatingOTP"],[1,"row","d-flex","justify-content-center","mb-3"],[1,"col-8","col-sm-6"],["type","button",1,"btn","btn-success","col-12",3,"click"],["alt","captcha image",1,"col-10","col-sm-8",3,"src"]],template:function(i,r){1&i&&(zr(),m(0,"svg",2)(1,"symbol",3),k(2,"path",4),v(),m(3,"symbol",5),k(4,"path",6),v()(),j(5,CDe,4,0,"ng-template",null,0,Q2),Dr(),m(7,"div",7),j(8,yDe,6,1,"p",8),m(9,"div",9),j(10,zDe,33,19,"div",10)(11,NDe,18,7,"div",10)(12,EDe,20,8,"div",10),v()()),2&i&&(C(8),V("ngIf",r.loginFailed),C(2),V("ngIf",1===r.loginStep),C(),V("ngIf",2===r.loginStep),C(),V("ngIf",3===r.loginStep))},dependencies:[Z2,zf,Jne,V1,u3,f3,D4,Jn,H1,ff,_1,vV,Zc],encapsulation:2})}return e})(),IDe=(()=>{class e extends D1{constructor(t){super(t)}ngOnInit(){this.readValue()}station;value=[];readValue(){var t=this;return ee(function*(){const i=yield t.getStationConfig(t.station?.uniqueId||"");i&&Array.isArray(i.manualTriggerModes)&&(t.value=i.manualTriggerModes)})()}toggle(t){-1!==this.value.indexOf(t)?this.value=this.value.filter(i=>i!==t):this.value.push(t)}update(){this.updateStationConfig({manualTriggerModes:this.value},this.station)}static \u0275fac=function(i){return new(i||e)(E(e1))};static \u0275cmp=oe({type:e,selectors:[["app-manual-alarm-modes"]],inputs:{station:"station"},standalone:!0,features:[X,se],decls:36,vars:4,consts:[[1,"settingsItem","row","p-3"],[1,"mb-4"],[1,"d-flex","flex-column","flex-sm-row","justify-content-between","align-items-start","align-items-sm-center","mb-2"],[1,"form-check","form-switch"],["type","checkbox","role","switch","id","flexSwitchCheckDefault",1,"form-check-input",3,"change"]],template:function(i,r){1&i&&(m(0,"div",0)(1,"span",1),M(2,"Manual Alarm Trigger Modes"),v(),m(3,"div",2)(4,"span"),M(5,"HomeKit Home"),v(),m(6,"div",3)(7,"input",4),R("change",function(){return r.toggle(0),r.update()}),v()()(),m(8,"div",2)(9,"span"),M(10,"HomeKit Away"),v(),m(11,"div",3)(12,"input",4),R("change",function(){return r.toggle(1),r.update()}),v()()(),m(13,"div",2)(14,"span"),M(15,"HomeKit Night"),v(),m(16,"div",3)(17,"input",4),R("change",function(){return r.toggle(2),r.update()}),v()()(),m(18,"div",2)(19,"span"),M(20,"HomeKit Off/Disarmed"),v(),m(21,"div",3)(22,"input",4),R("change",function(){return r.toggle(3),r.update()}),v()()(),m(23,"small")(24,"i"),M(25," You can manually trigger (and reset) the stations alarm with a switch. Therefore you can utilize non eufy devices (e.g. a motion sensor, leak sensor, break-in sensor, ... from another vendor) to trigger the alarm with a homekit automation."),k(26,"p"),M(27," In order to do so, you must specify in which station mode the alarm can be triggered. "),k(28,"p"),M(29," Please be aware that this setting can only be set on a per station basis and not per automation."),k(30,"br"),M(31," By default the alarm cause will be shown as 'motion detected' in the eufy app. "),k(32,"p"),M(33," The manual alarm respects the delay alarm on leave settings from the eufy app. Triggered automations while the delay is effective will be ignored."),k(34,"br"),M(35," The native alarm delay setting is currently not supported. "),v()()()),2&i&&(C(7),W("checked",-1!==r.value.indexOf(0)||null),C(5),W("checked",-1!==r.value.indexOf(1)||null),C(5),W("checked",-1!==r.value.indexOf(2)||null),C(5),W("checked",-1!==r.value.indexOf(3)||null))},encapsulation:2})}return e})();function ADe(e,n){if(1&e&&(m(0,"div",3)(1,"div",4)(2,"b"),M(3,"Station Settings"),v(),M(4," for "),m(5,"i"),M(6),v()(),m(7,"div",5),k(8,"app-guard-modes-mapping",6)(9,"hr")(10,"app-manual-alarm-modes",6),v()()),2&e){const t=O();C(6),yc("",t.station.displayName," (",t.station.uniqueId,")"),C(2),V("station",t.station),C(2),V("station",t.station)}}function RDe(e,n){if(1&e){const t=w1();m(0,"p",7)(1,"ngb-alert",8),R("closed",function(){return be(t),we(O().failed=!1)}),zr(),m(2,"svg",9),k(3,"use",10),v(),Dr(),m(4,"strong"),M(5,"Reset was not successful!"),v()()()}2&e&&(C(),V("dismissible",!0))}const ODe=[{path:"",redirectTo:"/accessories",pathMatch:"full"},{path:"accessories",component:Gbe},{path:"advancedConfig",component:mwe},{path:"downloadLogs",component:YE},{path:"cameraConfig/:uniqueId",component:gDe},{path:"stationConfig/:uniqueId",component:(()=>{class e{pluginService;route;station;constructor(t,i){this.pluginService=t,this.route=i}ngOnInit(){const t=this.route.snapshot.paramMap.get("uniqueId");this.station=this.pluginService.getStation(t)}ignoredChanged(t){this.station.ignored=t}static \u0275fac=function(i){return new(i||e)(E(e1),E(Wn))};static \u0275cmp=oe({type:e,selectors:[["app-station-config-options"]],standalone:!0,features:[se],decls:5,vars:3,consts:[["routerLink","/accessories",1,"btn","btn-secondary","mb-3"],[3,"ignored","accessory","station"],["class","card",4,"ngIf"],[1,"card"],[1,"card-header"],[1,"card-body","pt-0","pb-4"],[3,"station"]],template:function(i,r){1&i&&(m(0,"a",0),M(1,"Back to Devices List"),v(),m(2,"app-ignore-accessory",1),R("ignored",function(o){return r.ignoredChanged(o)}),v(),k(3,"p"),j(4,ADe,11,4,"div",2)),2&i&&(C(2),V("accessory",r.station)("station",!0),C(2),V("ngIf",r.station&&!r.station.ignored))},dependencies:[jt,Z2,bI,KE,IDe],encapsulation:2})}return e})()},{path:"login",component:TDe},{path:"reset",component:(()=>{class e{routerService;pluginService;disabled=!1;failed=!1;constructor(t,i){this.routerService=t,this.pluginService=i}cancel(){this.routerService.navigateByUrl("/accessories")}resetEverything(){var t=this;return ee(function*(){t.disabled=!0;try{const i=yield window.homebridge.request("/reset");t.failed=1!==i.result}catch{t.failed=!0}t.disabled=!1,t.failed||(yield t.pluginService.updateConfig({},!0),window.homebridge.closeSettings())})()}static \u0275fac=function(i){return new(i||e)(E(O2),E(e1))};static \u0275cmp=oe({type:e,selectors:[["app-reset-confirmation"]],standalone:!0,features:[se],decls:10,vars:3,consts:[[1,"row","d-flex","justify-content-center"],["class","col-11 col-sm-7",4,"ngIf"],[1,"col-11","col-sm-7","card","p-4"],[1,"text-center","mb-4"],[1,"d-flex","flex-column","flex-sm-row","justify-content-between","align-items-center"],["type","button",1,"btn","btn-secondary","col-11","col-sm-3","mb-sm-0","mb-3",3,"click"],["type","button",1,"btn","btn-danger","col-11","col-sm-3",3,"click"],[1,"col-11","col-sm-7"],["type","danger",3,"closed","dismissible"],["width","24","height","24","role","img","aria-label","Login Error",1,"bi","flex-shrink-0","me-2"],[0,"xlink","href","#exclamation-triangle-fill"]],template:function(i,r){1&i&&(m(0,"div",0),j(1,RDe,6,1,"p",1),m(2,"div",2)(3,"h3",3),M(4,"Are you sure that you want to erase everything?"),v(),m(5,"div",4)(6,"button",5),R("click",function(){return r.cancel()}),M(7,"No"),v(),m(8,"button",6),R("click",function(){return r.resetEverything()}),M(9,"Do it!"),v()()()()),2&i&&(C(),V("ngIf",r.failed),C(5),W("disabled",!!r.disabled||null),C(2),W("disabled",!!r.disabled||null))},dependencies:[Z2,zf],encapsulation:2})}return e})()},{path:"**",redirectTo:"/accessories"}];(function fK(e,n){return D$({rootComponent:e,...Uy(n)})})(jZ,{providers:[xd(vK,V1,s4e,(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Ze({type:e});static \u0275inj=Ye({imports:[qM.forRoot(ODe,{scrollPositionRestoration:"enabled"}),qM]})}return e})(),AX),{provide:M4,useClass:ny}]}).catch(e=>console.error(e))},981:(z3,et)=>{"use strict";et.byteLength=function Be(re){var Ve=Ee(re),E1=Ve[1];return 3*(Ve[0]+E1)/4-E1},et.toByteArray=function B2(re){var Ve,s2,Qe=Ee(re),E1=Qe[0],d2=Qe[1],y1=new ee(function D(re,Ve,Qe){return 3*(Ve+Qe)/4-Qe}(0,E1,d2)),h2=0,Nt=d2>0?E1-4:E1;for(s2=0;s2<Nt;s2+=4)Ve=ye[re.charCodeAt(s2)]<<18|ye[re.charCodeAt(s2+1)]<<12|ye[re.charCodeAt(s2+2)]<<6|ye[re.charCodeAt(s2+3)],y1[h2++]=Ve>>16&255,y1[h2++]=Ve>>8&255,y1[h2++]=255&Ve;return 2===d2&&(Ve=ye[re.charCodeAt(s2)]<<2|ye[re.charCodeAt(s2+1)]>>4,y1[h2++]=255&Ve),1===d2&&(Ve=ye[re.charCodeAt(s2)]<<10|ye[re.charCodeAt(s2+1)]<<4|ye[re.charCodeAt(s2+2)]>>2,y1[h2++]=Ve>>8&255,y1[h2++]=255&Ve),y1},et.fromByteArray=function U2(re){for(var Ve,Qe=re.length,E1=Qe%3,d2=[],h2=0,Nt=Qe-E1;h2<Nt;h2+=16383)d2.push(o2(re,h2,h2+16383>Nt?Nt:h2+16383));return 1===E1?d2.push(C1[(Ve=re[Qe-1])>>2]+C1[Ve<<4&63]+"=="):2===E1&&d2.push(C1[(Ve=(re[Qe-2]<<8)+re[Qe-1])>>10]+C1[Ve>>4&63]+C1[Ve<<2&63]+"="),d2.join("")};for(var C1=[],ye=[],ee=typeof Uint8Array<"u"?Uint8Array:Array,q1="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",_e=0;_e<64;++_e)C1[_e]=q1[_e],ye[q1.charCodeAt(_e)]=_e;function Ee(re){var Ve=re.length;if(Ve%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var Qe=re.indexOf("=");return-1===Qe&&(Qe=Ve),[Qe,Qe===Ve?0:4-Qe%4]}function x1(re){return C1[re>>18&63]+C1[re>>12&63]+C1[re>>6&63]+C1[63&re]}function o2(re,Ve,Qe){for(var d2=[],y1=Ve;y1<Qe;y1+=3)d2.push(x1((re[y1]<<16&16711680)+(re[y1+1]<<8&65280)+(255&re[y1+2])));return d2.join("")}ye[45]=62,ye[95]=63},838:(z3,et,C1)=>{"use strict";const ee=C1(981),q1=C1(20),_e="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;et.hp=D,et.IS=50;const t1=2147483647;function Be(_){if(_>t1)throw new RangeError('The value "'+_+'" is invalid for option "size"');const d=new Uint8Array(_);return Object.setPrototypeOf(d,D.prototype),d}function D(_,d,h){if("number"==typeof _){if("string"==typeof d)throw new TypeError('The "string" argument must be of type string. Received type number');return U2(_)}return B2(_,d,h)}function B2(_,d,h){if("string"==typeof _)return function re(_,d){if(("string"!=typeof d||""===d)&&(d="utf8"),!D.isEncoding(d))throw new TypeError("Unknown encoding: "+d);const h=0|Nt(_,d);let y=Be(h);const z=y.write(_,d);return z!==h&&(y=y.slice(0,z)),y}(_,d);if(ArrayBuffer.isView(_))return function Qe(_){if(tt(_,Uint8Array)){const d=new Uint8Array(_);return E1(d.buffer,d.byteOffset,d.byteLength)}return Ve(_)}(_);if(null==_)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof _);if(tt(_,ArrayBuffer)||_&&tt(_.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(tt(_,SharedArrayBuffer)||_&&tt(_.buffer,SharedArrayBuffer)))return E1(_,d,h);if("number"==typeof _)throw new TypeError('The "value" argument must not be of type number. Received type number');const y=_.valueOf&&_.valueOf();if(null!=y&&y!==_)return D.from(y,d,h);const z=function d2(_){if(D.isBuffer(_)){const d=0|y1(_.length),h=Be(d);return 0===h.length||_.copy(h,0,0,d),h}return void 0!==_.length?"number"!=typeof _.length||xn(_.length)?Be(0):Ve(_):"Buffer"===_.type&&Array.isArray(_.data)?Ve(_.data):void 0}(_);if(z)return z;if(typeof Symbol<"u"&&null!=Symbol.toPrimitive&&"function"==typeof _[Symbol.toPrimitive])return D.from(_[Symbol.toPrimitive]("string"),d,h);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof _)}function x1(_){if("number"!=typeof _)throw new TypeError('"size" argument must be of type number');if(_<0)throw new RangeError('The value "'+_+'" is invalid for option "size"')}function U2(_){return x1(_),Be(_<0?0:0|y1(_))}function Ve(_){const d=_.length<0?0:0|y1(_.length),h=Be(d);for(let y=0;y<d;y+=1)h[y]=255&_[y];return h}function E1(_,d,h){if(d<0||_.byteLength<d)throw new RangeError('"offset" is outside of buffer bounds');if(_.byteLength<d+(h||0))throw new RangeError('"length" is outside of buffer bounds');let y;return y=void 0===d&&void 0===h?new Uint8Array(_):void 0===h?new Uint8Array(_,d):new Uint8Array(_,d,h),Object.setPrototypeOf(y,D.prototype),y}function y1(_){if(_>=t1)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+t1.toString(16)+" bytes");return 0|_}function Nt(_,d){if(D.isBuffer(_))return _.length;if(ArrayBuffer.isView(_)||tt(_,ArrayBuffer))return _.byteLength;if("string"!=typeof _)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof _);const h=_.length,y=arguments.length>2&&!0===arguments[2];if(!y&&0===h)return 0;let z=!1;for(;;)switch(d){case"ascii":case"latin1":case"binary":return h;case"utf8":case"utf-8":return N3(_).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*h;case"hex":return h>>>1;case"base64":return Jt(_).length;default:if(z)return y?-1:N3(_).length;d=(""+d).toLowerCase(),z=!0}}function s2(_,d,h){let y=!1;if((void 0===d||d<0)&&(d=0),d>this.length||((void 0===h||h>this.length)&&(h=this.length),h<=0)||(h>>>=0)<=(d>>>=0))return"";for(_||(_="utf8");;)switch(_){case"hex":return k0(this,d,h);case"utf8":case"utf-8":return Ao(this,d,h);case"ascii":return Ro(this,d,h);case"latin1":case"binary":return Oo(this,d,h);case"base64":return J9(this,d,h);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ur(this,d,h);default:if(y)throw new TypeError("Unknown encoding: "+_);_=(_+"").toLowerCase(),y=!0}}function Qt(_,d,h){const y=_[d];_[d]=_[h],_[h]=y}function lr(_,d,h,y,z){if(0===_.length)return-1;if("string"==typeof h?(y=h,h=0):h>2147483647?h=2147483647:h<-2147483648&&(h=-2147483648),xn(h=+h)&&(h=z?0:_.length-1),h<0&&(h=_.length+h),h>=_.length){if(z)return-1;h=_.length-1}else if(h<0){if(!z)return-1;h=0}if("string"==typeof d&&(d=D.from(d,y)),D.isBuffer(d))return 0===d.length?-1:I4(_,d,h,y,z);if("number"==typeof d)return d&=255,"function"==typeof Uint8Array.prototype.indexOf?z?Uint8Array.prototype.indexOf.call(_,d,h):Uint8Array.prototype.lastIndexOf.call(_,d,h):I4(_,[d],h,y,z);throw new TypeError("val must be string, number or Buffer")}function I4(_,d,h,y,z){let We,x=1,I=_.length,Me=d.length;if(void 0!==y&&("ucs2"===(y=String(y).toLowerCase())||"ucs-2"===y||"utf16le"===y||"utf-16le"===y)){if(_.length<2||d.length<2)return-1;x=2,I/=2,Me/=2,h/=2}function r1(M1,Re){return 1===x?M1[Re]:M1.readUInt16BE(Re*x)}if(z){let M1=-1;for(We=h;We<I;We++)if(r1(_,We)===r1(d,-1===M1?0:We-M1)){if(-1===M1&&(M1=We),We-M1+1===Me)return M1*x}else-1!==M1&&(We-=We-M1),M1=-1}else for(h+Me>I&&(h=I-Me),We=h;We>=0;We--){let M1=!0;for(let Re=0;Re<Me;Re++)if(r1(_,We+Re)!==r1(d,Re)){M1=!1;break}if(M1)return We}return-1}function A4(_,d,h,y){h=Number(h)||0;const z=_.length-h;y?(y=Number(y))>z&&(y=z):y=z;const x=d.length;let I;for(y>x/2&&(y=x/2),I=0;I<y;++I){const Me=parseInt(d.substr(2*I,2),16);if(xn(Me))return I;_[h+I]=Me}return I}function i4(_,d,h,y){return Ln(N3(d,_.length-h),_,h,y)}function Io(_,d,h,y){return Ln(function jo(_){const d=[];for(let h=0;h<_.length;++h)d.push(255&_.charCodeAt(h));return d}(d),_,h,y)}function Q9(_,d,h,y){return Ln(Jt(d),_,h,y)}function Z9(_,d,h,y){return Ln(function Go(_,d){let h,y,z;const x=[];for(let I=0;I<_.length&&!((d-=2)<0);++I)h=_.charCodeAt(I),y=h>>8,z=h%256,x.push(z),x.push(y);return x}(d,_.length-h),_,h,y)}function J9(_,d,h){return ee.fromByteArray(0===d&&h===_.length?_:_.slice(d,h))}function Ao(_,d,h){h=Math.min(_.length,h);const y=[];let z=d;for(;z<h;){const x=_[z];let I=null,Me=x>239?4:x>223?3:x>191?2:1;if(z+Me<=h){let r1,We,M1,Re;switch(Me){case 1:x<128&&(I=x);break;case 2:r1=_[z+1],128==(192&r1)&&(Re=(31&x)<<6|63&r1,Re>127&&(I=Re));break;case 3:r1=_[z+1],We=_[z+2],128==(192&r1)&&128==(192&We)&&(Re=(15&x)<<12|(63&r1)<<6|63&We,Re>2047&&(Re<55296||Re>57343)&&(I=Re));break;case 4:r1=_[z+1],We=_[z+2],M1=_[z+3],128==(192&r1)&&128==(192&We)&&128==(192&M1)&&(Re=(15&x)<<18|(63&r1)<<12|(63&We)<<6|63&M1,Re>65535&&Re<1114112&&(I=Re))}}null===I?(I=65533,Me=1):I>65535&&(I-=65536,y.push(I>>>10&1023|55296),I=56320|1023&I),y.push(I),z+=Me}return function X9(_){const d=_.length;if(d<=ko)return String.fromCharCode.apply(String,_);let h="",y=0;for(;y<d;)h+=String.fromCharCode.apply(String,_.slice(y,y+=ko));return h}(y)}!(D.TYPED_ARRAY_SUPPORT=function Ee(){try{const _=new Uint8Array(1),d={foo:function(){return 42}};return Object.setPrototypeOf(d,Uint8Array.prototype),Object.setPrototypeOf(_,d),42===_.foo()}catch{return!1}}())&&typeof console<"u"&&"function"==typeof console.error&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(D.prototype,"parent",{enumerable:!0,get:function(){if(D.isBuffer(this))return this.buffer}}),Object.defineProperty(D.prototype,"offset",{enumerable:!0,get:function(){if(D.isBuffer(this))return this.byteOffset}}),D.poolSize=8192,D.from=function(_,d,h){return B2(_,d,h)},Object.setPrototypeOf(D.prototype,Uint8Array.prototype),Object.setPrototypeOf(D,Uint8Array),D.alloc=function(_,d,h){return function o2(_,d,h){return x1(_),_<=0?Be(_):void 0!==d?"string"==typeof h?Be(_).fill(d,h):Be(_).fill(d):Be(_)}(_,d,h)},D.allocUnsafe=function(_){return U2(_)},D.allocUnsafeSlow=function(_){return U2(_)},D.isBuffer=function(d){return null!=d&&!0===d._isBuffer&&d!==D.prototype},D.compare=function(d,h){if(tt(d,Uint8Array)&&(d=D.from(d,d.offset,d.byteLength)),tt(h,Uint8Array)&&(h=D.from(h,h.offset,h.byteLength)),!D.isBuffer(d)||!D.isBuffer(h))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(d===h)return 0;let y=d.length,z=h.length;for(let x=0,I=Math.min(y,z);x<I;++x)if(d[x]!==h[x]){y=d[x],z=h[x];break}return y<z?-1:z<y?1:0},D.isEncoding=function(d){switch(String(d).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},D.concat=function(d,h){if(!Array.isArray(d))throw new TypeError('"list" argument must be an Array of Buffers');if(0===d.length)return D.alloc(0);let y;if(void 0===h)for(h=0,y=0;y<d.length;++y)h+=d[y].length;const z=D.allocUnsafe(h);let x=0;for(y=0;y<d.length;++y){let I=d[y];if(tt(I,Uint8Array))x+I.length>z.length?(D.isBuffer(I)||(I=D.from(I)),I.copy(z,x)):Uint8Array.prototype.set.call(z,I,x);else{if(!D.isBuffer(I))throw new TypeError('"list" argument must be an Array of Buffers');I.copy(z,x)}x+=I.length}return z},D.byteLength=Nt,D.prototype._isBuffer=!0,D.prototype.swap16=function(){const d=this.length;if(d%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let h=0;h<d;h+=2)Qt(this,h,h+1);return this},D.prototype.swap32=function(){const d=this.length;if(d%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let h=0;h<d;h+=4)Qt(this,h,h+3),Qt(this,h+1,h+2);return this},D.prototype.swap64=function(){const d=this.length;if(d%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let h=0;h<d;h+=8)Qt(this,h,h+7),Qt(this,h+1,h+6),Qt(this,h+2,h+5),Qt(this,h+3,h+4);return this},D.prototype.toLocaleString=D.prototype.toString=function(){const d=this.length;return 0===d?"":0===arguments.length?Ao(this,0,d):s2.apply(this,arguments)},D.prototype.equals=function(d){if(!D.isBuffer(d))throw new TypeError("Argument must be a Buffer");return this===d||0===D.compare(this,d)},D.prototype.inspect=function(){let d="";const h=et.IS;return d=this.toString("hex",0,h).replace(/(.{2})/g,"$1 ").trim(),this.length>h&&(d+=" ... "),"<Buffer "+d+">"},_e&&(D.prototype[_e]=D.prototype.inspect),D.prototype.compare=function(d,h,y,z,x){if(tt(d,Uint8Array)&&(d=D.from(d,d.offset,d.byteLength)),!D.isBuffer(d))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof d);if(void 0===h&&(h=0),void 0===y&&(y=d?d.length:0),void 0===z&&(z=0),void 0===x&&(x=this.length),h<0||y>d.length||z<0||x>this.length)throw new RangeError("out of range index");if(z>=x&&h>=y)return 0;if(z>=x)return-1;if(h>=y)return 1;if(this===d)return 0;let I=(x>>>=0)-(z>>>=0),Me=(y>>>=0)-(h>>>=0);const r1=Math.min(I,Me),We=this.slice(z,x),M1=d.slice(h,y);for(let Re=0;Re<r1;++Re)if(We[Re]!==M1[Re]){I=We[Re],Me=M1[Re];break}return I<Me?-1:Me<I?1:0},D.prototype.includes=function(d,h,y){return-1!==this.indexOf(d,h,y)},D.prototype.indexOf=function(d,h,y){return lr(this,d,h,y,!0)},D.prototype.lastIndexOf=function(d,h,y){return lr(this,d,h,y,!1)},D.prototype.write=function(d,h,y,z){if(void 0===h)z="utf8",y=this.length,h=0;else if(void 0===y&&"string"==typeof h)z=h,y=this.length,h=0;else{if(!isFinite(h))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");h>>>=0,isFinite(y)?(y>>>=0,void 0===z&&(z="utf8")):(z=y,y=void 0)}const x=this.length-h;if((void 0===y||y>x)&&(y=x),d.length>0&&(y<0||h<0)||h>this.length)throw new RangeError("Attempt to write outside buffer bounds");z||(z="utf8");let I=!1;for(;;)switch(z){case"hex":return A4(this,d,h,y);case"utf8":case"utf-8":return i4(this,d,h,y);case"ascii":case"latin1":case"binary":return Io(this,d,h,y);case"base64":return Q9(this,d,h,y);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Z9(this,d,h,y);default:if(I)throw new TypeError("Unknown encoding: "+z);z=(""+z).toLowerCase(),I=!0}},D.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const ko=4096;function Ro(_,d,h){let y="";h=Math.min(_.length,h);for(let z=d;z<h;++z)y+=String.fromCharCode(127&_[z]);return y}function Oo(_,d,h){let y="";h=Math.min(_.length,h);for(let z=d;z<h;++z)y+=String.fromCharCode(_[z]);return y}function k0(_,d,h){const y=_.length;(!d||d<0)&&(d=0),(!h||h<0||h>y)&&(h=y);let z="";for(let x=d;x<h;++x)z+=P0[_[x]];return z}function ur(_,d,h){const y=_.slice(d,h);let z="";for(let x=0;x<y.length-1;x+=2)z+=String.fromCharCode(y[x]+256*y[x+1]);return z}function Y1(_,d,h){if(_%1!=0||_<0)throw new RangeError("offset is not uint");if(_+d>h)throw new RangeError("Trying to access beyond buffer length")}function x2(_,d,h,y,z,x){if(!D.isBuffer(_))throw new TypeError('"buffer" argument must be a Buffer instance');if(d>z||d<x)throw new RangeError('"value" argument is out of bounds');if(h+y>_.length)throw new RangeError("Index out of range")}function R0(_,d,h,y,z){Le(d,y,z,_,h,7);let x=Number(d&BigInt(4294967295));_[h++]=x,x>>=8,_[h++]=x,x>>=8,_[h++]=x,x>>=8,_[h++]=x;let I=Number(d>>BigInt(32)&BigInt(4294967295));return _[h++]=I,I>>=8,_[h++]=I,I>>=8,_[h++]=I,I>>=8,_[h++]=I,h}function Po(_,d,h,y,z){Le(d,y,z,_,h,7);let x=Number(d&BigInt(4294967295));_[h+7]=x,x>>=8,_[h+6]=x,x>>=8,_[h+5]=x,x>>=8,_[h+4]=x;let I=Number(d>>BigInt(32)&BigInt(4294967295));return _[h+3]=I,I>>=8,_[h+2]=I,I>>=8,_[h+1]=I,I>>=8,_[h]=I,h+8}function O0(_,d,h,y,z,x){if(h+y>_.length)throw new RangeError("Index out of range");if(h<0)throw new RangeError("Index out of range")}function Fo(_,d,h,y,z){return d=+d,h>>>=0,z||O0(_,0,h,4),q1.write(_,d,h,y,23,4),h+4}function Bo(_,d,h,y,z){return d=+d,h>>>=0,z||O0(_,0,h,8),q1.write(_,d,h,y,52,8),h+8}D.prototype.slice=function(d,h){const y=this.length;(d=~~d)<0?(d+=y)<0&&(d=0):d>y&&(d=y),(h=void 0===h?y:~~h)<0?(h+=y)<0&&(h=0):h>y&&(h=y),h<d&&(h=d);const z=this.subarray(d,h);return Object.setPrototypeOf(z,D.prototype),z},D.prototype.readUintLE=D.prototype.readUIntLE=function(d,h,y){d>>>=0,h>>>=0,y||Y1(d,h,this.length);let z=this[d],x=1,I=0;for(;++I<h&&(x*=256);)z+=this[d+I]*x;return z},D.prototype.readUintBE=D.prototype.readUIntBE=function(d,h,y){d>>>=0,h>>>=0,y||Y1(d,h,this.length);let z=this[d+--h],x=1;for(;h>0&&(x*=256);)z+=this[d+--h]*x;return z},D.prototype.readUint8=D.prototype.readUInt8=function(d,h){return d>>>=0,h||Y1(d,1,this.length),this[d]},D.prototype.readUint16LE=D.prototype.readUInt16LE=function(d,h){return d>>>=0,h||Y1(d,2,this.length),this[d]|this[d+1]<<8},D.prototype.readUint16BE=D.prototype.readUInt16BE=function(d,h){return d>>>=0,h||Y1(d,2,this.length),this[d]<<8|this[d+1]},D.prototype.readUint32LE=D.prototype.readUInt32LE=function(d,h){return d>>>=0,h||Y1(d,4,this.length),(this[d]|this[d+1]<<8|this[d+2]<<16)+16777216*this[d+3]},D.prototype.readUint32BE=D.prototype.readUInt32BE=function(d,h){return d>>>=0,h||Y1(d,4,this.length),16777216*this[d]+(this[d+1]<<16|this[d+2]<<8|this[d+3])},D.prototype.readBigUInt64LE=Xt(function(d){Zt(d>>>=0,"offset");const h=this[d],y=this[d+7];(void 0===h||void 0===y)&&Nn(d,this.length-8);const z=h+256*this[++d]+65536*this[++d]+this[++d]*2**24,x=this[++d]+256*this[++d]+65536*this[++d]+y*2**24;return BigInt(z)+(BigInt(x)<<BigInt(32))}),D.prototype.readBigUInt64BE=Xt(function(d){Zt(d>>>=0,"offset");const h=this[d],y=this[d+7];(void 0===h||void 0===y)&&Nn(d,this.length-8);const z=h*2**24+65536*this[++d]+256*this[++d]+this[++d],x=this[++d]*2**24+65536*this[++d]+256*this[++d]+y;return(BigInt(z)<<BigInt(32))+BigInt(x)}),D.prototype.readIntLE=function(d,h,y){d>>>=0,h>>>=0,y||Y1(d,h,this.length);let z=this[d],x=1,I=0;for(;++I<h&&(x*=256);)z+=this[d+I]*x;return x*=128,z>=x&&(z-=Math.pow(2,8*h)),z},D.prototype.readIntBE=function(d,h,y){d>>>=0,h>>>=0,y||Y1(d,h,this.length);let z=h,x=1,I=this[d+--z];for(;z>0&&(x*=256);)I+=this[d+--z]*x;return x*=128,I>=x&&(I-=Math.pow(2,8*h)),I},D.prototype.readInt8=function(d,h){return d>>>=0,h||Y1(d,1,this.length),128&this[d]?-1*(255-this[d]+1):this[d]},D.prototype.readInt16LE=function(d,h){d>>>=0,h||Y1(d,2,this.length);const y=this[d]|this[d+1]<<8;return 32768&y?4294901760|y:y},D.prototype.readInt16BE=function(d,h){d>>>=0,h||Y1(d,2,this.length);const y=this[d+1]|this[d]<<8;return 32768&y?4294901760|y:y},D.prototype.readInt32LE=function(d,h){return d>>>=0,h||Y1(d,4,this.length),this[d]|this[d+1]<<8|this[d+2]<<16|this[d+3]<<24},D.prototype.readInt32BE=function(d,h){return d>>>=0,h||Y1(d,4,this.length),this[d]<<24|this[d+1]<<16|this[d+2]<<8|this[d+3]},D.prototype.readBigInt64LE=Xt(function(d){Zt(d>>>=0,"offset");const h=this[d],y=this[d+7];return(void 0===h||void 0===y)&&Nn(d,this.length-8),(BigInt(this[d+4]+256*this[d+5]+65536*this[d+6]+(y<<24))<<BigInt(32))+BigInt(h+256*this[++d]+65536*this[++d]+this[++d]*2**24)}),D.prototype.readBigInt64BE=Xt(function(d){Zt(d>>>=0,"offset");const h=this[d],y=this[d+7];(void 0===h||void 0===y)&&Nn(d,this.length-8);const z=(h<<24)+65536*this[++d]+256*this[++d]+this[++d];return(BigInt(z)<<BigInt(32))+BigInt(this[++d]*2**24+65536*this[++d]+256*this[++d]+y)}),D.prototype.readFloatLE=function(d,h){return d>>>=0,h||Y1(d,4,this.length),q1.read(this,d,!0,23,4)},D.prototype.readFloatBE=function(d,h){return d>>>=0,h||Y1(d,4,this.length),q1.read(this,d,!1,23,4)},D.prototype.readDoubleLE=function(d,h){return d>>>=0,h||Y1(d,8,this.length),q1.read(this,d,!0,52,8)},D.prototype.readDoubleBE=function(d,h){return d>>>=0,h||Y1(d,8,this.length),q1.read(this,d,!1,52,8)},D.prototype.writeUintLE=D.prototype.writeUIntLE=function(d,h,y,z){d=+d,h>>>=0,y>>>=0,z||x2(this,d,h,y,Math.pow(2,8*y)-1,0);let x=1,I=0;for(this[h]=255&d;++I<y&&(x*=256);)this[h+I]=d/x&255;return h+y},D.prototype.writeUintBE=D.prototype.writeUIntBE=function(d,h,y,z){d=+d,h>>>=0,y>>>=0,z||x2(this,d,h,y,Math.pow(2,8*y)-1,0);let x=y-1,I=1;for(this[h+x]=255&d;--x>=0&&(I*=256);)this[h+x]=d/I&255;return h+y},D.prototype.writeUint8=D.prototype.writeUInt8=function(d,h,y){return d=+d,h>>>=0,y||x2(this,d,h,1,255,0),this[h]=255&d,h+1},D.prototype.writeUint16LE=D.prototype.writeUInt16LE=function(d,h,y){return d=+d,h>>>=0,y||x2(this,d,h,2,65535,0),this[h]=255&d,this[h+1]=d>>>8,h+2},D.prototype.writeUint16BE=D.prototype.writeUInt16BE=function(d,h,y){return d=+d,h>>>=0,y||x2(this,d,h,2,65535,0),this[h]=d>>>8,this[h+1]=255&d,h+2},D.prototype.writeUint32LE=D.prototype.writeUInt32LE=function(d,h,y){return d=+d,h>>>=0,y||x2(this,d,h,4,4294967295,0),this[h+3]=d>>>24,this[h+2]=d>>>16,this[h+1]=d>>>8,this[h]=255&d,h+4},D.prototype.writeUint32BE=D.prototype.writeUInt32BE=function(d,h,y){return d=+d,h>>>=0,y||x2(this,d,h,4,4294967295,0),this[h]=d>>>24,this[h+1]=d>>>16,this[h+2]=d>>>8,this[h+3]=255&d,h+4},D.prototype.writeBigUInt64LE=Xt(function(d,h=0){return R0(this,d,h,BigInt(0),BigInt("0xffffffffffffffff"))}),D.prototype.writeBigUInt64BE=Xt(function(d,h=0){return Po(this,d,h,BigInt(0),BigInt("0xffffffffffffffff"))}),D.prototype.writeIntLE=function(d,h,y,z){if(d=+d,h>>>=0,!z){const r1=Math.pow(2,8*y-1);x2(this,d,h,y,r1-1,-r1)}let x=0,I=1,Me=0;for(this[h]=255&d;++x<y&&(I*=256);)d<0&&0===Me&&0!==this[h+x-1]&&(Me=1),this[h+x]=(d/I|0)-Me&255;return h+y},D.prototype.writeIntBE=function(d,h,y,z){if(d=+d,h>>>=0,!z){const r1=Math.pow(2,8*y-1);x2(this,d,h,y,r1-1,-r1)}let x=y-1,I=1,Me=0;for(this[h+x]=255&d;--x>=0&&(I*=256);)d<0&&0===Me&&0!==this[h+x+1]&&(Me=1),this[h+x]=(d/I|0)-Me&255;return h+y},D.prototype.writeInt8=function(d,h,y){return d=+d,h>>>=0,y||x2(this,d,h,1,127,-128),d<0&&(d=255+d+1),this[h]=255&d,h+1},D.prototype.writeInt16LE=function(d,h,y){return d=+d,h>>>=0,y||x2(this,d,h,2,32767,-32768),this[h]=255&d,this[h+1]=d>>>8,h+2},D.prototype.writeInt16BE=function(d,h,y){return d=+d,h>>>=0,y||x2(this,d,h,2,32767,-32768),this[h]=d>>>8,this[h+1]=255&d,h+2},D.prototype.writeInt32LE=function(d,h,y){return d=+d,h>>>=0,y||x2(this,d,h,4,2147483647,-2147483648),this[h]=255&d,this[h+1]=d>>>8,this[h+2]=d>>>16,this[h+3]=d>>>24,h+4},D.prototype.writeInt32BE=function(d,h,y){return d=+d,h>>>=0,y||x2(this,d,h,4,2147483647,-2147483648),d<0&&(d=4294967295+d+1),this[h]=d>>>24,this[h+1]=d>>>16,this[h+2]=d>>>8,this[h+3]=255&d,h+4},D.prototype.writeBigInt64LE=Xt(function(d,h=0){return R0(this,d,h,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),D.prototype.writeBigInt64BE=Xt(function(d,h=0){return Po(this,d,h,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),D.prototype.writeFloatLE=function(d,h,y){return Fo(this,d,h,!0,y)},D.prototype.writeFloatBE=function(d,h,y){return Fo(this,d,h,!1,y)},D.prototype.writeDoubleLE=function(d,h,y){return Bo(this,d,h,!0,y)},D.prototype.writeDoubleBE=function(d,h,y){return Bo(this,d,h,!1,y)},D.prototype.copy=function(d,h,y,z){if(!D.isBuffer(d))throw new TypeError("argument should be a Buffer");if(y||(y=0),!z&&0!==z&&(z=this.length),h>=d.length&&(h=d.length),h||(h=0),z>0&&z<y&&(z=y),z===y||0===d.length||0===this.length)return 0;if(h<0)throw new RangeError("targetStart out of bounds");if(y<0||y>=this.length)throw new RangeError("Index out of range");if(z<0)throw new RangeError("sourceEnd out of bounds");z>this.length&&(z=this.length),d.length-h<z-y&&(z=d.length-h+y);const x=z-y;return this===d&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(h,y,z):Uint8Array.prototype.set.call(d,this.subarray(y,z),h),x},D.prototype.fill=function(d,h,y,z){if("string"==typeof d){if("string"==typeof h?(z=h,h=0,y=this.length):"string"==typeof y&&(z=y,y=this.length),void 0!==z&&"string"!=typeof z)throw new TypeError("encoding must be a string");if("string"==typeof z&&!D.isEncoding(z))throw new TypeError("Unknown encoding: "+z);if(1===d.length){const I=d.charCodeAt(0);("utf8"===z&&I<128||"latin1"===z)&&(d=I)}}else"number"==typeof d?d&=255:"boolean"==typeof d&&(d=Number(d));if(h<0||this.length<h||this.length<y)throw new RangeError("Out of range index");if(y<=h)return this;let x;if(h>>>=0,y=void 0===y?this.length:y>>>0,d||(d=0),"number"==typeof d)for(x=h;x<y;++x)this[x]=d;else{const I=D.isBuffer(d)?d:D.from(d,z),Me=I.length;if(0===Me)throw new TypeError('The value "'+d+'" is invalid for argument "value"');for(x=0;x<y-h;++x)this[x+h]=I[x%Me]}return this};const k4={};function D3(_,d,h){k4[_]=class extends h{constructor(){super(),Object.defineProperty(this,"message",{value:d.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${_}]`,delete this.name}get code(){return _}set code(z){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:z,writable:!0})}toString(){return`${this.name} [${_}]: ${this.message}`}}}function Uo(_){let d="",h=_.length;const y="-"===_[0]?1:0;for(;h>=y+4;h-=3)d=`_${_.slice(h-3,h)}${d}`;return`${_.slice(0,h)}${d}`}function Le(_,d,h,y,z,x){if(_>h||_<d){const I="bigint"==typeof d?"n":"";let Me;throw Me=x>3?0===d||d===BigInt(0)?`>= 0${I} and < 2${I} ** ${8*(x+1)}${I}`:`>= -(2${I} ** ${8*(x+1)-1}${I}) and < 2 ** ${8*(x+1)-1}${I}`:`>= ${d}${I} and <= ${h}${I}`,new k4.ERR_OUT_OF_RANGE("value",Me,_)}!function ed(_,d,h){Zt(d,"offset"),(void 0===_[d]||void 0===_[d+h])&&Nn(d,_.length-(h+1))}(y,z,x)}function Zt(_,d){if("number"!=typeof _)throw new k4.ERR_INVALID_ARG_TYPE(d,"number",_)}function Nn(_,d,h){throw Math.floor(_)!==_?(Zt(_,h),new k4.ERR_OUT_OF_RANGE(h||"offset","an integer",_)):d<0?new k4.ERR_BUFFER_OUT_OF_BOUNDS:new k4.ERR_OUT_OF_RANGE(h||"offset",`>= ${h?1:0} and <= ${d}`,_)}D3("ERR_BUFFER_OUT_OF_BOUNDS",function(_){return _?`${_} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),D3("ERR_INVALID_ARG_TYPE",function(_,d){return`The "${_}" argument must be of type number. Received type ${typeof d}`},TypeError),D3("ERR_OUT_OF_RANGE",function(_,d,h){let y=`The value of "${_}" is out of range.`,z=h;return Number.isInteger(h)&&Math.abs(h)>2**32?z=Uo(String(h)):"bigint"==typeof h&&(z=String(h),(h>BigInt(2)**BigInt(32)||h<-(BigInt(2)**BigInt(32)))&&(z=Uo(z)),z+="n"),y+=` It must be ${d}. Received ${z}`,y},RangeError);const S3=/[^+/0-9A-Za-z-_]/g;function N3(_,d){let h;d=d||1/0;const y=_.length;let z=null;const x=[];for(let I=0;I<y;++I){if(h=_.charCodeAt(I),h>55295&&h<57344){if(!z){if(h>56319){(d-=3)>-1&&x.push(239,191,189);continue}if(I+1===y){(d-=3)>-1&&x.push(239,191,189);continue}z=h;continue}if(h<56320){(d-=3)>-1&&x.push(239,191,189),z=h;continue}h=65536+(z-55296<<10|h-56320)}else z&&(d-=3)>-1&&x.push(239,191,189);if(z=null,h<128){if((d-=1)<0)break;x.push(h)}else if(h<2048){if((d-=2)<0)break;x.push(h>>6|192,63&h|128)}else if(h<65536){if((d-=3)<0)break;x.push(h>>12|224,h>>6&63|128,63&h|128)}else{if(!(h<1114112))throw new Error("Invalid code point");if((d-=4)<0)break;x.push(h>>18|240,h>>12&63|128,h>>6&63|128,63&h|128)}}return x}function Jt(_){return ee.toByteArray(function p2(_){if((_=(_=_.split("=")[0]).trim().replace(S3,"")).length<2)return"";for(;_.length%4!=0;)_+="=";return _}(_))}function Ln(_,d,h,y){let z;for(z=0;z<y&&!(z+h>=d.length||z>=_.length);++z)d[z+h]=_[z];return z}function tt(_,d){return _ instanceof d||null!=_&&null!=_.constructor&&null!=_.constructor.name&&_.constructor.name===d.name}function xn(_){return _!=_}const P0=function(){const _="0123456789abcdef",d=new Array(256);for(let h=0;h<16;++h){const y=16*h;for(let z=0;z<16;++z)d[y+z]=_[h]+_[z]}return d}();function Xt(_){return typeof BigInt>"u"?F0:_}function F0(){throw new Error("BigInt not supported")}},20:(z3,et)=>{et.read=function(C1,ye,ee,q1,_e){var t1,Ee,Be=8*_e-q1-1,D=(1<<Be)-1,B2=D>>1,x1=-7,o2=ee?_e-1:0,U2=ee?-1:1,re=C1[ye+o2];for(o2+=U2,t1=re&(1<<-x1)-1,re>>=-x1,x1+=Be;x1>0;t1=256*t1+C1[ye+o2],o2+=U2,x1-=8);for(Ee=t1&(1<<-x1)-1,t1>>=-x1,x1+=q1;x1>0;Ee=256*Ee+C1[ye+o2],o2+=U2,x1-=8);if(0===t1)t1=1-B2;else{if(t1===D)return Ee?NaN:1/0*(re?-1:1);Ee+=Math.pow(2,q1),t1-=B2}return(re?-1:1)*Ee*Math.pow(2,t1-q1)},et.write=function(C1,ye,ee,q1,_e,t1){var Ee,Be,D,B2=8*t1-_e-1,x1=(1<<B2)-1,o2=x1>>1,U2=23===_e?Math.pow(2,-24)-Math.pow(2,-77):0,re=q1?0:t1-1,Ve=q1?1:-1,Qe=ye<0||0===ye&&1/ye<0?1:0;for(ye=Math.abs(ye),isNaN(ye)||ye===1/0?(Be=isNaN(ye)?1:0,Ee=x1):(Ee=Math.floor(Math.log(ye)/Math.LN2),ye*(D=Math.pow(2,-Ee))<1&&(Ee--,D*=2),(ye+=Ee+o2>=1?U2/D:U2*Math.pow(2,1-o2))*D>=2&&(Ee++,D/=2),Ee+o2>=x1?(Be=0,Ee=x1):Ee+o2>=1?(Be=(ye*D-1)*Math.pow(2,_e),Ee+=o2):(Be=ye*Math.pow(2,o2-1)*Math.pow(2,_e),Ee=0));_e>=8;C1[ee+re]=255&Be,re+=Ve,Be/=256,_e-=8);for(Ee=Ee<<_e|Be,B2+=_e;B2>0;C1[ee+re]=255&Ee,re+=Ve,Ee/=256,B2-=8);C1[ee+re-Ve]|=128*Qe}}},z3=>{z3(z3.s=947)}]);