-
Notifications
You must be signed in to change notification settings - Fork 0
/
main-es2015.acff3bc0bbb33b6d6e3b.js
1 lines (1 loc) · 238 KB
/
main-es2015.acff3bc0bbb33b6d6e3b.js
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(e,t,n){e.exports=n("zUnb")},zUnb:function(e,t,n){"use strict";function r(e){return"function"==typeof e}n.r(t);let s=!1;const i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){s=e},get useDeprecatedSynchronousErrorHandling(){return s}};function o(e){setTimeout(()=>{throw e})}const l={closed:!0,next(e){},error(e){if(i.useDeprecatedSynchronousErrorHandling)throw e;o(e)},complete(){}},a=Array.isArray||(e=>e&&"number"==typeof e.length);function u(e){return null!==e&&"object"==typeof e}function c(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((e,t)=>`${t+1}) ${e.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}c.prototype=Object.create(Error.prototype);const h=c,d=(()=>{class e{constructor(e){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}unsubscribe(){let e,t=!1;if(this.closed)return;let{_parent:n,_parents:s,_unsubscribe:i,_subscriptions:o}=this;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;let l=-1,c=s?s.length:0;for(;n;)n.remove(this),n=++l<c&&s[l]||null;if(r(i))try{i.call(this)}catch(d){t=!0,e=d instanceof h?p(d.errors):[d]}if(a(o))for(l=-1,c=o.length;++l<c;){const n=o[l];if(u(n))try{n.unsubscribe()}catch(d){t=!0,e=e||[],d instanceof h?e=e.concat(p(d.errors)):e.push(d)}}if(t)throw new h(e)}add(t){let n=t;switch(typeof t){case"function":n=new e(t);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof e)){const t=n;(n=new e)._subscriptions=[t]}break;default:if(!t)return e.EMPTY;throw new Error("unrecognized teardown "+t+" added to Subscription.")}if(n._addParent(this)){const e=this._subscriptions;e?e.push(n):this._subscriptions=[n]}return n}remove(e){const t=this._subscriptions;if(t){const n=t.indexOf(e);-1!==n&&t.splice(n,1)}}_addParent(e){let{_parent:t,_parents:n}=this;return t!==e&&(t?n?-1===n.indexOf(e)&&(n.push(e),!0):(this._parents=[e],!0):(this._parent=e,!0))}}return e.EMPTY=function(e){return e.closed=!0,e}(new e),e})();function p(e){return e.reduce((e,t)=>e.concat(t instanceof h?t.errors:t),[])}const f="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class g extends d{constructor(e,t,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=l;break;case 1:if(!e){this.destination=l;break}if("object"==typeof e){e instanceof g?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new m(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new m(this,e,t,n)}}[f](){return this}static create(e,t,n){const r=new g(e,t,n);return r.syncErrorThrowable=!1,r}next(e){this.isStopped||this._next(e)}error(e){this.isStopped||(this.isStopped=!0,this._error(e))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(e){this.destination.next(e)}_error(e){this.destination.error(e),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parent:e,_parents:t}=this;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=e,this._parents=t,this}}class m extends g{constructor(e,t,n,s){let i;super(),this._parentSubscriber=e;let o=this;r(t)?i=t:t&&(i=t.next,n=t.error,s=t.complete,t!==l&&(r((o=Object.create(t)).unsubscribe)&&this.add(o.unsubscribe.bind(o)),o.unsubscribe=this.unsubscribe.bind(this))),this._context=o,this._next=i,this._error=n,this._complete=s}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;i.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}error(e){if(!this.isStopped){const{_parentSubscriber:t}=this,{useDeprecatedSynchronousErrorHandling:n}=i;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):o(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;o(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const t=()=>this._complete.call(this._context);i.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),i.useDeprecatedSynchronousErrorHandling)throw n;o(n)}}__tryOrSetError(e,t,n){if(!i.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(r){return i.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0,!0):(o(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}const _="function"==typeof Symbol&&Symbol.observable||"@@observable";function v(){}function w(...e){return y(e)}function y(e){return e?1===e.length?e[0]:function(t){return e.reduce((e,t)=>t(e),t)}:v}const b=(()=>{class e{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(t){const n=new e;return n.source=this,n.operator=t,n}subscribe(e,t,n){const{operator:r}=this,s=function(e,t,n){if(e){if(e instanceof g)return e;if(e[f])return e[f]()}return e||t||n?new g(e,t,n):new g(l)}(e,t,n);if(s.add(r?r.call(s,this.source):this.source||i.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),i.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(e){try{return this._subscribe(e)}catch(t){i.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){const{closed:t,destination:n,isStopped:r}=e;if(t||r)return!1;e=n&&n instanceof g?n:null}return!0}(e)?e.error(t):console.warn(t)}}forEach(e,t){return new(t=C(t))((t,n)=>{let r;r=this.subscribe(t=>{try{e(t)}catch(s){n(s),r&&r.unsubscribe()}},n,t)})}_subscribe(e){const{source:t}=this;return t&&t.subscribe(e)}[_](){return this}pipe(...e){return 0===e.length?this:y(e)(this)}toPromise(e){return new(e=C(e))((e,t)=>{let n;this.subscribe(e=>n=e,e=>t(e),()=>e(n))})}}return e.create=(t=>new e(t)),e})();function C(e){if(e||(e=i.Promise||Promise),!e)throw new Error("no Promise impl found");return e}function x(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}x.prototype=Object.create(Error.prototype);const S=x;class E extends d{constructor(e,t){super(),this.subject=e,this.subscriber=t,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const e=this.subject,t=e.observers;if(this.subject=null,!t||0===t.length||e.isStopped||e.closed)return;const n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}class T extends g{constructor(e){super(e),this.destination=e}}const P=(()=>{class e extends b{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[f](){return new T(this)}lift(e){const t=new O(this,this);return t.operator=e,t}next(e){if(this.closed)throw new S;if(!this.isStopped){const{observers:t}=this,n=t.length,r=t.slice();for(let s=0;s<n;s++)r[s].next(e)}}error(e){if(this.closed)throw new S;this.hasError=!0,this.thrownError=e,this.isStopped=!0;const{observers:t}=this,n=t.length,r=t.slice();for(let s=0;s<n;s++)r[s].error(e);this.observers.length=0}complete(){if(this.closed)throw new S;this.isStopped=!0;const{observers:e}=this,t=e.length,n=e.slice();for(let r=0;r<t;r++)n[r].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(e){if(this.closed)throw new S;return super._trySubscribe(e)}_subscribe(e){if(this.closed)throw new S;return this.hasError?(e.error(this.thrownError),d.EMPTY):this.isStopped?(e.complete(),d.EMPTY):(this.observers.push(e),new E(this,e))}asObservable(){const e=new b;return e.source=this,e}}return e.create=((e,t)=>new O(e,t)),e})();class O extends P{constructor(e,t){super(),this.destination=e,this.source=t}next(e){const{destination:t}=this;t&&t.next&&t.next(e)}error(e){const{destination:t}=this;t&&t.error&&this.destination.error(e)}complete(){const{destination:e}=this;e&&e.complete&&this.destination.complete()}_subscribe(e){const{source:t}=this;return t?this.source.subscribe(e):d.EMPTY}}function k(e){return e&&"function"==typeof e.schedule}class R extends g{constructor(e,t,n){super(),this.parent=e,this.outerValue=t,this.outerIndex=n,this.index=0}_next(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}_error(e){this.parent.notifyError(e,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}const A=e=>t=>{for(let n=0,r=e.length;n<r&&!t.closed;n++)t.next(e[n]);t.closed||t.complete()},M=e=>t=>(e.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,o),t);function I(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}const N=I(),D=e=>t=>{const n=e[N]();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},U=e=>t=>{const n=e[_]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(t)},j=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function L(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}const V=e=>{if(e instanceof b)return t=>e._isScalar?(t.next(e.value),void t.complete()):e.subscribe(t);if(e&&"function"==typeof e[_])return U(e);if(j(e))return A(e);if(L(e))return M(e);if(e&&"function"==typeof e[N])return D(e);{const t=u(e)?"an invalid object":`'${e}'`;throw new TypeError(`You provided ${t} where a stream was expected.`+" You can provide an Observable, Promise, Array, or Iterable.")}};function H(e,t,n,r,s=new R(e,n,r)){if(!s.closed)return V(t)(s)}class $ extends g{notifyNext(e,t,n,r,s){this.destination.next(t)}notifyError(e,t){this.destination.error(e)}notifyComplete(e){this.destination.complete()}}function z(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new F(e,t))}}class F{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new B(e,this.project,this.thisArg))}}class B extends g{constructor(e,t,n){super(e),this.project=t,this.count=0,this.thisArg=n||this}_next(e){let t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}function q(e,t){return new b(t?n=>{const r=new d;let s=0;return r.add(t.schedule(function(){s!==e.length?(n.next(e[s++]),n.closed||r.add(this.schedule())):n.complete()})),r}:A(e))}function Z(e,t){if(!t)return e instanceof b?e:new b(V(e));if(null!=e){if(function(e){return e&&"function"==typeof e[_]}(e))return function(e,t){return new b(t?n=>{const r=new d;return r.add(t.schedule(()=>{const s=e[_]();r.add(s.subscribe({next(e){r.add(t.schedule(()=>n.next(e)))},error(e){r.add(t.schedule(()=>n.error(e)))},complete(){r.add(t.schedule(()=>n.complete()))}}))})),r}:U(e))}(e,t);if(L(e))return function(e,t){return new b(t?n=>{const r=new d;return r.add(t.schedule(()=>e.then(e=>{r.add(t.schedule(()=>{n.next(e),r.add(t.schedule(()=>n.complete()))}))},e=>{r.add(t.schedule(()=>n.error(e)))}))),r}:M(e))}(e,t);if(j(e))return q(e,t);if(function(e){return e&&"function"==typeof e[N]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new b(t?n=>{const r=new d;let s;return r.add(()=>{s&&"function"==typeof s.return&&s.return()}),r.add(t.schedule(()=>{s=e[N](),r.add(t.schedule(function(){if(n.closed)return;let e,t;try{const i=s.next();e=i.value,t=i.done}catch(r){return void n.error(r)}t?n.complete():(n.next(e),this.schedule())}))})),r}:D(e))}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}function G(e,t,n=Number.POSITIVE_INFINITY){return"function"==typeof t?r=>r.pipe(G((n,r)=>Z(e(n,r)).pipe(z((e,s)=>t(n,e,r,s))),n)):("number"==typeof t&&(n=t),t=>t.lift(new W(e,n)))}class W{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new Q(e,this.project,this.concurrent))}}class Q extends ${constructor(e,t,n=Number.POSITIVE_INFINITY){super(e),this.project=t,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}_tryNext(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(t,e,n)}_innerSub(e,t,n){const r=new R(this,void 0,void 0);this.destination.add(r),H(this,e,t,n,r)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(e,t,n,r,s){this.destination.next(t)}notifyComplete(e){const t=this.buffer;this.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function K(e){return e}function Y(e=Number.POSITIVE_INFINITY){return G(K,e)}function J(){return function(e){return e.lift(new X(e))}}class X{constructor(e){this.connectable=e}call(e,t){const{connectable:n}=this;n._refCount++;const r=new ee(e,n),s=t.subscribe(r);return r.closed||(r.connection=n.connect()),s}}class ee extends g{constructor(e,t){super(e),this.connectable=t}_unsubscribe(){const{connectable:e}=this;if(!e)return void(this.connection=null);this.connectable=null;const t=e._refCount;if(t<=0)return void(this.connection=null);if(e._refCount=t-1,t>1)return void(this.connection=null);const{connection:n}=this,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}const te=class extends b{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._refCount=0,this._isComplete=!1}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new d).add(this.source.subscribe(new re(this.getSubject(),this))),e.closed?(this._connection=null,e=d.EMPTY):this._connection=e),e}refCount(){return J()(this)}}.prototype,ne={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:te._subscribe},_isComplete:{value:te._isComplete,writable:!0},getSubject:{value:te.getSubject},connect:{value:te.connect},refCount:{value:te.refCount}};class re extends T{constructor(e,t){super(e),this.connectable=t}_error(e){this._unsubscribe(),super._error(e)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const e=this.connectable;if(e){this.connectable=null;const t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}function se(){return new P}const ie="__parameters__";function oe(e,t,n){const r=function(e){return function(...t){if(e){const n=e(...t);for(const e in n)this[e]=n[e]}}}(t);function s(...e){if(this instanceof s)return r.apply(this,e),this;const t=new s(...e);return n.annotation=t,n;function n(e,n,r){const s=e.hasOwnProperty(ie)?e[ie]:Object.defineProperty(e,ie,{value:[]})[ie];for(;s.length<=r;)s.push(null);return(s[r]=s[r]||[]).push(t),e}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s}const le=oe("Inject",e=>({token:e})),ae=oe("Optional"),ue=oe("Self"),ce=oe("SkipSelf");var he=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}({});function de(e){for(let t in e)if(e[t]===de)return t;throw Error("Could not find renamed property on target object.")}function pe(e){return{providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function fe(e){return e&&e.hasOwnProperty(ge)?e[ge]:null}const ge=de({ngInjectableDef:de});function me(e){if("string"==typeof e)return e;if(e instanceof Array)return"["+e.map(me).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}const _e=de({__forward_ref__:de});function ve(e){return e.__forward_ref__=ve,e.toString=function(){return me(this())},e}function we(e){const t=e;return"function"==typeof t&&t.hasOwnProperty(_e)&&t.__forward_ref__===ve?t():e}function ye(){const e="undefined"!=typeof globalThis&&globalThis,t="undefined"!=typeof window&&window,n="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,r="undefined"!=typeof global&&global;return e||r||t||n}const be=ye();let Ce,xe=void 0;function Se(e){const t=xe;return xe=e,t}function Ee(e,t=he.Default){return(Ce||function(e,t=he.Default){if(void 0===xe)throw new Error("inject() must be called from an injection context");return null===xe?function(e,t,n){const r=fe(e);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&he.Optional)return null;throw new Error(`Injector: NOT_FOUND [${me(e)}]`)}(e,0,t):xe.get(e,t&he.Optional?null:void 0,t)})(e,t)}class Te{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.ngInjectableDef=pe({providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return`InjectionToken ${this._desc}`}}const Pe="__source",Oe=new Object,ke=new Te("INJECTOR",-1);class Re{get(e,t=Oe){if(t===Oe){const t=new Error(`NullInjectorError: No provider for ${me(e)}!`);throw t.name="NullInjectorError",t}return t}}const Ae=(()=>{class e{static create(e,t){return Array.isArray(e)?new $e(e,t):new $e(e.providers,e.parent,e.name||null)}}return e.THROW_IF_NOT_FOUND=Oe,e.NULL=new Re,e.ngInjectableDef=pe({providedIn:"any",factory:()=>Ee(ke)}),e.__NG_ELEMENT_ID__=-1,e})(),Me=function(e){return e},Ie=[],Ne=Me,De=function(){return Array.prototype.slice.call(arguments)},Ue=de({provide:String,useValue:de}),je="ngTokenPath",Le="ngTempTokenPath",Ve=/\n/gm,He="\u0275";class $e{constructor(e,t=Ae.NULL,n=null){this.parent=t,this.source=n;const r=this._records=new Map;r.set(Ae,{token:Ae,fn:Me,deps:Ie,value:this,useNew:!1}),r.set(ke,{token:ke,fn:Me,deps:Ie,value:this,useNew:!1}),function e(t,n){if(n)if((n=we(n))instanceof Array)for(let r=0;r<n.length;r++)e(t,n[r]);else{if("function"==typeof n)throw Be("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw Be("Unexpected provider",n);{let e=we(n.provide);const r=function(e){const t=function(e){let t=Ie;const n=e.deps;if(n&&n.length){t=[];for(let e=0;e<n.length;e++){let r=6,s=we(n[e]);if(s instanceof Array)for(let e=0,t=s;e<t.length;e++){const n=t[e];n instanceof ae||n==ae?r|=1:n instanceof ce||n==ce?r&=-3:n instanceof ue||n==ue?r&=-5:s=n instanceof le?n.token:we(n)}t.push({token:s,options:r})}}else if(e.useExisting)t=[{token:we(e.useExisting),options:6}];else if(!(n||Ue in e))throw Be("'deps' required",e);return t}(e);let n=Me,r=Ie,s=!1,i=we(e.provide);if(Ue in e)r=e.useValue;else if(e.useFactory)n=e.useFactory;else if(e.useExisting);else if(e.useClass)s=!0,n=we(e.useClass);else{if("function"!=typeof i)throw Be("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",e);s=!0,n=i}return{deps:t,fn:n,useNew:s,value:r}}(n);if(!0===n.multi){let r=t.get(e);if(r){if(r.fn!==De)throw ze(e)}else t.set(e,r={token:n.provide,deps:[],useNew:!1,fn:De,value:Ie});r.deps.push({token:e=n,options:6})}const s=t.get(e);if(s&&s.fn==De)throw ze(e);t.set(e,r)}}}(r,e)}get(e,t,n=he.Default){const r=this._records.get(e);try{return function e(t,n,r,s,i,o){try{return function(t,n,r,s,i,o){let l;if(!n||o&he.SkipSelf)o&he.Self||(l=s.get(t,i,he.Default));else{if((l=n.value)==Ne)throw Error(He+"Circular dependency");if(l===Ie){n.value=Ne;let t=void 0,i=n.useNew,o=n.fn,a=n.deps,u=Ie;if(a.length){u=[];for(let t=0;t<a.length;t++){const n=a[t],i=n.options,o=2&i?r.get(n.token):void 0;u.push(e(n.token,o,r,o||4&i?s:Ae.NULL,1&i?null:Ae.THROW_IF_NOT_FOUND,he.Default))}}n.value=l=i?new o(...u):o.apply(t,u)}}return l}(t,n,r,s,i,o)}catch(l){throw l instanceof Error||(l=new Error(l)),(l[Le]=l[Le]||[]).unshift(t),n&&n.value==Ne&&(n.value=Ie),l}}(e,r,this._records,this.parent,t,n)}catch(s){return function(e,t,n,r){const s=e[Le];throw t[Pe]&&s.unshift(t[Pe]),e.message=Fe("\n"+e.message,s,"StaticInjectorError",r),e[je]=s,e[Le]=null,e}(s,e,0,this.source)}}toString(){const e=[];return this._records.forEach((t,n)=>e.push(me(n))),`StaticInjector[${e.join(", ")}]`}}function ze(e){return Be("Cannot mix multi providers and regular providers",e)}function Fe(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&e.charAt(1)==He?e.substr(2):e;let s=me(t);if(t instanceof Array)s=t.map(me).join(" -> ");else if("object"==typeof t){let e=[];for(let n in t)if(t.hasOwnProperty(n)){let r=t[n];e.push(n+":"+("string"==typeof r?JSON.stringify(r):me(r)))}s=`{${e.join(", ")}}`}return`${n}${r?"("+r+")":""}[${s}]: ${e.replace(Ve,"\n ")}`}function Be(e,t){return new Error(Fe(e,t,"StaticInjectorError"))}const qe="ngDebugContext",Ze="ngOriginalError",Ge="ngErrorLogger",We=new Te("AnalyzeForEntryComponents"),Qe=function(){var e={Emulated:0,Native:1,None:2,ShadowDom:3};return e[e.Emulated]="Emulated",e[e.Native]="Native",e[e.None]="None",e[e.ShadowDom]="ShadowDom",e}(),Ke=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(be))();function Ye(e){return e[qe]}function Je(e){return e[Ze]}function Xe(e,...t){e.error(...t)}class et{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e[Ge]||Xe}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(e){return e?Ye(e)?Ye(e):this._findContext(Je(e)):null}_findOriginalError(e){let t=Je(e);for(;t&&Je(t);)t=Je(t);return t}}let tt=!0,nt=!1;function rt(){return nt=!0,tt}class st{constructor(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertBodyElement=this.inertDocument.body,null==this.inertBodyElement){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e),this.inertBodyElement=this.inertDocument.createElement("body"),e.appendChild(this.inertBodyElement)}this.inertBodyElement.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}getInertBodyElement_XHR(e){e="<body><remove></remove>"+e+"</body>";try{e=encodeURI(e)}catch(r){return null}const t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(void 0);const n=t.response.body;return n.removeChild(n.firstChild),n}getInertBodyElement_DOMParser(e){e="<body><remove></remove>"+e+"</body>";try{const n=(new window.DOMParser).parseFromString(e,"text/html").body;return n.removeChild(n.firstChild),n}catch(t){return null}}getInertBodyElement_InertDocument(e){const t=this.inertDocument.createElement("template");return"content"in t?(t.innerHTML=e,t):(this.inertBodyElement.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)}stripCustomNsAttrs(e){const t=e.attributes;for(let r=t.length-1;0<r;r--){const n=t.item(r).name;"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||e.removeAttribute(n)}let n=e.firstChild;for(;n;)n.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(n),n=n.nextSibling}}const it=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:\/?#]*(?:[\/?#]|$))/gi,ot=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function lt(e){return(e=String(e)).match(it)||e.match(ot)?e:(rt()&&console.warn(`WARNING: sanitizing unsafe URL value ${e} (see http://g.co/ng/security#xss)`),"unsafe:"+e)}function at(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function ut(...e){const t={};for(const n of e)for(const e in n)n.hasOwnProperty(e)&&(t[e]=!0);return t}const ct=at("area,br,col,hr,img,wbr"),ht=at("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),dt=at("rp,rt"),pt=ut(dt,ht),ft=ut(ct,ut(ht,at("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),ut(dt,at("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),pt),gt=at("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),mt=at("srcset"),_t=ut(gt,mt,at("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),at("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),vt=at("script,style,template");class wt{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let t=e.firstChild,n=!0;for(;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let e=this.checkClobberedElement(t,t.nextSibling);if(e){t=e;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(e){const t=e.nodeName.toLowerCase();if(!ft.hasOwnProperty(t))return this.sanitizedSomething=!0,!vt.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const n=e.attributes;for(let s=0;s<n.length;s++){const e=n.item(s),t=e.name,i=t.toLowerCase();if(!_t.hasOwnProperty(i)){this.sanitizedSomething=!0;continue}let o=e.value;gt[i]&&(o=lt(o)),mt[i]&&(r=o,o=(r=String(r)).split(",").map(e=>lt(e.trim())).join(", ")),this.buf.push(" ",t,'="',Ct(o),'"')}var r;return this.buf.push(">"),!0}endElement(e){const t=e.nodeName.toLowerCase();ft.hasOwnProperty(t)&&!ct.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(Ct(e))}checkClobberedElement(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`);return t}}const yt=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,bt=/([^\#-~ |!])/g;function Ct(e){return e.replace(/&/g,"&").replace(yt,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(bt,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let xt;function St(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}const Et=function(){var e={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};return e[e.NONE]="NONE",e[e.HTML]="HTML",e[e.STYLE]="STYLE",e[e.SCRIPT]="SCRIPT",e[e.URL]="URL",e[e.RESOURCE_URL]="RESOURCE_URL",e}();class Tt{}const Pt=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),Ot=/^url\(([^)]+)\)$/,kt=/([A-Z])/g;function Rt(e){try{return null!=e?e.toString().slice(0,30):e}catch(t){return"[ERROR] Exception while trying to serialize the value"}}function At(e){return!!e&&"function"==typeof e.then}function Mt(e){return!!e&&"function"==typeof e.subscribe}let It=null;function Nt(){if(!It){const e=be.Symbol;if(e&&e.iterator)It=e.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;t<e.length;++t){const n=e[t];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(It=n)}}}return It}function Dt(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}function Ut(e,t){const n=Lt(e),r=Lt(t);if(n&&r)return function(e,t,n){const r=e[Nt()](),s=t[Nt()]();for(;;){const e=r.next(),t=s.next();if(e.done&&t.done)return!0;if(e.done||t.done)return!1;if(!n(e.value,t.value))return!1}}(e,t,Ut);{const s=e&&("object"==typeof e||"function"==typeof e),i=t&&("object"==typeof t||"function"==typeof t);return!(n||!s||r||!i)||Dt(e,t)}}class jt{constructor(e){this.wrapped=e}static wrap(e){return new jt(e)}static unwrap(e){return jt.isWrapped(e)?e.wrapped:e}static isWrapped(e){return e instanceof jt}}function Lt(e){return!!Vt(e)&&(Array.isArray(e)||!(e instanceof Map)&&Nt()in e)}function Vt(e){return null!==e&&("function"==typeof e||"object"==typeof e)}class Ht{constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}}const $t=new Te("The presence of this token marks an injector as being the root injector.");class zt{}class Ft{}function Bt(e){const t=Error(`No component factory found for ${me(e)}. Did you add it to @NgModule.entryComponents?`);return t[qt]=e,t}const qt="ngComponent";class Zt{resolveComponentFactory(e){throw Bt(e)}}const Gt=(()=>{class e{}return e.NULL=new Zt,e})();class Wt{constructor(e,t,n){this._parent=t,this._ngModule=n,this._factories=new Map;for(let r=0;r<e.length;r++){const t=e[r];this._factories.set(t.componentType,t)}}resolveComponentFactory(e){let t=this._factories.get(e);if(!t&&this._parent&&(t=this._parent.resolveComponentFactory(e)),!t)throw Bt(e);return new Qt(t,this._ngModule)}}class Qt extends Ft{constructor(e,t){super(),this.factory=e,this.ngModule=t,this.selector=e.selector,this.componentType=e.componentType,this.ngContentSelectors=e.ngContentSelectors,this.inputs=e.inputs,this.outputs=e.outputs}create(e,t,n,r){return this.factory.create(e,t,n,r||this.ngModule)}}class Kt{}class Yt{}function Jt(...e){}const Xt=(()=>{class e{constructor(e){this.nativeElement=e}}return e.__NG_ELEMENT_ID__=(()=>en(e)),e})(),en=Jt;class tn{}class nn{}const rn=function(){var e={Important:1,DashCase:2};return e[e.Important]="Important",e[e.DashCase]="DashCase",e}(),sn=(()=>{class e{}return e.__NG_ELEMENT_ID__=(()=>on()),e})(),on=Jt;class ln{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const an=new ln("8.0.2");class un{constructor(){}supports(e){return Lt(e)}create(e){return new hn(e)}}const cn=(e,t)=>t;class hn{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||cn}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,n=this._removalsHead,r=0,s=null;for(;t||n;){const i=!n||t&&t.currentIndex<gn(n,r,s)?t:n,o=gn(i,r,s),l=i.currentIndex;if(i===n)r--,n=n._nextRemoved;else if(t=t._next,null==i.previousIndex)r++;else{s||(s=[]);const e=o-r,t=l-r;if(e!=t){for(let n=0;n<e;n++){const r=n<s.length?s[n]:s[n]=0,i=r+n;t<=i&&i<e&&(s[n]=r+1)}s[i.previousIndex]=t-e}}o!==l&&e(i,o,l)}}forEachPreviousItem(e){let t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachMovedItem(e){let t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}forEachIdentityChange(e){let t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)}diff(e){if(null==e&&(e=[]),!Lt(e))throw new Error(`Error trying to diff '${me(e)}'. Only arrays and iterables are allowed`);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t,n,r,s=this._itHead,i=!1;if(Array.isArray(e)){this.length=e.length;for(let t=0;t<this.length;t++)r=this._trackByFn(t,n=e[t]),null!==s&&Dt(s.trackById,r)?(i&&(s=this._verifyReinsertion(s,n,r,t)),Dt(s.item,n)||this._addIdentityChange(s,n)):(s=this._mismatch(s,n,r,t),i=!0),s=s._next}else t=0,function(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Nt()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(e,e=>{r=this._trackByFn(t,e),null!==s&&Dt(s.trackById,r)?(i&&(s=this._verifyReinsertion(s,e,r,t)),Dt(s.item,e)||this._addIdentityChange(s,e)):(s=this._mismatch(s,e,r,t),i=!0),s=s._next,t++}),this.length=t;return this._truncate(s),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e,t;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=t)e.previousIndex=e.currentIndex,t=e._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,n,r){let s;return null===e?s=this._itTail:(s=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Dt(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,s,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Dt(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,s,r)):e=this._addAfter(new dn(t,n),s,r),e}_verifyReinsertion(e,t,n,r){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==s?e=this._reinsertAfter(s,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const r=e._prevRemoved,s=e._nextRemoved;return null===r?this._removalsHead=s:r._nextRemoved=s,null===s?this._removalsTail=r:s._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e}_moveAfter(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}_addAfter(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,t,n){const r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new fn),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e}_addToMoves(e,t){return e.previousIndex===t?e:(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e,e)}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new fn),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class dn{constructor(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class pn{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&Dt(n.trackById,e))return n;return null}remove(e){const t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head}}class fn{constructor(){this.map=new Map}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new pn,this.map.set(t,n)),n.add(e)}get(e,t){const n=this.map.get(e);return n?n.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function gn(e,t,n){const r=e.previousIndex;if(null===r)return r;let s=0;return n&&r<n.length&&(s=n[r]),r+t+s}class mn{constructor(){}supports(e){return e instanceof Map||Vt(e)}create(){return new _n}}class _n{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(e){let t;for(t=this._mapHead;null!==t;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}diff(e){if(e){if(!(e instanceof Map||Vt(e)))throw new Error(`Error trying to diff '${me(e)}'. Only maps and objects are allowed`)}else e=new Map;return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(e,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{const r=this._getOrCreateRecordForKey(n,e);t=this._insertBeforeOrAppend(t,r)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let e=t;null!==e;e=e._nextRemoved)e===this._mapHead&&(this._mapHead=null),this._records.delete(e.key),e._nextRemoved=e._next,e.previousValue=e.currentValue,e.currentValue=null,e._prev=null,e._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){const n=this._records.get(e);this._maybeAddToChanges(n,t);const r=n._prev,s=n._next;return r&&(r._next=s),s&&(s._prev=r),n._next=null,n._prev=null,n}const n=new vn(e);return this._records.set(e,n),n.currentValue=t,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Dt(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(n=>t(e[n],n))}}class vn{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}const wn=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(null!=n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>{if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,n)},deps:[[e,new ce,new ae]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(null!=t)return t;throw new Error(`Cannot find a differ supporting object '${e}' of type '${n=e,n.name||typeof n}'`);var n}}return e.ngInjectableDef=pe({providedIn:"root",factory:()=>new e([new un])}),e})(),yn=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>{if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,n)},deps:[[e,new ce,new ae]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(t)return t;throw new Error(`Cannot find a differ supporting object '${e}'`)}}return e.ngInjectableDef=pe({providedIn:"root",factory:()=>new e([new mn])}),e})(),bn=(()=>{class e{}return e.__NG_ELEMENT_ID__=(()=>Cn()),e})(),Cn=(...e)=>{},xn=[new mn],Sn=new wn([new un]),En=new yn(xn),Tn=(()=>{class e{}return e.__NG_ELEMENT_ID__=(()=>Pn(e,Xt)),e})(),Pn=Jt,On=(()=>{class e{}return e.__NG_ELEMENT_ID__=(()=>kn(e,Xt)),e})(),kn=Jt;function Rn(e,t,n,r){let s=`ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '${t}'. Current value: '${n}'.`;return r&&(s+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),function(e,t){const n=new Error(e);return An(n,t),n}(s,e)}function An(e,t){e[qe]=t,e[Ge]=t.logError.bind(t)}function Mn(e){return new Error(`ViewDestroyedError: Attempt to use a destroyed view: ${e}`)}function In(e,t,n){const r=e.state,s=1792&r;return s===t?(e.state=-1793&r|n,e.initIndex=-1,!0):s===n}function Nn(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}function Dn(e,t){return e.nodes[t]}function Un(e,t){return e.nodes[t]}function jn(e,t){return e.nodes[t]}function Ln(e,t){return e.nodes[t]}function Vn(e,t){return e.nodes[t]}const Hn={setCurrentNode:void 0,createRootView:void 0,createEmbeddedView:void 0,createComponentView:void 0,createNgModuleRef:void 0,overrideProvider:void 0,overrideComponentView:void 0,clearOverrides:void 0,checkAndUpdateView:void 0,checkNoChangesView:void 0,destroyView:void 0,resolveDep:void 0,createDebugContext:void 0,handleEvent:void 0,updateDirectives:void 0,updateRenderer:void 0,dirtyParentQueries:void 0},$n=()=>{},zn=new Map;function Fn(e){let t=zn.get(e);return t||(t=me(e)+"_"+zn.size,zn.set(e,t)),t}const Bn="$$undefined",qn="$$empty";function Zn(e){return{id:Bn,styles:e.styles,encapsulation:e.encapsulation,data:e.data}}let Gn=0;function Wn(e,t,n,r){return!(!(2&e.state)&&Dt(e.oldValues[t.bindingIndex+n],r))}function Qn(e,t,n,r){return!!Wn(e,t,n,r)&&(e.oldValues[t.bindingIndex+n]=r,!0)}function Kn(e,t,n,r){const s=e.oldValues[t.bindingIndex+n];if(1&e.state||!Ut(s,r)){const i=t.bindings[n].name;throw Rn(Hn.createDebugContext(e,t.nodeIndex),`${i}: ${s}`,`${i}: ${r}`,0!=(1&e.state))}}function Yn(e){let t=e;for(;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function Jn(e,t){let n=e;for(;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function Xn(e,t,n,r){try{return Yn(33554432&e.def.nodes[t].flags?Un(e,t).componentView:e),Hn.handleEvent(e,t,n,r)}catch(s){e.root.errorHandler.handleError(s)}}function er(e){return e.parent?Un(e.parent,e.parentNodeDef.nodeIndex):null}function tr(e){return e.parent?e.parentNodeDef.parent:null}function nr(e,t){switch(201347067&t.flags){case 1:return Un(e,t.nodeIndex).renderElement;case 2:return Dn(e,t.nodeIndex).renderText}}function rr(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function sr(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function ir(e){const t={};let n=0;const r={};return e&&e.forEach(([e,s])=>{"number"==typeof e?(t[e]=s,n|=function(e){return 1<<e%32}(e)):r[e]=s}),{matchedQueries:t,references:r,matchedQueryIds:n}}function or(e,t){return e.map(e=>{let n,r;return Array.isArray(e)?[r,n]=e:(r=0,n=e),n&&("function"==typeof n||"object"==typeof n)&&t&&Object.defineProperty(n,Pe,{value:t,configurable:!0}),{flags:r,token:n,tokenKey:Fn(n)}})}function lr(e,t,n){let r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&r.element.componentRendererType.encapsulation===Qe.Native?Un(e,n.renderParent.nodeIndex).renderElement:void 0:t}const ar=new WeakMap;function ur(e){let t=ar.get(e);return t||((t=e(()=>$n)).factory=e,ar.set(e,t)),t}function cr(e,t,n,r,s){3===t&&(n=e.renderer.parentNode(nr(e,e.def.lastRenderRootNode))),hr(e,t,0,e.def.nodes.length-1,n,r,s)}function hr(e,t,n,r,s,i,o){for(let l=n;l<=r;l++){const n=e.def.nodes[l];11&n.flags&&pr(e,n,t,s,i,o),l+=n.childCount}}function dr(e,t,n,r,s,i){let o=e;for(;o&&!rr(o);)o=o.parent;const l=o.parent,a=tr(o),u=a.nodeIndex+a.childCount;for(let c=a.nodeIndex+1;c<=u;c++){const e=l.def.nodes[c];e.ngContentIndex===t&&pr(l,e,n,r,s,i),c+=e.childCount}if(!l.parent){const o=e.root.projectableNodes[t];if(o)for(let t=0;t<o.length;t++)fr(e,o[t],n,r,s,i)}}function pr(e,t,n,r,s,i){if(8&t.flags)dr(e,t.ngContent.index,n,r,s,i);else{const o=nr(e,t);if(3===n&&33554432&t.flags&&48&t.bindingFlags?(16&t.bindingFlags&&fr(e,o,n,r,s,i),32&t.bindingFlags&&fr(Un(e,t.nodeIndex).componentView,o,n,r,s,i)):fr(e,o,n,r,s,i),16777216&t.flags){const o=Un(e,t.nodeIndex).viewContainer._embeddedViews;for(let e=0;e<o.length;e++)cr(o[e],n,r,s,i)}1&t.flags&&!t.element.name&&hr(e,n,t.nodeIndex+1,t.nodeIndex+t.childCount,r,s,i)}}function fr(e,t,n,r,s,i){const o=e.renderer;switch(n){case 1:o.appendChild(r,t);break;case 2:o.insertBefore(r,t,s);break;case 3:o.removeChild(r,t);break;case 0:i.push(t)}}const gr=/^:([^:]+):(.+)$/;function mr(e){if(":"===e[0]){const t=e.match(gr);return[t[1],t[2]]}return["",e]}function _r(e){let t=0;for(let n=0;n<e.length;n++)t|=e[n].flags;return t}const vr=new Object,wr=Fn(Ae),yr=Fn(ke),br=Fn(Kt);function Cr(e,t,n,r){return n=we(n),{index:-1,deps:or(r,me(t)),flags:e,token:t,value:n}}function xr(e,t,n=Ae.THROW_IF_NOT_FOUND){const r=Se(e);try{if(8&t.flags)return t.token;if(2&t.flags&&(n=null),1&t.flags)return e._parent.get(t.token,n);const o=t.tokenKey;switch(o){case wr:case yr:case br:return e}const l=e._def.providersByKey[o];let a;if(l){let t=e._providers[l.index];return void 0===t&&(t=e._providers[l.index]=Sr(e,l)),t===vr?void 0:t}if((a=fe(t.token))&&(s=e,null!=(i=a).providedIn&&(function(e,t){return e._def.modules.indexOf(i.providedIn)>-1}(s)||"root"===i.providedIn&&s._def.isRoot))){const n=e._providers.length;return e._def.providers[n]=e._def.providersByKey[t.tokenKey]={flags:5120,value:a.factory,deps:[],index:n,token:t.token},e._providers[n]=vr,e._providers[n]=Sr(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{Se(r)}var s,i}function Sr(e,t){let n;switch(201347067&t.flags){case 512:n=function(e,t,n){const r=n.length;switch(r){case 0:return new t;case 1:return new t(xr(e,n[0]));case 2:return new t(xr(e,n[0]),xr(e,n[1]));case 3:return new t(xr(e,n[0]),xr(e,n[1]),xr(e,n[2]));default:const s=new Array(r);for(let t=0;t<r;t++)s[t]=xr(e,n[t]);return new t(...s)}}(e,t.value,t.deps);break;case 1024:n=function(e,t,n){const r=n.length;switch(r){case 0:return t();case 1:return t(xr(e,n[0]));case 2:return t(xr(e,n[0]),xr(e,n[1]));case 3:return t(xr(e,n[0]),xr(e,n[1]),xr(e,n[2]));default:const s=Array(r);for(let t=0;t<r;t++)s[t]=xr(e,n[t]);return t(...s)}}(e,t.value,t.deps);break;case 2048:n=xr(e,t.deps[0]);break;case 256:n=t.value}return n===vr||null===n||"object"!=typeof n||131072&t.flags||"function"!=typeof n.ngOnDestroy||(t.flags|=131072),void 0===n?vr:n}function Er(e,t){const n=e.viewContainer._embeddedViews;if((null==t||t>=n.length)&&(t=n.length-1),t<0)return null;const r=n[t];return r.viewContainerParent=null,kr(n,t),Hn.dirtyParentQueries(r),Pr(r),r}function Tr(e,t,n){const r=t?nr(t,t.def.lastRenderRootNode):e.renderElement,s=n.renderer.parentNode(r),i=n.renderer.nextSibling(r);cr(n,2,s,i,void 0)}function Pr(e){cr(e,3,null,null,void 0)}function Or(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function kr(e,t){t>=e.length-1?e.pop():e.splice(t,1)}const Rr=new Object;function Ar(e,t,n,r,s,i){return new Mr(e,t,n,r,s,i)}class Mr extends Ft{constructor(e,t,n,r,s,i){super(),this.selector=e,this.componentType=t,this._inputs=r,this._outputs=s,this.ngContentSelectors=i,this.viewDefFactory=n}get inputs(){const e=[],t=this._inputs;for(let n in t)e.push({propName:n,templateName:t[n]});return e}get outputs(){const e=[];for(let t in this._outputs)e.push({propName:t,templateName:this._outputs[t]});return e}create(e,t,n,r){if(!r)throw new Error("ngModule should be provided");const s=ur(this.viewDefFactory),i=s.nodes[0].element.componentProvider.nodeIndex,o=Hn.createRootView(e,t||[],n,s,r,Rr),l=jn(o,i).instance;return n&&o.renderer.setAttribute(Un(o,0).renderElement,"ng-version",an.full),new Ir(o,new jr(o),l)}}class Ir extends zt{constructor(e,t,n){super(),this._view=e,this._viewRef=t,this._component=n,this._elDef=this._view.def.nodes[0],this.hostView=t,this.changeDetectorRef=t,this.instance=n}get location(){return new Xt(Un(this._view,this._elDef.nodeIndex).renderElement)}get injector(){return new $r(this._view,this._elDef)}get componentType(){return this._component.constructor}destroy(){this._viewRef.destroy()}onDestroy(e){this._viewRef.onDestroy(e)}}function Nr(e,t,n){return new Dr(e,t,n)}class Dr{constructor(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}get element(){return new Xt(this._data.renderElement)}get injector(){return new $r(this._view,this._elDef)}get parentInjector(){let e=this._view,t=this._elDef.parent;for(;!t&&e;)t=tr(e),e=e.parent;return e?new $r(e,t):new $r(this._view,null)}clear(){for(let e=this._embeddedViews.length-1;e>=0;e--){const t=Er(this._data,e);Hn.destroyView(t)}}get(e){const t=this._embeddedViews[e];if(t){const e=new jr(t);return e.attachToViewContainerRef(this),e}return null}get length(){return this._embeddedViews.length}createEmbeddedView(e,t,n){const r=e.createEmbeddedView(t||{});return this.insert(r,n),r}createComponent(e,t,n,r,s){const i=n||this.parentInjector;s||e instanceof Qt||(s=i.get(Kt));const o=e.create(i,r,void 0,s);return this.insert(o.hostView,t),o}insert(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");const n=e;return function(e,t,n,r){let s=t.viewContainer._embeddedViews;null==n&&(n=s.length),r.viewContainerParent=e,Or(s,n,r),function(e,t){const n=er(t);if(!n||n===e||16&t.state)return;t.state|=16;let r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(t),function(e,n){if(4&n.flags)return;t.parent.def.nodeFlags|=4,n.flags|=4;let r=n.parent;for(;r;)r.childFlags|=4,r=r.parent}(0,t.parentNodeDef)}(t,r),Hn.dirtyParentQueries(r),Tr(t,n>0?s[n-1]:null,r)}(this._view,this._data,t,n._view),n.attachToViewContainerRef(this),e}move(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");const n=this._embeddedViews.indexOf(e._view);return function(e,t,r){const s=e.viewContainer._embeddedViews,i=s[n];kr(s,n),null==r&&(r=s.length),Or(s,r,i),Hn.dirtyParentQueries(i),Pr(i),Tr(e,r>0?s[r-1]:null,i)}(this._data,0,t),e}indexOf(e){return this._embeddedViews.indexOf(e._view)}remove(e){const t=Er(this._data,e);t&&Hn.destroyView(t)}detach(e){const t=Er(this._data,e);return t?new jr(t):null}}function Ur(e){return new jr(e)}class jr{constructor(e){this._view=e,this._viewContainerRef=null,this._appRef=null}get rootNodes(){return function(e){const t=[];return cr(e,0,void 0,void 0,t),t}(this._view)}get context(){return this._view.context}get destroyed(){return 0!=(128&this._view.state)}markForCheck(){Yn(this._view)}detach(){this._view.state&=-5}detectChanges(){const e=this._view.root.rendererFactory;e.begin&&e.begin();try{Hn.checkAndUpdateView(this._view)}finally{e.end&&e.end()}}checkNoChanges(){Hn.checkNoChangesView(this._view)}reattach(){this._view.state|=4}onDestroy(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)}destroy(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Hn.destroyView(this._view)}detachFromAppRef(){this._appRef=null,Pr(this._view),Hn.dirtyParentQueries(this._view)}attachToAppRef(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}attachToViewContainerRef(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}}function Lr(e,t){return new Vr(e,t)}class Vr extends Tn{constructor(e,t){super(),this._parentView=e,this._def=t}createEmbeddedView(e){return new jr(Hn.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))}get elementRef(){return new Xt(Un(this._parentView,this._def.nodeIndex).renderElement)}}function Hr(e,t){return new $r(e,t)}class $r{constructor(e,t){this.view=e,this.elDef=t}get(e,t=Ae.THROW_IF_NOT_FOUND){return Hn.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:Fn(e)},t)}}function zr(e){return new Fr(e.renderer)}class Fr{constructor(e){this.delegate=e}selectRootElement(e){return this.delegate.selectRootElement(e)}createElement(e,t){const[n,r]=mr(t),s=this.delegate.createElement(r,n);return e&&this.delegate.appendChild(e,s),s}createViewRoot(e){return e}createTemplateAnchor(e){const t=this.delegate.createComment("");return e&&this.delegate.appendChild(e,t),t}createText(e,t){const n=this.delegate.createText(t);return e&&this.delegate.appendChild(e,n),n}projectNodes(e,t){for(let n=0;n<t.length;n++)this.delegate.appendChild(e,t[n])}attachViewAfter(e,t){const n=this.delegate.parentNode(e),r=this.delegate.nextSibling(e);for(let s=0;s<t.length;s++)this.delegate.insertBefore(n,t[s],r)}detachView(e){for(let t=0;t<e.length;t++){const n=e[t],r=this.delegate.parentNode(n);this.delegate.removeChild(r,n)}}destroyView(e,t){for(let n=0;n<t.length;n++)this.delegate.destroyNode(t[n])}listen(e,t,n){return this.delegate.listen(e,t,n)}listenGlobal(e,t,n){return this.delegate.listen(e,t,n)}setElementProperty(e,t,n){this.delegate.setProperty(e,t,n)}setElementAttribute(e,t,n){const[r,s]=mr(t);null!=n?this.delegate.setAttribute(e,s,n,r):this.delegate.removeAttribute(e,s,r)}setBindingDebugInfo(e,t,n){}setElementClass(e,t,n){n?this.delegate.addClass(e,t):this.delegate.removeClass(e,t)}setElementStyle(e,t,n){null!=n?this.delegate.setStyle(e,t,n):this.delegate.removeStyle(e,t)}invokeElementMethod(e,t,n){e[t].apply(e,n)}setText(e,t){this.delegate.setValue(e,t)}animate(){throw new Error("Renderer.animate is no longer supported!")}}function Br(e,t,n,r){return new qr(e,t,n,r)}class qr{constructor(e,t,n,r){this._moduleType=e,this._parent=t,this._bootstrapComponents=n,this._def=r,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(e){const t=e._def,n=e._providers=new Array(t.providers.length);for(let r=0;r<t.providers.length;r++){const s=t.providers[r];4096&s.flags||void 0===n[r]&&(n[r]=Sr(e,s))}}(this)}get(e,t=Ae.THROW_IF_NOT_FOUND,n=he.Default){let r=0;return n&he.SkipSelf?r|=1:n&he.Self&&(r|=4),xr(this,{token:e,tokenKey:Fn(e),flags:r},t)}get instance(){return this.get(this._moduleType)}get componentFactoryResolver(){return this.get(Gt)}destroy(){if(this._destroyed)throw new Error(`The ng module ${me(this.instance.constructor)} has already been destroyed.`);this._destroyed=!0,function(e,t){const n=e._def,r=new Set;for(let s=0;s<n.providers.length;s++)if(131072&n.providers[s].flags){const t=e._providers[s];if(t&&t!==vr){const e=t.ngOnDestroy;"function"!=typeof e||r.has(t)||(e.apply(t),r.add(t))}}}(this),this._destroyListeners.forEach(e=>e())}onDestroy(e){this._destroyListeners.push(e)}}const Zr=Fn(tn),Gr=Fn(sn),Wr=Fn(Xt),Qr=Fn(On),Kr=Fn(Tn),Yr=Fn(bn),Jr=Fn(Ae),Xr=Fn(ke);function es(e,t,n,r,s,i,o,l){const a=[];if(o)for(let c in o){const[e,t]=o[c];a[e]={flags:8,name:c,nonMinifiedName:t,ns:null,securityContext:null,suffix:null}}const u=[];if(l)for(let c in l)u.push({type:1,propName:c,target:null,eventName:l[c]});return function(e,t,n,r,s,i,o,l,a){const{matchedQueries:u,references:c,matchedQueryIds:h}=ir(n);a||(a=[]),l||(l=[]),i=we(i);const d=or(o,me(s));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:u,matchedQueryIds:h,references:c,ngContentIndex:-1,childCount:r,bindings:l,bindingFlags:_r(l),outputs:a,element:null,provider:{token:s,value:i,deps:d},text:null,query:null,ngContent:null}}(e,t|=16384,n,r,s,s,i,a,u)}function ts(e,t){return is(e,t)}function ns(e,t){let n=e;for(;n.parent&&!rr(n);)n=n.parent;return os(n.parent,tr(n),!0,t.provider.value,t.provider.deps)}function rs(e,t){const n=os(e,t.parent,(32768&t.flags)>0,t.provider.value,t.provider.deps);if(t.outputs.length)for(let r=0;r<t.outputs.length;r++){const s=t.outputs[r],i=n[s.propName];if(!Mt(i))throw new Error(`@Output ${s.propName} not initialized in '${n.constructor.name}'.`);{const n=i.subscribe(ss(e,t.parent.nodeIndex,s.eventName));e.disposables[t.outputIndex+r]=n.unsubscribe.bind(n)}}return n}function ss(e,t,n){return r=>Xn(e,t,n,r)}function is(e,t){const n=(8192&t.flags)>0,r=t.provider;switch(201347067&t.flags){case 512:return os(e,t.parent,n,r.value,r.deps);case 1024:return function(e,t,n,r,s){const i=s.length;switch(i){case 0:return r();case 1:return r(as(e,t,n,s[0]));case 2:return r(as(e,t,n,s[0]),as(e,t,n,s[1]));case 3:return r(as(e,t,n,s[0]),as(e,t,n,s[1]),as(e,t,n,s[2]));default:const o=Array(i);for(let r=0;r<i;r++)o[r]=as(e,t,n,s[r]);return r(...o)}}(e,t.parent,n,r.value,r.deps);case 2048:return as(e,t.parent,n,r.deps[0]);case 256:return r.value}}function os(e,t,n,r,s){const i=s.length;switch(i){case 0:return new r;case 1:return new r(as(e,t,n,s[0]));case 2:return new r(as(e,t,n,s[0]),as(e,t,n,s[1]));case 3:return new r(as(e,t,n,s[0]),as(e,t,n,s[1]),as(e,t,n,s[2]));default:const o=new Array(i);for(let r=0;r<i;r++)o[r]=as(e,t,n,s[r]);return new r(...o)}}const ls={};function as(e,t,n,r,s=Ae.THROW_IF_NOT_FOUND){if(8&r.flags)return r.token;const i=e;2&r.flags&&(s=null);const o=r.tokenKey;o===Yr&&(n=!(!t||!t.element.componentView)),t&&1&r.flags&&(n=!1,t=t.parent);let l=e;for(;l;){if(t)switch(o){case Zr:return zr(us(l,t,n));case Gr:return us(l,t,n).renderer;case Wr:return new Xt(Un(l,t.nodeIndex).renderElement);case Qr:return Un(l,t.nodeIndex).viewContainer;case Kr:if(t.element.template)return Un(l,t.nodeIndex).template;break;case Yr:return Ur(us(l,t,n));case Jr:case Xr:return Hr(l,t);default:const e=(n?t.element.allProviders:t.element.publicProviders)[o];if(e){let t=jn(l,e.nodeIndex);return t||(t={instance:is(l,e)},l.nodes[e.nodeIndex]=t),t.instance}}n=rr(l),t=tr(l),l=l.parent,4&r.flags&&(l=null)}const a=i.root.injector.get(r.token,ls);return a!==ls||s===ls?a:i.root.ngModule.injector.get(r.token,s)}function us(e,t,n){let r;if(n)r=Un(e,t.nodeIndex).componentView;else for(r=e;r.parent&&!rr(r);)r=r.parent;return r}function cs(e,t,n,r,s,i){if(32768&n.flags){const t=Un(e,n.parent.nodeIndex).componentView;2&t.def.flags&&(t.state|=8)}if(t.instance[n.bindings[r].name]=s,524288&n.flags){i=i||{};const t=jt.unwrap(e.oldValues[n.bindingIndex+r]);i[n.bindings[r].nonMinifiedName]=new Ht(t,s,0!=(2&e.state))}return e.oldValues[n.bindingIndex+r]=s,i}function hs(e,t){if(!(e.def.nodeFlags&t))return;const n=e.def.nodes;let r=0;for(let s=0;s<n.length;s++){const i=n[s];let o=i.parent;for(!o&&i.flags&t&&ps(e,s,i.flags&t,r++),0==(i.childFlags&t)&&(s+=i.childCount);o&&1&o.flags&&s===o.nodeIndex+o.childCount;)o.directChildFlags&t&&(r=ds(e,o,t,r)),o=o.parent}}function ds(e,t,n,r){for(let s=t.nodeIndex+1;s<=t.nodeIndex+t.childCount;s++){const t=e.def.nodes[s];t.flags&n&&ps(e,s,t.flags&n,r++),s+=t.childCount}return r}function ps(e,t,n,r){const s=jn(e,t);if(!s)return;const i=s.instance;i&&(Hn.setCurrentNode(e,t),1048576&n&&Nn(e,512,r)&&i.ngAfterContentInit(),2097152&n&&i.ngAfterContentChecked(),4194304&n&&Nn(e,768,r)&&i.ngAfterViewInit(),8388608&n&&i.ngAfterViewChecked(),131072&n&&i.ngOnDestroy())}const fs=new Te("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Ke});class gs extends P{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,n){let r,s=e=>null,i=()=>null;e&&"object"==typeof e?(r=this.__isAsync?t=>{setTimeout(()=>e.next(t))}:t=>{e.next(t)},e.error&&(s=this.__isAsync?t=>{setTimeout(()=>e.error(t))}:t=>{e.error(t)}),e.complete&&(i=this.__isAsync?()=>{setTimeout(()=>e.complete())}:()=>{e.complete()})):(r=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)},t&&(s=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)}),n&&(i=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const o=super.subscribe(r,s,i);return e instanceof d&&e.add(o),o}}class ms{constructor(){this.dirty=!0,this._results=[],this.changes=new gs,this.length=0}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}[Nt()](){return this._results[Nt()]()}toString(){return this._results.toString()}reset(e){this._results=function e(t,n){void 0===n&&(n=t);for(let r=0;r<t.length;r++){let s=t[r];Array.isArray(s)?(n===t&&(n=t.slice(0,r)),e(s,n)):n!==t&&n.push(s)}return n}(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]}notifyOnChanges(){this.changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}class _s{}const vs=new Te("Application Initializer"),ws=(()=>(class{constructor(e){this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}runInitializers(){if(this.initialized)return;const e=[],t=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n<this.appInits.length;n++){const t=this.appInits[n]();At(t)&&e.push(t)}Promise.all(e).then(()=>{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}}))(),ys=new Te("AppId");function bs(){return`${Cs()}${Cs()}${Cs()}`}function Cs(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const xs=new Te("Platform Initializer"),Ss=new Te("Platform ID"),Es=new Te("appBootstrapListener"),Ts=(()=>(class{log(e){console.log(e)}warn(e){console.warn(e)}}))();function Ps(){throw new Error("Runtime compiler is not loaded")}const Os=Ps,ks=Ps,Rs=Ps,As=Ps,Ms=(()=>(class{constructor(){this.compileModuleSync=Os,this.compileModuleAsync=ks,this.compileModuleAndAllComponentsSync=Rs,this.compileModuleAndAllComponentsAsync=As}clearCache(){}clearCacheFor(e){}getModuleId(e){}}))();class Is{}let Ns,Ds;function Us(){const e=be.wtf;return!(!e||!(Ns=e.trace)||(Ds=Ns.events,0))}const js=Us(),Ls=js?function(e,t=null){return Ds.createScope(e,t)}:(e,t)=>(function(e,t){return null}),Vs=js?function(e,t){return Ns.leaveScope(e,t),t}:(e,t)=>t,Hs=(()=>Promise.resolve(0))();function $s(e){"undefined"==typeof Zone?Hs.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class zs{constructor({enableLongStackTrace:e=!1}){if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new gs(!1),this.onMicrotaskEmpty=new gs(!1),this.onStable=new gs(!1),this.onError=new gs(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");var t;Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),(t=this)._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,n,r,s,i,o)=>{try{return Zs(t),e.invokeTask(r,s,i,o)}finally{Gs(t)}},onInvoke:(e,n,r,s,i,o,l)=>{try{return Zs(t),e.invoke(r,s,i,o,l)}finally{Gs(t)}},onHasTask:(e,n,r,s)=>{e.hasTask(r,s),n===r&&("microTask"==s.change?(t.hasPendingMicrotasks=s.microTask,qs(t)):"macroTask"==s.change&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(e,n,r,s)=>(e.handleError(r,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!zs.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(zs.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,t,n){return this._inner.run(e,t,n)}runTask(e,t,n,r){const s=this._inner,i=s.scheduleEventTask("NgZoneEvent: "+r,e,Bs,Fs,Fs);try{return s.runTask(i,t,n)}finally{s.cancelTask(i)}}runGuarded(e,t,n){return this._inner.runGuarded(e,t,n)}runOutsideAngular(e){return this._outer.run(e)}}function Fs(){}const Bs={};function qs(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Zs(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Gs(e){e._nesting--,qs(e)}class Ws{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new gs,this.onMicrotaskEmpty=new gs,this.onStable=new gs,this.onError=new gs}run(e){return e()}runGuarded(e){return e()}runOutsideAngular(e){return e()}runTask(e){return e()}}const Qs=(()=>(class{constructor(e){this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{zs.assertNotInAngularZone(),$s(()=>{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())$s(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(t=>!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,t,n){let r=-1;t&&t>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(e=>e.timeoutId!==r),e(this._didWork,this.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:n})}whenStable(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(e,t,n){return[]}}))(),Ks=(()=>{class e{constructor(){this._applications=new Map,Xs.addToWindow(this)}registerApplication(e,t){this._applications.set(e,t)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,t=!0){return Xs.findTestabilityInTree(this,e,t)}}return e.ctorParameters=(()=>[]),e})();class Ys{addToWindow(e){}findTestabilityInTree(e,t,n){return null}}let Js,Xs=new Ys,ei=function(e){return e instanceof Qt};const ti=new Te("AllowMultipleToken");class ni{constructor(e,t){this.name=e,this.token=t}}function ri(e,t,n=[]){const r=`Platform: ${t}`,s=new Te(r);return(t=[])=>{let i=si();if(!i||i.injector.get(ti,!1))if(e)e(n.concat(t).concat({provide:s,useValue:!0}));else{const e=n.concat(t).concat({provide:s,useValue:!0});!function(e){if(Js&&!Js.destroyed&&!Js.injector.get(ti,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Js=e.get(ii);const t=e.get(xs,null);t&&t.forEach(e=>e())}(Ae.create({providers:e,name:r}))}return function(e){const t=si();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(s)}}function si(){return Js&&!Js.destroyed?Js:null}const ii=(()=>(class{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,t){const n="noop"===(s=t?t.ngZone:void 0)?new Ws:("zone.js"===s?void 0:s)||new zs({enableLongStackTrace:rt()}),r=[{provide:zs,useValue:n}];var s;return n.run(()=>{const t=Ae.create({providers:r,parent:this.injector,name:e.moduleType.name}),s=e.create(t),i=s.injector.get(et,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return s.onDestroy(()=>ai(this._modules,s)),n.runOutsideAngular(()=>n.onError.subscribe({next:e=>{i.handleError(e)}})),function(e,t,n){try{const s=n();return At(s)?s.catch(n=>{throw t.runOutsideAngular(()=>e.handleError(n)),n}):s}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(i,n,()=>{const e=s.injector.get(ws);return e.runInitializers(),e.donePromise.then(()=>(this._moduleDoBootstrap(s),s))})})}bootstrapModule(e,t=[]){const n=oi({},t);return function(e,t,n){return e.get(Is).createCompiler([t]).compileModuleAsync(n)}(this.injector,n,e).then(e=>this.bootstrapModuleFactory(e,n))}_moduleDoBootstrap(e){const t=e.injector.get(li);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>t.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${me(e.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. `+"Please define one of these.");e.instance.ngDoBootstrap(t)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(e=>e.destroy()),this._destroyListeners.forEach(e=>e()),this._destroyed=!0}get destroyed(){return this._destroyed}}))();function oi(e,t){return Array.isArray(t)?t.reduce(oi,e):Object.assign({},e,t)}const li=(()=>{class e{constructor(e,t,n,r,s,i){this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=s,this._initStatus=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=rt(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const o=new b(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),l=new b(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{zs.assertNotInAngularZone(),$s(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{zs.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{e.next(!1)}))});return()=>{t.unsubscribe(),n.unsubscribe()}});this.isStable=function(...e){let t=Number.POSITIVE_INFINITY,n=null,r=e[e.length-1];return k(r)?(n=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof r&&(t=e.pop()),null===n&&1===e.length&&e[0]instanceof b?e[0]:Y(t)(q(e,n))}(o,l.pipe(e=>J()(function(e,t){return function(t){let n;n="function"==typeof e?e:function(){return e};const r=Object.create(t,ne);return r.source=t,r.subjectFactory=n,r}}(se)(e))))}bootstrap(e,t){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=e instanceof Ft?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);const r=ei(n)?null:this._injector.get(Kt),s=n.create(Ae.NULL,[],t||n.selector,r);s.onDestroy(()=>{this._unloadComponent(s)});const i=s.injector.get(Qs,null);return i&&s.injector.get(Ks).registerApplication(s.location.nativeElement,i),this._loadComponent(s),rt()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),s}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");const t=e._tickScope();try{this._runningTick=!0;for(let e of this._views)e.detectChanges();if(this._enforceNoNewChanges)for(let e of this._views)e.checkNoChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1,Vs(t)}}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;ai(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Es,[]).concat(this._bootstrapListeners).forEach(t=>t(e))}_unloadComponent(e){this.detachView(e.hostView),ai(this.components,e)}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy())}get viewCount(){return this._views.length}}return e._tickScope=Ls("ApplicationRef#tick()"),e})();function ai(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class ui{}const ci={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},hi=(()=>(class{constructor(e,t){this._compiler=e,this._config=t||ci}load(e){return this._compiler instanceof Ms?this.loadFactory(e):this.loadAndCompile(e)}loadAndCompile(e){let[t,r]=e.split("#");return void 0===r&&(r="default"),n("zn8P")(t).then(e=>e[r]).then(e=>di(e,t,r)).then(e=>this._compiler.compileModuleAsync(e))}loadFactory(e){let[t,r]=e.split("#"),s="NgFactory";return void 0===r&&(r="default",s=""),n("zn8P")(this._config.factoryPathPrefix+t+this._config.factoryPathSuffix).then(e=>e[r+s]).then(e=>di(e,t,r))}}))();function di(e,t,n){if(!e)throw new Error(`Cannot find '${n}' in '${t}'`);return e}class pi{constructor(e,t){this.name=e,this.callback=t}}class fi{constructor(e,t,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=e,t&&t instanceof gi&&t.addChild(this)}get injector(){return this._debugContext.injector}get componentInstance(){return this._debugContext.component}get context(){return this._debugContext.context}get references(){return this._debugContext.references}get providerTokens(){return this._debugContext.providerTokens}}class gi extends fi{constructor(e,t,n){super(e,t,n),this.properties={},this.attributes={},this.classes={},this.styles={},this.childNodes=[],this.nativeElement=e}addChild(e){e&&(this.childNodes.push(e),e.parent=this)}removeChild(e){const t=this.childNodes.indexOf(e);-1!==t&&(e.parent=null,this.childNodes.splice(t,1))}insertChildrenAfter(e,t){const n=this.childNodes.indexOf(e);-1!==n&&(this.childNodes.splice(n+1,0,...t),t.forEach(t=>{t.parent&&t.parent.removeChild(t),e.parent=this}))}insertBefore(e,t){const n=this.childNodes.indexOf(e);-1===n?this.addChild(t):(t.parent&&t.parent.removeChild(t),t.parent=this,this.childNodes.splice(n,0,t))}query(e){return this.queryAll(e)[0]||null}queryAll(e){const t=[];return function e(t,n,r){t.childNodes.forEach(t=>{t instanceof gi&&(n(t)&&r.push(t),e(t,n,r))})}(this,e,t),t}queryAllNodes(e){const t=[];return function e(t,n,r){t instanceof gi&&t.childNodes.forEach(t=>{n(t)&&r.push(t),t instanceof gi&&e(t,n,r)})}(this,e,t),t}get children(){return this.childNodes.filter(e=>e instanceof gi)}triggerEventHandler(e,t){this.listeners.forEach(n=>{n.name==e&&n.callback(t)})}}const mi=new Map,_i=function(e){return mi.get(e)||null};function vi(e){mi.set(e.nativeNode,e)}const wi=ri(null,"core",[{provide:Ss,useValue:"unknown"},{provide:ii,deps:[Ae]},{provide:Ks,deps:[]},{provide:Ts,deps:[]}]),yi=new Te("LocaleId");function bi(){return Sn}function Ci(){return En}function xi(e){return e||"en-US"}function Si(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(e){t.push(e)}}const Ei=(()=>(class{constructor(e){}}))();function Ti(e,t,n,r,s,i,o=[],l,a,u,c,h){u||(u=$n);const{matchedQueries:d,references:p,matchedQueryIds:f}=ir(n);let g=null,m=null;i&&([g,m]=mr(i)),l=l||[];const _=new Array(l.length);for(let y=0;y<l.length;y++){const[e,t,n]=l[y],[r,s]=mr(t);let i=void 0,o=void 0;switch(15&e){case 4:o=n;break;case 1:case 8:i=n}_[y]={flags:e,ns:r,name:s,nonMinifiedName:s,securityContext:i,suffix:o}}a=a||[];const v=new Array(a.length);for(let y=0;y<a.length;y++){const[e,t]=a[y];v[y]={type:0,target:e,eventName:t,propName:null}}const w=(o=o||[]).map(([e,t])=>{const[n,r]=mr(e);return[n,r,t]});return h=function(e){if(e&&e.id===Bn){const t=null!=e.encapsulation&&e.encapsulation!==Qe.None||e.styles.length||Object.keys(e.data).length;e.id=t?`c${Gn++}`:qn}return e&&e.id===qn&&(e=null),e||null}(h),c&&(t|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:d,matchedQueryIds:f,references:p,ngContentIndex:r,childCount:s,bindings:_,bindingFlags:_r(_),outputs:v,element:{ns:g,name:m,attrs:w,template:null,componentProvider:null,componentView:c||null,componentRendererType:h,publicProviders:null,allProviders:null,handleEvent:u||$n},provider:null,text:null,query:null,ngContent:null}}function Pi(e,t,n){const r=n.element,s=e.root.selectorOrNode,i=e.renderer;let o;if(e.parent||!s){o=r.name?i.createElement(r.name,r.ns):i.createComment("");const s=lr(e,t,n);s&&i.appendChild(s,o)}else o=i.selectRootElement(s,!!r.componentRendererType&&r.componentRendererType.encapsulation===Qe.ShadowDom);if(r.attrs)for(let l=0;l<r.attrs.length;l++){const[e,t,n]=r.attrs[l];i.setAttribute(o,t,n,e)}return o}function Oi(e,t,n,r){for(let o=0;o<n.outputs.length;o++){const l=n.outputs[o],a=ki(e,n.nodeIndex,(i=l.eventName,(s=l.target)?`${s}:${i}`:i));let u=l.target,c=e;"component"===l.target&&(u=null,c=t);const h=c.renderer.listen(u||r,l.eventName,a);e.disposables[n.outputIndex+o]=h}var s,i}function ki(e,t,n){return r=>Xn(e,t,n,r)}function Ri(e,t,n,r){if(!Qn(e,t,n,r))return!1;const s=t.bindings[n],i=Un(e,t.nodeIndex),o=i.renderElement,l=s.name;switch(15&s.flags){case 1:!function(e,t,n,r,s,i){const o=t.securityContext;let l=o?e.root.sanitizer.sanitize(o,i):i;l=null!=l?l.toString():null;const a=e.renderer;null!=i?a.setAttribute(n,s,l,r):a.removeAttribute(n,s,r)}(e,s,o,s.ns,l,r);break;case 2:!function(e,t,n,r){const s=e.renderer;r?s.addClass(t,n):s.removeClass(t,n)}(e,o,l,r);break;case 4:!function(e,t,n,r,s){let i=e.root.sanitizer.sanitize(Et.STYLE,s);if(null!=i){i=i.toString();const e=t.suffix;null!=e&&(i+=e)}else i=null;const o=e.renderer;null!=i?o.setStyle(n,r,i):o.removeStyle(n,r)}(e,s,o,l,r);break;case 8:!function(e,t,n,r,s){const i=t.securityContext;let o=i?e.root.sanitizer.sanitize(i,s):s;e.renderer.setProperty(n,r,o)}(33554432&t.flags&&32&s.flags?i.componentView:e,s,o,l,r)}return!0}function Ai(e){const t=e.def.nodeMatchedQueries;for(;e.parent&&sr(e);){let n=e.parentNodeDef;e=e.parent;const r=n.nodeIndex+n.childCount;for(let s=0;s<=r;s++){const r=e.def.nodes[s];67108864&r.flags&&536870912&r.flags&&(r.query.filterId&t)===r.query.filterId&&Vn(e,s).setDirty(),!(1&r.flags&&s+r.childCount<n.nodeIndex)&&67108864&r.childFlags&&536870912&r.childFlags||(s+=r.childCount)}}if(134217728&e.def.nodeFlags)for(let n=0;n<e.def.nodes.length;n++){const t=e.def.nodes[n];134217728&t.flags&&536870912&t.flags&&Vn(e,n).setDirty(),n+=t.childCount}}function Mi(e,t){const n=Vn(e,t.nodeIndex);if(!n.dirty)return;let r,s=void 0;if(67108864&t.flags){const n=t.parent.parent;s=Ii(e,n.nodeIndex,n.nodeIndex+n.childCount,t.query,[]),r=jn(e,t.parent.nodeIndex).instance}else 134217728&t.flags&&(s=Ii(e,0,e.def.nodes.length-1,t.query,[]),r=e.component);n.reset(s);const i=t.query.bindings;let o=!1;for(let l=0;l<i.length;l++){const e=i[l];let t;switch(e.bindingType){case 0:t=n.first;break;case 1:t=n,o=!0}r[e.propName]=t}o&&n.notifyOnChanges()}function Ii(e,t,n,r,s){for(let i=t;i<=n;i++){const t=e.def.nodes[i],n=t.matchedQueries[r.id];if(null!=n&&s.push(Ni(e,t,n)),1&t.flags&&t.element.template&&(t.element.template.nodeMatchedQueries&r.filterId)===r.filterId){const n=Un(e,i);if((t.childMatchedQueries&r.filterId)===r.filterId&&(Ii(e,i+1,i+t.childCount,r,s),i+=t.childCount),16777216&t.flags){const e=n.viewContainer._embeddedViews;for(let t=0;t<e.length;t++){const i=e[t],o=er(i);o&&o===n&&Ii(i,0,i.def.nodes.length-1,r,s)}}const o=n.template._projectedViews;if(o)for(let e=0;e<o.length;e++){const t=o[e];Ii(t,0,t.def.nodes.length-1,r,s)}}(t.childMatchedQueries&r.filterId)!==r.filterId&&(i+=t.childCount)}return s}function Ni(e,t,n){if(null!=n)switch(n){case 1:return Un(e,t.nodeIndex).renderElement;case 0:return new Xt(Un(e,t.nodeIndex).renderElement);case 2:return Un(e,t.nodeIndex).template;case 3:return Un(e,t.nodeIndex).viewContainer;case 4:return jn(e,t.nodeIndex).instance}}function Di(e,t,n){const r=lr(e,t,n);r&&dr(e,n.ngContent.index,1,r,null,void 0)}function Ui(e,t,n){const r=new Array(n.length-1);for(let s=1;s<n.length;s++)r[s-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[s]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:r,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}}function ji(e,t,n){let r;const s=e.renderer;r=s.createText(n.text.prefix);const i=lr(e,t,n);return i&&s.appendChild(i,r),{renderText:r}}function Li(e,t){return(null!=e?e.toString():"")+t.suffix}function Vi(e,t,n,r){let s=0,i=0,o=0,l=0,a=0,u=null,c=null,h=!1,d=!1,p=null;for(let f=0;f<t.length;f++){const e=t[f];if(e.nodeIndex=f,e.parent=u,e.bindingIndex=s,e.outputIndex=i,e.renderParent=c,o|=e.flags,a|=e.matchedQueryIds,e.element){const t=e.element;t.publicProviders=u?u.element.publicProviders:Object.create(null),t.allProviders=t.publicProviders,h=!1,d=!1,e.element.template&&(a|=e.element.template.nodeMatchedQueries)}if($i(u,e,t.length),s+=e.bindings.length,i+=e.outputs.length,!c&&3&e.flags&&(p=e),20224&e.flags){h||(h=!0,u.element.publicProviders=Object.create(u.element.publicProviders),u.element.allProviders=u.element.publicProviders);const t=0!=(32768&e.flags);0==(8192&e.flags)||t?u.element.publicProviders[Fn(e.provider.token)]=e:(d||(d=!0,u.element.allProviders=Object.create(u.element.publicProviders)),u.element.allProviders[Fn(e.provider.token)]=e),t&&(u.element.componentProvider=e)}if(u?(u.childFlags|=e.flags,u.directChildFlags|=e.flags,u.childMatchedQueries|=e.matchedQueryIds,e.element&&e.element.template&&(u.childMatchedQueries|=e.element.template.nodeMatchedQueries)):l|=e.flags,e.childCount>0)u=e,Hi(e)||(c=e);else for(;u&&f===u.nodeIndex+u.childCount;){const e=u.parent;e&&(e.childFlags|=u.childFlags,e.childMatchedQueries|=u.childMatchedQueries),c=(u=e)&&Hi(u)?u.renderParent:u}}return{factory:null,nodeFlags:o,rootNodeFlags:l,nodeMatchedQueries:a,flags:e,nodes:t,updateDirectives:n||$n,updateRenderer:r||$n,handleEvent:(e,n,r,s)=>t[n].element.handleEvent(e,r,s),bindingCount:s,outputCount:i,lastRenderRootNode:p}}function Hi(e){return 0!=(1&e.flags)&&null===e.element.name}function $i(e,t,n){const r=t.element&&t.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error(`Illegal State: Last root node of a template can't have embedded views, at index ${t.nodeIndex}!`)}if(20224&t.flags&&0==(1&(e?e.flags:0)))throw new Error(`Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index ${t.nodeIndex}!`);if(t.query){if(67108864&t.flags&&(!e||0==(16384&e.flags)))throw new Error(`Illegal State: Content Query nodes need to be children of directives, at index ${t.nodeIndex}!`);if(134217728&t.flags&&e)throw new Error(`Illegal State: View Query nodes have to be top level nodes, at index ${t.nodeIndex}!`)}if(t.childCount){const r=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=r&&t.nodeIndex+t.childCount>r)throw new Error(`Illegal State: childCount of node leads outside of parent, at index ${t.nodeIndex}!`)}}function zi(e,t,n,r){const s=qi(e.root,e.renderer,e,t,n);return Zi(s,e.component,r),Gi(s),s}function Fi(e,t,n){const r=qi(e,e.renderer,null,null,t);return Zi(r,n,n),Gi(r),r}function Bi(e,t,n,r){const s=t.element.componentRendererType;let i;return i=s?e.root.rendererFactory.createRenderer(r,s):e.root.renderer,qi(e.root,i,e,t.element.componentProvider,n)}function qi(e,t,n,r,s){const i=new Array(s.nodes.length),o=s.outputCount?new Array(s.outputCount):null;return{def:s,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:i,state:13,root:e,renderer:t,oldValues:new Array(s.bindingCount),disposables:o,initIndex:-1}}function Zi(e,t,n){e.component=t,e.context=n}function Gi(e){let t;rr(e)&&(t=Un(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);const n=e.def,r=e.nodes;for(let s=0;s<n.nodes.length;s++){const i=n.nodes[s];let o;switch(Hn.setCurrentNode(e,s),201347067&i.flags){case 1:const n=Pi(e,t,i);let l=void 0;if(33554432&i.flags){const t=ur(i.element.componentView);l=Hn.createComponentView(e,i,t,n)}Oi(e,l,i,n),o={renderElement:n,componentView:l,viewContainer:null,template:i.element.template?Lr(e,i):void 0},16777216&i.flags&&(o.viewContainer=Nr(e,i,o));break;case 2:o=ji(e,t,i);break;case 512:case 1024:case 2048:case 256:(o=r[s])||4096&i.flags||(o={instance:ts(e,i)});break;case 16:o={instance:ns(e,i)};break;case 16384:(o=r[s])||(o={instance:rs(e,i)}),32768&i.flags&&Zi(Un(e,i.parent.nodeIndex).componentView,o.instance,o.instance);break;case 32:case 64:case 128:o={value:void 0};break;case 67108864:case 134217728:o=new ms;break;case 8:Di(e,t,i),o=void 0}r[s]=o}no(e,to.CreateViewNodes),oo(e,201326592,268435456,0)}function Wi(e){Yi(e),Hn.updateDirectives(e,1),ro(e,to.CheckNoChanges),Hn.updateRenderer(e,1),no(e,to.CheckNoChanges),e.state&=-97}function Qi(e){1&e.state?(e.state&=-2,e.state|=2):e.state&=-3,In(e,0,256),Yi(e),Hn.updateDirectives(e,0),ro(e,to.CheckAndUpdate),oo(e,67108864,536870912,0);let t=In(e,256,512);hs(e,2097152|(t?1048576:0)),Hn.updateRenderer(e,0),no(e,to.CheckAndUpdate),oo(e,134217728,536870912,0),hs(e,8388608|((t=In(e,512,768))?4194304:0)),2&e.def.flags&&(e.state&=-9),e.state&=-97,In(e,768,1024)}function Ki(e,t,n,r,s,i,o,l,a,u,c,h,d){return 0===n?function(e,t,n,r,s,i,o,l,a,u,c,h){switch(201347067&t.flags){case 1:return function(e,t,n,r,s,i,o,l,a,u,c,h){const d=t.bindings.length;let p=!1;return d>0&&Ri(e,t,0,n)&&(p=!0),d>1&&Ri(e,t,1,r)&&(p=!0),d>2&&Ri(e,t,2,s)&&(p=!0),d>3&&Ri(e,t,3,i)&&(p=!0),d>4&&Ri(e,t,4,o)&&(p=!0),d>5&&Ri(e,t,5,l)&&(p=!0),d>6&&Ri(e,t,6,a)&&(p=!0),d>7&&Ri(e,t,7,u)&&(p=!0),d>8&&Ri(e,t,8,c)&&(p=!0),d>9&&Ri(e,t,9,h)&&(p=!0),p}(e,t,n,r,s,i,o,l,a,u,c,h);case 2:return function(e,t,n,r,s,i,o,l,a,u,c,h){let d=!1;const p=t.bindings,f=p.length;if(f>0&&Qn(e,t,0,n)&&(d=!0),f>1&&Qn(e,t,1,r)&&(d=!0),f>2&&Qn(e,t,2,s)&&(d=!0),f>3&&Qn(e,t,3,i)&&(d=!0),f>4&&Qn(e,t,4,o)&&(d=!0),f>5&&Qn(e,t,5,l)&&(d=!0),f>6&&Qn(e,t,6,a)&&(d=!0),f>7&&Qn(e,t,7,u)&&(d=!0),f>8&&Qn(e,t,8,c)&&(d=!0),f>9&&Qn(e,t,9,h)&&(d=!0),d){let d=t.text.prefix;f>0&&(d+=Li(n,p[0])),f>1&&(d+=Li(r,p[1])),f>2&&(d+=Li(s,p[2])),f>3&&(d+=Li(i,p[3])),f>4&&(d+=Li(o,p[4])),f>5&&(d+=Li(l,p[5])),f>6&&(d+=Li(a,p[6])),f>7&&(d+=Li(u,p[7])),f>8&&(d+=Li(c,p[8])),f>9&&(d+=Li(h,p[9]));const g=Dn(e,t.nodeIndex).renderText;e.renderer.setValue(g,d)}return d}(e,t,n,r,s,i,o,l,a,u,c,h);case 16384:return function(e,t,n,r,s,i,o,l,a,u,c,h){const d=jn(e,t.nodeIndex),p=d.instance;let f=!1,g=void 0;const m=t.bindings.length;return m>0&&Wn(e,t,0,n)&&(f=!0,g=cs(e,d,t,0,n,g)),m>1&&Wn(e,t,1,r)&&(f=!0,g=cs(e,d,t,1,r,g)),m>2&&Wn(e,t,2,s)&&(f=!0,g=cs(e,d,t,2,s,g)),m>3&&Wn(e,t,3,i)&&(f=!0,g=cs(e,d,t,3,i,g)),m>4&&Wn(e,t,4,o)&&(f=!0,g=cs(e,d,t,4,o,g)),m>5&&Wn(e,t,5,l)&&(f=!0,g=cs(e,d,t,5,l,g)),m>6&&Wn(e,t,6,a)&&(f=!0,g=cs(e,d,t,6,a,g)),m>7&&Wn(e,t,7,u)&&(f=!0,g=cs(e,d,t,7,u,g)),m>8&&Wn(e,t,8,c)&&(f=!0,g=cs(e,d,t,8,c,g)),m>9&&Wn(e,t,9,h)&&(f=!0,g=cs(e,d,t,9,h,g)),g&&p.ngOnChanges(g),65536&t.flags&&Nn(e,256,t.nodeIndex)&&p.ngOnInit(),262144&t.flags&&p.ngDoCheck(),f}(e,t,n,r,s,i,o,l,a,u,c,h);case 32:case 64:case 128:return function(e,t,n,r,s,i,o,l,a,u,c,h){const d=t.bindings;let p=!1;const f=d.length;if(f>0&&Qn(e,t,0,n)&&(p=!0),f>1&&Qn(e,t,1,r)&&(p=!0),f>2&&Qn(e,t,2,s)&&(p=!0),f>3&&Qn(e,t,3,i)&&(p=!0),f>4&&Qn(e,t,4,o)&&(p=!0),f>5&&Qn(e,t,5,l)&&(p=!0),f>6&&Qn(e,t,6,a)&&(p=!0),f>7&&Qn(e,t,7,u)&&(p=!0),f>8&&Qn(e,t,8,c)&&(p=!0),f>9&&Qn(e,t,9,h)&&(p=!0),p){const p=Ln(e,t.nodeIndex);let g;switch(201347067&t.flags){case 32:g=new Array(d.length),f>0&&(g[0]=n),f>1&&(g[1]=r),f>2&&(g[2]=s),f>3&&(g[3]=i),f>4&&(g[4]=o),f>5&&(g[5]=l),f>6&&(g[6]=a),f>7&&(g[7]=u),f>8&&(g[8]=c),f>9&&(g[9]=h);break;case 64:g={},f>0&&(g[d[0].name]=n),f>1&&(g[d[1].name]=r),f>2&&(g[d[2].name]=s),f>3&&(g[d[3].name]=i),f>4&&(g[d[4].name]=o),f>5&&(g[d[5].name]=l),f>6&&(g[d[6].name]=a),f>7&&(g[d[7].name]=u),f>8&&(g[d[8].name]=c),f>9&&(g[d[9].name]=h);break;case 128:const e=n;switch(f){case 1:g=e.transform(n);break;case 2:g=e.transform(r);break;case 3:g=e.transform(r,s);break;case 4:g=e.transform(r,s,i);break;case 5:g=e.transform(r,s,i,o);break;case 6:g=e.transform(r,s,i,o,l);break;case 7:g=e.transform(r,s,i,o,l,a);break;case 8:g=e.transform(r,s,i,o,l,a,u);break;case 9:g=e.transform(r,s,i,o,l,a,u,c);break;case 10:g=e.transform(r,s,i,o,l,a,u,c,h)}}p.value=g}return p}(e,t,n,r,s,i,o,l,a,u,c,h);default:throw"unreachable"}}(e,t,r,s,i,o,l,a,u,c,h,d):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){let r=!1;for(let s=0;s<n.length;s++)Ri(e,t,s,n[s])&&(r=!0);return r}(e,t,n);case 2:return function(e,t,n){const r=t.bindings;let s=!1;for(let i=0;i<n.length;i++)Qn(e,t,i,n[i])&&(s=!0);if(s){let s="";for(let e=0;e<n.length;e++)s+=Li(n[e],r[e]);s=t.text.prefix+s;const i=Dn(e,t.nodeIndex).renderText;e.renderer.setValue(i,s)}return s}(e,t,n);case 16384:return function(e,t,n){const r=jn(e,t.nodeIndex),s=r.instance;let i=!1,o=void 0;for(let l=0;l<n.length;l++)Wn(e,t,l,n[l])&&(i=!0,o=cs(e,r,t,l,n[l],o));return o&&s.ngOnChanges(o),65536&t.flags&&Nn(e,256,t.nodeIndex)&&s.ngOnInit(),262144&t.flags&&s.ngDoCheck(),i}(e,t,n);case 32:case 64:case 128:return function(e,t,n){const r=t.bindings;let s=!1;for(let i=0;i<n.length;i++)Qn(e,t,i,n[i])&&(s=!0);if(s){const s=Ln(e,t.nodeIndex);let i;switch(201347067&t.flags){case 32:i=n;break;case 64:i={};for(let t=0;t<n.length;t++)i[r[t].name]=n[t];break;case 128:const e=n[0],s=n.slice(1);i=e.transform(...s)}s.value=i}return s}(e,t,n);default:throw"unreachable"}}(e,t,r)}function Yi(e){const t=e.def;if(4&t.nodeFlags)for(let n=0;n<t.nodes.length;n++){const r=t.nodes[n];if(4&r.flags){const t=Un(e,n).template._projectedViews;if(t)for(let n=0;n<t.length;n++){const r=t[n];r.state|=32,Jn(r,e)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function Ji(e,t,n,r,s,i,o,l,a,u,c,h,d){return 0===n?function(e,t,n,r,s,i,o,l,a,u,c,h){const d=t.bindings.length;d>0&&Kn(e,t,0,n),d>1&&Kn(e,t,1,r),d>2&&Kn(e,t,2,s),d>3&&Kn(e,t,3,i),d>4&&Kn(e,t,4,o),d>5&&Kn(e,t,5,l),d>6&&Kn(e,t,6,a),d>7&&Kn(e,t,7,u),d>8&&Kn(e,t,8,c),d>9&&Kn(e,t,9,h)}(e,t,r,s,i,o,l,a,u,c,h,d):function(e,t,n){for(let r=0;r<n.length;r++)Kn(e,t,r,n[r])}(e,t,r),!1}function Xi(e,t){if(Vn(e,t.nodeIndex).dirty)throw Rn(Hn.createDebugContext(e,t.nodeIndex),`Query ${t.query.id} not dirty`,`Query ${t.query.id} dirty`,0!=(1&e.state))}function eo(e){if(!(128&e.state)){if(ro(e,to.Destroy),no(e,to.Destroy),hs(e,131072),e.disposables)for(let t=0;t<e.disposables.length;t++)e.disposables[t]();!function(e){if(!(16&e.state))return;const t=er(e);if(t){const n=t.template._projectedViews;n&&(kr(n,n.indexOf(e)),Hn.dirtyParentQueries(e))}}(e),e.renderer.destroyNode&&function(e){const t=e.def.nodes.length;for(let n=0;n<t;n++){const t=e.def.nodes[n];1&t.flags?e.renderer.destroyNode(Un(e,n).renderElement):2&t.flags?e.renderer.destroyNode(Dn(e,n).renderText):(67108864&t.flags||134217728&t.flags)&&Vn(e,n).destroy()}}(e),rr(e)&&e.renderer.destroy(),e.state|=128}}const to=function(){var e={CreateViewNodes:0,CheckNoChanges:1,CheckNoChangesProjectedViews:2,CheckAndUpdate:3,CheckAndUpdateProjectedViews:4,Destroy:5};return e[e.CreateViewNodes]="CreateViewNodes",e[e.CheckNoChanges]="CheckNoChanges",e[e.CheckNoChangesProjectedViews]="CheckNoChangesProjectedViews",e[e.CheckAndUpdate]="CheckAndUpdate",e[e.CheckAndUpdateProjectedViews]="CheckAndUpdateProjectedViews",e[e.Destroy]="Destroy",e}();function no(e,t){const n=e.def;if(33554432&n.nodeFlags)for(let r=0;r<n.nodes.length;r++){const s=n.nodes[r];33554432&s.flags?so(Un(e,r).componentView,t):0==(33554432&s.childFlags)&&(r+=s.childCount)}}function ro(e,t){const n=e.def;if(16777216&n.nodeFlags)for(let r=0;r<n.nodes.length;r++){const s=n.nodes[r];if(16777216&s.flags){const n=Un(e,r).viewContainer._embeddedViews;for(let e=0;e<n.length;e++)so(n[e],t)}else 0==(16777216&s.childFlags)&&(r+=s.childCount)}}function so(e,t){const n=e.state;switch(t){case to.CheckNoChanges:0==(128&n)&&(12==(12&n)?Wi(e):64&n&&io(e,to.CheckNoChangesProjectedViews));break;case to.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?Wi(e):64&n&&io(e,t));break;case to.CheckAndUpdate:0==(128&n)&&(12==(12&n)?Qi(e):64&n&&io(e,to.CheckAndUpdateProjectedViews));break;case to.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?Qi(e):64&n&&io(e,t));break;case to.Destroy:eo(e);break;case to.CreateViewNodes:Gi(e)}}function io(e,t){ro(e,t),no(e,t)}function oo(e,t,n,r){if(!(e.def.nodeFlags&t&&e.def.nodeFlags&n))return;const s=e.def.nodes.length;for(let i=0;i<s;i++){const s=e.def.nodes[i];if(s.flags&t&&s.flags&n)switch(Hn.setCurrentNode(e,s.nodeIndex),r){case 0:Mi(e,s);break;case 1:Xi(e,s)}s.childFlags&t&&s.childFlags&n||(i+=s.childCount)}}let lo=!1;function ao(e,t,n,r,s,i){const o=s.injector.get(nn);return Fi(co(e,s,o,t,n),r,i)}function uo(e,t,n,r,s,i){const o=s.injector.get(nn),l=co(e,s,new Fo(o),t,n),a=bo(r);return $o(Po.create,Fi,null,[l,a,i])}function co(e,t,n,r,s){const i=t.injector.get(Tt),o=t.injector.get(et),l=n.createRenderer(null,null);return{ngModule:t,injector:e,projectableNodes:r,selectorOrNode:s,sanitizer:i,rendererFactory:n,renderer:l,errorHandler:o}}function ho(e,t,n,r){const s=bo(n);return $o(Po.create,zi,null,[e,t,s,r])}function po(e,t,n,r){return n=_o.get(t.element.componentProvider.provider.token)||bo(n),$o(Po.create,Bi,null,[e,t,n,r])}function fo(e,t,n,r){return Br(e,t,n,function(e){const{hasOverrides:t,hasDeprecatedOverrides:n}=function(e){let t=!1,n=!1;return 0===go.size?{hasOverrides:t,hasDeprecatedOverrides:n}:(e.providers.forEach(e=>{const r=go.get(e.token);3840&e.flags&&r&&(t=!0,n=n||r.deprecatedBehavior)}),e.modules.forEach(e=>{mo.forEach((r,s)=>{fe(s).providedIn===e&&(t=!0,n=n||r.deprecatedBehavior)})}),{hasOverrides:t,hasDeprecatedOverrides:n})}(e);return t?(function(e){for(let t=0;t<e.providers.length;t++){const r=e.providers[t];n&&(r.flags|=4096);const s=go.get(r.token);s&&(r.flags=-3841&r.flags|s.flags,r.deps=or(s.deps),r.value=s.value)}if(mo.size>0){let t=new Set(e.modules);mo.forEach((r,s)=>{if(t.has(fe(s).providedIn)){let t={token:s,flags:r.flags|(n?4096:0),deps:or(r.deps),value:r.value,index:e.providers.length};e.providers.push(t),e.providersByKey[Fn(s)]=t}})}}(e=e.factory(()=>$n)),e):e}(r))}const go=new Map,mo=new Map,_o=new Map;function vo(e){let t;go.set(e.token,e),"function"==typeof e.token&&(t=fe(e.token))&&"function"==typeof t.providedIn&&mo.set(e.token,e)}function wo(e,t){const n=ur(t.viewDefFactory),r=ur(n.nodes[0].element.componentView);_o.set(e,r)}function yo(){go.clear(),mo.clear(),_o.clear()}function bo(e){if(0===go.size)return e;const t=function(e){const t=[];let n=null;for(let r=0;r<e.nodes.length;r++){const s=e.nodes[r];1&s.flags&&(n=s),n&&3840&s.flags&&go.has(s.provider.token)&&(t.push(n.nodeIndex),n=null)}return t}(e);if(0===t.length)return e;e=e.factory(()=>$n);for(let r=0;r<t.length;r++)n(e,t[r]);return e;function n(e,t){for(let n=t+1;n<e.nodes.length;n++){const t=e.nodes[n];if(1&t.flags)return;if(3840&t.flags){const e=t.provider,n=go.get(e.token);n&&(t.flags=-3841&t.flags|n.flags,e.deps=or(n.deps),e.value=n.value)}}}}function Co(e,t,n,r,s,i,o,l,a,u,c,h,d){const p=e.def.nodes[t];return Ki(e,p,n,r,s,i,o,l,a,u,c,h,d),224&p.flags?Ln(e,t).value:void 0}function xo(e,t,n,r,s,i,o,l,a,u,c,h,d){const p=e.def.nodes[t];return Ji(e,p,n,r,s,i,o,l,a,u,c,h,d),224&p.flags?Ln(e,t).value:void 0}function So(e){return $o(Po.detectChanges,Qi,null,[e])}function Eo(e){return $o(Po.checkNoChanges,Wi,null,[e])}function To(e){return $o(Po.destroy,eo,null,[e])}const Po=function(){var e={create:0,detectChanges:1,checkNoChanges:2,destroy:3,handleEvent:4};return e[e.create]="create",e[e.detectChanges]="detectChanges",e[e.checkNoChanges]="checkNoChanges",e[e.destroy]="destroy",e[e.handleEvent]="handleEvent",e}();let Oo,ko,Ro;function Ao(e,t){ko=e,Ro=t}function Mo(e,t,n,r){return Ao(e,t),$o(Po.handleEvent,e.def.handleEvent,null,[e,t,n,r])}function Io(e,t){if(128&e.state)throw Mn(Po[Oo]);return Ao(e,jo(e,0)),e.def.updateDirectives(function(e,n,r,...s){const i=e.def.nodes[n];return 0===t?Do(e,i,r,s):Uo(e,i,r,s),16384&i.flags&&Ao(e,jo(e,n)),224&i.flags?Ln(e,i.nodeIndex).value:void 0},e)}function No(e,t){if(128&e.state)throw Mn(Po[Oo]);return Ao(e,Lo(e,0)),e.def.updateRenderer(function(e,n,r,...s){const i=e.def.nodes[n];return 0===t?Do(e,i,r,s):Uo(e,i,r,s),3&i.flags&&Ao(e,Lo(e,n)),224&i.flags?Ln(e,i.nodeIndex).value:void 0},e)}function Do(e,t,n,r){if(Ki(e,t,n,...r)){const o=1===n?r[0]:r;if(16384&t.flags){const n={};for(let e=0;e<t.bindings.length;e++){const r=t.bindings[e],l=o[e];8&r.flags&&(n[(s=r.nonMinifiedName,i=void 0,i=s.replace(/[$@]/g,"_"),`ng-reflect-${s=i.replace(kt,(...e)=>"-"+e[1].toLowerCase())}`)]=Rt(l))}const r=t.parent,l=Un(e,r.nodeIndex).renderElement;if(r.element.name)for(let t in n){const r=n[t];null!=r?e.renderer.setAttribute(l,t,r):e.renderer.removeAttribute(l,t)}else e.renderer.setValue(l,`bindings=${JSON.stringify(n,null,2)}`)}}var s,i}function Uo(e,t,n,r){Ji(e,t,n,...r)}function jo(e,t){for(let n=t;n<e.def.nodes.length;n++){const t=e.def.nodes[n];if(16384&t.flags&&t.bindings&&t.bindings.length)return n}return null}function Lo(e,t){for(let n=t;n<e.def.nodes.length;n++){const t=e.def.nodes[n];if(3&t.flags&&t.bindings&&t.bindings.length)return n}return null}class Vo{constructor(e,t){this.view=e,this.nodeIndex=t,null==t&&(this.nodeIndex=t=0),this.nodeDef=e.def.nodes[t];let n=this.nodeDef,r=e;for(;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&r;)n=tr(r),r=r.parent;this.elDef=n,this.elView=r}get elOrCompView(){return Un(this.elView,this.elDef.nodeIndex).componentView||this.view}get injector(){return Hr(this.elView,this.elDef)}get component(){return this.elOrCompView.component}get context(){return this.elOrCompView.context}get providerTokens(){const e=[];if(this.elDef)for(let t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){const n=this.elView.def.nodes[t];20224&n.flags&&e.push(n.provider.token),t+=n.childCount}return e}get references(){const e={};if(this.elDef){Ho(this.elView,this.elDef,e);for(let t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){const n=this.elView.def.nodes[t];20224&n.flags&&Ho(this.elView,n,e),t+=n.childCount}}return e}get componentRenderElement(){const e=function(e){for(;e&&!rr(e);)e=e.parent;return e.parent?Un(e.parent,tr(e).nodeIndex):null}(this.elOrCompView);return e?e.renderElement:void 0}get renderNode(){return 2&this.nodeDef.flags?nr(this.view,this.nodeDef):nr(this.elView,this.elDef)}logError(e,...t){let n,r;2&this.nodeDef.flags?(n=this.view.def,r=this.nodeDef.nodeIndex):(n=this.elView.def,r=this.elDef.nodeIndex);const s=function(e,t){let n=-1;for(let r=0;r<=t;r++)3&e.nodes[r].flags&&n++;return n}(n,r);let i=-1;n.factory(()=>++i===s?e.error.bind(e,...t):$n),i<s&&(e.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),e.error(...t))}}function Ho(e,t,n){for(let r in t.references)n[r]=Ni(e,t,t.references[r])}function $o(e,t,n,r){const s=Oo,i=ko,o=Ro;try{Oo=e;const a=t.apply(n,r);return ko=i,Ro=o,Oo=s,a}catch(l){if(Ye(l)||!ko)throw l;throw function(e,t){return e instanceof Error||(e=new Error(e.toString())),An(e,t),e}(l,zo())}}function zo(){return ko?new Vo(ko,Ro):null}class Fo{constructor(e){this.delegate=e}createRenderer(e,t){return new Bo(this.delegate.createRenderer(e,t))}begin(){this.delegate.begin&&this.delegate.begin()}end(){this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)}}class Bo{constructor(e){this.delegate=e,this.debugContextFactory=zo,this.data=this.delegate.data}createDebugContext(e){return this.debugContextFactory(e)}destroyNode(e){!function(e){mi.delete(e.nativeNode)}(_i(e)),this.delegate.destroyNode&&this.delegate.destroyNode(e)}destroy(){this.delegate.destroy()}createElement(e,t){const n=this.delegate.createElement(e,t),r=this.createDebugContext(n);if(r){const t=new gi(n,null,r);t.name=e,vi(t)}return n}createComment(e){const t=this.delegate.createComment(e),n=this.createDebugContext(t);return n&&vi(new fi(t,null,n)),t}createText(e){const t=this.delegate.createText(e),n=this.createDebugContext(t);return n&&vi(new fi(t,null,n)),t}appendChild(e,t){const n=_i(e),r=_i(t);n&&r&&n instanceof gi&&n.addChild(r),this.delegate.appendChild(e,t)}insertBefore(e,t,n){const r=_i(e),s=_i(t),i=_i(n);r&&s&&r instanceof gi&&r.insertBefore(i,s),this.delegate.insertBefore(e,t,n)}removeChild(e,t){const n=_i(e),r=_i(t);n&&r&&n instanceof gi&&n.removeChild(r),this.delegate.removeChild(e,t)}selectRootElement(e,t){const n=this.delegate.selectRootElement(e,t),r=zo();return r&&vi(new gi(n,null,r)),n}setAttribute(e,t,n,r){const s=_i(e);s&&s instanceof gi&&(s.attributes[r?r+":"+t:t]=n),this.delegate.setAttribute(e,t,n,r)}removeAttribute(e,t,n){const r=_i(e);r&&r instanceof gi&&(r.attributes[n?n+":"+t:t]=null),this.delegate.removeAttribute(e,t,n)}addClass(e,t){const n=_i(e);n&&n instanceof gi&&(n.classes[t]=!0),this.delegate.addClass(e,t)}removeClass(e,t){const n=_i(e);n&&n instanceof gi&&(n.classes[t]=!1),this.delegate.removeClass(e,t)}setStyle(e,t,n,r){const s=_i(e);s&&s instanceof gi&&(s.styles[t]=n),this.delegate.setStyle(e,t,n,r)}removeStyle(e,t,n){const r=_i(e);r&&r instanceof gi&&(r.styles[t]=null),this.delegate.removeStyle(e,t,n)}setProperty(e,t,n){const r=_i(e);r&&r instanceof gi&&(r.properties[t]=n),this.delegate.setProperty(e,t,n)}listen(e,t,n){if("string"!=typeof e){const r=_i(e);r&&r.listeners.push(new pi(t,n))}return this.delegate.listen(e,t,n)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setValue(e,t){return this.delegate.setValue(e,t)}}function qo(e,t,n){return new Zo(e,t,n)}class Zo extends Yt{constructor(e,t,n){super(),this.moduleType=e,this._bootstrapComponents=t,this._ngModuleDefFactory=n}create(e){!function(){if(lo)return;lo=!0;const e=rt()?{setCurrentNode:Ao,createRootView:uo,createEmbeddedView:ho,createComponentView:po,createNgModuleRef:fo,overrideProvider:vo,overrideComponentView:wo,clearOverrides:yo,checkAndUpdateView:So,checkNoChangesView:Eo,destroyView:To,createDebugContext:(e,t)=>new Vo(e,t),handleEvent:Mo,updateDirectives:Io,updateRenderer:No}:{setCurrentNode:()=>{},createRootView:ao,createEmbeddedView:zi,createComponentView:Bi,createNgModuleRef:Br,overrideProvider:$n,overrideComponentView:$n,clearOverrides:$n,checkAndUpdateView:Qi,checkNoChangesView:Wi,destroyView:eo,createDebugContext:(e,t)=>new Vo(e,t),handleEvent:(e,t,n,r)=>e.def.handleEvent(e,t,n,r),updateDirectives:(e,t)=>e.def.updateDirectives(0===t?Co:xo,e),updateRenderer:(e,t)=>e.def.updateRenderer(0===t?Co:xo,e)};Hn.setCurrentNode=e.setCurrentNode,Hn.createRootView=e.createRootView,Hn.createEmbeddedView=e.createEmbeddedView,Hn.createComponentView=e.createComponentView,Hn.createNgModuleRef=e.createNgModuleRef,Hn.overrideProvider=e.overrideProvider,Hn.overrideComponentView=e.overrideComponentView,Hn.clearOverrides=e.clearOverrides,Hn.checkAndUpdateView=e.checkAndUpdateView,Hn.checkNoChangesView=e.checkNoChangesView,Hn.destroyView=e.destroyView,Hn.resolveDep=as,Hn.createDebugContext=e.createDebugContext,Hn.handleEvent=e.handleEvent,Hn.updateDirectives=e.updateDirectives,Hn.updateRenderer=e.updateRenderer,Hn.dirtyParentQueries=Ai}();const t=function(e){const t=Array.from(e.providers),n=Array.from(e.modules),r={};for(const s in e.providersByKey)r[s]=e.providersByKey[s];return{factory:e.factory,isRoot:e.isRoot,providers:t,modules:n,providersByKey:r}}(ur(this._ngModuleDefFactory));return Hn.createNgModuleRef(this.moduleType,e||Ae.NULL,this._bootstrapComponents,t)}}class Go{}class Wo{constructor(){this.title="test"}ngOnInit(){this.hidetimer(),this.moveleft()}hidetimer(){return setTimeout(()=>{document.getElementById("timer").classList.add("hide_it")},4e3),!1}moveleft(){return document.querySelector(".i_main_container"),screen.width<767?(document.getElementById("banner_main").style.width="100%",document.getElementById("details_container").style.width="100%"):setTimeout(()=>{document.getElementById("banner_main").style.width="50%",document.getElementById("details_container").style.width="50%"},5e3),!1}}class Qo{}const Ko=new Te("Location Initialized");class Yo{}const Jo=new Te("appBaseHref"),Xo=(()=>{class e{constructor(t,n){this._subject=new gs,this._urlChangeListeners=[],this._platformStrategy=t;const r=this._platformStrategy.getBaseHref();this._platformLocation=n,this._baseHref=e.stripTrailingSlash(el(r)),this._platformStrategy.onPopState(e=>{this._subject.emit({url:this.path(!0),pop:!0,state:e.state,type:e.type})})}path(e=!1){return this.normalize(this._platformStrategy.path(e))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(t,n=""){return this.path()==this.normalize(t+e.normalizeQueryParams(n))}normalize(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,el(t)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}go(t,n="",r=null){this._platformStrategy.pushState(r,"",t,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+e.normalizeQueryParams(n)),r)}replaceState(t,n="",r=null){this._platformStrategy.replaceState(r,"",t,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+e.normalizeQueryParams(n)),r)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(e){this._urlChangeListeners.push(e),this.subscribe(e=>{this._notifyUrlChangeListeners(e.url,e.state)})}_notifyUrlChangeListeners(e="",t){this._urlChangeListeners.forEach(n=>n(e,t))}subscribe(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})}static normalizeQueryParams(e){return e&&"?"!==e[0]?"?"+e:e}static joinWithSlash(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}static stripTrailingSlash(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}}return e})();function el(e){return e.replace(/\/index.html$/,"")}const tl=(()=>(class extends Yo{constructor(e,t){super(),this._platformLocation=e,this._baseHref="",null!=t&&(this._baseHref=t)}onPopState(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}getBaseHref(){return this._baseHref}path(e=!1){let t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t}prepareExternalUrl(e){const t=Xo.joinWithSlash(this._baseHref,e);return t.length>0?"#"+t:t}pushState(e,t,n,r){let s=this.prepareExternalUrl(n+Xo.normalizeQueryParams(r));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(e,t,s)}replaceState(e,t,n,r){let s=this.prepareExternalUrl(n+Xo.normalizeQueryParams(r));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}))(),nl=(()=>(class extends Yo{constructor(e,t){if(super(),this._platformLocation=e,null==t&&(t=this._platformLocation.getBaseHrefFromDOM()),null==t)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=t}onPopState(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return Xo.joinWithSlash(this._baseHref,e)}path(e=!1){const t=this._platformLocation.pathname+Xo.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?`${t}${n}`:t}pushState(e,t,n,r){const s=this.prepareExternalUrl(n+Xo.normalizeQueryParams(r));this._platformLocation.pushState(e,t,s)}replaceState(e,t,n,r){const s=this.prepareExternalUrl(n+Xo.normalizeQueryParams(r));this._platformLocation.replaceState(e,t,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}))(),rl=void 0;var sl=["en",[["a","p"],["AM","PM"],rl],[["AM","PM"],rl,rl],[["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"]],rl,[["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"]],rl,[["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}",rl,"{1} 'at' {0}",rl],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",{},function(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];const il={},ol=function(){var e={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return e[e.Zero]="Zero",e[e.One]="One",e[e.Two]="Two",e[e.Few]="Few",e[e.Many]="Many",e[e.Other]="Other",e}(),ll=new Te("UseV4Plurals");class al{}const ul=(()=>(class extends al{constructor(e,t){super(),this.locale=e,this.deprecatedPluralFn=t}getPluralCategory(e,t){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(t||this.locale,e):function(e){return function(e){const t=e.toLowerCase().replace(/_/g,"-");let n=il[t];if(n)return n;const r=t.split("-")[0];if(n=il[r])return n;if("en"===r)return sl;throw new Error(`Missing locale data for the locale "${e}".`)}(e)[18]}(t||this.locale)(e)){case ol.Zero:return"zero";case ol.One:return"one";case ol.Two:return"two";case ol.Few:return"few";case ol.Many:return"many";default:return"other"}}}))(),cl=(()=>(class{}))(),hl=new Te("DocumentToken"),dl=(()=>{class e{}return e.ngInjectableDef=pe({providedIn:"root",factory:()=>new pl(Ee(hl),window,Ee(et))}),e})();class pl{constructor(e,t,n){this.document=e,this.window=t,this.errorHandler=n,this.offset=(()=>[0,0])}setOffset(e){this.offset=Array.isArray(e)?()=>e:e}getScrollPosition(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]}scrollToPosition(e){this.supportScrollRestoration()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){if(this.supportScrollRestoration()){e=this.window.CSS&&this.window.CSS.escape?this.window.CSS.escape(e):e.replace(/(\"|\'\ |:|\.|\[|\]|,|=)/g,"\\$1");try{const n=this.document.querySelector(`#${e}`);if(n)return void this.scrollToElement(n);const r=this.document.querySelector(`[name='${e}']`);if(r)return void this.scrollToElement(r)}catch(t){this.errorHandler.handleError(t)}}}setHistoryScrollRestoration(e){if(this.supportScrollRestoration()){const t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}scrollToElement(e){const t=e.getBoundingClientRect(),n=t.left+this.window.pageXOffset,r=t.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(n-s[0],r-s[1])}supportScrollRestoration(){try{return!!this.window&&!!this.window.scrollTo}catch(e){return!1}}}const fl=new b(e=>e.complete());function gl(e){return e?function(e){return new b(t=>e.schedule(()=>t.complete()))}(e):fl}function ml(e){const t=new b(t=>{t.next(e),t.complete()});return t._isScalar=!0,t.value=e,t}function _l(...e){let t=e[e.length-1];switch(k(t)?e.pop():t=void 0,e.length){case 0:return gl(t);case 1:return t?q(e,t):ml(e[0]);default:return q(e,t)}}class vl extends P{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const t=super._subscribe(e);return t&&!t.closed&&e.next(this._value),t}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new S;return this._value}next(e){super.next(this._value=e)}}function wl(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}wl.prototype=Object.create(Error.prototype);const yl=wl,bl={};class Cl{constructor(e){this.resultSelector=e}call(e,t){return t.subscribe(new xl(e,this.resultSelector))}}class xl extends ${constructor(e,t){super(e),this.resultSelector=t,this.active=0,this.values=[],this.observables=[]}_next(e){this.values.push(bl),this.observables.push(e)}_complete(){const e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(let n=0;n<t;n++){const t=e[n];this.add(H(this,t,t,n))}}}notifyComplete(e){0==(this.active-=1)&&this.destination.complete()}notifyNext(e,t,n,r,s){const i=this.values,o=this.toRespond?i[n]===bl?--this.toRespond:this.toRespond:0;i[n]=t,0===o&&(this.resultSelector?this._tryResultSelector(i):this.destination.next(i.slice()))}_tryResultSelector(e){let t;try{t=this.resultSelector.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}function Sl(e){return new b(t=>{let n;try{n=e()}catch(r){return void t.error(r)}return(n?Z(n):gl()).subscribe(t)})}function El(){return Y(1)}function Tl(e,t){return function(n){return n.lift(new Pl(e,t))}}class Pl{constructor(e,t){this.predicate=e,this.thisArg=t}call(e,t){return t.subscribe(new Ol(e,this.predicate,this.thisArg))}}class Ol extends g{constructor(e,t,n){super(e),this.predicate=t,this.thisArg=n,this.count=0}_next(e){let t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)}}function kl(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}kl.prototype=Object.create(Error.prototype);const Rl=kl;function Al(e){return function(t){return 0===e?gl():t.lift(new Ml(e))}}class Ml{constructor(e){if(this.total=e,this.total<0)throw new Rl}call(e,t){return t.subscribe(new Il(e,this.total))}}class Il extends g{constructor(e,t){super(e),this.total=t,this.ring=new Array,this.count=0}_next(e){const t=this.ring,n=this.total,r=this.count++;t.length<n?t.push(e):t[r%n]=e}_complete(){const e=this.destination;let t=this.count;if(t>0){const n=this.count>=this.total?this.total:this.count,r=this.ring;for(let s=0;s<n;s++){const s=t++%n;e.next(r[s])}}e.complete()}}function Nl(e,t,n){return function(r){return r.lift(new Dl(e,t,n))}}class Dl{constructor(e,t,n){this.nextOrObserver=e,this.error=t,this.complete=n}call(e,t){return t.subscribe(new Ul(e,this.nextOrObserver,this.error,this.complete))}}class Ul extends g{constructor(e,t,n,s){super(e),this._tapNext=v,this._tapError=v,this._tapComplete=v,this._tapError=n||v,this._tapComplete=s||v,r(t)?(this._context=this,this._tapNext=t):t&&(this._context=t,this._tapNext=t.next||v,this._tapError=t.error||v,this._tapComplete=t.complete||v)}_next(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)}_error(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)}_complete(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}const jl=(e=function(){return new yl})=>Nl({hasValue:!1,next(){this.hasValue=!0},complete(){if(!this.hasValue)throw e()}});function Ll(e=null){return t=>t.lift(new Vl(e))}class Vl{constructor(e){this.defaultValue=e}call(e,t){return t.subscribe(new Hl(e,this.defaultValue))}}class Hl extends g{constructor(e,t){super(e),this.defaultValue=t,this.isEmpty=!0}_next(e){this.isEmpty=!1,this.destination.next(e)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function $l(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Tl((t,n)=>e(t,n,r)):K,Al(1),n?Ll(t):jl(()=>new yl))}function zl(e){return function(t){const n=new Fl(e),r=t.lift(n);return n.caught=r}}class Fl{constructor(e){this.selector=e}call(e,t){return t.subscribe(new Bl(e,this.selector,this.caught))}}class Bl extends ${constructor(e,t,n){super(e),this.selector=t,this.caught=n}error(e){if(!this.isStopped){let n;try{n=this.selector(e,this.caught)}catch(t){return void super.error(t)}this._unsubscribeAndRecycle();const r=new R(this,void 0,void 0);this.add(r),H(this,n,void 0,void 0,r)}}}function ql(e){return t=>0===e?gl():t.lift(new Zl(e))}class Zl{constructor(e){if(this.total=e,this.total<0)throw new Rl}call(e,t){return t.subscribe(new Gl(e,this.total))}}class Gl extends g{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){const t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))}}function Wl(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Tl((t,n)=>e(t,n,r)):K,ql(1),n?Ll(t):jl(()=>new yl))}class Ql{constructor(e,t,n){this.predicate=e,this.thisArg=t,this.source=n}call(e,t){return t.subscribe(new Kl(e,this.predicate,this.thisArg,this.source))}}class Kl extends g{constructor(e,t,n,r){super(e),this.predicate=t,this.thisArg=n,this.source=r,this.index=0,this.thisArg=n||this}notifyComplete(e){this.destination.next(e),this.destination.complete()}_next(e){let t=!1;try{t=this.predicate.call(this.thisArg,e,this.index++,this.source)}catch(n){return void this.destination.error(n)}t||this.notifyComplete(!1)}_complete(){this.notifyComplete(!0)}}function Yl(e,t){return"function"==typeof t?n=>n.pipe(Yl((n,r)=>Z(e(n,r)).pipe(z((e,s)=>t(n,e,r,s))))):t=>t.lift(new Jl(e))}class Jl{constructor(e){this.project=e}call(e,t){return t.subscribe(new Xl(e,this.project))}}class Xl extends ${constructor(e,t){super(e),this.project=t,this.index=0}_next(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this._innerSub(t,e,n)}_innerSub(e,t,n){const r=this.innerSubscription;r&&r.unsubscribe();const s=new R(this,void 0,void 0);this.destination.add(s),this.innerSubscription=H(this,e,t,n,s)}_complete(){const{innerSubscription:e}=this;e&&!e.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(e){this.destination.remove(e),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(e,t,n,r,s){this.destination.next(t)}}function ea(e,t){let n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new ta(e,t,n))}}class ta{constructor(e,t,n=!1){this.accumulator=e,this.seed=t,this.hasSeed=n}call(e,t){return t.subscribe(new na(e,this.accumulator,this.seed,this.hasSeed))}}class na extends g{constructor(e,t,n,r){super(e),this.accumulator=t,this._seed=n,this.hasSeed=r,this.index=0}get seed(){return this._seed}set seed(e){this.hasSeed=!0,this._seed=e}_next(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)}_tryNext(e){const t=this.index++;let n;try{n=this.accumulator(this.seed,e,t)}catch(r){this.destination.error(r)}this.seed=n,this.destination.next(n)}}function ra(e,t){return G(e,t,1)}class sa{constructor(e){this.callback=e}call(e,t){return t.subscribe(new ia(e,this.callback))}}class ia extends g{constructor(e,t){super(e),this.add(new d(t))}}let oa=null;function la(){return oa}class aa{constructor(){this.resourceLoaderType=null}get attrToPropMap(){return this._attrToPropMap}set attrToPropMap(e){this._attrToPropMap=e}}class ua extends aa{constructor(){super(),this._animationPrefix=null,this._transitionEnd=null;try{const t=this.createElement("div",document);if(null!=this.getStyle(t,"animationName"))this._animationPrefix="";else{const e=["Webkit","Moz","O","ms"];for(let n=0;n<e.length;n++)if(null!=this.getStyle(t,e[n]+"AnimationName")){this._animationPrefix="-"+e[n].toLowerCase()+"-";break}}const n={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(n).forEach(e=>{null!=this.getStyle(t,e)&&(this._transitionEnd=n[e])})}catch(e){this._animationPrefix=null,this._transitionEnd=null}}getDistributedNodes(e){return e.getDistributedNodes()}resolveAndSetHref(e,t,n){e.href=null==n?t:t+"/../"+n}supportsDOMEvents(){return!0}supportsNativeShadowDOM(){return"function"==typeof document.body.createShadowRoot}getAnimationPrefix(){return this._animationPrefix?this._animationPrefix:""}getTransitionEnd(){return this._transitionEnd?this._transitionEnd:""}supportsAnimation(){return null!=this._animationPrefix&&null!=this._transitionEnd}}const ca={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},ha=3,da={"\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"},pa={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"},fa=(()=>{if(be.Node)return be.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))}})();class ga extends ua{parse(e){throw new Error("parse not implemented")}static makeCurrent(){var e;e=new ga,oa||(oa=e)}hasProperty(e,t){return t in e}setProperty(e,t,n){e[t]=n}getProperty(e,t){return e[t]}invoke(e,t,n){e[t](...n)}logError(e){window.console&&(console.error?console.error(e):console.log(e))}log(e){window.console&&window.console.log&&window.console.log(e)}logGroup(e){window.console&&window.console.group&&window.console.group(e)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}get attrToPropMap(){return ca}contains(e,t){return fa.call(e,t)}querySelector(e,t){return e.querySelector(t)}querySelectorAll(e,t){return e.querySelectorAll(t)}on(e,t,n){e.addEventListener(t,n,!1)}onAndCancel(e,t,n){return e.addEventListener(t,n,!1),()=>{e.removeEventListener(t,n,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}createMouseEvent(e){const t=this.getDefaultDocument().createEvent("MouseEvent");return t.initEvent(e,!0,!0),t}createEvent(e){const t=this.getDefaultDocument().createEvent("Event");return t.initEvent(e,!0,!0),t}preventDefault(e){e.preventDefault(),e.returnValue=!1}isPrevented(e){return e.defaultPrevented||null!=e.returnValue&&!e.returnValue}getInnerHTML(e){return e.innerHTML}getTemplateContent(e){return"content"in e&&this.isTemplateElement(e)?e.content:null}getOuterHTML(e){return e.outerHTML}nodeName(e){return e.nodeName}nodeValue(e){return e.nodeValue}type(e){return e.type}content(e){return this.hasProperty(e,"content")?e.content:e}firstChild(e){return e.firstChild}nextSibling(e){return e.nextSibling}parentElement(e){return e.parentNode}childNodes(e){return e.childNodes}childNodesAsList(e){const t=e.childNodes,n=new Array(t.length);for(let r=0;r<t.length;r++)n[r]=t[r];return n}clearNodes(e){for(;e.firstChild;)e.removeChild(e.firstChild)}appendChild(e,t){e.appendChild(t)}removeChild(e,t){e.removeChild(t)}replaceChild(e,t,n){e.replaceChild(t,n)}remove(e){return e.parentNode&&e.parentNode.removeChild(e),e}insertBefore(e,t,n){e.insertBefore(n,t)}insertAllBefore(e,t,n){n.forEach(n=>e.insertBefore(n,t))}insertAfter(e,t,n){e.insertBefore(n,t.nextSibling)}setInnerHTML(e,t){e.innerHTML=t}getText(e){return e.textContent}setText(e,t){e.textContent=t}getValue(e){return e.value}setValue(e,t){e.value=t}getChecked(e){return e.checked}setChecked(e,t){e.checked=t}createComment(e){return this.getDefaultDocument().createComment(e)}createTemplate(e){const t=this.getDefaultDocument().createElement("template");return t.innerHTML=e,t}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createElementNS(e,t,n){return(n=n||this.getDefaultDocument()).createElementNS(e,t)}createTextNode(e,t){return(t=t||this.getDefaultDocument()).createTextNode(e)}createScriptTag(e,t,n){const r=(n=n||this.getDefaultDocument()).createElement("SCRIPT");return r.setAttribute(e,t),r}createStyleElement(e,t){const n=(t=t||this.getDefaultDocument()).createElement("style");return this.appendChild(n,this.createTextNode(e,t)),n}createShadowRoot(e){return e.createShadowRoot()}getShadowRoot(e){return e.shadowRoot}getHost(e){return e.host}clone(e){return e.cloneNode(!0)}getElementsByClassName(e,t){return e.getElementsByClassName(t)}getElementsByTagName(e,t){return e.getElementsByTagName(t)}classList(e){return Array.prototype.slice.call(e.classList,0)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}hasClass(e,t){return e.classList.contains(t)}setStyle(e,t,n){e.style[t]=n}removeStyle(e,t){e.style[t]=""}getStyle(e,t){return e.style[t]}hasStyle(e,t,n){const r=this.getStyle(e,t)||"";return n?r==n:r.length>0}tagName(e){return e.tagName}attributeMap(e){const t=new Map,n=e.attributes;for(let r=0;r<n.length;r++){const e=n.item(r);t.set(e.name,e.value)}return t}hasAttribute(e,t){return e.hasAttribute(t)}hasAttributeNS(e,t,n){return e.hasAttributeNS(t,n)}getAttribute(e,t){return e.getAttribute(t)}getAttributeNS(e,t,n){return e.getAttributeNS(t,n)}setAttribute(e,t,n){e.setAttribute(t,n)}setAttributeNS(e,t,n,r){e.setAttributeNS(t,n,r)}removeAttribute(e,t){e.removeAttribute(t)}removeAttributeNS(e,t,n){e.removeAttributeNS(t,n)}templateAwareRoot(e){return this.isTemplateElement(e)?this.content(e):e}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}getBoundingClientRect(e){try{return e.getBoundingClientRect()}catch(t){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}}getTitle(e){return e.title}setTitle(e,t){e.title=t||""}elementMatches(e,t){return!!this.isElementNode(e)&&(e.matches&&e.matches(t)||e.msMatchesSelector&&e.msMatchesSelector(t)||e.webkitMatchesSelector&&e.webkitMatchesSelector(t))}isTemplateElement(e){return this.isElementNode(e)&&"TEMPLATE"===e.nodeName}isTextNode(e){return e.nodeType===Node.TEXT_NODE}isCommentNode(e){return e.nodeType===Node.COMMENT_NODE}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}hasShadowRoot(e){return null!=e.shadowRoot&&e instanceof HTMLElement}isShadowRoot(e){return e instanceof DocumentFragment}importIntoDoc(e){return document.importNode(this.templateAwareRoot(e),!0)}adoptNode(e){return document.adoptNode(e)}getHref(e){return e.getAttribute("href")}getEventKey(e){let t=e.key;if(null==t){if(null==(t=e.keyIdentifier))return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),e.location===ha&&pa.hasOwnProperty(t)&&(t=pa[t]))}return da[t]||t}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(e){const t=_a||(_a=document.querySelector("base"))?_a.getAttribute("href"):null;return null==t?null:(n=t,ma||(ma=document.createElement("a")),ma.setAttribute("href",n),"/"===ma.pathname.charAt(0)?ma.pathname:"/"+ma.pathname);var n}resetBaseElement(){_a=null}getUserAgent(){return window.navigator.userAgent}setData(e,t,n){this.setAttribute(e,"data-"+t,n)}getData(e,t){return this.getAttribute(e,"data-"+t)}getComputedStyle(e){return getComputedStyle(e)}supportsWebAnimation(){return"function"==typeof Element.prototype.animate}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(e){return function(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const e=n.indexOf("="),[r,s]=-1==e?[n,""]:[n.slice(0,e),n.slice(e+1)];if(r.trim()===t)return decodeURIComponent(s)}return null}(document.cookie,e)}setCookie(e,t){document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)}}let ma,_a=null;function va(){return!!window.history.pushState}const wa=(()=>{class e extends Qo{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=la().getLocation(),this._history=la().getHistory()}getBaseHrefFromDOM(){return la().getBaseHref(this._doc)}onPopState(e){la().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)}onHashChange(e){la().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!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(e){this.location.pathname=e}pushState(e,t,n){va()?this._history.pushState(e,t,n):this.location.hash=n}replaceState(e,t,n){va()?this._history.replaceState(e,t,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return e.ctorParameters=(()=>[{type:void 0,decorators:[{type:le,args:[hl]}]}]),e})(),ya=new Te("TRANSITION_ID"),ba=[{provide:vs,useFactory:function(e,t,n){return()=>{n.get(ws).donePromise.then(()=>{const n=la();Array.prototype.slice.apply(n.querySelectorAll(t,"style[ng-transition]")).filter(t=>n.getAttribute(t,"ng-transition")===e).forEach(e=>n.remove(e))})}},deps:[ya,hl,Ae],multi:!0}];class Ca{static init(){var e;e=new Ca,Xs=e}addToWindow(e){be.getAngularTestability=((t,n=!0)=>{const r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r}),be.getAllAngularTestabilities=(()=>e.getAllTestabilities()),be.getAllAngularRootElements=(()=>e.getAllRootElements()),be.frameworkStabilizers||(be.frameworkStabilizers=[]),be.frameworkStabilizers.push(e=>{const t=be.getAllAngularTestabilities();let n=t.length,r=!1;const s=function(t){r=r||t,0==--n&&e(r)};t.forEach(function(e){e.whenStable(s)})})}findTestabilityInTree(e,t,n){if(null==t)return null;const r=e.getTestability(t);return null!=r?r:n?la().isShadowRoot(t)?this.findTestabilityInTree(e,la().getHost(t),!0):this.findTestabilityInTree(e,la().parentElement(t),!0):null}}function xa(e,t){"undefined"!=typeof COMPILED&&COMPILED||((be.ng=be.ng||{})[e]=t)}const Sa=(()=>({ApplicationRef:li,NgZone:zs}))();function Ea(e){return _i(e)}const Ta=new Te("EventManagerPlugins"),Pa=(()=>(class{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(e=>e.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}addGlobalEventListener(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const n=this._plugins;for(let r=0;r<n.length;r++){const t=n[r];if(t.supports(e))return this._eventNameToPlugin.set(e,t),t}throw new Error(`No event manager plugin found for event ${e}`)}}))();class Oa{constructor(e){this._doc=e}addGlobalEventListener(e,t,n){const r=la().getGlobalEventTarget(this._doc,e);if(!r)throw new Error(`Unsupported event target ${r} for event ${t}`);return this.addEventListener(r,t,n)}}const ka=(()=>(class{constructor(){this._stylesSet=new Set}addStyles(e){const t=new Set;e.forEach(e=>{this._stylesSet.has(e)||(this._stylesSet.add(e),t.add(e))}),this.onStylesAdded(t)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}))(),Ra=(()=>(class extends ka{constructor(e){super(),this._doc=e,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(e.head)}_addStylesToHost(e,t){e.forEach(e=>{const n=this._doc.createElement("style");n.textContent=e,this._styleNodes.add(t.appendChild(n))})}addHost(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)}removeHost(e){this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach(t=>this._addStylesToHost(e,t))}ngOnDestroy(){this._styleNodes.forEach(e=>la().remove(e))}}))(),Aa={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/"},Ma=/%COMP%/g,Ia="_nghost-%COMP%",Na="_ngcontent-%COMP%";function Da(e,t,n){for(let r=0;r<t.length;r++){let s=t[r];Array.isArray(s)?Da(e,s,n):(s=s.replace(Ma,e),n.push(s))}return n}function Ua(e){return t=>{!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}const ja=(()=>(class{constructor(e,t,n){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new La(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case Qe.Emulated:{let n=this.rendererByCompId.get(t.id);return n||(n=new $a(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n}case Qe.Native:case Qe.ShadowDom:return new za(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const e=Da(t.id,t.styles,[]);this.sharedStylesHost.addStyles(e),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}))();class La{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,t){return t?document.createElementNS(Aa[t]||t,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,t){e.appendChild(t)}insertBefore(e,t,n){e&&e.insertBefore(t,n)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error(`The selector "${e}" did not match any elements`);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,r){if(r){t=`${r}:${t}`;const s=Aa[r];s?e.setAttributeNS(s,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const r=Aa[n];r?e.removeAttributeNS(r,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,r){r&rn.DashCase?e.style.setProperty(t,n,r&rn.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&rn.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){Ha(t,"property"),e[t]=n}setValue(e,t){e.nodeValue=t}listen(e,t,n){return Ha(t,"listener"),"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,Ua(n)):this.eventManager.addEventListener(e,t,Ua(n))}}const Va=(()=>"@".charCodeAt(0))();function Ha(e,t){if(e.charCodeAt(0)===Va)throw new Error(`Found the synthetic ${t} ${e}. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.`)}class $a extends La{constructor(e,t,n,r){super(e),this.component=n;const s=Da(r+"-"+n.id,n.styles,[]);t.addStyles(s),this.contentAttr=Na.replace(Ma,r+"-"+n.id),this.hostAttr=Ia.replace(Ma,r+"-"+n.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,t){const n=super.createElement(e,t);return super.setAttribute(n,this.contentAttr,""),n}}class za extends La{constructor(e,t,n,r){super(e),this.sharedStylesHost=t,this.hostEl=n,this.component=r,this.shadowRoot=r.encapsulation===Qe.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const s=Da(r.id,r.styles,[]);for(let i=0;i<s.length;i++){const e=document.createElement("style");e.textContent=s[i],this.shadowRoot.appendChild(e)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,n){return super.insertBefore(this.nodeOrShadowRoot(e),t,n)}removeChild(e,t){return super.removeChild(this.nodeOrShadowRoot(e),t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}}const Fa=(()=>"undefined"!=typeof Zone&&Zone.__symbol__||function(e){return"__zone_symbol__"+e})(),Ba=Fa("addEventListener"),qa=Fa("removeEventListener"),Za={},Ga="__zone_symbol__propagationStopped",Wa=(()=>{const e="undefined"!=typeof Zone&&Zone[Fa("BLACK_LISTED_EVENTS")];if(e){const t={};return e.forEach(e=>{t[e]=e}),t}})(),Qa=function(e){return!!Wa&&Wa.hasOwnProperty(e)},Ka=function(e){const t=Za[e.type];if(!t)return;const n=this[t];if(!n)return;const r=[e];if(1===n.length){const e=n[0];return e.zone!==Zone.current?e.zone.run(e.handler,this,r):e.handler.apply(this,r)}{const t=n.slice();for(let n=0;n<t.length&&!0!==e[Ga];n++){const e=t[n];e.zone!==Zone.current?e.zone.run(e.handler,this,r):e.handler.apply(this,r)}}},Ya=(()=>(class extends Oa{constructor(e,t,n){super(e),this.ngZone=t,n&&function(e){return"server"===e}(n)||this.patchEvent()}patchEvent(){if("undefined"==typeof Event||!Event||!Event.prototype)return;if(Event.prototype.__zone_symbol__stopImmediatePropagation)return;const e=Event.prototype.__zone_symbol__stopImmediatePropagation=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[Ga]=!0),e&&e.apply(this,arguments)}}supports(e){return!0}addEventListener(e,t,n){let r=n;if(!e[Ba]||zs.isInAngularZone()&&!Qa(t))e.addEventListener(t,r,!1);else{let n=Za[t];n||(n=Za[t]=Fa("ANGULAR"+t+"FALSE"));let s=e[n];const i=s&&s.length>0;s||(s=e[n]=[]);const o=Qa(t)?Zone.root:Zone.current;if(0===s.length)s.push({zone:o,handler:r});else{let e=!1;for(let t=0;t<s.length;t++)if(s[t].handler===r){e=!0;break}e||s.push({zone:o,handler:r})}i||e[Ba](t,Ka,!1)}return()=>this.removeEventListener(e,t,r)}removeEventListener(e,t,n){let r=e[qa];if(!r)return e.removeEventListener.apply(e,[t,n,!1]);let s=Za[t],i=s&&e[s];if(!i)return e.removeEventListener.apply(e,[t,n,!1]);let o=!1;for(let l=0;l<i.length;l++)if(i[l].handler===n){o=!0,i.splice(l,1);break}o?0===i.length&&r.apply(e,[t,Ka,!1]):e.removeEventListener.apply(e,[t,n,!1])}}))(),Ja={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0},Xa=new Te("HammerGestureConfig"),eu=new Te("HammerLoader"),tu=(()=>(class{constructor(){this.events=[],this.overrides={}}buildHammer(e){const t=new Hammer(e,this.options);t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0});for(const n in this.overrides)t.get(n).set(this.overrides[n]);return t}}))(),nu=(()=>(class extends Oa{constructor(e,t,n,r){super(e),this._config=t,this.console=n,this.loader=r}supports(e){return!(!Ja.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e)||!window.Hammer&&!this.loader&&(this.console.warn(`The "${e}" event cannot be bound because Hammer.JS is not `+"loaded and no custom loader has been specified."),1))}addEventListener(e,t,n){const r=this.manager.getZone();if(t=t.toLowerCase(),!window.Hammer&&this.loader){let r=!1,s=()=>{r=!0};return this.loader().then(()=>{if(!window.Hammer)return this.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(s=(()=>{}));r||(s=this.addEventListener(e,t,n))}).catch(()=>{this.console.warn(`The "${t}" event cannot be bound because the custom `+"Hammer.JS loader failed."),s=(()=>{})}),()=>{s()}}return r.runOutsideAngular(()=>{const s=this._config.buildHammer(e),i=function(e){r.runGuarded(function(){n(e)})};return s.on(t,i),()=>{s.off(t,i),"function"==typeof s.destroy&&s.destroy()}})}isCustomEvent(e){return this._config.events.indexOf(e)>-1}}))(),ru=["alt","control","meta","shift"],su={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},iu=(()=>{class e extends Oa{constructor(e){super(e)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,n,r){const s=e.parseEventName(n),i=e.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>la().onAndCancel(t,s.domEventName,i))}static parseEventName(t){const n=t.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const s=e._normalizeKey(n.pop());let i="";if(ru.forEach(e=>{const t=n.indexOf(e);t>-1&&(n.splice(t,1),i+=e+".")}),i+=s,0!=n.length||0===s.length)return null;const o={};return o.domEventName=r,o.fullKey=i,o}static getEventFullKey(e){let t="",n=la().getEventKey(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),ru.forEach(r=>{r!=n&&(0,su[r])(e)&&(t+=r+".")}),t+=n}static eventCallback(t,n,r){return s=>{e.getEventFullKey(s)===t&&r.runGuarded(()=>n(s))}}static _normalizeKey(e){switch(e){case"esc":return"escape";default:return e}}}return e})();class ou{}const lu=(()=>(class extends ou{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case Et.NONE:return t;case Et.HTML:return t instanceof uu?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"HTML"),function(e,t){let n=null;try{xt=xt||new st(e);let r=t?String(t):"";n=xt.getInertBodyElement(r);let s=5,i=r;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,r=i,i=n.innerHTML,n=xt.getInertBodyElement(r)}while(r!==i);const o=new wt,l=o.sanitizeChildren(St(n)||n);return rt()&&o.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),l}finally{if(n){const e=St(n)||n;for(;e.firstChild;)e.removeChild(e.firstChild)}}}(this._doc,String(t)));case Et.STYLE:return t instanceof cu?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"Style"),function(e){if(!(e=String(e).trim()))return"";const t=e.match(Ot);return t&<(t[1])===t[1]||e.match(Pt)&&function(e){let t=!0,n=!0;for(let r=0;r<e.length;r++){const s=e.charAt(r);"'"===s&&n?t=!t:'"'===s&&t&&(n=!n)}return t&&n}(e)?e:(rt()&&console.warn(`WARNING: sanitizing unsafe style value ${e} (see http://g.co/ng/security#xss).`),"unsafe")}(t));case Et.SCRIPT:if(t instanceof hu)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"Script"),new Error("unsafe value used in a script context");case Et.URL:return t instanceof pu||t instanceof du?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"URL"),lt(String(t)));case Et.RESOURCE_URL:if(t instanceof pu)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see http://g.co/ng/security#xss)`)}}checkNotSafeValue(e,t){if(e instanceof au)throw new Error(`Required a safe ${t}, got a ${e.getTypeName()} `+"(see http://g.co/ng/security#xss)")}bypassSecurityTrustHtml(e){return new uu(e)}bypassSecurityTrustStyle(e){return new cu(e)}bypassSecurityTrustScript(e){return new hu(e)}bypassSecurityTrustUrl(e){return new du(e)}bypassSecurityTrustResourceUrl(e){return new pu(e)}}))();class au{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity}`+" (see http://g.co/ng/security#xss)"}}class uu extends au{getTypeName(){return"HTML"}}class cu extends au{getTypeName(){return"Style"}}class hu extends au{getTypeName(){return"Script"}}class du extends au{getTypeName(){return"URL"}}class pu extends au{getTypeName(){return"ResourceURL"}}const fu=ri(wi,"browser",[{provide:Ss,useValue:"browser"},{provide:xs,useValue:function(){ga.makeCurrent(),Ca.init()},multi:!0},{provide:Qo,useClass:wa,deps:[hl]},{provide:hl,useFactory:function(){return document},deps:[]}]);function gu(){return new et}const mu=(()=>{class e{constructor(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(t){return{ngModule:e,providers:[{provide:ys,useValue:t.appId},{provide:ya,useExisting:ys},ba]}}}return e})();"undefined"!=typeof window&&window;class _u{constructor(e,t){this.id=e,this.url=t}}class vu extends _u{constructor(e,t,n="imperative",r=null){super(e,t),this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class wu extends _u{constructor(e,t,n){super(e,t),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class yu extends _u{constructor(e,t,n){super(e,t),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class bu extends _u{constructor(e,t,n){super(e,t),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Cu extends _u{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class xu extends _u{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Su extends _u{constructor(e,t,n,r,s){super(e,t),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=s}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Eu extends _u{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Tu extends _u{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Pu{constructor(e){this.route=e}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Ou{constructor(e){this.route=e}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ku{constructor(e){this.snapshot=e}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ru{constructor(e){this.snapshot=e}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Au{constructor(e){this.snapshot=e}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Mu{constructor(e){this.snapshot=e}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Iu{constructor(e,t,n){this.routerEvent=e,this.position=t,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const Nu=(()=>(class{}))(),Du="primary";class Uu{constructor(e){this.params=e||{}}has(e){return this.params.hasOwnProperty(e)}get(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t[0]:t}return null}getAll(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function ju(e){return new Uu(e)}const Lu="ngNavigationCancelingError";function Vu(e){const t=Error("NavigationCancelingError: "+e);return t[Lu]=!0,t}function Hu(e,t,n){const r=n.path.split("/");if(r.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||r.length<e.length))return null;const s={};for(let i=0;i<r.length;i++){const t=r[i],n=e[i];if(t.startsWith(":"))s[t.substring(1)]=n;else if(t!==n.path)return null}return{consumed:e.slice(0,r.length),posParams:s}}class $u{constructor(e,t){this.routes=e,this.module=t}}function zu(e,t=""){for(let n=0;n<e.length;n++){const r=e[n];Fu(r,Bu(t,r))}}function Fu(e,t){if(!e)throw new Error(`\n Invalid configuration of route '${t}': 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(e))throw new Error(`Invalid configuration of route '${t}': Array cannot be specified`);if(!e.component&&!e.children&&!e.loadChildren&&e.outlet&&e.outlet!==Du)throw new Error(`Invalid configuration of route '${t}': a componentless route without children or loadChildren cannot have a named outlet set`);if(e.redirectTo&&e.children)throw new Error(`Invalid configuration of route '${t}': redirectTo and children cannot be used together`);if(e.redirectTo&&e.loadChildren)throw new Error(`Invalid configuration of route '${t}': redirectTo and loadChildren cannot be used together`);if(e.children&&e.loadChildren)throw new Error(`Invalid configuration of route '${t}': children and loadChildren cannot be used together`);if(e.redirectTo&&e.component)throw new Error(`Invalid configuration of route '${t}': redirectTo and component cannot be used together`);if(e.path&&e.matcher)throw new Error(`Invalid configuration of route '${t}': path and matcher cannot be used together`);if(void 0===e.redirectTo&&!e.component&&!e.children&&!e.loadChildren)throw new Error(`Invalid configuration of route '${t}'. One of the following must be provided: component, redirectTo, children or loadChildren`);if(void 0===e.path&&void 0===e.matcher)throw new Error(`Invalid configuration of route '${t}': routes must have either a path or a matcher specified`);if("string"==typeof e.path&&"/"===e.path.charAt(0))throw new Error(`Invalid configuration of route '${t}': path cannot start with a slash`);if(""===e.path&&void 0!==e.redirectTo&&void 0===e.pathMatch)throw new Error(`Invalid configuration of route '{path: "${t}", redirectTo: "${e.redirectTo}"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.`);if(void 0!==e.pathMatch&&"full"!==e.pathMatch&&"prefix"!==e.pathMatch)throw new Error(`Invalid configuration of route '${t}': pathMatch can only be set to 'prefix' or 'full'`);e.children&&zu(e.children,t)}function Bu(e,t){return t?e||t.path?e&&!t.path?`${e}/`:!e&&t.path?t.path:`${e}/${t.path}`:"":e}function qu(e){const t=e.children&&e.children.map(qu),n=t?Object.assign({},e,{children:t}):Object.assign({},e);return!n.component&&(t||n.loadChildren)&&n.outlet&&n.outlet!==Du&&(n.component=Nu),n}function Zu(e,t){const n=Object.keys(e),r=Object.keys(t);if(!n||!r||n.length!=r.length)return!1;let s;for(let i=0;i<n.length;i++)if(e[s=n[i]]!==t[s])return!1;return!0}function Gu(e){return Array.prototype.concat.apply([],e)}function Wu(e){return e.length>0?e[e.length-1]:null}function Qu(e,t){for(const n in e)e.hasOwnProperty(n)&&t(e[n],n)}function Ku(e){return Mt(e)?e:At(e)?Z(Promise.resolve(e)):_l(e)}function Yu(e,t,n){return n?function(e,t){return Zu(e,t)}(e.queryParams,t.queryParams)&&function e(t,n){if(!tc(t.segments,n.segments))return!1;if(t.numberOfChildren!==n.numberOfChildren)return!1;for(const r in n.children){if(!t.children[r])return!1;if(!e(t.children[r],n.children[r]))return!1}return!0}(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>t[n]===e[n])}(e.queryParams,t.queryParams)&&function e(t,n){return function t(n,r,s){if(n.segments.length>s.length){return!!tc(n.segments.slice(0,s.length),s)&&!r.hasChildren()}if(n.segments.length===s.length){if(!tc(n.segments,s))return!1;for(const t in r.children){if(!n.children[t])return!1;if(!e(n.children[t],r.children[t]))return!1}return!0}{const e=s.slice(0,n.segments.length),i=s.slice(n.segments.length);return!!tc(n.segments,e)&&!!n.children[Du]&&t(n.children[Du],r,i)}}(t,n,n.segments)}(e.root,t.root)}class Ju{constructor(e,t,n){this.root=e,this.queryParams=t,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ju(this.queryParams)),this._queryParamMap}toString(){return ic.serialize(this)}}class Xu{constructor(e,t){this.segments=e,this.children=t,this.parent=null,Qu(t,(e,t)=>e.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return oc(this)}}class ec{constructor(e,t){this.path=e,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=ju(this.parameters)),this._parameterMap}toString(){return dc(this)}}function tc(e,t){return e.length===t.length&&e.every((e,n)=>e.path===t[n].path)}function nc(e,t){let n=[];return Qu(e.children,(e,r)=>{r===Du&&(n=n.concat(t(e,r)))}),Qu(e.children,(e,r)=>{r!==Du&&(n=n.concat(t(e,r)))}),n}class rc{}class sc{parse(e){const t=new _c(e);return new Ju(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(e){var t;return`${`/${function e(t,n){if(!t.hasChildren())return oc(t);if(n){const n=t.children[Du]?e(t.children[Du],!1):"",r=[];return Qu(t.children,(t,n)=>{n!==Du&&r.push(`${n}:${e(t,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=nc(t,(n,r)=>r===Du?[e(t.children[Du],!1)]:[`${r}:${e(n,!1)}`]);return`${oc(t)}/(${n.join("//")})`}}(e.root,!0)}`}${function(e){const t=Object.keys(e).map(t=>{const n=e[t];return Array.isArray(n)?n.map(e=>`${ac(t)}=${ac(e)}`).join("&"):`${ac(t)}=${ac(n)}`});return t.length?`?${t.join("&")}`:""}(e.queryParams)}${"string"==typeof e.fragment?`#${t=e.fragment,encodeURI(t)}`:""}`}}const ic=new sc;function oc(e){return e.segments.map(e=>dc(e)).join("/")}function lc(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ac(e){return lc(e).replace(/%3B/gi,";")}function uc(e){return lc(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function cc(e){return decodeURIComponent(e)}function hc(e){return cc(e.replace(/\+/g,"%20"))}function dc(e){return`${uc(e.path)}${t=e.parameters,Object.keys(t).map(e=>`;${uc(e)}=${uc(t[e])}`).join("")}`;var t}const pc=/^[^\/()?;=#]+/;function fc(e){const t=e.match(pc);return t?t[0]:""}const gc=/^[^=?&#]+/,mc=/^[^?&#]+/;class _c{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Xu([],{}):new Xu([],this.parseChildren())}parseQueryParams(){const e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n[Du]=new Xu(e,t)),n}parseSegment(){const e=fc(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(e),new ec(cc(e),this.parseMatrixParams())}parseMatrixParams(){const e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){const t=fc(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=fc(this.remaining);e&&this.capture(n=e)}e[cc(t)]=cc(n)}parseQueryParam(e){const t=function(e){const t=e.match(gc);return t?t[0]:""}(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=function(e){const t=e.match(mc);return t?t[0]:""}(this.remaining);e&&this.capture(n=e)}const r=hc(t),s=hc(n);if(e.hasOwnProperty(r)){let t=e[r];Array.isArray(t)||(e[r]=t=[t]),t.push(s)}else e[r]=s}parseParens(e){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=fc(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error(`Cannot parse url '${this.url}'`);let s=void 0;n.indexOf(":")>-1?(s=n.substr(0,n.indexOf(":")),this.capture(s),this.capture(":")):e&&(s=Du);const i=this.parseChildren();t[s]=1===Object.keys(i).length?i[Du]:new Xu([],i),this.consumeOptional("//")}return t}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}capture(e){if(!this.consumeOptional(e))throw new Error(`Expected "${e}".`)}}class vc{constructor(e){this._root=e}get root(){return this._root.value}parent(e){const t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}children(e){const t=wc(e,this._root);return t?t.children.map(e=>e.value):[]}firstChild(e){const t=wc(e,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(e){const t=yc(e,this._root);return t.length<2?[]:t[t.length-2].children.map(e=>e.value).filter(t=>t!==e)}pathFromRoot(e){return yc(e,this._root).map(e=>e.value)}}function wc(e,t){if(e===t.value)return t;for(const n of t.children){const t=wc(e,n);if(t)return t}return null}function yc(e,t){if(e===t.value)return[t];for(const n of t.children){const r=yc(e,n);if(r.length)return r.unshift(t),r}return[]}class bc{constructor(e,t){this.value=e,this.children=t}toString(){return`TreeNode(${this.value})`}}function Cc(e){const t={};return e&&e.children.forEach(e=>t[e.value.outlet]=e),t}class xc extends vc{constructor(e,t){super(e),this.snapshot=t,kc(this,e)}toString(){return this.snapshot.toString()}}function Sc(e,t){const n=function(e,t){const n=new Pc([],{},{},"",{},Du,t,null,e.root,-1,{});return new Oc("",new bc(n,[]))}(e,t),r=new vl([new ec("",{})]),s=new vl({}),i=new vl({}),o=new vl({}),l=new vl(""),a=new Ec(r,s,o,l,i,Du,t,n.root);return a.snapshot=n.root,new xc(new bc(a,[]),n)}class Ec{constructor(e,t,n,r,s,i,o,l){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=s,this.outlet=i,this.component=o,this._futureSnapshot=l}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(z(e=>ju(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(z(e=>ju(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Tc(e,t="emptyOnly"){const n=e.pathFromRoot;let r=0;if("always"!==t)for(r=n.length-1;r>=1;){const e=n[r],t=n[r-1];if(e.routeConfig&&""===e.routeConfig.path)r--;else{if(t.component)break;r--}}return function(e){return e.reduce((e,t)=>({params:Object.assign({},e.params,t.params),data:Object.assign({},e.data,t.data),resolve:Object.assign({},e.resolve,t._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(r))}class Pc{constructor(e,t,n,r,s,i,o,l,a,u,c){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=s,this.outlet=i,this.component=o,this.routeConfig=l,this._urlSegment=a,this._lastPathIndex=u,this._resolve=c}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=ju(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ju(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(e=>e.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Oc extends vc{constructor(e,t){super(t),this.url=e,kc(this,t)}toString(){return Rc(this._root)}}function kc(e,t){t.value._routerState=e,t.children.forEach(t=>kc(e,t))}function Rc(e){const t=e.children.length>0?` { ${e.children.map(Rc).join(", ")} } `:"";return`${e.value}${t}`}function Ac(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Zu(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),Zu(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!Zu(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),Zu(t.data,n.data)||e.data.next(n.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function Mc(e,t){var n,r;return Zu(e.params,t.params)&&tc(n=e.url,r=t.url)&&n.every((e,t)=>Zu(e.parameters,r[t].parameters))&&!(!e.parent!=!t.parent)&&(!e.parent||Mc(e.parent,t.parent))}function Ic(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function Nc(e,t,n,r,s){let i={};return r&&Qu(r,(e,t)=>{i[t]=Array.isArray(e)?e.map(e=>`${e}`):`${e}`}),new Ju(n.root===e?t:function e(t,n,r){const s={};return Qu(t.children,(t,i)=>{s[i]=t===n?r:e(t,n,r)}),new Xu(t.segments,s)}(n.root,e,t),i,s)}class Dc{constructor(e,t,n){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=n,e&&n.length>0&&Ic(n[0]))throw new Error("Root segment cannot have matrix parameters");const r=n.find(e=>"object"==typeof e&&null!=e&&e.outlets);if(r&&r!==Wu(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Uc{constructor(e,t,n){this.segmentGroup=e,this.processChildren=t,this.index=n}}function jc(e){return"object"==typeof e&&null!=e&&e.outlets?e.outlets[Du]:`${e}`}function Lc(e,t,n){if(e||(e=new Xu([],{})),0===e.segments.length&&e.hasChildren())return Vc(e,t,n);const r=function(e,t,n){let r=0,s=t;const i={match:!1,pathIndex:0,commandIndex:0};for(;s<e.segments.length;){if(r>=n.length)return i;const t=e.segments[s],o=jc(n[r]),l=r<n.length-1?n[r+1]:null;if(s>0&&void 0===o)break;if(o&&l&&"object"==typeof l&&void 0===l.outlets){if(!Fc(o,l,t))return i;r+=2}else{if(!Fc(o,{},t))return i;r++}s++}return{match:!0,pathIndex:s,commandIndex:r}}(e,t,n),s=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){const t=new Xu(e.segments.slice(0,r.pathIndex),{});return t.children[Du]=new Xu(e.segments.slice(r.pathIndex),e.children),Vc(t,0,s)}return r.match&&0===s.length?new Xu(e.segments,{}):r.match&&!e.hasChildren()?Hc(e,t,n):r.match?Vc(e,0,s):Hc(e,t,n)}function Vc(e,t,n){if(0===n.length)return new Xu(e.segments,{});{const r=function(e){return"object"!=typeof e[0]?{[Du]:e}:void 0===e[0].outlets?{[Du]:e}:e[0].outlets}(n),s={};return Qu(r,(n,r)=>{null!==n&&(s[r]=Lc(e.children[r],t,n))}),Qu(e.children,(e,t)=>{void 0===r[t]&&(s[t]=e)}),new Xu(e.segments,s)}}function Hc(e,t,n){const r=e.segments.slice(0,t);let s=0;for(;s<n.length;){if("object"==typeof n[s]&&void 0!==n[s].outlets){const e=$c(n[s].outlets);return new Xu(r,e)}if(0===s&&Ic(n[0])){r.push(new ec(e.segments[t].path,n[0])),s++;continue}const i=jc(n[s]),o=s<n.length-1?n[s+1]:null;i&&o&&Ic(o)?(r.push(new ec(i,zc(o))),s+=2):(r.push(new ec(i,{})),s++)}return new Xu(r,{})}function $c(e){const t={};return Qu(e,(e,n)=>{null!==e&&(t[n]=Hc(new Xu([],{}),0,e))}),t}function zc(e){const t={};return Qu(e,(e,n)=>t[n]=`${e}`),t}function Fc(e,t,n){return e==n.path&&Zu(t,n.parameters)}const Bc=(e,t,n)=>z(r=>(new qc(t,r.targetRouterState,r.currentRouterState,n).activate(e),r));class qc{constructor(e,t,n,r){this.routeReuseStrategy=e,this.futureState=t,this.currState=n,this.forwardEvent=r}activate(e){const t=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,n,e),Ac(this.futureState.root),this.activateChildRoutes(t,n,e)}deactivateChildRoutes(e,t,n){const r=Cc(t);e.children.forEach(e=>{const t=e.value.outlet;this.deactivateRoutes(e,r[t],n),delete r[t]}),Qu(r,(e,t)=>{this.deactivateRouteAndItsChildren(e,n)})}deactivateRoutes(e,t,n){const r=e.value,s=t?t.value:null;if(r===s)if(r.component){const s=n.getContext(r.outlet);s&&this.deactivateChildRoutes(e,t,s.children)}else this.deactivateChildRoutes(e,t,n);else s&&this.deactivateRouteAndItsChildren(t,n)}deactivateRouteAndItsChildren(e,t){this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)}detachAndStoreRouteSubtree(e,t){const n=t.getContext(e.value.outlet);if(n&&n.outlet){const t=n.outlet.detach(),r=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:t,route:e,contexts:r})}}deactivateRouteAndOutlet(e,t){const n=t.getContext(e.value.outlet);if(n){const r=Cc(e),s=e.value.component?n.children:t;Qu(r,(e,t)=>this.deactivateRouteAndItsChildren(e,s)),n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}}activateChildRoutes(e,t,n){const r=Cc(t);e.children.forEach(e=>{this.activateRoutes(e,r[e.value.outlet],n),this.forwardEvent(new Mu(e.value.snapshot))}),e.children.length&&this.forwardEvent(new Ru(e.value.snapshot))}activateRoutes(e,t,n){const r=e.value,s=t?t.value:null;if(Ac(r),r===s)if(r.component){const s=n.getOrCreateContext(r.outlet);this.activateChildRoutes(e,t,s.children)}else this.activateChildRoutes(e,t,n);else if(r.component){const t=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const e=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),t.children.onOutletReAttached(e.contexts),t.attachRef=e.componentRef,t.route=e.route.value,t.outlet&&t.outlet.attach(e.componentRef,e.route.value),Zc(e.route)}else{const n=function(e){for(let t=r.snapshot.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(),s=n?n.module.componentFactoryResolver:null;t.attachRef=null,t.route=r,t.resolver=s,t.outlet&&t.outlet.activateWith(r,s),this.activateChildRoutes(e,null,t.children)}}else this.activateChildRoutes(e,null,n)}}function Zc(e){Ac(e.value),e.children.forEach(Zc)}function Gc(e){return"function"==typeof e}function Wc(e){return e instanceof Ju}class Qc{constructor(e){this.segmentGroup=e||null}}class Kc{constructor(e){this.urlTree=e}}function Yc(e){return new b(t=>t.error(new Qc(e)))}function Jc(e){return new b(t=>t.error(new Kc(e)))}function Xc(e){return new b(t=>t.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${e}'`)))}class eh{constructor(e,t,n,r,s){this.configLoader=t,this.urlSerializer=n,this.urlTree=r,this.config=s,this.allowRedirects=!0,this.ngModule=e.get(Kt)}apply(){return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,Du).pipe(z(e=>this.createUrlTree(e,this.urlTree.queryParams,this.urlTree.fragment))).pipe(zl(e=>{if(e instanceof Kc)return this.allowRedirects=!1,this.match(e.urlTree);if(e instanceof Qc)throw this.noMatchError(e);throw e}))}match(e){return this.expandSegmentGroup(this.ngModule,this.config,e.root,Du).pipe(z(t=>this.createUrlTree(t,e.queryParams,e.fragment))).pipe(zl(e=>{if(e instanceof Qc)throw this.noMatchError(e);throw e}))}noMatchError(e){return new Error(`Cannot match any routes. URL Segment: '${e.segmentGroup}'`)}createUrlTree(e,t,n){const r=e.segments.length>0?new Xu([],{[Du]:e}):e;return new Ju(r,t,n)}expandSegmentGroup(e,t,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(z(e=>new Xu([],e))):this.expandSegment(e,n,t,n.segments,r,!0)}expandChildren(e,t,n){return function(e,t){if(0===Object.keys(e).length)return _l({});const n=[],r=[],s={};return Qu(e,(e,i)=>{const o=t(i,e).pipe(z(e=>s[i]=e));i===Du?n.push(o):r.push(o)}),_l.apply(null,n.concat(r)).pipe(El(),$l(),z(()=>s))}(n.children,(n,r)=>this.expandSegmentGroup(e,t,r,n))}expandSegment(e,t,n,r,s,i){return _l(...n).pipe(z(o=>this.expandSegmentAgainstRoute(e,t,n,o,r,s,i).pipe(zl(e=>{if(e instanceof Qc)return _l(null);throw e}))),El(),Wl(e=>!!e),zl((e,n)=>{if(e instanceof yl||"EmptyError"===e.name){if(this.noLeftoversInUrl(t,r,s))return _l(new Xu([],{}));throw new Qc(t)}throw e}))}noLeftoversInUrl(e,t,n){return 0===t.length&&!e.children[n]}expandSegmentAgainstRoute(e,t,n,r,s,i,o){return sh(r)!==i?Yc(t):void 0===r.redirectTo?this.matchSegmentAgainstRoute(e,t,r,s):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,r,s,i):Yc(t)}expandSegmentAgainstRouteUsingRedirect(e,t,n,r,s,i){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,r,i):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,r,s,i)}expandWildCardWithParamsAgainstRouteUsingRedirect(e,t,n,r){const s=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Jc(s):this.lineralizeSegments(n,s).pipe(G(n=>{const s=new Xu(n,{});return this.expandSegment(e,s,t,n,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,r,s,i){const{matched:o,consumedSegments:l,lastChild:a,positionalParamSegments:u}=th(t,r,s);if(!o)return Yc(t);const c=this.applyRedirectCommands(l,r.redirectTo,u);return r.redirectTo.startsWith("/")?Jc(c):this.lineralizeSegments(r,c).pipe(G(r=>this.expandSegment(e,t,n,r.concat(s.slice(a)),i,!1)))}matchSegmentAgainstRoute(e,t,n,r){if("**"===n.path)return n.loadChildren?this.configLoader.load(e.injector,n).pipe(z(e=>(n._loadedConfig=e,new Xu(r,{})))):_l(new Xu(r,{}));const{matched:s,consumedSegments:i,lastChild:o}=th(t,n,r);if(!s)return Yc(t);const l=r.slice(o);return this.getChildConfig(e,n,r).pipe(G(e=>{const n=e.module,r=e.routes,{segmentGroup:s,slicedSegments:o}=function(e,t,n,r){return n.length>0&&function(e,t,n){return r.some(n=>rh(e,t,n)&&sh(n)!==Du)}(e,n)?{segmentGroup:nh(new Xu(t,function(e,t){const n={};n[Du]=t;for(const r of e)""===r.path&&sh(r)!==Du&&(n[sh(r)]=new Xu([],{}));return n}(r,new Xu(n,e.children)))),slicedSegments:[]}:0===n.length&&function(e,t,n){return r.some(n=>rh(e,t,n))}(e,n)?{segmentGroup:nh(new Xu(e.segments,function(e,t,n,r){const s={};for(const i of n)rh(e,t,i)&&!r[sh(i)]&&(s[sh(i)]=new Xu([],{}));return Object.assign({},r,s)}(e,n,r,e.children))),slicedSegments:n}:{segmentGroup:e,slicedSegments:n}}(t,i,l,r);return 0===o.length&&s.hasChildren()?this.expandChildren(n,r,s).pipe(z(e=>new Xu(i,e))):0===r.length&&0===o.length?_l(new Xu(i,{})):this.expandSegment(n,s,r,o,Du,!0).pipe(z(e=>new Xu(i.concat(e.segments),e.children)))}))}getChildConfig(e,t,n){return t.children?_l(new $u(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?_l(t._loadedConfig):function(e,t,n){const r=t.canLoad;return r&&0!==r.length?Z(r).pipe(z(r=>{const s=e.get(r);let i;if(function(e){return e&&Gc(e.canLoad)}(s))i=s.canLoad(t,n);else{if(!Gc(s))throw new Error("Invalid CanLoad guard");i=s(t,n)}return Ku(i)})).pipe(El(),(s=(e=>!0===e),e=>e.lift(new Ql(s,void 0,e)))):_l(!0);var s}(e.injector,t,n).pipe(G(n=>n?this.configLoader.load(e.injector,t).pipe(z(e=>(t._loadedConfig=e,e))):function(e){return new b(t=>t.error(Vu(`Cannot load children because the guard of the route "path: '${e.path}'" returned false`)))}(t))):_l(new $u([],e))}lineralizeSegments(e,t){let n=[],r=t.root;for(;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return _l(n);if(r.numberOfChildren>1||!r.children[Du])return Xc(e.redirectTo);r=r.children[Du]}}applyRedirectCommands(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)}applyRedirectCreatreUrlTree(e,t,n,r){const s=this.createSegmentGroup(e,t.root,n,r);return new Ju(s,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(e,t){const n={};return Qu(e,(e,r)=>{if("string"==typeof e&&e.startsWith(":")){const s=e.substring(1);n[r]=t[s]}else n[r]=e}),n}createSegmentGroup(e,t,n,r){const s=this.createSegments(e,t.segments,n,r);let i={};return Qu(t.children,(t,s)=>{i[s]=this.createSegmentGroup(e,t,n,r)}),new Xu(s,i)}createSegments(e,t,n,r){return t.map(t=>t.path.startsWith(":")?this.findPosParam(e,t,r):this.findOrReturn(t,n))}findPosParam(e,t,n){const r=n[t.path.substring(1)];if(!r)throw new Error(`Cannot redirect to '${e}'. Cannot find '${t.path}'.`);return r}findOrReturn(e,t){let n=0;for(const r of t){if(r.path===e.path)return t.splice(n),r;n++}return e}}function th(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};const r=(t.matcher||Hu)(n,e,t);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function nh(e){if(1===e.numberOfChildren&&e.children[Du]){const t=e.children[Du];return new Xu(e.segments.concat(t.segments),t.children)}return e}function rh(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function sh(e){return e.outlet||Du}class ih{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}}class oh{constructor(e,t){this.component=e,this.route=t}}function lh(e,t,n){const r=e._root;return function e(t,n,r,s,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=Cc(n);return t.children.forEach(t=>{!function(t,n,r,s,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=t.value,l=n?n.value:null,a=r?r.getContext(t.value.outlet):null;if(l&&o.routeConfig===l.routeConfig){const u=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!tc(e.url,t.url);case"pathParamsOrQueryParamsChange":return!tc(e.url,t.url)||!Zu(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Mc(e,t)||!Zu(e.queryParams,t.queryParams);case"paramsChange":default:return!Mc(e,t)}}(l,o,o.routeConfig.runGuardsAndResolvers);if(u?i.canActivateChecks.push(new ih(s)):(o.data=l.data,o._resolvedData=l._resolvedData),e(t,n,o.component?a?a.children:null:r,s,i),u){i.canDeactivateChecks.push(new oh(a&&a.outlet&&a.outlet.component||null,l))}}else l&&uh(n,a,i),i.canActivateChecks.push(new ih(s)),e(t,null,o.component?a?a.children:null:r,s,i)}(t,o[t.value.outlet],r,s.concat([t.value]),i),delete o[t.value.outlet]}),Qu(o,(e,t)=>uh(e,r.getContext(t),i)),i}(r,t?t._root:null,n,[r.value])}function ah(e,t,n){const r=function(e){if(!e)return null;for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(t);return(r?r.module.injector:n).get(e)}function uh(e,t,n){const r=Cc(e),s=e.value;Qu(r,(e,r)=>{uh(e,s.component?t?t.children.getContext(r):null:t,n)}),n.canDeactivateChecks.push(new oh(s.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,s))}const ch=Symbol("INITIAL_VALUE");function hh(){return Yl(e=>(function(...e){let t=null,n=null;return k(e[e.length-1])&&(n=e.pop()),"function"==typeof e[e.length-1]&&(t=e.pop()),1===e.length&&a(e[0])&&(e=e[0]),q(e,n).lift(new Cl(t))})(...e.map(e=>e.pipe(ql(1),function(...e){return t=>{let n=e[e.length-1];k(n)?e.pop():n=null;const r=e.length;return function(...e){return El()(_l(...e))}(1!==r||n?r>0?q(e,n):gl(n):ml(e[0]),t)}}(ch)))).pipe(ea((e,t)=>{let n=!1;return t.reduce((e,r,s)=>{if(e!==ch)return e;if(r===ch&&(n=!0),!n){if(!1===r)return r;if(s===t.length-1||Wc(r))return r}return e},e)},ch),Tl(e=>e!==ch),z(e=>Wc(e)?e:!0===e),ql(1)))}function dh(e,t){return null!==e&&t&&t(new Au(e)),_l(!0)}function ph(e,t){return null!==e&&t&&t(new ku(e)),_l(!0)}function fh(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;return r&&0!==r.length?_l(r.map(r=>Sl(()=>{const s=ah(r,t,n);let i;if(function(e){return e&&Gc(e.canActivate)}(s))i=Ku(s.canActivate(t,e));else{if(!Gc(s))throw new Error("Invalid CanActivate guard");i=Ku(s(t,e))}return i.pipe(Wl())}))).pipe(hh()):_l(!0)}function gh(e,t,n){const r=t[t.length-1],s=t.slice(0,t.length-1).reverse().map(e=>(function(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null})(e)).filter(e=>null!==e).map(t=>Sl(()=>_l(t.guards.map(s=>{const i=ah(s,t.node,n);let o;if(function(e){return e&&Gc(e.canActivateChild)}(i))o=Ku(i.canActivateChild(r,e));else{if(!Gc(i))throw new Error("Invalid CanActivateChild guard");o=Ku(i(r,e))}return o.pipe(Wl())})).pipe(hh())));return _l(s).pipe(hh())}class mh{}class _h{constructor(e,t,n,r,s,i){this.rootComponentType=e,this.config=t,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=i}recognize(){try{const t=yh(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,n=this.processSegmentGroup(this.config,t,Du),r=new Pc([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},Du,this.rootComponentType,null,this.urlTree.root,-1,{}),s=new bc(r,n),i=new Oc(this.url,s);return this.inheritParamsAndData(i._root),_l(i)}catch(e){return new b(t=>t.error(e))}}inheritParamsAndData(e){const t=e.value,n=Tc(t,this.paramsInheritanceStrategy);t.params=Object.freeze(n.params),t.data=Object.freeze(n.data),e.children.forEach(e=>this.inheritParamsAndData(e))}processSegmentGroup(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)}processChildren(e,t){const n=nc(t,(t,n)=>this.processSegmentGroup(e,t,n));return function(e){const t={};n.forEach(e=>{const n=t[e.value.outlet];if(n){const t=n.url.map(e=>e.toString()).join("/"),r=e.value.url.map(e=>e.toString()).join("/");throw new Error(`Two segments cannot have the same outlet name: '${t}' and '${r}'.`)}t[e.value.outlet]=e.value})}(),n.sort((e,t)=>e.value.outlet===Du?-1:t.value.outlet===Du?1:e.value.outlet.localeCompare(t.value.outlet)),n}processSegment(e,t,n,r){for(const i of e)try{return this.processSegmentAgainstRoute(i,t,n,r)}catch(s){if(!(s instanceof mh))throw s}if(this.noLeftoversInUrl(t,n,r))return[];throw new mh}noLeftoversInUrl(e,t,n){return 0===t.length&&!e.children[n]}processSegmentAgainstRoute(e,t,n,r){if(e.redirectTo)throw new mh;if((e.outlet||Du)!==r)throw new mh;let s,i=[],o=[];if("**"===e.path){const i=n.length>0?Wu(n).parameters:{};s=new Pc(n,i,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,xh(e),r,e.component,e,vh(t),wh(t)+n.length,Sh(e))}else{const l=function(e,t,n){if(""===t.path){if("full"===t.pathMatch&&(e.hasChildren()||n.length>0))throw new mh;return{consumedSegments:[],lastChild:0,parameters:{}}}const r=(t.matcher||Hu)(n,e,t);if(!r)throw new mh;const s={};Qu(r.posParams,(e,t)=>{s[t]=e.path});const i=r.consumed.length>0?Object.assign({},s,r.consumed[r.consumed.length-1].parameters):s;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:i}}(t,e,n);i=l.consumedSegments,o=n.slice(l.lastChild),s=new Pc(i,l.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,xh(e),r,e.component,e,vh(t),wh(t)+i.length,Sh(e))}const l=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),{segmentGroup:a,slicedSegments:u}=yh(t,i,o,l,this.relativeLinkResolution);if(0===u.length&&a.hasChildren()){const e=this.processChildren(l,a);return[new bc(s,e)]}if(0===l.length&&0===u.length)return[new bc(s,[])];const c=this.processSegment(l,a,u,Du);return[new bc(s,c)]}}function vh(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function wh(e){let t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;for(;t._sourceSegment;)n+=(t=t._sourceSegment)._segmentIndexShift?t._segmentIndexShift:0;return n-1}function yh(e,t,n,r,s){if(n.length>0&&function(e,t,n){return r.some(n=>bh(e,t,n)&&Ch(n)!==Du)}(e,n)){const s=new Xu(t,function(e,t,n,r){const s={};s[Du]=r,r._sourceSegment=e,r._segmentIndexShift=t.length;for(const i of n)if(""===i.path&&Ch(i)!==Du){const n=new Xu([],{});n._sourceSegment=e,n._segmentIndexShift=t.length,s[Ch(i)]=n}return s}(e,t,r,new Xu(n,e.children)));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return r.some(n=>bh(e,t,n))}(e,n)){const i=new Xu(e.segments,function(e,t,n,r,s,i){const o={};for(const l of r)if(bh(e,n,l)&&!s[Ch(l)]){const n=new Xu([],{});n._sourceSegment=e,n._segmentIndexShift="legacy"===i?e.segments.length:t.length,o[Ch(l)]=n}return Object.assign({},s,o)}(e,t,n,r,e.children,s));return i._sourceSegment=e,i._segmentIndexShift=t.length,{segmentGroup:i,slicedSegments:n}}const i=new Xu(e.segments,e.children);return i._sourceSegment=e,i._segmentIndexShift=t.length,{segmentGroup:i,slicedSegments:n}}function bh(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function Ch(e){return e.outlet||Du}function xh(e){return e.data||{}}function Sh(e){return e.resolve||{}}function Eh(e,t,n,r){const s=ah(e,t,r);return Ku(s.resolve?s.resolve(t,n):s(t,n))}function Th(e){return function(t){return t.pipe(Yl(t=>{const n=e(t);return n?Z(n).pipe(z(()=>t)):Z([t])}))}}class Ph{}class Oh{shouldDetach(e){return!1}store(e,t){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,t){return e.routeConfig===t.routeConfig}}const kh=new Te("ROUTES");class Rh{constructor(e,t,n,r){this.loader=e,this.compiler=t,this.onLoadStartListener=n,this.onLoadEndListener=r}load(e,t){return this.onLoadStartListener&&this.onLoadStartListener(t),this.loadModuleFactory(t.loadChildren).pipe(z(n=>{this.onLoadEndListener&&this.onLoadEndListener(t);const r=n.create(e);return new $u(Gu(r.injector.get(kh)).map(qu),r)}))}loadModuleFactory(e){return"string"==typeof e?Z(this.loader.load(e)):Ku(e()).pipe(G(e=>e instanceof Yt?_l(e):Z(this.compiler.compileModuleAsync(e))))}}class Ah{}class Mh{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,t){return e}}function Ih(e){throw e}function Nh(e,t,n){return t.parse("/")}function Dh(e,t){return _l(null)}class Uh{constructor(e,t,n,r,s,i,o,l){this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=n,this.location=r,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new P,this.errorHandler=Ih,this.malformedUriErrorHandler=Nh,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Dh,afterPreactivation:Dh},this.urlHandlingStrategy=new Mh,this.routeReuseStrategy=new Oh,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=s.get(Kt),this.console=s.get(Ts);const a=s.get(zs);this.isNgZoneEnabled=a instanceof zs,this.resetConfig(l),this.currentUrlTree=new Ju(new Xu([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Rh(i,o,e=>this.triggerEvent(new Pu(e)),e=>this.triggerEvent(new Ou(e))),this.routerState=Sc(this.currentUrlTree,this.rootComponentType),this.transitions=new vl({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(e){const t=this.events;return e.pipe(Tl(e=>0!==e.id),z(e=>Object.assign({},e,{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl)})),Yl(e=>{let n=!1,r=!1;return _l(e).pipe(Nl(e=>{this.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign({},this.lastSuccessfulNavigation,{previousNavigation:null}):null}}),Yl(e=>{const n=!this.navigated||e.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return _l(e).pipe(Yl(e=>{const n=this.transitions.getValue();return t.next(new vu(e.id,this.serializeUrl(e.extractedUrl),e.source,e.restoredState)),n!==this.transitions.getValue()?fl:[e]}),Yl(e=>Promise.resolve(e)),function(e,t,n,r){return function(s){return s.pipe(Yl(s=>(function(e,t,n,r,i){return new eh(e,t,n,s.extractedUrl,i).apply()})(e,t,n,0,r).pipe(z(e=>Object.assign({},s,{urlAfterRedirects:e})))))}}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),Nl(e=>{this.currentNavigation=Object.assign({},this.currentNavigation,{finalUrl:e.urlAfterRedirects})}),function(e,t,n,r,s){return function(i){return i.pipe(G(i=>(function(e,t,n,r,s="emptyOnly",i="legacy"){return new _h(e,t,n,r,s,i).recognize()})(e,t,i.urlAfterRedirects,n(i.urlAfterRedirects),r,s).pipe(z(e=>Object.assign({},i,{targetSnapshot:e})))))}}(this.rootComponentType,this.config,e=>this.serializeUrl(e),this.paramsInheritanceStrategy,this.relativeLinkResolution),Nl(e=>{"eager"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects)}),Nl(e=>{const n=new Cu(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.next(n)}));if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:r,source:s,restoredState:i,extras:o}=e,l=new vu(n,this.serializeUrl(r),s,i);t.next(l);const a=Sc(r,this.rootComponentType).snapshot;return _l(Object.assign({},e,{targetSnapshot:a,urlAfterRedirects:r,extras:Object.assign({},o,{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=e.rawUrl,this.browserUrlTree=e.urlAfterRedirects,e.resolve(null),fl}),Th(e=>{const{targetSnapshot:t,id:n,extractedUrl:r,rawUrl:s,extras:{skipLocationChange:i,replaceUrl:o}}=e;return this.hooks.beforePreactivation(t,{navigationId:n,appliedUrlTree:r,rawUrlTree:s,skipLocationChange:!!i,replaceUrl:!!o})}),Nl(e=>{const t=new xu(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),z(e=>Object.assign({},e,{guards:lh(e.targetSnapshot,e.currentSnapshot,this.rootContexts)})),function(e,t){return function(n){return n.pipe(G(n=>{const{targetSnapshot:r,currentSnapshot:s,guards:{canActivateChecks:i,canDeactivateChecks:o}}=n;return 0===o.length&&0===i.length?_l(Object.assign({},n,{guardsResult:!0})):function(e,t,n,r){return Z(o).pipe(G(e=>(function(e,t,n,r,s){const i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return i&&0!==i.length?_l(i.map(i=>{const o=ah(i,t,s);let l;if(function(e){return e&&Gc(e.canDeactivate)}(o))l=Ku(o.canDeactivate(e,t,n,r));else{if(!Gc(o))throw new Error("Invalid CanDeactivate guard");l=Ku(o(e,t,n,r))}return l.pipe(Wl())})).pipe(hh()):_l(!0)})(e.component,e.route,n,t,r)),Wl(e=>!0!==e,!0))}(0,r,s,e).pipe(G(n=>n&&function(e){return"boolean"==typeof n}()?function(e,t,n,r){return Z(i).pipe(ra(t=>Z([ph(t.route.parent,r),dh(t.route,r),gh(e,t.path,n),fh(e,t.route,n)]).pipe(El(),Wl(e=>!0!==e,!0))),Wl(e=>!0!==e,!0))}(r,0,e,t):_l(n)),z(e=>Object.assign({},n,{guardsResult:e})))}))}}(this.ngModule.injector,e=>this.triggerEvent(e)),Nl(e=>{if(Wc(e.guardsResult)){const t=Vu(`Redirecting to "${this.serializeUrl(e.guardsResult)}"`);throw t.url=e.guardsResult,t}}),Nl(e=>{const t=new Su(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);this.triggerEvent(t)}),Tl(e=>{if(!e.guardsResult){this.resetUrlToCurrentUrlTree();const n=new yu(e.id,this.serializeUrl(e.extractedUrl),"");return t.next(n),e.resolve(!1),!1}return!0}),Th(e=>{if(e.guards.canActivateChecks.length)return _l(e).pipe(Nl(e=>{const t=new Eu(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),function(e,t){return function(n){return n.pipe(G(n=>{const{targetSnapshot:r,guards:{canActivateChecks:s}}=n;return s.length?Z(s).pipe(ra(n=>(function(e,t,n,s){return function(e,t,n,r){const s=Object.keys(e);if(0===s.length)return _l({});if(1===s.length){const i=s[0];return Eh(e[i],t,n,r).pipe(z(e=>({[i]:e})))}const i={};return Z(s).pipe(G(s=>Eh(e[s],t,n,r).pipe(z(e=>(i[s]=e,e))))).pipe($l(),z(()=>i))}(e._resolve,e,r,s).pipe(z(t=>(e._resolvedData=t,e.data=Object.assign({},e.data,Tc(e,n).resolve),null)))})(n.route,0,e,t)),function(e,t){return arguments.length>=2?function(t){return w(ea(e,void 0),Al(1),Ll(void 0))(t)}:function(t){return w(ea((t,n,r)=>e(t)),Al(1))(t)}}((e,t)=>e),z(e=>n)):_l(n)}))}}(this.paramsInheritanceStrategy,this.ngModule.injector),Nl(e=>{const t=new Tu(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}))}),Th(e=>{const{targetSnapshot:t,id:n,extractedUrl:r,rawUrl:s,extras:{skipLocationChange:i,replaceUrl:o}}=e;return this.hooks.afterPreactivation(t,{navigationId:n,appliedUrlTree:r,rawUrlTree:s,skipLocationChange:!!i,replaceUrl:!!o})}),z(e=>{const t=function(e,t,n){const r=function e(t,n,r){if(r&&t.shouldReuseRoute(n.value,r.value.snapshot)){const s=r.value;s._futureSnapshot=n.value;const i=function(t,n,r){return n.children.map(n=>{for(const s of r.children)if(t.shouldReuseRoute(s.value.snapshot,n.value))return e(t,n,s);return e(t,n)})}(t,n,r);return new bc(s,i)}{const r=t.retrieve(n.value);if(r){const e=r.route;return function e(t,n){if(t.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=t.value;for(let r=0;r<t.children.length;++r)e(t.children[r],n.children[r])}(n,e),e}{const r=new Ec(new vl((s=n.value).url),new vl(s.params),new vl(s.queryParams),new vl(s.fragment),new vl(s.data),s.outlet,s.component,s),i=n.children.map(n=>e(t,n));return new bc(r,i)}}var s}(e,t._root,n?n._root:void 0);return new xc(r,t)}(this.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return Object.assign({},e,{targetRouterState:t})}),Nl(e=>{this.currentUrlTree=e.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl),this.routerState=e.targetRouterState,"deferred"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects)}),Bc(this.rootContexts,this.routeReuseStrategy,e=>this.triggerEvent(e)),Nl({next(){n=!0},complete(){n=!0}}),function(e){return t=>t.lift(new sa(e))}(()=>{if(!n&&!r){this.resetUrlToCurrentUrlTree();const n=new yu(e.id,this.serializeUrl(e.extractedUrl),`Navigation ID ${e.id} is not equal to the current navigation id ${this.navigationId}`);t.next(n),e.resolve(!1)}this.currentNavigation=null}),zl(n=>{if(r=!0,function(e){return n&&n[Lu]}()){const r=Wc(n.url);r||(this.navigated=!0,this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));const s=new yu(e.id,this.serializeUrl(e.extractedUrl),n.message);t.next(s),e.resolve(!1),r&&this.navigateByUrl(n.url)}else{this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);const r=new bu(e.id,this.serializeUrl(e.extractedUrl),n);t.next(r);try{e.resolve(this.errorHandler(n))}catch(s){e.reject(s)}}return fl}))}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}getTransition(){const e=this.transitions.value;return e.urlAfterRedirects=this.browserUrlTree,e}setTransition(e){this.transitions.next(Object.assign({},this.getTransition(),e))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{let t=this.parseUrl(e.url);const n="popstate"===e.type?"popstate":"hashchange",r=e.state&&e.state.navigationId?e.state:null;setTimeout(()=>{this.scheduleNavigation(t,n,r,{replaceUrl:!0})},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){zu(e),this.config=e.map(qu),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)}createUrlTree(e,t={}){const{relativeTo:n,queryParams:r,fragment:s,preserveQueryParams:i,queryParamsHandling:o,preserveFragment:l}=t;rt()&&i&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");const a=n||this.routerState.root,u=l?this.currentUrlTree.fragment:s;let c=null;if(o)switch(o){case"merge":c=Object.assign({},this.currentUrlTree.queryParams,r);break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=r||null}else c=i?this.currentUrlTree.queryParams:r||null;return null!==c&&(c=this.removeEmptyProps(c)),function(e,t,n,r,s){if(0===n.length)return Nc(t.root,t.root,t,r,s);const i=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new Dc(!0,0,e);let t=0,n=!1;const r=e.reduce((e,r,s)=>{if("object"==typeof r&&null!=r){if(r.outlets){const t={};return Qu(r.outlets,(e,n)=>{t[n]="string"==typeof e?e.split("/"):e}),[...e,{outlets:t}]}if(r.segmentPath)return[...e,r.segmentPath]}return"string"!=typeof r?[...e,r]:0===s?(r.split("/").forEach((r,s)=>{0==s&&"."===r||(0==s&&""===r?n=!0:".."===r?t++:""!=r&&e.push(r))}),e):[...e,r]},[]);return new Dc(n,t,r)}(n);if(i.toRoot())return Nc(t.root,new Xu([],{}),t,r,s);const o=function(e,n,r){if(e.isAbsolute)return new Uc(t.root,!0,0);if(-1===r.snapshot._lastPathIndex)return new Uc(r.snapshot._urlSegment,!0,0);const s=Ic(e.commands[0])?0:1;return function(t,n,i){let o=r.snapshot._urlSegment,l=r.snapshot._lastPathIndex+s,a=e.numberOfDoubleDots;for(;a>l;){if(a-=l,!(o=o.parent))throw new Error("Invalid number of '../'");l=o.segments.length}return new Uc(o,!1,l-a)}()}(i,0,e),l=o.processChildren?Vc(o.segmentGroup,o.index,i.commands):Lc(o.segmentGroup,o.index,i.commands);return Nc(o.segmentGroup,l,t,r,s)}(a,this.currentUrlTree,e,c,u)}navigateByUrl(e,t={skipLocationChange:!1}){rt()&&this.isNgZoneEnabled&&!zs.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");const n=Wc(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,t)}navigate(e,t={skipLocationChange:!1}){return function(e){for(let t=0;t<e.length;t++){const n=e[t];if(null==n)throw new Error(`The requested path contains ${n} segment at index ${t}`)}}(e),this.navigateByUrl(this.createUrlTree(e,t),t)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){let t;try{t=this.urlSerializer.parse(e)}catch(n){t=this.malformedUriErrorHandler(n,this.urlSerializer,e)}return t}isActive(e,t){if(Wc(e))return Yu(this.currentUrlTree,e,t);const n=this.parseUrl(e);return Yu(this.currentUrlTree,n,t)}removeEmptyProps(e){return Object.keys(e).reduce((t,n)=>{const r=e[n];return null!=r&&(t[n]=r),t},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.events.next(new wu(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.currentNavigation=null,e.resolve(!0)},e=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(e,t,n,r){const s=this.getTransition();if(s&&"imperative"!==t&&"imperative"===s.source&&s.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(s&&"hashchange"==t&&"popstate"===s.source&&s.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(s&&"popstate"==t&&"hashchange"===s.source&&s.rawUrl.toString()===e.toString())return Promise.resolve(!0);let i=null,o=null;const l=new Promise((e,t)=>{i=e,o=t}),a=++this.navigationId;return this.setTransition({id:a,source:t,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:r,resolve:i,reject:o,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(e=>Promise.reject(e))}setBrowserUrl(e,t,n,r){const s=this.urlSerializer.serialize(e);r=r||{},this.location.isCurrentPathEqualTo(s)||t?this.location.replaceState(s,"",Object.assign({},r,{navigationId:n})):this.location.go(s,"",Object.assign({},r,{navigationId:n}))}resetStateAndUrl(e,t,n){this.routerState=e,this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}class jh{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Lh,this.attachRef=null}}class Lh{constructor(){this.contexts=new Map}onChildOutletCreated(e,t){const n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)}onChildOutletDestroyed(e){const t=this.getContext(e);t&&(t.outlet=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let t=this.getContext(e);return t||(t=new jh,this.contexts.set(e,t)),t}getContext(e){return this.contexts.get(e)||null}}const Vh=(()=>(class{constructor(e,t,n,r,s){this.parentContexts=e,this.location=t,this.resolver=n,this.changeDetector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new gs,this.deactivateEvents=new gs,this.name=r||Du,e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.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 e=this.activated;return this.activated=null,this._activatedRoute=null,e}attach(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;const n=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),r=this.parentContexts.getOrCreateContext(this.name).children,s=new Hh(e,r,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,s),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}))();class Hh{constructor(e,t,n){this.route=e,this.childContexts=t,this.parent=n}get(e,t){return e===Ec?this.route:e===Lh?this.childContexts:this.parent.get(e,t)}}class $h{}class zh{preload(e,t){return t().pipe(zl(()=>_l(null)))}}class Fh{preload(e,t){return _l(null)}}const Bh=(()=>(class{constructor(e,t,n,r,s){this.router=e,this.injector=r,this.preloadingStrategy=s,this.loader=new Rh(t,n,t=>e.triggerEvent(new Pu(t)),t=>e.triggerEvent(new Ou(t)))}setUpPreloading(){this.subscription=this.router.events.pipe(Tl(e=>e instanceof wu),ra(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(Kt);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription.unsubscribe()}processRoutes(e,t){const n=[];for(const r of t)if(r.loadChildren&&!r.canLoad&&r._loadedConfig){const e=r._loadedConfig;n.push(this.processRoutes(e.module,e.routes))}else r.loadChildren&&!r.canLoad?n.push(this.preloadConfig(e,r)):r.children&&n.push(this.processRoutes(e,r.children));return Z(n).pipe(Y(),z(e=>void 0))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>this.loader.load(e.injector,t).pipe(G(e=>(t._loadedConfig=e,this.processRoutes(e.module,e.routes)))))}}))();class qh{constructor(e,t,n={}){this.router=e,this.viewportScroller=t,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(e=>{e instanceof vu?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof wu&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof Iu&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,t){this.router.triggerEvent(new Iu(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}const Zh=new Te("ROUTER_CONFIGURATION"),Gh=new Te("ROUTER_FORROOT_GUARD"),Wh=[Xo,{provide:rc,useClass:sc},{provide:Uh,useFactory:td,deps:[li,rc,Lh,Xo,Ae,_s,Ms,kh,Zh,[Ah,new ae],[Ph,new ae]]},Lh,{provide:Ec,useFactory:nd,deps:[Uh]},{provide:_s,useClass:hi},Bh,Fh,zh,{provide:Zh,useValue:{enableTracing:!1}}];function Qh(){return new ni("Router",Uh)}const Kh=(()=>{class e{constructor(e,t){}static forRoot(t,n){return{ngModule:e,providers:[Wh,ed(t),{provide:Gh,useFactory:Xh,deps:[[Uh,new ae,new ce]]},{provide:Zh,useValue:n||{}},{provide:Yo,useFactory:Jh,deps:[Qo,[new le(Jo),new ae],Zh]},{provide:qh,useFactory:Yh,deps:[Uh,dl,Zh]},{provide:$h,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:Fh},{provide:ni,multi:!0,useFactory:Qh},[rd,{provide:vs,multi:!0,useFactory:sd,deps:[rd]},{provide:od,useFactory:id,deps:[rd]},{provide:Es,multi:!0,useExisting:od}]]}}static forChild(t){return{ngModule:e,providers:[ed(t)]}}}return e})();function Yh(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new qh(e,t,n)}function Jh(e,t,n={}){return n.useHash?new tl(e,t):new nl(e,t)}function Xh(e){if(e)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function ed(e){return[{provide:We,multi:!0,useValue:e},{provide:kh,multi:!0,useValue:e}]}function td(e,t,n,r,s,i,o,l,a={},u,c){const h=new Uh(null,t,n,r,s,i,o,Gu(l));if(u&&(h.urlHandlingStrategy=u),c&&(h.routeReuseStrategy=c),a.errorHandler&&(h.errorHandler=a.errorHandler),a.malformedUriErrorHandler&&(h.malformedUriErrorHandler=a.malformedUriErrorHandler),a.enableTracing){const e=la();h.events.subscribe(t=>{e.logGroup(`Router Event: ${t.constructor.name}`),e.log(t.toString()),e.log(t),e.logGroupEnd()})}return a.onSameUrlNavigation&&(h.onSameUrlNavigation=a.onSameUrlNavigation),a.paramsInheritanceStrategy&&(h.paramsInheritanceStrategy=a.paramsInheritanceStrategy),a.urlUpdateStrategy&&(h.urlUpdateStrategy=a.urlUpdateStrategy),a.relativeLinkResolution&&(h.relativeLinkResolution=a.relativeLinkResolution),h}function nd(e){return e.routerState.root}const rd=(()=>(class{constructor(e){this.injector=e,this.initNavigation=!1,this.resultOfPreactivationDone=new P}appInitializer(){return this.injector.get(Ko,Promise.resolve(null)).then(()=>{let e=null;const t=new Promise(t=>e=t),n=this.injector.get(Uh),r=this.injector.get(Zh);if(this.isLegacyDisabled(r)||this.isLegacyEnabled(r))e(!0);else if("disabled"===r.initialNavigation)n.setUpLocationChangeListener(),e(!0);else{if("enabled"!==r.initialNavigation)throw new Error(`Invalid initialNavigation options: '${r.initialNavigation}'`);n.hooks.afterPreactivation=(()=>this.initNavigation?_l(null):(this.initNavigation=!0,e(!0),this.resultOfPreactivationDone)),n.initialNavigation()}return t})}bootstrapListener(e){const t=this.injector.get(Zh),n=this.injector.get(Bh),r=this.injector.get(qh),s=this.injector.get(Uh),i=this.injector.get(li);e===i.components[0]&&(this.isLegacyEnabled(t)?s.initialNavigation():this.isLegacyDisabled(t)&&s.setUpLocationChangeListener(),n.setUpPreloading(),r.init(),s.resetRootComponentType(i.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}isLegacyEnabled(e){return"legacy_enabled"===e.initialNavigation||!0===e.initialNavigation||void 0===e.initialNavigation}isLegacyDisabled(e){return"legacy_disabled"===e.initialNavigation||!1===e.initialNavigation}}))();function sd(e){return e.appInitializer.bind(e)}function id(e){return e.bootstrapListener.bind(e)}const od=new Te("Router Initializer");var ld=Zn({encapsulation:2,styles:[],data:{}});function ad(e){return Vi(0,[(e()(),Ti(0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),es(1,212992,null,0,Vh,[Lh,On,Gt,[8,null],bn],null,null)],function(e,t){e(t,1,0)},null)}function ud(e){return Vi(0,[(e()(),Ti(0,0,null,null,1,"ng-component",[],null,null,null,ad,ld)),es(1,49152,null,0,Nu,[],null,null)],null,null)}var cd=Ar("ng-component",Nu,ud,{},{},[]);class hd{constructor(){}ngOnInit(){}}var dd=Zn({encapsulation:0,styles:[[".i_feature_main_container[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;width:100%;height:100%;flex-direction:column;padding:3rem}.i_feature_main_container[_ngcontent-%COMP%] .i_feature_heading_title[_ngcontent-%COMP%]{margin-bottom:2rem}.i_feature_main_container[_ngcontent-%COMP%] .i_feature_heading_title[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:33px;color:#020814;letter-spacing:-.04em;font-family:coconfont-regular;margin-bottom:10px}.i_feature_main_container[_ngcontent-%COMP%] .i_feature_heading_title[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:18px;color:#747da1;letter-spacing:-.04em;font-family:coconfont-regular;margin-bottom:10px}.i_feature_main_container[_ngcontent-%COMP%] .i_feature_box_container[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;width:100%}.i_feature_main_container[_ngcontent-%COMP%] .i_feature_box_container[_ngcontent-%COMP%] .i_feature_box_1[_ngcontent-%COMP%]{background:#fff;box-shadow:0 15px 18px rgba(156,156,156,.15);border-radius:8px;padding:3.4375rem 1rem 1.25rem;position:relative;margin:0 10px 20px;width:calc(100% / 3 - 20px);display:flex;justify-content:center;align-items:center;flex-direction:column}.i_feature_main_container[_ngcontent-%COMP%] .i_feature_box_container[_ngcontent-%COMP%] .i_feature_box_1[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin-bottom:2rem}.i_feature_main_container[_ngcontent-%COMP%] .i_feature_box_container[_ngcontent-%COMP%] .i_feature_box_1[_ngcontent-%COMP%] .i_feature_title[_ngcontent-%COMP%]{color:#1d274e;font-size:1.15rem;font-weight:700;font-family:coconfont-regular;margin:0 0 .75rem;letter-spacing:1.5px;text-align:center}.i_feature_main_container[_ngcontent-%COMP%] .i_feature_box_container[_ngcontent-%COMP%] .i_feature_box_1[_ngcontent-%COMP%] .i_feature_descp[_ngcontent-%COMP%]{color:#747da1;font-size:.85rem;font-weight:500;margin:0;font-family:Poppins,sans-serif;text-transform:capitalize;text-align:center}"]],data:{}});function pd(e){return Vi(0,[(e()(),Ti(0,0,null,null,42,"div",[["class","i_feature_main_container"]],null,null,null,null,null)),(e()(),Ti(1,0,null,null,4,"div",[["class","i_feature_heading_title"]],null,null,null,null,null)),(e()(),Ti(2,0,null,null,1,"h1",[],null,null,null,null,null)),(e()(),Ui(-1,null,["67% of corporations believe they are not properly prepared to manage a social media crisis. (APACD Research, Q4, 2016)"])),(e()(),Ti(4,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),Ui(-1,null,["Predict, mitigate and manage risk better through SONAR."])),(e()(),Ti(6,0,null,null,36,"div",[["class","i_feature_box_container"]],null,null,null,null,null)),(e()(),Ti(7,0,null,null,5,"div",[["class","i_feature_box_1"]],null,null,null,null,null)),(e()(),Ti(8,0,null,null,0,"img",[["src","assets/icon/f1.svg"]],null,null,null,null,null)),(e()(),Ti(9,0,null,null,1,"div",[["class","i_feature_title"]],null,null,null,null,null)),(e()(),Ui(-1,null,["Real-Time Resource"])),(e()(),Ti(11,0,null,null,1,"div",[["class","i_feature_descp"]],null,null,null,null,null)),(e()(),Ui(-1,null,[" Operates intuitively, fluidly and simply in any language."])),(e()(),Ti(13,0,null,null,5,"div",[["class","i_feature_box_1"]],null,null,null,null,null)),(e()(),Ti(14,0,null,null,0,"img",[["src","assets/icon/f2.svg"]],null,null,null,null,null)),(e()(),Ti(15,0,null,null,1,"div",[["class","i_feature_title"]],null,null,null,null,null)),(e()(),Ui(-1,null,["Market Relevance "])),(e()(),Ti(17,0,null,null,1,"div",[["class","i_feature_descp"]],null,null,null,null,null)),(e()(),Ui(-1,null,[" Precise replication of social media environment in any geography."])),(e()(),Ti(19,0,null,null,5,"div",[["class","i_feature_box_1"]],null,null,null,null,null)),(e()(),Ti(20,0,null,null,0,"img",[["src","assets/icon/f3.svg"]],null,null,null,null,null)),(e()(),Ti(21,0,null,null,1,"div",[["class","i_feature_title"]],null,null,null,null,null)),(e()(),Ui(-1,null,["As Real as it Gets "])),(e()(),Ti(23,0,null,null,1,"div",[["class","i_feature_descp"]],null,null,null,null,null)),(e()(),Ui(-1,null,[" War-room style set-up: allows participants to track controversy in real-time."])),(e()(),Ti(25,0,null,null,5,"div",[["class","i_feature_box_1"]],null,null,null,null,null)),(e()(),Ti(26,0,null,null,0,"img",[["src","assets/icon/f4.svg"]],null,null,null,null,null)),(e()(),Ti(27,0,null,null,1,"div",[["class","i_feature_title"]],null,null,null,null,null)),(e()(),Ui(-1,null,["Skilled Advisory Team "])),(e()(),Ti(29,0,null,null,1,"div",[["class","i_feature_descp"]],null,null,null,null,null)),(e()(),Ui(-1,null,[" Experience communications and digital strategists work side-by-side with clients. "])),(e()(),Ti(31,0,null,null,5,"div",[["class","i_feature_box_1"]],null,null,null,null,null)),(e()(),Ti(32,0,null,null,0,"img",[["src","assets/icon/f3.svg"]],null,null,null,null,null)),(e()(),Ti(33,0,null,null,1,"div",[["class","i_feature_title"]],null,null,null,null,null)),(e()(),Ui(-1,null,["Added-Value Analysis "])),(e()(),Ti(35,0,null,null,1,"div",[["class","i_feature_descp"]],null,null,null,null,null)),(e()(),Ui(-1,null,[" Detailed analysis and reporting of corporate strengths and areas for improvement. "])),(e()(),Ti(37,0,null,null,5,"div",[["class","i_feature_box_1"]],null,null,null,null,null)),(e()(),Ti(38,0,null,null,0,"img",[["src","assets/icon/f4.svg"]],null,null,null,null,null)),(e()(),Ti(39,0,null,null,1,"div",[["class","i_feature_title"]],null,null,null,null,null)),(e()(),Ui(-1,null,["Upgraded Response "])),(e()(),Ti(41,0,null,null,1,"div",[["class","i_feature_descp"]],null,null,null,null,null)),(e()(),Ui(-1,null,[" Greatly improved speed of response in the event of a real issue or crisis."]))],null,null)}class fd{constructor(){}ngOnInit(){}}var gd=Zn({encapsulation:0,styles:[['@charset "UTF-8";.i_crises_main_container[_ngcontent-%COMP%]{padding:6rem 0;display:flex;justify-content:center;align-items:center}.i_crises_main_container[_ngcontent-%COMP%] .i_crises_box_container[_ngcontent-%COMP%]{padding:4rem 0;display:flex;justify-content:center;align-items:center;width:100%;height:100%}.i_crises_main_container[_ngcontent-%COMP%] .i_crises_box_container[_ngcontent-%COMP%] .i_crises_content[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:flex-start;flex-direction:column;width:calc(100% /2);height:100%}.i_crises_main_container[_ngcontent-%COMP%] .i_crises_box_container[_ngcontent-%COMP%] .i_crises_content[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:54px;color:#020814;letter-spacing:-.04em;font-family:coconfont-regular;margin:20px 0;text-align:left}.i_crises_main_container[_ngcontent-%COMP%] .i_crises_box_container[_ngcontent-%COMP%] .i_crises_content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#747da1;font-size:1rem;font-weight:500;margin:0;font-family:Poppins,sans-serif;text-transform:capitalize;text-align:left}.i_crises_main_container[_ngcontent-%COMP%] .i_crises_box_container[_ngcontent-%COMP%] .i_crises_content[_ngcontent-%COMP%] .btn_get_startted[_ngcontent-%COMP%]{padding:12px 32px;background-color:#1d274e;color:#fff;font-size:16px;position:relative;z-index:1;overflow:hidden;border-radius:50px;border:1px solid #383866;margin-top:35px;display:flex;justify-content:center;align-items:center}.i_crises_main_container[_ngcontent-%COMP%] .i_crises_box_container[_ngcontent-%COMP%] .i_crises_main[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;flex-direction:row;width:calc(100% /2)}.i_crises_main_container[_ngcontent-%COMP%] .i_crises_box_container[_ngcontent-%COMP%] .i_crises_main[_ngcontent-%COMP%] .crises_even[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;flex-direction:column;margin:0 1rem;width:calc(100% - 2rem)}.i_crises_main_container[_ngcontent-%COMP%] .i_crises_box_container[_ngcontent-%COMP%] .i_crises_main[_ngcontent-%COMP%] .crises_even[_ngcontent-%COMP%] .i_crises_boxes_ev[_ngcontent-%COMP%]{width:100%;padding:38px 18px;box-shadow:0 4px 28px 0 rgba(102,102,102,.1);margin-top:30px;position:relative;z-index:1;overflow:hidden;border-radius:10px;display:flex;justify-content:center;align-items:center;flex-direction:column}.i_crises_main_container[_ngcontent-%COMP%] .i_crises_box_container[_ngcontent-%COMP%] .i_crises_main[_ngcontent-%COMP%] .crises_even[_ngcontent-%COMP%] .i_crises_boxes_ev[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin-bottom:1rem}.i_crises_main_container[_ngcontent-%COMP%] .i_crises_box_container[_ngcontent-%COMP%] .i_crises_main[_ngcontent-%COMP%] .crises_even[_ngcontent-%COMP%] .i_crises_boxes_ev[_ngcontent-%COMP%] .i_feature_title[_ngcontent-%COMP%]{color:#1d274e;font-size:1.15rem;font-weight:700;font-family:coconfont-regular;margin:0 0 .75rem;letter-spacing:1.5px;text-align:center}.i_crises_main_container[_ngcontent-%COMP%] .i_crises_box_container[_ngcontent-%COMP%] .i_crises_main[_ngcontent-%COMP%] .crises_even[_ngcontent-%COMP%] .i_crises_boxes_ev[_ngcontent-%COMP%] .i_feature_descp[_ngcontent-%COMP%]{color:#747da1;font-size:.85rem;font-weight:500;margin:0;font-family:Poppins,sans-serif;text-transform:capitalize;text-align:center}.i_crises_main_container[_ngcontent-%COMP%] .i_crises_box_container[_ngcontent-%COMP%] .i_crises_main[_ngcontent-%COMP%] .crises_even.odd[_ngcontent-%COMP%]{margin-bottom:-5rem}.i_our_clients[_ngcontent-%COMP%]{padding:6rem 0;display:flex;justify-content:center;align-items:center;background:#f8fbfd;flex-direction:column}.i_our_clients[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:35px;color:#020814;letter-spacing:-.04em;font-family:coconfont-regular;margin:20px 0;text-align:center}.i_our_clients[_ngcontent-%COMP%] .i_our_clinet_list[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center;flex-direction:row;flex-wrap:wrap}.i_our_clients[_ngcontent-%COMP%] .i_our_clinet_list[_ngcontent-%COMP%] .i_list_name[_ngcontent-%COMP%]{position:relative;text-align:center;border-radius:10px;box-shadow:0 0 30px rgba(0,0,0,.15);background-color:#fff;transition:all .3s ease;margin:20px;padding:19px 23px;width:210px;height:107px;display:flex;justify-content:center;align-items:center;width:calc(100% /4 - 40px)}.i_our_clients[_ngcontent-%COMP%] .i_our_clinet_list[_ngcontent-%COMP%] .i_list_name[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;opacity:.4;transition:all .3s ease;-webkit-transition:.3s;-ms-transition:all .3s ease;-o-transition:.3s;-webkit-filter:grayscale(100%);filter:grayscale(100%)}.i_our_clients[_ngcontent-%COMP%] .i_our_clinet_list[_ngcontent-%COMP%] .i_list_name[_ngcontent-%COMP%]:hover img[_ngcontent-%COMP%]{opacity:1;-webkit-filter:grayscale(0);filter:grayscale(0)}.i_request_demo[_ngcontent-%COMP%]{padding:6rem 0;display:flex;justify-content:center;align-items:flex-start;flex-direction:column}.i_request_demo[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:35px;color:#020814;letter-spacing:-.04em;font-family:coconfont-regular;margin:20px 0 2rem;text-align:center}.i_request_demo[_ngcontent-%COMP%] .i_demo_container[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;flex-direction:row}.i_request_demo[_ngcontent-%COMP%] .i_demo_container[_ngcontent-%COMP%] .i_demo_child_boxes[_ngcontent-%COMP%]{width:100%;margin:0 20px;width:calc(100% / 2 - 40px)}.i_request_demo[_ngcontent-%COMP%] .i_demo_container[_ngcontent-%COMP%] .i_demo_child_boxes[_ngcontent-%COMP%] .ttile_demo[_ngcontent-%COMP%]{font-size:25px;color:#020814;letter-spacing:-.04em;font-family:coconfont-regular;margin:20px 0;text-align:center}.i_request_demo[_ngcontent-%COMP%] .i_demo_container[_ngcontent-%COMP%] .i_demo_child_boxes[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{color:#747da1;font-size:.9em;font-weight:400;margin:0 0 10px;font-family:Poppins,sans-serif;text-transform:capitalize;text-align:left;letter-spacing:1px;line-height:1.5rem}.i_request_demo[_ngcontent-%COMP%] .i_demo_container[_ngcontent-%COMP%] .i_demo_child_boxes[_ngcontent-%COMP%] .btn_request_for_demo[_ngcontent-%COMP%]{padding:12px 32px;background-color:#1d274e;color:#fff;font-size:16px;position:relative;z-index:1;overflow:hidden;border-radius:50px;border:1px solid #383866;margin-top:35px;display:flex;justify-content:center;align-items:center;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.i_request_demo[_ngcontent-%COMP%] .i_demo_container[_ngcontent-%COMP%] .i_demo_child_boxes[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{border-radius:15px;box-shadow:0 0 22px #b5c1bf;width:100%}.i_request_demo[_ngcontent-%COMP%] .i_demo_container[_ngcontent-%COMP%] .i_demo_child_boxes.pp[_ngcontent-%COMP%]{position:relative}.i_request_demo[_ngcontent-%COMP%] .i_demo_container[_ngcontent-%COMP%] .i_demo_child_boxes.pp[_ngcontent-%COMP%]::after{content:"\uf0da";position:absolute;width:75px;height:75px;background:#fff;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);border-radius:50%;cursor:pointer;display:flex;justify-content:center;align-items:center;font-family:FontAwesome;font-size:2rem}.footer[_ngcontent-%COMP%]{background:#f4f4f4;padding:2rem 0}.footer[_ngcontent-%COMP%] .i_parent_footer[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center}.footer[_ngcontent-%COMP%] .i_parent_footer[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{color:#747da1;font-size:.9em;font-weight:400;margin:0 0 10px;font-family:Poppins,sans-serif;text-transform:capitalize;text-align:left;letter-spacing:1px;line-height:1.5rem}']],data:{}});function md(e){return Vi(0,[(e()(),Ti(0,0,null,null,36,"div",[["class","i_crises_main_container"]],null,null,null,null,null)),(e()(),Ti(1,0,null,null,35,"div",[["class","container"]],null,null,null,null,null)),(e()(),Ti(2,0,null,null,34,"div",[["class","i_crises_box_container"]],null,null,null,null,null)),(e()(),Ti(3,0,null,null,6,"div",[["class","i_crises_content"]],null,null,null,null,null)),(e()(),Ti(4,0,null,null,1,"h1",[],null,null,null,null,null)),(e()(),Ui(-1,null,["Need to check your crisis resilience? "])),(e()(),Ti(6,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),Ui(-1,null,["We can do that. Fast. Predict, mitigate and manage risk better through SONAR."])),(e()(),Ti(8,0,null,null,1,"div",[["class","btn_get_startted"]],null,null,null,null,null)),(e()(),Ui(-1,null,["Get Started"])),(e()(),Ti(10,0,null,null,26,"div",[["class","i_crises_main"]],null,null,null,null,null)),(e()(),Ti(11,0,null,null,12,"div",[["class","crises_even"]],null,null,null,null,null)),(e()(),Ti(12,0,null,null,5,"div",[["class","i_crises_boxes_ev"]],null,null,null,null,null)),(e()(),Ti(13,0,null,null,0,"img",[["src","assets/icon/service1.png"]],null,null,null,null,null)),(e()(),Ti(14,0,null,null,1,"div",[["class","i_feature_title"]],null,null,null,null,null)),(e()(),Ui(-1,null,["Title over here "])),(e()(),Ti(16,0,null,null,1,"div",[["class","i_feature_descp"]],null,null,null,null,null)),(e()(),Ui(-1,null,["Simulated multi-screen media, social media and stakeholder environment. As real as it gets."])),(e()(),Ti(18,0,null,null,5,"div",[["class","i_crises_boxes_ev"]],null,null,null,null,null)),(e()(),Ti(19,0,null,null,0,"img",[["src","assets/icon/service2.png"]],null,null,null,null,null)),(e()(),Ti(20,0,null,null,1,"div",[["class","i_feature_title"]],null,null,null,null,null)),(e()(),Ui(-1,null,["Title over here "])),(e()(),Ti(22,0,null,null,1,"div",[["class","i_feature_descp"]],null,null,null,null,null)),(e()(),Ui(-1,null,[" Precisely designed real-life scenarios to test your people, planning and systems."])),(e()(),Ti(24,0,null,null,12,"div",[["class","crises_even odd"]],null,null,null,null,null)),(e()(),Ti(25,0,null,null,5,"div",[["class","i_crises_boxes_ev"]],null,null,null,null,null)),(e()(),Ti(26,0,null,null,0,"img",[["src","assets/icon/service3.png"]],null,null,null,null,null)),(e()(),Ti(27,0,null,null,1,"div",[["class","i_feature_title"]],null,null,null,null,null)),(e()(),Ui(-1,null,["Title over here "])),(e()(),Ti(29,0,null,null,1,"div",[["class","i_feature_descp"]],null,null,null,null,null)),(e()(),Ui(-1,null,["Fast assessment of what is working and what needs improving or upgrading."])),(e()(),Ti(31,0,null,null,5,"div",[["class","i_crises_boxes_ev"]],null,null,null,null,null)),(e()(),Ti(32,0,null,null,0,"img",[["src","assets/icon/service4.png"]],null,null,null,null,null)),(e()(),Ti(33,0,null,null,1,"div",[["class","i_feature_title"]],null,null,null,null,null)),(e()(),Ui(-1,null,["Title over here "])),(e()(),Ti(35,0,null,null,1,"div",[["class","i_feature_descp"]],null,null,null,null,null)),(e()(),Ui(-1,null,[" Precise replication of social media environment in any geography."])),(e()(),Ti(37,0,null,null,28,"div",[["class","i_our_clients"]],null,null,null,null,null)),(e()(),Ti(38,0,null,null,27,"div",[["class","container"]],null,null,null,null,null)),(e()(),Ti(39,0,null,null,1,"h1",[],null,null,null,null,null)),(e()(),Ui(-1,null,["The following global corporate leaders have SONAR\u2122 as part of their risk management planning. "])),(e()(),Ti(41,0,null,null,24,"div",[["class","i_our_clinet_list"]],null,null,null,null,null)),(e()(),Ti(42,0,null,null,1,"div",[["class","i_list_name"]],null,null,null,null,null)),(e()(),Ti(43,0,null,null,0,"img",[["class","img-responsive"],["src","assets/icon/client2.png"]],null,null,null,null,null)),(e()(),Ti(44,0,null,null,1,"div",[["class","i_list_name"]],null,null,null,null,null)),(e()(),Ti(45,0,null,null,0,"img",[["class","img-responsive"],["src","assets/icon/client1.png"]],null,null,null,null,null)),(e()(),Ti(46,0,null,null,1,"div",[["class","i_list_name"]],null,null,null,null,null)),(e()(),Ti(47,0,null,null,0,"img",[["class","img-responsive"],["src","assets/icon/client3.png"]],null,null,null,null,null)),(e()(),Ti(48,0,null,null,1,"div",[["class","i_list_name"]],null,null,null,null,null)),(e()(),Ti(49,0,null,null,0,"img",[["class","img-responsive"],["src","assets/icon/client2.png"]],null,null,null,null,null)),(e()(),Ti(50,0,null,null,1,"div",[["class","i_list_name"]],null,null,null,null,null)),(e()(),Ti(51,0,null,null,0,"img",[["class","img-responsive"],["src","assets/icon/client1.png"]],null,null,null,null,null)),(e()(),Ti(52,0,null,null,1,"div",[["class","i_list_name"]],null,null,null,null,null)),(e()(),Ti(53,0,null,null,0,"img",[["class","img-responsive"],["src","assets/icon/client3.png"]],null,null,null,null,null)),(e()(),Ti(54,0,null,null,1,"div",[["class","i_list_name"]],null,null,null,null,null)),(e()(),Ti(55,0,null,null,0,"img",[["class","img-responsive"],["src","assets/icon/client1.png"]],null,null,null,null,null)),(e()(),Ti(56,0,null,null,1,"div",[["class","i_list_name"]],null,null,null,null,null)),(e()(),Ti(57,0,null,null,0,"img",[["class","img-responsive"],["src","assets/icon/client2.png"]],null,null,null,null,null)),(e()(),Ti(58,0,null,null,1,"div",[["class","i_list_name"]],null,null,null,null,null)),(e()(),Ti(59,0,null,null,0,"img",[["class","img-responsive"],["src","assets/icon/client3.png"]],null,null,null,null,null)),(e()(),Ti(60,0,null,null,1,"div",[["class","i_list_name"]],null,null,null,null,null)),(e()(),Ti(61,0,null,null,0,"img",[["class","img-responsive"],["src","assets/icon/client2.png"]],null,null,null,null,null)),(e()(),Ti(62,0,null,null,1,"div",[["class","i_list_name"]],null,null,null,null,null)),(e()(),Ti(63,0,null,null,0,"img",[["class","img-responsive"],["src","assets/icon/client1.png"]],null,null,null,null,null)),(e()(),Ti(64,0,null,null,1,"div",[["class","i_list_name"]],null,null,null,null,null)),(e()(),Ti(65,0,null,null,0,"img",[["src","assets/icon/client2.png"]],null,null,null,null,null)),(e()(),Ti(66,0,null,null,18,"div",[["class","i_request_demo"]],null,null,null,null,null)),(e()(),Ti(67,0,null,null,17,"div",[["class","container"]],null,null,null,null,null)),(e()(),Ti(68,0,null,null,1,"h1",[],null,null,null,null,null)),(e()(),Ui(-1,null,["Can you afford not to be prepared?"])),(e()(),Ti(70,0,null,null,14,"div",[["class","i_demo_container"]],null,null,null,null,null)),(e()(),Ti(71,0,null,null,11,"div",[["class","i_demo_child_boxes"]],null,null,null,null,null)),(e()(),Ti(72,0,null,null,1,"div",[["class","ttile_demo"]],null,null,null,null,null)),(e()(),Ui(-1,null,["Schedule your SONAR\u2122 crisis simulation today."])),(e()(),Ti(74,0,null,null,6,"ul",[],null,null,null,null,null)),(e()(),Ti(75,0,null,null,1,"li",[],null,null,null,null,null)),(e()(),Ui(-1,null,["With more and more organisations getting it wrong, make sure you get it right. "])),(e()(),Ti(77,0,null,null,1,"li",[],null,null,null,null,null)),(e()(),Ui(-1,null,["Access experience and insight from Ruder Finn,"])),(e()(),Ti(79,0,null,null,1,"li",[],null,null,null,null,null)),(e()(),Ui(-1,null,["Asia-Pacific\u2019s leading digital risk management consultancy."])),(e()(),Ti(81,0,null,null,1,"div",[["class","btn_request_for_demo"]],null,null,null,null,null)),(e()(),Ui(-1,null,["Request a Demo"])),(e()(),Ti(83,0,null,null,1,"div",[["class","i_demo_child_boxes pp"]],null,null,null,null,null)),(e()(),Ti(84,0,null,null,0,"img",[["class","img-responsive"],["src","assets/1.jpg"]],null,null,null,null,null)),(e()(),Ti(85,0,null,null,6,"div",[["class","footer"]],null,null,null,null,null)),(e()(),Ti(86,0,null,null,5,"div",[["class","container"]],null,null,null,null,null)),(e()(),Ti(87,0,null,null,4,"div",[["class","i_parent_footer"]],null,null,null,null,null)),(e()(),Ti(88,0,null,null,1,"div",[["class","icon"]],null,null,null,null,null)),(e()(),Ti(89,0,null,null,0,"img",[["src","assets/icon/footerlogo.webp"]],null,null,null,null,null)),(e()(),Ti(90,0,null,null,1,"div",[["class","icon"]],null,null,null,null,null)),(e()(),Ui(-1,null,["\xa92017 Ruder Finn Asia. All rights reserved "]))],null,null)}var _d=Zn({encapsulation:0,styles:[['.app_main_container[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;width:100%;flex-wrap:nowrap}.main_container[_ngcontent-%COMP%]{width:100%;min-height:100vh;background:linear-gradient(144deg,#3e64bac4,#e145459e),url(2.38df94338b2a465227da.jpg);display:flex;justify-content:center;align-items:center;transition:all 2s}.main_container[_ngcontent-%COMP%] .banner_content[_ngcontent-%COMP%]{text-align:center}.main_container[_ngcontent-%COMP%] .banner_content[_ngcontent-%COMP%] .main_title[_ngcontent-%COMP%]{color:#fff;font-size:4rem;font-weight:700;font-family:coconfont-regular;margin:0 0 1.5rem;letter-spacing:1.5px}.main_container[_ngcontent-%COMP%] .banner_content[_ngcontent-%COMP%] .subheading_main[_ngcontent-%COMP%]{color:#fff;font-size:1.55rem;font-weight:400;margin:0;font-family:Poppins,sans-serif;letter-spacing:1.5px;text-transform:capitalize}.main_container[_ngcontent-%COMP%] .banner_content[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:flex;margin:auto}.timer-content[_ngcontent-%COMP%]{position:fixed;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:100%;min-height:100vh;background:linear-gradient(rgba(0,0,0,.56),rgba(0,0,0,.72)) 50% 50%/cover,url(5.eb6f39132c456fbe5854.jpg) 50% 50%/cover;display:flex;justify-content:center;align-items:center;transition:all 2s;visibility:visible;opacity:1;transition:opacity 2s;z-index:99}.timer-content.hide_it[_ngcontent-%COMP%]{opacity:.5;visibility:hidden}.headtext[_ngcontent-%COMP%]:before{content:"5";-webkit-animation:4s linear infinite head;animation:4s linear infinite head;color:#fff;font-size:15.25rem;font-weight:700;font-family:coconfont-regular}@-webkit-keyframes head{0%{content:"5"}25%{content:"4"}50%{content:"3"}75%{content:"2"}100%{content:"1"}}@keyframes head{0%{content:"5"}25%{content:"4"}50%{content:"3"}75%{content:"2"}100%{content:"1"}}.i_main_container[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{-ms-scroll-snap-type:mandatory;scroll-snap-type:mandatory;-ms-scroll-snap-points-y:repeat(300px);scroll-snap-points-y:repeat(300px);-ms-scroll-snap-type:y mandatory;scroll-snap-type:y mandatory}.i_main_container[_ngcontent-%COMP%] .child[_ngcontent-%COMP%]{scroll-snap-align:start;min-height:50vh;border-bottom:5px solid #7a4d4d}.i_main_container[_ngcontent-%COMP%]{width:0%;min-height:100vh;transition:all 2s;overflow:hidden;background:#f8fbfd}.i_crises_container[_ngcontent-%COMP%]{width:100%;min-height:100vh;background:linear-gradient(to bottom,#ffffffc4,#ffffff00),url(white.3a713415cd191fa215c3.jpg);position:relative;display:flex;justify-content:center;align-items:center}.i_crises_container[_ngcontent-%COMP%] .i_criese_list[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;width:100%;height:100%;position:relative}.i_crises_container[_ngcontent-%COMP%] .i_criese_list[_ngcontent-%COMP%] .i_comoon[_ngcontent-%COMP%]{margin:0 15px;height:100%;width:100%}.i_crises_container[_ngcontent-%COMP%] .i_criese_list[_ngcontent-%COMP%] .i_1[_ngcontent-%COMP%]{width:33%;display:flex;justify-content:flex-end;align-items:flex-end;min-height:80vh;flex-direction:column}.i_crises_container[_ngcontent-%COMP%] .i_criese_list[_ngcontent-%COMP%] .i_2[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;min-height:80vh;background:linear-gradient(159deg,#fff,#e53f20ad),url(huwaei.d82f8ea5cf6f530fbcec.jpg);border-radius:47px;box-shadow:0 22px 66px #edbeb9;width:100%;position:relative}.i_crises_container[_ngcontent-%COMP%] .i_criese_list[_ngcontent-%COMP%] .i_3[_ngcontent-%COMP%]{width:33%;display:flex;justify-content:flex-end;align-items:flex-start;min-height:80vh}.i_crises_container[_ngcontent-%COMP%] .i_criese_list[_ngcontent-%COMP%] .i_img[_ngcontent-%COMP%]{border-radius:15px;box-shadow:0 0 22px #b5c1bf;width:100%}.i_crises_container[_ngcontent-%COMP%] .i_criese_list[_ngcontent-%COMP%] .list_sublist[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;flex-direction:column}.text_crises[_ngcontent-%COMP%]{color:#000;font-size:3.25rem;font-weight:700;font-family:coconfont-regular;margin:0 0 1.5rem;letter-spacing:1.5px;position:absolute;top:0;left:-32%;display:flex;align-items:center;justify-content:center}.text_crises[_ngcontent-%COMP%] .heighlighted[_ngcontent-%COMP%]{font-size:7rem;color:#fff;text-shadow:-1px -1px 0 #000,1px -1px 0 #000,-1px 1px 0 #000,1px 1px 0 #ff000f;margin-right:30px}.i_face_fail[_ngcontent-%COMP%]{font-size:33px;line-height:40px;color:#020814;letter-spacing:-.04em;font-family:coconfont-regular;margin:20px 0}.i-details_crises_content[_ngcontent-%COMP%]{font-size:.85rem;color:#265381;text-align:left;margin:0;word-wrap:break-word;letter-spacing:1px;font-weight:400}']],data:{}});function vd(e){return Vi(0,[(e()(),Ti(0,0,null,null,22,"section",[],null,null,null,null,null)),(e()(),Ti(1,0,null,null,21,"div",[["class","i_crises_container"]],null,null,null,null,null)),(e()(),Ti(2,0,null,null,20,"div",[["class","i_criese_list"]],null,null,null,null,null)),(e()(),Ti(3,0,null,null,3,"div",[["class","i_1 i_comoon"]],null,null,null,null,null)),(e()(),Ti(4,0,null,null,1,"div",[["class","i_face_fail"]],null,null,null,null,null)),(e()(),Ui(-1,null,["Facebook PR Fail"])),(e()(),Ti(6,0,null,null,0,"img",[["class","i_img"],["src","assets/failbook.jpg"]],null,null,null,null,null)),(e()(),Ti(7,0,null,null,8,"div",[["class","i_2 i_comoon"]],null,null,null,null,null)),(e()(),Ti(8,0,null,null,6,"div",[["class","text_crises"]],null,null,null,null,null)),(e()(),Ti(9,0,null,null,1,"div",[["class","heighlighted"]],null,null,null,null,null)),(e()(),Ui(-1,null,["Crises"])),(e()(),Ti(11,0,null,null,3,"div",[["class","else_text"]],null,null,null,null,null)),(e()(),Ui(-1,null,[" Reflecting the "])),(e()(),Ti(13,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),Ui(-1,null,["increasing corporate "])),(e()(),Ti(15,0,null,null,0,"div",[["class","heading_crises"]],null,null,null,null,null)),(e()(),Ti(16,0,null,null,6,"div",[["class","i_3 i_comoon"]],null,null,null,null,null)),(e()(),Ti(17,0,null,null,5,"div",[["class","list_sublist"]],null,null,null,null,null)),(e()(),Ti(18,0,null,null,0,"img",[["class","i_img"],["src","assets/nishan.jpg"]],null,null,null,null,null)),(e()(),Ti(19,0,null,null,1,"div",[["class","i_face_fail"]],null,null,null,null,null)),(e()(),Ui(-1,null,["Nissan's Boss Gets Arrested"])),(e()(),Ti(21,0,null,null,1,"div",[["class","i-details_crises_content"]],null,null,null,null,null)),(e()(),Ui(-1,null,[" Even by Japan's storied standards of corporate malfeasance, the scandal at Nissan Motor deserves special mention \u2014 combining, as it does, financial wrongdoing, political intrigue and hubris to almost unparalleled effect. Now relegated to a tiny cell in Tokyo, "])),(e()(),Ti(23,0,null,null,15,"section",[],null,null,null,null,null)),(e()(),Ti(24,0,null,null,14,"div",[["class","app_main_container"]],null,null,null,null,null)),(e()(),Ti(25,0,null,null,10,"div",[["class","main_container"],["id","banner_main"]],null,null,null,null,null)),(e()(),Ti(26,0,null,null,7,"div",[["class","banner_content"]],null,null,null,null,null)),(e()(),Ti(27,0,null,null,0,"img",[["src","https://static.wixstatic.com/media/68ee8b_bfb661bbcfda44528c5e6cf3f21fb2b2~mv2.jpg/v1/fill/w_92,h_120,al_c,q_80,usm_0.66_1.00_0.01/68ee8b_bfb661bbcfda44528c5e6cf3f21fb2b2~mv2.webp"]],null,null,null,null,null)),(e()(),Ti(28,0,null,null,1,"div",[["class","main_title"]],null,null,null,null,null)),(e()(),Ui(-1,null,["Crisis Simulation System "])),(e()(),Ti(30,0,null,null,1,"div",[["class","subheading_main"]],null,null,null,null,null)),(e()(),Ui(-1,null,["Need to check your crisis resilience? "])),(e()(),Ti(32,0,null,null,1,"div",[["class","subheading_main"]],null,null,null,null,null)),(e()(),Ui(-1,null,["We can do that. Fast. "])),(e()(),Ti(34,0,null,null,1,"div",[["class","timer-content"],["id","timer"]],null,null,null,null,null)),(e()(),Ti(35,0,null,null,0,"div",[["class","headtext"],["id","text1"]],null,null,null,null,null)),(e()(),Ti(36,0,null,null,2,"div",[["class","i_main_container"],["id","details_container"]],null,null,null,null,null)),(e()(),Ti(37,0,null,null,1,"app-feature",[],null,null,null,pd,dd)),es(38,114688,null,0,hd,[],null,null),(e()(),Ti(39,0,null,null,2,"section",[],null,null,null,null,null)),(e()(),Ti(40,0,null,null,1,"app-crises",[],null,null,null,md,gd)),es(41,114688,null,0,fd,[],null,null),(e()(),Ti(42,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),es(43,212992,null,0,Vh,[Lh,On,Gt,[8,null],bn],null,null)],function(e,t){e(t,38,0),e(t,41,0),e(t,43,0)},null)}function wd(e){return Vi(0,[(e()(),Ti(0,0,null,null,1,"app-root",[],null,null,null,vd,_d)),es(1,114688,null,0,Wo,[],null,null)],function(e,t){e(t,1,0)},null)}var yd=Ar("app-root",Wo,wd,{},{},[]);class bd{}var Cd=qo(Go,[Wo],function(e){return function(e){const t={},n=[];let r=!1;for(let s=0;s<e.length;s++){const i=e[s];i.token===$t&&!0===i.value&&(r=!0),1073741824&i.flags&&n.push(i.token),i.index=s,t[Fn(i.token)]=i}return{factory:null,providersByKey:t,providers:e,modules:n,isRoot:r}}([Cr(512,Gt,Wt,[[8,[cd,yd]],[3,Gt],Kt]),Cr(5120,yi,xi,[[3,yi]]),Cr(4608,al,ul,[yi,[2,ll]]),Cr(5120,fs,Si,[zs]),Cr(5120,ys,bs,[]),Cr(5120,wn,bi,[]),Cr(5120,yn,Ci,[]),Cr(4608,ou,lu,[hl]),Cr(6144,Tt,null,[ou]),Cr(4608,Xa,tu,[]),Cr(5120,Ta,function(e,t,n,r,s,i,o,l){return[new Ya(e,t,n),new iu(r),new nu(s,i,o,l)]},[hl,zs,Ss,hl,hl,Xa,Ts,[2,eu]]),Cr(4608,Pa,Pa,[Ta,zs]),Cr(135680,Ra,Ra,[hl]),Cr(4608,ja,ja,[Pa,Ra,ys]),Cr(6144,nn,null,[ja]),Cr(6144,ka,null,[Ra]),Cr(4608,Qs,Qs,[zs]),Cr(5120,Ec,nd,[Uh]),Cr(4608,Fh,Fh,[]),Cr(6144,$h,null,[Fh]),Cr(135680,Bh,Bh,[Uh,_s,Ms,Ae,$h]),Cr(4608,zh,zh,[]),Cr(5120,qh,Yh,[Uh,dl,Zh]),Cr(5120,od,id,[rd]),Cr(5120,Es,function(e){return[e]},[od]),Cr(1073742336,cl,cl,[]),Cr(1024,et,gu,[]),Cr(1024,ni,function(){return[Qh()]},[]),Cr(512,rd,rd,[Ae]),Cr(1024,vs,function(e,t){return[(n=e,xa("probe",Ea),xa("coreTokens",Object.assign({},Sa,(n||[]).reduce((e,t)=>(e[t.name]=t.token,e),{}))),()=>Ea),sd(t)];var n},[[2,ni],rd]),Cr(512,ws,ws,[[2,vs]]),Cr(131584,li,li,[zs,Ts,Ae,et,Gt,ws]),Cr(1073742336,Ei,Ei,[li]),Cr(1073742336,mu,mu,[[3,mu]]),Cr(1024,Gh,Xh,[[3,Uh]]),Cr(512,rc,sc,[]),Cr(512,Lh,Lh,[]),Cr(256,Zh,{},[]),Cr(1024,Yo,Jh,[Qo,[2,Jo],Zh]),Cr(512,Xo,Xo,[Yo,Qo]),Cr(512,Ms,Ms,[]),Cr(512,_s,hi,[Ms,[2,ui]]),Cr(1024,kh,function(){return[[]]},[]),Cr(1024,Uh,td,[li,rc,Lh,Xo,Ae,_s,Ms,kh,Zh,[2,Ah],[2,Ph]]),Cr(1073742336,Kh,Kh,[[2,Gh],[2,Uh]]),Cr(1073742336,bd,bd,[]),Cr(1073742336,Go,Go,[]),Cr(256,$t,!0,[])])});(function(){if(nt)throw new Error("Cannot enable prod mode after platform setup.");tt=!1})(),fu().bootstrapModuleFactory(Cd).catch(e=>console.error(e))},zn8P:function(e,t){function n(e){return Promise.resolve().then(function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t})}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="zn8P"}},[[0,0]]]);