text: (window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(e,t,n){e.exports=n("zUnb")},crnd:function(e,t){function n(e){return Promise.resolve().then(function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t})}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="crnd"},tAZD:function(e,t,n){var r,o,i;!function(a){if("object"==typeof e.exports){var s=a(0,t);void 0!==s&&(e.exports=s)}else o=[n,t],void 0===(i="function"==typeof(r=a)?r.apply(t,o):r)||(e.exports=i)}(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=void 0;t.default=["en",[["a","p"],["AM","PM"],n],[["AM","PM"],n,n],[["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"]],n,[["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"]],n,[["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}",n,"{1} 'at' {0}",n],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",{},function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}]})},zUnb:function(e,t,n){"use strict";n.r(t);var r=n("tAZD"),o=n.n(r),i=function(e,t){return(i=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 a(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var s=function(){return(s=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,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function c(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function l(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 d(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function f(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(d(arguments[t]));return e}var p=Array.isArray||function(e){return e&&"number"==typeof e.length};function h(e){return null!==e&&"object"==typeof e}function v(e){return"function"==typeof e}function y(e){return Error.call(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(e,t){return t+1+") "+e.toString()}).join("\n  "):"",this.name="UnsubscriptionError",this.errors=e,this}y.prototype=Object.create(Error.prototype);var g=y,m=function(){function e(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}var t;return e.prototype.unsubscribe=function(){var t;if(!this.closed){var n=this._parentOrParents,r=this._unsubscribe,o=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(null!==n)for(var i=0;i<n.length;++i)n[i].remove(this);if(v(r))try{r.call(this)}catch(u){t=u instanceof g?b(u.errors):[u]}if(p(o)){i=-1;for(var a=o.length;++i<a;){var s=o[i];if(h(s))try{s.unsubscribe()}catch(u){t=t||[],u instanceof g?t=t.concat(b(u.errors)):t.push(u)}}}if(t)throw new g(t)}},e.prototype.add=function(t){var n=t;if(!t)return e.EMPTY;switch(typeof t){case"function":n=new e(t);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof e)){var r=n;(n=new e)._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}var o=n._parentOrParents;if(null===o)n._parentOrParents=this;else if(o instanceof e){if(o===this)return n;n._parentOrParents=[o,this]}else{if(-1!==o.indexOf(this))return n;o.push(this)}var i=this._subscriptions;return null===i?this._subscriptions=[n]:i.push(n),n},e.prototype.remove=function(e){var t=this._subscriptions;if(t){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}},e.EMPTY=((t=new e).closed=!0,t),e}();function b(e){return e.reduce(function(e,t){return e.concat(t instanceof g?t.errors:t)},[])}var _=!1,w={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){_=e},get useDeprecatedSynchronousErrorHandling(){return _}};function E(e){setTimeout(function(){throw e},0)}var C={closed:!0,next:function(e){},error:function(e){if(w.useDeprecatedSynchronousErrorHandling)throw e;E(e)},complete:function(){}},x="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random(),T=function(e){function t(n,r,o){var i=e.call(this)||this;switch(i.syncErrorValue=null,i.syncErrorThrown=!1,i.syncErrorThrowable=!1,i.isStopped=!1,arguments.length){case 0:i.destination=C;break;case 1:if(!n){i.destination=C;break}if("object"==typeof n){n instanceof t?(i.syncErrorThrowable=n.syncErrorThrowable,i.destination=n,n.add(i)):(i.syncErrorThrowable=!0,i.destination=new k(i,n));break}default:i.syncErrorThrowable=!0,i.destination=new k(i,n,r,o)}return i}return a(t,e),t.prototype[x]=function(){return this},t.create=function(e,n,r){var o=new t(e,n,r);return o.syncErrorThrowable=!1,o},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this))},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){this.destination.error(e),this.unsubscribe()},t.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},t.prototype._unsubscribeAndRecycle=function(){var e=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this},t}(m),k=function(e){function t(t,n,r,o){var i,a=e.call(this)||this;a._parentSubscriber=t;var s=a;return v(n)?i=n:n&&(i=n.next,r=n.error,o=n.complete,n!==C&&(v((s=Object.create(n)).unsubscribe)&&a.add(s.unsubscribe.bind(s)),s.unsubscribe=a.unsubscribe.bind(a))),a._context=s,a._next=i,a._error=r,a._complete=o,a}return a(t,e),t.prototype.next=function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;w.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=w.useDeprecatedSynchronousErrorHandling;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):E(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;E(e)}}},t.prototype.complete=function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var n=function(){return e._complete.call(e._context)};w.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},t.prototype.__tryOrUnsub=function(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),w.useDeprecatedSynchronousErrorHandling)throw n;E(n)}},t.prototype.__tryOrSetError=function(e,t,n){if(!w.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(r){return w.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0,!0):(E(r),!0)}return!1},t.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()},t}(T),S="function"==typeof Symbol&&Symbol.observable||"@@observable";var I=function(){function e(e){this._isScalar=!1,e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var r=this.operator,o=function(e,t,n){if(e){if(e instanceof T)return e;if(e[x])return e[x]()}return e||t||n?new T(e,t,n):new T(C)}(e,t,n);if(o.add(r?r.call(o,this.source):this.source||w.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),w.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){w.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){var t=e.destination;if(e.closed||e.isStopped)return!1;e=t&&t instanceof T?t:null}return!0}(e)?e.error(t):console.warn(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=N(t))(function(t,r){var o;o=n.subscribe(function(t){try{e(t)}catch(n){r(n),o&&o.unsubscribe()}},r,t)})},e.prototype._subscribe=function(e){var t=this.source;return t&&t.subscribe(e)},e.prototype[S]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?this:((n=e)?1===n.length?n[0]:function(e){return n.reduce(function(e,t){return t(e)},e)}:function(){})(this);var n},e.prototype.toPromise=function(e){var t=this;return new(e=N(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 N(e){if(e||(e=w.Promise||Promise),!e)throw new Error("no Promise impl found");return e}function A(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}A.prototype=Object.create(Error.prototype);var O=A,D=function(e){function t(t,n){var r=e.call(this)||this;return r.subject=t,r.subscriber=n,r.closed=!1,r}return a(t,e),t.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var e=this.subject,t=e.observers;if(this.subject=null,t&&0!==t.length&&!e.isStopped&&!e.closed){var n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}},t}(m),P=function(e){function t(t){var n=e.call(this,t)||this;return n.destination=t,n}return a(t,e),t}(T),M=function(e){function t(){var t=e.call(this)||this;return t.observers=[],t.closed=!1,t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return a(t,e),t.prototype[x]=function(){return new P(this)},t.prototype.lift=function(e){var t=new R(this,this);return t.operator=e,t},t.prototype.next=function(e){if(this.closed)throw new O;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 O;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 O;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 O;return e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){if(this.closed)throw new O;return this.hasError?(e.error(this.thrownError),m.EMPTY):this.isStopped?(e.complete(),m.EMPTY):(this.observers.push(e),new D(this,e))},t.prototype.asObservable=function(){var e=new I;return e.source=this,e},t.create=function(e,t){return new R(e,t)},t}(I),R=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return a(t,e),t.prototype.next=function(e){var t=this.destination;t&&t.next&&t.next(e)},t.prototype.error=function(e){var t=this.destination;t&&t.error&&this.destination.error(e)},t.prototype.complete=function(){var e=this.destination;e&&e.complete&&this.destination.complete()},t.prototype._subscribe=function(e){return this.source?this.source.subscribe(e):m.EMPTY},t}(M),j=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 a(t,e),t.prototype._next=function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)},t.prototype._error=function(e){this.parent.notifyError(e,this),this.unsubscribe()},t.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},t}(T),V=function(e){return function(t){for(var n=0,r=e.length;n<r&&!t.closed;n++)t.next(e[n]);t.complete()}};function H(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}var F=H();var L=function(e){if(e&&"function"==typeof e[S])return o=e,function(e){var t=o[S]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if((t=e)&&"number"==typeof t.length&&"function"!=typeof t)return V(e);var t;if(function(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}(e))return r=e,function(e){return r.then(function(t){e.closed||(e.next(t),e.complete())},function(t){return e.error(t)}).then(null,E),e};if(e&&"function"==typeof e[F])return n=e,function(e){for(var t=n[F]();;){var r=t.next();if(r.done){e.complete();break}if(e.next(r.value),e.closed)break}return"function"==typeof t.return&&e.add(function(){t.return&&t.return()}),e};var n,r,o,i=h(e)?"an invalid object":"'"+e+"'";throw new TypeError("You provided "+i+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")},B=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.notifyNext=function(e,t,n,r,o){this.destination.next(t)},t.prototype.notifyError=function(e,t){this.destination.error(e)},t.prototype.notifyComplete=function(e){this.destination.complete()},t}(T),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 a(t,e),t.prototype._next=function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)},t}(T);var Z=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 Q(e,this.project,this.concurrent))},e}(),Q=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 a(t,e),t.prototype._next=function(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)},t.prototype._tryNext=function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(t,e,n)},t.prototype._innerSub=function(e,t,n){var r,o,i=new j(this,void 0,void 0);this.destination.add(i),r=e,void 0===(o=i)&&(o=new j(this,t,n)),o.closed||(r instanceof I?r.subscribe(o):L(r)(o))},t.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()},t.prototype.notifyNext=function(e,t,n,r,o){this.destination.next(t)},t.prototype.notifyComplete=function(e){var t=this.buffer;this.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},t}(B);function q(e){return e}function W(){return function(e){return e.lift(new G(e))}}var G=function(){function e(e){this.connectable=e}return e.prototype.call=function(e,t){var n=this.connectable;n._refCount++;var r=new K(e,n),o=t.subscribe(r);return r.closed||(r.connection=n.connect()),o},e}(),K=function(e){function t(t,n){var r=e.call(this,t)||this;return r.connectable=n,r}return a(t,e),t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var n=this.connection,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},t}(T),J=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 a(t,e),t.prototype._subscribe=function(e){return this.getSubject().subscribe(e)},t.prototype.getSubject=function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject},t.prototype.connect=function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new m).add(this.source.subscribe(new $(this.getSubject(),this))),e.closed&&(this._connection=null,e=m.EMPTY)),e},t.prototype.refCount=function(){return W()(this)},t}(I).prototype,Y={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:J._subscribe},_isComplete:{value:J._isComplete,writable:!0},getSubject:{value:J.getSubject},connect:{value:J.connect},refCount:{value:J.refCount}},$=function(e){function t(t,n){var r=e.call(this,t)||this;return r.connectable=n,r}return a(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}(P);function X(){return new M}var ee="__parameters__";function te(e,t,n){var r=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(e){var r=e.apply(void 0,f(t));for(var o in r)this[o]=r[o]}}}(t);function o(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(this instanceof o)return r.apply(this,t),this;var i=new((e=o).bind.apply(e,f([void 0],t)));return a.annotation=i,a;function a(e,t,n){for(var r=e.hasOwnProperty(ee)?e[ee]:Object.defineProperty(e,ee,{value:[]})[ee];r.length<=n;)r.push(null);return(r[n]=r[n]||[]).push(i),e}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o}var ne=te("Inject",function(e){return{token:e}}),re=te("Optional"),oe=te("Self"),ie=te("SkipSelf"),ae=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}({});function se(e){for(var t in e)if(e[t]===se)return t;throw Error("Could not find renamed property on target object.")}function ue(e){return{providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ce(e){return e&&e.hasOwnProperty(le)?e[le]:null}var le=se({ngInjectableDef:se});function de(e){if("string"==typeof e)return e;if(e instanceof Array)return"["+e.map(de).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;var t=e.toString();if(null==t)return""+t;var n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}var fe=se({__forward_ref__:se});function pe(e){return e.__forward_ref__=pe,e.toString=function(){return de(this())},e}function he(e){var t=e;return"function"==typeof t&&t.hasOwnProperty(fe)&&t.__forward_ref__===pe?t():e}function ve(){var e="undefined"!=typeof globalThis&&globalThis,t="undefined"!=typeof window&&window,n="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,r="undefined"!=typeof global&&global;return e||r||t||n}var ye,ge=ve(),me=void 0;function be(e){var t=me;return me=e,t}var _e=function(){function e(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.ngInjectableDef=ue({providedIn:t.providedIn||"root",factory:t.factory}))}return e.prototype.toString=function(){return"InjectionToken "+this._desc},e}(),we="__source",Ee=new Object,Ce=new _e("INJECTOR",-1),xe=function(){function e(){}return e.prototype.get=function(e,t){if(void 0===t&&(t=Ee),t===Ee){var n=new Error("NullInjectorError: No provider for "+de(e)+"!");throw n.name="NullInjectorError",n}return t},e}(),Te=function(){function e(){}return e.create=function(e,t){return Array.isArray(e)?new Pe(e,t):new Pe(e.providers,e.parent,e.name||null)},e.THROW_IF_NOT_FOUND=Ee,e.NULL=new xe,e.ngInjectableDef=ue({providedIn:"any",factory:function(){return void 0===e&&(e=ae.Default),(ye||function(e,t){if(void 0===t&&(t=ae.Default),void 0===me)throw new Error("inject() must be called from an injection context");return null===me?function(e,t,n){var r=ce(e);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&ae.Optional)return null;throw new Error("Injector: NOT_FOUND ["+de(e)+"]")}(e,0,t):me.get(e,t&ae.Optional?null:void 0,t)})(Ce,e);var e}}),e.__NG_ELEMENT_ID__=-1,e}(),ke=function(e){return e},Se=[],Ie=ke,Ne=function(){return Array.prototype.slice.call(arguments)},Ae=se({provide:String,useValue:se}),Oe=/\n/gm,De="\u0275",Pe=function(){function e(e,t,n){void 0===t&&(t=Te.NULL),void 0===n&&(n=null),this.parent=t,this.source=n;var r=this._records=new Map;r.set(Te,{token:Te,fn:ke,deps:Se,value:this,useNew:!1}),r.set(Ce,{token:Ce,fn:ke,deps:Se,value:this,useNew:!1}),function e(t,n){if(n)if((n=he(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=he(n.provide),i=function(e){var t=function(e){var t=Se,n=e.deps;if(n&&n.length){t=[];for(var r=0;r<n.length;r++){var o=6;if((u=he(n[r]))instanceof Array)for(var i=0,a=u;i<a.length;i++){var s=a[i];s instanceof re||s==re?o|=1:s instanceof ie||s==ie?o&=-3:s instanceof oe||s==oe?o&=-5:u=s instanceof ne?s.token:he(s)}t.push({token:u,options:o})}}else if(e.useExisting){var u;t=[{token:u=he(e.useExisting),options:6}]}else if(!(n||Ae in e))throw je("'deps' required",e);return t}(e),n=ke,r=Se,o=!1,i=he(e.provide);if(Ae in e)r=e.useValue;else if(e.useFactory)n=e.useFactory;else if(e.useExisting);else if(e.useClass)o=!0,n=he(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 a=t.get(o);if(a){if(a.fn!==Ne)throw Me(o)}else t.set(o,a={token:n.provide,deps:[],useNew:!1,fn:Ne,value:Se});a.deps.push({token:o=n,options:6})}var s=t.get(o);if(s&&s.fn==Ne)throw Me(o);t.set(o,i)}}(r,e)}return e.prototype.get=function(e,t,n){void 0===n&&(n=ae.Default);var r=this._records.get(e);try{return function e(t,n,r,o,i,a){try{return function(t,n,r,o,i,a){var s,u;if(!n||a&ae.SkipSelf)a&ae.Self||(u=o.get(t,i,ae.Default));else{if((u=n.value)==Ie)throw Error(De+"Circular dependency");if(u===Se){n.value=Ie;var c=n.useNew,l=n.fn,d=n.deps,p=Se;if(d.length){p=[];for(var h=0;h<d.length;h++){var v=d[h],y=v.options,g=2&y?r.get(v.token):void 0;p.push(e(v.token,g,r,g||4&y?o:Te.NULL,1&y?null:Te.THROW_IF_NOT_FOUND,ae.Default))}}n.value=u=c?new((s=l).bind.apply(s,f([void 0],p))):l.apply(void 0,p)}}return u}(t,n,r,o,i,a)}catch(s){throw s instanceof Error||(s=new Error(s)),(s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(t),n&&n.value==Ie&&(n.value=Se),s}}(e,r,this._records,this.parent,t,n)}catch(o){return function(e,t,n,r){var o=e.ngTempTokenPath;throw t[we]&&o.unshift(t[we]),e.message=Re("\n"+e.message,o,"StaticInjectorError",r),e.ngTokenPath=o,e.ngTempTokenPath=null,e}(o,e,0,this.source)}},e.prototype.toString=function(){var e=[];return this._records.forEach(function(t,n){return e.push(de(n))}),"StaticInjector["+e.join(", ")+"]"},e}();function Me(e){return je("Cannot mix multi providers and regular providers",e)}function Re(e,t,n,r){void 0===r&&(r=null),e=e&&"\n"===e.charAt(0)&&e.charAt(1)==De?e.substr(2):e;var o=de(t);if(t instanceof Array)o=t.map(de).join(" -> ");else if("object"==typeof t){var i=[];for(var a in t)if(t.hasOwnProperty(a)){var s=t[a];i.push(a+":"+("string"==typeof s?JSON.stringify(s):de(s)))}o="{"+i.join(", ")+"}"}return n+(r?"("+r+")":"")+"["+o+"]: "+e.replace(Oe,"\n  ")}function je(e,t){return new Error(Re(e,t,"StaticInjectorError"))}var Ve="ngDebugContext",He="ngOriginalError",Fe="ngErrorLogger",Le=function(e){return e[e.Emulated=0]="Emulated",e[e.Native=1]="Native",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}({}),Be=function(){return("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(ge)}();function ze(e){return e[Ve]}function Ue(e){return e[He]}function Ze(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e.error.apply(e,f(t))}var Qe=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[Fe]||Ze}(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?ze(e)?ze(e):this._findContext(Ue(e)):null},e.prototype._findOriginalError=function(e){for(var t=Ue(e);t&&Ue(t);)t=Ue(t);return t},e}(),qe=!0,We=!1;function Ge(){return We=!0,qe}var Ke=function(){function e(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertBodyElement=this.inertDocument.body,null==this.inertBodyElement){var t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t),this.inertBodyElement=this.inertDocument.createElement("body"),t.appendChild(this.inertBodyElement)}this.inertBodyElement.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return e.prototype.getInertBodyElement_XHR=function(e){e="<body><remove></remove>"+e+"</body>";try{e=encodeURI(e)}catch(r){return null}var t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(void 0);var n=t.response.body;return n.removeChild(n.firstChild),n},e.prototype.getInertBodyElement_DOMParser=function(e){e="<body><remove></remove>"+e+"</body>";try{var t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(n){return null}},e.prototype.getInertBodyElement_InertDocument=function(e){var t=this.inertDocument.createElement("template");return"content"in t?(t.innerHTML=e,t):(this.inertBodyElement.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},e.prototype.stripCustomNsAttrs=function(e){for(var t=e.attributes,n=t.length-1;0<n;n--){var r=t.item(n).name;"xmlns:ns1"!==r&&0!==r.indexOf("ns1:")||e.removeAttribute(r)}for(var o=e.firstChild;o;)o.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(o),o=o.nextSibling},e}(),Je=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,Ye=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function $e(e){return(e=String(e)).match(Je)||e.match(Ye)?e:(Ge()&&console.warn("WARNING: sanitizing unsafe URL value "+e+" (see http://g.co/ng/security#xss)"),"unsafe:"+e)}function Xe(e){var t,n,r={};try{for(var o=l(e.split(",")),i=o.next();!i.done;i=o.next())r[i.value]=!0}catch(a){t={error:a}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return r}function et(){for(var e,t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o={};try{for(var i=l(n),a=i.next();!a.done;a=i.next()){var s=a.value;for(var u in s)s.hasOwnProperty(u)&&(o[u]=!0)}}catch(c){e={error:c}}finally{try{a&&!a.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return o}var tt,nt=Xe("area,br,col,hr,img,wbr"),rt=Xe("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ot=Xe("rp,rt"),it=et(ot,rt),at=et(nt,et(rt,Xe("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),et(ot,Xe("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),it),st=Xe("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ut=Xe("srcset"),ct=et(st,ut,Xe("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Xe("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),lt=Xe("script,style,template"),dt=function(){function e(){this.sanitizedSomething=!1,this.buf=[]}return e.prototype.sanitizeChildren=function(e){for(var t=e.firstChild,n=!0;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);var r=this.checkClobberedElement(t,t.nextSibling);if(r){t=r;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")},e.prototype.startElement=function(e){var t,n=e.nodeName.toLowerCase();if(!at.hasOwnProperty(n))return this.sanitizedSomething=!0,!lt.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);for(var r=e.attributes,o=0;o<r.length;o++){var i=r.item(o),a=i.name,s=a.toLowerCase();if(ct.hasOwnProperty(s)){var u=i.value;st[s]&&(u=$e(u)),ut[s]&&(t=u,u=(t=String(t)).split(",").map(function(e){return $e(e.trim())}).join(", ")),this.buf.push(" ",a,'="',ht(u),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0},e.prototype.endElement=function(e){var t=e.nodeName.toLowerCase();at.hasOwnProperty(t)&&!nt.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))},e.prototype.chars=function(e){this.buf.push(ht(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}(),ft=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,pt=/([^\#-~ |!])/g;function ht(e){return e.replace(/&/g,"&amp;").replace(ft,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(pt,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function vt(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var yt=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}({}),gt=function(){return function(){}}(),mt=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"),bt=/^url\(([^)]+)\)$/,_t=/([A-Z])/g;function wt(e){try{return null!=e?e.toString().slice(0,30):e}catch(t){return"[ERROR] Exception while trying to serialize the value"}}function Et(e){return!!e&&"function"==typeof e.then}var Ct=null;function xt(){if(!Ct){var e=ge.Symbol;if(e&&e.iterator)Ct=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&&(Ct=r)}}return Ct}function Tt(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}function kt(e,t){var n=It(e),r=It(t);return n&&r?function(e,t,n){for(var r=e[xt()](),o=t[xt()]();;){var i=r.next(),a=o.next();if(i.done&&a.done)return!0;if(i.done||a.done)return!1;if(!n(i.value,a.value))return!1}}(e,t,kt):!(n||!e||"object"!=typeof e&&"function"!=typeof e||r||!t||"object"!=typeof t&&"function"!=typeof t)||Tt(e,t)}var St=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}();function It(e){return!!Nt(e)&&(Array.isArray(e)||!(e instanceof Map)&&xt()in e)}function Nt(e){return null!==e&&("function"==typeof e||"object"==typeof e)}var At=function(){function e(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}return e.prototype.isFirstChange=function(){return this.firstChange},e}(),Ot=new _e("The presence of this token marks an injector as being the root injector."),Dt=function(){return function(){}}(),Pt=function(){return function(){}}();function Mt(e){var t=Error("No component factory found for "+de(e)+". Did you add it to @NgModule.entryComponents?");return t[Rt]=e,t}var Rt="ngComponent",jt=function(){function e(){}return e.prototype.resolveComponentFactory=function(e){throw Mt(e)},e}(),Vt=function(){function e(){}return e.NULL=new jt,e}(),Ht=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 Mt(e);return new Ft(t,this._ngModule)},e}(),Ft=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 a(t,e),t.prototype.create=function(e,t,n,r){return this.factory.create(e,t,n,r||this.ngModule)},t}(Pt),Lt=function(){return function(){}}(),Bt=function(){return function(){}}();function zt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]}var Ut=function(){function e(e){this.nativeElement=e}return e.__NG_ELEMENT_ID__=function(){return Zt(e)},e}(),Zt=zt,Qt=function(){return function(){}}(),qt=function(){return function(){}}(),Wt=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({}),Gt=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return Kt()},e}(),Kt=zt,Jt=new(function(){return function(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}())("8.0.0"),Yt=function(){function e(){}return e.prototype.supports=function(e){return It(e)},e.prototype.create=function(e){return new Xt(e)},e}(),$t=function(e,t){return t},Xt=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||$t}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<rn(n,r,o)?t:n,a=rn(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 u=a-r,c=s-r;if(u!=c){for(var l=0;l<u;l++){var d=l<o.length?o[l]:o[l]=0,f=d+l;c<=f&&f<u&&(o[l]=d+1)}o[i.previousIndex]=c-u}}a!==s&&e(i,a,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=[]),!It(e))throw new Error("Error trying to diff '"+de(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,a=!1;if(Array.isArray(e)){this.length=e.length;for(var s=0;s<this.length;s++)o=this._trackByFn(s,r=e[s]),null!==i&&Tt(i.trackById,o)?(a&&(i=this._verifyReinsertion(i,r,o,s)),Tt(i.item,r)||this._addIdentityChange(i,r)):(i=this._mismatch(i,r,o,s),a=!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[xt()](),o=void 0;!(o=r.next()).done;)t(o.value)}(e,function(e){o=t._trackByFn(n,e),null!==i&&Tt(i.trackById,o)?(a&&(i=t._verifyReinsertion(i,e,o,n)),Tt(i.item,e)||t._addIdentityChange(i,e)):(i=t._mismatch(i,e,o,n),a=!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))?(Tt(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,o,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Tt(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,o,r)):e=this._addAfter(new en(t,n),o,r),e},e.prototype._verifyReinsertion=function(e,t,n,r){var o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==o?e=this._reinsertAfter(o,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e},e.prototype._truncate=function(e){for(;null!==e;){var t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)},e.prototype._reinsertAfter=function(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);var r=e._prevRemoved,o=e._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e},e.prototype._moveAfter=function(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e},e.prototype._addAfter=function(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e},e.prototype._insertAfter=function(e,t,n){var r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new nn),this._linkedRecords.put(e),e.currentIndex=n,e},e.prototype._remove=function(e){return this._addToRemovals(this._unlink(e))},e.prototype._unlink=function(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);var t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e},e.prototype._addToMoves=function(e,t){return e.previousIndex===t?e:(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e,e)},e.prototype._addToRemovals=function(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new nn),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e},e.prototype._addIdentityChange=function(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e},e}(),en=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}}(),tn=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)&&Tt(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}(),nn=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 tn,this.map.set(t,n)),n.add(e)},e.prototype.get=function(e,t){var n=this.map.get(e);return n?n.get(e,t):null},e.prototype.remove=function(e){var t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e},Object.defineProperty(e.prototype,"isEmpty",{get:function(){return 0===this.map.size},enumerable:!0,configurable:!0}),e.prototype.clear=function(){this.map.clear()},e}();function rn(e,t,n){var r=e.previousIndex;if(null===r)return r;var o=0;return n&&r<n.length&&(o=n[r]),r+t+o}var on=function(){function e(){}return e.prototype.supports=function(e){return e instanceof Map||Nt(e)},e.prototype.create=function(){return new an},e}(),an=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||Nt(e)))throw new Error("Error trying to diff '"+de(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 sn(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){Tt(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}(),sn=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}}(),un=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 ie,new re]]}},e.prototype.find=function(e){var t,n=this.factories.find(function(t){return t.supports(e)});if(null!=n)return n;throw new Error("Cannot find a differ supporting object '"+e+"' of type '"+((t=e).name||typeof t)+"'")},e.ngInjectableDef=ue({providedIn:"root",factory:function(){return new e([new Yt])}}),e}(),cn=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 ie,new re]]}},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.ngInjectableDef=ue({providedIn:"root",factory:function(){return new e([new on])}}),e}(),ln=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return dn()},e}(),dn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]},fn=[new on],pn=new un([new Yt]),hn=new cn(fn),vn=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return yn(e,Ut)},e}(),yn=zt,gn=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return mn(e,Ut)},e}(),mn=zt;function bn(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 _n(n,t),n}(o,e)}function _n(e,t){e[Ve]=t,e[Fe]=t.logError.bind(t)}function wn(e){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+e)}function En(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 Cn(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}function xn(e,t){return e.nodes[t]}function Tn(e,t){return e.nodes[t]}function kn(e,t){return e.nodes[t]}function Sn(e,t){return e.nodes[t]}function In(e,t){return e.nodes[t]}var Nn={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},An=function(){},On=new Map;function Dn(e){var t=On.get(e);return t||(t=de(e)+"_"+On.size,On.set(e,t)),t}var Pn="$$undefined",Mn="$$empty";function Rn(e){return{id:Pn,styles:e.styles,encapsulation:e.encapsulation,data:e.data}}var jn=0;function Vn(e,t,n,r){return!(!(2&e.state)&&Tt(e.oldValues[t.bindingIndex+n],r))}function Hn(e,t,n,r){return!!Vn(e,t,n,r)&&(e.oldValues[t.bindingIndex+n]=r,!0)}function Fn(e,t,n,r){var o=e.oldValues[t.bindingIndex+n];if(1&e.state||!kt(o,r)){var i=t.bindings[n].name;throw bn(Nn.createDebugContext(e,t.nodeIndex),i+": "+o,i+": "+r,0!=(1&e.state))}}function Ln(e){for(var t=e;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function Bn(e,t){for(var n=e;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function zn(e,t,n,r){try{return Ln(33554432&e.def.nodes[t].flags?Tn(e,t).componentView:e),Nn.handleEvent(e,t,n,r)}catch(o){e.root.errorHandler.handleError(o)}}function Un(e){return e.parent?Tn(e.parent,e.parentNodeDef.nodeIndex):null}function Zn(e){return e.parent?e.parentNodeDef.parent:null}function Qn(e,t){switch(201347067&t.flags){case 1:return Tn(e,t.nodeIndex).renderElement;case 2:return xn(e,t.nodeIndex).renderText}}function qn(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function Wn(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function Gn(e){var t={},n=0,r={};return e&&e.forEach(function(e){var o=d(e,2),i=o[0],a=o[1];"number"==typeof i?(t[i]=a,n|=function(e){return 1<<e%32}(i)):r[i]=a}),{matchedQueries:t,references:r,matchedQueryIds:n}}function Kn(e,t){return e.map(function(e){var n,r,o;return Array.isArray(e)?(o=(n=d(e,2))[0],r=n[1]):(o=0,r=e),r&&("function"==typeof r||"object"==typeof r)&&t&&Object.defineProperty(r,we,{value:t,configurable:!0}),{flags:o,token:r,tokenKey:Dn(r)}})}function Jn(e,t,n){var r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&r.element.componentRendererType.encapsulation===Le.Native?Tn(e,n.renderParent.nodeIndex).renderElement:void 0:t}var Yn=new WeakMap;function $n(e){var t=Yn.get(e);return t||((t=e(function(){return An})).factory=e,Yn.set(e,t)),t}function Xn(e,t,n,r,o){3===t&&(n=e.renderer.parentNode(Qn(e,e.def.lastRenderRootNode))),er(e,t,0,e.def.nodes.length-1,n,r,o)}function er(e,t,n,r,o,i,a){for(var s=n;s<=r;s++){var u=e.def.nodes[s];11&u.flags&&nr(e,u,t,o,i,a),s+=u.childCount}}function tr(e,t,n,r,o,i){for(var a=e;a&&!qn(a);)a=a.parent;for(var s=a.parent,u=Zn(a),c=u.nodeIndex+u.childCount,l=u.nodeIndex+1;l<=c;l++){var d=s.def.nodes[l];d.ngContentIndex===t&&nr(s,d,n,r,o,i),l+=d.childCount}if(!s.parent){var f=e.root.projectableNodes[t];if(f)for(l=0;l<f.length;l++)rr(e,f[l],n,r,o,i)}}function nr(e,t,n,r,o,i){if(8&t.flags)tr(e,t.ngContent.index,n,r,o,i);else{var a=Qn(e,t);if(3===n&&33554432&t.flags&&48&t.bindingFlags?(16&t.bindingFlags&&rr(e,a,n,r,o,i),32&t.bindingFlags&&rr(Tn(e,t.nodeIndex).componentView,a,n,r,o,i)):rr(e,a,n,r,o,i),16777216&t.flags)for(var s=Tn(e,t.nodeIndex).viewContainer._embeddedViews,u=0;u<s.length;u++)Xn(s[u],n,r,o,i);1&t.flags&&!t.element.name&&er(e,n,t.nodeIndex+1,t.nodeIndex+t.childCount,r,o,i)}}function rr(e,t,n,r,o,i){var a=e.renderer;switch(n){case 1:a.appendChild(r,t);break;case 2:a.insertBefore(r,t,o);break;case 3:a.removeChild(r,t);break;case 0:i.push(t)}}var or=/^:([^:]+):(.+)$/;function ir(e){if(":"===e[0]){var t=e.match(or);return[t[1],t[2]]}return["",e]}function ar(e){for(var t=0,n=0;n<e.length;n++)t|=e[n].flags;return t}var sr=new Object,ur=Dn(Te),cr=Dn(Ce),lr=Dn(Lt);function dr(e,t,n,r){return n=he(n),{index:-1,deps:Kn(r,de(t)),flags:e,token:t,value:n}}function fr(e,t,n){void 0===n&&(n=Te.THROW_IF_NOT_FOUND);var r,o,i=be(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 a=t.tokenKey;switch(a){case ur:case cr:case lr:return e}var s,u=e._def.providersByKey[a];if(u){var c=e._providers[u.index];return void 0===c&&(c=e._providers[u.index]=pr(e,u)),c===sr?void 0:c}if((s=ce(t.token))&&(r=e,null!=(o=s).providedIn&&(function(e,t){return e._def.modules.indexOf(o.providedIn)>-1}(r)||"root"===o.providedIn&&r._def.isRoot))){var l=e._providers.length;return e._def.providers[l]=e._def.providersByKey[t.tokenKey]={flags:5120,value:s.factory,deps:[],index:l,token:t.token},e._providers[l]=sr,e._providers[l]=pr(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{be(i)}}function pr(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(fr(e,n[0]));case 2:return new t(fr(e,n[0]),fr(e,n[1]));case 3:return new t(fr(e,n[0]),fr(e,n[1]),fr(e,n[2]));default:for(var o=new Array(r),i=0;i<r;i++)o[i]=fr(e,n[i]);return new(t.bind.apply(t,f([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(fr(e,n[0]));case 2:return t(fr(e,n[0]),fr(e,n[1]));case 3:return t(fr(e,n[0]),fr(e,n[1]),fr(e,n[2]));default:for(var o=Array(r),i=0;i<r;i++)o[i]=fr(e,n[i]);return t.apply(void 0,f(o))}}(e,t.value,t.deps);break;case 2048:n=fr(e,t.deps[0]);break;case 256:n=t.value}return n===sr||null===n||"object"!=typeof n||131072&t.flags||"function"!=typeof n.ngOnDestroy||(t.flags|=131072),void 0===n?sr:n}function hr(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,mr(n,t),Nn.dirtyParentQueries(r),yr(r),r}function vr(e,t,n){var r=t?Qn(t,t.def.lastRenderRootNode):e.renderElement,o=n.renderer.parentNode(r),i=n.renderer.nextSibling(r);Xn(n,2,o,i,void 0)}function yr(e){Xn(e,3,null,null,void 0)}function gr(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function mr(e,t){t>=e.length-1?e.pop():e.splice(t,1)}var br=new Object;function _r(e,t,n,r,o,i){return new wr(e,t,n,r,o,i)}var wr=function(e){function t(t,n,r,o,i,a){var s=e.call(this)||this;return s.selector=t,s.componentType=n,s._inputs=o,s._outputs=i,s.ngContentSelectors=a,s.viewDefFactory=r,s}return a(t,e),Object.defineProperty(t.prototype,"inputs",{get:function(){var e=[],t=this._inputs;for(var n in t)e.push({propName:n,templateName:t[n]});return e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outputs",{get:function(){var e=[];for(var t in this._outputs)e.push({propName:t,templateName:this._outputs[t]});return e},enumerable:!0,configurable:!0}),t.prototype.create=function(e,t,n,r){if(!r)throw new Error("ngModule should be provided");var o=$n(this.viewDefFactory),i=o.nodes[0].element.componentProvider.nodeIndex,a=Nn.createRootView(e,t||[],n,o,r,br),s=kn(a,i).instance;return n&&a.renderer.setAttribute(Tn(a,0).renderElement,"ng-version",Jt.full),new Er(a,new kr(a),s)},t}(Pt),Er=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 a(t,e),Object.defineProperty(t.prototype,"location",{get:function(){return new Ut(Tn(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new Ar(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}(Dt);function Cr(e,t,n){return new xr(e,t,n)}var xr=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 Ut(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new Ar(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=Zn(e),e=e.parent;return e?new Ar(e,t):new Ar(this._view,null)},enumerable:!0,configurable:!0}),e.prototype.clear=function(){for(var e=this._embeddedViews.length-1;e>=0;e--){var t=hr(this._data,e);Nn.destroyView(t)}},e.prototype.get=function(e){var t=this._embeddedViews[e];if(t){var n=new kr(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 Ft||(o=i.get(Lt));var a=e.create(i,r,void 0,o);return this.insert(a.hostView,t),a},e.prototype.insert=function(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n,r,o,i,a=e;return i=(n=this._data).viewContainer._embeddedViews,null==(r=t)&&(r=i.length),(o=a._view).viewContainerParent=this._view,gr(i,r,o),function(e,t){var n=Un(t);if(n&&n!==e&&!(16&t.state)){t.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(t),function(e,n){if(!(4&n.flags)){t.parent.def.nodeFlags|=4,n.flags|=4;for(var r=n.parent;r;)r.childFlags|=4,r=r.parent}}(0,t.parentNodeDef)}}(n,o),Nn.dirtyParentQueries(o),vr(n,r>0?i[r-1]:null,o),a.attachToViewContainerRef(this),e},e.prototype.move=function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n,r,o,i,a,s=this._embeddedViews.indexOf(e._view);return o=t,a=(i=(n=this._data).viewContainer._embeddedViews)[r=s],mr(i,r),null==o&&(o=i.length),gr(i,o,a),Nn.dirtyParentQueries(a),yr(a),vr(n,o>0?i[o-1]:null,a),e},e.prototype.indexOf=function(e){return this._embeddedViews.indexOf(e._view)},e.prototype.remove=function(e){var t=hr(this._data,e);t&&Nn.destroyView(t)},e.prototype.detach=function(e){var t=hr(this._data,e);return t?new kr(t):null},e}();function Tr(e){return new kr(e)}var kr=function(){function e(e){this._view=e,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(e.prototype,"rootNodes",{get:function(){return Xn(this._view,0,void 0,void 0,e=[]),e;var e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),e.prototype.markForCheck=function(){Ln(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{Nn.checkAndUpdateView(this._view)}finally{e.end&&e.end()}},e.prototype.checkNoChanges=function(){Nn.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)),Nn.destroyView(this._view)},e.prototype.detachFromAppRef=function(){this._appRef=null,yr(this._view),Nn.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 Sr(e,t){return new Ir(e,t)}var Ir=function(e){function t(t,n){var r=e.call(this)||this;return r._parentView=t,r._def=n,r}return a(t,e),t.prototype.createEmbeddedView=function(e){return new kr(Nn.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))},Object.defineProperty(t.prototype,"elementRef",{get:function(){return new Ut(Tn(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),t}(vn);function Nr(e,t){return new Ar(e,t)}var Ar=function(){function e(e,t){this.view=e,this.elDef=t}return e.prototype.get=function(e,t){return void 0===t&&(t=Te.THROW_IF_NOT_FOUND),Nn.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:Dn(e)},t)},e}();function Or(e){return new Dr(e.renderer)}var Dr=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=d(ir(t),2),r=this.delegate.createElement(n[1],n[0]);return e&&this.delegate.appendChild(e,r),r},e.prototype.createViewRoot=function(e){return e},e.prototype.createTemplateAnchor=function(e){var t=this.delegate.createComment("");return e&&this.delegate.appendChild(e,t),t},e.prototype.createText=function(e,t){var n=this.delegate.createText(t);return e&&this.delegate.appendChild(e,n),n},e.prototype.projectNodes=function(e,t){for(var n=0;n<t.length;n++)this.delegate.appendChild(e,t[n])},e.prototype.attachViewAfter=function(e,t){for(var n=this.delegate.parentNode(e),r=this.delegate.nextSibling(e),o=0;o<t.length;o++)this.delegate.insertBefore(n,t[o],r)},e.prototype.detachView=function(e){for(var t=0;t<e.length;t++){var n=e[t],r=this.delegate.parentNode(n);this.delegate.removeChild(r,n)}},e.prototype.destroyView=function(e,t){for(var n=0;n<t.length;n++)this.delegate.destroyNode(t[n])},e.prototype.listen=function(e,t,n){return this.delegate.listen(e,t,n)},e.prototype.listenGlobal=function(e,t,n){return this.delegate.listen(e,t,n)},e.prototype.setElementProperty=function(e,t,n){this.delegate.setProperty(e,t,n)},e.prototype.setElementAttribute=function(e,t,n){var r=d(ir(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 Pr(e,t,n,r){return new Mr(e,t,n,r)}var Mr=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]=pr(e,o))}}(this)}return e.prototype.get=function(e,t,n){void 0===t&&(t=Te.THROW_IF_NOT_FOUND),void 0===n&&(n=ae.Default);var r=0;return n&ae.SkipSelf?r|=1:n&ae.Self&&(r|=4),fr(this,{token:e,tokenKey:Dn(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(Vt)},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The ng module "+de(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!==sr){var a=i.ngOnDestroy;"function"!=typeof a||r.has(i)||(a.apply(i),r.add(i))}}}(this),this._destroyListeners.forEach(function(e){return e()})},e.prototype.onDestroy=function(e){this._destroyListeners.push(e)},e}(),Rr=Dn(Qt),jr=Dn(Gt),Vr=Dn(Ut),Hr=Dn(gn),Fr=Dn(vn),Lr=Dn(ln),Br=Dn(Te),zr=Dn(Ce);function Ur(e,t,n,r,o,i,a,s){var u=[];if(a)for(var c in a){var l=d(a[c],2);u[l[0]]={flags:8,name:c,nonMinifiedName:l[1],ns:null,securityContext:null,suffix:null}}var f=[];if(s)for(var p in s)f.push({type:1,propName:p,target:null,eventName:s[p]});return function(e,t,n,r,o,i,a,s,u){var c=Gn(n),l=c.matchedQueries,d=c.references,f=c.matchedQueryIds;u||(u=[]),s||(s=[]),i=he(i);var p=Kn(a,de(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:ar(s),outputs:u,element:null,provider:{token:o,value:i,deps:p},text:null,query:null,ngContent:null}}(e,t|=16384,n,r,o,o,i,u,f)}function Zr(e,t){return Gr(e,t)}function Qr(e,t){for(var n=e;n.parent&&!qn(n);)n=n.parent;return Kr(n.parent,Zn(n),!0,t.provider.value,t.provider.deps)}function qr(e,t){var n,r=Kr(e,t.parent,(32768&t.flags)>0,t.provider.value,t.provider.deps);if(t.outputs.length)for(var o=0;o<t.outputs.length;o++){var i=t.outputs[o],a=r[i.propName];if(!(n=a)||"function"!=typeof n.subscribe)throw new Error("@Output "+i.propName+" not initialized in '"+r.constructor.name+"'.");var s=a.subscribe(Wr(e,t.parent.nodeIndex,i.eventName));e.disposables[t.outputIndex+o]=s.unsubscribe.bind(s)}return r}function Wr(e,t,n){return function(r){return zn(e,t,n,r)}}function Gr(e,t){var n=(8192&t.flags)>0,r=t.provider;switch(201347067&t.flags){case 512:return Kr(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(Yr(e,t,n,o[0]));case 2:return r(Yr(e,t,n,o[0]),Yr(e,t,n,o[1]));case 3:return r(Yr(e,t,n,o[0]),Yr(e,t,n,o[1]),Yr(e,t,n,o[2]));default:for(var a=Array(i),s=0;s<i;s++)a[s]=Yr(e,t,n,o[s]);return r.apply(void 0,f(a))}}(e,t.parent,n,r.value,r.deps);case 2048:return Yr(e,t.parent,n,r.deps[0]);case 256:return r.value}}function Kr(e,t,n,r,o){var i=o.length;switch(i){case 0:return new r;case 1:return new r(Yr(e,t,n,o[0]));case 2:return new r(Yr(e,t,n,o[0]),Yr(e,t,n,o[1]));case 3:return new r(Yr(e,t,n,o[0]),Yr(e,t,n,o[1]),Yr(e,t,n,o[2]));default:for(var a=new Array(i),s=0;s<i;s++)a[s]=Yr(e,t,n,o[s]);return new(r.bind.apply(r,f([void 0],a)))}}var Jr={};function Yr(e,t,n,r,o){if(void 0===o&&(o=Te.THROW_IF_NOT_FOUND),8&r.flags)return r.token;var i=e;2&r.flags&&(o=null);var a=r.tokenKey;a===Lr&&(n=!(!t||!t.element.componentView)),t&&1&r.flags&&(n=!1,t=t.parent);for(var s=e;s;){if(t)switch(a){case Rr:return Or($r(s,t,n));case jr:return $r(s,t,n).renderer;case Vr:return new Ut(Tn(s,t.nodeIndex).renderElement);case Hr:return Tn(s,t.nodeIndex).viewContainer;case Fr:if(t.element.template)return Tn(s,t.nodeIndex).template;break;case Lr:return Tr($r(s,t,n));case Br:case zr:return Nr(s,t);default:var u=(n?t.element.allProviders:t.element.publicProviders)[a];if(u){var c=kn(s,u.nodeIndex);return c||(c={instance:Gr(s,u)},s.nodes[u.nodeIndex]=c),c.instance}}n=qn(s),t=Zn(s),s=s.parent,4&r.flags&&(s=null)}var l=i.root.injector.get(r.token,Jr);return l!==Jr||o===Jr?l:i.root.ngModule.injector.get(r.token,o)}function $r(e,t,n){var r;if(n)r=Tn(e,t.nodeIndex).componentView;else for(r=e;r.parent&&!qn(r);)r=r.parent;return r}function Xr(e,t,n,r,o,i){if(32768&n.flags){var a=Tn(e,n.parent.nodeIndex).componentView;2&a.def.flags&&(a.state|=8)}if(t.instance[n.bindings[r].name]=o,524288&n.flags){i=i||{};var s=St.unwrap(e.oldValues[n.bindingIndex+r]);i[n.bindings[r].nonMinifiedName]=new At(s,o,0!=(2&e.state))}return e.oldValues[n.bindingIndex+r]=o,i}function eo(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],a=i.parent;for(!a&&i.flags&t&&no(e,o,i.flags&t,r++),0==(i.childFlags&t)&&(o+=i.childCount);a&&1&a.flags&&o===a.nodeIndex+a.childCount;)a.directChildFlags&t&&(r=to(e,a,t,r)),a=a.parent}}function to(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&&no(e,o,i.flags&n,r++),o+=i.childCount}return r}function no(e,t,n,r){var o=kn(e,t);if(o){var i=o.instance;i&&(Nn.setCurrentNode(e,t),1048576&n&&Cn(e,512,r)&&i.ngAfterContentInit(),2097152&n&&i.ngAfterContentChecked(),4194304&n&&Cn(e,768,r)&&i.ngAfterViewInit(),8388608&n&&i.ngAfterViewChecked(),131072&n&&i.ngOnDestroy())}}var ro=new _e("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return Be}}),oo=function(e){function t(t){void 0===t&&(t=!1);var n=e.call(this)||this;return n.__isAsync=t,n}return a(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},a=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&&(a=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&&(a=this.__isAsync?function(){setTimeout(function(){return r()})}:function(){r()}));var s=e.prototype.subscribe.call(this,o,i,a);return t instanceof m&&t.add(s),s},t}(M),io=function(){function e(){this.dirty=!0,this._results=[],this.changes=new oo,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[xt()]=function(){return this._results[xt()]()},e.prototype.toString=function(){return this._results.toString()},e.prototype.reset=function(e){this._results=function e(t,n){void 0===n&&(n=t);for(var r=0;r<t.length;r++){var o=t[r];Array.isArray(o)?(n===t&&(n=t.slice(0,r)),e(o,n)):n!==t&&n.push(o)}return n}(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}(),ao=new _e("Application Initializer"),so=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]();Et(o)&&t.push(o)}Promise.all(t).then(function(){n()}).catch(function(t){e.reject(t)}),0===t.length&&n(),this.initialized=!0}},e}(),uo=new _e("AppId");function co(){return""+lo()+lo()+lo()}function lo(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var fo=new _e("Platform Initializer"),po=new _e("Platform ID"),ho=new _e("appBootstrapListener"),vo=function(){function e(){}return e.prototype.log=function(e){console.log(e)},e.prototype.warn=function(e){console.warn(e)},e}();function yo(){throw new Error("Runtime compiler is not loaded")}var go,mo,bo=yo,_o=yo,wo=yo,Eo=yo,Co=function(){function e(){this.compileModuleSync=bo,this.compileModuleAsync=_o,this.compileModuleAndAllComponentsSync=wo,this.compileModuleAndAllComponentsAsync=Eo}return e.prototype.clearCache=function(){},e.prototype.clearCacheFor=function(e){},e.prototype.getModuleId=function(e){},e}(),xo=function(){return function(){}}();function To(){var e=ge.wtf;return!(!e||!(go=e.trace)||(mo=go.events,0))}var ko=To();function So(e,t){return null}var Io=ko?function(e,t){return void 0===t&&(t=null),mo.createScope(e,t)}:function(e,t){return So},No=ko?function(e,t){return go.leaveScope(e,t),t}:function(e,t){return t},Ao=function(){return Promise.resolve(0)}();function Oo(e){"undefined"==typeof Zone?Ao.then(function(){e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}var Do=function(){function e(e){var t,n=e.enableLongStackTrace,r=void 0!==n&&n;if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new oo(!1),this.onMicrotaskEmpty=new oo(!1),this.onStable=new oo(!1),this.onError=new oo(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),(t=this)._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(e,n,r,o,i,a){try{return jo(t),e.invokeTask(r,o,i,a)}finally{Vo(t)}},onInvoke:function(e,n,r,o,i,a,s){try{return jo(t),e.invoke(r,o,i,a,s)}finally{Vo(t)}},onHasTask:function(e,n,r,o){e.hasTask(r,o),n===r&&("microTask"==o.change?(t.hasPendingMicrotasks=o.microTask,Ro(t)):"macroTask"==o.change&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:function(e,n,r,o){return e.handleError(r,o),t.runOutsideAngular(function(){return t.onError.emit(o)}),!1}})}return e.isInAngularZone=function(){return!0===Zone.current.get("isAngularZone")},e.assertInAngularZone=function(){if(!e.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")},e.assertNotInAngularZone=function(){if(e.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")},e.prototype.run=function(e,t,n){return this._inner.run(e,t,n)},e.prototype.runTask=function(e,t,n,r){var o=this._inner,i=o.scheduleEventTask("NgZoneEvent: "+r,e,Mo,Po,Po);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 Po(){}var Mo={};function Ro(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 jo(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Vo(e){e._nesting--,Ro(e)}var Ho,Fo=function(){function e(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new oo,this.onMicrotaskEmpty=new oo,this.onStable=new oo,this.onError=new oo}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}(),Lo=function(){function e(e){var t=this;this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(function(){t.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}return e.prototype._watchAngularEvents=function(){var e=this;this._ngZone.onUnstable.subscribe({next:function(){e._didWork=!0,e._isZoneStable=!1}}),this._ngZone.runOutsideAngular(function(){e._ngZone.onStable.subscribe({next:function(){Do.assertNotInAngularZone(),Oo(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())Oo(function(){for(;0!==e._callbacks.length;){var t=e._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(e._didWork)}e._didWork=!1});else{var t=this.getPendingTasks();this._callbacks=this._callbacks.filter(function(e){return!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)}),this._didWork=!0}},e.prototype.getPendingTasks=function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(function(e){return{source:e.source,creationLocation:e.creationLocation,data:e.data}}):[]},e.prototype.addCallback=function(e,t,n){var r=this,o=-1;t&&t>0&&(o=setTimeout(function(){r._callbacks=r._callbacks.filter(function(e){return e.timeoutId!==o}),e(r._didWork,r.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:o,updateCb:n})},e.prototype.whenStable=function(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()},e.prototype.getPendingRequestCount=function(){return this._pendingCount},e.prototype.findProviders=function(e,t,n){return[]},e}(),Bo=function(){function e(){this._applications=new Map,zo.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),zo.findTestabilityInTree(this,e,t)},u([c("design:paramtypes",[])],e)}(),zo=new(function(){function e(){}return e.prototype.addToWindow=function(e){},e.prototype.findTestabilityInTree=function(e,t,n){return null},e}()),Uo=new _e("AllowMultipleToken"),Zo=function(){return function(e,t){this.name=e,this.token=t}}();function Qo(e,t,n){void 0===n&&(n=[]);var r="Platform: "+t,o=new _e(r);return function(t){void 0===t&&(t=[]);var i=qo();if(!i||i.injector.get(Uo,!1))if(e)e(n.concat(t).concat({provide:o,useValue:!0}));else{var a=n.concat(t).concat({provide:o,useValue:!0});!function(e){if(Ho&&!Ho.destroyed&&!Ho.injector.get(Uo,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Ho=e.get(Wo);var t=e.get(fo,null);t&&t.forEach(function(e){return e()})}(Te.create({providers:a,name:r}))}return function(e){var t=qo();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 qo(){return Ho&&!Ho.destroyed?Ho:null}var Wo=function(){function e(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return e.prototype.bootstrapModuleFactory=function(e,t){var n,r=this,o="noop"===(n=t?t.ngZone:void 0)?new Fo:("zone.js"===n?void 0:n)||new Do({enableLongStackTrace:Ge()}),i=[{provide:Do,useValue:o}];return o.run(function(){var t=Te.create({providers:i,parent:r.injector,name:e.moduleType.name}),n=e.create(t),a=n.injector.get(Qe,null);if(!a)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy(function(){return Jo(r._modules,n)}),o.runOutsideAngular(function(){return o.onError.subscribe({next:function(e){a.handleError(e)}})}),function(e,t,o){try{var i=((a=n.injector.get(so)).runInitializers(),a.donePromise.then(function(){return r._moduleDoBootstrap(n),n}));return Et(i)?i.catch(function(n){throw t.runOutsideAngular(function(){return e.handleError(n)}),n}):i}catch(s){throw t.runOutsideAngular(function(){return e.handleError(s)}),s}var a}(a,o)})},e.prototype.bootstrapModule=function(e,t){var n=this;void 0===t&&(t=[]);var r=Go({},t);return function(e,t,n){return e.get(xo).createCompiler([t]).compileModuleAsync(n)}(this.injector,r,e).then(function(e){return n.bootstrapModuleFactory(e,r)})},e.prototype._moduleDoBootstrap=function(e){var t=e.injector.get(Ko);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(function(e){return t.bootstrap(e)});else{if(!e.instance.ngDoBootstrap)throw new Error("The module "+de(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 Go(e,t){return Array.isArray(t)?t.reduce(Go,e):s({},e,t)}var Ko=function(){function e(e,t,n,r,o,i){var a=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=Ge(),this._zone.onMicrotaskEmpty.subscribe({next:function(){a._zone.run(function(){a.tick()})}});var s=new I(function(e){a._stable=a._zone.isStable&&!a._zone.hasPendingMacrotasks&&!a._zone.hasPendingMicrotasks,a._zone.runOutsideAngular(function(){e.next(a._stable),e.complete()})}),u=new I(function(e){var t;a._zone.runOutsideAngular(function(){t=a._zone.onStable.subscribe(function(){Do.assertNotInAngularZone(),Oo(function(){a._stable||a._zone.hasPendingMacrotasks||a._zone.hasPendingMicrotasks||(a._stable=!0,e.next(!0))})})});var n=a._zone.onUnstable.subscribe(function(){Do.assertInAngularZone(),a._stable&&(a._stable=!1,a._zone.runOutsideAngular(function(){e.next(!1)}))});return function(){t.unsubscribe(),n.unsubscribe()}});this.isStable=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n,r=Number.POSITIVE_INFINITY,o=null,i=e[e.length-1];return(n=i)&&"function"==typeof n.schedule?(o=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(r=e.pop())):"number"==typeof i&&(r=e.pop()),null===o&&1===e.length&&e[0]instanceof I?e[0]:function(e){return void 0===e&&(e=Number.POSITIVE_INFINITY),function e(t,n,r){return void 0===r&&(r=Number.POSITIVE_INFINITY),"function"==typeof n?function(o){return o.pipe(e(function(e,r){return(o=t(e,r),o instanceof I?o:new I(L(o))).pipe(function(e,t){return function(t){return t.lift(new z(e,void 0))}}(function(t,o){return n(e,t,r,o)}));var o},r))}:("number"==typeof n&&(r=n),function(e){return e.lift(new Z(t,r))})}(q,e)}(r)(function(e,t){return t?function(e,t){return new I(function(n){var r=new m,o=0;return r.add(t.schedule(function(){o!==e.length?(n.next(e[o++]),n.closed||r.add(this.schedule())):n.complete()})),r})}(e,t):new I(V(e))}(e,o))}(s,u.pipe(function(e){return W()((t=X,function(e){var n;n="function"==typeof t?t:function(){return t};var r=Object.create(e,Y);return r.source=e,r.subjectFactory=n,r})(e));var t}))}var t;return t=e,e.prototype.bootstrap=function(e,t){var n,r=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=e instanceof Pt?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var o=n instanceof Ft?null:this._injector.get(Lt),i=n.create(Te.NULL,[],t||n.selector,o);i.onDestroy(function(){r._unloadComponent(i)});var a=i.injector.get(Lo,null);return a&&i.injector.get(Bo).registerApplication(i.location.nativeElement,a),this._loadComponent(i),Ge()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),i},e.prototype.tick=function(){var e,n,r,o,i=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var a=t._tickScope();try{this._runningTick=!0;try{for(var s=l(this._views),u=s.next();!u.done;u=s.next())u.value.detectChanges()}catch(f){e={error:f}}finally{try{u&&!u.done&&(n=s.return)&&n.call(s)}finally{if(e)throw e.error}}if(this._enforceNoNewChanges)try{for(var c=l(this._views),d=c.next();!d.done;d=c.next())d.value.checkNoChanges()}catch(p){r={error:p}}finally{try{d&&!d.done&&(o=c.return)&&o.call(c)}finally{if(r)throw r.error}}}catch(h){this._zone.runOutsideAngular(function(){return i._exceptionHandler.handleError(h)})}finally{this._runningTick=!1,No(a)}},e.prototype.attachView=function(e){var t=e;this._views.push(t),t.attachToAppRef(this)},e.prototype.detachView=function(e){var t=e;Jo(this._views,t),t.detachFromAppRef()},e.prototype._loadComponent=function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(ho,[]).concat(this._bootstrapListeners).forEach(function(t){return t(e)})},e.prototype._unloadComponent=function(e){this.detachView(e.hostView),Jo(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=Io("ApplicationRef#tick()"),e}();function Jo(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var Yo=function(){return function(e,t){this.name=e,this.callback=t}}(),$o=function(){function e(e,t,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=e,t&&t instanceof Xo&&t.addChild(this)}return Object.defineProperty(e.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),e}(),Xo=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 a(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,f([o+1,0],t)),t.forEach(function(t){t.parent&&t.parent.removeChild(t),e.parent=r}))},t.prototype.insertBefore=function(e,t){var n=this.childNodes.indexOf(e);-1===n?this.addChild(t):(t.parent&&t.parent.removeChild(t),t.parent=this,this.childNodes.splice(n,0,t))},t.prototype.query=function(e){return this.queryAll(e)[0]||null},t.prototype.queryAll=function(e){var t=[];return function e(t,n,r){t.childNodes.forEach(function(t){t instanceof Xo&&(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 Xo&&t.childNodes.forEach(function(t){n(t)&&r.push(t),t instanceof Xo&&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}($o),ei=new Map,ti=function(e){return ei.get(e)||null};function ni(e){ei.set(e.nativeNode,e)}var ri=Qo(null,"core",[{provide:po,useValue:"unknown"},{provide:Wo,deps:[Te]},{provide:Bo,deps:[]},{provide:vo,deps:[]}]),oi=new _e("LocaleId"),ii=new _e("TranslationsFormat");function ai(){return pn}function si(){return hn}function ui(e){var t=[];return e.onStable.subscribe(function(){for(;t.length;)t.pop()()}),function(e){t.push(e)}}var ci=function(){return function(e){}}();function li(e,t,n,r,o,i){e|=1;var a=Gn(t);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:e,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:a.matchedQueries,matchedQueryIds:a.matchedQueryIds,references:a.references,ngContentIndex:n,childCount:r,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:i?$n(i):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:o||An},provider:null,text:null,query:null,ngContent:null}}function di(e,t,n,r,o,i,a,s,u,c,l,f){var p;void 0===a&&(a=[]),c||(c=An);var h=Gn(n),v=h.matchedQueries,y=h.references,g=h.matchedQueryIds,m=null,b=null;i&&(m=(p=d(ir(i),2))[0],b=p[1]),s=s||[];for(var _=new Array(s.length),w=0;w<s.length;w++){var E=d(s[w],3),C=E[0],x=E[2],T=d(ir(E[1]),2),k=T[0],S=T[1],I=void 0,N=void 0;switch(15&C){case 4:N=x;break;case 1:case 8:I=x}_[w]={flags:C,ns:k,name:S,nonMinifiedName:S,securityContext:I,suffix:N}}u=u||[];var A=new Array(u.length);for(w=0;w<u.length;w++){var O=d(u[w],2);A[w]={type:0,target:O[0],eventName:O[1],propName:null}}var D=(a=a||[]).map(function(e){var t=d(e,2),n=t[1],r=d(ir(t[0]),2);return[r[0],r[1],n]});return f=function(e){if(e&&e.id===Pn){var t=null!=e.encapsulation&&e.encapsulation!==Le.None||e.styles.length||Object.keys(e.data).length;e.id=t?"c"+jn++:Mn}return e&&e.id===Mn&&(e=null),e||null}(f),l&&(t|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:v,matchedQueryIds:g,references:y,ngContentIndex:r,childCount:o,bindings:_,bindingFlags:ar(_),outputs:A,element:{ns:m,name:b,attrs:D,template:null,componentProvider:null,componentView:l||null,componentRendererType:f,publicProviders:null,allProviders:null,handleEvent:c||An},provider:null,text:null,query:null,ngContent:null}}function fi(e,t,n){var r,o=n.element,i=e.root.selectorOrNode,a=e.renderer;if(e.parent||!i){r=o.name?a.createElement(o.name,o.ns):a.createComment("");var s=Jn(e,t,n);s&&a.appendChild(s,r)}else r=a.selectRootElement(i,!!o.componentRendererType&&o.componentRendererType.encapsulation===Le.ShadowDom);if(o.attrs)for(var u=0;u<o.attrs.length;u++){var c=d(o.attrs[u],3);a.setAttribute(r,c[1],c[2],c[0])}return r}function pi(e,t,n,r){for(var o=0;o<n.outputs.length;o++){var i=n.outputs[o],a=hi(e,n.nodeIndex,(d=i.eventName,(l=i.target)?l+":"+d:d)),s=i.target,u=e;"component"===i.target&&(s=null,u=t);var c=u.renderer.listen(s||r,i.eventName,a);e.disposables[n.outputIndex+o]=c}var l,d}function hi(e,t,n){return function(r){return zn(e,t,n,r)}}function vi(e,t,n,r){if(!Hn(e,t,n,r))return!1;var o=t.bindings[n],i=Tn(e,t.nodeIndex),a=i.renderElement,s=o.name;switch(15&o.flags){case 1:!function(e,t,n,r,o,i){var a=t.securityContext,s=a?e.root.sanitizer.sanitize(a,i):i;s=null!=s?s.toString():null;var u=e.renderer;null!=i?u.setAttribute(n,o,s,r):u.removeAttribute(n,o,r)}(e,o,a,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,a,s,r);break;case 4:!function(e,t,n,r,o){var i=e.root.sanitizer.sanitize(yt.STYLE,o);if(null!=i){i=i.toString();var a=t.suffix;null!=a&&(i+=a)}else i=null;var s=e.renderer;null!=i?s.setStyle(n,r,i):s.removeStyle(n,r)}(e,o,a,s,r);break;case 8:!function(e,t,n,r,o){var i=t.securityContext,a=i?e.root.sanitizer.sanitize(i,o):o;e.renderer.setProperty(n,r,a)}(33554432&t.flags&&32&o.flags?i.componentView:e,o,a,s,r)}return!0}function yi(e){for(var t=e.def.nodeMatchedQueries;e.parent&&Wn(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&&In(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&&In(e,o).setDirty(),o+=i.childCount}}function gi(e,t){var n=In(e,t.nodeIndex);if(n.dirty){var r,o=void 0;if(67108864&t.flags){var i=t.parent.parent;o=mi(e,i.nodeIndex,i.nodeIndex+i.childCount,t.query,[]),r=kn(e,t.parent.nodeIndex).instance}else 134217728&t.flags&&(o=mi(e,0,e.def.nodes.length-1,t.query,[]),r=e.component);n.reset(o);for(var a=t.query.bindings,s=!1,u=0;u<a.length;u++){var c=a[u],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 mi(e,t,n,r,o){for(var i=t;i<=n;i++){var a=e.def.nodes[i],s=a.matchedQueries[r.id];if(null!=s&&o.push(bi(e,a,s)),1&a.flags&&a.element.template&&(a.element.template.nodeMatchedQueries&r.filterId)===r.filterId){var u=Tn(e,i);if((a.childMatchedQueries&r.filterId)===r.filterId&&(mi(e,i+1,i+a.childCount,r,o),i+=a.childCount),16777216&a.flags)for(var c=u.viewContainer._embeddedViews,l=0;l<c.length;l++){var d=c[l],f=Un(d);f&&f===u&&mi(d,0,d.def.nodes.length-1,r,o)}var p=u.template._projectedViews;if(p)for(l=0;l<p.length;l++){var h=p[l];mi(h,0,h.def.nodes.length-1,r,o)}}(a.childMatchedQueries&r.filterId)!==r.filterId&&(i+=a.childCount)}return o}function bi(e,t,n){if(null!=n)switch(n){case 1:return Tn(e,t.nodeIndex).renderElement;case 0:return new Ut(Tn(e,t.nodeIndex).renderElement);case 2:return Tn(e,t.nodeIndex).template;case 3:return Tn(e,t.nodeIndex).viewContainer;case 4:return kn(e,t.nodeIndex).instance}}function _i(e,t,n){var r=Jn(e,t,n);r&&tr(e,n.ngContent.index,1,r,null,void 0)}function wi(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 Ei(e,t,n){var r,o=e.renderer;r=o.createText(n.text.prefix);var i=Jn(e,t,n);return i&&o.appendChild(i,r),{renderText:r}}function Ci(e,t){return(null!=e?e.toString():"")+t.suffix}function xi(e,t,n,r){for(var o=0,i=0,a=0,s=0,u=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,a|=v.flags,u|=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&&(u|=v.element.template.nodeMatchedQueries)}if(ki(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!=(32768&v.flags);0==(8192&v.flags)||g?c.element.publicProviders[Dn(v.provider.token)]=v:(f||(f=!0,c.element.allProviders=Object.create(c.element.publicProviders)),c.element.allProviders[Dn(v.provider.token)]=v),g&&(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,Ti(v)||(l=v);else for(;c&&h===c.nodeIndex+c.childCount;){var m=c.parent;m&&(m.childFlags|=c.childFlags,m.childMatchedQueries|=c.childMatchedQueries),l=(c=m)&&Ti(c)?c.renderParent:c}}return{factory:null,nodeFlags:a,rootNodeFlags:s,nodeMatchedQueries:u,flags:e,nodes:t,updateDirectives:n||An,updateRenderer:r||An,handleEvent:function(e,n,r,o){return t[n].element.handleEvent(e,r,o)},bindingCount:o,outputCount:i,lastRenderRootNode:p}}function Ti(e){return 0!=(1&e.flags)&&null===e.element.name}function ki(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 Si(e,t,n,r){var o=Ai(e.root,e.renderer,e,t,n);return Oi(o,e.component,r),Di(o),o}function Ii(e,t,n){var r=Ai(e,e.renderer,null,null,t);return Oi(r,n,n),Di(r),r}function Ni(e,t,n,r){var o,i=t.element.componentRendererType;return o=i?e.root.rendererFactory.createRenderer(r,i):e.root.renderer,Ai(e.root,o,e,t.element.componentProvider,n)}function Ai(e,t,n,r,o){var i=new Array(o.nodes.length),a=o.outputCount?new Array(o.outputCount):null;return{def:o,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:i,state:13,root:e,renderer:t,oldValues:new Array(o.bindingCount),disposables:a,initIndex:-1}}function Oi(e,t,n){e.component=t,e.context=n}function Di(e){var t;qn(e)&&(t=Tn(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);for(var n=e.def,r=e.nodes,o=0;o<n.nodes.length;o++){var i=n.nodes[o];Nn.setCurrentNode(e,o);var a=void 0;switch(201347067&i.flags){case 1:var s=fi(e,t,i),u=void 0;if(33554432&i.flags){var c=$n(i.element.componentView);u=Nn.createComponentView(e,i,c,s)}pi(e,u,i,s),a={renderElement:s,componentView:u,viewContainer:null,template:i.element.template?Sr(e,i):void 0},16777216&i.flags&&(a.viewContainer=Cr(e,i,a));break;case 2:a=Ei(e,t,i);break;case 512:case 1024:case 2048:case 256:(a=r[o])||4096&i.flags||(a={instance:Zr(e,i)});break;case 16:a={instance:Qr(e,i)};break;case 16384:(a=r[o])||(a={instance:qr(e,i)}),32768&i.flags&&Oi(Tn(e,i.parent.nodeIndex).componentView,a.instance,a.instance);break;case 32:case 64:case 128:a={value:void 0};break;case 67108864:case 134217728:a=new io;break;case 8:_i(e,t,i),a=void 0}r[o]=a}Bi(e,Li.CreateViewNodes),Qi(e,201326592,268435456,0)}function Pi(e){ji(e),Nn.updateDirectives(e,1),zi(e,Li.CheckNoChanges),Nn.updateRenderer(e,1),Bi(e,Li.CheckNoChanges),e.state&=-97}function Mi(e){1&e.state?(e.state&=-2,e.state|=2):e.state&=-3,En(e,0,256),ji(e),Nn.updateDirectives(e,0),zi(e,Li.CheckAndUpdate),Qi(e,67108864,536870912,0);var t=En(e,256,512);eo(e,2097152|(t?1048576:0)),Nn.updateRenderer(e,0),Bi(e,Li.CheckAndUpdate),Qi(e,134217728,536870912,0),eo(e,8388608|((t=En(e,512,768))?4194304:0)),2&e.def.flags&&(e.state&=-9),e.state&=-97,En(e,768,1024)}function Ri(e,t,n,r,o,i,a,s,u,c,l,d,p){return 0===n?function(e,t,n,r,o,i,a,s,u,c,l,d){switch(201347067&t.flags){case 1:return function(e,t,n,r,o,i,a,s,u,c,l,d){var f=t.bindings.length,p=!1;return f>0&&vi(e,t,0,n)&&(p=!0),f>1&&vi(e,t,1,r)&&(p=!0),f>2&&vi(e,t,2,o)&&(p=!0),f>3&&vi(e,t,3,i)&&(p=!0),f>4&&vi(e,t,4,a)&&(p=!0),f>5&&vi(e,t,5,s)&&(p=!0),f>6&&vi(e,t,6,u)&&(p=!0),f>7&&vi(e,t,7,c)&&(p=!0),f>8&&vi(e,t,8,l)&&(p=!0),f>9&&vi(e,t,9,d)&&(p=!0),p}(e,t,n,r,o,i,a,s,u,c,l,d);case 2:return function(e,t,n,r,o,i,a,s,u,c,l,d){var f=!1,p=t.bindings,h=p.length;if(h>0&&Hn(e,t,0,n)&&(f=!0),h>1&&Hn(e,t,1,r)&&(f=!0),h>2&&Hn(e,t,2,o)&&(f=!0),h>3&&Hn(e,t,3,i)&&(f=!0),h>4&&Hn(e,t,4,a)&&(f=!0),h>5&&Hn(e,t,5,s)&&(f=!0),h>6&&Hn(e,t,6,u)&&(f=!0),h>7&&Hn(e,t,7,c)&&(f=!0),h>8&&Hn(e,t,8,l)&&(f=!0),h>9&&Hn(e,t,9,d)&&(f=!0),f){var v=t.text.prefix;h>0&&(v+=Ci(n,p[0])),h>1&&(v+=Ci(r,p[1])),h>2&&(v+=Ci(o,p[2])),h>3&&(v+=Ci(i,p[3])),h>4&&(v+=Ci(a,p[4])),h>5&&(v+=Ci(s,p[5])),h>6&&(v+=Ci(u,p[6])),h>7&&(v+=Ci(c,p[7])),h>8&&(v+=Ci(l,p[8])),h>9&&(v+=Ci(d,p[9]));var y=xn(e,t.nodeIndex).renderText;e.renderer.setValue(y,v)}return f}(e,t,n,r,o,i,a,s,u,c,l,d);case 16384:return function(e,t,n,r,o,i,a,s,u,c,l,d){var f=kn(e,t.nodeIndex),p=f.instance,h=!1,v=void 0,y=t.bindings.length;return y>0&&Vn(e,t,0,n)&&(h=!0,v=Xr(e,f,t,0,n,v)),y>1&&Vn(e,t,1,r)&&(h=!0,v=Xr(e,f,t,1,r,v)),y>2&&Vn(e,t,2,o)&&(h=!0,v=Xr(e,f,t,2,o,v)),y>3&&Vn(e,t,3,i)&&(h=!0,v=Xr(e,f,t,3,i,v)),y>4&&Vn(e,t,4,a)&&(h=!0,v=Xr(e,f,t,4,a,v)),y>5&&Vn(e,t,5,s)&&(h=!0,v=Xr(e,f,t,5,s,v)),y>6&&Vn(e,t,6,u)&&(h=!0,v=Xr(e,f,t,6,u,v)),y>7&&Vn(e,t,7,c)&&(h=!0,v=Xr(e,f,t,7,c,v)),y>8&&Vn(e,t,8,l)&&(h=!0,v=Xr(e,f,t,8,l,v)),y>9&&Vn(e,t,9,d)&&(h=!0,v=Xr(e,f,t,9,d,v)),v&&p.ngOnChanges(v),65536&t.flags&&Cn(e,256,t.nodeIndex)&&p.ngOnInit(),262144&t.flags&&p.ngDoCheck(),h}(e,t,n,r,o,i,a,s,u,c,l,d);case 32:case 64:case 128:return function(e,t,n,r,o,i,a,s,u,c,l,d){var f=t.bindings,p=!1,h=f.length;if(h>0&&Hn(e,t,0,n)&&(p=!0),h>1&&Hn(e,t,1,r)&&(p=!0),h>2&&Hn(e,t,2,o)&&(p=!0),h>3&&Hn(e,t,3,i)&&(p=!0),h>4&&Hn(e,t,4,a)&&(p=!0),h>5&&Hn(e,t,5,s)&&(p=!0),h>6&&Hn(e,t,6,u)&&(p=!0),h>7&&Hn(e,t,7,c)&&(p=!0),h>8&&Hn(e,t,8,l)&&(p=!0),h>9&&Hn(e,t,9,d)&&(p=!0),p){var v=Sn(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]=a),h>5&&(y[5]=s),h>6&&(y[6]=u),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]=a),h>5&&(y[f[5].name]=s),h>6&&(y[f[6].name]=u),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,a);break;case 6:y=g.transform(r,o,i,a,s);break;case 7:y=g.transform(r,o,i,a,s,u);break;case 8:y=g.transform(r,o,i,a,s,u,c);break;case 9:y=g.transform(r,o,i,a,s,u,c,l);break;case 10:y=g.transform(r,o,i,a,s,u,c,l,d)}}v.value=y}return p}(e,t,n,r,o,i,a,s,u,c,l,d);default:throw"unreachable"}}(e,t,r,o,i,a,s,u,c,l,d,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++)vi(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++)Hn(e,t,i,n[i])&&(o=!0);if(o){var a="";for(i=0;i<n.length;i++)a+=Ci(n[i],r[i]);a=t.text.prefix+a;var s=xn(e,t.nodeIndex).renderText;e.renderer.setValue(s,a)}return o}(e,t,n);case 16384:return function(e,t,n){for(var r=kn(e,t.nodeIndex),o=r.instance,i=!1,a=void 0,s=0;s<n.length;s++)Vn(e,t,s,n[s])&&(i=!0,a=Xr(e,r,t,s,n[s],a));return a&&o.ngOnChanges(a),65536&t.flags&&Cn(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++)Hn(e,t,i,n[i])&&(o=!0);if(o){var a=Sn(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 u=n[0],c=n.slice(1);s=u.transform.apply(u,f(c))}a.value=s}return o}(e,t,n);default:throw"unreachable"}}(e,t,r)}function ji(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=Tn(e,n).template._projectedViews;if(o)for(var i=0;i<o.length;i++){var a=o[i];a.state|=32,Bn(a,e)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function Vi(e,t,n,r,o,i,a,s,u,c,l,d,f){return 0===n?function(e,t,n,r,o,i,a,s,u,c,l,d){var f=t.bindings.length;f>0&&Fn(e,t,0,n),f>1&&Fn(e,t,1,r),f>2&&Fn(e,t,2,o),f>3&&Fn(e,t,3,i),f>4&&Fn(e,t,4,a),f>5&&Fn(e,t,5,s),f>6&&Fn(e,t,6,u),f>7&&Fn(e,t,7,c),f>8&&Fn(e,t,8,l),f>9&&Fn(e,t,9,d)}(e,t,r,o,i,a,s,u,c,l,d,f):function(e,t,n){for(var r=0;r<n.length;r++)Fn(e,t,r,n[r])}(e,t,r),!1}function Hi(e,t){if(In(e,t.nodeIndex).dirty)throw bn(Nn.createDebugContext(e,t.nodeIndex),"Query "+t.query.id+" not dirty","Query "+t.query.id+" dirty",0!=(1&e.state))}function Fi(e){if(!(128&e.state)){if(zi(e,Li.Destroy),Bi(e,Li.Destroy),eo(e,131072),e.disposables)for(var t=0;t<e.disposables.length;t++)e.disposables[t]();!function(e){if(16&e.state){var t=Un(e);if(t){var n=t.template._projectedViews;n&&(mr(n,n.indexOf(e)),Nn.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(Tn(e,n).renderElement):2&r.flags?e.renderer.destroyNode(xn(e,n).renderText):(67108864&r.flags||134217728&r.flags)&&In(e,n).destroy()}}(e),qn(e)&&e.renderer.destroy(),e.state|=128}}var Li=function(e){return e[e.CreateViewNodes=0]="CreateViewNodes",e[e.CheckNoChanges=1]="CheckNoChanges",e[e.CheckNoChangesProjectedViews=2]="CheckNoChangesProjectedViews",e[e.CheckAndUpdate=3]="CheckAndUpdate",e[e.CheckAndUpdateProjectedViews=4]="CheckAndUpdateProjectedViews",e[e.Destroy=5]="Destroy",e}({});function Bi(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?Ui(Tn(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=Tn(e,r).viewContainer._embeddedViews,a=0;a<i.length;a++)Ui(i[a],t);else 0==(16777216&o.childFlags)&&(r+=o.childCount)}}function Ui(e,t){var n=e.state;switch(t){case Li.CheckNoChanges:0==(128&n)&&(12==(12&n)?Pi(e):64&n&&Zi(e,Li.CheckNoChangesProjectedViews));break;case Li.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?Pi(e):64&n&&Zi(e,t));break;case Li.CheckAndUpdate:0==(128&n)&&(12==(12&n)?Mi(e):64&n&&Zi(e,Li.CheckAndUpdateProjectedViews));break;case Li.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?Mi(e):64&n&&Zi(e,t));break;case Li.Destroy:Fi(e);break;case Li.CreateViewNodes:Di(e)}}function Zi(e,t){zi(e,t),Bi(e,t)}function Qi(e,t,n,r){if(e.def.nodeFlags&t&&e.def.nodeFlags&n)for(var o=e.def.nodes.length,i=0;i<o;i++){var a=e.def.nodes[i];if(a.flags&t&&a.flags&n)switch(Nn.setCurrentNode(e,a.nodeIndex),r){case 0:gi(e,a);break;case 1:Hi(e,a)}a.childFlags&t&&a.childFlags&n||(i+=a.childCount)}}var qi=!1;function Wi(e,t,n,r,o,i){var a=o.injector.get(qt);return Ii(Ki(e,o,a,t,n),r,i)}function Gi(e,t,n,r,o,i){var a=o.injector.get(qt),s=Ki(e,o,new Sa(a),t,n),u=ia(r);return Ta(ha.create,Ii,null,[s,u,i])}function Ki(e,t,n,r,o){var i=t.injector.get(gt),a=t.injector.get(Qe),s=n.createRenderer(null,null);return{ngModule:t,injector:e,projectableNodes:r,selectorOrNode:o,sanitizer:i,rendererFactory:n,renderer:s,errorHandler:a}}function Ji(e,t,n,r){var o=ia(n);return Ta(ha.create,Si,null,[e,t,o,r])}function Yi(e,t,n,r){return n=ta.get(t.element.componentProvider.provider.token)||ia(n),Ta(ha.create,Ni,null,[e,t,n,r])}function $i(e,t,n,r){return Pr(e,t,n,function(e){var t=function(e){var t=!1,n=!1;return 0===Xi.size?{hasOverrides:t,hasDeprecatedOverrides:n}:(e.providers.forEach(function(e){var r=Xi.get(e.token);3840&e.flags&&r&&(t=!0,n=n||r.deprecatedBehavior)}),e.modules.forEach(function(e){ea.forEach(function(r,o){ce(o).providedIn===e&&(t=!0,n=n||r.deprecatedBehavior)})}),{hasOverrides:t,hasDeprecatedOverrides:n})}(e),n=t.hasDeprecatedOverrides;return t.hasOverrides?(function(e){for(var t=0;t<e.providers.length;t++){var r=e.providers[t];n&&(r.flags|=4096);var o=Xi.get(r.token);o&&(r.flags=-3841&r.flags|o.flags,r.deps=Kn(o.deps),r.value=o.value)}if(ea.size>0){var i=new Set(e.modules);ea.forEach(function(t,r){if(i.has(ce(r).providedIn)){var o={token:r,flags:t.flags|(n?4096:0),deps:Kn(t.deps),value:t.value,index:e.providers.length};e.providers.push(o),e.providersByKey[Dn(r)]=o}})}}(e=e.factory(function(){return An})),e):e}(r))}var Xi=new Map,ea=new Map,ta=new Map;function na(e){var t;Xi.set(e.token,e),"function"==typeof e.token&&(t=ce(e.token))&&"function"==typeof t.providedIn&&ea.set(e.token,e)}function ra(e,t){var n=$n(t.viewDefFactory),r=$n(n.nodes[0].element.componentView);ta.set(e,r)}function oa(){Xi.clear(),ea.clear(),ta.clear()}function ia(e){if(0===Xi.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&&Xi.has(o.provider.token)&&(t.push(n.nodeIndex),n=null)}return t}(e);if(0===t.length)return e;e=e.factory(function(){return An});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=Xi.get(o.token);i&&(r.flags=-3841&r.flags|i.flags,o.deps=Kn(i.deps),o.value=i.value)}}}}function aa(e,t,n,r,o,i,a,s,u,c,l,d,f){var p=e.def.nodes[t];return Ri(e,p,n,r,o,i,a,s,u,c,l,d,f),224&p.flags?Sn(e,t).value:void 0}function sa(e,t,n,r,o,i,a,s,u,c,l,d,f){var p=e.def.nodes[t];return Vi(e,p,n,r,o,i,a,s,u,c,l,d,f),224&p.flags?Sn(e,t).value:void 0}function ua(e){return Ta(ha.detectChanges,Mi,null,[e])}function ca(e){return Ta(ha.checkNoChanges,Pi,null,[e])}function la(e){return Ta(ha.destroy,Fi,null,[e])}var da,fa,pa,ha=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 va(e,t){fa=e,pa=t}function ya(e,t,n,r){return va(e,t),Ta(ha.handleEvent,e.def.handleEvent,null,[e,t,n,r])}function ga(e,t){if(128&e.state)throw wn(ha[da]);return va(e,wa(e,0)),e.def.updateDirectives(function(e,n,r){for(var o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];var a=e.def.nodes[n];return 0===t?ba(e,a,r,o):_a(e,a,r,o),16384&a.flags&&va(e,wa(e,n)),224&a.flags?Sn(e,a.nodeIndex).value:void 0},e)}function ma(e,t){if(128&e.state)throw wn(ha[da]);return va(e,Ea(e,0)),e.def.updateRenderer(function(e,n,r){for(var o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];var a=e.def.nodes[n];return 0===t?ba(e,a,r,o):_a(e,a,r,o),3&a.flags&&va(e,Ea(e,n)),224&a.flags?Sn(e,a.nodeIndex).value:void 0},e)}function ba(e,t,n,r){if(Ri.apply(void 0,f([e,t,n],r))){var o=1===n?r[0]:r;if(16384&t.flags){for(var i={},a=0;a<t.bindings.length;a++){var s=t.bindings[a],u=o[a];8&s.flags&&(i[(p=s.nonMinifiedName,"ng-reflect-"+p.replace(/[$@]/g,"_").replace(_t,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return"-"+e[1].toLowerCase()}))]=wt(u))}var c=t.parent,l=Tn(e,c.nodeIndex).renderElement;if(c.element.name)for(var d in i)null!=(u=i[d])?e.renderer.setAttribute(l,d,u):e.renderer.removeAttribute(l,d);else e.renderer.setValue(l,"bindings="+JSON.stringify(i,null,2))}}var p}function _a(e,t,n,r){Vi.apply(void 0,f([e,t,n],r))}function wa(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 Ea(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 Ca=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=Zn(r),r=r.parent;this.elDef=n,this.elView=r}return Object.defineProperty(e.prototype,"elOrCompView",{get:function(){return Tn(this.elView,this.elDef.nodeIndex).componentView||this.view},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return Nr(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){xa(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&&xa(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&&!qn(e);)e=e.parent;return e.parent?Tn(e.parent,Zn(e).nodeIndex):null}(this.elOrCompView);return e?e.renderElement:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"renderNode",{get:function(){return 2&this.nodeDef.flags?Qn(this.view,this.nodeDef):Qn(this.elView,this.elDef)},enumerable:!0,configurable:!0}),e.prototype.logError=function(e){for(var t,n,r=[],o=1;o<arguments.length;o++)r[o-1]=arguments[o];2&this.nodeDef.flags?(t=this.view.def,n=this.nodeDef.nodeIndex):(t=this.elView.def,n=this.elDef.nodeIndex);var i=function(e,t){for(var n=-1,r=0;r<=t;r++)3&e.nodes[r].flags&&n++;return n}(t,n),a=-1;t.factory(function(){var t;return++a===i?(t=e.error).bind.apply(t,f([e],r)):An}),a<i&&(e.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),e.error.apply(e,f(r)))},e}();function xa(e,t,n){for(var r in t.references)n[r]=bi(e,t,t.references[r])}function Ta(e,t,n,r){var o=da,i=fa,a=pa;try{da=e;var s=t.apply(n,r);return fa=i,pa=a,da=o,s}catch(u){if(ze(u)||!fa)throw u;throw function(e,t){return e instanceof Error||(e=new Error(e.toString())),_n(e,t),e}(u,ka())}}function ka(){return fa?new Ca(fa,pa):null}var Sa=function(){function e(e){this.delegate=e}return e.prototype.createRenderer=function(e,t){return new Ia(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}(),Ia=function(){function e(e){this.delegate=e,this.debugContextFactory=ka,this.data=this.delegate.data}return e.prototype.createDebugContext=function(e){return this.debugContextFactory(e)},e.prototype.destroyNode=function(e){!function(e){ei.delete(e.nativeNode)}(ti(e)),this.delegate.destroyNode&&this.delegate.destroyNode(e)},e.prototype.destroy=function(){this.delegate.destroy()},e.prototype.createElement=function(e,t){var n=this.delegate.createElement(e,t),r=this.createDebugContext(n);if(r){var o=new Xo(n,null,r);o.name=e,ni(o)}return n},e.prototype.createComment=function(e){var t=this.delegate.createComment(e),n=this.createDebugContext(t);return n&&ni(new $o(t,null,n)),t},e.prototype.createText=function(e){var t=this.delegate.createText(e),n=this.createDebugContext(t);return n&&ni(new $o(t,null,n)),t},e.prototype.appendChild=function(e,t){var n=ti(e),r=ti(t);n&&r&&n instanceof Xo&&n.addChild(r),this.delegate.appendChild(e,t)},e.prototype.insertBefore=function(e,t,n){var r=ti(e),o=ti(t),i=ti(n);r&&o&&r instanceof Xo&&r.insertBefore(i,o),this.delegate.insertBefore(e,t,n)},e.prototype.removeChild=function(e,t){var n=ti(e),r=ti(t);n&&r&&n instanceof Xo&&n.removeChild(r),this.delegate.removeChild(e,t)},e.prototype.selectRootElement=function(e,t){var n=this.delegate.selectRootElement(e,t),r=ka();return r&&ni(new Xo(n,null,r)),n},e.prototype.setAttribute=function(e,t,n,r){var o=ti(e);o&&o instanceof Xo&&(o.attributes[r?r+":"+t:t]=n),this.delegate.setAttribute(e,t,n,r)},e.prototype.removeAttribute=function(e,t,n){var r=ti(e);r&&r instanceof Xo&&(r.attributes[n?n+":"+t:t]=null),this.delegate.removeAttribute(e,t,n)},e.prototype.addClass=function(e,t){var n=ti(e);n&&n instanceof Xo&&(n.classes[t]=!0),this.delegate.addClass(e,t)},e.prototype.removeClass=function(e,t){var n=ti(e);n&&n instanceof Xo&&(n.classes[t]=!1),this.delegate.removeClass(e,t)},e.prototype.setStyle=function(e,t,n,r){var o=ti(e);o&&o instanceof Xo&&(o.styles[t]=n),this.delegate.setStyle(e,t,n,r)},e.prototype.removeStyle=function(e,t,n){var r=ti(e);r&&r instanceof Xo&&(r.styles[t]=null),this.delegate.removeStyle(e,t,n)},e.prototype.setProperty=function(e,t,n){var r=ti(e);r&&r instanceof Xo&&(r.properties[t]=n),this.delegate.setProperty(e,t,n)},e.prototype.listen=function(e,t,n){if("string"!=typeof e){var r=ti(e);r&&r.listeners.push(new Yo(t,n))}return this.delegate.listen(e,t,n)},e.prototype.parentNode=function(e){return this.delegate.parentNode(e)},e.prototype.nextSibling=function(e){return this.delegate.nextSibling(e)},e.prototype.setValue=function(e,t){return this.delegate.setValue(e,t)},e}();function Na(e,t,n){return new Aa(e,t,n)}var Aa=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 a(t,e),t.prototype.create=function(e){!function(){if(!qi){qi=!0;var e=Ge()?{setCurrentNode:va,createRootView:Gi,createEmbeddedView:Ji,createComponentView:Yi,createNgModuleRef:$i,overrideProvider:na,overrideComponentView:ra,clearOverrides:oa,checkAndUpdateView:ua,checkNoChangesView:ca,destroyView:la,createDebugContext:function(e,t){return new Ca(e,t)},handleEvent:ya,updateDirectives:ga,updateRenderer:ma}:{setCurrentNode:function(){},createRootView:Wi,createEmbeddedView:Si,createComponentView:Ni,createNgModuleRef:Pr,overrideProvider:An,overrideComponentView:An,clearOverrides:An,checkAndUpdateView:Mi,checkNoChangesView:Pi,destroyView:Fi,createDebugContext:function(e,t){return new Ca(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?aa:sa,e)},updateRenderer:function(e,t){return e.def.updateRenderer(0===t?aa:sa,e)}};Nn.setCurrentNode=e.setCurrentNode,Nn.createRootView=e.createRootView,Nn.createEmbeddedView=e.createEmbeddedView,Nn.createComponentView=e.createComponentView,Nn.createNgModuleRef=e.createNgModuleRef,Nn.overrideProvider=e.overrideProvider,Nn.overrideComponentView=e.overrideComponentView,Nn.clearOverrides=e.clearOverrides,Nn.checkAndUpdateView=e.checkAndUpdateView,Nn.checkNoChangesView=e.checkNoChangesView,Nn.destroyView=e.destroyView,Nn.resolveDep=Yr,Nn.createDebugContext=e.createDebugContext,Nn.handleEvent=e.handleEvent,Nn.updateDirectives=e.updateDirectives,Nn.updateRenderer=e.updateRenderer,Nn.dirtyParentQueries=yi}}();var t=function(e){var t=Array.from(e.providers),n=Array.from(e.modules),r={};for(var o in e.providersByKey)r[o]=e.providersByKey[o];return{factory:e.factory,isRoot:e.isRoot,providers:t,modules:n,providersByKey:r}}($n(this._ngModuleDefFactory));return Nn.createNgModuleRef(this.moduleType,e||Te.NULL,this._bootstrapComponents,t)},t}(Bt),Oa=function(){return function(){}}(),Da=void 0,Pa=["en",[["a","p"],["AM","PM"],Da],[["AM","PM"],Da,Da],[["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"]],Da,[["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"]],Da,[["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}",Da,"{1} 'at' {0}",Da],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",{},function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}],Ma={},Ra=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}({}),ja=new _e("UseV4Plurals"),Va=function(){return function(){}}(),Ha=function(e){function t(t,n){var r=e.call(this)||this;return r.locale=t,r.deprecatedPluralFn=n,r}return a(t,e),t.prototype.getPluralCategory=function(e,t){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(t||this.locale,e):function(e){return function(e){var t=e.toLowerCase().replace(/_/g,"-"),n=Ma[t];if(n)return n;var r=t.split("-")[0];if(n=Ma[r])return n;if("en"===r)return Pa;throw new Error('Missing locale data for the locale "'+e+'".')}(e)[18]}(t||this.locale)(e)){case Ra.Zero:return"zero";case Ra.One:return"one";case Ra.Two:return"two";case Ra.Few:return"few";case Ra.Many:return"many";default:return"other"}},t}(Va),Fa=function(){function e(e,t,n,r){this.$implicit=e,this.ngForOf=t,this.index=n,this.count=r}return Object.defineProperty(e.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),e}(),La=function(){function e(e,t,n){this._viewContainer=e,this._template=t,this._differs=n,this._ngForOfDirty=!0,this._differ=null}return Object.defineProperty(e.prototype,"ngForOf",{set:function(e){this._ngForOf=e,this._ngForOfDirty=!0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(e){Ge()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(e)+". See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngForTemplate",{set:function(e){e&&(this._template=e)},enumerable:!0,configurable:!0}),e.prototype.ngDoCheck=function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var e=this._ngForOf;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(r){throw new Error("Cannot find a differ supporting object '"+e+"' of type '"+((t=e).name||typeof t)+"'. NgFor only supports binding to Iterables such as Arrays.")}}var t;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}},e.prototype._applyChanges=function(e){var t=this,n=[];e.forEachOperation(function(e,r,o){if(null==e.previousIndex){var i=t._viewContainer.createEmbeddedView(t._template,new Fa(null,t._ngForOf,-1,-1),o),a=new Ba(e,i);n.push(a)}else null==o?t._viewContainer.remove(r):(i=t._viewContainer.get(r),t._viewContainer.move(i,o),a=new Ba(e,i),n.push(a))});for(var r=0;r<n.length;r++)this._perViewChange(n[r].view,n[r].record);r=0;for(var o=this._viewContainer.length;r<o;r++){var i=this._viewContainer.get(r);i.context.index=r,i.context.count=o,i.context.ngForOf=this._ngForOf}e.forEachIdentityChange(function(e){t._viewContainer.get(e.currentIndex).context.$implicit=e.item})},e.prototype._perViewChange=function(e,t){e.context.$implicit=t.item},e.ngTemplateContextGuard=function(e,t){return!0},e}(),Ba=function(){return function(e,t){this.record=e,this.view=t}}(),za=function(){return function(){}}(),Ua=new _e("DocumentToken"),Za="server",Qa=function(){return function(){}}(),qa=function(){return function(e){this.localeId=e,this.title="i18nDemo",this.languageList=[{code:"en",label:"English"},{code:"hi",label:"\u0939\u093f\u0902\u0926\u0940"},{code:"es",label:"Espanol"}]}}(),Wa=Rn({encapsulation:0,styles:[[".button[_ngcontent-%COMP%]{background-color:#483d8b;border-radius:5px;color:#fff;padding:5px;width:10%;margin:5px;text-decoration:none;cursor:pointer}"]],data:{}});function Ga(e){return xi(0,[(e()(),di(0,0,null,null,3,null,null,null,null,null,null,null)),(e()(),di(1,0,null,null,2,"a",[],[[8,"href",4]],null,null,null,null)),(e()(),di(2,0,null,null,1,"button",[["class","button"]],null,null,null,null,null)),(e()(),wi(3,null,["",""]))],null,function(e,t){var n;e(t,1,0,("/","/"+(null!=(n=t.context.$implicit.code)?n.toString():"")+"/")),e(t,3,0,t.context.$implicit.label)})}function Ka(e){return xi(0,[(e()(),di(0,0,null,null,1,"h1",[],null,null,null,null,null)),(e()(),wi(-1,null,["Localization Demo in Angular using i18n"])),(e()(),di(2,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),wi(-1,null,["Hello, My name is Ankit"])),(e()(),di(4,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),wi(-1,null,["This text will remain same in all languages"])),(e()(),di(6,0,null,null,0,"hr",[],null,null,null,null,null)),(e()(),li(16777216,null,null,1,null,Ga)),Ur(8,278528,null,0,La,[gn,vn,un],{ngForOf:[0,"ngForOf"]},null)],function(e,t){e(t,8,0,t.component.languageList)},null)}function Ja(e){return xi(0,[(e()(),di(0,0,null,null,1,"app-root",[],null,null,null,Ka,Wa)),Ur(1,49152,null,0,qa,[oi],null,null)],null,null)}var Ya=_r("app-root",qa,Ja,{},{},[]),$a=null;function Xa(){return $a}var es,ts=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(a){t._animationPrefix=null,t._transitionEnd=null}return t}return a(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}()),ns={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},rs={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},os={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},is=function(){if(ge.Node)return ge.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))}}(),as=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.parse=function(e){throw new Error("parse not implemented")},t.makeCurrent=function(){var e;e=new t,$a||($a=e)},t.prototype.hasProperty=function(e,t){return t in e},t.prototype.setProperty=function(e,t,n){e[t]=n},t.prototype.getProperty=function(e,t){return e[t]},t.prototype.invoke=function(e,t,n){var r;(r=e)[t].apply(r,f(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 ns},enumerable:!0,configurable:!0}),t.prototype.contains=function(e,t){return is.call(e,t)},t.prototype.querySelector=function(e,t){return e.querySelector(t)},t.prototype.querySelectorAll=function(e,t){return e.querySelectorAll(t)},t.prototype.on=function(e,t,n){e.addEventListener(t,n,!1)},t.prototype.onAndCancel=function(e,t,n){return e.addEventListener(t,n,!1),function(){e.removeEventListener(t,n,!1)}},t.prototype.dispatchEvent=function(e,t){e.dispatchEvent(t)},t.prototype.createMouseEvent=function(e){var t=this.getDefaultDocument().createEvent("MouseEvent");return t.initEvent(e,!0,!0),t},t.prototype.createEvent=function(e){var t=this.getDefaultDocument().createEvent("Event");return t.initEvent(e,!0,!0),t},t.prototype.preventDefault=function(e){e.preventDefault(),e.returnValue=!1},t.prototype.isPrevented=function(e){return e.defaultPrevented||null!=e.returnValue&&!e.returnValue},t.prototype.getInnerHTML=function(e){return e.innerHTML},t.prototype.getTemplateContent=function(e){return"content"in e&&this.isTemplateElement(e)?e.content:null},t.prototype.getOuterHTML=function(e){return e.outerHTML},t.prototype.nodeName=function(e){return e.nodeName},t.prototype.nodeValue=function(e){return e.nodeValue},t.prototype.type=function(e){return e.type},t.prototype.content=function(e){return this.hasProperty(e,"content")?e.content:e},t.prototype.firstChild=function(e){return e.firstChild},t.prototype.nextSibling=function(e){return e.nextSibling},t.prototype.parentElement=function(e){return e.parentNode},t.prototype.childNodes=function(e){return e.childNodes},t.prototype.childNodesAsList=function(e){for(var t=e.childNodes,n=new Array(t.length),r=0;r<t.length;r++)n[r]=t[r];return n},t.prototype.clearNodes=function(e){for(;e.firstChild;)e.removeChild(e.firstChild)},t.prototype.appendChild=function(e,t){e.appendChild(t)},t.prototype.removeChild=function(e,t){e.removeChild(t)},t.prototype.replaceChild=function(e,t,n){e.replaceChild(t,n)},t.prototype.remove=function(e){return e.parentNode&&e.parentNode.removeChild(e),e},t.prototype.insertBefore=function(e,t,n){e.insertBefore(n,t)},t.prototype.insertAllBefore=function(e,t,n){n.forEach(function(n){return e.insertBefore(n,t)})},t.prototype.insertAfter=function(e,t,n){e.insertBefore(n,t.nextSibling)},t.prototype.setInnerHTML=function(e,t){e.innerHTML=t},t.prototype.getText=function(e){return e.textContent},t.prototype.setText=function(e,t){e.textContent=t},t.prototype.getValue=function(e){return e.value},t.prototype.setValue=function(e,t){e.value=t},t.prototype.getChecked=function(e){return e.checked},t.prototype.setChecked=function(e,t){e.checked=t},t.prototype.createComment=function(e){return this.getDefaultDocument().createComment(e)},t.prototype.createTemplate=function(e){var t=this.getDefaultDocument().createElement("template");return t.innerHTML=e,t},t.prototype.createElement=function(e,t){return(t=t||this.getDefaultDocument()).createElement(e)},t.prototype.createElementNS=function(e,t,n){return(n=n||this.getDefaultDocument()).createElementNS(e,t)},t.prototype.createTextNode=function(e,t){return(t=t||this.getDefaultDocument()).createTextNode(e)},t.prototype.createScriptTag=function(e,t,n){var r=(n=n||this.getDefaultDocument()).createElement("SCRIPT");return r.setAttribute(e,t),r},t.prototype.createStyleElement=function(e,t){var n=(t=t||this.getDefaultDocument()).createElement("style");return this.appendChild(n,this.createTextNode(e,t)),n},t.prototype.createShadowRoot=function(e){return e.createShadowRoot()},t.prototype.getShadowRoot=function(e){return e.shadowRoot},t.prototype.getHost=function(e){return e.host},t.prototype.clone=function(e){return e.cloneNode(!0)},t.prototype.getElementsByClassName=function(e,t){return e.getElementsByClassName(t)},t.prototype.getElementsByTagName=function(e,t){return e.getElementsByTagName(t)},t.prototype.classList=function(e){return Array.prototype.slice.call(e.classList,0)},t.prototype.addClass=function(e,t){e.classList.add(t)},t.prototype.removeClass=function(e,t){e.classList.remove(t)},t.prototype.hasClass=function(e,t){return e.classList.contains(t)},t.prototype.setStyle=function(e,t,n){e.style[t]=n},t.prototype.removeStyle=function(e,t){e.style[t]=""},t.prototype.getStyle=function(e,t){return e.style[t]},t.prototype.hasStyle=function(e,t,n){var r=this.getStyle(e,t)||"";return n?r==n:r.length>0},t.prototype.tagName=function(e){return e.tagName},t.prototype.attributeMap=function(e){for(var t=new Map,n=e.attributes,r=0;r<n.length;r++){var o=n.item(r);t.set(o.name,o.value)}return t},t.prototype.hasAttribute=function(e,t){return e.hasAttribute(t)},t.prototype.hasAttributeNS=function(e,t,n){return e.hasAttributeNS(t,n)},t.prototype.getAttribute=function(e,t){return e.getAttribute(t)},t.prototype.getAttributeNS=function(e,t,n){return e.getAttributeNS(t,n)},t.prototype.setAttribute=function(e,t,n){e.setAttribute(t,n)},t.prototype.setAttributeNS=function(e,t,n,r){e.setAttributeNS(t,n,r)},t.prototype.removeAttribute=function(e,t){e.removeAttribute(t)},t.prototype.removeAttributeNS=function(e,t,n){e.removeAttributeNS(t,n)},t.prototype.templateAwareRoot=function(e){return this.isTemplateElement(e)?this.content(e):e},t.prototype.createHtmlDocument=function(){return document.implementation.createHTMLDocument("fakeTitle")},t.prototype.getDefaultDocument=function(){return document},t.prototype.getBoundingClientRect=function(e){try{return e.getBoundingClientRect()}catch(t){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}},t.prototype.getTitle=function(e){return e.title},t.prototype.setTitle=function(e,t){e.title=t||""},t.prototype.elementMatches=function(e,t){return!!this.isElementNode(e)&&(e.matches&&e.matches(t)||e.msMatchesSelector&&e.msMatchesSelector(t)||e.webkitMatchesSelector&&e.webkitMatchesSelector(t))},t.prototype.isTemplateElement=function(e){return this.isElementNode(e)&&"TEMPLATE"===e.nodeName},t.prototype.isTextNode=function(e){return e.nodeType===Node.TEXT_NODE},t.prototype.isCommentNode=function(e){return e.nodeType===Node.COMMENT_NODE},t.prototype.isElementNode=function(e){return e.nodeType===Node.ELEMENT_NODE},t.prototype.hasShadowRoot=function(e){return null!=e.shadowRoot&&e instanceof HTMLElement},t.prototype.isShadowRoot=function(e){return e instanceof DocumentFragment},t.prototype.importIntoDoc=function(e){return document.importNode(this.templateAwareRoot(e),!0)},t.prototype.adoptNode=function(e){return document.adoptNode(e)},t.prototype.getHref=function(e){return e.getAttribute("href")},t.prototype.getEventKey=function(e){var t=e.key;if(null==t){if(null==(t=e.keyIdentifier))return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&os.hasOwnProperty(t)&&(t=os[t]))}return rs[t]||t},t.prototype.getGlobalEventTarget=function(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null},t.prototype.getHistory=function(){return window.history},t.prototype.getLocation=function(){return window.location},t.prototype.getBaseHref=function(e){var t,n=ss||(ss=document.querySelector("base"))?ss.getAttribute("href"):null;return null==n?null:(t=n,es||(es=document.createElement("a")),es.setAttribute("href",t),"/"===es.pathname.charAt(0)?es.pathname:"/"+es.pathname)},t.prototype.resetBaseElement=function(){ss=null},t.prototype.getUserAgent=function(){return window.navigator.userAgent},t.prototype.setData=function(e,t,n){this.setAttribute(e,"data-"+t,n)},t.prototype.getData=function(e,t){return this.getAttribute(e,"data-"+t)},t.prototype.getComputedStyle=function(e){return getComputedStyle(e)},t.prototype.supportsWebAnimation=function(){return"function"==typeof Element.prototype.animate},t.prototype.performanceNow=function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()},t.prototype.supportsCookies=function(){return!0},t.prototype.getCookie=function(e){return function(e,t){var n,r;t=encodeURIComponent(t);try{for(var o=l(e.split(";")),i=o.next();!i.done;i=o.next()){var a=i.value,s=a.indexOf("="),u=d(-1==s?[a,""]:[a.slice(0,s),a.slice(s+1)],2),c=u[1];if(u[0].trim()===t)return decodeURIComponent(c)}}catch(f){n={error:f}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return null}(document.cookie,e)},t.prototype.setCookie=function(e,t){document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)},t}(ts),ss=null;function us(){return!!window.history.pushState}var cs=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n._init(),n}var n;return a(t,e),t.prototype._init=function(){this.location=Xa().getLocation(),this._history=Xa().getHistory()},t.prototype.getBaseHrefFromDOM=function(){return Xa().getBaseHref(this._doc)},t.prototype.onPopState=function(e){Xa().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)},t.prototype.onHashChange=function(e){Xa().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)},Object.defineProperty(t.prototype,"href",{get:function(){return this.location.href},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"protocol",{get:function(){return this.location.protocol},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hostname",{get:function(){return this.location.hostname},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"port",{get:function(){return this.location.port},enumerable:!0,configurable:!0}),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){us()?this._history.pushState(e,t,n):this.location.hash=n},t.prototype.replaceState=function(e,t,n){us()?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.prototype.getState=function(){return this._history.state},u([(n=ne(Ua),function(e,t){n(e,t,0)}),c("design:paramtypes",[Object])],t)}(Oa),ls=new _e("TRANSITION_ID"),ds=[{provide:ao,useFactory:function(e,t,n){return function(){n.get(so).donePromise.then(function(){var n=Xa();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:[ls,Ua,Te],multi:!0}],fs=function(){function e(){}return e.init=function(){var t;t=new e,zo=t},e.prototype.addToWindow=function(e){ge.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},ge.getAllAngularTestabilities=function(){return e.getAllTestabilities()},ge.getAllAngularRootElements=function(){return e.getAllRootElements()},ge.frameworkStabilizers||(ge.frameworkStabilizers=[]),ge.frameworkStabilizers.push(function(e){var t=ge.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?Xa().isShadowRoot(t)?this.findTestabilityInTree(e,Xa().getHost(t),!0):this.findTestabilityInTree(e,Xa().parentElement(t),!0):null},e}();function ps(e,t){"undefined"!=typeof COMPILED&&COMPILED||((ge.ng=ge.ng||{})[e]=t)}var hs=function(){return{ApplicationRef:Ko,NgZone:Do}}();function vs(e){return ti(e)}var ys=new _e("EventManagerPlugins"),gs=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}(),ms=function(){function e(e){this._doc=e}return e.prototype.addGlobalEventListener=function(e,t,n){var r=Xa().getGlobalEventTarget(this._doc,e);if(!r)throw new Error("Unsupported event target "+r+" for event "+t);return this.addEventListener(r,t,n)},e}(),bs=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}(),_s=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 a(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 Xa().remove(e)})},t}(bs),ws={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/"},Es=/%COMP%/g,Cs="_nghost-%COMP%",xs="_ngcontent-%COMP%";function Ts(e,t,n){for(var r=0;r<t.length;r++){var o=t[r];Array.isArray(o)?Ts(e,o,n):(o=o.replace(Es,e),n.push(o))}return n}function ks(e){return function(t){!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}var Ss=function(){function e(e,t,n){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new Is(e)}return e.prototype.createRenderer=function(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case Le.Emulated:var n=this.rendererByCompId.get(t.id);return n||(n=new Os(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n;case Le.Native:case Le.ShadowDom:return new Ds(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){var r=Ts(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}(),Is=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(ws[t]||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,t){var n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error('The selector "'+e+'" did not match any elements');return t||(n.textContent=""),n},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=ws[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=ws[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&Wt.DashCase?e.style.setProperty(t,n,r&Wt.Important?"important":""):e.style[t]=n},e.prototype.removeStyle=function(e,t,n){n&Wt.DashCase?e.style.removeProperty(t):e.style[t]=""},e.prototype.setProperty=function(e,t,n){As(t,"property"),e[t]=n},e.prototype.setValue=function(e,t){e.nodeValue=t},e.prototype.listen=function(e,t,n){return As(t,"listener"),"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,ks(n)):this.eventManager.addEventListener(e,t,ks(n))},e}(),Ns=function(){return"@".charCodeAt(0)}();function As(e,t){if(e.charCodeAt(0)===Ns)throw new Error("Found the synthetic "+t+" "+e+'. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.')}var Os=function(e){function t(t,n,r,o){var i=e.call(this,t)||this;i.component=r;var a=Ts(o+"-"+r.id,r.styles,[]);return n.addStyles(a),i.contentAttr=xs.replace(Es,o+"-"+r.id),i.hostAttr=Cs.replace(Es,o+"-"+r.id),i}return a(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}(Is),Ds=function(e){function t(t,n,r,o){var i=e.call(this,t)||this;i.sharedStylesHost=n,i.hostEl=r,i.component=o,i.shadowRoot=o.encapsulation===Le.ShadowDom?r.attachShadow({mode:"open"}):r.createShadowRoot(),i.sharedStylesHost.addHost(i.shadowRoot);for(var a=Ts(o.id,o.styles,[]),s=0;s<a.length;s++){var u=document.createElement("style");u.textContent=a[s],i.shadowRoot.appendChild(u)}return i}return a(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}(Is),Ps=function(){return"undefined"!=typeof Zone&&Zone.__symbol__||function(e){return"__zone_symbol__"+e}}(),Ms=Ps("addEventListener"),Rs=Ps("removeEventListener"),js={},Vs="__zone_symbol__propagationStopped",Hs=function(){var e="undefined"!=typeof Zone&&Zone[Ps("BLACK_LISTED_EVENTS")];if(e){var t={};return e.forEach(function(e){t[e]=e}),t}}(),Fs=function(e){return!!Hs&&Hs.hasOwnProperty(e)},Ls=function(e){var t=js[e.type];if(t){var n=this[t];if(n){var r=[e];if(1===n.length)return(a=n[0]).zone!==Zone.current?a.zone.run(a.handler,this,r):a.handler.apply(this,r);for(var o=n.slice(),i=0;i<o.length&&!0!==e[Vs];i++){var a;(a=o[i]).zone!==Zone.current?a.zone.run(a.handler,this,r):a.handler.apply(this,r)}}}},Bs=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.ngZone=n,r&&function(e){return e===Za}(r)||o.patchEvent(),o}return a(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[Vs]=!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[Ms]||Do.isInAngularZone()&&!Fs(t))e.addEventListener(t,o,!1);else{var i=js[t];i||(i=js[t]=Ps("ANGULAR"+t+"FALSE"));var a=e[i],s=a&&a.length>0;a||(a=e[i]=[]);var u=Fs(t)?Zone.root:Zone.current;if(0===a.length)a.push({zone:u,handler:o});else{for(var c=!1,l=0;l<a.length;l++)if(a[l].handler===o){c=!0;break}c||a.push({zone:u,handler:o})}s||e[Ms](t,Ls,!1)}return function(){return r.removeEventListener(e,t,o)}},t.prototype.removeEventListener=function(e,t,n){var r=e[Rs];if(!r)return e.removeEventListener.apply(e,[t,n,!1]);var o=js[t],i=o&&e[o];if(!i)return e.removeEventListener.apply(e,[t,n,!1]);for(var a=!1,s=0;s<i.length;s++)if(i[s].handler===n){a=!0,i.splice(s,1);break}a?0===i.length&&r.apply(e,[t,Ls,!1]):e.removeEventListener.apply(e,[t,n,!1])},t}(ms),zs={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},Us=new _e("HammerGestureConfig"),Zs=new _e("HammerLoader"),Qs=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}(),qs=function(e){function t(t,n,r,o){var i=e.call(this,t)||this;return i._config=n,i.console=r,i.loader=o,i}return a(t,e),t.prototype.supports=function(e){return!(!zs.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e)||!window.Hammer&&!this.loader&&(this.console.warn('The "'+e+'" event cannot be bound because Hammer.JS is not loaded and no custom loader has been specified.'),1))},t.prototype.addEventListener=function(e,t,n){var r=this,o=this.manager.getZone();if(t=t.toLowerCase(),!window.Hammer&&this.loader){var i=!1,a=function(){i=!0};return this.loader().then(function(){if(!window.Hammer)return r.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(a=function(){});i||(a=r.addEventListener(e,t,n))}).catch(function(){r.console.warn('The "'+t+'" event cannot be bound because the custom Hammer.JS loader failed.'),a=function(){}}),function(){a()}}return o.runOutsideAngular(function(){var i=r._config.buildHammer(e),a=function(e){o.runGuarded(function(){n(e)})};return i.on(t,a),function(){i.off(t,a),"function"==typeof i.destroy&&i.destroy()}})},t.prototype.isCustomEvent=function(e){return this._config.events.indexOf(e)>-1},t}(ms),Ws=["alt","control","meta","shift"],Gs={alt:function(e){return e.altKey},control:function(e){return e.ctrlKey},meta:function(e){return e.metaKey},shift:function(e){return e.shiftKey}},Ks=function(e){function t(t){return e.call(this,t)||this}var n;return a(t,e),n=t,t.prototype.supports=function(e){return null!=n.parseEventName(e)},t.prototype.addEventListener=function(e,t,r){var o=n.parseEventName(t),i=n.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return Xa().onAndCancel(e,o.domEventName,i)})},t.parseEventName=function(e){var t=e.toLowerCase().split("."),r=t.shift();if(0===t.length||"keydown"!==r&&"keyup"!==r)return null;var o=n._normalizeKey(t.pop()),i="";if(Ws.forEach(function(e){var n=t.indexOf(e);n>-1&&(t.splice(n,1),i+=e+".")}),i+=o,0!=t.length||0===o.length)return null;var a={};return a.domEventName=r,a.fullKey=i,a},t.getEventFullKey=function(e){var t="",n=Xa().getEventKey(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),Ws.forEach(function(r){r!=n&&(0,Gs[r])(e)&&(t+=r+".")}),t+=n},t.eventCallback=function(e,t,r){return function(o){n.getEventFullKey(o)===e&&r.runGuarded(function(){return t(o)})}},t._normalizeKey=function(e){switch(e){case"esc":return"escape";default:return e}},t}(ms),Js=function(){return function(){}}(),Ys=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n}return a(t,e),t.prototype.sanitize=function(e,t){if(null==t)return null;switch(e){case yt.NONE:return t;case yt.HTML:return t instanceof Xs?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"HTML"),function(e,t){var n=null;try{tt=tt||new Ke(e);var r=t?String(t):"";n=tt.getInertBodyElement(r);var 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=tt.getInertBodyElement(r)}while(r!==i);var a=new dt,s=a.sanitizeChildren(vt(n)||n);return Ge()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),s}finally{if(n)for(var u=vt(n)||n;u.firstChild;)u.removeChild(u.firstChild)}}(this._doc,String(t)));case yt.STYLE:return t instanceof eu?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"Style"),function(e){if(!(e=String(e).trim()))return"";var t=e.match(bt);return t&&$e(t[1])===t[1]||e.match(mt)&&function(e){for(var t=!0,n=!0,r=0;r<e.length;r++){var o=e.charAt(r);"'"===o&&n?t=!t:'"'===o&&t&&(n=!n)}return t&&n}(e)?e:(Ge()&&console.warn("WARNING: sanitizing unsafe style value "+e+" (see http://g.co/ng/security#xss)."),"unsafe")}(t));case yt.SCRIPT:if(t instanceof tu)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"Script"),new Error("unsafe value used in a script context");case yt.URL:return t instanceof ru||t instanceof nu?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"URL"),$e(String(t)));case yt.RESOURCE_URL:if(t instanceof ru)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+e+" (see http://g.co/ng/security#xss)")}},t.prototype.checkNotSafeValue=function(e,t){if(e instanceof $s)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 Xs(e)},t.prototype.bypassSecurityTrustStyle=function(e){return new eu(e)},t.prototype.bypassSecurityTrustScript=function(e){return new tu(e)},t.prototype.bypassSecurityTrustUrl=function(e){return new nu(e)},t.prototype.bypassSecurityTrustResourceUrl=function(e){return new ru(e)},t}(Js),$s=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}(),Xs=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.getTypeName=function(){return"HTML"},t}($s),eu=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.getTypeName=function(){return"Style"},t}($s),tu=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.getTypeName=function(){return"Script"},t}($s),nu=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.getTypeName=function(){return"URL"},t}($s),ru=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.getTypeName=function(){return"ResourceURL"},t}($s),ou=Qo(ri,"browser",[{provide:po,useValue:"browser"},{provide:fo,useValue:function(){as.makeCurrent(),fs.init()},multi:!0},{provide:Oa,useClass:cs,deps:[Ua]},{provide:Ua,useFactory:function(){return document},deps:[]}]);function iu(){return new Qe}var au=function(){function e(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}var t;return t=e,e.withServerTransition=function(e){return{ngModule:t,providers:[{provide:uo,useValue:e.appId},{provide:ls,useExisting:uo},ds]}},e}();"undefined"!=typeof window&&window;var su,uu,cu,lu=Na(Qa,[qa],function(e){return function(e){for(var t={},n=[],r=!1,o=0;o<e.length;o++){var i=e[o];i.token===Ot&&!0===i.value&&(r=!0),1073741824&i.flags&&n.push(i.token),i.index=o,t[Dn(i.token)]=i}return{factory:null,providersByKey:t,providers:e,modules:n,isRoot:r}}([dr(512,Vt,Ht,[[8,[Ya]],[3,Vt],Lt]),dr(4352,oi,"en",[]),dr(4608,Va,Ha,[oi,[2,ja]]),dr(5120,ro,ui,[Do]),dr(4608,Co,Co,[]),dr(5120,uo,co,[]),dr(5120,un,ai,[]),dr(5120,cn,si,[]),dr(4608,Js,Ys,[Ua]),dr(6144,gt,null,[Js]),dr(4608,Us,Qs,[]),dr(5120,ys,function(e,t,n,r,o,i,a,s){return[new Bs(e,t,n),new Ks(r),new qs(o,i,a,s)]},[Ua,Do,po,Ua,Ua,Us,vo,[2,Zs]]),dr(4608,gs,gs,[ys,Do]),dr(135680,_s,_s,[Ua]),dr(4608,Ss,Ss,[gs,_s,uo]),dr(6144,qt,null,[Ss]),dr(6144,bs,null,[_s]),dr(4608,Lo,Lo,[Do]),dr(1073742336,za,za,[]),dr(1024,Qe,iu,[]),dr(1024,ao,function(e){return[(t=e,ps("probe",vs),ps("coreTokens",s({},hs,(t||[]).reduce(function(e,t){return e[t.name]=t.token,e},{}))),function(){return vs})];var t},[[2,Zo]]),dr(512,so,so,[[2,ao]]),dr(131584,Ko,Ko,[Do,vo,Te,Qe,Vt,so]),dr(1073742336,ci,ci,[Ko]),dr(1073742336,au,au,[[3,au]]),dr(1073742336,Qa,Qa,[]),dr(256,Ot,!0,[]),dr(256,ii,"xlf",[])])});su=o.a,"string"!=typeof uu&&(cu=uu,uu=su[0]),uu=uu.toLowerCase().replace(/_/g,"-"),Ma[uu]=su,cu&&(Ma[uu][19]=cu),function(){if(We)throw new Error("Cannot enable prod mode after platform setup.");qe=!1}(),ou().bootstrapModuleFactory(lu).catch(function(e){return console.error(e)})}},[[0,0]]]);