homebridge-eufy-security-mikebcbc
Version:
Control Eufy Security from homebridge.
1 lines • 551 kB
JavaScript
(self.webpackChunkconfig_ui=self.webpackChunkconfig_ui||[]).push([[590],{648:(V3,et,m1)=>{"use strict";function ye(e,n,t,i,r,a,o){try{var c=e[a](o),s=c.value}catch(l){return void t(l)}c.done?n(s):Promise.resolve(s).then(i,r)}function Z(e){return function(){var n=this,t=arguments;return new Promise(function(i,r){var a=e.apply(n,t);function o(s){ye(a,i,r,o,c,"next",s)}function c(s){ye(a,i,r,o,c,"throw",s)}o(void 0)})}}let _e=null,xe=1;const Pe=Symbol("SIGNAL");function N(e){const n=_e;return _e=e,n}function Qe(e){if((!E4(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==xe)){if(!e.producerMustRecompute(e)&&!o2(e))return e.dirty=!1,void(e.lastCleanEpoch=xe);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=xe}}function o2(e){Xn(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 L4(e,n){if(function No(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}(e),Xn(e),1===e.liveConsumerNode.length)for(let i=0;i<e.producerNode.length;i++)L4(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];Xn(r),r.producerIndexOfThis[i]=n}}function E4(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Xn(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let Eo=null;function Se(e){return"function"==typeof e}function Qt(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 Dn=Qt(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 D3(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class d2{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(Se(i))try{i()}catch(a){n=a instanceof Dn?a.errors:[a]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const a of r)try{Fo(a)}catch(o){n=n??[],o instanceof Dn?n=[...n,...o.errors]:n.push(o)}}if(n)throw new Dn(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Fo(n);else{if(n instanceof d2){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)&&D3(t,n)}remove(n){const{_finalizers:t}=this;t&&D3(t,n),n instanceof d2&&n._removeParent(this)}}d2.EMPTY=(()=>{const e=new d2;return e.closed=!0,e})();const S3=d2.EMPTY;function Ro(e){return e instanceof d2||e&&"closed"in e&&Se(e.remove)&&Se(e.add)&&Se(e.unsubscribe)}function Fo(e){Se(e)?e():e.unsubscribe()}const Zt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Sn={setTimeout(e,n,...t){const{delegate:i}=Sn;return i?.setTimeout?i.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=Sn;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function nt(e){Sn.setTimeout(()=>{const{onUnhandledError:n}=Zt;if(!n)throw e;n(e)})}function Nn(){}const N0=_("C",void 0,void 0);function _(e,n,t){return{kind:e,value:n,error:t}}let d=null;function h(e){if(Zt.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 d2{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Ro(n)&&n.add(this)):this.destination=CI}static create(n,t,i){return new i1(n,t,i)}next(n){this.isStopped?ke(function x0(e){return _("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?ke(function Jt(e){return _("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?ke(N0,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 L=Function.prototype.bind;function I(e,n){return L.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){$e(i)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(i){$e(i)}else $e(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){$e(t)}}}class i1 extends z{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 a;this&&Zt.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 $e(e){Zt.useDeprecatedSynchronousErrorHandling?function M(e){Zt.useDeprecatedSynchronousErrorHandling&&d&&(d.errorThrown=!0,d.error=e)}(e):nt(e)}function ke(e,n){const{onStoppedNotification:t}=Zt;t&&Sn.setTimeout(()=>t(e,n))}const CI={closed:!0,next:Nn,error:function v1(e){throw e},complete:Nn},L0="function"==typeof Symbol&&Symbol.observable||"@@observable";function xn(e){return e}function P9(e){return 0===e.length?xn:1===e.length?e[0]:function(t){return e.reduce((i,r)=>r(i),t)}}let _1=(()=>{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 bI(e){return e&&e instanceof z||function MI(e){return e&&Se(e.next)&&Se(e.error)&&Se(e.complete)}(e)&&Ro(e)}(t)?t:new i1(t,i,r);return h(()=>{const{operator:o,source:c}=this;a.add(o?o.call(a,c):c?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=B9(i))((r,a)=>{const o=new i1({next:c=>{try{t(c)}catch(s){a(s),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)}[L0](){return this}pipe(...t){return P9(t)(this)}toPromise(t){return new(t=B9(t))((i,r)=>{let a;this.subscribe(o=>a=o,o=>r(o),()=>i(a))})}}return e.create=n=>new e(n),e})();function B9(e){var n;return null!==(n=e??Zt.Promise)&&void 0!==n?n:Promise}const HI=Qt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let C1=(()=>{class e extends _1{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const i=new U9(this,this);return i.operator=t,i}_throwIfClosed(){if(this.closed)throw new HI}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?S3:(this.currentObservers=null,a.push(t),new d2(()=>{this.currentObservers=null,D3(a,t)}))}_checkFinalizedStatuses(t){const{hasError:i,thrownError:r,isStopped:a}=this;i?t.error(r):a&&t.complete()}asObservable(){const t=new _1;return t.source=this,t}}return e.create=(n,t)=>new U9(n,t),e})();class U9 extends C1{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:S3}}class Ct extends C1{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 j9(e){return Se(e?.lift)}function P1(e){return n=>{if(j9(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 u1(e,n,t,i,r){return new wI(e,n,t,i,r)}class wI extends z{constructor(n,t,i,r,a,o){super(n),this.onFinalize=a,this.shouldUnsubscribe=o,this._next=t?function(c){try{t(c)}catch(s){n.error(s)}}:super._next,this._error=r?function(c){try{r(c)}catch(s){n.error(s)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(c){n.error(c)}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 Le(e,n){return P1((t,i)=>{let r=0;t.subscribe(u1(i,a=>{i.next(e.call(n,a,r++))}))})}const G9="https://g.co/ng/security#xss";class R extends Error{constructor(n,t){super(function N3(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}function E0(e){return n=>{setTimeout(e,void 0,n)}}const J=class VI extends C1{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}subscribe(n,t,i){let r=n,a=t||(()=>null),o=i;if(n&&"object"==typeof n){const s=n;r=s.next?.bind(s),a=s.error?.bind(s),o=s.complete?.bind(s)}this.__isAsync&&(a=E0(a),r&&(r=E0(r)),o&&(o=E0(o)));const c=super.subscribe({next:r,error:a,complete:o});return n instanceof d2&&n.add(c),c}};var Ve=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}(Ve||{});function q1(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(q1).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 T0(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}var Bo=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Bo||{}),xt=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(xt||{});function Ln(e){return{toString:e}.toString()}const Be=globalThis,Xt={},Ee=[];function We(e){for(let n in e)if(e[n]===We)return n;throw Error("Could not find renamed property on target object.")}function NI(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}const hr=We({\u0275cmp:We}),I0=We({\u0275dir:We}),A0=We({\u0275pipe:We}),q9=We({\u0275mod:We}),En=We({\u0275fac:We}),pr=We({__NG_ELEMENT_ID__:We}),Y9=We({__NG_ENV_ID__:We});var Ue=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Ue||{});function K9(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 k0(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++],c=t[i++];e.setAttribute(n,o,c,a)}else{const a=r,o=t[++i];Z9(a)?e.setProperty(n,a,o):e.setAttribute(n,a,o),i++}}return i}function Q9(e){return 3===e||4===e||6===e}function Z9(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||J9(e,t,r,null,-1===t||2===t?n[++i]:null)}}return e}function J9(e,n,t,i,r){let a=0,o=e.length;if(-1===n)o=-1;else for(;a<e.length;){const c=e[a++];if("number"==typeof c){if(c===n){o=-1;break}if(c>n){o=a-1;break}}}for(;a<e.length;){const c=e[a];if("number"==typeof c)break;if(c===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 X9="ng-template";function xI(e,n,t){let i=0,r=!0;for(;i<e.length;){let a=e[i++];if("string"==typeof a&&r){const o=e[i++];if(t&&"class"===a&&-1!==K9(o.toLowerCase(),n,0))return!0}else{if(1===a){for(;i<e.length&&"string"==typeof(a=e[i++]);)if(a.toLowerCase()===n)return!0;return!1}"number"==typeof a&&(r=!1)}}return!1}function ed(e){return 4===e.type&&e.value!==X9}function LI(e,n,t){return n===(4!==e.type||t?e.value:X9)}function EI(e,n,t){let i=4;const r=e.attrs||[],a=function AI(e){for(let n=0;n<e.length;n++)if(Q9(e[n]))return n;return e.length}(r);let o=!1;for(let c=0;c<n.length;c++){const s=n[c];if("number"!=typeof s){if(!o)if(4&i){if(i=2|1&i,""!==s&&!LI(e,s,t)||""===s&&1===n.length){if(Lt(i))return!1;o=!0}}else{const l=8&i?s:n[++c];if(8&i&&null!==e.attrs){if(!xI(e.attrs,l,t)){if(Lt(i))return!1;o=!0}continue}const f=TI(8&i?"class":s,r,ed(e),t);if(-1===f){if(Lt(i))return!1;o=!0;continue}if(""!==l){let p;p=f>a?"":r[f+1].toLowerCase();const v=8&i?p:null;if(v&&-1!==K9(v,l,0)||2&i&&l!==p){if(Lt(i))return!1;o=!0}}}}else{if(!o&&!Lt(i)&&!Lt(s))return!1;if(o&&Lt(s))continue;o=!1,i=s|1&i}}return Lt(i)||o}function Lt(e){return 0==(1&e)}function TI(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 c=n[++r];for(;"string"==typeof c;)c=n[++r];continue}if(4===o)break;if(0===o){r+=4;continue}}r+=a?1:2}return-1}return function kI(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 td(e,n,t=!1){for(let i=0;i<n.length;i++)if(EI(e,n[i],t))return!0;return!1}function OI(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 nd(e,n){return e?":not("+n.trim()+")":n}function RI(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 c=e[++t];r+="["+o+(c.length>0?'="'+c+'"':"")+"]"}else 8&i?r+="."+o:4&i&&(r+=" "+o);else""!==r&&!Lt(o)&&(n+=nd(a,r),r=""),i=o,a=a||!Lt(i);t++}return""!==r&&(n+=nd(a,r)),n}function fe(e){return Ln(()=>{const n=rd(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Bo.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||xt.Emulated,styles:e.styles||Ee,_:null,schemas:e.schemas||null,tView:null,id:""};ad(t);const i=e.dependencies;return t.directiveDefs=Uo(i,!1),t.pipeDefs=Uo(i,!0),t.id=function GI(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 BI(e){return He(e)||Y1(e)}function UI(e){return null!==e}function qe(e){return Ln(()=>({type:e.type,bootstrap:e.bootstrap||Ee,declarations:e.declarations||Ee,imports:e.imports||Ee,exports:e.exports||Ee,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function id(e,n){if(null==e)return Xt;const t={};for(const i in e)if(e.hasOwnProperty(i)){const r=e[i];let a,o,c=Ue.None;Array.isArray(r)?(c=r[0],a=r[1],o=r[2]??a):(a=r,o=r),n?(t[a]=c!==Ue.None?[i,c]:i,n[a]=o):t[a]=i}return t}function $(e){return Ln(()=>{const n=rd(e);return ad(n),n})}function He(e){return e[hr]||null}function Y1(e){return e[I0]||null}function h2(e){return e[A0]||null}function M2(e,n){const t=e[q9]||null;if(!t&&!0===n)throw new Error(`Type ${q1(e)} does not have '\u0275mod' property.`);return t}function rd(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||Xt,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Ee,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:id(e.inputs,n),outputs:id(e.outputs),debugInfo:null}}function ad(e){e.features?.forEach(n=>n(e))}function Uo(e,n){if(!e)return null;const t=n?h2:BI;return()=>("function"==typeof e?e():e).map(i=>t(i)).filter(UI)}const y1=0,G=1,X=2,E1=3,Et=4,b2=5,Tt=6,x3=7,r1=8,p2=9,Tn=10,he=11,gr=12,od=13,L3=14,H1=15,vr=16,E3=17,In=18,_r=19,cd=20,n4=21,jo=22,I4=23,pe=25,O0=1,en=7,T3=9,T1=10;var R0=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(R0||{});function H2(e){return Array.isArray(e)&&"object"==typeof e[O0]}function w2(e){return Array.isArray(e)&&!0===e[O0]}function F0(e){return 0!=(4&e.flags)}function A4(e){return e.componentOffset>-1}function $o(e){return 1==(1&e.flags)}function It(e){return!!e.template}function P0(e){return 0!=(512&e[X])}const fd="svg";let hd=!1;function Ze(e){for(;Array.isArray(e);)e=e[y1];return e}function yr(e,n){return Ze(n[e])}function x2(e,n){return Ze(n[e.index])}function Mr(e,n){return e.data[n]}function at(e,n){const t=n[e];return H2(t)?t:t[y1]}function G0(e){return 128==(128&e[X])}function tn(e,n){return null==n?null:e[n]}function pd(e){e[E3]=0}function JI(e){1024&e[X]||(e[X]|=1024,G0(e)&&br(e))}function $0(e){return!!(9216&e[X]||e[I4]?.dirty)}function W0(e){$0(e)?br(e):64&e[X]&&(function YI(){return hd}()?(e[X]|=1024,br(e)):e[Tn].changeDetectionScheduler?.notify())}function br(e){e[Tn].changeDetectionScheduler?.notify();let n=k4(e);for(;null!==n&&!(8192&n[X])&&(n[X]|=8192,G0(n));)n=k4(n)}function Wo(e,n){if(256==(256&e[X]))throw new R(911,!1);null===e[n4]&&(e[n4]=[]),e[n4].push(n)}function k4(e){const n=e[E1];return w2(n)?n[E1]:n}const de={lFrame:wd(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function vd(){return de.bindingsEnabled}function A3(){return null!==de.skipHydrationRootTNode}function T(){return de.lFrame.lView}function ze(){return de.lFrame.tView}function ne(e){return de.lFrame.contextLView=e,e[r1]}function ie(e){return de.lFrame.contextLView=null,e}function Ye(){let e=_d();for(;null!==e&&64===e.type;)e=e.parent;return e}function _d(){return de.lFrame.currentTNode}function nn(e,n){const t=de.lFrame;t.currentTNode=e,t.isParent=n}function Y0(){return de.lFrame.isParent}function K0(){de.lFrame.isParent=!1}function An(){return de.lFrame.bindingIndex}function At(){return de.lFrame.bindingIndex++}function kn(e){const n=de.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function lA(e,n){const t=de.lFrame;t.bindingIndex=t.bindingRootIndex=e,Q0(n)}function Q0(e){de.lFrame.currentDirectiveIndex=e}function J0(){return de.lFrame.currentQueryIndex}function qo(e){de.lFrame.currentQueryIndex=e}function fA(e){const n=e[G];return 2===n.type?n.declTNode:1===n.type?e[b2]:null}function bd(e,n,t){if(t&Ve.SkipSelf){let r=n,a=e;for(;!(r=r.parent,null!==r||t&Ve.Host||(r=fA(a),null===r||(a=a[L3],10&r.type))););if(null===r)return!1;n=r,e=a}const i=de.lFrame=Hd();return i.currentTNode=n,i.lView=e,!0}function X0(e){const n=Hd(),t=e[G];de.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function Hd(){const e=de.lFrame,n=null===e?null:e.child;return null===n?wd(e):n}function wd(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 Vd(){const e=de.lFrame;return de.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const zd=Vd;function e8(){const e=Vd();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 V2(){return de.lFrame.selectedIndex}function O4(e){de.lFrame.selectedIndex=e}function a1(){const e=de.lFrame;return Mr(e.tView,e.selectedIndex)}function k3(){de.lFrame.currentNamespace=fd}function O3(){!function pA(){de.lFrame.currentNamespace=null}()}let Sd=!0;function Yo(){return Sd}function i4(e){Sd=e}function mA(){return R3(Ye(),T())}function R3(e,n){return new Te(x2(e,n))}let r8,Te=(()=>{class e{constructor(t){this.nativeElement=t}static#e=this.__NG_ELEMENT_ID__=mA}return e})();function Nd(e){return e instanceof Te?e.nativeElement:e}function F3(e,n){e.forEach(t=>Array.isArray(t)?F3(t,n):n(t))}function xd(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Ko(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function ot(e,n,t){let i=P3(e,n);return i>=0?e[1|i]=t:(i=~i,function Ld(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 n8(e,n){const t=P3(e,n);if(t>=0)return e[1|t]}function P3(e,n){return function Ed(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)}function vA(){return this._results[Symbol.iterator]()}class i8{static#e=Symbol.iterator;get changes(){return this._changes??=new J}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=i8.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=vA)}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 B2(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function gA(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 Zo(e){return 128==(128&e.flags)}function r4(){if(void 0!==r8)return r8;if(typeof document<"u")return document;throw new R(210,!1)}function U(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function je(e){return{providers:e.providers||[],imports:e.imports||[]}}function Xo(e){return Ad(e,tc)||Ad(e,kd)}function Ad(e,n){return e.hasOwnProperty(n)?e[n]:null}function ec(e){return e&&(e.hasOwnProperty(a8)||e.hasOwnProperty(bA))?e[a8]:null}const tc=We({\u0275prov:We}),a8=We({\u0275inj:We}),kd=We({ngInjectableDef:We}),bA=We({ngInjectorDef:We});class Y{constructor(n,t){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=U({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const nc=new Y("",{providedIn:"root",factory:()=>HA}),HA="ng",Od=new Y(""),R4=new Y("",{providedIn:"platform",factory:()=>"unknown"}),Rd=new Y("",{providedIn:"root",factory:()=>r4().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),zA=We({__forward_ref__:We});function Ge(e){return e.__forward_ref__=Ge,e.toString=function(){return q1(this())},e}function ue(e){return ic(e)?e():e}function ic(e){return"function"==typeof e&&e.hasOwnProperty(zA)&&e.__forward_ref__===Ge}function u8(e){return e&&!!e.\u0275providers}function me(e){return"string"==typeof e?e:null==e?"":String(e)}function f8(e,n){throw new R(-201,!1)}let d8;function Pd(){return d8}function U2(e){const n=d8;return d8=e,n}function Bd(e,n,t){const i=Xo(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:t&Ve.Optional?null:void 0!==n?n:void f8()}const Vr={},h8="__NG_DI_FLAG__",rc="ngTempTokenPath",EA=/\n/gm,Ud="__source";let B3;function a4(e){const n=B3;return B3=e,n}function AA(e,n=Ve.Default){if(void 0===B3)throw new R(-203,!1);return null===B3?Bd(e,void 0,n):B3.get(e,n&Ve.Optional?null:void 0,n)}function oe(e,n=Ve.Default){return(Pd()||AA)(ue(e),n)}function w(e,n=Ve.Default){return oe(e,ac(n))}function ac(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function p8(e){const n=[];for(let t=0;t<e.length;t++){const i=ue(e[t]);if(Array.isArray(i)){if(0===i.length)throw new R(900,!1);let r,a=Ve.Default;for(let o=0;o<i.length;o++){const c=i[o],s=kA(c);"number"==typeof s?-1===s?r=c.token:a|=s:r=c}n.push(oe(r,a))}else n.push(oe(i))}return n}function zr(e,n){return e[h8]=n,e.prototype[h8]=n,e}function kA(e){return e[h8]}let Gd=()=>null;function b8(e,n,t=!1){return Gd(e,n,t)}const W3="__parameters__";function Y3(e,n,t){return Ln(()=>{const i=function z8(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 c.annotation=o,c;function c(s,l,u){const f=s.hasOwnProperty(W3)?s[W3]:Object.defineProperty(s,W3,{value:[]})[W3];for(;f.length<=u;)f.push(null);return(f[u]=f[u]||[]).push(o),s}}return t&&(r.prototype=Object.create(t.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}const fc=zr(Y3("Optional"),8),dc=zr(Y3("SkipSelf"),4);function F4(e,n){return e.hasOwnProperty(En)?e[En]:null}const P4=new Y(""),Qd=new Y("",-1),D8=new Y("");class hc{get(n,t=Vr){if(t===Vr){const i=new Error(`NullInjectorError: No provider for ${q1(n)}!`);throw i.name="NullInjectorError",i}return t}}function QA(...e){return{\u0275providers:N8(0,e),\u0275fromNgModule:!0}}function N8(e,...n){const t=[],i=new Set;let r;const a=o=>{t.push(o)};return F3(n,o=>{const c=o;pc(c,a,[],i)&&(r||=[],r.push(c))}),void 0!==r&&Zd(r,a),t}function Zd(e,n){for(let t=0;t<e.length;t++){const{ngModule:i,providers:r}=e[t];x8(r,a=>{n(a,i)})}}function pc(e,n,t,i){if(!(e=ue(e)))return!1;let r=null,a=ec(e);const o=!a&&He(e);if(a||o){if(o&&!o.standalone)return!1;r=e}else{const s=e.ngModule;if(a=ec(s),!a)return!1;r=s}const c=i.has(r);if(o){if(c)return!1;if(i.add(r),o.dependencies){const s="function"==typeof o.dependencies?o.dependencies():o.dependencies;for(const l of s)pc(l,n,t,i)}}else{if(!a)return!1;{if(null!=a.imports&&!c){let l;i.add(r);try{F3(a.imports,u=>{pc(u,n,t,i)&&(l||=[],l.push(u))})}finally{}void 0!==l&&Zd(l,n)}if(!c){const l=F4(r)||(()=>new r);n({provide:r,useFactory:l,deps:Ee},r),n({provide:D8,useValue:r,multi:!0},r),n({provide:P4,useValue:()=>oe(r),multi:!0},r)}const s=a.providers;if(null!=s&&!c){const l=e;x8(s,u=>{n(u,l)})}}}return r!==e&&void 0!==e.providers}function x8(e,n){for(let t of e)u8(t)&&(t=t.\u0275providers),Array.isArray(t)?x8(t,n):n(t)}const ZA=We({provide:String,useValue:We});function L8(e){return null!==e&&"object"==typeof e&&ZA in e}function B4(e){return"function"==typeof e}const E8=new Y(""),mc={},XA={};let T8;function gc(){return void 0===T8&&(T8=new hc),T8}class E2{}class K3 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,A8(n,o=>this.processProvider(o)),this.records.set(Qd,Q3(void 0,this)),r.has("environment")&&this.records.set(E2,Q3(void 0,this));const a=this.records.get(E8);null!=a&&"string"==typeof a.value&&this.scopes.add(a.value),this.injectorDefTypes=new Set(this.get(D8,Ee,Ve.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const t of n)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const t=a4(this),i=U2(void 0);try{return n()}finally{a4(t),U2(i)}}get(n,t=Vr,i=Ve.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(Y9))return n[Y9](this);i=ac(i);const a=a4(this),o=U2(void 0);try{if(!(i&Ve.SkipSelf)){let s=this.records.get(n);if(void 0===s){const l=function rk(e){return"function"==typeof e||"object"==typeof e&&e instanceof Y}(n)&&Xo(n);s=l&&this.injectableDefInScope(l)?Q3(I8(n),mc):null,this.records.set(n,s)}if(null!=s)return this.hydrate(n,s)}return(i&Ve.Self?gc():this.parent).get(n,t=i&Ve.Optional&&t===Vr?null:t)}catch(c){if("NullInjectorError"===c.name){if((c[rc]=c[rc]||[]).unshift(q1(n)),a)throw c;return function OA(e,n,t,i){const r=e[rc];throw n[Ud]&&r.unshift(n[Ud]),e.message=function RA(e,n,t,i=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let r=q1(n);if(Array.isArray(n))r=n.map(q1).join(" -> ");else if("object"==typeof n){let a=[];for(let o in n)if(n.hasOwnProperty(o)){let c=n[o];a.push(o+":"+("string"==typeof c?JSON.stringify(c):q1(c)))}r=`{${a.join(", ")}}`}return`${t}${i?"("+i+")":""}[${r}]: ${e.replace(EA,"\n ")}`}("\n"+e.message,r,t,i),e.ngTokenPath=r,e[rc]=null,e}(c,n,"R3InjectorError",this.source)}throw c}finally{U2(o),a4(a)}}resolveInjectorInitializers(){const n=a4(this),t=U2(void 0);try{const r=this.get(P4,Ee,Ve.Self);for(const a of r)a()}finally{a4(n),U2(t)}}toString(){const n=[],t=this.records;for(const i of t.keys())n.push(q1(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new R(205,!1)}processProvider(n){let t=B4(n=ue(n))?n:ue(n&&n.provide);const i=function tk(e){return L8(e)?Q3(void 0,e.useValue):Q3(eh(e),mc)}(n);if(!B4(n)&&!0===n.multi){let r=this.records.get(t);r||(r=Q3(void 0,mc,!0),r.factory=()=>p8(r.multi),this.records.set(t,r)),t=n,r.multi.push(n)}this.records.set(t,i)}hydrate(n,t){return t.value===mc&&(t.value=XA,t.value=t.factory()),"object"==typeof t.value&&t.value&&function ik(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}injectableDefInScope(n){if(!n.providedIn)return!1;const t=ue(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 I8(e){const n=Xo(e),t=null!==n?n.factory:F4(e);if(null!==t)return t;if(e instanceof Y)throw new R(204,!1);if(e instanceof Function)return function ek(e){if(e.length>0)throw new R(204,!1);const t=function MA(e){return e&&(e[tc]||e[kd])||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new R(204,!1)}function eh(e,n,t){let i;if(B4(e)){const r=ue(e);return F4(r)||I8(r)}if(L8(e))i=()=>ue(e.useValue);else if(function Xd(e){return!(!e||!e.useFactory)}(e))i=()=>e.useFactory(...p8(e.deps||[]));else if(function Jd(e){return!(!e||!e.useExisting)}(e))i=()=>oe(ue(e.useExisting));else{const r=ue(e&&(e.useClass||e.provide));if(!function nk(e){return!!e.deps}(e))return F4(r)||I8(r);i=()=>new r(...p8(e.deps))}return i}function Q3(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function A8(e,n){for(const t of e)Array.isArray(t)?A8(t,n):t&&u8(t)?A8(t.\u0275providers,n):n(t)}function U4(e,n){e instanceof K3&&e.assertNotDestroyed();const i=a4(e),r=U2(void 0);try{return n()}finally{a4(i),U2(r)}}function xr(e){if(!Pd()&&!function IA(){return B3}())throw new R(-203,!1)}class pk{constructor(n,t,i){this.previousValue=n,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}function nh(e,n,t,i){null!==n?n.applyValueToInputSignal(n,i):e[t]=i}function N1(){return ih}function ih(e){return e.type.prototype.ngOnChanges&&(e.setInput=gk),mk}function mk(){const e=ah(this),n=e?.current;if(n){const t=e.previous;if(t===Xt)e.previous=n;else for(let i in n)t[i]=n[i];e.current=null,this.ngOnChanges(n)}}function gk(e,n,t,i,r){const a=this.declaredInputs[i],o=ah(e)||function vk(e,n){return e[rh]=n}(e,{previous:Xt,current:null}),c=o.current||(o.current={}),s=o.previous,l=s[a];c[a]=new pk(l&&l.currentValue,t,s===Xt),nh(e,n,r,t)}N1.ngInherit=!0;const rh="__ngSimpleChanges__";function ah(e){return e[rh]||null}const rn=function(e,n,t){};function _c(e,n){for(let t=n.directiveStart,i=n.directiveEnd;t<i;t++){const a=e.data[t].type.prototype,{ngAfterContentInit:o,ngAfterContentChecked:c,ngAfterViewInit:s,ngAfterViewChecked:l,ngOnDestroy:u}=a;o&&(e.contentHooks??=[]).push(-t,o),c&&((e.contentHooks??=[]).push(t,c),(e.contentCheckHooks??=[]).push(t,c)),s&&(e.viewHooks??=[]).push(-t,s),l&&((e.viewHooks??=[]).push(t,l),(e.viewCheckHooks??=[]).push(t,l)),null!=u&&(e.destroyHooks??=[]).push(t,u)}}function Cc(e,n,t){oh(e,n,3,t)}function yc(e,n,t,i){(3&e[X])===t&&oh(e,n,t,i)}function R8(e,n){let t=e[X];(3&t)===n&&(t&=16383,t+=1,e[X]=t)}function oh(e,n,t,i){const a=i??-1,o=n.length-1;let c=0;for(let s=void 0!==i?65535&e[E3]:0;s<o;s++)if("number"==typeof n[s+1]){if(c=n[s],null!=i&&c>=i)break}else n[s]<0&&(e[E3]+=65536),(c<a||-1==a)&&(yk(e,t,n,s),e[E3]=(4294901760&e[E3])+s+2),s++}function ch(e,n){rn(4,e,n);const t=N(null);try{n.call(e)}finally{N(t),rn(5,e,n)}}function yk(e,n,t,i){const r=t[i]<0,a=t[i+1],c=e[r?-t[i]:t[i]];r?e[X]>>14<e[E3]>>16&&(3&e[X])===n&&(e[X]+=16384,ch(c,a)):ch(c,a)}const J3=-1;class Er{constructor(n,t,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=i}}function P8(e){return e!==J3}function Tr(e){return 32767&e}function Ir(e,n){let t=function Vk(e){return e>>16}(e),i=n;for(;t>0;)i=i[L3],t--;return i}let B8=!0;function Mc(e){const n=B8;return B8=e,n}const sh=255,lh=5;let zk=0;const an={};function bc(e,n){const t=uh(e,n);if(-1!==t)return t;const i=n[G];i.firstCreatePass&&(e.injectorIndex=n.length,U8(i.data,e),U8(n,null),U8(i.blueprint,null));const r=Hc(e,n),a=e.injectorIndex;if(P8(r)){const o=Tr(r),c=Ir(r,n),s=c[G].data;for(let l=0;l<8;l++)n[a+l]=c[o+l]|s[o+l]}return n[a+8]=r,a}function U8(e,n){e.push(0,0,0,0,0,0,0,0,n)}function uh(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function Hc(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=vh(r),null===i)return J3;if(t++,r=r[L3],-1!==i.injectorIndex)return i.injectorIndex|t<<16}return J3}function j8(e,n,t){!function Dk(e,n,t){let i;"string"==typeof t?i=t.charCodeAt(0)||0:t.hasOwnProperty(pr)&&(i=t[pr]),null==i&&(i=t[pr]=zk++);const r=i&sh;n.data[e+(r>>lh)]|=1<<r}(e,n,t)}function fh(e,n,t){if(t&Ve.Optional||void 0!==e)return e;f8()}function dh(e,n,t,i){if(t&Ve.Optional&&void 0===i&&(i=null),!(t&(Ve.Self|Ve.Host))){const r=e[p2],a=U2(void 0);try{return r?r.get(n,i,t&Ve.Optional):Bd(n,i,t&Ve.Optional)}finally{U2(a)}}return fh(i,0,t)}function hh(e,n,t,i=Ve.Default,r){if(null!==e){if(2048&n[X]&&!(i&Ve.Self)){const o=function Ek(e,n,t,i,r){let a=e,o=n;for(;null!==a&&null!==o&&2048&o[X]&&!(512&o[X]);){const c=ph(a,o,t,i|Ve.Self,an);if(c!==an)return c;let s=a.parent;if(!s){const l=o[cd];if(l){const u=l.get(t,an,i);if(u!==an)return u}s=vh(o),o=o[L3]}a=s}return r}(e,n,t,i,an);if(o!==an)return o}const a=ph(e,n,t,i,an);if(a!==an)return a}return dh(n,t,i,r)}function ph(e,n,t,i,r){const a=function xk(e){if("string"==typeof e)return e.charCodeAt(0)||0;const n=e.hasOwnProperty(pr)?e[pr]:void 0;return"number"==typeof n?n>=0?n&sh:Lk:n}(t);if("function"==typeof a){if(!bd(n,e,i))return i&Ve.Host?fh(r,0,i):dh(n,t,i,r);try{let o;if(o=a(i),null!=o||i&Ve.Optional)return o;f8()}finally{zd()}}else if("number"==typeof a){let o=null,c=uh(e,n),s=J3,l=i&Ve.Host?n[H1][b2]:null;for((-1===c||i&Ve.SkipSelf)&&(s=-1===c?Hc(e,n):n[c+8],s!==J3&&gh(i,!1)?(o=n[G],c=Tr(s),n=Ir(s,n)):c=-1);-1!==c;){const u=n[G];if(mh(a,c,u.data)){const f=Nk(c,n,t,o,i,l);if(f!==an)return f}s=n[c+8],s!==J3&&gh(i,n[G].data[c+8]===l)&&mh(a,c,n)?(o=u,c=Tr(s),n=Ir(s,n)):c=-1}}return r}function Nk(e,n,t,i,r,a){const o=n[G],c=o.data[e+8],u=wc(c,o,t,null==i?A4(c)&&B8:i!=o&&0!=(3&c.type),r&Ve.Host&&a===c);return null!==u?j4(n,o,u,c):an}function wc(e,n,t,i,r){const a=e.providerIndexes,o=n.data,c=1048575&a,s=e.directiveStart,u=a>>20,p=r?c+u:e.directiveEnd;for(let v=i?c:c+u;v<p;v++){const b=o[v];if(v<s&&t===b||v>=s&&b.type===t)return v}if(r){const v=o[s];if(v&&It(v)&&v.type===t)return s}return null}function j4(e,n,t,i){let r=e[t];const a=n.data;if(function Mk(e){return e instanceof Er}(r)){const o=r;o.resolving&&function NA(e,n){throw n&&n.join(" > "),new R(-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():me(e)}(a[t]));const c=Mc(o.canSeeViewProviders);o.resolving=!0;const l=o.injectImpl?U2(o.injectImpl):null;bd(e,i,Ve.Default);try{r=e[t]=o.factory(void 0,a,e,i),n.firstCreatePass&&t>=i.directiveStart&&function Ck(e,n,t){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:a}=n.type.prototype;if(i){const o=ih(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&&U2(l),Mc(c),o.resolving=!1,zd()}}return r}function mh(e,n,t){return!!(t[n+(e>>lh)]&1<<e)}function gh(e,n){return!(e&Ve.Self||e&Ve.Host&&n)}class Q1{constructor(n,t){this._tNode=n,this._lView=t}get(n,t,i){return hh(this._tNode,this._lView,n,ac(i),t)}}function Lk(){return new Q1(Ye(),T())}function o1(e){return Ln(()=>{const n=e.prototype.constructor,t=n[En]||G8(n),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const a=r[En]||G8(r);if(a&&a!==t)return a;r=Object.getPrototypeOf(r)}return a=>new a})}function G8(e){return ic(e)?()=>{const n=G8(ue(e));return n&&n()}:F4(e)}function vh(e){const n=e[G],t=n.type;return 2===t?n.declTNode:1===t?e[b2]:null}function bh(e,n=null,t=null,i){const r=Hh(e,n,t,i);return r.resolveInjectorInitializers(),r}function Hh(e,n=null,t=null,i,r=new Set){const a=[t||Ee,QA(e)];return i=i||("object"==typeof e?void 0:q1(e)),new K3(a,n||gc(),i||null,r)}let B1=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=Vr;static#t=this.NULL=new hc;static create(t,i){if(Array.isArray(t))return bh({name:""},i,t,"");{const r=t.name??"";return bh({name:r},t.parent,t.providers,r)}}static#n=this.\u0275prov=U({token:e,providedIn:"any",factory:()=>oe(Qd)});static#i=this.__NG_ELEMENT_ID__=-1}return e})();function W8(e){return e.ngOriginalError}class On{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&&W8(n);for(;t&&W8(t);)t=W8(t);return t||null}}const Vh=new Y("",{providedIn:"root",factory:()=>w(On).handleError.bind(void 0)}),Dh=new Y("",{providedIn:"root",factory:()=>!1});let Dc,Sc;function ti(e){return function q8(){if(void 0===Dc&&(Dc=null,Be.trustedTypes))try{Dc=Be.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Dc}()?.createHTML(e)||e}function Y8(){if(void 0===Sc&&(Sc=null,Be.trustedTypes))try{Sc=Be.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Sc}function Sh(e){return Y8()?.createHTML(e)||e}function xh(e){return Y8()?.createScriptURL(e)||e}class $4{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${G9})`}}class Uk extends $4{getTypeName(){return"HTML"}}class jk extends $4{getTypeName(){return"Style"}}class Gk extends $4{getTypeName(){return"Script"}}class $k extends $4{getTypeName(){return"URL"}}class Wk extends $4{getTypeName(){return"ResourceURL"}}function ct(e){return e instanceof $4?e.changingThisBreaksApplicationSecurity:e}function on(e,n){const t=function qk(e){return e instanceof $4&&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 ${G9})`)}return t===n}class Xk{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{const t=(new window.DOMParser).parseFromString(ti(n),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.removeChild(t.firstChild),t)}catch{return null}}}class eO{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const t=this.inertDocument.createElement("template");return t.innerHTML=ti(n),t}}const nO=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Nc(e){return(e=String(e)).match(nO)?e:"unsafe:"+e}function Rn(e){const n={};for(const t of e.split(","))n[t]=!0;return n}function Ar(...e){const n={};for(const t of e)for(const i in t)t.hasOwnProperty(i)&&(n[i]=!0);return n}const Eh=Rn("area,br,col,hr,img,wbr"),Th=Rn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ih=Rn("rp,rt"),K8=Ar(Eh,Ar(Th,Rn("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")),Ar(Ih,Rn("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")),Ar(Ih,Th)),Q8=Rn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Ah=Ar(Q8,Rn("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"),Rn("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")),iO=Rn("script,style,template");class rO{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let t=n.firstChild,i=!0;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)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let r=this.checkClobberedElement(t,t.nextSibling);if(r){t=r;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(n){const t=n.nodeName.toLowerCase();if(!K8.hasOwnProperty(t))return this.sanitizedSomething=!0,!iO.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,c=o.toLowerCase();if(!Ah.hasOwnProperty(c)){this.sanitizedSomething=!0;continue}let s=a.value;Q8[c]&&(s=Nc(s)),this.buf.push(" ",o,'="',kh(s),'"')}return this.buf.push(">"),!0}endElement(n){const t=n.nodeName.toLowerCase();K8.hasOwnProperty(t)&&!Eh.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(n){this.buf.push(kh(n))}checkClobberedElement(n,t){if(t&&(n.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`);return t}}const aO=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,oO=/([^\#-~ |!])/g;function kh(e){return e.replace(/&/g,"&").replace(aO,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(oO,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let xc;function Oh(e,n){let t=null;try{xc=xc||function Lh(e){const n=new eO(e);return function tO(){try{return!!(new window.DOMParser).parseFromString(ti(""),"text/html")}catch{return!1}}()?new Xk(n):n}(e);let i=n?String(n):"";t=xc.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=xc.getInertBodyElement(i)}while(i!==a);return ti((new rO).sanitizeChildren(Z8(t)||t))}finally{if(t){const i=Z8(t)||t;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function Z8(e){return"content"in e&&function cO(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var yt=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}(yt||{});function Rh(e){const n=kr();return n?Sh(n.sanitize(yt.HTML,e)||""):on(e,"HTML")?Sh(ct(e)):Oh(r4(),me(e))}function j2(e){const n=kr();return n?n.sanitize(yt.STYLE,e)||"":on(e,"Style")?ct(e):me(e)}function ni(e){const n=kr();return n?n.sanitize(yt.URL,e)||"":on(e,"URL")?ct(e):Nc(me(e))}function Fh(e){const n=kr();if(n)return xh(n.sanitize(yt.RESOURCE_URL,e)||"");if(on(e,"ResourceURL"))return xh(ct(e));throw new R(904,!1)}function kr(){const e=T();return e&&e[Tn].sanitizer}const J8=new Map;let CO=0;const el="__ngContext__";function z2(e,n){H2(n)?(e[el]=n[_r],function MO(e){J8.set(e[_r],e)}(n)):e[el]=n}function st(e){return e instanceof Function?e():e}var c4=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(c4||{});let rl;function al(e,n){return rl(e,n)}function ri(e,n,t,i,r){if(null!=i){let a,o=!1;w2(i)?a=i:H2(i)&&(o=!0,i=i[y1]);const c=Ze(i);0===e&&null!==t?null==r?ap(n,t,c):W4(n,t,c,r||null,!0):1===e&&null!==t?W4(n,t,c,r||null,!0):2===e?function Rc(e,n,t){const i=kc(e,n);i&&function jO(e,n,t,i){e.removeChild(n,t,i)}(e,i,n,t)}(n,c,o):3===e&&n.destroyNode(c),null!=a&&function WO(e,n,t,i,r){const a=t[en];a!==Ze(t)&&ri(n,e,i,a,r);for(let c=T1;c<t.length;c++){const s=t[c];Fc(s[G],s,e,n,i,a)}}(n,e,a,t,r)}}function Ic(e,n,t){return e.createElement(n,t)}function np(e,n){Fc(e,n,n[he],2,null,null)}function ip(e,n){const t=e[T3],i=t.indexOf(n);t.splice(i,1)}function Rr(e,n){if(e.length<=T1)return;const t=T1+n,i=e[t];if(i){const r=i[vr];null!==r&&r!==e&&ip(r,i),n>0&&(e[t-1][Et]=i[Et]);const a=Ko(e,T1+n);!function kO(e,n){np(e,n),n[y1]=null,n[b2]=null}(i[G],i);const o=a[In];null!==o&&o.detachView(a[G]),i[E1]=null,i[Et]=null,i[X]&=-129}return i}function Ac(e,n){if(!(256&n[X])){const t=n[he];t.destroyNode&&Fc(e,n,t,3,null,null),function RO(e){let n=e[gr];if(!n)return cl(e[G],e);for(;n;){let t=null;if(H2(n))t=n[gr];else{const i=n[T1];i&&(t=i)}if(!t){for(;n&&!n[Et]&&n!==e;)H2(n)&&cl(n[G],n),n=n[E1];null===n&&(n=e),H2(n)&&cl(n[G],n),t=n&&n[Et]}n=t}}(n)}}function cl(e,n){if(!(256&n[X])){n[X]&=-129,n[X]|=256,n[I4]&&function Kt(e){if(Xn(e),E4(e))for(let n=0;n<e.producerNode.length;n++)L4(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[I4]),function UO(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 Er)){const a=t[i+1];if(Array.isArray(a))for(let o=0;o<a.length;o+=2){const c=r[a[o]],s=a[o+1];rn(4,c,s);try{s.call(c)}finally{rn(5,c,s)}}else{rn(4,r,a);try{a.call(r)}finally{rn(5,r,a)}}}}}(e,n),function BO(e,n){const t=e.cleanup,i=n[x3];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[x3]=null);const r=n[n4];if(null!==r){n[n4]=null;for(let a=0;