text: (window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(t,e,n){t.exports=n("zUnb")},crnd:function(t,e){function n(t){return Promise.resolve().then(function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e})}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id="crnd"},zUnb:function(t,e,n){"use strict";n.r(e);var r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function o(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var i=function(){return(i=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};function a(t,e,n,r){var o,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var u=t.length-1;u>=0;u--)(o=t[u])&&(a=(i<3?o(a):i>3?o(e,n,a):o(e,n))||a);return i>3&&a&&Object.defineProperty(e,n,a),a}function u(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function s(t){var e="function"==typeof Symbol&&t[Symbol.iterator],n=0;return e?e.call(t):{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}function l(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(u){o={error:u}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function c(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(l(arguments[e]));return t}var f=Array.isArray||function(t){return t&&"number"==typeof t.length};function p(t){return null!=t&&"object"==typeof t}function h(t){return"function"==typeof t}var d,v={e:{}};function g(){try{return d.apply(this,arguments)}catch(t){return v.e=t,v}}function y(t){return d=t,g}function m(t){return Error.call(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(function(t,e){return e+1+") "+t.toString()}).join("\n  "):"",this.name="UnsubscriptionError",this.errors=t,this}m.prototype=Object.create(Error.prototype);var b=m,_=function(){function t(t){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}var e;return t.prototype.unsubscribe=function(){var t,e=!1;if(!this.closed){var n=this._parent,r=this._parents,o=this._unsubscribe,i=this._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var a=-1,u=r?r.length:0;n;)n.remove(this),n=++a<u&&r[a]||null;if(h(o)&&y(o).call(this)===v&&(e=!0,t=t||(v.e instanceof b?w(v.e.errors):[v.e])),f(i))for(a=-1,u=i.length;++a<u;){var s=i[a];if(p(s)&&y(s.unsubscribe).call(s)===v){e=!0,t=t||[];var l=v.e;l instanceof b?t=t.concat(w(l.errors)):t.push(l)}}if(e)throw new b(t)}},t.prototype.add=function(e){if(!e||e===t.EMPTY)return t.EMPTY;if(e===this)return this;var n=e;switch(typeof e){case"function":n=new t(e);case"object":if(n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if("function"!=typeof n._addParent){var r=n;(n=new t)._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}return(this._subscriptions||(this._subscriptions=[])).push(n),n._addParent(this),n},t.prototype.remove=function(t){var e=this._subscriptions;if(e){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}},t.prototype._addParent=function(t){var e=this._parent,n=this._parents;e&&e!==t?n?-1===n.indexOf(t)&&n.push(t):this._parents=[t]:this._parent=t},t.EMPTY=((e=new t).closed=!0,e),t}();function w(t){return t.reduce(function(t,e){return t.concat(e instanceof b?e.errors:e)},[])}var C=!1,x={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){C=t},get useDeprecatedSynchronousErrorHandling(){return C}};function E(t){setTimeout(function(){throw t})}var S={closed:!0,next:function(t){},error:function(t){if(x.useDeprecatedSynchronousErrorHandling)throw t;E(t)},complete:function(){}},k="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random(),T=function(t){function e(n,r,o){var i=t.call(this)||this;switch(i.syncErrorValue=null,i.syncErrorThrown=!1,i.syncErrorThrowable=!1,i.isStopped=!1,i._parentSubscription=null,arguments.length){case 0:i.destination=S;break;case 1:if(!n){i.destination=S;break}if("object"==typeof n){n instanceof e?(i.syncErrorThrowable=n.syncErrorThrowable,i.destination=n,n.add(i)):(i.syncErrorThrowable=!0,i.destination=new I(i,n));break}default:i.syncErrorThrowable=!0,i.destination=new I(i,n,r,o)}return i}return o(e,t),e.prototype[k]=function(){return this},e.create=function(t,n,r){var o=new e(t,n,r);return o.syncErrorThrowable=!1,o},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e.prototype._unsubscribeAndRecycle=function(){var t=this._parent,e=this._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=t,this._parents=e,this._parentSubscription=null,this},e}(_),I=function(t){function e(e,n,r,o){var i,a=t.call(this)||this;a._parentSubscriber=e;var u=a;return h(n)?i=n:n&&(i=n.next,r=n.error,o=n.complete,n!==S&&(h((u=Object.create(n)).unsubscribe)&&a.add(u.unsubscribe.bind(u)),u.unsubscribe=a.unsubscribe.bind(a))),a._context=u,a._next=i,a._error=r,a._complete=o,a}return o(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;x.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},e.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber,n=x.useDeprecatedSynchronousErrorHandling;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):E(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;E(t)}}},e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var n=function(){return t._complete.call(t._context)};x.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),x.useDeprecatedSynchronousErrorHandling)throw n;E(n)}},e.prototype.__tryOrSetError=function(t,e,n){if(!x.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(r){return x.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=r,t.syncErrorThrown=!0,!0):(E(r),!0)}return!1},e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},e}(T),R="function"==typeof Symbol&&Symbol.observable||"@@observable";function A(){}function O(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return P(t)}function P(t){return t?1===t.length?t[0]:function(e){return t.reduce(function(t,e){return e(t)},e)}:A}var N=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var n=new t;return n.source=this,n.operator=e,n},t.prototype.subscribe=function(t,e,n){var r=this.operator,o=function(t,e,n){if(t){if(t instanceof T)return t;if(t[k])return t[k]()}return t||e||n?new T(t,e,n):new T(S)}(t,e,n);if(r?r.call(o,this.source):o.add(this.source||x.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),x.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){x.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){var e=t.destination;if(t.closed||t.isStopped)return!1;t=e&&e instanceof T?e:null}return!0}(t)?t.error(e):console.warn(e)}},t.prototype.forEach=function(t,e){var n=this;return new(e=D(e))(function(e,r){var o;o=n.subscribe(function(e){try{t(e)}catch(n){r(n),o&&o.unsubscribe()}},r,e)})},t.prototype._subscribe=function(t){var e=this.source;return e&&e.subscribe(t)},t.prototype[R]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 0===t.length?this:P(t)(this)},t.prototype.toPromise=function(t){var e=this;return new(t=D(t))(function(t,n){var r;e.subscribe(function(t){return r=t},function(t){return n(t)},function(){return t(r)})})},t.create=function(e){return new t(e)},t}();function D(t){if(t||(t=x.Promise||Promise),!t)throw new Error("no Promise impl found");return t}function j(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}j.prototype=Object.create(Error.prototype);var M=j,L=function(t){function e(e,n){var r=t.call(this)||this;return r.subject=e,r.subscriber=n,r.closed=!1,r}return o(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},e}(_),U=function(t){function e(e){var n=t.call(this,e)||this;return n.destination=e,n}return o(e,t),e}(T),V=function(t){function e(){var e=t.call(this)||this;return e.observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return o(e,t),e.prototype[k]=function(){return new U(this)},e.prototype.lift=function(t){var e=new H(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new M;if(!this.isStopped)for(var e=this.observers,n=e.length,r=e.slice(),o=0;o<n;o++)r[o].next(t)},e.prototype.error=function(t){if(this.closed)throw new M;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var e=this.observers,n=e.length,r=e.slice(),o=0;o<n;o++)r[o].error(t);this.observers.length=0},e.prototype.complete=function(){if(this.closed)throw new M;this.isStopped=!0;for(var t=this.observers,e=t.length,n=t.slice(),r=0;r<e;r++)n[r].complete();this.observers.length=0},e.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},e.prototype._trySubscribe=function(e){if(this.closed)throw new M;return t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){if(this.closed)throw new M;return this.hasError?(t.error(this.thrownError),_.EMPTY):this.isStopped?(t.complete(),_.EMPTY):(this.observers.push(t),new L(this,t))},e.prototype.asObservable=function(){var t=new N;return t.source=this,t},e.create=function(t,e){return new H(t,e)},e}(N),H=function(t){function e(e,n){var r=t.call(this)||this;return r.destination=e,r.source=n,r}return o(e,t),e.prototype.next=function(t){var e=this.destination;e&&e.next&&e.next(t)},e.prototype.error=function(t){var e=this.destination;e&&e.error&&this.destination.error(t)},e.prototype.complete=function(){var t=this.destination;t&&t.complete&&this.destination.complete()},e.prototype._subscribe=function(t){return this.source?this.source.subscribe(t):_.EMPTY},e}(V);function F(t){return t&&"function"==typeof t.schedule}var B=function(t){function e(e,n,r){var o=t.call(this)||this;return o.parent=e,o.outerValue=n,o.outerIndex=r,o.index=0,o}return o(e,t),e.prototype._next=function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)},e.prototype._error=function(t){this.parent.notifyError(t,this),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},e}(T),z=function(t){return function(e){for(var n=0,r=t.length;n<r&&!e.closed;n++)e.next(t[n]);e.closed||e.complete()}},q=function(t){return function(e){return t.then(function(t){e.closed||(e.next(t),e.complete())},function(t){return e.error(t)}).then(null,E),e}};function Z(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}var G=Z(),Q=function(t){return function(e){for(var n=t[G]();;){var r=n.next();if(r.done){e.complete();break}if(e.next(r.value),e.closed)break}return"function"==typeof n.return&&e.add(function(){n.return&&n.return()}),e}},W=function(t){return function(e){var n=t[R]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(e)}},K=function(t){return t&&"number"==typeof t.length&&"function"!=typeof t};function Y(t){return t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}var J=function(t){if(t instanceof N)return function(e){return t._isScalar?(e.next(t.value),void e.complete()):t.subscribe(e)};if(t&&"function"==typeof t[R])return W(t);if(K(t))return z(t);if(Y(t))return q(t);if(t&&"function"==typeof t[G])return Q(t);var e=p(t)?"an invalid object":"'"+t+"'";throw new TypeError("You provided "+e+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")};function $(t,e,n,r,o){if(void 0===o&&(o=new B(t,n,r)),!o.closed)return J(e)(o)}var X=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.notifyNext=function(t,e,n,r,o){this.destination.next(e)},e.prototype.notifyError=function(t,e){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.destination.complete()},e}(T);function tt(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new et(t,e))}}var et=function(){function t(t,e){this.project=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new nt(t,this.project,this.thisArg))},t}(),nt=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.project=n,o.count=0,o.thisArg=r||o,o}return o(e,t),e.prototype._next=function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)},e}(T);function rt(t,e){return new N(e?function(n){var r=new _,o=0;return r.add(e.schedule(function(){o!==t.length?(n.next(t[o++]),n.closed||r.add(this.schedule())):n.complete()})),r}:z(t))}function ot(t,e){if(!e)return t instanceof N?t:new N(J(t));if(null!=t){if(function(t){return t&&"function"==typeof t[R]}(t))return function(t,e){return new N(e?function(n){var r=new _;return r.add(e.schedule(function(){var o=t[R]();r.add(o.subscribe({next:function(t){r.add(e.schedule(function(){return n.next(t)}))},error:function(t){r.add(e.schedule(function(){return n.error(t)}))},complete:function(){r.add(e.schedule(function(){return n.complete()}))}}))})),r}:W(t))}(t,e);if(Y(t))return function(t,e){return new N(e?function(n){var r=new _;return r.add(e.schedule(function(){return t.then(function(t){r.add(e.schedule(function(){n.next(t),r.add(e.schedule(function(){return n.complete()}))}))},function(t){r.add(e.schedule(function(){return n.error(t)}))})})),r}:q(t))}(t,e);if(K(t))return rt(t,e);if(function(t){return t&&"function"==typeof t[G]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new N(e?function(n){var r,o=new _;return o.add(function(){r&&"function"==typeof r.return&&r.return()}),o.add(e.schedule(function(){r=t[G](),o.add(e.schedule(function(){if(!n.closed){var t,e;try{var o=r.next();t=o.value,e=o.done}catch(i){return void n.error(i)}e?n.complete():(n.next(t),this.schedule())}}))})),o}:Q(t))}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}function it(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof e?function(r){return r.pipe(it(function(n,r){return ot(t(n,r)).pipe(tt(function(t,o){return e(n,t,r,o)}))},n))}:("number"==typeof e&&(n=e),function(e){return e.lift(new at(t,n))})}var at=function(){function t(t,e){void 0===e&&(e=Number.POSITIVE_INFINITY),this.project=t,this.concurrent=e}return t.prototype.call=function(t,e){return e.subscribe(new ut(t,this.project,this.concurrent))},t}(),ut=function(t){function e(e,n,r){void 0===r&&(r=Number.POSITIVE_INFINITY);var o=t.call(this,e)||this;return o.project=n,o.concurrent=r,o.hasCompleted=!1,o.buffer=[],o.active=0,o.index=0,o}return o(e,t),e.prototype._next=function(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var r=new B(this,void 0,void 0);this.destination.add(r),$(this,t,e,n,r)},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()},e.prototype.notifyNext=function(t,e,n,r,o){this.destination.next(e)},e.prototype.notifyComplete=function(t){var e=this.buffer;this.remove(t),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(X);function st(t){return t}function lt(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),it(st,t)}function ct(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=Number.POSITIVE_INFINITY,r=null,o=t[t.length-1];return F(o)?(r=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof o&&(n=t.pop()),null===r&&1===t.length&&t[0]instanceof N?t[0]:lt(n)(rt(t,r))}function ft(){return function(t){return t.lift(new pt(t))}}var pt=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new ht(t,n),o=e.subscribe(r);return r.closed||(r.connection=n.connect()),o},t}(),ht=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return o(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},e}(T),dt=function(t){function e(e,n){var r=t.call(this)||this;return r.source=e,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return o(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new _).add(this.source.subscribe(new gt(this.getSubject(),this))),t.closed?(this._connection=null,t=_.EMPTY):this._connection=t),t},e.prototype.refCount=function(){return ft()(this)},e}(N).prototype,vt={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:dt._subscribe},_isComplete:{value:dt._isComplete,writable:!0},getSubject:{value:dt.getSubject},connect:{value:dt.connect},refCount:{value:dt.refCount}},gt=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return o(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(U);function yt(){return new V}function mt(t){for(var e in t)if(t[e]===mt)return e;throw Error("Could not find renamed property on target object.")}function bt(t,e){for(var n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}var _t=mt({ngComponentDef:mt}),wt=mt({ngInjectableDef:mt}),Ct=mt({ngInjectorDef:mt}),xt=mt({ngModuleDef:mt}),Et=mt({ngBaseDef:mt}),St=mt({__NG_ELEMENT_ID__:mt});function kt(t){return{providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Tt(t){return t&&t.hasOwnProperty(wt)?t[wt]:null}function It(t){return t&&t.hasOwnProperty(Ct)?t[Ct]:null}var Rt=function(){function t(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0!==e?kt({providedIn:e.providedIn||"root",factory:e.factory}):void 0}return t.prototype.toString=function(){return"InjectionToken "+this._desc},t}(),At="__parameters__",Ot="__prop__metadata__";function Pt(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(t){var r=t.apply(void 0,c(e));for(var o in r)this[o]=r[o]}}}function Nt(t,e,n){var r=Pt(e);function o(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(this instanceof o)return r.apply(this,e),this;var i=new((t=o).bind.apply(t,c([void 0],e)));return a.annotation=i,a;function a(t,e,n){for(var r=t.hasOwnProperty(At)?t[At]:Object.defineProperty(t,At,{value:[]})[At];r.length<=n;)r.push(null);return(r[n]=r[n]||[]).push(i),t}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o}function Dt(t,e,n,r){var o=Pt(e);function i(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(this instanceof i)return o.apply(this,e),this;var a=new((t=i).bind.apply(t,c([void 0],e)));return function(t,n){var o=t.constructor,i=o.hasOwnProperty(Ot)?o[Ot]:Object.defineProperty(o,Ot,{value:{}})[Ot];i[n]=i.hasOwnProperty(n)&&i[n]||[],i[n].unshift(a),r&&r.apply(void 0,c([t,n],e))}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i}var jt=new Rt("AnalyzeForEntryComponents"),Mt="undefined"!=typeof window&&window,Lt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Ut="undefined"!=typeof global&&global||Mt||Lt,Vt=Promise.resolve(0),Ht=null;function Ft(){if(!Ht){var t=Ut.Symbol;if(t&&t.iterator)Ht=t.iterator;else for(var e=Object.getOwnPropertyNames(Map.prototype),n=0;n<e.length;++n){var r=e[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(Ht=r)}}return Ht}function Bt(t){"undefined"==typeof Zone?Vt.then(function(){t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}function zt(t,e){return t===e||"number"==typeof t&&"number"==typeof e&&isNaN(t)&&isNaN(e)}function qt(t){if("string"==typeof t)return t;if(t instanceof Array)return"["+t.map(qt).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return""+t.overriddenName;if(t.name)return""+t.name;var e=t.toString();if(null==e)return""+e;var n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}var Zt=mt({__forward_ref__:mt});function Gt(t){return t.__forward_ref__=Gt,t.toString=function(){return qt(this())},t}function Qt(t){var e=t;return"function"==typeof e&&e.hasOwnProperty(Zt)&&e.__forward_ref__===Gt?e():t}var Wt=function(t){return t[t.Emulated=0]="Emulated",t[t.Native=1]="Native",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({}),Kt=0,Yt=1,Jt=2,$t=3,Xt=5,te=6,ee=7,ne=8,re=9,oe=10,ie=11,ae=12,ue=13,se=15,le=17,ce=18,fe=0,pe=1,he=6,de=8,ve="__ngContext__",ge=8,ye=8,me=9,be=-1,_e=function(){return function(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}(),we=_e.prototype;function Ce(t){return"function"==typeof t?t.name||t:"string"==typeof t?t:null==t?"":"object"==typeof t&&"function"==typeof t.type?t.type.name||t.type:""+t}function xe(t){for(;Array.isArray(t);)t=t[Xt];return t}function Ee(t,e){return xe(e[t.index])}function Se(t,e){var n=e[t];return n.length>=ce?n:n[Xt]}function ke(t){return null!==t.template}function Te(t){return t[ve]}function Ie(t){var e=Te(t);return e?Array.isArray(e)?e:e.lView:null}function Re(t){return 32767&t}function Ae(t,e){for(var n=t>>16,r=e;n>0;)r=r[le],n--;return r}var Oe=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Ut);function Pe(t){for(var e=t[te];e&&2===e.type;)e=(t=t[le])[te];return t}var Ne,De,je,Me,Le=Nt("Inject",function(t){return{token:t}}),Ue=Nt("Optional"),Ve=Nt("Self"),He=Nt("SkipSelf"),Fe=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({}),Be=void 0;function ze(t){var e=Be;return Be=t,e}function qe(t){var e=Ne;return Ne=t,e}function Ze(t,e){return void 0===e&&(e=Fe.Default),(Ne||function(t,e){if(void 0===e&&(e=Fe.Default),void 0===Be)throw new Error("inject() must be called from an injection context");return null===Be?Ge(t,void 0,e):Be.get(t,e&Fe.Optional?null:void 0,e)})(t,e)}function Ge(t,e,n){var r=Tt(t);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&Fe.Optional)return null;if(void 0!==e)return e;throw new Error("Injector: NOT_FOUND ["+qt(t)+"]")}function Qe(t){for(var e=[],n=0;n<t.length;n++){var r=t[n];if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");for(var o=void 0,i=Fe.Default,a=0;a<r.length;a++){var u=r[a];u instanceof Ue||"Optional"===u.ngMetadataName?i|=Fe.Optional:u instanceof He||"SkipSelf"===u.ngMetadataName?i|=Fe.SkipSelf:u instanceof Ve||"Self"===u.ngMetadataName?i|=Fe.Self:o=u instanceof Le?u.token:u}e.push(Ze(o,i))}else e.push(Ze(r))}return e}function We(t,e,n){t.afterContentInit&&(e.contentHooks||(e.contentHooks=[])).push(n,t.afterContentInit),t.afterContentChecked&&((e.contentHooks||(e.contentHooks=[])).push(n,t.afterContentChecked),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,t.afterContentChecked))}function Ke(t,e,n){t.afterViewInit&&(e.viewHooks||(e.viewHooks=[])).push(n,t.afterViewInit),t.afterViewChecked&&((e.viewHooks||(e.viewHooks=[])).push(n,t.afterViewChecked),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,t.afterViewChecked))}function Ye(t,e,n){null!=t.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(n,t.onDestroy)}function Je(t,e,n,r){if(!r){var o=2&t[Yt]?e:n;o&&$e(t,o)}}function $e(t,e){for(var n=0;n<e.length;n+=2)e[n+1].call(t[e[n]])}function Xe(){return Me}function tn(){return De}function en(t){De=t}function nn(t,e){De=t,Me=e}function rn(){return je}function on(t){je=t}function an(t){return void 0===t&&(t=Me),1==(1&t[Yt])}var un=!1;function sn(){return un}function ln(t){un=t}var cn=!0;function fn(){return cn}function pn(t){cn=t}function hn(t,e){var n=Me;t&&(cn=t[Kt].firstTemplatePass);return De=e,je=!0,Me=t,n}function dn(t){var e=Me[Kt];an(Me)?Me[Yt]&=-2:(Je(Me,e.viewHooks,e.viewCheckHooks,un),Me[Yt]&=-11,Me[Yt]|=32,Me[ee]=e.bindingStartIndex),hn(t,null)}var vn=!0;function gn(t){var e=vn;return vn=t,e}var yn=255,mn=0;function bn(t,e){t.push(0,0,0,0,0,0,0,0,e)}function _n(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null==e[t.injectorIndex+ye]?-1:t.injectorIndex}function wn(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;for(var n=e[te],r=1;n&&-1===n.injectorIndex;)n=(e=e[le])?e[te]:null,r++;return n?n.injectorIndex|r<<16:-1}var Cn={};function xn(t,e,n,r,o,i){var a=e[Kt],u=a.data[t+ge],s=function(t,e,n,r,o){for(var i=t.providerIndexes,a=e[Kt].data,u=65535&i,s=t.directiveStart,l=i>>16,c=o?u+l:t.directiveEnd,f=r?u:u+l;f<c;f++){var p=a[f];if(f<s&&n===p||f>=s&&p.type===n)return f}if(o){var h=a[s];if(h&&ke(h)&&h.type===n)return s}return null}(u,e,n,null==r?function(t){return 1==(1&t.flags)}(u)&&vn:r!=a&&3===u.type,o&Fe.Host&&i===u);return null!==s?En(a.data,e,s,u):Cn}function En(t,e,n,r){var o,i=e[n];if(null!=(o=i)&&"object"==typeof o&&Object.getPrototypeOf(o)==we){var a=i;if(a.resolving)throw new Error("Circular dep for "+Ce(t[n]));var u=gn(a.canSeeViewProviders);a.resolving=!0;var s=void 0;a.injectImpl&&(s=qe(a.injectImpl));var l=tn(),c=Xe();nn(r,e);try{i=e[n]=a.factory(null,t,e,r)}finally{a.injectImpl&&qe(s),gn(u),a.resolving=!1,nn(l,c)}}return i}function Sn(t,e,n){var r=64&t,o=32&t;return!!((128&t?r?o?n[e+7]:n[e+6]:o?n[e+5]:n[e+4]:r?o?n[e+3]:n[e+2]:o?n[e+1]:n[e])&1<<t)}function kn(t,e){return!(t&Fe.Self||t&Fe.Host&&e)}var Tn=function(){function t(t,e){this._tNode=t,this._lView=e}return t.prototype.get=function(t,e){return function(t,e,n,r,o){if(void 0===r&&(r=Fe.Default),t){var i=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;var e=t[St];return"number"==typeof e?e&yn:e}(n);if("function"==typeof i){var a=tn(),u=Xe();nn(t,e);try{var s=i();if(null!=s||r&Fe.Optional)return s;throw new Error("No provider for "+Ce(n)+"!")}finally{nn(a,u)}}else if("number"==typeof i){var l=null,c=_n(t,e),f=be,p=r&Fe.Host?Pe(e)[te]:null;for((-1===c||r&Fe.SkipSelf)&&(f=-1===c?wn(t,e):e[c+ye],kn(r,!1)?(l=e[Kt],c=Re(f),e=Ae(f,e)):c=-1);-1!==c;){f=e[c+ye];var h=e[Kt];if(Sn(i,c,h.data)){var d=xn(c,e,n,l,r,p);if(d!==Cn)return d}kn(r,e[Kt].data[c+ge]===p)&&Sn(i,c,e)?(l=h,c=Re(f),e=Ae(f,e)):c=-1}}}if(r&Fe.Optional&&void 0===o&&(o=null),0==(r&(Fe.Self|Fe.Host))){var v=e[oe];return v?v.get(n,o,r&Fe.Optional):Ge(n,o,r&Fe.Optional)}if(r&Fe.Optional)return o;throw new Error("NodeInjector: NOT_FOUND ["+Ce(n)+"]")}(this._tNode,this._lView,t,void 0,e)},t}();function In(t,e){t[ve]=e}var Rn=/([A-Z])/g;function An(t){try{return null!=t?t.toString().slice(0,30):t}catch(e){return"[ERROR] Exception while trying to serialize the value"}}function On(t,e){var n=Dn(t),r=Dn(e);return n&&r?function(t,e,n){for(var r=t[Ft()](),o=e[Ft()]();;){var i=r.next(),a=o.next();if(i.done&&a.done)return!0;if(i.done||a.done)return!1;if(!n(i.value,a.value))return!1}}(t,e,On):!(n||!t||"object"!=typeof t&&"function"!=typeof t||r||!e||"object"!=typeof e&&"function"!=typeof e)||zt(t,e)}var Pn=function(){function t(t){this.wrapped=t}return t.wrap=function(e){return new t(e)},t.unwrap=function(e){return t.isWrapped(e)?e.wrapped:e},t.isWrapped=function(e){return e instanceof t},t}(),Nn=function(){function t(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}return t.prototype.isFirstChange=function(){return this.firstChange},t}();function Dn(t){return!!jn(t)&&(Array.isArray(t)||!(t instanceof Map)&&Ft()in t)}function jn(t){return null!==t&&("function"==typeof t||"object"==typeof t)}var Mn={},Ln="ngProjectAs";function Un(t){return!!t.listen}var Vn={createRenderer:function(t,e){return document}},Hn=[];function Fn(t,e,n,r,o){0===t?Un(e)?e.insertBefore(n,r,o):n.insertBefore(r,o,!0):1===t?Un(e)?e.removeChild(n,r):n.removeChild(r):2===t&&e.destroyNode(r)}function Bn(t){var e=t[Kt].childIndex;return-1===e?null:t[e]}function zn(t,e){var n;return t.length>=ce&&(n=t[te])&&2===n.type?function(e,n){if(-1===e.index){var r=t[se];return r>-1?t[Jt][r]:null}return t[Jt][e.parent.index]}(n):t[Jt]===e?null:t[Jt]}function qn(t){if(t.length>=ce){var e=t;!function(t){var e,n=t[Kt];null!=n&&null!=(e=n.destroyHooks)&&$e(t,e)}(e),(o=(r=e)[Kt]&&r[Kt].pipeDestroyHooks)&&$e(r,o),function(t){var e=t[Kt].cleanup;if(null!=e){for(var n=t[ne],r=0;r<e.length-1;r+=2)if("string"==typeof e[r]){var o=n[e[r+2]],i=xe(t[e[r+1]]),a=e[r+3];"boolean"==typeof a?i.removeEventListener(e[r],o,a):a>=0?n[a]():n[-a].unsubscribe(),r+=2}else"number"==typeof e[r]?(0,n[e[r]])():e[r].call(n[e[r+1]]);t[ne]=null}}(e);var n=e[te];n&&3===n.type&&Un(e[ae])&&e[ae].destroy()}var r,o}var Zn="@",Gn=Promise.resolve(null);function Qn(t){var e=t[Kt];if(e.firstTemplatePass=!1,pn(!1),!an(t)){var n=sn();(function(t,e,n){!n&&32&t[Yt]&&(Je(t,e.initHooks,e.checkHooks,n),t[Yt]&=-33)})(t,e,n),function(t){for(var e=Bn(t);null!==e;e=e[$t])if(e.length<ce&&-1===e[fe])for(var n=e,r=0;r<n[pe].length;r++){var o=n[pe][r];Yn(o,o[Kt],o[re])}}(t),function(t){if(null!=t.contentQueries)for(var e=0;e<t.contentQueries.length;e+=2){var n=t.contentQueries[e];t.data[n].contentQueriesRefresh(n-ce,t.contentQueries[e+1])}}(e),Je(t,e.contentHooks,e.contentCheckHooks,n),function(t,e){if(t.expandoInstructions)for(var n=e[ee]=t.expandoStartIndex,r=-1,o=-1,i=0;i<t.expandoInstructions.length;i++){var a=t.expandoInstructions[i];if("number"==typeof a)if(a<=0){o=-a;var u=t.expandoInstructions[++i];r=n+=me+u}else n+=a;else null!==a&&(e[ee]=n,a(2,xe(e[r]),o)),r++}}(e,t)}!function(t){if(null!=t)for(var e=0;e<t.length;e++)void 0,void 0,16==(16&(n=Se(t[e],Xe()))[Yt])&&12&n[Yt]&&(function(t){for(var e=t[Kt],n=t.length;n<e.blueprint.length;n++)t[n]=e.blueprint[n]}(n),ar(n,n[re]));var n}(e.components)}function Wn(t,e,n,r,o,i,a,u){var s=e.blueprint.slice();return s[Yt]=51|r,s[Jt]=s[le]=t,s[re]=n,s[ie]=o||t&&t[ie],s[ae]=i||t&&t[ae],s[ue]=a||t&&t[ue]||null,s[oe]=u||t&&t[oe]||null,s}function Kn(t,e,n,r,o){var i=Xe(),a=i[Kt],u=t+ce;i[u]=n;var s=a.data[u];null==s&&(s=a.data[u]=nr(i,e,u,r,o,null));var l=tn(),c=rn();return l&&(!c||null!=l.child||null===s.parent&&2!==l.type?c||(l.next=s):l.child=s),null==a.firstChild&&(a.firstChild=s),en(s),on(!0),s}function Yn(t,e,n){var r,o=rn(),i=tn();if(on(!0),en(null),128&t[Yt])rr(function(t){for(var e=Array.isArray(t)?t:Ie(t);e&&!(128&e[Yt]);)e=e[Jt];return e}(t)[re]);else try{on(!0),en(null),r=hn(t,t[te]),tr(),e.template($n(t),n),t[Kt].firstTemplatePass=!1,pn(!1),Qn(t)}finally{dn(r),on(o),en(i)}}function Jn(t,e,n){var r=t[ie],o=hn(t,t[te]),i=!sn();try{i&&r.begin&&r.begin(),an(t)&&(n&&(tr(),n(1,e)),Qn(t),t[Yt]&=-2),n&&n(2,e),Qn(t)}finally{i&&r.end&&r.end(),dn(o)}}function $n(t){return an(t)?1:2}var Xn=null;function tr(){Xn=null}function er(t,e,n,r,o,i,a){var u=ce+n,s=u+r,l=function(t,e){var n=new Array(e).fill(null,0,t).fill(Mn,t);return n[se]=-1,n[ee]=t,n}(u,s);return l[Kt]={id:t,blueprint:l,template:e,viewQuery:a,node:null,data:l.slice(),childIndex:-1,bindingStartIndex:u,expandoStartIndex:s,expandoInstructions:null,firstTemplatePass:!0,initHooks:null,checkHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,pipeDestroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof i?i():i,firstChild:null}}function nr(t,e,n,r,o,i){var a=tn(),u=rn()?a:a&&a.parent,s=u&&t&&u!==t[te]?u:null;return{type:e,index:n,injectorIndex:s?s.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,flags:0,providerIndexes:0,tagName:r,attrs:o,localNames:null,initialInputs:void 0,inputs:void 0,outputs:void 0,tViews:i,next:null,child:null,parent:s,detached:null,stylingTemplate:null,projection:null}}function rr(t){for(var e=0;e<t.components.length;e++){var n=t.components[e];Jn(Ie(n),n)}}function or(t,e){var n=t[ie];n.begin&&n.begin(),an(t)&&ar(t,e),ar(t,e),n.end&&n.end()}function ir(t){rr(t[re])}function ar(t,e){var n=t[Kt],r=hn(t,t[te]),o=n.template,i=n.viewQuery;try{tr(),function(e,n,r){e&&an(t)&&e(1,r)}(i,0,e),o($n(t),e),Qn(t),function(e,n,r){e&&!an(t)&&e(2,r)}(i,0,e)}finally{dn(r)}}var ur=Gn;function sr(t,e,n,r,o,i){je=!1,De=null;var a,u=n[Kt],s=Wn(n,(a=e.template).ngPrivateData||(a.ngPrivateData=er(-1,a,e.consts,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery)),null,e.onPush?8:4,r,o,i),l=Kn(0,3,t,null,null);return u.firstTemplatePass&&(function(t,e,n){var r="string"!=typeof n?n[St]:n.charCodeAt(0)||0;null==r&&(r=n[St]=mn++);var o=r&yn,i=1<<o,a=64&o,u=32&o,s=e.data;128&o?a?u?s[t+7]|=i:s[t+6]|=i:u?s[t+5]|=i:s[t+4]|=i:a?u?s[t+3]|=i:s[t+2]|=i:u?s[t+1]|=i:s[t]|=i}(function(t,e){var n=_n(t,e);if(-1!==n)return n;var r=e[Kt];r.firstTemplatePass&&(t.injectorIndex=e.length,bn(r.data,t),bn(e,null),bn(r.blueprint,null));var o=wn(t,e),i=Re(o),a=Ae(o,e),u=t.injectorIndex;if(o!==be)for(var s=a[Kt].data,l=0;l<8;l++)e[u+l]=a[i+l]|s[i+l];return e[u+ye]=o,u}(l,n),n[Kt],e.type),l.flags=1,function(t,e,n){t.flags=1&t.flags,t.directiveStart=e,t.directiveEnd=e+1,t.providerIndexes=e}(l,n.length),function(t){var e=Xe()[Kt];(e.components||(e.components=[])).push(t.index)}(l)),s[Xt]=n[ce],s[te]=l,n[ce]=s}function lr(t,e,n,r,o){var i=n[Kt],a=function(t,e,n){var r=tn();t.firstTemplatePass&&(n.providersResolver&&n.providersResolver(n),function(t,e,n){var o=-(r.index-ce),i=t.data.length-(65535&r.providerIndexes);(t.expandoInstructions||(t.expandoInstructions=[])).push(o,i,1)}(t),function(t,e,n,r){t.data.push(n);var o=new _e(r,ke(n),null);t.blueprint.push(o),e.push(o)}(t,e,n,n.factory));var o=En(t.data,e,e.length-1,r);return function(t,e,n,r){var o=Ee(e,t);In(n,t),o&&In(o,t),null!=r.attributes&&3==e.type&&function(t,e){for(var n=Xe()[ae],r=Un(n),o=0;o<e.length;){var i=e[o++];if("number"==typeof i){if(0!==i)break;var a=e[o++],u=e[o++],s=e[o++];r?n.setAttribute(t,u,s,a):t.setAttributeNS(a,u,s)}else s=e[o++],i!==Ln&&(i[0]===Zn?r&&n.setProperty(t,i,s):r?n.setAttribute(t,i,s):t.setAttribute(i,s))}}(o,r.attributes)}(e,r,o,n),o}(i,n,e);if(r.components.push(a),t[re]=a,o&&o.forEach(function(t){return t(a,e)}),i.firstTemplatePass&&e.hostBindings){var u=tn();e.hostBindings(1,a,u.index-ce)}return a}function cr(t,e){return{components:[],scheduler:t||Oe,clean:ur,playerHandler:e||null,flags:0}}function fr(t,e){var n,r,o,i,a=Ie(t)[Kt],u=a.data.length-1;n=u,o=e.doCheck,i=a,(r=e.onInit)&&(i.initHooks||(i.initHooks=[])).push(n,r),o&&((i.initHooks||(i.initHooks=[])).push(n,o),(i.checkHooks||(i.checkHooks=[])).push(n,o)),function(t,e){if(t.firstTemplatePass)for(var n=e.directiveStart,r=e.directiveEnd;n<r;n++){var o=t.data[n];We(o,t,n),Ke(o,t,n),Ye(o,t,n)}}(a,{directiveStart:u,directiveEnd:u+1})}function pr(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]}var hr="__source",dr=new Object,vr=dr,gr=new Rt("INJECTOR"),yr=function(){function t(){}return t.prototype.get=function(t,e){if(void 0===e&&(e=dr),e===dr)throw new Error("NullInjectorError: No provider for "+qt(t)+"!");return e},t}(),mr=function(){function t(){}return t.create=function(t,e){return Array.isArray(t)?new Ir(t,e):new Ir(t.providers,t.parent,t.name||null)},t.THROW_IF_NOT_FOUND=dr,t.NULL=new yr,t.ngInjectableDef=kt({providedIn:"any",factory:function(){return Ze(gr)}}),t.__NG_ELEMENT_ID__=function(){return br()},t}(),br=pr,_r=function(t){return t},wr=[],Cr=_r,xr=function(){return Array.prototype.slice.call(arguments)},Er=mt({provide:String,useValue:mt}),Sr=mr.NULL,kr=/\n/gm,Tr="\u0275",Ir=function(){function t(t,e,n){void 0===e&&(e=Sr),void 0===n&&(n=null),this.parent=e,this.source=n;var r=this._records=new Map;r.set(mr,{token:mr,fn:_r,deps:wr,value:this,useNew:!1}),r.set(gr,{token:gr,fn:_r,deps:wr,value:this,useNew:!1}),function t(e,n){if(n)if((n=Qt(n))instanceof Array)for(var r=0;r<n.length;r++)t(e,n[r]);else{if("function"==typeof n)throw Or("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw Or("Unexpected provider",n);var o=Qt(n.provide),i=function(t){var e=function(t){var e=wr,n=t.deps;if(n&&n.length){e=[];for(var r=0;r<n.length;r++){var o=6;if((s=Qt(n[r]))instanceof Array)for(var i=0,a=s;i<a.length;i++){var u=a[i];u instanceof Ue||u==Ue?o|=1:u instanceof He||u==He?o&=-3:u instanceof Ve||u==Ve?o&=-5:s=u instanceof Le?u.token:Qt(u)}e.push({token:s,options:o})}}else if(t.useExisting){var s;e=[{token:s=Qt(t.useExisting),options:6}]}else if(!(n||Er in t))throw Or("'deps' required",t);return e}(t),n=_r,r=wr,o=!1,i=Qt(t.provide);if(Er in t)r=t.useValue;else if(t.useFactory)n=t.useFactory;else if(t.useExisting);else if(t.useClass)o=!0,n=Qt(t.useClass);else{if("function"!=typeof i)throw Or("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",t);o=!0,n=i}return{deps:e,fn:n,useNew:o,value:r}}(n);if(!0===n.multi){var a=e.get(o);if(a){if(a.fn!==xr)throw Rr(o)}else e.set(o,a={token:n.provide,deps:[],useNew:!1,fn:xr,value:wr});a.deps.push({token:o=n,options:6})}var u=e.get(o);if(u&&u.fn==xr)throw Rr(o);e.set(o,i)}}(r,t)}return t.prototype.get=function(t,e,n){void 0===n&&(n=Fe.Default);var r=this._records.get(t);try{return function t(e,n,r,o,i,a){try{return function(e,n,r,o,i,a){var u,s;if(!n||a&Fe.SkipSelf)a&Fe.Self||(s=o.get(e,i,Fe.Default));else{if((s=n.value)==Cr)throw Error(Tr+"Circular dependency");if(s===wr){n.value=Cr;var l=n.useNew,f=n.fn,p=n.deps,h=wr;if(p.length){h=[];for(var d=0;d<p.length;d++){var v=p[d],g=v.options,y=2&g?r.get(v.token):void 0;h.push(t(v.token,y,r,y||4&g?o:Sr,1&g?null:mr.THROW_IF_NOT_FOUND,Fe.Default))}}n.value=s=l?new((u=f).bind.apply(u,c([void 0],h))):f.apply(void 0,h)}}return s}(e,n,r,o,i,a)}catch(u){throw u instanceof Error||(u=new Error(u)),(u.ngTempTokenPath=u.ngTempTokenPath||[]).unshift(e),n&&n.value==Cr&&(n.value=wr),u}}(t,r,this._records,this.parent,e,n)}catch(i){var o=i.ngTempTokenPath;throw t[hr]&&o.unshift(t[hr]),i.message=Ar("\n"+i.message,o,this.source),i.ngTokenPath=o,i.ngTempTokenPath=null,i}},t.prototype.toString=function(){var t=[];return this._records.forEach(function(e,n){return t.push(qt(n))}),"StaticInjector["+t.join(", ")+"]"},t}();function Rr(t){return Or("Cannot mix multi providers and regular providers",t)}function Ar(t,e,n){void 0===n&&(n=null),t=t&&"\n"===t.charAt(0)&&t.charAt(1)==Tr?t.substr(2):t;var r=qt(e);if(e instanceof Array)r=e.map(qt).join(" -> ");else if("object"==typeof e){var o=[];for(var i in e)if(e.hasOwnProperty(i)){var a=e[i];o.push(i+":"+("string"==typeof a?JSON.stringify(a):qt(a)))}r="{"+o.join(", ")+"}"}return"StaticInjectorError"+(n?"("+n+")":"")+"["+r+"]: "+t.replace(kr,"\n  ")}function Or(t,e){return new Error(Ar(t,e))}var Pr=new Rt("The presence of this token marks an injector as being the root injector."),Nr={},Dr={},jr=[],Mr=void 0;function Lr(){return void 0===Mr&&(Mr=new yr),Mr}var Ur=function(){function t(t,e,n){var r=this;this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this.destroyed=!1;var o=[];Fr([t],function(t){return r.processInjectorType(t,[],o)}),e&&Fr(e,function(n){return r.processProvider(n,t,e)}),this.records.set(gr,Hr(void 0,this)),this.isRootInjector=this.records.has(Pr),this.injectorDefTypes.forEach(function(t){return r.get(t)})}return t.prototype.destroy=function(){this.assertNotDestroyed(),this.destroyed=!0;try{this.onDestroy.forEach(function(t){return t.ngOnDestroy()})}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}},t.prototype.get=function(t,e,n){void 0===e&&(e=vr),void 0===n&&(n=Fe.Default),this.assertNotDestroyed();var r,o=ze(this);try{if(!(n&Fe.SkipSelf)){var i=this.records.get(t);if(void 0===i){var a=("function"==typeof(r=t)||"object"==typeof r&&r instanceof Rt)&&Tt(t);a&&this.injectableDefInScope(a)&&(i=Hr(Vr(t),Nr),this.records.set(t,i))}if(void 0!==i)return this.hydrate(t,i)}return(n&Fe.Self?Lr():this.parent).get(t,e)}finally{ze(o)}},t.prototype.assertNotDestroyed=function(){if(this.destroyed)throw new Error("Injector has already been destroyed.")},t.prototype.processInjectorType=function(t,e,n){var r=this;if(t=Qt(t)){var o=It(t),i=null==o&&t.ngModule||void 0,a=void 0===i?t:i,u=-1!==n.indexOf(a),s=void 0!==i&&t.providers||jr;if(void 0!==i&&(o=It(i)),null!=o){if(this.injectorDefTypes.add(a),this.records.set(a,Hr(o.factory,Nr)),null!=o.imports&&!u){n.push(a);try{Fr(o.imports,function(t){return r.processInjectorType(t,e,n)})}finally{}}var l=o.providers;if(null!=l&&!u){var c=t;Fr(l,function(t){return r.processProvider(t,c,l)})}var f=t.ngModule;Fr(s,function(t){return r.processProvider(t,f,s)})}}},t.prototype.processProvider=function(t,e,n){var r=zr(t=Qt(t))?t:Qt(t&&t.provide),o=function(t,e,n){var r=function(t,e,n){var r,o=void 0;if(zr(t))return Vr(Qt(t));if(Br(t))o=function(){return Qt(t.useValue)};else if((r=t)&&r.useExisting)o=function(){return Ze(Qt(t.useExisting))};else if(t&&t.useFactory)o=function(){return t.useFactory.apply(t,c(Qe(t.deps||[])))};else{var i=Qt(t&&(t.useClass||t.provide));if(!i){var a="";throw e&&n&&(a=" - only instances of Provider and Type are allowed, got: ["+n.map(function(e){return e==t?"?"+t+"?":"..."}).join(", ")+"]"),new Error("Invalid provider for the NgModule '"+qt(e)+"'"+a)}if(!t.deps)return Vr(i);o=function(){return new(i.bind.apply(i,c([void 0],Qe(t.deps))))}}return o}(t,e,n);return Br(t)?Hr(void 0,t.useValue):Hr(r,Nr)}(t,e,n);if(zr(t)||!0!==t.multi){var i=this.records.get(r);if(i&&void 0!==i.multi)throw new Error("Mixed multi-provider for "+qt(r))}else{var a=this.records.get(r);if(a){if(void 0===a.multi)throw new Error("Mixed multi-provider for "+r+".")}else(a=Hr(void 0,Nr,!0)).factory=function(){return Qe(a.multi)},this.records.set(r,a);r=t,a.multi.push(t)}this.records.set(r,o)},t.prototype.hydrate=function(t,e){if(e.value===Dr)throw new Error("Cannot instantiate cyclic dependency! "+qt(t));var n;return e.value===Nr&&(e.value=Dr,e.value=e.factory()),"object"==typeof e.value&&e.value&&"object"==typeof(n=e.value)&&null!=n&&n.ngOnDestroy&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value},t.prototype.injectableDefInScope=function(t){return!!t.providedIn&&("string"==typeof t.providedIn?"any"===t.providedIn||"root"===t.providedIn&&this.isRootInjector:this.injectorDefTypes.has(t.providedIn))},t}();function Vr(t){var e=Tt(t);if(null===e){var n=It(t);if(null!==n)return n.factory;if(t instanceof Rt)throw new Error("Token "+qt(t)+" is missing an ngInjectableDef definition.");if(t instanceof Function){var r=t.length;if(r>0){var o=new Array(r).fill("?");throw new Error("Can't resolve all parameters for "+qt(t)+": ("+o.join(", ")+").")}return function(){return new t}}throw new Error("unreachable")}return e.factory}function Hr(t,e,n){return void 0===n&&(n=!1),{factory:t,value:e,multi:n?[]:void 0}}function Fr(t,e){t.forEach(function(t){return Array.isArray(t)?Fr(t,e):e(t)})}function Br(t){return t&&"object"==typeof t&&Er in t}function zr(t){return"function"==typeof t}var qr=function(){return function(){}}(),Zr=function(){return function(){}}();function Gr(t){var e=Error("No component factory found for "+qt(t)+". Did you add it to @NgModule.entryComponents?");return e[Wr]=t,e}var Qr,Wr="ngComponent",Kr=function(){function t(){}return t.prototype.resolveComponentFactory=function(t){throw Gr(t)},t}(),Yr=function(){function t(){}return t.NULL=new Kr,t}(),Jr=function(){function t(t,e,n){this._parent=e,this._ngModule=n,this._factories=new Map;for(var r=0;r<t.length;r++){var o=t[r];this._factories.set(o.componentType,o)}}return t.prototype.resolveComponentFactory=function(t){var e=this._factories.get(t);if(!e&&this._parent&&(e=this._parent.resolveComponentFactory(t)),!e)throw Gr(t);return new $r(e,this._ngModule)},t}(),$r=function(t){function e(e,n){var r=t.call(this)||this;return r.factory=e,r.ngModule=n,r.selector=e.selector,r.componentType=e.componentType,r.ngContentSelectors=e.ngContentSelectors,r.inputs=e.inputs,r.outputs=e.outputs,r}return o(e,t),e.prototype.create=function(t,e,n,r){return this.factory.create(t,e,n,r||this.ngModule)},e}(Zr),Xr=function(){return function(){}}(),to=function(){return function(){}}(),eo=function(t){function e(e){var n=t.call(this,e,null,-1)||this;return n._view=e,n}return o(e,t),e.prototype.detectChanges=function(){ir(this._view)},e.prototype.checkNoChanges=function(){!function(t){ln(!0);try{ir(t)}finally{ln(!1)}}(this._view)},Object.defineProperty(e.prototype,"context",{get:function(){return null},enumerable:!0,configurable:!0}),e}(function(){function t(t,e,n){this._context=e,this._componentIndex=n,this._appRef=null,this._viewContainerRef=null,this._tViewNode=null,this._lView=t}return Object.defineProperty(t.prototype,"rootNodes",{get:function(){return null==this._lView[Xt]?function t(e,n,r){for(var o=n.child;o;)r.push(Ee(o,e)),4===o.type&&t(e,o,r),o=o.next;return r}(this._lView,this._lView[te],[]):[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._context?this._context:this._lookUpContext()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){return 64==(64&this._lView[Yt])},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){var t=this._viewContainerRef.indexOf(this);t>-1&&this._viewContainerRef.detach(t),this._viewContainerRef=null}var e,n;Un(n=(e=this._lView)[ae])&&n.destroyNode&&function(t,n,r,o,i){for(var a=e[Kt].node,u=-1,s=e,l=a.child;l;){var c=null;if(3===l.type){Fn(2,r,null,Ee(l,s),i);var f=s[l.index];v=f,Array.isArray(v)&&v.length===de&&Fn(2,r,null,f[he],i)}else if(0===l.type){var p=s[l.index];Fn(2,r,null,p[he],i),p[pe].length&&(c=(s=p[pe][0])[Kt].node,i=p[he])}else if(1===l.type){var h=Pe(s),d=h[te].projection[l.projection];Hn[++u]=l,Hn[++u]=s,d&&(c=(s=h[Jt])[Kt].data[d.index])}else c=l.child;if(null===c)for(null===l.next&&2&l.flags&&(s=Hn[u--],l=Hn[u--]),c=l.next;!c;){if(null===(l=l.parent||s[Kt].node)||l===a)return null;0===l.type&&(i=(s=s[Jt])[l.index][he]),c=2===l.type&&s[$t]?(s=s[$t])[Kt].node:l.next}l=c}var v}(0,0,n),function(t){if(-1===t[Kt].childIndex)return qn(t);for(var e=Bn(t);e;){var n=null;if(e.length>=ce?e[Kt].childIndex>-1&&(n=Bn(e)):e[pe].length&&(n=e[pe][0]),null==n){for(;e&&!e[$t]&&e!==t;)qn(e),e=zn(e,t);qn(e||t),n=e&&e[$t]}e=n}}(e),e[Yt]|=64},t.prototype.onDestroy=function(t){var e,n;n=t,function(t){return t[ne]||(t[ne]=[])}(e=this._lView).push(n),e[Kt].firstTemplatePass&&function(t){return t[Kt].cleanup||(t[Kt].cleanup=[])}(e).push(e[ne].length-1,null)},t.prototype.markForCheck=function(){!function(t){for(;t&&!(128&t[Yt]);)t[Yt]|=8,t=t[Jt];var e,n,r;t[Yt]|=8,r=0===(e=t[re]).flags,e.flags|=1,r&&e.clean==Gn&&(e.clean=new Promise(function(t){return n=t}),e.scheduler(function(){if(1&e.flags&&(e.flags&=-2,rr(e)),2&e.flags){e.flags&=-3;var t=e.playerHandler;t&&t.flushPlayers()}e.clean=Gn,n(null)}))}(this._lView)},t.prototype.detach=function(){this._lView[Yt]&=-17},t.prototype.reattach=function(){this._lView[Yt]|=16},t.prototype.detectChanges=function(){or(this._lView,this.context)},t.prototype.checkNoChanges=function(){!function(t){ln(!0);try{!function(t){or(function(t){var e,n=Te(t);if(Array.isArray(n)){var r=function(t,e){var n=t[Kt].components;if(n)for(var r=0;r<n.length;r++){var o=n[r];if(Se(o,t)[re]===e)return o}else if(Se(ce,t)[re]===e)return ce;return-1}(n,t);(o=function(t,e,n){return{lView:t,nodeIndex:e,native:n,component:void 0,directives:void 0,localRefs:void 0}}(n,r,(e=Se(r,n))[Xt])).component=t,In(t,o),In(o.native,o)}else{var o;e=Se((o=n).nodeIndex,o.lView)}return e}(t),t)}(t)}finally{ln(!1)}}(this.context)},t.prototype.attachToViewContainerRef=function(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t},t.prototype.detachFromAppRef=function(){this._appRef=null},t.prototype.attachToAppRef=function(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t},t.prototype._lookUpContext=function(){return this._context=this._lView[Jt][this._componentIndex]},t}()),no=function(){function t(t){this.nativeElement=t}return t.__NG_ELEMENT_ID__=function(){return ro(t)},t}(),ro=pr,oo=function(){return function(){}}(),io=function(){return function(){}}(),ao=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({}),uo=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return so()},t}(),so=pr,lo=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}({}),co=function(){return function(){}}(),fo=new(function(){return function(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}())("7.2.0"),po=function(t){function e(e){var n=t.call(this)||this;return n.ngModule=e,n}return o(e,t),e.prototype.resolveComponentFactory=function(t){return new mo(t[_t]||null,this.ngModule)},e}(Yr);function ho(t){var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}var vo=new Rt("ROOT_CONTEXT_TOKEN",{providedIn:"root",factory:function(){return cr(Ze(go))}}),go=new Rt("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return Oe}}),yo={},mo=function(t){function e(e,n){var r=t.call(this)||this;return r.componentDef=e,r.ngModule=n,r.componentType=e.type,r.selector=e.selectors[0][0],r.ngContentSelectors=[],r}return o(e,t),Object.defineProperty(e.prototype,"inputs",{get:function(){return ho(this.componentDef.inputs)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputs",{get:function(){return ho(this.componentDef.outputs)},enumerable:!0,configurable:!0}),e.prototype.create=function(t,e,n,r){var i,a,u,s,l=void 0===n,c=(r=r||this.ngModule)?function(t,e){return{get:function(n,r){var o=t.get(n,yo);return o!==yo||r===yo?o:e.get(n,r)}}}(t,r.injector):t,f=c.get(io,Vn),p=c.get(co,null),h=l?(u=this.selector,Un(s=f.createRenderer(null,this.componentDef)||Xe()[ae])?s.createElement(u,Xn):null===Xn?s.createElement(u):s.createElementNS(Xn,u)):(i=n,a=f.createRenderer(null,null),"string"==typeof i?Un(a)?a.selectRootElement(i):a.querySelector(i):i),d=this.componentDef.onPush?136:132,v=l?cr():c.get(vo),g=f.createRenderer(h,this.componentDef);n&&h&&(Un(g)?g.setAttribute(h,"ng-version",fo.full):h.setAttribute("ng-version",fo.full));var y,m,b=Wn(null,er(-1,null,1,0,null,null,null),v,d,f,g,p,c),_=hn(b,null);try{f.begin&&f.begin();var w=sr(h,this.componentDef,b,f,g);if(m=b[Kt].data[0+ce],e)for(var C=0,x=b[Kt],E=m.projection=[],S=0;S<e.length;S++){for(var k=e[S],T=null,I=null,R=0;R<k.length;R++){x.firstTemplatePass&&(x.expandoStartIndex++,x.blueprint.splice(++C+ce,0,null),x.data.splice(C+ce,0,null),b.splice(C+ce,0,null));var A=Kn(C,3,k[R],null,null);I?I.next=A:T=A,I=A}E.push(T)}y=lr(w,this.componentDef,b,v,[fr]),function(t,e,n){var r=t[Kt],o=fn();t[14]?t[14][$t]=n:o&&(r.childIndex=e),t[14]=n}(b,ce,w),Qn(b)}finally{dn(_),f.end&&f.end()}var O=new bo(this.componentType,y,function(t,e,n){return Qr||(Qr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(no)),new Qr(Ee(e,n))}(0,m,b),b,m);return l&&(O.hostView._tViewNode.child=m),O},e}(Zr),bo=function(t){function e(e,n,r,o,i){var a,u=t.call(this)||this;return u.location=r,u._rootLView=o,u._tNode=i,u.destroyCbs=[],u.instance=n,u.hostView=u.changeDetectorRef=new eo(o),u.hostView._tViewNode=(-1,null==(a=o)[Kt].node&&(a[Kt].node=nr(a,2,-1,null,null,null)),a[te]=a[Kt].node),u.componentType=e,u}return o(e,t),Object.defineProperty(e.prototype,"injector",{get:function(){return new Tn(this._tNode,this._rootLView)},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this.destroyCbs.forEach(function(t){return t()}),this.destroyCbs=null,this.hostView.destroy()},e.prototype.onDestroy=function(t){this.destroyCbs.push(t)},e}(qr),_o=!0,wo=!1;function Co(){return wo=!0,_o}var xo=function(){function t(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertBodyElement=this.inertDocument.body,null==this.inertBodyElement){var e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e),this.inertBodyElement=this.inertDocument.createElement("body"),e.appendChild(this.inertBodyElement)}this.inertBodyElement.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(t){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return t.prototype.getInertBodyElement_XHR=function(t){t="<body><remove></remove>"+t+"</body>";try{t=encodeURI(t)}catch(r){return null}var e=new XMLHttpRequest;e.responseType="document",e.open("GET","data:text/html;charset=utf-8,"+t,!1),e.send(void 0);var n=e.response.body;return n.removeChild(n.firstChild),n},t.prototype.getInertBodyElement_DOMParser=function(t){t="<body><remove></remove>"+t+"</body>";try{var e=(new window.DOMParser).parseFromString(t,"text/html").body;return e.removeChild(e.firstChild),e}catch(n){return null}},t.prototype.getInertBodyElement_InertDocument=function(t){var e=this.inertDocument.createElement("template");return"content"in e?(e.innerHTML=t,e):(this.inertBodyElement.innerHTML=t,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},t.prototype.stripCustomNsAttrs=function(t){for(var e=t.attributes,n=e.length-1;0<n;n--){var r=e.item(n).name;"xmlns:ns1"!==r&&0!==r.indexOf("ns1:")||t.removeAttribute(r)}for(var o=t.firstChild;o;)o.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(o),o=o.nextSibling},t}(),Eo=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:\/?#]*(?:[\/?#]|$))/gi,So=/^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 ko(t){return(t=String(t)).match(Eo)||t.match(So)?t:(Co()&&console.warn("WARNING: sanitizing unsafe URL value "+t+" (see http://g.co/ng/security#xss)"),"unsafe:"+t)}function To(t){var e,n,r={};try{for(var o=s(t.split(",")),i=o.next();!i.done;i=o.next())r[i.value]=!0}catch(a){e={error:a}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return r}function Io(){for(var t,e,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o={};try{for(var i=s(n),a=i.next();!a.done;a=i.next()){var u=a.value;for(var l in u)u.hasOwnProperty(l)&&(o[l]=!0)}}catch(c){t={error:c}}finally{try{a&&!a.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}return o}var Ro,Ao=To("area,br,col,hr,img,wbr"),Oo=To("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Po=To("rp,rt"),No=Io(Po,Oo),Do=Io(Ao,Io(Oo,To("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Io(Po,To("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")),No),jo=To("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Mo=To("srcset"),Lo=Io(jo,Mo,To("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")),Uo=function(){function t(){this.sanitizedSomething=!1,this.buf=[]}return t.prototype.sanitizeChildren=function(t){for(var e=t.firstChild,n=!0;e;)if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);var r=this.checkClobberedElement(e,e.nextSibling);if(r){e=r;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")},t.prototype.startElement=function(t){var e,n=t.nodeName.toLowerCase();if(!Do.hasOwnProperty(n))return this.sanitizedSomething=!0,!1;this.buf.push("<"),this.buf.push(n);for(var r=t.attributes,o=0;o<r.length;o++){var i=r.item(o),a=i.name,u=a.toLowerCase();if(Lo.hasOwnProperty(u)){var s=i.value;jo[u]&&(s=ko(s)),Mo[u]&&(e=s,s=(e=String(e)).split(",").map(function(t){return ko(t.trim())}).join(", ")),this.buf.push(" ",a,'="',Fo(s),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0},t.prototype.endElement=function(t){var e=t.nodeName.toLowerCase();Do.hasOwnProperty(e)&&!Ao.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))},t.prototype.chars=function(t){this.buf.push(Fo(t))},t.prototype.checkClobberedElement=function(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+t.outerHTML);return e},t}(),Vo=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Ho=/([^\#-~ |!])/g;function Fo(t){return t.replace(/&/g,"&amp;").replace(Vo,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Ho,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Bo(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var zo={provide:Yr,useClass:po,deps:[Xr]},qo=function(t){function e(e,n){var r=t.call(this)||this;r._parent=n,r._bootstrapComponents=[],r.injector=r,r.destroyCbs=[];var o=function(t,n){var r=e[xt]||null;return r}();return r._bootstrapComponents=o.bootstrap,r._r3Injector=function(t,e,n){return void 0===e&&(e=null),void 0===n&&(n=null),e=e||Lr(),new Ur(t,n,e)}(e,n,[{provide:Xr,useValue:r},zo]),r.instance=r.get(e),r}return o(e,t),e.prototype.get=function(t,e,n){return void 0===e&&(e=mr.THROW_IF_NOT_FOUND),void 0===n&&(n=Fe.Default),t===mr||t===Xr||t===gr?this:this._r3Injector.get(t,e,n)},Object.defineProperty(e.prototype,"componentFactoryResolver",{get:function(){return this.get(Yr)},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this.destroyCbs.forEach(function(t){return t()}),this.destroyCbs=null},e.prototype.onDestroy=function(t){this.destroyCbs.push(t)},e}(Xr);!function(t){function e(e){var n=t.call(this)||this;return n.moduleType=e,n}o(e,t),e.prototype.create=function(t){return new qo(this.moduleType,t)}}(to);var Zo=function(t){function e(e){void 0===e&&(e=!1);var n=t.call(this)||this;return n.__isAsync=e,n}return o(e,t),e.prototype.emit=function(e){t.prototype.next.call(this,e)},e.prototype.subscribe=function(e,n,r){var o,i=function(t){return null},a=function(){return null};e&&"object"==typeof e?(o=this.__isAsync?function(t){setTimeout(function(){return e.next(t)})}:function(t){e.next(t)},e.error&&(i=this.__isAsync?function(t){setTimeout(function(){return e.error(t)})}:function(t){e.error(t)}),e.complete&&(a=this.__isAsync?function(){setTimeout(function(){return e.complete()})}:function(){e.complete()})):(o=this.__isAsync?function(t){setTimeout(function(){return e(t)})}:function(t){e(t)},n&&(i=this.__isAsync?function(t){setTimeout(function(){return n(t)})}:function(t){n(t)}),r&&(a=this.__isAsync?function(){setTimeout(function(){return r()})}:function(){r()}));var u=t.prototype.subscribe.call(this,o,i,a);return e instanceof _&&e.add(u),u},e}(V),Go=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return Qo(t,no)},t}(),Qo=pr,Wo=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),Ko=/^url\(([^)]+)\)$/,Yo=function(){return function(){}}();Function;var Jo=Dt("Input",function(t){return{bindingPropertyName:t}},void 0,function(t){return function(t,e){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=t.constructor;o.hasOwnProperty(Et)||function(t){var e=t.constructor,n=e.ngBaseDef,r=e.ngBaseDef={inputs:{},outputs:{},declaredInputs:{}};n&&(bt(r.inputs,n.inputs),bt(r.outputs,n.outputs),bt(r.declaredInputs,n.declaredInputs))}(t),(function(t){return t.inputs||{}}(o.ngBaseDef))[e]=n[0]}}()),$o=Dt("HostBinding",function(t){return{hostPropertyName:t}});String,String;var Xo="ngDebugContext",ti="ngOriginalError",ei="ngErrorLogger";function ni(t){return t[Xo]}function ri(t){return t[ti]}function oi(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];t.error.apply(t,c(e))}var ii=function(){function t(){this._console=console}return t.prototype.handleError=function(t){var e=this._findOriginalError(t),n=this._findContext(t),r=function(t){return t[ei]||oi}(t);r(this._console,"ERROR",t),e&&r(this._console,"ORIGINAL ERROR",e),n&&r(this._console,"ERROR CONTEXT",n)},t.prototype._findContext=function(t){return t?ni(t)?ni(t):this._findContext(ri(t)):null},t.prototype._findOriginalError=function(t){for(var e=ri(t);e&&ri(e);)e=ri(e);return e},t}();function ai(t){return!!t&&"function"==typeof t.then}function ui(t){return!!t&&"function"==typeof t.subscribe}var si=new Rt("Application Initializer"),li=function(){function t(t){var e=this;this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise(function(t,n){e.resolve=t,e.reject=n})}return t.prototype.runInitializers=function(){var t=this;if(!this.initialized){var e=[],n=function(){t.done=!0,t.resolve()};if(this.appInits)for(var r=0;r<this.appInits.length;r++){var o=this.appInits[r]();ai(o)&&e.push(o)}Promise.all(e).then(function(){n()}).catch(function(e){t.reject(e)}),0===e.length&&n(),this.initialized=!0}},t}(),ci=new Rt("AppId");function fi(){return""+pi()+pi()+pi()}function pi(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var hi=new Rt("Platform Initializer"),di=new Rt("Platform ID"),vi=new Rt("appBootstrapListener"),gi=function(){function t(){}return t.prototype.log=function(t){console.log(t)},t.prototype.warn=function(t){console.warn(t)},t}();function yi(){throw new Error("Runtime compiler is not loaded")}var mi,bi,_i=yi,wi=yi,Ci=yi,xi=yi,Ei=function(){function t(){this.compileModuleSync=_i,this.compileModuleAsync=wi,this.compileModuleAndAllComponentsSync=Ci,this.compileModuleAndAllComponentsAsync=xi}return t.prototype.clearCache=function(){},t.prototype.clearCacheFor=function(t){},t.prototype.getModuleId=function(t){},t}(),Si=function(){return function(){}}();function ki(){var t=Ut.wtf;return!(!t||!(mi=t.trace)||(bi=mi.events,0))}var Ti=ki();function Ii(t,e){return null}var Ri=Ti?function(t,e){return void 0===e&&(e=null),bi.createScope(t,e)}:function(t,e){return Ii},Ai=Ti?function(t,e){return mi.leaveScope(t,e),e}:function(t,e){return e},Oi=function(){function t(t){var e,n=t.enableLongStackTrace,r=void 0!==n&&n;if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Zo(!1),this.onMicrotaskEmpty=new Zo(!1),this.onStable=new Zo(!1),this.onError=new Zo(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),(e=this)._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(t,n,r,o,i,a){try{return ji(e),t.invokeTask(r,o,i,a)}finally{Mi(e)}},onInvoke:function(t,n,r,o,i,a,u){try{return ji(e),t.invoke(r,o,i,a,u)}finally{Mi(e)}},onHasTask:function(t,n,r,o){t.hasTask(r,o),n===r&&("microTask"==o.change?(e.hasPendingMicrotasks=o.microTask,Di(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:function(t,n,r,o){return t.handleError(r,o),e.runOutsideAngular(function(){return e.onError.emit(o)}),!1}})}return t.isInAngularZone=function(){return!0===Zone.current.get("isAngularZone")},t.assertInAngularZone=function(){if(!t.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")},t.assertNotInAngularZone=function(){if(t.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")},t.prototype.run=function(t,e,n){return this._inner.run(t,e,n)},t.prototype.runTask=function(t,e,n,r){var o=this._inner,i=o.scheduleEventTask("NgZoneEvent: "+r,t,Ni,Pi,Pi);try{return o.runTask(i,e,n)}finally{o.cancelTask(i)}},t.prototype.runGuarded=function(t,e,n){return this._inner.runGuarded(t,e,n)},t.prototype.runOutsideAngular=function(t){return this._outer.run(t)},t}();function Pi(){}var Ni={};function Di(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(function(){return t.onStable.emit(null)})}finally{t.isStable=!0}}}function ji(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Mi(t){t._nesting--,Di(t)}var Li,Ui=function(){function t(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Zo,this.onMicrotaskEmpty=new Zo,this.onStable=new Zo,this.onError=new Zo}return t.prototype.run=function(t){return t()},t.prototype.runGuarded=function(t){return t()},t.prototype.runOutsideAngular=function(t){return t()},t.prototype.runTask=function(t){return t()},t}(),Vi=function(){function t(t){var e=this;this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run(function(){e.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}return t.prototype._watchAngularEvents=function(){var t=this;this._ngZone.onUnstable.subscribe({next:function(){t._didWork=!0,t._isZoneStable=!1}}),this._ngZone.runOutsideAngular(function(){t._ngZone.onStable.subscribe({next:function(){Oi.assertNotInAngularZone(),Bt(function(){t._isZoneStable=!0,t._runCallbacksIfReady()})}})})},t.prototype.increasePendingRequestCount=function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount},t.prototype.decreasePendingRequestCount=function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount},t.prototype.isStable=function(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks},t.prototype._runCallbacksIfReady=function(){var t=this;if(this.isStable())Bt(function(){for(;0!==t._callbacks.length;){var e=t._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(t._didWork)}t._didWork=!1});else{var e=this.getPendingTasks();this._callbacks=this._callbacks.filter(function(t){return!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)}),this._didWork=!0}},t.prototype.getPendingTasks=function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(function(t){return{source:t.source,creationLocation:t.creationLocation,data:t.data}}):[]},t.prototype.addCallback=function(t,e,n){var r=this,o=-1;e&&e>0&&(o=setTimeout(function(){r._callbacks=r._callbacks.filter(function(t){return t.timeoutId!==o}),t(r._didWork,r.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:o,updateCb:n})},t.prototype.whenStable=function(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()},t.prototype.getPendingRequestCount=function(){return this._pendingCount},t.prototype.findProviders=function(t,e,n){return[]},t}(),Hi=function(){function t(){this._applications=new Map,Fi.addToWindow(this)}return t.prototype.registerApplication=function(t,e){this._applications.set(t,e)},t.prototype.unregisterApplication=function(t){this._applications.delete(t)},t.prototype.unregisterAllApplications=function(){this._applications.clear()},t.prototype.getTestability=function(t){return this._applications.get(t)||null},t.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},t.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},t.prototype.findTestabilityInTree=function(t,e){return void 0===e&&(e=!0),Fi.findTestabilityInTree(this,t,e)},a([u("design:paramtypes",[])],t)}(),Fi=new(function(){function t(){}return t.prototype.addToWindow=function(t){},t.prototype.findTestabilityInTree=function(t,e,n){return null},t}()),Bi=new Rt("AllowMultipleToken"),zi=function(){return function(t,e){this.name=t,this.token=e}}();function qi(t,e,n){void 0===n&&(n=[]);var r="Platform: "+e,o=new Rt(r);return function(e){void 0===e&&(e=[]);var i=Zi();if(!i||i.injector.get(Bi,!1))if(t)t(n.concat(e).concat({provide:o,useValue:!0}));else{var a=n.concat(e).concat({provide:o,useValue:!0});!function(t){if(Li&&!Li.destroyed&&!Li.injector.get(Bi,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Li=t.get(Gi);var e=t.get(hi,null);e&&e.forEach(function(t){return t()})}(mr.create({providers:a,name:r}))}return function(t){var e=Zi();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(o)}}function Zi(){return Li&&!Li.destroyed?Li:null}var Gi=function(){function t(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return t.prototype.bootstrapModuleFactory=function(t,e){var n,r=this,o="noop"===(n=e?e.ngZone:void 0)?new Ui:("zone.js"===n?void 0:n)||new Oi({enableLongStackTrace:Co()}),i=[{provide:Oi,useValue:o}];return o.run(function(){var e=mr.create({providers:i,parent:r.injector,name:t.moduleType.name}),n=t.create(e),a=n.injector.get(ii,null);if(!a)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy(function(){return Ki(r._modules,n)}),o.runOutsideAngular(function(){return o.onError.subscribe({next:function(t){a.handleError(t)}})}),function(t,e,o){try{var i=((a=n.injector.get(li)).runInitializers(),a.donePromise.then(function(){return r._moduleDoBootstrap(n),n}));return ai(i)?i.catch(function(n){throw e.runOutsideAngular(function(){return t.handleError(n)}),n}):i}catch(u){throw e.runOutsideAngular(function(){return t.handleError(u)}),u}var a}(a,o)})},t.prototype.bootstrapModule=function(t,e){var n=this;void 0===e&&(e=[]);var r=Qi({},e);return function(t,e,n){return t.get(Si).createCompiler([e]).compileModuleAsync(n)}(this.injector,r,t).then(function(t){return n.bootstrapModuleFactory(t,r)})},t.prototype._moduleDoBootstrap=function(t){var e=t.injector.get(Wi);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(function(t){return e.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+qt(t.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');t.instance.ngDoBootstrap(e)}this._modules.push(t)},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},Object.defineProperty(t.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(t){return t.destroy()}),this._destroyListeners.forEach(function(t){return t()}),this._destroyed=!0},Object.defineProperty(t.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),t}();function Qi(t,e){return Array.isArray(e)?e.reduce(Qi,t):i({},t,e)}var Wi=function(){function t(t,e,n,r,o,i){var a=this;this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=o,this._initStatus=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Co(),this._zone.onMicrotaskEmpty.subscribe({next:function(){a._zone.run(function(){a.tick()})}});var u=new N(function(t){a._stable=a._zone.isStable&&!a._zone.hasPendingMacrotasks&&!a._zone.hasPendingMicrotasks,a._zone.runOutsideAngular(function(){t.next(a._stable),t.complete()})}),s=new N(function(t){var e;a._zone.runOutsideAngular(function(){e=a._zone.onStable.subscribe(function(){Oi.assertNotInAngularZone(),Bt(function(){a._stable||a._zone.hasPendingMacrotasks||a._zone.hasPendingMicrotasks||(a._stable=!0,t.next(!0))})})});var n=a._zone.onUnstable.subscribe(function(){Oi.assertInAngularZone(),a._stable&&(a._stable=!1,a._zone.runOutsideAngular(function(){t.next(!1)}))});return function(){e.unsubscribe(),n.unsubscribe()}});this.isStable=ct(u,s.pipe(function(t){return ft()((e=yt,function(t){var n;n="function"==typeof e?e:function(){return e};var r=Object.create(t,vt);return r.source=t,r.subjectFactory=n,r})(t));var e}))}var e;return e=t,t.prototype.bootstrap=function(t,e){var n,r=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=t instanceof Zr?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);var o=n instanceof $r?null:this._injector.get(Xr),i=n.create(mr.NULL,[],e||n.selector,o);i.onDestroy(function(){r._unloadComponent(i)});var a=i.injector.get(Vi,null);return a&&i.injector.get(Hi).registerApplication(i.location.nativeElement,a),this._loadComponent(i),Co()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),i},t.prototype.tick=function(){var t=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=e._tickScope();try{this._runningTick=!0,this._views.forEach(function(t){return t.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(t){return t.checkNoChanges()})}catch(r){this._zone.runOutsideAngular(function(){return t._exceptionHandler.handleError(r)})}finally{this._runningTick=!1,Ai(n)}},t.prototype.attachView=function(t){var e=t;this._views.push(e),e.attachToAppRef(this)},t.prototype.detachView=function(t){var e=t;Ki(this._views,e),e.detachFromAppRef()},t.prototype._loadComponent=function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(vi,[]).concat(this._bootstrapListeners).forEach(function(e){return e(t)})},t.prototype._unloadComponent=function(t){this.detachView(t.hostView),Ki(this.components,t)},t.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(t){return t.destroy()})},Object.defineProperty(t.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),t._tickScope=Ri("ApplicationRef#tick()"),t}();function Ki(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var Yi=function(){function t(){this.dirty=!0,this._results=[],this.changes=new Zo,this.length=0}return t.prototype.map=function(t){return this._results.map(t)},t.prototype.filter=function(t){return this._results.filter(t)},t.prototype.find=function(t){return this._results.find(t)},t.prototype.reduce=function(t,e){return this._results.reduce(t,e)},t.prototype.forEach=function(t){this._results.forEach(t)},t.prototype.some=function(t){return this._results.some(t)},t.prototype.toArray=function(){return this._results.slice()},t.prototype[Ft()]=function(){return this._results[Ft()]()},t.prototype.toString=function(){return this._results.toString()},t.prototype.reset=function(t){this._results=function t(e){return e.reduce(function(e,n){var r=Array.isArray(n)?t(n):n;return e.concat(r)},[])}(t),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},t.prototype.notifyOnChanges=function(){this.changes.emit(this)},t.prototype.setDirty=function(){this.dirty=!0},t.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},t}(),Ji=function(){return function(){}}(),$i={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Xi=function(){function t(t,e){this._compiler=t,this._config=e||$i}return t.prototype.load=function(t){return this._compiler instanceof Ei?this.loadFactory(t):this.loadAndCompile(t)},t.prototype.loadAndCompile=function(t){var e=this,r=l(t.split("#"),2),o=r[0],i=r[1];return void 0===i&&(i="default"),n("crnd")(o).then(function(t){return t[i]}).then(function(t){return ta(t,o,i)}).then(function(t){return e._compiler.compileModuleAsync(t)})},t.prototype.loadFactory=function(t){var e=l(t.split("#"),2),r=e[0],o=e[1],i="NgFactory";return void 0===o&&(o="default",i=""),n("crnd")(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then(function(t){return t[o+i]}).then(function(t){return ta(t,r,o)})},t}();function ta(t,e,n){if(!t)throw new Error("Cannot find '"+n+"' in '"+e+"'");return t}var ea,na=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return ra(t,no)},t}(),ra=pr,oa=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return ia()},t}(),ia=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]},aa=(o(function(){return null!==ea&&ea.apply(this,arguments)||this},ea=oa),function(){return function(t,e){this.name=t,this.callback=e}}()),ua=function(){function t(t,e,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=t,e&&e instanceof sa&&e.addChild(this)}return Object.defineProperty(t.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),t}(),sa=function(t){function e(e,n,r){var o=t.call(this,e,n,r)||this;return o.properties={},o.attributes={},o.classes={},o.styles={},o.childNodes=[],o.nativeElement=e,o}return o(e,t),e.prototype.addChild=function(t){t&&(this.childNodes.push(t),t.parent=this)},e.prototype.removeChild=function(t){var e=this.childNodes.indexOf(t);-1!==e&&(t.parent=null,this.childNodes.splice(e,1))},e.prototype.insertChildrenAfter=function(t,e){var n,r=this,o=this.childNodes.indexOf(t);-1!==o&&((n=this.childNodes).splice.apply(n,c([o+1,0],e)),e.forEach(function(e){e.parent&&e.parent.removeChild(e),t.parent=r}))},e.prototype.insertBefore=function(t,e){var n=this.childNodes.indexOf(t);-1===n?this.addChild(e):(e.parent&&e.parent.removeChild(e),e.parent=this,this.childNodes.splice(n,0,e))},e.prototype.query=function(t){return this.queryAll(t)[0]||null},e.prototype.queryAll=function(t){var e=[];return function t(e,n,r){e.childNodes.forEach(function(e){e instanceof sa&&(n(e)&&r.push(e),t(e,n,r))})}(this,t,e),e},e.prototype.queryAllNodes=function(t){var e=[];return function t(e,n,r){e instanceof sa&&e.childNodes.forEach(function(e){n(e)&&r.push(e),e instanceof sa&&t(e,n,r)})}(this,t,e),e},Object.defineProperty(e.prototype,"children",{get:function(){return this.childNodes.filter(function(t){return t instanceof e})},enumerable:!0,configurable:!0}),e.prototype.triggerEventHandler=function(t,e){this.listeners.forEach(function(n){n.name==t&&n.callback(e)})},e}(ua),la=new Map,ca=function(t){return la.get(t)||null};function fa(t){la.set(t.nativeNode,t)}var pa=function(){function t(){}return t.prototype.supports=function(t){return Dn(t)},t.prototype.create=function(t){return new da(t)},t}(),ha=function(t,e){return e},da=function(){function t(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||ha}return t.prototype.forEachItem=function(t){var e;for(e=this._itHead;null!==e;e=e._next)t(e)},t.prototype.forEachOperation=function(t){for(var e=this._itHead,n=this._removalsHead,r=0,o=null;e||n;){var i=!n||e&&e.currentIndex<ma(n,r,o)?e:n,a=ma(i,r,o),u=i.currentIndex;if(i===n)r--,n=n._nextRemoved;else if(e=e._next,null==i.previousIndex)r++;else{o||(o=[]);var s=a-r,l=u-r;if(s!=l){for(var c=0;c<s;c++){var f=c<o.length?o[c]:o[c]=0,p=f+c;l<=p&&p<s&&(o[c]=f+1)}o[i.previousIndex]=l-s}}a!==u&&t(i,a,u)}},t.prototype.forEachPreviousItem=function(t){var e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)},t.prototype.forEachAddedItem=function(t){var e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)},t.prototype.forEachMovedItem=function(t){var e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)},t.prototype.forEachRemovedItem=function(t){var e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)},t.prototype.forEachIdentityChange=function(t){var e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)},t.prototype.diff=function(t){if(null==t&&(t=[]),!Dn(t))throw new Error("Error trying to diff '"+qt(t)+"'. Only arrays and iterables are allowed");return this.check(t)?this:null},t.prototype.onDestroy=function(){},t.prototype.check=function(t){var e=this;this._reset();var n,r,o,i=this._itHead,a=!1;if(Array.isArray(t)){this.length=t.length;for(var u=0;u<this.length;u++)o=this._trackByFn(u,r=t[u]),null!==i&&zt(i.trackById,o)?(a&&(i=this._verifyReinsertion(i,r,o,u)),zt(i.item,r)||this._addIdentityChange(i,r)):(i=this._mismatch(i,r,o,u),a=!0),i=i._next}else n=0,function(t,e){if(Array.isArray(t))for(var n=0;n<t.length;n++)e(t[n]);else for(var r=t[Ft()](),o=void 0;!(o=r.next()).done;)e(o.value)}(t,function(t){o=e._trackByFn(n,t),null!==i&&zt(i.trackById,o)?(a&&(i=e._verifyReinsertion(i,t,o,n)),zt(i.item,t)||e._addIdentityChange(i,t)):(i=e._mismatch(i,t,o,n),a=!0),i=i._next,n++}),this.length=n;return this._truncate(i),this.collection=t,this.isDirty},Object.defineProperty(t.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead},enumerable:!0,configurable:!0}),t.prototype._reset=function(){if(this.isDirty){var t=void 0,e=void 0;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=e)t.previousIndex=t.currentIndex,e=t._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}},t.prototype._mismatch=function(t,e,n,r){var o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(zt(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,o,r)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(zt(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,o,r)):t=this._addAfter(new va(e,n),o,r),t},t.prototype._verifyReinsertion=function(t,e,n,r){var o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==o?t=this._reinsertAfter(o,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t},t.prototype._truncate=function(t){for(;null!==t;){var e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)},t.prototype._reinsertAfter=function(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);var r=t._prevRemoved,o=t._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(t,e,n),this._addToMoves(t,n),t},t.prototype._moveAfter=function(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t},t.prototype._addAfter=function(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t},t.prototype._insertAfter=function(t,e,n){var r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new ya),this._linkedRecords.put(t),t.currentIndex=n,t},t.prototype._remove=function(t){return this._addToRemovals(this._unlink(t))},t.prototype._unlink=function(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);var e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t},t.prototype._addToMoves=function(t,e){return t.previousIndex===e?t:(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t,t)},t.prototype._addToRemovals=function(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new ya),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t},t.prototype._addIdentityChange=function(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t},t}(),va=function(){return function(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}(),ga=function(){function t(){this._head=null,this._tail=null}return t.prototype.add=function(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)},t.prototype.get=function(t,e){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&zt(n.trackById,t))return n;return null},t.prototype.remove=function(t){var e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head},t}(),ya=function(){function t(){this.map=new Map}return t.prototype.put=function(t){var e=t.trackById,n=this.map.get(e);n||(n=new ga,this.map.set(e,n)),n.add(t)},t.prototype.get=function(t,e){var n=this.map.get(t);return n?n.get(t,e):null},t.prototype.remove=function(t){var e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t},Object.defineProperty(t.prototype,"isEmpty",{get:function(){return 0===this.map.size},enumerable:!0,configurable:!0}),t.prototype.clear=function(){this.map.clear()},t}();function ma(t,e,n){var r=t.previousIndex;if(null===r)return r;var o=0;return n&&r<n.length&&(o=n[r]),r+e+o}var ba=function(){function t(){}return t.prototype.supports=function(t){return t instanceof Map||jn(t)},t.prototype.create=function(){return new _a},t}(),_a=function(){function t(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}return Object.defineProperty(t.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead},enumerable:!0,configurable:!0}),t.prototype.forEachItem=function(t){var e;for(e=this._mapHead;null!==e;e=e._next)t(e)},t.prototype.forEachPreviousItem=function(t){var e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)},t.prototype.forEachChangedItem=function(t){var e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)},t.prototype.forEachAddedItem=function(t){var e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)},t.prototype.forEachRemovedItem=function(t){var e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)},t.prototype.diff=function(t){if(t){if(!(t instanceof Map||jn(t)))throw new Error("Error trying to diff '"+qt(t)+"'. Only maps and objects are allowed")}else t=new Map;return this.check(t)?this:null},t.prototype.onDestroy=function(){},t.prototype.check=function(t){var e=this;this._reset();var n=this._mapHead;if(this._appendAfter=null,this._forEach(t,function(t,r){if(n&&n.key===r)e._maybeAddToChanges(n,t),e._appendAfter=n,n=n._next;else{var o=e._getOrCreateRecordForKey(r,t);n=e._insertBeforeOrAppend(n,o)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(var r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty},t.prototype._insertBeforeOrAppend=function(t,e){if(t){var n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null},t.prototype._getOrCreateRecordForKey=function(t,e){if(this._records.has(t)){var n=this._records.get(t);this._maybeAddToChanges(n,e);var r=n._prev,o=n._next;return r&&(r._next=o),o&&(o._prev=r),n._next=null,n._prev=null,n}var i=new wa(t);return this._records.set(t,i),i.currentValue=e,this._addToAdditions(i),i},t.prototype._reset=function(){if(this.isDirty){var t=void 0;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}},t.prototype._maybeAddToChanges=function(t,e){zt(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))},t.prototype._addToAdditions=function(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)},t.prototype._addToChanges=function(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)},t.prototype._forEach=function(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(function(n){return e(t[n],n)})},t}(),wa=function(){return function(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}(),Ca=function(){function t(t){this.factories=t}return t.create=function(e,n){if(null!=n){var r=n.factories.slice();e=e.concat(r)}return new t(e)},t.extend=function(e){return{provide:t,useFactory:function(n){if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return t.create(e,n)},deps:[[t,new He,new Ue]]}},t.prototype.find=function(t){var e,n=this.factories.find(function(e){return e.supports(t)});if(null!=n)return n;throw new Error("Cannot find a differ supporting object '"+t+"' of type '"+((e=t).name||typeof e)+"'")},t.ngInjectableDef=kt({providedIn:"root",factory:function(){return new t([new pa])}}),t}(),xa=function(){function t(t){this.factories=t}return t.create=function(e,n){if(n){var r=n.factories.slice();e=e.concat(r)}return new t(e)},t.extend=function(e){return{provide:t,useFactory:function(n){if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return t.create(e,n)},deps:[[t,new He,new Ue]]}},t.prototype.find=function(t){var e=this.factories.find(function(e){return e.supports(t)});if(e)return e;throw new Error("Cannot find a differ supporting object '"+t+"'")},t.ngInjectableDef=kt({providedIn:"root",factory:function(){return new t([new ba])}}),t}(),Ea=[new ba],Sa=new Ca([new pa]),ka=new xa(Ea),Ta=qi(null,"core",[{provide:di,useValue:"unknown"},{provide:Gi,deps:[mr]},{provide:Hi,deps:[]},{provide:gi,deps:[]}]),Ia=new Rt("LocaleId");function Ra(){return Sa}function Aa(){return ka}function Oa(t){return t||"en-US"}var Pa=function(){return function(t){}}();function Na(t,e,n){var r=t.state,o=1792&r;return o===e?(t.state=-1793&r|n,t.initIndex=-1,!0):o===n}function Da(t,e,n){return(1792&t.state)===e&&t.initIndex<=n&&(t.initIndex=n+1,!0)}function ja(t,e){return t.nodes[e]}function Ma(t,e){return t.nodes[e]}function La(t,e){return t.nodes[e]}function Ua(t,e){return t.nodes[e]}function Va(t,e){return t.nodes[e]}var Ha={setCurrentNode:void 0,createRootView:void 0,createEmbeddedView:void 0,createComponentView:void 0,createNgModuleRef:void 0,overrideProvider:void 0,overrideComponentView:void 0,clearOverrides:void 0,checkAndUpdateView:void 0,checkNoChangesView:void 0,destroyView:void 0,resolveDep:void 0,createDebugContext:void 0,handleEvent:void 0,updateDirectives:void 0,updateRenderer:void 0,dirtyParentQueries:void 0};function Fa(t,e,n,r){var o="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+e+"'. Current value: '"+n+"'.";return r&&(o+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),function(t,e){var n=new Error(t);return Ba(n,e),n}(o,t)}function Ba(t,e){t[Xo]=e,t[ei]=e.logError.bind(e)}function za(t){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+t)}var qa=function(){},Za=new Map;function Ga(t){var e=Za.get(t);return e||(e=qt(t)+"_"+Za.size,Za.set(t,e)),e}var Qa="$$undefined",Wa="$$empty";function Ka(t){return{id:Qa,styles:t.styles,encapsulation:t.encapsulation,data:t.data}}var Ya=0;function Ja(t,e,n,r){return!(!(2&t.state)&&zt(t.oldValues[e.bindingIndex+n],r))}function $a(t,e,n,r){return!!Ja(t,e,n,r)&&(t.oldValues[e.bindingIndex+n]=r,!0)}function Xa(t,e,n,r){var o=t.oldValues[e.bindingIndex+n];if(1&t.state||!On(o,r)){var i=e.bindings[n].name;throw Fa(Ha.createDebugContext(t,e.nodeIndex),i+": "+o,i+": "+r,0!=(1&t.state))}}function tu(t){for(var e=t;e;)2&e.def.flags&&(e.state|=8),e=e.viewContainerParent||e.parent}function eu(t,e){for(var n=t;n&&n!==e;)n.state|=64,n=n.viewContainerParent||n.parent}function nu(t,e,n,r){try{return tu(33554432&t.def.nodes[e].flags?Ma(t,e).componentView:t),Ha.handleEvent(t,e,n,r)}catch(o){t.root.errorHandler.handleError(o)}}function ru(t){return t.parent?Ma(t.parent,t.parentNodeDef.nodeIndex):null}function ou(t){return t.parent?t.parentNodeDef.parent:null}function iu(t,e){switch(201347067&e.flags){case 1:return Ma(t,e.nodeIndex).renderElement;case 2:return ja(t,e.nodeIndex).renderText}}function au(t){return!!t.parent&&!!(32768&t.parentNodeDef.flags)}function uu(t){return!(!t.parent||32768&t.parentNodeDef.flags)}function su(t){return 1<<t%32}function lu(t){var e={},n=0,r={};return t&&t.forEach(function(t){var o=l(t,2),i=o[0],a=o[1];"number"==typeof i?(e[i]=a,n|=su(i)):r[i]=a}),{matchedQueries:e,references:r,matchedQueryIds:n}}function cu(t,e){return t.map(function(t){var n,r,o;return Array.isArray(t)?(o=(n=l(t,2))[0],r=n[1]):(o=0,r=t),r&&("function"==typeof r||"object"==typeof r)&&e&&Object.defineProperty(r,hr,{value:e,configurable:!0}),{flags:o,token:r,tokenKey:Ga(r)}})}function fu(t,e,n){var r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&r.element.componentRendererType.encapsulation===Wt.Native?Ma(t,n.renderParent.nodeIndex).renderElement:void 0:e}var pu=new WeakMap;function hu(t){var e=pu.get(t);return e||((e=t(function(){return qa})).factory=t,pu.set(t,e)),e}function du(t,e,n,r,o){3===e&&(n=t.renderer.parentNode(iu(t,t.def.lastRenderRootNode))),vu(t,e,0,t.def.nodes.length-1,n,r,o)}function vu(t,e,n,r,o,i,a){for(var u=n;u<=r;u++){var s=t.def.nodes[u];11&s.flags&&yu(t,s,e,o,i,a),u+=s.childCount}}function gu(t,e,n,r,o,i){for(var a=t;a&&!au(a);)a=a.parent;for(var u=a.parent,s=ou(a),l=s.nodeIndex+s.childCount,c=s.nodeIndex+1;c<=l;c++){var f=u.def.nodes[c];f.ngContentIndex===e&&yu(u,f,n,r,o,i),c+=f.childCount}if(!u.parent){var p=t.root.projectableNodes[e];if(p)for(c=0;c<p.length;c++)mu(t,p[c],n,r,o,i)}}function yu(t,e,n,r,o,i){if(8&e.flags)gu(t,e.ngContent.index,n,r,o,i);else{var a=iu(t,e);if(3===n&&33554432&e.flags&&48&e.bindingFlags?(16&e.bindingFlags&&mu(t,a,n,r,o,i),32&e.bindingFlags&&mu(Ma(t,e.nodeIndex).componentView,a,n,r,o,i)):mu(t,a,n,r,o,i),16777216&e.flags)for(var u=Ma(t,e.nodeIndex).viewContainer._embeddedViews,s=0;s<u.length;s++)du(u[s],n,r,o,i);1&e.flags&&!e.element.name&&vu(t,n,e.nodeIndex+1,e.nodeIndex+e.childCount,r,o,i)}}function mu(t,e,n,r,o,i){var a=t.renderer;switch(n){case 1:a.appendChild(r,e);break;case 2:a.insertBefore(r,e,o);break;case 3:a.removeChild(r,e);break;case 0:i.push(e)}}var bu=/^:([^:]+):(.+)$/;function _u(t){if(":"===t[0]){var e=t.match(bu);return[e[1],e[2]]}return["",t]}function wu(t){for(var e=0,n=0;n<t.length;n++)e|=t[n].flags;return e}function Cu(t,e,n,r,o,i){t|=1;var a=lu(e);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:t,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:a.matchedQueries,matchedQueryIds:a.matchedQueryIds,references:a.references,ngContentIndex:n,childCount:r,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:i?hu(i):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:o||qa},provider:null,text:null,query:null,ngContent:null}}function xu(t,e,n,r,o,i,a,u,s,c,f,p){var h;void 0===a&&(a=[]),c||(c=qa);var d=lu(n),v=d.matchedQueries,g=d.references,y=d.matchedQueryIds,m=null,b=null;i&&(m=(h=l(_u(i),2))[0],b=h[1]),u=u||[];for(var _=new Array(u.length),w=0;w<u.length;w++){var C=l(u[w],3),x=C[0],E=C[2],S=l(_u(C[1]),2),k=S[0],T=S[1],I=void 0,R=void 0;switch(15&x){case 4:R=E;break;case 1:case 8:I=E}_[w]={flags:x,ns:k,name:T,nonMinifiedName:T,securityContext:I,suffix:R}}s=s||[];var A=new Array(s.length);for(w=0;w<s.length;w++){var O=l(s[w],2);A[w]={type:0,target:O[0],eventName:O[1],propName:null}}var P=(a=a||[]).map(function(t){var e=l(t,2),n=e[1],r=l(_u(e[0]),2);return[r[0],r[1],n]});return p=function(t){if(t&&t.id===Qa){var e=null!=t.encapsulation&&t.encapsulation!==Wt.None||t.styles.length||Object.keys(t.data).length;t.id=e?"c"+Ya++:Wa}return t&&t.id===Wa&&(t=null),t||null}(p),f&&(e|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:v,matchedQueryIds:y,references:g,ngContentIndex:r,childCount:o,bindings:_,bindingFlags:wu(_),outputs:A,element:{ns:m,name:b,attrs:P,template:null,componentProvider:null,componentView:f||null,componentRendererType:p,publicProviders:null,allProviders:null,handleEvent:c||qa},provider:null,text:null,query:null,ngContent:null}}function Eu(t,e,n){var r,o=n.element,i=t.root.selectorOrNode,a=t.renderer;if(t.parent||!i){r=o.name?a.createElement(o.name,o.ns):a.createComment("");var u=fu(t,e,n);u&&a.appendChild(u,r)}else r=a.selectRootElement(i,!!o.componentRendererType&&o.componentRendererType.encapsulation===Wt.ShadowDom);if(o.attrs)for(var s=0;s<o.attrs.length;s++){var c=l(o.attrs[s],3);a.setAttribute(r,c[1],c[2],c[0])}return r}function Su(t,e,n,r){for(var o=0;o<n.outputs.length;o++){var i=n.outputs[o],a=ku(t,n.nodeIndex,(f=i.eventName,(c=i.target)?c+":"+f:f)),u=i.target,s=t;"component"===i.target&&(u=null,s=e);var l=s.renderer.listen(u||r,i.eventName,a);t.disposables[n.outputIndex+o]=l}var c,f}function ku(t,e,n){return function(r){return nu(t,e,n,r)}}function Tu(t,e,n,r){if(!$a(t,e,n,r))return!1;var o=e.bindings[n],i=Ma(t,e.nodeIndex),a=i.renderElement,u=o.name;switch(15&o.flags){case 1:!function(t,e,n,r,o,i){var a=e.securityContext,u=a?t.root.sanitizer.sanitize(a,i):i;u=null!=u?u.toString():null;var s=t.renderer;null!=i?s.setAttribute(n,o,u,r):s.removeAttribute(n,o,r)}(t,o,a,o.ns,u,r);break;case 2:!function(t,e,n,r){var o=t.renderer;r?o.addClass(e,n):o.removeClass(e,n)}(t,a,u,r);break;case 4:!function(t,e,n,r,o){var i=t.root.sanitizer.sanitize(lo.STYLE,o);if(null!=i){i=i.toString();var a=e.suffix;null!=a&&(i+=a)}else i=null;var u=t.renderer;null!=i?u.setStyle(n,r,i):u.removeStyle(n,r)}(t,o,a,u,r);break;case 8:!function(t,e,n,r,o){var i=e.securityContext,a=i?t.root.sanitizer.sanitize(i,o):o;t.renderer.setProperty(n,r,a)}(33554432&e.flags&&32&o.flags?i.componentView:t,o,a,u,r)}return!0}var Iu=new Object,Ru=Ga(mr),Au=Ga(gr),Ou=Ga(Xr);function Pu(t,e,n,r){return n=Qt(n),{index:-1,deps:cu(r,qt(e)),flags:t,token:e,value:n}}function Nu(t,e,n){void 0===n&&(n=mr.THROW_IF_NOT_FOUND);var r,o,i=ze(t);try{if(8&e.flags)return e.token;if(2&e.flags&&(n=null),1&e.flags)return t._parent.get(e.token,n);var a=e.tokenKey;switch(a){case Ru:case Au:case Ou:return t}var u,s=t._def.providersByKey[a];if(s){var l=t._providers[s.index];return void 0===l&&(l=t._providers[s.index]=Du(t,s)),l===Iu?void 0:l}if((u=Tt(e.token))&&(r=t,null!=(o=u).providedIn&&(function(t,e){return t._def.modules.indexOf(o.providedIn)>-1}(r)||"root"===o.providedIn&&r._def.isRoot))){var c=t._providers.length;return t._def.providersByKey[e.tokenKey]={flags:5120,value:u.factory,deps:[],index:c,token:e.token},t._providers[c]=Iu,t._providers[c]=Du(t,t._def.providersByKey[e.tokenKey])}return 4&e.flags?n:t._parent.get(e.token,n)}finally{ze(i)}}function Du(t,e){var n;switch(201347067&e.flags){case 512:n=function(t,e,n){var r=n.length;switch(r){case 0:return new e;case 1:return new e(Nu(t,n[0]));case 2:return new e(Nu(t,n[0]),Nu(t,n[1]));case 3:return new e(Nu(t,n[0]),Nu(t,n[1]),Nu(t,n[2]));default:for(var o=new Array(r),i=0;i<r;i++)o[i]=Nu(t,n[i]);return new(e.bind.apply(e,c([void 0],o)))}}(t,e.value,e.deps);break;case 1024:n=function(t,e,n){var r=n.length;switch(r){case 0:return e();case 1:return e(Nu(t,n[0]));case 2:return e(Nu(t,n[0]),Nu(t,n[1]));case 3:return e(Nu(t,n[0]),Nu(t,n[1]),Nu(t,n[2]));default:for(var o=Array(r),i=0;i<r;i++)o[i]=Nu(t,n[i]);return e.apply(void 0,c(o))}}(t,e.value,e.deps);break;case 2048:n=Nu(t,e.deps[0]);break;case 256:n=e.value}return n===Iu||null==n||"object"!=typeof n||131072&e.flags||"function"!=typeof n.ngOnDestroy||(e.flags|=131072),void 0===n?Iu:n}function ju(t,e){var n=t.viewContainer._embeddedViews;if((null==e||e>=n.length)&&(e=n.length-1),e<0)return null;var r=n[e];return r.viewContainerParent=null,Vu(n,e),Ha.dirtyParentQueries(r),Lu(r),r}function Mu(t,e,n){var r=e?iu(e,e.def.lastRenderRootNode):t.renderElement,o=n.renderer.parentNode(r),i=n.renderer.nextSibling(r);du(n,2,o,i,void 0)}function Lu(t){du(t,3,null,null,void 0)}function Uu(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Vu(t,e){e>=t.length-1?t.pop():t.splice(e,1)}var Hu=new Object;function Fu(t,e,n,r,o,i){return new Bu(t,e,n,r,o,i)}var Bu=function(t){function e(e,n,r,o,i,a){var u=t.call(this)||this;return u.selector=e,u.componentType=n,u._inputs=o,u._outputs=i,u.ngContentSelectors=a,u.viewDefFactory=r,u}return o(e,t),Object.defineProperty(e.prototype,"inputs",{get:function(){var t=[],e=this._inputs;for(var n in e)t.push({propName:n,templateName:e[n]});return t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputs",{get:function(){var t=[];for(var e in this._outputs)t.push({propName:e,templateName:this._outputs[e]});return t},enumerable:!0,configurable:!0}),e.prototype.create=function(t,e,n,r){if(!r)throw new Error("ngModule should be provided");var o=hu(this.viewDefFactory),i=o.nodes[0].element.componentProvider.nodeIndex,a=Ha.createRootView(t,e||[],n,o,r,Hu),u=La(a,i).instance;return n&&a.renderer.setAttribute(Ma(a,0).renderElement,"ng-version",fo.full),new zu(a,new Qu(a),u)},e}(Zr),zu=function(t){function e(e,n,r){var o=t.call(this)||this;return o._view=e,o._viewRef=n,o._component=r,o._elDef=o._view.def.nodes[0],o.hostView=n,o.changeDetectorRef=n,o.instance=r,o}return o(e,t),Object.defineProperty(e.prototype,"location",{get:function(){return new no(Ma(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new Ju(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this._viewRef.destroy()},e.prototype.onDestroy=function(t){this._viewRef.onDestroy(t)},e}(qr);function qu(t,e,n){return new Zu(t,e,n)}var Zu=function(){function t(t,e,n){this._view=t,this._elDef=e,this._data=n,this._embeddedViews=[]}return Object.defineProperty(t.prototype,"element",{get:function(){return new no(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new Ju(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentInjector",{get:function(){for(var t=this._view,e=this._elDef.parent;!e&&t;)e=ou(t),t=t.parent;return t?new Ju(t,e):new Ju(this._view,null)},enumerable:!0,configurable:!0}),t.prototype.clear=function(){for(var t=this._embeddedViews.length-1;t>=0;t--){var e=ju(this._data,t);Ha.destroyView(e)}},t.prototype.get=function(t){var e=this._embeddedViews[t];if(e){var n=new Qu(e);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(t.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),t.prototype.createEmbeddedView=function(t,e,n){var r=t.createEmbeddedView(e||{});return this.insert(r,n),r},t.prototype.createComponent=function(t,e,n,r,o){var i=n||this.parentInjector;o||t instanceof $r||(o=i.get(Xr));var a=t.create(i,r,void 0,o);return this.insert(a.hostView,e),a},t.prototype.insert=function(t,e){if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n,r,o,i,a=t;return i=(n=this._data).viewContainer._embeddedViews,null==(r=e)&&(r=i.length),(o=a._view).viewContainerParent=this._view,Uu(i,r,o),function(t,e){var n=ru(e);if(n&&n!==t&&!(16&e.state)){e.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(e),function(t,n){if(!(4&n.flags)){e.parent.def.nodeFlags|=4,n.flags|=4;for(var r=n.parent;r;)r.childFlags|=4,r=r.parent}}(0,e.parentNodeDef)}}(n,o),Ha.dirtyParentQueries(o),Mu(n,r>0?i[r-1]:null,o),a.attachToViewContainerRef(this),t},t.prototype.move=function(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n,r,o,i,a,u=this._embeddedViews.indexOf(t._view);return o=e,a=(i=(n=this._data).viewContainer._embeddedViews)[r=u],Vu(i,r),null==o&&(o=i.length),Uu(i,o,a),Ha.dirtyParentQueries(a),Lu(a),Mu(n,o>0?i[o-1]:null,a),t},t.prototype.indexOf=function(t){return this._embeddedViews.indexOf(t._view)},t.prototype.remove=function(t){var e=ju(this._data,t);e&&Ha.destroyView(e)},t.prototype.detach=function(t){var e=ju(this._data,t);return e?new Qu(e):null},t}();function Gu(t){return new Qu(t)}var Qu=function(){function t(t){this._view=t,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(t.prototype,"rootNodes",{get:function(){return du(this._view,0,void 0,void 0,t=[]),t;var t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),t.prototype.markForCheck=function(){tu(this._view)},t.prototype.detach=function(){this._view.state&=-5},t.prototype.detectChanges=function(){var t=this._view.root.rendererFactory;t.begin&&t.begin();try{Ha.checkAndUpdateView(this._view)}finally{t.end&&t.end()}},t.prototype.checkNoChanges=function(){Ha.checkNoChangesView(this._view)},t.prototype.reattach=function(){this._view.state|=4},t.prototype.onDestroy=function(t){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(t)},t.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Ha.destroyView(this._view)},t.prototype.detachFromAppRef=function(){this._appRef=null,Lu(this._view),Ha.dirtyParentQueries(this._view)},t.prototype.attachToAppRef=function(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t},t.prototype.attachToViewContainerRef=function(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t},t}();function Wu(t,e){return new Ku(t,e)}var Ku=function(t){function e(e,n){var r=t.call(this)||this;return r._parentView=e,r._def=n,r}return o(e,t),e.prototype.createEmbeddedView=function(t){return new Qu(Ha.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))},Object.defineProperty(e.prototype,"elementRef",{get:function(){return new no(Ma(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),e}(Go);function Yu(t,e){return new Ju(t,e)}var Ju=function(){function t(t,e){this.view=t,this.elDef=e}return t.prototype.get=function(t,e){return void 0===e&&(e=mr.THROW_IF_NOT_FOUND),Ha.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:t,tokenKey:Ga(t)},e)},t}();function $u(t,e){var n=t.def.nodes[e];if(1&n.flags){var r=Ma(t,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return ja(t,n.nodeIndex).renderText;if(20240&n.flags)return La(t,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+e)}function Xu(t){return new ts(t.renderer)}var ts=function(){function t(t){this.delegate=t}return t.prototype.selectRootElement=function(t){return this.delegate.selectRootElement(t)},t.prototype.createElement=function(t,e){var n=l(_u(e),2),r=this.delegate.createElement(n[1],n[0]);return t&&this.delegate.appendChild(t,r),r},t.prototype.createViewRoot=function(t){return t},t.prototype.createTemplateAnchor=function(t){var e=this.delegate.createComment("");return t&&this.delegate.appendChild(t,e),e},t.prototype.createText=function(t,e){var n=this.delegate.createText(e);return t&&this.delegate.appendChild(t,n),n},t.prototype.projectNodes=function(t,e){for(var n=0;n<e.length;n++)this.delegate.appendChild(t,e[n])},t.prototype.attachViewAfter=function(t,e){for(var n=this.delegate.parentNode(t),r=this.delegate.nextSibling(t),o=0;o<e.length;o++)this.delegate.insertBefore(n,e[o],r)},t.prototype.detachView=function(t){for(var e=0;e<t.length;e++){var n=t[e],r=this.delegate.parentNode(n);this.delegate.removeChild(r,n)}},t.prototype.destroyView=function(t,e){for(var n=0;n<e.length;n++)this.delegate.destroyNode(e[n])},t.prototype.listen=function(t,e,n){return this.delegate.listen(t,e,n)},t.prototype.listenGlobal=function(t,e,n){return this.delegate.listen(t,e,n)},t.prototype.setElementProperty=function(t,e,n){this.delegate.setProperty(t,e,n)},t.prototype.setElementAttribute=function(t,e,n){var r=l(_u(e),2),o=r[0],i=r[1];null!=n?this.delegate.setAttribute(t,i,n,o):this.delegate.removeAttribute(t,i,o)},t.prototype.setBindingDebugInfo=function(t,e,n){},t.prototype.setElementClass=function(t,e,n){n?this.delegate.addClass(t,e):this.delegate.removeClass(t,e)},t.prototype.setElementStyle=function(t,e,n){null!=n?this.delegate.setStyle(t,e,n):this.delegate.removeStyle(t,e)},t.prototype.invokeElementMethod=function(t,e,n){t[e].apply(t,n)},t.prototype.setText=function(t,e){this.delegate.setValue(t,e)},t.prototype.animate=function(){throw new Error("Renderer.animate is no longer supported!")},t}();function es(t,e,n,r){return new ns(t,e,n,r)}var ns=function(){function t(t,e,n,r){this._moduleType=t,this._parent=e,this._bootstrapComponents=n,this._def=r,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(t){for(var e=t._def,n=t._providers=new Array(e.providers.length),r=0;r<e.providers.length;r++){var o=e.providers[r];4096&o.flags||void 0===n[r]&&(n[r]=Du(t,o))}}(this)}return t.prototype.get=function(t,e,n){void 0===e&&(e=mr.THROW_IF_NOT_FOUND),void 0===n&&(n=Fe.Default);var r=0;return n&Fe.SkipSelf?r|=1:n&Fe.Self&&(r|=4),Nu(this,{token:t,tokenKey:Ga(t),flags:r},e)},Object.defineProperty(t.prototype,"instance",{get:function(){return this.get(this._moduleType)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentFactoryResolver",{get:function(){return this.get(Yr)},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The ng module "+qt(this.instance.constructor)+" has already been destroyed.");this._destroyed=!0,function(t,e){for(var n=t._def,r=new Set,o=0;o<n.providers.length;o++)if(131072&n.providers[o].flags){var i=t._providers[o];if(i&&i!==Iu){var a=i.ngOnDestroy;"function"!=typeof a||r.has(i)||(a.apply(i),r.add(i))}}}(this),this._destroyListeners.forEach(function(t){return t()})},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},t}(),rs=Ga(oo),os=Ga(uo),is=Ga(no),as=Ga(na),us=Ga(Go),ss=Ga(oa),ls=Ga(mr),cs=Ga(gr);function fs(t,e,n,r,o,i,a,u){var s=[];if(a)for(var c in a){var f=l(a[c],2);s[f[0]]={flags:8,name:c,nonMinifiedName:f[1],ns:null,securityContext:null,suffix:null}}var p=[];if(u)for(var h in u)p.push({type:1,propName:h,target:null,eventName:u[h]});return function(t,e,n,r,o,i,a,u,s){var l=lu(n),c=l.matchedQueries,f=l.references,p=l.matchedQueryIds;s||(s=[]),u||(u=[]),i=Qt(i);var h=cu(a,qt(o));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:c,matchedQueryIds:p,references:f,ngContentIndex:-1,childCount:r,bindings:u,bindingFlags:wu(u),outputs:s,element:null,provider:{token:o,value:i,deps:h},text:null,query:null,ngContent:null}}(t,e|=16384,n,r,o,o,i,s,p)}function ps(t,e){return gs(t,e)}function hs(t,e){for(var n=t;n.parent&&!au(n);)n=n.parent;return ys(n.parent,ou(n),!0,e.provider.value,e.provider.deps)}function ds(t,e){var n=ys(t,e.parent,(32768&e.flags)>0,e.provider.value,e.provider.deps);if(e.outputs.length)for(var r=0;r<e.outputs.length;r++){var o=e.outputs[r],i=n[o.propName];if(!ui(i))throw new Error("@Output "+o.propName+" not initialized in '"+n.constructor.name+"'.");var a=i.subscribe(vs(t,e.parent.nodeIndex,o.eventName));t.disposables[e.outputIndex+r]=a.unsubscribe.bind(a)}return n}function vs(t,e,n){return function(r){return nu(t,e,n,r)}}function gs(t,e){var n=(8192&e.flags)>0,r=e.provider;switch(201347067&e.flags){case 512:return ys(t,e.parent,n,r.value,r.deps);case 1024:return function(t,e,n,r,o){var i=o.length;switch(i){case 0:return r();case 1:return r(bs(t,e,n,o[0]));case 2:return r(bs(t,e,n,o[0]),bs(t,e,n,o[1]));case 3:return r(bs(t,e,n,o[0]),bs(t,e,n,o[1]),bs(t,e,n,o[2]));default:for(var a=Array(i),u=0;u<i;u++)a[u]=bs(t,e,n,o[u]);return r.apply(void 0,c(a))}}(t,e.parent,n,r.value,r.deps);case 2048:return bs(t,e.parent,n,r.deps[0]);case 256:return r.value}}function ys(t,e,n,r,o){var i=o.length;switch(i){case 0:return new r;case 1:return new r(bs(t,e,n,o[0]));case 2:return new r(bs(t,e,n,o[0]),bs(t,e,n,o[1]));case 3:return new r(bs(t,e,n,o[0]),bs(t,e,n,o[1]),bs(t,e,n,o[2]));default:for(var a=new Array(i),u=0;u<i;u++)a[u]=bs(t,e,n,o[u]);return new(r.bind.apply(r,c([void 0],a)))}}var ms={};function bs(t,e,n,r,o){if(void 0===o&&(o=mr.THROW_IF_NOT_FOUND),8&r.flags)return r.token;var i=t;2&r.flags&&(o=null);var a=r.tokenKey;a===ss&&(n=!(!e||!e.element.componentView)),e&&1&r.flags&&(n=!1,e=e.parent);for(var u=t;u;){if(e)switch(a){case rs:return Xu(_s(u,e,n));case os:return _s(u,e,n).renderer;case is:return new no(Ma(u,e.nodeIndex).renderElement);case as:return Ma(u,e.nodeIndex).viewContainer;case us:if(e.element.template)return Ma(u,e.nodeIndex).template;break;case ss:return Gu(_s(u,e,n));case ls:case cs:return Yu(u,e);default:var s=(n?e.element.allProviders:e.element.publicProviders)[a];if(s){var l=La(u,s.nodeIndex);return l||(l={instance:gs(u,s)},u.nodes[s.nodeIndex]=l),l.instance}}n=au(u),e=ou(u),u=u.parent,4&r.flags&&(u=null)}var c=i.root.injector.get(r.token,ms);return c!==ms||o===ms?c:i.root.ngModule.injector.get(r.token,o)}function _s(t,e,n){var r;if(n)r=Ma(t,e.nodeIndex).componentView;else for(r=t;r.parent&&!au(r);)r=r.parent;return r}function ws(t,e,n,r,o,i){if(32768&n.flags){var a=Ma(t,n.parent.nodeIndex).componentView;2&a.def.flags&&(a.state|=8)}if(e.instance[n.bindings[r].name]=o,524288&n.flags){i=i||{};var u=Pn.unwrap(t.oldValues[n.bindingIndex+r]);i[n.bindings[r].nonMinifiedName]=new Nn(u,o,0!=(2&t.state))}return t.oldValues[n.bindingIndex+r]=o,i}function Cs(t,e){if(t.def.nodeFlags&e)for(var n=t.def.nodes,r=0,o=0;o<n.length;o++){var i=n[o],a=i.parent;for(!a&&i.flags&e&&Es(t,o,i.flags&e,r++),0==(i.childFlags&e)&&(o+=i.childCount);a&&1&a.flags&&o===a.nodeIndex+a.childCount;)a.directChildFlags&e&&(r=xs(t,a,e,r)),a=a.parent}}function xs(t,e,n,r){for(var o=e.nodeIndex+1;o<=e.nodeIndex+e.childCount;o++){var i=t.def.nodes[o];i.flags&n&&Es(t,o,i.flags&n,r++),o+=i.childCount}return r}function Es(t,e,n,r){var o=La(t,e);if(o){var i=o.instance;i&&(Ha.setCurrentNode(t,e),1048576&n&&Da(t,512,r)&&i.ngAfterContentInit(),2097152&n&&i.ngAfterContentChecked(),4194304&n&&Da(t,768,r)&&i.ngAfterViewInit(),8388608&n&&i.ngAfterViewChecked(),131072&n&&i.ngOnDestroy())}}function Ss(t,e,n){var r=[];for(var o in n)r.push({propName:o,bindingType:n[o]});return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,ngContentIndex:-1,matchedQueries:{},matchedQueryIds:0,references:{},childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:{id:e,filterId:su(e),bindings:r},ngContent:null}}function ks(t){for(var e=t.def.nodeMatchedQueries;t.parent&&uu(t);){var n=t.parentNodeDef;t=t.parent;for(var r=n.nodeIndex+n.childCount,o=0;o<=r;o++)67108864&(i=t.def.nodes[o]).flags&&536870912&i.flags&&(i.query.filterId&e)===i.query.filterId&&Va(t,o).setDirty(),!(1&i.flags&&o+i.childCount<n.nodeIndex)&&67108864&i.childFlags&&536870912&i.childFlags||(o+=i.childCount)}if(134217728&t.def.nodeFlags)for(o=0;o<t.def.nodes.length;o++){var i;134217728&(i=t.def.nodes[o]).flags&&536870912&i.flags&&Va(t,o).setDirty(),o+=i.childCount}}function Ts(t,e){var n=Va(t,e.nodeIndex);if(n.dirty){var r,o=void 0;if(67108864&e.flags){var i=e.parent.parent;o=Is(t,i.nodeIndex,i.nodeIndex+i.childCount,e.query,[]),r=La(t,e.parent.nodeIndex).instance}else 134217728&e.flags&&(o=Is(t,0,t.def.nodes.length-1,e.query,[]),r=t.component);n.reset(o);for(var a=e.query.bindings,u=!1,s=0;s<a.length;s++){var l=a[s],c=void 0;switch(l.bindingType){case 0:c=n.first;break;case 1:c=n,u=!0}r[l.propName]=c}u&&n.notifyOnChanges()}}function Is(t,e,n,r,o){for(var i=e;i<=n;i++){var a=t.def.nodes[i],u=a.matchedQueries[r.id];if(null!=u&&o.push(Rs(t,a,u)),1&a.flags&&a.element.template&&(a.element.template.nodeMatchedQueries&r.filterId)===r.filterId){var s=Ma(t,i);if((a.childMatchedQueries&r.filterId)===r.filterId&&(Is(t,i+1,i+a.childCount,r,o),i+=a.childCount),16777216&a.flags)for(var l=s.viewContainer._embeddedViews,c=0;c<l.length;c++){var f=l[c],p=ru(f);p&&p===s&&Is(f,0,f.def.nodes.length-1,r,o)}var h=s.template._projectedViews;if(h)for(c=0;c<h.length;c++){var d=h[c];Is(d,0,d.def.nodes.length-1,r,o)}}(a.childMatchedQueries&r.filterId)!==r.filterId&&(i+=a.childCount)}return o}function Rs(t,e,n){if(null!=n)switch(n){case 1:return Ma(t,e.nodeIndex).renderElement;case 0:return new no(Ma(t,e.nodeIndex).renderElement);case 2:return Ma(t,e.nodeIndex).template;case 3:return Ma(t,e.nodeIndex).viewContainer;case 4:return La(t,e.nodeIndex).instance}}function As(t,e){return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:8,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:null,ngContent:{index:e}}}function Os(t,e,n){var r=fu(t,e,n);r&&gu(t,n.ngContent.index,1,r,null,void 0)}function Ps(t,e,n){for(var r=new Array(n.length-1),o=1;o<n.length;o++)r[o-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[o]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:e,childCount:0,bindings:r,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}}function Ns(t,e,n){var r,o=t.renderer;r=o.createText(n.text.prefix);var i=fu(t,e,n);return i&&o.appendChild(i,r),{renderText:r}}function Ds(t,e){return(null!=t?t.toString():"")+e.suffix}function js(t,e,n,r){for(var o=0,i=0,a=0,u=0,s=0,l=null,c=null,f=!1,p=!1,h=null,d=0;d<e.length;d++){var v=e[d];if(v.nodeIndex=d,v.parent=l,v.bindingIndex=o,v.outputIndex=i,v.renderParent=c,a|=v.flags,s|=v.matchedQueryIds,v.element){var g=v.element;g.publicProviders=l?l.element.publicProviders:Object.create(null),g.allProviders=g.publicProviders,f=!1,p=!1,v.element.template&&(s|=v.element.template.nodeMatchedQueries)}if(Ls(l,v,e.length),o+=v.bindings.length,i+=v.outputs.length,!c&&3&v.flags&&(h=v),20224&v.flags){f||(f=!0,l.element.publicProviders=Object.create(l.element.publicProviders),l.element.allProviders=l.element.publicProviders);var y=0!=(32768&v.flags);0==(8192&v.flags)||y?l.element.publicProviders[Ga(v.provider.token)]=v:(p||(p=!0,l.element.allProviders=Object.create(l.element.publicProviders)),l.element.allProviders[Ga(v.provider.token)]=v),y&&(l.element.componentProvider=v)}if(l?(l.childFlags|=v.flags,l.directChildFlags|=v.flags,l.childMatchedQueries|=v.matchedQueryIds,v.element&&v.element.template&&(l.childMatchedQueries|=v.element.template.nodeMatchedQueries)):u|=v.flags,v.childCount>0)l=v,Ms(v)||(c=v);else for(;l&&d===l.nodeIndex+l.childCount;){var m=l.parent;m&&(m.childFlags|=l.childFlags,m.childMatchedQueries|=l.childMatchedQueries),c=(l=m)&&Ms(l)?l.renderParent:l}}return{factory:null,nodeFlags:a,rootNodeFlags:u,nodeMatchedQueries:s,flags:t,nodes:e,updateDirectives:n||qa,updateRenderer:r||qa,handleEvent:function(t,n,r,o){return e[n].element.handleEvent(t,r,o)},bindingCount:o,outputCount:i,lastRenderRootNode:h}}function Ms(t){return 0!=(1&t.flags)&&null===t.element.name}function Ls(t,e,n){var r=e.element&&e.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+e.nodeIndex+"!")}if(20224&e.flags&&0==(1&(t?t.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+e.nodeIndex+"!");if(e.query){if(67108864&e.flags&&(!t||0==(16384&t.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+e.nodeIndex+"!");if(134217728&e.flags&&t)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+e.nodeIndex+"!")}if(e.childCount){var o=t?t.nodeIndex+t.childCount:n-1;if(e.nodeIndex<=o&&e.nodeIndex+e.childCount>o)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+e.nodeIndex+"!")}}function Us(t,e,n,r){var o=Fs(t.root,t.renderer,t,e,n);return Bs(o,t.component,r),zs(o),o}function Vs(t,e,n){var r=Fs(t,t.renderer,null,null,e);return Bs(r,n,n),zs(r),r}function Hs(t,e,n,r){var o,i=e.element.componentRendererType;return o=i?t.root.rendererFactory.createRenderer(r,i):t.root.renderer,Fs(t.root,o,t,e.element.componentProvider,n)}function Fs(t,e,n,r,o){var i=new Array(o.nodes.length),a=o.outputCount?new Array(o.outputCount):null;return{def:o,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:i,state:13,root:t,renderer:e,oldValues:new Array(o.bindingCount),disposables:a,initIndex:-1}}function Bs(t,e,n){t.component=e,t.context=n}function zs(t){var e;au(t)&&(e=Ma(t.parent,t.parentNodeDef.parent.nodeIndex).renderElement);for(var n=t.def,r=t.nodes,o=0;o<n.nodes.length;o++){var i=n.nodes[o];Ha.setCurrentNode(t,o);var a=void 0;switch(201347067&i.flags){case 1:var u=Eu(t,e,i),s=void 0;if(33554432&i.flags){var l=hu(i.element.componentView);s=Ha.createComponentView(t,i,l,u)}Su(t,s,i,u),a={renderElement:u,componentView:s,viewContainer:null,template:i.element.template?Wu(t,i):void 0},16777216&i.flags&&(a.viewContainer=qu(t,i,a));break;case 2:a=Ns(t,e,i);break;case 512:case 1024:case 2048:case 256:(a=r[o])||4096&i.flags||(a={instance:ps(t,i)});break;case 16:a={instance:hs(t,i)};break;case 16384:(a=r[o])||(a={instance:ds(t,i)}),32768&i.flags&&Bs(Ma(t,i.parent.nodeIndex).componentView,a.instance,a.instance);break;case 32:case 64:case 128:a={value:void 0};break;case 67108864:case 134217728:a=new Yi;break;case 8:Os(t,e,i),a=void 0}r[o]=a}$s(t,Js.CreateViewNodes),nl(t,201326592,268435456,0)}function qs(t){Qs(t),Ha.updateDirectives(t,1),Xs(t,Js.CheckNoChanges),Ha.updateRenderer(t,1),$s(t,Js.CheckNoChanges),t.state&=-97}function Zs(t){1&t.state?(t.state&=-2,t.state|=2):t.state&=-3,Na(t,0,256),Qs(t),Ha.updateDirectives(t,0),Xs(t,Js.CheckAndUpdate),nl(t,67108864,536870912,0);var e=Na(t,256,512);Cs(t,2097152|(e?1048576:0)),Ha.updateRenderer(t,0),$s(t,Js.CheckAndUpdate),nl(t,134217728,536870912,0),Cs(t,8388608|((e=Na(t,512,768))?4194304:0)),2&t.def.flags&&(t.state&=-9),t.state&=-97,Na(t,768,1024)}function Gs(t,e,n,r,o,i,a,u,s,l,f,p,h){return 0===n?function(t,e,n,r,o,i,a,u,s,l,c,f){switch(201347067&e.flags){case 1:return function(t,e,n,r,o,i,a,u,s,l,c,f){var p=e.bindings.length,h=!1;return p>0&&Tu(t,e,0,n)&&(h=!0),p>1&&Tu(t,e,1,r)&&(h=!0),p>2&&Tu(t,e,2,o)&&(h=!0),p>3&&Tu(t,e,3,i)&&(h=!0),p>4&&Tu(t,e,4,a)&&(h=!0),p>5&&Tu(t,e,5,u)&&(h=!0),p>6&&Tu(t,e,6,s)&&(h=!0),p>7&&Tu(t,e,7,l)&&(h=!0),p>8&&Tu(t,e,8,c)&&(h=!0),p>9&&Tu(t,e,9,f)&&(h=!0),h}(t,e,n,r,o,i,a,u,s,l,c,f);case 2:return function(t,e,n,r,o,i,a,u,s,l,c,f){var p=!1,h=e.bindings,d=h.length;if(d>0&&$a(t,e,0,n)&&(p=!0),d>1&&$a(t,e,1,r)&&(p=!0),d>2&&$a(t,e,2,o)&&(p=!0),d>3&&$a(t,e,3,i)&&(p=!0),d>4&&$a(t,e,4,a)&&(p=!0),d>5&&$a(t,e,5,u)&&(p=!0),d>6&&$a(t,e,6,s)&&(p=!0),d>7&&$a(t,e,7,l)&&(p=!0),d>8&&$a(t,e,8,c)&&(p=!0),d>9&&$a(t,e,9,f)&&(p=!0),p){var v=e.text.prefix;d>0&&(v+=Ds(n,h[0])),d>1&&(v+=Ds(r,h[1])),d>2&&(v+=Ds(o,h[2])),d>3&&(v+=Ds(i,h[3])),d>4&&(v+=Ds(a,h[4])),d>5&&(v+=Ds(u,h[5])),d>6&&(v+=Ds(s,h[6])),d>7&&(v+=Ds(l,h[7])),d>8&&(v+=Ds(c,h[8])),d>9&&(v+=Ds(f,h[9]));var g=ja(t,e.nodeIndex).renderText;t.renderer.setValue(g,v)}return p}(t,e,n,r,o,i,a,u,s,l,c,f);case 16384:return function(t,e,n,r,o,i,a,u,s,l,c,f){var p=La(t,e.nodeIndex),h=p.instance,d=!1,v=void 0,g=e.bindings.length;return g>0&&Ja(t,e,0,n)&&(d=!0,v=ws(t,p,e,0,n,v)),g>1&&Ja(t,e,1,r)&&(d=!0,v=ws(t,p,e,1,r,v)),g>2&&Ja(t,e,2,o)&&(d=!0,v=ws(t,p,e,2,o,v)),g>3&&Ja(t,e,3,i)&&(d=!0,v=ws(t,p,e,3,i,v)),g>4&&Ja(t,e,4,a)&&(d=!0,v=ws(t,p,e,4,a,v)),g>5&&Ja(t,e,5,u)&&(d=!0,v=ws(t,p,e,5,u,v)),g>6&&Ja(t,e,6,s)&&(d=!0,v=ws(t,p,e,6,s,v)),g>7&&Ja(t,e,7,l)&&(d=!0,v=ws(t,p,e,7,l,v)),g>8&&Ja(t,e,8,c)&&(d=!0,v=ws(t,p,e,8,c,v)),g>9&&Ja(t,e,9,f)&&(d=!0,v=ws(t,p,e,9,f,v)),v&&h.ngOnChanges(v),65536&e.flags&&Da(t,256,e.nodeIndex)&&h.ngOnInit(),262144&e.flags&&h.ngDoCheck(),d}(t,e,n,r,o,i,a,u,s,l,c,f);case 32:case 64:case 128:return function(t,e,n,r,o,i,a,u,s,l,c,f){var p=e.bindings,h=!1,d=p.length;if(d>0&&$a(t,e,0,n)&&(h=!0),d>1&&$a(t,e,1,r)&&(h=!0),d>2&&$a(t,e,2,o)&&(h=!0),d>3&&$a(t,e,3,i)&&(h=!0),d>4&&$a(t,e,4,a)&&(h=!0),d>5&&$a(t,e,5,u)&&(h=!0),d>6&&$a(t,e,6,s)&&(h=!0),d>7&&$a(t,e,7,l)&&(h=!0),d>8&&$a(t,e,8,c)&&(h=!0),d>9&&$a(t,e,9,f)&&(h=!0),h){var v=Ua(t,e.nodeIndex),g=void 0;switch(201347067&e.flags){case 32:g=new Array(p.length),d>0&&(g[0]=n),d>1&&(g[1]=r),d>2&&(g[2]=o),d>3&&(g[3]=i),d>4&&(g[4]=a),d>5&&(g[5]=u),d>6&&(g[6]=s),d>7&&(g[7]=l),d>8&&(g[8]=c),d>9&&(g[9]=f);break;case 64:g={},d>0&&(g[p[0].name]=n),d>1&&(g[p[1].name]=r),d>2&&(g[p[2].name]=o),d>3&&(g[p[3].name]=i),d>4&&(g[p[4].name]=a),d>5&&(g[p[5].name]=u),d>6&&(g[p[6].name]=s),d>7&&(g[p[7].name]=l),d>8&&(g[p[8].name]=c),d>9&&(g[p[9].name]=f);break;case 128:var y=n;switch(d){case 1:g=y.transform(n);break;case 2:g=y.transform(r);break;case 3:g=y.transform(r,o);break;case 4:g=y.transform(r,o,i);break;case 5:g=y.transform(r,o,i,a);break;case 6:g=y.transform(r,o,i,a,u);break;case 7:g=y.transform(r,o,i,a,u,s);break;case 8:g=y.transform(r,o,i,a,u,s,l);break;case 9:g=y.transform(r,o,i,a,u,s,l,c);break;case 10:g=y.transform(r,o,i,a,u,s,l,c,f)}}v.value=g}return h}(t,e,n,r,o,i,a,u,s,l,c,f);default:throw"unreachable"}}(t,e,r,o,i,a,u,s,l,f,p,h):function(t,e,n){switch(201347067&e.flags){case 1:return function(t,e,n){for(var r=!1,o=0;o<n.length;o++)Tu(t,e,o,n[o])&&(r=!0);return r}(t,e,n);case 2:return function(t,e,n){for(var r=e.bindings,o=!1,i=0;i<n.length;i++)$a(t,e,i,n[i])&&(o=!0);if(o){var a="";for(i=0;i<n.length;i++)a+=Ds(n[i],r[i]);a=e.text.prefix+a;var u=ja(t,e.nodeIndex).renderText;t.renderer.setValue(u,a)}return o}(t,e,n);case 16384:return function(t,e,n){for(var r=La(t,e.nodeIndex),o=r.instance,i=!1,a=void 0,u=0;u<n.length;u++)Ja(t,e,u,n[u])&&(i=!0,a=ws(t,r,e,u,n[u],a));return a&&o.ngOnChanges(a),65536&e.flags&&Da(t,256,e.nodeIndex)&&o.ngOnInit(),262144&e.flags&&o.ngDoCheck(),i}(t,e,n);case 32:case 64:case 128:return function(t,e,n){for(var r=e.bindings,o=!1,i=0;i<n.length;i++)$a(t,e,i,n[i])&&(o=!0);if(o){var a=Ua(t,e.nodeIndex),u=void 0;switch(201347067&e.flags){case 32:u=n;break;case 64:for(u={},i=0;i<n.length;i++)u[r[i].name]=n[i];break;case 128:var s=n[0],l=n.slice(1);u=s.transform.apply(s,c(l))}a.value=u}return o}(t,e,n);default:throw"unreachable"}}(t,e,r)}function Qs(t){var e=t.def;if(4&e.nodeFlags)for(var n=0;n<e.nodes.length;n++){var r=e.nodes[n];if(4&r.flags){var o=Ma(t,n).template._projectedViews;if(o)for(var i=0;i<o.length;i++){var a=o[i];a.state|=32,eu(a,t)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function Ws(t,e,n,r,o,i,a,u,s,l,c,f,p){return 0===n?function(t,e,n,r,o,i,a,u,s,l,c,f){var p=e.bindings.length;p>0&&Xa(t,e,0,n),p>1&&Xa(t,e,1,r),p>2&&Xa(t,e,2,o),p>3&&Xa(t,e,3,i),p>4&&Xa(t,e,4,a),p>5&&Xa(t,e,5,u),p>6&&Xa(t,e,6,s),p>7&&Xa(t,e,7,l),p>8&&Xa(t,e,8,c),p>9&&Xa(t,e,9,f)}(t,e,r,o,i,a,u,s,l,c,f,p):function(t,e,n){for(var r=0;r<n.length;r++)Xa(t,e,r,n[r])}(t,e,r),!1}function Ks(t,e){if(Va(t,e.nodeIndex).dirty)throw Fa(Ha.createDebugContext(t,e.nodeIndex),"Query "+e.query.id+" not dirty","Query "+e.query.id+" dirty",0!=(1&t.state))}function Ys(t){if(!(128&t.state)){if(Xs(t,Js.Destroy),$s(t,Js.Destroy),Cs(t,131072),t.disposables)for(var e=0;e<t.disposables.length;e++)t.disposables[e]();!function(t){if(16&t.state){var e=ru(t);if(e){var n=e.template._projectedViews;n&&(Vu(n,n.indexOf(t)),Ha.dirtyParentQueries(t))}}}(t),t.renderer.destroyNode&&function(t){for(var e=t.def.nodes.length,n=0;n<e;n++){var r=t.def.nodes[n];1&r.flags?t.renderer.destroyNode(Ma(t,n).renderElement):2&r.flags?t.renderer.destroyNode(ja(t,n).renderText):(67108864&r.flags||134217728&r.flags)&&Va(t,n).destroy()}}(t),au(t)&&t.renderer.destroy(),t.state|=128}}var Js=function(t){return t[t.CreateViewNodes=0]="CreateViewNodes",t[t.CheckNoChanges=1]="CheckNoChanges",t[t.CheckNoChangesProjectedViews=2]="CheckNoChangesProjectedViews",t[t.CheckAndUpdate=3]="CheckAndUpdate",t[t.CheckAndUpdateProjectedViews=4]="CheckAndUpdateProjectedViews",t[t.Destroy=5]="Destroy",t}({});function $s(t,e){var n=t.def;if(33554432&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var o=n.nodes[r];33554432&o.flags?tl(Ma(t,r).componentView,e):0==(33554432&o.childFlags)&&(r+=o.childCount)}}function Xs(t,e){var n=t.def;if(16777216&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var o=n.nodes[r];if(16777216&o.flags)for(var i=Ma(t,r).viewContainer._embeddedViews,a=0;a<i.length;a++)tl(i[a],e);else 0==(16777216&o.childFlags)&&(r+=o.childCount)}}function tl(t,e){var n=t.state;switch(e){case Js.CheckNoChanges:0==(128&n)&&(12==(12&n)?qs(t):64&n&&el(t,Js.CheckNoChangesProjectedViews));break;case Js.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?qs(t):64&n&&el(t,e));break;case Js.CheckAndUpdate:0==(128&n)&&(12==(12&n)?Zs(t):64&n&&el(t,Js.CheckAndUpdateProjectedViews));break;case Js.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?Zs(t):64&n&&el(t,e));break;case Js.Destroy:Ys(t);break;case Js.CreateViewNodes:zs(t)}}function el(t,e){Xs(t,e),$s(t,e)}function nl(t,e,n,r){if(t.def.nodeFlags&e&&t.def.nodeFlags&n)for(var o=t.def.nodes.length,i=0;i<o;i++){var a=t.def.nodes[i];if(a.flags&e&&a.flags&n)switch(Ha.setCurrentNode(t,a.nodeIndex),r){case 0:Ts(t,a);break;case 1:Ks(t,a)}a.childFlags&e&&a.childFlags&n||(i+=a.childCount)}}var rl=!1;function ol(t,e,n,r,o,i){var a=o.injector.get(io);return Vs(al(t,o,a,e,n),r,i)}function il(t,e,n,r,o,i){var a=o.injector.get(io),u=al(t,o,new Ul(a),e,n),s=gl(r);return Ml(Sl.create,Vs,null,[u,s,i])}function al(t,e,n,r,o){var i=e.injector.get(co),a=e.injector.get(ii),u=n.createRenderer(null,null);return{ngModule:e,injector:t,projectableNodes:r,selectorOrNode:o,sanitizer:i,rendererFactory:n,renderer:u,errorHandler:a}}function ul(t,e,n,r){var o=gl(n);return Ml(Sl.create,Us,null,[t,e,o,r])}function sl(t,e,n,r){return n=pl.get(e.element.componentProvider.provider.token)||gl(n),Ml(Sl.create,Hs,null,[t,e,n,r])}function ll(t,e,n,r){return es(t,e,n,function(t){var e=function(t){var e=!1,n=!1;return 0===cl.size?{hasOverrides:e,hasDeprecatedOverrides:n}:(t.providers.forEach(function(t){var r=cl.get(t.token);3840&t.flags&&r&&(e=!0,n=n||r.deprecatedBehavior)}),t.modules.forEach(function(t){fl.forEach(function(r,o){Tt(o).providedIn===t&&(e=!0,n=n||r.deprecatedBehavior)})}),{hasOverrides:e,hasDeprecatedOverrides:n})}(t),n=e.hasDeprecatedOverrides;return e.hasOverrides?(function(t){for(var e=0;e<t.providers.length;e++){var r=t.providers[e];n&&(r.flags|=4096);var o=cl.get(r.token);o&&(r.flags=-3841&r.flags|o.flags,r.deps=cu(o.deps),r.value=o.value)}if(fl.size>0){var i=new Set(t.modules);fl.forEach(function(e,r){if(i.has(Tt(r).providedIn)){var o={token:r,flags:e.flags|(n?4096:0),deps:cu(e.deps),value:e.value,index:t.providers.length};t.providers.push(o),t.providersByKey[Ga(r)]=o}})}}(t=t.factory(function(){return qa})),t):t}(r))}var cl=new Map,fl=new Map,pl=new Map;function hl(t){var e;cl.set(t.token,t),"function"==typeof t.token&&(e=Tt(t.token))&&"function"==typeof e.providedIn&&fl.set(t.token,t)}function dl(t,e){var n=hu(e.viewDefFactory),r=hu(n.nodes[0].element.componentView);pl.set(t,r)}function vl(){cl.clear(),fl.clear(),pl.clear()}function gl(t){if(0===cl.size)return t;var e=function(t){for(var e=[],n=null,r=0;r<t.nodes.length;r++){var o=t.nodes[r];1&o.flags&&(n=o),n&&3840&o.flags&&cl.has(o.provider.token)&&(e.push(n.nodeIndex),n=null)}return e}(t);if(0===e.length)return t;t=t.factory(function(){return qa});for(var n=0;n<e.length;n++)r(t,e[n]);return t;function r(t,e){for(var n=e+1;n<t.nodes.length;n++){var r=t.nodes[n];if(1&r.flags)return;if(3840&r.flags){var o=r.provider,i=cl.get(o.token);i&&(r.flags=-3841&r.flags|i.flags,o.deps=cu(i.deps),o.value=i.value)}}}}function yl(t,e,n,r,o,i,a,u,s,l,c,f,p){var h=t.def.nodes[e];return Gs(t,h,n,r,o,i,a,u,s,l,c,f,p),224&h.flags?Ua(t,e).value:void 0}function ml(t,e,n,r,o,i,a,u,s,l,c,f,p){var h=t.def.nodes[e];return Ws(t,h,n,r,o,i,a,u,s,l,c,f,p),224&h.flags?Ua(t,e).value:void 0}function bl(t){return Ml(Sl.detectChanges,Zs,null,[t])}function _l(t){return Ml(Sl.checkNoChanges,qs,null,[t])}function wl(t){return Ml(Sl.destroy,Ys,null,[t])}var Cl,xl,El,Sl=function(t){return t[t.create=0]="create",t[t.detectChanges=1]="detectChanges",t[t.checkNoChanges=2]="checkNoChanges",t[t.destroy=3]="destroy",t[t.handleEvent=4]="handleEvent",t}({});function kl(t,e){xl=t,El=e}function Tl(t,e,n,r){return kl(t,e),Ml(Sl.handleEvent,t.def.handleEvent,null,[t,e,n,r])}function Il(t,e){if(128&t.state)throw za(Sl[Cl]);return kl(t,Pl(t,0)),t.def.updateDirectives(function(t,n,r){for(var o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];var a=t.def.nodes[n];return 0===e?Al(t,a,r,o):Ol(t,a,r,o),16384&a.flags&&kl(t,Pl(t,n)),224&a.flags?Ua(t,a.nodeIndex).value:void 0},t)}function Rl(t,e){if(128&t.state)throw za(Sl[Cl]);return kl(t,Nl(t,0)),t.def.updateRenderer(function(t,n,r){for(var o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];var a=t.def.nodes[n];return 0===e?Al(t,a,r,o):Ol(t,a,r,o),3&a.flags&&kl(t,Nl(t,n)),224&a.flags?Ua(t,a.nodeIndex).value:void 0},t)}function Al(t,e,n,r){if(Gs.apply(void 0,c([t,e,n],r))){var o=1===n?r[0]:r;if(16384&e.flags){for(var i={},a=0;a<e.bindings.length;a++){var u=e.bindings[a],s=o[a];8&u.flags&&(i[(h=u.nonMinifiedName,"ng-reflect-"+h.replace(/[$@]/g,"_").replace(Rn,function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return"-"+t[1].toLowerCase()}))]=An(s))}var l=e.parent,f=Ma(t,l.nodeIndex).renderElement;if(l.element.name)for(var p in i)null!=(s=i[p])?t.renderer.setAttribute(f,p,s):t.renderer.removeAttribute(f,p);else t.renderer.setValue(f,"bindings="+JSON.stringify(i,null,2))}}var h}function Ol(t,e,n,r){Ws.apply(void 0,c([t,e,n],r))}function Pl(t,e){for(var n=e;n<t.def.nodes.length;n++){var r=t.def.nodes[n];if(16384&r.flags&&r.bindings&&r.bindings.length)return n}return null}function Nl(t,e){for(var n=e;n<t.def.nodes.length;n++){var r=t.def.nodes[n];if(3&r.flags&&r.bindings&&r.bindings.length)return n}return null}var Dl=function(){function t(t,e){this.view=t,this.nodeIndex=e,null==e&&(this.nodeIndex=e=0),this.nodeDef=t.def.nodes[e];for(var n=this.nodeDef,r=t;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&r;)n=ou(r),r=r.parent;this.elDef=n,this.elView=r}return Object.defineProperty(t.prototype,"elOrCompView",{get:function(){return Ma(this.elView,this.elDef.nodeIndex).componentView||this.view},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return Yu(this.elView,this.elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"component",{get:function(){return this.elOrCompView.component},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this.elOrCompView.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){var t=[];if(this.elDef)for(var e=this.elDef.nodeIndex+1;e<=this.elDef.nodeIndex+this.elDef.childCount;e++){var n=this.elView.def.nodes[e];20224&n.flags&&t.push(n.provider.token),e+=n.childCount}return t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){var t={};if(this.elDef){jl(this.elView,this.elDef,t);for(var e=this.elDef.nodeIndex+1;e<=this.elDef.nodeIndex+this.elDef.childCount;e++){var n=this.elView.def.nodes[e];20224&n.flags&&jl(this.elView,n,t),e+=n.childCount}}return t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentRenderElement",{get:function(){var t=function(t){for(;t&&!au(t);)t=t.parent;return t.parent?Ma(t.parent,ou(t).nodeIndex):null}(this.elOrCompView);return t?t.renderElement:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"renderNode",{get:function(){return 2&this.nodeDef.flags?iu(this.view,this.nodeDef):iu(this.elView,this.elDef)},enumerable:!0,configurable:!0}),t.prototype.logError=function(t){for(var e,n,r=[],o=1;o<arguments.length;o++)r[o-1]=arguments[o];2&this.nodeDef.flags?(e=this.view.def,n=this.nodeDef.nodeIndex):(e=this.elView.def,n=this.elDef.nodeIndex);var i=function(t,e){for(var n=-1,r=0;r<=e;r++)3&t.nodes[r].flags&&n++;return n}(e,n),a=-1;e.factory(function(){var e;return++a===i?(e=t.error).bind.apply(e,c([t],r)):qa}),a<i&&(t.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),t.error.apply(t,c(r)))},t}();function jl(t,e,n){for(var r in e.references)n[r]=Rs(t,e,e.references[r])}function Ml(t,e,n,r){var o=Cl,i=xl,a=El;try{Cl=t;var u=e.apply(n,r);return xl=i,El=a,Cl=o,u}catch(s){if(ni(s)||!xl)throw s;throw function(t,e){return t instanceof Error||(t=new Error(t.toString())),Ba(t,e),t}(s,Ll())}}function Ll(){return xl?new Dl(xl,El):null}var Ul=function(){function t(t){this.delegate=t}return t.prototype.createRenderer=function(t,e){return new Vl(this.delegate.createRenderer(t,e))},t.prototype.begin=function(){this.delegate.begin&&this.delegate.begin()},t.prototype.end=function(){this.delegate.end&&this.delegate.end()},t.prototype.whenRenderingDone=function(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)},t}(),Vl=function(){function t(t){this.delegate=t,this.debugContextFactory=Ll,this.data=this.delegate.data}return t.prototype.createDebugContext=function(t){return this.debugContextFactory(t)},t.prototype.destroyNode=function(t){!function(t){la.delete(t.nativeNode)}(ca(t)),this.delegate.destroyNode&&this.delegate.destroyNode(t)},t.prototype.destroy=function(){this.delegate.destroy()},t.prototype.createElement=function(t,e){var n=this.delegate.createElement(t,e),r=this.createDebugContext(n);if(r){var o=new sa(n,null,r);o.name=t,fa(o)}return n},t.prototype.createComment=function(t){var e=this.delegate.createComment(t),n=this.createDebugContext(e);return n&&fa(new ua(e,null,n)),e},t.prototype.createText=function(t){var e=this.delegate.createText(t),n=this.createDebugContext(e);return n&&fa(new ua(e,null,n)),e},t.prototype.appendChild=function(t,e){var n=ca(t),r=ca(e);n&&r&&n instanceof sa&&n.addChild(r),this.delegate.appendChild(t,e)},t.prototype.insertBefore=function(t,e,n){var r=ca(t),o=ca(e),i=ca(n);r&&o&&r instanceof sa&&r.insertBefore(i,o),this.delegate.insertBefore(t,e,n)},t.prototype.removeChild=function(t,e){var n=ca(t),r=ca(e);n&&r&&n instanceof sa&&n.removeChild(r),this.delegate.removeChild(t,e)},t.prototype.selectRootElement=function(t,e){var n=this.delegate.selectRootElement(t,e),r=Ll();return r&&fa(new sa(n,null,r)),n},t.prototype.setAttribute=function(t,e,n,r){var o=ca(t);o&&o instanceof sa&&(o.attributes[r?r+":"+e:e]=n),this.delegate.setAttribute(t,e,n,r)},t.prototype.removeAttribute=function(t,e,n){var r=ca(t);r&&r instanceof sa&&(r.attributes[n?n+":"+e:e]=null),this.delegate.removeAttribute(t,e,n)},t.prototype.addClass=function(t,e){var n=ca(t);n&&n instanceof sa&&(n.classes[e]=!0),this.delegate.addClass(t,e)},t.prototype.removeClass=function(t,e){var n=ca(t);n&&n instanceof sa&&(n.classes[e]=!1),this.delegate.removeClass(t,e)},t.prototype.setStyle=function(t,e,n,r){var o=ca(t);o&&o instanceof sa&&(o.styles[e]=n),this.delegate.setStyle(t,e,n,r)},t.prototype.removeStyle=function(t,e,n){var r=ca(t);r&&r instanceof sa&&(r.styles[e]=null),this.delegate.removeStyle(t,e,n)},t.prototype.setProperty=function(t,e,n){var r=ca(t);r&&r instanceof sa&&(r.properties[e]=n),this.delegate.setProperty(t,e,n)},t.prototype.listen=function(t,e,n){if("string"!=typeof t){var r=ca(t);r&&r.listeners.push(new aa(e,n))}return this.delegate.listen(t,e,n)},t.prototype.parentNode=function(t){return this.delegate.parentNode(t)},t.prototype.nextSibling=function(t){return this.delegate.nextSibling(t)},t.prototype.setValue=function(t,e){return this.delegate.setValue(t,e)},t}();function Hl(t,e,n){return new Fl(t,e,n)}var Fl=function(t){function e(e,n,r){var o=t.call(this)||this;return o.moduleType=e,o._bootstrapComponents=n,o._ngModuleDefFactory=r,o}return o(e,t),e.prototype.create=function(t){!function(){if(!rl){rl=!0;var t=Co()?{setCurrentNode:kl,createRootView:il,createEmbeddedView:ul,createComponentView:sl,createNgModuleRef:ll,overrideProvider:hl,overrideComponentView:dl,clearOverrides:vl,checkAndUpdateView:bl,checkNoChangesView:_l,destroyView:wl,createDebugContext:function(t,e){return new Dl(t,e)},handleEvent:Tl,updateDirectives:Il,updateRenderer:Rl}:{setCurrentNode:function(){},createRootView:ol,createEmbeddedView:Us,createComponentView:Hs,createNgModuleRef:es,overrideProvider:qa,overrideComponentView:qa,clearOverrides:qa,checkAndUpdateView:Zs,checkNoChangesView:qs,destroyView:Ys,createDebugContext:function(t,e){return new Dl(t,e)},handleEvent:function(t,e,n,r){return t.def.handleEvent(t,e,n,r)},updateDirectives:function(t,e){return t.def.updateDirectives(0===e?yl:ml,t)},updateRenderer:function(t,e){return t.def.updateRenderer(0===e?yl:ml,t)}};Ha.setCurrentNode=t.setCurrentNode,Ha.createRootView=t.createRootView,Ha.createEmbeddedView=t.createEmbeddedView,Ha.createComponentView=t.createComponentView,Ha.createNgModuleRef=t.createNgModuleRef,Ha.overrideProvider=t.overrideProvider,Ha.overrideComponentView=t.overrideComponentView,Ha.clearOverrides=t.clearOverrides,Ha.checkAndUpdateView=t.checkAndUpdateView,Ha.checkNoChangesView=t.checkNoChangesView,Ha.destroyView=t.destroyView,Ha.resolveDep=bs,Ha.createDebugContext=t.createDebugContext,Ha.handleEvent=t.handleEvent,Ha.updateDirectives=t.updateDirectives,Ha.updateRenderer=t.updateRenderer,Ha.dirtyParentQueries=ks}}();var e=function(t){var e=Array.from(t.providers),n=Array.from(t.modules),r={};for(var o in t.providersByKey)r[o]=t.providersByKey[o];return{factory:t.factory,isRoot:t.isRoot,providers:e,modules:n,providersByKey:r}}(hu(this._ngModuleDefFactory));return Ha.createNgModuleRef(this.moduleType,t||mr.NULL,this._bootstrapComponents,e)},e}(to),Bl=function(){return function(){}}(),zl=function(){return function(){this.title="app",this.navLinks=[{name:"First component",link:"first"},{name:"Second component",link:"second"},{name:"Third component",link:"third"},{name:"Fourth component",link:"fourth"},{name:"Fifth component",link:"fifth"},{name:"Sixth component",link:"sixth"}]}}(),ql=new N(function(t){return t.complete()});function Zl(t){return t?function(t){return new N(function(e){return t.schedule(function(){return e.complete()})})}(t):ql}function Gl(t){var e=new N(function(e){e.next(t),e.complete()});return e._isScalar=!0,e.value=t,e}function Ql(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t[t.length-1];switch(F(n)?t.pop():n=void 0,t.length){case 0:return Zl(n);case 1:return n?rt(t,n):Gl(t[0]);default:return rt(t,n)}}var Wl=function(t){function e(e){var n=t.call(this)||this;return n._value=e,n}return o(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),e.prototype._subscribe=function(e){var n=t.prototype._subscribe.call(this,e);return n&&!n.closed&&e.next(this._value),n},e.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new M;return this._value},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(V);function Kl(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}Kl.prototype=Object.create(Error.prototype);var Yl=Kl,Jl={},$l=function(){function t(t){this.resultSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new Xl(t,this.resultSelector))},t}(),Xl=function(t){function e(e,n){var r=t.call(this,e)||this;return r.resultSelector=n,r.active=0,r.values=[],r.observables=[],r}return o(e,t),e.prototype._next=function(t){this.values.push(Jl),this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(var n=0;n<e;n++){var r=t[n];this.add($(this,r,r,n))}}},e.prototype.notifyComplete=function(t){0==(this.active-=1)&&this.destination.complete()},e.prototype.notifyNext=function(t,e,n,r,o){var i=this.values,a=this.toRespond?i[n]===Jl?--this.toRespond:this.toRespond:0;i[n]=e,0===a&&(this.resultSelector?this._tryResultSelector(i):this.destination.next(i.slice()))},e.prototype._tryResultSelector=function(t){var e;try{e=this.resultSelector.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)},e}(X);function tc(t){return new N(function(e){var n;try{n=t()}catch(r){return void e.error(r)}return(n?ot(n):Zl()).subscribe(e)})}function ec(){return lt(1)}function nc(t,e){return function(n){return n.lift(new rc(t,e))}}var rc=function(){function t(t,e){this.predicate=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new oc(t,this.predicate,this.thisArg))},t}(),oc=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.predicate=n,o.thisArg=r,o.count=0,o}return o(e,t),e.prototype._next=function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)},e}(T);function ic(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}ic.prototype=Object.create(Error.prototype);var ac=ic;function uc(t){return function(e){return 0===t?Zl():e.lift(new sc(t))}}var sc=function(){function t(t){if(this.total=t,this.total<0)throw new ac}return t.prototype.call=function(t,e){return e.subscribe(new lc(t,this.total))},t}(),lc=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.ring=new Array,r.count=0,r}return o(e,t),e.prototype._next=function(t){var e=this.ring,n=this.total,r=this.count++;e.length<n?e.push(t):e[r%n]=t},e.prototype._complete=function(){var t=this.destination,e=this.count;if(e>0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,o=0;o<n;o++){var i=e++%n;t.next(r[i])}t.complete()},e}(T);function cc(t,e,n){return function(r){return r.lift(new fc(t,e,n))}}var fc=function(){function t(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}return t.prototype.call=function(t,e){return e.subscribe(new pc(t,this.nextOrObserver,this.error,this.complete))},t}(),pc=function(t){function e(e,n,r,o){var i=t.call(this,e)||this;return i._tapNext=A,i._tapError=A,i._tapComplete=A,i._tapError=r||A,i._tapComplete=o||A,h(n)?(i._context=i,i._tapNext=n):n&&(i._context=n,i._tapNext=n.next||A,i._tapError=n.error||A,i._tapComplete=n.complete||A),i}return o(e,t),e.prototype._next=function(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)},e.prototype._error=function(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)},e.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()},e}(T),hc=function(t){return void 0===t&&(t=dc),cc({hasValue:!1,next:function(){this.hasValue=!0},complete:function(){if(!this.hasValue)throw t()}})};function dc(){return new Yl}function vc(t){return void 0===t&&(t=null),function(e){return e.lift(new gc(t))}}var gc=function(){function t(t){this.defaultValue=t}return t.prototype.call=function(t,e){return e.subscribe(new yc(t,this.defaultValue))},t}(),yc=function(t){function e(e,n){var r=t.call(this,e)||this;return r.defaultValue=n,r.isEmpty=!0,r}return o(e,t),e.prototype._next=function(t){this.isEmpty=!1,this.destination.next(t)},e.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},e}(T);function mc(t,e){var n=arguments.length>=2;return function(r){return r.pipe(t?nc(function(e,n){return t(e,n,r)}):st,uc(1),n?vc(e):hc(function(){return new Yl}))}}function bc(t){return function(e){var n=new _c(t),r=e.lift(n);return n.caught=r}}var _c=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e.subscribe(new wc(t,this.selector,this.caught))},t}(),wc=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.selector=n,o.caught=r,o}return o(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=void 0;try{n=this.selector(e,this.caught)}catch(o){return void t.prototype.error.call(this,o)}this._unsubscribeAndRecycle();var r=new B(this,void 0,void 0);this.add(r),$(this,n,void 0,void 0,r)}},e}(X);function Cc(t){return function(e){return 0===t?Zl():e.lift(new xc(t))}}var xc=function(){function t(t){if(this.total=t,this.total<0)throw new ac}return t.prototype.call=function(t,e){return e.subscribe(new Ec(t,this.total))},t}(),Ec=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.count=0,r}return o(e,t),e.prototype._next=function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))},e}(T);function Sc(t,e){var n=arguments.length>=2;return function(r){return r.pipe(t?nc(function(e,n){return t(e,n,r)}):st,Cc(1),n?vc(e):hc(function(){return new Yl}))}}var kc=function(){function t(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}return t.prototype.call=function(t,e){return e.subscribe(new Tc(t,this.predicate,this.thisArg,this.source))},t}(),Tc=function(t){function e(e,n,r,o){var i=t.call(this,e)||this;return i.predicate=n,i.thisArg=r,i.source=o,i.index=0,i.thisArg=r||i,i}return o(e,t),e.prototype.notifyComplete=function(t){this.destination.next(t),this.destination.complete()},e.prototype._next=function(t){var e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(n){return void this.destination.error(n)}e||this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(T);function Ic(t,e){return"function"==typeof e?function(n){return n.pipe(Ic(function(n,r){return ot(t(n,r)).pipe(tt(function(t,o){return e(n,t,r,o)}))}))}:function(e){return e.lift(new Rc(t))}}var Rc=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new Ac(t,this.project))},t}(),Ac=function(t){function e(e,n){var r=t.call(this,e)||this;return r.project=n,r.index=0,r}return o(e,t),e.prototype._next=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(r){return void this.destination.error(r)}this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var r=this.innerSubscription;r&&r.unsubscribe();var o=new B(this,void 0,void 0);this.destination.add(o),this.innerSubscription=$(this,t,e,n,o)},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this),this.unsubscribe()},e.prototype._unsubscribe=function(){this.innerSubscription=null},e.prototype.notifyComplete=function(e){this.destination.remove(e),this.innerSubscription=null,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,r,o){this.destination.next(e)},e}(X);function Oc(t,e){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new Pc(t,e,n))}}var Pc=function(){function t(t,e,n){void 0===n&&(n=!1),this.accumulator=t,this.seed=e,this.hasSeed=n}return t.prototype.call=function(t,e){return e.subscribe(new Nc(t,this.accumulator,this.seed,this.hasSeed))},t}(),Nc=function(t){function e(e,n,r,o){var i=t.call(this,e)||this;return i.accumulator=n,i._seed=r,i.hasSeed=o,i.index=0,i}return o(e,t),Object.defineProperty(e.prototype,"seed",{get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t},enumerable:!0,configurable:!0}),e.prototype._next=function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(r){this.destination.error(r)}this.seed=e,this.destination.next(e)},e}(T);function Dc(t,e){return it(t,e,1)}var jc=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new Mc(t,this.callback))},t}(),Mc=function(t){function e(e,n){var r=t.call(this,e)||this;return r.add(new _(n)),r}return o(e,t),e}(T),Lc=function(){return function(){}}(),Uc=new Rt("Location Initialized"),Vc=function(){return function(){}}(),Hc=new Rt("appBaseHref"),Fc=function(){function t(t){var n=this;this._subject=new Zo,this._platformStrategy=t;var r=this._platformStrategy.getBaseHref();this._baseHref=e.stripTrailingSlash(Bc(r)),this._platformStrategy.onPopState(function(t){n._subject.emit({url:n.path(!0),pop:!0,state:t.state,type:t.type})})}var e;return e=t,t.prototype.path=function(t){return void 0===t&&(t=!1),this.normalize(this._platformStrategy.path(t))},t.prototype.isCurrentPathEqualTo=function(t,n){return void 0===n&&(n=""),this.path()==this.normalize(t+e.normalizeQueryParams(n))},t.prototype.normalize=function(t){return e.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,Bc(t)))},t.prototype.prepareExternalUrl=function(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)},t.prototype.go=function(t,e,n){void 0===e&&(e=""),void 0===n&&(n=null),this._platformStrategy.pushState(n,"",t,e)},t.prototype.replaceState=function(t,e,n){void 0===e&&(e=""),void 0===n&&(n=null),this._platformStrategy.replaceState(n,"",t,e)},t.prototype.forward=function(){this._platformStrategy.forward()},t.prototype.back=function(){this._platformStrategy.back()},t.prototype.subscribe=function(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})},t.normalizeQueryParams=function(t){return t&&"?"!==t[0]?"?"+t:t},t.joinWithSlash=function(t,e){if(0==t.length)return e;if(0==e.length)return t;var n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e},t.stripTrailingSlash=function(t){var e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)},t}();function Bc(t){return t.replace(/\/index.html$/,"")}var zc=function(t){function e(e,n){var r=t.call(this)||this;return r._platformLocation=e,r._baseHref="",null!=n&&(r._baseHref=n),r}return o(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e},e.prototype.prepareExternalUrl=function(t){var e=Fc.joinWithSlash(this._baseHref,t);return e.length>0?"#"+e:e},e.prototype.pushState=function(t,e,n,r){var o=this.prepareExternalUrl(n+Fc.normalizeQueryParams(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(t,e,o)},e.prototype.replaceState=function(t,e,n,r){var o=this.prepareExternalUrl(n+Fc.normalizeQueryParams(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,o)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(Vc),qc=function(t){function e(e,n){var r=t.call(this)||this;if(r._platformLocation=e,null==n&&(n=r._platformLocation.getBaseHrefFromDOM()),null==n)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return r._baseHref=n,r}return o(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.prepareExternalUrl=function(t){return Fc.joinWithSlash(this._baseHref,t)},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.pathname+Fc.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?""+e+n:e},e.prototype.pushState=function(t,e,n,r){var o=this.prepareExternalUrl(n+Fc.normalizeQueryParams(r));this._platformLocation.pushState(t,e,o)},e.prototype.replaceState=function(t,e,n,r){var o=this.prepareExternalUrl(n+Fc.normalizeQueryParams(r));this._platformLocation.replaceState(t,e,o)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(Vc),Zc=void 0,Gc=["en",[["a","p"],["AM","PM"],Zc],[["AM","PM"],Zc,Zc],[["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"]],Zc,[["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"]],Zc,[["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}",Zc,"{1} 'at' {0}",Zc],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",{},function(t){var e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}],Qc={},Wc=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({}),Kc=new Rt("UseV4Plurals"),Yc=function(){return function(){}}(),Jc=function(t){function e(e,n){var r=t.call(this)||this;return r.locale=e,r.deprecatedPluralFn=n,r}return o(e,t),e.prototype.getPluralCategory=function(t,e){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(e||this.locale,t):function(t){return function(t){var e=t.toLowerCase().replace(/_/g,"-"),n=Qc[e];if(n)return n;var r=e.split("-")[0];if(n=Qc[r])return n;if("en"===r)return Gc;throw new Error('Missing locale data for the locale "'+t+'".')}(t)[18]}(e||this.locale)(t)){case Wc.Zero:return"zero";case Wc.One:return"one";case Wc.Two:return"two";case Wc.Few:return"few";case Wc.Many:return"many";default:return"other"}},e}(Yc),$c=function(){function t(t,e,n,r){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=r}return Object.defineProperty(t.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),t}(),Xc=function(){function t(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOfDirty=!0,this._differ=null}return Object.defineProperty(t.prototype,"ngForOf",{set:function(t){this._ngForOf=t,this._ngForOfDirty=!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(t){Co()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(t)+". See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTemplate",{set:function(t){t&&(this._template=t)},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var t=this._ngForOf;if(!this._differ&&t)try{this._differ=this._differs.find(t).create(this.ngForTrackBy)}catch(r){throw new Error("Cannot find a differ supporting object '"+t+"' of type '"+((e=t).name||typeof e)+"'. NgFor only supports binding to Iterables such as Arrays.")}}var e;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}},t.prototype._applyChanges=function(t){var e=this,n=[];t.forEachOperation(function(t,r,o){if(null==t.previousIndex){var i=e._viewContainer.createEmbeddedView(e._template,new $c(null,e._ngForOf,-1,-1),o),a=new tf(t,i);n.push(a)}else null==o?e._viewContainer.remove(r):(i=e._viewContainer.get(r),e._viewContainer.move(i,o),a=new tf(t,i),n.push(a))});for(var r=0;r<n.length;r++)this._perViewChange(n[r].view,n[r].record);r=0;for(var o=this._viewContainer.length;r<o;r++){var i=this._viewContainer.get(r);i.context.index=r,i.context.count=o,i.context.ngForOf=this._ngForOf}t.forEachIdentityChange(function(t){e._viewContainer.get(t.currentIndex).context.$implicit=t.item})},t.prototype._perViewChange=function(t,e){t.context.$implicit=e.item},t.ngTemplateContextGuard=function(t,e){return!0},t}(),tf=function(){return function(t,e){this.record=t,this.view=e}}(),ef=function(){return function(){}}(),nf=new Rt("DocumentToken"),rf="browser",of="server",af=function(){function t(){}return t.ngInjectableDef=kt({providedIn:"root",factory:function(){return new uf(Ze(nf),window)}}),t}(),uf=function(){function t(t,e){this.document=t,this.window=e,this.offset=function(){return[0,0]}}return t.prototype.setOffset=function(t){this.offset=Array.isArray(t)?function(){return t}:t},t.prototype.getScrollPosition=function(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]},t.prototype.scrollToPosition=function(t){this.supportScrollRestoration()&&this.window.scrollTo(t[0],t[1])},t.prototype.scrollToAnchor=function(t){if(this.supportScrollRestoration()){var e=this.document.querySelector("#"+t);if(e)return void this.scrollToElement(e);var n=this.document.querySelector("[name='"+t+"']");if(n)return void this.scrollToElement(n)}},t.prototype.setHistoryScrollRestoration=function(t){if(this.supportScrollRestoration()){var e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}},t.prototype.scrollToElement=function(t){var e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(n-o[0],r-o[1])},t.prototype.supportScrollRestoration=function(){try{return!!this.window&&!!this.window.scrollTo}catch(t){return!1}},t}(),sf=null;function lf(){return sf}var cf,ff={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},pf={"\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"},hf={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"};Ut.Node&&(cf=Ut.Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))});var df,vf=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.parse=function(t){throw new Error("parse not implemented")},e.makeCurrent=function(){var t;t=new e,sf||(sf=t)},e.prototype.hasProperty=function(t,e){return e in t},e.prototype.setProperty=function(t,e,n){t[e]=n},e.prototype.getProperty=function(t,e){return t[e]},e.prototype.invoke=function(t,e,n){var r;(r=t)[e].apply(r,c(n))},e.prototype.logError=function(t){window.console&&(console.error?console.error(t):console.log(t))},e.prototype.log=function(t){window.console&&window.console.log&&window.console.log(t)},e.prototype.logGroup=function(t){window.console&&window.console.group&&window.console.group(t)},e.prototype.logGroupEnd=function(){window.console&&window.console.groupEnd&&window.console.groupEnd()},Object.defineProperty(e.prototype,"attrToPropMap",{get:function(){return ff},enumerable:!0,configurable:!0}),e.prototype.contains=function(t,e){return cf.call(t,e)},e.prototype.querySelector=function(t,e){return t.querySelector(e)},e.prototype.querySelectorAll=function(t,e){return t.querySelectorAll(e)},e.prototype.on=function(t,e,n){t.addEventListener(e,n,!1)},e.prototype.onAndCancel=function(t,e,n){return t.addEventListener(e,n,!1),function(){t.removeEventListener(e,n,!1)}},e.prototype.dispatchEvent=function(t,e){t.dispatchEvent(e)},e.prototype.createMouseEvent=function(t){var e=this.getDefaultDocument().createEvent("MouseEvent");return e.initEvent(t,!0,!0),e},e.prototype.createEvent=function(t){var e=this.getDefaultDocument().createEvent("Event");return e.initEvent(t,!0,!0),e},e.prototype.preventDefault=function(t){t.preventDefault(),t.returnValue=!1},e.prototype.isPrevented=function(t){return t.defaultPrevented||null!=t.returnValue&&!t.returnValue},e.prototype.getInnerHTML=function(t){return t.innerHTML},e.prototype.getTemplateContent=function(t){return"content"in t&&this.isTemplateElement(t)?t.content:null},e.prototype.getOuterHTML=function(t){return t.outerHTML},e.prototype.nodeName=function(t){return t.nodeName},e.prototype.nodeValue=function(t){return t.nodeValue},e.prototype.type=function(t){return t.type},e.prototype.content=function(t){return this.hasProperty(t,"content")?t.content:t},e.prototype.firstChild=function(t){return t.firstChild},e.prototype.nextSibling=function(t){return t.nextSibling},e.prototype.parentElement=function(t){return t.parentNode},e.prototype.childNodes=function(t){return t.childNodes},e.prototype.childNodesAsList=function(t){for(var e=t.childNodes,n=new Array(e.length),r=0;r<e.length;r++)n[r]=e[r];return n},e.prototype.clearNodes=function(t){for(;t.firstChild;)t.removeChild(t.firstChild)},e.prototype.appendChild=function(t,e){t.appendChild(e)},e.prototype.removeChild=function(t,e){t.removeChild(e)},e.prototype.replaceChild=function(t,e,n){t.replaceChild(e,n)},e.prototype.remove=function(t){return t.parentNode&&t.parentNode.removeChild(t),t},e.prototype.insertBefore=function(t,e,n){t.insertBefore(n,e)},e.prototype.insertAllBefore=function(t,e,n){n.forEach(function(n){return t.insertBefore(n,e)})},e.prototype.insertAfter=function(t,e,n){t.insertBefore(n,e.nextSibling)},e.prototype.setInnerHTML=function(t,e){t.innerHTML=e},e.prototype.getText=function(t){return t.textContent},e.prototype.setText=function(t,e){t.textContent=e},e.prototype.getValue=function(t){return t.value},e.prototype.setValue=function(t,e){t.value=e},e.prototype.getChecked=function(t){return t.checked},e.prototype.setChecked=function(t,e){t.checked=e},e.prototype.createComment=function(t){return this.getDefaultDocument().createComment(t)},e.prototype.createTemplate=function(t){var e=this.getDefaultDocument().createElement("template");return e.innerHTML=t,e},e.prototype.createElement=function(t,e){return(e=e||this.getDefaultDocument()).createElement(t)},e.prototype.createElementNS=function(t,e,n){return(n=n||this.getDefaultDocument()).createElementNS(t,e)},e.prototype.createTextNode=function(t,e){return(e=e||this.getDefaultDocument()).createTextNode(t)},e.prototype.createScriptTag=function(t,e,n){var r=(n=n||this.getDefaultDocument()).createElement("SCRIPT");return r.setAttribute(t,e),r},e.prototype.createStyleElement=function(t,e){var n=(e=e||this.getDefaultDocument()).createElement("style");return this.appendChild(n,this.createTextNode(t,e)),n},e.prototype.createShadowRoot=function(t){return t.createShadowRoot()},e.prototype.getShadowRoot=function(t){return t.shadowRoot},e.prototype.getHost=function(t){return t.host},e.prototype.clone=function(t){return t.cloneNode(!0)},e.prototype.getElementsByClassName=function(t,e){return t.getElementsByClassName(e)},e.prototype.getElementsByTagName=function(t,e){return t.getElementsByTagName(e)},e.prototype.classList=function(t){return Array.prototype.slice.call(t.classList,0)},e.prototype.addClass=function(t,e){t.classList.add(e)},e.prototype.removeClass=function(t,e){t.classList.remove(e)},e.prototype.hasClass=function(t,e){return t.classList.contains(e)},e.prototype.setStyle=function(t,e,n){t.style[e]=n},e.prototype.removeStyle=function(t,e){t.style[e]=""},e.prototype.getStyle=function(t,e){return t.style[e]},e.prototype.hasStyle=function(t,e,n){var r=this.getStyle(t,e)||"";return n?r==n:r.length>0},e.prototype.tagName=function(t){return t.tagName},e.prototype.attributeMap=function(t){for(var e=new Map,n=t.attributes,r=0;r<n.length;r++){var o=n.item(r);e.set(o.name,o.value)}return e},e.prototype.hasAttribute=function(t,e){return t.hasAttribute(e)},e.prototype.hasAttributeNS=function(t,e,n){return t.hasAttributeNS(e,n)},e.prototype.getAttribute=function(t,e){return t.getAttribute(e)},e.prototype.getAttributeNS=function(t,e,n){return t.getAttributeNS(e,n)},e.prototype.setAttribute=function(t,e,n){t.setAttribute(e,n)},e.prototype.setAttributeNS=function(t,e,n,r){t.setAttributeNS(e,n,r)},e.prototype.removeAttribute=function(t,e){t.removeAttribute(e)},e.prototype.removeAttributeNS=function(t,e,n){t.removeAttributeNS(e,n)},e.prototype.templateAwareRoot=function(t){return this.isTemplateElement(t)?this.content(t):t},e.prototype.createHtmlDocument=function(){return document.implementation.createHTMLDocument("fakeTitle")},e.prototype.getDefaultDocument=function(){return document},e.prototype.getBoundingClientRect=function(t){try{return t.getBoundingClientRect()}catch(e){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}},e.prototype.getTitle=function(t){return t.title},e.prototype.setTitle=function(t,e){t.title=e||""},e.prototype.elementMatches=function(t,e){return!!this.isElementNode(t)&&(t.matches&&t.matches(e)||t.msMatchesSelector&&t.msMatchesSelector(e)||t.webkitMatchesSelector&&t.webkitMatchesSelector(e))},e.prototype.isTemplateElement=function(t){return this.isElementNode(t)&&"TEMPLATE"===t.nodeName},e.prototype.isTextNode=function(t){return t.nodeType===Node.TEXT_NODE},e.prototype.isCommentNode=function(t){return t.nodeType===Node.COMMENT_NODE},e.prototype.isElementNode=function(t){return t.nodeType===Node.ELEMENT_NODE},e.prototype.hasShadowRoot=function(t){return null!=t.shadowRoot&&t instanceof HTMLElement},e.prototype.isShadowRoot=function(t){return t instanceof DocumentFragment},e.prototype.importIntoDoc=function(t){return document.importNode(this.templateAwareRoot(t),!0)},e.prototype.adoptNode=function(t){return document.adoptNode(t)},e.prototype.getHref=function(t){return t.getAttribute("href")},e.prototype.getEventKey=function(t){var e=t.key;if(null==e){if(null==(e=t.keyIdentifier))return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&hf.hasOwnProperty(e)&&(e=hf[e]))}return pf[e]||e},e.prototype.getGlobalEventTarget=function(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null},e.prototype.getHistory=function(){return window.history},e.prototype.getLocation=function(){return window.location},e.prototype.getBaseHref=function(t){var e,n=gf||(gf=document.querySelector("base"))?gf.getAttribute("href"):null;return null==n?null:(e=n,df||(df=document.createElement("a")),df.setAttribute("href",e),"/"===df.pathname.charAt(0)?df.pathname:"/"+df.pathname)},e.prototype.resetBaseElement=function(){gf=null},e.prototype.getUserAgent=function(){return window.navigator.userAgent},e.prototype.setData=function(t,e,n){this.setAttribute(t,"data-"+e,n)},e.prototype.getData=function(t,e){return this.getAttribute(t,"data-"+e)},e.prototype.getComputedStyle=function(t){return getComputedStyle(t)},e.prototype.supportsWebAnimation=function(){return"function"==typeof Element.prototype.animate},e.prototype.performanceNow=function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()},e.prototype.supportsCookies=function(){return!0},e.prototype.getCookie=function(t){return function(t,e){var n,r;e=encodeURIComponent(e);try{for(var o=s(t.split(";")),i=o.next();!i.done;i=o.next()){var a=i.value,u=a.indexOf("="),c=l(-1==u?[a,""]:[a.slice(0,u),a.slice(u+1)],2),f=c[1];if(c[0].trim()===e)return decodeURIComponent(f)}}catch(p){n={error:p}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return null}(document.cookie,t)},e.prototype.setCookie=function(t,e){document.cookie=encodeURIComponent(t)+"="+encodeURIComponent(e)},e}(function(t){function e(){var e=t.call(this)||this;e._animationPrefix=null,e._transitionEnd=null;try{var n=e.createElement("div",document);if(null!=e.getStyle(n,"animationName"))e._animationPrefix="";else for(var r=["Webkit","Moz","O","ms"],o=0;o<r.length;o++)if(null!=e.getStyle(n,r[o]+"AnimationName")){e._animationPrefix="-"+r[o].toLowerCase()+"-";break}var i={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(i).forEach(function(t){null!=e.getStyle(n,t)&&(e._transitionEnd=i[t])})}catch(a){e._animationPrefix=null,e._transitionEnd=null}return e}return o(e,t),e.prototype.getDistributedNodes=function(t){return t.getDistributedNodes()},e.prototype.resolveAndSetHref=function(t,e,n){t.href=null==n?e:e+"/../"+n},e.prototype.supportsDOMEvents=function(){return!0},e.prototype.supportsNativeShadowDOM=function(){return"function"==typeof document.body.createShadowRoot},e.prototype.getAnimationPrefix=function(){return this._animationPrefix?this._animationPrefix:""},e.prototype.getTransitionEnd=function(){return this._transitionEnd?this._transitionEnd:""},e.prototype.supportsAnimation=function(){return null!=this._animationPrefix&&null!=this._transitionEnd},e}(function(){function t(){this.resourceLoaderType=null}return Object.defineProperty(t.prototype,"attrToPropMap",{get:function(){return this._attrToPropMap},set:function(t){this._attrToPropMap=t},enumerable:!0,configurable:!0}),t}())),gf=null,yf=nf;function mf(){return!!window.history.pushState}var bf=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n._init(),n}var n;return o(e,t),e.prototype._init=function(){this.location=lf().getLocation(),this._history=lf().getHistory()},e.prototype.getBaseHrefFromDOM=function(){return lf().getBaseHref(this._doc)},e.prototype.onPopState=function(t){lf().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)},e.prototype.onHashChange=function(t){lf().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)},Object.defineProperty(e.prototype,"pathname",{get:function(){return this.location.pathname},set:function(t){this.location.pathname=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"search",{get:function(){return this.location.search},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hash",{get:function(){return this.location.hash},enumerable:!0,configurable:!0}),e.prototype.pushState=function(t,e,n){mf()?this._history.pushState(t,e,n):this.location.hash=n},e.prototype.replaceState=function(t,e,n){mf()?this._history.replaceState(t,e,n):this.location.hash=n},e.prototype.forward=function(){this._history.forward()},e.prototype.back=function(){this._history.back()},a([(n=Le(yf),function(t,e){n(t,e,0)}),u("design:paramtypes",[Object])],e)}(Lc),_f=new Rt("TRANSITION_ID"),wf=[{provide:si,useFactory:function(t,e,n){return function(){n.get(li).donePromise.then(function(){var n=lf();Array.prototype.slice.apply(n.querySelectorAll(e,"style[ng-transition]")).filter(function(e){return n.getAttribute(e,"ng-transition")===t}).forEach(function(t){return n.remove(t)})})}},deps:[_f,yf,mr],multi:!0}],Cf=function(){function t(){}return t.init=function(){var e;e=new t,Fi=e},t.prototype.addToWindow=function(t){Ut.getAngularTestability=function(e,n){void 0===n&&(n=!0);var r=t.findTestabilityInTree(e,n);if(null==r)throw new Error("Could not find testability for element.");return r},Ut.getAllAngularTestabilities=function(){return t.getAllTestabilities()},Ut.getAllAngularRootElements=function(){return t.getAllRootElements()},Ut.frameworkStabilizers||(Ut.frameworkStabilizers=[]),Ut.frameworkStabilizers.push(function(t){var e=Ut.getAllAngularTestabilities(),n=e.length,r=!1,o=function(e){r=r||e,0==--n&&t(r)};e.forEach(function(t){t.whenStable(o)})})},t.prototype.findTestabilityInTree=function(t,e,n){if(null==e)return null;var r=t.getTestability(e);return null!=r?r:n?lf().isShadowRoot(e)?this.findTestabilityInTree(t,lf().getHost(e),!0):this.findTestabilityInTree(t,lf().parentElement(e),!0):null},t}();function xf(t,e){"undefined"!=typeof COMPILED&&COMPILED||((Ut.ng=Ut.ng||{})[t]=e)}var Ef={ApplicationRef:Wi,NgZone:Oi};function Sf(t){return ca(t)}var kf=new Rt("EventManagerPlugins"),Tf=function(){function t(t,e){var n=this;this._zone=e,this._eventNameToPlugin=new Map,t.forEach(function(t){return t.manager=n}),this._plugins=t.slice().reverse()}return t.prototype.addEventListener=function(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)},t.prototype.addGlobalEventListener=function(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)},t.prototype.getZone=function(){return this._zone},t.prototype._findPluginFor=function(t){var e=this._eventNameToPlugin.get(t);if(e)return e;for(var n=this._plugins,r=0;r<n.length;r++){var o=n[r];if(o.supports(t))return this._eventNameToPlugin.set(t,o),o}throw new Error("No event manager plugin found for event "+t)},t}(),If=function(){function t(t){this._doc=t}return t.prototype.addGlobalEventListener=function(t,e,n){var r=lf().getGlobalEventTarget(this._doc,t);if(!r)throw new Error("Unsupported event target "+r+" for event "+e);return this.addEventListener(r,e,n)},t}(),Rf=function(){function t(){this._stylesSet=new Set}return t.prototype.addStyles=function(t){var e=this,n=new Set;t.forEach(function(t){e._stylesSet.has(t)||(e._stylesSet.add(t),n.add(t))}),this.onStylesAdded(n)},t.prototype.onStylesAdded=function(t){},t.prototype.getAllStyles=function(){return Array.from(this._stylesSet)},t}(),Af=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n._hostNodes=new Set,n._styleNodes=new Set,n._hostNodes.add(e.head),n}return o(e,t),e.prototype._addStylesToHost=function(t,e){var n=this;t.forEach(function(t){var r=n._doc.createElement("style");r.textContent=t,n._styleNodes.add(e.appendChild(r))})},e.prototype.addHost=function(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)},e.prototype.removeHost=function(t){this._hostNodes.delete(t)},e.prototype.onStylesAdded=function(t){var e=this;this._hostNodes.forEach(function(n){return e._addStylesToHost(t,n)})},e.prototype.ngOnDestroy=function(){this._styleNodes.forEach(function(t){return lf().remove(t)})},e}(Rf),Of={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/"},Pf=/%COMP%/g,Nf="_nghost-%COMP%",Df="_ngcontent-%COMP%";function jf(t,e,n){for(var r=0;r<e.length;r++){var o=e[r];Array.isArray(o)?jf(t,o,n):(o=o.replace(Pf,t),n.push(o))}return n}function Mf(t){return function(e){!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}var Lf=function(){function t(t,e){this.eventManager=t,this.sharedStylesHost=e,this.rendererByCompId=new Map,this.defaultRenderer=new Uf(t)}return t.prototype.createRenderer=function(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case Wt.Emulated:var n=this.rendererByCompId.get(e.id);return n||(n=new Bf(this.eventManager,this.sharedStylesHost,e),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n;case Wt.Native:case Wt.ShadowDom:return new zf(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){var r=jf(e.id,e.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}},t.prototype.begin=function(){},t.prototype.end=function(){},t}(),Uf=function(){function t(t){this.eventManager=t,this.data=Object.create(null)}return t.prototype.destroy=function(){},t.prototype.createElement=function(t,e){return e?document.createElementNS(Of[e],t):document.createElement(t)},t.prototype.createComment=function(t){return document.createComment(t)},t.prototype.createText=function(t){return document.createTextNode(t)},t.prototype.appendChild=function(t,e){t.appendChild(e)},t.prototype.insertBefore=function(t,e,n){t&&t.insertBefore(e,n)},t.prototype.removeChild=function(t,e){t&&t.removeChild(e)},t.prototype.selectRootElement=function(t,e){var n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error('The selector "'+t+'" did not match any elements');return e||(n.textContent=""),n},t.prototype.parentNode=function(t){return t.parentNode},t.prototype.nextSibling=function(t){return t.nextSibling},t.prototype.setAttribute=function(t,e,n,r){if(r){e=r+":"+e;var o=Of[r];o?t.setAttributeNS(o,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)},t.prototype.removeAttribute=function(t,e,n){if(n){var r=Of[n];r?t.removeAttributeNS(r,e):t.removeAttribute(n+":"+e)}else t.removeAttribute(e)},t.prototype.addClass=function(t,e){t.classList.add(e)},t.prototype.removeClass=function(t,e){t.classList.remove(e)},t.prototype.setStyle=function(t,e,n,r){r&ao.DashCase?t.style.setProperty(e,n,r&ao.Important?"important":""):t.style[e]=n},t.prototype.removeStyle=function(t,e,n){n&ao.DashCase?t.style.removeProperty(e):t.style[e]=""},t.prototype.setProperty=function(t,e,n){Hf(e,"property"),t[e]=n},t.prototype.setValue=function(t,e){t.nodeValue=e},t.prototype.listen=function(t,e,n){return Hf(e,"listener"),"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,Mf(n)):this.eventManager.addEventListener(t,e,Mf(n))},t}(),Vf="@".charCodeAt(0);function Hf(t,e){if(t.charCodeAt(0)===Vf)throw new Error("Found the synthetic "+e+" "+t+'. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.')}var Ff,Bf=function(t){function e(e,n,r){var o=t.call(this,e)||this;o.component=r;var i=jf(r.id,r.styles,[]);return n.addStyles(i),o.contentAttr=Df.replace(Pf,r.id),o.hostAttr=Nf.replace(Pf,r.id),o}return o(e,t),e.prototype.applyToHost=function(e){t.prototype.setAttribute.call(this,e,this.hostAttr,"")},e.prototype.createElement=function(e,n){var r=t.prototype.createElement.call(this,e,n);return t.prototype.setAttribute.call(this,r,this.contentAttr,""),r},e}(Uf),zf=function(t){function e(e,n,r,o){var i=t.call(this,e)||this;i.sharedStylesHost=n,i.hostEl=r,i.component=o,i.shadowRoot=o.encapsulation===Wt.ShadowDom?r.attachShadow({mode:"open"}):r.createShadowRoot(),i.sharedStylesHost.addHost(i.shadowRoot);for(var a=jf(o.id,o.styles,[]),u=0;u<a.length;u++){var s=document.createElement("style");s.textContent=a[u],i.shadowRoot.appendChild(s)}return i}return o(e,t),e.prototype.nodeOrShadowRoot=function(t){return t===this.hostEl?this.shadowRoot:t},e.prototype.destroy=function(){this.sharedStylesHost.removeHost(this.shadowRoot)},e.prototype.appendChild=function(e,n){return t.prototype.appendChild.call(this,this.nodeOrShadowRoot(e),n)},e.prototype.insertBefore=function(e,n,r){return t.prototype.insertBefore.call(this,this.nodeOrShadowRoot(e),n,r)},e.prototype.removeChild=function(e,n){return t.prototype.removeChild.call(this,this.nodeOrShadowRoot(e),n)},e.prototype.parentNode=function(e){return this.nodeOrShadowRoot(t.prototype.parentNode.call(this,this.nodeOrShadowRoot(e)))},e}(Uf),qf="undefined"!=typeof Zone&&Zone.__symbol__||function(t){return"__zone_symbol__"+t},Zf=qf("addEventListener"),Gf=qf("removeEventListener"),Qf={},Wf="__zone_symbol__propagationStopped";"undefined"!=typeof Zone&&Zone[qf("BLACK_LISTED_EVENTS")]&&(Ff={});var Kf=function(t){return!!Ff&&Ff.hasOwnProperty(t)},Yf=function(t){var e=Qf[t.type];if(e){var n=this[e];if(n){var r=[t];if(1===n.length)return(a=n[0]).zone!==Zone.current?a.zone.run(a.handler,this,r):a.handler.apply(this,r);for(var o=n.slice(),i=0;i<o.length&&!0!==t[Wf];i++){var a;(a=o[i]).zone!==Zone.current?a.zone.run(a.handler,this,r):a.handler.apply(this,r)}}}},Jf=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.ngZone=n,r&&function(t){return t===of}(r)||o.patchEvent(),o}return o(e,t),e.prototype.patchEvent=function(){if("undefined"!=typeof Event&&Event&&Event.prototype&&!Event.prototype.__zone_symbol__stopImmediatePropagation){var t=Event.prototype.__zone_symbol__stopImmediatePropagation=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[Wf]=!0),t&&t.apply(this,arguments)}}},e.prototype.supports=function(t){return!0},e.prototype.addEventListener=function(t,e,n){var r=this,o=n;if(!t[Zf]||Oi.isInAngularZone()&&!Kf(e))t.addEventListener(e,o,!1);else{var i=Qf[e];i||(i=Qf[e]=qf("ANGULAR"+e+"FALSE"));var a=t[i],u=a&&a.length>0;a||(a=t[i]=[]);var s=Kf(e)?Zone.root:Zone.current;if(0===a.length)a.push({zone:s,handler:o});else{for(var l=!1,c=0;c<a.length;c++)if(a[c].handler===o){l=!0;break}l||a.push({zone:s,handler:o})}u||t[Zf](e,Yf,!1)}return function(){return r.removeEventListener(t,e,o)}},e.prototype.removeEventListener=function(t,e,n){var r=t[Gf];if(!r)return t.removeEventListener.apply(t,[e,n,!1]);var o=Qf[e],i=o&&t[o];if(!i)return t.removeEventListener.apply(t,[e,n,!1]);for(var a=!1,u=0;u<i.length;u++)if(i[u].handler===n){a=!0,i.splice(u,1);break}a?0===i.length&&r.apply(t,[e,Yf,!1]):t.removeEventListener.apply(t,[e,n,!1])},e}(If),$f={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},Xf=new Rt("HammerGestureConfig"),tp=new Rt("HammerLoader"),ep=function(){function t(){this.events=[],this.overrides={}}return t.prototype.buildHammer=function(t){var e=new Hammer(t,this.options);for(var n in e.get("pinch").set({enable:!0}),e.get("rotate").set({enable:!0}),this.overrides)e.get(n).set(this.overrides[n]);return e},t}(),np=function(t){function e(e,n,r,o){var i=t.call(this,e)||this;return i._config=n,i.console=r,i.loader=o,i}return o(e,t),e.prototype.supports=function(t){return!(!$f.hasOwnProperty(t.toLowerCase())&&!this.isCustomEvent(t)||!window.Hammer&&!this.loader&&(this.console.warn('The "'+t+'" event cannot be bound because Hammer.JS is not loaded and no custom loader has been specified.'),1))},e.prototype.addEventListener=function(t,e,n){var r=this,o=this.manager.getZone();if(e=e.toLowerCase(),!window.Hammer&&this.loader){var i=!1,a=function(){i=!0};return this.loader().then(function(){if(!window.Hammer)return r.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(a=function(){});i||(a=r.addEventListener(t,e,n))}).catch(function(){r.console.warn('The "'+e+'" event cannot be bound because the custom Hammer.JS loader failed.'),a=function(){}}),function(){a()}}return o.runOutsideAngular(function(){var i=r._config.buildHammer(t),a=function(t){o.runGuarded(function(){n(t)})};return i.on(e,a),function(){i.off(e,a),"function"==typeof i.destroy&&i.destroy()}})},e.prototype.isCustomEvent=function(t){return this._config.events.indexOf(t)>-1},e}(If),rp=["alt","control","meta","shift"],op={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},ip=function(t){function e(e){return t.call(this,e)||this}var n;return o(e,t),n=e,e.prototype.supports=function(t){return null!=n.parseEventName(t)},e.prototype.addEventListener=function(t,e,r){var o=n.parseEventName(e),i=n.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return lf().onAndCancel(t,o.domEventName,i)})},e.parseEventName=function(t){var e=t.toLowerCase().split("."),r=e.shift();if(0===e.length||"keydown"!==r&&"keyup"!==r)return null;var o=n._normalizeKey(e.pop()),i="";if(rp.forEach(function(t){var n=e.indexOf(t);n>-1&&(e.splice(n,1),i+=t+".")}),i+=o,0!=e.length||0===o.length)return null;var a={};return a.domEventName=r,a.fullKey=i,a},e.getEventFullKey=function(t){var e="",n=lf().getEventKey(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),rp.forEach(function(r){r!=n&&(0,op[r])(t)&&(e+=r+".")}),e+=n},e.eventCallback=function(t,e,r){return function(o){n.getEventFullKey(o)===t&&r.runGuarded(function(){return e(o)})}},e._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},e}(If),ap=function(){return function(){}}(),up=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n}return o(e,t),e.prototype.sanitize=function(t,e){if(null==e)return null;switch(t){case lo.NONE:return e;case lo.HTML:return e instanceof lp?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),function(t,e){var n=null;try{Ro=Ro||new xo(t);var r=e?String(e):"";n=Ro.getInertBodyElement(r);var o=5,i=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=Ro.getInertBodyElement(r)}while(r!==i);var a=new Uo,u=a.sanitizeChildren(Bo(n)||n);return Co()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss)."),u}finally{if(n)for(var s=Bo(n)||n;s.firstChild;)s.removeChild(s.firstChild)}}(this._doc,String(e)));case lo.STYLE:return e instanceof cp?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),function(t){if(!(t=String(t).trim()))return"";var e=t.match(Ko);return e&&ko(e[1])===e[1]||t.match(Wo)&&function(t){for(var e=!0,n=!0,r=0;r<t.length;r++){var o=t.charAt(r);"'"===o&&n?e=!e:'"'===o&&e&&(n=!n)}return e&&n}(t)?t:(Co()&&console.warn("WARNING: sanitizing unsafe style value "+t+" (see http://g.co/ng/security#xss)."),"unsafe")}(e));case lo.SCRIPT:if(e instanceof fp)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"Script"),new Error("unsafe value used in a script context");case lo.URL:return e instanceof hp||e instanceof pp?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"URL"),ko(String(e)));case lo.RESOURCE_URL:if(e instanceof hp)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+t+" (see http://g.co/ng/security#xss)")}},e.prototype.checkNotSafeValue=function(t,e){if(t instanceof sp)throw new Error("Required a safe "+e+", got a "+t.getTypeName()+" (see http://g.co/ng/security#xss)")},e.prototype.bypassSecurityTrustHtml=function(t){return new lp(t)},e.prototype.bypassSecurityTrustStyle=function(t){return new cp(t)},e.prototype.bypassSecurityTrustScript=function(t){return new fp(t)},e.prototype.bypassSecurityTrustUrl=function(t){return new pp(t)},e.prototype.bypassSecurityTrustResourceUrl=function(t){return new hp(t)},e}(ap),sp=function(){function t(t){this.changingThisBreaksApplicationSecurity=t}return t.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},t}(),lp=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTypeName=function(){return"HTML"},e}(sp),cp=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTypeName=function(){return"Style"},e}(sp),fp=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTypeName=function(){return"Script"},e}(sp),pp=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTypeName=function(){return"URL"},e}(sp),hp=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getTypeName=function(){return"ResourceURL"},e}(sp),dp=qi(Ta,"browser",[{provide:di,useValue:rf},{provide:hi,useValue:function(){vf.makeCurrent(),Cf.init()},multi:!0},{provide:Lc,useClass:bf,deps:[yf]},{provide:yf,useFactory:function(){return document},deps:[]}]);function vp(){return new ii}var gp=function(){function t(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}var e;return e=t,t.withServerTransition=function(t){return{ngModule:e,providers:[{provide:ci,useValue:t.appId},{provide:_f,useExisting:ci},wf]}},t}();"undefined"!=typeof window&&window;var yp=function(){return function(t,e){this.id=t,this.url=e}}(),mp=function(t){function e(e,n,r,o){void 0===r&&(r="imperative"),void 0===o&&(o=null);var i=t.call(this,e,n)||this;return i.navigationTrigger=r,i.restoredState=o,i}return o(e,t),e.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"},e}(yp),bp=function(t){function e(e,n,r){var o=t.call(this,e,n)||this;return o.urlAfterRedirects=r,o}return o(e,t),e.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"},e}(yp),_p=function(t){function e(e,n,r){var o=t.call(this,e,n)||this;return o.reason=r,o}return o(e,t),e.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"},e}(yp),wp=function(t){function e(e,n,r){var o=t.call(this,e,n)||this;return o.error=r,o}return o(e,t),e.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"},e}(yp),Cp=function(t){function e(e,n,r,o){var i=t.call(this,e,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return o(e,t),e.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(yp),xp=function(t){function e(e,n,r,o){var i=t.call(this,e,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return o(e,t),e.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(yp),Ep=function(t){function e(e,n,r,o,i){var a=t.call(this,e,n)||this;return a.urlAfterRedirects=r,a.state=o,a.shouldActivate=i,a}return o(e,t),e.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"},e}(yp),Sp=function(t){function e(e,n,r,o){var i=t.call(this,e,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return o(e,t),e.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(yp),kp=function(t){function e(e,n,r,o){var i=t.call(this,e,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return o(e,t),e.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(yp),Tp=function(){function t(t){this.route=t}return t.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"},t}(),Ip=function(){function t(t){this.route=t}return t.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"},t}(),Rp=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),Ap=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),Op=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),Pp=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),Np=function(){function t(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}return t.prototype.toString=function(){return"Scroll(anchor: '"+this.anchor+"', position: '"+(this.position?this.position[0]+", "+this.position[1]:null)+"')"},t}(),Dp=function(){return function(){}}(),jp="primary",Mp=function(){function t(t){this.params=t||{}}return t.prototype.has=function(t){return this.params.hasOwnProperty(t)},t.prototype.get=function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e[0]:e}return null},t.prototype.getAll=function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e:[e]}return[]},Object.defineProperty(t.prototype,"keys",{get:function(){return Object.keys(this.params)},enumerable:!0,configurable:!0}),t}();function Lp(t){return new Mp(t)}var Up="ngNavigationCancelingError";function Vp(t){var e=Error("NavigationCancelingError: "+t);return e[Up]=!0,e}function Hp(t,e,n){var r=n.path.split("/");if(r.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||r.length<t.length))return null;for(var o={},i=0;i<r.length;i++){var a=r[i],u=t[i];if(a.startsWith(":"))o[a.substring(1)]=u;else if(a!==u.path)return null}return{consumed:t.slice(0,r.length),posParams:o}}var Fp=function(){return function(t,e){this.routes=t,this.module=e}}();function Bp(t,e){void 0===e&&(e="");for(var n=0;n<t.length;n++){var r=t[n];zp(r,qp(e,r))}}function zp(t,e){if(!t)throw new Error("\n      Invalid configuration of route '"+e+"': Encountered undefined route.\n      The reason might be an extra comma.\n\n      Example:\n      const routes: Routes = [\n        { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n        { path: 'dashboard',  component: DashboardComponent },, << two commas\n        { path: 'detail/:id', component: HeroDetailComponent }\n      ];\n    ");if(Array.isArray(t))throw new Error("Invalid configuration of route '"+e+"': Array cannot be specified");if(!t.component&&!t.children&&!t.loadChildren&&t.outlet&&t.outlet!==jp)throw new Error("Invalid configuration of route '"+e+"': a componentless route without children or loadChildren cannot have a named outlet set");if(t.redirectTo&&t.children)throw new Error("Invalid configuration of route '"+e+"': redirectTo and children cannot be used together");if(t.redirectTo&&t.loadChildren)throw new Error("Invalid configuration of route '"+e+"': redirectTo and loadChildren cannot be used together");if(t.children&&t.loadChildren)throw new Error("Invalid configuration of route '"+e+"': children and loadChildren cannot be used together");if(t.redirectTo&&t.component)throw new Error("Invalid configuration of route '"+e+"': redirectTo and component cannot be used together");if(t.path&&t.matcher)throw new Error("Invalid configuration of route '"+e+"': path and matcher cannot be used together");if(void 0===t.redirectTo&&!t.component&&!t.children&&!t.loadChildren)throw new Error("Invalid configuration of route '"+e+"'. One of the following must be provided: component, redirectTo, children or loadChildren");if(void 0===t.path&&void 0===t.matcher)throw new Error("Invalid configuration of route '"+e+"': routes must have either a path or a matcher specified");if("string"==typeof t.path&&"/"===t.path.charAt(0))throw new Error("Invalid configuration of route '"+e+"': path cannot start with a slash");if(""===t.path&&void 0!==t.redirectTo&&void 0===t.pathMatch)throw new Error("Invalid configuration of route '{path: \""+e+'", redirectTo: "'+t.redirectTo+"\"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.");if(void 0!==t.pathMatch&&"full"!==t.pathMatch&&"prefix"!==t.pathMatch)throw new Error("Invalid configuration of route '"+e+"': pathMatch can only be set to 'prefix' or 'full'");t.children&&Bp(t.children,e)}function qp(t,e){return e?t||e.path?t&&!e.path?t+"/":!t&&e.path?e.path:t+"/"+e.path:"":t}function Zp(t){var e=t.children&&t.children.map(Zp),n=e?i({},t,{children:e}):i({},t);return!n.component&&(e||n.loadChildren)&&n.outlet&&n.outlet!==jp&&(n.component=Dp),n}function Gp(t,e){var n,r=Object.keys(t),o=Object.keys(e);if(r.length!=o.length)return!1;for(var i=0;i<r.length;i++)if(t[n=r[i]]!==e[n])return!1;return!0}function Qp(t){return Array.prototype.concat.apply([],t)}function Wp(t){return t.length>0?t[t.length-1]:null}function Kp(t,e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)}function Yp(t){return ui(t)?t:ai(t)?ot(Promise.resolve(t)):Ql(t)}function Jp(t,e,n){return n?function(t,e){return Gp(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!eh(e.segments,n.segments))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(var r in n.children){if(!e.children[r])return!1;if(!t(e.children[r],n.children[r]))return!1}return!0}(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(function(n){return e[n]===t[n]})}(t.queryParams,e.queryParams)&&function t(e,n){return function e(n,r,o){if(n.segments.length>o.length)return!!eh(a=n.segments.slice(0,o.length),o)&&!r.hasChildren();if(n.segments.length===o.length){if(!eh(n.segments,o))return!1;for(var i in r.children){if(!n.children[i])return!1;if(!t(n.children[i],r.children[i]))return!1}return!0}var a=o.slice(0,n.segments.length),u=o.slice(n.segments.length);return!!eh(n.segments,a)&&!!n.children[jp]&&e(n.children[jp],r,u)}(e,n,n.segments)}(t.root,e.root)}var $p=function(){function t(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}return Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=Lp(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return ih.serialize(this)},t}(),Xp=function(){function t(t,e){var n=this;this.segments=t,this.children=e,this.parent=null,Kp(e,function(t,e){return t.parent=n})}return t.prototype.hasChildren=function(){return this.numberOfChildren>0},Object.defineProperty(t.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return ah(this)},t}(),th=function(){function t(t,e){this.path=t,this.parameters=e}return Object.defineProperty(t.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=Lp(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return ph(this)},t}();function eh(t,e){return t.length===e.length&&t.every(function(t,n){return t.path===e[n].path})}function nh(t,e){var n=[];return Kp(t.children,function(t,r){r===jp&&(n=n.concat(e(t,r)))}),Kp(t.children,function(t,r){r!==jp&&(n=n.concat(e(t,r)))}),n}var rh=function(){return function(){}}(),oh=function(){function t(){}return t.prototype.parse=function(t){var e=new yh(t);return new $p(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())},t.prototype.serialize=function(t){var e,n;return"/"+function t(e,n){if(!e.hasChildren())return ah(e);if(n){var r=e.children[jp]?t(e.children[jp],!1):"",o=[];return Kp(e.children,function(e,n){n!==jp&&o.push(n+":"+t(e,!1))}),o.length>0?r+"("+o.join("//")+")":r}var i=nh(e,function(n,r){return r===jp?[t(e.children[jp],!1)]:[r+":"+t(n,!1)]});return ah(e)+"/("+i.join("//")+")"}(t.root,!0)+(e=t.queryParams,(n=Object.keys(e).map(function(t){var n=e[t];return Array.isArray(n)?n.map(function(e){return sh(t)+"="+sh(e)}).join("&"):sh(t)+"="+sh(n)})).length?"?"+n.join("&"):"")+("string"==typeof t.fragment?"#"+encodeURI(t.fragment):"")},t}(),ih=new oh;function ah(t){return t.segments.map(function(t){return ph(t)}).join("/")}function uh(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function sh(t){return uh(t).replace(/%3B/gi,";")}function lh(t){return uh(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ch(t){return decodeURIComponent(t)}function fh(t){return ch(t.replace(/\+/g,"%20"))}function ph(t){return""+lh(t.path)+(e=t.parameters,Object.keys(e).map(function(t){return";"+lh(t)+"="+lh(e[t])}).join(""));var e}var hh=/^[^\/()?;=#]+/;function dh(t){var e=t.match(hh);return e?e[0]:""}var vh=/^[^=?&#]+/,gh=/^[^?&#]+/,yh=function(){function t(t){this.url=t,this.remaining=t}return t.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Xp([],{}):new Xp([],this.parseChildren())},t.prototype.parseQueryParams=function(){var t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t},t.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null},t.prototype.parseChildren=function(){if(""===this.remaining)return{};this.consumeOptional("/");var t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());var e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n[jp]=new Xp(t,e)),n},t.prototype.parseSegment=function(){var t=dh(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(t),new th(ch(t),this.parseMatrixParams())},t.prototype.parseMatrixParams=function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t},t.prototype.parseParam=function(t){var e=dh(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var r=dh(this.remaining);r&&this.capture(n=r)}t[ch(e)]=ch(n)}},t.prototype.parseQueryParam=function(t){var e,n=(e=this.remaining.match(vh))?e[0]:"";if(n){this.capture(n);var r="";if(this.consumeOptional("=")){var o=function(t){var e=t.match(gh);return e?e[0]:""}(this.remaining);o&&this.capture(r=o)}var i=fh(n),a=fh(r);if(t.hasOwnProperty(i)){var u=t[i];Array.isArray(u)||(t[i]=u=[u]),u.push(a)}else t[i]=a}},t.prototype.parseParens=function(t){var e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=dh(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error("Cannot parse url '"+this.url+"'");var o=void 0;n.indexOf(":")>-1?(o=n.substr(0,n.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=jp);var i=this.parseChildren();e[o]=1===Object.keys(i).length?i[jp]:new Xp([],i),this.consumeOptional("//")}return e},t.prototype.peekStartsWith=function(t){return this.remaining.startsWith(t)},t.prototype.consumeOptional=function(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)},t.prototype.capture=function(t){if(!this.consumeOptional(t))throw new Error('Expected "'+t+'".')},t}(),mh=function(){function t(t){this._root=t}return Object.defineProperty(t.prototype,"root",{get:function(){return this._root.value},enumerable:!0,configurable:!0}),t.prototype.parent=function(t){var e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null},t.prototype.children=function(t){var e=bh(t,this._root);return e?e.children.map(function(t){return t.value}):[]},t.prototype.firstChild=function(t){var e=bh(t,this._root);return e&&e.children.length>0?e.children[0].value:null},t.prototype.siblings=function(t){var e=_h(t,this._root);return e.length<2?[]:e[e.length-2].children.map(function(t){return t.value}).filter(function(e){return e!==t})},t.prototype.pathFromRoot=function(t){return _h(t,this._root).map(function(t){return t.value})},t}();function bh(t,e){var n,r;if(t===e.value)return e;try{for(var o=s(e.children),i=o.next();!i.done;i=o.next()){var a=bh(t,i.value);if(a)return a}}catch(u){n={error:u}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return null}function _h(t,e){var n,r;if(t===e.value)return[e];try{for(var o=s(e.children),i=o.next();!i.done;i=o.next()){var a=_h(t,i.value);if(a.length)return a.unshift(e),a}}catch(u){n={error:u}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return[]}var wh=function(){function t(t,e){this.value=t,this.children=e}return t.prototype.toString=function(){return"TreeNode("+this.value+")"},t}();function Ch(t){var e={};return t&&t.children.forEach(function(t){return e[t.value.outlet]=t}),e}var xh=function(t){function e(e,n){var r=t.call(this,e)||this;return r.snapshot=n,Rh(r,e),r}return o(e,t),e.prototype.toString=function(){return this.snapshot.toString()},e}(mh);function Eh(t,e){var n=function(t,e){var n=new Th([],{},{},"",{},jp,e,null,t.root,-1,{});return new Ih("",new wh(n,[]))}(t,e),r=new Wl([new th("",{})]),o=new Wl({}),i=new Wl({}),a=new Wl({}),u=new Wl(""),s=new Sh(r,o,a,u,i,jp,e,n.root);return s.snapshot=n.root,new xh(new wh(s,[]),n)}var Sh=function(){function t(t,e,n,r,o,i,a,u){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=i,this.component=a,this._futureSnapshot=u}return Object.defineProperty(t.prototype,"routeConfig",{get:function(){return this._futureSnapshot.routeConfig},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=this.params.pipe(tt(function(t){return Lp(t)}))),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(tt(function(t){return Lp(t)}))),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},t}();function kh(t,e){void 0===e&&(e="emptyOnly");var n=t.pathFromRoot,r=0;if("always"!==e)for(r=n.length-1;r>=1;){var o=n[r],a=n[r-1];if(o.routeConfig&&""===o.routeConfig.path)r--;else{if(a.component)break;r--}}return function(t){return t.reduce(function(t,e){return{params:i({},t.params,e.params),data:i({},t.data,e.data),resolve:i({},t.resolve,e._resolvedData)}},{params:{},data:{},resolve:{}})}(n.slice(r))}var Th=function(){function t(t,e,n,r,o,i,a,u,s,l,c){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=i,this.component=a,this.routeConfig=u,this._urlSegment=s,this._lastPathIndex=l,this._resolve=c}return Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=Lp(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=Lp(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return"Route(url:'"+this.url.map(function(t){return t.toString()}).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"},t}(),Ih=function(t){function e(e,n){var r=t.call(this,n)||this;return r.url=e,Rh(r,n),r}return o(e,t),e.prototype.toString=function(){return Ah(this._root)},e}(mh);function Rh(t,e){e.value._routerState=t,e.children.forEach(function(e){return Rh(t,e)})}function Ah(t){var e=t.children.length>0?" { "+t.children.map(Ah).join(", ")+" } ":"";return""+t.value+e}function Oh(t){if(t.snapshot){var e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,Gp(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),Gp(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(var n=0;n<t.length;++n)if(!Gp(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.url.next(n.url),Gp(e.data,n.data)||t.data.next(n.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function Ph(t,e){var n,r;return Gp(t.params,e.params)&&eh(n=t.url,r=e.url)&&n.every(function(t,e){return Gp(t.parameters,r[e].parameters)})&&!(!t.parent!=!e.parent)&&(!t.parent||Ph(t.parent,e.parent))}function Nh(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function Dh(t,e,n,r,o){var i={};return r&&Kp(r,function(t,e){i[e]=Array.isArray(t)?t.map(function(t){return""+t}):""+t}),new $p(n.root===t?e:function t(e,n,r){var o={};return Kp(e.children,function(e,i){o[i]=e===n?r:t(e,n,r)}),new Xp(e.segments,o)}(n.root,t,e),i,o)}var jh=function(){function t(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&Nh(n[0]))throw new Error("Root segment cannot have matrix parameters");var r=n.find(function(t){return"object"==typeof t&&null!=t&&t.outlets});if(r&&r!==Wp(n))throw new Error("{outlets:{}} has to be the last command")}return t.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},t}(),Mh=function(){return function(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}();function Lh(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets[jp]:""+t}function Uh(t,e,n){if(t||(t=new Xp([],{})),0===t.segments.length&&t.hasChildren())return Vh(t,e,n);var r=function(t,e,n){for(var r=0,o=e,i={match:!1,pathIndex:0,commandIndex:0};o<t.segments.length;){if(r>=n.length)return i;var a=t.segments[o],u=Lh(n[r]),s=r<n.length-1?n[r+1]:null;if(o>0&&void 0===u)break;if(u&&s&&"object"==typeof s&&void 0===s.outlets){if(!zh(u,s,a))return i;r+=2}else{if(!zh(u,{},a))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}(t,e,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){var i=new Xp(t.segments.slice(0,r.pathIndex),{});return i.children[jp]=new Xp(t.segments.slice(r.pathIndex),t.children),Vh(i,0,o)}return r.match&&0===o.length?new Xp(t.segments,{}):r.match&&!t.hasChildren()?Hh(t,e,n):r.match?Vh(t,0,o):Hh(t,e,n)}function Vh(t,e,n){if(0===n.length)return new Xp(t.segments,{});var r=function(t){var e,n;return"object"!=typeof t[0]?((e={})[jp]=t,e):void 0===t[0].outlets?((n={})[jp]=t,n):t[0].outlets}(n),o={};return Kp(r,function(n,r){null!==n&&(o[r]=Uh(t.children[r],e,n))}),Kp(t.children,function(t,e){void 0===r[e]&&(o[e]=t)}),new Xp(t.segments,o)}function Hh(t,e,n){for(var r=t.segments.slice(0,e),o=0;o<n.length;){if("object"==typeof n[o]&&void 0!==n[o].outlets){var i=Fh(n[o].outlets);return new Xp(r,i)}if(0===o&&Nh(n[0]))r.push(new th(t.segments[e].path,n[0])),o++;else{var a=Lh(n[o]),u=o<n.length-1?n[o+1]:null;a&&u&&Nh(u)?(r.push(new th(a,Bh(u))),o+=2):(r.push(new th(a,{})),o++)}}return new Xp(r,{})}function Fh(t){var e={};return Kp(t,function(t,n){null!==t&&(e[n]=Hh(new Xp([],{}),0,t))}),e}function Bh(t){var e={};return Kp(t,function(t,n){return e[n]=""+t}),e}function zh(t,e,n){return t==n.path&&Gp(e,n.parameters)}var qh=function(){function t(t,e,n,r){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=r}return t.prototype.activate=function(t){var e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),Oh(this.futureState.root),this.activateChildRoutes(e,n,t)},t.prototype.deactivateChildRoutes=function(t,e,n){var r=this,o=Ch(e);t.children.forEach(function(t){var e=t.value.outlet;r.deactivateRoutes(t,o[e],n),delete o[e]}),Kp(o,function(t,e){r.deactivateRouteAndItsChildren(t,n)})},t.prototype.deactivateRoutes=function(t,e,n){var r=t.value,o=e?e.value:null;if(r===o)if(r.component){var i=n.getContext(r.outlet);i&&this.deactivateChildRoutes(t,e,i.children)}else this.deactivateChildRoutes(t,e,n);else o&&this.deactivateRouteAndItsChildren(e,n)},t.prototype.deactivateRouteAndItsChildren=function(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)},t.prototype.detachAndStoreRouteSubtree=function(t,e){var n=e.getContext(t.value.outlet);if(n&&n.outlet){var r=n.outlet.detach(),o=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:r,route:t,contexts:o})}},t.prototype.deactivateRouteAndOutlet=function(t,e){var n=this,r=e.getContext(t.value.outlet);if(r){var o=Ch(t),i=t.value.component?r.children:e;Kp(o,function(t,e){return n.deactivateRouteAndItsChildren(t,i)}),r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated())}},t.prototype.activateChildRoutes=function(t,e,n){var r=this,o=Ch(e);t.children.forEach(function(t){r.activateRoutes(t,o[t.value.outlet],n),r.forwardEvent(new Pp(t.value.snapshot))}),t.children.length&&this.forwardEvent(new Ap(t.value.snapshot))},t.prototype.activateRoutes=function(t,e,n){var r=t.value,o=e?e.value:null;if(Oh(r),r===o)if(r.component){var i=n.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,i.children)}else this.activateChildRoutes(t,e,n);else if(r.component)if(i=n.getOrCreateContext(r.outlet),this.routeReuseStrategy.shouldAttach(r.snapshot)){var a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),i.children.onOutletReAttached(a.contexts),i.attachRef=a.componentRef,i.route=a.route.value,i.outlet&&i.outlet.attach(a.componentRef,a.route.value),Zh(a.route)}else{var u=function(t){for(var e=r.snapshot.parent;e;e=e.parent){var n=e.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig;if(n&&n.component)return null}return null}(),s=u?u.module.componentFactoryResolver:null;i.attachRef=null,i.route=r,i.resolver=s,i.outlet&&i.outlet.activateWith(r,s),this.activateChildRoutes(t,null,i.children)}else this.activateChildRoutes(t,null,n)},t}();function Zh(t){Oh(t.value),t.children.forEach(Zh)}function Gh(t){return"function"==typeof t}function Qh(t){return t instanceof $p}var Wh=function(){return function(t){this.segmentGroup=t||null}}(),Kh=function(){return function(t){this.urlTree=t}}();function Yh(t){return new N(function(e){return e.error(new Wh(t))})}function Jh(t){return new N(function(e){return e.error(new Kh(t))})}function $h(t){return new N(function(e){return e.error(new Error("Only absolute redirects can have named outlets. redirectTo: '"+t+"'"))})}var Xh=function(){function t(t,e,n,r,o){this.configLoader=e,this.urlSerializer=n,this.urlTree=r,this.config=o,this.allowRedirects=!0,this.ngModule=t.get(Xr)}return t.prototype.apply=function(){var t=this;return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,jp).pipe(tt(function(e){return t.createUrlTree(e,t.urlTree.queryParams,t.urlTree.fragment)})).pipe(bc(function(e){if(e instanceof Kh)return t.allowRedirects=!1,t.match(e.urlTree);if(e instanceof Wh)throw t.noMatchError(e);throw e}))},t.prototype.match=function(t){var e=this;return this.expandSegmentGroup(this.ngModule,this.config,t.root,jp).pipe(tt(function(n){return e.createUrlTree(n,t.queryParams,t.fragment)})).pipe(bc(function(t){if(t instanceof Wh)throw e.noMatchError(t);throw t}))},t.prototype.noMatchError=function(t){return new Error("Cannot match any routes. URL Segment: '"+t.segmentGroup+"'")},t.prototype.createUrlTree=function(t,e,n){var r,o=t.segments.length>0?new Xp([],((r={})[jp]=t,r)):t;return new $p(o,e,n)},t.prototype.expandSegmentGroup=function(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(tt(function(t){return new Xp([],t)})):this.expandSegment(t,n,e,n.segments,r,!0)},t.prototype.expandChildren=function(t,e,n){var r=this;return function(n,o){if(0===Object.keys(n).length)return Ql({});var i=[],a=[],u={};return Kp(n,function(n,o){var s,l,c=(s=o,l=n,r.expandSegmentGroup(t,e,l,s)).pipe(tt(function(t){return u[o]=t}));o===jp?i.push(c):a.push(c)}),Ql.apply(null,i.concat(a)).pipe(ec(),mc(),tt(function(){return u}))}(n.children)},t.prototype.expandSegment=function(t,e,n,r,o,i){var a=this;return Ql.apply(void 0,c(n)).pipe(tt(function(u){return a.expandSegmentAgainstRoute(t,e,n,u,r,o,i).pipe(bc(function(t){if(t instanceof Wh)return Ql(null);throw t}))}),ec(),Sc(function(t){return!!t}),bc(function(t,n){if(t instanceof Yl||"EmptyError"===t.name){if(a.noLeftoversInUrl(e,r,o))return Ql(new Xp([],{}));throw new Wh(e)}throw t}))},t.prototype.noLeftoversInUrl=function(t,e,n){return 0===e.length&&!t.children[n]},t.prototype.expandSegmentAgainstRoute=function(t,e,n,r,o,i,a){return rd(r)!==i?Yh(e):void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,o):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,o,i):Yh(e)},t.prototype.expandSegmentAgainstRouteUsingRedirect=function(t,e,n,r,o,i){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,i):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,o,i)},t.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(t,e,n,r){var o=this,i=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Jh(i):this.lineralizeSegments(n,i).pipe(it(function(n){var i=new Xp(n,{});return o.expandSegment(t,i,e,n,r,!1)}))},t.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(t,e,n,r,o,i){var a=this,u=td(e,r,o),s=u.consumedSegments,l=u.lastChild,c=u.positionalParamSegments;if(!u.matched)return Yh(e);var f=this.applyRedirectCommands(s,r.redirectTo,c);return r.redirectTo.startsWith("/")?Jh(f):this.lineralizeSegments(r,f).pipe(it(function(r){return a.expandSegment(t,e,n,r.concat(o.slice(l)),i,!1)}))},t.prototype.matchSegmentAgainstRoute=function(t,e,n,r){var o=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(tt(function(t){return n._loadedConfig=t,new Xp(r,{})})):Ql(new Xp(r,{}));var a=td(e,n,r),u=a.consumedSegments,l=a.lastChild;if(!a.matched)return Yh(e);var c=r.slice(l);return this.getChildConfig(t,n,r).pipe(it(function(t){var n=t.module,r=t.routes,a=function(t,e,n,r){return n.length>0&&function(t,e,n){return r.some(function(n){return nd(t,e,n)&&rd(n)!==jp})}(t,n)?{segmentGroup:ed(new Xp(e,function(t,e){var n,r,o={};o[jp]=e;try{for(var i=s(t),a=i.next();!a.done;a=i.next()){var u=a.value;""===u.path&&rd(u)!==jp&&(o[rd(u)]=new Xp([],{}))}}catch(l){n={error:l}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return o}(r,new Xp(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return r.some(function(n){return nd(t,e,n)})}(t,n)?{segmentGroup:ed(new Xp(t.segments,function(t,e,n,r){var o,a,u={};try{for(var l=s(n),c=l.next();!c.done;c=l.next()){var f=c.value;nd(t,e,f)&&!r[rd(f)]&&(u[rd(f)]=new Xp([],{}))}}catch(p){o={error:p}}finally{try{c&&!c.done&&(a=l.return)&&a.call(l)}finally{if(o)throw o.error}}return i({},r,u)}(t,n,r,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,u,c,r),l=a.segmentGroup,f=a.slicedSegments;return 0===f.length&&l.hasChildren()?o.expandChildren(n,r,l).pipe(tt(function(t){return new Xp(u,t)})):0===r.length&&0===f.length?Ql(new Xp(u,{})):o.expandSegment(n,l,r,f,jp,!0).pipe(tt(function(t){return new Xp(u.concat(t.segments),t.children)}))}))},t.prototype.getChildConfig=function(t,e,n){var r=this;return e.children?Ql(new Fp(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Ql(e._loadedConfig):function(t,e,n){var r,o=e.canLoad;return o&&0!==o.length?ot(o).pipe(tt(function(r){var o,i=t.get(r);if(function(t){return t&&Gh(t.canLoad)}(i))o=i.canLoad(e,n);else{if(!Gh(i))throw new Error("Invalid CanLoad guard");o=i(e,n)}return Yp(o)})).pipe(ec(),(r=function(t){return!0===t},function(t){return t.lift(new kc(r,void 0,t))})):Ql(!0)}(t.injector,e,n).pipe(it(function(n){return n?r.configLoader.load(t.injector,e).pipe(tt(function(t){return e._loadedConfig=t,t})):function(t){return new N(function(e){return e.error(Vp("Cannot load children because the guard of the route \"path: '"+t.path+"'\" returned false"))})}(e)})):Ql(new Fp([],t))},t.prototype.lineralizeSegments=function(t,e){for(var n=[],r=e.root;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Ql(n);if(r.numberOfChildren>1||!r.children[jp])return $h(t.redirectTo);r=r.children[jp]}},t.prototype.applyRedirectCommands=function(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)},t.prototype.applyRedirectCreatreUrlTree=function(t,e,n,r){var o=this.createSegmentGroup(t,e.root,n,r);return new $p(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)},t.prototype.createQueryParams=function(t,e){var n={};return Kp(t,function(t,r){if("string"==typeof t&&t.startsWith(":")){var o=t.substring(1);n[r]=e[o]}else n[r]=t}),n},t.prototype.createSegmentGroup=function(t,e,n,r){var o=this,i=this.createSegments(t,e.segments,n,r),a={};return Kp(e.children,function(e,i){a[i]=o.createSegmentGroup(t,e,n,r)}),new Xp(i,a)},t.prototype.createSegments=function(t,e,n,r){var o=this;return e.map(function(e){return e.path.startsWith(":")?o.findPosParam(t,e,r):o.findOrReturn(e,n)})},t.prototype.findPosParam=function(t,e,n){var r=n[e.path.substring(1)];if(!r)throw new Error("Cannot redirect to '"+t+"'. Cannot find '"+e.path+"'.");return r},t.prototype.findOrReturn=function(t,e){var n,r,o=0;try{for(var i=s(e),a=i.next();!a.done;a=i.next()){var u=a.value;if(u.path===t.path)return e.splice(o),u;o++}}catch(l){n={error:l}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return t},t}();function td(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var r=(e.matcher||Hp)(n,t,e);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function ed(t){if(1===t.numberOfChildren&&t.children[jp]){var e=t.children[jp];return new Xp(t.segments.concat(e.segments),e.children)}return t}function nd(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function rd(t){return t.outlet||jp}var od=function(){return function(t){this.path=t,this.route=this.path[this.path.length-1]}}(),id=function(){return function(t,e){this.component=t,this.route=e}}();function ad(t,e,n){var r=function(t){if(!t)return null;for(var e=t.parent;e;e=e.parent){var n=e.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(e);return(r?r.module.injector:n).get(t)}function ud(t,e,n,r,o){void 0===o&&(o={canDeactivateChecks:[],canActivateChecks:[]});var i=Ch(e);return t.children.forEach(function(t){!function(t,e,n,r,o){void 0===o&&(o={canDeactivateChecks:[],canActivateChecks:[]});var i=t.value,a=e?e.value:null,u=n?n.getContext(t.value.outlet):null;if(a&&i.routeConfig===a.routeConfig){var s=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!eh(t.url,e.url);case"pathParamsOrQueryParamsChange":return!eh(t.url,e.url)||!Gp(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ph(t,e)||!Gp(t.queryParams,e.queryParams);case"paramsChange":default:return!Ph(t,e)}}(a,i,i.routeConfig.runGuardsAndResolvers);s?o.canActivateChecks.push(new od(r)):(i.data=a.data,i._resolvedData=a._resolvedData),ud(t,e,i.component?u?u.children:null:n,r,o),s&&o.canDeactivateChecks.push(new id(u&&u.outlet&&u.outlet.component||null,a))}else a&&sd(e,u,o),o.canActivateChecks.push(new od(r)),ud(t,null,i.component?u?u.children:null:n,r,o)}(t,i[t.value.outlet],n,r.concat([t.value]),o),delete i[t.value.outlet]}),Kp(i,function(t,e){return sd(t,n.getContext(e),o)}),o}function sd(t,e,n){var r=Ch(t),o=t.value;Kp(r,function(t,r){sd(t,o.component?e?e.children.getContext(r):null:e,n)}),n.canDeactivateChecks.push(new id(o.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,o))}var ld=Symbol("INITIAL_VALUE");function cd(){return Ic(function(t){return(function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=null,r=null;return F(t[t.length-1])&&(r=t.pop()),"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&f(t[0])&&(t=t[0]),rt(t,r).lift(new $l(n))}).apply(void 0,c(t.map(function(t){return t.pipe(Cc(1),function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){var n=t[t.length-1];F(n)?t.pop():n=null;var r=t.length;return function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length||2===t.length&&F(t[1])?ot(t[0]):ec()(Ql.apply(void 0,t))}(1!==r||n?r>0?rt(t,n):Zl(n):Gl(t[0]),e)}}(ld))}))).pipe(Oc(function(t,e){var n=!1;return e.reduce(function(t,r,o){if(t!==ld)return t;if(r===ld&&(n=!0),!n){if(!1===r)return r;if(o===e.length-1||Qh(r))return r}return t},t)},ld),nc(function(t){return t!==ld}),tt(function(t){return Qh(t)?t:!0===t}),Cc(1))})}function fd(t,e){return null!==t&&e&&e(new Op(t)),Ql(!0)}function pd(t,e){return null!==t&&e&&e(new Rp(t)),Ql(!0)}function hd(t,e,n){var r=e.routeConfig?e.routeConfig.canActivate:null;return r&&0!==r.length?Ql(r.map(function(r){return tc(function(){var o,i=ad(r,e,n);if(function(t){return t&&Gh(t.canActivate)}(i))o=Yp(i.canActivate(e,t));else{if(!Gh(i))throw new Error("Invalid CanActivate guard");o=Yp(i(e,t))}return o.pipe(Sc())})})).pipe(cd()):Ql(!0)}function dd(t,e,n){var r=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(function(t){return function(t){var e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)}).filter(function(t){return null!==t}).map(function(e){return tc(function(){return Ql(e.guards.map(function(o){var i,a=ad(o,e.node,n);if(function(t){return t&&Gh(t.canActivateChild)}(a))i=Yp(a.canActivateChild(r,t));else{if(!Gh(a))throw new Error("Invalid CanActivateChild guard");i=Yp(a(r,t))}return i.pipe(Sc())})).pipe(cd())})});return Ql(o).pipe(cd())}var vd=function(){return function(){}}(),gd=function(){function t(t,e,n,r,o,i){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=i}return t.prototype.recognize=function(){try{var t=bd(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,jp),n=new Th([],Object.freeze({}),Object.freeze(i({},this.urlTree.queryParams)),this.urlTree.fragment,{},jp,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new wh(n,e),o=new Ih(this.url,r);return this.inheritParamsAndData(o._root),Ql(o)}catch(a){return new N(function(t){return t.error(a)})}},t.prototype.inheritParamsAndData=function(t){var e=this,n=t.value,r=kh(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),t.children.forEach(function(t){return e.inheritParamsAndData(t)})},t.prototype.processSegmentGroup=function(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)},t.prototype.processChildren=function(t,e){var n,r=this,o=nh(e,function(e,n){return r.processSegmentGroup(t,e,n)});return n={},o.forEach(function(t){var e=n[t.value.outlet];if(e){var r=e.url.map(function(t){return t.toString()}).join("/"),o=t.value.url.map(function(t){return t.toString()}).join("/");throw new Error("Two segments cannot have the same outlet name: '"+r+"' and '"+o+"'.")}n[t.value.outlet]=t.value}),o.sort(function(t,e){return t.value.outlet===jp?-1:e.value.outlet===jp?1:t.value.outlet.localeCompare(e.value.outlet)}),o},t.prototype.processSegment=function(t,e,n,r){var o,i;try{for(var a=s(t),u=a.next();!u.done;u=a.next()){var l=u.value;try{return this.processSegmentAgainstRoute(l,e,n,r)}catch(c){if(!(c instanceof vd))throw c}}}catch(f){o={error:f}}finally{try{u&&!u.done&&(i=a.return)&&i.call(a)}finally{if(o)throw o.error}}if(this.noLeftoversInUrl(e,n,r))return[];throw new vd},t.prototype.noLeftoversInUrl=function(t,e,n){return 0===e.length&&!t.children[n]},t.prototype.processSegmentAgainstRoute=function(t,e,n,r){if(t.redirectTo)throw new vd;if((t.outlet||jp)!==r)throw new vd;var o,a=[],u=[];if("**"===t.path){var s=n.length>0?Wp(n).parameters:{};o=new Th(n,s,Object.freeze(i({},this.urlTree.queryParams)),this.urlTree.fragment,Cd(t),r,t.component,t,yd(e),md(e)+n.length,xd(t))}else{var l=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new vd;return{consumedSegments:[],lastChild:0,parameters:{}}}var r=(e.matcher||Hp)(n,t,e);if(!r)throw new vd;var o={};Kp(r.posParams,function(t,e){o[e]=t.path});var a=r.consumed.length>0?i({},o,r.consumed[r.consumed.length-1].parameters):o;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:a}}(e,t,n);a=l.consumedSegments,u=n.slice(l.lastChild),o=new Th(a,l.parameters,Object.freeze(i({},this.urlTree.queryParams)),this.urlTree.fragment,Cd(t),r,t.component,t,yd(e),md(e)+a.length,xd(t))}var c=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),f=bd(e,a,u,c,this.relativeLinkResolution),p=f.segmentGroup,h=f.slicedSegments;if(0===h.length&&p.hasChildren()){var d=this.processChildren(c,p);return[new wh(o,d)]}if(0===c.length&&0===h.length)return[new wh(o,[])];var v=this.processSegment(c,p,h,jp);return[new wh(o,v)]},t}();function yd(t){for(var e=t;e._sourceSegment;)e=e._sourceSegment;return e}function md(t){for(var e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;e._sourceSegment;)n+=(e=e._sourceSegment)._segmentIndexShift?e._segmentIndexShift:0;return n-1}function bd(t,e,n,r,o){if(n.length>0&&function(t,e,n){return r.some(function(n){return _d(t,e,n)&&wd(n)!==jp})}(t,n)){var a=new Xp(e,function(t,e,n,r){var o,i,a={};a[jp]=r,r._sourceSegment=t,r._segmentIndexShift=e.length;try{for(var u=s(n),l=u.next();!l.done;l=u.next()){var c=l.value;if(""===c.path&&wd(c)!==jp){var f=new Xp([],{});f._sourceSegment=t,f._segmentIndexShift=e.length,a[wd(c)]=f}}}catch(p){o={error:p}}finally{try{l&&!l.done&&(i=u.return)&&i.call(u)}finally{if(o)throw o.error}}return a}(t,e,r,new Xp(n,t.children)));return a._sourceSegment=t,a._segmentIndexShift=e.length,{segmentGroup:a,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return r.some(function(n){return _d(t,e,n)})}(t,n)){var u=new Xp(t.segments,function(t,e,n,r,o,a){var u,l,c={};try{for(var f=s(r),p=f.next();!p.done;p=f.next()){var h=p.value;if(_d(t,n,h)&&!o[wd(h)]){var d=new Xp([],{});d._sourceSegment=t,d._segmentIndexShift="legacy"===a?t.segments.length:e.length,c[wd(h)]=d}}}catch(v){u={error:v}}finally{try{p&&!p.done&&(l=f.return)&&l.call(f)}finally{if(u)throw u.error}}return i({},o,c)}(t,e,n,r,t.children,o));return u._sourceSegment=t,u._segmentIndexShift=e.length,{segmentGroup:u,slicedSegments:n}}var l=new Xp(t.segments,t.children);return l._sourceSegment=t,l._segmentIndexShift=e.length,{segmentGroup:l,slicedSegments:n}}function _d(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function wd(t){return t.outlet||jp}function Cd(t){return t.data||{}}function xd(t){return t.resolve||{}}function Ed(t,e,n,r){var o=ad(t,e,r);return Yp(o.resolve?o.resolve(e,n):o(e,n))}function Sd(t){return function(e){return e.pipe(Ic(function(e){var n=t(e);return n?ot(n).pipe(tt(function(){return e})):ot([e])}))}}var kd=function(){return function(){}}(),Td=function(){function t(){}return t.prototype.shouldDetach=function(t){return!1},t.prototype.store=function(t,e){},t.prototype.shouldAttach=function(t){return!1},t.prototype.retrieve=function(t){return null},t.prototype.shouldReuseRoute=function(t,e){return t.routeConfig===e.routeConfig},t}(),Id=new Rt("ROUTES"),Rd=function(){function t(t,e,n,r){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=r}return t.prototype.load=function(t,e){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(e),this.loadModuleFactory(e.loadChildren).pipe(tt(function(r){n.onLoadEndListener&&n.onLoadEndListener(e);var o=r.create(t);return new Fp(Qp(o.injector.get(Id)).map(Zp),o)}))},t.prototype.loadModuleFactory=function(t){var e=this;return"string"==typeof t?ot(this.loader.load(t)):Yp(t()).pipe(it(function(t){return t instanceof to?Ql(t):ot(e.compiler.compileModuleAsync(t))}))},t}(),Ad=function(){return function(){}}(),Od=function(){function t(){}return t.prototype.shouldProcessUrl=function(t){return!0},t.prototype.extract=function(t){return t},t.prototype.merge=function(t,e){return t},t}();function Pd(t){throw t}function Nd(t,e,n){return e.parse("/")}function Dd(t,e){return Ql(null)}var jd=function(){function t(t,e,n,r,o,i,a,u){var s=this;this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=r,this.config=u,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new V,this.errorHandler=Pd,this.malformedUriErrorHandler=Nd,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Dd,afterPreactivation:Dd},this.urlHandlingStrategy=new Od,this.routeReuseStrategy=new Td,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=o.get(Xr),this.console=o.get(gi);var l=o.get(Oi);this.isNgZoneEnabled=l instanceof Oi,this.resetConfig(u),this.currentUrlTree=new $p(new Xp([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.configLoader=new Rd(i,a,function(t){return s.triggerEvent(new Tp(t))},function(t){return s.triggerEvent(new Ip(t))}),this.routerState=Eh(this.currentUrlTree,this.rootComponentType),this.transitions=new Wl({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}return t.prototype.setupNavigations=function(t){var e=this,n=this.events;return t.pipe(nc(function(t){return 0!==t.id}),tt(function(t){return i({},t,{extractedUrl:e.urlHandlingStrategy.extract(t.rawUrl)})}),cc(function(t){e.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:e.lastSuccessfulNavigation?i({},e.lastSuccessfulNavigation,{previousNavigation:null}):null}}),Ic(function(t){var r,o,a,u,l=!1,c=!1;return Ql(t).pipe(Ic(function(t){var r,o,a,u,s=!e.navigated||t.extractedUrl.toString()!==e.currentUrlTree.toString();if(("reload"===e.onSameUrlNavigation||s)&&e.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Ql(t).pipe(Ic(function(t){var r=e.transitions.getValue();return n.next(new mp(t.id,e.serializeUrl(t.extractedUrl),t.source,t.restoredState)),r!==e.transitions.getValue()?ql:[t]}),Ic(function(t){return Promise.resolve(t)}),(r=e.ngModule.injector,o=e.configLoader,a=e.urlSerializer,u=e.config,function(t){return t.pipe(Ic(function(t){return function(e,n,r,o,i){return new Xh(e,n,r,t.extractedUrl,i).apply()}(r,o,a,0,u).pipe(tt(function(e){return i({},t,{urlAfterRedirects:e})}))}))}),cc(function(t){e.currentNavigation=i({},e.currentNavigation,{finalUrl:t.urlAfterRedirects})}),function(t,n,r,o,a){return function(r){return r.pipe(it(function(r){return function(t,e,n,r,o,i){return void 0===o&&(o="emptyOnly"),void 0===i&&(i="legacy"),new gd(t,e,n,r,o,i).recognize()}(t,n,r.urlAfterRedirects,(u=r.urlAfterRedirects,e.serializeUrl(u)),o,a).pipe(tt(function(t){return i({},r,{targetSnapshot:t})}));var u}))}}(e.rootComponentType,e.config,0,e.paramsInheritanceStrategy,e.relativeLinkResolution),cc(function(t){return"eager"===e.urlUpdateStrategy&&!t.extras.skipLocationChange&&e.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id)}),cc(function(t){var r=new Cp(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);n.next(r)}));if(s&&e.rawUrlTree&&e.urlHandlingStrategy.shouldProcessUrl(e.rawUrlTree)){var l=t.extractedUrl,c=t.source,f=t.restoredState,p=t.extras,h=new mp(t.id,e.serializeUrl(l),c,f);n.next(h);var d=Eh(l,e.rootComponentType).snapshot;return Ql(i({},t,{targetSnapshot:d,urlAfterRedirects:l,extras:i({},p,{skipLocationChange:!1,replaceUrl:!1})}))}return e.rawUrlTree=t.rawUrl,t.resolve(null),ql}),Sd(function(t){var n=t.extras;return e.hooks.beforePreactivation(t.targetSnapshot,{navigationId:t.id,appliedUrlTree:t.extractedUrl,rawUrlTree:t.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})}),cc(function(t){var n=new xp(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}),tt(function(t){return i({},t,{guards:(n=t.targetSnapshot,r=t.currentSnapshot,o=e.rootContexts,a=n._root,ud(a,r?r._root:null,o,[a.value]))});var n,r,o,a}),function(t,e){return function(n){return n.pipe(it(function(n){var r=n.targetSnapshot,o=n.currentSnapshot,a=n.guards,u=a.canActivateChecks,s=a.canDeactivateChecks;return 0===s.length&&0===u.length?Ql(i({},n,{guardsResult:!0})):function(t,e,n,r){return ot(s).pipe(it(function(t){return function(t,e,n,r,o){var i=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return i&&0!==i.length?Ql(i.map(function(i){var a,u=ad(i,e,o);if(function(t){return t&&Gh(t.canDeactivate)}(u))a=Yp(u.canDeactivate(t,e,n,r));else{if(!Gh(u))throw new Error("Invalid CanDeactivate guard");a=Yp(u(t,e,n,r))}return a.pipe(Sc())})).pipe(cd()):Ql(!0)}(t.component,t.route,n,e,r)}),Sc(function(t){return!0!==t},!0))}(0,r,o,t).pipe(it(function(n){return n&&"boolean"==typeof n?function(t,e,n,r){return ot(u).pipe(Dc(function(e){return ot([pd(e.route.parent,r),fd(e.route,r),dd(t,e.path,n),hd(t,e.route,n)]).pipe(ec(),Sc(function(t){return!0!==t},!0))}),Sc(function(t){return!0!==t},!0))}(r,0,t,e):Ql(n)}),tt(function(t){return i({},n,{guardsResult:t})}))}))}}(e.ngModule.injector,function(t){return e.triggerEvent(t)}),cc(function(t){if(Qh(t.guardsResult)){var n=Vp('Redirecting to "'+e.serializeUrl(t.guardsResult)+'"');throw n.url=t.guardsResult,n}}),cc(function(t){var n=new Ep(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);e.triggerEvent(n)}),nc(function(t){if(!t.guardsResult){e.resetUrlToCurrentUrlTree();var r=new _p(t.id,e.serializeUrl(t.extractedUrl),"");return n.next(r),t.resolve(!1),!1}return!0}),Sd(function(t){if(t.guards.canActivateChecks.length)return Ql(t).pipe(cc(function(t){var n=new Sp(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}),(n=e.paramsInheritanceStrategy,r=e.ngModule.injector,function(t){return t.pipe(it(function(t){var e=t.targetSnapshot,o=t.guards.canActivateChecks;return o.length?ot(o).pipe(Dc(function(t){return function(t,n,r,o){return function(t,e,n,r){var o=Object.keys(t);if(0===o.length)return Ql({});if(1===o.length){var i=o[0];return Ed(t[i],e,n,r).pipe(tt(function(t){var e;return(e={})[i]=t,e}))}var a={};return ot(o).pipe(it(function(o){return Ed(t[o],e,n,r).pipe(tt(function(t){return a[o]=t,t}))})).pipe(mc(),tt(function(){return a}))}(t._resolve,t,e,o).pipe(tt(function(e){return t._resolvedData=e,t.data=i({},t.data,kh(t,r).resolve),null}))}(t.route,0,n,r)}),function(t,e){return arguments.length>=2?function(e){return O(Oc(t,void 0),uc(1),vc(void 0))(e)}:function(e){return O(Oc(function(e,n,r){return t(e)}),uc(1))(e)}}(function(t,e){return t}),tt(function(e){return t})):Ql(t)}))}),cc(function(t){var n=new kp(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}));var n,r}),Sd(function(t){var n=t.extras;return e.hooks.afterPreactivation(t.targetSnapshot,{navigationId:t.id,appliedUrlTree:t.extractedUrl,rawUrlTree:t.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})}),tt(function(t){var n,r,o,a=(o=function t(e,n,r){if(r&&e.shouldReuseRoute(n.value,r.value.snapshot)){(l=r.value)._futureSnapshot=n.value;var o=function(e,n,r){return n.children.map(function(n){var o,i;try{for(var a=s(r.children),u=a.next();!u.done;u=a.next()){var l=u.value;if(e.shouldReuseRoute(l.value.snapshot,n.value))return t(e,n,l)}}catch(c){o={error:c}}finally{try{u&&!u.done&&(i=a.return)&&i.call(a)}finally{if(o)throw o.error}}return t(e,n)})}(e,n,r);return new wh(l,o)}var i=e.retrieve(n.value);if(i){var a=i.route;return function t(e,n){if(e.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=e.value;for(var r=0;r<e.children.length;++r)t(e.children[r],n.children[r])}(n,a),a}var u,l=new Sh(new Wl((u=n.value).url),new Wl(u.params),new Wl(u.queryParams),new Wl(u.fragment),new Wl(u.data),u.outlet,u.component,u);return o=n.children.map(function(n){return t(e,n)}),new wh(l,o)}(e.routeReuseStrategy,(n=t.targetSnapshot)._root,(r=t.currentRouterState)?r._root:void 0),new xh(o,n));return i({},t,{targetRouterState:a})}),cc(function(t){e.currentUrlTree=t.urlAfterRedirects,e.rawUrlTree=e.urlHandlingStrategy.merge(e.currentUrlTree,t.rawUrl),e.routerState=t.targetRouterState,"deferred"!==e.urlUpdateStrategy||t.extras.skipLocationChange||e.setBrowserUrl(e.rawUrlTree,!!t.extras.replaceUrl,t.id,t.extras.state)}),(o=e.rootContexts,a=e.routeReuseStrategy,u=function(t){return e.triggerEvent(t)},tt(function(t){return new qh(a,t.targetRouterState,t.currentRouterState,u).activate(o),t})),cc({next:function(){l=!0},complete:function(){l=!0}}),(r=function(){if(!l&&!c){e.resetUrlToCurrentUrlTree();var r=new _p(t.id,e.serializeUrl(t.extractedUrl),"Navigation ID "+t.id+" is not equal to the current navigation id "+e.navigationId);n.next(r),t.resolve(!1)}e.currentNavigation=null},function(t){return t.lift(new jc(r))}),bc(function(r){if(c=!0,(u=r)&&u[Up]){e.navigated=!0;var o=Qh(r.url);o||e.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);var i=new _p(t.id,e.serializeUrl(t.extractedUrl),r.message);n.next(i),t.resolve(!1),o&&e.navigateByUrl(r.url)}else{e.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);var a=new wp(t.id,e.serializeUrl(t.extractedUrl),r);n.next(a);try{t.resolve(e.errorHandler(r))}catch(s){t.reject(s)}}var u;return ql}))}))},t.prototype.resetRootComponentType=function(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType},t.prototype.getTransition=function(){return this.transitions.value},t.prototype.setTransition=function(t){this.transitions.next(i({},this.getTransition(),t))},t.prototype.initialNavigation=function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})},t.prototype.setUpLocationChangeListener=function(){var t=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(e){var n=t.parseUrl(e.url),r="popstate"===e.type?"popstate":"hashchange",o=e.state&&e.state.navigationId?e.state:null;setTimeout(function(){t.scheduleNavigation(n,r,o,{replaceUrl:!0})},0)}))},Object.defineProperty(t.prototype,"url",{get:function(){return this.serializeUrl(this.currentUrlTree)},enumerable:!0,configurable:!0}),t.prototype.getCurrentNavigation=function(){return this.currentNavigation},t.prototype.triggerEvent=function(t){this.events.next(t)},t.prototype.resetConfig=function(t){Bp(t),this.config=t.map(Zp),this.navigated=!1,this.lastSuccessfulId=-1},t.prototype.ngOnDestroy=function(){this.dispose()},t.prototype.dispose=function(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)},t.prototype.createUrlTree=function(t,e){void 0===e&&(e={});var n=e.relativeTo,r=e.queryParams,o=e.fragment,a=e.preserveQueryParams,u=e.queryParamsHandling,s=e.preserveFragment;Co()&&a&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var l=n||this.routerState.root,f=s?this.currentUrlTree.fragment:o,p=null;if(u)switch(u){case"merge":p=i({},this.currentUrlTree.queryParams,r);break;case"preserve":p=this.currentUrlTree.queryParams;break;default:p=r||null}else p=a?this.currentUrlTree.queryParams:r||null;return null!==p&&(p=this.removeEmptyProps(p)),function(t,e,n,r,o){if(0===n.length)return Dh(e.root,e.root,e,r,o);var i=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new jh(!0,0,t);var e=0,n=!1,r=t.reduce(function(t,r,o){if("object"==typeof r&&null!=r){if(r.outlets){var i={};return Kp(r.outlets,function(t,e){i[e]="string"==typeof t?t.split("/"):t}),c(t,[{outlets:i}])}if(r.segmentPath)return c(t,[r.segmentPath])}return"string"!=typeof r?c(t,[r]):0===o?(r.split("/").forEach(function(r,o){0==o&&"."===r||(0==o&&""===r?n=!0:".."===r?e++:""!=r&&t.push(r))}),t):c(t,[r])},[]);return new jh(n,e,r)}(n);if(i.toRoot())return Dh(e.root,new Xp([],{}),e,r,o);var a=function(t,n,r){if(t.isAbsolute)return new Mh(e.root,!0,0);if(-1===r.snapshot._lastPathIndex)return new Mh(r.snapshot._urlSegment,!0,0);var o=Nh(t.commands[0])?0:1;return function(e,n,i){for(var a=r.snapshot._urlSegment,u=r.snapshot._lastPathIndex+o,s=t.numberOfDoubleDots;s>u;){if(s-=u,!(a=a.parent))throw new Error("Invalid number of '../'");u=a.segments.length}return new Mh(a,!1,u-s)}()}(i,0,t),u=a.processChildren?Vh(a.segmentGroup,a.index,i.commands):Uh(a.segmentGroup,a.index,i.commands);return Dh(a.segmentGroup,u,e,r,o)}(l,this.currentUrlTree,t,p,f)},t.prototype.navigateByUrl=function(t,e){void 0===e&&(e={skipLocationChange:!1}),Co()&&this.isNgZoneEnabled&&!Oi.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=Qh(t)?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,e)},t.prototype.navigate=function(t,e){return void 0===e&&(e={skipLocationChange:!1}),function(t){for(var e=0;e<t.length;e++){var n=t[e];if(null==n)throw new Error("The requested path contains "+n+" segment at index "+e)}}(t),this.navigateByUrl(this.createUrlTree(t,e),e)},t.prototype.serializeUrl=function(t){return this.urlSerializer.serialize(t)},t.prototype.parseUrl=function(t){var e;try{e=this.urlSerializer.parse(t)}catch(n){e=this.malformedUriErrorHandler(n,this.urlSerializer,t)}return e},t.prototype.isActive=function(t,e){if(Qh(t))return Jp(this.currentUrlTree,t,e);var n=this.parseUrl(t);return Jp(this.currentUrlTree,n,e)},t.prototype.removeEmptyProps=function(t){return Object.keys(t).reduce(function(e,n){var r=t[n];return null!=r&&(e[n]=r),e},{})},t.prototype.processNavigations=function(){var t=this;this.navigations.subscribe(function(e){t.navigated=!0,t.lastSuccessfulId=e.id,t.events.next(new bp(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(t.currentUrlTree))),t.lastSuccessfulNavigation=t.currentNavigation,t.currentNavigation=null,e.resolve(!0)},function(e){t.console.warn("Unhandled Navigation Error: ")})},t.prototype.scheduleNavigation=function(t,e,n,r){var o=this.getTransition();if(o&&"imperative"!==e&&"imperative"===o.source&&o.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(o&&"hashchange"==e&&"popstate"===o.source&&o.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(o&&"popstate"==e&&"hashchange"===o.source&&o.rawUrl.toString()===t.toString())return Promise.resolve(!0);var i=null,a=null,u=new Promise(function(t,e){i=t,a=e}),s=++this.navigationId;return this.setTransition({id:s,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:r,resolve:i,reject:a,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(function(t){return Promise.reject(t)})},t.prototype.setBrowserUrl=function(t,e,n,r){var o=this.urlSerializer.serialize(t);r=r||{},this.location.isCurrentPathEqualTo(o)||e?this.location.replaceState(o,"",i({},r,{navigationId:n})):this.location.go(o,"",i({},r,{navigationId:n}))},t.prototype.resetStateAndUrl=function(t,e,n){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()},t.prototype.resetUrlToCurrentUrlTree=function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})},t}(),Md=function(){function t(t,e,n){var r=this;this.router=t,this.route=e,this.locationStrategy=n,this.commands=[],this.subscription=t.events.subscribe(function(t){t instanceof bp&&r.updateTargetUrlAndHref()})}return Object.defineProperty(t.prototype,"routerLink",{set:function(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"preserveQueryParams",{set:function(t){Co()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=t},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){this.updateTargetUrlAndHref()},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},t.prototype.onClick=function(t,e,n,r){if(0!==t||e||n||r)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;var o={skipLocationChange:Ld(this.skipLocationChange),replaceUrl:Ld(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,o),!1},t.prototype.updateTargetUrlAndHref=function(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))},Object.defineProperty(t.prototype,"urlTree",{get:function(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:Ld(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:Ld(this.preserveFragment)})},enumerable:!0,configurable:!0}),a([$o("attr.target"),Jo(),u("design:type",String)],t.prototype,"target",void 0),t}();function Ld(t){return""===t||!!t}var Ud=function(){function t(t,e,n,r){var o=this;this.router=t,this.element=e,this.renderer=n,this.cdr=r,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.subscription=t.events.subscribe(function(t){t instanceof bp&&o.update()})}return t.prototype.ngAfterContentInit=function(){var t=this;this.links.changes.subscribe(function(e){return t.update()}),this.linksWithHrefs.changes.subscribe(function(e){return t.update()}),this.update()},Object.defineProperty(t.prototype,"routerLinkActive",{set:function(t){var e=Array.isArray(t)?t:t.split(" ");this.classes=e.filter(function(t){return!!t})},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){this.update()},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},t.prototype.update=function(){var t=this;this.links&&this.linksWithHrefs&&this.router.navigated&&Promise.resolve().then(function(){var e=t.hasActiveLinks();t.isActive!==e&&(t.isActive=e,t.classes.forEach(function(n){e?t.renderer.addClass(t.element.nativeElement,n):t.renderer.removeClass(t.element.nativeElement,n)}))})},t.prototype.isLinkActive=function(t){var e=this;return function(n){return t.isActive(n.urlTree,e.routerLinkActiveOptions.exact)}},t.prototype.hasActiveLinks=function(){return this.links.some(this.isLinkActive(this.router))||this.linksWithHrefs.some(this.isLinkActive(this.router))},t}(),Vd=function(){return function(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Hd,this.attachRef=null}}(),Hd=function(){function t(){this.contexts=new Map}return t.prototype.onChildOutletCreated=function(t,e){var n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)},t.prototype.onChildOutletDestroyed=function(t){var e=this.getContext(t);e&&(e.outlet=null)},t.prototype.onOutletDeactivated=function(){var t=this.contexts;return this.contexts=new Map,t},t.prototype.onOutletReAttached=function(t){this.contexts=t},t.prototype.getOrCreateContext=function(t){var e=this.getContext(t);return e||(e=new Vd,this.contexts.set(t,e)),e},t.prototype.getContext=function(t){return this.contexts.get(t)||null},t}(),Fd=function(){function t(t,e,n,r,o){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new Zo,this.deactivateEvents=new Zo,this.name=r||jp,t.onChildOutletCreated(this.name,this)}return t.prototype.ngOnDestroy=function(){this.parentContexts.onChildOutletDestroyed(this.name)},t.prototype.ngOnInit=function(){if(!this.activated){var t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}},Object.defineProperty(t.prototype,"isActivated",{get:function(){return!!this.activated},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"component",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activatedRoute",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activatedRouteData",{get:function(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}},enumerable:!0,configurable:!0}),t.prototype.detach=function(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();var t=this.activated;return this.activated=null,this._activatedRoute=null,t},t.prototype.attach=function(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)},t.prototype.deactivate=function(){if(this.activated){var t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}},t.prototype.activateWith=function(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;var n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),r=this.parentContexts.getOrCreateContext(this.name).children,o=new Bd(t,r,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,o),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)},t}(),Bd=function(){function t(t,e,n){this.route=t,this.childContexts=e,this.parent=n}return t.prototype.get=function(t,e){return t===Sh?this.route:t===Hd?this.childContexts:this.parent.get(t,e)},t}(),zd=function(){return function(){}}(),qd=function(){function t(){}return t.prototype.preload=function(t,e){return e().pipe(bc(function(){return Ql(null)}))},t}(),Zd=function(){function t(){}return t.prototype.preload=function(t,e){return Ql(null)},t}(),Gd=function(){function t(t,e,n,r,o){this.router=t,this.injector=r,this.preloadingStrategy=o,this.loader=new Rd(e,n,function(e){return t.triggerEvent(new Tp(e))},function(e){return t.triggerEvent(new Ip(e))})}return t.prototype.setUpPreloading=function(){var t=this;this.subscription=this.router.events.pipe(nc(function(t){return t instanceof bp}),Dc(function(){return t.preload()})).subscribe(function(){})},t.prototype.preload=function(){var t=this.injector.get(Xr);return this.processRoutes(t,this.router.config)},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},t.prototype.processRoutes=function(t,e){var n,r,o=[];try{for(var i=s(e),a=i.next();!a.done;a=i.next()){var u=a.value;if(u.loadChildren&&!u.canLoad&&u._loadedConfig){var l=u._loadedConfig;o.push(this.processRoutes(l.module,l.routes))}else u.loadChildren&&!u.canLoad?o.push(this.preloadConfig(t,u)):u.children&&o.push(this.processRoutes(t,u.children))}}catch(c){n={error:c}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return ot(o).pipe(lt(),tt(function(t){}))},t.prototype.preloadConfig=function(t,e){var n=this;return this.preloadingStrategy.preload(e,function(){return n.loader.load(t.injector,e).pipe(it(function(t){return e._loadedConfig=t,n.processRoutes(t.module,t.routes)}))})},t}(),Qd=function(){function t(t,e,n){void 0===n&&(n={}),this.router=t,this.viewportScroller=e,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}return t.prototype.init=function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()},t.prototype.createScrollEvents=function(){var t=this;return this.router.events.subscribe(function(e){e instanceof mp?(t.store[t.lastId]=t.viewportScroller.getScrollPosition(),t.lastSource=e.navigationTrigger,t.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof bp&&(t.lastId=e.id,t.scheduleScrollEvent(e,t.router.parseUrl(e.urlAfterRedirects).fragment))})},t.prototype.consumeScrollEvents=function(){var t=this;return this.router.events.subscribe(function(e){e instanceof Np&&(e.position?"top"===t.options.scrollPositionRestoration?t.viewportScroller.scrollToPosition([0,0]):"enabled"===t.options.scrollPositionRestoration&&t.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===t.options.anchorScrolling?t.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==t.options.scrollPositionRestoration&&t.viewportScroller.scrollToPosition([0,0]))})},t.prototype.scheduleScrollEvent=function(t,e){this.router.triggerEvent(new Np(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))},t.prototype.ngOnDestroy=function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()},t}(),Wd=new Rt("ROUTER_CONFIGURATION"),Kd=new Rt("ROUTER_FORROOT_GUARD"),Yd=[Fc,{provide:rh,useClass:oh},{provide:jd,useFactory:rv,deps:[Wi,rh,Hd,Fc,mr,Yo,Ei,Id,Wd,[Ad,new Ue],[kd,new Ue]]},Hd,{provide:Sh,useFactory:ov,deps:[jd]},{provide:Yo,useClass:Xi},Gd,Zd,qd,{provide:Wd,useValue:{enableTracing:!1}}];function Jd(){return new zi("Router",jd)}var $d=function(){function t(t,e){}var e;return e=t,t.forRoot=function(t,n){return{ngModule:e,providers:[Yd,nv(t),{provide:Kd,useFactory:ev,deps:[[jd,new Ue,new He]]},{provide:Wd,useValue:n||{}},{provide:Vc,useFactory:tv,deps:[Lc,[new Le(Hc),new Ue],Wd]},{provide:Qd,useFactory:Xd,deps:[jd,af,Wd]},{provide:zd,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:Zd},{provide:zi,multi:!0,useFactory:Jd},[iv,{provide:si,multi:!0,useFactory:av,deps:[iv]},{provide:sv,useFactory:uv,deps:[iv]},{provide:vi,multi:!0,useExisting:sv}]]}},t.forChild=function(t){return{ngModule:e,providers:[nv(t)]}},t}();function Xd(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new Qd(t,e,n)}function tv(t,e,n){return void 0===n&&(n={}),n.useHash?new zc(t,e):new qc(t,e)}function ev(t){if(t)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function nv(t){return[{provide:jt,multi:!0,useValue:t},{provide:Id,multi:!0,useValue:t}]}function rv(t,e,n,r,o,i,a,u,s,l,c){void 0===s&&(s={});var f=new jd(null,e,n,r,o,i,a,Qp(u));if(l&&(f.urlHandlingStrategy=l),c&&(f.routeReuseStrategy=c),s.errorHandler&&(f.errorHandler=s.errorHandler),s.malformedUriErrorHandler&&(f.malformedUriErrorHandler=s.malformedUriErrorHandler),s.enableTracing){var p=lf();f.events.subscribe(function(t){p.logGroup("Router Event: "+t.constructor.name),p.log(t.toString()),p.log(t),p.logGroupEnd()})}return s.onSameUrlNavigation&&(f.onSameUrlNavigation=s.onSameUrlNavigation),s.paramsInheritanceStrategy&&(f.paramsInheritanceStrategy=s.paramsInheritanceStrategy),s.urlUpdateStrategy&&(f.urlUpdateStrategy=s.urlUpdateStrategy),s.relativeLinkResolution&&(f.relativeLinkResolution=s.relativeLinkResolution),f}function ov(t){return t.routerState.root}var iv=function(){function t(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new V}return t.prototype.appInitializer=function(){var t=this;return this.injector.get(Uc,Promise.resolve(null)).then(function(){var e=null,n=new Promise(function(t){return e=t}),r=t.injector.get(jd),o=t.injector.get(Wd);if(t.isLegacyDisabled(o)||t.isLegacyEnabled(o))e(!0);else if("disabled"===o.initialNavigation)r.setUpLocationChangeListener(),e(!0);else{if("enabled"!==o.initialNavigation)throw new Error("Invalid initialNavigation options: '"+o.initialNavigation+"'");r.hooks.afterPreactivation=function(){return t.initNavigation?Ql(null):(t.initNavigation=!0,e(!0),t.resultOfPreactivationDone)},r.initialNavigation()}return n})},t.prototype.bootstrapListener=function(t){var e=this.injector.get(Wd),n=this.injector.get(Gd),r=this.injector.get(Qd),o=this.injector.get(jd),i=this.injector.get(Wi);t===i.components[0]&&(this.isLegacyEnabled(e)?o.initialNavigation():this.isLegacyDisabled(e)&&o.setUpLocationChangeListener(),n.setUpPreloading(),r.init(),o.resetRootComponentType(i.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())},t.prototype.isLegacyEnabled=function(t){return"legacy_enabled"===t.initialNavigation||!0===t.initialNavigation||void 0===t.initialNavigation},t.prototype.isLegacyDisabled=function(t){return"legacy_disabled"===t.initialNavigation||!1===t.initialNavigation},t}();function av(t){return t.appInitializer.bind(t)}function uv(t){return t.bootstrapListener.bind(t)}var sv=new Rt("Router Initializer"),lv=Ka({encapsulation:2,styles:[],data:{}});function cv(t){return js(0,[(t()(),xu(0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),fs(1,212992,null,0,Fd,[Hd,na,Yr,[8,null],oa],null,null)],function(t,e){t(e,1,0)},null)}function fv(t){return js(0,[(t()(),xu(0,0,null,null,1,"ng-component",[],null,null,null,cv,lv)),fs(1,49152,null,0,Dp,[],null,null)],null,null)}var pv=Fu("ng-component",Dp,fv,{},{},[]),hv=function(){function t(){}return t.prototype.ngOnInit=function(){},t}(),dv=Ka({encapsulation:2,styles:[],data:{}});function vv(t){return js(0,[(t()(),xu(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Ps(-1,null,[" first works! "]))],null,null)}function gv(t){return js(0,[(t()(),xu(0,0,null,null,1,"app-first",[],null,null,null,vv,dv)),fs(1,114688,null,0,hv,[],null,null)],function(t,e){t(e,1,0)},null)}var yv=Fu("app-first",hv,gv,{},{},[]),mv=function(){function t(){}return t.prototype.ngOnInit=function(){},t}(),bv=Ka({encapsulation:2,styles:[],data:{}});function _v(t){return js(0,[(t()(),xu(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Ps(-1,null,[" second works! "]))],null,null)}function wv(t){return js(0,[(t()(),xu(0,0,null,null,1,"app-second",[],null,null,null,_v,bv)),fs(1,114688,null,0,mv,[],null,null)],function(t,e){t(e,1,0)},null)}var Cv=Fu("app-second",mv,wv,{},{},[]),xv=function(){function t(){}return t.prototype.ngOnInit=function(){},t}(),Ev=Ka({encapsulation:2,styles:[],data:{}});function Sv(t){return js(0,[(t()(),xu(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Ps(-1,null,[" third works! "]))],null,null)}function kv(t){return js(0,[(t()(),xu(0,0,null,null,1,"app-third",[],null,null,null,Sv,Ev)),fs(1,114688,null,0,xv,[],null,null)],function(t,e){t(e,1,0)},null)}var Tv=Fu("app-third",xv,kv,{},{},[]),Iv=function(){function t(){}return t.prototype.ngOnInit=function(){},t}(),Rv=Ka({encapsulation:2,styles:[],data:{}});function Av(t){return js(0,[(t()(),xu(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Ps(-1,null,[" fourth works! "]))],null,null)}function Ov(t){return js(0,[(t()(),xu(0,0,null,null,1,"app-fourth",[],null,null,null,Av,Rv)),fs(1,114688,null,0,Iv,[],null,null)],function(t,e){t(e,1,0)},null)}var Pv=Fu("app-fourth",Iv,Ov,{},{},[]),Nv=function(){function t(){}return t.prototype.ngOnInit=function(){},t}(),Dv=Ka({encapsulation:2,styles:[],data:{}});function jv(t){return js(0,[(t()(),xu(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Ps(-1,null,[" fifth works! "]))],null,null)}function Mv(t){return js(0,[(t()(),xu(0,0,null,null,1,"app-fifth",[],null,null,null,jv,Dv)),fs(1,114688,null,0,Nv,[],null,null)],function(t,e){t(e,1,0)},null)}var Lv=Fu("app-fifth",Nv,Mv,{},{},[]),Uv=function(){function t(){}return t.prototype.ngOnInit=function(){},t}(),Vv=Ka({encapsulation:2,styles:[],data:{}});function Hv(t){return js(0,[(t()(),xu(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Ps(-1,null,[" sixth works! "]))],null,null)}function Fv(t){return js(0,[(t()(),xu(0,0,null,null,1,"app-sixth",[],null,null,null,Hv,Vv)),fs(1,114688,null,0,Uv,[],null,null)],function(t,e){t(e,1,0)},null)}var Bv=Fu("app-sixth",Uv,Fv,{},{},[]),zv=function(){return function(){}}();function qv(t){return null!=t&&""+t!="false"}function Zv(t){return t instanceof no?t.nativeElement:t}var Gv,Qv="undefined"!=typeof Intl&&Intl.v8BreakIterator,Wv=function(){function t(t){this._platformId=t,this.isBrowser=this._platformId?this._platformId===rf:"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!Qv)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}return t.ngInjectableDef=kt({factory:function(){return new t(Ze(di,8))},token:t,providedIn:"root"}),t}(),Kv=function(){return function(){}}();function Yv(t){return function(){if(null==Gv&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return Gv=!0}}))}finally{Gv=Gv||!1}return Gv}()?t:!!t.capture}var Jv=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.scheduler=e,r.work=n,r.pending=!1,r}return o(e,t),e.prototype.schedule=function(t,e){if(void 0===e&&(e=0),this.closed)return this;this.state=t;var n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(r,this.id,e),this},e.prototype.requestAsyncId=function(t,e,n){return void 0===n&&(n=0),setInterval(t.flush.bind(t,this),n)},e.prototype.recycleAsyncId=function(t,e,n){if(void 0===n&&(n=0),null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)},e.prototype.execute=function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(t,e){var n=!1,r=void 0;try{this.work(t)}catch(o){n=!0,r=!!o&&o||new Error(o)}if(n)return this.unsubscribe(),r},e.prototype._unsubscribe=function(){var t=this.id,e=this.scheduler,n=e.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null},e}(function(t){function e(e,n){return t.call(this)||this}return o(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(_)),$v=function(){function t(e,n){void 0===n&&(n=t.now),this.SchedulerAction=e,this.now=n}return t.prototype.schedule=function(t,e,n){return void 0===e&&(e=0),new this.SchedulerAction(this,t).schedule(n,e)},t.now=function(){return Date.now()},t}(),Xv=new(function(t){function e(n,r){void 0===r&&(r=$v.now);var o=t.call(this,n,function(){return e.delegate&&e.delegate!==o?e.delegate.now():r()})||this;return o.actions=[],o.active=!1,o.scheduled=void 0,o}return o(e,t),e.prototype.schedule=function(n,r,o){return void 0===r&&(r=0),e.delegate&&e.delegate!==this?e.delegate.schedule(n,r,o):t.prototype.schedule.call(this,n,r,o)},e.prototype.flush=function(t){var e=this.actions;if(this.active)e.push(t);else{var n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}},e}($v))(Jv),tg=function(){function t(t,e){this.dueTime=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new eg(t,this.dueTime,this.scheduler))},t}(),eg=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.dueTime=n,o.scheduler=r,o.debouncedSubscription=null,o.lastValue=null,o.hasValue=!1,o}return o(e,t),e.prototype._next=function(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(ng,this.dueTime,this))},e.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},e.prototype.debouncedNext=function(){if(this.clearDebounce(),this.hasValue){var t=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}},e.prototype.clearDebounce=function(){var t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)},e}(T);function ng(t){t.debouncedNext()}var rg=650,og=Yv({passive:!0,capture:!0}),ig=function(){function t(t,e){var n=this;this._ngZone=t,this._platform=e,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._documentKeydownListener=function(){n._lastTouchTarget=null,n._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=function(){n._lastTouchTarget||n._setOriginForCurrentEventQueue("mouse")},this._documentTouchstartListener=function(t){null!=n._touchTimeoutId&&clearTimeout(n._touchTimeoutId),n._lastTouchTarget=t.target,n._touchTimeoutId=setTimeout(function(){return n._lastTouchTarget=null},rg)},this._windowFocusListener=function(){n._windowFocused=!0,n._windowFocusTimeoutId=setTimeout(function(){return n._windowFocused=!1})}}return t.prototype.monitor=function(t,e){var n=this;if(void 0===e&&(e=!1),!this._platform.isBrowser)return Ql(null);var r=Zv(t);if(this._elementInfo.has(r)){var o=this._elementInfo.get(r);return o.checkChildren=e,o.subject.asObservable()}var i={unlisten:function(){},checkChildren:e,subject:new V};this._elementInfo.set(r,i),this._incrementMonitoredElementCount();var a=function(t){return n._onFocus(t,r)},u=function(t){return n._onBlur(t,r)};return this._ngZone.runOutsideAngular(function(){r.addEventListener("focus",a,!0),r.addEventListener("blur",u,!0)}),i.unlisten=function(){r.removeEventListener("focus",a,!0),r.removeEventListener("blur",u,!0)},i.subject.asObservable()},t.prototype.stopMonitoring=function(t){var e=Zv(t),n=this._elementInfo.get(e);n&&(n.unlisten(),n.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._decrementMonitoredElementCount())},t.prototype.focusVia=function(t,e,n){var r=Zv(t);this._setOriginForCurrentEventQueue(e),"function"==typeof r.focus&&r.focus(n)},t.prototype.ngOnDestroy=function(){var t=this;this._elementInfo.forEach(function(e,n){return t.stopMonitoring(n)})},t.prototype._toggleClass=function(t,e,n){n?t.classList.add(e):t.classList.remove(e)},t.prototype._setClasses=function(t,e){this._elementInfo.get(t)&&(this._toggleClass(t,"cdk-focused",!!e),this._toggleClass(t,"cdk-touch-focused","touch"===e),this._toggleClass(t,"cdk-keyboard-focused","keyboard"===e),this._toggleClass(t,"cdk-mouse-focused","mouse"===e),this._toggleClass(t,"cdk-program-focused","program"===e))},t.prototype._setOriginForCurrentEventQueue=function(t){var e=this;this._ngZone.runOutsideAngular(function(){e._origin=t,e._originTimeoutId=setTimeout(function(){return e._origin=null},1)})},t.prototype._wasCausedByTouch=function(t){var e=t.target;return this._lastTouchTarget instanceof Node&&e instanceof Node&&(e===this._lastTouchTarget||e.contains(this._lastTouchTarget))},t.prototype._onFocus=function(t,e){var n=this._elementInfo.get(e);if(n&&(n.checkChildren||e===t.target)){var r=this._origin;r||(r=this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(t)?"touch":"program"),this._setClasses(e,r),this._emitOrigin(n.subject,r),this._lastFocusOrigin=r}},t.prototype._onBlur=function(t,e){var n=this._elementInfo.get(e);!n||n.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(n.subject,null))},t.prototype._emitOrigin=function(t,e){this._ngZone.run(function(){return t.next(e)})},t.prototype._incrementMonitoredElementCount=function(){var t=this;1==++this._monitoredElementCount&&this._platform.isBrowser&&this._ngZone.runOutsideAngular(function(){document.addEventListener("keydown",t._documentKeydownListener,og),document.addEventListener("mousedown",t._documentMousedownListener,og),document.addEventListener("touchstart",t._documentTouchstartListener,og),window.addEventListener("focus",t._windowFocusListener)})},t.prototype._decrementMonitoredElementCount=function(){--this._monitoredElementCount||(document.removeEventListener("keydown",this._documentKeydownListener,og),document.removeEventListener("mousedown",this._documentMousedownListener,og),document.removeEventListener("touchstart",this._documentTouchstartListener,og),window.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId))},t.ngInjectableDef=kt({factory:function(){return new t(Ze(Oi),Ze(Wv))},token:t,providedIn:"root"}),t}(),ag=function(){return function(){}}(),ug=new Rt("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),sg=function(){function t(t,e){this._sanityChecksEnabled=t,this._hammerLoader=e,this._hasDoneGlobalChecks=!1,this._hasCheckedHammer=!1,this._document="object"==typeof document&&document?document:null,this._window="object"==typeof window&&window?window:null,this._areChecksEnabled()&&!this._hasDoneGlobalChecks&&(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._hasDoneGlobalChecks=!0)}return t.prototype._areChecksEnabled=function(){return this._sanityChecksEnabled&&Co()&&!this._isTestEnv()},t.prototype._isTestEnv=function(){var t=this._window;return t&&(t.__karma__||t.jasmine)},t.prototype._checkDoctypeIsDefined=function(){this._document&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")},t.prototype._checkThemeIsPresent=function(){if(this._document&&this._document.body&&"function"==typeof getComputedStyle){var t=this._document.createElement("div");t.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(t);var e=getComputedStyle(t);e&&"none"!==e.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(t)}},t.prototype._checkHammerIsAvailable=function(){!this._hasCheckedHammer&&this._window&&(!this._areChecksEnabled()||this._window.Hammer||this._hammerLoader||console.warn("Could not find HammerJS. Certain Angular Material components may not work correctly."),this._hasCheckedHammer=!0)},t}();function lg(t){return function(t){function e(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=t.apply(this,e)||this;return r._disabled=!1,r}return o(e,t),Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=qv(t)},enumerable:!0,configurable:!0}),e}(t)}function cg(t,e){return function(t){function n(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=t.apply(this,n)||this;return o.color=e,o}return o(n,t),Object.defineProperty(n.prototype,"color",{get:function(){return this._color},set:function(t){var n=t||e;n!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-"+this._color),n&&this._elementRef.nativeElement.classList.add("mat-"+n),this._color=n)},enumerable:!0,configurable:!0}),n}(t)}function fg(t){return function(t){function e(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=t.apply(this,e)||this;return r._disableRipple=!1,r}return o(e,t),Object.defineProperty(e.prototype,"disableRipple",{get:function(){return this._disableRipple},set:function(t){this._disableRipple=qv(t)},enumerable:!0,configurable:!0}),e}(t)}function pg(t,e){return void 0===e&&(e=0),function(t){function n(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=t.apply(this,n)||this;return o._tabIndex=e,o}return o(n,t),Object.defineProperty(n.prototype,"tabIndex",{get:function(){return this.disabled?-1:this._tabIndex},set:function(t){this._tabIndex=null!=t?t:e},enumerable:!0,configurable:!0}),n}(t)}var hg=function(){var t={FADING_IN:0,VISIBLE:1,FADING_OUT:2,HIDDEN:3};return t[t.FADING_IN]="FADING_IN",t[t.VISIBLE]="VISIBLE",t[t.FADING_OUT]="FADING_OUT",t[t.HIDDEN]="HIDDEN",t}(),dg=function(){function t(t,e,n){this._renderer=t,this.element=e,this.config=n,this.state=hg.HIDDEN}return t.prototype.fadeOut=function(){this._renderer.fadeOutRipple(this)},t}(),vg={enterDuration:450,exitDuration:400},gg=800,yg=Yv({passive:!0}),mg=function(){function t(t,e,n,r){var o=this;this._target=t,this._ngZone=e,this._isPointerDown=!1,this._triggerEvents=new Map,this._activeRipples=new Set,this.onMousedown=function(t){var e=function(t){return 0===t.buttons}(t),n=o._lastTouchStartEvent&&Date.now()<o._lastTouchStartEvent+gg;o._target.rippleDisabled||e||n||(o._isPointerDown=!0,o.fadeInRipple(t.clientX,t.clientY,o._target.rippleConfig))},this.onTouchStart=function(t){if(!o._target.rippleDisabled){o._lastTouchStartEvent=Date.now(),o._isPointerDown=!0;for(var e=t.changedTouches,n=0;n<e.length;n++)o.fadeInRipple(e[n].clientX,e[n].clientY,o._target.rippleConfig)}},this.onPointerUp=function(){o._isPointerDown&&(o._isPointerDown=!1,o._activeRipples.forEach(function(t){!t.config.persistent&&(t.state===hg.VISIBLE||t.config.terminateOnPointerUp&&t.state===hg.FADING_IN)&&t.fadeOut()}))},r.isBrowser&&(this._containerElement=n.nativeElement,this._triggerEvents.set("mousedown",this.onMousedown).set("mouseup",this.onPointerUp).set("mouseleave",this.onPointerUp).set("touchstart",this.onTouchStart).set("touchend",this.onPointerUp).set("touchcancel",this.onPointerUp))}return t.prototype.fadeInRipple=function(t,e,n){var r=this;void 0===n&&(n={});var o=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),a=i({},vg,n.animation);n.centered&&(t=o.left+o.width/2,e=o.top+o.height/2);var u=n.radius||function(t,e,n){var r=Math.max(Math.abs(t-n.left),Math.abs(t-n.right)),o=Math.max(Math.abs(e-n.top),Math.abs(e-n.bottom));return Math.sqrt(r*r+o*o)}(t,e,o),s=t-o.left,l=e-o.top,c=a.enterDuration,f=document.createElement("div");f.classList.add("mat-ripple-element"),f.style.left=s-u+"px",f.style.top=l-u+"px",f.style.height=2*u+"px",f.style.width=2*u+"px",f.style.backgroundColor=n.color||null,f.style.transitionDuration=c+"ms",this._containerElement.appendChild(f),window.getComputedStyle(f).getPropertyValue("opacity"),f.style.transform="scale(1)";var p=new dg(this,f,n);return p.state=hg.FADING_IN,this._activeRipples.add(p),n.persistent||(this._mostRecentTransientRipple=p),this.runTimeoutOutsideZone(function(){var t=p===r._mostRecentTransientRipple;p.state=hg.VISIBLE,n.persistent||t&&r._isPointerDown||p.fadeOut()},c),p},t.prototype.fadeOutRipple=function(t){var e=this._activeRipples.delete(t);if(t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),e){var n=t.element,r=i({},vg,t.config.animation);n.style.transitionDuration=r.exitDuration+"ms",n.style.opacity="0",t.state=hg.FADING_OUT,this.runTimeoutOutsideZone(function(){t.state=hg.HIDDEN,n.parentNode.removeChild(n)},r.exitDuration)}},t.prototype.fadeOutAll=function(){this._activeRipples.forEach(function(t){return t.fadeOut()})},t.prototype.setupTriggerEvents=function(t){var e=this;t&&t!==this._triggerElement&&(this._removeTriggerEvents(),this._ngZone.runOutsideAngular(function(){e._triggerEvents.forEach(function(e,n){t.addEventListener(n,e,yg)})}),this._triggerElement=t)},t.prototype.runTimeoutOutsideZone=function(t,e){void 0===e&&(e=0),this._ngZone.runOutsideAngular(function(){return setTimeout(t,e)})},t.prototype._removeTriggerEvents=function(){var t=this;this._triggerElement&&this._triggerEvents.forEach(function(e,n){t._triggerElement.removeEventListener(n,e,yg)})},t}(),bg=new Rt("mat-ripple-global-options"),_g=function(){return function(){}}(),wg=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var n=new Cg(t),r=$(n,this.notifier);return r&&!n.seenValue?(n.add(r),e.subscribe(n)):n},t}(),Cg=function(t){function e(e){var n=t.call(this,e)||this;return n.seenValue=!1,n}return o(e,t),e.prototype.notifyNext=function(t,e,n,r,o){this.seenValue=!0,this.complete()},e.prototype.notifyComplete=function(){},e}(X),xg=new Rt("MatInkBarPositioner",{providedIn:"root",factory:function(){return function(t){return{left:t?(t.offsetLeft||0)+"px":"0",width:t?(t.offsetWidth||0)+"px":"0"}}}}),Eg=function(){function t(t,e,n){this._elementRef=t,this._ngZone=e,this._inkBarPositioner=n}return t.prototype.alignToElement=function(t){var e=this;this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return e._setStyles(t)})}):this._setStyles(t)},t.prototype.show=function(){this._elementRef.nativeElement.style.visibility="visible"},t.prototype.hide=function(){this._elementRef.nativeElement.style.visibility="hidden"},t.prototype._setStyles=function(t){var e=this._inkBarPositioner(t),n=this._elementRef.nativeElement;n.style.left=e.left,n.style.width=e.width},t}(),Sg=function(t){function e(e,n,r,o,i){var a=t.call(this,e)||this;return a._dir=n,a._ngZone=r,a._changeDetectorRef=o,a._viewportRuler=i,a._onDestroy=new V,a}return o(e,t),Object.defineProperty(e.prototype,"backgroundColor",{get:function(){return this._backgroundColor},set:function(t){var e=this._elementRef.nativeElement;e.classList.remove("mat-background-"+this.backgroundColor),t&&e.classList.add("mat-background-"+t),this._backgroundColor=t},enumerable:!0,configurable:!0}),e.prototype.updateActiveLink=function(t){this._activeLinkChanged=!!t,this._changeDetectorRef.markForCheck()},e.prototype.ngAfterContentInit=function(){var t=this;this._ngZone.runOutsideAngular(function(){return ct(t._dir?t._dir.change:Ql(null),t._viewportRuler.change(10)).pipe((e=t._onDestroy,function(t){return t.lift(new wg(e))})).subscribe(function(){return t._alignInkBar()});var e})},e.prototype.ngAfterContentChecked=function(){if(this._activeLinkChanged){var t=this._tabLinks.find(function(t){return t.active});this._activeLinkElement=t?t._elementRef:null,this._alignInkBar(),this._activeLinkChanged=!1}},e.prototype.ngOnDestroy=function(){this._onDestroy.next(),this._onDestroy.complete()},e.prototype._alignInkBar=function(){this._activeLinkElement?(this._inkBar.show(),this._inkBar.alignToElement(this._activeLinkElement.nativeElement)):this._inkBar.hide()},e}(fg(cg(function(){return function(t){this._elementRef=t}}(),"primary"))),kg=function(t){function e(e,n,r,o,i,a,u){var s=t.call(this)||this;return s._tabNavBar=e,s._elementRef=n,s._focusMonitor=u,s._isActive=!1,s._ripplesGloballyDisabled=!1,s.rippleConfig={},s._tabLinkRipple=new mg(s,r,n,o),s._tabLinkRipple.setupTriggerEvents(n.nativeElement),s.tabIndex=parseInt(a)||0,i&&(s._ripplesGloballyDisabled=!!i.disabled,s.rippleConfig={terminateOnPointerUp:i.terminateOnPointerUp,animation:i.animation}),u&&u.monitor(n),s}return o(e,t),Object.defineProperty(e.prototype,"active",{get:function(){return this._isActive},set:function(t){t!==this._isActive&&(this._isActive=t,this._tabNavBar.updateActiveLink(this._elementRef))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rippleDisabled",{get:function(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||this._ripplesGloballyDisabled},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this._tabLinkRipple._removeTriggerEvents(),this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef)},e}(pg(fg(lg(function(){return function(){}}())))),Tg=function(){return function(){}}(),Ig=function(){function t(){this.disableScrollEnd=!0,this.disableScrollStart=!0}return t.prototype.scrollLeft=function(){this.scrollContainer.nativeElement.scrollLeft-=100,this.checkScrollButtons()},t.prototype.scrollRight=function(){this.scrollContainer.nativeElement.scrollLeft+=100,this.checkScrollButtons()},t.prototype.ngAfterContentChecked=function(){this.checkScrollButtons()},t.prototype.checkScrollButtons=function(){this.disableScrollStart=0==this.scrollContainer.nativeElement.scrollLeft,this.disableScrollEnd=this.scrollContainer.nativeElement.scrollLeft==this.getMaxScrollDistance()},t.prototype.getMaxScrollDistance=function(){return this.scrollContainer.nativeElement.scrollWidth-this.scrollContainer.nativeElement.offsetWidth||0},t}(),Rg=function(){return function(){}}(),Ag=Ka({encapsulation:2,styles:[".mat-tab-nav-bar-pagination{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-nav-bar-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-nav-bar-pagination{position:relative;display:none;justify-content:center;align-items:center;min-width:32px;color:rgba(0,0,0,.87);z-index:2;border-bottom:1px solid rgba(0,0,0,.12);display:flex}.mat-nav-bar-pagination-active{cursor:pointer;color:rgba(0,0,0,1)}.mat-nav-bar-pagination-end,.mat-nav-bar-pagination-start{padding-left:4px}.mat-nav-bar-pagination-chevron{border-color:rgba(0,0,0,.5)}.mat-nav-bar-pagination-arrow{border-style:solid;border-width:2px 2px 0 0;content:'';height:8px;width:8px}.mat-nav-bar-pagination-active .mat-nav-bar-pagination-arrow{border-color:rgba(0,0,0,1)}.mat-nav-bar-pagination-start .mat-nav-bar-pagination-arrow{-webkit-transform:rotate(-135deg);transform:rotate(-135deg)}.mat-nav-bar-pagination-end .mat-nav-bar-pagination-arrow{-webkit-transform:rotate(45deg);transform:rotate(45deg)}"],data:{}});function Og(t){return js(2,[Ss(402653184,1,{scrollContainer:0}),(t()(),xu(1,0,null,null,6,"div",[["class","mat-tab-nav-bar-pagination"]],null,null,null,null,null)),(t()(),xu(2,0,null,null,1,"div",[["aria-hidden","true"],["class","mat-nav-bar-pagination mat-nav-bar-pagination-start  mat-ripple"],["mat-ripple",""]],[[2,"mat-nav-bar-pagination-active",null],[2,"mat-elevation-z4",null]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.scrollLeft()&&r),r},null,null)),(t()(),xu(3,0,null,null,0,"div",[["class","mat-nav-bar-pagination-arrow"]],null,null,null,null,null)),(t()(),xu(4,0,[[1,0],["scrollMe",1]],null,1,"div",[["class","mat-nav-bar-container"]],null,null,null,null,null)),As(null,0),(t()(),xu(6,0,null,null,1,"div",[["aria-hidden","true"],["class","mat-nav-bar-pagination mat-nav-bar-pagination-end mat-ripple"],["mat-ripple",""]],[[2,"mat-nav-bar-pagination-active",null],[2,"mat-elevation-z4",null]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.scrollRight()&&r),r},null,null)),(t()(),xu(7,0,null,null,0,"div",[["class","mat-nav-bar-pagination-arrow"]],null,null,null,null,null))],null,function(t,e){var n=e.component;t(e,2,0,!n.disableScrollStart,!n.disableScrollStart),t(e,6,0,!n.disableScrollEnd,!n.disableScrollEnd)})}var Pg=function(){function t(){}return t.prototype.create=function(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)},t.ngInjectableDef=kt({factory:function(){return new t},token:t,providedIn:"root"}),t}(),Ng=function(){function t(t){this._mutationObserverFactory=t,this._observedElements=new Map}return t.prototype.ngOnDestroy=function(){var t=this;this._observedElements.forEach(function(e,n){return t._cleanupObserver(n)})},t.prototype.observe=function(t){var e=this,n=Zv(t);return N.create(function(t){var r=e._observeElement(n).subscribe(t);return function(){r.unsubscribe(),e._unobserveElement(n)}})},t.prototype._observeElement=function(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{var e=new V,n=this._mutationObserverFactory.create(function(t){return e.next(t)});n&&n.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:n,stream:e,count:1})}return this._observedElements.get(t).stream},t.prototype._unobserveElement=function(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))},t.prototype._cleanupObserver=function(t){if(this._observedElements.has(t)){var e=this._observedElements.get(t),n=e.observer,r=e.stream;n&&n.disconnect(),r.complete(),this._observedElements.delete(t)}},t.ngInjectableDef=kt({factory:function(){return new t(Ze(Pg))},token:t,providedIn:"root"}),t}(),Dg=function(){function t(t,e,n){this._contentObserver=t,this._elementRef=e,this._ngZone=n,this.event=new Zo,this._disabled=!1,this._currentSubscription=null}return Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=qv(t),this._disabled?this._unsubscribe():this._subscribe()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"debounce",{get:function(){return this._debounce},set:function(t){this._debounce=function(t,e){return void 0===e&&(e=0),function(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}(t)?Number(t):e}(t),this._subscribe()},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){this._currentSubscription||this.disabled||this._subscribe()},t.prototype.ngOnDestroy=function(){this._unsubscribe()},t.prototype._subscribe=function(){var t=this;this._unsubscribe();var e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(function(){var n,r;t._currentSubscription=(t.debounce?e.pipe((n=t.debounce,void 0===r&&(r=Xv),function(t){return t.lift(new tg(n,r))})):e).subscribe(t.event)})},t.prototype._unsubscribe=function(){this._currentSubscription&&this._currentSubscription.unsubscribe()},t}(),jg=function(){return function(){}}(),Mg=new Rt("cdk-dir-doc",{providedIn:"root",factory:function(){return Ze(nf)}}),Lg=function(){function t(t){if(this.value="ltr",this.change=new Zo,t){var e=(t.body?t.body.dir:null)||(t.documentElement?t.documentElement.dir:null);this.value="ltr"===e||"rtl"===e?e:"ltr"}}return t.prototype.ngOnDestroy=function(){this.change.complete()},t.ngInjectableDef=kt({factory:function(){return new t(Ze(Mg,8))},token:t,providedIn:"root"}),t}(),Ug=function(){return function(){}}();function Vg(){return"undefined"!=typeof process}var Hg=Vg();function Fg(t,e,n,r){return h(n)&&(r=n,n=void 0),r?Fg(t,e,n).pipe(tt(function(t){return f(t)?r.apply(void 0,t):r(t)})):new N(function(r){!function t(e,n,r,o,i){var a;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(e)){var u=e;e.addEventListener(n,r,i),a=function(){return u.removeEventListener(n,r,i)}}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(e)){var s=e;e.on(n,r),a=function(){return s.off(n,r)}}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(e)){var l=e;e.addListener(n,r),a=function(){return l.removeListener(n,r)}}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(var c=0,f=e.length;c<f;c++)t(e[c],n,r,o,i)}o.add(a)}(t,e,function(t){r.next(arguments.length>1?Array.prototype.slice.call(arguments):t)},r,n)})}(Hg||"undefined"!=typeof Element)&&(Hg||Element.prototype.matches||Element),Object;var Bg=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new zg(t,this.durationSelector))},t}(),zg=function(t){function e(e,n){var r=t.call(this,e)||this;return r.durationSelector=n,r.hasValue=!1,r}return o(e,t),e.prototype._next=function(t){if(this.value=t,this.hasValue=!0,!this.throttled){var e=y(this.durationSelector)(t);if(e===v)this.destination.error(v.e);else{var n=$(this,e);!n||n.closed?this.clearThrottle():this.add(this.throttled=n)}}},e.prototype.clearThrottle=function(){var t=this.value,e=this.hasValue,n=this.throttled;n&&(this.remove(n),this.throttled=null,n.unsubscribe()),e&&(this.value=null,this.hasValue=!1,this.destination.next(t))},e.prototype.notifyNext=function(t,e,n,r){this.clearThrottle()},e.prototype.notifyComplete=function(){this.clearThrottle()},e}(X);function qg(t){return!f(t)&&t-parseFloat(t)+1>=0}function Zg(t){var e=t.index,n=t.period,r=t.subscriber;if(r.next(e),!r.closed){if(-1===n)return r.complete();t.index=e+1,this.schedule(t,n)}}var Gg=function(){function t(t,e){var n=this;this._platform=t,e.runOutsideAngular(function(){n._change=t.isBrowser?ct(Fg(window,"resize"),Fg(window,"orientationchange")):Ql(),n._invalidateCache=n.change().subscribe(function(){return n._updateViewportSize()})})}return t.prototype.ngOnDestroy=function(){this._invalidateCache.unsubscribe()},t.prototype.getViewportSize=function(){this._viewportSize||this._updateViewportSize();var t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t},t.prototype.getViewportRect=function(){var t=this.getViewportScrollPosition(),e=this.getViewportSize(),n=e.width,r=e.height;return{top:t.top,left:t.left,bottom:t.top+r,right:t.left+n,height:r,width:n}},t.prototype.getViewportScrollPosition=function(){if(!this._platform.isBrowser)return{top:0,left:0};var t=document.documentElement,e=t.getBoundingClientRect();return{top:-e.top||document.body.scrollTop||window.scrollY||t.scrollTop||0,left:-e.left||document.body.scrollLeft||window.scrollX||t.scrollLeft||0}},t.prototype.change=function(t){return void 0===t&&(t=20),t>0?this._change.pipe((e=t,void 0===n&&(n=Xv),r=function(){return function(t,e,n){void 0===t&&(t=0);var r=-1;return qg(e)?r=Number(e)<1?1:Number(e):F(e)&&(n=e),F(n)||(n=Xv),new N(function(e){var o=qg(t)?t:+t-n.now();return n.schedule(Zg,o,{index:0,period:r,subscriber:e})})}(e,n)},function(t){return t.lift(new Bg(r))})):this._change;var e,n,r},t.prototype._updateViewportSize=function(){this._viewportSize=this._platform.isBrowser?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0}},t.ngInjectableDef=kt({factory:function(){return new t(Ze(Wv),Ze(Oi))},token:t,providedIn:"root"}),t}(),Qg=Ka({encapsulation:2,styles:[".mat-tab-nav-bar{overflow:hidden;position:relative;flex-shrink:0}.mat-tab-links{position:relative;display:flex}[mat-align-tabs=center] .mat-tab-links{justify-content:center}[mat-align-tabs=end] .mat-tab-links{justify-content:flex-end}.mat-tab-link{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;vertical-align:top;text-decoration:none;position:relative;overflow:hidden;-webkit-tap-highlight-color:transparent}.mat-tab-link:focus{outline:0}.mat-tab-link:focus:not(.mat-tab-disabled){opacity:1}@media (-ms-high-contrast:active){.mat-tab-link:focus{outline:dotted 2px}}.mat-tab-link.mat-tab-disabled{cursor:default}@media (-ms-high-contrast:active){.mat-tab-link.mat-tab-disabled{opacity:.5}}.mat-tab-link .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}@media (-ms-high-contrast:active){.mat-tab-link{opacity:1}}[mat-stretch-tabs] .mat-tab-link{flex-basis:0;flex-grow:1}.mat-tab-link.mat-tab-disabled{pointer-events:none}@media (max-width:599px){.mat-tab-link{min-width:72px}}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:.5s cubic-bezier(.35,0,.25,1)}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}@media (-ms-high-contrast:active){.mat-ink-bar{outline:solid 2px;height:0}}"],data:{}});function Wg(t){return js(2,[Ss(402653184,1,{_inkBar:0}),(t()(),xu(1,0,null,null,4,"div",[["class","mat-tab-links"]],null,[[null,"cdkObserveContent"]],function(t,e,n){var r=!0;return"cdkObserveContent"===e&&(r=!1!==t.component._alignInkBar()&&r),r},null,null)),fs(2,1196032,null,0,Dg,[Ng,no,Oi],null,{event:"cdkObserveContent"}),As(null,0),(t()(),xu(4,0,null,null,1,"mat-ink-bar",[["class","mat-ink-bar"]],null,null,null,null,null)),fs(5,16384,[[1,4]],0,Eg,[no,Oi,xg],null,null)],null,null)}var Kg=Ka({encapsulation:0,styles:[[""]],data:{}});function Yg(t){return js(0,[(t()(),xu(0,0,null,null,7,"a",[["class","mat-tab-link"],["dynamicHeight",""],["mat-tab-link",""],["routerLinkActive",""]],[[1,"aria-current",0],[1,"aria-disabled",0],[1,"tabIndex",0],[2,"mat-tab-disabled",null],[2,"mat-tab-label-active",null],[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==$u(t,2).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),fs(1,147456,[[1,4]],0,kg,[Sg,no,Oi,Wv,[2,bg],[8,null],ig],{active:[0,"active"]},null),fs(2,671744,[[3,4]],0,Md,[jd,Sh,Vc],{routerLink:[0,"routerLink"]},null),fs(3,1720320,[["rla",4]],2,Ud,[jd,no,uo,oa],{routerLinkActive:[0,"routerLinkActive"]},null),Ss(603979776,2,{links:1}),Ss(603979776,3,{linksWithHrefs:1}),(t()(),xu(6,0,null,null,1,"span",[["style","opacity: 0.6"]],null,null,null,null,null)),(t()(),Ps(7,null,["",""]))],function(t,e){t(e,1,0,$u(e,3).isActive),t(e,2,0,e.context.$implicit.link),t(e,3,0,"")},function(t,e){t(e,0,0,$u(e,1).active,$u(e,1).disabled.toString(),$u(e,1).tabIndex,$u(e,1).disabled,$u(e,1).active,$u(e,2).target,$u(e,2).href),t(e,7,0,e.context.$implicit.name)})}function Jg(t){return js(0,[(t()(),xu(0,0,null,null,6,"mat-nav-bar-pagination",[["style","display: flex; flex-direction: column;"]],null,null,null,Og,Ag)),fs(1,2146304,null,0,Ig,[],null,null),(t()(),xu(2,0,null,0,4,"nav",[["class","mat-tab-nav-bar"],["mat-tab-nav-bar",""]],null,null,null,Wg,Qg)),fs(3,3325952,[["matTabNavBar",4]],1,Sg,[no,[2,Lg],Oi,oa,Gg],null,null),Ss(603979776,1,{_tabLinks:1}),(t()(),Cu(16777216,null,0,1,null,Yg)),fs(6,278528,null,0,Xc,[na,Go,Ca],{ngForOf:[0,"ngForOf"]},null),(t()(),xu(7,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),fs(8,212992,null,0,Fd,[Hd,na,Yr,[8,null],oa],null,null)],function(t,e){t(e,6,0,e.component.navLinks),t(e,8,0)},null)}function $g(t){return js(0,[(t()(),xu(0,0,null,null,1,"app-root",[],null,null,null,Jg,Kg)),fs(1,49152,null,0,zl,[],null,null)],null,null)}var Xg=Fu("app-root",zl,$g,{},{},[]),ty=Hl(Bl,[zl],function(t){return function(t){for(var e={},n=[],r=!1,o=0;o<t.length;o++){var i=t[o];i.token===Pr&&!0===i.value&&(r=!0),1073741824&i.flags&&n.push(i.token),i.index=o,e[Ga(i.token)]=i}return{factory:null,providersByKey:e,providers:t,modules:n,isRoot:r}}([Pu(512,Yr,Jr,[[8,[pv,yv,Cv,Tv,Pv,Lv,Bv,Xg]],[3,Yr],Xr]),Pu(5120,Ia,Oa,[[3,Ia]]),Pu(4608,Yc,Jc,[Ia,[2,Kc]]),Pu(5120,ci,fi,[]),Pu(5120,Ca,Ra,[]),Pu(5120,xa,Aa,[]),Pu(4608,ap,up,[nf]),Pu(6144,co,null,[ap]),Pu(4608,Xf,ep,[]),Pu(5120,kf,function(t,e,n,r,o,i,a,u){return[new Jf(t,e,n),new ip(r),new np(o,i,a,u)]},[nf,Oi,di,nf,nf,Xf,gi,[2,tp]]),Pu(4608,Tf,Tf,[kf,Oi]),Pu(135680,Af,Af,[nf]),Pu(4608,Lf,Lf,[Tf,Af]),Pu(6144,io,null,[Lf]),Pu(6144,Rf,null,[Af]),Pu(4608,Vi,Vi,[Oi]),Pu(4608,Pg,Pg,[]),Pu(5120,Sh,ov,[jd]),Pu(4608,Zd,Zd,[]),Pu(6144,zd,null,[Zd]),Pu(135680,Gd,Gd,[jd,Yo,Ei,mr,zd]),Pu(4608,qd,qd,[]),Pu(5120,Qd,Xd,[jd,af,Wd]),Pu(5120,sv,uv,[iv]),Pu(5120,vi,function(t){return[t]},[sv]),Pu(1073742336,ef,ef,[]),Pu(1024,ii,vp,[]),Pu(1024,zi,function(){return[Jd()]},[]),Pu(512,iv,iv,[mr]),Pu(1024,si,function(t,e){return[(n=t,xf("probe",Sf),xf("coreTokens",i({},Ef,(n||[]).reduce(function(t,e){return t[e.name]=e.token,t},{}))),function(){return Sf}),av(e)];var n},[[2,zi],iv]),Pu(512,li,li,[[2,si]]),Pu(131584,Wi,Wi,[Oi,gi,mr,ii,Yr,li]),Pu(1073742336,Pa,Pa,[Wi]),Pu(1073742336,gp,gp,[[3,gp]]),Pu(1073742336,Rg,Rg,[]),Pu(1073742336,Ug,Ug,[]),Pu(1073742336,sg,sg,[[2,ug],[2,tp]]),Pu(1073742336,zv,zv,[]),Pu(1073742336,Kv,Kv,[]),Pu(1073742336,_g,_g,[]),Pu(1073742336,jg,jg,[]),Pu(1073742336,ag,ag,[]),Pu(1073742336,Tg,Tg,[]),Pu(1024,Kd,ev,[[3,jd]]),Pu(512,rh,oh,[]),Pu(512,Hd,Hd,[]),Pu(256,Wd,{},[]),Pu(1024,Vc,tv,[Lc,[2,Hc],Wd]),Pu(512,Fc,Fc,[Vc]),Pu(512,Ei,Ei,[]),Pu(512,Yo,Xi,[Ei,[2,Ji]]),Pu(1024,Id,function(){return[[{path:"",redirectTo:"first",pathMatch:"full"},{path:"first",component:hv},{path:"second",component:mv},{path:"third",component:xv},{path:"fourth",component:Iv},{path:"fifth",component:Nv},{path:"sixth",component:Uv}]]},[]),Pu(1024,jd,rv,[Wi,rh,Hd,Fc,mr,Yo,Ei,Id,Wd,[2,Ad],[2,kd]]),Pu(1073742336,$d,$d,[[2,Kd],[2,jd]]),Pu(1073742336,Bl,Bl,[]),Pu(256,Pr,!0,[])])});(function(){if(wo)throw new Error("Cannot enable prod mode after platform setup.");_o=!1})(),dp().bootstrapModuleFactory(ty).catch(function(t){return console.log(t)})}},[[0,0]]]);