Free javascript Hosting


main-es2015.js

Uploaded on Jan 27 2022 06:21 by racsojc

(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(e,t,n){e.exports=n("zUnb")},zUnb:function(e,t,n){"use strict";function r(e){return"function"==typeof e}n.r(t);let s=!1;const o={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 s&&console.log("RxJS: Back to a better error behavior. Thank you. <3");s=e},get useDeprecatedSynchronousErrorHandling(){return s}};function i(e){setTimeout(()=>{throw e},0)}const l={closed:!0,next(e){},error(e){if(o.useDeprecatedSynchronousErrorHandling)throw e;i(e)},complete(){}},u=(()=>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._unsubscribe=e)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:n,_unsubscribe:s,_subscriptions:o}=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))try{s.call(this)}catch(i){t=i instanceof a?d(i.errors):[i]}if(u(o)){let e=-1,n=o.length;for(;++e<n;){const n=o[e];if(c(n))try{n.unsubscribe()}catch(i){t=t||[],i instanceof a?t=t.concat(d(i.errors)):t.push(i)}}}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 s=this._subscriptions;return null===s?this._subscriptions=[n]:s.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=l;break;case 1:if(!e){this.destination=l;break}if("object"==typeof e){e instanceof p?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new m(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new m(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 m extends p{constructor(e,t,n,s){let o;super(),this._parentSubscriber=e;let i=this;r(t)?o=t:t&&(o=t.next,n=t.error,s=t.complete,t!==l&&(i=Object.create(t),r(i.unsubscribe)&&this.add(i.unsubscribe.bind(i)),i.unsubscribe=this.unsubscribe.bind(this))),this._context=i,this._next=o,this._error=n,this._complete=s}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;o.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}=o;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);o.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(),o.useDeprecatedSynchronousErrorHandling)throw n;i(n)}}__tryOrSetError(e,t,n){if(!o.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(r){return o.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 y=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")();function g(e){return e}let _=(()=>{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,s=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(l)}(e,t,n);if(s.add(r?r.call(s,this.source):this.source||o.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),o.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(e){try{return this._subscribe(e)}catch(t){o.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=v(t))((t,n)=>{let r;r=this.subscribe(t=>{try{e(t)}catch(s){n(s),r&&r.unsubscribe()}},n,t)})}_subscribe(e){const{source:t}=this;return t&&t.subscribe(e)}[y](){return this}pipe(...e){return 0===e.length?this:(0===(t=e).length?g:1===t.length?t[0]:function(e){return t.reduce((e,t)=>t(e),e)})(this);var t}toPromise(e){return new(e=v(e))((e,t)=>{let n;this.subscribe(e=>n=e,e=>t(e),()=>e(n))})}}return e.create=t=>new e(t),e})();function v(e){if(e||(e=o.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 E=(()=>{class e extends _{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 x(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 s=0;s<n;s++)r[s].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 s=0;s<n;s++)r[s].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 _;return e.source=this,e}}return e.create=(e,t)=>new x(e,t),e})();class x extends E{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 k extends p{constructor(e,t,n){super(),this.parent=e,this.outerValue=t,this.outerIndex=n,this.index=0}_next(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}_error(e){this.parent.notifyError(e,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}const S=e=>t=>{for(let n=0,r=e.length;n<r&&!t.closed;n++)t.next(e[n]);t.complete()};function I(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}const T=I();const A=e=>{if(e&&"function"==typeof e[y])return o=e,e=>{const t=o[y]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if((t=e)&&"number"==typeof t.length&&"function"!=typeof t)return S(e);var t,n,r,s,o;if((n=e)&&"function"!=typeof n.subscribe&&"function"==typeof n.then)return s=e,e=>(s.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,i),e);if(e&&"function"==typeof e[T])return r=e,e=>{const t=r[T]();for(;;){const n=t.next();if(n.done){e.complete();break}if(e.next(n.value),e.closed)break}return"function"==typeof t.return&&e.add(()=>{t.return&&t.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.`)}};class D extends p{notifyNext(e,t,n,r,s){this.destination.next(t)}notifyError(e,t){this.destination.error(e)}notifyComplete(e){this.destination.complete()}}function O(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new N(e,t))}}class N{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new R(e,this.project,this.thisArg))}}class R 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)}}class P{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new j(e,this.project,this.concurrent))}}class j extends D{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,e,n)}_innerSub(e,t,n){const r=new k(this,t,n),s=this.destination;s.add(r);const o=function(e,t,n,r,s=new k(e,n,r)){if(!s.closed)return t instanceof _?t.subscribe(s):A(t)(s)}(this,e,void 0,void 0,r);o!==r&&s.add(o)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(e,t,n,r,s){this.destination.next(t)}notifyComplete(e){const t=this.buffer;this.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function H(...e){let t=Number.POSITIVE_INFINITY,n=null,r=e[e.length-1];var s;return(s=r)&&"function"==typeof s.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 _?e[0]:function(e=Number.POSITIVE_INFINITY){return function e(t,n,r=Number.POSITIVE_INFINITY){return"function"==typeof n?s=>s.pipe(e((e,r)=>{return(s=t(e,r),s instanceof _?s:new _(A(s))).pipe(O((t,s)=>n(e,t,r,s)));var s},r)):("number"==typeof n&&(r=n),e=>e.lift(new P(t,r)))}(g,e)}(t)(function(e,t){return t?function(e,t){return new _(n=>{const r=new h;let s=0;return r.add(t.schedule((function(){s!==e.length?(n.next(e[s++]),n.closed||r.add(this.schedule())):n.complete()}))),r})}(e,t):new _(S(e))}(e,n))}function M(){return function(e){return e.lift(new F(e))}}class F{constructor(e){this.connectable=e}call(e,t){const{connectable:n}=this;n._refCount++;const r=new V(e,n),s=t.subscribe(r);return r.closed||(r.connection=n.connect()),s}}class V 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 L extends _{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 z(this.getSubject(),this))),e.closed&&(this._connection=null,e=h.EMPTY)),e}refCount(){return M()(this)}}const Z=(()=>{const e=L.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 z 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 B(){return new E}function $(e){return{toString:e}.toString()}function U(e,t,n){return $(()=>{const r=function(e){return function(...t){if(e){const n=e(...t);for(const e in n)this[e]=n[e]}}}(t);function s(...e){if(this instanceof s)return r.apply(this,e),this;const t=new s(...e);return n.annotation=t,n;function n(e,n,r){const s=e.hasOwnProperty("__parameters__")?e.__parameters__:Object.defineProperty(e,"__parameters__",{value:[]}).__parameters__;for(;s.length<=r;)s.push(null);return(s[r]=s[r]||[]).push(t),e}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s})}const W=U("Inject",e=>({token:e})),q=U("Optional"),Q=U("Self"),G=U("SkipSelf");var J=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 K(e){for(let t in e)if(e[t]===K)return t;throw Error("Could not find renamed property on target object.")}function Y(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function X(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}function ee(e){return te(e,e[re])||te(e,e[ie])}function te(e,t){return t&&t.token===e?t:null}function ne(e){return e&&(e.hasOwnProperty(se)||e.hasOwnProperty(le))?e[se]:null}const re=K({"\u0275prov":K}),se=K({"\u0275inj":K}),oe=K({"\u0275provFallback":K}),ie=K({ngInjectableDef:K}),le=K({ngInjectorDef:K});function ue(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ue).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 ce(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const ae=K({__forward_ref__:K});function he(e){return e.__forward_ref__=he,e.toString=function(){return ue(this())},e}function de(e){return"function"==typeof(t=e)&&t.hasOwnProperty(ae)&&t.__forward_ref__===he?e():e;var t}const fe="undefined"!=typeof globalThis&&globalThis,pe="undefined"!=typeof window&&window,me="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,ye="undefined"!=typeof global&&global,ge=fe||ye||pe||me,_e=K({"\u0275cmp":K}),ve=K({"\u0275dir":K}),we=K({"\u0275pipe":K}),be=K({"\u0275mod":K}),Ce=K({"\u0275loc":K}),Ee=K({"\u0275fac":K}),xe=K({__NG_ELEMENT_ID__:K});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=Y({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return"InjectionToken "+this._desc}}const Se=new ke("INJECTOR",-1),Ie={},Te=/\n/gm,Ae=K({provide:String,useValue:K});let De,Oe=void 0;function Ne(e){const t=Oe;return Oe=e,t}function Re(e){const t=De;return De=e,t}function Pe(e,t=J.Default){if(void 0===Oe)throw new Error("inject() must be called from an injection context");return null===Oe?He(e,void 0,t):Oe.get(e,t&J.Optional?null:void 0,t)}function je(e,t=J.Default){return(De||Pe)(de(e),t)}function He(e,t,n){const r=ee(e);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&J.Optional)return null;if(void 0!==t)return t;throw new Error(`Injector: NOT_FOUND [${ue(e)}]`)}function Me(e){const t=[];for(let n=0;n<e.length;n++){const r=de(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let e=void 0,n=J.Default;for(let t=0;t<r.length;t++){const s=r[t];s instanceof q||"Optional"===s.ngMetadataName||s===q?n|=J.Optional:s instanceof G||"SkipSelf"===s.ngMetadataName||s===G?n|=J.SkipSelf:s instanceof Q||"Self"===s.ngMetadataName||s===Q?n|=J.Self:e=s instanceof W||s===W?s.token:s}t.push(je(e,n))}else t.push(je(r))}return t}class Fe{get(e,t=Ie){if(t===Ie){const t=new Error(`NullInjectorError: No provider for ${ue(e)}!`);throw t.name="NullInjectorError",t}return t}}class Ve{}function Le(e,t){e.forEach(e=>Array.isArray(e)?Le(e,t):t(e))}const Ze=function(){var e={OnPush:0,Default:1};return e[e.OnPush]="OnPush",e[e.Default]="Default",e}(),ze=function(){var e={Emulated:0,Native:1,None:2,ShadowDom:3};return e[e.Emulated]="Emulated",e[e.Native]="Native",e[e.None]="None",e[e.ShadowDom]="ShadowDom",e}(),Be={},$e=[];let Ue=0;function We(e){return Ke(e)||function(e){return e[ve]||null}(e)}function qe(e){return function(e){return e[we]||null}(e)}const Qe={};function Ge(e){const t={type:e.type,bootstrap:e.bootstrap||$e,declarations:e.declarations||$e,imports:e.imports||$e,exports:e.exports||$e,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&$(()=>{Qe[e.id]=e.type}),t}function Je(e,t){if(null==e)return Be;const n={};for(const r in e)if(e.hasOwnProperty(r)){let s=e[r],o=s;Array.isArray(s)&&(o=s[1],s=s[0]),n[s]=r,t&&(t[s]=o)}return n}function Ke(e){return e[_e]||null}function Ye(e,t){return e.hasOwnProperty(Ee)?e[Ee]:null}function Xe(e,t){const n=e[be]||null;if(!n&&!0===t)throw new Error(`Type ${ue(e)} does not have '\u0275mod' property.`);return n}function et(e){return Array.isArray(e)&&"object"==typeof e[1]}function tt(e){return Array.isArray(e)&&!0===e[1]}function nt(e){return 0!=(8&e.flags)}function rt(e){return null!==e.template}let st=void 0;function ot(e){return!!e.listen}const it={createRenderer:(e,t)=>void 0!==st?st:"undefined"!=typeof document?document:void 0};function lt(e){for(;Array.isArray(e);)e=e[0];return e}function ut(e,t){return lt(t[e.index])}function ct(e,t){const n=t[e];return et(n)?n:n[0]}function at(e){const t=function(e){return e.__ngContext__||null}(e);return t?Array.isArray(t)?t:t.lView:null}function ht(e){return 128==(128&e[2])}function dt(e,t){return null===e||null==t?null:e[t]}function ft(e){e[18]=0}function pt(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 mt={lFrame:Dt(null),bindingsEnabled:!0,checkNoChangesMode:!1};function yt(){return mt.bindingsEnabled}function gt(){return mt.lFrame.lView}function _t(){return mt.lFrame.tView}function vt(){return mt.lFrame.previousOrParentTNode}function wt(e,t){mt.lFrame.previousOrParentTNode=e,mt.lFrame.isParent=t}function bt(){return mt.lFrame.isParent}function Ct(){return mt.checkNoChangesMode}function Et(e){mt.checkNoChangesMode=e}function xt(e,t){const n=mt.lFrame;n.bindingIndex=n.bindingRootIndex=e,kt(t)}function kt(e){mt.lFrame.currentDirectiveIndex=e}function St(e){mt.lFrame.currentQueryIndex=e}function It(e,t){const n=At();mt.lFrame=n,n.previousOrParentTNode=t,n.lView=e}function Tt(e,t){const n=At(),r=e[1];mt.lFrame=n,n.previousOrParentTNode=t,n.lView=e,n.tView=r,n.contextLView=e,n.bindingIndex=r.bindingStartIndex}function At(){const e=mt.lFrame,t=null===e?null:e.child;return null===t?Dt(e):t}function Dt(e){const t={previousOrParentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentSanitizer:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null};return null!==e&&(e.child=t),t}function Ot(){const e=mt.lFrame;return mt.lFrame=e.parent,e.previousOrParentTNode=null,e.lView=null,e}const Nt=Ot;function Rt(){const e=Ot();e.isParent=!0,e.tView=null,e.selectedIndex=0,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.currentSanitizer=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Pt(){return mt.lFrame.selectedIndex}function jt(e){mt.lFrame.selectedIndex=e}function Ht(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const t=e.data[n];t.afterContentInit&&(e.contentHooks||(e.contentHooks=[])).push(-n,t.afterContentInit),t.afterContentChecked&&((e.contentHooks||(e.contentHooks=[])).push(n,t.afterContentChecked),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,t.afterContentChecked)),t.afterViewInit&&(e.viewHooks||(e.viewHooks=[])).push(-n,t.afterViewInit),t.afterViewChecked&&((e.viewHooks||(e.viewHooks=[])).push(n,t.afterViewChecked),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,t.afterViewChecked)),null!=t.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(n,t.onDestroy)}}function Mt(e,t,n){Lt(e,t,3,n)}function Ft(e,t,n,r){(3&e[2])===n&&Lt(e,t,n,r)}function Vt(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Lt(e,t,n,r){const s=null!=r?r:-1;let o=0;for(let i=void 0!==r?65535&e[18]:0;i<t.length;i++)if("number"==typeof t[i+1]){if(o=t[i],null!=r&&o>=r)break}else t[i]<0&&(e[18]+=65536),(o<s||-1==s)&&(Zt(e,n,t,i),e[18]=(4294901760&e[18])+i+2),i++}function Zt(e,t,n,r){const s=n[r]<0,o=n[r+1],i=e[s?-n[r]:n[r]];s?e[2]>>11<e[18]>>16&&(3&e[2])===t&&(e[2]+=2048,o.call(i)):o.call(i)}class zt{constructor(e,t,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=n}}function Bt(e,t,n){const r=ot(e);let s=0;for(;s<n.length;){const o=n[s];if("number"==typeof o){if(0!==o)break;s++;const i=n[s++],l=n[s++],u=n[s++];r?e.setAttribute(t,l,u,i):t.setAttributeNS(i,l,u)}else{const i=o,l=n[++s];64===i.charCodeAt(0)?r&&e.setProperty(t,i,l):r?e.setAttribute(t,i,l):t.setAttribute(i,l),s++}}return s}function $t(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 s=t[r];"number"==typeof s?n=s:0===n||Ut(e,n,s,null,-1===n||2===n?t[++r]:null)}}return e}function Ut(e,t,n,r,s){let o=0,i=e.length;if(-1===t)i=-1;else for(;o<e.length;){const n=e[o++];if("number"==typeof n){if(n===t){i=-1;break}if(n>t){i=o-1;break}}}for(;o<e.length;){const t=e[o];if("number"==typeof t)break;if(t===n){if(null===r)return void(null!==s&&(e[o+1]=s));if(r===e[o+1])return void(e[o+2]=s)}o++,null!==r&&o++,null!==s&&o++}-1!==i&&(e.splice(i,0,t),o=i+1),e.splice(o++,0,n),null!==r&&e.splice(o++,0,r),null!==s&&e.splice(o++,0,s)}function Wt(e){return 32767&e}function qt(e,t){let n=e>>16,r=t;for(;n>0;)r=r[15],n--;return r}function Qt(e){return"string"==typeof e?e:null==e?"":""+e}function Gt(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Qt(e)}const Jt=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(ge))();function Kt(e){return e instanceof Function?e():e}let Yt=!0;function Xt(e){const t=Yt;return Yt=e,t}let en=0;function tn(e,t){const n=rn(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,nn(r.data,e),nn(t,null),nn(r.blueprint,null));const s=sn(e,t),o=e.injectorIndex;if(-1!==s){const e=Wt(s),n=qt(s,t),r=n[1].data;for(let s=0;s<8;s++)t[o+s]=n[e+s]|r[e+s]}return t[o+8]=s,o}function nn(e,t){e.push(0,0,0,0,0,0,0,0,t)}function rn(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=t[6],r=1;for(;n&&-1===n.injectorIndex;)n=(t=t[15])?t[6]:null,r++;return n?n.injectorIndex|r<<16:-1}function on(e,t,n){!function(e,t,n){let r="string"!=typeof n?n[xe]:n.charCodeAt(0)||0;null==r&&(r=n[xe]=en++);const s=255&r,o=1<<s,i=64&s,l=32&s,u=t.data;128&s?i?l?u[e+7]|=o:u[e+6]|=o:l?u[e+5]|=o:u[e+4]|=o:i?l?u[e+3]|=o:u[e+2]|=o:l?u[e+1]|=o:u[e]|=o}(e,t,n)}const ln={};function un(e,t,n,r,s,o){const i=t[1],l=i.data[e+8],u=function(e,t,n,r,s){const o=e.providerIndexes,i=t.data,l=65535&o,u=e.directiveStart,c=o>>16,a=s?l+c:e.directiveEnd;for(let h=r?l:l+c;h<a;h++){const e=i[h];if(h<u&&n===e||h>=u&&e.type===n)return h}if(s){const e=i[u];if(e&&rt(e)&&e.type===n)return u}return null}(l,i,n,null==r?function(e){return 2==(2&e.flags)}(l)&&Yt:r!=i&&3===l.type,s&J.Host&&o===l);return null!==u?cn(t,i,u,l):ln}function cn(e,t,n,r){let s=e[n];const o=t.data;if(s instanceof zt){const i=s;if(i.resolving)throw new Error("Circular dep for "+Gt(o[n]));const l=Xt(i.canSeeViewProviders);let u;i.resolving=!0,i.injectImpl&&(u=Re(i.injectImpl)),It(e,r);try{s=e[n]=i.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&function(e,t,n){const{onChanges:r,onInit:s,doCheck:o}=t;r&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,r)),s&&(n.preOrderHooks||(n.preOrderHooks=[])).push(-e,s),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o))}(n,o[n],t)}finally{i.injectImpl&&Re(u),Xt(l),i.resolving=!1,Nt()}}return s}function an(e,t,n){const r=64&e,s=32&e;let o;return o=128&e?r?s?n[t+7]:n[t+6]:s?n[t+5]:n[t+4]:r?s?n[t+3]:n[t+2]:s?n[t+1]:n[t],!!(o&1<<e)}function hn(e,t){return!(e&J.Self||e&J.Host&&t)}class dn{constructor(e,t){this._tNode=e,this._lView=t}get(e,t){return function(e,t,n,r=J.Default,s){if(null!==e){const s=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e[xe];return"number"==typeof t&&t>0?255&t:t}(n);if("function"==typeof s){It(t,e);try{const e=s();if(null!=e||r&J.Optional)return e;throw new Error(`No provider for ${Gt(n)}!`)}finally{Nt()}}else if("number"==typeof s){if(-1===s)return new dn(e,t);let o=null,i=rn(e,t),l=-1,u=r&J.Host?t[16][6]:null;for((-1===i||r&J.SkipSelf)&&(l=-1===i?sn(e,t):t[i+8],hn(r,!1)?(o=t[1],i=Wt(l),t=qt(l,t)):i=-1);-1!==i;){l=t[i+8];const e=t[1];if(an(s,i,e.data)){const e=un(i,t,n,o,r,u);if(e!==ln)return e}hn(r,t[1].data[i+8]===u)&&an(s,i,t)?(o=e,i=Wt(l),t=qt(l,t)):i=-1}}}if(r&J.Optional&&void 0===s&&(s=null),0==(r&(J.Self|J.Host))){const e=t[9],o=Re(void 0);try{return e?e.get(n,s,r&J.Optional):He(n,s,r&J.Optional)}finally{Re(o)}}if(r&J.Optional)return s;throw new Error(`NodeInjector: NOT_FOUND [${Gt(n)}]`)}(this._tNode,this._lView,e,void 0,t)}}function fn(e){return e.ngDebugContext}function pn(e){return e.ngOriginalError}function mn(e,...t){e.error(...t)}class yn{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e.ngErrorLogger||mn}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(e){return e?fn(e)?fn(e):this._findContext(pn(e)):null}_findOriginalError(e){let t=pn(e);for(;t&&pn(t);)t=pn(t);return t}}let gn=!0,_n=!1;function vn(){return _n=!0,gn}function wn(e,t){e.__ngContext__=t}function bn(e){throw new Error("Multiple components match node with tagname "+e.tagName)}function Cn(){throw new Error("Cannot mix multi providers and regular providers")}function En(e,t,n){let r=e.length;for(;;){const s=e.indexOf(t,n);if(-1===s)return s;if(0===s||e.charCodeAt(s-1)<=32){const n=t.length;if(s+n===r||e.charCodeAt(s+n)<=32)return s}n=s+1}}function xn(e,t,n){let r=0;for(;r<e.length;){let s=e[r++];if(n&&"class"===s){if(s=e[r],-1!==En(s.toLowerCase(),t,0))return!0}else if(1===s){for(;r<e.length&&"string"==typeof(s=e[r++]);)if(s.toLowerCase()===t)return!0;return!1}}return!1}function kn(e){return 0===e.type&&"ng-template"!==e.tagName}function Sn(e,t,n){return t===(0!==e.type||n?e.tagName:"ng-template")}function In(e,t,n){let r=4;const s=e.attrs||[],o=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}(s);let i=!1;for(let l=0;l<t.length;l++){const u=t[l];if("number"!=typeof u){if(!i)if(4&r){if(r=2|1&r,""!==u&&!Sn(e,u,n)||""===u&&1===t.length){if(Tn(r))return!1;i=!0}}else{const c=8&r?u:t[++l];if(8&r&&null!==e.attrs){if(!xn(e.attrs,c,n)){if(Tn(r))return!1;i=!0}continue}const a=An(8&r?"class":u,s,kn(e),n);if(-1===a){if(Tn(r))return!1;i=!0;continue}if(""!==c){let e;e=a>o?"":s[a+1].toLowerCase();const t=8&r?e:null;if(t&&-1!==En(t,c,0)||2&r&&c!==e){if(Tn(r))return!1;i=!0}}}}else{if(!i&&!Tn(r)&&!Tn(u))return!1;if(i&&Tn(u))continue;i=!1,r=u|1&r}}return Tn(r)||i}function Tn(e){return 0==(1&e)}function An(e,t,n,r){if(null===t)return-1;let s=0;if(r||!n){let n=!1;for(;s<t.length;){const r=t[s];if(r===e)return s;if(3===r||6===r)n=!0;else{if(1===r||2===r){let e=t[++s];for(;"string"==typeof e;)e=t[++s];continue}if(4===r)break;if(0===r){s+=4;continue}}s+=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 Dn(e,t,n=!1){for(let r=0;r<t.length;r++)if(In(e,t[r],n))return!0;return!1}function On(e,t){return e?":not("+t.trim()+")":t}function Nn(e){let t=e[0],n=1,r=2,s="",o=!1;for(;n<e.length;){let i=e[n];if("string"==typeof i)if(2&r){const t=e[++n];s+="["+i+(t.length>0?'="'+t+'"':"")+"]"}else 8&r?s+="."+i:4&r&&(s+=" "+i);else""===s||Tn(i)||(t+=On(o,s),s=""),r=i,o=o||!Tn(r);n++}return""!==s&&(t+=On(o,s)),t}const Rn={};function Pn(e){const t=e[3];return tt(t)?t[3]:t}function jn(e){return Mn(e[13])}function Hn(e){return Mn(e[4])}function Mn(e){for(;null!==e&&!tt(e);)e=e[4];return e}function Fn(e,t,n,r){if(!r)if(3==(3&t[2])){const r=e.preOrderCheckHooks;null!==r&&Mt(t,r,n)}else{const r=e.preOrderHooks;null!==r&&Ft(t,r,0,n)}jt(n)}function Vn(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const s=n[r],o=n[r+1];if(-1!==o){const n=e.data[o];St(s),n.contentQueries(2,t[o],o)}}}function Ln(e,t,n){return ot(t)?t.createElement(e,n):null===n?t.createElement(e):t.createElementNS(n,e)}function Zn(e,t,n,r,s,o,i,l,u,c){const a=t.blueprint.slice();return a[0]=s,a[2]=140|r,ft(a),a[3]=a[15]=e,a[8]=n,a[10]=i||e&&e[10],a[11]=l||e&&e[11],a[12]=u||e&&e[12]||null,a[9]=c||e&&e[9]||null,a[6]=o,a[16]=2==t.type?e[16]:a,a}function zn(e,t,n,r,s,o){const i=n+20,l=e.data[i]||function(e,t,n,r,s,o){const i=vt(),l=bt(),u=l?i:i&&i.parent,c=e.data[n]=Gn(0,u&&u!==t?u:null,r,n,s,o);return null===e.firstChild&&(e.firstChild=c),i&&(!l||null!=i.child||null===c.parent&&2!==i.type?l||(i.next=c):i.child=c),c}(e,t,i,r,s,o);return wt(l,!0),l}function Bn(e,t,n){Tt(t,t[6]);try{const r=e.viewQuery;null!==r&&fr(1,r,n);const s=e.template;null!==s&&Wn(e,t,s,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Vn(e,t),e.staticViewQueries&&fr(2,e.viewQuery,n);const o=e.components;null!==o&&function(e,t){for(let n=0;n<t.length;n++)cr(e,t[n])}(t,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0),r}finally{t[2]&=-5,Rt()}}function $n(e,t,n,r){const s=t[2];if(256==(256&s))return;Tt(t,t[6]);const o=Ct();try{ft(t),mt.lFrame.bindingIndex=e.bindingStartIndex,null!==n&&Wn(e,t,n,2,r);const i=3==(3&s);if(!o)if(i){const n=e.preOrderCheckHooks;null!==n&&Mt(t,n,null)}else{const n=e.preOrderHooks;null!==n&&Ft(t,n,0,null),Vt(t,0)}if(function(e){for(let t=jn(e);null!==t;t=Hn(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])&&pt(r,1),n[2]|=1024}}}(t),function(e){for(let t=jn(e);null!==t;t=Hn(t))for(let e=10;e<t.length;e++){const n=t[e],r=n[1];ht(n)&&$n(r,n,r.template,n[8])}}(t),null!==e.contentQueries&&Vn(e,t),!o)if(i){const n=e.contentCheckHooks;null!==n&&Mt(t,n)}else{const n=e.contentHooks;null!==n&&Ft(t,n,1),Vt(t,1)}!function(e,t){try{const n=e.expandoInstructions;if(null!==n){let r=e.expandoStartIndex,s=-1,o=-1;for(let e=0;e<n.length;e++){const i=n[e];"number"==typeof i?i<=0?(o=0-i,jt(o),r+=9+n[++e],s=r):r+=i:(null!==i&&(xt(r,s),i(2,t[s])),s++)}}}finally{jt(-1)}}(e,t);const l=e.components;null!==l&&function(e,t){for(let n=0;n<t.length;n++)ur(e,t[n])}(t,l);const u=e.viewQuery;if(null!==u&&fr(2,u,r),!o)if(i){const n=e.viewCheckHooks;null!==n&&Mt(t,n)}else{const n=e.viewHooks;null!==n&&Ft(t,n,2),Vt(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),o||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,pt(t[3],-1))}finally{Rt()}}function Un(e,t,n,r){const s=t[10],o=!Ct(),i=4==(4&t[2]);try{o&&!i&&s.begin&&s.begin(),i&&Bn(e,t,r),$n(e,t,n,r)}finally{o&&!i&&s.end&&s.end()}}function Wn(e,t,n,r,s){const o=Pt();try{jt(-1),2&r&&t.length>20&&Fn(e,t,0,Ct()),n(r,s)}finally{jt(o)}}function qn(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Qn(1,-1,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Qn(e,t,n,r,s,o,i,l,u,c){const a=20+r,h=a+s,d=function(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:Rn);return n}(a,h);return d[1]={type:e,id:t,blueprint:d,template:n,queries:null,viewQuery:l,node:null,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 o?o():o,pipeRegistry:"function"==typeof i?i():i,firstChild:null,schemas:u,consts:c,incompleteFirstPass:!1}}function Gn(e,t,n,r,s,o){return{type:n,index:r,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,tagName:s,attrs:o,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}}function Jn(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const s=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,s):n[r]=[t,s]}return n}function Kn(e,t){const n=e.expandoInstructions;n.push(t.hostBindings),0!==t.hostVars&&n.push(t.hostVars)}function Yn(e,t,n){for(let r=0;r<n;r++)t.push(Rn),e.blueprint.push(Rn),e.data.push(null)}function Xn(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function er(e,t,n){const r=20-t.index,s=e.data.length-(65535&t.providerIndexes);(e.expandoInstructions||(e.expandoInstructions=[])).push(r,s,n)}function tr(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function nr(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;rt(t)&&(n[""]=e)}}function rr(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function sr(e,t,n){e.data.push(n);const r=n.factory||(n.factory=Ye(n.type)),s=new zt(r,rt(n),null);e.blueprint.push(s),t.push(s)}function or(e,t,n){const r=ut(t,e),s=qn(n),o=e[10],i=ar(e,Zn(e,s,null,n.onPush?64:16,r,t,o,o.createRenderer(r,n)));e[t.index]=i}function ir(e,t,n,r,s,o){const i=o[t];if(null!==i){const e=r.setInput;for(let t=0;t<i.length;){const s=i[t++],o=i[t++],l=i[t++];null!==e?r.setInput(n,l,s,o):n[o]=l}}}function lr(e,t){let n=null,r=0;for(;r<t.length;){const s=t[r];if(0!==s)if(5!==s){if("number"==typeof s)break;e.hasOwnProperty(s)&&(null===n&&(n=[]),n.push(s,e[s],t[r+1])),r+=2}else r+=2;else r+=4}return n}function ur(e,t){const n=ct(t,e);if(ht(n)){const e=n[1];80&n[2]?$n(e,n,e.template,n[8]):n[5]>0&&function e(t){for(let r=jn(t);null!==r;r=Hn(r))for(let t=10;t<r.length;t++){const n=r[t];if(1024&n[2]){const e=n[1];$n(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 s=ct(n[r],t);ht(s)&&s[5]>0&&e(s)}}(n)}}function cr(e,t){const n=ct(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),Bn(r,n,n[8])}function ar(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function hr(e,t,n){const r=t[10];r.begin&&r.begin();try{$n(e,t,e.template,n)}catch(s){throw function(e,t){const n=e[9],r=n?n.get(yn,null):null;r&&r.handleError(t)}(t,s),s}finally{r.end&&r.end()}}function dr(e){!function(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=at(n),s=r[1];Un(s,r,s.template,n)}}(e[8])}function fr(e,t,n){St(0),t(e,n)}const pr=(()=>Promise.resolve(null))();function mr(e,t){const n=t[3];return-1===e.index?tt(n)?n:null:n}function yr(e,t,n,r,s){if(null!=r){let o,i=!1;tt(r)?o=r:et(r)&&(i=!0,r=r[0]);const l=lt(r);0===e&&null!==n?null==s?wr(t,n,l):vr(t,n,l,s||null):1===e&&null!==n?vr(t,n,l,s||null):2===e?function(e,t,n){const r=Cr(e,t);r&&function(e,t,n,r){ot(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,l,i):3===e&&t.destroyNode(l),null!=o&&function(e,t,n,r,s){const o=n[7];o!==lt(n)&&yr(t,e,r,o,s);for(let i=10;i<n.length;i++){const s=n[i];kr(s[1],s,e,t,r,o)}}(t,e,o,n,s)}}function gr(e,t){let n;return et(e)&&(n=e[6])&&2===n.type?mr(n,e):e[3]===t?null:e[3]}function _r(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 zt)){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 s=n[r+1],o="function"==typeof s?s(t):lt(t[s]),i=e[n[r+2]],l=n[r+3];"boolean"==typeof l?o.removeEventListener(n[r],i,l):l>=0?e[l]():e[-l].unsubscribe(),r+=2}else n[r].call(e[n[r+1]]);t[7]=null}}(e,t);const n=t[6];n&&3===n.type&&ot(t[11])&&t[11].destroy();const r=t[17];if(null!==r&&tt(t[3])){r!==t[3]&&function(e,t){const n=e[9],r=n.indexOf(t);1024&t[2]&&pt(t[3],-1),n.splice(r,1)}(r,t);const n=t[19];null!==n&&n.detachView(e)}}}function vr(e,t,n,r){ot(e)?e.insertBefore(t,n,r):t.insertBefore(n,r,!0)}function wr(e,t,n){ot(e)?e.appendChild(t,n):t.appendChild(n)}function br(e,t,n,r){null!==r?vr(e,t,n,r):wr(e,t,n)}function Cr(e,t){return ot(e)?e.parentNode(t):t.parentNode}function Er(e,t,n,r){const s=function(e,t,n){let r=t.parent;for(;null!=r&&(4===r.type||5===r.type);)r=(t=r).parent;if(null==r){const e=n[6];return 2===e.type?function(e,t){const n=mr(e,t);return n?Cr(t[11],n[7]):null}(e,n):n[0]}if(t&&5===t.type&&4&t.flags)return ut(t,n).parentNode;if(2&r.flags){const t=e.data,n=t[t[r.index].directiveStart].encapsulation;if(n!==ze.ShadowDom&&n!==ze.Native)return null}return ut(r,n)}(e,r,t);if(null!=s){const e=t[11],o=function(e,t){if(2===e.type){const n=mr(e,t);return null===n?null:function e(t,n){const r=10+t+1;if(r<n.length){const t=n[r],s=t[1].firstChild;if(null!==s)return function t(n,r){if(null!==r){const s=r.type;if(3===s)return ut(r,n);if(0===s)return e(-1,n[r.index]);if(4===s||5===s){const s=r.child;if(null!==s)return t(n,s);{const t=n[r.index];return tt(t)?e(-1,t):lt(t)}}{const e=n[16],s=e[6],o=Pn(e),i=s.projection[r.projection];return null!=i?t(o,i):t(n,r.next)}}return null}(t,s)}return n[7]}(n.indexOf(t,10)-10,n)}return 4===e.type||5===e.type?ut(e,t):null}(r.parent||t[6],t);if(Array.isArray(n))for(let t=0;t<n.length;t++)br(e,s,n[t],o);else br(e,s,n,o)}}function xr(e,t,n,r,s,o,i){for(;null!=n;){const l=r[n.index],u=n.type;i&&0===t&&(l&&wn(lt(l),r),n.flags|=4),64!=(64&n.flags)&&(4===u||5===u?(xr(e,t,n.child,r,s,o,!1),yr(t,e,s,l,o)):1===u?Sr(e,t,r,n,s,o):yr(t,e,s,l,o)),n=i?n.projectionNext:n.next}}function kr(e,t,n,r,s,o){xr(n,r,e.node.child,t,s,o,!1)}function Sr(e,t,n,r,s,o){const i=n[16],l=i[6].projection[r.projection];if(Array.isArray(l))for(let u=0;u<l.length;u++)yr(t,e,s,l[u],o);else xr(e,t,l,i[3],s,o,!0)}function Ir(e,t,n){ot(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function Tr(e,t,n){ot(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}class Ar extends class{constructor(e,t){this._lView=e,this._cdRefInjectingView=t,this._appRef=null,this._viewContainerRef=null}get rootNodes(){const e=this._lView;return null==e[0]?function e(t,n,r,s,o=!1){for(;null!==r;){const i=n[r.index];if(null!==i&&s.push(lt(i)),tt(i))for(let t=10;t<i.length;t++){const n=i[t],r=n[1].firstChild;null!==r&&e(n[1],n,r,s)}const l=r.type;if(4===l||5===l)e(t,n,r.child,s);else if(1===l){const t=n[16],o=t[6].projection[r.projection];if(Array.isArray(o))s.push(...o);else{const n=Pn(t);e(n[1],n,o,s,!0)}}r=o?r.projectionNext:r.next}return s}(e[1],e,e[6].child,[]):[]}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}!function(e,t){if(!(256&t[2])){const n=t[11];ot(n)&&n.destroyNode&&kr(e,t,n,3,null,null),function(e){let t=e[13];if(!t)return _r(e[1],e);for(;t;){let n=null;if(et(t))n=t[13];else{const e=t[10];e&&(n=e)}if(!n){for(;t&&!t[4]&&t!==e;)et(t)&&_r(t[1],t),t=gr(t,e);null===t&&(t=e),et(t)&&_r(t[1],t),n=t&&t[4]}t=n}}(t)}}(this._lView[1],this._lView)}onDestroy(e){var t,n,r,s;t=this._lView[1],r=e,(s=n=this._lView,s[7]||(s[7]=[])).push(r),t.firstCreatePass&&function(e){return e.cleanup||(e.cleanup=[])}(t).push(n[7].length-1,null)}markForCheck(){!function(e){for(;e;){e[2]|=64;const t=Pn(e);if(0!=(512&e[2])&&!t)return e;e=t}}(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){hr(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,n){Et(!0);try{hr(e,t,n)}finally{Et(!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,kr(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}}{constructor(e){super(e),this._view=e}detectChanges(){dr(this._view)}checkNoChanges(){!function(e){Et(!0);try{dr(e)}finally{Et(!1)}}(this._view)}get context(){return null}}let Dr;function Or(e,t,n){return Dr||(Dr=class extends e{}),new Dr(ut(t,n))}const Nr=new ke("Set Injector scope."),Rr={},Pr={},jr=[];let Hr=void 0;function Mr(){return void 0===Hr&&(Hr=new Fe),Hr}function Fr(e,t=null,n=null,r){return new Vr(e,n,t||Mr(),r)}class Vr{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 s=[];t&&Le(t,n=>this.processProvider(n,e,t)),Le([e],e=>this.processInjectorType(e,[],s)),this.records.set(Se,Zr(void 0,this));const o=this.records.get(Nr);this.scope=null!=o?o.value:null,this.source=r||("object"==typeof e?null:ue(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=J.Default){this.assertNotDestroyed();const r=Ne(this);try{if(!(n&J.SkipSelf)){let t=this.records.get(e);if(void 0===t){const n=("function"==typeof(s=e)||"object"==typeof s&&s instanceof ke)&&ee(e);t=n&&this.injectableDefInScope(n)?Zr(Lr(e),Rr):null,this.records.set(e,t)}if(null!=t)return this.hydrate(e,t)}return(n&J.Self?Mr():this.parent).get(e,t=n&J.Optional&&t===Ie?null:t)}catch(o){if("NullInjectorError"===o.name){if((o.ngTempTokenPath=o.ngTempTokenPath||[]).unshift(ue(e)),r)throw o;return function(e,t,n,r){const s=e.ngTempTokenPath;throw t.__source&&s.unshift(t.__source),e.message=function(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let s=ue(t);if(Array.isArray(t))s=t.map(ue).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):ue(r)))}s=`{${e.join(", ")}}`}return`${n}${r?"("+r+")":""}[${s}]: ${e.replace(Te,"\n ")}`}("\n"+e.message,s,n,r),e.ngTokenPath=s,e.ngTempTokenPath=null,e}(o,e,"R3InjectorError",this.source)}throw o}finally{Ne(r)}var s}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(e=>this.get(e))}toString(){const e=[];return this.records.forEach((t,n)=>e.push(ue(n))),`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(e,t,n){if(!(e=de(e)))return!1;let r=ne(e);const s=null==r&&e.ngModule||void 0,o=void 0===s?e:s,i=-1!==n.indexOf(o);if(void 0!==s&&(r=ne(s)),null==r)return!1;if(null!=r.imports&&!i){let e;n.push(o);try{Le(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];Le(r,e=>this.processProvider(e,n,r||jr))}}this.injectorDefTypes.add(o),this.records.set(o,Zr(r.factory,Rr));const l=r.providers;if(null!=l&&!i){const t=e;Le(l,e=>this.processProvider(e,t,l))}return void 0!==s&&void 0!==e.providers}processProvider(e,t,n){let r=Br(e=de(e))?e:de(e&&e.provide);const s=function(e,t,n){return zr(e)?Zr(void 0,e.useValue):Zr(function(e,t,n){let r=void 0;if(Br(e)){const t=de(e);return Ye(t)||Lr(t)}if(zr(e))r=()=>de(e.useValue);else if((s=e)&&s.useFactory)r=()=>e.useFactory(...Me(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))r=()=>je(de(e.useExisting));else{const s=de(e&&(e.useClass||e.provide));if(s||function(e,t,n){let r="";throw e&&t&&(r=` - only instances of Provider and Type are allowed, got: [${t.map(e=>e==n?"?"+n+"?":"...").join(", ")}]`),new Error(`Invalid provider for the NgModule '${ue(e)}'`+r)}(t,n,e),!function(e){return!!e.deps}(e))return Ye(s)||Lr(s);r=()=>new s(...Me(e.deps))}var s;return r}(e,t,n),Rr)}(e,t,n);if(Br(e)||!0!==e.multi){const e=this.records.get(r);e&&void 0!==e.multi&&Cn()}else{let t=this.records.get(r);t?void 0===t.multi&&Cn():(t=Zr(void 0,Rr,!0),t.factory=()=>Me(t.multi),this.records.set(r,t)),r=e,t.multi.push(e)}this.records.set(r,s)}hydrate(e,t){var n;return t.value===Pr?function(e){throw new Error("Cannot instantiate cyclic dependency! "+e)}(ue(e)):t.value===Rr&&(t.value=Pr,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 Lr(e){const t=ee(e),n=null!==t?t.factory:Ye(e);if(null!==n)return n;const r=ne(e);if(null!==r)return r.factory;if(e instanceof ke)throw new Error(`Token ${ue(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 ${ue(e)}: (${n.join(", ")}).`)}const n=function(e){const t=e&&(e[re]||e[ie]||e[oe]&&e[oe]());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 v10. 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 Zr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function zr(e){return null!==e&&"object"==typeof e&&Ae in e}function Br(e){return"function"==typeof e}const $r=function(e,t,n){return function(e,t=null,n=null,r){const s=Fr(e,t,n,r);return s._resolveInjectorDefTypes(),s}({name:n},t,e,n)};let Ur=(()=>{class e{static create(e,t){return Array.isArray(e)?$r(e,t,""):$r(e.providers,e.parent,e.name||"")}}return e.THROW_IF_NOT_FOUND=Ie,e.NULL=new Fe,e.\u0275prov=Y({token:e,providedIn:"any",factory:()=>je(Se)}),e.__NG_ELEMENT_ID__=-1,e})(),Wr=new Map;const qr=new Set;function Qr(e){return"string"==typeof e?e:e.text()}function Gr(e,t,n){let r=n?e.styles:null,s=n?e.classes:null,o=0;if(null!==t)for(let i=0;i<t.length;i++){const e=t[i];"number"==typeof e?o=e:1==o?s=ce(s,e):2==o&&(r=ce(r,e+": "+t[++i]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=s:e.classesWithoutHost=s}let Jr=null;function Kr(){if(!Jr){const e=ge.Symbol;if(e&&e.iterator)Jr=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&&(Jr=n)}}}return Jr}function Yr(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}function Xr(e){return!!es(e)&&(Array.isArray(e)||!(e instanceof Map)&&Kr()in e)}function es(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function ts(e,t,n,r,s){const o=s?"class":"style";!function(e,t,n,r,s){for(let o=0;o<n.length;){const i=n[o++],l=n[o++],u=t[i],c=e.data[i];null!==c.setInput?c.setInput(u,s,r,l):u[l]=s}}(e,n,t.inputs[o],o,r)}function ns(e,t,n,r){const s=gt(),o=_t(),i=20+e,l=s[11],u=s[i]=Ln(t,l,mt.lFrame.currentNamespace),c=o.firstCreatePass?function(e,t,n,r,s,o,i){const l=t.consts,u=dt(l,o),c=zn(t,n[6],e,3,s,u);return function(e,t,n,r){let s=!1;if(yt()){const o=function(e,t,n){const r=e.directiveRegistry;let s=null;if(r)for(let o=0;o<r.length;o++){const i=r[o];Dn(n,i.selectors,!1)&&(s||(s=[]),on(tn(n,t),e,i.type),rt(i)?(2&n.flags&&bn(n),tr(e,n),s.unshift(i)):s.push(i))}return s}(e,t,n),i=null===r?null:{"":-1};if(null!==o){let r=0;s=!0,rr(n,e.data.length,o.length);for(let e=0;e<o.length;e++){const t=o[e];t.providersResolver&&t.providersResolver(t)}er(e,n,o.length);let l=!1,u=!1;for(let s=0;s<o.length;s++){const c=o[s];n.mergedAttrs=$t(n.mergedAttrs,c.hostAttrs),sr(e,t,c),nr(e.data.length-1,c,i),null!==c.contentQueries&&(n.flags|=8),null===c.hostBindings&&null===c.hostAttrs&&0===c.hostVars||(n.flags|=128),!l&&(c.onChanges||c.onInit||c.doCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index-20),l=!0),u||!c.onChanges&&!c.doCheck||((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index-20),u=!0),Kn(e,c),r+=c.hostVars}!function(e,t){const n=t.directiveEnd,r=e.data,s=t.attrs,o=[];let i=null,l=null;for(let u=t.directiveStart;u<n;u++){const e=r[u],n=e.inputs,c=null===s||kn(t)?null:lr(n,s);o.push(c),i=Jn(n,u,i),l=Jn(e.outputs,u,l)}null!==i&&(i.hasOwnProperty("class")&&(t.flags|=16),i.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=o,t.inputs=i,t.outputs=l}(e,n),Yn(e,t,r)}i&&function(e,t,n){if(t){const r=e.localNames=[];for(let e=0;e<t.length;e+=2){const s=n[t[e+1]];if(null==s)throw new Error(`Export of name '${t[e+1]}' not found!`);r.push(t[e],s)}}}(n,r,i)}n.mergedAttrs=$t(n.mergedAttrs,n.attrs)}(t,n,c,dt(l,i)),null!==c.attrs&&Gr(c,c.attrs,!1),null!==c.mergedAttrs&&Gr(c,c.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,c),c}(e,o,s,0,t,n,r):o.data[i];wt(c,!0);const a=c.mergedAttrs;null!==a&&Bt(l,u,a);const h=c.classes;null!==h&&Tr(l,u,h);const d=c.styles;null!==d&&Ir(l,u,d),Er(o,s,u,c),0===mt.lFrame.elementDepthCount&&wn(u,s),mt.lFrame.elementDepthCount++,function(e){return 1==(1&e.flags)}(c)&&(function(e,t,n){yt()&&(function(e,t,n,r){const s=n.directiveStart,o=n.directiveEnd;e.firstCreatePass||tn(n,t),wn(r,t);const i=n.initialInputs;for(let l=s;l<o;l++){const r=e.data[l],o=rt(r);o&&or(t,n,r);const u=cn(t,e,l,n);wn(u,t),null!==i&&ir(0,l-s,u,r,0,i),o&&(ct(n.index,t)[8]=u)}}(e,t,n,ut(n,t)),128==(128&n.flags)&&function(e,t,n){const r=n.directiveStart,s=n.directiveEnd,o=e.expandoInstructions,i=e.firstCreatePass,l=n.index-20,u=mt.lFrame.currentDirectiveIndex;try{jt(l);for(let n=r;n<s;n++){const r=e.data[n],s=t[n];kt(n),null!==r.hostBindings||0!==r.hostVars||null!==r.hostAttrs?Xn(r,s):i&&o.push(null)}}finally{jt(-1),kt(u)}}(e,t,n))}(o,s,c),function(e,t,n){if(nt(t)){const r=t.directiveEnd;for(let s=t.directiveStart;s<r;s++){const t=e.data[s];t.contentQueries&&t.contentQueries(1,n[s],s)}}}(o,c,s)),null!==r&&function(e,t,n=ut){const r=t.localNames;if(null!==r){let s=t.index+1;for(let o=0;o<r.length;o+=2){const i=r[o+1],l=-1===i?n(t,e):e[i];e[s++]=l}}}(s,c)}function rs(){let e=vt();bt()?mt.lFrame.isParent=!1:(e=e.parent,wt(e,!1));const t=e;mt.lFrame.elementDepthCount--;const n=_t();n.firstCreatePass&&(Ht(n,e),nt(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&ts(n,t,gt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&ts(n,t,gt(),t.stylesWithoutHost,!1)}function ss(e){return!!e&&"function"==typeof e.then}function os(e,t=""){const n=gt(),r=_t(),s=e+20,o=r.firstCreatePass?zn(r,n[6],e,3,null,null):r.data[s],i=n[s]=function(e,t){return ot(t)?t.createText(e):t.createTextNode(e)}(t,n[11]);Er(r,n,i,o),wt(o,!1)}function is(e){return ls("",e,""),is}function ls(e,t,n){const r=gt(),s=function(e,t,n,r){return function(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}(e,mt.lFrame.bindingIndex++,n)?t+Qt(n)+r:Rn}(r,e,t,n);return s!==Rn&&function(e,t,n){const r=function(e,t){return lt(t[e+20])}(t,e),s=e[11];ot(s)?s.setValue(r,n):r.textContent=n}(r,Pt(),s),ls}function us(e,t){const n=at(e)[1],r=n.data.length-1;Ht(n,{directiveStart:r,directiveEnd:r+1})}class cs{constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}}class as{}class hs{resolveComponentFactory(e){throw function(e){const t=Error(`No component factory found for ${ue(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(e)}}let ds=(()=>{class e{}return e.NULL=new hs,e})(),fs=(()=>{class e{constructor(e){this.nativeElement=e}}return e.__NG_ELEMENT_ID__=()=>ps(e),e})();const ps=function(e){return Or(e,vt(),gt())};class ms{}const ys=function(){var e={Important:1,DashCase:2};return e[e.Important]="Important",e[e.DashCase]="DashCase",e}();let gs=(()=>{class e{}return e.\u0275prov=Y({token:e,providedIn:"root",factory:()=>null}),e})();class _s{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const vs=new _s("9.1.13");class ws{constructor(){}supports(e){return Xr(e)}create(e){return new Cs(e)}}const bs=(e,t)=>t;class Cs{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||bs}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,s=null;for(;t||n;){const o=!n||t&&t.currentIndex<Ss(n,r,s)?t:n,i=Ss(o,r,s),l=o.currentIndex;if(o===n)r--,n=n._nextRemoved;else if(t=t._next,null==o.previousIndex)r++;else{s||(s=[]);const e=i-r,t=l-r;if(e!=t){for(let n=0;n<e;n++){const r=n<s.length?s[n]:s[n]=0,o=r+n;t<=o&&o<e&&(s[n]=r+1)}s[o.previousIndex]=t-e}}i!==l&&e(o,i,l)}}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=[]),!Xr(e))throw new Error(`Error trying to diff '${ue(e)}'. Only arrays and iterables are allowed`);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t,n,r,s=this._itHead,o=!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!==s&&Yr(s.trackById,r)?(o&&(s=this._verifyReinsertion(s,n,r,t)),Yr(s.item,n)||this._addIdentityChange(s,n)):(s=this._mismatch(s,n,r,t),o=!0),s=s._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[Kr()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(e,e=>{r=this._trackByFn(t,e),null!==s&&Yr(s.trackById,r)?(o&&(s=this._verifyReinsertion(s,e,r,t)),Yr(s.item,e)||this._addIdentityChange(s,e)):(s=this._mismatch(s,e,r,t),o=!0),s=s._next,t++}),this.length=t;return this._truncate(s),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,t;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=t)e.previousIndex=e.currentIndex,t=e._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,n,r){let s;return null===e?s=this._itTail:(s=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Yr(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,s,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Yr(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,s,r)):e=this._addAfter(new Es(t,n),s,r),e}_verifyReinsertion(e,t,n,r){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==s?e=this._reinsertAfter(s,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,s=e._nextRemoved;return null===r?this._removalsHead=s:r._nextRemoved=s,null===s?this._removalsTail=r:s._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 ks),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 ks),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 Es{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 xs{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)&&Yr(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 ks{constructor(){this.map=new Map}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new xs,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 Ss(e,t,n){const r=e.previousIndex;if(null===r)return r;let s=0;return n&&r<n.length&&(s=n[r]),r+t+s}class Is{constructor(){}supports(e){return e instanceof Map||es(e)}create(){return new Ts}}class Ts{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||es(e)))throw new Error(`Error trying to diff '${ue(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,s=n._next;return r&&(r._next=s),s&&(s._prev=r),n._next=null,n._prev=null,n}const n=new As(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){Yr(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 As{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 Ds=(()=>{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 G,new q]]}}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=Y({token:e,providedIn:"root",factory:()=>new e([new ws])}),e})(),Os=(()=>{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 G,new q]]}}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=Y({token:e,providedIn:"root",factory:()=>new e([new Is])}),e})();const Ns=[new Is],Rs=new Ds([new ws]),Ps=new Os(Ns),js={};class Hs extends ds{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const t=Ke(e);return new Vs(t,this.ngModule)}}function Ms(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}const Fs=new ke("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Jt});class Vs extends as{constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=e.selectors.map(Nn).join(","),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return Ms(this.componentDef.inputs)}get outputs(){return Ms(this.componentDef.outputs)}create(e,t,n,r){const s=(r=r||this.ngModule)?function(e,t){return{get:(n,r,s)=>{const o=e.get(n,js,s);return o!==js||r===js?o:t.get(n,r,s)}}}(e,r.injector):e,o=s.get(ms,it),i=s.get(gs,null),l=o.createRenderer(null,this.componentDef),u=this.componentDef.selectors[0][0]||"div",c=n?function(e,t,n){if(ot(e))return e.selectRootElement(t,n===ze.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(l,n,this.componentDef.encapsulation):Ln(u,o.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}(u)),a=this.componentDef.onPush?576:528,h="string"==typeof n&&/^#root-ng-internal-isolated-\d+/.test(n),d={components:[],scheduler:Jt,clean:pr,playerHandler:null,flags:0},f=Qn(0,-1,null,1,0,null,null,null,null,null),p=Zn(null,f,d,a,null,null,o,l,i,s);let m,y;Tt(p,null);try{const e=function(e,t,n,r,s,o){const i=n[1];n[20]=e;const l=zn(i,null,0,3,null,null),u=l.mergedAttrs=t.hostAttrs;null!==u&&(Gr(l,u,!0),null!==e&&(Bt(s,e,u),null!==l.classes&&Tr(s,e,l.classes),null!==l.styles&&Ir(s,e,l.styles)));const c=r.createRenderer(e,t),a=Zn(n,qn(t),null,t.onPush?64:16,n[20],l,r,c,void 0);return i.firstCreatePass&&(on(tn(l,n),i,t.type),tr(i,l),rr(l,n.length,1)),ar(n,a),n[20]=a}(c,this.componentDef,p,o,l);if(c)if(n)Bt(l,c,["ng-version",vs.full]);else{const{attrs:e,classes:t}=function(e){const t=[],n=[];let r=1,s=2;for(;r<e.length;){let o=e[r];if("string"==typeof o)2===s?""!==o&&t.push(o,e[++r]):8===s&&n.push(o);else{if(!Tn(s))break;s=o}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);e&&Bt(l,c,e),t&&t.length>0&&Tr(l,c,t.join(" "))}if(y=f.data[20],void 0!==t){const e=y.projection=[];for(let n=0;n<this.ngContentSelectors.length;n++){const r=t[n];e.push(null!=r?Array.from(r):null)}}m=function(e,t,n,r,s){const o=n[1],i=function(e,t,n){const r=vt();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),er(e,r,1),sr(e,t,n));const s=cn(t,e,t.length-1,r);wn(s,t);const o=ut(r,t);return o&&wn(o,t),s}(o,n,t);r.components.push(i),e[8]=i,s&&s.forEach(e=>e(i,t)),t.contentQueries&&t.contentQueries(1,i,n.length-1);const l=vt();if(o.firstCreatePass&&(null!==t.hostBindings||null!==t.hostAttrs)){jt(l.index-20);const e=n[1];Kn(e,t),Yn(e,n,t.hostVars),Xn(t,i)}return i}(e,this.componentDef,p,d,[us]),Bn(f,p,null)}finally{Rt()}const g=new Ls(this.componentType,m,Or(fs,y,p),p,y);return n&&!h||(f.node.child=y),g}}class Ls extends class{}{constructor(e,t,n,r,s){super(),this.location=n,this._rootLView=r,this._tNode=s,this.destroyCbs=[],this.instance=t,this.hostView=this.changeDetectorRef=new Ar(r),function(e,t,n,r){let s=e.node;null==s&&(e.node=s=Gn(0,null,2,-1,null,null)),r[6]=s}(r[1],0,0,r),this.componentType=e}get injector(){return new dn(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 Zs=void 0;var zs=["en",[["a","p"],["AM","PM"],Zs],[["AM","PM"],Zs,Zs],[["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"]],Zs,[["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"]],Zs,[["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}",Zs,"{1} 'at' {0}",Zs],[".",",",";","%","+","-","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 Bs={};function $s(e){return e in Bs||(Bs[e]=ge.ng&&ge.ng.common&&ge.ng.common.locales&&ge.ng.common.locales[e]),Bs[e]}const Us=function(){var e={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,FirstDayOfWeek:8,WeekendRange:9,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,CurrencyCode:15,CurrencySymbol:16,CurrencyName:17,Currencies:18,Directionality:19,PluralCase:20,ExtraData:21};return e[e.LocaleId]="LocaleId",e[e.DayPeriodsFormat]="DayPeriodsFormat",e[e.DayPeriodsStandalone]="DayPeriodsStandalone",e[e.DaysFormat]="DaysFormat",e[e.DaysStandalone]="DaysStandalone",e[e.MonthsFormat]="MonthsFormat",e[e.MonthsStandalone]="MonthsStandalone",e[e.Eras]="Eras",e[e.FirstDayOfWeek]="FirstDayOfWeek",e[e.WeekendRange]="WeekendRange",e[e.DateFormat]="DateFormat",e[e.TimeFormat]="TimeFormat",e[e.DateTimeFormat]="DateTimeFormat",e[e.NumberSymbols]="NumberSymbols",e[e.NumberFormats]="NumberFormats",e[e.CurrencyCode]="CurrencyCode",e[e.CurrencySymbol]="CurrencySymbol",e[e.CurrencyName]="CurrencyName",e[e.Currencies]="Currencies",e[e.Directionality]="Directionality",e[e.PluralCase]="PluralCase",e[e.ExtraData]="ExtraData",e}();let Ws="en-US";function qs(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&&(Ws=e.toLowerCase().replace(/_/g,"-"))}const Qs=new Map;class Gs extends Ve{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Hs(this);const n=Xe(e),r=e[Ce]||null;r&&qs(r),this._bootstrapComponents=Kt(n.bootstrap),this._r3Injector=Fr(e,t,[{provide:Ve,useValue:this},{provide:ds,useValue:this.componentFactoryResolver}],ue(e)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(e)}get(e,t=Ur.THROW_IF_NOT_FOUND,n=J.Default){return e===Ur||e===Ve||e===Se?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 Js extends class{}{constructor(e){super(),this.moduleType=e,null!==Xe(e)&&function e(t){if(null!==t.\u0275mod.id){const e=t.\u0275mod.id;(function(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${ue(t)} vs ${ue(t.name)}`)})(e,Qs.get(e),t),Qs.set(e,t)}let n=t.\u0275mod.imports;n instanceof Function&&(n=n()),n&&n.forEach(t=>e(t))}(e)}create(e){return new Gs(this.moduleType,e)}}class Ks extends E{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,n){let r,s=e=>null,o=()=>null;e&&"object"==typeof e?(r=this.__isAsync?t=>{setTimeout(()=>e.next(t))}:t=>{e.next(t)},e.error&&(s=this.__isAsync?t=>{setTimeout(()=>e.error(t))}:t=>{e.error(t)}),e.complete&&(o=this.__isAsync?()=>{setTimeout(()=>e.complete())}:()=>{e.complete()})):(r=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)},t&&(s=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)}),n&&(o=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const i=super.subscribe(r,s,o);return e instanceof h&&e.add(i),i}}const Ys=new ke("Application Initializer");let Xs=(()=>{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]();ss(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)(je(Ys,8))},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})();const eo=new ke("AppId"),to={provide:eo,useFactory:function(){return`${no()}${no()}${no()}`},deps:[]};function no(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const ro=new ke("Platform Initializer"),so=new ke("Platform ID"),oo=new ke("appBootstrapListener");let io=(()=>{class e{log(e){console.log(e)}warn(e){console.warn(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})();const lo=new ke("LocaleId"),uo=new ke("DefaultCurrencyCode");class co{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}const ao=function(e){return new Js(e)},ho=ao,fo=function(e){return Promise.resolve(ao(e))},po=function(e){const t=ao(e),n=Kt(Xe(e).declarations).reduce((e,t)=>{const n=Ke(t);return n&&e.push(new Vs(n)),e},[]);return new co(t,n)},mo=po,yo=function(e){return Promise.resolve(po(e))};let go=(()=>{class e{constructor(){this.compileModuleSync=ho,this.compileModuleAsync=fo,this.compileModuleAndAllComponentsSync=mo,this.compileModuleAndAllComponentsAsync=yo}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})();const _o=new ke("compilerOptions"),vo=(()=>Promise.resolve(0))();function wo(e){"undefined"==typeof Zone?vo.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class bo{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ks(!1),this.onMicrotaskEmpty=new Ks(!1),this.onStable=new Ks(!1),this.onError=new Ks(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=t,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){let e=ge.requestAnimationFrame,t=ge.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(ge,()=>{e.lastRequestAnimationFrameId=-1,ko(e),xo(e)}),ko(e))}(e)});e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:t},onInvokeTask:(n,r,s,o,i,l)=>{try{return So(e),n.invokeTask(s,o,i,l)}finally{t&&"eventTask"===o.type&&t(),Io(e)}},onInvoke:(t,n,r,s,o,i,l)=>{try{return So(e),t.invoke(r,s,o,i,l)}finally{Io(e)}},onHasTask:(t,n,r,s)=>{t.hasTask(r,s),n===r&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,ko(e),xo(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(t,n,r,s)=>(t.handleError(r,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(this)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!bo.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(bo.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 s=this._inner,o=s.scheduleEventTask("NgZoneEvent: "+r,e,Eo,Co,Co);try{return s.runTask(o,t,n)}finally{s.cancelTask(o)}}runGuarded(e,t,n){return this._inner.runGuarded(e,t,n)}runOutsideAngular(e){return this._outer.run(e)}}function Co(){}const Eo={};function xo(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 ko(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||e.shouldCoalesceEventChangeDetection&&-1!==e.lastRequestAnimationFrameId)}function So(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Io(e){e._nesting--,xo(e)}class To{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ks,this.onMicrotaskEmpty=new Ks,this.onStable=new Ks,this.onError=new Ks}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 Ao=(()=>{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:()=>{bo.assertNotInAngularZone(),wo(()=>{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())wo(()=>{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)(je(bo))},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})(),Do=(()=>{class e{constructor(){this._applications=new Map,Ro.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 Ro.findTestabilityInTree(this,e,t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})();class Oo{addToWindow(e){}findTestabilityInTree(e,t,n){return null}}let No,Ro=new Oo,Po=function(e,t,n){const r=e.get(_o,[]).concat(t),s=new Js(n);if(0===Wr.size)return Promise.resolve(s);const o=function(e){const t=[];return e.forEach(e=>e&&t.push(...e)),t}(r.map(e=>e.providers));if(0===o.length)return Promise.resolve(s);const i=function(){const e=ge.ng;if(!e||!e.\u0275compilerFacade)throw new Error("Angular JIT compilation failed: '@angular/compiler' not loaded!\n - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\n - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\n - Alternatively provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.");return e.\u0275compilerFacade}(),l=Ur.create({providers:o}).get(i.ResourceLoader);return function(e){const t=[],n=new Map;function r(e){let t=n.get(e);if(!t){const r=(e=>Promise.resolve(l.get(e)))(e);n.set(e,t=r.then(Qr))}return t}return Wr.forEach((e,n)=>{const s=[];e.templateUrl&&s.push(r(e.templateUrl).then(t=>{e.template=t}));const o=e.styleUrls,i=e.styles||(e.styles=[]),l=e.styles.length;o&&o.forEach((t,n)=>{i.push(""),s.push(r(t).then(r=>{i[l+n]=r,o.splice(o.indexOf(t),1),0==o.length&&(e.styleUrls=void 0)}))});const u=Promise.all(s).then(()=>function(e){qr.delete(e)}(n));t.push(u)}),Wr=new Map,Promise.all(t).then(()=>{})}().then(()=>s)};const jo=new ke("AllowMultipleToken");function Ho(e,t,n=[]){const r="Platform: "+t,s=new ke(r);return(t=[])=>{let o=Mo();if(!o||o.injector.get(jo,!1))if(e)e(n.concat(t).concat({provide:s,useValue:!0}));else{const e=n.concat(t).concat({provide:s,useValue:!0},{provide:Nr,useValue:"platform"});!function(e){if(No&&!No.destroyed&&!No.injector.get(jo,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");No=e.get(Fo);const t=e.get(ro,null);t&&t.forEach(e=>e())}(Ur.create({providers:e,name:r}))}return function(e){const t=Mo();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}(s)}}function Mo(){return No&&!No.destroyed?No:null}let Fo=(()=>{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 To:("zone.js"===e?void 0:e)||new bo({enableLongStackTrace:vn(),shouldCoalesceEventChangeDetection:t}),n}(t?t.ngZone:void 0,t&&t.ngZoneEventCoalescing||!1),r=[{provide:bo,useValue:n}];return n.run(()=>{const t=Ur.create({providers:r,parent:this.injector,name:e.moduleType.name}),s=e.create(t),o=s.injector.get(yn,null);if(!o)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return s.onDestroy(()=>Zo(this._modules,s)),n.runOutsideAngular(()=>n.onError.subscribe({next:e=>{o.handleError(e)}})),function(e,t,n){try{const r=n();return ss(r)?r.catch(n=>{throw t.runOutsideAngular(()=>e.handleError(n)),n}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(o,n,()=>{const e=s.injector.get(Xs);return e.runInitializers(),e.donePromise.then(()=>(qs(s.injector.get(lo,"en-US")||"en-US"),this._moduleDoBootstrap(s),s))})})}bootstrapModule(e,t=[]){const n=Vo({},t);return Po(this.injector,n,e).then(e=>this.bootstrapModuleFactory(e,n))}_moduleDoBootstrap(e){const t=e.injector.get(Lo);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>t.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${ue(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)(je(Ur))},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})();function Vo(e,t){return Array.isArray(t)?t.reduce(Vo,e):Object.assign(Object.assign({},e),t)}let Lo=(()=>{class e{constructor(e,t,n,r,s,o){this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=s,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=vn(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const i=new _(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),l=new _(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{bo.assertNotInAngularZone(),wo(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{bo.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{e.next(!1)}))});return()=>{t.unsubscribe(),n.unsubscribe()}});this.isStable=H(i,l.pipe(e=>{return M()((t=B,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 as?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);const r=n.isBoundToModule?void 0:this._injector.get(Ve),s=n.create(Ur.NULL,[],t||n.selector,r);s.onDestroy(()=>{this._unloadComponent(s)});const o=s.injector.get(Ao,null);return o&&s.injector.get(Do).registerApplication(s.location.nativeElement,o),this._loadComponent(s),vn()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),s}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;Zo(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(oo,[]).concat(this._bootstrapListeners).forEach(t=>t(e))}_unloadComponent(e){this.detachView(e.hostView),Zo(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)(je(bo),je(io),je(Ur),je(yn),je(ds),je(Xs))},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})();function Zo(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const zo=Ho(null,"core",[{provide:so,useValue:"unknown"},{provide:Fo,deps:[Ur]},{provide:Do,deps:[]},{provide:io,deps:[]}]),Bo=[{provide:Lo,useClass:Lo,deps:[bo,io,Ur,yn,ds,Xs]},{provide:Fs,deps:[bo],useFactory:function(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(e){t.push(e)}}},{provide:Xs,useClass:Xs,deps:[[new q,Ys]]},{provide:go,useClass:go,deps:[]},to,{provide:Ds,useFactory:function(){return Rs},deps:[]},{provide:Os,useFactory:function(){return Ps},deps:[]},{provide:lo,useFactory:function(e){return qs(e=e||"undefined"!=typeof $localize&&$localize.locale||"en-US"),e},deps:[[new W(lo),new q,new G]]},{provide:uo,useValue:"USD"}];let $o=(()=>{class e{constructor(e){}}return e.\u0275mod=Ge({type:e}),e.\u0275inj=X({factory:function(t){return new(t||e)(je(Lo))},providers:Bo}),e})(),Uo=null;function Wo(){return Uo}const qo=new ke("DocumentToken"),Qo=function(){var e={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return e[e.Zero]="Zero",e[e.One]="One",e[e.Two]="Two",e[e.Few]="Few",e[e.Many]="Many",e[e.Other]="Other",e}();class Go{}let Jo=(()=>{class e extends Go{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=$s(t);if(n)return n;const r=t.split("-")[0];if(n=$s(r),n)return n;if("en"===r)return zs;throw new Error(`Missing locale data for the locale "${e}".`)}(e)[Us.PluralCase]}(t||this.locale)(e)){case Qo.Zero:return"zero";case Qo.One:return"one";case Qo.Two:return"two";case Qo.Few:return"few";case Qo.Many:return"many";default:return"other"}}}return e.\u0275fac=function(t){return new(t||e)(je(lo))},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})(),Ko=(()=>{class e{}return e.\u0275mod=Ge({type:e}),e.\u0275inj=X({factory:function(t){return new(t||e)},providers:[{provide:Go,useClass:Jo}]}),e})();class Yo extends class extends class{}{constructor(){super()}supportsDOMEvents(){return!0}}{static makeCurrent(){var e;e=new Yo,Uo||(Uo=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=ei||(ei=document.querySelector("base"),ei)?ei.getAttribute("href"):null;return null==t?null:(n=t,Xo||(Xo=document.createElement("a")),Xo.setAttribute("href",n),"/"===Xo.pathname.charAt(0)?Xo.pathname:"/"+Xo.pathname);var n}resetBaseElement(){ei=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,s]=-1==e?[n,""]:[n.slice(0,e),n.slice(e+1)];if(r.trim()===t)return decodeURIComponent(s)}return null}(document.cookie,e)}}let Xo,ei=null;const ti=new ke("TRANSITION_ID"),ni=[{provide:Ys,useFactory:function(e,t,n){return()=>{n.get(Xs).donePromise.then(()=>{const n=Wo();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter(t=>t.getAttribute("ng-transition")===e).forEach(e=>n.remove(e))})}},deps:[ti,qo,Ur],multi:!0}];class ri{static init(){var e;e=new ri,Ro=e}addToWindow(e){ge.getAngularTestability=(t,n=!0)=>{const r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},ge.getAllAngularTestabilities=()=>e.getAllTestabilities(),ge.getAllAngularRootElements=()=>e.getAllRootElements(),ge.frameworkStabilizers||(ge.frameworkStabilizers=[]),ge.frameworkStabilizers.push(e=>{const t=ge.getAllAngularTestabilities();let n=t.length,r=!1;const s=function(t){r=r||t,n--,0==n&&e(r)};t.forEach((function(e){e.whenStable(s)}))})}findTestabilityInTree(e,t,n){if(null==t)return null;const r=e.getTestability(t);return null!=r?r:n?Wo().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}const si=new ke("EventManagerPlugins");let oi=(()=>{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)(je(si),je(bo))},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})();class ii{constructor(e){this._doc=e}addGlobalEventListener(e,t,n){const r=Wo().getGlobalEventTarget(this._doc,e);if(!r)throw new Error(`Unsupported event target ${r} for event ${t}`);return this.addEventListener(r,t,n)}}let li=(()=>{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=Y({token:e,factory:e.\u0275fac}),e})(),ui=(()=>{class e extends li{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=>Wo().remove(e))}}return e.\u0275fac=function(t){return new(t||e)(je(qo))},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})();const ci={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/"},ai=/%COMP%/g;function hi(e,t,n){for(let r=0;r<t.length;r++){let s=t[r];Array.isArray(s)?hi(e,s,n):(s=s.replace(ai,e),n.push(s))}return n}function di(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let fi=(()=>{class e{constructor(e,t,n){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new pi(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case ze.Emulated:{let n=this.rendererByCompId.get(t.id);return n||(n=new mi(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n}case ze.Native:case ze.ShadowDom:return new yi(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const e=hi(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)(je(oi),je(ui),je(eo))},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})();class pi{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,t){return t?document.createElementNS(ci[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 s=ci[r];s?e.setAttributeNS(s,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const r=ci[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&ys.DashCase?e.style.setProperty(t,n,r&ys.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&ys.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,di(n)):this.eventManager.addEventListener(e,t,di(n))}}class mi extends pi{constructor(e,t,n,r){super(e),this.component=n;const s=hi(r+"-"+n.id,n.styles,[]);t.addStyles(s),this.contentAttr="_ngcontent-%COMP%".replace(ai,r+"-"+n.id),this.hostAttr=function(e){return"_nghost-%COMP%".replace(ai,e)}(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 yi extends pi{constructor(e,t,n,r){super(e),this.sharedStylesHost=t,this.hostEl=n,this.component=r,this.shadowRoot=r.encapsulation===ze.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const s=hi(r.id,r.styles,[]);for(let o=0;o<s.length;o++){const e=document.createElement("style");e.textContent=s[o],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 gi=(()=>{class e extends ii{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)(je(qo))},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})();const _i=["alt","control","meta","shift"],vi={"\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"},wi={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"},bi={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let Ci=(()=>{class e extends ii{constructor(e){super(e)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,n,r){const s=e.parseEventName(n),o=e.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Wo().onAndCancel(t,s.domEventName,o))}static parseEventName(t){const n=t.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const s=e._normalizeKey(n.pop());let o="";if(_i.forEach(e=>{const t=n.indexOf(e);t>-1&&(n.splice(t,1),o+=e+".")}),o+=s,0!=n.length||0===s.length)return null;const i={};return i.domEventName=r,i.fullKey=o,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&&wi.hasOwnProperty(t)&&(t=wi[t]))}return vi[t]||t}(e);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),_i.forEach(r=>{r!=n&&(0,bi[r])(e)&&(t+=r+".")}),t+=n,t}static eventCallback(t,n,r){return s=>{e.getEventFullKey(s)===t&&r.runGuarded(()=>n(s))}}static _normalizeKey(e){switch(e){case"esc":return"escape";default:return e}}}return e.\u0275fac=function(t){return new(t||e)(je(qo))},e.\u0275prov=Y({token:e,factory:e.\u0275fac}),e})();const Ei=Ho(zo,"browser",[{provide:so,useValue:"browser"},{provide:ro,useValue:function(){Yo.makeCurrent(),ri.init()},multi:!0},{provide:qo,useFactory:function(){return function(e){st=e}(document),document},deps:[]}]),xi=[[],{provide:Nr,useValue:"root"},{provide:yn,useFactory:function(){return new yn},deps:[]},{provide:si,useClass:gi,multi:!0,deps:[qo,bo,so]},{provide:si,useClass:Ci,multi:!0,deps:[qo]},[],{provide:fi,useClass:fi,deps:[oi,ui,eo]},{provide:ms,useExisting:fi},{provide:li,useExisting:ui},{provide:ui,useClass:ui,deps:[qo]},{provide:Ao,useClass:Ao,deps:[bo]},{provide:oi,useClass:oi,deps:[si,bo]},[]];let ki=(()=>{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:eo,useValue:t.appId},{provide:ti,useExisting:eo},ni]}}}return e.\u0275mod=Ge({type:e}),e.\u0275inj=X({factory:function(t){return new(t||e)(je(e,12))},providers:xi,imports:[Ko,$o]}),e})();"undefined"!=typeof window&&window;const Si=(()=>{const e=Element.prototype;return e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector})(),Ii={schedule(e,t){const n=setTimeout(e,t);return()=>clearTimeout(n)},scheduleBeforeRender(e){if("undefined"==typeof window)return Ii.schedule(e,0);if(void 0===window.requestAnimationFrame)return Ii.schedule(e,16);const t=window.requestAnimationFrame(e);return()=>window.cancelAnimationFrame(t)}};function Ti(e,t,n){let r=n;return function(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&t.some((t,n)=>!("*"===t||!function(e,t){return Si.call(e,t)}(e,t)||(r=n,0))),r}class Ai{constructor(e,t){this.componentFactory=t.get(ds).resolveComponentFactory(e)}create(e){return new Di(this.componentFactory,e)}}class Di{constructor(e,t){this.componentFactory=e,this.injector=t,this.componentRef=null,this.inputChanges=null,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set}connect(e){if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(e)}disconnect(){null!==this.componentRef&&null===this.scheduledDestroyFn&&(this.scheduledDestroyFn=Ii.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null)},10))}getInputValue(e){return null===this.componentRef?this.initialInputValues.get(e):this.componentRef.instance[e]}setInputValue(e,t){var n,r;null!==this.componentRef?((n=t)!==(r=this.getInputValue(e))&&(n==n||r==r)||void 0===t&&this.unchangedInputs.has(e))&&(this.recordInputChange(e,t),this.componentRef.instance[e]=t,this.scheduleDetectChanges()):this.initialInputValues.set(e,t)}initializeComponent(e){const t=Ur.create({providers:[],parent:this.injector}),n=function(e,t){const n=e.childNodes,r=t.map(()=>[]);let s=-1;t.some((e,t)=>"*"===e&&(s=t,!0));for(let o=0,i=n.length;o<i;++o){const e=n[o],i=Ti(e,t,s);-1!==i&&r[i].push(e)}return r}(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,n,e),this.implementsOnChanges="function"==typeof this.componentRef.instance.ngOnChanges,this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(Lo).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:e})=>{this.implementsOnChanges&&this.unchangedInputs.add(e),this.initialInputValues.has(e)&&this.setInputValue(e,this.initialInputValues.get(e))}),this.initialInputValues.clear()}initializeOutputs(e){const t=this.componentFactory.outputs.map(({propName:t,templateName:n})=>e.instance[t].pipe(O(e=>({name:n,value:e}))));this.events=H(...t)}callNgOnChanges(e){if(!this.implementsOnChanges||null===this.inputChanges)return;const t=this.inputChanges;this.inputChanges=null,e.instance.ngOnChanges(t)}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=Ii.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(e,t){if(null!==this.componentRef&&!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const n=this.inputChanges[e];if(n)return void(n.currentValue=t);const r=this.unchangedInputs.has(e);this.unchangedInputs.delete(e);const s=r?void 0:this.getInputValue(e);this.inputChanges[e]=new cs(s,t,r)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.componentRef.changeDetectorRef.detectChanges())}}class Oi extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}function Ni(e,t){e.forEach(({propName:e})=>{Object.defineProperty(t,e,{get(){return this.ngElementStrategy.getInputValue(e)},set(t){this.ngElementStrategy.setInputValue(e,t)},configurable:!0,enumerable:!0})})}let Ri=(()=>{class e{constructor(){this.name="Bevel"}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=(t={type:e,selectors:[["custom-widget"]],inputs:{name:"name"},decls:4,vars:1,template:function(e,t){1&e&&(ns(0,"p"),os(1," widget works! "),rs(),ns(2,"h3"),os(3),rs()),2&e&&(3,Fn(_t(),gt(),Pt()+3,Ct()),is(t.name))},styles:["\n h3 {\n background-color: orange;\n }\n "],encapsulation:1},$(()=>{const e=t.type,n=e.prototype,r={},s={type:e,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:t.exportAs||null,onChanges:null,onInit:n.ngOnInit||null,doCheck:n.ngDoCheck||null,afterContentInit:n.ngAfterContentInit||null,afterContentChecked:n.ngAfterContentChecked||null,afterViewInit:n.ngAfterViewInit||null,afterViewChecked:n.ngAfterViewChecked||null,onDestroy:n.ngOnDestroy||null,onPush:t.changeDetection===Ze.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||$e,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||ze.Emulated,id:"c",styles:t.styles||$e,_:null,setInput:null,schemas:t.schemas||null,tView:null},o=t.directives,i=t.features,l=t.pipes;return s.id+=Ue++,s.inputs=Je(t.inputs,r),s.outputs=Je(t.outputs),i&&i.forEach(e=>e(s)),s.directiveDefs=o?()=>("function"==typeof o?o():o).map(We):null,s.pipeDefs=l?()=>("function"==typeof l?l():l).map(qe):null,s})),e;var t})(),Pi=(()=>{class e{constructor(e){const t=function(e,t){const n=function(e,t){return t.get(ds).resolveComponentFactory(e).inputs}(e,t.injector),r=t.strategyFactory||new Ai(e,t.injector),s=function(e){const t={};return e.forEach(({propName:e,templateName:n})=>{var r;t[(r=n,r.replace(/[A-Z]/g,e=>"-"+e.toLowerCase()))]=e}),t}(n);class o extends Oi{constructor(e){super(),this.injector=e}get ngElementStrategy(){if(!this._ngElementStrategy){const e=this._ngElementStrategy=r.create(this.injector||t.injector),s=n.filter(({propName:e})=>this.hasOwnProperty(e)).map(({propName:e})=>[e,this[e]]);this instanceof o?s.forEach(([e])=>delete this[e]):Ni(n,this),s.forEach(([t,n])=>e.setInputValue(t,n))}return this._ngElementStrategy}attributeChangedCallback(e,t,n,r){this.ngElementStrategy.setInputValue(s[e],n)}connectedCallback(){this.ngElementStrategy.connect(this),this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(e=>{const t=function(e,t,n){if("function"!=typeof CustomEvent){const r=e.createEvent("CustomEvent");return r.initCustomEvent(t,!1,!1,n),r}return new CustomEvent(t,{bubbles:!1,cancelable:!1,detail:n})}(this.ownerDocument,e.name,e.value);this.dispatchEvent(t)})}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}}return o.observedAttributes=Object.keys(s),Ni(n,o.prototype),o}(Ri,{injector:e});customElements.define("bevel-widget",t)}ngDoBootStrap(){}}return e.\u0275mod=Ge({type:e}),e.\u0275inj=X({factory:function(t){return new(t||e)(je(Ur))},providers:[],imports:[[ki]]}),e})();(function(){if(_n)throw new Error("Cannot enable prod mode after platform setup.");gn=!1})(),Ei().bootstrapModule(Pi).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]]]);

Back to list