-
Notifications
You must be signed in to change notification settings - Fork 0
/
main-es5.9c4b5c5f9be11b0a15c9.js
1 lines (1 loc) · 289 KB
/
main-es5.9c4b5c5f9be11b0a15c9.js
1
var __extends=this&&this.__extends||function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(t,e,n){t.exports=n("zUnb")},zUnb:function(t,e,n){"use strict";function r(t){return"function"==typeof t}n.r(e);var o=!1,i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){var e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else o&&console.log("RxJS: Back to a better error behavior. Thank you. <3");o=t},get useDeprecatedSynchronousErrorHandling(){return o}};function a(t){setTimeout((function(){throw t}))}var u={closed:!0,next:function(t){},error:function(t){if(i.useDeprecatedSynchronousErrorHandling)throw t;a(t)},complete:function(){}},l=Array.isArray||function(t){return t&&"number"==typeof t.length};function s(t){return null!==t&&"object"==typeof t}function c(t){return Error.call(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(t,e){return e+1+") "+t.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t,this}c.prototype=Object.create(Error.prototype);var h,p=c,f=((h=function(){function t(t){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}return t.prototype.unsubscribe=function(){var t,e=!1;if(!this.closed){var n=this._parent,o=this._parents,i=this._unsubscribe,a=this._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var u=-1,c=o?o.length:0;n;)n.remove(this),n=++u<c&&o[u]||null;if(r(i))try{i.call(this)}catch(f){e=!0,t=f instanceof p?d(f.errors):[f]}if(l(a))for(u=-1,c=a.length;++u<c;){var h=a[u];if(s(h))try{h.unsubscribe()}catch(f){e=!0,t=t||[],f instanceof p?t=t.concat(d(f.errors)):t.push(f)}}if(e)throw new p(t)}},t.prototype.add=function(e){var n=e;switch(typeof e){case"function":n=new t(e);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof t)){var r=n;(n=new t)._subscriptions=[r]}break;default:if(!e)return t.EMPTY;throw new Error("unrecognized teardown "+e+" added to Subscription.")}if(n._addParent(this)){var o=this._subscriptions;o?o.push(n):this._subscriptions=[n]}return n},t.prototype.remove=function(t){var e=this._subscriptions;if(e){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}},t.prototype._addParent=function(t){var e=this._parent,n=this._parents;return e!==t&&(e?n?-1===n.indexOf(t)&&(n.push(t),!0):(this._parents=[t],!0):(this._parent=t,!0))},t}()).EMPTY=function(t){return t.closed=!0,t}(new h),h);function d(t){return t.reduce((function(t,e){return t.concat(e instanceof p?e.errors:e)}),[])}var g="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random(),v=function(t){function e(n,r,o){var i=this;switch((i=t.call(this)||this).syncErrorValue=null,i.syncErrorThrown=!1,i.syncErrorThrowable=!1,i.isStopped=!1,arguments.length){case 0:i.destination=u;break;case 1:if(!n){i.destination=u;break}if("object"==typeof n){n instanceof e?(i.syncErrorThrowable=n.syncErrorThrowable,i.destination=n,n.add(i)):(i.syncErrorThrowable=!0,i.destination=new y(i,n));break}default:i.syncErrorThrowable=!0,i.destination=new y(i,n,r,o)}return i}return __extends(e,t),e.prototype[g]=function(){return this},e.create=function(t,n,r){var o=new e(t,n,r);return o.syncErrorThrowable=!1,o},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e.prototype._unsubscribeAndRecycle=function(){var t=this._parent,e=this._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=t,this._parents=e,this},e}(f),y=function(t){function e(e,n,o,i){var a,l=this;(l=t.call(this)||this)._parentSubscriber=e;var s=l;return r(n)?a=n:n&&(a=n.next,o=n.error,i=n.complete,n!==u&&(r((s=Object.create(n)).unsubscribe)&&l.add(s.unsubscribe.bind(s)),s.unsubscribe=l.unsubscribe.bind(l))),l._context=s,l._next=a,l._error=o,l._complete=i,l}return __extends(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;i.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},e.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber,n=i.useDeprecatedSynchronousErrorHandling;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):a(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;a(t)}}},e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var n=function(){return t._complete.call(t._context)};i.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),i.useDeprecatedSynchronousErrorHandling)throw n;a(n)}},e.prototype.__tryOrSetError=function(t,e,n){if(!i.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(r){return i.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=r,t.syncErrorThrown=!0,!0):(a(r),!0)}return!1},e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},e}(v),m="function"==typeof Symbol&&Symbol.observable||"@@observable";function w(){}function b(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return _(t)}function _(t){return t?1===t.length?t[0]:function(e){return t.reduce((function(t,e){return e(t)}),e)}:w}var C,x=((C=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var n=new t;return n.source=this,n.operator=e,n},t.prototype.subscribe=function(t,e,n){var r=this.operator,o=function(t,e,n){if(t){if(t instanceof v)return t;if(t[g])return t[g]()}return t||e||n?new v(t,e,n):new v(u)}(t,e,n);if(o.add(r?r.call(o,this.source):this.source||i.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),i.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){i.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){var e=t.closed,n=t.destination,r=t.isStopped;if(e||r)return!1;t=n&&n instanceof v?n:null}return!0}(t)?t.error(e):console.warn(e)}},t.prototype.forEach=function(t,e){var n=this;return new(e=S(e))((function(e,r){var o;o=n.subscribe((function(e){try{t(e)}catch(n){r(n),o&&o.unsubscribe()}}),r,e)}))},t.prototype._subscribe=function(t){var e=this.source;return e&&e.subscribe(t)},t.prototype[m]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 0===t.length?this:_(t)(this)},t.prototype.toPromise=function(t){var e=this;return new(t=S(t))((function(t,n){var r;e.subscribe((function(t){return r=t}),(function(t){return n(t)}),(function(){return t(r)}))}))},t}()).create=function(t){return new C(t)},C);function S(t){if(t||(t=i.Promise||Promise),!t)throw new Error("no Promise impl found");return t}function E(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}E.prototype=Object.create(Error.prototype);var T,k=E,P=function(t){function e(e,n){var r=this;return(r=t.call(this)||this).subject=e,r.subscriber=n,r.closed=!1,r}return __extends(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},e}(f),A=function(t){function e(e){var n=this;return(n=t.call(this,e)||this).destination=e,n}return __extends(e,t),e}(v),I=((T=function(t){function e(){var e=this;return(e=t.call(this)||this).observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return __extends(e,t),e.prototype[g]=function(){return new A(this)},e.prototype.lift=function(t){var e=new R(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new k;if(!this.isStopped)for(var e=this.observers,n=e.length,r=e.slice(),o=0;o<n;o++)r[o].next(t)},e.prototype.error=function(t){if(this.closed)throw new k;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var e=this.observers,n=e.length,r=e.slice(),o=0;o<n;o++)r[o].error(t);this.observers.length=0},e.prototype.complete=function(){if(this.closed)throw new k;this.isStopped=!0;for(var t=this.observers,e=t.length,n=t.slice(),r=0;r<e;r++)n[r].complete();this.observers.length=0},e.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},e.prototype._trySubscribe=function(e){if(this.closed)throw new k;return t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){if(this.closed)throw new k;return this.hasError?(t.error(this.thrownError),f.EMPTY):this.isStopped?(t.complete(),f.EMPTY):(this.observers.push(t),new P(this,t))},e.prototype.asObservable=function(){var t=new x;return t.source=this,t},e}(x)).create=function(t,e){return new R(t,e)},T),R=function(t){function e(e,n){var r=this;return(r=t.call(this)||this).destination=e,r.source=n,r}return __extends(e,t),e.prototype.next=function(t){var e=this.destination;e&&e.next&&e.next(t)},e.prototype.error=function(t){var e=this.destination;e&&e.error&&this.destination.error(t)},e.prototype.complete=function(){var t=this.destination;t&&t.complete&&this.destination.complete()},e.prototype._subscribe=function(t){return this.source?this.source.subscribe(t):f.EMPTY},e}(I);function O(t){return t&&"function"==typeof t.schedule}var N=function(t){function e(e,n,r){var o=this;return(o=t.call(this)||this).parent=e,o.outerValue=n,o.outerIndex=r,o.index=0,o}return __extends(e,t),e.prototype._next=function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)},e.prototype._error=function(t){this.parent.notifyError(t,this),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},e}(v),M=function(t){return function(e){for(var n=0,r=t.length;n<r&&!e.closed;n++)e.next(t[n]);e.closed||e.complete()}},D=function(t){return function(e){return t.then((function(t){e.closed||(e.next(t),e.complete())}),(function(t){return e.error(t)})).then(null,a),e}};var j="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator",U=function(t){return function(e){for(var n=t[j]();;){var r=n.next();if(r.done){e.complete();break}if(e.next(r.value),e.closed)break}return"function"==typeof n.return&&e.add((function(){n.return&&n.return()})),e}},L=function(t){return function(e){var n=t[m]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(e)}},V=function(t){return t&&"number"==typeof t.length&&"function"!=typeof t};function H(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}var F=function(t){if(t instanceof x)return function(e){return t._isScalar?(e.next(t.value),void e.complete()):t.subscribe(e)};if(t&&"function"==typeof t[m])return L(t);if(V(t))return M(t);if(H(t))return D(t);if(t&&"function"==typeof t[j])return U(t);var e=s(t)?"an invalid object":"'"+t+"'";throw new TypeError("You provided "+e+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")};function z(t,e,n,r,o){if(void 0===o&&(o=new N(t,n,r)),!o.closed)return F(e)(o)}var B=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.notifyNext=function(t,e,n,r,o){this.destination.next(e)},e.prototype.notifyError=function(t,e){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.destination.complete()},e}(v);function Z(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new G(t,e))}}var G=function(){function t(t,e){this.project=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new q(t,this.project,this.thisArg))},t}(),q=function(t){function e(e,n,r){var o=this;return(o=t.call(this,e)||this).project=n,o.count=0,o.thisArg=r||o,o}return __extends(e,t),e.prototype._next=function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)},e}(v);function W(t,e){return new x(e?function(n){var r=new f,o=0;return r.add(e.schedule((function(){o!==t.length?(n.next(t[o++]),n.closed||r.add(this.schedule())):n.complete()}))),r}:M(t))}function Q(t,e){if(!e)return t instanceof x?t:new x(F(t));if(null!=t){if(function(t){return t&&"function"==typeof t[m]}(t))return function(t,e){return new x(e?function(n){var r=new f;return r.add(e.schedule((function(){var o=t[m]();r.add(o.subscribe({next:function(t){r.add(e.schedule((function(){return n.next(t)})))},error:function(t){r.add(e.schedule((function(){return n.error(t)})))},complete:function(){r.add(e.schedule((function(){return n.complete()})))}}))}))),r}:L(t))}(t,e);if(H(t))return function(t,e){return new x(e?function(n){var r=new f;return r.add(e.schedule((function(){return t.then((function(t){r.add(e.schedule((function(){n.next(t),r.add(e.schedule((function(){return n.complete()})))})))}),(function(t){r.add(e.schedule((function(){return n.error(t)})))}))}))),r}:D(t))}(t,e);if(V(t))return W(t,e);if(function(t){return t&&"function"==typeof t[j]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new x(e?function(n){var r,o=new f;return o.add((function(){r&&"function"==typeof r.return&&r.return()})),o.add(e.schedule((function(){r=t[j](),o.add(e.schedule((function(){if(!n.closed){var t,e;try{var o=r.next();t=o.value,e=o.done}catch(i){return void n.error(i)}e?n.complete():(n.next(t),this.schedule())}})))}))),o}:U(t))}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}function K(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof e?function(r){return r.pipe(K((function(n,r){return Q(t(n,r)).pipe(Z((function(t,o){return e(n,t,r,o)})))}),n))}:("number"==typeof e&&(n=e),function(e){return e.lift(new Y(t,n))})}var Y=function(){function t(t,e){void 0===e&&(e=Number.POSITIVE_INFINITY),this.project=t,this.concurrent=e}return t.prototype.call=function(t,e){return e.subscribe(new J(t,this.project,this.concurrent))},t}(),J=function(t){function e(e,n,r){void 0===r&&(r=Number.POSITIVE_INFINITY);var o=this;return(o=t.call(this,e)||this).project=n,o.concurrent=r,o.hasCompleted=!1,o.buffer=[],o.active=0,o.index=0,o}return __extends(e,t),e.prototype._next=function(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var r=new N(this,void 0,void 0);this.destination.add(r),z(this,t,e,n,r)},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()},e.prototype.notifyNext=function(t,e,n,r,o){this.destination.next(e)},e.prototype.notifyComplete=function(t){var e=this.buffer;this.remove(t),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(B);function $(t){return t}function X(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),K($,t)}function tt(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=Number.POSITIVE_INFINITY,r=null,o=t[t.length-1];return O(o)?(r=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof o&&(n=t.pop()),null===r&&1===t.length&&t[0]instanceof x?t[0]:X(n)(W(t,r))}function et(){return function(t){return t.lift(new nt(t))}}var nt=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new rt(t,n),o=e.subscribe(r);return r.closed||(r.connection=n.connect()),o},t}(),rt=function(t){function e(e,n){var r=this;return(r=t.call(this,e)||this).connectable=n,r}return __extends(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},e}(v),ot=function(t){function e(e,n){var r=this;return(r=t.call(this)||this).source=e,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return __extends(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new f).add(this.source.subscribe(new at(this.getSubject(),this))),t.closed?(this._connection=null,t=f.EMPTY):this._connection=t),t},e.prototype.refCount=function(){return et()(this)},e}(x).prototype,it={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:ot._subscribe},_isComplete:{value:ot._isComplete,writable:!0},getSubject:{value:ot.getSubject},connect:{value:ot.connect},refCount:{value:ot.refCount}},at=function(t){function e(e,n){var r=this;return(r=t.call(this,e)||this).connectable=n,r}return __extends(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(A);function ut(t,e){return function(n){var r;if(r="function"==typeof t?t:function(){return t},"function"==typeof e)return n.lift(new lt(r,e));var o=Object.create(n,it);return o.source=n,o.subjectFactory=r,o}}var lt=function(){function t(t,e){this.subjectFactory=t,this.selector=e}return t.prototype.call=function(t,e){var n=this.selector,r=this.subjectFactory(),o=n(r).subscribe(t);return o.add(e.subscribe(r)),o},t}();function st(){return new I}var ct="__parameters__";function ht(t,e,n){var r=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(t){var r=t.apply(void 0,e);for(var o in r)this[o]=r[o]}}}(e);function o(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(this instanceof o)return r.apply(this,t),this;var n=new(o.bind.apply(o,[void 0].concat(t)));return i.annotation=n,i;function i(t,e,r){for(var o=t.hasOwnProperty(ct)?t[ct]:Object.defineProperty(t,ct,{value:[]})[ct];o.length<=r;)o.push(null);return(o[r]=o[r]||[]).push(n),t}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o}var pt=ht("Inject",(function(t){return{token:t}})),ft=ht("Optional"),dt=ht("Self"),gt=ht("SkipSelf"),vt=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({});function yt(t){for(var e in t)if(t[e]===yt)return e;throw Error("Could not find renamed property on target object.")}function mt(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function wt(t){var e=t[bt];return e&&e.token===t?e:null}var bt=yt({ngInjectableDef:yt});function _t(t){if("string"==typeof t)return t;if(t instanceof Array)return"["+t.map(_t).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return""+t.overriddenName;if(t.name)return""+t.name;var e=t.toString();if(null==e)return""+e;var n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}var Ct=yt({__forward_ref__:yt});function xt(t){return t.__forward_ref__=xt,t.toString=function(){return _t(this())},t}function St(t){var e=t;return"function"==typeof e&&e.hasOwnProperty(Ct)&&e.__forward_ref__===xt?e():t}var Et,Tt="undefined"!=typeof globalThis&&globalThis,kt="undefined"!=typeof window&&window,Pt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,At="undefined"!=typeof global&&global,It=Tt||At||kt||Pt,Rt=function(){function t(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.ngInjectableDef=mt({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}return t.prototype.toString=function(){return"InjectionToken "+this._desc},t}(),Ot=new Rt("INJECTOR",-1),Nt=new Object,Mt=/\n/gm,Dt="\u0275",jt="__source",Ut=yt({provide:String,useValue:yt}),Lt=void 0;function Vt(t){var e=Lt;return Lt=t,e}function Ht(t,e){if(void 0===e&&(e=vt.Default),void 0===Lt)throw new Error("inject() must be called from an injection context");return null===Lt?function(t,e,n){var r=wt(t);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&vt.Optional)return null;throw new Error("Injector: NOT_FOUND ["+_t(t)+"]")}(t,0,e):Lt.get(t,e&vt.Optional?null:void 0,e)}function Ft(t,e){return void 0===e&&(e=vt.Default),(Et||Ht)(t,e)}var zt=function(){function t(){}return t.prototype.get=function(t,e){if(void 0===e&&(e=Nt),e===Nt){var n=new Error("NullInjectorError: No provider for "+_t(t)+"!");throw n.name="NullInjectorError",n}return e},t}();function Bt(t,e,n,r){void 0===r&&(r=null),t=t&&"\n"===t.charAt(0)&&t.charAt(1)==Dt?t.substr(2):t;var o=_t(e);if(e instanceof Array)o=e.map(_t).join(" -> ");else if("object"==typeof e){var i=[];for(var a in e)if(e.hasOwnProperty(a)){var u=e[a];i.push(a+":"+("string"==typeof u?JSON.stringify(u):_t(u)))}o="{"+i.join(", ")+"}"}return n+(r?"("+r+")":"")+"["+o+"]: "+t.replace(Mt,"\n ")}var Zt=function(){},Gt=function(){};function qt(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Wt(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}var Qt=function(){var t={Emulated:0,Native:1,None:2,ShadowDom:3};return t[t.Emulated]="Emulated",t[t.Native]="Native",t[t.None]="None",t[t.ShadowDom]="ShadowDom",t}(),Kt=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(It),Yt="ngDebugContext",Jt="ngOriginalError",$t="ngErrorLogger";function Xt(t){return t[Yt]}function te(t){return t[Jt]}function ee(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];t.error.apply(t,e)}var ne=function(){function t(){this._console=console}return t.prototype.handleError=function(t){var e=this._findOriginalError(t),n=this._findContext(t),r=function(t){return t[$t]||ee}(t);r(this._console,"ERROR",t),e&&r(this._console,"ORIGINAL ERROR",e),n&&r(this._console,"ERROR CONTEXT",n)},t.prototype._findContext=function(t){return t?Xt(t)?Xt(t):this._findContext(te(t)):null},t.prototype._findOriginalError=function(t){for(var e=te(t);e&&te(e);)e=te(e);return e},t}(),re=!0,oe=!1;function ie(){return oe=!0,re}var ae=function(){function t(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertBodyElement=this.inertDocument.body,null==this.inertBodyElement){var 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(t){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return t.prototype.getInertBodyElement_XHR=function(t){t="<body><remove></remove>"+t+"</body>";try{t=encodeURI(t)}catch(r){return null}var e=new XMLHttpRequest;e.responseType="document",e.open("GET","data:text/html;charset=utf-8,"+t,!1),e.send(void 0);var n=e.response.body;return n.removeChild(n.firstChild),n},t.prototype.getInertBodyElement_DOMParser=function(t){t="<body><remove></remove>"+t+"</body>";try{var e=(new window.DOMParser).parseFromString(t,"text/html").body;return e.removeChild(e.firstChild),e}catch(n){return null}},t.prototype.getInertBodyElement_InertDocument=function(t){var e=this.inertDocument.createElement("template");return"content"in e?(e.innerHTML=t,e):(this.inertBodyElement.innerHTML=t,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},t.prototype.stripCustomNsAttrs=function(t){for(var e=t.attributes,n=e.length-1;0<n;n--){var r=e.item(n).name;"xmlns:ns1"!==r&&0!==r.indexOf("ns1:")||t.removeAttribute(r)}for(var o=t.firstChild;o;)o.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(o),o=o.nextSibling},t}(),ue=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,le=/^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 se(t){return(t=String(t)).match(ue)||t.match(le)?t:(ie()&&console.warn("WARNING: sanitizing unsafe URL value "+t+" (see http://g.co/ng/security#xss)"),"unsafe:"+t)}function ce(t){for(var e={},n=0,r=t.split(",");n<r.length;n++){e[r[n]]=!0}return e}function he(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n={},r=0,o=t;r<o.length;r++){var i=o[r];for(var a in i)i.hasOwnProperty(a)&&(n[a]=!0)}return n}var pe,fe=ce("area,br,col,hr,img,wbr"),de=ce("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ge=ce("rp,rt"),ve=he(ge,de),ye=he(fe,he(de,ce("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")),he(ge,ce("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")),ve),me=ce("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),we=ce("srcset"),be=he(me,we,ce("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"),ce("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")),_e=ce("script,style,template"),Ce=function(){function t(){this.sanitizedSomething=!1,this.buf=[]}return t.prototype.sanitizeChildren=function(t){for(var e=t.firstChild,n=!0;e;)if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);var r=this.checkClobberedElement(e,e.nextSibling);if(r){e=r;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")},t.prototype.startElement=function(t){var e=t.nodeName.toLowerCase();if(!ye.hasOwnProperty(e))return this.sanitizedSomething=!0,!_e.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);for(var n,r=t.attributes,o=0;o<r.length;o++){var i=r.item(o),a=i.name,u=a.toLowerCase();if(be.hasOwnProperty(u)){var l=i.value;me[u]&&(l=se(l)),we[u]&&(n=l,l=(n=String(n)).split(",").map((function(t){return se(t.trim())})).join(", ")),this.buf.push(" ",a,'="',Ee(l),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0},t.prototype.endElement=function(t){var e=t.nodeName.toLowerCase();ye.hasOwnProperty(e)&&!fe.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))},t.prototype.chars=function(t){this.buf.push(Ee(t))},t.prototype.checkClobberedElement=function(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+t.outerHTML);return e},t}(),xe=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Se=/([^\#-~ |!])/g;function Ee(t){return t.replace(/&/g,"&").replace(xe,(function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"})).replace(Se,(function(t){return"&#"+t.charCodeAt(0)+";"})).replace(/</g,"<").replace(/>/g,">")}function Te(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var ke=function(){var t={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};return t[t.NONE]="NONE",t[t.HTML]="HTML",t[t.STYLE]="STYLE",t[t.SCRIPT]="SCRIPT",t[t.URL]="URL",t[t.RESOURCE_URL]="RESOURCE_URL",t}(),Pe=function(){},Ae=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),Ie=/^url\(([^)]+)\)$/,Re=/([A-Z])/g;function Oe(t){try{return null!=t?t.toString().slice(0,30):t}catch(e){return"[ERROR] Exception while trying to serialize the value"}}var Ne=function(){var t=function(){};return t.__NG_ELEMENT_ID__=function(){return Me()},t}(),Me=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]},De=new Rt("The presence of this token marks an injector as being the root injector."),je=function(t,e,n){return new ze(t,e,n)},Ue=function(){var t=function(){function t(){}return t.create=function(t,e){return Array.isArray(t)?je(t,e,""):je(t.providers,t.parent,t.name||"")},t}();return t.THROW_IF_NOT_FOUND=Nt,t.NULL=new zt,t.ngInjectableDef=mt({token:t,providedIn:"any",factory:function(){return Ft(Ot)}}),t.__NG_ELEMENT_ID__=-1,t}(),Le=function(t){return t},Ve=[],He=Le,Fe=function(){return Array.prototype.slice.call(arguments)},ze=function(){function t(t,e,n){void 0===e&&(e=Ue.NULL),void 0===n&&(n=null),this.parent=e,this.source=n;var r=this._records=new Map;r.set(Ue,{token:Ue,fn:Le,deps:Ve,value:this,useNew:!1}),r.set(Ot,{token:Ot,fn:Le,deps:Ve,value:this,useNew:!1}),function t(e,n){if(n)if((n=St(n))instanceof Array)for(var r=0;r<n.length;r++)t(e,n[r]);else{if("function"==typeof n)throw Ze("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw Ze("Unexpected provider",n);var o=St(n.provide),i=function(t){var e=function(t){var e=Ve,n=t.deps;if(n&&n.length){e=[];for(var r=0;r<n.length;r++){var o=6,i=St(n[r]);if(i instanceof Array)for(var a=0,u=i;a<u.length;a++){var l=u[a];l instanceof ft||l==ft?o|=1:l instanceof gt||l==gt?o&=-3:l instanceof dt||l==dt?o&=-5:i=l instanceof pt?l.token:St(l)}e.push({token:i,options:o})}}else if(t.useExisting)e=[{token:St(t.useExisting),options:6}];else if(!(n||Ut in t))throw Ze("'deps' required",t);return e}(t),n=Le,r=Ve,o=!1,i=St(t.provide);if(Ut in t)r=t.useValue;else if(t.useFactory)n=t.useFactory;else if(t.useExisting);else if(t.useClass)o=!0,n=St(t.useClass);else{if("function"!=typeof i)throw Ze("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",t);o=!0,n=i}return{deps:e,fn:n,useNew:o,value:r}}(n);if(!0===n.multi){var a=e.get(o);if(a){if(a.fn!==Fe)throw Be(o)}else e.set(o,a={token:n.provide,deps:[],useNew:!1,fn:Fe,value:Ve});a.deps.push({token:o=n,options:6})}var u=e.get(o);if(u&&u.fn==Fe)throw Be(o);e.set(o,i)}}(r,t)}return t.prototype.get=function(t,e,n){void 0===n&&(n=vt.Default);var r=this._records.get(t);try{return function t(e,n,r,o,i,a){try{return function(e,n,r,o,i,a){var u;if(!n||a&vt.SkipSelf)a&vt.Self||(u=o.get(e,i,vt.Default));else{if((u=n.value)==He)throw Error("\u0275Circular dependency");if(u===Ve){n.value=He;var l=n.useNew,s=n.fn,c=n.deps,h=Ve;if(c.length){h=[];for(var p=0;p<c.length;p++){var f=c[p],d=f.options,g=2&d?r.get(f.token):void 0;h.push(t(f.token,g,r,g||4&d?o:Ue.NULL,1&d?null:Ue.THROW_IF_NOT_FOUND,vt.Default))}}n.value=u=l?new(s.bind.apply(s,[void 0].concat(h))):s.apply(void 0,h)}}return u}(e,n,r,o,i,a)}catch(u){throw u instanceof Error||(u=new Error(u)),(u.ngTempTokenPath=u.ngTempTokenPath||[]).unshift(e),n&&n.value==He&&(n.value=Ve),u}}(t,r,this._records,this.parent,e,n)}catch(o){return function(t,e,n,r){var o=t.ngTempTokenPath;throw e[jt]&&o.unshift(e[jt]),t.message=Bt("\n"+t.message,o,"StaticInjectorError",r),t.ngTokenPath=o,t.ngTempTokenPath=null,t}(o,t,0,this.source)}},t.prototype.toString=function(){var t=[];return this._records.forEach((function(e,n){return t.push(_t(n))})),"StaticInjector["+t.join(", ")+"]"},t}();function Be(t){return Ze("Cannot mix multi providers and regular providers",t)}function Ze(t,e){return new Error(Bt(t,e,"StaticInjectorError"))}var Ge=new Rt("AnalyzeForEntryComponents"),qe=null;function We(){if(!qe){var t=It.Symbol;if(t&&t.iterator)qe=t.iterator;else for(var e=Object.getOwnPropertyNames(Map.prototype),n=0;n<e.length;++n){var r=e[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(qe=r)}}return qe}function Qe(t,e){return t===e||"number"==typeof t&&"number"==typeof e&&isNaN(t)&&isNaN(e)}function Ke(t,e){var n=Je(t),r=Je(e);return n&&r?function(t,e,n){for(var r=t[We()](),o=e[We()]();;){var i=r.next(),a=o.next();if(i.done&&a.done)return!0;if(i.done||a.done)return!1;if(!n(i.value,a.value))return!1}}(t,e,Ke):!(n||!(t&&("object"==typeof t||"function"==typeof t))||r||!(e&&("object"==typeof e||"function"==typeof e)))||Qe(t,e)}var Ye=function(){function t(t){this.wrapped=t}return t.wrap=function(e){return new t(e)},t.unwrap=function(e){return t.isWrapped(e)?e.wrapped:e},t.isWrapped=function(e){return e instanceof t},t}();function Je(t){return!!$e(t)&&(Array.isArray(t)||!(t instanceof Map)&&We()in t)}function $e(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function Xe(t){return!!t&&"function"==typeof t.then}function tn(t){return!!t&&"function"==typeof t.subscribe}var en=function(){function t(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}return t.prototype.isFirstChange=function(){return this.firstChange},t}(),nn=function(){},rn=function(){};function on(t){var e=Error("No component factory found for "+_t(t)+". Did you add it to @NgModule.entryComponents?");return e[an]=t,e}var an="ngComponent",un=function(){function t(){}return t.prototype.resolveComponentFactory=function(t){throw on(t)},t}(),ln=function(){var t=function(){};return t.NULL=new un,t}(),sn=function(){function t(t,e,n){this._parent=e,this._ngModule=n,this._factories=new Map;for(var r=0;r<t.length;r++){var o=t[r];this._factories.set(o.componentType,o)}}return t.prototype.resolveComponentFactory=function(t){var e=this._factories.get(t);if(!e&&this._parent&&(e=this._parent.resolveComponentFactory(t)),!e)throw on(t);return new cn(e,this._ngModule)},t}(),cn=function(t){function e(e,n){var r=this;return(r=t.call(this)||this).factory=e,r.ngModule=n,r.selector=e.selector,r.componentType=e.componentType,r.ngContentSelectors=e.ngContentSelectors,r.inputs=e.inputs,r.outputs=e.outputs,r}return __extends(e,t),e.prototype.create=function(t,e,n,r){return this.factory.create(t,e,n,r||this.ngModule)},e}(rn);function hn(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]}var pn=function(){var t=function(t){this.nativeElement=t};return t.__NG_ELEMENT_ID__=function(){return fn(t)},t}(),fn=hn,dn=function(){},gn=function(){},vn=function(){var t={Important:1,DashCase:2};return t[t.Important]="Important",t[t.DashCase]="DashCase",t}(),yn=function(){var t=function(){};return t.__NG_ELEMENT_ID__=function(){return mn()},t}(),mn=hn,wn=new function(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}("8.2.13"),bn=function(){function t(){}return t.prototype.supports=function(t){return Je(t)},t.prototype.create=function(t){return new Cn(t)},t}(),_n=function(t,e){return e},Cn=function(){function t(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||_n}return t.prototype.forEachItem=function(t){var e;for(e=this._itHead;null!==e;e=e._next)t(e)},t.prototype.forEachOperation=function(t){for(var e=this._itHead,n=this._removalsHead,r=0,o=null;e||n;){var i=!n||e&&e.currentIndex<Tn(n,r,o)?e:n,a=Tn(i,r,o),u=i.currentIndex;if(i===n)r--,n=n._nextRemoved;else if(e=e._next,null==i.previousIndex)r++;else{o||(o=[]);var l=a-r,s=u-r;if(l!=s){for(var c=0;c<l;c++){var h=c<o.length?o[c]:o[c]=0,p=h+c;s<=p&&p<l&&(o[c]=h+1)}o[i.previousIndex]=s-l}}a!==u&&t(i,a,u)}},t.prototype.forEachPreviousItem=function(t){var e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)},t.prototype.forEachAddedItem=function(t){var e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)},t.prototype.forEachMovedItem=function(t){var e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)},t.prototype.forEachRemovedItem=function(t){var e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)},t.prototype.forEachIdentityChange=function(t){var e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)},t.prototype.diff=function(t){if(null==t&&(t=[]),!Je(t))throw new Error("Error trying to diff '"+_t(t)+"'. Only arrays and iterables are allowed");return this.check(t)?this:null},t.prototype.onDestroy=function(){},t.prototype.check=function(t){var e=this;this._reset();var n,r,o,i=this._itHead,a=!1;if(Array.isArray(t)){this.length=t.length;for(var u=0;u<this.length;u++)o=this._trackByFn(u,r=t[u]),null!==i&&Qe(i.trackById,o)?(a&&(i=this._verifyReinsertion(i,r,o,u)),Qe(i.item,r)||this._addIdentityChange(i,r)):(i=this._mismatch(i,r,o,u),a=!0),i=i._next}else n=0,function(t,e){if(Array.isArray(t))for(var n=0;n<t.length;n++)e(t[n]);else for(var r,o=t[We()]();!(r=o.next()).done;)e(r.value)}(t,(function(t){o=e._trackByFn(n,t),null!==i&&Qe(i.trackById,o)?(a&&(i=e._verifyReinsertion(i,t,o,n)),Qe(i.item,t)||e._addIdentityChange(i,t)):(i=e._mismatch(i,t,o,n),a=!0),i=i._next,n++})),this.length=n;return this._truncate(i),this.collection=t,this.isDirty},Object.defineProperty(t.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead},enumerable:!0,configurable:!0}),t.prototype._reset=function(){if(this.isDirty){var t=void 0,e=void 0;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=e)t.previousIndex=t.currentIndex,e=t._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}},t.prototype._mismatch=function(t,e,n,r){var o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Qe(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,o,r)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Qe(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,o,r)):t=this._addAfter(new xn(e,n),o,r),t},t.prototype._verifyReinsertion=function(t,e,n,r){var o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==o?t=this._reinsertAfter(o,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t},t.prototype._truncate=function(t){for(;null!==t;){var e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)},t.prototype._reinsertAfter=function(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);var r=t._prevRemoved,o=t._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(t,e,n),this._addToMoves(t,n),t},t.prototype._moveAfter=function(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t},t.prototype._addAfter=function(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t},t.prototype._insertAfter=function(t,e,n){var r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new En),this._linkedRecords.put(t),t.currentIndex=n,t},t.prototype._remove=function(t){return this._addToRemovals(this._unlink(t))},t.prototype._unlink=function(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);var e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t},t.prototype._addToMoves=function(t,e){return t.previousIndex===e?t:(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t,t)},t.prototype._addToRemovals=function(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new En),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t},t.prototype._addIdentityChange=function(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t},t}(),xn=function(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null},Sn=function(){function t(){this._head=null,this._tail=null}return t.prototype.add=function(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)},t.prototype.get=function(t,e){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&Qe(n.trackById,t))return n;return null},t.prototype.remove=function(t){var e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head},t}(),En=function(){function t(){this.map=new Map}return t.prototype.put=function(t){var e=t.trackById,n=this.map.get(e);n||(n=new Sn,this.map.set(e,n)),n.add(t)},t.prototype.get=function(t,e){var n=this.map.get(t);return n?n.get(t,e):null},t.prototype.remove=function(t){var e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t},Object.defineProperty(t.prototype,"isEmpty",{get:function(){return 0===this.map.size},enumerable:!0,configurable:!0}),t.prototype.clear=function(){this.map.clear()},t}();function Tn(t,e,n){var r=t.previousIndex;if(null===r)return r;var o=0;return n&&r<n.length&&(o=n[r]),r+e+o}var kn=function(){function t(){}return t.prototype.supports=function(t){return t instanceof Map||$e(t)},t.prototype.create=function(){return new Pn},t}(),Pn=function(){function t(){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}return Object.defineProperty(t.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead},enumerable:!0,configurable:!0}),t.prototype.forEachItem=function(t){var e;for(e=this._mapHead;null!==e;e=e._next)t(e)},t.prototype.forEachPreviousItem=function(t){var e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)},t.prototype.forEachChangedItem=function(t){var e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)},t.prototype.forEachAddedItem=function(t){var e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)},t.prototype.forEachRemovedItem=function(t){var e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)},t.prototype.diff=function(t){if(t){if(!(t instanceof Map||$e(t)))throw new Error("Error trying to diff '"+_t(t)+"'. Only maps and objects are allowed")}else t=new Map;return this.check(t)?this:null},t.prototype.onDestroy=function(){},t.prototype.check=function(t){var e=this;this._reset();var n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(function(t,r){if(n&&n.key===r)e._maybeAddToChanges(n,t),e._appendAfter=n,n=n._next;else{var o=e._getOrCreateRecordForKey(r,t);n=e._insertBeforeOrAppend(n,o)}})),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(var r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty},t.prototype._insertBeforeOrAppend=function(t,e){if(t){var n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null},t.prototype._getOrCreateRecordForKey=function(t,e){if(this._records.has(t)){var n=this._records.get(t);this._maybeAddToChanges(n,e);var r=n._prev,o=n._next;return r&&(r._next=o),o&&(o._prev=r),n._next=null,n._prev=null,n}var i=new An(t);return this._records.set(t,i),i.currentValue=e,this._addToAdditions(i),i},t.prototype._reset=function(){if(this.isDirty){var t=void 0;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}},t.prototype._maybeAddToChanges=function(t,e){Qe(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))},t.prototype._addToAdditions=function(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)},t.prototype._addToChanges=function(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)},t.prototype._forEach=function(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach((function(n){return e(t[n],n)}))},t}(),An=function(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null},In=function(){var t=function(){function t(t){this.factories=t}return t.create=function(e,n){if(null!=n){var r=n.factories.slice();e=e.concat(r)}return new t(e)},t.extend=function(e){return{provide:t,useFactory:function(n){if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return t.create(e,n)},deps:[[t,new gt,new ft]]}},t.prototype.find=function(t){var e,n=this.factories.find((function(e){return e.supports(t)}));if(null!=n)return n;throw new Error("Cannot find a differ supporting object '"+t+"' of type '"+((e=t).name||typeof e)+"'")},t}();return t.ngInjectableDef=mt({token:t,providedIn:"root",factory:function(){return new t([new bn])}}),t}(),Rn=function(){var t=function(){function t(t){this.factories=t}return t.create=function(e,n){if(n){var r=n.factories.slice();e=e.concat(r)}return new t(e)},t.extend=function(e){return{provide:t,useFactory:function(n){if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return t.create(e,n)},deps:[[t,new gt,new ft]]}},t.prototype.find=function(t){var e=this.factories.find((function(e){return e.supports(t)}));if(e)return e;throw new Error("Cannot find a differ supporting object '"+t+"'")},t}();return t.ngInjectableDef=mt({token:t,providedIn:"root",factory:function(){return new t([new kn])}}),t}(),On=[new kn],Nn=new In([new bn]),Mn=new Rn(On),Dn=function(){var t=function(){};return t.__NG_ELEMENT_ID__=function(){return jn(t,pn)},t}(),jn=hn,Un=function(){var t=function(){};return t.__NG_ELEMENT_ID__=function(){return Ln(t,pn)},t}(),Ln=hn;function Vn(t,e,n,r){var o="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+e+"'. Current value: '"+n+"'.";return r&&(o+=" 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(t,e){var n=new Error(t);return Hn(n,e),n}(o,t)}function Hn(t,e){t[Yt]=e,t[$t]=e.logError.bind(e)}function Fn(t){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+t)}function zn(t,e,n){var r=t.state,o=1792&r;return o===e?(t.state=-1793&r|n,t.initIndex=-1,!0):o===n}function Bn(t,e,n){return(1792&t.state)===e&&t.initIndex<=n&&(t.initIndex=n+1,!0)}function Zn(t,e){return t.nodes[e]}function Gn(t,e){return t.nodes[e]}function qn(t,e){return t.nodes[e]}function Wn(t,e){return t.nodes[e]}function Qn(t,e){return t.nodes[e]}var Kn={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},Yn=function(){},Jn=new Map;function $n(t){var e=Jn.get(t);return e||(e=_t(t)+"_"+Jn.size,Jn.set(t,e)),e}var Xn="$$undefined",tr="$$empty";function er(t){return{id:Xn,styles:t.styles,encapsulation:t.encapsulation,data:t.data}}var nr=0;function rr(t,e,n,r){return!(!(2&t.state)&&Qe(t.oldValues[e.bindingIndex+n],r))}function or(t,e,n,r){return!!rr(t,e,n,r)&&(t.oldValues[e.bindingIndex+n]=r,!0)}function ir(t,e,n,r){var o=t.oldValues[e.bindingIndex+n];if(1&t.state||!Ke(o,r)){var i=e.bindings[n].name;throw Vn(Kn.createDebugContext(t,e.nodeIndex),i+": "+o,i+": "+r,0!=(1&t.state))}}function ar(t){for(var e=t;e;)2&e.def.flags&&(e.state|=8),e=e.viewContainerParent||e.parent}function ur(t,e){for(var n=t;n&&n!==e;)n.state|=64,n=n.viewContainerParent||n.parent}function lr(t,e,n,r){try{return ar(33554432&t.def.nodes[e].flags?Gn(t,e).componentView:t),Kn.handleEvent(t,e,n,r)}catch(o){t.root.errorHandler.handleError(o)}}function sr(t){return t.parent?Gn(t.parent,t.parentNodeDef.nodeIndex):null}function cr(t){return t.parent?t.parentNodeDef.parent:null}function hr(t,e){switch(201347067&e.flags){case 1:return Gn(t,e.nodeIndex).renderElement;case 2:return Zn(t,e.nodeIndex).renderText}}function pr(t){return!!t.parent&&!!(32768&t.parentNodeDef.flags)}function fr(t){return!(!t.parent||32768&t.parentNodeDef.flags)}function dr(t){var e={},n=0,r={};return t&&t.forEach((function(t){var o=t[0],i=t[1];"number"==typeof o?(e[o]=i,n|=function(t){return 1<<t%32}(o)):r[o]=i})),{matchedQueries:e,references:r,matchedQueryIds:n}}function gr(t,e){return t.map((function(t){var n,r;return Array.isArray(t)?(r=t[0],n=t[1]):(r=0,n=t),n&&("function"==typeof n||"object"==typeof n)&&e&&Object.defineProperty(n,jt,{value:e,configurable:!0}),{flags:r,token:n,tokenKey:$n(n)}}))}function vr(t,e,n){var r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&r.element.componentRendererType.encapsulation===Qt.Native?Gn(t,n.renderParent.nodeIndex).renderElement:void 0:e}var yr=new WeakMap;function mr(t){var e=yr.get(t);return e||((e=t((function(){return Yn}))).factory=t,yr.set(t,e)),e}function wr(t,e,n,r,o){3===e&&(n=t.renderer.parentNode(hr(t,t.def.lastRenderRootNode))),br(t,e,0,t.def.nodes.length-1,n,r,o)}function br(t,e,n,r,o,i,a){for(var u=n;u<=r;u++){var l=t.def.nodes[u];11&l.flags&&Cr(t,l,e,o,i,a),u+=l.childCount}}function _r(t,e,n,r,o,i){for(var a=t;a&&!pr(a);)a=a.parent;for(var u=a.parent,l=cr(a),s=l.nodeIndex+l.childCount,c=l.nodeIndex+1;c<=s;c++){var h=u.def.nodes[c];h.ngContentIndex===e&&Cr(u,h,n,r,o,i),c+=h.childCount}if(!u.parent){var p=t.root.projectableNodes[e];if(p)for(c=0;c<p.length;c++)xr(t,p[c],n,r,o,i)}}function Cr(t,e,n,r,o,i){if(8&e.flags)_r(t,e.ngContent.index,n,r,o,i);else{var a=hr(t,e);if(3===n&&33554432&e.flags&&48&e.bindingFlags?(16&e.bindingFlags&&xr(t,a,n,r,o,i),32&e.bindingFlags&&xr(Gn(t,e.nodeIndex).componentView,a,n,r,o,i)):xr(t,a,n,r,o,i),16777216&e.flags)for(var u=Gn(t,e.nodeIndex).viewContainer._embeddedViews,l=0;l<u.length;l++)wr(u[l],n,r,o,i);1&e.flags&&!e.element.name&&br(t,n,e.nodeIndex+1,e.nodeIndex+e.childCount,r,o,i)}}function xr(t,e,n,r,o,i){var a=t.renderer;switch(n){case 1:a.appendChild(r,e);break;case 2:a.insertBefore(r,e,o);break;case 3:a.removeChild(r,e);break;case 0:i.push(e)}}var Sr=/^:([^:]+):(.+)$/;function Er(t){if(":"===t[0]){var e=t.match(Sr);return[e[1],e[2]]}return["",t]}function Tr(t){for(var e=0,n=0;n<t.length;n++)e|=t[n].flags;return e}var kr=new Object,Pr=$n(Ue),Ar=$n(Ot),Ir=$n(Zt);function Rr(t,e,n,r){return n=St(n),{index:-1,deps:gr(r,_t(e)),flags:t,token:e,value:n}}function Or(t,e,n){void 0===n&&(n=Ue.THROW_IF_NOT_FOUND);var r,o,i=Vt(t);try{if(8&e.flags)return e.token;if(2&e.flags&&(n=null),1&e.flags)return t._parent.get(e.token,n);var a=e.tokenKey;switch(a){case Pr:case Ar:case Ir:return t}var u,l=t._def.providersByKey[a];if(l){var s=t._providers[l.index];return void 0===s&&(s=t._providers[l.index]=Nr(t,l)),s===kr?void 0:s}if((u=wt(e.token))&&(r=t,null!=(o=u).providedIn&&(function(t,e){return t._def.modules.indexOf(e)>-1}(r,o.providedIn)||"root"===o.providedIn&&r._def.isRoot))){var c=t._providers.length;return t._def.providers[c]=t._def.providersByKey[e.tokenKey]={flags:5120,value:u.factory,deps:[],index:c,token:e.token},t._providers[c]=kr,t._providers[c]=Nr(t,t._def.providersByKey[e.tokenKey])}return 4&e.flags?n:t._parent.get(e.token,n)}finally{Vt(i)}}function Nr(t,e){var n;switch(201347067&e.flags){case 512:n=function(t,e,n){var r=n.length;switch(r){case 0:return new e;case 1:return new e(Or(t,n[0]));case 2:return new e(Or(t,n[0]),Or(t,n[1]));case 3:return new e(Or(t,n[0]),Or(t,n[1]),Or(t,n[2]));default:for(var o=new Array(r),i=0;i<r;i++)o[i]=Or(t,n[i]);return new(e.bind.apply(e,[void 0].concat(o)))}}(t,e.value,e.deps);break;case 1024:n=function(t,e,n){var r=n.length;switch(r){case 0:return e();case 1:return e(Or(t,n[0]));case 2:return e(Or(t,n[0]),Or(t,n[1]));case 3:return e(Or(t,n[0]),Or(t,n[1]),Or(t,n[2]));default:for(var o=Array(r),i=0;i<r;i++)o[i]=Or(t,n[i]);return e.apply(void 0,o)}}(t,e.value,e.deps);break;case 2048:n=Or(t,e.deps[0]);break;case 256:n=e.value}return n===kr||null===n||"object"!=typeof n||131072&e.flags||"function"!=typeof n.ngOnDestroy||(e.flags|=131072),void 0===n?kr:n}function Mr(t,e){var n=t.viewContainer._embeddedViews;if((null==e||e>=n.length)&&(e=n.length-1),e<0)return null;var r=n[e];return r.viewContainerParent=null,Wt(n,e),Kn.dirtyParentQueries(r),jr(r),r}function Dr(t,e,n){var r=e?hr(e,e.def.lastRenderRootNode):t.renderElement,o=n.renderer.parentNode(r),i=n.renderer.nextSibling(r);wr(n,2,o,i,void 0)}function jr(t){wr(t,3,null,null,void 0)}var Ur=new Object;function Lr(t,e,n,r,o,i){return new Vr(t,e,n,r,o,i)}var Vr=function(t){function e(e,n,r,o,i,a){var u=this;return(u=t.call(this)||this).selector=e,u.componentType=n,u._inputs=o,u._outputs=i,u.ngContentSelectors=a,u.viewDefFactory=r,u}return __extends(e,t),Object.defineProperty(e.prototype,"inputs",{get:function(){var t=[],e=this._inputs;for(var n in e)t.push({propName:n,templateName:e[n]});return t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputs",{get:function(){var t=[];for(var e in this._outputs)t.push({propName:e,templateName:this._outputs[e]});return t},enumerable:!0,configurable:!0}),e.prototype.create=function(t,e,n,r){if(!r)throw new Error("ngModule should be provided");var o=mr(this.viewDefFactory),i=o.nodes[0].element.componentProvider.nodeIndex,a=Kn.createRootView(t,e||[],n,o,r,Ur),u=qn(a,i).instance;return n&&a.renderer.setAttribute(Gn(a,0).renderElement,"ng-version",wn.full),new Hr(a,new Zr(a),u)},e}(rn),Hr=function(t){function e(e,n,r){var o=this;return(o=t.call(this)||this)._view=e,o._viewRef=n,o._component=r,o._elDef=o._view.def.nodes[0],o.hostView=n,o.changeDetectorRef=n,o.instance=r,o}return __extends(e,t),Object.defineProperty(e.prototype,"location",{get:function(){return new pn(Gn(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new Qr(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this._viewRef.destroy()},e.prototype.onDestroy=function(t){this._viewRef.onDestroy(t)},e}(nn);function Fr(t,e,n){return new zr(t,e,n)}var zr=function(){function t(t,e,n){this._view=t,this._elDef=e,this._data=n,this._embeddedViews=[]}return Object.defineProperty(t.prototype,"element",{get:function(){return new pn(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new Qr(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentInjector",{get:function(){for(var t=this._view,e=this._elDef.parent;!e&&t;)e=cr(t),t=t.parent;return t?new Qr(t,e):new Qr(this._view,null)},enumerable:!0,configurable:!0}),t.prototype.clear=function(){for(var t=this._embeddedViews.length-1;t>=0;t--){var e=Mr(this._data,t);Kn.destroyView(e)}},t.prototype.get=function(t){var e=this._embeddedViews[t];if(e){var n=new Zr(e);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(t.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),t.prototype.createEmbeddedView=function(t,e,n){var r=t.createEmbeddedView(e||{});return this.insert(r,n),r},t.prototype.createComponent=function(t,e,n,r,o){var i=n||this.parentInjector;o||t instanceof cn||(o=i.get(Zt));var a=t.create(i,r,void 0,o);return this.insert(a.hostView,e),a},t.prototype.insert=function(t,e){if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n,r,o,i,a,u=t;return n=this._view,r=this._data,o=e,i=u._view,a=r.viewContainer._embeddedViews,null==o&&(o=a.length),i.viewContainerParent=n,qt(a,o,i),function(t,e){var n=sr(e);if(n&&n!==t&&!(16&e.state)){e.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(e),function(t,e){if(!(4&e.flags)){t.nodeFlags|=4,e.flags|=4;for(var n=e.parent;n;)n.childFlags|=4,n=n.parent}}(e.parent.def,e.parentNodeDef)}}(r,i),Kn.dirtyParentQueries(i),Dr(r,o>0?a[o-1]:null,i),u.attachToViewContainerRef(this),t},t.prototype.move=function(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n,r,o,i,a,u=this._embeddedViews.indexOf(t._view);return n=this._data,r=u,o=e,i=n.viewContainer._embeddedViews,a=i[r],Wt(i,r),null==o&&(o=i.length),qt(i,o,a),Kn.dirtyParentQueries(a),jr(a),Dr(n,o>0?i[o-1]:null,a),t},t.prototype.indexOf=function(t){return this._embeddedViews.indexOf(t._view)},t.prototype.remove=function(t){var e=Mr(this._data,t);e&&Kn.destroyView(e)},t.prototype.detach=function(t){var e=Mr(this._data,t);return e?new Zr(e):null},t}();function Br(t){return new Zr(t)}var Zr=function(){function t(t){this._view=t,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(t.prototype,"rootNodes",{get:function(){return wr(this._view,0,void 0,void 0,t=[]),t;var t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),t.prototype.markForCheck=function(){ar(this._view)},t.prototype.detach=function(){this._view.state&=-5},t.prototype.detectChanges=function(){var t=this._view.root.rendererFactory;t.begin&&t.begin();try{Kn.checkAndUpdateView(this._view)}finally{t.end&&t.end()}},t.prototype.checkNoChanges=function(){Kn.checkNoChangesView(this._view)},t.prototype.reattach=function(){this._view.state|=4},t.prototype.onDestroy=function(t){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(t)},t.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Kn.destroyView(this._view)},t.prototype.detachFromAppRef=function(){this._appRef=null,jr(this._view),Kn.dirtyParentQueries(this._view)},t.prototype.attachToAppRef=function(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t},t.prototype.attachToViewContainerRef=function(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t},t}();function Gr(t,e){return new qr(t,e)}var qr=function(t){function e(e,n){var r=this;return(r=t.call(this)||this)._parentView=e,r._def=n,r}return __extends(e,t),e.prototype.createEmbeddedView=function(t){return new Zr(Kn.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))},Object.defineProperty(e.prototype,"elementRef",{get:function(){return new pn(Gn(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),e}(Dn);function Wr(t,e){return new Qr(t,e)}var Qr=function(){function t(t,e){this.view=t,this.elDef=e}return t.prototype.get=function(t,e){return void 0===e&&(e=Ue.THROW_IF_NOT_FOUND),Kn.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:t,tokenKey:$n(t)},e)},t}();function Kr(t,e){var n=t.def.nodes[e];if(1&n.flags){var r=Gn(t,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return Zn(t,n.nodeIndex).renderText;if(20240&n.flags)return qn(t,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+e)}function Yr(t){return new Jr(t.renderer)}var Jr=function(){function t(t){this.delegate=t}return t.prototype.selectRootElement=function(t){return this.delegate.selectRootElement(t)},t.prototype.createElement=function(t,e){var n=Er(e),r=n[0],o=n[1],i=this.delegate.createElement(o,r);return t&&this.delegate.appendChild(t,i),i},t.prototype.createViewRoot=function(t){return t},t.prototype.createTemplateAnchor=function(t){var e=this.delegate.createComment("");return t&&this.delegate.appendChild(t,e),e},t.prototype.createText=function(t,e){var n=this.delegate.createText(e);return t&&this.delegate.appendChild(t,n),n},t.prototype.projectNodes=function(t,e){for(var n=0;n<e.length;n++)this.delegate.appendChild(t,e[n])},t.prototype.attachViewAfter=function(t,e){for(var n=this.delegate.parentNode(t),r=this.delegate.nextSibling(t),o=0;o<e.length;o++)this.delegate.insertBefore(n,e[o],r)},t.prototype.detachView=function(t){for(var e=0;e<t.length;e++){var n=t[e],r=this.delegate.parentNode(n);this.delegate.removeChild(r,n)}},t.prototype.destroyView=function(t,e){for(var n=0;n<e.length;n++)this.delegate.destroyNode(e[n])},t.prototype.listen=function(t,e,n){return this.delegate.listen(t,e,n)},t.prototype.listenGlobal=function(t,e,n){return this.delegate.listen(t,e,n)},t.prototype.setElementProperty=function(t,e,n){this.delegate.setProperty(t,e,n)},t.prototype.setElementAttribute=function(t,e,n){var r=Er(e),o=r[0],i=r[1];null!=n?this.delegate.setAttribute(t,i,n,o):this.delegate.removeAttribute(t,i,o)},t.prototype.setBindingDebugInfo=function(t,e,n){},t.prototype.setElementClass=function(t,e,n){n?this.delegate.addClass(t,e):this.delegate.removeClass(t,e)},t.prototype.setElementStyle=function(t,e,n){null!=n?this.delegate.setStyle(t,e,n):this.delegate.removeStyle(t,e)},t.prototype.invokeElementMethod=function(t,e,n){t[e].apply(t,n)},t.prototype.setText=function(t,e){this.delegate.setValue(t,e)},t.prototype.animate=function(){throw new Error("Renderer.animate is no longer supported!")},t}();function $r(t,e,n,r){return new Xr(t,e,n,r)}var Xr=function(){function t(t,e,n,r){this._moduleType=t,this._parent=e,this._bootstrapComponents=n,this._def=r,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(t){for(var e=t._def,n=t._providers=new Array(e.providers.length),r=0;r<e.providers.length;r++){var o=e.providers[r];4096&o.flags||void 0===n[r]&&(n[r]=Nr(t,o))}}(this)}return t.prototype.get=function(t,e,n){void 0===e&&(e=Ue.THROW_IF_NOT_FOUND),void 0===n&&(n=vt.Default);var r=0;return n&vt.SkipSelf?r|=1:n&vt.Self&&(r|=4),Or(this,{token:t,tokenKey:$n(t),flags:r},e)},Object.defineProperty(t.prototype,"instance",{get:function(){return this.get(this._moduleType)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentFactoryResolver",{get:function(){return this.get(ln)},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The ng module "+_t(this.instance.constructor)+" has already been destroyed.");this._destroyed=!0,function(t,e){for(var n=t._def,r=new Set,o=0;o<n.providers.length;o++)if(131072&n.providers[o].flags){var i=t._providers[o];if(i&&i!==kr){var a=i.ngOnDestroy;"function"!=typeof a||r.has(i)||(a.apply(i),r.add(i))}}}(this),this._destroyListeners.forEach((function(t){return t()}))},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},t}(),to=$n(dn),eo=$n(yn),no=$n(pn),ro=$n(Un),oo=$n(Dn),io=$n(Ne),ao=$n(Ue),uo=$n(Ot);function lo(t,e,n,r,o,i,a,u){var l=[];if(a)for(var s in a){var c=a[s],h=c[0],p=c[1];l[h]={flags:8,name:s,nonMinifiedName:p,ns:null,securityContext:null,suffix:null}}var f=[];if(u)for(var d in u)f.push({type:1,propName:d,target:null,eventName:u[d]});return function(t,e,n,r,o,i,a,u,l){var s=dr(n),c=s.matchedQueries,h=s.references,p=s.matchedQueryIds;l||(l=[]),u||(u=[]),i=St(i);var f=gr(a,_t(o));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:c,matchedQueryIds:p,references:h,ngContentIndex:-1,childCount:r,bindings:u,bindingFlags:Tr(u),outputs:l,element:null,provider:{token:o,value:i,deps:f},text:null,query:null,ngContent:null}}(t,e|=16384,n,r,o,o,i,l,f)}function so(t,e){return fo(t,e)}function co(t,e){for(var n=t;n.parent&&!pr(n);)n=n.parent;return go(n.parent,cr(n),!0,e.provider.value,e.provider.deps)}function ho(t,e){var n=go(t,e.parent,(32768&e.flags)>0,e.provider.value,e.provider.deps);if(e.outputs.length)for(var r=0;r<e.outputs.length;r++){var o=e.outputs[r],i=n[o.propName];if(!tn(i))throw new Error("@Output "+o.propName+" not initialized in '"+n.constructor.name+"'.");var a=i.subscribe(po(t,e.parent.nodeIndex,o.eventName));t.disposables[e.outputIndex+r]=a.unsubscribe.bind(a)}return n}function po(t,e,n){return function(r){return lr(t,e,n,r)}}function fo(t,e){var n=(8192&e.flags)>0,r=e.provider;switch(201347067&e.flags){case 512:return go(t,e.parent,n,r.value,r.deps);case 1024:return function(t,e,n,r,o){var i=o.length;switch(i){case 0:return r();case 1:return r(yo(t,e,n,o[0]));case 2:return r(yo(t,e,n,o[0]),yo(t,e,n,o[1]));case 3:return r(yo(t,e,n,o[0]),yo(t,e,n,o[1]),yo(t,e,n,o[2]));default:for(var a=Array(i),u=0;u<i;u++)a[u]=yo(t,e,n,o[u]);return r.apply(void 0,a)}}(t,e.parent,n,r.value,r.deps);case 2048:return yo(t,e.parent,n,r.deps[0]);case 256:return r.value}}function go(t,e,n,r,o){var i=o.length;switch(i){case 0:return new r;case 1:return new r(yo(t,e,n,o[0]));case 2:return new r(yo(t,e,n,o[0]),yo(t,e,n,o[1]));case 3:return new r(yo(t,e,n,o[0]),yo(t,e,n,o[1]),yo(t,e,n,o[2]));default:for(var a=new Array(i),u=0;u<i;u++)a[u]=yo(t,e,n,o[u]);return new(r.bind.apply(r,[void 0].concat(a)))}}var vo={};function yo(t,e,n,r,o){if(void 0===o&&(o=Ue.THROW_IF_NOT_FOUND),8&r.flags)return r.token;var i=t;2&r.flags&&(o=null);var a=r.tokenKey;a===io&&(n=!(!e||!e.element.componentView)),e&&1&r.flags&&(n=!1,e=e.parent);for(var u=t;u;){if(e)switch(a){case to:return Yr(mo(u,e,n));case eo:return mo(u,e,n).renderer;case no:return new pn(Gn(u,e.nodeIndex).renderElement);case ro:return Gn(u,e.nodeIndex).viewContainer;case oo:if(e.element.template)return Gn(u,e.nodeIndex).template;break;case io:return Br(mo(u,e,n));case ao:case uo:return Wr(u,e);default:var l=(n?e.element.allProviders:e.element.publicProviders)[a];if(l){var s=qn(u,l.nodeIndex);return s||(s={instance:fo(u,l)},u.nodes[l.nodeIndex]=s),s.instance}}n=pr(u),e=cr(u),u=u.parent,4&r.flags&&(u=null)}var c=i.root.injector.get(r.token,vo);return c!==vo||o===vo?c:i.root.ngModule.injector.get(r.token,o)}function mo(t,e,n){var r;if(n)r=Gn(t,e.nodeIndex).componentView;else for(r=t;r.parent&&!pr(r);)r=r.parent;return r}function wo(t,e,n,r,o,i){if(32768&n.flags){var a=Gn(t,n.parent.nodeIndex).componentView;2&a.def.flags&&(a.state|=8)}if(e.instance[n.bindings[r].name]=o,524288&n.flags){i=i||{};var u=Ye.unwrap(t.oldValues[n.bindingIndex+r]);i[n.bindings[r].nonMinifiedName]=new en(u,o,0!=(2&t.state))}return t.oldValues[n.bindingIndex+r]=o,i}function bo(t,e){if(t.def.nodeFlags&e)for(var n=t.def.nodes,r=0,o=0;o<n.length;o++){var i=n[o],a=i.parent;for(!a&&i.flags&e&&Co(t,o,i.flags&e,r++),0==(i.childFlags&e)&&(o+=i.childCount);a&&1&a.flags&&o===a.nodeIndex+a.childCount;)a.directChildFlags&e&&(r=_o(t,a,e,r)),a=a.parent}}function _o(t,e,n,r){for(var o=e.nodeIndex+1;o<=e.nodeIndex+e.childCount;o++){var i=t.def.nodes[o];i.flags&n&&Co(t,o,i.flags&n,r++),o+=i.childCount}return r}function Co(t,e,n,r){var o=qn(t,e);if(o){var i=o.instance;i&&(Kn.setCurrentNode(t,e),1048576&n&&Bn(t,512,r)&&i.ngAfterContentInit(),2097152&n&&i.ngAfterContentChecked(),4194304&n&&Bn(t,768,r)&&i.ngAfterViewInit(),8388608&n&&i.ngAfterViewChecked(),131072&n&&i.ngOnDestroy())}}var xo=new Rt("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return Kt}}),So={},Eo=function(){var t={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,FirstDayOfWeek:8,WeekendRange:9,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,CurrencySymbol:15,CurrencyName:16,Currencies:17,PluralCase:18,ExtraData:19};return t[t.LocaleId]="LocaleId",t[t.DayPeriodsFormat]="DayPeriodsFormat",t[t.DayPeriodsStandalone]="DayPeriodsStandalone",t[t.DaysFormat]="DaysFormat",t[t.DaysStandalone]="DaysStandalone",t[t.MonthsFormat]="MonthsFormat",t[t.MonthsStandalone]="MonthsStandalone",t[t.Eras]="Eras",t[t.FirstDayOfWeek]="FirstDayOfWeek",t[t.WeekendRange]="WeekendRange",t[t.DateFormat]="DateFormat",t[t.TimeFormat]="TimeFormat",t[t.DateTimeFormat]="DateTimeFormat",t[t.NumberSymbols]="NumberSymbols",t[t.NumberFormats]="NumberFormats",t[t.CurrencySymbol]="CurrencySymbol",t[t.CurrencyName]="CurrencyName",t[t.Currencies]="Currencies",t[t.PluralCase]="PluralCase",t[t.ExtraData]="ExtraData",t}(),To=void 0,ko=["en",[["a","p"],["AM","PM"],To],[["AM","PM"],To,To],[["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"]],To,[["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"]],To,[["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}",To,"{1} 'at' {0}",To],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",{},function(t){var e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}],Po="en-US";function Ao(t){null==t&&function(t){throw new Error("ASSERTION ERROR: Expected localeId to be defined")}(),"string"==typeof t&&t.toLowerCase().replace(/_/g,"-")}var Io=function(t){function e(e){void 0===e&&(e=!1);var n=this;return(n=t.call(this)||this).__isAsync=e,n}return __extends(e,t),e.prototype.emit=function(e){t.prototype.next.call(this,e)},e.prototype.subscribe=function(e,n,r){var o,i=function(t){return null},a=function(){return null};e&&"object"==typeof e?(o=this.__isAsync?function(t){setTimeout((function(){return e.next(t)}))}:function(t){e.next(t)},e.error&&(i=this.__isAsync?function(t){setTimeout((function(){return e.error(t)}))}:function(t){e.error(t)}),e.complete&&(a=this.__isAsync?function(){setTimeout((function(){return e.complete()}))}:function(){e.complete()})):(o=this.__isAsync?function(t){setTimeout((function(){return e(t)}))}:function(t){e(t)},n&&(i=this.__isAsync?function(t){setTimeout((function(){return n(t)}))}:function(t){n(t)}),r&&(a=this.__isAsync?function(){setTimeout((function(){return r()}))}:function(){r()}));var u=t.prototype.subscribe.call(this,o,i,a);return e instanceof f&&e.add(u),u},e}(I);function Ro(){return this._results[We()]()}var Oo=function(){function t(){this.dirty=!0,this._results=[],this.changes=new Io,this.length=0;var e=We(),n=t.prototype;n[e]||(n[e]=Ro)}return t.prototype.map=function(t){return this._results.map(t)},t.prototype.filter=function(t){return this._results.filter(t)},t.prototype.find=function(t){return this._results.find(t)},t.prototype.reduce=function(t,e){return this._results.reduce(t,e)},t.prototype.forEach=function(t){this._results.forEach(t)},t.prototype.some=function(t){return this._results.some(t)},t.prototype.toArray=function(){return this._results.slice()},t.prototype.toString=function(){return this._results.toString()},t.prototype.reset=function(t){this._results=function t(e,n){void 0===n&&(n=e);for(var r=0;r<e.length;r++){var o=e[r];Array.isArray(o)?(n===e&&(n=e.slice(0,r)),t(o,n)):n!==e&&n.push(o)}return n}(t),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},t.prototype.notifyOnChanges=function(){this.changes.emit(this)},t.prototype.setDirty=function(){this.dirty=!0},t.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},t}(),No=new Rt("Application Initializer"),Mo=function(){function t(t){var e=this;this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise((function(t,n){e.resolve=t,e.reject=n}))}return t.prototype.runInitializers=function(){var t=this;if(!this.initialized){var e=[],n=function(){t.done=!0,t.resolve()};if(this.appInits)for(var r=0;r<this.appInits.length;r++){var o=this.appInits[r]();Xe(o)&&e.push(o)}Promise.all(e).then((function(){n()})).catch((function(e){t.reject(e)})),0===e.length&&n(),this.initialized=!0}},t}(),Do=new Rt("AppId");function jo(){return""+Uo()+Uo()+Uo()}function Uo(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var Lo=new Rt("Platform Initializer"),Vo=new Rt("Platform ID"),Ho=new Rt("appBootstrapListener"),Fo=function(){function t(){}return t.prototype.log=function(t){console.log(t)},t.prototype.warn=function(t){console.warn(t)},t}(),zo=new Rt("LocaleId"),Bo=!1;function Zo(){throw new Error("Runtime compiler is not loaded")}var Go,qo,Wo=Zo,Qo=Zo,Ko=Zo,Yo=Zo,Jo=function(){function t(){this.compileModuleSync=Wo,this.compileModuleAsync=Qo,this.compileModuleAndAllComponentsSync=Ko,this.compileModuleAndAllComponentsAsync=Yo}return t.prototype.clearCache=function(){},t.prototype.clearCacheFor=function(t){},t.prototype.getModuleId=function(t){},t}(),$o=function(){};var Xo,ti=!(!(Xo=It.wtf)||!(Go=Xo.trace)||(qo=Go.events,0));function ei(t,e){return null}var ni=ti?function(t,e){return void 0===e&&(e=null),qo.createScope(t,e)}:function(t,e){return ei},ri=ti?function(t,e){return Go.leaveScope(t,e),e}:function(t,e){return e},oi=Promise.resolve(0);function ii(t){"undefined"==typeof Zone?oi.then((function(){t&&t.apply(null,null)})):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}var ai=function(){function t(t){var e,n=t.enableLongStackTrace,r=void 0!==n&&n;if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Io(!1),this.onMicrotaskEmpty=new Io(!1),this.onStable=new Io(!1),this.onError=new Io(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),(e=this)._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(t,n,r,o,i,a){try{return ci(e),t.invokeTask(r,o,i,a)}finally{hi(e)}},onInvoke:function(t,n,r,o,i,a,u){try{return ci(e),t.invoke(r,o,i,a,u)}finally{hi(e)}},onHasTask:function(t,n,r,o){t.hasTask(r,o),n===r&&("microTask"==o.change?(e.hasPendingMicrotasks=o.microTask,si(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:function(t,n,r,o){return t.handleError(r,o),e.runOutsideAngular((function(){return e.onError.emit(o)})),!1}})}return t.isInAngularZone=function(){return!0===Zone.current.get("isAngularZone")},t.assertInAngularZone=function(){if(!t.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")},t.assertNotInAngularZone=function(){if(t.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")},t.prototype.run=function(t,e,n){return this._inner.run(t,e,n)},t.prototype.runTask=function(t,e,n,r){var o=this._inner,i=o.scheduleEventTask("NgZoneEvent: "+r,t,li,ui,ui);try{return o.runTask(i,e,n)}finally{o.cancelTask(i)}},t.prototype.runGuarded=function(t,e,n){return this._inner.runGuarded(t,e,n)},t.prototype.runOutsideAngular=function(t){return this._outer.run(t)},t}();function ui(){}var li={};function si(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular((function(){return t.onStable.emit(null)}))}finally{t.isStable=!0}}}function ci(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function hi(t){t._nesting--,si(t)}var pi,fi=function(){function t(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Io,this.onMicrotaskEmpty=new Io,this.onStable=new Io,this.onError=new Io}return t.prototype.run=function(t){return t()},t.prototype.runGuarded=function(t){return t()},t.prototype.runOutsideAngular=function(t){return t()},t.prototype.runTask=function(t){return t()},t}(),di=function(){function t(t){var e=this;this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run((function(){e.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")}))}return t.prototype._watchAngularEvents=function(){var t=this;this._ngZone.onUnstable.subscribe({next:function(){t._didWork=!0,t._isZoneStable=!1}}),this._ngZone.runOutsideAngular((function(){t._ngZone.onStable.subscribe({next:function(){ai.assertNotInAngularZone(),ii((function(){t._isZoneStable=!0,t._runCallbacksIfReady()}))}})}))},t.prototype.increasePendingRequestCount=function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount},t.prototype.decreasePendingRequestCount=function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount},t.prototype.isStable=function(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks},t.prototype._runCallbacksIfReady=function(){var t=this;if(this.isStable())ii((function(){for(;0!==t._callbacks.length;){var e=t._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(t._didWork)}t._didWork=!1}));else{var e=this.getPendingTasks();this._callbacks=this._callbacks.filter((function(t){return!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)})),this._didWork=!0}},t.prototype.getPendingTasks=function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map((function(t){return{source:t.source,creationLocation:t.creationLocation,data:t.data}})):[]},t.prototype.addCallback=function(t,e,n){var r=this,o=-1;e&&e>0&&(o=setTimeout((function(){r._callbacks=r._callbacks.filter((function(t){return t.timeoutId!==o})),t(r._didWork,r.getPendingTasks())}),e)),this._callbacks.push({doneCb:t,timeoutId:o,updateCb:n})},t.prototype.whenStable=function(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()},t.prototype.getPendingRequestCount=function(){return this._pendingCount},t.prototype.findProviders=function(t,e,n){return[]},t}(),gi=function(){function t(){this._applications=new Map,vi.addToWindow(this)}return t.prototype.registerApplication=function(t,e){this._applications.set(t,e)},t.prototype.unregisterApplication=function(t){this._applications.delete(t)},t.prototype.unregisterAllApplications=function(){this._applications.clear()},t.prototype.getTestability=function(t){return this._applications.get(t)||null},t.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},t.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},t.prototype.findTestabilityInTree=function(t,e){return void 0===e&&(e=!0),vi.findTestabilityInTree(this,t,e)},t}(),vi=new(function(){function t(){}return t.prototype.addToWindow=function(t){},t.prototype.findTestabilityInTree=function(t,e,n){return null},t}()),yi=new Rt("AllowMultipleToken"),mi=function(t,e){this.name=t,this.token=e};function wi(t,e,n){void 0===n&&(n=[]);var r="Platform: "+e,o=new Rt(r);return function(e){void 0===e&&(e=[]);var i=bi();if(!i||i.injector.get(yi,!1))if(t)t(n.concat(e).concat({provide:o,useValue:!0}));else{var a=n.concat(e).concat({provide:o,useValue:!0});!function(t){if(pi&&!pi.destroyed&&!pi.injector.get(yi,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");pi=t.get(_i);var e=t.get(Lo,null);e&&e.forEach((function(t){return t()}))}(Ue.create({providers:a,name:r}))}return function(t){var e=bi();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(o)}}function bi(){return pi&&!pi.destroyed?pi:null}var _i=function(){function t(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return t.prototype.bootstrapModuleFactory=function(t,e){var n,r=this,o="noop"===(n=e?e.ngZone:void 0)?new fi:("zone.js"===n?void 0:n)||new ai({enableLongStackTrace:ie()}),i=[{provide:ai,useValue:o}];return o.run((function(){var e=Ue.create({providers:i,parent:r.injector,name:t.moduleType.name}),n=t.create(e),a=n.injector.get(ne,null);if(!a)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return Bo&&Ao(n.injector.get(zo,Po)||Po),n.onDestroy((function(){return Ei(r._modules,n)})),o.runOutsideAngular((function(){return o.onError.subscribe({next:function(t){a.handleError(t)}})})),function(t,e,o){try{var i=((a=n.injector.get(Mo)).runInitializers(),a.donePromise.then((function(){return r._moduleDoBootstrap(n),n})));return Xe(i)?i.catch((function(n){throw e.runOutsideAngular((function(){return t.handleError(n)})),n})):i}catch(u){throw e.runOutsideAngular((function(){return t.handleError(u)})),u}var a}(a,o)}))},t.prototype.bootstrapModule=function(t,e){var n=this;void 0===e&&(e=[]);var r=Ci({},e);return function(t,e,n){return t.get($o).createCompiler([e]).compileModuleAsync(n)}(this.injector,r,t).then((function(t){return n.bootstrapModuleFactory(t,r)}))},t.prototype._moduleDoBootstrap=function(t){var e=t.injector.get(Si);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach((function(t){return e.bootstrap(t)}));else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+_t(t.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');t.instance.ngDoBootstrap(e)}this._modules.push(t)},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},Object.defineProperty(t.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach((function(t){return t.destroy()})),this._destroyListeners.forEach((function(t){return t()})),this._destroyed=!0},Object.defineProperty(t.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),t}();function Ci(t,e){return Array.isArray(e)?e.reduce(Ci,t):Object.assign({},t,e)}var xi,Si=((xi=function(){function t(t,e,n,r,o,i){var a=this;this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=o,this._initStatus=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=ie(),this._zone.onMicrotaskEmpty.subscribe({next:function(){a._zone.run((function(){a.tick()}))}});var u=new x((function(t){a._stable=a._zone.isStable&&!a._zone.hasPendingMacrotasks&&!a._zone.hasPendingMicrotasks,a._zone.runOutsideAngular((function(){t.next(a._stable),t.complete()}))})),l=new x((function(t){var e;a._zone.runOutsideAngular((function(){e=a._zone.onStable.subscribe((function(){ai.assertNotInAngularZone(),ii((function(){a._stable||a._zone.hasPendingMacrotasks||a._zone.hasPendingMicrotasks||(a._stable=!0,t.next(!0))}))}))}));var n=a._zone.onUnstable.subscribe((function(){ai.assertInAngularZone(),a._stable&&(a._stable=!1,a._zone.runOutsideAngular((function(){t.next(!1)})))}));return function(){e.unsubscribe(),n.unsubscribe()}}));this.isStable=tt(u,l.pipe((function(t){return et()(ut(st)(t))})))}return t.prototype.bootstrap=function(t,e){var n,r=this;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.");n=t instanceof rn?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);var o=n instanceof cn?null:this._injector.get(Zt),i=n.create(Ue.NULL,[],e||n.selector,o);i.onDestroy((function(){r._unloadComponent(i)}));var a=i.injector.get(di,null);return a&&i.injector.get(gi).registerApplication(i.location.nativeElement,a),this._loadComponent(i),ie()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),i},t.prototype.tick=function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=t._tickScope();try{this._runningTick=!0;for(var r=0,o=this._views;r<o.length;r++)o[r].detectChanges();if(this._enforceNoNewChanges)for(var i=0,a=this._views;i<a.length;i++)a[i].checkNoChanges()}catch(u){this._zone.runOutsideAngular((function(){return e._exceptionHandler.handleError(u)}))}finally{this._runningTick=!1,ri(n)}},t.prototype.attachView=function(t){var e=t;this._views.push(e),e.attachToAppRef(this)},t.prototype.detachView=function(t){var e=t;Ei(this._views,e),e.detachFromAppRef()},t.prototype._loadComponent=function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Ho,[]).concat(this._bootstrapListeners).forEach((function(e){return e(t)}))},t.prototype._unloadComponent=function(t){this.detachView(t.hostView),Ei(this.components,t)},t.prototype.ngOnDestroy=function(){this._views.slice().forEach((function(t){return t.destroy()}))},Object.defineProperty(t.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),t}())._tickScope=ni("ApplicationRef#tick()"),xi);function Ei(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var Ti=function(){},ki=function(){},Pi={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Ai=function(){function t(t,e){this._compiler=t,this._config=e||Pi}return t.prototype.load=function(t){return!Bo&&this._compiler instanceof Jo?this.loadFactory(t):this.loadAndCompile(t)},t.prototype.loadAndCompile=function(t){var e=this,r=t.split("#"),o=r[0],i=r[1];return void 0===i&&(i="default"),n("zn8P")(o).then((function(t){return t[i]})).then((function(t){return Ii(t,o,i)})).then((function(t){return e._compiler.compileModuleAsync(t)}))},t.prototype.loadFactory=function(t){var e=t.split("#"),r=e[0],o=e[1],i="NgFactory";return void 0===o&&(o="default",i=""),n("zn8P")(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then((function(t){return t[o+i]})).then((function(t){return Ii(t,r,o)}))},t}();function Ii(t,e,n){if(!t)throw new Error("Cannot find '"+n+"' in '"+e+"'");return t}var Ri=function(t,e){this.name=t,this.callback=e},Oi=function(){function t(t,e,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=t,e&&e instanceof Ni&&e.addChild(this)}return Object.defineProperty(t.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),t}(),Ni=function(t){function e(e,n,r){var o=this;return(o=t.call(this,e,n,r)||this).properties={},o.attributes={},o.classes={},o.styles={},o.childNodes=[],o.nativeElement=e,o}return __extends(e,t),e.prototype.addChild=function(t){t&&(this.childNodes.push(t),t.parent=this)},e.prototype.removeChild=function(t){var e=this.childNodes.indexOf(t);-1!==e&&(t.parent=null,this.childNodes.splice(e,1))},e.prototype.insertChildrenAfter=function(t,e){var n,r=this,o=this.childNodes.indexOf(t);-1!==o&&((n=this.childNodes).splice.apply(n,[o+1,0].concat(e)),e.forEach((function(e){e.parent&&e.parent.removeChild(e),t.parent=r})))},e.prototype.insertBefore=function(t,e){var n=this.childNodes.indexOf(t);-1===n?this.addChild(e):(e.parent&&e.parent.removeChild(e),e.parent=this,this.childNodes.splice(n,0,e))},e.prototype.query=function(t){return this.queryAll(t)[0]||null},e.prototype.queryAll=function(t){var n=[];return function t(n,r,o){n.childNodes.forEach((function(n){n instanceof e&&(r(n)&&o.push(n),t(n,r,o))}))}(this,t,n),n},e.prototype.queryAllNodes=function(t){var n=[];return function t(n,r,o){n instanceof e&&n.childNodes.forEach((function(n){r(n)&&o.push(n),n instanceof e&&t(n,r,o)}))}(this,t,n),n},Object.defineProperty(e.prototype,"children",{get:function(){return this.childNodes.filter((function(t){return t instanceof e}))},enumerable:!0,configurable:!0}),e.prototype.triggerEventHandler=function(t,e){this.listeners.forEach((function(n){n.name==t&&n.callback(e)}))},e}(Oi),Mi=new Map,Di=function(t){return Mi.get(t)||null};function ji(t){Mi.set(t.nativeNode,t)}var Ui=wi(null,"core",[{provide:Vo,useValue:"unknown"},{provide:_i,deps:[Ue]},{provide:gi,deps:[]},{provide:Fo,deps:[]}]);function Li(){return Nn}function Vi(){return Mn}function Hi(t){return t?(Bo&&Ao(t),t):Po}function Fi(t){var e=[];return t.onStable.subscribe((function(){for(;e.length;)e.pop()()})),function(t){e.push(t)}}var zi=function(t){};function Bi(t,e,n,r,o,i){t|=1;var a=dr(e),u=a.matchedQueries,l=a.references;return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:t,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:u,matchedQueryIds:a.matchedQueryIds,references:l,ngContentIndex:n,childCount:r,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:i?mr(i):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:o||Yn},provider:null,text:null,query:null,ngContent:null}}function Zi(t,e,n,r,o,i,a,u,l,s,c,h){var p;void 0===a&&(a=[]),s||(s=Yn);var f=dr(n),d=f.matchedQueries,g=f.references,v=f.matchedQueryIds,y=null,m=null;i&&(y=(p=Er(i))[0],m=p[1]),u=u||[];for(var w=new Array(u.length),b=0;b<u.length;b++){var _=u[b],C=_[0],x=_[1],S=_[2],E=Er(x),T=E[0],k=E[1],P=void 0,A=void 0;switch(15&C){case 4:A=S;break;case 1:case 8:P=S}w[b]={flags:C,ns:T,name:k,nonMinifiedName:k,securityContext:P,suffix:A}}l=l||[];var I=new Array(l.length);for(b=0;b<l.length;b++){var R=l[b],O=R[0],N=R[1];I[b]={type:0,target:O,eventName:N,propName:null}}var M=(a=a||[]).map((function(t){var e=t[0],n=t[1],r=Er(e);return[r[0],r[1],n]}));return h=function(t){if(t&&t.id===Xn){var e=null!=t.encapsulation&&t.encapsulation!==Qt.None||t.styles.length||Object.keys(t.data).length;t.id=e?"c"+nr++:tr}return t&&t.id===tr&&(t=null),t||null}(h),c&&(e|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:d,matchedQueryIds:v,references:g,ngContentIndex:r,childCount:o,bindings:w,bindingFlags:Tr(w),outputs:I,element:{ns:y,name:m,attrs:M,template:null,componentProvider:null,componentView:c||null,componentRendererType:h,publicProviders:null,allProviders:null,handleEvent:s||Yn},provider:null,text:null,query:null,ngContent:null}}function Gi(t,e,n){var r,o=n.element,i=t.root.selectorOrNode,a=t.renderer;if(t.parent||!i){r=o.name?a.createElement(o.name,o.ns):a.createComment("");var u=vr(t,e,n);u&&a.appendChild(u,r)}else r=a.selectRootElement(i,!!o.componentRendererType&&o.componentRendererType.encapsulation===Qt.ShadowDom);if(o.attrs)for(var l=0;l<o.attrs.length;l++){var s=o.attrs[l],c=s[0],h=s[1],p=s[2];a.setAttribute(r,h,p,c)}return r}function qi(t,e,n,r){for(var o=0;o<n.outputs.length;o++){var i=n.outputs[o],a=Wi(t,n.nodeIndex,(h=i.eventName,(c=i.target)?c+":"+h:h)),u=i.target,l=t;"component"===i.target&&(u=null,l=e);var s=l.renderer.listen(u||r,i.eventName,a);t.disposables[n.outputIndex+o]=s}var c,h}function Wi(t,e,n){return function(r){return lr(t,e,n,r)}}function Qi(t,e,n,r){if(!or(t,e,n,r))return!1;var o=e.bindings[n],i=Gn(t,e.nodeIndex),a=i.renderElement,u=o.name;switch(15&o.flags){case 1:!function(t,e,n,r,o,i){var a=e.securityContext,u=a?t.root.sanitizer.sanitize(a,i):i;u=null!=u?u.toString():null;var l=t.renderer;null!=i?l.setAttribute(n,o,u,r):l.removeAttribute(n,o,r)}(t,o,a,o.ns,u,r);break;case 2:!function(t,e,n,r){var o=t.renderer;r?o.addClass(e,n):o.removeClass(e,n)}(t,a,u,r);break;case 4:!function(t,e,n,r,o){var i=t.root.sanitizer.sanitize(ke.STYLE,o);if(null!=i){i=i.toString();var a=e.suffix;null!=a&&(i+=a)}else i=null;var u=t.renderer;null!=i?u.setStyle(n,r,i):u.removeStyle(n,r)}(t,o,a,u,r);break;case 8:!function(t,e,n,r,o){var i=e.securityContext,a=i?t.root.sanitizer.sanitize(i,o):o;t.renderer.setProperty(n,r,a)}(33554432&e.flags&&32&o.flags?i.componentView:t,o,a,u,r)}return!0}function Ki(t){for(var e=t.def.nodeMatchedQueries;t.parent&&fr(t);){var n=t.parentNodeDef;t=t.parent;for(var r=n.nodeIndex+n.childCount,o=0;o<=r;o++){67108864&(i=t.def.nodes[o]).flags&&536870912&i.flags&&(i.query.filterId&e)===i.query.filterId&&Qn(t,o).setDirty(),!(1&i.flags&&o+i.childCount<n.nodeIndex)&&67108864&i.childFlags&&536870912&i.childFlags||(o+=i.childCount)}}if(134217728&t.def.nodeFlags)for(o=0;o<t.def.nodes.length;o++){var i;134217728&(i=t.def.nodes[o]).flags&&536870912&i.flags&&Qn(t,o).setDirty(),o+=i.childCount}}function Yi(t,e){var n=Qn(t,e.nodeIndex);if(n.dirty){var r,o=void 0;if(67108864&e.flags){var i=e.parent.parent;o=Ji(t,i.nodeIndex,i.nodeIndex+i.childCount,e.query,[]),r=qn(t,e.parent.nodeIndex).instance}else 134217728&e.flags&&(o=Ji(t,0,t.def.nodes.length-1,e.query,[]),r=t.component);n.reset(o);for(var a=e.query.bindings,u=!1,l=0;l<a.length;l++){var s=a[l],c=void 0;switch(s.bindingType){case 0:c=n.first;break;case 1:c=n,u=!0}r[s.propName]=c}u&&n.notifyOnChanges()}}function Ji(t,e,n,r,o){for(var i=e;i<=n;i++){var a=t.def.nodes[i],u=a.matchedQueries[r.id];if(null!=u&&o.push($i(t,a,u)),1&a.flags&&a.element.template&&(a.element.template.nodeMatchedQueries&r.filterId)===r.filterId){var l=Gn(t,i);if((a.childMatchedQueries&r.filterId)===r.filterId&&(Ji(t,i+1,i+a.childCount,r,o),i+=a.childCount),16777216&a.flags)for(var s=l.viewContainer._embeddedViews,c=0;c<s.length;c++){var h=s[c],p=sr(h);p&&p===l&&Ji(h,0,h.def.nodes.length-1,r,o)}var f=l.template._projectedViews;if(f)for(c=0;c<f.length;c++){var d=f[c];Ji(d,0,d.def.nodes.length-1,r,o)}}(a.childMatchedQueries&r.filterId)!==r.filterId&&(i+=a.childCount)}return o}function $i(t,e,n){if(null!=n)switch(n){case 1:return Gn(t,e.nodeIndex).renderElement;case 0:return new pn(Gn(t,e.nodeIndex).renderElement);case 2:return Gn(t,e.nodeIndex).template;case 3:return Gn(t,e.nodeIndex).viewContainer;case 4:return qn(t,e.nodeIndex).instance}}function Xi(t,e,n){var r=vr(t,e,n);r&&_r(t,n.ngContent.index,1,r,null,void 0)}function ta(t,e,n){for(var r=new Array(n.length-1),o=1;o<n.length;o++)r[o-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[o]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:e,childCount:0,bindings:r,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}}function ea(t,e,n){var r,o=t.renderer;r=o.createText(n.text.prefix);var i=vr(t,e,n);return i&&o.appendChild(i,r),{renderText:r}}function na(t,e){return(null!=t?t.toString():"")+e.suffix}function ra(t,e,n,r){for(var o=0,i=0,a=0,u=0,l=0,s=null,c=null,h=!1,p=!1,f=null,d=0;d<e.length;d++){var g=e[d];if(g.nodeIndex=d,g.parent=s,g.bindingIndex=o,g.outputIndex=i,g.renderParent=c,a|=g.flags,l|=g.matchedQueryIds,g.element){var v=g.element;v.publicProviders=s?s.element.publicProviders:Object.create(null),v.allProviders=v.publicProviders,h=!1,p=!1,g.element.template&&(l|=g.element.template.nodeMatchedQueries)}if(ia(s,g,e.length),o+=g.bindings.length,i+=g.outputs.length,!c&&3&g.flags&&(f=g),20224&g.flags){h||(h=!0,s.element.publicProviders=Object.create(s.element.publicProviders),s.element.allProviders=s.element.publicProviders);var y=0!=(32768&g.flags);0==(8192&g.flags)||y?s.element.publicProviders[$n(g.provider.token)]=g:(p||(p=!0,s.element.allProviders=Object.create(s.element.publicProviders)),s.element.allProviders[$n(g.provider.token)]=g),y&&(s.element.componentProvider=g)}if(s?(s.childFlags|=g.flags,s.directChildFlags|=g.flags,s.childMatchedQueries|=g.matchedQueryIds,g.element&&g.element.template&&(s.childMatchedQueries|=g.element.template.nodeMatchedQueries)):u|=g.flags,g.childCount>0)s=g,oa(g)||(c=g);else for(;s&&d===s.nodeIndex+s.childCount;){var m=s.parent;m&&(m.childFlags|=s.childFlags,m.childMatchedQueries|=s.childMatchedQueries),c=(s=m)&&oa(s)?s.renderParent:s}}return{factory:null,nodeFlags:a,rootNodeFlags:u,nodeMatchedQueries:l,flags:t,nodes:e,updateDirectives:n||Yn,updateRenderer:r||Yn,handleEvent:function(t,n,r,o){return e[n].element.handleEvent(t,r,o)},bindingCount:o,outputCount:i,lastRenderRootNode:f}}function oa(t){return 0!=(1&t.flags)&&null===t.element.name}function ia(t,e,n){var r=e.element&&e.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 "+e.nodeIndex+"!")}if(20224&e.flags&&0==(1&(t?t.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+e.nodeIndex+"!");if(e.query){if(67108864&e.flags&&(!t||0==(16384&t.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+e.nodeIndex+"!");if(134217728&e.flags&&t)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+e.nodeIndex+"!")}if(e.childCount){var o=t?t.nodeIndex+t.childCount:n-1;if(e.nodeIndex<=o&&e.nodeIndex+e.childCount>o)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+e.nodeIndex+"!")}}function aa(t,e,n,r){var o=sa(t.root,t.renderer,t,e,n);return ca(o,t.component,r),ha(o),o}function ua(t,e,n){var r=sa(t,t.renderer,null,null,e);return ca(r,n,n),ha(r),r}function la(t,e,n,r){var o,i=e.element.componentRendererType;return o=i?t.root.rendererFactory.createRenderer(r,i):t.root.renderer,sa(t.root,o,t,e.element.componentProvider,n)}function sa(t,e,n,r,o){var i=new Array(o.nodes.length),a=o.outputCount?new Array(o.outputCount):null;return{def:o,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:i,state:13,root:t,renderer:e,oldValues:new Array(o.bindingCount),disposables:a,initIndex:-1}}function ca(t,e,n){t.component=e,t.context=n}function ha(t){var e;pr(t)&&(e=Gn(t.parent,t.parentNodeDef.parent.nodeIndex).renderElement);for(var n=t.def,r=t.nodes,o=0;o<n.nodes.length;o++){var i=n.nodes[o],a=void 0;switch(Kn.setCurrentNode(t,o),201347067&i.flags){case 1:var u=Gi(t,e,i),l=void 0;if(33554432&i.flags){var s=mr(i.element.componentView);l=Kn.createComponentView(t,i,s,u)}qi(t,l,i,u),a={renderElement:u,componentView:l,viewContainer:null,template:i.element.template?Gr(t,i):void 0},16777216&i.flags&&(a.viewContainer=Fr(t,i,a));break;case 2:a=ea(t,e,i);break;case 512:case 1024:case 2048:case 256:(a=r[o])||4096&i.flags||(a={instance:so(t,i)});break;case 16:a={instance:co(t,i)};break;case 16384:(a=r[o])||(a={instance:ho(t,i)}),32768&i.flags&&ca(Gn(t,i.parent.nodeIndex).componentView,a.instance,a.instance);break;case 32:case 64:case 128:a={value:void 0};break;case 67108864:case 134217728:a=new Oo;break;case 8:Xi(t,e,i),a=void 0}r[o]=a}ba(t,wa.CreateViewNodes),Sa(t,201326592,268435456,0)}function pa(t){ga(t),Kn.updateDirectives(t,1),_a(t,wa.CheckNoChanges),Kn.updateRenderer(t,1),ba(t,wa.CheckNoChanges),t.state&=-97}function fa(t){1&t.state?(t.state&=-2,t.state|=2):t.state&=-3,zn(t,0,256),ga(t),Kn.updateDirectives(t,0),_a(t,wa.CheckAndUpdate),Sa(t,67108864,536870912,0);var e=zn(t,256,512);bo(t,2097152|(e?1048576:0)),Kn.updateRenderer(t,0),ba(t,wa.CheckAndUpdate),Sa(t,134217728,536870912,0),bo(t,8388608|((e=zn(t,512,768))?4194304:0)),2&t.def.flags&&(t.state&=-9),t.state&=-97,zn(t,768,1024)}function da(t,e,n,r,o,i,a,u,l,s,c,h,p){return 0===n?function(t,e,n,r,o,i,a,u,l,s,c,h){switch(201347067&e.flags){case 1:return function(t,e,n,r,o,i,a,u,l,s,c,h){var p=e.bindings.length,f=!1;return p>0&&Qi(t,e,0,n)&&(f=!0),p>1&&Qi(t,e,1,r)&&(f=!0),p>2&&Qi(t,e,2,o)&&(f=!0),p>3&&Qi(t,e,3,i)&&(f=!0),p>4&&Qi(t,e,4,a)&&(f=!0),p>5&&Qi(t,e,5,u)&&(f=!0),p>6&&Qi(t,e,6,l)&&(f=!0),p>7&&Qi(t,e,7,s)&&(f=!0),p>8&&Qi(t,e,8,c)&&(f=!0),p>9&&Qi(t,e,9,h)&&(f=!0),f}(t,e,n,r,o,i,a,u,l,s,c,h);case 2:return function(t,e,n,r,o,i,a,u,l,s,c,h){var p=!1,f=e.bindings,d=f.length;if(d>0&&or(t,e,0,n)&&(p=!0),d>1&&or(t,e,1,r)&&(p=!0),d>2&&or(t,e,2,o)&&(p=!0),d>3&&or(t,e,3,i)&&(p=!0),d>4&&or(t,e,4,a)&&(p=!0),d>5&&or(t,e,5,u)&&(p=!0),d>6&&or(t,e,6,l)&&(p=!0),d>7&&or(t,e,7,s)&&(p=!0),d>8&&or(t,e,8,c)&&(p=!0),d>9&&or(t,e,9,h)&&(p=!0),p){var g=e.text.prefix;d>0&&(g+=na(n,f[0])),d>1&&(g+=na(r,f[1])),d>2&&(g+=na(o,f[2])),d>3&&(g+=na(i,f[3])),d>4&&(g+=na(a,f[4])),d>5&&(g+=na(u,f[5])),d>6&&(g+=na(l,f[6])),d>7&&(g+=na(s,f[7])),d>8&&(g+=na(c,f[8])),d>9&&(g+=na(h,f[9]));var v=Zn(t,e.nodeIndex).renderText;t.renderer.setValue(v,g)}return p}(t,e,n,r,o,i,a,u,l,s,c,h);case 16384:return function(t,e,n,r,o,i,a,u,l,s,c,h){var p=qn(t,e.nodeIndex),f=p.instance,d=!1,g=void 0,v=e.bindings.length;return v>0&&rr(t,e,0,n)&&(d=!0,g=wo(t,p,e,0,n,g)),v>1&&rr(t,e,1,r)&&(d=!0,g=wo(t,p,e,1,r,g)),v>2&&rr(t,e,2,o)&&(d=!0,g=wo(t,p,e,2,o,g)),v>3&&rr(t,e,3,i)&&(d=!0,g=wo(t,p,e,3,i,g)),v>4&&rr(t,e,4,a)&&(d=!0,g=wo(t,p,e,4,a,g)),v>5&&rr(t,e,5,u)&&(d=!0,g=wo(t,p,e,5,u,g)),v>6&&rr(t,e,6,l)&&(d=!0,g=wo(t,p,e,6,l,g)),v>7&&rr(t,e,7,s)&&(d=!0,g=wo(t,p,e,7,s,g)),v>8&&rr(t,e,8,c)&&(d=!0,g=wo(t,p,e,8,c,g)),v>9&&rr(t,e,9,h)&&(d=!0,g=wo(t,p,e,9,h,g)),g&&f.ngOnChanges(g),65536&e.flags&&Bn(t,256,e.nodeIndex)&&f.ngOnInit(),262144&e.flags&&f.ngDoCheck(),d}(t,e,n,r,o,i,a,u,l,s,c,h);case 32:case 64:case 128:return function(t,e,n,r,o,i,a,u,l,s,c,h){var p=e.bindings,f=!1,d=p.length;if(d>0&&or(t,e,0,n)&&(f=!0),d>1&&or(t,e,1,r)&&(f=!0),d>2&&or(t,e,2,o)&&(f=!0),d>3&&or(t,e,3,i)&&(f=!0),d>4&&or(t,e,4,a)&&(f=!0),d>5&&or(t,e,5,u)&&(f=!0),d>6&&or(t,e,6,l)&&(f=!0),d>7&&or(t,e,7,s)&&(f=!0),d>8&&or(t,e,8,c)&&(f=!0),d>9&&or(t,e,9,h)&&(f=!0),f){var g=Wn(t,e.nodeIndex),v=void 0;switch(201347067&e.flags){case 32:v=new Array(p.length),d>0&&(v[0]=n),d>1&&(v[1]=r),d>2&&(v[2]=o),d>3&&(v[3]=i),d>4&&(v[4]=a),d>5&&(v[5]=u),d>6&&(v[6]=l),d>7&&(v[7]=s),d>8&&(v[8]=c),d>9&&(v[9]=h);break;case 64:v={},d>0&&(v[p[0].name]=n),d>1&&(v[p[1].name]=r),d>2&&(v[p[2].name]=o),d>3&&(v[p[3].name]=i),d>4&&(v[p[4].name]=a),d>5&&(v[p[5].name]=u),d>6&&(v[p[6].name]=l),d>7&&(v[p[7].name]=s),d>8&&(v[p[8].name]=c),d>9&&(v[p[9].name]=h);break;case 128:var y=n;switch(d){case 1:v=y.transform(n);break;case 2:v=y.transform(r);break;case 3:v=y.transform(r,o);break;case 4:v=y.transform(r,o,i);break;case 5:v=y.transform(r,o,i,a);break;case 6:v=y.transform(r,o,i,a,u);break;case 7:v=y.transform(r,o,i,a,u,l);break;case 8:v=y.transform(r,o,i,a,u,l,s);break;case 9:v=y.transform(r,o,i,a,u,l,s,c);break;case 10:v=y.transform(r,o,i,a,u,l,s,c,h)}}g.value=v}return f}(t,e,n,r,o,i,a,u,l,s,c,h);default:throw"unreachable"}}(t,e,r,o,i,a,u,l,s,c,h,p):function(t,e,n){switch(201347067&e.flags){case 1:return function(t,e,n){for(var r=!1,o=0;o<n.length;o++)Qi(t,e,o,n[o])&&(r=!0);return r}(t,e,n);case 2:return function(t,e,n){for(var r=e.bindings,o=!1,i=0;i<n.length;i++)or(t,e,i,n[i])&&(o=!0);if(o){var a="";for(i=0;i<n.length;i++)a+=na(n[i],r[i]);a=e.text.prefix+a;var u=Zn(t,e.nodeIndex).renderText;t.renderer.setValue(u,a)}return o}(t,e,n);case 16384:return function(t,e,n){for(var r=qn(t,e.nodeIndex),o=r.instance,i=!1,a=void 0,u=0;u<n.length;u++)rr(t,e,u,n[u])&&(i=!0,a=wo(t,r,e,u,n[u],a));return a&&o.ngOnChanges(a),65536&e.flags&&Bn(t,256,e.nodeIndex)&&o.ngOnInit(),262144&e.flags&&o.ngDoCheck(),i}(t,e,n);case 32:case 64:case 128:return function(t,e,n){for(var r=e.bindings,o=!1,i=0;i<n.length;i++)or(t,e,i,n[i])&&(o=!0);if(o){var a=Wn(t,e.nodeIndex),u=void 0;switch(201347067&e.flags){case 32:u=n;break;case 64:u={};for(i=0;i<n.length;i++)u[r[i].name]=n[i];break;case 128:var l=n[0],s=n.slice(1);u=l.transform.apply(l,s)}a.value=u}return o}(t,e,n);default:throw"unreachable"}}(t,e,r)}function ga(t){var e=t.def;if(4&e.nodeFlags)for(var n=0;n<e.nodes.length;n++){var r=e.nodes[n];if(4&r.flags){var o=Gn(t,n).template._projectedViews;if(o)for(var i=0;i<o.length;i++){var a=o[i];a.state|=32,ur(a,t)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function va(t,e,n,r,o,i,a,u,l,s,c,h,p){return 0===n?function(t,e,n,r,o,i,a,u,l,s,c,h){var p=e.bindings.length;p>0&&ir(t,e,0,n),p>1&&ir(t,e,1,r),p>2&&ir(t,e,2,o),p>3&&ir(t,e,3,i),p>4&&ir(t,e,4,a),p>5&&ir(t,e,5,u),p>6&&ir(t,e,6,l),p>7&&ir(t,e,7,s),p>8&&ir(t,e,8,c),p>9&&ir(t,e,9,h)}(t,e,r,o,i,a,u,l,s,c,h,p):function(t,e,n){for(var r=0;r<n.length;r++)ir(t,e,r,n[r])}(t,e,r),!1}function ya(t,e){if(Qn(t,e.nodeIndex).dirty)throw Vn(Kn.createDebugContext(t,e.nodeIndex),"Query "+e.query.id+" not dirty","Query "+e.query.id+" dirty",0!=(1&t.state))}function ma(t){if(!(128&t.state)){if(_a(t,wa.Destroy),ba(t,wa.Destroy),bo(t,131072),t.disposables)for(var e=0;e<t.disposables.length;e++)t.disposables[e]();!function(t){if(16&t.state){var e=sr(t);if(e){var n=e.template._projectedViews;n&&(Wt(n,n.indexOf(t)),Kn.dirtyParentQueries(t))}}}(t),t.renderer.destroyNode&&function(t){for(var e=t.def.nodes.length,n=0;n<e;n++){var r=t.def.nodes[n];1&r.flags?t.renderer.destroyNode(Gn(t,n).renderElement):2&r.flags?t.renderer.destroyNode(Zn(t,n).renderText):(67108864&r.flags||134217728&r.flags)&&Qn(t,n).destroy()}}(t),pr(t)&&t.renderer.destroy(),t.state|=128}}var wa=function(){var t={CreateViewNodes:0,CheckNoChanges:1,CheckNoChangesProjectedViews:2,CheckAndUpdate:3,CheckAndUpdateProjectedViews:4,Destroy:5};return t[t.CreateViewNodes]="CreateViewNodes",t[t.CheckNoChanges]="CheckNoChanges",t[t.CheckNoChangesProjectedViews]="CheckNoChangesProjectedViews",t[t.CheckAndUpdate]="CheckAndUpdate",t[t.CheckAndUpdateProjectedViews]="CheckAndUpdateProjectedViews",t[t.Destroy]="Destroy",t}();function ba(t,e){var n=t.def;if(33554432&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var o=n.nodes[r];33554432&o.flags?Ca(Gn(t,r).componentView,e):0==(33554432&o.childFlags)&&(r+=o.childCount)}}function _a(t,e){var n=t.def;if(16777216&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var o=n.nodes[r];if(16777216&o.flags)for(var i=Gn(t,r).viewContainer._embeddedViews,a=0;a<i.length;a++)Ca(i[a],e);else 0==(16777216&o.childFlags)&&(r+=o.childCount)}}function Ca(t,e){var n=t.state;switch(e){case wa.CheckNoChanges:0==(128&n)&&(12==(12&n)?pa(t):64&n&&xa(t,wa.CheckNoChangesProjectedViews));break;case wa.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?pa(t):64&n&&xa(t,e));break;case wa.CheckAndUpdate:0==(128&n)&&(12==(12&n)?fa(t):64&n&&xa(t,wa.CheckAndUpdateProjectedViews));break;case wa.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?fa(t):64&n&&xa(t,e));break;case wa.Destroy:ma(t);break;case wa.CreateViewNodes:ha(t)}}function xa(t,e){_a(t,e),ba(t,e)}function Sa(t,e,n,r){if(t.def.nodeFlags&e&&t.def.nodeFlags&n)for(var o=t.def.nodes.length,i=0;i<o;i++){var a=t.def.nodes[i];if(a.flags&e&&a.flags&n)switch(Kn.setCurrentNode(t,a.nodeIndex),r){case 0:Yi(t,a);break;case 1:ya(t,a)}a.childFlags&e&&a.childFlags&n||(i+=a.childCount)}}var Ea=!1;function Ta(t,e,n,r,o,i){var a=o.injector.get(gn);return ua(Pa(t,o,a,e,n),r,i)}function ka(t,e,n,r,o,i){var a=o.injector.get(gn),u=Pa(t,o,new au(a),e,n),l=La(r);return ou(Wa.create,ua,null,[u,l,i])}function Pa(t,e,n,r,o){var i=e.injector.get(Pe),a=e.injector.get(ne),u=n.createRenderer(null,null);return{ngModule:e,injector:t,projectableNodes:r,selectorOrNode:o,sanitizer:i,rendererFactory:n,renderer:u,errorHandler:a}}function Aa(t,e,n,r){var o=La(n);return ou(Wa.create,aa,null,[t,e,o,r])}function Ia(t,e,n,r){return n=Ma.get(e.element.componentProvider.provider.token)||La(n),ou(Wa.create,la,null,[t,e,n,r])}function Ra(t,e,n,r){return $r(t,e,n,function(t){var e=function(t){var e=!1,n=!1;return 0===Oa.size?{hasOverrides:e,hasDeprecatedOverrides:n}:(t.providers.forEach((function(t){var r=Oa.get(t.token);3840&t.flags&&r&&(e=!0,n=n||r.deprecatedBehavior)})),t.modules.forEach((function(t){Na.forEach((function(r,o){wt(o).providedIn===t&&(e=!0,n=n||r.deprecatedBehavior)}))})),{hasOverrides:e,hasDeprecatedOverrides:n})}(t),n=e.hasOverrides,r=e.hasDeprecatedOverrides;return n?(function(t){for(var e=0;e<t.providers.length;e++){var n=t.providers[e];r&&(n.flags|=4096);var o=Oa.get(n.token);o&&(n.flags=-3841&n.flags|o.flags,n.deps=gr(o.deps),n.value=o.value)}if(Na.size>0){var i=new Set(t.modules);Na.forEach((function(e,n){if(i.has(wt(n).providedIn)){var o={token:n,flags:e.flags|(r?4096:0),deps:gr(e.deps),value:e.value,index:t.providers.length};t.providers.push(o),t.providersByKey[$n(n)]=o}}))}}(t=t.factory((function(){return Yn}))),t):t}(r))}var Oa=new Map,Na=new Map,Ma=new Map;function Da(t){var e;Oa.set(t.token,t),"function"==typeof t.token&&(e=wt(t.token))&&"function"==typeof e.providedIn&&Na.set(t.token,t)}function ja(t,e){var n=mr(e.viewDefFactory),r=mr(n.nodes[0].element.componentView);Ma.set(t,r)}function Ua(){Oa.clear(),Na.clear(),Ma.clear()}function La(t){if(0===Oa.size)return t;var e=function(t){for(var e=[],n=null,r=0;r<t.nodes.length;r++){var o=t.nodes[r];1&o.flags&&(n=o),n&&3840&o.flags&&Oa.has(o.provider.token)&&(e.push(n.nodeIndex),n=null)}return e}(t);if(0===e.length)return t;t=t.factory((function(){return Yn}));for(var n=0;n<e.length;n++)r(t,e[n]);return t;function r(t,e){for(var n=e+1;n<t.nodes.length;n++){var r=t.nodes[n];if(1&r.flags)return;if(3840&r.flags){var o=r.provider,i=Oa.get(o.token);i&&(r.flags=-3841&r.flags|i.flags,o.deps=gr(i.deps),o.value=i.value)}}}}function Va(t,e,n,r,o,i,a,u,l,s,c,h,p){var f=t.def.nodes[e];return da(t,f,n,r,o,i,a,u,l,s,c,h,p),224&f.flags?Wn(t,e).value:void 0}function Ha(t,e,n,r,o,i,a,u,l,s,c,h,p){var f=t.def.nodes[e];return va(t,f,n,r,o,i,a,u,l,s,c,h,p),224&f.flags?Wn(t,e).value:void 0}function Fa(t){return ou(Wa.detectChanges,fa,null,[t])}function za(t){return ou(Wa.checkNoChanges,pa,null,[t])}function Ba(t){return ou(Wa.destroy,ma,null,[t])}var Za,Ga,qa,Wa=function(){var t={create:0,detectChanges:1,checkNoChanges:2,destroy:3,handleEvent:4};return t[t.create]="create",t[t.detectChanges]="detectChanges",t[t.checkNoChanges]="checkNoChanges",t[t.destroy]="destroy",t[t.handleEvent]="handleEvent",t}();function Qa(t,e){Ga=t,qa=e}function Ka(t,e,n,r){return Qa(t,e),ou(Wa.handleEvent,t.def.handleEvent,null,[t,e,n,r])}function Ya(t,e){if(128&t.state)throw Fn(Wa[Za]);return Qa(t,tu(t,0)),t.def.updateDirectives((function(t,n,r){for(var o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];var a=t.def.nodes[n];return 0===e?$a(t,a,r,o):Xa(t,a,r,o),16384&a.flags&&Qa(t,tu(t,n)),224&a.flags?Wn(t,a.nodeIndex).value:void 0}),t)}function Ja(t,e){if(128&t.state)throw Fn(Wa[Za]);return Qa(t,eu(t,0)),t.def.updateRenderer((function(t,n,r){for(var o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];var a=t.def.nodes[n];return 0===e?$a(t,a,r,o):Xa(t,a,r,o),3&a.flags&&Qa(t,eu(t,n)),224&a.flags?Wn(t,a.nodeIndex).value:void 0}),t)}function $a(t,e,n,r){if(da.apply(void 0,[t,e,n].concat(r))){var o=1===n?r[0]:r;if(16384&e.flags){for(var i={},a=0;a<e.bindings.length;a++){var u=e.bindings[a],l=o[a];8&u.flags&&(i[(p=u.nonMinifiedName,f=void 0,f=p.replace(/[$@]/g,"_"),"ng-reflect-"+(p=f.replace(Re,(function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return"-"+t[1].toLowerCase()}))))]=Oe(l))}var s=e.parent,c=Gn(t,s.nodeIndex).renderElement;if(s.element.name)for(var h in i){null!=(l=i[h])?t.renderer.setAttribute(c,h,l):t.renderer.removeAttribute(c,h)}else t.renderer.setValue(c,"bindings="+JSON.stringify(i,null,2))}}var p,f}function Xa(t,e,n,r){va.apply(void 0,[t,e,n].concat(r))}function tu(t,e){for(var n=e;n<t.def.nodes.length;n++){var r=t.def.nodes[n];if(16384&r.flags&&r.bindings&&r.bindings.length)return n}return null}function eu(t,e){for(var n=e;n<t.def.nodes.length;n++){var r=t.def.nodes[n];if(3&r.flags&&r.bindings&&r.bindings.length)return n}return null}var nu=function(){function t(t,e){this.view=t,this.nodeIndex=e,null==e&&(this.nodeIndex=e=0),this.nodeDef=t.def.nodes[e];for(var n=this.nodeDef,r=t;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&r;)n=cr(r),r=r.parent;this.elDef=n,this.elView=r}return Object.defineProperty(t.prototype,"elOrCompView",{get:function(){return Gn(this.elView,this.elDef.nodeIndex).componentView||this.view},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return Wr(this.elView,this.elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"component",{get:function(){return this.elOrCompView.component},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this.elOrCompView.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){var t=[];if(this.elDef)for(var e=this.elDef.nodeIndex+1;e<=this.elDef.nodeIndex+this.elDef.childCount;e++){var n=this.elView.def.nodes[e];20224&n.flags&&t.push(n.provider.token),e+=n.childCount}return t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){var t={};if(this.elDef){ru(this.elView,this.elDef,t);for(var e=this.elDef.nodeIndex+1;e<=this.elDef.nodeIndex+this.elDef.childCount;e++){var n=this.elView.def.nodes[e];20224&n.flags&&ru(this.elView,n,t),e+=n.childCount}}return t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentRenderElement",{get:function(){var t=function(t){for(;t&&!pr(t);)t=t.parent;return t.parent?Gn(t.parent,cr(t).nodeIndex):null}(this.elOrCompView);return t?t.renderElement:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"renderNode",{get:function(){return 2&this.nodeDef.flags?hr(this.view,this.nodeDef):hr(this.elView,this.elDef)},enumerable:!0,configurable:!0}),t.prototype.logError=function(t){for(var e,n,r=[],o=1;o<arguments.length;o++)r[o-1]=arguments[o];2&this.nodeDef.flags?(e=this.view.def,n=this.nodeDef.nodeIndex):(e=this.elView.def,n=this.elDef.nodeIndex);var i=function(t,e){for(var n=-1,r=0;r<=e;r++)3&t.nodes[r].flags&&n++;return n}(e,n),a=-1;e.factory((function(){var e;return++a===i?(e=t.error).bind.apply(e,[t].concat(r)):Yn})),a<i&&(t.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),t.error.apply(t,r))},t}();function ru(t,e,n){for(var r in e.references)n[r]=$i(t,e,e.references[r])}function ou(t,e,n,r){var o,i,a=Za,u=Ga,l=qa;try{Za=t;var s=e.apply(n,r);return Ga=u,qa=l,Za=a,s}catch(c){if(Xt(c)||!Ga)throw c;throw o=c,i=iu(),o instanceof Error||(o=new Error(o.toString())),Hn(o,i),o}}function iu(){return Ga?new nu(Ga,qa):null}var au=function(){function t(t){this.delegate=t}return t.prototype.createRenderer=function(t,e){return new uu(this.delegate.createRenderer(t,e))},t.prototype.begin=function(){this.delegate.begin&&this.delegate.begin()},t.prototype.end=function(){this.delegate.end&&this.delegate.end()},t.prototype.whenRenderingDone=function(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)},t}(),uu=function(){function t(t){this.delegate=t,this.debugContextFactory=iu,this.data=this.delegate.data}return t.prototype.createDebugContext=function(t){return this.debugContextFactory(t)},t.prototype.destroyNode=function(t){var e=Di(t);!function(t){Mi.delete(t.nativeNode)}(e),e instanceof Oi&&(e.listeners.length=0),this.delegate.destroyNode&&this.delegate.destroyNode(t)},t.prototype.destroy=function(){this.delegate.destroy()},t.prototype.createElement=function(t,e){var n=this.delegate.createElement(t,e),r=this.createDebugContext(n);if(r){var o=new Ni(n,null,r);o.name=t,ji(o)}return n},t.prototype.createComment=function(t){var e=this.delegate.createComment(t),n=this.createDebugContext(e);return n&&ji(new Oi(e,null,n)),e},t.prototype.createText=function(t){var e=this.delegate.createText(t),n=this.createDebugContext(e);return n&&ji(new Oi(e,null,n)),e},t.prototype.appendChild=function(t,e){var n=Di(t),r=Di(e);n&&r&&n instanceof Ni&&n.addChild(r),this.delegate.appendChild(t,e)},t.prototype.insertBefore=function(t,e,n){var r=Di(t),o=Di(e),i=Di(n);r&&o&&r instanceof Ni&&r.insertBefore(i,o),this.delegate.insertBefore(t,e,n)},t.prototype.removeChild=function(t,e){var n=Di(t),r=Di(e);n&&r&&n instanceof Ni&&n.removeChild(r),this.delegate.removeChild(t,e)},t.prototype.selectRootElement=function(t,e){var n=this.delegate.selectRootElement(t,e),r=iu();return r&&ji(new Ni(n,null,r)),n},t.prototype.setAttribute=function(t,e,n,r){var o=Di(t);o&&o instanceof Ni&&(o.attributes[r?r+":"+e:e]=n),this.delegate.setAttribute(t,e,n,r)},t.prototype.removeAttribute=function(t,e,n){var r=Di(t);r&&r instanceof Ni&&(r.attributes[n?n+":"+e:e]=null),this.delegate.removeAttribute(t,e,n)},t.prototype.addClass=function(t,e){var n=Di(t);n&&n instanceof Ni&&(n.classes[e]=!0),this.delegate.addClass(t,e)},t.prototype.removeClass=function(t,e){var n=Di(t);n&&n instanceof Ni&&(n.classes[e]=!1),this.delegate.removeClass(t,e)},t.prototype.setStyle=function(t,e,n,r){var o=Di(t);o&&o instanceof Ni&&(o.styles[e]=n),this.delegate.setStyle(t,e,n,r)},t.prototype.removeStyle=function(t,e,n){var r=Di(t);r&&r instanceof Ni&&(r.styles[e]=null),this.delegate.removeStyle(t,e,n)},t.prototype.setProperty=function(t,e,n){var r=Di(t);r&&r instanceof Ni&&(r.properties[e]=n),this.delegate.setProperty(t,e,n)},t.prototype.listen=function(t,e,n){if("string"!=typeof t){var r=Di(t);r&&r.listeners.push(new Ri(e,n))}return this.delegate.listen(t,e,n)},t.prototype.parentNode=function(t){return this.delegate.parentNode(t)},t.prototype.nextSibling=function(t){return this.delegate.nextSibling(t)},t.prototype.setValue=function(t,e){return this.delegate.setValue(t,e)},t}();var lu=function(t){function e(e,n,r){var o=this;return(o=t.call(this)||this).moduleType=e,o._bootstrapComponents=n,o._ngModuleDefFactory=r,o}return __extends(e,t),e.prototype.create=function(t){!function(){if(!Ea){Ea=!0;var t=ie()?{setCurrentNode:Qa,createRootView:ka,createEmbeddedView:Aa,createComponentView:Ia,createNgModuleRef:Ra,overrideProvider:Da,overrideComponentView:ja,clearOverrides:Ua,checkAndUpdateView:Fa,checkNoChangesView:za,destroyView:Ba,createDebugContext:function(t,e){return new nu(t,e)},handleEvent:Ka,updateDirectives:Ya,updateRenderer:Ja}:{setCurrentNode:function(){},createRootView:Ta,createEmbeddedView:aa,createComponentView:la,createNgModuleRef:$r,overrideProvider:Yn,overrideComponentView:Yn,clearOverrides:Yn,checkAndUpdateView:fa,checkNoChangesView:pa,destroyView:ma,createDebugContext:function(t,e){return new nu(t,e)},handleEvent:function(t,e,n,r){return t.def.handleEvent(t,e,n,r)},updateDirectives:function(t,e){return t.def.updateDirectives(0===e?Va:Ha,t)},updateRenderer:function(t,e){return t.def.updateRenderer(0===e?Va:Ha,t)}};Kn.setCurrentNode=t.setCurrentNode,Kn.createRootView=t.createRootView,Kn.createEmbeddedView=t.createEmbeddedView,Kn.createComponentView=t.createComponentView,Kn.createNgModuleRef=t.createNgModuleRef,Kn.overrideProvider=t.overrideProvider,Kn.overrideComponentView=t.overrideComponentView,Kn.clearOverrides=t.clearOverrides,Kn.checkAndUpdateView=t.checkAndUpdateView,Kn.checkNoChangesView=t.checkNoChangesView,Kn.destroyView=t.destroyView,Kn.resolveDep=yo,Kn.createDebugContext=t.createDebugContext,Kn.handleEvent=t.handleEvent,Kn.updateDirectives=t.updateDirectives,Kn.updateRenderer=t.updateRenderer,Kn.dirtyParentQueries=Ki}}();var e=function(t){var e=Array.from(t.providers),n=Array.from(t.modules),r={};for(var o in t.providersByKey)r[o]=t.providersByKey[o];return{factory:t.factory,isRoot:t.isRoot,providers:e,modules:n,providersByKey:r}}(mr(this._ngModuleDefFactory));return Kn.createNgModuleRef(this.moduleType,t||Ue.NULL,this._bootstrapComponents,e)},e}(Gt),su=function(){},cu=function(){function t(t){this.router=t,this.title="pwaDemo"}return t.prototype.goTpPage1=function(){this.router.navigate(["page1"])},t}(),hu=function(){},pu=new Rt("Location Initialized"),fu=function(){},du=new Rt("appBaseHref"),gu=function(){function t(e,n){var r=this;this._subject=new Io,this._urlChangeListeners=[],this._platformStrategy=e;var o=this._platformStrategy.getBaseHref();this._platformLocation=n,this._baseHref=t.stripTrailingSlash(vu(o)),this._platformStrategy.onPopState((function(t){r._subject.emit({url:r.path(!0),pop:!0,state:t.state,type:t.type})}))}return t.prototype.path=function(t){return void 0===t&&(t=!1),this.normalize(this._platformStrategy.path(t))},t.prototype.getState=function(){return this._platformLocation.getState()},t.prototype.isCurrentPathEqualTo=function(e,n){return void 0===n&&(n=""),this.path()==this.normalize(e+t.normalizeQueryParams(n))},t.prototype.normalize=function(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,vu(e)))},t.prototype.prepareExternalUrl=function(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)},t.prototype.go=function(e,n,r){void 0===n&&(n=""),void 0===r&&(r=null),this._platformStrategy.pushState(r,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+t.normalizeQueryParams(n)),r)},t.prototype.replaceState=function(e,n,r){void 0===n&&(n=""),void 0===r&&(r=null),this._platformStrategy.replaceState(r,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+t.normalizeQueryParams(n)),r)},t.prototype.forward=function(){this._platformStrategy.forward()},t.prototype.back=function(){this._platformStrategy.back()},t.prototype.onUrlChange=function(t){var e=this;this._urlChangeListeners.push(t),this.subscribe((function(t){e._notifyUrlChangeListeners(t.url,t.state)}))},t.prototype._notifyUrlChangeListeners=function(t,e){void 0===t&&(t=""),this._urlChangeListeners.forEach((function(n){return n(t,e)}))},t.prototype.subscribe=function(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})},t.normalizeQueryParams=function(t){return t&&"?"!==t[0]?"?"+t:t},t.joinWithSlash=function(t,e){if(0==t.length)return e;if(0==e.length)return t;var n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e},t.stripTrailingSlash=function(t){var e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)},t}();function vu(t){return t.replace(/\/index.html$/,"")}var yu=function(t){function e(e,n){var r=this;return(r=t.call(this)||this)._platformLocation=e,r._baseHref="",null!=n&&(r._baseHref=n),r}return __extends(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e},e.prototype.prepareExternalUrl=function(t){var e=gu.joinWithSlash(this._baseHref,t);return e.length>0?"#"+e:e},e.prototype.pushState=function(t,e,n,r){var o=this.prepareExternalUrl(n+gu.normalizeQueryParams(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(t,e,o)},e.prototype.replaceState=function(t,e,n,r){var o=this.prepareExternalUrl(n+gu.normalizeQueryParams(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,o)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(fu),mu=function(t){function e(e,n){var r=this;if((r=t.call(this)||this)._platformLocation=e,null==n&&(n=r._platformLocation.getBaseHrefFromDOM()),null==n)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.");return r._baseHref=n,r}return __extends(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.prepareExternalUrl=function(t){return gu.joinWithSlash(this._baseHref,t)},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.pathname+gu.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?""+e+n:e},e.prototype.pushState=function(t,e,n,r){var o=this.prepareExternalUrl(n+gu.normalizeQueryParams(r));this._platformLocation.pushState(t,e,o)},e.prototype.replaceState=function(t,e,n,r){var o=this.prepareExternalUrl(n+gu.normalizeQueryParams(r));this._platformLocation.replaceState(t,e,o)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(fu),wu=function(){var t={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return t[t.Zero]="Zero",t[t.One]="One",t[t.Two]="Two",t[t.Few]="Few",t[t.Many]="Many",t[t.Other]="Other",t}(),bu=new Rt("UseV4Plurals"),_u=function(){},Cu=function(t){function e(e,n){var r=this;return(r=t.call(this)||this).locale=e,r.deprecatedPluralFn=n,r}return __extends(e,t),e.prototype.getPluralCategory=function(t,e){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(e||this.locale,t):function(t){return function(t){var e=t.toLowerCase().replace(/_/g,"-"),n=So[e];if(n)return n;var r=e.split("-")[0];if(n=So[r])return n;if("en"===r)return ko;throw new Error('Missing locale data for the locale "'+t+'".')}(t)[Eo.PluralCase]}(e||this.locale)(t)){case wu.Zero:return"zero";case wu.One:return"one";case wu.Two:return"two";case wu.Few:return"few";case wu.Many:return"many";default:return"other"}},e}(_u),xu=function(){function t(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}return t.prototype.create=function(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)},t.prototype.destroy=function(){this._created=!1,this._viewContainerRef.clear()},t.prototype.enforceState=function(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()},t}(),Su=function(){function t(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}return Object.defineProperty(t.prototype,"ngSwitch",{set:function(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)},enumerable:!0,configurable:!0}),t.prototype._addCase=function(){return this._caseCount++},t.prototype._addDefault=function(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)},t.prototype._matchCase=function(t){var e=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),e},t.prototype._updateDefaultCases=function(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(var e=0;e<this._defaultViews.length;e++)this._defaultViews[e].enforceState(t)}},t}(),Eu=function(){function t(t,e,n){this.ngSwitch=n,n._addCase(),this._view=new xu(t,e)}return t.prototype.ngDoCheck=function(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))},t}(),Tu=function(t,e,n){n._addDefault(new xu(t,e))},ku=function(){},Pu=new Rt("DocumentToken"),Au="browser",Iu="server";function Ru(t){return t===Au}var Ou,Nu=((Ou=function(){}).ngInjectableDef=mt({token:Ou,providedIn:"root",factory:function(){return new Mu(Ft(Pu),window,Ft(ne))}}),Ou),Mu=function(){function t(t,e,n){this.document=t,this.window=e,this.errorHandler=n,this.offset=function(){return[0,0]}}return t.prototype.setOffset=function(t){this.offset=Array.isArray(t)?function(){return t}:t},t.prototype.getScrollPosition=function(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]},t.prototype.scrollToPosition=function(t){this.supportScrollRestoration()&&this.window.scrollTo(t[0],t[1])},t.prototype.scrollToAnchor=function(t){if(this.supportScrollRestoration()){t=this.window.CSS&&this.window.CSS.escape?this.window.CSS.escape(t):t.replace(/(\"|\'\ |:|\.|\[|\]|,|=)/g,"\\$1");try{var e=this.document.querySelector("#"+t);if(e)return void this.scrollToElement(e);var n=this.document.querySelector("[name='"+t+"']");if(n)return void this.scrollToElement(n)}catch(r){this.errorHandler.handleError(r)}}},t.prototype.setHistoryScrollRestoration=function(t){if(this.supportScrollRestoration()){var e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}},t.prototype.scrollToElement=function(t){var e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(n-o[0],r-o[1])},t.prototype.supportScrollRestoration=function(){try{return!!this.window&&!!this.window.scrollTo}catch(t){return!1}},t}(),Du=new x((function(t){return t.complete()}));function ju(t){return t?function(t){return new x((function(e){return t.schedule((function(){return e.complete()}))}))}(t):Du}function Uu(t){var e=new x((function(e){e.next(t),e.complete()}));return e._isScalar=!0,e.value=t,e}function Lu(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t[t.length-1];switch(O(n)?t.pop():n=void 0,t.length){case 0:return ju(n);case 1:return n?W(t,n):Uu(t[0]);default:return W(t,n)}}var Vu=function(t){function e(e){var n=this;return(n=t.call(this)||this)._value=e,n}return __extends(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),e.prototype._subscribe=function(e){var n=t.prototype._subscribe.call(this,e);return n&&!n.closed&&e.next(this._value),n},e.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new k;return this._value},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(I);function Hu(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}Hu.prototype=Object.create(Error.prototype);var Fu=Hu,zu={},Bu=function(){function t(t){this.resultSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new Zu(t,this.resultSelector))},t}(),Zu=function(t){function e(e,n){var r=this;return(r=t.call(this,e)||this).resultSelector=n,r.active=0,r.values=[],r.observables=[],r}return __extends(e,t),e.prototype._next=function(t){this.values.push(zu),this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(var n=0;n<e;n++){var r=t[n];this.add(z(this,r,r,n))}}},e.prototype.notifyComplete=function(t){0==(this.active-=1)&&this.destination.complete()},e.prototype.notifyNext=function(t,e,n,r,o){var i=this.values,a=this.toRespond?i[n]===zu?--this.toRespond:this.toRespond:0;i[n]=e,0===a&&(this.resultSelector?this._tryResultSelector(i):this.destination.next(i.slice()))},e.prototype._tryResultSelector=function(t){var e;try{e=this.resultSelector.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)},e}(B);function Gu(t){return new x((function(e){var n;try{n=t()}catch(r){return void e.error(r)}return(n?Q(n):ju()).subscribe(e)}))}function qu(){return X(1)}function Wu(t,e){return function(n){return n.lift(new Qu(t,e))}}var Qu=function(){function t(t,e){this.predicate=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new Ku(t,this.predicate,this.thisArg))},t}(),Ku=function(t){function e(e,n,r){var o=this;return(o=t.call(this,e)||this).predicate=n,o.thisArg=r,o.count=0,o}return __extends(e,t),e.prototype._next=function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)},e}(v);function Yu(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}Yu.prototype=Object.create(Error.prototype);var Ju=Yu;function $u(t){return function(e){return 0===t?ju():e.lift(new Xu(t))}}var Xu=function(){function t(t){if(this.total=t,this.total<0)throw new Ju}return t.prototype.call=function(t,e){return e.subscribe(new tl(t,this.total))},t}(),tl=function(t){function e(e,n){var r=this;return(r=t.call(this,e)||this).total=n,r.ring=new Array,r.count=0,r}return __extends(e,t),e.prototype._next=function(t){var e=this.ring,n=this.total,r=this.count++;e.length<n?e.push(t):e[r%n]=t},e.prototype._complete=function(){var t=this.destination,e=this.count;if(e>0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,o=0;o<n;o++){var i=e++%n;t.next(r[i])}t.complete()},e}(v);function el(t,e,n){return function(r){return r.lift(new nl(t,e,n))}}var nl=function(){function t(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}return t.prototype.call=function(t,e){return e.subscribe(new rl(t,this.nextOrObserver,this.error,this.complete))},t}(),rl=function(t){function e(e,n,o,i){var a=this;return(a=t.call(this,e)||this)._tapNext=w,a._tapError=w,a._tapComplete=w,a._tapError=o||w,a._tapComplete=i||w,r(n)?(a._context=a,a._tapNext=n):n&&(a._context=n,a._tapNext=n.next||w,a._tapError=n.error||w,a._tapComplete=n.complete||w),a}return __extends(e,t),e.prototype._next=function(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)},e.prototype._error=function(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)},e.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()},e}(v),ol=function(t){return void 0===t&&(t=il),el({hasValue:!1,next:function(){this.hasValue=!0},complete:function(){if(!this.hasValue)throw t()}})};function il(){return new Fu}function al(t){return void 0===t&&(t=null),function(e){return e.lift(new ul(t))}}var ul=function(){function t(t){this.defaultValue=t}return t.prototype.call=function(t,e){return e.subscribe(new ll(t,this.defaultValue))},t}(),ll=function(t){function e(e,n){var r=this;return(r=t.call(this,e)||this).defaultValue=n,r.isEmpty=!0,r}return __extends(e,t),e.prototype._next=function(t){this.isEmpty=!1,this.destination.next(t)},e.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},e}(v);function sl(t,e){var n=arguments.length>=2;return function(r){return r.pipe(t?Wu((function(e,n){return t(e,n,r)})):$,$u(1),n?al(e):ol((function(){return new Fu})))}}function cl(t){return function(e){var n=new hl(t),r=e.lift(n);return n.caught=r}}var hl=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e.subscribe(new pl(t,this.selector,this.caught))},t}(),pl=function(t){function e(e,n,r){var o=this;return(o=t.call(this,e)||this).selector=n,o.caught=r,o}return __extends(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=void 0;try{n=this.selector(e,this.caught)}catch(o){return void t.prototype.error.call(this,o)}this._unsubscribeAndRecycle();var r=new N(this,void 0,void 0);this.add(r),z(this,n,void 0,void 0,r)}},e}(B);function fl(t){return function(e){return 0===t?ju():e.lift(new dl(t))}}var dl=function(){function t(t){if(this.total=t,this.total<0)throw new Ju}return t.prototype.call=function(t,e){return e.subscribe(new gl(t,this.total))},t}(),gl=function(t){function e(e,n){var r=this;return(r=t.call(this,e)||this).total=n,r.count=0,r}return __extends(e,t),e.prototype._next=function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))},e}(v);function vl(t,e){var n=arguments.length>=2;return function(r){return r.pipe(t?Wu((function(e,n){return t(e,n,r)})):$,fl(1),n?al(e):ol((function(){return new Fu})))}}var yl=function(){function t(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}return t.prototype.call=function(t,e){return e.subscribe(new ml(t,this.predicate,this.thisArg,this.source))},t}(),ml=function(t){function e(e,n,r,o){var i=this;return(i=t.call(this,e)||this).predicate=n,i.thisArg=r,i.source=o,i.index=0,i.thisArg=r||i,i}return __extends(e,t),e.prototype.notifyComplete=function(t){this.destination.next(t),this.destination.complete()},e.prototype._next=function(t){var e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(n){return void this.destination.error(n)}e||this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(v);function wl(t,e){return"function"==typeof e?function(n){return n.pipe(wl((function(n,r){return Q(t(n,r)).pipe(Z((function(t,o){return e(n,t,r,o)})))})))}:function(e){return e.lift(new bl(t))}}var bl=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new _l(t,this.project))},t}(),_l=function(t){function e(e,n){var r=this;return(r=t.call(this,e)||this).project=n,r.index=0,r}return __extends(e,t),e.prototype._next=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(r){return void this.destination.error(r)}this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var r=this.innerSubscription;r&&r.unsubscribe();var o=new N(this,void 0,void 0);this.destination.add(o),this.innerSubscription=z(this,t,e,n,o)},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this),this.unsubscribe()},e.prototype._unsubscribe=function(){this.innerSubscription=null},e.prototype.notifyComplete=function(e){this.destination.remove(e),this.innerSubscription=null,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,r,o){this.destination.next(e)},e}(B);function Cl(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return qu()(Lu.apply(void 0,t))}function xl(t,e){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new Sl(t,e,n))}}var Sl=function(){function t(t,e,n){void 0===n&&(n=!1),this.accumulator=t,this.seed=e,this.hasSeed=n}return t.prototype.call=function(t,e){return e.subscribe(new El(t,this.accumulator,this.seed,this.hasSeed))},t}(),El=function(t){function e(e,n,r,o){var i=this;return(i=t.call(this,e)||this).accumulator=n,i._seed=r,i.hasSeed=o,i.index=0,i}return __extends(e,t),Object.defineProperty(e.prototype,"seed",{get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t},enumerable:!0,configurable:!0}),e.prototype._next=function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(r){this.destination.error(r)}this.seed=e,this.destination.next(e)},e}(v);function Tl(t,e){return K(t,e,1)}var kl=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new Pl(t,this.callback))},t}(),Pl=function(t){function e(e,n){var r=this;return(r=t.call(this,e)||this).add(new f(n)),r}return __extends(e,t),e}(v),Al=null;function Il(){return Al}var Rl,Ol=function(t){function e(){var e=this;(e=t.call(this)||this)._animationPrefix=null,e._transitionEnd=null;try{var n=e.createElement("div",document);if(null!=e.getStyle(n,"animationName"))e._animationPrefix="";else for(var r=["Webkit","Moz","O","ms"],o=0;o<r.length;o++)if(null!=e.getStyle(n,r[o]+"AnimationName")){e._animationPrefix="-"+r[o].toLowerCase()+"-";break}var i={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(i).forEach((function(t){null!=e.getStyle(n,t)&&(e._transitionEnd=i[t])}))}catch(a){e._animationPrefix=null,e._transitionEnd=null}return e}return __extends(e,t),e.prototype.getDistributedNodes=function(t){return t.getDistributedNodes()},e.prototype.resolveAndSetHref=function(t,e,n){t.href=null==n?e:e+"/../"+n},e.prototype.supportsDOMEvents=function(){return!0},e.prototype.supportsNativeShadowDOM=function(){return"function"==typeof document.body.createShadowRoot},e.prototype.getAnimationPrefix=function(){return this._animationPrefix?this._animationPrefix:""},e.prototype.getTransitionEnd=function(){return this._transitionEnd?this._transitionEnd:""},e.prototype.supportsAnimation=function(){return null!=this._animationPrefix&&null!=this._transitionEnd},e}(function(){function t(){this.resourceLoaderType=null}return Object.defineProperty(t.prototype,"attrToPropMap",{get:function(){return this._attrToPropMap},set:function(t){this._attrToPropMap=t},enumerable:!0,configurable:!0}),t}()),Nl={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},Ml={"\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"},Dl={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"},jl=function(){if(It.Node)return It.Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))}}(),Ul=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.parse=function(t){throw new Error("parse not implemented")},e.makeCurrent=function(){var t;t=new e,Al||(Al=t)},e.prototype.hasProperty=function(t,e){return e in t},e.prototype.setProperty=function(t,e,n){t[e]=n},e.prototype.getProperty=function(t,e){return t[e]},e.prototype.invoke=function(t,e,n){t[e].apply(t,n)},e.prototype.logError=function(t){window.console&&(console.error?console.error(t):console.log(t))},e.prototype.log=function(t){window.console&&window.console.log&&window.console.log(t)},e.prototype.logGroup=function(t){window.console&&window.console.group&&window.console.group(t)},e.prototype.logGroupEnd=function(){window.console&&window.console.groupEnd&&window.console.groupEnd()},Object.defineProperty(e.prototype,"attrToPropMap",{get:function(){return Nl},enumerable:!0,configurable:!0}),e.prototype.contains=function(t,e){return jl.call(t,e)},e.prototype.querySelector=function(t,e){return t.querySelector(e)},e.prototype.querySelectorAll=function(t,e){return t.querySelectorAll(e)},e.prototype.on=function(t,e,n){t.addEventListener(e,n,!1)},e.prototype.onAndCancel=function(t,e,n){return t.addEventListener(e,n,!1),function(){t.removeEventListener(e,n,!1)}},e.prototype.dispatchEvent=function(t,e){t.dispatchEvent(e)},e.prototype.createMouseEvent=function(t){var e=this.getDefaultDocument().createEvent("MouseEvent");return e.initEvent(t,!0,!0),e},e.prototype.createEvent=function(t){var e=this.getDefaultDocument().createEvent("Event");return e.initEvent(t,!0,!0),e},e.prototype.preventDefault=function(t){t.preventDefault(),t.returnValue=!1},e.prototype.isPrevented=function(t){return t.defaultPrevented||null!=t.returnValue&&!t.returnValue},e.prototype.getInnerHTML=function(t){return t.innerHTML},e.prototype.getTemplateContent=function(t){return"content"in t&&this.isTemplateElement(t)?t.content:null},e.prototype.getOuterHTML=function(t){return t.outerHTML},e.prototype.nodeName=function(t){return t.nodeName},e.prototype.nodeValue=function(t){return t.nodeValue},e.prototype.type=function(t){return t.type},e.prototype.content=function(t){return this.hasProperty(t,"content")?t.content:t},e.prototype.firstChild=function(t){return t.firstChild},e.prototype.nextSibling=function(t){return t.nextSibling},e.prototype.parentElement=function(t){return t.parentNode},e.prototype.childNodes=function(t){return t.childNodes},e.prototype.childNodesAsList=function(t){for(var e=t.childNodes,n=new Array(e.length),r=0;r<e.length;r++)n[r]=e[r];return n},e.prototype.clearNodes=function(t){for(;t.firstChild;)t.removeChild(t.firstChild)},e.prototype.appendChild=function(t,e){t.appendChild(e)},e.prototype.removeChild=function(t,e){t.removeChild(e)},e.prototype.replaceChild=function(t,e,n){t.replaceChild(e,n)},e.prototype.remove=function(t){return t.parentNode&&t.parentNode.removeChild(t),t},e.prototype.insertBefore=function(t,e,n){t.insertBefore(n,e)},e.prototype.insertAllBefore=function(t,e,n){n.forEach((function(n){return t.insertBefore(n,e)}))},e.prototype.insertAfter=function(t,e,n){t.insertBefore(n,e.nextSibling)},e.prototype.setInnerHTML=function(t,e){t.innerHTML=e},e.prototype.getText=function(t){return t.textContent},e.prototype.setText=function(t,e){t.textContent=e},e.prototype.getValue=function(t){return t.value},e.prototype.setValue=function(t,e){t.value=e},e.prototype.getChecked=function(t){return t.checked},e.prototype.setChecked=function(t,e){t.checked=e},e.prototype.createComment=function(t){return this.getDefaultDocument().createComment(t)},e.prototype.createTemplate=function(t){var e=this.getDefaultDocument().createElement("template");return e.innerHTML=t,e},e.prototype.createElement=function(t,e){return(e=e||this.getDefaultDocument()).createElement(t)},e.prototype.createElementNS=function(t,e,n){return(n=n||this.getDefaultDocument()).createElementNS(t,e)},e.prototype.createTextNode=function(t,e){return(e=e||this.getDefaultDocument()).createTextNode(t)},e.prototype.createScriptTag=function(t,e,n){var r=(n=n||this.getDefaultDocument()).createElement("SCRIPT");return r.setAttribute(t,e),r},e.prototype.createStyleElement=function(t,e){var n=(e=e||this.getDefaultDocument()).createElement("style");return this.appendChild(n,this.createTextNode(t,e)),n},e.prototype.createShadowRoot=function(t){return t.createShadowRoot()},e.prototype.getShadowRoot=function(t){return t.shadowRoot},e.prototype.getHost=function(t){return t.host},e.prototype.clone=function(t){return t.cloneNode(!0)},e.prototype.getElementsByClassName=function(t,e){return t.getElementsByClassName(e)},e.prototype.getElementsByTagName=function(t,e){return t.getElementsByTagName(e)},e.prototype.classList=function(t){return Array.prototype.slice.call(t.classList,0)},e.prototype.addClass=function(t,e){t.classList.add(e)},e.prototype.removeClass=function(t,e){t.classList.remove(e)},e.prototype.hasClass=function(t,e){return t.classList.contains(e)},e.prototype.setStyle=function(t,e,n){t.style[e]=n},e.prototype.removeStyle=function(t,e){t.style[e]=""},e.prototype.getStyle=function(t,e){return t.style[e]},e.prototype.hasStyle=function(t,e,n){var r=this.getStyle(t,e)||"";return n?r==n:r.length>0},e.prototype.tagName=function(t){return t.tagName},e.prototype.attributeMap=function(t){for(var e=new Map,n=t.attributes,r=0;r<n.length;r++){var o=n.item(r);e.set(o.name,o.value)}return e},e.prototype.hasAttribute=function(t,e){return t.hasAttribute(e)},e.prototype.hasAttributeNS=function(t,e,n){return t.hasAttributeNS(e,n)},e.prototype.getAttribute=function(t,e){return t.getAttribute(e)},e.prototype.getAttributeNS=function(t,e,n){return t.getAttributeNS(e,n)},e.prototype.setAttribute=function(t,e,n){t.setAttribute(e,n)},e.prototype.setAttributeNS=function(t,e,n,r){t.setAttributeNS(e,n,r)},e.prototype.removeAttribute=function(t,e){t.removeAttribute(e)},e.prototype.removeAttributeNS=function(t,e,n){t.removeAttributeNS(e,n)},e.prototype.templateAwareRoot=function(t){return this.isTemplateElement(t)?this.content(t):t},e.prototype.createHtmlDocument=function(){return document.implementation.createHTMLDocument("fakeTitle")},e.prototype.getDefaultDocument=function(){return document},e.prototype.getBoundingClientRect=function(t){try{return t.getBoundingClientRect()}catch(e){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}},e.prototype.getTitle=function(t){return t.title},e.prototype.setTitle=function(t,e){t.title=e||""},e.prototype.elementMatches=function(t,e){return!!this.isElementNode(t)&&(t.matches&&t.matches(e)||t.msMatchesSelector&&t.msMatchesSelector(e)||t.webkitMatchesSelector&&t.webkitMatchesSelector(e))},e.prototype.isTemplateElement=function(t){return this.isElementNode(t)&&"TEMPLATE"===t.nodeName},e.prototype.isTextNode=function(t){return t.nodeType===Node.TEXT_NODE},e.prototype.isCommentNode=function(t){return t.nodeType===Node.COMMENT_NODE},e.prototype.isElementNode=function(t){return t.nodeType===Node.ELEMENT_NODE},e.prototype.hasShadowRoot=function(t){return null!=t.shadowRoot&&t instanceof HTMLElement},e.prototype.isShadowRoot=function(t){return t instanceof DocumentFragment},e.prototype.importIntoDoc=function(t){return document.importNode(this.templateAwareRoot(t),!0)},e.prototype.adoptNode=function(t){return document.adoptNode(t)},e.prototype.getHref=function(t){return t.getAttribute("href")},e.prototype.getEventKey=function(t){var e=t.key;if(null==e){if(null==(e=t.keyIdentifier))return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&Dl.hasOwnProperty(e)&&(e=Dl[e]))}return Ml[e]||e},e.prototype.getGlobalEventTarget=function(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null},e.prototype.getHistory=function(){return window.history},e.prototype.getLocation=function(){return window.location},e.prototype.getBaseHref=function(t){var e,n=Ll||(Ll=document.querySelector("base"))?Ll.getAttribute("href"):null;return null==n?null:(e=n,Rl||(Rl=document.createElement("a")),Rl.setAttribute("href",e),"/"===Rl.pathname.charAt(0)?Rl.pathname:"/"+Rl.pathname)},e.prototype.resetBaseElement=function(){Ll=null},e.prototype.getUserAgent=function(){return window.navigator.userAgent},e.prototype.setData=function(t,e,n){this.setAttribute(t,"data-"+e,n)},e.prototype.getData=function(t,e){return this.getAttribute(t,"data-"+e)},e.prototype.getComputedStyle=function(t){return getComputedStyle(t)},e.prototype.supportsWebAnimation=function(){return"function"==typeof Element.prototype.animate},e.prototype.performanceNow=function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()},e.prototype.supportsCookies=function(){return!0},e.prototype.getCookie=function(t){return function(t,e){e=encodeURIComponent(e);for(var n=0,r=t.split(";");n<r.length;n++){var o=r[n],i=o.indexOf("="),a=-1==i?[o,""]:[o.slice(0,i),o.slice(i+1)],u=a[1];if(a[0].trim()===e)return decodeURIComponent(u)}return null}(document.cookie,t)},e.prototype.setCookie=function(t,e){document.cookie=encodeURIComponent(t)+"="+encodeURIComponent(e)},e}(Ol),Ll=null;function Vl(){return!!window.history.pushState}var Hl=new Rt("TRANSITION_ID"),Fl=[{provide:No,useFactory:function(t,e,n){return function(){n.get(Mo).donePromise.then((function(){var n=Il();Array.prototype.slice.apply(n.querySelectorAll(e,"style[ng-transition]")).filter((function(e){return n.getAttribute(e,"ng-transition")===t})).forEach((function(t){return n.remove(t)}))}))}},deps:[Hl,Pu,Ue],multi:!0}],zl=function(){function t(){}return t.init=function(){var e;e=new t,vi=e},t.prototype.addToWindow=function(t){It.getAngularTestability=function(e,n){void 0===n&&(n=!0);var r=t.findTestabilityInTree(e,n);if(null==r)throw new Error("Could not find testability for element.");return r},It.getAllAngularTestabilities=function(){return t.getAllTestabilities()},It.getAllAngularRootElements=function(){return t.getAllRootElements()},It.frameworkStabilizers||(It.frameworkStabilizers=[]),It.frameworkStabilizers.push((function(t){var e=It.getAllAngularTestabilities(),n=e.length,r=!1,o=function(e){r=r||e,0==--n&&t(r)};e.forEach((function(t){t.whenStable(o)}))}))},t.prototype.findTestabilityInTree=function(t,e,n){if(null==e)return null;var r=t.getTestability(e);return null!=r?r:n?Il().isShadowRoot(e)?this.findTestabilityInTree(t,Il().getHost(e),!0):this.findTestabilityInTree(t,Il().parentElement(e),!0):null},t}();function Bl(t,e){"undefined"!=typeof COMPILED&&COMPILED||((It.ng=It.ng||{})[t]=e)}var Zl={ApplicationRef:Si,NgZone:ai};function Gl(t){return Di(t)}var ql=new Rt("EventManagerPlugins"),Wl=function(){function t(t,e){var n=this;this._zone=e,this._eventNameToPlugin=new Map,t.forEach((function(t){return t.manager=n})),this._plugins=t.slice().reverse()}return t.prototype.addEventListener=function(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)},t.prototype.addGlobalEventListener=function(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)},t.prototype.getZone=function(){return this._zone},t.prototype._findPluginFor=function(t){var e=this._eventNameToPlugin.get(t);if(e)return e;for(var n=this._plugins,r=0;r<n.length;r++){var o=n[r];if(o.supports(t))return this._eventNameToPlugin.set(t,o),o}throw new Error("No event manager plugin found for event "+t)},t}(),Ql=function(){function t(t){this._doc=t}return t.prototype.addGlobalEventListener=function(t,e,n){var r=Il().getGlobalEventTarget(this._doc,t);if(!r)throw new Error("Unsupported event target "+r+" for event "+e);return this.addEventListener(r,e,n)},t}(),Kl=function(){function t(){this._stylesSet=new Set}return t.prototype.addStyles=function(t){var e=this,n=new Set;t.forEach((function(t){e._stylesSet.has(t)||(e._stylesSet.add(t),n.add(t))})),this.onStylesAdded(n)},t.prototype.onStylesAdded=function(t){},t.prototype.getAllStyles=function(){return Array.from(this._stylesSet)},t}(),Yl=function(t){function e(e){var n=this;return(n=t.call(this)||this)._doc=e,n._hostNodes=new Set,n._styleNodes=new Set,n._hostNodes.add(e.head),n}return __extends(e,t),e.prototype._addStylesToHost=function(t,e){var n=this;t.forEach((function(t){var r=n._doc.createElement("style");r.textContent=t,n._styleNodes.add(e.appendChild(r))}))},e.prototype.addHost=function(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)},e.prototype.removeHost=function(t){this._hostNodes.delete(t)},e.prototype.onStylesAdded=function(t){var e=this;this._hostNodes.forEach((function(n){return e._addStylesToHost(t,n)}))},e.prototype.ngOnDestroy=function(){this._styleNodes.forEach((function(t){return Il().remove(t)}))},e}(Kl),Jl={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/"},$l=/%COMP%/g,Xl="_nghost-%COMP%",ts="_ngcontent-%COMP%";function es(t,e,n){for(var r=0;r<e.length;r++){var o=e[r];Array.isArray(o)?es(t,o,n):(o=o.replace($l,t),n.push(o))}return n}function ns(t){return function(e){!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}var rs=function(){function t(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new os(t)}return t.prototype.createRenderer=function(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case Qt.Emulated:var n=this.rendererByCompId.get(e.id);return n||(n=new us(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n;case Qt.Native:case Qt.ShadowDom:return new ls(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){var r=es(e.id,e.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}},t.prototype.begin=function(){},t.prototype.end=function(){},t}(),os=function(){function t(t){this.eventManager=t,this.data=Object.create(null)}return t.prototype.destroy=function(){},t.prototype.createElement=function(t,e){return e?document.createElementNS(Jl[e]||e,t):document.createElement(t)},t.prototype.createComment=function(t){return document.createComment(t)},t.prototype.createText=function(t){return document.createTextNode(t)},t.prototype.appendChild=function(t,e){t.appendChild(e)},t.prototype.insertBefore=function(t,e,n){t&&t.insertBefore(e,n)},t.prototype.removeChild=function(t,e){t&&t.removeChild(e)},t.prototype.selectRootElement=function(t,e){var n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error('The selector "'+t+'" did not match any elements');return e||(n.textContent=""),n},t.prototype.parentNode=function(t){return t.parentNode},t.prototype.nextSibling=function(t){return t.nextSibling},t.prototype.setAttribute=function(t,e,n,r){if(r){e=r+":"+e;var o=Jl[r];o?t.setAttributeNS(o,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)},t.prototype.removeAttribute=function(t,e,n){if(n){var r=Jl[n];r?t.removeAttributeNS(r,e):t.removeAttribute(n+":"+e)}else t.removeAttribute(e)},t.prototype.addClass=function(t,e){t.classList.add(e)},t.prototype.removeClass=function(t,e){t.classList.remove(e)},t.prototype.setStyle=function(t,e,n,r){r&vn.DashCase?t.style.setProperty(e,n,r&vn.Important?"important":""):t.style[e]=n},t.prototype.removeStyle=function(t,e,n){n&vn.DashCase?t.style.removeProperty(e):t.style[e]=""},t.prototype.setProperty=function(t,e,n){as(e,"property"),t[e]=n},t.prototype.setValue=function(t,e){t.nodeValue=e},t.prototype.listen=function(t,e,n){return as(e,"listener"),"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,ns(n)):this.eventManager.addEventListener(t,e,ns(n))},t}(),is="@".charCodeAt(0);function as(t,e){if(t.charCodeAt(0)===is)throw new Error("Found the synthetic "+e+" "+t+'. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.')}var us=function(t){function e(e,n,r,o){var i=this;(i=t.call(this,e)||this).component=r;var a=es(o+"-"+r.id,r.styles,[]);return n.addStyles(a),i.contentAttr=ts.replace($l,o+"-"+r.id),i.hostAttr=Xl.replace($l,o+"-"+r.id),i}return __extends(e,t),e.prototype.applyToHost=function(e){t.prototype.setAttribute.call(this,e,this.hostAttr,"")},e.prototype.createElement=function(e,n){var r=t.prototype.createElement.call(this,e,n);return t.prototype.setAttribute.call(this,r,this.contentAttr,""),r},e}(os),ls=function(t){function e(e,n,r,o){var i=this;(i=t.call(this,e)||this).sharedStylesHost=n,i.hostEl=r,i.component=o,i.shadowRoot=o.encapsulation===Qt.ShadowDom?r.attachShadow({mode:"open"}):r.createShadowRoot(),i.sharedStylesHost.addHost(i.shadowRoot);for(var a=es(o.id,o.styles,[]),u=0;u<a.length;u++){var l=document.createElement("style");l.textContent=a[u],i.shadowRoot.appendChild(l)}return i}return __extends(e,t),e.prototype.nodeOrShadowRoot=function(t){return t===this.hostEl?this.shadowRoot:t},e.prototype.destroy=function(){this.sharedStylesHost.removeHost(this.shadowRoot)},e.prototype.appendChild=function(e,n){return t.prototype.appendChild.call(this,this.nodeOrShadowRoot(e),n)},e.prototype.insertBefore=function(e,n,r){return t.prototype.insertBefore.call(this,this.nodeOrShadowRoot(e),n,r)},e.prototype.removeChild=function(e,n){return t.prototype.removeChild.call(this,this.nodeOrShadowRoot(e),n)},e.prototype.parentNode=function(e){return this.nodeOrShadowRoot(t.prototype.parentNode.call(this,this.nodeOrShadowRoot(e)))},e}(os),ss="undefined"!=typeof Zone&&Zone.__symbol__||function(t){return"__zone_symbol__"+t},cs=ss("addEventListener"),hs=ss("removeEventListener"),ps={},fs="__zone_symbol__propagationStopped",ds=function(){var t="undefined"!=typeof Zone&&Zone[ss("BLACK_LISTED_EVENTS")];if(t){var e={};return t.forEach((function(t){e[t]=t})),e}}(),gs=function(t){return!!ds&&ds.hasOwnProperty(t)},vs=function(t){var e=ps[t.type];if(e){var n=this[e];if(n){var r=[t];if(1===n.length)return(a=n[0]).zone!==Zone.current?a.zone.run(a.handler,this,r):a.handler.apply(this,r);for(var o=n.slice(),i=0;i<o.length&&!0!==t[fs];i++){var a;(a=o[i]).zone!==Zone.current?a.zone.run(a.handler,this,r):a.handler.apply(this,r)}}}},ys=function(t){function e(e,n,r){var o=this;return(o=t.call(this,e)||this).ngZone=n,r&&function(t){return t===Iu}(r)||o.patchEvent(),o}return __extends(e,t),e.prototype.patchEvent=function(){if("undefined"!=typeof Event&&Event&&Event.prototype&&!Event.prototype.__zone_symbol__stopImmediatePropagation){var t=Event.prototype.__zone_symbol__stopImmediatePropagation=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[fs]=!0),t&&t.apply(this,arguments)}}},e.prototype.supports=function(t){return!0},e.prototype.addEventListener=function(t,e,n){var r=this,o=n;if(!t[cs]||ai.isInAngularZone()&&!gs(e))t.addEventListener(e,o,!1);else{var i=ps[e];i||(i=ps[e]=ss("ANGULAR"+e+"FALSE"));var a=t[i],u=a&&a.length>0;a||(a=t[i]=[]);var l=gs(e)?Zone.root:Zone.current;if(0===a.length)a.push({zone:l,handler:o});else{for(var s=!1,c=0;c<a.length;c++)if(a[c].handler===o){s=!0;break}s||a.push({zone:l,handler:o})}u||t[cs](e,vs,!1)}return function(){return r.removeEventListener(t,e,o)}},e.prototype.removeEventListener=function(t,e,n){var r=t[hs];if(!r)return t.removeEventListener.apply(t,[e,n,!1]);var o=ps[e],i=o&&t[o];if(!i)return t.removeEventListener.apply(t,[e,n,!1]);for(var a=!1,u=0;u<i.length;u++)if(i[u].handler===n){a=!0,i.splice(u,1);break}a?0===i.length&&r.apply(t,[e,vs,!1]):t.removeEventListener.apply(t,[e,n,!1])},e}(Ql),ms={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},ws=new Rt("HammerGestureConfig"),bs=new Rt("HammerLoader"),_s=function(){function t(){this.events=[],this.overrides={}}return t.prototype.buildHammer=function(t){var e=new Hammer(t,this.options);for(var n in e.get("pinch").set({enable:!0}),e.get("rotate").set({enable:!0}),this.overrides)e.get(n).set(this.overrides[n]);return e},t}(),Cs=function(t){function e(e,n,r,o){var i=this;return(i=t.call(this,e)||this)._config=n,i.console=r,i.loader=o,i}return __extends(e,t),e.prototype.supports=function(t){return!(!ms.hasOwnProperty(t.toLowerCase())&&!this.isCustomEvent(t)||!window.Hammer&&!this.loader&&(this.console.warn('The "'+t+'" event cannot be bound because Hammer.JS is not loaded and no custom loader has been specified.'),1))},e.prototype.addEventListener=function(t,e,n){var r=this,o=this.manager.getZone();if(e=e.toLowerCase(),!window.Hammer&&this.loader){var i=!1,a=function(){i=!0};return this.loader().then((function(){if(!window.Hammer)return r.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(a=function(){});i||(a=r.addEventListener(t,e,n))})).catch((function(){r.console.warn('The "'+e+'" event cannot be bound because the custom Hammer.JS loader failed.'),a=function(){}})),function(){a()}}return o.runOutsideAngular((function(){var i=r._config.buildHammer(t),a=function(t){o.runGuarded((function(){n(t)}))};return i.on(e,a),function(){i.off(e,a),"function"==typeof i.destroy&&i.destroy()}}))},e.prototype.isCustomEvent=function(t){return this._config.events.indexOf(t)>-1},e}(Ql),xs=["alt","control","meta","shift"],Ss={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},Es=function(t){function e(e){return t.call(this,e)||this}return __extends(e,t),e.prototype.supports=function(t){return null!=e.parseEventName(t)},e.prototype.addEventListener=function(t,n,r){var o=e.parseEventName(n),i=e.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular((function(){return Il().onAndCancel(t,o.domEventName,i)}))},e.parseEventName=function(t){var n=t.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;var o=e._normalizeKey(n.pop()),i="";if(xs.forEach((function(t){var e=n.indexOf(t);e>-1&&(n.splice(e,1),i+=t+".")})),i+=o,0!=n.length||0===o.length)return null;var a={};return a.domEventName=r,a.fullKey=i,a},e.getEventFullKey=function(t){var e="",n=Il().getEventKey(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),xs.forEach((function(r){r!=n&&(0,Ss[r])(t)&&(e+=r+".")})),e+=n},e.eventCallback=function(t,n,r){return function(o){e.getEventFullKey(o)===t&&r.runGuarded((function(){return n(o)}))}},e._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},e}(Ql),Ts=function(){},ks=function(t){function e(e){var n=this;return(n=t.call(this)||this)._doc=e,n}return __extends(e,t),e.prototype.sanitize=function(t,e){if(null==e)return null;switch(t){case ke.NONE:return e;case ke.HTML:return e instanceof As?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),function(t,e){var n=null;try{pe=pe||new ae(t);var r=e?String(e):"";n=pe.getInertBodyElement(r);var o=5,i=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=pe.getInertBodyElement(r)}while(r!==i);var a=new Ce,u=a.sanitizeChildren(Te(n)||n);return ie()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),u}finally{if(n)for(var l=Te(n)||n;l.firstChild;)l.removeChild(l.firstChild)}}(this._doc,String(e)));case ke.STYLE:return e instanceof Is?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),function(t){if(!(t=String(t).trim()))return"";var e=t.match(Ie);return e&&se(e[1])===e[1]||t.match(Ae)&&function(t){for(var e=!0,n=!0,r=0;r<t.length;r++){var o=t.charAt(r);"'"===o&&n?e=!e:'"'===o&&e&&(n=!n)}return e&&n}(t)?t:(ie()&&console.warn("WARNING: sanitizing unsafe style value "+t+" (see http://g.co/ng/security#xss)."),"unsafe")}(e));case ke.SCRIPT:if(e instanceof Rs)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"Script"),new Error("unsafe value used in a script context");case ke.URL:return e instanceof Ns||e instanceof Os?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"URL"),se(String(e)));case ke.RESOURCE_URL:if(e instanceof Ns)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+t+" (see http://g.co/ng/security#xss)")}},e.prototype.checkNotSafeValue=function(t,e){if(t instanceof Ps)throw new Error("Required a safe "+e+", got a "+t.getTypeName()+" (see http://g.co/ng/security#xss)")},e.prototype.bypassSecurityTrustHtml=function(t){return new As(t)},e.prototype.bypassSecurityTrustStyle=function(t){return new Is(t)},e.prototype.bypassSecurityTrustScript=function(t){return new Rs(t)},e.prototype.bypassSecurityTrustUrl=function(t){return new Os(t)},e.prototype.bypassSecurityTrustResourceUrl=function(t){return new Ns(t)},e}(Ts),Ps=function(){function t(t){this.changingThisBreaksApplicationSecurity=t}return t.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},t}(),As=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.getTypeName=function(){return"HTML"},e}(Ps),Is=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.getTypeName=function(){return"Style"},e}(Ps),Rs=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.getTypeName=function(){return"Script"},e}(Ps),Os=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.getTypeName=function(){return"URL"},e}(Ps),Ns=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return __extends(e,t),e.prototype.getTypeName=function(){return"ResourceURL"},e}(Ps),Ms=wi(Ui,"browser",[{provide:Vo,useValue:Au},{provide:Lo,useValue:function(){Ul.makeCurrent(),zl.init()},multi:!0},{provide:hu,useClass:function(t){function e(e){var n=this;return(n=t.call(this)||this)._doc=e,n._init(),n}return __extends(e,t),e.prototype._init=function(){this.location=Il().getLocation(),this._history=Il().getHistory()},e.prototype.getBaseHrefFromDOM=function(){return Il().getBaseHref(this._doc)},e.prototype.onPopState=function(t){Il().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)},e.prototype.onHashChange=function(t){Il().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)},Object.defineProperty(e.prototype,"href",{get:function(){return this.location.href},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"protocol",{get:function(){return this.location.protocol},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hostname",{get:function(){return this.location.hostname},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"port",{get:function(){return this.location.port},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pathname",{get:function(){return this.location.pathname},set:function(t){this.location.pathname=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"search",{get:function(){return this.location.search},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hash",{get:function(){return this.location.hash},enumerable:!0,configurable:!0}),e.prototype.pushState=function(t,e,n){Vl()?this._history.pushState(t,e,n):this.location.hash=n},e.prototype.replaceState=function(t,e,n){Vl()?this._history.replaceState(t,e,n):this.location.hash=n},e.prototype.forward=function(){this._history.forward()},e.prototype.back=function(){this._history.back()},e.prototype.getState=function(){return this._history.state},e}(hu),deps:[Pu]},{provide:Pu,useFactory:function(){return document},deps:[]}]);function Ds(){return new ne}var js=function(){function t(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return t.withServerTransition=function(e){return{ngModule:t,providers:[{provide:Do,useValue:e.appId},{provide:Hl,useExisting:Do},Fl]}},t}();"undefined"!=typeof window&&window;var Us=function(t,e){this.id=t,this.url=e},Ls=function(t){function e(e,n,r,o){void 0===r&&(r="imperative"),void 0===o&&(o=null);var i=this;return(i=t.call(this,e,n)||this).navigationTrigger=r,i.restoredState=o,i}return __extends(e,t),e.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"},e}(Us),Vs=function(t){function e(e,n,r){var o=this;return(o=t.call(this,e,n)||this).urlAfterRedirects=r,o}return __extends(e,t),e.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"},e}(Us),Hs=function(t){function e(e,n,r){var o=this;return(o=t.call(this,e,n)||this).reason=r,o}return __extends(e,t),e.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"},e}(Us),Fs=function(t){function e(e,n,r){var o=this;return(o=t.call(this,e,n)||this).error=r,o}return __extends(e,t),e.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"},e}(Us),zs=function(t){function e(e,n,r,o){var i=this;return(i=t.call(this,e,n)||this).urlAfterRedirects=r,i.state=o,i}return __extends(e,t),e.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(Us),Bs=function(t){function e(e,n,r,o){var i=this;return(i=t.call(this,e,n)||this).urlAfterRedirects=r,i.state=o,i}return __extends(e,t),e.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(Us),Zs=function(t){function e(e,n,r,o,i){var a=this;return(a=t.call(this,e,n)||this).urlAfterRedirects=r,a.state=o,a.shouldActivate=i,a}return __extends(e,t),e.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"},e}(Us),Gs=function(t){function e(e,n,r,o){var i=this;return(i=t.call(this,e,n)||this).urlAfterRedirects=r,i.state=o,i}return __extends(e,t),e.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(Us),qs=function(t){function e(e,n,r,o){var i=this;return(i=t.call(this,e,n)||this).urlAfterRedirects=r,i.state=o,i}return __extends(e,t),e.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(Us),Ws=function(){function t(t){this.route=t}return t.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"},t}(),Qs=function(){function t(t){this.route=t}return t.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"},t}(),Ks=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),Ys=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),Js=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),$s=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),Xs=function(){function t(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}return t.prototype.toString=function(){return"Scroll(anchor: '"+this.anchor+"', position: '"+(this.position?this.position[0]+", "+this.position[1]:null)+"')"},t}(),tc=function(){},ec="primary",nc=function(){function t(t){this.params=t||{}}return t.prototype.has=function(t){return this.params.hasOwnProperty(t)},t.prototype.get=function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e[0]:e}return null},t.prototype.getAll=function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e:[e]}return[]},Object.defineProperty(t.prototype,"keys",{get:function(){return Object.keys(this.params)},enumerable:!0,configurable:!0}),t}();function rc(t){return new nc(t)}var oc="ngNavigationCancelingError";function ic(t){var e=Error("NavigationCancelingError: "+t);return e[oc]=!0,e}function ac(t,e,n){var r=n.path.split("/");if(r.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||r.length<t.length))return null;for(var o={},i=0;i<r.length;i++){var a=r[i],u=t[i];if(a.startsWith(":"))o[a.substring(1)]=u;else if(a!==u.path)return null}return{consumed:t.slice(0,r.length),posParams:o}}var uc=function(t,e){this.routes=t,this.module=e};function lc(t,e){void 0===e&&(e="");for(var n=0;n<t.length;n++){var r=t[n];sc(r,cc(e,r))}}function sc(t,e){if(!t)throw new Error("\n Invalid configuration of route '"+e+"': Encountered undefined route.\n The reason might be an extra comma.\n\n Example:\n const routes: Routes = [\n { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n { path: 'dashboard', component: DashboardComponent },, << two commas\n { path: 'detail/:id', component: HeroDetailComponent }\n ];\n ");if(Array.isArray(t))throw new Error("Invalid configuration of route '"+e+"': Array cannot be specified");if(!t.component&&!t.children&&!t.loadChildren&&t.outlet&&t.outlet!==ec)throw new Error("Invalid configuration of route '"+e+"': a componentless route without children or loadChildren cannot have a named outlet set");if(t.redirectTo&&t.children)throw new Error("Invalid configuration of route '"+e+"': redirectTo and children cannot be used together");if(t.redirectTo&&t.loadChildren)throw new Error("Invalid configuration of route '"+e+"': redirectTo and loadChildren cannot be used together");if(t.children&&t.loadChildren)throw new Error("Invalid configuration of route '"+e+"': children and loadChildren cannot be used together");if(t.redirectTo&&t.component)throw new Error("Invalid configuration of route '"+e+"': redirectTo and component cannot be used together");if(t.path&&t.matcher)throw new Error("Invalid configuration of route '"+e+"': path and matcher cannot be used together");if(void 0===t.redirectTo&&!t.component&&!t.children&&!t.loadChildren)throw new Error("Invalid configuration of route '"+e+"'. One of the following must be provided: component, redirectTo, children or loadChildren");if(void 0===t.path&&void 0===t.matcher)throw new Error("Invalid configuration of route '"+e+"': routes must have either a path or a matcher specified");if("string"==typeof t.path&&"/"===t.path.charAt(0))throw new Error("Invalid configuration of route '"+e+"': path cannot start with a slash");if(""===t.path&&void 0!==t.redirectTo&&void 0===t.pathMatch)throw new Error("Invalid configuration of route '{path: \""+e+'", redirectTo: "'+t.redirectTo+"\"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.");if(void 0!==t.pathMatch&&"full"!==t.pathMatch&&"prefix"!==t.pathMatch)throw new Error("Invalid configuration of route '"+e+"': pathMatch can only be set to 'prefix' or 'full'");t.children&&lc(t.children,e)}function cc(t,e){return e?t||e.path?t&&!e.path?t+"/":!t&&e.path?e.path:t+"/"+e.path:"":t}function hc(t){var e=t.children&&t.children.map(hc),n=e?Object.assign({},t,{children:e}):Object.assign({},t);return!n.component&&(e||n.loadChildren)&&n.outlet&&n.outlet!==ec&&(n.component=tc),n}function pc(t,e){var n,r=Object.keys(t),o=Object.keys(e);if(!r||!o||r.length!=o.length)return!1;for(var i=0;i<r.length;i++)if(t[n=r[i]]!==e[n])return!1;return!0}function fc(t){return Array.prototype.concat.apply([],t)}function dc(t){return t.length>0?t[t.length-1]:null}function gc(t,e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)}function vc(t){return tn(t)?t:Xe(t)?Q(Promise.resolve(t)):Lu(t)}function yc(t,e,n){return n?function(t,e){return pc(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!_c(e.segments,n.segments))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(var r in n.children){if(!e.children[r])return!1;if(!t(e.children[r],n.children[r]))return!1}return!0}(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every((function(n){return e[n]===t[n]}))}(t.queryParams,e.queryParams)&&function t(e,n){return function e(n,r,o){if(n.segments.length>o.length)return!!_c(n.segments.slice(0,o.length),o)&&!r.hasChildren();if(n.segments.length===o.length){if(!_c(n.segments,o))return!1;for(var i in r.children){if(!n.children[i])return!1;if(!t(n.children[i],r.children[i]))return!1}return!0}var a=o.slice(0,n.segments.length),u=o.slice(n.segments.length);return!!_c(n.segments,a)&&!!n.children[ec]&&e(n.children[ec],r,u)}(e,n,n.segments)}(t.root,e.root)}var mc=function(){function t(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}return Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=rc(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return Ec.serialize(this)},t}(),wc=function(){function t(t,e){var n=this;this.segments=t,this.children=e,this.parent=null,gc(e,(function(t,e){return t.parent=n}))}return t.prototype.hasChildren=function(){return this.numberOfChildren>0},Object.defineProperty(t.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return Tc(this)},t}(),bc=function(){function t(t,e){this.path=t,this.parameters=e}return Object.defineProperty(t.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=rc(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return Oc(this)},t}();function _c(t,e){return t.length===e.length&&t.every((function(t,n){return t.path===e[n].path}))}function Cc(t,e){var n=[];return gc(t.children,(function(t,r){r===ec&&(n=n.concat(e(t,r)))})),gc(t.children,(function(t,r){r!==ec&&(n=n.concat(e(t,r)))})),n}var xc=function(){},Sc=function(){function t(){}return t.prototype.parse=function(t){var e=new Uc(t);return new mc(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())},t.prototype.serialize=function(t){var e,n,r;return"/"+function t(e,n){if(!e.hasChildren())return Tc(e);if(n){var r=e.children[ec]?t(e.children[ec],!1):"",o=[];return gc(e.children,(function(e,n){n!==ec&&o.push(n+":"+t(e,!1))})),o.length>0?r+"("+o.join("//")+")":r}var i=Cc(e,(function(n,r){return r===ec?[t(e.children[ec],!1)]:[r+":"+t(n,!1)]}));return Tc(e)+"/("+i.join("//")+")"}(t.root,!0)+(n=t.queryParams,(r=Object.keys(n).map((function(t){var e=n[t];return Array.isArray(e)?e.map((function(e){return Pc(t)+"="+Pc(e)})).join("&"):Pc(t)+"="+Pc(e)}))).length?"?"+r.join("&"):"")+("string"==typeof t.fragment?"#"+(e=t.fragment,encodeURI(e)):"")},t}(),Ec=new Sc;function Tc(t){return t.segments.map((function(t){return Oc(t)})).join("/")}function kc(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Pc(t){return kc(t).replace(/%3B/gi,";")}function Ac(t){return kc(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ic(t){return decodeURIComponent(t)}function Rc(t){return Ic(t.replace(/\+/g,"%20"))}function Oc(t){return""+Ac(t.path)+(e=t.parameters,Object.keys(e).map((function(t){return";"+Ac(t)+"="+Ac(e[t])})).join(""));var e}var Nc=/^[^\/()?;=#]+/;function Mc(t){var e=t.match(Nc);return e?e[0]:""}var Dc=/^[^=?&#]+/,jc=/^[^?&#]+/,Uc=function(){function t(t){this.url=t,this.remaining=t}return t.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new wc([],{}):new wc([],this.parseChildren())},t.prototype.parseQueryParams=function(){var t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t},t.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null},t.prototype.parseChildren=function(){if(""===this.remaining)return{};this.consumeOptional("/");var t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());var e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n[ec]=new wc(t,e)),n},t.prototype.parseSegment=function(){var t=Mc(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(t),new bc(Ic(t),this.parseMatrixParams())},t.prototype.parseMatrixParams=function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t},t.prototype.parseParam=function(t){var e=Mc(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var r=Mc(this.remaining);r&&this.capture(n=r)}t[Ic(e)]=Ic(n)}},t.prototype.parseQueryParam=function(t){var e=function(t){var e=t.match(Dc);return e?e[0]:""}(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var r=function(t){var e=t.match(jc);return e?e[0]:""}(this.remaining);r&&this.capture(n=r)}var o=Rc(e),i=Rc(n);if(t.hasOwnProperty(o)){var a=t[o];Array.isArray(a)||(t[o]=a=[a]),a.push(i)}else t[o]=i}},t.prototype.parseParens=function(t){var e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=Mc(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error("Cannot parse url '"+this.url+"'");var o=void 0;n.indexOf(":")>-1?(o=n.substr(0,n.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=ec);var i=this.parseChildren();e[o]=1===Object.keys(i).length?i[ec]:new wc([],i),this.consumeOptional("//")}return e},t.prototype.peekStartsWith=function(t){return this.remaining.startsWith(t)},t.prototype.consumeOptional=function(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)},t.prototype.capture=function(t){if(!this.consumeOptional(t))throw new Error('Expected "'+t+'".')},t}(),Lc=function(){function t(t){this._root=t}return Object.defineProperty(t.prototype,"root",{get:function(){return this._root.value},enumerable:!0,configurable:!0}),t.prototype.parent=function(t){var e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null},t.prototype.children=function(t){var e=Vc(t,this._root);return e?e.children.map((function(t){return t.value})):[]},t.prototype.firstChild=function(t){var e=Vc(t,this._root);return e&&e.children.length>0?e.children[0].value:null},t.prototype.siblings=function(t){var e=Hc(t,this._root);return e.length<2?[]:e[e.length-2].children.map((function(t){return t.value})).filter((function(e){return e!==t}))},t.prototype.pathFromRoot=function(t){return Hc(t,this._root).map((function(t){return t.value}))},t}();function Vc(t,e){if(t===e.value)return e;for(var n=0,r=e.children;n<r.length;n++){var o=Vc(t,r[n]);if(o)return o}return null}function Hc(t,e){if(t===e.value)return[e];for(var n=0,r=e.children;n<r.length;n++){var o=Hc(t,r[n]);if(o.length)return o.unshift(e),o}return[]}var Fc=function(){function t(t,e){this.value=t,this.children=e}return t.prototype.toString=function(){return"TreeNode("+this.value+")"},t}();function zc(t){var e={};return t&&t.children.forEach((function(t){return e[t.value.outlet]=t})),e}var Bc=function(t){function e(e,n){var r=this;return(r=t.call(this,e)||this).snapshot=n,Kc(r,e),r}return __extends(e,t),e.prototype.toString=function(){return this.snapshot.toString()},e}(Lc);function Zc(t,e){var n=function(t,e){var n=new Wc([],{},{},"",{},ec,e,null,t.root,-1,{});return new Qc("",new Fc(n,[]))}(t,e),r=new Vu([new bc("",{})]),o=new Vu({}),i=new Vu({}),a=new Vu({}),u=new Vu(""),l=new Gc(r,o,a,u,i,ec,e,n.root);return l.snapshot=n.root,new Bc(new Fc(l,[]),n)}var Gc=function(){function t(t,e,n,r,o,i,a,u){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=i,this.component=a,this._futureSnapshot=u}return Object.defineProperty(t.prototype,"routeConfig",{get:function(){return this._futureSnapshot.routeConfig},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=this.params.pipe(Z((function(t){return rc(t)})))),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Z((function(t){return rc(t)})))),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},t}();function qc(t,e){void 0===e&&(e="emptyOnly");var n=t.pathFromRoot,r=0;if("always"!==e)for(r=n.length-1;r>=1;){var o=n[r],i=n[r-1];if(o.routeConfig&&""===o.routeConfig.path)r--;else{if(i.component)break;r--}}return function(t){return t.reduce((function(t,e){return{params:Object.assign({},t.params,e.params),data:Object.assign({},t.data,e.data),resolve:Object.assign({},t.resolve,e._resolvedData)}}),{params:{},data:{},resolve:{}})}(n.slice(r))}var Wc=function(){function t(t,e,n,r,o,i,a,u,l,s,c){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=i,this.component=a,this.routeConfig=u,this._urlSegment=l,this._lastPathIndex=s,this._resolve=c}return Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=rc(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=rc(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return"Route(url:'"+this.url.map((function(t){return t.toString()})).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"},t}(),Qc=function(t){function e(e,n){var r=this;return(r=t.call(this,n)||this).url=e,Kc(r,n),r}return __extends(e,t),e.prototype.toString=function(){return Yc(this._root)},e}(Lc);function Kc(t,e){e.value._routerState=t,e.children.forEach((function(e){return Kc(t,e)}))}function Yc(t){var e=t.children.length>0?" { "+t.children.map(Yc).join(", ")+" } ":"";return""+t.value+e}function Jc(t){if(t.snapshot){var e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,pc(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),pc(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(var n=0;n<t.length;++n)if(!pc(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.url.next(n.url),pc(e.data,n.data)||t.data.next(n.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function $c(t,e){var n,r;return pc(t.params,e.params)&&_c(n=t.url,r=e.url)&&n.every((function(t,e){return pc(t.parameters,r[e].parameters)}))&&!(!t.parent!=!e.parent)&&(!t.parent||$c(t.parent,e.parent))}function Xc(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function th(t,e,n,r,o){var i={};return r&&gc(r,(function(t,e){i[e]=Array.isArray(t)?t.map((function(t){return""+t})):""+t})),new mc(n.root===t?e:function t(e,n,r){var o={};return gc(e.children,(function(e,i){o[i]=e===n?r:t(e,n,r)})),new wc(e.segments,o)}(n.root,t,e),i,o)}var eh=function(){function t(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&Xc(n[0]))throw new Error("Root segment cannot have matrix parameters");var r=n.find((function(t){return"object"==typeof t&&null!=t&&t.outlets}));if(r&&r!==dc(n))throw new Error("{outlets:{}} has to be the last command")}return t.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},t}(),nh=function(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n};function rh(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets[ec]:""+t}function oh(t,e,n){if(t||(t=new wc([],{})),0===t.segments.length&&t.hasChildren())return ih(t,e,n);var r=function(t,e,n){for(var r=0,o=e,i={match:!1,pathIndex:0,commandIndex:0};o<t.segments.length;){if(r>=n.length)return i;var a=t.segments[o],u=rh(n[r]),l=r<n.length-1?n[r+1]:null;if(o>0&&void 0===u)break;if(u&&l&&"object"==typeof l&&void 0===l.outlets){if(!sh(u,l,a))return i;r+=2}else{if(!sh(u,{},a))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}(t,e,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){var i=new wc(t.segments.slice(0,r.pathIndex),{});return i.children[ec]=new wc(t.segments.slice(r.pathIndex),t.children),ih(i,0,o)}return r.match&&0===o.length?new wc(t.segments,{}):r.match&&!t.hasChildren()?ah(t,e,n):r.match?ih(t,0,o):ah(t,e,n)}function ih(t,e,n){if(0===n.length)return new wc(t.segments,{});var r=function(t){var e,n;return"object"!=typeof t[0]?((e={})[ec]=t,e):void 0===t[0].outlets?((n={})[ec]=t,n):t[0].outlets}(n),o={};return gc(r,(function(n,r){null!==n&&(o[r]=oh(t.children[r],e,n))})),gc(t.children,(function(t,e){void 0===r[e]&&(o[e]=t)})),new wc(t.segments,o)}function ah(t,e,n){for(var r=t.segments.slice(0,e),o=0;o<n.length;){if("object"==typeof n[o]&&void 0!==n[o].outlets){var i=uh(n[o].outlets);return new wc(r,i)}if(0===o&&Xc(n[0]))r.push(new bc(t.segments[e].path,n[0])),o++;else{var a=rh(n[o]),u=o<n.length-1?n[o+1]:null;a&&u&&Xc(u)?(r.push(new bc(a,lh(u))),o+=2):(r.push(new bc(a,{})),o++)}}return new wc(r,{})}function uh(t){var e={};return gc(t,(function(t,n){null!==t&&(e[n]=ah(new wc([],{}),0,t))})),e}function lh(t){var e={};return gc(t,(function(t,n){return e[n]=""+t})),e}function sh(t,e,n){return t==n.path&&pc(e,n.parameters)}var ch=function(){function t(t,e,n,r){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=r}return t.prototype.activate=function(t){var e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),Jc(this.futureState.root),this.activateChildRoutes(e,n,t)},t.prototype.deactivateChildRoutes=function(t,e,n){var r=this,o=zc(e);t.children.forEach((function(t){var e=t.value.outlet;r.deactivateRoutes(t,o[e],n),delete o[e]})),gc(o,(function(t,e){r.deactivateRouteAndItsChildren(t,n)}))},t.prototype.deactivateRoutes=function(t,e,n){var r=t.value,o=e?e.value:null;if(r===o)if(r.component){var i=n.getContext(r.outlet);i&&this.deactivateChildRoutes(t,e,i.children)}else this.deactivateChildRoutes(t,e,n);else o&&this.deactivateRouteAndItsChildren(e,n)},t.prototype.deactivateRouteAndItsChildren=function(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)},t.prototype.detachAndStoreRouteSubtree=function(t,e){var n=e.getContext(t.value.outlet);if(n&&n.outlet){var r=n.outlet.detach(),o=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:r,route:t,contexts:o})}},t.prototype.deactivateRouteAndOutlet=function(t,e){var n=this,r=e.getContext(t.value.outlet);if(r){var o=zc(t),i=t.value.component?r.children:e;gc(o,(function(t,e){return n.deactivateRouteAndItsChildren(t,i)})),r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated())}},t.prototype.activateChildRoutes=function(t,e,n){var r=this,o=zc(e);t.children.forEach((function(t){r.activateRoutes(t,o[t.value.outlet],n),r.forwardEvent(new $s(t.value.snapshot))})),t.children.length&&this.forwardEvent(new Ys(t.value.snapshot))},t.prototype.activateRoutes=function(t,e,n){var r=t.value,o=e?e.value:null;if(Jc(r),r===o)if(r.component){var i=n.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,i.children)}else this.activateChildRoutes(t,e,n);else if(r.component){i=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){var a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),i.children.onOutletReAttached(a.contexts),i.attachRef=a.componentRef,i.route=a.route.value,i.outlet&&i.outlet.attach(a.componentRef,a.route.value),hh(a.route)}else{var u=function(t){for(var e=t.parent;e;e=e.parent){var n=e.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig;if(n&&n.component)return null}return null}(r.snapshot),l=u?u.module.componentFactoryResolver:null;i.attachRef=null,i.route=r,i.resolver=l,i.outlet&&i.outlet.activateWith(r,l),this.activateChildRoutes(t,null,i.children)}}else this.activateChildRoutes(t,null,n)},t}();function hh(t){Jc(t.value),t.children.forEach(hh)}function ph(t){return"function"==typeof t}function fh(t){return t instanceof mc}var dh=function(t){this.segmentGroup=t||null},gh=function(t){this.urlTree=t};function vh(t){return new x((function(e){return e.error(new dh(t))}))}function yh(t){return new x((function(e){return e.error(new gh(t))}))}function mh(t){return new x((function(e){return e.error(new Error("Only absolute redirects can have named outlets. redirectTo: '"+t+"'"))}))}var wh=function(){function t(t,e,n,r,o){this.configLoader=e,this.urlSerializer=n,this.urlTree=r,this.config=o,this.allowRedirects=!0,this.ngModule=t.get(Zt)}return t.prototype.apply=function(){var t=this;return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,ec).pipe(Z((function(e){return t.createUrlTree(e,t.urlTree.queryParams,t.urlTree.fragment)}))).pipe(cl((function(e){if(e instanceof gh)return t.allowRedirects=!1,t.match(e.urlTree);if(e instanceof dh)throw t.noMatchError(e);throw e})))},t.prototype.match=function(t){var e=this;return this.expandSegmentGroup(this.ngModule,this.config,t.root,ec).pipe(Z((function(n){return e.createUrlTree(n,t.queryParams,t.fragment)}))).pipe(cl((function(t){if(t instanceof dh)throw e.noMatchError(t);throw t})))},t.prototype.noMatchError=function(t){return new Error("Cannot match any routes. URL Segment: '"+t.segmentGroup+"'")},t.prototype.createUrlTree=function(t,e,n){var r,o=t.segments.length>0?new wc([],((r={})[ec]=t,r)):t;return new mc(o,e,n)},t.prototype.expandSegmentGroup=function(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(Z((function(t){return new wc([],t)}))):this.expandSegment(t,n,e,n.segments,r,!0)},t.prototype.expandChildren=function(t,e,n){var r=this;return function(n,o){if(0===Object.keys(n).length)return Lu({});var i=[],a=[],u={};return gc(n,(function(n,o){var l,s,c=(l=o,s=n,r.expandSegmentGroup(t,e,s,l)).pipe(Z((function(t){return u[o]=t})));o===ec?i.push(c):a.push(c)})),Lu.apply(null,i.concat(a)).pipe(qu(),sl(),Z((function(){return u})))}(n.children)},t.prototype.expandSegment=function(t,e,n,r,o,i){var a=this;return Lu.apply(void 0,n).pipe(Z((function(u){return a.expandSegmentAgainstRoute(t,e,n,u,r,o,i).pipe(cl((function(t){if(t instanceof dh)return Lu(null);throw t})))})),qu(),vl((function(t){return!!t})),cl((function(t,n){if(t instanceof Fu||"EmptyError"===t.name){if(a.noLeftoversInUrl(e,r,o))return Lu(new wc([],{}));throw new dh(e)}throw t})))},t.prototype.noLeftoversInUrl=function(t,e,n){return 0===e.length&&!t.children[n]},t.prototype.expandSegmentAgainstRoute=function(t,e,n,r,o,i,a){return xh(r)!==i?vh(e):void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,o):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,o,i):vh(e)},t.prototype.expandSegmentAgainstRouteUsingRedirect=function(t,e,n,r,o,i){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,i):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,o,i)},t.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(t,e,n,r){var o=this,i=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?yh(i):this.lineralizeSegments(n,i).pipe(K((function(n){var i=new wc(n,{});return o.expandSegment(t,i,e,n,r,!1)})))},t.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(t,e,n,r,o,i){var a=this,u=bh(e,r,o),l=u.matched,s=u.consumedSegments,c=u.lastChild,h=u.positionalParamSegments;if(!l)return vh(e);var p=this.applyRedirectCommands(s,r.redirectTo,h);return r.redirectTo.startsWith("/")?yh(p):this.lineralizeSegments(r,p).pipe(K((function(r){return a.expandSegment(t,e,n,r.concat(o.slice(c)),i,!1)})))},t.prototype.matchSegmentAgainstRoute=function(t,e,n,r){var o=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(Z((function(t){return n._loadedConfig=t,new wc(r,{})}))):Lu(new wc(r,{}));var i=bh(e,n,r),a=i.matched,u=i.consumedSegments,l=i.lastChild;if(!a)return vh(e);var s=r.slice(l);return this.getChildConfig(t,n,r).pipe(K((function(t){var n=t.module,r=t.routes,i=function(t,e,n,r){return n.length>0&&function(t,e,n){return n.some((function(n){return Ch(t,e,n)&&xh(n)!==ec}))}(t,n,r)?{segmentGroup:_h(new wc(e,function(t,e){var n={};n[ec]=e;for(var r=0,o=t;r<o.length;r++){var i=o[r];""===i.path&&xh(i)!==ec&&(n[xh(i)]=new wc([],{}))}return n}(r,new wc(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return n.some((function(n){return Ch(t,e,n)}))}(t,n,r)?{segmentGroup:_h(new wc(t.segments,function(t,e,n,r){for(var o={},i=0,a=n;i<a.length;i++){var u=a[i];Ch(t,e,u)&&!r[xh(u)]&&(o[xh(u)]=new wc([],{}))}return Object.assign({},r,o)}(t,n,r,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,u,s,r),a=i.segmentGroup,l=i.slicedSegments;return 0===l.length&&a.hasChildren()?o.expandChildren(n,r,a).pipe(Z((function(t){return new wc(u,t)}))):0===r.length&&0===l.length?Lu(new wc(u,{})):o.expandSegment(n,a,r,l,ec,!0).pipe(Z((function(t){return new wc(u.concat(t.segments),t.children)})))})))},t.prototype.getChildConfig=function(t,e,n){var r=this;return e.children?Lu(new uc(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Lu(e._loadedConfig):function(t,e,n){var r,o=e.canLoad;return o&&0!==o.length?Q(o).pipe(Z((function(r){var o,i=t.get(r);if(function(t){return t&&ph(t.canLoad)}(i))o=i.canLoad(e,n);else{if(!ph(i))throw new Error("Invalid CanLoad guard");o=i(e,n)}return vc(o)}))).pipe(qu(),(r=function(t){return!0===t},function(t){return t.lift(new yl(r,void 0,t))})):Lu(!0)}(t.injector,e,n).pipe(K((function(n){return n?r.configLoader.load(t.injector,e).pipe(Z((function(t){return e._loadedConfig=t,t}))):function(t){return new x((function(e){return e.error(ic("Cannot load children because the guard of the route \"path: '"+t.path+"'\" returned false"))}))}(e)}))):Lu(new uc([],t))},t.prototype.lineralizeSegments=function(t,e){for(var n=[],r=e.root;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Lu(n);if(r.numberOfChildren>1||!r.children[ec])return mh(t.redirectTo);r=r.children[ec]}},t.prototype.applyRedirectCommands=function(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)},t.prototype.applyRedirectCreatreUrlTree=function(t,e,n,r){var o=this.createSegmentGroup(t,e.root,n,r);return new mc(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)},t.prototype.createQueryParams=function(t,e){var n={};return gc(t,(function(t,r){if("string"==typeof t&&t.startsWith(":")){var o=t.substring(1);n[r]=e[o]}else n[r]=t})),n},t.prototype.createSegmentGroup=function(t,e,n,r){var o=this,i=this.createSegments(t,e.segments,n,r),a={};return gc(e.children,(function(e,i){a[i]=o.createSegmentGroup(t,e,n,r)})),new wc(i,a)},t.prototype.createSegments=function(t,e,n,r){var o=this;return e.map((function(e){return e.path.startsWith(":")?o.findPosParam(t,e,r):o.findOrReturn(e,n)}))},t.prototype.findPosParam=function(t,e,n){var r=n[e.path.substring(1)];if(!r)throw new Error("Cannot redirect to '"+t+"'. Cannot find '"+e.path+"'.");return r},t.prototype.findOrReturn=function(t,e){for(var n=0,r=0,o=e;r<o.length;r++){var i=o[r];if(i.path===t.path)return e.splice(n),i;n++}return t},t}();function bh(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var r=(e.matcher||ac)(n,t,e);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function _h(t){if(1===t.numberOfChildren&&t.children[ec]){var e=t.children[ec];return new wc(t.segments.concat(e.segments),e.children)}return t}function Ch(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function xh(t){return t.outlet||ec}var Sh=function(t){this.path=t,this.route=this.path[this.path.length-1]},Eh=function(t,e){this.component=t,this.route=e};function Th(t,e,n){var r=function(t){if(!t)return null;for(var e=t.parent;e;e=e.parent){var n=e.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(e);return(r?r.module.injector:n).get(t)}function kh(t,e,n){var r=zc(t),o=t.value;gc(r,(function(t,r){kh(t,o.component?e?e.children.getContext(r):null:e,n)})),n.canDeactivateChecks.push(new Eh(o.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,o))}var Ph=Symbol("INITIAL_VALUE");function Ah(){return wl((function(t){return(function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=null,r=null;return O(t[t.length-1])&&(r=t.pop()),"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&l(t[0])&&(t=t[0]),W(t,r).lift(new Bu(n))}).apply(void 0,t.map((function(t){return t.pipe(fl(1),function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){var n=t[t.length-1];O(n)?t.pop():n=null;var r=t.length;return Cl(1!==r||n?r>0?W(t,n):ju(n):Uu(t[0]),e)}}(Ph))}))).pipe(xl((function(t,e){var n=!1;return e.reduce((function(t,r,o){if(t!==Ph)return t;if(r===Ph&&(n=!0),!n){if(!1===r)return r;if(o===e.length-1||fh(r))return r}return t}),t)}),Ph),Wu((function(t){return t!==Ph})),Z((function(t){return fh(t)?t:!0===t})),fl(1))}))}function Ih(t,e){return null!==t&&e&&e(new Js(t)),Lu(!0)}function Rh(t,e){return null!==t&&e&&e(new Ks(t)),Lu(!0)}function Oh(t,e,n){var r=e.routeConfig?e.routeConfig.canActivate:null;return r&&0!==r.length?Lu(r.map((function(r){return Gu((function(){var o,i=Th(r,e,n);if(function(t){return t&&ph(t.canActivate)}(i))o=vc(i.canActivate(e,t));else{if(!ph(i))throw new Error("Invalid CanActivate guard");o=vc(i(e,t))}return o.pipe(vl())}))}))).pipe(Ah()):Lu(!0)}function Nh(t,e,n){var r=e[e.length-1],o=e.slice(0,e.length-1).reverse().map((function(t){return function(t){var e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)})).filter((function(t){return null!==t})).map((function(e){return Gu((function(){return Lu(e.guards.map((function(o){var i,a=Th(o,e.node,n);if(function(t){return t&&ph(t.canActivateChild)}(a))i=vc(a.canActivateChild(r,t));else{if(!ph(a))throw new Error("Invalid CanActivateChild guard");i=vc(a(r,t))}return i.pipe(vl())}))).pipe(Ah())}))}));return Lu(o).pipe(Ah())}var Mh=function(){},Dh=function(){function t(t,e,n,r,o,i){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=i}return t.prototype.recognize=function(){try{var t=Lh(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,ec),n=new Wc([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},ec,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new Fc(n,e),o=new Qc(this.url,r);return this.inheritParamsAndData(o._root),Lu(o)}catch(i){return new x((function(t){return t.error(i)}))}},t.prototype.inheritParamsAndData=function(t){var e=this,n=t.value,r=qc(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),t.children.forEach((function(t){return e.inheritParamsAndData(t)}))},t.prototype.processSegmentGroup=function(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)},t.prototype.processChildren=function(t,e){var n,r=this,o=Cc(e,(function(e,n){return r.processSegmentGroup(t,e,n)}));return n={},o.forEach((function(t){var e=n[t.value.outlet];if(e){var r=e.url.map((function(t){return t.toString()})).join("/"),o=t.value.url.map((function(t){return t.toString()})).join("/");throw new Error("Two segments cannot have the same outlet name: '"+r+"' and '"+o+"'.")}n[t.value.outlet]=t.value})),o.sort((function(t,e){return t.value.outlet===ec?-1:e.value.outlet===ec?1:t.value.outlet.localeCompare(e.value.outlet)})),o},t.prototype.processSegment=function(t,e,n,r){for(var o=0,i=t;o<i.length;o++){var a=i[o];try{return this.processSegmentAgainstRoute(a,e,n,r)}catch(u){if(!(u instanceof Mh))throw u}}if(this.noLeftoversInUrl(e,n,r))return[];throw new Mh},t.prototype.noLeftoversInUrl=function(t,e,n){return 0===e.length&&!t.children[n]},t.prototype.processSegmentAgainstRoute=function(t,e,n,r){if(t.redirectTo)throw new Mh;if((t.outlet||ec)!==r)throw new Mh;var o,i=[],a=[];if("**"===t.path){var u=n.length>0?dc(n).parameters:{};o=new Wc(n,u,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Fh(t),r,t.component,t,jh(e),Uh(e)+n.length,zh(t))}else{var l=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new Mh;return{consumedSegments:[],lastChild:0,parameters:{}}}var r=(e.matcher||ac)(n,t,e);if(!r)throw new Mh;var o={};gc(r.posParams,(function(t,e){o[e]=t.path}));var i=r.consumed.length>0?Object.assign({},o,r.consumed[r.consumed.length-1].parameters):o;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:i}}(e,t,n);i=l.consumedSegments,a=n.slice(l.lastChild),o=new Wc(i,l.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Fh(t),r,t.component,t,jh(e),Uh(e)+i.length,zh(t))}var s=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),c=Lh(e,i,a,s,this.relativeLinkResolution),h=c.segmentGroup,p=c.slicedSegments;if(0===p.length&&h.hasChildren()){var f=this.processChildren(s,h);return[new Fc(o,f)]}if(0===s.length&&0===p.length)return[new Fc(o,[])];var d=this.processSegment(s,h,p,ec);return[new Fc(o,d)]},t}();function jh(t){for(var e=t;e._sourceSegment;)e=e._sourceSegment;return e}function Uh(t){for(var e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;e._sourceSegment;)n+=(e=e._sourceSegment)._segmentIndexShift?e._segmentIndexShift:0;return n-1}function Lh(t,e,n,r,o){if(n.length>0&&function(t,e,n){return n.some((function(n){return Vh(t,e,n)&&Hh(n)!==ec}))}(t,n,r)){var i=new wc(e,function(t,e,n,r){var o={};o[ec]=r,r._sourceSegment=t,r._segmentIndexShift=e.length;for(var i=0,a=n;i<a.length;i++){var u=a[i];if(""===u.path&&Hh(u)!==ec){var l=new wc([],{});l._sourceSegment=t,l._segmentIndexShift=e.length,o[Hh(u)]=l}}return o}(t,e,r,new wc(n,t.children)));return i._sourceSegment=t,i._segmentIndexShift=e.length,{segmentGroup:i,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some((function(n){return Vh(t,e,n)}))}(t,n,r)){var a=new wc(t.segments,function(t,e,n,r,o,i){for(var a={},u=0,l=r;u<l.length;u++){var s=l[u];if(Vh(t,n,s)&&!o[Hh(s)]){var c=new wc([],{});c._sourceSegment=t,c._segmentIndexShift="legacy"===i?t.segments.length:e.length,a[Hh(s)]=c}}return Object.assign({},o,a)}(t,e,n,r,t.children,o));return a._sourceSegment=t,a._segmentIndexShift=e.length,{segmentGroup:a,slicedSegments:n}}var u=new wc(t.segments,t.children);return u._sourceSegment=t,u._segmentIndexShift=e.length,{segmentGroup:u,slicedSegments:n}}function Vh(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function Hh(t){return t.outlet||ec}function Fh(t){return t.data||{}}function zh(t){return t.resolve||{}}function Bh(t,e,n,r){var o=Th(t,e,r);return vc(o.resolve?o.resolve(e,n):o(e,n))}function Zh(t){return function(e){return e.pipe(wl((function(e){var n=t(e);return n?Q(n).pipe(Z((function(){return e}))):Q([e])})))}}var Gh=function(){},qh=function(){function t(){}return t.prototype.shouldDetach=function(t){return!1},t.prototype.store=function(t,e){},t.prototype.shouldAttach=function(t){return!1},t.prototype.retrieve=function(t){return null},t.prototype.shouldReuseRoute=function(t,e){return t.routeConfig===e.routeConfig},t}(),Wh=new Rt("ROUTES"),Qh=function(){function t(t,e,n,r){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=r}return t.prototype.load=function(t,e){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(e),this.loadModuleFactory(e.loadChildren).pipe(Z((function(r){n.onLoadEndListener&&n.onLoadEndListener(e);var o=r.create(t);return new uc(fc(o.injector.get(Wh)).map(hc),o)})))},t.prototype.loadModuleFactory=function(t){var e=this;return"string"==typeof t?Q(this.loader.load(t)):vc(t()).pipe(K((function(t){return t instanceof Gt?Lu(t):Q(e.compiler.compileModuleAsync(t))})))},t}(),Kh=function(){},Yh=function(){function t(){}return t.prototype.shouldProcessUrl=function(t){return!0},t.prototype.extract=function(t){return t},t.prototype.merge=function(t,e){return t},t}();function Jh(t){throw t}function $h(t,e,n){return e.parse("/")}function Xh(t,e){return Lu(null)}var tp=function(){function t(t,e,n,r,o,i,a,u){var l=this;this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=r,this.config=u,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new I,this.errorHandler=Jh,this.malformedUriErrorHandler=$h,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Xh,afterPreactivation:Xh},this.urlHandlingStrategy=new Yh,this.routeReuseStrategy=new qh,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=o.get(Zt),this.console=o.get(Fo);var s=o.get(ai);this.isNgZoneEnabled=s instanceof ai,this.resetConfig(u),this.currentUrlTree=new mc(new wc([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Qh(i,a,(function(t){return l.triggerEvent(new Ws(t))}),(function(t){return l.triggerEvent(new Qs(t))})),this.routerState=Zc(this.currentUrlTree,this.rootComponentType),this.transitions=new Vu({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()}return t.prototype.setupNavigations=function(t){var e=this,n=this.events;return t.pipe(Wu((function(t){return 0!==t.id})),Z((function(t){return Object.assign({},t,{extractedUrl:e.urlHandlingStrategy.extract(t.rawUrl)})})),wl((function(t){var r,o,i,a=!1,u=!1;return Lu(t).pipe(el((function(t){e.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:e.lastSuccessfulNavigation?Object.assign({},e.lastSuccessfulNavigation,{previousNavigation:null}):null}})),wl((function(t){var r,o,i,a,u=!e.navigated||t.extractedUrl.toString()!==e.browserUrlTree.toString();if(("reload"===e.onSameUrlNavigation||u)&&e.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Lu(t).pipe(wl((function(t){var r=e.transitions.getValue();return n.next(new Ls(t.id,e.serializeUrl(t.extractedUrl),t.source,t.restoredState)),r!==e.transitions.getValue()?Du:[t]})),wl((function(t){return Promise.resolve(t)})),(r=e.ngModule.injector,o=e.configLoader,i=e.urlSerializer,a=e.config,function(t){return t.pipe(wl((function(t){return function(t,e,n,r,o){return new wh(t,e,n,r,o).apply()}(r,o,i,t.extractedUrl,a).pipe(Z((function(e){return Object.assign({},t,{urlAfterRedirects:e})})))})))}),el((function(t){e.currentNavigation=Object.assign({},e.currentNavigation,{finalUrl:t.urlAfterRedirects})})),function(t,n,r,o,i){return function(r){return r.pipe(K((function(r){return function(t,e,n,r,o,i){return void 0===o&&(o="emptyOnly"),void 0===i&&(i="legacy"),new Dh(t,e,n,r,o,i).recognize()}(t,n,r.urlAfterRedirects,(a=r.urlAfterRedirects,e.serializeUrl(a)),o,i).pipe(Z((function(t){return Object.assign({},r,{targetSnapshot:t})})));var a})))}}(e.rootComponentType,e.config,0,e.paramsInheritanceStrategy,e.relativeLinkResolution),el((function(t){"eager"===e.urlUpdateStrategy&&(t.extras.skipLocationChange||e.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),e.browserUrlTree=t.urlAfterRedirects)})),el((function(t){var r=new zs(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);n.next(r)})));if(u&&e.rawUrlTree&&e.urlHandlingStrategy.shouldProcessUrl(e.rawUrlTree)){var l=t.id,s=t.extractedUrl,c=t.source,h=t.restoredState,p=t.extras,f=new Ls(l,e.serializeUrl(s),c,h);n.next(f);var d=Zc(s,e.rootComponentType).snapshot;return Lu(Object.assign({},t,{targetSnapshot:d,urlAfterRedirects:s,extras:Object.assign({},p,{skipLocationChange:!1,replaceUrl:!1})}))}return e.rawUrlTree=t.rawUrl,e.browserUrlTree=t.urlAfterRedirects,t.resolve(null),Du})),Zh((function(t){var n=t.targetSnapshot,r=t.id,o=t.extractedUrl,i=t.rawUrl,a=t.extras,u=a.skipLocationChange,l=a.replaceUrl;return e.hooks.beforePreactivation(n,{navigationId:r,appliedUrlTree:o,rawUrlTree:i,skipLocationChange:!!u,replaceUrl:!!l})})),el((function(t){var n=new Bs(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)})),Z((function(t){return Object.assign({},t,{guards:(n=t.targetSnapshot,r=t.currentSnapshot,o=e.rootContexts,i=n._root,function t(e,n,r,o,i){void 0===i&&(i={canDeactivateChecks:[],canActivateChecks:[]});var a=zc(n);return e.children.forEach((function(e){!function(e,n,r,o,i){void 0===i&&(i={canDeactivateChecks:[],canActivateChecks:[]});var a=e.value,u=n?n.value:null,l=r?r.getContext(e.value.outlet):null;if(u&&a.routeConfig===u.routeConfig){var s=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!_c(t.url,e.url);case"pathParamsOrQueryParamsChange":return!_c(t.url,e.url)||!pc(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!$c(t,e)||!pc(t.queryParams,e.queryParams);case"paramsChange":default:return!$c(t,e)}}(u,a,a.routeConfig.runGuardsAndResolvers);s?i.canActivateChecks.push(new Sh(o)):(a.data=u.data,a._resolvedData=u._resolvedData),t(e,n,a.component?l?l.children:null:r,o,i),s&&i.canDeactivateChecks.push(new Eh(l&&l.outlet&&l.outlet.component||null,u))}else u&&kh(n,l,i),i.canActivateChecks.push(new Sh(o)),t(e,null,a.component?l?l.children:null:r,o,i)}(e,a[e.value.outlet],r,o.concat([e.value]),i),delete a[e.value.outlet]})),gc(a,(function(t,e){return kh(t,r.getContext(e),i)})),i}(i,r?r._root:null,o,[i.value]))});var n,r,o,i})),(o=e.ngModule.injector,i=function(t){return e.triggerEvent(t)},function(t){return t.pipe(K((function(t){var e=t.targetSnapshot,n=t.currentSnapshot,r=t.guards,a=r.canActivateChecks,u=r.canDeactivateChecks;return 0===u.length&&0===a.length?Lu(Object.assign({},t,{guardsResult:!0})):function(t,e,n,r){return Q(t).pipe(K((function(t){return function(t,e,n,r,o){var i=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return i&&0!==i.length?Lu(i.map((function(i){var a,u=Th(i,e,o);if(function(t){return t&&ph(t.canDeactivate)}(u))a=vc(u.canDeactivate(t,e,n,r));else{if(!ph(u))throw new Error("Invalid CanDeactivate guard");a=vc(u(t,e,n,r))}return a.pipe(vl())}))).pipe(Ah()):Lu(!0)}(t.component,t.route,n,e,r)})),vl((function(t){return!0!==t}),!0))}(u,e,n,o).pipe(K((function(t){return t&&"boolean"==typeof t?function(t,e,n,r){return Q(e).pipe(Tl((function(e){return Q([Rh(e.route.parent,r),Ih(e.route,r),Nh(t,e.path,n),Oh(t,e.route,n)]).pipe(qu(),vl((function(t){return!0!==t}),!0))})),vl((function(t){return!0!==t}),!0))}(e,a,o,i):Lu(t)})),Z((function(e){return Object.assign({},t,{guardsResult:e})})))})))}),el((function(t){if(fh(t.guardsResult)){var n=ic('Redirecting to "'+e.serializeUrl(t.guardsResult)+'"');throw n.url=t.guardsResult,n}})),el((function(t){var n=new Zs(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);e.triggerEvent(n)})),Wu((function(t){if(!t.guardsResult){e.resetUrlToCurrentUrlTree();var r=new Hs(t.id,e.serializeUrl(t.extractedUrl),"");return n.next(r),t.resolve(!1),!1}return!0})),Zh((function(t){if(t.guards.canActivateChecks.length)return Lu(t).pipe(el((function(t){var n=new Gs(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)})),function(t,e){return function(n){return n.pipe(K((function(n){var r=n.targetSnapshot,o=n.guards.canActivateChecks;return o.length?Q(o).pipe(Tl((function(n){return function(t,e,n,r){return function(t,e,n,r){var o=Object.keys(t);if(0===o.length)return Lu({});if(1===o.length){var i=o[0];return Bh(t[i],e,n,r).pipe(Z((function(t){var e;return(e={})[i]=t,e})))}var a={};return Q(o).pipe(K((function(o){return Bh(t[o],e,n,r).pipe(Z((function(t){return a[o]=t,t})))}))).pipe(sl(),Z((function(){return a})))}(t._resolve,t,e,r).pipe(Z((function(e){return t._resolvedData=e,t.data=Object.assign({},t.data,qc(t,n).resolve),null})))}(n.route,r,t,e)})),function(t,e){return arguments.length>=2?function(n){return b(xl(t,e),$u(1),al(e))(n)}:function(e){return b(xl((function(e,n,r){return t(e,n,r+1)})),$u(1))(e)}}((function(t,e){return t})),Z((function(t){return n}))):Lu(n)})))}}(e.paramsInheritanceStrategy,e.ngModule.injector),el((function(t){var n=new qs(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)})))})),Zh((function(t){var n=t.targetSnapshot,r=t.id,o=t.extractedUrl,i=t.rawUrl,a=t.extras,u=a.skipLocationChange,l=a.replaceUrl;return e.hooks.afterPreactivation(n,{navigationId:r,appliedUrlTree:o,rawUrlTree:i,skipLocationChange:!!u,replaceUrl:!!l})})),Z((function(t){var n,r,o,i,a=(n=e.routeReuseStrategy,r=t.targetSnapshot,o=t.currentRouterState,i=function t(e,n,r){if(r&&e.shouldReuseRoute(n.value,r.value.snapshot)){(l=r.value)._futureSnapshot=n.value;var o=function(e,n,r){return n.children.map((function(n){for(var o=0,i=r.children;o<i.length;o++){var a=i[o];if(e.shouldReuseRoute(a.value.snapshot,n.value))return t(e,n,a)}return t(e,n)}))}(e,n,r);return new Fc(l,o)}var i=e.retrieve(n.value);if(i){var a=i.route;return function t(e,n){if(e.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=e.value;for(var r=0;r<e.children.length;++r)t(e.children[r],n.children[r])}(n,a),a}var u,l=new Gc(new Vu((u=n.value).url),new Vu(u.params),new Vu(u.queryParams),new Vu(u.fragment),new Vu(u.data),u.outlet,u.component,u);return o=n.children.map((function(n){return t(e,n)})),new Fc(l,o)}(n,r._root,o?o._root:void 0),new Bc(i,r));return Object.assign({},t,{targetRouterState:a})})),el((function(t){e.currentUrlTree=t.urlAfterRedirects,e.rawUrlTree=e.urlHandlingStrategy.merge(e.currentUrlTree,t.rawUrl),e.routerState=t.targetRouterState,"deferred"===e.urlUpdateStrategy&&(t.extras.skipLocationChange||e.setBrowserUrl(e.rawUrlTree,!!t.extras.replaceUrl,t.id,t.extras.state),e.browserUrlTree=t.urlAfterRedirects)})),function(t,e,n){return Z((function(r){return new ch(e,r.targetRouterState,r.currentRouterState,n).activate(t),r}))}(e.rootContexts,e.routeReuseStrategy,(function(t){return e.triggerEvent(t)})),el({next:function(){a=!0},complete:function(){a=!0}}),(r=function(){if(!a&&!u){e.resetUrlToCurrentUrlTree();var r=new Hs(t.id,e.serializeUrl(t.extractedUrl),"Navigation ID "+t.id+" is not equal to the current navigation id "+e.navigationId);n.next(r),t.resolve(!1)}e.currentNavigation=null},function(t){return t.lift(new kl(r))}),cl((function(r){if(u=!0,(l=r)&&l[oc]){var o=fh(r.url);o||(e.navigated=!0,e.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));var i=new Hs(t.id,e.serializeUrl(t.extractedUrl),r.message);n.next(i),t.resolve(!1),o&&e.navigateByUrl(r.url)}else{e.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);var a=new Fs(t.id,e.serializeUrl(t.extractedUrl),r);n.next(a);try{t.resolve(e.errorHandler(r))}catch(s){t.reject(s)}}var l;return Du})))})))},t.prototype.resetRootComponentType=function(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType},t.prototype.getTransition=function(){var t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t},t.prototype.setTransition=function(t){this.transitions.next(Object.assign({},this.getTransition(),t))},t.prototype.initialNavigation=function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})},t.prototype.setUpLocationChangeListener=function(){var t=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe((function(e){var n=t.parseUrl(e.url),r="popstate"===e.type?"popstate":"hashchange",o=e.state&&e.state.navigationId?e.state:null;setTimeout((function(){t.scheduleNavigation(n,r,o,{replaceUrl:!0})}),0)})))},Object.defineProperty(t.prototype,"url",{get:function(){return this.serializeUrl(this.currentUrlTree)},enumerable:!0,configurable:!0}),t.prototype.getCurrentNavigation=function(){return this.currentNavigation},t.prototype.triggerEvent=function(t){this.events.next(t)},t.prototype.resetConfig=function(t){lc(t),this.config=t.map(hc),this.navigated=!1,this.lastSuccessfulId=-1},t.prototype.ngOnDestroy=function(){this.dispose()},t.prototype.dispose=function(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)},t.prototype.createUrlTree=function(t,e){void 0===e&&(e={});var n=e.relativeTo,r=e.queryParams,o=e.fragment,i=e.preserveQueryParams,a=e.queryParamsHandling,u=e.preserveFragment;ie()&&i&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var l=n||this.routerState.root,s=u?this.currentUrlTree.fragment:o,c=null;if(a)switch(a){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(t,e,n,r,o){if(0===n.length)return th(e.root,e.root,e,r,o);var i=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new eh(!0,0,t);var e=0,n=!1,r=t.reduce((function(t,r,o){if("object"==typeof r&&null!=r){if(r.outlets){var i={};return gc(r.outlets,(function(t,e){i[e]="string"==typeof t?t.split("/"):t})),t.concat([{outlets:i}])}if(r.segmentPath)return t.concat([r.segmentPath])}return"string"!=typeof r?t.concat([r]):0===o?(r.split("/").forEach((function(r,o){0==o&&"."===r||(0==o&&""===r?n=!0:".."===r?e++:""!=r&&t.push(r))})),t):t.concat([r])}),[]);return new eh(n,e,r)}(n);if(i.toRoot())return th(e.root,new wc([],{}),e,r,o);var a=function(t,e,n){if(t.isAbsolute)return new nh(e.root,!0,0);if(-1===n.snapshot._lastPathIndex)return new nh(n.snapshot._urlSegment,!0,0);var r=Xc(t.commands[0])?0:1;return function(t,e,n){for(var r=t,o=e,i=n;i>o;){if(i-=o,!(r=r.parent))throw new Error("Invalid number of '../'");o=r.segments.length}return new nh(r,!1,o-i)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,t.numberOfDoubleDots)}(i,e,t),u=a.processChildren?ih(a.segmentGroup,a.index,i.commands):oh(a.segmentGroup,a.index,i.commands);return th(a.segmentGroup,u,e,r,o)}(l,this.currentUrlTree,t,c,s)},t.prototype.navigateByUrl=function(t,e){void 0===e&&(e={skipLocationChange:!1}),ie()&&this.isNgZoneEnabled&&!ai.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=fh(t)?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,e)},t.prototype.navigate=function(t,e){return void 0===e&&(e={skipLocationChange:!1}),function(t){for(var e=0;e<t.length;e++){var n=t[e];if(null==n)throw new Error("The requested path contains "+n+" segment at index "+e)}}(t),this.navigateByUrl(this.createUrlTree(t,e),e)},t.prototype.serializeUrl=function(t){return this.urlSerializer.serialize(t)},t.prototype.parseUrl=function(t){var e;try{e=this.urlSerializer.parse(t)}catch(n){e=this.malformedUriErrorHandler(n,this.urlSerializer,t)}return e},t.prototype.isActive=function(t,e){if(fh(t))return yc(this.currentUrlTree,t,e);var n=this.parseUrl(t);return yc(this.currentUrlTree,n,e)},t.prototype.removeEmptyProps=function(t){return Object.keys(t).reduce((function(e,n){var r=t[n];return null!=r&&(e[n]=r),e}),{})},t.prototype.processNavigations=function(){var t=this;this.navigations.subscribe((function(e){t.navigated=!0,t.lastSuccessfulId=e.id,t.events.next(new Vs(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(t.currentUrlTree))),t.lastSuccessfulNavigation=t.currentNavigation,t.currentNavigation=null,e.resolve(!0)}),(function(e){t.console.warn("Unhandled Navigation Error: ")}))},t.prototype.scheduleNavigation=function(t,e,n,r){var o=this.getTransition();if(o&&"imperative"!==e&&"imperative"===o.source&&o.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(o&&"hashchange"==e&&"popstate"===o.source&&o.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(o&&"popstate"==e&&"hashchange"===o.source&&o.rawUrl.toString()===t.toString())return Promise.resolve(!0);var i=null,a=null,u=new Promise((function(t,e){i=t,a=e})),l=++this.navigationId;return this.setTransition({id:l,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:r,resolve:i,reject:a,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch((function(t){return Promise.reject(t)}))},t.prototype.setBrowserUrl=function(t,e,n,r){var o=this.urlSerializer.serialize(t);r=r||{},this.location.isCurrentPathEqualTo(o)||e?this.location.replaceState(o,"",Object.assign({},r,{navigationId:n})):this.location.go(o,"",Object.assign({},r,{navigationId:n}))},t.prototype.resetStateAndUrl=function(t,e,n){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()},t.prototype.resetUrlToCurrentUrlTree=function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})},t}(),ep=function(){this.outlet=null,this.route=null,this.resolver=null,this.children=new np,this.attachRef=null},np=function(){function t(){this.contexts=new Map}return t.prototype.onChildOutletCreated=function(t,e){var n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)},t.prototype.onChildOutletDestroyed=function(t){var e=this.getContext(t);e&&(e.outlet=null)},t.prototype.onOutletDeactivated=function(){var t=this.contexts;return this.contexts=new Map,t},t.prototype.onOutletReAttached=function(t){this.contexts=t},t.prototype.getOrCreateContext=function(t){var e=this.getContext(t);return e||(e=new ep,this.contexts.set(t,e)),e},t.prototype.getContext=function(t){return this.contexts.get(t)||null},t}(),rp=function(){function t(t,e,n,r,o){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new Io,this.deactivateEvents=new Io,this.name=r||ec,t.onChildOutletCreated(this.name,this)}return t.prototype.ngOnDestroy=function(){this.parentContexts.onChildOutletDestroyed(this.name)},t.prototype.ngOnInit=function(){if(!this.activated){var t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}},Object.defineProperty(t.prototype,"isActivated",{get:function(){return!!this.activated},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"component",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activatedRoute",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activatedRouteData",{get:function(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}},enumerable:!0,configurable:!0}),t.prototype.detach=function(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();var t=this.activated;return this.activated=null,this._activatedRoute=null,t},t.prototype.attach=function(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)},t.prototype.deactivate=function(){if(this.activated){var t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}},t.prototype.activateWith=function(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;var n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),r=this.parentContexts.getOrCreateContext(this.name).children,o=new op(t,r,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,o),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)},t}(),op=function(){function t(t,e,n){this.route=t,this.childContexts=e,this.parent=n}return t.prototype.get=function(t,e){return t===Gc?this.route:t===np?this.childContexts:this.parent.get(t,e)},t}(),ip=function(){},ap=function(){function t(){}return t.prototype.preload=function(t,e){return e().pipe(cl((function(){return Lu(null)})))},t}(),up=function(){function t(){}return t.prototype.preload=function(t,e){return Lu(null)},t}(),lp=function(){function t(t,e,n,r,o){this.router=t,this.injector=r,this.preloadingStrategy=o,this.loader=new Qh(e,n,(function(e){return t.triggerEvent(new Ws(e))}),(function(e){return t.triggerEvent(new Qs(e))}))}return t.prototype.setUpPreloading=function(){var t=this;this.subscription=this.router.events.pipe(Wu((function(t){return t instanceof Vs})),Tl((function(){return t.preload()}))).subscribe((function(){}))},t.prototype.preload=function(){var t=this.injector.get(Zt);return this.processRoutes(t,this.router.config)},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},t.prototype.processRoutes=function(t,e){for(var n=[],r=0,o=e;r<o.length;r++){var i=o[r];if(i.loadChildren&&!i.canLoad&&i._loadedConfig){var a=i._loadedConfig;n.push(this.processRoutes(a.module,a.routes))}else i.loadChildren&&!i.canLoad?n.push(this.preloadConfig(t,i)):i.children&&n.push(this.processRoutes(t,i.children))}return Q(n).pipe(X(),Z((function(t){})))},t.prototype.preloadConfig=function(t,e){var n=this;return this.preloadingStrategy.preload(e,(function(){return n.loader.load(t.injector,e).pipe(K((function(t){return e._loadedConfig=t,n.processRoutes(t.module,t.routes)})))}))},t}(),sp=function(){function t(t,e,n){void 0===n&&(n={}),this.router=t,this.viewportScroller=e,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}return t.prototype.init=function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()},t.prototype.createScrollEvents=function(){var t=this;return this.router.events.subscribe((function(e){e instanceof Ls?(t.store[t.lastId]=t.viewportScroller.getScrollPosition(),t.lastSource=e.navigationTrigger,t.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Vs&&(t.lastId=e.id,t.scheduleScrollEvent(e,t.router.parseUrl(e.urlAfterRedirects).fragment))}))},t.prototype.consumeScrollEvents=function(){var t=this;return this.router.events.subscribe((function(e){e instanceof Xs&&(e.position?"top"===t.options.scrollPositionRestoration?t.viewportScroller.scrollToPosition([0,0]):"enabled"===t.options.scrollPositionRestoration&&t.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===t.options.anchorScrolling?t.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==t.options.scrollPositionRestoration&&t.viewportScroller.scrollToPosition([0,0]))}))},t.prototype.scheduleScrollEvent=function(t,e){this.router.triggerEvent(new Xs(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))},t.prototype.ngOnDestroy=function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()},t}(),cp=new Rt("ROUTER_CONFIGURATION"),hp=new Rt("ROUTER_FORROOT_GUARD"),pp=[gu,{provide:xc,useClass:Sc},{provide:tp,useFactory:wp,deps:[Si,xc,np,gu,Ue,Ti,Jo,Wh,cp,[Kh,new ft],[Gh,new ft]]},np,{provide:Gc,useFactory:bp,deps:[tp]},{provide:Ti,useClass:Ai},lp,up,ap,{provide:cp,useValue:{enableTracing:!1}}];function fp(){return new mi("Router",tp)}var dp=function(){function t(t,e){}return t.forRoot=function(e,n){return{ngModule:t,providers:[pp,mp(e),{provide:hp,useFactory:yp,deps:[[tp,new ft,new gt]]},{provide:cp,useValue:n||{}},{provide:fu,useFactory:vp,deps:[hu,[new pt(du),new ft],cp]},{provide:sp,useFactory:gp,deps:[tp,Nu,cp]},{provide:ip,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:up},{provide:mi,multi:!0,useFactory:fp},[_p,{provide:No,multi:!0,useFactory:Cp,deps:[_p]},{provide:Sp,useFactory:xp,deps:[_p]},{provide:Ho,multi:!0,useExisting:Sp}]]}},t.forChild=function(e){return{ngModule:t,providers:[mp(e)]}},t}();function gp(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new sp(t,e,n)}function vp(t,e,n){return void 0===n&&(n={}),n.useHash?new yu(t,e):new mu(t,e)}function yp(t){if(t)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function mp(t){return[{provide:Ge,multi:!0,useValue:t},{provide:Wh,multi:!0,useValue:t}]}function wp(t,e,n,r,o,i,a,u,l,s,c){void 0===l&&(l={});var h=new tp(null,e,n,r,o,i,a,fc(u));if(s&&(h.urlHandlingStrategy=s),c&&(h.routeReuseStrategy=c),l.errorHandler&&(h.errorHandler=l.errorHandler),l.malformedUriErrorHandler&&(h.malformedUriErrorHandler=l.malformedUriErrorHandler),l.enableTracing){var p=Il();h.events.subscribe((function(t){p.logGroup("Router Event: "+t.constructor.name),p.log(t.toString()),p.log(t),p.logGroupEnd()}))}return l.onSameUrlNavigation&&(h.onSameUrlNavigation=l.onSameUrlNavigation),l.paramsInheritanceStrategy&&(h.paramsInheritanceStrategy=l.paramsInheritanceStrategy),l.urlUpdateStrategy&&(h.urlUpdateStrategy=l.urlUpdateStrategy),l.relativeLinkResolution&&(h.relativeLinkResolution=l.relativeLinkResolution),h}function bp(t){return t.routerState.root}var _p=function(){function t(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new I}return t.prototype.appInitializer=function(){var t=this;return this.injector.get(pu,Promise.resolve(null)).then((function(){var e=null,n=new Promise((function(t){return e=t})),r=t.injector.get(tp),o=t.injector.get(cp);if(t.isLegacyDisabled(o)||t.isLegacyEnabled(o))e(!0);else if("disabled"===o.initialNavigation)r.setUpLocationChangeListener(),e(!0);else{if("enabled"!==o.initialNavigation)throw new Error("Invalid initialNavigation options: '"+o.initialNavigation+"'");r.hooks.afterPreactivation=function(){return t.initNavigation?Lu(null):(t.initNavigation=!0,e(!0),t.resultOfPreactivationDone)},r.initialNavigation()}return n}))},t.prototype.bootstrapListener=function(t){var e=this.injector.get(cp),n=this.injector.get(lp),r=this.injector.get(sp),o=this.injector.get(tp),i=this.injector.get(Si);t===i.components[0]&&(this.isLegacyEnabled(e)?o.initialNavigation():this.isLegacyDisabled(e)&&o.setUpLocationChangeListener(),n.setUpPreloading(),r.init(),o.resetRootComponentType(i.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())},t.prototype.isLegacyEnabled=function(t){return"legacy_enabled"===t.initialNavigation||!0===t.initialNavigation||void 0===t.initialNavigation},t.prototype.isLegacyDisabled=function(t){return"legacy_disabled"===t.initialNavigation||!1===t.initialNavigation},t}();function Cp(t){return t.appInitializer.bind(t)}function xp(t){return t.bootstrapListener.bind(t)}var Sp=new Rt("Router Initializer"),Ep=er({encapsulation:2,styles:[],data:{}});function Tp(t){return ra(0,[(t()(),Zi(0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),lo(1,212992,null,0,rp,[np,Un,ln,[8,null],Ne],null,null)],(function(t,e){t(e,1,0)}),null)}var kp,Pp=Lr("ng-component",tc,(function(t){return ra(0,[(t()(),Zi(0,0,null,null,1,"ng-component",[],null,null,null,Tp,Ep)),lo(1,49152,null,0,tc,[],null,null)],null,null)}),{},{},[]),Ap=function(){function t(t){this.data=t}return t.prototype.ngOnInit=function(){var t=this;this.data.dataObservable.subscribe((function(e){t.valueReceived=e}))},t}(),Ip=((kp=function(){var t=this;this.dataBehSubject=new I,this.dataObservable=this.dataBehSubject.asObservable(),setInterval((function(){t.dataBehSubject.next("hello")}),5e3)}).ngInjectableDef=mt({factory:function(){return new kp},token:kp,providedIn:"root"}),kp),Rp=er({encapsulation:0,styles:[[""]],data:{}});function Op(t){return ra(0,[(t()(),Zi(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),ta(-1,null,["page1 works!"])),(t()(),Zi(2,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),ta(3,null,["",""]))],null,(function(t,e){t(e,3,0,e.component.valueReceived)}))}var Np=Lr("app-page1",Ap,(function(t){return ra(0,[(t()(),Zi(0,0,null,null,1,"app-page1",[],null,null,null,Op,Rp)),lo(1,114688,null,0,Ap,[Ip],null,null)],(function(t,e){t(e,1,0)}),null)}),{},{},[]),Mp=er({encapsulation:0,styles:['[_nghost-%COMP%] {\n font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";\n font-size: 14px;\n color: #333;\n box-sizing: border-box;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n\n h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%] {\n margin: 8px 0;\n }\n\n p[_ngcontent-%COMP%] {\n margin: 0;\n }\n\n .spacer[_ngcontent-%COMP%] {\n flex: 1;\n }\n\n .toolbar[_ngcontent-%COMP%] {\n height: 60px;\n margin: -8px;\n display: flex;\n align-items: center;\n background-color: #1976d2;\n color: white;\n font-weight: 600;\n }\n\n .toolbar[_ngcontent-%COMP%] img[_ngcontent-%COMP%] {\n margin: 0 16px;\n }\n\n .toolbar[_ngcontent-%COMP%] #twitter-logo[_ngcontent-%COMP%] {\n height: 40px;\n margin: 0 16px;\n }\n\n .toolbar[_ngcontent-%COMP%] #twitter-logo[_ngcontent-%COMP%]:hover {\n opacity: 0.8;\n }\n\n .content[_ngcontent-%COMP%] {\n display: flex;\n margin: 32px auto;\n padding: 0 16px;\n max-width: 960px;\n flex-direction: column;\n align-items: center;\n }\n\n svg.material-icons[_ngcontent-%COMP%] {\n height: 24px;\n width: auto;\n }\n\n svg.material-icons[_ngcontent-%COMP%]:not(:last-child) {\n margin-right: 8px;\n }\n\n .card[_ngcontent-%COMP%] svg.material-icons[_ngcontent-%COMP%] path[_ngcontent-%COMP%] {\n fill: #888;\n }\n\n .card-container[_ngcontent-%COMP%] {\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n margin-top: 16px;\n }\n\n .card[_ngcontent-%COMP%] {\n border-radius: 4px;\n border: 1px solid #eee;\n background-color: #fafafa;\n height: 40px;\n width: 200px;\n margin: 0 8px 16px;\n padding: 16px;\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n transition: all 0.2s ease-in-out;\n line-height: 24px;\n }\n\n .card-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]:not(:last-child) {\n margin-right: 0;\n }\n\n .card.card-small[_ngcontent-%COMP%] {\n height: 16px;\n width: 168px;\n }\n\n .card-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]:not(.highlight-card) {\n cursor: pointer;\n }\n\n .card-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]:not(.highlight-card):hover {\n transform: translateY(-3px);\n box-shadow: 0 4px 17px rgba(black, 0.35);\n }\n\n .card-container[_ngcontent-%COMP%] .card[_ngcontent-%COMP%]:not(.highlight-card):hover .material-icons[_ngcontent-%COMP%] path[_ngcontent-%COMP%] {\n fill: rgb(105, 103, 103);\n }\n\n .card.highlight-card[_ngcontent-%COMP%] {\n background-color: #1976d2;\n color: white;\n font-weight: 600;\n border: none;\n width: auto;\n min-width: 30%;\n position: relative;\n }\n\n .card.card.highlight-card[_ngcontent-%COMP%] span[_ngcontent-%COMP%] {\n margin-left: 60px;\n }\n\n svg#rocket[_ngcontent-%COMP%] {\n width: 80px;\n position: absolute;\n left: -10px;\n top: -24px;\n }\n\n svg#rocket-smoke[_ngcontent-%COMP%] {\n height: 100vh;\n position: absolute;\n top: 10px;\n right: 180px;\n z-index: -10;\n }\n\n a[_ngcontent-%COMP%], a[_ngcontent-%COMP%]:visited, a[_ngcontent-%COMP%]:hover {\n color: #1976d2;\n text-decoration: none;\n }\n\n a[_ngcontent-%COMP%]:hover {\n color: #125699;\n }\n\n .terminal[_ngcontent-%COMP%] {\n position: relative;\n width: 80%;\n max-width: 600px;\n border-radius: 6px;\n padding-top: 45px;\n margin-top: 8px;\n overflow: hidden;\n background-color: rgb(15, 15, 16);\n }\n\n .terminal[_ngcontent-%COMP%]::before {\n content: "\\2022 \\2022 \\2022";\n position: absolute;\n top: 0;\n left: 0;\n height: 4px;\n background: rgb(58, 58, 58);\n color: #c2c3c4;\n width: 100%;\n font-size: 2rem;\n line-height: 0;\n padding: 14px 0;\n text-indent: 4px;\n }\n\n .terminal[_ngcontent-%COMP%] pre[_ngcontent-%COMP%] {\n font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;\n color: white;\n padding: 0 1rem 1rem;\n margin: 0;\n }\n\n .circle-link[_ngcontent-%COMP%] {\n height: 40px;\n width: 40px;\n border-radius: 40px;\n margin: 8px;\n background-color: white;\n border: 1px solid #eeeeee;\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);\n transition: 1s ease-out;\n }\n\n .circle-link[_ngcontent-%COMP%]:hover {\n transform: translateY(-0.25rem);\n box-shadow: 0px 3px 15px rgba(0, 0, 0, 0.2);\n }\n\n footer[_ngcontent-%COMP%] {\n margin-top: 8px;\n display: flex;\n align-items: center;\n line-height: 20px;\n }\n\n footer[_ngcontent-%COMP%] a[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n }\n\n .github-star-badge[_ngcontent-%COMP%] {\n color: #24292e;\n display: flex;\n align-items: center;\n font-size: 12px;\n padding: 3px 10px;\n border: 1px solid rgba(27,31,35,.2);\n border-radius: 3px;\n background-image: linear-gradient(-180deg,#fafbfc,#eff3f6 90%);\n margin-left: 4px;\n font-weight: 600;\n font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;\n }\n\n .github-star-badge[_ngcontent-%COMP%]:hover {\n background-image: linear-gradient(-180deg,#f0f3f6,#e6ebf1 90%);\n border-color: rgba(27,31,35,.35);\n background-position: -.5em;\n }\n\n .github-star-badge[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%] {\n height: 16px;\n width: 16px;\n margin-right: 4px;\n }\n\n svg#clouds[_ngcontent-%COMP%] {\n position: fixed;\n bottom: -160px;\n left: -230px;\n z-index: -10;\n width: 1920px;\n }\n\n\n \n @media screen and (max-width: 767px) {\n\n .card-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:not(.circle-link), .terminal[_ngcontent-%COMP%] {\n width: 100%;\n }\n\n .card[_ngcontent-%COMP%]:not(.highlight-card) {\n height: 16px;\n margin: 8px 0;\n }\n\n .card.highlight-card[_ngcontent-%COMP%] span[_ngcontent-%COMP%] {\n margin-left: 72px;\n }\n\n svg#rocket-smoke[_ngcontent-%COMP%] {\n right: 120px;\n transform: rotate(-5deg);\n }\n }\n\n @media screen and (max-width: 575px) {\n svg#rocket-smoke[_ngcontent-%COMP%] {\n display: none;\n visibility: hidden;\n }\n }',[""]],data:{}});function Dp(t){return ra(0,[(t()(),Zi(0,0,null,null,1,"pre",[],null,null,null,null,null)),(t()(),ta(-1,null,["ng generate component xyz"]))],null,null)}function jp(t){return ra(0,[(t()(),Zi(0,0,null,null,1,"pre",[],null,null,null,null,null)),(t()(),ta(-1,null,["ng add @angular/material"]))],null,null)}function Up(t){return ra(0,[(t()(),Zi(0,0,null,null,1,"pre",[],null,null,null,null,null)),(t()(),ta(-1,null,["ng add _____"]))],null,null)}function Lp(t){return ra(0,[(t()(),Zi(0,0,null,null,1,"pre",[],null,null,null,null,null)),(t()(),ta(-1,null,["ng test"]))],null,null)}function Vp(t){return ra(0,[(t()(),Zi(0,0,null,null,1,"pre",[],null,null,null,null,null)),(t()(),ta(-1,null,["ng build --prod"]))],null,null)}function Hp(t){return ra(0,[(t()(),Zi(0,0,null,null,11,"div",[["class","toolbar"],["role","banner"]],null,null,null,null,null)),(t()(),Zi(1,0,null,null,0,"img",[["alt","Angular Logo"],["src","data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTAgMjUwIj4KICAgIDxwYXRoIGZpbGw9IiNERDAwMzEiIGQ9Ik0xMjUgMzBMMzEuOSA2My4ybDE0LjIgMTIzLjFMMTI1IDIzMGw3OC45LTQzLjcgMTQuMi0xMjMuMXoiIC8+CiAgICA8cGF0aCBmaWxsPSIjQzMwMDJGIiBkPSJNMTI1IDMwdjIyLjItLjFWMjMwbDc4LjktNDMuNyAxNC4yLTEyMy4xTDEyNSAzMHoiIC8+CiAgICA8cGF0aCAgZmlsbD0iI0ZGRkZGRiIgZD0iTTEyNSA1Mi4xTDY2LjggMTgyLjZoMjEuN2wxMS43LTI5LjJoNDkuNGwxMS43IDI5LjJIMTgzTDEyNSA1Mi4xem0xNyA4My4zaC0zNGwxNy00MC45IDE3IDQwLjl6IiAvPgogIDwvc3ZnPg=="],["width","40"]],null,null,null,null,null)),(t()(),Zi(2,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),ta(-1,null,["Welcome"])),(t()(),Zi(4,0,null,null,0,"div",[["class","spacer"]],null,null,null,null,null)),(t()(),Zi(5,0,null,null,6,"a",[["aria-label","Angular on twitter"],["href","https://twitter.com/angular"],["rel","noopener"],["target","_blank"],["title","Twitter"]],null,null,null,null,null)),(t()(),Zi(6,0,null,null,5,":svg:svg",[["data-name","Logo \u2014 FIXED"],["height","24"],["id","twitter-logo"],["viewBox","0 0 400 400"],["xmlns","http://www.w3.org/2000/svg"]],null,null,null,null,null)),(t()(),Zi(7,0,null,null,2,":svg:defs",[],null,null,null,null,null)),(t()(),Zi(8,0,null,null,1,":svg:style",[],null,null,null,null,null)),(t()(),ta(-1,null,[" .cls-1 { fill: none; } .cls-2 { fill: #ffffff; } "])),(t()(),Zi(10,0,null,null,0,":svg:rect",[["class","cls-1"],["height","400"],["width","400"]],null,null,null,null,null)),(t()(),Zi(11,0,null,null,0,":svg:path",[["class","cls-2"],["d","M153.62,301.59c94.34,0,145.94-78.16,145.94-145.94,0-2.22,0-4.43-.15-6.63A104.36,104.36,0,0,0,325,122.47a102.38,102.38,0,0,1-29.46,8.07,51.47,51.47,0,0,0,22.55-28.37,102.79,102.79,0,0,1-32.57,12.45,51.34,51.34,0,0,0-87.41,46.78A145.62,145.62,0,0,1,92.4,107.81a51.33,51.33,0,0,0,15.88,68.47A50.91,50.91,0,0,1,85,169.86c0,.21,0,.43,0,.65a51.31,51.31,0,0,0,41.15,50.28,51.21,51.21,0,0,1-23.16.88,51.35,51.35,0,0,0,47.92,35.62,102.92,102.92,0,0,1-63.7,22A104.41,104.41,0,0,1,75,278.55a145.21,145.21,0,0,0,78.62,23"]],null,null,null,null,null)),(t()(),Zi(12,0,null,null,143,"div",[["class","content"],["role","main"]],null,null,null,null,null)),(t()(),Zi(13,0,null,null,10,"div",[["class","card highlight-card card-small"]],null,null,null,null,null)),(t()(),Zi(14,0,null,null,5,":svg:svg",[["alt","Rocket Ship"],["height","101.678"],["id","rocket"],["viewBox","0 0 101.678 101.678"],["width","101.678"],["xmlns","http://www.w3.org/2000/svg"]],null,null,null,null,null)),(t()(),Zi(15,0,null,null,4,":svg:g",[["data-name","Group 83"],["id","Group_83"],["transform","translate(-141 -696)"]],null,null,null,null,null)),(t()(),Zi(16,0,null,null,0,":svg:circle",[["cx","50.839"],["cy","50.839"],["data-name","Ellipse 8"],["fill","#dd0031"],["id","Ellipse_8"],["r","50.839"],["transform","translate(141 696)"]],null,null,null,null,null)),(t()(),Zi(17,0,null,null,2,":svg:g",[["data-name","Group 47"],["id","Group_47"],["transform","translate(165.185 720.185)"]],null,null,null,null,null)),(t()(),Zi(18,0,null,null,0,":svg:path",[["d","M3.4,42.615a3.084,3.084,0,0,0,3.553,3.553,21.419,21.419,0,0,0,12.215-6.107L9.511,30.4A21.419,21.419,0,0,0,3.4,42.615Z"],["data-name","Path 33"],["fill","#fff"],["id","Path_33"],["transform","translate(0.371 3.363)"]],null,null,null,null,null)),(t()(),Zi(19,0,null,null,0,":svg:path",[["d","M53.3,3.221A3.09,3.09,0,0,0,50.081,0,48.227,48.227,0,0,0,18.322,13.437c-6-1.666-14.991-1.221-18.322,7.218A33.892,33.892,0,0,1,9.439,25.1l-.333.666a3.013,3.013,0,0,0,.555,3.553L23.985,43.641a2.9,2.9,0,0,0,3.553.555l.666-.333A33.892,33.892,0,0,1,32.647,53.3c8.55-3.664,8.884-12.326,7.218-18.322A48.227,48.227,0,0,0,53.3,3.221ZM34.424,9.772a6.439,6.439,0,1,1,9.106,9.106,6.368,6.368,0,0,1-9.106,0A6.467,6.467,0,0,1,34.424,9.772Z"],["data-name","Path 34"],["fill","#fff"],["id","Path_34"],["transform","translate(0 0.005)"]],null,null,null,null,null)),(t()(),Zi(20,0,null,null,1,"span",[],null,[[null,"click"]],(function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.goTpPage1()&&r),r}),null,null)),(t()(),ta(21,null,[""," app is walking!"])),(t()(),Zi(22,0,null,null,1,":svg:svg",[["alt","Rocket Ship Smoke"],["height","1083.632"],["id","rocket-smoke"],["viewBox","0 0 516.119 1083.632"],["width","516.119"],["xmlns","http://www.w3.org/2000/svg"]],null,null,null,null,null)),(t()(),Zi(23,0,null,null,0,":svg:path",[["d","M644.6,141S143.02,215.537,147.049,870.207s342.774,201.755,342.774,201.755S404.659,847.213,388.815,762.2c-27.116-145.51-11.551-384.124,271.9-609.1C671.15,139.365,644.6,141,644.6,141Z"],["data-name","Path 40"],["fill","#f5f5f5"],["id","Path_40"],["transform","translate(-147.025 -140.939)"]],null,null,null,null,null)),(t()(),Zi(24,0,null,null,1,"h2",[],null,null,null,null,null)),(t()(),ta(-1,null,["Resources"])),(t()(),Zi(26,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),ta(-1,null,["Here are some links to help you get started:"])),(t()(),Zi(28,0,null,null,21,"div",[["class","card-container"]],null,null,null,null,null)),(t()(),Zi(29,0,null,null,6,"a",[["class","card"],["href","https://angular.io/tutorial"],["rel","noopener"],["target","_blank"]],null,null,null,null,null)),(t()(),Zi(30,0,null,null,1,":svg:svg",[["class","material-icons"],["height","24"],["viewBox","0 0 24 24"],["width","24"],["xmlns","http://www.w3.org/2000/svg"]],null,null,null,null,null)),(t()(),Zi(31,0,null,null,0,":svg:path",[["d","M5 13.18v4L12 21l7-3.82v-4L12 17l-7-3.82zM12 3L1 9l11 6 9-4.91V17h2V9L12 3z"]],null,null,null,null,null)),(t()(),Zi(32,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),ta(-1,null,["Learn Angular"])),(t()(),Zi(34,0,null,null,1,":svg:svg",[["class","material-icons"],["height","24"],["viewBox","0 0 24 24"],["width","24"],["xmlns","http://www.w3.org/2000/svg"]],null,null,null,null,null)),(t()(),Zi(35,0,null,null,0,":svg:path",[["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"]],null,null,null,null,null)),(t()(),Zi(36,0,null,null,6,"a",[["class","card"],["href","https://angular.io/cli"],["rel","noopener"],["target","_blank"]],null,null,null,null,null)),(t()(),Zi(37,0,null,null,1,":svg:svg",[["class","material-icons"],["height","24"],["viewBox","0 0 24 24"],["width","24"],["xmlns","http://www.w3.org/2000/svg"]],null,null,null,null,null)),(t()(),Zi(38,0,null,null,0,":svg:path",[["d","M9.4 16.6L4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4zm5.2 0l4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4z"]],null,null,null,null,null)),(t()(),Zi(39,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),ta(-1,null,["CLI Documentation"])),(t()(),Zi(41,0,null,null,1,":svg:svg",[["class","material-icons"],["height","24"],["viewBox","0 0 24 24"],["width","24"],["xmlns","http://www.w3.org/2000/svg"]],null,null,null,null,null)),(t()(),Zi(42,0,null,null,0,":svg:path",[["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"]],null,null,null,null,null)),(t()(),Zi(43,0,null,null,6,"a",[["class","card"],["href","https://blog.angular.io/"],["rel","noopener"],["target","_blank"]],null,null,null,null,null)),(t()(),Zi(44,0,null,null,1,":svg:svg",[["class","material-icons"],["height","24"],["viewBox","0 0 24 24"],["width","24"],["xmlns","http://www.w3.org/2000/svg"]],null,null,null,null,null)),(t()(),Zi(45,0,null,null,0,":svg:path",[["d","M13.5.67s.74 2.65.74 4.8c0 2.06-1.35 3.73-3.41 3.73-2.07 0-3.63-1.67-3.63-3.73l.03-.36C5.21 7.51 4 10.62 4 14c0 4.42 3.58 8 8 8s8-3.58 8-8C20 8.61 17.41 3.8 13.5.67zM11.71 19c-1.78 0-3.22-1.4-3.22-3.14 0-1.62 1.05-2.76 2.81-3.12 1.77-.36 3.6-1.21 4.62-2.58.39 1.29.59 2.65.59 4.04 0 2.65-2.15 4.8-4.8 4.8z"]],null,null,null,null,null)),(t()(),Zi(46,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),ta(-1,null,["Angular Blog"])),(t()(),Zi(48,0,null,null,1,":svg:svg",[["class","material-icons"],["height","24"],["viewBox","0 0 24 24"],["width","24"],["xmlns","http://www.w3.org/2000/svg"]],null,null,null,null,null)),(t()(),Zi(49,0,null,null,0,":svg:path",[["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"]],null,null,null,null,null)),(t()(),Zi(50,0,null,null,1,"h2",[],null,null,null,null,null)),(t()(),ta(-1,null,["Next Steps"])),(t()(),Zi(52,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),ta(-1,null,["What do you want to do next with your app?"])),(t()(),Zi(54,0,[["selection",1]],null,0,"input",[["type","hidden"]],null,null,null,null,null)),(t()(),Zi(55,0,null,null,25,"div",[["class","card-container"]],null,null,null,null,null)),(t()(),Zi(56,0,null,null,4,"div",[["class","card card-small"],["tabindex","0"]],null,[[null,"click"]],(function(t,e,n){var r=!0;return"click"===e&&(r=!1!==(Kr(t,54).value="component")&&r),r}),null,null)),(t()(),Zi(57,0,null,null,1,":svg:svg",[["class","material-icons"],["height","24"],["viewBox","0 0 24 24"],["width","24"],["xmlns","http://www.w3.org/2000/svg"]],null,null,null,null,null)),(t()(),Zi(58,0,null,null,0,":svg:path",[["d","M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"]],null,null,null,null,null)),(t()(),Zi(59,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),ta(-1,null,["New Component"])),(t()(),Zi(61,0,null,null,4,"div",[["class","card card-small"],["tabindex","0"]],null,[[null,"click"]],(function(t,e,n){var r=!0;return"click"===e&&(r=!1!==(Kr(t,54).value="material")&&r),r}),null,null)),(t()(),Zi(62,0,null,null,1,":svg:svg",[["class","material-icons"],["height","24"],["viewBox","0 0 24 24"],["width","24"],["xmlns","http://www.w3.org/2000/svg"]],null,null,null,null,null)),(t()(),Zi(63,0,null,null,0,":svg:path",[["d","M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"]],null,null,null,null,null)),(t()(),Zi(64,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),ta(-1,null,["Angular Material"])),(t()(),Zi(66,0,null,null,4,"div",[["class","card card-small"],["tabindex","0"]],null,[[null,"click"]],(function(t,e,n){var r=!0;return"click"===e&&(r=!1!==(Kr(t,54).value="dependency")&&r),r}),null,null)),(t()(),Zi(67,0,null,null,1,":svg:svg",[["class","material-icons"],["height","24"],["viewBox","0 0 24 24"],["width","24"],["xmlns","http://www.w3.org/2000/svg"]],null,null,null,null,null)),(t()(),Zi(68,0,null,null,0,":svg:path",[["d","M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"]],null,null,null,null,null)),(t()(),Zi(69,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),ta(-1,null,["Add Dependency"])),(t()(),Zi(71,0,null,null,4,"div",[["class","card card-small"],["tabindex","0"]],null,[[null,"click"]],(function(t,e,n){var r=!0;return"click"===e&&(r=!1!==(Kr(t,54).value="test")&&r),r}),null,null)),(t()(),Zi(72,0,null,null,1,":svg:svg",[["class","material-icons"],["height","24"],["viewBox","0 0 24 24"],["width","24"],["xmlns","http://www.w3.org/2000/svg"]],null,null,null,null,null)),(t()(),Zi(73,0,null,null,0,":svg:path",[["d","M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"]],null,null,null,null,null)),(t()(),Zi(74,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),ta(-1,null,["Run and Watch Tests"])),(t()(),Zi(76,0,null,null,4,"div",[["class","card card-small"],["tabindex","0"]],null,[[null,"click"]],(function(t,e,n){var r=!0;return"click"===e&&(r=!1!==(Kr(t,54).value="build")&&r),r}),null,null)),(t()(),Zi(77,0,null,null,1,":svg:svg",[["class","material-icons"],["height","24"],["viewBox","0 0 24 24"],["width","24"],["xmlns","http://www.w3.org/2000/svg"]],null,null,null,null,null)),(t()(),Zi(78,0,null,null,0,":svg:path",[["d","M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"]],null,null,null,null,null)),(t()(),Zi(79,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),ta(-1,null,["Build for Production"])),(t()(),Zi(81,0,null,null,11,"div",[["class","terminal"]],null,null,null,null,null)),lo(82,16384,null,0,Su,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),Bi(16777216,null,null,1,null,Dp)),lo(84,16384,null,0,Tu,[Un,Dn,Su],null,null),(t()(),Bi(16777216,null,null,1,null,jp)),lo(86,278528,null,0,Eu,[Un,Dn,Su],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),Bi(16777216,null,null,1,null,Up)),lo(88,278528,null,0,Eu,[Un,Dn,Su],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),Bi(16777216,null,null,1,null,Lp)),lo(90,278528,null,0,Eu,[Un,Dn,Su],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),Bi(16777216,null,null,1,null,Vp)),lo(92,278528,null,0,Eu,[Un,Dn,Su],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),Zi(93,0,null,null,47,"div",[["class","card-container"]],null,null,null,null,null)),(t()(),Zi(94,0,null,null,6,"a",[["class","circle-link"],["href","https://angular.io/guide/animations"],["rel","noopener"],["target","_blank"],["title","Animations"]],null,null,null,null,null)),(t()(),Zi(95,0,null,null,5,":svg:svg",[["data-name","Group 20"],["height","23.453"],["id","Group_20"],["viewBox","0 0 21.813 23.453"],["width","21.813"],["xmlns","http://www.w3.org/2000/svg"]],null,null,null,null,null)),(t()(),Zi(96,0,null,null,0,":svg:path",[["d","M4099.584,972.736h0l-10.882,3.9,1.637,14.4,9.245,5.153,9.245-5.153,1.686-14.4Z"],["data-name","Path 15"],["fill","#ffa726"],["id","Path_15"],["transform","translate(-4088.702 -972.736)"]],null,null,null,null,null)),(t()(),Zi(97,0,null,null,0,":svg:path",[["d","M4181.516,972.736v23.453l9.245-5.153,1.686-14.4Z"],["data-name","Path 16"],["fill","#fb8c00"],["id","Path_16"],["transform","translate(-4170.633 -972.736)"]],null,null,null,null,null)),(t()(),Zi(98,0,null,null,0,":svg:path",[["d","M4137.529,1076.127l-7.7-3.723,4.417-2.721,7.753,3.723Z"],["data-name","Path 17"],["fill","#ffe0b2"],["id","Path_17"],["transform","translate(-4125.003 -1058.315)"]],null,null,null,null,null)),(t()(),Zi(99,0,null,null,0,":svg:path",[["d","M4137.529,1051.705l-7.7-3.723,4.417-2.721,7.753,3.723Z"],["data-name","Path 18"],["fill","#fff3e0"],["id","Path_18"],["transform","translate(-4125.003 -1036.757)"]],null,null,null,null,null)),(t()(),Zi(100,0,null,null,0,":svg:path",[["d","M4137.529,1027.283l-7.7-3.723,4.417-2.721,7.753,3.723Z"],["data-name","Path 19"],["fill","#fff"],["id","Path_19"],["transform","translate(-4125.003 -1015.199)"]],null,null,null,null,null)),(t()(),Zi(101,0,null,null,7,"a",[["class","circle-link"],["href","https://cli.angular.io/"],["rel","noopener"],["target","_blank"],["title","CLI"]],null,null,null,null,null)),(t()(),Zi(102,0,null,null,6,":svg:svg",[["alt","Angular CLI Logo"],["height","23.447"],["viewBox","0 0 21.762 23.447"],["width","21.762"],["xmlns","http://www.w3.org/2000/svg"]],null,null,null,null,null)),(t()(),Zi(103,0,null,null,5,":svg:g",[["data-name","Group 21"],["id","Group_21"],["transform","translate(0)"]],null,null,null,null,null)),(t()(),Zi(104,0,null,null,0,":svg:path",[["d","M2660.313,313.618h0l-10.833,3.9,1.637,14.4,9.2,5.152,9.244-5.152,1.685-14.4Z"],["data-name","Path 20"],["fill","#37474f"],["id","Path_20"],["transform","translate(-2649.48 -313.618)"]],null,null,null,null,null)),(t()(),Zi(105,0,null,null,0,":svg:path",[["d","M2741.883,313.618v23.447l9.244-5.152,1.685-14.4Z"],["data-name","Path 21"],["fill","#263238"],["id","Path_21"],["transform","translate(-2731.05 -313.618)"]],null,null,null,null,null)),(t()(),Zi(106,0,null,null,0,":svg:path",[["d","M2692.293,379.169h11.724V368.618h-11.724Zm11.159-.6h-10.608v-9.345h10.621v9.345Z"],["data-name","Path 22"],["fill","#fff"],["id","Path_22"],["transform","translate(-2687.274 -362.17)"]],null,null,null,null,null)),(t()(),Zi(107,0,null,null,0,":svg:path",[["d","M2709.331,393.688l.4.416,2.265-2.28-2.294-2.294-.4.4,1.893,1.893Z"],["data-name","Path 23"],["fill","#fff"],["id","Path_23"],["transform","translate(-2702.289 -380.631)"]],null,null,null,null,null)),(t()(),Zi(108,0,null,null,0,":svg:rect",[["data-name","Rectangle 12"],["fill","#fff"],["height","0.469"],["id","Rectangle_12"],["transform","translate(9.709 13.744)"],["width","3.517"]],null,null,null,null,null)),(t()(),Zi(109,0,null,null,12,"a",[["class","circle-link"],["href","https://augury.rangle.io/"],["rel","noopener"],["target","_blank"],["title","Augury"]],null,null,null,null,null)),(t()(),Zi(110,0,null,null,11,":svg:svg",[[":xmlns:xlink","http://www.w3.org/1999/xlink"],["alt","Angular Augury Logo"],["height","23.447"],["viewBox","0 0 21.81 23.447"],["width","21.81"],["xmlns","http://www.w3.org/2000/svg"]],null,null,null,null,null)),(t()(),Zi(111,0,null,null,2,":svg:defs",[],null,null,null,null,null)),(t()(),Zi(112,0,null,null,1,":svg:clipPath",[["id","clip-path"]],null,null,null,null,null)),(t()(),Zi(113,0,null,null,0,":svg:rect",[["data-name","Rectangle 13"],["fill","none"],["height","10.27"],["id","Rectangle_13"],["width","10.338"]],null,null,null,null,null)),(t()(),Zi(114,0,null,null,7,":svg:g",[["data-name","Group 25"],["id","Group_25"],["transform","translate(0)"]],null,null,null,null,null)),(t()(),Zi(115,0,null,null,0,":svg:path",[["d","M3780.155,311.417h0l-10.881,3.9,1.637,14.4,9.244,5.152,9.244-5.152,1.685-14.4Z"],["data-name","Path 24"],["fill","#4a3493"],["id","Path_24"],["transform","translate(-3769.274 -311.417)"]],null,null,null,null,null)),(t()(),Zi(116,0,null,null,0,":svg:path",[["d","M3862.088,311.417v23.447l9.244-5.152,1.685-14.4Z"],["data-name","Path 25"],["fill","#311b92"],["id","Path_25"],["transform","translate(-3851.207 -311.417)"]],null,null,null,null,null)),(t()(),Zi(117,0,null,null,3,":svg:g",[["data-name","Group 24"],["id","Group_24"],["opacity","0.5"],["transform","translate(6.194 6.73)"]],null,null,null,null,null)),(t()(),Zi(118,0,null,null,2,":svg:g",[["data-name","Group 23"],["id","Group_23"],["transform","translate(0 0)"]],null,null,null,null,null)),(t()(),Zi(119,0,null,null,1,":svg:g",[["clip-path","url(#clip-path)"],["data-name","Group 22"],["id","Group_22"]],null,null,null,null,null)),(t()(),Zi(120,0,null,null,0,":svg:path",[["d","M3832.4,373.252a5.168,5.168,0,1,1-5.828-4.383,5.216,5.216,0,0,1,2.574.3,3.017,3.017,0,1,0,3.252,4.086Z"],["data-name","Path 26"],["fill","#fff"],["id","Path_26"],["transform","translate(-3822.107 -368.821)"]],null,null,null,null,null)),(t()(),Zi(121,0,null,null,0,":svg:path",[["d","M3830.582,370.848a5.162,5.162,0,1,1-3.254-4.086,3.017,3.017,0,1,0,3.252,4.086Z"],["data-name","Path 27"],["fill","#fff"],["id","Path_27"],["transform","translate(-3814.311 -359.969)"]],null,null,null,null,null)),(t()(),Zi(122,0,null,null,5,"a",[["class","circle-link"],["href","https://www.protractortest.org/"],["rel","noopener"],["target","_blank"],["title","Protractor"]],null,null,null,null,null)),(t()(),Zi(123,0,null,null,4,":svg:svg",[["alt","Angular Protractor Logo"],["height","23.447"],["viewBox","0 0 21.81 23.447"],["width","21.81"],["xmlns","http://www.w3.org/2000/svg"]],null,null,null,null,null)),(t()(),Zi(124,0,null,null,3,":svg:g",[["data-name","Group 26"],["id","Group_26"],["transform","translate(0)"]],null,null,null,null,null)),(t()(),Zi(125,0,null,null,0,":svg:path",[["d","M4620.155,311.417h0l-10.881,3.9,1.637,14.4,9.244,5.152,9.244-5.152,1.685-14.4Z"],["data-name","Path 28"],["fill","#e13439"],["id","Path_28"],["transform","translate(-4609.274 -311.417)"]],null,null,null,null,null)),(t()(),Zi(126,0,null,null,0,":svg:path",[["d","M4702.088,311.417v23.447l9.244-5.152,1.685-14.4Z"],["data-name","Path 29"],["fill","#b52f32"],["id","Path_29"],["transform","translate(-4691.207 -311.417)"]],null,null,null,null,null)),(t()(),Zi(127,0,null,null,0,":svg:path",[["d","M4651.044,369.58v-.421h1.483a7.6,7.6,0,0,0-2.106-5.052l-1.123,1.123-.3-.3,1.122-1.121a7.588,7.588,0,0,0-4.946-2.055v1.482h-.421v-1.485a7.589,7.589,0,0,0-5.051,2.058l1.122,1.121-.3.3-1.123-1.123a7.591,7.591,0,0,0-2.106,5.052h1.482v.421h-1.489v1.734h15.241V369.58Zm-10.966-.263a4.835,4.835,0,0,1,9.67,0Z"],["data-name","Path 30"],["fill","#fff"],["id","Path_30"],["transform","translate(-4634.008 -355.852)"]],null,null,null,null,null)),(t()(),Zi(128,0,null,null,2,"a",[["class","circle-link"],["href","https://www.meetup.com/find/?keywords=angular"],["rel","noopener"],["target","_blank"],["title","Find a Local Meetup"]],null,null,null,null,null)),(t()(),Zi(129,0,null,null,1,":svg:svg",[["alt","Meetup Logo"],["height","23.447"],["viewBox","0 0 24.607 23.447"],["width","24.607"],["xmlns","http://www.w3.org/2000/svg"]],null,null,null,null,null)),(t()(),Zi(130,0,null,null,0,":svg:path",[["d","M21.221,14.95A4.393,4.393,0,0,1,17.6,19.281a4.452,4.452,0,0,1-.8.069c-.09,0-.125.035-.154.117a2.939,2.939,0,0,1-2.506,2.091,2.868,2.868,0,0,1-2.248-.624.168.168,0,0,0-.245-.005,3.926,3.926,0,0,1-2.589.741,4.015,4.015,0,0,1-3.7-3.347,2.7,2.7,0,0,1-.043-.38c0-.106-.042-.146-.143-.166a3.524,3.524,0,0,1-1.516-.69A3.623,3.623,0,0,1,2.23,14.557a3.66,3.66,0,0,1,1.077-3.085.138.138,0,0,0,.026-.2,3.348,3.348,0,0,1-.451-1.821,3.46,3.46,0,0,1,2.749-3.28.44.44,0,0,0,.355-.281,5.072,5.072,0,0,1,3.863-3,5.028,5.028,0,0,1,3.555.666.31.31,0,0,0,.271.03A4.5,4.5,0,0,1,18.3,4.7a4.4,4.4,0,0,1,1.334,2.751,3.658,3.658,0,0,1,.022.706.131.131,0,0,0,.1.157,2.432,2.432,0,0,1,1.574,1.645,2.464,2.464,0,0,1-.7,2.616c-.065.064-.051.1-.014.166A4.321,4.321,0,0,1,21.221,14.95ZM13.4,14.607a2.09,2.09,0,0,0,1.409,1.982,4.7,4.7,0,0,0,1.275.221,1.807,1.807,0,0,0,.9-.151.542.542,0,0,0,.321-.545.558.558,0,0,0-.359-.534,1.2,1.2,0,0,0-.254-.078c-.262-.047-.526-.086-.787-.138a.674.674,0,0,1-.617-.75,3.394,3.394,0,0,1,.218-1.109c.217-.658.509-1.286.79-1.918a15.609,15.609,0,0,0,.745-1.86,1.95,1.95,0,0,0,.06-1.073,1.286,1.286,0,0,0-1.051-1.033,1.977,1.977,0,0,0-1.521.2.339.339,0,0,1-.446-.042c-.1-.092-.2-.189-.307-.284a1.214,1.214,0,0,0-1.643-.061,7.563,7.563,0,0,1-.614.512A.588.588,0,0,1,10.883,8c-.215-.115-.437-.215-.659-.316a2.153,2.153,0,0,0-.695-.248A2.091,2.091,0,0,0,7.541,8.562a9.915,9.915,0,0,0-.405.986c-.559,1.545-1.015,3.123-1.487,4.7a1.528,1.528,0,0,0,.634,1.777,1.755,1.755,0,0,0,1.5.211,1.35,1.35,0,0,0,.824-.858c.543-1.281,1.032-2.584,1.55-3.875.142-.355.28-.712.432-1.064a.548.548,0,0,1,.851-.24.622.622,0,0,1,.185.539,2.161,2.161,0,0,1-.181.621c-.337.852-.68,1.7-1.018,2.552a2.564,2.564,0,0,0-.173.528.624.624,0,0,0,.333.71,1.073,1.073,0,0,0,.814.034,1.22,1.22,0,0,0,.657-.655q.758-1.488,1.511-2.978.35-.687.709-1.37a1.073,1.073,0,0,1,.357-.434.43.43,0,0,1,.463-.016.373.373,0,0,1,.153.387.7.7,0,0,1-.057.236c-.065.157-.127.316-.2.469-.42.883-.846,1.763-1.262,2.648A2.463,2.463,0,0,0,13.4,14.607Zm5.888,6.508a1.09,1.09,0,0,0-2.179.006,1.09,1.09,0,0,0,2.179-.006ZM1.028,12.139a1.038,1.038,0,1,0,.01-2.075,1.038,1.038,0,0,0-.01,2.075ZM13.782.528a1.027,1.027,0,1,0-.011,2.055A1.027,1.027,0,0,0,13.782.528ZM22.21,6.95a.882.882,0,0,0-1.763.011A.882.882,0,0,0,22.21,6.95ZM4.153,4.439a.785.785,0,1,0,.787-.78A.766.766,0,0,0,4.153,4.439Zm8.221,18.22a.676.676,0,1,0-.677.666A.671.671,0,0,0,12.374,22.658ZM22.872,12.2a.674.674,0,0,0-.665.665.656.656,0,0,0,.655.643.634.634,0,0,0,.655-.644A.654.654,0,0,0,22.872,12.2ZM7.171-.123A.546.546,0,0,0,6.613.43a.553.553,0,1,0,1.106,0A.539.539,0,0,0,7.171-.123ZM24.119,9.234a.507.507,0,0,0-.493.488.494.494,0,0,0,.494.494.48.48,0,0,0,.487-.483A.491.491,0,0,0,24.119,9.234Zm-19.454,9.7a.5.5,0,0,0-.488-.488.491.491,0,0,0-.487.5.483.483,0,0,0,.491.479A.49.49,0,0,0,4.665,18.936Z"],["fill","#f64060"],["id","logo--mSwarm"],["transform","translate(0 0.123)"]],null,null,null,null,null)),(t()(),Zi(131,0,null,null,9,"a",[["class","circle-link"],["href","https://gitter.im/angular/angular"],["rel","noopener"],["target","_blank"],["title","Join the Conversation on Gitter"]],null,null,null,null,null)),(t()(),Zi(132,0,null,null,8,":svg:svg",[["alt","Gitter Logo"],["height","19.447"],["viewBox","0 0 19.447 19.447"],["width","19.447"],["xmlns","http://www.w3.org/2000/svg"]],null,null,null,null,null)),(t()(),Zi(133,0,null,null,7,":svg:g",[["data-name","Group 40"],["id","Group_40"],["transform","translate(-1612 -405)"]],null,null,null,null,null)),(t()(),Zi(134,0,null,null,0,":svg:rect",[["data-name","Rectangle 19"],["fill","#e60257"],["height","19.447"],["id","Rectangle_19"],["transform","translate(1612 405)"],["width","19.447"]],null,null,null,null,null)),(t()(),Zi(135,0,null,null,5,":svg:g",[["id","gitter"],["transform","translate(1617.795 408.636)"]],null,null,null,null,null)),(t()(),Zi(136,0,null,null,4,":svg:g",[["data-name","Group 33"],["id","Group_33"],["transform","translate(0 0)"]],null,null,null,null,null)),(t()(),Zi(137,0,null,null,0,":svg:rect",[["data-name","Rectangle 15"],["fill","#fff"],["height","9.601"],["id","Rectangle_15"],["transform","translate(2.304 2.324)"],["width","1.04"]],null,null,null,null,null)),(t()(),Zi(138,0,null,null,0,":svg:rect",[["data-name","Rectangle 16"],["fill","#fff"],["height","9.601"],["id","Rectangle_16"],["transform","translate(4.607 2.324)"],["width","1.04"]],null,null,null,null,null)),(t()(),Zi(139,0,null,null,0,":svg:rect",[["data-name","Rectangle 17"],["fill","#fff"],["height","4.648"],["id","Rectangle_17"],["transform","translate(6.91 2.324)"],["width","1.04"]],null,null,null,null,null)),(t()(),Zi(140,0,null,null,0,":svg:rect",[["data-name","Rectangle 18"],["fill","#fff"],["height","6.971"],["id","Rectangle_18"],["transform","translate(0 0)"],["width","1.04"]],null,null,null,null,null)),(t()(),Zi(141,0,null,null,12,"footer",[],null,null,null,null,null)),(t()(),ta(-1,null,[" Love Angular?\xa0 "])),(t()(),Zi(143,0,null,null,6,"a",[["href","https://github.com/angular/angular"],["rel","noopener"],["target","_blank"]],null,null,null,null,null)),(t()(),ta(-1,null,[" Give our repo a star. "])),(t()(),Zi(145,0,null,null,4,"div",[["class","github-star-badge"]],null,null,null,null,null)),(t()(),Zi(146,0,null,null,2,":svg:svg",[["class","material-icons"],["height","24"],["viewBox","0 0 24 24"],["width","24"],["xmlns","http://www.w3.org/2000/svg"]],null,null,null,null,null)),(t()(),Zi(147,0,null,null,0,":svg:path",[["d","M0 0h24v24H0z"],["fill","none"]],null,null,null,null,null)),(t()(),Zi(148,0,null,null,0,":svg:path",[["d","M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"]],null,null,null,null,null)),(t()(),ta(-1,null,[" Star "])),(t()(),Zi(150,0,null,null,3,"a",[["href","https://github.com/angular/angular"],["rel","noopener"],["target","_blank"]],null,null,null,null,null)),(t()(),Zi(151,0,null,null,2,":svg:svg",[["class","material-icons"],["height","24"],["viewBox","0 0 24 24"],["width","24"],["xmlns","http://www.w3.org/2000/svg"]],null,null,null,null,null)),(t()(),Zi(152,0,null,null,0,":svg:path",[["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["fill","#1976d2"]],null,null,null,null,null)),(t()(),Zi(153,0,null,null,0,":svg:path",[["d","M0 0h24v24H0z"],["fill","none"]],null,null,null,null,null)),(t()(),Zi(154,0,null,null,1,":svg:svg",[["alt","Gray Clouds Background"],["height","485.677"],["id","clouds"],["viewBox","0 0 2611.084 485.677"],["width","2611.084"],["xmlns","http://www.w3.org/2000/svg"]],null,null,null,null,null)),(t()(),Zi(155,0,null,null,0,":svg:path",[["d","M2379.709,863.793c10-93-77-171-168-149-52-114-225-105-264,15-75,3-140,59-152,133-30,2.83-66.725,9.829-93.5,26.25-26.771-16.421-63.5-23.42-93.5-26.25-12-74-77-130-152-133-39-120-212-129-264-15-54.084-13.075-106.753,9.173-138.488,48.9-31.734-39.726-84.4-61.974-138.487-48.9-52-114-225-105-264,15a162.027,162.027,0,0,0-103.147,43.044c-30.633-45.365-87.1-72.091-145.206-58.044-52-114-225-105-264,15-75,3-140,59-152,133-53,5-127,23-130,83-2,42,35,72,70,86,49,20,106,18,157,5a165.625,165.625,0,0,0,120,0c47,94,178,113,251,33,61.112,8.015,113.854-5.72,150.492-29.764a165.62,165.62,0,0,0,110.861-3.236c47,94,178,113,251,33,31.385,4.116,60.563,2.495,86.487-3.311,25.924,5.806,55.1,7.427,86.488,3.311,73,80,204,61,251-33a165.625,165.625,0,0,0,120,0c51,13,108,15,157-5a147.188,147.188,0,0,0,33.5-18.694,147.217,147.217,0,0,0,33.5,18.694c49,20,106,18,157,5a165.625,165.625,0,0,0,120,0c47,94,178,113,251,33C2446.709,1093.793,2554.709,922.793,2379.709,863.793Z"],["data-name","Path 39"],["fill","#eee"],["id","Path_39"],["transform","translate(142.69 -634.312)"]],null,null,null,null,null)),(t()(),Zi(156,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),lo(157,212992,null,0,rp,[np,Un,ln,[8,null],Ne],null,null)],(function(t,e){t(e,82,0,Kr(e,54).value),t(e,86,0,"material"),t(e,88,0,"dependency"),t(e,90,0,"test"),t(e,92,0,"build"),t(e,157,0)}),(function(t,e){t(e,21,0,e.component.title)}))}var Fp=Lr("app-root",cu,(function(t){return ra(0,[(t()(),Zi(0,0,null,null,1,"app-root",[],null,null,null,Hp,Mp)),lo(1,49152,null,0,cu,[tp],null,null)],null,null)}),{},{},[]);function zp(t,e){return new x(e?function(n){return e.schedule(Bp,0,{error:t,subscriber:n})}:function(e){return e.error(t)})}function Bp(t){var e=t.error;t.subscriber.error(e)}function Zp(t,e,n,o){return r(n)&&(o=n,n=void 0),o?Zp(t,e,n).pipe(Z((function(t){return l(t)?o.apply(void 0,t):o(t)}))):new x((function(r){!function t(e,n,r,o,i){var a;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(e)){var u=e;e.addEventListener(n,r,i),a=function(){return u.removeEventListener(n,r,i)}}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(e)){var l=e;e.on(n,r),a=function(){return l.off(n,r)}}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(e)){var s=e;e.addListener(n,r),a=function(){return s.removeListener(n,r)}}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(var c=0,h=e.length;c<h;c++)t(e[c],n,r,o,i)}o.add(a)}(t,e,(function(t){r.next(arguments.length>1?Array.prototype.slice.call(arguments):t)}),r,n)}))}var Gp,qp=new x(w),Wp=function(t){function e(e,n){var r=this;return(r=t.call(this,e,n)||this).scheduler=e,r.work=n,r.pending=!1,r}return __extends(e,t),e.prototype.schedule=function(t,e){if(void 0===e&&(e=0),this.closed)return this;this.state=t;var n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(r,this.id,e),this},e.prototype.requestAsyncId=function(t,e,n){return void 0===n&&(n=0),setInterval(t.flush.bind(t,this),n)},e.prototype.recycleAsyncId=function(t,e,n){if(void 0===n&&(n=0),null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)},e.prototype.execute=function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(t,e){var n=!1,r=void 0;try{this.work(t)}catch(o){n=!0,r=!!o&&o||new Error(o)}if(n)return this.unsubscribe(),r},e.prototype._unsubscribe=function(){var t=this.id,e=this.scheduler,n=e.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null},e}(function(t){function e(e,n){return t.call(this)||this}return __extends(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(f)),Qp=function(){var t=function(){function t(e,n){void 0===n&&(n=t.now),this.SchedulerAction=e,this.now=n}return t.prototype.schedule=function(t,e,n){return void 0===e&&(e=0),new this.SchedulerAction(this,t).schedule(n,e)},t}();return t.now=function(){return Date.now()},t}(),Kp=new(function(t){function e(n,r){void 0===r&&(r=Qp.now);var o=this;return(o=t.call(this,n,(function(){return e.delegate&&e.delegate!==o?e.delegate.now():r()}))||this).actions=[],o.active=!1,o.scheduled=void 0,o}return __extends(e,t),e.prototype.schedule=function(n,r,o){return void 0===r&&(r=0),e.delegate&&e.delegate!==this?e.delegate.schedule(n,r,o):t.prototype.schedule.call(this,n,r,o)},e.prototype.flush=function(t){var e=this.actions;if(this.active)e.push(t);else{var n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}},e}(Qp))(Wp),Yp=((Gp=function(){function t(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}return t.prototype.observe=function(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}},t.prototype.do=function(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}},t.prototype.accept=function(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)},t.prototype.toObservable=function(){switch(this.kind){case"N":return Lu(this.value);case"E":return zp(this.error);case"C":return ju()}throw new Error("unexpected notification kind value")},t.createNext=function(e){return void 0!==e?new t("N",e):t.undefinedValueNotification},t.createError=function(e){return new t("E",void 0,e)},t.createComplete=function(){return t.completeNotification},t}()).completeNotification=new Gp("C"),Gp.undefinedValueNotification=new Gp("N",void 0),Gp),Jp=function(){function t(t,e){this.delay=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new $p(t,this.delay,this.scheduler))},t}(),$p=function(t){function e(e,n,r){var o=this;return(o=t.call(this,e)||this).delay=n,o.scheduler=r,o.queue=[],o.active=!1,o.errored=!1,o}return __extends(e,t),e.dispatch=function(t){for(var e=t.source,n=e.queue,r=t.scheduler,o=t.destination;n.length>0&&n[0].time-r.now()<=0;)n.shift().notification.observe(o);if(n.length>0){var i=Math.max(0,n[0].time-r.now());this.schedule(t,i)}else this.unsubscribe(),e.active=!1},e.prototype._schedule=function(t){this.active=!0,this.destination.add(t.schedule(e.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))},e.prototype.scheduleNotification=function(t){if(!0!==this.errored){var e=this.scheduler,n=new Xp(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}},e.prototype._next=function(t){this.scheduleNotification(Yp.createNext(t))},e.prototype._error=function(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.scheduleNotification(Yp.createComplete()),this.unsubscribe()},e}(v),Xp=function(t,e){this.time=t,this.notification=e},tf="Service workers are disabled or not supported by this browser",ef=function(){function t(t){if(this.serviceWorker=t,t){var e=Zp(t,"controllerchange").pipe(Z((function(){return t.controller}))),n=Cl(Gu((function(){return Lu(t.controller)})),e);this.worker=n.pipe(Wu((function(t){return!!t}))),this.registration=this.worker.pipe(wl((function(){return t.getRegistration()})));var r=Zp(t,"message").pipe(Z((function(t){return t.data}))).pipe(Wu((function(t){return t&&t.type}))).pipe(ut(new I));r.connect(),this.events=r}else this.worker=this.events=this.registration=(o=tf,Gu((function(){return zp(new Error(o))})));var o}return t.prototype.postMessage=function(t,e){return this.worker.pipe(fl(1),el((function(n){n.postMessage(Object.assign({action:t},e))}))).toPromise().then((function(){}))},t.prototype.postMessageWithStatus=function(t,e,n){var r=this.waitForStatus(n),o=this.postMessage(t,e);return Promise.all([r,o]).then((function(){}))},t.prototype.generateNonce=function(){return Math.round(1e7*Math.random())},t.prototype.eventsOfType=function(t){return this.events.pipe(Wu((function(e){return e.type===t})))},t.prototype.nextEventOfType=function(t){return this.eventsOfType(t).pipe(fl(1))},t.prototype.waitForStatus=function(t){return this.eventsOfType("STATUS").pipe(Wu((function(e){return e.nonce===t})),fl(1),Z((function(t){if(!t.status)throw new Error(t.error)}))).toPromise()},Object.defineProperty(t.prototype,"isEnabled",{get:function(){return!!this.serviceWorker},enumerable:!0,configurable:!0}),t}(),nf=function(){function t(t){if(this.sw=t,this.subscriptionChanges=new I,!t.isEnabled)return this.messages=qp,this.notificationClicks=qp,void(this.subscription=qp);this.messages=this.sw.eventsOfType("PUSH").pipe(Z((function(t){return t.data}))),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe(Z((function(t){return t.data}))),this.pushManager=this.sw.registration.pipe(Z((function(t){return t.pushManager})));var e=this.pushManager.pipe(wl((function(t){return t.getSubscription()})));this.subscription=tt(e,this.subscriptionChanges)}return Object.defineProperty(t.prototype,"isEnabled",{get:function(){return this.sw.isEnabled},enumerable:!0,configurable:!0}),t.prototype.requestSubscription=function(t){var e=this;if(!this.sw.isEnabled)return Promise.reject(new Error(tf));for(var n={userVisibleOnly:!0},r=this.decodeBase64(t.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),o=new Uint8Array(new ArrayBuffer(r.length)),i=0;i<r.length;i++)o[i]=r.charCodeAt(i);return n.applicationServerKey=o,this.pushManager.pipe(wl((function(t){return t.subscribe(n)})),fl(1)).toPromise().then((function(t){return e.subscriptionChanges.next(t),t}))},t.prototype.unsubscribe=function(){var t=this;return this.sw.isEnabled?this.subscription.pipe(fl(1),wl((function(e){if(null===e)throw new Error("Not subscribed to push notifications.");return e.unsubscribe().then((function(e){if(!e)throw new Error("Unsubscribe failed!");t.subscriptionChanges.next(null)}))}))).toPromise():Promise.reject(new Error(tf))},t.prototype.decodeBase64=function(t){return atob(t)},t}(),rf=function(){function t(t){if(this.sw=t,!t.isEnabled)return this.available=qp,void(this.activated=qp);this.available=this.sw.eventsOfType("UPDATE_AVAILABLE"),this.activated=this.sw.eventsOfType("UPDATE_ACTIVATED")}return Object.defineProperty(t.prototype,"isEnabled",{get:function(){return this.sw.isEnabled},enumerable:!0,configurable:!0}),t.prototype.checkForUpdate=function(){if(!this.sw.isEnabled)return Promise.reject(new Error(tf));var t=this.sw.generateNonce();return this.sw.postMessageWithStatus("CHECK_FOR_UPDATES",{statusNonce:t},t)},t.prototype.activateUpdate=function(){if(!this.sw.isEnabled)return Promise.reject(new Error(tf));var t=this.sw.generateNonce();return this.sw.postMessageWithStatus("ACTIVATE_UPDATE",{statusNonce:t},t)},t}(),of=function(){},af=new Rt("NGSW_REGISTER_SCRIPT");function uf(t,e,n,r){return function(){if(Ru(r)&&"serviceWorker"in navigator&&!1!==n.enabled){var o;if(navigator.serviceWorker.addEventListener("controllerchange",(function(){null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})})),"function"==typeof n.registrationStrategy)o=n.registrationStrategy();else{var i=(n.registrationStrategy||"registerWhenStable").split(":"),a=i[0],u=i.slice(1);switch(a){case"registerImmediately":o=Lu(null);break;case"registerWithDelay":o=Lu(null).pipe(function(t,e){var n;void 0===e&&(e=Kp);var r=(n=t)instanceof Date&&!isNaN(+n)?+t-e.now():Math.abs(t);return function(t){return t.lift(new Jp(r,e))}}(+u[0]||0));break;case"registerWhenStable":o=t.get(Si).isStable.pipe(Wu((function(t){return t})));break;default:throw new Error("Unknown ServiceWorker registration strategy: "+n.registrationStrategy)}}o.pipe(fl(1)).subscribe((function(){return navigator.serviceWorker.register(e,{scope:n.scope}).catch((function(t){return console.error("Service worker registration failed with:",t)}))}))}}}function lf(t,e){return new ef(Ru(e)&&!1!==t.enabled?navigator.serviceWorker:void 0)}var sf=function(){function t(){}return t.register=function(e,n){return void 0===n&&(n={}),{ngModule:t,providers:[{provide:af,useValue:e},{provide:of,useValue:n},{provide:ef,useFactory:lf,deps:[of,Vo]},{provide:No,useFactory:uf,deps:[Ue,af,of,Vo],multi:!0}]}},t}(),cf=function(){},hf=new lu(su,[cu],(function(t){return function(t){for(var e={},n=[],r=!1,o=0;o<t.length;o++){var i=t[o];i.token===De&&!0===i.value&&(r=!0),1073741824&i.flags&&n.push(i.token),i.index=o,e[$n(i.token)]=i}return{factory:null,providersByKey:e,providers:t,modules:n,isRoot:r}}([Rr(512,ln,sn,[[8,[Pp,Np,Fp]],[3,ln],Zt]),Rr(5120,zo,Hi,[[3,zo]]),Rr(4608,_u,Cu,[zo,[2,bu]]),Rr(5120,xo,Fi,[ai]),Rr(5120,Do,jo,[]),Rr(5120,In,Li,[]),Rr(5120,Rn,Vi,[]),Rr(4608,Ts,ks,[Pu]),Rr(6144,Pe,null,[Ts]),Rr(4608,ws,_s,[]),Rr(5120,ql,(function(t,e,n,r,o,i,a,u){return[new ys(t,e,n),new Es(r),new Cs(o,i,a,u)]}),[Pu,ai,Vo,Pu,Pu,ws,Fo,[2,bs]]),Rr(4608,Wl,Wl,[ql,ai]),Rr(135680,Yl,Yl,[Pu]),Rr(4608,rs,rs,[Wl,Yl,Do]),Rr(6144,gn,null,[rs]),Rr(6144,Kl,null,[Yl]),Rr(4608,di,di,[ai]),Rr(5120,Gc,bp,[tp]),Rr(4608,up,up,[]),Rr(6144,ip,null,[up]),Rr(135680,lp,lp,[tp,Ti,Jo,Ue,ip]),Rr(4608,ap,ap,[]),Rr(5120,sp,gp,[tp,Nu,cp]),Rr(5120,Sp,xp,[_p]),Rr(5120,Ho,(function(t){return[t]}),[Sp]),Rr(5120,ef,lf,[of,Vo]),Rr(4608,nf,nf,[ef]),Rr(4608,rf,rf,[ef]),Rr(1073742336,ku,ku,[]),Rr(1024,ne,Ds,[]),Rr(1024,mi,(function(){return[fp()]}),[]),Rr(512,_p,_p,[Ue]),Rr(256,af,"ngsw-worker.js",[]),Rr(256,of,{enabled:!0},[]),Rr(1024,No,(function(t,e,n,r,o,i){return[(a=t,Bl("probe",Gl),Bl("coreTokens",Object.assign({},Zl,(a||[]).reduce((function(t,e){return t[e.name]=e.token,t}),{}))),function(){return Gl}),Cp(e),uf(n,r,o,i)];var a}),[[2,mi],_p,Ue,af,of,Vo]),Rr(512,Mo,Mo,[[2,No]]),Rr(131584,Si,Si,[ai,Fo,Ue,ne,ln,Mo]),Rr(1073742336,zi,zi,[Si]),Rr(1073742336,js,js,[[3,js]]),Rr(1024,hp,yp,[[3,tp]]),Rr(512,xc,Sc,[]),Rr(512,np,np,[]),Rr(256,cp,{},[]),Rr(1024,fu,vp,[hu,[2,du],cp]),Rr(512,gu,gu,[fu,hu]),Rr(512,Jo,Jo,[]),Rr(512,Ti,Ai,[Jo,[2,ki]]),Rr(1024,Wh,(function(){return[[{path:"page1",component:Ap}]]}),[]),Rr(1024,tp,wp,[Si,xc,np,gu,Ue,Ti,Jo,Wh,cp,[2,Kh],[2,Gh]]),Rr(1073742336,dp,dp,[[2,hp],[2,tp]]),Rr(1073742336,cf,cf,[]),Rr(1073742336,sf,sf,[]),Rr(1073742336,su,su,[]),Rr(256,De,!0,[])])}));(function(){if(oe)throw new Error("Cannot enable prod mode after platform setup.");re=!1})(),Ms().bootstrapModuleFactory(hf).catch((function(t){return console.error(t)}))},zn8P:function(t,e){function n(t){return Promise.resolve().then((function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}))}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id="zn8P"}},[[0,0]]]);