homebridge-eufy-security
Version:
Control Eufy Security from homebridge.
1 lines • 510 kB
JavaScript
(self.webpackChunkconfig_ui=self.webpackChunkconfig_ui||[]).push([[792],{283:(Ta,Qn,vt)=>{"use strict";function _e(e,n){return Object.is(e,n)}let Pe=null,kt=!1,tt=1;const Ie=Symbol("SIGNAL");function W(e){const n=Pe;return Pe=e,n}const lt={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:()=>{}};function At(e){if(kt)throw new Error("");if(null===Pe)return;Pe.consumerOnSignalRead(e);const n=Pe.nextProducerIndex++;Io(Pe),n<Pe.producerNode.length&&Pe.producerNode[n]!==e&&Wr(Pe)&&ki(Pe.producerNode[n],Pe.producerIndexOfThis[n]),Pe.producerNode[n]!==e&&(Pe.producerNode[n]=e,Pe.producerIndexOfThis[n]=Wr(Pe)?hn(e,Pe,n):0),Pe.producerLastReadVersion[n]=e.version}function ae(e){if((!Wr(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==tt)){if(!e.producerMustRecompute(e)&&!sn(e))return e.dirty=!1,void(e.lastCleanEpoch=tt);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=tt}}function Ce(e){if(void 0===e.liveConsumerNode)return;const n=kt;kt=!0;try{for(const t of e.liveConsumerNode)t.dirty||xt(t)}finally{kt=n}}function Ze(){return!1!==Pe?.consumerAllowSignalWrites}function xt(e){e.dirty=!0,Ce(e),e.consumerMarkedDirty?.(e)}function Wt(e){return e&&(e.nextProducerIndex=0),W(e)}function dt(e,n){if(W(n),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(Wr(e))for(let t=e.nextProducerIndex;t<e.producerNode.length;t++)ki(e.producerNode[t],e.producerIndexOfThis[t]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function sn(e){Io(e);for(let n=0;n<e.producerNode.length;n++){const t=e.producerNode[n],i=e.producerLastReadVersion[n];if(i!==t.version||(ae(t),i!==t.version))return!0}return!1}function vi(e){if(Io(e),Wr(e))for(let n=0;n<e.producerNode.length;n++)ki(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)}function hn(e,n,t){if(kd(e),0===e.liveConsumerNode.length&&_d(e))for(let i=0;i<e.producerNode.length;i++)e.producerIndexOfThis[i]=hn(e.producerNode[i],e,i);return e.liveConsumerIndexOfThis.push(t),e.liveConsumerNode.push(n)-1}function ki(e,n){if(kd(e),1===e.liveConsumerNode.length&&_d(e))for(let i=0;i<e.producerNode.length;i++)ki(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];Io(r),r.producerIndexOfThis[i]=n}}function Wr(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Io(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function kd(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function _d(e){return void 0!==e.producerNode}const lc=Symbol("UNSET"),dc=Symbol("COMPUTING"),Ia=Symbol("ERRORED"),Md={...lt,value:lc,dirty:!0,error:null,equal:_e,producerMustRecompute:e=>e.value===lc||e.value===dc,producerRecomputeValue(e){if(e.value===dc)throw new Error("Detected cycle in computations.");const n=e.value;e.value=dc;const t=Wt(e);let i;try{i=e.computation()}catch(r){i=Ia,e.error=r}finally{dt(e,t)}n!==lc&&n!==Ia&&i!==Ia&&e.equal(n,i)?e.value=n:(e.value=i,e.version++)}};let wd=function bd(){throw new Error};function Cd(){wd()}let Aa=null;function uc(e,n){Ze()||Cd(),e.equal(e.value,n)||(e.value=n,function Sd(e){e.version++,function Hn(){tt++}(),Ce(e),Aa?.()}(e))}const xd={...lt,equal:_e,value:void 0};function Se(e){return"function"==typeof e}function Ji(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 br=Ji(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 Oa(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class cn{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 o of t)o.remove(this);else t.remove(this);const{initialTeardown:i}=this;if(Se(i))try{i()}catch(o){n=o instanceof br?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{Id(o)}catch(a){n=n??[],a instanceof br?n=[...n,...a.errors]:n.push(a)}}if(n)throw new br(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Id(n);else{if(n instanceof cn){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)&&Oa(t,n)}remove(n){const{_finalizers:t}=this;t&&Oa(t,n),n instanceof cn&&n._removeParent(this)}}cn.EMPTY=(()=>{const e=new cn;return e.closed=!0,e})();const Ra=cn.EMPTY;function Td(e){return e instanceof cn||e&&"closed"in e&&Se(e.remove)&&Se(e.add)&&Se(e.unsubscribe)}function Id(e){Se(e)?e():e.unsubscribe()}const Xi={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},wr={setTimeout(e,n,...t){const{delegate:i}=wr;return i?.setTimeout?i.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=wr;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Xn(e){wr.setTimeout(()=>{const{onUnhandledError:n}=Xi;if(!n)throw e;n(e)})}function Cr(){}const rp=v("C",void 0,void 0);function v(e,n,t){return{kind:e,value:n,error:t}}let u=null;function p(e){if(Xi.useDeprecatedSynchronousErrorHandling){const n=!u;if(n&&(u={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:i}=u;if(u=null,t)throw i}}else e()}class x extends cn{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Td(n)&&n.add(this)):this.destination=r7}static create(n,t,i){return new it(n,t,i)}next(n){this.isStopped?Fe(function op(e){return v("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?Fe(function er(e){return v("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Fe(rp,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 I=Function.prototype.bind;function P(e,n){return I.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){qe(i)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(i){qe(i)}else qe(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){qe(t)}}}class it extends x{constructor(n,t,i){let r;if(super(),Se(n)||!n)r={next:n??void 0,error:t??void 0,complete:i??void 0};else{let o;this&&Xi.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&P(n.next,o),error:n.error&&P(n.error,o),complete:n.complete&&P(n.complete,o)}):r=n}this.destination=new Me(r)}}function qe(e){Xi.useDeprecatedSynchronousErrorHandling?function M(e){Xi.useDeprecatedSynchronousErrorHandling&&u&&(u.errorThrown=!0,u.error=e)}(e):Xn(e)}function Fe(e,n){const{onStoppedNotification:t}=Xi;t&&wr.setTimeout(()=>t(e,n))}const r7={closed:!0,next:Cr,error:function _t(e){throw e},complete:Cr},ap="function"==typeof Symbol&&Symbol.observable||"@@observable";function Dr(e){return e}function sm(e){return 0===e.length?Dr:1===e.length?e[0]:function(t){return e.reduce((i,r)=>r(i),t)}}let ut=(()=>{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 o=function s7(e){return e&&e instanceof x||function a7(e){return e&&Se(e.next)&&Se(e.error)&&Se(e.complete)}(e)&&Td(e)}(t)?t:new it(t,i,r);return p(()=>{const{operator:a,source:s}=this;o.add(a?a.call(o,s):s?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(t){try{return this._subscribe(t)}catch(i){t.error(i)}}forEach(t,i){return new(i=cm(i))((r,o)=>{const a=new it({next:s=>{try{t(s)}catch(c){o(c),a.unsubscribe()}},error:o,complete:r});this.subscribe(a)})}_subscribe(t){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(t)}[ap](){return this}pipe(...t){return sm(t)(this)}toPromise(t){return new(t=cm(t))((i,r)=>{let o;this.subscribe(a=>o=a,a=>r(a),()=>i(o))})}}return e.create=n=>new e(n),e})();function cm(e){var n;return null!==(n=e??Xi.Promise)&&void 0!==n?n:Promise}const c7=Ji(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Ke=(()=>{class e extends ut{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const i=new lm(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new c7}next(t){p(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(t)}})}error(t){p(()=>{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(){p(()=>{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:o}=this;return i||r?Ra:(this.currentObservers=null,o.push(t),new cn(()=>{this.currentObservers=null,Oa(o,t)}))}_checkFinalizedStatuses(t){const{hasError:i,thrownError:r,isStopped:o}=this;i?t.error(r):o&&t.complete()}asObservable(){const t=new ut;return t.source=this,t}}return e.create=(n,t)=>new lm(n,t),e})();class lm extends Ke{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:Ra}}class ei extends Ke{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 dm(e){return Se(e?.lift)}function Vt(e){return n=>{if(dm(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 ht(e,n,t,i,r){return new l7(e,n,t,i,r)}class l7 extends x{constructor(n,t,i,r,o,a){super(n),this.onFinalize=o,this.shouldUnsubscribe=a,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 Ee(e,n){return Vt((t,i)=>{let r=0;t.subscribe(ht(i,o=>{i.next(e.call(n,o,r++))}))})}typeof navigator<"u"&&navigator,typeof navigator<"u"&&!/Opera/.test(navigator.userAgent)&&navigator,typeof navigator<"u"&&(/MSIE/.test(navigator.userAgent)||navigator),typeof navigator<"u"&&!/Opera|WebKit/.test(navigator.userAgent)&&navigator,typeof navigator<"u"&&navigator;const Im="https://g.co/ng/security#xss";class F extends Error{constructor(n,t){super(function Pa(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}function xr(e){return{toString:e}.toString()}const La="__parameters__";function Ha(e,n,t){return xr(()=>{const i=function fp(e){return function(...t){if(e){const i=e(...t);for(const r in i)this[r]=i[r]}}}(n);function r(...o){if(this instanceof r)return i.apply(this,o),this;const a=new r(...o);return s.annotation=a,s;function s(c,l,d){const h=c.hasOwnProperty(La)?c[La]:Object.defineProperty(c,La,{value:[]})[La];for(;h.length<=d;)h.push(null);return(h[d]=h[d]||[]).push(a),c}}return t&&(r.prototype=Object.create(t.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}const pt=globalThis;function Ge(e){for(let n in e)if(e[n]===Ge)return n;throw Error("Could not find renamed property on target object.")}function lx(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function Kt(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Kt).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 yp(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const dx=Ge({__forward_ref__:Ge});function Be(e){return e.__forward_ref__=Be,e.toString=function(){return Kt(this())},e}function re(e){return Pd(e)?e():e}function Pd(e){return"function"==typeof e&&e.hasOwnProperty(dx)&&e.__forward_ref__===Be}function Kr(e,n,t){e!=n&&function te(e,n,t,i){throw new Error(`ASSERTION ERROR: ${e}`+(null==i?"":` [Expected=> ${t} ${i} ${n} <=Actual]`))}(t,e,n,"==")}function j(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function $e(e){return{providers:e.providers||[],imports:e.imports||[]}}function Fd(e){return Rm(e,Vd)||Rm(e,Pm)}function Rm(e,n){return e.hasOwnProperty(n)?e[n]:null}function Ld(e){return e&&(e.hasOwnProperty(gp)||e.hasOwnProperty(gx))?e[gp]:null}const Vd=Ge({\u0275prov:Ge}),gp=Ge({\u0275inj:Ge}),Pm=Ge({ngInjectableDef:Ge}),gx=Ge({ngInjectorDef:Ge});class ${constructor(n,t){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=j({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Mp(e){return e&&!!e.\u0275providers}const pc=Ge({\u0275cmp:Ge}),bp=Ge({\u0275dir:Ge}),wp=Ge({\u0275pipe:Ge}),Lm=Ge({\u0275mod:Ge}),Sr=Ge({\u0275fac:Ge}),fc=Ge({__NG_ELEMENT_ID__:Ge}),Vm=Ge({__NG_ENV_ID__:Ge});function ge(e){return"string"==typeof e?e:null==e?"":String(e)}function Cp(e,n){throw new F(-201,!1)}var xe=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}(xe||{});let Dp;function Hm(){return Dp}function jn(e){const n=Dp;return Dp=e,n}function jm(e,n,t){const i=Fd(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:t&xe.Optional?null:void 0!==n?n:void Cp()}const yc={},xp="__NG_DI_FLAG__",Hd="ngTempTokenPath",bx=/\n/gm,Bm="__source";let ja;function Yr(e){const n=ja;return ja=e,n}function Dx(e,n=xe.Default){if(void 0===ja)throw new F(-203,!1);return null===ja?jm(e,void 0,n):ja.get(e,n&xe.Optional?null:void 0,n)}function ne(e,n=xe.Default){return(Hm()||Dx)(re(e),n)}function w(e,n=xe.Default){return ne(e,jd(n))}function jd(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Sp(e){const n=[];for(let t=0;t<e.length;t++){const i=re(e[t]);if(Array.isArray(i)){if(0===i.length)throw new F(900,!1);let r,o=xe.Default;for(let a=0;a<i.length;a++){const s=i[a],c=xx(s);"number"==typeof c?-1===c?r=s.token:o|=c:r=s}n.push(ne(r,o))}else n.push(ne(i))}return n}function gc(e,n){return e[xp]=n,e.prototype[xp]=n,e}function xx(e){return e[xp]}const mc=gc(Ha("Optional"),8),Bd=gc(Ha("SkipSelf"),4);function Oo(e,n){return e.hasOwnProperty(Sr)?e[Sr]:null}function Ba(e,n){e.forEach(t=>Array.isArray(t)?Ba(t,n):n(t))}function Um(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function zd(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function ii(e,n,t){let i=za(e,n);return i>=0?e[1|i]=t:(i=~i,function qm(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 Tp(e,n){const t=za(e,n);if(t>=0)return e[1|t]}function za(e,n){return function Gm(e,n,t){let i=0,r=e.length>>t;for(;r!==i;){const o=i+(r-i>>1),a=e[o<<t];if(n===a)return o<<t;a>n?r=o:i=o+1}return~(r<<t)}(e,n,1)}const tr={},Ae=[],Oi=new $(""),$m=new $("",-1),Ip=new $("");class qd{get(n,t=yc){if(t===yc){const i=new Error(`NullInjectorError: No provider for ${Kt(n)}!`);throw i.name="NullInjectorError",i}return t}}var Gd=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Gd||{}),Ri=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Ri||{}),Qr=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Qr||{});function Ox(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 o=n.length;if(r+o===i||e.charCodeAt(r+o)<=32)return r}t=r+1}}function Ap(e,n,t){let i=0;for(;i<t.length;){const r=t[i];if("number"==typeof r){if(0!==r)break;i++;const o=t[i++],a=t[i++],s=t[i++];e.setAttribute(n,a,s,o)}else{const o=r,a=t[++i];Zm(o)?e.setProperty(n,o,a):e.setAttribute(n,o,a),i++}}return i}function Wm(e){return 3===e||4===e||6===e}function Zm(e){return 64===e.charCodeAt(0)}function vc(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||Km(e,t,r,null,-1===t||2===t?n[++i]:null)}}return e}function Km(e,n,t,i,r){let o=0,a=e.length;if(-1===n)a=-1;else for(;o<e.length;){const s=e[o++];if("number"==typeof s){if(s===n){a=-1;break}if(s>n){a=o-1;break}}}for(;o<e.length;){const s=e[o];if("number"==typeof s)break;if(s===t){if(null===i)return void(null!==r&&(e[o+1]=r));if(i===e[o+1])return void(e[o+2]=r)}o++,null!==i&&o++,null!==r&&o++}-1!==a&&(e.splice(a,0,n),o=a+1),e.splice(o++,0,t),null!==i&&e.splice(o++,0,i),null!==r&&e.splice(o++,0,r)}const Ym="ng-template";function Rx(e,n,t,i){let r=0;if(i){for(;r<n.length&&"string"==typeof n[r];r+=2)if("class"===n[r]&&-1!==Ox(n[r+1].toLowerCase(),t,0))return!0}else if(Np(e))return!1;if(r=n.indexOf(1,r),r>-1){let o;for(;++r<n.length&&"string"==typeof(o=n[r]);)if(o.toLowerCase()===t)return!0}return!1}function Np(e){return 4===e.type&&e.value!==Ym}function Px(e,n,t){return n===(4!==e.type||t?e.value:Ym)}function Fx(e,n,t){let i=4;const r=e.attrs,o=null!==r?function Hx(e){for(let n=0;n<e.length;n++)if(Wm(e[n]))return n;return e.length}(r):0;let a=!1;for(let s=0;s<n.length;s++){const c=n[s];if("number"!=typeof c){if(!a)if(4&i){if(i=2|1&i,""!==c&&!Px(e,c,t)||""===c&&1===n.length){if(Pi(i))return!1;a=!0}}else if(8&i){if(null===r||!Rx(e,r,c,t)){if(Pi(i))return!1;a=!0}}else{const l=n[++s],d=Lx(c,r,Np(e),t);if(-1===d){if(Pi(i))return!1;a=!0;continue}if(""!==l){let h;if(h=d>o?"":r[d+1].toLowerCase(),2&i&&l!==h){if(Pi(i))return!1;a=!0}}}}else{if(!a&&!Pi(i)&&!Pi(c))return!1;if(a&&Pi(c))continue;a=!1,i=c|1&i}}return Pi(i)||a}function Pi(e){return!(1&e)}function Lx(e,n,t,i){if(null===n)return-1;let r=0;if(i||!t){let o=!1;for(;r<n.length;){const a=n[r];if(a===e)return r;if(3===a||6===a)o=!0;else{if(1===a||2===a){let s=n[++r];for(;"string"==typeof s;)s=n[++r];continue}if(4===a)break;if(0===a){r+=4;continue}}r+=o?1:2}return-1}return function jx(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 Qm(e,n,t=!1){for(let i=0;i<n.length;i++)if(Fx(e,n[i],t))return!0;return!1}function Bx(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 Jm(e,n){return e?":not("+n.trim()+")":n}function zx(e){let n=e[0],t=1,i=2,r="",o=!1;for(;t<e.length;){let a=e[t];if("string"==typeof a)if(2&i){const s=e[++t];r+="["+a+(s.length>0?'="'+s+'"':"")+"]"}else 8&i?r+="."+a:4&i&&(r+=" "+a);else""!==r&&!Pi(a)&&(n+=Jm(o,r),r=""),i=a,o=o||!Pi(i);t++}return""!==r&&(n+=Jm(o,r)),n}function se(e){return xr(()=>{const n=ev(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Gd.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ri.Emulated,styles:e.styles||Ae,_:null,schemas:e.schemas||null,tView:null,id:""};tv(t);const i=e.dependencies;return t.directiveDefs=$d(i,!1),t.pipeDefs=$d(i,!0),t.id=function Zx(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 Gx(e){return De(e)||Yt(e)}function $x(e){return null!==e}function Ye(e){return xr(()=>({type:e.type,bootstrap:e.bootstrap||Ae,declarations:e.declarations||Ae,imports:e.imports||Ae,exports:e.exports||Ae,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Xm(e,n){if(null==e)return tr;const t={};for(const i in e)if(e.hasOwnProperty(i)){const r=e[i];let o,a,s=Qr.None;Array.isArray(r)?(s=r[0],o=r[1],a=r[2]??o):(o=r,a=r),n?(t[o]=s!==Qr.None?[i,s]:i,n[o]=a):t[o]=i}return t}function q(e){return xr(()=>{const n=ev(e);return tv(n),n})}function zn(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function De(e){return e[pc]||null}function Yt(e){return e[bp]||null}function pn(e){return e[wp]||null}function _n(e,n){const t=e[Lm]||null;if(!t&&!0===n)throw new Error(`Type ${Kt(e)} does not have '\u0275mod' property.`);return t}function ev(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||tr,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Ae,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Xm(e.inputs,n),outputs:Xm(e.outputs),debugInfo:null}}function tv(e){e.features?.forEach(n=>n(e))}function $d(e,n){if(!e)return null;const t=n?pn:Gx;return()=>("function"==typeof e?e():e).map(i=>t(i)).filter($x)}function nv(...e){return{\u0275providers:Op(0,e),\u0275fromNgModule:!0}}function Op(e,...n){const t=[],i=new Set;let r;const o=a=>{t.push(a)};return Ba(n,a=>{const s=a;Zd(s,o,[],i)&&(r||=[],r.push(s))}),void 0!==r&&iv(r,o),t}function iv(e,n){for(let t=0;t<e.length;t++){const{ngModule:i,providers:r}=e[t];Rp(r,o=>{n(o,i)})}}function Zd(e,n,t,i){if(!(e=re(e)))return!1;let r=null,o=Ld(e);const a=!o&&De(e);if(o||a){if(a&&!a.standalone)return!1;r=e}else{const c=e.ngModule;if(o=Ld(c),!o)return!1;r=c}const s=i.has(r);if(a){if(s)return!1;if(i.add(r),a.dependencies){const c="function"==typeof a.dependencies?a.dependencies():a.dependencies;for(const l of c)Zd(l,n,t,i)}}else{if(!o)return!1;{if(null!=o.imports&&!s){let l;i.add(r);try{Ba(o.imports,d=>{Zd(d,n,t,i)&&(l||=[],l.push(d))})}finally{}void 0!==l&&iv(l,n)}if(!s){const l=Oo(r)||(()=>new r);n({provide:r,useFactory:l,deps:Ae},r),n({provide:Ip,useValue:r,multi:!0},r),n({provide:Oi,useValue:()=>ne(r),multi:!0},r)}const c=o.providers;if(null!=c&&!s){const l=e;Rp(c,d=>{n(d,l)})}}}return r!==e&&void 0!==e.providers}function Rp(e,n){for(let t of e)Mp(t)&&(t=t.\u0275providers),Array.isArray(t)?Rp(t,n):n(t)}const Kx=Ge({provide:String,useValue:Ge});function Pp(e){return null!==e&&"object"==typeof e&&Kx in e}function Ro(e){return"function"==typeof e}const Fp=new $(""),Kd={},Qx={};let Lp;function Yd(){return void 0===Lp&&(Lp=new qd),Lp}class Mn{}class Ua extends Mn{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,Hp(n,a=>this.processProvider(a)),this.records.set($m,qa(void 0,this)),r.has("environment")&&this.records.set(Mn,qa(void 0,this));const o=this.records.get(Fp);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Ip,Ae,xe.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const n=W(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(),W(n)}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const t=Yr(this),i=jn(void 0);try{return n()}finally{Yr(t),jn(i)}}get(n,t=yc,i=xe.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(Vm))return n[Vm](this);i=jd(i);const o=Yr(this),a=jn(void 0);try{if(!(i&xe.SkipSelf)){let c=this.records.get(n);if(void 0===c){const l=function nS(e){return"function"==typeof e||"object"==typeof e&&e instanceof $}(n)&&Fd(n);c=l&&this.injectableDefInScope(l)?qa(Vp(n),Kd):null,this.records.set(n,c)}if(null!=c)return this.hydrate(n,c)}return(i&xe.Self?Yd():this.parent).get(n,t=i&xe.Optional&&t===yc?null:t)}catch(s){if("NullInjectorError"===s.name){if((s[Hd]=s[Hd]||[]).unshift(Kt(n)),o)throw s;return function Sx(e,n,t,i){const r=e[Hd];throw n[Bm]&&r.unshift(n[Bm]),e.message=function Ex(e,n,t,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let r=Kt(n);if(Array.isArray(n))r=n.map(Kt).join(" -> ");else if("object"==typeof n){let o=[];for(let a in n)if(n.hasOwnProperty(a)){let s=n[a];o.push(a+":"+("string"==typeof s?JSON.stringify(s):Kt(s)))}r=`{${o.join(", ")}}`}return`${t}${i?"("+i+")":""}[${r}]: ${e.replace(bx,"\n ")}`}("\n"+e.message,r,t,i),e.ngTokenPath=r,e[Hd]=null,e}(s,n,"R3InjectorError",this.source)}throw s}finally{jn(a),Yr(o)}}resolveInjectorInitializers(){const n=W(null),t=Yr(this),i=jn(void 0);try{const o=this.get(Oi,Ae,xe.Self);for(const a of o)a()}finally{Yr(t),jn(i),W(n)}}toString(){const n=[],t=this.records;for(const i of t.keys())n.push(Kt(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new F(205,!1)}processProvider(n){let t=Ro(n=re(n))?n:re(n&&n.provide);const i=function Xx(e){return Pp(e)?qa(void 0,e.useValue):qa(av(e),Kd)}(n);if(!Ro(n)&&!0===n.multi){let r=this.records.get(t);r||(r=qa(void 0,Kd,!0),r.factory=()=>Sp(r.multi),this.records.set(t,r)),t=n,r.multi.push(n)}this.records.set(t,i)}hydrate(n,t){const i=W(null);try{return t.value===Kd&&(t.value=Qx,t.value=t.factory()),"object"==typeof t.value&&t.value&&function tS(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{W(i)}}injectableDefInScope(n){if(!n.providedIn)return!1;const t=re(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 Vp(e){const n=Fd(e),t=null!==n?n.factory:Oo(e);if(null!==t)return t;if(e instanceof $)throw new F(204,!1);if(e instanceof Function)return function Jx(e){if(e.length>0)throw new F(204,!1);const t=function yx(e){return e&&(e[Vd]||e[Pm])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new F(204,!1)}function av(e,n,t){let i;if(Ro(e)){const r=re(e);return Oo(r)||Vp(r)}if(Pp(e))i=()=>re(e.useValue);else if(function ov(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...Sp(e.deps||[]));else if(function rv(e){return!(!e||!e.useExisting)}(e))i=()=>ne(re(e.useExisting));else{const r=re(e&&(e.useClass||e.provide));if(!function eS(e){return!!e.deps}(e))return Oo(r)||Vp(r);i=()=>new r(...Sp(e.deps))}return i}function qa(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function Hp(e,n){for(const t of e)Array.isArray(t)?Hp(t,n):t&&Mp(t)?Hp(t.\u0275providers,n):n(t)}function Er(e,n){e instanceof Ua&&e.assertNotDestroyed();const i=Yr(e),r=jn(void 0);try{return n()}finally{Yr(i),jn(r)}}function sv(){return void 0!==Hm()||null!=function Cx(){return ja}()}function Qd(e){if(!sv())throw new F(-203,!1)}const Mt=0,V=1,J=2,jt=3,Fi=4,fn=5,Sn=6,$a=7,rt=8,Bt=9,nr=10,ce=11,_c=12,lv=13,Wa=14,bt=15,Po=16,Za=17,Tr=18,Ka=19,dv=20,Xr=21,Xd=22,_i=23,K=25,Bp=1,ir=7,Ya=9,Nt=10;var t1=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(t1||{});function Jt(e){return Array.isArray(e)&&"object"==typeof e[Bp]}function bn(e){return Array.isArray(e)&&!0===e[Bp]}function zp(e){return!!(4&e.flags)}function Fo(e){return e.componentOffset>-1}function n1(e){return!(1&~e.flags)}function Li(e){return!!e.template}function bc(e){return!!(512&e[J])}class fS{constructor(n,t,i){this.previousValue=n,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}function yv(e,n,t,i){null!==n?n.applyValueToInputSignal(n,i):e[t]=i}function zt(){return gv}function gv(e){return e.type.prototype.ngOnChanges&&(e.setInput=gS),yS}function yS(){const e=vv(this),n=e?.current;if(n){const t=e.previous;if(t===tr)e.previous=n;else for(let i in n)t[i]=n[i];e.current=null,this.ngOnChanges(n)}}function gS(e,n,t,i,r){const o=this.declaredInputs[i],a=vv(e)||function mS(e,n){return e[mv]=n}(e,{previous:tr,current:null}),s=a.current||(a.current={}),c=a.previous,l=c[o];s[o]=new fS(l&&l.currentValue,t,c===tr),yv(e,n,r,t)}zt.ngInherit=!0;const mv="__ngSimpleChanges__";function vv(e){return e[mv]||null}const rr=function(e,n,t){};function Ne(e){for(;Array.isArray(e);)e=e[Mt];return e}function wc(e,n){return Ne(n[e])}function En(e,n){return Ne(n[e.index])}function Cc(e,n){return e.data[n]}function Lo(e,n){return e[n]}function ri(e,n){const t=n[e];return Jt(t)?t:t[Mt]}function Wp(e){return!(128&~e[J])}function Mi(e,n){return null==n?null:e[n]}function Mv(e){e[Za]=0}function bv(e){1024&e[J]||(e[J]|=1024,Wp(e)&&r1(e))}function i1(e){return!!(9216&e[J]||e[_i]?.dirty)}function Zp(e){e[nr].changeDetectionScheduler?.notify(8),64&e[J]&&(e[J]|=1024),i1(e)&&r1(e)}function r1(e){e[nr].changeDetectionScheduler?.notify(0);let n=Ir(e);for(;null!==n&&!(8192&n[J])&&(n[J]|=8192,Wp(n));)n=Ir(n)}function o1(e,n){if(!(256&~e[J]))throw new F(911,!1);null===e[Xr]&&(e[Xr]=[]),e[Xr].push(n)}function Ir(e){const n=e[jt];return bn(n)?n[jt]:n}const le={lFrame:Pv(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let Cv=!1;function Dv(){return le.bindingsEnabled}function Vo(){return null!==le.skipHydrationRootTNode}function O(){return le.lFrame.lView}function be(){return le.lFrame.tView}function de(e){return le.lFrame.contextLView=e,e[rt]}function ue(e){return le.lFrame.contextLView=null,e}function We(){let e=xv();for(;null!==e&&64===e.type;)e=e.parent;return e}function xv(){return le.lFrame.currentTNode}function Dc(){const e=le.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}function Vi(e,n){const t=le.lFrame;t.currentTNode=e,t.isParent=n}function Qp(){return le.lFrame.isParent}function Jp(){le.lFrame.isParent=!1}function Tv(){return Cv}function Iv(e){Cv=e}function Tn(){const e=le.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Ar(){return le.lFrame.bindingIndex}function Hi(){return le.lFrame.bindingIndex++}function Nr(e){const n=le.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function Nv(e){le.lFrame.inI18n=e}function AS(e,n){const t=le.lFrame;t.bindingIndex=t.bindingRootIndex=e,Xp(n)}function Xp(e){le.lFrame.currentDirectiveIndex=e}function t0(){return le.lFrame.currentQueryIndex}function s1(e){le.lFrame.currentQueryIndex=e}function OS(e){const n=e[V];return 2===n.type?n.declTNode:1===n.type?e[fn]:null}function Ov(e,n,t){if(t&xe.SkipSelf){let r=n,o=e;for(;!(r=r.parent,null!==r||t&xe.Host||(r=OS(o),null===r||(o=o[Wa],10&r.type))););if(null===r)return!1;n=r,e=o}const i=le.lFrame=Rv();return i.currentTNode=n,i.lView=e,!0}function n0(e){const n=Rv(),t=e[V];le.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function Rv(){const e=le.lFrame,n=null===e?null:e.child;return null===n?Pv(e):n}function Pv(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 Fv(){const e=le.lFrame;return le.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Lv=Fv;function r0(){const e=Fv();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 yn(){return le.lFrame.selectedIndex}function Ho(e){le.lFrame.selectedIndex=e}function ot(){const e=le.lFrame;return Cc(e.tView,e.selectedIndex)}let Hv=!0;function xc(){return Hv}function or(e){Hv=e}function c1(e,n){for(let t=n.directiveStart,i=n.directiveEnd;t<i;t++){const o=e.data[t].type.prototype,{ngAfterContentInit:a,ngAfterContentChecked:s,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:d}=o;a&&(e.contentHooks??=[]).push(-t,a),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!=d&&(e.destroyHooks??=[]).push(t,d)}}function l1(e,n,t){jv(e,n,3,t)}function d1(e,n,t,i){(3&e[J])===t&&jv(e,n,t,i)}function o0(e,n){let t=e[J];(3&t)===n&&(t&=16383,t+=1,e[J]=t)}function jv(e,n,t,i){const o=i??-1,a=n.length-1;let s=0;for(let c=void 0!==i?65535&e[Za]:0;c<a;c++)if("number"==typeof n[c+1]){if(s=n[c],null!=i&&s>=i)break}else n[c]<0&&(e[Za]+=65536),(s<o||-1==o)&&(jS(e,t,n,c),e[Za]=(4294901760&e[Za])+c+2),c++}function Bv(e,n){rr(4,e,n);const t=W(null);try{n.call(e)}finally{W(t),rr(5,e,n)}}function jS(e,n,t,i){const r=t[i]<0,o=t[i+1],s=e[r?-t[i]:t[i]];r?e[J]>>14<e[Za]>>16&&(3&e[J])===n&&(e[J]+=16384,Bv(s,o)):Bv(s,o)}const Qa=-1;class Sc{constructor(n,t,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=i}}const s0={};class jo{constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,i){i=jd(i);const r=this.injector.get(n,s0,i);return r!==s0||t===s0?r:this.parentInjector.get(n,t,i)}}function c0(e){return e!==Qa}function Ec(e){return 32767&e}function Tc(e,n){let t=function GS(e){return e>>16}(e),i=n;for(;t>0;)i=i[Wa],t--;return i}let l0=!0;function u1(e){const n=l0;return l0=e,n}const Uv=255,qv=5;let WS=0;const ar={};function h1(e,n){const t=Gv(e,n);if(-1!==t)return t;const i=n[V];i.firstCreatePass&&(e.injectorIndex=n.length,d0(i.data,e),d0(n,null),d0(i.blueprint,null));const r=p1(e,n),o=e.injectorIndex;if(c0(r)){const a=Ec(r),s=Tc(r,n),c=s[V].data;for(let l=0;l<8;l++)n[o+l]=s[a+l]|c[a+l]}return n[o+8]=r,o}function d0(e,n){e.push(0,0,0,0,0,0,0,0,n)}function Gv(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function p1(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=Jv(r),null===i)return Qa;if(t++,r=r[Wa],-1!==i.injectorIndex)return i.injectorIndex|t<<16}return Qa}function u0(e,n,t){!function ZS(e,n,t){let i;"string"==typeof t?i=t.charCodeAt(0)||0:t.hasOwnProperty(fc)&&(i=t[fc]),null==i&&(i=t[fc]=WS++);const r=i&Uv;n.data[e+(r>>qv)]|=1<<r}(e,n,t)}function $v(e,n,t){if(t&xe.Optional||void 0!==e)return e;Cp()}function Wv(e,n,t,i){if(t&xe.Optional&&void 0===i&&(i=null),!(t&(xe.Self|xe.Host))){const r=e[Bt],o=jn(void 0);try{return r?r.get(n,i,t&xe.Optional):jm(n,i,t&xe.Optional)}finally{jn(o)}}return $v(i,0,t)}function Zv(e,n,t,i=xe.Default,r){if(null!==e){if(2048&n[J]&&!(i&xe.Self)){const a=function XS(e,n,t,i,r){let o=e,a=n;for(;null!==o&&null!==a&&2048&a[J]&&!(512&a[J]);){const s=Kv(o,a,t,i|xe.Self,ar);if(s!==ar)return s;let c=o.parent;if(!c){const l=a[dv];if(l){const d=l.get(t,ar,i);if(d!==ar)return d}c=Jv(a),a=a[Wa]}o=c}return r}(e,n,t,i,ar);if(a!==ar)return a}const o=Kv(e,n,t,i,ar);if(o!==ar)return o}return Wv(n,t,i,r)}function Kv(e,n,t,i,r){const o=function QS(e){if("string"==typeof e)return e.charCodeAt(0)||0;const n=e.hasOwnProperty(fc)?e[fc]:void 0;return"number"==typeof n?n>=0?n&Uv:JS:n}(t);if("function"==typeof o){if(!Ov(n,e,i))return i&xe.Host?$v(r,0,i):Wv(n,t,i,r);try{let a;if(a=o(i),null!=a||i&xe.Optional)return a;Cp()}finally{Lv()}}else if("number"==typeof o){let a=null,s=Gv(e,n),c=Qa,l=i&xe.Host?n[bt][fn]:null;for((-1===s||i&xe.SkipSelf)&&(c=-1===s?p1(e,n):n[s+8],c!==Qa&&Qv(i,!1)?(a=n[V],s=Ec(c),n=Tc(c,n)):s=-1);-1!==s;){const d=n[V];if(Yv(o,s,d.data)){const h=YS(s,n,t,a,i,l);if(h!==ar)return h}c=n[s+8],c!==Qa&&Qv(i,n[V].data[s+8]===l)&&Yv(o,s,n)?(a=d,s=Ec(c),n=Tc(c,n)):s=-1}}return r}function YS(e,n,t,i,r,o){const a=n[V],s=a.data[e+8],d=f1(s,a,t,null==i?Fo(s)&&l0:i!=a&&!!(3&s.type),r&xe.Host&&o===s);return null!==d?Bo(n,a,d,s):ar}function f1(e,n,t,i,r){const o=e.providerIndexes,a=n.data,s=1048575&o,c=e.directiveStart,d=o>>20,f=r?s+d:e.directiveEnd;for(let g=i?s:s+d;g<f;g++){const k=a[g];if(g<c&&t===k||g>=c&&k.type===t)return g}if(r){const g=a[c];if(g&&Li(g)&&g.type===t)return c}return null}function Bo(e,n,t,i){let r=e[t];const o=n.data;if(function BS(e){return e instanceof Sc}(r)){const a=r;a.resolving&&function kx(e,n){throw n&&n.join(" > "),new F(-200,e)}(function Le(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ge(e)}(o[t]));const s=u1(a.canSeeViewProviders);a.resolving=!0;const l=a.injectImpl?jn(a.injectImpl):null;Ov(e,i,xe.Default);try{r=e[t]=a.factory(void 0,o,e,i),n.firstCreatePass&&t>=i.directiveStart&&function HS(e,n,t){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){const a=gv(n);(t.preOrderHooks??=[]).push(e,a),(t.preOrderCheckHooks??=[]).push(e,a)}r&&(t.preOrderHooks??=[]).push(0-e,r),o&&((t.preOrderHooks??=[]).push(e,o),(t.preOrderCheckHooks??=[]).push(e,o))}(t,o[t],n)}finally{null!==l&&jn(l),u1(s),a.resolving=!1,Lv()}}return r}function Yv(e,n,t){return!!(t[n+(e>>qv)]&1<<e)}function Qv(e,n){return!(e&xe.Self||e&xe.Host&&n)}class Xt{constructor(n,t){this._tNode=n,this._lView=t}get(n,t,i){return Zv(this._tNode,this._lView,n,jd(i),t)}}function JS(){return new Xt(We(),O())}function at(e){return xr(()=>{const n=e.prototype.constructor,t=n[Sr]||h0(n),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const o=r[Sr]||h0(r);if(o&&o!==t)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function h0(e){return Pd(e)?()=>{const n=h0(re(e));return n&&n()}:Oo(e)}function Jv(e){const n=e[V],t=n.type;return 2===t?n.declTNode:1===t?e[fn]:null}function ik(e,n=null,t=null,i){const r=rk(e,n,t,i);return r.resolveInjectorInitializers(),r}function rk(e,n=null,t=null,i,r=new Set){const o=[t||Ae,nv(e)];return i=i||("object"==typeof e?void 0:Kt(e)),new Ua(o,n||Yd(),i||null,r)}class Ve{static{this.THROW_IF_NOT_FOUND=yc}static{this.NULL=new qd}static create(n,t){if(Array.isArray(n))return ik({name:""},t,n,"");{const i=n.name??"";return ik({name:i},n.parent,n.providers,i)}}static{this.\u0275prov=j({token:Ve,providedIn:"any",factory:()=>ne($m)})}static{this.__NG_ELEMENT_ID__=-1}}new $("").__NG_ELEMENT_ID__=e=>{const n=We();if(null===n)throw new F(204,!1);if(2&n.type)return n.value;if(e&xe.Optional)return null;throw new F(204,!1)};function f0(e){return e.ngOriginalError}const ak=!0;let Or=(()=>{class e{static{this.__NG_ELEMENT_ID__=lE}static{this.__NG_ENV_ID__=t=>t}}return e})();class cE extends Or{constructor(n){super(),this._lView=n}onDestroy(n){return o1(this._lView,n),()=>function Kp(e,n){if(null===e[Xr])return;const t=e[Xr].indexOf(n);-1!==t&&e[Xr].splice(t,1)}(this._lView,n)}}function lE(){return new cE(O())}let zo=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new ei(!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{this.\u0275prov=j({token:e,providedIn:"root",factory:()=>new e})}}return e})();const Y=class dE extends Ke{constructor(n=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=n,sv()&&(this.destroyRef=w(Or,{optional:!0})??void 0,this.pendingTasks=w(zo,{optional:!0})??void 0)}emit(n){const t=W(null);try{super.next(n)}finally{W(t)}}subscribe(n,t,i){let r=n,o=t||(()=>null),a=i;if(n&&"object"==typeof n){const c=n;r=c.next?.bind(c),o=c.error?.bind(c),a=c.complete?.bind(c)}this.__isAsync&&(o=this.wrapInTimeout(o),r&&(r=this.wrapInTimeout(r)),a&&(a=this.wrapInTimeout(a)));const s=super.subscribe({next:r,error:o,complete:a});return n instanceof cn&&n.add(s),s}wrapInTimeout(n){return t=>{const i=this.pendingTasks?.add();setTimeout(()=>{n(t),void 0!==i&&this.pendingTasks?.remove(i)})}}};function g1(...e){}function sk(e){let n,t;function i(){e=g1;try{void 0!==t&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(t),void 0!==n&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{e(),i()}),"function"==typeof requestAnimationFrame&&(t=requestAnimationFrame(()=>{e(),i()})),()=>i()}function ck(e){return queueMicrotask(()=>e()),()=>{e=g1}}const y0="isAngularZone",m1=y0+"_ID";let uE=0;class ve{constructor(n){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Y(!1),this.onMicrotaskEmpty=new Y(!1),this.onStable=new Y(!1),this.onError=new Y(!1);const{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=ak}=n;if(typeof Zone>"u")throw new F(908,!1);Zone.assertZonePatched();const a=this;a._nesting=0,a._outer=a._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(a._inner=a._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(a._inner=a._inner.fork(Zone.longStackTraceZoneSpec)),a.shouldCoalesceEventChangeDetection=!r&&i,a.shouldCoalesceRunChangeDetection=r,a.callbackScheduled=!1,a.scheduleInRootZone=o,function fE(e){const n=()=>{!function pE(e){function n(){sk(()=>{e.callbackScheduled=!1,m0(e),e.isCheckStableRunning=!0,g0(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{n()}):e._outer.run(()=>{n()}),m0(e))}(e)},t=uE++;e._inner=e._inner.fork({name:"angular",properties:{[y0]:!0,[m1]:t,[m1+t]:!0},onInvokeTask:(i,r,o,a,s,c)=>{if(function yE(e){return uk(e,"__ignore_ng_zone__")}(c))return i.invokeTask(o,a,s,c);try{return lk(e),i.invokeTask(o,a,s,c)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===a.type||e.shouldCoalesceRunChangeDetection)&&n(),dk(e)}},onInvoke:(i,r,o,a,s,c,l)=>{try{return lk(e),i.invoke(o,a,s,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function gE(e){return uk(e,"__scheduler_tick__")}(c)&&n(),dk(e)}},onHasTask:(i,r,o,a)=>{i.hasTask(o,a),r===o&&("microTask"==a.change?(e._hasPendingMicrotasks=a.microTask,m0(e),g0(e)):"macroTask"==a.change&&(e.hasPendingMacrotasks=a.macroTask))},onHandleError:(i,r,o,a)=>(i.handleError(o,a),e.runOutsideAngular(()=>e.onError.emit(a)),!1)})}(a)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(y0)}static assertInAngularZone(){if(!ve.isInAngularZone())throw new F(909,!1)}static assertNotInAngularZone(){if(ve.isInAngularZone())throw new F(909,!1)}run(n,t,i){return this._inner.run(n,t,i)}runTask(n,t,i,r){const o=this._inner,a=o.scheduleEventTask("NgZoneEvent: "+r,n,hE,g1,g1);try{return o.runTask(a,t,i)}finally{o.cancelTask(a)}}runGuarded(n,t,i){return this._inner.runGuarded(n,t,i)}runOutsideAngular(n){return this._outer.run(n)}}const hE={};function g0(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 m0(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function lk(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function dk(e){e._nesting--,g0(e)}class v0{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Y,this.onMicrotaskEmpty=new Y,this.onStable=new Y,this.onError=new Y}run(n,t,i){return n.apply(t,i)}runGuarded(n,t,i){return n.apply(t,i)}runOutsideAngular(n){return n()}runTask(n,t,i,r){return n.apply(t,i)}}function uk(e,n){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[n]}class sr{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&&f0(n);for(;t&&f0(t);)t=f0(t);return t||null}}const vE=new $("",{providedIn:"root",factory:()=>{const e=w(ve),n=w(sr);return t=>e.runOutsideAngular(()=>n.handleError(t))}});function kE(){return es(We(),O())}function es(e,n){return new Oe(En(e,n))}let Oe=(()=>{class e{constructor(t){this.nativeElement=t}static{this.__NG_ELEMENT_ID__=kE}}return e})();function pk(e){return e instanceof Oe?e.nativeElement:e}function _E(){return this._results[Symbol.iterator]()}class k0{get changes(){return this._changes??=new Y}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=k0.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=_E)}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 Bn(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function Nx(e,n,t){if(e.length!==n.length)return!1;for(let i=0;i<e.length;i++){let r=e[i],o=n[i];if(t&&(r=t(r),o=t(o)),o!==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 Ac(e){return!(128&~e.flags)}const M0=new Map;let bE=0;function b0(e){M0.delete(e[Ka])}const v1="__ngContext__";function wn(e,n){Jt(n)?(e[v1]=n[Ka],function CE(e){M0.set(e[Ka],e)}(n)):e[v1]=n}function wk(e){return Dk(e[_c])}function Ck(e){return Dk(e[Fi])}function Dk(e){for(;null!==e&&!bn(e);)e=e[Fi];return e}let C0;function to(){if(void 0!==C0)return C0;if(typeof document<"u")return document;throw new F(210,!1)}const ns=new $("",{providedIn:"root",factory:()=>BE}),BE="ng",Ok=new $(""),no=new $("",{providedIn:"platform",factory:()=>"unknown"}),Rk=new $("",{providedIn:"root",factory:()=>to().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Pk=()=>null;function A0(e,n,t=!1){return Pk(e,n,t)}const Uk=new $("",{providedIn:"root",factory:()=>!1});let S1,E1;function os(e){return function F0(){if(void 0===S1&&(S1=null,pt.trustedTypes))try{S1=pt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return S1}()?.createHTML(e)||e}function Zk(e){return function L0(){if(void 0===E1&&(E1=null,pt.trustedTypes))try{E1=pt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return E1}()?.createScriptURL(e)||e}class Kk{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThi