text: (window.webpackJsonp=window.webpackJsonp||[]).push([[1],{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 u(t,e,n,r){var o,i=arguments.length,u=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(u=(i<3?o(u):i>3?o(e,n,u):o(e,n))||u);return i>3&&u&&Object.defineProperty(e,n,u),u}function a(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),u=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)u.push(r.value)}catch(a){o={error:a}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return u}function c(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(l(arguments[e]));return t}var p=Array.isArray||function(t){return t&&"number"==typeof t.length};function f(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 _=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 u=-1,a=r?r.length:0;n;)n.remove(this),n=++u<a&&r[u]||null;if(h(o)&&y(o).call(this)===v&&(e=!0,t=t||(v.e instanceof _?w(v.e.errors):[v.e])),p(i))for(u=-1,a=i.length;++u<a;){var s=i[u];if(f(s)&&y(s.unsubscribe).call(s)===v){e=!0,t=t||[];var l=v.e;l instanceof _?t=t.concat(w(l.errors)):t.push(l)}}if(e)throw new _(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 w(t){return t.reduce(function(t,e){return t.concat(e instanceof _?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(),O=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 k(i,n));break}default:i.syncErrorThrowable=!0,i.destination=new k(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),k=function(t){function e(e,n,r,o){var i,u=t.call(this)||this;u._parentSubscriber=e;var a=u;return h(n)?i=n:n&&(i=n.next,r=n.error,o=n.complete,n!==E&&(h((a=Object.create(n)).unsubscribe)&&u.add(a.unsubscribe.bind(a)),a.unsubscribe=u.unsubscribe.bind(u))),u._context=a,u._next=i,u._error=r,u._complete=o,u}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}(O),P="function"==typeof Symbol&&Symbol.observable||"@@observable";function A(){}function I(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return R(t)}function R(t){return t?1===t.length?t[0]:function(e){return t.reduce(function(t,e){return e(t)},e)}:A}var N=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 O)return t;if(t[T])return t[T]()}return t||e||n?new O(t,e,n):new O(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 O?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[P]=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:R(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 V(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}V.prototype=Object.create(Error.prototype);var j=V,M=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),U=function(t){function e(e){var n=t.call(this,e)||this;return n.destination=e,n}return o(e,t),e}(O),L=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 U(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 j;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 j;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 j;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 j;return t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){if(this.closed)throw new j;return this.hasError?(t.error(this.thrownError),b.EMPTY):this.isStopped?(t.complete(),b.EMPTY):(this.observers.push(t),new M(this,t))},e.prototype.asObservable=function(){var t=new N;return t.source=this,t},e.create=function(t,e){return new H(t,e)},e}(N),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}(L);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}(O),q=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()}},B=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 G(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}var Q=G(),Z=function(t){return function(e){for(var n=t[Q]();;){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}},W=function(t){return function(e){var n=t[P]();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 $=function(t){if(t instanceof N)return function(e){return t._isScalar?(e.next(t.value),void e.complete()):t.subscribe(e)};if(t&&"function"==typeof t[P])return W(t);if(K(t))return q(t);if(Y(t))return B(t);if(t&&"function"==typeof t[Q])return Z(t);var e=f(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 J(t,e,n,r,o){if(void 0===o&&(o=new z(t,n,r)),!o.closed)return $(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}(O);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}(O);function rt(t,e){return new N(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}:q(t))}function ot(t,e){if(!e)return t instanceof N?t:new N($(t));if(null!=t){if(function(t){return t&&"function"==typeof t[P]}(t))return function(t,e){return new N(e?function(n){var r=new b;return r.add(e.schedule(function(){var o=t[P]();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}:W(t))}(t,e);if(Y(t))return function(t,e){return new N(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}:B(t))}(t,e);if(K(t))return rt(t,e);if(function(t){return t&&"function"==typeof t[Q]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new N(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[Q](),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}:Z(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 ut(t,n))})}var ut=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 at(t,this.project,this.concurrent))},t}(),at=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),J(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 pt(t))}}var pt=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new ft(t,n),o=e.subscribe(r);return r.closed||(r.connection=n.connect()),o},t}(),ft=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}(O),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}(N).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}(U);function gt(){return new L}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 _t=yt({ngComponentDef:yt}),bt=yt({ngInjectableDef:yt}),wt=yt({ngInjectorDef:yt}),Ct=yt({ngModuleDef:yt}),St=yt({ngBaseDef:yt}),xt=yt({__NG_ELEMENT_ID__:yt});function Et(t){return{providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Tt(t){return t.hasOwnProperty(bt)?t[bt]:null}function Ot(t){return t.hasOwnProperty(wt)?t[wt]:null}var kt=function(){function t(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0!==e?Et({providedIn:e.providedIn||"root",factory:e.factory}):void 0}return t.prototype.toString=function(){return"InjectionToken "+this._desc},t}(),Pt="__parameters__",At="__prop__metadata__";function It(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 Rt(t,e,n){var r=It(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 u.annotation=i,u;function u(t,e,n){for(var r=t.hasOwnProperty(Pt)?t[Pt]:Object.defineProperty(t,Pt,{value:[]})[Pt];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 Nt(t,e,n,r){var o=It(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 u=new((t=i).bind.apply(t,c([void 0],e)));return function(t,n){var o=t.constructor,i=o.hasOwnProperty(At)?o[At]:Object.defineProperty(o,At,{value:{}})[At];i[n]=i.hasOwnProperty(n)&&i[n]||[],i[n].unshift(u),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 Dt=new kt("AnalyzeForEntryComponents"),Vt=function(t){return t[t.Emulated=0]="Emulated",t[t.Native=1]="Native",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({}),jt="undefined"!=typeof window&&window,Mt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Ut="undefined"!=typeof global&&global||jt||Mt,Lt=Promise.resolve(0),Ht=null;function Ft(){if(!Ht){var t=Ut.Symbol;if(t&&t.iterator)Ht=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&&(Ht=r)}}return Ht}function zt(t){"undefined"==typeof Zone?Lt.then(function(){t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}function qt(t,e){return t===e||"number"==typeof t&&"number"==typeof e&&isNaN(t)&&isNaN(e)}function Bt(t){if("string"==typeof t)return t;if(t instanceof Array)return"["+t.map(Bt).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 Gt,Qt=Rt("Inject",function(t){return{token:t}}),Zt=Rt("Optional"),Wt=Rt("Self"),Kt=Rt("SkipSelf"),Yt=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}({}),$t=void 0;function Jt(t){var e=$t;return $t=t,e}function Xt(t){var e=Gt;return Gt=t,e}function te(t,e){return void 0===e&&(e=Yt.Default),(Gt||function(t,e){if(void 0===e&&(e=Yt.Default),void 0===$t)throw new Error("inject() must be called from an injection context");return null===$t?ee(t,void 0,e):$t.get(t,e&Yt.Optional?null:void 0,e)})(t,e)}function ee(t,e,n){var r=Tt(t);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&Yt.Optional)return null;if(void 0!==e)return e;throw new Error("Injector: NOT_FOUND ["+Bt(t)+"]")}function ne(t){for(var e=[],n=0;n<t.length;n++){var r=t[n];if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");for(var o=void 0,i=Yt.Default,u=0;u<r.length;u++){var a=r[u];a instanceof Zt||"Optional"===a.ngMetadataName?i|=Yt.Optional:a instanceof Kt||"SkipSelf"===a.ngMetadataName?i|=Yt.SkipSelf:a instanceof Wt||"Self"===a.ngMetadataName?i|=Yt.Self:o=a instanceof Qt?a.token:a}e.push(te(o,i))}else e.push(te(r))}return e}var re=8,oe=8,ie=9,ue=-1,ae=function(){return function(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}(),se=ae.prototype,le=17,ce=0,pe=1,fe=2,he=3,de=4,ve=5,ge=6,ye=7,me=8,_e=9,be=10,we=11,Ce=12,Se=14,xe=16;function Ee(t,e,n){t.afterContentInit&&(e.contentHooks||(e.contentHooks=[])).push(n,t.afterContentInit),t.afterContentChecked&&((e.contentHooks||(e.contentHooks=[])).push(n,t.afterContentChecked),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,t.afterContentChecked))}function Te(t,e,n){t.afterViewInit&&(e.viewHooks||(e.viewHooks=[])).push(n,t.afterViewInit),t.afterViewChecked&&((e.viewHooks||(e.viewHooks=[])).push(n,t.afterViewChecked),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,t.afterViewChecked))}function Oe(t,e,n){null!=t.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(n,t.onDestroy)}function ke(t,e,n,r){var o=r?e:n;o&&Pe(t,o)}function Pe(t,e){for(var n=0;n<e.length;n+=2)e[n+1].call(t[e[n]])}function Ae(t,e){var n=Ne(t),r=Ne(e);return n&&r?function(t,e,n){for(var r=t[Ft()](),o=e[Ft()]();;){var i=r.next(),u=o.next();if(i.done&&u.done)return!0;if(i.done||u.done)return!1;if(!n(i.value,u.value))return!1}}(t,e,Ae):!(n||!t||"object"!=typeof t&&"function"!=typeof t||r||!e||"object"!=typeof e&&"function"!=typeof e)||qt(t,e)}var Ie=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}(),Re=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 Ne(t){return!!De(t)&&(Array.isArray(t)||!(t instanceof Map)&&Ft()in t)}function De(t){return null!==t&&("function"==typeof t||"object"==typeof t)}var Ve=0,je=1,Me=6,Ue="__ngContext__";function Le(t){return"function"==typeof t?t.name||t:"string"==typeof t?t:null==t?"":""+t}function He(t){for(;Array.isArray(t);)t=t[ve];return t}function Fe(t,e){return He(e[t.index])}function ze(t,e){var n=e[t];return n.length>=le?n:n[ve]}function qe(t){return t[Ue]}function Be(t){var e=qe(t);return e?Array.isArray(e)?e:e.lViewData:null}function Ge(t){return 32767&t}function Qe(t,e){for(var n=t>>16,r=e;n>0;)r=r[xe],n--;return r}var Ze,We,Ke,Ye,$e,Je,Xe,tn,en=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Ut);function nn(){return Ze}function rn(){return We}function on(){return Ke}function un(t){Ke=t}function an(t,e){Ke=t,tn=e}function sn(){return Ye}function ln(t){Ye=t}function cn(){return $e}function pn(){return Xe}function fn(){return tn}var hn=!1;function dn(){return hn}function vn(t){hn=t}var gn=!0;function yn(t){gn=t}function mn(t,e){var n=tn;return $e=t&&t[ce],Xe=t&&1==(1&t[pe]),gn=t&&$e.firstTemplatePass,Ze=t&&t[we],Ke=e,Ye=!0,tn=t,n&&(n[de]=Je),Je=t&&t[de],n}function _n(t,e){e||(hn||ke(tn,$e.viewHooks,$e.viewCheckHooks,Xe),tn[pe]&=-6),tn[pe]|=16,tn[ye]=$e.bindingStartIndex,mn(t,null)}var bn=!1;function wn(t){var e=bn;return bn=t,e}var Cn=255,Sn=0;function xn(t,e){var n=Tn(t,e);if(-1!==n)return n;var r=e[ce];r.firstTemplatePass&&(t.injectorIndex=e.length,En(r.data,t),En(e,null),En(r.blueprint,null));var o=On(t,e),i=Ge(o),u=Qe(o,e),a=t.injectorIndex;if(o!==ue)for(var s=u[ce].data,l=0;l<8;l++)e[a+l]=u[i+l]|s[i+l];return e[a+oe]=o,a}function En(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Tn(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null==e[t.injectorIndex+oe]?-1:t.injectorIndex}function On(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;for(var n=e[ge],r=1;n&&-1===n.injectorIndex;)n=(e=e[xe])[ge],r++;return n?n.injectorIndex|r<<16|(n&&3===n.type?32768:0):-1}var kn={};function Pn(t,e,n,r){var o=e[ce],i=o.data[t+re],u=i.flags,a=i.providerIndexes,s=o.data,l=!1;(null==r&&function(t){return 4096==(4096&t.flags)}(i)&&bn||null!=r&&r!=o&&(null==o.node||3===o.node.type))&&(l=!0);for(var c=65535&a,p=u>>16,f=4095&u,h=l?c:c+(a>>16);h<p+f;h++){var d=s[h];if(h<p&&n===d||h>=p&&d.type===n)return An(s,e,h,i)}return kn}function An(t,e,n,r){var o,i=e[n];if(null!=(o=i)&&"object"==typeof o&&Object.getPrototypeOf(o)==se){var u=i;if(u.resolving)throw new Error("Circular dep for "+Le(t[n]));var a=wn(u.canSeeViewProviders);u.resolving=!0;var s=void 0;u.injectImpl&&(s=Xt(u.injectImpl));var l=on(),c=fn();an(r,e);try{i=e[n]=u.factory(null,t,e,r)}finally{u.injectImpl&&Xt(s),wn(a),u.resolving=!1,an(l,c)}}return i}function In(t,e,n){var r=64&t,o=32&t;return!!((128&t?r?o?n[e+7]:n[e+6]:o?n[e+5]:n[e+4]:r?o?n[e+3]:n[e+2]:o?n[e+1]:n[e])&1<<t)}function Rn(t,e){return!(t&Yt.Self||t&Yt.Host&&32768&e)}var Nn=function(){function t(t,e){this._tNode=t,this._hostView=e,this._injectorIndex=xn(t,e)}return t.prototype.get=function(t){return an(this._tNode,this._hostView),function(t,e,n,r,o){void 0===r&&(r=Yt.Default);var i=function(t){var e=t[xt];return"number"==typeof e?e&Cn:e}(n);if("function"==typeof i){var u=on(),a=fn();an(t,e);try{var s=i();if(null!=s||r&Yt.Optional)return s;throw new Error("No provider for "+Le(n))}finally{an(u,a)}}else if("number"==typeof i){var l=null,c=Tn(t,e),p=ue;for((-1===c||r&Yt.SkipSelf)&&(Rn(r,p=-1===c?On(t,e):e[c+oe])?(l=e[ce],c=Ge(p),e=Qe(p,e)):c=-1);-1!==c;){p=e[c+oe];var f=e[ce];if(In(i,c,f.data)){var h=Pn(c,e,n,l);if(h!==kn)return h}Rn(r,p)&&In(i,c,e)?(l=f,c=Ge(p),e=Qe(p,e)):c=-1}}if(r&Yt.Optional&&void 0===o&&(o=null),0==(r&(Yt.Self|Yt.Host))){var d=e[be];return d?d.get(n,o,r&Yt.Optional):ee(n,o,r&Yt.Optional)}if(r&Yt.Optional)return o;throw new Error("NodeInjector: NOT_FOUND ["+Le(n)+"]")}(this._tNode,this._hostView,t)},t}();function Dn(t,e){t[Ue]=e}function Vn(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]}var jn=yt({__forward_ref__:yt});function Mn(t){return t.__forward_ref__=Mn,t.toString=function(){return Bt(this())},t}function Un(t){var e=t;return"function"==typeof e&&e.hasOwnProperty(jn)&&e.__forward_ref__===Mn?e():t}var Ln="__source",Hn=new Object,Fn=Hn,zn=new kt("INJECTOR"),qn=function(){function t(){}return t.prototype.get=function(t,e){if(void 0===e&&(e=Hn),e===Hn)throw new Error("NullInjectorError: No provider for "+Bt(t)+"!");return e},t}(),Bn=function(){function t(){}return t.create=function(t,e){return Array.isArray(t)?new tr(t,e):new tr(t.providers,t.parent,t.name||null)},t.THROW_IF_NOT_FOUND=Hn,t.NULL=new qn,t.ngInjectableDef=Et({providedIn:"any",factory:function(){return te(zn)}}),t.__NG_ELEMENT_ID__=function(){return Gn()},t}(),Gn=Vn,Qn=function(t){return t},Zn=[],Wn=Qn,Kn=function(){return Array.prototype.slice.call(arguments)},Yn=yt({provide:String,useValue:yt}),$n=Bn.NULL,Jn=/\n/gm,Xn="\u0275",tr=function(){function t(t,e,n){void 0===e&&(e=$n),void 0===n&&(n=null),this.parent=e,this.source=n;var r=this._records=new Map;r.set(Bn,{token:Bn,fn:Qn,deps:Zn,value:this,useNew:!1}),r.set(zn,{token:zn,fn:Qn,deps:Zn,value:this,useNew:!1}),function t(e,n){if(n)if((n=Un(n))instanceof Array)for(var r=0;r<n.length;r++)t(e,n[r]);else{if("function"==typeof n)throw rr("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw rr("Unexpected provider",n);var o=Un(n.provide),i=function(t){var e=function(t){var e=Zn,n=t.deps;if(n&&n.length){e=[];for(var r=0;r<n.length;r++){var o=6;if((s=Un(n[r]))instanceof Array)for(var i=0,u=s;i<u.length;i++){var a=u[i];a instanceof Zt||a==Zt?o|=1:a instanceof Kt||a==Kt?o&=-3:a instanceof Wt||a==Wt?o&=-5:s=a instanceof Qt?a.token:Un(a)}e.push({token:s,options:o})}}else if(t.useExisting){var s;e=[{token:s=Un(t.useExisting),options:6}]}else if(!(n||Yn in t))throw rr("'deps' required",t);return e}(t),n=Qn,r=Zn,o=!1,i=Un(t.provide);if(Yn in t)r=t.useValue;else if(t.useFactory)n=t.useFactory;else if(t.useExisting);else if(t.useClass)o=!0,n=Un(t.useClass);else{if("function"!=typeof i)throw rr("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 u=e.get(o);if(u){if(u.fn!==Kn)throw er(o)}else e.set(o,u={token:n.provide,deps:[],useNew:!1,fn:Kn,value:Zn});u.deps.push({token:o=n,options:6})}var a=e.get(o);if(a&&a.fn==Kn)throw er(o);e.set(o,i)}}(r,t)}return t.prototype.get=function(t,e,n){void 0===n&&(n=Yt.Default);var r=this._records.get(t);try{return function t(e,n,r,o,i,u){try{return function(e,n,r,o,i,u){var a,s;if(!n||u&Yt.SkipSelf)u&Yt.Self||(s=o.get(e,i,Yt.Default));else{if((s=n.value)==Wn)throw Error(Xn+"Circular dependency");if(s===Zn){n.value=Wn;var l=n.useNew,p=n.fn,f=n.deps,h=Zn;if(f.length){h=[];for(var d=0;d<f.length;d++){var v=f[d],g=v.options,y=2&g?r.get(v.token):void 0;h.push(t(v.token,y,r,y||4&g?o:$n,1&g?null:Bn.THROW_IF_NOT_FOUND,Yt.Default))}}n.value=s=l?new((a=p).bind.apply(a,c([void 0],h))):p.apply(void 0,h)}}return s}(e,n,r,o,i,u)}catch(a){throw a instanceof Error||(a=new Error(a)),(a.ngTempTokenPath=a.ngTempTokenPath||[]).unshift(e),n&&n.value==Wn&&(n.value=Zn),a}}(t,r,this._records,this.parent,e,n)}catch(i){var o=i.ngTempTokenPath;throw t[Ln]&&o.unshift(t[Ln]),i.message=nr("\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(Bt(n))}),"StaticInjector["+t.join(", ")+"]"},t}();function er(t){return rr("Cannot mix multi providers and regular providers",t)}function nr(t,e,n){void 0===n&&(n=null),t=t&&"\n"===t.charAt(0)&&t.charAt(1)==Xn?t.substr(2):t;var r=Bt(e);if(e instanceof Array)r=e.map(Bt).join(" -> ");else if("object"==typeof e){var o=[];for(var i in e)if(e.hasOwnProperty(i)){var u=e[i];o.push(i+":"+("string"==typeof u?JSON.stringify(u):Bt(u)))}r="{"+o.join(", ")+"}"}return"StaticInjectorError"+(n?"("+n+")":"")+"["+r+"]: "+t.replace(Jn,"\n  ")}function rr(t,e){return new Error(nr(t,e))}var or=function(){return function(){}}(),ir=function(){return function(){}}(),ur="ngProjectAs";function ar(t){return!!t.listen}var sr={createRenderer:function(t,e){return document}},lr=[];function cr(t){for(var e=t[ge];e&&2===e.type;)e=(t=t[fe])[ge];return t}function pr(t,e,n,r,o){0===t?ar(e)?e.insertBefore(n,r,o):n.insertBefore(r,o,!0):1===t?ar(e)?e.removeChild(n,r):n.removeChild(r):2===t&&e.destroyNode(r)}function fr(t){var e=t[ce].childIndex;return-1===e?null:t[e]}function hr(t,e){var n;return t.length>=le&&(n=t[ge])&&2===n.type?function(e,n){if(-1===e.index){var r=t[Se];return r>-1?t[fe][r]:null}return t[fe][e.parent.index]}(n):t[fe]===e?null:t[fe]}function dr(t){if(t.length>=le){var e=t;!function(t){var e=t[ce].cleanup;if(null!=e){for(var n=0;n<e.length-1;n+=2)"string"==typeof e[n]?(He(t[e[n+1]]).removeEventListener(e[n],t[me][e[n+2]],e[n+3]),n+=2):"number"==typeof e[n]?(0,t[me][e[n]])():e[n].call(t[me][e[n+1]]);t[me]=null}}(e),function(t){var e,n=t[ce];null!=n&&null!=(e=n.destroyHooks)&&Pe(t,e)}(e),(r=(n=e)[ce]&&n[ce].pipeDestroyHooks)&&Pe(n,r),-1===e[ce].id&&ar(e[we])&&e[we].destroy()}var n,r}var vr={},gr=Promise.resolve(null);function yr(t,e){var n=cn(),r=gn;if(n.firstTemplatePass=!1,yn(!1),1!==e){var o=pn(),i=dn();i||function(t,e,n){16&t[pe]&&(ke(t,e.initHooks,e.checkHooks,n),t[pe]&=-17)}(t,n,o),function(e){for(var n=fr(t);null!==n;n=n[he])if(n.length<le&&-1===n[Ve])for(var r=n,o=0;o<r[je].length;o++){var i=r[je][o];br(i,i[ce],i[_e],2)}}(),function(t){if(null!=t.contentQueries)for(var e=0;e<t.contentQueries.length;e+=2){var n=t.contentQueries[e];t.data[n].contentQueriesRefresh(n-le,t.contentQueries[e+1])}}(n),i||ke(t,n.contentHooks,n.contentCheckHooks,o),function(t,e){if(t.expandoInstructions)for(var n=e[ye]=t.expandoStartIndex,r=-1,o=-1,i=0;i<t.expandoInstructions.length;i++){var u=t.expandoInstructions[i];if("number"==typeof u)if(u<=0){o=-u;var a=t.expandoInstructions[++i];r=n+=ie+a}else n+=u;else e[ye]=n,un(cn().data[o+le]),u(r-le,o),r++}}(n,t)}!function(t,e,n){if(null!=t)for(var r=0;r<t.length;r++)kr(t[r],e,n)}(n.components,r,e)}function mr(t,e,n,r,o,i,u){var a=n.blueprint.slice();return a[pe]=25|o,a[fe]=a[xe]=t,a[_e]=r,a[be]=void 0===u?t?t[be]:null:u,a[we]=e,a[Ce]=i||null,a}function _r(t,e,n,r,o){var i=fn(),u=cn(),a=t+le;i[a]=n;var s=u.data[a];if(null==s){var l=on(),c=sn();s=u.data[a]=Or(i,e,a,r,o,null),l&&(!c||null!=l.child||null===s.parent&&2!==l.type?c||(l.next=s):l.child=s)}return null==u.firstChild&&3===e&&(u.firstChild=s),un(s),ln(!0),s}function br(t,e,n,r){var o,i=sn(),u=on();if(ln(!0),un(null),64&t[pe])Ar(function(t){for(var e=Array.isArray(t)?t:Be(t);e&&!(64&e[pe]);)e=e[fe];return e}(t)[_e]);else try{ln(!0),un(null),o=mn(t,t[ge]),xr(),e.template(r,n),2&r?yr(t,null):(t[ce].firstTemplatePass=!1,yn(!1))}finally{_n(o,1==(1&r)),ln(i),un(u)}}function wr(t,e,n,r){var o=rn(),i=mn(t,t[ge]);try{o.begin&&o.begin(),r&&(xr(),r(n||Cr(t),e)),yr(t,n)}finally{o.end&&o.end(),_n(i)}}function Cr(t){return 1&t[pe]?3:2}var Sr=null;function xr(){Sr=null}function Er(t,e,n,r,o,i,u){var a=le+n,s=a+r,l=function(t,e){var n=new Array(e).fill(null,0,t).fill(vr,t);return n[Se]=-1,n[ye]=t,n}(a,s);return l[ce]={id:t,blueprint:l,template:e,viewQuery:u,node:null,data:l.slice(),childIndex:-1,bindingStartIndex:a,expandoStartIndex:s,expandoInstructions:null,firstTemplatePass:!0,initHooks:null,checkHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,pipeDestroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof i?i():i,firstChild:null}}function Tr(t,e){!function(t){We=t}(t);var n=t.createRenderer(null,null);return"string"==typeof e?ar(n)?n.selectRootElement(e):n.querySelector(e):e}function Or(t,e,n,r,o,i){var u=on(),a=sn()?u:u&&u.parent,s=a&&t&&a!==t[ge]?a:null;return{type:e,index:n,injectorIndex:s?s.injectorIndex:-1,flags:0,providerIndexes:0,tagName:r,attrs:o,localNames:null,initialInputs:void 0,inputs:void 0,outputs:void 0,tViews:i,next:null,child:null,parent:s,detached:null,stylingTemplate:null,projection:null}}function kr(t,e,n){var r=ze(t,fn());Pr(r)&&6&r[pe]&&(e&&function(t){for(var e=t[ce],n=t.length;n<e.blueprint.length;n++)t[n]=e.blueprint[n]}(r),Nr(r,r[_e],n))}function Pr(t){return 8==(8&t[pe])}function Ar(t){for(var e=0;e<t.components.length;e++){var n=t.components[e];wr(Be(n),n,2)}}function Ir(t){Nr(function(t){var e,n=qe(t);if(Array.isArray(n)){var r=function(t,e){var n=t[ce].components;if(n)for(var r=0;r<n.length;r++){var o=n[r];if(ze(o,t)[_e]===e)return o}else if(ze(le,t)[_e]===e)return le;return-1}(n,t);(o=function(t,e,n){return{lViewData:t,nodeIndex:e,native:n,component:void 0,directives:void 0,localRefs:void 0}}(n,r,(e=ze(r,n))[ve])).component=t,Dn(t,o),Dn(o.native,o)}else{var o;e=ze((o=n).nodeIndex,o.lViewData)}return e}(t),t,null)}function Rr(t){Ar(t[_e])}function Nr(t,e,n){var r=t[ce],o=mn(t,t[ge]),i=r.template,u=r.viewQuery;try{xr(),function(e,r,o,i){e&&(1===n||null===n&&1&t[pe])&&e(1,i)}(u,0,0,e),i(n||Cr(t),e),yr(t,n),function(e,n,r){e&&2&t[pe]&&e(2,r)}(u,0,e)}finally{_n(o,1===n)}}var Dr,Vr=gr,jr=function(t){function e(e){var n=t.call(this,e,null,-1)||this;return n._view=e,n}return o(e,t),e.prototype.detectChanges=function(){Rr(this._view)},e.prototype.checkNoChanges=function(){!function(t){vn(!0);try{Rr(t)}finally{vn(!1)}}(this._view)},Object.defineProperty(e.prototype,"context",{get:function(){return null},enumerable:!0,configurable:!0}),e}(function(){function t(t,e,n){this._context=e,this._componentIndex=n,this._appRef=null,this._viewContainerRef=null,this._tViewNode=null,this._view=t}return Object.defineProperty(t.prototype,"rootNodes",{get:function(){return null==this._view[ve]?function t(e,n,r){for(var o=n.child;o;)r.push(Fe(o,e)),4===o.type&&t(e,o,r),o=o.next;return r}(this._view,this._view[ge],[]):[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._context?this._context:this._lookUpContext()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){return 32==(32&this._view[pe])},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){var t,e;this._viewContainerRef&&Pr(this._view)&&(this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),this._viewContainerRef=null),ar(e=(t=this._view)[we])&&e.destroyNode&&function(e,n,r,o,i){for(var u=t[ce].node,a=-1,s=t,l=u.child;l;){var c=null;if(3===l.type){pr(2,r,null,Fe(l,s),i);var p=s[l.index];v=p,Array.isArray(v)&&"number"==typeof v[Ve]&&pr(2,r,null,p[Me],i)}else if(0===l.type){var f=s[l.index];pr(2,r,null,f[Me],i),f[je].length&&(c=(s=f[je][0])[ce].node,i=f[Me])}else if(1===l.type){var h=cr(s),d=h[ge].projection[l.projection];lr[++a]=l,lr[++a]=s,d&&(c=(s=h[fe])[ce].data[d.index])}else c=l.child;if(null===c)for(null===l.next&&8192&l.flags&&(s=lr[a--],l=lr[a--]),c=l.next;!c;){if(null===(l=l.parent||s[ce].node)||l===u)return null;0===l.type&&(i=(s=s[fe])[l.index][Me]),c=2===l.type&&s[he]?(s=s[he])[ce].node:l.next}l=c}var v}(0,0,e),function(t){if(-1===t[ce].childIndex)return dr(t);for(var e=fr(t);e;){var n=null;if(e.length>=le?e[ce].childIndex>-1&&(n=fr(e)):e[je].length&&(n=e[je][0]),null==n){for(;e&&!e[he]&&e!==t;)dr(e),e=hr(e,t);dr(e||t),n=e&&e[he]}e=n}}(t),t[pe]|=32},t.prototype.onDestroy=function(t){var e,n;n=t,function(t){return t[me]||(t[me]=[])}(e=this._view).push(n),e[ce].firstTemplatePass&&function(t){return t[ce].cleanup||(t[ce].cleanup=[])}(e).push(e[me].length-1,null)},t.prototype.markForCheck=function(){!function(t){for(var e=t;e&&!(64&e[pe]);)e[pe]|=4,e=e[fe];var n,r,o;e[pe]|=4,o=0===(n=e[_e]).flags,n.flags|=1,o&&n.clean==gr&&(n.clean=new Promise(function(t){return r=t}),n.scheduler(function(){if(1&n.flags&&(n.flags&=-2,Ar(n)),2&n.flags){n.flags&=-3;var t=n.playerHandler;t&&t.flushPlayers()}n.clean=gr,r(null)}))}(this._view)},t.prototype.detach=function(){this._view[pe]&=-9},t.prototype.reattach=function(){this._view[pe]|=8},t.prototype.detectChanges=function(){var t=rn();t.begin&&t.begin(),Ir(this.context),t.end&&t.end()},t.prototype.checkNoChanges=function(){!function(t){vn(!0);try{Ir(t)}finally{vn(!1)}}(this.context)},t.prototype.attachToViewContainerRef=function(t){this._viewContainerRef=t},t.prototype.detachFromAppRef=function(){this._appRef=null},t.prototype.attachToAppRef=function(t){this._appRef=t},t.prototype._lookUpContext=function(){return this._context=this._view[fe][this._componentIndex]},t}());function Mr(t,e,n,r,o){var i=n[ce],u=function(t,e,n){var r=on();t.firstTemplatePass&&(n.providersResolver&&n.providersResolver(n),function(t,e,n){var o=-(r.index-le),i=t.data.length-(65535&r.providerIndexes);(t.expandoInstructions||(t.expandoInstructions=[])).push(o,i,1)}(t),function(t,e,n,r){t.data.push(n);var o=new ae(r,function(t){return null!==t.template}(n),null);t.blueprint.push(o),e.push(o),function(t,e){t.expandoInstructions.push(e.hostBindings||Vn),e.hostVars&&t.expandoInstructions.push(e.hostVars)}(t,n)}(t,e,n,n.factory));var o=An(t.data,e,e.length-1,r);return function(t,e,n,r){var o=Fe(e,t);Dn(n,t),o&&Dn(o,t),null!=r.attributes&&3==e.type&&function(t,e){for(var n=nn(),r=ar(n),o=0;o<e.length;){var i=e[o];if(1===i)break;if(i===ur)o+=2;else if(0===i){var u=e[o+1],a=e[o+2],s=e[o+3];r?n.setAttribute(t,a,s,u):t.setAttributeNS(u,a,s),o+=4}else s=e[o+1],r?n.setAttribute(t,i,s):t.setAttribute(i,s),o+=2}}(o,r.attributes)}(e,r,o,n),o}(i,n,e);return r.components.push(u),t[_e]=u,o&&o.forEach(function(t){return t(u,e)}),i.firstTemplatePass&&function(t,e,n){for(var r=0;r<n;r++)e.push(vr),t.blueprint.push(vr),t.data.push(null)}(i,n,e.hostVars),u}function Ur(t,e){return{components:[],scheduler:t||en,clean:Vr,playerHandler:e||null,flags:0}}function Lr(t,e){var n,r,o,i,u=Be(t)[ce],a=u.data.length-1;n=a,o=e.doCheck,i=u,(r=e.onInit)&&(i.initHooks||(i.initHooks=[])).push(n,r),o&&((i.initHooks||(i.initHooks=[])).push(n,o),(i.checkHooks||(i.checkHooks=[])).push(n,o)),function(t,e){if(e.firstTemplatePass)for(var n=t>>16,r=n+(4095&t),o=n;o<r;o++){var i=e.data[o];Ee(i,e,o),Te(i,e,o),Oe(i,e,o)}}(a<<16|1,u)}var Hr=new kt("The presence of this token marks an injector as being the root injector."),Fr={},zr={},qr=[],Br=void 0;function Gr(){return void 0===Br&&(Br=new qn),Br}var Qr=function(){function t(t,e,n){var r=this;this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this.destroyed=!1;var o=[];Kr([t],function(t){return r.processInjectorType(t,[],o)}),e&&Kr(e,function(t){return r.processProvider(t)}),this.records.set(zn,Wr(void 0,this)),this.isRootInjector=this.records.has(Hr),this.injectorDefTypes.forEach(function(t){return r.get(t)})}return t.prototype.destroy=function(){this.assertNotDestroyed(),this.destroyed=!0;try{this.onDestroy.forEach(function(t){return t.ngOnDestroy()})}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}},t.prototype.get=function(t,e,n){void 0===e&&(e=Fn),void 0===n&&(n=Yt.Default),this.assertNotDestroyed();var r,o=Jt(this);try{if(!(n&Yt.SkipSelf)){var i=this.records.get(t);if(void 0===i){var u=("function"==typeof(r=t)||"object"==typeof r&&r instanceof kt)&&Tt(t);u&&this.injectableDefInScope(u)&&(i=Wr(Zr(t),Fr),this.records.set(t,i))}if(void 0!==i)return this.hydrate(t,i)}return(n&Yt.Self?Gr():this.parent).get(t,e)}finally{Jt(o)}},t.prototype.assertNotDestroyed=function(){if(this.destroyed)throw new Error("Injector has already been destroyed.")},t.prototype.processInjectorType=function(t,e,n){var r=this;if(t=Un(t)){var o=Ot(t),i=null==o&&t.ngModule||void 0,u=void 0===i?t:i;if(-1===n.indexOf(u)){var a=void 0!==i&&t.providers||qr;if(void 0!==i&&(o=Ot(i)),null!=o){if(this.injectorDefTypes.add(u),this.records.set(u,Wr(o.factory)),null!=o.imports){n.push(u);try{Kr(o.imports,function(t){return r.processInjectorType(t,e,n)})}finally{}}null!=o.providers&&Kr(o.providers,function(t){return r.processProvider(t)}),Kr(a,function(t){return r.processProvider(t)})}}}},t.prototype.processProvider=function(t){var e=$r(t=Un(t))?t:Un(t.provide),n=function(t){var e=function(t){var e=void 0;if($r(t))return Zr(Un(t));if(Yr(t))e=function(){return Un(t.useValue)};else if(t.useExisting)e=function(){return te(Un(t.useExisting))};else if(t.useFactory)e=function(){return t.useFactory.apply(t,c(ne(t.deps||[])))};else{var n=Un(t.useClass||t.provide);if(!t.deps)return Zr(n);e=function(){return new(n.bind.apply(n,c([void 0],ne(t.deps))))}}return e}(t);return Yr(t)?Wr(void 0,t.useValue):Wr(e,Fr)}(t);if($r(t)||!0!==t.multi){var r=this.records.get(e);if(r&&void 0!==r.multi)throw new Error("Mixed multi-provider for "+Bt(e))}else{var o=this.records.get(e);if(o){if(void 0===o.multi)throw new Error("Mixed multi-provider for "+e+".")}else(o=Wr(void 0,Fr,!0)).factory=function(){return ne(o.multi)},this.records.set(e,o);e=t,o.multi.push(t)}this.records.set(e,n)},t.prototype.hydrate=function(t,e){if(e.value===zr)throw new Error("Circular dep for "+Bt(t));var n;return e.value===Fr&&(e.value=zr,e.value=e.factory()),"object"==typeof e.value&&e.value&&"object"==typeof(n=e.value)&&null!=n&&n.ngOnDestroy&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value},t.prototype.injectableDefInScope=function(t){return!!t.providedIn&&("string"==typeof t.providedIn?"any"===t.providedIn||"root"===t.providedIn&&this.isRootInjector:this.injectorDefTypes.has(t.providedIn))},t}();function Zr(t){var e=Tt(t);if(null===e){if(t instanceof kt)throw new Error("Token "+Bt(t)+" is missing an ngInjectableDef definition.");return function(){return new t}}return e.factory}function Wr(t,e,n){return void 0===e&&(e=Fr),void 0===n&&(n=!1),{factory:t,value:e,multi:n?[]:void 0}}function Kr(t,e){t.forEach(function(t){return Array.isArray(t)?Kr(t,e):e(t)})}function Yr(t){return Yn in t}function $r(t){return"function"==typeof t}var Jr=function(){return function(){}}(),Xr=function(){return function(){}}();function to(t){var e=Error("No component factory found for "+Bt(t)+". Did you add it to @NgModule.entryComponents?");return e[eo]=t,e}var eo="ngComponent",no=function(){function t(){}return t.prototype.resolveComponentFactory=function(t){throw to(t)},t}(),ro=function(){function t(){}return t.NULL=new no,t}(),oo=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 to(t);return new io(e,this._ngModule)},t}(),io=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}(Xr),uo=function(){function t(t){this.nativeElement=t}return t.__NG_ELEMENT_ID__=function(){return ao(t)},t}(),ao=Vn,so=function(){return function(){}}(),lo=function(){return function(){}}(),co=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({}),po=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return fo()},t}(),fo=Vn,ho=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.1.4"),vo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.resolveComponentFactory=function(t){return new wo(t[_t]||null)},e}(ro);function go(t){var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}var yo=new kt("ROOT_CONTEXT_TOKEN",{providedIn:"root",factory:function(){return Ur(te(mo))}}),mo=new kt("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return en}}),_o=new kt("WRAP_RENDERER_FACTORY2"),bo={},wo=function(t){function e(e){var n=t.call(this)||this;return n.componentDef=e,n.componentType=e.type,n.selector=e.selectors[0][0],n.ngContentSelectors=[],n}return o(e,t),Object.defineProperty(e.prototype,"inputs",{get:function(){return go(this.componentDef.inputs)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputs",{get:function(){return go(this.componentDef.outputs)},enumerable:!0,configurable:!0}),e.prototype.create=function(t,e,n,r){var i,u=void 0===n;i=r?r.injector.get(_o,function(t){return t})(r.injector.get(lo)):sr;var a,s,l=u?(a=this.selector,ar(s=i.createRenderer(null,this.componentDef)||nn())?s.createElement(a,Sr):null===Sr?s.createElement(a):s.createElementNS(Sr,a)):Tr(i,n),c=this.componentDef.onPush?68:66,p=r&&!u?r.injector.get(yo):Ur(),f=i.createRenderer(l,this.componentDef),h=r?function(t,e){return{get:function(n,r){var o=t.get(n,bo);return o!==bo?o:e.get(n,r)}}}(t,r.injector):t;n&&l&&(ar(f)?f.setAttribute(l,"ng-version",ho.full):l.setAttribute("ng-version",ho.full));var d,v,g=mr(null,f,Er(-1,null,1,0,null,null,null),p,c,void 0,h),y=mn(g,null);try{i.begin&&i.begin();var m=function(t,e,n,r,o){Ye=!1,Ke=null;var i,u,a,s=n[ce],l=mr(n,r,(i=e.template).ngPrivateData||(i.ngPrivateData=Er(-1,i,e.consts,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery)),null,e.onPush?4:2,o),c=_r(0,3,t,null,null);return s.firstTemplatePass&&(u=xn(c,n),a=e.type,function(t,e,n){var r=a[xt];null==r&&(r=a[xt]=Sn++);var o=r&Cn,i=1<<o,u=64&o,s=32&o,l=e.data;128&o?u?s?l[t+7]|=i:l[t+6]|=i:s?l[t+5]|=i:l[t+4]|=i:u?s?l[t+3]|=i:l[t+2]|=i:s?l[t+1]|=i:l[t]|=i}(u,n[ce]),c.flags=4096,function(t,e,n){t.flags=e<<16|4096&t.flags|1,t.providerIndexes=e}(c,n.length),function(t){var e=cn();(e.components||(e.components=[])).push(t.index)}(c)),l[ve]=n[le],l[ge]=c,n[le]=l}(l,this.componentDef,g,f);if(v=g[ce].data[0+le],e)for(var _=0,b=g[ce],w=v.projection=[],C=0;C<e.length;C++){for(var S=e[C],x=null,E=null,T=0;T<S.length;T++){b.firstTemplatePass&&(b.expandoStartIndex++,b.blueprint.splice(++_+le,0,null),b.data.splice(_+le,0,null),g.splice(_+le,0,null));var O=_r(_,3,S[T],null,null);E?E.next=O:x=O,E=O}w.push(x)}d=Mr(m,this.componentDef,g,p,[Lr]),yr(g,1)}finally{_n(y,!0),i.end&&i.end()}var k=new Co(this.componentType,d,function(t,e,n){return Dr||(Dr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(uo)),new Dr(Fe(e,n))}(0,v,g),g,v);return u&&(k.hostView._tViewNode.child=v),k},e}(Xr),Co=function(t){function e(e,n,r,o,i){var u=t.call(this)||this;return u.location=r,u._rootView=o,u._tNode=i,u.destroyCbs=[],u.instance=n,u.hostView=u.changeDetectorRef=new jr(o),u.hostView._tViewNode=function(t,e){null==e[ce].node&&(e[ce].node=Or(e,2,-1,null,null,null)),ln(!0);var n=e[ce].node;return un(n),e[ge]=n}(0,o),u.componentType=e,u}return o(e,t),Object.defineProperty(e.prototype,"injector",{get:function(){return new Nn(this._tNode,this._rootView)},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this.destroyCbs.forEach(function(t){return t()}),this.destroyCbs=null},e.prototype.onDestroy=function(t){this.destroyCbs.push(t)},e}(Jr),So=!0,xo=!1;function Eo(){return xo=!0,So}var To=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}(),Oo=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:\/?#]*(?:[\/?#]|$))/gi,ko=/^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 Po(t){return(t=String(t)).match(Oo)||t.match(ko)?t:(Eo()&&console.warn("WARNING: sanitizing unsafe URL value "+t+" (see http://g.co/ng/security#xss)"),"unsafe:"+t)}function Ao(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(u){e={error:u}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return r}function Io(){for(var t,e,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o={};try{for(var i=s(n),u=i.next();!u.done;u=i.next()){var a=u.value;for(var l in a)a.hasOwnProperty(l)&&(o[l]=!0)}}catch(c){t={error:c}}finally{try{u&&!u.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}return o}var Ro,No=Ao("area,br,col,hr,img,wbr"),Do=Ao("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Vo=Ao("rp,rt"),jo=Io(Vo,Do),Mo=Io(No,Io(Do,Ao("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")),Io(Vo,Ao("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")),jo),Uo=Ao("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Lo=Ao("srcset"),Ho=Io(Uo,Lo,Ao("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")),Fo=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(!Mo.hasOwnProperty(n))return this.sanitizedSomething=!0,!1;this.buf.push("<"),this.buf.push(n);for(var r=t.attributes,o=0;o<r.length;o++){var i=r.item(o),u=i.name,a=u.toLowerCase();if(Ho.hasOwnProperty(a)){var s=i.value;Uo[a]&&(s=Po(s)),Lo[a]&&(e=s,s=(e=String(e)).split(",").map(function(t){return Po(t.trim())}).join(", ")),this.buf.push(" ",u,'="',Bo(s),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0},t.prototype.endElement=function(t){var e=t.nodeName.toLowerCase();Mo.hasOwnProperty(e)&&!No.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))},t.prototype.chars=function(t){this.buf.push(Bo(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}(),zo=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,qo=/([^\#-~ |!])/g;function Bo(t){return t.replace(/&/g,"&amp;").replace(zo,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(qo,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Go(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var Qo={provide:ro,useFactory:function(){return new vo},deps:[]},Zo=function(t){function e(e,n){var r=t.call(this)||this;return r._bootstrapComponents=[],r.destroyCbs=[],r._bootstrapComponents=(e[Ct]||null).bootstrap,r.injector=function(t,e,n){return void 0===e&&(e=null),void 0===n&&(n=null),e=e||Gr(),new Qr(t,n,e)}(e,n,[Qo,{provide:or,useValue:r}]),r.instance=r.injector.get(e),r.componentFactoryResolver=new vo,r}return o(e,t),e.prototype.destroy=function(){this.destroyCbs.forEach(function(t){return t()}),this.destroyCbs=null},e.prototype.onDestroy=function(t){this.destroyCbs.push(t)},e}(or);!function(t){function e(e){var n=t.call(this)||this;return n.moduleType=e,n}o(e,t),e.prototype.create=function(t){return new Zo(this.moduleType,t)}}(ir);var Wo=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},u=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&&(u=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&&(u=this.__isAsync?function(){setTimeout(function(){return r()})}:function(){r()}));var a=t.prototype.subscribe.call(this,o,i,u);return e instanceof b&&e.add(a),a},e}(L),Ko=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return Yo(t,uo)},t}(),Yo=Vn,$o=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}({}),Jo=function(){return function(){}}(),Xo=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"),ti=/^url\(([^)]+)\)$/;Function;var ei=Nt("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(St)||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]}}()),ni=Nt("HostBinding",function(t){return{hostPropertyName:t}});String,String;var ri="ngDebugContext",oi="ngOriginalError",ii="ngErrorLogger";function ui(t){return t[ri]}function ai(t){return t[oi]}function si(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];t.error.apply(t,c(e))}var li=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[ii]||si}(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?ui(t)?ui(t):this._findContext(ai(t)):null},t.prototype._findOriginalError=function(t){for(var e=ai(t);e&&ai(e);)e=ai(e);return e},t}();function ci(t){return!!t&&"function"==typeof t.then}function pi(t){return!!t&&"function"==typeof t.subscribe}var fi=new kt("Application Initializer"),hi=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]();ci(o)&&e.push(o)}Promise.all(e).then(function(){n()}).catch(function(e){t.reject(e)}),0===e.length&&n(),this.initialized=!0}},t}(),di=new kt("AppId");function vi(){return""+gi()+gi()+gi()}function gi(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var yi=new kt("Platform Initializer"),mi=new kt("Platform ID"),_i=new kt("appBootstrapListener"),bi=function(){function t(){}return t.prototype.log=function(t){console.log(t)},t.prototype.warn=function(t){console.warn(t)},t}();function wi(){throw new Error("Runtime compiler is not loaded")}var Ci,Si,xi=function(){function t(){}return t.prototype.compileModuleSync=function(t){throw wi()},t.prototype.compileModuleAsync=function(t){throw wi()},t.prototype.compileModuleAndAllComponentsSync=function(t){throw wi()},t.prototype.compileModuleAndAllComponentsAsync=function(t){throw wi()},t.prototype.clearCache=function(){},t.prototype.clearCacheFor=function(t){},t.prototype.getModuleId=function(t){},t}(),Ei=function(){return function(){}}();function Ti(){var t=Ut.wtf;return!(!t||!(Ci=t.trace)||(Si=Ci.events,0))}var Oi=Ti();function ki(t,e){return null}var Pi=Oi?function(t,e){return void 0===e&&(e=null),Si.createScope(t,e)}:function(t,e){return ki},Ai=Oi?function(t,e){return Ci.leaveScope(t,e),e}:function(t,e){return e},Ii=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 Wo(!1),this.onMicrotaskEmpty=new Wo(!1),this.onStable=new Wo(!1),this.onError=new Wo(!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,u){try{return Vi(e),t.invokeTask(r,o,i,u)}finally{ji(e)}},onInvoke:function(t,n,r,o,i,u,a){try{return Vi(e),t.invoke(r,o,i,u,a)}finally{ji(e)}},onHasTask:function(t,n,r,o){t.hasTask(r,o),n===r&&("microTask"==o.change?(e.hasPendingMicrotasks=o.microTask,Di(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,Ni,Ri,Ri);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 Ri(){}var Ni={};function Di(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 Vi(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function ji(t){t._nesting--,Di(t)}var Mi,Ui=function(){function t(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Wo,this.onMicrotaskEmpty=new Wo,this.onStable=new Wo,this.onError=new Wo}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}(),Li=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(){Ii.assertNotInAngularZone(),zt(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())zt(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}(),Hi=function(){function t(){this._applications=new Map,Fi.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),Fi.findTestabilityInTree(this,t,e)},u([a("design:paramtypes",[])],t)}(),Fi=new(function(){function t(){}return t.prototype.addToWindow=function(t){},t.prototype.findTestabilityInTree=function(t,e,n){return null},t}()),zi=new kt("AllowMultipleToken"),qi=function(){return function(t,e){this.name=t,this.token=e}}();function Bi(t,e,n){void 0===n&&(n=[]);var r="Platform: "+e,o=new kt(r);return function(e){void 0===e&&(e=[]);var i=Gi();if(!i||i.injector.get(zi,!1))if(t)t(n.concat(e).concat({provide:o,useValue:!0}));else{var u=n.concat(e).concat({provide:o,useValue:!0});!function(t){if(Mi&&!Mi.destroyed&&!Mi.injector.get(zi,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Mi=t.get(Qi);var e=t.get(yi,null);e&&e.forEach(function(t){return t()})}(Bn.create({providers:u,name:r}))}return function(t){var e=Gi();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 Gi(){return Mi&&!Mi.destroyed?Mi:null}var Qi=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 Ui:("zone.js"===n?void 0:n)||new Ii({enableLongStackTrace:Eo()}),i=[{provide:Ii,useValue:o}];return o.run(function(){var e=Bn.create({providers:i,parent:r.injector,name:t.moduleType.name}),n=t.create(e),u=n.injector.get(li,null);if(!u)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy(function(){return Ki(r._modules,n)}),o.runOutsideAngular(function(){return o.onError.subscribe({next:function(t){u.handleError(t)}})}),function(t,e,o){try{var i=((u=n.injector.get(hi)).runInitializers(),u.donePromise.then(function(){return r._moduleDoBootstrap(n),n}));return ci(i)?i.catch(function(n){throw e.runOutsideAngular(function(){return t.handleError(n)}),n}):i}catch(a){throw e.runOutsideAngular(function(){return t.handleError(a)}),a}var u}(u,o)})},t.prototype.bootstrapModule=function(t,e){var n=this;void 0===e&&(e=[]);var r=Zi({},e);return function(t,e,n){return t.get(Ei).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(Wi);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(function(t){return e.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+Bt(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 Zi(t,e){return Array.isArray(e)?e.reduce(Zi,t):i({},t,e)}var Wi=function(){function t(t,e,n,r,o,i){var u=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=Eo(),this._zone.onMicrotaskEmpty.subscribe({next:function(){u._zone.run(function(){u.tick()})}});var a=new N(function(t){u._stable=u._zone.isStable&&!u._zone.hasPendingMacrotasks&&!u._zone.hasPendingMicrotasks,u._zone.runOutsideAngular(function(){t.next(u._stable),t.complete()})}),s=new N(function(t){var e;u._zone.runOutsideAngular(function(){e=u._zone.onStable.subscribe(function(){Ii.assertNotInAngularZone(),zt(function(){u._stable||u._zone.hasPendingMacrotasks||u._zone.hasPendingMicrotasks||(u._stable=!0,t.next(!0))})})});var n=u._zone.onUnstable.subscribe(function(){Ii.assertInAngularZone(),u._stable&&(u._stable=!1,u._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 N?t[0]:lt(n)(rt(t,r))}(a,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 Xr?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);var o=n instanceof io?null:this._injector.get(or),i=n.create(Bn.NULL,[],e||n.selector,o);i.onDestroy(function(){r._unloadComponent(i)});var u=i.injector.get(Li,null);return u&&i.injector.get(Hi).registerApplication(i.location.nativeElement,u),this._loadComponent(i),Eo()&&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,Ai(n)}},t.prototype.attachView=function(t){var e=t;this._views.push(e),e.attachToAppRef(this)},t.prototype.detachView=function(t){var e=t;Ki(this._views,e),e.detachFromAppRef()},t.prototype._loadComponent=function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(_i,[]).concat(this._bootstrapListeners).forEach(function(e){return e(t)})},t.prototype._unloadComponent=function(t){this.detachView(t.hostView),Ki(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=Pi("ApplicationRef#tick()"),t}();function Ki(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var Yi=function(){return function(){}}(),$i=function(){function t(){this.dirty=!0,this._results=[],this.changes=new Wo,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[Ft()]=function(){return this._results[Ft()]()},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}(),Ji=function(){return function(){}}(),Xi={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},tu=function(){function t(t,e){this._compiler=t,this._config=e||Xi}return t.prototype.load=function(t){return this._compiler instanceof xi?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 eu(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 eu(t,r,o)})},t}();function eu(t,e,n){if(!t)throw new Error("Cannot find '"+n+"' in '"+e+"'");return t}var nu,ru=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return ou(t,uo)},t}(),ou=Vn,iu=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return uu()},t}(),uu=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]},au=(o(function(){return null!==nu&&nu.apply(this,arguments)||this},nu=iu),function(){return function(t,e){this.name=t,this.callback=e}}()),su=function(){function t(t,e,n){this.nativeNode=t,this._debugContext=n,this.listeners=[],this.parent=null,e&&e instanceof lu&&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}(),lu=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(t){t.parent&&t.parent.removeChild(t),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 lu&&(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 lu&&e.childNodes.forEach(function(e){n(e)&&r.push(e),e instanceof lu&&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}(su),cu=new Map;function pu(t){return cu.get(t)||null}function fu(t){cu.set(t.nativeNode,t)}var hu=function(){function t(){}return t.prototype.supports=function(t){return Ne(t)},t.prototype.create=function(t){return new vu(t)},t}(),du=function(t,e){return e},vu=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||du}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<_u(n,r,o)?e:n,u=_u(i,r,o),a=i.currentIndex;if(i===n)r--,n=n._nextRemoved;else if(e=e._next,null==i.previousIndex)r++;else{o||(o=[]);var s=u-r,l=a-r;if(s!=l){for(var c=0;c<s;c++){var p=c<o.length?o[c]:o[c]=0,f=p+c;l<=f&&f<s&&(o[c]=p+1)}o[i.previousIndex]=l-s}}u!==a&&t(i,u,a)}},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=[]),!Ne(t))throw new Error("Error trying to diff '"+Bt(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,u=!1;if(Array.isArray(t)){this.length=t.length;for(var a=0;a<this.length;a++)o=this._trackByFn(a,r=t[a]),null!==i&&qt(i.trackById,o)?(u&&(i=this._verifyReinsertion(i,r,o,a)),qt(i.item,r)||this._addIdentityChange(i,r)):(i=this._mismatch(i,r,o,a),u=!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[Ft()](),o=void 0;!(o=r.next()).done;)e(o.value)}(t,function(t){o=e._trackByFn(n,t),null!==i&&qt(i.trackById,o)?(u&&(i=e._verifyReinsertion(i,t,o,n)),qt(i.item,t)||e._addIdentityChange(i,t)):(i=e._mismatch(i,t,o,n),u=!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))?(qt(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,o,r)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(qt(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,o,r)):t=this._addAfter(new gu(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 mu),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 mu),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}(),gu=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}}(),yu=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)&&qt(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}(),mu=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 yu,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 _u(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 bu=function(){function t(){}return t.prototype.supports=function(t){return t instanceof Map||De(t)},t.prototype.create=function(){return new wu},t}(),wu=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||De(t)))throw new Error("Error trying to diff '"+Bt(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 Cu(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){qt(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}(),Cu=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}}(),Su=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 Kt,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=Et({providedIn:"root",factory:function(){return new t([new hu])}}),t}(),xu=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 Kt,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=Et({providedIn:"root",factory:function(){return new t([new bu])}}),t}(),Eu=[new bu],Tu=new Su([new hu]),Ou=new xu(Eu),ku=Bi(null,"core",[{provide:mi,useValue:"unknown"},{provide:Qi,deps:[Bn]},{provide:Hi,deps:[]},{provide:bi,deps:[]}]),Pu=new kt("LocaleId");function Au(){return Tu}function Iu(){return Ou}function Ru(t){return t||"en-US"}var Nu=function(){return function(t){}}();function Du(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 Vu(t,e,n){return(1792&t.state)===e&&t.initIndex<=n&&(t.initIndex=n+1,!0)}function ju(t,e){return t.nodes[e]}function Mu(t,e){return t.nodes[e]}function Uu(t,e){return t.nodes[e]}function Lu(t,e){return t.nodes[e]}function Hu(t,e){return t.nodes[e]}var Fu={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 zu(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 qu(n,e),n}(o,t)}function qu(t,e){t[ri]=e,t[ii]=e.logError.bind(e)}function Bu(t){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+t)}var Gu=function(){},Qu=new Map;function Zu(t){var e=Qu.get(t);return e||(e=Bt(t)+"_"+Qu.size,Qu.set(t,e)),e}function Wu(t,e,n,r){if(Ie.isWrapped(r)){r=Ie.unwrap(r);var o=t.def.nodes[e].bindingIndex+n,i=Ie.unwrap(t.oldValues[o]);t.oldValues[o]=new Ie(i)}return r}var Ku="$$undefined",Yu="$$empty";function $u(t){return{id:Ku,styles:t.styles,encapsulation:t.encapsulation,data:t.data}}var Ju=0;function Xu(t,e,n,r){return!(!(2&t.state)&&qt(t.oldValues[e.bindingIndex+n],r))}function ta(t,e,n,r){return!!Xu(t,e,n,r)&&(t.oldValues[e.bindingIndex+n]=r,!0)}function ea(t,e,n,r){var o=t.oldValues[e.bindingIndex+n];if(1&t.state||!Ae(o,r)){var i=e.bindings[n].name;throw zu(Fu.createDebugContext(t,e.nodeIndex),i+": "+o,i+": "+r,0!=(1&t.state))}}function na(t){for(var e=t;e;)2&e.def.flags&&(e.state|=8),e=e.viewContainerParent||e.parent}function ra(t,e){for(var n=t;n&&n!==e;)n.state|=64,n=n.viewContainerParent||n.parent}function oa(t,e,n,r){try{return na(33554432&t.def.nodes[e].flags?Mu(t,e).componentView:t),Fu.handleEvent(t,e,n,r)}catch(o){t.root.errorHandler.handleError(o)}}function ia(t){return t.parent?Mu(t.parent,t.parentNodeDef.nodeIndex):null}function ua(t){return t.parent?t.parentNodeDef.parent:null}function aa(t,e){switch(201347067&e.flags){case 1:return Mu(t,e.nodeIndex).renderElement;case 2:return ju(t,e.nodeIndex).renderText}}function sa(t){return!!t.parent&&!!(32768&t.parentNodeDef.flags)}function la(t){return!(!t.parent||32768&t.parentNodeDef.flags)}function ca(t){var e={},n=0,r={};return t&&t.forEach(function(t){var o=l(t,2),i=o[0],u=o[1];"number"==typeof i?(e[i]=u,n|=function(t){return 1<<t%32}(i)):r[i]=u}),{matchedQueries:e,references:r,matchedQueryIds:n}}function pa(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,Ln,{value:e,configurable:!0}),{flags:o,token:r,tokenKey:Zu(r)}})}function fa(t,e,n){var r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&r.element.componentRendererType.encapsulation===Vt.Native?Mu(t,n.renderParent.nodeIndex).renderElement:void 0:e}var ha=new WeakMap;function da(t){var e=ha.get(t);return e||((e=t(function(){return Gu})).factory=t,ha.set(t,e)),e}function va(t,e,n,r,o){3===e&&(n=t.renderer.parentNode(aa(t,t.def.lastRenderRootNode))),ga(t,e,0,t.def.nodes.length-1,n,r,o)}function ga(t,e,n,r,o,i,u){for(var a=n;a<=r;a++){var s=t.def.nodes[a];11&s.flags&&ma(t,s,e,o,i,u),a+=s.childCount}}function ya(t,e,n,r,o,i){for(var u=t;u&&!sa(u);)u=u.parent;for(var a=u.parent,s=ua(u),l=s.nodeIndex+s.childCount,c=s.nodeIndex+1;c<=l;c++){var p=a.def.nodes[c];p.ngContentIndex===e&&ma(a,p,n,r,o,i),c+=p.childCount}if(!a.parent){var f=t.root.projectableNodes[e];if(f)for(c=0;c<f.length;c++)_a(t,f[c],n,r,o,i)}}function ma(t,e,n,r,o,i){if(8&e.flags)ya(t,e.ngContent.index,n,r,o,i);else{var u=aa(t,e);if(3===n&&33554432&e.flags&&48&e.bindingFlags?(16&e.bindingFlags&&_a(t,u,n,r,o,i),32&e.bindingFlags&&_a(Mu(t,e.nodeIndex).componentView,u,n,r,o,i)):_a(t,u,n,r,o,i),16777216&e.flags)for(var a=Mu(t,e.nodeIndex).viewContainer._embeddedViews,s=0;s<a.length;s++)va(a[s],n,r,o,i);1&e.flags&&!e.element.name&&ga(t,n,e.nodeIndex+1,e.nodeIndex+e.childCount,r,o,i)}}function _a(t,e,n,r,o,i){var u=t.renderer;switch(n){case 1:u.appendChild(r,e);break;case 2:u.insertBefore(r,e,o);break;case 3:u.removeChild(r,e);break;case 0:i.push(e)}}var ba=/^:([^:]+):(.+)$/;function wa(t){if(":"===t[0]){var e=t.match(ba);return[e[1],e[2]]}return["",t]}function Ca(t){for(var e=0,n=0;n<t.length;n++)e|=t[n].flags;return e}function Sa(t,e,n,r,o,i){t|=1;var u=ca(e);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:t,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:u.matchedQueries,matchedQueryIds:u.matchedQueryIds,references:u.references,ngContentIndex:n,childCount:r,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:i?da(i):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:o||Gu},provider:null,text:null,query:null,ngContent:null}}function xa(t,e,n,r,o,i,u,a,s,c,p,f){var h;void 0===u&&(u=[]),c||(c=Gu);var d=ca(n),v=d.matchedQueries,g=d.references,y=d.matchedQueryIds,m=null,_=null;i&&(m=(h=l(wa(i),2))[0],_=h[1]),a=a||[];for(var b=new Array(a.length),w=0;w<a.length;w++){var C=l(a[w],3),S=C[0],x=C[2],E=l(wa(C[1]),2),T=E[0],O=E[1],k=void 0,P=void 0;switch(15&S){case 4:P=x;break;case 1:case 8:k=x}b[w]={flags:S,ns:T,name:O,nonMinifiedName:O,securityContext:k,suffix:P}}s=s||[];var A=new Array(s.length);for(w=0;w<s.length;w++){var I=l(s[w],2);A[w]={type:0,target:I[0],eventName:I[1],propName:null}}var R=(u=u||[]).map(function(t){var e=l(t,2),n=e[1],r=l(wa(e[0]),2);return[r[0],r[1],n]});return f=function(t){if(t&&t.id===Ku){var e=null!=t.encapsulation&&t.encapsulation!==Vt.None||t.styles.length||Object.keys(t.data).length;t.id=e?"c"+Ju++:Yu}return t&&t.id===Yu&&(t=null),t||null}(f),p&&(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:Ca(b),outputs:A,element:{ns:m,name:_,attrs:R,template:null,componentProvider:null,componentView:p||null,componentRendererType:f,publicProviders:null,allProviders:null,handleEvent:c||Gu},provider:null,text:null,query:null,ngContent:null}}function Ea(t,e,n){var r,o=n.element,i=t.root.selectorOrNode,u=t.renderer;if(t.parent||!i){r=o.name?u.createElement(o.name,o.ns):u.createComment("");var a=fa(t,e,n);a&&u.appendChild(a,r)}else r=u.selectRootElement(i,!!o.componentRendererType&&o.componentRendererType.encapsulation===Vt.ShadowDom);if(o.attrs)for(var s=0;s<o.attrs.length;s++){var c=l(o.attrs[s],3);u.setAttribute(r,c[1],c[2],c[0])}return r}function Ta(t,e,n,r){for(var o=0;o<n.outputs.length;o++){var i=n.outputs[o],u=Oa(t,n.nodeIndex,(p=i.eventName,(c=i.target)?c+":"+p:p)),a=i.target,s=t;"component"===i.target&&(a=null,s=e);var l=s.renderer.listen(a||r,i.eventName,u);t.disposables[n.outputIndex+o]=l}var c,p}function Oa(t,e,n){return function(r){return oa(t,e,n,r)}}function ka(t,e,n,r){if(!ta(t,e,n,r))return!1;var o=e.bindings[n],i=Mu(t,e.nodeIndex),u=i.renderElement,a=o.name;switch(15&o.flags){case 1:!function(t,e,n,r,o,i){var u=e.securityContext,a=u?t.root.sanitizer.sanitize(u,i):i;a=null!=a?a.toString():null;var s=t.renderer;null!=i?s.setAttribute(n,o,a,r):s.removeAttribute(n,o,r)}(t,o,u,o.ns,a,r);break;case 2:!function(t,e,n,r){var o=t.renderer;r?o.addClass(e,n):o.removeClass(e,n)}(t,u,a,r);break;case 4:!function(t,e,n,r,o){var i=t.root.sanitizer.sanitize($o.STYLE,o);if(null!=i){i=i.toString();var u=e.suffix;null!=u&&(i+=u)}else i=null;var a=t.renderer;null!=i?a.setStyle(n,r,i):a.removeStyle(n,r)}(t,o,u,a,r);break;case 8:!function(t,e,n,r,o){var i=e.securityContext,u=i?t.root.sanitizer.sanitize(i,o):o;t.renderer.setProperty(n,r,u)}(33554432&e.flags&&32&o.flags?i.componentView:t,o,u,a,r)}return!0}var Pa=new Object,Aa=Zu(Bn),Ia=Zu(zn),Ra=Zu(or);function Na(t,e,n,r){return n=Un(n),{index:-1,deps:pa(r,Bt(e)),flags:t,token:e,value:n}}function Da(t,e,n){void 0===n&&(n=Bn.THROW_IF_NOT_FOUND);var r,o,i=Jt(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 u=e.tokenKey;switch(u){case Aa:case Ia:case Ra:return t}var a,s=t._def.providersByKey[u];if(s){var l=t._providers[s.index];return void 0===l&&(l=t._providers[s.index]=Va(t,s)),l===Pa?void 0:l}if((a=Tt(e.token))&&(r=t,null!=(o=a).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:a.factory,deps:[],index:c,token:e.token},t._providers[c]=Pa,t._providers[c]=Va(t,t._def.providersByKey[e.tokenKey])}return 4&e.flags?n:t._parent.get(e.token,n)}finally{Jt(i)}}function Va(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(Da(t,n[0]));case 2:return new e(Da(t,n[0]),Da(t,n[1]));case 3:return new e(Da(t,n[0]),Da(t,n[1]),Da(t,n[2]));default:for(var o=new Array(r),i=0;i<r;i++)o[i]=Da(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(Da(t,n[0]));case 2:return e(Da(t,n[0]),Da(t,n[1]));case 3:return e(Da(t,n[0]),Da(t,n[1]),Da(t,n[2]));default:for(var o=Array(r),i=0;i<r;i++)o[i]=Da(t,n[i]);return e.apply(void 0,c(o))}}(t,e.value,e.deps);break;case 2048:n=Da(t,e.deps[0]);break;case 256:n=e.value}return n===Pa||null==n||"object"!=typeof n||131072&e.flags||"function"!=typeof n.ngOnDestroy||(e.flags|=131072),void 0===n?Pa:n}function ja(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,Ha(n,e),Fu.dirtyParentQueries(r),Ua(r),r}function Ma(t,e,n){var r=e?aa(e,e.def.lastRenderRootNode):t.renderElement,o=n.renderer.parentNode(r),i=n.renderer.nextSibling(r);va(n,2,o,i,void 0)}function Ua(t){va(t,3,null,null,void 0)}function La(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Ha(t,e){e>=t.length-1?t.pop():t.splice(e,1)}var Fa=new Object;function za(t,e,n,r,o,i){return new qa(t,e,n,r,o,i)}var qa=function(t){function e(e,n,r,o,i,u){var a=t.call(this)||this;return a.selector=e,a.componentType=n,a._inputs=o,a._outputs=i,a.ngContentSelectors=u,a.viewDefFactory=r,a}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=da(this.viewDefFactory),i=o.nodes[0].element.componentProvider.nodeIndex,u=Fu.createRootView(t,e||[],n,o,r,Fa),a=Uu(u,i).instance;return n&&u.renderer.setAttribute(Mu(u,0).renderElement,"ng-version",ho.full),new Ba(u,new Wa(u),a)},e}(Xr),Ba=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 uo(Mu(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new Ja(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}(Jr);function Ga(t,e,n){return new Qa(t,e,n)}var Qa=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 uo(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new Ja(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=ua(t),t=t.parent;return t?new Ja(t,e):new Ja(this._view,null)},enumerable:!0,configurable:!0}),t.prototype.clear=function(){for(var t=this._embeddedViews.length-1;t>=0;t--){var e=ja(this._data,t);Fu.destroyView(e)}},t.prototype.get=function(t){var e=this._embeddedViews[t];if(e){var n=new Wa(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 io||(o=i.get(or));var u=t.create(i,r,void 0,o);return this.insert(u.hostView,e),u},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,u=t;return i=(n=this._data).viewContainer._embeddedViews,null==(r=e)&&(r=i.length),(o=u._view).viewContainerParent=this._view,La(i,r,o),function(t,e){var n=ia(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),Fu.dirtyParentQueries(o),Ma(n,r>0?i[r-1]:null,o),u.attachToViewContainerRef(this),t},t.prototype.move=function(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n,r,o,i,u,a=this._embeddedViews.indexOf(t._view);return o=e,u=(i=(n=this._data).viewContainer._embeddedViews)[r=a],Ha(i,r),null==o&&(o=i.length),La(i,o,u),Fu.dirtyParentQueries(u),Ua(u),Ma(n,o>0?i[o-1]:null,u),t},t.prototype.indexOf=function(t){return this._embeddedViews.indexOf(t._view)},t.prototype.remove=function(t){var e=ja(this._data,t);e&&Fu.destroyView(e)},t.prototype.detach=function(t){var e=ja(this._data,t);return e?new Wa(e):null},t}();function Za(t){return new Wa(t)}var Wa=function(){function t(t){this._view=t,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(t.prototype,"rootNodes",{get:function(){return va(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(){na(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{Fu.checkAndUpdateView(this._view)}finally{t.end&&t.end()}},t.prototype.checkNoChanges=function(){Fu.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)),Fu.destroyView(this._view)},t.prototype.detachFromAppRef=function(){this._appRef=null,Ua(this._view),Fu.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 Ka(t,e){return new Ya(t,e)}var Ya=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 Wa(Fu.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))},Object.defineProperty(e.prototype,"elementRef",{get:function(){return new uo(Mu(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),e}(Ko);function $a(t,e){return new Ja(t,e)}var Ja=function(){function t(t,e){this.view=t,this.elDef=e}return t.prototype.get=function(t,e){return void 0===e&&(e=Bn.THROW_IF_NOT_FOUND),Fu.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:t,tokenKey:Zu(t)},e)},t}();function Xa(t,e){var n=t.def.nodes[e];if(1&n.flags){var r=Mu(t,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return ju(t,n.nodeIndex).renderText;if(20240&n.flags)return Uu(t,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+e)}function ts(t){return new es(t.renderer)}var es=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(wa(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(wa(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 ns(t,e,n,r){return new rs(t,e,n,r)}var rs=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]=Va(t,o))}}(this)}return t.prototype.get=function(t,e,n){void 0===e&&(e=Bn.THROW_IF_NOT_FOUND),void 0===n&&(n=Yt.Default);var r=0;return n&Yt.SkipSelf?r|=1:n&Yt.Self&&(r|=4),Da(this,{token:t,tokenKey:Zu(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(ro)},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The ng module "+Bt(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!==Pa){var u=i.ngOnDestroy;"function"!=typeof u||r.has(i)||(u.apply(i),r.add(i))}}}(this),this._destroyListeners.forEach(function(t){return t()})},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},t}(),os=Zu(so),is=Zu(po),us=Zu(uo),as=Zu(ru),ss=Zu(Ko),ls=Zu(iu),cs=Zu(Bn),ps=Zu(zn);function fs(t,e,n,r,o,i,u,a){var s=[];if(u)for(var c in u){var p=l(u[c],2);s[p[0]]={flags:8,name:c,nonMinifiedName:p[1],ns:null,securityContext:null,suffix:null}}var f=[];if(a)for(var h in a)f.push({type:1,propName:h,target:null,eventName:a[h]});return vs(t,e|=16384,n,r,o,o,i,s,f)}function hs(t,e,n){return vs(-1,t|=16,null,0,e,e,n)}function ds(t,e,n,r,o){return vs(-1,t,e,0,n,r,o)}function vs(t,e,n,r,o,i,u,a,s){var l=ca(n),c=l.matchedQueries,p=l.references,f=l.matchedQueryIds;s||(s=[]),a||(a=[]),i=Un(i);var h=pa(u,Bt(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:f,references:p,ngContentIndex:-1,childCount:r,bindings:a,bindingFlags:Ca(a),outputs:s,element:null,provider:{token:o,value:i,deps:h},text:null,query:null,ngContent:null}}function gs(t,e){return bs(t,e)}function ys(t,e){for(var n=t;n.parent&&!sa(n);)n=n.parent;return ws(n.parent,ua(n),!0,e.provider.value,e.provider.deps)}function ms(t,e){var n=ws(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(!pi(i))throw new Error("@Output "+o.propName+" not initialized in '"+n.constructor.name+"'.");var u=i.subscribe(_s(t,e.parent.nodeIndex,o.eventName));t.disposables[e.outputIndex+r]=u.unsubscribe.bind(u)}return n}function _s(t,e,n){return function(r){return oa(t,e,n,r)}}function bs(t,e){var n=(8192&e.flags)>0,r=e.provider;switch(201347067&e.flags){case 512:return ws(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(Ss(t,e,n,o[0]));case 2:return r(Ss(t,e,n,o[0]),Ss(t,e,n,o[1]));case 3:return r(Ss(t,e,n,o[0]),Ss(t,e,n,o[1]),Ss(t,e,n,o[2]));default:for(var u=Array(i),a=0;a<i;a++)u[a]=Ss(t,e,n,o[a]);return r.apply(void 0,c(u))}}(t,e.parent,n,r.value,r.deps);case 2048:return Ss(t,e.parent,n,r.deps[0]);case 256:return r.value}}function ws(t,e,n,r,o){var i=o.length;switch(i){case 0:return new r;case 1:return new r(Ss(t,e,n,o[0]));case 2:return new r(Ss(t,e,n,o[0]),Ss(t,e,n,o[1]));case 3:return new r(Ss(t,e,n,o[0]),Ss(t,e,n,o[1]),Ss(t,e,n,o[2]));default:for(var u=new Array(i),a=0;a<i;a++)u[a]=Ss(t,e,n,o[a]);return new(r.bind.apply(r,c([void 0],u)))}}var Cs={};function Ss(t,e,n,r,o){if(void 0===o&&(o=Bn.THROW_IF_NOT_FOUND),8&r.flags)return r.token;var i=t;2&r.flags&&(o=null);var u=r.tokenKey;u===ls&&(n=!(!e||!e.element.componentView)),e&&1&r.flags&&(n=!1,e=e.parent);for(var a=t;a;){if(e)switch(u){case os:return ts(xs(a,e,n));case is:return xs(a,e,n).renderer;case us:return new uo(Mu(a,e.nodeIndex).renderElement);case as:return Mu(a,e.nodeIndex).viewContainer;case ss:if(e.element.template)return Mu(a,e.nodeIndex).template;break;case ls:return Za(xs(a,e,n));case cs:case ps:return $a(a,e);default:var s=(n?e.element.allProviders:e.element.publicProviders)[u];if(s){var l=Uu(a,s.nodeIndex);return l||(l={instance:bs(a,s)},a.nodes[s.nodeIndex]=l),l.instance}}n=sa(a),e=ua(a),a=a.parent,4&r.flags&&(a=null)}var c=i.root.injector.get(r.token,Cs);return c!==Cs||o===Cs?c:i.root.ngModule.injector.get(r.token,o)}function xs(t,e,n){var r;if(n)r=Mu(t,e.nodeIndex).componentView;else for(r=t;r.parent&&!sa(r);)r=r.parent;return r}function Es(t,e,n,r,o,i){if(32768&n.flags){var u=Mu(t,n.parent.nodeIndex).componentView;2&u.def.flags&&(u.state|=8)}if(e.instance[n.bindings[r].name]=o,524288&n.flags){i=i||{};var a=Ie.unwrap(t.oldValues[n.bindingIndex+r]);i[n.bindings[r].nonMinifiedName]=new Re(a,o,0!=(2&t.state))}return t.oldValues[n.bindingIndex+r]=o,i}function Ts(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],u=i.parent;for(!u&&i.flags&e&&ks(t,o,i.flags&e,r++),0==(i.childFlags&e)&&(o+=i.childCount);u&&1&u.flags&&o===u.nodeIndex+u.childCount;)u.directChildFlags&e&&(r=Os(t,u,e,r)),u=u.parent}}function Os(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&&ks(t,o,i.flags&n,r++),o+=i.childCount}return r}function ks(t,e,n,r){var o=Uu(t,e);if(o){var i=o.instance;i&&(Fu.setCurrentNode(t,e),1048576&n&&Vu(t,512,r)&&i.ngAfterContentInit(),2097152&n&&i.ngAfterContentChecked(),4194304&n&&Vu(t,768,r)&&i.ngAfterViewInit(),8388608&n&&i.ngAfterViewChecked(),131072&n&&i.ngOnDestroy())}}function Ps(t){for(var e=t.def.nodeMatchedQueries;t.parent&&la(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&&Hu(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&&Hu(t,o).setDirty(),o+=i.childCount}}function As(t,e){var n=Hu(t,e.nodeIndex);if(n.dirty){var r,o=void 0;if(67108864&e.flags){var i=e.parent.parent;o=Is(t,i.nodeIndex,i.nodeIndex+i.childCount,e.query,[]),r=Uu(t,e.parent.nodeIndex).instance}else 134217728&e.flags&&(o=Is(t,0,t.def.nodes.length-1,e.query,[]),r=t.component);n.reset(o);for(var u=e.query.bindings,a=!1,s=0;s<u.length;s++){var l=u[s],c=void 0;switch(l.bindingType){case 0:c=n.first;break;case 1:c=n,a=!0}r[l.propName]=c}a&&n.notifyOnChanges()}}function Is(t,e,n,r,o){for(var i=e;i<=n;i++){var u=t.def.nodes[i],a=u.matchedQueries[r.id];if(null!=a&&o.push(Rs(t,u,a)),1&u.flags&&u.element.template&&(u.element.template.nodeMatchedQueries&r.filterId)===r.filterId){var s=Mu(t,i);if((u.childMatchedQueries&r.filterId)===r.filterId&&(Is(t,i+1,i+u.childCount,r,o),i+=u.childCount),16777216&u.flags)for(var l=s.viewContainer._embeddedViews,c=0;c<l.length;c++){var p=l[c],f=ia(p);f&&f===s&&Is(p,0,p.def.nodes.length-1,r,o)}var h=s.template._projectedViews;if(h)for(c=0;c<h.length;c++){var d=h[c];Is(d,0,d.def.nodes.length-1,r,o)}}(u.childMatchedQueries&r.filterId)!==r.filterId&&(i+=u.childCount)}return o}function Rs(t,e,n){if(null!=n)switch(n){case 1:return Mu(t,e.nodeIndex).renderElement;case 0:return new uo(Mu(t,e.nodeIndex).renderElement);case 2:return Mu(t,e.nodeIndex).template;case 3:return Mu(t,e.nodeIndex).viewContainer;case 4:return Uu(t,e.nodeIndex).instance}}function Ns(t,e,n){var r=fa(t,e,n);r&&ya(t,n.ngContent.index,1,r,null,void 0)}function Ds(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:Ca(r),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}function Vs(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 js(t,e,n){var r,o=t.renderer;r=o.createText(n.text.prefix);var i=fa(t,e,n);return i&&o.appendChild(i,r),{renderText:r}}function Ms(t,e){return(null!=t?t.toString():"")+e.suffix}function Us(t,e,n,r){for(var o=0,i=0,u=0,a=0,s=0,l=null,c=null,p=!1,f=!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,u|=v.flags,s|=v.matchedQueryIds,v.element){var g=v.element;g.publicProviders=l?l.element.publicProviders:Object.create(null),g.allProviders=g.publicProviders,p=!1,f=!1,v.element.template&&(s|=v.element.template.nodeMatchedQueries)}if(Hs(l,v,e.length),o+=v.bindings.length,i+=v.outputs.length,!c&&3&v.flags&&(h=v),20224&v.flags){p||(p=!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[Zu(v.provider.token)]=v:(f||(f=!0,l.element.allProviders=Object.create(l.element.publicProviders)),l.element.allProviders[Zu(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)):a|=v.flags,v.childCount>0)l=v,Ls(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)&&Ls(l)?l.renderParent:l}}return{factory:null,nodeFlags:u,rootNodeFlags:a,nodeMatchedQueries:s,flags:t,nodes:e,updateDirectives:n||Gu,updateRenderer:r||Gu,handleEvent:function(t,n,r,o){return e[n].element.handleEvent(t,r,o)},bindingCount:o,outputCount:i,lastRenderRootNode:h}}function Ls(t){return 0!=(1&t.flags)&&null===t.element.name}function Hs(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 Fs(t,e,n,r){var o=Bs(t.root,t.renderer,t,e,n);return Gs(o,t.component,r),Qs(o),o}function zs(t,e,n){var r=Bs(t,t.renderer,null,null,e);return Gs(r,n,n),Qs(r),r}function qs(t,e,n,r){var o,i=e.element.componentRendererType;return o=i?t.root.rendererFactory.createRenderer(r,i):t.root.renderer,Bs(t.root,o,t,e.element.componentProvider,n)}function Bs(t,e,n,r,o){var i=new Array(o.nodes.length),u=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:u,initIndex:-1}}function Gs(t,e,n){t.component=e,t.context=n}function Qs(t){var e;sa(t)&&(e=Mu(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];Fu.setCurrentNode(t,o);var u=void 0;switch(201347067&i.flags){case 1:var a=Ea(t,e,i),s=void 0;if(33554432&i.flags){var l=da(i.element.componentView);s=Fu.createComponentView(t,i,l,a)}Ta(t,s,i,a),u={renderElement:a,componentView:s,viewContainer:null,template:i.element.template?Ka(t,i):void 0},16777216&i.flags&&(u.viewContainer=Ga(t,i,u));break;case 2:u=js(t,e,i);break;case 512:case 1024:case 2048:case 256:(u=r[o])||4096&i.flags||(u={instance:gs(t,i)});break;case 16:u={instance:ys(t,i)};break;case 16384:(u=r[o])||(u={instance:ms(t,i)}),32768&i.flags&&Gs(Mu(t,i.parent.nodeIndex).componentView,u.instance,u.instance);break;case 32:case 64:case 128:u={value:void 0};break;case 67108864:case 134217728:u=new $i;break;case 8:Ns(t,e,i),u=void 0}r[o]=u}el(t,tl.CreateViewNodes),il(t,201326592,268435456,0)}function Zs(t){Ys(t),Fu.updateDirectives(t,1),nl(t,tl.CheckNoChanges),Fu.updateRenderer(t,1),el(t,tl.CheckNoChanges),t.state&=-97}function Ws(t){1&t.state?(t.state&=-2,t.state|=2):t.state&=-3,Du(t,0,256),Ys(t),Fu.updateDirectives(t,0),nl(t,tl.CheckAndUpdate),il(t,67108864,536870912,0);var e=Du(t,256,512);Ts(t,2097152|(e?1048576:0)),Fu.updateRenderer(t,0),el(t,tl.CheckAndUpdate),il(t,134217728,536870912,0),Ts(t,8388608|((e=Du(t,512,768))?4194304:0)),2&t.def.flags&&(t.state&=-9),t.state&=-97,Du(t,768,1024)}function Ks(t,e,n,r,o,i,u,a,s,l,p,f,h){return 0===n?function(t,e,n,r,o,i,u,a,s,l,c,p){switch(201347067&e.flags){case 1:return function(t,e,n,r,o,i,u,a,s,l,c,p){var f=e.bindings.length,h=!1;return f>0&&ka(t,e,0,n)&&(h=!0),f>1&&ka(t,e,1,r)&&(h=!0),f>2&&ka(t,e,2,o)&&(h=!0),f>3&&ka(t,e,3,i)&&(h=!0),f>4&&ka(t,e,4,u)&&(h=!0),f>5&&ka(t,e,5,a)&&(h=!0),f>6&&ka(t,e,6,s)&&(h=!0),f>7&&ka(t,e,7,l)&&(h=!0),f>8&&ka(t,e,8,c)&&(h=!0),f>9&&ka(t,e,9,p)&&(h=!0),h}(t,e,n,r,o,i,u,a,s,l,c,p);case 2:return function(t,e,n,r,o,i,u,a,s,l,c,p){var f=!1,h=e.bindings,d=h.length;if(d>0&&ta(t,e,0,n)&&(f=!0),d>1&&ta(t,e,1,r)&&(f=!0),d>2&&ta(t,e,2,o)&&(f=!0),d>3&&ta(t,e,3,i)&&(f=!0),d>4&&ta(t,e,4,u)&&(f=!0),d>5&&ta(t,e,5,a)&&(f=!0),d>6&&ta(t,e,6,s)&&(f=!0),d>7&&ta(t,e,7,l)&&(f=!0),d>8&&ta(t,e,8,c)&&(f=!0),d>9&&ta(t,e,9,p)&&(f=!0),f){var v=e.text.prefix;d>0&&(v+=Ms(n,h[0])),d>1&&(v+=Ms(r,h[1])),d>2&&(v+=Ms(o,h[2])),d>3&&(v+=Ms(i,h[3])),d>4&&(v+=Ms(u,h[4])),d>5&&(v+=Ms(a,h[5])),d>6&&(v+=Ms(s,h[6])),d>7&&(v+=Ms(l,h[7])),d>8&&(v+=Ms(c,h[8])),d>9&&(v+=Ms(p,h[9]));var g=ju(t,e.nodeIndex).renderText;t.renderer.setValue(g,v)}return f}(t,e,n,r,o,i,u,a,s,l,c,p);case 16384:return function(t,e,n,r,o,i,u,a,s,l,c,p){var f=Uu(t,e.nodeIndex),h=f.instance,d=!1,v=void 0,g=e.bindings.length;return g>0&&Xu(t,e,0,n)&&(d=!0,v=Es(t,f,e,0,n,v)),g>1&&Xu(t,e,1,r)&&(d=!0,v=Es(t,f,e,1,r,v)),g>2&&Xu(t,e,2,o)&&(d=!0,v=Es(t,f,e,2,o,v)),g>3&&Xu(t,e,3,i)&&(d=!0,v=Es(t,f,e,3,i,v)),g>4&&Xu(t,e,4,u)&&(d=!0,v=Es(t,f,e,4,u,v)),g>5&&Xu(t,e,5,a)&&(d=!0,v=Es(t,f,e,5,a,v)),g>6&&Xu(t,e,6,s)&&(d=!0,v=Es(t,f,e,6,s,v)),g>7&&Xu(t,e,7,l)&&(d=!0,v=Es(t,f,e,7,l,v)),g>8&&Xu(t,e,8,c)&&(d=!0,v=Es(t,f,e,8,c,v)),g>9&&Xu(t,e,9,p)&&(d=!0,v=Es(t,f,e,9,p,v)),v&&h.ngOnChanges(v),65536&e.flags&&Vu(t,256,e.nodeIndex)&&h.ngOnInit(),262144&e.flags&&h.ngDoCheck(),d}(t,e,n,r,o,i,u,a,s,l,c,p);case 32:case 64:case 128:return function(t,e,n,r,o,i,u,a,s,l,c,p){var f=e.bindings,h=!1,d=f.length;if(d>0&&ta(t,e,0,n)&&(h=!0),d>1&&ta(t,e,1,r)&&(h=!0),d>2&&ta(t,e,2,o)&&(h=!0),d>3&&ta(t,e,3,i)&&(h=!0),d>4&&ta(t,e,4,u)&&(h=!0),d>5&&ta(t,e,5,a)&&(h=!0),d>6&&ta(t,e,6,s)&&(h=!0),d>7&&ta(t,e,7,l)&&(h=!0),d>8&&ta(t,e,8,c)&&(h=!0),d>9&&ta(t,e,9,p)&&(h=!0),h){var v=Lu(t,e.nodeIndex),g=void 0;switch(201347067&e.flags){case 32:g=new Array(f.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]=u),d>5&&(g[5]=a),d>6&&(g[6]=s),d>7&&(g[7]=l),d>8&&(g[8]=c),d>9&&(g[9]=p);break;case 64:g={},d>0&&(g[f[0].name]=n),d>1&&(g[f[1].name]=r),d>2&&(g[f[2].name]=o),d>3&&(g[f[3].name]=i),d>4&&(g[f[4].name]=u),d>5&&(g[f[5].name]=a),d>6&&(g[f[6].name]=s),d>7&&(g[f[7].name]=l),d>8&&(g[f[8].name]=c),d>9&&(g[f[9].name]=p);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,u);break;case 6:g=y.transform(r,o,i,u,a);break;case 7:g=y.transform(r,o,i,u,a,s);break;case 8:g=y.transform(r,o,i,u,a,s,l);break;case 9:g=y.transform(r,o,i,u,a,s,l,c);break;case 10:g=y.transform(r,o,i,u,a,s,l,c,p)}}v.value=g}return h}(t,e,n,r,o,i,u,a,s,l,c,p);default:throw"unreachable"}}(t,e,r,o,i,u,a,s,l,p,f,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++)ka(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++)ta(t,e,i,n[i])&&(o=!0);if(o){var u="";for(i=0;i<n.length;i++)u+=Ms(n[i],r[i]);u=e.text.prefix+u;var a=ju(t,e.nodeIndex).renderText;t.renderer.setValue(a,u)}return o}(t,e,n);case 16384:return function(t,e,n){for(var r=Uu(t,e.nodeIndex),o=r.instance,i=!1,u=void 0,a=0;a<n.length;a++)Xu(t,e,a,n[a])&&(i=!0,u=Es(t,r,e,a,n[a],u));return u&&o.ngOnChanges(u),65536&e.flags&&Vu(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++)ta(t,e,i,n[i])&&(o=!0);if(o){var u=Lu(t,e.nodeIndex),a=void 0;switch(201347067&e.flags){case 32:a=n;break;case 64:for(a={},i=0;i<n.length;i++)a[r[i].name]=n[i];break;case 128:var s=n[0],l=n.slice(1);a=s.transform.apply(s,c(l))}u.value=a}return o}(t,e,n);default:throw"unreachable"}}(t,e,r)}function Ys(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=Mu(t,n).template._projectedViews;if(o)for(var i=0;i<o.length;i++){var u=o[i];u.state|=32,ra(u,t)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function $s(t,e,n,r,o,i,u,a,s,l,c,p,f){return 0===n?function(t,e,n,r,o,i,u,a,s,l,c,p){var f=e.bindings.length;f>0&&ea(t,e,0,n),f>1&&ea(t,e,1,r),f>2&&ea(t,e,2,o),f>3&&ea(t,e,3,i),f>4&&ea(t,e,4,u),f>5&&ea(t,e,5,a),f>6&&ea(t,e,6,s),f>7&&ea(t,e,7,l),f>8&&ea(t,e,8,c),f>9&&ea(t,e,9,p)}(t,e,r,o,i,u,a,s,l,c,p,f):function(t,e,n){for(var r=0;r<n.length;r++)ea(t,e,r,n[r])}(t,e,r),!1}function Js(t,e){if(Hu(t,e.nodeIndex).dirty)throw zu(Fu.createDebugContext(t,e.nodeIndex),"Query "+e.query.id+" not dirty","Query "+e.query.id+" dirty",0!=(1&t.state))}function Xs(t){if(!(128&t.state)){if(nl(t,tl.Destroy),el(t,tl.Destroy),Ts(t,131072),t.disposables)for(var e=0;e<t.disposables.length;e++)t.disposables[e]();!function(t){if(16&t.state){var e=ia(t);if(e){var n=e.template._projectedViews;n&&(Ha(n,n.indexOf(t)),Fu.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(Mu(t,n).renderElement):2&r.flags?t.renderer.destroyNode(ju(t,n).renderText):(67108864&r.flags||134217728&r.flags)&&Hu(t,n).destroy()}}(t),sa(t)&&t.renderer.destroy(),t.state|=128}}var tl=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 el(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?rl(Mu(t,r).componentView,e):0==(33554432&o.childFlags)&&(r+=o.childCount)}}function nl(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=Mu(t,r).viewContainer._embeddedViews,u=0;u<i.length;u++)rl(i[u],e);else 0==(16777216&o.childFlags)&&(r+=o.childCount)}}function rl(t,e){var n=t.state;switch(e){case tl.CheckNoChanges:0==(128&n)&&(12==(12&n)?Zs(t):64&n&&ol(t,tl.CheckNoChangesProjectedViews));break;case tl.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?Zs(t):64&n&&ol(t,e));break;case tl.CheckAndUpdate:0==(128&n)&&(12==(12&n)?Ws(t):64&n&&ol(t,tl.CheckAndUpdateProjectedViews));break;case tl.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?Ws(t):64&n&&ol(t,e));break;case tl.Destroy:Xs(t);break;case tl.CreateViewNodes:Qs(t)}}function ol(t,e){nl(t,e),el(t,e)}function il(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 u=t.def.nodes[i];if(u.flags&e&&u.flags&n)switch(Fu.setCurrentNode(t,u.nodeIndex),r){case 0:As(t,u);break;case 1:Js(t,u)}u.childFlags&e&&u.childFlags&n||(i+=u.childCount)}}var ul=!1;function al(t,e,n,r,o,i){var u=o.injector.get(lo);return zs(ll(t,o,u,e,n),r,i)}function sl(t,e,n,r,o,i){var u=o.injector.get(lo),a=ll(t,o,new ql(u),e,n),s=_l(r);return Fl(kl.create,zs,null,[a,s,i])}function ll(t,e,n,r,o){var i=e.injector.get(Jo),u=e.injector.get(li),a=n.createRenderer(null,null);return{ngModule:e,injector:t,projectableNodes:r,selectorOrNode:o,sanitizer:i,rendererFactory:n,renderer:a,errorHandler:u}}function cl(t,e,n,r){var o=_l(n);return Fl(kl.create,Fs,null,[t,e,o,r])}function pl(t,e,n,r){return n=vl.get(e.element.componentProvider.provider.token)||_l(n),Fl(kl.create,qs,null,[t,e,n,r])}function fl(t,e,n,r){return ns(t,e,n,function(t){var e=function(t){var e=!1,n=!1;return 0===hl.size?{hasOverrides:e,hasDeprecatedOverrides:n}:(t.providers.forEach(function(t){var r=hl.get(t.token);3840&t.flags&&r&&(e=!0,n=n||r.deprecatedBehavior)}),t.modules.forEach(function(t){dl.forEach(function(r,o){Tt(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=hl.get(r.token);o&&(r.flags=-3841&r.flags|o.flags,r.deps=pa(o.deps),r.value=o.value)}if(dl.size>0){var i=new Set(t.modules);dl.forEach(function(e,r){if(i.has(Tt(r).providedIn)){var o={token:r,flags:e.flags|(n?4096:0),deps:pa(e.deps),value:e.value,index:t.providers.length};t.providers.push(o),t.providersByKey[Zu(r)]=o}})}}(t=t.factory(function(){return Gu})),t):t}(r))}var hl=new Map,dl=new Map,vl=new Map;function gl(t){var e;hl.set(t.token,t),"function"==typeof t.token&&(e=Tt(t.token))&&"function"==typeof e.providedIn&&dl.set(t.token,t)}function yl(t,e){var n=da(e.viewDefFactory),r=da(n.nodes[0].element.componentView);vl.set(t,r)}function ml(){hl.clear(),dl.clear(),vl.clear()}function _l(t){if(0===hl.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&&hl.has(o.provider.token)&&(e.push(n.nodeIndex),n=null)}return e}(t);if(0===e.length)return t;t=t.factory(function(){return Gu});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=hl.get(o.token);i&&(r.flags=-3841&r.flags|i.flags,o.deps=pa(i.deps),o.value=i.value)}}}}function bl(t,e,n,r,o,i,u,a,s,l,c,p,f){var h=t.def.nodes[e];return Ks(t,h,n,r,o,i,u,a,s,l,c,p,f),224&h.flags?Lu(t,e).value:void 0}function wl(t,e,n,r,o,i,u,a,s,l,c,p,f){var h=t.def.nodes[e];return $s(t,h,n,r,o,i,u,a,s,l,c,p,f),224&h.flags?Lu(t,e).value:void 0}function Cl(t){return Fl(kl.detectChanges,Ws,null,[t])}function Sl(t){return Fl(kl.checkNoChanges,Zs,null,[t])}function xl(t){return Fl(kl.destroy,Xs,null,[t])}var El,Tl,Ol,kl=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 Pl(t,e){Tl=t,Ol=e}function Al(t,e,n,r){return Pl(t,e),Fl(kl.handleEvent,t.def.handleEvent,null,[t,e,n,r])}function Il(t,e){if(128&t.state)throw Bu(kl[El]);return Pl(t,Ml(t,0)),t.def.updateDirectives(function(t,n,r){for(var o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];var u=t.def.nodes[n];return 0===e?Nl(t,u,r,o):Dl(t,u,r,o),16384&u.flags&&Pl(t,Ml(t,n)),224&u.flags?Lu(t,u.nodeIndex).value:void 0},t)}function Rl(t,e){if(128&t.state)throw Bu(kl[El]);return Pl(t,Ul(t,0)),t.def.updateRenderer(function(t,n,r){for(var o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];var u=t.def.nodes[n];return 0===e?Nl(t,u,r,o):Dl(t,u,r,o),3&u.flags&&Pl(t,Ul(t,n)),224&u.flags?Lu(t,u.nodeIndex).value:void 0},t)}function Nl(t,e,n,r){if(Ks.apply(void 0,c([t,e,n],r))){var o=1===n?r[0]:r;if(16384&e.flags){for(var i={},u=0;u<e.bindings.length;u++){var a=e.bindings[u],s=o[u];8&a.flags&&(i[(h=a.nonMinifiedName,d=void 0,d=h.replace(/[$@]/g,"_"),"ng-reflect-"+(h=d.replace(Vl,function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return"-"+t[1].toLowerCase()})))]=jl(s))}var l=e.parent,p=Mu(t,l.nodeIndex).renderElement;if(l.element.name)for(var f in i)null!=(s=i[f])?t.renderer.setAttribute(p,f,s):t.renderer.removeAttribute(p,f);else t.renderer.setValue(p,"bindings="+JSON.stringify(i,null,2))}}var h,d}function Dl(t,e,n,r){$s.apply(void 0,c([t,e,n],r))}var Vl=/([A-Z])/g;function jl(t){try{return null!=t?t.toString().slice(0,30):t}catch(e){return"[ERROR] Exception while trying to serialize the value"}}function Ml(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 Ul(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 Ll=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=ua(r),r=r.parent;this.elDef=n,this.elView=r}return Object.defineProperty(t.prototype,"elOrCompView",{get:function(){return Mu(this.elView,this.elDef.nodeIndex).componentView||this.view},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return $a(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){Hl(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&&Hl(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&&!sa(t);)t=t.parent;return t.parent?Mu(t.parent,ua(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?aa(this.view,this.nodeDef):aa(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),u=-1;e.factory(function(){var e;return++u===i?(e=t.error).bind.apply(e,c([t],r)):Gu}),u<i&&(t.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),t.error.apply(t,c(r)))},t}();function Hl(t,e,n){for(var r in e.references)n[r]=Rs(t,e,e.references[r])}function Fl(t,e,n,r){var o=El,i=Tl,u=Ol;try{El=t;var a=e.apply(n,r);return Tl=i,Ol=u,El=o,a}catch(s){if(ui(s)||!Tl)throw s;throw function(t,e){return t instanceof Error||(t=new Error(t.toString())),qu(t,e),t}(s,zl())}}function zl(){return Tl?new Ll(Tl,Ol):null}var ql=function(){function t(t){this.delegate=t}return t.prototype.createRenderer=function(t,e){return new Bl(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}(),Bl=function(){function t(t){this.delegate=t,this.debugContextFactory=zl,this.data=this.delegate.data}return t.prototype.createDebugContext=function(t){return this.debugContextFactory(t)},t.prototype.destroyNode=function(t){!function(t){cu.delete(t.nativeNode)}(pu(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 lu(n,null,r);o.name=t,fu(o)}return n},t.prototype.createComment=function(t){var e=this.delegate.createComment(t),n=this.createDebugContext(e);return n&&fu(new su(e,null,n)),e},t.prototype.createText=function(t){var e=this.delegate.createText(t),n=this.createDebugContext(e);return n&&fu(new su(e,null,n)),e},t.prototype.appendChild=function(t,e){var n=pu(t),r=pu(e);n&&r&&n instanceof lu&&n.addChild(r),this.delegate.appendChild(t,e)},t.prototype.insertBefore=function(t,e,n){var r=pu(t),o=pu(e),i=pu(n);r&&o&&r instanceof lu&&r.insertBefore(i,o),this.delegate.insertBefore(t,e,n)},t.prototype.removeChild=function(t,e){var n=pu(t),r=pu(e);n&&r&&n instanceof lu&&n.removeChild(r),this.delegate.removeChild(t,e)},t.prototype.selectRootElement=function(t,e){var n=this.delegate.selectRootElement(t,e),r=zl()||null;return r&&fu(new lu(n,null,r)),n},t.prototype.setAttribute=function(t,e,n,r){var o=pu(t);o&&o instanceof lu&&(o.attributes[r?r+":"+e:e]=n),this.delegate.setAttribute(t,e,n,r)},t.prototype.removeAttribute=function(t,e,n){var r=pu(t);r&&r instanceof lu&&(r.attributes[n?n+":"+e:e]=null),this.delegate.removeAttribute(t,e,n)},t.prototype.addClass=function(t,e){var n=pu(t);n&&n instanceof lu&&(n.classes[e]=!0),this.delegate.addClass(t,e)},t.prototype.removeClass=function(t,e){var n=pu(t);n&&n instanceof lu&&(n.classes[e]=!1),this.delegate.removeClass(t,e)},t.prototype.setStyle=function(t,e,n,r){var o=pu(t);o&&o instanceof lu&&(o.styles[e]=n),this.delegate.setStyle(t,e,n,r)},t.prototype.removeStyle=function(t,e,n){var r=pu(t);r&&r instanceof lu&&(r.styles[e]=null),this.delegate.removeStyle(t,e,n)},t.prototype.setProperty=function(t,e,n){var r=pu(t);r&&r instanceof lu&&(r.properties[e]=n),this.delegate.setProperty(t,e,n)},t.prototype.listen=function(t,e,n){if("string"!=typeof t){var r=pu(t);r&&r.listeners.push(new au(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 Gl(t,e,n){return new Ql(t,e,n)}var Ql=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(!ul){ul=!0;var t=Eo()?{setCurrentNode:Pl,createRootView:sl,createEmbeddedView:cl,createComponentView:pl,createNgModuleRef:fl,overrideProvider:gl,overrideComponentView:yl,clearOverrides:ml,checkAndUpdateView:Cl,checkNoChangesView:Sl,destroyView:xl,createDebugContext:function(t,e){return new Ll(t,e)},handleEvent:Al,updateDirectives:Il,updateRenderer:Rl}:{setCurrentNode:function(){},createRootView:al,createEmbeddedView:Fs,createComponentView:qs,createNgModuleRef:ns,overrideProvider:Gu,overrideComponentView:Gu,clearOverrides:Gu,checkAndUpdateView:Ws,checkNoChangesView:Zs,destroyView:Xs,createDebugContext:function(t,e){return new Ll(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?bl:wl,t)},updateRenderer:function(t,e){return t.def.updateRenderer(0===e?bl:wl,t)}};Fu.setCurrentNode=t.setCurrentNode,Fu.createRootView=t.createRootView,Fu.createEmbeddedView=t.createEmbeddedView,Fu.createComponentView=t.createComponentView,Fu.createNgModuleRef=t.createNgModuleRef,Fu.overrideProvider=t.overrideProvider,Fu.overrideComponentView=t.overrideComponentView,Fu.clearOverrides=t.clearOverrides,Fu.checkAndUpdateView=t.checkAndUpdateView,Fu.checkNoChangesView=t.checkNoChangesView,Fu.destroyView=t.destroyView,Fu.resolveDep=Ss,Fu.createDebugContext=t.createDebugContext,Fu.handleEvent=t.handleEvent,Fu.updateDirectives=t.updateDirectives,Fu.updateRenderer=t.updateRenderer,Fu.dirtyParentQueries=Ps}}();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}}(da(this._ngModuleDefFactory));return Fu.createNgModuleRef(this.moduleType,t||Bn.NULL,this._bootstrapComponents,e)},e}(ir),Zl=function(){return function(){}}(),Wl=function(){return function(){this.title="Inspirational Quotes"}}(),Kl=new N(function(t){return t.complete()});function Yl(t){return t?function(t){return new N(function(e){return t.schedule(function(){return e.complete()})})}(t):Kl}function $l(t){var e=new N(function(e){e.next(t),e.complete()});return e._isScalar=!0,e.value=t,e}function Jl(){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 Yl(n);case 1:return n?rt(t,n):$l(t[0]);default:return rt(t,n)}}var Xl=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 j;return this._value},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(L);function tc(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}tc.prototype=Object.create(Error.prototype);var ec=tc,nc={},rc=function(){function t(t){this.resultSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new oc(t,this.resultSelector))},t}(),oc=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(nc),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(J(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,u=this.toRespond?i[n]===nc?--this.toRespond:this.toRespond:0;i[n]=e,0===u&&(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 ic(t){return new N(function(e){var n;try{n=t()}catch(r){return void e.error(r)}return(n?ot(n):Yl()).subscribe(e)})}function uc(){return lt(1)}function ac(t,e){return function(n){return n.lift(new sc(t,e))}}var sc=function(){function t(t,e){this.predicate=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new lc(t,this.predicate,this.thisArg))},t}(),lc=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}(O);function cc(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}cc.prototype=Object.create(Error.prototype);var pc=cc;function fc(t){return function(e){return 0===t?Yl():e.lift(new hc(t))}}var hc=function(){function t(t){if(this.total=t,this.total<0)throw new pc}return t.prototype.call=function(t,e){return e.subscribe(new dc(t,this.total))},t}(),dc=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}(O);function vc(t,e,n){return function(r){return r.lift(new gc(t,e,n))}}var gc=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 yc(t,this.nextOrObserver,this.error,this.complete))},t}(),yc=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}(O),mc=function(t){return void 0===t&&(t=_c),vc({hasValue:!1,next:function(){this.hasValue=!0},complete:function(){if(!this.hasValue)throw t()}})};function _c(){return new ec}function bc(t){return void 0===t&&(t=null),function(e){return e.lift(new wc(t))}}var wc=function(){function t(t){this.defaultValue=t}return t.prototype.call=function(t,e){return e.subscribe(new Cc(t,this.defaultValue))},t}(),Cc=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}(O);function Sc(t,e){var n=arguments.length>=2;return function(r){return r.pipe(t?ac(function(e,n){return t(e,n,r)}):st,fc(1),n?bc(e):mc(function(){return new ec}))}}function xc(t){return function(e){var n=new Ec(t),r=e.lift(n);return n.caught=r}}var Ec=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e.subscribe(new Tc(t,this.selector,this.caught))},t}(),Tc=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),J(this,n,void 0,void 0,r)}},e}(X);function Oc(t){return function(e){return 0===t?Yl():e.lift(new kc(t))}}var kc=function(){function t(t){if(this.total=t,this.total<0)throw new pc}return t.prototype.call=function(t,e){return e.subscribe(new Pc(t,this.total))},t}(),Pc=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}(O);function Ac(t,e){var n=arguments.length>=2;return function(r){return r.pipe(t?ac(function(e,n){return t(e,n,r)}):st,Oc(1),n?bc(e):mc(function(){return new ec}))}}var Ic=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 Rc(t,this.predicate,this.thisArg,this.source))},t}(),Rc=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}(O);function Nc(t,e){return"function"==typeof e?function(n){return n.pipe(Nc(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 Dc(t))}}var Dc=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new Vc(t,this.project))},t}(),Vc=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=J(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 jc(t,e){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new Mc(t,e,n))}}var Mc=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 Uc(t,this.accumulator,this.seed,this.hasSeed))},t}(),Uc=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}(O);function Lc(t,e){return it(t,e,1)}var Hc=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new Fc(t,this.callback))},t}(),Fc=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}(O),zc=function(){return function(){}}(),qc=new kt("Location Initialized"),Bc=function(){return function(){}}(),Gc=new kt("appBaseHref"),Qc=function(){function t(t){var n=this;this._subject=new Wo,this._platformStrategy=t;var r=this._platformStrategy.getBaseHref();this._baseHref=e.stripTrailingSlash(Zc(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,Zc(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 Zc(t){return t.replace(/\/index.html$/,"")}var Wc=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=Qc.joinWithSlash(this._baseHref,t);return e.length>0?"#"+e:e},e.prototype.pushState=function(t,e,n,r){var o=this.prepareExternalUrl(n+Qc.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+Qc.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}(Bc),Kc=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 Qc.joinWithSlash(this._baseHref,t)},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.pathname+Qc.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+Qc.normalizeQueryParams(r));this._platformLocation.pushState(t,e,o)},e.prototype.replaceState=function(t,e,n,r){var o=this.prepareExternalUrl(n+Qc.normalizeQueryParams(r));this._platformLocation.replaceState(t,e,o)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(Bc),Yc=void 0,$c=["en",[["a","p"],["AM","PM"],Yc],[["AM","PM"],Yc,Yc],[["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"]],Yc,[["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"]],Yc,[["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}",Yc,"{1} 'at' {0}",Yc],[".",",",";","%","+","-","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}],Jc={},Xc=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}({}),tp=new kt("UseV4Plurals"),ep=function(){return function(){}}(),np=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=Jc[e];if(n)return n;var r=e.split("-")[0];if(n=Jc[r])return n;if("en"===r)return $c;throw new Error('Missing locale data for the locale "'+t+'".')}(t)[18]}(e||this.locale)(t)){case Xc.Zero:return"zero";case Xc.One:return"one";case Xc.Two:return"two";case Xc.Few:return"few";case Xc.Many:return"many";default:return"other"}},e}(ep),rp=function(){function t(t,e,n,r){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=r}return Object.defineProperty(t.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),t}(),op=function(){function t(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOfDirty=!0,this._differ=null}return Object.defineProperty(t.prototype,"ngForOf",{set:function(t){this._ngForOf=t,this._ngForOfDirty=!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(t){Eo()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(t)+". See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTemplate",{set:function(t){t&&(this._template=t)},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var t=this._ngForOf;if(!this._differ&&t)try{this._differ=this._differs.find(t).create(this.ngForTrackBy)}catch(r){throw new Error("Cannot find a differ supporting object '"+t+"' of type '"+((e=t).name||typeof e)+"'. NgFor only supports binding to Iterables such as Arrays.")}}var e;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}},t.prototype._applyChanges=function(t){var e=this,n=[];t.forEachOperation(function(t,r,o){if(null==t.previousIndex){var i=e._viewContainer.createEmbeddedView(e._template,new rp(null,e._ngForOf,-1,-1),o),u=new ip(t,i);n.push(u)}else null==o?e._viewContainer.remove(r):(i=e._viewContainer.get(r),e._viewContainer.move(i,o),u=new ip(t,i),n.push(u))});for(var r=0;r<n.length;r++)this._perViewChange(n[r].view,n[r].record);r=0;for(var o=this._viewContainer.length;r<o;r++){var i=this._viewContainer.get(r);i.context.index=r,i.context.count=o,i.context.ngForOf=this._ngForOf}t.forEachIdentityChange(function(t){e._viewContainer.get(t.currentIndex).context.$implicit=t.item})},t.prototype._perViewChange=function(t,e){t.context.$implicit=e.item},t.ngTemplateContextGuard=function(t,e){return!0},t}(),ip=function(){return function(t,e){this.record=t,this.view=e}}(),up=function(){return function(){}}(),ap=new kt("DocumentToken"),sp="server",lp=function(){function t(){}return t.ngInjectableDef=Et({providedIn:"root",factory:function(){return new cp(te(ap),window)}}),t}(),cp=function(){function t(t,e){this.document=t,this.window=e,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()){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)}},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}(),pp=null;function fp(){return pp}var hp,dp={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},vp={"\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"},gp={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"};Ut.Node&&(hp=Ut.Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))});var yp,mp=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,pp||(pp=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 dp},enumerable:!0,configurable:!0}),e.prototype.contains=function(t,e){return hp.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&&gp.hasOwnProperty(e)&&(e=gp[e]))}return vp[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=_p||(_p=document.querySelector("base"))?_p.getAttribute("href"):null;return null==n?null:(e=n,yp||(yp=document.createElement("a")),yp.setAttribute("href",e),"/"===yp.pathname.charAt(0)?yp.pathname:"/"+yp.pathname)},e.prototype.resetBaseElement=function(){_p=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 u=i.value,a=u.indexOf("="),c=l(-1==a?[u,""]:[u.slice(0,a),u.slice(a+1)],2),p=c[1];if(c[0].trim()===e)return decodeURIComponent(p)}}catch(f){n={error:f}}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(u){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}())),_p=null,bp=ap;function wp(){return!!window.history.pushState}var Cp=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=fp().getLocation(),this._history=fp().getHistory()},e.prototype.getBaseHrefFromDOM=function(){return fp().getBaseHref(this._doc)},e.prototype.onPopState=function(t){fp().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)},e.prototype.onHashChange=function(t){fp().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){wp()?this._history.pushState(t,e,n):this.location.hash=n},e.prototype.replaceState=function(t,e,n){wp()?this._history.replaceState(t,e,n):this.location.hash=n},e.prototype.forward=function(){this._history.forward()},e.prototype.back=function(){this._history.back()},u([(n=Qt(bp),function(t,e){n(t,e,0)}),a("design:paramtypes",[Object])],e)}(zc),Sp=new kt("TRANSITION_ID"),xp=[{provide:fi,useFactory:function(t,e,n){return function(){n.get(hi).donePromise.then(function(){var n=fp();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:[Sp,bp,Bn],multi:!0}],Ep=function(){function t(){}return t.init=function(){var e;e=new t,Fi=e},t.prototype.addToWindow=function(t){Ut.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},Ut.getAllAngularTestabilities=function(){return t.getAllTestabilities()},Ut.getAllAngularRootElements=function(){return t.getAllRootElements()},Ut.frameworkStabilizers||(Ut.frameworkStabilizers=[]),Ut.frameworkStabilizers.push(function(t){var e=Ut.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?fp().isShadowRoot(e)?this.findTestabilityInTree(t,fp().getHost(e),!0):this.findTestabilityInTree(t,fp().parentElement(e),!0):null},t}();function Tp(t,e){"undefined"!=typeof COMPILED&&COMPILED||((Ut.ng=Ut.ng||{})[t]=e)}var Op={ApplicationRef:Wi,NgZone:Ii};function kp(t){return pu(t)}var Pp=new kt("EventManagerPlugins"),Ap=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}(),Ip=function(){function t(t){this._doc=t}return t.prototype.addGlobalEventListener=function(t,e,n){var r=fp().getGlobalEventTarget(this._doc,t);if(!r)throw new Error("Unsupported event target "+r+" for event "+e);return this.addEventListener(r,e,n)},t}(),Rp=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}(),Np=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 fp().remove(t)})},e}(Rp),Dp={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/"},Vp=/%COMP%/g,jp="_nghost-%COMP%",Mp="_ngcontent-%COMP%";function Up(t,e,n){for(var r=0;r<e.length;r++){var o=e[r];Array.isArray(o)?Up(t,o,n):(o=o.replace(Vp,t),n.push(o))}return n}function Lp(t){return function(e){!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}var Hp=function(){function t(t,e){this.eventManager=t,this.sharedStylesHost=e,this.rendererByCompId=new Map,this.defaultRenderer=new Fp(t)}return t.prototype.createRenderer=function(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case Vt.Emulated:var n=this.rendererByCompId.get(e.id);return n||(n=new Gp(this.eventManager,this.sharedStylesHost,e),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n;case Vt.Native:case Vt.ShadowDom:return new Qp(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){var r=Up(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}(),Fp=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(Dp[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=Dp[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=Dp[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&co.DashCase?t.style.setProperty(e,n,r&co.Important?"important":""):t.style[e]=n},t.prototype.removeStyle=function(t,e,n){n&co.DashCase?t.style.removeProperty(e):t.style[e]=""},t.prototype.setProperty=function(t,e,n){qp(e,"property"),t[e]=n},t.prototype.setValue=function(t,e){t.nodeValue=e},t.prototype.listen=function(t,e,n){return qp(e,"listener"),"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,Lp(n)):this.eventManager.addEventListener(t,e,Lp(n))},t}(),zp="@".charCodeAt(0);function qp(t,e){if(t.charCodeAt(0)===zp)throw new Error("Found the synthetic "+e+" "+t+'. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.')}var Bp,Gp=function(t){function e(e,n,r){var o=t.call(this,e)||this;o.component=r;var i=Up(r.id,r.styles,[]);return n.addStyles(i),o.contentAttr=Mp.replace(Vp,r.id),o.hostAttr=jp.replace(Vp,r.id),o}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}(Fp),Qp=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===Vt.ShadowDom?r.attachShadow({mode:"open"}):r.createShadowRoot(),i.sharedStylesHost.addHost(i.shadowRoot);for(var u=Up(o.id,o.styles,[]),a=0;a<u.length;a++){var s=document.createElement("style");s.textContent=u[a],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}(Fp),Zp="undefined"!=typeof Zone&&Zone.__symbol__||function(t){return"__zone_symbol__"+t},Wp=Zp("addEventListener"),Kp=Zp("removeEventListener"),Yp={},$p="__zone_symbol__propagationStopped";"undefined"!=typeof Zone&&Zone[Zp("BLACK_LISTED_EVENTS")]&&(Bp={});var Jp=function(t){return!!Bp&&Bp.hasOwnProperty(t)},Xp=function(t){var e=Yp[t.type];if(e){var n=this[e];if(n){var r=[t];if(1===n.length)return(u=n[0]).zone!==Zone.current?u.zone.run(u.handler,this,r):u.handler.apply(this,r);for(var o=n.slice(),i=0;i<o.length&&!0!==t[$p];i++){var u;(u=o[i]).zone!==Zone.current?u.zone.run(u.handler,this,r):u.handler.apply(this,r)}}}},tf=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.ngZone=n,r&&function(t){return t===sp}(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[$p]=!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[Wp]||Ii.isInAngularZone()&&!Jp(e))t.addEventListener(e,o,!1);else{var i=Yp[e];i||(i=Yp[e]=Zp("ANGULAR"+e+"FALSE"));var u=t[i],a=u&&u.length>0;u||(u=t[i]=[]);var s=Jp(e)?Zone.root:Zone.current;if(0===u.length)u.push({zone:s,handler:o});else{for(var l=!1,c=0;c<u.length;c++)if(u[c].handler===o){l=!0;break}l||u.push({zone:s,handler:o})}a||t[Wp](e,Xp,!1)}return function(){return r.removeEventListener(t,e,o)}},e.prototype.removeEventListener=function(t,e,n){var r=t[Kp];if(!r)return t.removeEventListener.apply(t,[e,n,!1]);var o=Yp[e],i=o&&t[o];if(!i)return t.removeEventListener.apply(t,[e,n,!1]);for(var u=!1,a=0;a<i.length;a++)if(i[a].handler===n){u=!0,i.splice(a,1);break}u?0===i.length&&r.apply(t,[e,Xp,!1]):t.removeEventListener.apply(t,[e,n,!1])},e}(Ip),ef={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},nf=new kt("HammerGestureConfig"),rf=new kt("HammerLoader"),of=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}(),uf=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!(!ef.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,u=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(u=function(){});i||(u=r.addEventListener(t,e,n))}).catch(function(){r.console.warn('The "'+e+'" event cannot be bound because the custom Hammer.JS loader failed.'),u=function(){}}),function(){u()}}return o.runOutsideAngular(function(){var i=r._config.buildHammer(t),u=function(t){o.runGuarded(function(){n(t)})};return i.on(e,u),function(){i.off(e,u),"function"==typeof i.destroy&&i.destroy()}})},e.prototype.isCustomEvent=function(t){return this._config.events.indexOf(t)>-1},e}(Ip),af=["alt","control","meta","shift"],sf={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},lf=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 fp().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(af.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 u={};return u.domEventName=r,u.fullKey=i,u},e.getEventFullKey=function(t){var e="",n=fp().getEventKey(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),af.forEach(function(r){r!=n&&(0,sf[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}(Ip),cf=function(){return function(){}}(),pf=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 $o.NONE:return e;case $o.HTML:return e instanceof hf?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),function(t,e){var n=null;try{Ro=Ro||new To(t);var r=e?String(e):"";n=Ro.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=Ro.getInertBodyElement(r)}while(r!==i);var u=new Fo,a=u.sanitizeChildren(Go(n)||n);return Eo()&&u.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss)."),a}finally{if(n)for(var s=Go(n)||n;s.firstChild;)s.removeChild(s.firstChild)}}(this._doc,String(e)));case $o.STYLE:return e instanceof df?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),function(t){if(!(t=String(t).trim()))return"";var e=t.match(ti);return e&&Po(e[1])===e[1]||t.match(Xo)&&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:(Eo()&&console.warn("WARNING: sanitizing unsafe style value "+t+" (see http://g.co/ng/security#xss)."),"unsafe")}(e));case $o.SCRIPT:if(e instanceof vf)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"Script"),new Error("unsafe value used in a script context");case $o.URL:return e instanceof yf||e instanceof gf?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"URL"),Po(String(e)));case $o.RESOURCE_URL:if(e instanceof yf)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 ff)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 hf(t)},e.prototype.bypassSecurityTrustStyle=function(t){return new df(t)},e.prototype.bypassSecurityTrustScript=function(t){return new vf(t)},e.prototype.bypassSecurityTrustUrl=function(t){return new gf(t)},e.prototype.bypassSecurityTrustResourceUrl=function(t){return new yf(t)},e}(cf),ff=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}(),hf=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTypeName=function(){return"HTML"},e}(ff),df=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTypeName=function(){return"Style"},e}(ff),vf=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTypeName=function(){return"Script"},e}(ff),gf=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTypeName=function(){return"URL"},e}(ff),yf=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTypeName=function(){return"ResourceURL"},e}(ff),mf=Bi(ku,"browser",[{provide:mi,useValue:"browser"},{provide:yi,useValue:function(){mp.makeCurrent(),Ep.init()},multi:!0},{provide:zc,useClass:Cp,deps:[bp]},{provide:bp,useFactory:function(){return document},deps:[]}]);function _f(){return new li}var bf=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:di,useValue:t.appId},{provide:Sp,useExisting:di},xp]}},t}();"undefined"!=typeof window&&window;var wf=function(){return function(t,e){this.id=t,this.url=e}}(),Cf=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}(wf),Sf=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}(wf),xf=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}(wf),Ef=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}(wf),Tf=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}(wf),Of=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}(wf),kf=function(t){function e(e,n,r,o,i){var u=t.call(this,e,n)||this;return u.urlAfterRedirects=r,u.state=o,u.shouldActivate=i,u}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}(wf),Pf=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}(wf),Af=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}(wf),If=function(){function t(t){this.route=t}return t.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"},t}(),Rf=function(){function t(t){this.route=t}return t.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"},t}(),Nf=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),Df=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),Vf=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),jf=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),Mf=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}(),Uf=function(){return function(){}}(),Lf="primary",Hf=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 Ff(t){return new Hf(t)}var zf="ngNavigationCancelingError";function qf(t){var e=Error("NavigationCancelingError: "+t);return e[zf]=!0,e}function Bf(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 u=r[i],a=t[i];if(u.startsWith(":"))o[u.substring(1)]=a;else if(u!==a.path)return null}return{consumed:t.slice(0,r.length),posParams:o}}var Gf=function(){return function(t,e){this.routes=t,this.module=e}}();function Qf(t,e){void 0===e&&(e="");for(var n=0;n<t.length;n++){var r=t[n];Zf(r,Wf(e,r))}}function Zf(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!==Lf)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&&Qf(t.children,e)}function Wf(t,e){return e?t||e.path?t&&!e.path?t+"/":!t&&e.path?e.path:t+"/"+e.path:"":t}function Kf(t){var e=t.children&&t.children.map(Kf),n=e?i({},t,{children:e}):i({},t);return!n.component&&(e||n.loadChildren)&&n.outlet&&n.outlet!==Lf&&(n.component=Uf),n}function Yf(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 $f(t){return Array.prototype.concat.apply([],t)}function Jf(t){return t.length>0?t[t.length-1]:null}function Xf(t,e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)}function th(t){return pi(t)?t:ci(t)?ot(Promise.resolve(t)):Jl(t)}function eh(t,e,n){return n?function(t,e){return Yf(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!ih(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!!ih(u=n.segments.slice(0,o.length),o)&&!r.hasChildren();if(n.segments.length===o.length){if(!ih(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 u=o.slice(0,n.segments.length),a=o.slice(n.segments.length);return!!ih(n.segments,u)&&!!n.children[Lf]&&e(n.children[Lf],r,a)}(e,n,n.segments)}(t.root,e.root)}var nh=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=Ff(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return lh.serialize(this)},t}(),rh=function(){function t(t,e){var n=this;this.segments=t,this.children=e,this.parent=null,Xf(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 ch(this)},t}(),oh=function(){function t(t,e){this.path=t,this.parameters=e}return Object.defineProperty(t.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=Ff(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return gh(this)},t}();function ih(t,e){return t.length===e.length&&t.every(function(t,n){return t.path===e[n].path})}function uh(t,e){var n=[];return Xf(t.children,function(t,r){r===Lf&&(n=n.concat(e(t,r)))}),Xf(t.children,function(t,r){r!==Lf&&(n=n.concat(e(t,r)))}),n}var ah=function(){return function(){}}(),sh=function(){function t(){}return t.prototype.parse=function(t){var e=new wh(t);return new nh(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())},t.prototype.serialize=function(t){var e,n;return"/"+function t(e,n){if(!e.hasChildren())return ch(e);if(n){var r=e.children[Lf]?t(e.children[Lf],!1):"",o=[];return Xf(e.children,function(e,n){n!==Lf&&o.push(n+":"+t(e,!1))}),o.length>0?r+"("+o.join("//")+")":r}var i=uh(e,function(n,r){return r===Lf?[t(e.children[Lf],!1)]:[r+":"+t(n,!1)]});return ch(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 fh(t)+"="+fh(e)}).join("&"):fh(t)+"="+fh(n)})).length?"?"+n.join("&"):"")+("string"==typeof t.fragment?"#"+encodeURI(t.fragment):"")},t}(),lh=new sh;function ch(t){return t.segments.map(function(t){return gh(t)}).join("/")}function ph(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function fh(t){return ph(t).replace(/%3B/gi,";")}function hh(t){return ph(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function dh(t){return decodeURIComponent(t)}function vh(t){return dh(t.replace(/\+/g,"%20"))}function gh(t){return""+hh(t.path)+(e=t.parameters,Object.keys(e).map(function(t){return";"+hh(t)+"="+hh(e[t])}).join(""));var e}var yh=/^[^\/()?;=#]+/;function mh(t){var e=t.match(yh);return e?e[0]:""}var _h=/^[^=?&#]+/,bh=/^[^?&#]+/,wh=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 rh([],{}):new rh([],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[Lf]=new rh(t,e)),n},t.prototype.parseSegment=function(){var t=mh(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(t),new oh(dh(t),this.parseMatrixParams())},t.prototype.parseMatrixParams=function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t},t.prototype.parseParam=function(t){var e=mh(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var r=mh(this.remaining);r&&this.capture(n=r)}t[dh(e)]=dh(n)}},t.prototype.parseQueryParam=function(t){var e,n=(e=this.remaining.match(_h))?e[0]:"";if(n){this.capture(n);var r="";if(this.consumeOptional("=")){var o=function(t){var e=t.match(bh);return e?e[0]:""}(this.remaining);o&&this.capture(r=o)}var i=vh(n),u=vh(r);if(t.hasOwnProperty(i)){var a=t[i];Array.isArray(a)||(t[i]=a=[a]),a.push(u)}else t[i]=u}},t.prototype.parseParens=function(t){var e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=mh(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=Lf);var i=this.parseChildren();e[o]=1===Object.keys(i).length?i[Lf]:new rh([],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}(),Ch=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=Sh(t,this._root);return e?e.children.map(function(t){return t.value}):[]},t.prototype.firstChild=function(t){var e=Sh(t,this._root);return e&&e.children.length>0?e.children[0].value:null},t.prototype.siblings=function(t){var e=xh(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 xh(t,this._root).map(function(t){return t.value})},t}();function Sh(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 u=Sh(t,i.value);if(u)return u}}catch(a){n={error:a}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return null}function xh(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 u=xh(t,i.value);if(u.length)return u.unshift(e),u}}catch(a){n={error:a}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return[]}var Eh=function(){function t(t,e){this.value=t,this.children=e}return t.prototype.toString=function(){return"TreeNode("+this.value+")"},t}();function Th(t){var e={};return t&&t.children.forEach(function(t){return e[t.value.outlet]=t}),e}var Oh=function(t){function e(e,n){var r=t.call(this,e)||this;return r.snapshot=n,Nh(r,e),r}return o(e,t),e.prototype.toString=function(){return this.snapshot.toString()},e}(Ch);function kh(t,e){var n=function(t,e){var n=new Ih([],{},{},"",{},Lf,e,null,t.root,-1,{});return new Rh("",new Eh(n,[]))}(t,e),r=new Xl([new oh("",{})]),o=new Xl({}),i=new Xl({}),u=new Xl({}),a=new Xl(""),s=new Ph(r,o,u,a,i,Lf,e,n.root);return s.snapshot=n.root,new Oh(new Eh(s,[]),n)}var Ph=function(){function t(t,e,n,r,o,i,u,a){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=i,this.component=u,this._futureSnapshot=a}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 Ff(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 Ff(t)}))),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},t}();function Ah(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],u=n[r-1];if(o.routeConfig&&""===o.routeConfig.path)r--;else{if(u.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 Ih=function(){function t(t,e,n,r,o,i,u,a,s,l,c){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=i,this.component=u,this.routeConfig=a,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=Ff(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=Ff(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}(),Rh=function(t){function e(e,n){var r=t.call(this,n)||this;return r.url=e,Nh(r,n),r}return o(e,t),e.prototype.toString=function(){return Dh(this._root)},e}(Ch);function Nh(t,e){e.value._routerState=t,e.children.forEach(function(e){return Nh(t,e)})}function Dh(t){var e=t.children.length>0?" { "+t.children.map(Dh).join(", ")+" } ":"";return""+t.value+e}function Vh(t){if(t.snapshot){var e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,Yf(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),Yf(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(!Yf(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.url.next(n.url),Yf(e.data,n.data)||t.data.next(n.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function jh(t,e){var n,r;return Yf(t.params,e.params)&&ih(n=t.url,r=e.url)&&n.every(function(t,e){return Yf(t.parameters,r[e].parameters)})&&!(!t.parent!=!e.parent)&&(!t.parent||jh(t.parent,e.parent))}function Mh(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function Uh(t,e,n,r,o){var i={};return r&&Xf(r,function(t,e){i[e]=Array.isArray(t)?t.map(function(t){return""+t}):""+t}),new nh(n.root===t?e:function t(e,n,r){var o={};return Xf(e.children,function(e,i){o[i]=e===n?r:t(e,n,r)}),new rh(e.segments,o)}(n.root,t,e),i,o)}var Lh=function(){function t(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&Mh(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!==Jf(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}(),Hh=function(){return function(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}();function Fh(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets[Lf]:""+t}function zh(t,e,n){if(t||(t=new rh([],{})),0===t.segments.length&&t.hasChildren())return qh(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 u=t.segments[o],a=Fh(n[r]),s=r<n.length-1?n[r+1]:null;if(o>0&&void 0===a)break;if(a&&s&&"object"==typeof s&&void 0===s.outlets){if(!Zh(a,s,u))return i;r+=2}else{if(!Zh(a,{},u))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 rh(t.segments.slice(0,r.pathIndex),{});return i.children[Lf]=new rh(t.segments.slice(r.pathIndex),t.children),qh(i,0,o)}return r.match&&0===o.length?new rh(t.segments,{}):r.match&&!t.hasChildren()?Bh(t,e,n):r.match?qh(t,0,o):Bh(t,e,n)}function qh(t,e,n){if(0===n.length)return new rh(t.segments,{});var r=function(t){var e,n;return"object"!=typeof t[0]?((e={})[Lf]=t,e):void 0===t[0].outlets?((n={})[Lf]=t,n):t[0].outlets}(n),o={};return Xf(r,function(n,r){null!==n&&(o[r]=zh(t.children[r],e,n))}),Xf(t.children,function(t,e){void 0===r[e]&&(o[e]=t)}),new rh(t.segments,o)}function Bh(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=Gh(n[o].outlets);return new rh(r,i)}if(0===o&&Mh(n[0]))r.push(new oh(t.segments[e].path,n[0])),o++;else{var u=Fh(n[o]),a=o<n.length-1?n[o+1]:null;u&&a&&Mh(a)?(r.push(new oh(u,Qh(a))),o+=2):(r.push(new oh(u,{})),o++)}}return new rh(r,{})}function Gh(t){var e={};return Xf(t,function(t,n){null!==t&&(e[n]=Bh(new rh([],{}),0,t))}),e}function Qh(t){var e={};return Xf(t,function(t,n){return e[n]=""+t}),e}function Zh(t,e,n){return t==n.path&&Yf(e,n.parameters)}var Wh=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),Vh(this.futureState.root),this.activateChildRoutes(e,n,t)},t.prototype.deactivateChildRoutes=function(t,e,n){var r=this,o=Th(e);t.children.forEach(function(t){var e=t.value.outlet;r.deactivateRoutes(t,o[e],n),delete o[e]}),Xf(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=Th(t),i=t.value.component?r.children:e;Xf(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=Th(e);t.children.forEach(function(t){r.activateRoutes(t,o[t.value.outlet],n),r.forwardEvent(new jf(t.value.snapshot))}),t.children.length&&this.forwardEvent(new Df(t.value.snapshot))},t.prototype.activateRoutes=function(t,e,n){var r=t.value,o=e?e.value:null;if(Vh(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 u=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),i.children.onOutletReAttached(u.contexts),i.attachRef=u.componentRef,i.route=u.route.value,i.outlet&&i.outlet.attach(u.componentRef,u.route.value),Kh(u.route)}else{var a=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=a?a.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 Kh(t){Vh(t.value),t.children.forEach(Kh)}function Yh(t){return"function"==typeof t}function $h(t){return t instanceof nh}var Jh=function(){return function(t){this.segmentGroup=t||null}}(),Xh=function(){return function(t){this.urlTree=t}}();function td(t){return new N(function(e){return e.error(new Jh(t))})}function ed(t){return new N(function(e){return e.error(new Xh(t))})}function nd(t){return new N(function(e){return e.error(new Error("Only absolute redirects can have named outlets. redirectTo: '"+t+"'"))})}var rd=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(or)}return t.prototype.apply=function(){var t=this;return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,Lf).pipe(tt(function(e){return t.createUrlTree(e,t.urlTree.queryParams,t.urlTree.fragment)})).pipe(xc(function(e){if(e instanceof Xh)return t.allowRedirects=!1,t.match(e.urlTree);if(e instanceof Jh)throw t.noMatchError(e);throw e}))},t.prototype.match=function(t){var e=this;return this.expandSegmentGroup(this.ngModule,this.config,t.root,Lf).pipe(tt(function(n){return e.createUrlTree(n,t.queryParams,t.fragment)})).pipe(xc(function(t){if(t instanceof Jh)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 rh([],((r={})[Lf]=t,r)):t;return new nh(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 rh([],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 Jl({});var i=[],u=[],a={};return Xf(n,function(n,o){var s,l,c=(s=o,l=n,r.expandSegmentGroup(t,e,l,s)).pipe(tt(function(t){return a[o]=t}));o===Lf?i.push(c):u.push(c)}),Jl.apply(null,i.concat(u)).pipe(uc(),Sc(),tt(function(){return a}))}(n.children)},t.prototype.expandSegment=function(t,e,n,r,o,i){var u=this;return Jl.apply(void 0,c(n)).pipe(tt(function(a){return u.expandSegmentAgainstRoute(t,e,n,a,r,o,i).pipe(xc(function(t){if(t instanceof Jh)return Jl(null);throw t}))}),uc(),Ac(function(t){return!!t}),xc(function(t,n){if(t instanceof ec||"EmptyError"===t.name){if(u.noLeftoversInUrl(e,r,o))return Jl(new rh([],{}));throw new Jh(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,u){return ad(r)!==i?td(e):void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,o):u&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,o,i):td(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("/")?ed(i):this.lineralizeSegments(n,i).pipe(it(function(n){var i=new rh(n,{});return o.expandSegment(t,i,e,n,r,!1)}))},t.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(t,e,n,r,o,i){var u=this,a=od(e,r,o),s=a.consumedSegments,l=a.lastChild,c=a.positionalParamSegments;if(!a.matched)return td(e);var p=this.applyRedirectCommands(s,r.redirectTo,c);return r.redirectTo.startsWith("/")?ed(p):this.lineralizeSegments(r,p).pipe(it(function(r){return u.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 rh(r,{})})):Jl(new rh(r,{}));var u=od(e,n,r),a=u.consumedSegments,l=u.lastChild;if(!u.matched)return td(e);var c=r.slice(l);return this.getChildConfig(t,n,r).pipe(it(function(t){var n=t.module,r=t.routes,u=function(t,e,n,r){return n.length>0&&function(t,e,n){return r.some(function(n){return ud(t,e,n)&&ad(n)!==Lf})}(t,n)?{segmentGroup:id(new rh(e,function(t,e){var n,r,o={};o[Lf]=e;try{for(var i=s(t),u=i.next();!u.done;u=i.next()){var a=u.value;""===a.path&&ad(a)!==Lf&&(o[ad(a)]=new rh([],{}))}}catch(l){n={error:l}}finally{try{u&&!u.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return o}(r,new rh(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return r.some(function(n){return ud(t,e,n)})}(t,n)?{segmentGroup:id(new rh(t.segments,function(t,e,n,r){var o,u,a={};try{for(var l=s(n),c=l.next();!c.done;c=l.next()){var p=c.value;ud(t,e,p)&&!r[ad(p)]&&(a[ad(p)]=new rh([],{}))}}catch(f){o={error:f}}finally{try{c&&!c.done&&(u=l.return)&&u.call(l)}finally{if(o)throw o.error}}return i({},r,a)}(t,n,r,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,a,c,r),l=u.segmentGroup,p=u.slicedSegments;return 0===p.length&&l.hasChildren()?o.expandChildren(n,r,l).pipe(tt(function(t){return new rh(a,t)})):0===r.length&&0===p.length?Jl(new rh(a,{})):o.expandSegment(n,l,r,p,Lf,!0).pipe(tt(function(t){return new rh(a.concat(t.segments),t.children)}))}))},t.prototype.getChildConfig=function(t,e,n){var r=this;return e.children?Jl(new Gf(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Jl(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&&Yh(t.canLoad)}(i))o=i.canLoad(e,n);else{if(!Yh(i))throw new Error("Invalid CanLoad guard");o=i(e,n)}return th(o)})).pipe(uc(),(r=function(t){return!0===t},function(t){return t.lift(new Ic(r,void 0,t))})):Jl(!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 N(function(e){return e.error(qf("Cannot load children because the guard of the route \"path: '"+t.path+"'\" returned false"))})}(e)})):Jl(new Gf([],t))},t.prototype.lineralizeSegments=function(t,e){for(var n=[],r=e.root;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Jl(n);if(r.numberOfChildren>1||!r.children[Lf])return nd(t.redirectTo);r=r.children[Lf]}},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 nh(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)},t.prototype.createQueryParams=function(t,e){var n={};return Xf(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),u={};return Xf(e.children,function(e,i){u[i]=o.createSegmentGroup(t,e,n,r)}),new rh(i,u)},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),u=i.next();!u.done;u=i.next()){var a=u.value;if(a.path===t.path)return e.splice(o),a;o++}}catch(l){n={error:l}}finally{try{u&&!u.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return t},t}();function od(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||Bf)(n,t,e);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function id(t){if(1===t.numberOfChildren&&t.children[Lf]){var e=t.children[Lf];return new rh(t.segments.concat(e.segments),e.children)}return t}function ud(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function ad(t){return t.outlet||Lf}var sd=function(){return function(t){this.path=t,this.route=this.path[this.path.length-1]}}(),ld=function(){return function(t,e){this.component=t,this.route=e}}();function cd(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 pd(t,e,n,r,o){void 0===o&&(o={canDeactivateChecks:[],canActivateChecks:[]});var i=Th(e);return t.children.forEach(function(t){!function(t,e,n,r,o){void 0===o&&(o={canDeactivateChecks:[],canActivateChecks:[]});var i=t.value,u=e?e.value:null,a=n?n.getContext(t.value.outlet):null;if(u&&i.routeConfig===u.routeConfig){var s=function(t,e,n){switch(n){case"pathParamsChange":return!ih(t.url,e.url);case"always":return!0;case"paramsOrQueryParamsChange":return!jh(t,e)||!Yf(t.queryParams,e.queryParams);case"paramsChange":default:return!jh(t,e)}}(u,i,i.routeConfig.runGuardsAndResolvers);s?o.canActivateChecks.push(new sd(r)):(i.data=u.data,i._resolvedData=u._resolvedData),pd(t,e,i.component?a?a.children:null:n,r,o),s&&o.canDeactivateChecks.push(new ld(a&&a.outlet&&a.outlet.component||null,u))}else u&&fd(e,a,o),o.canActivateChecks.push(new sd(r)),pd(t,null,i.component?a?a.children:null:n,r,o)}(t,i[t.value.outlet],n,r.concat([t.value]),o),delete i[t.value.outlet]}),Xf(i,function(t,e){return fd(t,n.getContext(e),o)}),o}function fd(t,e,n){var r=Th(t),o=t.value;Xf(r,function(t,r){fd(t,o.component?e?e.children.getContext(r):null:e,n)}),n.canDeactivateChecks.push(new ld(o.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,o))}var hd=Symbol("INITIAL_VALUE");function dd(){return Nc(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&&p(t[0])&&(t=t[0]),rt(t,r).lift(new rc(n))}).apply(void 0,c(t.map(function(t){return t.pipe(Oc(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]):uc()(Jl.apply(void 0,t))}(1!==r||n?r>0?rt(t,n):Yl(n):$l(t[0]),e)}}(hd))}))).pipe(jc(function(t,e){var n=!1;return e.reduce(function(t,r,o){if(t!==hd)return t;if(r===hd&&(n=!0),!n){if(!1===r)return r;if(o===e.length-1||$h(r))return r}return t},t)},hd),ac(function(t){return t!==hd}),tt(function(t){return $h(t)?t:!0===t}),Oc(1))})}function vd(t,e){return null!==t&&e&&e(new Vf(t)),Jl(!0)}function gd(t,e){return null!==t&&e&&e(new Nf(t)),Jl(!0)}function yd(t,e,n){var r=e.routeConfig?e.routeConfig.canActivate:null;return r&&0!==r.length?Jl(r.map(function(r){return ic(function(){var o,i=cd(r,e,n);if(function(t){return t&&Yh(t.canActivate)}(i))o=th(i.canActivate(e,t));else{if(!Yh(i))throw new Error("Invalid CanActivate guard");o=th(i(e,t))}return o.pipe(Ac())})})).pipe(dd()):Jl(!0)}function md(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 ic(function(){return Jl(e.guards.map(function(o){var i,u=cd(o,e.node,n);if(function(t){return t&&Yh(t.canActivateChild)}(u))i=th(u.canActivateChild(r,t));else{if(!Yh(u))throw new Error("Invalid CanActivateChild guard");i=th(u(r,t))}return i.pipe(Ac())})).pipe(dd())})});return Jl(o).pipe(dd())}var _d=function(){return function(){}}(),bd=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=Sd(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,Lf),n=new Ih([],Object.freeze({}),Object.freeze(i({},this.urlTree.queryParams)),this.urlTree.fragment,{},Lf,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new Eh(n,e),o=new Rh(this.url,r);return this.inheritParamsAndData(o._root),Jl(o)}catch(u){return new N(function(t){return t.error(u)})}},t.prototype.inheritParamsAndData=function(t){var e=this,n=t.value,r=Ah(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=uh(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===Lf?-1:e.value.outlet===Lf?1:t.value.outlet.localeCompare(e.value.outlet)}),o},t.prototype.processSegment=function(t,e,n,r){var o,i;try{for(var u=s(t),a=u.next();!a.done;a=u.next()){var l=a.value;try{return this.processSegmentAgainstRoute(l,e,n,r)}catch(c){if(!(c instanceof _d))throw c}}}catch(p){o={error:p}}finally{try{a&&!a.done&&(i=u.return)&&i.call(u)}finally{if(o)throw o.error}}if(this.noLeftoversInUrl(e,n,r))return[];throw new _d},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 _d;if((t.outlet||Lf)!==r)throw new _d;var o,u=[],a=[];if("**"===t.path){var s=n.length>0?Jf(n).parameters:{};o=new Ih(n,s,Object.freeze(i({},this.urlTree.queryParams)),this.urlTree.fragment,Td(t),r,t.component,t,wd(e),Cd(e)+n.length,Od(t))}else{var l=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new _d;return{consumedSegments:[],lastChild:0,parameters:{}}}var r=(e.matcher||Bf)(n,t,e);if(!r)throw new _d;var o={};Xf(r.posParams,function(t,e){o[e]=t.path});var u=r.consumed.length>0?i({},o,r.consumed[r.consumed.length-1].parameters):o;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:u}}(e,t,n);u=l.consumedSegments,a=n.slice(l.lastChild),o=new Ih(u,l.parameters,Object.freeze(i({},this.urlTree.queryParams)),this.urlTree.fragment,Td(t),r,t.component,t,wd(e),Cd(e)+u.length,Od(t))}var c=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),p=Sd(e,u,a,c,this.relativeLinkResolution),f=p.segmentGroup,h=p.slicedSegments;if(0===h.length&&f.hasChildren()){var d=this.processChildren(c,f);return[new Eh(o,d)]}if(0===c.length&&0===h.length)return[new Eh(o,[])];var v=this.processSegment(c,f,h,Lf);return[new Eh(o,v)]},t}();function wd(t){for(var e=t;e._sourceSegment;)e=e._sourceSegment;return e}function Cd(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 Sd(t,e,n,r,o){if(n.length>0&&function(t,e,n){return r.some(function(n){return xd(t,e,n)&&Ed(n)!==Lf})}(t,n)){var u=new rh(e,function(t,e,n,r){var o,i,u={};u[Lf]=r,r._sourceSegment=t,r._segmentIndexShift=e.length;try{for(var a=s(n),l=a.next();!l.done;l=a.next()){var c=l.value;if(""===c.path&&Ed(c)!==Lf){var p=new rh([],{});p._sourceSegment=t,p._segmentIndexShift=e.length,u[Ed(c)]=p}}}catch(f){o={error:f}}finally{try{l&&!l.done&&(i=a.return)&&i.call(a)}finally{if(o)throw o.error}}return u}(t,e,r,new rh(n,t.children)));return u._sourceSegment=t,u._segmentIndexShift=e.length,{segmentGroup:u,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return r.some(function(n){return xd(t,e,n)})}(t,n)){var a=new rh(t.segments,function(t,e,n,r,o,u){var a,l,c={};try{for(var p=s(r),f=p.next();!f.done;f=p.next()){var h=f.value;if(xd(t,n,h)&&!o[Ed(h)]){var d=new rh([],{});d._sourceSegment=t,d._segmentIndexShift="legacy"===u?t.segments.length:e.length,c[Ed(h)]=d}}}catch(v){a={error:v}}finally{try{f&&!f.done&&(l=p.return)&&l.call(p)}finally{if(a)throw a.error}}return i({},o,c)}(t,e,n,r,t.children,o));return a._sourceSegment=t,a._segmentIndexShift=e.length,{segmentGroup:a,slicedSegments:n}}var l=new rh(t.segments,t.children);return l._sourceSegment=t,l._segmentIndexShift=e.length,{segmentGroup:l,slicedSegments:n}}function xd(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function Ed(t){return t.outlet||Lf}function Td(t){return t.data||{}}function Od(t){return t.resolve||{}}function kd(t,e,n,r){var o=cd(t,e,r);return th(o.resolve?o.resolve(e,n):o(e,n))}function Pd(t){return function(e){return e.pipe(Nc(function(e){var n=t(e);return n?ot(n).pipe(tt(function(){return e})):ot([e])}))}}var Ad=function(){return function(){}}(),Id=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}(),Rd=new kt("ROUTES"),Nd=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 Gf($f(o.injector.get(Rd)).map(Kf),o)}))},t.prototype.loadModuleFactory=function(t){var e=this;return"string"==typeof t?ot(this.loader.load(t)):th(t()).pipe(it(function(t){return t instanceof ir?Jl(t):ot(e.compiler.compileModuleAsync(t))}))},t}(),Dd=function(){return function(){}}(),Vd=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 jd(t){throw t}function Md(t,e,n){return e.parse("/")}function Ud(t,e){return Jl(null)}var Ld=function(){function t(t,e,n,r,o,i,u,a){var s=this;this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=r,this.config=a,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new L,this.errorHandler=jd,this.malformedUriErrorHandler=Md,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Ud,afterPreactivation:Ud},this.urlHandlingStrategy=new Vd,this.routeReuseStrategy=new Id,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=o.get(or),this.console=o.get(bi);var l=o.get(Ii);this.isNgZoneEnabled=l instanceof Ii,this.resetConfig(a),this.currentUrlTree=new nh(new rh([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.configLoader=new Nd(i,u,function(t){return s.triggerEvent(new If(t))},function(t){return s.triggerEvent(new Rf(t))}),this.routerState=kh(this.currentUrlTree,this.rootComponentType),this.transitions=new Xl({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",state: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(ac(function(t){return 0!==t.id}),tt(function(t){return i({},t,{extractedUrl:e.urlHandlingStrategy.extract(t.rawUrl)})}),Nc(function(t){var r,o,u,a,l=!1,c=!1;return Jl(t).pipe(Nc(function(t){var r,o,u,a,s=!e.navigated||t.extractedUrl.toString()!==e.currentUrlTree.toString();if(("reload"===e.onSameUrlNavigation||s)&&e.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Jl(t).pipe(vc(function(t){return"eager"===e.urlUpdateStrategy&&!t.extras.skipLocationChange&&e.setBrowserUrl(t.rawUrl,!!t.extras.replaceUrl,t.id)}),Nc(function(t){var r=e.transitions.getValue();return n.next(new Cf(t.id,e.serializeUrl(t.extractedUrl),t.source,t.state)),r!==e.transitions.getValue()?Kl:[t]}),Nc(function(t){return Promise.resolve(t)}),(r=e.ngModule.injector,o=e.configLoader,u=e.urlSerializer,a=e.config,function(t){return t.pipe(Nc(function(t){return function(e,n,r,o,i){return new rd(e,n,r,t.extractedUrl,i).apply()}(r,o,u,0,a).pipe(tt(function(e){return i({},t,{urlAfterRedirects:e})}))}))}),function(t,n,r,o,u){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 bd(t,e,n,r,o,i).recognize()}(t,n,r.urlAfterRedirects,(a=r.urlAfterRedirects,e.serializeUrl(a)),o,u).pipe(tt(function(t){return i({},r,{targetSnapshot:t})}));var a}))}}(e.rootComponentType,e.config,0,e.paramsInheritanceStrategy,e.relativeLinkResolution),vc(function(t){var r=new Tf(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,p=t.state,f=t.extras,h=new Cf(t.id,e.serializeUrl(l),c,p);n.next(h);var d=kh(l,e.rootComponentType).snapshot;return Jl(i({},t,{targetSnapshot:d,urlAfterRedirects:l,extras:i({},f,{skipLocationChange:!1,replaceUrl:!1})}))}return e.rawUrlTree=t.rawUrl,t.resolve(null),Kl}),Pd(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})}),vc(function(t){var n=new Of(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,u=n._root,pd(u,r?r._root:null,o,[u.value]))});var n,r,o,u}),function(t,e){return function(n){return n.pipe(it(function(n){var r=n.targetSnapshot,o=n.currentSnapshot,u=n.guards,a=u.canActivateChecks,s=u.canDeactivateChecks;return 0===s.length&&0===a.length?Jl(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?Jl(i.map(function(i){var u,a=cd(i,e,o);if(function(t){return t&&Yh(t.canDeactivate)}(a))u=th(a.canDeactivate(t,e,n,r));else{if(!Yh(a))throw new Error("Invalid CanDeactivate guard");u=th(a(t,e,n,r))}return u.pipe(Ac())})).pipe(dd()):Jl(!0)}(t.component,t.route,n,e,r)}),Ac(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(a).pipe(Lc(function(e){return ot([gd(e.route.parent,r),vd(e.route,r),md(t,e.path,n),yd(t,e.route,n)]).pipe(uc(),Ac(function(t){return!0!==t},!0))}),Ac(function(t){return!0!==t},!0))}(r,0,t,e):Jl(n)}),tt(function(t){return i({},n,{guardsResult:t})}))}))}}(e.ngModule.injector,function(t){return e.triggerEvent(t)}),vc(function(t){if($h(t.guardsResult)){var n=qf('Redirecting to "'+e.serializeUrl(t.guardsResult)+'"');throw n.url=t.guardsResult,n}}),vc(function(t){var n=new kf(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);e.triggerEvent(n)}),ac(function(t){if(!t.guardsResult){e.resetUrlToCurrentUrlTree();var r=new xf(t.id,e.serializeUrl(t.extractedUrl),"");return n.next(r),t.resolve(!1),!1}return!0}),Pd(function(t){if(t.guards.canActivateChecks.length)return Jl(t).pipe(vc(function(t){var n=new Pf(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(Lc(function(t){return function(t,n,r,o){return function(t,e,n,r){var o=Object.keys(t);if(0===o.length)return Jl({});if(1===o.length){var i=o[0];return kd(t[i],e,n,r).pipe(tt(function(t){var e;return(e={})[i]=t,e}))}var u={};return ot(o).pipe(it(function(o){return kd(t[o],e,n,r).pipe(tt(function(t){return u[o]=t,t}))})).pipe(Sc(),tt(function(){return u}))}(t._resolve,t,e,o).pipe(tt(function(e){return t._resolvedData=e,t.data=i({},t.data,Ah(t,r).resolve),null}))}(t.route,0,n,r)}),function(t,e){return arguments.length>=2?function(e){return I(jc(t,void 0),fc(1),bc(void 0))(e)}:function(e){return I(jc(function(e,n,r){return t(e)}),fc(1))(e)}}(function(t,e){return t}),tt(function(e){return t})):Jl(t)}))}),vc(function(t){var n=new Af(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}));var n,r}),Pd(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,u=(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 u=s(r.children),a=u.next();!a.done;a=u.next()){var l=a.value;if(e.shouldReuseRoute(l.value.snapshot,n.value))return t(e,n,l)}}catch(c){o={error:c}}finally{try{a&&!a.done&&(i=u.return)&&i.call(u)}finally{if(o)throw o.error}}return t(e,n)})}(e,n,r);return new Eh(l,o)}var i=e.retrieve(n.value);if(i){var u=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,u),u}var a,l=new Ph(new Xl((a=n.value).url),new Xl(a.params),new Xl(a.queryParams),new Xl(a.fragment),new Xl(a.data),a.outlet,a.component,a);return o=n.children.map(function(n){return t(e,n)}),new Eh(l,o)}(e.routeReuseStrategy,(n=t.targetSnapshot)._root,(r=t.currentRouterState)?r._root:void 0),new Oh(o,n));return i({},t,{targetRouterState:u})}),vc(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)}),(o=e.rootContexts,u=e.routeReuseStrategy,a=function(t){return e.triggerEvent(t)},tt(function(t){return new Wh(u,t.targetRouterState,t.currentRouterState,a).activate(o),t})),vc({next:function(){l=!0},complete:function(){l=!0}}),(r=function(){if(!l&&!c){e.resetUrlToCurrentUrlTree();var r=new xf(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)}},function(t){return t.lift(new Hc(r))}),xc(function(r){if(c=!0,(a=r)&&a[zf]){e.navigated=!0;var o=$h(r.url);o||e.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);var i=new xf(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 u=new Ef(t.id,e.serializeUrl(t.extractedUrl),r);n.next(u);try{t.resolve(e.errorHandler(r))}catch(s){t.reject(s)}}var a;return Kl}))}))},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?{navigationId:e.state.navigationId}: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.triggerEvent=function(t){this.events.next(t)},t.prototype.resetConfig=function(t){Qf(t),this.config=t.map(Kf),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,u=e.preserveQueryParams,a=e.queryParamsHandling,s=e.preserveFragment;Eo()&&u&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var l=n||this.routerState.root,p=s?this.currentUrlTree.fragment:o,f=null;if(a)switch(a){case"merge":f=i({},this.currentUrlTree.queryParams,r);break;case"preserve":f=this.currentUrlTree.queryParams;break;default:f=r||null}else f=u?this.currentUrlTree.queryParams:r||null;return null!==f&&(f=this.removeEmptyProps(f)),function(t,e,n,r,o){if(0===n.length)return Uh(e.root,e.root,e,r,o);var i=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new Lh(!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 Xf(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 Lh(n,e,r)}(n);if(i.toRoot())return Uh(e.root,new rh([],{}),e,r,o);var u=function(t,n,r){if(t.isAbsolute)return new Hh(e.root,!0,0);if(-1===r.snapshot._lastPathIndex)return new Hh(r.snapshot._urlSegment,!0,0);var o=Mh(t.commands[0])?0:1;return function(e,n,i){for(var u=r.snapshot._urlSegment,a=r.snapshot._lastPathIndex+o,s=t.numberOfDoubleDots;s>a;){if(s-=a,!(u=u.parent))throw new Error("Invalid number of '../'");a=u.segments.length}return new Hh(u,!1,a-s)}()}(i,0,t),a=u.processChildren?qh(u.segmentGroup,u.index,i.commands):zh(u.segmentGroup,u.index,i.commands);return Uh(u.segmentGroup,a,e,r,o)}(l,this.currentUrlTree,t,f,p)},t.prototype.navigateByUrl=function(t,e){void 0===e&&(e={skipLocationChange:!1}),Eo()&&this.isNgZoneEnabled&&!Ii.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=$h(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($h(t))return eh(this.currentUrlTree,t,e);var n=this.parseUrl(t);return eh(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 Sf(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(t.currentUrlTree))),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,u=null,a=new Promise(function(t,e){i=t,u=e}),s=++this.navigationId;return this.setTransition({id:s,source:e,state:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:r,resolve:i,reject:u,promise:a,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),a.catch(function(t){return Promise.reject(t)})},t.prototype.setBrowserUrl=function(t,e,n){var r=this.urlSerializer.serialize(t);this.location.isCurrentPathEqualTo(r)||e?this.location.replaceState(r,"",{navigationId:n}):this.location.go(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}(),Hd=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 Sf&&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){Eo()&&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:Fd(this.skipLocationChange),replaceUrl:Fd(this.replaceUrl)};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:Fd(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:Fd(this.preserveFragment)})},enumerable:!0,configurable:!0}),u([ni("attr.target"),ei(),a("design:type",String)],t.prototype,"target",void 0),t}();function Fd(t){return""===t||!!t}var zd=function(){return function(){this.outlet=null,this.route=null,this.resolver=null,this.children=new qd,this.attachRef=null}}(),qd=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 zd,this.contexts.set(t,e)),e},t.prototype.getContext=function(t){return this.contexts.get(t)||null},t}(),Bd=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 Wo,this.deactivateEvents=new Wo,this.name=r||Lf,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 Gd(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}(),Gd=function(){function t(t,e,n){this.route=t,this.childContexts=e,this.parent=n}return t.prototype.get=function(t,e){return t===Ph?this.route:t===qd?this.childContexts:this.parent.get(t,e)},t}(),Qd=function(){return function(){}}(),Zd=function(){function t(){}return t.prototype.preload=function(t,e){return e().pipe(xc(function(){return Jl(null)}))},t}(),Wd=function(){function t(){}return t.prototype.preload=function(t,e){return Jl(null)},t}(),Kd=function(){function t(t,e,n,r,o){this.router=t,this.injector=r,this.preloadingStrategy=o,this.loader=new Nd(e,n,function(e){return t.triggerEvent(new If(e))},function(e){return t.triggerEvent(new Rf(e))})}return t.prototype.setUpPreloading=function(){var t=this;this.subscription=this.router.events.pipe(ac(function(t){return t instanceof Sf}),Lc(function(){return t.preload()})).subscribe(function(){})},t.prototype.preload=function(){var t=this.injector.get(or);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),u=i.next();!u.done;u=i.next()){var a=u.value;if(a.loadChildren&&!a.canLoad&&a._loadedConfig){var l=a._loadedConfig;o.push(this.processRoutes(l.module,l.routes))}else a.loadChildren&&!a.canLoad?o.push(this.preloadConfig(t,a)):a.children&&o.push(this.processRoutes(t,a.children))}}catch(c){n={error:c}}finally{try{u&&!u.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}(),Yd=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 Cf?(t.store[t.lastId]=t.viewportScroller.getScrollPosition(),t.lastSource=e.navigationTrigger,t.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Sf&&(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 Mf&&(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 Mf(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}(),$d=new kt("ROUTER_CONFIGURATION"),Jd=new kt("ROUTER_FORROOT_GUARD"),Xd=[Qc,{provide:ah,useClass:sh},{provide:Ld,useFactory:uv,deps:[Wi,ah,qd,Qc,Bn,Yi,xi,Rd,$d,[Dd,new Zt],[Ad,new Zt]]},qd,{provide:Ph,useFactory:av,deps:[Ld]},{provide:Yi,useClass:tu},Kd,Wd,Zd,{provide:$d,useValue:{enableTracing:!1}}];function tv(){return new qi("Router",Ld)}var ev=function(){function t(t,e){}var e;return e=t,t.forRoot=function(t,n){return{ngModule:e,providers:[Xd,iv(t),{provide:Jd,useFactory:ov,deps:[[Ld,new Zt,new Kt]]},{provide:$d,useValue:n||{}},{provide:Bc,useFactory:rv,deps:[zc,[new Qt(Gc),new Zt],$d]},{provide:Yd,useFactory:nv,deps:[Ld,lp,$d]},{provide:Qd,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:Wd},{provide:qi,multi:!0,useFactory:tv},[sv,{provide:fi,multi:!0,useFactory:lv,deps:[sv]},{provide:pv,useFactory:cv,deps:[sv]},{provide:_i,multi:!0,useExisting:pv}]]}},t.forChild=function(t){return{ngModule:e,providers:[iv(t)]}},t}();function nv(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new Yd(t,e,n)}function rv(t,e,n){return void 0===n&&(n={}),n.useHash?new Wc(t,e):new Kc(t,e)}function ov(t){if(t)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function iv(t){return[{provide:Dt,multi:!0,useValue:t},{provide:Rd,multi:!0,useValue:t}]}function uv(t,e,n,r,o,i,u,a,s,l,c){void 0===s&&(s={});var p=new Ld(null,e,n,r,o,i,u,$f(a));if(l&&(p.urlHandlingStrategy=l),c&&(p.routeReuseStrategy=c),s.errorHandler&&(p.errorHandler=s.errorHandler),s.malformedUriErrorHandler&&(p.malformedUriErrorHandler=s.malformedUriErrorHandler),s.enableTracing){var f=fp();p.events.subscribe(function(t){f.logGroup("Router Event: "+t.constructor.name),f.log(t.toString()),f.log(t),f.logGroupEnd()})}return s.onSameUrlNavigation&&(p.onSameUrlNavigation=s.onSameUrlNavigation),s.paramsInheritanceStrategy&&(p.paramsInheritanceStrategy=s.paramsInheritanceStrategy),s.urlUpdateStrategy&&(p.urlUpdateStrategy=s.urlUpdateStrategy),s.relativeLinkResolution&&(p.relativeLinkResolution=s.relativeLinkResolution),p}function av(t){return t.routerState.root}var sv=function(){function t(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new L}return t.prototype.appInitializer=function(){var t=this;return this.injector.get(qc,Promise.resolve(null)).then(function(){var e=null,n=new Promise(function(t){return e=t}),r=t.injector.get(Ld),o=t.injector.get($d);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?Jl(null):(t.initNavigation=!0,e(!0),t.resultOfPreactivationDone)},r.initialNavigation()}return n})},t.prototype.bootstrapListener=function(t){var e=this.injector.get($d),n=this.injector.get(Kd),r=this.injector.get(Yd),o=this.injector.get(Ld),i=this.injector.get(Wi);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 lv(t){return t.appInitializer.bind(t)}function cv(t){return t.bootstrapListener.bind(t)}var pv=new kt("Router Initializer"),fv=$u({encapsulation:2,styles:[],data:{}});function hv(t){return Us(0,[(t()(),xa(0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),fs(1,212992,null,0,Bd,[qd,ru,ro,[8,null],iu],null,null)],function(t,e){t(e,1,0)},null)}function dv(t){return Us(0,[(t()(),xa(0,0,null,null,1,"ng-component",[],null,null,null,hv,fv)),fs(1,49152,null,0,Uf,[],null,null)],null,null)}var vv=za("ng-component",Uf,dv,{},{},[]),gv=function(){function t(){this.title="Inspirational Quotes"}return t.prototype.ngOnInit=function(){},t}(),yv=$u({encapsulation:0,styles:[["header[_ngcontent-%COMP%]{background-color:#4ef75c;box-shadow:0 8px 16px 0 rgba(0,0,0,.2),0 6px 20px 0 rgba(0,0,0,.19);color:#262626}header[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{font-weight:700;font-size:20px}nav[_ngcontent-%COMP%]{display:inline-flex;justify-content:flex-end}nav[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{list-style-type:none;margin-left:500px;padding:0}nav[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{list-style:none;float:left}nav[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{padding:1.4em;text-transform:uppercase;font-size:.9em}nav[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{background-color:#4caf00}"]],data:{}});function mv(t){return Us(0,[(t()(),xa(0,0,null,null,18,"header",[],null,null,null,null,null)),(t()(),xa(1,0,null,null,17,"div",[["class","container"]],null,null,null,null,null)),(t()(),xa(2,0,null,null,2,"a",[["class","logo"],["routerLink","/"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==Xa(t,3).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),fs(3,671744,null,0,Hd,[Ld,Ph,Bc],{routerLink:[0,"routerLink"]},null),(t()(),Vs(4,null,[" "," "])),(t()(),xa(5,0,null,null,13,"nav",[],null,null,null,null,null)),(t()(),xa(6,0,null,null,12,"ul",[],null,null,null,null,null)),(t()(),xa(7,0,null,null,3,"li",[],null,null,null,null,null)),(t()(),xa(8,0,null,null,2,"a",[["routerLink","/"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==Xa(t,9).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),fs(9,671744,null,0,Hd,[Ld,Ph,Bc],{routerLink:[0,"routerLink"]},null),(t()(),Vs(-1,null,["Home"])),(t()(),xa(11,0,null,null,3,"li",[],null,null,null,null,null)),(t()(),xa(12,0,null,null,2,"a",[["routerLink","/about"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==Xa(t,13).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),fs(13,671744,null,0,Hd,[Ld,Ph,Bc],{routerLink:[0,"routerLink"]},null),(t()(),Vs(-1,null,["About"])),(t()(),xa(15,0,null,null,3,"li",[],null,null,null,null,null)),(t()(),xa(16,0,null,null,2,"a",[["routerLink","/contact"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==Xa(t,17).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),fs(17,671744,null,0,Hd,[Ld,Ph,Bc],{routerLink:[0,"routerLink"]},null),(t()(),Vs(-1,null,["Contact"]))],function(t,e){t(e,3,0,"/"),t(e,9,0,"/"),t(e,13,0,"/about"),t(e,17,0,"/contact")},function(t,e){var n=e.component;t(e,2,0,Xa(e,3).target,Xa(e,3).href),t(e,4,0,n.title),t(e,8,0,Xa(e,9).target,Xa(e,9).href),t(e,12,0,Xa(e,13).target,Xa(e,13).href),t(e,16,0,Xa(e,17).target,Xa(e,17).href)})}var _v=function(){function t(t){this.elem=t}return t.prototype.onclick=function(){this.quoteDeco("blue")},t.prototype.onDoubleClicks=function(){this.quoteDeco("none")},t.prototype.quoteDeco=function(t){this.elem.nativeElement.style.backgroundColor=t},t}(),bv=function(){function t(){}return t.prototype.transform=function(t){var e=new Date,n=new Date(e.getFullYear(),e.getMonth(),e.getDate()),r=.01*Math.abs(t-n)/85600;return r>=1&&t<n?r:0},t}(),wv=function(){function t(t,e){this.changeDetectorRef=t,this.ngZone=e}return t.prototype.transform=function(t){var e=this;this.removeTimer();var n=new Date(t),r=new Date,o=Math.round(Math.abs((r.getTime()-n.getTime())/1e3)),i=Number.isNaN(o)?1e3:1e3*this.getSecondsUntilUpdate(o);this.timer=this.ngZone.runOutsideAngular(function(){return"undefined"!=typeof window?window.setTimeout(function(){e.ngZone.run(function(){return e.changeDetectorRef.markForCheck()})},i):null});var u=Math.round(Math.abs(o/60)),a=Math.round(Math.abs(u/60)),s=Math.round(Math.abs(a/24)),l=Math.round(Math.abs(s/30.416)),c=Math.round(Math.abs(s/365));return Number.isNaN(o)?"":o<=45?"a few seconds ago":o<=90?"a minute ago":u<=45?u+" minutes ago":u<=90?"an hour ago":a<=22?a+" hours ago":a<=36?"a day ago":s<=25?s+" days ago":s<=45?"a month ago":s<=345?l+" months ago":s<=545?"a year ago":c+" years ago"},t.prototype.ngOnDestroy=function(){this.removeTimer()},t.prototype.removeTimer=function(){this.timer&&(window.clearTimeout(this.timer),this.timer=null)},t.prototype.getSecondsUntilUpdate=function(t){return t<60?2:t<3600?30:t<86400?300:3600},t}(),Cv=function(){return function(t,e,n,r){this.id=t,this.author=e,this.desc=n,this.completeDate=r,this.showDesc=!1}}(),Sv=function(){function t(){this.count=0,this.sum=0,this.isDelete=new Wo}return t.prototype.quoteDelete=function(t){this.isDelete.emit(t),console.log(this.quoteDelete)},t.prototype.like=function(){this.count=this.count+1},t.prototype.unlike=function(){this.sum=this.sum+1},t.prototype.ngOnInit=function(){},t}(),xv=$u({encapsulation:0,styles:[["button[_ngcontent-%COMP%]{width:140px;margin:10px 5px 5px;display:inline-block;text-decoration:none;padding:10px 20px;border:none}i[_ngcontent-%COMP%]{margin:4px}"]],data:{}});function Ev(t){return Us(0,[hs(0,bv,[]),(t()(),xa(1,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Vs(2,null,["",""])),(t()(),xa(3,0,null,null,3,"p",[],null,null,null,null,null)),(t()(),Vs(4,null,[" Published on ",""])),Ds(128,5,new Array(2)),hs(131072,wv,[iu,Ii]),(t()(),xa(7,0,null,null,2,"button",[["class","btn btn-primary"],["type","button"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.like()&&r),r},null,null)),(t()(),xa(8,0,null,null,0,"i",[["class","fas fa-thumbs-up "]],null,null,null,null,null)),(t()(),Vs(9,null,[" Like "," "])),(t()(),xa(10,0,null,null,2,"button",[["class","btn btn-primary"],["type","button"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.unlike()&&r),r},null,null)),(t()(),xa(11,0,null,null,0,"i",[["class","fas fa-thumbs-down "]],null,null,null,null,null)),(t()(),Vs(12,null,[" Unlike "," "])),(t()(),xa(13,0,null,null,2,"button",[["class","btn btn-danger"],["name","button"],["type","button"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.quoteDelete(!0)&&r),r},null,null)),(t()(),xa(14,0,null,null,0,"i",[["class","fas fa-trash "]],null,null,null,null,null)),(t()(),Vs(-1,null,["Delete"]))],null,function(t,e){var n=e.component;t(e,2,0,n.quote.desc);var r=Wu(e,4,0,Xa(e,6).transform(Wu(e,4,0,t(e,5,0,Xa(e,0),n.quote.completeDate))));t(e,4,0,r),t(e,9,0,n.count),t(e,12,0,n.sum)})}var Tv=function(t){function e(e,n){var r=t.call(this,e)||this;r.sources=n,r.completed=0,r.haveValues=0;var o=n.length;r.values=new Array(o);for(var i=0;i<o;i++){var u=J(r,n[i],null,i);u&&r.add(u)}return r}return o(e,t),e.prototype.notifyNext=function(t,e,n,r,o){this.values[n]=e,o._hasValue||(o._hasValue=!0,this.haveValues++)},e.prototype.notifyComplete=function(t){var e=this.destination,n=this.haveValues,r=this.values,o=r.length;t._hasValue?(this.completed++,this.completed===o&&(n===o&&e.next(r),e.complete())):e.complete()},e}(X),Ov=function(){function t(){}return Object.defineProperty(t.prototype,"value",{get:function(){return this.control?this.control.value:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return this.control?this.control.valid:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return this.control?this.control.invalid:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pending",{get:function(){return this.control?this.control.pending:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this.control?this.control.disabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return this.control?this.control.enabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"errors",{get:function(){return this.control?this.control.errors:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pristine",{get:function(){return this.control?this.control.pristine:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dirty",{get:function(){return this.control?this.control.dirty:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"touched",{get:function(){return this.control?this.control.touched:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"status",{get:function(){return this.control?this.control.status:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"untouched",{get:function(){return this.control?this.control.untouched:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"statusChanges",{get:function(){return this.control?this.control.statusChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valueChanges",{get:function(){return this.control?this.control.valueChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),t.prototype.reset=function(t){void 0===t&&(t=void 0),this.control&&this.control.reset(t)},t.prototype.hasError=function(t,e){return!!this.control&&this.control.hasError(t,e)},t.prototype.getError=function(t,e){return this.control?this.control.getError(t,e):null},t}(),kv=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),Object.defineProperty(e.prototype,"formDirective",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),e}(Ov);function Pv(t){return null==t||0===t.length}var Av=new kt("NgValidators"),Iv=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,Rv=function(){function t(){}return t.min=function(t){return function(e){if(Pv(e.value)||Pv(t))return null;var n=parseFloat(e.value);return!isNaN(n)&&n<t?{min:{min:t,actual:e.value}}:null}},t.max=function(t){return function(e){if(Pv(e.value)||Pv(t))return null;var n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}},t.required=function(t){return Pv(t.value)?{required:!0}:null},t.requiredTrue=function(t){return!0===t.value?null:{required:!0}},t.email=function(t){return Pv(t.value)?null:Iv.test(t.value)?null:{email:!0}},t.minLength=function(t){return function(e){if(Pv(e.value))return null;var n=e.value?e.value.length:0;return n<t?{minlength:{requiredLength:t,actualLength:n}}:null}},t.maxLength=function(t){return function(e){var n=e.value?e.value.length:0;return n>t?{maxlength:{requiredLength:t,actualLength:n}}:null}},t.pattern=function(e){return e?("string"==typeof e?(r="","^"!==e.charAt(0)&&(r+="^"),r+=e,"$"!==e.charAt(e.length-1)&&(r+="$"),n=new RegExp(r)):(r=e.toString(),n=e),function(t){if(Pv(t.value))return null;var e=t.value;return n.test(e)?null:{pattern:{requiredPattern:r,actualValue:e}}}):t.nullValidator;var n,r},t.nullValidator=function(t){return null},t.compose=function(t){if(!t)return null;var e=t.filter(Nv);return 0==e.length?null:function(t){return Vv(function(t,n){return e.map(function(e){return e(t)})}(t))}},t.composeAsync=function(t){if(!t)return null;var e=t.filter(Nv);return 0==e.length?null:function(t){return function t(){for(var e,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return"function"==typeof n[n.length-1]&&(e=n.pop()),1===n.length&&p(n[0])&&(n=n[0]),0===n.length?Kl:e?t(n).pipe(tt(function(t){return e.apply(void 0,t)})):new N(function(t){return new Tv(t,n)})}(function(t,n){return e.map(function(e){return e(t)})}(t).map(Dv)).pipe(tt(Vv))}},t}();function Nv(t){return null!=t}function Dv(t){var e=ci(t)?ot(t):t;if(!pi(e))throw new Error("Expected validator to return Promise or Observable.");return e}function Vv(t){var e=t.reduce(function(t,e){return null!=e?i({},t,e):t},{});return 0===Object.keys(e).length?null:e}var jv=new kt("NgValueAccessor"),Mv=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"checked",t)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}(),Uv=new kt("CompositionEventMode"),Lv=function(){function t(t,e,n){var r;this._renderer=t,this._elementRef=e,this._compositionMode=n,this.onChange=function(t){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=(r=fp()?fp().getUserAgent():"",!/android (\d+)/.test(r.toLowerCase())))}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._handleInput=function(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)},t.prototype._compositionStart=function(){this._composing=!0},t.prototype._compositionEnd=function(t){this._composing=!1,this._compositionMode&&this.onChange(t)},t}();function Hv(t){return t.validate?function(e){return t.validate(e)}:t}function Fv(t){return t.validate?function(e){return t.validate(e)}:t}var zv=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)},t.prototype.registerOnChange=function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}();function qv(){throw new Error("unimplemented")}var Bv=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._parent=null,e.name=null,e.valueAccessor=null,e._rawValidators=[],e._rawAsyncValidators=[],e}return o(e,t),Object.defineProperty(e.prototype,"validator",{get:function(){return qv()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return qv()},enumerable:!0,configurable:!0}),e}(Ov),Gv=function(){function t(){this._accessors=[]}return t.prototype.add=function(t,e){this._accessors.push([t,e])},t.prototype.remove=function(t){for(var e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)},t.prototype.select=function(t){var e=this;this._accessors.forEach(function(n){e._isSameGroup(n,t)&&n[1]!==t&&n[1].fireUncheck(t.value)})},t.prototype._isSameGroup=function(t,e){return!!t[0].control&&t[0]._parent===e._control._parent&&t[1].name===e.name},t}(),Qv=function(){function t(t,e,n,r){this._renderer=t,this._elementRef=e,this._registry=n,this._injector=r,this.onChange=function(){},this.onTouched=function(){}}return t.prototype.ngOnInit=function(){this._control=this._injector.get(Bv),this._checkName(),this._registry.add(this._control,this)},t.prototype.ngOnDestroy=function(){this._registry.remove(this)},t.prototype.writeValue=function(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)},t.prototype.registerOnChange=function(t){var e=this;this._fn=t,this.onChange=function(){t(e.value),e._registry.select(e)}},t.prototype.fireUncheck=function(t){this.writeValue(t)},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._checkName=function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)},t.prototype._throwNameError=function(){throw new Error('\n      If you define both a name and a formControlName attribute on your radio button, their values\n      must match. Ex: <input type="radio" formControlName="food" name="food">\n    ')},t}(),Zv='\n    <div [formGroup]="myGroup">\n       <div formGroupName="person">\n          <input formControlName="firstName">\n       </div>\n    </div>\n\n    In your class:\n\n    this.myGroup = new FormGroup({\n       person: new FormGroup({ firstName: new FormControl() })\n    });',Wv='\n    <form>\n       <div ngModelGroup="person">\n          <input [(ngModel)]="person.name" name="firstName">\n       </div>\n    </form>';function Kv(t,e){return c(e.path,[t])}function Yv(t,e){t||Jv(e,"Cannot find control with"),e.valueAccessor||Jv(e,"No value accessor for form control with"),t.validator=Rv.compose([t.validator,e.validator]),t.asyncValidator=Rv.composeAsync([t.asyncValidator,e.asyncValidator]),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(function(n){t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&$v(t,e)})}(t,e),function(t,e){t.registerOnChange(function(t,n){e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(function(){t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&$v(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),e.valueAccessor.setDisabledState&&t.registerOnDisabledChange(function(t){e.valueAccessor.setDisabledState(t)}),e._rawValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(function(){return t.updateValueAndValidity()})}),e._rawAsyncValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(function(){return t.updateValueAndValidity()})})}function $v(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function Jv(t,e){var n;throw n=t.path.length>1?"path: '"+t.path.join(" -> ")+"'":t.path[0]?"name: '"+t.path+"'":"unspecified name attribute",new Error(e+" "+n)}function Xv(t){return null!=t?Rv.compose(t.map(Hv)):null}function tg(t){return null!=t?Rv.composeAsync(t.map(Fv)):null}var eg=[Mv,function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))},t.prototype.registerOnChange=function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}(),zv,function(){function t(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=qt}return Object.defineProperty(t.prototype,"compareWith",{set:function(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){this.value=t;var e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=function(t,e){return null==t?""+e:(e&&"object"==typeof e&&(e="Object"),(t+": "+e).slice(0,50))}(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){e.value=e._getOptionValue(n),t(e.value)}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._registerOption=function(){return(this._idCounter++).toString()},t.prototype._getOptionId=function(t){var e,n;try{for(var r=s(Array.from(this._optionMap.keys())),o=r.next();!o.done;o=r.next()){var i=o.value;if(this._compareWith(this._optionMap.get(i),t))return i}}catch(u){e={error:u}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}return null},t.prototype._getOptionValue=function(t){var e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e):t},t}(),function(){function t(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=qt}return Object.defineProperty(t.prototype,"compareWith",{set:function(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){var e,n=this;if(this.value=t,Array.isArray(t)){var r=t.map(function(t){return n._getOptionId(t)});e=function(t,e){t._setSelected(r.indexOf(e.toString())>-1)}}else e=function(t,e){t._setSelected(!1)};this._optionMap.forEach(e)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){var r=[];if(n.hasOwnProperty("selectedOptions"))for(var o=n.selectedOptions,i=0;i<o.length;i++){var u=o.item(i),a=e._getOptionValue(u.value);r.push(a)}else for(o=n.options,i=0;i<o.length;i++)(u=o.item(i)).selected&&(a=e._getOptionValue(u.value),r.push(a));e.value=r,t(r)}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._registerOption=function(t){var e=(this._idCounter++).toString();return this._optionMap.set(e,t),e},t.prototype._getOptionId=function(t){var e,n;try{for(var r=s(Array.from(this._optionMap.keys())),o=r.next();!o.done;o=r.next()){var i=o.value;if(this._compareWith(this._optionMap.get(i)._value,t))return i}}catch(u){e={error:u}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}return null},t.prototype._getOptionValue=function(t){var e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e)._value:t},t}(),Qv],ng=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormGroup(this)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormGroup(this)},Object.defineProperty(e.prototype,"control",{get:function(){return this.formDirective.getFormGroup(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return Kv(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return Xv(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return tg(this._asyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){},e}(kv),rg=function(){function t(t){this._cd=t}return Object.defineProperty(t.prototype,"ngClassUntouched",{get:function(){return!!this._cd.control&&this._cd.control.untouched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassTouched",{get:function(){return!!this._cd.control&&this._cd.control.touched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassPristine",{get:function(){return!!this._cd.control&&this._cd.control.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassDirty",{get:function(){return!!this._cd.control&&this._cd.control.dirty},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassValid",{get:function(){return!!this._cd.control&&this._cd.control.valid},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassInvalid",{get:function(){return!!this._cd.control&&this._cd.control.invalid},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassPending",{get:function(){return!!this._cd.control&&this._cd.control.pending},enumerable:!0,configurable:!0}),t}(),og=function(t){function e(e){return t.call(this,e)||this}return o(e,t),e}(rg),ig=function(t){function e(e){return t.call(this,e)||this}return o(e,t),e}(rg);function ug(t){var e=sg(t)?t.validators:t;return Array.isArray(e)?Xv(e):e||null}function ag(t,e){var n=sg(e)?e.asyncValidators:t;return Array.isArray(n)?tg(n):n||null}function sg(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}var lg=function(){function t(t,e){this.validator=t,this.asyncValidator=e,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}return Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return"VALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return"INVALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pending",{get:function(){return"PENDING"==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return"DISABLED"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return"DISABLED"!==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dirty",{get:function(){return!this.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"untouched",{get:function(){return!this.touched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"updateOn",{get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"},enumerable:!0,configurable:!0}),t.prototype.setValidators=function(t){this.validator=ug(t)},t.prototype.setAsyncValidators=function(t){this.asyncValidator=ag(t)},t.prototype.clearValidators=function(){this.validator=null},t.prototype.clearAsyncValidators=function(){this.asyncValidator=null},t.prototype.markAsTouched=function(t){void 0===t&&(t={}),this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)},t.prototype.markAsUntouched=function(t){void 0===t&&(t={}),this.touched=!1,this._pendingTouched=!1,this._forEachChild(function(t){t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)},t.prototype.markAsDirty=function(t){void 0===t&&(t={}),this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)},t.prototype.markAsPristine=function(t){void 0===t&&(t={}),this.pristine=!0,this._pendingDirty=!1,this._forEachChild(function(t){t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)},t.prototype.markAsPending=function(t){void 0===t&&(t={}),this.status="PENDING",!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)},t.prototype.disable=function(t){void 0===t&&(t={}),this.status="DISABLED",this.errors=null,this._forEachChild(function(e){e.disable(i({},t,{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(t),this._onDisabledChange.forEach(function(t){return t(!0)})},t.prototype.enable=function(t){void 0===t&&(t={}),this.status="VALID",this._forEachChild(function(e){e.enable(i({},t,{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(t),this._onDisabledChange.forEach(function(t){return t(!1)})},t.prototype._updateAncestors=function(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),this._parent._updatePristine(),this._parent._updateTouched())},t.prototype.setParent=function(t){this._parent=t},t.prototype.updateValueAndValidity=function(t){void 0===t&&(t={}),this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)},t.prototype._updateTreeValidity=function(t){void 0===t&&(t={emitEvent:!0}),this._forEachChild(function(e){return e._updateTreeValidity(t)}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})},t.prototype._setInitialStatus=function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"},t.prototype._runValidator=function(){return this.validator?this.validator(this):null},t.prototype._runAsyncValidator=function(t){var e=this;if(this.asyncValidator){this.status="PENDING";var n=Dv(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(function(n){return e.setErrors(n,{emitEvent:t})})}},t.prototype._cancelExistingSubscription=function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()},t.prototype.setErrors=function(t,e){void 0===e&&(e={}),this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)},t.prototype.get=function(t){return function(t,e,n){return null==e?null:(e instanceof Array||(e=e.split(".")),e instanceof Array&&0===e.length?null:e.reduce(function(t,e){return t instanceof pg?t.controls.hasOwnProperty(e)?t.controls[e]:null:t instanceof fg&&t.at(e)||null},t))}(this,t)},t.prototype.getError=function(t,e){var n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null},t.prototype.hasError=function(t,e){return!!this.getError(t,e)},Object.defineProperty(t.prototype,"root",{get:function(){for(var t=this;t._parent;)t=t._parent;return t},enumerable:!0,configurable:!0}),t.prototype._updateControlsErrors=function(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)},t.prototype._initObservables=function(){this.valueChanges=new Wo,this.statusChanges=new Wo},t.prototype._calculateStatus=function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"},t.prototype._anyControlsHaveStatus=function(t){return this._anyControls(function(e){return e.status===t})},t.prototype._anyControlsDirty=function(){return this._anyControls(function(t){return t.dirty})},t.prototype._anyControlsTouched=function(){return this._anyControls(function(t){return t.touched})},t.prototype._updatePristine=function(t){void 0===t&&(t={}),this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)},t.prototype._updateTouched=function(t){void 0===t&&(t={}),this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)},t.prototype._isBoxedValue=function(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t},t.prototype._registerOnCollectionChange=function(t){this._onCollectionChange=t},t.prototype._setUpdateStrategy=function(t){sg(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)},t}(),cg=function(t){function e(e,n,r){void 0===e&&(e=null);var o=t.call(this,ug(n),ag(r,n))||this;return o._onChange=[],o._applyFormState(e),o._setUpdateStrategy(n),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o._initObservables(),o}return o(e,t),e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(function(t){return t(n.value,!1!==e.emitViewToModelChange)}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){void 0===e&&(e={}),this.setValue(t,e)},e.prototype.reset=function(t,e){void 0===t&&(t=null),void 0===e&&(e={}),this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1},e.prototype._updateValue=function(){},e.prototype._anyControls=function(t){return!1},e.prototype._allControlsDisabled=function(){return this.disabled},e.prototype.registerOnChange=function(t){this._onChange.push(t)},e.prototype._clearChangeFns=function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}},e.prototype.registerOnDisabledChange=function(t){this._onDisabledChange.push(t)},e.prototype._forEachChild=function(t){},e.prototype._syncPendingControls=function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))},e.prototype._applyFormState=function(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t},e}(lg),pg=function(t){function e(e,n,r){var o=t.call(this,ug(n),ag(r,n))||this;return o.controls=e,o._initObservables(),o._setUpdateStrategy(n),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return o(e,t),e.prototype.registerControl=function(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)},e.prototype.addControl=function(t,e){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.removeControl=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.contains=function(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled},e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this._checkAllValuesPresent(t),Object.keys(t).forEach(function(r){n._throwIfControlMissing(r),n.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){var n=this;void 0===e&&(e={}),Object.keys(t).forEach(function(r){n.controls[r]&&n.controls[r].patchValue(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.reset=function(t,e){void 0===t&&(t={}),void 0===e&&(e={}),this._forEachChild(function(n,r){n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e),this._updatePristine(e),this._updateTouched(e)},e.prototype.getRawValue=function(){return this._reduceChildren({},function(t,e,n){return t[n]=e instanceof cg?e.value:e.getRawValue(),t})},e.prototype._syncPendingControls=function(){var t=this._reduceChildren(!1,function(t,e){return!!e._syncPendingControls()||t});return t&&this.updateValueAndValidity({onlySelf:!0}),t},e.prototype._throwIfControlMissing=function(t){if(!Object.keys(this.controls).length)throw new Error("\n        There are no form controls registered with this group yet.  If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.controls[t])throw new Error("Cannot find form control with name: "+t+".")},e.prototype._forEachChild=function(t){var e=this;Object.keys(this.controls).forEach(function(n){return t(e.controls[n],n)})},e.prototype._setUpControls=function(){var t=this;this._forEachChild(function(e){e.setParent(t),e._registerOnCollectionChange(t._onCollectionChange)})},e.prototype._updateValue=function(){this.value=this._reduceValue()},e.prototype._anyControls=function(t){var e=this,n=!1;return this._forEachChild(function(r,o){n=n||e.contains(o)&&t(r)}),n},e.prototype._reduceValue=function(){var t=this;return this._reduceChildren({},function(e,n,r){return(n.enabled||t.disabled)&&(e[r]=n.value),e})},e.prototype._reduceChildren=function(t,e){var n=t;return this._forEachChild(function(t,r){n=e(n,t,r)}),n},e.prototype._allControlsDisabled=function(){var t,e;try{for(var n=s(Object.keys(this.controls)),r=n.next();!r.done;r=n.next())if(this.controls[r.value].enabled)return!1}catch(o){t={error:o}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return Object.keys(this.controls).length>0||this.disabled},e.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control with name: '"+n+"'.")})},e}(lg),fg=function(t){function e(e,n,r){var o=t.call(this,ug(n),ag(r,n))||this;return o.controls=e,o._initObservables(),o._setUpdateStrategy(n),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return o(e,t),e.prototype.at=function(t){return this.controls[t]},e.prototype.push=function(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.insert=function(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()},e.prototype.removeAt=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),this.updateValueAndValidity()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(e.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this._checkAllValuesPresent(t),t.forEach(function(t,r){n._throwIfControlMissing(r),n.at(r).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){var n=this;void 0===e&&(e={}),t.forEach(function(t,r){n.at(r)&&n.at(r).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.reset=function(t,e){void 0===t&&(t=[]),void 0===e&&(e={}),this._forEachChild(function(n,r){n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e),this._updatePristine(e),this._updateTouched(e)},e.prototype.getRawValue=function(){return this.controls.map(function(t){return t instanceof cg?t.value:t.getRawValue()})},e.prototype._syncPendingControls=function(){var t=this.controls.reduce(function(t,e){return!!e._syncPendingControls()||t},!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t},e.prototype._throwIfControlMissing=function(t){if(!this.controls.length)throw new Error("\n        There are no form controls registered with this array yet.  If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.at(t))throw new Error("Cannot find form control at index "+t)},e.prototype._forEachChild=function(t){this.controls.forEach(function(e,n){t(e,n)})},e.prototype._updateValue=function(){var t=this;this.value=this.controls.filter(function(e){return e.enabled||t.disabled}).map(function(t){return t.value})},e.prototype._anyControls=function(t){return this.controls.some(function(e){return e.enabled&&t(e)})},e.prototype._setUpControls=function(){var t=this;this._forEachChild(function(e){return t._registerControl(e)})},e.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control at index: "+n+".")})},e.prototype._allControlsDisabled=function(){var t,e;try{for(var n=s(this.controls),r=n.next();!r.done;r=n.next())if(r.value.enabled)return!1}catch(o){t={error:o}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return this.controls.length>0||this.disabled},e.prototype._registerControl=function(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)},e}(lg),hg=Promise.resolve(null),dg=function(t){function e(e,n){var r=t.call(this)||this;return r.submitted=!1,r._directives=[],r.ngSubmit=new Wo,r.form=new pg({},Xv(e),tg(n)),r}return o(e,t),e.prototype.ngAfterViewInit=function(){this._setUpdateStrategy()},Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this;hg.then(function(){var n=e._findContainer(t.path);t.control=n.registerControl(t.name,t.control),Yv(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),e._directives.push(t)})},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){var e=this;hg.then(function(){var n,r,o=e._findContainer(t.path);o&&o.removeControl(t.name),(r=(n=e._directives).indexOf(t))>-1&&n.splice(r,1)})},e.prototype.addFormGroup=function(t){var e=this;hg.then(function(){var n=e._findContainer(t.path),r=new pg({});(function(t,e){null==t&&Jv(e,"Cannot find control with"),t.validator=Rv.compose([t.validator,e.validator]),t.asyncValidator=Rv.composeAsync([t.asyncValidator,e.asyncValidator])})(r,t),n.registerControl(t.name,r),r.updateValueAndValidity({emitEvent:!1})})},e.prototype.removeFormGroup=function(t){var e=this;hg.then(function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name)})},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){var n=this;hg.then(function(){n.form.get(t.path).setValue(e)})},e.prototype.setValue=function(t){this.control.setValue(t)},e.prototype.onSubmit=function(t){return this.submitted=!0,e=this._directives,this.form._syncPendingControls(),e.forEach(function(t){var e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)}),this.ngSubmit.emit(t),!1;var e},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this.submitted=!1},e.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)},e.prototype._findContainer=function(t){return t.pop(),t.length?this.form.get(t):this.form},e}(kv),vg=function(){function t(){}return t.modelParentException=function(){throw new Error('\n      ngModel cannot be used to register form controls with a parent formGroup directive.  Try using\n      formGroup\'s partner directive "formControlName" instead.  Example:\n\n      \n    <div [formGroup]="myGroup">\n      <input formControlName="firstName">\n    </div>\n\n    In your class:\n\n    this.myGroup = new FormGroup({\n       firstName: new FormControl()\n    });\n\n      Or, if you\'d like to avoid registering this form control, indicate that it\'s standalone in ngModelOptions:\n\n      Example:\n\n      \n    <div [formGroup]="myGroup">\n       <input formControlName="firstName">\n       <input [(ngModel)]="showMoreControls" [ngModelOptions]="{standalone: true}">\n    </div>\n  ')},t.formGroupNameException=function(){throw new Error("\n      ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n      Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n      "+Zv+"\n\n      Option 2:  Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n      "+Wv)},t.missingNameException=function(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n      control must be defined as \'standalone\' in ngModelOptions.\n\n      Example 1: <input [(ngModel)]="person.firstName" name="first">\n      Example 2: <input [(ngModel)]="person.firstName" [ngModelOptions]="{standalone: true}">')},t.modelGroupParentException=function(){throw new Error("\n      ngModelGroup cannot be used with a parent formGroup directive.\n\n      Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n      "+Zv+"\n\n      Option 2:  Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n      "+Wv)},t.ngFormWarning=function(){console.warn("\n    It looks like you're using 'ngForm'.\n\n    Support for using the 'ngForm' element selector has been deprecated in Angular v6 and will be removed\n    in Angular v9.\n\n    Use 'ng-form' instead.\n\n    Before:\n    <ngForm #myForm=\"ngForm\">\n\n    After:\n    <ng-form #myForm=\"ngForm\">\n    ")},t}(),gg=new kt("NgFormSelectorWarning"),yg=function(t){function e(e,n,r){var o=t.call(this)||this;return o._parent=e,o._validators=n,o._asyncValidators=r,o}var n;return o(e,t),n=e,e.prototype._checkParentType=function(){this._parent instanceof n||this._parent instanceof dg||vg.modelGroupParentException()},e}(ng),mg=Promise.resolve(null),_g=function(t){function e(e,n,r,o){var i=t.call(this)||this;return i.control=new cg,i._registered=!1,i.update=new Wo,i._parent=e,i._rawValidators=n||[],i._rawAsyncValidators=r||[],i.valueAccessor=function(t,e){if(!e)return null;Array.isArray(e)||Jv(t,"Value accessor was not provided as an array for form control with");var n=void 0,r=void 0,o=void 0;return e.forEach(function(e){var i;e.constructor===Lv?n=e:(i=e,eg.some(function(t){return i.constructor===t})?(r&&Jv(t,"More than one built-in value accessor matches form control with"),r=e):(o&&Jv(t,"More than one custom value accessor matches form control with"),o=e))}),o||r||n||(Jv(t,"No valid value accessor for form control with"),null)}(i,o),i}return o(e,t),e.prototype.ngOnChanges=function(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),function(t,e){if(!t.hasOwnProperty("model"))return!1;var n=t.model;return!!n.isFirstChange()||!qt(e,n.currentValue)}(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Object.defineProperty(e.prototype,"path",{get:function(){return this._parent?Kv(this.name,this._parent):[this.name]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return Xv(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return tg(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},e.prototype._setUpControl=function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0},e.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)},e.prototype._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)},e.prototype._setUpStandalone=function(){Yv(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})},e.prototype._checkForErrors=function(){this._isStandalone()||this._checkParentType(),this._checkName()},e.prototype._checkParentType=function(){!(this._parent instanceof yg)&&this._parent instanceof ng?vg.formGroupNameException():this._parent instanceof yg||this._parent instanceof dg||vg.modelParentException()},e.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||vg.missingNameException()},e.prototype._updateValue=function(t){var e=this;mg.then(function(){e.control.setValue(t,{emitViewToModelChange:!1})})},e.prototype._updateDisabled=function(t){var e=this,n=t.isDisabled.currentValue,r=""===n||n&&"false"!==n;mg.then(function(){r&&!e.control.disabled?e.control.disable():!r&&e.control.disabled&&e.control.enable()})},e}(Bv),bg=function(){function t(){}return Object.defineProperty(t.prototype,"required",{get:function(){return this._required},set:function(t){this._required=null!=t&&!1!==t&&""+t!="false",this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),t.prototype.validate=function(t){return this.required?Rv.required(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t}(),wg=function(){return function(){}}(),Cg=function(){return function(){}}(),Sg=function(){function t(){}var e;return e=t,t.withConfig=function(t){return{ngModule:e,providers:[{provide:gg,useValue:t.warnOnDeprecatedNgFormSelector}]}},t}(),xg=function(){function t(){this.newQuote=new Cv(0,"","",new Date),this.addQuote=new Wo}return t.prototype.submitQuote=function(){this.addQuote.emit(this.newQuote)},t.prototype.ngOnInit=function(){},t}(),Eg=$u({encapsulation:0,styles:[[""]],data:{}});function Tg(t){return Us(0,[(t()(),xa(0,0,null,null,46,"div",[["class","container-fluid"]],null,null,null,null,null)),(t()(),xa(1,0,null,null,45,"div",[["class","row"]],null,null,null,null,null)),(t()(),xa(2,0,null,null,44,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],function(t,e,n){var r=!0,o=t.component;return"submit"===e&&(r=!1!==Xa(t,4).onSubmit(n)&&r),"reset"===e&&(r=!1!==Xa(t,4).onReset()&&r),"ngSubmit"===e&&(r=!1!==o.submitQuote()&&r),r},null,null)),fs(3,16384,null,0,wg,[],null,null),fs(4,4210688,[["quoteForm",4]],0,dg,[[8,null],[8,null]],null,{ngSubmit:"ngSubmit"}),ds(2048,null,kv,null,[dg]),fs(6,16384,null,0,ig,[[4,kv]],null,null),(t()(),xa(7,0,null,null,11,"div",[["class","form-group"]],null,null,null,null,null)),(t()(),xa(8,0,null,null,7,"input",[["class","form-control"],["id","author"],["name","author"],["placeholder","Author"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(t,e,n){var r=!0,o=t.component;return"input"===e&&(r=!1!==Xa(t,9)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==Xa(t,9).onTouched()&&r),"compositionstart"===e&&(r=!1!==Xa(t,9)._compositionStart()&&r),"compositionend"===e&&(r=!1!==Xa(t,9)._compositionEnd(n.target.value)&&r),"ngModelChange"===e&&(r=!1!==(o.newQuote.author=n)&&r),r},null,null)),fs(9,16384,null,0,Lv,[po,uo,[2,Uv]],null,null),fs(10,16384,null,0,bg,[],{required:[0,"required"]},null),ds(1024,null,Av,function(t){return[t]},[bg]),ds(1024,null,jv,function(t){return[t]},[Lv]),fs(13,671744,[["author",4]],0,_g,[[2,kv],[6,Av],[8,null],[6,jv]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),ds(2048,null,Bv,null,[_g]),fs(15,16384,null,0,og,[[4,Bv]],null,null),(t()(),xa(16,0,null,null,2,"div",[["class","alert alert-danger"]],[[8,"hidden",0]],null,null,null,null)),(t()(),xa(17,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Vs(-1,null,[" Name is Required"])),(t()(),xa(19,0,null,null,11,"div",[["class","form-group"]],null,null,null,null,null)),(t()(),xa(20,0,null,null,7,"textarea",[["class","form-control"],["id","desc"],["name","desc"],["placeholder","Quote Description"],["required",""],["rows","4"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(t,e,n){var r=!0,o=t.component;return"input"===e&&(r=!1!==Xa(t,21)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==Xa(t,21).onTouched()&&r),"compositionstart"===e&&(r=!1!==Xa(t,21)._compositionStart()&&r),"compositionend"===e&&(r=!1!==Xa(t,21)._compositionEnd(n.target.value)&&r),"ngModelChange"===e&&(r=!1!==(o.newQuote.desc=n)&&r),r},null,null)),fs(21,16384,null,0,Lv,[po,uo,[2,Uv]],null,null),fs(22,16384,null,0,bg,[],{required:[0,"required"]},null),ds(1024,null,Av,function(t){return[t]},[bg]),ds(1024,null,jv,function(t){return[t]},[Lv]),fs(25,671744,[["desc",4]],0,_g,[[2,kv],[6,Av],[8,null],[6,jv]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),ds(2048,null,Bv,null,[_g]),fs(27,16384,null,0,og,[[4,Bv]],null,null),(t()(),xa(28,0,null,null,2,"div",[["class","alert alert-danger"]],[[8,"hidden",0]],null,null,null,null)),(t()(),xa(29,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Vs(-1,null,[" Description is Required"])),(t()(),xa(31,0,null,null,13,"div",[["class","form-group"]],null,null,null,null,null)),(t()(),xa(32,0,null,null,1,"label",[["for","complete"]],null,null,null,null,null)),(t()(),Vs(-1,null,["Completion"])),(t()(),xa(34,0,null,null,7,"input",[["id","complete"],["name","completeDate"],["required",""],["type","date"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(t,e,n){var r=!0,o=t.component;return"input"===e&&(r=!1!==Xa(t,35)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==Xa(t,35).onTouched()&&r),"compositionstart"===e&&(r=!1!==Xa(t,35)._compositionStart()&&r),"compositionend"===e&&(r=!1!==Xa(t,35)._compositionEnd(n.target.value)&&r),"ngModelChange"===e&&(r=!1!==(o.newQuote.completeDate=n)&&r),r},null,null)),fs(35,16384,null,0,Lv,[po,uo,[2,Uv]],null,null),fs(36,16384,null,0,bg,[],{required:[0,"required"]},null),ds(1024,null,Av,function(t){return[t]},[bg]),ds(1024,null,jv,function(t){return[t]},[Lv]),fs(39,671744,[["completeDate",4]],0,_g,[[2,kv],[6,Av],[8,null],[6,jv]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),ds(2048,null,Bv,null,[_g]),fs(41,16384,null,0,og,[[4,Bv]],null,null),(t()(),xa(42,0,null,null,2,"div",[["class","alert alert-danger"]],[[8,"hidden",0]],null,null,null,null)),(t()(),xa(43,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Vs(-1,null,[" Complete Date is Required"])),(t()(),xa(45,0,null,null,1,"button",[["class","btn btn-success"],["type","Submit"]],null,null,null,null,null)),(t()(),Vs(-1,null,["Add Goal"]))],function(t,e){var n=e.component;t(e,10,0,""),t(e,13,0,"author",n.newQuote.author),t(e,22,0,""),t(e,25,0,"desc",n.newQuote.desc),t(e,36,0,""),t(e,39,0,"completeDate",n.newQuote.completeDate)},function(t,e){t(e,2,0,Xa(e,6).ngClassUntouched,Xa(e,6).ngClassTouched,Xa(e,6).ngClassPristine,Xa(e,6).ngClassDirty,Xa(e,6).ngClassValid,Xa(e,6).ngClassInvalid,Xa(e,6).ngClassPending),t(e,8,0,Xa(e,10).required?"":null,Xa(e,15).ngClassUntouched,Xa(e,15).ngClassTouched,Xa(e,15).ngClassPristine,Xa(e,15).ngClassDirty,Xa(e,15).ngClassValid,Xa(e,15).ngClassInvalid,Xa(e,15).ngClassPending),t(e,16,0,Xa(e,13).valid||Xa(e,13).pristine),t(e,20,0,Xa(e,22).required?"":null,Xa(e,27).ngClassUntouched,Xa(e,27).ngClassTouched,Xa(e,27).ngClassPristine,Xa(e,27).ngClassDirty,Xa(e,27).ngClassValid,Xa(e,27).ngClassInvalid,Xa(e,27).ngClassPending),t(e,28,0,Xa(e,25).valid||Xa(e,25).pristine),t(e,34,0,Xa(e,36).required?"":null,Xa(e,41).ngClassUntouched,Xa(e,41).ngClassTouched,Xa(e,41).ngClassPristine,Xa(e,41).ngClassDirty,Xa(e,41).ngClassValid,Xa(e,41).ngClassInvalid,Xa(e,41).ngClassPending),t(e,42,0,Xa(e,39).valid||Xa(e,39).pristine)})}var Og=function(){function t(){this.quotes=[new Cv(1,"Maya Angelou","People will forget what you",new Date(2019,3,14)),new Cv(1,"William Blake","if a thing Loves,it is infinity",new Date(2019,3,14)),new Cv(1,"Emily Dickinson","The soul should stand ajar, ready to welcome the ecstatic experience",new Date(2019,3,14))]}return t.prototype.addNewQuote=function(t){t.id=this.quotes.length+1,t.completeDate=new Date(t.completeDate),this.quotes.push(t)},t.prototype.showQuote=function(t){this.quotes[t].showDesc=!this.quotes[t].showDesc,console.log(this.showQuote)},t.prototype.quoteDelete=function(t,e){t&&confirm("Are you sure you want to DELETE "+this.quotes[e].author+" ")&&this.quotes.splice(e,1)},t.prototype.ngOnInit=function(){},t}(),kg=$u({encapsulation:0,styles:[[".formDiv[_ngcontent-%COMP%]{position:relative;left:30%;-webkit-transform:translate(-30%);transform:translate(-30%);width:100px}.sewk[_ngcontent-%COMP%]{margin:30px}.quoteDiv[_ngcontent-%COMP%]{position:relative;left:40%;-webkit-transform:translate(-40%);transform:translate(-40%)}.quoteDiv[_ngcontent-%COMP%]   .layer1[_ngcontent-%COMP%]{width:800px;height:250px;background-color:#4ef75c;-webkit-transform:skewX(-30deg);transform:skewX(-30deg);box-shadow:0 0 0 10px #fff;z-index:1;transition:.5s}.quoteDiv[_ngcontent-%COMP%]   .layer2[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:840px;height:250px;background-color:#262626;z-index:-1;transition:1s}.quoteDiv[_ngcontent-%COMP%]:hover   .layer2[_ngcontent-%COMP%]{-webkit-transform:scaleX(1.5) scaleY(.9);transform:scaleX(1.5) scaleY(.9)}.content[_ngcontent-%COMP%]{position:absolute;width:800px;top:20px;left:20px;bottom:20px;right:20px;background-color:#fff;padding:20px;box-sizing:border-box;text-align:center;box-shadow:0 10px 15px rgba(0,0,0,.4)}.quoteDiv[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{margin:0;padding:0;font-weight:700}.quoteDiv[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-weight:500}"]],data:{}});function Pg(t){return Us(0,[(t()(),xa(0,0,null,null,8,"div",[["class","col-sm-6 sewk  quoteDiv"]],null,null,null,null,null)),(t()(),xa(1,0,null,null,0,"div",[["class","layer1"]],null,null,null,null,null)),(t()(),xa(2,0,null,null,0,"div",[["class","layer2"]],null,null,null,null,null)),(t()(),xa(3,0,null,null,5,"div",[["class","content"]],null,null,null,null,null)),(t()(),xa(4,0,null,null,2,"h2",[["appHighlight",""]],null,[[null,"click"],[null,"dblclick"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==Xa(t,5).onclick()&&r),"dblclick"===e&&(r=!1!==Xa(t,5).onDoubleClicks()&&r),r},null,null)),fs(5,16384,null,0,_v,[uo],null,null),(t()(),Vs(6,null,["",""])),(t()(),xa(7,0,null,null,1,"app-quote-details",[],null,[[null,"isDelete"]],function(t,e,n){var r=!0;return"isDelete"===e&&(r=!1!==t.component.quoteDelete(n,t.context.index)&&r),r},Ev,xv)),fs(8,114688,null,0,Sv,[],{quote:[0,"quote"]},{isDelete:"isDelete"})],function(t,e){t(e,8,0,e.context.$implicit)},function(t,e){t(e,6,0,e.context.$implicit.author)})}function Ag(t){return Us(0,[(t()(),xa(0,0,null,null,7,"div",[["class"," text-center"]],null,null,null,null,null)),(t()(),xa(1,0,null,null,0,"hr",[],null,null,null,null,null)),(t()(),xa(2,0,null,null,5,"div",[["class","row"]],null,null,null,null,null)),(t()(),xa(3,0,null,null,2,"div",[["class","col-sm-6 formDiv container"]],null,null,null,null,null)),(t()(),xa(4,0,null,null,1,"app-quote-form",[],null,[[null,"addQuote"]],function(t,e,n){var r=!0;return"addQuote"===e&&(r=!1!==t.component.addNewQuote(n)&&r),r},Tg,Eg)),fs(5,114688,null,0,xg,[],null,{addQuote:"addQuote"}),(t()(),Sa(16777216,null,null,1,null,Pg)),fs(7,278528,null,0,op,[ru,Ko,Su],{ngForOf:[0,"ngForOf"]},null)],function(t,e){var n=e.component;t(e,5,0),t(e,7,0,n.quotes)},null)}var Ig=$u({encapsulation:0,styles:[[""]],data:{}});function Rg(t){return Us(0,[(t()(),xa(0,0,null,null,7,"div",[["class","content"]],null,null,null,null,null)),(t()(),xa(1,0,null,null,1,"app-nav",[],null,null,null,mv,yv)),fs(2,114688,null,0,gv,[],null,null),(t()(),xa(3,0,null,null,2,"div",[["style","text-align:center"]],null,null,null,null,null)),(t()(),xa(4,0,null,null,1,"h1",[],null,null,null,null,null)),(t()(),Vs(5,null,[" Welcome to ","! "])),(t()(),xa(6,0,null,null,1,"app-quote",[],null,null,null,Ag,kg)),fs(7,114688,null,0,Og,[],null,null),(t()(),xa(8,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),fs(9,212992,null,0,Bd,[qd,ru,ro,[8,null],iu],null,null)],function(t,e){t(e,2,0),t(e,7,0),t(e,9,0)},function(t,e){t(e,5,0,e.component.title)})}function Ng(t){return Us(0,[(t()(),xa(0,0,null,null,1,"app-root",[],null,null,null,Rg,Ig)),fs(1,49152,null,0,Wl,[],null,null)],null,null)}var Dg=za("app-root",Wl,Ng,{},{},[]),Vg=function(){return function(){}}(),jg=Gl(Zl,[Wl],function(t){return function(t){for(var e={},n=[],r=!1,o=0;o<t.length;o++){var i=t[o];i.token===Hr&&!0===i.value&&(r=!0),1073741824&i.flags&&n.push(i.token),i.index=o,e[Zu(i.token)]=i}return{factory:null,providersByKey:e,providers:t,modules:n,isRoot:r}}([Na(512,ro,oo,[[8,[vv,Dg]],[3,ro],or]),Na(5120,Pu,Ru,[[3,Pu]]),Na(4608,ep,np,[Pu,[2,tp]]),Na(5120,di,vi,[]),Na(5120,Su,Au,[]),Na(5120,xu,Iu,[]),Na(4608,cf,pf,[ap]),Na(6144,Jo,null,[cf]),Na(4608,nf,of,[]),Na(5120,Pp,function(t,e,n,r,o,i,u,a){return[new tf(t,e,n),new lf(r),new uf(o,i,u,a)]},[ap,Ii,mi,ap,ap,nf,bi,[2,rf]]),Na(4608,Ap,Ap,[Pp,Ii]),Na(135680,Np,Np,[ap]),Na(4608,Hp,Hp,[Ap,Np]),Na(6144,lo,null,[Hp]),Na(6144,Rp,null,[Np]),Na(4608,Li,Li,[Ii]),Na(4608,Gv,Gv,[]),Na(5120,Ph,av,[Ld]),Na(4608,Wd,Wd,[]),Na(6144,Qd,null,[Wd]),Na(135680,Kd,Kd,[Ld,Yi,xi,Bn,Qd]),Na(4608,Zd,Zd,[]),Na(5120,Yd,nv,[Ld,lp,$d]),Na(5120,pv,cv,[sv]),Na(5120,_i,function(t){return[t]},[pv]),Na(1073742336,up,up,[]),Na(1024,li,_f,[]),Na(1024,qi,function(){return[tv()]},[]),Na(512,sv,sv,[Bn]),Na(1024,fi,function(t,e){return[(n=t,Tp("probe",kp),Tp("coreTokens",i({},Op,(n||[]).reduce(function(t,e){return t[e.name]=e.token,t},{}))),function(){return kp}),lv(e)];var n},[[2,qi],sv]),Na(512,hi,hi,[[2,fi]]),Na(131584,Wi,Wi,[Ii,bi,Bn,li,ro,hi]),Na(1073742336,Nu,Nu,[Wi]),Na(1073742336,bf,bf,[[3,bf]]),Na(1073742336,Cg,Cg,[]),Na(1073742336,Sg,Sg,[]),Na(1024,Jd,ov,[[3,Ld]]),Na(512,ah,sh,[]),Na(512,qd,qd,[]),Na(256,$d,{},[]),Na(1024,Bc,rv,[zc,[2,Gc],$d]),Na(512,Qc,Qc,[Bc]),Na(512,xi,xi,[]),Na(512,Yi,tu,[xi,[2,Ji]]),Na(1024,Rd,function(){return[[]]},[]),Na(1024,Ld,uv,[Wi,ah,qd,Qc,Bn,Yi,xi,Rd,$d,[2,Dd],[2,Ad]]),Na(1073742336,ev,ev,[[2,Jd],[2,Ld]]),Na(1073742336,Vg,Vg,[]),Na(1073742336,Zl,Zl,[]),Na(256,Hr,!0,[])])});(function(){if(xo)throw new Error("Cannot enable prod mode after platform setup.");So=!1})(),mf().bootstrapModuleFactory(jg).catch(function(t){return console.error(t)})}},[[0,0]]]);