-
Notifications
You must be signed in to change notification settings - Fork 0
/
main-es2015.ad42b72827b8570a5d8d.js
1 lines (1 loc) · 248 KB
/
main-es2015.ad42b72827b8570a5d8d.js
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(t,e,n){t.exports=n("zUnb")},zUnb:function(t,e,n){"use strict";function r(t){return"function"==typeof t}n.r(e);let s=!1;const i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else s&&console.log("RxJS: Back to a better error behavior. Thank you. <3");s=t},get useDeprecatedSynchronousErrorHandling(){return s}};function o(t){setTimeout(()=>{throw t},0)}const a={closed:!0,next(t){},error(t){if(i.useDeprecatedSynchronousErrorHandling)throw t;o(t)},complete(){}},l=(()=>Array.isArray||(t=>t&&"number"==typeof t.length))();function c(t){return null!==t&&"object"==typeof t}const u=(()=>{function t(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((t,e)=>`${e+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t})();let h=(()=>{class t{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:n,_unsubscribe:s,_subscriptions:i}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(let t=0;t<n.length;++t)n[t].remove(this);if(r(s))try{s.call(this)}catch(o){e=o instanceof u?d(o.errors):[o]}if(l(i)){let t=-1,n=i.length;for(;++t<n;){const n=i[t];if(c(n))try{n.unsubscribe()}catch(o){e=e||[],o instanceof u?e=e.concat(d(o.errors)):e.push(o)}}}if(e)throw new u(e)}add(e){let n=e;if(!e)return t.EMPTY;switch(typeof e){case"function":n=new t(e);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof t)){const e=n;(n=new t)._subscriptions=[e]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}let{_parentOrParents:r}=n;if(null===r)n._parentOrParents=this;else if(r instanceof t){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(t){const e=this._subscriptions;if(e){const n=e.indexOf(t);-1!==n&&e.splice(n,1)}}}return t.EMPTY=function(t){return t.closed=!0,t}(new t),t})();function d(t){return t.reduce((t,e)=>t.concat(e instanceof u?e.errors:e),[])}const p=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())();class f extends h{constructor(t,e,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=a;break;case 1:if(!t){this.destination=a;break}if("object"==typeof t){t instanceof f?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new g(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new g(this,t,e,n)}}[p](){return this}static create(t,e,n){const r=new f(t,e,n);return r.syncErrorThrowable=!1,r}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class g extends f{constructor(t,e,n,s){let i;super(),this._parentSubscriber=t;let o=this;r(e)?i=e:e&&(i=e.next,n=e.error,s=e.complete,e!==a&&(r((o=Object.create(e)).unsubscribe)&&this.add(o.unsubscribe.bind(o)),o.unsubscribe=this.unsubscribe.bind(this))),this._context=o,this._next=i,this._error=n,this._complete=s}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;i.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:n}=i;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):o(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;o(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);i.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),i.useDeprecatedSynchronousErrorHandling)throw n;o(n)}}__tryOrSetError(t,e,n){if(!i.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(r){return i.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=r,t.syncErrorThrown=!0,!0):(o(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}const m=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")();function y(){}function v(...t){return _(t)}function _(t){return t?1===t.length?t[0]:function(e){return t.reduce((t,e)=>e(t),e)}:y}let w=(()=>{class t{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}subscribe(t,e,n){const{operator:r}=this,s=function(t,e,n){if(t){if(t instanceof f)return t;if(t[p])return t[p]()}return t||e||n?new f(t,e,n):new f(a)}(t,e,n);if(r?s.add(r.call(s,this.source)):s.add(this.source||i.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),i.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(t){try{return this._subscribe(t)}catch(e){i.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:n,isStopped:r}=t;if(e||r)return!1;t=n&&n instanceof f?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=b(e))((e,n)=>{let r;r=this.subscribe(e=>{try{t(e)}catch(s){n(s),r&&r.unsubscribe()}},n,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[m](){return this}pipe(...t){return 0===t.length?this:_(t)(this)}toPromise(t){return new(t=b(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function b(t){if(t||(t=i.Promise||Promise),!t)throw new Error("no Promise impl found");return t}const S=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})();class C extends h{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}class x extends f{constructor(t){super(t),this.destination=t}}let T=(()=>{class t extends w{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[p](){return new x(this)}lift(t){const e=new k(this,this);return e.operator=t,e}next(t){if(this.closed)throw new S;if(!this.isStopped){const{observers:e}=this,n=e.length,r=e.slice();for(let s=0;s<n;s++)r[s].next(t)}}error(t){if(this.closed)throw new S;this.hasError=!0,this.thrownError=t,this.isStopped=!0;const{observers:e}=this,n=e.length,r=e.slice();for(let s=0;s<n;s++)r[s].error(t);this.observers.length=0}complete(){if(this.closed)throw new S;this.isStopped=!0;const{observers:t}=this,e=t.length,n=t.slice();for(let r=0;r<e;r++)n[r].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(t){if(this.closed)throw new S;return super._trySubscribe(t)}_subscribe(t){if(this.closed)throw new S;return this.hasError?(t.error(this.thrownError),h.EMPTY):this.isStopped?(t.complete(),h.EMPTY):(this.observers.push(t),new C(this,t))}asObservable(){const t=new w;return t.source=this,t}}return t.create=(t,e)=>new k(t,e),t})();class k extends T{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):h.EMPTY}}function E(t){return t&&"function"==typeof t.schedule}class I extends f{constructor(t,e,n){super(),this.parent=t,this.outerValue=e,this.outerIndex=n,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}const A=t=>e=>{for(let n=0,r=t.length;n<r&&!e.closed;n++)e.next(t[n]);e.complete()};function R(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}const O=R(),D=t=>t&&"number"==typeof t.length&&"function"!=typeof t;function P(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}const j=t=>{if(t&&"function"==typeof t[m])return(t=>e=>{const n=t[m]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(e)})(t);if(D(t))return A(t);if(P(t))return(t=>e=>(t.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,o),e))(t);if(t&&"function"==typeof t[O])return(t=>e=>{const n=t[O]();for(;;){const t=n.next();if(t.done){e.complete();break}if(e.next(t.value),e.closed)break}return"function"==typeof n.return&&e.add(()=>{n.return&&n.return()}),e})(t);{const e=c(t)?"an invalid object":`'${t}'`;throw new TypeError(`You provided ${e} where a stream was expected.`+" You can provide an Observable, Promise, Array, or Iterable.")}};function N(t,e,n,r,s=new I(t,n,r)){if(!s.closed)return e instanceof w?e.subscribe(s):j(e)(s)}class U extends f{notifyNext(t,e,n,r,s){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}function M(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new L(t,e))}}class L{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new H(t,this.project,this.thisArg))}}class H extends f{constructor(t,e,n){super(t),this.project=e,this.count=0,this.thisArg=n||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}function V(t,e){return new w(n=>{const r=new h;let s=0;return r.add(e.schedule((function(){s!==t.length?(n.next(t[s++]),n.closed||r.add(this.schedule())):n.complete()}))),r})}function F(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[m]}(t))return function(t,e){return new w(n=>{const r=new h;return r.add(e.schedule(()=>{const s=t[m]();r.add(s.subscribe({next(t){r.add(e.schedule(()=>n.next(t)))},error(t){r.add(e.schedule(()=>n.error(t)))},complete(){r.add(e.schedule(()=>n.complete()))}}))})),r})}(t,e);if(P(t))return function(t,e){return new w(n=>{const r=new h;return r.add(e.schedule(()=>t.then(t=>{r.add(e.schedule(()=>{n.next(t),r.add(e.schedule(()=>n.complete()))}))},t=>{r.add(e.schedule(()=>n.error(t)))}))),r})}(t,e);if(D(t))return V(t,e);if(function(t){return t&&"function"==typeof t[O]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new w(n=>{const r=new h;let s;return r.add(()=>{s&&"function"==typeof s.return&&s.return()}),r.add(e.schedule(()=>{s=t[O](),r.add(e.schedule((function(){if(n.closed)return;let t,e;try{const n=s.next();t=n.value,e=n.done}catch(r){return void n.error(r)}e?n.complete():(n.next(t),this.schedule())})))})),r})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof w?t:new w(j(t))}function $(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?r=>r.pipe($((n,r)=>F(t(n,r)).pipe(M((t,s)=>e(n,t,r,s))),n)):("number"==typeof e&&(n=e),e=>e.lift(new z(t,n)))}class z{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new q(t,this.project,this.concurrent))}}class q extends U{constructor(t,e,n=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)}_tryNext(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(e,t,n)}_innerSub(t,e,n){const r=new I(this,void 0,void 0);this.destination.add(r),N(this,t,e,n,r)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(t,e,n,r,s){this.destination.next(e)}notifyComplete(t){const e=this.buffer;this.remove(t),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function B(t){return t}function W(t=Number.POSITIVE_INFINITY){return $(B,t)}function Z(t,e){return e?V(t,e):new w(A(t))}function G(){return function(t){return t.lift(new Q(t))}}class Q{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const r=new Y(t,n),s=e.subscribe(r);return r.closed||(r.connection=n.connect()),s}}class Y extends f{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:n}=this,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}class K extends w{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new h).add(this.source.subscribe(new X(this.getSubject(),this))),t.closed&&(this._connection=null,t=h.EMPTY)),t}refCount(){return G()(this)}}const J=(()=>{const t=K.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class X extends x{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}function tt(t,e){return function(n){let r;if(r="function"==typeof t?t:function(){return t},"function"==typeof e)return n.lift(new et(r,e));const s=Object.create(n,J);return s.source=n,s.subjectFactory=r,s}}class et{constructor(t,e){this.subjectFactory=t,this.selector=e}call(t,e){const{selector:n}=this,r=this.subjectFactory(),s=n(r).subscribe(t);return s.add(e.subscribe(r)),s}}function nt(){return new T}const rt="__parameters__";function st(t,e,n){const r=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function s(...t){if(this instanceof s)return r.apply(this,t),this;const e=new s(...t);return n.annotation=e,n;function n(t,n,r){const s=t.hasOwnProperty(rt)?t[rt]:Object.defineProperty(t,rt,{value:[]})[rt];for(;s.length<=r;)s.push(null);return(s[r]=s[r]||[]).push(e),t}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=t,s.annotationCls=s,s}const it=st("Inject",t=>({token:t})),ot=st("Optional"),at=st("Self"),lt=st("SkipSelf");var ct=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({});function ut(t){for(let e in t)if(t[e]===ut)return e;throw Error("Could not find renamed property on target object.")}function ht(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function dt(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function pt(t){return{factory:t.factory,providers:t.providers||[],imports:t.imports||[]}}function ft(t){const e=t[mt];return e&&e.token===t?e:null}function gt(t){return t&&t.hasOwnProperty(yt)?t[yt]:null}const mt=ut({ngInjectableDef:ut}),yt=ut({ngInjectorDef:ut});function vt(t){if("string"==typeof t)return t;if(t instanceof Array)return"["+t.map(vt).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}const _t=ut({__forward_ref__:ut});function wt(t){return t.__forward_ref__=wt,t.toString=function(){return vt(this())},t}function bt(t){return"function"==typeof(e=t)&&e.hasOwnProperty(_t)&&e.__forward_ref__===wt?t():t;var e}const St="undefined"!=typeof globalThis&&globalThis,Ct="undefined"!=typeof window&&window,xt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Tt="undefined"!=typeof global&&global,kt=St||Tt||Ct||xt;class Et{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.ngInjectableDef=dt({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return`InjectionToken ${this._desc}`}}const It=new Et("INJECTOR",-1),At=new Object,Rt="ngTempTokenPath",Ot="ngTokenPath",Dt=/\n/gm,Pt="\u0275",jt="__source",Nt=ut({provide:String,useValue:ut});let Ut,Mt=void 0;function Lt(t){const e=Mt;return Mt=t,e}function Ht(t){const e=Ut;return Ut=t,e}function Vt(t,e=ct.Default){if(void 0===Mt)throw new Error("inject() must be called from an injection context");return null===Mt?$t(t,void 0,e):Mt.get(t,e&ct.Optional?null:void 0,e)}function Ft(t,e=ct.Default){return(Ut||Vt)(bt(t),e)}function $t(t,e,n){const r=ft(t);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&ct.Optional)return null;if(void 0!==e)return e;throw new Error(`Injector: NOT_FOUND [${vt(t)}]`)}function zt(t){const e=[];for(let n=0;n<t.length;n++){const r=bt(t[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let t=void 0,n=ct.Default;for(let e=0;e<r.length;e++){const s=r[e];s instanceof ot||"Optional"===s.ngMetadataName||s===ot?n|=ct.Optional:s instanceof lt||"SkipSelf"===s.ngMetadataName||s===lt?n|=ct.SkipSelf:s instanceof at||"Self"===s.ngMetadataName||s===at?n|=ct.Self:t=s instanceof it||s===it?s.token:s}e.push(Ft(t,n))}else e.push(Ft(r))}return e}class qt{get(t,e=At){if(e===At){const e=new Error(`NullInjectorError: No provider for ${vt(t)}!`);throw e.name="NullInjectorError",e}return e}}class Bt{}class Wt{}function Zt(t,e){t.forEach(t=>Array.isArray(t)?Zt(t,e):e(t))}function Gt(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Qt(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}const Yt=function(){var t={OnPush:0,Default:1};return t[t.OnPush]="OnPush",t[t.Default]="Default",t}(),Kt=function(){var t={Emulated:0,Native:1,None:2,ShadowDom:3};return t[t.Emulated]="Emulated",t[t.Native]="Native",t[t.None]="None",t[t.ShadowDom]="ShadowDom",t}(),Jt={},Xt=[],te=ut({ngComponentDef:ut}),ee=ut({ngDirectiveDef:ut}),ne=ut({ngPipeDef:ut}),re=ut({ngModuleDef:ut}),se=ut({ngLocaleIdDef:ut}),ie=ut({ngFactoryDef:ut}),oe=ut({__NG_ELEMENT_ID__:ut});let ae=0;function le(t){const e=t.type,n=e.prototype,r={},s={type:e,providersResolver:null,consts:t.consts,vars:t.vars,factory:null,template:t.template||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||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===Yt.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||Kt.Emulated,id:"c",styles:t.styles||Xt,_:null,setInput:null,schemas:t.schemas||null,tView:null};return s._=""+{toString:()=>{const e=t.directives,n=t.features,i=t.pipes;s.id+=ae++,s.inputs=de(t.inputs,r),s.outputs=de(t.outputs),n&&n.forEach(t=>t(s)),s.directiveDefs=e?()=>("function"==typeof e?e():e).map(ce):null,s.pipeDefs=i?()=>("function"==typeof i?i():i).map(ue):null}},s}function ce(t){return ge(t)||function(t){return t[ee]||null}(t)}function ue(t){return function(t){return t[ne]||null}(t)}function he(t){return{type:t.type,bootstrap:t.bootstrap||Xt,declarations:t.declarations||Xt,imports:t.imports||Xt,exports:t.exports||Xt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}}function de(t,e){if(null==t)return Jt;const n={};for(const r in t)if(t.hasOwnProperty(r)){let s=t[r],i=s;Array.isArray(s)&&(i=s[1],s=s[0]),n[s]=r,e&&(e[s]=i)}return n}const pe=le;function fe(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function ge(t){return t[te]||null}function me(t,e){return t[ie]||null}function ye(t,e){const n=t[re]||null;if(!n&&!0===e)throw new Error(`Type ${vt(t)} does not have 'ngModuleDef' property.`);return n}const ve=0,_e=1,we=2,be=3,Se=4,Ce=5,xe=6,Te=7,ke=8,Ee=9,Ie=10,Ae=11,Re=12,Oe=13,De=14,Pe=15,je=16,Ne=17,Ue=18,Me=19,Le=1,He=2,Ve=5,Fe=7,$e=8,ze=9;function qe(t){return Array.isArray(t)&&"object"==typeof t[Le]}function Be(t){return Array.isArray(t)&&!0===t[Le]}function We(t){return 0!=(8&t.flags)}function Ze(t){return 2==(2&t.flags)}function Ge(t){return 1==(1&t.flags)}function Qe(t){return null!==t.template}function Ye(t){return 0!=(512&t[we])}const Ke=8,Je=8,Xe=9,tn=-1;class en{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}let nn,rn,sn=null;function on(t){sn=t}function an(){return rn}function ln(){return fn}let cn=0;function un(t){return(Un&t)===t}function hn(t=null){Mn()!==t&&(un(1)&&mn(),Ln(null===t?-1:t),cn=0)}let dn,pn,fn,gn=null;function mn(){gn(),Un&=-2}function yn(t){Un|=1,gn=t}function vn(){return cn}function _n(){cn+=1}function wn(){return dn}function bn(t,e){dn=t,pn=e}function Sn(t,e){dn=t,fn=e}function Cn(){return pn}function xn(){pn=!1}let Tn=null,kn=!1;function En(){return kn}function In(t){kn=t}let An=-1;function Rn(){return An}function On(t){An=t}let Dn=0;function Pn(){return Dn}function jn(t){Dn=t}function Nn(t,e){un(1)&&mn();const n=fn;return dn=e,pn=!0,fn=Tn=t,n}let Un=-2;function Mn(){return Un>>1}function Ln(t){Un=t<<1}let Hn,Vn=null;function Fn(){Vn=null}function $n(t){Hn=t}function zn(){return Hn}const qn=function(){var t={Important:1,DashCase:2};return t[t.Important]="Important",t[t.DashCase]="DashCase",t}();function Bn(t){return!!t.listen}const Wn={createRenderer:(t,e)=>document};function Zn(t){return 3===t||4===t||6===t}const Gn="@";function Qn(t){return t[0]===Gn}function Yn(t){return t!==tn}function Kn(t){return 32767&t}function Jn(t){return t>>16}function Xn(t,e){let n=Jn(t),r=e;for(;n>0;)r=r[je],n--;return r}function tr(t){return"string"==typeof t?t:null==t?"":""+t}function er(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():tr(t)}const nr=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(kt))();function rr(t){return{name:"window",target:t.ownerDocument.defaultView}}function sr(t){return t instanceof Function?t():t}const ir={},or="[MAP]",ar=0,lr=null,cr=0,ur=1,hr=1;function dr(t){return t[0]}function pr(t,e){return 0!=(dr(t)&e)}function fr(t,e){t[0]|=e}function gr(t,e){return t[e+3]}function mr(t,e){return 0!=(1&function(t,e){return 1&t[e+0]}(t,e))}function yr(t,e,n){return t[e+(n?2:1)]}function vr(t){return _r(t)+1}function _r(t){return t[1]}function wr(t,e,n){return t[e+4+n]}function br(t,e){return t[e+4+_r(t)]}function Sr(t,e,n){t[e]=n}function Cr(t,e){return e>0?t[e]:null}function xr(t,e){return pr(t,Tr(e))}function Tr(t){return t?128:64}function kr(t,e){if(e===ir)return!1;const n=Array.isArray(t)?t[0]:t,r=Array.isArray(e)?e[0]:e;return!Object.is(n,r)}function Er(t){return null!=t&&""!==t}function Ir(t,e,n=" "){return t+(e.length&&t.length?n:"")+e}function Ar(t){return Rr(t)?t[2]:t}function Rr(t){return Array.isArray(t)&&t.length>=3&&"string"!=typeof t[1]}function Or(t){const e=Ar(t);return e&&e[0]||""}function Dr(t){return 0!=(16&t.flags)}function Pr(t,e){return t[e+0]}const jr={MAP_DIRTY_VALUE:!0};function Nr(t){t[0]=jr}function Ur(t,e,n){t[e+1]=n}function Mr(t,e){return t[e+1]}function Lr(t){return t!==ar}function Hr(t,e){let n="";for(let r=1;r<t.length;r+=2){const s=Pr(t,r),i=Mr(t,r),o=Ir(s,e?"":i,":");n=Ir(n,o,e?" ":"; ")}return n}function Vr(t,e,n,r){for(let s=1;s<t.length;s+=2){const i=Pr(t,s);if(e<=i){let o=!1;if(i===e){const e=t[s];!r&&Er(e)||(o=!0,Ur(t,s,n))}else o=!0,t.splice(s,0,e,n);return o}}return t.push(e,n),!0}const Fr="__ngContext__";function $r(t){for(;Array.isArray(t);)t=t[ve];return t}function zr(t,e){return $r(e[t+Me])}function qr(t,e){return $r(e[t.index])}function Br(t,e){const n=t.index;return-1!==n?$r(e[n]):null}function Wr(t,e){return e[_e].data[t+Me]}function Zr(t,e){const n=e[t];return qe(n)?n:n[ve]}function Gr(t){const e=function(t){return t[Fr]||null}(t);return e?Array.isArray(e)?e:e.lView:null}function Qr(t){return 4==(4&t[we])}function Yr(t){t[Ue]=0}function Kr(t){const e=t[be];return Be(e)?e[be]:e}function Jr(t){let e=t[xe];for(;null!==e&&2===e.type;)e=(t=t[je])[xe];return t}let Xr=!0;function ts(t){const e=Xr;return Xr=t,e}const es=255;let ns=0;function rs(t,e){const n=is(t,e);if(-1!==n)return n;const r=e[_e];r.firstTemplatePass&&(t.injectorIndex=e.length,ss(r.data,t),ss(e,null),ss(r.blueprint,null));const s=os(t,e),i=Kn(s),o=Xn(s,e),a=t.injectorIndex;if(Yn(s)){const t=o[_e].data;for(let n=0;n<8;n++)e[a+n]=o[i+n]|t[i+n]}return e[a+Je]=s,a}function ss(t,e){t.push(0,0,0,0,0,0,0,0,e)}function is(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null==e[t.injectorIndex+Je]?-1:t.injectorIndex}function os(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=e[xe],r=1;for(;n&&-1===n.injectorIndex;)n=(e=e[je])?e[xe]:null,r++;return n?n.injectorIndex|r<<16:-1}function as(t,e,n){!function(t,e,n){let r="string"!=typeof n?n[oe]:n.charCodeAt(0)||0;null==r&&(r=n[oe]=ns++);const s=r&es,i=1<<s,o=128&s,a=64&s,l=32&s,c=e.data;o?a?l?c[t+7]|=i:c[t+6]|=i:l?c[t+5]|=i:c[t+4]|=i:a?l?c[t+3]|=i:c[t+2]|=i:l?c[t+1]|=i:c[t]|=i}(t,e,n)}function ls(t,e,n,r=ct.Default,s){if(t){const s=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;const e=t[oe];return"number"==typeof e&&e>0?e&es:e}(n);if("function"==typeof s){const i=wn(),o=ln();Sn(t,e);try{const t=s();if(null!=t||r&ct.Optional)return t;throw new Error(`No provider for ${er(n)}!`)}finally{Sn(i,o)}}else if("number"==typeof s){if(-1===s)return new gs(t,e);let i=null,o=is(t,e),a=tn,l=r&ct.Host?Jr(e)[xe]:null;for((-1===o||r&ct.SkipSelf)&&(a=-1===o?os(t,e):e[o+Je],fs(r,!1)?(i=e[_e],o=Kn(a),e=Xn(a,e)):o=-1);-1!==o;){a=e[o+Je];const t=e[_e];if(ps(s,o,t.data)){const t=us(o,e,n,i,r,l);if(t!==cs)return t}fs(r,e[_e].data[o+Ke]===l)&&ps(s,o,e)?(i=t,o=Kn(a),e=Xn(a,e)):o=-1}}}if(r&ct.Optional&&void 0===s&&(s=null),0==(r&(ct.Self|ct.Host))){const t=e[Ie],i=Ht(void 0);try{return t?t.get(n,s,r&ct.Optional):$t(n,s,r&ct.Optional)}finally{Ht(i)}}if(r&ct.Optional)return s;throw new Error(`NodeInjector: NOT_FOUND [${er(n)}]`)}const cs={};function us(t,e,n,r,s,i){const o=e[_e],a=o.data[t+Ke],l=hs(a,o,n,null==r?Ze(a)&&Xr:r!=o&&3===a.type,s&ct.Host&&i===a);return null!==l?ds(o.data,e,l,a):cs}function hs(t,e,n,r,s){const i=t.providerIndexes,o=e.data,a=65535&i,l=t.directiveStart,c=t.directiveEnd,u=i>>16,h=s?a+u:c;for(let d=r?a:a+u;d<h;d++){const t=o[d];if(d<l&&n===t||d>=l&&t.type===n)return d}if(s){const t=o[l];if(t&&Qe(t)&&t.type===n)return l}return null}function ds(t,e,n,r){let s=e[n];if(null!==(i=s)&&"object"==typeof i&&Object.getPrototypeOf(i)==en.prototype){const i=s;if(i.resolving)throw new Error(`Circular dep for ${er(t[n])}`);const o=ts(i.canSeeViewProviders);let a;i.resolving=!0,i.injectImpl&&(a=Ht(i.injectImpl));const l=wn(),c=ln();Sn(r,e);try{s=e[n]=i.factory(void 0,t,e,r)}finally{i.injectImpl&&Ht(a),ts(o),i.resolving=!1,Sn(l,c)}}var i;return s}function ps(t,e,n){const r=1<<t,s=64&t,i=32&t;let o;return!!((o=128&t?s?i?n[e+7]:n[e+6]:i?n[e+5]:n[e+4]:s?i?n[e+3]:n[e+2]:i?n[e+1]:n[e])&r)}function fs(t,e){return!(t&ct.Self||t&ct.Host&&e)}class gs{constructor(t,e){this._tNode=t,this._lView=e}get(t,e){return ls(this._tNode,this._lView,t,void 0,e)}}const ms="ngDebugContext",ys="ngOriginalError",vs="ngErrorLogger";function _s(t){return t[ms]}function ws(t){return t[ys]}function bs(t,...e){t.error(...e)}class Ss{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),r=function(t){return t[vs]||bs}(t);r(this._console,"ERROR",t),e&&r(this._console,"ORIGINAL ERROR",e),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?_s(t)?_s(t):this._findContext(ws(t)):null}_findOriginalError(t){let e=ws(t);for(;e&&ws(e);)e=ws(e);return e}}class Cs{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity}`+" (see http://g.co/ng/security#xss)"}}function xs(t){return t instanceof Cs?t.changingThisBreaksApplicationSecurity:t}let Ts=!0,ks=!1;function Es(){return ks=!0,Ts}const Is=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:\/?#]*(?:[\/?#]|$))/gi,As=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i,Rs=function(){var t={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};return t[t.NONE]="NONE",t[t.HTML]="HTML",t[t.STYLE]="STYLE",t[t.SCRIPT]="SCRIPT",t[t.URL]="URL",t[t.RESOURCE_URL]="RESOURCE_URL",t}();function Os(t){const e=function(){const t=ln();return t&&t[Oe]}();return e?e.sanitize(Rs.URL,t)||"":function(t,e){const n=function(t){return t instanceof Cs&&t.getTypeName()||null}(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see http://g.co/ng/security#xss)`)}return n===e}(t,"URL")?xs(t):(n=tr(t),(n=String(n)).match(Is)||n.match(As)?n:(Es()&&console.warn(`WARNING: sanitizing unsafe URL value ${n} (see http://g.co/ng/security#xss)`),"unsafe:"+n));var n}function Ds(t,e){t[Fr]=e}function Ps(t){throw new Error(`Multiple components match node with tagname ${t.tagName}`)}function js(){throw new Error("Cannot mix multi providers and regular providers")}function Ns(t,e,n,r,s,i){const{onChanges:o,onInit:a,doCheck:l}=e;s>=0&&(!n.preOrderHooks||s===n.preOrderHooks.length)&&(o||a||l)&&(n.preOrderHooks||(n.preOrderHooks=[])).push(r),i>=0&&(!n.preOrderCheckHooks||i===n.preOrderCheckHooks.length)&&(o||l)&&(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(r),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,o)),a&&(n.preOrderHooks||(n.preOrderHooks=[])).push(-t,a),l&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,l),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,l))}function Us(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n<r;n++){const e=t.data[n];e.afterContentInit&&(t.contentHooks||(t.contentHooks=[])).push(-n,e.afterContentInit),e.afterContentChecked&&((t.contentHooks||(t.contentHooks=[])).push(n,e.afterContentChecked),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,e.afterContentChecked)),e.afterViewInit&&(t.viewHooks||(t.viewHooks=[])).push(-n,e.afterViewInit),e.afterViewChecked&&((t.viewHooks||(t.viewHooks=[])).push(n,e.afterViewChecked),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(n,e.afterViewChecked)),null!=e.onDestroy&&(t.destroyHooks||(t.destroyHooks=[])).push(n,e.onDestroy)}}function Ms(t,e,n){Vs(t,e,3,n)}function Ls(t,e,n,r){(3&t[we])===n&&Vs(t,e,n,r)}function Hs(t,e){let n=t[we];(3&n)===e&&(n&=1023,n+=1,t[we]=n)}function Vs(t,e,n,r){const s=null!=r?r:-1;let i=0;for(let o=void 0!==r?65535&t[Ue]:0;o<e.length;o++)if("number"==typeof e[o+1]){if(i=e[o],null!=r&&i>=r)break}else e[o]<0&&(t[Ue]+=65536),(i<s||-1==s)&&(Fs(t,n,e,o),t[Ue]=(4294901760&t[Ue])+o+2),o++}function Fs(t,e,n,r){const s=n[r]<0,i=n[r+1],o=t[s?-n[r]:n[r]];s?t[we]>>10<t[Ue]>>16&&(3&t[we])===e&&(t[we]+=1024,i.call(o)):i.call(o)}const $s="ng-template";function zs(t,e){const n=t.length,r=t.toLowerCase().indexOf(e),s=r+e.length;return!(-1===r||r>0&&" "!==t[r-1]||s<n&&" "!==t[s])}function qs(t,e,n){return e===(0!==t.type||n?t.tagName:$s)}function Bs(t,e,n){let r=4;const s=t.attrs||[],i=function(t){for(let e=0;e<t.length;e++)if(Zn(t[e]))return e;return t.length}(s);let o=!1;for(let a=0;a<e.length;a++){const l=e[a];if("number"!=typeof l){if(!o)if(4&r){if(r=2|1&r,""!==l&&!qs(t,l,n)||""===l&&1===e.length){if(Ws(r))return!1;o=!0}}else{const c=8&r?l:e[++a];if(8&r&&t.classes){if(!zs(Or(t.classes),c)){if(Ws(r))return!1;o=!0}continue}const u=Zs(8&r?"class":l,s,0==t.type&&t.tagName!==$s,n);if(-1===u){if(Ws(r))return!1;o=!0;continue}if(""!==c){let t;t=u>i?"":s[u+1].toLowerCase();const e=8&r?t:null;if(e&&!zs(e,c)||2&r&&c!==t){if(Ws(r))return!1;o=!0}}}}else{if(!o&&!Ws(r)&&!Ws(l))return!1;if(o&&Ws(l))continue;o=!1,r=l|1&r}}return Ws(r)||o}function Ws(t){return 0==(1&t)}function Zs(t,e,n,r){if(null===e)return-1;let s=0;if(r||!n){let n=!1;for(;s<e.length;){const r=e[s];if(r===t)return s;if(3===r||6===r)n=!0;else{if(1===r||2===r){let t=e[++s];for(;"string"==typeof t;)t=e[++s];continue}if(4===r)break;if(0===r){s+=4;continue}}s+=n?1:2}return-1}return function(t,e){let n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){if(t[n]===e)return n;n++}return-1}(e,t)}function Gs(t,e,n=!1){for(let r=0;r<e.length;r++)if(Bs(t,e[r],n))return!0;return!1}const Qs={element:null,directiveIndex:-1,sourceIndex:-1,classesBitMask:-1,classesIndex:-1,stylesBitMask:-1,stylesIndex:-1},Ys=0,Ks=1;function Js(t,e){return Qs.element!==t?(Qs.element=t,Qs.directiveIndex=e,Qs.sourceIndex=e===ar?0:1,Qs.classesBitMask=Ys,Qs.classesIndex=Ks,Qs.stylesBitMask=Ys,Qs.stylesIndex=Ks):Qs.directiveIndex!==e&&(Qs.directiveIndex=e,Qs.sourceIndex++),Qs}const Xs=0;function ti(t,e,n,r,s,i,o,a,l){const c=Lr(r);xr(t,c)||(ei(t,n,r,s,i,l),fr(t,c?32:16),fr(t,s?1:2));const u=a||kr(e[i],o);return u&&(Sr(e,i,o),32&dr(t)&&!c&&(!s||!o)&&function(t,e,n){const r=vr(t);if(null!==n&&pr(t,1)){const s=4+r;let i=3,o=!1;for(;i<t.length;){if(gr(t,i)===n){o=!0;break}i+=s}if(o){const n=i+4,s=n+r-1;for(let r=n+1;r<s;r++){const n=t[r];0!==n&&Sr(e,n,null)}}}if(pr(t,2)){const n=7,s=n+r-1;for(let r=n+1;r<s;r++){const n=Cr(e,t[r]);n&&Nr(n)}}}(t,e,s)),u}function ei(t,e,n,r,s,i){let o=!1;r=r||or;let a=_r(t);for(;a<=n;)si(t),a++;const l="number"==typeof s,c=4+vr(t);let u=3;for(;u<t.length;){const a=gr(t,u);if(r<=a){r<a?ni(t,u,r,i):l&&fr(t,4),ri(t,u,s,e,n),o=!0;break}u+=c}o||(ni(t,t.length,r,i),ri(t,u,s,e,n))}function ni(t,e,n,r){const s=r?1:0;t.splice(e,0,s,hr,hr,n),e+=4;const i=_r(t);for(let o=0;o<i;o++)t.splice(e,0,cr),e++;t.splice(e,0,lr)}function ri(t,e,n,r,s){if("number"==typeof n){const i=Lr(s);t[e+4+s]=n,function(t,e,n,r){t[e+(r?2:1)]=n}(t,e,yr(t,e,i)|1<<r,i)}else null!==n&&null===br(t,e)&&function(t,e,n){t[e+4+_r(t)]=n}(t,e,n)}function si(t){const e=4+vr(t)-1;let n=3;for(;n<t.length;)n+=e,t.splice(n++,0,cr),n++;t[1]++}function ii(t,e){!function(t,e){let n=!1;for(let r=1;r<e.length;r+=2){const s=Mr(e,r);s&&(ei(t,-1,0,Pr(e,r),s,!1),n=!0)}n&&fr(t,8)}(t,Ar(t)),function(t,e){fr(t,Tr(e))}(t,e)}function oi(t,e,n,r,s,i,o,a){const l=!0===(c=s)?-1:!1===c?0:c;var c;let u=null,h=!1;pr(t,2)&&(u=li,h=0!=(l&yr(t,3,a)));const d=vr(t);let p=1,f=h?1:0;a&&(f|=8,p=d-1);let g=function(t){let e=3;return pr(t,2)&&(e+=4+vr(t)),e}(t);for(;g<t.length;){if(l&yr(t,g,a)){let s=!1;const l=gr(t,g),c=br(t,g);for(let h=0;h<p;h++){const d=wr(t,g,h);if(!s&&0!==d){const c=Cr(r,d);Er(c)&&(a&&0===h||i(e,n,l,o&&mr(t,g)?o(l,c,2):xs(c),d),s=!0)}if(u){let d=f|(s?4:2);a&&0===h&&(d|=16);const p=u(t,e,n,r,h,i,o,d,l,c);s=s||p}}s||i(e,n,l,c)}g+=4+d}u&&(a&&(f|=16),u(t,e,n,r,0,i,o,f))}function ai(t,e,n,r,s,i,o,a){let l=xs(s);if(Er(l))l=a?a(r,s,2):l;else if(pr(e,8)){const t=Ar(e);t&&(l=function(t,e){for(let n=1;n<t.length;n+=2){const r=Pr(t,n);if(r>=e)return r===e?Mr(t,n):null}return null}(t,r))}i(t,n,r,l,o)}let li=null;const ci=(t,e,n,r)=>{if(null!==t)if(r)if(r=r.toString(),Bn(t))t.setStyle(e,n,r,qn.DashCase);else{const t=e.style;null!=t&&t.setProperty(n,r)}else if(Bn(t))t.removeStyle(e,n,qn.DashCase);else{const t=e.style;null!=t&&t.removeProperty(n)}},ui=(t,e,n,r)=>{if(null!==t&&""!==n)if(r)if(Bn(t))t.addClass(e,n);else{const t=e.classList;null!=t&&t.add(n)}else if(Bn(t))t.removeClass(e,n);else{const t=e.classList;null!=t&&t.remove(n)}};function hi(t,e,n,r){const s=Ar(n);if(s)for(let i=1;i<s.length;i+=2){const n=Pr(s,i),o=Mr(s,i);r?ui(t,e,n,o,null):ci(t,e,n,o,null)}}function di(t){pi(ln(),Mn()+t,En())}function pi(t,e,n){if(un(1)&&mn(),!n)if(3==(3&t[we])){const n=t[_e].preOrderCheckHooks;null!==n&&Ms(t,n,e)}else{const n=t[_e].preOrderHooks;null!==n&&Ls(t,n,0,e)}Ln(e)}const fi=(t,e,n,r,s,i,o,a,l,c)=>{let u=!1;if(vr(t)){let h=!0;const d=!l;d&&0==(1&a)&&(h=!1,u=!0),h&&(u=function t(e,n,r,s,i,o,a,l,c,u){const h=vr(e)-1-1,d=c<h&&0!=(8&a),p=0!=(16&a);p&&(a&=-17);let f=!1;if(c<=h){let h=function(t){return t>=yi.length&&yi.push(1),yi[t]}(c);const m=wr(e,3,c),y=Cr(s,m);if(y){for(;h<y.length;){const g=Pr(y,h),v=l&&g>l,_=!v&&g===l,w=Mr(y,h),b=Er(w),S=v?a:gi(a,b,_),C=v?l:g;let x=!!d&&t(e,n,r,s,i,o,S,C,c+1,u);if(v){f||(f=x);break}if(!x&&mi(a,_)&&(x=!0,!p)){const t=_?m:null;let e;i(n,r,g,e=_&&!b?u:o?o(g,w,3):w?xs(w):null,t)}f=x&&_,h+=2}g=h,yi[c]=g,!d||1!==y.length&&l||(f=t(e,n,r,s,i,o,a,l,c+1,u))}else d&&(f=t(e,n,r,s,i,o,a,l,c+1,u))}var g;return f}(t,e,n,r,i,o,a,l||null,s,c||null)),d&&function(){for(let t=0;t<yi.length;t++)yi[t]=1}()}return u};function gi(t,e,n){let r=t;return!e&&(n?2&t:1&t)?(r|=2,r&=-5):(r|=4,r&=-3),r}function mi(t,e){let n=0!=(1&t);return n?4&t&&e&&(n=!1):2&t&&(n=e),n}const yi=[];function vi(t,e){const n=t.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const s=n[r],i=n[r+1];if(-1!==i){const n=t.data[i];jn(s),n.contentQueries(2,e[i],i)}}}function _i(t,e,n){return Bn(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function wi(t,e,n,r,s,i,o,a,l,c){const u=e.blueprint.slice();return u[ve]=s,u[we]=140|r,Yr(u),u[be]=u[je]=t,u[Ee]=n,u[Ae]=o||t&&t[Ae],u[Re]=a||t&&t[Re],u[Oe]=l||t&&t[Oe]||null,u[Ie]=c||t&&t[Ie]||null,u[xe]=i,u}function bi(t,e,n,r,s,i){const o=n+Me,a=t.data[o]||function(t,e,n,r,s,i){const o=wn(),a=Cn(),l=a?o:o&&o.parent,c=l&&l!==e?l:null,u=t.data[n]=Ri(0,c,r,n,s,i);return null===t.firstChild&&(t.firstChild=u),o&&(!a||null!=o.child||null===u.parent&&2!==o.type?a||(o.next=u):o.child=u),u}(t,e,o,r,s,i);return bn(a,!0),a}function Si(t,e,n){const r=Nn(t,t[xe]);try{const s=e.viewQuery;null!==s&&Yi(1,s,n);const i=e.template;null!==i&&Ti(t,i,1,n),e.firstTemplatePass&&(e.firstTemplatePass=!1),e.staticContentQueries&&vi(e,t),e.staticViewQueries&&Yi(2,e.viewQuery,n);const o=e.components;null!==o&&function(t,e){for(let n=0;n<e.length;n++)Bi(t,e[n])}(t,o)}finally{t[we]&=-5,Nn(r,null)}}function Ci(t,e,n,r){const s=Nn(t,t[xe]),i=t[we];try{Yr(t),On(t[Te]=e.bindingStartIndex),null!==n&&Ti(t,n,2,r);const o=En(),a=3==(3&i);if(!o)if(a){const n=e.preOrderCheckHooks;null!==n&&Ms(t,n,null)}else{const n=e.preOrderHooks;null!==n&&Ls(t,n,0,null),Hs(t,0)}if(function(t){let e=t[De];for(;null!==e;){if(Be(e)&&-1===e[He])for(let t=ze;t<e.length;t++){const n=e[t],r=n[_e];Ci(n,r,r.template,n[Ee])}e=e[Se]}}(t),null!==e.contentQueries&&vi(e,t),!o)if(a){const n=e.contentCheckHooks;null!==n&&Ms(t,n)}else{const n=e.contentHooks;null!==n&&Ls(t,n,1),Hs(t,1)}!function(t,e){const n=Mn();try{if(null!==t.expandoInstructions){let n=e[Te]=t.expandoStartIndex;On(n);let r=-1,s=-1;for(let i=0;i<t.expandoInstructions.length;i++){const o=t.expandoInstructions[i];if("number"==typeof o){if(o<=0){hn(s=-o);const e=t.expandoInstructions[++i];r=n+=Xe+e}else n+=o;On(n)}else null!==o&&(_n(),e[Te]=n,o(2,$r(e[r]),s)),r++}}}finally{hn(n)}}(e,t);const l=e.viewQuery;null!==l&&Yi(2,l,r);const c=e.components;if(null!==c&&function(t,e){for(let n=0;n<e.length;n++)qi(t,e[n])}(t,c),!o)if(a){const n=e.viewCheckHooks;null!==n&&Ms(t,n)}else{const n=e.viewHooks;null!==n&&Ls(t,n,2),Hs(t,2)}}finally{t[we]&=-73,Nn(s,null)}}function xi(t,e,n){const r=t[Ae],s=!En(),i=Qr(t),o=wn(),a=Cn();try{s&&!i&&r.begin&&r.begin();const l=t[_e];i&&Si(t,l,n),Ci(t,l,e,n)}finally{s&&!i&&r.end&&r.end(),bn(o,a)}}function Ti(t,e,n,r){Fn();const s=Mn();try{hn(null),2&n&&t.length>Me&&pi(t,0,En()),e(n,r)}finally{un(1)&&mn(),Ln(s)}}function ki(t,e,n){an()&&(function(t,e,n){const r=n.directiveStart,s=n.directiveEnd;!t.firstTemplatePass&&r<s&&rs(n,e);for(let i=r;i<s;i++){const r=t.data[i];Qe(r)&&$i(e,n,r),Ui(e,n,ds(t.data,e,i,n),r,i)}}(t,e,n),function(t,e,n){const r=n.directiveStart,s=n.directiveEnd,i=t.expandoInstructions,o=t.firstTemplatePass,a=n.index-Me,l=Mn();try{hn(a);for(let a=r;a<s;a++){const r=t.data[a],s=e[a];r.hostBindings?(_n(),ji(r,i,s,n,o)):o&&i.push(null)}}finally{hn(l)}}(t,e,n),hn(null))}function Ei(t,e,n=qr){const r=e.localNames;if(r){let s=e.index+1;for(let i=0;i<r.length;i+=2){const o=r[i+1],a=-1===o?n(e,t):t[o];t[s++]=a}}}function Ii(t){return t.tView||(t.tView=Ai(-1,t.template,t.consts,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas))}function Ai(t,e,n,r,s,i,o,a){const l=Me+n,c=l+r,u=function(t,e){const n=[];for(let r=0;r<e;r++)n.push(r<t?null:ir);return n[Te]=t,n}(l,c);return u[_e]={id:t,blueprint:u,template:e,queries:null,viewQuery:o,node:null,data:u.slice().fill(null,l),bindingStartIndex:l,expandoStartIndex:c,expandoInstructions:null,firstTemplatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof s?s():s,pipeRegistry:"function"==typeof i?i():i,firstChild:null,schemas:a}}function Ri(t,e,n,r,s,i){return{type:n,index:r,injectorIndex:e?e.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,propertyBindings:null,flags:0,providerIndexes:0,tagName:s,attrs:i,localNames:null,initialInputs:void 0,inputs:void 0,outputs:void 0,tViews:null,next:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,classes:null}}function Oi(t,e,n){for(let r in t)if(t.hasOwnProperty(r)){n=null===n?{}:n;const s=t[r];n.hasOwnProperty(r)?n[r].push(e,r,s):n[r]=[e,r,s]}return n}function Di(t,e,n,r,s,i,o){const a=zr(e,t),l=Wr(e,t);let c,u=l.inputs;if(!i&&null!=u&&(c=u[n]))eo(t,c,r),Ze(l)&&function(t,e){const n=Zr(e,t);16&n[we]||(n[we]|=64)}(t,e+Me);else if(3===l.type){n="class"===(h=n)?"className":"for"===h?"htmlFor":"formaction"===h?"formAction":"innerHtml"===h?"innerHTML":"readonly"===h?"readOnly":"tabindex"===h?"tabIndex":h;const e=o?o(l,t):t[Re];r=null!=s?s(r,l.tagName||"",n):r,Bn(e)?e.setProperty(a,n,r):Qn(n)||(a.setProperty?a.setProperty(n,r):a[n]=r)}else l.type;var h}function Pi(t,e,n,r){if(!an())return;const s=function(t,e,n){const r=t.directiveRegistry;let s=null;if(r)for(let i=0;i<r.length;i++){const o=r[i];Gs(n,o.selectors,!1)&&(s||(s=[]),as(rs(n,e),t,o.type),Qe(o)?(2&n.flags&&Ps(n),Li(t,n),s.unshift(o)):s.push(o))}return s}(t,e,n),i=r?{"":-1}:null;if(s){Vi(n,t.data.length,s.length);for(let t=0;t<s.length;t++){const e=s[t];e.providersResolver&&e.providersResolver(e)}Ni(t,n,s.length);const r=t.preOrderHooks&&t.preOrderHooks.length||0,o=t.preOrderCheckHooks&&t.preOrderCheckHooks.length||0,a=n.index-Me;for(let l=0;l<s.length;l++){const c=s[l],u=t.data.length;Fi(t,e,c),Hi(t.data.length-1,c,i),c.contentQueries&&(n.flags|=8),Ns(u,c,t,a,r,o)}!function(t,e){const n=e.directiveStart,r=e.directiveEnd,s=t.data;let i=null,o=null;for(let a=n;a<r;a++){const t=s[a];i=Oi(t.inputs,a,i),o=Oi(t.outputs,a,o)}e.inputs=i,e.outputs=o}(t,n)}i&&function(t,e,n){if(e){const r=t.localNames=[];for(let t=0;t<e.length;t+=2){const s=n[e[t+1]];if(null==s)throw new Error(`Export of name '${e[t+1]}' not found!`);r.push(e[t],s)}}}(n,r,i)}function ji(t,e,n,r,s){const i=e.length;on(t);const o=r.index-Me;t.hostBindings(1,n,o),on(null),i===e.length&&s&&e.push(t.hostBindings)}function Ni(t,e,n){const r=-(e.index-Me),s=65535&e.providerIndexes,i=t.data.length-s;(t.expandoInstructions||(t.expandoInstructions=[])).push(r,i,n)}function Ui(t,e,n,r,s){Mi(t,e,n),null!==e.attrs&&function(t,e,n,r,s){let i=s.initialInputs;(void 0===i||e>=i.length)&&(i=function(t,e,n){const r=n.initialInputs||(n.initialInputs=[]);for(let o=r.length;o<=t;o++)r.push(null);const s=n.attrs;let i=0;for(;i<s.length;){const n=s[i];if(0===n){i+=4;continue}if(5===n){i+=2;continue}if("number"==typeof n)break;const o=e[n],a=s[i+1];void 0!==o&&(r[t]||(r[t]=[])).push(n,o,a),i+=2}return r}(e,r.inputs,s));const o=i[e];if(o){const t=r.setInput;for(let e=0;e<o.length;){const s=o[e++],i=o[e++],a=o[e++];t?r.setInput(n,a,s,i):n[i]=a}}}(0,s,n,r,e),Qe(r)&&(Zr(e.index,t)[Ee]=n)}function Mi(t,e,n){Ds(n,t);const r=qr(e,t);r&&Ds(r,t)}function Li(t,e){e.flags=2,(t.components||(t.components=[])).push(e.index)}function Hi(t,e,n){if(n){if(e.exportAs)for(let r=0;r<e.exportAs.length;r++)n[e.exportAs[r]]=t;e.template&&(n[""]=t)}}function Vi(t,e,n){const r=t.flags;t.flags=2&r|1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function Fi(t,e,n){t.data.push(n);const r=n.factory||(n.factory=me(n.type)),s=new en(r,Qe(n),null);t.blueprint.push(s),e.push(s)}function $i(t,e,n){const r=qr(e,t),s=Ii(n),i=t[Ae],o=Wi(t,wi(t,s,null,n.onPush?64:16,r,e,i,i.createRenderer(r,n)));t[e.index]=o}function zi(t,e,n,r,s){return new Array(t,!0,s?-1:0,e,null,null,r,n,null)}function qi(t,e){const n=Zr(e,t);if(128==(128&n[we])&&80&n[we]){const t=n[_e];Ci(n,t,t.template,n[Ee])}}function Bi(t,e){const n=Zr(e,t);!function(t){const e=t[_e];for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(n),Si(n,n[_e],n[Ee])}function Wi(t,e){return t[De]?t[Pe][Se]=e:t[De]=e,t[Pe]=e,e}function Zi(t){for(;t;){t[we]|=64;const e=Kr(t);if(Ye(t)&&!e)return t;t=e}return null}function Gi(t,e){const n=t[Ae],r=wn(),s=Cn();n.begin&&n.begin();try{const i=t[_e];Ci(t,i,i.template,e)}catch(i){throw to(t,i),i}finally{n.end&&n.end(),bn(r,s)}}function Qi(t){!function(t){for(let e=0;e<t.components.length;e++){const n=t.components[e],r=Gr(n);xi(r,r[_e].template,n)}}(t[Ee])}function Yi(t,e,n){jn(0),e(t,n)}const Ki=(()=>Promise.resolve(null))();function Ji(t){return t[ke]||(t[ke]=[])}function Xi(t){return t[_e].cleanup||(t[_e].cleanup=[])}function to(t,e){const n=t[Ie],r=n?n.get(Ss,null):null;r&&r.handleError(e)}function eo(t,e,n){const r=t[_e];for(let s=0;s<e.length;){const i=e[s++],o=e[s++],a=e[s++],l=t[i],c=r.data[i];c.setInput?c.setInput(l,n,o,a):l[a]=n}}function no(t,e,n){const r=zr(e,t),s=t[Re];Bn(s)?s.setValue(r,n):r.textContent=n}function ro(t,e){const n=e[be];return-1===t.index?Be(n)?n:null:n}function so(t,e){const n=ro(t,e);return n?mo(e[Re],n[Fe]):null}function io(t,e,n,r,s){if(null!=r){let i,o=!1;Be(r)?i=r:qe(r)&&(o=!0,r=r[ve]);const a=$r(r);0===t&&null!==n?null==s?fo(e,n,a):po(e,n,a,s||null):1===t&&null!==n?po(e,n,a,s||null):2===t?function(t,e,n){const r=mo(t,e);r&&function(t,e,n,r){Bn(t)?t.removeChild(e,n,r):e.removeChild(n)}(t,r,e,n)}(e,a,o):3===t&&e.destroyNode(a),null!=i&&function(t,e,n,r,s){const i=n[Fe];i!==$r(n)&&io(e,t,r,i,s);for(let o=ze;o<n.length;o++)wo(t,e,n[o],r,i)}(e,t,i,n,s)}}function oo(t,e,n){const r=so(t[_e].node,t);r&&wo(t[Re],e?1:2,t,r,n)}function ao(t,e){const n=t[Ve],r=n.indexOf(e);n.splice(r,1)}function lo(t,e){if(t.length<=ze)return;const n=ze+e,r=t[n];if(r){const s=r[Ne];null!==s&&s!==t&&ao(s,r),e>0&&(t[n-1][Se]=r[Se]);const i=Qt(t,ze+e);oo(r,!1,null);const o=i[Ce];null!==o&&o.detachView(i[_e]),r[be]=null,r[Se]=null,r[we]&=-129}return r}function co(t){if(!(256&t[we])){const e=t[Re];Bn(e)&&e.destroyNode&&wo(e,3,t,null,null),function(t){let e=t[De];if(!e)return ho(t);for(;e;){let n=null;if(qe(e))n=e[De];else{const t=e[ze];t&&(n=t)}if(!n){for(;e&&!e[Se]&&e!==t;)ho(e),e=uo(e,t);ho(e||t),n=e&&e[Se]}e=n}}(t)}}function uo(t,e){let n;return qe(t)&&(n=t[xe])&&2===n.type?ro(n,t):t[be]===e?null:t[be]}function ho(t){if(qe(t)&&!(256&t[we])){t[we]&=-129,t[we]|=256,function(t){const e=t[_e];let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const e=t[n[r]];e instanceof en||n[r+1].call(e)}}(t),function(t){const e=t[_e].cleanup;if(null!==e){const n=t[ke];for(let r=0;r<e.length-1;r+=2)if("string"==typeof e[r]){const s=e[r+1],i="function"==typeof s?s(t):$r(t[s]),o=n[e[r+2]],a=e[r+3];"boolean"==typeof a?i.removeEventListener(e[r],o,a):a>=0?n[a]():n[-a].unsubscribe(),r+=2}else{const t=n[e[r+1]];e[r].call(t)}t[ke]=null}}(t);const e=t[xe];e&&3===e.type&&Bn(t[Re])&&t[Re].destroy();const n=t[Ne];if(null!==n&&Be(t[be])){n!==t[be]&&ao(n,t);const e=t[Ce];null!==e&&e.detachView(t[_e])}}}function po(t,e,n,r){Bn(t)?t.insertBefore(e,n,r):e.insertBefore(n,r,!0)}function fo(t,e,n){Bn(t)?t.appendChild(e,n):e.appendChild(n)}function go(t,e,n,r){null!==r?po(t,e,n,r):fo(t,e,n)}function mo(t,e){return Bn(t)?t.parentNode(e):e.parentNode}function yo(t,e,n){const r=function(t,e){if(Ye(e))return mo(e[Re],qr(t,e));let n=t.parent;for(;null!=n&&(4===n.type||5===n.type);)n=(t=n).parent;if(null==n){const t=e[xe];return 2===t.type?so(t,e):function(t){const e=t[xe];return e&&3===e.type?qr(e,Kr(t)):null}(e)}if(t&&5===t.type&&4&t.flags)return qr(t,e).parentNode;if(2&n.flags){const t=e[_e].data,r=t[t[n.index].directiveStart].encapsulation;if(r!==Kt.ShadowDom&&r!==Kt.Native)return null}return qr(n,e)}(e,n);if(null!=r){const s=n[Re],i=function(t,e){if(2===t.type){const n=ro(t,e);return null===n?null:vo(n.indexOf(e,ze)-ze,n)}return 4===t.type||5===t.type?qr(t,e):null}(e.parent||n[xe],n);if(Array.isArray(t))for(let e=0;e<t.length;e++)go(s,r,t[e],i);else go(s,r,t,i)}}function vo(t,e){const n=ze+t+1;if(n<e.length){const t=e[n];let r=t[xe].child;if(null!==r){if(4===r.type||5===r.type){let t=r.child;for(;t&&(4===t.type||5===t.type);)t=t.child;r=t||r}return Br(r,t)}}return e[Fe]}function _o(t,e,n,r,s,i,o){for(;null!=n;){const a=r[n.index],l=n.type;o&&0===e&&(a&&Ds($r(a),r),n.flags|=4),64!=(64&n.flags)&&(4===l||5===l?(_o(t,e,n.child,r,s,i,!1),io(e,t,s,a,i)):1===l?bo(t,e,r,n,s,i):io(e,t,s,a,i)),n=o?n.projectionNext:n.next}}function wo(t,e,n,r,s){_o(t,e,n[_e].node.child,n,r,s,!1)}function bo(t,e,n,r,s,i){const o=Jr(n),a=o[xe].projection[r.projection];if(Array.isArray(a))for(let l=0;l<a.length;l++)io(e,t,s,a[l],i);else _o(t,e,a,o[be],s,i,!0)}class So{constructor(t,e,n){this._context=e,this._componentIndex=n,this._appRef=null,this._viewContainerRef=null,this._tViewNode=null,this._lView=t}get rootNodes(){if(null==this._lView[ve]){const t=this._lView[xe];return function t(e,n,r){let s=n.child;for(;s;){const n=Br(s,e);if(n&&r.push(n),4===s.type)t(e,s,r);else if(1===s.type){const t=Jr(e),n=t[xe],i=Kr(t);let o=n.projection[s.projection];for(;o&&i;)r.push(qr(o,i)),o=o.next}s=s.next}return r}(this._lView,t,[])}return[]}get context(){return this._context?this._context:this._lookUpContext()}get destroyed(){return 256==(256&this._lView[we])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){const t=this._viewContainerRef.indexOf(this);t>-1&&this._viewContainerRef.detach(t),this._viewContainerRef=null}co(this._lView)}onDestroy(t){var e,n;n=t,Ji(e=this._lView).push(n),e[_e].firstTemplatePass&&Xi(e).push(e[ke].length-1,null)}markForCheck(){Zi(this._lView)}detach(){this._lView[we]&=-129}reattach(){this._lView[we]|=128}detectChanges(){Gi(this._lView,this.context)}checkNoChanges(){!function(t,e){In(!0);try{Gi(t,e)}finally{In(!1)}}(this._lView,this.context)}attachToViewContainerRef(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t}detachFromAppRef(){this._appRef=null,function(t){wo(t[Re],2,t,null,null)}(this._lView)}attachToAppRef(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}_lookUpContext(){return this._context=Kr(this._lView)[this._componentIndex]}}class Co extends So{constructor(t){super(t,null,-1),this._view=t}detectChanges(){Qi(this._view)}checkNoChanges(){!function(t){In(!0);try{Qi(t)}finally{In(!1)}}(this._view)}get context(){return null}}let xo,To,ko;function Eo(t,e,n){return xo||(xo=class extends t{}),new xo(qr(e,n))}function Io(t,e,n,r){return To||(To=class extends t{constructor(t,e,n){super(),this._declarationView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=wi(this._declarationView,e,t,16,null,e.node),r=this._declarationView[this._declarationTContainer.index];n[Ne]=r;const s=this._declarationView[Ce];null!==s&&(n[Ce]=s.createEmbeddedView(e)),Si(n,e,t);const i=new So(n,t,-1);return i._tViewNode=n[xe],i}}),0===n.type?new To(r,n,Eo(e,n,r)):null}function Ao(t,e,n,r){let s;ko||(ko=class extends t{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostView=n}get element(){return Eo(e,this._hostTNode,this._hostView)}get injector(){return new gs(this._hostTNode,this._hostView)}get parentInjector(){const t=os(this._hostTNode,this._hostView),e=Xn(t,this._hostView),n=function(t,e,n){if(n.parent&&-1!==n.parent.injectorIndex){const t=n.parent.injectorIndex;let e=n.parent;for(;null!=e.parent&&t==e.injectorIndex;)e=e.parent;return e}let r=Jn(t),s=e,i=e[xe];for(;r>1;)i=(s=s[je])[xe],r--;return i}(t,this._hostView,this._hostTNode);return Yn(t)&&null!=n?new gs(n,e):new gs(null,this._hostView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){return null!==this._lContainer[$e]&&this._lContainer[$e][t]||null}get length(){return this._lContainer.length-ze}createEmbeddedView(t,e,n){const r=t.createEmbeddedView(e||{});return this.insert(r,n),r}createComponent(t,e,n,r,s){const i=n||this.parentInjector;!s&&null==t.ngModule&&i&&(s=i.get(Bt,null));const o=t.create(i,r,void 0,s);return this.insert(o.hostView,e),o}insert(t,e){if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");this.allocateContainerIfNeeded();const n=t._lView,r=this._adjustIndex(e);return Be(n[be])?this.move(t,r):(function(t,e,n){const r=ze+n,s=e.length;n>0&&(e[r-1][Se]=t),n<s-ze?(t[Se]=e[r],Gt(e,ze+n,t)):(e.push(t),t[Se]=null),t[be]=e;const i=t[Ne];null!==i&&e!==i&&function(t,e){const n=t[Ve];null===n?t[Ve]=[e]:n.push(e)}(i,t);const o=t[Ce];null!==o&&o.insertView(t[_e]),t[we]|=128}(n,this._lContainer,r),oo(n,!0,vo(r,this._lContainer)),t.attachToViewContainerRef(this),Gt(this._lContainer[$e],r,t),t)}move(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");const n=this.indexOf(t);return-1!==n&&this.detach(n),this.insert(t,e),t}indexOf(t){return null!==this._lContainer[$e]?this._lContainer[$e].indexOf(t):0}remove(t){this.allocateContainerIfNeeded();const e=this._adjustIndex(t,-1);(function(t,e){const n=lo(t,e);n&&co(n)})(this._lContainer,e),Qt(this._lContainer[$e],e)}detach(t){this.allocateContainerIfNeeded();const e=this._adjustIndex(t,-1),n=lo(this._lContainer,e);return n&&null!=Qt(this._lContainer[$e],e)?new So(n,n[Ee],-1):null}_adjustIndex(t,e=0){return null==t?this.length+e:t}allocateContainerIfNeeded(){null===this._lContainer[$e]&&(this._lContainer[$e]=[])}});const i=r[n.index];if(Be(i))(s=i)[He]=-1;else{let t;if(t=4===n.type?$r(i):r[Re].createComment(""),Ye(r)){const e=r[Re],s=qr(n,r);po(e,mo(e,s),t,function(t,e){return Bn(t)?t.nextSibling(e):e.nextSibling}(e,s))}else yo(t,n,r);r[n.index]=s=zi(i,r,t,n,!0),Wi(r,s)}return new ko(s,n,r)}let Ro=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Oo(),t})();const Oo=function(t=!1){return function(t,e,n){if(Ze(t)&&!n){const n=t.directiveStart,r=Zr(t.index,e);return new So(r,null,n)}if(3===t.type||0===t.type||4===t.type){const t=Jr(e);return new So(t,t[Ee],-1)}return null}(wn(),ln(),t)},Do=new Et("Set Injector scope."),Po={},jo={},No=[];let Uo=void 0;function Mo(){return void 0===Uo&&(Uo=new qt),Uo}function Lo(t,e=null,n=null,r){return e=e||Mo(),new Ho(t,n,e,r)}class Ho{constructor(t,e,n,r=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const s=[];e&&Zt(e,n=>this.processProvider(n,t,e)),Zt([t],t=>this.processInjectorType(t,[],s)),this.records.set(It,$o(void 0,this));const i=this.records.get(Do);this.scope=null!=i?i.value:null,this.injectorDefTypes.forEach(t=>this.get(t)),this.source=r||("object"==typeof t?null:vt(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,e=At,n=ct.Default){this.assertNotDestroyed();const r=Lt(this);try{if(!(n&ct.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(s=t)||"object"==typeof s&&s instanceof Et)&&ft(t);e=n&&this.injectableDefInScope(n)?$o(Vo(t),Po):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}const i=n&ct.Self?Mo():this.parent;return e=n&ct.Optional&&e===At?null:e,i.get(t,e)}catch(i){if("NullInjectorError"===i.name){if((i[Rt]=i[Rt]||[]).unshift(vt(t)),r)throw i;return function(t,e,n,r){const s=t[Rt];throw e[jt]&&s.unshift(e[jt]),t.message=function(t,e,n,r=null){t=t&&"\n"===t.charAt(0)&&t.charAt(1)==Pt?t.substr(2):t;let s=vt(e);if(e instanceof Array)s=e.map(vt).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let r=e[n];t.push(n+":"+("string"==typeof r?JSON.stringify(r):vt(r)))}s=`{${t.join(", ")}}`}return`${n}${r?"("+r+")":""}[${s}]: ${t.replace(Dt,"\n ")}`}("\n"+t.message,s,n,r),t[Ot]=s,t[Rt]=null,t}(i,t,"R3InjectorError",this.source)}throw i}finally{Lt(r)}var s}toString(){const t=[];return this.records.forEach((e,n)=>t.push(vt(n))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,n){if(!(t=bt(t)))return!1;let r=gt(t);const s=null==r&&t.ngModule||void 0,i=void 0===s?t:s,o=-1!==n.indexOf(i);if(void 0!==s&&(r=gt(s)),null==r)return!1;if(this.injectorDefTypes.add(i),this.records.set(i,$o(r.factory,Po)),null!=r.imports&&!o){let t;n.push(i);try{Zt(r.imports,r=>{this.processInjectorType(r,e,n)&&(void 0===t&&(t=[]),t.push(r))})}finally{}if(void 0!==t)for(let e=0;e<t.length;e++){const{ngModule:n,providers:r}=t[e];Zt(r,t=>this.processProvider(t,n,r||No))}}const a=r.providers;if(null!=a&&!o){const e=t;Zt(a,t=>this.processProvider(t,e,a))}return void 0!==s&&void 0!==t.providers}processProvider(t,e,n){let r=qo(t=bt(t))?t:bt(t&&t.provide);const s=function(t,e,n){let r=Fo(t,e,n);return zo(t)?$o(void 0,t.useValue):$o(r,Po)}(t,e,n);if(qo(t)||!0!==t.multi){const t=this.records.get(r);t&&void 0!==t.multi&&js()}else{let e=this.records.get(r);e?void 0===e.multi&&js():((e=$o(void 0,Po,!0)).factory=()=>zt(e.multi),this.records.set(r,e)),r=t,e.multi.push(t)}this.records.set(r,s)}hydrate(t,e){var n;return e.value===jo?function(t){throw new Error(`Cannot instantiate cyclic dependency! ${t}`)}(vt(t)):e.value===Po&&(e.value=jo,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(n=e.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value}injectableDefInScope(t){return!!t.providedIn&&("string"==typeof t.providedIn?"any"===t.providedIn||t.providedIn===this.scope:this.injectorDefTypes.has(t.providedIn))}}function Vo(t){const e=ft(t),n=null!==e?e.factory:me(t);if(null!==n)return n;const r=gt(t);if(null!==r)return r.factory;if(t instanceof Et)throw new Error(`Token ${vt(t)} is missing an ngInjectableDef definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const n=function(t,e){const n=[];for(let r=0;r<t;r++)n.push("?");return n}(e);throw new Error(`Can't resolve all parameters for ${vt(t)}: (${n.join(", ")}).`)}const n=(r=t)&&r[mt]?(console.warn(`DEPRECATED: DI is instantiating a token "${r.name}" that inherits its @Injectable decorator but does not provide one itself.\n`+`This will become an error in v10. Please add @Injectable() to the "${r.name}" class.`),r[mt]):null;var r;return null!==n?()=>n.factory(t):()=>new t}(t);throw new Error("unreachable")}function Fo(t,e,n){let r=void 0;if(qo(t))return Vo(bt(t));if(zo(t))r=()=>bt(t.useValue);else if((s=t)&&s.useExisting)r=()=>Ft(bt(t.useExisting));else if(function(t){return!(!t||!t.useFactory)}(t))r=()=>t.useFactory(...zt(t.deps||[]));else{const s=bt(t&&(t.useClass||t.provide));if(s||function(t,e,n){let r="";throw t&&e&&(r=` - only instances of Provider and Type are allowed, got: [${e.map(t=>t==n?"?"+n+"?":"...").join(", ")}]`),new Error(`Invalid provider for the NgModule '${vt(t)}'`+r)}(e,n,t),!function(t){return!!t.deps}(t))return Vo(s);r=()=>new s(...zt(t.deps))}var s;return r}function $o(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function zo(t){return null!==t&&"object"==typeof t&&Nt in t}function qo(t){return"function"==typeof t}const Bo=function(t,e,n){return Lo({name:n},e,t,n)};let Wo=(()=>{class t{static create(t,e){return Array.isArray(t)?Bo(t,e,""):Bo(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=At,t.NULL=new qt,t.ngInjectableDef=dt({token:t,providedIn:"any",factory:()=>Ft(It)}),t.__NG_ELEMENT_ID__=-1,t})();const Zo=new Et("AnalyzeForEntryComponents");let Go=new Map;const Qo=new Set;function Yo(t){return"string"==typeof t?t:t.text()}function Ko(t){const e=ln(),n=e[_e];n.firstTemplatePass&&(function(t,e,n){const r=t.expandoInstructions,s=r.length;s>=2&&r[s-2]===e.hostBindings?r[s-1]=r[s-1]+n:r.push(e.hostBindings,n)}(n,sn,t),function(t,e,n){for(let r=0;r<n;r++)e.push(ir),t.blueprint.push(ir),t.data.push(null)}(n,e,t))}let Jo=null;function Xo(){if(!Jo){const t=kt.Symbol;if(t&&t.iterator)Jo=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;e<t.length;++e){const n=t[e];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(Jo=n)}}}return Jo}function ta(t,e){return t===e||"number"==typeof t&&"number"==typeof e&&isNaN(t)&&isNaN(e)}class ea{constructor(t){this.wrapped=t}static wrap(t){return new ea(t)}static unwrap(t){return ea.isWrapped(t)?t.wrapped:t}static isWrapped(t){return t instanceof ea}}function na(t){return!!ra(t)&&(Array.isArray(t)||!(t instanceof Map)&&Xo()in t)}function ra(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function sa(t,e,n){return t[e]=n}function ia(t,e){return t[e]}function oa(t,e,n){const r=t[e];return!Object.is(r,n)&&(t[e]=n,!0)}function aa(t,e,n,r){const s=oa(t,e,n);return oa(t,e+1,r)||s}function la(t,e,n,r){const s=ln();return oa(s,s[Te]++,e)&&function(t,e,n,r,s,i){const o=zr(t,r),a=r[Re];if(null==n)Bn(a)?a.removeAttribute(o,e,i):o.removeAttribute(e);else{const l=Wr(t,r),c=null==s?tr(n):s(n,l.tagName||"",e);Bn(a)?a.setAttribute(o,e,c,i):i?o.setAttributeNS(i,e,c):o.setAttribute(e,c)}}(Mn(),t,e,s,n,r),la}function ca(t,e,n,r,s,i,o,a){const l=ln(),c=l[_e],u=function(t,e,n,r){const s=e+Me,i=t[s]=t[Re].createComment(""),o=bi(t[_e],t[xe],e,0,n,r),a=t[s]=zi(i,t,i,o);return yo(i,o,t),Ds(qr(o,t),t),Wi(t,a),o}(l,t,s||null,i||null);if(c.firstTemplatePass){Pi(c,l,u,o||null),Us(c,u);const t=u.tViews=Ai(-1,e,n,r,c.directiveRegistry,c.pipeRegistry,null,c.schemas),s=Ri(0,null,2,-1,null,null);s.injectorIndex=u.injectorIndex,t.node=s,null!==c.queries&&(c.queries.template(c,u),t.queries=c.queries.embeddedTView(u))}Ge(u)&&ki(c,l,u),null!=o&&Ei(l,u,a),xn()}function ua(t,e=ct.Default){t=bt(t);const n=ln();return null==n?Ft(t,e):ls(wn(),n,t,e)}function ha(t){return function(t,e){if("class"===e)return Or(t.classes);if("style"===e)return Or(t.styles);const n=t.attrs;if(n){const t=n.length;let r=0;for(;r<t;){const s=n[r];if(Zn(s))break;if(0===s)r+=2;else if("number"==typeof s)for(r++;r<t&&"string"==typeof n[r];)r++;else{if(s===e)return n[r+1];r+=2}}}return null}(wn(),t)}function da(){const t=ln(),e=Wr(Mn(),t),n=qr(e,t),r=vn(),s=pa(e,t),i=zn();(function(t,e,n,r,s,i,o){const a=Js(s,i),l=Lr(a.sourceIndex);r&&(xr(r,l)||ii(r,l),0!==a.stylesBitMask&&oi(r,t,s,e,a.stylesBitMask,ci,o,l)),n&&(xr(n,l)||ii(n,l),0!==a.classesBitMask&&oi(n,t,s,e,a.classesBitMask,ui,null,l)),Qs.element=null})(s,t,Rr(e.classes)?e.classes:null,Rr(e.styles)?e.styles:null,n,r,i),$n(null)}function pa(t,e){return 3===t.type?e[Re]:null}function fa(t,e){Ar(t)[0]=e}function ga(){return Lr(vn())}function ma(t,e,n,r){const s=ln(),i=s[_e],o=s[Re],a=s[t+Me]=_i(e,o,Vn),l=bi(i,s[xe],t,3,e,n||null);if(null!=n){const t=function(t,e,n){const r=Bn(t);let s=0;for(;s<n.length;){const i=n[s];if("number"==typeof i){if(0!==i)break;s++;const o=n[s++],a=n[s++],l=n[s++];r?t.setAttribute(e,a,l,o):e.setAttributeNS(o,a,l)}else{const o=i,a=n[++s];Qn(o)?r&&t.setProperty(e,o,a):r?t.setAttribute(e,o,a):e.setAttribute(o,a),s++}}return s}(o,a,n);i.firstTemplatePass&&function(t,e,n){let r=!1,s=Ar(t.styles),i=Ar(t.classes),o=-1;for(let a=n;a<e.length;a++){const t=e[a];"number"==typeof t?o=t:1==o?(Vr(i=i||[""],t,!0),r=!0):2==o&&(Vr(s=s||[""],t,e[++a]),r=!0)}i&&i.length>1&&(t.classes||(t.classes=i),fa(t.classes,Hr(i,!0))),s&&s.length>1&&(t.styles||(t.styles=s),fa(t.styles,Hr(s,!1)))}(l,n,t)}if(function(t,e,n){hi(t,e,n.classes,!0),hi(t,e,n.styles,!1)}(o,a,l),yo(a,l,s),0===nn&&Ds(a,s),nn++,i.firstTemplatePass){Pi(i,s,l,r||null);const t=l.inputs;null!=t&&(t.hasOwnProperty("class")&&(l.flags|=16),t.hasOwnProperty("style")&&(l.flags|=32)),null!==i.queries&&i.queries.elementStart(i,l)}Ge(l)&&(ki(i,s,l),function(t,e,n){if(We(e)){const r=e.directiveStart,s=e.directiveEnd;for(let e=r;e<s;e++){const r=t.data[e];r.contentQueries&&r.contentQueries(1,n[e],e)}}}(i,l,s)),null!=r&&Ei(s,l)}function ya(){let t=wn();Cn()?xn():bn(t=t.parent,!1);const e=t,n=ln(),r=n[_e];nn--,r.firstTemplatePass&&(Us(r,t),We(t)&&r.queries.elementEnd(t)),Dr(e)&&_a(e.classes,n,e.inputs.class),function(t){return 0!=(32&t.flags)}(e)&&_a(e.styles,n,e.inputs.style)}function va(t,e,n,r){ma(t,e,n,r),ya()}function _a(t,e,n){eo(e,n,t&&Or(t)||null)}function wa(t){return!!t&&"function"==typeof t.then}function ba(t){return!!t&&"function"==typeof t.subscribe}function Sa(t,e,n=!1,r){const s=ln(),i=wn();!function(t,e,n,r,s,i=!1,o){const a=t[_e],l=Ge(n),c=a.firstTemplatePass&&(a.cleanup||(a.cleanup=[]));let u=!0;if(3===n.type){const a=qr(n,t),h=o?o(a):Jt,d=h.target||a,p=Ji(t),f=p.length,g=o?t=>o($r(t[n.index])).target:n.index;if(Bn(e)){let i=null;if(!o&&l&&(i=function(t,e,n){const r=t[_e].cleanup;if(null!=r)for(let s=0;s<r.length-1;s+=2){const i=r[s];if(i===e&&r[s+1]===n){const e=t[ke],n=r[s+2];return e.length>n?e[n]:null}"string"==typeof i&&(s+=2)}return null}(t,r,n.index)),null!==i)(i.__ngLastListenerFn__||i).__ngNextListenerFn__=s,i.__ngLastListenerFn__=s,u=!1;else{s=xa(n,t,s,!1);const i=e.listen(h.name||d,r,s);p.push(s,i),c&&c.push(r,g,f,f+1)}}else s=xa(n,t,s,!0),d.addEventListener(r,s,i),p.push(s),c&&c.push(r,g,f,i)}const h=n.outputs;let d;if(u&&null!=h&&(d=h[r])){const e=d.length;if(e){const i=Ji(t);for(let o=0;o<e;o+=3){const e=d[o],a=d[o+2],l=t[e][a].subscribe(s),u=i.length;i.push(s,l),c&&c.push(r,n.index,u,-(u+1))}}}}(s,s[Re],i,t,e,n,r)}function Ca(t,e,n){try{return!1!==e(n)}catch(r){return to(t,r),!1}}function xa(t,e,n,r){return function s(i){if(i===Function)return n;const o=2&t.flags?Zr(t.index,e):e;0==(32&e[we])&&Zi(o);let a=Ca(e,n,i),l=s.__ngNextListenerFn__;for(;l;)a=Ca(e,l,i)&&a,l=l.__ngNextListenerFn__;return r&&!1===a&&(i.preventDefault(),i.returnValue=!1),a}}function Ta(t=1){return function(t=1){return(Tn=function(t,e){for(;t>0;)e=e[je],t--;return e}(t,Tn))[Ee]}(t)}function ka(t,e,n){const r=ln(),s=r[Te]++;return oa(r,s,e)&&Di(r,Mn(),t,e,n),ka}function Ea(t,e=""){const n=ln(),r=n[t+Me]=function(t,e){return Bn(e)?e.createText(t):e.createTextNode(t)}(e,n[Re]),s=bi(n[_e],n[xe],t,3,null,null);xn(),yo(r,s,n)}function Ia(t){return Aa("",t,""),Ia}function Aa(t,e,n){const r=ln(),s=function(t,e,n,r){return oa(t,t[Te]++,n)?e+tr(n)+r:ir}(r,t,e,n);return s!==ir&&no(r,Mn(),s),Aa}function Ra(t,e,n,r,s){const i=ln(),o=function(t,e,n,r,s,i){const o=aa(t,t[Te],n,s);return t[Te]+=2,o?e+tr(n)+r+tr(s)+i:ir}(i,t,e,n,r,s);return o!==ir&&no(i,Mn(),o),Ra}function Oa(t,e,n){const r=ln(),s=r[Te]++;return oa(r,s,e)&&Di(r,Mn(),t,e,n,!0),Oa}function Da(t,e){const n=Gr(t)[_e],r=n.data.length-1;Ns(r,e,n,-1,-1,-1),Us(n,{directiveStart:r,directiveEnd:r+1})}class Pa{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function ja(){return Na.ngInherit=!0,Na}function Na(t){t.type.prototype.ngOnChanges&&(t.setInput=Ua,t.onChanges=function(){const t=La(this),e=t&&t.current;if(e){const n=t.previous;if(n===Jt)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}})}function Ua(t,e,n,r){const s=La(t)||function(t,e){return t[Ma]=e}(t,{previous:Jt,current:null}),i=s.current||(s.current={}),o=s.previous,a=this.declaredInputs[n],l=o[a];i[a]=new Pa(l&&l.currentValue,e,o===Jt),t[r]=e}const Ma="__ngSimpleChanges__";function La(t){return t[Ma]||null}function Ha(t){let e=(n=t.type,Object.getPrototypeOf(n.prototype).constructor);for(var n;e;){let n=void 0;if(Qe(t))n=e.ngComponentDef||e.ngDirectiveDef;else{if(e.ngComponentDef)throw new Error("Directives cannot inherit Components");n=e.ngDirectiveDef}const r=e.ngBaseDef;if(r||n){const e=t;e.inputs=Va(t.inputs),e.declaredInputs=Va(t.declaredInputs),e.outputs=Va(t.outputs)}if(r){const e=r.viewQuery,n=r.contentQueries,s=r.hostBindings;s&&za(t,s),e&&Fa(t,e),n&&$a(t,n),ht(t.inputs,r.inputs),ht(t.declaredInputs,r.declaredInputs),ht(t.outputs,r.outputs)}if(n){const e=n.hostBindings;e&&za(t,e);const r=n.viewQuery,s=n.contentQueries;r&&Fa(t,r),s&&$a(t,s),ht(t.inputs,n.inputs),ht(t.declaredInputs,n.declaredInputs),ht(t.outputs,n.outputs),t.afterContentChecked=t.afterContentChecked||n.afterContentChecked,t.afterContentInit=t.afterContentInit||n.afterContentInit,t.afterViewChecked=t.afterViewChecked||n.afterViewChecked,t.afterViewInit=t.afterViewInit||n.afterViewInit,t.doCheck=t.doCheck||n.doCheck,t.onDestroy=t.onDestroy||n.onDestroy,t.onInit=t.onInit||n.onInit;const i=n.features;if(i)for(let n=0;n<i.length;n++){const e=i[n];e&&e.ngInherit&&e(t)}}else{const n=e.prototype;n&&(t.afterContentChecked=t.afterContentChecked||n.ngAfterContentChecked,t.afterContentInit=t.afterContentInit||n.ngAfterContentInit,t.afterViewChecked=t.afterViewChecked||n.ngAfterViewChecked,t.afterViewInit=t.afterViewInit||n.ngAfterViewInit,t.doCheck=t.doCheck||n.ngDoCheck,t.onDestroy=t.onDestroy||n.ngOnDestroy,t.onInit=t.onInit||n.ngOnInit,n.ngOnChanges&&ja()(t))}e=Object.getPrototypeOf(e)}}function Va(t){return t===Jt?{}:t===Xt?[]:t}function Fa(t,e){const n=t.viewQuery;t.viewQuery=n?(t,r)=>{e(t,r),n(t,r)}:e}function $a(t,e){const n=t.contentQueries;t.contentQueries=n?(t,r,s)=>{e(t,r,s),n(t,r,s)}:e}function za(t,e){const n=t.hostBindings;e!==n&&(t.hostBindings=n?(t,r,s)=>{e(t,r,s),n(t,r,s)}:e)}function qa(t,e,n,r,s){if(t=bt(t),Array.isArray(t))for(let i=0;i<t.length;i++)qa(t[i],e,n,r,s);else{const i=ln(),o=i[_e];let a=qo(t)?t:bt(t.provide),l=Fo(t);const c=wn(),u=65535&c.providerIndexes,h=c.directiveStart,d=c.providerIndexes>>16;if(t.useClass||qo(t)){const n=(t.useClass||t).prototype.ngOnDestroy;n&&(o.destroyHooks||(o.destroyHooks=[])).push(e.length,n)}if(qo(t)||!t.multi){const t=new en(l,s,ua),r=Wa(a,e,s?u:u+d,h);-1==r?(as(rs(c,i),o,a),e.push(a),c.directiveStart++,c.directiveEnd++,s&&(c.providerIndexes+=65536),n.push(t),i.push(t)):(n[r]=t,i[r]=t)}else{const t=Wa(a,e,u+d,h),p=Wa(a,e,u,u+d),f=t>=0&&n[t],g=p>=0&&n[p];if(s&&!g||!s&&!f){as(rs(c,i),o,a);const t=function(t,e,n,r,s){const i=new en(t,n,ua);return i.multi=[],i.index=e,i.componentProviders=0,Ba(i,s,r&&!n),i}(s?Ga:Za,n.length,s,r,l);!s&&g&&(n[p].providerFactory=t),e.push(a),c.directiveStart++,c.directiveEnd++,s&&(c.providerIndexes+=65536),n.push(t),i.push(t)}else Ba(n[s?p:t],l,!s&&r);!s&&r&&g&&n[p].componentProviders++}}}function Ba(t,e,n){t.multi.push(e),n&&t.componentProviders++}function Wa(t,e,n,r){for(let s=n;s<r;s++)if(e[s]===t)return s;return-1}function Za(t,e,n,r){return Qa(this.multi,[])}function Ga(t,e,n,r){const s=this.multi;let i;if(this.providerFactory){const t=this.providerFactory.componentProviders,o=ds(e,n,this.providerFactory.index,r);Qa(s,i=o.slice(0,t));for(let e=t;e<o.length;e++)i.push(o[e])}else Qa(s,i=[]);return i}function Qa(t,e){for(let n=0;n<t.length;n++){const r=t[n];e.push(r())}return e}function Ya(t,e=[]){return n=>{n.providersResolver=(n,r)=>(function(t,e,n){const r=ln()[_e];if(r.firstTemplatePass){const s=Qe(t);qa(n,r.data,r.blueprint,s,!0),qa(e,r.data,r.blueprint,s,!1)}})(n,r?r(t):t,e)}}class Ka{}class Ja{}const Xa="ngComponent";class tl{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${vt(t)}. Did you add it to @NgModule.entryComponents?`);return e[Xa]=t,e}(t)}}let el=(()=>{class t{}return t.NULL=new tl,t})(),nl=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=()=>rl(t),t})();const rl=function(t){return Eo(t,wn(),ln())};class sl{}const il=function(){var t={Important:1,DashCase:2};return t[t.Important]="Important",t[t.DashCase]="DashCase",t}();let ol=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>al(),t})();const al=function(){const t=ln(),e=Zr(wn().index,t);return function(t){const e=t[Re];if(Bn(e))return e;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(qe(e)?e:t)};let ll=(()=>{class t{}return t.ngInjectableDef=dt({token:t,providedIn:"root",factory:()=>null}),t})();class cl{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const ul=new cl("9.0.0-next.8");class hl{constructor(){}supports(t){return na(t)}create(t){return new pl(t)}}const dl=(t,e)=>e;class pl{constructor(t){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=t||dl}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,r=0,s=null;for(;e||n;){const i=!n||e&&e.currentIndex<yl(n,r,s)?e:n,o=yl(i,r,s),a=i.currentIndex;if(i===n)r--,n=n._nextRemoved;else if(e=e._next,null==i.previousIndex)r++;else{s||(s=[]);const t=o-r,e=a-r;if(t!=e){for(let n=0;n<t;n++){const r=n<s.length?s[n]:s[n]=0,i=r+n;e<=i&&i<t&&(s[n]=r+1)}s[i.previousIndex]=e-t}}o!==a&&t(i,o,a)}}forEachPreviousItem(t){let e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachMovedItem(t){let e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}forEachIdentityChange(t){let e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)}diff(t){if(null==t&&(t=[]),!na(t))throw new Error(`Error trying to diff '${vt(t)}'. Only arrays and iterables are allowed`);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e,n,r,s=this._itHead,i=!1;if(Array.isArray(t)){this.length=t.length;for(let e=0;e<this.length;e++)n=t[e],r=this._trackByFn(e,n),null!==s&&ta(s.trackById,r)?(i&&(s=this._verifyReinsertion(s,n,r,e)),ta(s.item,n)||this._addIdentityChange(s,n)):(s=this._mismatch(s,n,r,e),i=!0),s=s._next}else e=0,function(t,e){if(Array.isArray(t))for(let n=0;n<t.length;n++)e(t[n]);else{const n=t[Xo()]();let r;for(;!(r=n.next()).done;)e(r.value)}}(t,t=>{r=this._trackByFn(e,t),null!==s&&ta(s.trackById,r)?(i&&(s=this._verifyReinsertion(s,t,r,e)),ta(s.item,t)||this._addIdentityChange(s,t)):(s=this._mismatch(s,t,r,e),i=!0),s=s._next,e++}),this.length=e;return this._truncate(s),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t,e;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=e)t.previousIndex=t.currentIndex,e=t._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,r){let s;return null===t?s=this._itTail:(s=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(ta(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,s,r)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(ta(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,s,r)):t=this._addAfter(new fl(e,n),s,r),t}_verifyReinsertion(t,e,n,r){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==s?t=this._reinsertAfter(s,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}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(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,s=t._nextRemoved;return null===r?this._removalsHead=s:r._nextRemoved=s,null===s?this._removalsTail=r:s._prevRemoved=r,this._insertAfter(t,e,n),this._addToMoves(t,n),t}_moveAfter(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}_addAfter(t,e,n){return this._insertAfter(t,e,n),null===this._additionsTail?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new ml),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t}_addToMoves(t,e){return t.previousIndex===e?t:(null===this._movesTail?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t,t)}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new ml),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,null===this._identityChangesTail?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}}class fl{constructor(t,e){this.item=t,this.trackById=e,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 gl{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&ta(n.trackById,t))return n;return null}remove(t){const e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}class ml{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new gl,this.map.set(e,n)),n.add(t)}get(t,e){const n=t,r=this.map.get(n);return r?r.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function yl(t,e,n){const r=t.previousIndex;if(null===r)return r;let s=0;return n&&r<n.length&&(s=n[r]),r+e+s}class vl{constructor(){}supports(t){return t instanceof Map||ra(t)}create(){return new _l}}class _l{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(t){let e;for(e=this._mapHead;null!==e;e=e._next)t(e)}forEachPreviousItem(t){let e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)}forEachChangedItem(t){let e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}diff(t){if(t){if(!(t instanceof Map||ra(t)))throw new Error(`Error trying to diff '${vt(t)}'. Only maps and objects are allowed`)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(t,(t,n)=>{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const r=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,r)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const n=this._records.get(t);this._maybeAddToChanges(n,e);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 wl(t);return this._records.set(t,n),n.currentValue=e,this._addToAdditions(n),n}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){ta(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(n=>e(t[n],n))}}class wl{constructor(t){this.key=t,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 bl=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(null!=n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>{if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return t.create(e,n)},deps:[[t,new lt,new ot]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(null!=e)return e;throw new Error(`Cannot find a differ supporting object '${t}' of type '${n=t,n.name||typeof n}'`);var n}}return t.ngInjectableDef=dt({token:t,providedIn:"root",factory:()=>new t([new hl])}),t})(),Sl=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>{if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return t.create(e,n)},deps:[[t,new lt,new ot]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(e)return e;throw new Error(`Cannot find a differ supporting object '${t}'`)}}return t.ngInjectableDef=dt({token:t,providedIn:"root",factory:()=>new t([new vl])}),t})();const Cl=[new vl],xl=new bl([new hl]),Tl=new Sl(Cl);let kl=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>El(t,nl),t})();const El=function(t,e){return Io(t,e,wn(),ln())};let Il=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Al(t,nl),t})();const Al=function(t,e){return Ao(t,e,wn(),ln())},Rl={};function Ol(t){const e=[];for(let n in t)if(t.hasOwnProperty(n)){const r=t[n];e.push({propName:r,templateName:n})}return e}const Dl=new Et("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>nr});class Pl extends Ja{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors[0][0]||"div",this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return Ol(this.componentDef.inputs)}get outputs(){return Ol(this.componentDef.outputs)}create(t,e,n,r){const s=(r=r||this.ngModule)?function(t,e){return{get:(n,r,s)=>{const i=t.get(n,Rl,s);return i!==Rl||r===Rl?i:e.get(n,r,s)}}}(t,r.injector):t,i=s.get(sl,Wn),o=s.get(ll,null);Fn();const a=n?function(t,e){const n=t.createRenderer(null,null);return"string"==typeof e?Bn(n)?n.selectRootElement(e):n.querySelector(e):e}(i,n):_i(this.selector,i.createRenderer(null,this.componentDef),null),l=this.componentDef.onPush?576:528,c="string"==typeof n&&/^#root-ng-internal-isolated-\d+/.test(n),u={components:[],scheduler:nr,clean:Ki,playerHandler:null,flags:0},h=i.createRenderer(a,this.componentDef);n&&a&&(Bn(h)?h.setAttribute(a,"ng-version",ul.full):a.setAttribute("ng-version",ul.full));const d=Ai(-1,null,1,0,null,null,null,null),p=wi(null,d,u,l,null,null,i,h,o,s),f=Nn(p,null);let g,m;try{const t=function(t,e,n,r,s,i){pn=!1,dn=null,nn=0,rn=!0,$n(null);const o=n[_e];n[0+Me]=t;const a=bi(o,null,0,3,null,null),l=wi(n,Ii(e),null,e.onPush?64:16,n[Me],a,r,s,void 0);return o.firstTemplatePass&&(as(rs(a,n),o,e.type),Li(o,a),Vi(a,n.length,1)),Wi(n,l),n[Me]=l}(a,this.componentDef,p,i,h);m=Wr(0,p),e&&(m.projection=e.map(t=>Array.from(t))),g=function(t,e,n,r,s){const i=n[_e],o=function(t,e,n){const r=wn();t.firstTemplatePass&&(n.providersResolver&&n.providersResolver(n),Ni(t,r,1),Fi(t,e,n));const s=ds(t.data,e,e.length-1,r);return Mi(e,r,s),s}(i,n,e);r.components.push(o),t[Ee]=o,s&&s.forEach(t=>t(o,e)),e.contentQueries&&e.contentQueries(1,o,n.length-1);const a=wn();if(i.firstTemplatePass&&e.hostBindings){hn(a.index-Me),_n();const t=i.expandoInstructions;ji(e,t,o,a,i.firstTemplatePass),hn(null)}return o}(t,this.componentDef,p,u,[Da]),Si(p,d,null)}finally{Nn(f,null)}const y=new jl(this.componentType,g,Eo(nl,m,p),p,m);return n&&!c||(y.hostView._tViewNode.child=m),y}}class jl extends Ka{constructor(t,e,n,r,s){super(),this.location=n,this._rootLView=r,this._tNode=s,this.destroyCbs=[],this.instance=e,this.hostView=this.changeDetectorRef=new Co(r),this.hostView._tViewNode=function(t,e,n,r){let s=t.node;return null==s&&(t.node=s=Ri(0,null,2,-1,null,null)),r[xe]=s}(r[_e],0,0,r),this.componentType=t}get injector(){return new gs(this._tNode,this._rootLView)}destroy(){this.destroyCbs&&(this.destroyCbs.forEach(t=>t()),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}onDestroy(t){this.destroyCbs&&this.destroyCbs.push(t)}}const Nl={},Ul=function(){var t={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,CurrencySymbol:15,CurrencyName:16,Currencies:17,PluralCase:18,ExtraData:19};return t[t.LocaleId]="LocaleId",t[t.DayPeriodsFormat]="DayPeriodsFormat",t[t.DayPeriodsStandalone]="DayPeriodsStandalone",t[t.DaysFormat]="DaysFormat",t[t.DaysStandalone]="DaysStandalone",t[t.MonthsFormat]="MonthsFormat",t[t.MonthsStandalone]="MonthsStandalone",t[t.Eras]="Eras",t[t.FirstDayOfWeek]="FirstDayOfWeek",t[t.WeekendRange]="WeekendRange",t[t.DateFormat]="DateFormat",t[t.TimeFormat]="TimeFormat",t[t.DateTimeFormat]="DateTimeFormat",t[t.NumberSymbols]="NumberSymbols",t[t.NumberFormats]="NumberFormats",t[t.CurrencySymbol]="CurrencySymbol",t[t.CurrencyName]="CurrencyName",t[t.Currencies]="Currencies",t[t.PluralCase]="PluralCase",t[t.ExtraData]="ExtraData",t}(),Ml=void 0;var Ll=["en",[["a","p"],["AM","PM"],Ml],[["AM","PM"],Ml,Ml],[["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"]],Ml,[["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"]],Ml,[["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}",Ml,"{1} 'at' {0}",Ml],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",{},function(t){let e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];const Hl="en-US";let Vl=Hl;function Fl(t){var e;e="Expected localeId to be defined",null==t&&function(t){throw new Error(`ASSERTION ERROR: ${t}`)}(e),"string"==typeof t&&(Vl=t.toLowerCase().replace(/_/g,"-"))}const $l=new Map,zl={provide:el,useClass:class extends el{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=ge(t);return new Pl(e,this.ngModule)}},deps:[Bt]};class ql extends Bt{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[];const n=ye(t),r=t[se]||null;r&&Fl(r),this._bootstrapComponents=sr(n.bootstrap);const s=[{provide:Bt,useValue:this},zl];this._r3Injector=Lo(t,e,s,vt(t)),this.instance=this.get(t)}get(t,e=Wo.THROW_IF_NOT_FOUND,n=ct.Default){return t===Wo||t===Bt||t===It?this:this._r3Injector.get(t,e,n)}get componentFactoryResolver(){return this.get(el)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Bl extends Wt{constructor(t){super(),this.moduleType=t,null!==ye(t)&&function t(e){if(null!==e.ngModuleDef.id){const t=e.ngModuleDef.id;(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${vt(e)} vs ${vt(e.name)}`)})(t,$l.get(t),e),$l.set(t,e)}let n=e.ngModuleDef.imports;n instanceof Function&&(n=n()),n&&n.forEach(e=>t(e))}(t)}create(t){return new ql(this.moduleType,t)}}function Wl(t,e,n,r){const s=ln(),i=Rn()+t;return oa(s,i,n)?sa(s,i+1,r?e.call(r,n):e(n)):ia(s,i+1)}class Zl extends T{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){let r,s=t=>null,i=()=>null;t&&"object"==typeof t?(r=this.__isAsync?e=>{setTimeout(()=>t.next(e))}:e=>{t.next(e)},t.error&&(s=this.__isAsync?e=>{setTimeout(()=>t.error(e))}:e=>{t.error(e)}),t.complete&&(i=this.__isAsync?()=>{setTimeout(()=>t.complete())}:()=>{t.complete()})):(r=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)},e&&(s=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)}),n&&(i=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const o=super.subscribe(r,s,i);return t instanceof h&&t.add(o),o}}function Gl(){return this._results[Xo()]()}class Ql{constructor(){this.dirty=!0,this._results=[],this.changes=new Zl,this.length=0;const t=Xo(),e=Ql.prototype;e[t]||(e[t]=Gl)}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t){this._results=function t(e,n){void 0===n&&(n=e);for(let r=0;r<e.length;r++){let s=e[r];Array.isArray(s)?(n===e&&(n=e.slice(0,r)),t(s,n)):n!==e&&n.push(s)}return n}(t),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]}notifyOnChanges(){this.changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}class Yl{constructor(t){this.queryList=t,this.matches=null}clone(){return new Yl(this.queryList)}setDirty(){this.queryList.setDirty()}}class Kl{constructor(t=[]){this.queries=t}createEmbeddedView(t){const e=t.queries;if(null!==e){const n=null!==t.contentQueries?t.contentQueries[0]:e.length,r=[];for(let t=0;t<n;t++){const n=e.getByIndex(t),s=this.queries[n.indexInDeclarationView];r.push(s.clone())}return new Kl(r)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let e=0;e<this.queries.length;e++)null!==ac(t,e).matches&&this.queries[e].setDirty()}}class Jl{constructor(t,e,n,r=null){this.predicate=t,this.descendants=e,this.isStatic=n,this.read=r}}class Xl{constructor(t=[]){this.queries=t}elementStart(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,e)}elementEnd(t){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(t)}embeddedTView(t){let e=null;for(let n=0;n<this.length;n++){const r=null!==e?e.length:0,s=this.getByIndex(n).embeddedTView(t,r);s&&(s.indexInDeclarationView=n,null!==e?e.push(s):e=[s])}return null!==e?new Xl(e):null}template(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].template(t,e)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class tc{constructor(t,e=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}elementStart(t,e){this.isApplyingToNode(e)&&this.matchTNode(t,e)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,e){this.elementStart(t,e)}embeddedTView(t,e){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,e),new tc(this.metadata)):null}isApplyingToNode(t){return this._appliesToNextNode&&!1===this.metadata.descendants?this._declarationNodeIndex===(t.parent?t.parent.index:-1):this._appliesToNextNode}matchTNode(t,e){if(Array.isArray(this.metadata.predicate)){const n=this.metadata.predicate;for(let r=0;r<n.length;r++)this.matchTNodeWithReadOption(t,e,ec(e,n[r]))}else{const n=this.metadata.predicate;n===kl?0===e.type&&this.matchTNodeWithReadOption(t,e,-1):this.matchTNodeWithReadOption(t,e,hs(e,t,n,!1,!1))}}matchTNodeWithReadOption(t,e,n){if(null!==n){const r=this.metadata.read;if(null!==r)if(r===nl||r===Il||r===kl&&0===e.type)this.addMatch(e.index,-2);else{const n=hs(e,t,r,!1,!1);null!==n&&this.addMatch(e.index,n)}else this.addMatch(e.index,n)}}addMatch(t,e){null===this.matches?this.matches=[t,e]:this.matches.push(t,e)}}function ec(t,e){const n=t.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===e)return n[r+1];return null}function nc(t,e,n,r){return-1===n?function(t,e){return 3===t.type||4===t.type?Eo(nl,t,e):0===t.type?Io(kl,nl,t,e):null}(e,t):-2===n?function(t,e,n){return n===nl?Eo(nl,e,t):n===kl?Io(kl,nl,e,t):n===Il?Ao(Il,nl,e,t):void 0}(t,e,r):ds(t[_e].data,t,n,e)}function rc(t,e,n){const r=t[Ce].queries[n];if(null===r.matches){const n=t[_e].data,s=e.matches,i=[];for(let r=0;r<s.length;r+=2){const o=s[r];if(o<0)i.push(null);else{const a=n[o];i.push(nc(t,a,s[r+1],e.metadata.read))}}r.matches=i}return r.matches}function sc(t){const e=ln(),n=Pn();jn(n+1);const r=ac(e[_e],n);if(t.dirty&&Qr(e)===r.metadata.isStatic){if(null===r.matches)t.reset([]);else{const s=r.crossesNgTemplate?function t(e,n,r){const s=e[_e].queries.getByIndex(n),i=s.matches;if(null!==i){const o=rc(e,s,n);for(let n=0;n<i.length;n+=2){const s=i[n];if(s>0){const t=o[n/2];r.push(t)}else{const o=i[n+1],a=e[-s];for(let e=ze;e<a.length;e++){const n=a[e];n[Ne]===n[be]&&t(n,o,r)}if(null!==a[Ve]){const e=a[Ve];for(let n=0;n<e.length;n++)t(e[n],o,r)}}}}return r}(e,n,[]):rc(e,r,n);t.reset(s),t.notifyOnChanges()}return!0}return!1}function ic(t,e,n,r){!function(t,e,n,r,s,i,o){const a=t[_e];a.firstTemplatePass&&(function(t,e,n){null===t.queries&&(t.queries=new Xl),t.queries.track(new tc(e,n))}(a,new Jl(e,n,!1,r),i.index),function(t,e){const n=t.contentQueries||(t.contentQueries=[]);e!==(t.contentQueries.length?n[n.length-1]:-1)&&n.push(t.queries.length-1,e)}(a,o)),function(t){const e=new Ql;!function(t,e,n){const r=Ji(t);r.push(e),t[_e].firstTemplatePass&&Xi(t).push(n,r.length-1)}(t,e,e.destroy),null===t[Ce]&&(t[Ce]=new Kl),t[Ce].queries.push(new Yl(e))}(t)}(ln(),e,n,r,0,wn(),t)}function oc(){return function(t,e){return t[Ce].queries[e].queryList}(ln(),Pn())}function ac(t,e){return t.queries.getByIndex(e)}const lc=new Et("Application Initializer");let cc=(()=>{class t{constructor(t){this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}runInitializers(){if(this.initialized)return;const t=[],e=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n<this.appInits.length;n++){const e=this.appInits[n]();wa(e)&&t.push(e)}Promise.all(t).then(()=>{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.ngInjectableDef=dt({token:t,factory:function(e){return new(e||t)(Ft(lc,8))},providedIn:null}),t})();const uc=new Et("AppId"),hc={provide:uc,useFactory:function(){return`${dc()}${dc()}${dc()}`},deps:[]};function dc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const pc=new Et("Platform Initializer"),fc=new Et("Platform ID"),gc=new Et("appBootstrapListener");let mc=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.ngInjectableDef=dt({token:t,factory:function(e){return new(e||t)},providedIn:null}),t})();const yc=new Et("LocaleId"),vc=!0;class _c{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const wc=function(t){return new Bl(t)},bc=wc,Sc=function(t){return Promise.resolve(wc(t))},Cc=function(t){const e=wc(t),n=sr(ye(t).declarations).reduce((t,e)=>{const n=ge(e);return n&&t.push(new Pl(n)),t},[]);return new _c(e,n)},xc=Cc,Tc=function(t){return Promise.resolve(Cc(t))};let kc=(()=>{class t{constructor(){this.compileModuleSync=bc,this.compileModuleAsync=Sc,this.compileModuleAndAllComponentsSync=xc,this.compileModuleAndAllComponentsAsync=Tc}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.ngInjectableDef=dt({token:t,factory:function(e){return new(e||t)},providedIn:null}),t})();const Ec=new Et("compilerOptions");let Ic,Ac;function Rc(){const t=kt.wtf;return!(!t||!(Ic=t.trace)||(Ac=Ic.events,0))}const Oc=Rc();function Dc(t,e){return null}const Pc=Oc?function(t,e=null){return Ac.createScope(t,e)}:(t,e)=>Dc,jc=Oc?function(t,e){return Ic.leaveScope(t,e),e}:(t,e)=>e,Nc=(()=>Promise.resolve(0))();function Uc(t){"undefined"==typeof Zone?Nc.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class Mc{constructor({enableLongStackTrace:t=!1}){if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Zl(!1),this.onMicrotaskEmpty=new Zl(!1),this.onStable=new Zl(!1),this.onError=new Zl(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");var e;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)),t&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),(e=this)._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,n,r,s,i,o)=>{try{return Fc(e),t.invokeTask(r,s,i,o)}finally{$c(e)}},onInvoke:(t,n,r,s,i,o,a)=>{try{return Fc(e),t.invoke(r,s,i,o,a)}finally{$c(e)}},onHasTask:(t,n,r,s)=>{t.hasTask(r,s),n===r&&("microTask"==s.change?(e.hasPendingMicrotasks=s.microTask,Vc(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(t,n,r,s)=>(t.handleError(r,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Mc.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Mc.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,r){const s=this._inner,i=s.scheduleEventTask("NgZoneEvent: "+r,t,Hc,Lc,Lc);try{return s.runTask(i,e,n)}finally{s.cancelTask(i)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}function Lc(){}const Hc={};function Vc(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Fc(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function $c(t){t._nesting--,Vc(t)}class zc{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Zl,this.onMicrotaskEmpty=new Zl,this.onStable=new Zl,this.onError=new Zl}run(t){return t()}runGuarded(t){return t()}runOutsideAngular(t){return t()}runTask(t){return t()}}let qc=(()=>{class t{constructor(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.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:()=>{Mc.assertNotInAngularZone(),Uc(()=>{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())Uc(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,e,n){let r=-1;e&&e>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==r),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:r,updateCb:n})}whenStable(t,e,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(t,e,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,n){return[]}}return t.ngInjectableDef=dt({token:t,factory:function(e){return new(e||t)(Ft(Mc))},providedIn:null}),t})(),Bc=(()=>{class t{constructor(){this._applications=new Map,Gc.addToWindow(this)}registerApplication(t,e){this._applications.set(t,e)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,e=!0){return Gc.findTestabilityInTree(this,t,e)}}return t.ngInjectableDef=dt({token:t,factory:function(e){return new(e||t)},providedIn:null}),t})();class Wc{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}let Zc,Gc=new Wc,Qc=function(t,e,n){const r=new Bl(n);if(0===Go.size)return Promise.resolve(r);const s=function(t){const e=[];return t.forEach(t=>t&&e.push(...t)),e}(t.get(Ec,[]).concat(e).map(t=>t.providers));if(0===s.length)return Promise.resolve(r);const i=function(){const t=kt.ng;if(!t||!t.\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 t.\u0275compilerFacade}(),o=Wo.create({providers:s}).get(i.ResourceLoader);return function(t){const e=[],n=new Map;function r(e){let r=n.get(e);if(!r){const s=t(e);n.set(e,r=s.then(Yo))}return r}return Go.forEach((t,n)=>{const s=[];t.templateUrl&&s.push(r(t.templateUrl).then(e=>{t.template=e}));const i=t.styleUrls,o=t.styles||(t.styles=[]),a=t.styles.length;i&&i.forEach((e,n)=>{o.push(""),s.push(r(e).then(r=>{o[a+n]=r,i.splice(i.indexOf(e),1),0==i.length&&(t.styleUrls=void 0)}))});const l=Promise.all(s).then(()=>(function(t){Qo.delete(t)})(n));e.push(l)}),Go=new Map,Promise.all(e).then(()=>void 0)}(t=>Promise.resolve(o.get(t))).then(()=>r)},Yc=function(){},Kc=function(t){return t.isBoundToModule};const Jc=new Et("AllowMultipleToken");class Xc{constructor(t,e){this.name=t,this.token=e}}function tu(t,e,n=[]){const r=`Platform: ${e}`,s=new Et(r);return(e=[])=>{let i=eu();if(!i||i.injector.get(Jc,!1))if(t)t(n.concat(e).concat({provide:s,useValue:!0}));else{const t=n.concat(e).concat({provide:s,useValue:!0},{provide:Do,useValue:"platform"});!function(t){if(Zc&&!Zc.destroyed&&!Zc.injector.get(Jc,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Yc(),Zc=t.get(nu);const e=t.get(pc,null);e&&e.forEach(t=>t())}(Wo.create({providers:t,name:r}))}return function(t){const e=eu();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(s)}}function eu(){return Zc&&!Zc.destroyed?Zc:null}let nu=(()=>{class t{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const n="noop"===(s=e?e.ngZone:void 0)?new zc:("zone.js"===s?void 0:s)||new Mc({enableLongStackTrace:Es()}),r=[{provide:Mc,useValue:n}];var s;return n.run(()=>{const e=Wo.create({providers:r,parent:this.injector,name:t.moduleType.name}),s=t.create(e),i=s.injector.get(Ss,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return vc&&Fl(s.injector.get(yc,Hl)||Hl),s.onDestroy(()=>iu(this._modules,s)),n.runOutsideAngular(()=>n.onError.subscribe({next:t=>{i.handleError(t)}})),function(t,e,n){try{const r=n();return wa(r)?r.catch(n=>{throw e.runOutsideAngular(()=>t.handleError(n)),n}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}(i,n,()=>{const t=s.injector.get(cc);return t.runInitializers(),t.donePromise.then(()=>(this._moduleDoBootstrap(s),s))})})}bootstrapModule(t,e=[]){const n=ru({},e);return Qc(this.injector,n,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(su);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${vt(t.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. `+"Please define one of these.");t.instance.ngDoBootstrap(e)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.ngInjectableDef=dt({token:t,factory:function(e){return new(e||t)(Ft(Wo))},providedIn:null}),t})();function ru(t,e){return Array.isArray(e)?e.reduce(ru,t):Object.assign({},t,e)}let su=(()=>{class t{constructor(t,e,n,r,s,i){this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=s,this._initStatus=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Es(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new w(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),a=new w(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{Mc.assertNotInAngularZone(),Uc(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{Mc.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=function(...t){let e=Number.POSITIVE_INFINITY,n=null,r=t[t.length-1];return E(r)?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof r&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof w?t[0]:W(e)(Z(t,n))}(o,a.pipe(t=>G()(tt(nt)(t))))}bootstrap(t,e){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=t instanceof Ja?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const r=Kc(n)?void 0:this._injector.get(Bt),s=e||n.selector,i=n.create(Wo.NULL,[],s,r);i.onDestroy(()=>{this._unloadComponent(i)});const o=i.injector.get(qc,null);return o&&i.injector.get(Bc).registerApplication(i.location.nativeElement,o),this._loadComponent(i),Es()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),i}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");const e=t._tickScope();try{this._runningTick=!0;for(let t of this._views)t.detectChanges();if(this._enforceNoNewChanges)for(let t of this._views)t.checkNoChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1,jc(e)}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;iu(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(gc,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}_unloadComponent(t){this.detachView(t.hostView),iu(this.components,t)}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy())}get viewCount(){return this._views.length}}return t.ngInjectableDef=dt({token:t,factory:function(e){return new(e||t)(Ft(Mc),Ft(mc),Ft(Wo),Ft(Ss),Ft(el),Ft(cc))},providedIn:null}),t._tickScope=Pc("ApplicationRef#tick()"),t})();function iu(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class ou{}const au="#",lu="NgFactory";class cu{}const uu={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let hu=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||uu}load(t){return!vc&&this._compiler instanceof kc?this.loadFactory(t):this.loadAndCompile(t)}loadAndCompile(t){let[e,r]=t.split(au);return void 0===r&&(r="default"),n("zn8P")(e).then(t=>t[r]).then(t=>du(t,e,r)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,r]=t.split(au),s=lu;return void 0===r&&(r="default",s=""),n("zn8P")(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[r+s]).then(t=>du(t,e,r))}}return t.ngInjectableDef=dt({token:t,factory:function(e){return new(e||t)(Ft(kc),Ft(cu,8))},providedIn:null}),t})();function du(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}const pu=tu(null,"core",[{provide:fc,useValue:"unknown"},{provide:nu,deps:[Wo]},{provide:Bc,deps:[]},{provide:mc,deps:[]}]),fu=[{provide:su,useClass:su,deps:[Mc,mc,Wo,Ss,el,cc]},{provide:Dl,deps:[Mc],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:cc,useClass:cc,deps:[[new ot,lc]]},{provide:kc,useClass:kc,deps:[]},hc,{provide:bl,useFactory:function(){return xl},deps:[]},{provide:Sl,useFactory:function(){return Tl},deps:[]},{provide:yc,useFactory:function(t){return t?(vc&&Fl(t),t):Hl},deps:[[new it(yc),new ot,new lt]]}];let gu=(()=>{class t{constructor(t){}}return t.ngModuleDef=he({type:t}),t.ngInjectorDef=pt({factory:function(e){return new(e||t)(Ft(su))},providers:fu}),t})();class mu{constructor(t,e){this._name=t,this._options=e,this.value=null,this._lastSetValue=null,this._lastSetValueType=0,this._lastSetValueIdentityChange=!1}setValue(t){if(Array.isArray(t))this._lastSetValueType=4;else if(t instanceof Set)this._lastSetValueType=8;else if(t&&"string"==typeof t){if(!(4&this._options))throw new Error(this._name+" string values are not allowed");this._lastSetValueType=1}else this._lastSetValueType=t?2:0;this._lastSetValueIdentityChange=!0,this._lastSetValue=t||null}hasValueChanged(){let t=this._lastSetValueIdentityChange;if(!(t||14&this._lastSetValueType))return!1;let e=null;const n=!!(1&this._options),r=!!(8&this._options),s=!!(2&this._options);switch(this._lastSetValueType){case 1:const i=this._lastSetValue.split(/\s+/g);16&this._options?(e={},i.forEach((t,n)=>e[t]=!0)):e=i.reduce((t,e,n)=>t+(n?" ":"")+e);break;case 2:const o=this._lastSetValue,a=Object.keys(o);t||(t=!this.value||function(t,e,n){const r=t;if(!bu(Object.keys(e),r))return!0;for(let s=0;s<r.length;s++){const t=r[s];if(e[t]!==n[t])return!0}return!1}(a,this.value,o)),t&&(e=yu(this._name,n,r,s,o,a));break;case 4:case 8:const l=Array.from(this._lastSetValue);t||(t=!bu(Object.keys(this.value),l)),t&&(e=yu(this._name,n,r,s,l));break;default:e=null}return t&&(this.value=e),t}}function yu(t,e,n,r,s,i){const o={};if(i)for(let a=0;a<i.length;a++){let t=i[a];_u(o,t=e?t.trim():t,s[t],n,r)}else for(let a=0;a<s.length;a++){let n=s[a];vu(t,n),_u(o,n=e?n.trim():n,!0,!1,r)}return o}function vu(t,e){if("string"!=typeof e)throw new Error(`${t} can only toggle CSS classes expressed as strings, got ${e}`)}function _u(t,e,n,r,s){if(s&&e.indexOf(" ")>0){const s=e.split(/\s+/g);for(let e=0;e<s.length;e++)wu(t,s[e],n,r)}else wu(t,e,n,r)}function wu(t,e,n,r){if(r){const t=function(t,e){const n=t.indexOf(".");if(n>0){const r=t.substr(n+1);t=t.substring(0,n),null!=e&&(e+=r)}return{key:t,value:e}}(e,n);n=t.value,e=t.key}t[e]=n}function bu(t,e){if(t&&e){if(t.length!==e.length)return!1;for(let n=0;n<t.length;n++)if(-1===e.indexOf(t[n]))return!1;return!0}return!1}class Su{}const Cu={provide:Su,useClass:(()=>{class t{constructor(){this._value=null,this._ngClassDiffer=new mu("NgClass",23),this._classStringDiffer=null}getValue(){return this._value}setClass(t){(t||this._classStringDiffer)&&(this._classStringDiffer=this._classStringDiffer||new mu("class",20),this._classStringDiffer.setValue(t))}setNgClass(t){this._ngClassDiffer.setValue(t)}applyChanges(){const t=!!this._classStringDiffer&&this._classStringDiffer.hasValueChanged(),e=this._ngClassDiffer.hasValueChanged();if(t||e){let t=this._ngClassDiffer.value;if(this._classStringDiffer){let e=this._classStringDiffer.value;e&&(t=t?Object.assign({},e,t):e)}this._value=t}}}return t.ngInjectableDef=dt({token:t,factory:function(e){return new(e||t)},providedIn:null}),t})()},xu=pe({type:function(){},selectors:null,hostBindings:function(t,e,n){var r;1&t&&Ko(1),2&t&&(r=e.getValue(),function(t,e){const n=ln(),r=Wr(t,n),s=function(t){return function(t,e){let n=t.classes;return Rr(n)||(n=[0,ur,n||[""]],t.classes=n),n}(t)}(r),i=n[Te]++;!ga()&&Dr(r)&&e!==ir&&(function(t,e,n,r,s,i){if(e[r]!==s){if(s||xr(t,!1)){const r="class";eo(e,n.inputs[r],function(t,e,n){let r=e;var s;return t.length&&(r=Ir(t,((s=e)&&"string"!=typeof s&&(s=Object.keys(s).join(" ")),s||""))),r}(Or(t),s)),yn(da)}Sr(e,r,s)}}(s,n,r,i,e),e=ir),function(t,e,n,r,s){let i=!1;const o=ln(),a=vn(),l=Wr(t,o),c=qr(l,o),u=o[n],h=ga(),d=zn(),p=kr(u,r),f=r===ir?ir:function(t,e,n){const r=Array.isArray(t)?t:[null];r[0]=e||null;for(let a=1;a<r.length;a+=2)Ur(r,a,null);let s,i=null,o=!1;if("string"==typeof e?e.length&&(i=e.split(/\s+/),o=!0):(i=e?Object.keys(e):null,s=e),i)for(let a=0;a<i.length;a++){const t=i[a];Vr(r,t,!!o||s[t],!0)}return r}(u,r);!function(t,e){const n=dr(t);return 0!=(n&Tr(e))&&0==(4&n)&&3!=(3&n)}(e,h)?(i=p,li=fi,function(t,e,n,r,s,i,o,a){const l=Js(n,r),c=Xs;o!==ir&&(ti(t,e,c,l.sourceIndex,null,i,o,a,!1)||a)&&(l.classesBitMask|=1<<c)}(e,o,c,a,0,n,f,p),yn(da)):i=function(t,e,n,r,s,i,o,a,l){if(l||kr(r[s],i)){Sr(r,s,i);for(let r=1;r<i.length;r+=2)ai(t,e,n,Pr(i,r),Mr(i,r),o,s,a);return!0}return!1}(pa(l,o),e,c,o,n,f,ui,d,p)}(t,s,i,e)}(Mn(),r))}}),Tu=function(){};let ku=(()=>{class t{constructor(t){this._delegate=t}getValue(){return this._delegate.getValue()}}return t.ngDirectiveDef=xu,t.ngFactoryDef=Tu,t})(),Eu=(()=>{class t extends ku{constructor(t){super(t)}set klass(t){this._delegate.setClass(t)}set ngClass(t){this._delegate.setNgClass(t)}ngDoCheck(){this._delegate.applyChanges()}}return t.ngFactoryDef=function(e){return new(e||t)(ua(Su))},t.ngDirectiveDef=pe({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},features:[Ya([Cu]),Ha]}),t})(),Iu=null;function Au(){return Iu}class Ru{}const Ou=new Et("DocumentToken");let Du=(()=>{class t{}return t.ngInjectableDef=dt({token:t,factory:function(t){return t?new t:Pu()},providedIn:"platform"}),t.ngInjectableDef=dt({factory:Pu,token:t,providedIn:"platform"}),t})();function Pu(){return Ft(Nu)}const ju=new Et("Location Initialized");let Nu=(()=>{class t extends Du{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=Au().getLocation(),this._history=Au().getHistory()}getBaseHrefFromDOM(){return Au().getBaseHref(this._doc)}onPopState(t){Au().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)}onHashChange(t){Au().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(t){this.location.pathname=t}pushState(t,e,n){Uu()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){Uu()?this._history.replaceState(t,e,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return t.ngInjectableDef=dt({token:t,factory:function(t){return t?new t(Ft(Ou)):Mu()},providedIn:"platform"}),t.ngInjectableDef=dt({factory:Mu,token:t,providedIn:"platform"}),t})();function Uu(){return!!window.history.pushState}function Mu(){return new Nu(Ft(Ou))}function Lu(t,e){if(0==t.length)return e;if(0==e.length)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e}function Hu(t){const e=t.match(/#|\?|$/),n=e&&e.index||t.length,r=n-("/"===t[n-1]?1:0);return t.slice(0,r)+t.slice(n)}function Vu(t){return t&&"?"!==t[0]?"?"+t:t}let Fu=(()=>{class t{}return t.ngInjectableDef=dt({token:t,factory:function(t){return t?new t:$u()},providedIn:"root"}),t.ngInjectableDef=dt({factory:$u,token:t,providedIn:"root"}),t})();function $u(t){const e=Ft(Ou).location;return new qu(Ft(Du),e&&e.origin||"")}const zu=new Et("appBaseHref");let qu=(()=>{class t extends Fu{constructor(t,e){if(super(),this._platformLocation=t,null==e&&(e=this._platformLocation.getBaseHrefFromDOM()),null==e)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=e}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return Lu(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+Vu(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,r){const s=this.prepareExternalUrl(n+Vu(r));this._platformLocation.pushState(t,e,s)}replaceState(t,e,n,r){const s=this.prepareExternalUrl(n+Vu(r));this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.ngInjectableDef=dt({token:t,factory:function(e){return new(e||t)(Ft(Du),Ft(zu,8))},providedIn:null}),t})(),Bu=(()=>{class t extends Fu{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",null!=e&&(this._baseHref=e)}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}path(t=!1){let e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}prepareExternalUrl(t){const e=Lu(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,n,r){let s=this.prepareExternalUrl(n+Vu(r));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,e,s)}replaceState(t,e,n,r){let s=this.prepareExternalUrl(n+Vu(r));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.ngInjectableDef=dt({token:t,factory:function(e){return new(e||t)(Ft(Du),Ft(zu,8))},providedIn:null}),t})(),Wu=(()=>{class t{constructor(t,e){this._subject=new Zl,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=Hu(Gu(n)),this._platformStrategy.onPopState(t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})})}path(t=!1){return this.normalize(this._platformStrategy.path(t))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+Vu(e))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,Gu(e)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}go(t,e="",n=null){this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Vu(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Vu(e)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(t){this._urlChangeListeners.push(t),this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)})}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach(n=>n(t,e))}subscribe(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})}}return t.ngInjectableDef=dt({token:t,factory:function(t){return t?new t(Ft(Fu),Ft(Du)):Zu()},providedIn:"root"}),t.normalizeQueryParams=Vu,t.joinWithSlash=Lu,t.stripTrailingSlash=Hu,t.ngInjectableDef=dt({factory:Zu,token:t,providedIn:"root"}),t})();function Zu(){return new Wu(Ft(Fu),Ft(Du))}function Gu(t){return t.replace(/\/index.html$/,"")}const Qu=function(){var t={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return t[t.Zero]="Zero",t[t.One]="One",t[t.Two]="Two",t[t.Few]="Few",t[t.Many]="Many",t[t.Other]="Other",t}(),Yu=function(t){return function(t){const e=t.toLowerCase().replace(/_/g,"-");let n=Nl[e];if(n)return n;const r=e.split("-")[0];if(n=Nl[r])return n;if("en"===r)return Ll;throw new Error(`Missing locale data for the locale "${t}".`)}(t)[Ul.PluralCase]},Ku=new Et("UseV4Plurals");class Ju{}let Xu=(()=>{class t extends Ju{constructor(t,e){super(),this.locale=t,this.deprecatedPluralFn=e}getPluralCategory(t,e){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(e||this.locale,t):Yu(e||this.locale)(t)){case Qu.Zero:return"zero";case Qu.One:return"one";case Qu.Two:return"two";case Qu.Few:return"few";case Qu.Many:return"many";default:return"other"}}}return t.ngInjectableDef=dt({token:t,factory:function(e){return new(e||t)(Ft(yc),Ft(Ku,8))},providedIn:null}),t})();class th{constructor(t,e,n,r){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let eh=(()=>{class t{constructor(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){Es()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(t)}. `+"See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(e){throw new Error(`Cannot find a differ supporting object '${n}' of type '${t=n,t.name||typeof t}'. NgFor only supports binding to Iterables such as Arrays.`)}}var t;if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=[];t.forEachOperation((t,n,r)=>{if(null==t.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new th(null,this._ngForOf,-1,-1),null===r?void 0:r),s=new nh(t,n);e.push(s)}else if(null==r)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const s=this._viewContainer.get(n);this._viewContainer.move(s,r);const i=new nh(t,s);e.push(i)}});for(let n=0;n<e.length;n++)this._perViewChange(e[n].view,e[n].record);for(let n=0,r=this._viewContainer.length;n<r;n++){const t=this._viewContainer.get(n);t.context.index=n,t.context.count=r,t.context.ngForOf=this._ngForOf}t.forEachIdentityChange(t=>{this._viewContainer.get(t.currentIndex).context.$implicit=t.item})}_perViewChange(t,e){t.context.$implicit=e.item}static ngTemplateContextGuard(t,e){return!0}}return t.ngFactoryDef=function(e){return new(e||t)(ua(Il),ua(kl),ua(bl))},t.ngDirectiveDef=pe({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class nh{constructor(t,e){this.record=t,this.view=e}}let rh=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new sh,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){ih("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){ih("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}}return t.ngFactoryDef=function(e){return new(e||t)(ua(Il),ua(kl))},t.ngDirectiveDef=pe({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class sh{constructor(){this.$implicit=null,this.ngIf=null}}function ih(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${vt(e)}'.`)}class oh{createSubscription(t,e){return t.subscribe({next:e,error:t=>{throw t}})}dispose(t){t.unsubscribe()}onDestroy(t){t.unsubscribe()}}class ah{createSubscription(t,e){return t.then(e,t=>{throw t})}dispose(t){}onDestroy(t){}}const lh=new ah,ch=new oh;let uh=(()=>{class t{constructor(t){this._ref=t,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):ta(this._latestValue,this._latestReturnedValue)?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,ea.wrap(this._latestValue)):(t&&this._subscribe(t),this._latestReturnedValue=this._latestValue,this._latestValue)}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,e=>this._updateLatestValue(t,e))}_selectStrategy(e){if(wa(e))return lh;if(ba(e))return ch;throw Error(`InvalidPipeArgument: '${e}' for pipe '${vt(t)}'`)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())}}return t.ngInjectableDef=dt({token:t,factory:function(e){return new(e||t)(Ft(Ro))},providedIn:null}),t.ngFactoryDef=function(e){return new(e||t)(ua(Ro))},t.ngPipeDef=fe({name:"async",type:t,pure:!1}),t})(),hh=(()=>{class t{}return t.ngModuleDef=he({type:t}),t.ngInjectorDef=pt({factory:function(e){return new(e||t)},providers:[{provide:Ju,useClass:Xu}]}),t})();const dh="server";let ph=(()=>{class t{}return t.ngInjectableDef=dt({token:t,providedIn:"root",factory:()=>new fh(Ft(Ou),window,Ft(Ss))}),t})();class fh{constructor(t,e,n){this.document=t,this.window=e,this.errorHandler=n,this.offset=()=>[0,0]}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=t}getScrollPosition(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]}scrollToPosition(t){this.supportScrollRestoration()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(this.supportScrollRestoration()){t=this.window.CSS&&this.window.CSS.escape?this.window.CSS.escape(t):t.replace(/(\"|\'\ |:|\.|\[|\]|,|=)/g,"\\$1");try{const e=this.document.querySelector(`#${t}`);if(e)return void this.scrollToElement(e);const n=this.document.querySelector(`[name='${t}']`);if(n)return void this.scrollToElement(n)}catch(e){this.errorHandler.handleError(e)}}}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(n-s[0],r-s[1])}supportScrollRestoration(){try{return!!this.window&&!!this.window.scrollTo}catch(t){return!1}}}class gh extends Ru{constructor(){super()}supportsDOMEvents(){return!0}}class mh extends gh{static makeCurrent(){var t;t=new mh,Iu||(Iu=t)}getProperty(t,e){return t[e]}log(t){window.console&&window.console.log&&window.console.log(t)}logGroup(t){window.console&&window.console.group&&window.console.group(t)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){return t.parentNode&&t.parentNode.removeChild(t),t}getValue(t){return t.value}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(t){const e=vh||(vh=document.querySelector("base"))?vh.getAttribute("href"):null;return null==e?null:(n=e,yh||(yh=document.createElement("a")),yh.setAttribute("href",n),"/"===yh.pathname.charAt(0)?yh.pathname:"/"+yh.pathname);var n}resetBaseElement(){vh=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(t){return function(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[r,s]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(r.trim()===e)return decodeURIComponent(s)}return null}(document.cookie,t)}}let yh,vh=null;const _h=new Et("TRANSITION_ID"),wh=[{provide:lc,useFactory:function(t,e,n){return()=>{n.get(cc).donePromise.then(()=>{const n=Au();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>n.remove(t))})}},deps:[_h,Ou,Wo],multi:!0}];class bh{static init(){var t;t=new bh,Gc=t}addToWindow(t){kt.getAngularTestability=(e,n=!0)=>{const r=t.findTestabilityInTree(e,n);if(null==r)throw new Error("Could not find testability for element.");return r},kt.getAllAngularTestabilities=()=>t.getAllTestabilities(),kt.getAllAngularRootElements=()=>t.getAllRootElements(),kt.frameworkStabilizers||(kt.frameworkStabilizers=[]),kt.frameworkStabilizers.push(t=>{const e=kt.getAllAngularTestabilities();let n=e.length,r=!1;const s=function(e){r=r||e,0==--n&&t(r)};e.forEach((function(t){t.whenStable(s)}))})}findTestabilityInTree(t,e,n){if(null==e)return null;const r=t.getTestability(e);return null!=r?r:n?Au().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}const Sh=new Et("EventManagerPlugins");let Ch=(()=>{class t{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach(t=>t.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}addGlobalEventListener(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const n=this._plugins;for(let r=0;r<n.length;r++){const e=n[r];if(e.supports(t))return this._eventNameToPlugin.set(t,e),e}throw new Error(`No event manager plugin found for event ${t}`)}}return t.ngInjectableDef=dt({token:t,factory:function(e){return new(e||t)(Ft(Sh),Ft(Mc))},providedIn:null}),t})();class xh{constructor(t){this._doc=t}addGlobalEventListener(t,e,n){const r=Au().getGlobalEventTarget(this._doc,t);if(!r)throw new Error(`Unsupported event target ${r} for event ${e}`);return this.addEventListener(r,e,n)}}let Th=(()=>{class t{constructor(){this._stylesSet=new Set}addStyles(t){const e=new Set;t.forEach(t=>{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))}),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return t.ngInjectableDef=dt({token:t,factory:function(e){return new(e||t)},providedIn:null}),t})(),kh=(()=>{class t extends Th{constructor(t){super(),this._doc=t,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(t.head)}_addStylesToHost(t,e){t.forEach(t=>{const n=this._doc.createElement("style");n.textContent=t,this._styleNodes.add(e.appendChild(n))})}addHost(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)}removeHost(t){this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach(e=>this._addStylesToHost(t,e))}ngOnDestroy(){this._styleNodes.forEach(t=>Au().remove(t))}}return t.ngInjectableDef=dt({token:t,factory:function(e){return new(e||t)(Ft(Ou))},providedIn:null}),t})();const Eh={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/"},Ih=/%COMP%/g,Ah=!1,Rh="_nghost-%COMP%",Oh="_ngcontent-%COMP%";function Dh(t,e,n){for(let r=0;r<e.length;r++){let s=e[r];Array.isArray(s)?Dh(t,s,n):(s=s.replace(Ih,t),n.push(s))}return n}function Ph(t){return e=>{if(e===Function)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let jh=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new Nh(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case Kt.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new Lh(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case Kt.Native:case Kt.ShadowDom:return new Hh(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=Dh(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.ngInjectableDef=dt({token:t,factory:function(e){return new(e||t)(Ft(Ch),Ft(kh),Ft(uc))},providedIn:null}),t})();class Nh{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(Eh[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,n){t&&t.insertBefore(e,n)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error(`The selector "${t}" did not match any elements`);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,r){if(r){e=r+":"+e;const s=Eh[r];s?t.setAttributeNS(s,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const r=Eh[n];r?t.removeAttributeNS(r,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,r){r&il.DashCase?t.style.setProperty(e,n,r&il.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&il.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){Ah&&Mh(e,"property"),t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return Ah&&Mh(e,"listener"),"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,Ph(n)):this.eventManager.addEventListener(t,e,Ph(n))}}const Uh=(()=>"@".charCodeAt(0))();function Mh(t,e){if(t.charCodeAt(0)===Uh)throw new Error(`Found the synthetic ${e} ${t}. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.`)}class Lh extends Nh{constructor(t,e,n,r){super(t),this.component=n;const s=Dh(r+"-"+n.id,n.styles,[]);var i;e.addStyles(s),this.contentAttr=(i=r+"-"+n.id,Oh.replace(Ih,i)),this.hostAttr=function(t){return Rh.replace(Ih,t)}(r+"-"+n.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}class Hh extends Nh{constructor(t,e,n,r){super(t),this.sharedStylesHost=e,this.hostEl=n,this.component=r,r.encapsulation===Kt.ShadowDom?this.shadowRoot=n.attachShadow({mode:"open"}):this.shadowRoot=n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const s=Dh(r.id,r.styles,[]);for(let i=0;i<s.length;i++){const t=document.createElement("style");t.textContent=s[i],this.shadowRoot.appendChild(t)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,n){return super.insertBefore(this.nodeOrShadowRoot(t),e,n)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}}const Vh=(()=>"undefined"!=typeof Zone&&Zone.__symbol__||function(t){return"__zone_symbol__"+t})(),Fh=Vh("addEventListener"),$h=Vh("removeEventListener"),zh={},qh="FALSE",Bh="ANGULAR",Wh="addEventListener",Zh="removeEventListener",Gh="__zone_symbol__propagationStopped",Qh="__zone_symbol__stopImmediatePropagation",Yh=(()=>{const t="undefined"!=typeof Zone&&Zone[Vh("BLACK_LISTED_EVENTS")];if(t){const e={};return t.forEach(t=>{e[t]=t}),e}})(),Kh=function(t){return!!Yh&&Yh.hasOwnProperty(t)},Jh=function(t){const e=zh[t.type];if(!e)return;const n=this[e];if(!n)return;const r=[t];if(1===n.length){const t=n[0];return t.zone!==Zone.current?t.zone.run(t.handler,this,r):t.handler.apply(this,r)}{const e=n.slice();for(let n=0;n<e.length&&!0!==t[Gh];n++){const t=e[n];t.zone!==Zone.current?t.zone.run(t.handler,this,r):t.handler.apply(this,r)}}};let Xh=(()=>{class t extends xh{constructor(t,e,n){super(t),this.ngZone=e,n&&function(t){return t===dh}(n)||this.patchEvent()}patchEvent(){if("undefined"==typeof Event||!Event||!Event.prototype)return;if(Event.prototype[Qh])return;const t=Event.prototype[Qh]=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[Gh]=!0),t&&t.apply(this,arguments)}}supports(t){return!0}addEventListener(t,e,n){const r=t[Fh];let s=n;if(!r||Mc.isInAngularZone()&&!Kh(e))t[Wh](e,s,!1);else{let n=zh[e];n||(n=zh[e]=Vh(Bh+e+qh));let r=t[n];const i=r&&r.length>0;r||(r=t[n]=[]);const o=Kh(e)?Zone.root:Zone.current;if(0===r.length)r.push({zone:o,handler:s});else{let t=!1;for(let e=0;e<r.length;e++)if(r[e].handler===s){t=!0;break}t||r.push({zone:o,handler:s})}i||t[Fh](e,Jh,!1)}return()=>this.removeEventListener(t,e,s)}removeEventListener(t,e,n){let r=t[$h];if(!r)return t[Zh].apply(t,[e,n,!1]);let s=zh[e],i=s&&t[s];if(!i)return t[Zh].apply(t,[e,n,!1]);let o=!1;for(let a=0;a<i.length;a++)if(i[a].handler===n){o=!0,i.splice(a,1);break}o?0===i.length&&r.apply(t,[e,Jh,!1]):t[Zh].apply(t,[e,n,!1])}}return t.ngInjectableDef=dt({token:t,factory:function(e){return new(e||t)(Ft(Ou),Ft(Mc),Ft(fc,8))},providedIn:null}),t})();const td=["alt","control","meta","shift"],ed=3,nd={"\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"},rd={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"},sd={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let id=(()=>{class t extends xh{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,r){const s=t.parseEventName(n),i=t.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Au().onAndCancel(e,s.domEventName,i))}static parseEventName(e){const n=e.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const s=t._normalizeKey(n.pop());let i="";if(td.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),i+=t+".")}),i+=s,0!=n.length||0===s.length)return null;const o={};return o.domEventName=r,o.fullKey=i,o}static getEventFullKey(t){let e="",n=function(t){let e=t.key;if(null==e){if(null==(e=t.keyIdentifier))return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),t.location===ed&&rd.hasOwnProperty(e)&&(e=rd[e]))}return nd[e]||e}(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),td.forEach(r=>{r!=n&&(0,sd[r])(t)&&(e+=r+".")}),e+=n}static eventCallback(e,n,r){return s=>{t.getEventFullKey(s)===e&&r.runGuarded(()=>n(s))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.ngInjectableDef=dt({token:t,factory:function(e){return new(e||t)(Ft(Ou))},providedIn:null}),t})();const od=tu(pu,"browser",[{provide:fc,useValue:"browser"},{provide:pc,useValue:function(){mh.makeCurrent(),bh.init()},multi:!0},{provide:Ou,useFactory:function(){return document},deps:[]}]),ad=[[],{provide:Do,useValue:"root"},{provide:Ss,useFactory:function(){return new Ss},deps:[]},{provide:Sh,useClass:Xh,multi:!0,deps:[Ou,Mc,fc]},{provide:Sh,useClass:id,multi:!0,deps:[Ou]},[],{provide:jh,useClass:jh,deps:[Ch,kh,uc]},{provide:sl,useExisting:jh},{provide:Th,useExisting:kh},{provide:kh,useClass:kh,deps:[Ou]},{provide:qc,useClass:qc,deps:[Mc]},{provide:Ch,useClass:Ch,deps:[Sh,Mc]},[]];let ld=(()=>{class t{constructor(t){if(t)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(e){return{ngModule:t,providers:[{provide:uc,useValue:e.appId},{provide:_h,useExisting:uc},wh]}}}return t.ngModuleDef=he({type:t}),t.ngInjectorDef=pt({factory:function(e){return new(e||t)(Ft(t,12))},providers:ad,imports:[hh,gu]}),t})();function cd(){return new ud(Ft(Ou))}let ud=(()=>{class t{constructor(t){this._doc=t,this._dom=Au()}addTag(t,e=!1){return t?this._getOrCreateElement(t,e):null}addTags(t,e=!1){return t?t.reduce((t,n)=>(n&&t.push(this._getOrCreateElement(n,e)),t),[]):[]}getTag(t){return t&&this._doc.querySelector(`meta[${t}]`)||null}getTags(t){if(!t)return[];const e=this._doc.querySelectorAll(`meta[${t}]`);return e?[].slice.call(e):[]}updateTag(t,e){if(!t)return null;e=e||this._parseSelector(t);const n=this.getTag(e);return n?this._setMetaElementAttributes(t,n):this._getOrCreateElement(t,!0)}removeTag(t){this.removeTagElement(this.getTag(t))}removeTagElement(t){t&&this._dom.remove(t)}_getOrCreateElement(t,e=!1){if(!e){const e=this._parseSelector(t),n=this.getTag(e);if(n&&this._containsAttributes(t,n))return n}const n=this._dom.createElement("meta");return this._setMetaElementAttributes(t,n),this._doc.getElementsByTagName("head")[0].appendChild(n),n}_setMetaElementAttributes(t,e){return Object.keys(t).forEach(n=>e.setAttribute(n,t[n])),e}_parseSelector(t){const e=t.name?"name":"property";return`${e}="${t[e]}"`}_containsAttributes(t,e){return Object.keys(t).every(n=>e.getAttribute(n)===t[n])}}return t.ngInjectableDef=dt({token:t,factory:function(t){return t?new t(Ft(Ou)):cd()},providedIn:"root"}),t.ngInjectableDef=dt({factory:cd,token:t,providedIn:"root"}),t})();function hd(...t){let e=t[t.length-1];return E(e)?(t.pop(),V(t,e)):Z(t)}"undefined"!=typeof window&&window;class dd extends T{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return e&&!e.closed&&t.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new S;return this._value}next(t){super.next(this._value=t)}}const pd=(()=>{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})(),fd={};class gd{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new md(t,this.resultSelector))}}class md extends U{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(fd),this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let n=0;n<e;n++){const e=t[n];this.add(N(this,e,e,n))}}}notifyComplete(t){0==(this.active-=1)&&this.destination.complete()}notifyNext(t,e,n,r,s){const i=this.values,o=i[n],a=this.toRespond?o===fd?--this.toRespond:this.toRespond:0;i[n]=e,0===a&&(this.resultSelector?this._tryResultSelector(i):this.destination.next(i.slice()))}_tryResultSelector(t){let e;try{e=this.resultSelector.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}const yd=new w(t=>t.complete());function vd(t){return t?function(t){return new w(e=>t.schedule(()=>e.complete()))}(t):yd}function _d(t){return new w(e=>{let n;try{n=t()}catch(r){return void e.error(r)}return(n?F(n):vd()).subscribe(e)})}function wd(){return W(1)}function bd(t,e){return function(n){return n.lift(new Sd(t,e))}}class Sd{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new Cd(t,this.predicate,this.thisArg))}}class Cd extends f{constructor(t,e,n){super(t),this.predicate=e,this.thisArg=n,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)}}const xd=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})();function Td(t){return function(e){return 0===t?vd():e.lift(new kd(t))}}class kd{constructor(t){if(this.total=t,this.total<0)throw new xd}call(t,e){return e.subscribe(new Ed(t,this.total))}}class Ed extends f{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,n=this.total,r=this.count++;e.length<n?e.push(t):e[r%n]=t}_complete(){const t=this.destination;let e=this.count;if(e>0){const n=this.count>=this.total?this.total:this.count,r=this.ring;for(let s=0;s<n;s++){const s=e++%n;t.next(r[s])}}t.complete()}}function Id(t=Od){return e=>e.lift(new Ad(t))}class Ad{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new Rd(t,this.errorFactory))}}class Rd extends f{constructor(t,e){super(t),this.errorFactory=e,this.hasValue=!1}_next(t){this.hasValue=!0,this.destination.next(t)}_complete(){if(this.hasValue)return this.destination.complete();{let e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}}function Od(){return new pd}function Dd(t=null){return e=>e.lift(new Pd(t))}class Pd{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new jd(t,this.defaultValue))}}class jd extends f{constructor(t,e){super(t),this.defaultValue=e,this.isEmpty=!0}_next(t){this.isEmpty=!1,this.destination.next(t)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function Nd(t,e){const n=arguments.length>=2;return r=>r.pipe(t?bd((e,n)=>t(e,n,r)):B,Td(1),n?Dd(e):Id(()=>new pd))}function Ud(t){return function(e){const n=new Md(t),r=e.lift(n);return n.caught=r}}class Md{constructor(t){this.selector=t}call(t,e){return e.subscribe(new Ld(t,this.selector,this.caught))}}class Ld extends U{constructor(t,e,n){super(t),this.selector=e,this.caught=n}error(t){if(!this.isStopped){let n;try{n=this.selector(t,this.caught)}catch(e){return void super.error(e)}this._unsubscribeAndRecycle();const r=new I(this,void 0,void 0);this.add(r),N(this,n,void 0,void 0,r)}}}function Hd(t){return e=>0===t?vd():e.lift(new Vd(t))}class Vd{constructor(t){if(this.total=t,this.total<0)throw new xd}call(t,e){return e.subscribe(new Fd(t,this.total))}}class Fd extends f{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))}}function $d(t,e){const n=arguments.length>=2;return r=>r.pipe(t?bd((e,n)=>t(e,n,r)):B,Hd(1),n?Dd(e):Id(()=>new pd))}class zd{constructor(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}call(t,e){return e.subscribe(new qd(t,this.predicate,this.thisArg,this.source))}}class qd extends f{constructor(t,e,n,r){super(t),this.predicate=e,this.thisArg=n,this.source=r,this.index=0,this.thisArg=n||this}notifyComplete(t){this.destination.next(t),this.destination.complete()}_next(t){let e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(n){return void this.destination.error(n)}e||this.notifyComplete(!1)}_complete(){this.notifyComplete(!0)}}function Bd(t,e){return"function"==typeof e?n=>n.pipe(Bd((n,r)=>F(t(n,r)).pipe(M((t,s)=>e(n,t,r,s))))):e=>e.lift(new Wd(t))}class Wd{constructor(t){this.project=t}call(t,e){return e.subscribe(new Zd(t,this.project))}}class Zd extends U{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(r){return void this.destination.error(r)}this._innerSub(e,t,n)}_innerSub(t,e,n){const r=this.innerSubscription;r&&r.unsubscribe();const s=new I(this,void 0,void 0);this.destination.add(s),this.innerSubscription=N(this,t,e,n,s)}_complete(){const{innerSubscription:t}=this;t&&!t.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(t){this.destination.remove(t),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(t,e,n,r,s){this.destination.next(e)}}function Gd(...t){return wd()(hd(...t))}function Qd(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new Yd(t,e,n))}}class Yd{constructor(t,e,n=!1){this.accumulator=t,this.seed=e,this.hasSeed=n}call(t,e){return e.subscribe(new Kd(t,this.accumulator,this.seed,this.hasSeed))}}class Kd extends f{constructor(t,e,n,r){super(t),this.accumulator=e,this._seed=n,this.hasSeed=r,this.index=0}get seed(){return this._seed}set seed(t){this.hasSeed=!0,this._seed=t}_next(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}_tryNext(t){const e=this.index++;let n;try{n=this.accumulator(this.seed,t,e)}catch(r){this.destination.error(r)}this.seed=n,this.destination.next(n)}}function Jd(t,e){return $(t,e,1)}function Xd(t,e,n){return function(r){return r.lift(new tp(t,e,n))}}class tp{constructor(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}call(t,e){return e.subscribe(new ep(t,this.nextOrObserver,this.error,this.complete))}}class ep extends f{constructor(t,e,n,s){super(t),this._tapNext=y,this._tapError=y,this._tapComplete=y,this._tapError=n||y,this._tapComplete=s||y,r(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||y,this._tapError=e.error||y,this._tapComplete=e.complete||y)}_next(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}_error(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}class np{constructor(t){this.callback=t}call(t,e){return e.subscribe(new rp(t,this.callback))}}class rp extends f{constructor(t,e){super(t),this.add(new h(e))}}class sp{constructor(t,e){this.id=t,this.url=e}}class ip extends sp{constructor(t,e,n="imperative",r=null){super(t,e),this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class op extends sp{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class ap extends sp{constructor(t,e,n){super(t,e),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class lp extends sp{constructor(t,e,n){super(t,e),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class cp extends sp{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class up extends sp{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class hp extends sp{constructor(t,e,n,r,s){super(t,e),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=s}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class dp extends sp{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class pp extends sp{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class fp{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class gp{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class mp{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class yp{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class vp{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class _p{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class wp{constructor(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}toString(){const t=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${t}')`}}let bp=(()=>{class t{}return t.ngFactoryDef=function(e){return new(e||t)},t.ngComponentDef=le({type:t,selectors:[["ng-component"]],consts:1,vars:0,template:function(t,e){1&t&&va(0,"router-outlet")},directives:function(){return[Ag]},encapsulation:2}),t})();const Sp="primary";class Cp{constructor(t){this.params=t||{}}has(t){return this.params.hasOwnProperty(t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function xp(t){return new Cp(t)}const Tp="ngNavigationCancelingError";function kp(t){const e=Error("NavigationCancelingError: "+t);return e[Tp]=!0,e}function Ep(t,e,n){const r=n.path.split("/");if(r.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||r.length<t.length))return null;const s={};for(let i=0;i<r.length;i++){const e=r[i],n=t[i];if(e.startsWith(":"))s[e.substring(1)]=n;else if(e!==n.path)return null}return{consumed:t.slice(0,r.length),posParams:s}}class Ip{constructor(t,e){this.routes=t,this.module=e}}function Ap(t,e=""){for(let n=0;n<t.length;n++){const r=t[n];Rp(r,Op(e,r))}}function Rp(t,e){if(!t)throw new Error(`\n Invalid configuration of route '${e}': Encountered undefined route.\n The reason might be an extra comma.\n\n Example:\n const routes: Routes = [\n { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n { path: 'dashboard', component: DashboardComponent },, << two commas\n { path: 'detail/:id', component: HeroDetailComponent }\n ];\n `);if(Array.isArray(t))throw new Error(`Invalid configuration of route '${e}': Array cannot be specified`);if(!t.component&&!t.children&&!t.loadChildren&&t.outlet&&t.outlet!==Sp)throw new Error(`Invalid configuration of route '${e}': a componentless route without children or loadChildren cannot have a named outlet set`);if(t.redirectTo&&t.children)throw new Error(`Invalid configuration of route '${e}': redirectTo and children cannot be used together`);if(t.redirectTo&&t.loadChildren)throw new Error(`Invalid configuration of route '${e}': redirectTo and loadChildren cannot be used together`);if(t.children&&t.loadChildren)throw new Error(`Invalid configuration of route '${e}': children and loadChildren cannot be used together`);if(t.redirectTo&&t.component)throw new Error(`Invalid configuration of route '${e}': redirectTo and component cannot be used together`);if(t.path&&t.matcher)throw new Error(`Invalid configuration of route '${e}': path and matcher cannot be used together`);if(void 0===t.redirectTo&&!t.component&&!t.children&&!t.loadChildren)throw new Error(`Invalid configuration of route '${e}'. One of the following must be provided: component, redirectTo, children or loadChildren`);if(void 0===t.path&&void 0===t.matcher)throw new Error(`Invalid configuration of route '${e}': routes must have either a path or a matcher specified`);if("string"==typeof t.path&&"/"===t.path.charAt(0))throw new Error(`Invalid configuration of route '${e}': path cannot start with a slash`);if(""===t.path&&void 0!==t.redirectTo&&void 0===t.pathMatch){const n="The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.";throw new Error(`Invalid configuration of route '{path: "${e}", redirectTo: "${t.redirectTo}"}': please provide 'pathMatch'. ${n}`)}if(void 0!==t.pathMatch&&"full"!==t.pathMatch&&"prefix"!==t.pathMatch)throw new Error(`Invalid configuration of route '${e}': pathMatch can only be set to 'prefix' or 'full'`);t.children&&Ap(t.children,e)}function Op(t,e){return e?t||e.path?t&&!e.path?`${t}/`:!t&&e.path?e.path:`${t}/${e.path}`:"":t}function Dp(t){const e=t.children&&t.children.map(Dp),n=e?Object.assign({},t,{children:e}):Object.assign({},t);return!n.component&&(e||n.loadChildren)&&n.outlet&&n.outlet!==Sp&&(n.component=bp),n}function Pp(t,e){const n=Object.keys(t),r=Object.keys(e);if(!n||!r||n.length!=r.length)return!1;let s;for(let i=0;i<n.length;i++)if(t[s=n[i]]!==e[s])return!1;return!0}function jp(t){return Array.prototype.concat.apply([],t)}function Np(t){return t.length>0?t[t.length-1]:null}function Up(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function Mp(t){return ba(t)?t:wa(t)?F(Promise.resolve(t)):hd(t)}function Lp(t,e,n){return n?function(t,e){return Pp(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!$p(e.segments,n.segments))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(const r in n.children){if(!e.children[r])return!1;if(!t(e.children[r],n.children[r]))return!1}return!0}(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>e[n]===t[n])}(t.queryParams,e.queryParams)&&function t(e,n){return function e(n,r,s){if(n.segments.length>s.length)return!!$p(n.segments.slice(0,s.length),s)&&!r.hasChildren();if(n.segments.length===s.length){if(!$p(n.segments,s))return!1;for(const e in r.children){if(!n.children[e])return!1;if(!t(n.children[e],r.children[e]))return!1}return!0}{const t=s.slice(0,n.segments.length),i=s.slice(n.segments.length);return!!$p(n.segments,t)&&!!n.children[Sp]&&e(n.children[Sp],r,i)}}(e,n,n.segments)}(t.root,e.root)}class Hp{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=xp(this.queryParams)),this._queryParamMap}toString(){return Wp.serialize(this)}}class Vp{constructor(t,e){this.segments=t,this.children=e,this.parent=null,Up(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Zp(this)}}class Fp{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=xp(this.parameters)),this._parameterMap}toString(){return Xp(this)}}function $p(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}function zp(t,e){let n=[];return Up(t.children,(t,r)=>{r===Sp&&(n=n.concat(e(t,r)))}),Up(t.children,(t,r)=>{r!==Sp&&(n=n.concat(e(t,r)))}),n}class qp{}class Bp{parse(t){const e=new sf(t);return new Hp(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){var e;return`${`/${function t(e,n){if(!e.hasChildren())return Zp(e);if(n){const n=e.children[Sp]?t(e.children[Sp],!1):"",r=[];return Up(e.children,(e,n)=>{n!==Sp&&r.push(`${n}:${t(e,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=zp(e,(n,r)=>r===Sp?[t(e.children[Sp],!1)]:[`${r}:${t(n,!1)}`]);return`${Zp(e)}/(${n.join("//")})`}}(t.root,!0)}`}${function(t){const e=Object.keys(t).map(e=>{const n=t[e];return Array.isArray(n)?n.map(t=>`${Qp(e)}=${Qp(t)}`).join("&"):`${Qp(e)}=${Qp(n)}`});return e.length?`?${e.join("&")}`:""}(t.queryParams)}${"string"==typeof t.fragment?`#${e=t.fragment,encodeURI(e)}`:""}`}}const Wp=new Bp;function Zp(t){return t.segments.map(t=>Xp(t)).join("/")}function Gp(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Qp(t){return Gp(t).replace(/%3B/gi,";")}function Yp(t){return Gp(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Kp(t){return decodeURIComponent(t)}function Jp(t){return Kp(t.replace(/\+/g,"%20"))}function Xp(t){return`${Yp(t.path)}${e=t.parameters,Object.keys(e).map(t=>`;${Yp(t)}=${Yp(e[t])}`).join("")}`;var e}const tf=/^[^\/()?;=#]+/;function ef(t){const e=t.match(tf);return e?e[0]:""}const nf=/^[^=?&#]+/,rf=/^[^?&#]+/;class sf{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Vp([],{}):new Vp([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n[Sp]=new Vp(t,e)),n}parseSegment(){const t=ef(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new Fp(Kp(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=ef(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=ef(this.remaining);t&&(n=t,this.capture(n))}t[Kp(e)]=Kp(n)}parseQueryParam(t){const e=function(t){const e=t.match(nf);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=function(t){const e=t.match(rf);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const r=Jp(e),s=Jp(n);if(t.hasOwnProperty(r)){let e=t[r];Array.isArray(e)||(e=[e],t[r]=e),e.push(s)}else t[r]=s}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=ef(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error(`Cannot parse url '${this.url}'`);let s=void 0;n.indexOf(":")>-1?(s=n.substr(0,n.indexOf(":")),this.capture(s),this.capture(":")):t&&(s=Sp);const i=this.parseChildren();e[s]=1===Object.keys(i).length?i[Sp]:new Vp([],i),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Error(`Expected "${t}".`)}}class of{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=af(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=af(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=lf(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return lf(t,this._root).map(t=>t.value)}}function af(t,e){if(t===e.value)return e;for(const n of e.children){const e=af(t,n);if(e)return e}return null}function lf(t,e){if(t===e.value)return[e];for(const n of e.children){const r=lf(t,n);if(r.length)return r.unshift(e),r}return[]}class cf{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function uf(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class hf extends of{constructor(t,e){super(t),this.snapshot=e,yf(this,t)}toString(){return this.snapshot.toString()}}function df(t,e){const n=function(t,e){const n=new gf([],{},{},"",{},Sp,e,null,t.root,-1,{});return new mf("",new cf(n,[]))}(t,e),r=new dd([new Fp("",{})]),s=new dd({}),i=new dd({}),o=new dd({}),a=new dd(""),l=new pf(r,s,o,a,i,Sp,e,n.root);return l.snapshot=n.root,new hf(new cf(l,[]),n)}class pf{constructor(t,e,n,r,s,i,o,a){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=s,this.outlet=i,this.component=o,this._futureSnapshot=a}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(M(t=>xp(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(M(t=>xp(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function ff(t,e="emptyOnly"){const n=t.pathFromRoot;let r=0;if("always"!==e)for(r=n.length-1;r>=1;){const t=n[r],e=n[r-1];if(t.routeConfig&&""===t.routeConfig.path)r--;else{if(e.component)break;r--}}return function(t){return t.reduce((t,e)=>({params:Object.assign({},t.params,e.params),data:Object.assign({},t.data,e.data),resolve:Object.assign({},t.resolve,e._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(r))}class gf{constructor(t,e,n,r,s,i,o,a,l,c,u){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=s,this.outlet=i,this.component=o,this.routeConfig=a,this._urlSegment=l,this._lastPathIndex=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=xp(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=xp(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class mf extends of{constructor(t,e){super(e),this.url=t,yf(this,e)}toString(){return vf(this._root)}}function yf(t,e){e.value._routerState=t,e.children.forEach(e=>yf(t,e))}function vf(t){const e=t.children.length>0?` { ${t.children.map(vf).join(", ")} } `:"";return`${t.value}${e}`}function _f(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,Pp(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),Pp(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;n<t.length;++n)if(!Pp(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.url.next(n.url),Pp(e.data,n.data)||t.data.next(n.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function wf(t,e){const n=Pp(t.params,e.params)&&$p(r=t.url,s=e.url)&&r.every((t,e)=>Pp(t.parameters,s[e].parameters));var r,s;const i=!t.parent!=!e.parent;return n&&!i&&(!t.parent||wf(t.parent,e.parent))}function bf(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function Sf(t,e,n,r,s){let i={};return r&&Up(r,(t,e)=>{i[e]=Array.isArray(t)?t.map(t=>`${t}`):`${t}`}),n.root===t?new Hp(e,i,s):new Hp(function t(e,n,r){const s={};return Up(e.children,(e,i)=>{s[i]=e===n?r:t(e,n,r)}),new Vp(e.segments,s)}(n.root,t,e),i,s)}class Cf{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&bf(n[0]))throw new Error("Root segment cannot have matrix parameters");const r=n.find(t=>"object"==typeof t&&null!=t&&t.outlets);if(r&&r!==Np(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class xf{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function Tf(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets[Sp]:`${t}`}function kf(t,e,n){if(t||(t=new Vp([],{})),0===t.segments.length&&t.hasChildren())return Ef(t,e,n);const r=function(t,e,n){let r=0,s=e;const i={match:!1,pathIndex:0,commandIndex:0};for(;s<t.segments.length;){if(r>=n.length)return i;const e=t.segments[s],o=Tf(n[r]),a=r<n.length-1?n[r+1]:null;if(s>0&&void 0===o)break;if(o&&a&&"object"==typeof a&&void 0===a.outlets){if(!Of(o,a,e))return i;r+=2}else{if(!Of(o,{},e))return i;r++}s++}return{match:!0,pathIndex:s,commandIndex:r}}(t,e,n),s=n.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){const e=new Vp(t.segments.slice(0,r.pathIndex),{});return e.children[Sp]=new Vp(t.segments.slice(r.pathIndex),t.children),Ef(e,0,s)}return r.match&&0===s.length?new Vp(t.segments,{}):r.match&&!t.hasChildren()?If(t,e,n):r.match?Ef(t,0,s):If(t,e,n)}function Ef(t,e,n){if(0===n.length)return new Vp(t.segments,{});{const r=function(t){return"object"!=typeof t[0]?{[Sp]:t}:void 0===t[0].outlets?{[Sp]:t}:t[0].outlets}(n),s={};return Up(r,(n,r)=>{null!==n&&(s[r]=kf(t.children[r],e,n))}),Up(t.children,(t,e)=>{void 0===r[e]&&(s[e]=t)}),new Vp(t.segments,s)}}function If(t,e,n){const r=t.segments.slice(0,e);let s=0;for(;s<n.length;){if("object"==typeof n[s]&&void 0!==n[s].outlets){const t=Af(n[s].outlets);return new Vp(r,t)}if(0===s&&bf(n[0])){const i=t.segments[e];r.push(new Fp(i.path,n[0])),s++;continue}const i=Tf(n[s]),o=s<n.length-1?n[s+1]:null;i&&o&&bf(o)?(r.push(new Fp(i,Rf(o))),s+=2):(r.push(new Fp(i,{})),s++)}return new Vp(r,{})}function Af(t){const e={};return Up(t,(t,n)=>{null!==t&&(e[n]=If(new Vp([],{}),0,t))}),e}function Rf(t){const e={};return Up(t,(t,n)=>e[n]=`${t}`),e}function Of(t,e,n){return t==n.path&&Pp(e,n.parameters)}const Df=(t,e,n)=>M(r=>(new Pf(e,r.targetRouterState,r.currentRouterState,n).activate(t),r));class Pf{constructor(t,e,n,r){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=r}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),_f(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const r=uf(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,r[e],n),delete r[e]}),Up(r,(t,e)=>{this.deactivateRouteAndItsChildren(t,n)})}deactivateRoutes(t,e,n){const r=t.value,s=e?e.value:null;if(r===s)if(r.component){const s=n.getContext(r.outlet);s&&this.deactivateChildRoutes(t,e,s.children)}else this.deactivateChildRoutes(t,e,n);else s&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const n=e.getContext(t.value.outlet);if(n&&n.outlet){const e=n.outlet.detach(),r=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:r})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet);if(n){const r=uf(t),s=t.value.component?n.children:e;Up(r,(t,e)=>this.deactivateRouteAndItsChildren(t,s)),n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}}activateChildRoutes(t,e,n){const r=uf(e);t.children.forEach(t=>{this.activateRoutes(t,r[t.value.outlet],n),this.forwardEvent(new _p(t.value.snapshot))}),t.children.length&&this.forwardEvent(new yp(t.value.snapshot))}activateRoutes(t,e,n){const r=t.value,s=e?e.value:null;if(_f(r),r===s)if(r.component){const s=n.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,s.children)}else this.activateChildRoutes(t,e,n);else if(r.component){const e=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const t=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),e.children.onOutletReAttached(t.contexts),e.attachRef=t.componentRef,e.route=t.route.value,e.outlet&&e.outlet.attach(t.componentRef,t.route.value),jf(t.route)}else{const n=function(t){for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig;if(t&&t.component)return null}return null}(r.snapshot),s=n?n.module.componentFactoryResolver:null;e.attachRef=null,e.route=r,e.resolver=s,e.outlet&&e.outlet.activateWith(r,s),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}function jf(t){_f(t.value),t.children.forEach(jf)}function Nf(t){return"function"==typeof t}function Uf(t){return t instanceof Hp}class Mf{constructor(t){this.segmentGroup=t||null}}class Lf{constructor(t){this.urlTree=t}}function Hf(t){return new w(e=>e.error(new Mf(t)))}function Vf(t){return new w(e=>e.error(new Lf(t)))}function Ff(t){return new w(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class $f{constructor(t,e,n,r,s){this.configLoader=e,this.urlSerializer=n,this.urlTree=r,this.config=s,this.allowRedirects=!0,this.ngModule=t.get(Bt)}apply(){return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,Sp).pipe(M(t=>this.createUrlTree(t,this.urlTree.queryParams,this.urlTree.fragment))).pipe(Ud(t=>{if(t instanceof Lf)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof Mf)throw this.noMatchError(t);throw t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,Sp).pipe(M(e=>this.createUrlTree(e,t.queryParams,t.fragment))).pipe(Ud(t=>{if(t instanceof Mf)throw this.noMatchError(t);throw t}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,n){const r=t.segments.length>0?new Vp([],{[Sp]:t}):t;return new Hp(r,e,n)}expandSegmentGroup(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(M(t=>new Vp([],t))):this.expandSegment(t,n,e,n.segments,r,!0)}expandChildren(t,e,n){return function(t,e){if(0===Object.keys(t).length)return hd({});const n=[],r=[],s={};return Up(t,(t,i)=>{const o=e(i,t).pipe(M(t=>s[i]=t));i===Sp?n.push(o):r.push(o)}),hd.apply(null,n.concat(r)).pipe(wd(),Nd(),M(()=>s))}(n.children,(n,r)=>this.expandSegmentGroup(t,e,r,n))}expandSegment(t,e,n,r,s,i){return hd(...n).pipe(M(o=>this.expandSegmentAgainstRoute(t,e,n,o,r,s,i).pipe(Ud(t=>{if(t instanceof Mf)return hd(null);throw t}))),wd(),$d(t=>!!t),Ud((t,n)=>{if(t instanceof pd||"EmptyError"===t.name){if(this.noLeftoversInUrl(e,r,s))return hd(new Vp([],{}));throw new Mf(e)}throw t}))}noLeftoversInUrl(t,e,n){return 0===e.length&&!t.children[n]}expandSegmentAgainstRoute(t,e,n,r,s,i,o){return Wf(r)!==i?Hf(e):void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,s):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,s,i):Hf(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,r,s,i){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,i):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,s,i)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,r){const s=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Vf(s):this.lineralizeSegments(n,s).pipe($(n=>{const s=new Vp(n,{});return this.expandSegment(t,s,e,n,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,s,i){const{matched:o,consumedSegments:a,lastChild:l,positionalParamSegments:c}=zf(e,r,s);if(!o)return Hf(e);const u=this.applyRedirectCommands(a,r.redirectTo,c);return r.redirectTo.startsWith("/")?Vf(u):this.lineralizeSegments(r,u).pipe($(r=>this.expandSegment(t,e,n,r.concat(s.slice(l)),i,!1)))}matchSegmentAgainstRoute(t,e,n,r){if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(M(t=>(n._loadedConfig=t,new Vp(r,{})))):hd(new Vp(r,{}));const{matched:s,consumedSegments:i,lastChild:o}=zf(e,n,r);if(!s)return Hf(e);const a=r.slice(o);return this.getChildConfig(t,n,r).pipe($(t=>{const n=t.module,r=t.routes,{segmentGroup:s,slicedSegments:o}=function(t,e,n,r){return n.length>0&&function(t,e,n){return n.some(n=>Bf(t,e,n)&&Wf(n)!==Sp)}(t,n,r)?{segmentGroup:qf(new Vp(e,function(t,e){const n={};n[Sp]=e;for(const r of t)""===r.path&&Wf(r)!==Sp&&(n[Wf(r)]=new Vp([],{}));return n}(r,new Vp(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return n.some(n=>Bf(t,e,n))}(t,n,r)?{segmentGroup:qf(new Vp(t.segments,function(t,e,n,r){const s={};for(const i of n)Bf(t,e,i)&&!r[Wf(i)]&&(s[Wf(i)]=new Vp([],{}));return Object.assign({},r,s)}(t,n,r,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,i,a,r);return 0===o.length&&s.hasChildren()?this.expandChildren(n,r,s).pipe(M(t=>new Vp(i,t))):0===r.length&&0===o.length?hd(new Vp(i,{})):this.expandSegment(n,s,r,o,Sp,!0).pipe(M(t=>new Vp(i.concat(t.segments),t.children)))}))}getChildConfig(t,e,n){return e.children?hd(new Ip(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?hd(e._loadedConfig):function(t,e,n){const r=e.canLoad;return r&&0!==r.length?F(r).pipe(M(r=>{const s=t.get(r);let i;if(function(t){return t&&Nf(t.canLoad)}(s))i=s.canLoad(e,n);else{if(!Nf(s))throw new Error("Invalid CanLoad guard");i=s(e,n)}return Mp(i)})).pipe(wd(),(s=t=>!0===t,t=>t.lift(new zd(s,void 0,t)))):hd(!0);var s}(t.injector,e,n).pipe($(n=>n?this.configLoader.load(t.injector,e).pipe(M(t=>(e._loadedConfig=t,t))):function(t){return new w(e=>e.error(kp(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(e))):hd(new Ip([],t))}lineralizeSegments(t,e){let n=[],r=e.root;for(;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return hd(n);if(r.numberOfChildren>1||!r.children[Sp])return Ff(t.redirectTo);r=r.children[Sp]}}applyRedirectCommands(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreatreUrlTree(t,e,n,r){const s=this.createSegmentGroup(t,e.root,n,r);return new Hp(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return Up(t,(t,r)=>{if("string"==typeof t&&t.startsWith(":")){const s=t.substring(1);n[r]=e[s]}else n[r]=t}),n}createSegmentGroup(t,e,n,r){const s=this.createSegments(t,e.segments,n,r);let i={};return Up(e.children,(e,s)=>{i[s]=this.createSegmentGroup(t,e,n,r)}),new Vp(s,i)}createSegments(t,e,n,r){return e.map(e=>e.path.startsWith(":")?this.findPosParam(t,e,r):this.findOrReturn(e,n))}findPosParam(t,e,n){const r=n[e.path.substring(1)];if(!r)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return r}findOrReturn(t,e){let n=0;for(const r of e){if(r.path===t.path)return e.splice(n),r;n++}return t}}function zf(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};const r=(e.matcher||Ep)(n,t,e);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function qf(t){if(1===t.numberOfChildren&&t.children[Sp]){const e=t.children[Sp];return new Vp(t.segments.concat(e.segments),e.children)}return t}function Bf(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function Wf(t){return t.outlet||Sp}class Zf{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Gf{constructor(t,e){this.component=t,this.route=e}}function Qf(t,e,n){const r=t._root;return function t(e,n,r,s,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=uf(n);return e.children.forEach(e=>{!function(e,n,r,s,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=e.value,a=n?n.value:null,l=r?r.getContext(e.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){const c=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!$p(t.url,e.url);case"pathParamsOrQueryParamsChange":return!$p(t.url,e.url)||!Pp(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!wf(t,e)||!Pp(t.queryParams,e.queryParams);case"paramsChange":default:return!wf(t,e)}}(a,o,o.routeConfig.runGuardsAndResolvers);if(c?i.canActivateChecks.push(new Zf(s)):(o.data=a.data,o._resolvedData=a._resolvedData),o.component?t(e,n,l?l.children:null,s,i):t(e,n,r,s,i),c){const t=l&&l.outlet&&l.outlet.component||null;i.canDeactivateChecks.push(new Gf(t,a))}}else a&&Kf(n,l,i),i.canActivateChecks.push(new Zf(s)),o.component?t(e,null,l?l.children:null,s,i):t(e,null,r,s,i)}(e,o[e.value.outlet],r,s.concat([e.value]),i),delete o[e.value.outlet]}),Up(o,(t,e)=>Kf(t,r.getContext(e),i)),i}(r,e?e._root:null,n,[r.value])}function Yf(t,e,n){const r=function(t){if(!t)return null;for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig}return null}(e);return(r?r.module.injector:n).get(t)}function Kf(t,e,n){const r=uf(t),s=t.value;Up(r,(t,r)=>{s.component?Kf(t,e?e.children.getContext(r):null,n):Kf(t,e,n)}),s.component&&e&&e.outlet&&e.outlet.isActivated?n.canDeactivateChecks.push(new Gf(e.outlet.component,s)):n.canDeactivateChecks.push(new Gf(null,s))}const Jf=Symbol("INITIAL_VALUE");function Xf(){return Bd(t=>(function(...t){let e=null,n=null;return E(t[t.length-1])&&(n=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&l(t[0])&&(t=t[0]),Z(t,n).lift(new gd(e))})(...t.map(t=>t.pipe(Hd(1),function(...t){const e=t[t.length-1];return E(e)?(t.pop(),n=>Gd(t,n,e)):e=>Gd(t,e)}(Jf)))).pipe(Qd((t,e)=>{let n=!1;return e.reduce((t,r,s)=>{if(t!==Jf)return t;if(r===Jf&&(n=!0),!n){if(!1===r)return r;if(s===e.length-1||Uf(r))return r}return t},t)},Jf),bd(t=>t!==Jf),M(t=>Uf(t)?t:!0===t),Hd(1)))}function tg(t,e){return null!==t&&e&&e(new vp(t)),hd(!0)}function eg(t,e){return null!==t&&e&&e(new mp(t)),hd(!0)}function ng(t,e,n){const r=e.routeConfig?e.routeConfig.canActivate:null;return r&&0!==r.length?hd(r.map(r=>_d(()=>{const s=Yf(r,e,n);let i;if(function(t){return t&&Nf(t.canActivate)}(s))i=Mp(s.canActivate(e,t));else{if(!Nf(s))throw new Error("Invalid CanActivate guard");i=Mp(s(e,t))}return i.pipe($d())}))).pipe(Xf()):hd(!0)}function rg(t,e,n){const r=e[e.length-1],s=e.slice(0,e.length-1).reverse().map(t=>(function(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null})(t)).filter(t=>null!==t).map(e=>_d(()=>hd(e.guards.map(s=>{const i=Yf(s,e.node,n);let o;if(function(t){return t&&Nf(t.canActivateChild)}(i))o=Mp(i.canActivateChild(r,t));else{if(!Nf(i))throw new Error("Invalid CanActivateChild guard");o=Mp(i(r,t))}return o.pipe($d())})).pipe(Xf())));return hd(s).pipe(Xf())}class sg{}class ig{constructor(t,e,n,r,s,i){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=i}recognize(){try{const t=lg(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,Sp),n=new gf([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},Sp,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new cf(n,e),s=new mf(this.url,r);return this.inheritParamsAndData(s._root),hd(s)}catch(t){return new w(e=>e.error(t))}}inheritParamsAndData(t){const e=t.value,n=ff(e,this.paramsInheritanceStrategy);e.params=Object.freeze(n.params),e.data=Object.freeze(n.data),t.children.forEach(t=>this.inheritParamsAndData(t))}processSegmentGroup(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)}processChildren(t,e){const n=zp(e,(e,n)=>this.processSegmentGroup(t,e,n));return function(t){const e={};t.forEach(t=>{const n=e[t.value.outlet];if(n){const e=n.url.map(t=>t.toString()).join("/"),r=t.value.url.map(t=>t.toString()).join("/");throw new Error(`Two segments cannot have the same outlet name: '${e}' and '${r}'.`)}e[t.value.outlet]=t.value})}(n),n.sort((t,e)=>t.value.outlet===Sp?-1:e.value.outlet===Sp?1:t.value.outlet.localeCompare(e.value.outlet)),n}processSegment(t,e,n,r){for(const i of t)try{return this.processSegmentAgainstRoute(i,e,n,r)}catch(s){if(!(s instanceof sg))throw s}if(this.noLeftoversInUrl(e,n,r))return[];throw new sg}noLeftoversInUrl(t,e,n){return 0===e.length&&!t.children[n]}processSegmentAgainstRoute(t,e,n,r){if(t.redirectTo)throw new sg;if((t.outlet||Sp)!==r)throw new sg;let s,i=[],o=[];if("**"===t.path){const i=n.length>0?Np(n).parameters:{};s=new gf(n,i,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,hg(t),r,t.component,t,og(e),ag(e)+n.length,dg(t))}else{const a=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new sg;return{consumedSegments:[],lastChild:0,parameters:{}}}const r=(e.matcher||Ep)(n,t,e);if(!r)throw new sg;const s={};Up(r.posParams,(t,e)=>{s[e]=t.path});const i=r.consumed.length>0?Object.assign({},s,r.consumed[r.consumed.length-1].parameters):s;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:i}}(e,t,n);i=a.consumedSegments,o=n.slice(a.lastChild),s=new gf(i,a.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,hg(t),r,t.component,t,og(e),ag(e)+i.length,dg(t))}const a=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:l,slicedSegments:c}=lg(e,i,o,a,this.relativeLinkResolution);if(0===c.length&&l.hasChildren()){const t=this.processChildren(a,l);return[new cf(s,t)]}if(0===a.length&&0===c.length)return[new cf(s,[])];const u=this.processSegment(a,l,c,Sp);return[new cf(s,u)]}}function og(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function ag(t){let e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;for(;e._sourceSegment;)n+=(e=e._sourceSegment)._segmentIndexShift?e._segmentIndexShift:0;return n-1}function lg(t,e,n,r,s){if(n.length>0&&function(t,e,n){return n.some(n=>cg(t,e,n)&&ug(n)!==Sp)}(t,n,r)){const s=new Vp(e,function(t,e,n,r){const s={};s[Sp]=r,r._sourceSegment=t,r._segmentIndexShift=e.length;for(const i of n)if(""===i.path&&ug(i)!==Sp){const n=new Vp([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,s[ug(i)]=n}return s}(t,e,r,new Vp(n,t.children)));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(n=>cg(t,e,n))}(t,n,r)){const i=new Vp(t.segments,function(t,e,n,r,s,i){const o={};for(const a of r)if(cg(t,n,a)&&!s[ug(a)]){const n=new Vp([],{});n._sourceSegment=t,n._segmentIndexShift="legacy"===i?t.segments.length:e.length,o[ug(a)]=n}return Object.assign({},s,o)}(t,e,n,r,t.children,s));return i._sourceSegment=t,i._segmentIndexShift=e.length,{segmentGroup:i,slicedSegments:n}}const i=new Vp(t.segments,t.children);return i._sourceSegment=t,i._segmentIndexShift=e.length,{segmentGroup:i,slicedSegments:n}}function cg(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function ug(t){return t.outlet||Sp}function hg(t){return t.data||{}}function dg(t){return t.resolve||{}}function pg(t,e,n,r){const s=Yf(t,e,r);return s.resolve?Mp(s.resolve(e,n)):Mp(s(e,n))}function fg(t){return function(e){return e.pipe(Bd(e=>{const n=t(e);return n?F(n).pipe(M(()=>e)):F([e])}))}}class gg{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}const mg=new Et("ROUTES");class yg{constructor(t,e,n,r){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=r}load(t,e){return this.onLoadStartListener&&this.onLoadStartListener(e),this.loadModuleFactory(e.loadChildren).pipe(M(n=>{this.onLoadEndListener&&this.onLoadEndListener(e);const r=n.create(t);return new Ip(jp(r.injector.get(mg)).map(Dp),r)}))}loadModuleFactory(t){return"string"==typeof t?F(this.loader.load(t)):Mp(t()).pipe($(t=>t instanceof Wt?hd(t):F(this.compiler.compileModuleAsync(t))))}}class vg{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function _g(t){throw t}function wg(t,e,n){return e.parse("/")}function bg(t,e){return hd(null)}class Sg{constructor(t,e,n,r,s,i,o,a){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=r,this.config=a,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new T,this.errorHandler=_g,this.malformedUriErrorHandler=wg,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:bg,afterPreactivation:bg},this.urlHandlingStrategy=new vg,this.routeReuseStrategy=new gg,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=s.get(Bt),this.console=s.get(mc);const l=s.get(Mc);this.isNgZoneEnabled=l instanceof Mc,this.resetConfig(a),this.currentUrlTree=new Hp(new Vp([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new yg(i,o,t=>this.triggerEvent(new fp(t)),t=>this.triggerEvent(new gp(t))),this.routerState=df(this.currentUrlTree,this.rootComponentType),this.transitions=new dd({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}setupNavigations(t){const e=this.events;return t.pipe(bd(t=>0!==t.id),M(t=>Object.assign({},t,{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),Bd(t=>{let n=!1,r=!1;return hd(t).pipe(Xd(t=>{this.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign({},this.lastSuccessfulNavigation,{previousNavigation:null}):null}}),Bd(t=>{const n=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return hd(t).pipe(Bd(t=>{const n=this.transitions.getValue();return e.next(new ip(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?yd:[t]}),Bd(t=>Promise.resolve(t)),function(t,e,n,r){return function(s){return s.pipe(Bd(s=>(function(t,e,n,r,s){return new $f(t,e,n,r,s).apply()})(t,e,n,s.extractedUrl,r).pipe(M(t=>Object.assign({},s,{urlAfterRedirects:t})))))}}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),Xd(t=>{this.currentNavigation=Object.assign({},this.currentNavigation,{finalUrl:t.urlAfterRedirects})}),function(t,e,n,r,s){return function(i){return i.pipe($(i=>(function(t,e,n,r,s="emptyOnly",i="legacy"){return new ig(t,e,n,r,s,i).recognize()})(t,e,i.urlAfterRedirects,n(i.urlAfterRedirects),r,s).pipe(M(t=>Object.assign({},i,{targetSnapshot:t})))))}}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),Xd(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),Xd(t=>{const n=new cp(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(n)}));if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:r,source:s,restoredState:i,extras:o}=t,a=new ip(n,this.serializeUrl(r),s,i);e.next(a);const l=df(r,this.rootComponentType).snapshot;return hd(Object.assign({},t,{targetSnapshot:l,urlAfterRedirects:r,extras:Object.assign({},o,{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),yd}),fg(t=>{const{targetSnapshot:e,id:n,extractedUrl:r,rawUrl:s,extras:{skipLocationChange:i,replaceUrl:o}}=t;return this.hooks.beforePreactivation(e,{navigationId:n,appliedUrlTree:r,rawUrlTree:s,skipLocationChange:!!i,replaceUrl:!!o})}),Xd(t=>{const e=new up(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),M(t=>Object.assign({},t,{guards:Qf(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return function(n){return n.pipe($(n=>{const{targetSnapshot:r,currentSnapshot:s,guards:{canActivateChecks:i,canDeactivateChecks:o}}=n;return 0===o.length&&0===i.length?hd(Object.assign({},n,{guardsResult:!0})):function(t,e,n,r){return F(t).pipe($(t=>(function(t,e,n,r,s){const i=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return i&&0!==i.length?hd(i.map(i=>{const o=Yf(i,e,s);let a;if(function(t){return t&&Nf(t.canDeactivate)}(o))a=Mp(o.canDeactivate(t,e,n,r));else{if(!Nf(o))throw new Error("Invalid CanDeactivate guard");a=Mp(o(t,e,n,r))}return a.pipe($d())})).pipe(Xf()):hd(!0)})(t.component,t.route,n,e,r)),$d(t=>!0!==t,!0))}(o,r,s,t).pipe($(n=>n&&function(t){return"boolean"==typeof t}(n)?function(t,e,n,r){return F(e).pipe(Jd(e=>F([eg(e.route.parent,r),tg(e.route,r),rg(t,e.path,n),ng(t,e.route,n)]).pipe(wd(),$d(t=>!0!==t,!0))),$d(t=>!0!==t,!0))}(r,i,t,e):hd(n)),M(t=>Object.assign({},n,{guardsResult:t})))}))}}(this.ngModule.injector,t=>this.triggerEvent(t)),Xd(t=>{if(Uf(t.guardsResult)){const e=kp(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}}),Xd(t=>{const e=new hp(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),bd(t=>{if(!t.guardsResult){this.resetUrlToCurrentUrlTree();const n=new ap(t.id,this.serializeUrl(t.extractedUrl),"");return e.next(n),t.resolve(!1),!1}return!0}),fg(t=>{if(t.guards.canActivateChecks.length)return hd(t).pipe(Xd(t=>{const e=new dp(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),function(t,e){return function(n){return n.pipe($(n=>{const{targetSnapshot:r,guards:{canActivateChecks:s}}=n;return s.length?F(s).pipe(Jd(n=>(function(t,e,n,r){return function(t,e,n,r){const s=Object.keys(t);if(0===s.length)return hd({});if(1===s.length){const i=s[0];return pg(t[i],e,n,r).pipe(M(t=>({[i]:t})))}const i={};return F(s).pipe($(s=>pg(t[s],e,n,r).pipe(M(t=>(i[s]=t,t))))).pipe(Nd(),M(()=>i))}(t._resolve,t,e,r).pipe(M(e=>(t._resolvedData=e,t.data=Object.assign({},t.data,ff(t,n).resolve),null)))})(n.route,r,t,e)),function(t,e){return arguments.length>=2?function(n){return v(Qd(t,e),Td(1),Dd(e))(n)}:function(e){return v(Qd((e,n,r)=>t(e,n,r+1)),Td(1))(e)}}((t,e)=>t),M(t=>n)):hd(n)}))}}(this.paramsInheritanceStrategy,this.ngModule.injector),Xd(t=>{const e=new pp(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}))}),fg(t=>{const{targetSnapshot:e,id:n,extractedUrl:r,rawUrl:s,extras:{skipLocationChange:i,replaceUrl:o}}=t;return this.hooks.afterPreactivation(e,{navigationId:n,appliedUrlTree:r,rawUrlTree:s,skipLocationChange:!!i,replaceUrl:!!o})}),M(t=>{const e=function(t,e,n){const r=function t(e,n,r){if(r&&e.shouldReuseRoute(n.value,r.value.snapshot)){const s=r.value;s._futureSnapshot=n.value;const i=function(e,n,r){return n.children.map(n=>{for(const s of r.children)if(e.shouldReuseRoute(s.value.snapshot,n.value))return t(e,n,s);return t(e,n)})}(e,n,r);return new cf(s,i)}{const r=e.retrieve(n.value);if(r){const t=r.route;return function t(e,n){if(e.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=e.value;for(let r=0;r<e.children.length;++r)t(e.children[r],n.children[r])}(n,t),t}{const r=(s=n.value,new pf(new dd(s.url),new dd(s.params),new dd(s.queryParams),new dd(s.fragment),new dd(s.data),s.outlet,s.component,s)),i=n.children.map(n=>t(e,n));return new cf(r,i)}}var s}(t,e._root,n?n._root:void 0);return new hf(r,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign({},t,{targetRouterState:e})}),Xd(t=>{this.currentUrlTree=t.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl),this.routerState=t.targetRouterState,"deferred"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),Df(this.rootContexts,this.routeReuseStrategy,t=>this.triggerEvent(t)),Xd({next(){n=!0},complete(){n=!0}}),function(t){return e=>e.lift(new np(t))}(()=>{if(!n&&!r){this.resetUrlToCurrentUrlTree();const n=new ap(t.id,this.serializeUrl(t.extractedUrl),`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`);e.next(n),t.resolve(!1)}this.currentNavigation=null}),Ud(n=>{if(r=!0,function(t){return t&&t[Tp]}(n)){const r=Uf(n.url);r||(this.navigated=!0,this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));const s=new ap(t.id,this.serializeUrl(t.extractedUrl),n.message);e.next(s),t.resolve(!1),r&&this.navigateByUrl(n.url)}else{this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);const r=new lp(t.id,this.serializeUrl(t.extractedUrl),n);e.next(r);try{t.resolve(this.errorHandler(n))}catch(s){t.reject(s)}}return yd}))}))}resetRootComponentType(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}getTransition(){const t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}setTransition(t){this.transitions.next(Object.assign({},this.getTransition(),t))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{let e=this.parseUrl(t.url);const n="popstate"===t.type?"popstate":"hashchange",r=t.state&&t.state.navigationId?t.state:null;setTimeout(()=>{this.scheduleNavigation(e,n,r,{replaceUrl:!0})},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){Ap(t),this.config=t.map(Dp),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)}createUrlTree(t,e={}){const{relativeTo:n,queryParams:r,fragment:s,preserveQueryParams:i,queryParamsHandling:o,preserveFragment:a}=e;Es()&&i&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");const l=n||this.routerState.root,c=a?this.currentUrlTree.fragment:s;let u=null;if(o)switch(o){case"merge":u=Object.assign({},this.currentUrlTree.queryParams,r);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=r||null}else u=i?this.currentUrlTree.queryParams:r||null;return null!==u&&(u=this.removeEmptyProps(u)),function(t,e,n,r,s){if(0===n.length)return Sf(e.root,e.root,e,r,s);const i=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new Cf(!0,0,t);let e=0,n=!1;const r=t.reduce((t,r,s)=>{if("object"==typeof r&&null!=r){if(r.outlets){const e={};return Up(r.outlets,(t,n)=>{e[n]="string"==typeof t?t.split("/"):t}),[...t,{outlets:e}]}if(r.segmentPath)return[...t,r.segmentPath]}return"string"!=typeof r?[...t,r]:0===s?(r.split("/").forEach((r,s)=>{0==s&&"."===r||(0==s&&""===r?n=!0:".."===r?e++:""!=r&&t.push(r))}),t):[...t,r]},[]);return new Cf(n,e,r)}(n);if(i.toRoot())return Sf(e.root,new Vp([],{}),e,r,s);const o=function(t,e,n){if(t.isAbsolute)return new xf(e.root,!0,0);if(-1===n.snapshot._lastPathIndex)return new xf(n.snapshot._urlSegment,!0,0);const r=bf(t.commands[0])?0:1,s=n.snapshot._lastPathIndex+r;return function(t,e,n){let r=t,s=e,i=n;for(;i>s;){if(i-=s,!(r=r.parent))throw new Error("Invalid number of '../'");s=r.segments.length}return new xf(r,!1,s-i)}(n.snapshot._urlSegment,s,t.numberOfDoubleDots)}(i,e,t),a=o.processChildren?Ef(o.segmentGroup,o.index,i.commands):kf(o.segmentGroup,o.index,i.commands);return Sf(o.segmentGroup,a,e,r,s)}(l,this.currentUrlTree,t,u,c)}navigateByUrl(t,e={skipLocationChange:!1}){Es()&&this.isNgZoneEnabled&&!Mc.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");const n=Uf(t)?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e<t.length;e++){const n=t[e];if(null==n)throw new Error(`The requested path contains ${n} segment at index ${e}`)}}(t),this.navigateByUrl(this.createUrlTree(t,e),e)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){let e;try{e=this.urlSerializer.parse(t)}catch(n){e=this.malformedUriErrorHandler(n,this.urlSerializer,t)}return e}isActive(t,e){if(Uf(t))return Lp(this.currentUrlTree,t,e);const n=this.parseUrl(t);return Lp(this.currentUrlTree,n,e)}removeEmptyProps(t){return Object.keys(t).reduce((e,n)=>{const r=t[n];return null!=r&&(e[n]=r),e},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.events.next(new op(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.currentNavigation=null,t.resolve(!0)},t=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(t,e,n,r){const s=this.getTransition();if(s&&"imperative"!==e&&"imperative"===s.source&&s.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(s&&"hashchange"==e&&"popstate"===s.source&&s.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(s&&"popstate"==e&&"hashchange"===s.source&&s.rawUrl.toString()===t.toString())return Promise.resolve(!0);let i=null,o=null;const a=new Promise((t,e)=>{i=t,o=e}),l=++this.navigationId;return this.setTransition({id:l,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:r,resolve:i,reject:o,promise:a,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),a.catch(t=>Promise.reject(t))}setBrowserUrl(t,e,n,r){const s=this.urlSerializer.serialize(t);r=r||{},this.location.isCurrentPathEqualTo(s)||e?this.location.replaceState(s,"",Object.assign({},r,{navigationId:n})):this.location.go(s,"",Object.assign({},r,{navigationId:n}))}resetStateAndUrl(t,e,n){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}let Cg=(()=>{class t{constructor(t,e,n,r,s){this.router=t,this.route=e,this.commands=[],null==n&&r.setAttribute(s.nativeElement,"tabindex","0")}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}set preserveQueryParams(t){Es()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=t}onClick(){const t={skipLocationChange:Tg(this.skipLocationChange),replaceUrl:Tg(this.replaceUrl)};return this.router.navigateByUrl(this.urlTree,t),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:Tg(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:Tg(this.preserveFragment)})}}return t.ngFactoryDef=function(e){return new(e||t)(ua(Sg),ua(pf),ha("tabindex"),ua(ol),ua(nl))},t.ngDirectiveDef=pe({type:t,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(t,e,n){1&t&&Sa("click",(function(t){return e.onClick()}))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"}}),t})(),xg=(()=>{class t{constructor(t,e,n){this.router=t,this.route=e,this.locationStrategy=n,this.commands=[],this.subscription=t.events.subscribe(t=>{t instanceof op&&this.updateTargetUrlAndHref()})}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}set preserveQueryParams(t){Es()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=t}ngOnChanges(t){this.updateTargetUrlAndHref()}ngOnDestroy(){this.subscription.unsubscribe()}onClick(t,e,n,r){if(0!==t||e||n||r)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const s={skipLocationChange:Tg(this.skipLocationChange),replaceUrl:Tg(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,s),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:Tg(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:Tg(this.preserveFragment)})}}return t.ngFactoryDef=function(e){return new(e||t)(ua(Sg),ua(pf),ua(Fu))},t.ngDirectiveDef=pe({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostBindings:function(t,e,n){1&t&&(Ko(2),Sa("click",(function(t){return e.onClick(t.button,t.ctrlKey,t.metaKey,t.shiftKey)}))),2&t&&(Oa("href",e.href,Os),la("target",e.target))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"},features:[ja()]}),t})();function Tg(t){return""===t||!!t}let kg=(()=>{class t{constructor(t,e,n,r,s){this.router=t,this.element=e,this.renderer=n,this.link=r,this.linkWithHref=s,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.subscription=t.events.subscribe(t=>{t instanceof op&&this.update()})}ngAfterContentInit(){this.links.changes.subscribe(t=>this.update()),this.linksWithHrefs.changes.subscribe(t=>this.update()),this.update()}set routerLinkActive(t){const e=Array.isArray(t)?t:t.split(" ");this.classes=e.filter(t=>!!t)}ngOnChanges(t){this.update()}ngOnDestroy(){this.subscription.unsubscribe()}update(){this.links&&this.linksWithHrefs&&this.router.navigated&&Promise.resolve().then(()=>{const t=this.hasActiveLinks();this.isActive!==t&&(this.isActive=t,this.classes.forEach(e=>{t?this.renderer.addClass(this.element.nativeElement,e):this.renderer.removeClass(this.element.nativeElement,e)}))})}isLinkActive(t){return e=>t.isActive(e.urlTree,this.routerLinkActiveOptions.exact)}hasActiveLinks(){const t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.linkWithHref&&t(this.linkWithHref)||this.links.some(t)||this.linksWithHrefs.some(t)}}return t.ngFactoryDef=function(e){return new(e||t)(ua(Sg),ua(nl),ua(ol),ua(Cg,8),ua(xg,8))},t.ngDirectiveDef=pe({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(t,e,n){var r;1&t&&(ic(n,Cg,!0),ic(n,xg,!0)),2&t&&(sc(r=oc())&&(e.links=r),sc(r=oc())&&(e.linksWithHrefs=r))},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},exportAs:["routerLinkActive"],features:[ja()]}),t})();class Eg{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Ig,this.attachRef=null}}class Ig{constructor(){this.contexts=new Map}onChildOutletCreated(t,e){const n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new Eg,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}let Ag=(()=>{class t{constructor(t,e,n,r,s){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new Zl,this.deactivateEvents=new Zl,this.name=r||Sp,t.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;const n=t._futureSnapshot.routeConfig.component,r=(e=e||this.resolver).resolveComponentFactory(n),s=this.parentContexts.getOrCreateContext(this.name).children,i=new Rg(t,s,this.location.injector);this.activated=this.location.createComponent(r,this.location.length,i),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.ngFactoryDef=function(e){return new(e||t)(ua(Ig),ua(Il),ua(el),ha("name"),ua(Ro))},t.ngDirectiveDef=pe({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t})();class Rg{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===pf?this.route:t===Ig?this.childContexts:this.parent.get(t,e)}}class Og{}class Dg{preload(t,e){return hd(null)}}let Pg=(()=>{class t{constructor(t,e,n,r,s){this.router=t,this.injector=r,this.preloadingStrategy=s,this.loader=new yg(e,n,e=>t.triggerEvent(new fp(e)),e=>t.triggerEvent(new gp(e)))}setUpPreloading(){this.subscription=this.router.events.pipe(bd(t=>t instanceof op),Jd(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(Bt);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription.unsubscribe()}processRoutes(t,e){const n=[];for(const r of e)if(r.loadChildren&&!r.canLoad&&r._loadedConfig){const t=r._loadedConfig;n.push(this.processRoutes(t.module,t.routes))}else r.loadChildren&&!r.canLoad?n.push(this.preloadConfig(t,r)):r.children&&n.push(this.processRoutes(t,r.children));return F(n).pipe(W(),M(t=>void 0))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>this.loader.load(t.injector,e).pipe($(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}return t.ngInjectableDef=dt({token:t,factory:function(e){return new(e||t)(Ft(Sg),Ft(ou),Ft(kc),Ft(Wo),Ft(Og))},providedIn:null}),t})();class jg{constructor(t,e,n={}){this.router=t,this.viewportScroller=e,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(t=>{t instanceof ip?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof op&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof wp&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,e){this.router.triggerEvent(new wp(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}const Ng=new Et("ROUTER_CONFIGURATION"),Ug=new Et("ROUTER_FORROOT_GUARD"),Mg=[Wu,{provide:qp,useClass:Bp},{provide:Sg,useFactory:function(t,e,n,r,s,i,o,a,l={},c,u){const h=new Sg(null,e,n,r,s,i,o,jp(a));if(c&&(h.urlHandlingStrategy=c),u&&(h.routeReuseStrategy=u),l.errorHandler&&(h.errorHandler=l.errorHandler),l.malformedUriErrorHandler&&(h.malformedUriErrorHandler=l.malformedUriErrorHandler),l.enableTracing){const t=Au();h.events.subscribe(e=>{t.logGroup(`Router Event: ${e.constructor.name}`),t.log(e.toString()),t.log(e),t.logGroupEnd()})}return l.onSameUrlNavigation&&(h.onSameUrlNavigation=l.onSameUrlNavigation),l.paramsInheritanceStrategy&&(h.paramsInheritanceStrategy=l.paramsInheritanceStrategy),l.urlUpdateStrategy&&(h.urlUpdateStrategy=l.urlUpdateStrategy),l.relativeLinkResolution&&(h.relativeLinkResolution=l.relativeLinkResolution),h},deps:[su,qp,Ig,Wu,Wo,ou,kc,mg,Ng,[class{},new ot],[class{},new ot]]},Ig,{provide:pf,useFactory:function(t){return t.routerState.root},deps:[Sg]},{provide:ou,useClass:hu},Pg,Dg,class{preload(t,e){return e().pipe(Ud(()=>hd(null)))}},{provide:Ng,useValue:{enableTracing:!1}}];function Lg(){return new Xc("Router",Sg)}let Hg=(()=>{class t{constructor(t,e){}static forRoot(e,n){return{ngModule:t,providers:[Mg,zg(e),{provide:Ug,useFactory:$g,deps:[[Sg,new ot,new lt]]},{provide:Ng,useValue:n||{}},{provide:Fu,useFactory:Fg,deps:[Du,[new it(zu),new ot],Ng]},{provide:jg,useFactory:Vg,deps:[Sg,ph,Ng]},{provide:Og,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:Dg},{provide:Xc,multi:!0,useFactory:Lg},[qg,{provide:lc,multi:!0,useFactory:Bg,deps:[qg]},{provide:Zg,useFactory:Wg,deps:[qg]},{provide:gc,multi:!0,useExisting:Zg}]]}}static forChild(e){return{ngModule:t,providers:[zg(e)]}}}return t.ngModuleDef=he({type:t}),t.ngInjectorDef=pt({factory:function(e){return new(e||t)(Ft(Ug,8),Ft(Sg,8))}}),t})();function Vg(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new jg(t,e,n)}function Fg(t,e,n={}){return n.useHash?new Bu(t,e):new qu(t,e)}function $g(t){if(t)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function zg(t){return[{provide:Zo,multi:!0,useValue:t},{provide:mg,multi:!0,useValue:t}]}let qg=(()=>{class t{constructor(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new T}appInitializer(){return this.injector.get(ju,Promise.resolve(null)).then(()=>{let t=null;const e=new Promise(e=>t=e),n=this.injector.get(Sg),r=this.injector.get(Ng);if(this.isLegacyDisabled(r)||this.isLegacyEnabled(r))t(!0);else if("disabled"===r.initialNavigation)n.setUpLocationChangeListener(),t(!0);else{if("enabled"!==r.initialNavigation)throw new Error(`Invalid initialNavigation options: '${r.initialNavigation}'`);n.hooks.afterPreactivation=()=>this.initNavigation?hd(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),n.initialNavigation()}return e})}bootstrapListener(t){const e=this.injector.get(Ng),n=this.injector.get(Pg),r=this.injector.get(jg),s=this.injector.get(Sg),i=this.injector.get(su);t===i.components[0]&&(this.isLegacyEnabled(e)?s.initialNavigation():this.isLegacyDisabled(e)&&s.setUpLocationChangeListener(),n.setUpPreloading(),r.init(),s.resetRootComponentType(i.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}isLegacyEnabled(t){return"legacy_enabled"===t.initialNavigation||!0===t.initialNavigation||void 0===t.initialNavigation}isLegacyDisabled(t){return"legacy_disabled"===t.initialNavigation||!1===t.initialNavigation}}return t.ngInjectableDef=dt({token:t,factory:function(e){return new(e||t)(Ft(Wo))},providedIn:null}),t})();function Bg(t){return t.appInitializer.bind(t)}function Wg(t){return t.bootstrapListener.bind(t)}const Zg=new Et("Router Initializer"),Gg={day1:[{isSession:!1,startTime:"12:00",endTime:"13:00",title:"\u5831\u5230"},{isSession:!0,startTime:"13:00",endTime:"17:00",title:"Angular Testing",description:"\u6e2c\u8a66\u8207\u958b\u767c\uff0c\u9019\u5169\u8005\u7684\u95dc\u4fc2\u5c0d\u65bc\u958b\u767c\u8005\u4f86\u8aaa\uff0c\u53ef\u4ee5\u8aaa\u662f\u53c8\u611b\u53c8\u6068\uff0c\u559c\u6b61\u6e2c\u8a66\u7684\u597d\u4f46\u4e0d\u559c\u6b61\u4ed6\u7684\u9ebb\u7169\u3002\u5e78\u904b\u7684\u662f\u6211\u5011\u5728\u958b\u767c Angular \u6642\uff0cAngular \u5718\u968a\u5df2\u7d93\u70ba\u6211\u5011\u8a2d\u60f3\u4e86\u64b0\u5beb\u6e2c\u8a66\u6642\u8981\u6709\u7684\u57fa\u672c\u8981\u7d20\uff0c\u7562\u7adf Google \u662f\u9593\u5f88\u6ce8\u91cd\u6e2c\u8a66\u7684\u516c\u53f8\uff0c\u5c31\u8b93\u6211\u5011\u4f86\u4e86\u89e3\u5728 Angular \u5167\u5beb\u6e2c\u8a66\u662f\u591a\u9ebc\u5e78\u798f\u7684\u4e00\u4ef6\u4e8b",speaker:"Kevin Yang"},{isSession:!1,startTime:"14:45",endTime:"15:15",title:"Tea Break \u4e0b\u5348\u8336\u6642\u9593"},{isSession:!0,startTime:"13:00",endTime:"17:00",title:"Angular Schematics \u7a0b\u5f0f\u78bc\u7522\u751f\u5668\u5be6\u6230",description:"Angular \u5beb\u5230\u982d\u4f86\uff0c\u6709\u5f88\u591a\u91cd\u8907\u7684 Pattern \u6703\u4e0d\u65b7\u51fa\u73fe\uff0c\u9664\u4e86\u4f60\u53ef\u4ee5\u9032\u4e00\u6b65\u5143\u4ef6\u5316\u4e4b\u5916\uff0c\u6709\u4e9b\u91cd\u8907\u7684\u4ee3\u78bc\u5c31\u662f\u8981\u624b\u52d5\u6572\u4e00\u904d\u624d\u884c\u3002\u672c\u5de5\u4f5c\u574a\u5c07\u5e36\u4f60\u5f9e\u982d\u8a8d\u8b58 Schematics \u7684\u67b6\u69cb\uff0c\u5efa\u7acb\u81ea\u5df1\u7684\u7a0b\u5f0f\u78bc\u7522\u751f\u5668\uff0c\u4e26\u6574\u5408\u5230 Angular \u5c08\u6848\u5167\uff0c\u8b93\u4f60\u8f15\u9b06\u7522\u751f\u81ea\u5df1\u7684\u5143\u4ef6\u7bc4\u672c\uff01",speaker:"Mike"},{isSession:!1,startTime:"17:30",endTime:"22:00",title:"Dinner & Networking"}],day2:[{isSession:!1,startTime:"07:50",endTime:"08:20",title:"\u5831\u5230"},{isSession:!1,startTime:"08:20",endTime:"08:30",title:"Opening Welcome"},{isSession:!0,startTime:"08:30",endTime:"09:30",title:"\u638c\u63e1 21 \u4e16\u7d00\u6700\u91cd\u8981\u7684\u8cc7\u7522\uff1a\u5b78\u7fd2\u529b",description:"\u6bcf\u6b21\u770b\u5230\u4fdd\u54e5\u7684\u5834\u5408\uff0c\u90fd\u662f\u5728\u5206\u4eab\u6280\u8853\uff0c\u4ed6\u4e0d\u53ea\u5206\u4eab\u8a31\u591a\u6587\u7ae0\u3001\u5f71\u7247\u3001\u76f4\u64ad\uff0c\u6bcf\u5e74\u4e5f\u6709\u6578\u5341\u5834\u6f14\u8b1b\u8207\u8ab2\u7a0b\uff0c\u4ed6\u53ef\u4ee5\u628a\u8907\u96dc\u3001\u62bd\u8c61\u7684\u77e5\u8b58\uff0c\u900f\u904e\u6e05\u695a\u660e\u77ad\u7684\u8868\u9054\u65b9\u5f0f\u8b93\u5927\u5bb6\u7406\u89e3\u3002\u6211\u5011\u5f88\u5c11\u6709\u6a5f\u6703\u53ef\u4ee5\u807d\u5230\u4fdd\u54e5\u5206\u4eab\u4ed6\u81ea\u8eab\u7684\u5b78\u7fd2\u65b9\u5f0f\uff0c\u5230\u5e95\u600e\u6a23\u624d\u80fd\u50cf\u4fdd\u54e5\u4e00\u6a23\u53ef\u4ee5\u5b78\u6703\u9019\u9ebc\u591a\u6771\u897f\uff1f\u53ea\u8981\u6709\u71b1\u60c5\u8207\u6642\u9593\u5c31\u5920\u4e86\u55ce\uff1f\u672c\u6b21\u8b1b\u5ea7\u4fdd\u54e5\u5c07\u5206\u4eab\u4ed6\u7368\u5230\u7684\u6280\u8853\u990a\u6210\u65b9\u6cd5\uff0c\u4e5f\u6703\u8ddf\u5927\u5bb6\u5206\u4eab\u5982\u4f55\u57f9\u990a\u5805\u5be6\u7684\u5b78\u7fd2\u80fd\u529b\uff0c\u66ff\u672a\u4f86\u591a\u8b8a\u7684\u4e16\u754c\u7d2f\u7a4d\u4e0d\u53ef\u6216\u7f3a\u7684\u77e5\u8b58\u80fd\u91cf\u3002",speaker:"Will \u4fdd\u54e5"},{isSession:!0,startTime:"09:30",endTime:"11:00",title:"Tea Break \u4e0a\u5348\u8336\u6642\u9593 + Open Space \u8a0e\u8ad6",speaker:"\u8207\u6703\u8005"},{isSession:!0,startTime:"11:00",endTime:"12:00",title:"Vue \u548c Angular \u958b\u767c\u7fd2\u6163",description:"Vue \u548c Angular \u958b\u767c\u7fd2\u6163",speaker:"Poy"},{isSession:!1,startTime:"12:00",endTime:"13:00",title:"Lunch Break \u5348\u9910\u6642\u5149"},{isSession:!0,startTime:"13:00",endTime:"14:00",title:"Whisper of Lighthouse",description:"\u6839\u64da\u8abf\u67e5\u7576\u4eba\u958b\u4e00\u500b\u7db2\u7ad9\u7b49\u5f85\u6642\u9593\u8d85\u904e 3 \u79d2\u9418\u6642\uff0c\u6703\u6709\u5f88\u5927\u7684\u6a5f\u7387\u6703\u76f4\u63a5\u96e2\u958b\uff0c\u8981\u600e\u9ebc\u77e5\u9053\u81ea\u5df1\u7684\u7db2\u7ad9\u6548\u80fd\u4e0d\u932f\uff0c\u7576\u7136\u9700\u8981\u7528\u5de5\u5177\u4f86\u4f5c\u8a55\u91cf\uff0cGoogle \u7684 Lighthouse \u5c31\u662f\u4e00\u500b\u4e0d\u932f\u7684\u5de5\u5177\uff0c\u9664\u4e86\u63d0\u4f9b\u6aa2\u6e2c\u5916\uff0c\u6211\u5011\u4e5f\u53ef\u4ee5\u900f\u904e\u6aa2\u6e2c\u9805\u76ee\u5b78\u7fd2\u5230\u958b\u767c\u7db2\u7ad9\u7684\u6280\u5de7\uff0c\u81f3\u65bc\u6709\u4ec0\u9ebc\u4e8b\u60c5\u662f\u6211\u5011\u4e00\u958b\u59cb\u5c31\u53ef\u4ee5\u7559\u610f\u7684\uff0c\u5c31\u8b93\u9019\u8b70\u7a0b\u544a\u8a34\u4f60",speaker:"Paul Li"},{isSession:!0,startTime:"14:00",endTime:"15:00",title:"The hidden docs of Angular",description:"\u4ecb\u7d39\u4e00\u4e9b\u6709\u7528\u4f46\u662f Angular \u6587\u6a94\u4e0a\u5e7e\u4e4e\u6c92\u6709\u6d89\u53ca\u7684 Angular \u958b\u767c\u6280\u5de7\uff0c\u4f8b\u5982\u81ea\u5b9a\u7fa9 Angular Input \u7684 Typescript decorators\u3001\u589e\u5f37 ngTemplateOutlet \u70ba ngStringTemplateOutlet\uff0cDirective\u8207Component\u7684\u7279\u5225\u7528\u6cd5\u7b49\u7b49",speaker:"\u8b1d\u4e9e\u6771"},{isSession:!1,startTime:"15:00",endTime:"16:00",title:"Tea Break \u4e0b\u5348\u8336\u6642\u9593 & Lighting Talk"},{isSession:!0,startTime:"16:00",endTime:"17:00",title:"NX",description:"\n Angular \u672c\u8eab\u5df2\u662f\u975e\u5e38\u9069\u5408\u4f01\u696d\u4f7f\u7528\u7684\u67b6\u69cb\uff0c\u4f46\u9762\u81e8\u5230\u8d85\u5927\u578b\uff0c\u6578\u5343\u500b\u9801\u9762\u7684\u5c08\u6848\uff0c\u82e5\u6c92\u6709\u66f4\u9032\u4e00\u6b65\u7684\u898f\u5283\u958b\u767c\u6d41\u7a0b\u3001\u67b6\u69cb\u7b49\u7d30\u7bc0\uff0c\u4e00\u6a23\u6703\u9762\u81e8\u5230\u96e3\u4ee5\u7dad\u8b77\u64f4\u5145\u7b49\u554f\u984c\u3002\u800c Nx \u7684\u51fa\u73fe\u5c31\u662f\u5e0c\u671b\u80fd\u66f4\u9032\u4e00\u6b65\u5c07 Angular \u67b6\u69cb\u5f97\u66f4\u52a0\u6709\u689d\u7406\uff0c\u672c\u6b21\u5206\u4eab\u5c07\u5206\u4eab\u8b1b\u8005\u5728\u9762\u81e8\u5230\u6578\u5343\u500b\u9801\u9762\u7684\u5c08\u6848\u6642\u5c0e\u5165 Nx \u67b6\u69cb\u7684\u5fc3\u5f97\u8207\u6210\u6548\uff01",speaker:"Mike "},{isSession:!1,startTime:"17:00",endTime:"17:00",title:"\u518d\u6703"}]},Qg=[1,"section-kv","kv-sec"],Yg=[1,"container"],Kg=[1,"kv-txt"],Jg=[1,"kv-location"],Xg=["loading","lazy"],tm=["srcset","img/kv-bear-24-80.webp","media","(min-width: 768px)"],em=["srcset","img/kv-bear-24.png"],nm=["src","img/kv-bear-24.png","alt","banner image"],rm=[1,"agenda"],sm=[1,"tab-group"],im=["routerLink","/agenda/day1","routerLinkActive","active","aria-label","2019/11/2"],om=["routerLink","/agenda/day2","routerLinkActive","active","aria-label","2019/11/3"],am=[1,"bear-see"],lm=[1,"agenda-text"],cm=[1,"agenda-list"],um=["class","agenda-section",3,"ngClass",4,"ngFor","ngForOf"],hm=[1,"agenda-section",3,"ngClass"],dm=[1,"agenda-list-content"],pm=["class","speaker",4,"ngIf"],fm=[3,"innerText",4,"ngIf"],gm=[1,"speaker"];function mm(t,e){if(1&t&&(ma(0,"div",gm),ma(1,"span"),Ea(2),ya(),ya()),2&t){const t=Ta().$implicit;di(2),Ia(t.speaker)}}const ym=[3,"innerText"];function vm(t,e){1&t&&va(0,"p",ym),2&t&&ka("innerText",Ta().$implicit.description)}const _m=function(t,e){return{"for-time":t,"for-speaker":e}};function wm(t,e){if(1&t&&(ma(0,"section",hm),ma(1,"div",dm),ma(2,"h2"),Ea(3),ya(),ca(4,mm,3,1,"div",pm),ca(5,vm,1,1,"p",fm),ya(),ma(6,"time"),Ea(7),ya(),ya()),2&t){const t=e.$implicit;ka("ngClass",function(t,e,n,r,s){const i=Rn()+6,o=ln();return aa(o,i,n,r)?sa(o,i+2,e(n,r)):ia(o,i+2)}(0,_m,!t.isSession,t.isSession)),di(3),Ia(t.title),di(1),ka("ngIf",t.speaker),di(1),ka("ngIf",t.description),di(2),Ra("",t.startTime," ~ ",t.endTime,"")}}let bm=(()=>{class t{constructor(t,e){this.route=t,this.meta=e,this.agendas$=this.route.paramMap.pipe(M(t=>t.get("day")),M(t=>Gg[t]))}}return t.ngFactoryDef=function(e){return new(e||t)(ua(pf),ua(ud))},t.ngComponentDef=le({type:t,selectors:[["app-agenda"]],consts:27,vars:3,template:function(t,e){1&t&&(ma(0,"section",Qg),ma(1,"div",Yg),ma(2,"div",Kg),ma(3,"h1"),Ea(4,"ANGULAR "),ma(5,"small"),Ea(6,"'19"),ya(),ya(),ma(7,"p",Jg),Ea(8,"\u7901\u6eaa\u8001\u723a\u9152\u5e97 11/2 - 3, 2019"),ya(),ya(),ma(9,"picture",Xg),va(10,"source",tm),va(11,"source",em),va(12,"img",nm),ya(),ya(),ya(),ma(13,"div",rm),ma(14,"div",Yg),ma(15,"div",sm),ma(16,"a",im),Ea(17,"11\u67082\u65e5"),ya(),ma(18,"a",om),Ea(19,"11\u67083\u65e5"),ya(),va(20,"div",am),ya(),ma(21,"article",lm),ma(22,"h1"),Ea(23,"\u8b70\u7a0b"),ya(),ma(24,"div",cm),ca(25,wm,8,9,"section",um),function(t,e){const n=ln()[_e];let r;const s=26+Me;n.firstTemplatePass?(r=function(t,e){if(e)for(let n=e.length-1;n>=0;n--){const t=e[n];if("async"===t.name)return t}throw new Error("The pipe 'async' could not be found!")}(0,n.pipeRegistry),n.data[s]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(s,r.onDestroy)):r=n.data[s],function(t,e){const n=ln(),r=n[_e],s=26+Me;s>=r.data.length&&(r.data[s]=null,r.blueprint[s]=null),n[s]=e}(0,(r.factory||(r.factory=me(r.type)))())}(),ya(),ya(),ya(),ya()),2&t&&(di(25),ka("ngForOf",function(t,e,n){const r=ln(),s=function(t,e){return t[e+Me]}(r,t);return function(t,e){return ea.isWrapped(e)&&(e=ea.unwrap(e),t[t[Te]]=ir),e}(r,function(t,e){return t[_e].data[e+Me].pure}(r,t)?Wl(e,s.transform,n,s):s.transform(n))}(26,1,e.agendas$)))},directives:[xg,kg,eh,Eu,rh],pipes:[uh],styles:[""]}),t})();function Sm(t,e,n,s){return r(n)&&(s=n,n=void 0),s?Sm(t,e,n).pipe(M(t=>l(t)?s(...t):s(t))):new w(r=>{!function t(e,n,r,s,i){let o;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(e)){const t=e;e.addEventListener(n,r,i),o=()=>t.removeEventListener(n,r,i)}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(e)){const t=e;e.on(n,r),o=()=>t.off(n,r)}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(e)){const t=e;e.addListener(n,r),o=()=>t.removeListener(n,r)}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(let o=0,a=e.length;o<a;o++)t(e[o],n,r,s,i)}s.add(o)}(t,e,(function(t){arguments.length>1?r.next(Array.prototype.slice.call(arguments)):r.next(t)}),r,n)})}const Cm=new w(y),xm="Service workers are disabled or not supported by this browser";class Tm{constructor(t){if(this.serviceWorker=t,t){const e=Sm(t,"controllerchange").pipe(M(()=>t.controller)),n=Gd(_d(()=>hd(t.controller)),e);this.worker=n.pipe(bd(t=>!!t)),this.registration=this.worker.pipe(Bd(()=>t.getRegistration()));const r=Sm(t,"message").pipe(M(t=>t.data)).pipe(bd(t=>t&&t.type)).pipe(tt(new T));r.connect(),this.events=r}else this.worker=this.events=this.registration=(e=xm,_d(()=>(function(t,e){return new w(e=>e.error(t))})(new Error(e))));var e}postMessage(t,e){return this.worker.pipe(Hd(1),Xd(n=>{n.postMessage(Object.assign({action:t},e))})).toPromise().then(()=>void 0)}postMessageWithStatus(t,e,n){const r=this.waitForStatus(n),s=this.postMessage(t,e);return Promise.all([r,s]).then(()=>void 0)}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(t){return this.events.pipe(bd(e=>e.type===t))}nextEventOfType(t){return this.eventsOfType(t).pipe(Hd(1))}waitForStatus(t){return this.eventsOfType("STATUS").pipe(bd(e=>e.nonce===t),Hd(1),M(t=>{if(!t.status)throw new Error(t.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let km=(()=>{class t{constructor(t){if(this.sw=t,!t.isEnabled)return this.available=Cm,void(this.activated=Cm);this.available=this.sw.eventsOfType("UPDATE_AVAILABLE"),this.activated=this.sw.eventsOfType("UPDATE_ACTIVATED")}get isEnabled(){return this.sw.isEnabled}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(xm));const t=this.sw.generateNonce();return this.sw.postMessageWithStatus("CHECK_FOR_UPDATES",{statusNonce:t},t)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(xm));const t=this.sw.generateNonce();return this.sw.postMessageWithStatus("ACTIVATE_UPDATE",{statusNonce:t},t)}}return t.ngInjectableDef=dt({token:t,factory:function(e){return new(e||t)(Ft(Tm))},providedIn:null}),t})(),Em=(()=>{class t{constructor(t,e){this.appRef=t,this.updates=e,this.destory$=new T}registe(){navigator.serviceWorker.getRegistrations().then(t=>{for(const e of t)e.unregister()})}unregiste(){this.destory$.next(),this.destory$.complete()}}return t.ngInjectableDef=dt({token:t,factory:function(e){return new(e||t)(Ft(su),Ft(km,8))},providedIn:"root"}),t})();const Im=[1,"main-header"],Am=[1,"container"],Rm=[1,"logo"],Om=["routerLink","/","aria-label","go to homepage"],Dm=["loading","lazy"],Pm=["srcset","img/logo-bear-70.webp 1x, img/logo-bear-2x.webp 2x","media","(min-width: 768px)","type","image/webp"],jm=["srcset","img/logo-bear.png 1x, img/logo-bear-2x.png 2x","type","image/png"],Nm=["src","img/logo-bear.png","alt","logo","srcset","img/logo-bear-2x.png"],Um=[1,"main-nav"],Mm=["routerLink","/agenda","aria-label","go to agenda page"],Lm=[1,"main-footer"],Hm=["src","img/logo-bear.png","alt","footer background","srcset","img/logo-bear-2x.png"],Vm=[1,"footer-txt"],Fm=["href","mailto:[email protected]","aria-label","email to Angular Taiwan",1,"link"],$m=["routerLink","/coc","aria-label","Code of Conduct",1,"link"],zm=[1,"copyright"],qm=[1,"backTop","scroll-to-top",3,"ngClass","click"],Bm=["srcset","img/backTotop-24-70.webp","media","(min-width: 768px)","type","image/webp"],Wm=["srcset","img/backTotop-24.png","type","image/png"],Zm=["src","img/backTotop-24.png","alt","back to top","loading","lazy"],Gm=function(t){return{"show-scroll-top":t}};let Qm=(()=>{class t{constructor(t,e,n){this.check=t,this.document=e,this.cd=n,this.title="event2019",t.registe()}onWindowScroll(){window.pageYOffset||this.document.documentElement.scrollTop||this.document.body.scrollTop>100?this.windowScrolled=!0:(this.windowScrolled&&window.pageYOffset||this.document.documentElement.scrollTop||this.document.body.scrollTop<10)&&(this.windowScrolled=!1),this.windowScrolled!==this.prevWindowScrolled&&(this.prevWindowScrolled=this.windowScrolled,this.cd.detectChanges())}scrollToTop(){!function t(e){const n=document.documentElement.scrollTop||document.body.scrollTop;n>0&&n<=e&&(window.requestAnimationFrame(t.bind(null,n)),window.scrollTo(0,n-n/12))}(document.documentElement.scrollTop||document.body.scrollTop)}ngOnDestroy(){this.check.unregiste()}}return t.ngFactoryDef=function(e){return new(e||t)(ua(Em),ua(Ou),ua(Ro))},t.ngComponentDef=le({type:t,selectors:[["app-root"]],hostBindings:function(t,e,n){1&t&&Sa("scroll",(function(t){return e.onWindowScroll()}),!1,rr)},consts:36,vars:3,template:function(t,e){1&t&&(ma(0,"header",Im),ma(1,"div",Am),ma(2,"h1",Rm),ma(3,"a",Om),ma(4,"picture",Dm),va(5,"source",Pm),va(6,"source",jm),va(7,"img",Nm),ya(),ya(),ya(),ma(8,"nav",Um),ma(9,"a",Mm),Ea(10,"\u8b70\u7a0b"),ya(),ya(),ya(),ya(),va(11,"router-outlet"),ma(12,"footer",Lm),ma(13,"h2"),Ea(14,"\u806f\u7d61\u5927\u6703"),ya(),ma(15,"div",Am),ma(16,"picture",Dm),va(17,"source",Pm),va(18,"source",jm),va(19,"img",Hm),ya(),ma(20,"div",Vm),ma(21,"p"),Ea(22," \u806f\u7d61\u5927\u6703 "),ma(23,"a",Fm),Ea(24,"[email protected]"),ya(),ya(),ma(25,"p"),ma(26,"a",$m),Ea(27,"\u3010 \u884c\u70ba\u6e96\u5247 \u3011"),ya(),Ea(28," \u6211\u5011\u4f9d\u5f9e\u5927\u6703\u884c\u70ba\u6e96\u5247\uff0c\u4ee5\u78ba\u4fdd\u6240\u6709\u8207\u6703\u8005\u90fd\u80fd\u5728\u5927\u6703\u6d3b\u52d5\u671f\u9593\u53d7\u5230\u61c9\u6709\u7684\u5c0a\u91cd\u3002 "),ya(),ma(29,"p",zm),Ea(30,"All Rights Reserved \xa9 2019"),ya(),ya(),ya(),ya(),ma(31,"a",qm),Sa("click",(function(t){return e.scrollToTop()})),ma(32,"picture",Dm),va(33,"source",Bm),va(34,"source",Wm),va(35,"img",Zm),ya(),ya()),2&t&&(di(31),ka("ngClass",Wl(1,Gm,e.windowScrolled)))},directives:[xg,Ag,Eu],styles:[".scroll-to-top[_ngcontent-%COMP%]{opacity:0;transition:all .2s ease-in-out}.show-scroll-top[_ngcontent-%COMP%]{opacity:1;transition:all .2s ease-in-out}.test[_ngcontent-%COMP%]{color:red}"]}),t})();const Ym=[1,"section-kv","kv-sec"],Km=[1,"container"],Jm=[1,"kv-txt"],Xm=[1,"sec-focus"],ty=[1,"kv-location"],ey=["loading","lazy"],ny=["srcset","img/kv-bear-24-80.webp","media","(min-width: 768px)"],ry=["srcset","img/kv-bear-24.png"],sy=["src","img/kv-bear-24.png","alt","banner image"],iy=[1,"coc"],oy=[1,"coc-text"],ay=[1,"signature"];let ly=(()=>{class t{constructor(){}ngOnInit(){}}return t.ngFactoryDef=function(e){return new(e||t)},t.ngComponentDef=le({type:t,selectors:[["app-coc"]],consts:50,vars:0,template:function(t,e){1&t&&(ma(0,"section",Ym),ma(1,"div",Km),ma(2,"div",Jm),ma(3,"h1"),Ea(4,"ANGULAR "),ma(5,"small"),Ea(6,"'19"),ya(),ya(),ma(7,"p",Xm),Ea(8,"\u6280\u8853\u5728\u6211\u5011\u624b\u4e0a \u4e16\u754c\u5c31\u5728\u6211\u5011\u624b\u4e0a"),ya(),ma(9,"p",ty),Ea(10,"\u7901\u6eaa\u8001\u723a\u9152\u5e97 11/2 - 3, 2019"),ya(),ya(),ma(11,"picture",ey),va(12,"source",ny),va(13,"source",ry),va(14,"img",sy),ya(),ya(),ya(),ma(15,"div",iy),ma(16,"div",Km),ma(17,"article",oy),ma(18,"h1"),Ea(19,"\u884c\u70ba\u6e96\u5247 / Code of Conduct"),ya(),ma(20,"p"),Ea(21," \u6240\u6709\u6b64\u6b21\u6d3b\u52d5\u7684\u807d\u773e\u3001\u6f14\u8b1b\u8005\u3001\u8d0a\u52a9\u5546\u548c\u5fd7\u5de5\uff0c\u90fd\u5fc5\u9808\u540c\u610f\u9075\u5b88\u4e0b\u5217\u884c\u70ba\u6e96\u5247\u3002\u800c\u4e3b\u8fa6\u55ae\u4f4d\u4e5f\u5c07\u56b4\u683c\u5730\u57f7\u884c\u9019\u4e9b\u6e96\u5247\uff0c\u6211\u5011\u671f\u5f85\u6240\u6709\u53c3\u52a0\u8005\u7684\u5408\u4f5c\uff0c\u4ee5\u78ba\u4fdd\u5927\u5bb6\u80fd\u6709\u4e00\u500b\u5b89\u5168\u53cb\u5584\u7684\u74b0\u5883\u3002 "),ya(),ma(22,"p"),Ea(23," \u9a37\u64fe\u5305\u62ec\u6709\u95dc\u6027\u5225\uff0c\u6027\u5225\u8a8d\u540c\u3001\u5e74\u9f61\u3001\u6027\u5411\u3001\u6b98\u75be\u3001\u5916\u8c8c\u3001\u9ad4\u578b\u3001\u7a2e\u65cf\u3001\u5b97\u6559\u7684\u653b\u64ca\u6027\u8a00\u8a9e\uff0c\u6216\u662f\u5728\u516c\u5171\u5834\u5408\u6563\u64ad\u8272\u60c5\u5716\u7247\u3001\u84c4\u610f\u6050\u5687\u3001\u8ddf\u8e64\u3001\u9a37\u64fe\u6027\u7684\u651d\u5f71\u6216\u9304\u5f71\u3001\u591a\u6b21\u6253\u65b7\u6d3b\u52d5\u3001\u4e0d\u6070\u7576\u7684\u8eab\u9ad4\u63a5\u89f8\uff0c\u548c\u8b93\u4eba\u611f\u5230\u4e0d\u8212\u670d\u7684\u6027\u95dc\u6ce8\u3002\u53c3\u8207\u8005\u5fc5\u9808\u505c\u6b62\u4efb\u4f55\u9a37\u64fe\u884c\u70ba\u4e26\u4e14\u7acb\u5373\u9075\u5b88\u884c\u70ba\u6e96\u5247\u3002 "),ya(),ma(24,"p"),Ea(25," \u8d0a\u52a9\u5546\u4e5f\u5fc5\u9808\u9075\u5b88\u884c\u70ba\u6e96\u5247\u3002\u8d0a\u52a9\u5546\u4e0d\u61c9\u8a72\u4f7f\u7528\u5e36\u6709\u6027\u610f\u5473\u7684\u5716\u50cf\u3001\u6d3b\u52d5\uff0c\u6216\u5176\u5b83\u6750\u6599\u3002\u5de5\u4f5c\u4eba\u54e1\uff08\u5305\u62ec\u5fd7\u5de5\uff09\u4e0d\u8a72\u7a7f\u8457\u5e36\u6709\u6027\u610f\u5473\u7684\u8863\u670d/\u5236\u670d/\u88dd\u626e\uff0c\u6216\u662f\u5efa\u7acb\u4e00\u500b\u5177\u6709\u6027\u610f\u5473\u7684\u74b0\u5883\u3002 "),ya(),ma(26,"p"),Ea(27," \u5982\u679c\u53c3\u8207\u8005\u5f9e\u4e8b\u9a37\u64fe\u884c\u70ba\uff0c\u5de5\u4f5c\u4eba\u54e1\u6703\u63a1\u53d6\u5176\u8a8d\u70ba\u9069\u7576\u7684\u4efb\u4f55\u624b\u6bb5\uff0c\u5305\u62ec\u8b66\u544a\u6216\u662f\u8acb\u96e2\u6703\u5834\uff0c\u4e26\u4e14\u4e0d\u6703\u9000\u8cbb\u3002 "),ya(),ma(28,"p"),Ea(29," \u5982\u679c\u4f60\u88ab\u9a37\u64fe\u3001\u770b\u5230\u5225\u4eba\u53d7\u5230\u9a37\u64fe\uff0c\u6216\u6709\u4efb\u4f55\u5176\u4ed6\u554f\u984c\uff0c\u8acb\u7acb\u5373\u806f\u7e6b\u6703\u8b70\u5de5\u4f5c\u4eba\u54e1\uff0c\u5de5\u4f5c\u4eba\u54e1\u8eab\u4e0a\u6703\u7a7f\u6234\u53ef\u4ee5\u8b58\u5225\u8eab\u4efd\u7684\u7279\u6b8a\u5fbd\u7ae0\u6216\u8863\u670d\u3002 "),ya(),ma(30,"p"),Ea(31," \u5de5\u4f5c\u4eba\u54e1\u6703\u5f88\u6a02\u610f\u5e6b\u52a9\u53c3\u8207\u8005\u806f\u7e6b\u9152\u5e97/\u5834\u5730\u8b66\u885b\u6216\u7576\u5730\u8b66\u5bdf\u3001\u63d0\u4f9b\u8b77\u9001\uff0c\u6216\u4ee5\u5176\u4ed6\u65b9\u5f0f\u5e6b\u52a9\u90a3\u4e9b\u9047\u5230\u9a37\u64fe\u7684\u53c3\u8207\u8005\u611f\u5230\u5b89\u5168\u3002\u6211\u5011\u975e\u5e38\u91cd\u8996\u60a8\u7684\u53c3\u8207\u3002 "),ya(),ma(32,"p"),Ea(33," \u6211\u5011\u5e0c\u671b\u53c3\u8207\u8005\u5728\u5404\u6d3b\u52d5\u5834\u5408\u3001\u6703\u8b70\u6709\u95dc\u7684\u793e\u7fa4\u6d3b\u52d5\u90fd\u80fd\u9075\u5faa\u9019\u4e9b\u898f\u5247\u3002 "),ya(),ma(34,"p"),Ea(35," \u6b64\u884c\u70ba\u6e96\u5247\u662f\u57fa\u65bc Conference Code of Conduct \u800c\u8a02\u5b9a\u3002 "),ya(),ma(36,"p"),Ea(37," All attendees, speakers, sponsors and volunteers at our conference are required to agree to follow the Code of Conduct. Organizers will enforce this Code of Conduct throughout the event. We are expecting cooperation from all participants to help ensure a safe environment for everybody. "),ya(),ma(38,"p"),Ea(39," Harassment includes offensive verbal comments related to gender, gender identity and expression, age, sexual orientation, disability, physical appearance, body size, race, religion, sexual images in public spaces, deliberate intimidation, stalking, following, harassing photography or recording, sustained disruption of talks or other events, inappropriate physical contact, and unwelcome sexual attention. "),ya(),ma(40,"p"),Ea(41," Participants asked to stop any harassing behavior are expected to comply immediately. Sponsors are also subject to the anti-harassment policy. In particular, sponsors should not use sexualized images, activities, or other material. Booth staff (including volunteers) should not use sexualized clothing/uniforms/customes, or otherwise create a sexualized environment. "),ya(),ma(42,"p"),Ea(43," If a participant engages in harassing behavior, the conference organizers may take any action they deem appropriate, including warning the offender or expulsion from the conference with no refund. If you are being harassed, notice that someone else is being harassed, or have any other concerns, please contact a member of conference staff immediately. Conference staff will be visible by their special badges and clothing. "),ya(),ma(44,"p"),Ea(45," Conference staff will be happy to help participants contact hotel/venue security or local law enforcement, provide escort, or otherwise assist those experiencing harassment to feel safe for the duration of the conference. We value your attendance. We expect participants to follow these rules at all conference venues and conference-related social events. "),ya(),ma(46,"p"),Ea(47," This Code of Conduct is based off the work done at Conference Code of Conduct. "),ya(),ma(48,"p",ay),Ea(49," Angular Taiwan "),ya(),ya(),ya(),ya())},styles:[""]}),t})();const cy=[1,"section-kv"],uy=[1,"container"],hy=[1,"kv-txt"],dy=[1,"sec-focus"],py=[1,"kv-location"],fy=["loading","lazy"],gy=["srcset","img/kv-bear-24-80.webp","media","(min-width: 768px)","type","image/webp"],my=["srcset","img/kv-bear-24.png","type","image/png"],yy=["src","img/kv-bear-24.png","alt","banner image"],vy=[1,"section-itinerary"],_y=[1,"main-title"],wy=[1,"content"],by=[1,"item"],Sy=["srcset","img/bear-book-24-70.webp","media","(min-width: 768px)","type","image/webp"],Cy=["srcset","img/bear-book-24.png","type","image/png"],xy=["src","img/bear-book-24.png","alt","workshop"],Ty=["datetime","2019-11-02T12:00"],ky=["srcset","img/bear-event-24-70.webp","media","(min-width: 768px)","type","image/webp"],Ey=["srcset","img/bear-event-24.png","type","image/png"],Iy=["src","img/bear-event-24.png","alt","presentation"],Ay=["datetime","2019-11-03T09:00"],Ry=["srcset","img/bear-after-party-24-70.webp","media","(min-width: 768px)","type","image/webp"],Oy=["srcset","img/bear-after-party-24.png","type","image/png"],Dy=["src","img/bear-after-party-24.png","alt","After Party"],Py=["datetime","2019-11-02T18:00"],jy=[1,"section-ticket"],Ny=[1,"group"],Uy=["src","img/bear-book-24.png","alt","Ticket price"],My=["srcset","img/ticket-cur.svg","media","(min-width: 768px)","type","image/svg+xml"],Ly=["srcset","img/ticket-cur.svg","type","image/svg+xml"],Hy=["src","img/ticket-cur.svg","alt","ticket-background"],Vy=[1,"section-venue"],Fy=["href","https://goo.gl/maps/EzT5YRTXtJD3rYEu9","target","_blank","aria-label","go to google map","rel","noopener"],$y=["srcset","img/map-70.webp","media","(min-width: 768px)","type","image/webp"],zy=["srcset","img/map.png","type","image/png"],qy=["src","img/map.png","alt","map"],By=[1,"txt"],Wy=[1,"item-group"],Zy=[1,"item-section"],Gy=[1,"building-name"],Qy=[1,"address"],Yy=[1,"traffic"],Ky=[{path:"",component:(()=>{class t{constructor(){}ngOnInit(){}}return t.ngFactoryDef=function(e){return new(e||t)},t.ngComponentDef=le({type:t,selectors:[["app-main"]],consts:112,vars:0,template:function(t,e){1&t&&(ma(0,"section",cy),ma(1,"div",uy),ma(2,"div",hy),ma(3,"h1"),Ea(4,"ANGULAR "),ma(5,"small"),Ea(6,"'19"),ya(),ya(),va(7,"p",dy),ma(8,"p",py),Ea(9,"\u7901\u6eaa\u8001\u723a\u9152\u5e97 11/2 - 3, 2019"),ya(),ya(),ma(10,"picture",fy),va(11,"source",gy),va(12,"source",my),va(13,"img",yy),ya(),ya(),ya(),ma(14,"section",vy),ma(15,"div",uy),ma(16,"div",_y),ma(17,"h2"),Ea(18,"\u884c\u7a0b"),ya(),ya(),ma(19,"div",wy),ma(20,"div",by),ma(21,"h3"),Ea(22,"\u5de5\u4f5c\u574a"),ya(),ma(23,"picture",fy),va(24,"source",Sy),va(25,"source",Cy),va(26,"img",xy),ya(),ma(27,"time",Ty),Ea(28,"11\u67082\u65e5"),ya(),ma(29,"p"),Ea(30,"\u900f\u904e\u624b\u628a\u624b\u7684 Workshop \u53ef\u4ee5\u8b93\u4f60\u5728\u77ed\u6642\u9593\u5167\u5f97\u5230\u610f\u60f3\u4e0d\u5230\u7684\u6210\u679c"),ya(),ya(),ma(31,"div",by),ma(32,"h3"),Ea(33,"\u8b70\u7a0b"),ya(),ma(34,"picture",fy),va(35,"source",ky),va(36,"source",Ey),va(37,"img",Iy),ya(),ma(38,"time",Ay),Ea(39,"11\u67083\u65e5"),ya(),ma(40,"p"),Ea(41," \u5b78\u7fd2\u6700\u65b0\u7684 Angular \u8207\u524d\u7aef\u6280\u8853\uff0c\u5438\u6536\u4ed6\u4eba\u5728\u5be6\u52d9\u4e0a\u7684\u8e29\u96f7\u7d93\u9a57\uff0c\u6211\u5011\u5b89\u6392\u8db3\u5920\u7684\u6642\u9593\u8b93\u4f60\u80fd\u8207\u8b1b\u8005\u548c\u5176\u5b83\u8207\u6703\u8005\uff0c\u9032\u884c\u66f4\u9032\u4e00\u6b65\u7684\u4ea4\u6d41\u8a0e\u8ad6 "),ya(),ya(),ma(42,"div",by),ma(43,"h3"),Ea(44,"After Party"),ya(),ma(45,"picture",fy),va(46,"source",Ry),va(47,"source",Oy),va(48,"img",Dy),ya(),ma(49,"time",Py),Ea(50,"11\u67082\u65e5"),ya(),ma(51,"p"),Ea(52," \u7d93\u904e\u4e00\u500b\u4e0b\u5348\u7684\u9ad8\u5bc6\u5ea6\u5f37\u8feb\u6210\u9577\u5f8c\uff0c\u7576\u7136\u9700\u8981\u597d\u597d\u7684\u653e\u9b06\u4e00\u4e0b\uff0c\u624d\u80fd\u8fce\u63a5\u9694\u65e5\u66f4\u7cbe\u5f69\u7684\u8b70\u7a0b\u5167\u5bb9 "),ya(),ya(),ya(),ya(),ya(),ma(53,"section",jy),ma(54,"div",uy),ma(55,"div",Ny),ma(56,"div",_y),ma(57,"h2"),Ea(58,"\u7968\u50f9"),ya(),ma(59,"p"),Ea(60,"$4, 200 / \u4eba"),ya(),ma(61,"p"),Ea(62,"\u5169\u5929\u6d3b\u52d5"),ya(),ma(63,"p"),Ea(64,"\u4e09\u6b21\u8336\u9ede\u3001\u7b2c\u4e8c\u5929\u9ad8\u6a94\u5348\u9910"),ya(),ya(),ma(65,"div",wy),ma(66,"picture",fy),va(67,"source",Sy),va(68,"source",Cy),va(69,"img",Uy),ya(),ya(),ya(),ma(70,"picture",fy),va(71,"source",My),va(72,"source",Ly),va(73,"img",Hy),ya(),ya(),ya(),ma(74,"section",Vy),ma(75,"div",uy),ma(76,"div",_y),ma(77,"h2"),Ea(78," \u6703\u5834\u8cc7\u8a0a "),ya(),ya(),ma(79,"div",wy),ma(80,"a",Fy),ma(81,"picture",fy),va(82,"source",$y),va(83,"source",zy),va(84,"img",qy),ya(),ya(),ma(85,"div",By),ma(86,"section",Wy),ma(87,"h3"),Ea(88,"\u4f4d\u7f6e"),ya(),ma(89,"div",Zy),ma(90,"h4",Gy),Ea(91,"\u5b9c\u862d\u7901\u6eaa\u8001\u723a\u98ef\u5e97"),ya(),ma(92,"address",Qy),Ea(93,"\u53f0\u7063\u5b9c\u862d\u7901\u6eaa\u9109\u5927\u5fe0\u6751\u4e94\u5cf0\u8def69\u865f"),ya(),ya(),ya(),ma(94,"section",Wy),ma(95,"h3"),Ea(96,"\u4ea4\u901a"),ya(),ma(97,"div",Zy),ma(98,"h4",Yy),Ea(99,"\u81ea\u884c\u958b\u8eca"),ya(),ma(100,"span"),Ea(101,"\u7d93\u7531\u8607\u82b1\u516c\u8def\u62b5\u9054\u7901\u6eaa\u5f8c\u5f80\u4e94\u5cf0\u65d7\u98a8\u666f\u5340\u65b9\u5411\u7d04\u4e94\u5206\u9418\u5373\u53ef\u5230\u9054"),ya(),ya(),ma(102,"div",Zy),ma(103,"h4",Yy),Ea(104,"\u5927\u773e\u4ea4\u901a"),ya(),ma(105,"ul"),ma(106,"li"),Ea(107,"\u9996\u90fd\u5ba2\u904b1572\u8def\u7dda\uff1a\u53f0\u5317\u5e02(\u5e02\u5e9c\u8f49\u904b\u7ad9)\u2192\u7901\u6eaa\u8f49\u904b\u7ad9"),ya(),ma(108,"li"),Ea(109,"\u845b\u746a\u862d\u5ba2\u904b1915\u8def\u7dda\uff1a\u53f0\u5317\u5e02(\u53f0\u5317\u570b\u9053\u5ba2\u904b\u8f49\u904b\u7ad9)\u2192\u7901\u6eaa\u8f49\u904b\u7ad9"),ya(),ma(110,"li"),Ea(111,"\u570b\u5149\u5ba2\u904b1881\u8def\u7dda\uff1a\u53f0\u5317\u5e02(\u5713\u5c71\u8f49\u904b\u7ad9-\u7389\u9580)\u2192\u7901\u6eaa\u8f49\u904b\u7ad9"),ya(),ya(),ya(),ya(),ya(),ya(),ya(),ya())},styles:[""]}),t})()},{path:"coc",component:ly},{path:"agenda/:day",component:bm},{path:"agenda",pathMatch:"full",children:[],canActivate:[(()=>{class t{constructor(t){this.router=t}canActivate(){return new Date>=new Date(2019,11,3)?this.router.createUrlTree(["/agenda","day2"]):this.router.createUrlTree(["/agenda","day1"])}}return t.ngInjectableDef=dt({token:t,factory:function(e){return new(e||t)(Ft(Sg))},providedIn:"root"}),t})()]}];let Jy=(()=>{class t{}return t.ngModuleDef=he({type:t,bootstrap:[Qm]}),t.ngInjectorDef=pt({factory:function(e){return new(e||t)},providers:[],imports:[[ld,Hg.forRoot(Ky,{scrollPositionRestoration:"enabled"})]]}),t})();(function(){if(ks)throw new Error("Cannot enable prod mode after platform setup.");Ts=!1})(),od().bootstrapModule(Jy,{ngZone:"noop"}).catch(t=>console.error(t))},zn8P:function(t,e){function n(t){return Promise.resolve().then((function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}))}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id="zn8P"}},[[0,0]]]);