2 Star 3 Fork 0

noonoo/Angualr elements demo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
external-dashboard-tile.native.js 184.51 KB
一键复制 编辑 原始数据 按行查看 历史
Junjian Shen 提交于 2018-08-18 09:19 . 添加示例文件
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745
!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,{configurable:!1,enumerable:!0,get:r})},n.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},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=2)}([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=0},function(e,t,n){"use strict";n.r(t);
/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.
See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */
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 u(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function s(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),u=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)u.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return u}function a(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(s(arguments[t]));return e}function c(e){return"function"==typeof e}var l=!1,d={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){e&&(new Error).stack;l=e},get useDeprecatedSynchronousErrorHandling(){return l}};function f(e){setTimeout(function(){throw e})}var p={closed:!0,next:function(e){},error:function(e){if(d.useDeprecatedSynchronousErrorHandling)throw e;f(e)},complete:function(){}},h=Array.isArray||function(e){return e&&"number"==typeof e.length};function v(e){return null!=e&&"object"==typeof e}var y,g={e:{}};function m(){try{return y.apply(this,arguments)}catch(e){return g.e=e,g}}function b(e){return y=e,m}var _=function(e){function t(n){var r=e.call(this,n?n.length+" errors occurred during unsubscription:\n "+n.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"")||this;return r.errors=n,r.name="UnsubscriptionError",Object.setPrototypeOf(r,t.prototype),r}return o(t,e),t}(Error),w=function(){function e(e){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}return e.prototype.unsubscribe=function(){var e,t=!1;if(!this.closed){var n=this._parent,r=this._parents,o=this._unsubscribe,i=this._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var u=-1,s=r?r.length:0;n;)n.remove(this),n=++u<s&&r[u]||null;if(c(o))b(o).call(this)===g&&(t=!0,e=e||(g.e instanceof _?E(g.e.errors):[g.e]));if(h(i))for(u=-1,s=i.length;++u<s;){var a=i[u];if(v(a))if(b(a.unsubscribe).call(a)===g){t=!0,e=e||[];var l=g.e;l instanceof _?e=e.concat(E(l.errors)):e.push(l)}}if(t)throw new _(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=function(e){return e.closed=!0,e}(new e),e}();function E(e){return e.reduce(function(e,t){return e.concat(t instanceof _?t.errors:t)},[])}var C="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("rxSubscriber"):"@@rxSubscriber",x=function(e){function t(t,n,r){var o=e.call(this)||this;switch(o.syncErrorValue=null,o.syncErrorThrown=!1,o.syncErrorThrowable=!1,o.isStopped=!1,arguments.length){case 0:o.destination=p;break;case 1:if(!t){o.destination=p;break}if("object"==typeof t){if(function(e){return e instanceof x||"syncErrorThrowable"in e&&e[C]}(t)){var i=t[C]();o.syncErrorThrowable=i.syncErrorThrowable,o.destination=i,i.add(o)}else o.syncErrorThrowable=!0,o.destination=new T(o,t);break}default:o.syncErrorThrowable=!0,o.destination=new T(o,t,n,r)}return o}return o(t,e),t.prototype[C]=function(){return this},t.create=function(e,n,r){var o=new t(e,n,r);return o.syncErrorThrowable=!1,o},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this))},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){this.destination.error(e),this.unsubscribe()},t.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},t.prototype._unsubscribeAndRecycle=function(){var e=this._parent,t=this._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=e,this._parents=t,this},t}(w),T=function(e){function t(t,n,r,o){var i,u=e.call(this)||this;u._parentSubscriber=t;var s=u;return c(n)?i=n:n&&(i=n.next,r=n.error,o=n.complete,n!==p&&(c((s=Object.create(n)).unsubscribe)&&u.add(s.unsubscribe.bind(s)),s.unsubscribe=u.unsubscribe.bind(u))),u._context=s,u._next=i,u._error=r,u._complete=o,u}return o(t,e),t.prototype.next=function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;d.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=d.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):f(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;f(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)};d.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},t.prototype.__tryOrUnsub=function(e,t){try{e.call(this._context,t)}catch(e){if(this.unsubscribe(),d.useDeprecatedSynchronousErrorHandling)throw e;f(e)}},t.prototype.__tryOrSetError=function(e,t,n){if(!d.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(t){return d.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=t,e.syncErrorThrown=!0,!0):(f(t),!0)}return!1},t.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()},t}(x);var k="function"==typeof Symbol&&Symbol.observable||"@@observable";function I(){}function S(e){return e?1===e.length?e[0]:function(t){return e.reduce(function(e,t){return t(e)},t)}:I}var N=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 x)return e;if(e[C])return e[C]()}return e||t||n?new x(e,t,n):new x(p)}(e,t,n);if(r?r.call(o,this.source):o.add(this.source||d.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),d.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){d.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),e.error(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=A(t))(function(t,r){var o;o=n.subscribe(function(t){try{e(t)}catch(e){r(e),o&&o.unsubscribe()}},r,t)})},e.prototype._subscribe=function(e){var t=this.source;return t&&t.subscribe(e)},e.prototype[k]=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:S(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=A(e))(function(e,n){var r;t.subscribe(function(e){return r=e},function(e){return n(e)},function(){return e(r)})})},e.create=function(t){return new e(t)},e}();function A(e){if(e||(e=d.Promise||Promise),!e)throw new Error("no Promise impl found");return e}var D=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}(x),O=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()}},P=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,f),t}};var R=function(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}(),M=function(e){return function(t){for(var n=e[R]();;){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}},V=function(e){return function(t){var n=e[k]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(t)}},j=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};function H(e){return e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}var F=function(e){if(e instanceof N)return function(t){return e._isScalar?(t.next(e.value),void t.complete()):e.subscribe(t)};if(e&&"function"==typeof e[k])return V(e);if(j(e))return O(e);if(H(e))return P(e);if(e&&"function"==typeof e[R])return M(e);var t=v(e)?"an invalid object":"'"+e+"'";throw new TypeError("You provided "+t+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")};var L=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}(x);function B(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new z(e,t))}}var z=function(){function e(e,t){this.project=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new U(e,this.project,this.thisArg))},e}(),U=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.project=n,o.count=0,o.thisArg=r||o,o}return o(t,e),t.prototype._next=function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(e){return void this.destination.error(e)}this.destination.next(t)},t}(x);function Z(e,t){return new N(t?function(n){var r=new w,o=0;return r.add(t.schedule(function(){o!==e.length?(n.next(e[o++]),n.closed||r.add(this.schedule())):n.complete()})),r}:O(e))}function q(e,t){if(!t)return e instanceof N?e:new N(F(e));if(null!=e){if(function(e){return e&&"function"==typeof e[k]}(e))return function(e,t){return new N(t?function(n){var r=new w;return r.add(t.schedule(function(){var o=e[k]();r.add(o.subscribe({next:function(e){r.add(t.schedule(function(){return n.next(e)}))},error:function(e){r.add(t.schedule(function(){return n.error(e)}))},complete:function(){r.add(t.schedule(function(){return n.complete()}))}}))})),r}:V(e))}(e,t);if(H(e))return function(e,t){return new N(t?function(n){var r=new w;return r.add(t.schedule(function(){return e.then(function(e){r.add(t.schedule(function(){n.next(e),r.add(t.schedule(function(){return n.complete()}))}))},function(e){r.add(t.schedule(function(){return n.error(e)}))})})),r}:P(e))}(e,t);if(j(e))return Z(e,t);if(function(e){return e&&"function"==typeof e[R]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new N(t?function(n){var r,o=new w;return o.add(function(){r&&"function"==typeof r.return&&r.return()}),o.add(t.schedule(function(){r=e[R](),o.add(t.schedule(function(){if(!n.closed){var e,t;try{var o=r.next();e=o.value,t=o.done}catch(e){return void n.error(e)}t?n.complete():(n.next(e),this.schedule())}}))})),o}:M(e))}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}var Q=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 W(e,this.project,this.concurrent))},e}(),W=function(e){function t(t,n,r){void 0===r&&(r=Number.POSITIVE_INFINITY);var o=e.call(this,t)||this;return o.project=n,o.concurrent=r,o.hasCompleted=!1,o.buffer=[],o.active=0,o.index=0,o}return o(t,e),t.prototype._next=function(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)},t.prototype._tryNext=function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(e){return void this.destination.error(e)}this.active++,this._innerSub(t,e,n)},t.prototype._innerSub=function(e,t,n){this.add(function(e,t,n,r){var o=new D(e,n,r);return F(t)(o)}(this,e,t,n))},t.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete()},t.prototype.notifyNext=function(e,t,n,r,o){this.destination.next(t)},t.prototype.notifyComplete=function(e){var t=this.buffer;this.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},t}(L);function K(e){return e}function G(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 q(t(e,r)).pipe(B(function(t,o){return n(e,t,r,o)}))},r))}:("number"==typeof n&&(r=n),function(e){return e.lift(new Q(t,r))})}(K,e)}function Y(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Number.POSITIVE_INFINITY,r=null,o=e[e.length-1];return!function(e){return e&&"function"==typeof e.schedule}(o)?"number"==typeof o&&(n=e.pop()):(r=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(n=e.pop())),null===r&&1===e.length&&e[0]instanceof N?e[0]:G(n)(Z(e,r))}var J=function(e){function t(){var n=e.call(this,"object unsubscribed")||this;return n.name="ObjectUnsubscribedError",Object.setPrototypeOf(n,t.prototype),n}return o(t,e),t}(Error),$=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}(w),X=function(e){function t(t){var n=e.call(this,t)||this;return n.destination=t,n}return o(t,e),t}(x),ee=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[C]=function(){return new X(this)},t.prototype.lift=function(e){var t=new te(this,this);return t.operator=e,t},t.prototype.next=function(e){if(this.closed)throw new J;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 J;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 J;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 J;return e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){if(this.closed)throw new J;return this.hasError?(e.error(this.thrownError),w.EMPTY):this.isStopped?(e.complete(),w.EMPTY):(this.observers.push(e),new $(this,e))},t.prototype.asObservable=function(){var e=new N;return e.source=this,e},t.create=function(e,t){return new te(e,t)},t}(N),te=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):w.EMPTY},t}(ee);function ne(){return function(e){return e.lift(new re(e))}}var re=function(){function e(e){this.connectable=e}return e.prototype.call=function(e,t){var n=this.connectable;n._refCount++;var r=new oe(e,n),o=t.subscribe(r);return r.closed||(r.connection=n.connect()),o},e}(),oe=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}(x),ie=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 w).add(this.source.subscribe(new se(this.getSubject(),this))),e.closed?(this._connection=null,e=w.EMPTY):this._connection=e),e},t.prototype.refCount=function(){return ne()(this)},t}(N).prototype,ue={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:ie._subscribe},_isComplete:{value:ie._isComplete,writable:!0},getSubject:{value:ie.getSubject},connect:{value:ie.connect},refCount:{value:ie.refCount}},se=function(e){function t(t,n){var r=e.call(this,t)||this;return r.connectable=n,r}return o(t,e),t.prototype._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}(X);var ae=function(){function e(e,t){this.subjectFactory=e,this.selector=t}return e.prototype.call=function(e,t){var n=this.selector,r=this.subjectFactory(),o=n(r).subscribe(e);return o.add(t.subscribe(r)),o},e}();function ce(){return new ee}function le(){return function(e){return ne()(function(e,t){return function(n){var r;if(r="function"==typeof e?e:function(){return e},"function"==typeof t)return n.lift(new ae(r,t));var o=Object.create(n,ue);return o.source=n,o.subjectFactory=r,o}}(ce)(e))}}
/**
* @license Angular v6.0.7
* (c) 2010-2018 Google, Inc. https://angular.io/
* License: MIT
*/
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/function de(e){return{providedIn:e.providedIn||null,factory:e.factory,value:void 0}}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var fe=function(){function e(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0!==t?de({providedIn:t.providedIn||"root",factory:t.factory}):void 0}return e.prototype.toString=function(){return"InjectionToken "+this._desc},e}(),pe="__parameters__";
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/function he(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(e){var r=e.apply(void 0,a(t));for(var o in r)this[o]=r[o]}}}function ve(e,t,n){var r=he(t);function o(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(this instanceof o)return r.apply(this,e),this;var n,i=new((n=o).bind.apply(n,a([void 0],e)));return u.annotation=i,u;function u(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}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
Function;
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var ye="undefined"!=typeof window&&window,ge="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,me="undefined"!=typeof global&&global,be=ye||me||ge,_e=Promise.resolve(0),we=null;function Ee(){if(!we){var e=be.Symbol;if(e&&e.iterator)we=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&&(we=r)}}return we}function Ce(e){"undefined"==typeof Zone?_e.then(function(){e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}function xe(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}function Te(e){if("string"==typeof e)return e;if(e instanceof Array)return"["+e.map(Te).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)}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function ke(e){return e.__forward_ref__=ke,e.toString=function(){return Te(this())},e}function Ie(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")&&e.__forward_ref__===ke?e():e}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/var Se=ve("Inject",function(e){return{token:e}}),Ne=ve("Optional"),Ae=ve("Self"),De=ve("SkipSelf"),Oe="__source",Pe=new Object,Re=new fe("INJECTOR"),Me=function(){function e(){}return e.prototype.get=function(e,t){if(void 0===t&&(t=Pe),t===Pe)throw new Error("NullInjectorError: No provider for "+Te(e)+"!");return t},e}(),Ve=function(){function e(){}return e.create=function(e,t){return Array.isArray(e)?new We(e,t):new We(e.providers,e.parent,e.name||null)},e.THROW_IF_NOT_FOUND=Pe,e.NULL=new Me,e.ngInjectableDef=de({providedIn:"any",factory:function(){return et(Re)}}),e}(),je=function(e){return e},He=[],Fe=je,Le=function(){return Array.prototype.slice.call(arguments)},Be={},ze=function(e){for(var t in e)if(e[t]===Be)return t;throw Error("!prop")}({provide:String,useValue:Be}),Ue="ngTempTokenPath",Ze=Ve.NULL,qe=/\n/gm,Qe="ɵ",We=function(){function e(e,t,n){void 0===t&&(t=Ze),void 0===n&&(n=null),this.parent=t,this.source=n;var r=this._records=new Map;r.set(Ve,{token:Ve,fn:je,deps:He,value:this,useNew:!1}),r.set(Re,{token:Re,fn:je,deps:He,value:this,useNew:!1}),function e(t,n){if(n)if((n=Ie(n))instanceof Array)for(var r=0;r<n.length;r++)e(t,n[r]);else{if("function"==typeof n)throw Je("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw Je("Unexpected provider",n);var o=Ie(n.provide),i=function(e){var t=function(e){var t=He,n=e.deps;if(n&&n.length){t=[];for(var r=0;r<n.length;r++){var o=6,i=Ie(n[r]);if(i instanceof Array)for(var u=0,s=i;u<s.length;u++){var a=s[u];a instanceof Ne||a==Ne?o|=1:a instanceof De||a==De?o&=-3:a instanceof Ae||a==Ae?o&=-5:i=a instanceof Se?a.token:Ie(a)}t.push({token:i,options:o})}}else if(e.useExisting){var i=Ie(e.useExisting);t=[{token:i,options:6}]}else if(!(n||ze in e))throw Je("'deps' required",e);return t}(e),n=je,r=He,o=!1,i=Ie(e.provide);if(ze in e)r=e.useValue;else if(e.useFactory)n=e.useFactory;else if(e.useExisting);else if(e.useClass)o=!0,n=Ie(e.useClass);else{if("function"!=typeof i)throw Je("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",e);o=!0,n=i}return{deps:t,fn:n,useNew:o,value:r}}(n);if(!0===n.multi){var u=t.get(o);if(u){if(u.fn!==Le)throw Ke(o)}else t.set(o,u={token:n.provide,deps:[],useNew:!1,fn:Le,value:He});o=n,u.deps.push({token:o,options:6})}var s=t.get(o);if(s&&s.fn==Le)throw Ke(o);t.set(o,i)}}(r,e)}return e.prototype.get=function(e,t,n){void 0===n&&(n=0);var r=this._records.get(e);try{return Ge(e,r,this._records,this.parent,t,n)}catch(t){var o=t[Ue];throw e[Oe]&&o.unshift(e[Oe]),t.message=Ye("\n"+t.message,o,this.source),t.ngTokenPath=o,t[Ue]=null,t}},e.prototype.toString=function(){var e=[];return this._records.forEach(function(t,n){return e.push(Te(n))}),"StaticInjector["+e.join(", ")+"]"},e}();function Ke(e){return Je("Cannot mix multi providers and regular providers",e)}function Ge(e,t,n,r,o,i){try{return function(e,t,n,r,o,i){var u,s;if(!t||4&i)2&i||(u=r.get(e,o,0));else{if((u=t.value)==Fe)throw Error(Qe+"Circular dependency");if(u===He){t.value=Fe;var c=void 0,l=t.useNew,d=t.fn,f=t.deps,p=He;if(f.length){p=[];for(var h=0;h<f.length;h++){var v=f[h],y=v.options,g=2&y?n.get(v.token):void 0;p.push(Ge(v.token,g,n,g||4&y?r:Ze,1&y?null:Ve.THROW_IF_NOT_FOUND,0))}}t.value=u=l?new((s=d).bind.apply(s,a([void 0],p))):d.apply(c,p)}}return u}(e,t,n,r,o,i)}catch(n){throw n instanceof Error||(n=new Error(n)),(n[Ue]=n[Ue]||[]).unshift(e),t&&t.value==Fe&&(t.value=He),n}}function Ye(e,t,n){void 0===n&&(n=null),e=e&&"\n"===e.charAt(0)&&e.charAt(1)==Qe?e.substr(2):e;var r=Te(t);if(t instanceof Array)r=t.map(Te).join(" -> ");else if("object"==typeof t){var o=[];for(var i in t)if(t.hasOwnProperty(i)){var u=t[i];o.push(i+":"+("string"==typeof u?JSON.stringify(u):Te(u)))}r="{"+o.join(", ")+"}"}return"StaticInjectorError"+(n?"("+n+")":"")+"["+r+"]: "+e.replace(qe,"\n ")}function Je(e,t){return new Error(Ye(e,t))}var $e=void 0;function Xe(e){var t=$e;return $e=e,t}function et(e,t){if(void 0===t&&(t=0),void 0===$e)throw new Error("inject() must be called from an injection context");if(null===$e){var n=e.ngInjectableDef;if(n&&"root"==n.providedIn)return void 0===n.value?n.value=n.factory():n.value;throw new Error("Injector: NOT_FOUND ["+Te(e)+"]")}return $e.get(e,8&t?null:void 0,t)}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var tt={};String;var nt=function(e){return e[e.Emulated=0]="Emulated",e[e.Native=1]="Native",e[e.None=2]="None",e}({}),rt=function(){return function(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}(),ot=new rt("6.0.7"),it="ngDebugContext",ut="ngOriginalError",st="ngErrorLogger";
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/function at(e){return e[it]}function ct(e){return e[ut]}function lt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e.error.apply(e,a(t))}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/var dt=function(){function e(){this._console=console}return e.prototype.handleError=function(e){var t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e[st]||lt}(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?at(e)?at(e):this._findContext(ct(e)):null},e.prototype._findOriginalError=function(e){for(var t=ct(e);t&&ct(t);)t=ct(t);return t},e}();
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var ft=new fe("The presence of this token marks an injector as being the root injector.");
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function pt(e){return!!e&&"function"==typeof e.then}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var ht=new fe("Application Initializer"),vt=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]();pt(o)&&t.push(o)}Promise.all(t).then(function(){n()}).catch(function(t){e.reject(t)}),0===t.length&&n(),this.initialized=!0}},e}(),yt=new fe("AppId");function gt(){return""+mt()+mt()+mt()}function mt(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var bt=new fe("Platform Initializer"),_t=new fe("Platform ID"),wt=new fe("appBootstrapListener"),Et=function(){function e(){}return e.prototype.log=function(e){console.log(e)},e.prototype.warn=function(e){console.warn(e)},e}();function Ct(){throw new Error("Runtime compiler is not loaded")}var xt=function(){function e(){}return e.prototype.compileModuleSync=function(e){throw Ct()},e.prototype.compileModuleAsync=function(e){throw Ct()},e.prototype.compileModuleAndAllComponentsSync=function(e){throw Ct()},e.prototype.compileModuleAndAllComponentsAsync=function(e){throw Ct()},e.prototype.clearCache=function(){},e.prototype.clearCacheFor=function(e){},e}(),Tt=function(){return function(){}}(),kt=function(){return function(){}}(),It=function(){return function(){}}();
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function St(e){var t=Error("No component factory found for "+Te(e)+". Did you add it to @NgModule.entryComponents?");return t[Dt]=e,t}var Nt,At,Dt="ngComponent",Ot=function(){function e(){}return e.prototype.resolveComponentFactory=function(e){throw St(e)},e}(),Pt=function(){function e(){}return e.NULL=new Ot,e}(),Rt=function(){function e(e,t,n){this._parent=t,this._ngModule=n,this._factories=new Map;for(var r=0;r<e.length;r++){var o=e[r];this._factories.set(o.componentType,o)}}return e.prototype.resolveComponentFactory=function(e){var t=this._factories.get(e);if(!t&&this._parent&&(t=this._parent.resolveComponentFactory(e)),!t)throw St(e);return new Mt(t,this._ngModule)},e}(),Mt=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}(It),Vt=function(){return function(){}}(),jt=function(){return function(){}}();
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var Ht=function(){var e=be.wtf;return!(!e||!(Nt=e.trace)||(At=Nt.events,0))}();function Ft(e,t){return null}var Lt=Ht?function(e,t){return void 0===t&&(t=null),At.createScope(e,t)}:function(e,t){return Ft},Bt=Ht?function(e,t){return Nt.leaveScope(e,t),t}:function(e,t){return t},zt=function(e){function t(t){void 0===t&&(t=!1);var n=e.call(this)||this;return n.__isAsync=t,n}return o(t,e),t.prototype.emit=function(t){e.prototype.next.call(this,t)},t.prototype.subscribe=function(t,n,r){var o,i=function(e){return null},u=function(){return null};t&&"object"==typeof t?(o=this.__isAsync?function(e){setTimeout(function(){return t.next(e)})}:function(e){t.next(e)},t.error&&(i=this.__isAsync?function(e){setTimeout(function(){return t.error(e)})}:function(e){t.error(e)}),t.complete&&(u=this.__isAsync?function(){setTimeout(function(){return t.complete()})}:function(){t.complete()})):(o=this.__isAsync?function(e){setTimeout(function(){return t(e)})}:function(e){t(e)},n&&(i=this.__isAsync?function(e){setTimeout(function(){return n(e)})}:function(e){n(e)}),r&&(u=this.__isAsync?function(){setTimeout(function(){return r()})}:function(){r()}));var s=e.prototype.subscribe.call(this,o,i,u);return t instanceof w&&t.add(s),s},t}(ee),Ut=function(){function e(e){var t=e.enableLongStackTrace,n=void 0!==t&&t;if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new zt(!1),this.onMicrotaskEmpty=new zt(!1),this.onStable=new zt(!1),this.onError=new zt(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),function(e){e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(t,n,r,o,i,u){try{return Wt(e),t.invokeTask(r,o,i,u)}finally{Kt(e)}},onInvoke:function(t,n,r,o,i,u,s){try{return Wt(e),t.invoke(r,o,i,u,s)}finally{Kt(e)}},onHasTask:function(t,n,r,o){t.hasTask(r,o),n===r&&("microTask"==o.change?(e.hasPendingMicrotasks=o.microTask,Qt(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:function(t,n,r,o){return t.handleError(r,o),e.runOutsideAngular(function(){return e.onError.emit(o)}),!1}})}(this)}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,qt,Zt,Zt);try{return o.runTask(i,t,n)}finally{o.cancelTask(i)}},e.prototype.runGuarded=function(e,t,n){return this._inner.runGuarded(e,t,n)},e.prototype.runOutsideAngular=function(e){return this._outer.run(e)},e}();function Zt(){}var qt={};function Qt(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 Wt(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Kt(e){e._nesting--,Qt(e)}var Gt=function(){function e(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new zt,this.onMicrotaskEmpty=new zt,this.onStable=new zt,this.onError=new zt}return e.prototype.run=function(e){return e()},e.prototype.runGuarded=function(e){return e()},e.prototype.runOutsideAngular=function(e){return e()},e.prototype.runTask=function(e){return e()},e}(),Yt=function(){function e(e){var t=this;this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this._watchAngularEvents(),e.run(function(){t.taskTrackingZone=Zone.current.get("TaskTrackingZone")})}return e.prototype._watchAngularEvents=function(){var e=this;this._ngZone.onUnstable.subscribe({next:function(){e._didWork=!0,e._isZoneStable=!1}}),this._ngZone.runOutsideAngular(function(){e._ngZone.onStable.subscribe({next:function(){Ut.assertNotInAngularZone(),Ce(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())Ce(function(){for(;0!==e._callbacks.length;){var t=e._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(e._didWork)}e._didWork=!1});else{var t=this.getPendingTasks();this._callbacks=this._callbacks.filter(function(e){return!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)}),this._didWork=!0}},e.prototype.getPendingTasks=function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(function(e){return{source:e.source,isPeriodic:e.data.isPeriodic,delay:e.data.delay,creationLocation:e.creationLocation,xhr:e.data.target}}):[]},e.prototype.addCallback=function(e,t,n){var r=this,o=-1;t&&t>0&&(o=setTimeout(function(){r._callbacks=r._callbacks.filter(function(e){return e.timeoutId!==o}),e(r._didWork,r.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:o,updateCb:n})},e.prototype.whenStable=function(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()},e.prototype.getPendingRequestCount=function(){return this._pendingCount},e.prototype.findProviders=function(e,t,n){return[]},e}(),Jt=function(){function e(){this._applications=new Map,Xt.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),Xt.findTestabilityInTree(this,e,t)},e.ctorParameters=function(){return[]},e}();
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/var $t,Xt=new(function(){function e(){}return e.prototype.addToWindow=function(e){},e.prototype.findTestabilityInTree=function(e,t,n){return null},e}()),en=!0,tn=!1,nn=new fe("AllowMultipleToken");
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/function rn(){return tn=!0,en}var on=function(){return function(e,t){this.name=e,this.token=t}}();function un(e,t,n){void 0===n&&(n=[]);var r="Platform: "+t,o=new fe(r);return function(t){void 0===t&&(t=[]);var i=sn();if(!i||i.injector.get(nn,!1))if(e)e(n.concat(t).concat({provide:o,useValue:!0}));else{var u=n.concat(t).concat({provide:o,useValue:!0});!function(e){if($t&&!$t.destroyed&&!$t.injector.get(nn,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");$t=e.get(an);var t=e.get(bt,null);t&&t.forEach(function(e){return e()})}(Ve.create({providers:u,name:r}))}return function(e){var t=sn();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 sn(){return $t&&!$t.destroyed?$t:null}var an=function(){function e(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return e.prototype.bootstrapModuleFactory=function(e,t){var n=this,r=function(e){var t;t="noop"===e?new Gt:("zone.js"===e?void 0:e)||new Ut({enableLongStackTrace:rn()});return t}(t?t.ngZone:void 0),o=[{provide:Ut,useValue:r}];return r.run(function(){var t=Ve.create({providers:o,parent:n.injector,name:e.moduleType.name}),i=e.create(t),u=i.injector.get(dt,null);if(!u)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return i.onDestroy(function(){return dn(n._modules,i)}),r.runOutsideAngular(function(){return r.onError.subscribe({next:function(e){u.handleError(e)}})}),function(e,t,n){try{var r=n();return pt(r)?r.catch(function(n){throw t.runOutsideAngular(function(){return e.handleError(n)}),n}):r}catch(n){throw t.runOutsideAngular(function(){return e.handleError(n)}),n}}(u,r,function(){var e=i.injector.get(vt);return e.runInitializers(),e.donePromise.then(function(){return n._moduleDoBootstrap(i),i})})})},e.prototype.bootstrapModule=function(e,t){var n=this;void 0===t&&(t=[]);var r=this.injector.get(Tt),o=cn({},t);return r.createCompiler([o]).compileModuleAsync(e).then(function(e){return n.bootstrapModuleFactory(e,o)})},e.prototype._moduleDoBootstrap=function(e){var t=e.injector.get(ln);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(function(e){return t.bootstrap(e)});else{if(!e.instance.ngDoBootstrap)throw new Error("The module "+Te(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 cn(e,t){return e=Array.isArray(t)?t.reduce(cn,e):i({},e,t)}var ln=function(){function e(e,t,n,r,o,i){var u=this;this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=o,this._initStatus=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=rn(),this._zone.onMicrotaskEmpty.subscribe({next:function(){u._zone.run(function(){u.tick()})}});var s=new N(function(e){u._stable=u._zone.isStable&&!u._zone.hasPendingMacrotasks&&!u._zone.hasPendingMicrotasks,u._zone.runOutsideAngular(function(){e.next(u._stable),e.complete()})}),a=new N(function(e){var t;u._zone.runOutsideAngular(function(){t=u._zone.onStable.subscribe(function(){Ut.assertNotInAngularZone(),Ce(function(){u._stable||u._zone.hasPendingMacrotasks||u._zone.hasPendingMicrotasks||(u._stable=!0,e.next(!0))})})});var n=u._zone.onUnstable.subscribe(function(){Ut.assertInAngularZone(),u._stable&&(u._stable=!1,u._zone.runOutsideAngular(function(){e.next(!1)}))});return function(){t.unsubscribe(),n.unsubscribe()}});this.isStable=Y(s,a.pipe(le()))}return e.prototype.bootstrap=function(e,t){var n,r=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=e instanceof It?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var o=n instanceof Mt?null:this._injector.get(Vt),i=t||n.selector,u=n.create(Ve.NULL,[],i,o);u.onDestroy(function(){r._unloadComponent(u)});var s=u.injector.get(Yt,null);return s&&u.injector.get(Jt).registerApplication(u.location.nativeElement,s),this._loadComponent(u),rn()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),u},e.prototype.tick=function(){var t=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=e._tickScope();try{this._runningTick=!0,this._views.forEach(function(e){return e.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(e){return e.checkNoChanges()})}catch(e){this._zone.runOutsideAngular(function(){return t._exceptionHandler.handleError(e)})}finally{this._runningTick=!1,Bt(n)}},e.prototype.attachView=function(e){var t=e;this._views.push(t),t.attachToAppRef(this)},e.prototype.detachView=function(e){var t=e;dn(this._views,t),t.detachFromAppRef()},e.prototype._loadComponent=function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(wt,[]).concat(this._bootstrapListeners).forEach(function(t){return t(e)})},e.prototype._unloadComponent=function(e){this.detachView(e.hostView),dn(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=Lt("ApplicationRef#tick()"),e}();function dn(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/var fn=function(){return function(){}}(),pn=function(){return function(){}}(),hn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({}),vn=function(){return function(){}}(),yn=function(){return function(e){this.nativeElement=e}}();
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var gn=function(){function e(){this.dirty=!0,this._results=[],this.changes=new zt,this.length=0}return e.prototype.map=function(e){return this._results.map(e)},e.prototype.filter=function(e){return this._results.filter(e)},e.prototype.find=function(e){return this._results.find(e)},e.prototype.reduce=function(e,t){return this._results.reduce(e,t)},e.prototype.forEach=function(e){this._results.forEach(e)},e.prototype.some=function(e){return this._results.some(e)},e.prototype.toArray=function(){return this._results.slice()},e.prototype[Ee()]=function(){return this._results[Ee()]()},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)},[])}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/(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}();
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var mn=function(){return function(){}}(),bn=function(){return function(){}}(),_n=function(){return function(){}}(),wn=function(){return function(e,t){this.name=e,this.callback=t}}(),En=function(){function e(e,t,n){this._debugContext=n,this.nativeNode=e,t&&t instanceof Cn?t.addChild(this):this.parent=null,this.listeners=[]}return Object.defineProperty(e.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),e}(),Cn=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,a([o+1,0],t)),t.forEach(function(e){e.parent&&e.parent.removeChild(e),e.parent=r}))},t.prototype.insertBefore=function(e,t){var n=this.childNodes.indexOf(e);-1===n?this.addChild(t):(t.parent&&t.parent.removeChild(t),t.parent=this,this.childNodes.splice(n,0,t))},t.prototype.query=function(e){return this.queryAll(e)[0]||null},t.prototype.queryAll=function(e){var t=[];return function e(t,n,r){t.childNodes.forEach(function(t){t instanceof Cn&&(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 Cn&&t.childNodes.forEach(function(t){n(t)&&r.push(t),t instanceof Cn&&e(t,n,r)})}(this,e,t),t},Object.defineProperty(t.prototype,"children",{get:function(){return this.childNodes.filter(function(e){return e instanceof t})},enumerable:!0,configurable:!0}),t.prototype.triggerEventHandler=function(e,t){this.listeners.forEach(function(n){n.name==e&&n.callback(t)})},t}(En);
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/var xn=new Map;function Tn(e){return xn.get(e)||null}function kn(e){xn.set(e.nativeNode,e)}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function In(e,t){var n=An(e),r=An(t);return n&&r?function(e,t,n){var r=e[Ee()](),o=t[Ee()]();for(;;){var i=r.next(),u=o.next();if(i.done&&u.done)return!0;if(i.done||u.done)return!1;if(!n(i.value,u.value))return!1}}(e,t,In):!(n||!(e&&("object"==typeof e||"function"==typeof e))||r||!(t&&("object"==typeof t||"function"==typeof t)))||xe(e,t)}var Sn=function(){function e(e){this.wrapped=e}return e.wrap=function(t){return new e(t)},e.unwrap=function(t){return e.isWrapped(t)?t.wrapped:t},e.isWrapped=function(t){return t instanceof e},e}(),Nn=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 An(e){return!!Dn(e)&&(Array.isArray(e)||!(e instanceof Map)&&Ee()in e)}function Dn(e){return null!==e&&("function"==typeof e||"object"==typeof e)}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/var On=function(){function e(){}return e.prototype.supports=function(e){return An(e)},e.prototype.create=function(e){return new Rn(e)},e}(),Pn=function(e,t){return t},Rn=function(){function e(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||Pn}return e.prototype.forEachItem=function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)},e.prototype.forEachOperation=function(e){for(var t=this._itHead,n=this._removalsHead,r=0,o=null;t||n;){var i=!n||t&&t.currentIndex<Hn(n,r,o)?t:n,u=Hn(i,r,o),s=i.currentIndex;if(i===n)r--,n=n._nextRemoved;else if(t=t._next,null==i.previousIndex)r++;else{o||(o=[]);var a=u-r,c=s-r;if(a!=c){for(var l=0;l<a;l++){var d=l<o.length?o[l]:o[l]=0,f=d+l;c<=f&&f<a&&(o[l]=d+1)}o[i.previousIndex]=c-a}}u!==s&&e(i,u,s)}},e.prototype.forEachPreviousItem=function(e){var t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)},e.prototype.forEachAddedItem=function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)},e.prototype.forEachMovedItem=function(e){var t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)},e.prototype.forEachRemovedItem=function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)},e.prototype.forEachIdentityChange=function(e){var t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)},e.prototype.diff=function(e){if(null==e&&(e=[]),!An(e))throw new Error("Error trying to diff '"+Te(e)+"'. Only arrays and iterables are allowed");return this.check(e)?this:null},e.prototype.onDestroy=function(){},e.prototype.check=function(e){var t=this;this._reset();var n,r,o,i=this._itHead,u=!1;if(Array.isArray(e)){this.length=e.length;for(var s=0;s<this.length;s++)r=e[s],o=this._trackByFn(s,r),null!==i&&xe(i.trackById,o)?(u&&(i=this._verifyReinsertion(i,r,o,s)),xe(i.item,r)||this._addIdentityChange(i,r)):(i=this._mismatch(i,r,o,s),u=!0),i=i._next}else n=0,function(e,t){if(Array.isArray(e))for(var n=0;n<e.length;n++)t(e[n]);else for(var r=e[Ee()](),o=void 0;!(o=r.next()).done;)t(o.value)}(e,function(e){o=t._trackByFn(n,e),null!==i&&xe(i.trackById,o)?(u&&(i=t._verifyReinsertion(i,e,o,n)),xe(i.item,e)||t._addIdentityChange(i,e)):(i=t._mismatch(i,e,o,n),u=!0),i=i._next,n++}),this.length=n;return this._truncate(i),this.collection=e,this.isDirty},Object.defineProperty(e.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead},enumerable:!0,configurable:!0}),e.prototype._reset=function(){if(this.isDirty){var e=void 0,t=void 0;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=t)e.previousIndex=e.currentIndex,t=e._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}},e.prototype._mismatch=function(e,t,n,r){var o;return null===e?o=this._itTail:(o=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(xe(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,o,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(xe(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,o,r)):e=this._addAfter(new Mn(t,n),o,r),e},e.prototype._verifyReinsertion=function(e,t,n,r){var o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==o?e=this._reinsertAfter(o,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e},e.prototype._truncate=function(e){for(;null!==e;){var t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)},e.prototype._reinsertAfter=function(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);var r=e._prevRemoved,o=e._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e},e.prototype._moveAfter=function(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e},e.prototype._addAfter=function(e,t,n){return this._insertAfter(e,t,n),null===this._additionsTail?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e},e.prototype._insertAfter=function(e,t,n){var r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new jn),this._linkedRecords.put(e),e.currentIndex=n,e},e.prototype._remove=function(e){return this._addToRemovals(this._unlink(e))},e.prototype._unlink=function(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);var t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e},e.prototype._addToMoves=function(e,t){return e.previousIndex===t?e:(null===this._movesTail?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e,e)},e.prototype._addToRemovals=function(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new jn),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e},e.prototype._addIdentityChange=function(e,t){return e.item=t,null===this._identityChangesTail?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e},e}(),Mn=function(){return function(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}(),Vn=function(){function e(){this._head=null,this._tail=null}return e.prototype.add=function(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)},e.prototype.get=function(e,t){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&xe(n.trackById,e))return n;return null},e.prototype.remove=function(e){var t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head},e}(),jn=function(){function e(){this.map=new Map}return e.prototype.put=function(e){var t=e.trackById,n=this.map.get(t);n||(n=new Vn,this.map.set(t,n)),n.add(e)},e.prototype.get=function(e,t){var n=e,r=this.map.get(n);return r?r.get(e,t):null},e.prototype.remove=function(e){var t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e},Object.defineProperty(e.prototype,"isEmpty",{get:function(){return 0===this.map.size},enumerable:!0,configurable:!0}),e.prototype.clear=function(){this.map.clear()},e}();function Hn(e,t,n){var r=e.previousIndex;if(null===r)return r;var o=0;return n&&r<n.length&&(o=n[r]),r+t+o}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/var Fn=function(){function e(){}return e.prototype.supports=function(e){return e instanceof Map||Dn(e)},e.prototype.create=function(){return new Ln},e}(),Ln=function(){function e(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}return Object.defineProperty(e.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead},enumerable:!0,configurable:!0}),e.prototype.forEachItem=function(e){var t;for(t=this._mapHead;null!==t;t=t._next)e(t)},e.prototype.forEachPreviousItem=function(e){var t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)},e.prototype.forEachChangedItem=function(e){var t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)},e.prototype.forEachAddedItem=function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)},e.prototype.forEachRemovedItem=function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)},e.prototype.diff=function(e){if(e){if(!(e instanceof Map||Dn(e)))throw new Error("Error trying to diff '"+Te(e)+"'. Only maps and objects are allowed")}else e=new Map;return this.check(e)?this:null},e.prototype.onDestroy=function(){},e.prototype.check=function(e){var t=this;this._reset();var n=this._mapHead;if(this._appendAfter=null,this._forEach(e,function(e,r){if(n&&n.key===r)t._maybeAddToChanges(n,e),t._appendAfter=n,n=n._next;else{var o=t._getOrCreateRecordForKey(r,e);n=t._insertBeforeOrAppend(n,o)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(var r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty},e.prototype._insertBeforeOrAppend=function(e,t){if(e){var n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null},e.prototype._getOrCreateRecordForKey=function(e,t){if(this._records.has(e)){var n=this._records.get(e);this._maybeAddToChanges(n,t);var r=n._prev,o=n._next;return r&&(r._next=o),o&&(o._prev=r),n._next=null,n._prev=null,n}var i=new Bn(e);return this._records.set(e,i),i.currentValue=t,this._addToAdditions(i),i},e.prototype._reset=function(){if(this.isDirty){var e=void 0;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}},e.prototype._maybeAddToChanges=function(e,t){xe(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))},e.prototype._addToAdditions=function(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)},e.prototype._addToChanges=function(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)},e.prototype._forEach=function(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(function(n){return t(e[n],n)})},e}(),Bn=function(){return function(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}(),zn=function(){function e(e){this.factories=e}return e.create=function(t,n){if(null!=n){var r=n.factories.slice();t=t.concat(r)}return new e(t)},e.extend=function(t){return{provide:e,useFactory:function(n){if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,n)},deps:[[e,new De,new Ne]]}},e.prototype.find=function(e){var t=this.factories.find(function(t){return t.supports(e)});if(null!=t)return t;throw new Error("Cannot find a differ supporting object '"+e+"' of type '"+function(e){return e.name||typeof e}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/(e)+"'")},e.ngInjectableDef=de({providedIn:"root",factory:function(){return new e([new On])}}),e}();var Un=function(){function e(e){this.factories=e}return e.create=function(t,n){if(n){var r=n.factories.slice();t=t.concat(r)}return new e(t)},e.extend=function(t){return{provide:e,useFactory:function(n){if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,n)},deps:[[e,new De,new Ne]]}},e.prototype.find=function(e){var t=this.factories.find(function(t){return t.supports(e)});if(t)return t;throw new Error("Cannot find a differ supporting object '"+e+"'")},e}(),Zn=[new Fn],qn=new zn([new On]),Qn=new Un(Zn),Wn=un(null,"core",[{provide:_t,useValue:"unknown"},{provide:an,deps:[Ve]},{provide:Jt,deps:[]},{provide:Et,deps:[]}]),Kn=new fe("LocaleId");
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function Gn(){return qn}function Yn(){return Qn}function Jn(e){return e||"en-US"}var $n=function(){return function(e){}}(),Xn=function(){function e(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertBodyElement=this.inertDocument.body,null==this.inertBodyElement){var t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t),this.inertBodyElement=this.inertDocument.createElement("body"),t.appendChild(this.inertBodyElement)}this.inertBodyElement.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/()?this.getInertBodyElement=this.getInertBodyElement_DOMParser:this.getInertBodyElement=this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return e.prototype.getInertBodyElement_XHR=function(e){e="<body><remove></remove>"+e+"</body>";try{e=encodeURI(e)}catch(e){return null}var t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(null);var n=t.response.body;return n.removeChild(n.firstChild),n},e.prototype.getInertBodyElement_DOMParser=function(e){e="<body><remove></remove>"+e+"</body>";try{var t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(e){return null}},e.prototype.getInertBodyElement_InertDocument=function(e){var t=this.inertDocument.createElement("template");return"content"in t?(t.innerHTML=e,t):(this.inertBodyElement.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},e.prototype.stripCustomNsAttrs=function(e){for(var t=e.attributes,n=t.length-1;0<n;n--){var r=t.item(n).name;"xmlns:ns1"!==r&&0!==r.indexOf("ns1:")||e.removeAttribute(r)}for(var o=e.firstChild;o;)o.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(o),o=o.nextSibling},e}();
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/var er=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,tr=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function nr(e){return(e=String(e)).match(er)||e.match(tr)?e:(rn()&&console.warn("WARNING: sanitizing unsafe URL value "+e+" (see http://g.co/ng/security#xss)"),"unsafe:"+e)}function rr(e){return(e=String(e)).split(",").map(function(e){return nr(e.trim())}).join(", ")}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/function or(e){var t,n,r={};try{for(var o=u(e.split(",")),i=o.next();!i.done;i=o.next()){r[i.value]=!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return r}function ir(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n,r,o={};try{for(var i=u(e),s=i.next();!s.done;s=i.next()){var a=s.value;for(var c in a)a.hasOwnProperty(c)&&(o[c]=!0)}}catch(e){n={error:e}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return o}var ur,sr=or("area,br,col,hr,img,wbr"),ar=or("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),cr=or("rp,rt"),lr=ir(cr,ar),dr=ir(sr,ir(ar,or("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),ir(cr,or("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),lr),fr=or("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),pr=or("srcset"),hr=ir(fr,pr,or("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width")),vr=function(){function e(){this.sanitizedSomething=!1,this.buf=[]}return e.prototype.sanitizeChildren=function(e){for(var t=e.firstChild;t;)if(t.nodeType===Node.ELEMENT_NODE?this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);var n=this.checkClobberedElement(t,t.nextSibling);if(n){t=n;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")},e.prototype.startElement=function(e){var t=e.nodeName.toLowerCase();if(dr.hasOwnProperty(t)){this.buf.push("<"),this.buf.push(t);for(var n=e.attributes,r=0;r<n.length;r++){var o=n.item(r),i=o.name,u=i.toLowerCase();if(hr.hasOwnProperty(u)){var s=o.value;fr[u]&&(s=nr(s)),pr[u]&&(s=rr(s)),this.buf.push(" ",i,'="',mr(s),'"')}else this.sanitizedSomething=!0}this.buf.push(">")}else this.sanitizedSomething=!0},e.prototype.endElement=function(e){var t=e.nodeName.toLowerCase();dr.hasOwnProperty(t)&&!sr.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))},e.prototype.chars=function(e){this.buf.push(mr(e))},e.prototype.checkClobberedElement=function(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+e.outerHTML);return t},e}(),yr=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,gr=/([^\#-~ |!])/g;function mr(e){return e.replace(/&/g,"&amp;").replace(yr,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(gr,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function br(e,t){var n=null;try{ur=ur||new Xn(e);var r=t?String(t):"";n=ur.getInertBodyElement(r);var o=5,i=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=ur.getInertBodyElement(r)}while(r!==i);var u=new vr,s=u.sanitizeChildren(_r(n)||n);return rn()&&u.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss)."),s}finally{if(n)for(var a=_r(n)||n;a.firstChild;)a.removeChild(a.firstChild)}}function _r(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/(e)?e.content:null}var wr=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),Er=/^url\(([^)]+)\)$/;function Cr(e){if(!(e=String(e).trim()))return"";var t=e.match(Er);return t&&nr(t[1])===t[1]||e.match(wr)&&function(e){for(var t=!0,n=!0,r=0;r<e.length;r++){var o=e.charAt(r);"'"===o&&n?t=!t:'"'===o&&t&&(n=!n)}return t&&n}(e)?e:(rn()&&console.warn("WARNING: sanitizing unsafe style value "+e+" (see http://g.co/ng/security#xss)."),"unsafe")}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/var xr=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}({}),Tr=function(){return function(){}}();
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function kr(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 Ir(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}function Sr(e,t){return e.nodes[t]}function Nr(e,t){return e.nodes[t]}function Ar(e,t){return e.nodes[t]}function Dr(e,t){return e.nodes[t]}function Or(e,t){return e.nodes[t]}var Pr={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};
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function Rr(e,t,n,r){var o="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+t+"'. Current value: '"+n+"'.";return r&&(o+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),function(e,t){var n=new Error(e);return Mr(n,t),n}(o,e)}function Mr(e,t){e[it]=t,e[st]=t.logError.bind(t)}function Vr(e){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+e)}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/var jr=function(){},Hr=new Map;function Fr(e){var t=Hr.get(e);return t||(t=Te(e)+"_"+Hr.size,Hr.set(e,t)),t}var Lr="$$undefined",Br="$$empty";var zr=0;function Ur(e){if(e&&e.id===Lr){var t=null!=e.encapsulation&&e.encapsulation!==nt.None||e.styles.length||Object.keys(e.data).length;e.id=t?"c"+zr++:Br}return e&&e.id===Br&&(e=null),e||null}function Zr(e,t,n,r){var o=e.oldValues;return!(!(2&e.state)&&xe(o[t.bindingIndex+n],r))}function qr(e,t,n,r){return!!Zr(e,t,n,r)&&(e.oldValues[t.bindingIndex+n]=r,!0)}function Qr(e,t,n,r){var o=e.oldValues[t.bindingIndex+n];if(1&e.state||!In(o,r)){var i=t.bindings[n].name;throw Rr(Pr.createDebugContext(e,t.nodeIndex),i+": "+o,i+": "+r,0!=(1&e.state))}}function Wr(e){for(var t=e;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function Kr(e,t){for(var n=e;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function Gr(e,t,n,r){try{return Wr(33554432&e.def.nodes[t].flags?Nr(e,t).componentView:e),Pr.handleEvent(e,t,n,r)}catch(t){e.root.errorHandler.handleError(t)}}function Yr(e){return e.parent?Nr(e.parent,e.parentNodeDef.nodeIndex):null}function Jr(e){return e.parent?e.parentNodeDef.parent:null}function $r(e,t){switch(201347067&t.flags){case 1:return Nr(e,t.nodeIndex).renderElement;case 2:return Sr(e,t.nodeIndex).renderText}}function Xr(e,t){return e?e+":"+t:t}function eo(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function to(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function no(e){return 1<<e%32}function ro(e){var t={},n=0,r={};return e&&e.forEach(function(e){var o=s(e,2),i=o[0],u=o[1];"number"==typeof i?(t[i]=u,n|=no(i)):r[i]=u}),{matchedQueries:t,references:r,matchedQueryIds:n}}function oo(e,t){return e.map(function(e){var n,r,o;return Array.isArray(e)?(r=(o=s(e,2))[0],n=o[1]):(r=0,n=e),n&&("function"==typeof n||"object"==typeof n)&&t&&Object.defineProperty(n,Oe,{value:t,configurable:!0}),{flags:r,token:n,tokenKey:Fr(n)}})}function io(e,t,n){var r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&r.element.componentRendererType.encapsulation===nt.Native?Nr(e,n.renderParent.nodeIndex).renderElement:void 0:t}var uo=new WeakMap;function so(e){var t=uo.get(e);return t||((t=e(function(){return jr})).factory=e,uo.set(e,t)),t}function ao(e,t,n,r,o){3===t&&(n=e.renderer.parentNode($r(e,e.def.lastRenderRootNode))),co(e,t,0,e.def.nodes.length-1,n,r,o)}function co(e,t,n,r,o,i,u){for(var s=n;s<=r;s++){var a=e.def.nodes[s];11&a.flags&&fo(e,a,t,o,i,u),s+=a.childCount}}function lo(e,t,n,r,o,i){for(var u=e;u&&!eo(u);)u=u.parent;for(var s=u.parent,a=Jr(u),c=a.nodeIndex+1,l=a.nodeIndex+a.childCount,d=c;d<=l;d++){var f=s.def.nodes[d];f.ngContentIndex===t&&fo(s,f,n,r,o,i),d+=f.childCount}if(!s.parent){var p=e.root.projectableNodes[t];if(p)for(d=0;d<p.length;d++)po(e,p[d],n,r,o,i)}}function fo(e,t,n,r,o,i){if(8&t.flags)lo(e,t.ngContent.index,n,r,o,i);else{var u=$r(e,t);if(3===n&&33554432&t.flags&&48&t.bindingFlags){if(16&t.bindingFlags&&po(e,u,n,r,o,i),32&t.bindingFlags)po(Nr(e,t.nodeIndex).componentView,u,n,r,o,i)}else po(e,u,n,r,o,i);if(16777216&t.flags)for(var s=Nr(e,t.nodeIndex).viewContainer._embeddedViews,a=0;a<s.length;a++)ao(s[a],n,r,o,i);1&t.flags&&!t.element.name&&co(e,n,t.nodeIndex+1,t.nodeIndex+t.childCount,r,o,i)}}function po(e,t,n,r,o,i){var u=e.renderer;switch(n){case 1:u.appendChild(r,t);break;case 2:u.insertBefore(r,t,o);break;case 3:u.removeChild(r,t);break;case 0:i.push(t)}}var ho=/^:([^:]+):(.+)$/;function vo(e){if(":"===e[0]){var t=e.match(ho);return[t[1],t[2]]}return["",e]}function yo(e){for(var t=0,n=0;n<e.length;n++)t|=e[n].flags;return t}function go(e,t,n,r,o,i,u,a,c,l,d,f){void 0===u&&(u=[]),l||(l=jr);var p=ro(n),h=p.matchedQueries,v=p.references,y=p.matchedQueryIds,g=null,m=null;i&&(g=(R=s(vo(i),2))[0],m=R[1]),a=a||[];for(var b=new Array(a.length),_=0;_<a.length;_++){var w=s(a[_],3),E=w[0],C=w[1],x=w[2],T=s(vo(C),2),k=T[0],I=T[1],S=void 0,N=void 0;switch(15&E){case 4:N=x;break;case 1:case 8:S=x}b[_]={flags:E,ns:k,name:I,nonMinifiedName:I,securityContext:S,suffix:N}}c=c||[];var A=new Array(c.length);for(_=0;_<c.length;_++){var D=s(c[_],2),O=D[0],P=D[1];A[_]={type:0,target:O,eventName:P,propName:null}}var R,M=(u=u||[]).map(function(e){var t=s(e,2),n=t[0],r=t[1],o=s(vo(n),2);return[o[0],o[1],r]});return f=Ur(f),d&&(t|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:h,matchedQueryIds:y,references:v,ngContentIndex:r,childCount:o,bindings:b,bindingFlags:yo(b),outputs:A,element:{ns:g,name:m,attrs:M,template:null,componentProvider:null,componentView:d||null,componentRendererType:f,publicProviders:null,allProviders:null,handleEvent:l||jr},provider:null,text:null,query:null,ngContent:null}}function mo(e,t,n){var r,o=n.element,i=e.root.selectorOrNode,u=e.renderer;if(e.parent||!i){r=o.name?u.createElement(o.name,o.ns):u.createComment("");var a=io(e,t,n);a&&u.appendChild(a,r)}else r=u.selectRootElement(i);if(o.attrs)for(var c=0;c<o.attrs.length;c++){var l=s(o.attrs[c],3),d=l[0],f=l[1],p=l[2];u.setAttribute(r,f,p,d)}return r}function bo(e,t,n,r){for(var o=0;o<n.outputs.length;o++){var i=n.outputs[o],u=_o(e,n.nodeIndex,Xr(i.target,i.eventName)),s=i.target,a=e;"component"===i.target&&(s=null,a=t);var c=a.renderer.listen(s||r,i.eventName,u);e.disposables[n.outputIndex+o]=c}}function _o(e,t,n){return function(r){return Gr(e,t,n,r)}}function wo(e,t,n,r){if(!qr(e,t,n,r))return!1;var o=t.bindings[n],i=Nr(e,t.nodeIndex),u=i.renderElement,s=o.name;switch(15&o.flags){case 1:!function(e,t,n,r,o,i){var u=t.securityContext,s=u?e.root.sanitizer.sanitize(u,i):i;s=null!=s?s.toString():null;var a=e.renderer;null!=i?a.setAttribute(n,o,s,r):a.removeAttribute(n,o,r)}(e,o,u,o.ns,s,r);break;case 2:!function(e,t,n,r){var o=e.renderer;r?o.addClass(t,n):o.removeClass(t,n)}(e,u,s,r);break;case 4:!function(e,t,n,r,o){var i=e.root.sanitizer.sanitize(xr.STYLE,o);if(null!=i){i=i.toString();var u=t.suffix;null!=u&&(i+=u)}else i=null;var s=e.renderer;null!=i?s.setStyle(n,r,i):s.removeStyle(n,r)}(e,o,u,s,r);break;case 8:!function(e,t,n,r,o){var i=t.securityContext,u=i?e.root.sanitizer.sanitize(i,o):o;e.renderer.setProperty(n,r,u)}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/(33554432&t.flags&&32&o.flags?i.componentView:e,o,u,s,r)}return!0}var Eo=new Object,Co=Fr(Ve),xo=Fr(Re),To=Fr(Vt);function ko(e,t,n,r){return n=Ie(n),{index:-1,deps:oo(r,Te(t)),flags:e,token:t,value:n}}function Io(e,t,n){void 0===n&&(n=Ve.THROW_IF_NOT_FOUND);var r=Xe(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 o=t.tokenKey;switch(o){case Co:case xo:case To:return e}var i=e._def.providersByKey[o];if(i){var u=e._providers[i.index];return void 0===u&&(u=e._providers[i.index]=So(e,i)),u===Eo?void 0:u}if(t.token.ngInjectableDef&&function(e,t){return null!=t.providedIn&&(function(e,t){return e._def.modules.indexOf(t)>-1}(e,t.providedIn)||"root"===t.providedIn&&e._def.isRoot)}(e,t.token.ngInjectableDef)){var s=t.token.ngInjectableDef,a=e._providers.length;return e._def.providersByKey[t.tokenKey]={flags:5120,value:s.factory,deps:[],index:a,token:t.token},e._providers[a]=Eo,e._providers[a]=So(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{Xe(r)}}function So(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(Io(e,n[0]));case 2:return new t(Io(e,n[0]),Io(e,n[1]));case 3:return new t(Io(e,n[0]),Io(e,n[1]),Io(e,n[2]));default:for(var o=new Array(r),i=0;i<r;i++)o[i]=Io(e,n[i]);return new(t.bind.apply(t,a([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(Io(e,n[0]));case 2:return t(Io(e,n[0]),Io(e,n[1]));case 3:return t(Io(e,n[0]),Io(e,n[1]),Io(e,n[2]));default:for(var o=Array(r),i=0;i<r;i++)o[i]=Io(e,n[i]);return t.apply(void 0,a(o))}}(e,t.value,t.deps);break;case 2048:n=Io(e,t.deps[0]);break;case 256:n=t.value}return n===Eo||null==n||"object"!=typeof n||131072&t.flags||"function"!=typeof n.ngOnDestroy||(t.flags|=131072),void 0===n?Eo:n}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function No(e,t,n,r){var o=t.viewContainer._embeddedViews;null!==n&&void 0!==n||(n=o.length),r.viewContainerParent=e,Po(o,n,r),function(e,t){var n=Yr(t);if(!n||n===e||16&t.state)return;t.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]);r.push(t),function(e,t){if(4&t.flags)return;e.nodeFlags|=4,t.flags|=4;var n=t.parent;for(;n;)n.childFlags|=4,n=n.parent}(t.parent.def,t.parentNodeDef)}(t,r),Pr.dirtyParentQueries(r),Do(t,n>0?o[n-1]:null,r)}function Ao(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,Ro(n,t),Pr.dirtyParentQueries(r),Oo(r),r}function Do(e,t,n){var r=t?$r(t,t.def.lastRenderRootNode):e.renderElement;ao(n,2,n.renderer.parentNode(r),n.renderer.nextSibling(r),void 0)}function Oo(e){ao(e,3,null,null,void 0)}function Po(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ro(e,t){t>=e.length-1?e.pop():e.splice(t,1)}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/var Mo=new Object;var Vo=function(e){function t(t,n,r,o,i,u){var s=e.call(this)||this;return s.selector=t,s.componentType=n,s._inputs=o,s._outputs=i,s.ngContentSelectors=u,s.viewDefFactory=r,s}return o(t,e),Object.defineProperty(t.prototype,"inputs",{get:function(){var e=[],t=this._inputs;for(var n in t){var r=t[n];e.push({propName:n,templateName:r})}return e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outputs",{get:function(){var e=[];for(var t in this._outputs){var n=this._outputs[t];e.push({propName:t,templateName:n})}return e},enumerable:!0,configurable:!0}),t.prototype.create=function(e,t,n,r){if(!r)throw new Error("ngModule should be provided");var o=so(this.viewDefFactory),i=o.nodes[0].element.componentProvider.nodeIndex,u=Pr.createRootView(e,t||[],n,o,r,Mo),s=Ar(u,i).instance;return n&&u.renderer.setAttribute(Nr(u,0).renderElement,"ng-version",ot.full),new jo(u,new Bo(u),s)},t}(It),jo=function(e){function t(t,n,r){var o=e.call(this)||this;return o._view=t,o._viewRef=n,o._component=r,o._elDef=o._view.def.nodes[0],o.hostView=n,o.changeDetectorRef=n,o.instance=r,o}return o(t,e),Object.defineProperty(t.prototype,"location",{get:function(){return new yn(Nr(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new qo(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this._viewRef.destroy()},t.prototype.onDestroy=function(e){this._viewRef.onDestroy(e)},t}(kt);function Ho(e,t,n){return new Fo(e,t,n)}var Fo=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 yn(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new qo(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=Jr(e),e=e.parent;return e?new qo(e,t):new qo(this._view,null)},enumerable:!0,configurable:!0}),e.prototype.clear=function(){for(var e=this._embeddedViews.length-1;e>=0;e--){var t=Ao(this._data,e);Pr.destroyView(t)}},e.prototype.get=function(e){var t=this._embeddedViews[e];if(t){var n=new Bo(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 Mt||(o=i.get(Vt));var u=e.create(i,r,void 0,o);return this.insert(u.hostView,t),u},e.prototype.insert=function(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n=e,r=n._view;return No(this._view,this._data,t,r),n.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=this._embeddedViews.indexOf(e._view);return function(e,t,n){var r=e.viewContainer._embeddedViews,o=r[t];Ro(r,t),null==n&&(n=r.length),Po(r,n,o),Pr.dirtyParentQueries(o),Oo(o),Do(e,n>0?r[n-1]:null,o)}(this._data,n,t),e},e.prototype.indexOf=function(e){return this._embeddedViews.indexOf(e._view)},e.prototype.remove=function(e){var t=Ao(this._data,e);t&&Pr.destroyView(t)},e.prototype.detach=function(e){var t=Ao(this._data,e);return t?new Bo(t):null},e}();function Lo(e){return new Bo(e)}var Bo=function(){function e(e){this._view=e,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(e.prototype,"rootNodes",{get:function(){return function(e){var t=[];return ao(e,0,void 0,void 0,t),t}(this._view)},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(){Wr(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{Pr.checkAndUpdateView(this._view)}finally{e.end&&e.end()}},e.prototype.checkNoChanges=function(){Pr.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)),Pr.destroyView(this._view)},e.prototype.detachFromAppRef=function(){this._appRef=null,Oo(this._view),Pr.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 zo(e,t){return new Uo(e,t)}var Uo=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 Bo(Pr.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))},Object.defineProperty(t.prototype,"elementRef",{get:function(){return new yn(Nr(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),t}(mn);function Zo(e,t){return new qo(e,t)}var qo=function(){function e(e,t){this.view=e,this.elDef=t}return e.prototype.get=function(e,t){void 0===t&&(t=Ve.THROW_IF_NOT_FOUND);var n=!!this.elDef&&0!=(33554432&this.elDef.flags);return Pr.resolveDep(this.view,this.elDef,n,{flags:0,token:e,tokenKey:Fr(e)},t)},e}();function Qo(e){return new Wo(e.renderer)}var Wo=function(){function e(e){this.delegate=e}return e.prototype.selectRootElement=function(e){return this.delegate.selectRootElement(e)},e.prototype.createElement=function(e,t){var n=s(vo(t),2),r=n[0],o=n[1],i=this.delegate.createElement(o,r);return e&&this.delegate.appendChild(e,i),i},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=s(vo(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 Ko(e,t,n,r){return new Go(e,t,n,r)}var Go=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]=So(e,o))}}(this)}return e.prototype.get=function(e,t,n){void 0===t&&(t=Ve.THROW_IF_NOT_FOUND),void 0===n&&(n=0);var r=0;return 4&n?r|=1:2&n&&(r|=4),Io(this,{token:e,tokenKey:Fr(e),flags:r},t)},Object.defineProperty(e.prototype,"instance",{get:function(){return this.get(this._moduleType)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentFactoryResolver",{get:function(){return this.get(Pt)},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The ng module "+Te(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!==Eo){var u=i.ngOnDestroy;"function"!=typeof u||r.has(i)||(u.apply(i),r.add(i))}}}(this),this._destroyListeners.forEach(function(e){return e()})},e.prototype.onDestroy=function(e){this._destroyListeners.push(e)},e}(),Yo=Fr(fn),Jo=Fr(vn),$o=Fr(yn),Xo=Fr(bn),ei=Fr(mn),ti=Fr(_n),ni=Fr(Ve),ri=Fr(Re);
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/function oi(e,t,n,r,o,i,u,s,a){var c=ro(n),l=c.matchedQueries,d=c.references,f=c.matchedQueryIds;a||(a=[]),s||(s=[]),i=Ie(i);var p=oo(u,Te(o));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:l,matchedQueryIds:f,references:d,ngContentIndex:-1,childCount:r,bindings:s,bindingFlags:yo(s),outputs:a,element:null,provider:{token:o,value:i,deps:p},text:null,query:null,ngContent:null}}function ii(e,t){return ci(e,t)}function ui(e,t){for(var n=e;n.parent&&!eo(n);)n=n.parent;return li(n.parent,Jr(n),!0,t.provider.value,t.provider.deps)}function si(e,t){var n=(32768&t.flags)>0,r=li(e,t.parent,n,t.provider.value,t.provider.deps);if(t.outputs.length)for(var o=0;o<t.outputs.length;o++){var i=t.outputs[o],u=r[i.propName].subscribe(ai(e,t.parent.nodeIndex,i.eventName));e.disposables[t.outputIndex+o]=u.unsubscribe.bind(u)}return r}function ai(e,t,n){return function(r){return Gr(e,t,n,r)}}function ci(e,t){var n=(8192&t.flags)>0,r=t.provider;switch(201347067&t.flags){case 512:return li(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(fi(e,t,n,o[0]));case 2:return r(fi(e,t,n,o[0]),fi(e,t,n,o[1]));case 3:return r(fi(e,t,n,o[0]),fi(e,t,n,o[1]),fi(e,t,n,o[2]));default:for(var u=Array(i),s=0;s<i;s++)u[s]=fi(e,t,n,o[s]);return r.apply(void 0,a(u))}}(e,t.parent,n,r.value,r.deps);case 2048:return fi(e,t.parent,n,r.deps[0]);case 256:return r.value}}function li(e,t,n,r,o){var i=o.length;switch(i){case 0:return new r;case 1:return new r(fi(e,t,n,o[0]));case 2:return new r(fi(e,t,n,o[0]),fi(e,t,n,o[1]));case 3:return new r(fi(e,t,n,o[0]),fi(e,t,n,o[1]),fi(e,t,n,o[2]));default:for(var u=new Array(i),s=0;s<i;s++)u[s]=fi(e,t,n,o[s]);return new(r.bind.apply(r,a([void 0],u)))}}var di={};function fi(e,t,n,r,o){if(void 0===o&&(o=Ve.THROW_IF_NOT_FOUND),8&r.flags)return r.token;var i=e;2&r.flags&&(o=null);var u=r.tokenKey;u===ti&&(n=!(!t||!t.element.componentView)),t&&1&r.flags&&(n=!1,t=t.parent);for(var s=e;s;){if(t)switch(u){case Yo:return Qo(pi(s,t,n));case Jo:return pi(s,t,n).renderer;case $o:return new yn(Nr(s,t.nodeIndex).renderElement);case Xo:return Nr(s,t.nodeIndex).viewContainer;case ei:if(t.element.template)return Nr(s,t.nodeIndex).template;break;case ti:return Lo(pi(s,t,n));case ni:case ri:return Zo(s,t);default:var a=(n?t.element.allProviders:t.element.publicProviders)[u];if(a){var c=Ar(s,a.nodeIndex);return c||(c={instance:ci(s,a)},s.nodes[a.nodeIndex]=c),c.instance}}n=eo(s),t=Jr(s),s=s.parent,4&r.flags&&(s=null)}var l=i.root.injector.get(r.token,di);return l!==di||o===di?l:i.root.ngModule.injector.get(r.token,o)}function pi(e,t,n){var r;if(n)r=Nr(e,t.nodeIndex).componentView;else for(r=e;r.parent&&!eo(r);)r=r.parent;return r}function hi(e,t,n,r,o,i){if(32768&n.flags){var u=Nr(e,n.parent.nodeIndex).componentView;2&u.def.flags&&(u.state|=8)}var s=n.bindings[r].name;if(t.instance[s]=o,524288&n.flags){i=i||{};var a=Sn.unwrap(e.oldValues[n.bindingIndex+r]);i[n.bindings[r].nonMinifiedName]=new Nn(a,o,0!=(2&e.state))}return e.oldValues[n.bindingIndex+r]=o,i}function vi(e,t){if(e.def.nodeFlags&t)for(var n=e.def.nodes,r=0,o=0;o<n.length;o++){var i=n[o],u=i.parent;for(!u&&i.flags&t&&gi(e,o,i.flags&t,r++),0==(i.childFlags&t)&&(o+=i.childCount);u&&1&u.flags&&o===u.nodeIndex+u.childCount;)u.directChildFlags&t&&(r=yi(e,u,t,r)),u=u.parent}}function yi(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&&gi(e,o,i.flags&n,r++),o+=i.childCount}return r}function gi(e,t,n,r){var o=Ar(e,t);if(o){var i=o.instance;i&&(Pr.setCurrentNode(e,t),1048576&n&&Ir(e,512,r)&&i.ngAfterContentInit(),2097152&n&&i.ngAfterContentChecked(),4194304&n&&Ir(e,768,r)&&i.ngAfterViewInit(),8388608&n&&i.ngAfterViewChecked(),131072&n&&i.ngOnDestroy())}}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/function mi(e){for(var t=e.def.nodeMatchedQueries;e.parent&&to(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&&Or(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&&Or(e,o).setDirty(),o+=i.childCount}}function bi(e,t){var n=Or(e,t.nodeIndex);if(n.dirty){var r,o=void 0;if(67108864&t.flags){var i=t.parent.parent;o=_i(e,i.nodeIndex,i.nodeIndex+i.childCount,t.query,[]),r=Ar(e,t.parent.nodeIndex).instance}else 134217728&t.flags&&(o=_i(e,0,e.def.nodes.length-1,t.query,[]),r=e.component);n.reset(o);for(var u=t.query.bindings,s=!1,a=0;a<u.length;a++){var c=u[a],l=void 0;switch(c.bindingType){case 0:l=n.first;break;case 1:l=n,s=!0}r[c.propName]=l}s&&n.notifyOnChanges()}}function _i(e,t,n,r,o){for(var i=t;i<=n;i++){var u=e.def.nodes[i],s=u.matchedQueries[r.id];if(null!=s&&o.push(wi(e,u,s)),1&u.flags&&u.element.template&&(u.element.template.nodeMatchedQueries&r.filterId)===r.filterId){var a=Nr(e,i);if((u.childMatchedQueries&r.filterId)===r.filterId&&(_i(e,i+1,i+u.childCount,r,o),i+=u.childCount),16777216&u.flags)for(var c=a.viewContainer._embeddedViews,l=0;l<c.length;l++){var d=c[l],f=Yr(d);f&&f===a&&_i(d,0,d.def.nodes.length-1,r,o)}var p=a.template._projectedViews;if(p)for(l=0;l<p.length;l++){var h=p[l];_i(h,0,h.def.nodes.length-1,r,o)}}(u.childMatchedQueries&r.filterId)!==r.filterId&&(i+=u.childCount)}return o}function wi(e,t,n){if(null!=n)switch(n){case 1:return Nr(e,t.nodeIndex).renderElement;case 0:return new yn(Nr(e,t.nodeIndex).renderElement);case 2:return Nr(e,t.nodeIndex).template;case 3:return Nr(e,t.nodeIndex).viewContainer;case 4:return Ar(e,t.nodeIndex).instance}}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/function Ei(e,t,n){var r=io(e,t,n);r&&lo(e,n.ngContent.index,1,r,null,void 0)}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function Ci(e,t,n){for(var r=new Array(n.length-1),o=1;o<n.length;o++)r[o-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[o]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:r,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}}function xi(e,t,n){var r,o=e.renderer;r=o.createText(n.text.prefix);var i=io(e,t,n);return i&&o.appendChild(i,r),{renderText:r}}function Ti(e,t){return(null!=e?e.toString():"")+t.suffix}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/function ki(e,t,n,r){for(var o=0,i=0,u=0,s=0,a=0,c=null,l=null,d=!1,f=!1,p=null,h=0;h<t.length;h++){var v=t[h];if(v.nodeIndex=h,v.parent=c,v.bindingIndex=o,v.outputIndex=i,v.renderParent=l,u|=v.flags,a|=v.matchedQueryIds,v.element){var y=v.element;y.publicProviders=c?c.element.publicProviders:Object.create(null),y.allProviders=y.publicProviders,d=!1,f=!1,v.element.template&&(a|=v.element.template.nodeMatchedQueries)}if(Si(c,v,t.length),o+=v.bindings.length,i+=v.outputs.length,!l&&3&v.flags&&(p=v),20224&v.flags){d||(d=!0,c.element.publicProviders=Object.create(c.element.publicProviders),c.element.allProviders=c.element.publicProviders);var g=0!=(8192&v.flags),m=0!=(32768&v.flags);!g||m?c.element.publicProviders[Fr(v.provider.token)]=v:(f||(f=!0,c.element.allProviders=Object.create(c.element.publicProviders)),c.element.allProviders[Fr(v.provider.token)]=v),m&&(c.element.componentProvider=v)}if(c?(c.childFlags|=v.flags,c.directChildFlags|=v.flags,c.childMatchedQueries|=v.matchedQueryIds,v.element&&v.element.template&&(c.childMatchedQueries|=v.element.template.nodeMatchedQueries)):s|=v.flags,v.childCount>0)c=v,Ii(v)||(l=v);else for(;c&&h===c.nodeIndex+c.childCount;){var b=c.parent;b&&(b.childFlags|=c.childFlags,b.childMatchedQueries|=c.childMatchedQueries),l=(c=b)&&Ii(c)?c.renderParent:c}}return{factory:null,nodeFlags:u,rootNodeFlags:s,nodeMatchedQueries:a,flags:e,nodes:t,updateDirectives:n||jr,updateRenderer:r||jr,handleEvent:function(e,n,r,o){return t[n].element.handleEvent(e,r,o)},bindingCount:o,outputCount:i,lastRenderRootNode:p}}function Ii(e){return 0!=(1&e.flags)&&null===e.element.name}function Si(e,t,n){var r=t.element&&t.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+t.nodeIndex+"!")}if(20224&t.flags&&0==(1&(e?e.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+t.nodeIndex+"!");if(t.query){if(67108864&t.flags&&(!e||0==(16384&e.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+t.nodeIndex+"!");if(134217728&t.flags&&e)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+t.nodeIndex+"!")}if(t.childCount){var o=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=o&&t.nodeIndex+t.childCount>o)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+t.nodeIndex+"!")}}function Ni(e,t,n,r){var o=Oi(e.root,e.renderer,e,t,n);return Pi(o,e.component,r),Ri(o),o}function Ai(e,t,n){var r=Oi(e,e.renderer,null,null,t);return Pi(r,n,n),Ri(r),r}function Di(e,t,n,r){var o,i=t.element.componentRendererType;return o=i?e.root.rendererFactory.createRenderer(r,i):e.root.renderer,Oi(e.root,o,e,t.element.componentProvider,n)}function Oi(e,t,n,r,o){var i=new Array(o.nodes.length),u=o.outputCount?new Array(o.outputCount):null;return{def:o,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:i,state:13,root:e,renderer:t,oldValues:new Array(o.bindingCount),disposables:u,initIndex:-1}}function Pi(e,t,n){e.component=t,e.context=n}function Ri(e){var t;if(eo(e)){var n=e.parentNodeDef;t=Nr(e.parent,n.parent.nodeIndex).renderElement}for(var r=e.def,o=e.nodes,i=0;i<r.nodes.length;i++){var u=r.nodes[i];Pr.setCurrentNode(e,i);var s=void 0;switch(201347067&u.flags){case 1:var a=mo(e,t,u),c=void 0;if(33554432&u.flags){var l=so(u.element.componentView);c=Pr.createComponentView(e,u,l,a)}bo(e,c,u,a),s={renderElement:a,componentView:c,viewContainer:null,template:u.element.template?zo(e,u):void 0},16777216&u.flags&&(s.viewContainer=Ho(e,u,s));break;case 2:s=xi(e,t,u);break;case 512:case 1024:case 2048:case 256:if(!((s=o[i])||4096&u.flags))s={instance:ii(e,u)};break;case 16:s={instance:ui(e,u)};break;case 16384:if(!(s=o[i]))s={instance:si(e,u)};if(32768&u.flags)Pi(Nr(e,u.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 gn;break;case 8:Ei(e,t,u),s=void 0}o[i]=s}Ui(e,zi.CreateViewNodes),Wi(e,201326592,268435456,0)}function Mi(e){Hi(e),Pr.updateDirectives(e,1),Zi(e,zi.CheckNoChanges),Pr.updateRenderer(e,1),Ui(e,zi.CheckNoChanges),e.state&=-97}function Vi(e){1&e.state?(e.state&=-2,e.state|=2):e.state&=-3,kr(e,0,256),Hi(e),Pr.updateDirectives(e,0),Zi(e,zi.CheckAndUpdate),Wi(e,67108864,536870912,0);var t=kr(e,256,512);vi(e,2097152|(t?1048576:0)),Pr.updateRenderer(e,0),Ui(e,zi.CheckAndUpdate),Wi(e,134217728,536870912,0),vi(e,8388608|((t=kr(e,512,768))?4194304:0)),2&e.def.flags&&(e.state&=-9),e.state&=-97,kr(e,768,1024)}function ji(e,t,n,r,o,i,u,s,c,l,d,f,p){return 0===n?function(e,t,n,r,o,i,u,s,a,c,l,d){switch(201347067&t.flags){case 1:return function(e,t,n,r,o,i,u,s,a,c,l,d){var f=t.bindings.length,p=!1;return f>0&&wo(e,t,0,n)&&(p=!0),f>1&&wo(e,t,1,r)&&(p=!0),f>2&&wo(e,t,2,o)&&(p=!0),f>3&&wo(e,t,3,i)&&(p=!0),f>4&&wo(e,t,4,u)&&(p=!0),f>5&&wo(e,t,5,s)&&(p=!0),f>6&&wo(e,t,6,a)&&(p=!0),f>7&&wo(e,t,7,c)&&(p=!0),f>8&&wo(e,t,8,l)&&(p=!0),f>9&&wo(e,t,9,d)&&(p=!0),p}(e,t,n,r,o,i,u,s,a,c,l,d);case 2:return function(e,t,n,r,o,i,u,s,a,c,l,d){var f=!1,p=t.bindings,h=p.length;if(h>0&&qr(e,t,0,n)&&(f=!0),h>1&&qr(e,t,1,r)&&(f=!0),h>2&&qr(e,t,2,o)&&(f=!0),h>3&&qr(e,t,3,i)&&(f=!0),h>4&&qr(e,t,4,u)&&(f=!0),h>5&&qr(e,t,5,s)&&(f=!0),h>6&&qr(e,t,6,a)&&(f=!0),h>7&&qr(e,t,7,c)&&(f=!0),h>8&&qr(e,t,8,l)&&(f=!0),h>9&&qr(e,t,9,d)&&(f=!0),f){var v=t.text.prefix;h>0&&(v+=Ti(n,p[0])),h>1&&(v+=Ti(r,p[1])),h>2&&(v+=Ti(o,p[2])),h>3&&(v+=Ti(i,p[3])),h>4&&(v+=Ti(u,p[4])),h>5&&(v+=Ti(s,p[5])),h>6&&(v+=Ti(a,p[6])),h>7&&(v+=Ti(c,p[7])),h>8&&(v+=Ti(l,p[8])),h>9&&(v+=Ti(d,p[9]));var y=Sr(e,t.nodeIndex).renderText;e.renderer.setValue(y,v)}return f}(e,t,n,r,o,i,u,s,a,c,l,d);case 16384:return function(e,t,n,r,o,i,u,s,a,c,l,d){var f=Ar(e,t.nodeIndex),p=f.instance,h=!1,v=void 0,y=t.bindings.length;return y>0&&Zr(e,t,0,n)&&(h=!0,v=hi(e,f,t,0,n,v)),y>1&&Zr(e,t,1,r)&&(h=!0,v=hi(e,f,t,1,r,v)),y>2&&Zr(e,t,2,o)&&(h=!0,v=hi(e,f,t,2,o,v)),y>3&&Zr(e,t,3,i)&&(h=!0,v=hi(e,f,t,3,i,v)),y>4&&Zr(e,t,4,u)&&(h=!0,v=hi(e,f,t,4,u,v)),y>5&&Zr(e,t,5,s)&&(h=!0,v=hi(e,f,t,5,s,v)),y>6&&Zr(e,t,6,a)&&(h=!0,v=hi(e,f,t,6,a,v)),y>7&&Zr(e,t,7,c)&&(h=!0,v=hi(e,f,t,7,c,v)),y>8&&Zr(e,t,8,l)&&(h=!0,v=hi(e,f,t,8,l,v)),y>9&&Zr(e,t,9,d)&&(h=!0,v=hi(e,f,t,9,d,v)),v&&p.ngOnChanges(v),65536&t.flags&&Ir(e,256,t.nodeIndex)&&p.ngOnInit(),262144&t.flags&&p.ngDoCheck(),h}(e,t,n,r,o,i,u,s,a,c,l,d);case 32:case 64:case 128:return function(e,t,n,r,o,i,u,s,a,c,l,d){var f=t.bindings,p=!1,h=f.length;if(h>0&&qr(e,t,0,n)&&(p=!0),h>1&&qr(e,t,1,r)&&(p=!0),h>2&&qr(e,t,2,o)&&(p=!0),h>3&&qr(e,t,3,i)&&(p=!0),h>4&&qr(e,t,4,u)&&(p=!0),h>5&&qr(e,t,5,s)&&(p=!0),h>6&&qr(e,t,6,a)&&(p=!0),h>7&&qr(e,t,7,c)&&(p=!0),h>8&&qr(e,t,8,l)&&(p=!0),h>9&&qr(e,t,9,d)&&(p=!0),p){var v=Dr(e,t.nodeIndex),y=void 0;switch(201347067&t.flags){case 32:y=new Array(f.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]=u),h>5&&(y[5]=s),h>6&&(y[6]=a),h>7&&(y[7]=c),h>8&&(y[8]=l),h>9&&(y[9]=d);break;case 64:y={},h>0&&(y[f[0].name]=n),h>1&&(y[f[1].name]=r),h>2&&(y[f[2].name]=o),h>3&&(y[f[3].name]=i),h>4&&(y[f[4].name]=u),h>5&&(y[f[5].name]=s),h>6&&(y[f[6].name]=a),h>7&&(y[f[7].name]=c),h>8&&(y[f[8].name]=l),h>9&&(y[f[9].name]=d);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,u);break;case 6:y=g.transform(r,o,i,u,s);break;case 7:y=g.transform(r,o,i,u,s,a);break;case 8:y=g.transform(r,o,i,u,s,a,c);break;case 9:y=g.transform(r,o,i,u,s,a,c,l);break;case 10:y=g.transform(r,o,i,u,s,a,c,l,d)}}v.value=y}return p}(e,t,n,r,o,i,u,s,a,c,l,d);default:throw"unreachable"}}(e,t,r,o,i,u,s,c,l,d,f,p):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++)wo(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++)qr(e,t,i,n[i])&&(o=!0);if(o){var u="";for(i=0;i<n.length;i++)u+=Ti(n[i],r[i]);u=t.text.prefix+u;var s=Sr(e,t.nodeIndex).renderText;e.renderer.setValue(s,u)}return o}(e,t,n);case 16384:return function(e,t,n){for(var r=Ar(e,t.nodeIndex),o=r.instance,i=!1,u=void 0,s=0;s<n.length;s++)Zr(e,t,s,n[s])&&(i=!0,u=hi(e,r,t,s,n[s],u));return u&&o.ngOnChanges(u),65536&t.flags&&Ir(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++)qr(e,t,i,n[i])&&(o=!0);if(o){var u=Dr(e,t.nodeIndex),s=void 0;switch(201347067&t.flags){case 32:s=n;break;case 64:for(s={},i=0;i<n.length;i++)s[r[i].name]=n[i];break;case 128:var c=n[0],l=n.slice(1);s=c.transform.apply(c,a(l))}u.value=s}return o}(e,t,n);default:throw"unreachable"}}(e,t,r)}function Hi(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=Nr(e,n).template._projectedViews;if(o)for(var i=0;i<o.length;i++){var u=o[i];u.state|=32,Kr(u,e)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function Fi(e,t,n,r,o,i,u,s,a,c,l,d,f){return 0===n?function(e,t,n,r,o,i,u,s,a,c,l,d){var f=t.bindings.length;f>0&&Qr(e,t,0,n);f>1&&Qr(e,t,1,r);f>2&&Qr(e,t,2,o);f>3&&Qr(e,t,3,i);f>4&&Qr(e,t,4,u);f>5&&Qr(e,t,5,s);f>6&&Qr(e,t,6,a);f>7&&Qr(e,t,7,c);f>8&&Qr(e,t,8,l);f>9&&Qr(e,t,9,d)}(e,t,r,o,i,u,s,a,c,l,d,f):function(e,t,n){for(var r=0;r<n.length;r++)Qr(e,t,r,n[r])}(e,t,r),!1}function Li(e,t){if(Or(e,t.nodeIndex).dirty)throw Rr(Pr.createDebugContext(e,t.nodeIndex),"Query "+t.query.id+" not dirty","Query "+t.query.id+" dirty",0!=(1&e.state))}function Bi(e){if(!(128&e.state)){if(Zi(e,zi.Destroy),Ui(e,zi.Destroy),vi(e,131072),e.disposables)for(var t=0;t<e.disposables.length;t++)e.disposables[t]();!function(e){if(16&e.state){var t=Yr(e);if(t){var n=t.template._projectedViews;n&&(Ro(n,n.indexOf(e)),Pr.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(Nr(e,n).renderElement):2&r.flags?e.renderer.destroyNode(Sr(e,n).renderText):(67108864&r.flags||134217728&r.flags)&&Or(e,n).destroy()}}(e),eo(e)&&e.renderer.destroy(),e.state|=128}}var zi=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 Ui(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?qi(Nr(e,r).componentView,t):0==(33554432&o.childFlags)&&(r+=o.childCount)}}function Zi(e,t){var n=e.def;if(16777216&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var o=n.nodes[r];if(16777216&o.flags)for(var i=Nr(e,r).viewContainer._embeddedViews,u=0;u<i.length;u++)qi(i[u],t);else 0==(16777216&o.childFlags)&&(r+=o.childCount)}}function qi(e,t){var n=e.state;switch(t){case zi.CheckNoChanges:0==(128&n)&&(12==(12&n)?Mi(e):64&n&&Qi(e,zi.CheckNoChangesProjectedViews));break;case zi.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?Mi(e):64&n&&Qi(e,t));break;case zi.CheckAndUpdate:0==(128&n)&&(12==(12&n)?Vi(e):64&n&&Qi(e,zi.CheckAndUpdateProjectedViews));break;case zi.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?Vi(e):64&n&&Qi(e,t));break;case zi.Destroy:Bi(e);break;case zi.CreateViewNodes:Ri(e)}}function Qi(e,t){Zi(e,t),Ui(e,t)}function Wi(e,t,n,r){if(e.def.nodeFlags&t&&e.def.nodeFlags&n)for(var o=e.def.nodes.length,i=0;i<o;i++){var u=e.def.nodes[i];if(u.flags&t&&u.flags&n)switch(Pr.setCurrentNode(e,u.nodeIndex),r){case 0:bi(e,u);break;case 1:Li(e,u)}u.childFlags&t&&u.childFlags&n||(i+=u.childCount)}}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/var Ki=!1;function Gi(){if(!Ki){Ki=!0;var e=rn()?{setCurrentNode:mu,createRootView:Ji,createEmbeddedView:Xi,createComponentView:eu,createNgModuleRef:tu,overrideProvider:iu,overrideComponentView:uu,clearOverrides:su,checkAndUpdateView:du,checkNoChangesView:fu,destroyView:pu,createDebugContext:function(e,t){return new Nu(e,t)},handleEvent:bu,updateDirectives:_u,updateRenderer:wu}:{setCurrentNode:function(){},createRootView:Yi,createEmbeddedView:Ni,createComponentView:Di,createNgModuleRef:Ko,overrideProvider:jr,overrideComponentView:jr,clearOverrides:jr,checkAndUpdateView:Vi,checkNoChangesView:Mi,destroyView:Bi,createDebugContext:function(e,t){return new Nu(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?cu:lu,e)},updateRenderer:function(e,t){return e.def.updateRenderer(0===t?cu:lu,e)}};Pr.setCurrentNode=e.setCurrentNode,Pr.createRootView=e.createRootView,Pr.createEmbeddedView=e.createEmbeddedView,Pr.createComponentView=e.createComponentView,Pr.createNgModuleRef=e.createNgModuleRef,Pr.overrideProvider=e.overrideProvider,Pr.overrideComponentView=e.overrideComponentView,Pr.clearOverrides=e.clearOverrides,Pr.checkAndUpdateView=e.checkAndUpdateView,Pr.checkNoChangesView=e.checkNoChangesView,Pr.destroyView=e.destroyView,Pr.resolveDep=fi,Pr.createDebugContext=e.createDebugContext,Pr.handleEvent=e.handleEvent,Pr.updateDirectives=e.updateDirectives,Pr.updateRenderer=e.updateRenderer,Pr.dirtyParentQueries=mi}}function Yi(e,t,n,r,o,i){return Ai($i(e,o,o.injector.get(pn),t,n),r,i)}function Ji(e,t,n,r,o,i){var u=o.injector.get(pn),s=$i(e,o,new Pu(u),t,n),a=au(r);return Du(gu.create,Ai,null,[s,a,i])}function $i(e,t,n,r,o){var i=t.injector.get(Tr),u=t.injector.get(dt);return{ngModule:t,injector:e,projectableNodes:r,selectorOrNode:o,sanitizer:i,rendererFactory:n,renderer:n.createRenderer(null,null),errorHandler:u}}function Xi(e,t,n,r){var o=au(n);return Du(gu.create,Ni,null,[e,t,o,r])}function eu(e,t,n,r){var o=ou.get(t.element.componentProvider.provider.token);return n=o||au(n),Du(gu.create,Di,null,[e,t,n,r])}function tu(e,t,n,r){return Ko(e,t,n,function(e){var t=function(e){var t=!1,n=!1;if(0===nu.size)return{hasOverrides:t,hasDeprecatedOverrides:n};return e.providers.forEach(function(e){var r=nu.get(e.token);3840&e.flags&&r&&(t=!0,n=n||r.deprecatedBehavior)}),e.modules.forEach(function(e){ru.forEach(function(r,o){o.ngInjectableDef.providedIn===e&&(t=!0,n=n||r.deprecatedBehavior)})}),{hasOverrides:t,hasDeprecatedOverrides:n}}(e),n=t.hasOverrides,r=t.hasDeprecatedOverrides;if(!n)return e;return function(e){for(var t=0;t<e.providers.length;t++){var n=e.providers[t];r&&(n.flags|=4096);var o=nu.get(n.token);o&&(n.flags=-3841&n.flags|o.flags,n.deps=oo(o.deps),n.value=o.value)}if(ru.size>0){var i=new Set(e.modules);ru.forEach(function(t,n){if(i.has(n.ngInjectableDef.providedIn)){var o={token:n,flags:t.flags|(r?4096:0),deps:oo(t.deps),value:t.value,index:e.providers.length};e.providers.push(o),e.providersByKey[Fr(n)]=o}})}}(e=e.factory(function(){return jr})),e}(r))}var nu=new Map,ru=new Map,ou=new Map;function iu(e){nu.set(e.token,e),"function"==typeof e.token&&e.token.ngInjectableDef&&"function"==typeof e.token.ngInjectableDef.providedIn&&ru.set(e.token,e)}function uu(e,t){var n=so(so(function(e){return e.viewDefFactory}(t)).nodes[0].element.componentView);ou.set(e,n)}function su(){nu.clear(),ru.clear(),ou.clear()}function au(e){if(0===nu.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&&nu.has(o.provider.token)&&(t.push(n.nodeIndex),n=null)}return t}(e);if(0===t.length)return e;e=e.factory(function(){return jr});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=nu.get(o.token);i&&(r.flags=-3841&r.flags|i.flags,o.deps=oo(i.deps),o.value=i.value)}}}}function cu(e,t,n,r,o,i,u,s,a,c,l,d,f){var p=e.def.nodes[t];return ji(e,p,n,r,o,i,u,s,a,c,l,d,f),224&p.flags?Dr(e,t).value:void 0}function lu(e,t,n,r,o,i,u,s,a,c,l,d,f){var p=e.def.nodes[t];return Fi(e,p,n,r,o,i,u,s,a,c,l,d,f),224&p.flags?Dr(e,t).value:void 0}function du(e){return Du(gu.detectChanges,Vi,null,[e])}function fu(e){return Du(gu.checkNoChanges,Mi,null,[e])}function pu(e){return Du(gu.destroy,Bi,null,[e])}var hu,vu,yu,gu=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 mu(e,t){vu=e,yu=t}function bu(e,t,n,r){return mu(e,t),Du(gu.handleEvent,e.def.handleEvent,null,[e,t,n,r])}function _u(e,t){if(128&e.state)throw Vr(gu[hu]);return mu(e,Iu(e,0)),e.def.updateDirectives(function(e,n,r){for(var o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];var u=e.def.nodes[n];0===t?Eu(e,u,r,o):Cu(e,u,r,o);16384&u.flags&&mu(e,Iu(e,n));return 224&u.flags?Dr(e,u.nodeIndex).value:void 0},e)}function wu(e,t){if(128&e.state)throw Vr(gu[hu]);return mu(e,Su(e,0)),e.def.updateRenderer(function(e,n,r){for(var o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];var u=e.def.nodes[n];0===t?Eu(e,u,r,o):Cu(e,u,r,o);3&u.flags&&mu(e,Su(e,n));return 224&u.flags?Dr(e,u.nodeIndex).value:void 0},e)}function Eu(e,t,n,r){if(ji.apply(void 0,a([e,t,n],r))){var o=1===n?r[0]:r;if(16384&t.flags){for(var i={},u=0;u<t.bindings.length;u++){var s=t.bindings[u],c=o[u];8&s.flags&&(i[xu(s.nonMinifiedName)]=ku(c))}var l=t.parent,d=Nr(e,l.nodeIndex).renderElement;if(l.element.name)for(var f in i){null!=(c=i[f])?e.renderer.setAttribute(d,f,c):e.renderer.removeAttribute(d,f)}else e.renderer.setValue(d,"bindings="+JSON.stringify(i,null,2))}}}function Cu(e,t,n,r){Fi.apply(void 0,a([e,t,n],r))}function xu(e){return"ng-reflect-"+(e=function(e){return e.replace(Tu,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return"-"+e[1].toLowerCase()})}(e.replace(/[$@]/g,"_")))}var Tu=/([A-Z])/g;function ku(e){try{return null!=e?e.toString().slice(0,30):e}catch(e){return"[ERROR] Exception while trying to serialize the value"}}function Iu(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 Su(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 Nu=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=Jr(r),r=r.parent;this.elDef=n,this.elView=r}return Object.defineProperty(e.prototype,"elOrCompView",{get:function(){return Nr(this.elView,this.elDef.nodeIndex).componentView||this.view},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return Zo(this.elView,this.elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"component",{get:function(){return this.elOrCompView.component},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this.elOrCompView.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){var e=[];if(this.elDef)for(var t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){var n=this.elView.def.nodes[t];20224&n.flags&&e.push(n.provider.token),t+=n.childCount}return e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){var e={};if(this.elDef){Au(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&&Au(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&&!eo(e);)e=e.parent;if(e.parent)return Nr(e.parent,Jr(e).nodeIndex);return 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?$r(this.view,this.nodeDef):$r(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++){var o=e.nodes[r];3&o.flags&&n++}return n}(t,n),u=-1;t.factory(function(){return++u===i?(t=e.error).bind.apply(t,a([e],r)):jr;var t}),u<i&&(e.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),e.error.apply(e,a(r)))},e}();function Au(e,t,n){for(var r in t.references)n[r]=wi(e,t,t.references[r])}function Du(e,t,n,r){var o=hu,i=vu,u=yu;try{hu=e;var s=t.apply(n,r);return vu=i,yu=u,hu=o,s}catch(e){if(function(e){return!!at(e)}(e)||!vu)throw e;throw function(e,t){return e instanceof Error||(e=new Error(e.toString())),Mr(e,t),e}(e,Ou())}}function Ou(){return vu?new Nu(vu,yu):null}var Pu=function(){function e(e){this.delegate=e}return e.prototype.createRenderer=function(e,t){return new Ru(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}(),Ru=function(){function e(e){this.delegate=e,this.data=this.delegate.data}return e.prototype.destroyNode=function(e){!function(e){xn.delete(e.nativeNode)}(Tn(e)),this.delegate.destroyNode&&this.delegate.destroyNode(e)},e.prototype.destroy=function(){this.delegate.destroy()},e.prototype.createElement=function(e,t){var n=this.delegate.createElement(e,t),r=Ou();if(r){var o=new Cn(n,null,r);o.name=e,kn(o)}return n},e.prototype.createComment=function(e){var t=this.delegate.createComment(e),n=Ou();return n&&kn(new En(t,null,n)),t},e.prototype.createText=function(e){var t=this.delegate.createText(e),n=Ou();return n&&kn(new En(t,null,n)),t},e.prototype.appendChild=function(e,t){var n=Tn(e),r=Tn(t);n&&r&&n instanceof Cn&&n.addChild(r),this.delegate.appendChild(e,t)},e.prototype.insertBefore=function(e,t,n){var r=Tn(e),o=Tn(t),i=Tn(n);r&&o&&r instanceof Cn&&r.insertBefore(i,o),this.delegate.insertBefore(e,t,n)},e.prototype.removeChild=function(e,t){var n=Tn(e),r=Tn(t);n&&r&&n instanceof Cn&&n.removeChild(r),this.delegate.removeChild(e,t)},e.prototype.selectRootElement=function(e){var t=this.delegate.selectRootElement(e),n=Ou();return n&&kn(new Cn(t,null,n)),t},e.prototype.setAttribute=function(e,t,n,r){var o=Tn(e);if(o&&o instanceof Cn){var i=r?r+":"+t:t;o.attributes[i]=n}this.delegate.setAttribute(e,t,n,r)},e.prototype.removeAttribute=function(e,t,n){var r=Tn(e);if(r&&r instanceof Cn){var o=n?n+":"+t:t;r.attributes[o]=null}this.delegate.removeAttribute(e,t,n)},e.prototype.addClass=function(e,t){var n=Tn(e);n&&n instanceof Cn&&(n.classes[t]=!0),this.delegate.addClass(e,t)},e.prototype.removeClass=function(e,t){var n=Tn(e);n&&n instanceof Cn&&(n.classes[t]=!1),this.delegate.removeClass(e,t)},e.prototype.setStyle=function(e,t,n,r){var o=Tn(e);o&&o instanceof Cn&&(o.styles[t]=n),this.delegate.setStyle(e,t,n,r)},e.prototype.removeStyle=function(e,t,n){var r=Tn(e);r&&r instanceof Cn&&(r.styles[t]=null),this.delegate.removeStyle(e,t,n)},e.prototype.setProperty=function(e,t,n){var r=Tn(e);r&&r instanceof Cn&&(r.properties[t]=n),this.delegate.setProperty(e,t,n)},e.prototype.listen=function(e,t,n){if("string"!=typeof e){var r=Tn(e);r&&r.listeners.push(new wn(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}();var Mu=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){Gi();var t=so(this._ngModuleDefFactory);return Pr.createNgModuleRef(this.moduleType,e||Ve.NULL,this._bootstrapComponents,t)},t}(jt);
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/function Vu(e,t,n){e!=t&&Lu(n)}function ju(e,t,n){e>=t&&Lu(n)}function Hu(e,t){null!=e&&Lu(t)}function Fu(e,t){null==e&&Lu(t)}function Lu(e){throw new Error("ASSERTION ERROR: "+e)}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/function Bu(e,t,n){1===e.lifecycleStage&&(zu(e.directives,t.initHooks,t.checkHooks,n),e.lifecycleStage=2)}function zu(e,t,n,r){var o=r?t:n;o&&Uu(e,o)}function Uu(e,t){for(var n=0;n<t.length;n+=2)t[n+1].call(e[t[n]])}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/"undefined"==typeof ngDevMode&&("undefined"!=typeof window&&(window.ngDevMode=!0),"undefined"!=typeof self&&(self.ngDevMode=!0),"undefined"!=typeof global&&(global.ngDevMode=!0))
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/;
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function Zu(e,t){Fu(e,"should be called with a node"),Vu(e.type,t,"should be a "+qu(t))}function qu(e){return 1==e?"Projection":0==e?"Container":2==e?"View":3==e?"Element":"<unknown>"}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var Qu,Wu,Ku,Gu,Yu,Ju="__ngHostLNode__",$u=Promise.resolve(null),Xu=[0,0];var es,ts,ns,rs,os=null;var is=!1;function us(e,t){var n=os;return ns=e&&e.data,rs=e&&e.directives,Yu=e&&e.tView.data,ts=e&&1==(1&e.flags),e&&e.tView.firstTemplatePass,e&&e.cleanup,Qu=e&&e.renderer,e&&e.bindingIndex<0&&(e.bindingIndex=e.bindingStartIndex),null!=t&&(Ku=t,Gu=!0),os=e,es=e&&e.queries,n}function ss(e){is||zu(rs,os.tView.viewHooks,os.tView.viewCheckHooks,ts),os.flags&=-6,os.lifecycleStage=1,os.bindingIndex=-1,us(e,null)}function as(){ls();var e=os.tView;e.firstTemplatePass=!1,cs(e.hostBindings),function(e){if(null!=e)for(var t=0;t<e.length;t+=2)bs(e[t],e[t+1])}(e.components)}function cs(e){if(null!=e)for(var t=os.tView.directives,n=0;n<e.length;n+=2){var r=e[n],o=t[r];o.hostBindings&&o.hostBindings(r,e[n+1])}}function ls(){if(!is){var e=os.tView;Bu(os,e,ts),zu(rs,e.contentHooks,e.contentCheckHooks,ts)}}function ds(e,t,n,r,o,i){return{parent:os,id:e,flags:9|i,node:null,data:[],directives:null,tView:n,cleanup:null,renderer:t,child:null,tail:null,next:null,bindingStartIndex:-1,bindingIndex:-1,template:r,context:o,dynamicViewCount:0,lifecycleStage:1,queries:null,injector:os&&os.injector}}function fs(e,t,n,r,o,i){return{type:e,native:r,view:t,parent:n,child:null,next:null,nodeInjector:n?n.nodeInjector:null,data:o,queries:i,tNode:null,pNextOrParent:null,dynamicLContainerNode:null}}function ps(e,t,n,r){var o=Gu?Ku:Ku&&Ku.parent,i=(Gu?es:Ku&&Ku.queries)||o&&o.queries&&o.queries.child(),u=null!=r,s=fs(t,os,o,n,u?r:null,i);return 2==(2&t)&&u&&(ngDevMode&&Hu(r.node,"LView.node should not have been initialized"),r.node=s),null!=e&&(ngDevMode&&ks(e),ns[e]=s,e>=Yu.length?Yu[e]=null:s.tNode=Yu[e],Gu?(es=null,Ku.view!==os&&2!==Ku.type||(ngDevMode&&Hu(Ku.child,"previousOrParentNode's child should not have been set."),Ku.child=s)):Ku&&(ngDevMode&&Hu(Ku.next,"previousOrParentNode's next property should not have been set "+e+"."),Ku.next=s,Ku.dynamicLContainerNode&&(Ku.dynamicLContainerNode.next=s))),Ku=s,Gu=!0,s}function hs(e,t,n,r,o,i){var u,s=Gu,a=Ku;try{Gu=!0,Ku=null;var c=2;if(null==e)e=ps(null,2,null,ds(-1,r,ys(t,o||null,i||null),t,n,2)),c=1;u=us(e.data,e),t(c,n),as(),ms()}finally{ss(u),Gu=s,Ku=a}return e}function vs(e){return 1&e.flags?3:2}function ys(e,t,n){return e.ngPrivateData||(e.ngPrivateData=gs(t,n))}function gs(e,t){return{data:[],directives:null,firstTemplatePass:!0,initHooks:null,checkHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,pipeDestroyHooks:null,hostBindings:null,components:null,directiveRegistry:"function"==typeof e?e():e,pipeRegistry:"function"==typeof t?t():t,currentMatches:null}}function ms(){for(var e=os.child;null!==e;e=e.next)if(0!==e.dynamicViewCount&&e.views)for(var t=e,n=0;n<t.views.length;n++){var r=t.views[n];hs(r,r.data.template,r.data.context,Qu)}}function bs(e,t){ngDevMode&&Ts(t);var n=ns[t];ngDevMode&&Zu(n,3),ngDevMode&&Fu(n.data,"Component's host node should have an LView attached.");var r=n.data;(function(e){return 8==(8&e.flags)})(r)&&6&r.flags&&(ngDevMode&&Ts(e,rs),Cs(r,n,os.tView.directives[e],xs(rs[e])))}function _s(e){for(var t=e;null!=t.parent;)t.flags|=4,t=t.parent;t.flags|=4,ngDevMode&&Fu(t.context,"rootContext"),function(e){if(e.clean==$u){var t;e.clean=new Promise(function(e){return t=e}),e.scheduler(function(){!function(e){var t=ws(e),n=t.context.component,r=Is(n);ngDevMode&&Fu(r.data,"Component host node should be attached to an LView"),function(e,t,n,r){var o=us(t,e);try{Wu.begin&&Wu.begin(),r?(r(vs(t),n),ms(),as()):(ls(),cs(Xu),bs(0,0))}finally{Wu.end&&Wu.end(),ss(o)}}(r,t,n)}(e.component),t(null),e.clean=$u})}}(t.context)}function ws(e){ngDevMode&&Fu(e,"component");for(var t=Is(e).view;t.parent;)t=t.parent;return t}function Es(e){var t=Is(e);ngDevMode&&Fu(t.data,"Component host node should be attached to an LView");var n=t.tNode.flags>>13,r=t.view.tView.directives[n];Cs(t.data,t,r,e)}function Cs(e,t,n,r){var o=us(e,t),i=n.template;try{i(vs(e),r),as(),ms()}finally{ss(o)}}function xs(e){return Array.isArray(e)?e[0]:e}function Ts(e,t){null==t&&(t=ns),ju(e,t?t.length:0,"index expected to be a valid data index")}function ks(e,t){null==t&&(t=ns),Vu(t.length,e,"index "+e+" expected to be at the end of arr (length "+t.length+")")}function Is(e){ngDevMode&&Fu(e,"expecting component got null");var t=e[Ju];return ngDevMode&&Fu(e,"object is not a component"),t}var Ss=function(){function e(e,t){this._view=e,this.context=t}return e.prototype._setComponentContext=function(e,t){this._view=e,this.context=t},e.prototype.destroy=function(){},e.prototype.onDestroy=function(e){},e.prototype.markForCheck=function(){_s(this._view)},e.prototype.detach=function(){this._view.flags&=-9},e.prototype.reattach=function(){this._view.flags|=8},e.prototype.detectChanges=function(){Es(this.context)},e.prototype.checkNoChanges=function(){!function(e){is=!0;try{Es(e)}finally{is=!1}}(this.context)},e}();!function(e){function t(t,n,r){var o=e.call(this,t.data,r)||this;return o._lViewNode=t,o}o(t,e)}(Ss);
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var Ns=function(){return function(){}}(),As=Element.prototype,Ds=As.matches||As.matchesSelector||As.mozMatchesSelector||As.msMatchesSelector||As.oMatchesSelector||As.webkitMatchesSelector,Os={schedule:function(e,t){var n=setTimeout(e,t);return function(){return clearTimeout(n)}},scheduleBeforeRender:function(e){if("undefined"==typeof window)return Os.schedule(e,0);if(void 0===window.requestAnimationFrame){return Os.schedule(e,16)}var t=window.requestAnimationFrame(e);return function(){return window.cancelAnimationFrame(t)}}};function Ps(e,t,n){var r=n;return function(e){return e.nodeType===Node.ELEMENT_NODE}(e)&&t.some(function(t,n){return!("*"===t||!function(e,t){return Ds.call(e,t)}(e,t))&&(r=n,!0)}),r}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/var Rs=function(){function e(e,t){this.component=e,this.injector=t,this.componentFactory=t.get(Pt).resolveComponentFactory(e)}return e.prototype.create=function(e){return new Ms(this.componentFactory,e)},e}(),Ms=function(){function e(e,t){this.componentFactory=e,this.injector=t,this.inputChanges=null,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.uninitializedInputs=new Set}return e.prototype.connect=function(e){if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);this.componentRef||this.initializeComponent(e)},e.prototype.disconnect=function(){var e=this;this.componentRef&&null===this.scheduledDestroyFn&&(this.scheduledDestroyFn=Os.schedule(function(){e.componentRef&&(e.componentRef.destroy(),e.componentRef=null)},10))},e.prototype.getInputValue=function(e){return this.componentRef?this.componentRef.instance[e]:this.initialInputValues.get(e)},e.prototype.setInputValue=function(e,t){(function(e,t){return e===t||e!=e&&t!=t})(t,this.getInputValue(e))||(this.componentRef?(this.recordInputChange(e,t),this.componentRef.instance[e]=t,this.scheduleDetectChanges()):this.initialInputValues.set(e,t))},e.prototype.initializeComponent=function(e){var t=Ve.create({providers:[],parent:this.injector}),n=
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function(e,t){var n=e.childNodes,r=t.map(function(){return[]}),o=-1;t.some(function(e,t){return"*"===e&&(o=t,!0)});for(var i=0,u=n.length;i<u;++i){var s=n[i],a=Ps(s,t,o);-1!==a&&r[a].push(s)}return r}(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,n,e),this.implementsOnChanges=function(e){return"function"==typeof e}(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(),this.detectChanges(),this.injector.get(ln).attachView(this.componentRef.hostView)},e.prototype.initializeInputs=function(){var e=this;this.componentFactory.inputs.forEach(function(t){var n=t.propName,r=e.initialInputValues.get(n);r?e.setInputValue(n,r):e.uninitializedInputs.add(n)}),this.initialInputValues.clear()},e.prototype.initializeOutputs=function(){var e=this,t=this.componentFactory.outputs.map(function(t){var n=t.propName,r=t.templateName;return e.componentRef.instance[n].pipe(B(function(e){return{name:r,value:e}}))});this.events=Y.apply(void 0,a(t))},e.prototype.callNgOnChanges=function(){if(this.implementsOnChanges&&null!==this.inputChanges){var e=this.inputChanges;this.inputChanges=null,this.componentRef.instance.ngOnChanges(e)}},e.prototype.scheduleDetectChanges=function(){var e=this;this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=Os.scheduleBeforeRender(function(){e.scheduledChangeDetectionFn=null,e.detectChanges()}))},e.prototype.recordInputChange=function(e,t){if(!this.componentRef||this.implementsOnChanges){null===this.inputChanges&&(this.inputChanges={});var n=this.inputChanges[e];if(n)n.currentValue=t;else{var r=this.uninitializedInputs.has(e);this.uninitializedInputs.delete(e);var o=r?void 0:this.getInputValue(e);this.inputChanges[e]=new Nn(o,t,r)}}},e.prototype.detectChanges=function(){this.componentRef&&(this.callNgOnChanges(),this.componentRef.changeDetectorRef.detectChanges())},e}(),Vs=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.ngElementEventsSubscription=null,t}return o(t,e),t}(HTMLElement);function js(e,t){var n=function(e,t){return t.get(Pt).resolveComponentFactory(e).inputs}(e,t.injector),r=t.strategyFactory||new Rs(e,t.injector),i=function(e){var t={};return e.forEach(function(e){var n=e.propName,r=e.templateName;t[function(e){return e.replace(/[A-Z]/g,function(e){return"-"+e.toLowerCase()})}(r)]=n}),t}(n),u=function(e){function n(n){var o=e.call(this)||this;return o.ngElementStrategy=r.create(n||t.injector),o}return o(n,e),n.prototype.attributeChangedCallback=function(e,n,o,u){this.ngElementStrategy||(this.ngElementStrategy=r.create(t.injector));var s=i[e];this.ngElementStrategy.setInputValue(s,o)},n.prototype.connectedCallback=function(){var e=this;this.ngElementStrategy||(this.ngElementStrategy=r.create(t.injector)),this.ngElementStrategy.connect(this),this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(function(t){var n=function(e,t,n){if("function"!=typeof CustomEvent){var r=e.createEvent("CustomEvent");return r.initCustomEvent(t,!1,!1,n),r}return new CustomEvent(t,{bubbles:!1,cancelable:!1,detail:n})}(e.ownerDocument,t.name,t.value);e.dispatchEvent(n)})},n.prototype.disconnectedCallback=function(){this.ngElementStrategy&&this.ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)},n.observedAttributes=Object.keys(i),n}(Vs);return n.map(function(e){return e.propName}).forEach(function(e){Object.defineProperty(u.prototype,e,{get:function(){return this.ngElementStrategy.getInputValue(e)},set:function(t){this.ngElementStrategy.setInputValue(e,t)},configurable:!0,enumerable:!0})}),u}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/var Hs=function(){function e(e){this.injector=e}return e.prototype.ngDoBootstrap=function(){var e=js(Ns,{injector:this.injector});customElements.define("external-dashboard-tile",e)},e}(),Fs=function(e){return{id:Lr,styles:e.styles,encapsulation:e.encapsulation,data:e.data}}({encapsulation:1,styles:[[""]],data:{}});
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/function Ls(e){return ki(0,[(e()(),go(0,0,null,null,23,"div",[["class","card"]],null,null,null,null,null)),(e()(),go(1,0,null,null,2,"div",[["class","header"]],null,null,null,null,null)),(e()(),go(2,0,null,null,1,"h1",[["class","title"]],null,null,null,null,null)),(e()(),Ci(-1,null,["External"])),(e()(),go(4,0,null,null,19,"div",[["class","content"]],null,null,null,null,null)),(e()(),go(5,0,null,null,18,"div",[["style","height:200px;"]],null,null,null,null,null)),(e()(),go(6,0,null,null,0,"br",[],null,null,null,null,null)),(e()(),go(7,0,null,null,16,"table",[["class","table table-contensed"]],null,null,null,null,null)),(e()(),go(8,0,null,null,15,"tbody",[],null,null,null,null,null)),(e()(),go(9,0,null,null,4,"tr",[],null,null,null,null,null)),(e()(),go(10,0,null,null,1,"td",[],null,null,null,null,null)),(e()(),Ci(-1,null,["A"])),(e()(),go(12,0,null,null,1,"td",[],null,null,null,null,null)),(e()(),Ci(13,null,["",""])),(e()(),go(14,0,null,null,4,"tr",[],null,null,null,null,null)),(e()(),go(15,0,null,null,1,"td",[],null,null,null,null,null)),(e()(),Ci(-1,null,["B"])),(e()(),go(17,0,null,null,1,"td",[],null,null,null,null,null)),(e()(),Ci(18,null,["",""])),(e()(),go(19,0,null,null,4,"tr",[],null,null,null,null,null)),(e()(),go(20,0,null,null,1,"td",[],null,null,null,null,null)),(e()(),Ci(-1,null,["C"])),(e()(),go(22,0,null,null,1,"td",[],null,null,null,null,null)),(e()(),Ci(23,null,["",""]))],null,function(e,t){var n=t.component;e(t,13,0,n.a),e(t,18,0,n.b),e(t,23,0,n.c)})}var Bs=function(e,t,n,r,o,i){return new Vo(e,t,n,r,o,i)}("ng-component",Ns,function(e){return ki(0,[(e()(),go(0,0,null,null,1,"ng-component",[],null,null,null,Ls,Fs)),function(e,t,n,r,o,i,u,a){var c=[];if(u)for(var l in u){var d=s(u[l],2),f=d[0],p=d[1];c[f]={flags:8,name:l,nonMinifiedName:p,ns:null,securityContext:null,suffix:null}}var h=[];if(a)for(var v in a)h.push({type:1,propName:v,target:null,eventName:a[v]});return oi(e,t|=16384,n,r,o,o,i,c,h)}(1,49152,null,0,Ns,[],null,null)],null,null)},{a:"a",b:"b",c:"c"},{},[]),zs=function(){return function(){}}();
/**
* @license Angular v6.0.7
* (c) 2010-2018 Google, Inc. https://angular.io/
* License: MIT
*/
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var Us=void 0;
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/var Zs=["en",[["a","p"],["AM","PM"],Us],[["AM","PM"],Us,Us],[["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"]],Us,[["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"]],Us,[["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}",Us,"{1} 'at' {0}",Us],[".",",",";","%","+","-","E","×","","","NaN",":"],["#,##0.###","#,##0%","¤#,##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}],qs={};
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var Qs=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}({});
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/function Ws(e){var t=e.toLowerCase().replace(/_/g,"-"),n=qs[t];if(n)return n;var r=t.split("-")[0];if(n=qs[r])return n;if("en"===r)return Zs;throw new Error('Missing locale data for the locale "'+e+'".')}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var Ks=new fe("UseV4Plurals"),Gs=function(){return function(){}}();var Ys=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 Ws(e)[18]}(t||this.locale)(e)){case Qs.Zero:return"zero";case Qs.One:return"one";case Qs.Two:return"two";case Qs.Few:return"few";case Qs.Many:return"many";default:return"other"}},t}(Gs);
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var Js=function(){return function(){}}(),$s=new fe("DocumentToken"),Xs="browser",ea="server";
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var ta=null;
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
/**
* @license Angular v6.0.7
* (c) 2010-2018 Google, Inc. https://angular.io/
* License: MIT
*/
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/function na(){return ta}var ra,oa=function(e){function t(){var t=e.call(this)||this;t._animationPrefix=null,t._transitionEnd=null;try{var n=t.createElement("div",document);if(null!=t.getStyle(n,"animationName"))t._animationPrefix="";else for(var r=["Webkit","Moz","O","ms"],o=0;o<r.length;o++)if(null!=t.getStyle(n,r[o]+"AnimationName")){t._animationPrefix="-"+r[o].toLowerCase()+"-";break}var i={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(i).forEach(function(e){null!=t.getStyle(n,e)&&(t._transitionEnd=i[e])})}catch(e){t._animationPrefix=null,t._transitionEnd=null}return t}return o(t,e),t.prototype.getDistributedNodes=function(e){return e.getDistributedNodes()},t.prototype.resolveAndSetHref=function(e,t,n){e.href=null==n?t:t+"/../"+n},t.prototype.supportsDOMEvents=function(){return!0},t.prototype.supportsNativeShadowDOM=function(){return"function"==typeof document.body.createShadowRoot},t.prototype.getAnimationPrefix=function(){return this._animationPrefix?this._animationPrefix:""},t.prototype.getTransitionEnd=function(){return this._transitionEnd?this._transitionEnd:""},t.prototype.supportsAnimation=function(){return null!=this._animationPrefix&&null!=this._transitionEnd},t}(function(){function e(){this.resourceLoaderType=null}return Object.defineProperty(e.prototype,"attrToPropMap",{get:function(){return this._attrToPropMap},set:function(e){this._attrToPropMap=e},enumerable:!0,configurable:!0}),e}()),ia={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},ua={"\b":"Backspace","\t":"Tab","":"Delete","":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},sa={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","":"NumLock"};
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/be.Node&&(ra=be.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))});var aa,ca=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(){!function(e){ta||(ta=e)}(new t)},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,a(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 ia},enumerable:!0,configurable:!0}),t.prototype.contains=function(e,t){return ra.call(e,t)},t.prototype.querySelector=function(e,t){return e.querySelector(t)},t.prototype.querySelectorAll=function(e,t){return e.querySelectorAll(t)},t.prototype.on=function(e,t,n){e.addEventListener(t,n,!1)},t.prototype.onAndCancel=function(e,t,n){return e.addEventListener(t,n,!1),function(){e.removeEventListener(t,n,!1)}},t.prototype.dispatchEvent=function(e,t){e.dispatchEvent(t)},t.prototype.createMouseEvent=function(e){var t=this.getDefaultDocument().createEvent("MouseEvent");return t.initEvent(e,!0,!0),t},t.prototype.createEvent=function(e){var t=this.getDefaultDocument().createEvent("Event");return t.initEvent(e,!0,!0),t},t.prototype.preventDefault=function(e){e.preventDefault(),e.returnValue=!1},t.prototype.isPrevented=function(e){return e.defaultPrevented||null!=e.returnValue&&!e.returnValue},t.prototype.getInnerHTML=function(e){return e.innerHTML},t.prototype.getTemplateContent=function(e){return"content"in e&&this.isTemplateElement(e)?e.content:null},t.prototype.getOuterHTML=function(e){return e.outerHTML},t.prototype.nodeName=function(e){return e.nodeName},t.prototype.nodeValue=function(e){return e.nodeValue},t.prototype.type=function(e){return e.type},t.prototype.content=function(e){return this.hasProperty(e,"content")?e.content:e},t.prototype.firstChild=function(e){return e.firstChild},t.prototype.nextSibling=function(e){return e.nextSibling},t.prototype.parentElement=function(e){return e.parentNode},t.prototype.childNodes=function(e){return e.childNodes},t.prototype.childNodesAsList=function(e){for(var t=e.childNodes,n=new Array(t.length),r=0;r<t.length;r++)n[r]=t[r];return n},t.prototype.clearNodes=function(e){for(;e.firstChild;)e.removeChild(e.firstChild)},t.prototype.appendChild=function(e,t){e.appendChild(t)},t.prototype.removeChild=function(e,t){e.removeChild(t)},t.prototype.replaceChild=function(e,t,n){e.replaceChild(t,n)},t.prototype.remove=function(e){return e.parentNode&&e.parentNode.removeChild(e),e},t.prototype.insertBefore=function(e,t,n){e.insertBefore(n,t)},t.prototype.insertAllBefore=function(e,t,n){n.forEach(function(n){return e.insertBefore(n,t)})},t.prototype.insertAfter=function(e,t,n){e.insertBefore(n,t.nextSibling)},t.prototype.setInnerHTML=function(e,t){e.innerHTML=t},t.prototype.getText=function(e){return e.textContent},t.prototype.setText=function(e,t){e.textContent=t},t.prototype.getValue=function(e){return e.value},t.prototype.setValue=function(e,t){e.value=t},t.prototype.getChecked=function(e){return e.checked},t.prototype.setChecked=function(e,t){e.checked=t},t.prototype.createComment=function(e){return this.getDefaultDocument().createComment(e)},t.prototype.createTemplate=function(e){var t=this.getDefaultDocument().createElement("template");return t.innerHTML=e,t},t.prototype.createElement=function(e,t){return(t=t||this.getDefaultDocument()).createElement(e)},t.prototype.createElementNS=function(e,t,n){return(n=n||this.getDefaultDocument()).createElementNS(e,t)},t.prototype.createTextNode=function(e,t){return(t=t||this.getDefaultDocument()).createTextNode(e)},t.prototype.createScriptTag=function(e,t,n){var r=(n=n||this.getDefaultDocument()).createElement("SCRIPT");return r.setAttribute(e,t),r},t.prototype.createStyleElement=function(e,t){var n=(t=t||this.getDefaultDocument()).createElement("style");return this.appendChild(n,this.createTextNode(e,t)),n},t.prototype.createShadowRoot=function(e){return e.createShadowRoot()},t.prototype.getShadowRoot=function(e){return e.shadowRoot},t.prototype.getHost=function(e){return e.host},t.prototype.clone=function(e){return e.cloneNode(!0)},t.prototype.getElementsByClassName=function(e,t){return e.getElementsByClassName(t)},t.prototype.getElementsByTagName=function(e,t){return e.getElementsByTagName(t)},t.prototype.classList=function(e){return Array.prototype.slice.call(e.classList,0)},t.prototype.addClass=function(e,t){e.classList.add(t)},t.prototype.removeClass=function(e,t){e.classList.remove(t)},t.prototype.hasClass=function(e,t){return e.classList.contains(t)},t.prototype.setStyle=function(e,t,n){e.style[t]=n},t.prototype.removeStyle=function(e,t){e.style[t]=""},t.prototype.getStyle=function(e,t){return e.style[t]},t.prototype.hasStyle=function(e,t,n){var r=this.getStyle(e,t)||"";return n?r==n:r.length>0},t.prototype.tagName=function(e){return e.tagName},t.prototype.attributeMap=function(e){for(var t=new Map,n=e.attributes,r=0;r<n.length;r++){var o=n.item(r);t.set(o.name,o.value)}return t},t.prototype.hasAttribute=function(e,t){return e.hasAttribute(t)},t.prototype.hasAttributeNS=function(e,t,n){return e.hasAttributeNS(t,n)},t.prototype.getAttribute=function(e,t){return e.getAttribute(t)},t.prototype.getAttributeNS=function(e,t,n){return e.getAttributeNS(t,n)},t.prototype.setAttribute=function(e,t,n){e.setAttribute(t,n)},t.prototype.setAttributeNS=function(e,t,n,r){e.setAttributeNS(t,n,r)},t.prototype.removeAttribute=function(e,t){e.removeAttribute(t)},t.prototype.removeAttributeNS=function(e,t,n){e.removeAttributeNS(t,n)},t.prototype.templateAwareRoot=function(e){return this.isTemplateElement(e)?this.content(e):e},t.prototype.createHtmlDocument=function(){return document.implementation.createHTMLDocument("fakeTitle")},t.prototype.getDefaultDocument=function(){return document},t.prototype.getBoundingClientRect=function(e){try{return e.getBoundingClientRect()}catch(e){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}},t.prototype.getTitle=function(e){return e.title},t.prototype.setTitle=function(e,t){e.title=t||""},t.prototype.elementMatches=function(e,t){return!!this.isElementNode(e)&&(e.matches&&e.matches(t)||e.msMatchesSelector&&e.msMatchesSelector(t)||e.webkitMatchesSelector&&e.webkitMatchesSelector(t))},t.prototype.isTemplateElement=function(e){return this.isElementNode(e)&&"TEMPLATE"===e.nodeName},t.prototype.isTextNode=function(e){return e.nodeType===Node.TEXT_NODE},t.prototype.isCommentNode=function(e){return e.nodeType===Node.COMMENT_NODE},t.prototype.isElementNode=function(e){return e.nodeType===Node.ELEMENT_NODE},t.prototype.hasShadowRoot=function(e){return null!=e.shadowRoot&&e instanceof HTMLElement},t.prototype.isShadowRoot=function(e){return e instanceof DocumentFragment},t.prototype.importIntoDoc=function(e){return document.importNode(this.templateAwareRoot(e),!0)},t.prototype.adoptNode=function(e){return document.adoptNode(e)},t.prototype.getHref=function(e){return e.getAttribute("href")},t.prototype.getEventKey=function(e){var t=e.key;if(null==t){if(null==(t=e.keyIdentifier))return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&sa.hasOwnProperty(t)&&(t=sa[t]))}return ua[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=function(){if(!la&&!(la=document.querySelector("base")))return null;return la.getAttribute("href")}();return null==t?null:function(e){aa||(aa=document.createElement("a"));return aa.setAttribute("href",e),"/"===aa.pathname.charAt(0)?aa.pathname:"/"+aa.pathname}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/(t)},t.prototype.resetBaseElement=function(){la=null},t.prototype.getUserAgent=function(){return window.navigator.userAgent},t.prototype.setData=function(e,t,n){this.setAttribute(e,"data-"+t,n)},t.prototype.getData=function(e,t){return this.getAttribute(e,"data-"+t)},t.prototype.getComputedStyle=function(e){return getComputedStyle(e)},t.prototype.supportsWebAnimation=function(){return"function"==typeof Element.prototype.animate},t.prototype.performanceNow=function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()},t.prototype.supportsCookies=function(){return!0},t.prototype.getCookie=function(e){
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/return function(e,t){t=encodeURIComponent(t);try{for(var n=u(e.split(";")),r=n.next();!r.done;r=n.next()){var o=r.value,i=o.indexOf("="),a=s(-1==i?[o,""]:[o.slice(0,i),o.slice(i+1)],2),c=a[0],l=a[1];if(c.trim()===t)return decodeURIComponent(l)}}catch(e){d={error:e}}finally{try{r&&!r.done&&(f=n.return)&&f.call(n)}finally{if(d)throw d.error}}return null;var d,f}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/(document.cookie,e)},t.prototype.setCookie=function(e,t){document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)},t}(oa),la=null;var da=$s;
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/function fa(){return!!window.history.pushState}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/var pa=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n._init(),n}return o(t,e),t.prototype._init=function(){this.location=na().getLocation(),this._history=na().getHistory()},t.prototype.getBaseHrefFromDOM=function(){return na().getBaseHref(this._doc)},t.prototype.onPopState=function(e){na().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)},t.prototype.onHashChange=function(e){na().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){fa()?this._history.pushState(e,t,n):this.location.hash=n},t.prototype.replaceState=function(e,t,n){fa()?this._history.replaceState(e,t,n):this.location.hash=n},t.prototype.forward=function(){this._history.forward()},t.prototype.back=function(){this._history.back()},t.ctorParameters=function(){return[{type:void 0,decorators:[{type:Se,args:[da]}]}]},t}(zs),ha=function(){function e(e){this._doc=e,this._dom=na()}return e.prototype.addTag=function(e,t){return void 0===t&&(t=!1),e?this._getOrCreateElement(e,t):null},e.prototype.addTags=function(e,t){var n=this;return void 0===t&&(t=!1),e?e.reduce(function(e,r){return r&&e.push(n._getOrCreateElement(r,t)),e},[]):[]},e.prototype.getTag=function(e){return e&&this._dom.querySelector(this._doc,"meta["+e+"]")||null},e.prototype.getTags=function(e){if(!e)return[];var t=this._dom.querySelectorAll(this._doc,"meta["+e+"]");return t?[].slice.call(t):[]},e.prototype.updateTag=function(e,t){if(!e)return null;t=t||this._parseSelector(e);var n=this.getTag(t);return n?this._setMetaElementAttributes(e,n):this._getOrCreateElement(e,!0)},e.prototype.removeTag=function(e){this.removeTagElement(this.getTag(e))},e.prototype.removeTagElement=function(e){e&&this._dom.remove(e)},e.prototype._getOrCreateElement=function(e,t){if(void 0===t&&(t=!1),!t){var n=this._parseSelector(e),r=this.getTag(n);if(r&&this._containsAttributes(e,r))return r}var o=this._dom.createElement("meta");this._setMetaElementAttributes(e,o);var i=this._dom.getElementsByTagName(this._doc,"head")[0];return this._dom.appendChild(i,o),o},e.prototype._setMetaElementAttributes=function(e,t){var n=this;return Object.keys(e).forEach(function(r){return n._dom.setAttribute(t,r,e[r])}),t},e.prototype._parseSelector=function(e){var t=e.name?"name":"property";return t+'="'+e[t]+'"'},e.prototype._containsAttributes=function(e,t){var n=this;return Object.keys(e).every(function(r){return n._dom.getAttribute(t,r)===e[r]})},e}(),va=new fe("TRANSITION_ID");
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/var ya=[{provide:ht,useFactory:function(e,t,n){return function(){n.get(vt).donePromise.then(function(){var n=na();Array.prototype.slice.apply(n.querySelectorAll(t,"style[ng-transition]")).filter(function(t){return n.getAttribute(t,"ng-transition")===e}).forEach(function(e){return n.remove(e)})})}},deps:[va,da,Ve],multi:!0}],ga=function(){function e(){}return e.init=function(){!function(e){Xt=e}(new e)},e.prototype.addToWindow=function(e){be.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},be.getAllAngularTestabilities=function(){return e.getAllTestabilities()},be.getAllAngularRootElements=function(){return e.getAllRootElements()};be.frameworkStabilizers||(be.frameworkStabilizers=[]),be.frameworkStabilizers.push(function(e){var t=be.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?na().isShadowRoot(t)?this.findTestabilityInTree(e,na().getHost(t),!0):this.findTestabilityInTree(e,na().parentElement(t),!0):null},e}(),ma=function(){function e(e){this._doc=e}return e.prototype.getTitle=function(){return na().getTitle(this._doc)},e.prototype.setTitle=function(e){na().setTitle(this._doc,e)},e}();
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function ba(e,t){"undefined"!=typeof COMPILED&&COMPILED||((be.ng=be.ng||{})[e]=t)}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/var _a={ApplicationRef:ln,NgZone:Ut},wa="probe",Ea="coreTokens";function Ca(e){return Tn(e)}function xa(e){return ba(wa,Ca),ba(Ea,i({},_a,function(e){return e.reduce(function(e,t){return e[t.name]=t.token,e},{})}(e||[]))),function(){return Ca}}var Ta=new fe("EventManagerPlugins"),ka=function(){function e(e,t){var n=this;this._zone=t,this._eventNameToPlugin=new Map,e.forEach(function(e){return e.manager=n}),this._plugins=e.slice().reverse()}return e.prototype.addEventListener=function(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)},e.prototype.addGlobalEventListener=function(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)},e.prototype.getZone=function(){return this._zone},e.prototype._findPluginFor=function(e){var t=this._eventNameToPlugin.get(e);if(t)return t;for(var n=this._plugins,r=0;r<n.length;r++){var o=n[r];if(o.supports(e))return this._eventNameToPlugin.set(e,o),o}throw new Error("No event manager plugin found for event "+e)},e}(),Ia=function(){function e(e){this._doc=e}return e.prototype.addGlobalEventListener=function(e,t,n){var r=na().getGlobalEventTarget(this._doc,e);if(!r)throw new Error("Unsupported event target "+r+" for event "+t);return this.addEventListener(r,t,n)},e}(),Sa=function(){function e(){this._stylesSet=new Set}return e.prototype.addStyles=function(e){var t=this,n=new Set;e.forEach(function(e){t._stylesSet.has(e)||(t._stylesSet.add(e),n.add(e))}),this.onStylesAdded(n)},e.prototype.onStylesAdded=function(e){},e.prototype.getAllStyles=function(){return Array.from(this._stylesSet)},e}(),Na=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n._hostNodes=new Set,n._styleNodes=new Set,n._hostNodes.add(t.head),n}return o(t,e),t.prototype._addStylesToHost=function(e,t){var n=this;e.forEach(function(e){var r=n._doc.createElement("style");r.textContent=e,n._styleNodes.add(t.appendChild(r))})},t.prototype.addHost=function(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)},t.prototype.removeHost=function(e){this._hostNodes.delete(e)},t.prototype.onStylesAdded=function(e){var t=this;this._hostNodes.forEach(function(n){return t._addStylesToHost(e,n)})},t.prototype.ngOnDestroy=function(){this._styleNodes.forEach(function(e){return na().remove(e)})},t}(Sa),Aa={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},Da=/%COMP%/g,Oa="_nghost-%COMP%",Pa="_ngcontent-%COMP%";
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/function Ra(e,t,n){for(var r=0;r<t.length;r++){var o=t[r];Array.isArray(o)?Ra(e,o,n):(o=o.replace(Da,e),n.push(o))}return n}function Ma(e){return function(t){!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}var Va=function(){function e(e,t){this.eventManager=e,this.sharedStylesHost=t,this.rendererByCompId=new Map,this.defaultRenderer=new ja(e)}return e.prototype.createRenderer=function(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case nt.Emulated:var n=this.rendererByCompId.get(t.id);return n||(n=new Ba(this.eventManager,this.sharedStylesHost,t),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n;case nt.Native:return new za(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){var r=Ra(t.id,t.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}},e.prototype.begin=function(){},e.prototype.end=function(){},e}(),ja=function(){function e(e){this.eventManager=e,this.data=Object.create(null)}return e.prototype.destroy=function(){},e.prototype.createElement=function(e,t){return t?document.createElementNS(Aa[t],e):document.createElement(e)},e.prototype.createComment=function(e){return document.createComment(e)},e.prototype.createText=function(e){return document.createTextNode(e)},e.prototype.appendChild=function(e,t){e.appendChild(t)},e.prototype.insertBefore=function(e,t,n){e&&e.insertBefore(t,n)},e.prototype.removeChild=function(e,t){e&&e.removeChild(t)},e.prototype.selectRootElement=function(e){var t="string"==typeof e?document.querySelector(e):e;if(!t)throw new Error('The selector "'+e+'" did not match any elements');return t.textContent="",t},e.prototype.parentNode=function(e){return e.parentNode},e.prototype.nextSibling=function(e){return e.nextSibling},e.prototype.setAttribute=function(e,t,n,r){if(r){t=r+":"+t;var o=Aa[r];o?e.setAttributeNS(o,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)},e.prototype.removeAttribute=function(e,t,n){if(n){var r=Aa[n];r?e.removeAttributeNS(r,t):e.removeAttribute(n+":"+t)}else e.removeAttribute(t)},e.prototype.addClass=function(e,t){e.classList.add(t)},e.prototype.removeClass=function(e,t){e.classList.remove(t)},e.prototype.setStyle=function(e,t,n,r){r&hn.DashCase?e.style.setProperty(t,n,r&hn.Important?"important":""):e.style[t]=n},e.prototype.removeStyle=function(e,t,n){n&hn.DashCase?e.style.removeProperty(t):e.style[t]=""},e.prototype.setProperty=function(e,t,n){Fa(t,"property"),e[t]=n},e.prototype.setValue=function(e,t){e.nodeValue=t},e.prototype.listen=function(e,t,n){return Fa(t,"listener"),"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,Ma(n)):this.eventManager.addEventListener(e,t,Ma(n))},e}(),Ha="@".charCodeAt(0);function Fa(e,t){if(e.charCodeAt(0)===Ha)throw new Error("Found the synthetic "+t+" "+e+'. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.')}var La,Ba=function(e){function t(t,n,r){var o=e.call(this,t)||this;o.component=r;var i=Ra(r.id,r.styles,[]);return n.addStyles(i),o.contentAttr=function(e){return Pa.replace(Da,e)}(r.id),o.hostAttr=function(e){return Oa.replace(Da,e)}(r.id),o}return o(t,e),t.prototype.applyToHost=function(t){e.prototype.setAttribute.call(this,t,this.hostAttr,"")},t.prototype.createElement=function(t,n){var r=e.prototype.createElement.call(this,t,n);return e.prototype.setAttribute.call(this,r,this.contentAttr,""),r},t}(ja),za=function(e){function t(t,n,r,o){var i=e.call(this,t)||this;i.sharedStylesHost=n,i.hostEl=r,i.component=o,i.shadowRoot=r.createShadowRoot(),i.sharedStylesHost.addHost(i.shadowRoot);for(var u=Ra(o.id,o.styles,[]),s=0;s<u.length;s++){var a=document.createElement("style");a.textContent=u[s],i.shadowRoot.appendChild(a)}return i}return o(t,e),t.prototype.nodeOrShadowRoot=function(e){return e===this.hostEl?this.shadowRoot:e},t.prototype.destroy=function(){this.sharedStylesHost.removeHost(this.shadowRoot)},t.prototype.appendChild=function(t,n){return e.prototype.appendChild.call(this,this.nodeOrShadowRoot(t),n)},t.prototype.insertBefore=function(t,n,r){return e.prototype.insertBefore.call(this,this.nodeOrShadowRoot(t),n,r)},t.prototype.removeChild=function(t,n){return e.prototype.removeChild.call(this,this.nodeOrShadowRoot(t),n)},t.prototype.parentNode=function(t){return this.nodeOrShadowRoot(e.prototype.parentNode.call(this,this.nodeOrShadowRoot(t)))},t}(ja),Ua="undefined"!=typeof Zone&&Zone.__symbol__||function(e){return"__zone_symbol__"+e},Za=Ua("addEventListener"),qa=Ua("removeEventListener"),Qa={},Wa="__zone_symbol__propagationStopped",Ka="undefined"!=typeof Zone&&Zone[Ua("BLACK_LISTED_EVENTS")];Ka&&(La={});var Ga=function(e){return!!La&&La.hasOwnProperty(e)},Ya=function(e){var t=Qa[e.type];if(t){var n=this[t];if(n){var r=[e];if(1===n.length)return(u=n[0]).zone!==Zone.current?u.zone.run(u.handler,this,r):u.handler.apply(this,r);for(var o=n.slice(),i=0;i<o.length&&!0!==e[Wa];i++){var u;(u=o[i]).zone!==Zone.current?u.zone.run(u.handler,this,r):u.handler.apply(this,r)}}}},Ja=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.ngZone=n,r&&function(e){return e===ea}(r)||o.patchEvent(),o}return o(t,e),t.prototype.patchEvent=function(){if("undefined"!=typeof Event&&Event&&Event.prototype&&!Event.prototype.__zone_symbol__stopImmediatePropagation){var e=Event.prototype.__zone_symbol__stopImmediatePropagation=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[Wa]=!0),e&&e.apply(this,arguments)}}},t.prototype.supports=function(e){return!0},t.prototype.addEventListener=function(e,t,n){var r=this,o=n;if(!e[Za]||Ut.isInAngularZone()&&!Ga(t))e.addEventListener(t,o,!1);else{var i=Qa[t];i||(i=Qa[t]=Ua("ANGULAR"+t+"FALSE"));var u=e[i],s=u&&u.length>0;u||(u=e[i]=[]);var a=Ga(t)?Zone.root:Zone.current;if(0===u.length)u.push({zone:a,handler:o});else{for(var c=!1,l=0;l<u.length;l++)if(u[l].handler===o){c=!0;break}c||u.push({zone:a,handler:o})}s||e[Za](t,Ya,!1)}return function(){return r.removeEventListener(e,t,o)}},t.prototype.removeEventListener=function(e,t,n){var r=e[qa];if(!r)return e.removeEventListener.apply(e,[t,n,!1]);var o=Qa[t],i=o&&e[o];if(!i)return e.removeEventListener.apply(e,[t,n,!1]);for(var u=!1,s=0;s<i.length;s++)if(i[s].handler===n){u=!0,i.splice(s,1);break}u?0===i.length&&r.apply(e,[t,Ya,!1]):e.removeEventListener.apply(e,[t,n,!1])},t}(Ia),$a={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0},Xa=new fe("HammerGestureConfig"),ec=function(){function e(){this.events=[],this.overrides={}}return e.prototype.buildHammer=function(e){var t=new Hammer(e,this.options);for(var n in t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0}),this.overrides)t.get(n).set(this.overrides[n]);return t},e}(),tc=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o._config=n,o.console=r,o}return o(t,e),t.prototype.supports=function(e){return!(!$a.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e))&&(!!window.Hammer||(this.console.warn("Hammer.js is not loaded, can not bind '"+e+"' event."),!1))},t.prototype.addEventListener=function(e,t,n){var r=this,o=this.manager.getZone();return t=t.toLowerCase(),o.runOutsideAngular(function(){var i=r._config.buildHammer(e),u=function(e){o.runGuarded(function(){n(e)})};return i.on(t,u),function(){return i.off(t,u)}})},t.prototype.isCustomEvent=function(e){return this._config.events.indexOf(e)>-1},t}(Ia),nc=["alt","control","meta","shift"],rc={alt:function(e){return e.altKey},control:function(e){return e.ctrlKey},meta:function(e){return e.metaKey},shift:function(e){return e.shiftKey}},oc=function(e){function t(t){return e.call(this,t)||this}return o(t,e),t.prototype.supports=function(e){return null!=t.parseEventName(e)},t.prototype.addEventListener=function(e,n,r){var o=t.parseEventName(n),i=t.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return na().onAndCancel(e,o.domEventName,i)})},t.parseEventName=function(e){var n=e.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;var o=t._normalizeKey(n.pop()),i="";if(nc.forEach(function(e){var t=n.indexOf(e);t>-1&&(n.splice(t,1),i+=e+".")}),i+=o,0!=n.length||0===o.length)return null;var u={};return u.domEventName=r,u.fullKey=i,u},t.getEventFullKey=function(e){var t="",n=na().getEventKey(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),nc.forEach(function(r){r!=n&&((0,rc[r])(e)&&(t+=r+"."))}),t+=n},t.eventCallback=function(e,n,r){return function(o){t.getEventFullKey(o)===e&&r.runGuarded(function(){return n(o)})}},t._normalizeKey=function(e){switch(e){case"esc":return"escape";default:return e}},t}(Ia),ic=function(){return function(){}}(),uc=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n}return o(t,e),t.prototype.sanitize=function(e,t){if(null==t)return null;switch(e){case xr.NONE:return t;case xr.HTML:return t instanceof ac?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"HTML"),br(this._doc,String(t)));case xr.STYLE:return t instanceof cc?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"Style"),Cr(t));case xr.SCRIPT:if(t instanceof lc)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"Script"),new Error("unsafe value used in a script context");case xr.URL:return t instanceof fc||t instanceof dc?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"URL"),nr(String(t)));case xr.RESOURCE_URL:if(t instanceof fc)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+e+" (see http://g.co/ng/security#xss)")}},t.prototype.checkNotSafeValue=function(e,t){if(e instanceof sc)throw new Error("Required a safe "+t+", got a "+e.getTypeName()+" (see http://g.co/ng/security#xss)")},t.prototype.bypassSecurityTrustHtml=function(e){return new ac(e)},t.prototype.bypassSecurityTrustStyle=function(e){return new cc(e)},t.prototype.bypassSecurityTrustScript=function(e){return new lc(e)},t.prototype.bypassSecurityTrustUrl=function(e){return new dc(e)},t.prototype.bypassSecurityTrustResourceUrl=function(e){return new fc(e)},t}(ic),sc=function(){function e(e){this.changingThisBreaksApplicationSecurity=e}return e.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},e}(),ac=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTypeName=function(){return"HTML"},t}(sc),cc=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTypeName=function(){return"Style"},t}(sc),lc=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTypeName=function(){return"Script"},t}(sc),dc=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTypeName=function(){return"URL"},t}(sc),fc=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTypeName=function(){return"ResourceURL"},t}(sc),pc=un(Wn,"browser",[{provide:_t,useValue:Xs},{provide:bt,useValue:function(){ca.makeCurrent(),ga.init()},multi:!0},{provide:zs,useClass:pa,deps:[da]},{provide:da,useFactory:function(){return document},deps:[]}]);function hc(){return new dt}var vc=function(){function e(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return e.withServerTransition=function(t){return{ngModule:e,providers:[{provide:yt,useValue:t.appId},{provide:va,useExisting:yt},ya]}},e}();
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/"undefined"!=typeof window&&window;var yc=function(e,t,n){return new Mu(e,t,n)}(Hs,[],function(e){return function(e){for(var t={},n=[],r=!1,o=0;o<e.length;o++){var i=e[o];i.token===ft&&(r=!0),1073741824&i.flags&&n.push(i.token),i.index=o,t[Fr(i.token)]=i}return{factory:null,providersByKey:t,providers:e,modules:n,isRoot:r}}([ko(512,Pt,Rt,[[8,[Bs]],[3,Pt],Vt]),ko(5120,Kn,Jn,[[3,Kn]]),ko(4608,Gs,Ys,[Kn,[2,Ks]]),ko(4608,xt,xt,[]),ko(5120,yt,gt,[]),ko(5120,zn,Gn,[]),ko(5120,Un,Yn,[]),ko(4608,ic,uc,[$s]),ko(6144,Tr,null,[ic]),ko(4608,Xa,ec,[]),ko(5120,Ta,function(e,t,n,r,o,i,u){return[new Ja(e,t,n),new oc(r),new tc(o,i,u)]},[$s,Ut,[2,_t],$s,$s,Xa,Et]),ko(4608,ka,ka,[Ta,Ut]),ko(135680,Na,Na,[$s]),ko(4608,Va,Va,[ka,Na]),ko(6144,pn,null,[Va]),ko(6144,Sa,null,[Na]),ko(4608,Yt,Yt,[Ut]),ko(4608,ha,ha,[$s]),ko(4608,ma,ma,[$s]),ko(1073742336,Js,Js,[]),ko(1024,dt,hc,[]),ko(1024,ht,function(e){return[xa(e)]},[[2,on]]),ko(512,vt,vt,[[2,ht]]),ko(131584,ln,ln,[Ut,Et,Ve,dt,Pt,vt]),ko(1073742336,$n,$n,[ln]),ko(1073742336,vc,vc,[[3,vc]]),ko(1073742336,Hs,Hs,[Ve]),ko(256,ft,!0,[])])});
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/(function(){if(tn)throw new Error("Cannot enable prod mode after platform setup.");en=!1})(),pc().bootstrapModuleFactory(yc).catch(function(e){return console.log(e)})},function(e,t,n){e.exports=n(1)}]);
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/40288193/Angualr-elements-demo.git
[email protected]:40288193/Angualr-elements-demo.git
40288193
Angualr-elements-demo
Angualr elements demo
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385