-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommon
More file actions
2 lines (2 loc) · 107 KB
/
common
File metadata and controls
2 lines (2 loc) · 107 KB
1
2
!function(){if(void 0===window.Reflect||void 0===window.customElements||window.customElements.polyfillWrapFlushCallback)return;const t=HTMLElement;window.HTMLElement=function(){return Reflect.construct(t,[],this.constructor)},HTMLElement.prototype=t.prototype,HTMLElement.prototype.constructor=HTMLElement,Object.setPrototypeOf(HTMLElement,t)}();
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,(function(t){return e[t]}).bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}({0:function(e,t,n){e.exports=n("zUnb")},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,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(u(arguments[t]));return e}var f=Array.isArray||function(e){return e&&"number"==typeof e.length};function l(e){return null!=e&&"object"==typeof e}function p(e){return"function"==typeof e}var d,h={e:{}};function v(){try{return d.apply(this,arguments)}catch(e){return h.e=e,h}}function y(e){return d=e,v}function g(e){return Error.call(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=e,this}g.prototype=Object.create(Error.prototype);var b=g,m=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(p(o)&&y(o).call(this)===h&&(t=!0,e=e||(h.e instanceof b?w(h.e.errors):[h.e])),f(i))for(s=-1,a=i.length;++s<a;){var u=i[s];if(l(u)&&y(u.unsubscribe).call(u)===h){t=!0,e=e||[];var c=h.e;c instanceof b?e=e.concat(w(c.errors)):e.push(c)}}if(t)throw new b(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 w(e){return e.reduce(function(e,t){return e.concat(t instanceof b?t.errors:t)},[])}var _=!1,C={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){_=e},get useDeprecatedSynchronousErrorHandling(){return _}};function E(e){setTimeout(function(){throw e})}var k={closed:!0,next:function(e){},error:function(e){if(C.useDeprecatedSynchronousErrorHandling)throw e;E(e)},complete:function(){}},x="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random(),T=function(e){function t(n,r,o){var i=e.call(this)||this;switch(i.syncErrorValue=null,i.syncErrorThrown=!1,i.syncErrorThrowable=!1,i.isStopped=!1,i._parentSubscription=null,arguments.length){case 0:i.destination=k;break;case 1:if(!n){i.destination=k;break}if("object"==typeof n){n instanceof t?(i.syncErrorThrowable=n.syncErrorThrowable,i.destination=n,n.add(i)):(i.syncErrorThrowable=!0,i.destination=new S(i,n));break}default:i.syncErrorThrowable=!0,i.destination=new S(i,n,r,o)}return i}return o(t,e),t.prototype[x]=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._parentSubscription=null,this},t}(m),S=function(e){function t(t,n,r,o){var i,s=e.call(this)||this;s._parentSubscriber=t;var a=s;return p(n)?i=n:n&&(i=n.next,r=n.error,o=n.complete,n!==k&&(p((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;C.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=C.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):E(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;E(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)};C.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(),C.useDeprecatedSynchronousErrorHandling)throw n;E(n)}},t.prototype.__tryOrSetError=function(e,t,n){if(!C.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(r){return C.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0,!0):(E(r),!0)}return!1},t.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()},t}(T),N="function"==typeof Symbol&&Symbol.observable||"@@observable";var I=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 T)return e;if(e[x])return e[x]()}return e||t||n?new T(e,t,n):new T(k)}(e,t,n);if(r?r.call(o,this.source):o.add(this.source||C.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),C.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){C.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){var t=e.destination;if(e.closed||e.isStopped)return!1;e=t&&t instanceof T?t:null}return!0}(e)?e.error(t):console.warn(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=O(t))(function(t,r){var o;o=n.subscribe(function(t){try{e(t)}catch(n){r(n),o&&o.unsubscribe()}},r,t)})},e.prototype._subscribe=function(e){var t=this.source;return t&&t.subscribe(e)},e.prototype[N]=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=O(e))(function(e,n){var r;t.subscribe(function(e){return r=e},function(e){return n(e)},function(){return e(r)})})},e.create=function(t){return new e(t)},e}();function O(e){if(e||(e=C.Promise||Promise),!e)throw new Error("no Promise impl found");return e}function A(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}A.prototype=Object.create(Error.prototype);var D=A,P=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}(m),j=function(e){function t(t){var n=e.call(this,t)||this;return n.destination=t,n}return o(t,e),t}(T),V=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[x]=function(){return new j(this)},t.prototype.lift=function(e){var t=new M(this,this);return t.operator=e,t},t.prototype.next=function(e){if(this.closed)throw new D;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 D;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 D;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 D;return e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){if(this.closed)throw new D;return this.hasError?(e.error(this.thrownError),m.EMPTY):this.isStopped?(e.complete(),m.EMPTY):(this.observers.push(e),new P(this,e))},t.prototype.asObservable=function(){var e=new I;return e.source=this,e},t.create=function(e,t){return new M(e,t)},t}(I),M=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):m.EMPTY},t}(V),R=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}(T),F=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,E),t}};function U(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}var Z=U(),z=function(e){return function(t){for(var n=e[Z]();;){var r=n.next();if(r.done){t.complete();break}if(t.next(r.value),t.closed)break}return"function"==typeof n.return&&t.add(function(){n.return&&n.return()}),t}},H=function(e){return function(t){var n=e[N]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(t)}},B=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};function W(e){return e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}var q=function(e){if(e instanceof I)return function(t){return e._isScalar?(t.next(e.value),void t.complete()):e.subscribe(t)};if(e&&"function"==typeof e[N])return H(e);if(B(e))return F(e);if(W(e))return L(e);if(e&&"function"==typeof e[Z])return z(e);var t=l(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.")},G=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}(T),K=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}(T);function Q(e,t){return new I(t?function(n){var r=new m,o=0;return r.add(t.schedule(function(){o!==e.length?(n.next(e[o++]),n.closed||r.add(this.schedule())):n.complete()})),r}:F(e))}var J=function(){function e(e,t){void 0===t&&(t=Number.POSITIVE_INFINITY),this.project=e,this.concurrent=t}return e.prototype.call=function(e,t){return t.subscribe(new $(e,this.project,this.concurrent))},e}(),$=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){var r,o,i=new R(this,void 0,void 0);this.destination.add(i),r=e,void 0===(o=i)&&(o=new R(this,t,n)),o.closed||q(r)(o)},t.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()},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}(G);function X(e){return e}function ee(){return function(e){return e.lift(new te(e))}}var te=function(){function e(e){this.connectable=e}return e.prototype.call=function(e,t){var n=this.connectable;n._refCount++;var r=new ne(e,n),o=t.subscribe(r);return r.closed||(r.connection=n.connect()),o},e}(),ne=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}(T),re=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 m).add(this.source.subscribe(new ie(this.getSubject(),this))),e.closed?(this._connection=null,e=m.EMPTY):this._connection=e),e},t.prototype.refCount=function(){return ee()(this)},t}(I).prototype,oe={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:re._subscribe},_isComplete:{value:re._isComplete,writable:!0},getSubject:{value:re.getSubject},connect:{value:re.connect},refCount:{value:re.refCount}},ie=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}(j);function se(){return new V}function ae(e){for(var t in e)if(e[t]===ae)return t;throw Error("Could not find renamed property on target object.")}var ue=ae({ngInjectableDef:ae});function ce(e){return{providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function fe(e){return e&&e.hasOwnProperty(ue)?e[ue]:null}var le=function(){function e(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0!==t?ce({providedIn:t.providedIn||"root",factory:t.factory}):void 0}return e.prototype.toString=function(){return"InjectionToken "+this._desc},e}(),pe="__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(pe)?e[pe]:Object.defineProperty(e,pe,{value:[]})[pe];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 he="undefined"!=typeof window&&window,ve="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,ye="undefined"!=typeof global&&global||he||ve,ge=Promise.resolve(0),be=null;function me(){if(!be){var e=ye.Symbol;if(e&&e.iterator)be=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&&(be=r)}}return be}function we(e){"undefined"==typeof Zone?ge.then(function(){e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}function _e(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)}var Ee=ae({__forward_ref__:ae});function ke(e){return e.__forward_ref__=ke,e.toString=function(){return Ce(this())},e}function xe(e){var t=e;return"function"==typeof t&&t.hasOwnProperty(Ee)&&t.__forward_ref__===ke?t():e}var Te,Se=function(e){return e[e.Emulated=0]="Emulated",e[e.Native=1]="Native",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}({}),Ne=de("Inject",function(e){return{token:e}}),Ie=de("Optional"),Oe=de("Self"),Ae=de("SkipSelf"),De=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}({}),Pe=void 0;function je(e){var t=Pe;return Pe=e,t}var Ve=/([A-Z])/g;function Me(e){try{return null!=e?e.toString().slice(0,30):e}catch(t){return"[ERROR] Exception while trying to serialize the value"}}function Re(e,t){var n=Ue(e),r=Ue(t);return n&&r?function(e,t,n){for(var r=e[me()](),o=t[me()]();;){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,Re):!(n||!e||"object"!=typeof e&&"function"!=typeof e||r||!t||"object"!=typeof t&&"function"!=typeof t)||_e(e,t)}var Fe=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}(),Le=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 Ue(e){return!(null===(t=e)||"function"!=typeof t&&"object"!=typeof t)&&(Array.isArray(e)||!(e instanceof Map)&&me()in e);var t}function Ze(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]}var ze="__source",He=new Object,Be=new le("INJECTOR"),We=function(){function e(){}return e.prototype.get=function(e,t){if(void 0===t&&(t=He),t===He)throw new Error("NullInjectorError: No provider for "+Ce(e)+"!");return t},e}(),qe=function(){function e(){}return e.create=function(e,t){return Array.isArray(e)?new nt(e,t):new nt(e.providers,e.parent,e.name||null)},e.THROW_IF_NOT_FOUND=He,e.NULL=new We,e.ngInjectableDef=ce({providedIn:"any",factory:function(){return void 0===e&&(e=De.Default),(Te||function(e,t){if(void 0===t&&(t=De.Default),void 0===Pe)throw new Error("inject() must be called from an injection context");return null===Pe?function(e,t,n){var r=fe(e);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&De.Optional)return null;throw new Error("Injector: NOT_FOUND ["+Ce(e)+"]")}(e,0,t):Pe.get(e,t&De.Optional?null:void 0,t)})(Be,e);var e}}),e.__NG_ELEMENT_ID__=function(){return Ge()},e}(),Ge=Ze,Ke=function(e){return e},Ye=[],Qe=Ke,Je=function(){return Array.prototype.slice.call(arguments)},$e=ae({provide:String,useValue:ae}),Xe=qe.NULL,et=/\n/gm,tt="\u0275",nt=function(){function e(e,t,n){void 0===t&&(t=Xe),void 0===n&&(n=null),this.parent=t,this.source=n;var r=this._records=new Map;r.set(qe,{token:qe,fn:Ke,deps:Ye,value:this,useNew:!1}),r.set(Be,{token:Be,fn:Ke,deps:Ye,value:this,useNew:!1}),function e(t,n){if(n)if((n=xe(n))instanceof Array)for(var r=0;r<n.length;r++)e(t,n[r]);else{if("function"==typeof n)throw it("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw it("Unexpected provider",n);var o=xe(n.provide),i=function(e){var t=function(e){var t=Ye,n=e.deps;if(n&&n.length){t=[];for(var r=0;r<n.length;r++){var o=6;if((u=xe(n[r]))instanceof Array)for(var i=0,s=u;i<s.length;i++){var a=s[i];a instanceof Ie||a==Ie?o|=1:a instanceof Ae||a==Ae?o&=-3:a instanceof Oe||a==Oe?o&=-5:u=a instanceof Ne?a.token:xe(a)}t.push({token:u,options:o})}}else if(e.useExisting){var u;t=[{token:u=xe(e.useExisting),options:6}]}else if(!(n||$e in e))throw it("'deps' required",e);return t}(e),n=Ke,r=Ye,o=!1,i=xe(e.provide);if($e in e)r=e.useValue;else if(e.useFactory)n=e.useFactory;else if(e.useExisting);else if(e.useClass)o=!0,n=xe(e.useClass);else{if("function"!=typeof i)throw it("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 rt(o)}else t.set(o,s={token:n.provide,deps:[],useNew:!1,fn:Je,value:Ye});s.deps.push({token:o=n,options:6})}var a=t.get(o);if(a&&a.fn==Je)throw rt(o);t.set(o,i)}}(r,e)}return e.prototype.get=function(e,t,n){void 0===n&&(n=De.Default);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||s&De.SkipSelf)s&De.Self||(u=o.get(t,i,De.Default));else{if((u=n.value)==Qe)throw Error(tt+"Circular dependency");if(u===Ye){n.value=Qe;var f=n.useNew,l=n.fn,p=n.deps,d=Ye;if(p.length){d=[];for(var h=0;h<p.length;h++){var v=p[h],y=v.options,g=2&y?r.get(v.token):void 0;d.push(e(v.token,g,r,g||4&y?o:Xe,1&y?null:qe.THROW_IF_NOT_FOUND,De.Default))}}n.value=u=f?new((a=l).bind.apply(a,c([void 0],d))):l.apply(void 0,d)}}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==Qe&&(n.value=Ye),a}}(e,r,this._records,this.parent,t,n)}catch(i){var o=i.ngTempTokenPath;throw e[ze]&&o.unshift(e[ze]),i.message=ot("\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 rt(e){return it("Cannot mix multi providers and regular providers",e)}function ot(e,t,n){void 0===n&&(n=null),e=e&&"\n"===e.charAt(0)&&e.charAt(1)==tt?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(et,"\n ")}function it(e,t){return new Error(ot(e,t))}var st=new le("The presence of this token marks an injector as being the root injector."),at=function(){return function(){}}();function ut(e){var t=Error("No component factory found for "+Ce(e)+". Did you add it to @NgModule.entryComponents?");return t[ct]=e,t}var ct="ngComponent",ft=function(){function e(){}return e.prototype.resolveComponentFactory=function(e){throw ut(e)},e}(),lt=function(){function e(){}return e.NULL=new ft,e}(),pt=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 ut(e);return new dt(t,this._ngModule)},e}(),dt=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}(at),ht=function(){return function(){}}(),vt=function(){return function(){}}(),yt=function(){function e(e){this.nativeElement=e}return e.__NG_ELEMENT_ID__=function(){return gt(e)},e}(),gt=Ze,bt=function(){return function(){}}(),mt=function(){return function(){}}(),wt=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return _t()},e}(),_t=Ze,Ct=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}({}),Et=function(){return function(){}}(),kt=!0,xt=!1;function Tt(){return xt=!0,kt}var St=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 m&&t.add(a),a},t}(V),Nt=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return It(e,yt)},e}(),It=Ze,Ot="ngDebugContext",At="ngOriginalError",Dt="ngErrorLogger";function Pt(e){return e[Ot]}function jt(e){return e[At]}function Vt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e.error.apply(e,c(t))}var Mt=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[Dt]||Vt}(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?Pt(e)?Pt(e):this._findContext(jt(e)):null},e.prototype._findOriginalError=function(e){for(var t=jt(e);t&&jt(t);)t=jt(t);return t},e}();function Rt(e){return!!e&&"function"==typeof e.then}var Ft,Lt,Ut=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]();Rt(o)&&t.push(o)}Promise.all(t).then(function(){n()}).catch(function(t){e.reject(t)}),0===t.length&&n(),this.initialized=!0}},e}(),Zt=new le("Platform Initializer"),zt=new le("Platform ID"),Ht=new le("appBootstrapListener"),Bt=function(){function e(){}return e.prototype.log=function(e){console.log(e)},e.prototype.warn=function(e){console.warn(e)},e}(),Wt=function(){return function(){}}();function qt(){var e=ye.wtf;return!(!e||!(Ft=e.trace)||(Lt=Ft.events,0))}var Gt=qt();function Kt(e,t){return null}var Yt=Gt?function(e,t){return void 0===t&&(t=null),Lt.createScope(e,t)}:function(e,t){return Kt},Qt=Gt?function(e,t){return Ft.leaveScope(e,t),t}:function(e,t){return t},Jt=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 St(!1),this.onMicrotaskEmpty=new St(!1),this.onStable=new St(!1),this.onError=new St(!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 tn(t),e.invokeTask(r,o,i,s)}finally{nn(t)}},onInvoke:function(e,n,r,o,i,s,a){try{return tn(t),e.invoke(r,o,i,s,a)}finally{nn(t)}},onHasTask:function(e,n,r,o){e.hasTask(r,o),n===r&&("microTask"==o.change?(t.hasPendingMicrotasks=o.microTask,en(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,Xt,$t,$t);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 $t(){}var Xt={};function en(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 tn(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function nn(e){e._nesting--,en(e)}var rn,on=function(){function e(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new St,this.onMicrotaskEmpty=new St,this.onStable=new St,this.onError=new St}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}(),sn=function(){function e(e){var t=this;this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(function(){t.taskTrackingZone="undefined"==typeof Zone?null: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(){Jt.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,creationLocation:e.creationLocation,data:e.data}}):[]},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}(),an=function(){function e(){this._applications=new Map,un.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),un.findTestabilityInTree(this,e,t)},s([a("design:paramtypes",[])],e)}(),un=new(function(){function e(){}return e.prototype.addToWindow=function(e){},e.prototype.findTestabilityInTree=function(e,t,n){return null},e}()),cn=new le("AllowMultipleToken");function fn(e,t,n){void 0===n&&(n=[]);var r="Platform: "+t,o=new le(r);return function(t){void 0===t&&(t=[]);var i=ln();if(!i||i.injector.get(cn,!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(rn&&!rn.destroyed&&!rn.injector.get(cn,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");rn=e.get(pn);var t=e.get(Zt,null);t&&t.forEach(function(e){return e()})}(qe.create({providers:s,name:r}))}return function(e){var t=ln();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 ln(){return rn&&!rn.destroyed?rn:null}var pn=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 on:("zone.js"===n?void 0:n)||new Jt({enableLongStackTrace:Tt()}),i=[{provide:Jt,useValue:o}];return o.run(function(){var t=qe.create({providers:i,parent:r.injector,name:e.moduleType.name}),n=e.create(t),s=n.injector.get(Mt,null);if(!s)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy(function(){return vn(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(Ut)).runInitializers(),s.donePromise.then(function(){return r._moduleDoBootstrap(n),n}));return Rt(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=dn({},t);return function(e,t,n){return e.get(Wt).createCompiler([t]).compileModuleAsync(n)}(this.injector,r,e).then(function(e){return n.bootstrapModuleFactory(e,r)})},e.prototype._moduleDoBootstrap=function(e){var t=e.injector.get(hn);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 dn(e,t){return Array.isArray(t)?t.reduce(dn,e):i({},e,t)}var hn=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=Tt(),this._zone.onMicrotaskEmpty.subscribe({next:function(){s._zone.run(function(){s.tick()})}});var a=new I(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 I(function(e){var t;s._zone.runOutsideAngular(function(){t=s._zone.onStable.subscribe(function(){Jt.assertNotInAngularZone(),we(function(){s._stable||s._zone.hasPendingMacrotasks||s._zone.hasPendingMicrotasks||(s._stable=!0,e.next(!0))})})});var n=s._zone.onUnstable.subscribe(function(){Jt.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,r=Number.POSITIVE_INFINITY,o=null,i=e[e.length-1];return(n=i)&&"function"==typeof n.schedule?(o=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(r=e.pop())):"number"==typeof i&&(r=e.pop()),null===o&&1===e.length&&e[0]instanceof I?e[0]:function(e){return void 0===e&&(e=Number.POSITIVE_INFINITY),function e(t,n,r){return void 0===r&&(r=Number.POSITIVE_INFINITY),"function"==typeof n?function(o){return o.pipe(e(function(e,r){return(o=t(e,r),o instanceof I?o:new I(q(o))).pipe(function(e,t){return function(t){return t.lift(new K(e,void 0))}}(function(t,o){return n(e,t,r,o)}));var o},r))}:("number"==typeof n&&(r=n),function(e){return e.lift(new J(t,r))})}(X,e)}(r)(Q(e,o))}(a,u.pipe(function(e){return ee()((t=se,function(e){var n;n="function"==typeof t?t:function(){return t};var r=Object.create(e,oe);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 at?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var o=n instanceof dt?null:this._injector.get(ht),i=n.create(qe.NULL,[],t||n.selector,o);i.onDestroy(function(){r._unloadComponent(i)});var s=i.injector.get(sn,null);return s&&i.injector.get(an).registerApplication(i.location.nativeElement,s),this._loadComponent(i),Tt()&&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,Qt(n)}},e.prototype.attachView=function(e){var t=e;this._views.push(t),t.attachToAppRef(this)},e.prototype.detachView=function(e){var t=e;vn(this._views,t),t.detachFromAppRef()},e.prototype._loadComponent=function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Ht,[]).concat(this._bootstrapListeners).forEach(function(t){return t(e)})},e.prototype._unloadComponent=function(e){this.detachView(e.hostView),vn(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=Yt("ApplicationRef#tick()"),e}();function vn(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var yn=function(){function e(){this.dirty=!0,this._results=[],this.changes=new St,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[me()]=function(){return this._results[me()]()},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}(),gn=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return bn(e,yt)},e}(),bn=Ze,mn=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return wn()},e}(),wn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]},_n=function(){return function(e,t){this.name=e,this.callback=t}}(),Cn=function(){function e(e,t,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=e,t&&t instanceof En&&t.addChild(this)}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}(),En=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(t){t.parent&&t.parent.removeChild(t),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 En&&(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 En&&t.childNodes.forEach(function(t){n(t)&&r.push(t),t instanceof En&&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}(Cn),kn=new Map,xn=function(e){return kn.get(e)||null};function Tn(e){kn.set(e.nativeNode,e)}var Sn=fn(null,"core",[{provide:zt,useValue:"unknown"},{provide:pn,deps:[qe]},{provide:an,deps:[]},{provide:Bt,deps:[]}]),Nn=new le("LocaleId");function In(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 On(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}function An(e,t){return e.nodes[t]}function Dn(e,t){return e.nodes[t]}function Pn(e,t){return e.nodes[t]}function jn(e,t){return e.nodes[t]}function Vn(e,t){return e.nodes[t]}var Mn={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 Rn(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 Fn(n,t),n}(o,e)}function Fn(e,t){e[Ot]=t,e[Dt]=t.logError.bind(t)}function Ln(e){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+e)}var Un=function(){},Zn=new Map;function zn(e){var t=Zn.get(e);return t||(t=Ce(e)+"_"+Zn.size,Zn.set(e,t)),t}function Hn(e,t,n,r){return!(!(2&e.state)&&_e(e.oldValues[t.bindingIndex+n],r))}function Bn(e,t,n,r){return!!Hn(e,t,n,r)&&(e.oldValues[t.bindingIndex+n]=r,!0)}function Wn(e,t,n,r){var o=e.oldValues[t.bindingIndex+n];if(1&e.state||!Re(o,r)){var i=t.bindings[n].name;throw Rn(Mn.createDebugContext(e,t.nodeIndex),i+": "+o,i+": "+r,0!=(1&e.state))}}function qn(e){for(var t=e;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function Gn(e,t){for(var n=e;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function Kn(e,t,n,r){try{return qn(33554432&e.def.nodes[t].flags?Dn(e,t).componentView:e),Mn.handleEvent(e,t,n,r)}catch(o){e.root.errorHandler.handleError(o)}}function Yn(e){return e.parent?Dn(e.parent,e.parentNodeDef.nodeIndex):null}function Qn(e){return e.parent?e.parentNodeDef.parent:null}function Jn(e,t){switch(201347067&t.flags){case 1:return Dn(e,t.nodeIndex).renderElement;case 2:return An(e,t.nodeIndex).renderText}}function $n(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function Xn(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function er(e,t){return e.map(function(e){var n,r,o;return Array.isArray(e)?(o=(n=u(e,2))[0],r=n[1]):(o=0,r=e),r&&("function"==typeof r||"object"==typeof r)&&t&&Object.defineProperty(r,ze,{value:t,configurable:!0}),{flags:o,token:r,tokenKey:zn(r)}})}function tr(e,t,n){var r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&r.element.componentRendererType.encapsulation===Se.Native?Dn(e,n.renderParent.nodeIndex).renderElement:void 0:t}var nr=new WeakMap;function rr(e){var t=nr.get(e);return t||((t=e(function(){return Un})).factory=e,nr.set(e,t)),t}function or(e,t,n,r,o){3===t&&(n=e.renderer.parentNode(Jn(e,e.def.lastRenderRootNode))),ir(e,t,0,e.def.nodes.length-1,n,r,o)}function ir(e,t,n,r,o,i,s){for(var a=n;a<=r;a++){var u=e.def.nodes[a];11&u.flags&&ar(e,u,t,o,i,s),a+=u.childCount}}function sr(e,t,n,r,o,i){for(var s=e;s&&!$n(s);)s=s.parent;for(var a=s.parent,u=Qn(s),c=u.nodeIndex+u.childCount,f=u.nodeIndex+1;f<=c;f++){var l=a.def.nodes[f];l.ngContentIndex===t&&ar(a,l,n,r,o,i),f+=l.childCount}if(!a.parent){var p=e.root.projectableNodes[t];if(p)for(f=0;f<p.length;f++)ur(e,p[f],n,r,o,i)}}function ar(e,t,n,r,o,i){if(8&t.flags)sr(e,t.ngContent.index,n,r,o,i);else{var s=Jn(e,t);if(3===n&&33554432&t.flags&&48&t.bindingFlags?(16&t.bindingFlags&&ur(e,s,n,r,o,i),32&t.bindingFlags&&ur(Dn(e,t.nodeIndex).componentView,s,n,r,o,i)):ur(e,s,n,r,o,i),16777216&t.flags)for(var a=Dn(e,t.nodeIndex).viewContainer._embeddedViews,u=0;u<a.length;u++)or(a[u],n,r,o,i);1&t.flags&&!t.element.name&&ir(e,n,t.nodeIndex+1,t.nodeIndex+t.childCount,r,o,i)}}function ur(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 cr=/^:([^:]+):(.+)$/;function fr(e){if(":"===e[0]){var t=e.match(cr);return[t[1],t[2]]}return["",e]}function lr(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=tr(e,t,n);a&&s.appendChild(a,r)}else r=s.selectRootElement(i,!!o.componentRendererType&&o.componentRendererType.encapsulation===Se.ShadowDom);if(o.attrs)for(var c=0;c<o.attrs.length;c++){var f=u(o.attrs[c],3);s.setAttribute(r,f[1],f[2],f[0])}return r}function pr(e,t,n,r){for(var o=0;o<n.outputs.length;o++){var i=n.outputs[o],s=dr(e,n.nodeIndex,(l=i.eventName,(f=i.target)?f+":"+l:l)),a=i.target,u=e;"component"===i.target&&(a=null,u=t);var c=u.renderer.listen(a||r,i.eventName,s);e.disposables[n.outputIndex+o]=c}var f,l}function dr(e,t,n){return function(r){return Kn(e,t,n,r)}}function hr(e,t,n,r){if(!Bn(e,t,n,r))return!1;var o=t.bindings[n],i=Dn(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(Ct.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 vr=new Object,yr=zn(qe),gr=zn(Be),br=zn(ht);function mr(e,t,n,r){return n=xe(n),{index:-1,deps:er(r,Ce(t)),flags:e,token:t,value:n}}function wr(e,t,n){void 0===n&&(n=qe.THROW_IF_NOT_FOUND);var r,o,i=je(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 yr:case gr:case br:return e}var a,u=e._def.providersByKey[s];if(u){var c=e._providers[u.index];return void 0===c&&(c=e._providers[u.index]=_r(e,u)),c===vr?void 0:c}if((a=fe(t.token))&&(r=e,null!=(o=a).providedIn&&(function(e,t){return e._def.modules.indexOf(o.providedIn)>-1}(r)||"root"===o.providedIn&&r._def.isRoot))){var f=e._providers.length;return e._def.providersByKey[t.tokenKey]={flags:5120,value:a.factory,deps:[],index:f,token:t.token},e._providers[f]=vr,e._providers[f]=_r(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{je(i)}}function _r(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(wr(e,n[0]));case 2:return new t(wr(e,n[0]),wr(e,n[1]));case 3:return new t(wr(e,n[0]),wr(e,n[1]),wr(e,n[2]));default:for(var o=new Array(r),i=0;i<r;i++)o[i]=wr(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(wr(e,n[0]));case 2:return t(wr(e,n[0]),wr(e,n[1]));case 3:return t(wr(e,n[0]),wr(e,n[1]),wr(e,n[2]));default:for(var o=Array(r),i=0;i<r;i++)o[i]=wr(e,n[i]);return t.apply(void 0,c(o))}}(e,t.value,t.deps);break;case 2048:n=wr(e,t.deps[0]);break;case 256:n=t.value}return n===vr||null==n||"object"!=typeof n||131072&t.flags||"function"!=typeof n.ngOnDestroy||(t.flags|=131072),void 0===n?vr:n}function Cr(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,Tr(n,t),Mn.dirtyParentQueries(r),kr(r),r}function Er(e,t,n){var r=t?Jn(t,t.def.lastRenderRootNode):e.renderElement,o=n.renderer.parentNode(r),i=n.renderer.nextSibling(r);or(n,2,o,i,void 0)}function kr(e){or(e,3,null,null,void 0)}function xr(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Tr(e,t){t>=e.length-1?e.pop():e.splice(t,1)}function Sr(e,t,n){return new Nr(e,t,n)}var Nr=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 yt(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new jr(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=Qn(e),e=e.parent;return e?new jr(e,t):new jr(this._view,null)},enumerable:!0,configurable:!0}),e.prototype.clear=function(){for(var e=this._embeddedViews.length-1;e>=0;e--){var t=Cr(this._data,e);Mn.destroyView(t)}},e.prototype.get=function(e){var t=this._embeddedViews[e];if(t){var n=new Or(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 dt||(o=i.get(ht));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,xr(i,r,o),function(e,t){var n=Yn(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),Mn.dirtyParentQueries(o),Er(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],Tr(i,r),null==o&&(o=i.length),xr(i,o,s),Mn.dirtyParentQueries(s),kr(s),Er(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=Cr(this._data,e);t&&Mn.destroyView(t)},e.prototype.detach=function(e){var t=Cr(this._data,e);return t?new Or(t):null},e}();function Ir(e){return new Or(e)}var Or=function(){function e(e){this._view=e,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(e.prototype,"rootNodes",{get:function(){return or(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(){qn(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{Mn.checkAndUpdateView(this._view)}finally{e.end&&e.end()}},e.prototype.checkNoChanges=function(){Mn.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)),Mn.destroyView(this._view)},e.prototype.detachFromAppRef=function(){this._appRef=null,kr(this._view),Mn.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 Ar(e,t){return new Dr(e,t)}var Dr=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 Or(Mn.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))},Object.defineProperty(t.prototype,"elementRef",{get:function(){return new yt(Dn(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),t}(Nt);function Pr(e,t){return new jr(e,t)}var jr=function(){function e(e,t){this.view=e,this.elDef=t}return e.prototype.get=function(e,t){return void 0===t&&(t=qe.THROW_IF_NOT_FOUND),Mn.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:zn(e)},t)},e}();function Vr(e){return new Mr(e.renderer)}var Mr=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=u(fr(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=u(fr(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 Rr(e,t,n,r){return new Fr(e,t,n,r)}var Fr=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]=_r(e,o))}}(this)}return e.prototype.get=function(e,t,n){void 0===t&&(t=qe.THROW_IF_NOT_FOUND),void 0===n&&(n=De.Default);var r=0;return n&De.SkipSelf?r|=1:n&De.Self&&(r|=4),wr(this,{token:e,tokenKey:zn(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(lt)},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!==vr){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}(),Lr=zn(bt),Ur=zn(wt),Zr=zn(yt),zr=zn(gn),Hr=zn(Nt),Br=zn(mn),Wr=zn(qe),qr=zn(Be);function Gr(e,t){return Jr(e,t)}function Kr(e,t){for(var n=e;n.parent&&!$n(n);)n=n.parent;return $r(n.parent,Qn(n),!0,t.provider.value,t.provider.deps)}function Yr(e,t){var n,r=$r(e,t.parent,(32768&t.flags)>0,t.provider.value,t.provider.deps);if(t.outputs.length)for(var o=0;o<t.outputs.length;o++){var i=t.outputs[o],s=r[i.propName];if(!(n=s)||"function"!=typeof n.subscribe)throw new Error("@Output "+i.propName+" not initialized in '"+r.constructor.name+"'.");var a=s.subscribe(Qr(e,t.parent.nodeIndex,i.eventName));e.disposables[t.outputIndex+o]=a.unsubscribe.bind(a)}return r}function Qr(e,t,n){return function(r){return Kn(e,t,n,r)}}function Jr(e,t){var n=(8192&t.flags)>0,r=t.provider;switch(201347067&t.flags){case 512:return $r(e,t.parent,n,r.value,r.deps);case 1024:return function(e,t,n,r,o){var i=o.length;switch(i){case 0:return r();case 1:return r(eo(e,t,n,o[0]));case 2:return r(eo(e,t,n,o[0]),eo(e,t,n,o[1]));case 3:return r(eo(e,t,n,o[0]),eo(e,t,n,o[1]),eo(e,t,n,o[2]));default:for(var s=Array(i),a=0;a<i;a++)s[a]=eo(e,t,n,o[a]);return r.apply(void 0,c(s))}}(e,t.parent,n,r.value,r.deps);case 2048:return eo(e,t.parent,n,r.deps[0]);case 256:return r.value}}function $r(e,t,n,r,o){var i=o.length;switch(i){case 0:return new r;case 1:return new r(eo(e,t,n,o[0]));case 2:return new r(eo(e,t,n,o[0]),eo(e,t,n,o[1]));case 3:return new r(eo(e,t,n,o[0]),eo(e,t,n,o[1]),eo(e,t,n,o[2]));default:for(var s=new Array(i),a=0;a<i;a++)s[a]=eo(e,t,n,o[a]);return new(r.bind.apply(r,c([void 0],s)))}}var Xr={};function eo(e,t,n,r,o){if(void 0===o&&(o=qe.THROW_IF_NOT_FOUND),8&r.flags)return r.token;var i=e;2&r.flags&&(o=null);var s=r.tokenKey;s===Br&&(n=!(!t||!t.element.componentView)),t&&1&r.flags&&(n=!1,t=t.parent);for(var a=e;a;){if(t)switch(s){case Lr:return Vr(to(a,t,n));case Ur:return to(a,t,n).renderer;case Zr:return new yt(Dn(a,t.nodeIndex).renderElement);case zr:return Dn(a,t.nodeIndex).viewContainer;case Hr:if(t.element.template)return Dn(a,t.nodeIndex).template;break;case Br:return Ir(to(a,t,n));case Wr:case qr:return Pr(a,t);default:var u=(n?t.element.allProviders:t.element.publicProviders)[s];if(u){var c=Pn(a,u.nodeIndex);return c||(c={instance:Jr(a,u)},a.nodes[u.nodeIndex]=c),c.instance}}n=$n(a),t=Qn(a),a=a.parent,4&r.flags&&(a=null)}var f=i.root.injector.get(r.token,Xr);return f!==Xr||o===Xr?f:i.root.ngModule.injector.get(r.token,o)}function to(e,t,n){var r;if(n)r=Dn(e,t.nodeIndex).componentView;else for(r=e;r.parent&&!$n(r);)r=r.parent;return r}function no(e,t,n,r,o,i){if(32768&n.flags){var s=Dn(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=Fe.unwrap(e.oldValues[n.bindingIndex+r]);i[n.bindings[r].nonMinifiedName]=new Le(a,o,0!=(2&e.state))}return e.oldValues[n.bindingIndex+r]=o,i}function ro(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&&io(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=oo(e,s,t,r)),s=s.parent}}function oo(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&&io(e,o,i.flags&n,r++),o+=i.childCount}return r}function io(e,t,n,r){var o=Pn(e,t);if(o){var i=o.instance;i&&(Mn.setCurrentNode(e,t),1048576&n&&On(e,512,r)&&i.ngAfterContentInit(),2097152&n&&i.ngAfterContentChecked(),4194304&n&&On(e,768,r)&&i.ngAfterViewInit(),8388608&n&&i.ngAfterViewChecked(),131072&n&&i.ngOnDestroy())}}function so(e){for(var t=e.def.nodeMatchedQueries;e.parent&&Xn(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&&Vn(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&&Vn(e,o).setDirty(),o+=i.childCount}}function ao(e,t){var n=Vn(e,t.nodeIndex);if(n.dirty){var r,o=void 0;if(67108864&t.flags){var i=t.parent.parent;o=uo(e,i.nodeIndex,i.nodeIndex+i.childCount,t.query,[]),r=Pn(e,t.parent.nodeIndex).instance}else 134217728&t.flags&&(o=uo(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 c=s[u],f=void 0;switch(c.bindingType){case 0:f=n.first;break;case 1:f=n,a=!0}r[c.propName]=f}a&&n.notifyOnChanges()}}function uo(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(co(e,s,a)),1&s.flags&&s.element.template&&(s.element.template.nodeMatchedQueries&r.filterId)===r.filterId){var u=Dn(e,i);if((s.childMatchedQueries&r.filterId)===r.filterId&&(uo(e,i+1,i+s.childCount,r,o),i+=s.childCount),16777216&s.flags)for(var c=u.viewContainer._embeddedViews,f=0;f<c.length;f++){var l=c[f],p=Yn(l);p&&p===u&&uo(l,0,l.def.nodes.length-1,r,o)}var d=u.template._projectedViews;if(d)for(f=0;f<d.length;f++){var h=d[f];uo(h,0,h.def.nodes.length-1,r,o)}}(s.childMatchedQueries&r.filterId)!==r.filterId&&(i+=s.childCount)}return o}function co(e,t,n){if(null!=n)switch(n){case 1:return Dn(e,t.nodeIndex).renderElement;case 0:return new yt(Dn(e,t.nodeIndex).renderElement);case 2:return Dn(e,t.nodeIndex).template;case 3:return Dn(e,t.nodeIndex).viewContainer;case 4:return Pn(e,t.nodeIndex).instance}}function fo(e,t,n){var r=tr(e,t,n);r&&sr(e,n.ngContent.index,1,r,null,void 0)}function lo(e,t,n){var r,o=e.renderer;r=o.createText(n.text.prefix);var i=tr(e,t,n);return i&&o.appendChild(i,r),{renderText:r}}function po(e,t){return(null!=e?e.toString():"")+t.suffix}function ho(e,t,n,r){var o=go(e.root,e.renderer,e,t,n);return bo(o,e.component,r),mo(o),o}function vo(e,t,n){var r=go(e,e.renderer,null,null,t);return bo(r,n,n),mo(r),r}function yo(e,t,n,r){var o,i=t.element.componentRendererType;return o=i?e.root.rendererFactory.createRenderer(r,i):e.root.renderer,go(e.root,o,e,t.element.componentProvider,n)}function go(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 bo(e,t,n){e.component=t,e.context=n}function mo(e){var t;$n(e)&&(t=Dn(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];Mn.setCurrentNode(e,o);var s=void 0;switch(201347067&i.flags){case 1:var a=lr(e,t,i),u=void 0;if(33554432&i.flags){var c=rr(i.element.componentView);u=Mn.createComponentView(e,i,c,a)}pr(e,u,i,a),s={renderElement:a,componentView:u,viewContainer:null,template:i.element.template?Ar(e,i):void 0},16777216&i.flags&&(s.viewContainer=Sr(e,i,s));break;case 2:s=lo(e,t,i);break;case 512:case 1024:case 2048:case 256:(s=r[o])||4096&i.flags||(s={instance:Gr(e,i)});break;case 16:s={instance:Kr(e,i)};break;case 16384:(s=r[o])||(s={instance:Yr(e,i)}),32768&i.flags&&bo(Dn(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 yn;break;case 8:fo(e,t,i),s=void 0}r[o]=s}No(e,So.CreateViewNodes),Do(e,201326592,268435456,0)}function wo(e){Eo(e),Mn.updateDirectives(e,1),Io(e,So.CheckNoChanges),Mn.updateRenderer(e,1),No(e,So.CheckNoChanges),e.state&=-97}function _o(e){1&e.state?(e.state&=-2,e.state|=2):e.state&=-3,In(e,0,256),Eo(e),Mn.updateDirectives(e,0),Io(e,So.CheckAndUpdate),Do(e,67108864,536870912,0);var t=In(e,256,512);ro(e,2097152|(t?1048576:0)),Mn.updateRenderer(e,0),No(e,So.CheckAndUpdate),Do(e,134217728,536870912,0),ro(e,8388608|((t=In(e,512,768))?4194304:0)),2&e.def.flags&&(e.state&=-9),e.state&=-97,In(e,768,1024)}function Co(e,t,n,r,o,i,s,a,u,f,l,p,d){return 0===n?function(e,t,n,r,o,i,s,a,u,c,f,l){switch(201347067&t.flags){case 1:return function(e,t,n,r,o,i,s,a,u,c,f,l){var p=t.bindings.length,d=!1;return p>0&&hr(e,t,0,n)&&(d=!0),p>1&&hr(e,t,1,r)&&(d=!0),p>2&&hr(e,t,2,o)&&(d=!0),p>3&&hr(e,t,3,i)&&(d=!0),p>4&&hr(e,t,4,s)&&(d=!0),p>5&&hr(e,t,5,a)&&(d=!0),p>6&&hr(e,t,6,u)&&(d=!0),p>7&&hr(e,t,7,c)&&(d=!0),p>8&&hr(e,t,8,f)&&(d=!0),p>9&&hr(e,t,9,l)&&(d=!0),d}(e,t,n,r,o,i,s,a,u,c,f,l);case 2:return function(e,t,n,r,o,i,s,a,u,c,f,l){var p=!1,d=t.bindings,h=d.length;if(h>0&&Bn(e,t,0,n)&&(p=!0),h>1&&Bn(e,t,1,r)&&(p=!0),h>2&&Bn(e,t,2,o)&&(p=!0),h>3&&Bn(e,t,3,i)&&(p=!0),h>4&&Bn(e,t,4,s)&&(p=!0),h>5&&Bn(e,t,5,a)&&(p=!0),h>6&&Bn(e,t,6,u)&&(p=!0),h>7&&Bn(e,t,7,c)&&(p=!0),h>8&&Bn(e,t,8,f)&&(p=!0),h>9&&Bn(e,t,9,l)&&(p=!0),p){var v=t.text.prefix;h>0&&(v+=po(n,d[0])),h>1&&(v+=po(r,d[1])),h>2&&(v+=po(o,d[2])),h>3&&(v+=po(i,d[3])),h>4&&(v+=po(s,d[4])),h>5&&(v+=po(a,d[5])),h>6&&(v+=po(u,d[6])),h>7&&(v+=po(c,d[7])),h>8&&(v+=po(f,d[8])),h>9&&(v+=po(l,d[9]));var y=An(e,t.nodeIndex).renderText;e.renderer.setValue(y,v)}return p}(e,t,n,r,o,i,s,a,u,c,f,l);case 16384:return function(e,t,n,r,o,i,s,a,u,c,f,l){var p=Pn(e,t.nodeIndex),d=p.instance,h=!1,v=void 0,y=t.bindings.length;return y>0&&Hn(e,t,0,n)&&(h=!0,v=no(e,p,t,0,n,v)),y>1&&Hn(e,t,1,r)&&(h=!0,v=no(e,p,t,1,r,v)),y>2&&Hn(e,t,2,o)&&(h=!0,v=no(e,p,t,2,o,v)),y>3&&Hn(e,t,3,i)&&(h=!0,v=no(e,p,t,3,i,v)),y>4&&Hn(e,t,4,s)&&(h=!0,v=no(e,p,t,4,s,v)),y>5&&Hn(e,t,5,a)&&(h=!0,v=no(e,p,t,5,a,v)),y>6&&Hn(e,t,6,u)&&(h=!0,v=no(e,p,t,6,u,v)),y>7&&Hn(e,t,7,c)&&(h=!0,v=no(e,p,t,7,c,v)),y>8&&Hn(e,t,8,f)&&(h=!0,v=no(e,p,t,8,f,v)),y>9&&Hn(e,t,9,l)&&(h=!0,v=no(e,p,t,9,l,v)),v&&d.ngOnChanges(v),65536&t.flags&&On(e,256,t.nodeIndex)&&d.ngOnInit(),262144&t.flags&&d.ngDoCheck(),h}(e,t,n,r,o,i,s,a,u,c,f,l);case 32:case 64:case 128:return function(e,t,n,r,o,i,s,a,u,c,f,l){var p=t.bindings,d=!1,h=p.length;if(h>0&&Bn(e,t,0,n)&&(d=!0),h>1&&Bn(e,t,1,r)&&(d=!0),h>2&&Bn(e,t,2,o)&&(d=!0),h>3&&Bn(e,t,3,i)&&(d=!0),h>4&&Bn(e,t,4,s)&&(d=!0),h>5&&Bn(e,t,5,a)&&(d=!0),h>6&&Bn(e,t,6,u)&&(d=!0),h>7&&Bn(e,t,7,c)&&(d=!0),h>8&&Bn(e,t,8,f)&&(d=!0),h>9&&Bn(e,t,9,l)&&(d=!0),d){var v=jn(e,t.nodeIndex),y=void 0;switch(201347067&t.flags){case 32:y=new Array(p.length),h>0&&(y[0]=n),h>1&&(y[1]=r),h>2&&(y[2]=o),h>3&&(y[3]=i),h>4&&(y[4]=s),h>5&&(y[5]=a),h>6&&(y[6]=u),h>7&&(y[7]=c),h>8&&(y[8]=f),h>9&&(y[9]=l);break;case 64:y={},h>0&&(y[p[0].name]=n),h>1&&(y[p[1].name]=r),h>2&&(y[p[2].name]=o),h>3&&(y[p[3].name]=i),h>4&&(y[p[4].name]=s),h>5&&(y[p[5].name]=a),h>6&&(y[p[6].name]=u),h>7&&(y[p[7].name]=c),h>8&&(y[p[8].name]=f),h>9&&(y[p[9].name]=l);break;case 128:var g=n;switch(h){case 1:y=g.transform(n);break;case 2:y=g.transform(r);break;case 3:y=g.transform(r,o);break;case 4:y=g.transform(r,o,i);break;case 5:y=g.transform(r,o,i,s);break;case 6:y=g.transform(r,o,i,s,a);break;case 7:y=g.transform(r,o,i,s,a,u);break;case 8:y=g.transform(r,o,i,s,a,u,c);break;case 9:y=g.transform(r,o,i,s,a,u,c,f);break;case 10:y=g.transform(r,o,i,s,a,u,c,f,l)}}v.value=y}return d}(e,t,n,r,o,i,s,a,u,c,f,l);default:throw"unreachable"}}(e,t,r,o,i,s,a,u,f,l,p,d):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++)hr(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++)Bn(e,t,i,n[i])&&(o=!0);if(o){var s="";for(i=0;i<n.length;i++)s+=po(n[i],r[i]);s=t.text.prefix+s;var a=An(e,t.nodeIndex).renderText;e.renderer.setValue(a,s)}return o}(e,t,n);case 16384:return function(e,t,n){for(var r=Pn(e,t.nodeIndex),o=r.instance,i=!1,s=void 0,a=0;a<n.length;a++)Hn(e,t,a,n[a])&&(i=!0,s=no(e,r,t,a,n[a],s));return s&&o.ngOnChanges(s),65536&t.flags&&On(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++)Bn(e,t,i,n[i])&&(o=!0);if(o){var s=jn(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],f=n.slice(1);a=u.transform.apply(u,c(f))}s.value=a}return o}(e,t,n);default:throw"unreachable"}}(e,t,r)}function Eo(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=Dn(e,n).template._projectedViews;if(o)for(var i=0;i<o.length;i++){var s=o[i];s.state|=32,Gn(s,e)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function ko(e,t,n,r,o,i,s,a,u,c,f,l,p){return 0===n?function(e,t,n,r,o,i,s,a,u,c,f,l){var p=t.bindings.length;p>0&&Wn(e,t,0,n),p>1&&Wn(e,t,1,r),p>2&&Wn(e,t,2,o),p>3&&Wn(e,t,3,i),p>4&&Wn(e,t,4,s),p>5&&Wn(e,t,5,a),p>6&&Wn(e,t,6,u),p>7&&Wn(e,t,7,c),p>8&&Wn(e,t,8,f),p>9&&Wn(e,t,9,l)}(e,t,r,o,i,s,a,u,c,f,l,p):function(e,t,n){for(var r=0;r<n.length;r++)Wn(e,t,r,n[r])}(e,t,r),!1}function xo(e,t){if(Vn(e,t.nodeIndex).dirty)throw Rn(Mn.createDebugContext(e,t.nodeIndex),"Query "+t.query.id+" not dirty","Query "+t.query.id+" dirty",0!=(1&e.state))}function To(e){if(!(128&e.state)){if(Io(e,So.Destroy),No(e,So.Destroy),ro(e,131072),e.disposables)for(var t=0;t<e.disposables.length;t++)e.disposables[t]();!function(e){if(16&e.state){var t=Yn(e);if(t){var n=t.template._projectedViews;n&&(Tr(n,n.indexOf(e)),Mn.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(Dn(e,n).renderElement):2&r.flags?e.renderer.destroyNode(An(e,n).renderText):(67108864&r.flags||134217728&r.flags)&&Vn(e,n).destroy()}}(e),$n(e)&&e.renderer.destroy(),e.state|=128}}var So=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 No(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?Oo(Dn(e,r).componentView,t):0==(33554432&o.childFlags)&&(r+=o.childCount)}}function Io(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=Dn(e,r).viewContainer._embeddedViews,s=0;s<i.length;s++)Oo(i[s],t);else 0==(16777216&o.childFlags)&&(r+=o.childCount)}}function Oo(e,t){var n=e.state;switch(t){case So.CheckNoChanges:0==(128&n)&&(12==(12&n)?wo(e):64&n&&Ao(e,So.CheckNoChangesProjectedViews));break;case So.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?wo(e):64&n&&Ao(e,t));break;case So.CheckAndUpdate:0==(128&n)&&(12==(12&n)?_o(e):64&n&&Ao(e,So.CheckAndUpdateProjectedViews));break;case So.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?_o(e):64&n&&Ao(e,t));break;case So.Destroy:To(e);break;case So.CreateViewNodes:mo(e)}}function Ao(e,t){Io(e,t),No(e,t)}function Do(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(Mn.setCurrentNode(e,s.nodeIndex),r){case 0:ao(e,s);break;case 1:xo(e,s)}s.childFlags&t&&s.childFlags&n||(i+=s.childCount)}}var Po=!1;function jo(e,t,n,r,o,i){var s=o.injector.get(mt);return vo(Mo(e,o,s,t,n),r,i)}function Vo(e,t,n,r,o,i){var s=o.injector.get(mt),a=Mo(e,o,new hi(s),t,n),u=qo(r);return pi(ti.create,vo,null,[a,u,i])}function Mo(e,t,n,r,o){var i=t.injector.get(Et),s=t.injector.get(Mt),a=n.createRenderer(null,null);return{ngModule:t,injector:e,projectableNodes:r,selectorOrNode:o,sanitizer:i,rendererFactory:n,renderer:a,errorHandler:s}}function Ro(e,t,n,r){var o=qo(n);return pi(ti.create,ho,null,[e,t,o,r])}function Fo(e,t,n,r){return n=zo.get(t.element.componentProvider.provider.token)||qo(n),pi(ti.create,yo,null,[e,t,n,r])}function Lo(e,t,n,r){return Rr(e,t,n,function(e){var t=function(e){var t=!1,n=!1;return 0===Uo.size?{hasOverrides:t,hasDeprecatedOverrides:n}:(e.providers.forEach(function(e){var r=Uo.get(e.token);3840&e.flags&&r&&(t=!0,n=n||r.deprecatedBehavior)}),e.modules.forEach(function(e){Zo.forEach(function(r,o){fe(o).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=Uo.get(r.token);o&&(r.flags=-3841&r.flags|o.flags,r.deps=er(o.deps),r.value=o.value)}if(Zo.size>0){var i=new Set(e.modules);Zo.forEach(function(t,r){if(i.has(fe(r).providedIn)){var o={token:r,flags:t.flags|(n?4096:0),deps:er(t.deps),value:t.value,index:e.providers.length};e.providers.push(o),e.providersByKey[zn(r)]=o}})}}(e=e.factory(function(){return Un})),e):e}(r))}var Uo=new Map,Zo=new Map,zo=new Map;function Ho(e){var t;Uo.set(e.token,e),"function"==typeof e.token&&(t=fe(e.token))&&"function"==typeof t.providedIn&&Zo.set(e.token,e)}function Bo(e,t){var n=rr(t.viewDefFactory),r=rr(n.nodes[0].element.componentView);zo.set(e,r)}function Wo(){Uo.clear(),Zo.clear(),zo.clear()}function qo(e){if(0===Uo.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&&Uo.has(o.provider.token)&&(t.push(n.nodeIndex),n=null)}return t}(e);if(0===t.length)return e;e=e.factory(function(){return Un});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=Uo.get(o.token);i&&(r.flags=-3841&r.flags|i.flags,o.deps=er(i.deps),o.value=i.value)}}}}function Go(e,t,n,r,o,i,s,a,u,c,f,l,p){var d=e.def.nodes[t];return Co(e,d,n,r,o,i,s,a,u,c,f,l,p),224&d.flags?jn(e,t).value:void 0}function Ko(e,t,n,r,o,i,s,a,u,c,f,l,p){var d=e.def.nodes[t];return ko(e,d,n,r,o,i,s,a,u,c,f,l,p),224&d.flags?jn(e,t).value:void 0}function Yo(e){return pi(ti.detectChanges,_o,null,[e])}function Qo(e){return pi(ti.checkNoChanges,wo,null,[e])}function Jo(e){return pi(ti.destroy,To,null,[e])}var $o,Xo,ei,ti=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 ni(e,t){Xo=e,ei=t}function ri(e,t,n,r){return ni(e,t),pi(ti.handleEvent,e.def.handleEvent,null,[e,t,n,r])}function oi(e,t){if(128&e.state)throw Ln(ti[$o]);return ni(e,ui(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?si(e,s,r,o):ai(e,s,r,o),16384&s.flags&&ni(e,ui(e,n)),224&s.flags?jn(e,s.nodeIndex).value:void 0},e)}function ii(e,t){if(128&e.state)throw Ln(ti[$o]);return ni(e,ci(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?si(e,s,r,o):ai(e,s,r,o),3&s.flags&&ni(e,ci(e,n)),224&s.flags?jn(e,s.nodeIndex).value:void 0},e)}function si(e,t,n,r){if(Co.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[(d=a.nonMinifiedName,"ng-reflect-"+d.replace(/[$@]/g,"_").replace(Ve,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return"-"+e[1].toLowerCase()}))]=Me(u))}var f=t.parent,l=Dn(e,f.nodeIndex).renderElement;if(f.element.name)for(var p in i)null!=(u=i[p])?e.renderer.setAttribute(l,p,u):e.renderer.removeAttribute(l,p);else e.renderer.setValue(l,"bindings="+JSON.stringify(i,null,2))}}var d}function ai(e,t,n,r){ko.apply(void 0,c([e,t,n],r))}function ui(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 ci(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 fi=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=Qn(r),r=r.parent;this.elDef=n,this.elView=r}return Object.defineProperty(e.prototype,"elOrCompView",{get:function(){return Dn(this.elView,this.elDef.nodeIndex).componentView||this.view},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return Pr(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){li(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&&li(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&&!$n(e);)e=e.parent;return e.parent?Dn(e.parent,Qn(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?Jn(this.view,this.nodeDef):Jn(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)):Un}),s<i&&(e.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),e.error.apply(e,c(r)))},e}();function li(e,t,n){for(var r in t.references)n[r]=co(e,t,t.references[r])}function pi(e,t,n,r){var o=$o,i=Xo,s=ei;try{$o=e;var a=t.apply(n,r);return Xo=i,ei=s,$o=o,a}catch(u){if(Pt(u)||!Xo)throw u;throw function(e,t){return e instanceof Error||(e=new Error(e.toString())),Fn(e,t),e}(u,di())}}function di(){return Xo?new fi(Xo,ei):null}var hi=function(){function e(e){this.delegate=e}return e.prototype.createRenderer=function(e,t){return new vi(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}(),vi=function(){function e(e){this.delegate=e,this.debugContextFactory=di,this.data=this.delegate.data}return e.prototype.createDebugContext=function(e){return this.debugContextFactory(e)},e.prototype.destroyNode=function(e){!function(e){kn.delete(e.nativeNode)}(xn(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=this.createDebugContext(n);if(r){var o=new En(n,null,r);o.name=e,Tn(o)}return n},e.prototype.createComment=function(e){var t=this.delegate.createComment(e),n=this.createDebugContext(t);return n&&Tn(new Cn(t,null,n)),t},e.prototype.createText=function(e){var t=this.delegate.createText(e),n=this.createDebugContext(t);return n&&Tn(new Cn(t,null,n)),t},e.prototype.appendChild=function(e,t){var n=xn(e),r=xn(t);n&&r&&n instanceof En&&n.addChild(r),this.delegate.appendChild(e,t)},e.prototype.insertBefore=function(e,t,n){var r=xn(e),o=xn(t),i=xn(n);r&&o&&r instanceof En&&r.insertBefore(i,o),this.delegate.insertBefore(e,t,n)},e.prototype.removeChild=function(e,t){var n=xn(e),r=xn(t);n&&r&&n instanceof En&&n.removeChild(r),this.delegate.removeChild(e,t)},e.prototype.selectRootElement=function(e,t){var n=this.delegate.selectRootElement(e,t),r=di();return r&&Tn(new En(n,null,r)),n},e.prototype.setAttribute=function(e,t,n,r){var o=xn(e);o&&o instanceof En&&(o.attributes[r?r+":"+t:t]=n),this.delegate.setAttribute(e,t,n,r)},e.prototype.removeAttribute=function(e,t,n){var r=xn(e);r&&r instanceof En&&(r.attributes[n?n+":"+t:t]=null),this.delegate.removeAttribute(e,t,n)},e.prototype.addClass=function(e,t){var n=xn(e);n&&n instanceof En&&(n.classes[t]=!0),this.delegate.addClass(e,t)},e.prototype.removeClass=function(e,t){var n=xn(e);n&&n instanceof En&&(n.classes[t]=!1),this.delegate.removeClass(e,t)},e.prototype.setStyle=function(e,t,n,r){var o=xn(e);o&&o instanceof En&&(o.styles[t]=n),this.delegate.setStyle(e,t,n,r)},e.prototype.removeStyle=function(e,t,n){var r=xn(e);r&&r instanceof En&&(r.styles[t]=null),this.delegate.removeStyle(e,t,n)},e.prototype.setProperty=function(e,t,n){var r=xn(e);r&&r instanceof En&&(r.properties[t]=n),this.delegate.setProperty(e,t,n)},e.prototype.listen=function(e,t,n){if("string"!=typeof e){var r=xn(e);r&&r.listeners.push(new _n(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 yi(e,t,n){return new gi(e,t,n)}var gi=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(!Po){Po=!0;var e=Tt()?{setCurrentNode:ni,createRootView:Vo,createEmbeddedView:Ro,createComponentView:Fo,createNgModuleRef:Lo,overrideProvider:Ho,overrideComponentView:Bo,clearOverrides:Wo,checkAndUpdateView:Yo,checkNoChangesView:Qo,destroyView:Jo,createDebugContext:function(e,t){return new fi(e,t)},handleEvent:ri,updateDirectives:oi,updateRenderer:ii}:{setCurrentNode:function(){},createRootView:jo,createEmbeddedView:ho,createComponentView:yo,createNgModuleRef:Rr,overrideProvider:Un,overrideComponentView:Un,clearOverrides:Un,checkAndUpdateView:_o,checkNoChangesView:wo,destroyView:To,createDebugContext:function(e,t){return new fi(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?Go:Ko,e)},updateRenderer:function(e,t){return e.def.updateRenderer(0===t?Go:Ko,e)}};Mn.setCurrentNode=e.setCurrentNode,Mn.createRootView=e.createRootView,Mn.createEmbeddedView=e.createEmbeddedView,Mn.createComponentView=e.createComponentView,Mn.createNgModuleRef=e.createNgModuleRef,Mn.overrideProvider=e.overrideProvider,Mn.overrideComponentView=e.overrideComponentView,Mn.clearOverrides=e.clearOverrides,Mn.checkAndUpdateView=e.checkAndUpdateView,Mn.checkNoChangesView=e.checkNoChangesView,Mn.destroyView=e.destroyView,Mn.resolveDep=eo,Mn.createDebugContext=e.createDebugContext,Mn.handleEvent=e.handleEvent,Mn.updateDirectives=e.updateDirectives,Mn.updateRenderer=e.updateRenderer,Mn.dirtyParentQueries=so}}();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}}(rr(this._ngModuleDefFactory));return Mn.createNgModuleRef(this.moduleType,e||qe.NULL,this._bootstrapComponents,t)},t}(vt),bi=function(){return function(){}}(),mi=function(){return function(){}}(),wi=void 0,_i=["en",[["a","p"],["AM","PM"],wi],[["AM","PM"],wi,wi],[["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"]],wi,[["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"]],wi,[["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}",wi,"{1} 'at' {0}",wi],[".",",",";","%","+","-","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}],Ci={},Ei=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}({}),ki=new le("UseV4Plurals"),xi=function(){return function(){}}(),Ti=function(e){function t(t,n){var r=e.call(this)||this;return r.locale=t,r.deprecatedPluralFn=n,r}return o(t,e),t.prototype.getPluralCategory=function(e,t){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(t||this.locale,e):function(e){return function(e){var t=e.toLowerCase().replace(/_/g,"-"),n=Ci[t];if(n)return n;var r=t.split("-")[0];if(n=Ci[r])return n;if("en"===r)return _i;throw new Error('Missing locale data for the locale "'+e+'".')}(e)[18]}(t||this.locale)(e)){case Ei.Zero:return"zero";case Ei.One:return"one";case Ei.Two:return"two";case Ei.Few:return"few";case Ei.Many:return"many";default:return"other"}},t}(xi),Si=function(){return function(){}}(),Ni=new le("DocumentToken"),Ii=yi(bi,[],function(e){return function(e){for(var t={},n=[],r=!1,o=0;o<e.length;o++){var i=e[o];i.token===st&&!0===i.value&&(r=!0),1073741824&i.flags&&n.push(i.token),i.index=o,t[zn(i.token)]=i}return{factory:null,providersByKey:t,providers:e,modules:n,isRoot:r}}([mr(512,lt,pt,[[8,[]],[3,lt],ht]),mr(4608,xi,Ti,[Nn,[2,ki]]),mr(1073742336,Si,Si,[]),mr(1073742336,bi,bi,[])])}),Oi=null;function Ai(){return Oi}var Di,Pi={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},ji={"\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"},Vi={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"};ye.Node&&(Di=ye.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))});var Mi,Ri=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,Oi||(Oi=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 Pi},enumerable:!0,configurable:!0}),t.prototype.contains=function(e,t){return Di.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&&Vi.hasOwnProperty(t)&&(t=Vi[t]))}return ji[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=Fi||(Fi=document.querySelector("base"))?Fi.getAttribute("href"):null;return null==n?null:(t=n,Mi||(Mi=document.createElement("a")),Mi.setAttribute("href",t),"/"===Mi.pathname.charAt(0)?Mi.pathname:"/"+Mi.pathname)},t.prototype.resetBaseElement=function(){Fi=null},t.prototype.getUserAgent=function(){return window.navigator.userAgent},t.prototype.setData=function(e,t,n){this.setAttribute(e,"data-"+t,n)},t.prototype.getData=function(e,t){return this.getAttribute(e,"data-"+t)},t.prototype.getComputedStyle=function(e){return getComputedStyle(e)},t.prototype.supportsWebAnimation=function(){return"function"==typeof Element.prototype.animate},t.prototype.performanceNow=function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()},t.prototype.supportsCookies=function(){return!0},t.prototype.getCookie=function(e){return function(e,t){var n,r;t=encodeURIComponent(t);try{for(var o=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}(e.split(";")),i=o.next();!i.done;i=o.next()){var s=i.value,a=s.indexOf("="),c=u(-1==a?[s,""]:[s.slice(0,a),s.slice(a+1)],2),f=c[1];if(c[0].trim()===t)return decodeURIComponent(f)}}catch(l){n={error:l}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return null}(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}())),Fi=null,Li=Ni;function Ui(){return!!window.history.pushState}var Zi=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=Ai().getLocation(),this._history=Ai().getHistory()},t.prototype.getBaseHrefFromDOM=function(){return Ai().getBaseHref(this._doc)},t.prototype.onPopState=function(e){Ai().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)},t.prototype.onHashChange=function(e){Ai().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){Ui()?this._history.pushState(e,t,n):this.location.hash=n},t.prototype.replaceState=function(e,t,n){Ui()?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=Ne(Li),function(e,t){n(e,t,0)}),a("design:paramtypes",[Object])],t)}(mi),zi=function(){function e(){}return e.init=function(){var t;t=new e,un=t},e.prototype.addToWindow=function(e){ye.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},ye.getAllAngularTestabilities=function(){return e.getAllTestabilities()},ye.getAllAngularRootElements=function(){return e.getAllRootElements()},ye.frameworkStabilizers||(ye.frameworkStabilizers=[]),ye.frameworkStabilizers.push(function(e){var t=ye.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?Ai().isShadowRoot(t)?this.findTestabilityInTree(e,Ai().getHost(t),!0):this.findTestabilityInTree(e,Ai().parentElement(t),!0):null},e}(),Hi=("undefined"!=typeof Zone&&Zone,"undefined"!=typeof Zone&&Zone,fn(Sn,"browser",[{provide:zt,useValue:"browser"},{provide:Zt,useValue:function(){Ri.makeCurrent(),zi.init()},multi:!0},{provide:mi,useClass:Zi,deps:[Li]},{provide:Li,useFactory:function(){return document},deps:[]}]));"undefined"!=typeof window&&window,function(){if(xt)throw new Error("Cannot enable prod mode after platform setup.");kt=!1}(),Hi().bootstrapModuleFactory(Ii).catch(function(e){return console.error(e)})},zn8P:function(e,t){function n(e){return Promise.resolve().then(function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t})}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="zn8P"}});