-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmain.16989adb618a3a55b722.js
More file actions
1 lines (1 loc) · 219 KB
/
Copy pathmain.16989adb618a3a55b722.js
File metadata and controls
1 lines (1 loc) · 219 KB
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 o=!1;const s={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 o&&console.log("RxJS: Back to a better error behavior. Thank you. <3");o=t},get useDeprecatedSynchronousErrorHandling(){return o}};function i(t){setTimeout(()=>{throw t},0)}const a={closed:!0,next(t){},error(t){if(s.useDeprecatedSynchronousErrorHandling)throw t;i(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:o,_subscriptions:s}=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(o))try{o.call(this)}catch(i){e=i instanceof u?d(i.errors):[i]}if(l(s)){let t=-1,n=s.length;for(;++t<n;){const n=s[t];if(c(n))try{n.unsubscribe()}catch(i){e=e||[],i instanceof u?e=e.concat(d(i.errors)):e.push(i)}}}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,n._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 o=this._subscriptions;return null===o?this._subscriptions=[n]:o.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,o){let s;super(),this._parentSubscriber=t;let i=this;r(e)?s=e:e&&(s=e.next,n=e.error,o=e.complete,e!==a&&(i=Object.create(e),r(i.unsubscribe)&&this.add(i.unsubscribe.bind(i)),i.unsubscribe=this.unsubscribe.bind(this))),this._context=i,this._next=s,this._error=n,this._complete=o}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;s.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}=s;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):i(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;i(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);s.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(),s.useDeprecatedSynchronousErrorHandling)throw n;i(n)}}__tryOrSetError(t,e,n){if(!s.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(r){return s.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=r,t.syncErrorThrown=!0,!0):(i(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 _(t){return t}let v=(()=>{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,o=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(o.add(r?r.call(o,this.source):this.source||s.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),s.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o}_trySubscribe(t){try{return this._subscribe(t)}catch(e){s.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=y(e))((e,n)=>{let r;r=this.subscribe(e=>{try{t(e)}catch(o){n(o),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:(0===(e=t).length?_:1===e.length?e[0]:function(t){return e.reduce((t,e)=>e(t),t)})(this);var e}toPromise(t){return new(t=y(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function y(t){if(t||(t=s.Promise||Promise),!t)throw new Error("no Promise impl found");return t}const w=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})();class b 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 C extends f{constructor(t){super(t),this.destination=t}}let x=(()=>{class t extends v{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[p](){return new C(this)}lift(t){const e=new O(this,this);return e.operator=t,e}next(t){if(this.closed)throw new w;if(!this.isStopped){const{observers:e}=this,n=e.length,r=e.slice();for(let o=0;o<n;o++)r[o].next(t)}}error(t){if(this.closed)throw new w;this.hasError=!0,this.thrownError=t,this.isStopped=!0;const{observers:e}=this,n=e.length,r=e.slice();for(let o=0;o<n;o++)r[o].error(t);this.observers.length=0}complete(){if(this.closed)throw new w;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 w;return super._trySubscribe(t)}_subscribe(t){if(this.closed)throw new w;return this.hasError?(t.error(this.thrownError),h.EMPTY):this.isStopped?(t.complete(),h.EMPTY):(this.observers.push(t),new b(this,t))}asObservable(){const t=new v;return t.source=this,t}}return t.create=(t,e)=>new O(t,e),t})();class O extends x{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 S(t){return t&&"function"==typeof t.schedule}class P 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 M=t=>e=>{for(let n=0,r=t.length;n<r&&!e.closed;n++)e.next(t[n]);e.complete()};function E(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}const k=E(),T=t=>t&&"number"==typeof t.length&&"function"!=typeof t;function V(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}const R=t=>{if(t&&"function"==typeof t[m])return r=t,t=>{const e=r[m]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if(T(t))return M(t);if(V(t))return n=t,t=>(n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,i),t);if(t&&"function"==typeof t[k])return e=t,t=>{const n=e[k]();for(;;){const e=n.next();if(e.done){t.complete();break}if(t.next(e.value),t.closed)break}return"function"==typeof n.return&&t.add(()=>{n.return&&n.return()}),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.`)}var e,n,r};function A(t,e,n,r,o=new P(t,n,r)){if(!o.closed)return e instanceof v?e.subscribe(o):R(e)(o)}class I extends f{notifyNext(t,e,n,r,o){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}function j(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 D(t,e))}}class D{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new N(t,this.project,this.thisArg))}}class N 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 U(t,e){return new v(n=>{const r=new h;let o=0;return r.add(e.schedule((function(){o!==t.length?(n.next(t[o++]),n.closed||r.add(this.schedule())):n.complete()}))),r})}function H(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 v(n=>{const r=new h;return r.add(e.schedule(()=>{const o=t[m]();r.add(o.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(V(t))return function(t,e){return new v(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(T(t))return U(t,e);if(function(t){return t&&"function"==typeof t[k]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new v(n=>{const r=new h;let o;return r.add(()=>{o&&"function"==typeof o.return&&o.return()}),r.add(e.schedule(()=>{o=t[k](),r.add(e.schedule((function(){if(n.closed)return;let t,e;try{const n=o.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 v?t:new v(R(t))}function L(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?r=>r.pipe(L((n,r)=>H(t(n,r)).pipe(j((t,o)=>e(n,t,r,o))),n)):("number"==typeof e&&(n=e),e=>e.lift(new F(t,n)))}class F{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new $(t,this.project,this.concurrent))}}class $ extends I{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 P(this,e,n),o=this.destination;o.add(r);const s=A(this,t,void 0,void 0,r);s!==r&&o.add(s)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(t,e,n,r,o){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 z(t=Number.POSITIVE_INFINITY){return L(_,t)}function q(t,e){return e?U(t,e):new v(M(t))}function B(){return function(t){return t.lift(new G(t))}}class G{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const r=new Z(t,n),o=e.subscribe(r);return r.closed||(r.connection=n.connect()),o}}class Z 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 W extends v{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,t.add(this.source.subscribe(new Y(this.getSubject(),this))),t.closed&&(this._connection=null,t=h.EMPTY)),t}refCount(){return B()(this)}}const Q=(()=>{const t=W.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 Y extends C{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 K(){return new x}function J(t){return{toString:t}.toString()}function X(t,e,n){return J(()=>{const r=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function o(...t){if(this instanceof o)return r.apply(this,t),this;const e=new o(...t);return n.annotation=e,n;function n(t,n,r){const o=t.hasOwnProperty("__parameters__")?t.__parameters__:Object.defineProperty(t,"__parameters__",{value:[]}).__parameters__;for(;o.length<=r;)o.push(null);return(o[r]=o[r]||[]).push(e),t}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o})}const tt=X("Inject",t=>({token:t})),et=X("Optional"),nt=X("Self"),rt=X("SkipSelf");var ot=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 st(t){for(let e in t)if(t[e]===st)return e;throw Error("Could not find renamed property on target object.")}function it(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function at(t){return{factory:t.factory,providers:t.providers||[],imports:t.imports||[]}}function lt(t){return ct(t,t[ht])||ct(t,t[ft])}function ct(t,e){return e&&e.token===t?e:null}function ut(t){return t&&(t.hasOwnProperty(dt)||t.hasOwnProperty(gt))?t[dt]:null}const ht=st({"\u0275prov":st}),dt=st({"\u0275inj":st}),pt=st({"\u0275provFallback":st}),ft=st({ngInjectableDef:st}),gt=st({ngInjectorDef:st});function mt(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(mt).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)}function _t(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const vt=st({__forward_ref__:st});function yt(t){return t.__forward_ref__=yt,t.toString=function(){return mt(this())},t}function wt(t){return"function"==typeof(e=t)&&e.hasOwnProperty(vt)&&e.__forward_ref__===yt?t():t;var e}const bt="undefined"!=typeof globalThis&&globalThis,Ct="undefined"!=typeof window&&window,xt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Ot="undefined"!=typeof global&&global,St=bt||Ot||Ct||xt,Pt=st({"\u0275cmp":st}),Mt=st({"\u0275dir":st}),Et=st({"\u0275pipe":st}),kt=st({"\u0275mod":st}),Tt=st({"\u0275loc":st}),Vt=st({"\u0275fac":st}),Rt=st({__NG_ELEMENT_ID__:st});class At{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=it({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return"InjectionToken "+this._desc}}const It=new At("INJECTOR",-1),jt={},Dt=/\n/gm,Nt=st({provide:String,useValue:st});let Ut,Ht=void 0;function Lt(t){const e=Ht;return Ht=t,e}function Ft(t){const e=Ut;return Ut=t,e}function $t(t,e=ot.Default){if(void 0===Ht)throw new Error("inject() must be called from an injection context");return null===Ht?qt(t,void 0,e):Ht.get(t,e&ot.Optional?null:void 0,e)}function zt(t,e=ot.Default){return(Ut||$t)(wt(t),e)}function qt(t,e,n){const r=lt(t);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&ot.Optional)return null;if(void 0!==e)return e;throw new Error(`Injector: NOT_FOUND [${mt(t)}]`)}function Bt(t){const e=[];for(let n=0;n<t.length;n++){const r=wt(t[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let t=void 0,n=ot.Default;for(let e=0;e<r.length;e++){const o=r[e];o instanceof et||"Optional"===o.ngMetadataName||o===et?n|=ot.Optional:o instanceof rt||"SkipSelf"===o.ngMetadataName||o===rt?n|=ot.SkipSelf:o instanceof nt||"Self"===o.ngMetadataName||o===nt?n|=ot.Self:t=o instanceof tt||o===tt?o.token:o}e.push(zt(t,n))}else e.push(zt(r))}return e}class Gt{get(t,e=jt){if(e===jt){const e=new Error(`NullInjectorError: No provider for ${mt(t)}!`);throw e.name="NullInjectorError",e}return e}}class Zt{}class Wt{}function Qt(t,e){t.forEach(t=>Array.isArray(t)?Qt(t,e):e(t))}function Yt(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Kt(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}var Jt=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}({}),Xt=function(t){return t[t.Emulated=0]="Emulated",t[t.Native=1]="Native",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({});const te={},ee=[];let ne=0;function re(t){return J(()=>{const e={},n={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===Jt.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||ee,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||Xt.Emulated,id:"c",styles:t.styles||ee,_:null,setInput:null,schemas:t.schemas||null,tView:null},r=t.directives,o=t.features,s=t.pipes;return n.id+=ne++,n.inputs=le(t.inputs,e),n.outputs=le(t.outputs),o&&o.forEach(t=>t(n)),n.directiveDefs=r?()=>("function"==typeof r?r():r).map(oe):null,n.pipeDefs=s?()=>("function"==typeof s?s():s).map(se):null,n})}function oe(t){return ue(t)||function(t){return t[Mt]||null}(t)}function se(t){return function(t){return t[Et]||null}(t)}const ie={};function ae(t){const e={type:t.type,bootstrap:t.bootstrap||ee,declarations:t.declarations||ee,imports:t.imports||ee,exports:t.exports||ee,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&J(()=>{ie[t.id]=t.type}),e}function le(t,e){if(null==t)return te;const n={};for(const r in t)if(t.hasOwnProperty(r)){let o=t[r],s=o;Array.isArray(o)&&(s=o[1],o=o[0]),n[o]=r,e&&(e[o]=s)}return n}const ce=re;function ue(t){return t[Pt]||null}function he(t,e){return t.hasOwnProperty(Vt)?t[Vt]:null}function de(t,e){const n=t[kt]||null;if(!n&&!0===e)throw new Error(`Type ${mt(t)} does not have '\u0275mod' property.`);return n}function pe(t){return Array.isArray(t)&&"object"==typeof t[1]}function fe(t){return Array.isArray(t)&&!0===t[1]}function ge(t){return 0!=(8&t.flags)}function me(t){return 2==(2&t.flags)}function _e(t){return 1==(1&t.flags)}function ve(t){return null!==t.template}function ye(t){return 0!=(512&t[2])}class we{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function be(){const t=xe(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===te)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}}function Ce(t,e,n,r){const o=xe(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:te,current:null}),s=o.current||(o.current={}),i=o.previous,a=this.declaredInputs[n],l=i[a];s[a]=new we(l&&l.currentValue,e,i===te),t[r]=e}function xe(t){return t.__ngSimpleChanges__||null}let Oe=void 0;function Se(t){return!!t.listen}const Pe={createRenderer:(t,e)=>void 0!==Oe?Oe:"undefined"!=typeof document?document:void 0};function Me(t){for(;Array.isArray(t);)t=t[0];return t}function Ee(t,e){return Me(e[t.index])}function ke(t,e){return t.data[e+20]}function Te(t,e){const n=e[t];return pe(n)?n:n[0]}function Ve(t){const e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function Re(t){return 128==(128&t[2])}function Ae(t,e){return null===t||null==e?null:t[e]}function Ie(t){t[18]=0}function je(t,e){t[5]+=e;let n=t,r=t[3];for(;null!==r&&(1===e&&1===n[5]||-1===e&&0===n[5]);)r[5]+=e,n=r,r=r[3]}const De={lFrame:Ke(null),bindingsEnabled:!0,checkNoChangesMode:!1};function Ne(){return De.bindingsEnabled}function Ue(){return De.lFrame.lView}function He(){return De.lFrame.tView}function Le(){return De.lFrame.previousOrParentTNode}function Fe(t,e){De.lFrame.previousOrParentTNode=t,De.lFrame.isParent=e}function $e(){return De.lFrame.isParent}function ze(){return De.checkNoChangesMode}function qe(t){De.checkNoChangesMode=t}function Be(t,e){const n=De.lFrame;n.bindingIndex=n.bindingRootIndex=t,Ge(e)}function Ge(t){De.lFrame.currentDirectiveIndex=t}function Ze(t){De.lFrame.currentQueryIndex=t}function We(t,e){const n=Ye();De.lFrame=n,n.previousOrParentTNode=e,n.lView=t}function Qe(t,e){const n=Ye(),r=t[1];De.lFrame=n,n.previousOrParentTNode=e,n.lView=t,n.tView=r,n.contextLView=t,n.bindingIndex=r.bindingStartIndex}function Ye(){const t=De.lFrame,e=null===t?null:t.child;return null===e?Ke(t):e}function Ke(t){const e={previousOrParentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null};return null!==t&&(t.child=e),e}function Je(){const t=De.lFrame;return De.lFrame=t.parent,t.previousOrParentTNode=null,t.lView=null,t}const Xe=Je;function tn(){const t=Je();t.isParent=!0,t.tView=null,t.selectedIndex=0,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function en(){return De.lFrame.selectedIndex}function nn(t){De.lFrame.selectedIndex=t}function rn(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n<r;n++){const e=t.data[n].type.prototype,{ngAfterContentInit:r,ngAfterContentChecked:o,ngAfterViewInit:s,ngAfterViewChecked:i,ngOnDestroy:a}=e;r&&(t.contentHooks||(t.contentHooks=[])).push(-n,r),o&&((t.contentHooks||(t.contentHooks=[])).push(n,o),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,o)),s&&(t.viewHooks||(t.viewHooks=[])).push(-n,s),i&&((t.viewHooks||(t.viewHooks=[])).push(n,i),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(n,i)),null!=a&&(t.destroyHooks||(t.destroyHooks=[])).push(n,a)}}function on(t,e,n){ln(t,e,3,n)}function sn(t,e,n,r){(3&t[2])===n&&ln(t,e,n,r)}function an(t,e){let n=t[2];(3&n)===e&&(n&=2047,n+=1,t[2]=n)}function ln(t,e,n,r){const o=null!=r?r:-1;let s=0;for(let i=void 0!==r?65535&t[18]:0;i<e.length;i++)if("number"==typeof e[i+1]){if(s=e[i],null!=r&&s>=r)break}else e[i]<0&&(t[18]+=65536),(s<o||-1==o)&&(cn(t,n,e,i),t[18]=(4294901760&t[18])+i+2),i++}function cn(t,e,n,r){const o=n[r]<0,s=n[r+1],i=t[o?-n[r]:n[r]];o?t[2]>>11<t[18]>>16&&(3&t[2])===e&&(t[2]+=2048,s.call(i)):s.call(i)}class un{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function hn(t,e,n){const r=Se(t);let o=0;for(;o<n.length;){const s=n[o];if("number"==typeof s){if(0!==s)break;o++;const i=n[o++],a=n[o++],l=n[o++];r?t.setAttribute(e,a,l,i):e.setAttributeNS(i,a,l)}else{const i=s,a=n[++o];pn(i)?r&&t.setProperty(e,i,a):r?t.setAttribute(e,i,a):e.setAttribute(i,a),o++}}return o}function dn(t){return 3===t||4===t||6===t}function pn(t){return 64===t.charCodeAt(0)}function fn(t,e){if(null===e||0===e.length);else if(null===t||0===t.length)t=e.slice();else{let n=-1;for(let r=0;r<e.length;r++){const o=e[r];"number"==typeof o?n=o:0===n||gn(t,n,o,null,-1===n||2===n?e[++r]:null)}}return t}function gn(t,e,n,r,o){let s=0,i=t.length;if(-1===e)i=-1;else for(;s<t.length;){const n=t[s++];if("number"==typeof n){if(n===e){i=-1;break}if(n>e){i=s-1;break}}}for(;s<t.length;){const e=t[s];if("number"==typeof e)break;if(e===n){if(null===r)return void(null!==o&&(t[s+1]=o));if(r===t[s+1])return void(t[s+2]=o)}s++,null!==r&&s++,null!==o&&s++}-1!==i&&(t.splice(i,0,e),s=i+1),t.splice(s++,0,n),null!==r&&t.splice(s++,0,r),null!==o&&t.splice(s++,0,o)}function mn(t){return-1!==t}function _n(t){return 32767&t}function vn(t){return t>>16}function yn(t,e){let n=vn(t),r=e;for(;n>0;)r=r[15],n--;return r}function wn(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():function(t){return"string"==typeof t?t:null==t?"":""+t}(t)}const bn=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(St))();function Cn(t){return{name:"window",target:t.ownerDocument.defaultView}}function xn(t){return t instanceof Function?t():t}let On=!0;function Sn(t){const e=On;return On=t,e}let Pn=0;function Mn(t,e){const n=kn(t,e);if(-1!==n)return n;const r=e[1];r.firstCreatePass&&(t.injectorIndex=e.length,En(r.data,t),En(e,null),En(r.blueprint,null));const o=Tn(t,e),s=t.injectorIndex;if(mn(o)){const t=_n(o),n=yn(o,e),r=n[1].data;for(let o=0;o<8;o++)e[s+o]=n[t+o]|r[t+o]}return e[s+8]=o,s}function En(t,e){t.push(0,0,0,0,0,0,0,0,e)}function kn(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null==e[t.injectorIndex+8]?-1:t.injectorIndex}function Tn(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=e[6],r=1;for(;n&&-1===n.injectorIndex;)n=(e=e[15])?e[6]:null,r++;return n?n.injectorIndex|r<<16:-1}function Vn(t,e,n){!function(t,e,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Rt)&&(r=n[Rt]),null==r&&(r=n[Rt]=Pn++);const o=255&r,s=1<<o,i=64&o,a=32&o,l=e.data;128&o?i?a?l[t+7]|=s:l[t+6]|=s:a?l[t+5]|=s:l[t+4]|=s:i?a?l[t+3]|=s:l[t+2]|=s:a?l[t+1]|=s:l[t]|=s}(t,e,n)}function Rn(t,e,n,r=ot.Default,o){if(null!==t){const o=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;const e=t.hasOwnProperty(Rt)?t[Rt]:void 0;return"number"==typeof e&&e>0?255&e:e}(n);if("function"==typeof o){We(e,t);try{const t=o();if(null!=t||r&ot.Optional)return t;throw new Error(`No provider for ${wn(n)}!`)}finally{Xe()}}else if("number"==typeof o){if(-1===o)return new Un(t,e);let s=null,i=kn(t,e),a=-1,l=r&ot.Host?e[16][6]:null;for((-1===i||r&ot.SkipSelf)&&(a=-1===i?Tn(t,e):e[i+8],Nn(r,!1)?(s=e[1],i=_n(a),e=yn(a,e)):i=-1);-1!==i;){a=e[i+8];const t=e[1];if(Dn(o,i,t.data)){const t=In(i,e,n,s,r,l);if(t!==An)return t}Nn(r,e[1].data[i+8]===l)&&Dn(o,i,e)?(s=t,i=_n(a),e=yn(a,e)):i=-1}}}if(r&ot.Optional&&void 0===o&&(o=null),0==(r&(ot.Self|ot.Host))){const t=e[9],s=Ft(void 0);try{return t?t.get(n,o,r&ot.Optional):qt(n,o,r&ot.Optional)}finally{Ft(s)}}if(r&ot.Optional)return o;throw new Error(`NodeInjector: NOT_FOUND [${wn(n)}]`)}const An={};function In(t,e,n,r,o,s){const i=e[1],a=i.data[t+8],l=function(t,e,n,r,o){const s=t.providerIndexes,i=e.data,a=1048575&s,l=t.directiveStart,c=s>>20,u=o?a+c:t.directiveEnd;for(let h=r?a:a+c;h<u;h++){const t=i[h];if(h<l&&n===t||h>=l&&t.type===n)return h}if(o){const t=i[l];if(t&&ve(t)&&t.type===n)return l}return null}(a,i,n,null==r?me(a)&&On:r!=i&&3===a.type,o&ot.Host&&s===a);return null!==l?jn(e,i,l,a):An}function jn(t,e,n,r){let o=t[n];const s=e.data;if(o instanceof un){const i=o;if(i.resolving)throw new Error("Circular dep for "+wn(s[n]));const a=Sn(i.canSeeViewProviders);let l;i.resolving=!0,i.injectImpl&&(l=Ft(i.injectImpl)),We(t,r);try{o=t[n]=i.factory(void 0,s,t,r),e.firstCreatePass&&n>=r.directiveStart&&function(t,e,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:s}=e.type.prototype;if(r){const r=((i=e).type.prototype.ngOnChanges&&(i.setInput=Ce),be);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,r)}var i;o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,o),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,s))}(n,s[n],e)}finally{i.injectImpl&&Ft(l),Sn(a),i.resolving=!1,Xe()}}return o}function Dn(t,e,n){const r=64&t,o=32&t;let s;return s=128&t?r?o?n[e+7]:n[e+6]:o?n[e+5]:n[e+4]:r?o?n[e+3]:n[e+2]:o?n[e+1]:n[e],!!(s&1<<t)}function Nn(t,e){return!(t&ot.Self||t&ot.Host&&e)}class Un{constructor(t,e){this._tNode=t,this._lView=e}get(t,e){return Rn(this._tNode,this._lView,t,void 0,e)}}function Hn(t){return t.ngDebugContext}function Ln(t){return t.ngOriginalError}function Fn(t,...e){t.error(...e)}class $n{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),r=function(t){return t.ngErrorLogger||Fn}(t);r(this._console,"ERROR",t),e&&r(this._console,"ORIGINAL ERROR",e),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?Hn(t)?Hn(t):this._findContext(Ln(t)):null}_findOriginalError(t){let e=Ln(t);for(;e&&Ln(e);)e=Ln(e);return e}}let zn=!0,qn=!1;function Bn(){return qn=!0,zn}function Gn(t,e){t.__ngContext__=e}function Zn(t){throw new Error("Multiple components match node with tagname "+t.tagName)}function Wn(){throw new Error("Cannot mix multi providers and regular providers")}function Qn(t,e,n){let r=t.length;for(;;){const o=t.indexOf(e,n);if(-1===o)return o;if(0===o||t.charCodeAt(o-1)<=32){const n=e.length;if(o+n===r||t.charCodeAt(o+n)<=32)return o}n=o+1}}function Yn(t,e,n){let r=0;for(;r<t.length;){let o=t[r++];if(n&&"class"===o){if(o=t[r],-1!==Qn(o.toLowerCase(),e,0))return!0}else if(1===o){for(;r<t.length&&"string"==typeof(o=t[r++]);)if(o.toLowerCase()===e)return!0;return!1}}return!1}function Kn(t){return 0===t.type&&"ng-template"!==t.tagName}function Jn(t,e,n){return e===(0!==t.type||n?t.tagName:"ng-template")}function Xn(t,e,n){let r=4;const o=t.attrs||[],s=function(t){for(let e=0;e<t.length;e++)if(dn(t[e]))return e;return t.length}(o);let i=!1;for(let a=0;a<e.length;a++){const l=e[a];if("number"!=typeof l){if(!i)if(4&r){if(r=2|1&r,""!==l&&!Jn(t,l,n)||""===l&&1===e.length){if(tr(r))return!1;i=!0}}else{const c=8&r?l:e[++a];if(8&r&&null!==t.attrs){if(!Yn(t.attrs,c,n)){if(tr(r))return!1;i=!0}continue}const u=er(8&r?"class":l,o,Kn(t),n);if(-1===u){if(tr(r))return!1;i=!0;continue}if(""!==c){let t;t=u>s?"":o[u+1].toLowerCase();const e=8&r?t:null;if(e&&-1!==Qn(e,c,0)||2&r&&c!==t){if(tr(r))return!1;i=!0}}}}else{if(!i&&!tr(r)&&!tr(l))return!1;if(i&&tr(l))continue;i=!1,r=l|1&r}}return tr(r)||i}function tr(t){return 0==(1&t)}function er(t,e,n,r){if(null===e)return-1;let o=0;if(r||!n){let n=!1;for(;o<e.length;){const r=e[o];if(r===t)return o;if(3===r||6===r)n=!0;else{if(1===r||2===r){let t=e[++o];for(;"string"==typeof t;)t=e[++o];continue}if(4===r)break;if(0===r){o+=4;continue}}o+=n?1:2}return-1}return function(t,e){let n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){const r=t[n];if("number"==typeof r)return-1;if(r===e)return n;n++}return-1}(e,t)}function nr(t,e,n=!1){for(let r=0;r<e.length;r++)if(Xn(t,e[r],n))return!0;return!1}function rr(t,e){return t?":not("+e.trim()+")":e}function or(t){let e=t[0],n=1,r=2,o="",s=!1;for(;n<t.length;){let i=t[n];if("string"==typeof i)if(2&r){const e=t[++n];o+="["+i+(e.length>0?'="'+e+'"':"")+"]"}else 8&r?o+="."+i:4&r&&(o+=" "+i);else""===o||tr(i)||(e+=rr(s,o),o=""),r=i,s=s||!tr(r);n++}return""!==o&&(e+=rr(s,o)),e}const sr={};function ir(t){const e=t[3];return fe(e)?e[3]:e}function ar(t){return cr(t[13])}function lr(t){return cr(t[4])}function cr(t){for(;null!==t&&!fe(t);)t=t[4];return t}function ur(t,e,n,r){if(!r)if(3==(3&e[2])){const r=t.preOrderCheckHooks;null!==r&&on(e,r,n)}else{const r=t.preOrderHooks;null!==r&&sn(e,r,0,n)}nn(n)}function hr(t,e){const n=t.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const o=n[r],s=n[r+1];if(-1!==s){const n=t.data[s];Ze(o),n.contentQueries(2,e[s],s)}}}function dr(t,e,n){return Se(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function pr(t,e,n,r,o,s,i,a,l,c){const u=e.blueprint.slice();return u[0]=o,u[2]=140|r,Ie(u),u[3]=u[15]=t,u[8]=n,u[10]=i||t&&t[10],u[11]=a||t&&t[11],u[12]=l||t&&t[12]||null,u[9]=c||t&&t[9]||null,u[6]=s,u[16]=2==e.type?t[16]:u,u}function fr(t,e,n,r,o,s){const i=n+20,a=t.data[i]||function(t,e,n,r,o,s){const i=Le(),a=$e(),l=a?i:i&&i.parent,c=t.data[n]=xr(0,l&&l!==e?l:null,r,n,o,s);return null===t.firstChild&&(t.firstChild=c),i&&(!a||null!=i.child||null===c.parent&&2!==i.type?a||(i.next=c):i.child=c),c}(t,e,i,r,o,s);return Fe(a,!0),a}function gr(t,e,n){Qe(e,e[6]);try{const r=t.viewQuery;null!==r&&qr(1,r,n);const o=t.template;null!==o&&vr(t,e,o,1,n),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&hr(t,e),t.staticViewQueries&&qr(2,t.viewQuery,n);const s=t.components;null!==s&&function(t,e){for(let n=0;n<e.length;n++)Hr(t,e[n])}(e,s)}catch(r){throw t.firstCreatePass&&(t.incompleteFirstPass=!0),r}finally{e[2]&=-5,tn()}}function mr(t,e,n,r){const o=e[2];if(256==(256&o))return;Qe(e,e[6]);const s=ze();try{Ie(e),De.lFrame.bindingIndex=t.bindingStartIndex,null!==n&&vr(t,e,n,2,r);const i=3==(3&o);if(!s)if(i){const n=t.preOrderCheckHooks;null!==n&&on(e,n,null)}else{const n=t.preOrderHooks;null!==n&&sn(e,n,0,null),an(e,0)}if(function(t){for(let e=ar(t);null!==e;e=lr(e)){if(!e[2])continue;const t=e[9];for(let e=0;e<t.length;e++){const n=t[e],r=n[3];0==(1024&n[2])&&je(r,1),n[2]|=1024}}}(e),function(t){for(let e=ar(t);null!==e;e=lr(e))for(let t=10;t<e.length;t++){const n=e[t],r=n[1];Re(n)&&mr(r,n,r.template,n[8])}}(e),null!==t.contentQueries&&hr(t,e),!s)if(i){const n=t.contentCheckHooks;null!==n&&on(e,n)}else{const n=t.contentHooks;null!==n&&sn(e,n,1),an(e,1)}!function(t,e){try{const n=t.expandoInstructions;if(null!==n){let r=t.expandoStartIndex,o=-1,s=-1;for(let t=0;t<n.length;t++){const i=n[t];"number"==typeof i?i<=0?(s=0-i,nn(s),r+=9+n[++t],o=r):r+=i:(null!==i&&(Be(r,o),i(2,e[o])),o++)}}}finally{nn(-1)}}(t,e);const a=t.components;null!==a&&function(t,e){for(let n=0;n<e.length;n++)Ur(t,e[n])}(e,a);const l=t.viewQuery;if(null!==l&&qr(2,l,r),!s)if(i){const n=t.viewCheckHooks;null!==n&&on(e,n)}else{const n=t.viewHooks;null!==n&&sn(e,n,2),an(e,2)}!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),s||(e[2]&=-73),1024&e[2]&&(e[2]&=-1025,je(e[3],-1))}finally{tn()}}function _r(t,e,n,r){const o=e[10],s=!ze(),i=4==(4&e[2]);try{s&&!i&&o.begin&&o.begin(),i&&gr(t,e,r),mr(t,e,n,r)}finally{s&&!i&&o.end&&o.end()}}function vr(t,e,n,r,o){const s=en();try{nn(-1),2&r&&e.length>20&&ur(t,e,0,ze()),n(r,o)}finally{nn(s)}}function yr(t,e,n){Ne()&&(function(t,e,n,r){const o=n.directiveStart,s=n.directiveEnd;t.firstCreatePass||Mn(n,e),Gn(r,e);const i=n.initialInputs;for(let a=o;a<s;a++){const r=t.data[a],s=ve(r);s&&Ir(e,n,r);const l=jn(e,t,a,n);Gn(l,e),null!==i&&jr(0,a-o,l,r,0,i),s&&(Te(n.index,e)[8]=l)}}(t,e,n,Ee(n,e)),128==(128&n.flags)&&function(t,e,n){const r=n.directiveStart,o=n.directiveEnd,s=t.expandoInstructions,i=t.firstCreatePass,a=n.index-20,l=De.lFrame.currentDirectiveIndex;try{nn(a);for(let n=r;n<o;n++){const r=t.data[n],o=e[n];Ge(n),null!==r.hostBindings||0!==r.hostVars||null!==r.hostAttrs?Er(r,o):i&&s.push(null)}}finally{nn(-1),Ge(l)}}(t,e,n))}function wr(t,e,n=Ee){const r=e.localNames;if(null!==r){let o=e.index+1;for(let s=0;s<r.length;s+=2){const i=r[s+1],a=-1===i?n(e,t):t[i];t[o++]=a}}}function br(t){const e=t.tView;return null===e||e.incompleteFirstPass?t.tView=Cr(1,-1,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts):e}function Cr(t,e,n,r,o,s,i,a,l,c){const u=20+r,h=u+o,d=function(t,e){const n=[];for(let r=0;r<e;r++)n.push(r<t?null:sr);return n}(u,h);return d[1]={type:t,id:e,blueprint:d,template:n,queries:null,viewQuery:a,node:null,data:d.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:h,expandoInstructions:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof s?s():s,pipeRegistry:"function"==typeof i?i():i,firstChild:null,schemas:l,consts:c,incompleteFirstPass:!1}}function xr(t,e,n,r,o,s){return{type:n,index:r,injectorIndex:e?e.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,tagName:o,attrs:s,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Or(t,e,n){for(let r in t)if(t.hasOwnProperty(r)){const o=t[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(e,o):n[r]=[e,o]}return n}function Sr(t,e,n,r){let o=!1;if(Ne()){const s=function(t,e,n){const r=t.directiveRegistry;let o=null;if(r)for(let s=0;s<r.length;s++){const i=r[s];nr(n,i.selectors,!1)&&(o||(o=[]),Vn(Mn(n,e),t,i.type),ve(i)?(2&n.flags&&Zn(n),Tr(t,n),o.unshift(i)):o.push(i))}return o}(t,e,n),i=null===r?null:{"":-1};if(null!==s){let r=0;o=!0,Rr(n,t.data.length,s.length);for(let t=0;t<s.length;t++){const e=s[t];e.providersResolver&&e.providersResolver(e)}kr(t,n,s.length);let a=!1,l=!1;for(let o=0;o<s.length;o++){const c=s[o];n.mergedAttrs=fn(n.mergedAttrs,c.hostAttrs),Ar(t,e,c),Vr(t.data.length-1,c,i),null!==c.contentQueries&&(n.flags|=8),null===c.hostBindings&&null===c.hostAttrs&&0===c.hostVars||(n.flags|=128);const u=c.type.prototype;!a&&(u.ngOnChanges||u.ngOnInit||u.ngDoCheck)&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n.index-20),a=!0),l||!u.ngOnChanges&&!u.ngDoCheck||((t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n.index-20),l=!0),Pr(t,c),r+=c.hostVars}!function(t,e){const n=e.directiveEnd,r=t.data,o=e.attrs,s=[];let i=null,a=null;for(let l=e.directiveStart;l<n;l++){const t=r[l],n=t.inputs,c=null===o||Kn(e)?null:Dr(n,o);s.push(c),i=Or(n,l,i),a=Or(t.outputs,l,a)}null!==i&&(i.hasOwnProperty("class")&&(e.flags|=16),i.hasOwnProperty("style")&&(e.flags|=32)),e.initialInputs=s,e.inputs=i,e.outputs=a}(t,n),Mr(t,e,r)}i&&function(t,e,n){if(e){const r=t.localNames=[];for(let t=0;t<e.length;t+=2){const o=n[e[t+1]];if(null==o)throw new Error(`Export of name '${e[t+1]}' not found!`);r.push(e[t],o)}}}(n,r,i)}return n.mergedAttrs=fn(n.mergedAttrs,n.attrs),o}function Pr(t,e){const n=t.expandoInstructions;n.push(e.hostBindings),0!==e.hostVars&&n.push(e.hostVars)}function Mr(t,e,n){for(let r=0;r<n;r++)e.push(sr),t.blueprint.push(sr),t.data.push(null)}function Er(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function kr(t,e,n){const r=20-e.index,o=t.data.length-(1048575&e.providerIndexes);(t.expandoInstructions||(t.expandoInstructions=[])).push(r,o,n)}function Tr(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function Vr(t,e,n){if(n){if(e.exportAs)for(let r=0;r<e.exportAs.length;r++)n[e.exportAs[r]]=t;ve(e)&&(n[""]=t)}}function Rr(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function Ar(t,e,n){t.data.push(n);const r=n.factory||(n.factory=he(n.type)),o=new un(r,ve(n),null);t.blueprint.push(o),e.push(o)}function Ir(t,e,n){const r=Ee(e,t),o=br(n),s=t[10],i=Lr(t,pr(t,o,null,n.onPush?64:16,r,e,s,s.createRenderer(r,n)));t[e.index]=i}function jr(t,e,n,r,o,s){const i=s[e];if(null!==i){const t=r.setInput;for(let e=0;e<i.length;){const o=i[e++],s=i[e++],a=i[e++];null!==t?r.setInput(n,a,o,s):n[s]=a}}}function Dr(t,e){let n=null,r=0;for(;r<e.length;){const o=e[r];if(0!==o)if(5!==o){if("number"==typeof o)break;t.hasOwnProperty(o)&&(null===n&&(n=[]),n.push(o,t[o],e[r+1])),r+=2}else r+=2;else r+=4}return n}function Nr(t,e,n,r){return new Array(t,!0,!1,e,null,0,r,n,null,null)}function Ur(t,e){const n=Te(e,t);if(Re(n)){const t=n[1];80&n[2]?mr(t,n,t.template,n[8]):n[5]>0&&function t(e){for(let r=ar(e);null!==r;r=lr(r))for(let e=10;e<r.length;e++){const n=r[e];if(1024&n[2]){const t=n[1];mr(t,n,t.template,n[8])}else n[5]>0&&t(n)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const o=Te(n[r],e);Re(o)&&o[5]>0&&t(o)}}(n)}}function Hr(t,e){const n=Te(e,t),r=n[1];!function(t,e){for(let n=e.length;n<t.blueprint.length;n++)e.push(t.blueprint[n])}(r,n),gr(r,n,n[8])}function Lr(t,e){return t[13]?t[14][4]=e:t[13]=e,t[14]=e,e}function Fr(t){for(;t;){t[2]|=64;const e=ir(t);if(ye(t)&&!e)return t;t=e}return null}function $r(t,e,n){const r=e[10];r.begin&&r.begin();try{mr(t,e,t.template,n)}catch(o){throw Zr(e,o),o}finally{r.end&&r.end()}}function zr(t){!function(t){for(let e=0;e<t.components.length;e++){const n=t.components[e],r=Ve(n),o=r[1];_r(o,r,o.template,n)}}(t[8])}function qr(t,e,n){Ze(0),e(t,n)}const Br=(()=>Promise.resolve(null))();function Gr(t){return t[7]||(t[7]=[])}function Zr(t,e){const n=t[9],r=n?n.get($n,null):null;r&&r.handleError(e)}function Wr(t,e,n,r,o){for(let s=0;s<n.length;){const i=n[s++],a=n[s++],l=e[i],c=t.data[i];null!==c.setInput?c.setInput(l,o,r,a):l[a]=o}}function Qr(t,e){const n=e[3];return-1===t.index?fe(n)?n:null:n}function Yr(t,e){const n=Qr(t,e);return n?ao(e[11],n[7]):null}function Kr(t,e,n,r,o){if(null!=r){let s,i=!1;fe(r)?s=r:pe(r)&&(i=!0,r=r[0]);const a=Me(r);0===t&&null!==n?null==o?so(e,n,a):oo(e,n,a,o||null):1===t&&null!==n?oo(e,n,a,o||null):2===t?function(t,e,n){const r=ao(t,e);r&&function(t,e,n,r){Se(t)?t.removeChild(e,n,r):e.removeChild(n)}(t,r,e,n)}(e,a,i):3===t&&e.destroyNode(a),null!=s&&function(t,e,n,r,o){const s=n[7];s!==Me(n)&&Kr(e,t,r,s,o);for(let i=10;i<n.length;i++){const o=n[i];ho(o[1],o,t,e,r,s)}}(e,t,s,n,o)}}function Jr(t,e,n,r){const o=Yr(t.node,e);o&&ho(t,e,e[11],n?1:2,o,r)}function Xr(t,e){const n=t[9],r=n.indexOf(e);1024&e[2]&&je(e[3],-1),n.splice(r,1)}function to(t,e){if(t.length<=10)return;const n=10+e,r=t[n];if(r){const o=r[17];null!==o&&o!==t&&Xr(o,r),e>0&&(t[n-1][4]=r[4]);const s=Kt(t,10+e);Jr(r[1],r,!1,null);const i=s[19];null!==i&&i.detachView(s[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function eo(t,e){if(!(256&e[2])){const n=e[11];Se(n)&&n.destroyNode&&ho(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return ro(t[1],t);for(;e;){let n=null;if(pe(e))n=e[13];else{const t=e[10];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)pe(e)&&ro(e[1],e),e=no(e,t);null===e&&(e=t),pe(e)&&ro(e[1],e),n=e&&e[4]}e=n}}(e)}}function no(t,e){let n;return pe(t)&&(n=t[6])&&2===n.type?Qr(n,t):t[3]===e?null:t[3]}function ro(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let r=0;r<n.length;r+=2){const t=e[n[r]];if(!(t instanceof un)){const e=n[r+1];if(Array.isArray(e))for(let n=0;n<e.length;n+=2)e[n+1].call(t[e[n]]);else e.call(t)}}}(t,e),function(t,e){const n=t.cleanup;if(null!==n){const t=e[7];for(let r=0;r<n.length-1;r+=2)if("string"==typeof n[r]){const o=n[r+1],s="function"==typeof o?o(e):Me(e[o]),i=t[n[r+2]],a=n[r+3];"boolean"==typeof a?s.removeEventListener(n[r],i,a):a>=0?t[a]():t[-a].unsubscribe(),r+=2}else n[r].call(t[n[r+1]]);e[7]=null}}(t,e);const n=e[6];n&&3===n.type&&Se(e[11])&&e[11].destroy();const r=e[17];if(null!==r&&fe(e[3])){r!==e[3]&&Xr(r,e);const n=e[19];null!==n&&n.detachView(t)}}}function oo(t,e,n,r){Se(t)?t.insertBefore(e,n,r):e.insertBefore(n,r,!0)}function so(t,e,n){Se(t)?t.appendChild(e,n):e.appendChild(n)}function io(t,e,n,r){null!==r?oo(t,e,n,r):so(t,e,n)}function ao(t,e){return Se(t)?t.parentNode(e):e.parentNode}function lo(t,e,n,r){const o=function(t,e,n){let r=e.parent;for(;null!=r&&(4===r.type||5===r.type);)r=(e=r).parent;if(null==r){const t=n[6];return 2===t.type?Yr(t,n):n[0]}if(e&&5===e.type&&4&e.flags)return Ee(e,n).parentNode;if(2&r.flags){const e=t.data,n=e[e[r.index].directiveStart].encapsulation;if(n!==Xt.ShadowDom&&n!==Xt.Native)return null}return Ee(r,n)}(t,r,e);if(null!=o){const t=e[11],s=function(t,e){if(2===t.type){const n=Qr(t,e);return null===n?null:co(n.indexOf(e,10)-10,n)}return 4===t.type||5===t.type?Ee(t,e):null}(r.parent||e[6],e);if(Array.isArray(n))for(let e=0;e<n.length;e++)io(t,o,n[e],s);else io(t,o,n,s)}}function co(t,e){const n=10+t+1;if(n<e.length){const t=e[n],r=t[1].firstChild;if(null!==r)return function t(e,n){if(null!==n){const r=n.type;if(3===r)return Ee(n,e);if(0===r)return co(-1,e[n.index]);if(4===r||5===r){const r=n.child;if(null!==r)return t(e,r);{const t=e[n.index];return fe(t)?co(-1,t):Me(t)}}{const r=e[16],o=r[6],s=ir(r),i=o.projection[n.projection];return null!=i?t(s,i):t(e,n.next)}}return null}(t,r)}return e[7]}function uo(t,e,n,r,o,s,i){for(;null!=n;){const a=r[n.index],l=n.type;i&&0===e&&(a&&Gn(Me(a),r),n.flags|=4),64!=(64&n.flags)&&(4===l||5===l?(uo(t,e,n.child,r,o,s,!1),Kr(e,t,o,a,s)):1===l?po(t,e,r,n,o,s):Kr(e,t,o,a,s)),n=i?n.projectionNext:n.next}}function ho(t,e,n,r,o,s){uo(n,r,t.node.child,e,o,s,!1)}function po(t,e,n,r,o,s){const i=n[16],a=i[6].projection[r.projection];if(Array.isArray(a))for(let l=0;l<a.length;l++)Kr(e,t,o,a[l],s);else uo(t,e,a,i[3],o,s,!0)}function fo(t,e,n){Se(t)?t.setAttribute(e,"style",n):e.style.cssText=n}function go(t,e,n){Se(t)?""===n?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n):e.className=n}class mo{constructor(t,e){this._lView=t,this._cdRefInjectingView=e,this._appRef=null,this._viewContainerRef=null}get rootNodes(){const t=this._lView;return null==t[0]?function t(e,n,r,o,s=!1){for(;null!==r;){const i=n[r.index];if(null!==i&&o.push(Me(i)),fe(i))for(let e=10;e<i.length;e++){const n=i[e],r=n[1].firstChild;null!==r&&t(n[1],n,r,o)}const a=r.type;if(4===a||5===a)t(e,n,r.child,o);else if(1===a){const e=n[16],s=e[6].projection[r.projection];if(Array.isArray(s))o.push(...s);else{const n=ir(e);t(n[1],n,s,o,!0)}}r=s?r.projectionNext:r.next}return o}(t[1],t,t[6].child,[]):[]}get context(){return this._lView[8]}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){const t=this._viewContainerRef.indexOf(this);t>-1&&this._viewContainerRef.detach(t),this._viewContainerRef=null}eo(this._lView[1],this._lView)}onDestroy(t){!function(t,e,n,r){const o=Gr(e);o.push(null),t.firstCreatePass&&function(t){return t.cleanup||(t.cleanup=[])}(t).push(r,o.length-1)}(this._lView[1],this._lView,0,t)}markForCheck(){Fr(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){$r(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){qe(!0);try{$r(t,e,n)}finally{qe(!1)}}(this._lView[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(){var t;this._appRef=null,ho(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class _o extends mo{constructor(t){super(t),this._view=t}detectChanges(){zr(this._view)}checkNoChanges(){!function(t){qe(!0);try{zr(t)}finally{qe(!1)}}(this._view)}get context(){return null}}let vo,yo,wo;function bo(t,e,n){return vo||(vo=class extends t{}),new vo(Ee(e,n))}let Co=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>xo(),t})();const xo=function(t=!1){return function(t,e,n){if(!n&&me(t)){const n=Te(t.index,e);return new mo(n,n)}return 3===t.type||0===t.type||4===t.type||5===t.type?new mo(e[16],e):null}(Le(),Ue(),t)},Oo=Function,So=new At("Set Injector scope."),Po={},Mo={},Eo=[];let ko=void 0;function To(){return void 0===ko&&(ko=new Gt),ko}function Vo(t,e=null,n=null,r){return new Ro(t,n,e||To(),r)}class Ro{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 o=[];e&&Qt(e,n=>this.processProvider(n,t,e)),Qt([t],t=>this.processInjectorType(t,[],o)),this.records.set(It,Io(void 0,this));const s=this.records.get(So);this.scope=null!=s?s.value:null,this.source=r||("object"==typeof t?null:mt(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=jt,n=ot.Default){this.assertNotDestroyed();const r=Lt(this);try{if(!(n&ot.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(o=t)||"object"==typeof o&&o instanceof At)&<(t);e=n&&this.injectableDefInScope(n)?Io(Ao(t),Po):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&ot.Self?To():this.parent).get(t,e=n&ot.Optional&&e===jt?null:e)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(mt(t)),r)throw s;return function(t,e,n,r){const o=t.ngTempTokenPath;throw e.__source&&o.unshift(e.__source),t.message=function(t,e,n,r=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let o=mt(e);if(Array.isArray(e))o=e.map(mt).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):mt(r)))}o=`{${t.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${t.replace(Dt,"\n ")}`}("\n"+t.message,o,n,r),t.ngTokenPath=o,t.ngTempTokenPath=null,t}(s,t,"R3InjectorError",this.source)}throw s}finally{Lt(r)}var o}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,n)=>t.push(mt(n))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,n){if(!(t=wt(t)))return!1;let r=ut(t);const o=null==r&&t.ngModule||void 0,s=void 0===o?t:o,i=-1!==n.indexOf(s);if(void 0!==o&&(r=ut(o)),null==r)return!1;if(null!=r.imports&&!i){let t;n.push(s);try{Qt(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];Qt(r,t=>this.processProvider(t,n,r||Eo))}}this.injectorDefTypes.add(s),this.records.set(s,Io(r.factory,Po));const a=r.providers;if(null!=a&&!i){const e=t;Qt(a,t=>this.processProvider(t,e,a))}return void 0!==o&&void 0!==t.providers}processProvider(t,e,n){let r=Do(t=wt(t))?t:wt(t&&t.provide);const o=function(t,e,n){return jo(t)?Io(void 0,t.useValue):Io(function(t,e,n){let r=void 0;if(Do(t)){const e=wt(t);return he(e)||Ao(e)}if(jo(t))r=()=>wt(t.useValue);else if((o=t)&&o.useFactory)r=()=>t.useFactory(...Bt(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))r=()=>zt(wt(t.useExisting));else{const o=wt(t&&(t.useClass||t.provide));if(o||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 '${mt(t)}'`+r)}(e,n,t),!function(t){return!!t.deps}(t))return he(o)||Ao(o);r=()=>new o(...Bt(t.deps))}var o;return r}(t,e,n),Po)}(t,e,n);if(Do(t)||!0!==t.multi){const t=this.records.get(r);t&&void 0!==t.multi&&Wn()}else{let e=this.records.get(r);e?void 0===e.multi&&Wn():(e=Io(void 0,Po,!0),e.factory=()=>Bt(e.multi),this.records.set(r,e)),r=t,e.multi.push(t)}this.records.set(r,o)}hydrate(t,e){var n;return e.value===Mo?function(t){throw new Error("Cannot instantiate cyclic dependency! "+t)}(mt(t)):e.value===Po&&(e.value=Mo,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 Ao(t){const e=lt(t),n=null!==e?e.factory:he(t);if(null!==n)return n;const r=ut(t);if(null!==r)return r.factory;if(t instanceof At)throw new Error(`Token ${mt(t)} is missing a \u0275prov 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 ${mt(t)}: (${n.join(", ")}).`)}const n=function(t){const e=t&&(t[ht]||t[ft]||t[pt]&&t[pt]());if(e){const n=function(t){if(t.hasOwnProperty("name"))return t.name;const e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),e}return null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new Error("unreachable")}function Io(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function jo(t){return null!==t&&"object"==typeof t&&Nt in t}function Do(t){return"function"==typeof t}const No=function(t,e,n){return function(t,e=null,n=null,r){const o=Vo(t,e,n,r);return o._resolveInjectorDefTypes(),o}({name:n},e,t,n)};let Uo=(()=>{class t{static create(t,e){return Array.isArray(t)?No(t,e,""):No(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=jt,t.NULL=new Gt,t.\u0275prov=it({token:t,providedIn:"any",factory:()=>zt(It)}),t.__NG_ELEMENT_ID__=-1,t})();const Ho=new At("AnalyzeForEntryComponents");function Lo(t,e,n){let r=n?t.styles:null,o=n?t.classes:null,s=0;if(null!==e)for(let i=0;i<e.length;i++){const t=e[i];"number"==typeof t?s=t:1==s?o=_t(o,t):2==s&&(r=_t(r,t+": "+e[++i]+";"))}n?t.styles=r:t.stylesWithoutHost=r,n?t.classes=o:t.classesWithoutHost=o}let Fo=null;function $o(){if(!Fo){const t=St.Symbol;if(t&&t.iterator)Fo=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&&(Fo=n)}}}return Fo}function zo(t){return!!qo(t)&&(Array.isArray(t)||!(t instanceof Map)&&$o()in t)}function qo(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function Bo(t,e,n){return!Object.is(t[e],n)&&(t[e]=n,!0)}function Go(t,e=ot.Default){const n=Ue();return null==n?zt(t,e):Rn(Le(),n,wt(t),e)}function Zo(t,e,n){const r=Ue();return Bo(r,De.lFrame.bindingIndex++,e)&&function(t,e,n,r,o,s,i,a){const l=Ee(e,n);let c,u=e.inputs;var h;null!=u&&(c=u[r])?(Wr(t,n,c,r,o),me(e)&&function(t,e){const n=Te(e,t);16&n[2]||(n[2]|=64)}(n,e.index)):3===e.type&&(r="class"===(h=r)?"className":"for"===h?"htmlFor":"formaction"===h?"formAction":"innerHtml"===h?"innerHTML":"readonly"===h?"readOnly":"tabindex"===h?"tabIndex":h,o=null!=i?i(o,e.tagName||"",r):o,Se(s)?s.setProperty(l,r,o):pn(r)||(l.setProperty?l.setProperty(r,o):l[r]=o))}(He(),function(){const t=De.lFrame;return ke(t.tView,t.selectedIndex)}(),r,t,e,r[11],n),Zo}function Wo(t,e,n,r,o){const s=o?"class":"style";Wr(t,n,e.inputs[s],s,r)}function Qo(t,e,n,r){const o=Ue(),s=He(),i=20+t,a=o[11],l=o[i]=dr(e,a,De.lFrame.currentNamespace),c=s.firstCreatePass?function(t,e,n,r,o,s,i){const a=e.consts,l=Ae(a,s),c=fr(e,n[6],t,3,o,l);return Sr(e,n,c,Ae(a,i)),null!==c.attrs&&Lo(c,c.attrs,!1),null!==c.mergedAttrs&&Lo(c,c.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,c),c}(t,s,o,0,e,n,r):s.data[i];Fe(c,!0);const u=c.mergedAttrs;null!==u&&hn(a,l,u);const h=c.classes;null!==h&&go(a,l,h);const d=c.styles;null!==d&&fo(a,l,d),lo(s,o,l,c),0===De.lFrame.elementDepthCount&&Gn(l,o),De.lFrame.elementDepthCount++,_e(c)&&(yr(s,o,c),function(t,e,n){if(ge(e)){const r=e.directiveEnd;for(let o=e.directiveStart;o<r;o++){const e=t.data[o];e.contentQueries&&e.contentQueries(1,n[o],o)}}}(s,c,o)),null!==r&&wr(o,c)}function Yo(){let t=Le();$e()?De.lFrame.isParent=!1:(t=t.parent,Fe(t,!1));const e=t;De.lFrame.elementDepthCount--;const n=He();n.firstCreatePass&&(rn(n,t),ge(t)&&n.queries.elementEnd(t)),null!=e.classesWithoutHost&&function(t){return 0!=(16&t.flags)}(e)&&Wo(n,e,Ue(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function(t){return 0!=(32&t.flags)}(e)&&Wo(n,e,Ue(),e.stylesWithoutHost,!1)}function Ko(t,e,n,r){Qo(t,e,n,r),Yo()}function Jo(t){return!!t&&"function"==typeof t.then}function Xo(t,e,n=!1,r){const o=Ue(),s=He(),i=Le();return function(t,e,n,r,o,s,i=!1,a){const l=_e(r),c=t.firstCreatePass&&(t.cleanup||(t.cleanup=[])),u=Gr(e);let h=!0;if(3===r.type){const d=Ee(r,e),p=a?a(d):te,f=p.target||d,g=u.length,m=a?t=>a(Me(t[r.index])).target:r.index;if(Se(n)){let i=null;if(!a&&l&&(i=function(t,e,n,r){const o=t.cleanup;if(null!=o)for(let s=0;s<o.length-1;s+=2){const t=o[s];if(t===n&&o[s+1]===r){const t=e[7],n=o[s+2];return t.length>n?t[n]:null}"string"==typeof t&&(s+=2)}return null}(t,e,o,r.index)),null!==i)(i.__ngLastListenerFn__||i).__ngNextListenerFn__=s,i.__ngLastListenerFn__=s,h=!1;else{s=es(r,e,s,!1);const t=n.listen(p.name||f,o,s);u.push(s,t),c&&c.push(o,m,g,g+1)}}else s=es(r,e,s,!0),f.addEventListener(o,s,i),u.push(s),c&&c.push(o,m,g,i)}const d=r.outputs;let p;if(h&&null!==d&&(p=d[o])){const t=p.length;if(t)for(let n=0;n<t;n+=2){const t=e[p[n]][p[n+1]].subscribe(s),i=u.length;u.push(s,t),c&&c.push(o,r.index,i,-(i+1))}}}(s,o,o[11],i,t,e,n,r),Xo}function ts(t,e,n){try{return!1!==e(n)}catch(r){return Zr(t,r),!1}}function es(t,e,n,r){return function o(s){if(s===Function)return n;const i=2&t.flags?Te(t.index,e):e;0==(32&e[2])&&Fr(i);let a=ts(e,n,s),l=o.__ngNextListenerFn__;for(;l;)a=ts(e,l,s)&&a,l=l.__ngNextListenerFn__;return r&&!1===a&&(s.preventDefault(),s.returnValue=!1),a}}function ns(t,e=""){const n=Ue(),r=He(),o=t+20,s=r.firstCreatePass?fr(r,n[6],t,3,null,null):r.data[o],i=n[o]=function(t,e){return Se(e)?e.createText(t):e.createTextNode(t)}(e,n[11]);lo(r,n,i,s),Fe(s,!1)}function rs(t,e){const n=Ve(t)[1],r=n.data.length-1;rn(n,{directiveStart:r,directiveEnd:r+1})}class os{}class ss{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${mt(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(t)}}let is=(()=>{class t{}return t.NULL=new ss,t})(),as=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=()=>ls(t),t})();const ls=function(t){return bo(t,Le(),Ue())};class cs{}var us=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({});let hs=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>ds(),t})();const ds=function(){const t=Ue(),e=Te(Le().index,t);return function(t){const e=t[11];if(Se(e))return e;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(pe(e)?e:t)};let ps=(()=>{class t{}return t.\u0275prov=it({token:t,providedIn:"root",factory:()=>null}),t})();class fs{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const gs=new fs("10.0.14");class ms{constructor(){}supports(t){return zo(t)}create(t){return new vs(t)}}const _s=(t,e)=>e;class vs{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||_s}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,o=null;for(;e||n;){const s=!n||e&&e.currentIndex<Cs(n,r,o)?e:n,i=Cs(s,r,o),a=s.currentIndex;if(s===n)r--,n=n._nextRemoved;else if(e=e._next,null==s.previousIndex)r++;else{o||(o=[]);const t=i-r,e=a-r;if(t!=e){for(let n=0;n<t;n++){const r=n<o.length?o[n]:o[n]=0,s=r+n;e<=s&&s<t&&(o[n]=r+1)}o[s.previousIndex]=e-t}}i!==a&&t(s,i,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=[]),!zo(t))throw new Error(`Error trying to diff '${mt(t)}'. Only arrays and iterables are allowed`);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e,n,r,o=this._itHead,s=!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!==o&&Object.is(o.trackById,r)?(s&&(o=this._verifyReinsertion(o,n,r,e)),Object.is(o.item,n)||this._addIdentityChange(o,n)):(o=this._mismatch(o,n,r,e),s=!0),o=o._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[$o()]();let r;for(;!(r=n.next()).done;)e(r.value)}}(t,t=>{r=this._trackByFn(e,t),null!==o&&Object.is(o.trackById,r)?(s&&(o=this._verifyReinsertion(o,t,r,e)),Object.is(o.item,t)||this._addIdentityChange(o,t)):(o=this._mismatch(o,t,r,e),s=!0),o=o._next,e++}),this.length=e;return this._truncate(o),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 o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,o,r)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,o,r)):t=this._addAfter(new ys(e,n),o,r),t}_verifyReinsertion(t,e,n,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==o?t=this._reinsertAfter(o,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,o=t._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._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),this._additionsTail=null===this._additionsTail?this._additionsHead=t: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 bs),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||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new bs),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,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class ys{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 ws{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)&&Object.is(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 bs{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new ws,this.map.set(e,n)),n.add(t)}get(t,e){const n=this.map.get(t);return n?n.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 Cs(t,e,n){const r=t.previousIndex;if(null===r)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+e+o}class xs{constructor(){}supports(t){return t instanceof Map||qo(t)}create(){return new Os}}class Os{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||qo(t)))throw new Error(`Error trying to diff '${mt(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,o=n._next;return r&&(r._next=o),o&&(o._prev=r),n._next=null,n._prev=null,n}const n=new Ss(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){Object.is(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 Ss{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 Ps=(()=>{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 rt,new et]]}}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.\u0275prov=it({token:t,providedIn:"root",factory:()=>new t([new ms])}),t})(),Ms=(()=>{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 rt,new et]]}}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.\u0275prov=it({token:t,providedIn:"root",factory:()=>new t([new xs])}),t})();const Es=[new xs],ks=new Ps([new ms]),Ts=new Ms(Es);let Vs=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Rs(t,as),t})();const Rs=function(t,e){return function(t,e,n,r){return yo||(yo=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=pr(this._declarationView,e,t,16,null,e.node);n[17]=this._declarationView[this._declarationTContainer.index];const r=this._declarationView[19];return null!==r&&(n[19]=r.createEmbeddedView(e)),gr(e,n,t),new mo(n)}}),0===n.type?new yo(r,n,bo(e,n,r)):null}(t,e,Le(),Ue())};let As=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Is(t,as),t})();const Is=function(t,e){return function(t,e,n,r){let o;wo||(wo=class extends t{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostView=n}get element(){return bo(e,this._hostTNode,this._hostView)}get injector(){return new Un(this._hostTNode,this._hostView)}get parentInjector(){const t=Tn(this._hostTNode,this._hostView),e=yn(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.parent.injectorIndex;)e=e.parent;return e}let r=vn(t),o=e,s=e[6];for(;r>1;)o=o[15],s=o[6],r--;return s}(t,this._hostView,this._hostTNode);return mn(t)&&null!=n?new Un(n,e):new Un(null,this._hostView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){return null!==this._lContainer[8]&&this._lContainer[8][t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,e,n){const r=t.createEmbeddedView(e||{});return this.insert(r,n),r}createComponent(t,e,n,r,o){const s=n||this.parentInjector;if(!o&&null==t.ngModule&&s){const t=s.get(Zt,null);t&&(o=t)}const i=t.create(s,r,void 0,o);return this.insert(i.hostView,e),i}insert(t,e){const n=t._lView,r=n[1];if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),fe(n[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],r=new wo(e,e[6],e[3]);r.detach(r.indexOf(t))}}const o=this._adjustIndex(e);return function(t,e,n,r){const o=10+r,s=n.length;r>0&&(n[o-1][4]=e),r<s-10?(e[4]=n[o],Yt(n,10+r,e)):(n.push(e),e[4]=null),e[3]=n;const i=e[17];null!==i&&n!==i&&function(t,e){const n=t[9];e[16]!==e[3][3][16]&&(t[2]=!0),null===n?t[9]=[e]:n.push(e)}(i,e);const a=e[19];null!==a&&a.insertView(t),e[2]|=128}(r,n,this._lContainer,o),Jr(r,n,!0,co(o,this._lContainer)),t.attachToViewContainerRef(this),Yt(this._lContainer[8],o,t),t}move(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");return this.insert(t,e)}indexOf(t){const e=this._lContainer[8];return null!==e?e.indexOf(t):-1}remove(t){this.allocateContainerIfNeeded();const e=this._adjustIndex(t,-1),n=to(this._lContainer,e);n&&(Kt(this._lContainer[8],e),eo(n[1],n))}detach(t){this.allocateContainerIfNeeded();const e=this._adjustIndex(t,-1),n=to(this._lContainer,e);return n&&null!=Kt(this._lContainer[8],e)?new mo(n):null}_adjustIndex(t,e=0){return null==t?this.length+e:t}allocateContainerIfNeeded(){null===this._lContainer[8]&&(this._lContainer[8]=[])}});const s=r[n.index];if(fe(s))o=s;else{let t;if(4===n.type)t=Me(s);else if(t=r[11].createComment(""),ye(r)){const e=r[11],o=Ee(n,r);oo(e,ao(e,o),t,function(t,e){return Se(t)?t.nextSibling(e):e.nextSibling}(e,o))}else lo(r[1],r,t,n);r[n.index]=o=Nr(s,r,t,n),Lr(r,o)}return new wo(o,n,r)}(t,e,Le(),Ue())},js={};class Ds extends is{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=ue(t);return new Hs(e,this.ngModule)}}function Ns(t){const e=[];for(let n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}const Us=new At("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>bn});class Hs extends os{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(or).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return Ns(this.componentDef.inputs)}get outputs(){return Ns(this.componentDef.outputs)}create(t,e,n,r){const o=(r=r||this.ngModule)?function(t,e){return{get:(n,r,o)=>{const s=t.get(n,js,o);return s!==js||r===js?s:e.get(n,r,o)}}}(t,r.injector):t,s=o.get(cs,Pe),i=o.get(ps,null),a=s.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?function(t,e,n){if(Se(t))return t.selectRootElement(e,n===Xt.ShadowDom);let r="string"==typeof e?t.querySelector(e):e;return r.textContent="",r}(a,n,this.componentDef.encapsulation):dr(l,s.createRenderer(null,this.componentDef),function(t){const e=t.toLowerCase();return"svg"===e?"http://www.w3.org/2000/svg":"math"===e?"http://www.w3.org/1998/MathML/":null}(l)),u=this.componentDef.onPush?576:528,h={components:[],scheduler:bn,clean:Br,playerHandler:null,flags:0},d=Cr(0,-1,null,1,0,null,null,null,null,null),p=pr(null,d,h,u,null,null,s,a,i,o);let f,g;Qe(p,null);try{const t=function(t,e,n,r,o,s){const i=n[1];n[20]=t;const a=fr(i,null,0,3,null,null),l=a.mergedAttrs=e.hostAttrs;null!==l&&(Lo(a,l,!0),null!==t&&(hn(o,t,l),null!==a.classes&&go(o,t,a.classes),null!==a.styles&&fo(o,t,a.styles)));const c=r.createRenderer(t,e),u=pr(n,br(e),null,e.onPush?64:16,n[20],a,r,c,void 0);return i.firstCreatePass&&(Vn(Mn(a,n),i,e.type),Tr(i,a),Rr(a,n.length,1)),Lr(n,u),n[20]=u}(c,this.componentDef,p,s,a);if(c)if(n)hn(a,c,["ng-version",gs.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let r=1,o=2;for(;r<t.length;){let s=t[r];if("string"==typeof s)2===o?""!==s&&e.push(s,t[++r]):8===o&&n.push(s);else{if(!tr(o))break;o=s}r++}return{attrs:e,classes:n}}(this.componentDef.selectors[0]);t&&hn(a,c,t),e&&e.length>0&&go(a,c,e.join(" "))}if(g=ke(d,0),void 0!==e){const t=g.projection=[];for(let n=0;n<this.ngContentSelectors.length;n++){const r=e[n];t.push(null!=r?Array.from(r):null)}}f=function(t,e,n,r,o){const s=n[1],i=function(t,e,n){const r=Le();t.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),kr(t,r,1),Ar(t,e,n));const o=jn(e,t,e.length-1,r);Gn(o,e);const s=Ee(r,e);return s&&Gn(s,e),o}(s,n,e);r.components.push(i),t[8]=i,o&&o.forEach(t=>t(i,e)),e.contentQueries&&e.contentQueries(1,i,n.length-1);const a=Le();if(s.firstCreatePass&&(null!==e.hostBindings||null!==e.hostAttrs)){nn(a.index-20);const t=n[1];Pr(t,e),Mr(t,n,e.hostVars),Er(e,i)}return i}(t,this.componentDef,p,h,[rs]),gr(d,p,null)}finally{tn()}const m=new Ls(this.componentType,f,bo(as,g,p),p,g);return d.node.child=g,m}}class Ls extends class{}{constructor(t,e,n,r,o){super(),this.location=n,this._rootLView=r,this._tNode=o,this.destroyCbs=[],this.instance=e,this.hostView=this.changeDetectorRef=new _o(r),function(t,e,n,r){let o=t.node;null==o&&(t.node=o=xr(0,null,2,-1,null,null)),r[6]=o}(r[1],0,0,r),this.componentType=t}get injector(){return new Un(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 Fs=void 0;var $s=["en",[["a","p"],["AM","PM"],Fs],[["AM","PM"],Fs,Fs],[["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"]],Fs,[["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"]],Fs,[["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}",Fs,"{1} 'at' {0}",Fs],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){let e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];let zs={};function qs(t){return t in zs||(zs[t]=St.ng&&St.ng.common&&St.ng.common.locales&&St.ng.common.locales[t]),zs[t]}var Bs=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}({});let Gs="en-US";function Zs(t){var e,n;n="Expected localeId to be defined",null==(e=t)&&function(t,e,n,r){throw new Error("ASSERTION ERROR: "+t+` [Expected=> null != ${e} <=Actual]`)}(n,e),"string"==typeof t&&(Gs=t.toLowerCase().replace(/_/g,"-"))}const Ws=new Map;class Qs extends Zt{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Ds(this);const n=de(t),r=t[Tt]||null;r&&Zs(r),this._bootstrapComponents=xn(n.bootstrap),this._r3Injector=Vo(t,e,[{provide:Zt,useValue:this},{provide:is,useValue:this.componentFactoryResolver}],mt(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=Uo.THROW_IF_NOT_FOUND,n=ot.Default){return t===Uo||t===Zt||t===It?this:this._r3Injector.get(t,e,n)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Ys extends Wt{constructor(t){super(),this.moduleType=t,null!==de(t)&&function t(e){if(null!==e.\u0275mod.id){const t=e.\u0275mod.id;(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${mt(e)} vs ${mt(e.name)}`)})(t,Ws.get(t),e),Ws.set(t,e)}let n=e.\u0275mod.imports;n instanceof Function&&(n=n()),n&&n.forEach(e=>t(e))}(t)}create(t){return new Qs(this.moduleType,t)}}const Ks=class extends x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){let r,o=t=>null,s=()=>null;t&&"object"==typeof t?(r=this.__isAsync?e=>{setTimeout(()=>t.next(e))}:e=>{t.next(e)},t.error&&(o=this.__isAsync?e=>{setTimeout(()=>t.error(e))}:e=>{t.error(e)}),t.complete&&(s=this.__isAsync?()=>{setTimeout(()=>t.complete())}:()=>{t.complete()})):(r=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)},e&&(o=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)}),n&&(s=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const i=super.subscribe(r,o,s);return t instanceof h&&t.add(i),i}},Js=new At("Application Initializer");let Xs=(()=>{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]();Jo(e)&&t.push(e)}Promise.all(t).then(()=>{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(zt(Js,8))},t.\u0275prov=it({token:t,factory:t.\u0275fac}),t})();const ti=new At("AppId"),ei={provide:ti,useFactory:function(){return`${ni()}${ni()}${ni()}`},deps:[]};function ni(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const ri=new At("Platform Initializer"),oi=new At("Platform ID"),si=new At("appBootstrapListener");let ii=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=it({token:t,factory:t.\u0275fac}),t})();const ai=new At("LocaleId"),li=new At("DefaultCurrencyCode");class ci{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const ui=function(t){return new Ys(t)},hi=ui,di=function(t){return Promise.resolve(ui(t))},pi=function(t){const e=ui(t),n=xn(de(t).declarations).reduce((t,e)=>{const n=ue(e);return n&&t.push(new Hs(n)),t},[]);return new ci(e,n)},fi=pi,gi=function(t){return Promise.resolve(pi(t))};let mi=(()=>{class t{constructor(){this.compileModuleSync=hi,this.compileModuleAsync=di,this.compileModuleAndAllComponentsSync=fi,this.compileModuleAndAllComponentsAsync=gi}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=it({token:t,factory:t.\u0275fac}),t})();const _i=(()=>Promise.resolve(0))();function vi(t){"undefined"==typeof Zone?_i.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class yi{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ks(!1),this.onMicrotaskEmpty=new Ks(!1),this.onStable=new Ks(!1),this.onError=new Ks(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=e,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){let t=St.requestAnimationFrame,e=St.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=!!t.shouldCoalesceEventChangeDetection&&t.nativeRequestAnimationFrame&&(()=>{!function(t){-1===t.lastRequestAnimationFrameId&&(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(St,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,xi(t),Ci(t)},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),xi(t))}(t)});t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:e},onInvokeTask:(n,r,o,s,i,a)=>{try{return Oi(t),n.invokeTask(o,s,i,a)}finally{e&&"eventTask"===s.type&&e(),Si(t)}},onInvoke:(e,n,r,o,s,i,a)=>{try{return Oi(t),e.invoke(r,o,s,i,a)}finally{Si(t)}},onHasTask:(e,n,r,o)=>{e.hasTask(r,o),n===r&&("microTask"==o.change?(t._hasPendingMicrotasks=o.microTask,xi(t),Ci(t)):"macroTask"==o.change&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(e,n,r,o)=>(e.handleError(r,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}(this)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!yi.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(yi.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 o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,t,bi,wi,wi);try{return o.runTask(s,e,n)}finally{o.cancelTask(s)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}function wi(){}const bi={};function Ci(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 xi(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||t.shouldCoalesceEventChangeDetection&&-1!==t.lastRequestAnimationFrameId)}function Oi(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Si(t){t._nesting--,Ci(t)}class Pi{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ks,this.onMicrotaskEmpty=new Ks,this.onStable=new Ks,this.onError=new Ks}run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,r){return t.apply(e,n)}}let Mi=(()=>{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:()=>{yi.assertNotInAngularZone(),vi(()=>{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())vi(()=>{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.\u0275fac=function(e){return new(e||t)(zt(yi))},t.\u0275prov=it({token:t,factory:t.\u0275fac}),t})(),Ei=(()=>{class t{constructor(){this._applications=new Map,Vi.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 Vi.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=it({token:t,factory:t.\u0275fac}),t})();class ki{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}let Ti,Vi=new ki;const Ri=new At("AllowMultipleToken");class Ai{constructor(t,e){this.name=t,this.token=e}}function Ii(t,e,n=[]){const r="Platform: "+e,o=new At(r);return(e=[])=>{let s=ji();if(!s||s.injector.get(Ri,!1))if(t)t(n.concat(e).concat({provide:o,useValue:!0}));else{const t=n.concat(e).concat({provide:o,useValue:!0},{provide:So,useValue:"platform"});!function(t){if(Ti&&!Ti.destroyed&&!Ti.injector.get(Ri,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Ti=t.get(Di);const e=t.get(ri,null);e&&e.forEach(t=>t())}(Uo.create({providers:t,name:r}))}return function(t){const e=ji();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}(o)}}function ji(){return Ti&&!Ti.destroyed?Ti:null}let Di=(()=>{class t{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const n=function(t,e){let n;return n="noop"===t?new Pi:("zone.js"===t?void 0:t)||new yi({enableLongStackTrace:Bn(),shouldCoalesceEventChangeDetection:e}),n}(e?e.ngZone:void 0,e&&e.ngZoneEventCoalescing||!1),r=[{provide:yi,useValue:n}];return n.run(()=>{const e=Uo.create({providers:r,parent:this.injector,name:t.moduleType.name}),o=t.create(e),s=o.injector.get($n,null);if(!s)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return o.onDestroy(()=>Hi(this._modules,o)),n.runOutsideAngular(()=>n.onError.subscribe({next:t=>{s.handleError(t)}})),function(t,e,n){try{const r=n();return Jo(r)?r.catch(n=>{throw e.runOutsideAngular(()=>t.handleError(n)),n}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}(s,n,()=>{const t=o.injector.get(Xs);return t.runInitializers(),t.donePromise.then(()=>(Zs(o.injector.get(ai,"en-US")||"en-US"),this._moduleDoBootstrap(o),o))})})}bootstrapModule(t,e=[]){const n=Ni({},e);return function(t,e,n){const r=new Ys(n);return Promise.resolve(r)}(0,0,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(Ui);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${mt(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.\u0275fac=function(e){return new(e||t)(zt(Uo))},t.\u0275prov=it({token:t,factory:t.\u0275fac}),t})();function Ni(t,e){return Array.isArray(e)?e.reduce(Ni,t):Object.assign(Object.assign({},t),e)}let Ui=(()=>{class t{constructor(t,e,n,r,o,s){this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=o,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Bn(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const i=new v(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),a=new v(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{yi.assertNotInAngularZone(),vi(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{yi.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 S(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 v?t[0]:z(e)(q(t,n))}(i,a.pipe(t=>{return B()((e=K,function(t){let n;n="function"==typeof e?e:function(){return e};const r=Object.create(t,Q);return r.source=t,r.subjectFactory=n,r})(t));var e}))}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 os?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const r=n.isBoundToModule?void 0:this._injector.get(Zt),o=n.create(Uo.NULL,[],e||n.selector,r);o.onDestroy(()=>{this._unloadComponent(o)});const s=o.injector.get(Mi,null);return s&&o.injector.get(Ei).registerApplication(o.location.nativeElement,s),this._loadComponent(o),Bn()&&this._console.log("Angular is running in development mode. Call enableProdMode() to enable production mode."),o}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges();if(this._enforceNoNewChanges)for(let t of this._views)t.checkNoChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;Hi(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(si,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}_unloadComponent(t){this.detachView(t.hostView),Hi(this.components,t)}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy())}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)(zt(yi),zt(ii),zt(Uo),zt($n),zt(is),zt(Xs))},t.\u0275prov=it({token:t,factory:t.\u0275fac}),t})();function Hi(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class Li{}class Fi{}const $i={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let zi=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||$i}load(t){return this.loadAndCompile(t)}loadAndCompile(t){let[e,r]=t.split("#");return void 0===r&&(r="default"),n("zn8P")(e).then(t=>t[r]).then(t=>qi(t,e,r)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,r]=t.split("#"),o="NgFactory";return void 0===r&&(r="default",o=""),n("zn8P")(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[r+o]).then(t=>qi(t,e,r))}}return t.\u0275fac=function(e){return new(e||t)(zt(mi),zt(Fi,8))},t.\u0275prov=it({token:t,factory:t.\u0275fac}),t})();function qi(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}const Bi=Ii(null,"core",[{provide:oi,useValue:"unknown"},{provide:Di,deps:[Uo]},{provide:Ei,deps:[]},{provide:ii,deps:[]}]),Gi=[{provide:Ui,useClass:Ui,deps:[yi,ii,Uo,$n,is,Xs]},{provide:Us,deps:[yi],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:Xs,useClass:Xs,deps:[[new et,Js]]},{provide:mi,useClass:mi,deps:[]},ei,{provide:Ps,useFactory:function(){return ks},deps:[]},{provide:Ms,useFactory:function(){return Ts},deps:[]},{provide:ai,useFactory:function(t){return Zs(t=t||"undefined"!=typeof $localize&&$localize.locale||"en-US"),t},deps:[[new tt(ai),new et,new rt]]},{provide:li,useValue:"USD"}];let Zi=(()=>{class t{constructor(t){}}return t.\u0275mod=ae({type:t}),t.\u0275inj=at({factory:function(e){return new(e||t)(zt(Ui))},providers:Gi}),t})(),Wi=null;function Qi(){return Wi}const Yi=new At("DocumentToken");let Ki=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=it({factory:Ji,token:t,providedIn:"platform"}),t})();function Ji(){return zt(ta)}const Xi=new At("Location Initialized");let ta=(()=>{class t extends Ki{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=Qi().getLocation(),this._history=Qi().getHistory()}getBaseHrefFromDOM(){return Qi().getBaseHref(this._doc)}onPopState(t){Qi().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)}onHashChange(t){Qi().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){ea()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){ea()?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.\u0275fac=function(e){return new(e||t)(zt(Yi))},t.\u0275prov=it({factory:na,token:t,providedIn:"platform"}),t})();function ea(){return!!window.history.pushState}function na(){return new ta(zt(Yi))}function ra(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 oa(t){const e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)}function sa(t){return t&&"?"!==t[0]?"?"+t:t}let ia=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=it({factory:aa,token:t,providedIn:"root"}),t})();function aa(t){const e=zt(Yi).location;return new ca(zt(Ki),e&&e.origin||"")}const la=new At("appBaseHref");let ca=(()=>{class t extends ia{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 ra(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+sa(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,r){const o=this.prepareExternalUrl(n+sa(r));this._platformLocation.pushState(t,e,o)}replaceState(t,e,n,r){const o=this.prepareExternalUrl(n+sa(r));this._platformLocation.replaceState(t,e,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)(zt(Ki),zt(la,8))},t.\u0275prov=it({token:t,factory:t.\u0275fac}),t})(),ua=(()=>{class t extends ia{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=ra(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,n,r){let o=this.prepareExternalUrl(n+sa(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(t,e,o)}replaceState(t,e,n,r){let o=this.prepareExternalUrl(n+sa(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)(zt(Ki),zt(la,8))},t.\u0275prov=it({token:t,factory:t.\u0275fac}),t})(),ha=(()=>{class t{constructor(t,e){this._subject=new Ks,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=oa(pa(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+sa(e))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,pa(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+sa(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+sa(e)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(t){this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=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.\u0275fac=function(e){return new(e||t)(zt(ia),zt(Ki))},t.normalizeQueryParams=sa,t.joinWithSlash=ra,t.stripTrailingSlash=oa,t.\u0275prov=it({factory:da,token:t,providedIn:"root"}),t})();function da(){return new ha(zt(ia),zt(Ki))}function pa(t){return t.replace(/\/index.html$/,"")}var fa=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({});class ga{}let ma=(()=>{class t extends ga{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(function(t){return function(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=qs(e);if(n)return n;const r=e.split("-")[0];if(n=qs(r),n)return n;if("en"===r)return $s;throw new Error(`Missing locale data for the locale "${t}".`)}(t)[Bs.PluralCase]}(e||this.locale)(t)){case fa.Zero:return"zero";case fa.One:return"one";case fa.Two:return"two";case fa.Few:return"few";case fa.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(zt(ai))},t.\u0275prov=it({token:t,factory:t.\u0275fac}),t})(),_a=(()=>{class t{constructor(t,e,n,r){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=r,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(zo(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){const t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}_applyKeyValueChanges(t){t.forEachAddedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachChangedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachRemovedItem(t=>{t.previousValue&&this._toggleClass(t.key,!1)})}_applyIterableChanges(t){t.forEachAddedItem(t=>{if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+mt(t.item));this._toggleClass(t.item,!0)}),t.forEachRemovedItem(t=>this._toggleClass(t.item,!1))}_applyClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!0)):Object.keys(t).forEach(e=>this._toggleClass(e,!!t[e])))}_removeClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!1)):Object.keys(t).forEach(t=>this._toggleClass(t,!1)))}_toggleClass(t,e){(t=t.trim())&&t.split(/\s+/g).forEach(t=>{e?this._renderer.addClass(this._ngEl.nativeElement,t):this._renderer.removeClass(this._ngEl.nativeElement,t)})}}return t.\u0275fac=function(e){return new(e||t)(Go(Ps),Go(Ms),Go(as),Go(hs))},t.\u0275dir=ce({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t})(),va=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new ya,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){wa("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){wa("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)))}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(Go(As),Go(Vs))},t.\u0275dir=ce({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class ya{constructor(){this.$implicit=null,this.ngIf=null}}function wa(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${mt(e)}'.`)}let ba=(()=>{class t{}return t.\u0275mod=ae({type:t}),t.\u0275inj=at({factory:function(e){return new(e||t)},providers:[{provide:ga,useClass:ma}]}),t})(),Ca=(()=>{class t{}return t.\u0275prov=it({token:t,providedIn:"root",factory:()=>new xa(zt(Yi),window,zt($n))}),t})();class xa{constructor(t,e,n){this.document=t,this.window=e,this.errorHandler=n,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.scrollX,this.window.scrollY]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(this.supportsScrolling()){const e=this.document.getElementById(t)||this.document.getElementsByName(t)[0];e&&this.scrollToElement(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,o=this.offset();this.window.scrollTo(n-o[0],r-o[1])}supportScrollRestoration(){try{if(!this.window||!this.window.scrollTo)return!1;const t=Oa(this.window.history)||Oa(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(t){return!1}}supportsScrolling(){try{return!!this.window.scrollTo}catch(t){return!1}}}function Oa(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class Sa extends class extends class{}{constructor(){super()}supportsDOMEvents(){return!0}}{static makeCurrent(){var t;t=new Sa,Wi||(Wi=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=Ma||(Ma=document.querySelector("base"),Ma)?Ma.getAttribute("href"):null;return null==e?null:(n=e,Pa||(Pa=document.createElement("a")),Pa.setAttribute("href",n),"/"===Pa.pathname.charAt(0)?Pa.pathname:"/"+Pa.pathname);var n}resetBaseElement(){Ma=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,o]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(r.trim()===e)return decodeURIComponent(o)}return null}(document.cookie,t)}}let Pa,Ma=null;const Ea=new At("TRANSITION_ID"),ka=[{provide:Js,useFactory:function(t,e,n){return()=>{n.get(Xs).donePromise.then(()=>{const n=Qi();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>n.remove(t))})}},deps:[Ea,Yi,Uo],multi:!0}];class Ta{static init(){var t;t=new Ta,Vi=t}addToWindow(t){St.getAngularTestability=(e,n=!0)=>{const r=t.findTestabilityInTree(e,n);if(null==r)throw new Error("Could not find testability for element.");return r},St.getAllAngularTestabilities=()=>t.getAllTestabilities(),St.getAllAngularRootElements=()=>t.getAllRootElements(),St.frameworkStabilizers||(St.frameworkStabilizers=[]),St.frameworkStabilizers.push(t=>{const e=St.getAllAngularTestabilities();let n=e.length,r=!1;const o=function(e){r=r||e,n--,0==n&&t(r)};e.forEach((function(t){t.whenStable(o)}))})}findTestabilityInTree(t,e,n){if(null==e)return null;const r=t.getTestability(e);return null!=r?r:n?Qi().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}const Va=new At("EventManagerPlugins");let Ra=(()=>{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.\u0275fac=function(e){return new(e||t)(zt(Va),zt(yi))},t.\u0275prov=it({token:t,factory:t.\u0275fac}),t})();class Aa{constructor(t){this._doc=t}addGlobalEventListener(t,e,n){const r=Qi().getGlobalEventTarget(this._doc,t);if(!r)throw new Error(`Unsupported event target ${r} for event ${e}`);return this.addEventListener(r,e,n)}}let Ia=(()=>{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.\u0275fac=function(e){return new(e||t)},t.\u0275prov=it({token:t,factory:t.\u0275fac}),t})(),ja=(()=>{class t extends Ia{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=>Qi().remove(t))}}return t.\u0275fac=function(e){return new(e||t)(zt(Yi))},t.\u0275prov=it({token:t,factory:t.\u0275fac}),t})();const Da={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/"},Na=/%COMP%/g;function Ua(t,e,n){for(let r=0;r<e.length;r++){let o=e[r];Array.isArray(o)?Ua(t,o,n):(o=o.replace(Na,t),n.push(o))}return n}function Ha(t){return e=>{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let La=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new Fa(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case Xt.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new $a(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case Xt.Native:case Xt.ShadowDom:return new za(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=Ua(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)(zt(Ra),zt(ja),zt(ti))},t.\u0275prov=it({token:t,factory:t.\u0275fac}),t})();class Fa{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(Da[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 o=Da[r];o?t.setAttributeNS(o,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const r=Da[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&us.DashCase?t.style.setProperty(e,n,r&us.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&us.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,Ha(n)):this.eventManager.addEventListener(t,e,Ha(n))}}class $a extends Fa{constructor(t,e,n,r){super(t),this.component=n;const o=Ua(r+"-"+n.id,n.styles,[]);e.addStyles(o),this.contentAttr="_ngcontent-%COMP%".replace(Na,r+"-"+n.id),this.hostAttr=function(t){return"_nghost-%COMP%".replace(Na,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 za extends Fa{constructor(t,e,n,r){super(t),this.sharedStylesHost=e,this.hostEl=n,this.component=r,this.shadowRoot=r.encapsulation===Xt.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const o=Ua(r.id,r.styles,[]);for(let s=0;s<o.length;s++){const t=document.createElement("style");t.textContent=o[s],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)))}}let qa=(()=>{class t extends Aa{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,n){return t.addEventListener(e,n,!1),()=>this.removeEventListener(t,e,n)}removeEventListener(t,e,n){return t.removeEventListener(e,n)}}return t.\u0275fac=function(e){return new(e||t)(zt(Yi))},t.\u0275prov=it({token:t,factory:t.\u0275fac}),t})();const Ba=["alt","control","meta","shift"],Ga={"\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"},Za={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"},Wa={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let Qa=(()=>{class t extends Aa{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,r){const o=t.parseEventName(n),s=t.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Qi().onAndCancel(e,o.domEventName,s))}static parseEventName(e){const n=e.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const o=t._normalizeKey(n.pop());let s="";if(Ba.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),s+=t+".")}),s+=o,0!=n.length||0===o.length)return null;const i={};return i.domEventName=r,i.fullKey=s,i}static getEventFullKey(t){let e="",n=function(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&Za.hasOwnProperty(e)&&(e=Za[e]))}return Ga[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),Ba.forEach(r=>{r!=n&&(0,Wa[r])(t)&&(e+=r+".")}),e+=n,e}static eventCallback(e,n,r){return o=>{t.getEventFullKey(o)===e&&r.runGuarded(()=>n(o))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)(zt(Yi))},t.\u0275prov=it({token:t,factory:t.\u0275fac}),t})();const Ya=Ii(Bi,"browser",[{provide:oi,useValue:"browser"},{provide:ri,useValue:function(){Sa.makeCurrent(),Ta.init()},multi:!0},{provide:Yi,useFactory:function(){return function(t){Oe=t}(document),document},deps:[]}]),Ka=[[],{provide:So,useValue:"root"},{provide:$n,useFactory:function(){return new $n},deps:[]},{provide:Va,useClass:qa,multi:!0,deps:[Yi,yi,oi]},{provide:Va,useClass:Qa,multi:!0,deps:[Yi]},[],{provide:La,useClass:La,deps:[Ra,ja,ti]},{provide:cs,useExisting:La},{provide:Ia,useExisting:ja},{provide:ja,useClass:ja,deps:[Yi]},{provide:Mi,useClass:Mi,deps:[yi]},{provide:Ra,useClass:Ra,deps:[Va,yi]},[]];let Ja=(()=>{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:ti,useValue:e.appId},{provide:Ea,useExisting:ti},ka]}}}return t.\u0275mod=ae({type:t}),t.\u0275inj=at({factory:function(e){return new(e||t)(zt(t,12))},providers:Ka,imports:[ba,Zi]}),t})();function Xa(...t){let e=t[t.length-1];return S(e)?(t.pop(),U(t,e)):q(t)}"undefined"!=typeof window&&window;class tl extends x{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 w;return this._value}next(t){super.next(this._value=t)}}const el=(()=>{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})(),nl={};class rl{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new ol(t,this.resultSelector))}}class ol extends I{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(nl),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(A(this,e,e,n))}}}notifyComplete(t){0==(this.active-=1)&&this.destination.complete()}notifyNext(t,e,n,r,o){const s=this.values,i=this.toRespond?s[n]===nl?--this.toRespond:this.toRespond:0;s[n]=e,0===i&&(this.resultSelector?this._tryResultSelector(s):this.destination.next(s.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 sl=new v(t=>t.complete());function il(t){return t?function(t){return new v(e=>t.schedule(()=>e.complete()))}(t):sl}function al(t){return new v(e=>{let n;try{n=t()}catch(r){return void e.error(r)}return(n?H(n):il()).subscribe(e)})}function ll(){return z(1)}function cl(t,e){return function(n){return n.lift(new ul(t,e))}}class ul{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new hl(t,this.predicate,this.thisArg))}}class hl 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 dl=(()=>{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 pl(t){return function(e){return 0===t?il():e.lift(new fl(t))}}class fl{constructor(t){if(this.total=t,this.total<0)throw new dl}call(t,e){return e.subscribe(new gl(t,this.total))}}class gl 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 o=0;o<n;o++){const o=e++%n;t.next(r[o])}}t.complete()}}function ml(t=yl){return e=>e.lift(new _l(t))}class _l{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new vl(t,this.errorFactory))}}class vl 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 yl(){return new el}function wl(t=null){return e=>e.lift(new bl(t))}class bl{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new Cl(t,this.defaultValue))}}class Cl 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 xl(t){return function(e){const n=new Ol(t),r=e.lift(n);return n.caught=r}}class Ol{constructor(t){this.selector=t}call(t,e){return e.subscribe(new Sl(t,this.selector,this.caught))}}class Sl extends I{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 P(this,void 0,void 0);this.add(r);const o=A(this,n,void 0,void 0,r);o!==r&&this.add(o)}}}function Pl(t){return e=>0===t?il():e.lift(new Ml(t))}class Ml{constructor(t){if(this.total=t,this.total<0)throw new dl}call(t,e){return e.subscribe(new El(t,this.total))}}class El 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 kl(t,e){const n=arguments.length>=2;return r=>r.pipe(t?cl((e,n)=>t(e,n,r)):_,Pl(1),n?wl(e):ml(()=>new el))}function Tl(){}function Vl(t,e,n){return function(r){return r.lift(new Rl(t,e,n))}}class Rl{constructor(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}call(t,e){return e.subscribe(new Al(t,this.nextOrObserver,this.error,this.complete))}}class Al extends f{constructor(t,e,n,o){super(t),this._tapNext=Tl,this._tapError=Tl,this._tapComplete=Tl,this._tapError=n||Tl,this._tapComplete=o||Tl,r(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||Tl,this._tapError=e.error||Tl,this._tapComplete=e.complete||Tl)}_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 Il{constructor(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}call(t,e){return e.subscribe(new jl(t,this.predicate,this.thisArg,this.source))}}class jl 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 Dl(t,e){return"function"==typeof e?n=>n.pipe(Dl((n,r)=>H(t(n,r)).pipe(j((t,o)=>e(n,t,r,o))))):e=>e.lift(new Nl(t))}class Nl{constructor(t){this.project=t}call(t,e){return e.subscribe(new Ul(t,this.project))}}class Ul extends I{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 o=new P(this,e,n),s=this.destination;s.add(o),this.innerSubscription=A(this,t,void 0,void 0,o),this.innerSubscription!==o&&s.add(this.innerSubscription)}_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,o){this.destination.next(e)}}function Hl(...t){return ll()(Xa(...t))}class Ll{constructor(t,e,n=!1){this.accumulator=t,this.seed=e,this.hasSeed=n}call(t,e){return e.subscribe(new Fl(t,this.accumulator,this.seed,this.hasSeed))}}class Fl 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 $l(t,e){return L(t,e,1)}class zl{constructor(t){this.callback=t}call(t,e){return e.subscribe(new ql(t,this.callback))}}class ql extends f{constructor(t,e){super(t),this.add(new h(e))}}class Bl{constructor(t,e){this.id=t,this.url=e}}class Gl extends Bl{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 Zl extends Bl{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Wl extends Bl{constructor(t,e,n){super(t,e),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Ql extends Bl{constructor(t,e,n){super(t,e),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Yl extends Bl{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 Kl extends Bl{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 Jl extends Bl{constructor(t,e,n,r,o){super(t,e),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Xl extends Bl{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 tc extends Bl{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 ec{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class nc{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class rc{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class oc{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class sc{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ic{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ac{constructor(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class lc{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,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 cc(t){return new lc(t)}function uc(t){const e=Error("NavigationCancelingError: "+t);return e.ngNavigationCancelingError=!0,e}function hc(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 o={};for(let s=0;s<r.length;s++){const e=r[s],n=t[s];if(e.startsWith(":"))o[e.substring(1)]=n;else if(e!==n.path)return null}return{consumed:t.slice(0,r.length),posParams:o}}function dc(t,e){const n=Object.keys(t),r=Object.keys(e);if(!n||!r||n.length!=r.length)return!1;let o;for(let s=0;s<n.length;s++)if(o=n[s],!pc(t[o],e[o]))return!1;return!0}function pc(t,e){return Array.isArray(t)&&Array.isArray(e)?t.length==e.length&&t.every(t=>e.indexOf(t)>-1):t===e}function fc(t){return Array.prototype.concat.apply([],t)}function gc(t){return t.length>0?t[t.length-1]:null}function mc(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function _c(t){return(e=t)&&"function"==typeof e.subscribe?t:Jo(t)?H(Promise.resolve(t)):Xa(t);var e}function vc(t,e,n){return n?function(t,e){return dc(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!Cc(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=>pc(t[n],e[n]))}(t.queryParams,e.queryParams)&&function t(e,n){return function e(n,r,o){if(n.segments.length>o.length)return!!Cc(n.segments.slice(0,o.length),o)&&!r.hasChildren();if(n.segments.length===o.length){if(!Cc(n.segments,o))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=o.slice(0,n.segments.length),s=o.slice(n.segments.length);return!!Cc(n.segments,t)&&!!n.children.primary&&e(n.children.primary,r,s)}}(e,n,n.segments)}(t.root,e.root)}class yc{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=cc(this.queryParams)),this._queryParamMap}toString(){return Pc.serialize(this)}}class wc{constructor(t,e){this.segments=t,this.children=e,this.parent=null,mc(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Mc(this)}}class bc{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=cc(this.parameters)),this._parameterMap}toString(){return Ac(this)}}function Cc(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}function xc(t,e){let n=[];return mc(t.children,(t,r)=>{"primary"===r&&(n=n.concat(e(t,r)))}),mc(t.children,(t,r)=>{"primary"!==r&&(n=n.concat(e(t,r)))}),n}class Oc{}class Sc{parse(t){const e=new Uc(t);return new yc(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){return`${"/"+function t(e,n){if(!e.hasChildren())return Mc(e);if(n){const n=e.children.primary?t(e.children.primary,!1):"",r=[];return mc(e.children,(e,n)=>{"primary"!==n&&r.push(`${n}:${t(e,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=xc(e,(n,r)=>"primary"===r?[t(e.children.primary,!1)]:[`${r}:${t(n,!1)}`]);return`${Mc(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=>`${kc(e)}=${kc(t)}`).join("&"):`${kc(e)}=${kc(n)}`});return e.length?"?"+e.join("&"):""}(t.queryParams)}${"string"==typeof t.fragment?"#"+encodeURI(t.fragment):""}`}}const Pc=new Sc;function Mc(t){return t.segments.map(t=>Ac(t)).join("/")}function Ec(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function kc(t){return Ec(t).replace(/%3B/gi,";")}function Tc(t){return Ec(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Vc(t){return decodeURIComponent(t)}function Rc(t){return Vc(t.replace(/\+/g,"%20"))}function Ac(t){return`${Tc(t.path)}${e=t.parameters,Object.keys(e).map(t=>`;${Tc(t)}=${Tc(e[t])}`).join("")}`;var e}const Ic=/^[^\/()?;=#]+/;function jc(t){const e=t.match(Ic);return e?e[0]:""}const Dc=/^[^=?&#]+/,Nc=/^[^?&#]+/;class Uc{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new wc([],{}):new wc([],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.primary=new wc(t,e)),n}parseSegment(){const t=jc(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new bc(Vc(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=jc(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=jc(this.remaining);t&&(n=t,this.capture(n))}t[Vc(e)]=Vc(n)}parseQueryParam(t){const e=function(t){const e=t.match(Dc);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(Nc);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const r=Rc(e),o=Rc(n);if(t.hasOwnProperty(r)){let e=t[r];Array.isArray(e)||(e=[e],t[r]=e),e.push(o)}else t[r]=o}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=jc(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error(`Cannot parse url '${this.url}'`);let o=void 0;n.indexOf(":")>-1?(o=n.substr(0,n.indexOf(":")),this.capture(o),this.capture(":")):t&&(o="primary");const s=this.parseChildren();e[o]=1===Object.keys(s).length?s.primary:new wc([],s),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 Hc{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=Lc(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=Lc(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=Fc(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return Fc(t,this._root).map(t=>t.value)}}function Lc(t,e){if(t===e.value)return e;for(const n of e.children){const e=Lc(t,n);if(e)return e}return null}function Fc(t,e){if(t===e.value)return[e];for(const n of e.children){const r=Fc(t,n);if(r.length)return r.unshift(e),r}return[]}class $c{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function zc(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class qc extends Hc{constructor(t,e){super(t),this.snapshot=e,Yc(this,t)}toString(){return this.snapshot.toString()}}function Bc(t,e){const n=function(t,e){const n=new Wc([],{},{},"",{},"primary",e,null,t.root,-1,{});return new Qc("",new $c(n,[]))}(t,e),r=new tl([new bc("",{})]),o=new tl({}),s=new tl({}),i=new tl({}),a=new tl(""),l=new Gc(r,o,i,a,s,"primary",e,n.root);return l.snapshot=n.root,new qc(new $c(l,[]),n)}class Gc{constructor(t,e,n,r,o,s,i,a){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=s,this.component=i,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(j(t=>cc(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(j(t=>cc(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Zc(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(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(r))}class Wc{constructor(t,e,n,r,o,s,i,a,l,c,u){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=s,this.component=i,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=cc(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=cc(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Qc extends Hc{constructor(t,e){super(e),this.url=t,Yc(this,e)}toString(){return Kc(this._root)}}function Yc(t,e){e.value._routerState=t,e.children.forEach(e=>Yc(t,e))}function Kc(t){const e=t.children.length>0?` { ${t.children.map(Kc).join(", ")} } `:"";return`${t.value}${e}`}function Jc(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,dc(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),dc(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(!dc(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.url.next(n.url),dc(e.data,n.data)||t.data.next(n.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function Xc(t,e){var n,r;return dc(t.params,e.params)&&Cc(n=t.url,r=e.url)&&n.every((t,e)=>dc(t.parameters,r[e].parameters))&&!(!t.parent!=!e.parent)&&(!t.parent||Xc(t.parent,e.parent))}function tu(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function eu(t,e,n,r,o){let s={};return r&&mc(r,(t,e)=>{s[e]=Array.isArray(t)?t.map(t=>""+t):""+t}),new yc(n.root===t?e:function t(e,n,r){const o={};return mc(e.children,(e,s)=>{o[s]=e===n?r:t(e,n,r)}),new wc(e.segments,o)}(n.root,t,e),s,o)}class nu{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&tu(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!==gc(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class ru{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function ou(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets.primary:""+t}function su(t,e,n){if(t||(t=new wc([],{})),0===t.segments.length&&t.hasChildren())return iu(t,e,n);const r=function(t,e,n){let r=0,o=e;const s={match:!1,pathIndex:0,commandIndex:0};for(;o<t.segments.length;){if(r>=n.length)return s;const e=t.segments[o],i=ou(n[r]),a=r<n.length-1?n[r+1]:null;if(o>0&&void 0===i)break;if(i&&a&&"object"==typeof a&&void 0===a.outlets){if(!uu(i,a,e))return s;r+=2}else{if(!uu(i,{},e))return s;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}(t,e,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){const e=new wc(t.segments.slice(0,r.pathIndex),{});return e.children.primary=new wc(t.segments.slice(r.pathIndex),t.children),iu(e,0,o)}return r.match&&0===o.length?new wc(t.segments,{}):r.match&&!t.hasChildren()?au(t,e,n):r.match?iu(t,0,o):au(t,e,n)}function iu(t,e,n){if(0===n.length)return new wc(t.segments,{});{const r=function(t){return"object"==typeof t[0]&&null!==t[0]&&t[0].outlets?t[0].outlets:{primary:t}}(n),o={};return mc(r,(n,r)=>{null!==n&&(o[r]=su(t.children[r],e,n))}),mc(t.children,(t,e)=>{void 0===r[e]&&(o[e]=t)}),new wc(t.segments,o)}}function au(t,e,n){const r=t.segments.slice(0,e);let o=0;for(;o<n.length;){if("object"==typeof n[o]&&null!==n[o]&&void 0!==n[o].outlets){const t=lu(n[o].outlets);return new wc(r,t)}if(0===o&&tu(n[0])){r.push(new bc(t.segments[e].path,n[0])),o++;continue}const s=ou(n[o]),i=o<n.length-1?n[o+1]:null;s&&i&&tu(i)?(r.push(new bc(s,cu(i))),o+=2):(r.push(new bc(s,{})),o++)}return new wc(r,{})}function lu(t){const e={};return mc(t,(t,n)=>{null!==t&&(e[n]=au(new wc([],{}),0,t))}),e}function cu(t){const e={};return mc(t,(t,n)=>e[n]=""+t),e}function uu(t,e,n){return t==n.path&&dc(e,n.parameters)}class hu{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),Jc(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const r=zc(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,r[e],n),delete r[e]}),mc(r,(t,e)=>{this.deactivateRouteAndItsChildren(t,n)})}deactivateRoutes(t,e,n){const r=t.value,o=e?e.value:null;if(r===o)if(r.component){const o=n.getContext(r.outlet);o&&this.deactivateChildRoutes(t,e,o.children)}else this.deactivateChildRoutes(t,e,n);else o&&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=zc(t),o=t.value.component?n.children:e;mc(r,(t,e)=>this.deactivateRouteAndItsChildren(t,o)),n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}}activateChildRoutes(t,e,n){const r=zc(e);t.children.forEach(t=>{this.activateRoutes(t,r[t.value.outlet],n),this.forwardEvent(new ic(t.value.snapshot))}),t.children.length&&this.forwardEvent(new oc(t.value.snapshot))}activateRoutes(t,e,n){const r=t.value,o=e?e.value:null;if(Jc(r),r===o)if(r.component){const o=n.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,o.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),du(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),o=n?n.module.componentFactoryResolver:null;e.attachRef=null,e.route=r,e.resolver=o,e.outlet&&e.outlet.activateWith(r,o),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}function du(t){Jc(t.value),t.children.forEach(du)}class pu{constructor(t,e){this.routes=t,this.module=e}}function fu(t){return"function"==typeof t}function gu(t){return t instanceof yc}class mu{constructor(t){this.segmentGroup=t||null}}class _u{constructor(t){this.urlTree=t}}function vu(t){return new v(e=>e.error(new mu(t)))}function yu(t){return new v(e=>e.error(new _u(t)))}function wu(t){return new v(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class bu{constructor(t,e,n,r,o){this.configLoader=e,this.urlSerializer=n,this.urlTree=r,this.config=o,this.allowRedirects=!0,this.ngModule=t.get(Zt)}apply(){return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,"primary").pipe(j(t=>this.createUrlTree(t,this.urlTree.queryParams,this.urlTree.fragment))).pipe(xl(t=>{if(t instanceof _u)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof mu)throw this.noMatchError(t);throw t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,"primary").pipe(j(e=>this.createUrlTree(e,t.queryParams,t.fragment))).pipe(xl(t=>{if(t instanceof mu)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 wc([],{primary:t}):t;return new yc(r,e,n)}expandSegmentGroup(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(j(t=>new wc([],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 Xa({});const n=[],r=[],o={};return mc(t,(t,s)=>{const i=e(s,t).pipe(j(t=>o[s]=t));"primary"===s?n.push(i):r.push(i)}),Xa.apply(null,n.concat(r)).pipe(ll(),function(t,e){const n=arguments.length>=2;return r=>r.pipe(t?cl((e,n)=>t(e,n,r)):_,pl(1),n?wl(e):ml(()=>new el))}(),j(()=>o))}(n.children,(n,r)=>this.expandSegmentGroup(t,e,r,n))}expandSegment(t,e,n,r,o,s){return Xa(...n).pipe(j(i=>this.expandSegmentAgainstRoute(t,e,n,i,r,o,s).pipe(xl(t=>{if(t instanceof mu)return Xa(null);throw t}))),ll(),kl(t=>!!t),xl((t,n)=>{if(t instanceof el||"EmptyError"===t.name){if(this.noLeftoversInUrl(e,r,o))return Xa(new wc([],{}));throw new mu(e)}throw t}))}noLeftoversInUrl(t,e,n){return 0===e.length&&!t.children[n]}expandSegmentAgainstRoute(t,e,n,r,o,s,i){return Su(r)!==s?vu(e):void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,o):i&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,o,s):vu(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,r,o,s){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,s):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,o,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,r){const o=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?yu(o):this.lineralizeSegments(n,o).pipe(L(n=>{const o=new wc(n,{});return this.expandSegment(t,o,e,n,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,o,s){const{matched:i,consumedSegments:a,lastChild:l,positionalParamSegments:c}=Cu(e,r,o);if(!i)return vu(e);const u=this.applyRedirectCommands(a,r.redirectTo,c);return r.redirectTo.startsWith("/")?yu(u):this.lineralizeSegments(r,u).pipe(L(r=>this.expandSegment(t,e,n,r.concat(o.slice(l)),s,!1)))}matchSegmentAgainstRoute(t,e,n,r){if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(j(t=>(n._loadedConfig=t,new wc(r,{})))):Xa(new wc(r,{}));const{matched:o,consumedSegments:s,lastChild:i}=Cu(e,n,r);if(!o)return vu(e);const a=r.slice(i);return this.getChildConfig(t,n,r).pipe(L(t=>{const n=t.module,r=t.routes,{segmentGroup:o,slicedSegments:i}=function(t,e,n,r){return n.length>0&&function(t,e,n){return n.some(n=>Ou(t,e,n)&&"primary"!==Su(n))}(t,n,r)?{segmentGroup:xu(new wc(e,function(t,e){const n={};n.primary=e;for(const r of t)""===r.path&&"primary"!==Su(r)&&(n[Su(r)]=new wc([],{}));return n}(r,new wc(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return n.some(n=>Ou(t,e,n))}(t,n,r)?{segmentGroup:xu(new wc(t.segments,function(t,e,n,r){const o={};for(const s of n)Ou(t,e,s)&&!r[Su(s)]&&(o[Su(s)]=new wc([],{}));return Object.assign(Object.assign({},r),o)}(t,n,r,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,s,a,r);return 0===i.length&&o.hasChildren()?this.expandChildren(n,r,o).pipe(j(t=>new wc(s,t))):0===r.length&&0===i.length?Xa(new wc(s,{})):this.expandSegment(n,o,r,i,"primary",!0).pipe(j(t=>new wc(s.concat(t.segments),t.children)))}))}getChildConfig(t,e,n){return e.children?Xa(new pu(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Xa(e._loadedConfig):this.runCanLoadGuards(t.injector,e,n).pipe(L(n=>n?this.configLoader.load(t.injector,e).pipe(j(t=>(e._loadedConfig=t,t))):function(t){return new v(e=>e.error(uc(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(e))):Xa(new pu([],t))}runCanLoadGuards(t,e,n){const r=e.canLoad;return r&&0!==r.length?H(r).pipe(j(r=>{const o=t.get(r);let s;if(function(t){return t&&fu(t.canLoad)}(o))s=o.canLoad(e,n);else{if(!fu(o))throw new Error("Invalid CanLoad guard");s=o(e,n)}return _c(s)})).pipe(ll(),Vl(t=>{if(!gu(t))return;const e=uc(`Redirecting to "${this.urlSerializer.serialize(t)}"`);throw e.url=t,e}),(o=t=>!0===t,t=>t.lift(new Il(o,void 0,t)))):Xa(!0);var o}lineralizeSegments(t,e){let n=[],r=e.root;for(;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Xa(n);if(r.numberOfChildren>1||!r.children.primary)return wu(t.redirectTo);r=r.children.primary}}applyRedirectCommands(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreatreUrlTree(t,e,n,r){const o=this.createSegmentGroup(t,e.root,n,r);return new yc(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return mc(t,(t,r)=>{if("string"==typeof t&&t.startsWith(":")){const o=t.substring(1);n[r]=e[o]}else n[r]=t}),n}createSegmentGroup(t,e,n,r){const o=this.createSegments(t,e.segments,n,r);let s={};return mc(e.children,(e,o)=>{s[o]=this.createSegmentGroup(t,e,n,r)}),new wc(o,s)}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 Cu(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||hc)(n,t,e);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function xu(t){if(1===t.numberOfChildren&&t.children.primary){const e=t.children.primary;return new wc(t.segments.concat(e.segments),e.children)}return t}function Ou(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function Su(t){return t.outlet||"primary"}class Pu{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Mu{constructor(t,e){this.component=t,this.route=e}}function Eu(t,e,n){const r=t._root;return function t(e,n,r,o,s={canDeactivateChecks:[],canActivateChecks:[]}){const i=zc(n);return e.children.forEach(e=>{!function(e,n,r,o,s={canDeactivateChecks:[],canActivateChecks:[]}){const i=e.value,a=n?n.value:null,l=r?r.getContext(e.value.outlet):null;if(a&&i.routeConfig===a.routeConfig){const c=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!Cc(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Cc(t.url,e.url)||!dc(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Xc(t,e)||!dc(t.queryParams,e.queryParams);case"paramsChange":default:return!Xc(t,e)}}(a,i,i.routeConfig.runGuardsAndResolvers);c?s.canActivateChecks.push(new Pu(o)):(i.data=a.data,i._resolvedData=a._resolvedData),t(e,n,i.component?l?l.children:null:r,o,s),c&&s.canDeactivateChecks.push(new Mu(l&&l.outlet&&l.outlet.component||null,a))}else a&&Tu(n,l,s),s.canActivateChecks.push(new Pu(o)),t(e,null,i.component?l?l.children:null:r,o,s)}(e,i[e.value.outlet],r,o.concat([e.value]),s),delete i[e.value.outlet]}),mc(i,(t,e)=>Tu(t,r.getContext(e),s)),s}(r,e?e._root:null,n,[r.value])}function ku(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 Tu(t,e,n){const r=zc(t),o=t.value;mc(r,(t,r)=>{Tu(t,o.component?e?e.children.getContext(r):null:e,n)}),n.canDeactivateChecks.push(new Mu(o.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,o))}const Vu=Symbol("INITIAL_VALUE");function Ru(){return Dl(t=>function(...t){let e=null,n=null;return S(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]),q(t,n).lift(new rl(e))}(...t.map(t=>t.pipe(Pl(1),function(...t){const e=t[t.length-1];return S(e)?(t.pop(),n=>Hl(t,n,e)):e=>Hl(t,e)}(Vu)))).pipe(function(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new Ll(t,e,n))}}((t,e)=>{let n=!1;return e.reduce((t,r,o)=>{if(t!==Vu)return t;if(r===Vu&&(n=!0),!n){if(!1===r)return r;if(o===e.length-1||gu(r))return r}return t},t)},Vu),cl(t=>t!==Vu),j(t=>gu(t)?t:!0===t),Pl(1)))}function Au(t,e){return null!==t&&e&&e(new sc(t)),Xa(!0)}function Iu(t,e){return null!==t&&e&&e(new rc(t)),Xa(!0)}function ju(t,e,n){const r=e.routeConfig?e.routeConfig.canActivate:null;return r&&0!==r.length?Xa(r.map(r=>al(()=>{const o=ku(r,e,n);let s;if(function(t){return t&&fu(t.canActivate)}(o))s=_c(o.canActivate(e,t));else{if(!fu(o))throw new Error("Invalid CanActivate guard");s=_c(o(e,t))}return s.pipe(kl())}))).pipe(Ru()):Xa(!0)}function Du(t,e,n){const r=e[e.length-1],o=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=>al(()=>Xa(e.guards.map(o=>{const s=ku(o,e.node,n);let i;if(function(t){return t&&fu(t.canActivateChild)}(s))i=_c(s.canActivateChild(r,t));else{if(!fu(s))throw new Error("Invalid CanActivateChild guard");i=_c(s(r,t))}return i.pipe(kl())})).pipe(Ru())));return Xa(o).pipe(Ru())}class Nu{}class Uu{constructor(t,e,n,r,o,s){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=s}recognize(){try{const t=Fu(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,"primary"),n=new Wc([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),r=new $c(n,e),o=new Qc(this.url,r);return this.inheritParamsAndData(o._root),Xa(o)}catch(t){return new v(e=>e.error(t))}}inheritParamsAndData(t){const e=t.value,n=Zc(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=xc(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)=>"primary"===t.value.outlet?-1:"primary"===e.value.outlet?1:t.value.outlet.localeCompare(e.value.outlet)),n}processSegment(t,e,n,r){for(const s of t)try{return this.processSegmentAgainstRoute(s,e,n,r)}catch(o){if(!(o instanceof Nu))throw o}if(this.noLeftoversInUrl(e,n,r))return[];throw new Nu}noLeftoversInUrl(t,e,n){return 0===e.length&&!t.children[n]}processSegmentAgainstRoute(t,e,n,r){if(t.redirectTo)throw new Nu;if((t.outlet||"primary")!==r)throw new Nu;let o,s=[],i=[];if("**"===t.path){const s=n.length>0?gc(n).parameters:{};o=new Wc(n,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,qu(t),r,t.component,t,Hu(e),Lu(e)+n.length,Bu(t))}else{const a=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new Nu;return{consumedSegments:[],lastChild:0,parameters:{}}}const r=(e.matcher||hc)(n,t,e);if(!r)throw new Nu;const o={};mc(r.posParams,(t,e)=>{o[e]=t.path});const s=r.consumed.length>0?Object.assign(Object.assign({},o),r.consumed[r.consumed.length-1].parameters):o;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:s}}(e,t,n);s=a.consumedSegments,i=n.slice(a.lastChild),o=new Wc(s,a.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,qu(t),r,t.component,t,Hu(e),Lu(e)+s.length,Bu(t))}const a=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:l,slicedSegments:c}=Fu(e,s,i,a,this.relativeLinkResolution);if(0===c.length&&l.hasChildren()){const t=this.processChildren(a,l);return[new $c(o,t)]}if(0===a.length&&0===c.length)return[new $c(o,[])];const u=this.processSegment(a,l,c,"primary");return[new $c(o,u)]}}function Hu(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function Lu(t){let e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;for(;e._sourceSegment;)e=e._sourceSegment,n+=e._segmentIndexShift?e._segmentIndexShift:0;return n-1}function Fu(t,e,n,r,o){if(n.length>0&&function(t,e,n){return n.some(n=>$u(t,e,n)&&"primary"!==zu(n))}(t,n,r)){const o=new wc(e,function(t,e,n,r){const o={};o.primary=r,r._sourceSegment=t,r._segmentIndexShift=e.length;for(const s of n)if(""===s.path&&"primary"!==zu(s)){const n=new wc([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,o[zu(s)]=n}return o}(t,e,r,new wc(n,t.children)));return o._sourceSegment=t,o._segmentIndexShift=e.length,{segmentGroup:o,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(n=>$u(t,e,n))}(t,n,r)){const s=new wc(t.segments,function(t,e,n,r,o,s){const i={};for(const a of r)if($u(t,n,a)&&!o[zu(a)]){const n=new wc([],{});n._sourceSegment=t,n._segmentIndexShift="legacy"===s?t.segments.length:e.length,i[zu(a)]=n}return Object.assign(Object.assign({},o),i)}(t,e,n,r,t.children,o));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}const s=new wc(t.segments,t.children);return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}function $u(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function zu(t){return t.outlet||"primary"}function qu(t){return t.data||{}}function Bu(t){return t.resolve||{}}function Gu(t){return function(e){return e.pipe(Dl(e=>{const n=t(e);return n?H(n).pipe(j(()=>e)):H([e])}))}}class Zu{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}let Wu=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=re({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&Ko(0,"router-outlet")},directives:function(){return[lh]},encapsulation:2}),t})();function Qu(t,e=""){for(let n=0;n<t.length;n++){const r=t[n];Yu(r,Ku(e,r))}}function Yu(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&&"primary"!==t.outlet)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)throw new Error(`Invalid configuration of route '{path: "${e}", redirectTo: "${t.redirectTo}"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.`);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&&Qu(t.children,e)}function Ku(t,e){return e?t||e.path?t&&!e.path?t+"/":!t&&e.path?e.path:`${t}/${e.path}`:"":t}function Ju(t){const e=t.children&&t.children.map(Ju),n=e?Object.assign(Object.assign({},t),{children:e}):Object.assign({},t);return!n.component&&(e||n.loadChildren)&&n.outlet&&"primary"!==n.outlet&&(n.component=Wu),n}const Xu=new At("ROUTES");class th{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(j(n=>{this.onLoadEndListener&&this.onLoadEndListener(e);const r=n.create(t);return new pu(fc(r.injector.get(Xu)).map(Ju),r)}))}loadModuleFactory(t){return"string"==typeof t?H(this.loader.load(t)):_c(t()).pipe(L(t=>t instanceof Wt?Xa(t):H(this.compiler.compileModuleAsync(t))))}}class eh{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new nh,this.attachRef=null}}class nh{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 eh,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}class rh{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function oh(t){throw t}function sh(t,e,n){return e.parse("/")}function ih(t,e){return Xa(null)}let ah=(()=>{class t{constructor(t,e,n,r,o,s,i,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 x,this.errorHandler=oh,this.malformedUriErrorHandler=sh,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:ih,afterPreactivation:ih},this.urlHandlingStrategy=new rh,this.routeReuseStrategy=new Zu,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=o.get(Zt),this.console=o.get(ii);const l=o.get(yi);this.isNgZoneEnabled=l instanceof yi,this.resetConfig(a),this.currentUrlTree=new yc(new wc([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new th(s,i,t=>this.triggerEvent(new ec(t)),t=>this.triggerEvent(new nc(t))),this.routerState=Bc(this.currentUrlTree,this.rootComponentType),this.transitions=new tl({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(cl(t=>0!==t.id),j(t=>Object.assign(Object.assign({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),Dl(t=>{let n=!1,r=!1;return Xa(t).pipe(Vl(t=>{this.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),Dl(t=>{const n=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Xa(t).pipe(Dl(t=>{const n=this.transitions.getValue();return e.next(new Gl(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?sl:[t]}),Dl(t=>Promise.resolve(t)),(r=this.ngModule.injector,o=this.configLoader,s=this.urlSerializer,i=this.config,function(t){return t.pipe(Dl(t=>function(t,e,n,r,o){return new bu(t,e,n,r,o).apply()}(r,o,s,t.extractedUrl,i).pipe(j(e=>Object.assign(Object.assign({},t),{urlAfterRedirects:e})))))}),Vl(t=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,e,n,r,o){return function(s){return s.pipe(L(s=>function(t,e,n,r,o="emptyOnly",s="legacy"){return new Uu(t,e,n,r,o,s).recognize()}(t,e,s.urlAfterRedirects,n(s.urlAfterRedirects),r,o).pipe(j(t=>Object.assign(Object.assign({},s),{targetSnapshot:t})))))}}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),Vl(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),Vl(t=>{const n=new Yl(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(n)}));var r,o,s,i;if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:r,source:o,restoredState:s,extras:i}=t,a=new Gl(n,this.serializeUrl(r),o,s);e.next(a);const l=Bc(r,this.rootComponentType).snapshot;return Xa(Object.assign(Object.assign({},t),{targetSnapshot:l,urlAfterRedirects:r,extras:Object.assign(Object.assign({},i),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),sl}),Gu(t=>{const{targetSnapshot:e,id:n,extractedUrl:r,rawUrl:o,extras:{skipLocationChange:s,replaceUrl:i}}=t;return this.hooks.beforePreactivation(e,{navigationId:n,appliedUrlTree:r,rawUrlTree:o,skipLocationChange:!!s,replaceUrl:!!i})}),Vl(t=>{const e=new Kl(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),j(t=>Object.assign(Object.assign({},t),{guards:Eu(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return function(n){return n.pipe(L(n=>{const{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:s,canDeactivateChecks:i}}=n;return 0===i.length&&0===s.length?Xa(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,r){return H(t).pipe(L(t=>function(t,e,n,r,o){const s=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return s&&0!==s.length?Xa(s.map(s=>{const i=ku(s,e,o);let a;if(function(t){return t&&fu(t.canDeactivate)}(i))a=_c(i.canDeactivate(t,e,n,r));else{if(!fu(i))throw new Error("Invalid CanDeactivate guard");a=_c(i(t,e,n,r))}return a.pipe(kl())})).pipe(Ru()):Xa(!0)}(t.component,t.route,n,e,r)),kl(t=>!0!==t,!0))}(i,r,o,t).pipe(L(n=>n&&"boolean"==typeof n?function(t,e,n,r){return H(e).pipe($l(e=>H([Iu(e.route.parent,r),Au(e.route,r),Du(t,e.path,n),ju(t,e.route,n)]).pipe(ll(),kl(t=>!0!==t,!0))),kl(t=>!0!==t,!0))}(r,s,t,e):Xa(n)),j(t=>Object.assign(Object.assign({},n),{guardsResult:t})))}))}}(this.ngModule.injector,t=>this.triggerEvent(t)),Vl(t=>{if(gu(t.guardsResult)){const e=uc(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}}),Vl(t=>{const e=new Jl(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),cl(t=>{if(!t.guardsResult){this.resetUrlToCurrentUrlTree();const n=new Wl(t.id,this.serializeUrl(t.extractedUrl),"");return e.next(n),t.resolve(!1),!1}return!0}),Gu(t=>{if(t.guards.canActivateChecks.length)return Xa(t).pipe(Vl(t=>{const e=new Xl(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),Dl(t=>{let n=!1;return Xa(t).pipe((r=this.paramsInheritanceStrategy,o=this.ngModule.injector,function(t){return t.pipe(L(t=>{const{targetSnapshot:e,guards:{canActivateChecks:n}}=t;if(!n.length)return Xa(t);let s=0;return H(n).pipe($l(t=>function(t,e,n,r){return function(t,e,n,r){const o=Object.keys(t);if(0===o.length)return Xa({});const s={};return H(o).pipe(L(o=>function(t,e,n,r){const o=ku(t,e,r);return _c(o.resolve?o.resolve(e,n):o(e,n))}(t[o],e,n,r).pipe(Vl(t=>{s[o]=t}))),pl(1),L(()=>Object.keys(s).length===o.length?Xa(s):sl))}(t._resolve,t,e,r).pipe(j(e=>(t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),Zc(t,n).resolve),null)))}(t.route,e,r,o)),Vl(()=>s++),pl(1),L(e=>s===n.length?Xa(t):sl))}))}),Vl({next:()=>n=!0,complete:()=>{if(!n){const n=new Wl(t.id,this.serializeUrl(t.extractedUrl),"At least one route resolver didn't emit any value.");e.next(n),t.resolve(!1)}}}));var r,o}),Vl(t=>{const e=new tc(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}))}),Gu(t=>{const{targetSnapshot:e,id:n,extractedUrl:r,rawUrl:o,extras:{skipLocationChange:s,replaceUrl:i}}=t;return this.hooks.afterPreactivation(e,{navigationId:n,appliedUrlTree:r,rawUrlTree:o,skipLocationChange:!!s,replaceUrl:!!i})}),j(t=>{const e=function(t,e,n){const r=function t(e,n,r){if(r&&e.shouldReuseRoute(n.value,r.value.snapshot)){const o=r.value;o._futureSnapshot=n.value;const s=function(e,n,r){return n.children.map(n=>{for(const o of r.children)if(e.shouldReuseRoute(o.value.snapshot,n.value))return t(e,n,o);return t(e,n)})}(e,n,r);return new $c(o,s)}{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=new Gc(new tl((o=n.value).url),new tl(o.params),new tl(o.queryParams),new tl(o.fragment),new tl(o.data),o.outlet,o.component,o),s=n.children.map(n=>t(e,n));return new $c(r,s)}}var o}(t,e._root,n?n._root:void 0);return new qc(r,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:e})}),Vl(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)}),(s=this.rootContexts,i=this.routeReuseStrategy,a=t=>this.triggerEvent(t),j(t=>(new hu(i,t.targetRouterState,t.currentRouterState,a).activate(s),t))),Vl({next(){n=!0},complete(){n=!0}}),(o=()=>{if(!n&&!r){this.resetUrlToCurrentUrlTree();const n=new Wl(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},t=>t.lift(new zl(o))),xl(n=>{if(r=!0,(o=n)&&o.ngNavigationCancelingError){const r=gu(n.url);r||(this.navigated=!0,this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));const o=new Wl(t.id,this.serializeUrl(t.extractedUrl),n.message);e.next(o),r?setTimeout(()=>{const e=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree);return this.scheduleNavigation(e,"imperative",null,{skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy},{resolve:t.resolve,reject:t.reject,promise:t.promise})},0):t.resolve(!1)}else{this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);const r=new Ql(t.id,this.serializeUrl(t.extractedUrl),n);e.next(r);try{t.resolve(this.errorHandler(n))}catch(s){t.reject(s)}}var o;return sl}));var o,s,i,a}))}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(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){Qu(t),this.config=t.map(Ju),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:o,preserveQueryParams:s,queryParamsHandling:i,preserveFragment:a}=e;Bn()&&s&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");const l=n||this.routerState.root,c=a?this.currentUrlTree.fragment:o;let u=null;if(i)switch(i){case"merge":u=Object.assign(Object.assign({},this.currentUrlTree.queryParams),r);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=r||null}else u=s?this.currentUrlTree.queryParams:r||null;return null!==u&&(u=this.removeEmptyProps(u)),function(t,e,n,r,o){if(0===n.length)return eu(e.root,e.root,e,r,o);const s=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new nu(!0,0,t);let e=0,n=!1;const r=t.reduce((t,r,o)=>{if("object"==typeof r&&null!=r){if(r.outlets){const e={};return mc(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===o?(r.split("/").forEach((r,o)=>{0==o&&"."===r||(0==o&&""===r?n=!0:".."===r?e++:""!=r&&t.push(r))}),t):[...t,r]},[]);return new nu(n,e,r)}(n);if(s.toRoot())return eu(e.root,new wc([],{}),e,r,o);const i=function(t,e,n){if(t.isAbsolute)return new ru(e.root,!0,0);if(-1===n.snapshot._lastPathIndex){const t=n.snapshot._urlSegment;return new ru(t,t===e.root,0)}const r=tu(t.commands[0])?0:1;return function(t,e,n){let r=t,o=e,s=n;for(;s>o;){if(s-=o,r=r.parent,!r)throw new Error("Invalid number of '../'");o=r.segments.length}return new ru(r,!1,o-s)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,t.numberOfDoubleDots)}(s,e,t),a=i.processChildren?iu(i.segmentGroup,i.index,s.commands):su(i.segmentGroup,i.index,s.commands);return eu(i.segmentGroup,a,e,r,o)}(l,this.currentUrlTree,t,u,c)}navigateByUrl(t,e={skipLocationChange:!1}){Bn()&&this.isNgZoneEnabled&&!yi.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");const n=gu(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(gu(t))return vc(this.currentUrlTree,t,e);const n=this.parseUrl(t);return vc(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 Zl(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,o){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,a,l;o?(i=o.resolve,a=o.reject,l=o.promise):l=new Promise((t,e)=>{i=t,a=e});const c=++this.navigationId;return this.setTransition({id:c,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:r,resolve:i,reject:a,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(t=>Promise.reject(t))}setBrowserUrl(t,e,n,r){const o=this.urlSerializer.serialize(t);r=r||{},this.location.isCurrentPathEqualTo(o)||e?this.location.replaceState(o,"",Object.assign(Object.assign({},r),{navigationId:n})):this.location.go(o,"",Object.assign(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})}}return t.\u0275fac=function(e){return new(e||t)(zt(Oo),zt(Oc),zt(nh),zt(ha),zt(Uo),zt(Li),zt(mi),zt(void 0))},t.\u0275prov=it({token:t,factory:t.\u0275fac}),t})(),lh=(()=>{class t{constructor(t,e,n,r,o){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new Ks,this.deactivateEvents=new Ks,this.name=r||"primary",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=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),r=this.parentContexts.getOrCreateContext(this.name).children,o=new ch(t,r,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,o),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)(Go(nh),Go(As),Go(is),("name",function(t,e){const n=t.attrs;if(n){const t=n.length;let e=0;for(;e<t;){const r=n[e];if(dn(r))break;if(0===r)e+=2;else if("number"==typeof r)for(e++;e<t&&"string"==typeof n[e];)e++;else{if("name"===r)return n[e+1];e+=2}}}return null}(Le())),Go(Co))},t.\u0275dir=ce({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t})();class ch{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===Gc?this.route:t===nh?this.childContexts:this.parent.get(t,e)}}class uh{}class hh{preload(t,e){return Xa(null)}}let dh=(()=>{class t{constructor(t,e,n,r,o){this.router=t,this.injector=r,this.preloadingStrategy=o,this.loader=new th(e,n,e=>t.triggerEvent(new ec(e)),e=>t.triggerEvent(new nc(e)))}setUpPreloading(){this.subscription=this.router.events.pipe(cl(t=>t instanceof Zl),$l(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(Zt);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription&&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 H(n).pipe(z(),j(t=>{}))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>this.loader.load(t.injector,e).pipe(L(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}return t.\u0275fac=function(e){return new(e||t)(zt(ah),zt(Li),zt(mi),zt(Uo),zt(uh))},t.\u0275prov=it({token:t,factory:t.\u0275fac}),t})(),ph=(()=>{class t{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 Gl?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Zl&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof ac&&(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 ac(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(zt(ah),zt(Ca),zt(void 0))},t.\u0275prov=it({token:t,factory:t.\u0275fac}),t})();const fh=new At("ROUTER_CONFIGURATION"),gh=new At("ROUTER_FORROOT_GUARD"),mh=[ha,{provide:Oc,useClass:Sc},{provide:ah,useFactory:function(t,e,n,r,o,s,i,a={},l,c){const u=new ah(null,t,e,n,r,o,s,fc(i));if(l&&(u.urlHandlingStrategy=l),c&&(u.routeReuseStrategy=c),a.errorHandler&&(u.errorHandler=a.errorHandler),a.malformedUriErrorHandler&&(u.malformedUriErrorHandler=a.malformedUriErrorHandler),a.enableTracing){const t=Qi();u.events.subscribe(e=>{t.logGroup("Router Event: "+e.constructor.name),t.log(e.toString()),t.log(e),t.logGroupEnd()})}return a.onSameUrlNavigation&&(u.onSameUrlNavigation=a.onSameUrlNavigation),a.paramsInheritanceStrategy&&(u.paramsInheritanceStrategy=a.paramsInheritanceStrategy),a.urlUpdateStrategy&&(u.urlUpdateStrategy=a.urlUpdateStrategy),a.relativeLinkResolution&&(u.relativeLinkResolution=a.relativeLinkResolution),u},deps:[Oc,nh,ha,Uo,Li,mi,Xu,fh,[class{},new et],[class{},new et]]},nh,{provide:Gc,useFactory:function(t){return t.routerState.root},deps:[ah]},{provide:Li,useClass:zi},dh,hh,class{preload(t,e){return e().pipe(xl(()=>Xa(null)))}},{provide:fh,useValue:{enableTracing:!1}}];function _h(){return new Ai("Router",ah)}let vh=(()=>{class t{constructor(t,e){}static forRoot(e,n){return{ngModule:t,providers:[mh,Ch(e),{provide:gh,useFactory:bh,deps:[[ah,new et,new rt]]},{provide:fh,useValue:n||{}},{provide:ia,useFactory:wh,deps:[Ki,[new tt(la),new et],fh]},{provide:ph,useFactory:yh,deps:[ah,Ca,fh]},{provide:uh,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:hh},{provide:Ai,multi:!0,useFactory:_h},[xh,{provide:Js,multi:!0,useFactory:Oh,deps:[xh]},{provide:Ph,useFactory:Sh,deps:[xh]},{provide:si,multi:!0,useExisting:Ph}]]}}static forChild(e){return{ngModule:t,providers:[Ch(e)]}}}return t.\u0275mod=ae({type:t}),t.\u0275inj=at({factory:function(e){return new(e||t)(zt(gh,8),zt(ah,8))}}),t})();function yh(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new ph(t,e,n)}function wh(t,e,n={}){return n.useHash?new ua(t,e):new ca(t,e)}function bh(t){if(t)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Ch(t){return[{provide:Ho,multi:!0,useValue:t},{provide:Xu,multi:!0,useValue:t}]}let xh=(()=>{class t{constructor(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new x}appInitializer(){return this.injector.get(Xi,Promise.resolve(null)).then(()=>{let t=null;const e=new Promise(e=>t=e),n=this.injector.get(ah),r=this.injector.get(fh);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?Xa(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),n.initialNavigation()}return e})}bootstrapListener(t){const e=this.injector.get(fh),n=this.injector.get(dh),r=this.injector.get(ph),o=this.injector.get(ah),s=this.injector.get(Ui);t===s.components[0]&&(this.isLegacyEnabled(e)?o.initialNavigation():this.isLegacyDisabled(e)&&o.setUpLocationChangeListener(),n.setUpPreloading(),r.init(),o.resetRootComponentType(s.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.\u0275fac=function(e){return new(e||t)(zt(Uo))},t.\u0275prov=it({token:t,factory:t.\u0275fac}),t})();function Oh(t){return t.appInitializer.bind(t)}function Sh(t){return t.bootstrapListener.bind(t)}const Ph=new At("Router Initializer"),Mh=[];let Eh=(()=>{class t{}return t.\u0275mod=ae({type:t}),t.\u0275inj=at({factory:function(e){return new(e||t)},imports:[[vh.forRoot(Mh)],vh]}),t})();function kh(t,e){1&t&&Ko(0,"img",42)}const Th=function(t){return{"fixed-scroll-header":t}};let Vh=(()=>{class t{constructor(){this.title="deVote",this.smallScreen=!1,this.fixedHeader=!1,this.smallScreen=window.innerWidth<1200}openLink(t){window.open(t,"_blank")}checkPageOffset(t){this.smallScreen=window.innerWidth<1200,this.fixedHeader=window.pageYOffset>110}onResize(t){this.smallScreen=window.innerWidth<1200}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=re({type:t,selectors:[["app-root"]],hostBindings:function(t,e){1&t&&Xo("scroll",(function(t){return e.checkPageOffset(t)}),!1,Cn)("resize",(function(t){return e.onResize(t)}),!1,Cn)},decls:155,vars:4,consts:[[1,"page-header",3,"ngClass"],["src","./assets/images/deVote_icon_blue.png","alt","deVote icon",1,"deVote-icon"],["src","./assets/svgs/github.svg","alt","Github icon",3,"click"],[1,"page-content"],[1,"deVote-container"],[1,"deVote-text-holder"],[1,"deVote-main-text"],[1,"deVote-description"],[1,"deVote-documentation-button",3,"click"],["class","deVote-screenshot","src","./assets/images/screenshot.png",4,"ngIf"],[1,"page-scroll-notifier"],["src","./assets/svgs/down.svg","alt","Github icon"],[1,"page-deVote-features"],[1,"deVote-features-header"],[1,"deVote-features-body"],[1,"deVote-feature-element"],["src","./assets/svgs/workers.svg","alt","Crowdfund icon"],[1,"devote-feature-element-header"],[1,"devote-feature-element-body"],["src","./assets/svgs/solving.svg","alt","Solving icon"],["src","./assets/svgs/vote.svg","alt","Vote icon"],[1,"page-deVote-benefits"],[1,"deVote-benefits-header"],[1,"deVote-benefits-body"],[1,"deVote-benefits-column"],[1,"deVote-benefits-column-header"],[1,"deVote-benefits-element"],[1,"deVote-benefits-element-image"],["src","./assets/svgs/checkmark.svg","alt","Checkmark icon"],[1,"deVote-benefits-element-header"],[1,"deVote-benefits-element-body"],["src","./assets/svgs/cross.svg","alt","Checkmark icon"],[1,"page-deVote-integrate"],[1,"page-deVote-integrate-header"],[1,"page-deVote-integrate-body"],[1,"page-deVote-integrate-button"],[1,"page-deVote-footer"],[1,"deVote-footer-logo"],[1,"deVote-footer-info"],[1,"deVote-footer-header"],[1,"deVote-footer-body"],[3,"click"],["src","./assets/images/screenshot.png",1,"deVote-screenshot"]],template:function(t,e){var n,r,o,s;1&t&&(Qo(0,"nav",0),Ko(1,"div"),Qo(2,"div"),Ko(3,"img",1),Yo(),Ko(4,"div"),Qo(5,"div"),Qo(6,"img",2),Xo("click",(function(){return e.openLink("https://github.com/c3ai-lab/Pull-Request-Extension-Voting")})),Yo(),Yo(),Yo(),Qo(7,"div",3),Qo(8,"div",4),Qo(9,"div"),Qo(10,"div",5),Qo(11,"span",6),ns(12," Decentralised software development on GitHub "),Yo(),Qo(13,"span",7),ns(14," An open source browser extension for the decentralized management of GitHub-Repositories on the ethereum blockchain. "),Yo(),Qo(15,"div",8),Xo("click",(function(){return e.openLink("https://github.com/c3ai-lab/Pull-Request-Extension-Voting/wiki")})),Qo(16,"div"),Qo(17,"span"),ns(18," Show documentation "),Yo(),Yo(),Yo(),Yo(),Yo(),function(t,e,n,r,o,s,i,a){const l=Ue(),c=He(),u=c.firstCreatePass?function(t,e,n,r,o,s,i,a,l){const c=e.consts,u=fr(e,n[6],19,0,"img",Ae(c,9));Sr(e,n,u,Ae(c,void 0)),rn(e,u);const h=u.tViews=Cr(2,-1,r,1,0,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c),d=xr(0,null,2,-1,null,null);return d.injectorIndex=u.injectorIndex,h.node=d,null!==e.queries&&(e.queries.template(e,u),h.queries=e.queries.embeddedTView(u)),u}(0,c,l,e):c.data[39];Fe(u,!1);const h=l[11].createComment("");lo(c,l,h,u),Gn(h,l),Lr(l,l[39]=Nr(h,l,h,u)),_e(u)&&yr(c,l,u)}(0,kh),Yo(),Qo(20,"div",10),Ko(21,"img",11),Yo(),Qo(22,"div",12),Qo(23,"div",13),Qo(24,"span"),ns(25," deVote functionalities "),Yo(),Yo(),Qo(26,"div",14),Qo(27,"div",15),Ko(28,"img",16),Qo(29,"div",17),Qo(30,"span"),ns(31," Crowdfund issue solutions "),Yo(),Yo(),Qo(32,"div",18),Qo(33,"span"),ns(34," The community can crowdfund a bounty for the solving of an issue. "),Yo(),Yo(),Yo(),Qo(35,"div",15),Ko(36,"img",19),Qo(37,"div",17),Qo(38,"span"),ns(39," Solve issues for a bounty "),Yo(),Yo(),Qo(40,"div",18),Qo(41,"span"),ns(42," A developer can solve an issue for a bounty if his solution is accepted by the community. "),Yo(),Yo(),Yo(),Qo(43,"div",15),Ko(44,"img",20),Qo(45,"div",17),Qo(46,"span"),ns(47," Vote on pull-requests "),Yo(),Yo(),Qo(48,"div",18),Qo(49,"span"),ns(50," The can community votes whether a pull-request should be merged or not. "),Yo(),Yo(),Yo(),Yo(),Yo(),Qo(51,"div",21),Qo(52,"div",22),Qo(53,"span"),ns(54," Advantages of using deVote "),Yo(),Yo(),Qo(55,"div",23),Qo(56,"div",24),Qo(57,"div",25),Qo(58,"span"),ns(59,"deVote"),Yo(),Yo(),Qo(60,"div",26),Qo(61,"div",27),Ko(62,"img",28),Yo(),Qo(63,"div",29),Qo(64,"span"),ns(65,"Community driven"),Yo(),Yo(),Qo(66,"div",30),Qo(67,"span"),ns(68,"The community decides which issues are important and need to be addressed first."),Yo(),Yo(),Yo(),Qo(69,"div",26),Qo(70,"div",27),Ko(71,"img",28),Yo(),Qo(72,"div",29),Qo(73,"span"),ns(74,"Financial initiative"),Yo(),Yo(),Qo(75,"div",30),Qo(76,"span"),ns(77,"Developers have a financial initiative to solve issues because of the Bounty."),Yo(),Yo(),Yo(),Qo(78,"div",26),Qo(79,"div",27),Ko(80,"img",28),Yo(),Qo(81,"div",29),Qo(82,"span"),ns(83,"Qualitative merges"),Yo(),Yo(),Qo(84,"div",30),Qo(85,"span"),ns(86,"Many people can participate in the voting and thus better validate whether a pull request meets the quality standard."),Yo(),Yo(),Yo(),Yo(),Qo(87,"div",24),Qo(88,"div",24),Qo(89,"div",25),Qo(90,"span"),ns(91,"Traditional"),Yo(),Yo(),Qo(92,"div",26),Qo(93,"div",27),Ko(94,"img",31),Yo(),Qo(95,"div",29),Qo(96,"span"),ns(97,"Admin dependent"),Yo(),Yo(),Qo(98,"div",30),Qo(99,"span"),ns(100,"The admin decides which issue comes first and can therefore hold back development."),Yo(),Yo(),Yo(),Qo(101,"div",26),Qo(102,"div",27),Ko(103,"img",31),Yo(),Qo(104,"div",29),Qo(105,"span"),ns(106,"Free developer dependent"),Yo(),Yo(),Qo(107,"div",30),Qo(108,"span"),ns(109,"The repository must hope that developers will continue to develop the project in their spare time and for free."),Yo(),Yo(),Yo(),Qo(110,"div",26),Qo(111,"div",27),Ko(112,"img",31),Yo(),Qo(113,"div",29),Qo(114,"span"),ns(115,"Pull-Requests bottleneck"),Yo(),Yo(),Qo(116,"div",30),Qo(117,"span"),ns(118,"It doesn't matter what the community thinks about a pull request, in the end it's the admin alone who decides whether to merge it or not."),Yo(),Yo(),Yo(),Yo(),Yo(),Yo(),Yo(),Qo(119,"div",32),Qo(120,"div",33),Qo(121,"span"),ns(122," Interested? Yes, you can use it for your projects! "),Yo(),Yo(),Qo(123,"div",34),Qo(124,"span"),ns(125," This project is completely public and opensource. For the extension to work correctly, it must be set up correctly. "),Yo(),Yo(),Qo(126,"div",35),Qo(127,"div",8),Xo("click",(function(){return e.openLink("https://github.com/c3ai-lab/Pull-Request-Extension-Voting")})),Qo(128,"div"),Qo(129,"span"),ns(130," Get the extension "),Yo(),Yo(),Yo(),Yo(),Yo(),Qo(131,"div",36),Qo(132,"div",37),Ko(133,"img",1),Yo(),Ko(134,"div"),Qo(135,"div",38),Qo(136,"div",39),Qo(137,"span"),ns(138,"Resources"),Yo(),Yo(),Qo(139,"div",40),Qo(140,"span",41),Xo("click",(function(){return e.openLink("https://github.com/c3ai-lab/Pull-Request-Extension-Voting")})),ns(141," GitHub "),Yo(),Qo(142,"span",41),Xo("click",(function(){return e.openLink("https://github.com/c3ai-lab/Pull-Request-Extension-Voting/wiki")})),ns(143," Documentation "),Yo(),Yo(),Yo(),Qo(144,"div",38),Qo(145,"div",39),Qo(146,"span"),ns(147,"Contact"),Yo(),Yo(),Qo(148,"div",40),Qo(149,"span",41),Xo("click",(function(){return e.openLink("https://github.com/c3ai-lab")})),ns(150," C\xb3AI Laboratories "),Yo(),Qo(151,"span",41),Xo("click",(function(){return e.openLink("https://github.com/SerQuicky")})),ns(152," SerQuicky (Developer) "),Yo(),Qo(153,"span",41),Xo("click",(function(){return e.openLink("https://github.com/LeviiOnGit")})),ns(154," LeviiOnGit (Developer) "),Yo(),Yo(),Yo(),Yo(),Yo()),2&t&&(Zo("ngClass",(n=2,r=Th,o=e.fixedHeader,function(t,e,n,r,o,s){const i=e+n;return Bo(t,i,o)?function(t,e,n){return t[e]=n}(t,i+1,s?r.call(s,o):r(o)):function(t,e){const n=t[e];return n===sr?void 0:n}(t,i+1)}(Ue(),function(){const t=De.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}(),n,r,o,s))),19,ur(He(),Ue(),en()+19,ze()),Zo("ngIf",!e.smallScreen))},directives:[_a,va],styles:[".page-header[_ngcontent-%COMP%]{height:calc(100vh / 10);width:100%;position:fixed;transition:background .4s ease,height .4s ease;display:grid;grid-template-columns:15% 7.5% 1fr 7.5% 15%;z-index:5}.page-header[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{text-align:center}.page-header[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .page-header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#093d8d;opacity:.8;font-family:Montserrat,Raleway,sans-serif;cursor:pointer;display:block;padding-top:25px;font-size:18px}.page-header[_ngcontent-%COMP%] img[_ngcontent-%COMP%]:hover, .page-header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:hover{opacity:1}.page-header[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:60%;width:50%;display:block;margin:0 auto;padding-top:15px}.fixed-scroll-header[_ngcontent-%COMP%]{height:calc(100vh / 15)!important;box-shadow:0 2px 6px 0 rgba(0,0,0,.07);background:#fff;z-index:5}.fixed-scroll-header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#c2cafd}.fixed-scroll-header[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{padding-top:calc(100vh / 100)!important;height:60%;width:40%}.page-content[_ngcontent-%COMP%]{padding-top:110px;width:100%;height:3200px;position:relative}.page-section-header[_ngcontent-%COMP%]{margin-top:50px}.page-section-header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#093d8d;font-family:Montserrat,Raleway,sans-serif}.page-section-header[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:30px;padding-left:75px}.page-section-header[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{font-size:20px;padding-left:125px;-webkit-box-decoration-break:clone;box-decoration-break:clone}.page-section-header[_ngcontent-%COMP%] hr[_ngcontent-%COMP%]{height:.5px;border:none;background:#093d8d;padding-left:75px;width:90%}.deVote-container[_ngcontent-%COMP%]{height:calc(100vh - 200px);display:grid;grid-template-columns:1fr 1fr}.deVote-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#093d8d;font-family:Montserrat,Raleway,sans-serif}.deVote-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%] .deVote-text-holder[_ngcontent-%COMP%]{width:calc(100vw / 3);height:calc(100vh / 3);display:grid;grid-template-rows:35% 1fr 30%;text-align:center;float:right;padding-top:25%}.deVote-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%] .deVote-text-holder[_ngcontent-%COMP%] .deVote-main-text[_ngcontent-%COMP%]{font-size:calc(100vw / 50)}.deVote-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%] .deVote-text-holder[_ngcontent-%COMP%] .deVote-description[_ngcontent-%COMP%]{font-size:calc(100vw / 80);opacity:.7}.deVote-container[_ngcontent-%COMP%] .deVote-screenshot[_ngcontent-%COMP%]{position:absolute;width:calc(100vw / 4);height:calc(100vh / 2);left:calc(100vw / 1.75);top:calc(100vh / 5);box-shadow:0 4px 16px rgba(0,0,0,.1);border-radius:15px;transform:matrix(1,.12,0,.99,0,0)}.deVote-documentation-button[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{width:calc(100vw / 6);height:calc(100vh / 28);background:#3880ff;opacity:.8;border-radius:20px;text-align:center;margin:0 auto;cursor:pointer}.deVote-documentation-button[_ngcontent-%COMP%] div[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#fff;display:block;padding-top:calc(100vh / 150);font-size:calc(100vh / 60)}.deVote-documentation-button[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:hover{opacity:1}.page-scroll-notifier[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin:0 auto;display:block;height:50px;width:50px;animation:action 1s infinite alternate}@keyframes action{0%{transform:translateY(0)}to{transform:translateY(-10px)}}.page-deVote-features[_ngcontent-%COMP%]{height:calc(100vh / 2);display:grid;width:80%;margin:225px auto;grid-template-rows:25% 1fr}.page-deVote-features[_ngcontent-%COMP%] .deVote-features-header[_ngcontent-%COMP%]{text-align:center}.page-deVote-features[_ngcontent-%COMP%] .deVote-features-header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#093d8d;font-family:Montserrat,Raleway,sans-serif;opacity:.8;font-size:calc(100vh / 30)}.page-deVote-features[_ngcontent-%COMP%] .deVote-features-body[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr 1fr;grid-column-gap:20px}.page-deVote-features[_ngcontent-%COMP%] .deVote-features-body[_ngcontent-%COMP%] .deVote-feature-element[_ngcontent-%COMP%]{display:grid;grid-template-rows:1fr 20% 30%}.page-deVote-features[_ngcontent-%COMP%] .deVote-features-body[_ngcontent-%COMP%] .deVote-feature-element[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:calc(100vw / 6);height:calc(100vh / 5);margin:0 auto}.page-deVote-features[_ngcontent-%COMP%] .deVote-features-body[_ngcontent-%COMP%] .deVote-feature-element[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{text-align:center}.page-deVote-features[_ngcontent-%COMP%] .deVote-features-body[_ngcontent-%COMP%] .deVote-feature-element[_ngcontent-%COMP%] div[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#093d8d;font-family:Montserrat,Raleway,sans-serif}.page-deVote-features[_ngcontent-%COMP%] .deVote-features-body[_ngcontent-%COMP%] .deVote-feature-element[_ngcontent-%COMP%] .devote-feature-element-header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:calc(100vh / 48);display:block;padding-top:calc(100vh / 48)}.page-deVote-features[_ngcontent-%COMP%] .deVote-features-body[_ngcontent-%COMP%] .deVote-feature-element[_ngcontent-%COMP%] .devote-feature-element-body[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{opacity:.8;font-size:calc(100vh / 60)}.page-deVote-benefits[_ngcontent-%COMP%]{height:calc(100vh / 2);display:grid;width:80%;margin:225px auto;grid-template-rows:15% 1fr}.page-deVote-benefits[_ngcontent-%COMP%] .deVote-benefits-header[_ngcontent-%COMP%]{text-align:center}.page-deVote-benefits[_ngcontent-%COMP%] .deVote-benefits-header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#093d8d;font-family:Montserrat,Raleway,sans-serif;opacity:.8;font-size:calc(100vh / 28)}.page-deVote-benefits[_ngcontent-%COMP%] .deVote-benefits-body[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;grid-column-gap:20px}.page-deVote-benefits[_ngcontent-%COMP%] .deVote-benefits-body[_ngcontent-%COMP%] .deVote-benefits-column[_ngcontent-%COMP%] .deVote-benefits-column-header[_ngcontent-%COMP%]{height:40px;width:100%;text-align:center}.page-deVote-benefits[_ngcontent-%COMP%] .deVote-benefits-body[_ngcontent-%COMP%] .deVote-benefits-column[_ngcontent-%COMP%] .deVote-benefits-column-header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#093d8d;font-family:Montserrat,Raleway,sans-serif;opacity:.8;font-size:calc(100vh / 32)}.page-deVote-benefits[_ngcontent-%COMP%] .deVote-benefits-body[_ngcontent-%COMP%] .deVote-benefits-column[_ngcontent-%COMP%] .deVote-benefits-element[_ngcontent-%COMP%]{display:grid;grid-template-columns:25% 1fr;grid-template-rows:40% 1fr;height:80px;width:80%;margin:50px auto}.page-deVote-benefits[_ngcontent-%COMP%] .deVote-benefits-body[_ngcontent-%COMP%] .deVote-benefits-column[_ngcontent-%COMP%] .deVote-benefits-element[_ngcontent-%COMP%] div[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#093d8d;font-family:Montserrat,Raleway,sans-serif}.page-deVote-benefits[_ngcontent-%COMP%] .deVote-benefits-body[_ngcontent-%COMP%] .deVote-benefits-column[_ngcontent-%COMP%] .deVote-benefits-element[_ngcontent-%COMP%] .deVote-benefits-element-image[_ngcontent-%COMP%]{grid-area:1/1/3/2}.page-deVote-benefits[_ngcontent-%COMP%] .deVote-benefits-body[_ngcontent-%COMP%] .deVote-benefits-column[_ngcontent-%COMP%] .deVote-benefits-element[_ngcontent-%COMP%] .deVote-benefits-element-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:30px;height:30px;margin:0 auto;display:block;padding-top:10px}.page-deVote-benefits[_ngcontent-%COMP%] .deVote-benefits-body[_ngcontent-%COMP%] .deVote-benefits-column[_ngcontent-%COMP%] .deVote-benefits-element[_ngcontent-%COMP%] .deVote-benefits-element-header[_ngcontent-%COMP%]{grid-area:1/2/3/3}.page-deVote-benefits[_ngcontent-%COMP%] .deVote-benefits-body[_ngcontent-%COMP%] .deVote-benefits-column[_ngcontent-%COMP%] .deVote-benefits-element[_ngcontent-%COMP%] .deVote-benefits-element-header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:calc(100vh / 54)}.page-deVote-benefits[_ngcontent-%COMP%] .deVote-benefits-body[_ngcontent-%COMP%] .deVote-benefits-column[_ngcontent-%COMP%] .deVote-benefits-element[_ngcontent-%COMP%] .deVote-benefits-element-body[_ngcontent-%COMP%]{grid-area:2/2/3/3}.page-deVote-benefits[_ngcontent-%COMP%] .deVote-benefits-body[_ngcontent-%COMP%] .deVote-benefits-column[_ngcontent-%COMP%] .deVote-benefits-element[_ngcontent-%COMP%] .deVote-benefits-element-body[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{opacity:.8;font-size:calc(100vh / 60)}.page-deVote-integrate[_ngcontent-%COMP%]{height:calc(100vh / 6);display:grid;width:80%;margin:350px auto;grid-template-rows:35% 1fr 10%}.page-deVote-integrate[_ngcontent-%COMP%] .page-deVote-integrate-header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:calc(100vh / 30)}.page-deVote-integrate[_ngcontent-%COMP%] .page-deVote-integrate-body[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:calc(100vh / 45);opacity:.8}.page-deVote-integrate[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{text-align:center}.page-deVote-integrate[_ngcontent-%COMP%] div[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#093d8d;font-family:Montserrat,Raleway,sans-serif}.page-deVote-integrate[_ngcontent-%COMP%] .deVote-documentation-button[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{width:calc(100vw / 6);height:calc(100vh / 25)}.page-deVote-integrate[_ngcontent-%COMP%] .deVote-documentation-button[_ngcontent-%COMP%] div[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{padding-top:calc(100vh / 130);color:#fff;font-size:calc(100vh / 50)}.page-deVote-footer[_ngcontent-%COMP%]{height:calc(100vh / 5);display:grid;width:100%;margin:0 auto;border-top:3px solid #f3f5f9;grid-template-columns:25% 1fr 15% 15%}.page-deVote-footer[_ngcontent-%COMP%] .deVote-footer-logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:block;margin:20px auto;width:70px;height:70px}.page-deVote-footer[_ngcontent-%COMP%] .deVote-footer-info[_ngcontent-%COMP%] div[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{text-align:left;color:#093d8d;font-family:Montserrat,Raleway,sans-serif}.page-deVote-footer[_ngcontent-%COMP%] .deVote-footer-info[_ngcontent-%COMP%] .deVote-footer-header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:calc(100vh / 40);display:block;padding-top:20px}.page-deVote-footer[_ngcontent-%COMP%] .deVote-footer-info[_ngcontent-%COMP%] .deVote-footer-body[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{display:block}.page-deVote-footer[_ngcontent-%COMP%] .deVote-footer-info[_ngcontent-%COMP%] .deVote-footer-body[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{opacity:.8;font-size:calc(100vh / 60);display:block;padding-top:15px;cursor:pointer}.page-deVote-footer[_ngcontent-%COMP%] .deVote-footer-info[_ngcontent-%COMP%] .deVote-footer-body[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:hover{opacity:1}@media (min-width:1400px) and (max-width:1500px){.page-content[_ngcontent-%COMP%]{padding-top:110px;width:100%;height:3000px}.page-header[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:40px;width:40px}.deVote-screenshot[_ngcontent-%COMP%]{left:900px!important}.page-deVote-benefits[_ngcontent-%COMP%], .page-deVote-features[_ngcontent-%COMP%], .page-deVote-integrate[_ngcontent-%COMP%]{width:70%}}@media (min-width:1280px) and (max-width:1400px){.page-content[_ngcontent-%COMP%]{padding-top:110px;width:100%;height:2800px}.page-header[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:50px;width:50px;display:block;margin:0 auto;padding-top:15px}.fixed-scroll-header[_ngcontent-%COMP%]{height:calc(100vh / 11)!important}.page-deVote-benefits[_ngcontent-%COMP%], .page-deVote-features[_ngcontent-%COMP%]{width:85%}.page-deVote-integrate[_ngcontent-%COMP%]{width:70%}.page-deVote-footer[_ngcontent-%COMP%]{grid-template-columns:25% 1fr 20% 20%!important}}@media (min-width:1024px) and (max-width:1366px) and (orientation:landscape){.page-header[_ngcontent-%COMP%]{grid-template-columns:7.5% 25% 1fr 25% 7.5%}.fixed-scroll-header[_ngcontent-%COMP%]{height:calc(100vh / 14)!important}.deVote-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%] .deVote-text-holder[_ngcontent-%COMP%]{height:calc(100vh / 2.5)}.deVote-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%] .deVote-text-holder[_ngcontent-%COMP%] .deVote-main-text[_ngcontent-%COMP%]{font-size:calc(100vw / 40)}.deVote-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%] .deVote-text-holder[_ngcontent-%COMP%] .deVote-description[_ngcontent-%COMP%]{font-size:calc(100vw / 60);opacity:.7}.deVote-container[_ngcontent-%COMP%] .deVote-screenshot[_ngcontent-%COMP%]{position:absolute;width:calc(100vw / 3);height:calc(100vh / 2);left:calc(100vw / 1.75);top:calc(100vh / 5)}}@media (min-height:1024px) and (max-height:1366px) and (orientation:portrait){.page-content[_ngcontent-%COMP%]{height:4500px}.page-header[_ngcontent-%COMP%]{grid-template-columns:5% 15% 50% 15%}.fixed-scroll-header[_ngcontent-%COMP%]{height:calc(100vh / 15)!important}.fixed-scroll-header[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:50px;width:50px}.fixed-scroll-header[_ngcontent-%COMP%]{height:80px!important}.deVote-container[_ngcontent-%COMP%]{grid-template-columns:1fr!important;grid-template-rows:30% 1fr!important;height:calc(100vh - 900px)!important}.deVote-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%] .deVote-text-holder[_ngcontent-%COMP%]{height:350px;width:95%!important;padding-top:15%;margin:0 auto!important;grid-template-rows:25% 40% 1fr}.deVote-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%] .deVote-text-holder[_ngcontent-%COMP%] .deVote-main-text[_ngcontent-%COMP%]{font-size:35px}.deVote-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%] .deVote-text-holder[_ngcontent-%COMP%] .deVote-description[_ngcontent-%COMP%]{font-size:25px}.deVote-container[_ngcontent-%COMP%] .deVote-screenshot[_ngcontent-%COMP%]{left:25%!important;top:calc(100vh / 2.25)!important;height:calc(100vh / 2);width:calc(100vw / 1.75)}.deVote-documentation-button[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{width:calc(100vw / 3);height:calc(100vh / 28)}.page-scroll-notifier[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin:200px auto}.page-deVote-features[_ngcontent-%COMP%]{width:95%}.page-deVote-benefits[_ngcontent-%COMP%]{grid-template-rows:10% 1fr;width:95%;height:800px}.page-deVote-benefits[_ngcontent-%COMP%] .deVote-benefits-body[_ngcontent-%COMP%] .deVote-benefits-column[_ngcontent-%COMP%] .deVote-benefits-column-header[_ngcontent-%COMP%]{height:40px}.page-deVote-benefits[_ngcontent-%COMP%] .deVote-benefits-body[_ngcontent-%COMP%] .deVote-benefits-column[_ngcontent-%COMP%] .deVote-benefits-element[_ngcontent-%COMP%]{height:200px}.page-deVote-integrate[_ngcontent-%COMP%]{width:95%;margin:350px auto;height:400px}.page-deVote-integrate[_ngcontent-%COMP%] .deVote-documentation-button[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{width:calc(100vw / 3);height:calc(100vh / 20)}.page-deVote-integrate[_ngcontent-%COMP%] .deVote-documentation-button[_ngcontent-%COMP%] div[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{padding-top:calc(100vh / 100);color:#fff;font-size:calc(100vh / 50)}.page-deVote-footer[_ngcontent-%COMP%]{height:350px;grid-template-columns:25% 1fr 30% 30%!important}}@media only screen and (min-width:768px) and (max-width:1024px) and (orientation:landscape){.page-content[_ngcontent-%COMP%]{height:2500px}.page-header[_ngcontent-%COMP%]{grid-template-columns:5% 12.5% 50% 15%}.fixed-scroll-header[_ngcontent-%COMP%]{height:calc(100vh / 15)!important}.fixed-scroll-header[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:50px;width:50px}.fixed-scroll-header[_ngcontent-%COMP%]{height:80px!important}.deVote-container[_ngcontent-%COMP%]{grid-template-columns:1fr!important;grid-template-rows:30% 1fr!important;height:calc(100vh - 250px)!important}.deVote-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%] .deVote-text-holder[_ngcontent-%COMP%]{height:350px;width:95%!important;padding-top:15%;margin:0 auto!important;grid-template-rows:25% 40% 1fr}.deVote-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%] .deVote-text-holder[_ngcontent-%COMP%] .deVote-main-text[_ngcontent-%COMP%]{font-size:35px}.deVote-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%] .deVote-text-holder[_ngcontent-%COMP%] .deVote-description[_ngcontent-%COMP%]{font-size:25px}.deVote-documentation-button[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{width:calc(100vw / 3);height:calc(100vh / 20)}.deVote-documentation-button[_ngcontent-%COMP%] div[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#fff;display:block;padding-top:calc(100vh / 150);font-size:calc(100vh / 40)}.page-deVote-benefits[_ngcontent-%COMP%], .page-deVote-features[_ngcontent-%COMP%]{width:95%}.page-deVote-integrate[_ngcontent-%COMP%]{width:95%;margin:250px auto}.page-deVote-footer[_ngcontent-%COMP%]{height:200px;grid-template-columns:25% 1fr 20% 20%!important}}@media only screen and (min-width:414px) and (max-width:768px) and (orientation:portrait){.page-content[_ngcontent-%COMP%]{height:2800px}.page-header[_ngcontent-%COMP%]{grid-template-columns:5% 15% 55% 15%}.fixed-scroll-header[_ngcontent-%COMP%]{height:80px!important}.deVote-container[_ngcontent-%COMP%]{grid-template-columns:1fr!important;grid-template-rows:30% 1fr!important}.deVote-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;text-align:center!important}.deVote-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%] .deVote-text-holder[_ngcontent-%COMP%]{height:550px;width:95%!important;padding-top:5%;margin:0 auto!important;float:none}.deVote-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%] .deVote-text-holder[_ngcontent-%COMP%] .deVote-main-text[_ngcontent-%COMP%]{font-size:35px}.deVote-container[_ngcontent-%COMP%] div[_ngcontent-%COMP%] .deVote-text-holder[_ngcontent-%COMP%] .deVote-description[_ngcontent-%COMP%]{font-size:25px}.deVote-documentation-button[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{width:calc(100vw / 1.25);height:calc(100vh / 17.5)}.deVote-documentation-button[_ngcontent-%COMP%] div[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#fff;display:block;padding-top:calc(100vh / 100);font-size:calc(100vh / 40)}.page-deVote-features[_ngcontent-%COMP%]{width:95%;height:800px;grid-template-rows:15% 1fr}.page-deVote-features[_ngcontent-%COMP%] .deVote-features-body[_ngcontent-%COMP%]{grid-template-columns:1fr;grid-template-rows:1fr 1fr 1fr;grid-row-gap:50px}.page-deVote-features[_ngcontent-%COMP%] .deVote-features-body[_ngcontent-%COMP%] .deVote-feature-element[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:200px;height:150px;margin:0 auto}.page-deVote-benefits[_ngcontent-%COMP%]{width:95%;height:800px;grid-template-rows:15% 1fr}.page-deVote-benefits[_ngcontent-%COMP%] .deVote-benefits-body[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;grid-column-gap:20px}.page-deVote-benefits[_ngcontent-%COMP%] .deVote-benefits-body[_ngcontent-%COMP%] .deVote-benefits-column[_ngcontent-%COMP%] .deVote-benefits-element[_ngcontent-%COMP%]{height:220px}.page-deVote-integrate[_ngcontent-%COMP%]{width:95%;height:250px;margin:450px auto}.page-deVote-integrate[_ngcontent-%COMP%] .deVote-documentation-button[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{width:calc(100vw / 1.25);height:calc(100vh / 17.5)}.page-deVote-integrate[_ngcontent-%COMP%] .deVote-documentation-button[_ngcontent-%COMP%] div[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#fff;display:block;padding-top:calc(100vh / 100);font-size:calc(100vh / 40)}.page-deVote-footer[_ngcontent-%COMP%]{margin:30px auto;height:200px;grid-template-columns:25% 1% 1fr 1fr!important}}"]}),t})(),Rh=(()=>{class t{}return t.\u0275mod=ae({type:t,bootstrap:[Vh]}),t.\u0275inj=at({factory:function(e){return new(e||t)},providers:[],imports:[[Ja,Eh]]}),t})();(function(){if(qn)throw new Error("Cannot enable prod mode after platform setup.");zn=!1})(),Ya().bootstrapModule(Rh).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]]]);