-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain-es5.c4ef08fccc19224234d5.js
1 lines (1 loc) · 275 KB
/
main-es5.c4ef08fccc19224234d5.js
1
function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray(e,t)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArrayLimit(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,a=void 0;try{for(var l,o=e[Symbol.iterator]();!(r=(l=o.next()).done)&&(n.push(l.value),!t||n.length!==t);r=!0);}catch(u){i=!0,a=u}finally{try{r||null==o.return||o.return()}finally{if(i)throw a}}return n}}function _arrayWithHoles(e){if(Array.isArray(e))return e}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArray(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}function _createForOfIteratorHelper(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,l=!0,o=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return l=e.done,e},e:function(e){o=!0,a=e},f:function(){try{l||null==n.return||n.return()}finally{if(o)throw a}}}}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function _construct(e,t,n){return(_construct=_isNativeReflectConstruct()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&_setPrototypeOf(i,n.prototype),i}).apply(null,arguments)}function _get(e,t,n){return(_get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=_superPropBase(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(n):i.value}})(e,t,n||e)}function _superPropBase(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=_getPrototypeOf(e)););return e}function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _createSuper(e){var t=_isNativeReflectConstruct();return function(){var n,r=_getPrototypeOf(e);if(t){var i=_getPrototypeOf(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return _possibleConstructorReturn(this,n)}}function _possibleConstructorReturn(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?_assertThisInitialized(e):t}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function _getPrototypeOf(e){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),e}/*! For license information please see main-es2015.c4ef08fccc19224234d5.js.LICENSE.txt */(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(e,t,n){e.exports=n("zUnb")},zUnb:function(e,t,n){"use strict";function r(e){return"function"==typeof e}n.r(t);var i=!1,a={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){var t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else i&&console.log("RxJS: Back to a better error behavior. Thank you. <3");i=e},get useDeprecatedSynchronousErrorHandling(){return i}};function l(e){setTimeout((function(){throw e}))}var o={closed:!0,next:function(e){},error:function(e){if(a.useDeprecatedSynchronousErrorHandling)throw e;l(e)},complete:function(){}},u=Array.isArray||function(e){return e&&"number"==typeof e.length};function s(e){return null!==e&&"object"==typeof e}function c(e){return Error.call(this),this.message=e?"".concat(e.length," errors occurred during unsubscription:\n").concat(e.map((function(e,t){return"".concat(t+1,") ").concat(e.toString())})).join("\n ")):"",this.name="UnsubscriptionError",this.errors=e,this}c.prototype=Object.create(Error.prototype);var h,f=c,d=((h=function(){function e(t){_classCallCheck(this,e),this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}return _createClass(e,[{key:"unsubscribe",value:function(){var e,t=!1;if(!this.closed){var n=this._parent,i=this._parents,a=this._unsubscribe,l=this._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var o=-1,c=i?i.length:0;n;)n.remove(this),n=++o<c&&i[o]||null;if(r(a))try{a.call(this)}catch(d){t=!0,e=d instanceof f?v(d.errors):[d]}if(u(l))for(o=-1,c=l.length;++o<c;){var h=l[o];if(s(h))try{h.unsubscribe()}catch(d){t=!0,e=e||[],d instanceof f?e=e.concat(v(d.errors)):e.push(d)}}if(t)throw new f(e)}}},{key:"add",value:function(t){var n=t;switch(typeof t){case"function":n=new e(t);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof e)){var r=n;(n=new e)._subscriptions=[r]}break;default:if(!t)return e.EMPTY;throw new Error("unrecognized teardown "+t+" added to Subscription.")}if(n._addParent(this)){var i=this._subscriptions;i?i.push(n):this._subscriptions=[n]}return n}},{key:"remove",value:function(e){var t=this._subscriptions;if(t){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}}},{key:"_addParent",value:function(e){var t=this._parent,n=this._parents;return t!==e&&(t?n?-1===n.indexOf(e)&&(n.push(e),!0):(this._parents=[e],!0):(this._parent=e,!0))}}]),e}()).EMPTY=function(e){return e.closed=!0,e}(new h),h);function v(e){return e.reduce((function(e,t){return e.concat(t instanceof f?t.errors:t)}),[])}var p="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random(),g=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var a;switch(_classCallCheck(this,n),(a=t.call(this)).syncErrorValue=null,a.syncErrorThrown=!1,a.syncErrorThrowable=!1,a.isStopped=!1,arguments.length){case 0:a.destination=o;break;case 1:if(!e){a.destination=o;break}if("object"==typeof e){e instanceof n?(a.syncErrorThrowable=e.syncErrorThrowable,a.destination=e,e.add(_assertThisInitialized(a))):(a.syncErrorThrowable=!0,a.destination=new y(_assertThisInitialized(a),e));break}default:a.syncErrorThrowable=!0,a.destination=new y(_assertThisInitialized(a),e,r,i)}return a}return _createClass(n,[{key:p,value:function(){return this}},{key:"next",value:function(e){this.isStopped||this._next(e)}},{key:"error",value:function(e){this.isStopped||(this.isStopped=!0,this._error(e))}},{key:"complete",value:function(){this.isStopped||(this.isStopped=!0,this._complete())}},{key:"unsubscribe",value:function(){this.closed||(this.isStopped=!0,_get(_getPrototypeOf(n.prototype),"unsubscribe",this).call(this))}},{key:"_next",value:function(e){this.destination.next(e)}},{key:"_error",value:function(e){this.destination.error(e),this.unsubscribe()}},{key:"_complete",value:function(){this.destination.complete(),this.unsubscribe()}},{key:"_unsubscribeAndRecycle",value: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}}],[{key:"create",value:function(e,t,r){var i=new n(e,t,r);return i.syncErrorThrowable=!1,i}}]),n}(d),y=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,a,l){var u,s;_classCallCheck(this,n),(u=t.call(this))._parentSubscriber=e;var c=_assertThisInitialized(u);return r(i)?s=i:i&&(s=i.next,a=i.error,l=i.complete,i!==o&&(r((c=Object.create(i)).unsubscribe)&&u.add(c.unsubscribe.bind(c)),c.unsubscribe=u.unsubscribe.bind(_assertThisInitialized(u)))),u._context=c,u._next=s,u._error=a,u._complete=l,u}return _createClass(n,[{key:"next",value:function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}},{key:"error",value:function(e){if(!this.isStopped){var t=this._parentSubscriber,n=a.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):l(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;l(e)}}}},{key:"complete",value:function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var n=function(){return e._complete.call(e._context)};a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}}},{key:"__tryOrUnsub",value:function(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),a.useDeprecatedSynchronousErrorHandling)throw n;l(n)}}},{key:"__tryOrSetError",value:function(e,t,n){if(!a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(r){return a.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0,!0):(l(r),!0)}return!1}},{key:"_unsubscribe",value:function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}]),n}(g),m="function"==typeof Symbol&&Symbol.observable||"@@observable";function _(){}function k(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return C(t)}function C(e){return e?1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}:_}var w,b=((w=function(){function e(t){_classCallCheck(this,e),this._isScalar=!1,t&&(this._subscribe=t)}return _createClass(e,[{key:"lift",value:function(t){var n=new e;return n.source=this,n.operator=t,n}},{key:"subscribe",value:function(e,t,n){var r=this.operator,i=function(e,t,n){if(e){if(e instanceof g)return e;if(e[p])return e[p]()}return e||t||n?new g(e,t,n):new g(o)}(e,t,n);if(i.add(r?r.call(i,this.source):this.source||a.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),a.useDeprecatedSynchronousErrorHandling&&i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i}},{key:"_trySubscribe",value:function(e){try{return this._subscribe(e)}catch(t){a.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){var t=e,n=t.closed,r=t.destination,i=t.isStopped;if(n||i)return!1;e=r&&r instanceof g?r:null}return!0}(e)?e.error(t):console.warn(t)}}},{key:"forEach",value:function(e,t){var n=this;return new(t=S(t))((function(t,r){var i;i=n.subscribe((function(t){try{e(t)}catch(n){r(n),i&&i.unsubscribe()}}),r,t)}))}},{key:"_subscribe",value:function(e){var t=this.source;return t&&t.subscribe(e)}},{key:m,value:function(){return this}},{key:"pipe",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?this:C(t)(this)}},{key:"toPromise",value:function(e){var t=this;return new(e=S(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(e){return new w(e)},w);function S(e){if(e||(e=a.Promise||Promise),!e)throw new Error("no Promise impl found");return e}function E(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}E.prototype=Object.create(Error.prototype);var x,T=E,A=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this)).subject=e,i.subscriber=r,i.closed=!1,i}return _createClass(n,[{key:"unsubscribe",value: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)}}}}]),n}(d),I=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this,e)).destination=e,r}return n}(g),R=((x=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.call(this)).observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return _createClass(n,[{key:p,value:function(){return new I(this)}},{key:"lift",value:function(e){var t=new N(this,this);return t.operator=e,t}},{key:"next",value:function(e){if(this.closed)throw new T;if(!this.isStopped)for(var t=this.observers,n=t.length,r=t.slice(),i=0;i<n;i++)r[i].next(e)}},{key:"error",value:function(e){if(this.closed)throw new T;this.hasError=!0,this.thrownError=e,this.isStopped=!0;for(var t=this.observers,n=t.length,r=t.slice(),i=0;i<n;i++)r[i].error(e);this.observers.length=0}},{key:"complete",value:function(){if(this.closed)throw new T;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}},{key:"unsubscribe",value:function(){this.isStopped=!0,this.closed=!0,this.observers=null}},{key:"_trySubscribe",value:function(e){if(this.closed)throw new T;return _get(_getPrototypeOf(n.prototype),"_trySubscribe",this).call(this,e)}},{key:"_subscribe",value:function(e){if(this.closed)throw new T;return this.hasError?(e.error(this.thrownError),d.EMPTY):this.isStopped?(e.complete(),d.EMPTY):(this.observers.push(e),new A(this,e))}},{key:"asObservable",value:function(){var e=new b;return e.source=this,e}}]),n}(b)).create=function(e,t){return new N(e,t)},x),N=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this)).destination=e,i.source=r,i}return _createClass(n,[{key:"next",value:function(e){var t=this.destination;t&&t.next&&t.next(e)}},{key:"error",value:function(e){var t=this.destination;t&&t.error&&this.destination.error(e)}},{key:"complete",value:function(){var e=this.destination;e&&e.complete&&this.destination.complete()}},{key:"_subscribe",value:function(e){return this.source?this.source.subscribe(e):d.EMPTY}}]),n}(R);function P(e){return e&&"function"==typeof e.schedule}var O=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var a;return _classCallCheck(this,n),(a=t.call(this)).parent=e,a.outerValue=r,a.outerIndex=i,a.index=0,a}return _createClass(n,[{key:"_next",value:function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}},{key:"_error",value:function(e){this.parent.notifyError(e,this),this.unsubscribe()}},{key:"_complete",value:function(){this.parent.notifyComplete(this),this.unsubscribe()}}]),n}(g),D=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()}},M=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,l),t}};var U="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator",j=function(e){return function(t){for(var n=e[U]();;){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}},L=function(e){return function(t){var n=e[m]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(t)}},H=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 b)return function(t){return e._isScalar?(t.next(e.value),void t.complete()):e.subscribe(t)};if(e&&"function"==typeof e[m])return L(e);if(H(e))return D(e);if(V(e))return M(e);if(e&&"function"==typeof e[U])return j(e);var t=s(e)?"an invalid object":"'".concat(e,"'");throw new TypeError("You provided ".concat(t," where a stream was expected. You can provide an Observable, Promise, Array, or Iterable."))};function z(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:new O(e,n,r);if(!i.closed)return F(t)(i)}var B=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"notifyNext",value:function(e,t,n,r,i){this.destination.next(t)}},{key:"notifyError",value:function(e,t){this.destination.error(e)}},{key:"notifyComplete",value:function(e){this.destination.complete()}}]),n}(g);function q(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 Z(e,t))}}var Z=function(){function e(t,n){_classCallCheck(this,e),this.project=t,this.thisArg=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new W(e,this.project,this.thisArg))}}]),e}(),W=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var a;return _classCallCheck(this,n),(a=t.call(this,e)).project=r,a.count=0,a.thisArg=i||_assertThisInitialized(a),a}return _createClass(n,[{key:"_next",value:function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}]),n}(g);function G(e,t){return new b(t?function(n){var r=new d,i=0;return r.add(t.schedule((function(){i!==e.length?(n.next(e[i++]),n.closed||r.add(this.schedule())):n.complete()}))),r}:D(e))}function Q(e,t){if(!t)return e instanceof b?e:new b(F(e));if(null!=e){if(function(e){return e&&"function"==typeof e[m]}(e))return function(e,t){return new b(t?function(n){var r=new d;return r.add(t.schedule((function(){var i=e[m]();r.add(i.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}:L(e))}(e,t);if(V(e))return function(e,t){return new b(t?function(n){var r=new d;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}:M(e))}(e,t);if(H(e))return G(e,t);if(function(e){return e&&"function"==typeof e[U]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new b(t?function(n){var r,i=new d;return i.add((function(){r&&"function"==typeof r.return&&r.return()})),i.add(t.schedule((function(){r=e[U](),i.add(t.schedule((function(){if(!n.closed){var e,t;try{var i=r.next();e=i.value,t=i.done}catch(a){return void n.error(a)}t?n.complete():(n.next(e),this.schedule())}})))}))),i}:j(e))}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}function K(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof t?function(r){return r.pipe(K((function(n,r){return Q(e(n,r)).pipe(q((function(e,i){return t(n,e,r,i)})))}),n))}:("number"==typeof t&&(n=t),function(t){return t.lift(new J(e,n))})}var J=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;_classCallCheck(this,e),this.project=t,this.concurrent=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new Y(e,this.project,this.concurrent))}}]),e}(),Y=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return _classCallCheck(this,n),(i=t.call(this,e)).project=r,i.concurrent=a,i.hasCompleted=!1,i.buffer=[],i.active=0,i.index=0,i}return _createClass(n,[{key:"_next",value:function(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}},{key:"_tryNext",value:function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(t,e,n)}},{key:"_innerSub",value:function(e,t,n){var r=new O(this,void 0,void 0);this.destination.add(r),z(this,e,t,n,r)}},{key:"_complete",value:function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}},{key:"notifyNext",value:function(e,t,n,r,i){this.destination.next(t)}},{key:"notifyComplete",value: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()}}]),n}(B);function $(e){return e}function X(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return K($,e)}function ee(){return function(e){return e.lift(new te(e))}}var te=function(){function e(t){_classCallCheck(this,e),this.connectable=t}return _createClass(e,[{key:"call",value:function(e,t){var n=this.connectable;n._refCount++;var r=new ne(e,n),i=t.subscribe(r);return r.closed||(r.connection=n.connect()),i}}]),e}(),ne=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this,e)).connectable=r,i}return _createClass(n,[{key:"_unsubscribe",value: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}}]),n}(g),re=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this)).source=e,i.subjectFactory=r,i._refCount=0,i._isComplete=!1,i}return _createClass(n,[{key:"_subscribe",value:function(e){return this.getSubject().subscribe(e)}},{key:"getSubject",value:function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}},{key:"connect",value:function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new d).add(this.source.subscribe(new ae(this.getSubject(),this))),e.closed?(this._connection=null,e=d.EMPTY):this._connection=e),e}},{key:"refCount",value:function(){return ee()(this)}}]),n}(b).prototype,ie={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:re._subscribe},_isComplete:{value:re._isComplete,writable:!0},getSubject:{value:re.getSubject},connect:{value:re.connect},refCount:{value:re.refCount}},ae=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this,e)).connectable=r,i}return _createClass(n,[{key:"_error",value:function(e){this._unsubscribe(),_get(_getPrototypeOf(n.prototype),"_error",this).call(this,e)}},{key:"_complete",value:function(){this.connectable._isComplete=!0,this._unsubscribe(),_get(_getPrototypeOf(n.prototype),"_complete",this).call(this)}},{key:"_unsubscribe",value: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()}}}]),n}(I);function le(){return new R}function oe(e,t,n){var r=function(e){return function(){if(e){var t=e.apply(void 0,arguments);for(var n in t)this[n]=t[n]}}}(t);function i(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(this instanceof i)return r.apply(this,t),this;var a=_construct(i,t);return l.annotation=a,l;function l(e,t,n){for(var r=e.hasOwnProperty("__parameters__")?e.__parameters__:Object.defineProperty(e,"__parameters__",{value:[]}).__parameters__;r.length<=n;)r.push(null);return(r[n]=r[n]||[]).push(a),e}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i}var ue=oe("Inject",(function(e){return{token:e}})),se=oe("Optional"),ce=oe("Self"),he=oe("SkipSelf"),fe=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}({});function de(e){for(var t in e)if(e[t]===de)return t;throw Error("Could not find renamed property on target object.")}function ve(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function pe(e){var t=e[ge];return t&&t.token===e?t:null}var ge=de({ngInjectableDef:de});function ye(e){if("string"==typeof e)return e;if(e instanceof Array)return"["+e.map(ye).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)}var me=de({__forward_ref__:de});function _e(e){return e.__forward_ref__=_e,e.toString=function(){return ye(this())},e}function ke(e){var t=e;return"function"==typeof t&&t.hasOwnProperty(me)&&t.__forward_ref__===_e?t():e}var Ce="undefined"!=typeof globalThis&&globalThis,we="undefined"!=typeof window&&window,be="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Se="undefined"!=typeof global&&global,Ee=Ce||Se||we||be,xe=function(){function e(t,n){_classCallCheck(this,e),this._desc=t,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.ngInjectableDef=ve({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}return _createClass(e,[{key:"toString",value:function(){return"InjectionToken "+this._desc}}]),e}(),Te=new xe("INJECTOR",-1),Ae=new Object,Ie=/\n/gm,Re=de({provide:String,useValue:de}),Ne=void 0;function Pe(e){var t=Ne;return Ne=e,t}function Oe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:fe.Default;return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:fe.Default;if(void 0===Ne)throw new Error("inject() must be called from an injection context");return null===Ne?function(e,t,n){var r=pe(e);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&fe.Optional)return null;throw new Error("Injector: NOT_FOUND [".concat(ye(e),"]"))}(e,0,t):Ne.get(e,t&fe.Optional?null:void 0,t)}(e,t)}var De=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ae;if(t===Ae){var n=new Error("NullInjectorError: No provider for ".concat(ye(e),"!"));throw n.name="NullInjectorError",n}return t}}]),e}();function Me(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;var i=ye(t);if(t instanceof Array)i=t.map(ye).join(" -> ");else if("object"==typeof t){var a=[];for(var l in t)if(t.hasOwnProperty(l)){var o=t[l];a.push(l+":"+("string"==typeof o?JSON.stringify(o):ye(o)))}i="{".concat(a.join(", "),"}")}return"".concat(n).concat(r?"("+r+")":"","[").concat(i,"]: ").concat(e.replace(Ie,"\n "))}var Ue=function e(){_classCallCheck(this,e)},je=function e(){_classCallCheck(this,e)};function Le(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function He(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}var Ve=function(){var e={Emulated:0,Native:1,None:2,ShadowDom:3};return e[e.Emulated]="Emulated",e[e.Native]="Native",e[e.None]="None",e[e.ShadowDom]="ShadowDom",e}(),Fe=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Ee);function ze(e){return e.ngDebugContext}function Be(e){return e.ngOriginalError}function qe(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e.error.apply(e,n)}var Ze=function(){function e(){_classCallCheck(this,e),this._console=console}return _createClass(e,[{key:"handleError",value:function(e){var t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e.ngErrorLogger||qe}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)}},{key:"_findContext",value:function(e){return e?ze(e)?ze(e):this._findContext(Be(e)):null}},{key:"_findOriginalError",value:function(e){for(var t=Be(e);t&&Be(t);)t=Be(t);return t}}]),e}(),We=!0,Ge=!1;function Qe(){return Ge=!0,We}var Ke=function(){function e(t){if(_classCallCheck(this,e),this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertBodyElement=this.inertDocument.body,null==this.inertBodyElement){var n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n),this.inertBodyElement=this.inertDocument.createElement("body"),n.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 _createClass(e,[{key:"getInertBodyElement_XHR",value:function(e){e="<body><remove></remove>"+e+"</body>";try{e=encodeURI(e)}catch(r){return null}var t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(void 0);var n=t.response.body;return n.removeChild(n.firstChild),n}},{key:"getInertBodyElement_DOMParser",value: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(n){return null}}},{key:"getInertBodyElement_InertDocument",value: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)}},{key:"stripCustomNsAttrs",value: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 i=e.firstChild;i;)i.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(i),i=i.nextSibling}}]),e}(),Je=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,Ye=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function $e(e){return(e=String(e)).match(Je)||e.match(Ye)?e:(Qe()&&console.warn("WARNING: sanitizing unsafe URL value ".concat(e," (see http://g.co/ng/security#xss)")),"unsafe:"+e)}function Xe(e){var t,n={},r=_createForOfIteratorHelper(e.split(","));try{for(r.s();!(t=r.n()).done;){n[t.value]=!0}}catch(i){r.e(i)}finally{r.f()}return n}function et(){for(var e={},t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];for(var i=0,a=n;i<a.length;i++){var l=a[i];for(var o in l)l.hasOwnProperty(o)&&(e[o]=!0)}return e}var tt,nt=Xe("area,br,col,hr,img,wbr"),rt=Xe("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),it=Xe("rp,rt"),at=et(it,rt),lt=et(nt,et(rt,Xe("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")),et(it,Xe("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")),at),ot=Xe("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ut=Xe("srcset"),st=et(ot,ut,Xe("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"),Xe("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),ct=Xe("script,style,template"),ht=function(){function e(){_classCallCheck(this,e),this.sanitizedSomething=!1,this.buf=[]}return _createClass(e,[{key:"sanitizeChildren",value:function(e){for(var t=e.firstChild,n=!0;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);var r=this.checkClobberedElement(t,t.nextSibling);if(r){t=r;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}},{key:"startElement",value:function(e){var t=e.nodeName.toLowerCase();if(!lt.hasOwnProperty(t))return this.sanitizedSomething=!0,!ct.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);for(var n,r=e.attributes,i=0;i<r.length;i++){var a=r.item(i),l=a.name,o=l.toLowerCase();if(st.hasOwnProperty(o)){var u=a.value;ot[o]&&(u=$e(u)),ut[o]&&(n=u,u=(n=String(n)).split(",").map((function(e){return $e(e.trim())})).join(", ")),this.buf.push(" ",l,'="',vt(u),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0}},{key:"endElement",value:function(e){var t=e.nodeName.toLowerCase();lt.hasOwnProperty(t)&&!nt.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}},{key:"chars",value:function(e){this.buf.push(vt(e))}},{key:"checkClobberedElement",value: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}(),ft=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,dt=/([^\#-~ |!])/g;function vt(e){return e.replace(/&/g,"&").replace(ft,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(dt,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(/</g,"<").replace(/>/g,">")}function pt(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var gt=function(){var e={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};return e[e.NONE]="NONE",e[e.HTML]="HTML",e[e.STYLE]="STYLE",e[e.SCRIPT]="SCRIPT",e[e.URL]="URL",e[e.RESOURCE_URL]="RESOURCE_URL",e}(),yt=function e(){_classCallCheck(this,e)},mt=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),_t=/^url\(([^)]+)\)$/,kt=/([A-Z])/g;function Ct(e){try{return null!=e?e.toString().slice(0,30):e}catch(t){return"[ERROR] Exception while trying to serialize the value"}}var wt=function(){var e=function e(){_classCallCheck(this,e)};return e.__NG_ELEMENT_ID__=function(){return bt()},e}(),bt=function(){},St=new xe("The presence of this token marks an injector as being the root injector."),Et=function(e,t,n){return new Nt(e,t,n)},xt=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"create",value:function(e,t){return Array.isArray(e)?Et(e,t,""):Et(e.providers,e.parent,e.name||"")}}]),e}();return e.THROW_IF_NOT_FOUND=Ae,e.NULL=new De,e.ngInjectableDef=ve({token:e,providedIn:"any",factory:function(){return Oe(Te)}}),e.__NG_ELEMENT_ID__=-1,e}(),Tt=function(e){return e},At=[],It=Tt,Rt=function(){return Array.prototype.slice.call(arguments)},Nt=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:xt.NULL,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;_classCallCheck(this,e),this.parent=n,this.source=r;var i=this._records=new Map;i.set(xt,{token:xt,fn:Tt,deps:At,value:this,useNew:!1}),i.set(Te,{token:Te,fn:Tt,deps:At,value:this,useNew:!1}),function e(t,n){if(n)if((n=ke(n))instanceof Array)for(var r=0;r<n.length;r++)e(t,n[r]);else{if("function"==typeof n)throw Ot("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw Ot("Unexpected provider",n);var i=ke(n.provide),a=function(e){var t=function(e){var t=At,n=e.deps;if(n&&n.length){t=[];for(var r=0;r<n.length;r++){var i=6,a=ke(n[r]);if(a instanceof Array)for(var l=0,o=a;l<o.length;l++){var u=o[l];u instanceof se||u==se?i|=1:u instanceof he||u==he?i&=-3:u instanceof ce||u==ce?i&=-5:a=u instanceof ue?u.token:ke(u)}t.push({token:a,options:i})}}else if(e.useExisting)t=[{token:ke(e.useExisting),options:6}];else if(!(n||Re in e))throw Ot("'deps' required",e);return t}(e),n=Tt,r=At,i=!1,a=ke(e.provide);if(Re in e)r=e.useValue;else if(e.useFactory)n=e.useFactory;else if(e.useExisting);else if(e.useClass)i=!0,n=ke(e.useClass);else{if("function"!=typeof a)throw Ot("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",e);i=!0,n=a}return{deps:t,fn:n,useNew:i,value:r}}(n);if(!0===n.multi){var l=t.get(i);if(l){if(l.fn!==Rt)throw Pt(i)}else t.set(i,l={token:n.provide,deps:[],useNew:!1,fn:Rt,value:At});i=n,l.deps.push({token:i,options:6})}var o=t.get(i);if(o&&o.fn==Rt)throw Pt(i);t.set(i,a)}}(i,t)}return _createClass(e,[{key:"get",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:fe.Default,r=this._records.get(e);try{return function e(t,n,r,i,a,l){try{return function(t,n,r,i,a,l){var o;if(!n||l&fe.SkipSelf)l&fe.Self||(o=i.get(t,a,fe.Default));else{if((o=n.value)==It)throw Error("\u0275Circular dependency");if(o===At){n.value=It;var u=n.useNew,s=n.fn,c=n.deps,h=At;if(c.length){h=[];for(var f=0;f<c.length;f++){var d=c[f],v=d.options,p=2&v?r.get(d.token):void 0;h.push(e(d.token,p,r,p||4&v?i:xt.NULL,1&v?null:xt.THROW_IF_NOT_FOUND,fe.Default))}}n.value=o=u?_construct(s,_toConsumableArray(h)):s.apply(void 0,h)}}return o}(t,n,r,i,a,l)}catch(o){throw o instanceof Error||(o=new Error(o)),(o.ngTempTokenPath=o.ngTempTokenPath||[]).unshift(t),n&&n.value==It&&(n.value=At),o}}(e,r,this._records,this.parent,t,n)}catch(i){return function(e,t,n,r){var i=e.ngTempTokenPath;throw t.__source&&i.unshift(t.__source),e.message=Me("\n"+e.message,i,"StaticInjectorError",r),e.ngTokenPath=i,e.ngTempTokenPath=null,e}(i,e,0,this.source)}}},{key:"toString",value:function(){var e=[];return this._records.forEach((function(t,n){return e.push(ye(n))})),"StaticInjector[".concat(e.join(", "),"]")}}]),e}();function Pt(e){return Ot("Cannot mix multi providers and regular providers",e)}function Ot(e,t){return new Error(Me(e,t,"StaticInjectorError"))}var Dt=new xe("AnalyzeForEntryComponents"),Mt=null;function Ut(){if(!Mt){var e=Ee.Symbol;if(e&&e.iterator)Mt=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&&(Mt=r)}}return Mt}function jt(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}function Lt(e,t){var n=Vt(e),r=Vt(t);return n&&r?function(e,t,n){for(var r=e[Ut()](),i=t[Ut()]();;){var a=r.next(),l=i.next();if(a.done&&l.done)return!0;if(a.done||l.done)return!1;if(!n(a.value,l.value))return!1}}(e,t,Lt):!(n||!(e&&("object"==typeof e||"function"==typeof e))||r||!(t&&("object"==typeof t||"function"==typeof t)))||jt(e,t)}var Ht=function(){function e(t){_classCallCheck(this,e),this.wrapped=t}return _createClass(e,null,[{key:"wrap",value:function(t){return new e(t)}},{key:"unwrap",value:function(t){return e.isWrapped(t)?t.wrapped:t}},{key:"isWrapped",value:function(t){return t instanceof e}}]),e}();function Vt(e){return!!Ft(e)&&(Array.isArray(e)||!(e instanceof Map)&&Ut()in e)}function Ft(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function zt(e){return!!e&&"function"==typeof e.then}function Bt(e){return!!e&&"function"==typeof e.subscribe}var qt=function(){function e(t,n,r){_classCallCheck(this,e),this.previousValue=t,this.currentValue=n,this.firstChange=r}return _createClass(e,[{key:"isFirstChange",value:function(){return this.firstChange}}]),e}(),Zt=function e(){_classCallCheck(this,e)};function Wt(e){var t=Error("No component factory found for ".concat(ye(e),". Did you add it to @NgModule.entryComponents?"));return t[Gt]=e,t}var Gt="ngComponent",Qt=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"resolveComponentFactory",value:function(e){throw Wt(e)}}]),e}(),Kt=function(){var e=function e(){_classCallCheck(this,e)};return e.NULL=new Qt,e}(),Jt=function(){function e(t,n,r){_classCallCheck(this,e),this._parent=n,this._ngModule=r,this._factories=new Map;for(var i=0;i<t.length;i++){var a=t[i];this._factories.set(a.componentType,a)}}return _createClass(e,[{key:"resolveComponentFactory",value:function(e){var t=this._factories.get(e);if(!t&&this._parent&&(t=this._parent.resolveComponentFactory(e)),!t)throw Wt(e);return new Yt(t,this._ngModule)}}]),e}(),Yt=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this)).factory=e,i.ngModule=r,i.selector=e.selector,i.componentType=e.componentType,i.ngContentSelectors=e.ngContentSelectors,i.inputs=e.inputs,i.outputs=e.outputs,i}return _createClass(n,[{key:"create",value:function(e,t,n,r){return this.factory.create(e,t,n,r||this.ngModule)}}]),n}(Zt);function $t(){}var Xt=function(){var e=function e(t){_classCallCheck(this,e),this.nativeElement=t};return e.__NG_ELEMENT_ID__=function(){return en(e)},e}(),en=$t,tn=function e(){_classCallCheck(this,e)},nn=function(){var e={Important:1,DashCase:2};return e[e.Important]="Important",e[e.DashCase]="DashCase",e}(),rn=function(){var e=function e(){_classCallCheck(this,e)};return e.__NG_ELEMENT_ID__=function(){return an()},e}(),an=$t,ln=new function e(t){_classCallCheck(this,e),this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}("8.2.14"),on=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"supports",value:function(e){return Vt(e)}},{key:"create",value:function(e){return new sn(e)}}]),e}(),un=function(e,t){return t},sn=function(){function e(t){_classCallCheck(this,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=t||un}return _createClass(e,[{key:"forEachItem",value:function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)}},{key:"forEachOperation",value:function(e){for(var t=this._itHead,n=this._removalsHead,r=0,i=null;t||n;){var a=!n||t&&t.currentIndex<dn(n,r,i)?t:n,l=dn(a,r,i),o=a.currentIndex;if(a===n)r--,n=n._nextRemoved;else if(t=t._next,null==a.previousIndex)r++;else{i||(i=[]);var u=l-r,s=o-r;if(u!=s){for(var c=0;c<u;c++){var h=c<i.length?i[c]:i[c]=0,f=h+c;s<=f&&f<u&&(i[c]=h+1)}i[a.previousIndex]=s-u}}l!==o&&e(a,l,o)}}},{key:"forEachPreviousItem",value:function(e){var t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)}},{key:"forEachAddedItem",value:function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}},{key:"forEachMovedItem",value:function(e){var t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)}},{key:"forEachRemovedItem",value:function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}},{key:"forEachIdentityChange",value:function(e){var t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)}},{key:"diff",value:function(e){if(null==e&&(e=[]),!Vt(e))throw new Error("Error trying to diff '".concat(ye(e),"'. Only arrays and iterables are allowed"));return this.check(e)?this:null}},{key:"onDestroy",value:function(){}},{key:"check",value:function(e){var t=this;this._reset();var n,r,i,a=this._itHead,l=!1;if(Array.isArray(e)){this.length=e.length;for(var o=0;o<this.length;o++)r=e[o],i=this._trackByFn(o,r),null!==a&&jt(a.trackById,i)?(l&&(a=this._verifyReinsertion(a,r,i,o)),jt(a.item,r)||this._addIdentityChange(a,r)):(a=this._mismatch(a,r,i,o),l=!0),a=a._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,i=e[Ut()]();!(r=i.next()).done;)t(r.value)}(e,(function(e){i=t._trackByFn(n,e),null!==a&&jt(a.trackById,i)?(l&&(a=t._verifyReinsertion(a,e,i,n)),jt(a.item,e)||t._addIdentityChange(a,e)):(a=t._mismatch(a,e,i,n),l=!0),a=a._next,n++})),this.length=n;return this._truncate(a),this.collection=e,this.isDirty}},{key:"_reset",value:function(){if(this.isDirty){var e,t;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=t)e.previousIndex=e.currentIndex,t=e._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}},{key:"_mismatch",value:function(e,t,n,r){var i;return null===e?i=this._itTail:(i=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(jt(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,i,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(jt(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,i,r)):e=this._addAfter(new cn(t,n),i,r),e}},{key:"_verifyReinsertion",value:function(e,t,n,r){var i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==i?e=this._reinsertAfter(i,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e}},{key:"_truncate",value: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)}},{key:"_reinsertAfter",value:function(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);var r=e._prevRemoved,i=e._nextRemoved;return null===r?this._removalsHead=i:r._nextRemoved=i,null===i?this._removalsTail=r:i._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e}},{key:"_moveAfter",value:function(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}},{key:"_addAfter",value:function(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}},{key:"_insertAfter",value: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 fn),this._linkedRecords.put(e),e.currentIndex=n,e}},{key:"_remove",value:function(e){return this._addToRemovals(this._unlink(e))}},{key:"_unlink",value: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}},{key:"_addToMoves",value:function(e,t){return e.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}},{key:"_addToRemovals",value:function(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new fn),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}},{key:"_addIdentityChange",value:function(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}},{key:"isDirty",get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}}]),e}(),cn=function e(t,n){_classCallCheck(this,e),this.item=t,this.trackById=n,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(){_classCallCheck(this,e),this._head=null,this._tail=null}return _createClass(e,[{key:"add",value: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)}},{key:"get",value:function(e,t){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&jt(n.trackById,e))return n;return null}},{key:"remove",value: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}(),fn=function(){function e(){_classCallCheck(this,e),this.map=new Map}return _createClass(e,[{key:"put",value:function(e){var t=e.trackById,n=this.map.get(t);n||(n=new hn,this.map.set(t,n)),n.add(e)}},{key:"get",value:function(e,t){var n=this.map.get(e);return n?n.get(e,t):null}},{key:"remove",value:function(e){var t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}},{key:"clear",value:function(){this.map.clear()}},{key:"isEmpty",get:function(){return 0===this.map.size}}]),e}();function dn(e,t,n){var r=e.previousIndex;if(null===r)return r;var i=0;return n&&r<n.length&&(i=n[r]),r+t+i}var vn=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"supports",value:function(e){return e instanceof Map||Ft(e)}},{key:"create",value:function(){return new pn}}]),e}(),pn=function(){function e(){_classCallCheck(this,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 _createClass(e,[{key:"forEachItem",value:function(e){var t;for(t=this._mapHead;null!==t;t=t._next)e(t)}},{key:"forEachPreviousItem",value:function(e){var t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)}},{key:"forEachChangedItem",value:function(e){var t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)}},{key:"forEachAddedItem",value:function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}},{key:"forEachRemovedItem",value:function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}},{key:"diff",value:function(e){if(e){if(!(e instanceof Map||Ft(e)))throw new Error("Error trying to diff '".concat(ye(e),"'. Only maps and objects are allowed"))}else e=new Map;return this.check(e)?this:null}},{key:"onDestroy",value:function(){}},{key:"check",value: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 i=t._getOrCreateRecordForKey(r,e);n=t._insertBeforeOrAppend(n,i)}})),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}},{key:"_insertBeforeOrAppend",value: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}},{key:"_getOrCreateRecordForKey",value:function(e,t){if(this._records.has(e)){var n=this._records.get(e);this._maybeAddToChanges(n,t);var r=n._prev,i=n._next;return r&&(r._next=i),i&&(i._prev=r),n._next=null,n._prev=null,n}var a=new gn(e);return this._records.set(e,a),a.currentValue=t,this._addToAdditions(a),a}},{key:"_reset",value:function(){if(this.isDirty){var e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}},{key:"_maybeAddToChanges",value:function(e,t){jt(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}},{key:"_addToAdditions",value:function(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}},{key:"_addToChanges",value:function(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}},{key:"_forEach",value:function(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach((function(n){return t(e[n],n)}))}},{key:"isDirty",get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}}]),e}(),gn=function e(t){_classCallCheck(this,e),this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null},yn=function(){var e=function(){function e(t){_classCallCheck(this,e),this.factories=t}return _createClass(e,[{key:"find",value: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 '".concat(e,"' of type '").concat((t=e).name||typeof t,"'"))}}],[{key:"create",value:function(t,n){if(null!=n){var r=n.factories.slice();t=t.concat(r)}return new e(t)}},{key:"extend",value: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 he,new se]]}}}]),e}();return e.ngInjectableDef=ve({token:e,providedIn:"root",factory:function(){return new e([new on])}}),e}(),mn=function(){var e=function(){function e(t){_classCallCheck(this,e),this.factories=t}return _createClass(e,[{key:"find",value: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 '".concat(e,"'"))}}],[{key:"create",value:function(t,n){if(n){var r=n.factories.slice();t=t.concat(r)}return new e(t)}},{key:"extend",value: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 he,new se]]}}}]),e}();return e.ngInjectableDef=ve({token:e,providedIn:"root",factory:function(){return new e([new vn])}}),e}(),_n=[new vn],kn=new yn([new on]),Cn=new mn(_n),wn=function(){var e=function e(){_classCallCheck(this,e)};return e.__NG_ELEMENT_ID__=function(){return bn(e,Xt)},e}(),bn=$t,Sn=function(){var e=function e(){_classCallCheck(this,e)};return e.__NG_ELEMENT_ID__=function(){return En(e,Xt)},e}(),En=$t;function xn(e,t,n,r){var i="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '".concat(t,"'. Current value: '").concat(n,"'.");return r&&(i+=" 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 Tn(n,t),n}(i,e)}function Tn(e,t){e.ngDebugContext=t,e.ngErrorLogger=t.logError.bind(t)}function An(e){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+e)}function In(e,t,n){var r=e.state,i=1792&r;return i===t?(e.state=-1793&r|n,e.initIndex=-1,!0):i===n}function Rn(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}function Nn(e,t){return e.nodes[t]}function Pn(e,t){return e.nodes[t]}function On(e,t){return e.nodes[t]}function Dn(e,t){return e.nodes[t]}function Mn(e,t){return e.nodes[t]}var Un={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},jn=function(){},Ln=new Map;function Hn(e){var t=Ln.get(e);return t||(t=ye(e)+"_"+Ln.size,Ln.set(e,t)),t}function Vn(e){return{id:"$$undefined",styles:e.styles,encapsulation:e.encapsulation,data:e.data}}var Fn=0;function zn(e,t,n,r){return!(!(2&e.state)&&jt(e.oldValues[t.bindingIndex+n],r))}function Bn(e,t,n,r){return!!zn(e,t,n,r)&&(e.oldValues[t.bindingIndex+n]=r,!0)}function qn(e,t,n,r){var i=e.oldValues[t.bindingIndex+n];if(1&e.state||!Lt(i,r)){var a=t.bindings[n].name;throw xn(Un.createDebugContext(e,t.nodeIndex),"".concat(a,": ").concat(i),"".concat(a,": ").concat(r),0!=(1&e.state))}}function Zn(e){for(var t=e;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function Wn(e,t){for(var n=e;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function Gn(e,t,n,r){try{return Zn(33554432&e.def.nodes[t].flags?Pn(e,t).componentView:e),Un.handleEvent(e,t,n,r)}catch(i){e.root.errorHandler.handleError(i)}}function Qn(e){return e.parent?Pn(e.parent,e.parentNodeDef.nodeIndex):null}function Kn(e){return e.parent?e.parentNodeDef.parent:null}function Jn(e,t){switch(201347067&t.flags){case 1:return Pn(e,t.nodeIndex).renderElement;case 2:return Nn(e,t.nodeIndex).renderText}}function Yn(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function $n(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function Xn(e){var t={},n=0,r={};return e&&e.forEach((function(e){var i=_slicedToArray(e,2),a=i[0],l=i[1];"number"==typeof a?(t[a]=l,n|=function(e){return 1<<e%32}(a)):r[a]=l})),{matchedQueries:t,references:r,matchedQueryIds:n}}function er(e,t){return e.map((function(e){var n,r,i;return Array.isArray(e)?(i=(n=_slicedToArray(e,2))[0],r=n[1]):(i=0,r=e),r&&("function"==typeof r||"object"==typeof r)&&t&&Object.defineProperty(r,"__source",{value:t,configurable:!0}),{flags:i,token:r,tokenKey:Hn(r)}}))}function tr(e,t,n){var r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&r.element.componentRendererType.encapsulation===Ve.Native?Pn(e,n.renderParent.nodeIndex).renderElement:void 0:t}var nr=new WeakMap;function rr(e){var t=nr.get(e);return t||((t=e((function(){return jn}))).factory=e,nr.set(e,t)),t}function ir(e,t,n,r,i){3===t&&(n=e.renderer.parentNode(Jn(e,e.def.lastRenderRootNode))),ar(e,t,0,e.def.nodes.length-1,n,r,i)}function ar(e,t,n,r,i,a,l){for(var o=n;o<=r;o++){var u=e.def.nodes[o];11&u.flags&&or(e,u,t,i,a,l),o+=u.childCount}}function lr(e,t,n,r,i,a){for(var l=e;l&&!Yn(l);)l=l.parent;for(var o=l.parent,u=Kn(l),s=u.nodeIndex+u.childCount,c=u.nodeIndex+1;c<=s;c++){var h=o.def.nodes[c];h.ngContentIndex===t&&or(o,h,n,r,i,a),c+=h.childCount}if(!o.parent){var f=e.root.projectableNodes[t];if(f)for(var d=0;d<f.length;d++)ur(e,f[d],n,r,i,a)}}function or(e,t,n,r,i,a){if(8&t.flags)lr(e,t.ngContent.index,n,r,i,a);else{var l=Jn(e,t);if(3===n&&33554432&t.flags&&48&t.bindingFlags?(16&t.bindingFlags&&ur(e,l,n,r,i,a),32&t.bindingFlags&&ur(Pn(e,t.nodeIndex).componentView,l,n,r,i,a)):ur(e,l,n,r,i,a),16777216&t.flags)for(var o=Pn(e,t.nodeIndex).viewContainer._embeddedViews,u=0;u<o.length;u++)ir(o[u],n,r,i,a);1&t.flags&&!t.element.name&&ar(e,n,t.nodeIndex+1,t.nodeIndex+t.childCount,r,i,a)}}function ur(e,t,n,r,i,a){var l=e.renderer;switch(n){case 1:l.appendChild(r,t);break;case 2:l.insertBefore(r,t,i);break;case 3:l.removeChild(r,t);break;case 0:a.push(t)}}var sr=/^:([^:]+):(.+)$/;function cr(e){if(":"===e[0]){var t=e.match(sr);return[t[1],t[2]]}return["",e]}function hr(e){for(var t=0,n=0;n<e.length;n++)t|=e[n].flags;return t}var fr=new Object,dr=Hn(xt),vr=Hn(Te),pr=Hn(Ue);function gr(e,t,n,r){return n=ke(n),{index:-1,deps:er(r,ye(t)),flags:e,token:t,value:n}}function yr(e,t){var n,r,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:xt.THROW_IF_NOT_FOUND,a=Pe(e);try{if(8&t.flags)return t.token;if(2&t.flags&&(i=null),1&t.flags)return e._parent.get(t.token,i);var l=t.tokenKey;switch(l){case dr:case vr:case pr:return e}var o,u=e._def.providersByKey[l];if(u){var s=e._providers[u.index];return void 0===s&&(s=e._providers[u.index]=mr(e,u)),s===fr?void 0:s}if((o=pe(t.token))&&(n=e,null!=(r=o).providedIn&&(function(e,t){return e._def.modules.indexOf(t)>-1}(n,r.providedIn)||"root"===r.providedIn&&n._def.isRoot))){var c=e._providers.length;return e._def.providers[c]=e._def.providersByKey[t.tokenKey]={flags:5120,value:o.factory,deps:[],index:c,token:t.token},e._providers[c]=fr,e._providers[c]=mr(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?i:e._parent.get(t.token,i)}finally{Pe(a)}}function mr(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(yr(e,n[0]));case 2:return new t(yr(e,n[0]),yr(e,n[1]));case 3:return new t(yr(e,n[0]),yr(e,n[1]),yr(e,n[2]));default:for(var i=new Array(r),a=0;a<r;a++)i[a]=yr(e,n[a]);return _construct(t,i)}}(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(yr(e,n[0]));case 2:return t(yr(e,n[0]),yr(e,n[1]));case 3:return t(yr(e,n[0]),yr(e,n[1]),yr(e,n[2]));default:for(var i=Array(r),a=0;a<r;a++)i[a]=yr(e,n[a]);return t.apply(void 0,i)}}(e,t.value,t.deps);break;case 2048:n=yr(e,t.deps[0]);break;case 256:n=t.value}return n===fr||null===n||"object"!=typeof n||131072&t.flags||"function"!=typeof n.ngOnDestroy||(t.flags|=131072),void 0===n?fr:n}function _r(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,He(n,t),Un.dirtyParentQueries(r),Cr(r),r}function kr(e,t,n){var r=t?Jn(t,t.def.lastRenderRootNode):e.renderElement,i=n.renderer.parentNode(r),a=n.renderer.nextSibling(r);ir(n,2,i,a,void 0)}function Cr(e){ir(e,3,null,null,void 0)}var wr=new Object;function br(e,t,n,r,i,a){return new Sr(e,t,n,r,i,a)}var Sr=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i,a,l,o){var u;return _classCallCheck(this,n),(u=t.call(this)).selector=e,u.componentType=r,u._inputs=a,u._outputs=l,u.ngContentSelectors=o,u.viewDefFactory=i,u}return _createClass(n,[{key:"create",value:function(e,t,n,r){if(!r)throw new Error("ngModule should be provided");var i=rr(this.viewDefFactory),a=i.nodes[0].element.componentProvider.nodeIndex,l=Un.createRootView(e,t||[],n,i,r,wr),o=On(l,a).instance;return n&&l.renderer.setAttribute(Pn(l,0).renderElement,"ng-version",ln.full),new Er(l,new Ir(l),o)}},{key:"inputs",get:function(){var e=[],t=this._inputs;for(var n in t)e.push({propName:n,templateName:t[n]});return e}},{key:"outputs",get:function(){var e=[];for(var t in this._outputs)e.push({propName:t,templateName:this._outputs[t]});return e}}]),n}(Zt),Er=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var a;return _classCallCheck(this,n),(a=t.call(this))._view=e,a._viewRef=r,a._component=i,a._elDef=a._view.def.nodes[0],a.hostView=r,a.changeDetectorRef=r,a.instance=i,a}return _createClass(n,[{key:"destroy",value:function(){this._viewRef.destroy()}},{key:"onDestroy",value:function(e){this._viewRef.onDestroy(e)}},{key:"location",get:function(){return new Xt(Pn(this._view,this._elDef.nodeIndex).renderElement)}},{key:"injector",get:function(){return new Or(this._view,this._elDef)}},{key:"componentType",get:function(){return this._component.constructor}}]),n}(function(){return function e(){_classCallCheck(this,e)}}());function xr(e,t,n){return new Tr(e,t,n)}var Tr=function(){function e(t,n,r){_classCallCheck(this,e),this._view=t,this._elDef=n,this._data=r,this._embeddedViews=[]}return _createClass(e,[{key:"clear",value:function(){for(var e=this._embeddedViews.length-1;e>=0;e--){var t=_r(this._data,e);Un.destroyView(t)}}},{key:"get",value:function(e){var t=this._embeddedViews[e];if(t){var n=new Ir(t);return n.attachToViewContainerRef(this),n}return null}},{key:"createEmbeddedView",value:function(e,t,n){var r=e.createEmbeddedView(t||{});return this.insert(r,n),r}},{key:"createComponent",value:function(e,t,n,r,i){var a=n||this.parentInjector;i||e instanceof Yt||(i=a.get(Ue));var l=e.create(a,r,void 0,i);return this.insert(l.hostView,t),l}},{key:"insert",value:function(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n,r,i,a,l,o=e;return n=this._view,r=this._data,i=t,a=o._view,l=r.viewContainer._embeddedViews,null==i&&(i=l.length),a.viewContainerParent=n,Le(l,i,a),function(e,t){var n=Qn(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,t){if(!(4&t.flags)){e.nodeFlags|=4,t.flags|=4;for(var n=t.parent;n;)n.childFlags|=4,n=n.parent}}(t.parent.def,t.parentNodeDef)}}(r,a),Un.dirtyParentQueries(a),kr(r,i>0?l[i-1]:null,a),o.attachToViewContainerRef(this),e}},{key:"move",value:function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n,r,i,a,l,o=this._embeddedViews.indexOf(e._view);return n=this._data,r=o,i=t,a=n.viewContainer._embeddedViews,l=a[r],He(a,r),null==i&&(i=a.length),Le(a,i,l),Un.dirtyParentQueries(l),Cr(l),kr(n,i>0?a[i-1]:null,l),e}},{key:"indexOf",value:function(e){return this._embeddedViews.indexOf(e._view)}},{key:"remove",value:function(e){var t=_r(this._data,e);t&&Un.destroyView(t)}},{key:"detach",value:function(e){var t=_r(this._data,e);return t?new Ir(t):null}},{key:"element",get:function(){return new Xt(this._data.renderElement)}},{key:"injector",get:function(){return new Or(this._view,this._elDef)}},{key:"parentInjector",get:function(){for(var e=this._view,t=this._elDef.parent;!t&&e;)t=Kn(e),e=e.parent;return e?new Or(e,t):new Or(this._view,null)}},{key:"length",get:function(){return this._embeddedViews.length}}]),e}();function Ar(e){return new Ir(e)}var Ir=function(){function e(t){_classCallCheck(this,e),this._view=t,this._viewContainerRef=null,this._appRef=null}return _createClass(e,[{key:"markForCheck",value:function(){Zn(this._view)}},{key:"detach",value:function(){this._view.state&=-5}},{key:"detectChanges",value:function(){var e=this._view.root.rendererFactory;e.begin&&e.begin();try{Un.checkAndUpdateView(this._view)}finally{e.end&&e.end()}}},{key:"checkNoChanges",value:function(){Un.checkNoChangesView(this._view)}},{key:"reattach",value:function(){this._view.state|=4}},{key:"onDestroy",value:function(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)}},{key:"destroy",value:function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Un.destroyView(this._view)}},{key:"detachFromAppRef",value:function(){this._appRef=null,Cr(this._view),Un.dirtyParentQueries(this._view)}},{key:"attachToAppRef",value:function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}},{key:"attachToViewContainerRef",value:function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}},{key:"rootNodes",get:function(){return ir(this._view,0,void 0,void 0,e=[]),e;var e}},{key:"context",get:function(){return this._view.context}},{key:"destroyed",get:function(){return 0!=(128&this._view.state)}}]),e}();function Rr(e,t){return new Nr(e,t)}var Nr=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this))._parentView=e,i._def=r,i}return _createClass(n,[{key:"createEmbeddedView",value:function(e){return new Ir(Un.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))}},{key:"elementRef",get:function(){return new Xt(Pn(this._parentView,this._def.nodeIndex).renderElement)}}]),n}(wn);function Pr(e,t){return new Or(e,t)}var Or=function(){function e(t,n){_classCallCheck(this,e),this.view=t,this.elDef=n}return _createClass(e,[{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:xt.THROW_IF_NOT_FOUND;return Un.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:Hn(e)},t)}}]),e}();function Dr(e){return new Mr(e.renderer)}var Mr=function(){function e(t){_classCallCheck(this,e),this.delegate=t}return _createClass(e,[{key:"selectRootElement",value:function(e){return this.delegate.selectRootElement(e)}},{key:"createElement",value:function(e,t){var n=_slicedToArray(cr(t),2),r=n[0],i=n[1],a=this.delegate.createElement(i,r);return e&&this.delegate.appendChild(e,a),a}},{key:"createViewRoot",value:function(e){return e}},{key:"createTemplateAnchor",value:function(e){var t=this.delegate.createComment("");return e&&this.delegate.appendChild(e,t),t}},{key:"createText",value:function(e,t){var n=this.delegate.createText(t);return e&&this.delegate.appendChild(e,n),n}},{key:"projectNodes",value:function(e,t){for(var n=0;n<t.length;n++)this.delegate.appendChild(e,t[n])}},{key:"attachViewAfter",value:function(e,t){for(var n=this.delegate.parentNode(e),r=this.delegate.nextSibling(e),i=0;i<t.length;i++)this.delegate.insertBefore(n,t[i],r)}},{key:"detachView",value:function(e){for(var t=0;t<e.length;t++){var n=e[t],r=this.delegate.parentNode(n);this.delegate.removeChild(r,n)}}},{key:"destroyView",value:function(e,t){for(var n=0;n<t.length;n++)this.delegate.destroyNode(t[n])}},{key:"listen",value:function(e,t,n){return this.delegate.listen(e,t,n)}},{key:"listenGlobal",value:function(e,t,n){return this.delegate.listen(e,t,n)}},{key:"setElementProperty",value:function(e,t,n){this.delegate.setProperty(e,t,n)}},{key:"setElementAttribute",value:function(e,t,n){var r=_slicedToArray(cr(t),2),i=r[0],a=r[1];null!=n?this.delegate.setAttribute(e,a,n,i):this.delegate.removeAttribute(e,a,i)}},{key:"setBindingDebugInfo",value:function(e,t,n){}},{key:"setElementClass",value:function(e,t,n){n?this.delegate.addClass(e,t):this.delegate.removeClass(e,t)}},{key:"setElementStyle",value:function(e,t,n){null!=n?this.delegate.setStyle(e,t,n):this.delegate.removeStyle(e,t)}},{key:"invokeElementMethod",value:function(e,t,n){e[t].apply(e,n)}},{key:"setText",value:function(e,t){this.delegate.setValue(e,t)}},{key:"animate",value:function(){throw new Error("Renderer.animate is no longer supported!")}}]),e}();function Ur(e,t,n,r){return new jr(e,t,n,r)}var jr=function(){function e(t,n,r,i){_classCallCheck(this,e),this._moduleType=t,this._parent=n,this._bootstrapComponents=r,this._def=i,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 i=t.providers[r];4096&i.flags||void 0===n[r]&&(n[r]=mr(e,i))}}(this)}return _createClass(e,[{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:xt.THROW_IF_NOT_FOUND,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:fe.Default,r=0;return n&fe.SkipSelf?r|=1:n&fe.Self&&(r|=4),yr(this,{token:e,tokenKey:Hn(e),flags:r},t)}},{key:"destroy",value:function(){if(this._destroyed)throw new Error("The ng module ".concat(ye(this.instance.constructor)," has already been destroyed."));this._destroyed=!0,function(e,t){for(var n=e._def,r=new Set,i=0;i<n.providers.length;i++)if(131072&n.providers[i].flags){var a=e._providers[i];if(a&&a!==fr){var l=a.ngOnDestroy;"function"!=typeof l||r.has(a)||(l.apply(a),r.add(a))}}}(this),this._destroyListeners.forEach((function(e){return e()}))}},{key:"onDestroy",value:function(e){this._destroyListeners.push(e)}},{key:"instance",get:function(){return this.get(this._moduleType)}},{key:"componentFactoryResolver",get:function(){return this.get(Kt)}}]),e}(),Lr=Hn((function e(){_classCallCheck(this,e)})),Hr=Hn(rn),Vr=Hn(Xt),Fr=Hn(Sn),zr=Hn(wn),Br=Hn(wt),qr=Hn(xt),Zr=Hn(Te);function Wr(e,t,n,r,i,a,l,o){var u=[];if(l)for(var s in l){var c=_slicedToArray(l[s],2),h=c[0],f=c[1];u[h]={flags:8,name:s,nonMinifiedName:f,ns:null,securityContext:null,suffix:null}}var d=[];if(o)for(var v in o)d.push({type:1,propName:v,target:null,eventName:o[v]});return function(e,t,n,r,i,a,l,o,u){var s=Xn(n),c=s.matchedQueries,h=s.references,f=s.matchedQueryIds;u||(u=[]),o||(o=[]),a=ke(a);var d=er(l,ye(i));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:c,matchedQueryIds:f,references:h,ngContentIndex:-1,childCount:r,bindings:o,bindingFlags:hr(o),outputs:u,element:null,provider:{token:i,value:a,deps:d},text:null,query:null,ngContent:null}}(e,t|=16384,n,r,i,i,a,u,d)}function Gr(e,t){return Yr(e,t)}function Qr(e,t){for(var n=e;n.parent&&!Yn(n);)n=n.parent;return $r(n.parent,Kn(n),!0,t.provider.value,t.provider.deps)}function Kr(e,t){var n=$r(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 i=t.outputs[r],a=n[i.propName];if(!Bt(a))throw new Error("@Output ".concat(i.propName," not initialized in '").concat(n.constructor.name,"'."));var l=a.subscribe(Jr(e,t.parent.nodeIndex,i.eventName));e.disposables[t.outputIndex+r]=l.unsubscribe.bind(l)}return n}function Jr(e,t,n){return function(r){return Gn(e,t,n,r)}}function Yr(e,t){var n=(8192&t.flags)>0,r=t.provider;switch(201347067&t.flags){case 512:return $r(e,t.parent,n,r.value,r.deps);case 1024:return function(e,t,n,r,i){var a=i.length;switch(a){case 0:return r();case 1:return r(ei(e,t,n,i[0]));case 2:return r(ei(e,t,n,i[0]),ei(e,t,n,i[1]));case 3:return r(ei(e,t,n,i[0]),ei(e,t,n,i[1]),ei(e,t,n,i[2]));default:for(var l=Array(a),o=0;o<a;o++)l[o]=ei(e,t,n,i[o]);return r.apply(void 0,l)}}(e,t.parent,n,r.value,r.deps);case 2048:return ei(e,t.parent,n,r.deps[0]);case 256:return r.value}}function $r(e,t,n,r,i){var a=i.length;switch(a){case 0:return new r;case 1:return new r(ei(e,t,n,i[0]));case 2:return new r(ei(e,t,n,i[0]),ei(e,t,n,i[1]));case 3:return new r(ei(e,t,n,i[0]),ei(e,t,n,i[1]),ei(e,t,n,i[2]));default:for(var l=new Array(a),o=0;o<a;o++)l[o]=ei(e,t,n,i[o]);return _construct(r,l)}}var Xr={};function ei(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:xt.THROW_IF_NOT_FOUND;if(8&r.flags)return r.token;var a=e;2&r.flags&&(i=null);var l=r.tokenKey;l===Br&&(n=!(!t||!t.element.componentView)),t&&1&r.flags&&(n=!1,t=t.parent);for(var o=e;o;){if(t)switch(l){case Lr:return Dr(ti(o,t,n));case Hr:return ti(o,t,n).renderer;case Vr:return new Xt(Pn(o,t.nodeIndex).renderElement);case Fr:return Pn(o,t.nodeIndex).viewContainer;case zr:if(t.element.template)return Pn(o,t.nodeIndex).template;break;case Br:return Ar(ti(o,t,n));case qr:case Zr:return Pr(o,t);default:var u=(n?t.element.allProviders:t.element.publicProviders)[l];if(u){var s=On(o,u.nodeIndex);return s||(s={instance:Yr(o,u)},o.nodes[u.nodeIndex]=s),s.instance}}n=Yn(o),t=Kn(o),o=o.parent,4&r.flags&&(o=null)}var c=a.root.injector.get(r.token,Xr);return c!==Xr||i===Xr?c:a.root.ngModule.injector.get(r.token,i)}function ti(e,t,n){var r;if(n)r=Pn(e,t.nodeIndex).componentView;else for(r=e;r.parent&&!Yn(r);)r=r.parent;return r}function ni(e,t,n,r,i,a){if(32768&n.flags){var l=Pn(e,n.parent.nodeIndex).componentView;2&l.def.flags&&(l.state|=8)}if(t.instance[n.bindings[r].name]=i,524288&n.flags){a=a||{};var o=Ht.unwrap(e.oldValues[n.bindingIndex+r]);a[n.bindings[r].nonMinifiedName]=new qt(o,i,0!=(2&e.state))}return e.oldValues[n.bindingIndex+r]=i,a}function ri(e,t){if(e.def.nodeFlags&t)for(var n=e.def.nodes,r=0,i=0;i<n.length;i++){var a=n[i],l=a.parent;for(!l&&a.flags&t&&ai(e,i,a.flags&t,r++),0==(a.childFlags&t)&&(i+=a.childCount);l&&1&l.flags&&i===l.nodeIndex+l.childCount;)l.directChildFlags&t&&(r=ii(e,l,t,r)),l=l.parent}}function ii(e,t,n,r){for(var i=t.nodeIndex+1;i<=t.nodeIndex+t.childCount;i++){var a=e.def.nodes[i];a.flags&n&&ai(e,i,a.flags&n,r++),i+=a.childCount}return r}function ai(e,t,n,r){var i=On(e,t);if(i){var a=i.instance;a&&(Un.setCurrentNode(e,t),1048576&n&&Rn(e,512,r)&&a.ngAfterContentInit(),2097152&n&&a.ngAfterContentChecked(),4194304&n&&Rn(e,768,r)&&a.ngAfterViewInit(),8388608&n&&a.ngAfterViewChecked(),131072&n&&a.ngOnDestroy())}}var li=new xe("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return Fe}}),oi={},ui=function(){var e={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,FirstDayOfWeek:8,WeekendRange:9,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,CurrencySymbol:15,CurrencyName:16,Currencies:17,PluralCase:18,ExtraData:19};return e[e.LocaleId]="LocaleId",e[e.DayPeriodsFormat]="DayPeriodsFormat",e[e.DayPeriodsStandalone]="DayPeriodsStandalone",e[e.DaysFormat]="DaysFormat",e[e.DaysStandalone]="DaysStandalone",e[e.MonthsFormat]="MonthsFormat",e[e.MonthsStandalone]="MonthsStandalone",e[e.Eras]="Eras",e[e.FirstDayOfWeek]="FirstDayOfWeek",e[e.WeekendRange]="WeekendRange",e[e.DateFormat]="DateFormat",e[e.TimeFormat]="TimeFormat",e[e.DateTimeFormat]="DateTimeFormat",e[e.NumberSymbols]="NumberSymbols",e[e.NumberFormats]="NumberFormats",e[e.CurrencySymbol]="CurrencySymbol",e[e.CurrencyName]="CurrencyName",e[e.Currencies]="Currencies",e[e.PluralCase]="PluralCase",e[e.ExtraData]="ExtraData",e}(),si=void 0,ci=["en",[["a","p"],["AM","PM"],si],[["AM","PM"],si,si],[["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"]],si,[["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"]],si,[["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}",si,"{1} 'at' {0}",si],[".",",",";","%","+","-","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}],hi=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return _classCallCheck(this,n),(e=t.call(this)).__isAsync=r,e}return _createClass(n,[{key:"emit",value:function(e){_get(_getPrototypeOf(n.prototype),"next",this).call(this,e)}},{key:"subscribe",value:function(e,t,r){var i,a=function(e){return null},l=function(){return null};e&&"object"==typeof e?(i=this.__isAsync?function(t){setTimeout((function(){return e.next(t)}))}:function(t){e.next(t)},e.error&&(a=this.__isAsync?function(t){setTimeout((function(){return e.error(t)}))}:function(t){e.error(t)}),e.complete&&(l=this.__isAsync?function(){setTimeout((function(){return e.complete()}))}:function(){e.complete()})):(i=this.__isAsync?function(t){setTimeout((function(){return e(t)}))}:function(t){e(t)},t&&(a=this.__isAsync?function(e){setTimeout((function(){return t(e)}))}:function(e){t(e)}),r&&(l=this.__isAsync?function(){setTimeout((function(){return r()}))}:function(){r()}));var o=_get(_getPrototypeOf(n.prototype),"subscribe",this).call(this,i,a,l);return e instanceof d&&e.add(o),o}}]),n}(R);function fi(){return this._results[Ut()]()}var di=function(){function e(){_classCallCheck(this,e),this.dirty=!0,this._results=[],this.changes=new hi,this.length=0;var t=Ut(),n=e.prototype;n[t]||(n[t]=fi)}return _createClass(e,[{key:"map",value:function(e){return this._results.map(e)}},{key:"filter",value:function(e){return this._results.filter(e)}},{key:"find",value:function(e){return this._results.find(e)}},{key:"reduce",value:function(e,t){return this._results.reduce(e,t)}},{key:"forEach",value:function(e){this._results.forEach(e)}},{key:"some",value:function(e){return this._results.some(e)}},{key:"toArray",value:function(){return this._results.slice()}},{key:"toString",value:function(){return this._results.toString()}},{key:"reset",value:function(e){this._results=function e(t,n){void 0===n&&(n=t);for(var r=0;r<t.length;r++){var i=t[r];Array.isArray(i)?(n===t&&(n=t.slice(0,r)),e(i,n)):n!==t&&n.push(i)}return n}(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]}},{key:"notifyOnChanges",value:function(){this.changes.emit(this)}},{key:"setDirty",value:function(){this.dirty=!0}},{key:"destroy",value:function(){this.changes.complete(),this.changes.unsubscribe()}}]),e}(),vi=new xe("Application Initializer"),pi=function(){function e(t){var n=this;_classCallCheck(this,e),this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise((function(e,t){n.resolve=e,n.reject=t}))}return _createClass(e,[{key:"runInitializers",value: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 i=this.appInits[r]();zt(i)&&t.push(i)}Promise.all(t).then((function(){n()})).catch((function(t){e.reject(t)})),0===t.length&&n(),this.initialized=!0}}}]),e}(),gi=new xe("AppId");function yi(){return"".concat(mi()).concat(mi()).concat(mi())}function mi(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var _i=new xe("Platform Initializer"),ki=new xe("Platform ID"),Ci=new xe("appBootstrapListener"),wi=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"log",value:function(e){console.log(e)}},{key:"warn",value:function(e){console.warn(e)}}]),e}(),bi=new xe("LocaleId");function Si(){throw new Error("Runtime compiler is not loaded")}var Ei,xi,Ti=Si,Ai=Si,Ii=Si,Ri=Si,Ni=function(){function e(){_classCallCheck(this,e),this.compileModuleSync=Ti,this.compileModuleAsync=Ai,this.compileModuleAndAllComponentsSync=Ii,this.compileModuleAndAllComponentsAsync=Ri}return _createClass(e,[{key:"clearCache",value:function(){}},{key:"clearCacheFor",value:function(e){}},{key:"getModuleId",value:function(e){}}]),e}(),Pi=function e(){_classCallCheck(this,e)};var Oi,Di=!(!(Oi=Ee.wtf)||(Ei=Oi.trace,!Ei)||(xi=Ei.events,0));function Mi(e,t){return null}var Ui=Di?function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return xi.createScope(e,t)}:function(e,t){return Mi},ji=Di?function(e,t){return Ei.leaveScope(e,t),t}:function(e,t){return t},Li=Promise.resolve(0);function Hi(e){"undefined"==typeof Zone?Li.then((function(){e&&e.apply(null,null)})):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}var Vi=function(){function e(t){var n,r=t.enableLongStackTrace,i=void 0!==r&&r;if(_classCallCheck(this,e),this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new hi(!1),this.onMicrotaskEmpty=new hi(!1),this.onStable=new hi(!1),this.onError=new hi(!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)),i&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),(n=this)._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(e,t,r,i,a,l){try{return qi(n),e.invokeTask(r,i,a,l)}finally{Zi(n)}},onInvoke:function(e,t,r,i,a,l,o){try{return qi(n),e.invoke(r,i,a,l,o)}finally{Zi(n)}},onHasTask:function(e,t,r,i){e.hasTask(r,i),t===r&&("microTask"==i.change?(n.hasPendingMicrotasks=i.microTask,Bi(n)):"macroTask"==i.change&&(n.hasPendingMacrotasks=i.macroTask))},onHandleError:function(e,t,r,i){return e.handleError(r,i),n.runOutsideAngular((function(){return n.onError.emit(i)})),!1}})}return _createClass(e,[{key:"run",value:function(e,t,n){return this._inner.run(e,t,n)}},{key:"runTask",value:function(e,t,n,r){var i=this._inner,a=i.scheduleEventTask("NgZoneEvent: "+r,e,zi,Fi,Fi);try{return i.runTask(a,t,n)}finally{i.cancelTask(a)}}},{key:"runGuarded",value:function(e,t,n){return this._inner.runGuarded(e,t,n)}},{key:"runOutsideAngular",value:function(e){return this._outer.run(e)}}],[{key:"isInAngularZone",value:function(){return!0===Zone.current.get("isAngularZone")}},{key:"assertInAngularZone",value:function(){if(!e.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}},{key:"assertNotInAngularZone",value:function(){if(e.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}}]),e}();function Fi(){}var zi={};function Bi(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 qi(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Zi(e){e._nesting--,Bi(e)}var Wi,Gi=function(){function e(){_classCallCheck(this,e),this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new hi,this.onMicrotaskEmpty=new hi,this.onStable=new hi,this.onError=new hi}return _createClass(e,[{key:"run",value:function(e){return e()}},{key:"runGuarded",value:function(e){return e()}},{key:"runOutsideAngular",value:function(e){return e()}},{key:"runTask",value:function(e){return e()}}]),e}(),Qi=function(){function e(t){var n=this;_classCallCheck(this,e),this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run((function(){n.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")}))}return _createClass(e,[{key:"_watchAngularEvents",value: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(){Vi.assertNotInAngularZone(),Hi((function(){e._isZoneStable=!0,e._runCallbacksIfReady()}))}})}))}},{key:"increasePendingRequestCount",value:function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}},{key:"decreasePendingRequestCount",value:function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}},{key:"isStable",value:function(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}},{key:"_runCallbacksIfReady",value:function(){var e=this;if(this.isStable())Hi((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}}},{key:"getPendingTasks",value:function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map((function(e){return{source:e.source,creationLocation:e.creationLocation,data:e.data}})):[]}},{key:"addCallback",value:function(e,t,n){var r=this,i=-1;t&&t>0&&(i=setTimeout((function(){r._callbacks=r._callbacks.filter((function(e){return e.timeoutId!==i})),e(r._didWork,r.getPendingTasks())}),t)),this._callbacks.push({doneCb:e,timeoutId:i,updateCb:n})}},{key:"whenStable",value: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()}},{key:"getPendingRequestCount",value:function(){return this._pendingCount}},{key:"findProviders",value:function(e,t,n){return[]}}]),e}(),Ki=function(){function e(){_classCallCheck(this,e),this._applications=new Map,Ji.addToWindow(this)}return _createClass(e,[{key:"registerApplication",value:function(e,t){this._applications.set(e,t)}},{key:"unregisterApplication",value:function(e){this._applications.delete(e)}},{key:"unregisterAllApplications",value:function(){this._applications.clear()}},{key:"getTestability",value:function(e){return this._applications.get(e)||null}},{key:"getAllTestabilities",value:function(){return Array.from(this._applications.values())}},{key:"getAllRootElements",value:function(){return Array.from(this._applications.keys())}},{key:"findTestabilityInTree",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Ji.findTestabilityInTree(this,e,t)}}]),e}(),Ji=new(function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"addToWindow",value:function(e){}},{key:"findTestabilityInTree",value:function(e,t,n){return null}}]),e}()),Yi=new xe("AllowMultipleToken"),$i=function e(t,n){_classCallCheck(this,e),this.name=t,this.token=n};function Xi(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r="Platform: "+t,i=new xe(r);return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],a=ea();if(!a||a.injector.get(Yi,!1))if(e)e(n.concat(t).concat({provide:i,useValue:!0}));else{var l=n.concat(t).concat({provide:i,useValue:!0});!function(e){if(Wi&&!Wi.destroyed&&!Wi.injector.get(Yi,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Wi=e.get(ta);var t=e.get(_i,null);t&&t.forEach((function(e){return e()}))}(xt.create({providers:l,name:r}))}return function(e){var t=ea();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}(i)}}function ea(){return Wi&&!Wi.destroyed?Wi:null}var ta=function(){function e(t){_classCallCheck(this,e),this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return _createClass(e,[{key:"bootstrapModuleFactory",value:function(e,t){var n,r=this,i="noop"===(n=t?t.ngZone:void 0)?new Gi:("zone.js"===n?void 0:n)||new Vi({enableLongStackTrace:Qe()}),a=[{provide:Vi,useValue:i}];return i.run((function(){var t=xt.create({providers:a,parent:r.injector,name:e.moduleType.name}),n=e.create(t),l=n.injector.get(Ze,null);if(!l)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy((function(){return aa(r._modules,n)})),i.runOutsideAngular((function(){return i.onError.subscribe({next:function(e){l.handleError(e)}})})),function(e,t,i){try{var a=((l=n.injector.get(pi)).runInitializers(),l.donePromise.then((function(){return r._moduleDoBootstrap(n),n})));return zt(a)?a.catch((function(n){throw t.runOutsideAngular((function(){return e.handleError(n)})),n})):a}catch(o){throw t.runOutsideAngular((function(){return e.handleError(o)})),o}var l}(l,i)}))}},{key:"bootstrapModule",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=na({},n);return function(e,t,n){return e.get(Pi).createCompiler([t]).compileModuleAsync(n)}(this.injector,r,e).then((function(e){return t.bootstrapModuleFactory(e,r)}))}},{key:"_moduleDoBootstrap",value:function(e){var t=e.injector.get(ia);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach((function(e){return t.bootstrap(e)}));else{if(!e.instance.ngDoBootstrap)throw new Error("The module ".concat(ye(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)}},{key:"onDestroy",value:function(e){this._destroyListeners.push(e)}},{key:"destroy",value: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}},{key:"injector",get:function(){return this._injector}},{key:"destroyed",get:function(){return this._destroyed}}]),e}();function na(e,t){return Array.isArray(t)?t.reduce(na,e):Object.assign({},e,t)}var ra,ia=((ra=function(){function e(t,n,r,i,a,l){var o=this;_classCallCheck(this,e),this._zone=t,this._console=n,this._injector=r,this._exceptionHandler=i,this._componentFactoryResolver=a,this._initStatus=l,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Qe(),this._zone.onMicrotaskEmpty.subscribe({next:function(){o._zone.run((function(){o.tick()}))}});var u=new b((function(e){o._stable=o._zone.isStable&&!o._zone.hasPendingMacrotasks&&!o._zone.hasPendingMicrotasks,o._zone.runOutsideAngular((function(){e.next(o._stable),e.complete()}))})),s=new b((function(e){var t;o._zone.runOutsideAngular((function(){t=o._zone.onStable.subscribe((function(){Vi.assertNotInAngularZone(),Hi((function(){o._stable||o._zone.hasPendingMacrotasks||o._zone.hasPendingMicrotasks||(o._stable=!0,e.next(!0))}))}))}));var n=o._zone.onUnstable.subscribe((function(){Vi.assertInAngularZone(),o._stable&&(o._stable=!1,o._zone.runOutsideAngular((function(){e.next(!1)})))}));return function(){t.unsubscribe(),n.unsubscribe()}}));this.isStable=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=Number.POSITIVE_INFINITY,i=null,a=t[t.length-1];return P(a)?(i=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(r=t.pop())):"number"==typeof a&&(r=t.pop()),null===i&&1===t.length&&t[0]instanceof b?t[0]:X(r)(G(t,i))}(u,s.pipe((function(e){return ee()((t=le,function(e){var n;n="function"==typeof t?t:function(){return t};var r=Object.create(e,ie);return r.source=e,r.subjectFactory=n,r})(e));var t})))}return _createClass(e,[{key:"bootstrap",value: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 Zt?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var i=n instanceof Yt?null:this._injector.get(Ue),a=n.create(xt.NULL,[],t||n.selector,i);a.onDestroy((function(){r._unloadComponent(a)}));var l=a.injector.get(Qi,null);return l&&a.injector.get(Ki).registerApplication(a.location.nativeElement,l),this._loadComponent(a),Qe()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),a}},{key:"tick",value:function(){var t=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=e._tickScope();try{this._runningTick=!0;var r,i=_createForOfIteratorHelper(this._views);try{for(i.s();!(r=i.n()).done;)r.value.detectChanges()}catch(o){i.e(o)}finally{i.f()}if(this._enforceNoNewChanges){var a,l=_createForOfIteratorHelper(this._views);try{for(l.s();!(a=l.n()).done;)a.value.checkNoChanges()}catch(o){l.e(o)}finally{l.f()}}}catch(u){this._zone.runOutsideAngular((function(){return t._exceptionHandler.handleError(u)}))}finally{this._runningTick=!1,ji(n)}}},{key:"attachView",value:function(e){var t=e;this._views.push(t),t.attachToAppRef(this)}},{key:"detachView",value:function(e){var t=e;aa(this._views,t),t.detachFromAppRef()}},{key:"_loadComponent",value:function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Ci,[]).concat(this._bootstrapListeners).forEach((function(t){return t(e)}))}},{key:"_unloadComponent",value:function(e){this.detachView(e.hostView),aa(this.components,e)}},{key:"ngOnDestroy",value:function(){this._views.slice().forEach((function(e){return e.destroy()}))}},{key:"viewCount",get:function(){return this._views.length}}]),e}())._tickScope=Ui("ApplicationRef#tick()"),ra);function aa(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var la=function e(){_classCallCheck(this,e)},oa=function e(){_classCallCheck(this,e)},ua={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},sa=function(){function e(t,n){_classCallCheck(this,e),this._compiler=t,this._config=n||ua}return _createClass(e,[{key:"load",value:function(e){return this._compiler instanceof Ni?this.loadFactory(e):this.loadAndCompile(e)}},{key:"loadAndCompile",value:function(e){var t=this,r=_slicedToArray(e.split("#"),2),i=r[0],a=r[1];return void 0===a&&(a="default"),n("zn8P")(i).then((function(e){return e[a]})).then((function(e){return ca(e,i,a)})).then((function(e){return t._compiler.compileModuleAsync(e)}))}},{key:"loadFactory",value:function(e){var t=_slicedToArray(e.split("#"),2),r=t[0],i=t[1],a="NgFactory";return void 0===i&&(i="default",a=""),n("zn8P")(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then((function(e){return e[i+a]})).then((function(e){return ca(e,r,i)}))}}]),e}();function ca(e,t,n){if(!e)throw new Error("Cannot find '".concat(n,"' in '").concat(t,"'"));return e}var ha=function e(t,n){_classCallCheck(this,e),this.name=t,this.callback=n},fa=function(){function e(t,n,r){_classCallCheck(this,e),this.listeners=[],this.parent=null,this._debugContext=r,this.nativeNode=t,n&&n instanceof da&&n.addChild(this)}return _createClass(e,[{key:"injector",get:function(){return this._debugContext.injector}},{key:"componentInstance",get:function(){return this._debugContext.component}},{key:"context",get:function(){return this._debugContext.context}},{key:"references",get:function(){return this._debugContext.references}},{key:"providerTokens",get:function(){return this._debugContext.providerTokens}}]),e}(),da=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var a;return _classCallCheck(this,n),(a=t.call(this,e,r,i)).properties={},a.attributes={},a.classes={},a.styles={},a.childNodes=[],a.nativeElement=e,a}return _createClass(n,[{key:"addChild",value:function(e){e&&(this.childNodes.push(e),e.parent=this)}},{key:"removeChild",value:function(e){var t=this.childNodes.indexOf(e);-1!==t&&(e.parent=null,this.childNodes.splice(t,1))}},{key:"insertChildrenAfter",value:function(e,t){var n,r=this,i=this.childNodes.indexOf(e);-1!==i&&((n=this.childNodes).splice.apply(n,[i+1,0].concat(_toConsumableArray(t))),t.forEach((function(t){t.parent&&t.parent.removeChild(t),e.parent=r})))}},{key:"insertBefore",value: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))}},{key:"query",value:function(e){return this.queryAll(e)[0]||null}},{key:"queryAll",value:function(e){var t=[];return function e(t,r,i){t.childNodes.forEach((function(t){t instanceof n&&(r(t)&&i.push(t),e(t,r,i))}))}(this,e,t),t}},{key:"queryAllNodes",value:function(e){var t=[];return function e(t,r,i){t instanceof n&&t.childNodes.forEach((function(t){r(t)&&i.push(t),t instanceof n&&e(t,r,i)}))}(this,e,t),t}},{key:"triggerEventHandler",value:function(e,t){this.listeners.forEach((function(n){n.name==e&&n.callback(t)}))}},{key:"children",get:function(){return this.childNodes.filter((function(e){return e instanceof n}))}}]),n}(fa),va=new Map,pa=function(e){return va.get(e)||null};function ga(e){va.set(e.nativeNode,e)}var ya=Xi(null,"core",[{provide:ki,useValue:"unknown"},{provide:ta,deps:[xt]},{provide:Ki,deps:[]},{provide:wi,deps:[]}]);function ma(){return kn}function _a(){return Cn}function ka(e){return e||"en-US"}function Ca(e){var t=[];return e.onStable.subscribe((function(){for(;t.length;)t.pop()()})),function(e){t.push(e)}}var wa=function e(t){_classCallCheck(this,e)};function ba(e,t,n,r,i,a){var l,o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:[],u=arguments.length>7?arguments[7]:void 0,s=arguments.length>8?arguments[8]:void 0,c=arguments.length>9?arguments[9]:void 0,h=arguments.length>10?arguments[10]:void 0,f=arguments.length>11?arguments[11]:void 0;c||(c=jn);var d=Xn(n),v=d.matchedQueries,p=d.references,g=d.matchedQueryIds,y=null,m=null;a&&(y=(l=_slicedToArray(cr(a),2))[0],m=l[1]),u=u||[];for(var _=new Array(u.length),k=0;k<u.length;k++){var C=_slicedToArray(u[k],3),w=C[0],b=C[1],S=C[2],E=cr(b),x=_slicedToArray(E,2),T=x[0],A=x[1],I=void 0,R=void 0;switch(15&w){case 4:R=S;break;case 1:case 8:I=S}_[k]={flags:w,ns:T,name:A,nonMinifiedName:A,securityContext:I,suffix:R}}s=s||[];for(var N=new Array(s.length),P=0;P<s.length;P++){var O=_slicedToArray(s[P],2),D=O[0],M=O[1];N[P]={type:0,target:D,eventName:M,propName:null}}var U=(o=o||[]).map((function(e){var t=_slicedToArray(e,2),n=t[0],r=t[1],i=_slicedToArray(cr(n),2);return[i[0],i[1],r]}));return f=function(e){if(e&&"$$undefined"===e.id){var t=null!=e.encapsulation&&e.encapsulation!==Ve.None||e.styles.length||Object.keys(e.data).length;e.id=t?"c"+Fn++:"$$empty"}return e&&"$$empty"===e.id&&(e=null),e||null}(f),h&&(t|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:v,matchedQueryIds:g,references:p,ngContentIndex:r,childCount:i,bindings:_,bindingFlags:hr(_),outputs:N,element:{ns:y,name:m,attrs:U,template:null,componentProvider:null,componentView:h||null,componentRendererType:f,publicProviders:null,allProviders:null,handleEvent:c||jn},provider:null,text:null,query:null,ngContent:null}}function Sa(e,t,n){var r,i=n.element,a=e.root.selectorOrNode,l=e.renderer;if(e.parent||!a){r=i.name?l.createElement(i.name,i.ns):l.createComment("");var o=tr(e,t,n);o&&l.appendChild(o,r)}else r=l.selectRootElement(a,!!i.componentRendererType&&i.componentRendererType.encapsulation===Ve.ShadowDom);if(i.attrs)for(var u=0;u<i.attrs.length;u++){var s=_slicedToArray(i.attrs[u],3),c=s[0],h=s[1],f=s[2];l.setAttribute(r,h,f,c)}return r}function Ea(e,t,n,r){for(var i=0;i<n.outputs.length;i++){var a=n.outputs[i],l=xa(e,n.nodeIndex,(h=a.eventName,(c=a.target)?"".concat(c,":").concat(h):h)),o=a.target,u=e;"component"===a.target&&(o=null,u=t);var s=u.renderer.listen(o||r,a.eventName,l);e.disposables[n.outputIndex+i]=s}var c,h}function xa(e,t,n){return function(r){return Gn(e,t,n,r)}}function Ta(e,t,n,r){if(!Bn(e,t,n,r))return!1;var i=t.bindings[n],a=Pn(e,t.nodeIndex),l=a.renderElement,o=i.name;switch(15&i.flags){case 1:!function(e,t,n,r,i,a){var l=t.securityContext,o=l?e.root.sanitizer.sanitize(l,a):a;o=null!=o?o.toString():null;var u=e.renderer;null!=a?u.setAttribute(n,i,o,r):u.removeAttribute(n,i,r)}(e,i,l,i.ns,o,r);break;case 2:!function(e,t,n,r){var i=e.renderer;r?i.addClass(t,n):i.removeClass(t,n)}(e,l,o,r);break;case 4:!function(e,t,n,r,i){var a=e.root.sanitizer.sanitize(gt.STYLE,i);if(null!=a){a=a.toString();var l=t.suffix;null!=l&&(a+=l)}else a=null;var o=e.renderer;null!=a?o.setStyle(n,r,a):o.removeStyle(n,r)}(e,i,l,o,r);break;case 8:!function(e,t,n,r,i){var a=t.securityContext,l=a?e.root.sanitizer.sanitize(a,i):i;e.renderer.setProperty(n,r,l)}(33554432&t.flags&&32&i.flags?a.componentView:e,i,l,o,r)}return!0}function Aa(e){for(var t=e.def.nodeMatchedQueries;e.parent&&$n(e);){var n=e.parentNodeDef;e=e.parent;for(var r=n.nodeIndex+n.childCount,i=0;i<=r;i++){var a=e.def.nodes[i];67108864&a.flags&&536870912&a.flags&&(a.query.filterId&t)===a.query.filterId&&Mn(e,i).setDirty(),!(1&a.flags&&i+a.childCount<n.nodeIndex)&&67108864&a.childFlags&&536870912&a.childFlags||(i+=a.childCount)}}if(134217728&e.def.nodeFlags)for(var l=0;l<e.def.nodes.length;l++){var o=e.def.nodes[l];134217728&o.flags&&536870912&o.flags&&Mn(e,l).setDirty(),l+=o.childCount}}function Ia(e,t){var n=Mn(e,t.nodeIndex);if(n.dirty){var r,i=void 0;if(67108864&t.flags){var a=t.parent.parent;i=Ra(e,a.nodeIndex,a.nodeIndex+a.childCount,t.query,[]),r=On(e,t.parent.nodeIndex).instance}else 134217728&t.flags&&(i=Ra(e,0,e.def.nodes.length-1,t.query,[]),r=e.component);n.reset(i);for(var l=t.query.bindings,o=!1,u=0;u<l.length;u++){var s=l[u],c=void 0;switch(s.bindingType){case 0:c=n.first;break;case 1:c=n,o=!0}r[s.propName]=c}o&&n.notifyOnChanges()}}function Ra(e,t,n,r,i){for(var a=t;a<=n;a++){var l=e.def.nodes[a],o=l.matchedQueries[r.id];if(null!=o&&i.push(Na(e,l,o)),1&l.flags&&l.element.template&&(l.element.template.nodeMatchedQueries&r.filterId)===r.filterId){var u=Pn(e,a);if((l.childMatchedQueries&r.filterId)===r.filterId&&(Ra(e,a+1,a+l.childCount,r,i),a+=l.childCount),16777216&l.flags)for(var s=u.viewContainer._embeddedViews,c=0;c<s.length;c++){var h=s[c],f=Qn(h);f&&f===u&&Ra(h,0,h.def.nodes.length-1,r,i)}var d=u.template._projectedViews;if(d)for(var v=0;v<d.length;v++){var p=d[v];Ra(p,0,p.def.nodes.length-1,r,i)}}(l.childMatchedQueries&r.filterId)!==r.filterId&&(a+=l.childCount)}return i}function Na(e,t,n){if(null!=n)switch(n){case 1:return Pn(e,t.nodeIndex).renderElement;case 0:return new Xt(Pn(e,t.nodeIndex).renderElement);case 2:return Pn(e,t.nodeIndex).template;case 3:return Pn(e,t.nodeIndex).viewContainer;case 4:return On(e,t.nodeIndex).instance}}function Pa(e,t,n){var r=tr(e,t,n);r&&lr(e,n.ngContent.index,1,r,null,void 0)}function Oa(e,t,n){for(var r=new Array(n.length-1),i=1;i<n.length;i++)r[i-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[i]};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 Da(e,t,n){var r,i=e.renderer;r=i.createText(n.text.prefix);var a=tr(e,t,n);return a&&i.appendChild(a,r),{renderText:r}}function Ma(e,t){return(null!=e?e.toString():"")+t.suffix}function Ua(e,t,n,r){for(var i=0,a=0,l=0,o=0,u=0,s=null,c=null,h=!1,f=!1,d=null,v=0;v<t.length;v++){var p=t[v];if(p.nodeIndex=v,p.parent=s,p.bindingIndex=i,p.outputIndex=a,p.renderParent=c,l|=p.flags,u|=p.matchedQueryIds,p.element){var g=p.element;g.publicProviders=s?s.element.publicProviders:Object.create(null),g.allProviders=g.publicProviders,h=!1,f=!1,p.element.template&&(u|=p.element.template.nodeMatchedQueries)}if(La(s,p,t.length),i+=p.bindings.length,a+=p.outputs.length,!c&&3&p.flags&&(d=p),20224&p.flags){h||(h=!0,s.element.publicProviders=Object.create(s.element.publicProviders),s.element.allProviders=s.element.publicProviders);var y=0!=(32768&p.flags);0==(8192&p.flags)||y?s.element.publicProviders[Hn(p.provider.token)]=p:(f||(f=!0,s.element.allProviders=Object.create(s.element.publicProviders)),s.element.allProviders[Hn(p.provider.token)]=p),y&&(s.element.componentProvider=p)}if(s?(s.childFlags|=p.flags,s.directChildFlags|=p.flags,s.childMatchedQueries|=p.matchedQueryIds,p.element&&p.element.template&&(s.childMatchedQueries|=p.element.template.nodeMatchedQueries)):o|=p.flags,p.childCount>0)s=p,ja(p)||(c=p);else for(;s&&v===s.nodeIndex+s.childCount;){var m=s.parent;m&&(m.childFlags|=s.childFlags,m.childMatchedQueries|=s.childMatchedQueries),c=(s=m)&&ja(s)?s.renderParent:s}}return{factory:null,nodeFlags:l,rootNodeFlags:o,nodeMatchedQueries:u,flags:e,nodes:t,updateDirectives:n||jn,updateRenderer:r||jn,handleEvent:function(e,n,r,i){return t[n].element.handleEvent(e,r,i)},bindingCount:i,outputCount:a,lastRenderRootNode:d}}function ja(e){return 0!=(1&e.flags)&&null===e.element.name}function La(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 ".concat(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 ".concat(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 ".concat(t.nodeIndex,"!"));if(134217728&t.flags&&e)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index ".concat(t.nodeIndex,"!"))}if(t.childCount){var i=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=i&&t.nodeIndex+t.childCount>i)throw new Error("Illegal State: childCount of node leads outside of parent, at index ".concat(t.nodeIndex,"!"))}}function Ha(e,t,n,r){var i=za(e.root,e.renderer,e,t,n);return Ba(i,e.component,r),qa(i),i}function Va(e,t,n){var r=za(e,e.renderer,null,null,t);return Ba(r,n,n),qa(r),r}function Fa(e,t,n,r){var i,a=t.element.componentRendererType;return i=a?e.root.rendererFactory.createRenderer(r,a):e.root.renderer,za(e.root,i,e,t.element.componentProvider,n)}function za(e,t,n,r,i){var a=new Array(i.nodes.length),l=i.outputCount?new Array(i.outputCount):null;return{def:i,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:a,state:13,root:e,renderer:t,oldValues:new Array(i.bindingCount),disposables:l,initIndex:-1}}function Ba(e,t,n){e.component=t,e.context=n}function qa(e){var t;Yn(e)&&(t=Pn(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);for(var n=e.def,r=e.nodes,i=0;i<n.nodes.length;i++){var a=n.nodes[i],l=void 0;switch(Un.setCurrentNode(e,i),201347067&a.flags){case 1:var o=Sa(e,t,a),u=void 0;if(33554432&a.flags){var s=rr(a.element.componentView);u=Un.createComponentView(e,a,s,o)}Ea(e,u,a,o),l={renderElement:o,componentView:u,viewContainer:null,template:a.element.template?Rr(e,a):void 0},16777216&a.flags&&(l.viewContainer=xr(e,a,l));break;case 2:l=Da(e,t,a);break;case 512:case 1024:case 2048:case 256:(l=r[i])||4096&a.flags||(l={instance:Gr(e,a)});break;case 16:l={instance:Qr(e,a)};break;case 16384:(l=r[i])||(l={instance:Kr(e,a)}),32768&a.flags&&Ba(Pn(e,a.parent.nodeIndex).componentView,l.instance,l.instance);break;case 32:case 64:case 128:l={value:void 0};break;case 67108864:case 134217728:l=new di;break;case 8:Pa(e,t,a),l=void 0}r[i]=l}Xa(e,$a.CreateViewNodes),rl(e,201326592,268435456,0)}function Za(e){Qa(e),Un.updateDirectives(e,1),el(e,$a.CheckNoChanges),Un.updateRenderer(e,1),Xa(e,$a.CheckNoChanges),e.state&=-97}function Wa(e){1&e.state?(e.state&=-2,e.state|=2):e.state&=-3,In(e,0,256),Qa(e),Un.updateDirectives(e,0),el(e,$a.CheckAndUpdate),rl(e,67108864,536870912,0);var t=In(e,256,512);ri(e,2097152|(t?1048576:0)),Un.updateRenderer(e,0),Xa(e,$a.CheckAndUpdate),rl(e,134217728,536870912,0),ri(e,8388608|((t=In(e,512,768))?4194304:0)),2&e.def.flags&&(e.state&=-9),e.state&=-97,In(e,768,1024)}function Ga(e,t,n,r,i,a,l,o,u,s,c,h,f){return 0===n?function(e,t,n,r,i,a,l,o,u,s,c,h){switch(201347067&t.flags){case 1:return function(e,t,n,r,i,a,l,o,u,s,c,h){var f=t.bindings.length,d=!1;return f>0&&Ta(e,t,0,n)&&(d=!0),f>1&&Ta(e,t,1,r)&&(d=!0),f>2&&Ta(e,t,2,i)&&(d=!0),f>3&&Ta(e,t,3,a)&&(d=!0),f>4&&Ta(e,t,4,l)&&(d=!0),f>5&&Ta(e,t,5,o)&&(d=!0),f>6&&Ta(e,t,6,u)&&(d=!0),f>7&&Ta(e,t,7,s)&&(d=!0),f>8&&Ta(e,t,8,c)&&(d=!0),f>9&&Ta(e,t,9,h)&&(d=!0),d}(e,t,n,r,i,a,l,o,u,s,c,h);case 2:return function(e,t,n,r,i,a,l,o,u,s,c,h){var f=!1,d=t.bindings,v=d.length;if(v>0&&Bn(e,t,0,n)&&(f=!0),v>1&&Bn(e,t,1,r)&&(f=!0),v>2&&Bn(e,t,2,i)&&(f=!0),v>3&&Bn(e,t,3,a)&&(f=!0),v>4&&Bn(e,t,4,l)&&(f=!0),v>5&&Bn(e,t,5,o)&&(f=!0),v>6&&Bn(e,t,6,u)&&(f=!0),v>7&&Bn(e,t,7,s)&&(f=!0),v>8&&Bn(e,t,8,c)&&(f=!0),v>9&&Bn(e,t,9,h)&&(f=!0),f){var p=t.text.prefix;v>0&&(p+=Ma(n,d[0])),v>1&&(p+=Ma(r,d[1])),v>2&&(p+=Ma(i,d[2])),v>3&&(p+=Ma(a,d[3])),v>4&&(p+=Ma(l,d[4])),v>5&&(p+=Ma(o,d[5])),v>6&&(p+=Ma(u,d[6])),v>7&&(p+=Ma(s,d[7])),v>8&&(p+=Ma(c,d[8])),v>9&&(p+=Ma(h,d[9]));var g=Nn(e,t.nodeIndex).renderText;e.renderer.setValue(g,p)}return f}(e,t,n,r,i,a,l,o,u,s,c,h);case 16384:return function(e,t,n,r,i,a,l,o,u,s,c,h){var f=On(e,t.nodeIndex),d=f.instance,v=!1,p=void 0,g=t.bindings.length;return g>0&&zn(e,t,0,n)&&(v=!0,p=ni(e,f,t,0,n,p)),g>1&&zn(e,t,1,r)&&(v=!0,p=ni(e,f,t,1,r,p)),g>2&&zn(e,t,2,i)&&(v=!0,p=ni(e,f,t,2,i,p)),g>3&&zn(e,t,3,a)&&(v=!0,p=ni(e,f,t,3,a,p)),g>4&&zn(e,t,4,l)&&(v=!0,p=ni(e,f,t,4,l,p)),g>5&&zn(e,t,5,o)&&(v=!0,p=ni(e,f,t,5,o,p)),g>6&&zn(e,t,6,u)&&(v=!0,p=ni(e,f,t,6,u,p)),g>7&&zn(e,t,7,s)&&(v=!0,p=ni(e,f,t,7,s,p)),g>8&&zn(e,t,8,c)&&(v=!0,p=ni(e,f,t,8,c,p)),g>9&&zn(e,t,9,h)&&(v=!0,p=ni(e,f,t,9,h,p)),p&&d.ngOnChanges(p),65536&t.flags&&Rn(e,256,t.nodeIndex)&&d.ngOnInit(),262144&t.flags&&d.ngDoCheck(),v}(e,t,n,r,i,a,l,o,u,s,c,h);case 32:case 64:case 128:return function(e,t,n,r,i,a,l,o,u,s,c,h){var f=t.bindings,d=!1,v=f.length;if(v>0&&Bn(e,t,0,n)&&(d=!0),v>1&&Bn(e,t,1,r)&&(d=!0),v>2&&Bn(e,t,2,i)&&(d=!0),v>3&&Bn(e,t,3,a)&&(d=!0),v>4&&Bn(e,t,4,l)&&(d=!0),v>5&&Bn(e,t,5,o)&&(d=!0),v>6&&Bn(e,t,6,u)&&(d=!0),v>7&&Bn(e,t,7,s)&&(d=!0),v>8&&Bn(e,t,8,c)&&(d=!0),v>9&&Bn(e,t,9,h)&&(d=!0),d){var p,g=Dn(e,t.nodeIndex);switch(201347067&t.flags){case 32:p=new Array(f.length),v>0&&(p[0]=n),v>1&&(p[1]=r),v>2&&(p[2]=i),v>3&&(p[3]=a),v>4&&(p[4]=l),v>5&&(p[5]=o),v>6&&(p[6]=u),v>7&&(p[7]=s),v>8&&(p[8]=c),v>9&&(p[9]=h);break;case 64:p={},v>0&&(p[f[0].name]=n),v>1&&(p[f[1].name]=r),v>2&&(p[f[2].name]=i),v>3&&(p[f[3].name]=a),v>4&&(p[f[4].name]=l),v>5&&(p[f[5].name]=o),v>6&&(p[f[6].name]=u),v>7&&(p[f[7].name]=s),v>8&&(p[f[8].name]=c),v>9&&(p[f[9].name]=h);break;case 128:var y=n;switch(v){case 1:p=y.transform(n);break;case 2:p=y.transform(r);break;case 3:p=y.transform(r,i);break;case 4:p=y.transform(r,i,a);break;case 5:p=y.transform(r,i,a,l);break;case 6:p=y.transform(r,i,a,l,o);break;case 7:p=y.transform(r,i,a,l,o,u);break;case 8:p=y.transform(r,i,a,l,o,u,s);break;case 9:p=y.transform(r,i,a,l,o,u,s,c);break;case 10:p=y.transform(r,i,a,l,o,u,s,c,h)}}g.value=p}return d}(e,t,n,r,i,a,l,o,u,s,c,h);default:throw"unreachable"}}(e,t,r,i,a,l,o,u,s,c,h,f):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){for(var r=!1,i=0;i<n.length;i++)Ta(e,t,i,n[i])&&(r=!0);return r}(e,t,n);case 2:return function(e,t,n){for(var r=t.bindings,i=!1,a=0;a<n.length;a++)Bn(e,t,a,n[a])&&(i=!0);if(i){for(var l="",o=0;o<n.length;o++)l+=Ma(n[o],r[o]);l=t.text.prefix+l;var u=Nn(e,t.nodeIndex).renderText;e.renderer.setValue(u,l)}return i}(e,t,n);case 16384:return function(e,t,n){for(var r=On(e,t.nodeIndex),i=r.instance,a=!1,l=void 0,o=0;o<n.length;o++)zn(e,t,o,n[o])&&(a=!0,l=ni(e,r,t,o,n[o],l));return l&&i.ngOnChanges(l),65536&t.flags&&Rn(e,256,t.nodeIndex)&&i.ngOnInit(),262144&t.flags&&i.ngDoCheck(),a}(e,t,n);case 32:case 64:case 128:return function(e,t,n){for(var r=t.bindings,i=!1,a=0;a<n.length;a++)Bn(e,t,a,n[a])&&(i=!0);if(i){var l,o=Dn(e,t.nodeIndex);switch(201347067&t.flags){case 32:l=n;break;case 64:l={};for(var u=0;u<n.length;u++)l[r[u].name]=n[u];break;case 128:var s=n[0],c=n.slice(1);l=s.transform.apply(s,_toConsumableArray(c))}o.value=l}return i}(e,t,n);default:throw"unreachable"}}(e,t,r)}function Qa(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 i=Pn(e,n).template._projectedViews;if(i)for(var a=0;a<i.length;a++){var l=i[a];l.state|=32,Wn(l,e)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function Ka(e,t,n,r,i,a,l,o,u,s,c,h,f){return 0===n?function(e,t,n,r,i,a,l,o,u,s,c,h){var f=t.bindings.length;f>0&&qn(e,t,0,n),f>1&&qn(e,t,1,r),f>2&&qn(e,t,2,i),f>3&&qn(e,t,3,a),f>4&&qn(e,t,4,l),f>5&&qn(e,t,5,o),f>6&&qn(e,t,6,u),f>7&&qn(e,t,7,s),f>8&&qn(e,t,8,c),f>9&&qn(e,t,9,h)}(e,t,r,i,a,l,o,u,s,c,h,f):function(e,t,n){for(var r=0;r<n.length;r++)qn(e,t,r,n[r])}(e,t,r),!1}function Ja(e,t){if(Mn(e,t.nodeIndex).dirty)throw xn(Un.createDebugContext(e,t.nodeIndex),"Query ".concat(t.query.id," not dirty"),"Query ".concat(t.query.id," dirty"),0!=(1&e.state))}function Ya(e){if(!(128&e.state)){if(el(e,$a.Destroy),Xa(e,$a.Destroy),ri(e,131072),e.disposables)for(var t=0;t<e.disposables.length;t++)e.disposables[t]();!function(e){if(16&e.state){var t=Qn(e);if(t){var n=t.template._projectedViews;n&&(He(n,n.indexOf(e)),Un.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(Pn(e,n).renderElement):2&r.flags?e.renderer.destroyNode(Nn(e,n).renderText):(67108864&r.flags||134217728&r.flags)&&Mn(e,n).destroy()}}(e),Yn(e)&&e.renderer.destroy(),e.state|=128}}var $a=function(){var e={CreateViewNodes:0,CheckNoChanges:1,CheckNoChangesProjectedViews:2,CheckAndUpdate:3,CheckAndUpdateProjectedViews:4,Destroy:5};return e[e.CreateViewNodes]="CreateViewNodes",e[e.CheckNoChanges]="CheckNoChanges",e[e.CheckNoChangesProjectedViews]="CheckNoChangesProjectedViews",e[e.CheckAndUpdate]="CheckAndUpdate",e[e.CheckAndUpdateProjectedViews]="CheckAndUpdateProjectedViews",e[e.Destroy]="Destroy",e}();function Xa(e,t){var n=e.def;if(33554432&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var i=n.nodes[r];33554432&i.flags?tl(Pn(e,r).componentView,t):0==(33554432&i.childFlags)&&(r+=i.childCount)}}function el(e,t){var n=e.def;if(16777216&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var i=n.nodes[r];if(16777216&i.flags)for(var a=Pn(e,r).viewContainer._embeddedViews,l=0;l<a.length;l++)tl(a[l],t);else 0==(16777216&i.childFlags)&&(r+=i.childCount)}}function tl(e,t){var n=e.state;switch(t){case $a.CheckNoChanges:0==(128&n)&&(12==(12&n)?Za(e):64&n&&nl(e,$a.CheckNoChangesProjectedViews));break;case $a.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?Za(e):64&n&&nl(e,t));break;case $a.CheckAndUpdate:0==(128&n)&&(12==(12&n)?Wa(e):64&n&&nl(e,$a.CheckAndUpdateProjectedViews));break;case $a.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?Wa(e):64&n&&nl(e,t));break;case $a.Destroy:Ya(e);break;case $a.CreateViewNodes:qa(e)}}function nl(e,t){el(e,t),Xa(e,t)}function rl(e,t,n,r){if(e.def.nodeFlags&t&&e.def.nodeFlags&n)for(var i=e.def.nodes.length,a=0;a<i;a++){var l=e.def.nodes[a];if(l.flags&t&&l.flags&n)switch(Un.setCurrentNode(e,l.nodeIndex),r){case 0:Ia(e,l);break;case 1:Ja(e,l)}l.childFlags&t&&l.childFlags&n||(a+=l.childCount)}}var il=!1;function al(e,t,n,r,i,a){var l=i.injector.get(tn);return Va(ol(e,i,l,t,n),r,a)}function ll(e,t,n,r,i,a){var l=i.injector.get(tn),o=ol(e,i,new Hl(l),t,n),u=yl(r);return jl(xl.create,Va,null,[o,u,a])}function ol(e,t,n,r,i){var a=t.injector.get(yt),l=t.injector.get(Ze),o=n.createRenderer(null,null);return{ngModule:t,injector:e,projectableNodes:r,selectorOrNode:i,sanitizer:a,rendererFactory:n,renderer:o,errorHandler:l}}function ul(e,t,n,r){var i=yl(n);return jl(xl.create,Ha,null,[e,t,i,r])}function sl(e,t,n,r){return n=dl.get(t.element.componentProvider.provider.token)||yl(n),jl(xl.create,Fa,null,[e,t,n,r])}function cl(e,t,n,r){return Ur(e,t,n,function(e){var t=function(e){var t=!1,n=!1;return 0===hl.size||(e.providers.forEach((function(e){var r=hl.get(e.token);3840&e.flags&&r&&(t=!0,n=n||r.deprecatedBehavior)})),e.modules.forEach((function(e){fl.forEach((function(r,i){pe(i).providedIn===e&&(t=!0,n=n||r.deprecatedBehavior)}))}))),{hasOverrides:t,hasDeprecatedOverrides:n}}(e),n=t.hasOverrides,r=t.hasDeprecatedOverrides;return n?(function(e){for(var t=0;t<e.providers.length;t++){var n=e.providers[t];r&&(n.flags|=4096);var i=hl.get(n.token);i&&(n.flags=-3841&n.flags|i.flags,n.deps=er(i.deps),n.value=i.value)}if(fl.size>0){var a=new Set(e.modules);fl.forEach((function(t,n){if(a.has(pe(n).providedIn)){var i={token:n,flags:t.flags|(r?4096:0),deps:er(t.deps),value:t.value,index:e.providers.length};e.providers.push(i),e.providersByKey[Hn(n)]=i}}))}}(e=e.factory((function(){return jn}))),e):e}(r))}var hl=new Map,fl=new Map,dl=new Map;function vl(e){var t;hl.set(e.token,e),"function"==typeof e.token&&(t=pe(e.token))&&"function"==typeof t.providedIn&&fl.set(e.token,e)}function pl(e,t){var n=rr(t.viewDefFactory),r=rr(n.nodes[0].element.componentView);dl.set(e,r)}function gl(){hl.clear(),fl.clear(),dl.clear()}function yl(e){if(0===hl.size)return e;var t=function(e){for(var t=[],n=null,r=0;r<e.nodes.length;r++){var i=e.nodes[r];1&i.flags&&(n=i),n&&3840&i.flags&&hl.has(i.provider.token)&&(t.push(n.nodeIndex),n=null)}return t}(e);if(0===t.length)return e;e=e.factory((function(){return jn}));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 i=r.provider,a=hl.get(i.token);a&&(r.flags=-3841&r.flags|a.flags,i.deps=er(a.deps),i.value=a.value)}}}}function ml(e,t,n,r,i,a,l,o,u,s,c,h,f){var d=e.def.nodes[t];return Ga(e,d,n,r,i,a,l,o,u,s,c,h,f),224&d.flags?Dn(e,t).value:void 0}function _l(e,t,n,r,i,a,l,o,u,s,c,h,f){var d=e.def.nodes[t];return Ka(e,d,n,r,i,a,l,o,u,s,c,h,f),224&d.flags?Dn(e,t).value:void 0}function kl(e){return jl(xl.detectChanges,Wa,null,[e])}function Cl(e){return jl(xl.checkNoChanges,Za,null,[e])}function wl(e){return jl(xl.destroy,Ya,null,[e])}var bl,Sl,El,xl=function(){var e={create:0,detectChanges:1,checkNoChanges:2,destroy:3,handleEvent:4};return e[e.create]="create",e[e.detectChanges]="detectChanges",e[e.checkNoChanges]="checkNoChanges",e[e.destroy]="destroy",e[e.handleEvent]="handleEvent",e}();function Tl(e,t){Sl=e,El=t}function Al(e,t,n,r){return Tl(e,t),jl(xl.handleEvent,e.def.handleEvent,null,[e,t,n,r])}function Il(e,t){if(128&e.state)throw An(xl[bl]);return Tl(e,Ol(e,0)),e.def.updateDirectives((function(e,n,r){for(var i=e.def.nodes[n],a=arguments.length,l=new Array(a>3?a-3:0),o=3;o<a;o++)l[o-3]=arguments[o];return 0===t?Nl(e,i,r,l):Pl(e,i,r,l),16384&i.flags&&Tl(e,Ol(e,n)),224&i.flags?Dn(e,i.nodeIndex).value:void 0}),e)}function Rl(e,t){if(128&e.state)throw An(xl[bl]);return Tl(e,Dl(e,0)),e.def.updateRenderer((function(e,n,r){for(var i=e.def.nodes[n],a=arguments.length,l=new Array(a>3?a-3:0),o=3;o<a;o++)l[o-3]=arguments[o];return 0===t?Nl(e,i,r,l):Pl(e,i,r,l),3&i.flags&&Tl(e,Dl(e,n)),224&i.flags?Dn(e,i.nodeIndex).value:void 0}),e)}function Nl(e,t,n,r){if(Ga.apply(void 0,[e,t,n].concat(_toConsumableArray(r)))){var i=1===n?r[0]:r;if(16384&t.flags){for(var a={},l=0;l<t.bindings.length;l++){var o=t.bindings[l],u=i[l];8&o.flags&&(a[(d=o.nonMinifiedName,"ng-reflect-"+d.replace(/[$@]/g,"_").replace(kt,(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return"-"+t[1].toLowerCase()})))]=Ct(u))}var s=t.parent,c=Pn(e,s.nodeIndex).renderElement;if(s.element.name)for(var h in a){var f=a[h];null!=f?e.renderer.setAttribute(c,h,f):e.renderer.removeAttribute(c,h)}else e.renderer.setValue(c,"bindings="+JSON.stringify(a,null,2))}}var d}function Pl(e,t,n,r){Ka.apply(void 0,[e,t,n].concat(_toConsumableArray(r)))}function Ol(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 Dl(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 Ml=function(){function e(t,n){_classCallCheck(this,e),this.view=t,this.nodeIndex=n,null==n&&(this.nodeIndex=n=0),this.nodeDef=t.def.nodes[n];for(var r=this.nodeDef,i=t;r&&0==(1&r.flags);)r=r.parent;if(!r)for(;!r&&i;)r=Kn(i),i=i.parent;this.elDef=r,this.elView=i}return _createClass(e,[{key:"logError",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i,a;2&this.nodeDef.flags?(i=this.view.def,a=this.nodeDef.nodeIndex):(i=this.elView.def,a=this.elDef.nodeIndex);var l=function(e,t){for(var n=-1,r=0;r<=t;r++)3&e.nodes[r].flags&&n++;return n}(i,a),o=-1;i.factory((function(){var t;return++o===l?(t=e.error).bind.apply(t,[e].concat(n)):jn})),o<l&&(e.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),e.error.apply(e,n))}},{key:"elOrCompView",get:function(){return Pn(this.elView,this.elDef.nodeIndex).componentView||this.view}},{key:"injector",get:function(){return Pr(this.elView,this.elDef)}},{key:"component",get:function(){return this.elOrCompView.component}},{key:"context",get:function(){return this.elOrCompView.context}},{key:"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}},{key:"references",get:function(){var e={};if(this.elDef){Ul(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&&Ul(this.elView,n,e),t+=n.childCount}}return e}},{key:"componentRenderElement",get:function(){var e=function(e){for(;e&&!Yn(e);)e=e.parent;return e.parent?Pn(e.parent,Kn(e).nodeIndex):null}(this.elOrCompView);return e?e.renderElement:void 0}},{key:"renderNode",get:function(){return 2&this.nodeDef.flags?Jn(this.view,this.nodeDef):Jn(this.elView,this.elDef)}}]),e}();function Ul(e,t,n){for(var r in t.references)n[r]=Na(e,t,t.references[r])}function jl(e,t,n,r){var i,a,l=bl,o=Sl,u=El;try{bl=e;var s=t.apply(n,r);return Sl=o,El=u,bl=l,s}catch(c){if(ze(c)||!Sl)throw c;throw i=c,a=Ll(),i instanceof Error||(i=new Error(i.toString())),Tn(i,a),i}}function Ll(){return Sl?new Ml(Sl,El):null}var Hl=function(){function e(t){_classCallCheck(this,e),this.delegate=t}return _createClass(e,[{key:"createRenderer",value:function(e,t){return new Vl(this.delegate.createRenderer(e,t))}},{key:"begin",value:function(){this.delegate.begin&&this.delegate.begin()}},{key:"end",value:function(){this.delegate.end&&this.delegate.end()}},{key:"whenRenderingDone",value:function(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)}}]),e}(),Vl=function(){function e(t){_classCallCheck(this,e),this.delegate=t,this.debugContextFactory=Ll,this.data=this.delegate.data}return _createClass(e,[{key:"createDebugContext",value:function(e){return this.debugContextFactory(e)}},{key:"destroyNode",value:function(e){var t=pa(e);!function(e){va.delete(e.nativeNode)}(t),t instanceof fa&&(t.listeners.length=0),this.delegate.destroyNode&&this.delegate.destroyNode(e)}},{key:"destroy",value:function(){this.delegate.destroy()}},{key:"createElement",value:function(e,t){var n=this.delegate.createElement(e,t),r=this.createDebugContext(n);if(r){var i=new da(n,null,r);i.name=e,ga(i)}return n}},{key:"createComment",value:function(e){var t=this.delegate.createComment(e),n=this.createDebugContext(t);return n&&ga(new fa(t,null,n)),t}},{key:"createText",value:function(e){var t=this.delegate.createText(e),n=this.createDebugContext(t);return n&&ga(new fa(t,null,n)),t}},{key:"appendChild",value:function(e,t){var n=pa(e),r=pa(t);n&&r&&n instanceof da&&n.addChild(r),this.delegate.appendChild(e,t)}},{key:"insertBefore",value:function(e,t,n){var r=pa(e),i=pa(t),a=pa(n);r&&i&&r instanceof da&&r.insertBefore(a,i),this.delegate.insertBefore(e,t,n)}},{key:"removeChild",value:function(e,t){var n=pa(e),r=pa(t);n&&r&&n instanceof da&&n.removeChild(r),this.delegate.removeChild(e,t)}},{key:"selectRootElement",value:function(e,t){var n=this.delegate.selectRootElement(e,t),r=Ll();return r&&ga(new da(n,null,r)),n}},{key:"setAttribute",value:function(e,t,n,r){var i=pa(e);i&&i instanceof da&&(i.attributes[r?r+":"+t:t]=n),this.delegate.setAttribute(e,t,n,r)}},{key:"removeAttribute",value:function(e,t,n){var r=pa(e);r&&r instanceof da&&(r.attributes[n?n+":"+t:t]=null),this.delegate.removeAttribute(e,t,n)}},{key:"addClass",value:function(e,t){var n=pa(e);n&&n instanceof da&&(n.classes[t]=!0),this.delegate.addClass(e,t)}},{key:"removeClass",value:function(e,t){var n=pa(e);n&&n instanceof da&&(n.classes[t]=!1),this.delegate.removeClass(e,t)}},{key:"setStyle",value:function(e,t,n,r){var i=pa(e);i&&i instanceof da&&(i.styles[t]=n),this.delegate.setStyle(e,t,n,r)}},{key:"removeStyle",value:function(e,t,n){var r=pa(e);r&&r instanceof da&&(r.styles[t]=null),this.delegate.removeStyle(e,t,n)}},{key:"setProperty",value:function(e,t,n){var r=pa(e);r&&r instanceof da&&(r.properties[t]=n),this.delegate.setProperty(e,t,n)}},{key:"listen",value:function(e,t,n){if("string"!=typeof e){var r=pa(e);r&&r.listeners.push(new ha(t,n))}return this.delegate.listen(e,t,n)}},{key:"parentNode",value:function(e){return this.delegate.parentNode(e)}},{key:"nextSibling",value:function(e){return this.delegate.nextSibling(e)}},{key:"setValue",value:function(e,t){return this.delegate.setValue(e,t)}}]),e}();var Fl=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var a;return _classCallCheck(this,n),(a=t.call(this)).moduleType=e,a._bootstrapComponents=r,a._ngModuleDefFactory=i,a}return _createClass(n,[{key:"create",value:function(e){!function(){if(!il){il=!0;var e=Qe()?{setCurrentNode:Tl,createRootView:ll,createEmbeddedView:ul,createComponentView:sl,createNgModuleRef:cl,overrideProvider:vl,overrideComponentView:pl,clearOverrides:gl,checkAndUpdateView:kl,checkNoChangesView:Cl,destroyView:wl,createDebugContext:function(e,t){return new Ml(e,t)},handleEvent:Al,updateDirectives:Il,updateRenderer:Rl}:{setCurrentNode:function(){},createRootView:al,createEmbeddedView:Ha,createComponentView:Fa,createNgModuleRef:Ur,overrideProvider:jn,overrideComponentView:jn,clearOverrides:jn,checkAndUpdateView:Wa,checkNoChangesView:Za,destroyView:Ya,createDebugContext:function(e,t){return new Ml(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?ml:_l,e)},updateRenderer:function(e,t){return e.def.updateRenderer(0===t?ml:_l,e)}};Un.setCurrentNode=e.setCurrentNode,Un.createRootView=e.createRootView,Un.createEmbeddedView=e.createEmbeddedView,Un.createComponentView=e.createComponentView,Un.createNgModuleRef=e.createNgModuleRef,Un.overrideProvider=e.overrideProvider,Un.overrideComponentView=e.overrideComponentView,Un.clearOverrides=e.clearOverrides,Un.checkAndUpdateView=e.checkAndUpdateView,Un.checkNoChangesView=e.checkNoChangesView,Un.destroyView=e.destroyView,Un.resolveDep=ei,Un.createDebugContext=e.createDebugContext,Un.handleEvent=e.handleEvent,Un.updateDirectives=e.updateDirectives,Un.updateRenderer=e.updateRenderer,Un.dirtyParentQueries=Aa}}();var t=function(e){var t=Array.from(e.providers),n=Array.from(e.modules),r={};for(var i in e.providersByKey)r[i]=e.providersByKey[i];return{factory:e.factory,isRoot:e.isRoot,providers:t,modules:n,providersByKey:r}}(rr(this._ngModuleDefFactory));return Un.createNgModuleRef(this.moduleType,e||xt.NULL,this._bootstrapComponents,t)}}]),n}(je),zl=function e(){_classCallCheck(this,e)},Bl=function e(){_classCallCheck(this,e),this.title="portfolio"},ql=function e(){_classCallCheck(this,e)},Zl=new xe("Location Initialized"),Wl=function e(){_classCallCheck(this,e)},Gl=new xe("appBaseHref"),Ql=function(){function e(t,n){var r=this;_classCallCheck(this,e),this._subject=new hi,this._urlChangeListeners=[],this._platformStrategy=t;var i=this._platformStrategy.getBaseHref();this._platformLocation=n,this._baseHref=e.stripTrailingSlash(Kl(i)),this._platformStrategy.onPopState((function(e){r._subject.emit({url:r.path(!0),pop:!0,state:e.state,type:e.type})}))}return _createClass(e,[{key:"path",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.normalize(this._platformStrategy.path(e))}},{key:"getState",value:function(){return this._platformLocation.getState()}},{key:"isCurrentPathEqualTo",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.path()==this.normalize(t+e.normalizeQueryParams(n))}},{key:"normalize",value:function(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,Kl(t)))}},{key:"prepareExternalUrl",value:function(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}},{key:"go",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.pushState(r,"",t,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+e.normalizeQueryParams(n)),r)}},{key:"replaceState",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.replaceState(r,"",t,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+e.normalizeQueryParams(n)),r)}},{key:"forward",value:function(){this._platformStrategy.forward()}},{key:"back",value:function(){this._platformStrategy.back()}},{key:"onUrlChange",value:function(e){var t=this;this._urlChangeListeners.push(e),this.subscribe((function(e){t._notifyUrlChangeListeners(e.url,e.state)}))}},{key:"_notifyUrlChangeListeners",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;this._urlChangeListeners.forEach((function(n){return n(e,t)}))}},{key:"subscribe",value:function(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})}}],[{key:"normalizeQueryParams",value:function(e){return e&&"?"!==e[0]?"?"+e:e}},{key:"joinWithSlash",value: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}},{key:"stripTrailingSlash",value: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 Kl(e){return e.replace(/\/index.html$/,"")}var Jl,Yl=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this))._platformLocation=e,i._baseHref="",null!=r&&(i._baseHref=r),i}return _createClass(n,[{key:"onPopState",value:function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"path",value:function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0];var e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}},{key:"prepareExternalUrl",value:function(e){var t=Ql.joinWithSlash(this._baseHref,e);return t.length>0?"#"+t:t}},{key:"pushState",value:function(e,t,n,r){var i=this.prepareExternalUrl(n+Ql.normalizeQueryParams(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(e,t,i)}},{key:"replaceState",value:function(e,t,n,r){var i=this.prepareExternalUrl(n+Ql.normalizeQueryParams(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,i)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}}]),n}(Wl),$l=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;if(_classCallCheck(this,n),(i=t.call(this))._platformLocation=e,null==r&&(r=i._platformLocation.getBaseHrefFromDOM()),null==r)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 i._baseHref=r,_possibleConstructorReturn(i)}return _createClass(n,[{key:"onPopState",value:function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"prepareExternalUrl",value:function(e){return Ql.joinWithSlash(this._baseHref,e)}},{key:"path",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this._platformLocation.pathname+Ql.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?"".concat(t).concat(n):t}},{key:"pushState",value:function(e,t,n,r){var i=this.prepareExternalUrl(n+Ql.normalizeQueryParams(r));this._platformLocation.pushState(e,t,i)}},{key:"replaceState",value:function(e,t,n,r){var i=this.prepareExternalUrl(n+Ql.normalizeQueryParams(r));this._platformLocation.replaceState(e,t,i)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}}]),n}(Wl),Xl=function(){var e={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return e[e.Zero]="Zero",e[e.One]="One",e[e.Two]="Two",e[e.Few]="Few",e[e.Many]="Many",e[e.Other]="Other",e}(),eo=new xe("UseV4Plurals"),to=function e(){_classCallCheck(this,e)},no=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this)).locale=e,i.deprecatedPluralFn=r,i}return _createClass(n,[{key:"getPluralCategory",value:function(e,t){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(t||this.locale,e):function(e){return function(e){var t=e.toLowerCase().replace(/_/g,"-"),n=oi[t];if(n)return n;var r=t.split("-")[0];if(n=oi[r])return n;if("en"===r)return ci;throw new Error('Missing locale data for the locale "'.concat(e,'".'))}(e)[ui.PluralCase]}(t||this.locale)(e)){case Xl.Zero:return"zero";case Xl.One:return"one";case Xl.Two:return"two";case Xl.Few:return"few";case Xl.Many:return"many";default:return"other"}}}]),n}(to),ro=function e(){_classCallCheck(this,e)},io=new xe("DocumentToken"),ao=((Jl=function e(){_classCallCheck(this,e)}).ngInjectableDef=ve({token:Jl,providedIn:"root",factory:function(){return new lo(Oe(io),window,Oe(Ze))}}),Jl),lo=function(){function e(t,n,r){_classCallCheck(this,e),this.document=t,this.window=n,this.errorHandler=r,this.offset=function(){return[0,0]}}return _createClass(e,[{key:"setOffset",value:function(e){this.offset=Array.isArray(e)?function(){return e}:e}},{key:"getScrollPosition",value:function(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]}},{key:"scrollToPosition",value:function(e){this.supportScrollRestoration()&&this.window.scrollTo(e[0],e[1])}},{key:"scrollToAnchor",value:function(e){if(this.supportScrollRestoration()){e=this.window.CSS&&this.window.CSS.escape?this.window.CSS.escape(e):e.replace(/(\"|\'\ |:|\.|\[|\]|,|=)/g,"\\$1");try{var t=this.document.querySelector("#"+e);if(t)return void this.scrollToElement(t);var n=this.document.querySelector("[name='".concat(e,"']"));if(n)return void this.scrollToElement(n)}catch(r){this.errorHandler.handleError(r)}}}},{key:"setHistoryScrollRestoration",value:function(e){if(this.supportScrollRestoration()){var t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}},{key:"scrollToElement",value:function(e){var t=e.getBoundingClientRect(),n=t.left+this.window.pageXOffset,r=t.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],r-i[1])}},{key:"supportScrollRestoration",value:function(){try{return!!this.window&&!!this.window.scrollTo}catch(e){return!1}}}]),e}(),oo=new b((function(e){return e.complete()}));function uo(e){return e?function(e){return new b((function(t){return e.schedule((function(){return t.complete()}))}))}(e):oo}function so(e){var t=new b((function(t){t.next(e),t.complete()}));return t._isScalar=!0,t.value=e,t}function co(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[t.length-1];switch(P(r)?t.pop():r=void 0,t.length){case 0:return uo(r);case 1:return r?G(t,r):so(t[0]);default:return G(t,r)}}var ho=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this))._value=e,r}return _createClass(n,[{key:"_subscribe",value:function(e){var t=_get(_getPrototypeOf(n.prototype),"_subscribe",this).call(this,e);return t&&!t.closed&&e.next(this._value),t}},{key:"getValue",value:function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new T;return this._value}},{key:"next",value:function(e){_get(_getPrototypeOf(n.prototype),"next",this).call(this,this._value=e)}},{key:"value",get:function(){return this.getValue()}}]),n}(R);function fo(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}fo.prototype=Object.create(Error.prototype);var vo=fo,po={},go=function(){function e(t){_classCallCheck(this,e),this.resultSelector=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new yo(e,this.resultSelector))}}]),e}(),yo=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this,e)).resultSelector=r,i.active=0,i.values=[],i.observables=[],i}return _createClass(n,[{key:"_next",value:function(e){this.values.push(po),this.observables.push(e)}},{key:"_complete",value:function(){var e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(var n=0;n<t;n++){var r=e[n];this.add(z(this,r,r,n))}}}},{key:"notifyComplete",value:function(e){0==(this.active-=1)&&this.destination.complete()}},{key:"notifyNext",value:function(e,t,n,r,i){var a=this.values,l=this.toRespond?a[n]===po?--this.toRespond:this.toRespond:0;a[n]=t,0===l&&(this.resultSelector?this._tryResultSelector(a):this.destination.next(a.slice()))}},{key:"_tryResultSelector",value:function(e){var t;try{t=this.resultSelector.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}]),n}(B);function mo(e){return new b((function(t){var n;try{n=e()}catch(r){return void t.error(r)}return(n?Q(n):uo()).subscribe(t)}))}function _o(){return X(1)}function ko(e,t){return function(n){return n.lift(new Co(e,t))}}var Co=function(){function e(t,n){_classCallCheck(this,e),this.predicate=t,this.thisArg=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new wo(e,this.predicate,this.thisArg))}}]),e}(),wo=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var a;return _classCallCheck(this,n),(a=t.call(this,e)).predicate=r,a.thisArg=i,a.count=0,a}return _createClass(n,[{key:"_next",value:function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)}}]),n}(g);function bo(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}bo.prototype=Object.create(Error.prototype);var So=bo;function Eo(e){return function(t){return 0===e?uo():t.lift(new xo(e))}}var xo=function(){function e(t){if(_classCallCheck(this,e),this.total=t,this.total<0)throw new So}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new To(e,this.total))}}]),e}(),To=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this,e)).total=r,i.ring=new Array,i.count=0,i}return _createClass(n,[{key:"_next",value:function(e){var t=this.ring,n=this.total,r=this.count++;t.length<n?t.push(e):t[r%n]=e}},{key:"_complete",value: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,i=0;i<n;i++){var a=t++%n;e.next(r[a])}e.complete()}}]),n}(g);function Ao(e,t,n){return function(r){return r.lift(new Io(e,t,n))}}var Io=function(){function e(t,n,r){_classCallCheck(this,e),this.nextOrObserver=t,this.error=n,this.complete=r}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new Ro(e,this.nextOrObserver,this.error,this.complete))}}]),e}(),Ro=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,a,l){var o;return _classCallCheck(this,n),(o=t.call(this,e))._tapNext=_,o._tapError=_,o._tapComplete=_,o._tapError=a||_,o._tapComplete=l||_,r(i)?(o._context=_assertThisInitialized(o),o._tapNext=i):i&&(o._context=i,o._tapNext=i.next||_,o._tapError=i.error||_,o._tapComplete=i.complete||_),o}return _createClass(n,[{key:"_next",value:function(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)}},{key:"_error",value:function(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)}},{key:"_complete",value:function(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}]),n}(g),No=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Po;return Ao({hasValue:!1,next:function(){this.hasValue=!0},complete:function(){if(!this.hasValue)throw e()}})};function Po(){return new vo}function Oo(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return function(t){return t.lift(new Do(e))}}var Do=function(){function e(t){_classCallCheck(this,e),this.defaultValue=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new Mo(e,this.defaultValue))}}]),e}(),Mo=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this,e)).defaultValue=r,i.isEmpty=!0,i}return _createClass(n,[{key:"_next",value:function(e){this.isEmpty=!1,this.destination.next(e)}},{key:"_complete",value:function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}]),n}(g);function Uo(e,t){var n=arguments.length>=2;return function(r){return r.pipe(e?ko((function(t,n){return e(t,n,r)})):$,Eo(1),n?Oo(t):No((function(){return new vo})))}}function jo(e){return function(t){var n=new Lo(e),r=t.lift(n);return n.caught=r}}var Lo=function(){function e(t){_classCallCheck(this,e),this.selector=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new Ho(e,this.selector,this.caught))}}]),e}(),Ho=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var a;return _classCallCheck(this,n),(a=t.call(this,e)).selector=r,a.caught=i,a}return _createClass(n,[{key:"error",value:function(e){if(!this.isStopped){var t;try{t=this.selector(e,this.caught)}catch(i){return void _get(_getPrototypeOf(n.prototype),"error",this).call(this,i)}this._unsubscribeAndRecycle();var r=new O(this,void 0,void 0);this.add(r),z(this,t,void 0,void 0,r)}}}]),n}(B);function Vo(e){return function(t){return 0===e?uo():t.lift(new Fo(e))}}var Fo=function(){function e(t){if(_classCallCheck(this,e),this.total=t,this.total<0)throw new So}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new zo(e,this.total))}}]),e}(),zo=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this,e)).total=r,i.count=0,i}return _createClass(n,[{key:"_next",value:function(e){var t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))}}]),n}(g);function Bo(e,t){var n=arguments.length>=2;return function(r){return r.pipe(e?ko((function(t,n){return e(t,n,r)})):$,Vo(1),n?Oo(t):No((function(){return new vo})))}}var qo=function(){function e(t,n,r){_classCallCheck(this,e),this.predicate=t,this.thisArg=n,this.source=r}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new Zo(e,this.predicate,this.thisArg,this.source))}}]),e}(),Zo=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i,a){var l;return _classCallCheck(this,n),(l=t.call(this,e)).predicate=r,l.thisArg=i,l.source=a,l.index=0,l.thisArg=i||_assertThisInitialized(l),l}return _createClass(n,[{key:"notifyComplete",value:function(e){this.destination.next(e),this.destination.complete()}},{key:"_next",value:function(e){var t=!1;try{t=this.predicate.call(this.thisArg,e,this.index++,this.source)}catch(n){return void this.destination.error(n)}t||this.notifyComplete(!1)}},{key:"_complete",value:function(){this.notifyComplete(!0)}}]),n}(g);function Wo(e,t){return"function"==typeof t?function(n){return n.pipe(Wo((function(n,r){return Q(e(n,r)).pipe(q((function(e,i){return t(n,e,r,i)})))})))}:function(t){return t.lift(new Go(e))}}var Go=function(){function e(t){_classCallCheck(this,e),this.project=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new Qo(e,this.project))}}]),e}(),Qo=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this,e)).project=r,i.index=0,i}return _createClass(n,[{key:"_next",value:function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this._innerSub(t,e,n)}},{key:"_innerSub",value:function(e,t,n){var r=this.innerSubscription;r&&r.unsubscribe();var i=new O(this,void 0,void 0);this.destination.add(i),this.innerSubscription=z(this,e,t,n,i)}},{key:"_complete",value:function(){var e=this.innerSubscription;e&&!e.closed||_get(_getPrototypeOf(n.prototype),"_complete",this).call(this),this.unsubscribe()}},{key:"_unsubscribe",value:function(){this.innerSubscription=null}},{key:"notifyComplete",value:function(e){this.destination.remove(e),this.innerSubscription=null,this.isStopped&&_get(_getPrototypeOf(n.prototype),"_complete",this).call(this)}},{key:"notifyNext",value:function(e,t,n,r,i){this.destination.next(t)}}]),n}(B);function Ko(e,t){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new Jo(e,t,n))}}var Jo=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];_classCallCheck(this,e),this.accumulator=t,this.seed=n,this.hasSeed=r}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new Yo(e,this.accumulator,this.seed,this.hasSeed))}}]),e}(),Yo=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i,a){var l;return _classCallCheck(this,n),(l=t.call(this,e)).accumulator=r,l._seed=i,l.hasSeed=a,l.index=0,l}return _createClass(n,[{key:"_next",value:function(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)}},{key:"_tryNext",value:function(e){var t,n=this.index++;try{t=this.accumulator(this.seed,e,n)}catch(r){this.destination.error(r)}this.seed=t,this.destination.next(t)}},{key:"seed",get:function(){return this._seed},set:function(e){this.hasSeed=!0,this._seed=e}}]),n}(g);function $o(e,t){return K(e,t,1)}var Xo=function(){function e(t){_classCallCheck(this,e),this.callback=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new eu(e,this.callback))}}]),e}(),eu=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this,e)).add(new d(r)),i}return n}(g),tu=null;function nu(){return tu}var ru,iu={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},au={"\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"},lu={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"},ou=function(){if(Ee.Node)return Ee.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))}}(),uu=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"parse",value:function(e){throw new Error("parse not implemented")}},{key:"hasProperty",value:function(e,t){return t in e}},{key:"setProperty",value:function(e,t,n){e[t]=n}},{key:"getProperty",value:function(e,t){return e[t]}},{key:"invoke",value:function(e,t,n){e[t].apply(e,_toConsumableArray(n))}},{key:"logError",value:function(e){window.console&&(console.error?console.error(e):console.log(e))}},{key:"log",value:function(e){window.console&&window.console.log&&window.console.log(e)}},{key:"logGroup",value:function(e){window.console&&window.console.group&&window.console.group(e)}},{key:"logGroupEnd",value:function(){window.console&&window.console.groupEnd&&window.console.groupEnd()}},{key:"contains",value:function(e,t){return ou.call(e,t)}},{key:"querySelector",value:function(e,t){return e.querySelector(t)}},{key:"querySelectorAll",value:function(e,t){return e.querySelectorAll(t)}},{key:"on",value:function(e,t,n){e.addEventListener(t,n,!1)}},{key:"onAndCancel",value:function(e,t,n){return e.addEventListener(t,n,!1),function(){e.removeEventListener(t,n,!1)}}},{key:"dispatchEvent",value:function(e,t){e.dispatchEvent(t)}},{key:"createMouseEvent",value:function(e){var t=this.getDefaultDocument().createEvent("MouseEvent");return t.initEvent(e,!0,!0),t}},{key:"createEvent",value:function(e){var t=this.getDefaultDocument().createEvent("Event");return t.initEvent(e,!0,!0),t}},{key:"preventDefault",value:function(e){e.preventDefault(),e.returnValue=!1}},{key:"isPrevented",value:function(e){return e.defaultPrevented||null!=e.returnValue&&!e.returnValue}},{key:"getInnerHTML",value:function(e){return e.innerHTML}},{key:"getTemplateContent",value:function(e){return"content"in e&&this.isTemplateElement(e)?e.content:null}},{key:"getOuterHTML",value:function(e){return e.outerHTML}},{key:"nodeName",value:function(e){return e.nodeName}},{key:"nodeValue",value:function(e){return e.nodeValue}},{key:"type",value:function(e){return e.type}},{key:"content",value:function(e){return this.hasProperty(e,"content")?e.content:e}},{key:"firstChild",value:function(e){return e.firstChild}},{key:"nextSibling",value:function(e){return e.nextSibling}},{key:"parentElement",value:function(e){return e.parentNode}},{key:"childNodes",value:function(e){return e.childNodes}},{key:"childNodesAsList",value:function(e){for(var t=e.childNodes,n=new Array(t.length),r=0;r<t.length;r++)n[r]=t[r];return n}},{key:"clearNodes",value:function(e){for(;e.firstChild;)e.removeChild(e.firstChild)}},{key:"appendChild",value:function(e,t){e.appendChild(t)}},{key:"removeChild",value:function(e,t){e.removeChild(t)}},{key:"replaceChild",value:function(e,t,n){e.replaceChild(t,n)}},{key:"remove",value:function(e){return e.parentNode&&e.parentNode.removeChild(e),e}},{key:"insertBefore",value:function(e,t,n){e.insertBefore(n,t)}},{key:"insertAllBefore",value:function(e,t,n){n.forEach((function(n){return e.insertBefore(n,t)}))}},{key:"insertAfter",value:function(e,t,n){e.insertBefore(n,t.nextSibling)}},{key:"setInnerHTML",value:function(e,t){e.innerHTML=t}},{key:"getText",value:function(e){return e.textContent}},{key:"setText",value:function(e,t){e.textContent=t}},{key:"getValue",value:function(e){return e.value}},{key:"setValue",value:function(e,t){e.value=t}},{key:"getChecked",value:function(e){return e.checked}},{key:"setChecked",value:function(e,t){e.checked=t}},{key:"createComment",value:function(e){return this.getDefaultDocument().createComment(e)}},{key:"createTemplate",value:function(e){var t=this.getDefaultDocument().createElement("template");return t.innerHTML=e,t}},{key:"createElement",value:function(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}},{key:"createElementNS",value:function(e,t,n){return(n=n||this.getDefaultDocument()).createElementNS(e,t)}},{key:"createTextNode",value:function(e,t){return(t=t||this.getDefaultDocument()).createTextNode(e)}},{key:"createScriptTag",value:function(e,t,n){var r=(n=n||this.getDefaultDocument()).createElement("SCRIPT");return r.setAttribute(e,t),r}},{key:"createStyleElement",value:function(e,t){var n=(t=t||this.getDefaultDocument()).createElement("style");return this.appendChild(n,this.createTextNode(e,t)),n}},{key:"createShadowRoot",value:function(e){return e.createShadowRoot()}},{key:"getShadowRoot",value:function(e){return e.shadowRoot}},{key:"getHost",value:function(e){return e.host}},{key:"clone",value:function(e){return e.cloneNode(!0)}},{key:"getElementsByClassName",value:function(e,t){return e.getElementsByClassName(t)}},{key:"getElementsByTagName",value:function(e,t){return e.getElementsByTagName(t)}},{key:"classList",value:function(e){return Array.prototype.slice.call(e.classList,0)}},{key:"addClass",value:function(e,t){e.classList.add(t)}},{key:"removeClass",value:function(e,t){e.classList.remove(t)}},{key:"hasClass",value:function(e,t){return e.classList.contains(t)}},{key:"setStyle",value:function(e,t,n){e.style[t]=n}},{key:"removeStyle",value:function(e,t){e.style[t]=""}},{key:"getStyle",value:function(e,t){return e.style[t]}},{key:"hasStyle",value:function(e,t,n){var r=this.getStyle(e,t)||"";return n?r==n:r.length>0}},{key:"tagName",value:function(e){return e.tagName}},{key:"attributeMap",value:function(e){for(var t=new Map,n=e.attributes,r=0;r<n.length;r++){var i=n.item(r);t.set(i.name,i.value)}return t}},{key:"hasAttribute",value:function(e,t){return e.hasAttribute(t)}},{key:"hasAttributeNS",value:function(e,t,n){return e.hasAttributeNS(t,n)}},{key:"getAttribute",value:function(e,t){return e.getAttribute(t)}},{key:"getAttributeNS",value:function(e,t,n){return e.getAttributeNS(t,n)}},{key:"setAttribute",value:function(e,t,n){e.setAttribute(t,n)}},{key:"setAttributeNS",value:function(e,t,n,r){e.setAttributeNS(t,n,r)}},{key:"removeAttribute",value:function(e,t){e.removeAttribute(t)}},{key:"removeAttributeNS",value:function(e,t,n){e.removeAttributeNS(t,n)}},{key:"templateAwareRoot",value:function(e){return this.isTemplateElement(e)?this.content(e):e}},{key:"createHtmlDocument",value:function(){return document.implementation.createHTMLDocument("fakeTitle")}},{key:"getDefaultDocument",value:function(){return document}},{key:"getBoundingClientRect",value:function(e){try{return e.getBoundingClientRect()}catch(t){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}}},{key:"getTitle",value:function(e){return e.title}},{key:"setTitle",value:function(e,t){e.title=t||""}},{key:"elementMatches",value:function(e,t){return!!this.isElementNode(e)&&(e.matches&&e.matches(t)||e.msMatchesSelector&&e.msMatchesSelector(t)||e.webkitMatchesSelector&&e.webkitMatchesSelector(t))}},{key:"isTemplateElement",value:function(e){return this.isElementNode(e)&&"TEMPLATE"===e.nodeName}},{key:"isTextNode",value:function(e){return e.nodeType===Node.TEXT_NODE}},{key:"isCommentNode",value:function(e){return e.nodeType===Node.COMMENT_NODE}},{key:"isElementNode",value:function(e){return e.nodeType===Node.ELEMENT_NODE}},{key:"hasShadowRoot",value:function(e){return null!=e.shadowRoot&&e instanceof HTMLElement}},{key:"isShadowRoot",value:function(e){return e instanceof DocumentFragment}},{key:"importIntoDoc",value:function(e){return document.importNode(this.templateAwareRoot(e),!0)}},{key:"adoptNode",value:function(e){return document.adoptNode(e)}},{key:"getHref",value:function(e){return e.getAttribute("href")}},{key:"getEventKey",value: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&&lu.hasOwnProperty(t)&&(t=lu[t]))}return au[t]||t}},{key:"getGlobalEventTarget",value:function(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}},{key:"getHistory",value:function(){return window.history}},{key:"getLocation",value:function(){return window.location}},{key:"getBaseHref",value:function(e){var t,n=su||(su=document.querySelector("base"))?su.getAttribute("href"):null;return null==n?null:(t=n,ru||(ru=document.createElement("a")),ru.setAttribute("href",t),"/"===ru.pathname.charAt(0)?ru.pathname:"/"+ru.pathname)}},{key:"resetBaseElement",value:function(){su=null}},{key:"getUserAgent",value:function(){return window.navigator.userAgent}},{key:"setData",value:function(e,t,n){this.setAttribute(e,"data-"+t,n)}},{key:"getData",value:function(e,t){return this.getAttribute(e,"data-"+t)}},{key:"getComputedStyle",value:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){return getComputedStyle(e)}))},{key:"supportsWebAnimation",value:function(){return"function"==typeof Element.prototype.animate}},{key:"performanceNow",value:function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}},{key:"supportsCookies",value:function(){return!0}},{key:"getCookie",value:function(e){return function(e,t){t=encodeURIComponent(t);var n,r=_createForOfIteratorHelper(e.split(";"));try{for(r.s();!(n=r.n()).done;){var i=n.value,a=i.indexOf("="),l=_slicedToArray(-1==a?[i,""]:[i.slice(0,a),i.slice(a+1)],2),o=l[0],u=l[1];if(o.trim()===t)return decodeURIComponent(u)}}catch(s){r.e(s)}finally{r.f()}return null}(document.cookie,e)}},{key:"setCookie",value:function(e,t){document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)}},{key:"attrToPropMap",get:function(){return iu}}],[{key:"makeCurrent",value:function(){var e;e=new n,tu||(tu=e)}}]),n}(function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;_classCallCheck(this,n),(e=t.call(this))._animationPrefix=null,e._transitionEnd=null;try{var r=e.createElement("div",document);if(null!=e.getStyle(r,"animationName"))e._animationPrefix="";else for(var i=["Webkit","Moz","O","ms"],a=0;a<i.length;a++)if(null!=e.getStyle(r,i[a]+"AnimationName")){e._animationPrefix="-"+i[a].toLowerCase()+"-";break}var l={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(l).forEach((function(t){null!=e.getStyle(r,t)&&(e._transitionEnd=l[t])}))}catch(o){e._animationPrefix=null,e._transitionEnd=null}return e}return _createClass(n,[{key:"getDistributedNodes",value:function(e){return e.getDistributedNodes()}},{key:"resolveAndSetHref",value:function(e,t,n){e.href=null==n?t:t+"/../"+n}},{key:"supportsDOMEvents",value:function(){return!0}},{key:"supportsNativeShadowDOM",value:function(){return"function"==typeof document.body.createShadowRoot}},{key:"getAnimationPrefix",value:function(){return this._animationPrefix?this._animationPrefix:""}},{key:"getTransitionEnd",value:function(){return this._transitionEnd?this._transitionEnd:""}},{key:"supportsAnimation",value:function(){return null!=this._animationPrefix&&null!=this._transitionEnd}}]),n}(function(){function e(){_classCallCheck(this,e),this.resourceLoaderType=null}return _createClass(e,[{key:"attrToPropMap",get:function(){return this._attrToPropMap},set:function(e){this._attrToPropMap=e}}]),e}())),su=null;function cu(){return!!window.history.pushState}var hu=new xe("TRANSITION_ID"),fu=[{provide:vi,useFactory:function(e,t,n){return function(){n.get(pi).donePromise.then((function(){var n=nu();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:[hu,io,xt],multi:!0}],du=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"addToWindow",value:function(e){Ee.getAngularTestability=function(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},Ee.getAllAngularTestabilities=function(){return e.getAllTestabilities()},Ee.getAllAngularRootElements=function(){return e.getAllRootElements()},Ee.frameworkStabilizers||(Ee.frameworkStabilizers=[]),Ee.frameworkStabilizers.push((function(e){var t=Ee.getAllAngularTestabilities(),n=t.length,r=!1,i=function(t){r=r||t,0==--n&&e(r)};t.forEach((function(e){e.whenStable(i)}))}))}},{key:"findTestabilityInTree",value:function(e,t,n){if(null==t)return null;var r=e.getTestability(t);return null!=r?r:n?nu().isShadowRoot(t)?this.findTestabilityInTree(e,nu().getHost(t),!0):this.findTestabilityInTree(e,nu().parentElement(t),!0):null}}],[{key:"init",value:function(){var t;t=new e,Ji=t}}]),e}();function vu(e,t){"undefined"!=typeof COMPILED&&COMPILED||((Ee.ng=Ee.ng||{})[e]=t)}var pu={ApplicationRef:ia,NgZone:Vi};function gu(e){return pa(e)}var yu=new xe("EventManagerPlugins"),mu=function(){function e(t,n){var r=this;_classCallCheck(this,e),this._zone=n,this._eventNameToPlugin=new Map,t.forEach((function(e){return e.manager=r})),this._plugins=t.slice().reverse()}return _createClass(e,[{key:"addEventListener",value:function(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}},{key:"addGlobalEventListener",value:function(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}},{key:"getZone",value:function(){return this._zone}},{key:"_findPluginFor",value:function(e){var t=this._eventNameToPlugin.get(e);if(t)return t;for(var n=this._plugins,r=0;r<n.length;r++){var i=n[r];if(i.supports(e))return this._eventNameToPlugin.set(e,i),i}throw new Error("No event manager plugin found for event "+e)}}]),e}(),_u=function(){function e(t){_classCallCheck(this,e),this._doc=t}return _createClass(e,[{key:"addGlobalEventListener",value:function(e,t,n){var r=nu().getGlobalEventTarget(this._doc,e);if(!r)throw new Error("Unsupported event target ".concat(r," for event ").concat(t));return this.addEventListener(r,t,n)}}]),e}(),ku=function(){function e(){_classCallCheck(this,e),this._stylesSet=new Set}return _createClass(e,[{key:"addStyles",value: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)}},{key:"onStylesAdded",value:function(e){}},{key:"getAllStyles",value:function(){return Array.from(this._stylesSet)}}]),e}(),Cu=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this))._doc=e,r._hostNodes=new Set,r._styleNodes=new Set,r._hostNodes.add(e.head),r}return _createClass(n,[{key:"_addStylesToHost",value: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))}))}},{key:"addHost",value:function(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)}},{key:"removeHost",value:function(e){this._hostNodes.delete(e)}},{key:"onStylesAdded",value:function(e){var t=this;this._hostNodes.forEach((function(n){return t._addStylesToHost(e,n)}))}},{key:"ngOnDestroy",value:function(){this._styleNodes.forEach((function(e){return nu().remove(e)}))}}]),n}(ku),wu={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/"},bu=/%COMP%/g;function Su(e,t,n){for(var r=0;r<t.length;r++){var i=t[r];Array.isArray(i)?Su(e,i,n):(i=i.replace(bu,e),n.push(i))}return n}function Eu(e){return function(t){!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}var xu=function(){function e(t,n,r){_classCallCheck(this,e),this.eventManager=t,this.sharedStylesHost=n,this.appId=r,this.rendererByCompId=new Map,this.defaultRenderer=new Tu(t)}return _createClass(e,[{key:"createRenderer",value:function(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case Ve.Emulated:var n=this.rendererByCompId.get(t.id);return n||(n=new Ru(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n;case Ve.Native:case Ve.ShadowDom:return new Nu(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){var r=Su(t.id,t.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}},{key:"begin",value:function(){}},{key:"end",value:function(){}}]),e}(),Tu=function(){function e(t){_classCallCheck(this,e),this.eventManager=t,this.data=Object.create(null)}return _createClass(e,[{key:"destroy",value:function(){}},{key:"createElement",value:function(e,t){return t?document.createElementNS(wu[t]||t,e):document.createElement(e)}},{key:"createComment",value:function(e){return document.createComment(e)}},{key:"createText",value:function(e){return document.createTextNode(e)}},{key:"appendChild",value:function(e,t){e.appendChild(t)}},{key:"insertBefore",value:function(e,t,n){e&&e.insertBefore(t,n)}},{key:"removeChild",value:function(e,t){e&&e.removeChild(t)}},{key:"selectRootElement",value:function(e,t){var n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error('The selector "'.concat(e,'" did not match any elements'));return t||(n.textContent=""),n}},{key:"parentNode",value:function(e){return e.parentNode}},{key:"nextSibling",value:function(e){return e.nextSibling}},{key:"setAttribute",value:function(e,t,n,r){if(r){t=r+":"+t;var i=wu[r];i?e.setAttributeNS(i,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}},{key:"removeAttribute",value:function(e,t,n){if(n){var r=wu[n];r?e.removeAttributeNS(r,t):e.removeAttribute("".concat(n,":").concat(t))}else e.removeAttribute(t)}},{key:"addClass",value:function(e,t){e.classList.add(t)}},{key:"removeClass",value:function(e,t){e.classList.remove(t)}},{key:"setStyle",value:function(e,t,n,r){r&nn.DashCase?e.style.setProperty(t,n,r&nn.Important?"important":""):e.style[t]=n}},{key:"removeStyle",value:function(e,t,n){n&nn.DashCase?e.style.removeProperty(t):e.style[t]=""}},{key:"setProperty",value:function(e,t,n){Iu(t,"property"),e[t]=n}},{key:"setValue",value:function(e,t){e.nodeValue=t}},{key:"listen",value:function(e,t,n){return Iu(t,"listener"),"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,Eu(n)):this.eventManager.addEventListener(e,t,Eu(n))}}]),e}(),Au="@".charCodeAt(0);function Iu(e,t){if(e.charCodeAt(0)===Au)throw new Error("Found the synthetic ".concat(t," ").concat(e,'. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.'))}var Ru=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i,a){var l;_classCallCheck(this,n),(l=t.call(this,e)).component=i;var o,u=Su(a+"-"+i.id,i.styles,[]);return r.addStyles(u),l.contentAttr="_ngcontent-%COMP%".replace(bu,a+"-"+i.id),l.hostAttr=(o=a+"-"+i.id,"_nghost-%COMP%".replace(bu,o)),l}return _createClass(n,[{key:"applyToHost",value:function(e){_get(_getPrototypeOf(n.prototype),"setAttribute",this).call(this,e,this.hostAttr,"")}},{key:"createElement",value:function(e,t){var r=_get(_getPrototypeOf(n.prototype),"createElement",this).call(this,e,t);return _get(_getPrototypeOf(n.prototype),"setAttribute",this).call(this,r,this.contentAttr,""),r}}]),n}(Tu),Nu=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i,a){var l;_classCallCheck(this,n),(l=t.call(this,e)).sharedStylesHost=r,l.hostEl=i,l.component=a,l.shadowRoot=a.encapsulation===Ve.ShadowDom?i.attachShadow({mode:"open"}):i.createShadowRoot(),l.sharedStylesHost.addHost(l.shadowRoot);for(var o=Su(a.id,a.styles,[]),u=0;u<o.length;u++){var s=document.createElement("style");s.textContent=o[u],l.shadowRoot.appendChild(s)}return l}return _createClass(n,[{key:"nodeOrShadowRoot",value:function(e){return e===this.hostEl?this.shadowRoot:e}},{key:"destroy",value:function(){this.sharedStylesHost.removeHost(this.shadowRoot)}},{key:"appendChild",value:function(e,t){return _get(_getPrototypeOf(n.prototype),"appendChild",this).call(this,this.nodeOrShadowRoot(e),t)}},{key:"insertBefore",value:function(e,t,r){return _get(_getPrototypeOf(n.prototype),"insertBefore",this).call(this,this.nodeOrShadowRoot(e),t,r)}},{key:"removeChild",value:function(e,t){return _get(_getPrototypeOf(n.prototype),"removeChild",this).call(this,this.nodeOrShadowRoot(e),t)}},{key:"parentNode",value:function(e){return this.nodeOrShadowRoot(_get(_getPrototypeOf(n.prototype),"parentNode",this).call(this,this.nodeOrShadowRoot(e)))}}]),n}(Tu),Pu="undefined"!=typeof Zone&&Zone.__symbol__||function(e){return"__zone_symbol__"+e},Ou=Pu("addEventListener"),Du=Pu("removeEventListener"),Mu={},Uu="__zone_symbol__propagationStopped",ju=function(){var e="undefined"!=typeof Zone&&Zone[Pu("BLACK_LISTED_EVENTS")];if(e){var t={};return e.forEach((function(e){t[e]=e})),t}}(),Lu=function(e){return!!ju&&ju.hasOwnProperty(e)},Hu=function(e){var t=Mu[e.type];if(t){var n=this[t];if(n){var r=[e];if(1===n.length){var i=n[0];return i.zone!==Zone.current?i.zone.run(i.handler,this,r):i.handler.apply(this,r)}for(var a=n.slice(),l=0;l<a.length&&!0!==e[Uu];l++){var o=a[l];o.zone!==Zone.current?o.zone.run(o.handler,this,r):o.handler.apply(this,r)}}}},Vu=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var a;return _classCallCheck(this,n),(a=t.call(this,e)).ngZone=r,i&&function(e){return"server"===e}(i)||a.patchEvent(),a}return _createClass(n,[{key:"patchEvent",value: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[Uu]=!0),e&&e.apply(this,arguments)}}}},{key:"supports",value:function(e){return!0}},{key:"addEventListener",value:function(e,t,n){var r=this,i=n;if(!e[Ou]||Vi.isInAngularZone()&&!Lu(t))e.addEventListener(t,i,!1);else{var a=Mu[t];a||(a=Mu[t]=Pu("ANGULAR"+t+"FALSE"));var l=e[a],o=l&&l.length>0;l||(l=e[a]=[]);var u=Lu(t)?Zone.root:Zone.current;if(0===l.length)l.push({zone:u,handler:i});else{for(var s=!1,c=0;c<l.length;c++)if(l[c].handler===i){s=!0;break}s||l.push({zone:u,handler:i})}o||e[Ou](t,Hu,!1)}return function(){return r.removeEventListener(e,t,i)}}},{key:"removeEventListener",value:function(e,t,n){var r=e[Du];if(!r)return e.removeEventListener.apply(e,[t,n,!1]);var i=Mu[t],a=i&&e[i];if(!a)return e.removeEventListener.apply(e,[t,n,!1]);for(var l=!1,o=0;o<a.length;o++)if(a[o].handler===n){l=!0,a.splice(o,1);break}l?0===a.length&&r.apply(e,[t,Hu,!1]):e.removeEventListener.apply(e,[t,n,!1])}}]),n}(_u),Fu={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},zu=new xe("HammerGestureConfig"),Bu=new xe("HammerLoader"),qu=function(){function e(){_classCallCheck(this,e),this.events=[],this.overrides={}}return _createClass(e,[{key:"buildHammer",value: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}(),Zu=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i,a){var l;return _classCallCheck(this,n),(l=t.call(this,e))._config=r,l.console=i,l.loader=a,l}return _createClass(n,[{key:"supports",value:function(e){return!(!Fu.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e)||!window.Hammer&&!this.loader&&(this.console.warn('The "'.concat(e,'" event cannot be bound because Hammer.JS is not loaded and no custom loader has been specified.')),1))}},{key:"addEventListener",value:function(e,t,n){var r=this,i=this.manager.getZone();if(t=t.toLowerCase(),!window.Hammer&&this.loader){var a=!1,l=function(){a=!0};return this.loader().then((function(){if(!window.Hammer)return r.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(l=function(){});a||(l=r.addEventListener(e,t,n))})).catch((function(){r.console.warn('The "'.concat(t,'" event cannot be bound because the custom Hammer.JS loader failed.')),l=function(){}})),function(){l()}}return i.runOutsideAngular((function(){var a=r._config.buildHammer(e),l=function(e){i.runGuarded((function(){n(e)}))};return a.on(t,l),function(){a.off(t,l),"function"==typeof a.destroy&&a.destroy()}}))}},{key:"isCustomEvent",value:function(e){return this._config.events.indexOf(e)>-1}}]),n}(_u),Wu=["alt","control","meta","shift"],Gu={alt:function(e){return e.altKey},control:function(e){return e.ctrlKey},meta:function(e){return e.metaKey},shift:function(e){return e.shiftKey}},Qu=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){return _classCallCheck(this,n),t.call(this,e)}return _createClass(n,[{key:"supports",value:function(e){return null!=n.parseEventName(e)}},{key:"addEventListener",value:function(e,t,r){var i=n.parseEventName(t),a=n.eventCallback(i.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular((function(){return nu().onAndCancel(e,i.domEventName,a)}))}}],[{key:"parseEventName",value:function(e){var t=e.toLowerCase().split("."),r=t.shift();if(0===t.length||"keydown"!==r&&"keyup"!==r)return null;var i=n._normalizeKey(t.pop()),a="";if(Wu.forEach((function(e){var n=t.indexOf(e);n>-1&&(t.splice(n,1),a+=e+".")})),a+=i,0!=t.length||0===i.length)return null;var l={};return l.domEventName=r,l.fullKey=a,l}},{key:"getEventFullKey",value:function(e){var t="",n=nu().getEventKey(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),Wu.forEach((function(r){r!=n&&(0,Gu[r])(e)&&(t+=r+".")})),t+=n}},{key:"eventCallback",value:function(e,t,r){return function(i){n.getEventFullKey(i)===e&&r.runGuarded((function(){return t(i)}))}}},{key:"_normalizeKey",value:function(e){switch(e){case"esc":return"escape";default:return e}}}]),n}(_u),Ku=function e(){_classCallCheck(this,e)},Ju=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this))._doc=e,r}return _createClass(n,[{key:"sanitize",value:function(e,t){if(null==t)return null;switch(e){case gt.NONE:return t;case gt.HTML:return t instanceof $u?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"HTML"),function(e,t){var n=null;try{tt=tt||new Ke(e);var r=t?String(t):"";n=tt.getInertBodyElement(r);var i=5,a=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=a,a=n.innerHTML,n=tt.getInertBodyElement(r)}while(r!==a);var l=new ht,o=l.sanitizeChildren(pt(n)||n);return Qe()&&l.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),o}finally{if(n)for(var u=pt(n)||n;u.firstChild;)u.removeChild(u.firstChild)}}(this._doc,String(t)));case gt.STYLE:return t instanceof Xu?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"Style"),function(e){if(!(e=String(e).trim()))return"";var t=e.match(_t);return t&&$e(t[1])===t[1]||e.match(mt)&&function(e){for(var t=!0,n=!0,r=0;r<e.length;r++){var i=e.charAt(r);"'"===i&&n?t=!t:'"'===i&&t&&(n=!n)}return t&&n}(e)?e:(Qe()&&console.warn("WARNING: sanitizing unsafe style value ".concat(e," (see http://g.co/ng/security#xss).")),"unsafe")}(t));case gt.SCRIPT:if(t instanceof es)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"Script"),new Error("unsafe value used in a script context");case gt.URL:return t instanceof ns||t instanceof ts?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"URL"),$e(String(t)));case gt.RESOURCE_URL:if(t instanceof ns)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 ".concat(e," (see http://g.co/ng/security#xss)"))}}},{key:"checkNotSafeValue",value:function(e,t){if(e instanceof Yu)throw new Error("Required a safe ".concat(t,", got a ").concat(e.getTypeName()," (see http://g.co/ng/security#xss)"))}},{key:"bypassSecurityTrustHtml",value:function(e){return new $u(e)}},{key:"bypassSecurityTrustStyle",value:function(e){return new Xu(e)}},{key:"bypassSecurityTrustScript",value:function(e){return new es(e)}},{key:"bypassSecurityTrustUrl",value:function(e){return new ts(e)}},{key:"bypassSecurityTrustResourceUrl",value:function(e){return new ns(e)}}]),n}(Ku),Yu=function(){function e(t){_classCallCheck(this,e),this.changingThisBreaksApplicationSecurity=t}return _createClass(e,[{key:"toString",value:function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"}}]),e}(),$u=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"getTypeName",value:function(){return"HTML"}}]),n}(Yu),Xu=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"getTypeName",value:function(){return"Style"}}]),n}(Yu),es=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"getTypeName",value:function(){return"Script"}}]),n}(Yu),ts=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"getTypeName",value:function(){return"URL"}}]),n}(Yu),ns=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"getTypeName",value:function(){return"ResourceURL"}}]),n}(Yu),rs=Xi(ya,"browser",[{provide:ki,useValue:"browser"},{provide:_i,useValue:function(){uu.makeCurrent(),du.init()},multi:!0},{provide:ql,useClass:function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this))._doc=e,r._init(),r}return _createClass(n,[{key:"_init",value:function(){this.location=nu().getLocation(),this._history=nu().getHistory()}},{key:"getBaseHrefFromDOM",value:function(){return nu().getBaseHref(this._doc)}},{key:"onPopState",value:function(e){nu().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)}},{key:"onHashChange",value:function(e){nu().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)}},{key:"pushState",value:function(e,t,n){cu()?this._history.pushState(e,t,n):this.location.hash=n}},{key:"replaceState",value:function(e,t,n){cu()?this._history.replaceState(e,t,n):this.location.hash=n}},{key:"forward",value:function(){this._history.forward()}},{key:"back",value:function(){this._history.back()}},{key:"getState",value:function(){return this._history.state}},{key:"href",get:function(){return this.location.href}},{key:"protocol",get:function(){return this.location.protocol}},{key:"hostname",get:function(){return this.location.hostname}},{key:"port",get:function(){return this.location.port}},{key:"pathname",get:function(){return this.location.pathname},set:function(e){this.location.pathname=e}},{key:"search",get:function(){return this.location.search}},{key:"hash",get:function(){return this.location.hash}}]),n}(ql),deps:[io]},{provide:io,useFactory:function(){return document},deps:[]}]);function is(){return new Ze}var as=function(){function e(t){if(_classCallCheck(this,e),t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return _createClass(e,null,[{key:"withServerTransition",value:function(t){return{ngModule:e,providers:[{provide:gi,useValue:t.appId},{provide:hu,useExisting:gi},fu]}}}]),e}();"undefined"!=typeof window&&window;var ls=function e(t,n){_classCallCheck(this,e),this.id=t,this.url=n},os=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"imperative",l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return _classCallCheck(this,n),(i=t.call(this,e,r)).navigationTrigger=a,i.restoredState=l,i}return _createClass(n,[{key:"toString",value:function(){return"NavigationStart(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),n}(ls),us=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var a;return _classCallCheck(this,n),(a=t.call(this,e,r)).urlAfterRedirects=i,a}return _createClass(n,[{key:"toString",value:function(){return"NavigationEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"')")}}]),n}(ls),ss=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var a;return _classCallCheck(this,n),(a=t.call(this,e,r)).reason=i,a}return _createClass(n,[{key:"toString",value:function(){return"NavigationCancel(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),n}(ls),cs=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var a;return _classCallCheck(this,n),(a=t.call(this,e,r)).error=i,a}return _createClass(n,[{key:"toString",value:function(){return"NavigationError(id: ".concat(this.id,", url: '").concat(this.url,"', error: ").concat(this.error,")")}}]),n}(ls),hs=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i,a){var l;return _classCallCheck(this,n),(l=t.call(this,e,r)).urlAfterRedirects=i,l.state=a,l}return _createClass(n,[{key:"toString",value:function(){return"RoutesRecognized(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(ls),fs=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i,a){var l;return _classCallCheck(this,n),(l=t.call(this,e,r)).urlAfterRedirects=i,l.state=a,l}return _createClass(n,[{key:"toString",value:function(){return"GuardsCheckStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(ls),ds=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i,a,l){var o;return _classCallCheck(this,n),(o=t.call(this,e,r)).urlAfterRedirects=i,o.state=a,o.shouldActivate=l,o}return _createClass(n,[{key:"toString",value:function(){return"GuardsCheckEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,", shouldActivate: ").concat(this.shouldActivate,")")}}]),n}(ls),vs=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i,a){var l;return _classCallCheck(this,n),(l=t.call(this,e,r)).urlAfterRedirects=i,l.state=a,l}return _createClass(n,[{key:"toString",value:function(){return"ResolveStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(ls),ps=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i,a){var l;return _classCallCheck(this,n),(l=t.call(this,e,r)).urlAfterRedirects=i,l.state=a,l}return _createClass(n,[{key:"toString",value:function(){return"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(ls),gs=function(){function e(t){_classCallCheck(this,e),this.route=t}return _createClass(e,[{key:"toString",value:function(){return"RouteConfigLoadStart(path: ".concat(this.route.path,")")}}]),e}(),ys=function(){function e(t){_classCallCheck(this,e),this.route=t}return _createClass(e,[{key:"toString",value:function(){return"RouteConfigLoadEnd(path: ".concat(this.route.path,")")}}]),e}(),ms=function(){function e(t){_classCallCheck(this,e),this.snapshot=t}return _createClass(e,[{key:"toString",value:function(){return"ChildActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),_s=function(){function e(t){_classCallCheck(this,e),this.snapshot=t}return _createClass(e,[{key:"toString",value:function(){return"ChildActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),ks=function(){function e(t){_classCallCheck(this,e),this.snapshot=t}return _createClass(e,[{key:"toString",value:function(){return"ActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),Cs=function(){function e(t){_classCallCheck(this,e),this.snapshot=t}return _createClass(e,[{key:"toString",value:function(){return"ActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),ws=function(){function e(t,n,r){_classCallCheck(this,e),this.routerEvent=t,this.position=n,this.anchor=r}return _createClass(e,[{key:"toString",value:function(){return"Scroll(anchor: '".concat(this.anchor,"', position: '").concat(this.position?"".concat(this.position[0],", ").concat(this.position[1]):null,"')")}}]),e}(),bs=function e(){_classCallCheck(this,e)},Ss=function(){function e(t){_classCallCheck(this,e),this.params=t||{}}return _createClass(e,[{key:"has",value:function(e){return this.params.hasOwnProperty(e)}},{key:"get",value:function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t[0]:t}return null}},{key:"getAll",value:function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t:[t]}return[]}},{key:"keys",get:function(){return Object.keys(this.params)}}]),e}();function Es(e){return new Ss(e)}function xs(e){var t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function Ts(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 i={},a=0;a<r.length;a++){var l=r[a],o=e[a];if(l.startsWith(":"))i[l.substring(1)]=o;else if(l!==o.path)return null}return{consumed:e.slice(0,r.length),posParams:i}}var As=function e(t,n){_classCallCheck(this,e),this.routes=t,this.module=n};function Is(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=0;n<e.length;n++){var r=e[n];Rs(r,Ns(t,r))}}function Rs(e,t){if(!e)throw new Error("\n Invalid configuration of route '".concat(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 '".concat(t,"': Array cannot be specified"));if(!e.component&&!e.children&&!e.loadChildren&&e.outlet&&"primary"!==e.outlet)throw new Error("Invalid configuration of route '".concat(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 '".concat(t,"': redirectTo and children cannot be used together"));if(e.redirectTo&&e.loadChildren)throw new Error("Invalid configuration of route '".concat(t,"': redirectTo and loadChildren cannot be used together"));if(e.children&&e.loadChildren)throw new Error("Invalid configuration of route '".concat(t,"': children and loadChildren cannot be used together"));if(e.redirectTo&&e.component)throw new Error("Invalid configuration of route '".concat(t,"': redirectTo and component cannot be used together"));if(e.path&&e.matcher)throw new Error("Invalid configuration of route '".concat(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 '".concat(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 '".concat(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 '".concat(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: \"".concat(t,'", redirectTo: "').concat(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 '".concat(t,"': pathMatch can only be set to 'prefix' or 'full'"));e.children&&Is(e.children,t)}function Ns(e,t){return t?e||t.path?e&&!t.path?e+"/":!e&&t.path?t.path:"".concat(e,"/").concat(t.path):"":e}function Ps(e){var t=e.children&&e.children.map(Ps),n=t?Object.assign({},e,{children:t}):Object.assign({},e);return!n.component&&(t||n.loadChildren)&&n.outlet&&"primary"!==n.outlet&&(n.component=bs),n}function Os(e,t){var n,r=Object.keys(e),i=Object.keys(t);if(!r||!i||r.length!=i.length)return!1;for(var a=0;a<r.length;a++)if(e[n=r[a]]!==t[n])return!1;return!0}function Ds(e){return Array.prototype.concat.apply([],e)}function Ms(e){return e.length>0?e[e.length-1]:null}function Us(e,t){for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)}function js(e){return Bt(e)?e:zt(e)?Q(Promise.resolve(e)):co(e)}function Ls(e,t,n){return n?function(e,t){return Os(e,t)}(e.queryParams,t.queryParams)&&function e(t,n){if(!zs(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,i){if(n.segments.length>i.length)return!!zs(n.segments.slice(0,i.length),i)&&!r.hasChildren();if(n.segments.length===i.length){if(!zs(n.segments,i))return!1;for(var a in r.children){if(!n.children[a])return!1;if(!e(n.children[a],r.children[a]))return!1}return!0}var l=i.slice(0,n.segments.length),o=i.slice(n.segments.length);return!!zs(n.segments,l)&&!!n.children.primary&&t(n.children.primary,r,o)}(t,n,n.segments)}(e.root,t.root)}var Hs=function(){function e(t,n,r){_classCallCheck(this,e),this.root=t,this.queryParams=n,this.fragment=r}return _createClass(e,[{key:"toString",value:function(){return Ws.serialize(this)}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=Es(this.queryParams)),this._queryParamMap}}]),e}(),Vs=function(){function e(t,n){var r=this;_classCallCheck(this,e),this.segments=t,this.children=n,this.parent=null,Us(n,(function(e,t){return e.parent=r}))}return _createClass(e,[{key:"hasChildren",value:function(){return this.numberOfChildren>0}},{key:"toString",value:function(){return Gs(this)}},{key:"numberOfChildren",get:function(){return Object.keys(this.children).length}}]),e}(),Fs=function(){function e(t,n){_classCallCheck(this,e),this.path=t,this.parameters=n}return _createClass(e,[{key:"toString",value:function(){return Xs(this)}},{key:"parameterMap",get:function(){return this._parameterMap||(this._parameterMap=Es(this.parameters)),this._parameterMap}}]),e}();function zs(e,t){return e.length===t.length&&e.every((function(e,n){return e.path===t[n].path}))}function Bs(e,t){var n=[];return Us(e.children,(function(e,r){"primary"===r&&(n=n.concat(t(e,r)))})),Us(e.children,(function(e,r){"primary"!==r&&(n=n.concat(t(e,r)))})),n}var qs=function e(){_classCallCheck(this,e)},Zs=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"parse",value:function(e){var t=new ic(e);return new Hs(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}},{key:"serialize",value:function(e){return"".concat("/"+function e(t,n){if(!t.hasChildren())return Gs(t);if(n){var r=t.children.primary?e(t.children.primary,!1):"",i=[];return Us(t.children,(function(t,n){"primary"!==n&&i.push("".concat(n,":").concat(e(t,!1)))})),i.length>0?"".concat(r,"(").concat(i.join("//"),")"):r}var a=Bs(t,(function(n,r){return"primary"===r?[e(t.children.primary,!1)]:["".concat(r,":").concat(e(n,!1))]}));return"".concat(Gs(t),"/(").concat(a.join("//"),")")}(e.root,!0)).concat((t=e.queryParams,n=Object.keys(t).map((function(e){var n=t[e];return Array.isArray(n)?n.map((function(t){return"".concat(Ks(e),"=").concat(Ks(t))})).join("&"):"".concat(Ks(e),"=").concat(Ks(n))})),n.length?"?"+n.join("&"):"")).concat("string"==typeof e.fragment?"#"+encodeURI(e.fragment):"");var t,n}}]),e}(),Ws=new Zs;function Gs(e){return e.segments.map((function(e){return Xs(e)})).join("/")}function Qs(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ks(e){return Qs(e).replace(/%3B/gi,";")}function Js(e){return Qs(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ys(e){return decodeURIComponent(e)}function $s(e){return Ys(e.replace(/\+/g,"%20"))}function Xs(e){return"".concat(Js(e.path)).concat((t=e.parameters,Object.keys(t).map((function(e){return";".concat(Js(e),"=").concat(Js(t[e]))})).join("")));var t}var ec=/^[^\/()?;=#]+/;function tc(e){var t=e.match(ec);return t?t[0]:""}var nc=/^[^=?&#]+/,rc=/^[^?&#]+/,ic=function(){function e(t){_classCallCheck(this,e),this.url=t,this.remaining=t}return _createClass(e,[{key:"parseRootSegment",value:function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Vs([],{}):new Vs([],this.parseChildren())}},{key:"parseQueryParams",value:function(){var e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}},{key:"parseFragment",value:function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}},{key:"parseChildren",value: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.primary=new Vs(e,t)),n}},{key:"parseSegment",value:function(){var e=tc(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '".concat(this.remaining,"'."));return this.capture(e),new Fs(Ys(e),this.parseMatrixParams())}},{key:"parseMatrixParams",value:function(){for(var e={};this.consumeOptional(";");)this.parseParam(e);return e}},{key:"parseParam",value:function(e){var t=tc(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var r=tc(this.remaining);r&&(n=r,this.capture(n))}e[Ys(t)]=Ys(n)}}},{key:"parseQueryParam",value:function(e){var t=function(e){var t=e.match(nc);return t?t[0]:""}(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var r=function(e){var t=e.match(rc);return t?t[0]:""}(this.remaining);r&&(n=r,this.capture(n))}var i=$s(t),a=$s(n);if(e.hasOwnProperty(i)){var l=e[i];Array.isArray(l)||(l=[l],e[i]=l),l.push(a)}else e[i]=a}}},{key:"parseParens",value:function(e){var t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=tc(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error("Cannot parse url '".concat(this.url,"'"));var i=void 0;n.indexOf(":")>-1?(i=n.substr(0,n.indexOf(":")),this.capture(i),this.capture(":")):e&&(i="primary");var a=this.parseChildren();t[i]=1===Object.keys(a).length?a.primary:new Vs([],a),this.consumeOptional("//")}return t}},{key:"peekStartsWith",value:function(e){return this.remaining.startsWith(e)}},{key:"consumeOptional",value:function(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}},{key:"capture",value:function(e){if(!this.consumeOptional(e))throw new Error('Expected "'.concat(e,'".'))}}]),e}(),ac=function(){function e(t){_classCallCheck(this,e),this._root=t}return _createClass(e,[{key:"parent",value:function(e){var t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}},{key:"children",value:function(e){var t=lc(e,this._root);return t?t.children.map((function(e){return e.value})):[]}},{key:"firstChild",value:function(e){var t=lc(e,this._root);return t&&t.children.length>0?t.children[0].value:null}},{key:"siblings",value:function(e){var t=oc(e,this._root);return t.length<2?[]:t[t.length-2].children.map((function(e){return e.value})).filter((function(t){return t!==e}))}},{key:"pathFromRoot",value:function(e){return oc(e,this._root).map((function(e){return e.value}))}},{key:"root",get:function(){return this._root.value}}]),e}();function lc(e,t){if(e===t.value)return t;var n,r=_createForOfIteratorHelper(t.children);try{for(r.s();!(n=r.n()).done;){var i=lc(e,n.value);if(i)return i}}catch(a){r.e(a)}finally{r.f()}return null}function oc(e,t){if(e===t.value)return[t];var n,r=_createForOfIteratorHelper(t.children);try{for(r.s();!(n=r.n()).done;){var i=oc(e,n.value);if(i.length)return i.unshift(t),i}}catch(a){r.e(a)}finally{r.f()}return[]}var uc=function(){function e(t,n){_classCallCheck(this,e),this.value=t,this.children=n}return _createClass(e,[{key:"toString",value:function(){return"TreeNode(".concat(this.value,")")}}]),e}();function sc(e){var t={};return e&&e.children.forEach((function(e){return t[e.value.outlet]=e})),t}var cc=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this,e)).snapshot=r,gc(_assertThisInitialized(i),e),i}return _createClass(n,[{key:"toString",value:function(){return this.snapshot.toString()}}]),n}(ac);function hc(e,t){var n=function(e,t){var n=new vc([],{},{},"",{},"primary",t,null,e.root,-1,{});return new pc("",new uc(n,[]))}(e,t),r=new ho([new Fs("",{})]),i=new ho({}),a=new ho({}),l=new ho({}),o=new ho(""),u=new fc(r,i,l,o,a,"primary",t,n.root);return u.snapshot=n.root,new cc(new uc(u,[]),n)}var fc=function(){function e(t,n,r,i,a,l,o,u){_classCallCheck(this,e),this.url=t,this.params=n,this.queryParams=r,this.fragment=i,this.data=a,this.outlet=l,this.component=o,this._futureSnapshot=u}return _createClass(e,[{key:"toString",value:function(){return this.snapshot?this.snapshot.toString():"Future(".concat(this._futureSnapshot,")")}},{key:"routeConfig",get:function(){return this._futureSnapshot.routeConfig}},{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=this.params.pipe(q((function(e){return Es(e)})))),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(q((function(e){return Es(e)})))),this._queryParamMap}}]),e}();function dc(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"emptyOnly",n=e.pathFromRoot,r=0;if("always"!==t)for(r=n.length-1;r>=1;){var i=n[r],a=n[r-1];if(i.routeConfig&&""===i.routeConfig.path)r--;else{if(a.component)break;r--}}return function(e){return e.reduce((function(e,t){return{params:Object.assign({},e.params,t.params),data:Object.assign({},e.data,t.data),resolve:Object.assign({},e.resolve,t._resolvedData)}}),{params:{},data:{},resolve:{}})}(n.slice(r))}var vc=function(){function e(t,n,r,i,a,l,o,u,s,c,h){_classCallCheck(this,e),this.url=t,this.params=n,this.queryParams=r,this.fragment=i,this.data=a,this.outlet=l,this.component=o,this.routeConfig=u,this._urlSegment=s,this._lastPathIndex=c,this._resolve=h}return _createClass(e,[{key:"toString",value:function(){return"Route(url:'".concat(this.url.map((function(e){return e.toString()})).join("/"),"', path:'").concat(this.routeConfig?this.routeConfig.path:"","')")}},{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=Es(this.params)),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=Es(this.queryParams)),this._queryParamMap}}]),e}(),pc=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this,r)).url=e,gc(_assertThisInitialized(i),r),i}return _createClass(n,[{key:"toString",value:function(){return yc(this._root)}}]),n}(ac);function gc(e,t){t.value._routerState=e,t.children.forEach((function(t){return gc(e,t)}))}function yc(e){var t=e.children.length>0?" { ".concat(e.children.map(yc).join(", ")," } "):"";return"".concat(e.value).concat(t)}function mc(e){if(e.snapshot){var t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Os(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),Os(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(!Os(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),Os(t.data,n.data)||e.data.next(n.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function _c(e,t){var n,r;return Os(e.params,t.params)&&zs(n=e.url,r=t.url)&&n.every((function(e,t){return Os(e.parameters,r[t].parameters)}))&&!(!e.parent!=!t.parent)&&(!e.parent||_c(e.parent,t.parent))}function kc(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function Cc(e,t,n,r,i){var a={};return r&&Us(r,(function(e,t){a[t]=Array.isArray(e)?e.map((function(e){return""+e})):""+e})),new Hs(n.root===e?t:function e(t,n,r){var i={};return Us(t.children,(function(t,a){i[a]=t===n?r:e(t,n,r)})),new Vs(t.segments,i)}(n.root,e,t),a,i)}var wc=function(){function e(t,n,r){if(_classCallCheck(this,e),this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&kc(r[0]))throw new Error("Root segment cannot have matrix parameters");var i=r.find((function(e){return"object"==typeof e&&null!=e&&e.outlets}));if(i&&i!==Ms(r))throw new Error("{outlets:{}} has to be the last command")}return _createClass(e,[{key:"toRoot",value:function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}]),e}(),bc=function e(t,n,r){_classCallCheck(this,e),this.segmentGroup=t,this.processChildren=n,this.index=r};function Sc(e){return"object"==typeof e&&null!=e&&e.outlets?e.outlets.primary:""+e}function Ec(e,t,n){if(e||(e=new Vs([],{})),0===e.segments.length&&e.hasChildren())return xc(e,t,n);var r=function(e,t,n){for(var r=0,i=t,a={match:!1,pathIndex:0,commandIndex:0};i<e.segments.length;){if(r>=n.length)return a;var l=e.segments[i],o=Sc(n[r]),u=r<n.length-1?n[r+1]:null;if(i>0&&void 0===o)break;if(o&&u&&"object"==typeof u&&void 0===u.outlets){if(!Rc(o,u,l))return a;r+=2}else{if(!Rc(o,{},l))return a;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(e,t,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){var a=new Vs(e.segments.slice(0,r.pathIndex),{});return a.children.primary=new Vs(e.segments.slice(r.pathIndex),e.children),xc(a,0,i)}return r.match&&0===i.length?new Vs(e.segments,{}):r.match&&!e.hasChildren()?Tc(e,t,n):r.match?xc(e,0,i):Tc(e,t,n)}function xc(e,t,n){if(0===n.length)return new Vs(e.segments,{});var r=function(e){return"object"!=typeof e[0]||void 0===e[0].outlets?{primary:e}:e[0].outlets}(n),i={};return Us(r,(function(n,r){null!==n&&(i[r]=Ec(e.children[r],t,n))})),Us(e.children,(function(e,t){void 0===r[t]&&(i[t]=e)})),new Vs(e.segments,i)}function Tc(e,t,n){for(var r=e.segments.slice(0,t),i=0;i<n.length;){if("object"==typeof n[i]&&void 0!==n[i].outlets){var a=Ac(n[i].outlets);return new Vs(r,a)}if(0===i&&kc(n[0]))r.push(new Fs(e.segments[t].path,n[0])),i++;else{var l=Sc(n[i]),o=i<n.length-1?n[i+1]:null;l&&o&&kc(o)?(r.push(new Fs(l,Ic(o))),i+=2):(r.push(new Fs(l,{})),i++)}}return new Vs(r,{})}function Ac(e){var t={};return Us(e,(function(e,n){null!==e&&(t[n]=Tc(new Vs([],{}),0,e))})),t}function Ic(e){var t={};return Us(e,(function(e,n){return t[n]=""+e})),t}function Rc(e,t,n){return e==n.path&&Os(t,n.parameters)}var Nc=function(){function e(t,n,r,i){_classCallCheck(this,e),this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=i}return _createClass(e,[{key:"activate",value:function(e){var t=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,n,e),mc(this.futureState.root),this.activateChildRoutes(t,n,e)}},{key:"deactivateChildRoutes",value:function(e,t,n){var r=this,i=sc(t);e.children.forEach((function(e){var t=e.value.outlet;r.deactivateRoutes(e,i[t],n),delete i[t]})),Us(i,(function(e,t){r.deactivateRouteAndItsChildren(e,n)}))}},{key:"deactivateRoutes",value:function(e,t,n){var r=e.value,i=t?t.value:null;if(r===i)if(r.component){var a=n.getContext(r.outlet);a&&this.deactivateChildRoutes(e,t,a.children)}else this.deactivateChildRoutes(e,t,n);else i&&this.deactivateRouteAndItsChildren(t,n)}},{key:"deactivateRouteAndItsChildren",value:function(e,t){this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)}},{key:"detachAndStoreRouteSubtree",value:function(e,t){var n=t.getContext(e.value.outlet);if(n&&n.outlet){var r=n.outlet.detach(),i=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:r,route:e,contexts:i})}}},{key:"deactivateRouteAndOutlet",value:function(e,t){var n=this,r=t.getContext(e.value.outlet);if(r){var i=sc(e),a=e.value.component?r.children:t;Us(i,(function(e,t){return n.deactivateRouteAndItsChildren(e,a)})),r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated())}}},{key:"activateChildRoutes",value:function(e,t,n){var r=this,i=sc(t);e.children.forEach((function(e){r.activateRoutes(e,i[e.value.outlet],n),r.forwardEvent(new Cs(e.value.snapshot))})),e.children.length&&this.forwardEvent(new _s(e.value.snapshot))}},{key:"activateRoutes",value:function(e,t,n){var r=e.value,i=t?t.value:null;if(mc(r),r===i)if(r.component){var a=n.getOrCreateContext(r.outlet);this.activateChildRoutes(e,t,a.children)}else this.activateChildRoutes(e,t,n);else if(r.component){var l=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){var o=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),l.children.onOutletReAttached(o.contexts),l.attachRef=o.componentRef,l.route=o.route.value,l.outlet&&l.outlet.attach(o.componentRef,o.route.value),Pc(o.route)}else{var u=function(e){for(var t=e.parent;t;t=t.parent){var n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig;if(n&&n.component)return null}return null}(r.snapshot),s=u?u.module.componentFactoryResolver:null;l.attachRef=null,l.route=r,l.resolver=s,l.outlet&&l.outlet.activateWith(r,s),this.activateChildRoutes(e,null,l.children)}}else this.activateChildRoutes(e,null,n)}}]),e}();function Pc(e){mc(e.value),e.children.forEach(Pc)}function Oc(e){return"function"==typeof e}function Dc(e){return e instanceof Hs}var Mc=function e(t){_classCallCheck(this,e),this.segmentGroup=t||null},Uc=function e(t){_classCallCheck(this,e),this.urlTree=t};function jc(e){return new b((function(t){return t.error(new Mc(e))}))}function Lc(e){return new b((function(t){return t.error(new Uc(e))}))}function Hc(e){return new b((function(t){return t.error(new Error("Only absolute redirects can have named outlets. redirectTo: '".concat(e,"'")))}))}var Vc=function(){function e(t,n,r,i,a){_classCallCheck(this,e),this.configLoader=n,this.urlSerializer=r,this.urlTree=i,this.config=a,this.allowRedirects=!0,this.ngModule=t.get(Ue)}return _createClass(e,[{key:"apply",value:function(){var e=this;return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,"primary").pipe(q((function(t){return e.createUrlTree(t,e.urlTree.queryParams,e.urlTree.fragment)}))).pipe(jo((function(t){if(t instanceof Uc)return e.allowRedirects=!1,e.match(t.urlTree);if(t instanceof Mc)throw e.noMatchError(t);throw t})))}},{key:"match",value:function(e){var t=this;return this.expandSegmentGroup(this.ngModule,this.config,e.root,"primary").pipe(q((function(n){return t.createUrlTree(n,e.queryParams,e.fragment)}))).pipe(jo((function(e){if(e instanceof Mc)throw t.noMatchError(e);throw e})))}},{key:"noMatchError",value:function(e){return new Error("Cannot match any routes. URL Segment: '".concat(e.segmentGroup,"'"))}},{key:"createUrlTree",value:function(e,t,n){var r=e.segments.length>0?new Vs([],{primary:e}):e;return new Hs(r,t,n)}},{key:"expandSegmentGroup",value:function(e,t,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(q((function(e){return new Vs([],e)}))):this.expandSegment(e,n,t,n.segments,r,!0)}},{key:"expandChildren",value:function(e,t,n){var r=this;return function(n,i){if(0===Object.keys(n).length)return co({});var a=[],l=[],o={};return Us(n,(function(n,i){var u,s,c=(u=i,s=n,r.expandSegmentGroup(e,t,s,u)).pipe(q((function(e){return o[i]=e})));"primary"===i?a.push(c):l.push(c)})),co.apply(null,a.concat(l)).pipe(_o(),Uo(),q((function(){return o})))}(n.children)}},{key:"expandSegment",value:function(e,t,n,r,i,a){var l=this;return co.apply(void 0,_toConsumableArray(n)).pipe(q((function(o){return l.expandSegmentAgainstRoute(e,t,n,o,r,i,a).pipe(jo((function(e){if(e instanceof Mc)return co(null);throw e})))})),_o(),Bo((function(e){return!!e})),jo((function(e,n){if(e instanceof vo||"EmptyError"===e.name){if(l.noLeftoversInUrl(t,r,i))return co(new Vs([],{}));throw new Mc(t)}throw e})))}},{key:"noLeftoversInUrl",value:function(e,t,n){return 0===t.length&&!e.children[n]}},{key:"expandSegmentAgainstRoute",value:function(e,t,n,r,i,a,l){return qc(r)!==a?jc(t):void 0===r.redirectTo?this.matchSegmentAgainstRoute(e,t,r,i):l&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,r,i,a):jc(t)}},{key:"expandSegmentAgainstRouteUsingRedirect",value:function(e,t,n,r,i,a){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,r,a):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,r,i,a)}},{key:"expandWildCardWithParamsAgainstRouteUsingRedirect",value:function(e,t,n,r){var i=this,a=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Lc(a):this.lineralizeSegments(n,a).pipe(K((function(n){var a=new Vs(n,{});return i.expandSegment(e,a,t,n,r,!1)})))}},{key:"expandRegularSegmentAgainstRouteUsingRedirect",value:function(e,t,n,r,i,a){var l=this,o=Fc(t,r,i),u=o.matched,s=o.consumedSegments,c=o.lastChild,h=o.positionalParamSegments;if(!u)return jc(t);var f=this.applyRedirectCommands(s,r.redirectTo,h);return r.redirectTo.startsWith("/")?Lc(f):this.lineralizeSegments(r,f).pipe(K((function(r){return l.expandSegment(e,t,n,r.concat(i.slice(c)),a,!1)})))}},{key:"matchSegmentAgainstRoute",value:function(e,t,n,r){var i=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(e.injector,n).pipe(q((function(e){return n._loadedConfig=e,new Vs(r,{})}))):co(new Vs(r,{}));var a=Fc(t,n,r),l=a.matched,o=a.consumedSegments,u=a.lastChild;if(!l)return jc(t);var s=r.slice(u);return this.getChildConfig(e,n,r).pipe(K((function(e){var n=e.module,r=e.routes,a=function(e,t,n,r){return n.length>0&&function(e,t,n){return n.some((function(n){return Bc(e,t,n)&&"primary"!==qc(n)}))}(e,n,r)?{segmentGroup:zc(new Vs(t,function(e,t){var n={};n.primary=t;var r,i=_createForOfIteratorHelper(e);try{for(i.s();!(r=i.n()).done;){var a=r.value;""===a.path&&"primary"!==qc(a)&&(n[qc(a)]=new Vs([],{}))}}catch(l){i.e(l)}finally{i.f()}return n}(r,new Vs(n,e.children)))),slicedSegments:[]}:0===n.length&&function(e,t,n){return n.some((function(n){return Bc(e,t,n)}))}(e,n,r)?{segmentGroup:zc(new Vs(e.segments,function(e,t,n,r){var i,a={},l=_createForOfIteratorHelper(n);try{for(l.s();!(i=l.n()).done;){var o=i.value;Bc(e,t,o)&&!r[qc(o)]&&(a[qc(o)]=new Vs([],{}))}}catch(u){l.e(u)}finally{l.f()}return Object.assign({},r,a)}(e,n,r,e.children))),slicedSegments:n}:{segmentGroup:e,slicedSegments:n}}(t,o,s,r),l=a.segmentGroup,u=a.slicedSegments;return 0===u.length&&l.hasChildren()?i.expandChildren(n,r,l).pipe(q((function(e){return new Vs(o,e)}))):0===r.length&&0===u.length?co(new Vs(o,{})):i.expandSegment(n,l,r,u,"primary",!0).pipe(q((function(e){return new Vs(o.concat(e.segments),e.children)})))})))}},{key:"getChildConfig",value:function(e,t,n){var r=this;return t.children?co(new As(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?co(t._loadedConfig):function(e,t,n){var r,i=t.canLoad;return i&&0!==i.length?Q(i).pipe(q((function(r){var i,a=e.get(r);if(function(e){return e&&Oc(e.canLoad)}(a))i=a.canLoad(t,n);else{if(!Oc(a))throw new Error("Invalid CanLoad guard");i=a(t,n)}return js(i)}))).pipe(_o(),(r=function(e){return!0===e},function(e){return e.lift(new qo(r,void 0,e))})):co(!0)}(e.injector,t,n).pipe(K((function(n){return n?r.configLoader.load(e.injector,t).pipe(q((function(e){return t._loadedConfig=e,e}))):function(e){return new b((function(t){return t.error(xs("Cannot load children because the guard of the route \"path: '".concat(e.path,"'\" returned false")))}))}(t)}))):co(new As([],e))}},{key:"lineralizeSegments",value:function(e,t){for(var n=[],r=t.root;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return co(n);if(r.numberOfChildren>1||!r.children.primary)return Hc(e.redirectTo);r=r.children.primary}}},{key:"applyRedirectCommands",value:function(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)}},{key:"applyRedirectCreatreUrlTree",value:function(e,t,n,r){var i=this.createSegmentGroup(e,t.root,n,r);return new Hs(i,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}},{key:"createQueryParams",value:function(e,t){var n={};return Us(e,(function(e,r){if("string"==typeof e&&e.startsWith(":")){var i=e.substring(1);n[r]=t[i]}else n[r]=e})),n}},{key:"createSegmentGroup",value:function(e,t,n,r){var i=this,a=this.createSegments(e,t.segments,n,r),l={};return Us(t.children,(function(t,a){l[a]=i.createSegmentGroup(e,t,n,r)})),new Vs(a,l)}},{key:"createSegments",value:function(e,t,n,r){var i=this;return t.map((function(t){return t.path.startsWith(":")?i.findPosParam(e,t,r):i.findOrReturn(t,n)}))}},{key:"findPosParam",value:function(e,t,n){var r=n[t.path.substring(1)];if(!r)throw new Error("Cannot redirect to '".concat(e,"'. Cannot find '").concat(t.path,"'."));return r}},{key:"findOrReturn",value:function(e,t){var n,r=0,i=_createForOfIteratorHelper(t);try{for(i.s();!(n=i.n()).done;){var a=n.value;if(a.path===e.path)return t.splice(r),a;r++}}catch(l){i.e(l)}finally{i.f()}return e}}]),e}();function Fc(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||Ts)(n,e,t);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function zc(e){if(1===e.numberOfChildren&&e.children.primary){var t=e.children.primary;return new Vs(e.segments.concat(t.segments),t.children)}return e}function Bc(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function qc(e){return e.outlet||"primary"}var Zc=function e(t){_classCallCheck(this,e),this.path=t,this.route=this.path[this.path.length-1]},Wc=function e(t,n){_classCallCheck(this,e),this.component=t,this.route=n};function Gc(e,t,n){var r=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(r?r.module.injector:n).get(e)}function Qc(e,t,n){var r=sc(e),i=e.value;Us(r,(function(e,r){Qc(e,i.component?t?t.children.getContext(r):null:t,n)})),n.canDeactivateChecks.push(new Wc(i.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,i))}var Kc=Symbol("INITIAL_VALUE");function Jc(){return Wo((function(e){return(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=null,i=null;return P(t[t.length-1])&&(i=t.pop()),"function"==typeof t[t.length-1]&&(r=t.pop()),1===t.length&&u(t[0])&&(t=t[0]),G(t,i).lift(new go(r))}).apply(void 0,_toConsumableArray(e.map((function(e){return e.pipe(Vo(1),function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){var n=t[t.length-1];P(n)?t.pop():n=null;var r=t.length;return function(){return _o()(co.apply(void 0,arguments))}(1!==r||n?r>0?G(t,n):uo(n):so(t[0]),e)}}(Kc))})))).pipe(Ko((function(e,t){var n=!1;return t.reduce((function(e,r,i){if(e!==Kc)return e;if(r===Kc&&(n=!0),!n){if(!1===r)return r;if(i===t.length-1||Dc(r))return r}return e}),e)}),Kc),ko((function(e){return e!==Kc})),q((function(e){return Dc(e)?e:!0===e})),Vo(1))}))}function Yc(e,t){return null!==e&&t&&t(new ks(e)),co(!0)}function $c(e,t){return null!==e&&t&&t(new ms(e)),co(!0)}function Xc(e,t,n){var r=t.routeConfig?t.routeConfig.canActivate:null;return r&&0!==r.length?co(r.map((function(r){return mo((function(){var i,a=Gc(r,t,n);if(function(e){return e&&Oc(e.canActivate)}(a))i=js(a.canActivate(t,e));else{if(!Oc(a))throw new Error("Invalid CanActivate guard");i=js(a(t,e))}return i.pipe(Bo())}))}))).pipe(Jc()):co(!0)}function eh(e,t,n){var r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map((function(e){return function(e){var t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(e)})).filter((function(e){return null!==e})).map((function(t){return mo((function(){return co(t.guards.map((function(i){var a,l=Gc(i,t.node,n);if(function(e){return e&&Oc(e.canActivateChild)}(l))a=js(l.canActivateChild(r,e));else{if(!Oc(l))throw new Error("Invalid CanActivateChild guard");a=js(l(r,e))}return a.pipe(Bo())}))).pipe(Jc())}))}));return co(i).pipe(Jc())}var th=function e(){_classCallCheck(this,e)},nh=function(){function e(t,n,r,i,a,l){_classCallCheck(this,e),this.rootComponentType=t,this.config=n,this.urlTree=r,this.url=i,this.paramsInheritanceStrategy=a,this.relativeLinkResolution=l}return _createClass(e,[{key:"recognize",value:function(){try{var e=ah(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,"primary"),n=new vc([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),r=new uc(n,t),i=new pc(this.url,r);return this.inheritParamsAndData(i._root),co(i)}catch(a){return new b((function(e){return e.error(a)}))}}},{key:"inheritParamsAndData",value:function(e){var t=this,n=e.value,r=dc(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),e.children.forEach((function(e){return t.inheritParamsAndData(e)}))}},{key:"processSegmentGroup",value:function(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)}},{key:"processChildren",value:function(e,t){var n,r=this,i=Bs(t,(function(t,n){return r.processSegmentGroup(e,t,n)}));return n={},i.forEach((function(e){var t=n[e.value.outlet];if(t){var r=t.url.map((function(e){return e.toString()})).join("/"),i=e.value.url.map((function(e){return e.toString()})).join("/");throw new Error("Two segments cannot have the same outlet name: '".concat(r,"' and '").concat(i,"'."))}n[e.value.outlet]=e.value})),i.sort((function(e,t){return"primary"===e.value.outlet?-1:"primary"===t.value.outlet?1:e.value.outlet.localeCompare(t.value.outlet)})),i}},{key:"processSegment",value:function(e,t,n,r){var i,a=_createForOfIteratorHelper(e);try{for(a.s();!(i=a.n()).done;){var l=i.value;try{return this.processSegmentAgainstRoute(l,t,n,r)}catch(o){if(!(o instanceof th))throw o}}}catch(u){a.e(u)}finally{a.f()}if(this.noLeftoversInUrl(t,n,r))return[];throw new th}},{key:"noLeftoversInUrl",value:function(e,t,n){return 0===t.length&&!e.children[n]}},{key:"processSegmentAgainstRoute",value:function(e,t,n,r){if(e.redirectTo)throw new th;if((e.outlet||"primary")!==r)throw new th;var i,a=[],l=[];if("**"===e.path){var o=n.length>0?Ms(n).parameters:{};i=new vc(n,o,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,uh(e),r,e.component,e,rh(t),ih(t)+n.length,sh(e))}else{var u=function(e,t,n){if(""===t.path){if("full"===t.pathMatch&&(e.hasChildren()||n.length>0))throw new th;return{consumedSegments:[],lastChild:0,parameters:{}}}var r=(t.matcher||Ts)(n,e,t);if(!r)throw new th;var i={};Us(r.posParams,(function(e,t){i[t]=e.path}));var a=r.consumed.length>0?Object.assign({},i,r.consumed[r.consumed.length-1].parameters):i;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:a}}(t,e,n);a=u.consumedSegments,l=n.slice(u.lastChild),i=new vc(a,u.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,uh(e),r,e.component,e,rh(t),ih(t)+a.length,sh(e))}var s=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),c=ah(t,a,l,s,this.relativeLinkResolution),h=c.segmentGroup,f=c.slicedSegments;if(0===f.length&&h.hasChildren()){var d=this.processChildren(s,h);return[new uc(i,d)]}if(0===s.length&&0===f.length)return[new uc(i,[])];var v=this.processSegment(s,h,f,"primary");return[new uc(i,v)]}}]),e}();function rh(e){for(var t=e;t._sourceSegment;)t=t._sourceSegment;return t}function ih(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 ah(e,t,n,r,i){if(n.length>0&&function(e,t,n){return n.some((function(n){return lh(e,t,n)&&"primary"!==oh(n)}))}(e,n,r)){var a=new Vs(t,function(e,t,n,r){var i={};i.primary=r,r._sourceSegment=e,r._segmentIndexShift=t.length;var a,l=_createForOfIteratorHelper(n);try{for(l.s();!(a=l.n()).done;){var o=a.value;if(""===o.path&&"primary"!==oh(o)){var u=new Vs([],{});u._sourceSegment=e,u._segmentIndexShift=t.length,i[oh(o)]=u}}}catch(s){l.e(s)}finally{l.f()}return i}(e,t,r,new Vs(n,e.children)));return a._sourceSegment=e,a._segmentIndexShift=t.length,{segmentGroup:a,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return n.some((function(n){return lh(e,t,n)}))}(e,n,r)){var l=new Vs(e.segments,function(e,t,n,r,i,a){var l,o={},u=_createForOfIteratorHelper(r);try{for(u.s();!(l=u.n()).done;){var s=l.value;if(lh(e,n,s)&&!i[oh(s)]){var c=new Vs([],{});c._sourceSegment=e,c._segmentIndexShift="legacy"===a?e.segments.length:t.length,o[oh(s)]=c}}}catch(h){u.e(h)}finally{u.f()}return Object.assign({},i,o)}(e,t,n,r,e.children,i));return l._sourceSegment=e,l._segmentIndexShift=t.length,{segmentGroup:l,slicedSegments:n}}var o=new Vs(e.segments,e.children);return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:n}}function lh(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function oh(e){return e.outlet||"primary"}function uh(e){return e.data||{}}function sh(e){return e.resolve||{}}function ch(e,t,n,r){var i=Gc(e,t,r);return js(i.resolve?i.resolve(t,n):i(t,n))}function hh(e){return function(t){return t.pipe(Wo((function(t){var n=e(t);return n?Q(n).pipe(q((function(){return t}))):Q([t])})))}}var fh=function e(){_classCallCheck(this,e)},dh=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"shouldDetach",value:function(e){return!1}},{key:"store",value:function(e,t){}},{key:"shouldAttach",value:function(e){return!1}},{key:"retrieve",value:function(e){return null}},{key:"shouldReuseRoute",value:function(e,t){return e.routeConfig===t.routeConfig}}]),e}(),vh=new xe("ROUTES"),ph=function(){function e(t,n,r,i){_classCallCheck(this,e),this.loader=t,this.compiler=n,this.onLoadStartListener=r,this.onLoadEndListener=i}return _createClass(e,[{key:"load",value:function(e,t){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(t),this.loadModuleFactory(t.loadChildren).pipe(q((function(r){n.onLoadEndListener&&n.onLoadEndListener(t);var i=r.create(e);return new As(Ds(i.injector.get(vh)).map(Ps),i)})))}},{key:"loadModuleFactory",value:function(e){var t=this;return"string"==typeof e?Q(this.loader.load(e)):js(e()).pipe(K((function(e){return e instanceof je?co(e):Q(t.compiler.compileModuleAsync(e))})))}}]),e}(),gh=function e(){_classCallCheck(this,e)},yh=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"shouldProcessUrl",value:function(e){return!0}},{key:"extract",value:function(e){return e}},{key:"merge",value:function(e,t){return e}}]),e}();function mh(e){throw e}function _h(e,t,n){return t.parse("/")}function kh(e,t){return co(null)}var Ch=function(){function e(t,n,r,i,a,l,o,u){var s=this;_classCallCheck(this,e),this.rootComponentType=t,this.urlSerializer=n,this.rootContexts=r,this.location=i,this.config=u,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new R,this.errorHandler=mh,this.malformedUriErrorHandler=_h,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:kh,afterPreactivation:kh},this.urlHandlingStrategy=new yh,this.routeReuseStrategy=new dh,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=a.get(Ue),this.console=a.get(wi);var c=a.get(Vi);this.isNgZoneEnabled=c instanceof Vi,this.resetConfig(u),this.currentUrlTree=new Hs(new Vs([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new ph(l,o,(function(e){return s.triggerEvent(new gs(e))}),(function(e){return s.triggerEvent(new ys(e))})),this.routerState=hc(this.currentUrlTree,this.rootComponentType),this.transitions=new ho({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}return _createClass(e,[{key:"setupNavigations",value:function(e){var t=this,n=this.events;return e.pipe(ko((function(e){return 0!==e.id})),q((function(e){return Object.assign({},e,{extractedUrl:t.urlHandlingStrategy.extract(e.rawUrl)})})),Wo((function(e){var r,i,a,l,o=!1,u=!1;return co(e).pipe(Ao((function(e){t.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:t.lastSuccessfulNavigation?Object.assign({},t.lastSuccessfulNavigation,{previousNavigation:null}):null}})),Wo((function(e){var r,i,a,l,o=!t.navigated||e.extractedUrl.toString()!==t.browserUrlTree.toString();if(("reload"===t.onSameUrlNavigation||o)&&t.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return co(e).pipe(Wo((function(e){var r=t.transitions.getValue();return n.next(new os(e.id,t.serializeUrl(e.extractedUrl),e.source,e.restoredState)),r!==t.transitions.getValue()?oo:[e]})),Wo((function(e){return Promise.resolve(e)})),(r=t.ngModule.injector,i=t.configLoader,a=t.urlSerializer,l=t.config,function(e){return e.pipe(Wo((function(e){return function(e,t,n,r,i){return new Vc(e,t,n,r,i).apply()}(r,i,a,e.extractedUrl,l).pipe(q((function(t){return Object.assign({},e,{urlAfterRedirects:t})})))})))}),Ao((function(e){t.currentNavigation=Object.assign({},t.currentNavigation,{finalUrl:e.urlAfterRedirects})})),function(e,n,r,i,a){return function(r){return r.pipe(K((function(r){return function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"emptyOnly",a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"legacy";return new nh(e,t,n,r,i,a).recognize()}(e,n,r.urlAfterRedirects,(l=r.urlAfterRedirects,t.serializeUrl(l)),i,a).pipe(q((function(e){return Object.assign({},r,{targetSnapshot:e})})));var l})))}}(t.rootComponentType,t.config,0,t.paramsInheritanceStrategy,t.relativeLinkResolution),Ao((function(e){"eager"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),t.browserUrlTree=e.urlAfterRedirects)})),Ao((function(e){var r=new hs(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);n.next(r)})));if(o&&t.rawUrlTree&&t.urlHandlingStrategy.shouldProcessUrl(t.rawUrlTree)){var u=e.id,s=e.extractedUrl,c=e.source,h=e.restoredState,f=e.extras,d=new os(u,t.serializeUrl(s),c,h);n.next(d);var v=hc(s,t.rootComponentType).snapshot;return co(Object.assign({},e,{targetSnapshot:v,urlAfterRedirects:s,extras:Object.assign({},f,{skipLocationChange:!1,replaceUrl:!1})}))}return t.rawUrlTree=e.rawUrl,t.browserUrlTree=e.urlAfterRedirects,e.resolve(null),oo})),hh((function(e){var n=e.targetSnapshot,r=e.id,i=e.extractedUrl,a=e.rawUrl,l=e.extras,o=l.skipLocationChange,u=l.replaceUrl;return t.hooks.beforePreactivation(n,{navigationId:r,appliedUrlTree:i,rawUrlTree:a,skipLocationChange:!!o,replaceUrl:!!u})})),Ao((function(e){var n=new fs(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)})),q((function(e){return Object.assign({},e,{guards:(n=e.targetSnapshot,r=e.currentSnapshot,i=t.rootContexts,a=n._root,function e(t,n,r,i){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},l=sc(n);return t.children.forEach((function(t){!function(t,n,r,i){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},l=t.value,o=n?n.value:null,u=r?r.getContext(t.value.outlet):null;if(o&&l.routeConfig===o.routeConfig){var s=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!zs(e.url,t.url);case"pathParamsOrQueryParamsChange":return!zs(e.url,t.url)||!Os(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!_c(e,t)||!Os(e.queryParams,t.queryParams);case"paramsChange":default:return!_c(e,t)}}(o,l,l.routeConfig.runGuardsAndResolvers);s?a.canActivateChecks.push(new Zc(i)):(l.data=o.data,l._resolvedData=o._resolvedData),e(t,n,l.component?u?u.children:null:r,i,a),s&&a.canDeactivateChecks.push(new Wc(u&&u.outlet&&u.outlet.component||null,o))}else o&&Qc(n,u,a),a.canActivateChecks.push(new Zc(i)),e(t,null,l.component?u?u.children:null:r,i,a)}(t,l[t.value.outlet],r,i.concat([t.value]),a),delete l[t.value.outlet]})),Us(l,(function(e,t){return Qc(e,r.getContext(t),a)})),a}(a,r?r._root:null,i,[a.value]))});var n,r,i,a})),function(e,t){return function(n){return n.pipe(K((function(n){var r=n.targetSnapshot,i=n.currentSnapshot,a=n.guards,l=a.canActivateChecks,o=a.canDeactivateChecks;return 0===o.length&&0===l.length?co(Object.assign({},n,{guardsResult:!0})):function(e,t,n,r){return Q(e).pipe(K((function(e){return function(e,t,n,r,i){var a=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return a&&0!==a.length?co(a.map((function(a){var l,o=Gc(a,t,i);if(function(e){return e&&Oc(e.canDeactivate)}(o))l=js(o.canDeactivate(e,t,n,r));else{if(!Oc(o))throw new Error("Invalid CanDeactivate guard");l=js(o(e,t,n,r))}return l.pipe(Bo())}))).pipe(Jc()):co(!0)}(e.component,e.route,n,t,r)})),Bo((function(e){return!0!==e}),!0))}(o,r,i,e).pipe(K((function(n){return n&&"boolean"==typeof n?function(e,t,n,r){return Q(t).pipe($o((function(t){return Q([$c(t.route.parent,r),Yc(t.route,r),eh(e,t.path,n),Xc(e,t.route,n)]).pipe(_o(),Bo((function(e){return!0!==e}),!0))})),Bo((function(e){return!0!==e}),!0))}(r,l,e,t):co(n)})),q((function(e){return Object.assign({},n,{guardsResult:e})})))})))}}(t.ngModule.injector,(function(e){return t.triggerEvent(e)})),Ao((function(e){if(Dc(e.guardsResult)){var n=xs('Redirecting to "'.concat(t.serializeUrl(e.guardsResult),'"'));throw n.url=e.guardsResult,n}})),Ao((function(e){var n=new ds(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);t.triggerEvent(n)})),ko((function(e){if(!e.guardsResult){t.resetUrlToCurrentUrlTree();var r=new ss(e.id,t.serializeUrl(e.extractedUrl),"");return n.next(r),e.resolve(!1),!1}return!0})),hh((function(e){if(e.guards.canActivateChecks.length)return co(e).pipe(Ao((function(e){var n=new vs(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)})),(n=t.paramsInheritanceStrategy,r=t.ngModule.injector,function(e){return e.pipe(K((function(e){var t=e.targetSnapshot,i=e.guards.canActivateChecks;return i.length?Q(i).pipe($o((function(e){return function(e,t,n,r){return function(e,t,n,r){var i=Object.keys(e);if(0===i.length)return co({});if(1===i.length){var a=i[0];return ch(e[a],t,n,r).pipe(q((function(e){return _defineProperty({},a,e)})))}var l={};return Q(i).pipe(K((function(i){return ch(e[i],t,n,r).pipe(q((function(e){return l[i]=e,e})))}))).pipe(Uo(),q((function(){return l})))}(e._resolve,e,t,r).pipe(q((function(t){return e._resolvedData=t,e.data=Object.assign({},e.data,dc(e,n).resolve),null})))}(e.route,t,n,r)})),function(e,t){return arguments.length>=2?function(n){return k(Ko(e,t),Eo(1),Oo(t))(n)}:function(t){return k(Ko((function(t,n,r){return e(t,n,r+1)})),Eo(1))(t)}}((function(e,t){return e})),q((function(t){return e}))):co(e)})))}),Ao((function(e){var n=new ps(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)})));var n,r})),hh((function(e){var n=e.targetSnapshot,r=e.id,i=e.extractedUrl,a=e.rawUrl,l=e.extras,o=l.skipLocationChange,u=l.replaceUrl;return t.hooks.afterPreactivation(n,{navigationId:r,appliedUrlTree:i,rawUrlTree:a,skipLocationChange:!!o,replaceUrl:!!u})})),q((function(e){var n=function(e,t,n){var r=function e(t,n,r){if(r&&t.shouldReuseRoute(n.value,r.value.snapshot)){var i=r.value;i._futureSnapshot=n.value;var a=function(t,n,r){return n.children.map((function(n){var i,a=_createForOfIteratorHelper(r.children);try{for(a.s();!(i=a.n()).done;){var l=i.value;if(t.shouldReuseRoute(l.value.snapshot,n.value))return e(t,n,l)}}catch(o){a.e(o)}finally{a.f()}return e(t,n)}))}(t,n,r);return new uc(i,a)}var l=t.retrieve(n.value);if(l){var o=l.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,o),o}var u,s=new fc(new ho((u=n.value).url),new ho(u.params),new ho(u.queryParams),new ho(u.fragment),new ho(u.data),u.outlet,u.component,u),c=n.children.map((function(n){return e(t,n)}));return new uc(s,c)}(e,t._root,n?n._root:void 0);return new cc(r,t)}(t.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return Object.assign({},e,{targetRouterState:n})})),Ao((function(e){t.currentUrlTree=e.urlAfterRedirects,t.rawUrlTree=t.urlHandlingStrategy.merge(t.currentUrlTree,e.rawUrl),t.routerState=e.targetRouterState,"deferred"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(t.rawUrlTree,!!e.extras.replaceUrl,e.id,e.extras.state),t.browserUrlTree=e.urlAfterRedirects)})),(i=t.rootContexts,a=t.routeReuseStrategy,l=function(e){return t.triggerEvent(e)},q((function(e){return new Nc(a,e.targetRouterState,e.currentRouterState,l).activate(i),e}))),Ao({next:function(){o=!0},complete:function(){o=!0}}),(r=function(){if(!o&&!u){t.resetUrlToCurrentUrlTree();var r=new ss(e.id,t.serializeUrl(e.extractedUrl),"Navigation ID ".concat(e.id," is not equal to the current navigation id ").concat(t.navigationId));n.next(r),e.resolve(!1)}t.currentNavigation=null},function(e){return e.lift(new Xo(r))}),jo((function(r){if(u=!0,(o=r)&&o.ngNavigationCancelingError){var i=Dc(r.url);i||(t.navigated=!0,t.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));var a=new ss(e.id,t.serializeUrl(e.extractedUrl),r.message);n.next(a),e.resolve(!1),i&&t.navigateByUrl(r.url)}else{t.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);var l=new cs(e.id,t.serializeUrl(e.extractedUrl),r);n.next(l);try{e.resolve(t.errorHandler(r))}catch(s){e.reject(s)}}var o;return oo})))})))}},{key:"resetRootComponentType",value:function(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}},{key:"getTransition",value:function(){var e=this.transitions.value;return e.urlAfterRedirects=this.browserUrlTree,e}},{key:"setTransition",value:function(e){this.transitions.next(Object.assign({},this.getTransition(),e))}},{key:"initialNavigation",value:function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}},{key:"setUpLocationChangeListener",value:function(){var e=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe((function(t){var n=e.parseUrl(t.url),r="popstate"===t.type?"popstate":"hashchange",i=t.state&&t.state.navigationId?t.state:null;setTimeout((function(){e.scheduleNavigation(n,r,i,{replaceUrl:!0})}),0)})))}},{key:"getCurrentNavigation",value:function(){return this.currentNavigation}},{key:"triggerEvent",value:function(e){this.events.next(e)}},{key:"resetConfig",value:function(e){Is(e),this.config=e.map(Ps),this.navigated=!1,this.lastSuccessfulId=-1}},{key:"ngOnDestroy",value:function(){this.dispose()}},{key:"dispose",value:function(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)}},{key:"createUrlTree",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.relativeTo,r=t.queryParams,i=t.fragment,a=t.preserveQueryParams,l=t.queryParamsHandling,o=t.preserveFragment;Qe()&&a&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var u=n||this.routerState.root,s=o?this.currentUrlTree.fragment:i,c=null;if(l)switch(l){case"merge":c=Object.assign({},this.currentUrlTree.queryParams,r);break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=r||null}else c=a?this.currentUrlTree.queryParams:r||null;return null!==c&&(c=this.removeEmptyProps(c)),function(e,t,n,r,i){if(0===n.length)return Cc(t.root,t.root,t,r,i);var a=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new wc(!0,0,e);var t=0,n=!1,r=e.reduce((function(e,r,i){if("object"==typeof r&&null!=r){if(r.outlets){var a={};return Us(r.outlets,(function(e,t){a[t]="string"==typeof e?e.split("/"):e})),[].concat(_toConsumableArray(e),[{outlets:a}])}if(r.segmentPath)return[].concat(_toConsumableArray(e),[r.segmentPath])}return"string"!=typeof r?[].concat(_toConsumableArray(e),[r]):0===i?(r.split("/").forEach((function(r,i){0==i&&"."===r||(0==i&&""===r?n=!0:".."===r?t++:""!=r&&e.push(r))})),e):[].concat(_toConsumableArray(e),[r])}),[]);return new wc(n,t,r)}(n);if(a.toRoot())return Cc(t.root,new Vs([],{}),t,r,i);var l=function(e,t,n){if(e.isAbsolute)return new bc(t.root,!0,0);if(-1===n.snapshot._lastPathIndex)return new bc(n.snapshot._urlSegment,!0,0);var r=kc(e.commands[0])?0:1;return function(e,t,n){for(var r=e,i=t,a=n;a>i;){if(a-=i,!(r=r.parent))throw new Error("Invalid number of '../'");i=r.segments.length}return new bc(r,!1,i-a)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,e.numberOfDoubleDots)}(a,t,e),o=l.processChildren?xc(l.segmentGroup,l.index,a.commands):Ec(l.segmentGroup,l.index,a.commands);return Cc(l.segmentGroup,o,t,r,i)}(u,this.currentUrlTree,e,c,s)}},{key:"navigateByUrl",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};Qe()&&this.isNgZoneEnabled&&!Vi.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=Dc(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,t)}},{key:"navigate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};return function(e){for(var t=0;t<e.length;t++){var n=e[t];if(null==n)throw new Error("The requested path contains ".concat(n," segment at index ").concat(t))}}(e),this.navigateByUrl(this.createUrlTree(e,t),t)}},{key:"serializeUrl",value:function(e){return this.urlSerializer.serialize(e)}},{key:"parseUrl",value:function(e){var t;try{t=this.urlSerializer.parse(e)}catch(n){t=this.malformedUriErrorHandler(n,this.urlSerializer,e)}return t}},{key:"isActive",value:function(e,t){if(Dc(e))return Ls(this.currentUrlTree,e,t);var n=this.parseUrl(e);return Ls(this.currentUrlTree,n,t)}},{key:"removeEmptyProps",value:function(e){return Object.keys(e).reduce((function(t,n){var r=e[n];return null!=r&&(t[n]=r),t}),{})}},{key:"processNavigations",value:function(){var e=this;this.navigations.subscribe((function(t){e.navigated=!0,e.lastSuccessfulId=t.id,e.events.next(new us(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(e.currentUrlTree))),e.lastSuccessfulNavigation=e.currentNavigation,e.currentNavigation=null,t.resolve(!0)}),(function(t){e.console.warn("Unhandled Navigation Error: ")}))}},{key:"scheduleNavigation",value:function(e,t,n,r){var i=this.getTransition();if(i&&"imperative"!==t&&"imperative"===i.source&&i.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(i&&"hashchange"==t&&"popstate"===i.source&&i.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(i&&"popstate"==t&&"hashchange"===i.source&&i.rawUrl.toString()===e.toString())return Promise.resolve(!0);var a=null,l=null,o=new Promise((function(e,t){a=e,l=t})),u=++this.navigationId;return this.setTransition({id:u,source:t,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:r,resolve:a,reject:l,promise:o,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),o.catch((function(e){return Promise.reject(e)}))}},{key:"setBrowserUrl",value:function(e,t,n,r){var i=this.urlSerializer.serialize(e);r=r||{},this.location.isCurrentPathEqualTo(i)||t?this.location.replaceState(i,"",Object.assign({},r,{navigationId:n})):this.location.go(i,"",Object.assign({},r,{navigationId:n}))}},{key:"resetStateAndUrl",value:function(e,t,n){this.routerState=e,this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}},{key:"resetUrlToCurrentUrlTree",value:function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}},{key:"url",get:function(){return this.serializeUrl(this.currentUrlTree)}}]),e}(),wh=function e(){_classCallCheck(this,e),this.outlet=null,this.route=null,this.resolver=null,this.children=new bh,this.attachRef=null},bh=function(){function e(){_classCallCheck(this,e),this.contexts=new Map}return _createClass(e,[{key:"onChildOutletCreated",value:function(e,t){var n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)}},{key:"onChildOutletDestroyed",value:function(e){var t=this.getContext(e);t&&(t.outlet=null)}},{key:"onOutletDeactivated",value:function(){var e=this.contexts;return this.contexts=new Map,e}},{key:"onOutletReAttached",value:function(e){this.contexts=e}},{key:"getOrCreateContext",value:function(e){var t=this.getContext(e);return t||(t=new wh,this.contexts.set(e,t)),t}},{key:"getContext",value:function(e){return this.contexts.get(e)||null}}]),e}(),Sh=function(){function e(t,n,r,i,a){_classCallCheck(this,e),this.parentContexts=t,this.location=n,this.resolver=r,this.changeDetector=a,this.activated=null,this._activatedRoute=null,this.activateEvents=new hi,this.deactivateEvents=new hi,this.name=i||"primary",t.onChildOutletCreated(this.name,this)}return _createClass(e,[{key:"ngOnDestroy",value:function(){this.parentContexts.onChildOutletDestroyed(this.name)}},{key:"ngOnInit",value: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))}}},{key:"detach",value: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}},{key:"attach",value:function(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView)}},{key:"deactivate",value:function(){if(this.activated){var e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}},{key:"activateWith",value: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,i=new Eh(e,r,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,i),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}},{key:"isActivated",get:function(){return!!this.activated}},{key:"component",get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}},{key:"activatedRoute",get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}},{key:"activatedRouteData",get:function(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}}]),e}(),Eh=function(){function e(t,n,r){_classCallCheck(this,e),this.route=t,this.childContexts=n,this.parent=r}return _createClass(e,[{key:"get",value:function(e,t){return e===fc?this.route:e===bh?this.childContexts:this.parent.get(e,t)}}]),e}(),xh=function e(){_classCallCheck(this,e)},Th=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"preload",value:function(e,t){return t().pipe(jo((function(){return co(null)})))}}]),e}(),Ah=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"preload",value:function(e,t){return co(null)}}]),e}(),Ih=function(){function e(t,n,r,i,a){_classCallCheck(this,e),this.router=t,this.injector=i,this.preloadingStrategy=a,this.loader=new ph(n,r,(function(e){return t.triggerEvent(new gs(e))}),(function(e){return t.triggerEvent(new ys(e))}))}return _createClass(e,[{key:"setUpPreloading",value:function(){var e=this;this.subscription=this.router.events.pipe(ko((function(e){return e instanceof us})),$o((function(){return e.preload()}))).subscribe((function(){}))}},{key:"preload",value:function(){var e=this.injector.get(Ue);return this.processRoutes(e,this.router.config)}},{key:"ngOnDestroy",value:function(){this.subscription.unsubscribe()}},{key:"processRoutes",value:function(e,t){var n,r=[],i=_createForOfIteratorHelper(t);try{for(i.s();!(n=i.n()).done;){var a=n.value;if(a.loadChildren&&!a.canLoad&&a._loadedConfig){var l=a._loadedConfig;r.push(this.processRoutes(l.module,l.routes))}else a.loadChildren&&!a.canLoad?r.push(this.preloadConfig(e,a)):a.children&&r.push(this.processRoutes(e,a.children))}}catch(o){i.e(o)}finally{i.f()}return Q(r).pipe(X(),q((function(e){})))}},{key:"preloadConfig",value:function(e,t){var n=this;return this.preloadingStrategy.preload(t,(function(){return n.loader.load(e.injector,t).pipe(K((function(e){return t._loadedConfig=e,n.processRoutes(e.module,e.routes)})))}))}}]),e}(),Rh=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};_classCallCheck(this,e),this.router=t,this.viewportScroller=n,this.options=r,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},r.scrollPositionRestoration=r.scrollPositionRestoration||"disabled",r.anchorScrolling=r.anchorScrolling||"disabled"}return _createClass(e,[{key:"init",value:function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}},{key:"createScrollEvents",value:function(){var e=this;return this.router.events.subscribe((function(t){t instanceof os?(e.store[e.lastId]=e.viewportScroller.getScrollPosition(),e.lastSource=t.navigationTrigger,e.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof us&&(e.lastId=t.id,e.scheduleScrollEvent(t,e.router.parseUrl(t.urlAfterRedirects).fragment))}))}},{key:"consumeScrollEvents",value:function(){var e=this;return this.router.events.subscribe((function(t){t instanceof ws&&(t.position?"top"===e.options.scrollPositionRestoration?e.viewportScroller.scrollToPosition([0,0]):"enabled"===e.options.scrollPositionRestoration&&e.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===e.options.anchorScrolling?e.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==e.options.scrollPositionRestoration&&e.viewportScroller.scrollToPosition([0,0]))}))}},{key:"scheduleScrollEvent",value:function(e,t){this.router.triggerEvent(new ws(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}},{key:"ngOnDestroy",value:function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}]),e}(),Nh=new xe("ROUTER_CONFIGURATION"),Ph=new xe("ROUTER_FORROOT_GUARD"),Oh=[Ql,{provide:qs,useClass:Zs},{provide:Ch,useFactory:Vh,deps:[ia,qs,bh,Ql,xt,la,Ni,vh,Nh,[gh,new se],[fh,new se]]},bh,{provide:fc,useFactory:Fh,deps:[Ch]},{provide:la,useClass:sa},Ih,Ah,Th,{provide:Nh,useValue:{enableTracing:!1}}];function Dh(){return new $i("Router",Ch)}var Mh=function(){function e(t,n){_classCallCheck(this,e)}return _createClass(e,null,[{key:"forRoot",value:function(t,n){return{ngModule:e,providers:[Oh,Hh(t),{provide:Ph,useFactory:Lh,deps:[[Ch,new se,new he]]},{provide:Nh,useValue:n||{}},{provide:Wl,useFactory:jh,deps:[ql,[new ue(Gl),new se],Nh]},{provide:Rh,useFactory:Uh,deps:[Ch,ao,Nh]},{provide:xh,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:Ah},{provide:$i,multi:!0,useFactory:Dh},[zh,{provide:vi,multi:!0,useFactory:Bh,deps:[zh]},{provide:Zh,useFactory:qh,deps:[zh]},{provide:Ci,multi:!0,useExisting:Zh}]]}}},{key:"forChild",value:function(t){return{ngModule:e,providers:[Hh(t)]}}}]),e}();function Uh(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new Rh(e,t,n)}function jh(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.useHash?new Yl(e,t):new $l(e,t)}function Lh(e){if(e)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Hh(e){return[{provide:Dt,multi:!0,useValue:e},{provide:vh,multi:!0,useValue:e}]}function Vh(e,t,n,r,i,a,l,o){var u=arguments.length>8&&void 0!==arguments[8]?arguments[8]:{},s=arguments.length>9?arguments[9]:void 0,c=arguments.length>10?arguments[10]:void 0,h=new Ch(null,t,n,r,i,a,l,Ds(o));if(s&&(h.urlHandlingStrategy=s),c&&(h.routeReuseStrategy=c),u.errorHandler&&(h.errorHandler=u.errorHandler),u.malformedUriErrorHandler&&(h.malformedUriErrorHandler=u.malformedUriErrorHandler),u.enableTracing){var f=nu();h.events.subscribe((function(e){f.logGroup("Router Event: "+e.constructor.name),f.log(e.toString()),f.log(e),f.logGroupEnd()}))}return u.onSameUrlNavigation&&(h.onSameUrlNavigation=u.onSameUrlNavigation),u.paramsInheritanceStrategy&&(h.paramsInheritanceStrategy=u.paramsInheritanceStrategy),u.urlUpdateStrategy&&(h.urlUpdateStrategy=u.urlUpdateStrategy),u.relativeLinkResolution&&(h.relativeLinkResolution=u.relativeLinkResolution),h}function Fh(e){return e.routerState.root}var zh=function(){function e(t){_classCallCheck(this,e),this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new R}return _createClass(e,[{key:"appInitializer",value:function(){var e=this;return this.injector.get(Zl,Promise.resolve(null)).then((function(){var t=null,n=new Promise((function(e){return t=e})),r=e.injector.get(Ch),i=e.injector.get(Nh);if(e.isLegacyDisabled(i)||e.isLegacyEnabled(i))t(!0);else if("disabled"===i.initialNavigation)r.setUpLocationChangeListener(),t(!0);else{if("enabled"!==i.initialNavigation)throw new Error("Invalid initialNavigation options: '".concat(i.initialNavigation,"'"));r.hooks.afterPreactivation=function(){return e.initNavigation?co(null):(e.initNavigation=!0,t(!0),e.resultOfPreactivationDone)},r.initialNavigation()}return n}))}},{key:"bootstrapListener",value:function(e){var t=this.injector.get(Nh),n=this.injector.get(Ih),r=this.injector.get(Rh),i=this.injector.get(Ch),a=this.injector.get(ia);e===a.components[0]&&(this.isLegacyEnabled(t)?i.initialNavigation():this.isLegacyDisabled(t)&&i.setUpLocationChangeListener(),n.setUpPreloading(),r.init(),i.resetRootComponentType(a.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}},{key:"isLegacyEnabled",value:function(e){return"legacy_enabled"===e.initialNavigation||!0===e.initialNavigation||void 0===e.initialNavigation}},{key:"isLegacyDisabled",value:function(e){return"legacy_disabled"===e.initialNavigation||!1===e.initialNavigation}}]),e}();function Bh(e){return e.appInitializer.bind(e)}function qh(e){return e.bootstrapListener.bind(e)}var Zh=new xe("Router Initializer"),Wh=Vn({encapsulation:2,styles:[],data:{}});function Gh(e){return Ua(0,[(e()(),ba(0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),Wr(1,212992,null,0,Sh,[bh,Sn,Kt,[8,null],wt],null,null)],(function(e,t){e(t,1,0)}),null)}var Qh=br("ng-component",bs,(function(e){return Ua(0,[(e()(),ba(0,0,null,null,1,"ng-component",[],null,null,null,Gh,Wh)),Wr(1,49152,null,0,bs,[],null,null)],null,null)}),{},{},[]),Kh=function(){function e(){_classCallCheck(this,e),this.year=(new Date).getFullYear().toString()}return _createClass(e,[{key:"ngOnInit",value:function(){}}]),e}(),Jh=Vn({encapsulation:0,styles:[[""]],data:{}});function Yh(e){return Ua(0,[(e()(),ba(0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),Wr(1,212992,null,0,Sh,[bh,Sn,Kt,[8,null],wt],null,null),(e()(),ba(2,0,null,null,12,"footer",[["class","footer_area"]],null,null,null,null,null)),(e()(),ba(3,0,null,null,11,"div",[["class","container"]],null,null,null,null,null)),(e()(),ba(4,0,null,null,7,"div",[["class","row justify-content-center"]],null,null,null,null,null)),(e()(),ba(5,0,null,null,6,"div",[["class","col-lg-12"]],null,null,null,null,null)),(e()(),ba(6,0,null,null,5,"div",[["class","footer_top flex-column"]],null,null,null,null,null)),(e()(),ba(7,0,null,null,4,"div",[["class","footer_social"]],null,null,null,null,null)),(e()(),ba(8,0,null,null,1,"a",[["href","https://web.facebook.com/faisal.scientist"]],null,null,null,null,null)),(e()(),ba(9,0,null,null,0,"i",[["class","fa fa-facebook"]],null,null,null,null,null)),(e()(),ba(10,0,null,null,1,"a",[["href","https://twitter.com/FS_TPMP"]],null,null,null,null,null)),(e()(),ba(11,0,null,null,0,"i",[["class","fa fa-twitter"]],null,null,null,null,null)),(e()(),ba(12,0,null,null,2,"div",[["class","row footer_bottom justify-content-center"]],null,null,null,null,null)),(e()(),ba(13,0,null,null,1,"p",[["class","col-lg-8 col-sm-12 footer-text"]],null,null,null,null,null)),(e()(),Oa(14,null,[" Copyright \xa9 "," All rights reserved | Alhassan Faisal. "]))],(function(e,t){e(t,1,0)}),(function(e,t){e(t,14,0,t.component.year)}))}var $h=br("app-layout",Kh,(function(e){return Ua(0,[(e()(),ba(0,0,null,null,1,"app-layout",[],null,null,null,Yh,Jh)),Wr(1,114688,null,0,Kh,[],null,null)],(function(e,t){e(t,1,0)}),null)}),{},{},[]),Xh=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"ngOnInit",value:function(){}}]),e}(),ef=Vn({encapsulation:0,styles:[[""]],data:{}});function tf(e){return Ua(0,[(e()(),ba(0,0,null,null,14,"section",[["class","home_banner_area"]],null,null,null,null,null)),(e()(),ba(1,0,null,null,13,"div",[["class","banner_inner"]],null,null,null,null,null)),(e()(),ba(2,0,null,null,12,"div",[["class","container"]],null,null,null,null,null)),(e()(),ba(3,0,null,null,11,"div",[["class","row"]],null,null,null,null,null)),(e()(),ba(4,0,null,null,7,"div",[["class","col-lg-7"]],null,null,null,null,null)),(e()(),ba(5,0,null,null,6,"div",[["class","banner_content"]],null,null,null,null,null)),(e()(),ba(6,0,null,null,1,"h3",[["class","text-uppercase"]],null,null,null,null,null)),(e()(),Oa(-1,null,["Hello"])),(e()(),ba(8,0,null,null,1,"h1",[["class","text-uppercase"]],null,null,null,null,null)),(e()(),Oa(-1,null,["I am Alhassan Faisal"])),(e()(),ba(10,0,null,null,1,"h5",[["class","text-uppercase"]],null,null,null,null,null)),(e()(),Oa(-1,null,["Full Stack developer"])),(e()(),ba(12,0,null,null,2,"div",[["class","col-lg-5"]],null,null,null,null,null)),(e()(),ba(13,0,null,null,1,"div",[["class","home_right_img"]],null,null,null,null,null)),(e()(),ba(14,0,null,null,0,"img",[["alt",""],["class",""],["src","../../assets/img/banner/home-right.png"]],null,null,null,null,null)),(e()(),ba(15,0,null,null,20,"section",[["class","about_area section_gap"]],null,null,null,null,null)),(e()(),ba(16,0,null,null,19,"div",[["class","container"]],null,null,null,null,null)),(e()(),ba(17,0,null,null,18,"div",[["class","row justify-content-start align-items-center"]],null,null,null,null,null)),(e()(),ba(18,0,null,null,2,"div",[["class","col-lg-5"]],null,null,null,null,null)),(e()(),ba(19,0,null,null,1,"div",[["class","about_img"]],null,null,null,null,null)),(e()(),ba(20,0,null,null,0,"img",[["alt",""],["class",""],["src","../../assets/img/about-us.png"]],null,null,null,null,null)),(e()(),ba(21,0,null,null,14,"div",[["class","offset-lg-1 col-lg-5"]],null,null,null,null,null)),(e()(),ba(22,0,null,null,13,"div",[["class","main_title text-left"]],null,null,null,null,null)),(e()(),ba(23,0,null,null,5,"h2",[],null,null,null,null,null)),(e()(),Oa(-1,null,[" let me "])),(e()(),ba(25,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),Oa(-1,null,[" Introduce "])),(e()(),ba(27,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),Oa(-1,null,[" myself "])),(e()(),ba(29,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),Oa(-1,null,[" I am Alhassan Faisal. I am a Full Stack Engineer based in Accra, Ghana. I love music, sports, playing games, writing poems & blogs and watching the sun set. "])),(e()(),ba(31,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),Oa(-1,null,[" In my over 3 years work experience, I have worked with financial, educational, and cooperate institutions. I have built software for these institutions using the most robust software tools. These softwares were developed in Vanilla PHP, Laravel, Vanilla JavaScript, Jquery, Angular, HTML5, CSS, React, etc. "])),(e()(),ba(33,0,null,null,2,"a",[["class","primary_btn"],["download","Alhassan Faisal CV"],["href","../../assets/Alhassan Faisal.PDF"],["target","_blank"]],null,null,null,null,null)),(e()(),ba(34,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),Oa(-1,null,["Download My CV"])),(e()(),ba(36,0,null,null,22,"section",[["class","brand_area section_gap_bottom"]],null,null,null,null,null)),(e()(),ba(37,0,null,null,21,"div",[["class","container"]],null,null,null,null,null)),(e()(),ba(38,0,null,null,20,"div",[["class","row"]],null,null,null,null,null)),(e()(),ba(39,0,null,null,10,"div",[["class","col-md-6"]],null,null,null,null,null)),(e()(),ba(40,0,null,null,9,"div",[["class","call-now d-flex"]],null,null,null,null,null)),(e()(),ba(41,0,null,null,1,"div",[],null,null,null,null,null)),(e()(),ba(42,0,null,null,0,"span",[["class","fa fa-phone"]],null,null,null,null,null)),(e()(),ba(43,0,null,null,6,"div",[["class","ml-15"]],null,null,null,null,null)),(e()(),ba(44,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),Oa(-1,null,["call me on"])),(e()(),ba(46,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),Oa(-1,null,["(+233)-544-706-661/"])),(e()(),ba(48,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),Oa(-1,null,["(+233)-552-343-820"])),(e()(),ba(50,0,null,null,8,"div",[["class","col-md-6"]],null,null,null,null,null)),(e()(),ba(51,0,null,null,7,"div",[["class","call-now d-flex"]],null,null,null,null,null)),(e()(),ba(52,0,null,null,1,"div",[],null,null,null,null,null)),(e()(),ba(53,0,null,null,0,"span",[["class","fa fa-envelope"]],null,null,null,null,null)),(e()(),ba(54,0,null,null,4,"div",[["class","ml-15"]],null,null,null,null,null)),(e()(),ba(55,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),Oa(-1,null,["Email Me"])),(e()(),ba(57,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),Oa(-1,null,["[email protected]"])),(e()(),ba(59,0,null,null,30,"section",[["class","features_area"]],null,null,null,null,null)),(e()(),ba(60,0,null,null,29,"div",[["class","container"]],null,null,null,null,null)),(e()(),ba(61,0,null,null,6,"div",[["class","row justify-content-center"]],null,null,null,null,null)),(e()(),ba(62,0,null,null,5,"div",[["class","col-lg-8 text-center"]],null,null,null,null,null)),(e()(),ba(63,0,null,null,4,"div",[["class","main_title"]],null,null,null,null,null)),(e()(),ba(64,0,null,null,1,"h2",[],null,null,null,null,null)),(e()(),Oa(-1,null,["services"])),(e()(),ba(66,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),Oa(-1,null,[" Some of the services I offer include "])),(e()(),ba(68,0,null,null,21,"div",[["class","row feature_inner justify-content-center"]],null,null,null,null,null)),(e()(),ba(69,0,null,null,6,"div",[["class","col-lg-3 col-md-6"]],null,null,null,null,null)),(e()(),ba(70,0,null,null,5,"div",[["class","feature_item"]],null,null,null,null,null)),(e()(),ba(71,0,null,null,0,"img",[["alt",""],["src","/../../assets/img/services/s1.png"]],null,null,null,null,null)),(e()(),ba(72,0,null,null,1,"h4",[],null,null,null,null,null)),(e()(),Oa(-1,null,["Frontend Development"])),(e()(),ba(74,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),Oa(-1,null,[" Using Angular, React, Vanilla Javascript, JQuery, HTML, CSS "])),(e()(),ba(76,0,null,null,6,"div",[["class","col-lg-3 col-md-6"]],null,null,null,null,null)),(e()(),ba(77,0,null,null,5,"div",[["class","feature_item"]],null,null,null,null,null)),(e()(),ba(78,0,null,null,0,"img",[["alt",""],["src","/../../assets/img/services/s2.png"]],null,null,null,null,null)),(e()(),ba(79,0,null,null,1,"h4",[],null,null,null,null,null)),(e()(),Oa(-1,null,["Backend Development"])),(e()(),ba(81,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),Oa(-1,null,[" Using Vanilla PHP, Laravel, NodeJS "])),(e()(),ba(83,0,null,null,6,"div",[["class","col-lg-3 col-md-6"]],null,null,null,null,null)),(e()(),ba(84,0,null,null,5,"div",[["class","feature_item"]],null,null,null,null,null)),(e()(),ba(85,0,null,null,0,"img",[["alt",""],["src","/../../assets/img/services/s3.png"]],null,null,null,null,null)),(e()(),ba(86,0,null,null,1,"h4",[],null,null,null,null,null)),(e()(),Oa(-1,null,["DevOps"])),(e()(),ba(88,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),Oa(-1,null,[" AWS "])),(e()(),ba(90,0,null,null,100,"section",[["class","portfolio_area"],["id","portfolio"]],null,null,null,null,null)),(e()(),ba(91,0,null,null,99,"div",[["class","container"]],null,null,null,null,null)),(e()(),ba(92,0,null,null,4,"div",[["class","row"]],null,null,null,null,null)),(e()(),ba(93,0,null,null,3,"div",[["class","col-lg-12"]],null,null,null,null,null)),(e()(),ba(94,0,null,null,2,"div",[["class","main_title text-left"]],null,null,null,null,null)),(e()(),ba(95,0,null,null,1,"h2",[],null,null,null,null,null)),(e()(),Oa(-1,null,[" Recently done projects "])),(e()(),ba(97,0,null,null,7,"div",[["class","filters portfolio-filter"]],null,null,null,null,null)),(e()(),ba(98,0,null,null,6,"ul",[],null,null,null,null,null)),(e()(),ba(99,0,null,null,1,"li",[["class","active"],["data-filter","*"]],null,null,null,null,null)),(e()(),Oa(-1,null,["all"])),(e()(),ba(101,0,null,null,1,"li",[["data-filter",".angular"]],null,null,null,null,null)),(e()(),Oa(-1,null,["Angular"])),(e()(),ba(103,0,null,null,1,"li",[["data-filter",".laravel"]],null,null,null,null,null)),(e()(),Oa(-1,null,["Laravel/Blade"])),(e()(),ba(105,0,null,null,85,"div",[["class","filters-content"]],null,null,null,null,null)),(e()(),ba(106,0,null,null,84,"div",[["class","row portfolio-grid justify-content-center"]],null,null,null,null,null)),(e()(),ba(107,0,null,null,13,"div",[["class","col-lg-4 col-md-6 all angular"]],null,null,null,null,null)),(e()(),ba(108,0,null,null,12,"div",[["class","portfolio_box"]],null,null,null,null,null)),(e()(),ba(109,0,null,null,5,"div",[["class","single_portfolio"]],null,null,null,null,null)),(e()(),ba(110,0,null,null,0,"img",[["alt",""],["class","img-fluid w-100"],["src","../../assets/img/transpay.png"]],null,null,null,null,null)),(e()(),ba(111,0,null,null,0,"div",[["class","overlay"]],null,null,null,null,null)),(e()(),ba(112,0,null,null,2,"a",[["class","img-gal"],["href","../../assets/img/transpay.png"]],null,null,null,null,null)),(e()(),ba(113,0,null,null,1,"div",[["class","icon"]],null,null,null,null,null)),(e()(),ba(114,0,null,null,0,"span",[["class","lnr lnr-cross"]],null,null,null,null,null)),(e()(),ba(115,0,null,null,5,"div",[["class","short_info"]],null,null,null,null,null)),(e()(),ba(116,0,null,null,2,"h4",[],null,null,null,null,null)),(e()(),ba(117,0,null,null,1,"a",[["class","text-primary"],["href","https://transpay.transflow.io/"],["target","_blank"]],null,null,null,null,null)),(e()(),Oa(-1,null,["TransPay"])),(e()(),ba(119,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),Oa(-1,null,[" A platform to disburse funds to users conveniently (built with Angular v7) "])),(e()(),ba(121,0,null,null,13,"div",[["class","col-lg-4 col-md-6 all angular"]],null,null,null,null,null)),(e()(),ba(122,0,null,null,12,"div",[["class","portfolio_box"]],null,null,null,null,null)),(e()(),ba(123,0,null,null,5,"div",[["class","single_portfolio"]],null,null,null,null,null)),(e()(),ba(124,0,null,null,0,"img",[["alt",""],["class","img-fluid w-100"],["src","../../assets/img/linqsale.png"]],null,null,null,null,null)),(e()(),ba(125,0,null,null,0,"div",[["class","overlay"]],null,null,null,null,null)),(e()(),ba(126,0,null,null,2,"a",[["class","img-gal"],["href","../../assets/img/linqsale.png"]],null,null,null,null,null)),(e()(),ba(127,0,null,null,1,"div",[["class","icon"]],null,null,null,null,null)),(e()(),ba(128,0,null,null,0,"span",[["class","lnr lnr-cross"]],null,null,null,null,null)),(e()(),ba(129,0,null,null,5,"div",[["class","short_info"]],null,null,null,null,null)),(e()(),ba(130,0,null,null,2,"h4",[],null,null,null,null,null)),(e()(),ba(131,0,null,null,1,"a",[["class","text-primary"],["href","http://54.171.140.64/"],["target","_blank"]],null,null,null,null,null)),(e()(),Oa(-1,null,["LinqSale"])),(e()(),ba(133,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),Oa(-1,null,["An online sales management portal. (built with Angular v8)"])),(e()(),ba(135,0,null,null,13,"div",[["class","col-lg-4 col-md-6 all angular"]],null,null,null,null,null)),(e()(),ba(136,0,null,null,12,"div",[["class","portfolio_box"]],null,null,null,null,null)),(e()(),ba(137,0,null,null,5,"div",[["class","single_portfolio"]],null,null,null,null,null)),(e()(),ba(138,0,null,null,0,"img",[["alt",""],["class","img-fluid w-100"],["src","../../assets/img/perbicubs.png"]],null,null,null,null,null)),(e()(),ba(139,0,null,null,0,"div",[["class","overlay"]],null,null,null,null,null)),(e()(),ba(140,0,null,null,2,"a",[["class","img-gal"],["href","../../assets/img/perbicubs.png"]],null,null,null,null,null)),(e()(),ba(141,0,null,null,1,"div",[["class","icon"]],null,null,null,null,null)),(e()(),ba(142,0,null,null,0,"span",[["class","lnr lnr-cross"]],null,null,null,null,null)),(e()(),ba(143,0,null,null,5,"div",[["class","short_info"]],null,null,null,null,null)),(e()(),ba(144,0,null,null,2,"h4",[],null,null,null,null,null)),(e()(),ba(145,0,null,null,1,"a",[["class","text-primary"],["href","https://cubs.perbicubs.com/"],["target","_blank"]],null,null,null,null,null)),(e()(),Oa(-1,null,["Perbicubs"])),(e()(),ba(147,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),Oa(-1,null,[" A library service that allows children to read books and get assessed online. (built with Angular v9) "])),(e()(),ba(149,0,null,null,13,"div",[["class","col-lg-4 col-md-6 all laravel"]],null,null,null,null,null)),(e()(),ba(150,0,null,null,12,"div",[["class","portfolio_box"]],null,null,null,null,null)),(e()(),ba(151,0,null,null,5,"div",[["class","single_portfolio"]],null,null,null,null,null)),(e()(),ba(152,0,null,null,0,"img",[["alt",""],["class","img-fluid w-100"],["src","../../assets/img/merchants_portal.png"]],null,null,null,null,null)),(e()(),ba(153,0,null,null,0,"div",[["class","overlay"]],null,null,null,null,null)),(e()(),ba(154,0,null,null,2,"a",[["class","img-gal"],["href","../../assets/img/merchants_portal.png"]],null,null,null,null,null)),(e()(),ba(155,0,null,null,1,"div",[["class","icon"]],null,null,null,null,null)),(e()(),ba(156,0,null,null,0,"span",[["class","lnr lnr-cross"]],null,null,null,null,null)),(e()(),ba(157,0,null,null,5,"div",[["class","short_info"]],null,null,null,null,null)),(e()(),ba(158,0,null,null,2,"h4",[],null,null,null,null,null)),(e()(),ba(159,0,null,null,1,"a",[["class","text-primary"],["href","https://merchants.transflowservices.com/"],["target","_blank"]],null,null,null,null,null)),(e()(),Oa(-1,null,["Merchants Portal"])),(e()(),ba(161,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),Oa(-1,null,[" A platform for merchants nstitutions to see transactions performed by users using the merchant resources. (built with Laravel v5.7) "])),(e()(),ba(163,0,null,null,13,"div",[["class","col-lg-4 col-md-6 all laravel"]],null,null,null,null,null)),(e()(),ba(164,0,null,null,12,"div",[["class","portfolio_box"]],null,null,null,null,null)),(e()(),ba(165,0,null,null,5,"div",[["class","single_portfolio"]],null,null,null,null,null)),(e()(),ba(166,0,null,null,0,"img",[["alt",""],["class","img-fluid w-100"],["src","../../assets/img/support_portal.png"]],null,null,null,null,null)),(e()(),ba(167,0,null,null,0,"div",[["class","overlay"]],null,null,null,null,null)),(e()(),ba(168,0,null,null,2,"a",[["class","img-gal"],["href","../../assets/img/support_portal.png"]],null,null,null,null,null)),(e()(),ba(169,0,null,null,1,"div",[["class","icon"]],null,null,null,null,null)),(e()(),ba(170,0,null,null,0,"span",[["class","lnr lnr-cross"]],null,null,null,null,null)),(e()(),ba(171,0,null,null,5,"div",[["class","short_info"]],null,null,null,null,null)),(e()(),ba(172,0,null,null,2,"h4",[],null,null,null,null,null)),(e()(),ba(173,0,null,null,1,"a",[["class","text-primary"],["href","https://support.transflowitc.com"],["target","_blank"]],null,null,null,null,null)),(e()(),Oa(-1,null,["IT Consortium Support Portal"])),(e()(),ba(175,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),Oa(-1,null,[" A support platform for the support team of IT Consortium to be able to respond to customer issues. (built with Laravel v6) "])),(e()(),ba(177,0,null,null,13,"div",[["class","col-lg-4 col-md-6 all angular"]],null,null,null,null,null)),(e()(),ba(178,0,null,null,12,"div",[["class","portfolio_box"]],null,null,null,null,null)),(e()(),ba(179,0,null,null,5,"div",[["class","single_portfolio"]],null,null,null,null,null)),(e()(),ba(180,0,null,null,0,"img",[["alt",""],["class","img-fluid w-100"],["src","../../assets/img/transfuel.png"]],null,null,null,null,null)),(e()(),ba(181,0,null,null,0,"div",[["class","overlay"]],null,null,null,null,null)),(e()(),ba(182,0,null,null,2,"a",[["class","img-gal"],["href","../../assets/img/transfuel.png"]],null,null,null,null,null)),(e()(),ba(183,0,null,null,1,"div",[["class","icon"]],null,null,null,null,null)),(e()(),ba(184,0,null,null,0,"span",[["class","lnr lnr-cross"]],null,null,null,null,null)),(e()(),ba(185,0,null,null,5,"div",[["class","short_info"]],null,null,null,null,null)),(e()(),ba(186,0,null,null,2,"h4",[],null,null,null,null,null)),(e()(),ba(187,0,null,null,1,"a",[["class","text-primary"],["href","https://support.transflowitc.com"],["target","_blank"]],null,null,null,null,null)),(e()(),Oa(-1,null,["TransFuel"])),(e()(),ba(189,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),Oa(-1,null,[" Fuel voucher purchase and allocation for individuals and institutions. (built with Angular v8) "]))],null,null)}var nf=br("app-home",Xh,(function(e){return Ua(0,[(e()(),ba(0,0,null,null,1,"app-home",[],null,null,null,tf,ef)),Wr(1,114688,null,0,Xh,[],null,null)],(function(e,t){e(t,1,0)}),null)}),{},{},[]),rf=Vn({encapsulation:0,styles:[[""]],data:{}});function af(e){return Ua(0,[(e()(),ba(0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),Wr(1,212992,null,0,Sh,[bh,Sn,Kt,[8,null],wt],null,null)],(function(e,t){e(t,1,0)}),null)}var lf=br("app-root",Bl,(function(e){return Ua(0,[(e()(),ba(0,0,null,null,1,"app-root",[],null,null,null,af,rf)),Wr(1,49152,null,0,Bl,[],null,null)],null,null)}),{},{},[]),of=function e(){_classCallCheck(this,e)},uf=new Fl(zl,[Bl],(function(e){return function(e){for(var t={},n=[],r=!1,i=0;i<e.length;i++){var a=e[i];a.token===St&&!0===a.value&&(r=!0),1073741824&a.flags&&n.push(a.token),a.index=i,t[Hn(a.token)]=a}return{factory:null,providersByKey:t,providers:e,modules:n,isRoot:r}}([gr(512,Kt,Jt,[[8,[Qh,$h,nf,lf]],[3,Kt],Ue]),gr(5120,bi,ka,[[3,bi]]),gr(4608,to,no,[bi,[2,eo]]),gr(5120,li,Ca,[Vi]),gr(5120,gi,yi,[]),gr(5120,yn,ma,[]),gr(5120,mn,_a,[]),gr(4608,Ku,Ju,[io]),gr(6144,yt,null,[Ku]),gr(4608,zu,qu,[]),gr(5120,yu,(function(e,t,n,r,i,a,l,o){return[new Vu(e,t,n),new Qu(r),new Zu(i,a,l,o)]}),[io,Vi,ki,io,io,zu,wi,[2,Bu]]),gr(4608,mu,mu,[yu,Vi]),gr(135680,Cu,Cu,[io]),gr(4608,xu,xu,[mu,Cu,gi]),gr(6144,tn,null,[xu]),gr(6144,ku,null,[Cu]),gr(4608,Qi,Qi,[Vi]),gr(5120,fc,Fh,[Ch]),gr(4608,Ah,Ah,[]),gr(6144,xh,null,[Ah]),gr(135680,Ih,Ih,[Ch,la,Ni,xt,xh]),gr(4608,Th,Th,[]),gr(5120,Rh,Uh,[Ch,ao,Nh]),gr(5120,Zh,qh,[zh]),gr(5120,Ci,(function(e){return[e]}),[Zh]),gr(1073742336,ro,ro,[]),gr(1024,Ze,is,[]),gr(1024,$i,(function(){return[Dh()]}),[]),gr(512,zh,zh,[xt]),gr(1024,vi,(function(e,t){return[(n=e,vu("probe",gu),vu("coreTokens",Object.assign({},pu,(n||[]).reduce((function(e,t){return e[t.name]=t.token,e}),{}))),function(){return gu}),Bh(t)];var n}),[[2,$i],zh]),gr(512,pi,pi,[[2,vi]]),gr(131584,ia,ia,[Vi,wi,xt,Ze,Kt,pi]),gr(1073742336,wa,wa,[ia]),gr(1073742336,as,as,[[3,as]]),gr(1024,Ph,Lh,[[3,Ch]]),gr(512,qs,Zs,[]),gr(512,bh,bh,[]),gr(256,Nh,{},[]),gr(1024,Wl,jh,[ql,[2,Gl],Nh]),gr(512,Ql,Ql,[Wl,ql]),gr(512,Ni,Ni,[]),gr(512,la,sa,[Ni,[2,oa]]),gr(1024,vh,(function(){return[[{path:"",component:Kh,children:[{path:"",redirectTo:"profile",pathMatch:"full"},{path:"profile",component:Xh},{path:"**",redirectTo:"profile",pathMatch:"full"}]}]]}),[]),gr(1024,Ch,Vh,[ia,qs,bh,Ql,xt,la,Ni,vh,Nh,[2,gh],[2,fh]]),gr(1073742336,Mh,Mh,[[2,Ph],[2,Ch]]),gr(1073742336,of,of,[]),gr(1073742336,zl,zl,[]),gr(256,St,!0,[])])}));(function(){if(Ge)throw new Error("Cannot enable prod mode after platform setup.");We=!1})(),rs().bootstrapModuleFactory(uf).catch((function(e){return console.error(e)}))},zn8P:function(e,t){function n(e){return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="zn8P"}},[[0,0]]]);