-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.05ca720d30eec5bd5454.js
1 lines (1 loc) · 249 KB
/
main.05ca720d30eec5bd5454.js
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{0:function(t,e,n){t.exports=n("zUnb")},crnd: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="crnd"},zUnb:function(t,e,n){"use strict";n.r(e);var r=function(t,e){return(r=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])})(t,e)};function o(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var i=function(){return(i=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};function a(t,e,n,r){var o,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var u=t.length-1;u>=0;u--)(o=t[u])&&(a=(i<3?o(a):i>3?o(e,n,a):o(e,n))||a);return i>3&&a&&Object.defineProperty(e,n,a),a}function u(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function s(t){var e="function"==typeof Symbol&&t[Symbol.iterator],n=0;return e?e.call(t):{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}function l(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(u){o={error:u}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function c(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(l(arguments[e]));return t}var f=Array.isArray||function(t){return t&&"number"==typeof t.length};function p(t){return null!=t&&"object"==typeof t}function h(t){return"function"==typeof t}var d,v={e:{}};function g(){try{return d.apply(this,arguments)}catch(t){return v.e=t,v}}function y(t){return d=t,g}function m(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}m.prototype=Object.create(Error.prototype);var w=m,b=function(){function t(t){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}var e;return t.prototype.unsubscribe=function(){var t,e=!1;if(!this.closed){var n=this._parent,r=this._parents,o=this._unsubscribe,i=this._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var a=-1,u=r?r.length:0;n;)n.remove(this),n=++a<u&&r[a]||null;if(h(o)&&y(o).call(this)===v&&(e=!0,t=t||(v.e instanceof w?_(v.e.errors):[v.e])),f(i))for(a=-1,u=i.length;++a<u;){var s=i[a];if(p(s)&&y(s.unsubscribe).call(s)===v){e=!0,t=t||[];var l=v.e;l instanceof w?t=t.concat(_(l.errors)):t.push(l)}}if(e)throw new w(t)}},t.prototype.add=function(e){if(!e||e===t.EMPTY)return t.EMPTY;if(e===this)return this;var n=e;switch(typeof e){case"function":n=new t(e);case"object":if(n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if("function"!=typeof n._addParent){var r=n;(n=new t)._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}return(this._subscriptions||(this._subscriptions=[])).push(n),n._addParent(this),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;e&&e!==t?n?-1===n.indexOf(t)&&n.push(t):this._parents=[t]:this._parent=t},t.EMPTY=((e=new t).closed=!0,e),t}();function _(t){return t.reduce(function(t,e){return t.concat(e instanceof w?e.errors:e)},[])}var C=!1,S={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){C=t},get useDeprecatedSynchronousErrorHandling(){return C}};function x(t){setTimeout(function(){throw t})}var E={closed:!0,next:function(t){},error:function(t){if(S.useDeprecatedSynchronousErrorHandling)throw t;x(t)},complete:function(){}},T="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random(),k=function(t){function e(n,r,o){var i=t.call(this)||this;switch(i.syncErrorValue=null,i.syncErrorThrown=!1,i.syncErrorThrowable=!1,i.isStopped=!1,i._parentSubscription=null,arguments.length){case 0:i.destination=E;break;case 1:if(!n){i.destination=E;break}if("object"==typeof n){n instanceof e?(i.syncErrorThrowable=n.syncErrorThrowable,i.destination=n,n.add(i)):(i.syncErrorThrowable=!0,i.destination=new R(i,n));break}default:i.syncErrorThrowable=!0,i.destination=new R(i,n,r,o)}return i}return o(e,t),e.prototype[T]=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._parentSubscription=null,this},e}(b),R=function(t){function e(e,n,r,o){var i,a=t.call(this)||this;a._parentSubscriber=e;var u=a;return h(n)?i=n:n&&(i=n.next,r=n.error,o=n.complete,n!==E&&(h((u=Object.create(n)).unsubscribe)&&a.add(u.unsubscribe.bind(u)),u.unsubscribe=a.unsubscribe.bind(a))),a._context=u,a._next=i,a._error=r,a._complete=o,a}return o(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;S.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=S.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):x(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;x(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)};S.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(),S.useDeprecatedSynchronousErrorHandling)throw n;x(n)}},e.prototype.__tryOrSetError=function(t,e,n){if(!S.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(r){return S.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=r,t.syncErrorThrown=!0,!0):(x(r),!0)}return!1},e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},e}(k),I="function"==typeof Symbol&&Symbol.observable||"@@observable";function A(){}function P(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return N(t)}function N(t){return t?1===t.length?t[0]:function(e){return t.reduce(function(t,e){return e(t)},e)}:A}var O=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 k)return t;if(t[T])return t[T]()}return t||e||n?new k(t,e,n):new k(E)}(t,e,n);if(r?r.call(o,this.source):o.add(this.source||S.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),S.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){S.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){var e=t.destination;if(t.closed||t.isStopped)return!1;t=e&&e instanceof k?e:null}return!0}(t)?t.error(e):console.warn(e)}},t.prototype.forEach=function(t,e){var n=this;return new(e=D(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[I]=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:N(t)(this)},t.prototype.toPromise=function(t){var e=this;return new(t=D(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(e){return new t(e)},t}();function D(t){if(t||(t=S.Promise||Promise),!t)throw new Error("no Promise impl found");return t}function j(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}j.prototype=Object.create(Error.prototype);var M=j,U=function(t){function e(e,n){var r=t.call(this)||this;return r.subject=e,r.subscriber=n,r.closed=!1,r}return o(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}(b),L=function(t){function e(e){var n=t.call(this,e)||this;return n.destination=e,n}return o(e,t),e}(k),V=function(t){function e(){var e=t.call(this)||this;return e.observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return o(e,t),e.prototype[T]=function(){return new L(this)},e.prototype.lift=function(t){var e=new H(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new M;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 M;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 M;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 M;return t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){if(this.closed)throw new M;return this.hasError?(t.error(this.thrownError),b.EMPTY):this.isStopped?(t.complete(),b.EMPTY):(this.observers.push(t),new U(this,t))},e.prototype.asObservable=function(){var t=new O;return t.source=this,t},e.create=function(t,e){return new H(t,e)},e}(O),H=function(t){function e(e,n){var r=t.call(this)||this;return r.destination=e,r.source=n,r}return o(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):b.EMPTY},e}(V);function F(t){return t&&"function"==typeof t.schedule}var z=function(t){function e(e,n,r){var o=t.call(this)||this;return o.parent=e,o.outerValue=n,o.outerIndex=r,o.index=0,o}return o(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}(k),B=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()}},q=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,x),e}};function Z(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}var G=Z(),W=function(t){return function(e){for(var n=t[G]();;){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}},Q=function(t){return function(e){var n=t[I]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(e)}},K=function(t){return t&&"number"==typeof t.length&&"function"!=typeof t};function Y(t){return t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}var J=function(t){if(t instanceof O)return function(e){return t._isScalar?(e.next(t.value),void e.complete()):t.subscribe(e)};if(t&&"function"==typeof t[I])return Q(t);if(K(t))return B(t);if(Y(t))return q(t);if(t&&"function"==typeof t[G])return W(t);var e=p(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 $(t,e,n,r,o){if(void 0===o&&(o=new z(t,n,r)),!o.closed)return J(e)(o)}var X=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(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}(k);function tt(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 et(t,e))}}var et=function(){function t(t,e){this.project=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new nt(t,this.project,this.thisArg))},t}(),nt=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.project=n,o.count=0,o.thisArg=r||o,o}return o(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}(k);function rt(t,e){return new O(e?function(n){var r=new b,o=0;return r.add(e.schedule(function(){o!==t.length?(n.next(t[o++]),n.closed||r.add(this.schedule())):n.complete()})),r}:B(t))}function ot(t,e){if(!e)return t instanceof O?t:new O(J(t));if(null!=t){if(function(t){return t&&"function"==typeof t[I]}(t))return function(t,e){return new O(e?function(n){var r=new b;return r.add(e.schedule(function(){var o=t[I]();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}:Q(t))}(t,e);if(Y(t))return function(t,e){return new O(e?function(n){var r=new b;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}:q(t))}(t,e);if(K(t))return rt(t,e);if(function(t){return t&&"function"==typeof t[G]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new O(e?function(n){var r,o=new b;return o.add(function(){r&&"function"==typeof r.return&&r.return()}),o.add(e.schedule(function(){r=t[G](),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}:W(t))}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}function it(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof e?function(r){return r.pipe(it(function(n,r){return ot(t(n,r)).pipe(tt(function(t,o){return e(n,t,r,o)}))},n))}:("number"==typeof e&&(n=e),function(e){return e.lift(new at(t,n))})}var at=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 ut(t,this.project,this.concurrent))},t}(),ut=function(t){function e(e,n,r){void 0===r&&(r=Number.POSITIVE_INFINITY);var o=t.call(this,e)||this;return o.project=n,o.concurrent=r,o.hasCompleted=!1,o.buffer=[],o.active=0,o.index=0,o}return o(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 z(this,void 0,void 0);this.destination.add(r),$(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}(X);function st(t){return t}function lt(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),it(st,t)}function ct(){return function(t){return t.lift(new ft(t))}}var ft=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new pt(t,n),o=e.subscribe(r);return r.closed||(r.connection=n.connect()),o},t}(),pt=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return o(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}(k),ht=function(t){function e(e,n){var r=t.call(this)||this;return r.source=e,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return o(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 b).add(this.source.subscribe(new vt(this.getSubject(),this))),t.closed?(this._connection=null,t=b.EMPTY):this._connection=t),t},e.prototype.refCount=function(){return ct()(this)},e}(O).prototype,dt={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:ht._subscribe},_isComplete:{value:ht._isComplete,writable:!0},getSubject:{value:ht.getSubject},connect:{value:ht.connect},refCount:{value:ht.refCount}},vt=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return o(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}(L);function gt(){return new V}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,e){for(var n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}var wt=yt({ngInjectableDef:yt}),bt=yt({ngBaseDef:yt});function _t(t){return{providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Ct(t){return t&&t.hasOwnProperty(wt)?t[wt]:null}var St=function(){function t(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0!==e?_t({providedIn:e.providedIn||"root",factory:e.factory}):void 0}return t.prototype.toString=function(){return"InjectionToken "+this._desc},t}(),xt="__parameters__",Et="__prop__metadata__";function Tt(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(t){var r=t.apply(void 0,c(e));for(var o in r)this[o]=r[o]}}}function kt(t,e,n){var r=Tt(e);function o(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(this instanceof o)return r.apply(this,e),this;var i=new((t=o).bind.apply(t,c([void 0],e)));return a.annotation=i,a;function a(t,e,n){for(var r=t.hasOwnProperty(xt)?t[xt]:Object.defineProperty(t,xt,{value:[]})[xt];r.length<=n;)r.push(null);return(r[n]=r[n]||[]).push(i),t}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o}function Rt(t,e,n,r){var o=Tt(e);function i(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(this instanceof i)return o.apply(this,e),this;var a=new((t=i).bind.apply(t,c([void 0],e)));return function(t,n){var o=t.constructor,i=o.hasOwnProperty(Et)?o[Et]:Object.defineProperty(o,Et,{value:{}})[Et];i[n]=i.hasOwnProperty(n)&&i[n]||[],i[n].unshift(a),r&&r.apply(void 0,c([t,n],e))}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i}var It=new St("AnalyzeForEntryComponents"),At="undefined"!=typeof window&&window,Pt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Nt="undefined"!=typeof global&&global||At||Pt,Ot=Promise.resolve(0),Dt=null;function jt(){if(!Dt){var t=Nt.Symbol;if(t&&t.iterator)Dt=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&&(Dt=r)}}return Dt}function Mt(t){"undefined"==typeof Zone?Ot.then(function(){t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}function Ut(t,e){return t===e||"number"==typeof t&&"number"==typeof e&&isNaN(t)&&isNaN(e)}function Lt(t){if("string"==typeof t)return t;if(t instanceof Array)return"["+t.map(Lt).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 Vt=yt({__forward_ref__:yt});function Ht(t){return t.__forward_ref__=Ht,t.toString=function(){return Lt(this())},t}function Ft(t){var e=t;return"function"==typeof e&&e.hasOwnProperty(Vt)&&e.__forward_ref__===Ht?e():t}var zt,Bt=function(t){return t[t.Emulated=0]="Emulated",t[t.Native=1]="Native",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({}),qt=kt("Inject",function(t){return{token:t}}),Zt=kt("Optional"),Gt=kt("Self"),Wt=kt("SkipSelf"),Qt=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}({}),Kt=void 0;function Yt(t){var e=Kt;return Kt=t,e}function Jt(t,e){return void 0===e&&(e=Qt.Default),(zt||function(t,e){if(void 0===e&&(e=Qt.Default),void 0===Kt)throw new Error("inject() must be called from an injection context");return null===Kt?function(t,e,n){var r=Ct(t);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&Qt.Optional)return null;throw new Error("Injector: NOT_FOUND ["+Lt(t)+"]")}(t,0,e):Kt.get(t,e&Qt.Optional?null:void 0,e)})(t,e)}var $t=/([A-Z])/g;function Xt(t){try{return null!=t?t.toString().slice(0,30):t}catch(e){return"[ERROR] Exception while trying to serialize the value"}}function te(t,e){var n=re(t),r=re(e);return n&&r?function(t,e,n){for(var r=t[jt()](),o=e[jt()]();;){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,te):!(n||!t||"object"!=typeof t&&"function"!=typeof t||r||!e||"object"!=typeof e&&"function"!=typeof e)||Ut(t,e)}var ee=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}(),ne=function(){function t(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}return t.prototype.isFirstChange=function(){return this.firstChange},t}();function re(t){return!!oe(t)&&(Array.isArray(t)||!(t instanceof Map)&&jt()in t)}function oe(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function ie(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]}var ae="__source",ue=new Object,se=new St("INJECTOR"),le=function(){function t(){}return t.prototype.get=function(t,e){if(void 0===e&&(e=ue),e===ue)throw new Error("NullInjectorError: No provider for "+Lt(t)+"!");return e},t}(),ce=function(){function t(){}return t.create=function(t,e){return Array.isArray(t)?new be(t,e):new be(t.providers,t.parent,t.name||null)},t.THROW_IF_NOT_FOUND=ue,t.NULL=new le,t.ngInjectableDef=_t({providedIn:"any",factory:function(){return Jt(se)}}),t.__NG_ELEMENT_ID__=function(){return fe()},t}(),fe=ie,pe=function(t){return t},he=[],de=pe,ve=function(){return Array.prototype.slice.call(arguments)},ge=yt({provide:String,useValue:yt}),ye=ce.NULL,me=/\n/gm,we="\u0275",be=function(){function t(t,e,n){void 0===e&&(e=ye),void 0===n&&(n=null),this.parent=e,this.source=n;var r=this._records=new Map;r.set(ce,{token:ce,fn:pe,deps:he,value:this,useNew:!1}),r.set(se,{token:se,fn:pe,deps:he,value:this,useNew:!1}),function t(e,n){if(n)if((n=Ft(n))instanceof Array)for(var r=0;r<n.length;r++)t(e,n[r]);else{if("function"==typeof n)throw Se("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw Se("Unexpected provider",n);var o=Ft(n.provide),i=function(t){var e=function(t){var e=he,n=t.deps;if(n&&n.length){e=[];for(var r=0;r<n.length;r++){var o=6;if((s=Ft(n[r]))instanceof Array)for(var i=0,a=s;i<a.length;i++){var u=a[i];u instanceof Zt||u==Zt?o|=1:u instanceof Wt||u==Wt?o&=-3:u instanceof Gt||u==Gt?o&=-5:s=u instanceof qt?u.token:Ft(u)}e.push({token:s,options:o})}}else if(t.useExisting){var s;e=[{token:s=Ft(t.useExisting),options:6}]}else if(!(n||ge in t))throw Se("'deps' required",t);return e}(t),n=pe,r=he,o=!1,i=Ft(t.provide);if(ge in t)r=t.useValue;else if(t.useFactory)n=t.useFactory;else if(t.useExisting);else if(t.useClass)o=!0,n=Ft(t.useClass);else{if("function"!=typeof i)throw Se("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!==ve)throw _e(o)}else e.set(o,a={token:n.provide,deps:[],useNew:!1,fn:ve,value:he});a.deps.push({token:o=n,options:6})}var u=e.get(o);if(u&&u.fn==ve)throw _e(o);e.set(o,i)}}(r,t)}return t.prototype.get=function(t,e,n){void 0===n&&(n=Qt.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,s;if(!n||a&Qt.SkipSelf)a&Qt.Self||(s=o.get(e,i,Qt.Default));else{if((s=n.value)==de)throw Error(we+"Circular dependency");if(s===he){n.value=de;var l=n.useNew,f=n.fn,p=n.deps,h=he;if(p.length){h=[];for(var d=0;d<p.length;d++){var v=p[d],g=v.options,y=2&g?r.get(v.token):void 0;h.push(t(v.token,y,r,y||4&g?o:ye,1&g?null:ce.THROW_IF_NOT_FOUND,Qt.Default))}}n.value=s=l?new((u=f).bind.apply(u,c([void 0],h))):f.apply(void 0,h)}}return s}(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==de&&(n.value=he),u}}(t,r,this._records,this.parent,e,n)}catch(i){var o=i.ngTempTokenPath;throw t[ae]&&o.unshift(t[ae]),i.message=Ce("\n"+i.message,o,this.source),i.ngTokenPath=o,i.ngTempTokenPath=null,i}},t.prototype.toString=function(){var t=[];return this._records.forEach(function(e,n){return t.push(Lt(n))}),"StaticInjector["+t.join(", ")+"]"},t}();function _e(t){return Se("Cannot mix multi providers and regular providers",t)}function Ce(t,e,n){void 0===n&&(n=null),t=t&&"\n"===t.charAt(0)&&t.charAt(1)==we?t.substr(2):t;var r=Lt(e);if(e instanceof Array)r=e.map(Lt).join(" -> ");else if("object"==typeof e){var o=[];for(var i in e)if(e.hasOwnProperty(i)){var a=e[i];o.push(i+":"+("string"==typeof a?JSON.stringify(a):Lt(a)))}r="{"+o.join(", ")+"}"}return"StaticInjectorError"+(n?"("+n+")":"")+"["+r+"]: "+t.replace(me,"\n ")}function Se(t,e){return new Error(Ce(t,e))}var xe=new St("The presence of this token marks an injector as being the root injector."),Ee=function(){return function(){}}(),Te=function(){return function(){}}();function ke(t){var e=Error("No component factory found for "+Lt(t)+". Did you add it to @NgModule.entryComponents?");return e[Re]=t,e}var Re="ngComponent",Ie=function(){function t(){}return t.prototype.resolveComponentFactory=function(t){throw ke(t)},t}(),Ae=function(){function t(){}return t.NULL=new Ie,t}(),Pe=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 ke(t);return new Ne(e,this._ngModule)},t}(),Ne=function(t){function e(e,n){var r=t.call(this)||this;return r.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 o(e,t),e.prototype.create=function(t,e,n,r){return this.factory.create(t,e,n,r||this.ngModule)},e}(Te),Oe=function(){return function(){}}(),De=function(){return function(){}}(),je=function(){function t(t){this.nativeElement=t}return t.__NG_ELEMENT_ID__=function(){return Me(t)},t}(),Me=ie,Ue=function(){return function(){}}(),Le=function(){return function(){}}(),Ve=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({}),He=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return Fe()},t}(),Fe=ie,ze=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}({}),Be=function(){return function(){}}(),qe=new(function(){return function(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}())("7.2.15"),Ze=!0,Ge=!1;function We(){return Ge=!0,Ze}var Qe=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}(),Ke=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:\/?#]*(?:[\/?#]|$))/gi,Ye=/^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 Je(t){return(t=String(t)).match(Ke)||t.match(Ye)?t:(We()&&console.warn("WARNING: sanitizing unsafe URL value "+t+" (see http://g.co/ng/security#xss)"),"unsafe:"+t)}function $e(t){var e,n,r={};try{for(var o=s(t.split(",")),i=o.next();!i.done;i=o.next())r[i.value]=!0}catch(a){e={error:a}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return r}function Xe(){for(var t,e,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o={};try{for(var i=s(n),a=i.next();!a.done;a=i.next()){var u=a.value;for(var l in u)u.hasOwnProperty(l)&&(o[l]=!0)}}catch(c){t={error:c}}finally{try{a&&!a.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}return o}var tn,en=$e("area,br,col,hr,img,wbr"),nn=$e("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),rn=$e("rp,rt"),on=Xe(rn,nn),an=Xe(en,Xe(nn,$e("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")),Xe(rn,$e("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")),on),un=$e("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),sn=$e("srcset"),ln=Xe(un,sn,$e("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")),cn=$e("script,style,template"),fn=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,n=t.nodeName.toLowerCase();if(!an.hasOwnProperty(n))return this.sanitizedSomething=!0,!cn.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);for(var r=t.attributes,o=0;o<r.length;o++){var i=r.item(o),a=i.name,u=a.toLowerCase();if(ln.hasOwnProperty(u)){var s=i.value;un[u]&&(s=Je(s)),sn[u]&&(e=s,s=(e=String(e)).split(",").map(function(t){return Je(t.trim())}).join(", ")),this.buf.push(" ",a,'="',dn(s),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0},t.prototype.endElement=function(t){var e=t.nodeName.toLowerCase();an.hasOwnProperty(e)&&!en.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))},t.prototype.chars=function(t){this.buf.push(dn(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}(),pn=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,hn=/([^\#-~ |!])/g;function dn(t){return t.replace(/&/g,"&").replace(pn,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(hn,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}function vn(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var gn=function(t){function e(e){void 0===e&&(e=!1);var n=t.call(this)||this;return n.__isAsync=e,n}return o(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 b&&e.add(u),u},e}(V),yn=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return mn(t,je)},t}(),mn=ie,wn=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),bn=/^url\(([^)]+)\)$/,_n=function(){return function(){}}(),Cn=Rt("Input",function(t){return{bindingPropertyName:t}},void 0,function(t){return function(t,e){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=t.constructor;o.hasOwnProperty(bt)||function(t){var e=t.constructor,n=e.ngBaseDef,r=e.ngBaseDef={inputs:{},outputs:{},declaredInputs:{}};n&&(mt(r.inputs,n.inputs),mt(r.outputs,n.outputs),mt(r.declaredInputs,n.declaredInputs))}(t),(function(t){return t.inputs||{}}(o.ngBaseDef))[e]=n[0]}}()),Sn=Rt("HostBinding",function(t){return{hostPropertyName:t}}),xn="ngDebugContext",En="ngOriginalError",Tn="ngErrorLogger";function kn(t){return t[xn]}function Rn(t){return t[En]}function In(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];t.error.apply(t,c(e))}var An=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[Tn]||In}(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?kn(t)?kn(t):this._findContext(Rn(t)):null},t.prototype._findOriginalError=function(t){for(var e=Rn(t);e&&Rn(e);)e=Rn(e);return e},t}();function Pn(t){return!!t&&"function"==typeof t.then}function Nn(t){return!!t&&"function"==typeof t.subscribe}var On=new St("Application Initializer"),Dn=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]();Pn(o)&&e.push(o)}Promise.all(e).then(function(){n()}).catch(function(e){t.reject(e)}),0===e.length&&n(),this.initialized=!0}},t}(),jn=new St("AppId");function Mn(){return""+Un()+Un()+Un()}function Un(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var Ln=new St("Platform Initializer"),Vn=new St("Platform ID"),Hn=new St("appBootstrapListener"),Fn=function(){function t(){}return t.prototype.log=function(t){console.log(t)},t.prototype.warn=function(t){console.warn(t)},t}();function zn(){throw new Error("Runtime compiler is not loaded")}var Bn,qn,Zn=zn,Gn=zn,Wn=zn,Qn=zn,Kn=function(){function t(){this.compileModuleSync=Zn,this.compileModuleAsync=Gn,this.compileModuleAndAllComponentsSync=Wn,this.compileModuleAndAllComponentsAsync=Qn}return t.prototype.clearCache=function(){},t.prototype.clearCacheFor=function(t){},t.prototype.getModuleId=function(t){},t}(),Yn=function(){return function(){}}();function Jn(){var t=Nt.wtf;return!(!t||!(Bn=t.trace)||(qn=Bn.events,0))}var $n=Jn();function Xn(t,e){return null}var tr=$n?function(t,e){return void 0===e&&(e=null),qn.createScope(t,e)}:function(t,e){return Xn},er=$n?function(t,e){return Bn.leaveScope(t,e),e}:function(t,e){return e},nr=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 gn(!1),this.onMicrotaskEmpty=new gn(!1),this.onStable=new gn(!1),this.onError=new gn(!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 ar(e),t.invokeTask(r,o,i,a)}finally{ur(e)}},onInvoke:function(t,n,r,o,i,a,u){try{return ar(e),t.invoke(r,o,i,a,u)}finally{ur(e)}},onHasTask:function(t,n,r,o){t.hasTask(r,o),n===r&&("microTask"==o.change?(e.hasPendingMicrotasks=o.microTask,ir(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,or,rr,rr);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 rr(){}var or={};function ir(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 ar(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function ur(t){t._nesting--,ir(t)}var sr,lr=function(){function t(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new gn,this.onMicrotaskEmpty=new gn,this.onStable=new gn,this.onError=new gn}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}(),cr=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(){nr.assertNotInAngularZone(),Mt(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())Mt(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}(),fr=function(){function t(){this._applications=new Map,pr.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),pr.findTestabilityInTree(this,t,e)},a([u("design:paramtypes",[])],t)}(),pr=new(function(){function t(){}return t.prototype.addToWindow=function(t){},t.prototype.findTestabilityInTree=function(t,e,n){return null},t}()),hr=new St("AllowMultipleToken"),dr=function(){return function(t,e){this.name=t,this.token=e}}();function vr(t,e,n){void 0===n&&(n=[]);var r="Platform: "+e,o=new St(r);return function(e){void 0===e&&(e=[]);var i=gr();if(!i||i.injector.get(hr,!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(sr&&!sr.destroyed&&!sr.injector.get(hr,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");sr=t.get(yr);var e=t.get(Ln,null);e&&e.forEach(function(t){return t()})}(ce.create({providers:a,name:r}))}return function(t){var e=gr();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 gr(){return sr&&!sr.destroyed?sr:null}var yr=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 lr:("zone.js"===n?void 0:n)||new nr({enableLongStackTrace:We()}),i=[{provide:nr,useValue:o}];return o.run(function(){var e=ce.create({providers:i,parent:r.injector,name:t.moduleType.name}),n=t.create(e),a=n.injector.get(An,null);if(!a)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy(function(){return br(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(Dn)).runInitializers(),a.donePromise.then(function(){return r._moduleDoBootstrap(n),n}));return Pn(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=mr({},e);return function(t,e,n){return t.get(Yn).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(wr);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(function(t){return e.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+Lt(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 mr(t,e){return Array.isArray(e)?e.reduce(mr,t):i({},t,e)}var wr=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=We(),this._zone.onMicrotaskEmpty.subscribe({next:function(){a._zone.run(function(){a.tick()})}});var u=new O(function(t){a._stable=a._zone.isStable&&!a._zone.hasPendingMacrotasks&&!a._zone.hasPendingMicrotasks,a._zone.runOutsideAngular(function(){t.next(a._stable),t.complete()})}),s=new O(function(t){var e;a._zone.runOutsideAngular(function(){e=a._zone.onStable.subscribe(function(){nr.assertNotInAngularZone(),Mt(function(){a._stable||a._zone.hasPendingMacrotasks||a._zone.hasPendingMicrotasks||(a._stable=!0,t.next(!0))})})});var n=a._zone.onUnstable.subscribe(function(){nr.assertInAngularZone(),a._stable&&(a._stable=!1,a._zone.runOutsideAngular(function(){t.next(!1)}))});return function(){e.unsubscribe(),n.unsubscribe()}});this.isStable=function(){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 F(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 O?t[0]:lt(n)(rt(t,r))}(u,s.pipe(function(t){return ct()((e=gt,function(t){var n;n="function"==typeof e?e:function(){return e};var r=Object.create(t,dt);return r.source=t,r.subjectFactory=n,r})(t));var e}))}var e;return e=t,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 Te?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);var o=n instanceof Ne?null:this._injector.get(Oe),i=n.create(ce.NULL,[],e||n.selector,o);i.onDestroy(function(){r._unloadComponent(i)});var a=i.injector.get(cr,null);return a&&i.injector.get(fr).registerApplication(i.location.nativeElement,a),this._loadComponent(i),We()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),i},t.prototype.tick=function(){var t=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=e._tickScope();try{this._runningTick=!0,this._views.forEach(function(t){return t.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(t){return t.checkNoChanges()})}catch(r){this._zone.runOutsideAngular(function(){return t._exceptionHandler.handleError(r)})}finally{this._runningTick=!1,er(n)}},t.prototype.attachView=function(t){var e=t;this._views.push(e),e.attachToAppRef(this)},t.prototype.detachView=function(t){var e=t;br(this._views,e),e.detachFromAppRef()},t.prototype._loadComponent=function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Hn,[]).concat(this._bootstrapListeners).forEach(function(e){return e(t)})},t.prototype._unloadComponent=function(t){this.detachView(t.hostView),br(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=tr("ApplicationRef#tick()"),t}();function br(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var _r=function(){function t(){this.dirty=!0,this._results=[],this.changes=new gn,this.length=0}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[jt()]=function(){return this._results[jt()]()},t.prototype.toString=function(){return this._results.toString()},t.prototype.reset=function(t){this._results=function t(e){return e.reduce(function(e,n){var r=Array.isArray(n)?t(n):n;return e.concat(r)},[])}(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}(),Cr=function(){return function(){}}(),Sr={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},xr=function(){function t(t,e){this._compiler=t,this._config=e||Sr}return t.prototype.load=function(t){return this._compiler instanceof Kn?this.loadFactory(t):this.loadAndCompile(t)},t.prototype.loadAndCompile=function(t){var e=this,r=l(t.split("#"),2),o=r[0],i=r[1];return void 0===i&&(i="default"),n("crnd")(o).then(function(t){return t[i]}).then(function(t){return Er(t,o,i)}).then(function(t){return e._compiler.compileModuleAsync(t)})},t.prototype.loadFactory=function(t){var e=l(t.split("#"),2),r=e[0],o=e[1],i="NgFactory";return void 0===o&&(o="default",i=""),n("crnd")(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then(function(t){return t[o+i]}).then(function(t){return Er(t,r,o)})},t}();function Er(t,e,n){if(!t)throw new Error("Cannot find '"+n+"' in '"+e+"'");return t}var Tr=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return kr(t,je)},t}(),kr=ie,Rr=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return Ir()},t}(),Ir=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]},Ar=function(){return function(t,e){this.name=t,this.callback=e}}(),Pr=function(){function t(t,e,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=t,e&&e instanceof Nr&&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}(),Nr=function(t){function e(e,n,r){var o=t.call(this,e,n,r)||this;return o.properties={},o.attributes={},o.classes={},o.styles={},o.childNodes=[],o.nativeElement=e,o}return o(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,c([o+1,0],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 e=[];return function t(e,n,r){e.childNodes.forEach(function(e){e instanceof Nr&&(n(e)&&r.push(e),t(e,n,r))})}(this,t,e),e},e.prototype.queryAllNodes=function(t){var e=[];return function t(e,n,r){e instanceof Nr&&e.childNodes.forEach(function(e){n(e)&&r.push(e),e instanceof Nr&&t(e,n,r)})}(this,t,e),e},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}(Pr),Or=new Map,Dr=function(t){return Or.get(t)||null};function jr(t){Or.set(t.nativeNode,t)}var Mr=function(){function t(){}return t.prototype.supports=function(t){return re(t)},t.prototype.create=function(t){return new Lr(t)},t}(),Ur=function(t,e){return e},Lr=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||Ur}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<zr(n,r,o)?e:n,a=zr(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 s=a-r,l=u-r;if(s!=l){for(var c=0;c<s;c++){var f=c<o.length?o[c]:o[c]=0,p=f+c;l<=p&&p<s&&(o[c]=f+1)}o[i.previousIndex]=l-s}}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=[]),!re(t))throw new Error("Error trying to diff '"+Lt(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&&Ut(i.trackById,o)?(a&&(i=this._verifyReinsertion(i,r,o,u)),Ut(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=t[jt()](),o=void 0;!(o=r.next()).done;)e(o.value)}(t,function(t){o=e._trackByFn(n,t),null!==i&&Ut(i.trackById,o)?(a&&(i=e._verifyReinsertion(i,t,o,n)),Ut(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))?(Ut(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,o,r)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Ut(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,o,r)):t=this._addAfter(new Vr(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 Fr),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 Fr),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}(),Vr=function(){return 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}}(),Hr=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)&&Ut(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}(),Fr=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 Hr,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 zr(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 Br=function(){function t(){}return t.prototype.supports=function(t){return t instanceof Map||oe(t)},t.prototype.create=function(){return new qr},t}(),qr=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||oe(t)))throw new Error("Error trying to diff '"+Lt(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 Zr(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){Ut(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}(),Zr=function(){return 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}}(),Gr=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 Wt,new Zt]]}},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.ngInjectableDef=_t({providedIn:"root",factory:function(){return new t([new Mr])}}),t}(),Wr=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 Wt,new Zt]]}},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.ngInjectableDef=_t({providedIn:"root",factory:function(){return new t([new Br])}}),t}(),Qr=[new Br],Kr=new Gr([new Mr]),Yr=new Wr(Qr),Jr=vr(null,"core",[{provide:Vn,useValue:"unknown"},{provide:yr,deps:[ce]},{provide:fr,deps:[]},{provide:Fn,deps:[]}]),$r=new St("LocaleId");function Xr(){return Kr}function to(){return Yr}function eo(t){return t||"en-US"}var no=function(){return function(t){}}();function ro(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 oo(t,e,n){return(1792&t.state)===e&&t.initIndex<=n&&(t.initIndex=n+1,!0)}function io(t,e){return t.nodes[e]}function ao(t,e){return t.nodes[e]}function uo(t,e){return t.nodes[e]}function so(t,e){return t.nodes[e]}function lo(t,e){return t.nodes[e]}var co={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};function fo(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 po(n,e),n}(o,t)}function po(t,e){t[xn]=e,t[Tn]=e.logError.bind(e)}function ho(t){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+t)}var vo=function(){},go=new Map;function yo(t){var e=go.get(t);return e||(e=Lt(t)+"_"+go.size,go.set(t,e)),e}var mo="$$undefined",wo="$$empty";function bo(t){return{id:mo,styles:t.styles,encapsulation:t.encapsulation,data:t.data}}var _o=0;function Co(t,e,n,r){return!(!(2&t.state)&&Ut(t.oldValues[e.bindingIndex+n],r))}function So(t,e,n,r){return!!Co(t,e,n,r)&&(t.oldValues[e.bindingIndex+n]=r,!0)}function xo(t,e,n,r){var o=t.oldValues[e.bindingIndex+n];if(1&t.state||!te(o,r)){var i=e.bindings[n].name;throw fo(co.createDebugContext(t,e.nodeIndex),i+": "+o,i+": "+r,0!=(1&t.state))}}function Eo(t){for(var e=t;e;)2&e.def.flags&&(e.state|=8),e=e.viewContainerParent||e.parent}function To(t,e){for(var n=t;n&&n!==e;)n.state|=64,n=n.viewContainerParent||n.parent}function ko(t,e,n,r){try{return Eo(33554432&t.def.nodes[e].flags?ao(t,e).componentView:t),co.handleEvent(t,e,n,r)}catch(o){t.root.errorHandler.handleError(o)}}function Ro(t){return t.parent?ao(t.parent,t.parentNodeDef.nodeIndex):null}function Io(t){return t.parent?t.parentNodeDef.parent:null}function Ao(t,e){switch(201347067&e.flags){case 1:return ao(t,e.nodeIndex).renderElement;case 2:return io(t,e.nodeIndex).renderText}}function Po(t){return!!t.parent&&!!(32768&t.parentNodeDef.flags)}function No(t){return!(!t.parent||32768&t.parentNodeDef.flags)}function Oo(t){var e={},n=0,r={};return t&&t.forEach(function(t){var o=l(t,2),i=o[0],a=o[1];"number"==typeof i?(e[i]=a,n|=function(t){return 1<<t%32}(i)):r[i]=a}),{matchedQueries:e,references:r,matchedQueryIds:n}}function Do(t,e){return t.map(function(t){var n,r,o;return Array.isArray(t)?(o=(n=l(t,2))[0],r=n[1]):(o=0,r=t),r&&("function"==typeof r||"object"==typeof r)&&e&&Object.defineProperty(r,ae,{value:e,configurable:!0}),{flags:o,token:r,tokenKey:yo(r)}})}function jo(t,e,n){var r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&r.element.componentRendererType.encapsulation===Bt.Native?ao(t,n.renderParent.nodeIndex).renderElement:void 0:e}var Mo=new WeakMap;function Uo(t){var e=Mo.get(t);return e||((e=t(function(){return vo})).factory=t,Mo.set(t,e)),e}function Lo(t,e,n,r,o){3===e&&(n=t.renderer.parentNode(Ao(t,t.def.lastRenderRootNode))),Vo(t,e,0,t.def.nodes.length-1,n,r,o)}function Vo(t,e,n,r,o,i,a){for(var u=n;u<=r;u++){var s=t.def.nodes[u];11&s.flags&&Fo(t,s,e,o,i,a),u+=s.childCount}}function Ho(t,e,n,r,o,i){for(var a=t;a&&!Po(a);)a=a.parent;for(var u=a.parent,s=Io(a),l=s.nodeIndex+s.childCount,c=s.nodeIndex+1;c<=l;c++){var f=u.def.nodes[c];f.ngContentIndex===e&&Fo(u,f,n,r,o,i),c+=f.childCount}if(!u.parent){var p=t.root.projectableNodes[e];if(p)for(c=0;c<p.length;c++)zo(t,p[c],n,r,o,i)}}function Fo(t,e,n,r,o,i){if(8&e.flags)Ho(t,e.ngContent.index,n,r,o,i);else{var a=Ao(t,e);if(3===n&&33554432&e.flags&&48&e.bindingFlags?(16&e.bindingFlags&&zo(t,a,n,r,o,i),32&e.bindingFlags&&zo(ao(t,e.nodeIndex).componentView,a,n,r,o,i)):zo(t,a,n,r,o,i),16777216&e.flags)for(var u=ao(t,e.nodeIndex).viewContainer._embeddedViews,s=0;s<u.length;s++)Lo(u[s],n,r,o,i);1&e.flags&&!e.element.name&&Vo(t,n,e.nodeIndex+1,e.nodeIndex+e.childCount,r,o,i)}}function zo(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 Bo=/^:([^:]+):(.+)$/;function qo(t){if(":"===t[0]){var e=t.match(Bo);return[e[1],e[2]]}return["",t]}function Zo(t){for(var e=0,n=0;n<t.length;n++)e|=t[n].flags;return e}function Go(t,e,n,r,o,i,a,u,s,c,f,p){var h;void 0===a&&(a=[]),c||(c=vo);var d=Oo(n),v=d.matchedQueries,g=d.references,y=d.matchedQueryIds,m=null,w=null;i&&(m=(h=l(qo(i),2))[0],w=h[1]),u=u||[];for(var b=new Array(u.length),_=0;_<u.length;_++){var C=l(u[_],3),S=C[0],x=C[2],E=l(qo(C[1]),2),T=E[0],k=E[1],R=void 0,I=void 0;switch(15&S){case 4:I=x;break;case 1:case 8:R=x}b[_]={flags:S,ns:T,name:k,nonMinifiedName:k,securityContext:R,suffix:I}}s=s||[];var A=new Array(s.length);for(_=0;_<s.length;_++){var P=l(s[_],2);A[_]={type:0,target:P[0],eventName:P[1],propName:null}}var N=(a=a||[]).map(function(t){var e=l(t,2),n=e[1],r=l(qo(e[0]),2);return[r[0],r[1],n]});return p=function(t){if(t&&t.id===mo){var e=null!=t.encapsulation&&t.encapsulation!==Bt.None||t.styles.length||Object.keys(t.data).length;t.id=e?"c"+_o++:wo}return t&&t.id===wo&&(t=null),t||null}(p),f&&(e|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:v,matchedQueryIds:y,references:g,ngContentIndex:r,childCount:o,bindings:b,bindingFlags:Zo(b),outputs:A,element:{ns:m,name:w,attrs:N,template:null,componentProvider:null,componentView:f||null,componentRendererType:p,publicProviders:null,allProviders:null,handleEvent:c||vo},provider:null,text:null,query:null,ngContent:null}}function Wo(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=jo(t,e,n);u&&a.appendChild(u,r)}else r=a.selectRootElement(i,!!o.componentRendererType&&o.componentRendererType.encapsulation===Bt.ShadowDom);if(o.attrs)for(var s=0;s<o.attrs.length;s++){var c=l(o.attrs[s],3);a.setAttribute(r,c[1],c[2],c[0])}return r}function Qo(t,e,n,r){for(var o=0;o<n.outputs.length;o++){var i=n.outputs[o],a=Ko(t,n.nodeIndex,(f=i.eventName,(c=i.target)?c+":"+f:f)),u=i.target,s=t;"component"===i.target&&(u=null,s=e);var l=s.renderer.listen(u||r,i.eventName,a);t.disposables[n.outputIndex+o]=l}var c,f}function Ko(t,e,n){return function(r){return ko(t,e,n,r)}}function Yo(t,e,n,r){if(!So(t,e,n,r))return!1;var o=e.bindings[n],i=ao(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 s=t.renderer;null!=i?s.setAttribute(n,o,u,r):s.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(ze.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}var Jo=new Object,$o=yo(ce),Xo=yo(se),ti=yo(Oe);function ei(t,e,n,r){return n=Ft(n),{index:-1,deps:Do(r,Lt(e)),flags:t,token:e,value:n}}function ni(t,e,n){void 0===n&&(n=ce.THROW_IF_NOT_FOUND);var r,o,i=Yt(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 $o:case Xo:case ti:return t}var u,s=t._def.providersByKey[a];if(s){var l=t._providers[s.index];return void 0===l&&(l=t._providers[s.index]=ri(t,s)),l===Jo?void 0:l}if((u=Ct(e.token))&&(r=t,null!=(o=u).providedIn&&(function(t,e){return t._def.modules.indexOf(o.providedIn)>-1}(r)||"root"===o.providedIn&&r._def.isRoot))){var c=t._providers.length;return t._def.providersByKey[e.tokenKey]={flags:5120,value:u.factory,deps:[],index:c,token:e.token},t._providers[c]=Jo,t._providers[c]=ri(t,t._def.providersByKey[e.tokenKey])}return 4&e.flags?n:t._parent.get(e.token,n)}finally{Yt(i)}}function ri(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(ni(t,n[0]));case 2:return new e(ni(t,n[0]),ni(t,n[1]));case 3:return new e(ni(t,n[0]),ni(t,n[1]),ni(t,n[2]));default:for(var o=new Array(r),i=0;i<r;i++)o[i]=ni(t,n[i]);return new(e.bind.apply(e,c([void 0],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(ni(t,n[0]));case 2:return e(ni(t,n[0]),ni(t,n[1]));case 3:return e(ni(t,n[0]),ni(t,n[1]),ni(t,n[2]));default:for(var o=Array(r),i=0;i<r;i++)o[i]=ni(t,n[i]);return e.apply(void 0,c(o))}}(t,e.value,e.deps);break;case 2048:n=ni(t,e.deps[0]);break;case 256:n=e.value}return n===Jo||null==n||"object"!=typeof n||131072&e.flags||"function"!=typeof n.ngOnDestroy||(e.flags|=131072),void 0===n?Jo:n}function oi(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,si(n,e),co.dirtyParentQueries(r),ai(r),r}function ii(t,e,n){var r=e?Ao(e,e.def.lastRenderRootNode):t.renderElement,o=n.renderer.parentNode(r),i=n.renderer.nextSibling(r);Lo(n,2,o,i,void 0)}function ai(t){Lo(t,3,null,null,void 0)}function ui(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function si(t,e){e>=t.length-1?t.pop():t.splice(e,1)}var li=new Object;function ci(t,e,n,r,o,i){return new fi(t,e,n,r,o,i)}var fi=function(t){function e(e,n,r,o,i,a){var u=t.call(this)||this;return u.selector=e,u.componentType=n,u._inputs=o,u._outputs=i,u.ngContentSelectors=a,u.viewDefFactory=r,u}return o(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=Uo(this.viewDefFactory),i=o.nodes[0].element.componentProvider.nodeIndex,a=co.createRootView(t,e||[],n,o,r,li),u=uo(a,i).instance;return n&&a.renderer.setAttribute(ao(a,0).renderElement,"ng-version",qe.full),new pi(a,new gi(a),u)},e}(Te),pi=function(t){function e(e,n,r){var o=t.call(this)||this;return o._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 o(e,t),Object.defineProperty(e.prototype,"location",{get:function(){return new je(ao(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new bi(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}(Ee);function hi(t,e,n){return new di(t,e,n)}var di=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 je(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new bi(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=Io(t),t=t.parent;return t?new bi(t,e):new bi(this._view,null)},enumerable:!0,configurable:!0}),t.prototype.clear=function(){for(var t=this._embeddedViews.length-1;t>=0;t--){var e=oi(this._data,t);co.destroyView(e)}},t.prototype.get=function(t){var e=this._embeddedViews[t];if(e){var n=new gi(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 Ne||(o=i.get(Oe));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=t;return i=(n=this._data).viewContainer._embeddedViews,null==(r=e)&&(r=i.length),(o=a._view).viewContainerParent=this._view,ui(i,r,o),function(t,e){var n=Ro(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,n){if(!(4&n.flags)){e.parent.def.nodeFlags|=4,n.flags|=4;for(var r=n.parent;r;)r.childFlags|=4,r=r.parent}}(0,e.parentNodeDef)}}(n,o),co.dirtyParentQueries(o),ii(n,r>0?i[r-1]:null,o),a.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 o=e,a=(i=(n=this._data).viewContainer._embeddedViews)[r=u],si(i,r),null==o&&(o=i.length),ui(i,o,a),co.dirtyParentQueries(a),ai(a),ii(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=oi(this._data,t);e&&co.destroyView(e)},t.prototype.detach=function(t){var e=oi(this._data,t);return e?new gi(e):null},t}();function vi(t){return new gi(t)}var gi=function(){function t(t){this._view=t,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(t.prototype,"rootNodes",{get:function(){return Lo(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(){Eo(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{co.checkAndUpdateView(this._view)}finally{t.end&&t.end()}},t.prototype.checkNoChanges=function(){co.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)),co.destroyView(this._view)},t.prototype.detachFromAppRef=function(){this._appRef=null,ai(this._view),co.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 yi(t,e){return new mi(t,e)}var mi=function(t){function e(e,n){var r=t.call(this)||this;return r._parentView=e,r._def=n,r}return o(e,t),e.prototype.createEmbeddedView=function(t){return new gi(co.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))},Object.defineProperty(e.prototype,"elementRef",{get:function(){return new je(ao(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),e}(yn);function wi(t,e){return new bi(t,e)}var bi=function(){function t(t,e){this.view=t,this.elDef=e}return t.prototype.get=function(t,e){return void 0===e&&(e=ce.THROW_IF_NOT_FOUND),co.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:t,tokenKey:yo(t)},e)},t}();function _i(t,e){var n=t.def.nodes[e];if(1&n.flags){var r=ao(t,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return io(t,n.nodeIndex).renderText;if(20240&n.flags)return uo(t,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+e)}function Ci(t){return new Si(t.renderer)}var Si=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=l(qo(e),2),r=this.delegate.createElement(n[1],n[0]);return t&&this.delegate.appendChild(t,r),r},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=l(qo(e),2),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 xi(t,e,n,r){return new Ei(t,e,n,r)}var Ei=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]=ri(t,o))}}(this)}return t.prototype.get=function(t,e,n){void 0===e&&(e=ce.THROW_IF_NOT_FOUND),void 0===n&&(n=Qt.Default);var r=0;return n&Qt.SkipSelf?r|=1:n&Qt.Self&&(r|=4),ni(this,{token:t,tokenKey:yo(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(Ae)},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The ng module "+Lt(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!==Jo){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}(),Ti=yo(Ue),ki=yo(He),Ri=yo(je),Ii=yo(Tr),Ai=yo(yn),Pi=yo(Rr),Ni=yo(ce),Oi=yo(se);function Di(t,e,n,r,o,i,a,u){var s=[];if(a)for(var c in a){var f=l(a[c],2);s[f[0]]={flags:8,name:c,nonMinifiedName:f[1],ns:null,securityContext:null,suffix:null}}var p=[];if(u)for(var h in u)p.push({type:1,propName:h,target:null,eventName:u[h]});return ji(t,e|=16384,n,r,o,o,i,s,p)}function ji(t,e,n,r,o,i,a,u,s){var l=Oo(n),c=l.matchedQueries,f=l.references,p=l.matchedQueryIds;s||(s=[]),u||(u=[]),i=Ft(i);var h=Do(a,Lt(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:f,ngContentIndex:-1,childCount:r,bindings:u,bindingFlags:Zo(u),outputs:s,element:null,provider:{token:o,value:i,deps:h},text:null,query:null,ngContent:null}}function Mi(t,e){return Hi(t,e)}function Ui(t,e){for(var n=t;n.parent&&!Po(n);)n=n.parent;return Fi(n.parent,Io(n),!0,e.provider.value,e.provider.deps)}function Li(t,e){var n=Fi(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(!Nn(i))throw new Error("@Output "+o.propName+" not initialized in '"+n.constructor.name+"'.");var a=i.subscribe(Vi(t,e.parent.nodeIndex,o.eventName));t.disposables[e.outputIndex+r]=a.unsubscribe.bind(a)}return n}function Vi(t,e,n){return function(r){return ko(t,e,n,r)}}function Hi(t,e){var n=(8192&e.flags)>0,r=e.provider;switch(201347067&e.flags){case 512:return Fi(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(Bi(t,e,n,o[0]));case 2:return r(Bi(t,e,n,o[0]),Bi(t,e,n,o[1]));case 3:return r(Bi(t,e,n,o[0]),Bi(t,e,n,o[1]),Bi(t,e,n,o[2]));default:for(var a=Array(i),u=0;u<i;u++)a[u]=Bi(t,e,n,o[u]);return r.apply(void 0,c(a))}}(t,e.parent,n,r.value,r.deps);case 2048:return Bi(t,e.parent,n,r.deps[0]);case 256:return r.value}}function Fi(t,e,n,r,o){var i=o.length;switch(i){case 0:return new r;case 1:return new r(Bi(t,e,n,o[0]));case 2:return new r(Bi(t,e,n,o[0]),Bi(t,e,n,o[1]));case 3:return new r(Bi(t,e,n,o[0]),Bi(t,e,n,o[1]),Bi(t,e,n,o[2]));default:for(var a=new Array(i),u=0;u<i;u++)a[u]=Bi(t,e,n,o[u]);return new(r.bind.apply(r,c([void 0],a)))}}var zi={};function Bi(t,e,n,r,o){if(void 0===o&&(o=ce.THROW_IF_NOT_FOUND),8&r.flags)return r.token;var i=t;2&r.flags&&(o=null);var a=r.tokenKey;a===Pi&&(n=!(!e||!e.element.componentView)),e&&1&r.flags&&(n=!1,e=e.parent);for(var u=t;u;){if(e)switch(a){case Ti:return Ci(qi(u,e,n));case ki:return qi(u,e,n).renderer;case Ri:return new je(ao(u,e.nodeIndex).renderElement);case Ii:return ao(u,e.nodeIndex).viewContainer;case Ai:if(e.element.template)return ao(u,e.nodeIndex).template;break;case Pi:return vi(qi(u,e,n));case Ni:case Oi:return wi(u,e);default:var s=(n?e.element.allProviders:e.element.publicProviders)[a];if(s){var l=uo(u,s.nodeIndex);return l||(l={instance:Hi(u,s)},u.nodes[s.nodeIndex]=l),l.instance}}n=Po(u),e=Io(u),u=u.parent,4&r.flags&&(u=null)}var c=i.root.injector.get(r.token,zi);return c!==zi||o===zi?c:i.root.ngModule.injector.get(r.token,o)}function qi(t,e,n){var r;if(n)r=ao(t,e.nodeIndex).componentView;else for(r=t;r.parent&&!Po(r);)r=r.parent;return r}function Zi(t,e,n,r,o,i){if(32768&n.flags){var a=ao(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=ee.unwrap(t.oldValues[n.bindingIndex+r]);i[n.bindings[r].nonMinifiedName]=new ne(u,o,0!=(2&t.state))}return t.oldValues[n.bindingIndex+r]=o,i}function Gi(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&&Qi(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=Wi(t,a,e,r)),a=a.parent}}function Wi(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&&Qi(t,o,i.flags&n,r++),o+=i.childCount}return r}function Qi(t,e,n,r){var o=uo(t,e);if(o){var i=o.instance;i&&(co.setCurrentNode(t,e),1048576&n&&oo(t,512,r)&&i.ngAfterContentInit(),2097152&n&&i.ngAfterContentChecked(),4194304&n&&oo(t,768,r)&&i.ngAfterViewInit(),8388608&n&&i.ngAfterViewChecked(),131072&n&&i.ngOnDestroy())}}function Ki(t){for(var e=t.def.nodeMatchedQueries;t.parent&&No(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&&lo(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&&lo(t,o).setDirty(),o+=i.childCount}}function Yi(t,e){var n=lo(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=uo(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,s=0;s<a.length;s++){var l=a[s],c=void 0;switch(l.bindingType){case 0:c=n.first;break;case 1:c=n,u=!0}r[l.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 s=ao(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 l=s.viewContainer._embeddedViews,c=0;c<l.length;c++){var f=l[c],p=Ro(f);p&&p===s&&Ji(f,0,f.def.nodes.length-1,r,o)}var h=s.template._projectedViews;if(h)for(c=0;c<h.length;c++){var d=h[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 ao(t,e.nodeIndex).renderElement;case 0:return new je(ao(t,e.nodeIndex).renderElement);case 2:return ao(t,e.nodeIndex).template;case 3:return ao(t,e.nodeIndex).viewContainer;case 4:return uo(t,e.nodeIndex).instance}}function Xi(t,e,n){var r=jo(t,e,n);r&&Ho(t,n.ngContent.index,1,r,null,void 0)}function ta(t,e,n){for(var r=new Array(n.length),o=0;o<n.length;o++){var i=n[o];r[o]={flags:8,name:i,ns:null,nonMinifiedName:i,securityContext:null,suffix:null}}return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:-1,childCount:0,bindings:r,bindingFlags:Zo(r),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}function ea(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 na(t,e,n){var r,o=t.renderer;r=o.createText(n.text.prefix);var i=jo(t,e,n);return i&&o.appendChild(i,r),{renderText:r}}function ra(t,e){return(null!=t?t.toString():"")+e.suffix}function oa(t,e,n,r){for(var o=0,i=0,a=0,u=0,s=0,l=null,c=null,f=!1,p=!1,h=null,d=0;d<e.length;d++){var v=e[d];if(v.nodeIndex=d,v.parent=l,v.bindingIndex=o,v.outputIndex=i,v.renderParent=c,a|=v.flags,s|=v.matchedQueryIds,v.element){var g=v.element;g.publicProviders=l?l.element.publicProviders:Object.create(null),g.allProviders=g.publicProviders,f=!1,p=!1,v.element.template&&(s|=v.element.template.nodeMatchedQueries)}if(aa(l,v,e.length),o+=v.bindings.length,i+=v.outputs.length,!c&&3&v.flags&&(h=v),20224&v.flags){f||(f=!0,l.element.publicProviders=Object.create(l.element.publicProviders),l.element.allProviders=l.element.publicProviders);var y=0!=(32768&v.flags);0==(8192&v.flags)||y?l.element.publicProviders[yo(v.provider.token)]=v:(p||(p=!0,l.element.allProviders=Object.create(l.element.publicProviders)),l.element.allProviders[yo(v.provider.token)]=v),y&&(l.element.componentProvider=v)}if(l?(l.childFlags|=v.flags,l.directChildFlags|=v.flags,l.childMatchedQueries|=v.matchedQueryIds,v.element&&v.element.template&&(l.childMatchedQueries|=v.element.template.nodeMatchedQueries)):u|=v.flags,v.childCount>0)l=v,ia(v)||(c=v);else for(;l&&d===l.nodeIndex+l.childCount;){var m=l.parent;m&&(m.childFlags|=l.childFlags,m.childMatchedQueries|=l.childMatchedQueries),c=(l=m)&&ia(l)?l.renderParent:l}}return{factory:null,nodeFlags:a,rootNodeFlags:u,nodeMatchedQueries:s,flags:t,nodes:e,updateDirectives:n||vo,updateRenderer:r||vo,handleEvent:function(t,n,r,o){return e[n].element.handleEvent(t,r,o)},bindingCount:o,outputCount:i,lastRenderRootNode:h}}function ia(t){return 0!=(1&t.flags)&&null===t.element.name}function aa(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 ua(t,e,n,r){var o=ca(t.root,t.renderer,t,e,n);return fa(o,t.component,r),pa(o),o}function sa(t,e,n){var r=ca(t,t.renderer,null,null,e);return fa(r,n,n),pa(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,ca(t.root,o,t,e.element.componentProvider,n)}function ca(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 fa(t,e,n){t.component=e,t.context=n}function pa(t){var e;Po(t)&&(e=ao(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];co.setCurrentNode(t,o);var a=void 0;switch(201347067&i.flags){case 1:var u=Wo(t,e,i),s=void 0;if(33554432&i.flags){var l=Uo(i.element.componentView);s=co.createComponentView(t,i,l,u)}Qo(t,s,i,u),a={renderElement:u,componentView:s,viewContainer:null,template:i.element.template?yi(t,i):void 0},16777216&i.flags&&(a.viewContainer=hi(t,i,a));break;case 2:a=na(t,e,i);break;case 512:case 1024:case 2048:case 256:(a=r[o])||4096&i.flags||(a={instance:Mi(t,i)});break;case 16:a={instance:Ui(t,i)};break;case 16384:(a=r[o])||(a={instance:Li(t,i)}),32768&i.flags&&fa(ao(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 _r;break;case 8:Xi(t,e,i),a=void 0}r[o]=a}_a(t,ba.CreateViewNodes),Ea(t,201326592,268435456,0)}function ha(t){ga(t),co.updateDirectives(t,1),Ca(t,ba.CheckNoChanges),co.updateRenderer(t,1),_a(t,ba.CheckNoChanges),t.state&=-97}function da(t){1&t.state?(t.state&=-2,t.state|=2):t.state&=-3,ro(t,0,256),ga(t),co.updateDirectives(t,0),Ca(t,ba.CheckAndUpdate),Ea(t,67108864,536870912,0);var e=ro(t,256,512);Gi(t,2097152|(e?1048576:0)),co.updateRenderer(t,0),_a(t,ba.CheckAndUpdate),Ea(t,134217728,536870912,0),Gi(t,8388608|((e=ro(t,512,768))?4194304:0)),2&t.def.flags&&(t.state&=-9),t.state&=-97,ro(t,768,1024)}function va(t,e,n,r,o,i,a,u,s,l,f,p,h){return 0===n?function(t,e,n,r,o,i,a,u,s,l,c,f){switch(201347067&e.flags){case 1:return function(t,e,n,r,o,i,a,u,s,l,c,f){var p=e.bindings.length,h=!1;return p>0&&Yo(t,e,0,n)&&(h=!0),p>1&&Yo(t,e,1,r)&&(h=!0),p>2&&Yo(t,e,2,o)&&(h=!0),p>3&&Yo(t,e,3,i)&&(h=!0),p>4&&Yo(t,e,4,a)&&(h=!0),p>5&&Yo(t,e,5,u)&&(h=!0),p>6&&Yo(t,e,6,s)&&(h=!0),p>7&&Yo(t,e,7,l)&&(h=!0),p>8&&Yo(t,e,8,c)&&(h=!0),p>9&&Yo(t,e,9,f)&&(h=!0),h}(t,e,n,r,o,i,a,u,s,l,c,f);case 2:return function(t,e,n,r,o,i,a,u,s,l,c,f){var p=!1,h=e.bindings,d=h.length;if(d>0&&So(t,e,0,n)&&(p=!0),d>1&&So(t,e,1,r)&&(p=!0),d>2&&So(t,e,2,o)&&(p=!0),d>3&&So(t,e,3,i)&&(p=!0),d>4&&So(t,e,4,a)&&(p=!0),d>5&&So(t,e,5,u)&&(p=!0),d>6&&So(t,e,6,s)&&(p=!0),d>7&&So(t,e,7,l)&&(p=!0),d>8&&So(t,e,8,c)&&(p=!0),d>9&&So(t,e,9,f)&&(p=!0),p){var v=e.text.prefix;d>0&&(v+=ra(n,h[0])),d>1&&(v+=ra(r,h[1])),d>2&&(v+=ra(o,h[2])),d>3&&(v+=ra(i,h[3])),d>4&&(v+=ra(a,h[4])),d>5&&(v+=ra(u,h[5])),d>6&&(v+=ra(s,h[6])),d>7&&(v+=ra(l,h[7])),d>8&&(v+=ra(c,h[8])),d>9&&(v+=ra(f,h[9]));var g=io(t,e.nodeIndex).renderText;t.renderer.setValue(g,v)}return p}(t,e,n,r,o,i,a,u,s,l,c,f);case 16384:return function(t,e,n,r,o,i,a,u,s,l,c,f){var p=uo(t,e.nodeIndex),h=p.instance,d=!1,v=void 0,g=e.bindings.length;return g>0&&Co(t,e,0,n)&&(d=!0,v=Zi(t,p,e,0,n,v)),g>1&&Co(t,e,1,r)&&(d=!0,v=Zi(t,p,e,1,r,v)),g>2&&Co(t,e,2,o)&&(d=!0,v=Zi(t,p,e,2,o,v)),g>3&&Co(t,e,3,i)&&(d=!0,v=Zi(t,p,e,3,i,v)),g>4&&Co(t,e,4,a)&&(d=!0,v=Zi(t,p,e,4,a,v)),g>5&&Co(t,e,5,u)&&(d=!0,v=Zi(t,p,e,5,u,v)),g>6&&Co(t,e,6,s)&&(d=!0,v=Zi(t,p,e,6,s,v)),g>7&&Co(t,e,7,l)&&(d=!0,v=Zi(t,p,e,7,l,v)),g>8&&Co(t,e,8,c)&&(d=!0,v=Zi(t,p,e,8,c,v)),g>9&&Co(t,e,9,f)&&(d=!0,v=Zi(t,p,e,9,f,v)),v&&h.ngOnChanges(v),65536&e.flags&&oo(t,256,e.nodeIndex)&&h.ngOnInit(),262144&e.flags&&h.ngDoCheck(),d}(t,e,n,r,o,i,a,u,s,l,c,f);case 32:case 64:case 128:return function(t,e,n,r,o,i,a,u,s,l,c,f){var p=e.bindings,h=!1,d=p.length;if(d>0&&So(t,e,0,n)&&(h=!0),d>1&&So(t,e,1,r)&&(h=!0),d>2&&So(t,e,2,o)&&(h=!0),d>3&&So(t,e,3,i)&&(h=!0),d>4&&So(t,e,4,a)&&(h=!0),d>5&&So(t,e,5,u)&&(h=!0),d>6&&So(t,e,6,s)&&(h=!0),d>7&&So(t,e,7,l)&&(h=!0),d>8&&So(t,e,8,c)&&(h=!0),d>9&&So(t,e,9,f)&&(h=!0),h){var v=so(t,e.nodeIndex),g=void 0;switch(201347067&e.flags){case 32:g=new Array(p.length),d>0&&(g[0]=n),d>1&&(g[1]=r),d>2&&(g[2]=o),d>3&&(g[3]=i),d>4&&(g[4]=a),d>5&&(g[5]=u),d>6&&(g[6]=s),d>7&&(g[7]=l),d>8&&(g[8]=c),d>9&&(g[9]=f);break;case 64:g={},d>0&&(g[p[0].name]=n),d>1&&(g[p[1].name]=r),d>2&&(g[p[2].name]=o),d>3&&(g[p[3].name]=i),d>4&&(g[p[4].name]=a),d>5&&(g[p[5].name]=u),d>6&&(g[p[6].name]=s),d>7&&(g[p[7].name]=l),d>8&&(g[p[8].name]=c),d>9&&(g[p[9].name]=f);break;case 128:var y=n;switch(d){case 1:g=y.transform(n);break;case 2:g=y.transform(r);break;case 3:g=y.transform(r,o);break;case 4:g=y.transform(r,o,i);break;case 5:g=y.transform(r,o,i,a);break;case 6:g=y.transform(r,o,i,a,u);break;case 7:g=y.transform(r,o,i,a,u,s);break;case 8:g=y.transform(r,o,i,a,u,s,l);break;case 9:g=y.transform(r,o,i,a,u,s,l,c);break;case 10:g=y.transform(r,o,i,a,u,s,l,c,f)}}v.value=g}return h}(t,e,n,r,o,i,a,u,s,l,c,f);default:throw"unreachable"}}(t,e,r,o,i,a,u,s,l,f,p,h):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++)Yo(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++)So(t,e,i,n[i])&&(o=!0);if(o){var a="";for(i=0;i<n.length;i++)a+=ra(n[i],r[i]);a=e.text.prefix+a;var u=io(t,e.nodeIndex).renderText;t.renderer.setValue(u,a)}return o}(t,e,n);case 16384:return function(t,e,n){for(var r=uo(t,e.nodeIndex),o=r.instance,i=!1,a=void 0,u=0;u<n.length;u++)Co(t,e,u,n[u])&&(i=!0,a=Zi(t,r,e,u,n[u],a));return a&&o.ngOnChanges(a),65536&e.flags&&oo(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++)So(t,e,i,n[i])&&(o=!0);if(o){var a=so(t,e.nodeIndex),u=void 0;switch(201347067&e.flags){case 32:u=n;break;case 64:for(u={},i=0;i<n.length;i++)u[r[i].name]=n[i];break;case 128:var s=n[0],l=n.slice(1);u=s.transform.apply(s,c(l))}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=ao(t,n).template._projectedViews;if(o)for(var i=0;i<o.length;i++){var a=o[i];a.state|=32,To(a,t)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function ya(t,e,n,r,o,i,a,u,s,l,c,f,p){return 0===n?function(t,e,n,r,o,i,a,u,s,l,c,f){var p=e.bindings.length;p>0&&xo(t,e,0,n),p>1&&xo(t,e,1,r),p>2&&xo(t,e,2,o),p>3&&xo(t,e,3,i),p>4&&xo(t,e,4,a),p>5&&xo(t,e,5,u),p>6&&xo(t,e,6,s),p>7&&xo(t,e,7,l),p>8&&xo(t,e,8,c),p>9&&xo(t,e,9,f)}(t,e,r,o,i,a,u,s,l,c,f,p):function(t,e,n){for(var r=0;r<n.length;r++)xo(t,e,r,n[r])}(t,e,r),!1}function ma(t,e){if(lo(t,e.nodeIndex).dirty)throw fo(co.createDebugContext(t,e.nodeIndex),"Query "+e.query.id+" not dirty","Query "+e.query.id+" dirty",0!=(1&t.state))}function wa(t){if(!(128&t.state)){if(Ca(t,ba.Destroy),_a(t,ba.Destroy),Gi(t,131072),t.disposables)for(var e=0;e<t.disposables.length;e++)t.disposables[e]();!function(t){if(16&t.state){var e=Ro(t);if(e){var n=e.template._projectedViews;n&&(si(n,n.indexOf(t)),co.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(ao(t,n).renderElement):2&r.flags?t.renderer.destroyNode(io(t,n).renderText):(67108864&r.flags||134217728&r.flags)&&lo(t,n).destroy()}}(t),Po(t)&&t.renderer.destroy(),t.state|=128}}var ba=function(t){return t[t.CreateViewNodes=0]="CreateViewNodes",t[t.CheckNoChanges=1]="CheckNoChanges",t[t.CheckNoChangesProjectedViews=2]="CheckNoChangesProjectedViews",t[t.CheckAndUpdate=3]="CheckAndUpdate",t[t.CheckAndUpdateProjectedViews=4]="CheckAndUpdateProjectedViews",t[t.Destroy=5]="Destroy",t}({});function _a(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?Sa(ao(t,r).componentView,e):0==(33554432&o.childFlags)&&(r+=o.childCount)}}function Ca(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=ao(t,r).viewContainer._embeddedViews,a=0;a<i.length;a++)Sa(i[a],e);else 0==(16777216&o.childFlags)&&(r+=o.childCount)}}function Sa(t,e){var n=t.state;switch(e){case ba.CheckNoChanges:0==(128&n)&&(12==(12&n)?ha(t):64&n&&xa(t,ba.CheckNoChangesProjectedViews));break;case ba.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?ha(t):64&n&&xa(t,e));break;case ba.CheckAndUpdate:0==(128&n)&&(12==(12&n)?da(t):64&n&&xa(t,ba.CheckAndUpdateProjectedViews));break;case ba.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?da(t):64&n&&xa(t,e));break;case ba.Destroy:wa(t);break;case ba.CreateViewNodes:pa(t)}}function xa(t,e){Ca(t,e),_a(t,e)}function Ea(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(co.setCurrentNode(t,a.nodeIndex),r){case 0:Yi(t,a);break;case 1:ma(t,a)}a.childFlags&e&&a.childFlags&n||(i+=a.childCount)}}var Ta=!1;function ka(t,e,n,r,o,i){var a=o.injector.get(Le);return sa(Ia(t,o,a,e,n),r,i)}function Ra(t,e,n,r,o,i){var a=o.injector.get(Le),u=Ia(t,o,new uu(a),e,n),s=Va(r);return iu(Qa.create,sa,null,[u,s,i])}function Ia(t,e,n,r,o){var i=e.injector.get(Be),a=e.injector.get(An),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=Va(n);return iu(Qa.create,ua,null,[t,e,o,r])}function Pa(t,e,n,r){return n=ja.get(e.element.componentProvider.provider.token)||Va(n),iu(Qa.create,la,null,[t,e,n,r])}function Na(t,e,n,r){return xi(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){Da.forEach(function(r,o){Ct(o).providedIn===t&&(e=!0,n=n||r.deprecatedBehavior)})}),{hasOverrides:e,hasDeprecatedOverrides:n})}(t),n=e.hasDeprecatedOverrides;return e.hasOverrides?(function(t){for(var e=0;e<t.providers.length;e++){var r=t.providers[e];n&&(r.flags|=4096);var o=Oa.get(r.token);o&&(r.flags=-3841&r.flags|o.flags,r.deps=Do(o.deps),r.value=o.value)}if(Da.size>0){var i=new Set(t.modules);Da.forEach(function(e,r){if(i.has(Ct(r).providedIn)){var o={token:r,flags:e.flags|(n?4096:0),deps:Do(e.deps),value:e.value,index:t.providers.length};t.providers.push(o),t.providersByKey[yo(r)]=o}})}}(t=t.factory(function(){return vo})),t):t}(r))}var Oa=new Map,Da=new Map,ja=new Map;function Ma(t){var e;Oa.set(t.token,t),"function"==typeof t.token&&(e=Ct(t.token))&&"function"==typeof e.providedIn&&Da.set(t.token,t)}function Ua(t,e){var n=Uo(e.viewDefFactory),r=Uo(n.nodes[0].element.componentView);ja.set(t,r)}function La(){Oa.clear(),Da.clear(),ja.clear()}function Va(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 vo});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=Do(i.deps),o.value=i.value)}}}}function Ha(t,e,n,r,o,i,a,u,s,l,c,f,p){var h=t.def.nodes[e];return va(t,h,n,r,o,i,a,u,s,l,c,f,p),224&h.flags?so(t,e).value:void 0}function Fa(t,e,n,r,o,i,a,u,s,l,c,f,p){var h=t.def.nodes[e];return ya(t,h,n,r,o,i,a,u,s,l,c,f,p),224&h.flags?so(t,e).value:void 0}function za(t){return iu(Qa.detectChanges,da,null,[t])}function Ba(t){return iu(Qa.checkNoChanges,ha,null,[t])}function qa(t){return iu(Qa.destroy,wa,null,[t])}var Za,Ga,Wa,Qa=function(t){return t[t.create=0]="create",t[t.detectChanges=1]="detectChanges",t[t.checkNoChanges=2]="checkNoChanges",t[t.destroy=3]="destroy",t[t.handleEvent=4]="handleEvent",t}({});function Ka(t,e){Ga=t,Wa=e}function Ya(t,e,n,r){return Ka(t,e),iu(Qa.handleEvent,t.def.handleEvent,null,[t,e,n,r])}function Ja(t,e){if(128&t.state)throw ho(Qa[Za]);return Ka(t,eu(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?Xa(t,a,r,o):tu(t,a,r,o),16384&a.flags&&Ka(t,eu(t,n)),224&a.flags?so(t,a.nodeIndex).value:void 0},t)}function $a(t,e){if(128&t.state)throw ho(Qa[Za]);return Ka(t,nu(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?Xa(t,a,r,o):tu(t,a,r,o),3&a.flags&&Ka(t,nu(t,n)),224&a.flags?so(t,a.nodeIndex).value:void 0},t)}function Xa(t,e,n,r){if(va.apply(void 0,c([t,e,n],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],s=o[a];8&u.flags&&(i[(h=u.nonMinifiedName,"ng-reflect-"+h.replace(/[$@]/g,"_").replace($t,function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return"-"+t[1].toLowerCase()}))]=Xt(s))}var l=e.parent,f=ao(t,l.nodeIndex).renderElement;if(l.element.name)for(var p in i)null!=(s=i[p])?t.renderer.setAttribute(f,p,s):t.renderer.removeAttribute(f,p);else t.renderer.setValue(f,"bindings="+JSON.stringify(i,null,2))}}var h}function tu(t,e,n,r){ya.apply(void 0,c([t,e,n],r))}function eu(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 nu(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 ru=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=Io(r),r=r.parent;this.elDef=n,this.elView=r}return Object.defineProperty(t.prototype,"elOrCompView",{get:function(){return ao(this.elView,this.elDef.nodeIndex).componentView||this.view},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return wi(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){ou(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&&ou(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&&!Po(t);)t=t.parent;return t.parent?ao(t.parent,Io(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?Ao(this.view,this.nodeDef):Ao(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,c([t],r)):vo}),a<i&&(t.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),t.error.apply(t,c(r)))},t}();function ou(t,e,n){for(var r in e.references)n[r]=$i(t,e,e.references[r])}function iu(t,e,n,r){var o=Za,i=Ga,a=Wa;try{Za=t;var u=e.apply(n,r);return Ga=i,Wa=a,Za=o,u}catch(s){if(kn(s)||!Ga)throw s;throw function(t,e){return t instanceof Error||(t=new Error(t.toString())),po(t,e),t}(s,au())}}function au(){return Ga?new ru(Ga,Wa):null}var uu=function(){function t(t){this.delegate=t}return t.prototype.createRenderer=function(t,e){return new su(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}(),su=function(){function t(t){this.delegate=t,this.debugContextFactory=au,this.data=this.delegate.data}return t.prototype.createDebugContext=function(t){return this.debugContextFactory(t)},t.prototype.destroyNode=function(t){!function(t){Or.delete(t.nativeNode)}(Dr(t)),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 Nr(n,null,r);o.name=t,jr(o)}return n},t.prototype.createComment=function(t){var e=this.delegate.createComment(t),n=this.createDebugContext(e);return n&&jr(new Pr(e,null,n)),e},t.prototype.createText=function(t){var e=this.delegate.createText(t),n=this.createDebugContext(e);return n&&jr(new Pr(e,null,n)),e},t.prototype.appendChild=function(t,e){var n=Dr(t),r=Dr(e);n&&r&&n instanceof Nr&&n.addChild(r),this.delegate.appendChild(t,e)},t.prototype.insertBefore=function(t,e,n){var r=Dr(t),o=Dr(e),i=Dr(n);r&&o&&r instanceof Nr&&r.insertBefore(i,o),this.delegate.insertBefore(t,e,n)},t.prototype.removeChild=function(t,e){var n=Dr(t),r=Dr(e);n&&r&&n instanceof Nr&&n.removeChild(r),this.delegate.removeChild(t,e)},t.prototype.selectRootElement=function(t,e){var n=this.delegate.selectRootElement(t,e),r=au();return r&&jr(new Nr(n,null,r)),n},t.prototype.setAttribute=function(t,e,n,r){var o=Dr(t);o&&o instanceof Nr&&(o.attributes[r?r+":"+e:e]=n),this.delegate.setAttribute(t,e,n,r)},t.prototype.removeAttribute=function(t,e,n){var r=Dr(t);r&&r instanceof Nr&&(r.attributes[n?n+":"+e:e]=null),this.delegate.removeAttribute(t,e,n)},t.prototype.addClass=function(t,e){var n=Dr(t);n&&n instanceof Nr&&(n.classes[e]=!0),this.delegate.addClass(t,e)},t.prototype.removeClass=function(t,e){var n=Dr(t);n&&n instanceof Nr&&(n.classes[e]=!1),this.delegate.removeClass(t,e)},t.prototype.setStyle=function(t,e,n,r){var o=Dr(t);o&&o instanceof Nr&&(o.styles[e]=n),this.delegate.setStyle(t,e,n,r)},t.prototype.removeStyle=function(t,e,n){var r=Dr(t);r&&r instanceof Nr&&(r.styles[e]=null),this.delegate.removeStyle(t,e,n)},t.prototype.setProperty=function(t,e,n){var r=Dr(t);r&&r instanceof Nr&&(r.properties[e]=n),this.delegate.setProperty(t,e,n)},t.prototype.listen=function(t,e,n){if("string"!=typeof t){var r=Dr(t);r&&r.listeners.push(new Ar(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}();function lu(t,e,n){return new cu(t,e,n)}var cu=function(t){function e(e,n,r){var o=t.call(this)||this;return o.moduleType=e,o._bootstrapComponents=n,o._ngModuleDefFactory=r,o}return o(e,t),e.prototype.create=function(t){!function(){if(!Ta){Ta=!0;var t=We()?{setCurrentNode:Ka,createRootView:Ra,createEmbeddedView:Aa,createComponentView:Pa,createNgModuleRef:Na,overrideProvider:Ma,overrideComponentView:Ua,clearOverrides:La,checkAndUpdateView:za,checkNoChangesView:Ba,destroyView:qa,createDebugContext:function(t,e){return new ru(t,e)},handleEvent:Ya,updateDirectives:Ja,updateRenderer:$a}:{setCurrentNode:function(){},createRootView:ka,createEmbeddedView:ua,createComponentView:la,createNgModuleRef:xi,overrideProvider:vo,overrideComponentView:vo,clearOverrides:vo,checkAndUpdateView:da,checkNoChangesView:ha,destroyView:wa,createDebugContext:function(t,e){return new ru(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?Ha:Fa,t)},updateRenderer:function(t,e){return t.def.updateRenderer(0===e?Ha:Fa,t)}};co.setCurrentNode=t.setCurrentNode,co.createRootView=t.createRootView,co.createEmbeddedView=t.createEmbeddedView,co.createComponentView=t.createComponentView,co.createNgModuleRef=t.createNgModuleRef,co.overrideProvider=t.overrideProvider,co.overrideComponentView=t.overrideComponentView,co.clearOverrides=t.clearOverrides,co.checkAndUpdateView=t.checkAndUpdateView,co.checkNoChangesView=t.checkNoChangesView,co.destroyView=t.destroyView,co.resolveDep=Bi,co.createDebugContext=t.createDebugContext,co.handleEvent=t.handleEvent,co.updateDirectives=t.updateDirectives,co.updateRenderer=t.updateRenderer,co.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}}(Uo(this._ngModuleDefFactory));return co.createNgModuleRef(this.moduleType,t||ce.NULL,this._bootstrapComponents,e)},e}(De),fu=function(){return function(){}}(),pu=function(){return function(){}}(),hu=function(){return function(){}}(),du=new St("Location Initialized"),vu=function(){return function(){}}(),gu=new St("appBaseHref"),yu=function(){function t(t){var n=this;this._subject=new gn,this._platformStrategy=t;var r=this._platformStrategy.getBaseHref();this._baseHref=e.stripTrailingSlash(mu(r)),this._platformStrategy.onPopState(function(t){n._subject.emit({url:n.path(!0),pop:!0,state:t.state,type:t.type})})}var e;return e=t,t.prototype.path=function(t){return void 0===t&&(t=!1),this.normalize(this._platformStrategy.path(t))},t.prototype.isCurrentPathEqualTo=function(t,n){return void 0===n&&(n=""),this.path()==this.normalize(t+e.normalizeQueryParams(n))},t.prototype.normalize=function(t){return e.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,mu(t)))},t.prototype.prepareExternalUrl=function(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)},t.prototype.go=function(t,e,n){void 0===e&&(e=""),void 0===n&&(n=null),this._platformStrategy.pushState(n,"",t,e)},t.prototype.replaceState=function(t,e,n){void 0===e&&(e=""),void 0===n&&(n=null),this._platformStrategy.replaceState(n,"",t,e)},t.prototype.forward=function(){this._platformStrategy.forward()},t.prototype.back=function(){this._platformStrategy.back()},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 mu(t){return t.replace(/\/index.html$/,"")}var wu=function(t){function e(e,n){var r=t.call(this)||this;return r._platformLocation=e,r._baseHref="",null!=n&&(r._baseHref=n),r}return o(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=yu.joinWithSlash(this._baseHref,t);return e.length>0?"#"+e:e},e.prototype.pushState=function(t,e,n,r){var o=this.prepareExternalUrl(n+yu.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+yu.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}(vu),bu=function(t){function e(e,n){var r=t.call(this)||this;if(r._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 o(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 yu.joinWithSlash(this._baseHref,t)},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.pathname+yu.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+yu.normalizeQueryParams(r));this._platformLocation.pushState(t,e,o)},e.prototype.replaceState=function(t,e,n,r){var o=this.prepareExternalUrl(n+yu.normalizeQueryParams(r));this._platformLocation.replaceState(t,e,o)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(vu),_u=void 0,Cu=["en",[["a","p"],["AM","PM"],_u],[["AM","PM"],_u,_u],[["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"]],_u,[["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"]],_u,[["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}",_u,"{1} 'at' {0}",_u],[".",",",";","%","+","-","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}],Su={},xu=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({}),Eu=new St("UseV4Plurals"),Tu=function(){return function(){}}(),ku=function(t){function e(e,n){var r=t.call(this)||this;return r.locale=e,r.deprecatedPluralFn=n,r}return o(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=Su[e];if(n)return n;var r=e.split("-")[0];if(n=Su[r])return n;if("en"===r)return Cu;throw new Error('Missing locale data for the locale "'+t+'".')}(t)[18]}(e||this.locale)(t)){case xu.Zero:return"zero";case xu.One:return"one";case xu.Two:return"two";case xu.Few:return"few";case xu.Many:return"many";default:return"other"}},e}(Tu),Ru=function(){function t(){}var e;return e=t,t.prototype.transform=function(t){if(!t)return t;if("string"!=typeof t)throw function(t,n){return Error("InvalidPipeArgument: '"+n+"' for pipe '"+Lt(e)+"'")}(0,t);return t.toUpperCase()},t}(),Iu=function(){return function(){}}(),Au=new St("DocumentToken"),Pu="server",Nu=function(){function t(){}return t.ngInjectableDef=_t({providedIn:"root",factory:function(){return new Ou(Jt(Au),window,Jt(An))}}),t}(),Ou=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 O(function(t){return t.complete()});function ju(t){return t?function(t){return new O(function(e){return t.schedule(function(){return e.complete()})})}(t):Du}function Mu(t){var e=new O(function(e){e.next(t),e.complete()});return e._isScalar=!0,e.value=t,e}function Uu(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t[t.length-1];switch(F(n)?t.pop():n=void 0,t.length){case 0:return ju(n);case 1:return n?rt(t,n):Mu(t[0]);default:return rt(t,n)}}var Lu=function(t){function e(e){var n=t.call(this)||this;return n._value=e,n}return o(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 M;return this._value},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(V);function Vu(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}Vu.prototype=Object.create(Error.prototype);var Hu=Vu,Fu={},zu=function(){function t(t){this.resultSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new Bu(t,this.resultSelector))},t}(),Bu=function(t){function e(e,n){var r=t.call(this,e)||this;return r.resultSelector=n,r.active=0,r.values=[],r.observables=[],r}return o(e,t),e.prototype._next=function(t){this.values.push(Fu),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($(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]===Fu?--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}(X);function qu(t){return new O(function(e){var n;try{n=t()}catch(r){return void e.error(r)}return(n?ot(n):ju()).subscribe(e)})}function Zu(){return lt(1)}function Gu(t,e){return function(n){return n.lift(new Wu(t,e))}}var Wu=function(){function t(t,e){this.predicate=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new Qu(t,this.predicate,this.thisArg))},t}(),Qu=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.predicate=n,o.thisArg=r,o.count=0,o}return o(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}(k);function Ku(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}Ku.prototype=Object.create(Error.prototype);var Yu=Ku;function Ju(t){return function(e){return 0===t?ju():e.lift(new $u(t))}}var $u=function(){function t(t){if(this.total=t,this.total<0)throw new Yu}return t.prototype.call=function(t,e){return e.subscribe(new Xu(t,this.total))},t}(),Xu=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.ring=new Array,r.count=0,r}return o(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}(k);function ts(t,e,n){return function(r){return r.lift(new es(t,e,n))}}var es=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 ns(t,this.nextOrObserver,this.error,this.complete))},t}(),ns=function(t){function e(e,n,r,o){var i=t.call(this,e)||this;return i._tapNext=A,i._tapError=A,i._tapComplete=A,i._tapError=r||A,i._tapComplete=o||A,h(n)?(i._context=i,i._tapNext=n):n&&(i._context=n,i._tapNext=n.next||A,i._tapError=n.error||A,i._tapComplete=n.complete||A),i}return o(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}(k),rs=function(t){return void 0===t&&(t=os),ts({hasValue:!1,next:function(){this.hasValue=!0},complete:function(){if(!this.hasValue)throw t()}})};function os(){return new Hu}function is(t){return void 0===t&&(t=null),function(e){return e.lift(new as(t))}}var as=function(){function t(t){this.defaultValue=t}return t.prototype.call=function(t,e){return e.subscribe(new us(t,this.defaultValue))},t}(),us=function(t){function e(e,n){var r=t.call(this,e)||this;return r.defaultValue=n,r.isEmpty=!0,r}return o(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}(k);function ss(t,e){var n=arguments.length>=2;return function(r){return r.pipe(t?Gu(function(e,n){return t(e,n,r)}):st,Ju(1),n?is(e):rs(function(){return new Hu}))}}function ls(t){return function(e){var n=new cs(t),r=e.lift(n);return n.caught=r}}var cs=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e.subscribe(new fs(t,this.selector,this.caught))},t}(),fs=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.selector=n,o.caught=r,o}return o(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 z(this,void 0,void 0);this.add(r),$(this,n,void 0,void 0,r)}},e}(X);function ps(t){return function(e){return 0===t?ju():e.lift(new hs(t))}}var hs=function(){function t(t){if(this.total=t,this.total<0)throw new Yu}return t.prototype.call=function(t,e){return e.subscribe(new ds(t,this.total))},t}(),ds=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.count=0,r}return o(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}(k);function vs(t,e){var n=arguments.length>=2;return function(r){return r.pipe(t?Gu(function(e,n){return t(e,n,r)}):st,ps(1),n?is(e):rs(function(){return new Hu}))}}var gs=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 ys(t,this.predicate,this.thisArg,this.source))},t}(),ys=function(t){function e(e,n,r,o){var i=t.call(this,e)||this;return i.predicate=n,i.thisArg=r,i.source=o,i.index=0,i.thisArg=r||i,i}return o(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}(k);function ms(t,e){return"function"==typeof e?function(n){return n.pipe(ms(function(n,r){return ot(t(n,r)).pipe(tt(function(t,o){return e(n,t,r,o)}))}))}:function(e){return e.lift(new ws(t))}}var ws=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new bs(t,this.project))},t}(),bs=function(t){function e(e,n){var r=t.call(this,e)||this;return r.project=n,r.index=0,r}return o(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 z(this,void 0,void 0);this.destination.add(o),this.innerSubscription=$(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}(X);function _s(t,e){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new Cs(t,e,n))}}var Cs=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 Ss(t,this.accumulator,this.seed,this.hasSeed))},t}(),Ss=function(t){function e(e,n,r,o){var i=t.call(this,e)||this;return i.accumulator=n,i._seed=r,i.hasSeed=o,i.index=0,i}return o(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}(k);function xs(t,e){return it(t,e,1)}var Es=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new Ts(t,this.callback))},t}(),Ts=function(t){function e(e,n){var r=t.call(this,e)||this;return r.add(new b(n)),r}return o(e,t),e}(k),ks=null;function Rs(){return ks}var Is,As={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},Ps={"\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"},Ns={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"};Nt.Node&&(Is=Nt.Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))});var Os,Ds=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.parse=function(t){throw new Error("parse not implemented")},e.makeCurrent=function(){var t;t=new e,ks||(ks=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){var r;(r=t)[e].apply(r,c(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 As},enumerable:!0,configurable:!0}),e.prototype.contains=function(t,e){return Is.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&&Ns.hasOwnProperty(e)&&(e=Ns[e]))}return Ps[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=js||(js=document.querySelector("base"))?js.getAttribute("href"):null;return null==n?null:(e=n,Os||(Os=document.createElement("a")),Os.setAttribute("href",e),"/"===Os.pathname.charAt(0)?Os.pathname:"/"+Os.pathname)},e.prototype.resetBaseElement=function(){js=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){var n,r;e=encodeURIComponent(e);try{for(var o=s(t.split(";")),i=o.next();!i.done;i=o.next()){var a=i.value,u=a.indexOf("="),c=l(-1==u?[a,""]:[a.slice(0,u),a.slice(u+1)],2),f=c[1];if(c[0].trim()===e)return decodeURIComponent(f)}}catch(p){n={error:p}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return null}(document.cookie,t)},e.prototype.setCookie=function(t,e){document.cookie=encodeURIComponent(t)+"="+encodeURIComponent(e)},e}(function(t){function e(){var e=t.call(this)||this;e._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 o(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}())),js=null,Ms=Au;function Us(){return!!window.history.pushState}var Ls=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n._init(),n}var n;return o(e,t),e.prototype._init=function(){this.location=Rs().getLocation(),this._history=Rs().getHistory()},e.prototype.getBaseHrefFromDOM=function(){return Rs().getBaseHref(this._doc)},e.prototype.onPopState=function(t){Rs().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)},e.prototype.onHashChange=function(t){Rs().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)},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){Us()?this._history.pushState(t,e,n):this.location.hash=n},e.prototype.replaceState=function(t,e,n){Us()?this._history.replaceState(t,e,n):this.location.hash=n},e.prototype.forward=function(){this._history.forward()},e.prototype.back=function(){this._history.back()},a([(n=qt(Ms),function(t,e){n(t,e,0)}),u("design:paramtypes",[Object])],e)}(hu),Vs=new St("TRANSITION_ID"),Hs=[{provide:On,useFactory:function(t,e,n){return function(){n.get(Dn).donePromise.then(function(){var n=Rs();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:[Vs,Ms,ce],multi:!0}],Fs=function(){function t(){}return t.init=function(){var e;e=new t,pr=e},t.prototype.addToWindow=function(t){Nt.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},Nt.getAllAngularTestabilities=function(){return t.getAllTestabilities()},Nt.getAllAngularRootElements=function(){return t.getAllRootElements()},Nt.frameworkStabilizers||(Nt.frameworkStabilizers=[]),Nt.frameworkStabilizers.push(function(t){var e=Nt.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?Rs().isShadowRoot(e)?this.findTestabilityInTree(t,Rs().getHost(e),!0):this.findTestabilityInTree(t,Rs().parentElement(e),!0):null},t}();function zs(t,e){"undefined"!=typeof COMPILED&&COMPILED||((Nt.ng=Nt.ng||{})[t]=e)}var Bs={ApplicationRef:wr,NgZone:nr};function qs(t){return Dr(t)}var Zs=new St("EventManagerPlugins"),Gs=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}(),Ws=function(){function t(t){this._doc=t}return t.prototype.addGlobalEventListener=function(t,e,n){var r=Rs().getGlobalEventTarget(this._doc,t);if(!r)throw new Error("Unsupported event target "+r+" for event "+e);return this.addEventListener(r,e,n)},t}(),Qs=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}(),Ks=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n._hostNodes=new Set,n._styleNodes=new Set,n._hostNodes.add(e.head),n}return o(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 Rs().remove(t)})},e}(Qs),Ys={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/"},Js=/%COMP%/g,$s="_nghost-%COMP%",Xs="_ngcontent-%COMP%";function tl(t,e,n){for(var r=0;r<e.length;r++){var o=e[r];Array.isArray(o)?tl(t,o,n):(o=o.replace(Js,t),n.push(o))}return n}function el(t){return function(e){!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}var nl=function(){function t(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new rl(t)}return t.prototype.createRenderer=function(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case Bt.Emulated:var n=this.rendererByCompId.get(e.id);return n||(n=new ul(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n;case Bt.Native:case Bt.ShadowDom:return new sl(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){var r=tl(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}(),rl=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(Ys[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=Ys[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=Ys[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&Ve.DashCase?t.style.setProperty(e,n,r&Ve.Important?"important":""):t.style[e]=n},t.prototype.removeStyle=function(t,e,n){n&Ve.DashCase?t.style.removeProperty(e):t.style[e]=""},t.prototype.setProperty=function(t,e,n){il(e,"property"),t[e]=n},t.prototype.setValue=function(t,e){t.nodeValue=e},t.prototype.listen=function(t,e,n){return il(e,"listener"),"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,el(n)):this.eventManager.addEventListener(t,e,el(n))},t}(),ol="@".charCodeAt(0);function il(t,e){if(t.charCodeAt(0)===ol)throw new Error("Found the synthetic "+e+" "+t+'. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.')}var al,ul=function(t){function e(e,n,r,o){var i=t.call(this,e)||this;i.component=r;var a=tl(o+"-"+r.id,r.styles,[]);return n.addStyles(a),i.contentAttr=Xs.replace(Js,o+"-"+r.id),i.hostAttr=$s.replace(Js,o+"-"+r.id),i}return o(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}(rl),sl=function(t){function e(e,n,r,o){var i=t.call(this,e)||this;i.sharedStylesHost=n,i.hostEl=r,i.component=o,i.shadowRoot=o.encapsulation===Bt.ShadowDom?r.attachShadow({mode:"open"}):r.createShadowRoot(),i.sharedStylesHost.addHost(i.shadowRoot);for(var a=tl(o.id,o.styles,[]),u=0;u<a.length;u++){var s=document.createElement("style");s.textContent=a[u],i.shadowRoot.appendChild(s)}return i}return o(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}(rl),ll="undefined"!=typeof Zone&&Zone.__symbol__||function(t){return"__zone_symbol__"+t},cl=ll("addEventListener"),fl=ll("removeEventListener"),pl={},hl="__zone_symbol__propagationStopped";"undefined"!=typeof Zone&&Zone[ll("BLACK_LISTED_EVENTS")]&&(al={});var dl=function(t){return!!al&&al.hasOwnProperty(t)},vl=function(t){var e=pl[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[hl];i++){var a;(a=o[i]).zone!==Zone.current?a.zone.run(a.handler,this,r):a.handler.apply(this,r)}}}},gl=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.ngZone=n,r&&function(t){return t===Pu}(r)||o.patchEvent(),o}return o(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[hl]=!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[cl]||nr.isInAngularZone()&&!dl(e))t.addEventListener(e,o,!1);else{var i=pl[e];i||(i=pl[e]=ll("ANGULAR"+e+"FALSE"));var a=t[i],u=a&&a.length>0;a||(a=t[i]=[]);var s=dl(e)?Zone.root:Zone.current;if(0===a.length)a.push({zone:s,handler:o});else{for(var l=!1,c=0;c<a.length;c++)if(a[c].handler===o){l=!0;break}l||a.push({zone:s,handler:o})}u||t[cl](e,vl,!1)}return function(){return r.removeEventListener(t,e,o)}},e.prototype.removeEventListener=function(t,e,n){var r=t[fl];if(!r)return t.removeEventListener.apply(t,[e,n,!1]);var o=pl[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,vl,!1]):t.removeEventListener.apply(t,[e,n,!1])},e}(Ws),yl={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},ml=new St("HammerGestureConfig"),wl=new St("HammerLoader"),bl=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}(),_l=function(t){function e(e,n,r,o){var i=t.call(this,e)||this;return i._config=n,i.console=r,i.loader=o,i}return o(e,t),e.prototype.supports=function(t){return!(!yl.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}(Ws),Cl=["alt","control","meta","shift"],Sl={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},xl=function(t){function e(e){return t.call(this,e)||this}var n;return o(e,t),n=e,e.prototype.supports=function(t){return null!=n.parseEventName(t)},e.prototype.addEventListener=function(t,e,r){var o=n.parseEventName(e),i=n.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return Rs().onAndCancel(t,o.domEventName,i)})},e.parseEventName=function(t){var e=t.toLowerCase().split("."),r=e.shift();if(0===e.length||"keydown"!==r&&"keyup"!==r)return null;var o=n._normalizeKey(e.pop()),i="";if(Cl.forEach(function(t){var n=e.indexOf(t);n>-1&&(e.splice(n,1),i+=t+".")}),i+=o,0!=e.length||0===o.length)return null;var a={};return a.domEventName=r,a.fullKey=i,a},e.getEventFullKey=function(t){var e="",n=Rs().getEventKey(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),Cl.forEach(function(r){r!=n&&(0,Sl[r])(t)&&(e+=r+".")}),e+=n},e.eventCallback=function(t,e,r){return function(o){n.getEventFullKey(o)===t&&r.runGuarded(function(){return e(o)})}},e._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},e}(Ws),El=function(){return function(){}}(),Tl=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n}return o(e,t),e.prototype.sanitize=function(t,e){if(null==e)return null;switch(t){case ze.NONE:return e;case ze.HTML:return e instanceof Rl?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),function(t,e){var n=null;try{tn=tn||new Qe(t);var r=e?String(e):"";n=tn.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=tn.getInertBodyElement(r)}while(r!==i);var a=new fn,u=a.sanitizeChildren(vn(n)||n);return We()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),u}finally{if(n)for(var s=vn(n)||n;s.firstChild;)s.removeChild(s.firstChild)}}(this._doc,String(e)));case ze.STYLE:return e instanceof Il?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),function(t){if(!(t=String(t).trim()))return"";var e=t.match(bn);return e&&Je(e[1])===e[1]||t.match(wn)&&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:(We()&&console.warn("WARNING: sanitizing unsafe style value "+t+" (see http://g.co/ng/security#xss)."),"unsafe")}(e));case ze.SCRIPT:if(e instanceof Al)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"Script"),new Error("unsafe value used in a script context");case ze.URL:return e instanceof Nl||e instanceof Pl?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"URL"),Je(String(e)));case ze.RESOURCE_URL:if(e instanceof Nl)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 kl)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 Rl(t)},e.prototype.bypassSecurityTrustStyle=function(t){return new Il(t)},e.prototype.bypassSecurityTrustScript=function(t){return new Al(t)},e.prototype.bypassSecurityTrustUrl=function(t){return new Pl(t)},e.prototype.bypassSecurityTrustResourceUrl=function(t){return new Nl(t)},e}(El),kl=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}(),Rl=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTypeName=function(){return"HTML"},e}(kl),Il=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTypeName=function(){return"Style"},e}(kl),Al=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTypeName=function(){return"Script"},e}(kl),Pl=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTypeName=function(){return"URL"},e}(kl),Nl=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTypeName=function(){return"ResourceURL"},e}(kl),Ol=vr(Jr,"browser",[{provide:Vn,useValue:"browser"},{provide:Ln,useValue:function(){Ds.makeCurrent(),Fs.init()},multi:!0},{provide:hu,useClass:Ls,deps:[Ms]},{provide:Ms,useFactory:function(){return document},deps:[]}]);function Dl(){return new An}var jl=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.")}var e;return e=t,t.withServerTransition=function(t){return{ngModule:e,providers:[{provide:jn,useValue:t.appId},{provide:Vs,useExisting:jn},Hs]}},t}();"undefined"!=typeof window&&window;var Ml=function(){return function(t,e){this.id=t,this.url=e}}(),Ul=function(t){function e(e,n,r,o){void 0===r&&(r="imperative"),void 0===o&&(o=null);var i=t.call(this,e,n)||this;return i.navigationTrigger=r,i.restoredState=o,i}return o(e,t),e.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"},e}(Ml),Ll=function(t){function e(e,n,r){var o=t.call(this,e,n)||this;return o.urlAfterRedirects=r,o}return o(e,t),e.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"},e}(Ml),Vl=function(t){function e(e,n,r){var o=t.call(this,e,n)||this;return o.reason=r,o}return o(e,t),e.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"},e}(Ml),Hl=function(t){function e(e,n,r){var o=t.call(this,e,n)||this;return o.error=r,o}return o(e,t),e.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"},e}(Ml),Fl=function(t){function e(e,n,r,o){var i=t.call(this,e,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return o(e,t),e.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(Ml),zl=function(t){function e(e,n,r,o){var i=t.call(this,e,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return o(e,t),e.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(Ml),Bl=function(t){function e(e,n,r,o,i){var a=t.call(this,e,n)||this;return a.urlAfterRedirects=r,a.state=o,a.shouldActivate=i,a}return o(e,t),e.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"},e}(Ml),ql=function(t){function e(e,n,r,o){var i=t.call(this,e,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return o(e,t),e.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(Ml),Zl=function(t){function e(e,n,r,o){var i=t.call(this,e,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return o(e,t),e.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(Ml),Gl=function(){function t(t){this.route=t}return t.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"},t}(),Wl=function(){function t(t){this.route=t}return t.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"},t}(),Ql=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),Kl=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),Yl=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),Jl=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),$l=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}(),Xl=function(){return function(){}}(),tc="primary",ec=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 nc(t){return new ec(t)}var rc="ngNavigationCancelingError";function oc(t){var e=Error("NavigationCancelingError: "+t);return e[rc]=!0,e}function ic(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 ac=function(){return function(t,e){this.routes=t,this.module=e}}();function uc(t,e){void 0===e&&(e="");for(var n=0;n<t.length;n++){var r=t[n];sc(r,lc(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!==tc)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&&uc(t.children,e)}function lc(t,e){return e?t||e.path?t&&!e.path?t+"/":!t&&e.path?e.path:t+"/"+e.path:"":t}function cc(t){var e=t.children&&t.children.map(cc),n=e?i({},t,{children:e}):i({},t);return!n.component&&(e||n.loadChildren)&&n.outlet&&n.outlet!==tc&&(n.component=Xl),n}function fc(t,e){var n,r=Object.keys(t),o=Object.keys(e);if(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 pc(t){return Array.prototype.concat.apply([],t)}function hc(t){return t.length>0?t[t.length-1]:null}function dc(t,e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)}function vc(t){return Nn(t)?t:Pn(t)?ot(Promise.resolve(t)):Uu(t)}function gc(t,e,n){return n?function(t,e){return fc(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!bc(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!!bc(a=n.segments.slice(0,o.length),o)&&!r.hasChildren();if(n.segments.length===o.length){if(!bc(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!!bc(n.segments,a)&&!!n.children[tc]&&e(n.children[tc],r,u)}(e,n,n.segments)}(t.root,e.root)}var yc=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=nc(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return xc.serialize(this)},t}(),mc=function(){function t(t,e){var n=this;this.segments=t,this.children=e,this.parent=null,dc(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 Ec(this)},t}(),wc=function(){function t(t,e){this.path=t,this.parameters=e}return Object.defineProperty(t.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=nc(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return Pc(this)},t}();function bc(t,e){return t.length===e.length&&t.every(function(t,n){return t.path===e[n].path})}function _c(t,e){var n=[];return dc(t.children,function(t,r){r===tc&&(n=n.concat(e(t,r)))}),dc(t.children,function(t,r){r!==tc&&(n=n.concat(e(t,r)))}),n}var Cc=function(){return function(){}}(),Sc=function(){function t(){}return t.prototype.parse=function(t){var e=new Mc(t);return new yc(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())},t.prototype.serialize=function(t){var e,n;return"/"+function t(e,n){if(!e.hasChildren())return Ec(e);if(n){var r=e.children[tc]?t(e.children[tc],!1):"",o=[];return dc(e.children,function(e,n){n!==tc&&o.push(n+":"+t(e,!1))}),o.length>0?r+"("+o.join("//")+")":r}var i=_c(e,function(n,r){return r===tc?[t(e.children[tc],!1)]:[r+":"+t(n,!1)]});return Ec(e)+"/("+i.join("//")+")"}(t.root,!0)+(e=t.queryParams,(n=Object.keys(e).map(function(t){var n=e[t];return Array.isArray(n)?n.map(function(e){return kc(t)+"="+kc(e)}).join("&"):kc(t)+"="+kc(n)})).length?"?"+n.join("&"):"")+("string"==typeof t.fragment?"#"+encodeURI(t.fragment):"")},t}(),xc=new Sc;function Ec(t){return t.segments.map(function(t){return Pc(t)}).join("/")}function Tc(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function kc(t){return Tc(t).replace(/%3B/gi,";")}function Rc(t){return Tc(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ic(t){return decodeURIComponent(t)}function Ac(t){return Ic(t.replace(/\+/g,"%20"))}function Pc(t){return""+Rc(t.path)+(e=t.parameters,Object.keys(e).map(function(t){return";"+Rc(t)+"="+Rc(e[t])}).join(""));var e}var Nc=/^[^\/()?;=#]+/;function Oc(t){var e=t.match(Nc);return e?e[0]:""}var Dc=/^[^=?&#]+/,jc=/^[^?&#]+/,Mc=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 mc([],{}):new mc([],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[tc]=new mc(t,e)),n},t.prototype.parseSegment=function(){var t=Oc(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(t),new wc(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=Oc(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var r=Oc(this.remaining);r&&this.capture(n=r)}t[Ic(e)]=Ic(n)}},t.prototype.parseQueryParam=function(t){var e,n=(e=this.remaining.match(Dc))?e[0]:"";if(n){this.capture(n);var r="";if(this.consumeOptional("=")){var o=function(t){var e=t.match(jc);return e?e[0]:""}(this.remaining);o&&this.capture(r=o)}var i=Ac(n),a=Ac(r);if(t.hasOwnProperty(i)){var u=t[i];Array.isArray(u)||(t[i]=u=[u]),u.push(a)}else t[i]=a}},t.prototype.parseParens=function(t){var e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=Oc(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=tc);var i=this.parseChildren();e[o]=1===Object.keys(i).length?i[tc]:new mc([],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}(),Uc=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=Lc(t,this._root);return e?e.children.map(function(t){return t.value}):[]},t.prototype.firstChild=function(t){var e=Lc(t,this._root);return e&&e.children.length>0?e.children[0].value:null},t.prototype.siblings=function(t){var e=Vc(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 Vc(t,this._root).map(function(t){return t.value})},t}();function Lc(t,e){var n,r;if(t===e.value)return e;try{for(var o=s(e.children),i=o.next();!i.done;i=o.next()){var a=Lc(t,i.value);if(a)return a}}catch(u){n={error:u}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return null}function Vc(t,e){var n,r;if(t===e.value)return[e];try{for(var o=s(e.children),i=o.next();!i.done;i=o.next()){var a=Vc(t,i.value);if(a.length)return a.unshift(e),a}}catch(u){n={error:u}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return[]}var Hc=function(){function t(t,e){this.value=t,this.children=e}return t.prototype.toString=function(){return"TreeNode("+this.value+")"},t}();function Fc(t){var e={};return t&&t.children.forEach(function(t){return e[t.value.outlet]=t}),e}var zc=function(t){function e(e,n){var r=t.call(this,e)||this;return r.snapshot=n,Qc(r,e),r}return o(e,t),e.prototype.toString=function(){return this.snapshot.toString()},e}(Uc);function Bc(t,e){var n=function(t,e){var n=new Gc([],{},{},"",{},tc,e,null,t.root,-1,{});return new Wc("",new Hc(n,[]))}(t,e),r=new Lu([new wc("",{})]),o=new Lu({}),i=new Lu({}),a=new Lu({}),u=new Lu(""),s=new qc(r,o,a,u,i,tc,e,n.root);return s.snapshot=n.root,new zc(new Hc(s,[]),n)}var qc=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(tt(function(t){return nc(t)}))),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(tt(function(t){return nc(t)}))),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},t}();function Zc(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],a=n[r-1];if(o.routeConfig&&""===o.routeConfig.path)r--;else{if(a.component)break;r--}}return function(t){return t.reduce(function(t,e){return{params:i({},t.params,e.params),data:i({},t.data,e.data),resolve:i({},t.resolve,e._resolvedData)}},{params:{},data:{},resolve:{}})}(n.slice(r))}var Gc=function(){function t(t,e,n,r,o,i,a,u,s,l,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=s,this._lastPathIndex=l,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=nc(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=nc(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}(),Wc=function(t){function e(e,n){var r=t.call(this,n)||this;return r.url=e,Qc(r,n),r}return o(e,t),e.prototype.toString=function(){return Kc(this._root)},e}(Uc);function Qc(t,e){e.value._routerState=t,e.children.forEach(function(e){return Qc(t,e)})}function Kc(t){var e=t.children.length>0?" { "+t.children.map(Kc).join(", ")+" } ":"";return""+t.value+e}function Yc(t){if(t.snapshot){var e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,fc(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),fc(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(!fc(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.url.next(n.url),fc(e.data,n.data)||t.data.next(n.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function Jc(t,e){var n,r;return fc(t.params,e.params)&&bc(n=t.url,r=e.url)&&n.every(function(t,e){return fc(t.parameters,r[e].parameters)})&&!(!t.parent!=!e.parent)&&(!t.parent||Jc(t.parent,e.parent))}function $c(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function Xc(t,e,n,r,o){var i={};return r&&dc(r,function(t,e){i[e]=Array.isArray(t)?t.map(function(t){return""+t}):""+t}),new yc(n.root===t?e:function t(e,n,r){var o={};return dc(e.children,function(e,i){o[i]=e===n?r:t(e,n,r)}),new mc(e.segments,o)}(n.root,t,e),i,o)}var tf=function(){function t(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&$c(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!==hc(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}(),ef=function(){return function(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}();function nf(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets[tc]:""+t}function rf(t,e,n){if(t||(t=new mc([],{})),0===t.segments.length&&t.hasChildren())return of(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=nf(n[r]),s=r<n.length-1?n[r+1]:null;if(o>0&&void 0===u)break;if(u&&s&&"object"==typeof s&&void 0===s.outlets){if(!lf(u,s,a))return i;r+=2}else{if(!lf(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 mc(t.segments.slice(0,r.pathIndex),{});return i.children[tc]=new mc(t.segments.slice(r.pathIndex),t.children),of(i,0,o)}return r.match&&0===o.length?new mc(t.segments,{}):r.match&&!t.hasChildren()?af(t,e,n):r.match?of(t,0,o):af(t,e,n)}function of(t,e,n){if(0===n.length)return new mc(t.segments,{});var r=function(t){var e,n;return"object"!=typeof t[0]?((e={})[tc]=t,e):void 0===t[0].outlets?((n={})[tc]=t,n):t[0].outlets}(n),o={};return dc(r,function(n,r){null!==n&&(o[r]=rf(t.children[r],e,n))}),dc(t.children,function(t,e){void 0===r[e]&&(o[e]=t)}),new mc(t.segments,o)}function af(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=uf(n[o].outlets);return new mc(r,i)}if(0===o&&$c(n[0]))r.push(new wc(t.segments[e].path,n[0])),o++;else{var a=nf(n[o]),u=o<n.length-1?n[o+1]:null;a&&u&&$c(u)?(r.push(new wc(a,sf(u))),o+=2):(r.push(new wc(a,{})),o++)}}return new mc(r,{})}function uf(t){var e={};return dc(t,function(t,n){null!==t&&(e[n]=af(new mc([],{}),0,t))}),e}function sf(t){var e={};return dc(t,function(t,n){return e[n]=""+t}),e}function lf(t,e,n){return t==n.path&&fc(e,n.parameters)}var cf=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),Yc(this.futureState.root),this.activateChildRoutes(e,n,t)},t.prototype.deactivateChildRoutes=function(t,e,n){var r=this,o=Fc(e);t.children.forEach(function(t){var e=t.value.outlet;r.deactivateRoutes(t,o[e],n),delete o[e]}),dc(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=Fc(t),i=t.value.component?r.children:e;dc(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=Fc(e);t.children.forEach(function(t){r.activateRoutes(t,o[t.value.outlet],n),r.forwardEvent(new Jl(t.value.snapshot))}),t.children.length&&this.forwardEvent(new Kl(t.value.snapshot))},t.prototype.activateRoutes=function(t,e,n){var r=t.value,o=e?e.value:null;if(Yc(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)if(i=n.getOrCreateContext(r.outlet),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),ff(a.route)}else{var u=function(t){for(var e=r.snapshot.parent;e;e=e.parent){var n=e.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig;if(n&&n.component)return null}return null}(),s=u?u.module.componentFactoryResolver:null;i.attachRef=null,i.route=r,i.resolver=s,i.outlet&&i.outlet.activateWith(r,s),this.activateChildRoutes(t,null,i.children)}else this.activateChildRoutes(t,null,n)},t}();function ff(t){Yc(t.value),t.children.forEach(ff)}function pf(t){return"function"==typeof t}function hf(t){return t instanceof yc}var df=function(){return function(t){this.segmentGroup=t||null}}(),vf=function(){return function(t){this.urlTree=t}}();function gf(t){return new O(function(e){return e.error(new df(t))})}function yf(t){return new O(function(e){return e.error(new vf(t))})}function mf(t){return new O(function(e){return e.error(new Error("Only absolute redirects can have named outlets. redirectTo: '"+t+"'"))})}var wf=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(Oe)}return t.prototype.apply=function(){var t=this;return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,tc).pipe(tt(function(e){return t.createUrlTree(e,t.urlTree.queryParams,t.urlTree.fragment)})).pipe(ls(function(e){if(e instanceof vf)return t.allowRedirects=!1,t.match(e.urlTree);if(e instanceof df)throw t.noMatchError(e);throw e}))},t.prototype.match=function(t){var e=this;return this.expandSegmentGroup(this.ngModule,this.config,t.root,tc).pipe(tt(function(n){return e.createUrlTree(n,t.queryParams,t.fragment)})).pipe(ls(function(t){if(t instanceof df)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 mc([],((r={})[tc]=t,r)):t;return new yc(o,e,n)},t.prototype.expandSegmentGroup=function(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(tt(function(t){return new mc([],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 Uu({});var i=[],a=[],u={};return dc(n,function(n,o){var s,l,c=(s=o,l=n,r.expandSegmentGroup(t,e,l,s)).pipe(tt(function(t){return u[o]=t}));o===tc?i.push(c):a.push(c)}),Uu.apply(null,i.concat(a)).pipe(Zu(),ss(),tt(function(){return u}))}(n.children)},t.prototype.expandSegment=function(t,e,n,r,o,i){var a=this;return Uu.apply(void 0,c(n)).pipe(tt(function(u){return a.expandSegmentAgainstRoute(t,e,n,u,r,o,i).pipe(ls(function(t){if(t instanceof df)return Uu(null);throw t}))}),Zu(),vs(function(t){return!!t}),ls(function(t,n){if(t instanceof Hu||"EmptyError"===t.name){if(a.noLeftoversInUrl(e,r,o))return Uu(new mc([],{}));throw new df(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 Sf(r)!==i?gf(e):void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,o):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,o,i):gf(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("/")?yf(i):this.lineralizeSegments(n,i).pipe(it(function(n){var i=new mc(n,{});return o.expandSegment(t,i,e,n,r,!1)}))},t.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(t,e,n,r,o,i){var a=this,u=bf(e,r,o),s=u.consumedSegments,l=u.lastChild,c=u.positionalParamSegments;if(!u.matched)return gf(e);var f=this.applyRedirectCommands(s,r.redirectTo,c);return r.redirectTo.startsWith("/")?yf(f):this.lineralizeSegments(r,f).pipe(it(function(r){return a.expandSegment(t,e,n,r.concat(o.slice(l)),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(tt(function(t){return n._loadedConfig=t,new mc(r,{})})):Uu(new mc(r,{}));var a=bf(e,n,r),u=a.consumedSegments,l=a.lastChild;if(!a.matched)return gf(e);var c=r.slice(l);return this.getChildConfig(t,n,r).pipe(it(function(t){var n=t.module,r=t.routes,a=function(t,e,n,r){return n.length>0&&function(t,e,n){return r.some(function(n){return Cf(t,e,n)&&Sf(n)!==tc})}(t,n)?{segmentGroup:_f(new mc(e,function(t,e){var n,r,o={};o[tc]=e;try{for(var i=s(t),a=i.next();!a.done;a=i.next()){var u=a.value;""===u.path&&Sf(u)!==tc&&(o[Sf(u)]=new mc([],{}))}}catch(l){n={error:l}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return o}(r,new mc(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return r.some(function(n){return Cf(t,e,n)})}(t,n)?{segmentGroup:_f(new mc(t.segments,function(t,e,n,r){var o,a,u={};try{for(var l=s(n),c=l.next();!c.done;c=l.next()){var f=c.value;Cf(t,e,f)&&!r[Sf(f)]&&(u[Sf(f)]=new mc([],{}))}}catch(p){o={error:p}}finally{try{c&&!c.done&&(a=l.return)&&a.call(l)}finally{if(o)throw o.error}}return i({},r,u)}(t,n,r,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,u,c,r),l=a.segmentGroup,f=a.slicedSegments;return 0===f.length&&l.hasChildren()?o.expandChildren(n,r,l).pipe(tt(function(t){return new mc(u,t)})):0===r.length&&0===f.length?Uu(new mc(u,{})):o.expandSegment(n,l,r,f,tc,!0).pipe(tt(function(t){return new mc(u.concat(t.segments),t.children)}))}))},t.prototype.getChildConfig=function(t,e,n){var r=this;return e.children?Uu(new ac(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Uu(e._loadedConfig):function(t,e,n){var r,o=e.canLoad;return o&&0!==o.length?ot(o).pipe(tt(function(r){var o,i=t.get(r);if(function(t){return t&&pf(t.canLoad)}(i))o=i.canLoad(e,n);else{if(!pf(i))throw new Error("Invalid CanLoad guard");o=i(e,n)}return vc(o)})).pipe(Zu(),(r=function(t){return!0===t},function(t){return t.lift(new gs(r,void 0,t))})):Uu(!0)}(t.injector,e,n).pipe(it(function(n){return n?r.configLoader.load(t.injector,e).pipe(tt(function(t){return e._loadedConfig=t,t})):function(t){return new O(function(e){return e.error(oc("Cannot load children because the guard of the route \"path: '"+t.path+"'\" returned false"))})}(e)})):Uu(new ac([],t))},t.prototype.lineralizeSegments=function(t,e){for(var n=[],r=e.root;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Uu(n);if(r.numberOfChildren>1||!r.children[tc])return mf(t.redirectTo);r=r.children[tc]}},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 yc(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)},t.prototype.createQueryParams=function(t,e){var n={};return dc(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 dc(e.children,function(e,i){a[i]=o.createSegmentGroup(t,e,n,r)}),new mc(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){var n,r,o=0;try{for(var i=s(e),a=i.next();!a.done;a=i.next()){var u=a.value;if(u.path===t.path)return e.splice(o),u;o++}}catch(l){n={error:l}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return t},t}();function bf(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||ic)(n,t,e);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function _f(t){if(1===t.numberOfChildren&&t.children[tc]){var e=t.children[tc];return new mc(t.segments.concat(e.segments),e.children)}return t}function Cf(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function Sf(t){return t.outlet||tc}var xf=function(){return function(t){this.path=t,this.route=this.path[this.path.length-1]}}(),Ef=function(){return function(t,e){this.component=t,this.route=e}}();function Tf(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 kf(t,e,n,r,o){void 0===o&&(o={canDeactivateChecks:[],canActivateChecks:[]});var i=Fc(e);return t.children.forEach(function(t){!function(t,e,n,r,o){void 0===o&&(o={canDeactivateChecks:[],canActivateChecks:[]});var i=t.value,a=e?e.value:null,u=n?n.getContext(t.value.outlet):null;if(a&&i.routeConfig===a.routeConfig){var s=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!bc(t.url,e.url);case"pathParamsOrQueryParamsChange":return!bc(t.url,e.url)||!fc(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Jc(t,e)||!fc(t.queryParams,e.queryParams);case"paramsChange":default:return!Jc(t,e)}}(a,i,i.routeConfig.runGuardsAndResolvers);s?o.canActivateChecks.push(new xf(r)):(i.data=a.data,i._resolvedData=a._resolvedData),kf(t,e,i.component?u?u.children:null:n,r,o),s&&o.canDeactivateChecks.push(new Ef(u&&u.outlet&&u.outlet.component||null,a))}else a&&Rf(e,u,o),o.canActivateChecks.push(new xf(r)),kf(t,null,i.component?u?u.children:null:n,r,o)}(t,i[t.value.outlet],n,r.concat([t.value]),o),delete i[t.value.outlet]}),dc(i,function(t,e){return Rf(t,n.getContext(e),o)}),o}function Rf(t,e,n){var r=Fc(t),o=t.value;dc(r,function(t,r){Rf(t,o.component?e?e.children.getContext(r):null:e,n)}),n.canDeactivateChecks.push(new Ef(o.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,o))}var If=Symbol("INITIAL_VALUE");function Af(){return ms(function(t){return(function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=null,r=null;return F(t[t.length-1])&&(r=t.pop()),"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&f(t[0])&&(t=t[0]),rt(t,r).lift(new zu(n))}).apply(void 0,c(t.map(function(t){return t.pipe(ps(1),function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){var n=t[t.length-1];F(n)?t.pop():n=null;var r=t.length;return function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length||2===t.length&&F(t[1])?ot(t[0]):Zu()(Uu.apply(void 0,t))}(1!==r||n?r>0?rt(t,n):ju(n):Mu(t[0]),e)}}(If))}))).pipe(_s(function(t,e){var n=!1;return e.reduce(function(t,r,o){if(t!==If)return t;if(r===If&&(n=!0),!n){if(!1===r)return r;if(o===e.length-1||hf(r))return r}return t},t)},If),Gu(function(t){return t!==If}),tt(function(t){return hf(t)?t:!0===t}),ps(1))})}function Pf(t,e){return null!==t&&e&&e(new Yl(t)),Uu(!0)}function Nf(t,e){return null!==t&&e&&e(new Ql(t)),Uu(!0)}function Of(t,e,n){var r=e.routeConfig?e.routeConfig.canActivate:null;return r&&0!==r.length?Uu(r.map(function(r){return qu(function(){var o,i=Tf(r,e,n);if(function(t){return t&&pf(t.canActivate)}(i))o=vc(i.canActivate(e,t));else{if(!pf(i))throw new Error("Invalid CanActivate guard");o=vc(i(e,t))}return o.pipe(vs())})})).pipe(Af()):Uu(!0)}function Df(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 qu(function(){return Uu(e.guards.map(function(o){var i,a=Tf(o,e.node,n);if(function(t){return t&&pf(t.canActivateChild)}(a))i=vc(a.canActivateChild(r,t));else{if(!pf(a))throw new Error("Invalid CanActivateChild guard");i=vc(a(r,t))}return i.pipe(vs())})).pipe(Af())})});return Uu(o).pipe(Af())}var jf=function(){return function(){}}(),Mf=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=Vf(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,tc),n=new Gc([],Object.freeze({}),Object.freeze(i({},this.urlTree.queryParams)),this.urlTree.fragment,{},tc,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new Hc(n,e),o=new Wc(this.url,r);return this.inheritParamsAndData(o._root),Uu(o)}catch(a){return new O(function(t){return t.error(a)})}},t.prototype.inheritParamsAndData=function(t){var e=this,n=t.value,r=Zc(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=_c(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===tc?-1:e.value.outlet===tc?1:t.value.outlet.localeCompare(e.value.outlet)}),o},t.prototype.processSegment=function(t,e,n,r){var o,i;try{for(var a=s(t),u=a.next();!u.done;u=a.next()){var l=u.value;try{return this.processSegmentAgainstRoute(l,e,n,r)}catch(c){if(!(c instanceof jf))throw c}}}catch(f){o={error:f}}finally{try{u&&!u.done&&(i=a.return)&&i.call(a)}finally{if(o)throw o.error}}if(this.noLeftoversInUrl(e,n,r))return[];throw new jf},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 jf;if((t.outlet||tc)!==r)throw new jf;var o,a=[],u=[];if("**"===t.path){var s=n.length>0?hc(n).parameters:{};o=new Gc(n,s,Object.freeze(i({},this.urlTree.queryParams)),this.urlTree.fragment,zf(t),r,t.component,t,Uf(e),Lf(e)+n.length,Bf(t))}else{var l=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new jf;return{consumedSegments:[],lastChild:0,parameters:{}}}var r=(e.matcher||ic)(n,t,e);if(!r)throw new jf;var o={};dc(r.posParams,function(t,e){o[e]=t.path});var a=r.consumed.length>0?i({},o,r.consumed[r.consumed.length-1].parameters):o;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:a}}(e,t,n);a=l.consumedSegments,u=n.slice(l.lastChild),o=new Gc(a,l.parameters,Object.freeze(i({},this.urlTree.queryParams)),this.urlTree.fragment,zf(t),r,t.component,t,Uf(e),Lf(e)+a.length,Bf(t))}var c=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),f=Vf(e,a,u,c,this.relativeLinkResolution),p=f.segmentGroup,h=f.slicedSegments;if(0===h.length&&p.hasChildren()){var d=this.processChildren(c,p);return[new Hc(o,d)]}if(0===c.length&&0===h.length)return[new Hc(o,[])];var v=this.processSegment(c,p,h,tc);return[new Hc(o,v)]},t}();function Uf(t){for(var e=t;e._sourceSegment;)e=e._sourceSegment;return e}function Lf(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 Vf(t,e,n,r,o){if(n.length>0&&function(t,e,n){return r.some(function(n){return Hf(t,e,n)&&Ff(n)!==tc})}(t,n)){var a=new mc(e,function(t,e,n,r){var o,i,a={};a[tc]=r,r._sourceSegment=t,r._segmentIndexShift=e.length;try{for(var u=s(n),l=u.next();!l.done;l=u.next()){var c=l.value;if(""===c.path&&Ff(c)!==tc){var f=new mc([],{});f._sourceSegment=t,f._segmentIndexShift=e.length,a[Ff(c)]=f}}}catch(p){o={error:p}}finally{try{l&&!l.done&&(i=u.return)&&i.call(u)}finally{if(o)throw o.error}}return a}(t,e,r,new mc(n,t.children)));return a._sourceSegment=t,a._segmentIndexShift=e.length,{segmentGroup:a,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return r.some(function(n){return Hf(t,e,n)})}(t,n)){var u=new mc(t.segments,function(t,e,n,r,o,a){var u,l,c={};try{for(var f=s(r),p=f.next();!p.done;p=f.next()){var h=p.value;if(Hf(t,n,h)&&!o[Ff(h)]){var d=new mc([],{});d._sourceSegment=t,d._segmentIndexShift="legacy"===a?t.segments.length:e.length,c[Ff(h)]=d}}}catch(v){u={error:v}}finally{try{p&&!p.done&&(l=f.return)&&l.call(f)}finally{if(u)throw u.error}}return i({},o,c)}(t,e,n,r,t.children,o));return u._sourceSegment=t,u._segmentIndexShift=e.length,{segmentGroup:u,slicedSegments:n}}var l=new mc(t.segments,t.children);return l._sourceSegment=t,l._segmentIndexShift=e.length,{segmentGroup:l,slicedSegments:n}}function Hf(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function Ff(t){return t.outlet||tc}function zf(t){return t.data||{}}function Bf(t){return t.resolve||{}}function qf(t,e,n,r){var o=Tf(t,e,r);return vc(o.resolve?o.resolve(e,n):o(e,n))}function Zf(t){return function(e){return e.pipe(ms(function(e){var n=t(e);return n?ot(n).pipe(tt(function(){return e})):ot([e])}))}}var Gf=function(){return function(){}}(),Wf=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}(),Qf=new St("ROUTES"),Kf=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(tt(function(r){n.onLoadEndListener&&n.onLoadEndListener(e);var o=r.create(t);return new ac(pc(o.injector.get(Qf)).map(cc),o)}))},t.prototype.loadModuleFactory=function(t){var e=this;return"string"==typeof t?ot(this.loader.load(t)):vc(t()).pipe(it(function(t){return t instanceof De?Uu(t):ot(e.compiler.compileModuleAsync(t))}))},t}(),Yf=function(){return function(){}}(),Jf=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 $f(t){throw t}function Xf(t,e,n){return e.parse("/")}function tp(t,e){return Uu(null)}var ep=function(){function t(t,e,n,r,o,i,a,u){var s=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 V,this.errorHandler=$f,this.malformedUriErrorHandler=Xf,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:tp,afterPreactivation:tp},this.urlHandlingStrategy=new Jf,this.routeReuseStrategy=new Wf,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=o.get(Oe),this.console=o.get(Fn);var l=o.get(nr);this.isNgZoneEnabled=l instanceof nr,this.resetConfig(u),this.currentUrlTree=new yc(new mc([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Kf(i,a,function(t){return s.triggerEvent(new Gl(t))},function(t){return s.triggerEvent(new Wl(t))}),this.routerState=Bc(this.currentUrlTree,this.rootComponentType),this.transitions=new Lu({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(Gu(function(t){return 0!==t.id}),tt(function(t){return i({},t,{extractedUrl:e.urlHandlingStrategy.extract(t.rawUrl)})}),ms(function(t){var r,o,a,u,l=!1,c=!1;return Uu(t).pipe(ts(function(t){e.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:e.lastSuccessfulNavigation?i({},e.lastSuccessfulNavigation,{previousNavigation:null}):null}}),ms(function(t){var r,o,a,u,s=!e.navigated||t.extractedUrl.toString()!==e.browserUrlTree.toString();if(("reload"===e.onSameUrlNavigation||s)&&e.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Uu(t).pipe(ms(function(t){var r=e.transitions.getValue();return n.next(new Ul(t.id,e.serializeUrl(t.extractedUrl),t.source,t.restoredState)),r!==e.transitions.getValue()?Du:[t]}),ms(function(t){return Promise.resolve(t)}),(r=e.ngModule.injector,o=e.configLoader,a=e.urlSerializer,u=e.config,function(t){return t.pipe(ms(function(t){return function(e,n,r,o,i){return new wf(e,n,r,t.extractedUrl,i).apply()}(r,o,a,0,u).pipe(tt(function(e){return i({},t,{urlAfterRedirects:e})}))}))}),ts(function(t){e.currentNavigation=i({},e.currentNavigation,{finalUrl:t.urlAfterRedirects})}),function(t,n,r,o,a){return function(r){return r.pipe(it(function(r){return function(t,e,n,r,o,i){return void 0===o&&(o="emptyOnly"),void 0===i&&(i="legacy"),new Mf(t,e,n,r,o,i).recognize()}(t,n,r.urlAfterRedirects,(u=r.urlAfterRedirects,e.serializeUrl(u)),o,a).pipe(tt(function(t){return i({},r,{targetSnapshot:t})}));var u}))}}(e.rootComponentType,e.config,0,e.paramsInheritanceStrategy,e.relativeLinkResolution),ts(function(t){"eager"===e.urlUpdateStrategy&&(t.extras.skipLocationChange||e.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id),e.browserUrlTree=t.urlAfterRedirects)}),ts(function(t){var r=new Fl(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);n.next(r)}));if(s&&e.rawUrlTree&&e.urlHandlingStrategy.shouldProcessUrl(e.rawUrlTree)){var l=t.extractedUrl,c=t.source,f=t.restoredState,p=t.extras,h=new Ul(t.id,e.serializeUrl(l),c,f);n.next(h);var d=Bc(l,e.rootComponentType).snapshot;return Uu(i({},t,{targetSnapshot:d,urlAfterRedirects:l,extras:i({},p,{skipLocationChange:!1,replaceUrl:!1})}))}return e.rawUrlTree=t.rawUrl,t.resolve(null),Du}),Zf(function(t){var n=t.extras;return e.hooks.beforePreactivation(t.targetSnapshot,{navigationId:t.id,appliedUrlTree:t.extractedUrl,rawUrlTree:t.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})}),ts(function(t){var n=new zl(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}),tt(function(t){return i({},t,{guards:(n=t.targetSnapshot,r=t.currentSnapshot,o=e.rootContexts,a=n._root,kf(a,r?r._root:null,o,[a.value]))});var n,r,o,a}),function(t,e){return function(n){return n.pipe(it(function(n){var r=n.targetSnapshot,o=n.currentSnapshot,a=n.guards,u=a.canActivateChecks,s=a.canDeactivateChecks;return 0===s.length&&0===u.length?Uu(i({},n,{guardsResult:!0})):function(t,e,n,r){return ot(s).pipe(it(function(t){return function(t,e,n,r,o){var i=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return i&&0!==i.length?Uu(i.map(function(i){var a,u=Tf(i,e,o);if(function(t){return t&&pf(t.canDeactivate)}(u))a=vc(u.canDeactivate(t,e,n,r));else{if(!pf(u))throw new Error("Invalid CanDeactivate guard");a=vc(u(t,e,n,r))}return a.pipe(vs())})).pipe(Af()):Uu(!0)}(t.component,t.route,n,e,r)}),vs(function(t){return!0!==t},!0))}(0,r,o,t).pipe(it(function(n){return n&&"boolean"==typeof n?function(t,e,n,r){return ot(u).pipe(xs(function(e){return ot([Nf(e.route.parent,r),Pf(e.route,r),Df(t,e.path,n),Of(t,e.route,n)]).pipe(Zu(),vs(function(t){return!0!==t},!0))}),vs(function(t){return!0!==t},!0))}(r,0,t,e):Uu(n)}),tt(function(t){return i({},n,{guardsResult:t})}))}))}}(e.ngModule.injector,function(t){return e.triggerEvent(t)}),ts(function(t){if(hf(t.guardsResult)){var n=oc('Redirecting to "'+e.serializeUrl(t.guardsResult)+'"');throw n.url=t.guardsResult,n}}),ts(function(t){var n=new Bl(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);e.triggerEvent(n)}),Gu(function(t){if(!t.guardsResult){e.resetUrlToCurrentUrlTree();var r=new Vl(t.id,e.serializeUrl(t.extractedUrl),"");return n.next(r),t.resolve(!1),!1}return!0}),Zf(function(t){if(t.guards.canActivateChecks.length)return Uu(t).pipe(ts(function(t){var n=new ql(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}),(n=e.paramsInheritanceStrategy,r=e.ngModule.injector,function(t){return t.pipe(it(function(t){var e=t.targetSnapshot,o=t.guards.canActivateChecks;return o.length?ot(o).pipe(xs(function(t){return function(t,n,r,o){return function(t,e,n,r){var o=Object.keys(t);if(0===o.length)return Uu({});if(1===o.length){var i=o[0];return qf(t[i],e,n,r).pipe(tt(function(t){var e;return(e={})[i]=t,e}))}var a={};return ot(o).pipe(it(function(o){return qf(t[o],e,n,r).pipe(tt(function(t){return a[o]=t,t}))})).pipe(ss(),tt(function(){return a}))}(t._resolve,t,e,o).pipe(tt(function(e){return t._resolvedData=e,t.data=i({},t.data,Zc(t,r).resolve),null}))}(t.route,0,n,r)}),function(t,e){return arguments.length>=2?function(e){return P(_s(t,void 0),Ju(1),is(void 0))(e)}:function(e){return P(_s(function(e,n,r){return t(e)}),Ju(1))(e)}}(function(t,e){return t}),tt(function(e){return t})):Uu(t)}))}),ts(function(t){var n=new Zl(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}));var n,r}),Zf(function(t){var n=t.extras;return e.hooks.afterPreactivation(t.targetSnapshot,{navigationId:t.id,appliedUrlTree:t.extractedUrl,rawUrlTree:t.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})}),tt(function(t){var n,r,o,a=(o=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){var o,i;try{for(var a=s(r.children),u=a.next();!u.done;u=a.next()){var l=u.value;if(e.shouldReuseRoute(l.value.snapshot,n.value))return t(e,n,l)}}catch(c){o={error:c}}finally{try{u&&!u.done&&(i=a.return)&&i.call(a)}finally{if(o)throw o.error}}return t(e,n)})}(e,n,r);return new Hc(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 qc(new Lu((u=n.value).url),new Lu(u.params),new Lu(u.queryParams),new Lu(u.fragment),new Lu(u.data),u.outlet,u.component,u);return o=n.children.map(function(n){return t(e,n)}),new Hc(l,o)}(e.routeReuseStrategy,(n=t.targetSnapshot)._root,(r=t.currentRouterState)?r._root:void 0),new zc(o,n));return i({},t,{targetRouterState:a})}),ts(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)}),(o=e.rootContexts,a=e.routeReuseStrategy,u=function(t){return e.triggerEvent(t)},tt(function(t){return new cf(a,t.targetRouterState,t.currentRouterState,u).activate(o),t})),ts({next:function(){l=!0},complete:function(){l=!0}}),(r=function(){if(!l&&!c){e.resetUrlToCurrentUrlTree();var r=new Vl(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 Es(r))}),ls(function(r){if(c=!0,(u=r)&&u[rc]){var o=hf(r.url);o||(e.navigated=!0,e.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));var i=new Vl(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 Hl(t.id,e.serializeUrl(t.extractedUrl),r);n.next(a);try{t.resolve(e.errorHandler(r))}catch(s){t.reject(s)}}var u;return Du}))}))},t.prototype.resetRootComponentType=function(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType},t.prototype.getTransition=function(){return this.transitions.value},t.prototype.setTransition=function(t){this.transitions.next(i({},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){uc(t),this.config=t.map(cc),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,a=e.preserveQueryParams,u=e.queryParamsHandling,s=e.preserveFragment;We()&&a&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var l=n||this.routerState.root,f=s?this.currentUrlTree.fragment:o,p=null;if(u)switch(u){case"merge":p=i({},this.currentUrlTree.queryParams,r);break;case"preserve":p=this.currentUrlTree.queryParams;break;default:p=r||null}else p=a?this.currentUrlTree.queryParams:r||null;return null!==p&&(p=this.removeEmptyProps(p)),function(t,e,n,r,o){if(0===n.length)return Xc(e.root,e.root,e,r,o);var i=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new tf(!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 dc(r.outlets,function(t,e){i[e]="string"==typeof t?t.split("/"):t}),c(t,[{outlets:i}])}if(r.segmentPath)return c(t,[r.segmentPath])}return"string"!=typeof r?c(t,[r]):0===o?(r.split("/").forEach(function(r,o){0==o&&"."===r||(0==o&&""===r?n=!0:".."===r?e++:""!=r&&t.push(r))}),t):c(t,[r])},[]);return new tf(n,e,r)}(n);if(i.toRoot())return Xc(e.root,new mc([],{}),e,r,o);var a=function(t,n,r){if(t.isAbsolute)return new ef(e.root,!0,0);if(-1===r.snapshot._lastPathIndex)return new ef(r.snapshot._urlSegment,!0,0);var o=$c(t.commands[0])?0:1;return function(e,n,i){for(var a=r.snapshot._urlSegment,u=r.snapshot._lastPathIndex+o,s=t.numberOfDoubleDots;s>u;){if(s-=u,!(a=a.parent))throw new Error("Invalid number of '../'");u=a.segments.length}return new ef(a,!1,u-s)}()}(i,0,t),u=a.processChildren?of(a.segmentGroup,a.index,i.commands):rf(a.segmentGroup,a.index,i.commands);return Xc(a.segmentGroup,u,e,r,o)}(l,this.currentUrlTree,t,p,f)},t.prototype.navigateByUrl=function(t,e){void 0===e&&(e={skipLocationChange:!1}),We()&&this.isNgZoneEnabled&&!nr.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=hf(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(hf(t))return gc(this.currentUrlTree,t,e);var n=this.parseUrl(t);return gc(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 Ll(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}),s=++this.navigationId;return this.setTransition({id:s,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,"",i({},r,{navigationId:n})):this.location.go(o,"",i({},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}(),np=function(){function t(t,e,n){var r=this;this.router=t,this.route=e,this.locationStrategy=n,this.commands=[],this.subscription=t.events.subscribe(function(t){t instanceof Ll&&r.updateTargetUrlAndHref()})}return Object.defineProperty(t.prototype,"routerLink",{set:function(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"preserveQueryParams",{set:function(t){We()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=t},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){this.updateTargetUrlAndHref()},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},t.prototype.onClick=function(t,e,n,r){if(0!==t||e||n||r)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;var o={skipLocationChange:rp(this.skipLocationChange),replaceUrl:rp(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,o),!1},t.prototype.updateTargetUrlAndHref=function(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))},Object.defineProperty(t.prototype,"urlTree",{get:function(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:rp(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:rp(this.preserveFragment)})},enumerable:!0,configurable:!0}),a([Sn("attr.target"),Cn(),u("design:type",String)],t.prototype,"target",void 0),t}();function rp(t){return""===t||!!t}var op=function(){return function(){this.outlet=null,this.route=null,this.resolver=null,this.children=new ip,this.attachRef=null}}(),ip=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 op,this.contexts.set(t,e)),e},t.prototype.getContext=function(t){return this.contexts.get(t)||null},t}(),ap=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 gn,this.deactivateEvents=new gn,this.name=r||tc,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 up(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}(),up=function(){function t(t,e,n){this.route=t,this.childContexts=e,this.parent=n}return t.prototype.get=function(t,e){return t===qc?this.route:t===ip?this.childContexts:this.parent.get(t,e)},t}(),sp=function(){return function(){}}(),lp=function(){function t(){}return t.prototype.preload=function(t,e){return e().pipe(ls(function(){return Uu(null)}))},t}(),cp=function(){function t(){}return t.prototype.preload=function(t,e){return Uu(null)},t}(),fp=function(){function t(t,e,n,r,o){this.router=t,this.injector=r,this.preloadingStrategy=o,this.loader=new Kf(e,n,function(e){return t.triggerEvent(new Gl(e))},function(e){return t.triggerEvent(new Wl(e))})}return t.prototype.setUpPreloading=function(){var t=this;this.subscription=this.router.events.pipe(Gu(function(t){return t instanceof Ll}),xs(function(){return t.preload()})).subscribe(function(){})},t.prototype.preload=function(){var t=this.injector.get(Oe);return this.processRoutes(t,this.router.config)},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},t.prototype.processRoutes=function(t,e){var n,r,o=[];try{for(var i=s(e),a=i.next();!a.done;a=i.next()){var u=a.value;if(u.loadChildren&&!u.canLoad&&u._loadedConfig){var l=u._loadedConfig;o.push(this.processRoutes(l.module,l.routes))}else u.loadChildren&&!u.canLoad?o.push(this.preloadConfig(t,u)):u.children&&o.push(this.processRoutes(t,u.children))}}catch(c){n={error:c}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return ot(o).pipe(lt(),tt(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(it(function(t){return e._loadedConfig=t,n.processRoutes(t.module,t.routes)}))})},t}(),pp=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 Ul?(t.store[t.lastId]=t.viewportScroller.getScrollPosition(),t.lastSource=e.navigationTrigger,t.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Ll&&(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 $l&&(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 $l(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}(),hp=new St("ROUTER_CONFIGURATION"),dp=new St("ROUTER_FORROOT_GUARD"),vp=[yu,{provide:Cc,useClass:Sc},{provide:ep,useFactory:Cp,deps:[wr,Cc,ip,yu,ce,_n,Kn,Qf,hp,[Yf,new Zt],[Gf,new Zt]]},ip,{provide:qc,useFactory:Sp,deps:[ep]},{provide:_n,useClass:xr},fp,cp,lp,{provide:hp,useValue:{enableTracing:!1}}];function gp(){return new dr("Router",ep)}var yp=function(){function t(t,e){}var e;return e=t,t.forRoot=function(t,n){return{ngModule:e,providers:[vp,_p(t),{provide:dp,useFactory:bp,deps:[[ep,new Zt,new Wt]]},{provide:hp,useValue:n||{}},{provide:vu,useFactory:wp,deps:[hu,[new qt(gu),new Zt],hp]},{provide:pp,useFactory:mp,deps:[ep,Nu,hp]},{provide:sp,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:cp},{provide:dr,multi:!0,useFactory:gp},[xp,{provide:On,multi:!0,useFactory:Ep,deps:[xp]},{provide:kp,useFactory:Tp,deps:[xp]},{provide:Hn,multi:!0,useExisting:kp}]]}},t.forChild=function(t){return{ngModule:e,providers:[_p(t)]}},t}();function mp(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new pp(t,e,n)}function wp(t,e,n){return void 0===n&&(n={}),n.useHash?new wu(t,e):new bu(t,e)}function bp(t){if(t)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function _p(t){return[{provide:It,multi:!0,useValue:t},{provide:Qf,multi:!0,useValue:t}]}function Cp(t,e,n,r,o,i,a,u,s,l,c){void 0===s&&(s={});var f=new ep(null,e,n,r,o,i,a,pc(u));if(l&&(f.urlHandlingStrategy=l),c&&(f.routeReuseStrategy=c),s.errorHandler&&(f.errorHandler=s.errorHandler),s.malformedUriErrorHandler&&(f.malformedUriErrorHandler=s.malformedUriErrorHandler),s.enableTracing){var p=Rs();f.events.subscribe(function(t){p.logGroup("Router Event: "+t.constructor.name),p.log(t.toString()),p.log(t),p.logGroupEnd()})}return s.onSameUrlNavigation&&(f.onSameUrlNavigation=s.onSameUrlNavigation),s.paramsInheritanceStrategy&&(f.paramsInheritanceStrategy=s.paramsInheritanceStrategy),s.urlUpdateStrategy&&(f.urlUpdateStrategy=s.urlUpdateStrategy),s.relativeLinkResolution&&(f.relativeLinkResolution=s.relativeLinkResolution),f}function Sp(t){return t.routerState.root}var xp=function(){function t(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new V}return t.prototype.appInitializer=function(){var t=this;return this.injector.get(du,Promise.resolve(null)).then(function(){var e=null,n=new Promise(function(t){return e=t}),r=t.injector.get(ep),o=t.injector.get(hp);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?Uu(null):(t.initNavigation=!0,e(!0),t.resultOfPreactivationDone)},r.initialNavigation()}return n})},t.prototype.bootstrapListener=function(t){var e=this.injector.get(hp),n=this.injector.get(fp),r=this.injector.get(pp),o=this.injector.get(ep),i=this.injector.get(wr);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 Ep(t){return t.appInitializer.bind(t)}function Tp(t){return t.bootstrapListener.bind(t)}var kp=new St("Router Initializer"),Rp=bo({encapsulation:2,styles:[],data:{}});function Ip(t){return oa(0,[(t()(),Go(0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),Di(1,212992,null,0,ap,[ip,Tr,Ae,[8,null],Rr],null,null)],function(t,e){t(e,1,0)},null)}function Ap(t){return oa(0,[(t()(),Go(0,0,null,null,1,"ng-component",[],null,null,null,Ip,Rp)),Di(1,49152,null,0,Xl,[],null,null)],null,null)}var Pp=ci("ng-component",Xl,Ap,{},{},[]),Np=function(){function t(){}return t.prototype.ngOnInit=function(){},t}(),Op=bo({encapsulation:0,styles:[[""]],data:{}});function Dp(t){return oa(0,[(t()(),Go(0,0,null,null,1,"button",[],null,null,null,null,null)),(t()(),ea(-1,null,["salvar"]))],null,null)}var jp=function(){function t(){}return t.prototype.ngOnInit=function(){},t}(),Mp=bo({encapsulation:0,styles:[[""]],data:{}});function Up(t){return oa(0,[(t()(),Go(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),Go(1,0,null,null,1,"h2",[],null,null,null,null,null)),(t()(),ea(-1,null,["My card"]))],null,null)}var Lp=function(){function t(){this.titulo="Bem vindo ao meu primeiro Component",this.subtitulo="Funcionou Eeeeeee"}return t.prototype.ngOnInit=function(){},t}(),Vp=bo({encapsulation:0,styles:[["div[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;flex-direction:column;background-color:#2d2d2d;height:100vh}"]],data:{}});function Hp(t){return oa(0,[(e=0,n=Ru,r=[],ji(-1,e|=16,null,0,n,n,r)),(t()(),Go(1,0,null,null,9,"div",[],null,null,null,null,null)),(t()(),Go(2,0,null,null,2,"h2",[],null,null,null,null,null)),(t()(),ea(3,null,["",""])),ta(128,4,new Array(2)),(t()(),Go(5,0,null,null,1,"small",[],null,null,null,null,null)),(t()(),ea(6,null,["",""])),(t()(),Go(7,0,null,null,1,"app-button",[],null,null,null,Dp,Op)),Di(8,114688,null,0,Np,[],null,null),(t()(),Go(9,0,null,null,1,"app-card",[],null,null,null,Up,Mp)),Di(10,114688,null,0,jp,[],null,null)],function(t,e){t(e,8,0),t(e,10,0)},function(t,e){var n=e.component,r=function(t,e,n,r){if(ee.isWrapped(r)){r=ee.unwrap(r);var o=t.def.nodes[3].bindingIndex+0,i=ee.unwrap(t.oldValues[o]);t.oldValues[o]=new ee(i)}return r}(e,0,0,t(e,4,0,_i(e,0),n.titulo));t(e,3,0,r),t(e,6,0,n.subtitulo)});var e,n,r}function Fp(t){return oa(0,[(t()(),Go(0,0,null,null,1,"app-home",[],null,null,null,Hp,Vp)),Di(1,114688,null,0,Lp,[],null,null)],function(t,e){t(e,1,0)},null)}var zp=ci("app-home",Lp,Fp,{},{},[]),Bp=function(){function t(){}return t.prototype.ngOnInit=function(){},t}(),qp=bo({encapsulation:0,styles:[[""]],data:{}});function Zp(t){return oa(0,[(t()(),Go(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),ea(-1,null,[" projects works!\n"])),(t()(),Go(2,0,null,null,1,"app-card",[],null,null,null,Up,Mp)),Di(3,114688,null,0,jp,[],null,null)],function(t,e){t(e,3,0)},null)}function Gp(t){return oa(0,[(t()(),Go(0,0,null,null,1,"app-projects",[],null,null,null,Zp,qp)),Di(1,114688,null,0,Bp,[],null,null)],function(t,e){t(e,1,0)},null)}var Wp=ci("app-projects",Bp,Gp,{},{},[]),Qp=function(){function t(){}return t.prototype.ngOnInit=function(){},t}(),Kp=bo({encapsulation:0,styles:[[""]],data:{}});function Yp(t){return oa(0,[(t()(),Go(0,0,null,null,0,"input",[["type","text"]],null,null,null,null,null))],null,null)}var Jp=function(){function t(){}return t.prototype.ngOnInit=function(){},t}(),$p=bo({encapsulation:0,styles:[[""]],data:{}});function Xp(t){return oa(0,[(t()(),Go(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),ea(-1,null,[" contacts works!\n"])),(t()(),Go(2,0,null,null,1,"app-input",[],null,null,null,Yp,Kp)),Di(3,114688,null,0,Qp,[],null,null)],function(t,e){t(e,3,0)},null)}function th(t){return oa(0,[(t()(),Go(0,0,null,null,1,"app-contacts",[],null,null,null,Xp,$p)),Di(1,114688,null,0,Jp,[],null,null)],function(t,e){t(e,1,0)},null)}var eh=ci("app-contacts",Jp,th,{},{},[]),nh=function(){function t(){this.url="http://www.estartandodevs.com.br/img/fonte%20branca-min-min.png"}return t.prototype.ngOnInit=function(){},t}(),rh=bo({encapsulation:0,styles:[["header[_ngcontent-%COMP%]{display:flex;justify-content:space-evenly;align-items:center;background-color:#000;width:100%;height:60px}header[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:flex;color:#bb4ff0;text-decoration:none;justify-content:center;align-items:center}a[_ngcontent-%COMP%]{position:relative;-webkit-animation:2.3s infinite mymove;animation:4s alternate mymove}@-webkit-keyframes mymove{from{left:50%}to{left:0}}@keyframes mymove{from{left:50%}to{left:0}}.circle[_ngcontent-%COMP%]{-webkit-animation:8.1s alternate circle;animation:8.1s alternate circle}@-webkit-keyframes circle{from{-webkit-clip-path:circle(0);clip-path:circle(0)}to{-webkit-clip-path:circle(100%);clip-path:circle(100%)}}@keyframes circle{from{-webkit-clip-path:circle(0);clip-path:circle(0)}to{-webkit-clip-path:circle(100%);clip-path:circle(100%)}}"]],data:{}});function oh(t){return oa(0,[(t()(),Go(0,0,null,null,13,"header",[],null,null,null,null,null)),(t()(),Go(1,0,null,null,0,"img",[["class","circle"],["height","50"]],[[8,"src",4]],null,null,null,null)),(t()(),Go(2,0,null,null,2,"a",[["class","text"],["routerLink",""]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==_i(t,3).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),Di(3,671744,null,0,np,[ep,qc,vu],{routerLink:[0,"routerLink"]},null),(t()(),ea(-1,null,["Home"])),(t()(),Go(5,0,null,null,2,"a",[["class","text"],["routerLink","projects"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==_i(t,6).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),Di(6,671744,null,0,np,[ep,qc,vu],{routerLink:[0,"routerLink"]},null),(t()(),ea(-1,null,["Projects"])),(t()(),Go(8,0,null,null,2,"a",[["class","text"],["routerLink","contacts"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==_i(t,9).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),Di(9,671744,null,0,np,[ep,qc,vu],{routerLink:[0,"routerLink"]},null),(t()(),ea(-1,null,["Contacts"])),(t()(),Go(11,0,null,null,2,"a",[["class","text"],["routerLink","https://github.com/Junior331"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==_i(t,12).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),Di(12,671744,null,0,np,[ep,qc,vu],{routerLink:[0,"routerLink"]},null),(t()(),ea(-1,null,["GitHub"]))],function(t,e){t(e,3,0,""),t(e,6,0,"projects"),t(e,9,0,"contacts"),t(e,12,0,"https://github.com/Junior331")},function(t,e){t(e,1,0,e.component.url),t(e,2,0,_i(e,3).target,_i(e,3).href),t(e,5,0,_i(e,6).target,_i(e,6).href),t(e,8,0,_i(e,9).target,_i(e,9).href),t(e,11,0,_i(e,12).target,_i(e,12).href)})}var ih=function(){function t(){this.url="http://www.estartandodevs.com.br/img/fonte%20branca-min-min.png"}return t.prototype.ngOnInit=function(){},t}(),ah=bo({encapsulation:0,styles:[["div[_ngcontent-%COMP%]{display:flex;justify-content:space-around;align-items:center;background-color:#000;color:wheat}div[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin:0 -210px}"]],data:{}});function uh(t){return oa(0,[(t()(),Go(0,0,null,null,3,"div",[],null,null,null,null,null)),(t()(),Go(1,0,null,null,0,"img",[["height","50"]],[[8,"src",4]],null,null,null,null)),(t()(),Go(2,0,null,null,1,"h2",[],null,null,null,null,null)),(t()(),ea(-1,null,["By: Jarilson"]))],null,function(t,e){t(e,1,0,e.component.url)})}var sh=bo({encapsulation:0,styles:[[""]],data:{}});function lh(t){return oa(0,[(t()(),Go(0,0,null,null,1,"app-header",[],null,null,null,oh,rh)),Di(1,114688,null,0,nh,[],null,null),(t()(),Go(2,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),Di(3,212992,null,0,ap,[ip,Tr,Ae,[8,null],Rr],null,null),(t()(),Go(4,0,null,null,1,"app-footer",[],null,null,null,uh,ah)),Di(5,114688,null,0,ih,[],null,null)],function(t,e){t(e,1,0),t(e,3,0),t(e,5,0)},null)}function ch(t){return oa(0,[(t()(),Go(0,0,null,null,1,"app-root",[],null,null,null,lh,sh)),Di(1,49152,null,0,pu,[],null,null)],null,null)}var fh=ci("app-root",pu,ch,{},{},[]),ph=function(){return function(){}}(),hh=function(){return function(){}}(),dh=function(){return function(){}}(),vh=function(){return function(){}}(),gh=lu(fu,[pu],function(t){return function(t){for(var e={},n=[],r=!1,o=0;o<t.length;o++){var i=t[o];i.token===xe&&!0===i.value&&(r=!0),1073741824&i.flags&&n.push(i.token),i.index=o,e[yo(i.token)]=i}return{factory:null,providersByKey:e,providers:t,modules:n,isRoot:r}}([ei(512,Ae,Pe,[[8,[Pp,zp,Wp,eh,fh]],[3,Ae],Oe]),ei(5120,$r,eo,[[3,$r]]),ei(4608,Tu,ku,[$r,[2,Eu]]),ei(5120,jn,Mn,[]),ei(5120,Gr,Xr,[]),ei(5120,Wr,to,[]),ei(4608,El,Tl,[Au]),ei(6144,Be,null,[El]),ei(4608,ml,bl,[]),ei(5120,Zs,function(t,e,n,r,o,i,a,u){return[new gl(t,e,n),new xl(r),new _l(o,i,a,u)]},[Au,nr,Vn,Au,Au,ml,Fn,[2,wl]]),ei(4608,Gs,Gs,[Zs,nr]),ei(135680,Ks,Ks,[Au]),ei(4608,nl,nl,[Gs,Ks,jn]),ei(6144,Le,null,[nl]),ei(6144,Qs,null,[Ks]),ei(4608,cr,cr,[nr]),ei(5120,qc,Sp,[ep]),ei(4608,cp,cp,[]),ei(6144,sp,null,[cp]),ei(135680,fp,fp,[ep,_n,Kn,ce,sp]),ei(4608,lp,lp,[]),ei(5120,pp,mp,[ep,Nu,hp]),ei(5120,kp,Tp,[xp]),ei(5120,Hn,function(t){return[t]},[kp]),ei(1073742336,Iu,Iu,[]),ei(1024,An,Dl,[]),ei(1024,dr,function(){return[gp()]},[]),ei(512,xp,xp,[ce]),ei(1024,On,function(t,e){return[(n=t,zs("probe",qs),zs("coreTokens",i({},Bs,(n||[]).reduce(function(t,e){return t[e.name]=e.token,t},{}))),function(){return qs}),Ep(e)];var n},[[2,dr],xp]),ei(512,Dn,Dn,[[2,On]]),ei(131584,wr,wr,[nr,Fn,ce,An,Ae,Dn]),ei(1073742336,no,no,[wr]),ei(1073742336,jl,jl,[[3,jl]]),ei(1024,dp,bp,[[3,ep]]),ei(512,Cc,Sc,[]),ei(512,ip,ip,[]),ei(256,hp,{},[]),ei(1024,vu,wp,[hu,[2,gu],hp]),ei(512,yu,yu,[vu]),ei(512,Kn,Kn,[]),ei(512,_n,xr,[Kn,[2,Cr]]),ei(1024,Qf,function(){return[[{path:"",component:Lp},{path:"projects",component:Bp},{path:"contacts",component:Jp}]]},[]),ei(1024,ep,Cp,[wr,Cc,ip,yu,ce,_n,Kn,Qf,hp,[2,Yf],[2,Gf]]),ei(1073742336,yp,yp,[[2,dp],[2,ep]]),ei(1073742336,ph,ph,[]),ei(1073742336,hh,hh,[]),ei(1073742336,dh,dh,[]),ei(1073742336,vh,vh,[]),ei(1073742336,fu,fu,[]),ei(256,xe,!0,[])])});(function(){if(Ge)throw new Error("Cannot enable prod mode after platform setup.");Ze=!1})(),Ol().bootstrapModuleFactory(gh).catch(function(t){return console.error(t)})}},[[0,0]]]);