homebridge-gsh 2.2.1 → 2.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- <script src="runtime.acf0dec4155e77772545.js" defer></script><script src="polyfills.35a5ca1855eb057f016a.js" defer></script><script src="main.4fdfc13394cf0bf3bcd8.js" defer></script><link rel="stylesheet" href="styles.07064220084e96d1bce3.css"><app-root></app-root>
1
+ <script src="runtime.acf0dec4155e77772545.js" defer></script><script src="polyfills.35a5ca1855eb057f016a.js" defer></script><script src="main.6d25115e2f74c64be5dc.js" defer></script><link rel="stylesheet" href="styles.07064220084e96d1bce3.css"><app-root></app-root>
@@ -1 +1 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(e,t,n){e.exports=n("zUnb")},jim7:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},zUnb:function(e,t,n){"use strict";function r(e){return"function"==typeof e}n.r(t);let o=!1;const s={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){const e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else o&&console.log("RxJS: Back to a better error behavior. Thank you. <3");o=e},get useDeprecatedSynchronousErrorHandling(){return o}};function i(e){setTimeout(()=>{throw e},0)}const u={closed:!0,next(e){},error(e){if(s.useDeprecatedSynchronousErrorHandling)throw e;i(e)},complete(){}},l=(()=>Array.isArray||(e=>e&&"number"==typeof e.length))();function c(e){return null!==e&&"object"==typeof e}const a=(()=>{function e(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((e,t)=>`${t+1}) ${e.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e})();let h=(()=>{class e{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:n,_ctorUnsubscribe:o,_unsubscribe:s,_subscriptions:i}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(null!==n)for(let e=0;e<n.length;++e)n[e].remove(this);if(r(s)){o&&(this._unsubscribe=void 0);try{s.call(this)}catch(u){t=u instanceof a?d(u.errors):[u]}}if(l(i)){let e=-1,n=i.length;for(;++e<n;){const n=i[e];if(c(n))try{n.unsubscribe()}catch(u){t=t||[],u instanceof a?t=t.concat(d(u.errors)):t.push(u)}}}if(t)throw new a(t)}add(t){let n=t;if(!t)return e.EMPTY;switch(typeof t){case"function":n=new e(t);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof e)){const t=n;n=new e,n._subscriptions=[t]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}let{_parentOrParents:r}=n;if(null===r)n._parentOrParents=this;else if(r instanceof e){if(r===this)return n;n._parentOrParents=[r,this]}else{if(-1!==r.indexOf(this))return n;r.push(this)}const o=this._subscriptions;return null===o?this._subscriptions=[n]:o.push(n),n}remove(e){const t=this._subscriptions;if(t){const n=t.indexOf(e);-1!==n&&t.splice(n,1)}}}return e.EMPTY=function(e){return e.closed=!0,e}(new e),e})();function d(e){return e.reduce((e,t)=>e.concat(t instanceof a?t.errors:t),[])}const f=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())();class p extends h{constructor(e,t,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=u;break;case 1:if(!e){this.destination=u;break}if("object"==typeof e){e instanceof p?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new g(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new g(this,e,t,n)}}[f](){return this}static create(e,t,n){const r=new p(e,t,n);return r.syncErrorThrowable=!1,r}next(e){this.isStopped||this._next(e)}error(e){this.isStopped||(this.isStopped=!0,this._error(e))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(e){this.destination.next(e)}_error(e){this.destination.error(e),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:e}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}class g extends p{constructor(e,t,n,o){let s;super(),this._parentSubscriber=e;let i=this;r(t)?s=t:t&&(s=t.next,n=t.error,o=t.complete,t!==u&&(i=Object.create(t),r(i.unsubscribe)&&this.add(i.unsubscribe.bind(i)),i.unsubscribe=this.unsubscribe.bind(this))),this._context=i,this._next=s,this._error=n,this._complete=o}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;s.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}error(e){if(!this.isStopped){const{_parentSubscriber:t}=this,{useDeprecatedSynchronousErrorHandling:n}=s;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):i(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;i(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const t=()=>this._complete.call(this._context);s.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),s.useDeprecatedSynchronousErrorHandling)throw n;i(n)}}__tryOrSetError(e,t,n){if(!s.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(r){return s.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0,!0):(i(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}const m=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")();function _(e){return e}let y=(()=>{class e{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(t){const n=new e;return n.source=this,n.operator=t,n}subscribe(e,t,n){const{operator:r}=this,o=function(e,t,n){if(e){if(e instanceof p)return e;if(e[f])return e[f]()}return e||t||n?new p(e,t,n):new p(u)}(e,t,n);if(o.add(r?r.call(o,this.source):this.source||s.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),s.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o}_trySubscribe(e){try{return this._subscribe(e)}catch(t){s.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){const{closed:t,destination:n,isStopped:r}=e;if(t||r)return!1;e=n&&n instanceof p?n:null}return!0}(e)?e.error(t):console.warn(t)}}forEach(e,t){return new(t=D(t))((t,n)=>{let r;r=this.subscribe(t=>{try{e(t)}catch(o){n(o),r&&r.unsubscribe()}},n,t)})}_subscribe(e){const{source:t}=this;return t&&t.subscribe(e)}[m](){return this}pipe(...e){return 0===e.length?this:(0===(t=e).length?_:1===t.length?t[0]:function(e){return t.reduce((e,t)=>t(e),e)})(this);var t}toPromise(e){return new(e=D(e))((e,t)=>{let n;this.subscribe(e=>n=e,e=>t(e),()=>e(n))})}}return e.create=t=>new e(t),e})();function D(e){if(e||(e=s.Promise||Promise),!e)throw new Error("no Promise impl found");return e}const w=(()=>{function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e})();class b extends h{constructor(e,t){super(),this.subject=e,this.subscriber=t,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const e=this.subject,t=e.observers;if(this.subject=null,!t||0===t.length||e.isStopped||e.closed)return;const n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}class C extends p{constructor(e){super(e),this.destination=e}}let v=(()=>{class e extends y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[f](){return new C(this)}lift(e){const t=new E(this,this);return t.operator=e,t}next(e){if(this.closed)throw new w;if(!this.isStopped){const{observers:t}=this,n=t.length,r=t.slice();for(let o=0;o<n;o++)r[o].next(e)}}error(e){if(this.closed)throw new w;this.hasError=!0,this.thrownError=e,this.isStopped=!0;const{observers:t}=this,n=t.length,r=t.slice();for(let o=0;o<n;o++)r[o].error(e);this.observers.length=0}complete(){if(this.closed)throw new w;this.isStopped=!0;const{observers:e}=this,t=e.length,n=e.slice();for(let r=0;r<t;r++)n[r].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(e){if(this.closed)throw new w;return super._trySubscribe(e)}_subscribe(e){if(this.closed)throw new w;return this.hasError?(e.error(this.thrownError),h.EMPTY):this.isStopped?(e.complete(),h.EMPTY):(this.observers.push(e),new b(this,e))}asObservable(){const e=new y;return e.source=this,e}}return e.create=(e,t)=>new E(e,t),e})();class E extends v{constructor(e,t){super(),this.destination=e,this.source=t}next(e){const{destination:t}=this;t&&t.next&&t.next(e)}error(e){const{destination:t}=this;t&&t.error&&this.destination.error(e)}complete(){const{destination:e}=this;e&&e.complete&&this.destination.complete()}_subscribe(e){const{source:t}=this;return t?this.source.subscribe(e):h.EMPTY}}class A{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new F(e,this.project,this.thisArg))}}class F extends p{constructor(e,t,n){super(e),this.project=t,this.count=0,this.thisArg=n||this}_next(e){let t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}const x=e=>t=>{for(let n=0,r=e.length;n<r&&!t.closed;n++)t.next(e[n]);t.complete()};function k(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}const T=k(),I=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function S(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}const B=e=>{if(e&&"function"==typeof e[m])return r=e,e=>{const t=r[m]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(I(e))return x(e);if(S(e))return n=e,e=>(n.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,i),e);if(e&&"function"==typeof e[T])return t=e,e=>{const n=t[T]();for(;;){let t;try{t=n.next()}catch(r){return e.error(r),e}if(t.done){e.complete();break}if(e.next(t.value),e.closed)break}return"function"==typeof n.return&&e.add(()=>{n.return&&n.return()}),e};{const t=c(e)?"an invalid object":`'${e}'`;throw new TypeError(`You provided ${t} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var t,n,r};function O(e,t){return new y(n=>{const r=new h;let o=0;return r.add(t.schedule((function(){o!==e.length?(n.next(e[o++]),n.closed||r.add(this.schedule())):n.complete()}))),r})}class N extends p{constructor(e){super(),this.parent=e}_next(e){this.parent.notifyNext(e)}_error(e){this.parent.notifyError(e),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class R extends p{notifyNext(e){this.destination.next(e)}notifyError(e){this.destination.error(e)}notifyComplete(){this.destination.complete()}}function P(e,t,n=Number.POSITIVE_INFINITY){return"function"==typeof t?r=>r.pipe(P((n,r)=>{return(o=e(n,r),s?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[m]}(e))return function(e,t){return new y(n=>{const r=new h;return r.add(t.schedule(()=>{const o=e[m]();r.add(o.subscribe({next(e){r.add(t.schedule(()=>n.next(e)))},error(e){r.add(t.schedule(()=>n.error(e)))},complete(){r.add(t.schedule(()=>n.complete()))}}))})),r})}(e,t);if(S(e))return function(e,t){return new y(n=>{const r=new h;return r.add(t.schedule(()=>e.then(e=>{r.add(t.schedule(()=>{n.next(e),r.add(t.schedule(()=>n.complete()))}))},e=>{r.add(t.schedule(()=>n.error(e)))}))),r})}(e,t);if(I(e))return O(e,t);if(function(e){return e&&"function"==typeof e[T]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new y(n=>{const r=new h;let o;return r.add(()=>{o&&"function"==typeof o.return&&o.return()}),r.add(t.schedule(()=>{o=e[T](),r.add(t.schedule((function(){if(n.closed)return;let e,t;try{const n=o.next();e=n.value,t=n.done}catch(r){return void n.error(r)}t?n.complete():(n.next(e),this.schedule())})))})),r})}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(o,s):o instanceof y?o:new y(B(o))).pipe(function(e,t){return function(t){return t.lift(new A(e,undefined))}}((e,o)=>t(n,e,r,o)));var o,s},n)):("number"==typeof t&&(n=t),t=>t.lift(new j(e,n)))}class j{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new H(e,this.project,this.concurrent))}}class H extends R{constructor(e,t,n=Number.POSITIVE_INFINITY){super(e),this.project=t,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}_tryNext(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(t)}_innerSub(e){const t=new N(this),n=this.destination;n.add(t);const r=function(e,t){if(!t.closed)return e instanceof y?e.subscribe(t):B(e)(t)}(e,t);r!==t&&n.add(r)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(e){this.destination.next(e)}notifyComplete(){const e=this.buffer;this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function M(){return function(e){return e.lift(new V(e))}}class V{constructor(e){this.connectable=e}call(e,t){const{connectable:n}=this;n._refCount++;const r=new L(e,n),o=t.subscribe(r);return r.closed||(r.connection=n.connect()),o}}class L extends p{constructor(e,t){super(e),this.connectable=t}_unsubscribe(){const{connectable:e}=this;if(!e)return void(this.connection=null);this.connectable=null;const t=e._refCount;if(t<=0)return void(this.connection=null);if(e._refCount=t-1,t>1)return void(this.connection=null);const{connection:n}=this,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}class z extends y{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._refCount=0,this._isComplete=!1}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let e=this._connection;return e||(this._isComplete=!1,e=this._connection=new h,e.add(this.source.subscribe(new $(this.getSubject(),this))),e.closed&&(this._connection=null,e=h.EMPTY)),e}refCount(){return M()(this)}}const Z=(()=>{const e=z.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}})();class $ extends C{constructor(e,t){super(e),this.connectable=t}_error(e){this._unsubscribe(),super._error(e)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const e=this.connectable;if(e){this.connectable=null;const t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}function U(){return new v}function W(e){return{toString:e}.toString()}const q="__parameters__";function G(e,t,n){return W(()=>{const r=function(e){return function(...t){if(e){const n=e(...t);for(const e in n)this[e]=n[e]}}}(t);function o(...e){if(this instanceof o)return r.apply(this,e),this;const t=new o(...e);return n.annotation=t,n;function n(e,n,r){const o=e.hasOwnProperty(q)?e[q]:Object.defineProperty(e,q,{value:[]})[q];for(;o.length<=r;)o.push(null);return(o[r]=o[r]||[]).push(t),e}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}const Q=G("Inject",e=>({token:e})),J=G("Optional"),Y=G("Self"),K=G("SkipSelf");var X=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}({});function ee(e){for(let t in e)if(e[t]===ee)return t;throw Error("Could not find renamed property on target object.")}function te(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ne(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}function re(e){return oe(e,e[ie])||oe(e,e[ce])}function oe(e,t){return t&&t.token===e?t:null}function se(e){return e&&(e.hasOwnProperty(ue)||e.hasOwnProperty(ae))?e[ue]:null}const ie=ee({"\u0275prov":ee}),ue=ee({"\u0275inj":ee}),le=ee({"\u0275provFallback":ee}),ce=ee({ngInjectableDef:ee}),ae=ee({ngInjectorDef:ee});function he(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(he).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function de(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const fe=ee({__forward_ref__:ee});function pe(e){return e.__forward_ref__=pe,e.toString=function(){return he(this())},e}function ge(e){return"function"==typeof(t=e)&&t.hasOwnProperty(fe)&&t.__forward_ref__===pe?e():e;var t}const me="undefined"!=typeof globalThis&&globalThis,_e="undefined"!=typeof window&&window,ye="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,De="undefined"!=typeof global&&global,we=me||De||_e||ye,be=ee({"\u0275cmp":ee}),Ce=ee({"\u0275dir":ee}),ve=ee({"\u0275pipe":ee}),Ee=ee({"\u0275mod":ee}),Ae=ee({"\u0275loc":ee}),Fe=ee({"\u0275fac":ee}),xe=ee({__NG_ELEMENT_ID__:ee});class ke{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=te({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return"InjectionToken "+this._desc}}const Te=new ke("INJECTOR",-1),Ie={},Se=/\n/gm,Be="__source",Oe=ee({provide:String,useValue:ee});let Ne,Re=void 0;function Pe(e){const t=Re;return Re=e,t}function je(e){const t=Ne;return Ne=e,t}function He(e,t=X.Default){if(void 0===Re)throw new Error("inject() must be called from an injection context");return null===Re?Ve(e,void 0,t):Re.get(e,t&X.Optional?null:void 0,t)}function Me(e,t=X.Default){return(Ne||He)(ge(e),t)}function Ve(e,t,n){const r=re(e);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&X.Optional)return null;if(void 0!==t)return t;throw new Error(`Injector: NOT_FOUND [${he(e)}]`)}function Le(e){const t=[];for(let n=0;n<e.length;n++){const r=ge(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let e=void 0,n=X.Default;for(let t=0;t<r.length;t++){const o=r[t];o instanceof J||"Optional"===o.ngMetadataName||o===J?n|=X.Optional:o instanceof K||"SkipSelf"===o.ngMetadataName||o===K?n|=X.SkipSelf:o instanceof Y||"Self"===o.ngMetadataName||o===Y?n|=X.Self:e=o instanceof Q||o===Q?o.token:o}t.push(Me(e,n))}else t.push(Me(r))}return t}class ze{get(e,t=Ie){if(t===Ie){const t=new Error(`NullInjectorError: No provider for ${he(e)}!`);throw t.name="NullInjectorError",t}return t}}class Ze{}function $e(e,t){e.forEach(e=>Array.isArray(e)?$e(e,t):t(e))}function Ue(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function We(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}var qe=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}({}),Ge=function(e){return e[e.Emulated=0]="Emulated",e[e.Native=1]="Native",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}({});const Qe={},Je=[];let Ye=0;function Ke(e){return W(()=>{const t={},n={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===qe.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||Je,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Ge.Emulated,id:"c",styles:e.styles||Je,_:null,setInput:null,schemas:e.schemas||null,tView:null},r=e.directives,o=e.features,s=e.pipes;return n.id+=Ye++,n.inputs=rt(e.inputs,t),n.outputs=rt(e.outputs),o&&o.forEach(e=>e(n)),n.directiveDefs=r?()=>("function"==typeof r?r():r).map(Xe):null,n.pipeDefs=s?()=>("function"==typeof s?s():s).map(et):null,n})}function Xe(e){return it(e)||function(e){return e[Ce]||null}(e)}function et(e){return function(e){return e[ve]||null}(e)}const tt={};function nt(e){const t={type:e.type,bootstrap:e.bootstrap||Je,declarations:e.declarations||Je,imports:e.imports||Je,exports:e.exports||Je,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&W(()=>{tt[e.id]=e.type}),t}function rt(e,t){if(null==e)return Qe;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],s=o;Array.isArray(o)&&(s=o[1],o=o[0]),n[o]=r,t&&(t[o]=s)}return n}const ot=Ke;function st(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function it(e){return e[be]||null}function ut(e,t){return e.hasOwnProperty(Fe)?e[Fe]:null}function lt(e,t){const n=e[Ee]||null;if(!n&&!0===t)throw new Error(`Type ${he(e)} does not have '\u0275mod' property.`);return n}const ct=20,at=10;function ht(e){return Array.isArray(e)&&"object"==typeof e[1]}function dt(e){return Array.isArray(e)&&!0===e[1]}function ft(e){return 0!=(8&e.flags)}function pt(e){return 2==(2&e.flags)}function gt(e){return 1==(1&e.flags)}function mt(e){return null!==e.template}function _t(e){return 0!=(512&e[2])}function yt(e){return"string"==typeof e?e:null==e?"":""+e}function Dt(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():yt(e)}const wt=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(we))();function bt(e){return e instanceof Function?e():e}function Ct(e,t){const n=t?" in "+t:"";throw new Error(`No provider for ${Dt(e)} found${n}`)}class vt{constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}}function Et(){const e=Ft(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===Qe)e.previous=t;else for(let e in t)n[e]=t[e];e.current=null,this.ngOnChanges(t)}}function At(e,t,n,r){const o=Ft(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:Qe,current:null}),s=o.current||(o.current={}),i=o.previous,u=this.declaredInputs[n],l=i[u];s[u]=new vt(l&&l.currentValue,t,i===Qe),e[r]=t}function Ft(e){return e.__ngSimpleChanges__||null}let xt=void 0;function kt(){return void 0!==xt?xt:"undefined"!=typeof document?document:void 0}function Tt(e){return!!e.listen}const It={createRenderer:(e,t)=>kt()};function St(e){for(;Array.isArray(e);)e=e[0];return e}function Bt(e,t){return St(t[e.index])}function Ot(e,t){return e.data[t+ct]}function Nt(e,t){const n=t[e];return ht(n)?n:n[0]}function Rt(e){const t=function(e){return e.__ngContext__||null}(e);return t?Array.isArray(t)?t:t.lView:null}function Pt(e){return 128==(128&e[2])}function jt(e,t){return null===e||null==t?null:e[t]}function Ht(e){e[18]=0}function Mt(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const Vt={lFrame:rn(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Lt(){return Vt.bindingsEnabled}function zt(){return Vt.lFrame.lView}function Zt(){return Vt.lFrame.tView}function $t(){return Vt.lFrame.currentTNode}function Ut(e,t){Vt.lFrame.currentTNode=e,Vt.lFrame.isParent=t}function Wt(){return Vt.lFrame.isParent}function qt(){return Vt.isInCheckNoChangesMode}function Gt(e){Vt.isInCheckNoChangesMode=e}function Qt(){return Vt.lFrame.bindingIndex}function Jt(){return Vt.lFrame.bindingIndex++}function Yt(e,t){const n=Vt.lFrame;n.bindingIndex=n.bindingRootIndex=e,Kt(t)}function Kt(e){Vt.lFrame.currentDirectiveIndex=e}function Xt(e){Vt.lFrame.currentQueryIndex=e}function en(e,t){const n=nn();Vt.lFrame=n,n.currentTNode=t,n.lView=e}function tn(e){const t=nn(),n=e[1];Vt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex}function nn(){const e=Vt.lFrame,t=null===e?null:e.child;return null===t?rn(e):t}function rn(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null};return null!==e&&(e.child=t),t}function on(){const e=Vt.lFrame;return Vt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const sn=on;function un(){const e=on();e.isParent=!0,e.tView=null,e.selectedIndex=0,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function ln(){return Vt.lFrame.selectedIndex}function cn(e){Vt.lFrame.selectedIndex=e}function an(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const t=e.data[n].type.prototype,{ngAfterContentInit:r,ngAfterContentChecked:o,ngAfterViewInit:s,ngAfterViewChecked:i,ngOnDestroy:u}=t;r&&(e.contentHooks||(e.contentHooks=[])).push(-n,r),o&&((e.contentHooks||(e.contentHooks=[])).push(n,o),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,o)),s&&(e.viewHooks||(e.viewHooks=[])).push(-n,s),i&&((e.viewHooks||(e.viewHooks=[])).push(n,i),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,i)),null!=u&&(e.destroyHooks||(e.destroyHooks=[])).push(n,u)}}function hn(e,t,n){pn(e,t,3,n)}function dn(e,t,n,r){(3&e[2])===n&&pn(e,t,n,r)}function fn(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function pn(e,t,n,r){const o=null!=r?r:-1;let s=0;for(let i=void 0!==r?65535&e[18]:0;i<t.length;i++)if("number"==typeof t[i+1]){if(s=t[i],null!=r&&s>=r)break}else t[i]<0&&(e[18]+=65536),(s<o||-1==o)&&(gn(e,n,t,i),e[18]=(4294901760&e[18])+i+2),i++}function gn(e,t,n,r){const o=n[r]<0,s=n[r+1],i=e[o?-n[r]:n[r]];o?e[2]>>11<e[18]>>16&&(3&e[2])===t&&(e[2]+=2048,s.call(i)):s.call(i)}const mn=-1;class _n{constructor(e,t,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=n}}function yn(e,t,n){const r=Tt(e);let o=0;for(;o<n.length;){const s=n[o];if("number"==typeof s){if(0!==s)break;o++;const i=n[o++],u=n[o++],l=n[o++];r?e.setAttribute(t,u,l,i):t.setAttributeNS(i,u,l)}else{const i=s,u=n[++o];Dn(i)?r&&e.setProperty(t,i,u):r?e.setAttribute(t,i,u):t.setAttribute(i,u),o++}}return o}function Dn(e){return 64===e.charCodeAt(0)}function wn(e,t){if(null===t||0===t.length);else if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const o=t[r];"number"==typeof o?n=o:0===n||bn(e,n,o,null,-1===n||2===n?t[++r]:null)}}return e}function bn(e,t,n,r,o){let s=0,i=e.length;if(-1===t)i=-1;else for(;s<e.length;){const n=e[s++];if("number"==typeof n){if(n===t){i=-1;break}if(n>t){i=s-1;break}}}for(;s<e.length;){const t=e[s];if("number"==typeof t)break;if(t===n){if(null===r)return void(null!==o&&(e[s+1]=o));if(r===e[s+1])return void(e[s+2]=o)}s++,null!==r&&s++,null!==o&&s++}-1!==i&&(e.splice(i,0,t),s=i+1),e.splice(s++,0,n),null!==r&&e.splice(s++,0,r),null!==o&&e.splice(s++,0,o)}function Cn(e){return e!==mn}function vn(e){return 32767&e}function En(e,t){let n=e>>16,r=t;for(;n>0;)r=r[15],n--;return r}let An=!0;function Fn(e){const t=An;return An=e,t}let xn=0;function kn(e,t){const n=In(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Tn(r.data,e),Tn(t,null),Tn(r.blueprint,null));const o=Sn(e,t),s=e.injectorIndex;if(Cn(o)){const e=vn(o),n=En(o,t),r=n[1].data;for(let o=0;o<8;o++)t[s+o]=n[e+o]|r[e+o]}return t[s+8]=o,s}function Tn(e,t){e.push(0,0,0,0,0,0,0,0,t)}function In(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Sn(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){const e=o[1],t=e.type;if(r=2===t?e.declTNode:1===t?o[6]:null,null===r)return mn;if(n++,o=o[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return mn}function Bn(e,t,n){!function(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(xe)&&(r=n[xe]),null==r&&(r=n[xe]=xn++);const o=255&r,s=1<<o,i=64&o,u=32&o,l=t.data;128&o?i?u?l[e+7]|=s:l[e+6]|=s:u?l[e+5]|=s:l[e+4]|=s:i?u?l[e+3]|=s:l[e+2]|=s:u?l[e+1]|=s:l[e]|=s}(e,t,n)}function On(e,t,n,r=X.Default,o){if(null!==e){const o=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(xe)?e[xe]:void 0;return"number"==typeof t&&t>0?255&t:t}(n);if("function"==typeof o){en(t,e);try{const e=o();if(null!=e||r&X.Optional)return e;Ct(n)}finally{sn()}}else if("number"==typeof o){if(-1===o)return new Mn(e,t);let s=null,i=In(e,t),u=mn,l=r&X.Host?t[16][6]:null;for((-1===i||r&X.SkipSelf)&&(u=-1===i?Sn(e,t):t[i+8],u!==mn&&Hn(r,!1)?(s=t[1],i=vn(u),t=En(u,t)):i=-1);-1!==i;){const e=t[1];if(jn(o,i,e.data)){const e=Rn(i,t,n,s,r,l);if(e!==Nn)return e}u=t[i+8],u!==mn&&Hn(r,t[1].data[i+8]===l)&&jn(o,i,t)?(s=e,i=vn(u),t=En(u,t)):i=-1}}}if(r&X.Optional&&void 0===o&&(o=null),0==(r&(X.Self|X.Host))){const e=t[9],s=je(void 0);try{return e?e.get(n,o,r&X.Optional):Ve(n,o,r&X.Optional)}finally{je(s)}}if(r&X.Optional)return o;Ct(n,"NodeInjector")}const Nn={};function Rn(e,t,n,r,o,s){const i=t[1],u=i.data[e+8],l=function(e,t,n,r,o){const s=e.providerIndexes,i=t.data,u=1048575&s,l=e.directiveStart,c=s>>20,a=o?u+c:e.directiveEnd;for(let h=r?u:u+c;h<a;h++){const e=i[h];if(h<l&&n===e||h>=l&&e.type===n)return h}if(o){const e=i[l];if(e&&mt(e)&&e.type===n)return l}return null}(u,i,n,null==r?pt(u)&&An:r!=i&&2===u.type,o&X.Host&&s===u);return null!==l?Pn(t,i,l,u):Nn}function Pn(e,t,n,r){let o=e[n];const s=t.data;if(o instanceof _n){const i=o;i.resolving&&function(e,t){throw new Error("Circular dependency in DI detected for "+e)}(Dt(s[n]));const u=Fn(i.canSeeViewProviders);i.resolving=!0;const l=i.injectImpl?je(i.injectImpl):null;en(e,r);try{o=e[n]=i.factory(void 0,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&function(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:s}=t.type.prototype;if(r){const r=((i=t).type.prototype.ngOnChanges&&(i.setInput=At),Et);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,r)}var i;o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s))}(n,s[n],t)}finally{null!==l&&je(l),Fn(u),i.resolving=!1,sn()}}return o}function jn(e,t,n){const r=64&e,o=32&e;let s;return s=128&e?r?o?n[t+7]:n[t+6]:o?n[t+5]:n[t+4]:r?o?n[t+3]:n[t+2]:o?n[t+1]:n[t],!!(s&1<<e)}function Hn(e,t){return!(e&X.Self||e&X.Host&&t)}class Mn{constructor(e,t){this._tNode=e,this._lView=t}get(e,t){return On(this._tNode,this._lView,e,void 0,t)}}function Vn(e){return e.ngDebugContext}function Ln(e){return e.ngOriginalError}function zn(e,...t){e.error(...t)}class Zn{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e.ngErrorLogger||zn}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(e){return e?Vn(e)?Vn(e):this._findContext(Ln(e)):null}_findOriginalError(e){let t=Ln(e);for(;t&&Ln(t);)t=Ln(t);return t}}class $n{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"}}let Un=!0,Wn=!1;function qn(){return Wn=!0,Un}class Gn{getInertBodyElement(e){e="<body><remove></remove>"+e;try{const t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(t){return null}}}class Qn{constructor(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e);const t=this.inertDocument.createElement("body");e.appendChild(t)}}getInertBodyElement(e){const t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=e,t;const n=this.inertDocument.createElement("body");return n.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(e){const t=e.attributes;for(let r=t.length-1;0<r;r--){const n=t.item(r).name;"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||e.removeAttribute(n)}let n=e.firstChild;for(;n;)n.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(n),n=n.nextSibling}}const Jn=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,Yn=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Kn(e){return(e=String(e)).match(Jn)||e.match(Yn)?e:(qn()&&console.warn(`WARNING: sanitizing unsafe URL value ${e} (see http://g.co/ng/security#xss)`),"unsafe:"+e)}function Xn(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function er(...e){const t={};for(const n of e)for(const e in n)n.hasOwnProperty(e)&&(t[e]=!0);return t}const tr=Xn("area,br,col,hr,img,wbr"),nr=Xn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),rr=Xn("rp,rt"),or=er(rr,nr),sr=er(tr,er(nr,Xn("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")),er(rr,Xn("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),or),ir=Xn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ur=Xn("srcset"),lr=er(ir,ur,Xn("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,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Xn("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")),cr=Xn("script,style,template");class ar{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let t=e.firstChild,n=!0;for(;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let e=this.checkClobberedElement(t,t.nextSibling);if(e){t=e;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(e){const t=e.nodeName.toLowerCase();if(!sr.hasOwnProperty(t))return this.sanitizedSomething=!0,!cr.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const n=e.attributes;for(let o=0;o<n.length;o++){const e=n.item(o),t=e.name,s=t.toLowerCase();if(!lr.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let i=e.value;ir[s]&&(i=Kn(i)),ur[s]&&(r=i,i=(r=String(r)).split(",").map(e=>Kn(e.trim())).join(", ")),this.buf.push(" ",t,'="',fr(i),'"')}var r;return this.buf.push(">"),!0}endElement(e){const t=e.nodeName.toLowerCase();sr.hasOwnProperty(t)&&!tr.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(fr(e))}checkClobberedElement(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+e.outerHTML);return t}}const hr=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,dr=/([^\#-~ |!])/g;function fr(e){return e.replace(/&/g,"&amp;").replace(hr,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(dr,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let pr;function gr(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var mr=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}({});function _r(e){const t=function(){const e=zt();return e&&e[12]}();return t?t.sanitize(mr.HTML,e)||"":function(e,t){const n=function(e){return e instanceof $n&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see http://g.co/ng/security#xss)`)}return n===t}(e,"HTML")?(n=e)instanceof $n?n.changingThisBreaksApplicationSecurity:n:function(e,t){let n=null;try{pr=pr||function(e){return function(){try{return!!(new window.DOMParser).parseFromString("","text/html")}catch(e){return!1}}()?new Gn:new Qn(e)}(e);let r=t?String(t):"";n=pr.getInertBodyElement(r);let o=5,s=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=s,s=n.innerHTML,n=pr.getInertBodyElement(r)}while(r!==s);const i=new ar,u=i.sanitizeChildren(gr(n)||n);return qn()&&i.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),u}finally{if(n){const e=gr(n)||n;for(;e.firstChild;)e.removeChild(e.firstChild)}}}(kt(),yt(e));var n}function yr(e,t){e.__ngContext__=t}function Dr(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const n=t.length;if(o+n===r||e.charCodeAt(o+n)<=32)return o}n=o+1}}const wr="ng-template";function br(e,t,n){let r=0;for(;r<e.length;){let o=e[r++];if(n&&"class"===o){if(o=e[r],-1!==Dr(o.toLowerCase(),t,0))return!0}else if(1===o){for(;r<e.length&&"string"==typeof(o=e[r++]);)if(o.toLowerCase()===t)return!0;return!1}}return!1}function Cr(e){return 0===e.type&&e.tagName!==wr}function vr(e,t,n){return t===(0!==e.type||n?e.tagName:wr)}function Er(e,t,n){let r=4;const o=e.attrs||[],s=function(e){for(let n=0;n<e.length;n++)if(3===(t=e[n])||4===t||6===t)return n;var t;return e.length}(o);let i=!1;for(let u=0;u<t.length;u++){const l=t[u];if("number"!=typeof l){if(!i)if(4&r){if(r=2|1&r,""!==l&&!vr(e,l,n)||""===l&&1===t.length){if(Ar(r))return!1;i=!0}}else{const c=8&r?l:t[++u];if(8&r&&null!==e.attrs){if(!br(e.attrs,c,n)){if(Ar(r))return!1;i=!0}continue}const a=Fr(8&r?"class":l,o,Cr(e),n);if(-1===a){if(Ar(r))return!1;i=!0;continue}if(""!==c){let e;e=a>s?"":o[a+1].toLowerCase();const t=8&r?e:null;if(t&&-1!==Dr(t,c,0)||2&r&&c!==e){if(Ar(r))return!1;i=!0}}}}else{if(!i&&!Ar(r)&&!Ar(l))return!1;if(i&&Ar(l))continue;i=!1,r=l|1&r}}return Ar(r)||i}function Ar(e){return 0==(1&e)}function Fr(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let n=!1;for(;o<t.length;){const r=t[o];if(r===e)return o;if(3===r||6===r)n=!0;else{if(1===r||2===r){let e=t[++o];for(;"string"==typeof e;)e=t[++o];continue}if(4===r)break;if(0===r){o+=4;continue}}o+=n?1:2}return-1}return function(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function xr(e,t,n=!1){for(let r=0;r<t.length;r++)if(Er(e,t[r],n))return!0;return!1}function kr(e,t){return e?":not("+t.trim()+")":t}function Tr(e){let t=e[0],n=1,r=2,o="",s=!1;for(;n<e.length;){let i=e[n];if("string"==typeof i)if(2&r){const t=e[++n];o+="["+i+(t.length>0?'="'+t+'"':"")+"]"}else 8&r?o+="."+i:4&r&&(o+=" "+i);else""===o||Ar(i)||(t+=kr(s,o),o=""),r=i,s=s||!Ar(r);n++}return""!==o&&(t+=kr(s,o)),t}const Ir={};function Sr(e){const t=e[3];return dt(t)?t[3]:t}function Br(e){return Nr(e[13])}function Or(e){return Nr(e[4])}function Nr(e){for(;null!==e&&!dt(e);)e=e[4];return e}function Rr(e){Pr(Zt(),zt(),ln()+e,qt())}function Pr(e,t,n,r){if(!r)if(3==(3&t[2])){const r=e.preOrderCheckHooks;null!==r&&hn(t,r,n)}else{const r=e.preOrderHooks;null!==r&&dn(t,r,0,n)}cn(n)}function jr(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const o=n[r],s=n[r+1];if(-1!==s){const n=e.data[s];Xt(o),n.contentQueries(2,t[s],s)}}}function Hr(e,t,n){return Tt(t)?t.createElement(e,n):null===n?t.createElement(e):t.createElementNS(n,e)}function Mr(e,t,n,r,o,s,i,u,l,c){const a=t.blueprint.slice();return a[0]=o,a[2]=140|r,Ht(a),a[3]=a[15]=e,a[8]=n,a[10]=i||e&&e[10],a[11]=u||e&&e[11],a[12]=l||e&&e[12]||null,a[9]=c||e&&e[9]||null,a[6]=s,a[16]=2==t.type?e[16]:a,a}function Vr(e,t,n,r,o){const s=t+ct,i=e.data[s]||function(e,t,n,r,o){const s=$t(),i=Wt(),u=e.data[t]=function(e,t,n,r,o,s){return{type:n,index:r,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,tagName:o,attrs:s,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,i?s:s&&s.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=u),null!==s&&(i&&null==s.child&&null!==u.parent?s.child=u:i||(s.next=u)),u}(e,s,n,r,o);return Ut(i,!0),i}function Lr(e,t,n){tn(t);try{const r=e.viewQuery;null!==r&&mo(1,r,n);const o=e.template;null!==o&&$r(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&jr(e,t),e.staticViewQueries&&mo(2,e.viewQuery,n);const s=e.components;null!==s&&function(e,t){for(let n=0;n<t.length;n++)ao(e,t[n])}(t,s)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0),r}finally{t[2]&=-5,un()}}function zr(e,t,n,r){const o=t[2];if(256==(256&o))return;tn(t);const s=qt();try{Ht(t),Vt.lFrame.bindingIndex=e.bindingStartIndex,null!==n&&$r(e,t,n,2,r);const i=3==(3&o);if(!s)if(i){const n=e.preOrderCheckHooks;null!==n&&hn(t,n,null)}else{const n=e.preOrderHooks;null!==n&&dn(t,n,0,null),fn(t,0)}if(function(e){for(let t=Br(e);null!==t;t=Or(t)){if(!t[2])continue;const e=t[9];for(let t=0;t<e.length;t++){const n=e[t],r=n[3];0==(1024&n[2])&&Mt(r,1),n[2]|=1024}}}(t),function(e){for(let t=Br(e);null!==t;t=Or(t))for(let e=at;e<t.length;e++){const n=t[e],r=n[1];Pt(n)&&zr(r,n,r.template,n[8])}}(t),null!==e.contentQueries&&jr(e,t),!s)if(i){const n=e.contentCheckHooks;null!==n&&hn(t,n)}else{const n=e.contentHooks;null!==n&&dn(t,n,1),fn(t,1)}!function(e,t){try{const n=e.expandoInstructions;if(null!==n){let r=e.expandoStartIndex,o=-1,s=-1;for(let e=0;e<n.length;e++){const i=n[e];"number"==typeof i?i<=0?(s=0-i,cn(s),r+=9+n[++e],o=r):r+=i:(null!==i&&(Yt(r,o),i(2,t[o])),o++)}}}finally{cn(-1)}}(e,t);const u=e.components;null!==u&&function(e,t){for(let n=0;n<t.length;n++)co(e,t[n])}(t,u);const l=e.viewQuery;if(null!==l&&mo(2,l,r),!s)if(i){const n=e.viewCheckHooks;null!==n&&hn(t,n)}else{const n=e.viewHooks;null!==n&&dn(t,n,2),fn(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),s||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,Mt(t[3],-1))}finally{un()}}function Zr(e,t,n,r){const o=t[10],s=!qt(),i=4==(4&t[2]);try{s&&!i&&o.begin&&o.begin(),i&&Lr(e,t,r),zr(e,t,n,r)}finally{s&&!i&&o.end&&o.end()}}function $r(e,t,n,r,o){const s=ln();try{cn(-1),2&r&&t.length>ct&&Pr(e,t,0,qt()),n(r,o)}finally{cn(s)}}function Ur(e,t,n){Lt()&&(function(e,t,n,r){const o=n.directiveStart,s=n.directiveEnd;e.firstCreatePass||kn(n,t),yr(r,t);const i=n.initialInputs;for(let u=o;u<s;u++){const r=e.data[u],s=mt(r);s&&so(t,n,r);const l=Pn(t,e,u,n);yr(l,t),null!==i&&io(0,u-o,l,r,0,i),s&&(Nt(n.index,t)[8]=l)}}(e,t,n,Bt(n,t)),128==(128&n.flags)&&function(e,t,n){const r=n.directiveStart,o=n.directiveEnd,s=e.expandoInstructions,i=e.firstCreatePass,u=n.index-ct,l=Vt.lFrame.currentDirectiveIndex;try{cn(u);for(let n=r;n<o;n++){const r=e.data[n],o=t[n];Kt(n),null!==r.hostBindings||0!==r.hostVars||null!==r.hostAttrs?Xr(r,o):i&&s.push(null)}}finally{cn(-1),Kt(l)}}(e,t,n))}function Wr(e,t,n=Bt){const r=t.localNames;if(null!==r){let o=t.index+1;for(let s=0;s<r.length;s+=2){const i=r[s+1],u=-1===i?n(t,e):e[i];e[o++]=u}}}function qr(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Gr(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Gr(e,t,n,r,o,s,i,u,l,c){const a=ct+r,h=a+o,d=function(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:Ir);return n}(a,h),f="function"==typeof c?c():c;return d[1]={type:e,blueprint:d,template:n,queries:null,viewQuery:u,declTNode:t,data:d.slice().fill(null,a),bindingStartIndex:a,expandoStartIndex:h,expandoInstructions:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof s?s():s,pipeRegistry:"function"==typeof i?i():i,firstChild:null,schemas:l,consts:f,incompleteFirstPass:!1}}function Qr(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const o=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,o):n[r]=[t,o]}return n}function Jr(e,t,n,r){let o=!1;if(Lt()){const s=function(e,t,n){const r=e.directiveRegistry;let o=null;if(r)for(let s=0;s<r.length;s++){const i=r[s];xr(n,i.selectors,!1)&&(o||(o=[]),Bn(kn(n,t),e,i.type),mt(i)?(to(e,n),o.unshift(i)):o.push(i))}return o}(e,t,n),i=null===r?null:{"":-1};if(null!==s){let r=0;o=!0,ro(n,e.data.length,s.length);for(let e=0;e<s.length;e++){const t=s[e];t.providersResolver&&t.providersResolver(t)}eo(e,n,s.length);let u=!1,l=!1;for(let o=0;o<s.length;o++){const c=s[o];n.mergedAttrs=wn(n.mergedAttrs,c.hostAttrs),oo(e,t,c),no(e.data.length-1,c,i),null!==c.contentQueries&&(n.flags|=8),null===c.hostBindings&&null===c.hostAttrs&&0===c.hostVars||(n.flags|=128);const a=c.type.prototype;!u&&(a.ngOnChanges||a.ngOnInit||a.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index-ct),u=!0),l||!a.ngOnChanges&&!a.ngDoCheck||((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index-ct),l=!0),Yr(e,c),r+=c.hostVars}!function(e,t){const n=t.directiveEnd,r=e.data,o=t.attrs,s=[];let i=null,u=null;for(let l=t.directiveStart;l<n;l++){const e=r[l],n=e.inputs,c=null===o||Cr(t)?null:uo(n,o);s.push(c),i=Qr(n,l,i),u=Qr(e.outputs,l,u)}null!==i&&(i.hasOwnProperty("class")&&(t.flags|=16),i.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=s,t.inputs=i,t.outputs=u}(e,n),Kr(e,t,r)}i&&function(e,t,n){if(t){const r=e.localNames=[];for(let e=0;e<t.length;e+=2){const o=n[t[e+1]];if(null==o)throw new Error(`Export of name '${t[e+1]}' not found!`);r.push(t[e],o)}}}(n,r,i)}return n.mergedAttrs=wn(n.mergedAttrs,n.attrs),o}function Yr(e,t){const n=e.expandoInstructions;n.push(t.hostBindings),0!==t.hostVars&&n.push(t.hostVars)}function Kr(e,t,n){for(let r=0;r<n;r++)t.push(Ir),e.blueprint.push(Ir),e.data.push(null)}function Xr(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function eo(e,t,n){const r=ct-t.index,o=e.data.length-(1048575&t.providerIndexes);(e.expandoInstructions||(e.expandoInstructions=[])).push(r,o,n)}function to(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function no(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;mt(t)&&(n[""]=e)}}function ro(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function oo(e,t,n){e.data.push(n);const r=n.factory||(n.factory=ut(n.type)),o=new _n(r,mt(n),null);e.blueprint.push(o),t.push(o)}function so(e,t,n){const r=Bt(t,e),o=qr(n),s=e[10],i=ho(e,Mr(e,o,null,n.onPush?64:16,r,t,s,s.createRenderer(r,n),null,null));e[t.index]=i}function io(e,t,n,r,o,s){const i=s[t];if(null!==i){const e=r.setInput;for(let t=0;t<i.length;){const o=i[t++],s=i[t++],u=i[t++];null!==e?r.setInput(n,u,o,s):n[s]=u}}}function uo(e,t){let n=null,r=0;for(;r<t.length;){const o=t[r];if(0!==o)if(5!==o){if("number"==typeof o)break;e.hasOwnProperty(o)&&(null===n&&(n=[]),n.push(o,e[o],t[r+1])),r+=2}else r+=2;else r+=4}return n}function lo(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function co(e,t){const n=Nt(t,e);if(Pt(n)){const e=n[1];80&n[2]?zr(e,n,e.template,n[8]):n[5]>0&&function e(t){for(let r=Br(t);null!==r;r=Or(r))for(let t=at;t<r.length;t++){const n=r[t];if(1024&n[2]){const e=n[1];zr(e,n,e.template,n[8])}else n[5]>0&&e(n)}const n=t[1].components;if(null!==n)for(let r=0;r<n.length;r++){const o=Nt(n[r],t);Pt(o)&&o[5]>0&&e(o)}}(n)}}function ao(e,t){const n=Nt(t,e),r=n[1];!function(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n),Lr(r,n,n[8])}function ho(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function fo(e){for(;e;){e[2]|=64;const t=Sr(e);if(_t(e)&&!t)return e;e=t}return null}function po(e,t,n){const r=t[10];r.begin&&r.begin();try{zr(e,t,e.template,n)}catch(o){throw Do(t,o),o}finally{r.end&&r.end()}}function go(e){!function(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=Rt(n),o=r[1];Zr(o,r,o.template,n)}}(e[8])}function mo(e,t,n){Xt(0),t(e,n)}const _o=(()=>Promise.resolve(null))();function yo(e){return e[7]||(e[7]=[])}function Do(e,t){const n=e[9],r=n?n.get(Zn,null):null;r&&r.handleError(t)}function wo(e,t,n,r,o){for(let s=0;s<n.length;){const i=n[s++],u=n[s++],l=t[i],c=e.data[i];null!==c.setInput?c.setInput(l,o,r,u):l[u]=o}}function bo(e,t,n){const r=function(e,t){return St(t[e+ct])}(t,e),o=e[11];Tt(o)?o.setValue(r,n):r.textContent=n}function Co(e,t,n,r,o){if(null!=r){let s,i=!1;dt(r)?s=r:ht(r)&&(i=!0,r=r[0]);const u=St(r);0===e&&null!==n?null==o?ko(t,n,u):xo(t,n,u,o||null):1===e&&null!==n?xo(t,n,u,o||null):2===e?function(e,t,n){const r=Io(e,t);r&&function(e,t,n,r){Tt(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,u,i):3===e&&t.destroyNode(u),null!=s&&function(e,t,n,r,o){const s=n[7];s!==St(n)&&Co(t,e,r,s,o);for(let i=at;i<n.length;i++){const o=n[i];Oo(o[1],o,e,t,r,s)}}(t,e,s,n,o)}}function vo(e,t){const n=e[9],r=n.indexOf(t),o=t[3];1024&t[2]&&(t[2]&=-1025,Mt(o,-1)),n.splice(r,1)}function Eo(e,t){if(e.length<=at)return;const n=at+t,r=e[n];if(r){const s=r[17];null!==s&&s!==e&&vo(s,r),t>0&&(e[n-1][4]=r[4]);const i=We(e,at+t);Oo(r[1],o=r,o[11],2,null,null),o[0]=null,o[6]=null;const u=i[19];null!==u&&u.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-129}var o;return r}function Ao(e,t){if(!(256&t[2])){const n=t[11];Tt(n)&&n.destroyNode&&Oo(e,t,n,3,null,null),function(e){let t=e[13];if(!t)return Fo(e[1],e);for(;t;){let n=null;if(ht(t))n=t[13];else{const e=t[10];e&&(n=e)}if(!n){for(;t&&!t[4]&&t!==e;)ht(t)&&Fo(t[1],t),t=t[3];null===t&&(t=e),ht(t)&&Fo(t[1],t),n=t&&t[4]}t=n}}(t)}}function Fo(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const e=t[n[r]];if(!(e instanceof _n)){const t=n[r+1];if(Array.isArray(t))for(let n=0;n<t.length;n+=2)t[n+1].call(e[t[n]]);else t.call(e)}}}(e,t),function(e,t){const n=e.cleanup;if(null!==n){const e=t[7];for(let r=0;r<n.length-1;r+=2)if("string"==typeof n[r]){const o=n[r+1],s="function"==typeof o?o(t):St(t[o]),i=e[n[r+2]],u=n[r+3];"boolean"==typeof u?s.removeEventListener(n[r],i,u):u>=0?e[u]():e[-u].unsubscribe(),r+=2}else n[r].call(e[n[r+1]]);t[7]=null}}(e,t),1===t[1].type&&Tt(t[11])&&t[11].destroy();const n=t[17];if(null!==n&&dt(t[3])){n!==t[3]&&vo(n,t);const r=t[19];null!==r&&r.detachView(e)}}}function xo(e,t,n,r){Tt(e)?e.insertBefore(t,n,r):t.insertBefore(n,r,!0)}function ko(e,t,n){Tt(e)?e.appendChild(t,n):t.appendChild(n)}function To(e,t,n,r){null!==r?xo(e,t,n,r):ko(e,t,n)}function Io(e,t){return Tt(e)?e.parentNode(t):t.parentNode}function So(e,t,n,r){const o=function(e,t,n){let r=t.parent;for(;null!=r&&(3===r.type||4===r.type);)r=(t=r).parent;if(null===r)return n[0];if(t&&4===t.type&&4&t.flags)return Bt(t,n).parentNode;if(2&r.flags){const t=e.data,n=t[t[r.index].directiveStart].encapsulation;if(n!==Ge.ShadowDom&&n!==Ge.Native)return null}return Bt(r,n)}(e,r,t);if(null!=o){const e=t[11],s=function(e,t){return 3===e.type||4===e.type?Bt(e,t):null}(r.parent||t[6],t);if(Array.isArray(n))for(let t=0;t<n.length;t++)To(e,o,n[t],s);else To(e,o,n,s)}}function Bo(e,t,n,r,o,s,i){for(;null!=n;){const u=r[n.index],l=n.type;i&&0===t&&(u&&yr(St(u),r),n.flags|=4),64!=(64&n.flags)&&(3===l||4===l?(Bo(e,t,n.child,r,o,s,!1),Co(t,e,o,u,s)):1===l?No(e,t,r,n,o,s):Co(t,e,o,u,s)),n=i?n.projectionNext:n.next}}function Oo(e,t,n,r,o,s){Bo(n,r,e.firstChild,t,o,s,!1)}function No(e,t,n,r,o,s){const i=n[16],u=i[6].projection[r.projection];if(Array.isArray(u))for(let l=0;l<u.length;l++)Co(t,e,o,u[l],s);else Bo(e,t,u,i[3],o,s,!0)}function Ro(e,t,n){Tt(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function Po(e,t,n){Tt(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}class jo{constructor(e,t){this._lView=e,this._cdRefInjectingView=t,this._appRef=null,this._viewContainerRef=null}get rootNodes(){const e=this._lView,t=e[1];return function e(t,n,r,o,s=!1){for(;null!==r;){const i=n[r.index];if(null!==i&&o.push(St(i)),dt(i))for(let t=at;t<i.length;t++){const n=i[t],r=n[1].firstChild;null!==r&&e(n[1],n,r,o)}const u=r.type;if(3===u||4===u)e(t,n,r.child,o);else if(1===u){const t=n[16],s=t[6].projection[r.projection];if(Array.isArray(s))o.push(...s);else{const n=Sr(t);e(n[1],n,s,o,!0)}}r=s?r.projectionNext:r.next}return o}(t,e,t.firstChild,[])}get context(){return this._lView[8]}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){const e=this._viewContainerRef.indexOf(this);e>-1&&this._viewContainerRef.detach(e),this._viewContainerRef=null}Ao(this._lView[1],this._lView)}onDestroy(e){!function(e,t,n,r){const o=yo(t);o.push(null),e.firstCreatePass&&function(e){return e.cleanup||(e.cleanup=[])}(e).push(r,o.length-1)}(this._lView[1],this._lView,0,e)}markForCheck(){fo(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){po(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,n){Gt(!0);try{po(e,t,n)}finally{Gt(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}detachFromAppRef(){var e;this._appRef=null,Oo(this._lView[1],e=this._lView,e[11],2,null,null)}attachToAppRef(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}class Ho extends jo{constructor(e){super(e),this._view=e}detectChanges(){go(this._view)}checkNoChanges(){!function(e){Gt(!0);try{go(e)}finally{Gt(!1)}}(this._view)}get context(){return null}}let Mo,Vo,Lo;function zo(e,t,n){return Mo||(Mo=class extends e{}),new Mo(Bt(t,n))}const Zo=new ke("Set Injector scope."),$o={},Uo={},Wo=[];let qo=void 0;function Go(){return void 0===qo&&(qo=new ze),qo}function Qo(e,t=null,n=null,r){return new Jo(e,n,t||Go(),r)}class Jo{constructor(e,t,n,r=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const o=[];t&&$e(t,n=>this.processProvider(n,e,t)),$e([e],e=>this.processInjectorType(e,[],o)),this.records.set(Te,Ko(void 0,this));const s=this.records.get(Zo);this.scope=null!=s?s.value:null,this.source=r||("object"==typeof e?null:he(e))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(e=>e.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(e,t=Ie,n=X.Default){this.assertNotDestroyed();const r=Pe(this);try{if(!(n&X.SkipSelf)){let t=this.records.get(e);if(void 0===t){const n=("function"==typeof(o=e)||"object"==typeof o&&o instanceof ke)&&re(e);t=n&&this.injectableDefInScope(n)?Ko(Yo(e),$o):null,this.records.set(e,t)}if(null!=t)return this.hydrate(e,t)}return(n&X.Self?Go():this.parent).get(e,t=n&X.Optional&&t===Ie?null:t)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(he(e)),r)throw s;return function(e,t,n,r){const o=e.ngTempTokenPath;throw t[Be]&&o.unshift(t[Be]),e.message=function(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let o=he(t);if(Array.isArray(t))o=t.map(he).join(" -> ");else if("object"==typeof t){let e=[];for(let n in t)if(t.hasOwnProperty(n)){let r=t[n];e.push(n+":"+("string"==typeof r?JSON.stringify(r):he(r)))}o=`{${e.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Se,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e.ngTempTokenPath=null,e}(s,e,"R3InjectorError",this.source)}throw s}finally{Pe(r)}var o}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(e=>this.get(e))}toString(){const e=[];return this.records.forEach((t,n)=>e.push(he(n))),`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(e,t,n){if(!(e=ge(e)))return!1;let r=se(e);const o=null==r&&e.ngModule||void 0,s=void 0===o?e:o,i=-1!==n.indexOf(s);if(void 0!==o&&(r=se(o)),null==r)return!1;if(null!=r.imports&&!i){let e;n.push(s);try{$e(r.imports,r=>{this.processInjectorType(r,t,n)&&(void 0===e&&(e=[]),e.push(r))})}finally{}if(void 0!==e)for(let t=0;t<e.length;t++){const{ngModule:n,providers:r}=e[t];$e(r,e=>this.processProvider(e,n,r||Wo))}}this.injectorDefTypes.add(s),this.records.set(s,Ko(r.factory,$o));const u=r.providers;if(null!=u&&!i){const t=e;$e(u,e=>this.processProvider(e,t,u))}return void 0!==o&&void 0!==e.providers}processProvider(e,t,n){let r=es(e=ge(e))?e:ge(e&&e.provide);const o=function(e,t,n){return Xo(e)?Ko(void 0,e.useValue):Ko(function(e,t,n){let r=void 0;if(es(e)){const t=ge(e);return ut(t)||Yo(t)}if(Xo(e))r=()=>ge(e.useValue);else if((o=e)&&o.useFactory)r=()=>e.useFactory(...Le(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))r=()=>Me(ge(e.useExisting));else{const t=ge(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return ut(t)||Yo(t);r=()=>new t(...Le(e.deps))}var o;return r}(e),$o)}(e);if(es(e)||!0!==e.multi)this.records.get(r);else{let t=this.records.get(r);t||(t=Ko(void 0,$o,!0),t.factory=()=>Le(t.multi),this.records.set(r,t)),r=e,t.multi.push(e)}this.records.set(r,o)}hydrate(e,t){var n;return t.value===$o&&(t.value=Uo,t.value=t.factory()),"object"==typeof t.value&&t.value&&null!==(n=t.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(t.value),t.value}injectableDefInScope(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||e.providedIn===this.scope:this.injectorDefTypes.has(e.providedIn))}}function Yo(e){const t=re(e),n=null!==t?t.factory:ut(e);if(null!==n)return n;const r=se(e);if(null!==r)return r.factory;if(e instanceof ke)throw new Error(`Token ${he(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const n=function(e,t){const n=[];for(let r=0;r<e;r++)n.push("?");return n}(t);throw new Error(`Can't resolve all parameters for ${he(e)}: (${n.join(", ")}).`)}const n=function(e){const t=e&&(e[ie]||e[ce]||e[le]&&e[le]());if(t){const n=function(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Error("unreachable")}function Ko(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Xo(e){return null!==e&&"object"==typeof e&&Oe in e}function es(e){return"function"==typeof e}const ts=function(e,t,n){return function(e,t=null,n=null,r){const o=Qo(e,t,n,r);return o._resolveInjectorDefTypes(),o}({name:n},t,e,n)};let ns=(()=>{class e{static create(e,t){return Array.isArray(e)?ts(e,t,""):ts(e.providers,e.parent,e.name||"")}}return e.THROW_IF_NOT_FOUND=Ie,e.NULL=new ze,e.\u0275prov=te({token:e,providedIn:"any",factory:()=>Me(Te)}),e.__NG_ELEMENT_ID__=-1,e})();function rs(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,s=0;if(null!==t)for(let i=0;i<t.length;i++){const e=t[i];"number"==typeof e?s=e:1==s?o=de(o,e):2==s&&(r=de(r,e+": "+t[++i]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function os(e,t){const n=Rt(e)[1],r=n.data.length-1;an(n,{directiveStart:r,directiveEnd:r+1})}let ss=null;function is(){if(!ss){const e=we.Symbol;if(e&&e.iterator)ss=e.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;t<e.length;++t){const n=e[t];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(ss=n)}}}return ss}class us{constructor(e){this.wrapped=e}static wrap(e){return new us(e)}static unwrap(e){return us.isWrapped(e)?e.wrapped:e}static isWrapped(e){return e instanceof us}}function ls(e){return!!cs(e)&&(Array.isArray(e)||!(e instanceof Map)&&is()in e)}function cs(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function as(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function hs(e,t,n,r,o,s,i,u){const l=zt(),c=Zt(),a=e+ct,h=c.firstCreatePass?function(e,t,n,r,o,s,i,u,l){const c=t.consts,a=Vr(t,e,0,i||null,jt(c,u));Jr(t,n,a,jt(c,l)),an(t,a);const h=a.tViews=Gr(2,a,r,o,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c);return null!==t.queries&&(t.queries.template(t,a),h.queries=t.queries.embeddedTView(a)),a}(e,c,l,t,n,r,o,s,i):c.data[a];Ut(h,!1);const d=l[11].createComment("");So(c,l,d,h),yr(d,l),ho(l,l[a]=lo(d,l,d,h)),gt(h)&&Ur(c,l,h),null!=i&&Wr(l,h,u)}function ds(e,t=X.Default){const n=zt();return null===n?Me(e,t):On($t(),n,ge(e),t)}function fs(e,t,n){const r=zt();return as(r,Jt(),t)&&function(e,t,n,r,o,s,i,u){const l=Bt(t,n);let c,a=t.inputs;var h;null!=a&&(c=a[r])?(wo(e,n,c,r,o),pt(t)&&function(e,t){const n=Nt(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):2===t.type&&(r="class"===(h=r)?"className":"for"===h?"htmlFor":"formaction"===h?"formAction":"innerHtml"===h?"innerHTML":"readonly"===h?"readOnly":"tabindex"===h?"tabIndex":h,o=null!=i?i(o,t.tagName||"",r):o,Tt(s)?s.setProperty(l,r,o):Dn(r)||(l.setProperty?l.setProperty(r,o):l[r]=o))}(Zt(),function(){const e=Vt.lFrame;return Ot(e.tView,e.selectedIndex)}(),r,e,t,r[11],n),fs}function ps(e,t,n,r,o){const s=o?"class":"style";wo(e,n,t.inputs[s],s,r)}function gs(e,t,n,r){const o=zt(),s=Zt(),i=ct+e,u=o[11],l=o[i]=Hr(t,u,Vt.lFrame.currentNamespace),c=s.firstCreatePass?function(e,t,n,r,o,s,i){const u=t.consts,l=Vr(t,e,2,o,jt(u,s));return Jr(t,n,l,jt(u,i)),null!==l.attrs&&rs(l,l.attrs,!1),null!==l.mergedAttrs&&rs(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(e,s,o,0,t,n,r):s.data[i];Ut(c,!0);const a=c.mergedAttrs;null!==a&&yn(u,l,a);const h=c.classes;null!==h&&Po(u,l,h);const d=c.styles;null!==d&&Ro(u,l,d),So(s,o,l,c),0===Vt.lFrame.elementDepthCount&&yr(l,o),Vt.lFrame.elementDepthCount++,gt(c)&&(Ur(s,o,c),function(e,t,n){if(ft(t)){const r=t.directiveEnd;for(let o=t.directiveStart;o<r;o++){const t=e.data[o];t.contentQueries&&t.contentQueries(1,n[o],o)}}}(s,c,o)),null!==r&&Wr(o,c)}function ms(){let e=$t();Wt()?Vt.lFrame.isParent=!1:(e=e.parent,Ut(e,!1));const t=e;Vt.lFrame.elementDepthCount--;const n=Zt();n.firstCreatePass&&(an(n,e),ft(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&ps(n,t,zt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&ps(n,t,zt(),t.stylesWithoutHost,!1)}function _s(e,t,n,r){gs(e,t,n,r),ms()}function ys(e){return!!e&&"function"==typeof e.then}function Ds(e,t,n=!1,r){const o=zt(),s=Zt(),i=$t();return function(e,t,n,r,o,s,i=!1,u){const l=gt(r),c=e.firstCreatePass&&(e.cleanup||(e.cleanup=[])),a=yo(t);let h=!0;if(2===r.type){const d=Bt(r,t),f=u?u(d):Qe,p=f.target||d,g=a.length,m=u?e=>u(St(e[r.index])).target:r.index;if(Tt(n)){let i=null;if(!u&&l&&(i=function(e,t,n,r){const o=e.cleanup;if(null!=o)for(let s=0;s<o.length-1;s+=2){const e=o[s];if(e===n&&o[s+1]===r){const e=t[7],n=o[s+2];return e.length>n?e[n]:null}"string"==typeof e&&(s+=2)}return null}(e,t,o,r.index)),null!==i)(i.__ngLastListenerFn__||i).__ngNextListenerFn__=s,i.__ngLastListenerFn__=s,h=!1;else{s=bs(r,t,s,!1);const e=n.listen(f.name||p,o,s);a.push(s,e),c&&c.push(o,m,g,g+1)}}else s=bs(r,t,s,!0),p.addEventListener(o,s,i),a.push(s),c&&c.push(o,m,g,i)}const d=r.outputs;let f;if(h&&null!==d&&(f=d[o])){const e=f.length;if(e)for(let n=0;n<e;n+=2){const e=t[f[n]][f[n+1]].subscribe(s),i=a.length;a.push(s,e),c&&c.push(o,r.index,i,-(i+1))}}}(s,o,o[11],i,e,t,n,r),Ds}function ws(e,t,n){try{return!1!==t(n)}catch(r){return Do(e,r),!1}}function bs(e,t,n,r){return function o(s){if(s===Function)return n;const i=2&e.flags?Nt(e.index,t):t;0==(32&t[2])&&fo(i);let u=ws(t,n,s),l=o.__ngNextListenerFn__;for(;l;)u=ws(t,l,s)&&u,l=l.__ngNextListenerFn__;return r&&!1===u&&(s.preventDefault(),s.returnValue=!1),u}}function Cs(e=1){return function(e){return(Vt.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,Vt.lFrame.contextLView))[8]}(e)}function vs(e,t=""){const n=zt(),r=Zt(),o=e+ct,s=r.firstCreatePass?Vr(r,e,2,null,null):r.data[o],i=n[o]=function(e,t){return Tt(t)?t.createText(e):t.createTextNode(e)}(t,n[11]);So(r,n,i,s),Ut(s,!1)}function Es(e){return As("",e,""),Es}function As(e,t,n){const r=zt(),o=function(e,t,n,r){return as(e,Jt(),n)?t+yt(n)+r:Ir}(r,e,t,n);return o!==Ir&&bo(r,ln(),o),As}function Fs(e,t,n,r,o){const s=zt(),i=function(e,t,n,r,o,s){const i=function(e,t,n,r){const o=as(e,t,n);return as(e,t+1,r)||o}(e,Qt(),n,o);return function(e){const t=Vt.lFrame;t.bindingIndex=t.bindingIndex+2}(),i?t+yt(n)+r+yt(o)+s:Ir}(s,e,t,n,r,o);return i!==Ir&&bo(s,ln(),i),Fs}const xs=void 0;var ks=["en",[["a","p"],["AM","PM"],xs],[["AM","PM"],xs,xs],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],xs,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],xs,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",xs,"{1} 'at' {0}",xs],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];let Ts={};function Is(e){return e in Ts||(Ts[e]=we.ng&&we.ng.common&&we.ng.common.locales&&we.ng.common.locales[e]),Ts[e]}var Ss=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}({});const Bs="en-US";let Os=Bs;function Ns(e){var t,n;n="Expected localeId to be defined",null==(t=e)&&function(e,t,n,r){throw new Error("ASSERTION ERROR: "+e+` [Expected=> null != ${t} <=Actual]`)}(n,t),"string"==typeof e&&(Os=e.toLowerCase().replace(/_/g,"-"))}class Rs{}class Ps{resolveComponentFactory(e){throw function(e){const t=Error(`No component factory found for ${he(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(e)}}let js=(()=>{class e{}return e.NULL=new Ps,e})(),Hs=(()=>{class e{constructor(e){this.nativeElement=e}}return e.__NG_ELEMENT_ID__=()=>Ms(e),e})();const Ms=function(e){return zo(e,$t(),zt())};class Vs{}var Ls=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({});let zs=(()=>{class e{}return e.\u0275prov=te({token:e,providedIn:"root",factory:()=>null}),e})();class Zs{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const $s=new Zs("10.2.3");class Us{constructor(){}supports(e){return ls(e)}create(e){return new qs(e)}}const Ws=(e,t)=>t;class qs{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||Ws}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,n=this._removalsHead,r=0,o=null;for(;t||n;){const s=!n||t&&t.currentIndex<Ys(n,r,o)?t:n,i=Ys(s,r,o),u=s.currentIndex;if(s===n)r--,n=n._nextRemoved;else if(t=t._next,null==s.previousIndex)r++;else{o||(o=[]);const e=i-r,t=u-r;if(e!=t){for(let n=0;n<e;n++){const r=n<o.length?o[n]:o[n]=0,s=r+n;t<=s&&s<e&&(o[n]=r+1)}o[s.previousIndex]=t-e}}i!==u&&e(s,i,u)}}forEachPreviousItem(e){let t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachMovedItem(e){let t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}forEachIdentityChange(e){let t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)}diff(e){if(null==e&&(e=[]),!ls(e))throw new Error(`Error trying to diff '${he(e)}'. Only arrays and iterables are allowed`);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t,n,r,o=this._itHead,s=!1;if(Array.isArray(e)){this.length=e.length;for(let t=0;t<this.length;t++)n=e[t],r=this._trackByFn(t,n),null!==o&&Object.is(o.trackById,r)?(s&&(o=this._verifyReinsertion(o,n,r,t)),Object.is(o.item,n)||this._addIdentityChange(o,n)):(o=this._mismatch(o,n,r,t),s=!0),o=o._next}else t=0,function(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[is()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(e,e=>{r=this._trackByFn(t,e),null!==o&&Object.is(o.trackById,r)?(s&&(o=this._verifyReinsertion(o,e,r,t)),Object.is(o.item,e)||this._addIdentityChange(o,e)):(o=this._mismatch(o,e,r,t),s=!0),o=o._next,t++}),this.length=t;return this._truncate(o),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,n,r){let o;return null===e?o=this._itTail:(o=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,o,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,o,r)):e=this._addAfter(new Gs(t,n),o,r),e}_verifyReinsertion(e,t,n,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==o?e=this._reinsertAfter(o,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const r=e._prevRemoved,o=e._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e}_moveAfter(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}_addAfter(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,t,n){const r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new Js),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Js),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class Gs{constructor(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class Qs{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){const t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head}}class Js{constructor(){this.map=new Map}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new Qs,this.map.set(t,n)),n.add(e)}get(e,t){const n=this.map.get(e);return n?n.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Ys(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}class Ks{constructor(){}supports(e){return e instanceof Map||cs(e)}create(){return new Xs}}class Xs{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(e){let t;for(t=this._mapHead;null!==t;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}diff(e){if(e){if(!(e instanceof Map||cs(e)))throw new Error(`Error trying to diff '${he(e)}'. Only maps and objects are allowed`)}else e=new Map;return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(e,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{const r=this._getOrCreateRecordForKey(n,e);t=this._insertBeforeOrAppend(t,r)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let e=t;null!==e;e=e._nextRemoved)e===this._mapHead&&(this._mapHead=null),this._records.delete(e.key),e._nextRemoved=e._next,e.previousValue=e.currentValue,e.currentValue=null,e._prev=null,e._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){const n=this._records.get(e);this._maybeAddToChanges(n,t);const r=n._prev,o=n._next;return r&&(r._next=o),o&&(o._prev=r),n._next=null,n._prev=null,n}const n=new ei(e);return this._records.set(e,n),n.currentValue=t,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(n=>t(e[n],n))}}class ei{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}let ti=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(null!=n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>{if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,n)},deps:[[e,new K,new J]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(null!=t)return t;throw new Error(`Cannot find a differ supporting object '${e}' of type '${n=e,n.name||typeof n}'`);var n}}return e.\u0275prov=te({token:e,providedIn:"root",factory:()=>new e([new Us])}),e})(),ni=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>{if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,n)},deps:[[e,new K,new J]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(t)return t;throw new Error(`Cannot find a differ supporting object '${e}'`)}}return e.\u0275prov=te({token:e,providedIn:"root",factory:()=>new e([new Ks])}),e})();const ri=[new Ks],oi=new ti([new Us]),si=new ni(ri);let ii=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>ui(e,Hs),e})();const ui=function(e,t){return function(e,t,n,r){return Vo||(Vo=class extends e{constructor(e,t,n){super(),this._declarationView=e,this._declarationTContainer=t,this.elementRef=n}createEmbeddedView(e){const t=this._declarationTContainer.tViews,n=Mr(this._declarationView,t,e,16,null,t.declTNode,null,null,null,null);n[17]=this._declarationView[this._declarationTContainer.index];const r=this._declarationView[19];return null!==r&&(n[19]=r.createEmbeddedView(t)),Lr(t,n,e),new jo(n)}}),0===n.type?new Vo(r,n,zo(t,n,r)):null}(e,t,$t(),zt())};let li=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>ci(e,Hs),e})();const ci=function(e,t){return function(e,t,n,r){let o;Lo||(Lo=class extends e{constructor(e,t,n){super(),this._lContainer=e,this._hostTNode=t,this._hostView=n}get element(){return zo(t,this._hostTNode,this._hostView)}get injector(){return new Mn(this._hostTNode,this._hostView)}get parentInjector(){const e=Sn(this._hostTNode,this._hostView);if(Cn(e)){const t=En(e,this._hostView),n=vn(e);return new Mn(t[1].data[n+8],t)}return new Mn(null,this._hostView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){return null!==this._lContainer[8]&&this._lContainer[8][e]||null}get length(){return this._lContainer.length-at}createEmbeddedView(e,t,n){const r=e.createEmbeddedView(t||{});return this.insert(r,n),r}createComponent(e,t,n,r,o){const s=n||this.parentInjector;if(!o&&null==e.ngModule&&s){const e=s.get(Ze,null);e&&(o=e)}const i=e.create(s,r,void 0,o);return this.insert(i.hostView,t),i}insert(e,t){const n=e._lView,r=n[1];if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),dt(n[3])){const t=this.indexOf(e);if(-1!==t)this.detach(t);else{const t=n[3],r=new Lo(t,t[6],t[3]);r.detach(r.indexOf(e))}}const o=this._adjustIndex(t),s=this._lContainer;!function(e,t,n,r){const o=at+r,s=n.length;r>0&&(n[o-1][4]=t),r<s-at?(t[4]=n[o],Ue(n,at+r,t)):(n.push(t),t[4]=null),t[3]=n;const i=t[17];null!==i&&n!==i&&function(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(i,t);const u=t[19];null!==u&&u.insertView(e),t[2]|=128}(r,n,s,o);const i=function e(t,n){const r=at+t+1;if(r<n.length){const t=n[r],o=t[1].firstChild;if(null!==o)return function t(n,r){if(null!==r){const o=r.type;if(2===o)return Bt(r,n);if(0===o)return e(-1,n[r.index]);if(3===o||4===o){const o=r.child;if(null!==o)return t(n,o);{const t=n[r.index];return dt(t)?e(-1,t):St(t)}}{const e=n[16],o=e[6],s=Sr(e),i=o.projection[r.projection];return null!=i?t(s,i):t(n,r.next)}}return null}(t,o)}return n[7]}(o,s),u=n[11],l=Io(u,s[7]);return null!==l&&function(e,t,n,r,o,s){r[0]=o,r[6]=t,Oo(e,r,n,1,o,s)}(r,s[6],u,n,l,i),e.attachToViewContainerRef(this),Ue(s[8],o,e),e}move(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");return this.insert(e,t)}indexOf(e){const t=this._lContainer[8];return null!==t?t.indexOf(e):-1}remove(e){this.allocateContainerIfNeeded();const t=this._adjustIndex(e,-1),n=Eo(this._lContainer,t);n&&(We(this._lContainer[8],t),Ao(n[1],n))}detach(e){this.allocateContainerIfNeeded();const t=this._adjustIndex(e,-1),n=Eo(this._lContainer,t);return n&&null!=We(this._lContainer[8],t)?new jo(n):null}_adjustIndex(e,t=0){return null==e?this.length+t:e}allocateContainerIfNeeded(){null===this._lContainer[8]&&(this._lContainer[8]=[])}});const s=r[n.index];if(dt(s))o=s;else{let e;if(3===n.type)e=St(s);else if(e=r[11].createComment(""),_t(r)){const t=r[11],o=Bt(n,r);xo(t,Io(t,o),e,function(e,t){return Tt(e)?e.nextSibling(t):t.nextSibling}(t,o))}else So(r[1],r,e,n);r[n.index]=o=lo(s,r,e,n),ho(r,o)}return new Lo(o,n,r)}(e,t,$t(),zt())},ai={};class hi extends js{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const t=it(e);return new pi(t,this.ngModule)}}function di(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}const fi=new ke("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>wt});class pi extends Rs{constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=e.selectors.map(Tr).join(","),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return di(this.componentDef.inputs)}get outputs(){return di(this.componentDef.outputs)}create(e,t,n,r){const o=(r=r||this.ngModule)?function(e,t){return{get:(n,r,o)=>{const s=e.get(n,ai,o);return s!==ai||r===ai?s:t.get(n,r,o)}}}(e,r.injector):e,s=o.get(Vs,It),i=o.get(zs,null),u=s.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?function(e,t,n){if(Tt(e))return e.selectRootElement(t,n===Ge.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(u,n,this.componentDef.encapsulation):Hr(l,s.createRenderer(null,this.componentDef),function(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(l)),a=this.componentDef.onPush?576:528,h={components:[],scheduler:wt,clean:_o,playerHandler:null,flags:0},d=Gr(0,null,null,1,0,null,null,null,null,null),f=Mr(null,d,h,a,null,null,s,u,i,o);let p,g;tn(f);try{const e=function(e,t,n,r,o,s){const i=n[1];n[20]=e;const u=Vr(i,0,2,null,null),l=u.mergedAttrs=t.hostAttrs;null!==l&&(rs(u,l,!0),null!==e&&(yn(o,e,l),null!==u.classes&&Po(o,e,u.classes),null!==u.styles&&Ro(o,e,u.styles)));const c=r.createRenderer(e,t),a=Mr(n,qr(t),null,t.onPush?64:16,n[20],u,r,c,null,null);return i.firstCreatePass&&(Bn(kn(u,n),i,t.type),to(i,u),ro(u,n.length,1)),ho(n,a),n[20]=a}(c,this.componentDef,f,s,u);if(c)if(n)yn(u,c,["ng-version",$s.full]);else{const{attrs:e,classes:t}=function(e){const t=[],n=[];let r=1,o=2;for(;r<e.length;){let s=e[r];if("string"==typeof s)2===o?""!==s&&t.push(s,e[++r]):8===o&&n.push(s);else{if(!Ar(o))break;o=s}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);e&&yn(u,c,e),t&&t.length>0&&Po(u,c,t.join(" "))}if(g=Ot(d,0),void 0!==t){const e=g.projection=[];for(let n=0;n<this.ngContentSelectors.length;n++){const r=t[n];e.push(null!=r?Array.from(r):null)}}p=function(e,t,n,r,o){const s=n[1],i=function(e,t,n){const r=$t();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),eo(e,r,1),oo(e,t,n));const o=Pn(t,e,t.length-1,r);yr(o,t);const s=Bt(r,t);return s&&yr(s,t),o}(s,n,t);r.components.push(i),e[8]=i,o&&o.forEach(e=>e(i,t)),t.contentQueries&&t.contentQueries(1,i,n.length-1);const u=$t();if(s.firstCreatePass&&(null!==t.hostBindings||null!==t.hostAttrs)){cn(u.index-ct);const e=n[1];Yr(e,t),Kr(e,n,t.hostVars),Xr(t,i)}return i}(e,this.componentDef,f,h,[os]),Lr(d,f,null)}finally{un()}return new gi(this.componentType,p,zo(Hs,g,f),f,g)}}class gi extends class{}{constructor(e,t,n,r,o){super(),this.location=n,this._rootLView=r,this._tNode=o,this.destroyCbs=[],this.instance=t,this.hostView=this.changeDetectorRef=new Ho(r),this.componentType=e}get injector(){return new Mn(this._tNode,this._rootLView)}destroy(){this.destroyCbs&&(this.destroyCbs.forEach(e=>e()),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}onDestroy(e){this.destroyCbs&&this.destroyCbs.push(e)}}const mi=new Map;class _i extends Ze{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new hi(this);const n=lt(e),r=e[Ae]||null;r&&Ns(r),this._bootstrapComponents=bt(n.bootstrap),this._r3Injector=Qo(e,t,[{provide:Ze,useValue:this},{provide:js,useValue:this.componentFactoryResolver}],he(e)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(e)}get(e,t=ns.THROW_IF_NOT_FOUND,n=X.Default){return e===ns||e===Ze||e===Te?this:this._r3Injector.get(e,t,n)}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class yi extends class{}{constructor(e){super(),this.moduleType=e,null!==lt(e)&&function(e){const t=new Set;!function e(n){const r=lt(n,!0),o=r.id;null!==o&&(function(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${he(t)} vs ${he(t.name)}`)}(o,mi.get(o),n),mi.set(o,n));const s=bt(r.imports);for(const i of s)t.has(i)||(t.add(i),e(i))}(e)}(e)}create(e){return new _i(this.moduleType,e)}}function Di(e,t){const n=Zt();let r;const o=e+ct;n.firstCreatePass?(r=function(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}throw new Error(`The pipe '${e}' could not be found!`)}(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(o,r.onDestroy)):r=n.data[o];const s=r.factory||(r.factory=ut(r.type)),i=je(ds);try{const t=Fn(!1),r=s();return Fn(t),function(e,t,n,r){const o=n+ct;o>=e.data.length&&(e.data[o]=null,e.blueprint[o]=null),t[o]=r}(n,zt(),e,r),r}finally{je(i)}}function wi(e,t,n){const r=zt(),o=function(e,t){return e[t+ct]}(r,e);return function(e,t){return us.isWrapped(t)&&(t=us.unwrap(t),e[Qt()]=Ir),t}(r,function(e,t){return e[1].data[t+ct].pure}(r,e)?function(e,t,n,r,o,s){const i=t+n;return as(e,i,o)?function(e,t,n){return e[t]=n}(e,i+1,s?r.call(s,o):r(o)):function(e,t){const n=e[t];return n===Ir?void 0:n}(e,i+1)}(r,function(){const e=Vt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}(),t,o.transform,n,o):o.transform(n))}const bi=class extends v{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,n){let r,o=e=>null,s=()=>null;e&&"object"==typeof e?(r=this.__isAsync?t=>{setTimeout(()=>e.next(t))}:t=>{e.next(t)},e.error&&(o=this.__isAsync?t=>{setTimeout(()=>e.error(t))}:t=>{e.error(t)}),e.complete&&(s=this.__isAsync?()=>{setTimeout(()=>e.complete())}:()=>{e.complete()})):(r=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)},t&&(o=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)}),n&&(s=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const i=super.subscribe(r,o,s);return e instanceof h&&e.add(i),i}},Ci=new ke("Application Initializer");let vi=(()=>{class e{constructor(e){this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}runInitializers(){if(this.initialized)return;const e=[],t=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n<this.appInits.length;n++){const t=this.appInits[n]();ys(t)&&e.push(t)}Promise.all(e).then(()=>{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}}return e.\u0275fac=function(t){return new(t||e)(Me(Ci,8))},e.\u0275prov=te({token:e,factory:e.\u0275fac}),e})();const Ei=new ke("AppId"),Ai={provide:Ei,useFactory:function(){return`${Fi()}${Fi()}${Fi()}`},deps:[]};function Fi(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const xi=new ke("Platform Initializer"),ki=new ke("Platform ID"),Ti=new ke("appBootstrapListener");let Ii=(()=>{class e{log(e){console.log(e)}warn(e){console.warn(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=te({token:e,factory:e.\u0275fac}),e})();const Si=new ke("LocaleId"),Bi=new ke("DefaultCurrencyCode");class Oi{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}const Ni=function(e){return new yi(e)},Ri=Ni,Pi=function(e){return Promise.resolve(Ni(e))},ji=function(e){const t=Ni(e),n=bt(lt(e).declarations).reduce((e,t)=>{const n=it(t);return n&&e.push(new pi(n)),e},[]);return new Oi(t,n)},Hi=ji,Mi=function(e){return Promise.resolve(ji(e))};let Vi=(()=>{class e{constructor(){this.compileModuleSync=Ri,this.compileModuleAsync=Pi,this.compileModuleAndAllComponentsSync=Hi,this.compileModuleAndAllComponentsAsync=Mi}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=te({token:e,factory:e.\u0275fac}),e})();const Li=(()=>Promise.resolve(0))();function zi(e){"undefined"==typeof Zone?Li.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Zi{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new bi(!1),this.onMicrotaskEmpty=new bi(!1),this.onStable=new bi(!1),this.onError=new bi(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const n=this;n._nesting=0,n._outer=n._inner=Zone.current,Zone.wtfZoneSpec&&(n._inner=n._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(n._inner=n._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(n._inner=n._inner.fork(Zone.longStackTraceZoneSpec)),n.shouldCoalesceEventChangeDetection=t,n.lastRequestAnimationFrameId=-1,n.nativeRequestAnimationFrame=function(){let e=we.requestAnimationFrame,t=we.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=!!e.shouldCoalesceEventChangeDetection&&e.nativeRequestAnimationFrame&&(()=>{!function(e){-1===e.lastRequestAnimationFrameId&&(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(we,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,qi(e),Wi(e)},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),qi(e))}(e)});e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:t},onInvokeTask:(n,r,o,s,i,u)=>{try{return Gi(e),n.invokeTask(o,s,i,u)}finally{t&&"eventTask"===s.type&&t(),Qi(e)}},onInvoke:(t,n,r,o,s,i,u)=>{try{return Gi(e),t.invoke(r,o,s,i,u)}finally{Qi(e)}},onHasTask:(t,n,r,o)=>{t.hasTask(r,o),n===r&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,qi(e),Wi(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(t,n,r,o)=>(t.handleError(r,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(n)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Zi.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Zi.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,t,n){return this._inner.run(e,t,n)}runTask(e,t,n,r){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,e,Ui,$i,$i);try{return o.runTask(s,t,n)}finally{o.cancelTask(s)}}runGuarded(e,t,n){return this._inner.runGuarded(e,t,n)}runOutsideAngular(e){return this._outer.run(e)}}function $i(){}const Ui={};function Wi(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 qi(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||e.shouldCoalesceEventChangeDetection&&-1!==e.lastRequestAnimationFrameId)}function Gi(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Qi(e){e._nesting--,Wi(e)}class Ji{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new bi,this.onMicrotaskEmpty=new bi,this.onStable=new bi,this.onError=new bi}run(e,t,n){return e.apply(t,n)}runGuarded(e,t,n){return e.apply(t,n)}runOutsideAngular(e){return e()}runTask(e,t,n,r){return e.apply(t,n)}}let Yi=(()=>{class e{constructor(e){this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Zi.assertNotInAngularZone(),zi(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())zi(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(t=>!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,t,n){let r=-1;t&&t>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(e=>e.timeoutId!==r),e(this._didWork,this.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:n})}whenStable(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(e,t,n){return[]}}return e.\u0275fac=function(t){return new(t||e)(Me(Zi))},e.\u0275prov=te({token:e,factory:e.\u0275fac}),e})(),Ki=(()=>{class e{constructor(){this._applications=new Map,tu.addToWindow(this)}registerApplication(e,t){this._applications.set(e,t)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,t=!0){return tu.findTestabilityInTree(this,e,t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=te({token:e,factory:e.\u0275fac}),e})();class Xi{addToWindow(e){}findTestabilityInTree(e,t,n){return null}}let eu,tu=new Xi;const nu=new ke("AllowMultipleToken");function ru(e,t,n=[]){const r="Platform: "+t,o=new ke(r);return(t=[])=>{let s=ou();if(!s||s.injector.get(nu,!1))if(e)e(n.concat(t).concat({provide:o,useValue:!0}));else{const e=n.concat(t).concat({provide:o,useValue:!0},{provide:Zo,useValue:"platform"});!function(e){if(eu&&!eu.destroyed&&!eu.injector.get(nu,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");eu=e.get(su);const t=e.get(xi,null);t&&t.forEach(e=>e())}(ns.create({providers:e,name:r}))}return function(e){const t=ou();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(o)}}function ou(){return eu&&!eu.destroyed?eu:null}let su=(()=>{class e{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,t){const n=function(e,t){let n;return n="noop"===e?new Ji:("zone.js"===e?void 0:e)||new Zi({enableLongStackTrace:qn(),shouldCoalesceEventChangeDetection:t}),n}(t?t.ngZone:void 0,t&&t.ngZoneEventCoalescing||!1),r=[{provide:Zi,useValue:n}];return n.run(()=>{const t=ns.create({providers:r,parent:this.injector,name:e.moduleType.name}),o=e.create(t),s=o.injector.get(Zn,null);if(!s)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return o.onDestroy(()=>lu(this._modules,o)),n.runOutsideAngular(()=>n.onError.subscribe({next:e=>{s.handleError(e)}})),function(e,t,n){try{const r=n();return ys(r)?r.catch(n=>{throw t.runOutsideAngular(()=>e.handleError(n)),n}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(s,n,()=>{const e=o.injector.get(vi);return e.runInitializers(),e.donePromise.then(()=>(Ns(o.injector.get(Si,Bs)||Bs),this._moduleDoBootstrap(o),o))})})}bootstrapModule(e,t=[]){const n=iu({},t);return function(e,t,n){const r=new yi(n);return Promise.resolve(r)}(0,0,e).then(e=>this.bootstrapModuleFactory(e,n))}_moduleDoBootstrap(e){const t=e.injector.get(uu);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>t.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${he(e.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);e.instance.ngDoBootstrap(t)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(e=>e.destroy()),this._destroyListeners.forEach(e=>e()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(t){return new(t||e)(Me(ns))},e.\u0275prov=te({token:e,factory:e.\u0275fac}),e})();function iu(e,t){return Array.isArray(t)?t.reduce(iu,e):Object.assign(Object.assign({},e),t)}let uu=(()=>{class e{constructor(e,t,n,r,o,s){this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=o,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=qn(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const i=new y(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),u=new y(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{Zi.assertNotInAngularZone(),zi(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{Zi.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{e.next(!1)}))});return()=>{t.unsubscribe(),n.unsubscribe()}});this.isStable=function(...e){let t=Number.POSITIVE_INFINITY,n=null,r=e[e.length-1];return(o=r)&&"function"==typeof o.schedule?(n=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof r&&(t=e.pop()),null===n&&1===e.length&&e[0]instanceof y?e[0]:function(e=Number.POSITIVE_INFINITY){return P(_,e)}(t)(function(e,t){return t?O(e,t):new y(x(e))}(e,n));var o}(i,u.pipe(e=>{return M()((t=U,function(e){let n;n="function"==typeof t?t:function(){return t};const r=Object.create(e,Z);return r.source=e,r.subjectFactory=n,r})(e));var t}))}bootstrap(e,t){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=e instanceof Rs?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);const r=n.isBoundToModule?void 0:this._injector.get(Ze),o=n.create(ns.NULL,[],t||n.selector,r);o.onDestroy(()=>{this._unloadComponent(o)});const s=o.injector.get(Yi,null);return s&&o.injector.get(Ki).registerApplication(o.location.nativeElement,s),this._loadComponent(o),qn()&&this._console.log("Angular is running in development mode. Call enableProdMode() to enable production mode."),o}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let e of this._views)e.detectChanges();if(this._enforceNoNewChanges)for(let e of this._views)e.checkNoChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;lu(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Ti,[]).concat(this._bootstrapListeners).forEach(t=>t(e))}_unloadComponent(e){this.detachView(e.hostView),lu(this.components,e)}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy())}get viewCount(){return this._views.length}}return e.\u0275fac=function(t){return new(t||e)(Me(Zi),Me(Ii),Me(ns),Me(Zn),Me(js),Me(vi))},e.\u0275prov=te({token:e,factory:e.\u0275fac}),e})();function lu(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const cu=ru(null,"core",[{provide:ki,useValue:"unknown"},{provide:su,deps:[ns]},{provide:Ki,deps:[]},{provide:Ii,deps:[]}]),au=[{provide:uu,useClass:uu,deps:[Zi,Ii,ns,Zn,js,vi]},{provide:fi,deps:[Zi],useFactory:function(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(e){t.push(e)}}},{provide:vi,useClass:vi,deps:[[new J,Ci]]},{provide:Vi,useClass:Vi,deps:[]},Ai,{provide:ti,useFactory:function(){return oi},deps:[]},{provide:ni,useFactory:function(){return si},deps:[]},{provide:Si,useFactory:function(e){return Ns(e=e||"undefined"!=typeof $localize&&$localize.locale||Bs),e},deps:[[new Q(Si),new J,new K]]},{provide:Bi,useValue:"USD"}];let hu=(()=>{class e{constructor(e){}}return e.\u0275mod=nt({type:e}),e.\u0275inj=ne({factory:function(t){return new(t||e)(Me(uu))},providers:au}),e})(),du=null;function fu(){return du}const pu=new ke("DocumentToken");var gu=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}({});class mu{}let _u=(()=>{class e extends mu{constructor(e){super(),this.locale=e}getPluralCategory(e,t){switch(function(e){return function(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Is(t);if(n)return n;const r=t.split("-")[0];if(n=Is(r),n)return n;if("en"===r)return ks;throw new Error(`Missing locale data for the locale "${e}".`)}(e)[Ss.PluralCase]}(t||this.locale)(e)){case gu.Zero:return"zero";case gu.One:return"one";case gu.Two:return"two";case gu.Few:return"few";case gu.Many:return"many";default:return"other"}}}return e.\u0275fac=function(t){return new(t||e)(Me(Si))},e.\u0275prov=te({token:e,factory:e.\u0275fac}),e})(),yu=(()=>{class e{constructor(e,t){this._viewContainer=e,this._context=new Du,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=t}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){wu("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){wu("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,t){return!0}}return e.\u0275fac=function(t){return new(t||e)(ds(li),ds(ii))},e.\u0275dir=ot({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),e})();class Du{constructor(){this.$implicit=null,this.ngIf=null}}function wu(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${he(t)}'.`)}const bu=/(?:[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D])\S*/g;let Cu=(()=>{class e{transform(t){if(!t)return t;if("string"!=typeof t)throw function(e,t){return Error(`InvalidPipeArgument: '${t}' for pipe '${he(e)}'`)}(e,t);return t.replace(bu,e=>e[0].toUpperCase()+e.substr(1).toLowerCase())}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=st({name:"titlecase",type:e,pure:!0}),e})(),vu=(()=>{class e{}return e.\u0275mod=nt({type:e}),e.\u0275inj=ne({factory:function(t){return new(t||e)},providers:[{provide:mu,useClass:_u}]}),e})();class Eu extends class extends class{}{constructor(){super()}supportsDOMEvents(){return!0}}{static makeCurrent(){var e;e=new Eu,du||(du=e)}getProperty(e,t){return e[t]}log(e){window.console&&window.console.log&&window.console.log(e)}logGroup(e){window.console&&window.console.group&&window.console.group(e)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(e,t,n){return e.addEventListener(t,n,!1),()=>{e.removeEventListener(t,n,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){return e.parentNode&&e.parentNode.removeChild(e),e}getValue(e){return e.value}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(e){const t=Fu||(Fu=document.querySelector("base"),Fu)?Fu.getAttribute("href"):null;return null==t?null:(n=t,Au||(Au=document.createElement("a")),Au.setAttribute("href",n),"/"===Au.pathname.charAt(0)?Au.pathname:"/"+Au.pathname);var n}resetBaseElement(){Fu=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(e){return function(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const e=n.indexOf("="),[r,o]=-1==e?[n,""]:[n.slice(0,e),n.slice(e+1)];if(r.trim()===t)return decodeURIComponent(o)}return null}(document.cookie,e)}}let Au,Fu=null;const xu=new ke("TRANSITION_ID"),ku=[{provide:Ci,useFactory:function(e,t,n){return()=>{n.get(vi).donePromise.then(()=>{const n=fu();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter(t=>t.getAttribute("ng-transition")===e).forEach(e=>n.remove(e))})}},deps:[xu,pu,ns],multi:!0}];class Tu{static init(){var e;e=new Tu,tu=e}addToWindow(e){we.getAngularTestability=(t,n=!0)=>{const r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},we.getAllAngularTestabilities=()=>e.getAllTestabilities(),we.getAllAngularRootElements=()=>e.getAllRootElements(),we.frameworkStabilizers||(we.frameworkStabilizers=[]),we.frameworkStabilizers.push(e=>{const t=we.getAllAngularTestabilities();let n=t.length,r=!1;const o=function(t){r=r||t,n--,0==n&&e(r)};t.forEach((function(e){e.whenStable(o)}))})}findTestabilityInTree(e,t,n){if(null==t)return null;const r=e.getTestability(t);return null!=r?r:n?fu().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}const Iu=new ke("EventManagerPlugins");let Su=(()=>{class e{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(e=>e.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}addGlobalEventListener(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const n=this._plugins;for(let r=0;r<n.length;r++){const t=n[r];if(t.supports(e))return this._eventNameToPlugin.set(e,t),t}throw new Error("No event manager plugin found for event "+e)}}return e.\u0275fac=function(t){return new(t||e)(Me(Iu),Me(Zi))},e.\u0275prov=te({token:e,factory:e.\u0275fac}),e})();class Bu{constructor(e){this._doc=e}addGlobalEventListener(e,t,n){const r=fu().getGlobalEventTarget(this._doc,e);if(!r)throw new Error(`Unsupported event target ${r} for event ${t}`);return this.addEventListener(r,t,n)}}let Ou=(()=>{class e{constructor(){this._stylesSet=new Set}addStyles(e){const t=new Set;e.forEach(e=>{this._stylesSet.has(e)||(this._stylesSet.add(e),t.add(e))}),this.onStylesAdded(t)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=te({token:e,factory:e.\u0275fac}),e})(),Nu=(()=>{class e extends Ou{constructor(e){super(),this._doc=e,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(e.head)}_addStylesToHost(e,t){e.forEach(e=>{const n=this._doc.createElement("style");n.textContent=e,this._styleNodes.add(t.appendChild(n))})}addHost(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)}removeHost(e){this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach(t=>this._addStylesToHost(e,t))}ngOnDestroy(){this._styleNodes.forEach(e=>fu().remove(e))}}return e.\u0275fac=function(t){return new(t||e)(Me(pu))},e.\u0275prov=te({token:e,factory:e.\u0275fac}),e})();const Ru={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},Pu=/%COMP%/g;function ju(e,t,n){for(let r=0;r<t.length;r++){let o=t[r];Array.isArray(o)?ju(e,o,n):(o=o.replace(Pu,e),n.push(o))}return n}function Hu(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let Mu=(()=>{class e{constructor(e,t,n){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new Vu(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case Ge.Emulated:{let n=this.rendererByCompId.get(t.id);return n||(n=new Lu(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n}case Ge.Native:case Ge.ShadowDom:return new zu(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const e=ju(t.id,t.styles,[]);this.sharedStylesHost.addStyles(e),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(t){return new(t||e)(Me(Su),Me(Nu),Me(Ei))},e.\u0275prov=te({token:e,factory:e.\u0275fac}),e})();class Vu{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,t){return t?document.createElementNS(Ru[t]||t,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,t){e.appendChild(t)}insertBefore(e,t,n){e&&e.insertBefore(t,n)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error(`The selector "${e}" did not match any elements`);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,r){if(r){t=r+":"+t;const o=Ru[r];o?e.setAttributeNS(o,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const r=Ru[n];r?e.removeAttributeNS(r,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,r){r&Ls.DashCase?e.style.setProperty(t,n,r&Ls.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&Ls.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){e[t]=n}setValue(e,t){e.nodeValue=t}listen(e,t,n){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,Hu(n)):this.eventManager.addEventListener(e,t,Hu(n))}}class Lu extends Vu{constructor(e,t,n,r){super(e),this.component=n;const o=ju(r+"-"+n.id,n.styles,[]);t.addStyles(o),this.contentAttr="_ngcontent-%COMP%".replace(Pu,r+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(Pu,r+"-"+n.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,t){const n=super.createElement(e,t);return super.setAttribute(n,this.contentAttr,""),n}}class zu extends Vu{constructor(e,t,n,r){super(e),this.sharedStylesHost=t,this.hostEl=n,this.component=r,this.shadowRoot=r.encapsulation===Ge.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const o=ju(r.id,r.styles,[]);for(let s=0;s<o.length;s++){const e=document.createElement("style");e.textContent=o[s],this.shadowRoot.appendChild(e)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,n){return super.insertBefore(this.nodeOrShadowRoot(e),t,n)}removeChild(e,t){return super.removeChild(this.nodeOrShadowRoot(e),t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}}let Zu=(()=>{class e extends Bu{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,n){return e.addEventListener(t,n,!1),()=>this.removeEventListener(e,t,n)}removeEventListener(e,t,n){return e.removeEventListener(t,n)}}return e.\u0275fac=function(t){return new(t||e)(Me(pu))},e.\u0275prov=te({token:e,factory:e.\u0275fac}),e})();const $u=["alt","control","meta","shift"],Uu={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Wu={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},qu={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let Gu=(()=>{class e extends Bu{constructor(e){super(e)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,n,r){const o=e.parseEventName(n),s=e.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>fu().onAndCancel(t,o.domEventName,s))}static parseEventName(t){const n=t.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const o=e._normalizeKey(n.pop());let s="";if($u.forEach(e=>{const t=n.indexOf(e);t>-1&&(n.splice(t,1),s+=e+".")}),s+=o,0!=n.length||0===o.length)return null;const i={};return i.domEventName=r,i.fullKey=s,i}static getEventFullKey(e){let t="",n=function(e){let t=e.key;if(null==t){if(t=e.keyIdentifier,null==t)return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&Wu.hasOwnProperty(t)&&(t=Wu[t]))}return Uu[t]||t}(e);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),$u.forEach(r=>{r!=n&&(0,qu[r])(e)&&(t+=r+".")}),t+=n,t}static eventCallback(t,n,r){return o=>{e.getEventFullKey(o)===t&&r.runGuarded(()=>n(o))}}static _normalizeKey(e){switch(e){case"esc":return"escape";default:return e}}}return e.\u0275fac=function(t){return new(t||e)(Me(pu))},e.\u0275prov=te({token:e,factory:e.\u0275fac}),e})();const Qu=ru(cu,"browser",[{provide:ki,useValue:"browser"},{provide:xi,useValue:function(){Eu.makeCurrent(),Tu.init()},multi:!0},{provide:pu,useFactory:function(){return function(e){xt=e}(document),document},deps:[]}]),Ju=[[],{provide:Zo,useValue:"root"},{provide:Zn,useFactory:function(){return new Zn},deps:[]},{provide:Iu,useClass:Zu,multi:!0,deps:[pu,Zi,ki]},{provide:Iu,useClass:Gu,multi:!0,deps:[pu]},[],{provide:Mu,useClass:Mu,deps:[Su,Nu,Ei]},{provide:Vs,useExisting:Mu},{provide:Ou,useExisting:Nu},{provide:Nu,useClass:Nu,deps:[pu]},{provide:Yi,useClass:Yi,deps:[Zi]},{provide:Su,useClass:Su,deps:[Iu,Zi]},[]];let Yu=(()=>{class e{constructor(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(t){return{ngModule:e,providers:[{provide:Ei,useValue:t.appId},{provide:xu,useExisting:Ei},ku]}}}return e.\u0275mod=nt({type:e}),e.\u0275inj=ne({factory:function(t){return new(t||e)(Me(e,12))},providers:Ju,imports:[vu,hu]}),e})();function Ku(e,t,n,r){return new(n||(n=Promise))((function(o,s){function i(e){try{l(r.next(e))}catch(t){s(t)}}function u(e){try{l(r.throw(e))}catch(t){s(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,u)}l((r=r.apply(e,t||[])).next())}))}"undefined"!=typeof window&&window,n("jim7");const Xu=new ke("JWT_OPTIONS");let el=(()=>{class e{constructor(e=null){this.tokenGetter=e&&e.tokenGetter||function(){}}urlBase64Decode(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("Illegal base64url string!")}return this.b64DecodeUnicode(t)}b64decode(e){let t="";if((e=String(e).replace(/=+$/,"")).length%4==1)throw new Error("'atob' failed: The string to be decoded is not correctly encoded.");for(let n,r,o=0,s=0;r=e.charAt(s++);~r&&(n=o%4?64*n+r:r,o++%4)?t+=String.fromCharCode(255&n>>(-2*o&6)):0)r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);return t}b64DecodeUnicode(e){return decodeURIComponent(Array.prototype.map.call(this.b64decode(e),e=>"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)).join(""))}decodeToken(e=this.tokenGetter()){if(!e||""===e)return null;const t=e.split(".");if(3!==t.length)throw new Error("The inspected token doesn't appear to be a JWT. Check to make sure it has three parts and see https://jwt.io for more.");const n=this.urlBase64Decode(t[1]);if(!n)throw new Error("Cannot decode the token.");return JSON.parse(n)}getTokenExpirationDate(e=this.tokenGetter()){let t;if(t=this.decodeToken(e),!t||!t.hasOwnProperty("exp"))return null;const n=new Date(0);return n.setUTCSeconds(t.exp),n}isTokenExpired(e=this.tokenGetter(),t){if(!e||""===e)return!0;const n=this.getTokenExpirationDate(e);return t=t||0,null!==n&&!(n.valueOf()>(new Date).valueOf()+1e3*t)}getAuthScheme(e,t){return"function"==typeof e?e(t):e}}return e.\u0275fac=function(t){return new(t||e)(Me(Xu))},e.\u0275prov=te({token:e,factory:e.\u0275fac}),e})(),tl=(()=>{class e{constructor(){this.ready=!1,window.homebridge.i18nGetTranslation().then(e=>{this.translations=e,this.ready=!0})}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=te({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),nl=(()=>{class e{constructor(e){this.translateService=e}transform(e){return this.translateService.translations[e]}}return e.\u0275fac=function(t){return new(t||e)(ds(tl))},e.\u0275pipe=st({name:"translate",type:e,pure:!0}),e})();function rl(e,t){1&e&&(gs(0,"div"),gs(1,"div",2),_s(2,"p",3),Di(3,"translate"),gs(4,"p",4),gs(5,"span"),vs(6),Di(7,"translate"),ms(),gs(8,"a",5),vs(9," https://github.com/oznu/homebridge-config-ui-x/wiki/Enabling-Accessory-Control "),ms(),gs(10,"span"),vs(11),Di(12,"translate"),ms(),ms(),ms(),ms()),2&e&&(Rr(2),fs("innerHTML",wi(3,3,"accessories.message_must_use_insecure_mode"),_r),Rr(4),Es(wi(7,5,"accessories.message_please_see")),Rr(5),Es(wi(12,7,"accessories.message_for_more_information")))}function ol(e,t){1&e&&_s(0,"p",10)}function sl(e,t){if(1&e){const e=zt();gs(0,"div",11),gs(1,"button",12),Ds("click",(function(){return Vt.lFrame.contextLView=e,Cs(3).linkAccount()})),vs(2),Di(3,"translate"),ms(),ms()}2&e&&(Rr(2),As(" ",wi(3,1,"plugins.settings.custom.homebridge-gsh.label_link_account")," "))}function il(e,t){1&e&&(gs(0,"div",16),gs(1,"p",17),gs(2,"strong"),vs(3),Di(4,"translate"),ms(),ms(),ms()),2&e&&(Rr(3),As(" ",wi(4,1,"plugins.settings.custom.homebridge-gsh.message_homebridge_restart_required")," "))}function ul(e,t){if(1&e&&(gs(0,"div",13),_s(1,"i",14),gs(2,"h4",15),vs(3),Di(4,"titlecase"),Di(5,"translate"),ms(),hs(6,il,5,3,"div",9),ms()),2&e){const e=Cs(3);Rr(3),Fs(" ",wi(4,3,e.linkType)," ",wi(5,5,"plugins.settings.custom.homebridge-gsh.label_account_linked")," "),Rr(3),fs("ngIf",e.justLinked)}}function ll(e,t){1&e&&(gs(0,"div",16),vs(1," Search for "),gs(2,"a",18),vs(3," Homebridge in the Google Home app "),ms(),vs(4," and link the action to complete setup. "),ms())}function cl(e,t){if(1&e&&(gs(0,"div"),_s(1,"p",3),Di(2,"translate"),hs(3,ol,1,0,"p",6),hs(4,sl,4,3,"div",7),hs(5,ul,7,7,"div",8),hs(6,ll,5,0,"div",9),ms()),2&e){const e=Cs(2);Rr(1),fs("innerHTML",wi(2,5,"plugins.settings.custom.homebridge-gsh.message_about"),_r),Rr(2),fs("ngIf",!e.pluginConfig.token),Rr(1),fs("ngIf",!e.pluginConfig.token),Rr(1),fs("ngIf",e.pluginConfig.token),Rr(1),fs("ngIf",e.pluginConfig.token)}}function al(e,t){if(1&e&&(gs(0,"div"),hs(1,rl,13,9,"div",1),hs(2,cl,7,7,"div",1),ms()),2&e){const e=Cs();Rr(1),fs("ngIf",!e.env.enableAccessories),Rr(1),fs("ngIf",e.env.enableAccessories)}}const hl=new el;let dl=(()=>{class e{constructor(e){this.translateService=e,this.linkDomain="https://homebridge-gsh.iot.oz.nu",this.linkUrl=this.linkDomain+"/link-account",this.env=window.homebridge.serverEnv.env,this.justLinked=!1,this.showAdvanced=!1,this.ready=!1,this.windowMessageListener=e=>{if(e.origin===this.linkDomain)try{const t=JSON.parse(e.data);t.token&&this.processToken(t.token)}catch(e){console.error(e)}}}ngOnInit(){return Ku(this,void 0,void 0,(function*(){this.schema=yield window.homebridge.getPluginConfigSchema();const e=yield window.homebridge.getPluginConfig();e.length?(this.pluginConfig=e[0],window.homebridge.showSchemaForm()):this.pluginConfig={name:"Google Smart Home",platform:this.schema.pluginAlias},this.parseToken(),this.ready=!0,window.homebridge.addEventListener("configChanged",e=>{this.pluginConfig=e.data[0]})}))}updateConfig(){return Ku(this,void 0,void 0,(function*(){return window.homebridge.updatePluginConfig([this.pluginConfig])}))}linkAccount(){window.addEventListener("message",this.windowMessageListener,!1);const e=window.top.outerHeight/2+window.top.screenY-350,t=window.top.outerWidth/2+window.top.screenX-225;this.popup=window.open(this.linkUrl,"oznu-google-smart-home-auth","toolbar=no, location=no, directories=no, status=no, menubar=no scrollbars=no, resizable=no, copyhistory=no, width=450, height=700, top="+e+", left="+t),this.originCheckInterval=setInterval(()=>{this.popup.postMessage("origin-check",this.linkDomain)},2e3)}processToken(e){return Ku(this,void 0,void 0,(function*(){clearInterval(this.originCheckInterval),this.popup&&this.popup.close(),this.pluginConfig.token=e,this.pluginConfig.notice="Keep your token a secret!",this.parseToken(),this.justLinked=!0,yield this.updateConfig(),yield window.homebridge.savePluginConfig(),window.homebridge.showSchemaForm()}))}parseToken(){if(this.pluginConfig.token)try{const e=hl.decodeToken(this.pluginConfig.token);this.linkType=e.id.split("|")[0].split("-")[0]}catch(e){window.homebridge.toast.error("Invalid account linking token in config.json",this.translateService.translations["toast.title_error"]),delete this.pluginConfig.token}}ngOnDestroy(){clearInterval(this.originCheckInterval),window.removeEventListener("message",this.windowMessageListener),this.popup&&this.popup.close()}}return e.\u0275fac=function(t){return new(t||e)(ds(tl))},e.\u0275cmp=Ke({type:e,selectors:[["app-root"]],decls:4,vars:1,consts:[["href","https://github.com/oznu/homebridge-gsh/releases/tag/v2.2.1"],[4,"ngIf"],["role","alert",1,"alert","alert-warning"],[3,"innerHTML"],[1,"mb-0"],["target","_blank","rel","noopener noreferrer","href","https://github.com/oznu/homebridge-config-ui-x/wiki/Enabling-Accessory-Control"],["translate","plugins.settings.custom.homebridge-gsh.message_account_link_required",4,"ngIf"],["class","text-center",4,"ngIf"],["class","text-center mt-1",4,"ngIf"],["class","mt-3",4,"ngIf"],["translate","plugins.settings.custom.homebridge-gsh.message_account_link_required"],[1,"text-center"],[1,"btn","btn-primary","btn-lg",3,"click"],[1,"text-center","mt-1"],[1,"fas","fa-check-circle","primary-text",2,"font-size","50px"],[1,"mt-2"],[1,"mt-3"],[1,"primary-text"],["target","_blank","href","https://assistant.google.com/services/a/uid/000000b558f0d5d1?hl=en"]],template:function(e,t){1&e&&(gs(0,"h3"),gs(1,"a",0),vs(2," Plugin End Of Life - 1st of December 2024. "),ms(),ms(),hs(3,al,3,2,"div",1)),2&e&&(Rr(3),fs("ngIf",t.translateService.ready&&t.ready))},directives:[yu],pipes:[nl,Cu],styles:[""]}),e})(),fl=(()=>{class e{}return e.\u0275mod=nt({type:e,bootstrap:[dl]}),e.\u0275inj=ne({factory:function(t){return new(t||e)},providers:[],imports:[[Yu]]}),e})();(function(){if(Wn)throw new Error("Cannot enable prod mode after platform setup.");Un=!1})(),Qu().bootstrapModule(fl).catch(e=>console.error(e))},zn8P:function(e,t){function n(e){return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="zn8P"}},[[0,0]]]);
1
+ (window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(e,t,n){e.exports=n("zUnb")},jim7:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},zUnb:function(e,t,n){"use strict";function r(e){return"function"==typeof e}n.r(t);let o=!1;const s={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){const e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else o&&console.log("RxJS: Back to a better error behavior. Thank you. <3");o=e},get useDeprecatedSynchronousErrorHandling(){return o}};function i(e){setTimeout(()=>{throw e},0)}const u={closed:!0,next(e){},error(e){if(s.useDeprecatedSynchronousErrorHandling)throw e;i(e)},complete(){}},l=(()=>Array.isArray||(e=>e&&"number"==typeof e.length))();function c(e){return null!==e&&"object"==typeof e}const a=(()=>{function e(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((e,t)=>`${t+1}) ${e.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e})();let h=(()=>{class e{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:n,_ctorUnsubscribe:o,_unsubscribe:s,_subscriptions:i}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(null!==n)for(let e=0;e<n.length;++e)n[e].remove(this);if(r(s)){o&&(this._unsubscribe=void 0);try{s.call(this)}catch(u){t=u instanceof a?d(u.errors):[u]}}if(l(i)){let e=-1,n=i.length;for(;++e<n;){const n=i[e];if(c(n))try{n.unsubscribe()}catch(u){t=t||[],u instanceof a?t=t.concat(d(u.errors)):t.push(u)}}}if(t)throw new a(t)}add(t){let n=t;if(!t)return e.EMPTY;switch(typeof t){case"function":n=new e(t);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof e)){const t=n;n=new e,n._subscriptions=[t]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}let{_parentOrParents:r}=n;if(null===r)n._parentOrParents=this;else if(r instanceof e){if(r===this)return n;n._parentOrParents=[r,this]}else{if(-1!==r.indexOf(this))return n;r.push(this)}const o=this._subscriptions;return null===o?this._subscriptions=[n]:o.push(n),n}remove(e){const t=this._subscriptions;if(t){const n=t.indexOf(e);-1!==n&&t.splice(n,1)}}}return e.EMPTY=function(e){return e.closed=!0,e}(new e),e})();function d(e){return e.reduce((e,t)=>e.concat(t instanceof a?t.errors:t),[])}const f=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())();class p extends h{constructor(e,t,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=u;break;case 1:if(!e){this.destination=u;break}if("object"==typeof e){e instanceof p?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new g(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new g(this,e,t,n)}}[f](){return this}static create(e,t,n){const r=new p(e,t,n);return r.syncErrorThrowable=!1,r}next(e){this.isStopped||this._next(e)}error(e){this.isStopped||(this.isStopped=!0,this._error(e))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(e){this.destination.next(e)}_error(e){this.destination.error(e),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:e}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}class g extends p{constructor(e,t,n,o){let s;super(),this._parentSubscriber=e;let i=this;r(t)?s=t:t&&(s=t.next,n=t.error,o=t.complete,t!==u&&(i=Object.create(t),r(i.unsubscribe)&&this.add(i.unsubscribe.bind(i)),i.unsubscribe=this.unsubscribe.bind(this))),this._context=i,this._next=s,this._error=n,this._complete=o}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;s.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}error(e){if(!this.isStopped){const{_parentSubscriber:t}=this,{useDeprecatedSynchronousErrorHandling:n}=s;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):i(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;i(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const t=()=>this._complete.call(this._context);s.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),s.useDeprecatedSynchronousErrorHandling)throw n;i(n)}}__tryOrSetError(e,t,n){if(!s.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(r){return s.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0,!0):(i(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}const m=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")();function _(e){return e}let y=(()=>{class e{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(t){const n=new e;return n.source=this,n.operator=t,n}subscribe(e,t,n){const{operator:r}=this,o=function(e,t,n){if(e){if(e instanceof p)return e;if(e[f])return e[f]()}return e||t||n?new p(e,t,n):new p(u)}(e,t,n);if(o.add(r?r.call(o,this.source):this.source||s.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),s.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o}_trySubscribe(e){try{return this._subscribe(e)}catch(t){s.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){const{closed:t,destination:n,isStopped:r}=e;if(t||r)return!1;e=n&&n instanceof p?n:null}return!0}(e)?e.error(t):console.warn(t)}}forEach(e,t){return new(t=D(t))((t,n)=>{let r;r=this.subscribe(t=>{try{e(t)}catch(o){n(o),r&&r.unsubscribe()}},n,t)})}_subscribe(e){const{source:t}=this;return t&&t.subscribe(e)}[m](){return this}pipe(...e){return 0===e.length?this:(0===(t=e).length?_:1===t.length?t[0]:function(e){return t.reduce((e,t)=>t(e),e)})(this);var t}toPromise(e){return new(e=D(e))((e,t)=>{let n;this.subscribe(e=>n=e,e=>t(e),()=>e(n))})}}return e.create=t=>new e(t),e})();function D(e){if(e||(e=s.Promise||Promise),!e)throw new Error("no Promise impl found");return e}const w=(()=>{function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e})();class b extends h{constructor(e,t){super(),this.subject=e,this.subscriber=t,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const e=this.subject,t=e.observers;if(this.subject=null,!t||0===t.length||e.isStopped||e.closed)return;const n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}class C extends p{constructor(e){super(e),this.destination=e}}let v=(()=>{class e extends y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[f](){return new C(this)}lift(e){const t=new E(this,this);return t.operator=e,t}next(e){if(this.closed)throw new w;if(!this.isStopped){const{observers:t}=this,n=t.length,r=t.slice();for(let o=0;o<n;o++)r[o].next(e)}}error(e){if(this.closed)throw new w;this.hasError=!0,this.thrownError=e,this.isStopped=!0;const{observers:t}=this,n=t.length,r=t.slice();for(let o=0;o<n;o++)r[o].error(e);this.observers.length=0}complete(){if(this.closed)throw new w;this.isStopped=!0;const{observers:e}=this,t=e.length,n=e.slice();for(let r=0;r<t;r++)n[r].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(e){if(this.closed)throw new w;return super._trySubscribe(e)}_subscribe(e){if(this.closed)throw new w;return this.hasError?(e.error(this.thrownError),h.EMPTY):this.isStopped?(e.complete(),h.EMPTY):(this.observers.push(e),new b(this,e))}asObservable(){const e=new y;return e.source=this,e}}return e.create=(e,t)=>new E(e,t),e})();class E extends v{constructor(e,t){super(),this.destination=e,this.source=t}next(e){const{destination:t}=this;t&&t.next&&t.next(e)}error(e){const{destination:t}=this;t&&t.error&&this.destination.error(e)}complete(){const{destination:e}=this;e&&e.complete&&this.destination.complete()}_subscribe(e){const{source:t}=this;return t?this.source.subscribe(e):h.EMPTY}}class A{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new F(e,this.project,this.thisArg))}}class F extends p{constructor(e,t,n){super(e),this.project=t,this.count=0,this.thisArg=n||this}_next(e){let t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}const x=e=>t=>{for(let n=0,r=e.length;n<r&&!t.closed;n++)t.next(e[n]);t.complete()};function k(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}const T=k(),I=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function S(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}const B=e=>{if(e&&"function"==typeof e[m])return r=e,e=>{const t=r[m]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(I(e))return x(e);if(S(e))return n=e,e=>(n.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,i),e);if(e&&"function"==typeof e[T])return t=e,e=>{const n=t[T]();for(;;){let t;try{t=n.next()}catch(r){return e.error(r),e}if(t.done){e.complete();break}if(e.next(t.value),e.closed)break}return"function"==typeof n.return&&e.add(()=>{n.return&&n.return()}),e};{const t=c(e)?"an invalid object":`'${e}'`;throw new TypeError(`You provided ${t} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var t,n,r};function O(e,t){return new y(n=>{const r=new h;let o=0;return r.add(t.schedule((function(){o!==e.length?(n.next(e[o++]),n.closed||r.add(this.schedule())):n.complete()}))),r})}class N extends p{constructor(e){super(),this.parent=e}_next(e){this.parent.notifyNext(e)}_error(e){this.parent.notifyError(e),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class R extends p{notifyNext(e){this.destination.next(e)}notifyError(e){this.destination.error(e)}notifyComplete(){this.destination.complete()}}function P(e,t,n=Number.POSITIVE_INFINITY){return"function"==typeof t?r=>r.pipe(P((n,r)=>{return(o=e(n,r),s?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[m]}(e))return function(e,t){return new y(n=>{const r=new h;return r.add(t.schedule(()=>{const o=e[m]();r.add(o.subscribe({next(e){r.add(t.schedule(()=>n.next(e)))},error(e){r.add(t.schedule(()=>n.error(e)))},complete(){r.add(t.schedule(()=>n.complete()))}}))})),r})}(e,t);if(S(e))return function(e,t){return new y(n=>{const r=new h;return r.add(t.schedule(()=>e.then(e=>{r.add(t.schedule(()=>{n.next(e),r.add(t.schedule(()=>n.complete()))}))},e=>{r.add(t.schedule(()=>n.error(e)))}))),r})}(e,t);if(I(e))return O(e,t);if(function(e){return e&&"function"==typeof e[T]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new y(n=>{const r=new h;let o;return r.add(()=>{o&&"function"==typeof o.return&&o.return()}),r.add(t.schedule(()=>{o=e[T](),r.add(t.schedule((function(){if(n.closed)return;let e,t;try{const n=o.next();e=n.value,t=n.done}catch(r){return void n.error(r)}t?n.complete():(n.next(e),this.schedule())})))})),r})}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(o,s):o instanceof y?o:new y(B(o))).pipe(function(e,t){return function(t){return t.lift(new A(e,undefined))}}((e,o)=>t(n,e,r,o)));var o,s},n)):("number"==typeof t&&(n=t),t=>t.lift(new j(e,n)))}class j{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new H(e,this.project,this.concurrent))}}class H extends R{constructor(e,t,n=Number.POSITIVE_INFINITY){super(e),this.project=t,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}_tryNext(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(t)}_innerSub(e){const t=new N(this),n=this.destination;n.add(t);const r=function(e,t){if(!t.closed)return e instanceof y?e.subscribe(t):B(e)(t)}(e,t);r!==t&&n.add(r)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(e){this.destination.next(e)}notifyComplete(){const e=this.buffer;this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function M(){return function(e){return e.lift(new V(e))}}class V{constructor(e){this.connectable=e}call(e,t){const{connectable:n}=this;n._refCount++;const r=new L(e,n),o=t.subscribe(r);return r.closed||(r.connection=n.connect()),o}}class L extends p{constructor(e,t){super(e),this.connectable=t}_unsubscribe(){const{connectable:e}=this;if(!e)return void(this.connection=null);this.connectable=null;const t=e._refCount;if(t<=0)return void(this.connection=null);if(e._refCount=t-1,t>1)return void(this.connection=null);const{connection:n}=this,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}class z extends y{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._refCount=0,this._isComplete=!1}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let e=this._connection;return e||(this._isComplete=!1,e=this._connection=new h,e.add(this.source.subscribe(new $(this.getSubject(),this))),e.closed&&(this._connection=null,e=h.EMPTY)),e}refCount(){return M()(this)}}const Z=(()=>{const e=z.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}})();class $ extends C{constructor(e,t){super(e),this.connectable=t}_error(e){this._unsubscribe(),super._error(e)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const e=this.connectable;if(e){this.connectable=null;const t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}function U(){return new v}function W(e){return{toString:e}.toString()}const q="__parameters__";function G(e,t,n){return W(()=>{const r=function(e){return function(...t){if(e){const n=e(...t);for(const e in n)this[e]=n[e]}}}(t);function o(...e){if(this instanceof o)return r.apply(this,e),this;const t=new o(...e);return n.annotation=t,n;function n(e,n,r){const o=e.hasOwnProperty(q)?e[q]:Object.defineProperty(e,q,{value:[]})[q];for(;o.length<=r;)o.push(null);return(o[r]=o[r]||[]).push(t),e}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}const Q=G("Inject",e=>({token:e})),J=G("Optional"),Y=G("Self"),K=G("SkipSelf");var X=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}({});function ee(e){for(let t in e)if(e[t]===ee)return t;throw Error("Could not find renamed property on target object.")}function te(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ne(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}function re(e){return oe(e,e[ie])||oe(e,e[ce])}function oe(e,t){return t&&t.token===e?t:null}function se(e){return e&&(e.hasOwnProperty(ue)||e.hasOwnProperty(ae))?e[ue]:null}const ie=ee({"\u0275prov":ee}),ue=ee({"\u0275inj":ee}),le=ee({"\u0275provFallback":ee}),ce=ee({ngInjectableDef:ee}),ae=ee({ngInjectorDef:ee});function he(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(he).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function de(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const fe=ee({__forward_ref__:ee});function pe(e){return e.__forward_ref__=pe,e.toString=function(){return he(this())},e}function ge(e){return"function"==typeof(t=e)&&t.hasOwnProperty(fe)&&t.__forward_ref__===pe?e():e;var t}const me="undefined"!=typeof globalThis&&globalThis,_e="undefined"!=typeof window&&window,ye="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,De="undefined"!=typeof global&&global,we=me||De||_e||ye,be=ee({"\u0275cmp":ee}),Ce=ee({"\u0275dir":ee}),ve=ee({"\u0275pipe":ee}),Ee=ee({"\u0275mod":ee}),Ae=ee({"\u0275loc":ee}),Fe=ee({"\u0275fac":ee}),xe=ee({__NG_ELEMENT_ID__:ee});class ke{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=te({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return"InjectionToken "+this._desc}}const Te=new ke("INJECTOR",-1),Ie={},Se=/\n/gm,Be="__source",Oe=ee({provide:String,useValue:ee});let Ne,Re=void 0;function Pe(e){const t=Re;return Re=e,t}function je(e){const t=Ne;return Ne=e,t}function He(e,t=X.Default){if(void 0===Re)throw new Error("inject() must be called from an injection context");return null===Re?Ve(e,void 0,t):Re.get(e,t&X.Optional?null:void 0,t)}function Me(e,t=X.Default){return(Ne||He)(ge(e),t)}function Ve(e,t,n){const r=re(e);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&X.Optional)return null;if(void 0!==t)return t;throw new Error(`Injector: NOT_FOUND [${he(e)}]`)}function Le(e){const t=[];for(let n=0;n<e.length;n++){const r=ge(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let e=void 0,n=X.Default;for(let t=0;t<r.length;t++){const o=r[t];o instanceof J||"Optional"===o.ngMetadataName||o===J?n|=X.Optional:o instanceof K||"SkipSelf"===o.ngMetadataName||o===K?n|=X.SkipSelf:o instanceof Y||"Self"===o.ngMetadataName||o===Y?n|=X.Self:e=o instanceof Q||o===Q?o.token:o}t.push(Me(e,n))}else t.push(Me(r))}return t}class ze{get(e,t=Ie){if(t===Ie){const t=new Error(`NullInjectorError: No provider for ${he(e)}!`);throw t.name="NullInjectorError",t}return t}}class Ze{}function $e(e,t){e.forEach(e=>Array.isArray(e)?$e(e,t):t(e))}function Ue(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function We(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}var qe=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}({}),Ge=function(e){return e[e.Emulated=0]="Emulated",e[e.Native=1]="Native",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}({});const Qe={},Je=[];let Ye=0;function Ke(e){return W(()=>{const t={},n={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===qe.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||Je,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Ge.Emulated,id:"c",styles:e.styles||Je,_:null,setInput:null,schemas:e.schemas||null,tView:null},r=e.directives,o=e.features,s=e.pipes;return n.id+=Ye++,n.inputs=rt(e.inputs,t),n.outputs=rt(e.outputs),o&&o.forEach(e=>e(n)),n.directiveDefs=r?()=>("function"==typeof r?r():r).map(Xe):null,n.pipeDefs=s?()=>("function"==typeof s?s():s).map(et):null,n})}function Xe(e){return it(e)||function(e){return e[Ce]||null}(e)}function et(e){return function(e){return e[ve]||null}(e)}const tt={};function nt(e){const t={type:e.type,bootstrap:e.bootstrap||Je,declarations:e.declarations||Je,imports:e.imports||Je,exports:e.exports||Je,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&W(()=>{tt[e.id]=e.type}),t}function rt(e,t){if(null==e)return Qe;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],s=o;Array.isArray(o)&&(s=o[1],o=o[0]),n[o]=r,t&&(t[o]=s)}return n}const ot=Ke;function st(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function it(e){return e[be]||null}function ut(e,t){return e.hasOwnProperty(Fe)?e[Fe]:null}function lt(e,t){const n=e[Ee]||null;if(!n&&!0===t)throw new Error(`Type ${he(e)} does not have '\u0275mod' property.`);return n}const ct=20,at=10;function ht(e){return Array.isArray(e)&&"object"==typeof e[1]}function dt(e){return Array.isArray(e)&&!0===e[1]}function ft(e){return 0!=(8&e.flags)}function pt(e){return 2==(2&e.flags)}function gt(e){return 1==(1&e.flags)}function mt(e){return null!==e.template}function _t(e){return 0!=(512&e[2])}function yt(e){return"string"==typeof e?e:null==e?"":""+e}function Dt(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():yt(e)}const wt=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(we))();function bt(e){return e instanceof Function?e():e}function Ct(e,t){const n=t?" in "+t:"";throw new Error(`No provider for ${Dt(e)} found${n}`)}class vt{constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}}function Et(){const e=Ft(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===Qe)e.previous=t;else for(let e in t)n[e]=t[e];e.current=null,this.ngOnChanges(t)}}function At(e,t,n,r){const o=Ft(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:Qe,current:null}),s=o.current||(o.current={}),i=o.previous,u=this.declaredInputs[n],l=i[u];s[u]=new vt(l&&l.currentValue,t,i===Qe),e[r]=t}function Ft(e){return e.__ngSimpleChanges__||null}let xt=void 0;function kt(){return void 0!==xt?xt:"undefined"!=typeof document?document:void 0}function Tt(e){return!!e.listen}const It={createRenderer:(e,t)=>kt()};function St(e){for(;Array.isArray(e);)e=e[0];return e}function Bt(e,t){return St(t[e.index])}function Ot(e,t){return e.data[t+ct]}function Nt(e,t){const n=t[e];return ht(n)?n:n[0]}function Rt(e){const t=function(e){return e.__ngContext__||null}(e);return t?Array.isArray(t)?t:t.lView:null}function Pt(e){return 128==(128&e[2])}function jt(e,t){return null===e||null==t?null:e[t]}function Ht(e){e[18]=0}function Mt(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const Vt={lFrame:rn(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Lt(){return Vt.bindingsEnabled}function zt(){return Vt.lFrame.lView}function Zt(){return Vt.lFrame.tView}function $t(){return Vt.lFrame.currentTNode}function Ut(e,t){Vt.lFrame.currentTNode=e,Vt.lFrame.isParent=t}function Wt(){return Vt.lFrame.isParent}function qt(){return Vt.isInCheckNoChangesMode}function Gt(e){Vt.isInCheckNoChangesMode=e}function Qt(){return Vt.lFrame.bindingIndex}function Jt(){return Vt.lFrame.bindingIndex++}function Yt(e,t){const n=Vt.lFrame;n.bindingIndex=n.bindingRootIndex=e,Kt(t)}function Kt(e){Vt.lFrame.currentDirectiveIndex=e}function Xt(e){Vt.lFrame.currentQueryIndex=e}function en(e,t){const n=nn();Vt.lFrame=n,n.currentTNode=t,n.lView=e}function tn(e){const t=nn(),n=e[1];Vt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex}function nn(){const e=Vt.lFrame,t=null===e?null:e.child;return null===t?rn(e):t}function rn(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null};return null!==e&&(e.child=t),t}function on(){const e=Vt.lFrame;return Vt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const sn=on;function un(){const e=on();e.isParent=!0,e.tView=null,e.selectedIndex=0,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function ln(){return Vt.lFrame.selectedIndex}function cn(e){Vt.lFrame.selectedIndex=e}function an(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const t=e.data[n].type.prototype,{ngAfterContentInit:r,ngAfterContentChecked:o,ngAfterViewInit:s,ngAfterViewChecked:i,ngOnDestroy:u}=t;r&&(e.contentHooks||(e.contentHooks=[])).push(-n,r),o&&((e.contentHooks||(e.contentHooks=[])).push(n,o),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,o)),s&&(e.viewHooks||(e.viewHooks=[])).push(-n,s),i&&((e.viewHooks||(e.viewHooks=[])).push(n,i),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,i)),null!=u&&(e.destroyHooks||(e.destroyHooks=[])).push(n,u)}}function hn(e,t,n){pn(e,t,3,n)}function dn(e,t,n,r){(3&e[2])===n&&pn(e,t,n,r)}function fn(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function pn(e,t,n,r){const o=null!=r?r:-1;let s=0;for(let i=void 0!==r?65535&e[18]:0;i<t.length;i++)if("number"==typeof t[i+1]){if(s=t[i],null!=r&&s>=r)break}else t[i]<0&&(e[18]+=65536),(s<o||-1==o)&&(gn(e,n,t,i),e[18]=(4294901760&e[18])+i+2),i++}function gn(e,t,n,r){const o=n[r]<0,s=n[r+1],i=e[o?-n[r]:n[r]];o?e[2]>>11<e[18]>>16&&(3&e[2])===t&&(e[2]+=2048,s.call(i)):s.call(i)}const mn=-1;class _n{constructor(e,t,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=n}}function yn(e,t,n){const r=Tt(e);let o=0;for(;o<n.length;){const s=n[o];if("number"==typeof s){if(0!==s)break;o++;const i=n[o++],u=n[o++],l=n[o++];r?e.setAttribute(t,u,l,i):t.setAttributeNS(i,u,l)}else{const i=s,u=n[++o];Dn(i)?r&&e.setProperty(t,i,u):r?e.setAttribute(t,i,u):t.setAttribute(i,u),o++}}return o}function Dn(e){return 64===e.charCodeAt(0)}function wn(e,t){if(null===t||0===t.length);else if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const o=t[r];"number"==typeof o?n=o:0===n||bn(e,n,o,null,-1===n||2===n?t[++r]:null)}}return e}function bn(e,t,n,r,o){let s=0,i=e.length;if(-1===t)i=-1;else for(;s<e.length;){const n=e[s++];if("number"==typeof n){if(n===t){i=-1;break}if(n>t){i=s-1;break}}}for(;s<e.length;){const t=e[s];if("number"==typeof t)break;if(t===n){if(null===r)return void(null!==o&&(e[s+1]=o));if(r===e[s+1])return void(e[s+2]=o)}s++,null!==r&&s++,null!==o&&s++}-1!==i&&(e.splice(i,0,t),s=i+1),e.splice(s++,0,n),null!==r&&e.splice(s++,0,r),null!==o&&e.splice(s++,0,o)}function Cn(e){return e!==mn}function vn(e){return 32767&e}function En(e,t){let n=e>>16,r=t;for(;n>0;)r=r[15],n--;return r}let An=!0;function Fn(e){const t=An;return An=e,t}let xn=0;function kn(e,t){const n=In(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Tn(r.data,e),Tn(t,null),Tn(r.blueprint,null));const o=Sn(e,t),s=e.injectorIndex;if(Cn(o)){const e=vn(o),n=En(o,t),r=n[1].data;for(let o=0;o<8;o++)t[s+o]=n[e+o]|r[e+o]}return t[s+8]=o,s}function Tn(e,t){e.push(0,0,0,0,0,0,0,0,t)}function In(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Sn(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){const e=o[1],t=e.type;if(r=2===t?e.declTNode:1===t?o[6]:null,null===r)return mn;if(n++,o=o[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return mn}function Bn(e,t,n){!function(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(xe)&&(r=n[xe]),null==r&&(r=n[xe]=xn++);const o=255&r,s=1<<o,i=64&o,u=32&o,l=t.data;128&o?i?u?l[e+7]|=s:l[e+6]|=s:u?l[e+5]|=s:l[e+4]|=s:i?u?l[e+3]|=s:l[e+2]|=s:u?l[e+1]|=s:l[e]|=s}(e,t,n)}function On(e,t,n,r=X.Default,o){if(null!==e){const o=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(xe)?e[xe]:void 0;return"number"==typeof t&&t>0?255&t:t}(n);if("function"==typeof o){en(t,e);try{const e=o();if(null!=e||r&X.Optional)return e;Ct(n)}finally{sn()}}else if("number"==typeof o){if(-1===o)return new Mn(e,t);let s=null,i=In(e,t),u=mn,l=r&X.Host?t[16][6]:null;for((-1===i||r&X.SkipSelf)&&(u=-1===i?Sn(e,t):t[i+8],u!==mn&&Hn(r,!1)?(s=t[1],i=vn(u),t=En(u,t)):i=-1);-1!==i;){const e=t[1];if(jn(o,i,e.data)){const e=Rn(i,t,n,s,r,l);if(e!==Nn)return e}u=t[i+8],u!==mn&&Hn(r,t[1].data[i+8]===l)&&jn(o,i,t)?(s=e,i=vn(u),t=En(u,t)):i=-1}}}if(r&X.Optional&&void 0===o&&(o=null),0==(r&(X.Self|X.Host))){const e=t[9],s=je(void 0);try{return e?e.get(n,o,r&X.Optional):Ve(n,o,r&X.Optional)}finally{je(s)}}if(r&X.Optional)return o;Ct(n,"NodeInjector")}const Nn={};function Rn(e,t,n,r,o,s){const i=t[1],u=i.data[e+8],l=function(e,t,n,r,o){const s=e.providerIndexes,i=t.data,u=1048575&s,l=e.directiveStart,c=s>>20,a=o?u+c:e.directiveEnd;for(let h=r?u:u+c;h<a;h++){const e=i[h];if(h<l&&n===e||h>=l&&e.type===n)return h}if(o){const e=i[l];if(e&&mt(e)&&e.type===n)return l}return null}(u,i,n,null==r?pt(u)&&An:r!=i&&2===u.type,o&X.Host&&s===u);return null!==l?Pn(t,i,l,u):Nn}function Pn(e,t,n,r){let o=e[n];const s=t.data;if(o instanceof _n){const i=o;i.resolving&&function(e,t){throw new Error("Circular dependency in DI detected for "+e)}(Dt(s[n]));const u=Fn(i.canSeeViewProviders);i.resolving=!0;const l=i.injectImpl?je(i.injectImpl):null;en(e,r);try{o=e[n]=i.factory(void 0,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&function(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:s}=t.type.prototype;if(r){const r=((i=t).type.prototype.ngOnChanges&&(i.setInput=At),Et);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,r)}var i;o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s))}(n,s[n],t)}finally{null!==l&&je(l),Fn(u),i.resolving=!1,sn()}}return o}function jn(e,t,n){const r=64&e,o=32&e;let s;return s=128&e?r?o?n[t+7]:n[t+6]:o?n[t+5]:n[t+4]:r?o?n[t+3]:n[t+2]:o?n[t+1]:n[t],!!(s&1<<e)}function Hn(e,t){return!(e&X.Self||e&X.Host&&t)}class Mn{constructor(e,t){this._tNode=e,this._lView=t}get(e,t){return On(this._tNode,this._lView,e,void 0,t)}}function Vn(e){return e.ngDebugContext}function Ln(e){return e.ngOriginalError}function zn(e,...t){e.error(...t)}class Zn{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e.ngErrorLogger||zn}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(e){return e?Vn(e)?Vn(e):this._findContext(Ln(e)):null}_findOriginalError(e){let t=Ln(e);for(;t&&Ln(t);)t=Ln(t);return t}}class $n{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"}}let Un=!0,Wn=!1;function qn(){return Wn=!0,Un}class Gn{getInertBodyElement(e){e="<body><remove></remove>"+e;try{const t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(t){return null}}}class Qn{constructor(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e);const t=this.inertDocument.createElement("body");e.appendChild(t)}}getInertBodyElement(e){const t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=e,t;const n=this.inertDocument.createElement("body");return n.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(e){const t=e.attributes;for(let r=t.length-1;0<r;r--){const n=t.item(r).name;"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||e.removeAttribute(n)}let n=e.firstChild;for(;n;)n.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(n),n=n.nextSibling}}const Jn=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,Yn=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Kn(e){return(e=String(e)).match(Jn)||e.match(Yn)?e:(qn()&&console.warn(`WARNING: sanitizing unsafe URL value ${e} (see http://g.co/ng/security#xss)`),"unsafe:"+e)}function Xn(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function er(...e){const t={};for(const n of e)for(const e in n)n.hasOwnProperty(e)&&(t[e]=!0);return t}const tr=Xn("area,br,col,hr,img,wbr"),nr=Xn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),rr=Xn("rp,rt"),or=er(rr,nr),sr=er(tr,er(nr,Xn("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")),er(rr,Xn("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),or),ir=Xn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ur=Xn("srcset"),lr=er(ir,ur,Xn("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,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Xn("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")),cr=Xn("script,style,template");class ar{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let t=e.firstChild,n=!0;for(;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let e=this.checkClobberedElement(t,t.nextSibling);if(e){t=e;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(e){const t=e.nodeName.toLowerCase();if(!sr.hasOwnProperty(t))return this.sanitizedSomething=!0,!cr.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const n=e.attributes;for(let o=0;o<n.length;o++){const e=n.item(o),t=e.name,s=t.toLowerCase();if(!lr.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let i=e.value;ir[s]&&(i=Kn(i)),ur[s]&&(r=i,i=(r=String(r)).split(",").map(e=>Kn(e.trim())).join(", ")),this.buf.push(" ",t,'="',fr(i),'"')}var r;return this.buf.push(">"),!0}endElement(e){const t=e.nodeName.toLowerCase();sr.hasOwnProperty(t)&&!tr.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(fr(e))}checkClobberedElement(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+e.outerHTML);return t}}const hr=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,dr=/([^\#-~ |!])/g;function fr(e){return e.replace(/&/g,"&amp;").replace(hr,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(dr,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let pr;function gr(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var mr=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}({});function _r(e){const t=function(){const e=zt();return e&&e[12]}();return t?t.sanitize(mr.HTML,e)||"":function(e,t){const n=function(e){return e instanceof $n&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see http://g.co/ng/security#xss)`)}return n===t}(e,"HTML")?(n=e)instanceof $n?n.changingThisBreaksApplicationSecurity:n:function(e,t){let n=null;try{pr=pr||function(e){return function(){try{return!!(new window.DOMParser).parseFromString("","text/html")}catch(e){return!1}}()?new Gn:new Qn(e)}(e);let r=t?String(t):"";n=pr.getInertBodyElement(r);let o=5,s=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=s,s=n.innerHTML,n=pr.getInertBodyElement(r)}while(r!==s);const i=new ar,u=i.sanitizeChildren(gr(n)||n);return qn()&&i.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),u}finally{if(n){const e=gr(n)||n;for(;e.firstChild;)e.removeChild(e.firstChild)}}}(kt(),yt(e));var n}function yr(e,t){e.__ngContext__=t}function Dr(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const n=t.length;if(o+n===r||e.charCodeAt(o+n)<=32)return o}n=o+1}}const wr="ng-template";function br(e,t,n){let r=0;for(;r<e.length;){let o=e[r++];if(n&&"class"===o){if(o=e[r],-1!==Dr(o.toLowerCase(),t,0))return!0}else if(1===o){for(;r<e.length&&"string"==typeof(o=e[r++]);)if(o.toLowerCase()===t)return!0;return!1}}return!1}function Cr(e){return 0===e.type&&e.tagName!==wr}function vr(e,t,n){return t===(0!==e.type||n?e.tagName:wr)}function Er(e,t,n){let r=4;const o=e.attrs||[],s=function(e){for(let n=0;n<e.length;n++)if(3===(t=e[n])||4===t||6===t)return n;var t;return e.length}(o);let i=!1;for(let u=0;u<t.length;u++){const l=t[u];if("number"!=typeof l){if(!i)if(4&r){if(r=2|1&r,""!==l&&!vr(e,l,n)||""===l&&1===t.length){if(Ar(r))return!1;i=!0}}else{const c=8&r?l:t[++u];if(8&r&&null!==e.attrs){if(!br(e.attrs,c,n)){if(Ar(r))return!1;i=!0}continue}const a=Fr(8&r?"class":l,o,Cr(e),n);if(-1===a){if(Ar(r))return!1;i=!0;continue}if(""!==c){let e;e=a>s?"":o[a+1].toLowerCase();const t=8&r?e:null;if(t&&-1!==Dr(t,c,0)||2&r&&c!==e){if(Ar(r))return!1;i=!0}}}}else{if(!i&&!Ar(r)&&!Ar(l))return!1;if(i&&Ar(l))continue;i=!1,r=l|1&r}}return Ar(r)||i}function Ar(e){return 0==(1&e)}function Fr(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let n=!1;for(;o<t.length;){const r=t[o];if(r===e)return o;if(3===r||6===r)n=!0;else{if(1===r||2===r){let e=t[++o];for(;"string"==typeof e;)e=t[++o];continue}if(4===r)break;if(0===r){o+=4;continue}}o+=n?1:2}return-1}return function(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function xr(e,t,n=!1){for(let r=0;r<t.length;r++)if(Er(e,t[r],n))return!0;return!1}function kr(e,t){return e?":not("+t.trim()+")":t}function Tr(e){let t=e[0],n=1,r=2,o="",s=!1;for(;n<e.length;){let i=e[n];if("string"==typeof i)if(2&r){const t=e[++n];o+="["+i+(t.length>0?'="'+t+'"':"")+"]"}else 8&r?o+="."+i:4&r&&(o+=" "+i);else""===o||Ar(i)||(t+=kr(s,o),o=""),r=i,s=s||!Ar(r);n++}return""!==o&&(t+=kr(s,o)),t}const Ir={};function Sr(e){const t=e[3];return dt(t)?t[3]:t}function Br(e){return Nr(e[13])}function Or(e){return Nr(e[4])}function Nr(e){for(;null!==e&&!dt(e);)e=e[4];return e}function Rr(e){Pr(Zt(),zt(),ln()+e,qt())}function Pr(e,t,n,r){if(!r)if(3==(3&t[2])){const r=e.preOrderCheckHooks;null!==r&&hn(t,r,n)}else{const r=e.preOrderHooks;null!==r&&dn(t,r,0,n)}cn(n)}function jr(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const o=n[r],s=n[r+1];if(-1!==s){const n=e.data[s];Xt(o),n.contentQueries(2,t[s],s)}}}function Hr(e,t,n){return Tt(t)?t.createElement(e,n):null===n?t.createElement(e):t.createElementNS(n,e)}function Mr(e,t,n,r,o,s,i,u,l,c){const a=t.blueprint.slice();return a[0]=o,a[2]=140|r,Ht(a),a[3]=a[15]=e,a[8]=n,a[10]=i||e&&e[10],a[11]=u||e&&e[11],a[12]=l||e&&e[12]||null,a[9]=c||e&&e[9]||null,a[6]=s,a[16]=2==t.type?e[16]:a,a}function Vr(e,t,n,r,o){const s=t+ct,i=e.data[s]||function(e,t,n,r,o){const s=$t(),i=Wt(),u=e.data[t]=function(e,t,n,r,o,s){return{type:n,index:r,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,tagName:o,attrs:s,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,i?s:s&&s.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=u),null!==s&&(i&&null==s.child&&null!==u.parent?s.child=u:i||(s.next=u)),u}(e,s,n,r,o);return Ut(i,!0),i}function Lr(e,t,n){tn(t);try{const r=e.viewQuery;null!==r&&mo(1,r,n);const o=e.template;null!==o&&$r(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&jr(e,t),e.staticViewQueries&&mo(2,e.viewQuery,n);const s=e.components;null!==s&&function(e,t){for(let n=0;n<t.length;n++)ao(e,t[n])}(t,s)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0),r}finally{t[2]&=-5,un()}}function zr(e,t,n,r){const o=t[2];if(256==(256&o))return;tn(t);const s=qt();try{Ht(t),Vt.lFrame.bindingIndex=e.bindingStartIndex,null!==n&&$r(e,t,n,2,r);const i=3==(3&o);if(!s)if(i){const n=e.preOrderCheckHooks;null!==n&&hn(t,n,null)}else{const n=e.preOrderHooks;null!==n&&dn(t,n,0,null),fn(t,0)}if(function(e){for(let t=Br(e);null!==t;t=Or(t)){if(!t[2])continue;const e=t[9];for(let t=0;t<e.length;t++){const n=e[t],r=n[3];0==(1024&n[2])&&Mt(r,1),n[2]|=1024}}}(t),function(e){for(let t=Br(e);null!==t;t=Or(t))for(let e=at;e<t.length;e++){const n=t[e],r=n[1];Pt(n)&&zr(r,n,r.template,n[8])}}(t),null!==e.contentQueries&&jr(e,t),!s)if(i){const n=e.contentCheckHooks;null!==n&&hn(t,n)}else{const n=e.contentHooks;null!==n&&dn(t,n,1),fn(t,1)}!function(e,t){try{const n=e.expandoInstructions;if(null!==n){let r=e.expandoStartIndex,o=-1,s=-1;for(let e=0;e<n.length;e++){const i=n[e];"number"==typeof i?i<=0?(s=0-i,cn(s),r+=9+n[++e],o=r):r+=i:(null!==i&&(Yt(r,o),i(2,t[o])),o++)}}}finally{cn(-1)}}(e,t);const u=e.components;null!==u&&function(e,t){for(let n=0;n<t.length;n++)co(e,t[n])}(t,u);const l=e.viewQuery;if(null!==l&&mo(2,l,r),!s)if(i){const n=e.viewCheckHooks;null!==n&&hn(t,n)}else{const n=e.viewHooks;null!==n&&dn(t,n,2),fn(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),s||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,Mt(t[3],-1))}finally{un()}}function Zr(e,t,n,r){const o=t[10],s=!qt(),i=4==(4&t[2]);try{s&&!i&&o.begin&&o.begin(),i&&Lr(e,t,r),zr(e,t,n,r)}finally{s&&!i&&o.end&&o.end()}}function $r(e,t,n,r,o){const s=ln();try{cn(-1),2&r&&t.length>ct&&Pr(e,t,0,qt()),n(r,o)}finally{cn(s)}}function Ur(e,t,n){Lt()&&(function(e,t,n,r){const o=n.directiveStart,s=n.directiveEnd;e.firstCreatePass||kn(n,t),yr(r,t);const i=n.initialInputs;for(let u=o;u<s;u++){const r=e.data[u],s=mt(r);s&&so(t,n,r);const l=Pn(t,e,u,n);yr(l,t),null!==i&&io(0,u-o,l,r,0,i),s&&(Nt(n.index,t)[8]=l)}}(e,t,n,Bt(n,t)),128==(128&n.flags)&&function(e,t,n){const r=n.directiveStart,o=n.directiveEnd,s=e.expandoInstructions,i=e.firstCreatePass,u=n.index-ct,l=Vt.lFrame.currentDirectiveIndex;try{cn(u);for(let n=r;n<o;n++){const r=e.data[n],o=t[n];Kt(n),null!==r.hostBindings||0!==r.hostVars||null!==r.hostAttrs?Xr(r,o):i&&s.push(null)}}finally{cn(-1),Kt(l)}}(e,t,n))}function Wr(e,t,n=Bt){const r=t.localNames;if(null!==r){let o=t.index+1;for(let s=0;s<r.length;s+=2){const i=r[s+1],u=-1===i?n(t,e):e[i];e[o++]=u}}}function qr(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Gr(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Gr(e,t,n,r,o,s,i,u,l,c){const a=ct+r,h=a+o,d=function(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:Ir);return n}(a,h),f="function"==typeof c?c():c;return d[1]={type:e,blueprint:d,template:n,queries:null,viewQuery:u,declTNode:t,data:d.slice().fill(null,a),bindingStartIndex:a,expandoStartIndex:h,expandoInstructions:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof s?s():s,pipeRegistry:"function"==typeof i?i():i,firstChild:null,schemas:l,consts:f,incompleteFirstPass:!1}}function Qr(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const o=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,o):n[r]=[t,o]}return n}function Jr(e,t,n,r){let o=!1;if(Lt()){const s=function(e,t,n){const r=e.directiveRegistry;let o=null;if(r)for(let s=0;s<r.length;s++){const i=r[s];xr(n,i.selectors,!1)&&(o||(o=[]),Bn(kn(n,t),e,i.type),mt(i)?(to(e,n),o.unshift(i)):o.push(i))}return o}(e,t,n),i=null===r?null:{"":-1};if(null!==s){let r=0;o=!0,ro(n,e.data.length,s.length);for(let e=0;e<s.length;e++){const t=s[e];t.providersResolver&&t.providersResolver(t)}eo(e,n,s.length);let u=!1,l=!1;for(let o=0;o<s.length;o++){const c=s[o];n.mergedAttrs=wn(n.mergedAttrs,c.hostAttrs),oo(e,t,c),no(e.data.length-1,c,i),null!==c.contentQueries&&(n.flags|=8),null===c.hostBindings&&null===c.hostAttrs&&0===c.hostVars||(n.flags|=128);const a=c.type.prototype;!u&&(a.ngOnChanges||a.ngOnInit||a.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index-ct),u=!0),l||!a.ngOnChanges&&!a.ngDoCheck||((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index-ct),l=!0),Yr(e,c),r+=c.hostVars}!function(e,t){const n=t.directiveEnd,r=e.data,o=t.attrs,s=[];let i=null,u=null;for(let l=t.directiveStart;l<n;l++){const e=r[l],n=e.inputs,c=null===o||Cr(t)?null:uo(n,o);s.push(c),i=Qr(n,l,i),u=Qr(e.outputs,l,u)}null!==i&&(i.hasOwnProperty("class")&&(t.flags|=16),i.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=s,t.inputs=i,t.outputs=u}(e,n),Kr(e,t,r)}i&&function(e,t,n){if(t){const r=e.localNames=[];for(let e=0;e<t.length;e+=2){const o=n[t[e+1]];if(null==o)throw new Error(`Export of name '${t[e+1]}' not found!`);r.push(t[e],o)}}}(n,r,i)}return n.mergedAttrs=wn(n.mergedAttrs,n.attrs),o}function Yr(e,t){const n=e.expandoInstructions;n.push(t.hostBindings),0!==t.hostVars&&n.push(t.hostVars)}function Kr(e,t,n){for(let r=0;r<n;r++)t.push(Ir),e.blueprint.push(Ir),e.data.push(null)}function Xr(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function eo(e,t,n){const r=ct-t.index,o=e.data.length-(1048575&t.providerIndexes);(e.expandoInstructions||(e.expandoInstructions=[])).push(r,o,n)}function to(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function no(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;mt(t)&&(n[""]=e)}}function ro(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function oo(e,t,n){e.data.push(n);const r=n.factory||(n.factory=ut(n.type)),o=new _n(r,mt(n),null);e.blueprint.push(o),t.push(o)}function so(e,t,n){const r=Bt(t,e),o=qr(n),s=e[10],i=ho(e,Mr(e,o,null,n.onPush?64:16,r,t,s,s.createRenderer(r,n),null,null));e[t.index]=i}function io(e,t,n,r,o,s){const i=s[t];if(null!==i){const e=r.setInput;for(let t=0;t<i.length;){const o=i[t++],s=i[t++],u=i[t++];null!==e?r.setInput(n,u,o,s):n[s]=u}}}function uo(e,t){let n=null,r=0;for(;r<t.length;){const o=t[r];if(0!==o)if(5!==o){if("number"==typeof o)break;e.hasOwnProperty(o)&&(null===n&&(n=[]),n.push(o,e[o],t[r+1])),r+=2}else r+=2;else r+=4}return n}function lo(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function co(e,t){const n=Nt(t,e);if(Pt(n)){const e=n[1];80&n[2]?zr(e,n,e.template,n[8]):n[5]>0&&function e(t){for(let r=Br(t);null!==r;r=Or(r))for(let t=at;t<r.length;t++){const n=r[t];if(1024&n[2]){const e=n[1];zr(e,n,e.template,n[8])}else n[5]>0&&e(n)}const n=t[1].components;if(null!==n)for(let r=0;r<n.length;r++){const o=Nt(n[r],t);Pt(o)&&o[5]>0&&e(o)}}(n)}}function ao(e,t){const n=Nt(t,e),r=n[1];!function(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n),Lr(r,n,n[8])}function ho(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function fo(e){for(;e;){e[2]|=64;const t=Sr(e);if(_t(e)&&!t)return e;e=t}return null}function po(e,t,n){const r=t[10];r.begin&&r.begin();try{zr(e,t,e.template,n)}catch(o){throw Do(t,o),o}finally{r.end&&r.end()}}function go(e){!function(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=Rt(n),o=r[1];Zr(o,r,o.template,n)}}(e[8])}function mo(e,t,n){Xt(0),t(e,n)}const _o=(()=>Promise.resolve(null))();function yo(e){return e[7]||(e[7]=[])}function Do(e,t){const n=e[9],r=n?n.get(Zn,null):null;r&&r.handleError(t)}function wo(e,t,n,r,o){for(let s=0;s<n.length;){const i=n[s++],u=n[s++],l=t[i],c=e.data[i];null!==c.setInput?c.setInput(l,o,r,u):l[u]=o}}function bo(e,t,n){const r=function(e,t){return St(t[e+ct])}(t,e),o=e[11];Tt(o)?o.setValue(r,n):r.textContent=n}function Co(e,t,n,r,o){if(null!=r){let s,i=!1;dt(r)?s=r:ht(r)&&(i=!0,r=r[0]);const u=St(r);0===e&&null!==n?null==o?ko(t,n,u):xo(t,n,u,o||null):1===e&&null!==n?xo(t,n,u,o||null):2===e?function(e,t,n){const r=Io(e,t);r&&function(e,t,n,r){Tt(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,u,i):3===e&&t.destroyNode(u),null!=s&&function(e,t,n,r,o){const s=n[7];s!==St(n)&&Co(t,e,r,s,o);for(let i=at;i<n.length;i++){const o=n[i];Oo(o[1],o,e,t,r,s)}}(t,e,s,n,o)}}function vo(e,t){const n=e[9],r=n.indexOf(t),o=t[3];1024&t[2]&&(t[2]&=-1025,Mt(o,-1)),n.splice(r,1)}function Eo(e,t){if(e.length<=at)return;const n=at+t,r=e[n];if(r){const s=r[17];null!==s&&s!==e&&vo(s,r),t>0&&(e[n-1][4]=r[4]);const i=We(e,at+t);Oo(r[1],o=r,o[11],2,null,null),o[0]=null,o[6]=null;const u=i[19];null!==u&&u.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-129}var o;return r}function Ao(e,t){if(!(256&t[2])){const n=t[11];Tt(n)&&n.destroyNode&&Oo(e,t,n,3,null,null),function(e){let t=e[13];if(!t)return Fo(e[1],e);for(;t;){let n=null;if(ht(t))n=t[13];else{const e=t[10];e&&(n=e)}if(!n){for(;t&&!t[4]&&t!==e;)ht(t)&&Fo(t[1],t),t=t[3];null===t&&(t=e),ht(t)&&Fo(t[1],t),n=t&&t[4]}t=n}}(t)}}function Fo(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const e=t[n[r]];if(!(e instanceof _n)){const t=n[r+1];if(Array.isArray(t))for(let n=0;n<t.length;n+=2)t[n+1].call(e[t[n]]);else t.call(e)}}}(e,t),function(e,t){const n=e.cleanup;if(null!==n){const e=t[7];for(let r=0;r<n.length-1;r+=2)if("string"==typeof n[r]){const o=n[r+1],s="function"==typeof o?o(t):St(t[o]),i=e[n[r+2]],u=n[r+3];"boolean"==typeof u?s.removeEventListener(n[r],i,u):u>=0?e[u]():e[-u].unsubscribe(),r+=2}else n[r].call(e[n[r+1]]);t[7]=null}}(e,t),1===t[1].type&&Tt(t[11])&&t[11].destroy();const n=t[17];if(null!==n&&dt(t[3])){n!==t[3]&&vo(n,t);const r=t[19];null!==r&&r.detachView(e)}}}function xo(e,t,n,r){Tt(e)?e.insertBefore(t,n,r):t.insertBefore(n,r,!0)}function ko(e,t,n){Tt(e)?e.appendChild(t,n):t.appendChild(n)}function To(e,t,n,r){null!==r?xo(e,t,n,r):ko(e,t,n)}function Io(e,t){return Tt(e)?e.parentNode(t):t.parentNode}function So(e,t,n,r){const o=function(e,t,n){let r=t.parent;for(;null!=r&&(3===r.type||4===r.type);)r=(t=r).parent;if(null===r)return n[0];if(t&&4===t.type&&4&t.flags)return Bt(t,n).parentNode;if(2&r.flags){const t=e.data,n=t[t[r.index].directiveStart].encapsulation;if(n!==Ge.ShadowDom&&n!==Ge.Native)return null}return Bt(r,n)}(e,r,t);if(null!=o){const e=t[11],s=function(e,t){return 3===e.type||4===e.type?Bt(e,t):null}(r.parent||t[6],t);if(Array.isArray(n))for(let t=0;t<n.length;t++)To(e,o,n[t],s);else To(e,o,n,s)}}function Bo(e,t,n,r,o,s,i){for(;null!=n;){const u=r[n.index],l=n.type;i&&0===t&&(u&&yr(St(u),r),n.flags|=4),64!=(64&n.flags)&&(3===l||4===l?(Bo(e,t,n.child,r,o,s,!1),Co(t,e,o,u,s)):1===l?No(e,t,r,n,o,s):Co(t,e,o,u,s)),n=i?n.projectionNext:n.next}}function Oo(e,t,n,r,o,s){Bo(n,r,e.firstChild,t,o,s,!1)}function No(e,t,n,r,o,s){const i=n[16],u=i[6].projection[r.projection];if(Array.isArray(u))for(let l=0;l<u.length;l++)Co(t,e,o,u[l],s);else Bo(e,t,u,i[3],o,s,!0)}function Ro(e,t,n){Tt(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function Po(e,t,n){Tt(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}class jo{constructor(e,t){this._lView=e,this._cdRefInjectingView=t,this._appRef=null,this._viewContainerRef=null}get rootNodes(){const e=this._lView,t=e[1];return function e(t,n,r,o,s=!1){for(;null!==r;){const i=n[r.index];if(null!==i&&o.push(St(i)),dt(i))for(let t=at;t<i.length;t++){const n=i[t],r=n[1].firstChild;null!==r&&e(n[1],n,r,o)}const u=r.type;if(3===u||4===u)e(t,n,r.child,o);else if(1===u){const t=n[16],s=t[6].projection[r.projection];if(Array.isArray(s))o.push(...s);else{const n=Sr(t);e(n[1],n,s,o,!0)}}r=s?r.projectionNext:r.next}return o}(t,e,t.firstChild,[])}get context(){return this._lView[8]}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){const e=this._viewContainerRef.indexOf(this);e>-1&&this._viewContainerRef.detach(e),this._viewContainerRef=null}Ao(this._lView[1],this._lView)}onDestroy(e){!function(e,t,n,r){const o=yo(t);o.push(null),e.firstCreatePass&&function(e){return e.cleanup||(e.cleanup=[])}(e).push(r,o.length-1)}(this._lView[1],this._lView,0,e)}markForCheck(){fo(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){po(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,n){Gt(!0);try{po(e,t,n)}finally{Gt(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}detachFromAppRef(){var e;this._appRef=null,Oo(this._lView[1],e=this._lView,e[11],2,null,null)}attachToAppRef(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}class Ho extends jo{constructor(e){super(e),this._view=e}detectChanges(){go(this._view)}checkNoChanges(){!function(e){Gt(!0);try{go(e)}finally{Gt(!1)}}(this._view)}get context(){return null}}let Mo,Vo,Lo;function zo(e,t,n){return Mo||(Mo=class extends e{}),new Mo(Bt(t,n))}const Zo=new ke("Set Injector scope."),$o={},Uo={},Wo=[];let qo=void 0;function Go(){return void 0===qo&&(qo=new ze),qo}function Qo(e,t=null,n=null,r){return new Jo(e,n,t||Go(),r)}class Jo{constructor(e,t,n,r=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const o=[];t&&$e(t,n=>this.processProvider(n,e,t)),$e([e],e=>this.processInjectorType(e,[],o)),this.records.set(Te,Ko(void 0,this));const s=this.records.get(Zo);this.scope=null!=s?s.value:null,this.source=r||("object"==typeof e?null:he(e))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(e=>e.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(e,t=Ie,n=X.Default){this.assertNotDestroyed();const r=Pe(this);try{if(!(n&X.SkipSelf)){let t=this.records.get(e);if(void 0===t){const n=("function"==typeof(o=e)||"object"==typeof o&&o instanceof ke)&&re(e);t=n&&this.injectableDefInScope(n)?Ko(Yo(e),$o):null,this.records.set(e,t)}if(null!=t)return this.hydrate(e,t)}return(n&X.Self?Go():this.parent).get(e,t=n&X.Optional&&t===Ie?null:t)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(he(e)),r)throw s;return function(e,t,n,r){const o=e.ngTempTokenPath;throw t[Be]&&o.unshift(t[Be]),e.message=function(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let o=he(t);if(Array.isArray(t))o=t.map(he).join(" -> ");else if("object"==typeof t){let e=[];for(let n in t)if(t.hasOwnProperty(n)){let r=t[n];e.push(n+":"+("string"==typeof r?JSON.stringify(r):he(r)))}o=`{${e.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Se,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e.ngTempTokenPath=null,e}(s,e,"R3InjectorError",this.source)}throw s}finally{Pe(r)}var o}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(e=>this.get(e))}toString(){const e=[];return this.records.forEach((t,n)=>e.push(he(n))),`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(e,t,n){if(!(e=ge(e)))return!1;let r=se(e);const o=null==r&&e.ngModule||void 0,s=void 0===o?e:o,i=-1!==n.indexOf(s);if(void 0!==o&&(r=se(o)),null==r)return!1;if(null!=r.imports&&!i){let e;n.push(s);try{$e(r.imports,r=>{this.processInjectorType(r,t,n)&&(void 0===e&&(e=[]),e.push(r))})}finally{}if(void 0!==e)for(let t=0;t<e.length;t++){const{ngModule:n,providers:r}=e[t];$e(r,e=>this.processProvider(e,n,r||Wo))}}this.injectorDefTypes.add(s),this.records.set(s,Ko(r.factory,$o));const u=r.providers;if(null!=u&&!i){const t=e;$e(u,e=>this.processProvider(e,t,u))}return void 0!==o&&void 0!==e.providers}processProvider(e,t,n){let r=es(e=ge(e))?e:ge(e&&e.provide);const o=function(e,t,n){return Xo(e)?Ko(void 0,e.useValue):Ko(function(e,t,n){let r=void 0;if(es(e)){const t=ge(e);return ut(t)||Yo(t)}if(Xo(e))r=()=>ge(e.useValue);else if((o=e)&&o.useFactory)r=()=>e.useFactory(...Le(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))r=()=>Me(ge(e.useExisting));else{const t=ge(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return ut(t)||Yo(t);r=()=>new t(...Le(e.deps))}var o;return r}(e),$o)}(e);if(es(e)||!0!==e.multi)this.records.get(r);else{let t=this.records.get(r);t||(t=Ko(void 0,$o,!0),t.factory=()=>Le(t.multi),this.records.set(r,t)),r=e,t.multi.push(e)}this.records.set(r,o)}hydrate(e,t){var n;return t.value===$o&&(t.value=Uo,t.value=t.factory()),"object"==typeof t.value&&t.value&&null!==(n=t.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(t.value),t.value}injectableDefInScope(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||e.providedIn===this.scope:this.injectorDefTypes.has(e.providedIn))}}function Yo(e){const t=re(e),n=null!==t?t.factory:ut(e);if(null!==n)return n;const r=se(e);if(null!==r)return r.factory;if(e instanceof ke)throw new Error(`Token ${he(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const n=function(e,t){const n=[];for(let r=0;r<e;r++)n.push("?");return n}(t);throw new Error(`Can't resolve all parameters for ${he(e)}: (${n.join(", ")}).`)}const n=function(e){const t=e&&(e[ie]||e[ce]||e[le]&&e[le]());if(t){const n=function(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Error("unreachable")}function Ko(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Xo(e){return null!==e&&"object"==typeof e&&Oe in e}function es(e){return"function"==typeof e}const ts=function(e,t,n){return function(e,t=null,n=null,r){const o=Qo(e,t,n,r);return o._resolveInjectorDefTypes(),o}({name:n},t,e,n)};let ns=(()=>{class e{static create(e,t){return Array.isArray(e)?ts(e,t,""):ts(e.providers,e.parent,e.name||"")}}return e.THROW_IF_NOT_FOUND=Ie,e.NULL=new ze,e.\u0275prov=te({token:e,providedIn:"any",factory:()=>Me(Te)}),e.__NG_ELEMENT_ID__=-1,e})();function rs(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,s=0;if(null!==t)for(let i=0;i<t.length;i++){const e=t[i];"number"==typeof e?s=e:1==s?o=de(o,e):2==s&&(r=de(r,e+": "+t[++i]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function os(e,t){const n=Rt(e)[1],r=n.data.length-1;an(n,{directiveStart:r,directiveEnd:r+1})}let ss=null;function is(){if(!ss){const e=we.Symbol;if(e&&e.iterator)ss=e.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;t<e.length;++t){const n=e[t];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(ss=n)}}}return ss}class us{constructor(e){this.wrapped=e}static wrap(e){return new us(e)}static unwrap(e){return us.isWrapped(e)?e.wrapped:e}static isWrapped(e){return e instanceof us}}function ls(e){return!!cs(e)&&(Array.isArray(e)||!(e instanceof Map)&&is()in e)}function cs(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function as(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function hs(e,t,n,r,o,s,i,u){const l=zt(),c=Zt(),a=e+ct,h=c.firstCreatePass?function(e,t,n,r,o,s,i,u,l){const c=t.consts,a=Vr(t,e,0,i||null,jt(c,u));Jr(t,n,a,jt(c,l)),an(t,a);const h=a.tViews=Gr(2,a,r,o,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c);return null!==t.queries&&(t.queries.template(t,a),h.queries=t.queries.embeddedTView(a)),a}(e,c,l,t,n,r,o,s,i):c.data[a];Ut(h,!1);const d=l[11].createComment("");So(c,l,d,h),yr(d,l),ho(l,l[a]=lo(d,l,d,h)),gt(h)&&Ur(c,l,h),null!=i&&Wr(l,h,u)}function ds(e,t=X.Default){const n=zt();return null===n?Me(e,t):On($t(),n,ge(e),t)}function fs(e,t,n){const r=zt();return as(r,Jt(),t)&&function(e,t,n,r,o,s,i,u){const l=Bt(t,n);let c,a=t.inputs;var h;null!=a&&(c=a[r])?(wo(e,n,c,r,o),pt(t)&&function(e,t){const n=Nt(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):2===t.type&&(r="class"===(h=r)?"className":"for"===h?"htmlFor":"formaction"===h?"formAction":"innerHtml"===h?"innerHTML":"readonly"===h?"readOnly":"tabindex"===h?"tabIndex":h,o=null!=i?i(o,t.tagName||"",r):o,Tt(s)?s.setProperty(l,r,o):Dn(r)||(l.setProperty?l.setProperty(r,o):l[r]=o))}(Zt(),function(){const e=Vt.lFrame;return Ot(e.tView,e.selectedIndex)}(),r,e,t,r[11],n),fs}function ps(e,t,n,r,o){const s=o?"class":"style";wo(e,n,t.inputs[s],s,r)}function gs(e,t,n,r){const o=zt(),s=Zt(),i=ct+e,u=o[11],l=o[i]=Hr(t,u,Vt.lFrame.currentNamespace),c=s.firstCreatePass?function(e,t,n,r,o,s,i){const u=t.consts,l=Vr(t,e,2,o,jt(u,s));return Jr(t,n,l,jt(u,i)),null!==l.attrs&&rs(l,l.attrs,!1),null!==l.mergedAttrs&&rs(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(e,s,o,0,t,n,r):s.data[i];Ut(c,!0);const a=c.mergedAttrs;null!==a&&yn(u,l,a);const h=c.classes;null!==h&&Po(u,l,h);const d=c.styles;null!==d&&Ro(u,l,d),So(s,o,l,c),0===Vt.lFrame.elementDepthCount&&yr(l,o),Vt.lFrame.elementDepthCount++,gt(c)&&(Ur(s,o,c),function(e,t,n){if(ft(t)){const r=t.directiveEnd;for(let o=t.directiveStart;o<r;o++){const t=e.data[o];t.contentQueries&&t.contentQueries(1,n[o],o)}}}(s,c,o)),null!==r&&Wr(o,c)}function ms(){let e=$t();Wt()?Vt.lFrame.isParent=!1:(e=e.parent,Ut(e,!1));const t=e;Vt.lFrame.elementDepthCount--;const n=Zt();n.firstCreatePass&&(an(n,e),ft(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&ps(n,t,zt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&ps(n,t,zt(),t.stylesWithoutHost,!1)}function _s(e,t,n,r){gs(e,t,n,r),ms()}function ys(e){return!!e&&"function"==typeof e.then}function Ds(e,t,n=!1,r){const o=zt(),s=Zt(),i=$t();return function(e,t,n,r,o,s,i=!1,u){const l=gt(r),c=e.firstCreatePass&&(e.cleanup||(e.cleanup=[])),a=yo(t);let h=!0;if(2===r.type){const d=Bt(r,t),f=u?u(d):Qe,p=f.target||d,g=a.length,m=u?e=>u(St(e[r.index])).target:r.index;if(Tt(n)){let i=null;if(!u&&l&&(i=function(e,t,n,r){const o=e.cleanup;if(null!=o)for(let s=0;s<o.length-1;s+=2){const e=o[s];if(e===n&&o[s+1]===r){const e=t[7],n=o[s+2];return e.length>n?e[n]:null}"string"==typeof e&&(s+=2)}return null}(e,t,o,r.index)),null!==i)(i.__ngLastListenerFn__||i).__ngNextListenerFn__=s,i.__ngLastListenerFn__=s,h=!1;else{s=bs(r,t,s,!1);const e=n.listen(f.name||p,o,s);a.push(s,e),c&&c.push(o,m,g,g+1)}}else s=bs(r,t,s,!0),p.addEventListener(o,s,i),a.push(s),c&&c.push(o,m,g,i)}const d=r.outputs;let f;if(h&&null!==d&&(f=d[o])){const e=f.length;if(e)for(let n=0;n<e;n+=2){const e=t[f[n]][f[n+1]].subscribe(s),i=a.length;a.push(s,e),c&&c.push(o,r.index,i,-(i+1))}}}(s,o,o[11],i,e,t,n,r),Ds}function ws(e,t,n){try{return!1!==t(n)}catch(r){return Do(e,r),!1}}function bs(e,t,n,r){return function o(s){if(s===Function)return n;const i=2&e.flags?Nt(e.index,t):t;0==(32&t[2])&&fo(i);let u=ws(t,n,s),l=o.__ngNextListenerFn__;for(;l;)u=ws(t,l,s)&&u,l=l.__ngNextListenerFn__;return r&&!1===u&&(s.preventDefault(),s.returnValue=!1),u}}function Cs(e=1){return function(e){return(Vt.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,Vt.lFrame.contextLView))[8]}(e)}function vs(e,t=""){const n=zt(),r=Zt(),o=e+ct,s=r.firstCreatePass?Vr(r,e,2,null,null):r.data[o],i=n[o]=function(e,t){return Tt(t)?t.createText(e):t.createTextNode(e)}(t,n[11]);So(r,n,i,s),Ut(s,!1)}function Es(e){return As("",e,""),Es}function As(e,t,n){const r=zt(),o=function(e,t,n,r){return as(e,Jt(),n)?t+yt(n)+r:Ir}(r,e,t,n);return o!==Ir&&bo(r,ln(),o),As}function Fs(e,t,n,r,o){const s=zt(),i=function(e,t,n,r,o,s){const i=function(e,t,n,r){const o=as(e,t,n);return as(e,t+1,r)||o}(e,Qt(),n,o);return function(e){const t=Vt.lFrame;t.bindingIndex=t.bindingIndex+2}(),i?t+yt(n)+r+yt(o)+s:Ir}(s,e,t,n,r,o);return i!==Ir&&bo(s,ln(),i),Fs}const xs=void 0;var ks=["en",[["a","p"],["AM","PM"],xs],[["AM","PM"],xs,xs],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],xs,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],xs,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",xs,"{1} 'at' {0}",xs],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];let Ts={};function Is(e){return e in Ts||(Ts[e]=we.ng&&we.ng.common&&we.ng.common.locales&&we.ng.common.locales[e]),Ts[e]}var Ss=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}({});const Bs="en-US";let Os=Bs;function Ns(e){var t,n;n="Expected localeId to be defined",null==(t=e)&&function(e,t,n,r){throw new Error("ASSERTION ERROR: "+e+` [Expected=> null != ${t} <=Actual]`)}(n,t),"string"==typeof e&&(Os=e.toLowerCase().replace(/_/g,"-"))}class Rs{}class Ps{resolveComponentFactory(e){throw function(e){const t=Error(`No component factory found for ${he(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(e)}}let js=(()=>{class e{}return e.NULL=new Ps,e})(),Hs=(()=>{class e{constructor(e){this.nativeElement=e}}return e.__NG_ELEMENT_ID__=()=>Ms(e),e})();const Ms=function(e){return zo(e,$t(),zt())};class Vs{}var Ls=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({});let zs=(()=>{class e{}return e.\u0275prov=te({token:e,providedIn:"root",factory:()=>null}),e})();class Zs{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const $s=new Zs("10.2.3");class Us{constructor(){}supports(e){return ls(e)}create(e){return new qs(e)}}const Ws=(e,t)=>t;class qs{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||Ws}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,n=this._removalsHead,r=0,o=null;for(;t||n;){const s=!n||t&&t.currentIndex<Ys(n,r,o)?t:n,i=Ys(s,r,o),u=s.currentIndex;if(s===n)r--,n=n._nextRemoved;else if(t=t._next,null==s.previousIndex)r++;else{o||(o=[]);const e=i-r,t=u-r;if(e!=t){for(let n=0;n<e;n++){const r=n<o.length?o[n]:o[n]=0,s=r+n;t<=s&&s<e&&(o[n]=r+1)}o[s.previousIndex]=t-e}}i!==u&&e(s,i,u)}}forEachPreviousItem(e){let t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachMovedItem(e){let t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}forEachIdentityChange(e){let t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)}diff(e){if(null==e&&(e=[]),!ls(e))throw new Error(`Error trying to diff '${he(e)}'. Only arrays and iterables are allowed`);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t,n,r,o=this._itHead,s=!1;if(Array.isArray(e)){this.length=e.length;for(let t=0;t<this.length;t++)n=e[t],r=this._trackByFn(t,n),null!==o&&Object.is(o.trackById,r)?(s&&(o=this._verifyReinsertion(o,n,r,t)),Object.is(o.item,n)||this._addIdentityChange(o,n)):(o=this._mismatch(o,n,r,t),s=!0),o=o._next}else t=0,function(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[is()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(e,e=>{r=this._trackByFn(t,e),null!==o&&Object.is(o.trackById,r)?(s&&(o=this._verifyReinsertion(o,e,r,t)),Object.is(o.item,e)||this._addIdentityChange(o,e)):(o=this._mismatch(o,e,r,t),s=!0),o=o._next,t++}),this.length=t;return this._truncate(o),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,n,r){let o;return null===e?o=this._itTail:(o=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,o,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,o,r)):e=this._addAfter(new Gs(t,n),o,r),e}_verifyReinsertion(e,t,n,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==o?e=this._reinsertAfter(o,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const r=e._prevRemoved,o=e._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e}_moveAfter(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}_addAfter(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,t,n){const r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new Js),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Js),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class Gs{constructor(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class Qs{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){const t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head}}class Js{constructor(){this.map=new Map}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new Qs,this.map.set(t,n)),n.add(e)}get(e,t){const n=this.map.get(e);return n?n.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Ys(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}class Ks{constructor(){}supports(e){return e instanceof Map||cs(e)}create(){return new Xs}}class Xs{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(e){let t;for(t=this._mapHead;null!==t;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}diff(e){if(e){if(!(e instanceof Map||cs(e)))throw new Error(`Error trying to diff '${he(e)}'. Only maps and objects are allowed`)}else e=new Map;return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(e,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{const r=this._getOrCreateRecordForKey(n,e);t=this._insertBeforeOrAppend(t,r)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let e=t;null!==e;e=e._nextRemoved)e===this._mapHead&&(this._mapHead=null),this._records.delete(e.key),e._nextRemoved=e._next,e.previousValue=e.currentValue,e.currentValue=null,e._prev=null,e._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){const n=this._records.get(e);this._maybeAddToChanges(n,t);const r=n._prev,o=n._next;return r&&(r._next=o),o&&(o._prev=r),n._next=null,n._prev=null,n}const n=new ei(e);return this._records.set(e,n),n.currentValue=t,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(n=>t(e[n],n))}}class ei{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}let ti=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(null!=n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>{if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,n)},deps:[[e,new K,new J]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(null!=t)return t;throw new Error(`Cannot find a differ supporting object '${e}' of type '${n=e,n.name||typeof n}'`);var n}}return e.\u0275prov=te({token:e,providedIn:"root",factory:()=>new e([new Us])}),e})(),ni=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>{if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,n)},deps:[[e,new K,new J]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(t)return t;throw new Error(`Cannot find a differ supporting object '${e}'`)}}return e.\u0275prov=te({token:e,providedIn:"root",factory:()=>new e([new Ks])}),e})();const ri=[new Ks],oi=new ti([new Us]),si=new ni(ri);let ii=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>ui(e,Hs),e})();const ui=function(e,t){return function(e,t,n,r){return Vo||(Vo=class extends e{constructor(e,t,n){super(),this._declarationView=e,this._declarationTContainer=t,this.elementRef=n}createEmbeddedView(e){const t=this._declarationTContainer.tViews,n=Mr(this._declarationView,t,e,16,null,t.declTNode,null,null,null,null);n[17]=this._declarationView[this._declarationTContainer.index];const r=this._declarationView[19];return null!==r&&(n[19]=r.createEmbeddedView(t)),Lr(t,n,e),new jo(n)}}),0===n.type?new Vo(r,n,zo(t,n,r)):null}(e,t,$t(),zt())};let li=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>ci(e,Hs),e})();const ci=function(e,t){return function(e,t,n,r){let o;Lo||(Lo=class extends e{constructor(e,t,n){super(),this._lContainer=e,this._hostTNode=t,this._hostView=n}get element(){return zo(t,this._hostTNode,this._hostView)}get injector(){return new Mn(this._hostTNode,this._hostView)}get parentInjector(){const e=Sn(this._hostTNode,this._hostView);if(Cn(e)){const t=En(e,this._hostView),n=vn(e);return new Mn(t[1].data[n+8],t)}return new Mn(null,this._hostView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){return null!==this._lContainer[8]&&this._lContainer[8][e]||null}get length(){return this._lContainer.length-at}createEmbeddedView(e,t,n){const r=e.createEmbeddedView(t||{});return this.insert(r,n),r}createComponent(e,t,n,r,o){const s=n||this.parentInjector;if(!o&&null==e.ngModule&&s){const e=s.get(Ze,null);e&&(o=e)}const i=e.create(s,r,void 0,o);return this.insert(i.hostView,t),i}insert(e,t){const n=e._lView,r=n[1];if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),dt(n[3])){const t=this.indexOf(e);if(-1!==t)this.detach(t);else{const t=n[3],r=new Lo(t,t[6],t[3]);r.detach(r.indexOf(e))}}const o=this._adjustIndex(t),s=this._lContainer;!function(e,t,n,r){const o=at+r,s=n.length;r>0&&(n[o-1][4]=t),r<s-at?(t[4]=n[o],Ue(n,at+r,t)):(n.push(t),t[4]=null),t[3]=n;const i=t[17];null!==i&&n!==i&&function(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(i,t);const u=t[19];null!==u&&u.insertView(e),t[2]|=128}(r,n,s,o);const i=function e(t,n){const r=at+t+1;if(r<n.length){const t=n[r],o=t[1].firstChild;if(null!==o)return function t(n,r){if(null!==r){const o=r.type;if(2===o)return Bt(r,n);if(0===o)return e(-1,n[r.index]);if(3===o||4===o){const o=r.child;if(null!==o)return t(n,o);{const t=n[r.index];return dt(t)?e(-1,t):St(t)}}{const e=n[16],o=e[6],s=Sr(e),i=o.projection[r.projection];return null!=i?t(s,i):t(n,r.next)}}return null}(t,o)}return n[7]}(o,s),u=n[11],l=Io(u,s[7]);return null!==l&&function(e,t,n,r,o,s){r[0]=o,r[6]=t,Oo(e,r,n,1,o,s)}(r,s[6],u,n,l,i),e.attachToViewContainerRef(this),Ue(s[8],o,e),e}move(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");return this.insert(e,t)}indexOf(e){const t=this._lContainer[8];return null!==t?t.indexOf(e):-1}remove(e){this.allocateContainerIfNeeded();const t=this._adjustIndex(e,-1),n=Eo(this._lContainer,t);n&&(We(this._lContainer[8],t),Ao(n[1],n))}detach(e){this.allocateContainerIfNeeded();const t=this._adjustIndex(e,-1),n=Eo(this._lContainer,t);return n&&null!=We(this._lContainer[8],t)?new jo(n):null}_adjustIndex(e,t=0){return null==e?this.length+t:e}allocateContainerIfNeeded(){null===this._lContainer[8]&&(this._lContainer[8]=[])}});const s=r[n.index];if(dt(s))o=s;else{let e;if(3===n.type)e=St(s);else if(e=r[11].createComment(""),_t(r)){const t=r[11],o=Bt(n,r);xo(t,Io(t,o),e,function(e,t){return Tt(e)?e.nextSibling(t):t.nextSibling}(t,o))}else So(r[1],r,e,n);r[n.index]=o=lo(s,r,e,n),ho(r,o)}return new Lo(o,n,r)}(e,t,$t(),zt())},ai={};class hi extends js{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const t=it(e);return new pi(t,this.ngModule)}}function di(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}const fi=new ke("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>wt});class pi extends Rs{constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=e.selectors.map(Tr).join(","),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return di(this.componentDef.inputs)}get outputs(){return di(this.componentDef.outputs)}create(e,t,n,r){const o=(r=r||this.ngModule)?function(e,t){return{get:(n,r,o)=>{const s=e.get(n,ai,o);return s!==ai||r===ai?s:t.get(n,r,o)}}}(e,r.injector):e,s=o.get(Vs,It),i=o.get(zs,null),u=s.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?function(e,t,n){if(Tt(e))return e.selectRootElement(t,n===Ge.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(u,n,this.componentDef.encapsulation):Hr(l,s.createRenderer(null,this.componentDef),function(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(l)),a=this.componentDef.onPush?576:528,h={components:[],scheduler:wt,clean:_o,playerHandler:null,flags:0},d=Gr(0,null,null,1,0,null,null,null,null,null),f=Mr(null,d,h,a,null,null,s,u,i,o);let p,g;tn(f);try{const e=function(e,t,n,r,o,s){const i=n[1];n[20]=e;const u=Vr(i,0,2,null,null),l=u.mergedAttrs=t.hostAttrs;null!==l&&(rs(u,l,!0),null!==e&&(yn(o,e,l),null!==u.classes&&Po(o,e,u.classes),null!==u.styles&&Ro(o,e,u.styles)));const c=r.createRenderer(e,t),a=Mr(n,qr(t),null,t.onPush?64:16,n[20],u,r,c,null,null);return i.firstCreatePass&&(Bn(kn(u,n),i,t.type),to(i,u),ro(u,n.length,1)),ho(n,a),n[20]=a}(c,this.componentDef,f,s,u);if(c)if(n)yn(u,c,["ng-version",$s.full]);else{const{attrs:e,classes:t}=function(e){const t=[],n=[];let r=1,o=2;for(;r<e.length;){let s=e[r];if("string"==typeof s)2===o?""!==s&&t.push(s,e[++r]):8===o&&n.push(s);else{if(!Ar(o))break;o=s}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);e&&yn(u,c,e),t&&t.length>0&&Po(u,c,t.join(" "))}if(g=Ot(d,0),void 0!==t){const e=g.projection=[];for(let n=0;n<this.ngContentSelectors.length;n++){const r=t[n];e.push(null!=r?Array.from(r):null)}}p=function(e,t,n,r,o){const s=n[1],i=function(e,t,n){const r=$t();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),eo(e,r,1),oo(e,t,n));const o=Pn(t,e,t.length-1,r);yr(o,t);const s=Bt(r,t);return s&&yr(s,t),o}(s,n,t);r.components.push(i),e[8]=i,o&&o.forEach(e=>e(i,t)),t.contentQueries&&t.contentQueries(1,i,n.length-1);const u=$t();if(s.firstCreatePass&&(null!==t.hostBindings||null!==t.hostAttrs)){cn(u.index-ct);const e=n[1];Yr(e,t),Kr(e,n,t.hostVars),Xr(t,i)}return i}(e,this.componentDef,f,h,[os]),Lr(d,f,null)}finally{un()}return new gi(this.componentType,p,zo(Hs,g,f),f,g)}}class gi extends class{}{constructor(e,t,n,r,o){super(),this.location=n,this._rootLView=r,this._tNode=o,this.destroyCbs=[],this.instance=t,this.hostView=this.changeDetectorRef=new Ho(r),this.componentType=e}get injector(){return new Mn(this._tNode,this._rootLView)}destroy(){this.destroyCbs&&(this.destroyCbs.forEach(e=>e()),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}onDestroy(e){this.destroyCbs&&this.destroyCbs.push(e)}}const mi=new Map;class _i extends Ze{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new hi(this);const n=lt(e),r=e[Ae]||null;r&&Ns(r),this._bootstrapComponents=bt(n.bootstrap),this._r3Injector=Qo(e,t,[{provide:Ze,useValue:this},{provide:js,useValue:this.componentFactoryResolver}],he(e)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(e)}get(e,t=ns.THROW_IF_NOT_FOUND,n=X.Default){return e===ns||e===Ze||e===Te?this:this._r3Injector.get(e,t,n)}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class yi extends class{}{constructor(e){super(),this.moduleType=e,null!==lt(e)&&function(e){const t=new Set;!function e(n){const r=lt(n,!0),o=r.id;null!==o&&(function(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${he(t)} vs ${he(t.name)}`)}(o,mi.get(o),n),mi.set(o,n));const s=bt(r.imports);for(const i of s)t.has(i)||(t.add(i),e(i))}(e)}(e)}create(e){return new _i(this.moduleType,e)}}function Di(e,t){const n=Zt();let r;const o=e+ct;n.firstCreatePass?(r=function(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}throw new Error(`The pipe '${e}' could not be found!`)}(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(o,r.onDestroy)):r=n.data[o];const s=r.factory||(r.factory=ut(r.type)),i=je(ds);try{const t=Fn(!1),r=s();return Fn(t),function(e,t,n,r){const o=n+ct;o>=e.data.length&&(e.data[o]=null,e.blueprint[o]=null),t[o]=r}(n,zt(),e,r),r}finally{je(i)}}function wi(e,t,n){const r=zt(),o=function(e,t){return e[t+ct]}(r,e);return function(e,t){return us.isWrapped(t)&&(t=us.unwrap(t),e[Qt()]=Ir),t}(r,function(e,t){return e[1].data[t+ct].pure}(r,e)?function(e,t,n,r,o,s){const i=t+n;return as(e,i,o)?function(e,t,n){return e[t]=n}(e,i+1,s?r.call(s,o):r(o)):function(e,t){const n=e[t];return n===Ir?void 0:n}(e,i+1)}(r,function(){const e=Vt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}(),t,o.transform,n,o):o.transform(n))}const bi=class extends v{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,n){let r,o=e=>null,s=()=>null;e&&"object"==typeof e?(r=this.__isAsync?t=>{setTimeout(()=>e.next(t))}:t=>{e.next(t)},e.error&&(o=this.__isAsync?t=>{setTimeout(()=>e.error(t))}:t=>{e.error(t)}),e.complete&&(s=this.__isAsync?()=>{setTimeout(()=>e.complete())}:()=>{e.complete()})):(r=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)},t&&(o=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)}),n&&(s=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const i=super.subscribe(r,o,s);return e instanceof h&&e.add(i),i}},Ci=new ke("Application Initializer");let vi=(()=>{class e{constructor(e){this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}runInitializers(){if(this.initialized)return;const e=[],t=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n<this.appInits.length;n++){const t=this.appInits[n]();ys(t)&&e.push(t)}Promise.all(e).then(()=>{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}}return e.\u0275fac=function(t){return new(t||e)(Me(Ci,8))},e.\u0275prov=te({token:e,factory:e.\u0275fac}),e})();const Ei=new ke("AppId"),Ai={provide:Ei,useFactory:function(){return`${Fi()}${Fi()}${Fi()}`},deps:[]};function Fi(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const xi=new ke("Platform Initializer"),ki=new ke("Platform ID"),Ti=new ke("appBootstrapListener");let Ii=(()=>{class e{log(e){console.log(e)}warn(e){console.warn(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=te({token:e,factory:e.\u0275fac}),e})();const Si=new ke("LocaleId"),Bi=new ke("DefaultCurrencyCode");class Oi{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}const Ni=function(e){return new yi(e)},Ri=Ni,Pi=function(e){return Promise.resolve(Ni(e))},ji=function(e){const t=Ni(e),n=bt(lt(e).declarations).reduce((e,t)=>{const n=it(t);return n&&e.push(new pi(n)),e},[]);return new Oi(t,n)},Hi=ji,Mi=function(e){return Promise.resolve(ji(e))};let Vi=(()=>{class e{constructor(){this.compileModuleSync=Ri,this.compileModuleAsync=Pi,this.compileModuleAndAllComponentsSync=Hi,this.compileModuleAndAllComponentsAsync=Mi}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=te({token:e,factory:e.\u0275fac}),e})();const Li=(()=>Promise.resolve(0))();function zi(e){"undefined"==typeof Zone?Li.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Zi{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new bi(!1),this.onMicrotaskEmpty=new bi(!1),this.onStable=new bi(!1),this.onError=new bi(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const n=this;n._nesting=0,n._outer=n._inner=Zone.current,Zone.wtfZoneSpec&&(n._inner=n._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(n._inner=n._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(n._inner=n._inner.fork(Zone.longStackTraceZoneSpec)),n.shouldCoalesceEventChangeDetection=t,n.lastRequestAnimationFrameId=-1,n.nativeRequestAnimationFrame=function(){let e=we.requestAnimationFrame,t=we.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=!!e.shouldCoalesceEventChangeDetection&&e.nativeRequestAnimationFrame&&(()=>{!function(e){-1===e.lastRequestAnimationFrameId&&(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(we,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,qi(e),Wi(e)},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),qi(e))}(e)});e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:t},onInvokeTask:(n,r,o,s,i,u)=>{try{return Gi(e),n.invokeTask(o,s,i,u)}finally{t&&"eventTask"===s.type&&t(),Qi(e)}},onInvoke:(t,n,r,o,s,i,u)=>{try{return Gi(e),t.invoke(r,o,s,i,u)}finally{Qi(e)}},onHasTask:(t,n,r,o)=>{t.hasTask(r,o),n===r&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,qi(e),Wi(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(t,n,r,o)=>(t.handleError(r,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(n)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Zi.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Zi.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,t,n){return this._inner.run(e,t,n)}runTask(e,t,n,r){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,e,Ui,$i,$i);try{return o.runTask(s,t,n)}finally{o.cancelTask(s)}}runGuarded(e,t,n){return this._inner.runGuarded(e,t,n)}runOutsideAngular(e){return this._outer.run(e)}}function $i(){}const Ui={};function Wi(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 qi(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||e.shouldCoalesceEventChangeDetection&&-1!==e.lastRequestAnimationFrameId)}function Gi(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Qi(e){e._nesting--,Wi(e)}class Ji{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new bi,this.onMicrotaskEmpty=new bi,this.onStable=new bi,this.onError=new bi}run(e,t,n){return e.apply(t,n)}runGuarded(e,t,n){return e.apply(t,n)}runOutsideAngular(e){return e()}runTask(e,t,n,r){return e.apply(t,n)}}let Yi=(()=>{class e{constructor(e){this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Zi.assertNotInAngularZone(),zi(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())zi(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(t=>!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,t,n){let r=-1;t&&t>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(e=>e.timeoutId!==r),e(this._didWork,this.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:n})}whenStable(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(e,t,n){return[]}}return e.\u0275fac=function(t){return new(t||e)(Me(Zi))},e.\u0275prov=te({token:e,factory:e.\u0275fac}),e})(),Ki=(()=>{class e{constructor(){this._applications=new Map,tu.addToWindow(this)}registerApplication(e,t){this._applications.set(e,t)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,t=!0){return tu.findTestabilityInTree(this,e,t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=te({token:e,factory:e.\u0275fac}),e})();class Xi{addToWindow(e){}findTestabilityInTree(e,t,n){return null}}let eu,tu=new Xi;const nu=new ke("AllowMultipleToken");function ru(e,t,n=[]){const r="Platform: "+t,o=new ke(r);return(t=[])=>{let s=ou();if(!s||s.injector.get(nu,!1))if(e)e(n.concat(t).concat({provide:o,useValue:!0}));else{const e=n.concat(t).concat({provide:o,useValue:!0},{provide:Zo,useValue:"platform"});!function(e){if(eu&&!eu.destroyed&&!eu.injector.get(nu,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");eu=e.get(su);const t=e.get(xi,null);t&&t.forEach(e=>e())}(ns.create({providers:e,name:r}))}return function(e){const t=ou();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(o)}}function ou(){return eu&&!eu.destroyed?eu:null}let su=(()=>{class e{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,t){const n=function(e,t){let n;return n="noop"===e?new Ji:("zone.js"===e?void 0:e)||new Zi({enableLongStackTrace:qn(),shouldCoalesceEventChangeDetection:t}),n}(t?t.ngZone:void 0,t&&t.ngZoneEventCoalescing||!1),r=[{provide:Zi,useValue:n}];return n.run(()=>{const t=ns.create({providers:r,parent:this.injector,name:e.moduleType.name}),o=e.create(t),s=o.injector.get(Zn,null);if(!s)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return o.onDestroy(()=>lu(this._modules,o)),n.runOutsideAngular(()=>n.onError.subscribe({next:e=>{s.handleError(e)}})),function(e,t,n){try{const r=n();return ys(r)?r.catch(n=>{throw t.runOutsideAngular(()=>e.handleError(n)),n}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(s,n,()=>{const e=o.injector.get(vi);return e.runInitializers(),e.donePromise.then(()=>(Ns(o.injector.get(Si,Bs)||Bs),this._moduleDoBootstrap(o),o))})})}bootstrapModule(e,t=[]){const n=iu({},t);return function(e,t,n){const r=new yi(n);return Promise.resolve(r)}(0,0,e).then(e=>this.bootstrapModuleFactory(e,n))}_moduleDoBootstrap(e){const t=e.injector.get(uu);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>t.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${he(e.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);e.instance.ngDoBootstrap(t)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(e=>e.destroy()),this._destroyListeners.forEach(e=>e()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(t){return new(t||e)(Me(ns))},e.\u0275prov=te({token:e,factory:e.\u0275fac}),e})();function iu(e,t){return Array.isArray(t)?t.reduce(iu,e):Object.assign(Object.assign({},e),t)}let uu=(()=>{class e{constructor(e,t,n,r,o,s){this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=o,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=qn(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const i=new y(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),u=new y(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{Zi.assertNotInAngularZone(),zi(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{Zi.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{e.next(!1)}))});return()=>{t.unsubscribe(),n.unsubscribe()}});this.isStable=function(...e){let t=Number.POSITIVE_INFINITY,n=null,r=e[e.length-1];return(o=r)&&"function"==typeof o.schedule?(n=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof r&&(t=e.pop()),null===n&&1===e.length&&e[0]instanceof y?e[0]:function(e=Number.POSITIVE_INFINITY){return P(_,e)}(t)(function(e,t){return t?O(e,t):new y(x(e))}(e,n));var o}(i,u.pipe(e=>{return M()((t=U,function(e){let n;n="function"==typeof t?t:function(){return t};const r=Object.create(e,Z);return r.source=e,r.subjectFactory=n,r})(e));var t}))}bootstrap(e,t){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=e instanceof Rs?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);const r=n.isBoundToModule?void 0:this._injector.get(Ze),o=n.create(ns.NULL,[],t||n.selector,r);o.onDestroy(()=>{this._unloadComponent(o)});const s=o.injector.get(Yi,null);return s&&o.injector.get(Ki).registerApplication(o.location.nativeElement,s),this._loadComponent(o),qn()&&this._console.log("Angular is running in development mode. Call enableProdMode() to enable production mode."),o}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let e of this._views)e.detectChanges();if(this._enforceNoNewChanges)for(let e of this._views)e.checkNoChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;lu(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Ti,[]).concat(this._bootstrapListeners).forEach(t=>t(e))}_unloadComponent(e){this.detachView(e.hostView),lu(this.components,e)}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy())}get viewCount(){return this._views.length}}return e.\u0275fac=function(t){return new(t||e)(Me(Zi),Me(Ii),Me(ns),Me(Zn),Me(js),Me(vi))},e.\u0275prov=te({token:e,factory:e.\u0275fac}),e})();function lu(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const cu=ru(null,"core",[{provide:ki,useValue:"unknown"},{provide:su,deps:[ns]},{provide:Ki,deps:[]},{provide:Ii,deps:[]}]),au=[{provide:uu,useClass:uu,deps:[Zi,Ii,ns,Zn,js,vi]},{provide:fi,deps:[Zi],useFactory:function(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(e){t.push(e)}}},{provide:vi,useClass:vi,deps:[[new J,Ci]]},{provide:Vi,useClass:Vi,deps:[]},Ai,{provide:ti,useFactory:function(){return oi},deps:[]},{provide:ni,useFactory:function(){return si},deps:[]},{provide:Si,useFactory:function(e){return Ns(e=e||"undefined"!=typeof $localize&&$localize.locale||Bs),e},deps:[[new Q(Si),new J,new K]]},{provide:Bi,useValue:"USD"}];let hu=(()=>{class e{constructor(e){}}return e.\u0275mod=nt({type:e}),e.\u0275inj=ne({factory:function(t){return new(t||e)(Me(uu))},providers:au}),e})(),du=null;function fu(){return du}const pu=new ke("DocumentToken");var gu=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}({});class mu{}let _u=(()=>{class e extends mu{constructor(e){super(),this.locale=e}getPluralCategory(e,t){switch(function(e){return function(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Is(t);if(n)return n;const r=t.split("-")[0];if(n=Is(r),n)return n;if("en"===r)return ks;throw new Error(`Missing locale data for the locale "${e}".`)}(e)[Ss.PluralCase]}(t||this.locale)(e)){case gu.Zero:return"zero";case gu.One:return"one";case gu.Two:return"two";case gu.Few:return"few";case gu.Many:return"many";default:return"other"}}}return e.\u0275fac=function(t){return new(t||e)(Me(Si))},e.\u0275prov=te({token:e,factory:e.\u0275fac}),e})(),yu=(()=>{class e{constructor(e,t){this._viewContainer=e,this._context=new Du,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=t}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){wu("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){wu("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,t){return!0}}return e.\u0275fac=function(t){return new(t||e)(ds(li),ds(ii))},e.\u0275dir=ot({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),e})();class Du{constructor(){this.$implicit=null,this.ngIf=null}}function wu(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${he(t)}'.`)}const bu=/(?:[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D])\S*/g;let Cu=(()=>{class e{transform(t){if(!t)return t;if("string"!=typeof t)throw function(e,t){return Error(`InvalidPipeArgument: '${t}' for pipe '${he(e)}'`)}(e,t);return t.replace(bu,e=>e[0].toUpperCase()+e.substr(1).toLowerCase())}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=st({name:"titlecase",type:e,pure:!0}),e})(),vu=(()=>{class e{}return e.\u0275mod=nt({type:e}),e.\u0275inj=ne({factory:function(t){return new(t||e)},providers:[{provide:mu,useClass:_u}]}),e})();class Eu extends class extends class{}{constructor(){super()}supportsDOMEvents(){return!0}}{static makeCurrent(){var e;e=new Eu,du||(du=e)}getProperty(e,t){return e[t]}log(e){window.console&&window.console.log&&window.console.log(e)}logGroup(e){window.console&&window.console.group&&window.console.group(e)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(e,t,n){return e.addEventListener(t,n,!1),()=>{e.removeEventListener(t,n,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){return e.parentNode&&e.parentNode.removeChild(e),e}getValue(e){return e.value}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(e){const t=Fu||(Fu=document.querySelector("base"),Fu)?Fu.getAttribute("href"):null;return null==t?null:(n=t,Au||(Au=document.createElement("a")),Au.setAttribute("href",n),"/"===Au.pathname.charAt(0)?Au.pathname:"/"+Au.pathname);var n}resetBaseElement(){Fu=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(e){return function(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const e=n.indexOf("="),[r,o]=-1==e?[n,""]:[n.slice(0,e),n.slice(e+1)];if(r.trim()===t)return decodeURIComponent(o)}return null}(document.cookie,e)}}let Au,Fu=null;const xu=new ke("TRANSITION_ID"),ku=[{provide:Ci,useFactory:function(e,t,n){return()=>{n.get(vi).donePromise.then(()=>{const n=fu();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter(t=>t.getAttribute("ng-transition")===e).forEach(e=>n.remove(e))})}},deps:[xu,pu,ns],multi:!0}];class Tu{static init(){var e;e=new Tu,tu=e}addToWindow(e){we.getAngularTestability=(t,n=!0)=>{const r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},we.getAllAngularTestabilities=()=>e.getAllTestabilities(),we.getAllAngularRootElements=()=>e.getAllRootElements(),we.frameworkStabilizers||(we.frameworkStabilizers=[]),we.frameworkStabilizers.push(e=>{const t=we.getAllAngularTestabilities();let n=t.length,r=!1;const o=function(t){r=r||t,n--,0==n&&e(r)};t.forEach((function(e){e.whenStable(o)}))})}findTestabilityInTree(e,t,n){if(null==t)return null;const r=e.getTestability(t);return null!=r?r:n?fu().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}const Iu=new ke("EventManagerPlugins");let Su=(()=>{class e{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(e=>e.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}addGlobalEventListener(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const n=this._plugins;for(let r=0;r<n.length;r++){const t=n[r];if(t.supports(e))return this._eventNameToPlugin.set(e,t),t}throw new Error("No event manager plugin found for event "+e)}}return e.\u0275fac=function(t){return new(t||e)(Me(Iu),Me(Zi))},e.\u0275prov=te({token:e,factory:e.\u0275fac}),e})();class Bu{constructor(e){this._doc=e}addGlobalEventListener(e,t,n){const r=fu().getGlobalEventTarget(this._doc,e);if(!r)throw new Error(`Unsupported event target ${r} for event ${t}`);return this.addEventListener(r,t,n)}}let Ou=(()=>{class e{constructor(){this._stylesSet=new Set}addStyles(e){const t=new Set;e.forEach(e=>{this._stylesSet.has(e)||(this._stylesSet.add(e),t.add(e))}),this.onStylesAdded(t)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=te({token:e,factory:e.\u0275fac}),e})(),Nu=(()=>{class e extends Ou{constructor(e){super(),this._doc=e,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(e.head)}_addStylesToHost(e,t){e.forEach(e=>{const n=this._doc.createElement("style");n.textContent=e,this._styleNodes.add(t.appendChild(n))})}addHost(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)}removeHost(e){this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach(t=>this._addStylesToHost(e,t))}ngOnDestroy(){this._styleNodes.forEach(e=>fu().remove(e))}}return e.\u0275fac=function(t){return new(t||e)(Me(pu))},e.\u0275prov=te({token:e,factory:e.\u0275fac}),e})();const Ru={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},Pu=/%COMP%/g;function ju(e,t,n){for(let r=0;r<t.length;r++){let o=t[r];Array.isArray(o)?ju(e,o,n):(o=o.replace(Pu,e),n.push(o))}return n}function Hu(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let Mu=(()=>{class e{constructor(e,t,n){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new Vu(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case Ge.Emulated:{let n=this.rendererByCompId.get(t.id);return n||(n=new Lu(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n}case Ge.Native:case Ge.ShadowDom:return new zu(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const e=ju(t.id,t.styles,[]);this.sharedStylesHost.addStyles(e),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(t){return new(t||e)(Me(Su),Me(Nu),Me(Ei))},e.\u0275prov=te({token:e,factory:e.\u0275fac}),e})();class Vu{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,t){return t?document.createElementNS(Ru[t]||t,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,t){e.appendChild(t)}insertBefore(e,t,n){e&&e.insertBefore(t,n)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error(`The selector "${e}" did not match any elements`);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,r){if(r){t=r+":"+t;const o=Ru[r];o?e.setAttributeNS(o,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const r=Ru[n];r?e.removeAttributeNS(r,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,r){r&Ls.DashCase?e.style.setProperty(t,n,r&Ls.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&Ls.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){e[t]=n}setValue(e,t){e.nodeValue=t}listen(e,t,n){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,Hu(n)):this.eventManager.addEventListener(e,t,Hu(n))}}class Lu extends Vu{constructor(e,t,n,r){super(e),this.component=n;const o=ju(r+"-"+n.id,n.styles,[]);t.addStyles(o),this.contentAttr="_ngcontent-%COMP%".replace(Pu,r+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(Pu,r+"-"+n.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,t){const n=super.createElement(e,t);return super.setAttribute(n,this.contentAttr,""),n}}class zu extends Vu{constructor(e,t,n,r){super(e),this.sharedStylesHost=t,this.hostEl=n,this.component=r,this.shadowRoot=r.encapsulation===Ge.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const o=ju(r.id,r.styles,[]);for(let s=0;s<o.length;s++){const e=document.createElement("style");e.textContent=o[s],this.shadowRoot.appendChild(e)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,n){return super.insertBefore(this.nodeOrShadowRoot(e),t,n)}removeChild(e,t){return super.removeChild(this.nodeOrShadowRoot(e),t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}}let Zu=(()=>{class e extends Bu{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,n){return e.addEventListener(t,n,!1),()=>this.removeEventListener(e,t,n)}removeEventListener(e,t,n){return e.removeEventListener(t,n)}}return e.\u0275fac=function(t){return new(t||e)(Me(pu))},e.\u0275prov=te({token:e,factory:e.\u0275fac}),e})();const $u=["alt","control","meta","shift"],Uu={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Wu={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},qu={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let Gu=(()=>{class e extends Bu{constructor(e){super(e)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,n,r){const o=e.parseEventName(n),s=e.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>fu().onAndCancel(t,o.domEventName,s))}static parseEventName(t){const n=t.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const o=e._normalizeKey(n.pop());let s="";if($u.forEach(e=>{const t=n.indexOf(e);t>-1&&(n.splice(t,1),s+=e+".")}),s+=o,0!=n.length||0===o.length)return null;const i={};return i.domEventName=r,i.fullKey=s,i}static getEventFullKey(e){let t="",n=function(e){let t=e.key;if(null==t){if(t=e.keyIdentifier,null==t)return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&Wu.hasOwnProperty(t)&&(t=Wu[t]))}return Uu[t]||t}(e);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),$u.forEach(r=>{r!=n&&(0,qu[r])(e)&&(t+=r+".")}),t+=n,t}static eventCallback(t,n,r){return o=>{e.getEventFullKey(o)===t&&r.runGuarded(()=>n(o))}}static _normalizeKey(e){switch(e){case"esc":return"escape";default:return e}}}return e.\u0275fac=function(t){return new(t||e)(Me(pu))},e.\u0275prov=te({token:e,factory:e.\u0275fac}),e})();const Qu=ru(cu,"browser",[{provide:ki,useValue:"browser"},{provide:xi,useValue:function(){Eu.makeCurrent(),Tu.init()},multi:!0},{provide:pu,useFactory:function(){return function(e){xt=e}(document),document},deps:[]}]),Ju=[[],{provide:Zo,useValue:"root"},{provide:Zn,useFactory:function(){return new Zn},deps:[]},{provide:Iu,useClass:Zu,multi:!0,deps:[pu,Zi,ki]},{provide:Iu,useClass:Gu,multi:!0,deps:[pu]},[],{provide:Mu,useClass:Mu,deps:[Su,Nu,Ei]},{provide:Vs,useExisting:Mu},{provide:Ou,useExisting:Nu},{provide:Nu,useClass:Nu,deps:[pu]},{provide:Yi,useClass:Yi,deps:[Zi]},{provide:Su,useClass:Su,deps:[Iu,Zi]},[]];let Yu=(()=>{class e{constructor(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(t){return{ngModule:e,providers:[{provide:Ei,useValue:t.appId},{provide:xu,useExisting:Ei},ku]}}}return e.\u0275mod=nt({type:e}),e.\u0275inj=ne({factory:function(t){return new(t||e)(Me(e,12))},providers:Ju,imports:[vu,hu]}),e})();function Ku(e,t,n,r){return new(n||(n=Promise))((function(o,s){function i(e){try{l(r.next(e))}catch(t){s(t)}}function u(e){try{l(r.throw(e))}catch(t){s(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,u)}l((r=r.apply(e,t||[])).next())}))}"undefined"!=typeof window&&window,n("jim7");const Xu=new ke("JWT_OPTIONS");let el=(()=>{class e{constructor(e=null){this.tokenGetter=e&&e.tokenGetter||function(){}}urlBase64Decode(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("Illegal base64url string!")}return this.b64DecodeUnicode(t)}b64decode(e){let t="";if((e=String(e).replace(/=+$/,"")).length%4==1)throw new Error("'atob' failed: The string to be decoded is not correctly encoded.");for(let n,r,o=0,s=0;r=e.charAt(s++);~r&&(n=o%4?64*n+r:r,o++%4)?t+=String.fromCharCode(255&n>>(-2*o&6)):0)r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);return t}b64DecodeUnicode(e){return decodeURIComponent(Array.prototype.map.call(this.b64decode(e),e=>"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)).join(""))}decodeToken(e=this.tokenGetter()){if(!e||""===e)return null;const t=e.split(".");if(3!==t.length)throw new Error("The inspected token doesn't appear to be a JWT. Check to make sure it has three parts and see https://jwt.io for more.");const n=this.urlBase64Decode(t[1]);if(!n)throw new Error("Cannot decode the token.");return JSON.parse(n)}getTokenExpirationDate(e=this.tokenGetter()){let t;if(t=this.decodeToken(e),!t||!t.hasOwnProperty("exp"))return null;const n=new Date(0);return n.setUTCSeconds(t.exp),n}isTokenExpired(e=this.tokenGetter(),t){if(!e||""===e)return!0;const n=this.getTokenExpirationDate(e);return t=t||0,null!==n&&!(n.valueOf()>(new Date).valueOf()+1e3*t)}getAuthScheme(e,t){return"function"==typeof e?e(t):e}}return e.\u0275fac=function(t){return new(t||e)(Me(Xu))},e.\u0275prov=te({token:e,factory:e.\u0275fac}),e})(),tl=(()=>{class e{constructor(){this.ready=!1,window.homebridge.i18nGetTranslation().then(e=>{this.translations=e,this.ready=!0})}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=te({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),nl=(()=>{class e{constructor(e){this.translateService=e}transform(e){return this.translateService.translations[e]}}return e.\u0275fac=function(t){return new(t||e)(ds(tl))},e.\u0275pipe=st({name:"translate",type:e,pure:!0}),e})();function rl(e,t){1&e&&(gs(0,"div"),gs(1,"div",3),_s(2,"p",4),Di(3,"translate"),gs(4,"p",5),gs(5,"span"),vs(6),Di(7,"translate"),ms(),gs(8,"a",6),vs(9," https://github.com/oznu/homebridge-config-ui-x/wiki/Enabling-Accessory-Control "),ms(),gs(10,"span"),vs(11),Di(12,"translate"),ms(),ms(),ms(),ms()),2&e&&(Rr(2),fs("innerHTML",wi(3,3,"accessories.message_must_use_insecure_mode"),_r),Rr(4),Es(wi(7,5,"accessories.message_please_see")),Rr(5),Es(wi(12,7,"accessories.message_for_more_information")))}function ol(e,t){1&e&&_s(0,"p",11)}function sl(e,t){if(1&e){const e=zt();gs(0,"div",12),gs(1,"button",13),Ds("click",(function(){return Vt.lFrame.contextLView=e,Cs(3).linkAccount()})),vs(2),Di(3,"translate"),ms(),ms()}2&e&&(Rr(2),As(" ",wi(3,1,"plugins.settings.custom.homebridge-gsh.label_link_account")," "))}function il(e,t){1&e&&(gs(0,"div",17),gs(1,"p",18),gs(2,"strong"),vs(3),Di(4,"translate"),ms(),ms(),ms()),2&e&&(Rr(3),As(" ",wi(4,1,"plugins.settings.custom.homebridge-gsh.message_homebridge_restart_required")," "))}function ul(e,t){if(1&e&&(gs(0,"div",14),_s(1,"i",15),gs(2,"h4",16),vs(3),Di(4,"titlecase"),Di(5,"translate"),ms(),hs(6,il,5,3,"div",10),ms()),2&e){const e=Cs(3);Rr(3),Fs(" ",wi(4,3,e.linkType)," ",wi(5,5,"plugins.settings.custom.homebridge-gsh.label_account_linked")," "),Rr(3),fs("ngIf",e.justLinked)}}function ll(e,t){1&e&&(gs(0,"div",17),vs(1," Search for "),gs(2,"a",19),vs(3," Homebridge in the Google Home app "),ms(),vs(4," and link the action to complete setup. "),ms())}function cl(e,t){if(1&e&&(gs(0,"div"),_s(1,"p",4),Di(2,"translate"),hs(3,ol,1,0,"p",7),hs(4,sl,4,3,"div",8),hs(5,ul,7,7,"div",9),hs(6,ll,5,0,"div",10),ms()),2&e){const e=Cs(2);Rr(1),fs("innerHTML",wi(2,5,"plugins.settings.custom.homebridge-gsh.message_about"),_r),Rr(2),fs("ngIf",!e.pluginConfig.token),Rr(1),fs("ngIf",!e.pluginConfig.token),Rr(1),fs("ngIf",e.pluginConfig.token),Rr(1),fs("ngIf",e.pluginConfig.token)}}function al(e,t){if(1&e&&(gs(0,"div"),hs(1,rl,13,9,"div",2),hs(2,cl,7,7,"div",2),ms()),2&e){const e=Cs();Rr(1),fs("ngIf",!e.env.enableAccessories),Rr(1),fs("ngIf",e.env.enableAccessories)}}const hl=new el;let dl=(()=>{class e{constructor(e){this.translateService=e,this.linkDomain="https://homebridge-gsh.iot.oz.nu",this.linkUrl=this.linkDomain+"/link-account",this.env=window.homebridge.serverEnv.env,this.justLinked=!1,this.showAdvanced=!1,this.ready=!1,this.windowMessageListener=e=>{if(e.origin===this.linkDomain)try{const t=JSON.parse(e.data);t.token&&this.processToken(t.token)}catch(e){console.error(e)}}}ngOnInit(){return Ku(this,void 0,void 0,(function*(){this.schema=yield window.homebridge.getPluginConfigSchema();const e=yield window.homebridge.getPluginConfig();e.length?(this.pluginConfig=e[0],window.homebridge.showSchemaForm()):this.pluginConfig={name:"Google Smart Home",platform:this.schema.pluginAlias},this.parseToken(),this.ready=!0,window.homebridge.addEventListener("configChanged",e=>{this.pluginConfig=e.data[0]})}))}updateConfig(){return Ku(this,void 0,void 0,(function*(){return window.homebridge.updatePluginConfig([this.pluginConfig])}))}linkAccount(){window.addEventListener("message",this.windowMessageListener,!1);const e=window.top.outerHeight/2+window.top.screenY-350,t=window.top.outerWidth/2+window.top.screenX-225;this.popup=window.open(this.linkUrl,"oznu-google-smart-home-auth","toolbar=no, location=no, directories=no, status=no, menubar=no scrollbars=no, resizable=no, copyhistory=no, width=450, height=700, top="+e+", left="+t),this.originCheckInterval=setInterval(()=>{this.popup.postMessage("origin-check",this.linkDomain)},2e3)}processToken(e){return Ku(this,void 0,void 0,(function*(){clearInterval(this.originCheckInterval),this.popup&&this.popup.close(),this.pluginConfig.token=e,this.pluginConfig.notice="Keep your token a secret!",this.parseToken(),this.justLinked=!0,yield this.updateConfig(),yield window.homebridge.savePluginConfig(),window.homebridge.showSchemaForm()}))}parseToken(){if(this.pluginConfig.token)try{const e=hl.decodeToken(this.pluginConfig.token);this.linkType=e.id.split("|")[0].split("-")[0]}catch(e){window.homebridge.toast.error("Invalid account linking token in config.json",this.translateService.translations["toast.title_error"]),delete this.pluginConfig.token}}ngOnDestroy(){clearInterval(this.originCheckInterval),window.removeEventListener("message",this.windowMessageListener),this.popup&&this.popup.close()}}return e.\u0275fac=function(t){return new(t||e)(ds(tl))},e.\u0275cmp=Ke({type:e,selectors:[["app-root"]],decls:4,vars:1,consts:[[1,"mb-3"],["target","_blank","href","https://github.com/oznu/homebridge-gsh/releases/tag/v2.2.1",1,"text-danger"],[4,"ngIf"],["role","alert",1,"alert","alert-warning"],[3,"innerHTML"],[1,"mb-0"],["target","_blank","rel","noopener noreferrer","href","https://github.com/oznu/homebridge-config-ui-x/wiki/Enabling-Accessory-Control"],["translate","plugins.settings.custom.homebridge-gsh.message_account_link_required",4,"ngIf"],["class","text-center",4,"ngIf"],["class","text-center mt-1",4,"ngIf"],["class","mt-3",4,"ngIf"],["translate","plugins.settings.custom.homebridge-gsh.message_account_link_required"],[1,"text-center"],[1,"btn","btn-primary","btn-lg",3,"click"],[1,"text-center","mt-1"],[1,"fas","fa-check-circle","primary-text",2,"font-size","50px"],[1,"mt-2"],[1,"mt-3"],[1,"primary-text"],["target","_blank","href","https://assistant.google.com/services/a/uid/000000b558f0d5d1?hl=en"]],template:function(e,t){1&e&&(gs(0,"h4",0),gs(1,"a",1),vs(2," Plugin End Of Life - 1st of December 2024. "),ms(),ms(),hs(3,al,3,2,"div",2)),2&e&&(Rr(3),fs("ngIf",t.translateService.ready&&t.ready))},directives:[yu],pipes:[nl,Cu],styles:[""]}),e})(),fl=(()=>{class e{}return e.\u0275mod=nt({type:e,bootstrap:[dl]}),e.\u0275inj=ne({factory:function(t){return new(t||e)},providers:[],imports:[[Yu]]}),e})();(function(){if(Wn)throw new Error("Cannot enable prod mode after platform setup.");Un=!1})(),Qu().bootstrapModule(fl).catch(e=>console.error(e))},zn8P:function(e,t){function n(e){return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="zn8P"}},[[0,0]]]);
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "private": false,
3
3
  "name": "homebridge-gsh",
4
4
  "displayName": "Homebridge Google Smart Home",
5
- "version": "2.2.1",
5
+ "version": "2.2.2",
6
6
  "description": "Google Smart Home",
7
7
  "license": "GPL-3.0",
8
8
  "author": "oznu <dev@oz.nu>",
@@ -74,4 +74,4 @@
74
74
  "ts-node": "^9.0.0",
75
75
  "typescript": "^4.0.3"
76
76
  }
77
- }
77
+ }