1 line
318 KiB
JavaScript
1 line
318 KiB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(e,t,n){e.exports=n("zUnb")},crnd:function(e,t){function n(e){return Promise.resolve().then(function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t})}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="crnd"},zUnb:function(e,t,n){"use strict";n.r(t);var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function o(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function s(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s}function a(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function u(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function l(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(a){o={error:a}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s}function c(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(l(arguments[t]));return e}var p=Array.isArray||function(e){return e&&"number"==typeof e.length};function f(e){return null!=e&&"object"==typeof e}function h(e){return"function"==typeof e}var d,y={e:{}};function m(){try{return d.apply(this,arguments)}catch(e){return y.e=e,y}}function v(e){return d=e,m}var g=function(e){function t(n){var r=e.call(this,n?n.length+" errors occurred during unsubscription:\n "+n.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"")||this;return r.errors=n,r.name="UnsubscriptionError",Object.setPrototypeOf(r,t.prototype),r}return o(t,e),t}(Error),_=function(){function e(e){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}var t;return e.prototype.unsubscribe=function(){var e,t=!1;if(!this.closed){var n=this._parent,r=this._parents,o=this._unsubscribe,i=this._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var s=-1,a=r?r.length:0;n;)n.remove(this),n=++s<a&&r[s]||null;if(h(o)&&v(o).call(this)===y&&(t=!0,e=e||(y.e instanceof g?b(y.e.errors):[y.e])),p(i))for(s=-1,a=i.length;++s<a;){var u=i[s];if(f(u)&&v(u.unsubscribe).call(u)===y){t=!0,e=e||[];var l=y.e;l instanceof g?e=e.concat(b(l.errors)):e.push(l)}}if(t)throw new g(e)}},e.prototype.add=function(t){if(!t||t===e.EMPTY)return e.EMPTY;if(t===this)return this;var n=t;switch(typeof t){case"function":n=new e(t);case"object":if(n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if("function"!=typeof n._addParent){var r=n;(n=new e)._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}return(this._subscriptions||(this._subscriptions=[])).push(n),n._addParent(this),n},e.prototype.remove=function(e){var t=this._subscriptions;if(t){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}},e.prototype._addParent=function(e){var t=this._parent,n=this._parents;t&&t!==e?n?-1===n.indexOf(e)&&n.push(e):this._parents=[e]:this._parent=e},e.EMPTY=((t=new e).closed=!0,t),e}();function b(e){return e.reduce(function(e,t){return e.concat(t instanceof g?t.errors:t)},[])}var w=!1,E={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){w=e},get useDeprecatedSynchronousErrorHandling(){return w}};function C(e){setTimeout(function(){throw e})}var S={closed:!0,next:function(e){},error:function(e){if(E.useDeprecatedSynchronousErrorHandling)throw e;C(e)},complete:function(){}},T="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("rxSubscriber"):"@@rxSubscriber",k=function(e){function t(t,n,r){var o,i=e.call(this)||this;switch(i.syncErrorValue=null,i.syncErrorThrown=!1,i.syncErrorThrowable=!1,i.isStopped=!1,arguments.length){case 0:i.destination=S;break;case 1:if(!t){i.destination=S;break}if("object"==typeof t){if((o=t)instanceof k||"syncErrorThrowable"in o&&o[T]){var s=t[T]();i.syncErrorThrowable=s.syncErrorThrowable,i.destination=s,s.add(i)}else i.syncErrorThrowable=!0,i.destination=new x(i,t);break}default:i.syncErrorThrowable=!0,i.destination=new x(i,t,n,r)}return i}return o(t,e),t.prototype[T]=function(){return this},t.create=function(e,n,r){var o=new t(e,n,r);return o.syncErrorThrowable=!1,o},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this))},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){this.destination.error(e),this.unsubscribe()},t.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},t.prototype._unsubscribeAndRecycle=function(){var e=this._parent,t=this._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=e,this._parents=t,this},t}(_),x=function(e){function t(t,n,r,o){var i,s=e.call(this)||this;s._parentSubscriber=t;var a=s;return h(n)?i=n:n&&(i=n.next,r=n.error,o=n.complete,n!==S&&(h((a=Object.create(n)).unsubscribe)&&s.add(a.unsubscribe.bind(a)),a.unsubscribe=s.unsubscribe.bind(s))),s._context=a,s._next=i,s._error=r,s._complete=o,s}return o(t,e),t.prototype.next=function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;E.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}},t.prototype.error=function(e){if(!this.isStopped){var t=this._parentSubscriber,n=E.useDeprecatedSynchronousErrorHandling;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):C(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;C(e)}}},t.prototype.complete=function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var n=function(){return e._complete.call(e._context)};E.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},t.prototype.__tryOrUnsub=function(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),E.useDeprecatedSynchronousErrorHandling)throw n;C(n)}},t.prototype.__tryOrSetError=function(e,t,n){if(!E.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(r){return E.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0,!0):(C(r),!0)}return!1},t.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()},t}(k),P="function"==typeof Symbol&&Symbol.observable||"@@observable";var O=function(){function e(e){this._isScalar=!1,e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var r=this.operator,o=function(e,t,n){if(e){if(e instanceof k)return e;if(e[T])return e[T]()}return e||t||n?new k(e,t,n):new k(S)}(e,t,n);if(r?r.call(o,this.source):o.add(this.source||E.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),E.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){E.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),e.error(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=A(t))(function(t,r){var o;o=n.subscribe(function(t){try{e(t)}catch(n){r(n),o&&o.unsubscribe()}},r,t)})},e.prototype._subscribe=function(e){var t=this.source;return t&&t.subscribe(e)},e.prototype[P]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?this:((n=e)?1===n.length?n[0]:function(e){return n.reduce(function(e,t){return t(e)},e)}:function(){})(this);var n},e.prototype.toPromise=function(e){var t=this;return new(e=A(e))(function(e,n){var r;t.subscribe(function(e){return r=e},function(e){return n(e)},function(){return e(r)})})},e.create=function(t){return new e(t)},e}();function A(e){if(e||(e=E.Promise||Promise),!e)throw new Error("no Promise impl found");return e}var N=function(e){function t(){var n=e.call(this,"object unsubscribed")||this;return n.name="ObjectUnsubscribedError",Object.setPrototypeOf(n,t.prototype),n}return o(t,e),t}(Error),I=function(e){function t(t,n){var r=e.call(this)||this;return r.subject=t,r.subscriber=n,r.closed=!1,r}return o(t,e),t.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var e=this.subject,t=e.observers;if(this.subject=null,t&&0!==t.length&&!e.isStopped&&!e.closed){var n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}},t}(_),D=function(e){function t(t){var n=e.call(this,t)||this;return n.destination=t,n}return o(t,e),t}(k),M=function(e){function t(){var t=e.call(this)||this;return t.observers=[],t.closed=!1,t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return o(t,e),t.prototype[T]=function(){return new D(this)},t.prototype.lift=function(e){var t=new V(this,this);return t.operator=e,t},t.prototype.next=function(e){if(this.closed)throw new N;if(!this.isStopped)for(var t=this.observers,n=t.length,r=t.slice(),o=0;o<n;o++)r[o].next(e)},t.prototype.error=function(e){if(this.closed)throw new N;this.hasError=!0,this.thrownError=e,this.isStopped=!0;for(var t=this.observers,n=t.length,r=t.slice(),o=0;o<n;o++)r[o].error(e);this.observers.length=0},t.prototype.complete=function(){if(this.closed)throw new N;this.isStopped=!0;for(var e=this.observers,t=e.length,n=e.slice(),r=0;r<t;r++)n[r].complete();this.observers.length=0},t.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},t.prototype._trySubscribe=function(t){if(this.closed)throw new N;return e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){if(this.closed)throw new N;return this.hasError?(e.error(this.thrownError),_.EMPTY):this.isStopped?(e.complete(),_.EMPTY):(this.observers.push(e),new I(this,e))},t.prototype.asObservable=function(){var e=new O;return e.source=this,e},t.create=function(e,t){return new V(e,t)},t}(O),V=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return o(t,e),t.prototype.next=function(e){var t=this.destination;t&&t.next&&t.next(e)},t.prototype.error=function(e){var t=this.destination;t&&t.error&&this.destination.error(e)},t.prototype.complete=function(){var e=this.destination;e&&e.complete&&this.destination.complete()},t.prototype._subscribe=function(e){return this.source?this.source.subscribe(e):_.EMPTY},t}(M);function R(e){return e&&"function"==typeof e.schedule}var F=function(e){function t(t,n,r){var o=e.call(this)||this;return o.parent=t,o.outerValue=n,o.outerIndex=r,o.index=0,o}return o(t,e),t.prototype._next=function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)},t.prototype._error=function(e){this.parent.notifyError(e,this),this.unsubscribe()},t.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},t}(k),j=function(e){return function(t){for(var n=0,r=e.length;n<r&&!t.closed;n++)t.next(e[n]);t.closed||t.complete()}},L=function(e){return function(t){return e.then(function(e){t.closed||(t.next(e),t.complete())},function(e){return t.error(e)}).then(null,C),t}};function H(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}var B=H(),z=function(e){return function(t){for(var n=e[B]();;){var r=n.next();if(r.done){t.complete();break}if(t.next(r.value),t.closed)break}return"function"==typeof n.return&&t.add(function(){n.return&&n.return()}),t}},U=function(e){return function(t){var n=e[P]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(t)}},q=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};function Q(e){return e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}var G=function(e){if(e instanceof O)return function(t){return e._isScalar?(t.next(e.value),void t.complete()):e.subscribe(t)};if(e&&"function"==typeof e[P])return U(e);if(q(e))return j(e);if(Q(e))return L(e);if(e&&"function"==typeof e[B])return z(e);var t=f(e)?"an invalid object":"'"+e+"'";throw new TypeError("You provided "+t+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")};function K(e,t,n,r){var o=new F(e,n,r);return G(t)(o)}var Z=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.notifyNext=function(e,t,n,r,o){this.destination.next(t)},t.prototype.notifyError=function(e,t){this.destination.error(e)},t.prototype.notifyComplete=function(e){this.destination.complete()},t}(k);function W(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new $(e,t))}}var $=function(){function e(e,t){this.project=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new Y(e,this.project,this.thisArg))},e}(),Y=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.project=n,o.count=0,o.thisArg=r||o,o}return o(t,e),t.prototype._next=function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)},t}(k);function J(e,t){return new O(t?function(n){var r=new _,o=0;return r.add(t.schedule(function(){o!==e.length?(n.next(e[o++]),n.closed||r.add(this.schedule())):n.complete()})),r}:j(e))}function X(e,t){if(!t)return e instanceof O?e:new O(G(e));if(null!=e){if(function(e){return e&&"function"==typeof e[P]}(e))return function(e,t){return new O(t?function(n){var r=new _;return r.add(t.schedule(function(){var o=e[P]();r.add(o.subscribe({next:function(e){r.add(t.schedule(function(){return n.next(e)}))},error:function(e){r.add(t.schedule(function(){return n.error(e)}))},complete:function(){r.add(t.schedule(function(){return n.complete()}))}}))})),r}:U(e))}(e,t);if(Q(e))return function(e,t){return new O(t?function(n){var r=new _;return r.add(t.schedule(function(){return e.then(function(e){r.add(t.schedule(function(){n.next(e),r.add(t.schedule(function(){return n.complete()}))}))},function(e){r.add(t.schedule(function(){return n.error(e)}))})})),r}:L(e))}(e,t);if(q(e))return J(e,t);if(function(e){return e&&"function"==typeof e[B]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new O(t?function(n){var r,o=new _;return o.add(function(){r&&"function"==typeof r.return&&r.return()}),o.add(t.schedule(function(){r=e[B](),o.add(t.schedule(function(){if(!n.closed){var e,t;try{var o=r.next();e=o.value,t=o.done}catch(i){return void n.error(i)}t?n.complete():(n.next(e),this.schedule())}}))})),o}:z(e))}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}function ee(e,t,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof t?function(r){return r.pipe(ee(function(n,r){return X(e(n,r)).pipe(W(function(e,o){return t(n,e,r,o)}))},n))}:("number"==typeof t&&(n=t),function(t){return t.lift(new te(e,n))})}var te=function(){function e(e,t){void 0===t&&(t=Number.POSITIVE_INFINITY),this.project=e,this.concurrent=t}return e.prototype.call=function(e,t){return t.subscribe(new ne(e,this.project,this.concurrent))},e}(),ne=function(e){function t(t,n,r){void 0===r&&(r=Number.POSITIVE_INFINITY);var o=e.call(this,t)||this;return o.project=n,o.concurrent=r,o.hasCompleted=!1,o.buffer=[],o.active=0,o.index=0,o}return o(t,e),t.prototype._next=function(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)},t.prototype._tryNext=function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(t,e,n)},t.prototype._innerSub=function(e,t,n){this.add(K(this,e,t,n))},t.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete()},t.prototype.notifyNext=function(e,t,n,r,o){this.destination.next(t)},t.prototype.notifyComplete=function(e){var t=this.buffer;this.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},t}(Z);function re(e){return e}function oe(){return function(e){return e.lift(new ie(e))}}var ie=function(){function e(e){this.connectable=e}return e.prototype.call=function(e,t){var n=this.connectable;n._refCount++;var r=new se(e,n),o=t.subscribe(r);return r.closed||(r.connection=n.connect()),o},e}(),se=function(e){function t(t,n){var r=e.call(this,t)||this;return r.connectable=n,r}return o(t,e),t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var n=this.connection,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},t}(k),ae=function(e){function t(t,n){var r=e.call(this)||this;return r.source=t,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return o(t,e),t.prototype._subscribe=function(e){return this.getSubject().subscribe(e)},t.prototype.getSubject=function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject},t.prototype.connect=function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new _).add(this.source.subscribe(new le(this.getSubject(),this))),e.closed?(this._connection=null,e=_.EMPTY):this._connection=e),e},t.prototype.refCount=function(){return oe()(this)},t}(O).prototype,ue={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:ae._subscribe},_isComplete:{value:ae._isComplete,writable:!0},getSubject:{value:ae.getSubject},connect:{value:ae.connect},refCount:{value:ae.refCount}},le=function(e){function t(t,n){var r=e.call(this,t)||this;return r.connectable=n,r}return o(t,e),t.prototype._error=function(t){this._unsubscribe(),e.prototype._error.call(this,t)},t.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}},t}(D);function ce(){return new M}function pe(e){return{providedIn:e.providedIn||null,factory:e.factory,value:void 0}}var fe=function(){function e(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0!==t?pe({providedIn:t.providedIn||"root",factory:t.factory}):void 0}return e.prototype.toString=function(){return"InjectionToken "+this._desc},e}(),he="__parameters__";function de(e,t,n){var r=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(e){var r=e.apply(void 0,c(t));for(var o in r)this[o]=r[o]}}}(t);function o(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(this instanceof o)return r.apply(this,t),this;var i=new((e=o).bind.apply(e,c([void 0],t)));return s.annotation=i,s;function s(e,t,n){for(var r=e.hasOwnProperty(he)?e[he]:Object.defineProperty(e,he,{value:[]})[he];r.length<=n;)r.push(null);return(r[n]=r[n]||[]).push(i),e}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o}var ye="undefined"!=typeof window&&window,me="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,ve="undefined"!=typeof global&&global||ye||me,ge=Promise.resolve(0),_e=null;function be(){if(!_e){var e=ve.Symbol;if(e&&e.iterator)_e=e.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),n=0;n<t.length;++n){var r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(_e=r)}}return _e}function we(e){"undefined"==typeof Zone?ge.then(function(){e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}function Ee(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}function Ce(e){if("string"==typeof e)return e;if(e instanceof Array)return"["+e.map(Ce).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;var t=e.toString();if(null==t)return""+t;var n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Se(e){return e.__forward_ref__=Se,e.toString=function(){return Ce(this())},e}function Te(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")&&e.__forward_ref__===Se?e():e}var ke=de("Inject",function(e){return{token:e}}),xe=de("Optional"),Pe=de("Self"),Oe=de("SkipSelf"),Ae="__source",Ne=new Object,Ie=new fe("INJECTOR"),De=function(){function e(){}return e.prototype.get=function(e,t){if(void 0===t&&(t=Ne),t===Ne)throw new Error("NullInjectorError: No provider for "+Ce(e)+"!");return t},e}(),Me=function(){function e(){}return e.create=function(e,t){return Array.isArray(e)?new qe(e,t):new qe(e.providers,e.parent,e.name||null)},e.THROW_IF_NOT_FOUND=Ne,e.NULL=new De,e.ngInjectableDef=pe({providedIn:"any",factory:function(){return Ye(Ie)}}),e}(),Ve=function(e){return e},Re=[],Fe=Ve,je=function(){return Array.prototype.slice.call(arguments)},Le={},He=Ze({provide:String,useValue:Le}),Be=Me.NULL,ze=/\n/gm,Ue="\u0275",qe=function(){function e(e,t,n){void 0===t&&(t=Be),void 0===n&&(n=null),this.parent=t,this.source=n;var r=this._records=new Map;r.set(Me,{token:Me,fn:Ve,deps:Re,value:this,useNew:!1}),r.set(Ie,{token:Ie,fn:Ve,deps:Re,value:this,useNew:!1}),function e(t,n){if(n)if((n=Te(n))instanceof Array)for(var r=0;r<n.length;r++)e(t,n[r]);else{if("function"==typeof n)throw Ke("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw Ke("Unexpected provider",n);var o=Te(n.provide),i=function(e){var t=function(e){var t=Re,n=e.deps;if(n&&n.length){t=[];for(var r=0;r<n.length;r++){var o=6;if((u=Te(n[r]))instanceof Array)for(var i=0,s=u;i<s.length;i++){var a=s[i];a instanceof xe||a==xe?o|=1:a instanceof Oe||a==Oe?o&=-3:a instanceof Pe||a==Pe?o&=-5:u=a instanceof ke?a.token:Te(a)}t.push({token:u,options:o})}}else if(e.useExisting){var u;t=[{token:u=Te(e.useExisting),options:6}]}else if(!(n||He in e))throw Ke("'deps' required",e);return t}(e),n=Ve,r=Re,o=!1,i=Te(e.provide);if(He in e)r=e.useValue;else if(e.useFactory)n=e.useFactory;else if(e.useExisting);else if(e.useClass)o=!0,n=Te(e.useClass);else{if("function"!=typeof i)throw Ke("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",e);o=!0,n=i}return{deps:t,fn:n,useNew:o,value:r}}(n);if(!0===n.multi){var s=t.get(o);if(s){if(s.fn!==je)throw Qe(o)}else t.set(o,s={token:n.provide,deps:[],useNew:!1,fn:je,value:Re});s.deps.push({token:o=n,options:6})}var a=t.get(o);if(a&&a.fn==je)throw Qe(o);t.set(o,i)}}(r,e)}return e.prototype.get=function(e,t,n){void 0===n&&(n=0);var r=this._records.get(e);try{return function e(t,n,r,o,i,s){try{return function(t,n,r,o,i,s){var a,u;if(!n||4&s)2&s||(u=o.get(t,i,0));else{if((u=n.value)==Fe)throw Error(Ue+"Circular dependency");if(u===Re){n.value=Fe;var l=n.useNew,p=n.fn,f=n.deps,h=Re;if(f.length){h=[];for(var d=0;d<f.length;d++){var y=f[d],m=y.options,v=2&m?r.get(y.token):void 0;h.push(e(y.token,v,r,v||4&m?o:Be,1&m?null:Me.THROW_IF_NOT_FOUND,0))}}n.value=u=l?new((a=p).bind.apply(a,c([void 0],h))):p.apply(void 0,h)}}return u}(t,n,r,o,i,s)}catch(a){throw a instanceof Error||(a=new Error(a)),(a.ngTempTokenPath=a.ngTempTokenPath||[]).unshift(t),n&&n.value==Fe&&(n.value=Re),a}}(e,r,this._records,this.parent,t,n)}catch(i){var o=i.ngTempTokenPath;throw e[Ae]&&o.unshift(e[Ae]),i.message=Ge("\n"+i.message,o,this.source),i.ngTokenPath=o,i.ngTempTokenPath=null,i}},e.prototype.toString=function(){var e=[];return this._records.forEach(function(t,n){return e.push(Ce(n))}),"StaticInjector["+e.join(", ")+"]"},e}();function Qe(e){return Ke("Cannot mix multi providers and regular providers",e)}function Ge(e,t,n){void 0===n&&(n=null),e=e&&"\n"===e.charAt(0)&&e.charAt(1)==Ue?e.substr(2):e;var r=Ce(t);if(t instanceof Array)r=t.map(Ce).join(" -> ");else if("object"==typeof t){var o=[];for(var i in t)if(t.hasOwnProperty(i)){var s=t[i];o.push(i+":"+("string"==typeof s?JSON.stringify(s):Ce(s)))}r="{"+o.join(", ")+"}"}return"StaticInjectorError"+(n?"("+n+")":"")+"["+r+"]: "+e.replace(ze,"\n ")}function Ke(e,t){return new Error(Ge(e,t))}function Ze(e){for(var t in e)if(e[t]===Le)return t;throw Error("!prop")}var We=void 0;function $e(e){var t=We;return We=e,t}function Ye(e,t){if(void 0===t&&(t=0),void 0===We)throw new Error("inject() must be called from an injection context");if(null===We){var n=e.ngInjectableDef;if(n&&"root"==n.providedIn)return void 0===n.value?n.value=n.factory():n.value;if(8&t)return null;throw new Error("Injector: NOT_FOUND ["+Ce(e)+"]")}return We.get(e,8&t?null:void 0,t)}var Je=function(e){return e[e.Emulated=0]="Emulated",e[e.Native=1]="Native",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}({}),Xe=new(function(){return function(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}())("6.1.10"),et="ngDebugContext",tt="ngOriginalError",nt="ngErrorLogger";function rt(e){return e[et]}function ot(e){return e[tt]}function it(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e.error.apply(e,c(t))}var st=function(){function e(){this._console=console}return e.prototype.handleError=function(e){var t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e[nt]||it}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)},e.prototype._findContext=function(e){return e?rt(e)?rt(e):this._findContext(ot(e)):null},e.prototype._findOriginalError=function(e){for(var t=ot(e);t&&ot(t);)t=ot(t);return t},e}(),at=new fe("The presence of this token marks an injector as being the root injector.");function ut(e){return!!e&&"function"==typeof e.then}var lt=new fe("Application Initializer"),ct=function(){function e(e){var t=this;this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise(function(e,n){t.resolve=e,t.reject=n})}return e.prototype.runInitializers=function(){var e=this;if(!this.initialized){var t=[],n=function(){e.done=!0,e.resolve()};if(this.appInits)for(var r=0;r<this.appInits.length;r++){var o=this.appInits[r]();ut(o)&&t.push(o)}Promise.all(t).then(function(){n()}).catch(function(t){e.reject(t)}),0===t.length&&n(),this.initialized=!0}},e}(),pt=new fe("AppId");function ft(){return""+ht()+ht()+ht()}function ht(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var dt=new fe("Platform Initializer"),yt=new fe("Platform ID"),mt=new fe("appBootstrapListener"),vt=function(){function e(){}return e.prototype.log=function(e){console.log(e)},e.prototype.warn=function(e){console.warn(e)},e}();function gt(){throw new Error("Runtime compiler is not loaded")}var _t=function(){function e(){}return e.prototype.compileModuleSync=function(e){throw gt()},e.prototype.compileModuleAsync=function(e){throw gt()},e.prototype.compileModuleAndAllComponentsSync=function(e){throw gt()},e.prototype.compileModuleAndAllComponentsAsync=function(e){throw gt()},e.prototype.clearCache=function(){},e.prototype.clearCacheFor=function(e){},e.prototype.getModuleId=function(e){},e}(),bt=function(){return function(){}}(),wt=function(){return function(){}}(),Et=function(){return function(){}}();function Ct(e){var t=Error("No component factory found for "+Ce(e)+". Did you add it to @NgModule.entryComponents?");return t[kt]=e,t}var St,Tt,kt="ngComponent",xt=function(){function e(){}return e.prototype.resolveComponentFactory=function(e){throw Ct(e)},e}(),Pt=function(){function e(){}return e.NULL=new xt,e}(),Ot=function(){function e(e,t,n){this._parent=t,this._ngModule=n,this._factories=new Map;for(var r=0;r<e.length;r++){var o=e[r];this._factories.set(o.componentType,o)}}return e.prototype.resolveComponentFactory=function(e){var t=this._factories.get(e);if(!t&&this._parent&&(t=this._parent.resolveComponentFactory(e)),!t)throw Ct(e);return new At(t,this._ngModule)},e}(),At=function(e){function t(t,n){var r=e.call(this)||this;return r.factory=t,r.ngModule=n,r.selector=t.selector,r.componentType=t.componentType,r.ngContentSelectors=t.ngContentSelectors,r.inputs=t.inputs,r.outputs=t.outputs,r}return o(t,e),t.prototype.create=function(e,t,n,r){return this.factory.create(e,t,n,r||this.ngModule)},t}(Et),Nt=function(){return function(){}}(),It=function(){return function(){}}();function Dt(){var e=ve.wtf;return!(!e||!(St=e.trace)||(Tt=St.events,0))}var Mt=Dt();function Vt(e,t){return null}var Rt=Mt?function(e,t){return void 0===t&&(t=null),Tt.createScope(e,t)}:function(e,t){return Vt},Ft=Mt?function(e,t){return St.leaveScope(e,t),t}:function(e,t){return t},jt=function(e){function t(t){void 0===t&&(t=!1);var n=e.call(this)||this;return n.__isAsync=t,n}return o(t,e),t.prototype.emit=function(t){e.prototype.next.call(this,t)},t.prototype.subscribe=function(t,n,r){var o,i=function(e){return null},s=function(){return null};t&&"object"==typeof t?(o=this.__isAsync?function(e){setTimeout(function(){return t.next(e)})}:function(e){t.next(e)},t.error&&(i=this.__isAsync?function(e){setTimeout(function(){return t.error(e)})}:function(e){t.error(e)}),t.complete&&(s=this.__isAsync?function(){setTimeout(function(){return t.complete()})}:function(){t.complete()})):(o=this.__isAsync?function(e){setTimeout(function(){return t(e)})}:function(e){t(e)},n&&(i=this.__isAsync?function(e){setTimeout(function(){return n(e)})}:function(e){n(e)}),r&&(s=this.__isAsync?function(){setTimeout(function(){return r()})}:function(){r()}));var a=e.prototype.subscribe.call(this,o,i,s);return t instanceof _&&t.add(a),a},t}(M),Lt=function(){function e(e){var t,n=e.enableLongStackTrace,r=void 0!==n&&n;if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new jt(!1),this.onMicrotaskEmpty=new jt(!1),this.onStable=new jt(!1),this.onError=new jt(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),(t=this)._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(e,n,r,o,i,s){try{return Ut(t),e.invokeTask(r,o,i,s)}finally{qt(t)}},onInvoke:function(e,n,r,o,i,s,a){try{return Ut(t),e.invoke(r,o,i,s,a)}finally{qt(t)}},onHasTask:function(e,n,r,o){e.hasTask(r,o),n===r&&("microTask"==o.change?(t.hasPendingMicrotasks=o.microTask,zt(t)):"macroTask"==o.change&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:function(e,n,r,o){return e.handleError(r,o),t.runOutsideAngular(function(){return t.onError.emit(o)}),!1}})}return e.isInAngularZone=function(){return!0===Zone.current.get("isAngularZone")},e.assertInAngularZone=function(){if(!e.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")},e.assertNotInAngularZone=function(){if(e.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")},e.prototype.run=function(e,t,n){return this._inner.run(e,t,n)},e.prototype.runTask=function(e,t,n,r){var o=this._inner,i=o.scheduleEventTask("NgZoneEvent: "+r,e,Bt,Ht,Ht);try{return o.runTask(i,t,n)}finally{o.cancelTask(i)}},e.prototype.runGuarded=function(e,t,n){return this._inner.runGuarded(e,t,n)},e.prototype.runOutsideAngular=function(e){return this._outer.run(e)},e}();function Ht(){}var Bt={};function zt(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(function(){return e.onStable.emit(null)})}finally{e.isStable=!0}}}function Ut(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function qt(e){e._nesting--,zt(e)}var Qt,Gt=function(){function e(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new jt,this.onMicrotaskEmpty=new jt,this.onStable=new jt,this.onError=new jt}return e.prototype.run=function(e){return e()},e.prototype.runGuarded=function(e){return e()},e.prototype.runOutsideAngular=function(e){return e()},e.prototype.runTask=function(e){return e()},e}(),Kt=function(){function e(e){var t=this;this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this._watchAngularEvents(),e.run(function(){t.taskTrackingZone=Zone.current.get("TaskTrackingZone")})}return e.prototype._watchAngularEvents=function(){var e=this;this._ngZone.onUnstable.subscribe({next:function(){e._didWork=!0,e._isZoneStable=!1}}),this._ngZone.runOutsideAngular(function(){e._ngZone.onStable.subscribe({next:function(){Lt.assertNotInAngularZone(),we(function(){e._isZoneStable=!0,e._runCallbacksIfReady()})}})})},e.prototype.increasePendingRequestCount=function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount},e.prototype.decreasePendingRequestCount=function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount},e.prototype.isStable=function(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks},e.prototype._runCallbacksIfReady=function(){var e=this;if(this.isStable())we(function(){for(;0!==e._callbacks.length;){var t=e._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(e._didWork)}e._didWork=!1});else{var t=this.getPendingTasks();this._callbacks=this._callbacks.filter(function(e){return!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)}),this._didWork=!0}},e.prototype.getPendingTasks=function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(function(e){return{source:e.source,isPeriodic:e.data.isPeriodic,delay:e.data.delay,creationLocation:e.creationLocation,xhr:e.data.target}}):[]},e.prototype.addCallback=function(e,t,n){var r=this,o=-1;t&&t>0&&(o=setTimeout(function(){r._callbacks=r._callbacks.filter(function(e){return e.timeoutId!==o}),e(r._didWork,r.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:o,updateCb:n})},e.prototype.whenStable=function(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()},e.prototype.getPendingRequestCount=function(){return this._pendingCount},e.prototype.findProviders=function(e,t,n){return[]},e}(),Zt=function(){function e(){this._applications=new Map,Wt.addToWindow(this)}return e.prototype.registerApplication=function(e,t){this._applications.set(e,t)},e.prototype.unregisterApplication=function(e){this._applications.delete(e)},e.prototype.unregisterAllApplications=function(){this._applications.clear()},e.prototype.getTestability=function(e){return this._applications.get(e)||null},e.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},e.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},e.prototype.findTestabilityInTree=function(e,t){return void 0===t&&(t=!0),Wt.findTestabilityInTree(this,e,t)},s([a("design:paramtypes",[])],e)}(),Wt=new(function(){function e(){}return e.prototype.addToWindow=function(e){},e.prototype.findTestabilityInTree=function(e,t,n){return null},e}()),$t=!0,Yt=!1,Jt=new fe("AllowMultipleToken");function Xt(){return Yt=!0,$t}var en=function(){return function(e,t){this.name=e,this.token=t}}();function tn(e,t,n){void 0===n&&(n=[]);var r="Platform: "+t,o=new fe(r);return function(t){void 0===t&&(t=[]);var i=nn();if(!i||i.injector.get(Jt,!1))if(e)e(n.concat(t).concat({provide:o,useValue:!0}));else{var s=n.concat(t).concat({provide:o,useValue:!0});!function(e){if(Qt&&!Qt.destroyed&&!Qt.injector.get(Jt,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Qt=e.get(rn);var t=e.get(dt,null);t&&t.forEach(function(e){return e()})}(Me.create({providers:s,name:r}))}return function(e){var t=nn();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(o)}}function nn(){return Qt&&!Qt.destroyed?Qt:null}var rn=function(){function e(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return e.prototype.bootstrapModuleFactory=function(e,t){var n,r=this,o="noop"===(n=t?t.ngZone:void 0)?new Gt:("zone.js"===n?void 0:n)||new Lt({enableLongStackTrace:Xt()}),i=[{provide:Lt,useValue:o}];return o.run(function(){var t=Me.create({providers:i,parent:r.injector,name:e.moduleType.name}),n=e.create(t),s=n.injector.get(st,null);if(!s)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy(function(){return an(r._modules,n)}),o.runOutsideAngular(function(){return o.onError.subscribe({next:function(e){s.handleError(e)}})}),function(e,t,o){try{var i=((s=n.injector.get(ct)).runInitializers(),s.donePromise.then(function(){return r._moduleDoBootstrap(n),n}));return ut(i)?i.catch(function(n){throw t.runOutsideAngular(function(){return e.handleError(n)}),n}):i}catch(a){throw t.runOutsideAngular(function(){return e.handleError(a)}),a}var s}(s,o)})},e.prototype.bootstrapModule=function(e,t){var n=this;void 0===t&&(t=[]);var r=this.injector.get(bt),o=on({},t);return r.createCompiler([o]).compileModuleAsync(e).then(function(e){return n.bootstrapModuleFactory(e,o)})},e.prototype._moduleDoBootstrap=function(e){var t=e.injector.get(sn);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(function(e){return t.bootstrap(e)});else{if(!e.instance.ngDoBootstrap)throw new Error("The module "+Ce(e.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');e.instance.ngDoBootstrap(t)}this._modules.push(e)},e.prototype.onDestroy=function(e){this._destroyListeners.push(e)},Object.defineProperty(e.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(e){return e.destroy()}),this._destroyListeners.forEach(function(e){return e()}),this._destroyed=!0},Object.defineProperty(e.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),e}();function on(e,t){return Array.isArray(t)?t.reduce(on,e):i({},e,t)}var sn=function(){function e(e,t,n,r,o,i){var s=this;this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=o,this._initStatus=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Xt(),this._zone.onMicrotaskEmpty.subscribe({next:function(){s._zone.run(function(){s.tick()})}});var a=new O(function(e){s._stable=s._zone.isStable&&!s._zone.hasPendingMacrotasks&&!s._zone.hasPendingMicrotasks,s._zone.runOutsideAngular(function(){e.next(s._stable),e.complete()})}),u=new O(function(e){var t;s._zone.runOutsideAngular(function(){t=s._zone.onStable.subscribe(function(){Lt.assertNotInAngularZone(),we(function(){s._stable||s._zone.hasPendingMacrotasks||s._zone.hasPendingMicrotasks||(s._stable=!0,e.next(!0))})})});var n=s._zone.onUnstable.subscribe(function(){Lt.assertInAngularZone(),s._stable&&(s._stable=!1,s._zone.runOutsideAngular(function(){e.next(!1)}))});return function(){t.unsubscribe(),n.unsubscribe()}});this.isStable=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Number.POSITIVE_INFINITY,r=null,o=e[e.length-1];return R(o)?(r=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(n=e.pop())):"number"==typeof o&&(n=e.pop()),null===r&&1===e.length&&e[0]instanceof O?e[0]:function(e){return void 0===e&&(e=Number.POSITIVE_INFINITY),ee(re,e)}(n)(J(e,r))}(a,u.pipe(function(e){return oe()((t=ce,function(e){var n;n="function"==typeof t?t:function(){return t};var r=Object.create(e,ue);return r.source=e,r.subjectFactory=n,r})(e));var t}))}var t;return t=e,e.prototype.bootstrap=function(e,t){var n,r=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=e instanceof Et?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var o=n instanceof At?null:this._injector.get(Nt),i=n.create(Me.NULL,[],t||n.selector,o);i.onDestroy(function(){r._unloadComponent(i)});var s=i.injector.get(Kt,null);return s&&i.injector.get(Zt).registerApplication(i.location.nativeElement,s),this._loadComponent(i),Xt()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),i},e.prototype.tick=function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=t._tickScope();try{this._runningTick=!0,this._views.forEach(function(e){return e.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(e){return e.checkNoChanges()})}catch(r){this._zone.runOutsideAngular(function(){return e._exceptionHandler.handleError(r)})}finally{this._runningTick=!1,Ft(n)}},e.prototype.attachView=function(e){var t=e;this._views.push(t),t.attachToAppRef(this)},e.prototype.detachView=function(e){var t=e;an(this._views,t),t.detachFromAppRef()},e.prototype._loadComponent=function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(mt,[]).concat(this._bootstrapListeners).forEach(function(t){return t(e)})},e.prototype._unloadComponent=function(e){this.detachView(e.hostView),an(this.components,e)},e.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(e){return e.destroy()})},Object.defineProperty(e.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),e._tickScope=Rt("ApplicationRef#tick()"),e}();function an(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var un=function(){return function(){}}(),ln=function(){return function(){}}(),cn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({}),pn=function(){return function(){}}(),fn=function(){return function(e){this.nativeElement=e}}(),hn=function(){function e(){this.dirty=!0,this._results=[],this.changes=new jt,this.length=0}return e.prototype.map=function(e){return this._results.map(e)},e.prototype.filter=function(e){return this._results.filter(e)},e.prototype.find=function(e){return this._results.find(e)},e.prototype.reduce=function(e,t){return this._results.reduce(e,t)},e.prototype.forEach=function(e){this._results.forEach(e)},e.prototype.some=function(e){return this._results.some(e)},e.prototype.toArray=function(){return this._results.slice()},e.prototype[be()]=function(){return this._results[be()]()},e.prototype.toString=function(){return this._results.toString()},e.prototype.reset=function(e){this._results=function e(t){return t.reduce(function(t,n){var r=Array.isArray(n)?e(n):n;return t.concat(r)},[])}(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},e.prototype.notifyOnChanges=function(){this.changes.emit(this)},e.prototype.setDirty=function(){this.dirty=!0},e.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},e}(),dn=function(){return function(){}}(),yn=function(){return function(){}}(),mn=function(){return function(){}}(),vn=function(){return function(e,t){this.name=e,this.callback=t}}(),gn=function(){function e(e,t,n){this._debugContext=n,this.nativeNode=e,t&&t instanceof _n?t.addChild(this):this.parent=null,this.listeners=[]}return Object.defineProperty(e.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),e}(),_n=function(e){function t(t,n,r){var o=e.call(this,t,n,r)||this;return o.properties={},o.attributes={},o.classes={},o.styles={},o.childNodes=[],o.nativeElement=t,o}return o(t,e),t.prototype.addChild=function(e){e&&(this.childNodes.push(e),e.parent=this)},t.prototype.removeChild=function(e){var t=this.childNodes.indexOf(e);-1!==t&&(e.parent=null,this.childNodes.splice(t,1))},t.prototype.insertChildrenAfter=function(e,t){var n,r=this,o=this.childNodes.indexOf(e);-1!==o&&((n=this.childNodes).splice.apply(n,c([o+1,0],t)),t.forEach(function(e){e.parent&&e.parent.removeChild(e),e.parent=r}))},t.prototype.insertBefore=function(e,t){var n=this.childNodes.indexOf(e);-1===n?this.addChild(t):(t.parent&&t.parent.removeChild(t),t.parent=this,this.childNodes.splice(n,0,t))},t.prototype.query=function(e){return this.queryAll(e)[0]||null},t.prototype.queryAll=function(e){var t=[];return function e(t,n,r){t.childNodes.forEach(function(t){t instanceof _n&&(n(t)&&r.push(t),e(t,n,r))})}(this,e,t),t},t.prototype.queryAllNodes=function(e){var t=[];return function e(t,n,r){t instanceof _n&&t.childNodes.forEach(function(t){n(t)&&r.push(t),t instanceof _n&&e(t,n,r)})}(this,e,t),t},Object.defineProperty(t.prototype,"children",{get:function(){return this.childNodes.filter(function(e){return e instanceof t})},enumerable:!0,configurable:!0}),t.prototype.triggerEventHandler=function(e,t){this.listeners.forEach(function(n){n.name==e&&n.callback(t)})},t}(gn),bn=new Map;function wn(e){return bn.get(e)||null}function En(e){bn.set(e.nativeNode,e)}function Cn(e,t){var n=kn(e),r=kn(t);return n&&r?function(e,t,n){for(var r=e[be()](),o=t[be()]();;){var i=r.next(),s=o.next();if(i.done&&s.done)return!0;if(i.done||s.done)return!1;if(!n(i.value,s.value))return!1}}(e,t,Cn):!(n||!e||"object"!=typeof e&&"function"!=typeof e||r||!t||"object"!=typeof t&&"function"!=typeof t)||Ee(e,t)}var Sn=function(){function e(e){this.wrapped=e}return e.wrap=function(t){return new e(t)},e.unwrap=function(t){return e.isWrapped(t)?t.wrapped:t},e.isWrapped=function(t){return t instanceof e},e}(),Tn=function(){function e(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}return e.prototype.isFirstChange=function(){return this.firstChange},e}();function kn(e){return!!xn(e)&&(Array.isArray(e)||!(e instanceof Map)&&be()in e)}function xn(e){return null!==e&&("function"==typeof e||"object"==typeof e)}var Pn=function(){function e(){}return e.prototype.supports=function(e){return kn(e)},e.prototype.create=function(e){return new An(e)},e}(),On=function(e,t){return t},An=function(){function e(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||On}return e.prototype.forEachItem=function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)},e.prototype.forEachOperation=function(e){for(var t=this._itHead,n=this._removalsHead,r=0,o=null;t||n;){var i=!n||t&&t.currentIndex<Mn(n,r,o)?t:n,s=Mn(i,r,o),a=i.currentIndex;if(i===n)r--,n=n._nextRemoved;else if(t=t._next,null==i.previousIndex)r++;else{o||(o=[]);var u=s-r,l=a-r;if(u!=l){for(var c=0;c<u;c++){var p=c<o.length?o[c]:o[c]=0,f=p+c;l<=f&&f<u&&(o[c]=p+1)}o[i.previousIndex]=l-u}}s!==a&&e(i,s,a)}},e.prototype.forEachPreviousItem=function(e){var t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)},e.prototype.forEachAddedItem=function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)},e.prototype.forEachMovedItem=function(e){var t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)},e.prototype.forEachRemovedItem=function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)},e.prototype.forEachIdentityChange=function(e){var t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)},e.prototype.diff=function(e){if(null==e&&(e=[]),!kn(e))throw new Error("Error trying to diff '"+Ce(e)+"'. Only arrays and iterables are allowed");return this.check(e)?this:null},e.prototype.onDestroy=function(){},e.prototype.check=function(e){var t=this;this._reset();var n,r,o,i=this._itHead,s=!1;if(Array.isArray(e)){this.length=e.length;for(var a=0;a<this.length;a++)o=this._trackByFn(a,r=e[a]),null!==i&&Ee(i.trackById,o)?(s&&(i=this._verifyReinsertion(i,r,o,a)),Ee(i.item,r)||this._addIdentityChange(i,r)):(i=this._mismatch(i,r,o,a),s=!0),i=i._next}else n=0,function(e,t){if(Array.isArray(e))for(var n=0;n<e.length;n++)t(e[n]);else for(var r=e[be()](),o=void 0;!(o=r.next()).done;)t(o.value)}(e,function(e){o=t._trackByFn(n,e),null!==i&&Ee(i.trackById,o)?(s&&(i=t._verifyReinsertion(i,e,o,n)),Ee(i.item,e)||t._addIdentityChange(i,e)):(i=t._mismatch(i,e,o,n),s=!0),i=i._next,n++}),this.length=n;return this._truncate(i),this.collection=e,this.isDirty},Object.defineProperty(e.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead},enumerable:!0,configurable:!0}),e.prototype._reset=function(){if(this.isDirty){var e=void 0,t=void 0;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=t)e.previousIndex=e.currentIndex,t=e._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}},e.prototype._mismatch=function(e,t,n,r){var o;return null===e?o=this._itTail:(o=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Ee(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,o,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Ee(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,o,r)):e=this._addAfter(new Nn(t,n),o,r),e},e.prototype._verifyReinsertion=function(e,t,n,r){var o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==o?e=this._reinsertAfter(o,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e},e.prototype._truncate=function(e){for(;null!==e;){var t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)},e.prototype._reinsertAfter=function(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);var r=e._prevRemoved,o=e._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e},e.prototype._moveAfter=function(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e},e.prototype._addAfter=function(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e},e.prototype._insertAfter=function(e,t,n){var r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new Dn),this._linkedRecords.put(e),e.currentIndex=n,e},e.prototype._remove=function(e){return this._addToRemovals(this._unlink(e))},e.prototype._unlink=function(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);var t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e},e.prototype._addToMoves=function(e,t){return e.previousIndex===t?e:(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e,e)},e.prototype._addToRemovals=function(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Dn),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e},e.prototype._addIdentityChange=function(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e},e}(),Nn=function(){return function(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}(),In=function(){function e(){this._head=null,this._tail=null}return e.prototype.add=function(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)},e.prototype.get=function(e,t){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&Ee(n.trackById,e))return n;return null},e.prototype.remove=function(e){var t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head},e}(),Dn=function(){function e(){this.map=new Map}return e.prototype.put=function(e){var t=e.trackById,n=this.map.get(t);n||(n=new In,this.map.set(t,n)),n.add(e)},e.prototype.get=function(e,t){var n=this.map.get(e);return n?n.get(e,t):null},e.prototype.remove=function(e){var t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e},Object.defineProperty(e.prototype,"isEmpty",{get:function(){return 0===this.map.size},enumerable:!0,configurable:!0}),e.prototype.clear=function(){this.map.clear()},e}();function Mn(e,t,n){var r=e.previousIndex;if(null===r)return r;var o=0;return n&&r<n.length&&(o=n[r]),r+t+o}var Vn=function(){function e(){}return e.prototype.supports=function(e){return e instanceof Map||xn(e)},e.prototype.create=function(){return new Rn},e}(),Rn=function(){function e(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}return Object.defineProperty(e.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead},enumerable:!0,configurable:!0}),e.prototype.forEachItem=function(e){var t;for(t=this._mapHead;null!==t;t=t._next)e(t)},e.prototype.forEachPreviousItem=function(e){var t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)},e.prototype.forEachChangedItem=function(e){var t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)},e.prototype.forEachAddedItem=function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)},e.prototype.forEachRemovedItem=function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)},e.prototype.diff=function(e){if(e){if(!(e instanceof Map||xn(e)))throw new Error("Error trying to diff '"+Ce(e)+"'. Only maps and objects are allowed")}else e=new Map;return this.check(e)?this:null},e.prototype.onDestroy=function(){},e.prototype.check=function(e){var t=this;this._reset();var n=this._mapHead;if(this._appendAfter=null,this._forEach(e,function(e,r){if(n&&n.key===r)t._maybeAddToChanges(n,e),t._appendAfter=n,n=n._next;else{var o=t._getOrCreateRecordForKey(r,e);n=t._insertBeforeOrAppend(n,o)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(var r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty},e.prototype._insertBeforeOrAppend=function(e,t){if(e){var n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null},e.prototype._getOrCreateRecordForKey=function(e,t){if(this._records.has(e)){var n=this._records.get(e);this._maybeAddToChanges(n,t);var r=n._prev,o=n._next;return r&&(r._next=o),o&&(o._prev=r),n._next=null,n._prev=null,n}var i=new Fn(e);return this._records.set(e,i),i.currentValue=t,this._addToAdditions(i),i},e.prototype._reset=function(){if(this.isDirty){var e=void 0;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}},e.prototype._maybeAddToChanges=function(e,t){Ee(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))},e.prototype._addToAdditions=function(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)},e.prototype._addToChanges=function(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)},e.prototype._forEach=function(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(function(n){return t(e[n],n)})},e}(),Fn=function(){return function(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}(),jn=function(){function e(e){this.factories=e}return e.create=function(t,n){if(null!=n){var r=n.factories.slice();t=t.concat(r)}return new e(t)},e.extend=function(t){return{provide:e,useFactory:function(n){if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,n)},deps:[[e,new Oe,new xe]]}},e.prototype.find=function(e){var t,n=this.factories.find(function(t){return t.supports(e)});if(null!=n)return n;throw new Error("Cannot find a differ supporting object '"+e+"' of type '"+((t=e).name||typeof t)+"'")},e.ngInjectableDef=pe({providedIn:"root",factory:function(){return new e([new Pn])}}),e}(),Ln=function(){function e(e){this.factories=e}return e.create=function(t,n){if(n){var r=n.factories.slice();t=t.concat(r)}return new e(t)},e.extend=function(t){return{provide:e,useFactory:function(n){if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,n)},deps:[[e,new Oe,new xe]]}},e.prototype.find=function(e){var t=this.factories.find(function(t){return t.supports(e)});if(t)return t;throw new Error("Cannot find a differ supporting object '"+e+"'")},e}(),Hn=[new Vn],Bn=new jn([new Pn]),zn=new Ln(Hn),Un=tn(null,"core",[{provide:yt,useValue:"unknown"},{provide:rn,deps:[Me]},{provide:Zt,deps:[]},{provide:vt,deps:[]}]),qn=new fe("LocaleId");function Qn(){return Bn}function Gn(){return zn}function Kn(e){return e||"en-US"}var Zn=function(){return function(e){}}(),Wn=function(){function e(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertBodyElement=this.inertDocument.body,null==this.inertBodyElement){var t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t),this.inertBodyElement=this.inertDocument.createElement("body"),t.appendChild(this.inertBodyElement)}this.inertBodyElement.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return e.prototype.getInertBodyElement_XHR=function(e){e="<body><remove></remove>"+e+"</body>";try{e=encodeURI(e)}catch(r){return null}var t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(null);var n=t.response.body;return n.removeChild(n.firstChild),n},e.prototype.getInertBodyElement_DOMParser=function(e){e="<body><remove></remove>"+e+"</body>";try{var t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(n){return null}},e.prototype.getInertBodyElement_InertDocument=function(e){var t=this.inertDocument.createElement("template");return"content"in t?(t.innerHTML=e,t):(this.inertBodyElement.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},e.prototype.stripCustomNsAttrs=function(e){for(var t=e.attributes,n=t.length-1;0<n;n--){var r=t.item(n).name;"xmlns:ns1"!==r&&0!==r.indexOf("ns1:")||e.removeAttribute(r)}for(var o=e.firstChild;o;)o.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(o),o=o.nextSibling},e}(),$n=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,Yn=/^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 Jn(e){return(e=String(e)).match($n)||e.match(Yn)?e:(Xt()&&console.warn("WARNING: sanitizing unsafe URL value "+e+" (see http://g.co/ng/security#xss)"),"unsafe:"+e)}function Xn(e){var t,n,r={};try{for(var o=u(e.split(",")),i=o.next();!i.done;i=o.next())r[i.value]=!0}catch(s){t={error:s}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return r}function er(){for(var e,t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o={};try{for(var i=u(n),s=i.next();!s.done;s=i.next()){var a=s.value;for(var l in a)a.hasOwnProperty(l)&&(o[l]=!0)}}catch(c){e={error:c}}finally{try{s&&!s.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return o}var tr,nr=Xn("area,br,col,hr,img,wbr"),rr=Xn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),or=Xn("rp,rt"),ir=er(or,rr),sr=er(nr,er(rr,Xn("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")),er(or,Xn("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")),ir),ar=Xn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ur=Xn("srcset"),lr=er(ar,ur,Xn("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")),cr=function(){function e(){this.sanitizedSomething=!1,this.buf=[]}return e.prototype.sanitizeChildren=function(e){for(var t=e.firstChild;t;)if(t.nodeType===Node.ELEMENT_NODE?this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);var n=this.checkClobberedElement(t,t.nextSibling);if(n){t=n;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")},e.prototype.startElement=function(e){var t=e.nodeName.toLowerCase();if(sr.hasOwnProperty(t)){this.buf.push("<"),this.buf.push(t);for(var n,r=e.attributes,o=0;o<r.length;o++){var i=r.item(o),s=i.name,a=s.toLowerCase();if(lr.hasOwnProperty(a)){var u=i.value;ar[a]&&(u=Jn(u)),ur[a]&&(n=u,u=(n=String(n)).split(",").map(function(e){return Jn(e.trim())}).join(", ")),this.buf.push(" ",s,'="',hr(u),'"')}else this.sanitizedSomething=!0}this.buf.push(">")}else this.sanitizedSomething=!0},e.prototype.endElement=function(e){var t=e.nodeName.toLowerCase();sr.hasOwnProperty(t)&&!nr.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))},e.prototype.chars=function(e){this.buf.push(hr(e))},e.prototype.checkClobberedElement=function(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+e.outerHTML);return t},e}(),pr=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,fr=/([^\#-~ |!])/g;function hr(e){return e.replace(/&/g,"&").replace(pr,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(fr,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}function dr(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var yr=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"),mr=/^url\(([^)]+)\)$/,vr=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}({}),gr=function(){return function(){}}();function _r(e,t,n){var r=e.state,o=1792&r;return o===t?(e.state=-1793&r|n,e.initIndex=-1,!0):o===n}function br(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}function wr(e,t){return e.nodes[t]}function Er(e,t){return e.nodes[t]}function Cr(e,t){return e.nodes[t]}function Sr(e,t){return e.nodes[t]}function Tr(e,t){return e.nodes[t]}var kr={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 xr(e,t,n,r){var o="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+t+"'. Current value: '"+n+"'.";return r&&(o+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),function(e,t){var n=new Error(e);return Pr(n,t),n}(o,e)}function Pr(e,t){e[et]=t,e[nt]=t.logError.bind(t)}function Or(e){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+e)}var Ar=function(){},Nr=new Map;function Ir(e){var t=Nr.get(e);return t||(t=Ce(e)+"_"+Nr.size,Nr.set(e,t)),t}var Dr="$$undefined",Mr="$$empty";function Vr(e){return{id:Dr,styles:e.styles,encapsulation:e.encapsulation,data:e.data}}var Rr=0;function Fr(e,t,n,r){return!(!(2&e.state)&&Ee(e.oldValues[t.bindingIndex+n],r))}function jr(e,t,n,r){return!!Fr(e,t,n,r)&&(e.oldValues[t.bindingIndex+n]=r,!0)}function Lr(e,t,n,r){var o=e.oldValues[t.bindingIndex+n];if(1&e.state||!Cn(o,r)){var i=t.bindings[n].name;throw xr(kr.createDebugContext(e,t.nodeIndex),i+": "+o,i+": "+r,0!=(1&e.state))}}function Hr(e){for(var t=e;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function Br(e,t){for(var n=e;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function zr(e,t,n,r){try{return Hr(33554432&e.def.nodes[t].flags?Er(e,t).componentView:e),kr.handleEvent(e,t,n,r)}catch(o){e.root.errorHandler.handleError(o)}}function Ur(e){return e.parent?Er(e.parent,e.parentNodeDef.nodeIndex):null}function qr(e){return e.parent?e.parentNodeDef.parent:null}function Qr(e,t){switch(201347067&t.flags){case 1:return Er(e,t.nodeIndex).renderElement;case 2:return wr(e,t.nodeIndex).renderText}}function Gr(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function Kr(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function Zr(e){var t={},n=0,r={};return e&&e.forEach(function(e){var o=l(e,2),i=o[0],s=o[1];"number"==typeof i?(t[i]=s,n|=function(e){return 1<<e%32}(i)):r[i]=s}),{matchedQueries:t,references:r,matchedQueryIds:n}}function Wr(e,t){return e.map(function(e){var n,r,o;return Array.isArray(e)?(o=(n=l(e,2))[0],r=n[1]):(o=0,r=e),r&&("function"==typeof r||"object"==typeof r)&&t&&Object.defineProperty(r,Ae,{value:t,configurable:!0}),{flags:o,token:r,tokenKey:Ir(r)}})}function $r(e,t,n){var r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&r.element.componentRendererType.encapsulation===Je.Native?Er(e,n.renderParent.nodeIndex).renderElement:void 0:t}var Yr=new WeakMap;function Jr(e){var t=Yr.get(e);return t||((t=e(function(){return Ar})).factory=e,Yr.set(e,t)),t}function Xr(e,t,n,r,o){3===t&&(n=e.renderer.parentNode(Qr(e,e.def.lastRenderRootNode))),eo(e,t,0,e.def.nodes.length-1,n,r,o)}function eo(e,t,n,r,o,i,s){for(var a=n;a<=r;a++){var u=e.def.nodes[a];11&u.flags&&no(e,u,t,o,i,s),a+=u.childCount}}function to(e,t,n,r,o,i){for(var s=e;s&&!Gr(s);)s=s.parent;for(var a=s.parent,u=qr(s),l=u.nodeIndex+u.childCount,c=u.nodeIndex+1;c<=l;c++){var p=a.def.nodes[c];p.ngContentIndex===t&&no(a,p,n,r,o,i),c+=p.childCount}if(!a.parent){var f=e.root.projectableNodes[t];if(f)for(c=0;c<f.length;c++)ro(e,f[c],n,r,o,i)}}function no(e,t,n,r,o,i){if(8&t.flags)to(e,t.ngContent.index,n,r,o,i);else{var s=Qr(e,t);if(3===n&&33554432&t.flags&&48&t.bindingFlags?(16&t.bindingFlags&&ro(e,s,n,r,o,i),32&t.bindingFlags&&ro(Er(e,t.nodeIndex).componentView,s,n,r,o,i)):ro(e,s,n,r,o,i),16777216&t.flags)for(var a=Er(e,t.nodeIndex).viewContainer._embeddedViews,u=0;u<a.length;u++)Xr(a[u],n,r,o,i);1&t.flags&&!t.element.name&&eo(e,n,t.nodeIndex+1,t.nodeIndex+t.childCount,r,o,i)}}function ro(e,t,n,r,o,i){var s=e.renderer;switch(n){case 1:s.appendChild(r,t);break;case 2:s.insertBefore(r,t,o);break;case 3:s.removeChild(r,t);break;case 0:i.push(t)}}var oo=/^:([^:]+):(.+)$/;function io(e){if(":"===e[0]){var t=e.match(oo);return[t[1],t[2]]}return["",e]}function so(e){for(var t=0,n=0;n<e.length;n++)t|=e[n].flags;return t}function ao(e,t,n,r,o,i){e|=1;var s=Zr(t);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:e,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:s.matchedQueries,matchedQueryIds:s.matchedQueryIds,references:s.references,ngContentIndex:n,childCount:r,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:i?Jr(i):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:o||Ar},provider:null,text:null,query:null,ngContent:null}}function uo(e,t,n,r,o,i,s,a,u,c,p,f){var h;void 0===s&&(s=[]),c||(c=Ar);var d=Zr(n),y=d.matchedQueries,m=d.references,v=d.matchedQueryIds,g=null,_=null;i&&(g=(h=l(io(i),2))[0],_=h[1]),a=a||[];for(var b=new Array(a.length),w=0;w<a.length;w++){var E=l(a[w],3),C=E[0],S=E[2],T=l(io(E[1]),2),k=T[0],x=T[1],P=void 0,O=void 0;switch(15&C){case 4:O=S;break;case 1:case 8:P=S}b[w]={flags:C,ns:k,name:x,nonMinifiedName:x,securityContext:P,suffix:O}}u=u||[];var A=new Array(u.length);for(w=0;w<u.length;w++){var N=l(u[w],2);A[w]={type:0,target:N[0],eventName:N[1],propName:null}}var I=(s=s||[]).map(function(e){var t=l(e,2),n=t[1],r=l(io(t[0]),2);return[r[0],r[1],n]});return f=function(e){if(e&&e.id===Dr){var t=null!=e.encapsulation&&e.encapsulation!==Je.None||e.styles.length||Object.keys(e.data).length;e.id=t?"c"+Rr++:Mr}return e&&e.id===Mr&&(e=null),e||null}(f),p&&(t|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:y,matchedQueryIds:v,references:m,ngContentIndex:r,childCount:o,bindings:b,bindingFlags:so(b),outputs:A,element:{ns:g,name:_,attrs:I,template:null,componentProvider:null,componentView:p||null,componentRendererType:f,publicProviders:null,allProviders:null,handleEvent:c||Ar},provider:null,text:null,query:null,ngContent:null}}function lo(e,t,n){var r,o=n.element,i=e.root.selectorOrNode,s=e.renderer;if(e.parent||!i){r=o.name?s.createElement(o.name,o.ns):s.createComment("");var a=$r(e,t,n);a&&s.appendChild(a,r)}else r=s.selectRootElement(i);if(o.attrs)for(var u=0;u<o.attrs.length;u++){var c=l(o.attrs[u],3);s.setAttribute(r,c[1],c[2],c[0])}return r}function co(e,t,n,r){for(var o=0;o<n.outputs.length;o++){var i=n.outputs[o],s=po(e,n.nodeIndex,(p=i.eventName,(c=i.target)?c+":"+p:p)),a=i.target,u=e;"component"===i.target&&(a=null,u=t);var l=u.renderer.listen(a||r,i.eventName,s);e.disposables[n.outputIndex+o]=l}var c,p}function po(e,t,n){return function(r){return zr(e,t,n,r)}}function fo(e,t,n,r){if(!jr(e,t,n,r))return!1;var o=t.bindings[n],i=Er(e,t.nodeIndex),s=i.renderElement,a=o.name;switch(15&o.flags){case 1:!function(e,t,n,r,o,i){var s=t.securityContext,a=s?e.root.sanitizer.sanitize(s,i):i;a=null!=a?a.toString():null;var u=e.renderer;null!=i?u.setAttribute(n,o,a,r):u.removeAttribute(n,o,r)}(e,o,s,o.ns,a,r);break;case 2:!function(e,t,n,r){var o=e.renderer;r?o.addClass(t,n):o.removeClass(t,n)}(e,s,a,r);break;case 4:!function(e,t,n,r,o){var i=e.root.sanitizer.sanitize(vr.STYLE,o);if(null!=i){i=i.toString();var s=t.suffix;null!=s&&(i+=s)}else i=null;var a=e.renderer;null!=i?a.setStyle(n,r,i):a.removeStyle(n,r)}(e,o,s,a,r);break;case 8:!function(e,t,n,r,o){var i=t.securityContext,s=i?e.root.sanitizer.sanitize(i,o):o;e.renderer.setProperty(n,r,s)}(33554432&t.flags&&32&o.flags?i.componentView:e,o,s,a,r)}return!0}var ho=new Object,yo=Ir(Me),mo=Ir(Ie),vo=Ir(Nt);function go(e,t,n,r){return n=Te(n),{index:-1,deps:Wr(r,Ce(t)),flags:e,token:t,value:n}}function _o(e,t,n){void 0===n&&(n=Me.THROW_IF_NOT_FOUND);var r,o,i=$e(e);try{if(8&t.flags)return t.token;if(2&t.flags&&(n=null),1&t.flags)return e._parent.get(t.token,n);var s=t.tokenKey;switch(s){case yo:case mo:case vo:return e}var a=e._def.providersByKey[s];if(a){var u=e._providers[a.index];return void 0===u&&(u=e._providers[a.index]=bo(e,a)),u===ho?void 0:u}if(t.token.ngInjectableDef&&(r=e,null!=(o=t.token.ngInjectableDef).providedIn&&(function(e,t){return e._def.modules.indexOf(o.providedIn)>-1}(r)||"root"===o.providedIn&&r._def.isRoot))){var l=e._providers.length;return e._def.providersByKey[t.tokenKey]={flags:5120,value:t.token.ngInjectableDef.factory,deps:[],index:l,token:t.token},e._providers[l]=ho,e._providers[l]=bo(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{$e(i)}}function bo(e,t){var n;switch(201347067&t.flags){case 512:n=function(e,t,n){var r=n.length;switch(r){case 0:return new t;case 1:return new t(_o(e,n[0]));case 2:return new t(_o(e,n[0]),_o(e,n[1]));case 3:return new t(_o(e,n[0]),_o(e,n[1]),_o(e,n[2]));default:for(var o=new Array(r),i=0;i<r;i++)o[i]=_o(e,n[i]);return new(t.bind.apply(t,c([void 0],o)))}}(e,t.value,t.deps);break;case 1024:n=function(e,t,n){var r=n.length;switch(r){case 0:return t();case 1:return t(_o(e,n[0]));case 2:return t(_o(e,n[0]),_o(e,n[1]));case 3:return t(_o(e,n[0]),_o(e,n[1]),_o(e,n[2]));default:for(var o=Array(r),i=0;i<r;i++)o[i]=_o(e,n[i]);return t.apply(void 0,c(o))}}(e,t.value,t.deps);break;case 2048:n=_o(e,t.deps[0]);break;case 256:n=t.value}return n===ho||null==n||"object"!=typeof n||131072&t.flags||"function"!=typeof n.ngOnDestroy||(t.flags|=131072),void 0===n?ho:n}function wo(e,t){var n=e.viewContainer._embeddedViews;if((null==t||t>=n.length)&&(t=n.length-1),t<0)return null;var r=n[t];return r.viewContainerParent=null,To(n,t),kr.dirtyParentQueries(r),Co(r),r}function Eo(e,t,n){var r=t?Qr(t,t.def.lastRenderRootNode):e.renderElement,o=n.renderer.parentNode(r),i=n.renderer.nextSibling(r);Xr(n,2,o,i,void 0)}function Co(e){Xr(e,3,null,null,void 0)}function So(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function To(e,t){t>=e.length-1?e.pop():e.splice(t,1)}var ko=new Object;function xo(e,t,n,r,o,i){return new Po(e,t,n,r,o,i)}var Po=function(e){function t(t,n,r,o,i,s){var a=e.call(this)||this;return a.selector=t,a.componentType=n,a._inputs=o,a._outputs=i,a.ngContentSelectors=s,a.viewDefFactory=r,a}return o(t,e),Object.defineProperty(t.prototype,"inputs",{get:function(){var e=[],t=this._inputs;for(var n in t)e.push({propName:n,templateName:t[n]});return e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outputs",{get:function(){var e=[];for(var t in this._outputs)e.push({propName:t,templateName:this._outputs[t]});return e},enumerable:!0,configurable:!0}),t.prototype.create=function(e,t,n,r){if(!r)throw new Error("ngModule should be provided");var o=Jr(this.viewDefFactory),i=o.nodes[0].element.componentProvider.nodeIndex,s=kr.createRootView(e,t||[],n,o,r,ko),a=Cr(s,i).instance;return n&&s.renderer.setAttribute(Er(s,0).renderElement,"ng-version",Xe.full),new Oo(s,new Do(s),a)},t}(Et),Oo=function(e){function t(t,n,r){var o=e.call(this)||this;return o._view=t,o._viewRef=n,o._component=r,o._elDef=o._view.def.nodes[0],o.hostView=n,o.changeDetectorRef=n,o.instance=r,o}return o(t,e),Object.defineProperty(t.prototype,"location",{get:function(){return new fn(Er(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new Fo(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this._viewRef.destroy()},t.prototype.onDestroy=function(e){this._viewRef.onDestroy(e)},t}(wt);function Ao(e,t,n){return new No(e,t,n)}var No=function(){function e(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}return Object.defineProperty(e.prototype,"element",{get:function(){return new fn(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new Fo(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parentInjector",{get:function(){for(var e=this._view,t=this._elDef.parent;!t&&e;)t=qr(e),e=e.parent;return e?new Fo(e,t):new Fo(this._view,null)},enumerable:!0,configurable:!0}),e.prototype.clear=function(){for(var e=this._embeddedViews.length-1;e>=0;e--){var t=wo(this._data,e);kr.destroyView(t)}},e.prototype.get=function(e){var t=this._embeddedViews[e];if(t){var n=new Do(t);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(e.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),e.prototype.createEmbeddedView=function(e,t,n){var r=e.createEmbeddedView(t||{});return this.insert(r,n),r},e.prototype.createComponent=function(e,t,n,r,o){var i=n||this.parentInjector;o||e instanceof At||(o=i.get(Nt));var s=e.create(i,r,void 0,o);return this.insert(s.hostView,t),s},e.prototype.insert=function(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n,r,o,i,s=e;return i=(n=this._data).viewContainer._embeddedViews,null==(r=t)&&(r=i.length),(o=s._view).viewContainerParent=this._view,So(i,r,o),function(e,t){var n=Ur(t);if(n&&n!==e&&!(16&t.state)){t.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(t),function(e,n){if(!(4&n.flags)){t.parent.def.nodeFlags|=4,n.flags|=4;for(var r=n.parent;r;)r.childFlags|=4,r=r.parent}}(0,t.parentNodeDef)}}(n,o),kr.dirtyParentQueries(o),Eo(n,r>0?i[r-1]:null,o),s.attachToViewContainerRef(this),e},e.prototype.move=function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n,r,o,i,s,a=this._embeddedViews.indexOf(e._view);return o=t,s=(i=(n=this._data).viewContainer._embeddedViews)[r=a],To(i,r),null==o&&(o=i.length),So(i,o,s),kr.dirtyParentQueries(s),Co(s),Eo(n,o>0?i[o-1]:null,s),e},e.prototype.indexOf=function(e){return this._embeddedViews.indexOf(e._view)},e.prototype.remove=function(e){var t=wo(this._data,e);t&&kr.destroyView(t)},e.prototype.detach=function(e){var t=wo(this._data,e);return t?new Do(t):null},e}();function Io(e){return new Do(e)}var Do=function(){function e(e){this._view=e,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(e.prototype,"rootNodes",{get:function(){return Xr(this._view,0,void 0,void 0,e=[]),e;var e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),e.prototype.markForCheck=function(){Hr(this._view)},e.prototype.detach=function(){this._view.state&=-5},e.prototype.detectChanges=function(){var e=this._view.root.rendererFactory;e.begin&&e.begin();try{kr.checkAndUpdateView(this._view)}finally{e.end&&e.end()}},e.prototype.checkNoChanges=function(){kr.checkNoChangesView(this._view)},e.prototype.reattach=function(){this._view.state|=4},e.prototype.onDestroy=function(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)},e.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),kr.destroyView(this._view)},e.prototype.detachFromAppRef=function(){this._appRef=null,Co(this._view),kr.dirtyParentQueries(this._view)},e.prototype.attachToAppRef=function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e},e.prototype.attachToViewContainerRef=function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e},e}();function Mo(e,t){return new Vo(e,t)}var Vo=function(e){function t(t,n){var r=e.call(this)||this;return r._parentView=t,r._def=n,r}return o(t,e),t.prototype.createEmbeddedView=function(e){return new Do(kr.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))},Object.defineProperty(t.prototype,"elementRef",{get:function(){return new fn(Er(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),t}(dn);function Ro(e,t){return new Fo(e,t)}var Fo=function(){function e(e,t){this.view=e,this.elDef=t}return e.prototype.get=function(e,t){return void 0===t&&(t=Me.THROW_IF_NOT_FOUND),kr.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:Ir(e)},t)},e}();function jo(e,t){var n=e.def.nodes[t];if(1&n.flags){var r=Er(e,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return wr(e,n.nodeIndex).renderText;if(20240&n.flags)return Cr(e,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+t)}function Lo(e){return new Ho(e.renderer)}var Ho=function(){function e(e){this.delegate=e}return e.prototype.selectRootElement=function(e){return this.delegate.selectRootElement(e)},e.prototype.createElement=function(e,t){var n=l(io(t),2),r=this.delegate.createElement(n[1],n[0]);return e&&this.delegate.appendChild(e,r),r},e.prototype.createViewRoot=function(e){return e},e.prototype.createTemplateAnchor=function(e){var t=this.delegate.createComment("");return e&&this.delegate.appendChild(e,t),t},e.prototype.createText=function(e,t){var n=this.delegate.createText(t);return e&&this.delegate.appendChild(e,n),n},e.prototype.projectNodes=function(e,t){for(var n=0;n<t.length;n++)this.delegate.appendChild(e,t[n])},e.prototype.attachViewAfter=function(e,t){for(var n=this.delegate.parentNode(e),r=this.delegate.nextSibling(e),o=0;o<t.length;o++)this.delegate.insertBefore(n,t[o],r)},e.prototype.detachView=function(e){for(var t=0;t<e.length;t++){var n=e[t],r=this.delegate.parentNode(n);this.delegate.removeChild(r,n)}},e.prototype.destroyView=function(e,t){for(var n=0;n<t.length;n++)this.delegate.destroyNode(t[n])},e.prototype.listen=function(e,t,n){return this.delegate.listen(e,t,n)},e.prototype.listenGlobal=function(e,t,n){return this.delegate.listen(e,t,n)},e.prototype.setElementProperty=function(e,t,n){this.delegate.setProperty(e,t,n)},e.prototype.setElementAttribute=function(e,t,n){var r=l(io(t),2),o=r[0],i=r[1];null!=n?this.delegate.setAttribute(e,i,n,o):this.delegate.removeAttribute(e,i,o)},e.prototype.setBindingDebugInfo=function(e,t,n){},e.prototype.setElementClass=function(e,t,n){n?this.delegate.addClass(e,t):this.delegate.removeClass(e,t)},e.prototype.setElementStyle=function(e,t,n){null!=n?this.delegate.setStyle(e,t,n):this.delegate.removeStyle(e,t)},e.prototype.invokeElementMethod=function(e,t,n){e[t].apply(e,n)},e.prototype.setText=function(e,t){this.delegate.setValue(e,t)},e.prototype.animate=function(){throw new Error("Renderer.animate is no longer supported!")},e}();function Bo(e,t,n,r){return new zo(e,t,n,r)}var zo=function(){function e(e,t,n,r){this._moduleType=e,this._parent=t,this._bootstrapComponents=n,this._def=r,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(e){for(var t=e._def,n=e._providers=new Array(t.providers.length),r=0;r<t.providers.length;r++){var o=t.providers[r];4096&o.flags||void 0===n[r]&&(n[r]=bo(e,o))}}(this)}return e.prototype.get=function(e,t,n){void 0===t&&(t=Me.THROW_IF_NOT_FOUND),void 0===n&&(n=0);var r=0;return 4&n?r|=1:2&n&&(r|=4),_o(this,{token:e,tokenKey:Ir(e),flags:r},t)},Object.defineProperty(e.prototype,"instance",{get:function(){return this.get(this._moduleType)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentFactoryResolver",{get:function(){return this.get(Pt)},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The ng module "+Ce(this.instance.constructor)+" has already been destroyed.");this._destroyed=!0,function(e,t){for(var n=e._def,r=new Set,o=0;o<n.providers.length;o++)if(131072&n.providers[o].flags){var i=e._providers[o];if(i&&i!==ho){var s=i.ngOnDestroy;"function"!=typeof s||r.has(i)||(s.apply(i),r.add(i))}}}(this),this._destroyListeners.forEach(function(e){return e()})},e.prototype.onDestroy=function(e){this._destroyListeners.push(e)},e}(),Uo=Ir(un),qo=Ir(pn),Qo=Ir(fn),Go=Ir(yn),Ko=Ir(dn),Zo=Ir(mn),Wo=Ir(Me),$o=Ir(Ie);function Yo(e,t,n,r,o,i,s,a){var u=[];if(s)for(var c in s){var p=l(s[c],2);u[p[0]]={flags:8,name:c,nonMinifiedName:p[1],ns:null,securityContext:null,suffix:null}}var f=[];if(a)for(var h in a)f.push({type:1,propName:h,target:null,eventName:a[h]});return Xo(e,t|=16384,n,r,o,o,i,u,f)}function Jo(e,t,n,r,o){return Xo(-1,e,t,0,n,r,o)}function Xo(e,t,n,r,o,i,s,a,u){var l=Zr(n),c=l.matchedQueries,p=l.references,f=l.matchedQueryIds;u||(u=[]),a||(a=[]),i=Te(i);var h=Wr(s,Ce(o));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:c,matchedQueryIds:f,references:p,ngContentIndex:-1,childCount:r,bindings:a,bindingFlags:so(a),outputs:u,element:null,provider:{token:o,value:i,deps:h},text:null,query:null,ngContent:null}}function ei(e,t){return oi(e,t)}function ti(e,t){for(var n=e;n.parent&&!Gr(n);)n=n.parent;return ii(n.parent,qr(n),!0,t.provider.value,t.provider.deps)}function ni(e,t){var n=ii(e,t.parent,(32768&t.flags)>0,t.provider.value,t.provider.deps);if(t.outputs.length)for(var r=0;r<t.outputs.length;r++){var o=t.outputs[r],i=n[o.propName].subscribe(ri(e,t.parent.nodeIndex,o.eventName));e.disposables[t.outputIndex+r]=i.unsubscribe.bind(i)}return n}function ri(e,t,n){return function(r){return zr(e,t,n,r)}}function oi(e,t){var n=(8192&t.flags)>0,r=t.provider;switch(201347067&t.flags){case 512:return ii(e,t.parent,n,r.value,r.deps);case 1024:return function(e,t,n,r,o){var i=o.length;switch(i){case 0:return r();case 1:return r(ai(e,t,n,o[0]));case 2:return r(ai(e,t,n,o[0]),ai(e,t,n,o[1]));case 3:return r(ai(e,t,n,o[0]),ai(e,t,n,o[1]),ai(e,t,n,o[2]));default:for(var s=Array(i),a=0;a<i;a++)s[a]=ai(e,t,n,o[a]);return r.apply(void 0,c(s))}}(e,t.parent,n,r.value,r.deps);case 2048:return ai(e,t.parent,n,r.deps[0]);case 256:return r.value}}function ii(e,t,n,r,o){var i=o.length;switch(i){case 0:return new r;case 1:return new r(ai(e,t,n,o[0]));case 2:return new r(ai(e,t,n,o[0]),ai(e,t,n,o[1]));case 3:return new r(ai(e,t,n,o[0]),ai(e,t,n,o[1]),ai(e,t,n,o[2]));default:for(var s=new Array(i),a=0;a<i;a++)s[a]=ai(e,t,n,o[a]);return new(r.bind.apply(r,c([void 0],s)))}}var si={};function ai(e,t,n,r,o){if(void 0===o&&(o=Me.THROW_IF_NOT_FOUND),8&r.flags)return r.token;var i=e;2&r.flags&&(o=null);var s=r.tokenKey;s===Zo&&(n=!(!t||!t.element.componentView)),t&&1&r.flags&&(n=!1,t=t.parent);for(var a=e;a;){if(t)switch(s){case Uo:return Lo(ui(a,t,n));case qo:return ui(a,t,n).renderer;case Qo:return new fn(Er(a,t.nodeIndex).renderElement);case Go:return Er(a,t.nodeIndex).viewContainer;case Ko:if(t.element.template)return Er(a,t.nodeIndex).template;break;case Zo:return Io(ui(a,t,n));case Wo:case $o:return Ro(a,t);default:var u=(n?t.element.allProviders:t.element.publicProviders)[s];if(u){var l=Cr(a,u.nodeIndex);return l||(l={instance:oi(a,u)},a.nodes[u.nodeIndex]=l),l.instance}}n=Gr(a),t=qr(a),a=a.parent,4&r.flags&&(a=null)}var c=i.root.injector.get(r.token,si);return c!==si||o===si?c:i.root.ngModule.injector.get(r.token,o)}function ui(e,t,n){var r;if(n)r=Er(e,t.nodeIndex).componentView;else for(r=e;r.parent&&!Gr(r);)r=r.parent;return r}function li(e,t,n,r,o,i){if(32768&n.flags){var s=Er(e,n.parent.nodeIndex).componentView;2&s.def.flags&&(s.state|=8)}if(t.instance[n.bindings[r].name]=o,524288&n.flags){i=i||{};var a=Sn.unwrap(e.oldValues[n.bindingIndex+r]);i[n.bindings[r].nonMinifiedName]=new Tn(a,o,0!=(2&e.state))}return e.oldValues[n.bindingIndex+r]=o,i}function ci(e,t){if(e.def.nodeFlags&t)for(var n=e.def.nodes,r=0,o=0;o<n.length;o++){var i=n[o],s=i.parent;for(!s&&i.flags&t&&fi(e,o,i.flags&t,r++),0==(i.childFlags&t)&&(o+=i.childCount);s&&1&s.flags&&o===s.nodeIndex+s.childCount;)s.directChildFlags&t&&(r=pi(e,s,t,r)),s=s.parent}}function pi(e,t,n,r){for(var o=t.nodeIndex+1;o<=t.nodeIndex+t.childCount;o++){var i=e.def.nodes[o];i.flags&n&&fi(e,o,i.flags&n,r++),o+=i.childCount}return r}function fi(e,t,n,r){var o=Cr(e,t);if(o){var i=o.instance;i&&(kr.setCurrentNode(e,t),1048576&n&&br(e,512,r)&&i.ngAfterContentInit(),2097152&n&&i.ngAfterContentChecked(),4194304&n&&br(e,768,r)&&i.ngAfterViewInit(),8388608&n&&i.ngAfterViewChecked(),131072&n&&i.ngOnDestroy())}}function hi(e){for(var t=e.def.nodeMatchedQueries;e.parent&&Kr(e);){var n=e.parentNodeDef;e=e.parent;for(var r=n.nodeIndex+n.childCount,o=0;o<=r;o++)67108864&(i=e.def.nodes[o]).flags&&536870912&i.flags&&(i.query.filterId&t)===i.query.filterId&&Tr(e,o).setDirty(),!(1&i.flags&&o+i.childCount<n.nodeIndex)&&67108864&i.childFlags&&536870912&i.childFlags||(o+=i.childCount)}if(134217728&e.def.nodeFlags)for(o=0;o<e.def.nodes.length;o++){var i;134217728&(i=e.def.nodes[o]).flags&&536870912&i.flags&&Tr(e,o).setDirty(),o+=i.childCount}}function di(e,t){var n=Tr(e,t.nodeIndex);if(n.dirty){var r,o=void 0;if(67108864&t.flags){var i=t.parent.parent;o=yi(e,i.nodeIndex,i.nodeIndex+i.childCount,t.query,[]),r=Cr(e,t.parent.nodeIndex).instance}else 134217728&t.flags&&(o=yi(e,0,e.def.nodes.length-1,t.query,[]),r=e.component);n.reset(o);for(var s=t.query.bindings,a=!1,u=0;u<s.length;u++){var l=s[u],c=void 0;switch(l.bindingType){case 0:c=n.first;break;case 1:c=n,a=!0}r[l.propName]=c}a&&n.notifyOnChanges()}}function yi(e,t,n,r,o){for(var i=t;i<=n;i++){var s=e.def.nodes[i],a=s.matchedQueries[r.id];if(null!=a&&o.push(mi(e,s,a)),1&s.flags&&s.element.template&&(s.element.template.nodeMatchedQueries&r.filterId)===r.filterId){var u=Er(e,i);if((s.childMatchedQueries&r.filterId)===r.filterId&&(yi(e,i+1,i+s.childCount,r,o),i+=s.childCount),16777216&s.flags)for(var l=u.viewContainer._embeddedViews,c=0;c<l.length;c++){var p=l[c],f=Ur(p);f&&f===u&&yi(p,0,p.def.nodes.length-1,r,o)}var h=u.template._projectedViews;if(h)for(c=0;c<h.length;c++){var d=h[c];yi(d,0,d.def.nodes.length-1,r,o)}}(s.childMatchedQueries&r.filterId)!==r.filterId&&(i+=s.childCount)}return o}function mi(e,t,n){if(null!=n)switch(n){case 1:return Er(e,t.nodeIndex).renderElement;case 0:return new fn(Er(e,t.nodeIndex).renderElement);case 2:return Er(e,t.nodeIndex).template;case 3:return Er(e,t.nodeIndex).viewContainer;case 4:return Cr(e,t.nodeIndex).instance}}function vi(e,t,n){var r=$r(e,t,n);r&&to(e,n.ngContent.index,1,r,null,void 0)}function gi(e,t){for(var n=Object.keys(t),r=n.length,o=new Array(r),i=0;i<r;i++){var s=n[i];o[t[s]]=s}return _i(64,e,o)}function _i(e,t,n){for(var r=new Array(n.length),o=0;o<n.length;o++){var i=n[o];r[o]={flags:8,name:i,ns:null,nonMinifiedName:i,securityContext:null,suffix:null}}return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:-1,childCount:0,bindings:r,bindingFlags:so(r),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}function bi(e,t,n){for(var r=new Array(n.length-1),o=1;o<n.length;o++)r[o-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[o]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:r,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}}function wi(e,t,n){var r,o=e.renderer;r=o.createText(n.text.prefix);var i=$r(e,t,n);return i&&o.appendChild(i,r),{renderText:r}}function Ei(e,t){return(null!=e?e.toString():"")+t.suffix}function Ci(e,t,n,r){for(var o=0,i=0,s=0,a=0,u=0,l=null,c=null,p=!1,f=!1,h=null,d=0;d<t.length;d++){var y=t[d];if(y.nodeIndex=d,y.parent=l,y.bindingIndex=o,y.outputIndex=i,y.renderParent=c,s|=y.flags,u|=y.matchedQueryIds,y.element){var m=y.element;m.publicProviders=l?l.element.publicProviders:Object.create(null),m.allProviders=m.publicProviders,p=!1,f=!1,y.element.template&&(u|=y.element.template.nodeMatchedQueries)}if(Ti(l,y,t.length),o+=y.bindings.length,i+=y.outputs.length,!c&&3&y.flags&&(h=y),20224&y.flags){p||(p=!0,l.element.publicProviders=Object.create(l.element.publicProviders),l.element.allProviders=l.element.publicProviders);var v=0!=(32768&y.flags);0==(8192&y.flags)||v?l.element.publicProviders[Ir(y.provider.token)]=y:(f||(f=!0,l.element.allProviders=Object.create(l.element.publicProviders)),l.element.allProviders[Ir(y.provider.token)]=y),v&&(l.element.componentProvider=y)}if(l?(l.childFlags|=y.flags,l.directChildFlags|=y.flags,l.childMatchedQueries|=y.matchedQueryIds,y.element&&y.element.template&&(l.childMatchedQueries|=y.element.template.nodeMatchedQueries)):a|=y.flags,y.childCount>0)l=y,Si(y)||(c=y);else for(;l&&d===l.nodeIndex+l.childCount;){var g=l.parent;g&&(g.childFlags|=l.childFlags,g.childMatchedQueries|=l.childMatchedQueries),c=(l=g)&&Si(l)?l.renderParent:l}}return{factory:null,nodeFlags:s,rootNodeFlags:a,nodeMatchedQueries:u,flags:e,nodes:t,updateDirectives:n||Ar,updateRenderer:r||Ar,handleEvent:function(e,n,r,o){return t[n].element.handleEvent(e,r,o)},bindingCount:o,outputCount:i,lastRenderRootNode:h}}function Si(e){return 0!=(1&e.flags)&&null===e.element.name}function Ti(e,t,n){var r=t.element&&t.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+t.nodeIndex+"!")}if(20224&t.flags&&0==(1&(e?e.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+t.nodeIndex+"!");if(t.query){if(67108864&t.flags&&(!e||0==(16384&e.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+t.nodeIndex+"!");if(134217728&t.flags&&e)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+t.nodeIndex+"!")}if(t.childCount){var o=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=o&&t.nodeIndex+t.childCount>o)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+t.nodeIndex+"!")}}function ki(e,t,n,r){var o=Oi(e.root,e.renderer,e,t,n);return Ai(o,e.component,r),Ni(o),o}function xi(e,t,n){var r=Oi(e,e.renderer,null,null,t);return Ai(r,n,n),Ni(r),r}function Pi(e,t,n,r){var o,i=t.element.componentRendererType;return o=i?e.root.rendererFactory.createRenderer(r,i):e.root.renderer,Oi(e.root,o,e,t.element.componentProvider,n)}function Oi(e,t,n,r,o){var i=new Array(o.nodes.length),s=o.outputCount?new Array(o.outputCount):null;return{def:o,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:i,state:13,root:e,renderer:t,oldValues:new Array(o.bindingCount),disposables:s,initIndex:-1}}function Ai(e,t,n){e.component=t,e.context=n}function Ni(e){var t;Gr(e)&&(t=Er(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);for(var n=e.def,r=e.nodes,o=0;o<n.nodes.length;o++){var i=n.nodes[o];kr.setCurrentNode(e,o);var s=void 0;switch(201347067&i.flags){case 1:var a=lo(e,t,i),u=void 0;if(33554432&i.flags){var l=Jr(i.element.componentView);u=kr.createComponentView(e,i,l,a)}co(e,u,i,a),s={renderElement:a,componentView:u,viewContainer:null,template:i.element.template?Mo(e,i):void 0},16777216&i.flags&&(s.viewContainer=Ao(e,i,s));break;case 2:s=wi(e,t,i);break;case 512:case 1024:case 2048:case 256:(s=r[o])||4096&i.flags||(s={instance:ei(e,i)});break;case 16:s={instance:ti(e,i)};break;case 16384:(s=r[o])||(s={instance:ni(e,i)}),32768&i.flags&&Ai(Er(e,i.parent.nodeIndex).componentView,s.instance,s.instance);break;case 32:case 64:case 128:s={value:void 0};break;case 67108864:case 134217728:s=new hn;break;case 8:vi(e,t,i),s=void 0}r[o]=s}Hi(e,Li.CreateViewNodes),qi(e,201326592,268435456,0)}function Ii(e){Vi(e),kr.updateDirectives(e,1),Bi(e,Li.CheckNoChanges),kr.updateRenderer(e,1),Hi(e,Li.CheckNoChanges),e.state&=-97}function Di(e){1&e.state?(e.state&=-2,e.state|=2):e.state&=-3,_r(e,0,256),Vi(e),kr.updateDirectives(e,0),Bi(e,Li.CheckAndUpdate),qi(e,67108864,536870912,0);var t=_r(e,256,512);ci(e,2097152|(t?1048576:0)),kr.updateRenderer(e,0),Hi(e,Li.CheckAndUpdate),qi(e,134217728,536870912,0),ci(e,8388608|((t=_r(e,512,768))?4194304:0)),2&e.def.flags&&(e.state&=-9),e.state&=-97,_r(e,768,1024)}function Mi(e,t,n,r,o,i,s,a,u,l,p,f,h){return 0===n?function(e,t,n,r,o,i,s,a,u,l,c,p){switch(201347067&t.flags){case 1:return function(e,t,n,r,o,i,s,a,u,l,c,p){var f=t.bindings.length,h=!1;return f>0&&fo(e,t,0,n)&&(h=!0),f>1&&fo(e,t,1,r)&&(h=!0),f>2&&fo(e,t,2,o)&&(h=!0),f>3&&fo(e,t,3,i)&&(h=!0),f>4&&fo(e,t,4,s)&&(h=!0),f>5&&fo(e,t,5,a)&&(h=!0),f>6&&fo(e,t,6,u)&&(h=!0),f>7&&fo(e,t,7,l)&&(h=!0),f>8&&fo(e,t,8,c)&&(h=!0),f>9&&fo(e,t,9,p)&&(h=!0),h}(e,t,n,r,o,i,s,a,u,l,c,p);case 2:return function(e,t,n,r,o,i,s,a,u,l,c,p){var f=!1,h=t.bindings,d=h.length;if(d>0&&jr(e,t,0,n)&&(f=!0),d>1&&jr(e,t,1,r)&&(f=!0),d>2&&jr(e,t,2,o)&&(f=!0),d>3&&jr(e,t,3,i)&&(f=!0),d>4&&jr(e,t,4,s)&&(f=!0),d>5&&jr(e,t,5,a)&&(f=!0),d>6&&jr(e,t,6,u)&&(f=!0),d>7&&jr(e,t,7,l)&&(f=!0),d>8&&jr(e,t,8,c)&&(f=!0),d>9&&jr(e,t,9,p)&&(f=!0),f){var y=t.text.prefix;d>0&&(y+=Ei(n,h[0])),d>1&&(y+=Ei(r,h[1])),d>2&&(y+=Ei(o,h[2])),d>3&&(y+=Ei(i,h[3])),d>4&&(y+=Ei(s,h[4])),d>5&&(y+=Ei(a,h[5])),d>6&&(y+=Ei(u,h[6])),d>7&&(y+=Ei(l,h[7])),d>8&&(y+=Ei(c,h[8])),d>9&&(y+=Ei(p,h[9]));var m=wr(e,t.nodeIndex).renderText;e.renderer.setValue(m,y)}return f}(e,t,n,r,o,i,s,a,u,l,c,p);case 16384:return function(e,t,n,r,o,i,s,a,u,l,c,p){var f=Cr(e,t.nodeIndex),h=f.instance,d=!1,y=void 0,m=t.bindings.length;return m>0&&Fr(e,t,0,n)&&(d=!0,y=li(e,f,t,0,n,y)),m>1&&Fr(e,t,1,r)&&(d=!0,y=li(e,f,t,1,r,y)),m>2&&Fr(e,t,2,o)&&(d=!0,y=li(e,f,t,2,o,y)),m>3&&Fr(e,t,3,i)&&(d=!0,y=li(e,f,t,3,i,y)),m>4&&Fr(e,t,4,s)&&(d=!0,y=li(e,f,t,4,s,y)),m>5&&Fr(e,t,5,a)&&(d=!0,y=li(e,f,t,5,a,y)),m>6&&Fr(e,t,6,u)&&(d=!0,y=li(e,f,t,6,u,y)),m>7&&Fr(e,t,7,l)&&(d=!0,y=li(e,f,t,7,l,y)),m>8&&Fr(e,t,8,c)&&(d=!0,y=li(e,f,t,8,c,y)),m>9&&Fr(e,t,9,p)&&(d=!0,y=li(e,f,t,9,p,y)),y&&h.ngOnChanges(y),65536&t.flags&&br(e,256,t.nodeIndex)&&h.ngOnInit(),262144&t.flags&&h.ngDoCheck(),d}(e,t,n,r,o,i,s,a,u,l,c,p);case 32:case 64:case 128:return function(e,t,n,r,o,i,s,a,u,l,c,p){var f=t.bindings,h=!1,d=f.length;if(d>0&&jr(e,t,0,n)&&(h=!0),d>1&&jr(e,t,1,r)&&(h=!0),d>2&&jr(e,t,2,o)&&(h=!0),d>3&&jr(e,t,3,i)&&(h=!0),d>4&&jr(e,t,4,s)&&(h=!0),d>5&&jr(e,t,5,a)&&(h=!0),d>6&&jr(e,t,6,u)&&(h=!0),d>7&&jr(e,t,7,l)&&(h=!0),d>8&&jr(e,t,8,c)&&(h=!0),d>9&&jr(e,t,9,p)&&(h=!0),h){var y=Sr(e,t.nodeIndex),m=void 0;switch(201347067&t.flags){case 32:m=new Array(f.length),d>0&&(m[0]=n),d>1&&(m[1]=r),d>2&&(m[2]=o),d>3&&(m[3]=i),d>4&&(m[4]=s),d>5&&(m[5]=a),d>6&&(m[6]=u),d>7&&(m[7]=l),d>8&&(m[8]=c),d>9&&(m[9]=p);break;case 64:m={},d>0&&(m[f[0].name]=n),d>1&&(m[f[1].name]=r),d>2&&(m[f[2].name]=o),d>3&&(m[f[3].name]=i),d>4&&(m[f[4].name]=s),d>5&&(m[f[5].name]=a),d>6&&(m[f[6].name]=u),d>7&&(m[f[7].name]=l),d>8&&(m[f[8].name]=c),d>9&&(m[f[9].name]=p);break;case 128:var v=n;switch(d){case 1:m=v.transform(n);break;case 2:m=v.transform(r);break;case 3:m=v.transform(r,o);break;case 4:m=v.transform(r,o,i);break;case 5:m=v.transform(r,o,i,s);break;case 6:m=v.transform(r,o,i,s,a);break;case 7:m=v.transform(r,o,i,s,a,u);break;case 8:m=v.transform(r,o,i,s,a,u,l);break;case 9:m=v.transform(r,o,i,s,a,u,l,c);break;case 10:m=v.transform(r,o,i,s,a,u,l,c,p)}}y.value=m}return h}(e,t,n,r,o,i,s,a,u,l,c,p);default:throw"unreachable"}}(e,t,r,o,i,s,a,u,l,p,f,h):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){for(var r=!1,o=0;o<n.length;o++)fo(e,t,o,n[o])&&(r=!0);return r}(e,t,n);case 2:return function(e,t,n){for(var r=t.bindings,o=!1,i=0;i<n.length;i++)jr(e,t,i,n[i])&&(o=!0);if(o){var s="";for(i=0;i<n.length;i++)s+=Ei(n[i],r[i]);s=t.text.prefix+s;var a=wr(e,t.nodeIndex).renderText;e.renderer.setValue(a,s)}return o}(e,t,n);case 16384:return function(e,t,n){for(var r=Cr(e,t.nodeIndex),o=r.instance,i=!1,s=void 0,a=0;a<n.length;a++)Fr(e,t,a,n[a])&&(i=!0,s=li(e,r,t,a,n[a],s));return s&&o.ngOnChanges(s),65536&t.flags&&br(e,256,t.nodeIndex)&&o.ngOnInit(),262144&t.flags&&o.ngDoCheck(),i}(e,t,n);case 32:case 64:case 128:return function(e,t,n){for(var r=t.bindings,o=!1,i=0;i<n.length;i++)jr(e,t,i,n[i])&&(o=!0);if(o){var s=Sr(e,t.nodeIndex),a=void 0;switch(201347067&t.flags){case 32:a=n;break;case 64:for(a={},i=0;i<n.length;i++)a[r[i].name]=n[i];break;case 128:var u=n[0],l=n.slice(1);a=u.transform.apply(u,c(l))}s.value=a}return o}(e,t,n);default:throw"unreachable"}}(e,t,r)}function Vi(e){var t=e.def;if(4&t.nodeFlags)for(var n=0;n<t.nodes.length;n++){var r=t.nodes[n];if(4&r.flags){var o=Er(e,n).template._projectedViews;if(o)for(var i=0;i<o.length;i++){var s=o[i];s.state|=32,Br(s,e)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function Ri(e,t,n,r,o,i,s,a,u,l,c,p,f){return 0===n?function(e,t,n,r,o,i,s,a,u,l,c,p){var f=t.bindings.length;f>0&&Lr(e,t,0,n),f>1&&Lr(e,t,1,r),f>2&&Lr(e,t,2,o),f>3&&Lr(e,t,3,i),f>4&&Lr(e,t,4,s),f>5&&Lr(e,t,5,a),f>6&&Lr(e,t,6,u),f>7&&Lr(e,t,7,l),f>8&&Lr(e,t,8,c),f>9&&Lr(e,t,9,p)}(e,t,r,o,i,s,a,u,l,c,p,f):function(e,t,n){for(var r=0;r<n.length;r++)Lr(e,t,r,n[r])}(e,t,r),!1}function Fi(e,t){if(Tr(e,t.nodeIndex).dirty)throw xr(kr.createDebugContext(e,t.nodeIndex),"Query "+t.query.id+" not dirty","Query "+t.query.id+" dirty",0!=(1&e.state))}function ji(e){if(!(128&e.state)){if(Bi(e,Li.Destroy),Hi(e,Li.Destroy),ci(e,131072),e.disposables)for(var t=0;t<e.disposables.length;t++)e.disposables[t]();!function(e){if(16&e.state){var t=Ur(e);if(t){var n=t.template._projectedViews;n&&(To(n,n.indexOf(e)),kr.dirtyParentQueries(e))}}}(e),e.renderer.destroyNode&&function(e){for(var t=e.def.nodes.length,n=0;n<t;n++){var r=e.def.nodes[n];1&r.flags?e.renderer.destroyNode(Er(e,n).renderElement):2&r.flags?e.renderer.destroyNode(wr(e,n).renderText):(67108864&r.flags||134217728&r.flags)&&Tr(e,n).destroy()}}(e),Gr(e)&&e.renderer.destroy(),e.state|=128}}var Li=function(e){return e[e.CreateViewNodes=0]="CreateViewNodes",e[e.CheckNoChanges=1]="CheckNoChanges",e[e.CheckNoChangesProjectedViews=2]="CheckNoChangesProjectedViews",e[e.CheckAndUpdate=3]="CheckAndUpdate",e[e.CheckAndUpdateProjectedViews=4]="CheckAndUpdateProjectedViews",e[e.Destroy=5]="Destroy",e}({});function Hi(e,t){var n=e.def;if(33554432&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var o=n.nodes[r];33554432&o.flags?zi(Er(e,r).componentView,t):0==(33554432&o.childFlags)&&(r+=o.childCount)}}function Bi(e,t){var n=e.def;if(16777216&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var o=n.nodes[r];if(16777216&o.flags)for(var i=Er(e,r).viewContainer._embeddedViews,s=0;s<i.length;s++)zi(i[s],t);else 0==(16777216&o.childFlags)&&(r+=o.childCount)}}function zi(e,t){var n=e.state;switch(t){case Li.CheckNoChanges:0==(128&n)&&(12==(12&n)?Ii(e):64&n&&Ui(e,Li.CheckNoChangesProjectedViews));break;case Li.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?Ii(e):64&n&&Ui(e,t));break;case Li.CheckAndUpdate:0==(128&n)&&(12==(12&n)?Di(e):64&n&&Ui(e,Li.CheckAndUpdateProjectedViews));break;case Li.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?Di(e):64&n&&Ui(e,t));break;case Li.Destroy:ji(e);break;case Li.CreateViewNodes:Ni(e)}}function Ui(e,t){Bi(e,t),Hi(e,t)}function qi(e,t,n,r){if(e.def.nodeFlags&t&&e.def.nodeFlags&n)for(var o=e.def.nodes.length,i=0;i<o;i++){var s=e.def.nodes[i];if(s.flags&t&&s.flags&n)switch(kr.setCurrentNode(e,s.nodeIndex),r){case 0:di(e,s);break;case 1:Fi(e,s)}s.childFlags&t&&s.childFlags&n||(i+=s.childCount)}}var Qi=!1;function Gi(e,t,n,r,o,i){var s=o.injector.get(ln);return xi(Zi(e,o,s,t,n),r,i)}function Ki(e,t,n,r,o,i){var s=o.injector.get(ln),a=Zi(e,o,new Ps(s),t,n),u=os(r);return ks(hs.create,xi,null,[a,u,i])}function Zi(e,t,n,r,o){var i=t.injector.get(gr),s=t.injector.get(st),a=n.createRenderer(null,null);return{ngModule:t,injector:e,projectableNodes:r,selectorOrNode:o,sanitizer:i,rendererFactory:n,renderer:a,errorHandler:s}}function Wi(e,t,n,r){var o=os(n);return ks(hs.create,ki,null,[e,t,o,r])}function $i(e,t,n,r){return n=es.get(t.element.componentProvider.provider.token)||os(n),ks(hs.create,Pi,null,[e,t,n,r])}function Yi(e,t,n,r){return Bo(e,t,n,function(e){var t=function(e){var t=!1,n=!1;return 0===Ji.size?{hasOverrides:t,hasDeprecatedOverrides:n}:(e.providers.forEach(function(e){var r=Ji.get(e.token);3840&e.flags&&r&&(t=!0,n=n||r.deprecatedBehavior)}),e.modules.forEach(function(e){Xi.forEach(function(r,o){o.ngInjectableDef.providedIn===e&&(t=!0,n=n||r.deprecatedBehavior)})}),{hasOverrides:t,hasDeprecatedOverrides:n})}(e),n=t.hasDeprecatedOverrides;return t.hasOverrides?(function(e){for(var t=0;t<e.providers.length;t++){var r=e.providers[t];n&&(r.flags|=4096);var o=Ji.get(r.token);o&&(r.flags=-3841&r.flags|o.flags,r.deps=Wr(o.deps),r.value=o.value)}if(Xi.size>0){var i=new Set(e.modules);Xi.forEach(function(t,r){if(i.has(r.ngInjectableDef.providedIn)){var o={token:r,flags:t.flags|(n?4096:0),deps:Wr(t.deps),value:t.value,index:e.providers.length};e.providers.push(o),e.providersByKey[Ir(r)]=o}})}}(e=e.factory(function(){return Ar})),e):e}(r))}var Ji=new Map,Xi=new Map,es=new Map;function ts(e){Ji.set(e.token,e),"function"==typeof e.token&&e.token.ngInjectableDef&&"function"==typeof e.token.ngInjectableDef.providedIn&&Xi.set(e.token,e)}function ns(e,t){var n=Jr(t.viewDefFactory),r=Jr(n.nodes[0].element.componentView);es.set(e,r)}function rs(){Ji.clear(),Xi.clear(),es.clear()}function os(e){if(0===Ji.size)return e;var t=function(e){for(var t=[],n=null,r=0;r<e.nodes.length;r++){var o=e.nodes[r];1&o.flags&&(n=o),n&&3840&o.flags&&Ji.has(o.provider.token)&&(t.push(n.nodeIndex),n=null)}return t}(e);if(0===t.length)return e;e=e.factory(function(){return Ar});for(var n=0;n<t.length;n++)r(e,t[n]);return e;function r(e,t){for(var n=t+1;n<e.nodes.length;n++){var r=e.nodes[n];if(1&r.flags)return;if(3840&r.flags){var o=r.provider,i=Ji.get(o.token);i&&(r.flags=-3841&r.flags|i.flags,o.deps=Wr(i.deps),o.value=i.value)}}}}function is(e,t,n,r,o,i,s,a,u,l,c,p,f){var h=e.def.nodes[t];return Mi(e,h,n,r,o,i,s,a,u,l,c,p,f),224&h.flags?Sr(e,t).value:void 0}function ss(e,t,n,r,o,i,s,a,u,l,c,p,f){var h=e.def.nodes[t];return Ri(e,h,n,r,o,i,s,a,u,l,c,p,f),224&h.flags?Sr(e,t).value:void 0}function as(e){return ks(hs.detectChanges,Di,null,[e])}function us(e){return ks(hs.checkNoChanges,Ii,null,[e])}function ls(e){return ks(hs.destroy,ji,null,[e])}var cs,ps,fs,hs=function(e){return e[e.create=0]="create",e[e.detectChanges=1]="detectChanges",e[e.checkNoChanges=2]="checkNoChanges",e[e.destroy=3]="destroy",e[e.handleEvent=4]="handleEvent",e}({});function ds(e,t){ps=e,fs=t}function ys(e,t,n,r){return ds(e,t),ks(hs.handleEvent,e.def.handleEvent,null,[e,t,n,r])}function ms(e,t){if(128&e.state)throw Or(hs[cs]);return ds(e,Es(e,0)),e.def.updateDirectives(function(e,n,r){for(var o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];var s=e.def.nodes[n];return 0===t?gs(e,s,r,o):_s(e,s,r,o),16384&s.flags&&ds(e,Es(e,n)),224&s.flags?Sr(e,s.nodeIndex).value:void 0},e)}function vs(e,t){if(128&e.state)throw Or(hs[cs]);return ds(e,Cs(e,0)),e.def.updateRenderer(function(e,n,r){for(var o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];var s=e.def.nodes[n];return 0===t?gs(e,s,r,o):_s(e,s,r,o),3&s.flags&&ds(e,Cs(e,n)),224&s.flags?Sr(e,s.nodeIndex).value:void 0},e)}function gs(e,t,n,r){if(Mi.apply(void 0,c([e,t,n],r))){var o=1===n?r[0]:r;if(16384&t.flags){for(var i={},s=0;s<t.bindings.length;s++){var a=t.bindings[s],u=o[s];8&a.flags&&(i[(h=a.nonMinifiedName,d=void 0,d=h.replace(/[$@]/g,"_"),"ng-reflect-"+(h=d.replace(bs,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return"-"+e[1].toLowerCase()})))]=ws(u))}var l=t.parent,p=Er(e,l.nodeIndex).renderElement;if(l.element.name)for(var f in i)null!=(u=i[f])?e.renderer.setAttribute(p,f,u):e.renderer.removeAttribute(p,f);else e.renderer.setValue(p,"bindings="+JSON.stringify(i,null,2))}}var h,d}function _s(e,t,n,r){Ri.apply(void 0,c([e,t,n],r))}var bs=/([A-Z])/g;function ws(e){try{return null!=e?e.toString().slice(0,30):e}catch(t){return"[ERROR] Exception while trying to serialize the value"}}function Es(e,t){for(var n=t;n<e.def.nodes.length;n++){var r=e.def.nodes[n];if(16384&r.flags&&r.bindings&&r.bindings.length)return n}return null}function Cs(e,t){for(var n=t;n<e.def.nodes.length;n++){var r=e.def.nodes[n];if(3&r.flags&&r.bindings&&r.bindings.length)return n}return null}var Ss=function(){function e(e,t){this.view=e,this.nodeIndex=t,null==t&&(this.nodeIndex=t=0),this.nodeDef=e.def.nodes[t];for(var n=this.nodeDef,r=e;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&r;)n=qr(r),r=r.parent;this.elDef=n,this.elView=r}return Object.defineProperty(e.prototype,"elOrCompView",{get:function(){return Er(this.elView,this.elDef.nodeIndex).componentView||this.view},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return Ro(this.elView,this.elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"component",{get:function(){return this.elOrCompView.component},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this.elOrCompView.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){var e=[];if(this.elDef)for(var t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){var n=this.elView.def.nodes[t];20224&n.flags&&e.push(n.provider.token),t+=n.childCount}return e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){var e={};if(this.elDef){Ts(this.elView,this.elDef,e);for(var t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){var n=this.elView.def.nodes[t];20224&n.flags&&Ts(this.elView,n,e),t+=n.childCount}}return e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentRenderElement",{get:function(){var e=function(e){for(;e&&!Gr(e);)e=e.parent;return e.parent?Er(e.parent,qr(e).nodeIndex):null}(this.elOrCompView);return e?e.renderElement:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"renderNode",{get:function(){return 2&this.nodeDef.flags?Qr(this.view,this.nodeDef):Qr(this.elView,this.elDef)},enumerable:!0,configurable:!0}),e.prototype.logError=function(e){for(var t,n,r=[],o=1;o<arguments.length;o++)r[o-1]=arguments[o];2&this.nodeDef.flags?(t=this.view.def,n=this.nodeDef.nodeIndex):(t=this.elView.def,n=this.elDef.nodeIndex);var i=function(e,t){for(var n=-1,r=0;r<=t;r++)3&e.nodes[r].flags&&n++;return n}(t,n),s=-1;t.factory(function(){var t;return++s===i?(t=e.error).bind.apply(t,c([e],r)):Ar}),s<i&&(e.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),e.error.apply(e,c(r)))},e}();function Ts(e,t,n){for(var r in t.references)n[r]=mi(e,t,t.references[r])}function ks(e,t,n,r){var o=cs,i=ps,s=fs;try{cs=e;var a=t.apply(n,r);return ps=i,fs=s,cs=o,a}catch(u){if(rt(u)||!ps)throw u;throw function(e,t){return e instanceof Error||(e=new Error(e.toString())),Pr(e,t),e}(u,xs())}}function xs(){return ps?new Ss(ps,fs):null}var Ps=function(){function e(e){this.delegate=e}return e.prototype.createRenderer=function(e,t){return new Os(this.delegate.createRenderer(e,t))},e.prototype.begin=function(){this.delegate.begin&&this.delegate.begin()},e.prototype.end=function(){this.delegate.end&&this.delegate.end()},e.prototype.whenRenderingDone=function(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)},e}(),Os=function(){function e(e){this.delegate=e,this.data=this.delegate.data}return e.prototype.destroyNode=function(e){!function(e){bn.delete(e.nativeNode)}(wn(e)),this.delegate.destroyNode&&this.delegate.destroyNode(e)},e.prototype.destroy=function(){this.delegate.destroy()},e.prototype.createElement=function(e,t){var n=this.delegate.createElement(e,t),r=xs();if(r){var o=new _n(n,null,r);o.name=e,En(o)}return n},e.prototype.createComment=function(e){var t=this.delegate.createComment(e),n=xs();return n&&En(new gn(t,null,n)),t},e.prototype.createText=function(e){var t=this.delegate.createText(e),n=xs();return n&&En(new gn(t,null,n)),t},e.prototype.appendChild=function(e,t){var n=wn(e),r=wn(t);n&&r&&n instanceof _n&&n.addChild(r),this.delegate.appendChild(e,t)},e.prototype.insertBefore=function(e,t,n){var r=wn(e),o=wn(t),i=wn(n);r&&o&&r instanceof _n&&r.insertBefore(i,o),this.delegate.insertBefore(e,t,n)},e.prototype.removeChild=function(e,t){var n=wn(e),r=wn(t);n&&r&&n instanceof _n&&n.removeChild(r),this.delegate.removeChild(e,t)},e.prototype.selectRootElement=function(e){var t=this.delegate.selectRootElement(e),n=xs();return n&&En(new _n(t,null,n)),t},e.prototype.setAttribute=function(e,t,n,r){var o=wn(e);o&&o instanceof _n&&(o.attributes[r?r+":"+t:t]=n),this.delegate.setAttribute(e,t,n,r)},e.prototype.removeAttribute=function(e,t,n){var r=wn(e);r&&r instanceof _n&&(r.attributes[n?n+":"+t:t]=null),this.delegate.removeAttribute(e,t,n)},e.prototype.addClass=function(e,t){var n=wn(e);n&&n instanceof _n&&(n.classes[t]=!0),this.delegate.addClass(e,t)},e.prototype.removeClass=function(e,t){var n=wn(e);n&&n instanceof _n&&(n.classes[t]=!1),this.delegate.removeClass(e,t)},e.prototype.setStyle=function(e,t,n,r){var o=wn(e);o&&o instanceof _n&&(o.styles[t]=n),this.delegate.setStyle(e,t,n,r)},e.prototype.removeStyle=function(e,t,n){var r=wn(e);r&&r instanceof _n&&(r.styles[t]=null),this.delegate.removeStyle(e,t,n)},e.prototype.setProperty=function(e,t,n){var r=wn(e);r&&r instanceof _n&&(r.properties[t]=n),this.delegate.setProperty(e,t,n)},e.prototype.listen=function(e,t,n){if("string"!=typeof e){var r=wn(e);r&&r.listeners.push(new vn(t,n))}return this.delegate.listen(e,t,n)},e.prototype.parentNode=function(e){return this.delegate.parentNode(e)},e.prototype.nextSibling=function(e){return this.delegate.nextSibling(e)},e.prototype.setValue=function(e,t){return this.delegate.setValue(e,t)},e}();function As(e,t,n){return new Ns(e,t,n)}var Ns=function(e){function t(t,n,r){var o=e.call(this)||this;return o.moduleType=t,o._bootstrapComponents=n,o._ngModuleDefFactory=r,o}return o(t,e),t.prototype.create=function(e){!function(){if(!Qi){Qi=!0;var e=Xt()?{setCurrentNode:ds,createRootView:Ki,createEmbeddedView:Wi,createComponentView:$i,createNgModuleRef:Yi,overrideProvider:ts,overrideComponentView:ns,clearOverrides:rs,checkAndUpdateView:as,checkNoChangesView:us,destroyView:ls,createDebugContext:function(e,t){return new Ss(e,t)},handleEvent:ys,updateDirectives:ms,updateRenderer:vs}:{setCurrentNode:function(){},createRootView:Gi,createEmbeddedView:ki,createComponentView:Pi,createNgModuleRef:Bo,overrideProvider:Ar,overrideComponentView:Ar,clearOverrides:Ar,checkAndUpdateView:Di,checkNoChangesView:Ii,destroyView:ji,createDebugContext:function(e,t){return new Ss(e,t)},handleEvent:function(e,t,n,r){return e.def.handleEvent(e,t,n,r)},updateDirectives:function(e,t){return e.def.updateDirectives(0===t?is:ss,e)},updateRenderer:function(e,t){return e.def.updateRenderer(0===t?is:ss,e)}};kr.setCurrentNode=e.setCurrentNode,kr.createRootView=e.createRootView,kr.createEmbeddedView=e.createEmbeddedView,kr.createComponentView=e.createComponentView,kr.createNgModuleRef=e.createNgModuleRef,kr.overrideProvider=e.overrideProvider,kr.overrideComponentView=e.overrideComponentView,kr.clearOverrides=e.clearOverrides,kr.checkAndUpdateView=e.checkAndUpdateView,kr.checkNoChangesView=e.checkNoChangesView,kr.destroyView=e.destroyView,kr.resolveDep=ai,kr.createDebugContext=e.createDebugContext,kr.handleEvent=e.handleEvent,kr.updateDirectives=e.updateDirectives,kr.updateRenderer=e.updateRenderer,kr.dirtyParentQueries=hi}}();var t=function(e){var t=Array.from(e.providers),n=Array.from(e.modules),r={};for(var o in e.providersByKey)r[o]=e.providersByKey[o];return{factory:e.factory,isRoot:e.isRoot,providers:t,modules:n,providersByKey:r}}(Jr(this._ngModuleDefFactory));return kr.createNgModuleRef(this.moduleType,e||Me.NULL,this._bootstrapComponents,t)},t}(It),Is=function(){return function(){}}(),Ds=function(){return function(){this.title="angular-appseptten"}}(),Ms=function(){return function(){}}(),Vs=void 0,Rs=["en",[["a","p"],["AM","PM"],Vs],[["AM","PM"],Vs,Vs],[["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"]],Vs,[["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"]],Vs,[["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}",Vs,"{1} 'at' {0}",Vs],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",{},function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}],Fs={},js=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}({}),Ls=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}({}),Hs=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}({}),Bs=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}({}),zs=function(e){return e[e.Decimal=0]="Decimal",e[e.Group=1]="Group",e[e.List=2]="List",e[e.PercentSign=3]="PercentSign",e[e.PlusSign=4]="PlusSign",e[e.MinusSign=5]="MinusSign",e[e.Exponential=6]="Exponential",e[e.SuperscriptingExponent=7]="SuperscriptingExponent",e[e.PerMille=8]="PerMille",e[e[1/0]=9]="Infinity",e[e.NaN=10]="NaN",e[e.TimeSeparator=11]="TimeSeparator",e[e.CurrencyDecimal=12]="CurrencyDecimal",e[e.CurrencyGroup=13]="CurrencyGroup",e}({});function Us(e,t){return Zs($s(e)[10],t)}function qs(e,t){return Zs($s(e)[11],t)}function Qs(e,t){return Zs($s(e)[12],t)}function Gs(e,t){var n=$s(e),r=n[13][t];if(void 0===r){if(t===zs.CurrencyDecimal)return n[13][zs.Decimal];if(t===zs.CurrencyGroup)return n[13][zs.Group]}return r}function Ks(e){if(!e[19])throw new Error('Missing extra locale data for the locale "'+e[0]+'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.')}function Zs(e,t){for(var n=t;n>-1;n--)if(void 0!==e[n])return e[n];throw new Error("Locale data API: locale data undefined")}function Ws(e){var t=l(e.split(":"),2);return{hours:+t[0],minutes:+t[1]}}function $s(e){var t=e.toLowerCase().replace(/_/g,"-"),n=Fs[t];if(n)return n;var r=t.split("-")[0];if(n=Fs[r])return n;if("en"===r)return Rs;throw new Error('Missing locale data for the locale "'+e+'".')}var Ys=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Js={},Xs=/((?:[^GyMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,ea=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}({}),ta=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}({}),na=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}({});function ra(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(e,n){return null!=t&&n in t?t[n]:e})),e}function oa(e,t,n,r,o){void 0===n&&(n="-");var i="";(e<0||o&&e<=0)&&(o?e=1-e:(e=-e,i=n));for(var s=String(e);s.length<t;)s="0"+s;return r&&(s=s.substr(s.length-t)),i+s}function ia(e,t,n,r,o){return void 0===n&&(n=0),void 0===r&&(r=!1),void 0===o&&(o=!1),function(i,s){var a,u=function(e,t){switch(e){case ta.FullYear:return t.getFullYear();case ta.Month:return t.getMonth();case ta.Date:return t.getDate();case ta.Hours:return t.getHours();case ta.Minutes:return t.getMinutes();case ta.Seconds:return t.getSeconds();case ta.FractionalSeconds:return t.getMilliseconds();case ta.Day:return t.getDay();default:throw new Error('Unknown DateType value "'+e+'".')}}(e,i);if((n>0||u>-n)&&(u+=n),e===ta.Hours)0===u&&-12===n&&(u=12);else if(e===ta.FractionalSeconds)return a=t,oa(u,3).substr(0,a);var l=Gs(s,zs.MinusSign);return oa(u,t,l,r,o)}}function sa(e,t,n,r){return void 0===n&&(n=Ls.Format),void 0===r&&(r=!1),function(o,i){return function(e,t,n,r,o,i){switch(n){case na.Months:return function(e,t,n){var r=$s(e),o=Zs([r[5],r[6]],t);return Zs(o,n)}(t,o,r)[e.getMonth()];case na.Days:return function(e,t,n){var r=$s(e),o=Zs([r[3],r[4]],t);return Zs(o,n)}(t,o,r)[e.getDay()];case na.DayPeriods:var s=e.getHours(),a=e.getMinutes();if(i){var u,l=function(e){var t=$s(e);return Ks(t),(t[19][2]||[]).map(function(e){return"string"==typeof e?Ws(e):[Ws(e[0]),Ws(e[1])]})}(t),c=function(e,t,n){var r=$s(e);Ks(r);var o=Zs([r[19][0],r[19][1]],t)||[];return Zs(o,n)||[]}(t,o,r);if(l.forEach(function(e,t){if(Array.isArray(e)){var n=e[0],r=e[1],o=r.hours;s>=n.hours&&a>=n.minutes&&(s<o||s===o&&a<r.minutes)&&(u=c[t])}else e.hours===s&&e.minutes===a&&(u=c[t])}),u)return u}return function(e,t,n){var r=$s(e),o=Zs([r[1],r[2]],t);return Zs(o,n)}(t,o,r)[s<12?0:1];case na.Eras:return function(e,t){return Zs($s(e)[7],t)}(t,r)[e.getFullYear()<=0?0:1];default:throw new Error("unexpected translation type "+n)}}(o,i,e,t,n,r)}}function aa(e){return function(t,n,r){var o=-1*r,i=Gs(n,zs.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case ea.Short:return(o>=0?"+":"")+oa(s,2,i)+oa(Math.abs(o%60),2,i);case ea.ShortGMT:return"GMT"+(o>=0?"+":"")+oa(s,1,i);case ea.Long:return"GMT"+(o>=0?"+":"")+oa(s,2,i)+":"+oa(Math.abs(o%60),2,i);case ea.Extended:return 0===r?"Z":(o>=0?"+":"")+oa(s,2,i)+":"+oa(Math.abs(o%60),2,i);default:throw new Error('Unknown zone width "'+e+'"')}}}var ua=0,la=4;function ca(e,t){return void 0===t&&(t=!1),function(n,r){var o,i,s,a;if(t){var u=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,l=n.getDate();o=1+Math.floor((l+u)/7)}else{var c=(s=n.getFullYear(),a=new Date(s,ua,1).getDay(),new Date(s,0,1+(a<=la?la:la+7)-a)),p=(i=n,new Date(i.getFullYear(),i.getMonth(),i.getDate()+(la-i.getDay()))).getTime()-c.getTime();o=1+Math.round(p/6048e5)}return oa(o,e,Gs(r,zs.MinusSign))}}var pa={};function fa(e,t){e=e.replace(/:/g,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function ha(e){return e instanceof Date&&!isNaN(e.valueOf())}var da=new fe("UseV4Plurals"),ya=function(){return function(){}}(),ma=function(e){function t(t,n){var r=e.call(this)||this;return r.locale=t,r.deprecatedPluralFn=n,r}return o(t,e),t.prototype.getPluralCategory=function(e,t){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(t||this.locale,e):function(e){return $s(e)[18]}(t||this.locale)(e)){case js.Zero:return"zero";case js.One:return"one";case js.Two:return"two";case js.Few:return"few";case js.Many:return"many";default:return"other"}},t}(ya);function va(e,t){var n,r;t=encodeURIComponent(t);try{for(var o=u(e.split(";")),i=o.next();!i.done;i=o.next()){var s=i.value,a=s.indexOf("="),c=l(-1==a?[s,""]:[s.slice(0,a),s.slice(a+1)],2),p=c[1];if(c[0].trim()===t)return decodeURIComponent(p)}}catch(f){n={error:f}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return null}var ga=function(){function e(e,t,n,r){this._iterableDiffers=e,this._keyValueDiffers=t,this._ngEl=n,this._renderer=r,this._initialClasses=[]}return Object.defineProperty(e.prototype,"klass",{set:function(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClass",{set:function(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(kn(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},enumerable:!0,configurable:!0}),e.prototype.ngDoCheck=function(){if(this._iterableDiffer){var e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){var t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}},e.prototype._applyKeyValueChanges=function(e){var t=this;e.forEachAddedItem(function(e){return t._toggleClass(e.key,e.currentValue)}),e.forEachChangedItem(function(e){return t._toggleClass(e.key,e.currentValue)}),e.forEachRemovedItem(function(e){e.previousValue&&t._toggleClass(e.key,!1)})},e.prototype._applyIterableChanges=function(e){var t=this;e.forEachAddedItem(function(e){if("string"!=typeof e.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Ce(e.item));t._toggleClass(e.item,!0)}),e.forEachRemovedItem(function(e){return t._toggleClass(e.item,!1)})},e.prototype._applyClasses=function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach(function(e){return t._toggleClass(e,!0)}):Object.keys(e).forEach(function(n){return t._toggleClass(n,!!e[n])}))},e.prototype._removeClasses=function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach(function(e){return t._toggleClass(e,!1)}):Object.keys(e).forEach(function(e){return t._toggleClass(e,!1)}))},e.prototype._toggleClass=function(e,t){var n=this;(e=e.trim())&&e.split(/\s+/g).forEach(function(e){t?n._renderer.addClass(n._ngEl.nativeElement,e):n._renderer.removeClass(n._ngEl.nativeElement,e)})},e}(),_a=function(){function e(e,t,n,r){this.$implicit=e,this.ngForOf=t,this.index=n,this.count=r}return Object.defineProperty(e.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),e}(),ba=function(){function e(e,t,n){this._viewContainer=e,this._template=t,this._differs=n,this._ngForOfDirty=!0,this._differ=null}return Object.defineProperty(e.prototype,"ngForOf",{set:function(e){this._ngForOf=e,this._ngForOfDirty=!0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(e){Xt()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(e)+". See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngForTemplate",{set:function(e){e&&(this._template=e)},enumerable:!0,configurable:!0}),e.prototype.ngDoCheck=function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var e=this._ngForOf;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(r){throw new Error("Cannot find a differ supporting object '"+e+"' of type '"+((t=e).name||typeof t)+"'. NgFor only supports binding to Iterables such as Arrays.")}}var t;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}},e.prototype._applyChanges=function(e){var t=this,n=[];e.forEachOperation(function(e,r,o){if(null==e.previousIndex){var i=t._viewContainer.createEmbeddedView(t._template,new _a(null,t._ngForOf,-1,-1),o),s=new wa(e,i);n.push(s)}else null==o?t._viewContainer.remove(r):(i=t._viewContainer.get(r),t._viewContainer.move(i,o),s=new wa(e,i),n.push(s))});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}e.forEachIdentityChange(function(e){t._viewContainer.get(e.currentIndex).context.$implicit=e.item})},e.prototype._perViewChange=function(e,t){e.context.$implicit=t.item},e}(),wa=function(){return function(e,t){this.record=e,this.view=t}}(),Ea=function(){function e(e,t){this._viewContainer=e,this._context=new Ca,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=t}return Object.defineProperty(e.prototype,"ngIf",{set:function(e){this._context.$implicit=this._context.ngIf=e,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngIfThen",{set:function(e){Sa("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngIfElse",{set:function(e){Sa("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),e.prototype._updateView=function(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))},e}(),Ca=function(){return function(){this.$implicit=null,this.ngIf=null}}();function Sa(e,t){if(t&&!t.createEmbeddedView)throw new Error(e+" must be a TemplateRef, but received '"+Ce(t)+"'.")}var Ta=function(){function e(e){this.locale=e}var t;return t=e,e.prototype.transform=function(e,n,r,o){if(void 0===n&&(n="mediumDate"),null==e||""===e||e!=e)return null;try{return function(e,t,n,r){var o=function(e){if(ha(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){e=e.trim();var t,n=parseFloat(e);if(!isNaN(e-n))return new Date(n);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(e)){var r=l(e.split("-").map(function(e){return+e}),3);return new Date(r[0],r[1]-1,r[2])}if(t=e.match(Ys))return function(e){var t=new Date(0),n=0,r=0,o=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));var s=Number(e[4]||0)-n,a=Number(e[5]||0)-r,u=Number(e[6]||0),l=Math.round(1e3*parseFloat("0."+(e[7]||0)));return i.call(t,s,a,u,l),t}(t)}var o=new Date(e);if(!ha(o))throw new Error('Unable to convert "'+e+'" into a date');return o}(e);t=function e(t,n){var r=function(e){return $s(e)[0]}(t);if(Js[r]=Js[r]||{},Js[r][n])return Js[r][n];var o="";switch(n){case"shortDate":o=Us(t,Bs.Short);break;case"mediumDate":o=Us(t,Bs.Medium);break;case"longDate":o=Us(t,Bs.Long);break;case"fullDate":o=Us(t,Bs.Full);break;case"shortTime":o=qs(t,Bs.Short);break;case"mediumTime":o=qs(t,Bs.Medium);break;case"longTime":o=qs(t,Bs.Long);break;case"fullTime":o=qs(t,Bs.Full);break;case"short":var i=e(t,"shortTime"),s=e(t,"shortDate");o=ra(Qs(t,Bs.Short),[i,s]);break;case"medium":var a=e(t,"mediumTime"),u=e(t,"mediumDate");o=ra(Qs(t,Bs.Medium),[a,u]);break;case"long":var l=e(t,"longTime"),c=e(t,"longDate");o=ra(Qs(t,Bs.Long),[l,c]);break;case"full":var p=e(t,"fullTime"),f=e(t,"fullDate");o=ra(Qs(t,Bs.Full),[p,f])}return o&&(Js[r][n]=o),o}(n,t)||t;for(var i,s=[];t;){if(!(i=Xs.exec(t))){s.push(t);break}var a=(s=s.concat(i.slice(1))).pop();if(!a)break;t=a}var u=o.getTimezoneOffset();r&&(u=fa(r,u),o=function(e,t,n){var r=e.getTimezoneOffset();return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,-1*(fa(t,r)-r))}(o,r));var c="";return s.forEach(function(e){var t=function(e){if(pa[e])return pa[e];var t;switch(e){case"G":case"GG":case"GGG":t=sa(na.Eras,Hs.Abbreviated);break;case"GGGG":t=sa(na.Eras,Hs.Wide);break;case"GGGGG":t=sa(na.Eras,Hs.Narrow);break;case"y":t=ia(ta.FullYear,1,0,!1,!0);break;case"yy":t=ia(ta.FullYear,2,0,!0,!0);break;case"yyy":t=ia(ta.FullYear,3,0,!1,!0);break;case"yyyy":t=ia(ta.FullYear,4,0,!1,!0);break;case"M":case"L":t=ia(ta.Month,1,1);break;case"MM":case"LL":t=ia(ta.Month,2,1);break;case"MMM":t=sa(na.Months,Hs.Abbreviated);break;case"MMMM":t=sa(na.Months,Hs.Wide);break;case"MMMMM":t=sa(na.Months,Hs.Narrow);break;case"LLL":t=sa(na.Months,Hs.Abbreviated,Ls.Standalone);break;case"LLLL":t=sa(na.Months,Hs.Wide,Ls.Standalone);break;case"LLLLL":t=sa(na.Months,Hs.Narrow,Ls.Standalone);break;case"w":t=ca(1);break;case"ww":t=ca(2);break;case"W":t=ca(1,!0);break;case"d":t=ia(ta.Date,1);break;case"dd":t=ia(ta.Date,2);break;case"E":case"EE":case"EEE":t=sa(na.Days,Hs.Abbreviated);break;case"EEEE":t=sa(na.Days,Hs.Wide);break;case"EEEEE":t=sa(na.Days,Hs.Narrow);break;case"EEEEEE":t=sa(na.Days,Hs.Short);break;case"a":case"aa":case"aaa":t=sa(na.DayPeriods,Hs.Abbreviated);break;case"aaaa":t=sa(na.DayPeriods,Hs.Wide);break;case"aaaaa":t=sa(na.DayPeriods,Hs.Narrow);break;case"b":case"bb":case"bbb":t=sa(na.DayPeriods,Hs.Abbreviated,Ls.Standalone,!0);break;case"bbbb":t=sa(na.DayPeriods,Hs.Wide,Ls.Standalone,!0);break;case"bbbbb":t=sa(na.DayPeriods,Hs.Narrow,Ls.Standalone,!0);break;case"B":case"BB":case"BBB":t=sa(na.DayPeriods,Hs.Abbreviated,Ls.Format,!0);break;case"BBBB":t=sa(na.DayPeriods,Hs.Wide,Ls.Format,!0);break;case"BBBBB":t=sa(na.DayPeriods,Hs.Narrow,Ls.Format,!0);break;case"h":t=ia(ta.Hours,1,-12);break;case"hh":t=ia(ta.Hours,2,-12);break;case"H":t=ia(ta.Hours,1);break;case"HH":t=ia(ta.Hours,2);break;case"m":t=ia(ta.Minutes,1);break;case"mm":t=ia(ta.Minutes,2);break;case"s":t=ia(ta.Seconds,1);break;case"ss":t=ia(ta.Seconds,2);break;case"S":t=ia(ta.FractionalSeconds,1);break;case"SS":t=ia(ta.FractionalSeconds,2);break;case"SSS":t=ia(ta.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=aa(ea.Short);break;case"ZZZZZ":t=aa(ea.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=aa(ea.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=aa(ea.Long);break;default:return null}return pa[e]=t,t}(e);c+=t?t(o,n,u):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}(e,n,o||this.locale,r)}catch(i){throw Error("InvalidPipeArgument: '"+i.message+"' for pipe '"+Ce(t)+"'")}},e}(),ka=function(){return function(){}}(),xa=new fe("DocumentToken"),Pa="server",Oa=new O(function(e){return e.complete()}),Aa=function(e){function t(t,n){var r=e.call(this,t)||this;r.sources=n,r.completed=0,r.haveValues=0;var o=n.length;r.values=new Array(o);for(var i=0;i<o;i++){var s=K(r,n[i],null,i);s&&r.add(s)}return r}return o(t,e),t.prototype.notifyNext=function(e,t,n,r,o){this.values[n]=t,o._hasValue||(o._hasValue=!0,this.haveValues++)},t.prototype.notifyComplete=function(e){var t=this.destination,n=this.haveValues,r=this.values,o=r.length;e._hasValue?(this.completed++,this.completed===o&&(n===o&&t.next(r),t.complete())):t.complete()},t}(Z),Na=null;function Ia(){return Na}var Da,Ma={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},Va={"\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"},Ra={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"};ve.Node&&(Da=ve.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))});var Fa,ja=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.parse=function(e){throw new Error("parse not implemented")},t.makeCurrent=function(){var e;e=new t,Na||(Na=e)},t.prototype.hasProperty=function(e,t){return t in e},t.prototype.setProperty=function(e,t,n){e[t]=n},t.prototype.getProperty=function(e,t){return e[t]},t.prototype.invoke=function(e,t,n){var r;(r=e)[t].apply(r,c(n))},t.prototype.logError=function(e){window.console&&(console.error?console.error(e):console.log(e))},t.prototype.log=function(e){window.console&&window.console.log&&window.console.log(e)},t.prototype.logGroup=function(e){window.console&&window.console.group&&window.console.group(e)},t.prototype.logGroupEnd=function(){window.console&&window.console.groupEnd&&window.console.groupEnd()},Object.defineProperty(t.prototype,"attrToPropMap",{get:function(){return Ma},enumerable:!0,configurable:!0}),t.prototype.contains=function(e,t){return Da.call(e,t)},t.prototype.querySelector=function(e,t){return e.querySelector(t)},t.prototype.querySelectorAll=function(e,t){return e.querySelectorAll(t)},t.prototype.on=function(e,t,n){e.addEventListener(t,n,!1)},t.prototype.onAndCancel=function(e,t,n){return e.addEventListener(t,n,!1),function(){e.removeEventListener(t,n,!1)}},t.prototype.dispatchEvent=function(e,t){e.dispatchEvent(t)},t.prototype.createMouseEvent=function(e){var t=this.getDefaultDocument().createEvent("MouseEvent");return t.initEvent(e,!0,!0),t},t.prototype.createEvent=function(e){var t=this.getDefaultDocument().createEvent("Event");return t.initEvent(e,!0,!0),t},t.prototype.preventDefault=function(e){e.preventDefault(),e.returnValue=!1},t.prototype.isPrevented=function(e){return e.defaultPrevented||null!=e.returnValue&&!e.returnValue},t.prototype.getInnerHTML=function(e){return e.innerHTML},t.prototype.getTemplateContent=function(e){return"content"in e&&this.isTemplateElement(e)?e.content:null},t.prototype.getOuterHTML=function(e){return e.outerHTML},t.prototype.nodeName=function(e){return e.nodeName},t.prototype.nodeValue=function(e){return e.nodeValue},t.prototype.type=function(e){return e.type},t.prototype.content=function(e){return this.hasProperty(e,"content")?e.content:e},t.prototype.firstChild=function(e){return e.firstChild},t.prototype.nextSibling=function(e){return e.nextSibling},t.prototype.parentElement=function(e){return e.parentNode},t.prototype.childNodes=function(e){return e.childNodes},t.prototype.childNodesAsList=function(e){for(var t=e.childNodes,n=new Array(t.length),r=0;r<t.length;r++)n[r]=t[r];return n},t.prototype.clearNodes=function(e){for(;e.firstChild;)e.removeChild(e.firstChild)},t.prototype.appendChild=function(e,t){e.appendChild(t)},t.prototype.removeChild=function(e,t){e.removeChild(t)},t.prototype.replaceChild=function(e,t,n){e.replaceChild(t,n)},t.prototype.remove=function(e){return e.parentNode&&e.parentNode.removeChild(e),e},t.prototype.insertBefore=function(e,t,n){e.insertBefore(n,t)},t.prototype.insertAllBefore=function(e,t,n){n.forEach(function(n){return e.insertBefore(n,t)})},t.prototype.insertAfter=function(e,t,n){e.insertBefore(n,t.nextSibling)},t.prototype.setInnerHTML=function(e,t){e.innerHTML=t},t.prototype.getText=function(e){return e.textContent},t.prototype.setText=function(e,t){e.textContent=t},t.prototype.getValue=function(e){return e.value},t.prototype.setValue=function(e,t){e.value=t},t.prototype.getChecked=function(e){return e.checked},t.prototype.setChecked=function(e,t){e.checked=t},t.prototype.createComment=function(e){return this.getDefaultDocument().createComment(e)},t.prototype.createTemplate=function(e){var t=this.getDefaultDocument().createElement("template");return t.innerHTML=e,t},t.prototype.createElement=function(e,t){return(t=t||this.getDefaultDocument()).createElement(e)},t.prototype.createElementNS=function(e,t,n){return(n=n||this.getDefaultDocument()).createElementNS(e,t)},t.prototype.createTextNode=function(e,t){return(t=t||this.getDefaultDocument()).createTextNode(e)},t.prototype.createScriptTag=function(e,t,n){var r=(n=n||this.getDefaultDocument()).createElement("SCRIPT");return r.setAttribute(e,t),r},t.prototype.createStyleElement=function(e,t){var n=(t=t||this.getDefaultDocument()).createElement("style");return this.appendChild(n,this.createTextNode(e,t)),n},t.prototype.createShadowRoot=function(e){return e.createShadowRoot()},t.prototype.getShadowRoot=function(e){return e.shadowRoot},t.prototype.getHost=function(e){return e.host},t.prototype.clone=function(e){return e.cloneNode(!0)},t.prototype.getElementsByClassName=function(e,t){return e.getElementsByClassName(t)},t.prototype.getElementsByTagName=function(e,t){return e.getElementsByTagName(t)},t.prototype.classList=function(e){return Array.prototype.slice.call(e.classList,0)},t.prototype.addClass=function(e,t){e.classList.add(t)},t.prototype.removeClass=function(e,t){e.classList.remove(t)},t.prototype.hasClass=function(e,t){return e.classList.contains(t)},t.prototype.setStyle=function(e,t,n){e.style[t]=n},t.prototype.removeStyle=function(e,t){e.style[t]=""},t.prototype.getStyle=function(e,t){return e.style[t]},t.prototype.hasStyle=function(e,t,n){var r=this.getStyle(e,t)||"";return n?r==n:r.length>0},t.prototype.tagName=function(e){return e.tagName},t.prototype.attributeMap=function(e){for(var t=new Map,n=e.attributes,r=0;r<n.length;r++){var o=n.item(r);t.set(o.name,o.value)}return t},t.prototype.hasAttribute=function(e,t){return e.hasAttribute(t)},t.prototype.hasAttributeNS=function(e,t,n){return e.hasAttributeNS(t,n)},t.prototype.getAttribute=function(e,t){return e.getAttribute(t)},t.prototype.getAttributeNS=function(e,t,n){return e.getAttributeNS(t,n)},t.prototype.setAttribute=function(e,t,n){e.setAttribute(t,n)},t.prototype.setAttributeNS=function(e,t,n,r){e.setAttributeNS(t,n,r)},t.prototype.removeAttribute=function(e,t){e.removeAttribute(t)},t.prototype.removeAttributeNS=function(e,t,n){e.removeAttributeNS(t,n)},t.prototype.templateAwareRoot=function(e){return this.isTemplateElement(e)?this.content(e):e},t.prototype.createHtmlDocument=function(){return document.implementation.createHTMLDocument("fakeTitle")},t.prototype.getDefaultDocument=function(){return document},t.prototype.getBoundingClientRect=function(e){try{return e.getBoundingClientRect()}catch(t){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}},t.prototype.getTitle=function(e){return e.title},t.prototype.setTitle=function(e,t){e.title=t||""},t.prototype.elementMatches=function(e,t){return!!this.isElementNode(e)&&(e.matches&&e.matches(t)||e.msMatchesSelector&&e.msMatchesSelector(t)||e.webkitMatchesSelector&&e.webkitMatchesSelector(t))},t.prototype.isTemplateElement=function(e){return this.isElementNode(e)&&"TEMPLATE"===e.nodeName},t.prototype.isTextNode=function(e){return e.nodeType===Node.TEXT_NODE},t.prototype.isCommentNode=function(e){return e.nodeType===Node.COMMENT_NODE},t.prototype.isElementNode=function(e){return e.nodeType===Node.ELEMENT_NODE},t.prototype.hasShadowRoot=function(e){return null!=e.shadowRoot&&e instanceof HTMLElement},t.prototype.isShadowRoot=function(e){return e instanceof DocumentFragment},t.prototype.importIntoDoc=function(e){return document.importNode(this.templateAwareRoot(e),!0)},t.prototype.adoptNode=function(e){return document.adoptNode(e)},t.prototype.getHref=function(e){return e.getAttribute("href")},t.prototype.getEventKey=function(e){var t=e.key;if(null==t){if(null==(t=e.keyIdentifier))return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&Ra.hasOwnProperty(t)&&(t=Ra[t]))}return Va[t]||t},t.prototype.getGlobalEventTarget=function(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null},t.prototype.getHistory=function(){return window.history},t.prototype.getLocation=function(){return window.location},t.prototype.getBaseHref=function(e){var t,n=La||(La=document.querySelector("base"))?La.getAttribute("href"):null;return null==n?null:(t=n,Fa||(Fa=document.createElement("a")),Fa.setAttribute("href",t),"/"===Fa.pathname.charAt(0)?Fa.pathname:"/"+Fa.pathname)},t.prototype.resetBaseElement=function(){La=null},t.prototype.getUserAgent=function(){return window.navigator.userAgent},t.prototype.setData=function(e,t,n){this.setAttribute(e,"data-"+t,n)},t.prototype.getData=function(e,t){return this.getAttribute(e,"data-"+t)},t.prototype.getComputedStyle=function(e){return getComputedStyle(e)},t.prototype.supportsWebAnimation=function(){return"function"==typeof Element.prototype.animate},t.prototype.performanceNow=function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()},t.prototype.supportsCookies=function(){return!0},t.prototype.getCookie=function(e){return va(document.cookie,e)},t.prototype.setCookie=function(e,t){document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)},t}(function(e){function t(){var t=e.call(this)||this;t._animationPrefix=null,t._transitionEnd=null;try{var n=t.createElement("div",document);if(null!=t.getStyle(n,"animationName"))t._animationPrefix="";else for(var r=["Webkit","Moz","O","ms"],o=0;o<r.length;o++)if(null!=t.getStyle(n,r[o]+"AnimationName")){t._animationPrefix="-"+r[o].toLowerCase()+"-";break}var i={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(i).forEach(function(e){null!=t.getStyle(n,e)&&(t._transitionEnd=i[e])})}catch(s){t._animationPrefix=null,t._transitionEnd=null}return t}return o(t,e),t.prototype.getDistributedNodes=function(e){return e.getDistributedNodes()},t.prototype.resolveAndSetHref=function(e,t,n){e.href=null==n?t:t+"/../"+n},t.prototype.supportsDOMEvents=function(){return!0},t.prototype.supportsNativeShadowDOM=function(){return"function"==typeof document.body.createShadowRoot},t.prototype.getAnimationPrefix=function(){return this._animationPrefix?this._animationPrefix:""},t.prototype.getTransitionEnd=function(){return this._transitionEnd?this._transitionEnd:""},t.prototype.supportsAnimation=function(){return null!=this._animationPrefix&&null!=this._transitionEnd},t}(function(){function e(){this.resourceLoaderType=null}return Object.defineProperty(e.prototype,"attrToPropMap",{get:function(){return this._attrToPropMap},set:function(e){this._attrToPropMap=e},enumerable:!0,configurable:!0}),e}())),La=null,Ha=xa;function Ba(){return!!window.history.pushState}var za=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n._init(),n}var n;return o(t,e),t.prototype._init=function(){this.location=Ia().getLocation(),this._history=Ia().getHistory()},t.prototype.getBaseHrefFromDOM=function(){return Ia().getBaseHref(this._doc)},t.prototype.onPopState=function(e){Ia().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)},t.prototype.onHashChange=function(e){Ia().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)},Object.defineProperty(t.prototype,"pathname",{get:function(){return this.location.pathname},set:function(e){this.location.pathname=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"search",{get:function(){return this.location.search},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hash",{get:function(){return this.location.hash},enumerable:!0,configurable:!0}),t.prototype.pushState=function(e,t,n){Ba()?this._history.pushState(e,t,n):this.location.hash=n},t.prototype.replaceState=function(e,t,n){Ba()?this._history.replaceState(e,t,n):this.location.hash=n},t.prototype.forward=function(){this._history.forward()},t.prototype.back=function(){this._history.back()},s([(n=ke(Ha),function(e,t){n(e,t,0)}),a("design:paramtypes",[Object])],t)}(Ms),Ua=new fe("TRANSITION_ID"),qa=[{provide:lt,useFactory:function(e,t,n){return function(){n.get(ct).donePromise.then(function(){var n=Ia();Array.prototype.slice.apply(n.querySelectorAll(t,"style[ng-transition]")).filter(function(t){return n.getAttribute(t,"ng-transition")===e}).forEach(function(e){return n.remove(e)})})}},deps:[Ua,Ha,Me],multi:!0}],Qa=function(){function e(){}return e.init=function(){var t;t=new e,Wt=t},e.prototype.addToWindow=function(e){ve.getAngularTestability=function(t,n){void 0===n&&(n=!0);var r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},ve.getAllAngularTestabilities=function(){return e.getAllTestabilities()},ve.getAllAngularRootElements=function(){return e.getAllRootElements()},ve.frameworkStabilizers||(ve.frameworkStabilizers=[]),ve.frameworkStabilizers.push(function(e){var t=ve.getAllAngularTestabilities(),n=t.length,r=!1,o=function(t){r=r||t,0==--n&&e(r)};t.forEach(function(e){e.whenStable(o)})})},e.prototype.findTestabilityInTree=function(e,t,n){if(null==t)return null;var r=e.getTestability(t);return null!=r?r:n?Ia().isShadowRoot(t)?this.findTestabilityInTree(e,Ia().getHost(t),!0):this.findTestabilityInTree(e,Ia().parentElement(t),!0):null},e}();function Ga(e,t){"undefined"!=typeof COMPILED&&COMPILED||((ve.ng=ve.ng||{})[e]=t)}var Ka={ApplicationRef:sn,NgZone:Lt};function Za(e){return wn(e)}var Wa=new fe("EventManagerPlugins"),$a=function(){function e(e,t){var n=this;this._zone=t,this._eventNameToPlugin=new Map,e.forEach(function(e){return e.manager=n}),this._plugins=e.slice().reverse()}return e.prototype.addEventListener=function(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)},e.prototype.addGlobalEventListener=function(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)},e.prototype.getZone=function(){return this._zone},e.prototype._findPluginFor=function(e){var t=this._eventNameToPlugin.get(e);if(t)return t;for(var n=this._plugins,r=0;r<n.length;r++){var o=n[r];if(o.supports(e))return this._eventNameToPlugin.set(e,o),o}throw new Error("No event manager plugin found for event "+e)},e}(),Ya=function(){function e(e){this._doc=e}return e.prototype.addGlobalEventListener=function(e,t,n){var r=Ia().getGlobalEventTarget(this._doc,e);if(!r)throw new Error("Unsupported event target "+r+" for event "+t);return this.addEventListener(r,t,n)},e}(),Ja=function(){function e(){this._stylesSet=new Set}return e.prototype.addStyles=function(e){var t=this,n=new Set;e.forEach(function(e){t._stylesSet.has(e)||(t._stylesSet.add(e),n.add(e))}),this.onStylesAdded(n)},e.prototype.onStylesAdded=function(e){},e.prototype.getAllStyles=function(){return Array.from(this._stylesSet)},e}(),Xa=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n._hostNodes=new Set,n._styleNodes=new Set,n._hostNodes.add(t.head),n}return o(t,e),t.prototype._addStylesToHost=function(e,t){var n=this;e.forEach(function(e){var r=n._doc.createElement("style");r.textContent=e,n._styleNodes.add(t.appendChild(r))})},t.prototype.addHost=function(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)},t.prototype.removeHost=function(e){this._hostNodes.delete(e)},t.prototype.onStylesAdded=function(e){var t=this;this._hostNodes.forEach(function(n){return t._addStylesToHost(e,n)})},t.prototype.ngOnDestroy=function(){this._styleNodes.forEach(function(e){return Ia().remove(e)})},t}(Ja),eu={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/"},tu=/%COMP%/g,nu="_nghost-%COMP%",ru="_ngcontent-%COMP%";function ou(e,t,n){for(var r=0;r<t.length;r++){var o=t[r];Array.isArray(o)?ou(e,o,n):(o=o.replace(tu,e),n.push(o))}return n}function iu(e){return function(t){!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}var su=function(){function e(e,t){this.eventManager=e,this.sharedStylesHost=t,this.rendererByCompId=new Map,this.defaultRenderer=new au(e)}return e.prototype.createRenderer=function(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case Je.Emulated:var n=this.rendererByCompId.get(t.id);return n||(n=new pu(this.eventManager,this.sharedStylesHost,t),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n;case Je.Native:case Je.ShadowDom:return new fu(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){var r=ou(t.id,t.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}},e.prototype.begin=function(){},e.prototype.end=function(){},e}(),au=function(){function e(e){this.eventManager=e,this.data=Object.create(null)}return e.prototype.destroy=function(){},e.prototype.createElement=function(e,t){return t?document.createElementNS(eu[t],e):document.createElement(e)},e.prototype.createComment=function(e){return document.createComment(e)},e.prototype.createText=function(e){return document.createTextNode(e)},e.prototype.appendChild=function(e,t){e.appendChild(t)},e.prototype.insertBefore=function(e,t,n){e&&e.insertBefore(t,n)},e.prototype.removeChild=function(e,t){e&&e.removeChild(t)},e.prototype.selectRootElement=function(e){var t="string"==typeof e?document.querySelector(e):e;if(!t)throw new Error('The selector "'+e+'" did not match any elements');return t.textContent="",t},e.prototype.parentNode=function(e){return e.parentNode},e.prototype.nextSibling=function(e){return e.nextSibling},e.prototype.setAttribute=function(e,t,n,r){if(r){t=r+":"+t;var o=eu[r];o?e.setAttributeNS(o,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)},e.prototype.removeAttribute=function(e,t,n){if(n){var r=eu[n];r?e.removeAttributeNS(r,t):e.removeAttribute(n+":"+t)}else e.removeAttribute(t)},e.prototype.addClass=function(e,t){e.classList.add(t)},e.prototype.removeClass=function(e,t){e.classList.remove(t)},e.prototype.setStyle=function(e,t,n,r){r&cn.DashCase?e.style.setProperty(t,n,r&cn.Important?"important":""):e.style[t]=n},e.prototype.removeStyle=function(e,t,n){n&cn.DashCase?e.style.removeProperty(t):e.style[t]=""},e.prototype.setProperty=function(e,t,n){lu(t,"property"),e[t]=n},e.prototype.setValue=function(e,t){e.nodeValue=t},e.prototype.listen=function(e,t,n){return lu(t,"listener"),"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,iu(n)):this.eventManager.addEventListener(e,t,iu(n))},e}(),uu="@".charCodeAt(0);function lu(e,t){if(e.charCodeAt(0)===uu)throw new Error("Found the synthetic "+t+" "+e+'. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.')}var cu,pu=function(e){function t(t,n,r){var o=e.call(this,t)||this;o.component=r;var i=ou(r.id,r.styles,[]);return n.addStyles(i),o.contentAttr=ru.replace(tu,r.id),o.hostAttr=nu.replace(tu,r.id),o}return o(t,e),t.prototype.applyToHost=function(t){e.prototype.setAttribute.call(this,t,this.hostAttr,"")},t.prototype.createElement=function(t,n){var r=e.prototype.createElement.call(this,t,n);return e.prototype.setAttribute.call(this,r,this.contentAttr,""),r},t}(au),fu=function(e){function t(t,n,r,o){var i=e.call(this,t)||this;i.sharedStylesHost=n,i.hostEl=r,i.component=o,i.shadowRoot=o.encapsulation===Je.ShadowDom?r.attachShadow({mode:"open"}):r.createShadowRoot(),i.sharedStylesHost.addHost(i.shadowRoot);for(var s=ou(o.id,o.styles,[]),a=0;a<s.length;a++){var u=document.createElement("style");u.textContent=s[a],i.shadowRoot.appendChild(u)}return i}return o(t,e),t.prototype.nodeOrShadowRoot=function(e){return e===this.hostEl?this.shadowRoot:e},t.prototype.destroy=function(){this.sharedStylesHost.removeHost(this.shadowRoot)},t.prototype.appendChild=function(t,n){return e.prototype.appendChild.call(this,this.nodeOrShadowRoot(t),n)},t.prototype.insertBefore=function(t,n,r){return e.prototype.insertBefore.call(this,this.nodeOrShadowRoot(t),n,r)},t.prototype.removeChild=function(t,n){return e.prototype.removeChild.call(this,this.nodeOrShadowRoot(t),n)},t.prototype.parentNode=function(t){return this.nodeOrShadowRoot(e.prototype.parentNode.call(this,this.nodeOrShadowRoot(t)))},t}(au),hu="undefined"!=typeof Zone&&Zone.__symbol__||function(e){return"__zone_symbol__"+e},du=hu("addEventListener"),yu=hu("removeEventListener"),mu={},vu="__zone_symbol__propagationStopped";"undefined"!=typeof Zone&&Zone[hu("BLACK_LISTED_EVENTS")]&&(cu={});var gu=function(e){return!!cu&&cu.hasOwnProperty(e)},_u=function(e){var t=mu[e.type];if(t){var n=this[t];if(n){var r=[e];if(1===n.length)return(s=n[0]).zone!==Zone.current?s.zone.run(s.handler,this,r):s.handler.apply(this,r);for(var o=n.slice(),i=0;i<o.length&&!0!==e[vu];i++){var s;(s=o[i]).zone!==Zone.current?s.zone.run(s.handler,this,r):s.handler.apply(this,r)}}}},bu=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.ngZone=n,r&&function(e){return e===Pa}(r)||o.patchEvent(),o}return o(t,e),t.prototype.patchEvent=function(){if("undefined"!=typeof Event&&Event&&Event.prototype&&!Event.prototype.__zone_symbol__stopImmediatePropagation){var e=Event.prototype.__zone_symbol__stopImmediatePropagation=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[vu]=!0),e&&e.apply(this,arguments)}}},t.prototype.supports=function(e){return!0},t.prototype.addEventListener=function(e,t,n){var r=this,o=n;if(!e[du]||Lt.isInAngularZone()&&!gu(t))e.addEventListener(t,o,!1);else{var i=mu[t];i||(i=mu[t]=hu("ANGULAR"+t+"FALSE"));var s=e[i],a=s&&s.length>0;s||(s=e[i]=[]);var u=gu(t)?Zone.root:Zone.current;if(0===s.length)s.push({zone:u,handler:o});else{for(var l=!1,c=0;c<s.length;c++)if(s[c].handler===o){l=!0;break}l||s.push({zone:u,handler:o})}a||e[du](t,_u,!1)}return function(){return r.removeEventListener(e,t,o)}},t.prototype.removeEventListener=function(e,t,n){var r=e[yu];if(!r)return e.removeEventListener.apply(e,[t,n,!1]);var o=mu[t],i=o&&e[o];if(!i)return e.removeEventListener.apply(e,[t,n,!1]);for(var s=!1,a=0;a<i.length;a++)if(i[a].handler===n){s=!0,i.splice(a,1);break}s?0===i.length&&r.apply(e,[t,_u,!1]):e.removeEventListener.apply(e,[t,n,!1])},t}(Ya),wu={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},Eu=new fe("HammerGestureConfig"),Cu=new fe("HammerLoader"),Su=function(){function e(){this.events=[],this.overrides={}}return e.prototype.buildHammer=function(e){var t=new Hammer(e,this.options);for(var n in t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0}),this.overrides)t.get(n).set(this.overrides[n]);return t},e}(),Tu=function(e){function t(t,n,r,o){var i=e.call(this,t)||this;return i._config=n,i.console=r,i.loader=o,i}return o(t,e),t.prototype.supports=function(e){return!(!wu.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e)||!window.Hammer&&!this.loader&&(this.console.warn('The "'+e+'" event cannot be bound because Hammer.JS is not loaded and no custom loader has been specified.'),1))},t.prototype.addEventListener=function(e,t,n){var r=this,o=this.manager.getZone();if(t=t.toLowerCase(),!window.Hammer&&this.loader){var i=!1,s=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(s=function(){});i||(s=r.addEventListener(e,t,n))}).catch(function(){r.console.warn('The "'+t+'" event cannot be bound because the custom Hammer.JS loader failed.'),s=function(){}}),function(){s()}}return o.runOutsideAngular(function(){var i=r._config.buildHammer(e),s=function(e){o.runGuarded(function(){n(e)})};return i.on(t,s),function(){i.off(t,s),"function"==typeof i.destroy&&i.destroy()}})},t.prototype.isCustomEvent=function(e){return this._config.events.indexOf(e)>-1},t}(Ya),ku=["alt","control","meta","shift"],xu={alt:function(e){return e.altKey},control:function(e){return e.ctrlKey},meta:function(e){return e.metaKey},shift:function(e){return e.shiftKey}},Pu=function(e){function t(t){return e.call(this,t)||this}var n;return o(t,e),n=t,t.prototype.supports=function(e){return null!=n.parseEventName(e)},t.prototype.addEventListener=function(e,t,r){var o=n.parseEventName(t),i=n.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return Ia().onAndCancel(e,o.domEventName,i)})},t.parseEventName=function(e){var t=e.toLowerCase().split("."),r=t.shift();if(0===t.length||"keydown"!==r&&"keyup"!==r)return null;var o=n._normalizeKey(t.pop()),i="";if(ku.forEach(function(e){var n=t.indexOf(e);n>-1&&(t.splice(n,1),i+=e+".")}),i+=o,0!=t.length||0===o.length)return null;var s={};return s.domEventName=r,s.fullKey=i,s},t.getEventFullKey=function(e){var t="",n=Ia().getEventKey(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),ku.forEach(function(r){r!=n&&(0,xu[r])(e)&&(t+=r+".")}),t+=n},t.eventCallback=function(e,t,r){return function(o){n.getEventFullKey(o)===e&&r.runGuarded(function(){return t(o)})}},t._normalizeKey=function(e){switch(e){case"esc":return"escape";default:return e}},t}(Ya),Ou=function(){return function(){}}(),Au=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n}return o(t,e),t.prototype.sanitize=function(e,t){if(null==t)return null;switch(e){case vr.NONE:return t;case vr.HTML:return t instanceof Iu?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"HTML"),function(e,t){var n=null;try{tr=tr||new Wn(e);var r=t?String(t):"";n=tr.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=tr.getInertBodyElement(r)}while(r!==i);var s=new cr,a=s.sanitizeChildren(dr(n)||n);return Xt()&&s.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss)."),a}finally{if(n)for(var u=dr(n)||n;u.firstChild;)u.removeChild(u.firstChild)}}(this._doc,String(t)));case vr.STYLE:return t instanceof Du?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"Style"),function(e){if(!(e=String(e).trim()))return"";var t=e.match(mr);return t&&Jn(t[1])===t[1]||e.match(yr)&&function(e){for(var t=!0,n=!0,r=0;r<e.length;r++){var o=e.charAt(r);"'"===o&&n?t=!t:'"'===o&&t&&(n=!n)}return t&&n}(e)?e:(Xt()&&console.warn("WARNING: sanitizing unsafe style value "+e+" (see http://g.co/ng/security#xss)."),"unsafe")}(t));case vr.SCRIPT:if(t instanceof Mu)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"Script"),new Error("unsafe value used in a script context");case vr.URL:return t instanceof Ru||t instanceof Vu?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"URL"),Jn(String(t)));case vr.RESOURCE_URL:if(t instanceof Ru)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+e+" (see http://g.co/ng/security#xss)")}},t.prototype.checkNotSafeValue=function(e,t){if(e instanceof Nu)throw new Error("Required a safe "+t+", got a "+e.getTypeName()+" (see http://g.co/ng/security#xss)")},t.prototype.bypassSecurityTrustHtml=function(e){return new Iu(e)},t.prototype.bypassSecurityTrustStyle=function(e){return new Du(e)},t.prototype.bypassSecurityTrustScript=function(e){return new Mu(e)},t.prototype.bypassSecurityTrustUrl=function(e){return new Vu(e)},t.prototype.bypassSecurityTrustResourceUrl=function(e){return new Ru(e)},t}(Ou),Nu=function(){function e(e){this.changingThisBreaksApplicationSecurity=e}return e.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},e}(),Iu=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTypeName=function(){return"HTML"},t}(Nu),Du=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTypeName=function(){return"Style"},t}(Nu),Mu=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTypeName=function(){return"Script"},t}(Nu),Vu=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTypeName=function(){return"URL"},t}(Nu),Ru=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTypeName=function(){return"ResourceURL"},t}(Nu),Fu=tn(Un,"browser",[{provide:yt,useValue:"browser"},{provide:dt,useValue:function(){ja.makeCurrent(),Qa.init()},multi:!0},{provide:Ms,useClass:za,deps:[Ha]},{provide:Ha,useFactory:function(){return document},deps:[]}]);function ju(){return new st}var Lu=function(){function e(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}var t;return t=e,e.withServerTransition=function(e){return{ngModule:t,providers:[{provide:pt,useValue:e.appId},{provide:Ua,useExisting:pt},qa]}},e}();"undefined"!=typeof window&&window;var Hu=function(){function e(){}return Object.defineProperty(e.prototype,"value",{get:function(){return this.control?this.control.value:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valid",{get:function(){return this.control?this.control.valid:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"invalid",{get:function(){return this.control?this.control.invalid:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pending",{get:function(){return this.control?this.control.pending:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this.control?this.control.disabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"enabled",{get:function(){return this.control?this.control.enabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"errors",{get:function(){return this.control?this.control.errors:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pristine",{get:function(){return this.control?this.control.pristine:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dirty",{get:function(){return this.control?this.control.dirty:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"touched",{get:function(){return this.control?this.control.touched:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"status",{get:function(){return this.control?this.control.status:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"untouched",{get:function(){return this.control?this.control.untouched:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"statusChanges",{get:function(){return this.control?this.control.statusChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valueChanges",{get:function(){return this.control?this.control.valueChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),e.prototype.reset=function(e){void 0===e&&(e=void 0),this.control&&this.control.reset(e)},e.prototype.hasError=function(e,t){return!!this.control&&this.control.hasError(e,t)},e.prototype.getError=function(e,t){return this.control?this.control.getError(e,t):null},e}(),Bu=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),Object.defineProperty(t.prototype,"formDirective",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),t}(Hu);function zu(e){return null==e||0===e.length}var Uu=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,qu=function(){function e(){}return e.min=function(e){return function(t){if(zu(t.value)||zu(e))return null;var n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}},e.max=function(e){return function(t){if(zu(t.value)||zu(e))return null;var n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}},e.required=function(e){return zu(e.value)?{required:!0}:null},e.requiredTrue=function(e){return!0===e.value?null:{required:!0}},e.email=function(e){return zu(e.value)?null:Uu.test(e.value)?null:{email:!0}},e.minLength=function(e){return function(t){if(zu(t.value))return null;var n=t.value?t.value.length:0;return n<e?{minlength:{requiredLength:e,actualLength:n}}:null}},e.maxLength=function(e){return function(t){var n=t.value?t.value.length:0;return n>e?{maxlength:{requiredLength:e,actualLength:n}}:null}},e.pattern=function(t){return t?("string"==typeof t?(r="","^"!==t.charAt(0)&&(r+="^"),r+=t,"$"!==t.charAt(t.length-1)&&(r+="$"),n=new RegExp(r)):(r=t.toString(),n=t),function(e){if(zu(e.value))return null;var t=e.value;return n.test(t)?null:{pattern:{requiredPattern:r,actualValue:t}}}):e.nullValidator;var n,r},e.nullValidator=function(e){return null},e.compose=function(e){if(!e)return null;var t=e.filter(Qu);return 0==t.length?null:function(e){return Ku(function(e,n){return t.map(function(t){return t(e)})}(e))}},e.composeAsync=function(e){if(!e)return null;var t=e.filter(Qu);return 0==t.length?null:function(e){return function e(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return"function"==typeof n[n.length-1]&&(t=n.pop()),1===n.length&&p(n[0])&&(n=n[0]),0===n.length?Oa:t?e(n).pipe(W(function(e){return t.apply(void 0,e)})):new O(function(e){return new Aa(e,n)})}(function(e,n){return t.map(function(t){return t(e)})}(e).map(Gu)).pipe(W(Ku))}},e}();function Qu(e){return null!=e}function Gu(e){var t,n=ut(e)?X(e):e;if(!(t=n)||"function"!=typeof t.subscribe)throw new Error("Expected validator to return Promise or Observable.");return n}function Ku(e){var t=e.reduce(function(e,t){return null!=t?i({},e,t):e},{});return 0===Object.keys(t).length?null:t}var Zu=new fe("NgValueAccessor"),Wu=function(){function e(e,t){this._renderer=e,this._elementRef=t,this.onChange=function(e){},this.onTouched=function(){}}return e.prototype.writeValue=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"checked",e)},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e}(),$u=new fe("CompositionEventMode"),Yu=function(){function e(e,t,n){var r;this._renderer=e,this._elementRef=t,this._compositionMode=n,this.onChange=function(e){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=(r=Ia()?Ia().getUserAgent():"",!/android (\d+)/.test(r.toLowerCase())))}return e.prototype.writeValue=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._handleInput=function(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)},e.prototype._compositionStart=function(){this._composing=!0},e.prototype._compositionEnd=function(e){this._composing=!1,this._compositionMode&&this.onChange(e)},e}();function Ju(e){return e.validate?function(t){return e.validate(t)}:e}function Xu(e){return e.validate?function(t){return e.validate(t)}:e}var el=function(){function e(e,t){this._renderer=e,this._elementRef=t,this.onChange=function(e){},this.onTouched=function(){}}return e.prototype.writeValue=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)},e.prototype.registerOnChange=function(e){this.onChange=function(t){e(""==t?null:parseFloat(t))}},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e}();function tl(){throw new Error("unimplemented")}var nl=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._parent=null,t.name=null,t.valueAccessor=null,t._rawValidators=[],t._rawAsyncValidators=[],t}return o(t,e),Object.defineProperty(t.prototype,"validator",{get:function(){return tl()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return tl()},enumerable:!0,configurable:!0}),t}(Hu),rl=function(){function e(){this._accessors=[]}return e.prototype.add=function(e,t){this._accessors.push([e,t])},e.prototype.remove=function(e){for(var t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)},e.prototype.select=function(e){var t=this;this._accessors.forEach(function(n){t._isSameGroup(n,e)&&n[1]!==e&&n[1].fireUncheck(e.value)})},e.prototype._isSameGroup=function(e,t){return!!e[0].control&&e[0]._parent===t._control._parent&&e[1].name===t.name},e}(),ol=function(){function e(e,t,n,r){this._renderer=e,this._elementRef=t,this._registry=n,this._injector=r,this.onChange=function(){},this.onTouched=function(){}}return e.prototype.ngOnInit=function(){this._control=this._injector.get(nl),this._checkName(),this._registry.add(this._control,this)},e.prototype.ngOnDestroy=function(){this._registry.remove(this)},e.prototype.writeValue=function(e){this._state=e===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)},e.prototype.registerOnChange=function(e){var t=this;this._fn=e,this.onChange=function(){e(t.value),t._registry.select(t)}},e.prototype.fireUncheck=function(e){this.writeValue(e)},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._checkName=function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)},e.prototype._throwNameError=function(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: <input type="radio" formControlName="food" name="food">\n ')},e}(),il='\n <div [formGroup]="myGroup">\n <div formGroupName="person">\n <input formControlName="firstName">\n </div>\n </div>\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',sl='\n <form>\n <div ngModelGroup="person">\n <input [(ngModel)]="person.name" name="firstName">\n </div>\n </form>';function al(e,t){return c(t.path,[e])}function ul(e,t){e||cl(t,"Cannot find control with"),t.valueAccessor||cl(t,"No value accessor for form control with"),e.validator=qu.compose([e.validator,t.validator]),e.asyncValidator=qu.composeAsync([e.asyncValidator,t.asyncValidator]),t.valueAccessor.writeValue(e.value),function(e,t){t.valueAccessor.registerOnChange(function(n){e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&ll(e,t)})}(e,t),function(e,t){e.registerOnChange(function(e,n){t.valueAccessor.writeValue(e),n&&t.viewToModelUpdate(e)})}(e,t),function(e,t){t.valueAccessor.registerOnTouched(function(){e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&ll(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),t.valueAccessor.setDisabledState&&e.registerOnDisabledChange(function(e){t.valueAccessor.setDisabledState(e)}),t._rawValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(function(){return e.updateValueAndValidity()})}),t._rawAsyncValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(function(){return e.updateValueAndValidity()})})}function ll(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function cl(e,t){var n;throw n=e.path.length>1?"path: '"+e.path.join(" -> ")+"'":e.path[0]?"name: '"+e.path+"'":"unspecified name attribute",new Error(t+" "+n)}function pl(e){return null!=e?qu.compose(e.map(Ju)):null}function fl(e){return null!=e?qu.composeAsync(e.map(Xu)):null}var hl=[Wu,function(){function e(e,t){this._renderer=e,this._elementRef=t,this.onChange=function(e){},this.onTouched=function(){}}return e.prototype.writeValue=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(e))},e.prototype.registerOnChange=function(e){this.onChange=function(t){e(""==t?null:parseFloat(t))}},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e}(),el,function(){function e(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=function(e){},this.onTouched=function(){},this._compareWith=Ee}return Object.defineProperty(e.prototype,"compareWith",{set:function(e){if("function"!=typeof e)throw new Error("compareWith must be a function, but received "+JSON.stringify(e));this._compareWith=e},enumerable:!0,configurable:!0}),e.prototype.writeValue=function(e){this.value=e;var t=this._getOptionId(e);null==t&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=function(e,t){return null==e?""+t:(t&&"object"==typeof t&&(t="Object"),(e+": "+t).slice(0,50))}(t,e);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)},e.prototype.registerOnChange=function(e){var t=this;this.onChange=function(n){t.value=t._getOptionValue(n),e(t.value)}},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._registerOption=function(){return(this._idCounter++).toString()},e.prototype._getOptionId=function(e){var t,n;try{for(var r=u(Array.from(this._optionMap.keys())),o=r.next();!o.done;o=r.next()){var i=o.value;if(this._compareWith(this._optionMap.get(i),e))return i}}catch(s){t={error:s}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return null},e.prototype._getOptionValue=function(e){var t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e},e}(),function(){function e(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=function(e){},this.onTouched=function(){},this._compareWith=Ee}return Object.defineProperty(e.prototype,"compareWith",{set:function(e){if("function"!=typeof e)throw new Error("compareWith must be a function, but received "+JSON.stringify(e));this._compareWith=e},enumerable:!0,configurable:!0}),e.prototype.writeValue=function(e){var t,n=this;if(this.value=e,Array.isArray(e)){var r=e.map(function(e){return n._getOptionId(e)});t=function(e,t){e._setSelected(r.indexOf(t.toString())>-1)}}else t=function(e,t){e._setSelected(!1)};this._optionMap.forEach(t)},e.prototype.registerOnChange=function(e){var t=this;this.onChange=function(n){var r=[];if(n.hasOwnProperty("selectedOptions"))for(var o=n.selectedOptions,i=0;i<o.length;i++){var s=o.item(i),a=t._getOptionValue(s.value);r.push(a)}else for(o=n.options,i=0;i<o.length;i++)(s=o.item(i)).selected&&(a=t._getOptionValue(s.value),r.push(a));t.value=r,e(r)}},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._registerOption=function(e){var t=(this._idCounter++).toString();return this._optionMap.set(t,e),t},e.prototype._getOptionId=function(e){var t,n;try{for(var r=u(Array.from(this._optionMap.keys())),o=r.next();!o.done;o=r.next()){var i=o.value;if(this._compareWith(this._optionMap.get(i)._value,e))return i}}catch(s){t={error:s}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return null},e.prototype._getOptionValue=function(e){var t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t)._value:e},e}(),ol],dl=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormGroup(this)},t.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormGroup(this)},Object.defineProperty(t.prototype,"control",{get:function(){return this.formDirective.getFormGroup(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return al(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return pl(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return fl(this._asyncValidators)},enumerable:!0,configurable:!0}),t.prototype._checkParentType=function(){},t}(Bu),yl=function(e){function t(t){return e.call(this,t)||this}return o(t,e),t}(function(){function e(e){this._cd=e}return Object.defineProperty(e.prototype,"ngClassUntouched",{get:function(){return!!this._cd.control&&this._cd.control.untouched},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassTouched",{get:function(){return!!this._cd.control&&this._cd.control.touched},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassPristine",{get:function(){return!!this._cd.control&&this._cd.control.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassDirty",{get:function(){return!!this._cd.control&&this._cd.control.dirty},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassValid",{get:function(){return!!this._cd.control&&this._cd.control.valid},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassInvalid",{get:function(){return!!this._cd.control&&this._cd.control.invalid},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassPending",{get:function(){return!!this._cd.control&&this._cd.control.pending},enumerable:!0,configurable:!0}),e}());function ml(e){var t=gl(e)?e.validators:e;return Array.isArray(t)?pl(t):t||null}function vl(e,t){var n=gl(t)?t.asyncValidators:e;return Array.isArray(n)?fl(n):n||null}function gl(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}var _l=function(){function e(e,t){this.validator=e,this.asyncValidator=t,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}return Object.defineProperty(e.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valid",{get:function(){return"VALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"invalid",{get:function(){return"INVALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pending",{get:function(){return"PENDING"==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return"DISABLED"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"enabled",{get:function(){return"DISABLED"!==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dirty",{get:function(){return!this.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"untouched",{get:function(){return!this.touched},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"updateOn",{get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"},enumerable:!0,configurable:!0}),e.prototype.setValidators=function(e){this.validator=ml(e)},e.prototype.setAsyncValidators=function(e){this.asyncValidator=vl(e)},e.prototype.clearValidators=function(){this.validator=null},e.prototype.clearAsyncValidators=function(){this.asyncValidator=null},e.prototype.markAsTouched=function(e){void 0===e&&(e={}),this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)},e.prototype.markAsUntouched=function(e){void 0===e&&(e={}),this.touched=!1,this._pendingTouched=!1,this._forEachChild(function(e){e.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)},e.prototype.markAsDirty=function(e){void 0===e&&(e={}),this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)},e.prototype.markAsPristine=function(e){void 0===e&&(e={}),this.pristine=!0,this._pendingDirty=!1,this._forEachChild(function(e){e.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)},e.prototype.markAsPending=function(e){void 0===e&&(e={}),this.status="PENDING",!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)},e.prototype.disable=function(e){void 0===e&&(e={}),this.status="DISABLED",this.errors=null,this._forEachChild(function(t){t.disable(i({},e,{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(e),this._onDisabledChange.forEach(function(e){return e(!0)})},e.prototype.enable=function(e){void 0===e&&(e={}),this.status="VALID",this._forEachChild(function(t){t.enable(i({},e,{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(e),this._onDisabledChange.forEach(function(e){return e(!1)})},e.prototype._updateAncestors=function(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),this._parent._updatePristine(),this._parent._updateTouched())},e.prototype.setParent=function(e){this._parent=e},e.prototype.updateValueAndValidity=function(e){void 0===e&&(e={}),this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)},e.prototype._updateTreeValidity=function(e){void 0===e&&(e={emitEvent:!0}),this._forEachChild(function(t){return t._updateTreeValidity(e)}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})},e.prototype._setInitialStatus=function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"},e.prototype._runValidator=function(){return this.validator?this.validator(this):null},e.prototype._runAsyncValidator=function(e){var t=this;if(this.asyncValidator){this.status="PENDING";var n=Gu(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(function(n){return t.setErrors(n,{emitEvent:e})})}},e.prototype._cancelExistingSubscription=function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()},e.prototype.setErrors=function(e,t){void 0===t&&(t={}),this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)},e.prototype.get=function(e){return function(e,t,n){return null==t?null:(t instanceof Array||(t=t.split(".")),t instanceof Array&&0===t.length?null:t.reduce(function(e,t){return e instanceof wl?e.controls.hasOwnProperty(t)?e.controls[t]:null:e instanceof El&&e.at(t)||null},e))}(this,e)},e.prototype.getError=function(e,t){var n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null},e.prototype.hasError=function(e,t){return!!this.getError(e,t)},Object.defineProperty(e.prototype,"root",{get:function(){for(var e=this;e._parent;)e=e._parent;return e},enumerable:!0,configurable:!0}),e.prototype._updateControlsErrors=function(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)},e.prototype._initObservables=function(){this.valueChanges=new jt,this.statusChanges=new jt},e.prototype._calculateStatus=function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"},e.prototype._anyControlsHaveStatus=function(e){return this._anyControls(function(t){return t.status===e})},e.prototype._anyControlsDirty=function(){return this._anyControls(function(e){return e.dirty})},e.prototype._anyControlsTouched=function(){return this._anyControls(function(e){return e.touched})},e.prototype._updatePristine=function(e){void 0===e&&(e={}),this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)},e.prototype._updateTouched=function(e){void 0===e&&(e={}),this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)},e.prototype._isBoxedValue=function(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e},e.prototype._registerOnCollectionChange=function(e){this._onCollectionChange=e},e.prototype._setUpdateStrategy=function(e){gl(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)},e}(),bl=function(e){function t(t,n,r){void 0===t&&(t=null);var o=e.call(this,ml(n),vl(r,n))||this;return o._onChange=[],o._applyFormState(t),o._setUpdateStrategy(n),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o._initObservables(),o}return o(t,e),t.prototype.setValue=function(e,t){var n=this;void 0===t&&(t={}),this.value=this._pendingValue=e,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(function(e){return e(n.value,!1!==t.emitViewToModelChange)}),this.updateValueAndValidity(t)},t.prototype.patchValue=function(e,t){void 0===t&&(t={}),this.setValue(e,t)},t.prototype.reset=function(e,t){void 0===e&&(e=null),void 0===t&&(t={}),this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1},t.prototype._updateValue=function(){},t.prototype._anyControls=function(e){return!1},t.prototype._allControlsDisabled=function(){return this.disabled},t.prototype.registerOnChange=function(e){this._onChange.push(e)},t.prototype._clearChangeFns=function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}},t.prototype.registerOnDisabledChange=function(e){this._onDisabledChange.push(e)},t.prototype._forEachChild=function(e){},t.prototype._syncPendingControls=function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))},t.prototype._applyFormState=function(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e},t}(_l),wl=function(e){function t(t,n,r){var o=e.call(this,ml(n),vl(r,n))||this;return o.controls=t,o._initObservables(),o._setUpdateStrategy(n),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return o(t,e),t.prototype.registerControl=function(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)},t.prototype.addControl=function(e,t){this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.removeControl=function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),delete this.controls[e],this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.setControl=function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.contains=function(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled},t.prototype.setValue=function(e,t){var n=this;void 0===t&&(t={}),this._checkAllValuesPresent(e),Object.keys(e).forEach(function(r){n._throwIfControlMissing(r),n.controls[r].setValue(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)},t.prototype.patchValue=function(e,t){var n=this;void 0===t&&(t={}),Object.keys(e).forEach(function(r){n.controls[r]&&n.controls[r].patchValue(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)},t.prototype.reset=function(e,t){void 0===e&&(e={}),void 0===t&&(t={}),this._forEachChild(function(n,r){n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t),this._updatePristine(t),this._updateTouched(t)},t.prototype.getRawValue=function(){return this._reduceChildren({},function(e,t,n){return e[n]=t instanceof bl?t.value:t.getRawValue(),e})},t.prototype._syncPendingControls=function(){var e=this._reduceChildren(!1,function(e,t){return!!t._syncPendingControls()||e});return e&&this.updateValueAndValidity({onlySelf:!0}),e},t.prototype._throwIfControlMissing=function(e){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[e])throw new Error("Cannot find form control with name: "+e+".")},t.prototype._forEachChild=function(e){var t=this;Object.keys(this.controls).forEach(function(n){return e(t.controls[n],n)})},t.prototype._setUpControls=function(){var e=this;this._forEachChild(function(t){t.setParent(e),t._registerOnCollectionChange(e._onCollectionChange)})},t.prototype._updateValue=function(){this.value=this._reduceValue()},t.prototype._anyControls=function(e){var t=this,n=!1;return this._forEachChild(function(r,o){n=n||t.contains(o)&&e(r)}),n},t.prototype._reduceValue=function(){var e=this;return this._reduceChildren({},function(t,n,r){return(n.enabled||e.disabled)&&(t[r]=n.value),t})},t.prototype._reduceChildren=function(e,t){var n=e;return this._forEachChild(function(e,r){n=t(n,e,r)}),n},t.prototype._allControlsDisabled=function(){var e,t;try{for(var n=u(Object.keys(this.controls)),r=n.next();!r.done;r=n.next())if(this.controls[r.value].enabled)return!1}catch(o){e={error:o}}finally{try{r&&!r.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return Object.keys(this.controls).length>0||this.disabled},t.prototype._checkAllValuesPresent=function(e){this._forEachChild(function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control with name: '"+n+"'.")})},t}(_l),El=function(e){function t(t,n,r){var o=e.call(this,ml(n),vl(r,n))||this;return o.controls=t,o._initObservables(),o._setUpdateStrategy(n),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return o(t,e),t.prototype.at=function(e){return this.controls[e]},t.prototype.push=function(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.insert=function(e,t){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity()},t.prototype.removeAt=function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),this.controls.splice(e,1),this.updateValueAndValidity()},t.prototype.setControl=function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(t.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),t.prototype.setValue=function(e,t){var n=this;void 0===t&&(t={}),this._checkAllValuesPresent(e),e.forEach(function(e,r){n._throwIfControlMissing(r),n.at(r).setValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)},t.prototype.patchValue=function(e,t){var n=this;void 0===t&&(t={}),e.forEach(function(e,r){n.at(r)&&n.at(r).patchValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)},t.prototype.reset=function(e,t){void 0===e&&(e=[]),void 0===t&&(t={}),this._forEachChild(function(n,r){n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t),this._updatePristine(t),this._updateTouched(t)},t.prototype.getRawValue=function(){return this.controls.map(function(e){return e instanceof bl?e.value:e.getRawValue()})},t.prototype._syncPendingControls=function(){var e=this.controls.reduce(function(e,t){return!!t._syncPendingControls()||e},!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e},t.prototype._throwIfControlMissing=function(e){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(e))throw new Error("Cannot find form control at index "+e)},t.prototype._forEachChild=function(e){this.controls.forEach(function(t,n){e(t,n)})},t.prototype._updateValue=function(){var e=this;this.value=this.controls.filter(function(t){return t.enabled||e.disabled}).map(function(e){return e.value})},t.prototype._anyControls=function(e){return this.controls.some(function(t){return t.enabled&&e(t)})},t.prototype._setUpControls=function(){var e=this;this._forEachChild(function(t){return e._registerControl(t)})},t.prototype._checkAllValuesPresent=function(e){this._forEachChild(function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control at index: "+n+".")})},t.prototype._allControlsDisabled=function(){var e,t;try{for(var n=u(this.controls),r=n.next();!r.done;r=n.next())if(r.value.enabled)return!1}catch(o){e={error:o}}finally{try{r&&!r.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return this.controls.length>0||this.disabled},t.prototype._registerControl=function(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)},t}(_l),Cl=Promise.resolve(null),Sl=function(e){function t(t,n){var r=e.call(this)||this;return r.submitted=!1,r._directives=[],r.ngSubmit=new jt,r.form=new wl({},pl(t),fl(n)),r}return o(t,e),t.prototype.ngAfterViewInit=function(){this._setUpdateStrategy()},Object.defineProperty(t.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),t.prototype.addControl=function(e){var t=this;Cl.then(function(){var n=t._findContainer(e.path);e.control=n.registerControl(e.name,e.control),ul(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),t._directives.push(e)})},t.prototype.getControl=function(e){return this.form.get(e.path)},t.prototype.removeControl=function(e){var t=this;Cl.then(function(){var n,r,o=t._findContainer(e.path);o&&o.removeControl(e.name),(r=(n=t._directives).indexOf(e))>-1&&n.splice(r,1)})},t.prototype.addFormGroup=function(e){var t=this;Cl.then(function(){var n=t._findContainer(e.path),r=new wl({});(function(e,t){null==e&&cl(t,"Cannot find control with"),e.validator=qu.compose([e.validator,t.validator]),e.asyncValidator=qu.composeAsync([e.asyncValidator,t.asyncValidator])})(r,e),n.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})},t.prototype.removeFormGroup=function(e){var t=this;Cl.then(function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name)})},t.prototype.getFormGroup=function(e){return this.form.get(e.path)},t.prototype.updateModel=function(e,t){var n=this;Cl.then(function(){n.form.get(e.path).setValue(t)})},t.prototype.setValue=function(e){this.control.setValue(e)},t.prototype.onSubmit=function(e){return this.submitted=!0,t=this._directives,this.form._syncPendingControls(),t.forEach(function(e){var t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)}),this.ngSubmit.emit(e),!1;var t},t.prototype.onReset=function(){this.resetForm()},t.prototype.resetForm=function(e){void 0===e&&(e=void 0),this.form.reset(e),this.submitted=!1},t.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)},t.prototype._findContainer=function(e){return e.pop(),e.length?this.form.get(e):this.form},t}(Bu),Tl=function(){function e(){}return e.modelParentException=function(){throw new Error('\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup\'s partner directive "formControlName" instead. Example:\n\n \n <div [formGroup]="myGroup">\n <input formControlName="firstName">\n </div>\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });\n\n Or, if you\'d like to avoid registering this form control, indicate that it\'s standalone in ngModelOptions:\n\n Example:\n\n \n <div [formGroup]="myGroup">\n <input formControlName="firstName">\n <input [(ngModel)]="showMoreControls" [ngModelOptions]="{standalone: true}">\n </div>\n ')},e.formGroupNameException=function(){throw new Error("\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n "+il+"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n "+sl)},e.missingNameException=function(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: <input [(ngModel)]="person.firstName" name="first">\n Example 2: <input [(ngModel)]="person.firstName" [ngModelOptions]="{standalone: true}">')},e.modelGroupParentException=function(){throw new Error("\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n "+il+"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n "+sl)},e}(),kl=function(e){function t(t,n,r){var o=e.call(this)||this;return o._parent=t,o._validators=n,o._asyncValidators=r,o}var n;return o(t,e),n=t,t.prototype._checkParentType=function(){this._parent instanceof n||this._parent instanceof Sl||Tl.modelGroupParentException()},t}(dl),xl=Promise.resolve(null),Pl=function(e){function t(t,n,r,o){var i=e.call(this)||this;return i.control=new bl,i._registered=!1,i.update=new jt,i._parent=t,i._rawValidators=n||[],i._rawAsyncValidators=r||[],i.valueAccessor=function(e,t){if(!t)return null;Array.isArray(t)||cl(e,"Value accessor was not provided as an array for form control with");var n=void 0,r=void 0,o=void 0;return t.forEach(function(t){var i;t.constructor===Yu?n=t:(i=t,hl.some(function(e){return i.constructor===e})?(r&&cl(e,"More than one built-in value accessor matches form control with"),r=t):(o&&cl(e,"More than one custom value accessor matches form control with"),o=t))}),o||r||n||(cl(e,"No valid value accessor for form control with"),null)}(i,o),i}return o(t,e),t.prototype.ngOnChanges=function(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),function(e,t){if(!e.hasOwnProperty("model"))return!1;var n=e.model;return!!n.isFirstChange()||!Ee(t,n.currentValue)}(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)},t.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Object.defineProperty(t.prototype,"path",{get:function(){return this._parent?al(this.name,this._parent):[this.name]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return pl(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return fl(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),t.prototype.viewToModelUpdate=function(e){this.viewModel=e,this.update.emit(e)},t.prototype._setUpControl=function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0},t.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)},t.prototype._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)},t.prototype._setUpStandalone=function(){ul(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})},t.prototype._checkForErrors=function(){this._isStandalone()||this._checkParentType(),this._checkName()},t.prototype._checkParentType=function(){!(this._parent instanceof kl)&&this._parent instanceof dl?Tl.formGroupNameException():this._parent instanceof kl||this._parent instanceof Sl||Tl.modelParentException()},t.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||Tl.missingNameException()},t.prototype._updateValue=function(e){var t=this;xl.then(function(){t.control.setValue(e,{emitViewToModelChange:!1})})},t.prototype._updateDisabled=function(e){var t=this,n=e.isDisabled.currentValue,r=""===n||n&&"false"!==n;xl.then(function(){r&&!t.control.disabled?t.control.disable():!r&&t.control.disabled&&t.control.enable()})},t}(nl),Ol=function(){return function(){}}(),Al=function(){return function(){}}(),Nl=function(){function e(e){this.el=e}return e.prototype.ngAfterViewInit=function(){if(this._autofocus){var e=this.el.nativeElement;e.focus?e.focus():console.warn("AutofocusDirective: There is no .focus() method on the element:",this.el.nativeElement)}},Object.defineProperty(e.prototype,"autofocus",{set:function(e){this._autofocus=!1!==e&&null!=e&&0!==e&&"false"!==e&&"null"!==e&&"undefined"!==e&&"0"!==e},enumerable:!0,configurable:!0}),e}(),Il=function(){function e(){}return e.forRoot=function(){return{ngModule:e}},e}(),Dl=function(){function e(){}return e.prototype.ngOnInit=function(){},e}(),Ml=Vr({encapsulation:0,styles:[["h5[_ngcontent-%COMP%]{font-size:2em;margin-top:1em}.img-div[_ngcontent-%COMP%], h5[_ngcontent-%COMP%]{display:flex;justify-content:center}.img-div[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:10em}"]],data:{animation:[{type:7,name:"fade",definitions:[{type:1,expr:":enter",animation:[{type:6,styles:{opacity:0,transform:"translateX(-10px)"},offset:null},{type:4,styles:{type:6,styles:{opacity:0,transform:"translateY(0px)"},offset:null},timings:1e3}],options:null},{type:1,expr:":leave",animation:[{type:6,styles:{opacity:0,transform:"translateX(0px)"},offset:null},{type:4,styles:{type:6,styles:{opacity:1,transform:"translateX(-50px)"},offset:null},timings:1e3}],options:null}],options:{}}]}});function Vl(e){return Ci(0,[(e()(),uo(0,0,null,null,2,"div",[],[[24,"@fade",0]],null,null,null,null)),(e()(),uo(1,0,null,null,1,"h5",[],null,null,null,null,null)),(e()(),bi(-1,null,["Yey! All task has been completed \ud83d\udc7b"]))],null,function(e,t){e(t,0,0,void 0)})}var Rl=function(){function e(e,t){this.predicate=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new Fl(e,this.predicate,this.thisArg))},e}(),Fl=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.predicate=n,o.thisArg=r,o.count=0,o}return o(t,e),t.prototype._next=function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)},t}(k),jl=function(){return function(){}}(),Ll=function(){return function(){}}(),Hl=function(){function e(e){var t=this;this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?function(){t.headers=new Map,e.split("\n").forEach(function(e){var n=e.indexOf(":");if(n>0){var r=e.slice(0,n),o=r.toLowerCase(),i=e.slice(n+1).trim();t.maybeSetNormalizedName(r,o),t.headers.has(o)?t.headers.get(o).push(i):t.headers.set(o,[i])}})}:function(){t.headers=new Map,Object.keys(e).forEach(function(n){var r=e[n],o=n.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(t.headers.set(o,r),t.maybeSetNormalizedName(n,o))})}:this.headers=new Map}return e.prototype.has=function(e){return this.init(),this.headers.has(e.toLowerCase())},e.prototype.get=function(e){this.init();var t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null},e.prototype.keys=function(){return this.init(),Array.from(this.normalizedNames.values())},e.prototype.getAll=function(e){return this.init(),this.headers.get(e.toLowerCase())||null},e.prototype.append=function(e,t){return this.clone({name:e,value:t,op:"a"})},e.prototype.set=function(e,t){return this.clone({name:e,value:t,op:"s"})},e.prototype.delete=function(e,t){return this.clone({name:e,value:t,op:"d"})},e.prototype.maybeSetNormalizedName=function(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)},e.prototype.init=function(){var t=this;this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(e){return t.applyUpdate(e)}),this.lazyUpdate=null))},e.prototype.copyFrom=function(e){var t=this;e.init(),Array.from(e.headers.keys()).forEach(function(n){t.headers.set(n,e.headers.get(n)),t.normalizedNames.set(n,e.normalizedNames.get(n))})},e.prototype.clone=function(t){var n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n},e.prototype.applyUpdate=function(e){var t=e.name.toLowerCase();switch(e.op){case"a":case"s":var n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);var r=("a"===e.op?this.headers.get(t):void 0)||[];r.push.apply(r,c(n)),this.headers.set(t,r);break;case"d":var o=e.value;if(o){var i=this.headers.get(t);if(!i)return;0===(i=i.filter(function(e){return-1===o.indexOf(e)})).length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,i)}else this.headers.delete(t),this.normalizedNames.delete(t)}},e.prototype.forEach=function(e){var t=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(n){return e(t.normalizedNames.get(n),t.headers.get(n))})},e}(),Bl=function(){function e(){}return e.prototype.encodeKey=function(e){return zl(e)},e.prototype.encodeValue=function(e){return zl(e)},e.prototype.decodeKey=function(e){return decodeURIComponent(e)},e.prototype.decodeValue=function(e){return decodeURIComponent(e)},e}();function zl(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}var Ul=function(){function e(e){void 0===e&&(e={});var t,n,r,o=this;if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new Bl,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(t=e.fromString,n=this.encoder,r=new Map,t.length>0&&t.split("&").forEach(function(e){var t=e.indexOf("="),o=l(-1==t?[n.decodeKey(e),""]:[n.decodeKey(e.slice(0,t)),n.decodeValue(e.slice(t+1))],2),i=o[0],s=o[1],a=r.get(i)||[];a.push(s),r.set(i,a)}),r)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(function(t){var n=e.fromObject[t];o.map.set(t,Array.isArray(n)?n:[n])})):this.map=null}return e.prototype.has=function(e){return this.init(),this.map.has(e)},e.prototype.get=function(e){this.init();var t=this.map.get(e);return t?t[0]:null},e.prototype.getAll=function(e){return this.init(),this.map.get(e)||null},e.prototype.keys=function(){return this.init(),Array.from(this.map.keys())},e.prototype.append=function(e,t){return this.clone({param:e,value:t,op:"a"})},e.prototype.set=function(e,t){return this.clone({param:e,value:t,op:"s"})},e.prototype.delete=function(e,t){return this.clone({param:e,value:t,op:"d"})},e.prototype.toString=function(){var e=this;return this.init(),this.keys().map(function(t){var n=e.encoder.encodeKey(t);return e.map.get(t).map(function(t){return n+"="+e.encoder.encodeValue(t)}).join("&")}).join("&")},e.prototype.clone=function(t){var n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat([t]),n},e.prototype.init=function(){var e=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(t){return e.map.set(t,e.cloneFrom.map.get(t))}),this.updates.forEach(function(t){switch(t.op){case"a":case"s":var n=("a"===t.op?e.map.get(t.param):void 0)||[];n.push(t.value),e.map.set(t.param,n);break;case"d":if(void 0===t.value){e.map.delete(t.param);break}var r=e.map.get(t.param)||[],o=r.indexOf(t.value);-1!==o&&r.splice(o,1),r.length>0?e.map.set(t.param,r):e.map.delete(t.param)}}),this.cloneFrom=null)},e}();function ql(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function Ql(e){return"undefined"!=typeof Blob&&e instanceof Blob}function Gl(e){return"undefined"!=typeof FormData&&e instanceof FormData}var Kl=function(){function e(e,t,n,r){var o;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==n?n:null,o=r):o=n,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.params&&(this.params=o.params)),this.headers||(this.headers=new Hl),this.params){var i=this.params.toString();if(0===i.length)this.urlWithParams=t;else{var s=t.indexOf("?");this.urlWithParams=t+(-1===s?"?":s<t.length-1?"&":"")+i}}else this.params=new Ul,this.urlWithParams=t}return e.prototype.serializeBody=function(){return null===this.body?null:ql(this.body)||Ql(this.body)||Gl(this.body)||"string"==typeof this.body?this.body:this.body instanceof Ul?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()},e.prototype.detectContentTypeHeader=function(){return null===this.body?null:Gl(this.body)?null:Ql(this.body)?this.body.type||null:ql(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Ul?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null},e.prototype.clone=function(t){void 0===t&&(t={});var n=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,i=void 0!==t.body?t.body:this.body,s=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,a=void 0!==t.reportProgress?t.reportProgress:this.reportProgress,u=t.headers||this.headers,l=t.params||this.params;return void 0!==t.setHeaders&&(u=Object.keys(t.setHeaders).reduce(function(e,n){return e.set(n,t.setHeaders[n])},u)),t.setParams&&(l=Object.keys(t.setParams).reduce(function(e,n){return e.set(n,t.setParams[n])},l)),new e(n,r,i,{params:l,headers:u,reportProgress:a,responseType:o,withCredentials:s})},e}(),Zl=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}({}),Wl=function(){return function(e,t,n){void 0===t&&(t=200),void 0===n&&(n="OK"),this.headers=e.headers||new Hl,this.status=void 0!==e.status?e.status:t,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}}(),$l=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,t)||this;return n.type=Zl.ResponseHeader,n}return o(t,e),t.prototype.clone=function(e){return void 0===e&&(e={}),new t({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})},t}(Wl),Yl=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,t)||this;return n.type=Zl.Response,n.body=void 0!==t.body?t.body:null,n}return o(t,e),t.prototype.clone=function(e){return void 0===e&&(e={}),new t({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})},t}(Wl),Jl=function(e){function t(t){var n=e.call(this,t,0,"Unknown Error")||this;return n.name="HttpErrorResponse",n.ok=!1,n.message=n.status>=200&&n.status<300?"Http failure during parsing for "+(t.url||"(unknown url)"):"Http failure response for "+(t.url||"(unknown url)")+": "+t.status+" "+t.statusText,n.error=t.error||null,n}return o(t,e),t}(Wl);function Xl(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}var ec=function(){function e(e){this.handler=e}return e.prototype.request=function(e,t,n){var r,o=this;if(void 0===n&&(n={}),e instanceof Kl)r=e;else{var i;i=n.headers instanceof Hl?n.headers:new Hl(n.headers);var s=void 0;n.params&&(s=n.params instanceof Ul?n.params:new Ul({fromObject:n.params})),r=new Kl(e,t,void 0!==n.body?n.body:null,{headers:i,params:s,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}var a=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n,r,o=e[e.length-1];switch(R(o)?e.pop():o=void 0,e.length){case 0:return function(e){return e?function(e){return new O(function(t){return e.schedule(function(){return t.complete()})})}(e):Oa}(o);case 1:return o?J(e,o):(n=e[0],(r=new O(function(e){e.next(n),e.complete()}))._isScalar=!0,r.value=n,r);default:return J(e,o)}}(r).pipe(ee(function(e){return o.handler.handle(e)},void 0,1));if(e instanceof Kl||"events"===n.observe)return a;var u,l=a.pipe((u=function(e){return e instanceof Yl},function(e){return e.lift(new Rl(u,void 0))}));switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return l.pipe(W(function(e){if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body}));case"blob":return l.pipe(W(function(e){if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body}));case"text":return l.pipe(W(function(e){if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body}));case"json":default:return l.pipe(W(function(e){return e.body}))}case"response":return l;default:throw new Error("Unreachable: unhandled observe type "+n.observe+"}")}},e.prototype.delete=function(e,t){return void 0===t&&(t={}),this.request("DELETE",e,t)},e.prototype.get=function(e,t){return void 0===t&&(t={}),this.request("GET",e,t)},e.prototype.head=function(e,t){return void 0===t&&(t={}),this.request("HEAD",e,t)},e.prototype.jsonp=function(e,t){return this.request("JSONP",e,{params:(new Ul).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})},e.prototype.options=function(e,t){return void 0===t&&(t={}),this.request("OPTIONS",e,t)},e.prototype.patch=function(e,t,n){return void 0===n&&(n={}),this.request("PATCH",e,Xl(n,t))},e.prototype.post=function(e,t,n){return void 0===n&&(n={}),this.request("POST",e,Xl(n,t))},e.prototype.put=function(e,t,n){return void 0===n&&(n={}),this.request("PUT",e,Xl(n,t))},e}(),tc=function(){function e(e,t){this.next=e,this.interceptor=t}return e.prototype.handle=function(e){return this.interceptor.intercept(e,this.next)},e}(),nc=new fe("HTTP_INTERCEPTORS"),rc=function(){function e(){}return e.prototype.intercept=function(e,t){return t.handle(e)},e}(),oc=/^\)\]\}',?\n/,ic=function(){return function(){}}(),sc=function(){function e(){}return e.prototype.build=function(){return new XMLHttpRequest},e}(),ac=function(){function e(e){this.xhrFactory=e}return e.prototype.handle=function(e){var t=this;if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new O(function(n){var r=t.xhrFactory.build();if(r.open(e.method,e.urlWithParams),e.withCredentials&&(r.withCredentials=!0),e.headers.forEach(function(e,t){return r.setRequestHeader(e,t.join(","))}),e.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){var o=e.detectContentTypeHeader();null!==o&&r.setRequestHeader("Content-Type",o)}if(e.responseType){var i=e.responseType.toLowerCase();r.responseType="json"!==i?i:"text"}var s=e.serializeBody(),a=null,u=function(){if(null!==a)return a;var t=1223===r.status?204:r.status,n=r.statusText||"OK",o=new Hl(r.getAllResponseHeaders()),i=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(r)||e.url;return a=new $l({headers:o,status:t,statusText:n,url:i})},l=function(){var t=u(),o=t.headers,i=t.status,s=t.statusText,a=t.url,l=null;204!==i&&(l=void 0===r.response?r.responseText:r.response),0===i&&(i=l?200:0);var c=i>=200&&i<300;if("json"===e.responseType&&"string"==typeof l){var p=l;l=l.replace(oc,"");try{l=""!==l?JSON.parse(l):null}catch(f){l=p,c&&(c=!1,l={error:f,text:l})}}c?(n.next(new Yl({body:l,headers:o,status:i,statusText:s,url:a||void 0})),n.complete()):n.error(new Jl({error:l,headers:o,status:i,statusText:s,url:a||void 0}))},c=function(e){var t=new Jl({error:e,status:r.status||0,statusText:r.statusText||"Unknown Error"});n.error(t)},p=!1,f=function(t){p||(n.next(u()),p=!0);var o={type:Zl.DownloadProgress,loaded:t.loaded};t.lengthComputable&&(o.total=t.total),"text"===e.responseType&&r.responseText&&(o.partialText=r.responseText),n.next(o)},h=function(e){var t={type:Zl.UploadProgress,loaded:e.loaded};e.lengthComputable&&(t.total=e.total),n.next(t)};return r.addEventListener("load",l),r.addEventListener("error",c),e.reportProgress&&(r.addEventListener("progress",f),null!==s&&r.upload&&r.upload.addEventListener("progress",h)),r.send(s),n.next({type:Zl.Sent}),function(){r.removeEventListener("error",c),r.removeEventListener("load",l),e.reportProgress&&(r.removeEventListener("progress",f),null!==s&&r.upload&&r.upload.removeEventListener("progress",h)),r.abort()}})},e}(),uc=new fe("XSRF_COOKIE_NAME"),lc=new fe("XSRF_HEADER_NAME"),cc=function(){return function(){}}(),pc=function(){function e(e,t,n){this.doc=e,this.platform=t,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return e.prototype.getToken=function(){if("server"===this.platform)return null;var e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=va(e,this.cookieName),this.lastCookieString=e),this.lastToken},e}(),fc=function(){function e(e,t){this.tokenService=e,this.headerName=t}return e.prototype.intercept=function(e,t){var n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);var r=this.tokenService.getToken();return null===r||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,r)})),t.handle(e)},e}(),hc=function(){function e(e,t){this.backend=e,this.injector=t,this.chain=null}return e.prototype.handle=function(e){if(null===this.chain){var t=this.injector.get(nc,[]);this.chain=t.reduceRight(function(e,t){return new tc(e,t)},this.backend)}return this.chain.handle(e)},e}(),dc=function(){function e(){}var t;return t=e,e.disable=function(){return{ngModule:t,providers:[{provide:fc,useClass:rc}]}},e.withOptions=function(e){return void 0===e&&(e={}),{ngModule:t,providers:[e.cookieName?{provide:uc,useValue:e.cookieName}:[],e.headerName?{provide:lc,useValue:e.headerName}:[]]}},e}(),yc=function(){return function(){}}(),mc="/tasks",vc=function(){function e(e){this.http=e}return e.prototype.getTodo=function(){return this.http.get(mc)},e.prototype.addTask=function(e){return this.http.post(mc,e,{headers:new Hl({"Content-Type":"application/json"})})},e.prototype.editTodo=function(e){return this.http.put(mc+"/"+e.id,e).pipe(W(function(e){return e}))},e.prototype.deleteTask=function(e){return this.http.delete(mc+"/"+e).pipe(W(function(e){return e}))},e.ngInjectableDef=pe({factory:function(){return new e(Ye(ec))},token:e,providedIn:"root"}),e}(),gc=function(){function e(e){this.todoService=e,this.editing=!1,this.tasks=[],this.today=Date.now()}return e.prototype.ngOnInit=function(){var e=this;this.beforeEditing="",this.taskTitle="",this.todoService.getTodo().subscribe(function(t){return e.tasks=t})},e.prototype.addTask=function(){0!==this.taskTitle.trim().length&&(this.todoService.addTask({id:this.taskId,title:this.taskTitle,completed:!1,editing:!1}).subscribe(function(e){console.log(e)}),this.tasks.push({id:this.taskId,title:this.taskTitle,completed:!1,editing:!1}),this.taskTitle="",this.ngOnInit())},e.prototype.toggleEdit=function(e){e.editing=!e.editing},e.prototype.editTask=function(e){var t=this;this.beforeEditing=e.title,e.editing=!e.editing,this.todoService.editTodo(e).subscribe(function(n){return t.tasks=t.tasks.map(function(t){return t.title===e.title&&(t=Object.assign({},t,e)),t})})},e.prototype.doneEditing=function(e){0===e.title.trim().length&&(e.title=this.beforeEditing),e.editing=!1},e.prototype.cancelEditing=function(e){e.title=this.beforeEditing,e.editing=!1},e.prototype.remaining=function(){return this.tasks.filter(function(e){return!e.completed}).length},e.prototype.atleastOneCompleted=function(){return this.tasks.filter(function(e){return e.completed}).length>0},e.prototype.deleteTask=function(e){var t=this;this.tasks=this.tasks.filter(function(t){return t.id!==e}),this.todoService.deleteTask(e).subscribe(function(e){return t.tasks.filter(function(t){return t!==e})})},e.prototype.deleteCompletedTask=function(){var e=this,t=this.tasks.filter(function(e){return e.completed}).map(function(e){return e.id});console.log(t),t.forEach(function(t){e.todoService.deleteTask(t).subscribe(function(t){e.tasks=e.tasks.filter(function(e){return!e.completed})})})},e.prototype.selectAll=function(e){this.tasks.forEach(function(t){return t.completed=e.target.checked})},e}(),_c=Vr({encapsulation:0,styles:[[".completed[_ngcontent-%COMP%]{-webkit-text-decoration-line:line-through;text-decoration-line:line-through}h1[_ngcontent-%COMP%]{font-family:'Patrick Hand',cursive}.addInput[_ngcontent-%COMP%]{max-width:500px;line-height:2em;margin:10px}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{display:grid;grid-template-columns:.5fr 2.5fr .5fr .5fr}li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap}.listBtn[_ngcontent-%COMP%]{max-width:80px;margin:2px}.main[_ngcontent-%COMP%]{width:100%;background-color:#9cb1a033;max-width:50%;box-shadow:8px 6px#858181;border-radius:20px;padding:0;min-height:350px;min-width:400px}.header[_ngcontent-%COMP%], .inputDiv[_ngcontent-%COMP%]{display:flex;justify-content:center}.nav[_ngcontent-%COMP%]{display:block;line-height:3em;font-size:16px;padding-left:1.5em;margin-top:1em}.main-container[_ngcontent-%COMP%]{margin:2%}.main[_ngcontent-%COMP%]{margin-top:5em}li[_ngcontent-%COMP%]{background-color:#ffffff85;margin:4px;display:flex;align-items:center;padding-left:10px;font-size:2rem;line-height:1.5em;border-radius:10px}.info[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}.selectall[_ngcontent-%COMP%]{margin-top:-30px}.dateClass[_ngcontent-%COMP%]{font-size:1em;float:right;margin-right:20px;color:#000;background-color:#fff;padding:0 10px;border-radius:20px}"]],data:{animation:[{type:7,name:"fade",definitions:[],options:{}}]}});function bc(e){return Ci(0,[(e()(),uo(0,0,null,null,3,"div",[],null,[[null,"dblclick"]],function(e,t,n){var r=!0;return"dblclick"===t&&(r=!1!==e.component.toggleEdit(e.parent.context.$implicit)&&r),r},null,null)),Yo(1,278528,null,0,ga,[jn,Ln,fn,pn],{ngClass:[0,"ngClass"]},null),gi(2,{completed:0}),(e()(),bi(3,null,["",""]))],function(e,t){var n=e(t,2,0,t.parent.context.$implicit.completed);e(t,1,0,n)},function(e,t){e(t,3,0,t.parent.context.$implicit.title)})}function wc(e){return Ci(0,[(e()(),uo(0,0,null,null,6,"input",[["autofocus",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"blur"],[null,"keyup.enter"],[null,"keyup.esc"],[null,"input"],[null,"compositionstart"],[null,"compositionend"]],function(e,t,n){var r=!0,o=e.component;return"input"===t&&(r=!1!==jo(e,1)._handleInput(n.target.value)&&r),"blur"===t&&(r=!1!==jo(e,1).onTouched()&&r),"compositionstart"===t&&(r=!1!==jo(e,1)._compositionStart()&&r),"compositionend"===t&&(r=!1!==jo(e,1)._compositionEnd(n.target.value)&&r),"ngModelChange"===t&&(r=!1!==(e.parent.context.$implicit.title=n)&&r),"blur"===t&&(r=!1!==o.doneEditing(e.parent.context.$implicit)&&r),"keyup.enter"===t&&(r=!1!==o.editTask(e.parent.context.$implicit)&&r),"keyup.esc"===t&&(r=!1!==o.cancelEditing(e.parent.context.$implicit)&&r),r},null,null)),Yo(1,16384,null,0,Yu,[pn,fn,[2,$u]],null,null),Jo(1024,null,Zu,function(e){return[e]},[Yu]),Yo(3,671744,null,0,Pl,[[8,null],[8,null],[8,null],[6,Zu]],{model:[0,"model"]},{update:"ngModelChange"}),Jo(2048,null,nl,null,[Pl]),Yo(5,16384,null,0,yl,[[4,nl]],null,null),Yo(6,4210688,null,0,Nl,[fn],{autofocus:[0,"autofocus"]},null)],function(e,t){e(t,3,0,t.parent.context.$implicit.title),e(t,6,0,"")},function(e,t){e(t,0,0,jo(t,5).ngClassUntouched,jo(t,5).ngClassTouched,jo(t,5).ngClassPristine,jo(t,5).ngClassDirty,jo(t,5).ngClassValid,jo(t,5).ngClassInvalid,jo(t,5).ngClassPending)})}function Ec(e){return Ci(0,[(e()(),uo(0,0,null,null,5,"div",[],null,null,null,null,null)),(e()(),uo(1,0,null,null,4,"button",[["class","btn btn-success listBtn"]],null,[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.toggleEdit(e.parent.context.$implicit)&&r),r},null,null)),Yo(2,278528,null,0,ga,[jn,Ln,fn,pn],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),gi(3,{disabled:0}),(e()(),uo(4,0,null,null,0,"i",[["class","fa fa-edit"]],null,null,null,null,null)),(e()(),bi(-1,null,["Edit"]))],function(e,t){var n=e(t,3,0,t.parent.context.$implicit.completed);e(t,2,0,"btn btn-success listBtn",n)},null)}function Cc(e){return Ci(0,[(e()(),uo(0,0,null,null,3,"div",[],null,null,null,null,null)),(e()(),uo(1,0,null,null,2,"button",[["class","btn btn-success listBtn"]],null,[[null,"click"]],function(e,t,n){var r=!0,o=e.component;return"click"===t&&(o.editTask(e.parent.context.$implicit),r=!1!==o.toggleEdit(e.parent.context.$implicit)&&r),r},null,null)),(e()(),uo(2,0,null,null,0,"i",[["class","fa fa-edit"]],null,null,null,null,null)),(e()(),bi(-1,null,[" Done"]))],null,null)}function Sc(e){return Ci(0,[(e()(),uo(0,0,null,null,16,"li",[],[[24,"@fade",0]],null,null,null,null)),(e()(),uo(1,0,null,null,5,"input",[["type","checkbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"change"],[null,"blur"]],function(e,t,n){var r=!0;return"change"===t&&(r=!1!==jo(e,2).onChange(n.target.checked)&&r),"blur"===t&&(r=!1!==jo(e,2).onTouched()&&r),"ngModelChange"===t&&(r=!1!==(e.context.$implicit.completed=n)&&r),r},null,null)),Yo(2,16384,null,0,Wu,[pn,fn],null,null),Jo(1024,null,Zu,function(e){return[e]},[Wu]),Yo(4,671744,null,0,Pl,[[8,null],[8,null],[8,null],[6,Zu]],{model:[0,"model"]},{update:"ngModelChange"}),Jo(2048,null,nl,null,[Pl]),Yo(6,16384,null,0,yl,[[4,nl]],null,null),(e()(),ao(16777216,null,null,1,null,bc)),Yo(8,16384,null,0,Ea,[yn,dn],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(e()(),ao(0,[["editingTask",2]],null,0,null,wc)),(e()(),ao(16777216,null,null,1,null,Ec)),Yo(11,16384,null,0,Ea,[yn,dn],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(e()(),ao(0,[["doneBtn",2]],null,0,null,Cc)),(e()(),uo(13,0,null,null,3,"div",[],null,null,null,null,null)),(e()(),uo(14,0,null,null,2,"button",[["class","btn btn-danger listBtn"]],null,[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.deleteTask(e.context.$implicit.id)&&r),r},null,null)),(e()(),uo(15,0,null,null,0,"i",[["class","fa fa-trash"]],null,null,null,null,null)),(e()(),bi(-1,null,[" Del"]))],function(e,t){e(t,4,0,t.context.$implicit.completed),e(t,8,0,!t.context.$implicit.editing,jo(t,9)),e(t,11,0,!t.context.$implicit.editing,jo(t,12))},function(e,t){e(t,0,0,void 0),e(t,1,0,jo(t,6).ngClassUntouched,jo(t,6).ngClassTouched,jo(t,6).ngClassPristine,jo(t,6).ngClassDirty,jo(t,6).ngClassValid,jo(t,6).ngClassInvalid,jo(t,6).ngClassPending)})}function Tc(e){return Ci(0,[(e()(),uo(0,0,null,null,2,"div",[],null,null,null,null,null)),(e()(),uo(1,0,null,null,1,"todo-empty",[],null,null,null,Vl,Ml)),Yo(2,114688,null,0,Dl,[],null,null)],function(e,t){e(t,2,0)},null)}function kc(e){return Ci(0,[(e()(),uo(0,0,null,null,4,"div",[],null,null,null,null,null)),(e()(),uo(1,0,null,null,1,"button",[["class","btn btn-warning btn-block"]],null,[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.deleteCompletedTask()&&r),r},null,null)),(e()(),bi(-1,null,["Clear Completed"])),(e()(),uo(3,0,null,null,1,"div",[["class","alert alert-warning"]],null,null,null,null,null)),(e()(),bi(-1,null,["You've selected an item"]))],null,null)}function xc(e){return Ci(0,[(t=0,n=Ta,r=[qn],Xo(-1,t|=16,null,0,n,n,r)),(e()(),uo(1,0,null,null,33,"div",[["class","container main"]],null,null,null,null,null)),(e()(),uo(2,0,null,null,4,"div",[["class","nav"]],null,null,null,null,null)),(e()(),uo(3,0,null,null,3,"span",[["class","dateClass"]],null,null,null,null,null)),(e()(),uo(4,0,null,null,0,"i",[["class","fa fa-calendar"]],null,null,null,null,null)),(e()(),bi(5,null,[" ",""])),_i(128,6,new Array(3)),(e()(),uo(7,0,null,null,27,"div",[["class","main-container"]],null,null,null,null,null)),(e()(),uo(8,0,null,null,3,"div",[["class","header"]],null,null,null,null,null)),(e()(),uo(9,0,null,null,2,"h1",[],null,null,null,null,null)),(e()(),bi(-1,null,["TODO LIST "])),(e()(),uo(11,0,null,null,0,"i",[["class","fa fa-pencil"]],null,null,null,null,null)),(e()(),uo(12,0,null,null,3,"div",[["class","info selectall"]],null,null,null,null,null)),(e()(),uo(13,0,null,null,2,"label",[["class","checkbox-inline"]],null,null,null,null,null)),(e()(),uo(14,0,null,null,0,"input",[["type","checkbox"]],null,[[null,"change"]],function(e,t,n){var r=!0;return"change"===t&&(r=!1!==e.component.selectAll(n)&&r),r},null,null)),(e()(),bi(-1,null,["Select All"])),(e()(),uo(16,0,null,null,6,"div",[["class","inputDiv"]],null,null,null,null,null)),(e()(),uo(17,0,null,null,5,"input",[["class","form-control addInput"],["placeholder","Things you want to do today?"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"keyup.enter"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(e,t,n){var r=!0,o=e.component;return"input"===t&&(r=!1!==jo(e,18)._handleInput(n.target.value)&&r),"blur"===t&&(r=!1!==jo(e,18).onTouched()&&r),"compositionstart"===t&&(r=!1!==jo(e,18)._compositionStart()&&r),"compositionend"===t&&(r=!1!==jo(e,18)._compositionEnd(n.target.value)&&r),"ngModelChange"===t&&(r=!1!==(o.taskTitle=n)&&r),"keyup.enter"===t&&(r=!1!==o.addTask()&&r),r},null,null)),Yo(18,16384,null,0,Yu,[pn,fn,[2,$u]],null,null),Jo(1024,null,Zu,function(e){return[e]},[Yu]),Yo(20,671744,null,0,Pl,[[8,null],[8,null],[8,null],[6,Zu]],{model:[0,"model"]},{update:"ngModelChange"}),Jo(2048,null,nl,null,[Pl]),Yo(22,16384,null,0,yl,[[4,nl]],null,null),(e()(),uo(23,0,null,null,11,"div",[["class","content"]],null,null,null,null,null)),(e()(),uo(24,0,null,null,2,"ul",[],null,null,null,null,null)),(e()(),ao(16777216,null,null,1,null,Sc)),Yo(26,278528,null,0,ba,[yn,dn,jn],{ngForOf:[0,"ngForOf"]},null),(e()(),ao(16777216,null,null,1,null,Tc)),Yo(28,16384,null,0,Ea,[yn,dn],{ngIf:[0,"ngIf"]},null),(e()(),uo(29,0,null,null,0,"hr",[],null,null,null,null,null)),(e()(),uo(30,0,null,null,2,"div",[["class","info"]],null,null,null,null,null)),(e()(),uo(31,0,null,null,1,"div",[],null,null,null,null,null)),(e()(),bi(32,null,[""," uncompleted tasks"])),(e()(),ao(16777216,null,null,1,null,kc)),Yo(34,16384,null,0,Ea,[yn,dn],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component;e(t,20,0,n.taskTitle),e(t,26,0,n.tasks),e(t,28,0,0===n.remaining()),e(t,34,0,n.atleastOneCompleted())},function(e,t){var n=t.component,r=function(e,t,n,r){if(Sn.isWrapped(r)){r=Sn.unwrap(r);var o=e.def.nodes[5].bindingIndex+0,i=Sn.unwrap(e.oldValues[o]);e.oldValues[o]=new Sn(i)}return r}(t,0,0,e(t,6,0,jo(t,0),n.today,"short"));e(t,5,0,r),e(t,17,0,jo(t,22).ngClassUntouched,jo(t,22).ngClassTouched,jo(t,22).ngClassPristine,jo(t,22).ngClassDirty,jo(t,22).ngClassValid,jo(t,22).ngClassInvalid,jo(t,22).ngClassPending),e(t,32,0,n.remaining())});var t,n,r}var Pc=Vr({encapsulation:0,styles:[["@import url(https://fonts.googleapis.com/css2?family=Ruluko&display=swap);@import url(https://fonts.googleapis.com/css2?family=Patrick+Hand&display=swap);*[_ngcontent-%COMP%]{font-family:Ruluko,sans-serif;margin:0;padding:0}"]],data:{}});function Oc(e){return Ci(0,[(e()(),uo(0,0,null,null,1,"todo-list",[],null,null,null,xc,_c)),Yo(1,114688,null,0,gc,[vc],null,null)],function(e,t){e(t,1,0)},null)}function Ac(e){return Ci(0,[(e()(),uo(0,0,null,null,1,"app-root",[],null,null,null,Oc,Pc)),Yo(1,49152,null,0,Ds,[],null,null)],null,null)}var Nc=xo("app-root",Ds,Ac,{},{},[]),Ic=function(){return function(){}}(),Dc=function(){return function(){}}(),Mc="*";function Vc(e,t){return void 0===t&&(t=null),{type:2,steps:e,options:t}}function Rc(e){return{type:6,styles:e,offset:null}}function Fc(e){Promise.resolve(null).then(e)}var jc=function(){function e(e,t){void 0===e&&(e=0),void 0===t&&(t=0),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=e+t}return e.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])},e.prototype.onStart=function(e){this._onStartFns.push(e)},e.prototype.onDone=function(e){this._onDoneFns.push(e)},e.prototype.onDestroy=function(e){this._onDestroyFns.push(e)},e.prototype.hasStarted=function(){return this._started},e.prototype.init=function(){},e.prototype.play=function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0},e.prototype.triggerMicrotask=function(){var e=this;Fc(function(){return e._onFinish()})},e.prototype._onStart=function(){this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[]},e.prototype.pause=function(){},e.prototype.restart=function(){},e.prototype.finish=function(){this._onFinish()},e.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])},e.prototype.reset=function(){},e.prototype.setPosition=function(e){},e.prototype.getPosition=function(){return 0},e.prototype.triggerCallback=function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0},e}(),Lc=function(){function e(e){var t=this;this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;var n=0,r=0,o=0,i=this.players.length;0==i?Fc(function(){return t._onFinish()}):this.players.forEach(function(e){e.onDone(function(){++n==i&&t._onFinish()}),e.onDestroy(function(){++r==i&&t._onDestroy()}),e.onStart(function(){++o==i&&t._onStart()})}),this.totalTime=this.players.reduce(function(e,t){return Math.max(e,t.totalTime)},0)}return e.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])},e.prototype.init=function(){this.players.forEach(function(e){return e.init()})},e.prototype.onStart=function(e){this._onStartFns.push(e)},e.prototype._onStart=function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[])},e.prototype.onDone=function(e){this._onDoneFns.push(e)},e.prototype.onDestroy=function(e){this._onDestroyFns.push(e)},e.prototype.hasStarted=function(){return this._started},e.prototype.play=function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(function(e){return e.play()})},e.prototype.pause=function(){this.players.forEach(function(e){return e.pause()})},e.prototype.restart=function(){this.players.forEach(function(e){return e.restart()})},e.prototype.finish=function(){this._onFinish(),this.players.forEach(function(e){return e.finish()})},e.prototype.destroy=function(){this._onDestroy()},e.prototype._onDestroy=function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(e){return e.destroy()}),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])},e.prototype.reset=function(){this.players.forEach(function(e){return e.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1},e.prototype.setPosition=function(e){var t=e*this.totalTime;this.players.forEach(function(e){var n=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(n)})},e.prototype.getPosition=function(){var e=0;return this.players.forEach(function(t){var n=t.getPosition();e=Math.min(n,e)}),e},e.prototype.beforeDestroy=function(){this.players.forEach(function(e){e.beforeDestroy&&e.beforeDestroy()})},e.prototype.triggerCallback=function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0},e}(),Hc="!";function Bc(){return"undefined"!=typeof process}function zc(e){switch(e.length){case 0:return new jc;case 1:return e[0];default:return new Lc(e)}}function Uc(e,t,n,r,o,i){void 0===o&&(o={}),void 0===i&&(i={});var s=[],a=[],u=-1,l=null;if(r.forEach(function(e){var n=e.offset,r=n==u,c=r&&l||{};Object.keys(e).forEach(function(n){var r=n,a=e[n];if("offset"!==n)switch(r=t.normalizePropertyName(r,s),a){case Hc:a=o[n];break;case Mc:a=i[n];break;default:a=t.normalizeStyleValue(n,r,a,s)}c[r]=a}),r||a.push(c),l=c,u=n}),s.length)throw new Error("Unable to animate due to the following errors:\n - "+s.join("\n - "));return a}function qc(e,t,n,r){switch(t){case"start":e.onStart(function(){return r(n&&Qc(n,"start",e))});break;case"done":e.onDone(function(){return r(n&&Qc(n,"done",e))});break;case"destroy":e.onDestroy(function(){return r(n&&Qc(n,"destroy",e))})}}function Qc(e,t,n){var r=n.totalTime,o=Gc(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==r?e.totalTime:r,!!n.disabled),i=e._data;return null!=i&&(o._data=i),o}function Gc(e,t,n,r,o,i,s){return void 0===o&&(o=""),void 0===i&&(i=0),{element:e,triggerName:t,fromState:n,toState:r,phaseName:o,totalTime:i,disabled:!!s}}function Kc(e,t,n){var r;return e instanceof Map?(r=e.get(t))||e.set(t,r=n):(r=e[t])||(r=e[t]=n),r}function Zc(e){var t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}var Wc=function(e,t){return!1},$c=function(e,t){return!1},Yc=function(e,t,n){return[]},Jc=Bc();if(Jc||"undefined"!=typeof Element){if(Wc=function(e,t){return e.contains(t)},Jc||Element.prototype.matches)$c=function(e,t){return e.matches(t)};else{var Xc=Element.prototype,ep=Xc.matchesSelector||Xc.mozMatchesSelector||Xc.msMatchesSelector||Xc.oMatchesSelector||Xc.webkitMatchesSelector;ep&&($c=function(e,t){return ep.apply(e,[t])})}Yc=function(e,t,n){var r=[];if(n)r.push.apply(r,c(e.querySelectorAll(t)));else{var o=e.querySelector(t);o&&r.push(o)}return r}}var tp=null,np=!1;function rp(e){tp||(tp=("undefined"!=typeof document?document.body:null)||{},np=!!tp.style&&"WebkitAppearance"in tp.style);var t=!0;return tp.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&!(t=e in tp.style)&&np&&(t="Webkit"+e.charAt(0).toUpperCase()+e.substr(1)in tp.style),t}var op=$c,ip=Wc,sp=Yc;function ap(e){var t={};return Object.keys(e).forEach(function(n){var r=n.replace(/([a-z])([A-Z])/g,"$1-$2");t[r]=e[n]}),t}var up=function(){function e(){}return e.prototype.validateStyleProperty=function(e){return rp(e)},e.prototype.matchesElement=function(e,t){return op(e,t)},e.prototype.containsElement=function(e,t){return ip(e,t)},e.prototype.query=function(e,t,n){return sp(e,t,n)},e.prototype.computeStyle=function(e,t,n){return n||""},e.prototype.animate=function(e,t,n,r,o,i,s){return void 0===i&&(i=[]),new jc(n,r)},e}(),lp=function(){function e(){}return e.NOOP=new up,e}(),cp=1e3;function pp(e){if("number"==typeof e)return e;var t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:fp(parseFloat(t[1]),t[2])}function fp(e,t){switch(t){case"s":return e*cp;default:return e}}function hp(e,t,n){return e.hasOwnProperty("duration")?e:function(e,t,n){var r,o=0,i="";if("string"==typeof e){var s=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===s)return t.push('The provided timing value "'+e+'" is invalid.'),{duration:0,delay:0,easing:""};r=fp(parseFloat(s[1]),s[2]);var a=s[3];null!=a&&(o=fp(Math.floor(parseFloat(a)),s[4]));var u=s[5];u&&(i=u)}else r=e;if(!n){var l=!1,c=t.length;r<0&&(t.push("Duration values below 0 are not allowed for this animation step."),l=!0),o<0&&(t.push("Delay values below 0 are not allowed for this animation step."),l=!0),l&&t.splice(c,0,'The provided timing value "'+e+'" is invalid.')}return{duration:r,delay:o,easing:i}}(e,t,n)}function dp(e,t){return void 0===t&&(t={}),Object.keys(e).forEach(function(n){t[n]=e[n]}),t}function yp(e,t,n){if(void 0===n&&(n={}),t)for(var r in e)n[r]=e[r];else dp(e,n);return n}function mp(e,t,n){return n?t+":"+n+";":""}function vp(e){for(var t="",n=0;n<e.style.length;n++)t+=mp(0,r=e.style.item(n),e.style.getPropertyValue(r));for(var r in e.style)e.style.hasOwnProperty(r)&&!r.startsWith("_")&&(t+=mp(0,r.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),e.style[r]));e.setAttribute("style",t)}function gp(e,t){e.style&&(Object.keys(t).forEach(function(n){var r=kp(n);e.style[r]=t[n]}),Bc()&&vp(e))}function _p(e,t){e.style&&(Object.keys(t).forEach(function(t){var n=kp(t);e.style[n]=""}),Bc()&&vp(e))}function bp(e){return Array.isArray(e)?1==e.length?e[0]:Vc(e):e}var wp=new RegExp("{{\\s*(.+?)\\s*}}","g");function Ep(e){var t=[];if("string"==typeof e){for(var n=e.toString(),r=void 0;r=wp.exec(n);)t.push(r[1]);wp.lastIndex=0}return t}function Cp(e,t,n){var r=e.toString(),o=r.replace(wp,function(e,r){var o=t[r];return t.hasOwnProperty(r)||(n.push("Please provide a value for the animation param "+r),o=""),o.toString()});return o==r?e:o}function Sp(e){for(var t=[],n=e.next();!n.done;)t.push(n.value),n=e.next();return t}var Tp=/-+([a-z0-9])/g;function kp(e){return e.replace(Tp,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e[1].toUpperCase()})}function xp(e,t){return 0===e||0===t}function Pp(e,t,n){var r=Object.keys(n);if(r.length&&t.length){var o=t[0],i=[];if(r.forEach(function(e){o.hasOwnProperty(e)||i.push(e),o[e]=n[e]}),i.length)for(var s=function(){var n=t[a];i.forEach(function(t){n[t]=Ap(e,t)})},a=1;a<t.length;a++)s()}return t}function Op(e,t,n){switch(t.type){case 7:return e.visitTrigger(t,n);case 0:return e.visitState(t,n);case 1:return e.visitTransition(t,n);case 2:return e.visitSequence(t,n);case 3:return e.visitGroup(t,n);case 4:return e.visitAnimate(t,n);case 5:return e.visitKeyframes(t,n);case 6:return e.visitStyle(t,n);case 8:return e.visitReference(t,n);case 9:return e.visitAnimateChild(t,n);case 10:return e.visitAnimateRef(t,n);case 11:return e.visitQuery(t,n);case 12:return e.visitStagger(t,n);default:throw new Error("Unable to resolve animation metadata node #"+t.type)}}function Ap(e,t){return window.getComputedStyle(e)[t]}var Np="*",Ip=new Set(["true","1"]),Dp=new Set(["false","0"]);function Mp(e,t){var n=Ip.has(e)||Dp.has(e),r=Ip.has(t)||Dp.has(t);return function(o,i){var s=e==Np||e==o,a=t==Np||t==i;return!s&&n&&"boolean"==typeof o&&(s=o?Ip.has(e):Dp.has(e)),!a&&r&&"boolean"==typeof i&&(a=i?Ip.has(t):Dp.has(t)),s&&a}}var Vp=new RegExp("s*:selfs*,?","g");function Rp(e,t,n){return new Fp(e).build(t,n)}var Fp=function(){function e(e){this._driver=e}return e.prototype.build=function(e,t){var n=new jp(t);return this._resetContextStyleTimingState(n),Op(this,bp(e),n)},e.prototype._resetContextStyleTimingState=function(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0},e.prototype.visitTrigger=function(e,t){var n=this,r=t.queryCount=0,o=t.depCount=0,i=[],s=[];return"@"==e.name.charAt(0)&&t.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),e.definitions.forEach(function(e){if(n._resetContextStyleTimingState(t),0==e.type){var a=e,u=a.name;u.toString().split(/\s*,\s*/).forEach(function(e){a.name=e,i.push(n.visitState(a,t))}),a.name=u}else if(1==e.type){var l=n.visitTransition(e,t);r+=l.queryCount,o+=l.depCount,s.push(l)}else t.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:e.name,states:i,transitions:s,queryCount:r,depCount:o,options:null}},e.prototype.visitState=function(e,t){var n=this.visitStyle(e.styles,t),r=e.options&&e.options.params||null;if(n.containsDynamicStyles){var o=new Set,i=r||{};if(n.styles.forEach(function(e){if(Lp(e)){var t=e;Object.keys(t).forEach(function(e){Ep(t[e]).forEach(function(e){i.hasOwnProperty(e)||o.add(e)})})}}),o.size){var s=Sp(o.values());t.errors.push('state("'+e.name+'", ...) must define default values for all the following style substitutions: '+s.join(", "))}}return{type:0,name:e.name,style:n,options:r?{params:r}:null}},e.prototype.visitTransition=function(e,t){t.queryCount=0,t.depCount=0;var n,r,o,i=Op(this,bp(e.animation),t);return{type:1,matchers:(n=e.expr,r=t.errors,o=[],"string"==typeof n?n.split(/\s*,\s*/).forEach(function(e){return function(e,t,n){if(":"==e[0]){var r=function(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return function(e,t){return parseFloat(t)>parseFloat(e)};case":decrement":return function(e,t){return parseFloat(t)<parseFloat(e)};default:return t.push('The transition alias value "'+e+'" is not supported'),"* => *"}}(e,n);if("function"==typeof r)return void t.push(r);e=r}var o=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==o||o.length<4)return n.push('The provided transition expression "'+e+'" is not supported'),t;var i=o[1],s=o[2],a=o[3];t.push(Mp(i,a)),"<"!=s[0]||i==Np&&a==Np||t.push(Mp(a,i))}(e,o,r)}):o.push(n),o),animation:i,queryCount:t.queryCount,depCount:t.depCount,options:Hp(e.options)}},e.prototype.visitSequence=function(e,t){var n=this;return{type:2,steps:e.steps.map(function(e){return Op(n,e,t)}),options:Hp(e.options)}},e.prototype.visitGroup=function(e,t){var n=this,r=t.currentTime,o=0,i=e.steps.map(function(e){t.currentTime=r;var i=Op(n,e,t);return o=Math.max(o,t.currentTime),i});return t.currentTime=o,{type:3,steps:i,options:Hp(e.options)}},e.prototype.visitAnimate=function(e,t){var n,r=function(e,t){var n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e)return Bp(hp(e,t).duration,0,"");var r=e;if(r.split(/\s+/).some(function(e){return"{"==e.charAt(0)&&"{"==e.charAt(1)})){var o=Bp(0,0,"");return o.dynamic=!0,o.strValue=r,o}return Bp((n=n||hp(r,t)).duration,n.delay,n.easing)}(e.timings,t.errors);t.currentAnimateTimings=r;var o=e.styles?e.styles:Rc({});if(5==o.type)n=this.visitKeyframes(o,t);else{var i=e.styles,s=!1;if(!i){s=!0;var a={};r.easing&&(a.easing=r.easing),i=Rc(a)}t.currentTime+=r.duration+r.delay;var u=this.visitStyle(i,t);u.isEmptyStep=s,n=u}return t.currentAnimateTimings=null,{type:4,timings:r,style:n,options:null}},e.prototype.visitStyle=function(e,t){var n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n},e.prototype._makeStyleAst=function(e,t){var n=[];Array.isArray(e.styles)?e.styles.forEach(function(e){"string"==typeof e?e==Mc?n.push(e):t.errors.push("The provided style string value "+e+" is not allowed."):n.push(e)}):n.push(e.styles);var r=!1,o=null;return n.forEach(function(e){if(Lp(e)){var t=e,n=t.easing;if(n&&(o=n,delete t.easing),!r)for(var i in t)if(t[i].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:n,easing:o,offset:e.offset,containsDynamicStyles:r,options:null}},e.prototype._validateStyleAst=function(e,t){var n=this,r=t.currentAnimateTimings,o=t.currentTime,i=t.currentTime;r&&i>0&&(i-=r.duration+r.delay),e.styles.forEach(function(e){"string"!=typeof e&&Object.keys(e).forEach(function(r){if(n._driver.validateStyleProperty(r)){var s,a,u,l=t.collectedStyles[t.currentQuerySelector],c=l[r],p=!0;c&&(i!=o&&i>=c.startTime&&o<=c.endTime&&(t.errors.push('The CSS property "'+r+'" that exists between the times of "'+c.startTime+'ms" and "'+c.endTime+'ms" is also being animated in a parallel animation between the times of "'+i+'ms" and "'+o+'ms"'),p=!1),i=c.startTime),p&&(l[r]={startTime:i,endTime:o}),t.options&&(s=t.errors,a=t.options.params||{},(u=Ep(e[r])).length&&u.forEach(function(e){a.hasOwnProperty(e)||s.push("Unable to resolve the local animation param "+e+" in the given list of values")}))}else t.errors.push('The provided animation property "'+r+'" is not a supported CSS property for animations')})})},e.prototype.visitKeyframes=function(e,t){var n=this,r={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),r;var o=0,i=[],s=!1,a=!1,u=0,l=e.steps.map(function(e){var r=n._makeStyleAst(e,t),l=null!=r.offset?r.offset:function(e){if("string"==typeof e)return null;var t=null;if(Array.isArray(e))e.forEach(function(e){if(Lp(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}});else if(Lp(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}return t}(r.styles),c=0;return null!=l&&(o++,c=r.offset=l),a=a||c<0||c>1,s=s||c<u,u=c,i.push(c),r});a&&t.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),s&&t.errors.push("Please ensure that all keyframe offsets are in order");var c=e.steps.length,p=0;o>0&&o<c?t.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==o&&(p=1/(c-1));var f=c-1,h=t.currentTime,d=t.currentAnimateTimings,y=d.duration;return l.forEach(function(e,o){var s=p>0?o==f?1:p*o:i[o],a=s*y;t.currentTime=h+d.delay+a,d.duration=a,n._validateStyleAst(e,t),e.offset=s,r.styles.push(e)}),r},e.prototype.visitReference=function(e,t){return{type:8,animation:Op(this,bp(e.animation),t),options:Hp(e.options)}},e.prototype.visitAnimateChild=function(e,t){return t.depCount++,{type:9,options:Hp(e.options)}},e.prototype.visitAnimateRef=function(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:Hp(e.options)}},e.prototype.visitQuery=function(e,t){var n=t.currentQuerySelector,r=e.options||{};t.queryCount++,t.currentQuery=e;var o=l(function(e){var t=!!e.split(/\s*,\s*/).find(function(e){return":self"==e});return t&&(e=e.replace(Vp,"")),[e=e.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,function(e){return".ng-trigger-"+e.substr(1)}).replace(/:animating/g,".ng-animating"),t]}(e.selector),2),i=o[0],s=o[1];t.currentQuerySelector=n.length?n+" "+i:i,Kc(t.collectedStyles,t.currentQuerySelector,{});var a=Op(this,bp(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:i,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:e.selector,options:Hp(e.options)}},e.prototype.visitStagger=function(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");var n="full"===e.timings?{duration:0,delay:0,easing:"full"}:hp(e.timings,t.errors,!0);return{type:12,animation:Op(this,bp(e.animation),t),timings:n,options:null}},e}(),jp=function(){return function(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}();function Lp(e){return!Array.isArray(e)&&"object"==typeof e}function Hp(e){var t;return e?(e=dp(e)).params&&(e.params=(t=e.params)?dp(t):null):e={},e}function Bp(e,t,n){return{duration:e,delay:t,easing:n}}function zp(e,t,n,r,o,i,s,a){return void 0===s&&(s=null),void 0===a&&(a=!1),{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:r,duration:o,delay:i,totalTime:o+i,easing:s,subTimeline:a}}var Up=function(){function e(){this._map=new Map}return e.prototype.consume=function(e){var t=this._map.get(e);return t?this._map.delete(e):t=[],t},e.prototype.append=function(e,t){var n=this._map.get(e);n||this._map.set(e,n=[]),n.push.apply(n,c(t))},e.prototype.has=function(e){return this._map.has(e)},e.prototype.clear=function(){this._map.clear()},e}(),qp=new RegExp(":enter","g"),Qp=new RegExp(":leave","g");function Gp(e,t,n,r,o,i,s,a,u,l){return void 0===i&&(i={}),void 0===s&&(s={}),void 0===l&&(l=[]),(new Kp).buildKeyframes(e,t,n,r,o,i,s,a,u,l)}var Kp=function(){function e(){}return e.prototype.buildKeyframes=function(e,t,n,r,o,i,s,a,u,l){void 0===l&&(l=[]),u=u||new Up;var c=new Wp(e,t,u,r,o,l,[]);c.options=a,c.currentTimeline.setStyles([i],null,c.errors,a),Op(this,n,c);var p=c.timelines.filter(function(e){return e.containsAnimation()});if(p.length&&Object.keys(s).length){var f=p[p.length-1];f.allowOnlyTimelineStyles()||f.setStyles([s],null,c.errors,a)}return p.length?p.map(function(e){return e.buildKeyframes()}):[zp(t,[],[],[],0,0,"",!1)]},e.prototype.visitTrigger=function(e,t){},e.prototype.visitState=function(e,t){},e.prototype.visitTransition=function(e,t){},e.prototype.visitAnimateChild=function(e,t){var n=t.subInstructions.consume(t.element);if(n){var r=t.createSubContext(e.options),o=t.currentTimeline.currentTime,i=this._visitSubInstructions(n,r,r.options);o!=i&&t.transformIntoNewTimeline(i)}t.previousNode=e},e.prototype.visitAnimateRef=function(e,t){var n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e},e.prototype._visitSubInstructions=function(e,t,n){var r=t.currentTimeline.currentTime,o=null!=n.duration?pp(n.duration):null,i=null!=n.delay?pp(n.delay):null;return 0!==o&&e.forEach(function(e){var n=t.appendInstructionToTimeline(e,o,i);r=Math.max(r,n.duration+n.delay)}),r},e.prototype.visitReference=function(e,t){t.updateOptions(e.options,!0),Op(this,e.animation,t),t.previousNode=e},e.prototype.visitSequence=function(e,t){var n=this,r=t.subContextCount,o=t,i=e.options;if(i&&(i.params||i.delay)&&((o=t.createSubContext(i)).transformIntoNewTimeline(),null!=i.delay)){6==o.previousNode.type&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=Zp);var s=pp(i.delay);o.delayNextStep(s)}e.steps.length&&(e.steps.forEach(function(e){return Op(n,e,o)}),o.currentTimeline.applyStylesToKeyframe(),o.subContextCount>r&&o.transformIntoNewTimeline()),t.previousNode=e},e.prototype.visitGroup=function(e,t){var n=this,r=[],o=t.currentTimeline.currentTime,i=e.options&&e.options.delay?pp(e.options.delay):0;e.steps.forEach(function(s){var a=t.createSubContext(e.options);i&&a.delayNextStep(i),Op(n,s,a),o=Math.max(o,a.currentTimeline.currentTime),r.push(a.currentTimeline)}),r.forEach(function(e){return t.currentTimeline.mergeTimelineCollectedStyles(e)}),t.transformIntoNewTimeline(o),t.previousNode=e},e.prototype._visitTiming=function(e,t){if(e.dynamic){var n=e.strValue;return hp(t.params?Cp(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}},e.prototype.visitAnimate=function(e,t){var n=t.currentAnimateTimings=this._visitTiming(e.timings,t),r=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),r.snapshotCurrentStyles());var o=e.style;5==o.type?this.visitKeyframes(o,t):(t.incrementTime(n.duration),this.visitStyle(o,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e},e.prototype.visitStyle=function(e,t){var n=t.currentTimeline,r=t.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();var o=r&&r.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(o):n.setStyles(e.styles,o,t.errors,t.options),t.previousNode=e},e.prototype.visitKeyframes=function(e,t){var n=t.currentAnimateTimings,r=t.currentTimeline.duration,o=n.duration,i=t.createSubContext().currentTimeline;i.easing=n.easing,e.styles.forEach(function(e){i.forwardTime((e.offset||0)*o),i.setStyles(e.styles,e.easing,t.errors,t.options),i.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(i),t.transformIntoNewTimeline(r+o),t.previousNode=e},e.prototype.visitQuery=function(e,t){var n=this,r=t.currentTimeline.currentTime,o=e.options||{},i=o.delay?pp(o.delay):0;i&&(6===t.previousNode.type||0==r&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Zp);var s=r,a=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!o.optional,t.errors);t.currentQueryTotal=a.length;var u=null;a.forEach(function(r,o){t.currentQueryIndex=o;var a=t.createSubContext(e.options,r);i&&a.delayNextStep(i),r===t.element&&(u=a.currentTimeline),Op(n,e.animation,a),a.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,a.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(s),u&&(t.currentTimeline.mergeTimelineCollectedStyles(u),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e},e.prototype.visitStagger=function(e,t){var n=t.parentContext,r=t.currentTimeline,o=e.timings,i=Math.abs(o.duration),s=i*(t.currentQueryTotal-1),a=i*t.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":a=s-a;break;case"full":a=n.currentStaggerTime}var u=t.currentTimeline;a&&u.delayNextStep(a);var l=u.currentTime;Op(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=r.currentTime-l+(r.startTime-n.currentTimeline.startTime)},e}(),Zp={},Wp=function(){function e(e,t,n,r,o,i,s,a){this._driver=e,this.element=t,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=o,this.errors=i,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Zp,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new $p(this._driver,t,0),s.push(this.currentTimeline)}return Object.defineProperty(e.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),e.prototype.updateOptions=function(e,t){var n=this;if(e){var r=e,o=this.options;null!=r.duration&&(o.duration=pp(r.duration)),null!=r.delay&&(o.delay=pp(r.delay));var i=r.params;if(i){var s=o.params;s||(s=this.options.params={}),Object.keys(i).forEach(function(e){t&&s.hasOwnProperty(e)||(s[e]=Cp(i[e],s,n.errors))})}}},e.prototype._copyOptions=function(){var e={};if(this.options){var t=this.options.params;if(t){var n=e.params={};Object.keys(t).forEach(function(e){n[e]=t[e]})}}return e},e.prototype.createSubContext=function(t,n,r){void 0===t&&(t=null);var o=n||this.element,i=new e(this._driver,o,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(o,r||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(t),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,i.parentContext=this,this.subContextCount++,i},e.prototype.transformIntoNewTimeline=function(e){return this.previousNode=Zp,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline},e.prototype.appendInstructionToTimeline=function(e,t,n){var r={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},o=new Yp(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(o),r},e.prototype.incrementTime=function(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)},e.prototype.delayNextStep=function(e){e>0&&this.currentTimeline.delayNextStep(e)},e.prototype.invokeQuery=function(e,t,n,r,o,i){var s=[];if(r&&s.push(this.element),e.length>0){e=(e=e.replace(qp,"."+this._enterClassName)).replace(Qp,"."+this._leaveClassName);var a=this._driver.query(this.element,e,1!=n);0!==n&&(a=n<0?a.slice(a.length+n,a.length):a.slice(0,n)),s.push.apply(s,c(a))}return o||0!=s.length||i.push('`query("'+t+'")` returned zero elements. (Use `query("'+t+'", { optional: true })` if you wish to allow this.)'),s},e}(),$p=function(){function e(e,t,n,r){this._driver=e,this.element=t,this.startTime=n,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}return e.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}},e.prototype.getCurrentStyleProperties=function(){return Object.keys(this._currentKeyframe)},Object.defineProperty(e.prototype,"currentTime",{get:function(){return this.startTime+this.duration},enumerable:!0,configurable:!0}),e.prototype.delayNextStep=function(e){var t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e},e.prototype.fork=function(t,n){return this.applyStylesToKeyframe(),new e(this._driver,t,n||this.currentTime,this._elementTimelineStylesLookup)},e.prototype._loadKeyframe=function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))},e.prototype.forwardFrame=function(){this.duration+=1,this._loadKeyframe()},e.prototype.forwardTime=function(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()},e.prototype._updateStyle=function(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}},e.prototype.allowOnlyTimelineStyles=function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe},e.prototype.applyEmptyStep=function(e){var t=this;e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach(function(e){t._backFill[e]=t._globalTimelineStyles[e]||Mc,t._currentKeyframe[e]=Mc}),this._currentEmptyStepKeyframe=this._currentKeyframe},e.prototype.setStyles=function(e,t,n,r){var o=this;t&&(this._previousKeyframe.easing=t);var i=r&&r.params||{},s=function(e,t){var n,r={};return e.forEach(function(e){"*"===e?(n=n||Object.keys(t)).forEach(function(e){r[e]=Mc}):yp(e,!1,r)}),r}(e,this._globalTimelineStyles);Object.keys(s).forEach(function(e){var t=Cp(s[e],i,n);o._pendingStyles[e]=t,o._localTimelineStyles.hasOwnProperty(e)||(o._backFill[e]=o._globalTimelineStyles.hasOwnProperty(e)?o._globalTimelineStyles[e]:Mc),o._updateStyle(e,t)})},e.prototype.applyStylesToKeyframe=function(){var e=this,t=this._pendingStyles,n=Object.keys(t);0!=n.length&&(this._pendingStyles={},n.forEach(function(n){e._currentKeyframe[n]=t[n]}),Object.keys(this._localTimelineStyles).forEach(function(t){e._currentKeyframe.hasOwnProperty(t)||(e._currentKeyframe[t]=e._localTimelineStyles[t])}))},e.prototype.snapshotCurrentStyles=function(){var e=this;Object.keys(this._localTimelineStyles).forEach(function(t){var n=e._localTimelineStyles[t];e._pendingStyles[t]=n,e._updateStyle(t,n)})},e.prototype.getFinalKeyframe=function(){return this._keyframes.get(this.duration)},Object.defineProperty(e.prototype,"properties",{get:function(){var e=[];for(var t in this._currentKeyframe)e.push(t);return e},enumerable:!0,configurable:!0}),e.prototype.mergeTimelineCollectedStyles=function(e){var t=this;Object.keys(e._styleSummary).forEach(function(n){var r=t._styleSummary[n],o=e._styleSummary[n];(!r||o.time>r.time)&&t._updateStyle(n,o.value)})},e.prototype.buildKeyframes=function(){var e=this;this.applyStylesToKeyframe();var t=new Set,n=new Set,r=1===this._keyframes.size&&0===this.duration,o=[];this._keyframes.forEach(function(i,s){var a=yp(i,!0);Object.keys(a).forEach(function(e){var r=a[e];r==Hc?t.add(e):r==Mc&&n.add(e)}),r||(a.offset=s/e.duration),o.push(a)});var i=t.size?Sp(t.values()):[],s=n.size?Sp(n.values()):[];if(r){var a=o[0],u=dp(a);a.offset=0,u.offset=1,o=[a,u]}return zp(this.element,o,i,s,this.duration,this.startTime,this.easing,!1)},e}(),Yp=function(e){function t(t,n,r,o,i,s,a){void 0===a&&(a=!1);var u=e.call(this,t,n,s.delay)||this;return u.element=n,u.keyframes=r,u.preStyleProps=o,u.postStyleProps=i,u._stretchStartingKeyframe=a,u.timings={duration:s.duration,delay:s.delay,easing:s.easing},u}return o(t,e),t.prototype.containsAnimation=function(){return this.keyframes.length>1},t.prototype.buildKeyframes=function(){var e=this.keyframes,t=this.timings,n=t.delay,r=t.duration,o=t.easing;if(this._stretchStartingKeyframe&&n){var i=[],s=r+n,a=n/s,u=yp(e[0],!1);u.offset=0,i.push(u);var l=yp(e[0],!1);l.offset=Jp(a),i.push(l);for(var c=e.length-1,p=1;p<=c;p++){var f=yp(e[p],!1);f.offset=Jp((n+f.offset*r)/s),i.push(f)}r=s,n=0,o="",e=i}return zp(this.element,e,this.preStyleProps,this.postStyleProps,r,n,o,!0)},t}($p);function Jp(e,t){void 0===t&&(t=3);var n=Math.pow(10,t-1);return Math.round(e*n)/n}var Xp=function(){return function(){}}(),ef=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.normalizePropertyName=function(e,t){return kp(e)},t.prototype.normalizeStyleValue=function(e,t,n,r){var o="",i=n.toString().trim();if(tf[t]&&0!==n&&"0"!==n)if("number"==typeof n)o="px";else{var s=n.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&0==s[1].length&&r.push("Please provide a CSS unit value for "+e+":"+n)}return i+o},t}(Xp),tf=nf("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(","));function nf(e){var t={};return e.forEach(function(e){return t[e]=!0}),t}function rf(e,t,n,r,o,i,s,a,u,l,c,p,f){return{type:0,element:e,triggerName:t,isRemovalTransition:o,fromState:n,fromStyles:i,toState:r,toStyles:s,timelines:a,queriedElements:u,preStyleProps:l,postStyleProps:c,totalTime:p,errors:f}}var of={},sf=function(){function e(e,t,n){this._triggerName=e,this.ast=t,this._stateStyles=n}return e.prototype.match=function(e,t,n,r){return function(e,t,n,r,o){return e.some(function(e){return e(t,n,r,o)})}(this.ast.matchers,e,t,n,r)},e.prototype.buildStyles=function(e,t,n){var r=this._stateStyles["*"],o=this._stateStyles[e],i=r?r.buildStyles(t,n):{};return o?o.buildStyles(t,n):i},e.prototype.build=function(e,t,n,r,o,s,a,u,l,c){var p=[],f=this.ast.options&&this.ast.options.params||of,h=this.buildStyles(n,a&&a.params||of,p),d=u&&u.params||of,y=this.buildStyles(r,d,p),m=new Set,v=new Map,g=new Map,_="void"===r,b={params:i({},f,d)},w=c?[]:Gp(e,t,this.ast.animation,o,s,h,y,b,l,p),E=0;if(w.forEach(function(e){E=Math.max(e.duration+e.delay,E)}),p.length)return rf(t,this._triggerName,n,r,_,h,y,[],[],v,g,E,p);w.forEach(function(e){var n=e.element,r=Kc(v,n,{});e.preStyleProps.forEach(function(e){return r[e]=!0});var o=Kc(g,n,{});e.postStyleProps.forEach(function(e){return o[e]=!0}),n!==t&&m.add(n)});var C=Sp(m.values());return rf(t,this._triggerName,n,r,_,h,y,w,C,v,g,E)},e}(),af=function(){function e(e,t){this.styles=e,this.defaultParams=t}return e.prototype.buildStyles=function(e,t){var n={},r=dp(this.defaultParams);return Object.keys(e).forEach(function(t){var n=e[t];null!=n&&(r[t]=n)}),this.styles.styles.forEach(function(e){if("string"!=typeof e){var o=e;Object.keys(o).forEach(function(e){var i=o[e];i.length>1&&(i=Cp(i,r,t)),n[e]=i})}}),n},e}(),uf=function(){function e(e,t){var n=this;this.name=e,this.ast=t,this.transitionFactories=[],this.states={},t.states.forEach(function(e){n.states[e.name]=new af(e.style,e.options&&e.options.params||{})}),lf(this.states,"true","1"),lf(this.states,"false","0"),t.transitions.forEach(function(t){n.transitionFactories.push(new sf(e,t,n.states))}),this.fallbackTransition=new sf(e,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(e,t){return!0}],options:null,queryCount:0,depCount:0},this.states)}return Object.defineProperty(e.prototype,"containsQueries",{get:function(){return this.ast.queryCount>0},enumerable:!0,configurable:!0}),e.prototype.matchTransition=function(e,t,n,r){return this.transitionFactories.find(function(o){return o.match(e,t,n,r)})||null},e.prototype.matchStyles=function(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)},e}();function lf(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}var cf=new Up,pf=function(){function e(e,t,n){this.bodyNode=e,this._driver=t,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}return e.prototype.register=function(e,t){var n=[],r=Rp(this._driver,t,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[e]=r},e.prototype._buildPlayer=function(e,t,n){var r=e.element,o=Uc(0,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(r,o,e.duration,e.delay,e.easing,[],!0)},e.prototype.create=function(e,t,n){var r=this;void 0===n&&(n={});var o,i=[],s=this._animations[e],a=new Map;if(s?(o=Gp(this._driver,t,s,"ng-enter","ng-leave",{},{},n,cf,i)).forEach(function(e){var t=Kc(a,e.element,{});e.postStyleProps.forEach(function(e){return t[e]=null})}):(i.push("The requested animation doesn't exist or has already been destroyed"),o=[]),i.length)throw new Error("Unable to create the animation due to the following errors: "+i.join("\n"));a.forEach(function(e,t){Object.keys(e).forEach(function(n){e[n]=r._driver.computeStyle(t,n,Mc)})});var u=zc(o.map(function(e){var t=a.get(e.element);return r._buildPlayer(e,{},t)}));return this._playersById[e]=u,u.onDestroy(function(){return r.destroy(e)}),this.players.push(u),u},e.prototype.destroy=function(e){var t=this._getPlayer(e);t.destroy(),delete this._playersById[e];var n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)},e.prototype._getPlayer=function(e){var t=this._playersById[e];if(!t)throw new Error("Unable to find the timeline player referenced by "+e);return t},e.prototype.listen=function(e,t,n,r){var o=Gc(t,"","","");return qc(this._getPlayer(e),n,o,r),function(){}},e.prototype.command=function(e,t,n,r){if("register"!=n)if("create"!=n){var o=this._getPlayer(e);switch(n){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(e)}}else this.create(e,t,r[0]||{});else this.register(e,r[0])},e}(),ff=[],hf={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},df={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},yf="__ng_removed",mf=function(){function e(e,t){void 0===t&&(t=""),this.namespaceId=t;var n=e&&e.hasOwnProperty("value");if(this.value=function(e){return null!=e?e:null}(n?e.value:e),n){var r=dp(e);delete r.value,this.options=r}else this.options={};this.options.params||(this.options.params={})}return Object.defineProperty(e.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),e.prototype.absorbOptions=function(e){var t=e.params;if(t){var n=this.options.params;Object.keys(t).forEach(function(e){null==n[e]&&(n[e]=t[e])})}},e}(),vf=new mf("void"),gf=function(){function e(e,t,n){this.id=e,this.hostElement=t,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,kf(t,this._hostClassName)}return e.prototype.listen=function(e,t,n,r){var o,i=this;if(!this._triggers.hasOwnProperty(t))throw new Error('Unable to listen on the animation trigger event "'+n+'" because the animation trigger "'+t+"\" doesn't exist!");if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'+t+'" because the provided event is undefined!');if("start"!=(o=n)&&"done"!=o)throw new Error('The provided animation trigger event "'+n+'" for the animation trigger "'+t+'" is not supported!');var s=Kc(this._elementListeners,e,[]),a={name:t,phase:n,callback:r};s.push(a);var u=Kc(this._engine.statesByElement,e,{});return u.hasOwnProperty(t)||(kf(e,"ng-trigger"),kf(e,"ng-trigger-"+t),u[t]=vf),function(){i._engine.afterFlush(function(){var e=s.indexOf(a);e>=0&&s.splice(e,1),i._triggers[t]||delete u[t]})}},e.prototype.register=function(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)},e.prototype._getTrigger=function(e){var t=this._triggers[e];if(!t)throw new Error('The provided animation trigger "'+e+'" has not been registered!');return t},e.prototype.trigger=function(e,t,n,r){var o=this;void 0===r&&(r=!0);var i=this._getTrigger(t),s=new bf(this.id,t,e),a=this._engine.statesByElement.get(e);a||(kf(e,"ng-trigger"),kf(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,a={}));var u=a[t],l=new mf(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&u&&l.absorbOptions(u.options),a[t]=l,u||(u=vf),"void"===l.value||u.value!==l.value){var c=Kc(this._engine.playersByElement,e,[]);c.forEach(function(e){e.namespaceId==o.id&&e.triggerName==t&&e.queued&&e.destroy()});var p=i.matchTransition(u.value,l.value,e,l.params),f=!1;if(!p){if(!r)return;p=i.fallbackTransition,f=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:p,fromState:u,toState:l,player:s,isFallbackTransition:f}),f||(kf(e,"ng-animate-queued"),s.onStart(function(){xf(e,"ng-animate-queued")})),s.onDone(function(){var t=o.players.indexOf(s);t>=0&&o.players.splice(t,1);var n=o._engine.playersByElement.get(e);if(n){var r=n.indexOf(s);r>=0&&n.splice(r,1)}}),this.players.push(s),c.push(s),s}if(!function(e,t){var n=Object.keys(e),r=Object.keys(t);if(n.length!=r.length)return!1;for(var o=0;o<n.length;o++){var i=n[o];if(!t.hasOwnProperty(i)||e[i]!==t[i])return!1}return!0}(u.params,l.params)){var h=[],d=i.matchStyles(u.value,u.params,h),y=i.matchStyles(l.value,l.params,h);h.length?this._engine.reportError(h):this._engine.afterFlush(function(){_p(e,d),gp(e,y)})}},e.prototype.deregister=function(e){var t=this;delete this._triggers[e],this._engine.statesByElement.forEach(function(t,n){delete t[e]}),this._elementListeners.forEach(function(n,r){t._elementListeners.set(r,n.filter(function(t){return t.name!=e}))})},e.prototype.clearElementCache=function(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);var t=this._engine.playersByElement.get(e);t&&(t.forEach(function(e){return e.destroy()}),this._engine.playersByElement.delete(e))},e.prototype._signalRemovalForInnerTriggers=function(e,t,n){var r=this;void 0===n&&(n=!1),this._engine.driver.query(e,".ng-trigger",!0).forEach(function(e){if(!e[yf]){var n=r._engine.fetchNamespacesByElement(e);n.size?n.forEach(function(n){return n.triggerLeaveAnimation(e,t,!1,!0)}):r.clearElementCache(e)}})},e.prototype.triggerLeaveAnimation=function(e,t,n,r){var o=this,i=this._engine.statesByElement.get(e);if(i){var s=[];if(Object.keys(i).forEach(function(t){if(o._triggers[t]){var n=o.trigger(e,t,"void",r);n&&s.push(n)}}),s.length)return this._engine.markElementAsRemoved(this.id,e,!0,t),n&&zc(s).onDone(function(){return o._engine.processLeaveNode(e)}),!0}return!1},e.prototype.prepareLeaveAnimationListeners=function(e){var t=this,n=this._elementListeners.get(e);if(n){var r=new Set;n.forEach(function(n){var o=n.name;if(!r.has(o)){r.add(o);var i=t._triggers[o].fallbackTransition,s=t._engine.statesByElement.get(e)[o]||vf,a=new mf("void"),u=new bf(t.id,o,e);t._engine.totalQueuedPlayers++,t._queue.push({element:e,triggerName:o,transition:i,fromState:s,toState:a,player:u,isFallbackTransition:!0})}})}},e.prototype.removeNode=function(e,t){var n=this,r=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t,!0),!this.triggerLeaveAnimation(e,t,!0)){var o=!1;if(r.totalAnimations){var i=r.players.length?r.playersByQueriedElement.get(e):[];if(i&&i.length)o=!0;else for(var s=e;s=s.parentNode;)if(r.statesByElement.get(s)){o=!0;break}}this.prepareLeaveAnimationListeners(e),o?r.markElementAsRemoved(this.id,e,!1,t):(r.afterFlush(function(){return n.clearElementCache(e)}),r.destroyInnerAnimations(e),r._onRemovalComplete(e,t))}},e.prototype.insertNode=function(e,t){kf(e,this._hostClassName)},e.prototype.drainQueuedTransitions=function(e){var t=this,n=[];return this._queue.forEach(function(r){var o=r.player;if(!o.destroyed){var i=r.element,s=t._elementListeners.get(i);s&&s.forEach(function(t){if(t.name==r.triggerName){var n=Gc(i,r.triggerName,r.fromState.value,r.toState.value);n._data=e,qc(r.player,t.phase,n,t.callback)}}),o.markedForDestroy?t._engine.afterFlush(function(){o.destroy()}):n.push(r)}}),this._queue=[],n.sort(function(e,n){var r=e.transition.ast.depCount,o=n.transition.ast.depCount;return 0==r||0==o?r-o:t._engine.driver.containsElement(e.element,n.element)?1:-1})},e.prototype.destroy=function(e){this.players.forEach(function(e){return e.destroy()}),this._signalRemovalForInnerTriggers(this.hostElement,e)},e.prototype.elementContainsData=function(e){var t=!1;return this._elementListeners.has(e)&&(t=!0),!!this._queue.find(function(t){return t.element===e})||t},e}(),_f=function(){function e(e,t,n){this.bodyNode=e,this.driver=t,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=function(e,t){}}return e.prototype._onRemovalComplete=function(e,t){this.onRemovalComplete(e,t)},Object.defineProperty(e.prototype,"queuedPlayers",{get:function(){var e=[];return this._namespaceList.forEach(function(t){t.players.forEach(function(t){t.queued&&e.push(t)})}),e},enumerable:!0,configurable:!0}),e.prototype.createNamespace=function(e,t){var n=new gf(e,t,this);return t.parentNode?this._balanceNamespaceList(n,t):(this.newHostElements.set(t,n),this.collectEnterElement(t)),this._namespaceLookup[e]=n},e.prototype._balanceNamespaceList=function(e,t){var n=this._namespaceList.length-1;if(n>=0){for(var r=!1,o=n;o>=0;o--)if(this.driver.containsElement(this._namespaceList[o].hostElement,t)){this._namespaceList.splice(o+1,0,e),r=!0;break}r||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e},e.prototype.register=function(e,t){var n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n},e.prototype.registerTrigger=function(e,t,n){var r=this._namespaceLookup[e];r&&r.register(t,n)&&this.totalAnimations++},e.prototype.destroy=function(e,t){var n=this;if(e){var r=this._fetchNamespace(e);this.afterFlush(function(){n.namespacesByHostElement.delete(r.hostElement),delete n._namespaceLookup[e];var t=n._namespaceList.indexOf(r);t>=0&&n._namespaceList.splice(t,1)}),this.afterFlushAnimationsDone(function(){return r.destroy(t)})}},e.prototype._fetchNamespace=function(e){return this._namespaceLookup[e]},e.prototype.fetchNamespacesByElement=function(e){var t=new Set,n=this.statesByElement.get(e);if(n)for(var r=Object.keys(n),o=0;o<r.length;o++){var i=n[r[o]].namespaceId;if(i){var s=this._fetchNamespace(i);s&&t.add(s)}}return t},e.prototype.trigger=function(e,t,n,r){if(wf(t)){var o=this._fetchNamespace(e);if(o)return o.trigger(t,n,r),!0}return!1},e.prototype.insertNode=function(e,t,n,r){if(wf(t)){var o=t[yf];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;var i=this.collectedLeaveElements.indexOf(t);i>=0&&this.collectedLeaveElements.splice(i,1)}if(e){var s=this._fetchNamespace(e);s&&s.insertNode(t,n)}r&&this.collectEnterElement(t)}},e.prototype.collectEnterElement=function(e){this.collectedEnterElements.push(e)},e.prototype.markElementAsDisabled=function(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),kf(e,"ng-animate-disabled")):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),xf(e,"ng-animate-disabled"))},e.prototype.removeNode=function(e,t,n){if(wf(t)){var r=e?this._fetchNamespace(e):null;r?r.removeNode(t,n):this.markElementAsRemoved(e,t,!1,n)}else this._onRemovalComplete(t,n)},e.prototype.markElementAsRemoved=function(e,t,n,r){this.collectedLeaveElements.push(t),t[yf]={namespaceId:e,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}},e.prototype.listen=function(e,t,n,r,o){return wf(t)?this._fetchNamespace(e).listen(t,n,r,o):function(){}},e.prototype._buildInstruction=function(e,t,n,r,o){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,r,e.fromState.options,e.toState.options,t,o)},e.prototype.destroyInnerAnimations=function(e){var t=this,n=this.driver.query(e,".ng-trigger",!0);n.forEach(function(e){return t.destroyActiveAnimationsForElement(e)}),0!=this.playersByQueriedElement.size&&(n=this.driver.query(e,".ng-animating",!0)).forEach(function(e){return t.finishActiveQueriedAnimationOnElement(e)})},e.prototype.destroyActiveAnimationsForElement=function(e){var t=this.playersByElement.get(e);t&&t.forEach(function(e){e.queued?e.markedForDestroy=!0:e.destroy()})},e.prototype.finishActiveQueriedAnimationOnElement=function(e){var t=this.playersByQueriedElement.get(e);t&&t.forEach(function(e){return e.finish()})},e.prototype.whenRenderingDone=function(){var e=this;return new Promise(function(t){if(e.players.length)return zc(e.players).onDone(function(){return t()});t()})},e.prototype.processLeaveNode=function(e){var t=this,n=e[yf];if(n&&n.setForRemoval){if(e[yf]=hf,n.namespaceId){this.destroyInnerAnimations(e);var r=this._fetchNamespace(n.namespaceId);r&&r.clearElementCache(e)}this._onRemovalComplete(e,n.setForRemoval)}this.driver.matchesElement(e,".ng-animate-disabled")&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach(function(n){t.markElementAsDisabled(e,!1)})},e.prototype.flush=function(e){var t=this;void 0===e&&(e=-1);var n=[];if(this.newHostElements.size&&(this.newHostElements.forEach(function(e,n){return t._balanceNamespaceList(e,n)}),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var r=0;r<this.collectedEnterElements.length;r++)kf(this.collectedEnterElements[r],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){var o=[];try{n=this._flushAnimations(o,e)}finally{for(r=0;r<o.length;r++)o[r]()}}else for(r=0;r<this.collectedLeaveElements.length;r++)this.processLeaveNode(this.collectedLeaveElements[r]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(function(e){return e()}),this._flushFns=[],this._whenQuietFns.length){var i=this._whenQuietFns;this._whenQuietFns=[],n.length?zc(n).onDone(function(){i.forEach(function(e){return e()})}):i.forEach(function(e){return e()})}},e.prototype.reportError=function(e){throw new Error("Unable to process animations due to the following failed trigger transitions\n "+e.join("\n"))},e.prototype._flushAnimations=function(e,t){var n=this,r=new Up,o=[],s=new Map,a=[],u=new Map,l=new Map,p=new Map,f=new Set;this.disabledNodes.forEach(function(e){f.add(e);for(var t=n.driver.query(e,".ng-animate-queued",!0),r=0;r<t.length;r++)f.add(t[r])});var h=this.bodyNode,d=Array.from(this.statesByElement.keys()),y=Sf(d,this.collectedEnterElements),m=new Map,v=0;y.forEach(function(e,t){var n="ng-enter"+v++;m.set(t,n),e.forEach(function(e){return kf(e,n)})});for(var g=[],_=new Set,b=new Set,w=0;w<this.collectedLeaveElements.length;w++)(j=(F=this.collectedLeaveElements[w])[yf])&&j.setForRemoval&&(g.push(F),_.add(F),j.hasAnimation?this.driver.query(F,".ng-star-inserted",!0).forEach(function(e){return _.add(e)}):b.add(F));var E=new Map,C=Sf(d,Array.from(_));C.forEach(function(e,t){var n="ng-leave"+v++;E.set(t,n),e.forEach(function(e){return kf(e,n)})}),e.push(function(){y.forEach(function(e,t){var n=m.get(t);e.forEach(function(e){return xf(e,n)})}),C.forEach(function(e,t){var n=E.get(t);e.forEach(function(e){return xf(e,n)})}),g.forEach(function(e){n.processLeaveNode(e)})});for(var S=[],T=[],k=this._namespaceList.length-1;k>=0;k--)this._namespaceList[k].drainQueuedTransitions(t).forEach(function(e){var t=e.player,i=e.element;if(S.push(t),n.collectedEnterElements.length){var s=i[yf];if(s&&s.setForMove)return void t.destroy()}var c=!h||!n.driver.containsElement(h,i),f=E.get(i),d=m.get(i),y=n._buildInstruction(e,r,d,f,c);if(y.errors&&y.errors.length)T.push(y);else{if(c)return t.onStart(function(){return _p(i,y.fromStyles)}),t.onDestroy(function(){return gp(i,y.toStyles)}),void o.push(t);if(e.isFallbackTransition)return t.onStart(function(){return _p(i,y.fromStyles)}),t.onDestroy(function(){return gp(i,y.toStyles)}),void o.push(t);y.timelines.forEach(function(e){return e.stretchStartingKeyframe=!0}),r.append(i,y.timelines),a.push({instruction:y,player:t,element:i}),y.queriedElements.forEach(function(e){return Kc(u,e,[]).push(t)}),y.preStyleProps.forEach(function(e,t){var n=Object.keys(e);if(n.length){var r=l.get(t);r||l.set(t,r=new Set),n.forEach(function(e){return r.add(e)})}}),y.postStyleProps.forEach(function(e,t){var n=Object.keys(e),r=p.get(t);r||p.set(t,r=new Set),n.forEach(function(e){return r.add(e)})})}});if(T.length){var x=[];T.forEach(function(e){x.push("@"+e.triggerName+" has failed due to:\n"),e.errors.forEach(function(e){return x.push("- "+e+"\n")})}),S.forEach(function(e){return e.destroy()}),this.reportError(x)}var P=new Map,O=new Map;a.forEach(function(e){var t=e.element;r.has(t)&&(O.set(t,t),n._beforeAnimationBuild(e.player.namespaceId,e.instruction,P))}),o.forEach(function(e){var t=e.element;n._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(function(e){Kc(P,t,[]).push(e),e.destroy()})});var A=g.filter(function(e){return Of(e,l,p)}),N=new Map;Cf(N,this.driver,b,p,Mc).forEach(function(e){Of(e,l,p)&&A.push(e)});var I=new Map;y.forEach(function(e,t){Cf(I,n.driver,new Set(e),l,Hc)}),A.forEach(function(e){var t=N.get(e),n=I.get(e);N.set(e,i({},t,n))});var D=[],M=[],V={};a.forEach(function(e){var t=e.element,i=e.player,a=e.instruction;if(r.has(t)){if(f.has(t))return i.onDestroy(function(){return gp(t,a.toStyles)}),i.disabled=!0,i.overrideTotalTime(a.totalTime),void o.push(i);var u=V;if(O.size>1){for(var l=t,c=[];l=l.parentNode;){var p=O.get(l);if(p){u=p;break}c.push(l)}c.forEach(function(e){return O.set(e,u)})}var h=n._buildAnimation(i.namespaceId,a,P,s,I,N);if(i.setRealPlayer(h),u===V)D.push(i);else{var d=n.playersByElement.get(u);d&&d.length&&(i.parentPlayer=zc(d)),o.push(i)}}else _p(t,a.fromStyles),i.onDestroy(function(){return gp(t,a.toStyles)}),M.push(i),f.has(t)&&o.push(i)}),M.forEach(function(e){var t=s.get(e.element);if(t&&t.length){var n=zc(t);e.setRealPlayer(n)}}),o.forEach(function(e){e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(var R=0;R<g.length;R++){var F,j=(F=g[R])[yf];if(xf(F,"ng-leave"),!j||!j.hasAnimation){var L=[];if(u.size){var H=u.get(F);H&&H.length&&L.push.apply(L,c(H));for(var B=this.driver.query(F,".ng-animating",!0),z=0;z<B.length;z++){var U=u.get(B[z]);U&&U.length&&L.push.apply(L,c(U))}}var q=L.filter(function(e){return!e.destroyed});q.length?Pf(this,F,q):this.processLeaveNode(F)}}return g.length=0,D.forEach(function(e){n.players.push(e),e.onDone(function(){e.destroy();var t=n.players.indexOf(e);n.players.splice(t,1)}),e.play()}),D},e.prototype.elementContainsData=function(e,t){var n=!1,r=t[yf];return r&&r.setForRemoval&&(n=!0),this.playersByElement.has(t)&&(n=!0),this.playersByQueriedElement.has(t)&&(n=!0),this.statesByElement.has(t)&&(n=!0),this._fetchNamespace(e).elementContainsData(t)||n},e.prototype.afterFlush=function(e){this._flushFns.push(e)},e.prototype.afterFlushAnimationsDone=function(e){this._whenQuietFns.push(e)},e.prototype._getPreviousPlayers=function(e,t,n,r,o){var i=[];if(t){var s=this.playersByQueriedElement.get(e);s&&(i=s)}else{var a=this.playersByElement.get(e);if(a){var u=!o||"void"==o;a.forEach(function(e){e.queued||(u||e.triggerName==r)&&i.push(e)})}}return(n||r)&&(i=i.filter(function(e){return!(n&&n!=e.namespaceId||r&&r!=e.triggerName)})),i},e.prototype._beforeAnimationBuild=function(e,t,n){var r,o,i=t.element,s=t.isRemovalTransition?void 0:e,a=t.isRemovalTransition?void 0:t.triggerName,l=function(e){var r=e.element,o=r!==i,u=Kc(n,r,[]);c._getPreviousPlayers(r,o,s,a,t.toState).forEach(function(e){var t=e.getRealPlayer();t.beforeDestroy&&t.beforeDestroy(),e.destroy(),u.push(e)})},c=this;try{for(var p=u(t.timelines),f=p.next();!f.done;f=p.next())l(f.value)}catch(h){r={error:h}}finally{try{f&&!f.done&&(o=p.return)&&o.call(p)}finally{if(r)throw r.error}}_p(i,t.fromStyles)},e.prototype._buildAnimation=function(e,t,n,r,o,i){var s=this,a=t.triggerName,u=t.element,l=[],c=new Set,p=new Set,f=t.timelines.map(function(t){var f=t.element;c.add(f);var h=f[yf];if(h&&h.removedBeforeQueried)return new jc(t.duration,t.delay);var d,y,m=f!==u,v=(d=(n.get(f)||ff).map(function(e){return e.getRealPlayer()}),y=[],function e(t,n){for(var r=0;r<t.length;r++){var o=t[r];o instanceof Lc?e(o.players,n):n.push(o)}}(d,y),y).filter(function(e){return!!e.element&&e.element===f}),g=o.get(f),_=i.get(f),b=Uc(0,s._normalizer,0,t.keyframes,g,_),w=s._buildPlayer(t,b,v);if(t.subTimeline&&r&&p.add(f),m){var E=new bf(e,a,f);E.setRealPlayer(w),l.push(E)}return w});l.forEach(function(e){Kc(s.playersByQueriedElement,e.element,[]).push(e),e.onDone(function(){return function(e,t,n){var r;if(e instanceof Map){if(r=e.get(t)){if(r.length){var o=r.indexOf(n);r.splice(o,1)}0==r.length&&e.delete(t)}}else(r=e[t])&&(r.length&&(o=r.indexOf(n),r.splice(o,1)),0==r.length&&delete e[t]);return r}(s.playersByQueriedElement,e.element,e)})}),c.forEach(function(e){return kf(e,"ng-animating")});var h=zc(f);return h.onDestroy(function(){c.forEach(function(e){return xf(e,"ng-animating")}),gp(u,t.toStyles)}),p.forEach(function(e){Kc(r,e,[]).push(h)}),h},e.prototype._buildPlayer=function(e,t,n){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new jc(e.duration,e.delay)},e}(),bf=function(){function e(e,t,n){this.namespaceId=e,this.triggerName=t,this.element=n,this._player=new jc,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return e.prototype.setRealPlayer=function(e){var t=this;this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach(function(n){t._queuedCallbacks[n].forEach(function(t){return qc(e,n,void 0,t)})}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)},e.prototype.getRealPlayer=function(){return this._player},e.prototype.overrideTotalTime=function(e){this.totalTime=e},e.prototype.syncPlayerEvents=function(e){var t=this,n=this._player;n.triggerCallback&&e.onStart(function(){return n.triggerCallback("start")}),e.onDone(function(){return t.finish()}),e.onDestroy(function(){return t.destroy()})},e.prototype._queueEvent=function(e,t){Kc(this._queuedCallbacks,e,[]).push(t)},e.prototype.onDone=function(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)},e.prototype.onStart=function(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)},e.prototype.onDestroy=function(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)},e.prototype.init=function(){this._player.init()},e.prototype.hasStarted=function(){return!this.queued&&this._player.hasStarted()},e.prototype.play=function(){!this.queued&&this._player.play()},e.prototype.pause=function(){!this.queued&&this._player.pause()},e.prototype.restart=function(){!this.queued&&this._player.restart()},e.prototype.finish=function(){this._player.finish()},e.prototype.destroy=function(){this.destroyed=!0,this._player.destroy()},e.prototype.reset=function(){!this.queued&&this._player.reset()},e.prototype.setPosition=function(e){this.queued||this._player.setPosition(e)},e.prototype.getPosition=function(){return this.queued?0:this._player.getPosition()},e.prototype.triggerCallback=function(e){var t=this._player;t.triggerCallback&&t.triggerCallback(e)},e}();function wf(e){return e&&1===e.nodeType}function Ef(e,t){var n=e.style.display;return e.style.display=null!=t?t:"none",n}function Cf(e,t,n,r,o){var i=[];n.forEach(function(e){return i.push(Ef(e))});var s=[];r.forEach(function(n,r){var i={};n.forEach(function(e){var n=i[e]=t.computeStyle(r,e,o);n&&0!=n.length||(r[yf]=df,s.push(r))}),e.set(r,i)});var a=0;return n.forEach(function(e){return Ef(e,i[a++])}),s}function Sf(e,t){var n=new Map;if(e.forEach(function(e){return n.set(e,[])}),0==t.length)return n;var r=new Set(t),o=new Map;return t.forEach(function(e){var t=function e(t){if(!t)return 1;var i=o.get(t);if(i)return i;var s=t.parentNode;return i=n.has(s)?s:r.has(s)?1:e(s),o.set(t,i),i}(e);1!==t&&n.get(t).push(e)}),n}var Tf="$$classes";function kf(e,t){if(e.classList)e.classList.add(t);else{var n=e[Tf];n||(n=e[Tf]={}),n[t]=!0}}function xf(e,t){if(e.classList)e.classList.remove(t);else{var n=e[Tf];n&&delete n[t]}}function Pf(e,t,n){zc(n).onDone(function(){return e.processLeaveNode(t)})}function Of(e,t,n){var r=n.get(e);if(!r)return!1;var o=t.get(e);return o?r.forEach(function(e){return o.add(e)}):t.set(e,r),n.delete(e),!0}var Af=function(){function e(e,t,n){var r=this;this.bodyNode=e,this._driver=t,this._triggerCache={},this.onRemovalComplete=function(e,t){},this._transitionEngine=new _f(e,t,n),this._timelineEngine=new pf(e,t,n),this._transitionEngine.onRemovalComplete=function(e,t){return r.onRemovalComplete(e,t)}}return e.prototype.registerTrigger=function(e,t,n,r,o){var i=e+"-"+r,s=this._triggerCache[i];if(!s){var a=[],u=Rp(this._driver,o,a);if(a.length)throw new Error('The animation trigger "'+r+'" has failed to build due to the following errors:\n - '+a.join("\n - "));s=function(e,t){return new uf(e,t)}(r,u),this._triggerCache[i]=s}this._transitionEngine.registerTrigger(t,r,s)},e.prototype.register=function(e,t){this._transitionEngine.register(e,t)},e.prototype.destroy=function(e,t){this._transitionEngine.destroy(e,t)},e.prototype.onInsert=function(e,t,n,r){this._transitionEngine.insertNode(e,t,n,r)},e.prototype.onRemove=function(e,t,n){this._transitionEngine.removeNode(e,t,n)},e.prototype.disableAnimations=function(e,t){this._transitionEngine.markElementAsDisabled(e,t)},e.prototype.process=function(e,t,n,r){if("@"==n.charAt(0)){var o=l(Zc(n),2);this._timelineEngine.command(o[0],t,o[1],r)}else this._transitionEngine.trigger(e,t,n,r)},e.prototype.listen=function(e,t,n,r,o){if("@"==n.charAt(0)){var i=l(Zc(n),2);return this._timelineEngine.listen(i[0],t,i[1],o)}return this._transitionEngine.listen(e,t,n,r,o)},e.prototype.flush=function(e){void 0===e&&(e=-1),this._transitionEngine.flush(e)},Object.defineProperty(e.prototype,"players",{get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)},enumerable:!0,configurable:!0}),e.prototype.whenRenderingDone=function(){return this._transitionEngine.whenRenderingDone()},e}(),Nf="animation",If="animationend",Df=function(){function e(e,t,n,r,o,i,s){var a=this;this._element=e,this._name=t,this._duration=n,this._delay=r,this._easing=o,this._fillMode=i,this._onDoneFn=s,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=function(e){return a._handleCallback(e)}}return e.prototype.apply=function(){var e,t,n;t=this._duration+"ms "+this._easing+" "+this._delay+"ms 1 normal "+this._fillMode+" "+this._name,(n=Lf(e=this._element,"").trim()).length&&(function(e,t){for(var n=0;n<e.length;n++)","===e.charAt(n)&&0}(n),t=n+", "+t),jf(e,"",t),Ff(this._element,this._eventFn,!1),this._startTime=Date.now()},e.prototype.pause=function(){Mf(this._element,this._name,"paused")},e.prototype.resume=function(){Mf(this._element,this._name,"running")},e.prototype.setPosition=function(e){var t=Vf(this._element,this._name);this._position=e*this._duration,jf(this._element,"Delay","-"+this._position+"ms",t)},e.prototype.getPosition=function(){return this._position},e.prototype._handleCallback=function(e){var t=e._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(e.elapsedTime.toFixed(3));e.animationName==this._name&&Math.max(t-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()},e.prototype.finish=function(){this._finished||(this._finished=!0,this._onDoneFn(),Ff(this._element,this._eventFn,!0))},e.prototype.destroy=function(){var e,t,n,r;this._destroyed||(this._destroyed=!0,this.finish(),t=this._name,(r=Rf(n=Lf(e=this._element,"").split(","),t))>=0&&(n.splice(r,1),jf(e,"",n.join(","))))},e}();function Mf(e,t,n){jf(e,"PlayState",n,Vf(e,t))}function Vf(e,t){var n=Lf(e,"");return n.indexOf(",")>0?Rf(n.split(","),t):Rf([n],t)}function Rf(e,t){for(var n=0;n<e.length;n++)if(e[n].indexOf(t)>=0)return n;return-1}function Ff(e,t,n){n?e.removeEventListener(If,t):e.addEventListener(If,t)}function jf(e,t,n,r){var o=Nf+t;if(null!=r){var i=e.style[o];if(i.length){var s=i.split(",");s[r]=n,n=s.join(",")}}e.style[o]=n}function Lf(e,t){return e.style[Nf+t]}var Hf="linear",Bf=function(){function e(e,t,n,r,o,i,s){this.element=e,this.keyframes=t,this.animationName=n,this._duration=r,this._delay=o,this._finalStyles=s,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=i||Hf,this.totalTime=r+o,this._buildStyler()}return e.prototype.onStart=function(e){this._onStartFns.push(e)},e.prototype.onDone=function(e){this._onDoneFns.push(e)},e.prototype.onDestroy=function(e){this._onDestroyFns.push(e)},e.prototype.destroy=function(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])},e.prototype._flushDoneFns=function(){this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[]},e.prototype._flushStartFns=function(){this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[]},e.prototype.finish=function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._flushDoneFns())},e.prototype.setPosition=function(e){this._styler.setPosition(e)},e.prototype.getPosition=function(){return this._styler.getPosition()},e.prototype.hasStarted=function(){return this._state>=2},e.prototype.init=function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())},e.prototype.play=function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2),this._styler.resume()},e.prototype.pause=function(){this.init(),this._styler.pause()},e.prototype.restart=function(){this.reset(),this.play()},e.prototype.reset=function(){this._styler.destroy(),this._buildStyler(),this._styler.apply()},e.prototype._buildStyler=function(){var e=this;this._styler=new Df(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",function(){return e.finish()})},e.prototype.triggerCallback=function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0},e.prototype.beforeDestroy=function(){var e=this;this.init();var t={};if(this.hasStarted()){var n=this._state>=3;Object.keys(this._finalStyles).forEach(function(r){"offset"!=r&&(t[r]=n?e._finalStyles[r]:Ap(e.element,r))})}this.currentSnapshot=t},e}(),zf=function(e){function t(t,n){var r=e.call(this)||this;return r.element=t,r._startingStyles={},r.__initialized=!1,r._styles=ap(n),r}return o(t,e),t.prototype.init=function(){var t=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(function(e){t._startingStyles[e]=t.element.style[e]}),e.prototype.init.call(this))},t.prototype.play=function(){var t=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(function(e){return t.element.style.setProperty(e,t._styles[e])}),e.prototype.play.call(this))},t.prototype.destroy=function(){var t=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach(function(e){var n=t._startingStyles[e];n?t.element.style.setProperty(e,n):t.element.style.removeProperty(e)}),this._startingStyles=null,e.prototype.destroy.call(this))},t}(jc),Uf=function(){function e(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}return e.prototype.validateStyleProperty=function(e){return rp(e)},e.prototype.matchesElement=function(e,t){return op(e,t)},e.prototype.containsElement=function(e,t){return ip(e,t)},e.prototype.query=function(e,t,n){return sp(e,t,n)},e.prototype.computeStyle=function(e,t,n){return window.getComputedStyle(e)[t]},e.prototype.buildKeyframeElement=function(e,t,n){n=n.map(function(e){return ap(e)});var r="@keyframes "+t+" {\n",o="";n.forEach(function(e){o=" ";var t=parseFloat(e.offset);r+=""+o+100*t+"% {\n",o+=" ",Object.keys(e).forEach(function(t){var n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(r+=o+"animation-timing-function: "+n+";\n"));default:return void(r+=""+o+t+": "+n+";\n")}}),r+=o+"}\n"}),r+="}\n";var i=document.createElement("style");return i.innerHTML=r,i},e.prototype.animate=function(e,t,n,r,o,i,s){void 0===i&&(i=[]),s&&this._notifyFaultyScrubber();var a=i.filter(function(e){return e instanceof Bf}),u={};xp(n,r)&&a.forEach(function(e){var t=e.currentSnapshot;Object.keys(t).forEach(function(e){return u[e]=t[e]})});var l=function(e){var t={};return e&&(Array.isArray(e)?e:[e]).forEach(function(e){Object.keys(e).forEach(function(n){"offset"!=n&&"easing"!=n&&(t[n]=e[n])})}),t}(t=Pp(e,t,u));if(0==n)return new zf(e,l);var c="gen_css_kf_"+this._count++,p=this.buildKeyframeElement(e,c,t);document.querySelector("head").appendChild(p);var f=new Bf(e,t,c,n,r,o,l);return f.onDestroy(function(){var e;(e=p).parentNode.removeChild(e)}),f},e.prototype._notifyFaultyScrubber=function(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n"," visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)},e}(),qf=function(){function e(e,t,n){this.element=e,this.keyframes=t,this.options=n,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}return e.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])},e.prototype.init=function(){this._buildPlayer(),this._preparePlayerBeforeStart()},e.prototype._buildPlayer=function(){var e=this;if(!this._initialized){this._initialized=!0;var t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",function(){return e._onFinish()})}},e.prototype._preparePlayerBeforeStart=function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()},e.prototype._triggerWebAnimation=function(e,t,n){return e.animate(t,n)},e.prototype.onStart=function(e){this._onStartFns.push(e)},e.prototype.onDone=function(e){this._onDoneFns.push(e)},e.prototype.onDestroy=function(e){this._onDestroyFns.push(e)},e.prototype.play=function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[],this._started=!0),this.domPlayer.play()},e.prototype.pause=function(){this.init(),this.domPlayer.pause()},e.prototype.finish=function(){this.init(),this._onFinish(),this.domPlayer.finish()},e.prototype.reset=function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1},e.prototype._resetDomPlayerState=function(){this.domPlayer&&this.domPlayer.cancel()},e.prototype.restart=function(){this.reset(),this.play()},e.prototype.hasStarted=function(){return this._started},e.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])},e.prototype.setPosition=function(e){this.domPlayer.currentTime=e*this.time},e.prototype.getPosition=function(){return this.domPlayer.currentTime/this.time},Object.defineProperty(e.prototype,"totalTime",{get:function(){return this._delay+this._duration},enumerable:!0,configurable:!0}),e.prototype.beforeDestroy=function(){var e=this,t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(function(n){"offset"!=n&&(t[n]=e._finished?e._finalKeyframe[n]:Ap(e.element,n))}),this.currentSnapshot=t},e.prototype.triggerCallback=function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0},e}(),Qf=function(){function e(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Gf().toString()),this._cssKeyframesDriver=new Uf}return e.prototype.validateStyleProperty=function(e){return rp(e)},e.prototype.matchesElement=function(e,t){return op(e,t)},e.prototype.containsElement=function(e,t){return ip(e,t)},e.prototype.query=function(e,t,n){return sp(e,t,n)},e.prototype.computeStyle=function(e,t,n){return window.getComputedStyle(e)[t]},e.prototype.overrideWebAnimationsSupport=function(e){this._isNativeImpl=e},e.prototype.animate=function(e,t,n,r,o,i,s){if(void 0===i&&(i=[]),!s&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,n,r,o,i);var a={duration:n,delay:r,fill:0==r?"both":"forwards"};o&&(a.easing=o);var u={},l=i.filter(function(e){return e instanceof qf});return xp(n,r)&&l.forEach(function(e){var t=e.currentSnapshot;Object.keys(t).forEach(function(e){return u[e]=t[e]})}),t=Pp(e,t=t.map(function(e){return yp(e,!1)}),u),new qf(e,t,a)},e}();function Gf(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var Kf=function(e){function t(t,n){var r=e.call(this)||this;return r._nextAnimationId=0,r._renderer=t.createRenderer(n.body,{id:"0",encapsulation:Je.None,styles:[],data:{animation:[]}}),r}return o(t,e),t.prototype.build=function(e){var t=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(e)?Vc(e):e;return $f(this._renderer,null,t,"register",[n]),new Zf(t,this._renderer)},t}(Ic),Zf=function(e){function t(t,n){var r=e.call(this)||this;return r._id=t,r._renderer=n,r}return o(t,e),t.prototype.create=function(e,t){return new Wf(this._id,e,t||{},this._renderer)},t}(Dc),Wf=function(){function e(e,t,n,r){this.id=e,this.element=t,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}return e.prototype._listen=function(e,t){return this._renderer.listen(this.element,"@@"+this.id+":"+e,t)},e.prototype._command=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return $f(this._renderer,this.element,this.id,e,t)},e.prototype.onDone=function(e){this._listen("done",e)},e.prototype.onStart=function(e){this._listen("start",e)},e.prototype.onDestroy=function(e){this._listen("destroy",e)},e.prototype.init=function(){this._command("init")},e.prototype.hasStarted=function(){return this._started},e.prototype.play=function(){this._command("play"),this._started=!0},e.prototype.pause=function(){this._command("pause")},e.prototype.restart=function(){this._command("restart")},e.prototype.finish=function(){this._command("finish")},e.prototype.destroy=function(){this._command("destroy")},e.prototype.reset=function(){this._command("reset")},e.prototype.setPosition=function(e){this._command("setPosition",e)},e.prototype.getPosition=function(){return 0},e}();function $f(e,t,n,r,o){return e.setProperty(t,"@@"+n+":"+r,o)}var Yf=function(){function e(e,t,n){this.delegate=e,this.engine=t,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),t.onRemovalComplete=function(e,t){t&&t.parentNode(e)&&t.removeChild(e.parentNode,e)}}return e.prototype.createRenderer=function(e,t){var n=this,r=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){var o=this._rendererCache.get(r);return o||(o=new Jf("",r,this.engine),this._rendererCache.set(r,o)),o}var i=t.id,s=t.id+"-"+this._currentId;return this._currentId++,this.engine.register(s,e),t.data.animation.forEach(function(t){return n.engine.registerTrigger(i,s,e,t.name,t)}),new Xf(this,s,r,this.engine)},e.prototype.begin=function(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()},e.prototype._scheduleCountTask=function(){var e=this;this.promise.then(function(){e._microtaskId++})},e.prototype.scheduleListenerCallback=function(e,t,n){var r=this;e>=0&&e<this._microtaskId?this._zone.run(function(){return t(n)}):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(function(){r._zone.run(function(){r._animationCallbacksBuffer.forEach(function(e){var t=l(e,2);(0,t[0])(t[1])}),r._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([t,n]))},e.prototype.end=function(){var e=this;this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(function(){e._scheduleCountTask(),e.engine.flush(e._microtaskId)}),this.delegate.end&&this.delegate.end()},e.prototype.whenRenderingDone=function(){return this.engine.whenRenderingDone()},e}(),Jf=function(){function e(e,t,n){this.namespaceId=e,this.delegate=t,this.engine=n,this.destroyNode=this.delegate.destroyNode?function(e){return t.destroyNode(e)}:null}return Object.defineProperty(e.prototype,"data",{get:function(){return this.delegate.data},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()},e.prototype.createElement=function(e,t){return this.delegate.createElement(e,t)},e.prototype.createComment=function(e){return this.delegate.createComment(e)},e.prototype.createText=function(e){return this.delegate.createText(e)},e.prototype.appendChild=function(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)},e.prototype.insertBefore=function(e,t,n){this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,!0)},e.prototype.removeChild=function(e,t){this.engine.onRemove(this.namespaceId,t,this.delegate)},e.prototype.selectRootElement=function(e){return this.delegate.selectRootElement(e)},e.prototype.parentNode=function(e){return this.delegate.parentNode(e)},e.prototype.nextSibling=function(e){return this.delegate.nextSibling(e)},e.prototype.setAttribute=function(e,t,n,r){this.delegate.setAttribute(e,t,n,r)},e.prototype.removeAttribute=function(e,t,n){this.delegate.removeAttribute(e,t,n)},e.prototype.addClass=function(e,t){this.delegate.addClass(e,t)},e.prototype.removeClass=function(e,t){this.delegate.removeClass(e,t)},e.prototype.setStyle=function(e,t,n,r){this.delegate.setStyle(e,t,n,r)},e.prototype.removeStyle=function(e,t,n){this.delegate.removeStyle(e,t,n)},e.prototype.setProperty=function(e,t,n){"@"==t.charAt(0)&&"@.disabled"==t?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)},e.prototype.setValue=function(e,t){this.delegate.setValue(e,t)},e.prototype.listen=function(e,t,n){return this.delegate.listen(e,t,n)},e.prototype.disableAnimations=function(e,t){this.engine.disableAnimations(e,t)},e}(),Xf=function(e){function t(t,n,r,o){var i=e.call(this,n,r,o)||this;return i.factory=t,i.namespaceId=n,i}return o(t,e),t.prototype.setProperty=function(e,t,n){"@"==t.charAt(0)?"."==t.charAt(1)&&"@.disabled"==t?this.disableAnimations(e,n=void 0===n||!!n):this.engine.process(this.namespaceId,e,t.substr(1),n):this.delegate.setProperty(e,t,n)},t.prototype.listen=function(e,t,n){var r,o,i,s=this;if("@"==t.charAt(0)){var a=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(e),u=t.substr(1),c="";return"@"!=u.charAt(0)&&(u=(r=l((o=u,i=o.indexOf("."),[o.substring(0,i),o.substr(i+1)]),2))[0],c=r[1]),this.engine.listen(this.namespaceId,a,u,c,function(e){s.factory.scheduleListenerCallback(e._data||-1,n,e)})}return this.delegate.listen(e,t,n)},t}(Jf),eh=function(e){function t(t,n,r){return e.call(this,t.body,n,r)||this}return o(t,e),t}(Af);function th(){return"function"==typeof Gf()?new Qf:new Uf}function nh(){return new ef}function rh(e,t,n){return new Yf(e,t,n)}var oh=new fe("AnimationModuleType"),ih=function(){return function(){}}(),sh=As(Is,[Ds],function(e){return function(e){for(var t={},n=[],r=!1,o=0;o<e.length;o++){var i=e[o];i.token===at&&!0===i.value&&(r=!0),1073741824&i.flags&&n.push(i.token),i.index=o,t[Ir(i.token)]=i}return{factory:null,providersByKey:t,providers:e,modules:n,isRoot:r}}([go(512,Pt,Ot,[[8,[Nc]],[3,Pt],Nt]),go(5120,qn,Kn,[[3,qn]]),go(4608,ya,ma,[qn,[2,da]]),go(4608,_t,_t,[]),go(5120,pt,ft,[]),go(5120,jn,Qn,[]),go(5120,Ln,Gn,[]),go(4608,Ou,Au,[xa]),go(6144,gr,null,[Ou]),go(4608,Eu,Su,[]),go(5120,Wa,function(e,t,n,r,o,i,s,a){return[new bu(e,t,n),new Pu(r),new Tu(o,i,s,a)]},[xa,Lt,yt,xa,xa,Eu,vt,[2,Cu]]),go(4608,$a,$a,[Wa,Lt]),go(135680,Xa,Xa,[xa]),go(4608,su,su,[$a,Xa]),go(5120,lp,th,[]),go(5120,Xp,nh,[]),go(4608,Af,eh,[xa,lp,Xp]),go(5120,ln,rh,[su,Af,Lt]),go(6144,Ja,null,[Xa]),go(4608,Kt,Kt,[Lt]),go(4608,rl,rl,[]),go(4608,Ic,Kf,[ln,Ha]),go(4608,cc,pc,[xa,yt,uc]),go(4608,fc,fc,[cc,lc]),go(5120,nc,function(e){return[e]},[fc]),go(4608,sc,sc,[]),go(6144,ic,null,[sc]),go(4608,ac,ac,[ic]),go(6144,Ll,null,[ac]),go(4608,jl,hc,[Ll,Me]),go(4608,ec,ec,[jl]),go(1073742336,ka,ka,[]),go(1024,st,ju,[]),go(1024,lt,function(e){return[(t=e,Ga("probe",Za),Ga("coreTokens",i({},Ka,(t||[]).reduce(function(e,t){return e[t.name]=t.token,e},{}))),function(){return Za})];var t},[[2,en]]),go(512,ct,ct,[[2,lt]]),go(131584,sn,sn,[Lt,vt,Me,st,Pt,ct]),go(1073742336,Zn,Zn,[sn]),go(1073742336,Lu,Lu,[[3,Lu]]),go(1073742336,Ol,Ol,[]),go(1073742336,Al,Al,[]),go(1073742336,Il,Il,[]),go(1073742336,ih,ih,[]),go(1073742336,dc,dc,[]),go(1073742336,yc,yc,[]),go(1073742336,Is,Is,[]),go(256,at,!0,[]),go(256,oh,"BrowserAnimations",[]),go(256,uc,"XSRF-TOKEN",[]),go(256,lc,"X-XSRF-TOKEN",[])])});(function(){if(Yt)throw new Error("Cannot enable prod mode after platform setup.");$t=!1})(),Fu().bootstrapModuleFactory(sh).catch(function(e){return console.error(e)})}},[[0,0]]]); |