-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.0c456973921c98f1e539.js
1 lines (1 loc) · 251 KB
/
main.0c456973921c98f1e539.js
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{3:function(e,t,n){e.exports=n("zUnb")},crnd:function(e,t){function n(e){return Promise.resolve().then(function(){var t=new Error('Cannot find module "'+e+'".');throw t.code="MODULE_NOT_FOUND",t})}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="crnd"},zUnb:function(e,t,n){"use strict";n.r(t);var r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};function o(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e};function u(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function a(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),u=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)u.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return u}function s(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(a(arguments[t]));return e}function l(e){return"function"==typeof e}var c=!1,p={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){c=e},get useDeprecatedSynchronousErrorHandling(){return c}};function h(e){setTimeout(function(){throw e})}var f={closed:!0,next:function(e){},error:function(e){if(p.useDeprecatedSynchronousErrorHandling)throw e;h(e)},complete:function(){}},d=Array.isArray||function(e){return e&&"number"==typeof e.length};function v(e){return null!=e&&"object"==typeof e}var g,y={e:{}};function m(){try{return g.apply(this,arguments)}catch(e){return y.e=e,y}}function b(e){return g=e,m}var w=function(e){function t(n){var r=e.call(this,n?n.length+" errors occurred during unsubscription:\n "+n.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"")||this;return r.errors=n,r.name="UnsubscriptionError",Object.setPrototypeOf(r,t.prototype),r}return o(t,e),t}(Error),_=function(){function e(e){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}var t;return e.prototype.unsubscribe=function(){var e,t=!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(l(o)&&b(o).call(this)===y&&(t=!0,e=e||(y.e instanceof w?C(y.e.errors):[y.e])),d(i))for(u=-1,a=i.length;++u<a;){var s=i[u];if(v(s)&&b(s.unsubscribe).call(s)===y){t=!0,e=e||[];var c=y.e;c instanceof w?e=e.concat(C(c.errors)):e.push(c)}}if(t)throw new w(e)}},e.prototype.add=function(t){if(!t||t===e.EMPTY)return e.EMPTY;if(t===this)return this;var n=t;switch(typeof t){case"function":n=new e(t);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 e)._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}return(this._subscriptions||(this._subscriptions=[])).push(n),n._addParent(this),n},e.prototype.remove=function(e){var t=this._subscriptions;if(t){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}},e.prototype._addParent=function(e){var t=this._parent,n=this._parents;t&&t!==e?n?-1===n.indexOf(e)&&n.push(e):this._parents=[e]:this._parent=e},e.EMPTY=((t=new e).closed=!0,t),e}();function C(e){return e.reduce(function(e,t){return e.concat(t instanceof w?t.errors:t)},[])}var S="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("rxSubscriber"):"@@rxSubscriber",E=function(e){function t(t,n,r){var o,i=e.call(this)||this;switch(i.syncErrorValue=null,i.syncErrorThrown=!1,i.syncErrorThrowable=!1,i.isStopped=!1,arguments.length){case 0:i.destination=f;break;case 1:if(!t){i.destination=f;break}if("object"==typeof t){if((o=t)instanceof E||"syncErrorThrowable"in o&&o[S]){var u=t[S]();i.syncErrorThrowable=u.syncErrorThrowable,i.destination=u,u.add(i)}else i.syncErrorThrowable=!0,i.destination=new x(i,t);break}default:i.syncErrorThrowable=!0,i.destination=new x(i,t,n,r)}return i}return o(t,e),t.prototype[S]=function(){return this},t.create=function(e,n,r){var o=new t(e,n,r);return o.syncErrorThrowable=!1,o},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this))},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){this.destination.error(e),this.unsubscribe()},t.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},t.prototype._unsubscribeAndRecycle=function(){var e=this._parent,t=this._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=e,this._parents=t,this},t}(_),x=function(e){function t(t,n,r,o){var i,u=e.call(this)||this;u._parentSubscriber=t;var a=u;return l(n)?i=n:n&&(i=n.next,r=n.error,o=n.complete,n!==f&&(l((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(t,e),t.prototype.next=function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;p.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}},t.prototype.error=function(e){if(!this.isStopped){var t=this._parentSubscriber,n=p.useDeprecatedSynchronousErrorHandling;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):h(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;h(e)}}},t.prototype.complete=function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var n=function(){return e._complete.call(e._context)};p.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},t.prototype.__tryOrUnsub=function(e,t){try{e.call(this._context,t)}catch(e){if(this.unsubscribe(),p.useDeprecatedSynchronousErrorHandling)throw e;h(e)}},t.prototype.__tryOrSetError=function(e,t,n){if(!p.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(t){return p.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=t,e.syncErrorThrown=!0,!0):(h(t),!0)}return!1},t.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()},t}(E),I="function"==typeof Symbol&&Symbol.observable||"@@observable";function T(){}function A(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return P(e)}function P(e){return e?1===e.length?e[0]:function(t){return e.reduce(function(e,t){return t(e)},t)}:T}var k=function(){function e(e){this._isScalar=!1,e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var r=this.operator,o=function(e,t,n){if(e){if(e instanceof E)return e;if(e[S])return e[S]()}return e||t||n?new E(e,t,n):new E(f)}(e,t,n);if(r?r.call(o,this.source):o.add(this.source||p.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),p.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){p.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),e.error(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=O(t))(function(t,r){var o;o=n.subscribe(function(t){try{e(t)}catch(e){r(e),o&&o.unsubscribe()}},r,t)})},e.prototype._subscribe=function(e){var t=this.source;return t&&t.subscribe(e)},e.prototype[I]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?this:P(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=O(e))(function(e,n){var r;t.subscribe(function(e){return r=e},function(e){return n(e)},function(){return e(r)})})},e.create=function(t){return new e(t)},e}();function O(e){if(e||(e=p.Promise||Promise),!e)throw new Error("no Promise impl found");return e}function N(e){return e&&"function"==typeof e.schedule}var M=function(e){function t(t,n,r){var o=e.call(this)||this;return o.parent=t,o.outerValue=n,o.outerIndex=r,o.index=0,o}return o(t,e),t.prototype._next=function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)},t.prototype._error=function(e){this.parent.notifyError(e,this),this.unsubscribe()},t.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},t}(E),R=function(e){return function(t){for(var n=0,r=e.length;n<r&&!t.closed;n++)t.next(e[n]);t.closed||t.complete()}},j=function(e){return function(t){return e.then(function(e){t.closed||(t.next(e),t.complete())},function(e){return t.error(e)}).then(null,h),t}},D=function(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}(),L=function(e){return function(t){for(var n=e[D]();;){var r=n.next();if(r.done){t.complete();break}if(t.next(r.value),t.closed)break}return"function"==typeof n.return&&t.add(function(){n.return&&n.return()}),t}},H=function(e){return function(t){var n=e[I]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(t)}},U=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};function V(e){return e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}var F=function(e){if(e instanceof k)return function(t){return e._isScalar?(t.next(e.value),void t.complete()):e.subscribe(t)};if(e&&"function"==typeof e[I])return H(e);if(U(e))return R(e);if(V(e))return j(e);if(e&&"function"==typeof e[D])return L(e);var t=v(e)?"an invalid object":"'"+e+"'";throw new TypeError("You provided "+t+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")};function z(e,t,n,r){var o=new M(e,n,r);return F(t)(o)}var B=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.notifyNext=function(e,t,n,r,o){this.destination.next(t)},t.prototype.notifyError=function(e,t){this.destination.error(e)},t.prototype.notifyComplete=function(e){this.destination.complete()},t}(E);function Z(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new W(e,t))}}var W=function(){function e(e,t){this.project=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new G(e,this.project,this.thisArg))},e}(),G=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.project=n,o.count=0,o.thisArg=r||o,o}return o(t,e),t.prototype._next=function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(e){return void this.destination.error(e)}this.destination.next(t)},t}(E);function q(e,t){return new k(t?function(n){var r=new _,o=0;return r.add(t.schedule(function(){o!==e.length?(n.next(e[o++]),n.closed||r.add(this.schedule())):n.complete()})),r}:R(e))}function Q(e,t){if(!t)return e instanceof k?e:new k(F(e));if(null!=e){if(function(e){return e&&"function"==typeof e[I]}(e))return function(e,t){return new k(t?function(n){var r=new _;return r.add(t.schedule(function(){var o=e[I]();r.add(o.subscribe({next:function(e){r.add(t.schedule(function(){return n.next(e)}))},error:function(e){r.add(t.schedule(function(){return n.error(e)}))},complete:function(){r.add(t.schedule(function(){return n.complete()}))}}))})),r}:H(e))}(e,t);if(V(e))return function(e,t){return new k(t?function(n){var r=new _;return r.add(t.schedule(function(){return e.then(function(e){r.add(t.schedule(function(){n.next(e),r.add(t.schedule(function(){return n.complete()}))}))},function(e){r.add(t.schedule(function(){return n.error(e)}))})})),r}:j(e))}(e,t);if(U(e))return q(e,t);if(function(e){return e&&"function"==typeof e[D]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new k(t?function(n){var r,o=new _;return o.add(function(){r&&"function"==typeof r.return&&r.return()}),o.add(t.schedule(function(){r=e[D](),o.add(t.schedule(function(){if(!n.closed){var e,t;try{var o=r.next();e=o.value,t=o.done}catch(e){return void n.error(e)}t?n.complete():(n.next(e),this.schedule())}}))})),o}:L(e))}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}function Y(e,t,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof t?function(r){return r.pipe(Y(function(n,r){return Q(e(n,r)).pipe(Z(function(e,o){return t(n,e,r,o)}))},n))}:("number"==typeof t&&(n=t),function(t){return t.lift(new J(e,n))})}var J=function(){function e(e,t){void 0===t&&(t=Number.POSITIVE_INFINITY),this.project=e,this.concurrent=t}return e.prototype.call=function(e,t){return t.subscribe(new X(e,this.project,this.concurrent))},e}(),X=function(e){function t(t,n,r){void 0===r&&(r=Number.POSITIVE_INFINITY);var o=e.call(this,t)||this;return o.project=n,o.concurrent=r,o.hasCompleted=!1,o.buffer=[],o.active=0,o.index=0,o}return o(t,e),t.prototype._next=function(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)},t.prototype._tryNext=function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(e){return void this.destination.error(e)}this.active++,this._innerSub(t,e,n)},t.prototype._innerSub=function(e,t,n){this.add(z(this,e,t,n))},t.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete()},t.prototype.notifyNext=function(e,t,n,r,o){this.destination.next(t)},t.prototype.notifyComplete=function(e){var t=this.buffer;this.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},t}(B);function K(e){return e}function $(e){return void 0===e&&(e=Number.POSITIVE_INFINITY),Y(K,e)}function ee(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Number.POSITIVE_INFINITY,r=null,o=e[e.length-1];return N(o)?(r=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(n=e.pop())):"number"==typeof o&&(n=e.pop()),null===r&&1===e.length&&e[0]instanceof k?e[0]:$(n)(q(e,r))}var te=function(e){function t(){var n=e.call(this,"object unsubscribed")||this;return n.name="ObjectUnsubscribedError",Object.setPrototypeOf(n,t.prototype),n}return o(t,e),t}(Error),ne=function(e){function t(t,n){var r=e.call(this)||this;return r.subject=t,r.subscriber=n,r.closed=!1,r}return o(t,e),t.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var e=this.subject,t=e.observers;if(this.subject=null,t&&0!==t.length&&!e.isStopped&&!e.closed){var n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}},t}(_),re=function(e){function t(t){var n=e.call(this,t)||this;return n.destination=t,n}return o(t,e),t}(E),oe=function(e){function t(){var t=e.call(this)||this;return t.observers=[],t.closed=!1,t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return o(t,e),t.prototype[S]=function(){return new re(this)},t.prototype.lift=function(e){var t=new ie(this,this);return t.operator=e,t},t.prototype.next=function(e){if(this.closed)throw new te;if(!this.isStopped)for(var t=this.observers,n=t.length,r=t.slice(),o=0;o<n;o++)r[o].next(e)},t.prototype.error=function(e){if(this.closed)throw new te;this.hasError=!0,this.thrownError=e,this.isStopped=!0;for(var t=this.observers,n=t.length,r=t.slice(),o=0;o<n;o++)r[o].error(e);this.observers.length=0},t.prototype.complete=function(){if(this.closed)throw new te;this.isStopped=!0;for(var e=this.observers,t=e.length,n=e.slice(),r=0;r<t;r++)n[r].complete();this.observers.length=0},t.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},t.prototype._trySubscribe=function(t){if(this.closed)throw new te;return e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){if(this.closed)throw new te;return this.hasError?(e.error(this.thrownError),_.EMPTY):this.isStopped?(e.complete(),_.EMPTY):(this.observers.push(e),new ne(this,e))},t.prototype.asObservable=function(){var e=new k;return e.source=this,e},t.create=function(e,t){return new ie(e,t)},t}(k),ie=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return o(t,e),t.prototype.next=function(e){var t=this.destination;t&&t.next&&t.next(e)},t.prototype.error=function(e){var t=this.destination;t&&t.error&&this.destination.error(e)},t.prototype.complete=function(){var e=this.destination;e&&e.complete&&this.destination.complete()},t.prototype._subscribe=function(e){return this.source?this.source.subscribe(e):_.EMPTY},t}(oe);function ue(){return function(e){return e.lift(new ae(e))}}var ae=function(){function e(e){this.connectable=e}return e.prototype.call=function(e,t){var n=this.connectable;n._refCount++;var r=new se(e,n),o=t.subscribe(r);return r.closed||(r.connection=n.connect()),o},e}(),se=function(e){function t(t,n){var r=e.call(this,t)||this;return r.connectable=n,r}return o(t,e),t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var n=this.connection,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},t}(E),le=function(e){function t(t,n){var r=e.call(this)||this;return r.source=t,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return o(t,e),t.prototype._subscribe=function(e){return this.getSubject().subscribe(e)},t.prototype.getSubject=function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject},t.prototype.connect=function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new _).add(this.source.subscribe(new pe(this.getSubject(),this))),e.closed?(this._connection=null,e=_.EMPTY):this._connection=e),e},t.prototype.refCount=function(){return ue()(this)},t}(k).prototype,ce={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:le._subscribe},_isComplete:{value:le._isComplete,writable:!0},getSubject:{value:le.getSubject},connect:{value:le.connect},refCount:{value:le.refCount}},pe=function(e){function t(t,n){var r=e.call(this,t)||this;return r.connectable=n,r}return o(t,e),t.prototype._error=function(t){this._unsubscribe(),e.prototype._error.call(this,t)},t.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}},t}(re);function he(e,t){return function(n){var r;if(r="function"==typeof e?e:function(){return e},"function"==typeof t)return n.lift(new fe(r,t));var o=Object.create(n,ce);return o.source=n,o.subjectFactory=r,o}}var fe=function(){function e(e,t){this.subjectFactory=e,this.selector=t}return e.prototype.call=function(e,t){var n=this.selector,r=this.subjectFactory(),o=n(r).subscribe(e);return o.add(t.subscribe(r)),o},e}();function de(){return new oe}function ve(e){return{providedIn:e.providedIn||null,factory:e.factory,value:void 0}}var ge=function(){function e(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0!==t?ve({providedIn:t.providedIn||"root",factory:t.factory}):void 0}return e.prototype.toString=function(){return"InjectionToken "+this._desc},e}(),ye="__parameters__";function me(e,t,n){var r=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(e){var r=e.apply(void 0,s(t));for(var o in r)this[o]=r[o]}}}(t);function o(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(this instanceof o)return r.apply(this,e),this;var n,i=new((n=o).bind.apply(n,s([void 0],e)));return u.annotation=i,u;function u(e,t,n){for(var r=e.hasOwnProperty(ye)?e[ye]:Object.defineProperty(e,ye,{value:[]})[ye];r.length<=n;)r.push(null);return(r[n]=r[n]||[]).push(i),e}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o}var be=new ge("AnalyzeForEntryComponents"),we=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(we||(we={})),_e=function(e){return e[e.CheckOnce=0]="CheckOnce",e[e.Checked=1]="Checked",e[e.CheckAlways=2]="CheckAlways",e[e.Detached=3]="Detached",e[e.Errored=4]="Errored",e[e.Destroyed=5]="Destroyed",e}(_e||(_e={}));Function;var Ce="undefined"!=typeof window&&window,Se="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Ee="undefined"!=typeof global&&global,xe=Ce||Ee||Se,Ie=Promise.resolve(0),Te=null;function Ae(){if(!Te){var e=xe.Symbol;if(e&&e.iterator)Te=e.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),n=0;n<t.length;++n){var r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(Te=r)}}return Te}function Pe(e){"undefined"==typeof Zone?Ie.then(function(){e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}function ke(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}function Oe(e){if("string"==typeof e)return e;if(e instanceof Array)return"["+e.map(Oe).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;var t=e.toString();if(null==t)return""+t;var n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Ne(e){return e.__forward_ref__=Ne,e.toString=function(){return Oe(this())},e}function Me(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")&&e.__forward_ref__===Ne?e():e}var Re=me("Inject",function(e){return{token:e}}),je=me("Optional"),De=me("Self"),Le=me("SkipSelf"),He="__source",Ue=new Object,Ve=new ge("INJECTOR"),Fe=function(){function e(){}return e.prototype.get=function(e,t){if(void 0===t&&(t=Ue),t===Ue)throw new Error("NullInjectorError: No provider for "+Oe(e)+"!");return t},e}(),ze=function(){function e(){}return e.create=function(e,t){return Array.isArray(e)?new Ke(e,t):new Ke(e.providers,e.parent,e.name||null)},e.THROW_IF_NOT_FOUND=Ue,e.NULL=new Fe,e.ngInjectableDef=ve({providedIn:"any",factory:function(){return function(e,t){if(void 0===t&&(t=0),void 0===nt)throw new Error("inject() must be called from an injection context");if(null===nt){var n=e.ngInjectableDef;if(n&&"root"==n.providedIn)return void 0===n.value?n.value=n.factory():n.value;throw new Error("Injector: NOT_FOUND ["+Oe(e)+"]")}return nt.get(e,8&t?null:void 0,t)}(Ve)}}),e}(),Be=function(e){return e},Ze=[],We=Be,Ge=function(){return Array.prototype.slice.call(arguments)},qe={},Qe=function(e){for(var t in e)if(e[t]===qe)return t;throw Error("!prop")}({provide:String,useValue:qe}),Ye=ze.NULL,Je=/\n/gm,Xe="\u0275",Ke=function(){function e(e,t,n){void 0===t&&(t=Ye),void 0===n&&(n=null),this.parent=t,this.source=n;var r=this._records=new Map;r.set(ze,{token:ze,fn:Be,deps:Ze,value:this,useNew:!1}),r.set(Ve,{token:Ve,fn:Be,deps:Ze,value:this,useNew:!1}),function e(t,n){if(n)if((n=Me(n))instanceof Array)for(var r=0;r<n.length;r++)e(t,n[r]);else{if("function"==typeof n)throw tt("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw tt("Unexpected provider",n);var o=Me(n.provide),i=function(e){var t=function(e){var t=Ze,n=e.deps;if(n&&n.length){t=[];for(var r=0;r<n.length;r++){var o=6;if((s=Me(n[r]))instanceof Array)for(var i=0,u=s;i<u.length;i++){var a=u[i];a instanceof je||a==je?o|=1:a instanceof Le||a==Le?o&=-3:a instanceof De||a==De?o&=-5:s=a instanceof Re?a.token:Me(a)}t.push({token:s,options:o})}}else if(e.useExisting){var s;t=[{token:s=Me(e.useExisting),options:6}]}else if(!(n||Qe in e))throw tt("'deps' required",e);return t}(e),n=Be,r=Ze,o=!1,i=Me(e.provide);if(Qe in e)r=e.useValue;else if(e.useFactory)n=e.useFactory;else if(e.useExisting);else if(e.useClass)o=!0,n=Me(e.useClass);else{if("function"!=typeof i)throw tt("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",e);o=!0,n=i}return{deps:t,fn:n,useNew:o,value:r}}(n);if(!0===n.multi){var u=t.get(o);if(u){if(u.fn!==Ge)throw $e(o)}else t.set(o,u={token:n.provide,deps:[],useNew:!1,fn:Ge,value:Ze});u.deps.push({token:o=n,options:6})}var a=t.get(o);if(a&&a.fn==Ge)throw $e(o);t.set(o,i)}}(r,e)}return e.prototype.get=function(e,t,n){void 0===n&&(n=0);var r=this._records.get(e);try{return function e(t,n,r,o,i,u){try{return function(t,n,r,o,i,u){var a,l;if(!n||4&u)2&u||(a=o.get(t,i,0));else{if((a=n.value)==We)throw Error(Xe+"Circular dependency");if(a===Ze){n.value=We;var c=n.useNew,p=n.fn,h=n.deps,f=Ze;if(h.length){f=[];for(var d=0;d<h.length;d++){var v=h[d],g=v.options,y=2&g?r.get(v.token):void 0;f.push(e(v.token,y,r,y||4&g?o:Ye,1&g?null:ze.THROW_IF_NOT_FOUND,0))}}n.value=a=c?new((l=p).bind.apply(l,s([void 0],f))):p.apply(void 0,f)}}return a}(t,n,r,o,i,u)}catch(e){throw e instanceof Error||(e=new Error(e)),(e.ngTempTokenPath=e.ngTempTokenPath||[]).unshift(t),n&&n.value==We&&(n.value=Ze),e}}(e,r,this._records,this.parent,t,n)}catch(t){var o=t.ngTempTokenPath;throw e[He]&&o.unshift(e[He]),t.message=et("\n"+t.message,o,this.source),t.ngTokenPath=o,t.ngTempTokenPath=null,t}},e.prototype.toString=function(){var e=[];return this._records.forEach(function(t,n){return e.push(Oe(n))}),"StaticInjector["+e.join(", ")+"]"},e}();function $e(e){return tt("Cannot mix multi providers and regular providers",e)}function et(e,t,n){void 0===n&&(n=null),e=e&&"\n"===e.charAt(0)&&e.charAt(1)==Xe?e.substr(2):e;var r=Oe(t);if(t instanceof Array)r=t.map(Oe).join(" -> ");else if("object"==typeof t){var o=[];for(var i in t)if(t.hasOwnProperty(i)){var u=t[i];o.push(i+":"+("string"==typeof u?JSON.stringify(u):Oe(u)))}r="{"+o.join(", ")+"}"}return"StaticInjectorError"+(n?"("+n+")":"")+"["+r+"]: "+e.replace(Je,"\n ")}function tt(e,t){return new Error(et(e,t))}var nt=void 0;function rt(e){var t=nt;return nt=e,t}String;var ot=function(e){return e[e.Emulated=0]="Emulated",e[e.Native=1]="Native",e[e.None=2]="None",e}(ot||(ot={})),it=new function(e){this.full="6.0.7",this.major="6.0.7".split(".")[0],this.minor="6.0.7".split(".")[1],this.patch="6.0.7".split(".").slice(2).join(".")}("6.0.7"),ut="ngDebugContext",at="ngOriginalError",st="ngErrorLogger";function lt(e){return e[ut]}function ct(e){return e[at]}function pt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e.error.apply(e,s(t))}var ht=function(){function e(){this._console=console}return e.prototype.handleError=function(e){var t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e[st]||pt}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)},e.prototype._findContext=function(e){return e?lt(e)?lt(e):this._findContext(ct(e)):null},e.prototype._findOriginalError=function(e){for(var t=ct(e);t&&ct(t);)t=ct(t);return t},e}(),ft=new ge("The presence of this token marks an injector as being the root injector.");function dt(e){return!!e&&"function"==typeof e.then}var vt=new ge("Application Initializer"),gt=function(){function e(e){var t=this;this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise(function(e,n){t.resolve=e,t.reject=n})}return e.prototype.runInitializers=function(){var e=this;if(!this.initialized){var t=[],n=function(){e.done=!0,e.resolve()};if(this.appInits)for(var r=0;r<this.appInits.length;r++){var o=this.appInits[r]();dt(o)&&t.push(o)}Promise.all(t).then(function(){n()}).catch(function(t){e.reject(t)}),0===t.length&&n(),this.initialized=!0}},e}(),yt=new ge("AppId");function mt(){return""+bt()+bt()+bt()}function bt(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var wt=new ge("Platform Initializer"),_t=new ge("Platform ID"),Ct=new ge("appBootstrapListener"),St=function(){function e(){}return e.prototype.log=function(e){console.log(e)},e.prototype.warn=function(e){console.warn(e)},e}();function Et(){throw new Error("Runtime compiler is not loaded")}var xt=function(){function e(){}return e.prototype.compileModuleSync=function(e){throw Et()},e.prototype.compileModuleAsync=function(e){throw Et()},e.prototype.compileModuleAndAllComponentsSync=function(e){throw Et()},e.prototype.compileModuleAndAllComponentsAsync=function(e){throw Et()},e.prototype.clearCache=function(){},e.prototype.clearCacheFor=function(e){},e}(),It=function(){},Tt=function(){};function At(e){var t=Error("No component factory found for "+Oe(e)+". Did you add it to @NgModule.entryComponents?");return t[Ot]=e,t}var Pt,kt,Ot="ngComponent",Nt=function(){function e(){}return e.prototype.resolveComponentFactory=function(e){throw At(e)},e}(),Mt=function(){function e(){}return e.NULL=new Nt,e}(),Rt=function(){function e(e,t,n){this._parent=t,this._ngModule=n,this._factories=new Map;for(var r=0;r<e.length;r++){var o=e[r];this._factories.set(o.componentType,o)}}return e.prototype.resolveComponentFactory=function(e){var t=this._factories.get(e);if(!t&&this._parent&&(t=this._parent.resolveComponentFactory(e)),!t)throw At(e);return new jt(t,this._ngModule)},e}(),jt=function(e){function t(t,n){var r=e.call(this)||this;return r.factory=t,r.ngModule=n,r.selector=t.selector,r.componentType=t.componentType,r.ngContentSelectors=t.ngContentSelectors,r.inputs=t.inputs,r.outputs=t.outputs,r}return o(t,e),t.prototype.create=function(e,t,n,r){return this.factory.create(e,t,n,r||this.ngModule)},t}(Tt),Dt=function(){},Lt=function(){},Ht=function(){var e=xe.wtf;return!(!e||!(Pt=e.trace)||(kt=Pt.events,0))}();function Ut(e,t){return null}var Vt=Ht?function(e,t){return void 0===t&&(t=null),kt.createScope(e,t)}:function(e,t){return Ut},Ft=Ht?function(e,t){return Pt.leaveScope(e,t),t}:function(e,t){return t},zt=function(e){function t(t){void 0===t&&(t=!1);var n=e.call(this)||this;return n.__isAsync=t,n}return o(t,e),t.prototype.emit=function(t){e.prototype.next.call(this,t)},t.prototype.subscribe=function(t,n,r){var o,i=function(e){return null},u=function(){return null};t&&"object"==typeof t?(o=this.__isAsync?function(e){setTimeout(function(){return t.next(e)})}:function(e){t.next(e)},t.error&&(i=this.__isAsync?function(e){setTimeout(function(){return t.error(e)})}:function(e){t.error(e)}),t.complete&&(u=this.__isAsync?function(){setTimeout(function(){return t.complete()})}:function(){t.complete()})):(o=this.__isAsync?function(e){setTimeout(function(){return t(e)})}:function(e){t(e)},n&&(i=this.__isAsync?function(e){setTimeout(function(){return n(e)})}:function(e){n(e)}),r&&(u=this.__isAsync?function(){setTimeout(function(){return r()})}:function(){r()}));var a=e.prototype.subscribe.call(this,o,i,u);return t instanceof _&&t.add(a),a},t}(oe),Bt=function(){function e(e){var t,n=e.enableLongStackTrace,r=void 0!==n&&n;if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new zt(!1),this.onMicrotaskEmpty=new zt(!1),this.onStable=new zt(!1),this.onError=new zt(!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)),(t=this)._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(e,n,r,o,i,u){try{return qt(t),e.invokeTask(r,o,i,u)}finally{Qt(t)}},onInvoke:function(e,n,r,o,i,u,a){try{return qt(t),e.invoke(r,o,i,u,a)}finally{Qt(t)}},onHasTask:function(e,n,r,o){e.hasTask(r,o),n===r&&("microTask"==o.change?(t.hasPendingMicrotasks=o.microTask,Gt(t)):"macroTask"==o.change&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:function(e,n,r,o){return e.handleError(r,o),t.runOutsideAngular(function(){return t.onError.emit(o)}),!1}})}return e.isInAngularZone=function(){return!0===Zone.current.get("isAngularZone")},e.assertInAngularZone=function(){if(!e.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")},e.assertNotInAngularZone=function(){if(e.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")},e.prototype.run=function(e,t,n){return this._inner.run(e,t,n)},e.prototype.runTask=function(e,t,n,r){var o=this._inner,i=o.scheduleEventTask("NgZoneEvent: "+r,e,Wt,Zt,Zt);try{return o.runTask(i,t,n)}finally{o.cancelTask(i)}},e.prototype.runGuarded=function(e,t,n){return this._inner.runGuarded(e,t,n)},e.prototype.runOutsideAngular=function(e){return this._outer.run(e)},e}();function Zt(){}var Wt={};function Gt(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(function(){return e.onStable.emit(null)})}finally{e.isStable=!0}}}function qt(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Qt(e){e._nesting--,Gt(e)}var Yt,Jt=function(){function e(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new zt,this.onMicrotaskEmpty=new zt,this.onStable=new zt,this.onError=new zt}return e.prototype.run=function(e){return e()},e.prototype.runGuarded=function(e){return e()},e.prototype.runOutsideAngular=function(e){return e()},e.prototype.runTask=function(e){return e()},e}(),Xt=function(){function e(e){var t=this;this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this._watchAngularEvents(),e.run(function(){t.taskTrackingZone=Zone.current.get("TaskTrackingZone")})}return e.prototype._watchAngularEvents=function(){var e=this;this._ngZone.onUnstable.subscribe({next:function(){e._didWork=!0,e._isZoneStable=!1}}),this._ngZone.runOutsideAngular(function(){e._ngZone.onStable.subscribe({next:function(){Bt.assertNotInAngularZone(),Pe(function(){e._isZoneStable=!0,e._runCallbacksIfReady()})}})})},e.prototype.increasePendingRequestCount=function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount},e.prototype.decreasePendingRequestCount=function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount},e.prototype.isStable=function(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks},e.prototype._runCallbacksIfReady=function(){var e=this;if(this.isStable())Pe(function(){for(;0!==e._callbacks.length;){var t=e._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(e._didWork)}e._didWork=!1});else{var t=this.getPendingTasks();this._callbacks=this._callbacks.filter(function(e){return!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)}),this._didWork=!0}},e.prototype.getPendingTasks=function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(function(e){return{source:e.source,isPeriodic:e.data.isPeriodic,delay:e.data.delay,creationLocation:e.creationLocation,xhr:e.data.target}}):[]},e.prototype.addCallback=function(e,t,n){var r=this,o=-1;t&&t>0&&(o=setTimeout(function(){r._callbacks=r._callbacks.filter(function(e){return e.timeoutId!==o}),e(r._didWork,r.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:o,updateCb:n})},e.prototype.whenStable=function(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()},e.prototype.getPendingRequestCount=function(){return this._pendingCount},e.prototype.findProviders=function(e,t,n){return[]},e}(),Kt=function(){function e(){this._applications=new Map,$t.addToWindow(this)}return e.prototype.registerApplication=function(e,t){this._applications.set(e,t)},e.prototype.unregisterApplication=function(e){this._applications.delete(e)},e.prototype.unregisterAllApplications=function(){this._applications.clear()},e.prototype.getTestability=function(e){return this._applications.get(e)||null},e.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},e.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},e.prototype.findTestabilityInTree=function(e,t){return void 0===t&&(t=!0),$t.findTestabilityInTree(this,e,t)},e.ctorParameters=function(){return[]},e}(),$t=new(function(){function e(){}return e.prototype.addToWindow=function(e){},e.prototype.findTestabilityInTree=function(e,t,n){return null},e}()),en=!0,tn=!1,nn=new ge("AllowMultipleToken");function rn(){return tn=!0,en}var on=function(e,t){this.name=e,this.token=t};function un(e,t,n){void 0===n&&(n=[]);var r="Platform: "+t,o=new ge(r);return function(t){void 0===t&&(t=[]);var i=an();if(!i||i.injector.get(nn,!1))if(e)e(n.concat(t).concat({provide:o,useValue:!0}));else{var u=n.concat(t).concat({provide:o,useValue:!0});!function(e){if(Yt&&!Yt.destroyed&&!Yt.injector.get(nn,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Yt=e.get(sn);var t=e.get(wt,null);t&&t.forEach(function(e){return e()})}(ze.create({providers:u,name:r}))}return function(e){var t=an();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(o)}}function an(){return Yt&&!Yt.destroyed?Yt:null}var sn=function(){function e(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return e.prototype.bootstrapModuleFactory=function(e,t){var n,r=this,o="noop"===(n=t?t.ngZone:void 0)?new Jt:("zone.js"===n?void 0:n)||new Bt({enableLongStackTrace:rn()}),i=[{provide:Bt,useValue:o}];return o.run(function(){var t=ze.create({providers:i,parent:r.injector,name:e.moduleType.name}),n=e.create(t),u=n.injector.get(ht,null);if(!u)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy(function(){return pn(r._modules,n)}),o.runOutsideAngular(function(){return o.onError.subscribe({next:function(e){u.handleError(e)}})}),function(e,t,o){try{var i=((u=n.injector.get(gt)).runInitializers(),u.donePromise.then(function(){return r._moduleDoBootstrap(n),n}));return dt(i)?i.catch(function(n){throw t.runOutsideAngular(function(){return e.handleError(n)}),n}):i}catch(n){throw t.runOutsideAngular(function(){return e.handleError(n)}),n}var u}(u,o)})},e.prototype.bootstrapModule=function(e,t){var n=this;void 0===t&&(t=[]);var r=this.injector.get(It),o=ln({},t);return r.createCompiler([o]).compileModuleAsync(e).then(function(e){return n.bootstrapModuleFactory(e,o)})},e.prototype._moduleDoBootstrap=function(e){var t=e.injector.get(cn);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(function(e){return t.bootstrap(e)});else{if(!e.instance.ngDoBootstrap)throw new Error("The module "+Oe(e.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');e.instance.ngDoBootstrap(t)}this._modules.push(e)},e.prototype.onDestroy=function(e){this._destroyListeners.push(e)},Object.defineProperty(e.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(e){return e.destroy()}),this._destroyListeners.forEach(function(e){return e()}),this._destroyed=!0},Object.defineProperty(e.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),e}();function ln(e,t){return Array.isArray(t)?t.reduce(ln,e):i({},e,t)}var cn=function(){function e(e,t,n,r,o,i){var u=this;this._zone=e,this._console=t,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=rn(),this._zone.onMicrotaskEmpty.subscribe({next:function(){u._zone.run(function(){u.tick()})}});var a=new k(function(e){u._stable=u._zone.isStable&&!u._zone.hasPendingMacrotasks&&!u._zone.hasPendingMicrotasks,u._zone.runOutsideAngular(function(){e.next(u._stable),e.complete()})}),s=new k(function(e){var t;u._zone.runOutsideAngular(function(){t=u._zone.onStable.subscribe(function(){Bt.assertNotInAngularZone(),Pe(function(){u._stable||u._zone.hasPendingMacrotasks||u._zone.hasPendingMicrotasks||(u._stable=!0,e.next(!0))})})});var n=u._zone.onUnstable.subscribe(function(){Bt.assertInAngularZone(),u._stable&&(u._stable=!1,u._zone.runOutsideAngular(function(){e.next(!1)}))});return function(){t.unsubscribe(),n.unsubscribe()}});this.isStable=ee(a,s.pipe(function(e){return ue()(he(de)(e))}))}return e.prototype.bootstrap=function(e,t){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=e instanceof Tt?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var o=n instanceof jt?null:this._injector.get(Dt),i=n.create(ze.NULL,[],t||n.selector,o);i.onDestroy(function(){r._unloadComponent(i)});var u=i.injector.get(Xt,null);return u&&i.injector.get(Kt).registerApplication(i.location.nativeElement,u),this._loadComponent(i),rn()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),i},e.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(e){return e.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(e){return e.checkNoChanges()})}catch(e){this._zone.runOutsideAngular(function(){return t._exceptionHandler.handleError(e)})}finally{this._runningTick=!1,Ft(n)}},e.prototype.attachView=function(e){var t=e;this._views.push(t),t.attachToAppRef(this)},e.prototype.detachView=function(e){var t=e;pn(this._views,t),t.detachFromAppRef()},e.prototype._loadComponent=function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Ct,[]).concat(this._bootstrapListeners).forEach(function(t){return t(e)})},e.prototype._unloadComponent=function(e){this.detachView(e.hostView),pn(this.components,e)},e.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(e){return e.destroy()})},Object.defineProperty(e.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),e._tickScope=Vt("ApplicationRef#tick()"),e}();function pn(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var hn=function(){},fn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(fn||(fn={})),dn=function(e){this.nativeElement=e},vn=function(){},gn=function(){function e(){this.dirty=!0,this._results=[],this.changes=new zt,this.length=0}return e.prototype.map=function(e){return this._results.map(e)},e.prototype.filter=function(e){return this._results.filter(e)},e.prototype.find=function(e){return this._results.find(e)},e.prototype.reduce=function(e,t){return this._results.reduce(e,t)},e.prototype.forEach=function(e){this._results.forEach(e)},e.prototype.some=function(e){return this._results.some(e)},e.prototype.toArray=function(){return this._results.slice()},e.prototype[Ae()]=function(){return this._results[Ae()]()},e.prototype.toString=function(){return this._results.toString()},e.prototype.reset=function(e){this._results=function e(t){return t.reduce(function(t,n){var r=Array.isArray(n)?e(n):n;return t.concat(r)},[])}(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},e.prototype.notifyOnChanges=function(){this.changes.emit(this)},e.prototype.setDirty=function(){this.dirty=!0},e.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},e}(),yn=function(){},mn={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},bn=function(){function e(e,t){this._compiler=e,this._config=t||mn}return e.prototype.load=function(e){return this._compiler instanceof xt?this.loadFactory(e):this.loadAndCompile(e)},e.prototype.loadAndCompile=function(e){var t=this,r=a(e.split("#"),2),o=r[0],i=r[1];return void 0===i&&(i="default"),n("crnd")(o).then(function(e){return e[i]}).then(function(e){return wn(e,o,i)}).then(function(e){return t._compiler.compileModuleAsync(e)})},e.prototype.loadFactory=function(e){var t=a(e.split("#"),2),r=t[0],o=t[1],i="NgFactory";return void 0===o&&(o="default",i=""),n("crnd")(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then(function(e){return e[o+i]}).then(function(e){return wn(e,r,o)})},e}();function wn(e,t,n){if(!e)throw new Error("Cannot find '"+n+"' in '"+t+"'");return e}var _n=function(){},Cn=function(){},Sn=function(){},En=function(){function e(e,t,n){this._debugContext=n,this.nativeNode=e,t&&t instanceof xn?t.addChild(this):this.parent=null,this.listeners=[]}return Object.defineProperty(e.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),e}(),xn=function(e){function t(t,n,r){var o=e.call(this,t,n,r)||this;return o.properties={},o.attributes={},o.classes={},o.styles={},o.childNodes=[],o.nativeElement=t,o}return o(t,e),t.prototype.addChild=function(e){e&&(this.childNodes.push(e),e.parent=this)},t.prototype.removeChild=function(e){var t=this.childNodes.indexOf(e);-1!==t&&(e.parent=null,this.childNodes.splice(t,1))},t.prototype.insertChildrenAfter=function(e,t){var n,r=this,o=this.childNodes.indexOf(e);-1!==o&&((n=this.childNodes).splice.apply(n,s([o+1,0],t)),t.forEach(function(e){e.parent&&e.parent.removeChild(e),e.parent=r}))},t.prototype.insertBefore=function(e,t){var n=this.childNodes.indexOf(e);-1===n?this.addChild(t):(t.parent&&t.parent.removeChild(t),t.parent=this,this.childNodes.splice(n,0,t))},t.prototype.query=function(e){return this.queryAll(e)[0]||null},t.prototype.queryAll=function(e){var t=[];return function e(t,n,r){t.childNodes.forEach(function(t){t instanceof xn&&(n(t)&&r.push(t),e(t,n,r))})}(this,e,t),t},t.prototype.queryAllNodes=function(e){var t=[];return function e(t,n,r){t instanceof xn&&t.childNodes.forEach(function(t){n(t)&&r.push(t),t instanceof xn&&e(t,n,r)})}(this,e,t),t},Object.defineProperty(t.prototype,"children",{get:function(){return this.childNodes.filter(function(e){return e instanceof t})},enumerable:!0,configurable:!0}),t.prototype.triggerEventHandler=function(e,t){this.listeners.forEach(function(n){n.name==e&&n.callback(t)})},t}(En),In=new Map;function Tn(e){return In.get(e)||null}function An(e){In.set(e.nativeNode,e)}function Pn(e,t){var n=Nn(e),r=Nn(t);return n&&r?function(e,t,n){for(var r=e[Ae()](),o=t[Ae()]();;){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}}(e,t,Pn):!(n||!e||"object"!=typeof e&&"function"!=typeof e||r||!t||"object"!=typeof t&&"function"!=typeof t)||ke(e,t)}var kn=function(){function e(e){this.wrapped=e}return e.wrap=function(t){return new e(t)},e.unwrap=function(t){return e.isWrapped(t)?t.wrapped:t},e.isWrapped=function(t){return t instanceof e},e}(),On=function(){function e(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}return e.prototype.isFirstChange=function(){return this.firstChange},e}();function Nn(e){return!!Mn(e)&&(Array.isArray(e)||!(e instanceof Map)&&Ae()in e)}function Mn(e){return null!==e&&("function"==typeof e||"object"==typeof e)}var Rn=function(){function e(){}return e.prototype.supports=function(e){return Nn(e)},e.prototype.create=function(e){return new Dn(e)},e}(),jn=function(e,t){return t},Dn=function(){function e(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||jn}return e.prototype.forEachItem=function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)},e.prototype.forEachOperation=function(e){for(var t=this._itHead,n=this._removalsHead,r=0,o=null;t||n;){var i=!n||t&&t.currentIndex<Vn(n,r,o)?t:n,u=Vn(i,r,o),a=i.currentIndex;if(i===n)r--,n=n._nextRemoved;else if(t=t._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,h=p+c;l<=h&&h<s&&(o[c]=p+1)}o[i.previousIndex]=l-s}}u!==a&&e(i,u,a)}},e.prototype.forEachPreviousItem=function(e){var t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)},e.prototype.forEachAddedItem=function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)},e.prototype.forEachMovedItem=function(e){var t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)},e.prototype.forEachRemovedItem=function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)},e.prototype.forEachIdentityChange=function(e){var t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)},e.prototype.diff=function(e){if(null==e&&(e=[]),!Nn(e))throw new Error("Error trying to diff '"+Oe(e)+"'. Only arrays and iterables are allowed");return this.check(e)?this:null},e.prototype.onDestroy=function(){},e.prototype.check=function(e){var t=this;this._reset();var n,r,o,i=this._itHead,u=!1;if(Array.isArray(e)){this.length=e.length;for(var a=0;a<this.length;a++)o=this._trackByFn(a,r=e[a]),null!==i&&ke(i.trackById,o)?(u&&(i=this._verifyReinsertion(i,r,o,a)),ke(i.item,r)||this._addIdentityChange(i,r)):(i=this._mismatch(i,r,o,a),u=!0),i=i._next}else n=0,function(e,t){if(Array.isArray(e))for(var n=0;n<e.length;n++)t(e[n]);else for(var r=e[Ae()](),o=void 0;!(o=r.next()).done;)t(o.value)}(e,function(e){o=t._trackByFn(n,e),null!==i&&ke(i.trackById,o)?(u&&(i=t._verifyReinsertion(i,e,o,n)),ke(i.item,e)||t._addIdentityChange(i,e)):(i=t._mismatch(i,e,o,n),u=!0),i=i._next,n++}),this.length=n;return this._truncate(i),this.collection=e,this.isDirty},Object.defineProperty(e.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead},enumerable:!0,configurable:!0}),e.prototype._reset=function(){if(this.isDirty){var e=void 0,t=void 0;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=t)e.previousIndex=e.currentIndex,t=e._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}},e.prototype._mismatch=function(e,t,n,r){var o;return null===e?o=this._itTail:(o=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(ke(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,o,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(ke(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,o,r)):e=this._addAfter(new Ln(t,n),o,r),e},e.prototype._verifyReinsertion=function(e,t,n,r){var o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==o?e=this._reinsertAfter(o,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e},e.prototype._truncate=function(e){for(;null!==e;){var t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)},e.prototype._reinsertAfter=function(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);var r=e._prevRemoved,o=e._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e},e.prototype._moveAfter=function(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e},e.prototype._addAfter=function(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e},e.prototype._insertAfter=function(e,t,n){var r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new Un),this._linkedRecords.put(e),e.currentIndex=n,e},e.prototype._remove=function(e){return this._addToRemovals(this._unlink(e))},e.prototype._unlink=function(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);var t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e},e.prototype._addToMoves=function(e,t){return e.previousIndex===t?e:(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e,e)},e.prototype._addToRemovals=function(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Un),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e},e.prototype._addIdentityChange=function(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e},e}(),Ln=function(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null},Hn=function(){function e(){this._head=null,this._tail=null}return e.prototype.add=function(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)},e.prototype.get=function(e,t){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&ke(n.trackById,e))return n;return null},e.prototype.remove=function(e){var t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head},e}(),Un=function(){function e(){this.map=new Map}return e.prototype.put=function(e){var t=e.trackById,n=this.map.get(t);n||(n=new Hn,this.map.set(t,n)),n.add(e)},e.prototype.get=function(e,t){var n=this.map.get(e);return n?n.get(e,t):null},e.prototype.remove=function(e){var t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e},Object.defineProperty(e.prototype,"isEmpty",{get:function(){return 0===this.map.size},enumerable:!0,configurable:!0}),e.prototype.clear=function(){this.map.clear()},e}();function Vn(e,t,n){var r=e.previousIndex;if(null===r)return r;var o=0;return n&&r<n.length&&(o=n[r]),r+t+o}var Fn=function(){function e(){}return e.prototype.supports=function(e){return e instanceof Map||Mn(e)},e.prototype.create=function(){return new zn},e}(),zn=function(){function e(){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(e.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead},enumerable:!0,configurable:!0}),e.prototype.forEachItem=function(e){var t;for(t=this._mapHead;null!==t;t=t._next)e(t)},e.prototype.forEachPreviousItem=function(e){var t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)},e.prototype.forEachChangedItem=function(e){var t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)},e.prototype.forEachAddedItem=function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)},e.prototype.forEachRemovedItem=function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)},e.prototype.diff=function(e){if(e){if(!(e instanceof Map||Mn(e)))throw new Error("Error trying to diff '"+Oe(e)+"'. Only maps and objects are allowed")}else e=new Map;return this.check(e)?this:null},e.prototype.onDestroy=function(){},e.prototype.check=function(e){var t=this;this._reset();var n=this._mapHead;if(this._appendAfter=null,this._forEach(e,function(e,r){if(n&&n.key===r)t._maybeAddToChanges(n,e),t._appendAfter=n,n=n._next;else{var o=t._getOrCreateRecordForKey(r,e);n=t._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},e.prototype._insertBeforeOrAppend=function(e,t){if(e){var n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null},e.prototype._getOrCreateRecordForKey=function(e,t){if(this._records.has(e)){var n=this._records.get(e);this._maybeAddToChanges(n,t);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 Bn(e);return this._records.set(e,i),i.currentValue=t,this._addToAdditions(i),i},e.prototype._reset=function(){if(this.isDirty){var e=void 0;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}},e.prototype._maybeAddToChanges=function(e,t){ke(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))},e.prototype._addToAdditions=function(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)},e.prototype._addToChanges=function(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)},e.prototype._forEach=function(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(function(n){return t(e[n],n)})},e}(),Bn=function(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null},Zn=function(){function e(e){this.factories=e}return e.create=function(t,n){if(null!=n){var r=n.factories.slice();t=t.concat(r)}return new e(t)},e.extend=function(t){return{provide:e,useFactory:function(n){if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,n)},deps:[[e,new Le,new je]]}},e.prototype.find=function(e){var t,n=this.factories.find(function(t){return t.supports(e)});if(null!=n)return n;throw new Error("Cannot find a differ supporting object '"+e+"' of type '"+((t=e).name||typeof t)+"'")},e.ngInjectableDef=ve({providedIn:"root",factory:function(){return new e([new Rn])}}),e}(),Wn=function(){function e(e){this.factories=e}return e.create=function(t,n){if(n){var r=n.factories.slice();t=t.concat(r)}return new e(t)},e.extend=function(t){return{provide:e,useFactory:function(n){if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,n)},deps:[[e,new Le,new je]]}},e.prototype.find=function(e){var t=this.factories.find(function(t){return t.supports(e)});if(t)return t;throw new Error("Cannot find a differ supporting object '"+e+"'")},e}(),Gn=[new Fn],qn=new Zn([new Rn]),Qn=new Wn(Gn),Yn=un(null,"core",[{provide:_t,useValue:"unknown"},{provide:sn,deps:[ze]},{provide:Kt,deps:[]},{provide:St,deps:[]}]),Jn=new ge("LocaleId"),Xn=function(e){return e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore",e}(Xn||(Xn={}));function Kn(){return qn}function $n(){return Qn}function er(e){return e||"en-US"}var tr=function(e){},nr=function(){function e(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertBodyElement=this.inertDocument.body,null==this.inertBodyElement){var t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t),this.inertBodyElement=this.inertDocument.createElement("body"),t.appendChild(this.inertBodyElement)}this.inertBodyElement.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return e.prototype.getInertBodyElement_XHR=function(e){e="<body><remove></remove>"+e+"</body>";try{e=encodeURI(e)}catch(e){return null}var t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(null);var n=t.response.body;return n.removeChild(n.firstChild),n},e.prototype.getInertBodyElement_DOMParser=function(e){e="<body><remove></remove>"+e+"</body>";try{var t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(e){return null}},e.prototype.getInertBodyElement_InertDocument=function(e){var t=this.inertDocument.createElement("template");return"content"in t?(t.innerHTML=e,t):(this.inertBodyElement.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},e.prototype.stripCustomNsAttrs=function(e){for(var t=e.attributes,n=t.length-1;0<n;n--){var r=t.item(n).name;"xmlns:ns1"!==r&&0!==r.indexOf("ns1:")||e.removeAttribute(r)}for(var o=e.firstChild;o;)o.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(o),o=o.nextSibling},e}(),rr=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,or=/^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 ir(e){return(e=String(e)).match(rr)||e.match(or)?e:(rn()&&console.warn("WARNING: sanitizing unsafe URL value "+e+" (see http://g.co/ng/security#xss)"),"unsafe:"+e)}function ur(e){var t,n,r={};try{for(var o=u(e.split(",")),i=o.next();!i.done;i=o.next())r[i.value]=!0}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return r}function ar(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n,r,o={};try{for(var i=u(e),a=i.next();!a.done;a=i.next()){var s=a.value;for(var l in s)s.hasOwnProperty(l)&&(o[l]=!0)}}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return o}var sr,lr=ur("area,br,col,hr,img,wbr"),cr=ur("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),pr=ur("rp,rt"),hr=ar(pr,cr),fr=ar(lr,ar(cr,ur("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")),ar(pr,ur("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")),hr),dr=ur("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),vr=ur("srcset"),gr=ar(dr,vr,ur("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")),yr=function(){function e(){this.sanitizedSomething=!1,this.buf=[]}return e.prototype.sanitizeChildren=function(e){for(var t=e.firstChild;t;)if(t.nodeType===Node.ELEMENT_NODE?this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);var n=this.checkClobberedElement(t,t.nextSibling);if(n){t=n;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")},e.prototype.startElement=function(e){var t=e.nodeName.toLowerCase();if(fr.hasOwnProperty(t)){this.buf.push("<"),this.buf.push(t);for(var n,r=e.attributes,o=0;o<r.length;o++){var i=r.item(o),u=i.name,a=u.toLowerCase();if(gr.hasOwnProperty(a)){var s=i.value;dr[a]&&(s=ir(s)),vr[a]&&(n=s,s=(n=String(n)).split(",").map(function(e){return ir(e.trim())}).join(", ")),this.buf.push(" ",u,'="',wr(s),'"')}else this.sanitizedSomething=!0}this.buf.push(">")}else this.sanitizedSomething=!0},e.prototype.endElement=function(e){var t=e.nodeName.toLowerCase();fr.hasOwnProperty(t)&&!lr.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))},e.prototype.chars=function(e){this.buf.push(wr(e))},e.prototype.checkClobberedElement=function(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+e.outerHTML);return t},e}(),mr=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,br=/([^\#-~ |!])/g;function wr(e){return e.replace(/&/g,"&").replace(mr,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(br,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}function _r(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Cr=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"),Sr=/^url\(([^)]+)\)$/,Er=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Er||(Er={})),xr=function(){};function Ir(e,t,n){var r=e.state,o=1792&r;return o===t?(e.state=-1793&r|n,e.initIndex=-1,!0):o===n}function Tr(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}function Ar(e,t){return e.nodes[t]}function Pr(e,t){return e.nodes[t]}function kr(e,t){return e.nodes[t]}function Or(e,t){return e.nodes[t]}function Nr(e,t){return e.nodes[t]}var Mr={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 Rr(e,t,n,r){var o="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+t+"'. 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(e,t){var n=new Error(e);return jr(n,t),n}(o,e)}function jr(e,t){e[ut]=t,e[st]=t.logError.bind(t)}function Dr(e){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+e)}var Lr=function(){},Hr=new Map;function Ur(e){var t=Hr.get(e);return t||(t=Oe(e)+"_"+Hr.size,Hr.set(e,t)),t}var Vr="$$undefined",Fr="$$empty";function zr(e){return{id:Vr,styles:e.styles,encapsulation:e.encapsulation,data:e.data}}var Br=0;function Zr(e,t,n,r){return!(!(2&e.state)&&ke(e.oldValues[t.bindingIndex+n],r))}function Wr(e,t,n,r){return!!Zr(e,t,n,r)&&(e.oldValues[t.bindingIndex+n]=r,!0)}function Gr(e,t,n,r){var o=e.oldValues[t.bindingIndex+n];if(1&e.state||!Pn(o,r)){var i=t.bindings[n].name;throw Rr(Mr.createDebugContext(e,t.nodeIndex),i+": "+o,i+": "+r,0!=(1&e.state))}}function qr(e){for(var t=e;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function Qr(e,t){for(var n=e;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function Yr(e,t,n,r){try{return qr(33554432&e.def.nodes[t].flags?Pr(e,t).componentView:e),Mr.handleEvent(e,t,n,r)}catch(t){e.root.errorHandler.handleError(t)}}function Jr(e){return e.parent?Pr(e.parent,e.parentNodeDef.nodeIndex):null}function Xr(e){return e.parent?e.parentNodeDef.parent:null}function Kr(e,t){switch(201347067&t.flags){case 1:return Pr(e,t.nodeIndex).renderElement;case 2:return Ar(e,t.nodeIndex).renderText}}function $r(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function eo(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function to(e){var t={},n=0,r={};return e&&e.forEach(function(e){var o=a(e,2),i=o[0],u=o[1];"number"==typeof i?(t[i]=u,n|=function(e){return 1<<e%32}(i)):r[i]=u}),{matchedQueries:t,references:r,matchedQueryIds:n}}function no(e,t){return e.map(function(e){var n,r,o;return Array.isArray(e)?(r=(o=a(e,2))[0],n=o[1]):(r=0,n=e),n&&("function"==typeof n||"object"==typeof n)&&t&&Object.defineProperty(n,He,{value:t,configurable:!0}),{flags:r,token:n,tokenKey:Ur(n)}})}function ro(e,t,n){var r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&r.element.componentRendererType.encapsulation===ot.Native?Pr(e,n.renderParent.nodeIndex).renderElement:void 0:t}var oo=new WeakMap;function io(e){var t=oo.get(e);return t||((t=e(function(){return Lr})).factory=e,oo.set(e,t)),t}function uo(e,t,n,r,o){3===t&&(n=e.renderer.parentNode(Kr(e,e.def.lastRenderRootNode))),ao(e,t,0,e.def.nodes.length-1,n,r,o)}function ao(e,t,n,r,o,i,u){for(var a=n;a<=r;a++){var s=e.def.nodes[a];11&s.flags&&lo(e,s,t,o,i,u),a+=s.childCount}}function so(e,t,n,r,o,i){for(var u=e;u&&!$r(u);)u=u.parent;for(var a=u.parent,s=Xr(u),l=s.nodeIndex+s.childCount,c=s.nodeIndex+1;c<=l;c++){var p=a.def.nodes[c];p.ngContentIndex===t&&lo(a,p,n,r,o,i),c+=p.childCount}if(!a.parent){var h=e.root.projectableNodes[t];if(h)for(c=0;c<h.length;c++)co(e,h[c],n,r,o,i)}}function lo(e,t,n,r,o,i){if(8&t.flags)so(e,t.ngContent.index,n,r,o,i);else{var u=Kr(e,t);if(3===n&&33554432&t.flags&&48&t.bindingFlags?(16&t.bindingFlags&&co(e,u,n,r,o,i),32&t.bindingFlags&&co(Pr(e,t.nodeIndex).componentView,u,n,r,o,i)):co(e,u,n,r,o,i),16777216&t.flags)for(var a=Pr(e,t.nodeIndex).viewContainer._embeddedViews,s=0;s<a.length;s++)uo(a[s],n,r,o,i);1&t.flags&&!t.element.name&&ao(e,n,t.nodeIndex+1,t.nodeIndex+t.childCount,r,o,i)}}function co(e,t,n,r,o,i){var u=e.renderer;switch(n){case 1:u.appendChild(r,t);break;case 2:u.insertBefore(r,t,o);break;case 3:u.removeChild(r,t);break;case 0:i.push(t)}}var po=/^:([^:]+):(.+)$/;function ho(e){if(":"===e[0]){var t=e.match(po);return[t[1],t[2]]}return["",e]}function fo(e){for(var t=0,n=0;n<e.length;n++)t|=e[n].flags;return t}function vo(e,t,n,r,o,i,u,s,l,c,p,h){void 0===u&&(u=[]),c||(c=Lr);var f=to(n),d=f.matchedQueries,v=f.references,g=f.matchedQueryIds,y=null,m=null;i&&(y=(O=a(ho(i),2))[0],m=O[1]),s=s||[];for(var b=new Array(s.length),w=0;w<s.length;w++){var _=a(s[w],3),C=_[0],S=_[2],E=a(ho(_[1]),2),x=E[0],I=E[1],T=void 0,A=void 0;switch(15&C){case 4:A=S;break;case 1:case 8:T=S}b[w]={flags:C,ns:x,name:I,nonMinifiedName:I,securityContext:T,suffix:A}}l=l||[];var P=new Array(l.length);for(w=0;w<l.length;w++){var k=a(l[w],2);P[w]={type:0,target:k[0],eventName:k[1],propName:null}}var O,N=(u=u||[]).map(function(e){var t=a(e,2),n=t[1],r=a(ho(t[0]),2);return[r[0],r[1],n]});return h=function(e){if(e&&e.id===Vr){var t=null!=e.encapsulation&&e.encapsulation!==ot.None||e.styles.length||Object.keys(e.data).length;e.id=t?"c"+Br++:Fr}return e&&e.id===Fr&&(e=null),e||null}(h),p&&(t|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:d,matchedQueryIds:g,references:v,ngContentIndex:r,childCount:o,bindings:b,bindingFlags:fo(b),outputs:P,element:{ns:y,name:m,attrs:N,template:null,componentProvider:null,componentView:p||null,componentRendererType:h,publicProviders:null,allProviders:null,handleEvent:c||Lr},provider:null,text:null,query:null,ngContent:null}}function go(e,t,n){var r,o=n.element,i=e.root.selectorOrNode,u=e.renderer;if(e.parent||!i){r=o.name?u.createElement(o.name,o.ns):u.createComment("");var s=ro(e,t,n);s&&u.appendChild(s,r)}else r=u.selectRootElement(i);if(o.attrs)for(var l=0;l<o.attrs.length;l++){var c=a(o.attrs[l],3);u.setAttribute(r,c[1],c[2],c[0])}return r}function yo(e,t,n,r){for(var o=0;o<n.outputs.length;o++){var i=n.outputs[o],u=mo(e,n.nodeIndex,(p=i.eventName,(c=i.target)?c+":"+p:p)),a=i.target,s=e;"component"===i.target&&(a=null,s=t);var l=s.renderer.listen(a||r,i.eventName,u);e.disposables[n.outputIndex+o]=l}var c,p}function mo(e,t,n){return function(r){return Yr(e,t,n,r)}}function bo(e,t,n,r){if(!Wr(e,t,n,r))return!1;var o=t.bindings[n],i=Pr(e,t.nodeIndex),u=i.renderElement,a=o.name;switch(15&o.flags){case 1:!function(e,t,n,r,o,i){var u=t.securityContext,a=u?e.root.sanitizer.sanitize(u,i):i;a=null!=a?a.toString():null;var s=e.renderer;null!=i?s.setAttribute(n,o,a,r):s.removeAttribute(n,o,r)}(e,o,u,o.ns,a,r);break;case 2:!function(e,t,n,r){var o=e.renderer;r?o.addClass(t,n):o.removeClass(t,n)}(e,u,a,r);break;case 4:!function(e,t,n,r,o){var i=e.root.sanitizer.sanitize(Er.STYLE,o);if(null!=i){i=i.toString();var u=t.suffix;null!=u&&(i+=u)}else i=null;var a=e.renderer;null!=i?a.setStyle(n,r,i):a.removeStyle(n,r)}(e,o,u,a,r);break;case 8:!function(e,t,n,r,o){var i=t.securityContext,u=i?e.root.sanitizer.sanitize(i,o):o;e.renderer.setProperty(n,r,u)}(33554432&t.flags&&32&o.flags?i.componentView:e,o,u,a,r)}return!0}var wo=new Object,_o=Ur(ze),Co=Ur(Ve),So=Ur(Dt);function Eo(e,t,n,r){return n=Me(n),{index:-1,deps:no(r,Oe(t)),flags:e,token:t,value:n}}function xo(e,t,n){void 0===n&&(n=ze.THROW_IF_NOT_FOUND);var r,o,i=rt(e);try{if(8&t.flags)return t.token;if(2&t.flags&&(n=null),1&t.flags)return e._parent.get(t.token,n);var u=t.tokenKey;switch(u){case _o:case Co:case So:return e}var a=e._def.providersByKey[u];if(a){var s=e._providers[a.index];return void 0===s&&(s=e._providers[a.index]=Io(e,a)),s===wo?void 0:s}if(t.token.ngInjectableDef&&(r=e,null!=(o=t.token.ngInjectableDef).providedIn&&(function(e,t){return e._def.modules.indexOf(o.providedIn)>-1}(r)||"root"===o.providedIn&&r._def.isRoot))){var l=e._providers.length;return e._def.providersByKey[t.tokenKey]={flags:5120,value:t.token.ngInjectableDef.factory,deps:[],index:l,token:t.token},e._providers[l]=wo,e._providers[l]=Io(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{rt(i)}}function Io(e,t){var n;switch(201347067&t.flags){case 512:n=function(e,t,n){var r=n.length;switch(r){case 0:return new t;case 1:return new t(xo(e,n[0]));case 2:return new t(xo(e,n[0]),xo(e,n[1]));case 3:return new t(xo(e,n[0]),xo(e,n[1]),xo(e,n[2]));default:for(var o=new Array(r),i=0;i<r;i++)o[i]=xo(e,n[i]);return new(t.bind.apply(t,s([void 0],o)))}}(e,t.value,t.deps);break;case 1024:n=function(e,t,n){var r=n.length;switch(r){case 0:return t();case 1:return t(xo(e,n[0]));case 2:return t(xo(e,n[0]),xo(e,n[1]));case 3:return t(xo(e,n[0]),xo(e,n[1]),xo(e,n[2]));default:for(var o=Array(r),i=0;i<r;i++)o[i]=xo(e,n[i]);return t.apply(void 0,s(o))}}(e,t.value,t.deps);break;case 2048:n=xo(e,t.deps[0]);break;case 256:n=t.value}return n===wo||null==n||"object"!=typeof n||131072&t.flags||"function"!=typeof n.ngOnDestroy||(t.flags|=131072),void 0===n?wo:n}function To(e,t){var n=e.viewContainer._embeddedViews;if((null==t||t>=n.length)&&(t=n.length-1),t<0)return null;var r=n[t];return r.viewContainerParent=null,Oo(n,t),Mr.dirtyParentQueries(r),Po(r),r}function Ao(e,t,n){var r=t?Kr(t,t.def.lastRenderRootNode):e.renderElement;uo(n,2,n.renderer.parentNode(r),n.renderer.nextSibling(r),void 0)}function Po(e){uo(e,3,null,null,void 0)}function ko(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Oo(e,t){t>=e.length-1?e.pop():e.splice(t,1)}var No=new Object;function Mo(e,t,n,r,o,i){return new Ro(e,t,n,r,o,i)}var Ro=function(e){function t(t,n,r,o,i,u){var a=e.call(this)||this;return a.selector=t,a.componentType=n,a._inputs=o,a._outputs=i,a.ngContentSelectors=u,a.viewDefFactory=r,a}return o(t,e),Object.defineProperty(t.prototype,"inputs",{get:function(){var e=[],t=this._inputs;for(var n in t)e.push({propName:n,templateName:t[n]});return e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outputs",{get:function(){var e=[];for(var t in this._outputs)e.push({propName:t,templateName:this._outputs[t]});return e},enumerable:!0,configurable:!0}),t.prototype.create=function(e,t,n,r){if(!r)throw new Error("ngModule should be provided");var o=io(this.viewDefFactory),i=o.nodes[0].element.componentProvider.nodeIndex,u=Mr.createRootView(e,t||[],n,o,r,No),a=kr(u,i).instance;return n&&u.renderer.setAttribute(Pr(u,0).renderElement,"ng-version",it.full),new jo(u,new Uo(u),a)},t}(Tt),jo=function(e){function t(t,n,r){var o=e.call(this)||this;return o._view=t,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(t,e),Object.defineProperty(t.prototype,"location",{get:function(){return new dn(Pr(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new Bo(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this._viewRef.destroy()},t.prototype.onDestroy=function(e){this._viewRef.onDestroy(e)},t}(function(){});function Do(e,t,n){return new Lo(e,t,n)}var Lo=function(){function e(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}return Object.defineProperty(e.prototype,"element",{get:function(){return new dn(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new Bo(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parentInjector",{get:function(){for(var e=this._view,t=this._elDef.parent;!t&&e;)t=Xr(e),e=e.parent;return e?new Bo(e,t):new Bo(this._view,null)},enumerable:!0,configurable:!0}),e.prototype.clear=function(){for(var e=this._embeddedViews.length-1;e>=0;e--){var t=To(this._data,e);Mr.destroyView(t)}},e.prototype.get=function(e){var t=this._embeddedViews[e];if(t){var n=new Uo(t);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(e.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),e.prototype.createEmbeddedView=function(e,t,n){var r=e.createEmbeddedView(t||{});return this.insert(r,n),r},e.prototype.createComponent=function(e,t,n,r,o){var i=n||this.parentInjector;o||e instanceof jt||(o=i.get(Dt));var u=e.create(i,r,void 0,o);return this.insert(u.hostView,t),u},e.prototype.insert=function(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n,r,o,i,u=e;return o=u._view,i=(n=this._data).viewContainer._embeddedViews,null!==(r=t)&&void 0!==r||(r=i.length),o.viewContainerParent=this._view,ko(i,r,o),function(e,t){var n=Jr(t);if(n&&n!==e&&!(16&t.state)){t.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(t),function(e,n){if(!(4&n.flags)){t.parent.def.nodeFlags|=4,n.flags|=4;for(var r=n.parent;r;)r.childFlags|=4,r=r.parent}}(0,t.parentNodeDef)}}(n,o),Mr.dirtyParentQueries(o),Ao(n,r>0?i[r-1]:null,o),u.attachToViewContainerRef(this),e},e.prototype.move=function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n,r,o,i,u,a=this._embeddedViews.indexOf(e._view);return o=t,u=(i=(n=this._data).viewContainer._embeddedViews)[r=a],Oo(i,r),null==o&&(o=i.length),ko(i,o,u),Mr.dirtyParentQueries(u),Po(u),Ao(n,o>0?i[o-1]:null,u),e},e.prototype.indexOf=function(e){return this._embeddedViews.indexOf(e._view)},e.prototype.remove=function(e){var t=To(this._data,e);t&&Mr.destroyView(t)},e.prototype.detach=function(e){var t=To(this._data,e);return t?new Uo(t):null},e}();function Ho(e){return new Uo(e)}var Uo=function(){function e(e){this._view=e,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(e.prototype,"rootNodes",{get:function(){return uo(this._view,0,void 0,void 0,e=[]),e;var e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),e.prototype.markForCheck=function(){qr(this._view)},e.prototype.detach=function(){this._view.state&=-5},e.prototype.detectChanges=function(){var e=this._view.root.rendererFactory;e.begin&&e.begin();try{Mr.checkAndUpdateView(this._view)}finally{e.end&&e.end()}},e.prototype.checkNoChanges=function(){Mr.checkNoChangesView(this._view)},e.prototype.reattach=function(){this._view.state|=4},e.prototype.onDestroy=function(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)},e.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Mr.destroyView(this._view)},e.prototype.detachFromAppRef=function(){this._appRef=null,Po(this._view),Mr.dirtyParentQueries(this._view)},e.prototype.attachToAppRef=function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e},e.prototype.attachToViewContainerRef=function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e},e}();function Vo(e,t){return new Fo(e,t)}var Fo=function(e){function t(t,n){var r=e.call(this)||this;return r._parentView=t,r._def=n,r}return o(t,e),t.prototype.createEmbeddedView=function(e){return new Uo(Mr.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))},Object.defineProperty(t.prototype,"elementRef",{get:function(){return new dn(Pr(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),t}(_n);function zo(e,t){return new Bo(e,t)}var Bo=function(){function e(e,t){this.view=e,this.elDef=t}return e.prototype.get=function(e,t){return void 0===t&&(t=ze.THROW_IF_NOT_FOUND),Mr.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:Ur(e)},t)},e}();function Zo(e){return new Wo(e.renderer)}var Wo=function(){function e(e){this.delegate=e}return e.prototype.selectRootElement=function(e){return this.delegate.selectRootElement(e)},e.prototype.createElement=function(e,t){var n=a(ho(t),2),r=this.delegate.createElement(n[1],n[0]);return e&&this.delegate.appendChild(e,r),r},e.prototype.createViewRoot=function(e){return e},e.prototype.createTemplateAnchor=function(e){var t=this.delegate.createComment("");return e&&this.delegate.appendChild(e,t),t},e.prototype.createText=function(e,t){var n=this.delegate.createText(t);return e&&this.delegate.appendChild(e,n),n},e.prototype.projectNodes=function(e,t){for(var n=0;n<t.length;n++)this.delegate.appendChild(e,t[n])},e.prototype.attachViewAfter=function(e,t){for(var n=this.delegate.parentNode(e),r=this.delegate.nextSibling(e),o=0;o<t.length;o++)this.delegate.insertBefore(n,t[o],r)},e.prototype.detachView=function(e){for(var t=0;t<e.length;t++){var n=e[t],r=this.delegate.parentNode(n);this.delegate.removeChild(r,n)}},e.prototype.destroyView=function(e,t){for(var n=0;n<t.length;n++)this.delegate.destroyNode(t[n])},e.prototype.listen=function(e,t,n){return this.delegate.listen(e,t,n)},e.prototype.listenGlobal=function(e,t,n){return this.delegate.listen(e,t,n)},e.prototype.setElementProperty=function(e,t,n){this.delegate.setProperty(e,t,n)},e.prototype.setElementAttribute=function(e,t,n){var r=a(ho(t),2),o=r[0],i=r[1];null!=n?this.delegate.setAttribute(e,i,n,o):this.delegate.removeAttribute(e,i,o)},e.prototype.setBindingDebugInfo=function(e,t,n){},e.prototype.setElementClass=function(e,t,n){n?this.delegate.addClass(e,t):this.delegate.removeClass(e,t)},e.prototype.setElementStyle=function(e,t,n){null!=n?this.delegate.setStyle(e,t,n):this.delegate.removeStyle(e,t)},e.prototype.invokeElementMethod=function(e,t,n){e[t].apply(e,n)},e.prototype.setText=function(e,t){this.delegate.setValue(e,t)},e.prototype.animate=function(){throw new Error("Renderer.animate is no longer supported!")},e}();function Go(e,t,n,r){return new qo(e,t,n,r)}var qo=function(){function e(e,t,n,r){this._moduleType=e,this._parent=t,this._bootstrapComponents=n,this._def=r,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(e){for(var t=e._def,n=e._providers=new Array(t.providers.length),r=0;r<t.providers.length;r++){var o=t.providers[r];4096&o.flags||void 0===n[r]&&(n[r]=Io(e,o))}}(this)}return e.prototype.get=function(e,t,n){void 0===t&&(t=ze.THROW_IF_NOT_FOUND),void 0===n&&(n=0);var r=0;return 4&n?r|=1:2&n&&(r|=4),xo(this,{token:e,tokenKey:Ur(e),flags:r},t)},Object.defineProperty(e.prototype,"instance",{get:function(){return this.get(this._moduleType)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentFactoryResolver",{get:function(){return this.get(Mt)},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The ng module "+Oe(this.instance.constructor)+" has already been destroyed.");this._destroyed=!0,function(e,t){for(var n=e._def,r=new Set,o=0;o<n.providers.length;o++)if(131072&n.providers[o].flags){var i=e._providers[o];if(i&&i!==wo){var u=i.ngOnDestroy;"function"!=typeof u||r.has(i)||(u.apply(i),r.add(i))}}}(this),this._destroyListeners.forEach(function(e){return e()})},e.prototype.onDestroy=function(e){this._destroyListeners.push(e)},e}(),Qo=Ur(function(){}),Yo=Ur(function(){}),Jo=Ur(dn),Xo=Ur(Cn),Ko=Ur(_n),$o=Ur(Sn),ei=Ur(ze),ti=Ur(Ve);function ni(e,t,n,r,o,i,u,s){var l=[];if(u)for(var c in u){var p=a(u[c],2);l[p[0]]={flags:8,name:c,nonMinifiedName:p[1],ns:null,securityContext:null,suffix:null}}var h=[];if(s)for(var f in s)h.push({type:1,propName:f,target:null,eventName:s[f]});return function(e,t,n,r,o,i,u,a,s){var l=to(n),c=l.matchedQueries,p=l.references,h=l.matchedQueryIds;s||(s=[]),a||(a=[]),i=Me(i);var f=no(u,Oe(o));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:c,matchedQueryIds:h,references:p,ngContentIndex:-1,childCount:r,bindings:a,bindingFlags:fo(a),outputs:s,element:null,provider:{token:o,value:i,deps:f},text:null,query:null,ngContent:null}}(e,t|=16384,n,r,o,o,i,l,h)}function ri(e,t){return ai(e,t)}function oi(e,t){for(var n=e;n.parent&&!$r(n);)n=n.parent;return si(n.parent,Xr(n),!0,t.provider.value,t.provider.deps)}function ii(e,t){var n=si(e,t.parent,(32768&t.flags)>0,t.provider.value,t.provider.deps);if(t.outputs.length)for(var r=0;r<t.outputs.length;r++){var o=t.outputs[r],i=n[o.propName].subscribe(ui(e,t.parent.nodeIndex,o.eventName));e.disposables[t.outputIndex+r]=i.unsubscribe.bind(i)}return n}function ui(e,t,n){return function(r){return Yr(e,t,n,r)}}function ai(e,t){var n=(8192&t.flags)>0,r=t.provider;switch(201347067&t.flags){case 512:return si(e,t.parent,n,r.value,r.deps);case 1024:return function(e,t,n,r,o){var i=o.length;switch(i){case 0:return r();case 1:return r(ci(e,t,n,o[0]));case 2:return r(ci(e,t,n,o[0]),ci(e,t,n,o[1]));case 3:return r(ci(e,t,n,o[0]),ci(e,t,n,o[1]),ci(e,t,n,o[2]));default:for(var u=Array(i),a=0;a<i;a++)u[a]=ci(e,t,n,o[a]);return r.apply(void 0,s(u))}}(e,t.parent,n,r.value,r.deps);case 2048:return ci(e,t.parent,n,r.deps[0]);case 256:return r.value}}function si(e,t,n,r,o){var i=o.length;switch(i){case 0:return new r;case 1:return new r(ci(e,t,n,o[0]));case 2:return new r(ci(e,t,n,o[0]),ci(e,t,n,o[1]));case 3:return new r(ci(e,t,n,o[0]),ci(e,t,n,o[1]),ci(e,t,n,o[2]));default:for(var u=new Array(i),a=0;a<i;a++)u[a]=ci(e,t,n,o[a]);return new(r.bind.apply(r,s([void 0],u)))}}var li={};function ci(e,t,n,r,o){if(void 0===o&&(o=ze.THROW_IF_NOT_FOUND),8&r.flags)return r.token;var i=e;2&r.flags&&(o=null);var u=r.tokenKey;u===$o&&(n=!(!t||!t.element.componentView)),t&&1&r.flags&&(n=!1,t=t.parent);for(var a=e;a;){if(t)switch(u){case Qo:return Zo(pi(a,t,n));case Yo:return pi(a,t,n).renderer;case Jo:return new dn(Pr(a,t.nodeIndex).renderElement);case Xo:return Pr(a,t.nodeIndex).viewContainer;case Ko:if(t.element.template)return Pr(a,t.nodeIndex).template;break;case $o:return Ho(pi(a,t,n));case ei:case ti:return zo(a,t);default:var s=(n?t.element.allProviders:t.element.publicProviders)[u];if(s){var l=kr(a,s.nodeIndex);return l||(l={instance:ai(a,s)},a.nodes[s.nodeIndex]=l),l.instance}}n=$r(a),t=Xr(a),a=a.parent,4&r.flags&&(a=null)}var c=i.root.injector.get(r.token,li);return c!==li||o===li?c:i.root.ngModule.injector.get(r.token,o)}function pi(e,t,n){var r;if(n)r=Pr(e,t.nodeIndex).componentView;else for(r=e;r.parent&&!$r(r);)r=r.parent;return r}function hi(e,t,n,r,o,i){if(32768&n.flags){var u=Pr(e,n.parent.nodeIndex).componentView;2&u.def.flags&&(u.state|=8)}if(t.instance[n.bindings[r].name]=o,524288&n.flags){i=i||{};var a=kn.unwrap(e.oldValues[n.bindingIndex+r]);i[n.bindings[r].nonMinifiedName]=new On(a,o,0!=(2&e.state))}return e.oldValues[n.bindingIndex+r]=o,i}function fi(e,t){if(e.def.nodeFlags&t)for(var n=e.def.nodes,r=0,o=0;o<n.length;o++){var i=n[o],u=i.parent;for(!u&&i.flags&t&&vi(e,o,i.flags&t,r++),0==(i.childFlags&t)&&(o+=i.childCount);u&&1&u.flags&&o===u.nodeIndex+u.childCount;)u.directChildFlags&t&&(r=di(e,u,t,r)),u=u.parent}}function di(e,t,n,r){for(var o=t.nodeIndex+1;o<=t.nodeIndex+t.childCount;o++){var i=e.def.nodes[o];i.flags&n&&vi(e,o,i.flags&n,r++),o+=i.childCount}return r}function vi(e,t,n,r){var o=kr(e,t);if(o){var i=o.instance;i&&(Mr.setCurrentNode(e,t),1048576&n&&Tr(e,512,r)&&i.ngAfterContentInit(),2097152&n&&i.ngAfterContentChecked(),4194304&n&&Tr(e,768,r)&&i.ngAfterViewInit(),8388608&n&&i.ngAfterViewChecked(),131072&n&&i.ngOnDestroy())}}function gi(e){for(var t=e.def.nodeMatchedQueries;e.parent&&eo(e);){var n=e.parentNodeDef;e=e.parent;for(var r=n.nodeIndex+n.childCount,o=0;o<=r;o++)67108864&(i=e.def.nodes[o]).flags&&536870912&i.flags&&(i.query.filterId&t)===i.query.filterId&&Nr(e,o).setDirty(),!(1&i.flags&&o+i.childCount<n.nodeIndex)&&67108864&i.childFlags&&536870912&i.childFlags||(o+=i.childCount)}if(134217728&e.def.nodeFlags)for(o=0;o<e.def.nodes.length;o++){var i;134217728&(i=e.def.nodes[o]).flags&&536870912&i.flags&&Nr(e,o).setDirty(),o+=i.childCount}}function yi(e,t){var n=Nr(e,t.nodeIndex);if(n.dirty){var r,o=void 0;if(67108864&t.flags){var i=t.parent.parent;o=mi(e,i.nodeIndex,i.nodeIndex+i.childCount,t.query,[]),r=kr(e,t.parent.nodeIndex).instance}else 134217728&t.flags&&(o=mi(e,0,e.def.nodes.length-1,t.query,[]),r=e.component);n.reset(o);for(var u=t.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 mi(e,t,n,r,o){for(var i=t;i<=n;i++){var u=e.def.nodes[i],a=u.matchedQueries[r.id];if(null!=a&&o.push(bi(e,u,a)),1&u.flags&&u.element.template&&(u.element.template.nodeMatchedQueries&r.filterId)===r.filterId){var s=Pr(e,i);if((u.childMatchedQueries&r.filterId)===r.filterId&&(mi(e,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],h=Jr(p);h&&h===s&&mi(p,0,p.def.nodes.length-1,r,o)}var f=s.template._projectedViews;if(f)for(c=0;c<f.length;c++){var d=f[c];mi(d,0,d.def.nodes.length-1,r,o)}}(u.childMatchedQueries&r.filterId)!==r.filterId&&(i+=u.childCount)}return o}function bi(e,t,n){if(null!=n)switch(n){case 1:return Pr(e,t.nodeIndex).renderElement;case 0:return new dn(Pr(e,t.nodeIndex).renderElement);case 2:return Pr(e,t.nodeIndex).template;case 3:return Pr(e,t.nodeIndex).viewContainer;case 4:return kr(e,t.nodeIndex).instance}}function wi(e,t,n){var r=ro(e,t,n);r&&so(e,n.ngContent.index,1,r,null,void 0)}function _i(e,t,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:e,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:r,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}}function Ci(e,t,n){var r,o=e.renderer;r=o.createText(n.text.prefix);var i=ro(e,t,n);return i&&o.appendChild(i,r),{renderText:r}}function Si(e,t){return(null!=e?e.toString():"")+t.suffix}function Ei(e,t,n,r){for(var o=0,i=0,u=0,a=0,s=0,l=null,c=null,p=!1,h=!1,f=null,d=0;d<t.length;d++){var v=t[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,h=!1,v.element.template&&(s|=v.element.template.nodeMatchedQueries)}if(Ii(l,v,t.length),o+=v.bindings.length,i+=v.outputs.length,!c&&3&v.flags&&(f=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[Ur(v.provider.token)]=v:(h||(h=!0,l.element.allProviders=Object.create(l.element.publicProviders)),l.element.allProviders[Ur(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,xi(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)&&xi(l)?l.renderParent:l}}return{factory:null,nodeFlags:u,rootNodeFlags:a,nodeMatchedQueries:s,flags:e,nodes:t,updateDirectives:n||Lr,updateRenderer:r||Lr,handleEvent:function(e,n,r,o){return t[n].element.handleEvent(e,r,o)},bindingCount:o,outputCount:i,lastRenderRootNode:f}}function xi(e){return 0!=(1&e.flags)&&null===e.element.name}function Ii(e,t,n){var r=t.element&&t.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+t.nodeIndex+"!")}if(20224&t.flags&&0==(1&(e?e.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+t.nodeIndex+"!");if(t.query){if(67108864&t.flags&&(!e||0==(16384&e.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+t.nodeIndex+"!");if(134217728&t.flags&&e)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+t.nodeIndex+"!")}if(t.childCount){var o=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=o&&t.nodeIndex+t.childCount>o)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+t.nodeIndex+"!")}}function Ti(e,t,n,r){var o=ki(e.root,e.renderer,e,t,n);return Oi(o,e.component,r),Ni(o),o}function Ai(e,t,n){var r=ki(e,e.renderer,null,null,t);return Oi(r,n,n),Ni(r),r}function Pi(e,t,n,r){var o,i=t.element.componentRendererType;return o=i?e.root.rendererFactory.createRenderer(r,i):e.root.renderer,ki(e.root,o,e,t.element.componentProvider,n)}function ki(e,t,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:e,renderer:t,oldValues:new Array(o.bindingCount),disposables:u,initIndex:-1}}function Oi(e,t,n){e.component=t,e.context=n}function Ni(e){var t;$r(e)&&(t=Pr(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);for(var n=e.def,r=e.nodes,o=0;o<n.nodes.length;o++){var i=n.nodes[o];Mr.setCurrentNode(e,o);var u=void 0;switch(201347067&i.flags){case 1:var a=go(e,t,i),s=void 0;if(33554432&i.flags){var l=io(i.element.componentView);s=Mr.createComponentView(e,i,l,a)}yo(e,s,i,a),u={renderElement:a,componentView:s,viewContainer:null,template:i.element.template?Vo(e,i):void 0},16777216&i.flags&&(u.viewContainer=Do(e,i,u));break;case 2:u=Ci(e,t,i);break;case 512:case 1024:case 2048:case 256:(u=r[o])||4096&i.flags||(u={instance:ri(e,i)});break;case 16:u={instance:oi(e,i)};break;case 16384:(u=r[o])||(u={instance:ii(e,i)}),32768&i.flags&&Oi(Pr(e,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 gn;break;case 8:wi(e,t,i),u=void 0}r[o]=u}Fi(e,Vi.CreateViewNodes),Wi(e,201326592,268435456,0)}function Mi(e){Di(e),Mr.updateDirectives(e,1),zi(e,Vi.CheckNoChanges),Mr.updateRenderer(e,1),Fi(e,Vi.CheckNoChanges),e.state&=-97}function Ri(e){1&e.state?(e.state&=-2,e.state|=2):e.state&=-3,Ir(e,0,256),Di(e),Mr.updateDirectives(e,0),zi(e,Vi.CheckAndUpdate),Wi(e,67108864,536870912,0);var t=Ir(e,256,512);fi(e,2097152|(t?1048576:0)),Mr.updateRenderer(e,0),Fi(e,Vi.CheckAndUpdate),Wi(e,134217728,536870912,0),fi(e,8388608|((t=Ir(e,512,768))?4194304:0)),2&e.def.flags&&(e.state&=-9),e.state&=-97,Ir(e,768,1024)}function ji(e,t,n,r,o,i,u,a,l,c,p,h,f){return 0===n?function(e,t,n,r,o,i,u,a,s,l,c,p){switch(201347067&t.flags){case 1:return function(e,t,n,r,o,i,u,a,s,l,c,p){var h=t.bindings.length,f=!1;return h>0&&bo(e,t,0,n)&&(f=!0),h>1&&bo(e,t,1,r)&&(f=!0),h>2&&bo(e,t,2,o)&&(f=!0),h>3&&bo(e,t,3,i)&&(f=!0),h>4&&bo(e,t,4,u)&&(f=!0),h>5&&bo(e,t,5,a)&&(f=!0),h>6&&bo(e,t,6,s)&&(f=!0),h>7&&bo(e,t,7,l)&&(f=!0),h>8&&bo(e,t,8,c)&&(f=!0),h>9&&bo(e,t,9,p)&&(f=!0),f}(e,t,n,r,o,i,u,a,s,l,c,p);case 2:return function(e,t,n,r,o,i,u,a,s,l,c,p){var h=!1,f=t.bindings,d=f.length;if(d>0&&Wr(e,t,0,n)&&(h=!0),d>1&&Wr(e,t,1,r)&&(h=!0),d>2&&Wr(e,t,2,o)&&(h=!0),d>3&&Wr(e,t,3,i)&&(h=!0),d>4&&Wr(e,t,4,u)&&(h=!0),d>5&&Wr(e,t,5,a)&&(h=!0),d>6&&Wr(e,t,6,s)&&(h=!0),d>7&&Wr(e,t,7,l)&&(h=!0),d>8&&Wr(e,t,8,c)&&(h=!0),d>9&&Wr(e,t,9,p)&&(h=!0),h){var v=t.text.prefix;d>0&&(v+=Si(n,f[0])),d>1&&(v+=Si(r,f[1])),d>2&&(v+=Si(o,f[2])),d>3&&(v+=Si(i,f[3])),d>4&&(v+=Si(u,f[4])),d>5&&(v+=Si(a,f[5])),d>6&&(v+=Si(s,f[6])),d>7&&(v+=Si(l,f[7])),d>8&&(v+=Si(c,f[8])),d>9&&(v+=Si(p,f[9]));var g=Ar(e,t.nodeIndex).renderText;e.renderer.setValue(g,v)}return h}(e,t,n,r,o,i,u,a,s,l,c,p);case 16384:return function(e,t,n,r,o,i,u,a,s,l,c,p){var h=kr(e,t.nodeIndex),f=h.instance,d=!1,v=void 0,g=t.bindings.length;return g>0&&Zr(e,t,0,n)&&(d=!0,v=hi(e,h,t,0,n,v)),g>1&&Zr(e,t,1,r)&&(d=!0,v=hi(e,h,t,1,r,v)),g>2&&Zr(e,t,2,o)&&(d=!0,v=hi(e,h,t,2,o,v)),g>3&&Zr(e,t,3,i)&&(d=!0,v=hi(e,h,t,3,i,v)),g>4&&Zr(e,t,4,u)&&(d=!0,v=hi(e,h,t,4,u,v)),g>5&&Zr(e,t,5,a)&&(d=!0,v=hi(e,h,t,5,a,v)),g>6&&Zr(e,t,6,s)&&(d=!0,v=hi(e,h,t,6,s,v)),g>7&&Zr(e,t,7,l)&&(d=!0,v=hi(e,h,t,7,l,v)),g>8&&Zr(e,t,8,c)&&(d=!0,v=hi(e,h,t,8,c,v)),g>9&&Zr(e,t,9,p)&&(d=!0,v=hi(e,h,t,9,p,v)),v&&f.ngOnChanges(v),65536&t.flags&&Tr(e,256,t.nodeIndex)&&f.ngOnInit(),262144&t.flags&&f.ngDoCheck(),d}(e,t,n,r,o,i,u,a,s,l,c,p);case 32:case 64:case 128:return function(e,t,n,r,o,i,u,a,s,l,c,p){var h=t.bindings,f=!1,d=h.length;if(d>0&&Wr(e,t,0,n)&&(f=!0),d>1&&Wr(e,t,1,r)&&(f=!0),d>2&&Wr(e,t,2,o)&&(f=!0),d>3&&Wr(e,t,3,i)&&(f=!0),d>4&&Wr(e,t,4,u)&&(f=!0),d>5&&Wr(e,t,5,a)&&(f=!0),d>6&&Wr(e,t,6,s)&&(f=!0),d>7&&Wr(e,t,7,l)&&(f=!0),d>8&&Wr(e,t,8,c)&&(f=!0),d>9&&Wr(e,t,9,p)&&(f=!0),f){var v=Or(e,t.nodeIndex),g=void 0;switch(201347067&t.flags){case 32:g=new Array(h.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[h[0].name]=n),d>1&&(g[h[1].name]=r),d>2&&(g[h[2].name]=o),d>3&&(g[h[3].name]=i),d>4&&(g[h[4].name]=u),d>5&&(g[h[5].name]=a),d>6&&(g[h[6].name]=s),d>7&&(g[h[7].name]=l),d>8&&(g[h[8].name]=c),d>9&&(g[h[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 f}(e,t,n,r,o,i,u,a,s,l,c,p);default:throw"unreachable"}}(e,t,r,o,i,u,a,l,c,p,h,f):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){for(var r=!1,o=0;o<n.length;o++)bo(e,t,o,n[o])&&(r=!0);return r}(e,t,n);case 2:return function(e,t,n){for(var r=t.bindings,o=!1,i=0;i<n.length;i++)Wr(e,t,i,n[i])&&(o=!0);if(o){var u="";for(i=0;i<n.length;i++)u+=Si(n[i],r[i]);u=t.text.prefix+u;var a=Ar(e,t.nodeIndex).renderText;e.renderer.setValue(a,u)}return o}(e,t,n);case 16384:return function(e,t,n){for(var r=kr(e,t.nodeIndex),o=r.instance,i=!1,u=void 0,a=0;a<n.length;a++)Zr(e,t,a,n[a])&&(i=!0,u=hi(e,r,t,a,n[a],u));return u&&o.ngOnChanges(u),65536&t.flags&&Tr(e,256,t.nodeIndex)&&o.ngOnInit(),262144&t.flags&&o.ngDoCheck(),i}(e,t,n);case 32:case 64:case 128:return function(e,t,n){for(var r=t.bindings,o=!1,i=0;i<n.length;i++)Wr(e,t,i,n[i])&&(o=!0);if(o){var u=Or(e,t.nodeIndex),a=void 0;switch(201347067&t.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 l=n[0],c=n.slice(1);a=l.transform.apply(l,s(c))}u.value=a}return o}(e,t,n);default:throw"unreachable"}}(e,t,r)}function Di(e){var t=e.def;if(4&t.nodeFlags)for(var n=0;n<t.nodes.length;n++){var r=t.nodes[n];if(4&r.flags){var o=Pr(e,n).template._projectedViews;if(o)for(var i=0;i<o.length;i++){var u=o[i];u.state|=32,Qr(u,e)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function Li(e,t,n,r,o,i,u,a,s,l,c,p,h){return 0===n?function(e,t,n,r,o,i,u,a,s,l,c,p){var h=t.bindings.length;h>0&&Gr(e,t,0,n),h>1&&Gr(e,t,1,r),h>2&&Gr(e,t,2,o),h>3&&Gr(e,t,3,i),h>4&&Gr(e,t,4,u),h>5&&Gr(e,t,5,a),h>6&&Gr(e,t,6,s),h>7&&Gr(e,t,7,l),h>8&&Gr(e,t,8,c),h>9&&Gr(e,t,9,p)}(e,t,r,o,i,u,a,s,l,c,p,h):function(e,t,n){for(var r=0;r<n.length;r++)Gr(e,t,r,n[r])}(e,t,r),!1}function Hi(e,t){if(Nr(e,t.nodeIndex).dirty)throw Rr(Mr.createDebugContext(e,t.nodeIndex),"Query "+t.query.id+" not dirty","Query "+t.query.id+" dirty",0!=(1&e.state))}function Ui(e){if(!(128&e.state)){if(zi(e,Vi.Destroy),Fi(e,Vi.Destroy),fi(e,131072),e.disposables)for(var t=0;t<e.disposables.length;t++)e.disposables[t]();!function(e){if(16&e.state){var t=Jr(e);if(t){var n=t.template._projectedViews;n&&(Oo(n,n.indexOf(e)),Mr.dirtyParentQueries(e))}}}(e),e.renderer.destroyNode&&function(e){for(var t=e.def.nodes.length,n=0;n<t;n++){var r=e.def.nodes[n];1&r.flags?e.renderer.destroyNode(Pr(e,n).renderElement):2&r.flags?e.renderer.destroyNode(Ar(e,n).renderText):(67108864&r.flags||134217728&r.flags)&&Nr(e,n).destroy()}}(e),$r(e)&&e.renderer.destroy(),e.state|=128}}var Vi=function(e){return e[e.CreateViewNodes=0]="CreateViewNodes",e[e.CheckNoChanges=1]="CheckNoChanges",e[e.CheckNoChangesProjectedViews=2]="CheckNoChangesProjectedViews",e[e.CheckAndUpdate=3]="CheckAndUpdate",e[e.CheckAndUpdateProjectedViews=4]="CheckAndUpdateProjectedViews",e[e.Destroy=5]="Destroy",e}(Vi||(Vi={}));function Fi(e,t){var n=e.def;if(33554432&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var o=n.nodes[r];33554432&o.flags?Bi(Pr(e,r).componentView,t):0==(33554432&o.childFlags)&&(r+=o.childCount)}}function zi(e,t){var n=e.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=Pr(e,r).viewContainer._embeddedViews,u=0;u<i.length;u++)Bi(i[u],t);else 0==(16777216&o.childFlags)&&(r+=o.childCount)}}function Bi(e,t){var n=e.state;switch(t){case Vi.CheckNoChanges:0==(128&n)&&(12==(12&n)?Mi(e):64&n&&Zi(e,Vi.CheckNoChangesProjectedViews));break;case Vi.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?Mi(e):64&n&&Zi(e,t));break;case Vi.CheckAndUpdate:0==(128&n)&&(12==(12&n)?Ri(e):64&n&&Zi(e,Vi.CheckAndUpdateProjectedViews));break;case Vi.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?Ri(e):64&n&&Zi(e,t));break;case Vi.Destroy:Ui(e);break;case Vi.CreateViewNodes:Ni(e)}}function Zi(e,t){zi(e,t),Fi(e,t)}function Wi(e,t,n,r){if(e.def.nodeFlags&t&&e.def.nodeFlags&n)for(var o=e.def.nodes.length,i=0;i<o;i++){var u=e.def.nodes[i];if(u.flags&t&&u.flags&n)switch(Mr.setCurrentNode(e,u.nodeIndex),r){case 0:yi(e,u);break;case 1:Hi(e,u)}u.childFlags&t&&u.childFlags&n||(i+=u.childCount)}}var Gi=!1;function qi(e,t,n,r,o,i){return Ai(Yi(e,o,o.injector.get(hn),t,n),r,i)}function Qi(e,t,n,r,o,i){var u=o.injector.get(hn),a=Yi(e,o,new Pu(u),t,n),s=iu(r);return Tu(du.create,Ai,null,[a,s,i])}function Yi(e,t,n,r,o){var i=t.injector.get(xr),u=t.injector.get(ht);return{ngModule:t,injector:e,projectableNodes:r,selectorOrNode:o,sanitizer:i,rendererFactory:n,renderer:n.createRenderer(null,null),errorHandler:u}}function Ji(e,t,n,r){var o=iu(n);return Tu(du.create,Ti,null,[e,t,o,r])}function Xi(e,t,n,r){return n=tu.get(t.element.componentProvider.provider.token)||iu(n),Tu(du.create,Pi,null,[e,t,n,r])}function Ki(e,t,n,r){return Go(e,t,n,function(e){var t=function(e){var t=!1,n=!1;return 0===$i.size?{hasOverrides:t,hasDeprecatedOverrides:n}:(e.providers.forEach(function(e){var r=$i.get(e.token);3840&e.flags&&r&&(t=!0,n=n||r.deprecatedBehavior)}),e.modules.forEach(function(e){eu.forEach(function(r,o){o.ngInjectableDef.providedIn===e&&(t=!0,n=n||r.deprecatedBehavior)})}),{hasOverrides:t,hasDeprecatedOverrides:n})}(e),n=t.hasDeprecatedOverrides;return t.hasOverrides?(function(e){for(var t=0;t<e.providers.length;t++){var r=e.providers[t];n&&(r.flags|=4096);var o=$i.get(r.token);o&&(r.flags=-3841&r.flags|o.flags,r.deps=no(o.deps),r.value=o.value)}if(eu.size>0){var i=new Set(e.modules);eu.forEach(function(t,r){if(i.has(r.ngInjectableDef.providedIn)){var o={token:r,flags:t.flags|(n?4096:0),deps:no(t.deps),value:t.value,index:e.providers.length};e.providers.push(o),e.providersByKey[Ur(r)]=o}})}}(e=e.factory(function(){return Lr})),e):e}(r))}var $i=new Map,eu=new Map,tu=new Map;function nu(e){$i.set(e.token,e),"function"==typeof e.token&&e.token.ngInjectableDef&&"function"==typeof e.token.ngInjectableDef.providedIn&&eu.set(e.token,e)}function ru(e,t){var n=io(io(t.viewDefFactory).nodes[0].element.componentView);tu.set(e,n)}function ou(){$i.clear(),eu.clear(),tu.clear()}function iu(e){if(0===$i.size)return e;var t=function(e){for(var t=[],n=null,r=0;r<e.nodes.length;r++){var o=e.nodes[r];1&o.flags&&(n=o),n&&3840&o.flags&&$i.has(o.provider.token)&&(t.push(n.nodeIndex),n=null)}return t}(e);if(0===t.length)return e;e=e.factory(function(){return Lr});for(var n=0;n<t.length;n++)r(e,t[n]);return e;function r(e,t){for(var n=t+1;n<e.nodes.length;n++){var r=e.nodes[n];if(1&r.flags)return;if(3840&r.flags){var o=r.provider,i=$i.get(o.token);i&&(r.flags=-3841&r.flags|i.flags,o.deps=no(i.deps),o.value=i.value)}}}}function uu(e,t,n,r,o,i,u,a,s,l,c,p,h){var f=e.def.nodes[t];return ji(e,f,n,r,o,i,u,a,s,l,c,p,h),224&f.flags?Or(e,t).value:void 0}function au(e,t,n,r,o,i,u,a,s,l,c,p,h){var f=e.def.nodes[t];return Li(e,f,n,r,o,i,u,a,s,l,c,p,h),224&f.flags?Or(e,t).value:void 0}function su(e){return Tu(du.detectChanges,Ri,null,[e])}function lu(e){return Tu(du.checkNoChanges,Mi,null,[e])}function cu(e){return Tu(du.destroy,Ui,null,[e])}var pu,hu,fu,du=function(e){return e[e.create=0]="create",e[e.detectChanges=1]="detectChanges",e[e.checkNoChanges=2]="checkNoChanges",e[e.destroy=3]="destroy",e[e.handleEvent=4]="handleEvent",e}(du||(du={}));function vu(e,t){hu=e,fu=t}function gu(e,t,n,r){return vu(e,t),Tu(du.handleEvent,e.def.handleEvent,null,[e,t,n,r])}function yu(e,t){if(128&e.state)throw Dr(du[pu]);return vu(e,Su(e,0)),e.def.updateDirectives(function(e,n,r){for(var o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];var u=e.def.nodes[n];return 0===t?bu(e,u,r,o):wu(e,u,r,o),16384&u.flags&&vu(e,Su(e,n)),224&u.flags?Or(e,u.nodeIndex).value:void 0},e)}function mu(e,t){if(128&e.state)throw Dr(du[pu]);return vu(e,Eu(e,0)),e.def.updateRenderer(function(e,n,r){for(var o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];var u=e.def.nodes[n];return 0===t?bu(e,u,r,o):wu(e,u,r,o),3&u.flags&&vu(e,Eu(e,n)),224&u.flags?Or(e,u.nodeIndex).value:void 0},e)}function bu(e,t,n,r){if(ji.apply(void 0,s([e,t,n],r))){var o=1===n?r[0]:r;if(16384&t.flags){for(var i={},u=0;u<t.bindings.length;u++){var a=t.bindings[u],l=o[u];8&a.flags&&(i[(f=a.nonMinifiedName,"ng-reflect-"+(f=f.replace(/[$@]/g,"_").replace(_u,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return"-"+e[1].toLowerCase()})))]=Cu(l))}var c=t.parent,p=Pr(e,c.nodeIndex).renderElement;if(c.element.name)for(var h in i)null!=(l=i[h])?e.renderer.setAttribute(p,h,l):e.renderer.removeAttribute(p,h);else e.renderer.setValue(p,"bindings="+JSON.stringify(i,null,2))}}var f}function wu(e,t,n,r){Li.apply(void 0,s([e,t,n],r))}var _u=/([A-Z])/g;function Cu(e){try{return null!=e?e.toString().slice(0,30):e}catch(e){return"[ERROR] Exception while trying to serialize the value"}}function Su(e,t){for(var n=t;n<e.def.nodes.length;n++){var r=e.def.nodes[n];if(16384&r.flags&&r.bindings&&r.bindings.length)return n}return null}function Eu(e,t){for(var n=t;n<e.def.nodes.length;n++){var r=e.def.nodes[n];if(3&r.flags&&r.bindings&&r.bindings.length)return n}return null}var xu=function(){function e(e,t){this.view=e,this.nodeIndex=t,null==t&&(this.nodeIndex=t=0),this.nodeDef=e.def.nodes[t];for(var n=this.nodeDef,r=e;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&r;)n=Xr(r),r=r.parent;this.elDef=n,this.elView=r}return Object.defineProperty(e.prototype,"elOrCompView",{get:function(){return Pr(this.elView,this.elDef.nodeIndex).componentView||this.view},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return zo(this.elView,this.elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"component",{get:function(){return this.elOrCompView.component},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this.elOrCompView.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){var e=[];if(this.elDef)for(var t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){var n=this.elView.def.nodes[t];20224&n.flags&&e.push(n.provider.token),t+=n.childCount}return e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){var e={};if(this.elDef){Iu(this.elView,this.elDef,e);for(var t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){var n=this.elView.def.nodes[t];20224&n.flags&&Iu(this.elView,n,e),t+=n.childCount}}return e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentRenderElement",{get:function(){var e=function(e){for(;e&&!$r(e);)e=e.parent;return e.parent?Pr(e.parent,Xr(e).nodeIndex):null}(this.elOrCompView);return e?e.renderElement:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"renderNode",{get:function(){return 2&this.nodeDef.flags?Kr(this.view,this.nodeDef):Kr(this.elView,this.elDef)},enumerable:!0,configurable:!0}),e.prototype.logError=function(e){for(var t,n,r=[],o=1;o<arguments.length;o++)r[o-1]=arguments[o];2&this.nodeDef.flags?(t=this.view.def,n=this.nodeDef.nodeIndex):(t=this.elView.def,n=this.elDef.nodeIndex);var i=function(e,t){for(var n=-1,r=0;r<=t;r++)3&e.nodes[r].flags&&n++;return n}(t,n),u=-1;t.factory(function(){return++u===i?(t=e.error).bind.apply(t,s([e],r)):Lr;var t}),u<i&&(e.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),e.error.apply(e,s(r)))},e}();function Iu(e,t,n){for(var r in t.references)n[r]=bi(e,t,t.references[r])}function Tu(e,t,n,r){var o=pu,i=hu,u=fu;try{pu=e;var a=t.apply(n,r);return hu=i,fu=u,pu=o,a}catch(e){if(lt(e)||!hu)throw e;throw function(e,t){return e instanceof Error||(e=new Error(e.toString())),jr(e,t),e}(e,Au())}}function Au(){return hu?new xu(hu,fu):null}var Pu=function(){function e(e){this.delegate=e}return e.prototype.createRenderer=function(e,t){return new ku(this.delegate.createRenderer(e,t))},e.prototype.begin=function(){this.delegate.begin&&this.delegate.begin()},e.prototype.end=function(){this.delegate.end&&this.delegate.end()},e.prototype.whenRenderingDone=function(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)},e}(),ku=function(){function e(e){this.delegate=e,this.data=this.delegate.data}return e.prototype.destroyNode=function(e){!function(e){In.delete(e.nativeNode)}(Tn(e)),this.delegate.destroyNode&&this.delegate.destroyNode(e)},e.prototype.destroy=function(){this.delegate.destroy()},e.prototype.createElement=function(e,t){var n=this.delegate.createElement(e,t),r=Au();if(r){var o=new xn(n,null,r);o.name=e,An(o)}return n},e.prototype.createComment=function(e){var t=this.delegate.createComment(e),n=Au();return n&&An(new En(t,null,n)),t},e.prototype.createText=function(e){var t=this.delegate.createText(e),n=Au();return n&&An(new En(t,null,n)),t},e.prototype.appendChild=function(e,t){var n=Tn(e),r=Tn(t);n&&r&&n instanceof xn&&n.addChild(r),this.delegate.appendChild(e,t)},e.prototype.insertBefore=function(e,t,n){var r=Tn(e),o=Tn(t),i=Tn(n);r&&o&&r instanceof xn&&r.insertBefore(i,o),this.delegate.insertBefore(e,t,n)},e.prototype.removeChild=function(e,t){var n=Tn(e),r=Tn(t);n&&r&&n instanceof xn&&n.removeChild(r),this.delegate.removeChild(e,t)},e.prototype.selectRootElement=function(e){var t=this.delegate.selectRootElement(e),n=Au();return n&&An(new xn(t,null,n)),t},e.prototype.setAttribute=function(e,t,n,r){var o=Tn(e);o&&o instanceof xn&&(o.attributes[r?r+":"+t:t]=n),this.delegate.setAttribute(e,t,n,r)},e.prototype.removeAttribute=function(e,t,n){var r=Tn(e);r&&r instanceof xn&&(r.attributes[n?n+":"+t:t]=null),this.delegate.removeAttribute(e,t,n)},e.prototype.addClass=function(e,t){var n=Tn(e);n&&n instanceof xn&&(n.classes[t]=!0),this.delegate.addClass(e,t)},e.prototype.removeClass=function(e,t){var n=Tn(e);n&&n instanceof xn&&(n.classes[t]=!1),this.delegate.removeClass(e,t)},e.prototype.setStyle=function(e,t,n,r){var o=Tn(e);o&&o instanceof xn&&(o.styles[t]=n),this.delegate.setStyle(e,t,n,r)},e.prototype.removeStyle=function(e,t,n){var r=Tn(e);r&&r instanceof xn&&(r.styles[t]=null),this.delegate.removeStyle(e,t,n)},e.prototype.setProperty=function(e,t,n){var r=Tn(e);r&&r instanceof xn&&(r.properties[t]=n),this.delegate.setProperty(e,t,n)},e.prototype.listen=function(e,t,n){if("string"!=typeof e){var r=Tn(e);r&&r.listeners.push(new function(e,t){this.name=e,this.callback=t}(t,n))}return this.delegate.listen(e,t,n)},e.prototype.parentNode=function(e){return this.delegate.parentNode(e)},e.prototype.nextSibling=function(e){return this.delegate.nextSibling(e)},e.prototype.setValue=function(e,t){return this.delegate.setValue(e,t)},e}(),Ou=function(e){function t(t,n,r){var o=e.call(this)||this;return o.moduleType=t,o._bootstrapComponents=n,o._ngModuleDefFactory=r,o}return o(t,e),t.prototype.create=function(e){!function(){if(!Gi){Gi=!0;var e=rn()?{setCurrentNode:vu,createRootView:Qi,createEmbeddedView:Ji,createComponentView:Xi,createNgModuleRef:Ki,overrideProvider:nu,overrideComponentView:ru,clearOverrides:ou,checkAndUpdateView:su,checkNoChangesView:lu,destroyView:cu,createDebugContext:function(e,t){return new xu(e,t)},handleEvent:gu,updateDirectives:yu,updateRenderer:mu}:{setCurrentNode:function(){},createRootView:qi,createEmbeddedView:Ti,createComponentView:Pi,createNgModuleRef:Go,overrideProvider:Lr,overrideComponentView:Lr,clearOverrides:Lr,checkAndUpdateView:Ri,checkNoChangesView:Mi,destroyView:Ui,createDebugContext:function(e,t){return new xu(e,t)},handleEvent:function(e,t,n,r){return e.def.handleEvent(e,t,n,r)},updateDirectives:function(e,t){return e.def.updateDirectives(0===t?uu:au,e)},updateRenderer:function(e,t){return e.def.updateRenderer(0===t?uu:au,e)}};Mr.setCurrentNode=e.setCurrentNode,Mr.createRootView=e.createRootView,Mr.createEmbeddedView=e.createEmbeddedView,Mr.createComponentView=e.createComponentView,Mr.createNgModuleRef=e.createNgModuleRef,Mr.overrideProvider=e.overrideProvider,Mr.overrideComponentView=e.overrideComponentView,Mr.clearOverrides=e.clearOverrides,Mr.checkAndUpdateView=e.checkAndUpdateView,Mr.checkNoChangesView=e.checkNoChangesView,Mr.destroyView=e.destroyView,Mr.resolveDep=ci,Mr.createDebugContext=e.createDebugContext,Mr.handleEvent=e.handleEvent,Mr.updateDirectives=e.updateDirectives,Mr.updateRenderer=e.updateRenderer,Mr.dirtyParentQueries=gi}}();var t=io(this._ngModuleDefFactory);return Mr.createNgModuleRef(this.moduleType,e||ze.NULL,this._bootstrapComponents,t)},t}(Lt);"undefined"==typeof ngDevMode&&("undefined"!=typeof window&&(window.ngDevMode=!0),"undefined"!=typeof self&&(self.ngDevMode=!0),"undefined"!=typeof global&&(global.ngDevMode=!0));var Nu=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Nu||(Nu={})),Mu=function(){},Ru=function(){function e(){this.promptIntercepted=!1,this.isStandalone=!1,this.userInstalled=!1,this.whereIsShare="bottom",this.isChrome=!1,this.isExplorer=!1,this.isExplorer_11=!1,this.isFirefox=!1,this.isSafari=!1,this.isOpera=!1,this.isEdgeDesktop=!1,this.isEdgeiOS=!1,this.isEdgeAndroid=!1,this.userAgent="",this.isIOS=!1,this.isMobile=!1,this.promptSaved=!1,this.customButtonClicked=!1,this.deferredPromptShown=!1,this.deferredPromptRejected=!1}return e.prototype.checkUserAgent=function(){this.userAgent=navigator.userAgent.toLowerCase();var e=this.userAgent;this.isChrome=/chrome/.test(e),this.isExplorer=/msie/.test(e),this.isExplorer_11=/rv:11/.test(e),this.isFirefox=/firefox/.test(e),this.isSafari=/safari/.test(e),this.isOpera=/opr/.test(e),this.isEdgeDesktop=/edge/.test(e),this.isEdgeiOS=/edgios/.test(e),this.isEdgeAndroid=/edga/.test(e),this.isIOS=/ipad|iphone|ipod/.test(e),this.isMobile=/mobile/.test(e),this.isChrome&&this.isSafari&&(this.isSafari=!1),this.isChrome&&(this.isEdgeDesktop||this.isEdgeiOS||this.isEdgeAndroid)&&(this.isChrome=!1),this.isSafari&&(this.isEdgeDesktop||this.isEdgeiOS||this.isEdgeAndroid)&&(this.isSafari=!1),this.isChrome&&this.isOpera&&(this.isChrome=!1),/ipad/.test(e)&&(this.whereIsShare="top")},e.prototype.trackStandalone=function(){this.checkStandalone()&&(this.isStandalone=!0)},e.prototype.checkStandalone=function(){return window.matchMedia("(display-mode: standalone)").matches},e.prototype.trackInstalled=function(){console.log("setting this.userInstalled true"),this.userInstalled=!0},e.prototype.addToHomeScreen=function(){var e=this;this.customButtonClicked=!0,this.deferredPrompt?(this.deferredPrompt.prompt(),this.deferredPromptShown=!0,this.deferredPrompt.userChoice.then(function(t){"accepted"===t.outcome||(e.deferredPromptRejected=!0)})):console.log("deferredPrompt null")},e.prototype.showHide=function(e){return e?"block":"none"},e.prototype.browserPromptBtn=function(){return this.promptIntercepted&&!this.userInstalled?"block":"none"},e.prototype.iOSSafariHow2=function(){return this.isSafari&&this.isIOS&&!this.isStandalone?"block":"none"},e.prototype.iOSAndroidFirefoxHow2=function(){return this.isFirefox&&!this.isIOS&&!this.isStandalone&&this.isMobile?"block":"none"},e.prototype.iOS=function(){return this.isSafari&&this.isIOS&&!this.isStandalone?"block":"none"},e.prototype.showHideButton_iOS=function(){return this.isIOS&&!this.userInstalled?"block":"none"},e.prototype.trueOrFalse=function(e){return e?"green":"red"},e.ngInjectableDef=ve({factory:function(){return new e},token:e,providedIn:"root"}),e}(),ju=function(){return function(e){this.a2hs=e,this.title="Add To Home Screen (A2HS) Tester",e.checkUserAgent(),e.trackStandalone(),window.addEventListener("beforeinstallprompt",function(t){e.promptIntercepted=!0,t.preventDefault(),e.deferredPrompt=t,e.promptSaved=!0}),window.addEventListener("appinstalled",function(t){e.trackInstalled()})}}(),Du=function(){},Lu=new ge("Location Initialized"),Hu=function(){},Uu=new ge("appBaseHref"),Vu=function(){function e(t){var n=this;this._subject=new zt,this._platformStrategy=t;var r=this._platformStrategy.getBaseHref();this._baseHref=e.stripTrailingSlash(Fu(r)),this._platformStrategy.onPopState(function(e){n._subject.emit({url:n.path(!0),pop:!0,state:e.state,type:e.type})})}return e.prototype.path=function(e){return void 0===e&&(e=!1),this.normalize(this._platformStrategy.path(e))},e.prototype.isCurrentPathEqualTo=function(t,n){return void 0===n&&(n=""),this.path()==this.normalize(t+e.normalizeQueryParams(n))},e.prototype.normalize=function(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,Fu(t)))},e.prototype.prepareExternalUrl=function(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)},e.prototype.go=function(e,t,n){void 0===t&&(t=""),void 0===n&&(n=null),this._platformStrategy.pushState(n,"",e,t)},e.prototype.replaceState=function(e,t,n){void 0===t&&(t=""),void 0===n&&(n=null),this._platformStrategy.replaceState(n,"",e,t)},e.prototype.forward=function(){this._platformStrategy.forward()},e.prototype.back=function(){this._platformStrategy.back()},e.prototype.subscribe=function(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})},e.normalizeQueryParams=function(e){return e&&"?"!==e[0]?"?"+e:e},e.joinWithSlash=function(e,t){if(0==e.length)return t;if(0==t.length)return e;var n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t},e.stripTrailingSlash=function(e){var t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)},e}();function Fu(e){return e.replace(/\/index.html$/,"")}var zu=function(e){function t(t,n){var r=e.call(this)||this;return r._platformLocation=t,r._baseHref="",null!=n&&(r._baseHref=n),r}return o(t,e),t.prototype.onPopState=function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)},t.prototype.getBaseHref=function(){return this._baseHref},t.prototype.path=function(e){void 0===e&&(e=!1);var t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t},t.prototype.prepareExternalUrl=function(e){var t=Vu.joinWithSlash(this._baseHref,e);return t.length>0?"#"+t:t},t.prototype.pushState=function(e,t,n,r){var o=this.prepareExternalUrl(n+Vu.normalizeQueryParams(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(e,t,o)},t.prototype.replaceState=function(e,t,n,r){var o=this.prepareExternalUrl(n+Vu.normalizeQueryParams(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,o)},t.prototype.forward=function(){this._platformLocation.forward()},t.prototype.back=function(){this._platformLocation.back()},t}(Hu),Bu=function(e){function t(t,n){var r=e.call(this)||this;if(r._platformLocation=t,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(t,e),t.prototype.onPopState=function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)},t.prototype.getBaseHref=function(){return this._baseHref},t.prototype.prepareExternalUrl=function(e){return Vu.joinWithSlash(this._baseHref,e)},t.prototype.path=function(e){void 0===e&&(e=!1);var t=this._platformLocation.pathname+Vu.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?""+t+n:t},t.prototype.pushState=function(e,t,n,r){var o=this.prepareExternalUrl(n+Vu.normalizeQueryParams(r));this._platformLocation.pushState(e,t,o)},t.prototype.replaceState=function(e,t,n,r){var o=this.prepareExternalUrl(n+Vu.normalizeQueryParams(r));this._platformLocation.replaceState(e,t,o)},t.prototype.forward=function(){this._platformLocation.forward()},t.prototype.back=function(){this._platformLocation.back()},t}(Hu),Zu=void 0,Wu=["en",[["a","p"],["AM","PM"],Zu],[["AM","PM"],Zu,Zu],[["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"]],Zu,[["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"]],Zu,[["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}",Zu,"{1} 'at' {0}",Zu],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",{},function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}],Gu={},qu=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}(qu||(qu={})),Qu=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}(Qu||(Qu={})),Yu=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(Yu||(Yu={})),Ju=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(Ju||(Ju={})),Xu=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(Xu||(Xu={})),Ku=function(e){return e[e.Decimal=0]="Decimal",e[e.Group=1]="Group",e[e.List=2]="List",e[e.PercentSign=3]="PercentSign",e[e.PlusSign=4]="PlusSign",e[e.MinusSign=5]="MinusSign",e[e.Exponential=6]="Exponential",e[e.SuperscriptingExponent=7]="SuperscriptingExponent",e[e.PerMille=8]="PerMille",e[e[1/0]=9]="Infinity",e[e.NaN=10]="NaN",e[e.TimeSeparator=11]="TimeSeparator",e[e.CurrencyDecimal=12]="CurrencyDecimal",e[e.CurrencyGroup=13]="CurrencyGroup",e}(Ku||(Ku={})),$u=function(e){return e[e.Sunday=0]="Sunday",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=3]="Wednesday",e[e.Thursday=4]="Thursday",e[e.Friday=5]="Friday",e[e.Saturday=6]="Saturday",e}($u||($u={})),ea=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}(ea||(ea={})),ta=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.Milliseconds=6]="Milliseconds",e[e.Day=7]="Day",e}(ta||(ta={})),na=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}(na||(na={})),ra=new ge("UseV4Plurals"),oa=function(){},ia=function(e){function t(t,n){var r=e.call(this)||this;return r.locale=t,r.deprecatedPluralFn=n,r}return o(t,e),t.prototype.getPluralCategory=function(e,t){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(t||this.locale,e):function(e){return function(e){var t=e.toLowerCase().replace(/_/g,"-"),n=Gu[t];if(n)return n;var r=t.split("-")[0];if(n=Gu[r])return n;if("en"===r)return Wu;throw new Error('Missing locale data for the locale "'+e+'".')}(e)[18]}(t||this.locale)(e)){case Qu.Zero:return"zero";case Qu.One:return"one";case Qu.Two:return"two";case Qu.Few:return"few";case Qu.Many:return"many";default:return"other"}},t}(oa),ua=function(){},aa=new ge("DocumentToken"),sa="browser",la="server";function ca(e){return e===sa}var pa=function(e){function t(t){var n=e.call(this)||this;return n._value=t,n}return o(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),t.prototype._subscribe=function(t){var n=e.prototype._subscribe.call(this,t);return n&&!n.closed&&t.next(this._value),n},t.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new te;return this._value},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(oe),ha=new k(function(e){return e.complete()});function fa(e){return e?function(e){return new k(function(t){return e.schedule(function(){return t.complete()})})}(e):ha}function da(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n,r,o=e[e.length-1];switch(N(o)?e.pop():o=void 0,e.length){case 0:return fa(o);case 1:return o?q(e,o):(n=e[0],(r=new k(function(e){e.next(n),e.complete()}))._isScalar=!0,r.value=n,r);default:return q(e,o)}}var va=function(e){function t(){var n=e.call(this,"no elements in sequence")||this;return n.name="EmptyError",Object.setPrototypeOf(n,t.prototype),n}return o(t,e),t}(Error);function ga(e,t){return Y(e,t,1)}function ya(e,t){return function(n){return n.lift(new ma(e,t))}}var ma=function(){function e(e,t){this.predicate=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new ba(e,this.predicate,this.thisArg))},e}(),ba=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.predicate=n,o.thisArg=r,o.count=0,o}return o(t,e),t.prototype._next=function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(e){return void this.destination.error(e)}t&&this.destination.next(e)},t}(E),wa=function(e){function t(){var n=e.call(this,"argument out of range")||this;return n.name="ArgumentOutOfRangeError",Object.setPrototypeOf(n,t.prototype),n}return o(t,e),t}(Error);function _a(e){return function(t){return 0===e?fa():t.lift(new Ca(e))}}var Ca=function(){function e(e){if(this.total=e,this.total<0)throw new wa}return e.prototype.call=function(e,t){return t.subscribe(new Sa(e,this.total))},e}(),Sa=function(e){function t(t,n){var r=e.call(this,t)||this;return r.total=n,r.ring=new Array,r.count=0,r}return o(t,e),t.prototype._next=function(e){var t=this.ring,n=this.total,r=this.count++;t.length<n?t.push(e):t[r%n]=e},t.prototype._complete=function(){var e=this.destination,t=this.count;if(t>0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,o=0;o<n;o++){var i=t++%n;e.next(r[i])}e.complete()},t}(E);function Ea(e,t,n){return function(r){return r.lift(new xa(e,t,n))}}var xa=function(){function e(e,t,n){this.nextOrObserver=e,this.error=t,this.complete=n}return e.prototype.call=function(e,t){return t.subscribe(new Ia(e,this.nextOrObserver,this.error,this.complete))},e}(),Ia=function(e){function t(t,n,r,o){var i=e.call(this,t)||this;return i._tapNext=T,i._tapError=T,i._tapComplete=T,i._tapError=r||T,i._tapComplete=o||T,l(n)?(i._context=i,i._tapNext=n):n&&(i._context=n,i._tapNext=n.next||T,i._tapError=n.error||T,i._tapComplete=n.complete||T),i}return o(t,e),t.prototype._next=function(e){try{this._tapNext.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.next(e)},t.prototype._error=function(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)},t.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()},t}(E),Ta=function(e){return void 0===e&&(e=Aa),Ea({hasValue:!1,next:function(){this.hasValue=!0},complete:function(){if(!this.hasValue)throw e()}})};function Aa(){return new va}function Pa(e){return void 0===e&&(e=null),function(t){return t.lift(new ka(e))}}var ka=function(){function e(e){this.defaultValue=e}return e.prototype.call=function(e,t){return t.subscribe(new Oa(e,this.defaultValue))},e}(),Oa=function(e){function t(t,n){var r=e.call(this,t)||this;return r.defaultValue=n,r.isEmpty=!0,r}return o(t,e),t.prototype._next=function(e){this.isEmpty=!1,this.destination.next(e)},t.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},t}(E);function Na(e,t){var n=arguments.length>=2;return function(r){return r.pipe(e?ya(function(t,n){return e(t,n,r)}):K,_a(1),n?Pa(t):Ta(function(){return new va}))}}function Ma(e){return function(t){var n=new Ra(e),r=t.lift(n);return n.caught=r}}var Ra=function(){function e(e){this.selector=e}return e.prototype.call=function(e,t){return t.subscribe(new ja(e,this.selector,this.caught))},e}(),ja=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.selector=n,o.caught=r,o}return o(t,e),t.prototype.error=function(t){if(!this.isStopped){var n=void 0;try{n=this.selector(t,this.caught)}catch(t){return void e.prototype.error.call(this,t)}this._unsubscribeAndRecycle(),this.add(z(this,n))}},t}(B);function Da(e,t){return function(n){return n.lift(new La(e,t,n))}}var La=function(){function e(e,t,n){this.predicate=e,this.thisArg=t,this.source=n}return e.prototype.call=function(e,t){return t.subscribe(new Ha(e,this.predicate,this.thisArg,this.source))},e}(),Ha=function(e){function t(t,n,r,o){var i=e.call(this,t)||this;return i.predicate=n,i.thisArg=r,i.source=o,i.index=0,i.thisArg=r||i,i}return o(t,e),t.prototype.notifyComplete=function(e){this.destination.next(e),this.destination.complete()},t.prototype._next=function(e){var t=!1;try{t=this.predicate.call(this.thisArg,e,this.index++,this.source)}catch(e){return void this.destination.error(e)}t||this.notifyComplete(!1)},t.prototype._complete=function(){this.notifyComplete(!0)},t}(E);function Ua(e){return function(t){return 0===e?fa():t.lift(new Va(e))}}var Va=function(){function e(e){if(this.total=e,this.total<0)throw new wa}return e.prototype.call=function(e,t){return t.subscribe(new Fa(e,this.total))},e}(),Fa=function(e){function t(t,n){var r=e.call(this,t)||this;return r.total=n,r.count=0,r}return o(t,e),t.prototype._next=function(e){var t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))},t}(E);function za(e,t){var n=arguments.length>=2;return function(r){return r.pipe(e?ya(function(t,n){return e(t,n,r)}):K,Ua(1),n?Pa(t):Ta(function(){return new va}))}}function Ba(){return $(1)}function Za(e,t){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new Wa(e,t,n))}}var Wa=function(){function e(e,t,n){void 0===n&&(n=!1),this.accumulator=e,this.seed=t,this.hasSeed=n}return e.prototype.call=function(e,t){return t.subscribe(new Ga(e,this.accumulator,this.seed,this.hasSeed))},e}(),Ga=function(e){function t(t,n,r,o){var i=e.call(this,t)||this;return i.accumulator=n,i._seed=r,i.hasSeed=o,i.index=0,i}return o(t,e),Object.defineProperty(t.prototype,"seed",{get:function(){return this._seed},set:function(e){this.hasSeed=!0,this._seed=e},enumerable:!0,configurable:!0}),t.prototype._next=function(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)},t.prototype._tryNext=function(e){var t,n=this.index++;try{t=this.accumulator(this.seed,e,n)}catch(e){this.destination.error(e)}this.seed=t,this.destination.next(t)},t}(E),qa=null;function Qa(){return qa}var Ya,Ja={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},Xa={"\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"},Ka={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"};xe.Node&&(Ya=xe.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))});var $a,es=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.parse=function(e){throw new Error("parse not implemented")},t.makeCurrent=function(){var e;e=new t,qa||(qa=e)},t.prototype.hasProperty=function(e,t){return t in e},t.prototype.setProperty=function(e,t,n){e[t]=n},t.prototype.getProperty=function(e,t){return e[t]},t.prototype.invoke=function(e,t,n){var r;(r=e)[t].apply(r,s(n))},t.prototype.logError=function(e){window.console&&(console.error?console.error(e):console.log(e))},t.prototype.log=function(e){window.console&&window.console.log&&window.console.log(e)},t.prototype.logGroup=function(e){window.console&&window.console.group&&window.console.group(e)},t.prototype.logGroupEnd=function(){window.console&&window.console.groupEnd&&window.console.groupEnd()},Object.defineProperty(t.prototype,"attrToPropMap",{get:function(){return Ja},enumerable:!0,configurable:!0}),t.prototype.contains=function(e,t){return Ya.call(e,t)},t.prototype.querySelector=function(e,t){return e.querySelector(t)},t.prototype.querySelectorAll=function(e,t){return e.querySelectorAll(t)},t.prototype.on=function(e,t,n){e.addEventListener(t,n,!1)},t.prototype.onAndCancel=function(e,t,n){return e.addEventListener(t,n,!1),function(){e.removeEventListener(t,n,!1)}},t.prototype.dispatchEvent=function(e,t){e.dispatchEvent(t)},t.prototype.createMouseEvent=function(e){var t=this.getDefaultDocument().createEvent("MouseEvent");return t.initEvent(e,!0,!0),t},t.prototype.createEvent=function(e){var t=this.getDefaultDocument().createEvent("Event");return t.initEvent(e,!0,!0),t},t.prototype.preventDefault=function(e){e.preventDefault(),e.returnValue=!1},t.prototype.isPrevented=function(e){return e.defaultPrevented||null!=e.returnValue&&!e.returnValue},t.prototype.getInnerHTML=function(e){return e.innerHTML},t.prototype.getTemplateContent=function(e){return"content"in e&&this.isTemplateElement(e)?e.content:null},t.prototype.getOuterHTML=function(e){return e.outerHTML},t.prototype.nodeName=function(e){return e.nodeName},t.prototype.nodeValue=function(e){return e.nodeValue},t.prototype.type=function(e){return e.type},t.prototype.content=function(e){return this.hasProperty(e,"content")?e.content:e},t.prototype.firstChild=function(e){return e.firstChild},t.prototype.nextSibling=function(e){return e.nextSibling},t.prototype.parentElement=function(e){return e.parentNode},t.prototype.childNodes=function(e){return e.childNodes},t.prototype.childNodesAsList=function(e){for(var t=e.childNodes,n=new Array(t.length),r=0;r<t.length;r++)n[r]=t[r];return n},t.prototype.clearNodes=function(e){for(;e.firstChild;)e.removeChild(e.firstChild)},t.prototype.appendChild=function(e,t){e.appendChild(t)},t.prototype.removeChild=function(e,t){e.removeChild(t)},t.prototype.replaceChild=function(e,t,n){e.replaceChild(t,n)},t.prototype.remove=function(e){return e.parentNode&&e.parentNode.removeChild(e),e},t.prototype.insertBefore=function(e,t,n){e.insertBefore(n,t)},t.prototype.insertAllBefore=function(e,t,n){n.forEach(function(n){return e.insertBefore(n,t)})},t.prototype.insertAfter=function(e,t,n){e.insertBefore(n,t.nextSibling)},t.prototype.setInnerHTML=function(e,t){e.innerHTML=t},t.prototype.getText=function(e){return e.textContent},t.prototype.setText=function(e,t){e.textContent=t},t.prototype.getValue=function(e){return e.value},t.prototype.setValue=function(e,t){e.value=t},t.prototype.getChecked=function(e){return e.checked},t.prototype.setChecked=function(e,t){e.checked=t},t.prototype.createComment=function(e){return this.getDefaultDocument().createComment(e)},t.prototype.createTemplate=function(e){var t=this.getDefaultDocument().createElement("template");return t.innerHTML=e,t},t.prototype.createElement=function(e,t){return(t=t||this.getDefaultDocument()).createElement(e)},t.prototype.createElementNS=function(e,t,n){return(n=n||this.getDefaultDocument()).createElementNS(e,t)},t.prototype.createTextNode=function(e,t){return(t=t||this.getDefaultDocument()).createTextNode(e)},t.prototype.createScriptTag=function(e,t,n){var r=(n=n||this.getDefaultDocument()).createElement("SCRIPT");return r.setAttribute(e,t),r},t.prototype.createStyleElement=function(e,t){var n=(t=t||this.getDefaultDocument()).createElement("style");return this.appendChild(n,this.createTextNode(e,t)),n},t.prototype.createShadowRoot=function(e){return e.createShadowRoot()},t.prototype.getShadowRoot=function(e){return e.shadowRoot},t.prototype.getHost=function(e){return e.host},t.prototype.clone=function(e){return e.cloneNode(!0)},t.prototype.getElementsByClassName=function(e,t){return e.getElementsByClassName(t)},t.prototype.getElementsByTagName=function(e,t){return e.getElementsByTagName(t)},t.prototype.classList=function(e){return Array.prototype.slice.call(e.classList,0)},t.prototype.addClass=function(e,t){e.classList.add(t)},t.prototype.removeClass=function(e,t){e.classList.remove(t)},t.prototype.hasClass=function(e,t){return e.classList.contains(t)},t.prototype.setStyle=function(e,t,n){e.style[t]=n},t.prototype.removeStyle=function(e,t){e.style[t]=""},t.prototype.getStyle=function(e,t){return e.style[t]},t.prototype.hasStyle=function(e,t,n){var r=this.getStyle(e,t)||"";return n?r==n:r.length>0},t.prototype.tagName=function(e){return e.tagName},t.prototype.attributeMap=function(e){for(var t=new Map,n=e.attributes,r=0;r<n.length;r++){var o=n.item(r);t.set(o.name,o.value)}return t},t.prototype.hasAttribute=function(e,t){return e.hasAttribute(t)},t.prototype.hasAttributeNS=function(e,t,n){return e.hasAttributeNS(t,n)},t.prototype.getAttribute=function(e,t){return e.getAttribute(t)},t.prototype.getAttributeNS=function(e,t,n){return e.getAttributeNS(t,n)},t.prototype.setAttribute=function(e,t,n){e.setAttribute(t,n)},t.prototype.setAttributeNS=function(e,t,n,r){e.setAttributeNS(t,n,r)},t.prototype.removeAttribute=function(e,t){e.removeAttribute(t)},t.prototype.removeAttributeNS=function(e,t,n){e.removeAttributeNS(t,n)},t.prototype.templateAwareRoot=function(e){return this.isTemplateElement(e)?this.content(e):e},t.prototype.createHtmlDocument=function(){return document.implementation.createHTMLDocument("fakeTitle")},t.prototype.getDefaultDocument=function(){return document},t.prototype.getBoundingClientRect=function(e){try{return e.getBoundingClientRect()}catch(e){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}},t.prototype.getTitle=function(e){return e.title},t.prototype.setTitle=function(e,t){e.title=t||""},t.prototype.elementMatches=function(e,t){return!!this.isElementNode(e)&&(e.matches&&e.matches(t)||e.msMatchesSelector&&e.msMatchesSelector(t)||e.webkitMatchesSelector&&e.webkitMatchesSelector(t))},t.prototype.isTemplateElement=function(e){return this.isElementNode(e)&&"TEMPLATE"===e.nodeName},t.prototype.isTextNode=function(e){return e.nodeType===Node.TEXT_NODE},t.prototype.isCommentNode=function(e){return e.nodeType===Node.COMMENT_NODE},t.prototype.isElementNode=function(e){return e.nodeType===Node.ELEMENT_NODE},t.prototype.hasShadowRoot=function(e){return null!=e.shadowRoot&&e instanceof HTMLElement},t.prototype.isShadowRoot=function(e){return e instanceof DocumentFragment},t.prototype.importIntoDoc=function(e){return document.importNode(this.templateAwareRoot(e),!0)},t.prototype.adoptNode=function(e){return document.adoptNode(e)},t.prototype.getHref=function(e){return e.getAttribute("href")},t.prototype.getEventKey=function(e){var t=e.key;if(null==t){if(null==(t=e.keyIdentifier))return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&Ka.hasOwnProperty(t)&&(t=Ka[t]))}return Xa[t]||t},t.prototype.getGlobalEventTarget=function(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null},t.prototype.getHistory=function(){return window.history},t.prototype.getLocation=function(){return window.location},t.prototype.getBaseHref=function(e){var t,n=ts||(ts=document.querySelector("base"))?ts.getAttribute("href"):null;return null==n?null:(t=n,$a||($a=document.createElement("a")),$a.setAttribute("href",t),"/"===$a.pathname.charAt(0)?$a.pathname:"/"+$a.pathname)},t.prototype.resetBaseElement=function(){ts=null},t.prototype.getUserAgent=function(){return window.navigator.userAgent},t.prototype.setData=function(e,t,n){this.setAttribute(e,"data-"+t,n)},t.prototype.getData=function(e,t){return this.getAttribute(e,"data-"+t)},t.prototype.getComputedStyle=function(e){return getComputedStyle(e)},t.prototype.supportsWebAnimation=function(){return"function"==typeof Element.prototype.animate},t.prototype.performanceNow=function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()},t.prototype.supportsCookies=function(){return!0},t.prototype.getCookie=function(e){return function(e,t){t=encodeURIComponent(t);try{for(var n=u(e.split(";")),r=n.next();!r.done;r=n.next()){var o=r.value,i=o.indexOf("="),s=a(-1==i?[o,""]:[o.slice(0,i),o.slice(i+1)],2),l=s[1];if(s[0].trim()===t)return decodeURIComponent(l)}}catch(e){c={error:e}}finally{try{r&&!r.done&&(p=n.return)&&p.call(n)}finally{if(c)throw c.error}}return null;var c,p}(document.cookie,e)},t.prototype.setCookie=function(e,t){document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)},t}(function(e){function t(){var t=e.call(this)||this;t._animationPrefix=null,t._transitionEnd=null;try{var n=t.createElement("div",document);if(null!=t.getStyle(n,"animationName"))t._animationPrefix="";else for(var r=["Webkit","Moz","O","ms"],o=0;o<r.length;o++)if(null!=t.getStyle(n,r[o]+"AnimationName")){t._animationPrefix="-"+r[o].toLowerCase()+"-";break}var i={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(i).forEach(function(e){null!=t.getStyle(n,e)&&(t._transitionEnd=i[e])})}catch(e){t._animationPrefix=null,t._transitionEnd=null}return t}return o(t,e),t.prototype.getDistributedNodes=function(e){return e.getDistributedNodes()},t.prototype.resolveAndSetHref=function(e,t,n){e.href=null==n?t:t+"/../"+n},t.prototype.supportsDOMEvents=function(){return!0},t.prototype.supportsNativeShadowDOM=function(){return"function"==typeof document.body.createShadowRoot},t.prototype.getAnimationPrefix=function(){return this._animationPrefix?this._animationPrefix:""},t.prototype.getTransitionEnd=function(){return this._transitionEnd?this._transitionEnd:""},t.prototype.supportsAnimation=function(){return null!=this._animationPrefix&&null!=this._transitionEnd},t}(function(){function e(){this.resourceLoaderType=null}return Object.defineProperty(e.prototype,"attrToPropMap",{get:function(){return this._attrToPropMap},set:function(e){this._attrToPropMap=e},enumerable:!0,configurable:!0}),e}())),ts=null,ns=aa;function rs(){return!!window.history.pushState}var os=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n._init(),n}return o(t,e),t.prototype._init=function(){this.location=Qa().getLocation(),this._history=Qa().getHistory()},t.prototype.getBaseHrefFromDOM=function(){return Qa().getBaseHref(this._doc)},t.prototype.onPopState=function(e){Qa().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)},t.prototype.onHashChange=function(e){Qa().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)},Object.defineProperty(t.prototype,"pathname",{get:function(){return this.location.pathname},set:function(e){this.location.pathname=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"search",{get:function(){return this.location.search},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hash",{get:function(){return this.location.hash},enumerable:!0,configurable:!0}),t.prototype.pushState=function(e,t,n){rs()?this._history.pushState(e,t,n):this.location.hash=n},t.prototype.replaceState=function(e,t,n){rs()?this._history.replaceState(e,t,n):this.location.hash=n},t.prototype.forward=function(){this._history.forward()},t.prototype.back=function(){this._history.back()},t.ctorParameters=function(){return[{type:void 0,decorators:[{type:Re,args:[ns]}]}]},t}(Du),is=function(){function e(e){this._doc=e,this._dom=Qa()}return e.prototype.addTag=function(e,t){return void 0===t&&(t=!1),e?this._getOrCreateElement(e,t):null},e.prototype.addTags=function(e,t){var n=this;return void 0===t&&(t=!1),e?e.reduce(function(e,r){return r&&e.push(n._getOrCreateElement(r,t)),e},[]):[]},e.prototype.getTag=function(e){return e&&this._dom.querySelector(this._doc,"meta["+e+"]")||null},e.prototype.getTags=function(e){if(!e)return[];var t=this._dom.querySelectorAll(this._doc,"meta["+e+"]");return t?[].slice.call(t):[]},e.prototype.updateTag=function(e,t){if(!e)return null;t=t||this._parseSelector(e);var n=this.getTag(t);return n?this._setMetaElementAttributes(e,n):this._getOrCreateElement(e,!0)},e.prototype.removeTag=function(e){this.removeTagElement(this.getTag(e))},e.prototype.removeTagElement=function(e){e&&this._dom.remove(e)},e.prototype._getOrCreateElement=function(e,t){if(void 0===t&&(t=!1),!t){var n=this._parseSelector(e),r=this.getTag(n);if(r&&this._containsAttributes(e,r))return r}var o=this._dom.createElement("meta");this._setMetaElementAttributes(e,o);var i=this._dom.getElementsByTagName(this._doc,"head")[0];return this._dom.appendChild(i,o),o},e.prototype._setMetaElementAttributes=function(e,t){var n=this;return Object.keys(e).forEach(function(r){return n._dom.setAttribute(t,r,e[r])}),t},e.prototype._parseSelector=function(e){var t=e.name?"name":"property";return t+'="'+e[t]+'"'},e.prototype._containsAttributes=function(e,t){var n=this;return Object.keys(e).every(function(r){return n._dom.getAttribute(t,r)===e[r]})},e}(),us=new ge("TRANSITION_ID"),as=[{provide:vt,useFactory:function(e,t,n){return function(){n.get(gt).donePromise.then(function(){var n=Qa();Array.prototype.slice.apply(n.querySelectorAll(t,"style[ng-transition]")).filter(function(t){return n.getAttribute(t,"ng-transition")===e}).forEach(function(e){return n.remove(e)})})}},deps:[us,ns,ze],multi:!0}],ss=function(){function e(){}return e.init=function(){var t;t=new e,$t=t},e.prototype.addToWindow=function(e){xe.getAngularTestability=function(t,n){void 0===n&&(n=!0);var r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},xe.getAllAngularTestabilities=function(){return e.getAllTestabilities()},xe.getAllAngularRootElements=function(){return e.getAllRootElements()},xe.frameworkStabilizers||(xe.frameworkStabilizers=[]),xe.frameworkStabilizers.push(function(e){var t=xe.getAllAngularTestabilities(),n=t.length,r=!1,o=function(t){r=r||t,0==--n&&e(r)};t.forEach(function(e){e.whenStable(o)})})},e.prototype.findTestabilityInTree=function(e,t,n){if(null==t)return null;var r=e.getTestability(t);return null!=r?r:n?Qa().isShadowRoot(t)?this.findTestabilityInTree(e,Qa().getHost(t),!0):this.findTestabilityInTree(e,Qa().parentElement(t),!0):null},e}(),ls=function(){function e(e){this._doc=e}return e.prototype.getTitle=function(){return Qa().getTitle(this._doc)},e.prototype.setTitle=function(e){Qa().setTitle(this._doc,e)},e}();function cs(e,t){"undefined"!=typeof COMPILED&&COMPILED||((xe.ng=xe.ng||{})[e]=t)}var ps={ApplicationRef:cn,NgZone:Bt};function hs(e){return Tn(e)}var fs=new ge("EventManagerPlugins"),ds=function(){function e(e,t){var n=this;this._zone=t,this._eventNameToPlugin=new Map,e.forEach(function(e){return e.manager=n}),this._plugins=e.slice().reverse()}return e.prototype.addEventListener=function(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)},e.prototype.addGlobalEventListener=function(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)},e.prototype.getZone=function(){return this._zone},e.prototype._findPluginFor=function(e){var t=this._eventNameToPlugin.get(e);if(t)return t;for(var n=this._plugins,r=0;r<n.length;r++){var o=n[r];if(o.supports(e))return this._eventNameToPlugin.set(e,o),o}throw new Error("No event manager plugin found for event "+e)},e}(),vs=function(){function e(e){this._doc=e}return e.prototype.addGlobalEventListener=function(e,t,n){var r=Qa().getGlobalEventTarget(this._doc,e);if(!r)throw new Error("Unsupported event target "+r+" for event "+t);return this.addEventListener(r,t,n)},e}(),gs=function(){function e(){this._stylesSet=new Set}return e.prototype.addStyles=function(e){var t=this,n=new Set;e.forEach(function(e){t._stylesSet.has(e)||(t._stylesSet.add(e),n.add(e))}),this.onStylesAdded(n)},e.prototype.onStylesAdded=function(e){},e.prototype.getAllStyles=function(){return Array.from(this._stylesSet)},e}(),ys=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n._hostNodes=new Set,n._styleNodes=new Set,n._hostNodes.add(t.head),n}return o(t,e),t.prototype._addStylesToHost=function(e,t){var n=this;e.forEach(function(e){var r=n._doc.createElement("style");r.textContent=e,n._styleNodes.add(t.appendChild(r))})},t.prototype.addHost=function(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)},t.prototype.removeHost=function(e){this._hostNodes.delete(e)},t.prototype.onStylesAdded=function(e){var t=this;this._hostNodes.forEach(function(n){return t._addStylesToHost(e,n)})},t.prototype.ngOnDestroy=function(){this._styleNodes.forEach(function(e){return Qa().remove(e)})},t}(gs),ms={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/"},bs=/%COMP%/g,ws="_nghost-%COMP%",_s="_ngcontent-%COMP%";function Cs(e,t,n){for(var r=0;r<t.length;r++){var o=t[r];Array.isArray(o)?Cs(e,o,n):(o=o.replace(bs,e),n.push(o))}return n}function Ss(e){return function(t){!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}var Es=function(){function e(e,t){this.eventManager=e,this.sharedStylesHost=t,this.rendererByCompId=new Map,this.defaultRenderer=new xs(e)}return e.prototype.createRenderer=function(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case ot.Emulated:var n=this.rendererByCompId.get(t.id);return n||(n=new Ps(this.eventManager,this.sharedStylesHost,t),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n;case ot.Native:return new ks(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){var r=Cs(t.id,t.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}},e.prototype.begin=function(){},e.prototype.end=function(){},e}(),xs=function(){function e(e){this.eventManager=e,this.data=Object.create(null)}return e.prototype.destroy=function(){},e.prototype.createElement=function(e,t){return t?document.createElementNS(ms[t],e):document.createElement(e)},e.prototype.createComment=function(e){return document.createComment(e)},e.prototype.createText=function(e){return document.createTextNode(e)},e.prototype.appendChild=function(e,t){e.appendChild(t)},e.prototype.insertBefore=function(e,t,n){e&&e.insertBefore(t,n)},e.prototype.removeChild=function(e,t){e&&e.removeChild(t)},e.prototype.selectRootElement=function(e){var t="string"==typeof e?document.querySelector(e):e;if(!t)throw new Error('The selector "'+e+'" did not match any elements');return t.textContent="",t},e.prototype.parentNode=function(e){return e.parentNode},e.prototype.nextSibling=function(e){return e.nextSibling},e.prototype.setAttribute=function(e,t,n,r){if(r){t=r+":"+t;var o=ms[r];o?e.setAttributeNS(o,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)},e.prototype.removeAttribute=function(e,t,n){if(n){var r=ms[n];r?e.removeAttributeNS(r,t):e.removeAttribute(n+":"+t)}else e.removeAttribute(t)},e.prototype.addClass=function(e,t){e.classList.add(t)},e.prototype.removeClass=function(e,t){e.classList.remove(t)},e.prototype.setStyle=function(e,t,n,r){r&fn.DashCase?e.style.setProperty(t,n,r&fn.Important?"important":""):e.style[t]=n},e.prototype.removeStyle=function(e,t,n){n&fn.DashCase?e.style.removeProperty(t):e.style[t]=""},e.prototype.setProperty=function(e,t,n){Ts(t,"property"),e[t]=n},e.prototype.setValue=function(e,t){e.nodeValue=t},e.prototype.listen=function(e,t,n){return Ts(t,"listener"),"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,Ss(n)):this.eventManager.addEventListener(e,t,Ss(n))},e}(),Is="@".charCodeAt(0);function Ts(e,t){if(e.charCodeAt(0)===Is)throw new Error("Found the synthetic "+t+" "+e+'. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.')}var As,Ps=function(e){function t(t,n,r){var o=e.call(this,t)||this;o.component=r;var i=Cs(r.id,r.styles,[]);return n.addStyles(i),o.contentAttr=_s.replace(bs,r.id),o.hostAttr=ws.replace(bs,r.id),o}return o(t,e),t.prototype.applyToHost=function(t){e.prototype.setAttribute.call(this,t,this.hostAttr,"")},t.prototype.createElement=function(t,n){var r=e.prototype.createElement.call(this,t,n);return e.prototype.setAttribute.call(this,r,this.contentAttr,""),r},t}(xs),ks=function(e){function t(t,n,r,o){var i=e.call(this,t)||this;i.sharedStylesHost=n,i.hostEl=r,i.component=o,i.shadowRoot=r.createShadowRoot(),i.sharedStylesHost.addHost(i.shadowRoot);for(var u=Cs(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(t,e),t.prototype.nodeOrShadowRoot=function(e){return e===this.hostEl?this.shadowRoot:e},t.prototype.destroy=function(){this.sharedStylesHost.removeHost(this.shadowRoot)},t.prototype.appendChild=function(t,n){return e.prototype.appendChild.call(this,this.nodeOrShadowRoot(t),n)},t.prototype.insertBefore=function(t,n,r){return e.prototype.insertBefore.call(this,this.nodeOrShadowRoot(t),n,r)},t.prototype.removeChild=function(t,n){return e.prototype.removeChild.call(this,this.nodeOrShadowRoot(t),n)},t.prototype.parentNode=function(t){return this.nodeOrShadowRoot(e.prototype.parentNode.call(this,this.nodeOrShadowRoot(t)))},t}(xs),Os="undefined"!=typeof Zone&&Zone.__symbol__||function(e){return"__zone_symbol__"+e},Ns=Os("addEventListener"),Ms=Os("removeEventListener"),Rs={},js="__zone_symbol__propagationStopped";"undefined"!=typeof Zone&&Zone[Os("BLACK_LISTED_EVENTS")]&&(As={});var Ds=function(e){return!!As&&As.hasOwnProperty(e)},Ls=function(e){var t=Rs[e.type];if(t){var n=this[t];if(n){var r=[e];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!==e[js];i++){var u;(u=o[i]).zone!==Zone.current?u.zone.run(u.handler,this,r):u.handler.apply(this,r)}}}},Hs=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.ngZone=n,r&&function(e){return e===la}(r)||o.patchEvent(),o}return o(t,e),t.prototype.patchEvent=function(){if("undefined"!=typeof Event&&Event&&Event.prototype&&!Event.prototype.__zone_symbol__stopImmediatePropagation){var e=Event.prototype.__zone_symbol__stopImmediatePropagation=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[js]=!0),e&&e.apply(this,arguments)}}},t.prototype.supports=function(e){return!0},t.prototype.addEventListener=function(e,t,n){var r=this,o=n;if(!e[Ns]||Bt.isInAngularZone()&&!Ds(t))e.addEventListener(t,o,!1);else{var i=Rs[t];i||(i=Rs[t]=Os("ANGULAR"+t+"FALSE"));var u=e[i],a=u&&u.length>0;u||(u=e[i]=[]);var s=Ds(t)?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||e[Ns](t,Ls,!1)}return function(){return r.removeEventListener(e,t,o)}},t.prototype.removeEventListener=function(e,t,n){var r=e[Ms];if(!r)return e.removeEventListener.apply(e,[t,n,!1]);var o=Rs[t],i=o&&e[o];if(!i)return e.removeEventListener.apply(e,[t,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(e,[t,Ls,!1]):e.removeEventListener.apply(e,[t,n,!1])},t}(vs),Us={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},Vs=new ge("HammerGestureConfig"),Fs=function(){function e(){this.events=[],this.overrides={}}return e.prototype.buildHammer=function(e){var t=new Hammer(e,this.options);for(var n in t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0}),this.overrides)t.get(n).set(this.overrides[n]);return t},e}(),zs=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o._config=n,o.console=r,o}return o(t,e),t.prototype.supports=function(e){return!(!Us.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e)||!window.Hammer&&(this.console.warn("Hammer.js is not loaded, can not bind '"+e+"' event."),1))},t.prototype.addEventListener=function(e,t,n){var r=this,o=this.manager.getZone();return t=t.toLowerCase(),o.runOutsideAngular(function(){var i=r._config.buildHammer(e),u=function(e){o.runGuarded(function(){n(e)})};return i.on(t,u),function(){return i.off(t,u)}})},t.prototype.isCustomEvent=function(e){return this._config.events.indexOf(e)>-1},t}(vs),Bs=["alt","control","meta","shift"],Zs={alt:function(e){return e.altKey},control:function(e){return e.ctrlKey},meta:function(e){return e.metaKey},shift:function(e){return e.shiftKey}},Ws=function(e){function t(t){return e.call(this,t)||this}return o(t,e),t.prototype.supports=function(e){return null!=t.parseEventName(e)},t.prototype.addEventListener=function(e,n,r){var o=t.parseEventName(n),i=t.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return Qa().onAndCancel(e,o.domEventName,i)})},t.parseEventName=function(e){var n=e.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;var o=t._normalizeKey(n.pop()),i="";if(Bs.forEach(function(e){var t=n.indexOf(e);t>-1&&(n.splice(t,1),i+=e+".")}),i+=o,0!=n.length||0===o.length)return null;var u={};return u.domEventName=r,u.fullKey=i,u},t.getEventFullKey=function(e){var t="",n=Qa().getEventKey(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),Bs.forEach(function(r){r!=n&&(0,Zs[r])(e)&&(t+=r+".")}),t+=n},t.eventCallback=function(e,n,r){return function(o){t.getEventFullKey(o)===e&&r.runGuarded(function(){return n(o)})}},t._normalizeKey=function(e){switch(e){case"esc":return"escape";default:return e}},t}(vs),Gs=function(){},qs=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n}return o(t,e),t.prototype.sanitize=function(e,t){if(null==t)return null;switch(e){case Er.NONE:return t;case Er.HTML:return t instanceof Ys?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"HTML"),function(e,t){var n=null;try{sr=sr||new nr(e);var r=t?String(t):"";n=sr.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=sr.getInertBodyElement(r)}while(r!==i);var u=new yr,a=u.sanitizeChildren(_r(n)||n);return rn()&&u.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss)."),a}finally{if(n)for(var s=_r(n)||n;s.firstChild;)s.removeChild(s.firstChild)}}(this._doc,String(t)));case Er.STYLE:return t instanceof Js?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"Style"),function(e){if(!(e=String(e).trim()))return"";var t=e.match(Sr);return t&&ir(t[1])===t[1]||e.match(Cr)&&function(e){for(var t=!0,n=!0,r=0;r<e.length;r++){var o=e.charAt(r);"'"===o&&n?t=!t:'"'===o&&t&&(n=!n)}return t&&n}(e)?e:(rn()&&console.warn("WARNING: sanitizing unsafe style value "+e+" (see http://g.co/ng/security#xss)."),"unsafe")}(t));case Er.SCRIPT:if(t instanceof Xs)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"Script"),new Error("unsafe value used in a script context");case Er.URL:return t instanceof $s||t instanceof Ks?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"URL"),ir(String(t)));case Er.RESOURCE_URL:if(t instanceof $s)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+e+" (see http://g.co/ng/security#xss)")}},t.prototype.checkNotSafeValue=function(e,t){if(e instanceof Qs)throw new Error("Required a safe "+t+", got a "+e.getTypeName()+" (see http://g.co/ng/security#xss)")},t.prototype.bypassSecurityTrustHtml=function(e){return new Ys(e)},t.prototype.bypassSecurityTrustStyle=function(e){return new Js(e)},t.prototype.bypassSecurityTrustScript=function(e){return new Xs(e)},t.prototype.bypassSecurityTrustUrl=function(e){return new Ks(e)},t.prototype.bypassSecurityTrustResourceUrl=function(e){return new $s(e)},t}(Gs),Qs=function(){function e(e){this.changingThisBreaksApplicationSecurity=e}return e.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},e}(),Ys=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTypeName=function(){return"HTML"},t}(Qs),Js=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTypeName=function(){return"Style"},t}(Qs),Xs=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTypeName=function(){return"Script"},t}(Qs),Ks=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTypeName=function(){return"URL"},t}(Qs),$s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTypeName=function(){return"ResourceURL"},t}(Qs),el=un(Yn,"browser",[{provide:_t,useValue:sa},{provide:wt,useValue:function(){es.makeCurrent(),ss.init()},multi:!0},{provide:Du,useClass:os,deps:[ns]},{provide:ns,useFactory:function(){return document},deps:[]}]);function tl(){return new ht}var nl=function(){function e(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return e.withServerTransition=function(t){return{ngModule:e,providers:[{provide:yt,useValue:t.appId},{provide:us,useExisting:yt},as]}},e}();"undefined"!=typeof window&&window;var rl=function(e,t){this.id=e,this.url=t},ol=function(e){function t(t,n,r,o){void 0===r&&(r="imperative"),void 0===o&&(o=null);var i=e.call(this,t,n)||this;return i.navigationTrigger=r,i.restoredState=o,i}return o(t,e),t.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"},t}(rl),il=function(e){function t(t,n,r){var o=e.call(this,t,n)||this;return o.urlAfterRedirects=r,o}return o(t,e),t.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"},t}(rl),ul=function(e){function t(t,n,r){var o=e.call(this,t,n)||this;return o.reason=r,o}return o(t,e),t.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"},t}(rl),al=function(e){function t(t,n,r){var o=e.call(this,t,n)||this;return o.error=r,o}return o(t,e),t.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"},t}(rl),sl=function(e){function t(t,n,r,o){var i=e.call(this,t,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return o(t,e),t.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(rl),ll=function(e){function t(t,n,r,o){var i=e.call(this,t,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return o(t,e),t.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(rl),cl=function(e){function t(t,n,r,o,i){var u=e.call(this,t,n)||this;return u.urlAfterRedirects=r,u.state=o,u.shouldActivate=i,u}return o(t,e),t.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"},t}(rl),pl=function(e){function t(t,n,r,o){var i=e.call(this,t,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return o(t,e),t.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(rl),hl=function(e){function t(t,n,r,o){var i=e.call(this,t,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return o(t,e),t.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(rl),fl=function(){function e(e){this.route=e}return e.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"},e}(),dl=function(){function e(e){this.route=e}return e.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"},e}(),vl=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),gl=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),yl=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),ml=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),bl=function(){},wl="primary",_l=function(){function e(e){this.params=e||{}}return e.prototype.has=function(e){return this.params.hasOwnProperty(e)},e.prototype.get=function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t[0]:t}return null},e.prototype.getAll=function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t:[t]}return[]},Object.defineProperty(e.prototype,"keys",{get:function(){return Object.keys(this.params)},enumerable:!0,configurable:!0}),e}();function Cl(e){return new _l(e)}function Sl(e,t,n){var r=n.path.split("/");if(r.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||r.length<e.length))return null;for(var o={},i=0;i<r.length;i++){var u=r[i],a=e[i];if(u.startsWith(":"))o[u.substring(1)]=a;else if(u!==a.path)return null}return{consumed:e.slice(0,r.length),posParams:o}}var El=function(e,t){this.routes=e,this.module=t};function xl(e,t){void 0===t&&(t="");for(var n=0;n<e.length;n++){var r=e[n];Il(r,Tl(t,r))}}function Il(e,t){if(!e)throw new Error("\n Invalid configuration of route '"+t+"': Encountered undefined route.\n The reason might be an extra comma.\n\n Example:\n const routes: Routes = [\n { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n { path: 'dashboard', component: DashboardComponent },, << two commas\n { path: 'detail/:id', component: HeroDetailComponent }\n ];\n ");if(Array.isArray(e))throw new Error("Invalid configuration of route '"+t+"': Array cannot be specified");if(!e.component&&!e.children&&!e.loadChildren&&e.outlet&&e.outlet!==wl)throw new Error("Invalid configuration of route '"+t+"': a componentless route without children or loadChildren cannot have a named outlet set");if(e.redirectTo&&e.children)throw new Error("Invalid configuration of route '"+t+"': redirectTo and children cannot be used together");if(e.redirectTo&&e.loadChildren)throw new Error("Invalid configuration of route '"+t+"': redirectTo and loadChildren cannot be used together");if(e.children&&e.loadChildren)throw new Error("Invalid configuration of route '"+t+"': children and loadChildren cannot be used together");if(e.redirectTo&&e.component)throw new Error("Invalid configuration of route '"+t+"': redirectTo and component cannot be used together");if(e.path&&e.matcher)throw new Error("Invalid configuration of route '"+t+"': path and matcher cannot be used together");if(void 0===e.redirectTo&&!e.component&&!e.children&&!e.loadChildren)throw new Error("Invalid configuration of route '"+t+"'. One of the following must be provided: component, redirectTo, children or loadChildren");if(void 0===e.path&&void 0===e.matcher)throw new Error("Invalid configuration of route '"+t+"': routes must have either a path or a matcher specified");if("string"==typeof e.path&&"/"===e.path.charAt(0))throw new Error("Invalid configuration of route '"+t+"': path cannot start with a slash");if(""===e.path&&void 0!==e.redirectTo&&void 0===e.pathMatch)throw new Error("Invalid configuration of route '{path: \""+t+'", redirectTo: "'+e.redirectTo+"\"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.");if(void 0!==e.pathMatch&&"full"!==e.pathMatch&&"prefix"!==e.pathMatch)throw new Error("Invalid configuration of route '"+t+"': pathMatch can only be set to 'prefix' or 'full'");e.children&&xl(e.children,t)}function Tl(e,t){return t?e||t.path?e&&!t.path?e+"/":!e&&t.path?t.path:e+"/"+t.path:"":e}function Al(e){var t=e.children&&e.children.map(Al),n=t?i({},e,{children:t}):i({},e);return!n.component&&(t||n.loadChildren)&&n.outlet&&n.outlet!==wl&&(n.component=bl),n}function Pl(e,t){var n,r=Object.keys(e),o=Object.keys(t);if(r.length!=o.length)return!1;for(var i=0;i<r.length;i++)if(e[n=r[i]]!==t[n])return!1;return!0}function kl(e){return Array.prototype.concat.apply([],e)}function Ol(e){return e.length>0?e[e.length-1]:null}function Nl(e,t){for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)}function Ml(e){return e.pipe($(),Da(function(e){return!0===e}))}function Rl(e){return(t=e)&&"function"==typeof t.subscribe?e:dt(e)?Q(Promise.resolve(e)):da(e);var t}function jl(e,t,n){return n?function(e,t){return Pl(e,t)}(e.queryParams,t.queryParams)&&function e(t,n){if(!Ul(t.segments,n.segments))return!1;if(t.numberOfChildren!==n.numberOfChildren)return!1;for(var r in n.children){if(!t.children[r])return!1;if(!e(t.children[r],n.children[r]))return!1}return!0}(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(function(n){return t[n]===e[n]})}(e.queryParams,t.queryParams)&&function e(t,n){return function t(n,r,o){if(n.segments.length>o.length)return!!Ul(u=n.segments.slice(0,o.length),o)&&!r.hasChildren();if(n.segments.length===o.length){if(!Ul(n.segments,o))return!1;for(var i in r.children){if(!n.children[i])return!1;if(!e(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!!Ul(n.segments,u)&&!!n.children[wl]&&t(n.children[wl],r,a)}(t,n,n.segments)}(e.root,t.root)}var Dl=function(){function e(e,t,n){this.root=e,this.queryParams=t,this.fragment=n}return Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=Cl(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return Bl.serialize(this)},e}(),Ll=function(){function e(e,t){var n=this;this.segments=e,this.children=t,this.parent=null,Nl(t,function(e,t){return e.parent=n})}return e.prototype.hasChildren=function(){return this.numberOfChildren>0},Object.defineProperty(e.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return Zl(this)},e}(),Hl=function(){function e(e,t){this.path=e,this.parameters=t}return Object.defineProperty(e.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=Cl(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return Jl(this)},e}();function Ul(e,t){return e.length===t.length&&e.every(function(e,n){return e.path===t[n].path})}function Vl(e,t){var n=[];return Nl(e.children,function(e,r){r===wl&&(n=n.concat(t(e,r)))}),Nl(e.children,function(e,r){r!==wl&&(n=n.concat(t(e,r)))}),n}var Fl=function(){},zl=function(){function e(){}return e.prototype.parse=function(e){var t=new tc(e);return new Dl(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())},e.prototype.serialize=function(e){var t,n;return"/"+function e(t,n){if(!t.hasChildren())return Zl(t);if(n){var r=t.children[wl]?e(t.children[wl],!1):"",o=[];return Nl(t.children,function(t,n){n!==wl&&o.push(n+":"+e(t,!1))}),o.length>0?r+"("+o.join("//")+")":r}var i=Vl(t,function(n,r){return r===wl?[e(t.children[wl],!1)]:[r+":"+e(n,!1)]});return Zl(t)+"/("+i.join("//")+")"}(e.root,!0)+(t=e.queryParams,(n=Object.keys(t).map(function(e){var n=t[e];return Array.isArray(n)?n.map(function(t){return Gl(e)+"="+Gl(t)}).join("&"):Gl(e)+"="+Gl(n)})).length?"?"+n.join("&"):"")+("string"==typeof e.fragment?"#"+encodeURI(e.fragment):"")},e}(),Bl=new zl;function Zl(e){return e.segments.map(function(e){return Jl(e)}).join("/")}function Wl(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Gl(e){return Wl(e).replace(/%3B/gi,";")}function ql(e){return Wl(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ql(e){return decodeURIComponent(e)}function Yl(e){return Ql(e.replace(/\+/g,"%20"))}function Jl(e){return""+ql(e.path)+(t=e.parameters,Object.keys(t).map(function(e){return";"+ql(e)+"="+ql(t[e])}).join(""));var t}var Xl=/^[^\/()?;=#]+/;function Kl(e){var t=e.match(Xl);return t?t[0]:""}var $l=/^[^=?&#]+/,ec=/^[^?&#]+/,tc=function(){function e(e){this.url=e,this.remaining=e}return e.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ll([],{}):new Ll([],this.parseChildren())},e.prototype.parseQueryParams=function(){var e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e},e.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null},e.prototype.parseChildren=function(){if(""===this.remaining)return{};this.consumeOptional("/");var e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());var t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n[wl]=new Ll(e,t)),n},e.prototype.parseSegment=function(){var e=Kl(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(e),new Hl(Ql(e),this.parseMatrixParams())},e.prototype.parseMatrixParams=function(){for(var e={};this.consumeOptional(";");)this.parseParam(e);return e},e.prototype.parseParam=function(e){var t=Kl(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var r=Kl(this.remaining);r&&this.capture(n=r)}e[Ql(t)]=Ql(n)}},e.prototype.parseQueryParam=function(e){var t,n=(t=this.remaining.match($l))?t[0]:"";if(n){this.capture(n);var r="";if(this.consumeOptional("=")){var o=function(e){var t=e.match(ec);return t?t[0]:""}(this.remaining);o&&this.capture(r=o)}var i=Yl(n),u=Yl(r);if(e.hasOwnProperty(i)){var a=e[i];Array.isArray(a)||(e[i]=a=[a]),a.push(u)}else e[i]=u}},e.prototype.parseParens=function(e){var t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=Kl(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(":")):e&&(o=wl);var i=this.parseChildren();t[o]=1===Object.keys(i).length?i[wl]:new Ll([],i),this.consumeOptional("//")}return t},e.prototype.peekStartsWith=function(e){return this.remaining.startsWith(e)},e.prototype.consumeOptional=function(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)},e.prototype.capture=function(e){if(!this.consumeOptional(e))throw new Error('Expected "'+e+'".')},e}(),nc=function(e){this.segmentGroup=e||null},rc=function(e){this.urlTree=e};function oc(e){return new k(function(t){return t.error(new nc(e))})}function ic(e){return new k(function(t){return t.error(new rc(e))})}function uc(e){return new k(function(t){return t.error(new Error("Only absolute redirects can have named outlets. redirectTo: '"+e+"'"))})}var ac=function(){function e(e,t,n,r,o){this.configLoader=t,this.urlSerializer=n,this.urlTree=r,this.config=o,this.allowRedirects=!0,this.ngModule=e.get(Dt)}return e.prototype.apply=function(){var e=this;return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,wl).pipe(Z(function(t){return e.createUrlTree(t,e.urlTree.queryParams,e.urlTree.fragment)})).pipe(Ma(function(t){if(t instanceof rc)return e.allowRedirects=!1,e.match(t.urlTree);if(t instanceof nc)throw e.noMatchError(t);throw t}))},e.prototype.match=function(e){var t=this;return this.expandSegmentGroup(this.ngModule,this.config,e.root,wl).pipe(Z(function(n){return t.createUrlTree(n,e.queryParams,e.fragment)})).pipe(Ma(function(e){if(e instanceof nc)throw t.noMatchError(e);throw e}))},e.prototype.noMatchError=function(e){return new Error("Cannot match any routes. URL Segment: '"+e.segmentGroup+"'")},e.prototype.createUrlTree=function(e,t,n){var r,o=e.segments.length>0?new Ll([],((r={})[wl]=e,r)):e;return new Dl(o,t,n)},e.prototype.expandSegmentGroup=function(e,t,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(Z(function(e){return new Ll([],e)})):this.expandSegment(e,n,t,n.segments,r,!0)},e.prototype.expandChildren=function(e,t,n){var r=this;return function(n,o){if(0===Object.keys(n).length)return da({});var i=[],u=[],a={};return Nl(n,function(n,o){var s,l,c=(s=o,l=n,r.expandSegmentGroup(e,t,l,s)).pipe(Z(function(e){return a[o]=e}));o===wl?i.push(c):u.push(c)}),da.apply(null,i.concat(u)).pipe(Ba(),Na(),Z(function(){return a}))}(n.children)},e.prototype.expandSegment=function(e,t,n,r,o,i){var u=this;return da.apply(void 0,s(n)).pipe(Z(function(a){return u.expandSegmentAgainstRoute(e,t,n,a,r,o,i).pipe(Ma(function(e){if(e instanceof nc)return da(null);throw e}))}),Ba(),za(function(e){return!!e}),Ma(function(e,n){if(e instanceof va||"EmptyError"===e.name){if(u.noLeftoversInUrl(t,r,o))return da(new Ll([],{}));throw new nc(t)}throw e}))},e.prototype.noLeftoversInUrl=function(e,t,n){return 0===t.length&&!e.children[n]},e.prototype.expandSegmentAgainstRoute=function(e,t,n,r,o,i,u){return pc(r)!==i?oc(t):void 0===r.redirectTo?this.matchSegmentAgainstRoute(e,t,r,o):u&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,r,o,i):oc(t)},e.prototype.expandSegmentAgainstRouteUsingRedirect=function(e,t,n,r,o,i){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,r,i):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,r,o,i)},e.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(e,t,n,r){var o=this,i=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?ic(i):this.lineralizeSegments(n,i).pipe(Y(function(n){var i=new Ll(n,{});return o.expandSegment(e,i,t,n,r,!1)}))},e.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(e,t,n,r,o,i){var u=this,a=sc(t,r,o),s=a.consumedSegments,l=a.lastChild,c=a.positionalParamSegments;if(!a.matched)return oc(t);var p=this.applyRedirectCommands(s,r.redirectTo,c);return r.redirectTo.startsWith("/")?ic(p):this.lineralizeSegments(r,p).pipe(Y(function(r){return u.expandSegment(e,t,n,r.concat(o.slice(l)),i,!1)}))},e.prototype.matchSegmentAgainstRoute=function(e,t,n,r){var o=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(e.injector,n).pipe(Z(function(e){return n._loadedConfig=e,new Ll(r,{})})):da(new Ll(r,{}));var a=sc(t,n,r),s=a.consumedSegments,l=a.lastChild;if(!a.matched)return oc(t);var c=r.slice(l);return this.getChildConfig(e,n).pipe(Y(function(e){var n=e.module,r=e.routes,a=function(e,t,n,r){return n.length>0&&function(e,t,n){return r.some(function(n){return cc(e,t,n)&&pc(n)!==wl})}(e,n)?{segmentGroup:lc(new Ll(t,function(e,t){var n,r,o={};o[wl]=t;try{for(var i=u(e),a=i.next();!a.done;a=i.next()){var s=a.value;""===s.path&&pc(s)!==wl&&(o[pc(s)]=new Ll([],{}))}}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return o}(r,new Ll(n,e.children)))),slicedSegments:[]}:0===n.length&&function(e,t,n){return r.some(function(n){return cc(e,t,n)})}(e,n)?{segmentGroup:lc(new Ll(e.segments,function(e,t,n,r){var o,a,s={};try{for(var l=u(n),c=l.next();!c.done;c=l.next()){var p=c.value;cc(e,t,p)&&!r[pc(p)]&&(s[pc(p)]=new Ll([],{}))}}catch(e){o={error:e}}finally{try{c&&!c.done&&(a=l.return)&&a.call(l)}finally{if(o)throw o.error}}return i({},r,s)}(e,n,r,e.children))),slicedSegments:n}:{segmentGroup:e,slicedSegments:n}}(t,s,c,r),l=a.segmentGroup,p=a.slicedSegments;return 0===p.length&&l.hasChildren()?o.expandChildren(n,r,l).pipe(Z(function(e){return new Ll(s,e)})):0===r.length&&0===p.length?da(new Ll(s,{})):o.expandSegment(n,l,r,p,wl,!0).pipe(Z(function(e){return new Ll(s.concat(e.segments),e.children)}))}))},e.prototype.getChildConfig=function(e,t){var n=this;return t.children?da(new El(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?da(t._loadedConfig):function(e,t){var n=t.canLoad;return n&&0!==n.length?Ml(Q(n).pipe(Z(function(n){var r=e.get(n);return Rl(r.canLoad?r.canLoad(t):r(t))}))):da(!0)}(e.injector,t).pipe(Y(function(r){return r?n.configLoader.load(e.injector,t).pipe(Z(function(e){return t._loadedConfig=e,e})):function(e){return new k(function(t){return t.error(((n=Error("NavigationCancelingError: Cannot load children because the guard of the route \"path: '"+e.path+"'\" returned false")).ngNavigationCancelingError=!0,n));var n})}(t)})):da(new El([],e))},e.prototype.lineralizeSegments=function(e,t){for(var n=[],r=t.root;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return da(n);if(r.numberOfChildren>1||!r.children[wl])return uc(e.redirectTo);r=r.children[wl]}},e.prototype.applyRedirectCommands=function(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)},e.prototype.applyRedirectCreatreUrlTree=function(e,t,n,r){var o=this.createSegmentGroup(e,t.root,n,r);return new Dl(o,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)},e.prototype.createQueryParams=function(e,t){var n={};return Nl(e,function(e,r){if("string"==typeof e&&e.startsWith(":")){var o=e.substring(1);n[r]=t[o]}else n[r]=e}),n},e.prototype.createSegmentGroup=function(e,t,n,r){var o=this,i=this.createSegments(e,t.segments,n,r),u={};return Nl(t.children,function(t,i){u[i]=o.createSegmentGroup(e,t,n,r)}),new Ll(i,u)},e.prototype.createSegments=function(e,t,n,r){var o=this;return t.map(function(t){return t.path.startsWith(":")?o.findPosParam(e,t,r):o.findOrReturn(t,n)})},e.prototype.findPosParam=function(e,t,n){var r=n[t.path.substring(1)];if(!r)throw new Error("Cannot redirect to '"+e+"'. Cannot find '"+t.path+"'.");return r},e.prototype.findOrReturn=function(e,t){var n,r,o=0;try{for(var i=u(t),a=i.next();!a.done;a=i.next()){var s=a.value;if(s.path===e.path)return t.splice(o),s;o++}}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return e},e}();function sc(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var r=(t.matcher||Sl)(n,e,t);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function lc(e){if(1===e.numberOfChildren&&e.children[wl]){var t=e.children[wl];return new Ll(e.segments.concat(t.segments),t.children)}return e}function cc(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function pc(e){return e.outlet||wl}var hc=function(){function e(e){this._root=e}return Object.defineProperty(e.prototype,"root",{get:function(){return this._root.value},enumerable:!0,configurable:!0}),e.prototype.parent=function(e){var t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null},e.prototype.children=function(e){var t=fc(e,this._root);return t?t.children.map(function(e){return e.value}):[]},e.prototype.firstChild=function(e){var t=fc(e,this._root);return t&&t.children.length>0?t.children[0].value:null},e.prototype.siblings=function(e){var t=dc(e,this._root);return t.length<2?[]:t[t.length-2].children.map(function(e){return e.value}).filter(function(t){return t!==e})},e.prototype.pathFromRoot=function(e){return dc(e,this._root).map(function(e){return e.value})},e}();function fc(e,t){if(e===t.value)return t;try{for(var n=u(t.children),r=n.next();!r.done;r=n.next()){var o=fc(e,r.value);if(o)return o}}catch(e){i={error:e}}finally{try{r&&!r.done&&(a=n.return)&&a.call(n)}finally{if(i)throw i.error}}return null;var i,a}function dc(e,t){if(e===t.value)return[t];try{for(var n=u(t.children),r=n.next();!r.done;r=n.next()){var o=dc(e,r.value);if(o.length)return o.unshift(t),o}}catch(e){i={error:e}}finally{try{r&&!r.done&&(a=n.return)&&a.call(n)}finally{if(i)throw i.error}}return[];var i,a}var vc=function(){function e(e,t){this.value=e,this.children=t}return e.prototype.toString=function(){return"TreeNode("+this.value+")"},e}();function gc(e){var t={};return e&&e.children.forEach(function(e){return t[e.value.outlet]=e}),t}var yc=function(e){function t(t,n){var r=e.call(this,t)||this;return r.snapshot=n,Sc(r,t),r}return o(t,e),t.prototype.toString=function(){return this.snapshot.toString()},t}(hc);function mc(e,t){var n=function(e,t){var n=new _c([],{},{},"",{},wl,t,null,e.root,-1,{});return new Cc("",new vc(n,[]))}(e,t),r=new pa([new Hl("",{})]),o=new pa({}),i=new pa({}),u=new pa({}),a=new pa(""),s=new bc(r,o,u,a,i,wl,t,n.root);return s.snapshot=n.root,new yc(new vc(s,[]),n)}var bc=function(){function e(e,t,n,r,o,i,u,a){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=i,this.component=u,this._futureSnapshot=a}return Object.defineProperty(e.prototype,"routeConfig",{get:function(){return this._futureSnapshot.routeConfig},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=this.params.pipe(Z(function(e){return Cl(e)}))),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Z(function(e){return Cl(e)}))),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},e}();function wc(e,t){void 0===t&&(t="emptyOnly");var n=e.pathFromRoot,r=0;if("always"!==t)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(e){return e.reduce(function(e,t){return{params:i({},e.params,t.params),data:i({},e.data,t.data),resolve:i({},e.resolve,t._resolvedData)}},{params:{},data:{},resolve:{}})}(n.slice(r))}var _c=function(){function e(e,t,n,r,o,i,u,a,s,l,c){this.url=e,this.params=t,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(e.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=Cl(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=Cl(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return"Route(url:'"+this.url.map(function(e){return e.toString()}).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"},e}(),Cc=function(e){function t(t,n){var r=e.call(this,n)||this;return r.url=t,Sc(r,n),r}return o(t,e),t.prototype.toString=function(){return Ec(this._root)},t}(hc);function Sc(e,t){t.value._routerState=e,t.children.forEach(function(t){return Sc(e,t)})}function Ec(e){var t=e.children.length>0?" { "+e.children.map(Ec).join(", ")+" } ":"";return""+e.value+t}function xc(e){if(e.snapshot){var t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Pl(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),Pl(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;++n)if(!Pl(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),Pl(t.data,n.data)||e.data.next(n.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function Ic(e,t){var n,r;return Pl(e.params,t.params)&&Ul(n=e.url,r=t.url)&&n.every(function(e,t){return Pl(e.parameters,r[t].parameters)})&&!(!e.parent!=!t.parent)&&(!e.parent||Ic(e.parent,t.parent))}function Tc(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function Ac(e,t,n,r,o){var i={};return r&&Nl(r,function(e,t){i[t]=Array.isArray(e)?e.map(function(e){return""+e}):""+e}),new Dl(n.root===e?t:function e(t,n,r){var o={};return Nl(t.children,function(t,i){o[i]=t===n?r:e(t,n,r)}),new Ll(t.segments,o)}(n.root,e,t),i,o)}var Pc=function(){function e(e,t,n){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=n,e&&n.length>0&&Tc(n[0]))throw new Error("Root segment cannot have matrix parameters");var r=n.find(function(e){return"object"==typeof e&&null!=e&&e.outlets});if(r&&r!==Ol(n))throw new Error("{outlets:{}} has to be the last command")}return e.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},e}(),kc=function(e,t,n){this.segmentGroup=e,this.processChildren=t,this.index=n};function Oc(e){return"object"==typeof e&&null!=e&&e.outlets?e.outlets[wl]:""+e}function Nc(e,t,n){if(e||(e=new Ll([],{})),0===e.segments.length&&e.hasChildren())return Mc(e,t,n);var r=function(e,t,n){for(var r=0,o=t,i={match:!1,pathIndex:0,commandIndex:0};o<e.segments.length;){if(r>=n.length)return i;var u=e.segments[o],a=Oc(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(!Lc(a,s,u))return i;r+=2}else{if(!Lc(a,{},u))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){var i=new Ll(e.segments.slice(0,r.pathIndex),{});return i.children[wl]=new Ll(e.segments.slice(r.pathIndex),e.children),Mc(i,0,o)}return r.match&&0===o.length?new Ll(e.segments,{}):r.match&&!e.hasChildren()?Rc(e,t,n):r.match?Mc(e,0,o):Rc(e,t,n)}function Mc(e,t,n){if(0===n.length)return new Ll(e.segments,{});var r=function(e){return"object"!=typeof e[0]?((t={})[wl]=e,t):void 0===e[0].outlets?((n={})[wl]=e,n):e[0].outlets;var t,n}(n),o={};return Nl(r,function(n,r){null!==n&&(o[r]=Nc(e.children[r],t,n))}),Nl(e.children,function(e,t){void 0===r[t]&&(o[t]=e)}),new Ll(e.segments,o)}function Rc(e,t,n){for(var r=e.segments.slice(0,t),o=0;o<n.length;){if("object"==typeof n[o]&&void 0!==n[o].outlets){var i=jc(n[o].outlets);return new Ll(r,i)}if(0===o&&Tc(n[0]))r.push(new Hl(e.segments[t].path,n[0])),o++;else{var u=Oc(n[o]),a=o<n.length-1?n[o+1]:null;u&&a&&Tc(a)?(r.push(new Hl(u,Dc(a))),o+=2):(r.push(new Hl(u,{})),o++)}}return new Ll(r,{})}function jc(e){var t={};return Nl(e,function(e,n){null!==e&&(t[n]=Rc(new Ll([],{}),0,e))}),t}function Dc(e){var t={};return Nl(e,function(e,n){return t[n]=""+e}),t}function Lc(e,t,n){return e==n.path&&Pl(t,n.parameters)}var Hc=function(e){this.path=e,this.route=this.path[this.path.length-1]},Uc=function(e,t){this.component=e,this.route=t},Vc=function(){function e(e,t,n,r){this.future=e,this.curr=t,this.moduleInjector=n,this.forwardEvent=r,this.canActivateChecks=[],this.canDeactivateChecks=[]}return e.prototype.initialize=function(e){var t=this.future._root;this.setupChildRouteGuards(t,this.curr?this.curr._root:null,e,[t.value])},e.prototype.checkGuards=function(){var e=this;return this.isDeactivating()||this.isActivating()?this.runCanDeactivateChecks().pipe(Y(function(t){return t?e.runCanActivateChecks():da(!1)})):da(!0)},e.prototype.resolveData=function(e){var t=this;return this.isActivating()?Q(this.canActivateChecks).pipe(ga(function(n){return t.runResolve(n.route,e)}),function(e,t){return arguments.length>=2?function(n){return A(Za(e,t),_a(1),Pa(t))(n)}:function(t){return A(Za(function(t,n,r){return e(t,n,r+1)}),_a(1))(t)}}(function(e,t){return e})):da(null)},e.prototype.isDeactivating=function(){return 0!==this.canDeactivateChecks.length},e.prototype.isActivating=function(){return 0!==this.canActivateChecks.length},e.prototype.setupChildRouteGuards=function(e,t,n,r){var o=this,i=gc(t);e.children.forEach(function(e){o.setupRouteGuards(e,i[e.value.outlet],n,r.concat([e.value])),delete i[e.value.outlet]}),Nl(i,function(e,t){return o.deactivateRouteAndItsChildren(e,n.getContext(t))})},e.prototype.setupRouteGuards=function(e,t,n,r){var o=e.value,i=t?t.value:null,u=n?n.getContext(e.value.outlet):null;if(i&&o.routeConfig===i.routeConfig){var a=this.shouldRunGuardsAndResolvers(i,o,o.routeConfig.runGuardsAndResolvers);a?this.canActivateChecks.push(new Hc(r)):(o.data=i.data,o._resolvedData=i._resolvedData),this.setupChildRouteGuards(e,t,o.component?u?u.children:null:n,r),a&&this.canDeactivateChecks.push(new Uc(u.outlet.component,i))}else i&&this.deactivateRouteAndItsChildren(t,u),this.canActivateChecks.push(new Hc(r)),this.setupChildRouteGuards(e,null,o.component?u?u.children:null:n,r)},e.prototype.shouldRunGuardsAndResolvers=function(e,t,n){switch(n){case"always":return!0;case"paramsOrQueryParamsChange":return!Ic(e,t)||!Pl(e.queryParams,t.queryParams);case"paramsChange":default:return!Ic(e,t)}},e.prototype.deactivateRouteAndItsChildren=function(e,t){var n=this,r=gc(e),o=e.value;Nl(r,function(e,r){n.deactivateRouteAndItsChildren(e,o.component?t?t.children.getContext(r):null:t)}),this.canDeactivateChecks.push(new Uc(o.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,o))},e.prototype.runCanDeactivateChecks=function(){var e=this;return Q(this.canDeactivateChecks).pipe(Y(function(t){return e.runCanDeactivate(t.component,t.route)}),Da(function(e){return!0===e}))},e.prototype.runCanActivateChecks=function(){var e=this;return Q(this.canActivateChecks).pipe(ga(function(t){return Ml(Q([e.fireChildActivationStart(t.route.parent),e.fireActivationStart(t.route),e.runCanActivateChild(t.path),e.runCanActivate(t.route)]))}),Da(function(e){return!0===e}))},e.prototype.fireActivationStart=function(e){return null!==e&&this.forwardEvent&&this.forwardEvent(new yl(e)),da(!0)},e.prototype.fireChildActivationStart=function(e){return null!==e&&this.forwardEvent&&this.forwardEvent(new vl(e)),da(!0)},e.prototype.runCanActivate=function(e){var t=this,n=e.routeConfig?e.routeConfig.canActivate:null;return n&&0!==n.length?Ml(Q(n).pipe(Z(function(n){var r=t.getToken(n,e);return Rl(r.canActivate?r.canActivate(e,t.future):r(e,t.future)).pipe(za())}))):da(!0)},e.prototype.runCanActivateChild=function(e){var t=this,n=e[e.length-1];return Ml(Q(e.slice(0,e.length-1).reverse().map(function(e){return t.extractCanActivateChild(e)}).filter(function(e){return null!==e})).pipe(Z(function(e){return Ml(Q(e.guards).pipe(Z(function(r){var o=t.getToken(r,e.node);return Rl(o.canActivateChild?o.canActivateChild(n,t.future):o(n,t.future)).pipe(za())})))})))},e.prototype.extractCanActivateChild=function(e){var t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null},e.prototype.runCanDeactivate=function(e,t){var n=this,r=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return r&&0!==r.length?Q(r).pipe(Y(function(r){var o=n.getToken(r,t);return Rl(o.canDeactivate?o.canDeactivate(e,t,n.curr,n.future):o(e,t,n.curr,n.future)).pipe(za())})).pipe(Da(function(e){return!0===e})):da(!0)},e.prototype.runResolve=function(e,t){return this.resolveNode(e._resolve,e).pipe(Z(function(n){return e._resolvedData=n,e.data=i({},e.data,wc(e,t).resolve),null}))},e.prototype.resolveNode=function(e,t){var n=this,r=Object.keys(e);if(0===r.length)return da({});if(1===r.length){var o=r[0];return this.getResolver(e[o],t).pipe(Z(function(e){return(t={})[o]=e,t;var t}))}var i={};return Q(r).pipe(Y(function(r){return n.getResolver(e[r],t).pipe(Z(function(e){return i[r]=e,e}))})).pipe(Na(),Z(function(){return i}))},e.prototype.getResolver=function(e,t){var n=this.getToken(e,t);return Rl(n.resolve?n.resolve(t,this.future):n(t,this.future))},e.prototype.getToken=function(e,t){var n=function(e){if(!e)return null;for(var t=e.parent;t;t=t.parent){var n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(t);return(n?n.module.injector:this.moduleInjector).get(e)},e}(),Fc=function(){},zc=function(){function e(e,t,n,r,o){this.rootComponentType=e,this.config=t,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=o}return e.prototype.recognize=function(){try{var e=Wc(this.urlTree.root,[],[],this.config).segmentGroup,t=this.processSegmentGroup(this.config,e,wl),n=new _c([],Object.freeze({}),Object.freeze(i({},this.urlTree.queryParams)),this.urlTree.fragment,{},wl,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new vc(n,t),o=new Cc(this.url,r);return this.inheritParamsAndData(o._root),da(o)}catch(e){return new k(function(t){return t.error(e)})}},e.prototype.inheritParamsAndData=function(e){var t=this,n=e.value,r=wc(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),e.children.forEach(function(e){return t.inheritParamsAndData(e)})},e.prototype.processSegmentGroup=function(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)},e.prototype.processChildren=function(e,t){var n,r=this,o=Vl(t,function(t,n){return r.processSegmentGroup(e,t,n)});return n={},o.forEach(function(e){var t=n[e.value.outlet];if(t){var r=t.url.map(function(e){return e.toString()}).join("/"),o=e.value.url.map(function(e){return e.toString()}).join("/");throw new Error("Two segments cannot have the same outlet name: '"+r+"' and '"+o+"'.")}n[e.value.outlet]=e.value}),o.sort(function(e,t){return e.value.outlet===wl?-1:t.value.outlet===wl?1:e.value.outlet.localeCompare(t.value.outlet)}),o},e.prototype.processSegment=function(e,t,n,r){try{for(var o=u(e),i=o.next();!i.done;i=o.next()){var a=i.value;try{return this.processSegmentAgainstRoute(a,t,n,r)}catch(e){if(!(e instanceof Fc))throw e}}}catch(e){s={error:e}}finally{try{i&&!i.done&&(l=o.return)&&l.call(o)}finally{if(s)throw s.error}}if(this.noLeftoversInUrl(t,n,r))return[];throw new Fc;var s,l},e.prototype.noLeftoversInUrl=function(e,t,n){return 0===t.length&&!e.children[n]},e.prototype.processSegmentAgainstRoute=function(e,t,n,r){if(e.redirectTo)throw new Fc;if((e.outlet||wl)!==r)throw new Fc;var o,u=[],a=[];if("**"===e.path){var s=n.length>0?Ol(n).parameters:{};o=new _c(n,s,Object.freeze(i({},this.urlTree.queryParams)),this.urlTree.fragment,Qc(e),r,e.component,e,Bc(t),Zc(t)+n.length,Yc(e))}else{var l=function(e,t,n){if(""===t.path){if("full"===t.pathMatch&&(e.hasChildren()||n.length>0))throw new Fc;return{consumedSegments:[],lastChild:0,parameters:{}}}var r=(t.matcher||Sl)(n,e,t);if(!r)throw new Fc;var o={};Nl(r.posParams,function(e,t){o[t]=e.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}}(t,e,n);u=l.consumedSegments,a=n.slice(l.lastChild),o=new _c(u,l.parameters,Object.freeze(i({},this.urlTree.queryParams)),this.urlTree.fragment,Qc(e),r,e.component,e,Bc(t),Zc(t)+u.length,Yc(e))}var c=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),p=Wc(t,u,a,c),h=p.segmentGroup,f=p.slicedSegments;if(0===f.length&&h.hasChildren()){var d=this.processChildren(c,h);return[new vc(o,d)]}if(0===c.length&&0===f.length)return[new vc(o,[])];var v=this.processSegment(c,h,f,wl);return[new vc(o,v)]},e}();function Bc(e){for(var t=e;t._sourceSegment;)t=t._sourceSegment;return t}function Zc(e){for(var t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;t._sourceSegment;)n+=(t=t._sourceSegment)._segmentIndexShift?t._segmentIndexShift:0;return n-1}function Wc(e,t,n,r){if(n.length>0&&function(e,t,n){return r.some(function(n){return Gc(e,t,n)&&qc(n)!==wl})}(e,n)){var o=new Ll(t,function(e,t,n,r){var o,i,a={};a[wl]=r,r._sourceSegment=e,r._segmentIndexShift=t.length;try{for(var s=u(n),l=s.next();!l.done;l=s.next()){var c=l.value;if(""===c.path&&qc(c)!==wl){var p=new Ll([],{});p._sourceSegment=e,p._segmentIndexShift=t.length,a[qc(c)]=p}}}catch(e){o={error:e}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(o)throw o.error}}return a}(e,t,r,new Ll(n,e.children)));return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return r.some(function(n){return Gc(e,t,n)})}(e,n)){var a=new Ll(e.segments,function(e,t,n,r){var o,a,s={};try{for(var l=u(n),c=l.next();!c.done;c=l.next()){var p=c.value;if(Gc(e,t,p)&&!r[qc(p)]){var h=new Ll([],{});h._sourceSegment=e,h._segmentIndexShift=e.segments.length,s[qc(p)]=h}}}catch(e){o={error:e}}finally{try{c&&!c.done&&(a=l.return)&&a.call(l)}finally{if(o)throw o.error}}return i({},r,s)}(e,n,r,e.children));return a._sourceSegment=e,a._segmentIndexShift=t.length,{segmentGroup:a,slicedSegments:n}}var s=new Ll(e.segments,e.children);return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}function Gc(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function qc(e){return e.outlet||wl}function Qc(e){return e.data||{}}function Yc(e){return e.resolve||{}}var Jc=function(){},Xc=function(){function e(){}return e.prototype.shouldDetach=function(e){return!1},e.prototype.store=function(e,t){},e.prototype.shouldAttach=function(e){return!1},e.prototype.retrieve=function(e){return null},e.prototype.shouldReuseRoute=function(e,t){return e.routeConfig===t.routeConfig},e}(),Kc=new ge("ROUTES"),$c=function(){function e(e,t,n,r){this.loader=e,this.compiler=t,this.onLoadStartListener=n,this.onLoadEndListener=r}return e.prototype.load=function(e,t){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(t),this.loadModuleFactory(t.loadChildren).pipe(Z(function(r){n.onLoadEndListener&&n.onLoadEndListener(t);var o=r.create(e);return new El(kl(o.injector.get(Kc)).map(Al),o)}))},e.prototype.loadModuleFactory=function(e){var t=this;return"string"==typeof e?Q(this.loader.load(e)):Rl(e()).pipe(Y(function(e){return e instanceof Lt?da(e):Q(t.compiler.compileModuleAsync(e))}))},e}(),ep=function(){},tp=function(){function e(){}return e.prototype.shouldProcessUrl=function(e){return!0},e.prototype.extract=function(e){return e},e.prototype.merge=function(e,t){return e},e}();function np(e){throw e}function rp(e){return da(null)}var op=function(){function e(e,t,n,r,o,i,u,a){var s=this;this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=n,this.location=r,this.config=a,this.navigations=new pa(null),this.navigationId=0,this.events=new oe,this.errorHandler=np,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:rp,afterPreactivation:rp},this.urlHandlingStrategy=new tp,this.routeReuseStrategy=new Xc,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.ngModule=o.get(Dt),this.resetConfig(a),this.currentUrlTree=new Dl(new Ll([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.configLoader=new $c(i,u,function(e){return s.triggerEvent(new fl(e))},function(e){return s.triggerEvent(new dl(e))}),this.routerState=mc(this.currentUrlTree,this.rootComponentType),this.processNavigations()}return e.prototype.resetRootComponentType=function(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType},e.prototype.initialNavigation=function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})},e.prototype.setUpLocationChangeListener=function(){var e=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(t){var n=e.urlSerializer.parse(t.url),r="popstate"===t.type?"popstate":"hashchange",o=t.state&&t.state.navigationId?{navigationId:t.state.navigationId}:null;setTimeout(function(){e.scheduleNavigation(n,r,o,{replaceUrl:!0})},0)}))},Object.defineProperty(e.prototype,"url",{get:function(){return this.serializeUrl(this.currentUrlTree)},enumerable:!0,configurable:!0}),e.prototype.triggerEvent=function(e){this.events.next(e)},e.prototype.resetConfig=function(e){xl(e),this.config=e.map(Al),this.navigated=!1,this.lastSuccessfulId=-1},e.prototype.ngOnDestroy=function(){this.dispose()},e.prototype.dispose=function(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)},e.prototype.createUrlTree=function(e,t){void 0===t&&(t={});var n=t.relativeTo,r=t.queryParams,o=t.fragment,u=t.preserveQueryParams,a=t.queryParamsHandling,l=t.preserveFragment;rn()&&u&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var c=n||this.routerState.root,p=l?this.currentUrlTree.fragment:o,h=null;if(a)switch(a){case"merge":h=i({},this.currentUrlTree.queryParams,r);break;case"preserve":h=this.currentUrlTree.queryParams;break;default:h=r||null}else h=u?this.currentUrlTree.queryParams:r||null;return null!==h&&(h=this.removeEmptyProps(h)),function(e,t,n,r,o){if(0===n.length)return Ac(t.root,t.root,t,r,o);var i=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new Pc(!0,0,e);var t=0,n=!1,r=e.reduce(function(e,r,o){if("object"==typeof r&&null!=r){if(r.outlets){var i={};return Nl(r.outlets,function(e,t){i[t]="string"==typeof e?e.split("/"):e}),s(e,[{outlets:i}])}if(r.segmentPath)return s(e,[r.segmentPath])}return"string"!=typeof r?s(e,[r]):0===o?(r.split("/").forEach(function(r,o){0==o&&"."===r||(0==o&&""===r?n=!0:".."===r?t++:""!=r&&e.push(r))}),e):s(e,[r])},[]);return new Pc(n,t,r)}(n);if(i.toRoot())return Ac(t.root,new Ll([],{}),t,r,o);var u=function(e,n,r){if(e.isAbsolute)return new kc(t.root,!0,0);if(-1===r.snapshot._lastPathIndex)return new kc(r.snapshot._urlSegment,!0,0);var o=Tc(e.commands[0])?0:1;return function(t,n,i){for(var u=r.snapshot._urlSegment,a=r.snapshot._lastPathIndex+o,s=e.numberOfDoubleDots;s>a;){if(s-=a,!(u=u.parent))throw new Error("Invalid number of '../'");a=u.segments.length}return new kc(u,!1,a-s)}()}(i,0,e),a=u.processChildren?Mc(u.segmentGroup,u.index,i.commands):Nc(u.segmentGroup,u.index,i.commands);return Ac(u.segmentGroup,a,t,r,o)}(c,this.currentUrlTree,e,h,p)},e.prototype.navigateByUrl=function(e,t){void 0===t&&(t={skipLocationChange:!1});var n=e instanceof Dl?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,t)},e.prototype.navigate=function(e,t){return void 0===t&&(t={skipLocationChange:!1}),function(e){for(var t=0;t<e.length;t++){var n=e[t];if(null==n)throw new Error("The requested path contains "+n+" segment at index "+t)}}(e),this.navigateByUrl(this.createUrlTree(e,t),t)},e.prototype.serializeUrl=function(e){return this.urlSerializer.serialize(e)},e.prototype.parseUrl=function(e){return this.urlSerializer.parse(e)},e.prototype.isActive=function(e,t){if(e instanceof Dl)return jl(this.currentUrlTree,e,t);var n=this.urlSerializer.parse(e);return jl(this.currentUrlTree,n,t)},e.prototype.removeEmptyProps=function(e){return Object.keys(e).reduce(function(t,n){var r=e[n];return null!==r&&void 0!==r&&(t[n]=r),t},{})},e.prototype.processNavigations=function(){var e=this;this.navigations.pipe(ga(function(t){return t?(e.executeScheduledNavigation(t),t.promise.catch(function(){})):da(null)})).subscribe(function(){})},e.prototype.scheduleNavigation=function(e,t,n,r){var o=this.navigations.value;if(o&&"imperative"!==t&&"imperative"===o.source&&o.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(o&&"hashchange"==t&&"popstate"===o.source&&o.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(o&&"popstate"==t&&"hashchange"===o.source&&o.rawUrl.toString()===e.toString())return Promise.resolve(!0);var i=null,u=null,a=new Promise(function(e,t){i=e,u=t}),s=++this.navigationId;return this.navigations.next({id:s,source:t,state:n,rawUrl:e,extras:r,resolve:i,reject:u,promise:a}),a.catch(function(e){return Promise.reject(e)})},e.prototype.executeScheduledNavigation=function(e){var t=this,n=e.id,r=e.rawUrl,o=e.extras,i=e.resolve,u=e.reject,a=e.source,s=e.state,l=this.urlHandlingStrategy.extract(r),c=!this.navigated||l.toString()!==this.currentUrlTree.toString();("reload"===this.onSameUrlNavigation||c)&&this.urlHandlingStrategy.shouldProcessUrl(r)?(this.events.next(new ol(n,this.serializeUrl(l),a,s)),Promise.resolve().then(function(e){return t.runNavigate(l,r,!!o.skipLocationChange,!!o.replaceUrl,n,null)}).then(i,u)):c&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)?(this.events.next(new ol(n,this.serializeUrl(l),a,s)),Promise.resolve().then(function(e){return t.runNavigate(l,r,!1,!1,n,mc(l,t.rootComponentType).snapshot)}).then(i,u)):(this.rawUrlTree=r,i(null))},e.prototype.runNavigate=function(e,t,n,r,o,i){var a=this;return o!==this.navigationId?(this.events.next(new ul(o,this.serializeUrl(e),"Navigation ID "+o+" is not equal to the current navigation id "+this.navigationId)),Promise.resolve(!1)):new Promise(function(s,l){var c,p=(i?da({appliedUrl:e,snapshot:i}):new ac(a.ngModule.injector,a.configLoader,a.urlSerializer,e,a.config).apply().pipe(Y(function(t){return function(e,t,n,r,o){return void 0===o&&(o="emptyOnly"),new zc(e,t,n,r,o).recognize()}(a.rootComponentType,a.config,t,a.serializeUrl(t),a.paramsInheritanceStrategy).pipe(Z(function(n){return a.events.next(new sl(o,a.serializeUrl(e),a.serializeUrl(t),n)),{appliedUrl:t,snapshot:n}}))}))).pipe(Y(function(e){return"boolean"==typeof e?da(e):a.hooks.beforePreactivation(e.snapshot).pipe(Z(function(){return e}))})).pipe(Z(function(e){if("boolean"==typeof e)return e;var t=e.appliedUrl,n=e.snapshot;return(c=new Vc(n,a.routerState.snapshot,a.ngModule.injector,function(e){return a.triggerEvent(e)})).initialize(a.rootContexts),{appliedUrl:t,snapshot:n}})).pipe(Y(function(t){if("boolean"==typeof t||a.navigationId!==o)return da(!1);var n=t.appliedUrl,r=t.snapshot;return a.triggerEvent(new ll(o,a.serializeUrl(e),a.serializeUrl(n),r)),c.checkGuards().pipe(Z(function(t){return a.triggerEvent(new cl(o,a.serializeUrl(e),a.serializeUrl(n),r,t)),{appliedUrl:n,snapshot:r,shouldActivate:t}}))})).pipe(Y(function(t){return"boolean"==typeof t||a.navigationId!==o?da(!1):t.shouldActivate&&c.isActivating()?(a.triggerEvent(new pl(o,a.serializeUrl(e),a.serializeUrl(t.appliedUrl),t.snapshot)),c.resolveData(a.paramsInheritanceStrategy).pipe(Z(function(){return a.triggerEvent(new hl(o,a.serializeUrl(e),a.serializeUrl(t.appliedUrl),t.snapshot)),t}))):da(t)})).pipe(Y(function(e){return"boolean"==typeof e||a.navigationId!==o?da(!1):a.hooks.afterPreactivation(e.snapshot).pipe(Z(function(){return e}))})).pipe(Z(function(e){if("boolean"==typeof e||a.navigationId!==o)return!1;var t,n,r,i=e.appliedUrl,s=e.shouldActivate;return s?{appliedUrl:i,state:(r=function e(t,n,r){if(r&&t.shouldReuseRoute(n.value,r.value.snapshot)){(l=r.value)._futureSnapshot=n.value;var o=function(t,n,r){return n.children.map(function(n){try{for(var o=u(r.children),i=o.next();!i.done;i=o.next()){var a=i.value;if(t.shouldReuseRoute(a.value.snapshot,n.value))return e(t,n,a)}}catch(e){s={error:e}}finally{try{i&&!i.done&&(l=o.return)&&l.call(o)}finally{if(s)throw s.error}}return e(t,n);var s,l})}(t,n,r);return new vc(l,o)}var i=t.retrieve(n.value);if(i){var a=i.route;return function e(t,n){if(t.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=t.value;for(var r=0;r<t.children.length;++r)e(t.children[r],n.children[r])}(n,a),a}var s,l=new bc(new pa((s=n.value).url),new pa(s.params),new pa(s.queryParams),new pa(s.fragment),new pa(s.data),s.outlet,s.component,s);return o=n.children.map(function(n){return e(t,n)}),new vc(l,o)}(a.routeReuseStrategy,(t=e.snapshot)._root,(n=a.routerState)?n._root:void 0),new yc(r,t)),shouldActivate:s}:{appliedUrl:i,state:null,shouldActivate:s}}));a.activateRoutes(p,a.routerState,a.currentUrlTree,o,e,t,n,r,s,l)})},e.prototype.activateRoutes=function(e,t,n,r,o,i,u,a,s,l){var c,p=this;e.forEach(function(e){if("boolean"!=typeof e&&e.shouldActivate&&r===p.navigationId&&e.state){var n=e.state;if(p.currentUrlTree=e.appliedUrl,p.rawUrlTree=p.urlHandlingStrategy.merge(p.currentUrlTree,i),p.routerState=n,!u){var o=p.urlSerializer.serialize(p.rawUrlTree);p.location.isCurrentPathEqualTo(o)||a?p.location.replaceState(o,"",{navigationId:r}):p.location.go(o,"",{navigationId:r})}new ip(p.routeReuseStrategy,n,t,function(e){return p.triggerEvent(e)}).activate(p.rootContexts),c=!0}else c=!1}).then(function(){c?(p.navigated=!0,p.lastSuccessfulId=r,p.events.next(new il(r,p.serializeUrl(o),p.serializeUrl(p.currentUrlTree))),s(!0)):(p.resetUrlToCurrentUrlTree(),p.events.next(new ul(r,p.serializeUrl(o),"")),s(!1))},function(e){if((u=e)&&u.ngNavigationCancelingError)p.navigated=!0,p.resetStateAndUrl(t,n,i),p.events.next(new ul(r,p.serializeUrl(o),e.message)),s(!1);else{p.resetStateAndUrl(t,n,i),p.events.next(new al(r,p.serializeUrl(o),e));try{s(p.errorHandler(e))}catch(e){l(e)}}var u})},e.prototype.resetStateAndUrl=function(e,t,n){this.routerState=e,this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()},e.prototype.resetUrlToCurrentUrlTree=function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})},e}(),ip=function(){function e(e,t,n,r){this.routeReuseStrategy=e,this.futureState=t,this.currState=n,this.forwardEvent=r}return e.prototype.activate=function(e){var t=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,n,e),xc(this.futureState.root),this.activateChildRoutes(t,n,e)},e.prototype.deactivateChildRoutes=function(e,t,n){var r=this,o=gc(t);e.children.forEach(function(e){var t=e.value.outlet;r.deactivateRoutes(e,o[t],n),delete o[t]}),Nl(o,function(e,t){r.deactivateRouteAndItsChildren(e,n)})},e.prototype.deactivateRoutes=function(e,t,n){var r=e.value,o=t?t.value:null;if(r===o)if(r.component){var i=n.getContext(r.outlet);i&&this.deactivateChildRoutes(e,t,i.children)}else this.deactivateChildRoutes(e,t,n);else o&&this.deactivateRouteAndItsChildren(t,n)},e.prototype.deactivateRouteAndItsChildren=function(e,t){this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)},e.prototype.detachAndStoreRouteSubtree=function(e,t){var n=t.getContext(e.value.outlet);if(n&&n.outlet){var r=n.outlet.detach(),o=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:r,route:e,contexts:o})}},e.prototype.deactivateRouteAndOutlet=function(e,t){var n=this,r=t.getContext(e.value.outlet);if(r){var o=gc(e),i=e.value.component?r.children:t;Nl(o,function(e,t){return n.deactivateRouteAndItsChildren(e,i)}),r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated())}},e.prototype.activateChildRoutes=function(e,t,n){var r=this,o=gc(t);e.children.forEach(function(e){r.activateRoutes(e,o[e.value.outlet],n),r.forwardEvent(new ml(e.value.snapshot))}),e.children.length&&this.forwardEvent(new gl(e.value.snapshot))},e.prototype.activateRoutes=function(e,t,n){var r=e.value,o=t?t.value:null;if(xc(r),r===o)if(r.component){var i=n.getOrCreateContext(r.outlet);this.activateChildRoutes(e,t,i.children)}else this.activateChildRoutes(e,t,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),up(u.route)}else{var a=function(e){for(var t=r.snapshot.parent;t;t=t.parent){var n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig;if(n&&n.component)return null}return null}(),s=a?a.module.componentFactoryResolver:null;i.route=r,i.resolver=s,i.outlet&&i.outlet.activateWith(r,s),this.activateChildRoutes(e,null,i.children)}else this.activateChildRoutes(e,null,n)},e}();function up(e){xc(e.value),e.children.forEach(up)}var ap=function(){return function(){this.outlet=null,this.route=null,this.resolver=null,this.children=new sp,this.attachRef=null}}(),sp=function(){function e(){this.contexts=new Map}return e.prototype.onChildOutletCreated=function(e,t){var n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)},e.prototype.onChildOutletDestroyed=function(e){var t=this.getContext(e);t&&(t.outlet=null)},e.prototype.onOutletDeactivated=function(){var e=this.contexts;return this.contexts=new Map,e},e.prototype.onOutletReAttached=function(e){this.contexts=e},e.prototype.getOrCreateContext=function(e){var t=this.getContext(e);return t||(t=new ap,this.contexts.set(e,t)),t},e.prototype.getContext=function(e){return this.contexts.get(e)||null},e}(),lp=function(){function e(e,t,n,r,o){this.parentContexts=e,this.location=t,this.resolver=n,this.changeDetector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new zt,this.deactivateEvents=new zt,this.name=r||wl,e.onChildOutletCreated(this.name,this)}return e.prototype.ngOnDestroy=function(){this.parentContexts.onChildOutletDestroyed(this.name)},e.prototype.ngOnInit=function(){if(!this.activated){var e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}},Object.defineProperty(e.prototype,"isActivated",{get:function(){return!!this.activated},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"component",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activatedRoute",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activatedRouteData",{get:function(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}},enumerable:!0,configurable:!0}),e.prototype.detach=function(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();var e=this.activated;return this.activated=null,this._activatedRoute=null,e},e.prototype.attach=function(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView)},e.prototype.deactivate=function(){if(this.activated){var e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}},e.prototype.activateWith=function(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;var n=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),r=this.parentContexts.getOrCreateContext(this.name).children,o=new cp(e,r,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,o),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)},e}(),cp=function(){function e(e,t,n){this.route=e,this.childContexts=t,this.parent=n}return e.prototype.get=function(e,t){return e===bc?this.route:e===sp?this.childContexts:this.parent.get(e,t)},e}(),pp=function(){},hp=function(){function e(){}return e.prototype.preload=function(e,t){return t().pipe(Ma(function(){return da(null)}))},e}(),fp=function(){function e(){}return e.prototype.preload=function(e,t){return da(null)},e}(),dp=function(){function e(e,t,n,r,o){this.router=e,this.injector=r,this.preloadingStrategy=o,this.loader=new $c(t,n,function(t){return e.triggerEvent(new fl(t))},function(t){return e.triggerEvent(new dl(t))})}return e.prototype.setUpPreloading=function(){var e=this;this.subscription=this.router.events.pipe(ya(function(e){return e instanceof il}),ga(function(){return e.preload()})).subscribe(function(){})},e.prototype.preload=function(){var e=this.injector.get(Dt);return this.processRoutes(e,this.router.config)},e.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},e.prototype.processRoutes=function(e,t){var n,r,o=[];try{for(var i=u(t),a=i.next();!a.done;a=i.next()){var s=a.value;if(s.loadChildren&&!s.canLoad&&s._loadedConfig){var l=s._loadedConfig;o.push(this.processRoutes(l.module,l.routes))}else s.loadChildren&&!s.canLoad?o.push(this.preloadConfig(e,s)):s.children&&o.push(this.processRoutes(e,s.children))}}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return Q(o).pipe($(),Z(function(e){}))},e.prototype.preloadConfig=function(e,t){var n=this;return this.preloadingStrategy.preload(t,function(){return n.loader.load(e.injector,t).pipe(Y(function(e){return t._loadedConfig=e,n.processRoutes(e.module,e.routes)}))})},e}(),vp=new ge("ROUTER_CONFIGURATION"),gp=new ge("ROUTER_FORROOT_GUARD"),yp=[Vu,{provide:Fl,useClass:zl},{provide:op,useFactory:Sp,deps:[cn,Fl,sp,Vu,ze,vn,xt,Kc,vp,[ep,new je],[Jc,new je]]},sp,{provide:bc,useFactory:Ep,deps:[op]},{provide:vn,useClass:bn},dp,fp,hp,{provide:vp,useValue:{enableTracing:!1}}];function mp(){return new on("Router",op)}var bp=function(){function e(e,t){}return e.forRoot=function(t,n){return{ngModule:e,providers:[yp,Cp(t),{provide:gp,useFactory:_p,deps:[[op,new je,new Le]]},{provide:vp,useValue:n||{}},{provide:Hu,useFactory:wp,deps:[Du,[new Re(Uu),new je],vp]},{provide:pp,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:fp},{provide:on,multi:!0,useFactory:mp},[xp,{provide:vt,multi:!0,useFactory:Ip,deps:[xp]},{provide:Ap,useFactory:Tp,deps:[xp]},{provide:Ct,multi:!0,useExisting:Ap}]]}},e.forChild=function(t){return{ngModule:e,providers:[Cp(t)]}},e}();function wp(e,t,n){return void 0===n&&(n={}),n.useHash?new zu(e,t):new Bu(e,t)}function _p(e){if(e)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Cp(e){return[{provide:be,multi:!0,useValue:e},{provide:Kc,multi:!0,useValue:e}]}function Sp(e,t,n,r,o,i,u,a,s,l,c){void 0===s&&(s={});var p=new op(null,t,n,r,o,i,u,kl(a));if(l&&(p.urlHandlingStrategy=l),c&&(p.routeReuseStrategy=c),s.errorHandler&&(p.errorHandler=s.errorHandler),s.enableTracing){var h=Qa();p.events.subscribe(function(e){h.logGroup("Router Event: "+e.constructor.name),h.log(e.toString()),h.log(e),h.logGroupEnd()})}return s.onSameUrlNavigation&&(p.onSameUrlNavigation=s.onSameUrlNavigation),s.paramsInheritanceStrategy&&(p.paramsInheritanceStrategy=s.paramsInheritanceStrategy),p}function Ep(e){return e.routerState.root}var xp=function(){function e(e){this.injector=e,this.initNavigation=!1,this.resultOfPreactivationDone=new oe}return e.prototype.appInitializer=function(){var e=this;return this.injector.get(Lu,Promise.resolve(null)).then(function(){var t=null,n=new Promise(function(e){return t=e}),r=e.injector.get(op),o=e.injector.get(vp);if(e.isLegacyDisabled(o)||e.isLegacyEnabled(o))t(!0);else if("disabled"===o.initialNavigation)r.setUpLocationChangeListener(),t(!0);else{if("enabled"!==o.initialNavigation)throw new Error("Invalid initialNavigation options: '"+o.initialNavigation+"'");r.hooks.afterPreactivation=function(){return e.initNavigation?da(null):(e.initNavigation=!0,t(!0),e.resultOfPreactivationDone)},r.initialNavigation()}return n})},e.prototype.bootstrapListener=function(e){var t=this.injector.get(vp),n=this.injector.get(dp),r=this.injector.get(op),o=this.injector.get(cn);e===o.components[0]&&(this.isLegacyEnabled(t)?r.initialNavigation():this.isLegacyDisabled(t)&&r.setUpLocationChangeListener(),n.setUpPreloading(),r.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())},e.prototype.isLegacyEnabled=function(e){return"legacy_enabled"===e.initialNavigation||!0===e.initialNavigation||void 0===e.initialNavigation},e.prototype.isLegacyDisabled=function(e){return"legacy_disabled"===e.initialNavigation||!1===e.initialNavigation},e}();function Ip(e){return e.appInitializer.bind(e)}function Tp(e){return e.bootstrapListener.bind(e)}var Ap=new ge("Router Initializer"),Pp=zr({encapsulation:2,styles:[],data:{}});function kp(e){return Ei(0,[(e()(),vo(0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),ni(1,212992,null,0,lp,[sp,Cn,Mt,[8,null],Sn],null,null)],function(e,t){e(t,1,0)},null)}var Op=Mo("ng-component",bl,function(e){return Ei(0,[(e()(),vo(0,0,null,null,1,"ng-component",[],null,null,null,kp,Pp)),ni(1,49152,null,0,bl,[],null,null)],null,null)},{},{},[]),Np=function(e){this.a2hs=e},Mp=zr({encapsulation:0,styles:[[".btn-a2hs[_ngcontent-%COMP%]{font-size:75%;font-weight:700;white-space:normal;border:1px solid rgba(0,0,0,.5);padding:10px 5px;margin-bottom:10px;border-radius:.25rem;background-color:#ffc107}"]],data:{}});function Rp(e){return Ei(0,[(e()(),vo(0,0,null,null,1,"button",[["class","btn-a2hs"],["type","button"]],null,[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.a2hs.addToHomeScreen()&&r),r},null,null)),(e()(),_i(-1,null,["Add Shortcut To Home/Apps Screen"]))],null,null)}var jp=function(e){this.a2hs=e},Dp=zr({encapsulation:0,styles:[[".safari-how2[_ngcontent-%COMP%]{white-space:normal;border:1px solid rgba(0,0,0,.5);padding:10px 5px;margin-bottom:10px;border-radius:.25rem;background-color:#ffc107}.nudgeImage[_ngcontent-%COMP%]{position:relative;top:4px}"]],data:{}});function Lp(e){return Ei(0,[(e()(),vo(0,0,null,null,10,"div",[["class","safari-how2"]],null,null,null,null,null)),(e()(),vo(1,0,null,null,1,"strong",[],null,null,null,null,null)),(e()(),_i(-1,null,["Add a shortcut to your home screen"])),(e()(),vo(3,0,null,null,7,"ol",[],null,null,null,null,null)),(e()(),vo(4,0,null,null,3,"li",[],null,null,null,null,null)),(e()(),_i(-1,null,["Share button "])),(e()(),vo(6,0,null,null,0,"img",[["alt","Share Button Image"],["class","nudgeImage"],["height","22"],["src","data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMiIgZGF0YS1uYW1lPSJMYXllciAyIiB4bWxucz0iaHR0cDovL3d3dy5\n3My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMC44OCAyNy4yNSI+PGRlZnM+PHN0eWxlPi\n5jbHMtMXtmaWxsOm5vbmU7c3Ryb2tlOiMyMzFmMjA7fTwvc3R5bGU+PC9kZWZzPjx0aXRsZT5TY\nWZhcmlfU2hhcmU8L3RpdGxlPjxwb2x5bGluZSBjbGFzcz0iY2xzLTEiIHBvaW50cz0iMTMuMTMg\nOCAyMC4zOCA4IDIwLjM4IDI2Ljc1IDAuNSAyNi43NSAwLjUgOCA3LjUgOCIvPjxsaW5lIGNsYXN\nzPSJjbHMtMSIgeDE9IjEwLjQ0IiB5MT0iMTciIHgyPSIxMC40NCIvPjxsaW5lIGNsYXNzPSJjbH\nMtMSIgeDE9IjEwLjQ4IiB5MT0iMC4zOCIgeDI9IjE1LjI4IiB5Mj0iNS4xOCIvPjxsaW5lIGNsY\nXNzPSJjbHMtMSIgeDE9IjEwLjQ0IiB5MT0iMC4zOCIgeDI9IjUuNjQiIHkyPSI1LjE4Ii8+PC9z\ndmc+"]],null,null,null,null,null)),(e()(),_i(7,null,[" at the "," of the browser "])),(e()(),vo(8,0,null,null,2,"li",[],null,null,null,null,null)),(e()(),_i(-1,null,["Scroll left (if needed) to find the Add to Home Screen button "])),(e()(),vo(10,0,null,null,0,"img",[["alt","Add to Home Screen button Image"],["class","nudgeImage"],["height","22"],["src","data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMiIgZGF0YS1uYW1lPSJMYXllciAyIiB4bWxucz0iaHR0cDovL3d3dy5\n3My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzNSAzNSI+PHRpdGxlPlNhZmFyaV9BMkhTPC\n90aXRsZT48cmVjdCB3aWR0aD0iMzUiIGhlaWdodD0iMzUiIHJ4PSI4IiByeT0iOCIgc3R5bGU9I\nmZpbGw6IzhmOGY4ZiIvPjxsaW5lIHgxPSIyNC43NSIgeTE9IjE3LjUiIHgyPSIxMC4yNSIgeTI9\nIjE3LjUiIHN0eWxlPSJmaWxsOm5vbmU7c3Ryb2tlOiNmZmY7c3Ryb2tlLXdpZHRoOjJweCIvPjx\nsaW5lIHgxPSIxNy41IiB5MT0iMTAuMjUiIHgyPSIxNy41IiB5Mj0iMjQuNzUiIHN0eWxlPSJmaW\nxsOm5vbmU7c3Ryb2tlOiNmZmY7c3Ryb2tlLXdpZHRoOjJweCIvPjwvc3ZnPg=="]],null,null,null,null,null))],null,function(e,t){e(t,7,0,t.component.a2hs.whereIsShare)})}var Hp=function(e){this.a2hs=e},Up=zr({encapsulation:0,styles:[[".safari-how2[_ngcontent-%COMP%]{white-space:normal;border:1px solid rgba(0,0,0,.5);padding:10px 5px;margin-bottom:10px;border-radius:.25rem;background-color:#ffc107}.nudgeImage[_ngcontent-%COMP%]{position:relative;top:4px}"]],data:{}});function Vp(e){return Ei(0,[(e()(),vo(0,0,null,null,10,"div",[["class","safari-how2"]],null,null,null,null,null)),(e()(),vo(1,0,null,null,1,"strong",[],null,null,null,null,null)),(e()(),_i(-1,null,["FIREFOX Add a shortcut to your home screen"])),(e()(),vo(3,0,null,null,7,"ol",[],null,null,null,null,null)),(e()(),vo(4,0,null,null,3,"li",[],null,null,null,null,null)),(e()(),_i(-1,null,["Share button "])),(e()(),vo(6,0,null,null,0,"img",[["alt","Share Button Image"],["class","nudgeImage"],["height","22"],["src","data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMiIgZGF0YS1uYW1lPSJMYXllciAyIiB4bWxucz0iaHR0cDovL3d3dy5\n3My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMC44OCAyNy4yNSI+PGRlZnM+PHN0eWxlPi\n5jbHMtMXtmaWxsOm5vbmU7c3Ryb2tlOiMyMzFmMjA7fTwvc3R5bGU+PC9kZWZzPjx0aXRsZT5TY\nWZhcmlfU2hhcmU8L3RpdGxlPjxwb2x5bGluZSBjbGFzcz0iY2xzLTEiIHBvaW50cz0iMTMuMTMg\nOCAyMC4zOCA4IDIwLjM4IDI2Ljc1IDAuNSAyNi43NSAwLjUgOCA3LjUgOCIvPjxsaW5lIGNsYXN\nzPSJjbHMtMSIgeDE9IjEwLjQ0IiB5MT0iMTciIHgyPSIxMC40NCIvPjxsaW5lIGNsYXNzPSJjbH\nMtMSIgeDE9IjEwLjQ4IiB5MT0iMC4zOCIgeDI9IjE1LjI4IiB5Mj0iNS4xOCIvPjxsaW5lIGNsY\nXNzPSJjbHMtMSIgeDE9IjEwLjQ0IiB5MT0iMC4zOCIgeDI9IjUuNjQiIHkyPSI1LjE4Ii8+PC9z\ndmc+"]],null,null,null,null,null)),(e()(),_i(7,null,[" at the "," of the browser "])),(e()(),vo(8,0,null,null,2,"li",[],null,null,null,null,null)),(e()(),_i(-1,null,["Scroll left (if needed) to find the Add to Home Screen button "])),(e()(),vo(10,0,null,null,0,"img",[["alt","Add to Home Screen button Image"],["class","nudgeImage"],["height","22"],["src","data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMiIgZGF0YS1uYW1lPSJMYXllciAyIiB4bWxucz0iaHR0cDovL3d3dy5\n3My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzNSAzNSI+PHRpdGxlPlNhZmFyaV9BMkhTPC\n90aXRsZT48cmVjdCB3aWR0aD0iMzUiIGhlaWdodD0iMzUiIHJ4PSI4IiByeT0iOCIgc3R5bGU9I\nmZpbGw6IzhmOGY4ZiIvPjxsaW5lIHgxPSIyNC43NSIgeTE9IjE3LjUiIHgyPSIxMC4yNSIgeTI9\nIjE3LjUiIHN0eWxlPSJmaWxsOm5vbmU7c3Ryb2tlOiNmZmY7c3Ryb2tlLXdpZHRoOjJweCIvPjx\nsaW5lIHgxPSIxNy41IiB5MT0iMTAuMjUiIHgyPSIxNy41IiB5Mj0iMjQuNzUiIHN0eWxlPSJmaW\nxsOm5vbmU7c3Ryb2tlOiNmZmY7c3Ryb2tlLXdpZHRoOjJweCIvPjwvc3ZnPg=="]],null,null,null,null,null))],null,function(e,t){e(t,7,0,t.component.a2hs.whereIsShare)})}var Fp=function(e){this.a2hs=e},zp=zr({encapsulation:0,styles:[[".debugSection[_ngcontent-%COMP%]{margin-top:50px;visibility:visible}"]],data:{}});function Bp(e){return Ei(0,[(e()(),vo(0,0,null,null,1,"app-a2hs-browser-prompt",[],[[4,"display",null]],null,null,Rp,Mp)),ni(1,49152,null,0,Np,[Ru],null,null),(e()(),vo(2,0,null,null,1,"app-ios-safari-how2",[],[[4,"display",null]],null,null,Lp,Dp)),ni(3,49152,null,0,jp,[Ru],null,null),(e()(),vo(4,0,null,null,1,"app-ios-android-firefox-how2",[],[[4,"display",null]],null,null,Vp,Up)),ni(5,49152,null,0,Hp,[Ru],null,null),(e()(),vo(6,0,null,null,2,"div",[],[[4,"display",null]],null,null,null,null)),(e()(),vo(7,0,null,null,1,"strong",[],null,null,null,null,null)),(e()(),_i(-1,null,["Standalone - Show User Nothing"])),(e()(),vo(9,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),vo(10,0,null,null,31,"div",[["class","debugSection"]],[[4,"display",null]],null,null,null,null)),(e()(),vo(11,0,null,null,5,"h4",[],null,null,null,null,null)),(e()(),_i(-1,null,["Debug"])),(e()(),vo(13,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),_i(-1,null,["--Mobile Chrome & Edge Only"])),(e()(),vo(15,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),_i(-1,null,["--Desktop Chrome"])),(e()(),vo(17,0,null,null,24,"ul",[["style","list-style: none;"]],null,null,null,null,null)),(e()(),vo(18,0,null,null,3,"li",[],null,null,null,null,null)),(e()(),_i(-1,null,["Prompt Intercepted: "])),(e()(),vo(20,0,null,null,1,"span",[],[[4,"color",null]],null,null,null,null)),(e()(),_i(21,null,["",""])),(e()(),vo(22,0,null,null,3,"li",[],null,null,null,null,null)),(e()(),_i(-1,null,["Deferred Prompt Saved: "])),(e()(),vo(24,0,null,null,1,"span",[],[[4,"color",null]],null,null,null,null)),(e()(),_i(25,null,["",""])),(e()(),vo(26,0,null,null,3,"li",[],null,null,null,null,null)),(e()(),_i(-1,null,["Custom Button Clicked: "])),(e()(),vo(28,0,null,null,1,"span",[],[[4,"color",null]],null,null,null,null)),(e()(),_i(29,null,["",""])),(e()(),vo(30,0,null,null,3,"li",[],null,null,null,null,null)),(e()(),_i(-1,null,["Deferred Prompt Shown: "])),(e()(),vo(32,0,null,null,1,"span",[],[[4,"color",null]],null,null,null,null)),(e()(),_i(33,null,["",""])),(e()(),vo(34,0,null,null,3,"li",[],null,null,null,null,null)),(e()(),_i(-1,null,["Deferred Prompt Rejected: "])),(e()(),vo(36,0,null,null,1,"span",[],[[4,"color",null]],null,null,null,null)),(e()(),_i(37,null,["",""])),(e()(),vo(38,0,null,null,3,"li",[],null,null,null,null,null)),(e()(),_i(-1,null,["App or Shortcut Added: "])),(e()(),vo(40,0,null,null,1,"span",[],[[4,"color",null]],null,null,null,null)),(e()(),_i(41,null,["",""])),(e()(),vo(42,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),vo(43,0,null,null,53,"div",[],null,null,null,null,null)),(e()(),vo(44,0,null,null,3,"h4",[],null,null,null,null,null)),(e()(),_i(-1,null,["Debug"])),(e()(),vo(46,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),_i(-1,null,["--UserAgent"])),(e()(),vo(48,0,null,null,48,"ul",[["style","list-style: none;"]],null,null,null,null,null)),(e()(),vo(49,0,null,null,3,"li",[],null,null,null,null,null)),(e()(),_i(-1,null,["isStandalone: "])),(e()(),vo(51,0,null,null,1,"span",[],[[4,"color",null]],null,null,null,null)),(e()(),_i(52,null,["",""])),(e()(),vo(53,0,null,null,3,"li",[],null,null,null,null,null)),(e()(),_i(-1,null,["isChrome: "])),(e()(),vo(55,0,null,null,1,"span",[],[[4,"color",null]],null,null,null,null)),(e()(),_i(56,null,["",""])),(e()(),vo(57,0,null,null,3,"li",[],null,null,null,null,null)),(e()(),_i(-1,null,["isExplorer: "])),(e()(),vo(59,0,null,null,1,"span",[],[[4,"color",null]],null,null,null,null)),(e()(),_i(60,null,["",""])),(e()(),vo(61,0,null,null,3,"li",[],null,null,null,null,null)),(e()(),_i(-1,null,["isExplorer_11: "])),(e()(),vo(63,0,null,null,1,"span",[],[[4,"color",null]],null,null,null,null)),(e()(),_i(64,null,["",""])),(e()(),vo(65,0,null,null,3,"li",[],null,null,null,null,null)),(e()(),_i(-1,null,["isFirefox: "])),(e()(),vo(67,0,null,null,1,"span",[],[[4,"color",null]],null,null,null,null)),(e()(),_i(68,null,["",""])),(e()(),vo(69,0,null,null,3,"li",[],null,null,null,null,null)),(e()(),_i(-1,null,["isSafari: "])),(e()(),vo(71,0,null,null,1,"span",[],[[4,"color",null]],null,null,null,null)),(e()(),_i(72,null,["",""])),(e()(),vo(73,0,null,null,3,"li",[],null,null,null,null,null)),(e()(),_i(-1,null,["isOpera: "])),(e()(),vo(75,0,null,null,1,"span",[],[[4,"color",null]],null,null,null,null)),(e()(),_i(76,null,["",""])),(e()(),vo(77,0,null,null,3,"li",[],null,null,null,null,null)),(e()(),_i(-1,null,["isEdgeDesktop: "])),(e()(),vo(79,0,null,null,1,"span",[],[[4,"color",null]],null,null,null,null)),(e()(),_i(80,null,["",""])),(e()(),vo(81,0,null,null,3,"li",[],null,null,null,null,null)),(e()(),_i(-1,null,["isEdgeiOS: "])),(e()(),vo(83,0,null,null,1,"span",[],[[4,"color",null]],null,null,null,null)),(e()(),_i(84,null,["",""])),(e()(),vo(85,0,null,null,3,"li",[],null,null,null,null,null)),(e()(),_i(-1,null,["isEdgeAndroid: "])),(e()(),vo(87,0,null,null,1,"span",[],[[4,"color",null]],null,null,null,null)),(e()(),_i(88,null,["",""])),(e()(),vo(89,0,null,null,3,"li",[],null,null,null,null,null)),(e()(),_i(-1,null,["isIOS: "])),(e()(),vo(91,0,null,null,1,"span",[],[[4,"color",null]],null,null,null,null)),(e()(),_i(92,null,["",""])),(e()(),vo(93,0,null,null,3,"li",[],null,null,null,null,null)),(e()(),_i(-1,null,["isMobile: "])),(e()(),vo(95,0,null,null,1,"span",[],[[4,"color",null]],null,null,null,null)),(e()(),_i(96,null,["",""])),(e()(),_i(97,null,["\n"," "])),(e()(),vo(98,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),vo(99,0,null,null,1,"a",[["href","https://ng-chicago.github.io/2018/06/18/add-2-home-screen/"],["target","_blank"]],null,null,null,null,null)),(e()(),_i(-1,null,["About"]))],null,function(e,t){var n=t.component;e(t,0,0,n.a2hs.browserPromptBtn()),e(t,2,0,n.a2hs.iOSSafariHow2()),e(t,4,0,n.a2hs.iOSAndroidFirefoxHow2()),e(t,6,0,n.a2hs.showHide(n.a2hs.isStandalone)),e(t,10,0,n.a2hs.showHide(n.a2hs.promptSaved)),e(t,20,0,n.a2hs.trueOrFalse(n.a2hs.promptIntercepted)),e(t,21,0,n.a2hs.promptIntercepted),e(t,24,0,n.a2hs.trueOrFalse(n.a2hs.promptSaved)),e(t,25,0,n.a2hs.promptSaved),e(t,28,0,n.a2hs.trueOrFalse(n.a2hs.customButtonClicked)),e(t,29,0,n.a2hs.customButtonClicked),e(t,32,0,n.a2hs.trueOrFalse(n.a2hs.deferredPromptShown)),e(t,33,0,n.a2hs.deferredPromptShown),e(t,36,0,n.a2hs.trueOrFalse(n.a2hs.deferredPromptRejected)),e(t,37,0,n.a2hs.deferredPromptRejected),e(t,40,0,n.a2hs.trueOrFalse(n.a2hs.userInstalled)),e(t,41,0,n.a2hs.userInstalled),e(t,51,0,n.a2hs.trueOrFalse(n.a2hs.isStandalone)),e(t,52,0,n.a2hs.isStandalone),e(t,55,0,n.a2hs.trueOrFalse(n.a2hs.isChrome)),e(t,56,0,n.a2hs.isChrome),e(t,59,0,n.a2hs.trueOrFalse(n.a2hs.isExplorer)),e(t,60,0,n.a2hs.isExplorer),e(t,63,0,n.a2hs.trueOrFalse(n.a2hs.isExplorer_11)),e(t,64,0,n.a2hs.isExplorer_11),e(t,67,0,n.a2hs.trueOrFalse(n.a2hs.isFirefox)),e(t,68,0,n.a2hs.isFirefox),e(t,71,0,n.a2hs.trueOrFalse(n.a2hs.isSafari)),e(t,72,0,n.a2hs.isSafari),e(t,75,0,n.a2hs.trueOrFalse(n.a2hs.isOpera)),e(t,76,0,n.a2hs.isOpera),e(t,79,0,n.a2hs.trueOrFalse(n.a2hs.isEdgeDesktop)),e(t,80,0,n.a2hs.isEdgeDesktop),e(t,83,0,n.a2hs.trueOrFalse(n.a2hs.isEdgeiOS)),e(t,84,0,n.a2hs.isEdgeiOS),e(t,87,0,n.a2hs.trueOrFalse(n.a2hs.isEdgeAndroid)),e(t,88,0,n.a2hs.isEdgeAndroid),e(t,91,0,n.a2hs.trueOrFalse(n.a2hs.isIOS)),e(t,92,0,n.a2hs.isIOS),e(t,95,0,n.a2hs.trueOrFalse(n.a2hs.isMobile)),e(t,96,0,n.a2hs.isMobile),e(t,97,0,n.a2hs.userAgent)})}var Zp=zr({encapsulation:0,styles:[[""]],data:{}});function Wp(e){return Ei(0,[(e()(),vo(0,0,null,null,3,"div",[["style","text-align:center"]],null,null,null,null,null)),(e()(),vo(1,0,null,null,1,"h1",[],null,null,null,null,null)),(e()(),_i(2,null,[" "," "])),(e()(),vo(3,0,null,null,0,"img",[["alt","Angular Logo"],["src","data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTAgMjUwIj4KICAgIDxwYXRoIGZpbGw9IiNERDAwMzEiIGQ9Ik0xMjUgMzBMMzEuOSA2My4ybDE0LjIgMTIzLjFMMTI1IDIzMGw3OC45LTQzLjcgMTQuMi0xMjMuMXoiIC8+CiAgICA8cGF0aCBmaWxsPSIjQzMwMDJGIiBkPSJNMTI1IDMwdjIyLjItLjFWMjMwbDc4LjktNDMuNyAxNC4yLTEyMy4xTDEyNSAzMHoiIC8+CiAgICA8cGF0aCAgZmlsbD0iI0ZGRkZGRiIgZD0iTTEyNSA1Mi4xTDY2LjggMTgyLjZoMjEuN2wxMS43LTI5LjJoNDkuNGwxMS43IDI5LjJIMTgzTDEyNSA1Mi4xem0xNyA4My4zaC0zNGwxNy00MC45IDE3IDQwLjl6IiAvPgogIDwvc3ZnPg=="],["width","100"]],null,null,null,null,null)),(e()(),vo(4,0,null,null,1,"app-a2hs",[],null,null,null,Bp,zp)),ni(5,49152,null,0,Fp,[Ru],null,null),(e()(),vo(6,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),ni(7,212992,null,0,lp,[sp,Cn,Mt,[8,null],Sn],null,null)],function(e,t){e(t,7,0)},function(e,t){e(t,2,0,t.component.title)})}var Gp=Mo("app-root",ju,function(e){return Ei(0,[(e()(),vo(0,0,null,null,1,"app-root",[],null,null,null,Wp,Zp)),ni(1,49152,null,0,ju,[Ru],null,null)],null,null)},{},{},[]);function qp(e,t){return"function"==typeof t?function(n){return n.pipe(qp(function(n,r){return Q(e(n,r)).pipe(Z(function(e,o){return t(n,e,r,o)}))}))}:function(t){return t.lift(new Qp(e))}}var Qp=function(){function e(e){this.project=e}return e.prototype.call=function(e,t){return t.subscribe(new Yp(e,this.project))},e}(),Yp=function(e){function t(t,n){var r=e.call(this,t)||this;return r.project=n,r.index=0,r}return o(t,e),t.prototype._next=function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(e){return void this.destination.error(e)}this._innerSub(t,e,n)},t.prototype._innerSub=function(e,t,n){var r=this.innerSubscription;r&&r.unsubscribe(),this.add(this.innerSubscription=z(this,e,t,n))},t.prototype._complete=function(){var t=this.innerSubscription;t&&!t.closed||e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){this.innerSubscription=null},t.prototype.notifyComplete=function(t){this.remove(t),this.innerSubscription=null,this.isStopped&&e.prototype._complete.call(this)},t.prototype.notifyNext=function(e,t,n,r,o){this.destination.next(t)},t}(B);function Jp(e,t,n,r){return l(n)&&(r=n,n=void 0),r?Jp(e,t,n).pipe(Z(function(e){return d(e)?r.apply(void 0,e):r(e)})):new k(function(r){!function e(t,n,r,o,i){var u;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(t)){var a=t;t.addEventListener(n,r,i),u=function(){return a.removeEventListener(n,r,i)}}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(t)){var s=t;t.on(n,r),u=function(){return s.off(n,r)}}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(t)){var l=t;t.addListener(n,r),u=function(){return l.removeListener(n,r)}}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(var c=0,p=t.length;c<p;c++)e(t[c],n,r,o,i)}o.add(u)}(e,t,function(e){r.next(arguments.length>1?Array.prototype.slice.call(arguments):e)},r,n)})}Object;var Xp=new k(T);function Kp(e){return new k(function(t){var n;try{n=e()}catch(e){return void t.error(e)}return(n?Q(n):fa()).subscribe(t)})}var $p="Service workers are disabled or not supported by this browser",eh=function(){function e(e){if(this.serviceWorker=e,e){var t=Jp(e,"controllerchange").pipe(Z(function(){return e.controller})),n=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 1===e.length||2===e.length&&N(e[1])?Q(e[0]):Ba()(da.apply(void 0,e))}(Kp(function(){return da(e.controller)}),t);this.worker=n.pipe(ya(function(e){return!!e})),this.registration=this.worker.pipe(qp(function(){return e.getRegistration()}));var r=Jp(e,"message").pipe(Z(function(e){return e.data})).pipe(ya(function(e){return!!e&&!!e.type})).pipe(he(new oe));this.events=r,r.connect()}else this.worker=this.events=this.registration=(o=$p,Kp(function(){return e=new Error(o),new k(function(t){return t.error(e)});var e}));var o}return e.prototype.postMessage=function(e,t){return this.worker.pipe(Ua(1),Ea(function(n){n.postMessage(i({action:e},t))})).toPromise().then(function(){})},e.prototype.postMessageWithStatus=function(e,t,n){var r=this.waitForStatus(n),o=this.postMessage(e,t);return Promise.all([r,o]).then(function(){})},e.prototype.generateNonce=function(){return Math.round(1e7*Math.random())},e.prototype.eventsOfType=function(e){return this.events.pipe(ya(function(t){return t.type===e}))},e.prototype.nextEventOfType=function(e){return this.eventsOfType(e).pipe(Ua(1))},e.prototype.waitForStatus=function(e){return this.eventsOfType("STATUS").pipe(ya(function(t){return t.nonce===e}),Ua(1),Z(function(e){if(!e.status)throw new Error(e.error)})).toPromise()},Object.defineProperty(e.prototype,"isEnabled",{get:function(){return!!this.serviceWorker},enumerable:!0,configurable:!0}),e}(),th=function(){function e(e){if(this.sw=e,this.subscriptionChanges=new oe,!e.isEnabled)return this.messages=Xp,void(this.subscription=Xp);this.messages=this.sw.eventsOfType("PUSH").pipe(Z(function(e){return e.data})),this.pushManager=this.sw.registration.pipe(Z(function(e){return e.pushManager}));var t=this.pushManager.pipe(qp(function(e){return e.getSubscription().then(function(e){return e})}));this.subscription=ee(t,this.subscriptionChanges)}return Object.defineProperty(e.prototype,"isEnabled",{get:function(){return this.sw.isEnabled},enumerable:!0,configurable:!0}),e.prototype.requestSubscription=function(e){var t=this;if(!this.sw.isEnabled)return Promise.reject(new Error($p));for(var n={userVisibleOnly:!0},r=this.decodeBase64(e.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),o=new Uint8Array(new ArrayBuffer(r.length)),i=0;i<r.length;i++)o[i]=r.charCodeAt(i);return n.applicationServerKey=o,this.pushManager.pipe(qp(function(e){return e.subscribe(n)}),Ua(1)).toPromise().then(function(e){return t.subscriptionChanges.next(e),e})},e.prototype.unsubscribe=function(){var e=this;return this.sw.isEnabled?this.subscription.pipe(Ua(1),qp(function(t){if(null===t)throw new Error("Not subscribed to push notifications.");return t.unsubscribe().then(function(t){if(!t)throw new Error("Unsubscribe failed!");e.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error($p))},e.prototype.decodeBase64=function(e){return atob(e)},e}(),nh=function(){function e(e){if(this.sw=e,!e.isEnabled)return this.available=Xp,void(this.activated=Xp);this.available=this.sw.eventsOfType("UPDATE_AVAILABLE"),this.activated=this.sw.eventsOfType("UPDATE_ACTIVATED")}return Object.defineProperty(e.prototype,"isEnabled",{get:function(){return this.sw.isEnabled},enumerable:!0,configurable:!0}),e.prototype.checkForUpdate=function(){if(!this.sw.isEnabled)return Promise.reject(new Error($p));var e=this.sw.generateNonce();return this.sw.postMessageWithStatus("CHECK_FOR_UPDATES",{statusNonce:e},e)},e.prototype.activateUpdate=function(){if(!this.sw.isEnabled)return Promise.reject(new Error($p));var e=this.sw.generateNonce();return this.sw.postMessageWithStatus("ACTIVATE_UPDATE",{statusNonce:e},e)},e}(),rh=function(){},oh=new ge("NGSW_REGISTER_SCRIPT");function ih(e,t,n,r){return function(){var o=e.get(cn);if(ca(r)&&"serviceWorker"in navigator&&!1!==n.enabled){var i=o.isStable.pipe(ya(function(e){return!!e}),Ua(1)).toPromise();navigator.serviceWorker.addEventListener("controllerchange",function(){null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})}),i.then(function(){return navigator.serviceWorker.register(t,{scope:n.scope})})}}}function uh(e,t){return new eh(ca(t)&&!1!==e.enabled?navigator.serviceWorker:void 0)}var ah=function(){function e(){}return e.register=function(t,n){return void 0===n&&(n={}),{ngModule:e,providers:[{provide:oh,useValue:t},{provide:rh,useValue:n},{provide:eh,useFactory:uh,deps:[rh,_t]},{provide:vt,useFactory:ih,deps:[ze,oh,rh,_t],multi:!0}]}},e}(),sh=function(){},lh=function(e,t,n){return new Ou(Mu,[ju],function(e){return function(e){for(var t={},n=[],r=!1,o=0;o<e.length;o++){var i=e[o];i.token===ft&&(r=!0),1073741824&i.flags&&n.push(i.token),i.index=o,t[Ur(i.token)]=i}return{factory:null,providersByKey:t,providers:e,modules:n,isRoot:r}}([Eo(512,Mt,Rt,[[8,[Op,Gp]],[3,Mt],Dt]),Eo(5120,Jn,er,[[3,Jn]]),Eo(4608,oa,ia,[Jn,[2,ra]]),Eo(5120,yt,mt,[]),Eo(5120,Zn,Kn,[]),Eo(5120,Wn,$n,[]),Eo(4608,Gs,qs,[aa]),Eo(6144,xr,null,[Gs]),Eo(4608,Vs,Fs,[]),Eo(5120,fs,function(e,t,n,r,o,i,u){return[new Hs(e,t,n),new Ws(r),new zs(o,i,u)]},[aa,Bt,[2,_t],aa,aa,Vs,St]),Eo(4608,ds,ds,[fs,Bt]),Eo(135680,ys,ys,[aa]),Eo(4608,Es,Es,[ds,ys]),Eo(6144,hn,null,[Es]),Eo(6144,gs,null,[ys]),Eo(4608,Xt,Xt,[Bt]),Eo(4608,is,is,[aa]),Eo(4608,ls,ls,[aa]),Eo(5120,bc,Ep,[op]),Eo(4608,fp,fp,[]),Eo(6144,pp,null,[fp]),Eo(135680,dp,dp,[op,vn,xt,ze,pp]),Eo(4608,hp,hp,[]),Eo(5120,Ap,Tp,[xp]),Eo(5120,Ct,function(e){return[e]},[Ap]),Eo(5120,eh,uh,[rh,_t]),Eo(4608,th,th,[eh]),Eo(4608,nh,nh,[eh]),Eo(4608,Ru,Ru,[]),Eo(1073742336,ua,ua,[]),Eo(1024,ht,tl,[]),Eo(1024,on,function(){return[mp()]},[]),Eo(512,xp,xp,[ze]),Eo(256,oh,"/ngsw-worker.js",[]),Eo(256,rh,{enabled:!0},[]),Eo(1024,vt,function(e,t,n,r,o,u){return[(a=e,cs("probe",hs),cs("coreTokens",i({},ps,(a||[]).reduce(function(e,t){return e[t.name]=t.token,e},{}))),function(){return hs}),Ip(t),ih(n,r,o,u)];var a},[[2,on],xp,ze,oh,rh,_t]),Eo(512,gt,gt,[[2,vt]]),Eo(131584,cn,cn,[Bt,St,ze,ht,Mt,gt]),Eo(1073742336,tr,tr,[cn]),Eo(1073742336,nl,nl,[[3,nl]]),Eo(1024,gp,_p,[[3,op]]),Eo(512,Fl,zl,[]),Eo(512,sp,sp,[]),Eo(256,vp,{},[]),Eo(1024,Hu,wp,[Du,[2,Uu],vp]),Eo(512,Vu,Vu,[Hu]),Eo(512,xt,xt,[]),Eo(512,vn,bn,[xt,[2,yn]]),Eo(1024,Kc,function(){return[[]]},[]),Eo(1024,op,Sp,[cn,Fl,sp,Vu,ze,vn,xt,Kc,vp,[2,ep],[2,Jc]]),Eo(1073742336,bp,bp,[[2,gp],[2,op]]),Eo(1073742336,sh,sh,[]),Eo(1073742336,ah,ah,[]),Eo(1073742336,Mu,Mu,[]),Eo(256,ft,!0,[])])})}();(function(){if(tn)throw new Error("Cannot enable prod mode after platform setup.");en=!1})(),el().bootstrapModuleFactory(lh).catch(function(e){return console.log(e)})}},[[3,0]]]);