-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.5536a79f2eda0e016a07.bundle.js
1 lines (1 loc) · 349 KB
/
main.5536a79f2eda0e016a07.bundle.js
1
webpackJsonp([1],{0:function(t,e,n){t.exports=n("cDNt")},"1j/l":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=Array.isArray||function(t){return t&&"number"==typeof t.length}},"2kLc":function(t,e,n){"use strict";function r(t){return t&&"function"==typeof t.schedule}function o(t){return t}var i=n("AP4T"),l=n("6Xbx"),u=function(t){function e(e,n){t.call(this),this.value=e,this.scheduler=n,this._isScalar=!0,n&&(this._isScalar=!1)}return Object(l.b)(e,t),e.create=function(t,n){return new e(t,n)},e.dispatch=function(t){var e=t.value,n=t.subscriber;t.done?n.complete():(n.next(e),n.closed||(t.done=!0,this.schedule(t)))},e.prototype._subscribe=function(t){var n=this.value,r=this.scheduler;if(r)return r.schedule(e.dispatch,0,{done:!1,value:n,subscriber:t});t.next(n),t.closed||t.complete()},e}(i.a),s=n("Ecq+"),a=function(t){function e(e,n){t.call(this),this.array=e,this.scheduler=n,n||1!==e.length||(this._isScalar=!0,this.value=e[0])}return Object(l.b)(e,t),e.create=function(t,n){return new e(t,n)},e.of=function(){for(var t=[],n=0;n<arguments.length;n++)t[n-0]=arguments[n];var o=t[t.length-1];r(o)?t.pop():o=null;var i=t.length;return i>1?new e(t,o):1===i?new u(t[0],o):new s.a(o)},e.dispatch=function(t){var e=t.array,n=t.index,r=t.subscriber;n>=t.count?r.complete():(r.next(e[n]),r.closed||(t.index=n+1,this.schedule(t)))},e.prototype._subscribe=function(t){var n=this.array,r=n.length,o=this.scheduler;if(o)return o.schedule(e.dispatch,0,{array:n,index:0,count:r,subscriber:t});for(var i=0;i<r&&!t.closed;i++)t.next(n[i]);t.complete()},e}(i.a),c=n("qgI0"),p=n("lI6h"),h=function(){function t(t,e,n){void 0===n&&(n=Number.POSITIVE_INFINITY),this.project=t,this.resultSelector=e,this.concurrent=n}return t.prototype.call=function(t,e){return e.subscribe(new f(t,this.project,this.resultSelector,this.concurrent))},t}(),f=function(t){function e(e,n,r,o){void 0===o&&(o=Number.POSITIVE_INFINITY),t.call(this,e),this.project=n,this.resultSelector=r,this.concurrent=o,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return Object(l.b)(e,t),e.prototype._next=function(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(t){return void this.destination.error(t)}this.active++,this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){this.add(Object(c.a)(this,t,e,n))},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete()},e.prototype.notifyNext=function(t,e,n,r,o){this.resultSelector?this._notifyResultSelector(t,e,n,r):this.destination.next(e)},e.prototype._notifyResultSelector=function(t,e,n,r){var o;try{o=this.resultSelector(t,e,n,r)}catch(t){return void this.destination.error(t)}this.destination.next(o)},e.prototype.notifyComplete=function(t){var e=this.buffer;this.remove(t),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(p.a);e.a=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n=Number.POSITIVE_INFINITY,l=null,u=t[t.length-1];return r(u)?(l=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof u&&(n=t.pop()),null===l&&1===t.length&&t[0]instanceof i.a?t[0]:function(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),function(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),function(r){return"number"==typeof e&&(n=e,e=null),r.lift(new h(t,e,n))}}(o,null,t)}(n)(new a(t,l))}},"6Xbx":function(t,e,n){"use strict";e.b=function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},n.d(e,"a",function(){return o});var r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++){e=arguments[n];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t}},AP4T:function(t,e,n){"use strict";function r(){}var o=n("xIGM"),i=n("E9/g"),l=n("V7AE"),u=n("grVA"),s=n("mz3w");n.d(e,"a",function(){return a});var a=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var n=new t;return n.source=this,n.operator=e,n},t.prototype.subscribe=function(t,e,n){var r=this.operator,o=function(t,e,n){if(t){if(t instanceof i.a)return t;if(t[l.a])return t[l.a]()}return t||e||n?new i.a(t,e,n):new i.a(u.a)}(t,e,n);if(r?r.call(o,this.source):o.add(this.source?this._subscribe(o):this._trySubscribe(o)),o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.syncErrorThrown=!0,t.syncErrorValue=e,t.error(e)}},t.prototype.forEach=function(t,e){var n=this;if(e||(o.a.Rx&&o.a.Rx.config&&o.a.Rx.config.Promise?e=o.a.Rx.config.Promise:o.a.Promise&&(e=o.a.Promise)),!e)throw new Error("no Promise impl found");return new e(function(e,r){var o;o=n.subscribe(function(e){if(o)try{t(e)}catch(t){r(t),o.unsubscribe()}else t(e)},r,e)})},t.prototype._subscribe=function(t){return this.source.subscribe(t)},t.prototype[s.a]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return 0===t.length?this:function(t){return t?1===t.length?t[0]:function(e){return t.reduce(function(t,e){return e(t)},e)}:r}(t)(this)},t.prototype.toPromise=function(t){var e=this;if(t||(o.a.Rx&&o.a.Rx.config&&o.a.Rx.config.Promise?t=o.a.Rx.config.Promise:o.a.Promise&&(t=o.a.Promise)),!t)throw new Error("no Promise impl found");return new t(function(t,n){var r;e.subscribe(function(t){return r=t},function(t){return n(t)},function(){return t(r)})})},t.create=function(e){return new t(e)},t}()},B1iP:function(t,e,n){"use strict";e.a=function(t){return"function"==typeof t}},"E9/g":function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n("6Xbx"),o=n("B1iP"),i=n("qLnt"),l=n("grVA"),u=n("V7AE"),s=function(t){function e(n,r,o){switch(t.call(this),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=l.a;break;case 1:if(!n){this.destination=l.a;break}if("object"==typeof n){n instanceof e?(this.destination=n,this.destination.add(this)):(this.syncErrorThrowable=!0,this.destination=new a(this,n));break}default:this.syncErrorThrowable=!0,this.destination=new a(this,n,r,o)}}return Object(r.b)(e,t),e.prototype[u.a]=function(){return this},e.create=function(t,n,r){var o=new e(t,n,r);return o.syncErrorThrowable=!1,o},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e.prototype._unsubscribeAndRecycle=function(){var t=this._parent,e=this._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=t,this._parents=e,this},e}(i.a),a=function(t){function e(e,n,r,i){t.call(this),this._parentSubscriber=e;var u,s=this;Object(o.a)(n)?u=n:n&&(u=n.next,r=n.error,i=n.complete,n!==l.a&&(s=Object.create(n),Object(o.a)(s.unsubscribe)&&this.add(s.unsubscribe.bind(s)),s.unsubscribe=this.unsubscribe.bind(this))),this._context=s,this._next=u,this._error=r,this._complete=i}return Object(r.b)(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},e.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber;if(this._error)e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else{if(!e.syncErrorThrowable)throw this.unsubscribe(),t;e.syncErrorValue=t,e.syncErrorThrown=!0,this.unsubscribe()}}},e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var n=function(){return t._complete.call(t._context)};e.syncErrorThrowable?(this.__tryOrSetError(e,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(t){throw this.unsubscribe(),t}},e.prototype.__tryOrSetError=function(t,e,n){try{e.call(this._context,n)}catch(e){return t.syncErrorValue=e,t.syncErrorThrown=!0,!0}return!1},e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},e}(s)},"Ecq+":function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("6Xbx"),o=function(t){function e(e){t.call(this),this.scheduler=e}return Object(r.b)(e,t),e.create=function(t){return new e(t)},e.dispatch=function(t){t.subscriber.complete()},e.prototype._subscribe=function(t){var n=this.scheduler;if(n)return n.schedule(e.dispatch,0,{subscriber:t});t.complete()},e}(n("AP4T").a)},LMZF:function(t,e,n){"use strict";(function(t){function r(t,e,n){function r(){function t(t,e,n){for(var r=t.hasOwnProperty(xn)?t[xn]:Object.defineProperty(t,xn,{value:[]})[xn];r.length<=n;)r.push(null);return(r[n]=r[n]||[]).push(i),t}for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(this instanceof r)return o.apply(this,e),this;var i=new((l=r).bind.apply(l,[void 0].concat(e)));return t.annotation=i,t;var l}var o=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(t){var r=t.apply(void 0,e);for(var o in r)this[o]=r[o]}}}(e);return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r}function o(){if(!Ln){var t=Bn.Symbol;if(t&&t.iterator)Ln=t.iterator;else for(var e=Object.getOwnPropertyNames(Map.prototype),n=0;n<e.length;++n){var r=e[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(Ln=r)}}return Ln}function i(t){Zone.current.scheduleMicroTask("scheduleMicrotask",t)}function l(t,e){return t===e||"number"==typeof t&&"number"==typeof e&&isNaN(t)&&isNaN(e)}function u(t){if("string"==typeof t)return t;if(t instanceof Array)return"["+t.map(u).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return""+t.overriddenName;if(t.name)return""+t.name;var e=t.toString();if(null==e)return""+e;var n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function s(t){return t.__forward_ref__=s,t.toString=function(){return u(this())},t}function a(t){return"function"==typeof t&&t.hasOwnProperty("__forward_ref__")&&t.__forward_ref__===s?t():t}function c(t){return d("Cannot mix multi providers and regular providers",t)}function p(t,e){if(e)if((e=a(e))instanceof Array)for(var n=0;n<e.length;n++)p(t,e[n]);else{if("function"==typeof e)throw d("Function/Class not supported",e);if(!e||"object"!=typeof e||!e.provide)throw d("Unexpected provider",e);var r=a(e.provide),o=function(t){var e=function(t){var e=Gn,n=t.deps;if(n&&n.length){e=[];for(var r=0;r<n.length;r++){var o=6;if((s=a(n[r]))instanceof Array)for(var i=0,l=s;i<l.length;i++){var u=l[i];u instanceof Fn||u==Fn?o|=1:u instanceof Mn||u==Mn?o&=-3:u instanceof Rn||u==Rn?o&=-5:s=u instanceof Nn?u.token:a(u)}e.push({token:s,options:o})}}else if(t.useExisting){var s;e=[{token:s=a(t.useExisting),options:6}]}else if(!(n||$n in t))throw d("'deps' required",t);return e}(t),n=zn,r=Gn,o=!1,i=a(t.provide);if($n in t)r=t.useValue;else if(t.useFactory)n=t.useFactory;else if(t.useExisting);else if(t.useClass)o=!0,n=a(t.useClass);else{if("function"!=typeof i)throw d("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",t);o=!0,n=i}return{deps:e,fn:n,useNew:o,value:r}}(e);if(!0===e.multi){var i=t.get(r);if(i){if(i.fn!==Kn)throw c(r)}else t.set(r,i={token:e.provide,deps:[],useNew:!1,fn:Kn,value:Gn});i.deps.push({token:r=e,options:6})}var l=t.get(r);if(l&&l.fn==Kn)throw c(r);t.set(r,o)}}function h(t,e,n,r,o){try{return function(t,e,n,r,o){var i;if(e){if((i=e.value)==qn)throw Error(tr+"Circular dependency");if(i===Gn){e.value=qn;var l=e.useNew,u=e.fn,s=e.deps,a=Gn;if(s.length){a=[];for(var c=0;c<s.length;c++){var p=s[c],f=p.options,d=2&f?n.get(p.token):void 0;a.push(h(p.token,d,n,d||4&f?r:Yn,1&f?null:Qn.THROW_IF_NOT_FOUND))}}e.value=i=l?new((y=u).bind.apply(y,[void 0].concat(a))):u.apply(void 0,a)}}else i=r.get(t,o);return i;var y}(t,e,n,r,o)}catch(n){throw n instanceof Error||(n=new Error(n)),(n[Xn]=n[Xn]||[]).unshift(t),e&&e.value==qn&&(e.value=Gn),n}}function f(t,e){t=t&&"\n"===t.charAt(0)&&t.charAt(1)==tr?t.substr(2):t;var n=u(e);if(e instanceof Array)n=e.map(u).join(" -> ");else if("object"==typeof e){var r=[];for(var o in e)if(e.hasOwnProperty(o)){var i=e[o];r.push(o+":"+("string"==typeof i?JSON.stringify(i):u(i)))}n="{"+r.join(", ")+"}"}return"StaticInjectorError["+n+"]: "+t.replace(Jn,"\n ")}function d(t,e){return new Error(f(t,e))}function y(t){return t[nr]}function m(t){return t[rr]}function g(t){return!!t&&"function"==typeof t.then}function v(t){return!!t&&"function"==typeof t.subscribe}function _(){return""+b()+b()+b()}function b(){return String.fromCharCode(97+Math.floor(25*Math.random()))}function w(){throw new Error("Runtime compiler is not loaded")}function C(t){var e=Error("No component factory found for "+u(t)+". Did you add it to @NgModule.entryComponents?");return e[mr]=t,e}function E(t,e){return null}function S(){}function P(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(function(){return t.onStable.emit(null)})}finally{t.isStable=!0}}}function T(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function k(t){t._nesting--,P(t)}function O(t){Vr=t}function x(){if(Nr)throw new Error("Cannot enable prod mode after platform setup.");Ar=!1}function I(){return Nr=!0,Ar}function V(t,e,n){void 0===n&&(n=[]);var r=new On("Platform: "+e);return function(e){void 0===e&&(e=[]);var o=A();return o&&!o.injector.get(Fr,!1)||(t?t(n.concat(e).concat({provide:r,useValue:!0})):function(t){if(_n&&!_n.destroyed&&!_n.injector.get(Fr,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");_n=t.get(Mr);var e=t.get(ar,null);e&&e.forEach(function(t){return t()})}(Qn.create(n.concat(e).concat({provide:r,useValue:!0})))),function(t){var e=A();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(r)}}function A(){return _n&&!_n.destroyed?_n:null}function N(t,e){return t=Array.isArray(e)?e.reduce(N,t):Object(En.a)({},t,e)}function F(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}function R(t){return t.reduce(function(t,e){var n=Array.isArray(e)?R(e):e;return t.concat(n)},[])}function M(t,e,n){t.childNodes.forEach(function(t){t instanceof qr&&(e(t)&&n.push(t),M(t,e,n))})}function D(t,e,n){t instanceof qr&&t.childNodes.forEach(function(t){e(t)&&n.push(t),t instanceof qr&&D(t,e,n)})}function j(t){return Kr.get(t)||null}function B(t){Kr.set(t.nativeNode,t)}function L(t,e){var n=U(t),r=U(e);return n&&r?function(e,n,r){for(var i=t[o()](),l=n[o()]();;){var u=i.next(),s=l.next();if(u.done&&s.done)return!0;if(u.done||s.done)return!1;if(!r(u.value,s.value))return!1}}(0,e,L):!(n||!t||"object"!=typeof t&&"function"!=typeof t||r||!e||"object"!=typeof e&&"function"!=typeof e)||l(t,e)}function U(t){return!!H(t)&&(Array.isArray(t)||!(t instanceof Map)&&o()in t)}function H(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function Q(t,e,n){var r=t.previousIndex;if(null===r)return r;var o=0;return n&&r<n.length&&(o=n[r]),r+e+o}function z(){return so}function G(){return ao}function q(t){return t||"en-US"}function K(t,e,n){var r=t.state,o=1792&r;return o===e?(t.state=-1793&r|n,t.initIndex=-1,!0):o===n}function W(t,e,n){return(1792&t.state)===e&&t.initIndex<=n&&(t.initIndex=n+1,!0)}function Z(t,e){return t.nodes[e]}function $(t,e){return t.nodes[e]}function X(t,e){return t.nodes[e]}function Y(t,e){return t.nodes[e]}function J(t,e){return t.nodes[e]}function tt(t,e,n,r){var o="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+e+"'. Current value: '"+n+"'.";return r&&(o+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),function(t,e){var n=new Error(t);return et(n,e),n}(o,t)}function et(t,e){t[nr]=e,t[or]=e.logError.bind(e)}function nt(t){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+t)}function rt(t){var e=vo.get(t);return e||(e=u(t)+"_"+vo.size,vo.set(t,e)),e}function ot(t,e,n,r){if(r instanceof Wr){r=r.wrapped;var o=t.def.nodes[e].bindingIndex+n,i=t.oldValues[o];i instanceof Wr&&(i=i.wrapped),t.oldValues[o]=new Wr(i)}return r}function it(t){return{id:_o,styles:t.styles,encapsulation:t.encapsulation,data:t.data}}function lt(t,e,n,r){return!(!(2&t.state)&&l(t.oldValues[e.bindingIndex+n],r))}function ut(t,e,n,r){return!!lt(t,e,n,r)&&(t.oldValues[e.bindingIndex+n]=r,!0)}function st(t,e,n,r){var o=t.oldValues[e.bindingIndex+n];if(1&t.state||!L(o,r))throw tt(mo.createDebugContext(t,e.nodeIndex),o,r,0!=(1&t.state))}function at(t){for(var e=t;e;)2&e.def.flags&&(e.state|=8),e=e.viewContainerParent||e.parent}function ct(t,e){for(var n=t;n&&n!==e;)n.state|=64,n=n.viewContainerParent||n.parent}function pt(t,e,n,r){try{return at(33554432&t.def.nodes[e].flags?$(t,e).componentView:t),mo.handleEvent(t,e,n,r)}catch(e){t.root.errorHandler.handleError(e)}}function ht(t){return t.parent?$(t.parent,t.parentNodeDef.nodeIndex):null}function ft(t){return t.parent?t.parentNodeDef.parent:null}function dt(t,e){switch(201347067&e.flags){case 1:return $(t,e.nodeIndex).renderElement;case 2:return Z(t,e.nodeIndex).renderText}}function yt(t,e){return t?t+":"+e:e}function mt(t){return!!t.parent&&!!(32768&t.parentNodeDef.flags)}function gt(t){return!(!t.parent||32768&t.parentNodeDef.flags)}function vt(t){var e={},n=0,r={};return t&&t.forEach(function(t){var o=t[0],i=t[1];"number"==typeof o?(e[o]=i,n|=1<<o%32):r[o]=i}),{matchedQueries:e,references:r,matchedQueryIds:n}}function _t(t){return t.map(function(t){var e,n;return Array.isArray(t)?(n=t[0],e=t[1]):(n=0,e=t),{flags:n,token:e,tokenKey:rt(e)}})}function bt(t,e,n){var r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&r.element.componentRendererType.encapsulation===In.Native?$(t,n.renderParent.nodeIndex).renderElement:void 0:e}function wt(t){var e=Co.get(t);return e||((e=t(function(){return go})).factory=t,Co.set(t,e)),e}function Ct(t,e,n,r,o){3===e&&(n=t.renderer.parentNode(dt(t,t.def.lastRenderRootNode))),Et(t,e,0,t.def.nodes.length-1,n,r,o)}function Et(t,e,n,r,o,i,l){for(var u=n;u<=r;u++){var s=t.def.nodes[u];11&s.flags&&Pt(t,s,e,o,i,l),u+=s.childCount}}function St(t,e,n,r,o,i){for(var l=t;l&&!mt(l);)l=l.parent;for(var u=l.parent,s=ft(l),a=s.nodeIndex+s.childCount,c=s.nodeIndex+1;c<=a;c++){var p=u.def.nodes[c];p.ngContentIndex===e&&Pt(u,p,n,r,o,i),c+=p.childCount}if(!u.parent){var h=t.root.projectableNodes[e];if(h)for(c=0;c<h.length;c++)Tt(t,h[c],n,r,o,i)}}function Pt(t,e,n,r,o,i){if(8&e.flags)St(t,e.ngContent.index,n,r,o,i);else{var l=dt(t,e);if(3===n&&33554432&e.flags&&48&e.bindingFlags?(16&e.bindingFlags&&Tt(t,l,n,r,o,i),32&e.bindingFlags&&Tt($(t,e.nodeIndex).componentView,l,n,r,o,i)):Tt(t,l,n,r,o,i),16777216&e.flags)for(var u=$(t,e.nodeIndex).viewContainer._embeddedViews,s=0;s<u.length;s++)Ct(u[s],n,r,o,i);1&e.flags&&!e.element.name&&Et(t,n,e.nodeIndex+1,e.nodeIndex+e.childCount,r,o,i)}}function Tt(t,e,n,r,o,i){var l=t.renderer;switch(n){case 1:l.appendChild(r,e);break;case 2:l.insertBefore(r,e,o);break;case 3:l.removeChild(r,e);break;case 0:i.push(e)}}function kt(t){if(":"===t[0]){var e=t.match(Eo);return[e[1],e[2]]}return["",t]}function Ot(t){for(var e=0,n=0;n<t.length;n++)e|=t[n].flags;return e}function xt(t,e,n,r,o,i,l,u,s,a,c,p,h,f,d,y,m,g,v,_){switch(t){case 1:return e+It(n)+r;case 2:return e+It(n)+r+It(o)+i;case 3:return e+It(n)+r+It(o)+i+It(l)+u;case 4:return e+It(n)+r+It(o)+i+It(l)+u+It(s)+a;case 5:return e+It(n)+r+It(o)+i+It(l)+u+It(s)+a+It(c)+p;case 6:return e+It(n)+r+It(o)+i+It(l)+u+It(s)+a+It(c)+p+It(h)+f;case 7:return e+It(n)+r+It(o)+i+It(l)+u+It(s)+a+It(c)+p+It(h)+f+It(d)+y;case 8:return e+It(n)+r+It(o)+i+It(l)+u+It(s)+a+It(c)+p+It(h)+f+It(d)+y+It(m)+g;case 9:return e+It(n)+r+It(o)+i+It(l)+u+It(s)+a+It(c)+p+It(h)+f+It(d)+y+It(m)+g+It(v)+_;default:throw new Error("Does not support more than 9 expressions")}}function It(t){return null!=t?t.toString():""}function Vt(t,e,n,r,o,i){t|=1;var l=vt(e);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:t,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:l.matchedQueries,matchedQueryIds:l.matchedQueryIds,references:l.references,ngContentIndex:n,childCount:r,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:i?wt(i):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:o||go},provider:null,text:null,query:null,ngContent:null}}function At(t,e,n,r,o,i,l,u,s,a,c,p){void 0===l&&(l=[]),a||(a=go);var h=vt(n),f=h.matchedQueries,d=h.references,y=h.matchedQueryIds,m=null,g=null;i&&(m=(I=kt(i))[0],g=I[1]),u=u||[];for(var v=new Array(u.length),_=0;_<u.length;_++){var b=u[_],w=b[0],C=b[2],E=kt(b[1]),S=E[1],P=void 0,T=void 0;switch(15&w){case 4:T=C;break;case 1:case 8:P=C}v[_]={flags:w,ns:E[0],name:S,nonMinifiedName:S,securityContext:P,suffix:T}}s=s||[];var k=new Array(s.length);for(_=0;_<s.length;_++){var O=s[_];k[_]={type:0,target:O[0],eventName:O[1],propName:null}}var x=(l=l||[]).map(function(t){var e=t[1],n=kt(t[0]);return[n[0],n[1],e]});return p=function(t){if(t&&t.id===_o){var e=null!=t.encapsulation&&t.encapsulation!==In.None||t.styles.length||Object.keys(t.data).length;t.id=e?"c"+wo++:bo}return t&&t.id===bo&&(t=null),t||null}(p),c&&(e|=33554432),e|=1,{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:f,matchedQueryIds:y,references:d,ngContentIndex:r,childCount:o,bindings:v,bindingFlags:Ot(v),outputs:k,element:{ns:m,name:g,attrs:x,template:null,componentProvider:null,componentView:c||null,componentRendererType:p,publicProviders:null,allProviders:null,handleEvent:a||go},provider:null,text:null,query:null,ngContent:null};var I}function Nt(t,e,n){var r,o=n.element,i=t.root.selectorOrNode,l=t.renderer;if(t.parent||!i){r=o.name?l.createElement(o.name,o.ns):l.createComment("");var u=bt(t,e,n);u&&l.appendChild(u,r)}else r=l.selectRootElement(i);if(o.attrs)for(var s=0;s<o.attrs.length;s++){var a=o.attrs[s];l.setAttribute(r,a[1],a[2],a[0])}return r}function Ft(t,e,n,r){for(var o=0;o<n.outputs.length;o++){var i=n.outputs[o],l=function(t,e,n){return function(r){return pt(t,e,n,r)}}(t,n.nodeIndex,yt(i.target,i.eventName)),u=i.target,s=t;"component"===i.target&&(u=null,s=e);var a=s.renderer.listen(u||r,i.eventName,l);t.disposables[n.outputIndex+o]=a}}function Rt(t,e,n,r){if(!ut(t,e,n,r))return!1;var o=e.bindings[n],i=$(t,e.nodeIndex),l=i.renderElement,u=o.name;switch(15&o.flags){case 1:!function(t,e,n,r,i,l){var u=o.securityContext,s=u?t.root.sanitizer.sanitize(u,l):l;s=null!=s?s.toString():null;var a=t.renderer;null!=l?a.setAttribute(n,i,s,r):a.removeAttribute(n,i,r)}(t,0,l,o.ns,u,r);break;case 2:!function(e,n,o,i){var l=t.renderer;r?l.addClass(n,o):l.removeClass(n,o)}(0,l,u);break;case 4:!function(t,e,n,o,i){var l=t.root.sanitizer.sanitize(fo.STYLE,r);if(null!=l){l=l.toString();var u=e.suffix;null!=u&&(l+=u)}else l=null;var s=t.renderer;null!=l?s.setStyle(n,o,l):s.removeStyle(n,o)}(t,o,l,u);break;case 8:!function(t,e,n,r,i){var l=o.securityContext,u=l?t.root.sanitizer.sanitize(l,i):i;t.renderer.setProperty(n,r,u)}(33554432&e.flags&&32&o.flags?i.componentView:t,0,l,u,r)}return!0}function Mt(t,e,n,r){return n=a(n),{index:-1,deps:_t(r),flags:t,token:e,value:n}}function Dt(t){for(var e={},n=0;n<t.length;n++){var r=t[n];r.index=n,e[rt(r.token)]=r}return{factory:null,providersByKey:e,providers:t}}function jt(t,e,n){if(void 0===n&&(n=Qn.THROW_IF_NOT_FOUND),8&e.flags)return e.token;if(2&e.flags&&(n=null),1&e.flags)return t._parent.get(e.token,n);var r=e.tokenKey;switch(r){case Po:case To:return t}var o=t._def.providersByKey[r];if(o){var i=t._providers[o.index];return void 0===i&&(i=t._providers[o.index]=Bt(t,o)),i===So?void 0:i}return t._parent.get(e.token,n)}function Bt(t,e){var n;switch(201347067&e.flags){case 512:n=function(t,e,n){var r=n.length;switch(r){case 0:return new e;case 1:return new e(jt(t,n[0]));case 2:return new e(jt(t,n[0]),jt(t,n[1]));case 3:return new e(jt(t,n[0]),jt(t,n[1]),jt(t,n[2]));default:for(var o=new Array(r),i=0;i<r;i++)o[i]=jt(t,n[i]);return new(e.bind.apply(e,[void 0].concat(o)))}}(t,e.value,e.deps);break;case 1024:n=function(t,e,n){var r=n.length;switch(r){case 0:return e();case 1:return e(jt(t,n[0]));case 2:return e(jt(t,n[0]),jt(t,n[1]));case 3:return e(jt(t,n[0]),jt(t,n[1]),jt(t,n[2]));default:for(var o=Array(r),i=0;i<r;i++)o[i]=jt(t,n[i]);return e.apply(void 0,o)}}(t,e.value,e.deps);break;case 2048:n=jt(t,e.deps[0]);break;case 256:n=e.value}return void 0===n?So:n}function Lt(t,e){var n=t.viewContainer._embeddedViews;if((null==e||e>=n.length)&&(e=n.length-1),e<0)return null;var r=n[e];return r.viewContainerParent=null,zt(n,e),mo.dirtyParentQueries(r),Ht(r),r}function Ut(t,e,n){var r=e?dt(e,e.def.lastRenderRootNode):t.renderElement;Ct(n,2,n.renderer.parentNode(r),n.renderer.nextSibling(r),void 0)}function Ht(t){Ct(t,3,null,null,void 0)}function Qt(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function zt(t,e){e>=t.length-1?t.pop():t.splice(e,1)}function Gt(t,e,n,r,o,i){return new Oo(t,e,n,r,o,i)}function qt(t,e,n){return new Io(t,e,n)}function Kt(t){return new Vo(t)}function Wt(t,e){return new Ao(t,e)}function Zt(t,e){return new No(t,e)}function $t(t,e){var n=t.def.nodes[e];if(1&n.flags){var r=$(t,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return Z(t,n.nodeIndex).renderText;if(20240&n.flags)return X(t,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+e)}function Xt(t){return new Fo(t.renderer)}function Yt(t,e,n,r){return new Ro(t,e,n,r)}function Jt(t,e,n,r,o,i,l,u){var s=[];if(l)for(var a in l){var c=l[a];s[c[0]]={flags:8,name:a,nonMinifiedName:c[1],ns:null,securityContext:null,suffix:null}}var p=[];if(u)for(var h in u)p.push({type:1,propName:h,target:null,eventName:u[h]});return e|=16384,ne(t,e,n,r,o,o,i,s,p)}function te(t,e,n){return t|=16,ne(-1,t,null,0,e,e,n)}function ee(t,e,n,r,o){return ne(-1,t,e,0,n,r,o)}function ne(t,e,n,r,o,i,l,u,s){var c=vt(n),p=c.matchedQueries,h=c.references,f=c.matchedQueryIds;s||(s=[]),u||(u=[]),i=a(i);var d=_t(l);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:p,matchedQueryIds:f,references:h,ngContentIndex:-1,childCount:r,bindings:u,bindingFlags:Ot(u),outputs:s,element:null,provider:{token:o,value:i,deps:d},text:null,query:null,ngContent:null}}function re(t,e){return le(t,e)}function oe(t,e){for(var n=t;n.parent&&!mt(n);)n=n.parent;return ue(n.parent,ft(n),!0,e.provider.value,e.provider.deps)}function ie(t,e){var n=ue(t,e.parent,(32768&e.flags)>0,e.provider.value,e.provider.deps);if(e.outputs.length)for(var r=0;r<e.outputs.length;r++){var o=e.outputs[r],i=n[o.propName].subscribe(function(t,e,n){return function(r){return pt(t,e,n,r)}}(t,e.parent.nodeIndex,o.eventName));t.disposables[e.outputIndex+r]=i.unsubscribe.bind(i)}return n}function le(t,e){var n=(8192&e.flags)>0,r=e.provider;switch(201347067&e.flags){case 512:return ue(t,e.parent,n,r.value,r.deps);case 1024:return function(t,e,n,r,o){var i=o.length;switch(i){case 0:return r();case 1:return r(se(t,e,n,o[0]));case 2:return r(se(t,e,n,o[0]),se(t,e,n,o[1]));case 3:return r(se(t,e,n,o[0]),se(t,e,n,o[1]),se(t,e,n,o[2]));default:for(var l=Array(i),u=0;u<i;u++)l[u]=se(t,e,n,o[u]);return r.apply(void 0,l)}}(t,e.parent,n,r.value,r.deps);case 2048:return se(t,e.parent,n,r.deps[0]);case 256:return r.value}}function ue(t,e,n,r,o){var i=o.length;switch(i){case 0:return new r;case 1:return new r(se(t,e,n,o[0]));case 2:return new r(se(t,e,n,o[0]),se(t,e,n,o[1]));case 3:return new r(se(t,e,n,o[0]),se(t,e,n,o[1]),se(t,e,n,o[2]));default:for(var l=new Array(i),u=0;u<i;u++)l[u]=se(t,e,n,o[u]);return new(r.bind.apply(r,[void 0].concat(l)))}}function se(t,e,n,r,o){if(void 0===o&&(o=Qn.THROW_IF_NOT_FOUND),8&r.flags)return r.token;var i=t;2&r.flags&&(o=null);var l=r.tokenKey;for(l===Uo&&(n=!(!e||!e.element.componentView)),e&&1&r.flags&&(n=!1,e=e.parent);t;){if(e)switch(l){case Mo:return Xt(ae(t,e,n));case Do:return ae(t,e,n).renderer;case jo:return new Ur($(t,e.nodeIndex).renderElement);case Bo:return $(t,e.nodeIndex).viewContainer;case Lo:if(e.element.template)return $(t,e.nodeIndex).template;break;case Uo:return Kt(ae(t,e,n));case Ho:return Zt(t,e);default:var u=(n?e.element.allProviders:e.element.publicProviders)[l];if(u){var s=X(t,u.nodeIndex);return s||(s={instance:le(t,u)},t.nodes[u.nodeIndex]=s),s.instance}}n=mt(t),e=ft(t),t=t.parent}var a=i.root.injector.get(r.token,Qo);return a!==Qo||o===Qo?a:i.root.ngModule.injector.get(r.token,o)}function ae(t,e,n){var r;if(n)r=$(t,e.nodeIndex).componentView;else for(r=t;r.parent&&!mt(r);)r=r.parent;return r}function ce(t,e,n,r,o,i){if(32768&n.flags){var l=$(t,n.parent.nodeIndex).componentView;2&l.def.flags&&(l.state|=8)}if(e.instance[n.bindings[r].name]=o,524288&n.flags){i=i||{};var u=t.oldValues[n.bindingIndex+r];u instanceof Wr&&(u=u.wrapped),i[n.bindings[r].nonMinifiedName]=new Zr(u,o,0!=(2&t.state))}return t.oldValues[n.bindingIndex+r]=o,i}function pe(t,e){if(t.def.nodeFlags&e)for(var n=t.def.nodes,r=0,o=0;o<n.length;o++){var i=n[o],l=i.parent;for(!l&&i.flags&e&&he(t,o,i.flags&e,r++),0==(i.childFlags&e)&&(o+=i.childCount);l&&1&l.flags&&o===l.nodeIndex+l.childCount;)l.directChildFlags&e&&(r=function(t,e,n,r){for(var o=e.nodeIndex+1;o<=e.nodeIndex+e.childCount;o++){var i=t.def.nodes[o];i.flags&n&&he(t,o,i.flags&n,r++),o+=i.childCount}return r}(t,l,e,r)),l=l.parent}}function he(t,e,n,r){var o=X(t,e);if(o){var i=o.instance;i&&(mo.setCurrentNode(t,e),1048576&n&&W(t,512,r)&&i.ngAfterContentInit(),2097152&n&&i.ngAfterContentChecked(),4194304&n&&W(t,768,r)&&i.ngAfterViewInit(),8388608&n&&i.ngAfterViewChecked(),131072&n&&i.ngOnDestroy())}}function fe(){return new Hr}function de(t){for(var e=t.def.nodeMatchedQueries;t.parent&>(t);){var n=t.parentNodeDef;t=t.parent;for(var r=n.nodeIndex+n.childCount,o=0;o<=r;o++)67108864&(i=t.def.nodes[o]).flags&&536870912&i.flags&&(i.query.filterId&e)===i.query.filterId&&J(t,o).setDirty(),!(1&i.flags&&o+i.childCount<n.nodeIndex)&&67108864&i.childFlags&&536870912&i.childFlags||(o+=i.childCount)}if(134217728&t.def.nodeFlags)for(o=0;o<t.def.nodes.length;o++){var i;134217728&(i=t.def.nodes[o]).flags&&536870912&i.flags&&J(t,o).setDirty(),o+=i.childCount}}function ye(t,e){var n=J(t,e.nodeIndex);if(n.dirty){var r,o=void 0;if(67108864&e.flags){var i=e.parent.parent;o=me(t,i.nodeIndex,i.nodeIndex+i.childCount,e.query,[]),r=X(t,e.parent.nodeIndex).instance}else 134217728&e.flags&&(o=me(t,0,t.def.nodes.length-1,e.query,[]),r=t.component);n.reset(o);for(var l=e.query.bindings,u=!1,s=0;s<l.length;s++){var a=l[s],c=void 0;switch(a.bindingType){case 0:c=n.first;break;case 1:c=n,u=!0}r[a.propName]=c}u&&n.notifyOnChanges()}}function me(t,e,n,r,o){for(var i=e;i<=n;i++){var l=t.def.nodes[i],u=l.matchedQueries[r.id];if(null!=u&&o.push(ge(t,l,u)),1&l.flags&&l.element.template&&(l.element.template.nodeMatchedQueries&r.filterId)===r.filterId){var s=$(t,i);if((l.childMatchedQueries&r.filterId)===r.filterId&&(me(t,i+1,i+l.childCount,r,o),i+=l.childCount),16777216&l.flags)for(var a=s.viewContainer._embeddedViews,c=0;c<a.length;c++){var p=a[c],h=ht(p);h&&h===s&&me(p,0,p.def.nodes.length-1,r,o)}var f=s.template._projectedViews;if(f)for(c=0;c<f.length;c++){var d=f[c];me(d,0,d.def.nodes.length-1,r,o)}}(l.childMatchedQueries&r.filterId)!==r.filterId&&(i+=l.childCount)}return o}function ge(t,e,n){if(null!=n)switch(n){case 1:return $(t,e.nodeIndex).renderElement;case 0:return new Ur($(t,e.nodeIndex).renderElement);case 2:return $(t,e.nodeIndex).template;case 3:return $(t,e.nodeIndex).viewContainer;case 4:return X(t,e.nodeIndex).instance}}function ve(t,e,n){var r=bt(t,e,n);r&&St(t,n.ngContent.index,1,r,null,void 0)}function _e(t,e){return function(t,e,n){for(var r=new Array(n.length),o=0;o<n.length;o++){var i=n[o];r[o]={flags:8,name:i,ns:null,nonMinifiedName:i,securityContext:null,suffix:null}}return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:128,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:-1,childCount:0,bindings:r,bindingFlags:Ot(r),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}(0,t,new Array(e+1))}function be(t,e,n){for(var r=new Array(n.length-1),o=1;o<n.length;o++)r[o-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[o]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:e,childCount:0,bindings:r,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}}function we(t,e,n){var r,o=t.renderer;r=o.createText(n.text.prefix);var i=bt(t,e,n);return i&&o.appendChild(i,r),{renderText:r}}function Ce(t,e){return(null!=t?t.toString():"")+e.suffix}function Ee(t,e,n,r){for(var o=0,i=0,l=0,u=0,s=0,a=null,c=null,p=!1,h=!1,f=null,d=0;d<e.length;d++){var y=e[d];if(y.nodeIndex=d,y.parent=a,y.bindingIndex=o,y.outputIndex=i,y.renderParent=c,l|=y.flags,s|=y.matchedQueryIds,y.element){var m=y.element;m.publicProviders=a?a.element.publicProviders:Object.create(null),m.allProviders=m.publicProviders,p=!1,h=!1,y.element.template&&(s|=y.element.template.nodeMatchedQueries)}if(function(t,e,n){var r=e.element&&e.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+e.nodeIndex+"!")}if(20224&e.flags&&0==(1&(t?t.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+e.nodeIndex+"!");if(e.query){if(67108864&e.flags&&(!t||0==(16384&t.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+e.nodeIndex+"!");if(134217728&e.flags&&t)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+e.nodeIndex+"!")}if(e.childCount){var o=t?t.nodeIndex+t.childCount:n-1;if(e.nodeIndex<=o&&e.nodeIndex+e.childCount>o)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+e.nodeIndex+"!")}}(a,y,e.length),o+=y.bindings.length,i+=y.outputs.length,!c&&3&y.flags&&(f=y),20224&y.flags){p||(p=!0,a.element.publicProviders=Object.create(a.element.publicProviders),a.element.allProviders=a.element.publicProviders);var g=0!=(32768&y.flags);0==(8192&y.flags)||g?a.element.publicProviders[rt(y.provider.token)]=y:(h||(h=!0,a.element.allProviders=Object.create(a.element.publicProviders)),a.element.allProviders[rt(y.provider.token)]=y),g&&(a.element.componentProvider=y)}if(a?(a.childFlags|=y.flags,a.directChildFlags|=y.flags,a.childMatchedQueries|=y.matchedQueryIds,y.element&&y.element.template&&(a.childMatchedQueries|=y.element.template.nodeMatchedQueries)):u|=y.flags,y.childCount>0)a=y,Se(y)||(c=y);else for(;a&&d===a.nodeIndex+a.childCount;){var v=a.parent;v&&(v.childFlags|=a.childFlags,v.childMatchedQueries|=a.childMatchedQueries),c=(a=v)&&Se(a)?a.renderParent:a}}return{factory:null,nodeFlags:l,rootNodeFlags:u,nodeMatchedQueries:s,flags:t,nodes:e,updateDirectives:n||go,updateRenderer:r||go,handleEvent:function(t,n,r,o){return e[n].element.handleEvent(t,r,o)},bindingCount:o,outputCount:i,lastRenderRootNode:f}}function Se(t){return 0!=(1&t.flags)&&null===t.element.name}function Pe(t,e,n,r){var o=Oe(t.root,t.renderer,t,e,n);return xe(o,t.component,r),Ie(o),o}function Te(t,e,n){var r=Oe(t,t.renderer,null,null,e);return xe(r,n,n),Ie(r),r}function ke(t,e,n,r){var o,i=e.element.componentRendererType;return o=i?t.root.rendererFactory.createRenderer(r,i):t.root.renderer,Oe(t.root,o,t,e.element.componentProvider,n)}function Oe(t,e,n,r,o){var i=new Array(o.nodes.length),l=o.outputCount?new Array(o.outputCount):null;return{def:o,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:i,state:13,root:t,renderer:e,oldValues:new Array(o.bindingCount),disposables:l,initIndex:-1}}function xe(t,e,n){t.component=e,t.context=n}function Ie(t){var e;mt(t)&&(e=$(t.parent,t.parentNodeDef.parent.nodeIndex).renderElement);for(var n=t.def,r=t.nodes,o=0;o<n.nodes.length;o++){var i=n.nodes[o];mo.setCurrentNode(t,o);var l=void 0;switch(201347067&i.flags){case 1:var u=Nt(t,e,i),s=void 0;if(33554432&i.flags){var a=wt(i.element.componentView);s=mo.createComponentView(t,i,a,u)}Ft(t,s,i,u),l={renderElement:u,componentView:s,viewContainer:null,template:i.element.template?Wt(t,i):void 0},16777216&i.flags&&(l.viewContainer=qt(t,i,l));break;case 2:l=we(t,e,i);break;case 512:case 1024:case 2048:case 256:(l=r[o])||4096&i.flags||(l={instance:re(t,i)});break;case 16:l={instance:oe(t,i)};break;case 16384:(l=r[o])||(l={instance:ie(t,i)}),32768&i.flags&&xe($(t,i.parent.nodeIndex).componentView,l.instance,l.instance);break;case 32:case 64:case 128:l={value:void 0};break;case 67108864:case 134217728:l=fe();break;case 8:ve(t,e,i),l=void 0}r[o]=l}je(t,zo.CreateViewNodes),He(t,201326592,268435456,0)}function Ve(t){Fe(t),mo.updateDirectives(t,1),Be(t,zo.CheckNoChanges),mo.updateRenderer(t,1),je(t,zo.CheckNoChanges),t.state&=-97}function Ae(t){1&t.state?(t.state&=-2,t.state|=2):t.state&=-3,K(t,0,256),Fe(t),mo.updateDirectives(t,0),Be(t,zo.CheckAndUpdate),He(t,67108864,536870912,0);var e=K(t,256,512);pe(t,2097152|(e?1048576:0)),mo.updateRenderer(t,0),je(t,zo.CheckAndUpdate),He(t,134217728,536870912,0),pe(t,8388608|((e=K(t,512,768))?4194304:0)),2&t.def.flags&&(t.state&=-9),t.state&=-97,K(t,768,1024)}function Ne(t,e,n,r,o,i,l,u,s,a,c,p,h){return 0===n?function(t,e,n,r,o,i,l,u,s,a,c,p){switch(201347067&e.flags){case 1:return function(t,e,r,o,i,l,u,s,a,c,p,h){var f=e.bindings.length,d=!1;return f>0&&Rt(t,e,0,n)&&(d=!0),f>1&&Rt(t,e,1,o)&&(d=!0),f>2&&Rt(t,e,2,i)&&(d=!0),f>3&&Rt(t,e,3,l)&&(d=!0),f>4&&Rt(t,e,4,u)&&(d=!0),f>5&&Rt(t,e,5,s)&&(d=!0),f>6&&Rt(t,e,6,a)&&(d=!0),f>7&&Rt(t,e,7,c)&&(d=!0),f>8&&Rt(t,e,8,p)&&(d=!0),f>9&&Rt(t,e,9,h)&&(d=!0),d}(t,e,0,r,o,i,l,u,s,a,c,p);case 2:return function(t,e,n,r,o,i,l,u,s,a,c,p){var h=!1,f=e.bindings,d=f.length;if(d>0&&ut(t,e,0,n)&&(h=!0),d>1&&ut(t,e,1,r)&&(h=!0),d>2&&ut(t,e,2,o)&&(h=!0),d>3&&ut(t,e,3,i)&&(h=!0),d>4&&ut(t,e,4,l)&&(h=!0),d>5&&ut(t,e,5,u)&&(h=!0),d>6&&ut(t,e,6,s)&&(h=!0),d>7&&ut(t,e,7,a)&&(h=!0),d>8&&ut(t,e,8,c)&&(h=!0),d>9&&ut(t,e,9,p)&&(h=!0),h){var y=e.text.prefix;d>0&&(y+=Ce(n,f[0])),d>1&&(y+=Ce(r,f[1])),d>2&&(y+=Ce(o,f[2])),d>3&&(y+=Ce(i,f[3])),d>4&&(y+=Ce(l,f[4])),d>5&&(y+=Ce(u,f[5])),d>6&&(y+=Ce(s,f[6])),d>7&&(y+=Ce(a,f[7])),d>8&&(y+=Ce(c,f[8])),d>9&&(y+=Ce(p,f[9]));var m=Z(t,e.nodeIndex).renderText;t.renderer.setValue(m,y)}return h}(t,e,n,r,o,i,l,u,s,a,c,p);case 16384:return function(t,e,n,r,o,i,l,u,s,a,c,p){var h=X(t,e.nodeIndex),f=h.instance,d=!1,y=void 0,m=e.bindings.length;return m>0&<(t,e,0,n)&&(d=!0,y=ce(t,h,e,0,n,y)),m>1&<(t,e,1,r)&&(d=!0,y=ce(t,h,e,1,r,y)),m>2&<(t,e,2,o)&&(d=!0,y=ce(t,h,e,2,o,y)),m>3&<(t,e,3,i)&&(d=!0,y=ce(t,h,e,3,i,y)),m>4&<(t,e,4,l)&&(d=!0,y=ce(t,h,e,4,l,y)),m>5&<(t,e,5,u)&&(d=!0,y=ce(t,h,e,5,u,y)),m>6&<(t,e,6,s)&&(d=!0,y=ce(t,h,e,6,s,y)),m>7&<(t,e,7,a)&&(d=!0,y=ce(t,h,e,7,a,y)),m>8&<(t,e,8,c)&&(d=!0,y=ce(t,h,e,8,c,y)),m>9&<(t,e,9,p)&&(d=!0,y=ce(t,h,e,9,p,y)),y&&f.ngOnChanges(y),65536&e.flags&&W(t,256,e.nodeIndex)&&f.ngOnInit(),262144&e.flags&&f.ngDoCheck(),d}(t,e,n,r,o,i,l,u,s,a,c,p);case 32:case 64:case 128:return function(t,e,n,r,o,i,l,u,s,a,c,p){var h=e.bindings,f=!1,d=h.length;if(d>0&&ut(t,e,0,n)&&(f=!0),d>1&&ut(t,e,1,r)&&(f=!0),d>2&&ut(t,e,2,o)&&(f=!0),d>3&&ut(t,e,3,i)&&(f=!0),d>4&&ut(t,e,4,l)&&(f=!0),d>5&&ut(t,e,5,u)&&(f=!0),d>6&&ut(t,e,6,s)&&(f=!0),d>7&&ut(t,e,7,a)&&(f=!0),d>8&&ut(t,e,8,c)&&(f=!0),d>9&&ut(t,e,9,p)&&(f=!0),f){var y=Y(t,e.nodeIndex),m=void 0;switch(201347067&e.flags){case 32:m=new Array(h.length),d>0&&(m[0]=n),d>1&&(m[1]=r),d>2&&(m[2]=o),d>3&&(m[3]=i),d>4&&(m[4]=l),d>5&&(m[5]=u),d>6&&(m[6]=s),d>7&&(m[7]=a),d>8&&(m[8]=c),d>9&&(m[9]=p);break;case 64:m={},d>0&&(m[h[0].name]=n),d>1&&(m[h[1].name]=r),d>2&&(m[h[2].name]=o),d>3&&(m[h[3].name]=i),d>4&&(m[h[4].name]=l),d>5&&(m[h[5].name]=u),d>6&&(m[h[6].name]=s),d>7&&(m[h[7].name]=a),d>8&&(m[h[8].name]=c),d>9&&(m[h[9].name]=p);break;case 128:var g=n;switch(d){case 1:m=g.transform(n);break;case 2:m=g.transform(r);break;case 3:m=g.transform(r,o);break;case 4:m=g.transform(r,o,i);break;case 5:m=g.transform(r,o,i,l);break;case 6:m=g.transform(r,o,i,l,u);break;case 7:m=g.transform(r,o,i,l,u,s);break;case 8:m=g.transform(r,o,i,l,u,s,a);break;case 9:m=g.transform(r,o,i,l,u,s,a,c);break;case 10:m=g.transform(r,o,i,l,u,s,a,c,p)}}y.value=m}return f}(t,e,n,r,o,i,l,u,s,a,c,p);default:throw"unreachable"}}(t,e,r,o,i,l,u,s,a,c,p,h):function(t,e,n){switch(201347067&e.flags){case 1:return function(t,e,n){for(var r=!1,o=0;o<n.length;o++)Rt(t,e,o,n[o])&&(r=!0);return r}(t,e,n);case 2:return function(t,e,n){for(var r=e.bindings,o=!1,i=0;i<n.length;i++)ut(t,e,i,n[i])&&(o=!0);if(o){var l="";for(i=0;i<n.length;i++)l+=Ce(n[i],r[i]);l=e.text.prefix+l;var u=Z(t,e.nodeIndex).renderText;t.renderer.setValue(u,l)}return o}(t,e,n);case 16384:return function(t,e,n){for(var r=X(t,e.nodeIndex),o=r.instance,i=!1,l=void 0,u=0;u<n.length;u++)lt(t,e,u,n[u])&&(i=!0,l=ce(t,r,e,u,n[u],l));return l&&o.ngOnChanges(l),65536&e.flags&&W(t,256,e.nodeIndex)&&o.ngOnInit(),262144&e.flags&&o.ngDoCheck(),i}(t,e,n);case 32:case 64:case 128:return function(t,e,n){for(var r=e.bindings,o=!1,i=0;i<n.length;i++)ut(t,e,i,n[i])&&(o=!0);if(o){var l=Y(t,e.nodeIndex),u=void 0;switch(201347067&e.flags){case 32:u=n;break;case 64:for(u={},i=0;i<n.length;i++)u[r[i].name]=n[i];break;case 128:var s=n[0],a=n.slice(1);u=s.transform.apply(s,a)}l.value=u}return o}(t,e,n);default:throw"unreachable"}}(t,e,r)}function Fe(t){var e=t.def;if(4&e.nodeFlags)for(var n=0;n<e.nodes.length;n++){var r=e.nodes[n];if(4&r.flags){var o=$(t,n).template._projectedViews;if(o)for(var i=0;i<o.length;i++){var l=o[i];l.state|=32,ct(l,t)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function Re(t,e,n,r,o,i,l,u,s,a,c,p,h){return 0===n?function(t,e,n,o,i,l,u,s,a,c,p,h){var f=e.bindings.length;f>0&&st(t,e,0,r),f>1&&st(t,e,1,o),f>2&&st(t,e,2,i),f>3&&st(t,e,3,l),f>4&&st(t,e,4,u),f>5&&st(t,e,5,s),f>6&&st(t,e,6,a),f>7&&st(t,e,7,c),f>8&&st(t,e,8,p),f>9&&st(t,e,9,h)}(t,e,0,o,i,l,u,s,a,c,p,h):function(t,e,n){for(var r=0;r<n.length;r++)st(t,e,r,n[r])}(t,e,r),!1}function Me(t,e){if(J(t,e.nodeIndex).dirty)throw tt(mo.createDebugContext(t,e.nodeIndex),"Query "+e.query.id+" not dirty","Query "+e.query.id+" dirty",0!=(1&t.state))}function De(t){if(!(128&t.state)){if(Be(t,zo.Destroy),je(t,zo.Destroy),pe(t,131072),t.disposables)for(var e=0;e<t.disposables.length;e++)t.disposables[e]();!function(t){if(16&t.state){var e=ht(t);if(e){var n=e.template._projectedViews;n&&(zt(n,n.indexOf(t)),mo.dirtyParentQueries(t))}}}(t),t.renderer.destroyNode&&function(t){for(var e=t.def.nodes.length,n=0;n<e;n++){var r=t.def.nodes[n];1&r.flags?t.renderer.destroyNode($(t,n).renderElement):2&r.flags?t.renderer.destroyNode(Z(t,n).renderText):(67108864&r.flags||134217728&r.flags)&&J(t,n).destroy()}}(t),mt(t)&&t.renderer.destroy(),t.state|=128}}function je(t,e){var n=t.def;if(33554432&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var o=n.nodes[r];33554432&o.flags?Le($(t,r).componentView,e):0==(33554432&o.childFlags)&&(r+=o.childCount)}}function Be(t,e){var n=t.def;if(16777216&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var o=n.nodes[r];if(16777216&o.flags)for(var i=$(t,r).viewContainer._embeddedViews,l=0;l<i.length;l++)Le(i[l],e);else 0==(16777216&o.childFlags)&&(r+=o.childCount)}}function Le(t,e){var n=t.state;switch(e){case zo.CheckNoChanges:0==(128&n)&&(12==(12&n)?Ve(t):64&n&&Ue(t,zo.CheckNoChangesProjectedViews));break;case zo.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?Ve(t):64&n&&Ue(t,e));break;case zo.CheckAndUpdate:0==(128&n)&&(12==(12&n)?Ae(t):64&n&&Ue(t,zo.CheckAndUpdateProjectedViews));break;case zo.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?Ae(t):64&n&&Ue(t,e));break;case zo.Destroy:De(t);break;case zo.CreateViewNodes:Ie(t)}}function Ue(t,e){Be(t,e),je(t,e)}function He(t,e,n,r){if(t.def.nodeFlags&e&&t.def.nodeFlags&n)for(var o=t.def.nodes.length,i=0;i<o;i++){var l=t.def.nodes[i];if(l.flags&e&&l.flags&n)switch(mo.setCurrentNode(t,l.nodeIndex),r){case 0:ye(t,l);break;case 1:Me(t,l)}l.childFlags&e&&l.childFlags&n||(i+=l.childCount)}}function Qe(t,e,n,r,o,i){return Te(Ge(t,o,o.injector.get(jr),e,n),r,i)}function ze(t,e,n,r,o,i){var l=o.injector.get(jr),u=Ge(t,o,new Xo(l),e,n),s=Ye(r);return dn(Wo.create,Te,null,[u,s,i])}function Ge(t,e,n,r,o){var i=e.injector.get(yo),l=e.injector.get(ir);return{ngModule:e,injector:t,projectableNodes:r,selectorOrNode:o,sanitizer:i,rendererFactory:n,renderer:n.createRenderer(null,null),errorHandler:l}}function qe(t,e,n,r){var o=Ye(n);return dn(Wo.create,Pe,null,[t,e,o,r])}function Ke(t,e,n,r){return n=Ko.get(e.element.componentProvider.provider.token)||Ye(n),dn(Wo.create,ke,null,[t,e,n,r])}function We(t,e,n,r){return Yt(t,e,n,function(t){var e=function(e){var n=!1,r=!1;return 0===qo.size?{hasOverrides:n,hasDeprecatedOverrides:r}:(t.providers.forEach(function(t){var e=qo.get(t.token);3840&t.flags&&e&&(n=!0,r=r||e.deprecatedBehavior)}),{hasOverrides:n,hasDeprecatedOverrides:r})}(),n=e.hasDeprecatedOverrides;return e.hasOverrides?(t=t.factory(function(){return go}),function(t){for(var e=0;e<t.providers.length;e++){var r=t.providers[e];n&&(r.flags|=4096);var o=qo.get(r.token);o&&(r.flags=-3841&r.flags|o.flags,r.deps=_t(o.deps),r.value=o.value)}}(t),t):t}(r))}function Ze(t){qo.set(t.token,t)}function $e(t,e){var n=wt(wt(e.viewDefFactory).nodes[0].element.componentView);Ko.set(t,n)}function Xe(){qo.clear(),Ko.clear()}function Ye(t){if(0===qo.size)return t;var e=function(t){for(var e=[],n=null,r=0;r<t.nodes.length;r++){var o=t.nodes[r];1&o.flags&&(n=o),n&&3840&o.flags&&qo.has(o.provider.token)&&(e.push(n.nodeIndex),n=null)}return e}(t);if(0===e.length)return t;t=t.factory(function(){return go});for(var n=0;n<e.length;n++)!function(t,r){for(var o=e[n]+1;o<t.nodes.length;o++){var i=t.nodes[o];if(1&i.flags)return;if(3840&i.flags){var l=i.provider,u=qo.get(l.token);u&&(i.flags=-3841&i.flags|u.flags,l.deps=_t(u.deps),l.value=u.value)}}}(t);return t}function Je(t,e,n,r,o,i,l,u,s,a,c,p,h){var f=t.def.nodes[e];return Ne(t,f,n,r,o,i,l,u,s,a,c,p,h),224&f.flags?Y(t,e).value:void 0}function tn(t,e,n,r,o,i,l,u,s,a,c,p,h){var f=t.def.nodes[e];return Re(t,f,n,r,o,i,l,u,s,a,c,p,h),224&f.flags?Y(t,e).value:void 0}function en(t){return dn(Wo.detectChanges,Ae,null,[t])}function nn(t){return dn(Wo.checkNoChanges,Ve,null,[t])}function rn(t){return dn(Wo.destroy,De,null,[t])}function on(t,e){wn=t,Cn=e}function ln(t,e,n,r){return on(t,e),dn(Wo.handleEvent,t.def.handleEvent,null,[t,e,n,r])}function un(t,e){if(128&t.state)throw nt(Wo[bn]);return on(t,pn(t,0)),t.def.updateDirectives(function(t,n,r){for(var o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];var l=t.def.nodes[n];return 0===e?an(t,l,r,o):cn(t,l,r,o),16384&l.flags&&on(t,pn(t,n)),224&l.flags?Y(t,l.nodeIndex).value:void 0},t)}function sn(t,e){if(128&t.state)throw nt(Wo[bn]);return on(t,hn(t,0)),t.def.updateRenderer(function(t,n,r){for(var o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];var l=t.def.nodes[n];return 0===e?an(t,l,r,o):cn(t,l,r,o),3&l.flags&&on(t,hn(t,n)),224&l.flags?Y(t,l.nodeIndex).value:void 0},t)}function an(t,e,n,r){if(Ne.apply(void 0,[t,e,n].concat(r))){var o=1===n?r[0]:r;if(16384&e.flags){for(var i={},l=0;l<e.bindings.length;l++){var u=e.bindings[l],s=o[l];8&u.flags&&(i[function(t){return"ng-reflect-"+(t=t.replace(/[$@]/g,"_").replace(Zo,function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return"-"+t[1].toLowerCase()}))}(u.nonMinifiedName)]=function(t){try{return null!=t?t.toString().slice(0,30):t}catch(t){return"[ERROR] Exception while trying to serialize the value"}}(s))}var a=e.parent,c=$(t,a.nodeIndex).renderElement;if(a.element.name)for(var p in i)null!=(s=i[p])?t.renderer.setAttribute(c,p,s):t.renderer.removeAttribute(c,p);else t.renderer.setValue(c,"bindings="+JSON.stringify(i,null,2))}}}function cn(t,e,n,r){Re.apply(void 0,[t,e,n].concat(r))}function pn(t,e){for(var n=e;n<t.def.nodes.length;n++){var r=t.def.nodes[n];if(16384&r.flags&&r.bindings&&r.bindings.length)return n}return null}function hn(t,e){for(var n=e;n<t.def.nodes.length;n++){var r=t.def.nodes[n];if(3&r.flags&&r.bindings&&r.bindings.length)return n}return null}function fn(t,e,n){for(var r in e.references)n[r]=ge(t,e,e.references[r])}function dn(t,e,n,r){var o=bn,i=wn,l=Cn;try{bn=t;var u=e.apply(n,r);return wn=i,Cn=l,bn=o,u}catch(t){if(y(t)||!wn)throw t;throw function(t,e){return t instanceof Error||(t=new Error(t.toString())),et(t,e),t}(t,yn())}}function yn(){return wn?new $o(wn,Cn):null}function mn(t,e,n){return new Jo(t,e,n)}n.d(e,"e",function(){return Dr}),n.d(e,"I",function(){return x}),n.d(e,"L",function(){return I}),n.d(e,"H",function(){return V}),n.d(e,"r",function(){return Rr}),n.d(e,"a",function(){return sr}),n.d(e,"v",function(){return ar}),n.d(e,"u",function(){return cr}),n.d(e,"b",function(){return lr}),n.d(e,"c",function(){return ur}),n.d(e,"K",function(){return j}),n.d(e,"C",function(){return xr}),n.d(e,"N",function(){return O}),n.d(e,"p",function(){return po}),n.d(e,"d",function(){return ho}),n.d(e,"j",function(){return Pr}),n.d(e,"i",function(){return ir}),n.d(e,"z",function(){return yo}),n.d(e,"A",function(){return fo}),n.d(e,"F",function(){return In}),n.d(e,"D",function(){return Vn}),n.d(e,"J",function(){return s}),n.d(e,"m",function(){return Qn}),n.d(e,"l",function(){return On}),n.d(e,"k",function(){return Nn}),n.d(e,"t",function(){return Fn}),n.d(e,"s",function(){return Tr}),n.d(e,"w",function(){return Lr}),n.d(e,"x",function(){return jr}),n.d(e,"y",function(){return Br}),n.d(e,"f",function(){return fr}),n.d(e,"g",function(){return vr}),n.d(e,"h",function(){return Ur}),n.d(e,"q",function(){return wr}),n.d(e,"B",function(){return Qr}),n.d(e,"E",function(){return zr}),n.d(e,"n",function(){return io}),n.d(e,"o",function(){return lo}),n.d(e,"G",function(){return Wr}),n.d(e,"M",function(){return co}),n.d(e,"Z",function(){return U}),n.d(e,"P",function(){return hr}),n.d(e,"O",function(){return _r}),n.d(e,"X",function(){return Bn}),n.d(e,"_4",function(){return l}),n.d(e,"_12",function(){return u}),n.d(e,"_0",function(){return v}),n.d(e,"_1",function(){return g}),n.d(e,"Q",function(){return Vt}),n.d(e,"R",function(){return Gt}),n.d(e,"S",function(){return mn}),n.d(e,"T",function(){return it}),n.d(e,"U",function(){return Jt}),n.d(e,"V",function(){return At}),n.d(e,"Y",function(){return xt}),n.d(e,"_6",function(){return Dt}),n.d(e,"_7",function(){return Mt}),n.d(e,"_8",function(){return $t}),n.d(e,"_9",function(){return te}),n.d(e,"_11",function(){return ee}),n.d(e,"_10",function(){return _e}),n.d(e,"_13",function(){return be}),n.d(e,"_14",function(){return ot}),n.d(e,"_15",function(){return Ee}),n.d(e,"_2",function(){return z}),n.d(e,"_3",function(){return G}),n.d(e,"_5",function(){return q}),n.d(e,"W",function(){return _});var gn,vn,_n,bn,wn,Cn,En=n("6Xbx"),Sn=n("AP4T"),Pn=n("2kLc"),Tn=n("URbD"),kn=n("TO51"),On=function(){function t(t){this._desc=t,this.ngMetadataName="InjectionToken"}return t.prototype.toString=function(){return"InjectionToken "+this._desc},t}(),xn="__paramaters__",In=function(){var t={Emulated:0,Native:1,None:2};return t[t.Emulated]="Emulated",t[t.Native]="Native",t[t.None]="None",t}(),Vn=function(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")},An=new Vn("5.1.1"),Nn=r("Inject",function(t){return{token:t}}),Fn=r("Optional"),Rn=r("Self"),Mn=r("SkipSelf"),Dn="undefined"!=typeof window&&window,jn="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Bn=Dn||void 0!==t&&t||jn,Ln=null,Un=new Object,Hn=function(){function t(){}return t.prototype.get=function(t,e){if(void 0===e&&(e=Un),e===Un)throw new Error("NullInjectorError: No provider for "+u(t)+"!");return e},t}(),Qn=function(){function t(){}return t.create=function(t,e){return new er(t,e)},t.THROW_IF_NOT_FOUND=Un,t.NULL=new Hn,t}(),zn=function(t){return t},Gn=[],qn=zn,Kn=function(){return Array.prototype.slice.call(arguments)},Wn={},Zn=Wn,$n=function(t){for(var e in t)if(t[e]===Wn)return e;throw Error("!prop")}({provide:String,useValue:Zn}),Xn="ngTempTokenPath",Yn=Qn.NULL,Jn=/\n/gm,tr="\u0275",er=function(){function t(t,e){void 0===e&&(e=Yn),this.parent=e;var n=this._records=new Map;n.set(Qn,{token:Qn,fn:zn,deps:Gn,value:this,useNew:!1}),p(n,t)}return t.prototype.get=function(t,e){var n=this._records.get(t);try{return h(t,n,this._records,this.parent,e)}catch(t){var r=t[Xn];throw t.message=f("\n"+t.message,r),t.ngTokenPath=r,t[Xn]=null,t}},t.prototype.toString=function(){var t=[];return this._records.forEach(function(e,n){return t.push(u(n))}),"StaticInjector["+t.join(", ")+"]"},t}(),nr="ngDebugContext",rr="ngOriginalError",or="ngErrorLogger",ir=function(){function t(){this._console=console}return t.prototype.handleError=function(t){var e=this._findOriginalError(t),n=this._findContext(t),r=t[or]||function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];t.error.apply(t,e)};r(this._console,"ERROR",t),e&&r(this._console,"ORIGINAL ERROR",e),n&&r(this._console,"ERROR CONTEXT",n)},t.prototype._findContext=function(t){return t?y(t)?y(t):this._findContext(m(t)):null},t.prototype._findOriginalError=function(t){for(var e=m(t);e&&m(e);)e=m(e);return e},t}(),lr=(Function,new On("Application Initializer")),ur=function(){function t(t){var e=this;this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise(function(t,n){e.resolve=t,e.reject=n})}return t.prototype.runInitializers=function(){var t=this;if(!this.initialized){var e=[],n=function(){t.done=!0,t.resolve()};if(this.appInits)for(var r=0;r<this.appInits.length;r++){var o=this.appInits[r]();g(o)&&e.push(o)}Promise.all(e).then(function(){n()}).catch(function(e){t.reject(e)}),0===e.length&&n(),this.initialized=!0}},t}(),sr=new On("AppId"),ar=new On("Platform Initializer"),cr=new On("Platform ID"),pr=new On("appBootstrapListener"),hr=function(){function t(){}return t.prototype.log=function(t){console.log(t)},t.prototype.warn=function(t){console.warn(t)},t.ctorParameters=function(){return[]},t}(),fr=function(){function t(){}return t.prototype.compileModuleSync=function(t){throw w()},t.prototype.compileModuleAsync=function(t){throw w()},t.prototype.compileModuleAndAllComponentsSync=function(t){throw w()},t.prototype.compileModuleAndAllComponentsAsync=function(t){throw w()},t.prototype.clearCache=function(){},t.prototype.clearCacheFor=function(t){},t}(),dr=function(){},yr=function(){},mr="ngComponent",gr=function(){function t(){}return t.prototype.resolveComponentFactory=function(t){throw C(t)},t}(),vr=function(){function t(){}return t.NULL=new gr,t}(),_r=function(){function t(t,e,n){this._parent=e,this._ngModule=n,this._factories=new Map;for(var r=0;r<t.length;r++){var o=t[r];this._factories.set(o.componentType,o)}}return t.prototype.resolveComponentFactory=function(t){var e=this._factories.get(t);if(!e&&this._parent&&(e=this._parent.resolveComponentFactory(t)),!e)throw C(t);return new br(e,this._ngModule)},t}(),br=function(t){function e(e,n){var r=t.call(this)||this;return r.factory=e,r.ngModule=n,r}return Object(En.b)(e,t),Object.defineProperty(e.prototype,"selector",{get:function(){return this.factory.selector},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentType",{get:function(){return this.factory.componentType},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngContentSelectors",{get:function(){return this.factory.ngContentSelectors},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inputs",{get:function(){return this.factory.inputs},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputs",{get:function(){return this.factory.outputs},enumerable:!0,configurable:!0}),e.prototype.create=function(t,e,n,r){return this.factory.create(t,e,n,r||this.ngModule)},e}(yr),wr=function(){},Cr=function(){var t=Bn.wtf;return!(!t||!(gn=t.trace)||(vn=gn.events,0))}(),Er=Cr?function(t,e){return void 0===e&&(e=null),vn.createScope(t,e)}:function(t,e){return E},Sr=Cr?function(t,e){return gn.leaveScope(t,e),e}:function(t,e){return e},Pr=function(t){function e(e){void 0===e&&(e=!1);var n=t.call(this)||this;return n.__isAsync=e,n}return Object(En.b)(e,t),e.prototype.emit=function(e){t.prototype.next.call(this,e)},e.prototype.subscribe=function(e,n,r){var o,i=function(t){return null},l=function(){return null};return e&&"object"==typeof e?(o=this.__isAsync?function(t){setTimeout(function(){return e.next(t)})}:function(t){e.next(t)},e.error&&(i=this.__isAsync?function(t){setTimeout(function(){return e.error(t)})}:function(t){e.error(t)}),e.complete&&(l=this.__isAsync?function(){setTimeout(function(){return e.complete()})}:function(){e.complete()})):(o=this.__isAsync?function(t){setTimeout(function(){return e(t)})}:function(t){e(t)},n&&(i=this.__isAsync?function(t){setTimeout(function(){return n(t)})}:function(t){n(t)}),r&&(l=this.__isAsync?function(){setTimeout(function(){return r()})}:function(){r()})),t.prototype.subscribe.call(this,o,i,l)},e}(kn.a),Tr=function(){function t(t){var e=t.enableLongStackTrace,n=void 0!==e&&e;if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Pr(!1),this.onMicrotaskEmpty=new Pr(!1),this.onStable=new Pr(!1),this.onError=new Pr(!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)),n&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),function(t){t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(e,n,r,o,i,l){try{return T(t),e.invokeTask(r,o,i,l)}finally{k(t)}},onInvoke:function(e,n,r,o,i,l,u){try{return T(t),e.invoke(r,o,i,l,u)}finally{k(t)}},onHasTask:function(e,n,r,o){e.hasTask(r,o),n===r&&("microTask"==o.change?(t.hasPendingMicrotasks=o.microTask,P(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}})}(this)}return t.isInAngularZone=function(){return!0===Zone.current.get("isAngularZone")},t.assertInAngularZone=function(){if(!t.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")},t.assertNotInAngularZone=function(){if(t.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")},t.prototype.run=function(t,e,n){return this._inner.run(t,e,n)},t.prototype.runTask=function(t,e,n,r){var o=this._inner,i=o.scheduleEventTask("NgZoneEvent: "+r,t,kr,S,S);try{return o.runTask(i,e,n)}finally{o.cancelTask(i)}},t.prototype.runGuarded=function(t,e,n){return this._inner.runGuarded(t,e,n)},t.prototype.runOutsideAngular=function(t){return this._outer.run(t)},t}(),kr={},Or=function(){function t(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Pr,this.onMicrotaskEmpty=new Pr,this.onStable=new Pr,this.onError=new Pr}return t.prototype.run=function(t){return t()},t.prototype.runGuarded=function(t){return t()},t.prototype.runOutsideAngular=function(t){return t()},t.prototype.runTask=function(t){return t()},t}(),xr=function(){function t(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this._watchAngularEvents()}return t.prototype._watchAngularEvents=function(){var t=this;this._ngZone.onUnstable.subscribe({next:function(){t._didWork=!0,t._isZoneStable=!1}}),this._ngZone.runOutsideAngular(function(){t._ngZone.onStable.subscribe({next:function(){Tr.assertNotInAngularZone(),i(function(){t._isZoneStable=!0,t._runCallbacksIfReady()})}})})},t.prototype.increasePendingRequestCount=function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount},t.prototype.decreasePendingRequestCount=function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount},t.prototype.isStable=function(){return this._isZoneStable&&0==this._pendingCount&&!this._ngZone.hasPendingMacrotasks},t.prototype._runCallbacksIfReady=function(){var t=this;this.isStable()?i(function(){for(;0!==t._callbacks.length;)t._callbacks.pop()(t._didWork);t._didWork=!1}):this._didWork=!0},t.prototype.whenStable=function(t){this._callbacks.push(t),this._runCallbacksIfReady()},t.prototype.getPendingRequestCount=function(){return this._pendingCount},t.prototype.findProviders=function(t,e,n){return[]},t}(),Ir=function(){function t(){this._applications=new Map,Vr.addToWindow(this)}return t.prototype.registerApplication=function(t,e){this._applications.set(t,e)},t.prototype.unregisterApplication=function(t){this._applications.delete(t)},t.prototype.unregisterAllApplications=function(){this._applications.clear()},t.prototype.getTestability=function(t){return this._applications.get(t)||null},t.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},t.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},t.prototype.findTestabilityInTree=function(t,e){return void 0===e&&(e=!0),Vr.findTestabilityInTree(this,t,e)},t.ctorParameters=function(){return[]},t}(),Vr=new(function(){function t(){}return t.prototype.addToWindow=function(t){},t.prototype.findTestabilityInTree=function(t,e,n){return null},t}()),Ar=!0,Nr=!1,Fr=new On("AllowMultipleToken"),Rr=function(t,e){this.name=t,this.token=e},Mr=function(){function t(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return t.prototype.bootstrapModuleFactory=function(t,e){var n=this,r=function(t){return"noop"===t?new Or:("zone.js"===t?void 0:t)||new Tr({enableLongStackTrace:I()})}(e?e.ngZone:void 0);return r.run(function(){var e=Qn.create([{provide:Tr,useValue:r}],n.injector),o=t.create(e),i=o.injector.get(ir,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return o.onDestroy(function(){return F(n._modules,o)}),r.runOutsideAngular(function(){return r.onError.subscribe({next:function(t){i.handleError(t)}})}),function(t,e,r){try{var i=function(){var t=o.injector.get(ur);return t.runInitializers(),t.donePromise.then(function(){return n._moduleDoBootstrap(o),o})}();return g(i)?i.catch(function(n){throw e.runOutsideAngular(function(){return t.handleError(n)}),n}):i}catch(n){throw e.runOutsideAngular(function(){return t.handleError(n)}),n}}(i,r)})},t.prototype.bootstrapModule=function(t,e){var n=this;void 0===e&&(e=[]);var r=this.injector.get(dr),o=N({},e);return r.createCompiler([o]).compileModuleAsync(t).then(function(t){return n.bootstrapModuleFactory(t,o)})},t.prototype._moduleDoBootstrap=function(t){var e=t.injector.get(Dr);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(function(t){return e.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+u(t.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');t.instance.ngDoBootstrap(e)}this._modules.push(t)},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},Object.defineProperty(t.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(t){return t.destroy()}),this._destroyListeners.forEach(function(t){return t()}),this._destroyed=!0},Object.defineProperty(t.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),t}(),Dr=function(){function t(t,e,n,r,o,l){var u=this;this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=o,this._initStatus=l,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=I(),this._zone.onMicrotaskEmpty.subscribe({next:function(){u._zone.run(function(){u.tick()})}});var s=new Sn.a(function(t){u._stable=u._zone.isStable&&!u._zone.hasPendingMacrotasks&&!u._zone.hasPendingMicrotasks,u._zone.runOutsideAngular(function(){t.next(u._stable),t.complete()})}),a=new Sn.a(function(t){var e;u._zone.runOutsideAngular(function(){e=u._zone.onStable.subscribe(function(){Tr.assertNotInAngularZone(),i(function(){u._stable||u._zone.hasPendingMacrotasks||u._zone.hasPendingMicrotasks||(u._stable=!0,t.next(!0))})})});var n=u._zone.onUnstable.subscribe(function(){Tr.assertInAngularZone(),u._stable&&(u._stable=!1,u._zone.runOutsideAngular(function(){t.next(!1)}))});return function(){e.unsubscribe(),n.unsubscribe()}});this.isStable=Object(Pn.a)(s,Tn.a.call(a))}return t.prototype.bootstrap=function(t,e){var n=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.");var r;r=t instanceof yr?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(r.componentType);var o=r instanceof br?null:this._injector.get(wr),i=r.create(Qn.NULL,[],e||r.selector,o);i.onDestroy(function(){n._unloadComponent(i)});var l=i.injector.get(xr,null);return l&&i.injector.get(Ir).registerApplication(i.location.nativeElement,l),this._loadComponent(i),I()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),i},t.prototype.tick=function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=t._tickScope();try{this._runningTick=!0,this._views.forEach(function(t){return t.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(t){return t.checkNoChanges()})}catch(t){this._zone.runOutsideAngular(function(){return e._exceptionHandler.handleError(t)})}finally{this._runningTick=!1,Sr(n)}},t.prototype.attachView=function(t){var e=t;this._views.push(e),e.attachToAppRef(this)},t.prototype.detachView=function(t){var e=t;F(this._views,e),e.detachFromAppRef()},t.prototype._loadComponent=function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(pr,[]).concat(this._bootstrapListeners).forEach(function(e){return e(t)})},t.prototype._unloadComponent=function(t){this.detachView(t.hostView),F(this.components,t)},t.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(t){return t.destroy()})},Object.defineProperty(t.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),t._tickScope=Er("ApplicationRef#tick()"),t}(),jr=function(){},Br=function(){var t={Important:1,DashCase:2};return t[t.Important]="Important",t[t.DashCase]="DashCase",t}(),Lr=function(){},Ur=function(t){this.nativeElement=t},Hr=function(){function t(){this.dirty=!0,this._results=[],this.changes=new Pr}return Object.defineProperty(t.prototype,"length",{get:function(){return this._results.length},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"first",{get:function(){return this._results[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this._results[this.length-1]},enumerable:!0,configurable:!0}),t.prototype.map=function(t){return this._results.map(t)},t.prototype.filter=function(t){return this._results.filter(t)},t.prototype.find=function(t){return this._results.find(t)},t.prototype.reduce=function(t,e){return this._results.reduce(t,e)},t.prototype.forEach=function(t){this._results.forEach(t)},t.prototype.some=function(t){return this._results.some(t)},t.prototype.toArray=function(){return this._results.slice()},t.prototype[o()]=function(){return this._results[o()]()},t.prototype.toString=function(){return this._results.toString()},t.prototype.reset=function(t){this._results=R(t),this.dirty=!1},t.prototype.notifyOnChanges=function(){this.changes.emit(this)},t.prototype.setDirty=function(){this.dirty=!0},t.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},t}(),Qr=function(){},zr=function(){},Gr=function(){function t(t,e,n){this._debugContext=n,this.nativeNode=t,e&&e instanceof qr?e.addChild(this):this.parent=null,this.listeners=[]}return Object.defineProperty(t.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),t}(),qr=function(t){function e(e,n,r){var o=t.call(this,e,n,r)||this;return o.properties={},o.attributes={},o.classes={},o.styles={},o.childNodes=[],o.nativeElement=e,o}return Object(En.b)(e,t),e.prototype.addChild=function(t){t&&(this.childNodes.push(t),t.parent=this)},e.prototype.removeChild=function(t){var e=this.childNodes.indexOf(t);-1!==e&&(t.parent=null,this.childNodes.splice(e,1))},e.prototype.insertChildrenAfter=function(t,e){var n=this,r=this.childNodes.indexOf(t);-1!==r&&((o=this.childNodes).splice.apply(o,[r+1,0].concat(e)),e.forEach(function(t){t.parent&&t.parent.removeChild(t),t.parent=n}));var o},e.prototype.insertBefore=function(t,e){var n=this.childNodes.indexOf(t);-1===n?this.addChild(e):(e.parent&&e.parent.removeChild(e),e.parent=this,this.childNodes.splice(n,0,e))},e.prototype.query=function(t){return this.queryAll(t)[0]||null},e.prototype.queryAll=function(t){var e=[];return M(this,t,e),e},e.prototype.queryAllNodes=function(t){var e=[];return D(this,t,e),e},Object.defineProperty(e.prototype,"children",{get:function(){return this.childNodes.filter(function(t){return t instanceof e})},enumerable:!0,configurable:!0}),e.prototype.triggerEventHandler=function(t,e){this.listeners.forEach(function(n){n.name==t&&n.callback(e)})},e}(Gr),Kr=new Map,Wr=function(){function t(t){this.wrapped=t}return t.wrap=function(e){return new t(e)},t}(),Zr=function(){function t(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}return t.prototype.isFirstChange=function(){return this.firstChange},t}(),$r=function(){function t(){}return t.prototype.supports=function(t){return U(t)},t.prototype.create=function(t){return new Yr(t)},t}(),Xr=function(t,e){return e},Yr=function(){function t(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||Xr}return t.prototype.forEachItem=function(t){var e;for(e=this._itHead;null!==e;e=e._next)t(e)},t.prototype.forEachOperation=function(t){for(var e=this._itHead,n=this._removalsHead,r=0,o=null;e||n;){var i=!n||e&&e.currentIndex<Q(n,r,o)?e:n,l=Q(i,r,o),u=i.currentIndex;if(i===n)r--,n=n._nextRemoved;else if(e=e._next,null==i.previousIndex)r++;else{o||(o=[]);var s=l-r,a=u-r;if(s!=a){for(var c=0;c<s;c++){var p=c<o.length?o[c]:o[c]=0,h=p+c;a<=h&&h<s&&(o[c]=p+1)}o[i.previousIndex]=a-s}}l!==u&&t(i,l,u)}},t.prototype.forEachPreviousItem=function(t){var e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)},t.prototype.forEachAddedItem=function(t){var e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)},t.prototype.forEachMovedItem=function(t){var e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)},t.prototype.forEachRemovedItem=function(t){var e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)},t.prototype.forEachIdentityChange=function(t){var e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)},t.prototype.diff=function(t){if(null==t&&(t=[]),!U(t))throw new Error("Error trying to diff '"+u(t)+"'. Only arrays and iterables are allowed");return this.check(t)?this:null},t.prototype.onDestroy=function(){},t.prototype.check=function(t){var e=this;this._reset();var n,r,i,u=this._itHead,s=!1;if(Array.isArray(t)){this.length=t.length;for(var a=0;a<this.length;a++)i=this._trackByFn(a,r=t[a]),null!==u&&l(u.trackById,i)?(s&&(u=this._verifyReinsertion(u,r,i,a)),l(u.item,r)||this._addIdentityChange(u,r)):(u=this._mismatch(u,r,i,a),s=!0),u=u._next}else n=0,function(t,e){if(Array.isArray(t))for(var n=0;n<t.length;n++)e(t[n]);else for(var r=t[o()](),i=void 0;!(i=r.next()).done;)e(i.value)}(t,function(t){i=e._trackByFn(n,t),null!==u&&l(u.trackById,i)?(s&&(u=e._verifyReinsertion(u,t,i,n)),l(u.item,t)||e._addIdentityChange(u,t)):(u=e._mismatch(u,t,i,n),s=!0),u=u._next,n++}),this.length=n;return this._truncate(u),this.collection=t,this.isDirty},Object.defineProperty(t.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead},enumerable:!0,configurable:!0}),t.prototype._reset=function(){if(this.isDirty){var t=void 0,e=void 0;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=e)t.previousIndex=t.currentIndex,e=t._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}},t.prototype._mismatch=function(t,e,n,r){var o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(l(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,o,r)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(l(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,o,r)):t=this._addAfter(new Jr(e,n),o,r),t},t.prototype._verifyReinsertion=function(t,e,n,r){var o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==o?t=this._reinsertAfter(o,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t},t.prototype._truncate=function(t){for(;null!==t;){var e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)},t.prototype._reinsertAfter=function(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);var r=t._prevRemoved,o=t._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(t,e,n),this._addToMoves(t,n),t},t.prototype._moveAfter=function(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t},t.prototype._addAfter=function(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t},t.prototype._insertAfter=function(t,e,n){var r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new eo),this._linkedRecords.put(t),t.currentIndex=n,t},t.prototype._remove=function(t){return this._addToRemovals(this._unlink(t))},t.prototype._unlink=function(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);var e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t},t.prototype._addToMoves=function(t,e){return t.previousIndex===e?t:(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t,t)},t.prototype._addToRemovals=function(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new eo),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t},t.prototype._addIdentityChange=function(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t},t}(),Jr=function(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null},to=function(){function t(){this._head=null,this._tail=null}return t.prototype.add=function(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)},t.prototype.get=function(t,e){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&l(n.trackById,t))return n;return null},t.prototype.remove=function(t){var e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head},t}(),eo=function(){function t(){this.map=new Map}return t.prototype.put=function(t){var e=t.trackById,n=this.map.get(e);n||(n=new to,this.map.set(e,n)),n.add(t)},t.prototype.get=function(t,e){var n=this.map.get(t);return n?n.get(t,e):null},t.prototype.remove=function(t){var e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t},Object.defineProperty(t.prototype,"isEmpty",{get:function(){return 0===this.map.size},enumerable:!0,configurable:!0}),t.prototype.clear=function(){this.map.clear()},t}(),no=function(){function t(){}return t.prototype.supports=function(t){return t instanceof Map||H(t)},t.prototype.create=function(){return new ro},t}(),ro=function(){function t(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}return Object.defineProperty(t.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead},enumerable:!0,configurable:!0}),t.prototype.forEachItem=function(t){var e;for(e=this._mapHead;null!==e;e=e._next)t(e)},t.prototype.forEachPreviousItem=function(t){var e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)},t.prototype.forEachChangedItem=function(t){var e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)},t.prototype.forEachAddedItem=function(t){var e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)},t.prototype.forEachRemovedItem=function(t){var e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)},t.prototype.diff=function(t){if(t){if(!(t instanceof Map||H(t)))throw new Error("Error trying to diff '"+u(t)+"'. Only maps and objects are allowed")}else t=new Map;return this.check(t)?this:null},t.prototype.onDestroy=function(){},t.prototype.check=function(t){var e=this;this._reset();var n=this._mapHead;if(this._appendAfter=null,this._forEach(t,function(t,r){if(n&&n.key===r)e._maybeAddToChanges(n,t),e._appendAfter=n,n=n._next;else{var o=e._getOrCreateRecordForKey(r,t);n=e._insertBeforeOrAppend(n,o)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(var r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty},t.prototype._insertBeforeOrAppend=function(t,e){if(t){var n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null},t.prototype._getOrCreateRecordForKey=function(t,e){if(this._records.has(t)){var n=this._records.get(t);this._maybeAddToChanges(n,e);var r=n._prev,o=n._next;return r&&(r._next=o),o&&(o._prev=r),n._next=null,n._prev=null,n}var i=new oo(t);return this._records.set(t,i),i.currentValue=e,this._addToAdditions(i),i},t.prototype._reset=function(){if(this.isDirty){var t=void 0;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}},t.prototype._maybeAddToChanges=function(t,e){l(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))},t.prototype._addToAdditions=function(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)},t.prototype._addToChanges=function(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)},t.prototype._forEach=function(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(function(n){return e(t[n],n)})},t}(),oo=function(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null},io=function(){function t(t){this.factories=t}return t.create=function(e,n){if(null!=n){var r=n.factories.slice();return e=e.concat(r),new t(e)}return new t(e)},t.extend=function(e){return{provide:t,useFactory:function(n){if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return t.create(e,n)},deps:[[t,new Mn,new Fn]]}},t.prototype.find=function(t){var e=this.factories.find(function(e){return e.supports(t)});if(null!=e)return e;throw new Error("Cannot find a differ supporting object '"+t+"' of type '"+(t.name||typeof t)+"'")},t}(),lo=function(){function t(t){this.factories=t}return t.create=function(e,n){if(n){var r=n.factories.slice();e=e.concat(r)}return new t(e)},t.extend=function(e){return{provide:t,useFactory:function(n){if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return t.create(e,n)},deps:[[t,new Mn,new Fn]]}},t.prototype.find=function(t){var e=this.factories.find(function(e){return e.supports(t)});if(e)return e;throw new Error("Cannot find a differ supporting object '"+t+"'")},t}(),uo=[new no],so=new io([new $r]),ao=new lo(uo),co=V(null,"core",[{provide:cr,useValue:"unknown"},{provide:Mr,deps:[Qn]},{provide:Ir,deps:[]},{provide:hr,deps:[]}]),po=new On("LocaleId"),ho=function(t){},fo=function(){var t={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};return t[t.NONE]="NONE",t[t.HTML]="HTML",t[t.STYLE]="STYLE",t[t.SCRIPT]="SCRIPT",t[t.URL]="URL",t[t.RESOURCE_URL]="RESOURCE_URL",t}(),yo=function(){},mo={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},go=function(){},vo=new Map,_o="$$undefined",bo="$$empty",wo=0,Co=new WeakMap,Eo=/^:([^:]+):(.+)$/,So=new Object,Po=rt(Qn),To=rt(wr),ko=new Object,Oo=function(t){function e(e,n,r,o,i,l){var u=t.call(this)||this;return u.selector=e,u.componentType=n,u._inputs=o,u._outputs=i,u.ngContentSelectors=l,u.viewDefFactory=r,u}return Object(En.b)(e,t),Object.defineProperty(e.prototype,"inputs",{get:function(){var t=[],e=this._inputs;for(var n in e)t.push({propName:n,templateName:e[n]});return t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputs",{get:function(){var t=[];for(var e in this._outputs)t.push({propName:e,templateName:this._outputs[e]});return t},enumerable:!0,configurable:!0}),e.prototype.create=function(t,e,n,r){if(!r)throw new Error("ngModule should be provided");var o=wt(this.viewDefFactory),i=o.nodes[0].element.componentProvider.nodeIndex,l=mo.createRootView(t,e||[],n,o,r,ko),u=X(l,i).instance;return n&&l.renderer.setAttribute($(l,0).renderElement,"ng-version",An.full),new xo(l,new Vo(l),u)},e}(yr),xo=function(t){function e(e,n,r){var o=t.call(this)||this;return o._view=e,o._viewRef=n,o._component=r,o._elDef=o._view.def.nodes[0],o.hostView=n,o.changeDetectorRef=n,o.instance=r,o}return Object(En.b)(e,t),Object.defineProperty(e.prototype,"location",{get:function(){return new Ur($(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new No(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this._viewRef.destroy()},e.prototype.onDestroy=function(t){this._viewRef.onDestroy(t)},e}(function(){}),Io=function(){function t(t,e,n){this._view=t,this._elDef=e,this._data=n,this._embeddedViews=[]}return Object.defineProperty(t.prototype,"element",{get:function(){return new Ur(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new No(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentInjector",{get:function(){for(var t=this._view,e=this._elDef.parent;!e&&t;)e=ft(t),t=t.parent;return t?new No(t,e):new No(this._view,null)},enumerable:!0,configurable:!0}),t.prototype.clear=function(){for(var t=this._embeddedViews.length-1;t>=0;t--){var e=Lt(this._data,t);mo.destroyView(e)}},t.prototype.get=function(t){var e=this._embeddedViews[t];if(e){var n=new Vo(e);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(t.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),t.prototype.createEmbeddedView=function(t,e,n){var r=t.createEmbeddedView(e||{});return this.insert(r,n),r},t.prototype.createComponent=function(t,e,n,r,o){var i=n||this.parentInjector;o||t instanceof br||(o=i.get(wr));var l=t.create(i,r,void 0,o);return this.insert(l.hostView,e),l},t.prototype.insert=function(t,e){if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n=t;return function(t,e,n,r){var o=e.viewContainer._embeddedViews;null!==n&&void 0!==n||(n=o.length),r.viewContainerParent=t,Qt(o,n,r),function(t,e){var n=ht(e);if(n&&n!==t&&!(16&e.state)){e.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(e),function(t,n){if(!(4&n.flags)){e.parent.def.nodeFlags|=4,n.flags|=4;for(var r=n.parent;r;)r.childFlags|=4,r=r.parent}}(0,e.parentNodeDef)}}(e,r),mo.dirtyParentQueries(r),Ut(e,n>0?o[n-1]:null,r)}(this._view,this._data,e,n._view),n.attachToViewContainerRef(this),t},t.prototype.move=function(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n=this._embeddedViews.indexOf(t._view);return function(t,e,r){var o=t.viewContainer._embeddedViews,i=o[n];zt(o,n),null==r&&(r=o.length),Qt(o,r,i),mo.dirtyParentQueries(i),Ht(i),Ut(t,r>0?o[r-1]:null,i)}(this._data,0,e),t},t.prototype.indexOf=function(t){return this._embeddedViews.indexOf(t._view)},t.prototype.remove=function(t){var e=Lt(this._data,t);e&&mo.destroyView(e)},t.prototype.detach=function(t){var e=Lt(this._data,t);return e?new Vo(e):null},t}(),Vo=function(){function t(t){this._view=t,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(t.prototype,"rootNodes",{get:function(){return function(t){var e=[];return Ct(t,0,void 0,void 0,e),e}(this._view)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),t.prototype.markForCheck=function(){at(this._view)},t.prototype.detach=function(){this._view.state&=-5},t.prototype.detectChanges=function(){var t=this._view.root.rendererFactory;t.begin&&t.begin();try{mo.checkAndUpdateView(this._view)}finally{t.end&&t.end()}},t.prototype.checkNoChanges=function(){mo.checkNoChangesView(this._view)},t.prototype.reattach=function(){this._view.state|=4},t.prototype.onDestroy=function(t){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(t)},t.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),mo.destroyView(this._view)},t.prototype.detachFromAppRef=function(){this._appRef=null,Ht(this._view),mo.dirtyParentQueries(this._view)},t.prototype.attachToAppRef=function(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t},t.prototype.attachToViewContainerRef=function(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t},t}(),Ao=function(t){function e(e,n){var r=t.call(this)||this;return r._parentView=e,r._def=n,r}return Object(En.b)(e,t),e.prototype.createEmbeddedView=function(t){return new Vo(mo.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))},Object.defineProperty(e.prototype,"elementRef",{get:function(){return new Ur($(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),e}(Qr),No=function(){function t(t,e){this.view=t,this.elDef=e}return t.prototype.get=function(t,e){return void 0===e&&(e=Qn.THROW_IF_NOT_FOUND),mo.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:t,tokenKey:rt(t)},e)},t}(),Fo=function(){function t(t){this.delegate=t}return t.prototype.selectRootElement=function(t){return this.delegate.selectRootElement(t)},t.prototype.createElement=function(t,e){var n=kt(e),r=this.delegate.createElement(n[1],n[0]);return t&&this.delegate.appendChild(t,r),r},t.prototype.createViewRoot=function(t){return t},t.prototype.createTemplateAnchor=function(t){var e=this.delegate.createComment("");return t&&this.delegate.appendChild(t,e),e},t.prototype.createText=function(t,e){var n=this.delegate.createText(e);return t&&this.delegate.appendChild(t,n),n},t.prototype.projectNodes=function(t,e){for(var n=0;n<e.length;n++)this.delegate.appendChild(t,e[n])},t.prototype.attachViewAfter=function(t,e){for(var n=this.delegate.parentNode(t),r=this.delegate.nextSibling(t),o=0;o<e.length;o++)this.delegate.insertBefore(n,e[o],r)},t.prototype.detachView=function(t){for(var e=0;e<t.length;e++){var n=t[e],r=this.delegate.parentNode(n);this.delegate.removeChild(r,n)}},t.prototype.destroyView=function(t,e){for(var n=0;n<e.length;n++)this.delegate.destroyNode(e[n])},t.prototype.listen=function(t,e,n){return this.delegate.listen(t,e,n)},t.prototype.listenGlobal=function(t,e,n){return this.delegate.listen(t,e,n)},t.prototype.setElementProperty=function(t,e,n){this.delegate.setProperty(t,e,n)},t.prototype.setElementAttribute=function(t,e,n){var r=kt(e),o=r[0],i=r[1];null!=n?this.delegate.setAttribute(t,i,n,o):this.delegate.removeAttribute(t,i,o)},t.prototype.setBindingDebugInfo=function(t,e,n){},t.prototype.setElementClass=function(t,e,n){n?this.delegate.addClass(t,e):this.delegate.removeClass(t,e)},t.prototype.setElementStyle=function(t,e,n){null!=n?this.delegate.setStyle(t,e,n):this.delegate.removeStyle(t,e)},t.prototype.invokeElementMethod=function(t,e,n){t[e].apply(t,n)},t.prototype.setText=function(t,e){this.delegate.setValue(t,e)},t.prototype.animate=function(){throw new Error("Renderer.animate is no longer supported!")},t}(),Ro=function(){function t(t,e,n,r){this._moduleType=t,this._parent=e,this._bootstrapComponents=n,this._def=r,this._destroyListeners=[],this._destroyed=!1,function(t){for(var e=t._def,n=t._providers=new Array(e.providers.length),r=0;r<e.providers.length;r++){var o=e.providers[r];4096&o.flags||(n[r]=Bt(t,o))}}(this)}return t.prototype.get=function(t,e){return void 0===e&&(e=Qn.THROW_IF_NOT_FOUND),jt(this,{token:t,tokenKey:rt(t),flags:0},e)},Object.defineProperty(t.prototype,"instance",{get:function(){return this.get(this._moduleType)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentFactoryResolver",{get:function(){return this.get(vr)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return this},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The ng module "+u(this.instance.constructor)+" has already been destroyed.");this._destroyed=!0,function(t,e){for(var n=t._def,r=0;r<n.providers.length;r++)if(131072&n.providers[r].flags){var o=t._providers[r];o&&o!==So&&o.ngOnDestroy()}}(this),this._destroyListeners.forEach(function(t){return t()})},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},t}(),Mo=rt(function(){}),Do=rt(Lr),jo=rt(Ur),Bo=rt(zr),Lo=rt(Qr),Uo=rt(function(){}),Ho=rt(Qn),Qo={},zo=function(){var t={CreateViewNodes:0,CheckNoChanges:1,CheckNoChangesProjectedViews:2,CheckAndUpdate:3,CheckAndUpdateProjectedViews:4,Destroy:5};return t[t.CreateViewNodes]="CreateViewNodes",t[t.CheckNoChanges]="CheckNoChanges",t[t.CheckNoChangesProjectedViews]="CheckNoChangesProjectedViews",t[t.CheckAndUpdate]="CheckAndUpdate",t[t.CheckAndUpdateProjectedViews]="CheckAndUpdateProjectedViews",t[t.Destroy]="Destroy",t}(),Go=!1,qo=new Map,Ko=new Map,Wo=function(){var t={create:0,detectChanges:1,checkNoChanges:2,destroy:3,handleEvent:4};return t[t.create]="create",t[t.detectChanges]="detectChanges",t[t.checkNoChanges]="checkNoChanges",t[t.destroy]="destroy",t[t.handleEvent]="handleEvent",t}(),Zo=/([A-Z])/g,$o=function(){function t(t,e){this.view=t,this.nodeIndex=e,null==e&&(this.nodeIndex=e=0),this.nodeDef=t.def.nodes[e];for(var n=this.nodeDef,r=t;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&r;)n=ft(r),r=r.parent;this.elDef=n,this.elView=r}return Object.defineProperty(t.prototype,"elOrCompView",{get:function(){return $(this.elView,this.elDef.nodeIndex).componentView||this.view},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return Zt(this.elView,this.elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"component",{get:function(){return this.elOrCompView.component},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this.elOrCompView.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){var t=[];if(this.elDef)for(var e=this.elDef.nodeIndex+1;e<=this.elDef.nodeIndex+this.elDef.childCount;e++){var n=this.elView.def.nodes[e];20224&n.flags&&t.push(n.provider.token),e+=n.childCount}return t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){var t={};if(this.elDef){fn(this.elView,this.elDef,t);for(var e=this.elDef.nodeIndex+1;e<=this.elDef.nodeIndex+this.elDef.childCount;e++){var n=this.elView.def.nodes[e];20224&n.flags&&fn(this.elView,n,t),e+=n.childCount}}return t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentRenderElement",{get:function(){var t=function(t){for(;t&&!mt(t);)t=t.parent;return t.parent?$(t.parent,ft(t).nodeIndex):null}(this.elOrCompView);return t?t.renderElement:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"renderNode",{get:function(){return 2&this.nodeDef.flags?dt(this.view,this.nodeDef):dt(this.elView,this.elDef)},enumerable:!0,configurable:!0}),t.prototype.logError=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r,o;2&this.nodeDef.flags?(r=this.view.def,o=this.nodeDef.nodeIndex):(r=this.elView.def,o=this.elDef.nodeIndex);var i=function(t,e){for(var n=-1,r=0;r<=e;r++)3&t.nodes[r].flags&&n++;return n}(r,o),l=-1;r.factory(function(){return++l===i?(n=t.error).bind.apply(n,[t].concat(e)):go;var n}),l<i&&(t.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),t.error.apply(t,e))},t}(),Xo=function(){function t(t){this.delegate=t}return t.prototype.createRenderer=function(t,e){return new Yo(this.delegate.createRenderer(t,e))},t.prototype.begin=function(){this.delegate.begin&&this.delegate.begin()},t.prototype.end=function(){this.delegate.end&&this.delegate.end()},t.prototype.whenRenderingDone=function(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)},t}(),Yo=function(){function t(t){this.delegate=t}return Object.defineProperty(t.prototype,"data",{get:function(){return this.delegate.data},enumerable:!0,configurable:!0}),t.prototype.destroyNode=function(t){!function(t){Kr.delete(t.nativeNode)}(j(t)),this.delegate.destroyNode&&this.delegate.destroyNode(t)},t.prototype.destroy=function(){this.delegate.destroy()},t.prototype.createElement=function(t,e){var n=this.delegate.createElement(t,e),r=yn();if(r){var o=new qr(n,null,r);o.name=t,B(o)}return n},t.prototype.createComment=function(t){var e=this.delegate.createComment(t),n=yn();return n&&B(new Gr(e,null,n)),e},t.prototype.createText=function(t){var e=this.delegate.createText(t),n=yn();return n&&B(new Gr(e,null,n)),e},t.prototype.appendChild=function(t,e){var n=j(t),r=j(e);n&&r&&n instanceof qr&&n.addChild(r),this.delegate.appendChild(t,e)},t.prototype.insertBefore=function(t,e,n){var r=j(t),o=j(e),i=j(n);r&&o&&r instanceof qr&&r.insertBefore(i,o),this.delegate.insertBefore(t,e,n)},t.prototype.removeChild=function(t,e){var n=j(t),r=j(e);n&&r&&n instanceof qr&&n.removeChild(r),this.delegate.removeChild(t,e)},t.prototype.selectRootElement=function(t){var e=this.delegate.selectRootElement(t),n=yn();return n&&B(new qr(e,null,n)),e},t.prototype.setAttribute=function(t,e,n,r){var o=j(t);o&&o instanceof qr&&(o.attributes[r?r+":"+e:e]=n),this.delegate.setAttribute(t,e,n,r)},t.prototype.removeAttribute=function(t,e,n){var r=j(t);r&&r instanceof qr&&(r.attributes[n?n+":"+e:e]=null),this.delegate.removeAttribute(t,e,n)},t.prototype.addClass=function(t,e){var n=j(t);n&&n instanceof qr&&(n.classes[e]=!0),this.delegate.addClass(t,e)},t.prototype.removeClass=function(t,e){var n=j(t);n&&n instanceof qr&&(n.classes[e]=!1),this.delegate.removeClass(t,e)},t.prototype.setStyle=function(t,e,n,r){var o=j(t);o&&o instanceof qr&&(o.styles[e]=n),this.delegate.setStyle(t,e,n,r)},t.prototype.removeStyle=function(t,e,n){var r=j(t);r&&r instanceof qr&&(r.styles[e]=null),this.delegate.removeStyle(t,e,n)},t.prototype.setProperty=function(t,e,n){var r=j(t);r&&r instanceof qr&&(r.properties[e]=n),this.delegate.setProperty(t,e,n)},t.prototype.listen=function(t,e,n){if("string"!=typeof t){var r=j(t);r&&r.listeners.push(new function(t,e){this.name=t,this.callback=e}(e,n))}return this.delegate.listen(t,e,n)},t.prototype.parentNode=function(t){return this.delegate.parentNode(t)},t.prototype.nextSibling=function(t){return this.delegate.nextSibling(t)},t.prototype.setValue=function(t,e){return this.delegate.setValue(t,e)},t}(),Jo=function(t){function e(e,n,r){var o=t.call(this)||this;return o.moduleType=e,o._bootstrapComponents=n,o._ngModuleDefFactory=r,o}return Object(En.b)(e,t),e.prototype.create=function(t){!function(){if(!Go){Go=!0;var t=I()?{setCurrentNode:on,createRootView:ze,createEmbeddedView:qe,createComponentView:Ke,createNgModuleRef:We,overrideProvider:Ze,overrideComponentView:$e,clearOverrides:Xe,checkAndUpdateView:en,checkNoChangesView:nn,destroyView:rn,createDebugContext:function(t,e){return new $o(t,e)},handleEvent:ln,updateDirectives:un,updateRenderer:sn}:{setCurrentNode:function(){},createRootView:Qe,createEmbeddedView:Pe,createComponentView:ke,createNgModuleRef:Yt,overrideProvider:go,overrideComponentView:go,clearOverrides:go,checkAndUpdateView:Ae,checkNoChangesView:Ve,destroyView:De,createDebugContext:function(t,e){return new $o(t,e)},handleEvent:function(t,e,n,r){return t.def.handleEvent(t,e,n,r)},updateDirectives:function(t,e){return t.def.updateDirectives(0===e?Je:tn,t)},updateRenderer:function(t,e){return t.def.updateRenderer(0===e?Je:tn,t)}};mo.setCurrentNode=t.setCurrentNode,mo.createRootView=t.createRootView,mo.createEmbeddedView=t.createEmbeddedView,mo.createComponentView=t.createComponentView,mo.createNgModuleRef=t.createNgModuleRef,mo.overrideProvider=t.overrideProvider,mo.overrideComponentView=t.overrideComponentView,mo.clearOverrides=t.clearOverrides,mo.checkAndUpdateView=t.checkAndUpdateView,mo.checkNoChangesView=t.checkNoChangesView,mo.destroyView=t.destroyView,mo.resolveDep=se,mo.createDebugContext=t.createDebugContext,mo.handleEvent=t.handleEvent,mo.updateDirectives=t.updateDirectives,mo.updateRenderer=t.updateRenderer,mo.dirtyParentQueries=de}}();var e=wt(this._ngModuleDefFactory);return mo.createNgModuleRef(this.moduleType,t||Qn.NULL,this._bootstrapComponents,e)},e}(function(){})}).call(e,n("fRUx"))},NGRF:function(t,e,n){"use strict";e.a=function(t){return null!=t&&"object"==typeof t}},TO51:function(t,e,n){"use strict";var r=n("6Xbx"),o=n("AP4T"),i=n("E9/g"),l=n("qLnt"),u=function(t){function e(){var e=t.call(this,"object unsubscribed");this.name=e.name="ObjectUnsubscribedError",this.stack=e.stack,this.message=e.message}return Object(r.b)(e,t),e}(Error),s=function(t){function e(e,n){t.call(this),this.subject=e,this.subscriber=n,this.closed=!1}return Object(r.b)(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},e}(l.a),a=n("V7AE");n.d(e,"b",function(){return c}),n.d(e,"a",function(){return p});var c=function(t){function e(e){t.call(this,e),this.destination=e}return Object(r.b)(e,t),e}(i.a),p=function(t){function e(){t.call(this),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}return Object(r.b)(e,t),e.prototype[a.a]=function(){return new c(this)},e.prototype.lift=function(t){var e=new h(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new u;if(!this.isStopped)for(var e=this.observers,n=e.length,r=e.slice(),o=0;o<n;o++)r[o].next(t)},e.prototype.error=function(t){if(this.closed)throw new u;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var e=this.observers,n=e.length,r=e.slice(),o=0;o<n;o++)r[o].error(t);this.observers.length=0},e.prototype.complete=function(){if(this.closed)throw new u;this.isStopped=!0;for(var t=this.observers,e=t.length,n=t.slice(),r=0;r<e;r++)n[r].complete();this.observers.length=0},e.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},e.prototype._trySubscribe=function(e){if(this.closed)throw new u;return t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){if(this.closed)throw new u;return this.hasError?(t.error(this.thrownError),l.a.EMPTY):this.isStopped?(t.complete(),l.a.EMPTY):(this.observers.push(t),new s(this,t))},e.prototype.asObservable=function(){var t=new o.a;return t.source=this,t},e.create=function(t,e){return new h(t,e)},e}(o.a),h=function(t){function e(e,n){t.call(this),this.destination=e,this.source=n}return Object(r.b)(e,t),e.prototype.next=function(t){var e=this.destination;e&&e.next&&e.next(t)},e.prototype.error=function(t){var e=this.destination;e&&e.error&&this.destination.error(t)},e.prototype.complete=function(){var t=this.destination;t&&t.complete&&this.destination.complete()},e.prototype._subscribe=function(t){return this.source?this.source.subscribe(t):l.a.EMPTY},e}(p)},URbD:function(t,e,n){"use strict";function r(){return function(t){return t.lift(new c(t))}}function o(){return new l.a}var i=n("6Xbx"),l=n("TO51"),u=n("AP4T"),s=n("E9/g"),a=n("qLnt"),c=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new p(t,n),o=e.subscribe(r);return r.closed||(r.connection=n.connect()),o},t}(),p=function(t){function e(e,n){t.call(this,e),this.connectable=n}return Object(i.b)(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},e}(s.a),h=function(t){function e(e,n){t.call(this),this.source=e,this.subjectFactory=n,this._refCount=0,this._isComplete=!1}return Object(i.b)(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new a.a).add(this.source.subscribe(new d(this.getSubject(),this))),t.closed?(this._connection=null,t=a.a.EMPTY):this._connection=t),t},e.prototype.refCount=function(){return r()(this)},e}(u.a).prototype,f={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:h._subscribe},_isComplete:{value:h._isComplete,writable:!0},getSubject:{value:h.getSubject},connect:{value:h.connect},refCount:{value:h.refCount}},d=function(t){function e(e,n){t.call(this,e),this.connectable=n}return Object(i.b)(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(l.b);e.a=function(){return function(t){return r()(function(t,e){return function(e){var n;n="function"==typeof t?t:function(){return t};var r=Object.create(e,f);return r.source=e,r.subjectFactory=n,r}}(o)(t))}(this)}},V7AE:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("xIGM").a.Symbol,o="function"==typeof r&&"function"==typeof r.for?r.for("rxSubscriber"):"@@rxSubscriber"},YuZA:function(t,e){function n(t){return Promise.resolve().then(function(){throw new Error("Cannot find module '"+t+"'.")})}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id="YuZA"},cDNt:function(t,e,n){"use strict";function r(t,e){var n=o(t),r=n[13][e];if(void 0===r){if(e===qe.CurrencyDecimal)return n[13][qe.Decimal];if(e===qe.CurrencyGroup)return n[13][qe.Group]}return r}function o(t){var e=t.toLowerCase().replace(/_/g,"-"),n=Qe[e];if(n)return n;var r=e.split("-")[0];if(n=Qe[r])return n;if("en"===r)return He;throw new Error('Missing locale data for the locale "'+t+'".')}function i(t,e){return Error("InvalidPipeArgument: '"+e+"' for pipe '"+Object(je._12)(t)+"'")}function l(t,e,n,i,l){void 0===l&&(l=null);var s,a={str:null},c=function(t,n){return o(e)[14][n]}(0,n);if("string"!=typeof t||isNaN(+t-parseFloat(t))){if("number"!=typeof t)return a.error=t+" is not a number",a;s=t}else s=+t;n===ze.Percent&&(s*=100);var p=Math.abs(s)+"",h=function(t,e){void 0===e&&(e="-");var n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=t.split(ln),o=r[0],i=r[1],l=-1!==o.indexOf(rn)?o.split(rn):[o.substring(0,o.lastIndexOf(on)+1),o.substring(o.lastIndexOf(on)+1)],u=l[0],s=l[1]||"";n.posPre=u.substr(0,u.indexOf(sn));for(var a=0;a<s.length;a++){var c=s.charAt(a);c===on?n.minFrac=n.maxFrac=a+1:c===sn?n.maxFrac=a+1:n.posSuf+=c}var p=u.split(un);if(n.gSize=p[1]?p[1].length:0,n.lgSize=p[2]||p[1]?(p[2]||p[1]).length:0,i){var h=o.length-n.posPre.length-n.posSuf.length,f=i.indexOf(sn);n.negPre=i.substr(0,f).replace(/'/g,""),n.negSuf=i.substr(f+h).replace(/'/g,"")}else n.negPre=e+n.posPre,n.negSuf=n.posSuf;return n}(c,r(e,qe.MinusSign)),f="",d=!1;if(isFinite(s)){var y=function(t){var e,n,r,o,i,l=0;for((n=t.indexOf(rn))>-1&&(t=t.replace(rn,"")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;t.charAt(r)===on;r++);if(r===(i=t.length))e=[0],n=1;else{for(i--;t.charAt(i)===on;)i--;for(n-=r,e=[],o=0;r<=i;r++,o++)e[o]=+t.charAt(r)}return n>nn&&(e=e.splice(0,nn-1),l=n-1,n=1),{digits:e,exponent:l,integerLen:n}}(p),m=h.minInt,g=h.minFrac,v=h.maxFrac;if(i){var _=i.match(en);if(null===_)return a.error=i+" is not a valid digit info",a;var b=_[1],w=_[3],C=_[5];null!=b&&(m=u(b)),null!=w&&(g=u(w)),null!=C?v=u(C):null!=w&&g>v&&(v=g)}!function(t,e,n){if(e>n)throw new Error("The minimum number of digits after fraction ("+e+") is higher than the maximum ("+n+").");var r=t.digits,o=r.length-t.integerLen,i=Math.min(Math.max(e,o),n),l=i+t.integerLen,u=r[l];if(l>0){r.splice(Math.max(t.integerLen,l));for(var s=l;s<r.length;s++)r[s]=0}else{o=Math.max(0,o),t.integerLen=1,r.length=Math.max(1,l=i+1),r[0]=0;for(var a=1;a<l;a++)r[a]=0}if(u>=5)if(l-1<0){for(var c=0;c>l;c--)r.unshift(0),t.integerLen++;r.unshift(1),t.integerLen++}else r[l-1]++;for(;o<Math.max(0,i);o++)r.push(0);var p=r.reduceRight(function(t,e,n,r){return e+=t,r[n]=e%10,Math.floor(e/10)},0);p&&(r.unshift(p),t.integerLen++)}(y,g,v);var E=y.digits,S=y.integerLen,P=y.exponent,T=[];for(d=E.every(function(t){return!t});S<m;S++)E.unshift(0);for(;S<0;S++)E.unshift(0);S>0?T=E.splice(S,E.length):(T=E,E=[0]);var k=[];for(E.length>=h.lgSize&&k.unshift(E.splice(-h.lgSize,E.length).join(""));E.length>h.gSize;)k.unshift(E.splice(-h.gSize,E.length).join(""));E.length&&k.unshift(E.join("")),f=k.join(r(e,l?qe.CurrencyGroup:qe.Group)),T.length&&(f+=r(e,l?qe.CurrencyDecimal:qe.Decimal)+T.join("")),P&&(f+=r(e,qe.Exponential)+"+"+P)}else f=r(e,qe.Infinity);return f=s<0&&!d?h.negPre+f+h.negSuf:h.posPre+f+h.posSuf,n===ze.Currency&&null!==l?(a.str=f.replace(an,l).replace(an,""),a):n===ze.Percent?(a.str=f.replace(new RegExp(cn,"g"),r(e,qe.PercentSign)),a):(a.str=f,a)}function u(t){var e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}function s(t){return null==t||""===t||t!=t}function a(){return yn}function c(){return!!window.history.pushState}function p(t,e){"undefined"!=typeof COMPILED&&COMPILED||((je.X.ng=je.X.ng||{})[t]=e)}function h(t){return Object(je.K)(t)}function f(t,e,n){for(var r=0;r<e.length;r++){var o=e[r];Array.isArray(o)?f(t,o,n):(o=o.replace(Dn,t),n.push(o))}return n}function d(t){return function(e){!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}function y(t,e){if(t.charCodeAt(0)===Hn)throw new Error("Found the synthetic "+e+" "+t+'. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.')}function m(t){return(t=String(t)).match(sr)||t.match(ar)?t:(Object(je.L)()&&a().log("WARNING: sanitizing unsafe URL value "+t+" (see http://g.co/ng/security#xss)"),"unsafe:"+t)}function g(t){for(var e={},n=0,r=t.split(",");n<r.length;n++)e[r[n]]=!0;return e}function v(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n={},r=0,o=t;r<o.length;r++){var i=o[r];for(var l in i)i.hasOwnProperty(l)&&(n[l]=!0)}return n}function _(t,e){if(e&&pr.contains(t,e))throw new Error("Failed to sanitize html because the element is clobbered: "+pr.getOuterHTML(t));return e}function b(t){return t.replace(/&/g,"&").replace(wr,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Cr,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}function w(t){pr.attributeMap(t).forEach(function(e,n){"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||pr.removeAttribute(t,n)});for(var e=0,n=pr.childNodesAsList(t);e<n.length;e++){var r=n[e];pr.isElementNode(r)&&w(r)}}function C(){return new je.i}function E(t,e){return void 0===e&&(e=null),{type:2,steps:t,options:e}}function S(t){return{type:6,styles:t,offset:null}}function P(t){Promise.resolve(null).then(t)}function T(t){switch(t.length){case 0:return new jr;case 1:return t[0];default:return new Br(t)}}function k(t,e,n,r,o,i){void 0===o&&(o={}),void 0===i&&(i={});var l=[],u=[],s=-1,a=null;if(r.forEach(function(t){var n=t.offset,r=n==s,c=r&&a||{};Object.keys(t).forEach(function(n){var r=n,u=t[n];if("offset"!==n)switch(r=e.normalizePropertyName(r,l),u){case Lr:u=o[n];break;case Dr:u=i[n];break;default:u=e.normalizeStyleValue(n,r,u,l)}c[r]=u}),r||u.push(c),a=c,s=n}),l.length)throw new Error("Unable to animate due to the following errors:\n - "+l.join("\n - "));return u}function O(t,e,n,r){switch(e){case"start":t.onStart(function(){return r(n&&x(n,"start",t.totalTime))});break;case"done":t.onDone(function(){return r(n&&x(n,"done",t.totalTime))});break;case"destroy":t.onDestroy(function(){return r(n&&x(n,"destroy",t.totalTime))})}}function x(t,e,n){var r=I(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,void 0==n?t.totalTime:n),o=t._data;return null!=o&&(r._data=o),r}function I(t,e,n,r,o,i){return void 0===o&&(o=""),void 0===i&&(i=0),{element:t,triggerName:e,fromState:n,toState:r,phaseName:o,totalTime:i}}function V(t,e,n){var r;return t instanceof Map?(r=t.get(e))||t.set(e,r=n):(r=t[e])||(r=t[e]=n),r}function A(t){var e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}function N(t){qr||(qr=F()||{},Kr=!!qr.style&&"WebkitAppearance"in qr.style);var e=!0;return qr.style&&"ebkit"!=t.substring(1,6)&&!(e=t in qr.style)&&Kr&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in qr.style),e}function F(){return"undefined"!=typeof document?document.body:null}function R(t){if("number"==typeof t)return t;var e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:M(parseFloat(e[1]),e[2])}function M(t,e){switch(e){case"s":return t*Jr;default:return t}}function D(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){var r,o=0,i="";if("string"==typeof t){var l=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===l)return e.push('The provided timing value "'+t+'" is invalid.'),{duration:0,delay:0,easing:""};r=M(parseFloat(l[1]),l[2]);var u=l[3];null!=u&&(o=M(Math.floor(parseFloat(u)),l[4]));var s=l[5];s&&(i=s)}else r=t;if(!n){var a=!1,c=e.length;r<0&&(e.push("Duration values below 0 are not allowed for this animation step."),a=!0),o<0&&(e.push("Delay values below 0 are not allowed for this animation step."),a=!0),a&&e.splice(c,0,'The provided timing value "'+t+'" is invalid.')}return{duration:r,delay:o,easing:i}}(t,e,n)}function j(t,e){return void 0===e&&(e={}),Object.keys(t).forEach(function(n){e[n]=t[n]}),e}function B(t,e,n){if(void 0===n&&(n={}),e)for(var r in t)n[r]=t[r];else j(t,n);return n}function L(t,e){t.style&&Object.keys(e).forEach(function(n){var r=q(n);t.style[r]=e[n]})}function U(t,e){t.style&&Object.keys(e).forEach(function(e){var n=q(e);t.style[n]=""})}function H(t){return Array.isArray(t)?1==t.length?t[0]:E(t):t}function Q(t){var e=[];if("string"==typeof t){for(var n=t.toString(),r=void 0;r=ro.exec(n);)e.push(r[1]);ro.lastIndex=0}return e}function z(t,e,n){var r=t.toString(),o=r.replace(ro,function(t,r){var o=e[r];return e.hasOwnProperty(r)||(n.push("Please provide a value for the animation param "+r),o=""),o.toString()});return o==r?t:o}function G(t){for(var e=[],n=t.next();!n.done;)e.push(n.value),n=t.next();return e}function q(t){return t.replace(oo,function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return t[1].toUpperCase()})}function K(t,e,n){switch(e.type){case 7:return t.visitTrigger(e,n);case 0:return t.visitState(e,n);case 1:return t.visitTransition(e,n);case 2:return t.visitSequence(e,n);case 3:return t.visitGroup(e,n);case 4:return t.visitAnimate(e,n);case 5:return t.visitKeyframes(e,n);case 6:return t.visitStyle(e,n);case 8:return t.visitReference(e,n);case 9:return t.visitAnimateChild(e,n);case 10:return t.visitAnimateRef(e,n);case 11:return t.visitQuery(e,n);case 12:return t.visitStagger(e,n);default:throw new Error("Unable to resolve animation metadata node #"+e.type)}}function W(t,e){var n=lo.has(t)||uo.has(t),r=lo.has(e)||uo.has(e);return function(o,i){var l=t==io||t==o,u=e==io||e==i;return!l&&n&&"boolean"==typeof o&&(l=o?lo.has(t):uo.has(t)),!u&&r&&"boolean"==typeof i&&(u=i?lo.has(e):uo.has(e)),l&&u}}function Z(t,e,n){return new ao(t).build(e,n)}function $(t){return!Array.isArray(t)&&"object"==typeof t}function X(t){return t?(t=j(t)).params&&(t.params=function(t){return t?j(t):null}(t.params)):t={},t}function Y(t,e,n){return{duration:t,delay:e,easing:n}}function J(t,e,n,r,o,i,l,u){return void 0===l&&(l=null),void 0===u&&(u=!1),{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:r,duration:o,delay:i,totalTime:o+i,easing:l,subTimeline:u}}function tt(t,e,n,r,o,i,l,u,s,a){return void 0===i&&(i={}),void 0===l&&(l={}),void 0===a&&(a=[]),(new yo).buildKeyframes(t,e,n,r,o,i,l,u,s,a)}function et(t,e){void 0===e&&(e=3);var n=Math.pow(10,e-1);return Math.round(t*n)/n}function nt(t,e,n,r,o,i,l,u,s,a,c,p){return{type:0,element:t,triggerName:e,isRemovalTransition:o,fromState:n,fromStyles:i,toState:r,toStyles:l,timelines:u,queriedElements:s,preStyleProps:a,postStyleProps:c,errors:p}}function rt(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}function ot(t){return t&&1===t.nodeType}function it(t,e){var n=t.style.display;return t.style.display=null!=e?e:"none",n}function lt(t,e,n,r,o){var i=[];n.forEach(function(t){return i.push(it(t))});var l=[];r.forEach(function(n,r){var i={};n.forEach(function(t){var n=i[t]=e.computeStyle(r,t,o);n&&0!=n.length||(r[Fo]=No,l.push(r))}),t.set(r,i)});var u=0;return n.forEach(function(t){return it(t,i[u++])}),l}function ut(t,e){function n(t){if(!t)return o;var e=l.get(t);if(e)return e;var u=t.parentNode;return e=r.has(u)?u:i.has(u)?o:n(u),l.set(t,e),e}var r=new Map;if(t.forEach(function(t){return r.set(t,[])}),0==e.length)return r;var o=1,i=new Set(e),l=new Map;return e.forEach(function(t){var e=n(t);e!==o&&r.get(e).push(t)}),r}function st(t,e){if(t.classList)t.classList.add(e);else{var n=t[Uo];n||(n=t[Uo]={}),n[e]=!0}}function at(t,e){if(t.classList)t.classList.remove(e);else{var n=t[Uo];n&&delete n[e]}}function ct(t,e){for(var n=0;n<t.length;n++){var r=t[n];r instanceof Br?ct(r.players,e):e.push(r)}}function pt(t,e,n){var r=n.get(t);if(!r)return!1;var o=e.get(t);return o?r.forEach(function(t){return o.add(t)}):e.set(t,r),n.delete(t),!0}function ht(t,e){return window.getComputedStyle(t)[e]}function ft(t,e,n,r,o){return t.setProperty(e,"@@"+n+":"+r,o)}function dt(){return"undefined"!=typeof Element&&"function"==typeof Element.prototype.animate?new zo:new Xr}function yt(){return new wo}function mt(t,e,n){return new Wo(t,e,n)}function gt(t){var e=t.subscriber;e.closed||(e.next(t.value),e.complete())}function vt(t){var e=t.subscriber;e.closed||e.error(t.err)}function _t(t){return null==t||0===t.length}function bt(t){return null!=t}function wt(t){var e=Object(je._1)(t)?si(t):t;if(!Object(je._0)(e))throw new Error("Expected validator to return Promise or Observable.");return e}function Ct(t){var e=t.reduce(function(t,e){return null!=e?Object(Be.a)({},t,e):t},{});return 0===Object.keys(e).length?null:e}function Et(t){return t.validate?function(e){return t.validate(e)}:t}function St(t){return t.validate?function(e){return t.validate(e)}:t}function Pt(){throw new Error("unimplemented")}function Tt(t,e){return null==t?""+e:(e&&"object"==typeof e&&(e="Object"),(t+": "+e).slice(0,50))}function kt(t,e){return null==t?""+e:("string"==typeof e&&(e="'"+e+"'"),e&&"object"==typeof e&&(e="Object"),(t+": "+e).slice(0,50))}function Ot(t,e){return e.path.concat([t])}function xt(t,e){t||Vt(e,"Cannot find control with"),e.valueAccessor||Vt(e,"No value accessor for form control with"),t.validator=yi.compose([t.validator,e.validator]),t.asyncValidator=yi.composeAsync([t.asyncValidator,e.asyncValidator]),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(function(n){t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&It(t,e)})}(t,e),function(e,n){t.registerOnChange(function(t,e){n.valueAccessor.writeValue(t),e&&n.viewToModelUpdate(t)})}(0,e),function(t,e){e.valueAccessor.registerOnTouched(function(){t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&It(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),e.valueAccessor.setDisabledState&&t.registerOnDisabledChange(function(t){e.valueAccessor.setDisabledState(t)}),e._rawValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(function(){return t.updateValueAndValidity()})}),e._rawAsyncValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(function(){return t.updateValueAndValidity()})})}function It(t,e){e.viewToModelUpdate(t._pendingValue),t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),t._pendingChange=!1}function Vt(t,e){var n;throw n=t.path.length>1?"path: '"+t.path.join(" -> ")+"'":t.path[0]?"name: '"+t.path+"'":"unspecified name attribute",new Error(e+" "+n)}function At(t){return null!=t?yi.compose(t.map(Et)):null}function Nt(t){return null!=t?yi.composeAsync(t.map(St)):null}function Ft(t){var e=Mt(t)?t.validators:t;return Array.isArray(e)?At(e):e||null}function Rt(t,e){var n=Mt(e)?e.asyncValidators:t;return Array.isArray(n)?Nt(n):n||null}function Mt(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}function Dt(t){for(var e=t.length-1;e>0;e--){var n=Math.floor(Math.random()*(e+1));t[e]=(r=[t[n],t[e]])[0],t[n]=r[1]}var r}function jt(t,e){return Math.floor(Math.random()*(e-t+1))+t}function Bt(){var t=jt(0,yl.length-1);return yl[t]}function Lt(){var t=jt(0,ml.length-1);return ml[t]}function Ut(t){for(var e=.1,n=0;n<t.length;n++)if((e+=t[n])<0)return!1;return!0}function Ht(t){return je._15(0,[(t()(),je.V(0,0,null,null,1,"button",[["class","toast-close-button"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.remove()&&r),r},null,null)),(t()(),je._13(-1,null,["\n \xd7\n "]))],null,null)}function Qt(t){return je._15(0,[(t()(),je.V(0,0,null,null,1,"div",[],[[8,"className",0],[1,"aria-label",0]],null,null,null,null)),(t()(),je._13(1,null,["\n ","\n "]))],null,function(t,e){var n=e.component;t(e,0,0,je.Y(1,"",n.options.titleClass,""),n.title),t(e,1,0,n.title)})}function zt(t){return je._15(0,[(t()(),je.V(0,0,null,null,1,"div",[],[[8,"className",0],[8,"innerHTML",1]],null,null,null,null)),(t()(),je._13(-1,null,["\n "]))],null,function(t,e){var n=e.component;t(e,0,0,je.Y(1,"",n.options.messageClass,""),n.message)})}function Gt(t){return je._15(0,[(t()(),je.V(0,0,null,null,1,"div",[],[[8,"className",0],[1,"aria-label",0]],null,null,null,null)),(t()(),je._13(1,null,["\n ","\n "]))],null,function(t,e){var n=e.component;t(e,0,0,je.Y(1,"",n.options.messageClass,""),n.message),t(e,1,0,n.message)})}function qt(t){return je._15(0,[(t()(),je.V(0,0,null,null,3,"div",[],null,null,null,null,null)),(t()(),je._13(-1,null,["\n "])),(t()(),je.V(2,0,null,null,0,"div",[["class","toast-progress"]],[[4,"width","%"]],null,null,null,null)),(t()(),je._13(-1,null,["\n "]))],null,function(t,e){t(e,2,0,e.component.width)})}function Kt(t){return je._15(0,[(t()(),je._13(-1,null,["\n "])),(t()(),je.Q(16777216,null,null,1,null,Ht)),je.U(2,16384,null,0,Je,[je.E,je.B],{ngIf:[0,"ngIf"]},null),(t()(),je._13(-1,null,["\n "])),(t()(),je.Q(16777216,null,null,1,null,Qt)),je.U(5,16384,null,0,Je,[je.E,je.B],{ngIf:[0,"ngIf"]},null),(t()(),je._13(-1,null,["\n "])),(t()(),je.Q(16777216,null,null,1,null,zt)),je.U(8,16384,null,0,Je,[je.E,je.B],{ngIf:[0,"ngIf"]},null),(t()(),je._13(-1,null,["\n "])),(t()(),je.Q(16777216,null,null,1,null,Gt)),je.U(11,16384,null,0,Je,[je.E,je.B],{ngIf:[0,"ngIf"]},null),(t()(),je._13(-1,null,["\n "])),(t()(),je.Q(16777216,null,null,1,null,qt)),je.U(14,16384,null,0,Je,[je.E,je.B],{ngIf:[0,"ngIf"]},null),(t()(),je._13(-1,null,["\n "]))],function(t,e){var n=e.component;t(e,2,0,n.options.closeButton),t(e,5,0,n.title),t(e,8,0,n.message&&n.options.enableHtml),t(e,11,0,n.message&&!n.options.enableHtml),t(e,14,0,n.options.progressBar)},null)}function Wt(t){return je._15(0,[(t()(),je.V(0,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),je._13(1,null,["(valued at ",")"])),je._10(2,1)],null,function(t,e){var n=e.component;t(e,1,0,je._14(e,1,0,t(e,2,0,je._8(e.parent.parent,1),n.clickereum*n.clickereumMarketValue)))})}function Zt(t){return je._15(0,[(t()(),je.V(0,0,null,null,1,"button",[],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.SetHaxSpeed(!1)&&r),r},null,null)),(t()(),je._13(-1,null,["turn speed off"]))],null,null)}function $t(t){return je._15(0,[(t()(),je.V(0,0,null,null,1,"button",[],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.SetHaxSpeed(!0)&&r),r},null,null)),(t()(),je._13(-1,null,["turn speed on"]))],null,null)}function Xt(t){return je._15(0,[(t()(),je.V(0,0,null,null,11,"div",[],null,null,null,null,null)),(t()(),je._13(1,null,["\n\t\t","\n\t\t"])),je._10(2,1),(t()(),je.Q(16777216,null,null,1,null,Zt)),je.U(4,16384,null,0,Je,[je.E,je.B],{ngIf:[0,"ngIf"]},null),(t()(),je._13(-1,null,["\n\t\t"])),(t()(),je.Q(16777216,null,null,1,null,$t)),je.U(7,16384,null,0,Je,[je.E,je.B],{ngIf:[0,"ngIf"]},null),(t()(),je._13(-1,null,["\n\t\t"])),(t()(),je.V(9,0,null,null,1,"button",[],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.ResetGame()&&r),r},null,null)),(t()(),je._13(-1,null,["reset"])),(t()(),je._13(-1,null,["\n\t"]))],function(t,e){var n=e.component;t(e,4,0,n.haxSpeedOn),t(e,7,0,!n.haxSpeedOn)},function(t,e){var n=e.component;t(e,1,0,je._14(e,1,0,t(e,2,0,je._8(e.parent.parent,2),n.totalTimeElapsedInSeconds)))})}function Yt(t){return je._15(0,[(t()(),je.V(0,0,null,null,6,"div",[["class","red"]],null,null,null,null,null)),(t()(),je.V(1,0,null,null,3,"div",[],null,null,null,null,null)),(t()(),je.V(2,0,null,null,1,"strong",[],null,null,null,null,null)),(t()(),je._13(-1,null,["WARNING:"])),(t()(),je._13(-1,null,[" Not enough cash to pay electric bill."])),(t()(),je.V(5,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),je._13(-1,null,["All operations paused until cash is positive."]))],null,null)}function Jt(t){return je._15(0,[(t()(),je.V(0,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),je.V(1,0,null,null,1,"strong",[],null,null,null,null,null)),(t()(),je._13(-1,null,["Profit/sec:"])),(t()(),je._13(3,null,[" "," "])),je._10(4,1)],null,function(t,e){var n=e.component;t(e,3,0,je._14(e,3,0,t(e,4,0,je._8(e.parent.parent,1),n.ClickereumPerSecond()*n.clickereumMarketValue-n.ElectricCostPerSecond())))})}function te(t){return je._15(0,[(t()(),je.V(0,0,null,null,8,"tr",[],null,null,null,null,null)),(t()(),je.V(1,0,null,null,2,"td",[],null,null,null,null,null)),(t()(),je.V(2,0,null,null,1,"button",[["data-tooltip","Reduces electricity costs by $0.75/second for each panel you own."]],[[8,"disabled",0]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.BuySolarPanel()&&r),r},null,null)),(t()(),je._13(-1,null,["Buy"])),(t()(),je.V(4,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),je._13(-1,null,["Solar Panel"])),(t()(),je.V(6,0,null,null,2,"td",[],null,null,null,null,null)),(t()(),je._13(7,null,["",""])),je._10(8,1)],null,function(t,e){var n=e.component;t(e,2,0,!n.CanBuySolarPanel()),t(e,7,0,je._14(e,7,0,t(e,8,0,je._8(e.parent.parent,1),n.costForSolarPanel)))})}function ee(t){return je._15(0,[(t()(),je.V(0,0,null,null,4,"tr",[],null,null,null,null,null)),(t()(),je.V(1,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),je._13(-1,null,["Solar panel"])),(t()(),je.V(3,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),je._13(4,null,["x",""]))],null,function(t,e){t(e,4,0,e.component.numberOfSolarPanels)})}function ne(t){return je._15(0,[(t()(),je.V(0,0,null,null,37,"div",[["class","inventory"]],null,null,null,null,null)),(t()(),je._13(-1,null,["\n\t\t\t\t"])),(t()(),je.V(2,0,null,null,1,"h2",[],null,null,null,null,null)),(t()(),je._13(-1,null,["Inventory"])),(t()(),je._13(-1,null,["\n\t\t\t\t"])),(t()(),je.V(5,0,null,null,0,"hr",[],null,null,null,null,null)),(t()(),je._13(-1,null,["\n\t\t\t\t"])),(t()(),je.V(7,0,null,null,29,"table",[],null,null,null,null,null)),(t()(),je._13(-1,null,["\n\t\t\t\t\t"])),(t()(),je.V(9,0,null,null,27,"tbody",[],null,null,null,null,null)),(t()(),je.V(10,0,null,null,4,"tr",[],null,null,null,null,null)),(t()(),je.V(11,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),je._13(-1,null,["PooForce 1"])),(t()(),je.V(13,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),je._13(14,null,["x",""])),(t()(),je._13(-1,null,["\n\t\t\t\t\t"])),(t()(),je.V(16,0,null,null,4,"tr",[],null,null,null,null,null)),(t()(),je.V(17,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),je._13(-1,null,["PooForce 2"])),(t()(),je.V(19,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),je._13(20,null,["x",""])),(t()(),je._13(-1,null,["\n\t\t\t\t\t"])),(t()(),je.V(22,0,null,null,4,"tr",[],null,null,null,null,null)),(t()(),je.V(23,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),je._13(-1,null,["PooForce 3"])),(t()(),je.V(25,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),je._13(26,null,["x",""])),(t()(),je._13(-1,null,["\n\t\t\t\t\t"])),(t()(),je.V(28,0,null,null,4,"tr",[],null,null,null,null,null)),(t()(),je.V(29,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),je._13(-1,null,["PooForce X"])),(t()(),je.V(31,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),je._13(32,null,["x",""])),(t()(),je._13(-1,null,["\n\t\t\t\t\t"])),(t()(),je.Q(16777216,null,null,1,null,ee)),je.U(35,16384,null,0,Je,[je.E,je.B],{ngIf:[0,"ngIf"]},null),(t()(),je._13(-1,null,["\n\t\t\t\t"])),(t()(),je._13(-1,null,["\n\t\t\t"]))],function(t,e){t(e,35,0,e.component.researchedSolarPanels)},function(t,e){var n=e.component;t(e,14,0,n.inventoryPooForce1),t(e,20,0,n.inventoryPooForce2),t(e,26,0,n.inventoryPooForce3),t(e,32,0,n.inventoryPooForceX)})}function re(t){return je._15(0,[(t()(),je.V(0,0,null,null,3,"option",[],null,null,null,null,null)),je.U(1,147456,null,0,Ti,[je.h,je.w,[2,Pi]],{value:[0,"value"]},null),je.U(2,147456,null,0,Oi,[je.h,je.w,[8,null]],{value:[0,"value"]},null),(t()(),je._13(3,null,["Rig ",""]))],function(t,e){t(e,1,0,e.context.index),t(e,2,0,e.context.index)},function(t,e){t(e,3,0,e.context.index+1)})}function oe(t){return je._15(0,[(t()(),je.V(0,0,null,null,3,"li",[],null,null,null,null,null)),(t()(),je._13(1,null,[""," "])),(t()(),je.V(2,0,null,null,1,"button",[],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.RemoveCardFromRig(t.context.index)&&r),r},null,null)),(t()(),je._13(-1,null,["X"]))],null,function(t,e){t(e,1,0,e.context.$implicit.name)})}function ie(t){return je._15(0,[(t()(),je.V(0,0,null,null,7,"div",[],null,null,null,null,null)),(t()(),je._13(-1,null,["Cards installed (max 4):\n\t\t\t\t\t\t"])),(t()(),je.V(2,0,null,null,4,"ul",[],null,null,null,null,null)),(t()(),je._13(-1,null,["\n\t\t\t\t\t\t\t"])),(t()(),je.Q(16777216,null,null,1,null,oe)),je.U(5,802816,null,0,Xe,[je.E,je.B,je.n],{ngForOf:[0,"ngForOf"]},null),(t()(),je._13(-1,null,["\n\t\t\t\t\t\t"])),(t()(),je._13(-1,null,["\n\t\t\t\t\t"]))],function(t,e){var n=e.component;t(e,5,0,n.rigs[n.selectedRigIndex].cards)},null)}function le(t){return je._15(0,[(t()(),je.V(0,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),je._13(-1,null,["\n\t\t\t\t\t\t\tNo cards in inventory. Purchase one from Noobegg.\n\t\t\t\t\t\t"]))],null,null)}function ue(t){return je._15(0,[(t()(),je.V(0,0,null,null,1,"button",[["class","block"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.InstallPooForce1()&&r),r},null,null)),(t()(),je._13(-1,null,["Install PooForce 1"]))],null,null)}function se(t){return je._15(0,[(t()(),je.V(0,0,null,null,1,"button",[["class","block"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.InstallPooForce2()&&r),r},null,null)),(t()(),je._13(-1,null,["Install PooForce 2"]))],null,null)}function ae(t){return je._15(0,[(t()(),je.V(0,0,null,null,1,"button",[["class","block"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.InstallPooForce3()&&r),r},null,null)),(t()(),je._13(-1,null,["Install PooForce 3"]))],null,null)}function ce(t){return je._15(0,[(t()(),je.V(0,0,null,null,1,"button",[["class","block"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.InstallPooForceX()&&r),r},null,null)),(t()(),je._13(-1,null,["Install PooForce X"]))],null,null)}function pe(t){return je._15(0,[(t()(),je.V(0,0,null,null,13,"div",[],null,null,null,null,null)),(t()(),je._13(-1,null,["\n\t\t\t\t\t\t\t"])),(t()(),je.Q(16777216,null,null,1,null,ue)),je.U(3,16384,null,0,Je,[je.E,je.B],{ngIf:[0,"ngIf"]},null),(t()(),je._13(-1,null,["\n\t\t\t\t\t\t\t"])),(t()(),je.Q(16777216,null,null,1,null,se)),je.U(6,16384,null,0,Je,[je.E,je.B],{ngIf:[0,"ngIf"]},null),(t()(),je._13(-1,null,["\n\t\t\t\t\t\t\t"])),(t()(),je.Q(16777216,null,null,1,null,ae)),je.U(9,16384,null,0,Je,[je.E,je.B],{ngIf:[0,"ngIf"]},null),(t()(),je._13(-1,null,["\n\t\t\t\t\t\t\t"])),(t()(),je.Q(16777216,null,null,1,null,ce)),je.U(12,16384,null,0,Je,[je.E,je.B],{ngIf:[0,"ngIf"]},null),(t()(),je._13(-1,null,["\n\t\t\t\t\t\t"]))],function(t,e){var n=e.component;t(e,3,0,n.inventoryPooForce1>0),t(e,6,0,n.inventoryPooForce2>0),t(e,9,0,n.inventoryPooForce3>0),t(e,12,0,n.inventoryPooForceX>0)},null)}function he(t){return je._15(0,[(t()(),je.V(0,0,null,null,10,"div",[],null,null,null,null,null)),(t()(),je._13(-1,null,["\n\t\t\t\t\t\t"])),(t()(),je.V(2,0,null,null,1,"strong",[],null,null,null,null,null)),(t()(),je._13(-1,null,["Install new card:"])),(t()(),je._13(-1,null,["\n\t\t\t\t\t\t"])),(t()(),je.Q(16777216,null,null,1,null,le)),je.U(6,16384,null,0,Je,[je.E,je.B],{ngIf:[0,"ngIf"]},null),(t()(),je._13(-1,null,["\n\t\t\t\t\t\t"])),(t()(),je.Q(16777216,null,null,1,null,pe)),je.U(9,16384,null,0,Je,[je.E,je.B],{ngIf:[0,"ngIf"]},null),(t()(),je._13(-1,null,["\n\t\t\t\t\t"]))],function(t,e){var n=e.component;t(e,6,0,!n.ShouldShowInventory()),t(e,9,0,n.ShouldShowInventory())},null)}function fe(t){return je._15(0,[(t()(),je.V(0,0,null,null,20,"div",[],null,null,null,null,null)),(t()(),je._13(-1,null,["\n\t\t\t\t\t"])),(t()(),je.V(2,0,null,null,3,"div",[],[[8,"className",0]],null,null,null,null)),(t()(),je._13(3,null,["Power: "," "])),(t()(),je.V(4,0,null,null,1,"button",[],null,[[null,"click"]],function(t,e,n){var r=!0,o=t.component;return"click"===e&&(r=!1!==o.rigs[o.selectedRigIndex].TogglePower()&&r),r},null,null)),(t()(),je._13(-1,null,["toggle"])),(t()(),je._13(-1,null,["\n\t\t\t\t\t"])),(t()(),je.V(7,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),je._13(8,null,["Cost/sec: ",""])),je._10(9,1),(t()(),je._13(-1,null,["\n\t\t\t\t\t"])),(t()(),je.V(11,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),je._13(12,null,["Clickereum/sec: ",""])),je._10(13,1),(t()(),je._13(-1,null,["\n\t\t\t\t\t"])),(t()(),je.Q(16777216,null,null,1,null,ie)),je.U(16,16384,null,0,Je,[je.E,je.B],{ngIf:[0,"ngIf"]},null),(t()(),je._13(-1,null,["\n\t\t\t\t\t"])),(t()(),je.Q(16777216,null,null,1,null,he)),je.U(19,16384,null,0,Je,[je.E,je.B],{ngIf:[0,"ngIf"]},null),(t()(),je._13(-1,null,["\n\t\t\t\t"]))],function(t,e){var n=e.component;t(e,16,0,n.rigs[n.selectedRigIndex].cards.length>0),t(e,19,0,n.rigs[n.selectedRigIndex].cards.length<4)},function(t,e){var n=e.component;t(e,2,0,n.rigs[n.selectedRigIndex].GetPowerClass()),t(e,3,0,n.rigs[n.selectedRigIndex].IsOn()?"on":"off"),t(e,8,0,je._14(e,8,0,t(e,9,0,je._8(e.parent.parent.parent,1),n.rigs[n.selectedRigIndex].PowerUsed()))),t(e,12,0,je._14(e,12,0,t(e,13,0,je._8(e.parent.parent.parent,0),n.rigs[n.selectedRigIndex].ClickereumGenerated())))})}function de(t){return je._15(0,[(t()(),je.V(0,0,null,null,25,"div",[["class","rigs"]],null,null,null,null,null)),(t()(),je._13(-1,null,["\n\t\t\t\t"])),(t()(),je.V(2,0,null,null,1,"h2",[],null,null,null,null,null)),(t()(),je._13(-1,null,["Rigs"])),(t()(),je._13(-1,null,["\n\t\t\t\t"])),(t()(),je.V(5,0,null,null,0,"hr",[],null,null,null,null,null)),(t()(),je._13(-1,null,["\n\t\t\t\t"])),(t()(),je.V(7,0,null,null,14,"select",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"change"],[null,"blur"]],function(t,e,n){var r=!0,o=t.component;return"change"===e&&(r=!1!==je._8(t,8).onChange(n.target.value)&&r),"blur"===e&&(r=!1!==je._8(t,8).onTouched()&&r),"ngModelChange"===e&&(r=!1!==(o.selectedRigIndex=n)&&r),r},null,null)),je.U(8,16384,null,0,Pi,[je.w,je.h],null,null),je._11(1024,null,mi,function(t){return[t]},[Pi]),je.U(10,671744,null,0,Gi,[[8,null],[8,null],[8,null],[2,mi]],{model:[0,"model"]},{update:"ngModelChange"}),je._11(2048,null,wi,null,[Gi]),je.U(12,16384,null,0,Vi,[wi],null,null),(t()(),je._13(-1,null,["\n\t\t\t\t\t"])),(t()(),je.V(14,0,null,null,3,"option",[["value","-1"]],null,null,null,null,null)),je.U(15,147456,null,0,Ti,[je.h,je.w,[2,Pi]],{value:[0,"value"]},null),je.U(16,147456,null,0,Oi,[je.h,je.w,[8,null]],{value:[0,"value"]},null),(t()(),je._13(-1,null,["------------------"])),(t()(),je._13(-1,null,["\n\t\t\t\t\t"])),(t()(),je.Q(16777216,null,null,1,null,re)),je.U(20,802816,null,0,Xe,[je.E,je.B,je.n],{ngForOf:[0,"ngForOf"]},null),(t()(),je._13(-1,null,["\n\t\t\t\t"])),(t()(),je._13(-1,null,["\n\n\t\t\t\t"])),(t()(),je.Q(16777216,null,null,1,null,fe)),je.U(24,16384,null,0,Je,[je.E,je.B],{ngIf:[0,"ngIf"]},null),(t()(),je._13(-1,null,["\n\t\t\t"]))],function(t,e){var n=e.component;t(e,10,0,n.selectedRigIndex),t(e,15,0,"-1"),t(e,16,0,"-1"),t(e,20,0,n.rigs),t(e,24,0,null!=n.selectedRigIndex&&n.selectedRigIndex>=0)},function(t,e){t(e,7,0,je._8(e,12).ngClassUntouched,je._8(e,12).ngClassTouched,je._8(e,12).ngClassPristine,je._8(e,12).ngClassDirty,je._8(e,12).ngClassValid,je._8(e,12).ngClassInvalid,je._8(e,12).ngClassPending)})}function ye(t){return je._15(0,[(t()(),je.V(0,0,null,null,4,"button",[["data-tooltip","Shows the dollar value of the amount of Clickereum you currently own, and your per-second profits."]],[[8,"disabled",0]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.ToolValuePreviewPurchase()&&r),r},null,null)),(t()(),je._13(-1,null,["Purchase "])),(t()(),je.V(2,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),je._13(3,null,["",""])),je._10(4,1)],null,function(t,e){var n=e.component;t(e,0,0,n.money<n.costForValuePreview),t(e,3,0,je._14(e,3,0,t(e,4,0,je._8(e.parent.parent.parent,1),n.costForValuePreview)))})}function me(t){return je._15(0,[(t()(),je.V(0,0,null,null,1,"button",[["disabled",""]],null,null,null,null,null)),(t()(),je._13(-1,null,["Purchased!"]))],null,null)}function ge(t){return je._15(0,[(t()(),je.V(0,0,null,null,4,"button",[["data-tooltip","Sells your Clickereum automatically every second. Can be toggled on/off."]],[[8,"disabled",0]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.ToolAutosellerPurchase()&&r),r},null,null)),(t()(),je._13(-1,null,["Purchase "])),(t()(),je.V(2,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),je._13(3,null,["",""])),je._10(4,1)],null,function(t,e){var n=e.component;t(e,0,0,n.money<n.costForAutoseller),t(e,3,0,je._14(e,3,0,t(e,4,0,je._8(e.parent.parent.parent,1),n.costForAutoseller)))})}function ve(t){return je._15(0,[(t()(),je.V(0,0,null,null,1,"button",[],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.ToolAutosellerToggle()&&r),r},null,null)),(t()(),je._13(1,null,["",""]))],null,function(t,e){t(e,1,0,e.component.ToolAutosellerOn()?"on":"off")})}function _e(t){return je._15(0,[(t()(),je.V(0,0,null,null,25,"div",[["class","tools"]],null,null,null,null,null)),(t()(),je._13(-1,null,[" "])),(t()(),je._13(-1,null,["\n\t\t\t\t"])),(t()(),je.V(3,0,null,null,1,"h2",[],null,null,null,null,null)),(t()(),je._13(-1,null,["Tools"])),(t()(),je._13(-1,null,["\n\t\t\t\t"])),(t()(),je.V(6,0,null,null,0,"hr",[],null,null,null,null,null)),(t()(),je._13(-1,null,["\n\n\t\t\t\t"])),(t()(),je.V(8,0,null,null,7,"div",[],null,null,null,null,null)),(t()(),je._13(-1,null,["\n\t\t\t\t\t"])),(t()(),je.Q(16777216,null,null,1,null,ye)),je.U(11,16384,null,0,Je,[je.E,je.B],{ngIf:[0,"ngIf"]},null),(t()(),je._13(-1,null,["\n\t\t\t\t\t"])),(t()(),je.Q(16777216,null,null,1,null,me)),je.U(14,16384,null,0,Je,[je.E,je.B],{ngIf:[0,"ngIf"]},null),(t()(),je._13(-1,null,["\n\t\t\t\t\tTI-83 calculator\n\t\t\t\t\t"])),(t()(),je._13(-1,null,["\n\n\t\t\t\t"])),(t()(),je.V(17,0,null,null,7,"div",[],null,null,null,null,null)),(t()(),je._13(-1,null,["\n\t\t\t\t\t"])),(t()(),je.Q(16777216,null,null,1,null,ge)),je.U(20,16384,null,0,Je,[je.E,je.B],{ngIf:[0,"ngIf"]},null),(t()(),je._13(-1,null,["\n\t\t\t\t\t"])),(t()(),je.Q(16777216,null,null,1,null,ve)),je.U(23,16384,null,0,Je,[je.E,je.B],{ngIf:[0,"ngIf"]},null),(t()(),je._13(-1,null,["\n\t\t\t\t\tAuto-seller\n\t\t\t\t"])),(t()(),je._13(-1,null,["\n\t\t\t"]))],function(t,e){var n=e.component;t(e,11,0,!n.toolValuePreviewOwned),t(e,14,0,n.toolValuePreviewOwned),t(e,20,0,!n.ToolAutosellerOwned()),t(e,23,0,n.ToolAutosellerOwned())},null)}function be(t){return je._15(0,[(t()(),je.V(0,0,null,null,4,"button",[["class","block"],["data-tooltip","Allows you to custom order solar panels from Noobegg, which can absorb your electricity costs."]],[[8,"disabled",0]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.ResearchSolarPanels()&&r),r},null,null)),(t()(),je._13(-1,null,["Research solar panels "])),(t()(),je.V(2,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),je._13(3,null,["",""])),je._10(4,1)],null,function(t,e){var n=e.component;t(e,0,0,!n.CanResearchSolarPanels()),t(e,3,0,je._14(e,3,0,t(e,4,0,je._8(e.parent.parent.parent,1),n.costForSolarPanelResearch)))})}function we(t){return je._15(0,[(t()(),je.V(0,0,null,null,16,"div",[["class","rnd"]],null,null,null,null,null)),(t()(),je._13(-1,null,[" "])),(t()(),je._13(-1,null,["\n\t\t\t\t"])),(t()(),je.V(3,0,null,null,1,"h2",[],null,null,null,null,null)),(t()(),je._13(-1,null,["R&D"])),(t()(),je._13(-1,null,["\n\t\t\t\t"])),(t()(),je.V(6,0,null,null,0,"hr",[],null,null,null,null,null)),(t()(),je._13(-1,null,["\n\t\t\t\t"])),(t()(),je.Q(16777216,null,null,1,null,be)),je.U(9,16384,null,0,Je,[je.E,je.B],{ngIf:[0,"ngIf"]},null),(t()(),je._13(-1,null,["\n\t\t\t\t"])),(t()(),je.V(11,0,null,null,4,"button",[["class","block"],["data-tooltip","Raises Clickereum awareness. Noobegg will agree to offer Clickereum payments on their site. Clickereum permanently increases in value by 0.5\xa2/coin."]],null,null,null,null,null)),(t()(),je._13(-1,null,["Bribe Noobegg "])),(t()(),je.V(13,0,null,null,2,"span",[],null,null,null,null,null)),(t()(),je._13(14,null,["",""])),je._10(15,1),(t()(),je._13(-1,null,["\n\t\t\t"]))],function(t,e){t(e,9,0,!e.component.researchedSolarPanels)},function(t,e){var n=e.component;t(e,14,0,je._14(e,14,0,t(e,15,0,je._8(e.parent.parent,1),n.costForBribingNoobegg)))})}function Ce(t){return je._15(0,[(t()(),je.V(0,0,null,null,1,"button",[["disabled",""]],null,null,null,null,null)),(t()(),je._13(-1,null,["Purchased!"]))],null,null)}function Ee(t){return je._15(0,[(t()(),je.V(0,0,null,null,1,"button",[],[[8,"disabled",0]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.PurchaseStorageUnit()&&r),r},null,null)),(t()(),je._13(-1,null,["Purchase"]))],null,function(t,e){t(e,0,0,!e.component.CanPurchaseStorageUnit())})}function Se(t){return je._15(0,[(t()(),je.V(0,0,null,null,1,"button",[["disabled",""]],null,null,null,null,null)),(t()(),je._13(-1,null,["Purchased!"]))],null,null)}function Pe(t){return je._15(0,[(t()(),je.V(0,0,null,null,1,"button",[],[[8,"disabled",0]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.PurchaseOffice()&&r),r},null,null)),(t()(),je._13(-1,null,["Purchase"]))],null,function(t,e){t(e,0,0,!e.component.CanPurchaseOffice())})}function Te(t){return je._15(0,[(t()(),je.V(0,0,null,null,1,"button",[["disabled",""]],null,null,null,null,null)),(t()(),je._13(-1,null,["Purchased!"]))],null,null)}function ke(t){return je._15(0,[(t()(),je.V(0,0,null,null,1,"button",[],[[8,"disabled",0]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.PurchaseWarehouse()&&r),r},null,null)),(t()(),je._13(-1,null,["Purchase"]))],null,function(t,e){t(e,0,0,!e.component.CanPurchaseWarehouse())})}function Oe(t){return je._15(0,[(t()(),je.V(0,0,null,null,1,"button",[["disabled",""]],null,null,null,null,null)),(t()(),je._13(-1,null,["Purchased!"]))],null,null)}function xe(t){return je._15(0,[(t()(),je.V(0,0,null,null,1,"button",[],[[8,"disabled",0]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.PurchaseIsland()&&r),r},null,null)),(t()(),je._13(-1,null,["Purchase"]))],null,function(t,e){t(e,0,0,!e.component.CanPurchaseIsland())})}function Ie(t){return je._15(0,[(t()(),je.V(0,0,null,null,67,"div",[["class","real-estate"]],null,null,null,null,null)),(t()(),je._13(-1,null,["\n\t\t\t\t"])),(t()(),je.V(2,0,null,null,1,"h2",[],null,null,null,null,null)),(t()(),je._13(-1,null,["Real estate"])),(t()(),je._13(-1,null,["\n\t\t\t\t"])),(t()(),je.V(5,0,null,null,0,"hr",[],null,null,null,null,null)),(t()(),je._13(-1,null,["\n\t\t\t\t"])),(t()(),je.V(7,0,null,null,59,"table",[],null,null,null,null,null)),(t()(),je._13(-1,null,["\n\t\t\t\t\t"])),(t()(),je.V(9,0,null,null,57,"tbody",[],null,null,null,null,null)),(t()(),je.V(10,0,null,null,7,"tr",[],null,null,null,null,null)),(t()(),je.V(11,0,null,null,2,"td",[],null,null,null,null,null)),(t()(),je.V(12,0,null,null,1,"button",[["disabled",""]],null,null,null,null,null)),(t()(),je._13(-1,null,["Purchased!"])),(t()(),je.V(14,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),je._13(-1,null,["Apartment (3 rig slots)"])),(t()(),je.V(16,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),je._13(-1,null,["Free"])),(t()(),je._13(-1,null,["\n\t\t\t\t\t"])),(t()(),je.V(19,0,null,null,10,"tr",[],null,null,null,null,null)),(t()(),je.V(20,0,null,null,4,"td",[],null,null,null,null,null)),(t()(),je.Q(16777216,null,null,1,null,Ce)),je.U(22,16384,null,0,Je,[je.E,je.B],{ngIf:[0,"ngIf"]},null),(t()(),je.Q(16777216,null,null,1,null,Ee)),je.U(24,16384,null,0,Je,[je.E,je.B],{ngIf:[0,"ngIf"]},null),(t()(),je.V(25,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),je._13(-1,null,["Storage unit (+4 rig slots)"])),(t()(),je.V(27,0,null,null,2,"td",[],null,null,null,null,null)),(t()(),je._13(28,null,["",""])),je._10(29,1),(t()(),je._13(-1,null,["\n\t\t\t\t\t"])),(t()(),je.V(31,0,null,null,10,"tr",[],null,null,null,null,null)),(t()(),je.V(32,0,null,null,4,"td",[],null,null,null,null,null)),(t()(),je.Q(16777216,null,null,1,null,Se)),je.U(34,16384,null,0,Je,[je.E,je.B],{ngIf:[0,"ngIf"]},null),(t()(),je.Q(16777216,null,null,1,null,Pe)),je.U(36,16384,null,0,Je,[je.E,je.B],{ngIf:[0,"ngIf"]},null),(t()(),je.V(37,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),je._13(-1,null,["Warehouse (+1 cluster slot)"])),(t()(),je.V(39,0,null,null,2,"td",[],null,null,null,null,null)),(t()(),je._13(40,null,["",""])),je._10(41,1),(t()(),je._13(-1,null,["\n\t\t\t\t\t"])),(t()(),je.V(43,0,null,null,10,"tr",[],null,null,null,null,null)),(t()(),je.V(44,0,null,null,4,"td",[],null,null,null,null,null)),(t()(),je.Q(16777216,null,null,1,null,Te)),je.U(46,16384,null,0,Je,[je.E,je.B],{ngIf:[0,"ngIf"]},null),(t()(),je.Q(16777216,null,null,1,null,ke)),je.U(48,16384,null,0,Je,[je.E,je.B],{ngIf:[0,"ngIf"]},null),(t()(),je.V(49,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),je._13(-1,null,["Area 51 (+10 cluster slots)"])),(t()(),je.V(51,0,null,null,2,"td",[],null,null,null,null,null)),(t()(),je._13(52,null,["",""])),je._10(53,1),(t()(),je._13(-1,null,["\n\t\t\t\t\t"])),(t()(),je.V(55,0,null,null,10,"tr",[],null,null,null,null,null)),(t()(),je.V(56,0,null,null,4,"td",[],null,null,null,null,null)),(t()(),je.Q(16777216,null,null,1,null,Oe)),je.U(58,16384,null,0,Je,[je.E,je.B],{ngIf:[0,"ngIf"]},null),(t()(),je.Q(16777216,null,null,1,null,xe)),je.U(60,16384,null,0,Je,[je.E,je.B],{ngIf:[0,"ngIf"]},null),(t()(),je.V(61,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),je._13(-1,null,["Texas (+500 cluster slots)"])),(t()(),je.V(63,0,null,null,2,"td",[],null,null,null,null,null)),(t()(),je._13(64,null,["",""])),je._10(65,1),(t()(),je._13(-1,null,["\n\t\t\t\t"])),(t()(),je._13(-1,null,["\n\t\t\t"]))],function(t,e){var n=e.component;t(e,22,0,n.purchasedStorageUnit),t(e,24,0,!n.purchasedStorageUnit),t(e,34,0,n.purchasedOffice),t(e,36,0,!n.purchasedOffice),t(e,46,0,n.purchasedWarehouse),t(e,48,0,!n.purchasedWarehouse),t(e,58,0,n.purchasedIsland),t(e,60,0,!n.purchasedIsland)},function(t,e){var n=e.component;t(e,28,0,je._14(e,28,0,t(e,29,0,je._8(e.parent.parent,1),n.costForStorageUnit))),t(e,40,0,je._14(e,40,0,t(e,41,0,je._8(e.parent.parent,1),n.costForOffice))),t(e,52,0,je._14(e,52,0,t(e,53,0,je._8(e.parent.parent,1),n.costForWarehouse))),t(e,64,0,je._14(e,64,0,t(e,65,0,je._8(e.parent.parent,1),n.costForIsland)))})}function Ve(t){return je._15(0,[(t()(),je.V(0,0,null,null,198,"div",[["class","full-container"]],null,null,null,null,null)),(t()(),je._13(-1,null,["\n\t"])),(t()(),je.V(2,0,null,null,8,"div",[["class","header"]],null,null,null,null,null)),(t()(),je._13(-1,null,["\n\t\t"])),(t()(),je.V(4,0,null,null,2,"h1",[],null,null,null,null,null)),(t()(),je._13(5,null,["Clickereum: ",""])),je._10(6,1),(t()(),je._13(-1,null,["\n\t\t"])),(t()(),je.Q(16777216,null,null,1,null,Wt)),je.U(9,16384,null,0,Je,[je.E,je.B],{ngIf:[0,"ngIf"]},null),(t()(),je._13(-1,null,["\n\t"])),(t()(),je._13(-1,null,["\n\n\t"])),(t()(),je.Q(16777216,null,null,1,null,Xt)),je.U(13,16384,null,0,Je,[je.E,je.B],{ngIf:[0,"ngIf"]},null),(t()(),je._13(-1,null,["\n\n\t"])),(t()(),je.V(15,0,null,null,182,"div",[["class","primary-container"]],null,null,null,null,null)),(t()(),je._13(-1,null,["\n\n\t\t"])),(t()(),je.V(17,0,null,null,161,"div",[["class","left-pane"]],null,null,null,null,null)),(t()(),je._13(-1,null,["\n\t\t\t"])),(t()(),je.V(19,0,null,null,24,"div",[["class","mine-button-container"]],null,null,null,null,null)),(t()(),je._13(-1,null,["\n\t\t\t\t"])),(t()(),je.V(21,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),je._13(-1,null,["\n\t\t\t\t\t"])),(t()(),je.V(23,0,null,null,1,"button",[["class","big-button"]],null,[[null,"click"],[null,"keydown"]],function(t,e,n){var r=!0,o=t.component;return"click"===e&&(r=!1!==o.MineClickereum()&&r),"keydown"===e&&(r=!1!==o.PreventEvent(n)&&r),r},null,null)),(t()(),je._13(-1,null,["Mine Clickereum"])),(t()(),je._13(-1,null,["\n\t\t\t\t"])),(t()(),je._13(-1,null,["\n\t\t\t\t"])),(t()(),je.V(27,0,null,null,15,"div",[["class","shift-down"]],null,null,null,null,null)),(t()(),je._13(-1,null,["\n\t\t\t\t\t"])),(t()(),je.V(29,0,null,null,6,"input",[["min","0"],["type","number"]],[[8,"max",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"]],function(t,e,n){var r=!0,o=t.component;return"input"===e&&(r=!1!==je._8(t,30)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==je._8(t,30).onTouched()&&r),"compositionstart"===e&&(r=!1!==je._8(t,30)._compositionStart()&&r),"compositionend"===e&&(r=!1!==je._8(t,30)._compositionEnd(n.target.value)&&r),"change"===e&&(r=!1!==je._8(t,31).onChange(n.target.value)&&r),"input"===e&&(r=!1!==je._8(t,31).onChange(n.target.value)&&r),"blur"===e&&(r=!1!==je._8(t,31).onTouched()&&r),"ngModelChange"===e&&(r=!1!==(o.clickereumToSell=n)&&r),r},null,null)),je.U(30,16384,null,0,_i,[je.w,je.h,[2,vi]],null,null),je.U(31,16384,null,0,bi,[je.w,je.h],null,null),je._11(1024,null,mi,function(t,e){return[t,e]},[_i,bi]),je.U(33,671744,null,0,Gi,[[8,null],[8,null],[8,null],[2,mi]],{model:[0,"model"]},{update:"ngModelChange"}),je._11(2048,null,wi,null,[Gi]),je.U(35,16384,null,0,Vi,[wi],null,null),(t()(),je._13(-1,null,["\n\t\t\t\t\t"])),(t()(),je.V(37,0,null,null,1,"button",[],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.SellClickereum()&&r),r},null,null)),(t()(),je._13(-1,null,["Sell Clickereum"])),(t()(),je._13(-1,null,["\n\t\t\t\t\t"])),(t()(),je.V(40,0,null,null,1,"button",[],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.SellClickereumMax()&&r),r},null,null)),(t()(),je._13(-1,null,["Sell Max"])),(t()(),je._13(-1,null,["\n\t\t\t\t"])),(t()(),je._13(-1,null,["\n\t\t\t"])),(t()(),je._13(-1,null,["\n\n\t\t\t"])),(t()(),je.V(45,0,null,null,45,"div",[["class","operations"]],null,null,null,null,null)),(t()(),je._13(-1,null,["\n\t\t\t\t"])),(t()(),je.V(47,0,null,null,1,"h2",[],null,null,null,null,null)),(t()(),je._13(-1,null,["Overview"])),(t()(),je._13(-1,null,["\n\t\t\t\t"])),(t()(),je.V(50,0,null,null,0,"hr",[],null,null,null,null,null)),(t()(),je._13(-1,null,["\n\t\t\t\t"])),(t()(),je.V(52,0,null,null,6,"div",[],null,null,null,null,null)),(t()(),je.V(53,0,null,null,1,"strong",[],null,null,null,null,null)),(t()(),je._13(-1,null,["Cash:"])),(t()(),je._13(-1,null,[" "])),(t()(),je.V(56,0,null,null,2,"span",[],[[2,"red",null]],null,null,null,null)),(t()(),je._13(57,null,["",""])),je._10(58,1),(t()(),je._13(-1,null,["\n\t\t\t\t"])),(t()(),je.Q(16777216,null,null,1,null,Yt)),je.U(61,16384,null,0,Je,[je.E,je.B],{ngIf:[0,"ngIf"]},null),(t()(),je._13(-1,null,["\n\t\t\t\t"])),(t()(),je.V(63,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),je.V(64,0,null,null,1,"strong",[],null,null,null,null,null)),(t()(),je._13(-1,null,["Clickereum/sec:"])),(t()(),je._13(66,null,[" ",""])),je._10(67,1),(t()(),je._13(-1,null,["\n\t\t\t\t"])),(t()(),je.V(69,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),je.V(70,0,null,null,1,"strong",[],null,null,null,null,null)),(t()(),je._13(-1,null,["Clickereum value/sec:"])),(t()(),je._13(72,null,[" $",""])),je._10(73,1),(t()(),je._13(-1,null,["\n\t\t\t\t"])),(t()(),je.V(75,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),je.V(76,0,null,null,1,"strong",[],null,null,null,null,null)),(t()(),je._13(-1,null,["Electric cost/sec:"])),(t()(),je._13(78,null,[" ",""])),je._10(79,1),(t()(),je._13(-1,null,["\n\t\t\t\t"])),(t()(),je.Q(16777216,null,null,1,null,Jt)),je.U(82,16384,null,0,Je,[je.E,je.B],{ngIf:[0,"ngIf"]},null),(t()(),je._13(-1,null,["\n\t\t\t\t"])),(t()(),je.V(84,0,null,null,5,"div",[],null,null,null,null,null)),(t()(),je.V(85,0,null,null,1,"strong",[],null,null,null,null,null)),(t()(),je._13(-1,null,["Rigs:"])),(t()(),je._13(87,null,[" "," / ",""])),je._10(88,1),je._10(89,1),(t()(),je._13(-1,null,["\n\t\t\t"])),(t()(),je._13(-1,null,["\n\n\t\t\t"])),(t()(),je.V(92,0,null,null,17,"div",[["class","market"]],null,null,null,null,null)),(t()(),je._13(-1,null,["\n\t\t\t\t"])),(t()(),je.V(94,0,null,null,1,"h2",[],null,null,null,null,null)),(t()(),je._13(-1,null,["Market"])),(t()(),je._13(-1,null,["\n\t\t\t\t"])),(t()(),je.V(97,0,null,null,0,"hr",[],null,null,null,null,null)),(t()(),je._13(-1,null,["\n\t\t\t\t"])),(t()(),je.V(99,0,null,null,3,"div",[],null,null,null,null,null)),(t()(),je.V(100,0,null,null,1,"strong",[],null,null,null,null,null)),(t()(),je._13(-1,null,["Clickereum market value:"])),(t()(),je._13(102,null,[" "," \xa2/coin"])),(t()(),je._13(-1,null,["\n\t\t\t\t"])),(t()(),je.V(104,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),je.V(105,0,null,null,1,"strong",[],null,null,null,null,null)),(t()(),je._13(-1,null,["Mining difficulty:"])),(t()(),je._13(107,null,[" ",""])),je._10(108,1),(t()(),je._13(-1,null,["\n\t\t\t"])),(t()(),je._13(-1,null,["\n\n\t\t\t"])),(t()(),je.V(111,0,null,null,63,"div",[["class","shop"]],null,null,null,null,null)),(t()(),je._13(-1,null,["\n\t\t\t\t"])),(t()(),je.V(113,0,null,null,1,"h2",[],null,null,null,null,null)),(t()(),je._13(-1,null,["Noobegg"])),(t()(),je._13(-1,null,["\n\t\t\t\t"])),(t()(),je.V(116,0,null,null,0,"hr",[],null,null,null,null,null)),(t()(),je._13(-1,null,["\n\t\t\t\t"])),(t()(),je.V(118,0,null,null,55,"table",[],null,null,null,null,null)),(t()(),je._13(-1,null,["\n\t\t\t\t\t"])),(t()(),je.V(120,0,null,null,53,"tbody",[],null,null,null,null,null)),(t()(),je.V(121,0,null,null,8,"tr",[],null,null,null,null,null)),(t()(),je.V(122,0,null,null,2,"td",[],null,null,null,null,null)),(t()(),je.V(123,0,null,null,1,"button",[["data-tooltip","A barebones PC that supports up to 4 video cards."]],[[8,"disabled",0]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.BuyRig()&&r),r},null,null)),(t()(),je._13(-1,null,["Buy"])),(t()(),je.V(125,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),je._13(-1,null,["Rig"])),(t()(),je.V(127,0,null,null,2,"td",[],null,null,null,null,null)),(t()(),je._13(128,null,["",""])),je._10(129,1),(t()(),je._13(-1,null,["\n\t\t\t\t\t"])),(t()(),je.V(131,0,null,null,8,"tr",[],null,null,null,null,null)),(t()(),je.V(132,0,null,null,2,"td",[],null,null,null,null,null)),(t()(),je.V(133,0,null,null,1,"button",[["data-tooltip","Generates up to 1 Clickereum/sec for $0.03/second of electricity."]],[[8,"disabled",0]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.BuyPooForce1()&&r),r},null,null)),(t()(),je._13(-1,null,["Buy"])),(t()(),je.V(135,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),je._13(-1,null,["PooForce 1"])),(t()(),je.V(137,0,null,null,2,"td",[],null,null,null,null,null)),(t()(),je._13(138,null,["",""])),je._10(139,1),(t()(),je._13(-1,null,["\n\t\t\t\t\t"])),(t()(),je.V(141,0,null,null,8,"tr",[],null,null,null,null,null)),(t()(),je.V(142,0,null,null,2,"td",[],null,null,null,null,null)),(t()(),je.V(143,0,null,null,1,"button",[["data-tooltip","Generates up to 7 Clickereum/sec for $0.25/second of electricity."]],[[8,"disabled",0]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.BuyPooForce2()&&r),r},null,null)),(t()(),je._13(-1,null,["Buy"])),(t()(),je.V(145,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),je._13(-1,null,["PooForce 2"])),(t()(),je.V(147,0,null,null,2,"td",[],null,null,null,null,null)),(t()(),je._13(148,null,["",""])),je._10(149,1),(t()(),je._13(-1,null,["\n\t\t\t\t\t"])),(t()(),je.V(151,0,null,null,8,"tr",[],null,null,null,null,null)),(t()(),je.V(152,0,null,null,2,"td",[],null,null,null,null,null)),(t()(),je.V(153,0,null,null,1,"button",[["data-tooltip","Generates up to 50 Clickereum/sec for $1.50/second of electricity."]],[[8,"disabled",0]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.BuyPooForce3()&&r),r},null,null)),(t()(),je._13(-1,null,["Buy"])),(t()(),je.V(155,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),je._13(-1,null,["PooForce 3"])),(t()(),je.V(157,0,null,null,2,"td",[],null,null,null,null,null)),(t()(),je._13(158,null,["",""])),je._10(159,1),(t()(),je._13(-1,null,["\n\t\t\t\t\t"])),(t()(),je.V(161,0,null,null,8,"tr",[],null,null,null,null,null)),(t()(),je.V(162,0,null,null,2,"td",[],null,null,null,null,null)),(t()(),je.V(163,0,null,null,1,"button",[["data-tooltip","Generates up to 25,000 Clickereum/sec for $500.00/second of electricity."]],[[8,"disabled",0]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.BuyPooForceX()&&r),r},null,null)),(t()(),je._13(-1,null,["Buy"])),(t()(),je.V(165,0,null,null,1,"td",[],null,null,null,null,null)),(t()(),je._13(-1,null,["PooForce X"])),(t()(),je.V(167,0,null,null,2,"td",[],null,null,null,null,null)),(t()(),je._13(168,null,["",""])),je._10(169,1),(t()(),je._13(-1,null,["\n\t\t\t\t\t"])),(t()(),je.Q(16777216,null,null,1,null,te)),je.U(172,16384,null,0,Je,[je.E,je.B],{ngIf:[0,"ngIf"]},null),(t()(),je._13(-1,null,["\n\t\t\t\t"])),(t()(),je._13(-1,null,["\n\t\t\t"])),(t()(),je._13(-1,null,["\n\t\t\t\n\t\t\t"])),(t()(),je.Q(16777216,null,null,1,null,ne)),je.U(177,16384,null,0,Je,[je.E,je.B],{ngIf:[0,"ngIf"]},null),(t()(),je._13(-1,null,["\n\t\t"])),(t()(),je._13(-1,null,["\n\n\t\t"])),(t()(),je.V(180,0,null,null,10,"div",[["class","center-pane"]],null,null,null,null,null)),(t()(),je._13(-1,null,["\n\t\t\t"])),(t()(),je.Q(16777216,null,null,1,null,de)),je.U(183,16384,null,0,Je,[je.E,je.B],{ngIf:[0,"ngIf"]},null),(t()(),je._13(-1,null,["\n\n\t\t\t"])),(t()(),je.Q(16777216,null,null,1,null,_e)),je.U(186,16384,null,0,Je,[je.E,je.B],{ngIf:[0,"ngIf"]},null),(t()(),je._13(-1,null,["\n\n\t\t\t"])),(t()(),je.Q(16777216,null,null,1,null,we)),je.U(189,16384,null,0,Je,[je.E,je.B],{ngIf:[0,"ngIf"]},null),(t()(),je._13(-1,null,["\n\t\t"])),(t()(),je._13(-1,null,["\n\n\t\t"])),(t()(),je.V(192,0,null,null,4,"div",[["class","right-pane"]],null,null,null,null,null)),(t()(),je._13(-1,null,["\n\t\t\t"])),(t()(),je.Q(16777216,null,null,1,null,Ie)),je.U(195,16384,null,0,Je,[je.E,je.B],{ngIf:[0,"ngIf"]},null),(t()(),je._13(-1,null,["\n\t\t"])),(t()(),je._13(-1,null,["\n\n\t"])),(t()(),je._13(-1,null,["\n\n"]))],function(t,e){var n=e.component;t(e,9,0,n.toolValuePreviewOwned),t(e,13,0,n.haxAreOn),t(e,33,0,n.clickereumToSell),t(e,61,0,n.ElectricBillIsOverdue()),t(e,82,0,n.toolValuePreviewOwned),t(e,172,0,n.researchedSolarPanels),t(e,177,0,n.ShouldShowInventory()),t(e,183,0,n.rigs.length>0),t(e,186,0,n.clickereumMinedLifetime>500),t(e,189,0,n.clickereumMinedLifetime>15e3),t(e,195,0,n.rigs.length>=3)},function(t,e){var n=e.component;t(e,5,0,je._14(e,5,0,t(e,6,0,je._8(e.parent,0),n.clickereum))),t(e,29,0,je.Y(1,"",n.clickereum,""),je._8(e,35).ngClassUntouched,je._8(e,35).ngClassTouched,je._8(e,35).ngClassPristine,je._8(e,35).ngClassDirty,je._8(e,35).ngClassValid,je._8(e,35).ngClassInvalid,je._8(e,35).ngClassPending),t(e,56,0,n.ElectricBillIsOverdue()),t(e,57,0,je._14(e,57,0,t(e,58,0,je._8(e.parent,1),n.money))),t(e,66,0,je._14(e,66,0,t(e,67,0,je._8(e.parent,0),n.ClickereumPerSecond()))),t(e,72,0,je._14(e,72,0,t(e,73,0,je._8(e.parent,0),n.ClickereumPerSecond()*n.clickereumMarketValue))),t(e,78,0,je._14(e,78,0,t(e,79,0,je._8(e.parent,1),n.ElectricCostPerSecond()))),t(e,87,0,je._14(e,87,0,t(e,88,0,je._8(e.parent,0),n.rigs.length)),je._14(e,87,1,t(e,89,0,je._8(e.parent,0),n.RigSlotsTotal()))),t(e,102,0,n.DollarsToCents(n.clickereumMarketValue)),t(e,107,0,je._14(e,107,0,t(e,108,0,je._8(e.parent,0),n.miningDifficulty))),t(e,123,0,!n.CanBuyRig()),t(e,128,0,je._14(e,128,0,t(e,129,0,je._8(e.parent,1),n.costForRig))),t(e,133,0,!n.CanBuyPooForce1()),t(e,138,0,je._14(e,138,0,t(e,139,0,je._8(e.parent,1),n.costForPooForce1))),t(e,143,0,!n.CanBuyPooForce2()),t(e,148,0,je._14(e,148,0,t(e,149,0,je._8(e.parent,1),n.costForPooForce2))),t(e,153,0,!n.CanBuyPooForce3()),t(e,158,0,je._14(e,158,0,t(e,159,0,je._8(e.parent,1),n.costForPooForce3))),t(e,163,0,!n.CanBuyPooForceX()),t(e,168,0,je._14(e,168,0,t(e,169,0,je._8(e.parent,1),n.costForPooForceX)))})}function Ae(t){return je._15(0,[(t()(),je.V(0,0,null,null,17,"div",[["class","footer"],["style","padding: 5px;"]],null,null,null,null,null)),(t()(),je._13(-1,null,["\n\t"])),(t()(),je.V(2,0,null,null,14,"div",[["style","width: 100%"]],null,null,null,null,null)),(t()(),je._13(-1,null,["\n\t\t"])),(t()(),je.V(4,0,null,null,1,"div",[],null,null,null,null,null)),(t()(),je._13(-1,null,["You can gain up to a 25% boost, and support development of this game, by donating some of your idle CPU cycles to mining tiny amounts of real cryptocurrency that go directly to the developer. This feature can be toggled on/off at will."])),(t()(),je._13(-1,null,["\n\t\t"])),(t()(),je.V(7,0,null,null,4,"div",[],null,null,null,null,null)),(t()(),je._13(-1,null,["However, you currently have an adblocker on, and this prevents the miner from showing up at all. If you want to turn the miner on, disable your adblocker and "])),(t()(),je.V(9,0,null,null,1,"a",[],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.RefreshPage()&&r),r},null,null)),(t()(),je._13(-1,null,["reload"])),(t()(),je._13(-1,null,[" the page."])),(t()(),je._13(-1,null,["\n\t\t"])),(t()(),je.V(13,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),je.V(14,0,null,null,1,"button",[],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=0!=(t.component.footerIsClosed=!0)&&r),r},null,null)),(t()(),je._13(-1,null,["OK"])),(t()(),je._13(-1,null,["\n\t"])),(t()(),je._13(-1,null,["\n"]))],null,null)}function Ne(t){return je._15(0,[(t()(),je.V(0,0,null,null,2,"button",[],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.TurnMiningOn()&&r),r},null,null)),(t()(),je.V(1,0,null,null,1,"span",[["class","red"]],null,null,null,null,null)),(t()(),je._13(-1,null,["off"]))],null,null)}function Fe(t){return je._15(0,[(t()(),je.V(0,0,null,null,2,"button",[],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.TurnMiningOff()&&r),r},null,null)),(t()(),je.V(1,0,null,null,1,"span",[["class","green"]],null,null,null,null,null)),(t()(),je._13(-1,null,["on"]))],null,null)}function Re(t){return je._15(0,[(t()(),je.V(0,0,null,null,30,"div",[["class","footer"]],null,null,null,null,null)),(t()(),je._13(-1,null,["\n\t"])),(t()(),je.V(2,0,null,null,12,"div",[["style","width: 25%;"]],null,null,null,null,null)),(t()(),je._13(-1,null,["\n\t\tCPU to use\n\t\t"])),(t()(),je.V(4,0,null,null,6,"input",[["list","tickmarks"],["max","1"],["min","0"],["step","0.01"],["type","range"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(t,e,n){var r=!0,o=t.component;return"input"===e&&(r=!1!==je._8(t,5)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==je._8(t,5).onTouched()&&r),"compositionstart"===e&&(r=!1!==je._8(t,5)._compositionStart()&&r),"compositionend"===e&&(r=!1!==je._8(t,5)._compositionEnd(n.target.value)&&r),"change"===e&&(r=!1!==je._8(t,6).onChange(n.target.value)&&r),"input"===e&&(r=!1!==je._8(t,6).onChange(n.target.value)&&r),"blur"===e&&(r=!1!==je._8(t,6).onTouched()&&r),"ngModelChange"===e&&(r=!1!==(o.miningThrottle=n)&&r),"change"===e&&(r=!1!==o.MiningThrottleUpdated()&&r),r},null,null)),je.U(5,16384,null,0,_i,[je.w,je.h,[2,vi]],null,null),je.U(6,16384,null,0,Si,[je.w,je.h],null,null),je._11(1024,null,mi,function(t,e){return[t,e]},[_i,Si]),je.U(8,671744,null,0,Gi,[[8,null],[8,null],[8,null],[2,mi]],{model:[0,"model"]},{update:"ngModelChange"}),je._11(2048,null,wi,null,[Gi]),je.U(10,16384,null,0,Vi,[wi],null,null),(t()(),je._13(11,null,[" ","%\n\t\t["])),(t()(),je.V(12,0,null,null,1,"a",[["href","javascript:void"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.MiningCPUInfo()&&r),r},null,null)),(t()(),je._13(-1,null,["?"])),(t()(),je._13(-1,null,["]\n\t"])),(t()(),je._13(-1,null,["\n\t"])),(t()(),je.V(16,0,null,null,10,"div",[["style","width: 50%;"]],null,null,null,null,null)),(t()(),je._13(-1,null,["\n\t\tMiner\n\t\t"])),(t()(),je.Q(16777216,null,null,1,null,Ne)),je.U(19,16384,null,0,Je,[je.E,je.B],{ngIf:[0,"ngIf"]},null),(t()(),je._13(-1,null,["\n\t\t"])),(t()(),je.Q(16777216,null,null,1,null,Fe)),je.U(22,16384,null,0,Je,[je.E,je.B],{ngIf:[0,"ngIf"]},null),(t()(),je._13(-1,null,["\n\t\t["])),(t()(),je.V(24,0,null,null,1,"a",[["href","javascript:void"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.MiningInfo()&&r),r},null,null)),(t()(),je._13(-1,null,["?"])),(t()(),je._13(-1,null,["]\n\t"])),(t()(),je._13(-1,null,["\n\t"])),(t()(),je.V(28,0,null,null,1,"div",[["style","width: 25%;"]],null,null,null,null,null)),(t()(),je._13(29,null,["\n\t\tCurrent boost: +"," clickereum\n\t"])),(t()(),je._13(-1,null,["\n"]))],function(t,e){var n=e.component;t(e,8,0,n.miningThrottle),t(e,19,0,!n.miningIsOn),t(e,22,0,n.miningIsOn)},function(t,e){var n=e.component;t(e,4,0,je._8(e,10).ngClassUntouched,je._8(e,10).ngClassTouched,je._8(e,10).ngClassPristine,je._8(e,10).ngClassDirty,je._8(e,10).ngClassValid,je._8(e,10).ngClassInvalid,je._8(e,10).ngClassPending),t(e,11,0,n.Round(100*n.miningThrottle)),t(e,29,0,n.GetMiningBoostDisplay())})}function Me(t){return je._15(0,[je._9(0,pn,[je.p]),je._9(0,hn,[je.p]),je._9(0,Wi,[]),(t()(),je.Q(16777216,null,null,1,null,Ve)),je.U(4,16384,null,0,Je,[je.E,je.B],{ngIf:[0,"ngIf"]},null),(t()(),je._13(-1,null,["\n\n"])),(t()(),je.Q(16777216,null,null,1,null,Ae)),je.U(7,16384,null,0,Je,[je.E,je.B],{ngIf:[0,"ngIf"]},null),(t()(),je._13(-1,null,["\n\n"])),(t()(),je.Q(16777216,null,null,1,null,Re)),je.U(10,16384,null,0,Je,[je.E,je.B],{ngIf:[0,"ngIf"]},null),(t()(),je._13(-1,null,["\n\n"]))],function(t,e){var n=e.component;t(e,4,0,n.gameStarted),t(e,7,0,n.COINHIVE_IS_BLOCKED&&!n.footerIsClosed),t(e,10,0,!n.COINHIVE_IS_BLOCKED)},null)}Object.defineProperty(e,"__esModule",{value:!0});var De,je=n("LMZF"),Be=n("6Xbx"),Le=function(){},Ue={AOA:[,"Kz"],ARS:[,"$"],AUD:["A$","$"],BAM:[,"KM"],BBD:[,"$"],BDT:[,"\u09f3"],BMD:[,"$"],BND:[,"$"],BOB:[,"Bs"],BRL:["R$"],BSD:[,"$"],BWP:[,"P"],BYN:[,"\u0440."],BZD:[,"$"],CAD:["CA$","$"],CLP:[,"$"],CNY:["CN\xa5","\xa5"],COP:[,"$"],CRC:[,"\u20a1"],CUC:[,"$"],CUP:[,"$"],CZK:[,"K\u010d"],DKK:[,"kr"],DOP:[,"$"],EGP:[,"E\xa3"],ESP:[,"\u20a7"],EUR:["\u20ac"],FJD:[,"$"],FKP:[,"\xa3"],GBP:["\xa3"],GEL:[,"\u20be"],GIP:[,"\xa3"],GNF:[,"FG"],GTQ:[,"Q"],GYD:[,"$"],HKD:["HK$","$"],HNL:[,"L"],HRK:[,"kn"],HUF:[,"Ft"],IDR:[,"Rp"],ILS:["\u20aa"],INR:["\u20b9"],ISK:[,"kr"],JMD:[,"$"],JPY:["\xa5"],KHR:[,"\u17db"],KMF:[,"CF"],KPW:[,"\u20a9"],KRW:["\u20a9"],KYD:[,"$"],KZT:[,"\u20b8"],LAK:[,"\u20ad"],LBP:[,"L\xa3"],LKR:[,"Rs"],LRD:[,"$"],LTL:[,"Lt"],LVL:[,"Ls"],MGA:[,"Ar"],MMK:[,"K"],MNT:[,"\u20ae"],MUR:[,"Rs"],MXN:["MX$","$"],MYR:[,"RM"],NAD:[,"$"],NGN:[,"\u20a6"],NIO:[,"C$"],NOK:[,"kr"],NPR:[,"Rs"],NZD:["NZ$","$"],PHP:[,"\u20b1"],PKR:[,"Rs"],PLN:[,"z\u0142"],PYG:[,"\u20b2"],RON:[,"lei"],RUB:[,"\u20bd"],RUR:[,"\u0440."],RWF:[,"RF"],SBD:[,"$"],SEK:[,"kr"],SGD:[,"$"],SHP:[,"\xa3"],SRD:[,"$"],SSP:[,"\xa3"],STD:[,"Db"],SYP:[,"\xa3"],THB:[,"\u0e3f"],TOP:[,"T$"],TRY:[,"\u20ba"],TTD:[,"$"],TWD:["NT$","$"],UAH:[,"\u20b4"],USD:["$"],UYU:[,"$"],VEF:[,"Bs"],VND:["\u20ab"],XAF:["FCFA"],XCD:["EC$","$"],XOF:["CFA"],XPF:["CFPF"],ZAR:[,"R"],ZMW:[,"ZK"]},He=["en",[["a","p"],["AM","PM"]],[["AM","PM"],,],[["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"]],,[["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"]],,[["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}",,"{1} 'at' {0}"],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",function(t){var e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}],Qe={},ze=function(){var t={Decimal:0,Percent:1,Currency:2,Scientific:3};return t[t.Decimal]="Decimal",t[t.Percent]="Percent",t[t.Currency]="Currency",t[t.Scientific]="Scientific",t}(),Ge=function(){var t={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return t[t.Zero]="Zero",t[t.One]="One",t[t.Two]="Two",t[t.Few]="Few",t[t.Many]="Many",t[t.Other]="Other",t}(),qe=function(){var t={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};return t[t.Decimal]="Decimal",t[t.Group]="Group",t[t.List]="List",t[t.PercentSign]="PercentSign",t[t.PlusSign]="PlusSign",t[t.MinusSign]="MinusSign",t[t.Exponential]="Exponential",t[t.SuperscriptingExponent]="SuperscriptingExponent",t[t.PerMille]="PerMille",t[t.Infinity]="Infinity",t[t.NaN]="NaN",t[t.TimeSeparator]="TimeSeparator",t[t.CurrencyDecimal]="CurrencyDecimal",t[t.CurrencyGroup]="CurrencyGroup",t}(),Ke=new je.l("UseV4Plurals"),We=function(){},Ze=function(t){function e(e,n){var r=t.call(this)||this;return r.locale=e,r.deprecatedPluralFn=n,r}return Object(Be.b)(e,t),e.prototype.getPluralCategory=function(t,e){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(e||this.locale,t):function(t){return o(t)[17]}(e||this.locale)(t)){case Ge.Zero:return"zero";case Ge.One:return"one";case Ge.Two:return"two";case Ge.Few:return"few";case Ge.Many:return"many";default:return"other"}},e}(We),$e=function(){function t(t,e,n,r){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=r}return Object.defineProperty(t.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),t}(),Xe=function(){function t(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._differ=null}return Object.defineProperty(t.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(t){Object(je.L)()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(t)+". See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTemplate",{set:function(t){t&&(this._template=t)},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){if("ngForOf"in t){var e=t.ngForOf.currentValue;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(t){throw new Error("Cannot find a differ supporting object '"+e+"' of type '"+(e.name||typeof e)+"'. NgFor only supports binding to Iterables such as Arrays.")}}},t.prototype.ngDoCheck=function(){if(this._differ){var t=this._differ.diff(this.ngForOf);t&&this._applyChanges(t)}},t.prototype._applyChanges=function(t){var e=this,n=[];t.forEachOperation(function(t,r,o){if(null==t.previousIndex){var i=e._viewContainer.createEmbeddedView(e._template,new $e(null,e.ngForOf,-1,-1),o),l=new Ye(t,i);n.push(l)}else null==o?e._viewContainer.remove(r):(i=e._viewContainer.get(r),e._viewContainer.move(i,o),l=new Ye(t,i),n.push(l))});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}t.forEachIdentityChange(function(t){e._viewContainer.get(t.currentIndex).context.$implicit=t.item})},t.prototype._perViewChange=function(t,e){t.context.$implicit=e.item},t}(),Ye=function(t,e){this.record=t,this.view=e},Je=function(){function t(t,e){this._viewContainer=t,this._context=new tn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}return Object.defineProperty(t.prototype,"ngIf",{set:function(t){this._context.$implicit=this._context.ngIf=t,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngIfThen",{set:function(t){this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngIfElse",{set:function(t){this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),t.prototype._updateView=function(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))},t}(),tn=function(){this.$implicit=null,this.ngIf=null},en=/^(\d+)?\.((\d+)(-(\d+))?)?$/,nn=22,rn=".",on="0",ln=";",un=",",sn="#",an="\xa4",cn="%",pn=function(){function t(t){this._locale=t}return t.prototype.transform=function(e,n,r){if(s(e))return null;var o=l(e,r=r||this._locale,ze.Decimal,n),u=o.str,a=o.error;if(a)throw i(t,a);return u},t}(),hn=function(){function t(t){this._locale=t}return t.prototype.transform=function(e,n,r,o,u){if(void 0===r&&(r="symbol"),s(e))return null;u=u||this._locale,"boolean"==typeof r&&(console&&console.warn&&console.warn('Warning: the currency pipe has been changed in Angular v5. The symbolDisplay option (third parameter) is now a string instead of a boolean. The accepted values are "code", "symbol" or "symbol-narrow".'),r=r?"symbol":"code");var a=n||"USD";"code"!==r&&(a=function(t,e){var n=Ue[a]||{},o=n[0]||a;return"wide"==("symbol"===r?"wide":"narrow")?o:n[1]||o}());var c=l(e,u,ze.Currency,o,a),p=c.str,h=c.error;if(h)throw i(t,h);return p},t}(),fn=function(){},dn=new je.l("DocumentToken"),yn=null,mn={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},gn={"\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"},vn={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"};je.X.Node&&(De=je.X.Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))});var _n,bn,wn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Be.b)(e,t),e.prototype.parse=function(t){throw new Error("parse not implemented")},e.makeCurrent=function(){!function(t){yn||(yn=t)}(new e)},e.prototype.hasProperty=function(t,e){return e in t},e.prototype.setProperty=function(t,e,n){t[e]=n},e.prototype.getProperty=function(t,e){return t[e]},e.prototype.invoke=function(t,e,n){(r=t)[e].apply(r,n);var r},e.prototype.logError=function(t){window.console&&(console.error?console.error(t):console.log(t))},e.prototype.log=function(t){window.console&&window.console.log&&window.console.log(t)},e.prototype.logGroup=function(t){window.console&&window.console.group&&window.console.group(t)},e.prototype.logGroupEnd=function(){window.console&&window.console.groupEnd&&window.console.groupEnd()},Object.defineProperty(e.prototype,"attrToPropMap",{get:function(){return mn},enumerable:!0,configurable:!0}),e.prototype.contains=function(t,e){return De.call(t,e)},e.prototype.querySelector=function(t,e){return t.querySelector(e)},e.prototype.querySelectorAll=function(t,e){return t.querySelectorAll(e)},e.prototype.on=function(t,e,n){t.addEventListener(e,n,!1)},e.prototype.onAndCancel=function(t,e,n){return t.addEventListener(e,n,!1),function(){t.removeEventListener(e,n,!1)}},e.prototype.dispatchEvent=function(t,e){t.dispatchEvent(e)},e.prototype.createMouseEvent=function(t){var e=this.getDefaultDocument().createEvent("MouseEvent");return e.initEvent(t,!0,!0),e},e.prototype.createEvent=function(t){var e=this.getDefaultDocument().createEvent("Event");return e.initEvent(t,!0,!0),e},e.prototype.preventDefault=function(t){t.preventDefault(),t.returnValue=!1},e.prototype.isPrevented=function(t){return t.defaultPrevented||null!=t.returnValue&&!t.returnValue},e.prototype.getInnerHTML=function(t){return t.innerHTML},e.prototype.getTemplateContent=function(t){return"content"in t&&this.isTemplateElement(t)?t.content:null},e.prototype.getOuterHTML=function(t){return t.outerHTML},e.prototype.nodeName=function(t){return t.nodeName},e.prototype.nodeValue=function(t){return t.nodeValue},e.prototype.type=function(t){return t.type},e.prototype.content=function(t){return this.hasProperty(t,"content")?t.content:t},e.prototype.firstChild=function(t){return t.firstChild},e.prototype.nextSibling=function(t){return t.nextSibling},e.prototype.parentElement=function(t){return t.parentNode},e.prototype.childNodes=function(t){return t.childNodes},e.prototype.childNodesAsList=function(t){for(var e=t.childNodes,n=new Array(e.length),r=0;r<e.length;r++)n[r]=e[r];return n},e.prototype.clearNodes=function(t){for(;t.firstChild;)t.removeChild(t.firstChild)},e.prototype.appendChild=function(t,e){t.appendChild(e)},e.prototype.removeChild=function(t,e){t.removeChild(e)},e.prototype.replaceChild=function(t,e,n){t.replaceChild(e,n)},e.prototype.remove=function(t){return t.parentNode&&t.parentNode.removeChild(t),t},e.prototype.insertBefore=function(t,e,n){t.insertBefore(n,e)},e.prototype.insertAllBefore=function(t,e,n){n.forEach(function(n){return t.insertBefore(n,e)})},e.prototype.insertAfter=function(t,e,n){t.insertBefore(n,e.nextSibling)},e.prototype.setInnerHTML=function(t,e){t.innerHTML=e},e.prototype.getText=function(t){return t.textContent},e.prototype.setText=function(t,e){t.textContent=e},e.prototype.getValue=function(t){return t.value},e.prototype.setValue=function(t,e){t.value=e},e.prototype.getChecked=function(t){return t.checked},e.prototype.setChecked=function(t,e){t.checked=e},e.prototype.createComment=function(t){return this.getDefaultDocument().createComment(t)},e.prototype.createTemplate=function(t){var e=this.getDefaultDocument().createElement("template");return e.innerHTML=t,e},e.prototype.createElement=function(t,e){return(e=e||this.getDefaultDocument()).createElement(t)},e.prototype.createElementNS=function(t,e,n){return(n=n||this.getDefaultDocument()).createElementNS(t,e)},e.prototype.createTextNode=function(t,e){return(e=e||this.getDefaultDocument()).createTextNode(t)},e.prototype.createScriptTag=function(t,e,n){var r=(n=n||this.getDefaultDocument()).createElement("SCRIPT");return r.setAttribute(t,e),r},e.prototype.createStyleElement=function(t,e){var n=(e=e||this.getDefaultDocument()).createElement("style");return this.appendChild(n,this.createTextNode(t,e)),n},e.prototype.createShadowRoot=function(t){return t.createShadowRoot()},e.prototype.getShadowRoot=function(t){return t.shadowRoot},e.prototype.getHost=function(t){return t.host},e.prototype.clone=function(t){return t.cloneNode(!0)},e.prototype.getElementsByClassName=function(t,e){return t.getElementsByClassName(e)},e.prototype.getElementsByTagName=function(t,e){return t.getElementsByTagName(e)},e.prototype.classList=function(t){return Array.prototype.slice.call(t.classList,0)},e.prototype.addClass=function(t,e){t.classList.add(e)},e.prototype.removeClass=function(t,e){t.classList.remove(e)},e.prototype.hasClass=function(t,e){return t.classList.contains(e)},e.prototype.setStyle=function(t,e,n){t.style[e]=n},e.prototype.removeStyle=function(t,e){t.style[e]=""},e.prototype.getStyle=function(t,e){return t.style[e]},e.prototype.hasStyle=function(t,e,n){var r=this.getStyle(t,e)||"";return n?r==n:r.length>0},e.prototype.tagName=function(t){return t.tagName},e.prototype.attributeMap=function(t){for(var e=new Map,n=t.attributes,r=0;r<n.length;r++){var o=n.item(r);e.set(o.name,o.value)}return e},e.prototype.hasAttribute=function(t,e){return t.hasAttribute(e)},e.prototype.hasAttributeNS=function(t,e,n){return t.hasAttributeNS(e,n)},e.prototype.getAttribute=function(t,e){return t.getAttribute(e)},e.prototype.getAttributeNS=function(t,e,n){return t.getAttributeNS(e,n)},e.prototype.setAttribute=function(t,e,n){t.setAttribute(e,n)},e.prototype.setAttributeNS=function(t,e,n,r){t.setAttributeNS(e,n,r)},e.prototype.removeAttribute=function(t,e){t.removeAttribute(e)},e.prototype.removeAttributeNS=function(t,e,n){t.removeAttributeNS(e,n)},e.prototype.templateAwareRoot=function(t){return this.isTemplateElement(t)?this.content(t):t},e.prototype.createHtmlDocument=function(){return document.implementation.createHTMLDocument("fakeTitle")},e.prototype.getDefaultDocument=function(){return document},e.prototype.getBoundingClientRect=function(t){try{return t.getBoundingClientRect()}catch(t){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}},e.prototype.getTitle=function(t){return t.title},e.prototype.setTitle=function(t,e){t.title=e||""},e.prototype.elementMatches=function(t,e){return!!this.isElementNode(t)&&(t.matches&&t.matches(e)||t.msMatchesSelector&&t.msMatchesSelector(e)||t.webkitMatchesSelector&&t.webkitMatchesSelector(e))},e.prototype.isTemplateElement=function(t){return this.isElementNode(t)&&"TEMPLATE"===t.nodeName},e.prototype.isTextNode=function(t){return t.nodeType===Node.TEXT_NODE},e.prototype.isCommentNode=function(t){return t.nodeType===Node.COMMENT_NODE},e.prototype.isElementNode=function(t){return t.nodeType===Node.ELEMENT_NODE},e.prototype.hasShadowRoot=function(t){return null!=t.shadowRoot&&t instanceof HTMLElement},e.prototype.isShadowRoot=function(t){return t instanceof DocumentFragment},e.prototype.importIntoDoc=function(t){return document.importNode(this.templateAwareRoot(t),!0)},e.prototype.adoptNode=function(t){return document.adoptNode(t)},e.prototype.getHref=function(t){return t.getAttribute("href")},e.prototype.getEventKey=function(t){var e=t.key;if(null==e){if(null==(e=t.keyIdentifier))return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&vn.hasOwnProperty(e)&&(e=vn[e]))}return gn[e]||e},e.prototype.getGlobalEventTarget=function(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null},e.prototype.getHistory=function(){return window.history},e.prototype.getLocation=function(){return window.location},e.prototype.getBaseHref=function(t){var e=Cn||(Cn=document.querySelector("base"))?Cn.getAttribute("href"):null;return null==e?null:function(t){return _n||(_n=document.createElement("a")),_n.setAttribute("href",t),"/"===_n.pathname.charAt(0)?_n.pathname:"/"+_n.pathname}(e)},e.prototype.resetBaseElement=function(){Cn=null},e.prototype.getUserAgent=function(){return window.navigator.userAgent},e.prototype.setData=function(t,e,n){this.setAttribute(t,"data-"+e,n)},e.prototype.getData=function(t,e){return this.getAttribute(t,"data-"+e)},e.prototype.getComputedStyle=function(t){return getComputedStyle(t)},e.prototype.supportsWebAnimation=function(){return"function"==typeof Element.prototype.animate},e.prototype.performanceNow=function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()},e.prototype.supportsCookies=function(){return!0},e.prototype.getCookie=function(t){return function(t,e){e=encodeURIComponent(e);for(var n=0,r=t.split(";");n<r.length;n++){var o=r[n],i=o.indexOf("="),l=-1==i?[o,""]:[o.slice(0,i),o.slice(i+1)],u=l[1];if(l[0].trim()===e)return decodeURIComponent(u)}return null}(document.cookie,t)},e.prototype.setCookie=function(t,e){document.cookie=encodeURIComponent(t)+"="+encodeURIComponent(e)},e}(function(t){function e(){var e=t.call(this)||this;e._animationPrefix=null,e._transitionEnd=null;try{var n=e.createElement("div",document);if(null!=e.getStyle(n,"animationName"))e._animationPrefix="";else for(var r=["Webkit","Moz","O","ms"],o=0;o<r.length;o++)if(null!=e.getStyle(n,r[o]+"AnimationName")){e._animationPrefix="-"+r[o].toLowerCase()+"-";break}var i={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(i).forEach(function(t){null!=e.getStyle(n,t)&&(e._transitionEnd=i[t])})}catch(t){e._animationPrefix=null,e._transitionEnd=null}return e}return Object(Be.b)(e,t),e.prototype.getDistributedNodes=function(t){return t.getDistributedNodes()},e.prototype.resolveAndSetHref=function(t,e,n){t.href=null==n?e:e+"/../"+n},e.prototype.supportsDOMEvents=function(){return!0},e.prototype.supportsNativeShadowDOM=function(){return"function"==typeof document.body.createShadowRoot},e.prototype.getAnimationPrefix=function(){return this._animationPrefix?this._animationPrefix:""},e.prototype.getTransitionEnd=function(){return this._transitionEnd?this._transitionEnd:""},e.prototype.supportsAnimation=function(){return null!=this._animationPrefix&&null!=this._transitionEnd},e}(function(){function t(){this.resourceLoaderType=null}return Object.defineProperty(t.prototype,"attrToPropMap",{get:function(){return this._attrToPropMap},set:function(t){this._attrToPropMap=t},enumerable:!0,configurable:!0}),t}())),Cn=null,En=dn,Sn=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n._init(),n}return Object(Be.b)(e,t),e.prototype._init=function(){this.location=a().getLocation(),this._history=a().getHistory()},e.prototype.getBaseHrefFromDOM=function(){return a().getBaseHref(this._doc)},e.prototype.onPopState=function(t){a().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)},e.prototype.onHashChange=function(t){a().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)},Object.defineProperty(e.prototype,"pathname",{get:function(){return this.location.pathname},set:function(t){this.location.pathname=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"search",{get:function(){return this.location.search},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hash",{get:function(){return this.location.hash},enumerable:!0,configurable:!0}),e.prototype.pushState=function(t,e,n){c()?this._history.pushState(t,e,n):this.location.hash=n},e.prototype.replaceState=function(t,e,n){c()?this._history.replaceState(t,e,n):this.location.hash=n},e.prototype.forward=function(){this._history.forward()},e.prototype.back=function(){this._history.back()},e.ctorParameters=function(){return[{type:void 0,decorators:[{type:je.k,args:[En]}]}]},e}(Le),Pn=function(){function t(t){this._doc=t,this._dom=a()}return t.prototype.addTag=function(t,e){return void 0===e&&(e=!1),t?this._getOrCreateElement(t,e):null},t.prototype.addTags=function(t,e){var n=this;return void 0===e&&(e=!1),t?t.reduce(function(t,r){return r&&t.push(n._getOrCreateElement(r,e)),t},[]):[]},t.prototype.getTag=function(t){return t?this._dom.querySelector(this._doc,"meta["+t+"]")||null:null},t.prototype.getTags=function(t){if(!t)return[];var e=this._dom.querySelectorAll(this._doc,"meta["+t+"]");return e?[].slice.call(e):[]},t.prototype.updateTag=function(t,e){if(!t)return null;e=e||this._parseSelector(t);var n=this.getTag(e);return n?this._setMetaElementAttributes(t,n):this._getOrCreateElement(t,!0)},t.prototype.removeTag=function(t){this.removeTagElement(this.getTag(t))},t.prototype.removeTagElement=function(t){t&&this._dom.remove(t)},t.prototype._getOrCreateElement=function(t,e){if(void 0===e&&(e=!1),!e){var n=this._parseSelector(t),r=this.getTag(n);if(r&&this._containsAttributes(t,r))return r}var o=this._dom.createElement("meta");this._setMetaElementAttributes(t,o);var i=this._dom.getElementsByTagName(this._doc,"head")[0];return this._dom.appendChild(i,o),o},t.prototype._setMetaElementAttributes=function(t,e){var n=this;return Object.keys(t).forEach(function(r){return n._dom.setAttribute(e,r,t[r])}),e},t.prototype._parseSelector=function(t){var e=t.name?"name":"property";return e+'="'+t[e]+'"'},t.prototype._containsAttributes=function(t,e){var n=this;return Object.keys(t).every(function(r){return n._dom.getAttribute(e,r)===t[r]})},t}(),Tn=new je.l("TRANSITION_ID"),kn=[{provide:je.b,useFactory:function(t,e,n){return function(){n.get(je.c).donePromise.then(function(){var n=a();Array.prototype.slice.apply(n.querySelectorAll(e,"style[ng-transition]")).filter(function(e){return n.getAttribute(e,"ng-transition")===t}).forEach(function(t){return n.remove(t)})})}},deps:[Tn,En,je.m],multi:!0}],On=function(){function t(){}return t.init=function(){Object(je.N)(new t)},t.prototype.addToWindow=function(t){je.X.getAngularTestability=function(e,n){void 0===n&&(n=!0);var r=t.findTestabilityInTree(e,n);if(null==r)throw new Error("Could not find testability for element.");return r},je.X.getAllAngularTestabilities=function(){return t.getAllTestabilities()},je.X.getAllAngularRootElements=function(){return t.getAllRootElements()},je.X.frameworkStabilizers||(je.X.frameworkStabilizers=[]),je.X.frameworkStabilizers.push(function(t){var e=je.X.getAllAngularTestabilities(),n=e.length,r=!1,o=function(e){r=r||e,0==--n&&t(r)};e.forEach(function(t){t.whenStable(o)})})},t.prototype.findTestabilityInTree=function(t,e,n){if(null==e)return null;var r=t.getTestability(e);return null!=r?r:n?a().isShadowRoot(e)?this.findTestabilityInTree(t,a().getHost(e),!0):this.findTestabilityInTree(t,a().parentElement(e),!0):null},t}(),xn=function(){function t(t){this._doc=t}return t.prototype.getTitle=function(){return a().getTitle(this._doc)},t.prototype.setTitle=function(t){a().setTitle(this._doc,t)},t}(),In={ApplicationRef:je.e,NgZone:je.s},Vn=new je.l("EventManagerPlugins"),An=function(){function t(t,e){var n=this;this._zone=e,this._eventNameToPlugin=new Map,t.forEach(function(t){return t.manager=n}),this._plugins=t.slice().reverse()}return t.prototype.addEventListener=function(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)},t.prototype.addGlobalEventListener=function(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)},t.prototype.getZone=function(){return this._zone},t.prototype._findPluginFor=function(t){var e=this._eventNameToPlugin.get(t);if(e)return e;for(var n=this._plugins,r=0;r<n.length;r++){var o=n[r];if(o.supports(t))return this._eventNameToPlugin.set(t,o),o}throw new Error("No event manager plugin found for event "+t)},t}(),Nn=function(){function t(t){this._doc=t}return t.prototype.addGlobalEventListener=function(t,e,n){var r=a().getGlobalEventTarget(this._doc,t);if(!r)throw new Error("Unsupported event target "+r+" for event "+e);return this.addEventListener(r,e,n)},t}(),Fn=function(){function t(){this._stylesSet=new Set}return t.prototype.addStyles=function(t){var e=this,n=new Set;t.forEach(function(t){e._stylesSet.has(t)||(e._stylesSet.add(t),n.add(t))}),this.onStylesAdded(n)},t.prototype.onStylesAdded=function(t){},t.prototype.getAllStyles=function(){return Array.from(this._stylesSet)},t}(),Rn=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n._hostNodes=new Set,n._styleNodes=new Set,n._hostNodes.add(e.head),n}return Object(Be.b)(e,t),e.prototype._addStylesToHost=function(t,e){var n=this;t.forEach(function(t){var r=n._doc.createElement("style");r.textContent=t,n._styleNodes.add(e.appendChild(r))})},e.prototype.addHost=function(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)},e.prototype.removeHost=function(t){this._hostNodes.delete(t)},e.prototype.onStylesAdded=function(t){var e=this;this._hostNodes.forEach(function(n){return e._addStylesToHost(t,n)})},e.prototype.ngOnDestroy=function(){this._styleNodes.forEach(function(t){return a().remove(t)})},e}(Fn),Mn={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/"},Dn=/%COMP%/g,jn="_nghost-%COMP%",Bn="_ngcontent-%COMP%",Ln=function(){function t(t,e){this.eventManager=t,this.sharedStylesHost=e,this.rendererByCompId=new Map,this.defaultRenderer=new Un(t)}return t.prototype.createRenderer=function(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case je.F.Emulated:var n=this.rendererByCompId.get(e.id);return n||(n=new Qn(this.eventManager,this.sharedStylesHost,e),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n;case je.F.Native:return new zn(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){var r=f(e.id,e.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}},t.prototype.begin=function(){},t.prototype.end=function(){},t}(),Un=function(){function t(t){this.eventManager=t,this.data=Object.create(null)}return t.prototype.destroy=function(){},t.prototype.createElement=function(t,e){return e?document.createElementNS(Mn[e],t):document.createElement(t)},t.prototype.createComment=function(t){return document.createComment(t)},t.prototype.createText=function(t){return document.createTextNode(t)},t.prototype.appendChild=function(t,e){t.appendChild(e)},t.prototype.insertBefore=function(t,e,n){t&&t.insertBefore(e,n)},t.prototype.removeChild=function(t,e){t&&t.removeChild(e)},t.prototype.selectRootElement=function(t){var e="string"==typeof t?document.querySelector(t):t;if(!e)throw new Error('The selector "'+t+'" did not match any elements');return e.textContent="",e},t.prototype.parentNode=function(t){return t.parentNode},t.prototype.nextSibling=function(t){return t.nextSibling},t.prototype.setAttribute=function(t,e,n,r){if(r){e=r+":"+e;var o=Mn[r];o?t.setAttributeNS(o,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)},t.prototype.removeAttribute=function(t,e,n){if(n){var r=Mn[n];r?t.removeAttributeNS(r,e):t.removeAttribute(n+":"+e)}else t.removeAttribute(e)},t.prototype.addClass=function(t,e){t.classList.add(e)},t.prototype.removeClass=function(t,e){t.classList.remove(e)},t.prototype.setStyle=function(t,e,n,r){r&je.y.DashCase?t.style.setProperty(e,n,r&je.y.Important?"important":""):t.style[e]=n},t.prototype.removeStyle=function(t,e,n){n&je.y.DashCase?t.style.removeProperty(e):t.style[e]=""},t.prototype.setProperty=function(t,e,n){y(e,"property"),t[e]=n},t.prototype.setValue=function(t,e){t.nodeValue=e},t.prototype.listen=function(t,e,n){return y(e,"listener"),"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,d(n)):this.eventManager.addEventListener(t,e,d(n))},t}(),Hn="@".charCodeAt(0),Qn=function(t){function e(e,n,r){var o=t.call(this,e)||this;o.component=r;var i=f(r.id,r.styles,[]);return n.addStyles(i),o.contentAttr=Bn.replace(Dn,r.id),o.hostAttr=jn.replace(Dn,r.id),o}return Object(Be.b)(e,t),e.prototype.applyToHost=function(e){t.prototype.setAttribute.call(this,e,this.hostAttr,"")},e.prototype.createElement=function(e,n){var r=t.prototype.createElement.call(this,e,n);return t.prototype.setAttribute.call(this,r,this.contentAttr,""),r},e}(Un),zn=function(t){function e(e,n,r,o){var i=t.call(this,e)||this;i.sharedStylesHost=n,i.hostEl=r,i.component=o,i.shadowRoot=r.createShadowRoot(),i.sharedStylesHost.addHost(i.shadowRoot);for(var l=f(o.id,o.styles,[]),u=0;u<l.length;u++){var s=document.createElement("style");s.textContent=l[u],i.shadowRoot.appendChild(s)}return i}return Object(Be.b)(e,t),e.prototype.nodeOrShadowRoot=function(t){return t===this.hostEl?this.shadowRoot:t},e.prototype.destroy=function(){this.sharedStylesHost.removeHost(this.shadowRoot)},e.prototype.appendChild=function(e,n){return t.prototype.appendChild.call(this,this.nodeOrShadowRoot(e),n)},e.prototype.insertBefore=function(e,n,r){return t.prototype.insertBefore.call(this,this.nodeOrShadowRoot(e),n,r)},e.prototype.removeChild=function(e,n){return t.prototype.removeChild.call(this,this.nodeOrShadowRoot(e),n)},e.prototype.parentNode=function(e){return this.nodeOrShadowRoot(t.prototype.parentNode.call(this,this.nodeOrShadowRoot(e)))},e}(Un),Gn="undefined"!=typeof Zone&&Zone.__symbol__||function(t){return"__zone_symbol__"+t},qn=Gn("addEventListener"),Kn=Gn("removeEventListener"),Wn={},Zn="removeEventListener",$n="__zone_symbol__propagationStopped",Xn="__zone_symbol__stopImmediatePropagation";"undefined"!=typeof Zone&&Zone[Gn("BLACK_LISTED_EVENTS")]&&(bn={});var Yn=function(t){return!!bn&&bn.hasOwnProperty(t)},Jn=function(t){var e=Wn[t.type];if(e){var n=this[e];if(n){var r=[t];if(1===n.length)return(l=n[0]).zone!==Zone.current?l.zone.run(l.handler,this,r):l.handler.apply(this,r);for(var o=n.slice(),i=0;i<o.length&&!0!==t[$n];i++){var l;(l=o[i]).zone!==Zone.current?l.zone.run(l.handler,this,r):l.handler.apply(this,r)}}}},tr=function(t){function e(e,n){var r=t.call(this,e)||this;return r.ngZone=n,r.patchEvent(),r}return Object(Be.b)(e,t),e.prototype.patchEvent=function(){if(Event&&Event.prototype&&!Event.prototype[Xn]){var t=Event.prototype[Xn]=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[$n]=!0),t&&t.apply(this,arguments)}}},e.prototype.supports=function(t){return!0},e.prototype.addEventListener=function(t,e,n){var r=this,o=n;if(!t[qn]||je.s.isInAngularZone()&&!Yn(e))t.addEventListener(e,o,!1);else{var i=Wn[e];i||(i=Wn[e]=Gn("ANGULAR"+e+"FALSE"));var l=t[i],u=l&&l.length>0;l||(l=t[i]=[]);var s=Yn(e)?Zone.root:Zone.current;if(0===l.length)l.push({zone:s,handler:o});else{for(var a=!1,c=0;c<l.length;c++)if(l[c].handler===o){a=!0;break}a||l.push({zone:s,handler:o})}u||t[qn](e,Jn,!1)}return function(){return r.removeEventListener(t,e,o)}},e.prototype.removeEventListener=function(t,e,n){var r=t[Kn];if(!r)return t[Zn].apply(t,[e,n,!1]);var o=Wn[e],i=o&&t[o];if(!i)return t[Zn].apply(t,[e,n,!1]);for(var l=!1,u=0;u<i.length;u++)if(i[u].handler===n){l=!0,i.splice(u,1);break}l?0===i.length&&r.apply(t,[e,Jn,!1]):t[Zn].apply(t,[e,n,!1])},e}(Nn),er={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},nr=new je.l("HammerGestureConfig"),rr=function(){function t(){this.events=[],this.overrides={}}return t.prototype.buildHammer=function(t){var e=new Hammer(t);e.get("pinch").set({enable:!0}),e.get("rotate").set({enable:!0});for(var n in this.overrides)e.get(n).set(this.overrides[n]);return e},t}(),or=function(t){function e(e,n){var r=t.call(this,e)||this;return r._config=n,r}return Object(Be.b)(e,t),e.prototype.supports=function(t){if(!er.hasOwnProperty(t.toLowerCase())&&!this.isCustomEvent(t))return!1;if(!window.Hammer)throw new Error("Hammer.js is not loaded, can not bind "+t+" event");return!0},e.prototype.addEventListener=function(t,e,n){var r=this,o=this.manager.getZone();return e=e.toLowerCase(),o.runOutsideAngular(function(){var i=r._config.buildHammer(t),l=function(t){o.runGuarded(function(){n(t)})};return i.on(e,l),function(){return i.off(e,l)}})},e.prototype.isCustomEvent=function(t){return this._config.events.indexOf(t)>-1},e}(Nn),ir=["alt","control","meta","shift"],lr={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},ur=function(t){function e(e){return t.call(this,e)||this}return Object(Be.b)(e,t),e.prototype.supports=function(t){return null!=e.parseEventName(t)},e.prototype.addEventListener=function(t,n,r){var o=e.parseEventName(n),i=e.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return a().onAndCancel(t,o.domEventName,i)})},e.parseEventName=function(t){var n=t.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;var o=e._normalizeKey(n.pop()),i="";if(ir.forEach(function(t){var e=n.indexOf(t);e>-1&&(n.splice(e,1),i+=t+".")}),i+=o,0!=n.length||0===o.length)return null;var l={};return l.domEventName=r,l.fullKey=i,l},e.getEventFullKey=function(t){var e="",n=a().getEventKey(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),ir.forEach(function(r){r!=n&&(0,lr[r])(t)&&(e+=r+".")}),e+=n},e.eventCallback=function(t,n,r){return function(o){e.getEventFullKey(o)===t&&r.runGuarded(function(){return n(o)})}},e._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},e}(Nn),sr=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,ar=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i,cr=null,pr=null,hr=g("area,br,col,hr,img,wbr"),fr=g("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),dr=g("rp,rt"),yr=v(dr,fr),mr=v(hr,v(fr,g("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")),v(dr,g("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")),yr),gr=g("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),vr=g("srcset"),_r=v(gr,vr,g("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")),br=function(){function t(){this.sanitizedSomething=!1,this.buf=[]}return t.prototype.sanitizeChildren=function(t){for(var e=t.firstChild;e;)if(pr.isElementNode(e)?this.startElement(e):pr.isTextNode(e)?this.chars(pr.nodeValue(e)):this.sanitizedSomething=!0,pr.firstChild(e))e=pr.firstChild(e);else for(;e;){pr.isElementNode(e)&&this.endElement(e);var n=_(e,pr.nextSibling(e));if(n){e=n;break}e=_(e,pr.parentElement(e))}return this.buf.join("")},t.prototype.startElement=function(t){var e=this,n=pr.nodeName(t).toLowerCase();mr.hasOwnProperty(n)?(this.buf.push("<"),this.buf.push(n),pr.attributeMap(t).forEach(function(t,n){var r=n.toLowerCase();_r.hasOwnProperty(r)?(gr[r]&&(t=m(t)),vr[r]&&(t=function(t){return(t=String(t)).split(",").map(function(t){return m(t.trim())}).join(", ")}(t)),e.buf.push(" "),e.buf.push(n),e.buf.push('="'),e.buf.push(b(t)),e.buf.push('"')):e.sanitizedSomething=!0}),this.buf.push(">")):this.sanitizedSomething=!0},t.prototype.endElement=function(t){var e=pr.nodeName(t).toLowerCase();mr.hasOwnProperty(e)&&!hr.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))},t.prototype.chars=function(t){this.buf.push(b(t))},t}(),wr=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Cr=/([^\#-~ |!])/g,Er=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"),Sr=/^url\(([^)]+)\)$/,Pr=function(){},Tr=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n}return Object(Be.b)(e,t),e.prototype.sanitize=function(t,e){if(null==e)return null;switch(t){case je.A.NONE:return e;case je.A.HTML:return e instanceof Or?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),function(t,e){try{var n=function(){if(cr)return cr;var t=(pr=a()).createElement("template");if("content"in t)return t;var e=pr.createHtmlDocument();if(null==(cr=pr.querySelector(e,"body"))){var n=pr.createElement("html",e);cr=pr.createElement("body",e),pr.appendChild(n,cr),pr.appendChild(e,n)}return cr}(),r=e?String(e):"",o=5,i=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,pr.setInnerHTML(n,r=i),t.documentMode&&w(n),i=pr.getInnerHTML(n)}while(r!==i);for(var l=new br,u=l.sanitizeChildren(pr.getTemplateContent(n)||n),s=pr.getTemplateContent(n)||n,c=0,p=pr.childNodesAsList(s);c<p.length;c++)pr.removeChild(s,p[c]);return Object(je.L)()&&l.sanitizedSomething&&pr.log("WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss)."),u}catch(t){throw cr=null,t}}(this._doc,String(e)));case je.A.STYLE:return e instanceof xr?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),function(t){if(!(t=String(t).trim()))return"";var e=t.match(Sr);return e&&m(e[1])===e[1]||t.match(Er)&&function(t){for(var e=!0,n=!0,r=0;r<t.length;r++){var o=t.charAt(r);"'"===o&&n?e=!e:'"'===o&&e&&(n=!n)}return e&&n}(t)?t:(Object(je.L)()&&a().log("WARNING: sanitizing unsafe style value "+t+" (see http://g.co/ng/security#xss)."),"unsafe")}(e));case je.A.SCRIPT:if(e instanceof Ir)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"Script"),new Error("unsafe value used in a script context");case je.A.URL:return e instanceof Ar||e instanceof Vr?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"URL"),m(String(e)));case je.A.RESOURCE_URL:if(e instanceof Ar)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+t+" (see http://g.co/ng/security#xss)")}},e.prototype.checkNotSafeValue=function(t,e){if(t instanceof kr)throw new Error("Required a safe "+e+", got a "+t.getTypeName()+" (see http://g.co/ng/security#xss)")},e.prototype.bypassSecurityTrustHtml=function(t){return new Or(t)},e.prototype.bypassSecurityTrustStyle=function(t){return new xr(t)},e.prototype.bypassSecurityTrustScript=function(t){return new Ir(t)},e.prototype.bypassSecurityTrustUrl=function(t){return new Vr(t)},e.prototype.bypassSecurityTrustResourceUrl=function(t){return new Ar(t)},e}(Pr),kr=function(){function t(t){this.changingThisBreaksApplicationSecurity=t}return t.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},t}(),Or=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Be.b)(e,t),e.prototype.getTypeName=function(){return"HTML"},e}(kr),xr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Be.b)(e,t),e.prototype.getTypeName=function(){return"Style"},e}(kr),Ir=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Be.b)(e,t),e.prototype.getTypeName=function(){return"Script"},e}(kr),Vr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Be.b)(e,t),e.prototype.getTypeName=function(){return"URL"},e}(kr),Ar=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Be.b)(e,t),e.prototype.getTypeName=function(){return"ResourceURL"},e}(kr),Nr=[{provide:je.u,useValue:"browser"},{provide:je.v,useValue:function(){wn.makeCurrent(),On.init()},multi:!0},{provide:Le,useClass:Sn,deps:[En]},{provide:En,useFactory:function(){return document},deps:[]}],Fr=Object(je.H)(je.M,"browser",Nr),Rr=function(){function t(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return t.withServerTransition=function(e){return{ngModule:t,providers:[{provide:je.a,useValue:e.appId},{provide:Tn,useExisting:je.a},kn]}},t}(),Mr=("undefined"!=typeof window&&window,function(){}),Dr="*",jr=function(){function t(){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=0}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.hasStarted=function(){return this._started},t.prototype.init=function(){},t.prototype.play=function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0},t.prototype.triggerMicrotask=function(){var t=this;P(function(){return t._onFinish()})},t.prototype._onStart=function(){this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[]},t.prototype.pause=function(){},t.prototype.restart=function(){},t.prototype.finish=function(){this._onFinish()},t.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])},t.prototype.reset=function(){},t.prototype.setPosition=function(t){},t.prototype.getPosition=function(){return 0},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0},t}(),Br=function(){function t(t){var e=this;this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;var n=0,r=0,o=0,i=this.players.length;0==i?P(function(){return e._onFinish()}):this.players.forEach(function(t){t.onDone(function(){++n>=i&&e._onFinish()}),t.onDestroy(function(){++r>=i&&e._onDestroy()}),t.onStart(function(){++o>=i&&e._onStart()})}),this.totalTime=this.players.reduce(function(t,e){return Math.max(t,e.totalTime)},0)}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},t.prototype.init=function(){this.players.forEach(function(t){return t.init()})},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype._onStart=function(){this.hasStarted()||(this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[],this._started=!0)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.hasStarted=function(){return this._started},t.prototype.play=function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(function(t){return t.play()})},t.prototype.pause=function(){this.players.forEach(function(t){return t.pause()})},t.prototype.restart=function(){this.players.forEach(function(t){return t.restart()})},t.prototype.finish=function(){this._onFinish(),this.players.forEach(function(t){return t.finish()})},t.prototype.destroy=function(){this._onDestroy()},t.prototype._onDestroy=function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(t){return t.destroy()}),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])},t.prototype.reset=function(){this.players.forEach(function(t){return t.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1},t.prototype.setPosition=function(t){var e=t*this.totalTime;this.players.forEach(function(t){var n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})},t.prototype.getPosition=function(){var t=0;return this.players.forEach(function(e){var n=e.getPosition();t=Math.min(n,t)}),t},t.prototype.beforeDestroy=function(){this.players.forEach(function(t){t.beforeDestroy&&t.beforeDestroy()})},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0},t}(),Lr="!",Ur=function(t,e){return!1},Hr=function(t,e){return!1},Qr=function(t,e,n){return[]};if("undefined"!=typeof Element){if(Ur=function(t,e){return t.contains(e)},Element.prototype.matches)Hr=function(t,e){return t.matches(e)};else{var zr=Element.prototype,Gr=zr.matchesSelector||zr.mozMatchesSelector||zr.msMatchesSelector||zr.oMatchesSelector||zr.webkitMatchesSelector;Gr&&(Hr=function(t,e){return Gr.apply(t,[e])})}Qr=function(t,e,n){var r=[];if(n)r.push.apply(r,t.querySelectorAll(e));else{var o=t.querySelector(e);o&&r.push(o)}return r}}var qr=null,Kr=!1,Wr=Hr,Zr=Ur,$r=Qr,Xr=function(){function t(){}return t.prototype.validateStyleProperty=function(t){return N(t)},t.prototype.matchesElement=function(t,e){return Wr(t,e)},t.prototype.containsElement=function(t,e){return Zr(t,e)},t.prototype.query=function(t,e,n){return $r(t,e,n)},t.prototype.computeStyle=function(t,e,n){return n||""},t.prototype.animate=function(t,e,n,r,o,i){return void 0===i&&(i=[]),new jr},t}(),Yr=function(){function t(){}return t.NOOP=new Xr,t}(),Jr=1e3,to="ng-trigger",eo=".ng-trigger",no=".ng-animating",ro=new RegExp("{{\\s*(.+?)\\s*}}","g"),oo=/-+([a-z0-9])/g,io="*",lo=new Set(["true","1"]),uo=new Set(["false","0"]),so=new RegExp("s*:selfs*,?","g"),ao=function(){function t(t){this._driver=t}return t.prototype.build=function(t,e){var n=new co(e);return this._resetContextStyleTimingState(n),K(this,H(t),n)},t.prototype._resetContextStyleTimingState=function(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0},t.prototype.visitTrigger=function(t,e){var n=this,r=e.queryCount=0,o=e.depCount=0,i=[],l=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(function(t){if(n._resetContextStyleTimingState(e),0==t.type){var u=t,s=u.name;s.split(/\s*,\s*/).forEach(function(t){u.name=t,i.push(n.visitState(u,e))}),u.name=s}else if(1==t.type){var a=n.visitTransition(t,e);r+=a.queryCount,o+=a.depCount,l.push(a)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:i,transitions:l,queryCount:r,depCount:o,options:null}},t.prototype.visitState=function(t,e){var n=this.visitStyle(t.styles,e),r=t.options&&t.options.params||null;if(n.containsDynamicStyles){var o=new Set,i=r||{};if(n.styles.forEach(function(t){if($(t)){var e=t;Object.keys(e).forEach(function(t){Q(e[t]).forEach(function(t){i.hasOwnProperty(t)||o.add(t)})})}}),o.size){var l=G(o.values());e.errors.push('state("'+t.name+'", ...) must define default values for all the following style substitutions: '+l.join(", "))}}return{type:0,name:t.name,style:n,options:r?{params:r}:null}},t.prototype.visitTransition=function(t,e){e.queryCount=0,e.depCount=0;var n=K(this,H(t.animation),e);return{type:1,matchers:function(t,e){var n=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(function(t){return function(t,e,n){if(":"==t[0]){var r=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return function(t,e){return parseFloat(e)>parseFloat(t)};case":decrement":return function(t,e){return parseFloat(e)<parseFloat(t)};default:return e.push('The transition alias value "'+t+'" is not supported'),"* => *"}}(t,n);if("function"==typeof r)return void e.push(r);t=r}var o=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==o||o.length<4)return n.push('The provided transition expression "'+t+'" is not supported'),e;var i=o[1],l=o[2],u=o[3];e.push(W(i,u)),"<"!=l[0]||i==io&&u==io||e.push(W(u,i))}(t,n,e)}):n.push(t),n}(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:X(t.options)}},t.prototype.visitSequence=function(t,e){var n=this;return{type:2,steps:t.steps.map(function(t){return K(n,t,e)}),options:X(t.options)}},t.prototype.visitGroup=function(t,e){var n=this,r=e.currentTime,o=0,i=t.steps.map(function(t){e.currentTime=r;var i=K(n,t,e);return o=Math.max(o,e.currentTime),i});return e.currentTime=o,{type:3,steps:i,options:X(t.options)}},t.prototype.visitAnimate=function(t,e){var n=function(t,e){var n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return Y(D(t,e).duration,0,"");var r=t;if(r.split(/\s+/).some(function(t){return"{"==t.charAt(0)&&"{"==t.charAt(1)})){var o=Y(0,0,"");return o.dynamic=!0,o.strValue=r,o}return n=n||D(r,e),Y(n.duration,n.delay,n.easing)}(t.timings,e.errors);e.currentAnimateTimings=n;var r,o=t.styles?t.styles:S({});if(5==o.type)r=this.visitKeyframes(o,e);else{var i=t.styles,l=!1;if(!i){l=!0;var u={};n.easing&&(u.easing=n.easing),i=S(u)}e.currentTime+=n.duration+n.delay;var s=this.visitStyle(i,e);s.isEmptyStep=l,r=s}return e.currentAnimateTimings=null,{type:4,timings:n,style:r,options:null}},t.prototype.visitStyle=function(t,e){var n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n},t.prototype._makeStyleAst=function(t,e){var n=[];Array.isArray(t.styles)?t.styles.forEach(function(t){"string"==typeof t?t==Dr?n.push(t):e.errors.push("The provided style string value "+t+" is not allowed."):n.push(t)}):n.push(t.styles);var r=!1,o=null;return n.forEach(function(t){if($(t)){var e=t,n=e.easing;if(n&&(o=n,delete e.easing),!r)for(var i in e)if(e[i].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:n,easing:o,offset:t.offset,containsDynamicStyles:r,options:null}},t.prototype._validateStyleAst=function(t,e){var n=this,r=e.currentAnimateTimings,o=e.currentTime,i=e.currentTime;r&&i>0&&(i-=r.duration+r.delay),t.styles.forEach(function(t){"string"!=typeof t&&Object.keys(t).forEach(function(r){if(n._driver.validateStyleProperty(r)){var l=e.collectedStyles[e.currentQuerySelector],u=l[r],s=!0;u&&(i!=o&&i>=u.startTime&&o<=u.endTime&&(e.errors.push('The CSS property "'+r+'" that exists between the times of "'+u.startTime+'ms" and "'+u.endTime+'ms" is also being animated in a parallel animation between the times of "'+i+'ms" and "'+o+'ms"'),s=!1),i=u.startTime),s&&(l[r]={startTime:i,endTime:o}),e.options&&function(n,o,i){var l=e.options.params||{},u=Q(t[r]);u.length&&u.forEach(function(t){l.hasOwnProperty(t)||i.push("Unable to resolve the local animation param "+t+" in the given list of values")})}(0,0,e.errors)}else e.errors.push('The provided animation property "'+r+'" is not a supported CSS property for animations')})})},t.prototype.visitKeyframes=function(t,e){var n=this,r={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),r;var o=0,i=[],l=!1,u=!1,s=0,a=t.steps.map(function(t){var r=n._makeStyleAst(t,e),a=null!=r.offset?r.offset:function(t){if("string"==typeof t)return null;var e=null;if(Array.isArray(t))t.forEach(function(t){if($(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}});else if($(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}return e}(r.styles),c=0;return null!=a&&(o++,c=r.offset=a),u=u||c<0||c>1,l=l||c<s,s=c,i.push(c),r});u&&e.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),l&&e.errors.push("Please ensure that all keyframe offsets are in order");var c=t.steps.length,p=0;o>0&&o<c?e.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==o&&(p=1/(c-1));var h=c-1,f=e.currentTime,d=e.currentAnimateTimings,y=d.duration;return a.forEach(function(t,o){var l=p>0?o==h?1:p*o:i[o],u=l*y;e.currentTime=f+d.delay+u,d.duration=u,n._validateStyleAst(t,e),t.offset=l,r.styles.push(t)}),r},t.prototype.visitReference=function(t,e){return{type:8,animation:K(this,H(t.animation),e),options:X(t.options)}},t.prototype.visitAnimateChild=function(t,e){return e.depCount++,{type:9,options:X(t.options)}},t.prototype.visitAnimateRef=function(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:X(t.options)}},t.prototype.visitQuery=function(t,e){var n=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;var o=function(t){var e=!!t.split(/\s*,\s*/).find(function(t){return":self"==t});return e&&(t=t.replace(so,"")),t=t.replace(/@\*/g,eo).replace(/@\w+/g,function(t){return eo+"-"+t.substr(1)}).replace(/:animating/g,no),[t,e]}(t.selector),i=o[0],l=o[1];e.currentQuerySelector=n.length?n+" "+i:i,V(e.collectedStyles,e.currentQuerySelector,{});var u=K(this,H(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:i,limit:r.limit||0,optional:!!r.optional,includeSelf:l,animation:u,originalSelector:t.selector,options:X(t.options)}},t.prototype.visitStagger=function(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");var n="full"===t.timings?{duration:0,delay:0,easing:"full"}:D(t.timings,e.errors,!0);return{type:12,animation:K(this,H(t.animation),e),timings:n,options:null}},t}(),co=function(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null},po=function(){function t(){this._map=new Map}return t.prototype.consume=function(t){var e=this._map.get(t);return e?this._map.delete(t):e=[],e},t.prototype.append=function(t,e){var n=this._map.get(t);n||this._map.set(t,n=[]),n.push.apply(n,e)},t.prototype.has=function(t){return this._map.has(t)},t.prototype.clear=function(){this._map.clear()},t}(),ho=new RegExp(":enter","g"),fo=new RegExp(":leave","g"),yo=function(){function t(){}return t.prototype.buildKeyframes=function(t,e,n,r,o,i,l,u,s,a){void 0===a&&(a=[]),s=s||new po;var c=new go(t,e,s,r,o,a,[]);c.options=u,c.currentTimeline.setStyles([i],null,c.errors,u),K(this,n,c);var p=c.timelines.filter(function(t){return t.containsAnimation()});if(p.length&&Object.keys(l).length){var h=p[p.length-1];h.allowOnlyTimelineStyles()||h.setStyles([l],null,c.errors,u)}return p.length?p.map(function(t){return t.buildKeyframes()}):[J(e,[],[],[],0,0,"",!1)]},t.prototype.visitTrigger=function(t,e){},t.prototype.visitState=function(t,e){},t.prototype.visitTransition=function(t,e){},t.prototype.visitAnimateChild=function(t,e){var n=e.subInstructions.consume(e.element);if(n){var r=e.createSubContext(t.options),o=e.currentTimeline.currentTime,i=this._visitSubInstructions(n,r,r.options);o!=i&&e.transformIntoNewTimeline(i)}e.previousNode=t},t.prototype.visitAnimateRef=function(t,e){var n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t},t.prototype._visitSubInstructions=function(t,e,n){var r=e.currentTimeline.currentTime,o=null!=n.duration?R(n.duration):null,i=null!=n.delay?R(n.delay):null;return 0!==o&&t.forEach(function(t){var n=e.appendInstructionToTimeline(t,o,i);r=Math.max(r,n.duration+n.delay)}),r},t.prototype.visitReference=function(t,e){e.updateOptions(t.options,!0),K(this,t.animation,e),e.previousNode=t},t.prototype.visitSequence=function(t,e){var n=this,r=e.subContextCount,o=e,i=t.options;if(i&&(i.params||i.delay)&&((o=e.createSubContext(i)).transformIntoNewTimeline(),null!=i.delay)){6==o.previousNode.type&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=mo);var l=R(i.delay);o.delayNextStep(l)}t.steps.length&&(t.steps.forEach(function(t){return K(n,t,o)}),o.currentTimeline.applyStylesToKeyframe(),o.subContextCount>r&&o.transformIntoNewTimeline()),e.previousNode=t},t.prototype.visitGroup=function(t,e){var n=this,r=[],o=e.currentTimeline.currentTime,i=t.options&&t.options.delay?R(t.options.delay):0;t.steps.forEach(function(l){var u=e.createSubContext(t.options);i&&u.delayNextStep(i),K(n,l,u),o=Math.max(o,u.currentTimeline.currentTime),r.push(u.currentTimeline)}),r.forEach(function(t){return e.currentTimeline.mergeTimelineCollectedStyles(t)}),e.transformIntoNewTimeline(o),e.previousNode=t},t.prototype._visitTiming=function(t,e){if(t.dynamic){var n=t.strValue;return D(e.params?z(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}},t.prototype.visitAnimate=function(t,e){var n=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),r.snapshotCurrentStyles());var o=t.style;5==o.type?this.visitKeyframes(o,e):(e.incrementTime(n.duration),this.visitStyle(o,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t},t.prototype.visitStyle=function(t,e){var n=e.currentTimeline,r=e.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();var o=r&&r.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(o):n.setStyles(t.styles,o,e.errors,e.options),e.previousNode=t},t.prototype.visitKeyframes=function(t,e){var n=e.currentAnimateTimings,r=e.currentTimeline.duration,o=n.duration,i=e.createSubContext().currentTimeline;i.easing=n.easing,t.styles.forEach(function(t){i.forwardTime((t.offset||0)*o),i.setStyles(t.styles,t.easing,e.errors,e.options),i.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(i),e.transformIntoNewTimeline(r+o),e.previousNode=t},t.prototype.visitQuery=function(t,e){var n=this,r=e.currentTimeline.currentTime,o=t.options||{},i=o.delay?R(o.delay):0;i&&(6===e.previousNode.type||0==r&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=mo);var l=r,u=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!o.optional,e.errors);e.currentQueryTotal=u.length;var s=null;u.forEach(function(r,o){e.currentQueryIndex=o;var u=e.createSubContext(t.options,r);i&&u.delayNextStep(i),r===e.element&&(s=u.currentTimeline),K(n,t.animation,u),u.currentTimeline.applyStylesToKeyframe();var a=u.currentTimeline.currentTime;l=Math.max(l,a)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(l),s&&(e.currentTimeline.mergeTimelineCollectedStyles(s),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t},t.prototype.visitStagger=function(t,e){var n=e.parentContext,r=e.currentTimeline,o=t.timings,i=Math.abs(o.duration),l=i*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=i*(e.currentQueryTotal-1)-l;break;case"full":l=n.currentStaggerTime}var u=e.currentTimeline;l&&u.delayNextStep(l);var s=u.currentTime;K(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=r.currentTime-s+(r.startTime-n.currentTimeline.startTime)},t}(),mo={},go=function(){function t(t,e,n,r,o,i,l,u){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=o,this.errors=i,this.timelines=l,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=mo,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=u||new vo(this._driver,e,0),l.push(this.currentTimeline)}return Object.defineProperty(t.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),t.prototype.updateOptions=function(t,e){var n=this;if(t){var r=t,o=this.options;null!=r.duration&&(o.duration=R(r.duration)),null!=r.delay&&(o.delay=R(r.delay));var i=r.params;if(i){var l=o.params;l||(l=this.options.params={}),Object.keys(i).forEach(function(t){e&&l.hasOwnProperty(t)||(l[t]=z(i[t],l,n.errors))})}}},t.prototype._copyOptions=function(){var t={};if(this.options){var e=this.options.params;if(e){var n=t.params={};Object.keys(e).forEach(function(t){n[t]=e[t]})}}return t},t.prototype.createSubContext=function(e,n,r){void 0===e&&(e=null);var o=n||this.element,i=new t(this._driver,o,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(o,r||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(e),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,i.parentContext=this,this.subContextCount++,i},t.prototype.transformIntoNewTimeline=function(t){return this.previousNode=mo,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline},t.prototype.appendInstructionToTimeline=function(t,e,n){var r={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},o=new _o(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(o),r},t.prototype.incrementTime=function(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)},t.prototype.delayNextStep=function(t){t>0&&this.currentTimeline.delayNextStep(t)},t.prototype.invokeQuery=function(t,e,n,r,o,i){var l=[];if(r&&l.push(this.element),t.length>0){t=(t=t.replace(ho,"."+this._enterClassName)).replace(fo,"."+this._leaveClassName);var u=this._driver.query(this.element,t,1!=n);0!==n&&(u=n<0?u.slice(u.length+n,u.length):u.slice(0,n)),l.push.apply(l,u)}return o||0!=l.length||i.push('`query("'+e+'")` returned zero elements. (Use `query("'+e+'", { optional: true })` if you wish to allow this.)'),l},t}(),vo=function(){function t(t,e,n,r){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}return t.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}},t.prototype.getCurrentStyleProperties=function(){return Object.keys(this._currentKeyframe)},Object.defineProperty(t.prototype,"currentTime",{get:function(){return this.startTime+this.duration},enumerable:!0,configurable:!0}),t.prototype.delayNextStep=function(t){var e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t},t.prototype.fork=function(e,n){return this.applyStylesToKeyframe(),new t(this._driver,e,n||this.currentTime,this._elementTimelineStylesLookup)},t.prototype._loadKeyframe=function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))},t.prototype.forwardFrame=function(){this.duration+=1,this._loadKeyframe()},t.prototype.forwardTime=function(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()},t.prototype._updateStyle=function(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}},t.prototype.allowOnlyTimelineStyles=function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe},t.prototype.applyEmptyStep=function(t){var e=this;t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(function(t){e._backFill[t]=e._globalTimelineStyles[t]||Dr,e._currentKeyframe[t]=Dr}),this._currentEmptyStepKeyframe=this._currentKeyframe},t.prototype.setStyles=function(t,e,n,r){var o=this;e&&(this._previousKeyframe.easing=e);var i=r&&r.params||{},l=function(e,n){var r,o={};return t.forEach(function(t){"*"===t?(r=r||Object.keys(n)).forEach(function(t){o[t]=Dr}):B(t,!1,o)}),o}(0,this._globalTimelineStyles);Object.keys(l).forEach(function(t){var e=z(l[t],i,n);o._pendingStyles[t]=e,o._localTimelineStyles.hasOwnProperty(t)||(o._backFill[t]=o._globalTimelineStyles.hasOwnProperty(t)?o._globalTimelineStyles[t]:Dr),o._updateStyle(t,e)})},t.prototype.applyStylesToKeyframe=function(){var t=this,e=this._pendingStyles,n=Object.keys(e);0!=n.length&&(this._pendingStyles={},n.forEach(function(n){t._currentKeyframe[n]=e[n]}),Object.keys(this._localTimelineStyles).forEach(function(e){t._currentKeyframe.hasOwnProperty(e)||(t._currentKeyframe[e]=t._localTimelineStyles[e])}))},t.prototype.snapshotCurrentStyles=function(){var t=this;Object.keys(this._localTimelineStyles).forEach(function(e){var n=t._localTimelineStyles[e];t._pendingStyles[e]=n,t._updateStyle(e,n)})},t.prototype.getFinalKeyframe=function(){return this._keyframes.get(this.duration)},Object.defineProperty(t.prototype,"properties",{get:function(){var t=[];for(var e in this._currentKeyframe)t.push(e);return t},enumerable:!0,configurable:!0}),t.prototype.mergeTimelineCollectedStyles=function(t){var e=this;Object.keys(t._styleSummary).forEach(function(n){var r=e._styleSummary[n],o=t._styleSummary[n];(!r||o.time>r.time)&&e._updateStyle(n,o.value)})},t.prototype.buildKeyframes=function(){var t=this;this.applyStylesToKeyframe();var e=new Set,n=new Set,r=1===this._keyframes.size&&0===this.duration,o=[];this._keyframes.forEach(function(i,l){var u=B(i,!0);Object.keys(u).forEach(function(t){var r=u[t];r==Lr?e.add(t):r==Dr&&n.add(t)}),r||(u.offset=l/t.duration),o.push(u)});var i=e.size?G(e.values()):[],l=n.size?G(n.values()):[];if(r){var u=o[0],s=j(u);u.offset=0,s.offset=1,o=[u,s]}return J(this.element,o,i,l,this.duration,this.startTime,this.easing,!1)},t}(),_o=function(t){function e(e,n,r,o,i,l,u){void 0===u&&(u=!1);var s=t.call(this,e,n,l.delay)||this;return s.element=n,s.keyframes=r,s.preStyleProps=o,s.postStyleProps=i,s._stretchStartingKeyframe=u,s.timings={duration:l.duration,delay:l.delay,easing:l.easing},s}return Object(Be.b)(e,t),e.prototype.containsAnimation=function(){return this.keyframes.length>1},e.prototype.buildKeyframes=function(){var t=this.keyframes,e=this.timings,n=e.delay,r=e.duration,o=e.easing;if(this._stretchStartingKeyframe&&n){var i=[],l=r+n,u=n/l,s=B(t[0],!1);s.offset=0,i.push(s);var a=B(t[0],!1);a.offset=et(u),i.push(a);for(var c=t.length-1,p=1;p<=c;p++){var h=B(t[p],!1);h.offset=et((n+h.offset*r)/l),i.push(h)}r=l,n=0,o="",t=i}return J(this.element,t,this.preStyleProps,this.postStyleProps,r,n,o,!0)},e}(vo),bo=function(){},wo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Be.b)(e,t),e.prototype.normalizePropertyName=function(t,e){return q(t)},e.prototype.normalizeStyleValue=function(t,e,n,r){var o="",i=n.toString().trim();if(Co[e]&&0!==n&&"0"!==n)if("number"==typeof n)o="px";else{var l=n.match(/^[+-]?[\d\.]+([a-z]*)$/);l&&0==l[1].length&&r.push("Please provide a CSS unit value for "+t+":"+n)}return i+o},e}(bo),Co=function(t){var e={};return"width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",").forEach(function(t){return e[t]=!0}),e}(),Eo={},So=function(){function t(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}return t.prototype.match=function(t,e){return function(t,e,n){return t.some(function(t){return t(e,n)})}(this.ast.matchers,t,e)},t.prototype.buildStyles=function(t,e,n){var r=this._stateStyles["*"],o=this._stateStyles[t],i=r?r.buildStyles(e,n):{};return o?o.buildStyles(e,n):i},t.prototype.build=function(t,e,n,r,o,i,l,u,s){var a=[],c=this.ast.options&&this.ast.options.params||Eo,p=this.buildStyles(n,l&&l.params||Eo,a),h=u&&u.params||Eo,f=this.buildStyles(r,h,a),d=new Set,y=new Map,m=new Map,g="void"===r,v={params:Object(Be.a)({},c,h)},_=tt(t,e,this.ast.animation,o,i,p,f,v,s,a);if(a.length)return nt(e,this._triggerName,n,r,g,p,f,[],[],y,m,a);_.forEach(function(t){var n=t.element,r=V(y,n,{});t.preStyleProps.forEach(function(t){return r[t]=!0});var o=V(m,n,{});t.postStyleProps.forEach(function(t){return o[t]=!0}),n!==e&&d.add(n)});var b=G(d.values());return nt(e,this._triggerName,n,r,g,p,f,_,b,y,m)},t}(),Po=function(){function t(t,e){this.styles=t,this.defaultParams=e}return t.prototype.buildStyles=function(t,e){var n={},r=j(this.defaultParams);return Object.keys(t).forEach(function(e){var n=t[e];null!=n&&(r[e]=n)}),this.styles.styles.forEach(function(t){if("string"!=typeof t){var o=t;Object.keys(o).forEach(function(t){var i=o[t];i.length>1&&(i=z(i,r,e)),n[t]=i})}}),n},t}(),To=function(){function t(t,e){var n=this;this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(function(t){n.states[t.name]=new Po(t.style,t.options&&t.options.params||{})}),rt(this.states,"true","1"),rt(this.states,"false","0"),e.transitions.forEach(function(e){n.transitionFactories.push(new So(t,e,n.states))}),this.fallbackTransition=function(e,n){return new So(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(t,e){return!0}],options:null,queryCount:0,depCount:0},n)}(0,this.states)}return Object.defineProperty(t.prototype,"containsQueries",{get:function(){return this.ast.queryCount>0},enumerable:!0,configurable:!0}),t.prototype.matchTransition=function(t,e){return this.transitionFactories.find(function(n){return n.match(t,e)})||null},t.prototype.matchStyles=function(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)},t}(),ko=new po,Oo=function(){function t(t,e){this._driver=t,this._normalizer=e,this._animations={},this._playersById={},this.players=[]}return t.prototype.register=function(t,e){var n=[],r=Z(this._driver,e,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[t]=r},t.prototype._buildPlayer=function(t,e,n){var r=t.element,o=k(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(r,o,t.duration,t.delay,t.easing,[])},t.prototype.create=function(t,e,n){var r=this;void 0===n&&(n={});var o,i=[],l=this._animations[t],u=new Map;if(l?(o=tt(this._driver,e,l,"ng-enter","ng-leave",{},{},n,ko,i)).forEach(function(t){var e=V(u,t.element,{});t.postStyleProps.forEach(function(t){return e[t]=null})}):(i.push("The requested animation doesn't exist or has already been destroyed"),o=[]),i.length)throw new Error("Unable to create the animation due to the following errors: "+i.join("\n"));u.forEach(function(t,e){Object.keys(t).forEach(function(n){t[n]=r._driver.computeStyle(e,n,Dr)})});var s=T(o.map(function(t){var e=u.get(t.element);return r._buildPlayer(t,{},e)}));return this._playersById[t]=s,s.onDestroy(function(){return r.destroy(t)}),this.players.push(s),s},t.prototype.destroy=function(t){var e=this._getPlayer(t);e.destroy(),delete this._playersById[t];var n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)},t.prototype._getPlayer=function(t){var e=this._playersById[t];if(!e)throw new Error("Unable to find the timeline player referenced by "+t);return e},t.prototype.listen=function(t,e,n,r){var o=I(e,"","","");return O(this._getPlayer(t),n,o,r),function(){}},t.prototype.command=function(t,e,n,r){if("register"!=n)if("create"!=n){var o=this._getPlayer(t);switch(n){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}}else this.create(t,e,r[0]||{});else this.register(t,r[0])},t}(),xo="ng-animate-disabled",Io=".ng-animate-disabled",Vo=[],Ao={namespaceId:"",setForRemoval:null,hasAnimation:!1,removedBeforeQueried:!1},No={namespaceId:"",setForRemoval:null,hasAnimation:!1,removedBeforeQueried:!0},Fo="__ng_removed",Ro=function(){function t(t,e){void 0===e&&(e=""),this.namespaceId=e;var n=t&&t.hasOwnProperty("value");if(this.value=function(t){return null!=t?t:null}(n?t.value:t),n){var r=j(t);delete r.value,this.options=r}else this.options={};this.options.params||(this.options.params={})}return Object.defineProperty(t.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),t.prototype.absorbOptions=function(t){var e=t.params;if(e){var n=this.options.params;Object.keys(e).forEach(function(t){null==n[t]&&(n[t]=e[t])})}},t}(),Mo=new Ro("void"),Do=new Ro("DELETED"),jo=function(){function t(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,st(e,this._hostClassName)}return t.prototype.listen=function(t,e,n,r){var o=this;if(!this._triggers.hasOwnProperty(e))throw new Error('Unable to listen on the animation trigger event "'+n+'" because the animation trigger "'+e+"\" doesn't exist!");if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'+e+'" because the provided event is undefined!');if("start"!=n&&"done"!=n)throw new Error('The provided animation trigger event "'+n+'" for the animation trigger "'+e+'" is not supported!');var i=V(this._elementListeners,t,[]),l={name:e,phase:n,callback:r};i.push(l);var u=V(this._engine.statesByElement,t,{});return u.hasOwnProperty(e)||(st(t,to),st(t,to+"-"+e),u[e]=Mo),function(){o._engine.afterFlush(function(){var t=i.indexOf(l);t>=0&&i.splice(t,1),o._triggers[e]||delete u[e]})}},t.prototype.register=function(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)},t.prototype._getTrigger=function(t){var e=this._triggers[t];if(!e)throw new Error('The provided animation trigger "'+t+'" has not been registered!');return e},t.prototype.trigger=function(t,e,n,r){var o=this;void 0===r&&(r=!0);var i=this._getTrigger(e),l=new Lo(this.id,e,t),u=this._engine.statesByElement.get(t);u||(st(t,to),st(t,to+"-"+e),this._engine.statesByElement.set(t,u={}));var s=u[e],a=new Ro(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&s&&a.absorbOptions(s.options),u[e]=a,s){if(s===Do)return l}else s=Mo;if("void"===a.value||s.value!==a.value){var c=V(this._engine.playersByElement,t,[]);c.forEach(function(t){t.namespaceId==o.id&&t.triggerName==e&&t.queued&&t.destroy()});var p=i.matchTransition(s.value,a.value),h=!1;if(!p){if(!r)return;p=i.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:p,fromState:s,toState:a,player:l,isFallbackTransition:h}),h||(st(t,"ng-animate-queued"),l.onStart(function(){at(t,"ng-animate-queued")})),l.onDone(function(){var e=o.players.indexOf(l);e>=0&&o.players.splice(e,1);var n=o._engine.playersByElement.get(t);if(n){var r=n.indexOf(l);r>=0&&n.splice(r,1)}}),this.players.push(l),c.push(l),l}if(!function(t,e){var n=Object.keys(t),r=Object.keys(e);if(n.length!=r.length)return!1;for(var o=0;o<n.length;o++){var i=n[o];if(!e.hasOwnProperty(i)||t[i]!==e[i])return!1}return!0}(s.params,a.params)){var f=[],d=i.matchStyles(s.value,s.params,f),y=i.matchStyles(a.value,a.params,f);f.length?this._engine.reportError(f):this._engine.afterFlush(function(){U(t,d),L(t,y)})}},t.prototype.deregister=function(t){var e=this;delete this._triggers[t],this._engine.statesByElement.forEach(function(e,n){delete e[t]}),this._elementListeners.forEach(function(n,r){e._elementListeners.set(r,n.filter(function(e){return e.name!=t}))})},t.prototype.clearElementCache=function(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);var e=this._engine.playersByElement.get(t);e&&(e.forEach(function(t){return t.destroy()}),this._engine.playersByElement.delete(t))},t.prototype._signalRemovalForInnerTriggers=function(t,e,n){var r=this;void 0===n&&(n=!1),this._engine.driver.query(t,eo,!0).forEach(function(t){if(!t[Fo]){var n=r._engine.fetchNamespacesByElement(t);n.size?n.forEach(function(n){return n.triggerLeaveAnimation(t,e,!1,!0)}):r.clearElementCache(t)}})},t.prototype.triggerLeaveAnimation=function(t,e,n,r){var o=this,i=this._engine.statesByElement.get(t);if(i){var l=[];if(Object.keys(i).forEach(function(e){if(o._triggers[e]){var n=o.trigger(t,e,"void",r);n&&l.push(n)}}),l.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&T(l).onDone(function(){return o._engine.processLeaveNode(t)}),!0}return!1},t.prototype.prepareLeaveAnimationListeners=function(t){var e=this,n=this._elementListeners.get(t);if(n){var r=new Set;n.forEach(function(n){var o=n.name;if(!r.has(o)){r.add(o);var i=e._triggers[o].fallbackTransition,l=e._engine.statesByElement.get(t)[o]||Mo,u=new Ro("void"),s=new Lo(e.id,o,t);e._engine.totalQueuedPlayers++,e._queue.push({element:t,triggerName:o,transition:i,fromState:l,toState:u,player:s,isFallbackTransition:!0})}})}},t.prototype.removeNode=function(t,e){var n=this,r=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e,!0),!this.triggerLeaveAnimation(t,e,!0)){var o=!1;if(r.totalAnimations){var i=r.players.length?r.playersByQueriedElement.get(t):[];if(i&&i.length)o=!0;else for(var l=t;l=l.parentNode;)if(r.statesByElement.get(l)){o=!0;break}}this.prepareLeaveAnimationListeners(t),o?r.markElementAsRemoved(this.id,t,!1,e):(r.afterFlush(function(){return n.clearElementCache(t)}),r.destroyInnerAnimations(t),r._onRemovalComplete(t,e))}},t.prototype.insertNode=function(t,e){st(t,this._hostClassName)},t.prototype.drainQueuedTransitions=function(t){var e=this,n=[];return this._queue.forEach(function(r){var o=r.player;if(!o.destroyed){var i=r.element,l=e._elementListeners.get(i);l&&l.forEach(function(e){if(e.name==r.triggerName){var n=I(i,r.triggerName,r.fromState.value,r.toState.value);n._data=t,O(r.player,e.phase,n,e.callback)}}),o.markedForDestroy?e._engine.afterFlush(function(){o.destroy()}):n.push(r)}}),this._queue=[],n.sort(function(t,n){var r=t.transition.ast.depCount,o=n.transition.ast.depCount;return 0==r||0==o?r-o:e._engine.driver.containsElement(t.element,n.element)?1:-1})},t.prototype.destroy=function(t){this.players.forEach(function(t){return t.destroy()}),this._signalRemovalForInnerTriggers(this.hostElement,t)},t.prototype.elementContainsData=function(t){var e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(function(e){return e.element===t})||e},t}(),Bo=function(){function t(t,e){this.driver=t,this._normalizer=e,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=function(t,e){}}return t.prototype._onRemovalComplete=function(t,e){this.onRemovalComplete(t,e)},Object.defineProperty(t.prototype,"queuedPlayers",{get:function(){var t=[];return this._namespaceList.forEach(function(e){e.players.forEach(function(e){e.queued&&t.push(e)})}),t},enumerable:!0,configurable:!0}),t.prototype.createNamespace=function(t,e){var n=new jo(t,e,this);return e.parentNode?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n},t.prototype._balanceNamespaceList=function(t,e){var n=this._namespaceList.length-1;if(n>=0){for(var r=!1,o=n;o>=0;o--)if(this.driver.containsElement(this._namespaceList[o].hostElement,e)){this._namespaceList.splice(o+1,0,t),r=!0;break}r||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t},t.prototype.register=function(t,e){var n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n},t.prototype.registerTrigger=function(t,e,n){var r=this._namespaceLookup[t];r&&r.register(e,n)&&this.totalAnimations++},t.prototype.destroy=function(t,e){var n=this;if(t){var r=this._fetchNamespace(t);this.afterFlush(function(){n.namespacesByHostElement.delete(r.hostElement),delete n._namespaceLookup[t];var e=n._namespaceList.indexOf(r);e>=0&&n._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(function(){return r.destroy(e)})}},t.prototype._fetchNamespace=function(t){return this._namespaceLookup[t]},t.prototype.fetchNamespacesByElement=function(t){var e=new Set,n=this.statesByElement.get(t);if(n)for(var r=Object.keys(n),o=0;o<r.length;o++){var i=n[r[o]].namespaceId;if(i){var l=this._fetchNamespace(i);l&&e.add(l)}}return e},t.prototype.trigger=function(t,e,n,r){return!!ot(e)&&(this._fetchNamespace(t).trigger(e,n,r),!0)},t.prototype.insertNode=function(t,e,n,r){if(ot(e)){var o=e[Fo];o&&o.setForRemoval&&(o.setForRemoval=!1),t&&this._fetchNamespace(t).insertNode(e,n),r&&this.collectEnterElement(e)}},t.prototype.collectEnterElement=function(t){this.collectedEnterElements.push(t)},t.prototype.markElementAsDisabled=function(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),st(t,xo)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),at(t,xo))},t.prototype.removeNode=function(t,e,n){if(ot(e)){var r=t?this._fetchNamespace(t):null;r?r.removeNode(e,n):this.markElementAsRemoved(t,e,!1,n)}else this._onRemovalComplete(e,n)},t.prototype.markElementAsRemoved=function(t,e,n,r){this.collectedLeaveElements.push(e),e[Fo]={namespaceId:t,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}},t.prototype.listen=function(t,e,n,r,o){return ot(e)?this._fetchNamespace(t).listen(e,n,r,o):function(){}},t.prototype._buildInstruction=function(t,e,n,r){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,r,t.fromState.options,t.toState.options,e)},t.prototype.destroyInnerAnimations=function(t){var e=this,n=this.driver.query(t,eo,!0);n.forEach(function(t){return e.destroyActiveAnimationsForElement(t)}),0!=this.playersByQueriedElement.size&&(n=this.driver.query(t,no,!0)).forEach(function(t){return e.finishActiveQueriedAnimationOnElement(t)})},t.prototype.destroyActiveAnimationsForElement=function(t){var e=this.playersByElement.get(t);e&&e.forEach(function(t){t.queued?t.markedForDestroy=!0:t.destroy()});var n=this.statesByElement.get(t);n&&Object.keys(n).forEach(function(t){return n[t]=Do})},t.prototype.finishActiveQueriedAnimationOnElement=function(t){var e=this.playersByQueriedElement.get(t);e&&e.forEach(function(t){return t.finish()})},t.prototype.whenRenderingDone=function(){var t=this;return new Promise(function(e){if(t.players.length)return T(t.players).onDone(function(){return e()});e()})},t.prototype.processLeaveNode=function(t){var e=this,n=t[Fo];if(n&&n.setForRemoval){if(t[Fo]=Ao,n.namespaceId){this.destroyInnerAnimations(t);var r=this._fetchNamespace(n.namespaceId);r&&r.clearElementCache(t)}this._onRemovalComplete(t,n.setForRemoval)}this.driver.matchesElement(t,Io)&&this.markElementAsDisabled(t,!1),this.driver.query(t,Io,!0).forEach(function(n){e.markElementAsDisabled(t,!1)})},t.prototype.flush=function(t){var e=this;void 0===t&&(t=-1);var n=[];if(this.newHostElements.size&&(this.newHostElements.forEach(function(t,n){return e._balanceNamespaceList(t,n)}),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var r=0;r<this.collectedEnterElements.length;r++)st(this.collectedEnterElements[r],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){var o=[];try{n=this._flushAnimations(o,t)}finally{for(r=0;r<o.length;r++)o[r]()}}else for(r=0;r<this.collectedLeaveElements.length;r++)this.processLeaveNode(this.collectedLeaveElements[r]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(function(t){return t()}),this._flushFns=[],this._whenQuietFns.length){var i=this._whenQuietFns;this._whenQuietFns=[],n.length?T(n).onDone(function(){i.forEach(function(t){return t()})}):i.forEach(function(t){return t()})}},t.prototype.reportError=function(t){throw new Error("Unable to process animations due to the following failed trigger transitions\n "+t.join("\n"))},t.prototype._flushAnimations=function(t,e){var n=this,r=new po,o=[],i=new Map,l=[],u=new Map,s=new Map,a=new Map,c=new Set;this.disabledNodes.forEach(function(t){c.add(t);for(var e=n.driver.query(t,".ng-animate-queued",!0),r=0;r<e.length;r++)c.add(e[r])});var p=F(),h=Array.from(this.statesByElement.keys()),f=ut(h,this.collectedEnterElements),d=new Map,y=0;f.forEach(function(t,e){var n="ng-enter"+y++;d.set(e,n),t.forEach(function(t){return st(t,n)})});for(var m=[],g=new Set,v=new Set,_=0;_<this.collectedLeaveElements.length;_++)(B=(j=this.collectedLeaveElements[_])[Fo])&&B.setForRemoval&&(m.push(j),g.add(j),B.hasAnimation?this.driver.query(j,".ng-star-inserted",!0).forEach(function(t){return g.add(t)}):v.add(j));var b=new Map,w=ut(h,Array.from(g));w.forEach(function(t,e){var n="ng-leave"+y++;b.set(e,n),t.forEach(function(t){return st(t,n)})}),t.push(function(){f.forEach(function(t,e){var n=d.get(e);t.forEach(function(t){return at(t,n)})}),w.forEach(function(t,e){var n=b.get(e);t.forEach(function(t){return at(t,n)})}),m.forEach(function(t){n.processLeaveNode(t)})});for(var C=[],E=[],S=this._namespaceList.length-1;S>=0;S--)this._namespaceList[S].drainQueuedTransitions(e).forEach(function(t){var e=t.player;C.push(e);var i=t.element;if(p&&n.driver.containsElement(p,i)){var c=b.get(i),h=d.get(i),f=n._buildInstruction(t,r,h,c);if(f.errors&&f.errors.length)E.push(f);else{if(t.isFallbackTransition)return e.onStart(function(){return U(i,f.fromStyles)}),e.onDestroy(function(){return L(i,f.toStyles)}),void o.push(e);f.timelines.forEach(function(t){return t.stretchStartingKeyframe=!0}),r.append(i,f.timelines),l.push({instruction:f,player:e,element:i}),f.queriedElements.forEach(function(t){return V(u,t,[]).push(e)}),f.preStyleProps.forEach(function(t,e){var n=Object.keys(t);if(n.length){var r=s.get(e);r||s.set(e,r=new Set),n.forEach(function(t){return r.add(t)})}}),f.postStyleProps.forEach(function(t,e){var n=Object.keys(t),r=a.get(e);r||a.set(e,r=new Set),n.forEach(function(t){return r.add(t)})})}}else e.destroy()});if(E.length){var P=[];E.forEach(function(t){P.push("@"+t.triggerName+" has failed due to:\n"),t.errors.forEach(function(t){return P.push("- "+t+"\n")})}),C.forEach(function(t){return t.destroy()}),this.reportError(P)}var k=new Map,O=new Map;l.forEach(function(t){var e=t.element;r.has(e)&&(O.set(e,e),n._beforeAnimationBuild(t.player.namespaceId,t.instruction,k))}),o.forEach(function(t){var e=t.element;n._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(function(t){V(k,e,[]).push(t),t.destroy()})});var x=m.filter(function(t){return pt(t,s,a)}),I=new Map;lt(I,this.driver,v,a,Dr).forEach(function(t){pt(t,s,a)&&x.push(t)});var A=new Map;f.forEach(function(t,e){lt(A,n.driver,new Set(t),s,Lr)}),x.forEach(function(t){var e=I.get(t),n=A.get(t);I.set(t,Object(Be.a)({},e,n))});var N=[],R=[],M={};l.forEach(function(t){var e=t.element,l=t.player,u=t.instruction;if(r.has(e)){if(c.has(e))return l.onDestroy(function(){return L(e,u.toStyles)}),void o.push(l);var s=M;if(O.size>1){for(var a=e,p=[];a=a.parentNode;){var h=O.get(a);if(h){s=h;break}p.push(a)}p.forEach(function(t){return O.set(t,s)})}var f=n._buildAnimation(l.namespaceId,u,k,i,A,I);if(l.setRealPlayer(f),s===M)N.push(l);else{var d=n.playersByElement.get(s);d&&d.length&&(l.parentPlayer=T(d)),o.push(l)}}else U(e,u.fromStyles),l.onDestroy(function(){return L(e,u.toStyles)}),R.push(l),c.has(e)&&o.push(l)}),R.forEach(function(t){var e=i.get(t.element);if(e&&e.length){var n=T(e);t.setRealPlayer(n)}}),o.forEach(function(t){t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(var D=0;D<m.length;D++){var j,B=(j=m[D])[Fo];if(at(j,"ng-leave"),!B||!B.hasAnimation){var H=[];if(u.size){var Q=u.get(j);Q&&Q.length&&H.push.apply(H,Q);for(var z=this.driver.query(j,no,!0),G=0;G<z.length;G++){var q=u.get(z[G]);q&&q.length&&H.push.apply(H,q)}}var K=H.filter(function(t){return!t.destroyed});K.length?function(t,e,n){T(K).onDone(function(){return t.processLeaveNode(e)})}(this,j):this.processLeaveNode(j)}}return m.length=0,N.forEach(function(t){n.players.push(t),t.onDone(function(){t.destroy();var e=n.players.indexOf(t);n.players.splice(e,1)}),t.play()}),N},t.prototype.elementContainsData=function(t,e){var n=!1,r=e[Fo];return r&&r.setForRemoval&&(n=!0),this.playersByElement.has(e)&&(n=!0),this.playersByQueriedElement.has(e)&&(n=!0),this.statesByElement.has(e)&&(n=!0),this._fetchNamespace(t).elementContainsData(e)||n},t.prototype.afterFlush=function(t){this._flushFns.push(t)},t.prototype.afterFlushAnimationsDone=function(t){this._whenQuietFns.push(t)},t.prototype._getPreviousPlayers=function(t,e,n,r,o){var i=[];if(e){var l=this.playersByQueriedElement.get(t);l&&(i=l)}else{var u=this.playersByElement.get(t);if(u){var s=!o||"void"==o;u.forEach(function(t){t.queued||(s||t.triggerName==r)&&i.push(t)})}}return(n||r)&&(i=i.filter(function(t){return!(n&&n!=t.namespaceId||r&&r!=t.triggerName)})),i},t.prototype._beforeAnimationBuild=function(t,e,n){for(var r=e.element,o=e.isRemovalTransition?void 0:t,i=e.isRemovalTransition?void 0:e.triggerName,l=function(t){var l=t.element,s=l!==r,a=V(n,l,[]);u._getPreviousPlayers(l,s,o,i,e.toState).forEach(function(t){var e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),a.push(t)})},u=this,s=0,a=e.timelines;s<a.length;s++)l(a[s]);U(r,e.fromStyles)},t.prototype._buildAnimation=function(t,e,n,r,o,i){var l=this,u=e.triggerName,s=e.element,a=[],c=new Set,p=new Set,h=e.timelines.map(function(e){var h=e.element;c.add(h);var f=h[Fo];if(f&&f.removedBeforeQueried)return new jr;var d=h!==s,y=function(t){var e=[];return ct((n.get(h)||Vo).map(function(t){return t.getRealPlayer()}),e),e}().filter(function(t){return!!t.element&&t.element===h}),m=o.get(h),g=i.get(h),v=k(0,l._normalizer,0,e.keyframes,m,g),_=l._buildPlayer(e,v,y);if(e.subTimeline&&r&&p.add(h),d){var b=new Lo(t,u,h);b.setRealPlayer(_),a.push(b)}return _});a.forEach(function(t){V(l.playersByQueriedElement,t.element,[]).push(t),t.onDone(function(){return function(t,e,n){var r;if(t instanceof Map){if(r=t.get(e)){if(r.length){var o=r.indexOf(n);r.splice(o,1)}0==r.length&&t.delete(e)}}else(r=t[e])&&(r.length&&(o=r.indexOf(n),r.splice(o,1)),0==r.length&&delete t[e]);return r}(l.playersByQueriedElement,t.element,t)})}),c.forEach(function(t){return st(t,"ng-animating")});var f=T(h);return f.onDestroy(function(){c.forEach(function(t){return at(t,"ng-animating")}),L(s,e.toStyles)}),p.forEach(function(t){V(r,t,[]).push(f)}),f},t.prototype._buildPlayer=function(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new jr},t}(),Lo=function(){function t(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new jr,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1}return Object.defineProperty(t.prototype,"queued",{get:function(){return 0==this._containsRealPlayer},enumerable:!0,configurable:!0}),t.prototype.setRealPlayer=function(t){var e=this;this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(function(n){e._queuedCallbacks[n].forEach(function(e){return O(t,n,void 0,e)})}),this._queuedCallbacks={},this._containsRealPlayer=!0)},t.prototype.getRealPlayer=function(){return this._player},t.prototype.syncPlayerEvents=function(t){var e=this,n=this._player;n.triggerCallback&&t.onStart(function(){return n.triggerCallback("start")}),t.onDone(function(){return e.finish()}),t.onDestroy(function(){return e.destroy()})},t.prototype._queueEvent=function(t,e){V(this._queuedCallbacks,t,[]).push(e)},t.prototype.onDone=function(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)},t.prototype.onStart=function(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)},t.prototype.onDestroy=function(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)},t.prototype.init=function(){this._player.init()},t.prototype.hasStarted=function(){return!this.queued&&this._player.hasStarted()},t.prototype.play=function(){!this.queued&&this._player.play()},t.prototype.pause=function(){!this.queued&&this._player.pause()},t.prototype.restart=function(){!this.queued&&this._player.restart()},t.prototype.finish=function(){this._player.finish()},t.prototype.destroy=function(){this.destroyed=!0,this._player.destroy()},t.prototype.reset=function(){!this.queued&&this._player.reset()},t.prototype.setPosition=function(t){this.queued||this._player.setPosition(t)},t.prototype.getPosition=function(){return this.queued?0:this._player.getPosition()},Object.defineProperty(t.prototype,"totalTime",{get:function(){return this._player.totalTime},enumerable:!0,configurable:!0}),t.prototype.triggerCallback=function(t){var e=this._player;e.triggerCallback&&e.triggerCallback(t)},t}(),Uo="$$classes",Ho=function(){function t(t,e){var n=this;this._driver=t,this._triggerCache={},this.onRemovalComplete=function(t,e){},this._transitionEngine=new Bo(t,e),this._timelineEngine=new Oo(t,e),this._transitionEngine.onRemovalComplete=function(t,e){return n.onRemovalComplete(t,e)}}return t.prototype.registerTrigger=function(t,e,n,r,o){var i=t+"-"+r,l=this._triggerCache[i];if(!l){var u=[],s=Z(this._driver,o,u);if(u.length)throw new Error('The animation trigger "'+r+'" has failed to build due to the following errors:\n - '+u.join("\n - "));l=new To(r,s),this._triggerCache[i]=l}this._transitionEngine.registerTrigger(e,r,l)},t.prototype.register=function(t,e){this._transitionEngine.register(t,e)},t.prototype.destroy=function(t,e){this._transitionEngine.destroy(t,e)},t.prototype.onInsert=function(t,e,n,r){this._transitionEngine.insertNode(t,e,n,r)},t.prototype.onRemove=function(t,e,n){this._transitionEngine.removeNode(t,e,n)},t.prototype.disableAnimations=function(t,e){this._transitionEngine.markElementAsDisabled(t,e)},t.prototype.process=function(t,e,n,r){if("@"==n.charAt(0)){var o=A(n);this._timelineEngine.command(o[0],e,o[1],r)}else this._transitionEngine.trigger(t,e,n,r)},t.prototype.listen=function(t,e,n,r,o){if("@"==n.charAt(0)){var i=A(n);return this._timelineEngine.listen(i[0],e,i[1],o)}return this._transitionEngine.listen(t,e,n,r,o)},t.prototype.flush=function(t){void 0===t&&(t=-1),this._transitionEngine.flush(t)},Object.defineProperty(t.prototype,"players",{get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)},enumerable:!0,configurable:!0}),t.prototype.whenRenderingDone=function(){return this._transitionEngine.whenRenderingDone()},t}(),Qo=function(){function t(t,e,n,r){void 0===r&&(r=[]);var o=this;this.element=t,this.keyframes=e,this.options=n,this.previousPlayers=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.previousStyles={},this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay,function(t,e){return 0===t||0===e}(this._duration,this._delay)&&r.forEach(function(t){var e=t.currentSnapshot;Object.keys(e).forEach(function(t){return o.previousStyles[t]=e[t]})})}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},t.prototype.init=function(){this._buildPlayer(),this._preparePlayerBeforeStart()},t.prototype._buildPlayer=function(){var t=this;if(!this._initialized){this._initialized=!0;var e=this.keyframes.map(function(t){return B(t,!1)}),n=Object.keys(this.previousStyles);if(n.length&&e.length){var r=e[0],o=[];if(n.forEach(function(e){r.hasOwnProperty(e)||o.push(e),r[e]=t.previousStyles[e]}),o.length)for(var i=this,l=function(){var t=e[u];o.forEach(function(e){t[e]=ht(i.element,e)})},u=1;u<e.length;u++)l()}this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",function(){return t._onFinish()})}},t.prototype._preparePlayerBeforeStart=function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()},t.prototype._triggerWebAnimation=function(t,e,n){return t.animate(e,n)},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.play=function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[],this._started=!0),this.domPlayer.play()},t.prototype.pause=function(){this.init(),this.domPlayer.pause()},t.prototype.finish=function(){this.init(),this._onFinish(),this.domPlayer.finish()},t.prototype.reset=function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1},t.prototype._resetDomPlayerState=function(){this.domPlayer&&this.domPlayer.cancel()},t.prototype.restart=function(){this.reset(),this.play()},t.prototype.hasStarted=function(){return this._started},t.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])},t.prototype.setPosition=function(t){this.domPlayer.currentTime=t*this.time},t.prototype.getPosition=function(){return this.domPlayer.currentTime/this.time},Object.defineProperty(t.prototype,"totalTime",{get:function(){return this._delay+this._duration},enumerable:!0,configurable:!0}),t.prototype.beforeDestroy=function(){var t=this,e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(function(n){"offset"!=n&&(e[n]=t._finished?t._finalKeyframe[n]:ht(t.element,n))}),this.currentSnapshot=e},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0},t}(),zo=function(){function t(){}return t.prototype.validateStyleProperty=function(t){return N(t)},t.prototype.matchesElement=function(t,e){return Wr(t,e)},t.prototype.containsElement=function(t,e){return Zr(t,e)},t.prototype.query=function(t,e,n){return $r(t,e,n)},t.prototype.computeStyle=function(t,e,n){return window.getComputedStyle(t)[e]},t.prototype.animate=function(t,e,n,r,o,i){void 0===i&&(i=[]);var l={duration:n,delay:r,fill:0==r?"both":"forwards"};o&&(l.easing=o);var u=i.filter(function(t){return t instanceof Qo});return new Qo(t,e,l,u)},t}(),Go=function(t){function e(e,n){var r=t.call(this)||this;return r._nextAnimationId=0,r._renderer=e.createRenderer(n.body,{id:"0",encapsulation:je.F.None,styles:[],data:{animation:[]}}),r}return Object(Be.b)(e,t),e.prototype.build=function(t){var e=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(t)?E(t):t;return ft(this._renderer,null,e,"register",[n]),new qo(e,this._renderer)},e}(Mr),qo=function(t){function e(e,n){var r=t.call(this)||this;return r._id=e,r._renderer=n,r}return Object(Be.b)(e,t),e.prototype.create=function(t,e){return new Ko(this._id,t,e||{},this._renderer)},e}(function(){}),Ko=function(){function t(t,e,n,r){this.id=t,this.element=e,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}return t.prototype._listen=function(t,e){return this._renderer.listen(this.element,"@@"+this.id+":"+t,e)},t.prototype._command=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return ft(this._renderer,this.element,this.id,t,e)},t.prototype.onDone=function(t){this._listen("done",t)},t.prototype.onStart=function(t){this._listen("start",t)},t.prototype.onDestroy=function(t){this._listen("destroy",t)},t.prototype.init=function(){this._command("init")},t.prototype.hasStarted=function(){return this._started},t.prototype.play=function(){this._command("play"),this._started=!0},t.prototype.pause=function(){this._command("pause")},t.prototype.restart=function(){this._command("restart")},t.prototype.finish=function(){this._command("finish")},t.prototype.destroy=function(){this._command("destroy")},t.prototype.reset=function(){this._command("reset")},t.prototype.setPosition=function(t){this._command("setPosition",t)},t.prototype.getPosition=function(){return 0},t}(),Wo=function(){function t(t,e,n){this.delegate=t,this.engine=e,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,e.onRemovalComplete=function(t,e){e&&e.parentNode(t)&&e.removeChild(t.parentNode,t)}}return t.prototype.createRenderer=function(t,e){var n=this,r=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){var o=this._rendererCache.get(r);return o||(o=new Zo("",r,this.engine),this._rendererCache.set(r,o)),o}var i=e.id,l=e.id+"-"+this._currentId;return this._currentId++,this.engine.register(l,t),e.data.animation.forEach(function(e){return n.engine.registerTrigger(i,l,t,e.name,e)}),new $o(this,l,r,this.engine)},t.prototype.begin=function(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()},t.prototype._scheduleCountTask=function(){var t=this;Zone.current.scheduleMicroTask("incremenet the animation microtask",function(){return t._microtaskId++})},t.prototype.scheduleListenerCallback=function(t,e,n){var r=this;t>=0&&t<this._microtaskId?this._zone.run(function(){return e(n)}):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(function(){r._zone.run(function(){r._animationCallbacksBuffer.forEach(function(t){(0,t[0])(t[1])}),r._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([e,n]))},t.prototype.end=function(){var t=this;this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(function(){t._scheduleCountTask(),t.engine.flush(t._microtaskId)}),this.delegate.end&&this.delegate.end()},t.prototype.whenRenderingDone=function(){return this.engine.whenRenderingDone()},t}(),Zo=function(){function t(t,e,n){this.namespaceId=t,this.delegate=e,this.engine=n,this.destroyNode=this.delegate.destroyNode?function(t){return e.destroyNode(t)}:null}return Object.defineProperty(t.prototype,"data",{get:function(){return this.delegate.data},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()},t.prototype.createElement=function(t,e){return this.delegate.createElement(t,e)},t.prototype.createComment=function(t){return this.delegate.createComment(t)},t.prototype.createText=function(t){return this.delegate.createText(t)},t.prototype.appendChild=function(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)},t.prototype.insertBefore=function(t,e,n){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,!0)},t.prototype.removeChild=function(t,e){this.engine.onRemove(this.namespaceId,e,this.delegate)},t.prototype.selectRootElement=function(t){return this.delegate.selectRootElement(t)},t.prototype.parentNode=function(t){return this.delegate.parentNode(t)},t.prototype.nextSibling=function(t){return this.delegate.nextSibling(t)},t.prototype.setAttribute=function(t,e,n,r){this.delegate.setAttribute(t,e,n,r)},t.prototype.removeAttribute=function(t,e,n){this.delegate.removeAttribute(t,e,n)},t.prototype.addClass=function(t,e){this.delegate.addClass(t,e)},t.prototype.removeClass=function(t,e){this.delegate.removeClass(t,e)},t.prototype.setStyle=function(t,e,n,r){this.delegate.setStyle(t,e,n,r)},t.prototype.removeStyle=function(t,e,n){this.delegate.removeStyle(t,e,n)},t.prototype.setProperty=function(t,e,n){"@"==e.charAt(0)&&"@.disabled"==e?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)},t.prototype.setValue=function(t,e){this.delegate.setValue(t,e)},t.prototype.listen=function(t,e,n){return this.delegate.listen(t,e,n)},t.prototype.disableAnimations=function(t,e){this.engine.disableAnimations(t,e)},t}(),$o=function(t){function e(e,n,r,o){var i=t.call(this,n,r,o)||this;return i.factory=e,i.namespaceId=n,i}return Object(Be.b)(e,t),e.prototype.setProperty=function(t,e,n){"@"==e.charAt(0)?"."==e.charAt(1)&&"@.disabled"==e?this.disableAnimations(t,n=void 0===n||!!n):this.engine.process(this.namespaceId,t,e.substr(1),n):this.delegate.setProperty(t,e,n)},e.prototype.listen=function(t,e,n){var r=this;if("@"==e.charAt(0)){var o=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t),i=e.substr(1),l="";return"@"!=i.charAt(0)&&(i=(u=function(t){var e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(i))[0],l=u[1]),this.engine.listen(this.namespaceId,o,i,l,function(t){r.factory.scheduleListenerCallback(t._data||-1,n,t)})}return this.delegate.listen(t,e,n);var u},e}(Zo),Xo=function(t){function e(e,n){return t.call(this,e,n)||this}return Object(Be.b)(e,t),e}(Ho),Yo=function(){},Jo=n("AP4T"),ti=n("Ecq+"),ei=n("1j/l"),ni=n("qgI0"),ri=n("lI6h"),oi=function(t){function e(e,n){t.call(this),this.sources=e,this.resultSelector=n}return Object(Be.b)(e,t),e.create=function(){for(var t=[],n=0;n<arguments.length;n++)t[n-0]=arguments[n];if(null===t||0===arguments.length)return new ti.a;var r=null;return"function"==typeof t[t.length-1]&&(r=t.pop()),1===t.length&&Object(ei.a)(t[0])&&(t=t[0]),0===t.length?new ti.a:new e(t,r)},e.prototype._subscribe=function(t){return new ii(t,this.sources,this.resultSelector)},e}(Jo.a),ii=function(t){function e(e,n,r){t.call(this,e),this.sources=n,this.resultSelector=r,this.completed=0,this.haveValues=0;var o=n.length;this.total=o,this.values=new Array(o);for(var i=0;i<o;i++){var l=n[i],u=Object(ni.a)(this,l,null,i);u&&(u.outerIndex=i,this.add(u))}}return Object(Be.b)(e,t),e.prototype.notifyNext=function(t,e,n,r,o){this.values[n]=e,o._hasValue||(o._hasValue=!0,this.haveValues++)},e.prototype.notifyComplete=function(t){var e=this.destination,n=this.haveValues,r=this.resultSelector,o=this.values,i=o.length;if(t._hasValue){if(this.completed++,this.completed===i){if(n===i){var l=r?r.apply(this,o):o;e.next(l)}e.complete()}}else e.complete()},e}(ri.a),li=oi.create,ui=n("xIGM"),si=function(t){function e(e,n){t.call(this),this.promise=e,this.scheduler=n}return Object(Be.b)(e,t),e.create=function(t,n){return new e(t,n)},e.prototype._subscribe=function(t){var e=this,n=this.promise,r=this.scheduler;if(null==r)this._isScalar?t.closed||(t.next(this.value),t.complete()):n.then(function(n){e.value=n,e._isScalar=!0,t.closed||(t.next(n),t.complete())},function(e){t.closed||t.error(e)}).then(null,function(t){ui.a.setTimeout(function(){throw t})});else if(this._isScalar){if(!t.closed)return r.schedule(gt,0,{value:this.value,subscriber:t})}else n.then(function(n){e.value=n,e._isScalar=!0,t.closed||t.add(r.schedule(gt,0,{value:n,subscriber:t}))},function(e){t.closed||t.add(r.schedule(vt,0,{err:e,subscriber:t}))}).then(null,function(t){ui.a.setTimeout(function(){throw t})})},e}(Jo.a).create,ai=n("E9/g"),ci=function(){function t(t,e){this.project=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new pi(t,this.project,this.thisArg))},t}(),pi=function(t){function e(e,n,r){t.call(this,e),this.project=n,this.count=0,this.thisArg=r||this}return Object(Be.b)(e,t),e.prototype._next=function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(ai.a),hi=function(){function t(){}return Object.defineProperty(t.prototype,"value",{get:function(){return this.control?this.control.value:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return this.control?this.control.valid:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return this.control?this.control.invalid:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pending",{get:function(){return this.control?this.control.pending:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this.control?this.control.disabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return this.control?this.control.enabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"errors",{get:function(){return this.control?this.control.errors:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pristine",{get:function(){return this.control?this.control.pristine:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dirty",{get:function(){return this.control?this.control.dirty:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"touched",{get:function(){return this.control?this.control.touched:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"status",{get:function(){return this.control?this.control.status:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"untouched",{get:function(){return this.control?this.control.untouched:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"statusChanges",{get:function(){return this.control?this.control.statusChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valueChanges",{get:function(){return this.control?this.control.valueChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),t.prototype.reset=function(t){void 0===t&&(t=void 0),this.control&&this.control.reset(t)},t.prototype.hasError=function(t,e){return!!this.control&&this.control.hasError(t,e)},t.prototype.getError=function(t,e){return this.control?this.control.getError(t,e):null},t}(),fi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Be.b)(e,t),Object.defineProperty(e.prototype,"formDirective",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),e}(hi),di=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,yi=function(){function t(){}return t.min=function(t){return function(e){if(_t(e.value)||_t(t))return null;var n=parseFloat(e.value);return!isNaN(n)&&n<t?{min:{min:t,actual:e.value}}:null}},t.max=function(t){return function(e){if(_t(e.value)||_t(t))return null;var n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}},t.required=function(t){return _t(t.value)?{required:!0}:null},t.requiredTrue=function(t){return!0===t.value?null:{required:!0}},t.email=function(t){return di.test(t.value)?null:{email:!0}},t.minLength=function(t){return function(e){if(_t(e.value))return null;var n=e.value?e.value.length:0;return n<t?{minlength:{requiredLength:t,actualLength:n}}:null}},t.maxLength=function(t){return function(e){var n=e.value?e.value.length:0;return n>t?{maxlength:{requiredLength:t,actualLength:n}}:null}},t.pattern=function(e){if(!e)return t.nullValidator;var n,r;return"string"==typeof e?(r="^"+e+"$",n=new RegExp(r)):(r=e.toString(),n=e),function(t){if(_t(t.value))return null;var e=t.value;return n.test(e)?null:{pattern:{requiredPattern:r,actualValue:e}}}},t.nullValidator=function(t){return null},t.compose=function(t){if(!t)return null;var e=t.filter(bt);return 0==e.length?null:function(t){return Ct(function(t,n){return e.map(function(e){return e(t)})}(t))}},t.composeAsync=function(t){if(!t)return null;var e=t.filter(bt);return 0==e.length?null:function(t){var n=function(t,n){return e.map(function(e){return e(t)})}(t).map(wt);return function(t,e){return function(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new ci(t,e))}}(t,e)(this)}.call(li(n),Ct)}},t}(),mi=new je.l("NgValueAccessor"),gi=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"checked",t)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}(),vi=new je.l("CompositionEventMode"),_i=function(){function t(t,e,n){this._renderer=t,this._elementRef=e,this._compositionMode=n,this.onChange=function(t){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){var t=a()?a().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._handleInput=function(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)},t.prototype._compositionStart=function(){this._composing=!0},t.prototype._compositionEnd=function(t){this._composing=!1,this._compositionMode&&this.onChange(t)},t}(),bi=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)},t.prototype.registerOnChange=function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}(),wi=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._parent=null,e.name=null,e.valueAccessor=null,e._rawValidators=[],e._rawAsyncValidators=[],e}return Object(Be.b)(e,t),Object.defineProperty(e.prototype,"validator",{get:function(){return Pt()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return Pt()},enumerable:!0,configurable:!0}),e}(hi),Ci=function(){function t(){this._accessors=[]}return t.prototype.add=function(t,e){this._accessors.push([t,e])},t.prototype.remove=function(t){for(var e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)},t.prototype.select=function(t){var e=this;this._accessors.forEach(function(n){e._isSameGroup(n,t)&&n[1]!==t&&n[1].fireUncheck(t.value)})},t.prototype._isSameGroup=function(t,e){return!!t[0].control&&t[0]._parent===e._control._parent&&t[1].name===e.name},t}(),Ei=function(){function t(t,e,n,r){this._renderer=t,this._elementRef=e,this._registry=n,this._injector=r,this.onChange=function(){},this.onTouched=function(){}}return t.prototype.ngOnInit=function(){this._control=this._injector.get(wi),this._checkName(),this._registry.add(this._control,this)},t.prototype.ngOnDestroy=function(){this._registry.remove(this)},t.prototype.writeValue=function(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)},t.prototype.registerOnChange=function(t){var e=this;this._fn=t,this.onChange=function(){t(e.value),e._registry.select(e)}},t.prototype.fireUncheck=function(t){this.writeValue(t)},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._checkName=function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)},t.prototype._throwNameError=function(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: <input type="radio" formControlName="food" name="food">\n ')},t}(),Si=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))},t.prototype.registerOnChange=function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}(),Pi=function(){function t(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=je._4}return Object.defineProperty(t.prototype,"compareWith",{set:function(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){this.value=t;var e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=Tt(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){e.value=e._getOptionValue(n),t(e.value)}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._registerOption=function(){return(this._idCounter++).toString()},t.prototype._getOptionId=function(t){for(var e=0,n=Array.from(this._optionMap.keys());e<n.length;e++){var r=n[e];if(this._compareWith(this._optionMap.get(r),t))return r}return null},t.prototype._getOptionValue=function(t){var e=t.split(":")[0];return this._optionMap.has(e)?this._optionMap.get(e):t},t}(),Ti=function(){function t(t,e,n){this._element=t,this._renderer=e,this._select=n,this._select&&(this.id=this._select._registerOption())}return Object.defineProperty(t.prototype,"ngValue",{set:function(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(Tt(this.id,t)),this._select.writeValue(this._select.value))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{set:function(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)},enumerable:!0,configurable:!0}),t.prototype._setElementValue=function(t){this._renderer.setProperty(this._element.nativeElement,"value",t)},t.prototype.ngOnDestroy=function(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))},t}(),ki=function(){function t(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=je._4}return Object.defineProperty(t.prototype,"compareWith",{set:function(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){var e=this;this.value=t;var n;if(Array.isArray(t)){var r=t.map(function(t){return e._getOptionId(t)});n=function(t,e){t._setSelected(r.indexOf(e.toString())>-1)}}else n=function(t,e){t._setSelected(!1)};this._optionMap.forEach(n)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){var r=[];if(n.hasOwnProperty("selectedOptions"))for(var o=n.selectedOptions,i=0;i<o.length;i++){var l=o.item(i),u=e._getOptionValue(l.value);r.push(u)}else for(o=n.options,i=0;i<o.length;i++)(l=o.item(i)).selected&&(u=e._getOptionValue(l.value),r.push(u));e.value=r,t(r)}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._registerOption=function(t){var e=(this._idCounter++).toString();return this._optionMap.set(e,t),e},t.prototype._getOptionId=function(t){for(var e=0,n=Array.from(this._optionMap.keys());e<n.length;e++){var r=n[e];if(this._compareWith(this._optionMap.get(r)._value,t))return r}return null},t.prototype._getOptionValue=function(t){var e=t.split(":")[0];return this._optionMap.has(e)?this._optionMap.get(e)._value:t},t}(),Oi=function(){function t(t,e,n){this._element=t,this._renderer=e,this._select=n,this._select&&(this.id=this._select._registerOption(this))}return Object.defineProperty(t.prototype,"ngValue",{set:function(t){null!=this._select&&(this._value=t,this._setElementValue(kt(this.id,t)),this._select.writeValue(this._select.value))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{set:function(t){this._select?(this._value=t,this._setElementValue(kt(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)},enumerable:!0,configurable:!0}),t.prototype._setElementValue=function(t){this._renderer.setProperty(this._element.nativeElement,"value",t)},t.prototype._setSelected=function(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)},t.prototype.ngOnDestroy=function(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))},t}(),xi=[gi,Si,bi,Pi,ki,Ei],Ii=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(Be.b)(e,t),e.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormGroup(this)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormGroup(this)},Object.defineProperty(e.prototype,"control",{get:function(){return this.formDirective.getFormGroup(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return Ot(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return At(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return Nt(this._asyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){},e}(fi),Vi=function(t){function e(e){return t.call(this,e)||this}return Object(Be.b)(e,t),e}(function(){function t(t){this._cd=t}return Object.defineProperty(t.prototype,"ngClassUntouched",{get:function(){return!!this._cd.control&&this._cd.control.untouched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassTouched",{get:function(){return!!this._cd.control&&this._cd.control.touched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassPristine",{get:function(){return!!this._cd.control&&this._cd.control.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassDirty",{get:function(){return!!this._cd.control&&this._cd.control.dirty},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassValid",{get:function(){return!!this._cd.control&&this._cd.control.valid},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassInvalid",{get:function(){return!!this._cd.control&&this._cd.control.invalid},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassPending",{get:function(){return!!this._cd.control&&this._cd.control.pending},enumerable:!0,configurable:!0}),t}()),Ai="PENDING",Ni="DISABLED",Fi=function(){function t(t,e){this.validator=t,this.asyncValidator=e,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}return Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return"VALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return"INVALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pending",{get:function(){return this.status==Ai},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this.status===Ni},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return this.status!==Ni},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dirty",{get:function(){return!this.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"untouched",{get:function(){return!this.touched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"updateOn",{get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"},enumerable:!0,configurable:!0}),t.prototype.setValidators=function(t){this.validator=Ft(t)},t.prototype.setAsyncValidators=function(t){this.asyncValidator=Rt(t)},t.prototype.clearValidators=function(){this.validator=null},t.prototype.clearAsyncValidators=function(){this.asyncValidator=null},t.prototype.markAsTouched=function(t){void 0===t&&(t={}),this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)},t.prototype.markAsUntouched=function(t){void 0===t&&(t={}),this.touched=!1,this._pendingTouched=!1,this._forEachChild(function(t){t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)},t.prototype.markAsDirty=function(t){void 0===t&&(t={}),this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)},t.prototype.markAsPristine=function(t){void 0===t&&(t={}),this.pristine=!0,this._pendingDirty=!1,this._forEachChild(function(t){t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)},t.prototype.markAsPending=function(t){void 0===t&&(t={}),this.status=Ai,this._parent&&!t.onlySelf&&this._parent.markAsPending(t)},t.prototype.disable=function(t){void 0===t&&(t={}),this.status=Ni,this.errors=null,this._forEachChild(function(t){t.disable({onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(!!t.onlySelf),this._onDisabledChange.forEach(function(t){return t(!0)})},t.prototype.enable=function(t){void 0===t&&(t={}),this.status="VALID",this._forEachChild(function(t){t.enable({onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(!!t.onlySelf),this._onDisabledChange.forEach(function(t){return t(!1)})},t.prototype._updateAncestors=function(t){this._parent&&!t&&(this._parent.updateValueAndValidity(),this._parent._updatePristine(),this._parent._updateTouched())},t.prototype.setParent=function(t){this._parent=t},t.prototype.updateValueAndValidity=function(t){void 0===t&&(t={}),this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&this.status!==Ai||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)},t.prototype._updateTreeValidity=function(t){void 0===t&&(t={emitEvent:!0}),this._forEachChild(function(e){return e._updateTreeValidity(t)}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})},t.prototype._setInitialStatus=function(){this.status=this._allControlsDisabled()?Ni:"VALID"},t.prototype._runValidator=function(){return this.validator?this.validator(this):null},t.prototype._runAsyncValidator=function(t){var e=this;if(this.asyncValidator){this.status=Ai;var n=wt(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(function(n){return e.setErrors(n,{emitEvent:t})})}},t.prototype._cancelExistingSubscription=function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()},t.prototype.setErrors=function(t,e){void 0===e&&(e={}),this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)},t.prototype.get=function(t){return function(t,e,n){return null==e?null:(e instanceof Array||(e=e.split(".")),e instanceof Array&&0===e.length?null:e.reduce(function(t,e){return t instanceof Mi?t.controls[e]||null:t instanceof Di?t.at(e)||null:null},t))}(this,t)},t.prototype.getError=function(t,e){var n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null},t.prototype.hasError=function(t,e){return!!this.getError(t,e)},Object.defineProperty(t.prototype,"root",{get:function(){for(var t=this;t._parent;)t=t._parent;return t},enumerable:!0,configurable:!0}),t.prototype._updateControlsErrors=function(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)},t.prototype._initObservables=function(){this.valueChanges=new je.j,this.statusChanges=new je.j},t.prototype._calculateStatus=function(){return this._allControlsDisabled()?Ni:this.errors?"INVALID":this._anyControlsHaveStatus(Ai)?Ai:this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"},t.prototype._anyControlsHaveStatus=function(t){return this._anyControls(function(e){return e.status===t})},t.prototype._anyControlsDirty=function(){return this._anyControls(function(t){return t.dirty})},t.prototype._anyControlsTouched=function(){return this._anyControls(function(t){return t.touched})},t.prototype._updatePristine=function(t){void 0===t&&(t={}),this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)},t.prototype._updateTouched=function(t){void 0===t&&(t={}),this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)},t.prototype._isBoxedValue=function(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t},t.prototype._registerOnCollectionChange=function(t){this._onCollectionChange=t},t.prototype._setUpdateStrategy=function(t){Mt(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)},t}(),Ri=function(t){function e(e,n,r){void 0===e&&(e=null);var o=t.call(this,Ft(n),Rt(r,n))||this;return o._onChange=[],o._applyFormState(e),o._setUpdateStrategy(n),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o._initObservables(),o}return Object(Be.b)(e,t),e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(function(t){return t(n.value,!1!==e.emitViewToModelChange)}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){void 0===e&&(e={}),this.setValue(t,e)},e.prototype.reset=function(t,e){void 0===t&&(t=null),void 0===e&&(e={}),this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1},e.prototype._updateValue=function(){},e.prototype._anyControls=function(t){return!1},e.prototype._allControlsDisabled=function(){return this.disabled},e.prototype.registerOnChange=function(t){this._onChange.push(t)},e.prototype._clearChangeFns=function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}},e.prototype.registerOnDisabledChange=function(t){this._onDisabledChange.push(t)},e.prototype._forEachChild=function(t){},e.prototype._syncPendingControls=function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))},e.prototype._applyFormState=function(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t},e}(Fi),Mi=function(t){function e(e,n,r){var o=t.call(this,Ft(n),Rt(r,n))||this;return o.controls=e,o._initObservables(),o._setUpdateStrategy(n),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return Object(Be.b)(e,t),e.prototype.registerControl=function(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)},e.prototype.addControl=function(t,e){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.removeControl=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.contains=function(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled},e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this._checkAllValuesPresent(t),Object.keys(t).forEach(function(r){n._throwIfControlMissing(r),n.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){var n=this;void 0===e&&(e={}),Object.keys(t).forEach(function(r){n.controls[r]&&n.controls[r].patchValue(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.reset=function(t,e){void 0===t&&(t={}),void 0===e&&(e={}),this._forEachChild(function(n,r){n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e),this._updatePristine(e),this._updateTouched(e)},e.prototype.getRawValue=function(){return this._reduceChildren({},function(t,e,n){return t[n]=e instanceof Ri?e.value:e.getRawValue(),t})},e.prototype._syncPendingControls=function(){var t=this._reduceChildren(!1,function(t,e){return!!e._syncPendingControls()||t});return t&&this.updateValueAndValidity({onlySelf:!0}),t},e.prototype._throwIfControlMissing=function(t){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[t])throw new Error("Cannot find form control with name: "+t+".")},e.prototype._forEachChild=function(t){var e=this;Object.keys(this.controls).forEach(function(n){return t(e.controls[n],n)})},e.prototype._setUpControls=function(){var t=this;this._forEachChild(function(e){e.setParent(t),e._registerOnCollectionChange(t._onCollectionChange)})},e.prototype._updateValue=function(){this.value=this._reduceValue()},e.prototype._anyControls=function(t){var e=this,n=!1;return this._forEachChild(function(r,o){n=n||e.contains(o)&&t(r)}),n},e.prototype._reduceValue=function(){var t=this;return this._reduceChildren({},function(e,n,r){return(n.enabled||t.disabled)&&(e[r]=n.value),e})},e.prototype._reduceChildren=function(t,e){var n=t;return this._forEachChild(function(t,r){n=e(n,t,r)}),n},e.prototype._allControlsDisabled=function(){for(var t=0,e=Object.keys(this.controls);t<e.length;t++)if(this.controls[e[t]].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled},e.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control with name: '"+n+"'.")})},e}(Fi),Di=function(t){function e(e,n,r){var o=t.call(this,Ft(n),Rt(r,n))||this;return o.controls=e,o._initObservables(),o._setUpdateStrategy(n),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return Object(Be.b)(e,t),e.prototype.at=function(t){return this.controls[t]},e.prototype.push=function(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.insert=function(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.removeAt=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(e.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this._checkAllValuesPresent(t),t.forEach(function(t,r){n._throwIfControlMissing(r),n.at(r).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){var n=this;void 0===e&&(e={}),t.forEach(function(t,r){n.at(r)&&n.at(r).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.reset=function(t,e){void 0===t&&(t=[]),void 0===e&&(e={}),this._forEachChild(function(n,r){n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e),this._updatePristine(e),this._updateTouched(e)},e.prototype.getRawValue=function(){return this.controls.map(function(t){return t instanceof Ri?t.value:t.getRawValue()})},e.prototype._syncPendingControls=function(){var t=this.controls.reduce(function(t,e){return!!e._syncPendingControls()||t},!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t},e.prototype._throwIfControlMissing=function(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error("Cannot find form control at index "+t)},e.prototype._forEachChild=function(t){this.controls.forEach(function(e,n){t(e,n)})},e.prototype._updateValue=function(){var t=this;this.value=this.controls.filter(function(e){return e.enabled||t.disabled}).map(function(t){return t.value})},e.prototype._anyControls=function(t){return this.controls.some(function(e){return e.enabled&&t(e)})},e.prototype._setUpControls=function(){var t=this;this._forEachChild(function(e){return t._registerControl(e)})},e.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control at index: "+n+".")})},e.prototype._allControlsDisabled=function(){for(var t=0,e=this.controls;t<e.length;t++)if(e[t].enabled)return!1;return this.controls.length>0||this.disabled},e.prototype._registerControl=function(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)},e}(Fi),ji=Promise.resolve(null),Bi=function(t){function e(e,n){var r=t.call(this)||this;return r.submitted=!1,r._directives=[],r.ngSubmit=new je.j,r.form=new Mi({},At(e),Nt(n)),r}return Object(Be.b)(e,t),e.prototype.ngAfterViewInit=function(){this._setUpdateStrategy()},Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this;ji.then(function(){var n=e._findContainer(t.path);t.control=n.registerControl(t.name,t.control),xt(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),e._directives.push(t)})},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){var e=this;ji.then(function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name),function(e,n){var r=e.indexOf(t);r>-1&&e.splice(r,1)}(e._directives)})},e.prototype.addFormGroup=function(t){var e=this;ji.then(function(){var n=e._findContainer(t.path),r=new Mi({});(function(t,e){null==t&&Vt(e,"Cannot find control with"),t.validator=yi.compose([t.validator,e.validator]),t.asyncValidator=yi.composeAsync([t.asyncValidator,e.asyncValidator])})(r,t),n.registerControl(t.name,r),r.updateValueAndValidity({emitEvent:!1})})},e.prototype.removeFormGroup=function(t){var e=this;ji.then(function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name)})},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){var n=this;ji.then(function(){n.form.get(t.path).setValue(e)})},e.prototype.setValue=function(t){this.control.setValue(t)},e.prototype.onSubmit=function(t){return this.submitted=!0,function(t,e){t._syncPendingControls(),e.forEach(function(t){var e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}(this.form,this._directives),this.ngSubmit.emit(t),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this.submitted=!1},e.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)},e.prototype._findContainer=function(t){return t.pop(),t.length?this.form.get(t):this.form},e}(fi),Li='\n <div [formGroup]="myGroup">\n <div formGroupName="person">\n <input formControlName="firstName">\n </div>\n </div>\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',Ui='\n <form>\n <div ngModelGroup="person">\n <input [(ngModel)]="person.name" name="firstName">\n </div>\n </form>',Hi=function(){function t(){}return t.modelParentException=function(){throw new Error('\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup\'s partner directive "formControlName" instead. Example:\n\n \n <div [formGroup]="myGroup">\n <input formControlName="firstName">\n </div>\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });\n\n Or, if you\'d like to avoid registering this form control, indicate that it\'s standalone in ngModelOptions:\n\n Example:\n\n \n <div [formGroup]="myGroup">\n <input formControlName="firstName">\n <input [(ngModel)]="showMoreControls" [ngModelOptions]="{standalone: true}">\n </div>\n ')},t.formGroupNameException=function(){throw new Error("\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n "+Li+"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n "+Ui)},t.missingNameException=function(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: <input [(ngModel)]="person.firstName" name="first">\n Example 2: <input [(ngModel)]="person.firstName" [ngModelOptions]="{standalone: true}">')},t.modelGroupParentException=function(){throw new Error("\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n "+Li+"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n "+Ui)},t}(),Qi=function(t){function e(e,n,r){var o=t.call(this)||this;return o._parent=e,o._validators=n,o._asyncValidators=r,o}return Object(Be.b)(e,t),e.prototype._checkParentType=function(){this._parent instanceof e||this._parent instanceof Bi||Hi.modelGroupParentException()},e}(Ii),zi=Promise.resolve(null),Gi=function(t){function e(e,n,r,o){var i=t.call(this)||this;return i.control=new Ri,i._registered=!1,i.update=new je.j,i._parent=e,i._rawValidators=n||[],i._rawAsyncValidators=r||[],i.valueAccessor=function(t,e){if(!e)return null;var n=void 0,r=void 0,o=void 0;return e.forEach(function(e){e.constructor===_i?n=e:function(t){return xi.some(function(e){return t.constructor===e})}(e)?(r&&Vt(t,"More than one built-in value accessor matches form control with"),r=e):(o&&Vt(t,"More than one custom value accessor matches form control with"),o=e)}),o||r||n||(Vt(t,"No valid value accessor for form control with"),null)}(i,o),i}return Object(Be.b)(e,t),e.prototype.ngOnChanges=function(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),function(t,e){if(!t.hasOwnProperty("model"))return!1;var n=t.model;return!!n.isFirstChange()||!Object(je._4)(e,n.currentValue)}(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Object.defineProperty(e.prototype,"path",{get:function(){return this._parent?Ot(this.name,this._parent):[this.name]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return At(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return Nt(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},e.prototype._setUpControl=function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0},e.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)},e.prototype._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)},e.prototype._setUpStandalone=function(){xt(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})},e.prototype._checkForErrors=function(){this._isStandalone()||this._checkParentType(),this._checkName()},e.prototype._checkParentType=function(){!(this._parent instanceof Qi)&&this._parent instanceof Ii?Hi.formGroupNameException():this._parent instanceof Qi||this._parent instanceof Bi||Hi.modelParentException()},e.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||Hi.missingNameException()},e.prototype._updateValue=function(t){var e=this;zi.then(function(){e.control.setValue(t,{emitViewToModelChange:!1})})},e.prototype._updateDisabled=function(t){var e=this,n=t.isDisabled.currentValue,r=""===n||n&&"false"!==n;zi.then(function(){r&&!e.control.disabled?e.control.disable():!r&&e.control.disabled&&e.control.enable()})},e}(wi),qi=function(){},Ki=function(){},Wi=function(){function t(){}return t.prototype.transform=function(t){var e=Math.floor(t/60);return e+":"+(t-60*e)},t}(),Zi=n("TO51"),$i=function(){function t(t,e){this.component=t,this.injector=e}return t.prototype.attach=function(t,e){return this._attachedHost=t,t.attach(this,e)},t.prototype.detach=function(){var t=this._attachedHost;if(t)return this._attachedHost=void 0,t.detach()},Object.defineProperty(t.prototype,"isAttached",{get:function(){return null!=this._attachedHost},enumerable:!0,configurable:!0}),t.prototype.setAttachedHost=function(t){this._attachedHost=t},t}(),Xi=function(){function t(){}return t.prototype.attach=function(t,e){return this._attachedPortal=t,this.attachComponentPortal(t,e)},t.prototype.attachComponentPortal=function(t,e){},t.prototype.detach=function(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)},t.prototype.setDisposeFn=function(t){this._disposeFn=t},t}(),Yi=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ji=function(t){function e(e,n,r){var o=t.call(this)||this;return o._hostDomElement=e,o._componentFactoryResolver=n,o._appRef=r,o}return Yi(e,t),e.prototype.attachComponentPortal=function(t,e){var n,r=this,o=this._componentFactoryResolver.resolveComponentFactory(t.component);return n=o.create(t.injector),this._appRef.attachView(n.hostView),this.setDisposeFn(function(){r._appRef.detachView(n.hostView),n.destroy()}),e?this._hostDomElement.insertBefore(this._getComponentRootNode(n),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(n)),n},e.prototype._getComponentRootNode=function(t){return t.hostView.rootNodes[0]},e}(Xi),tl=function(){function t(t){this._portalHost=t}return t.prototype.attach=function(t,e){return void 0===e&&(e=!0),this._portalHost.attach(t,e)},t.prototype.detach=function(){return this._portalHost.detach()},t}(),el=function(){function t(){}return t.prototype.getContainerElement=function(){return this._containerElement||this._createContainer(),this._containerElement},t.prototype._createContainer=function(){var t=document.createElement("div");t.classList.add("overlay-container"),document.body.appendChild(t),this._containerElement=t},t}(),nl=function(){function t(t,e,n){this._overlayContainer=t,this._componentFactoryResolver=e,this._appRef=n,this._paneElements={}}return t.prototype.create=function(t,e){return this._createOverlayRef(this.getPaneElement(t,e))},t.prototype.getPaneElement=function(t,e){return void 0===t&&(t=""),this._paneElements[t]||(this._paneElements[t]=this._createPaneElement(t,e)),this._paneElements[t]},t.prototype._createPaneElement=function(t,e){var n=document.createElement("div");return n.id="toast-container",n.classList.add(t),e?e.getContainerElement().appendChild(n):this._overlayContainer.getContainerElement().appendChild(n),n},t.prototype._createPortalHost=function(t){return new Ji(t,this._componentFactoryResolver,this._appRef)},t.prototype._createOverlayRef=function(t){return new tl(this._createPortalHost(t))},t}(),rl=function(){function t(t,e,n,r,o,i){this.toastId=t,this.config=e,this.message=n,this.title=r,this.toastType=o,this.toastRef=i,this._onTap=new Zi.a,this._onAction=new Zi.a}return t.prototype.triggerTap=function(){this._onTap.next(),this._onTap.complete()},t.prototype.onTap=function(){return this._onTap.asObservable()},t.prototype.triggerAction=function(t){this._onAction.next(t),this._onAction.complete()},t.prototype.onAction=function(){return this._onAction.asObservable()},t}(),ol=function(){return function(){this.maxOpened=0,this.autoDismiss=!1,this.newestOnTop=!0,this.preventDuplicates=!1,this.iconClasses={error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},this.toastComponent=cl,this.closeButton=!1,this.timeOut=5e3,this.extendedTimeOut=1e3,this.enableHtml=!1,this.progressBar=!1,this.toastClass="toast",this.positionClass="toast-top-right",this.titleClass="toast-title",this.messageClass="toast-message",this.tapToDismiss=!0,this.onActivateTick=!1,this.progressAnimation="decreasing"}}(),il=function(){function t(t){this._overlayRef=t,this._afterClosed=new Zi.a,this._activate=new Zi.a,this._manualClose=new Zi.a}return t.prototype.manualClose=function(){this._manualClose.next(),this._manualClose.complete()},t.prototype.manualClosed=function(){return this._manualClose.asObservable()},t.prototype.close=function(){this._overlayRef.detach(),this._afterClosed.next(),this._afterClosed.complete()},t.prototype.afterClosed=function(){return this._afterClosed.asObservable()},t.prototype.isInactive=function(){return this._activate.isStopped},t.prototype.activate=function(){this._activate.next(),this._activate.complete()},t.prototype.afterActivate=function(){return this._activate.asObservable()},t}(),ll=function(){function t(t,e){this._toastPackage=t,this._parentInjector=e}return t.prototype.get=function(t,e){return t===rl&&this._toastPackage?this._toastPackage:this._parentInjector.get(t,e)},t}(),ul=new je.l("ToastConfig"),sl=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++){e=arguments[n];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},al=function(){function t(t,e,n,r){this.overlay=e,this._injector=n,this.sanitizer=r,this.index=0,this.currentlyActive=0,this.toasts=[];var o=new ol;this.toastrConfig=sl({},o,t),this.toastrConfig.iconClasses=sl({},o.iconClasses,t.iconClasses)}return t.prototype.show=function(t,e,n,r){return void 0===n&&(n={}),void 0===r&&(r=""),this._buildNotification(r,t,e,this.applyConfig(n))},t.prototype.success=function(t,e,n){return void 0===n&&(n={}),this._buildNotification(this.toastrConfig.iconClasses.success||"",t,e,this.applyConfig(n))},t.prototype.error=function(t,e,n){return void 0===n&&(n={}),this._buildNotification(this.toastrConfig.iconClasses.error||"",t,e,this.applyConfig(n))},t.prototype.info=function(t,e,n){return void 0===n&&(n={}),this._buildNotification(this.toastrConfig.iconClasses.info||"",t,e,this.applyConfig(n))},t.prototype.warning=function(t,e,n){return void 0===n&&(n={}),this._buildNotification(this.toastrConfig.iconClasses.warning||"",t,e,this.applyConfig(n))},t.prototype.clear=function(t){for(var e=0,n=this.toasts;e<n.length;e++){var r=n[e];if(void 0!==t){if(r.toastId===t)return void r.toastRef.manualClose()}else r.toastRef.manualClose()}},t.prototype.remove=function(t){var e=this._findToast(t);if(!e)return!1;if(e.activeToast.toastRef.close(),this.toasts.splice(e.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length)return!1;if(this.currentlyActive<=+this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){var n=this.toasts[this.currentlyActive].toastRef;n.isInactive()||(this.currentlyActive=this.currentlyActive+1,n.activate())}return!0},t.prototype.isDuplicate=function(t){for(var e=0;e<this.toasts.length;e++)if(this.toasts[e].message===t)return!0;return!1},t.prototype.applyConfig=function(t){return void 0===t&&(t={}),sl({},this.toastrConfig,t)},t.prototype._findToast=function(t){for(var e=0;e<this.toasts.length;e++)if(this.toasts[e].toastId===t)return{index:e,activeToast:this.toasts[e]};return null},t.prototype._buildNotification=function(t,e,n,r){var o=this;if(!r.toastComponent)throw new Error("toastComponent required");if(e&&this.toastrConfig.preventDuplicates&&this.isDuplicate(e))return null;this.previousToastMessage=e;var i=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(i=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[this.toasts.length-1].toastId));var l=this.overlay.create(r.positionClass,this.overlayContainer);this.index=this.index+1;var u=e;e&&r.enableHtml&&(u=this.sanitizer.sanitize(je.A.HTML,e));var s=new il(l),a=new rl(this.index,r,u,n,t,s),c={toastId:this.index,message:e,toastRef:s,onShown:s.afterActivate(),onHidden:s.afterClosed(),onTap:a.onTap(),onAction:a.onAction()},p=new ll(a,this._injector),h=new $i(r.toastComponent,p);return c.portal=l.attach(h,this.toastrConfig.newestOnTop),i||setTimeout(function(){c.toastRef.activate(),o.currentlyActive=o.currentlyActive+1}),this.toasts.push(c),c},t}(),cl=function(){function t(t,e,n){var r=this;this.toastrService=t,this.toastPackage=e,this.appRef=n,this.width=-1,this.toastClasses="",this.state="inactive",this.message=e.message,this.title=e.title,this.options=e.config,this.toastClasses=e.toastType+" "+e.config.toastClass,this.sub=e.toastRef.afterActivate().subscribe(function(){r.activateToast()}),this.sub1=e.toastRef.manualClosed().subscribe(function(){r.remove()})}return t.prototype.ngOnDestroy=function(){this.sub.unsubscribe(),this.sub1.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)},t.prototype.activateToast=function(){var t=this;this.state="active",this.options.timeOut&&(this.timeout=setTimeout(function(){t.remove()},this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&(this.intervalId=setInterval(function(){return t.updateProgress()},10))),this.options.onActivateTick&&this.appRef.tick()},t.prototype.updateProgress=function(){if(0!==this.width&&100!==this.width&&this.options.timeOut){var t=(new Date).getTime();this.width=(this.hideTime-t)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}},t.prototype.remove=function(){var t=this;"removed"!==this.state&&(clearTimeout(this.timeout),this.state="removed",this.timeout=setTimeout(function(){return t.toastrService.remove(t.toastPackage.toastId)},300))},t.prototype.tapToast=function(){"removed"!==this.state&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())},t.prototype.stickAround=function(){"removed"!==this.state&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)},t.prototype.delayedHideToast=function(){var t=this;0!==this.options.extendedTimeOut&&"removed"!==this.state&&(this.timeout=setTimeout(function(){return t.remove()},this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=100,this.options.progressBar&&(this.intervalId=setInterval(function(){return t.updateProgress()},10)))},t}(),pl=function(){function t(t){if(t)throw new Error("ToastrModule is already loaded. It should only be imported in your application's main module.")}return t.forRoot=function(e){return void 0===e&&(e={}),{ngModule:t,providers:[{provide:ul,useValue:e},el,nl,al]}},t}(),hl=function(){function t(t,e,n){this.name="Unknown Card",this.power=0,this.clickereum=0,this.name=t,this.power=e,this.clickereum=n}return t.FromJSON=function(e){return new t(e.name,e.power,e.clickereum)},t.prototype.PowerUsed=function(){return this.power},t.prototype.ClickereumGenerated=function(){return this.clickereum*(1+vl.instance.GetMiningBoost())},t.prototype.Name=function(){return this.name},t}(),fl=function(){function t(){this.cards=[],this.isOn=!1}return t.FromJSON=function(e){var n=new t;n.isOn=e.isOn,n.cards=[];for(var r=0;r<e.cards.length;r++)n.cards.push(hl.FromJSON(e.cards[r]));return n},t.prototype.IsOn=function(){return this.isOn},t.prototype.GetPowerClass=function(){return this.isOn?"green":"red"},t.prototype.PowerUsed=function(){if(!this.isOn||vl.instance.ElectricBillIsOverdue())return 0;for(var t=.01,e=0;e<this.cards.length;e++)t+=this.cards[e].PowerUsed();return t},t.prototype.ClickereumGenerated=function(){if(!this.isOn||vl.instance.ElectricBillIsOverdue())return 0;for(var t=0,e=0;e<this.cards.length;e++)t+=this.cards[e].ClickereumGenerated();return t*=100,t/=vl.instance.GetMiningDifficulty()},t.prototype.TogglePower=function(){this.isOn=!this.isOn},t.prototype.CanInstallCards=function(){return 6-this.cards.length>0},t.prototype.InstallPooForce1=function(){var t=new hl("PooForce 1",.03,1);this.cards.push(t)},t.prototype.InstallPooForce2=function(){var t=new hl("PooForce 2",.25,7);this.cards.push(t)},t.prototype.InstallPooForce3=function(){var t=new hl("PooForce 3",1.5,50);this.cards.push(t)},t.prototype.InstallPooForceX=function(){var t=new hl("PooForce X",500,25e3);this.cards.push(t)},t}(),dl=[.0125,.009,.0335,.0375,.018,.021,.019,.0325,.011,.019,.0125,.0155,.036,.026,.0225,-.0125,-.009,-.0335,-.0375,-.018,-.021,-.019,-.0325,-.011,-.019,-.0125,-.0155,-.036,-.026,-.0225],yl=["Ron Paul endorses Clickereum","Canada adopts Clickereum as official currency","Hard fork avoided; contributors come to an agreement","Conan O'Brien tells a Clickereum joke in his monologue","Somolian pirates found nation; declare Clickereum official currency","PooForce press release announces sales up 1500 over estimates; credits Clickereum","Chuck E. Cheese replaces arcade tokens with Clickereum tokens","Foo Fighters announce new album only available to pre-order with Clickereum payments","Akira Toriyama mentions Clickereum in new Dragon Ball manga","Nathan Fielder convinces L.A. supermarket to switch to Clickereum-only payments",'Bill Gates reveals that his only regret with Microsoft is "not developing a hip cryptocurrency like Clickereum"',"George Lucas releases new Star Wars remasters; Clickereum revealed to be primary currency in galaxy far, far away","Reddit puts all cat memes beyond Clickereum paywall","Typo leads Ethereum newsletter subscribers to Clickereum website","Google Play begins accepting Clickereum payments","President starts Twitter war with Clickereum developers","Somebody publishes an article about Clickereum on Medium","Aunt Betty shares a Clickereum article to all 29 of her Facebook friends"],ml=["Clickereum bank robbed","Google Play stops accepting Clickereum payments","Apple stops accepting Clickeruem payments","Clickereum stops being cool at my school, and the other kids make fun of me for using it"],gl=function(){function t(t,e){this.impact=0,this.description="",this.impact=t,this.description=e}return t.GenerateNewsEvents=function(){var e=[],n=dl.slice(0);for(Dt(n);!Ut(n);)Dt(n);for(var r=0;r<n.length;r++){var o=n[r],i=o>0?Bt():Lt();e.push(new t(o,i))}return e},t}(),vl=function(){function t(t){this.toastr=t,this.COINHIVE_IS_BLOCKED=!1,this.MINING_ENABLED=!0,this.gameStarted=!1,this.perSecondInterval=null,this.totalTimeElapsedInSeconds=0,this.miningIsOn=!1,this.miningThrottle=.25,this.footerIsClosed=!1,this.haxAreOn=!1,this.haxSpeedOn=!1,this.clickereum=0,this.clickereumMinedLifetime=0,this.clickereumSoldLifetime=0,this.money=0,this.clickereumMarketValueBase=.1,this.clickereumMarketValue=.1,this.miningDifficulty=100,this.rigs=[],this.pendingNewsEvents=[],this.costForRig=10,this.costForPooForce1=10,this.costForPooForce2=100,this.costForPooForce3=500,this.costForPooForceX=15e4,this.costForValuePreview=25,this.costForAutoseller=100,this.costForStorageUnit=500,this.costForOffice=15e6,this.costForWarehouse=5e8,this.costForIsland=75e9,this.costForSolarPanelResearch=5e3,this.costForBribingNoobegg=1e4,this.costForSolarPanel=500,this.inventoryPooForce1=0,this.inventoryPooForce2=0,this.inventoryPooForce3=0,this.inventoryPooForceX=0,this.numberOfSolarPanels=0,this.toolAutosellerOwned=!1,this.toolAutosellerOn=!1,this.toolValuePreviewOwned=!1,this.purchasedStorageUnit=!1,this.purchasedOffice=!1,this.purchasedWarehouse=!1,this.purchasedIsland=!1,this.researchedSolarPanels=!1,this.bribedNoobegg=!1,this.clickereumToSell=0,this.selectedRigIndex=null,this.cardToInstall="",e.instance=this,this.StartGame()}return e=t,t.prototype.StartGame=function(){this.LoadData(),this.COINHIVE_IS_BLOCKED="undefined"==typeof CoinHive,this.MINING_ENABLED&&!this.COINHIVE_IS_BLOCKED&&(this.COINHIVE_MINER=new CoinHive.Anonymous("1XymsHGKuZvjQtWWLlPk1BJ6faXb3ZJU")),this.pendingNewsEvents&&0!=this.pendingNewsEvents.length||this.RegeneratePendingNewsEvents(),this.gameStarted=!0,this.perSecondInterval=setInterval(this.PerSecondTick.bind(this),1e3)},t.prototype.TurnMiningOn=function(){this.miningIsOn=!0,this.COINHIVE_MINER.start(),this.COINHIVE_MINER.setThrottle(1-this.miningThrottle)},t.prototype.MiningCPUInfo=function(){this.toastr.info("On some computers, CPU usage may end up slightly higher than what you set here. Check your Task Manager to confirm usage.")},t.prototype.TurnMiningOff=function(){this.miningIsOn=!1,this.COINHIVE_MINER.stop()},t.prototype.GameDataToJSON=function(){var t={};return t.clickereum=this.clickereum,t.clickereumMinedLifetime=this.clickereumMinedLifetime,t.clickereumSoldLifetime=this.clickereumSoldLifetime,t.money=this.money,t.clickereumMarketValueBase=this.clickereumMarketValueBase,t.clickereumMarketValue=this.clickereumMarketValue,t.miningDifficulty=this.miningDifficulty,t.inventoryPooForce1=this.inventoryPooForce1,t.inventoryPooForce2=this.inventoryPooForce2,t.inventoryPooForce3=this.inventoryPooForce3,t.inventoryPooForceX=this.inventoryPooForceX,t.numberOfSolarPanels=this.numberOfSolarPanels,t.selectedRigIndex=this.selectedRigIndex,t.purchasedStorageUnit=this.purchasedStorageUnit,t.purchasedOffice=this.purchasedOffice,t.purchasedWarehouse=this.purchasedWarehouse,t.purchasedIsland=this.purchasedIsland,t.toolAutosellerOwned=this.toolAutosellerOwned,t.toolAutosellerOn=this.toolAutosellerOn,t.toolValuePreviewOwned=this.toolValuePreviewOwned,t.researchedSolarPanels=this.researchedSolarPanels,t.rigs=this.rigs,t.pendingNewsEvents=this.pendingNewsEvents,t},t.prototype.LoadGameDataFromJSON=function(t){this.clickereum=t.clickereum,this.clickereumMinedLifetime=t.clickereumMinedLifetime,this.clickereumSoldLifetime=t.clickereumSoldLifetime,this.money=t.money,this.clickereumMarketValueBase=t.clickereumMarketValueBase,this.clickereumMarketValue=t.clickereumMarketValue,this.miningDifficulty=t.miningDifficulty,this.rigs=t.rigs,this.inventoryPooForce1=t.inventoryPooForce1,this.inventoryPooForce2=t.inventoryPooForce2,this.inventoryPooForce3=t.inventoryPooForce3,this.inventoryPooForceX=t.inventoryPooForceX,this.numberOfSolarPanels=t.numberOfSolarPanels,this.selectedRigIndex=t.selectedRigIndex,this.purchasedStorageUnit=t.purchasedStorageUnit,this.purchasedOffice=t.purchasedOffice,this.purchasedWarehouse=t.purchasedWarehouse,this.purchasedIsland=t.purchasedIsland,this.toolAutosellerOwned=t.toolAutosellerOwned,this.toolAutosellerOn=t.toolAutosellerOn,this.toolValuePreviewOwned=t.toolValuePreviewOwned,this.researchedSolarPanels=t.researchedSolarPanels,this.bribedNoobegg=t.bribedNoobegg,this.rigs=[];for(var e=0;e<t.rigs.length;e++)this.rigs.push(fl.FromJSON(t.rigs[e]));this.pendingNewsEvents=t.pendingNewsEvents},t.prototype.SetHax=function(){this.clickereum=1e5,this.money=0,this.haxAreOn=!0},t.prototype.SetHaxSpeed=function(t){this.haxSpeedOn=t;var e=1e3;this.haxSpeedOn&&(e/=20),clearInterval(this.perSecondInterval),this.perSecondInterval=setInterval(this.PerSecondTick.bind(this),e)},t.prototype.PerSecondTick=function(){this.totalTimeElapsedInSeconds++,this.totalTimeElapsedInSeconds%60==0&&this.ExecuteNewsEvent(),this.toolAutosellerOn&&this.SellClickereumMax(),this.money-=this.ElectricCostPerSecond();var t=this.ClickereumPerSecond();if(this.clickereum+=t,this.clickereumMinedLifetime+=t,this.RecalculateDifficulty(),this.totalTimeElapsedInSeconds%3==0){var e=.1*Math.random()-.2+1.15;this.clickereumMarketValue=this.clickereumMarketValueBase*e,this.bribedNoobegg&&(this.clickereumMarketValue+=.005)}this.SaveData(),!this.COINHIVE_IS_BLOCKED&&this.miningIsOn&&(this.miningIsOn=this.COINHIVE_MINER.isRunning())},t.prototype.SellClickereum=function(){var t=Math.max(0,Math.min(this.clickereumToSell,this.clickereum));this.clickereumToSell=0,this.clickereum-=t,this.money+=t*this.clickereumMarketValue,this.clickereumSoldLifetime+=t},t.prototype.SellClickereumMax=function(){this.clickereumToSell=this.clickereum,this.SellClickereum()},t.prototype.MineClickereum=function(){var t=1+1*this.GetMiningBoost();this.clickereum+=t,this.clickereumMinedLifetime+=t,this.RecalculateDifficulty()},t.prototype.RecalculateDifficulty=function(){this.miningDifficulty=100+Math.round(Math.cbrt(this.clickereumMinedLifetime/1e4))},t.prototype.GetMiningDifficulty=function(){return this.miningDifficulty},t.prototype.ClickereumPerSecond=function(){for(var t=0,e=0;e<this.rigs.length;e++)t+=this.rigs[e].ClickereumGenerated();return t},t.prototype.ElectricCostPerSecond=function(){for(var t=0,e=0;e<this.rigs.length;e++)t+=this.rigs[e].PowerUsed();return(t-=.75*this.numberOfSolarPanels)<=0&&(t=0),t},t.prototype.RigSlotsTotal=function(){return 3+(this.purchasedStorageUnit?4:0)},t.prototype.BuyRig=function(){this.CanBuyRig()&&(this.money-=this.costForRig,this.rigs.push(new fl))},t.prototype.BuyPooForce1=function(){this.CanBuyPooForce1()&&(this.money-=this.costForPooForce1,this.inventoryPooForce1++)},t.prototype.BuyPooForce2=function(){this.CanBuyPooForce2()&&(this.money-=this.costForPooForce2,this.inventoryPooForce2++)},t.prototype.BuyPooForce3=function(){this.CanBuyPooForce3()&&(this.money-=this.costForPooForce3,this.inventoryPooForce3++)},t.prototype.BuyPooForceX=function(){this.CanBuyPooForceX()&&(this.money-=this.costForPooForceX,this.inventoryPooForceX++)},t.prototype.CanBuyRig=function(){return this.money>=this.costForRig&&this.rigs.length+1<=this.RigSlotsTotal()},t.prototype.CanBuyPooForce1=function(){return this.money>=this.costForPooForce1},t.prototype.CanBuyPooForce2=function(){return this.money>=this.costForPooForce2},t.prototype.CanBuyPooForce3=function(){return this.money>=this.costForPooForce3},t.prototype.CanBuyPooForceX=function(){return this.money>=this.costForPooForceX},t.prototype.CanPurchaseStorageUnit=function(){return this.money>=this.costForStorageUnit},t.prototype.CanPurchaseOffice=function(){return this.money>=this.costForOffice},t.prototype.CanPurchaseWarehouse=function(){return this.money>=this.costForWarehouse},t.prototype.CanPurchaseIsland=function(){return this.money>=this.costForIsland},t.prototype.PurchaseStorageUnit=function(){this.CanPurchaseStorageUnit()&&(this.money-=this.costForStorageUnit,this.purchasedStorageUnit=!0)},t.prototype.PurchaseOffice=function(){this.CanPurchaseOffice()&&(this.money-=this.costForOffice,this.purchasedOffice=!0)},t.prototype.PurchaseWarehouse=function(){this.CanPurchaseWarehouse()&&(this.money-=this.costForWarehouse,this.purchasedWarehouse=!0)},t.prototype.PurchaseIsland=function(){this.CanPurchaseIsland()&&(this.money-=this.costForIsland,this.purchasedIsland=!0)},t.prototype.ShouldShowInventory=function(){return this.inventoryPooForce1>0||this.inventoryPooForce2>0||this.inventoryPooForce3>0||this.inventoryPooForceX>0},t.prototype.GetCardsInInventory=function(){var t=[];return this.inventoryPooForce1>0&&t.push("PooForce 1"),this.inventoryPooForce2>0&&t.push("PooForce 2"),this.inventoryPooForce3>0&&t.push("PooForce 3"),this.inventoryPooForceX>0&&t.push("PooForce X"),t},t.prototype.InstallPooForce1=function(){this.inventoryPooForce1>0&&(this.inventoryPooForce1--,this.rigs[this.selectedRigIndex].InstallPooForce1())},t.prototype.InstallPooForce2=function(){this.inventoryPooForce2>0&&(this.inventoryPooForce2--,this.rigs[this.selectedRigIndex].InstallPooForce2())},t.prototype.InstallPooForce3=function(){this.inventoryPooForce3>0&&(this.inventoryPooForce3--,this.rigs[this.selectedRigIndex].InstallPooForce3())},t.prototype.InstallPooForceX=function(){this.inventoryPooForceX>0&&(this.inventoryPooForceX--,this.rigs[this.selectedRigIndex].InstallPooForceX())},t.prototype.RemoveCardFromRig=function(t){var e=this.rigs[this.selectedRigIndex].cards[t];switch(e.Name()){case"PooForce 1":this.inventoryPooForce1++;break;case"PooForce 2":this.inventoryPooForce2++;break;case"PooForce 3":this.inventoryPooForce3++;break;case"PooForce X":this.inventoryPooForceX++;break;default:return void console.log("Unknown card in RemoveCardFromRig(): "+e.Name())}this.rigs[this.selectedRigIndex].cards.splice(t,1)},t.prototype.ToolAutosellerOwned=function(){return this.toolAutosellerOwned},t.prototype.ToolAutosellerOn=function(){return this.toolAutosellerOn},t.prototype.ToolAutosellerPurchase=function(){!this.toolAutosellerOwned&&this.money>=this.costForAutoseller&&(this.money-=this.costForAutoseller,this.toolAutosellerOwned=!0)},t.prototype.ToolAutosellerToggle=function(){this.toolAutosellerOwned&&(this.toolAutosellerOn=!this.toolAutosellerOn)},t.prototype.ToolValuePreviewPurchase=function(){!this.toolValuePreviewOwned&&this.money>=this.costForValuePreview&&(this.money-=this.costForValuePreview,this.toolValuePreviewOwned=!0)},t.prototype.PreventEvent=function(t){return!!this.haxAreOn||(t.preventDefault(),!1)},t.prototype.SaveData=function(){var t=JSON.stringify(this.GameDataToJSON());window.localStorage.setItem("gameData",t)},t.prototype.ResetGame=function(){window.localStorage.setItem("gameData",""),window.location.reload()},t.prototype.LoadData=function(){var t=window.localStorage.getItem("gameData");null!=t&&t.length>0&&this.LoadGameDataFromJSON(JSON.parse(t))},t.prototype.RegeneratePendingNewsEvents=function(){this.pendingNewsEvents=gl.GenerateNewsEvents()},t.prototype.ExecuteNewsEvent=function(){this.pendingNewsEvents&&0!=this.pendingNewsEvents.length||this.RegeneratePendingNewsEvents();var t=this.pendingNewsEvents[0];this.pendingNewsEvents.splice(0,1),this.clickereumMarketValueBase+=t.impact,this.DollarsToCents(t.impact),t.impact>0?this.toastr.success(t.description,"Clickereum value increases",{timeOut:1e4}):this.toastr.error(t.description,"Clickereum value decreases",{timeOut:1e4}),console.log(t)},t.prototype.DollarsToCents=function(t){var e=100*t;return e=parseFloat(e.toFixed(2))},t.prototype.ElectricBillIsOverdue=function(){return this.money<0},t.prototype.CanResearchSolarPanels=function(){return this.money>=this.costForSolarPanelResearch},t.prototype.ResearchSolarPanels=function(){this.CanResearchSolarPanels()&&(this.money-=this.costForSolarPanelResearch,this.researchedSolarPanels=!0)},t.prototype.CanBribeNoobegg=function(){return this.money>=this.costForBribingNoobegg},t.prototype.BribeNoobegg=function(){this.CanBribeNoobegg()&&(this.money-=this.costForBribingNoobegg,this.bribedNoobegg=!0)},t.prototype.CanBuySolarPanel=function(){return this.money>=this.costForSolarPanel},t.prototype.BuySolarPanel=function(){this.CanBuySolarPanel()&&(this.money-=this.costForSolarPanel,this.numberOfSolarPanels++)},t.prototype.RefreshPage=function(){window.location.reload()},t.prototype.Round=function(t){return Math.round(t)},t.prototype.MiningThrottleUpdated=function(){this.miningIsOn&&this.COINHIVE_MINER.setThrottle(1-this.miningThrottle)},t.prototype.GetMiningBoost=function(){return this.miningIsOn?this.miningThrottle>=.25?.25:Math.abs(this.miningThrottle):0},t.prototype.GetMiningBoostDisplay=function(){var t=this.GetMiningBoost();return Math.round(100*t)+"%"},t.prototype.MiningInfo=function(){this.toastr.info("When on, the game will use some of your idle CPU cycles, in the background while you play, to mine real cryptocurrency as a donation to the developer. This donation is very appreciated and helps fund development.")},t.instance=null,t;var e}(),_l=function(){},bl=je.T({encapsulation:2,styles:[],data:{animation:[{type:7,name:"flyInOut",definitions:[{type:0,name:"inactive",styles:{type:6,styles:{display:"none",opacity:0},offset:null},options:void 0},{type:0,name:"active",styles:{type:6,styles:{opacity:1},offset:null},options:void 0},{type:0,name:"removed",styles:{type:6,styles:{opacity:0},offset:null},options:void 0},{type:1,expr:"inactive => active",animation:{type:4,styles:null,timings:"300ms ease-in"},options:null},{type:1,expr:"active => removed",animation:{type:4,styles:null,timings:"300ms ease-in"},options:null}],options:{}}]}}),wl=je.R("[toast-component]",cl,function(t){return je._15(0,[(t()(),je.V(0,0,null,null,1,"div",[["toast-component",""]],[[8,"className",0],[40,"@flyInOut",0]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==je._8(t,1).tapToast()&&r),"mouseenter"===e&&(r=!1!==je._8(t,1).stickAround()&&r),"mouseleave"===e&&(r=!1!==je._8(t,1).delayedHideToast()&&r),r},Kt,bl)),je.U(1,180224,null,0,cl,[al,rl,je.e],null,null)],null,function(t,e){t(e,0,0,je._8(e,1).toastClasses,je._8(e,1).state)})},{},{},[]),Cl=je.T({encapsulation:0,styles:[[".full-container[_ngcontent-%COMP%]{margin:0;padding:0}.primary-container[_ngcontent-%COMP%]{margin:0;padding:0;display:-webkit-box;display:-ms-flexbox;display:flex}.big-button[_ngcontent-%COMP%]{font-size:2em}.pregame-splash[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto;max-width:500px;text-align:center}.center-pane[_ngcontent-%COMP%], .left-pane[_ngcontent-%COMP%], .right-pane[_ngcontent-%COMP%]{width:30%}h1[_ngcontent-%COMP%]{font-size:1.5em}h2[_ngcontent-%COMP%]{font-size:1.2em}h3[_ngcontent-%COMP%]{font-size:1.1em}.shift-down[_ngcontent-%COMP%]{margin-top:1em}.block[_ngcontent-%COMP%]{display:block}.green[_ngcontent-%COMP%]{color:green}.red[_ngcontent-%COMP%]{color:red}.footer[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;position:fixed;bottom:0;left:0;width:100%;border-top:1px solid #000;min-height:30px;text-align:center}"]],data:{}}),El=je.R("app-root",vl,function(t){return je._15(0,[(t()(),je.V(0,0,null,null,1,"app-root",[],null,null,null,Me,Cl)),je.U(1,49152,null,0,vl,[al],null,null)],null,null)},{},{},[]),Sl=je.S(_l,[vl],function(t){return je._6([je._7(512,je.g,je.O,[[8,[wl,El]],[3,je.g],je.q]),je._7(5120,je.p,je._5,[[3,je.p]]),je._7(4608,We,Ze,[je.p,[2,Ke]]),je._7(4608,je.f,je.f,[]),je._7(5120,je.a,je.W,[]),je._7(5120,je.n,je._2,[]),je._7(5120,je.o,je._3,[]),je._7(4608,Pr,Tr,[dn]),je._7(6144,je.z,null,[Pr]),je._7(4608,nr,rr,[]),je._7(5120,Vn,function(t,e,n,r,o){return[new tr(t,e),new ur(n),new or(r,o)]},[dn,je.s,dn,dn,nr]),je._7(4608,An,An,[Vn,je.s]),je._7(135680,Rn,Rn,[dn]),je._7(4608,Ln,Ln,[An,Rn]),je._7(5120,Yr,dt,[]),je._7(5120,bo,yt,[]),je._7(4608,Ho,Xo,[Yr,bo]),je._7(5120,je.x,mt,[Ln,Ho,je.s]),je._7(6144,Fn,null,[Rn]),je._7(4608,je.C,je.C,[je.s]),je._7(4608,Pn,Pn,[dn]),je._7(4608,xn,xn,[dn]),je._7(4608,Mr,Go,[je.x,En]),je._7(4608,Ci,Ci,[]),je._7(4608,el,el,[]),je._7(4608,nl,nl,[el,je.g,je.e]),je._7(4608,al,al,[ul,nl,je.m,Pr]),je._7(512,fn,fn,[]),je._7(1024,je.i,C,[]),je._7(1024,je.b,function(t){return[function(t){return p("probe",h),p("coreTokens",Object(Be.a)({},In,(t||[]).reduce(function(t,e){return t[e.name]=e.token,t},{}))),function(){return h}}(t)]},[[2,je.r]]),je._7(512,je.c,je.c,[[2,je.b]]),je._7(131584,je.e,je.e,[je.s,je.P,je.m,je.i,je.g,je.c]),je._7(512,je.d,je.d,[je.e]),je._7(512,Rr,Rr,[[3,Rr]]),je._7(512,Yo,Yo,[]),je._7(512,qi,qi,[]),je._7(512,Ki,Ki,[]),je._7(512,pl,pl,[[3,pl]]),je._7(512,_l,_l,[]),je._7(256,ul,{},[])])});Object(je.I)(),Fr().bootstrapModuleFactory(Sl).catch(function(t){return console.log(t)})},fRUx:function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},grVA:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r={closed:!0,next:function(t){},error:function(t){throw t},complete:function(){}}},lI6h:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("6Xbx"),o=function(t){function e(){t.apply(this,arguments)}return Object(r.b)(e,t),e.prototype.notifyNext=function(t,e,n,r,o){this.destination.next(e)},e.prototype.notifyError=function(t,e){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.destination.complete()},e}(n("E9/g").a)},mz3w:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=function(t){var e,r=n("xIGM").a.Symbol;return"function"==typeof r?r.observable?e=r.observable:(e=r("observable"),r.observable=e):e="@@observable",e}()},qLnt:function(t,e,n){"use strict";function r(){try{return l.apply(this,arguments)}catch(t){return c.e=t,c}}function o(t){return l=t,r}function i(t){return t.reduce(function(t,e){return t.concat(e instanceof h?e.errors:e)},[])}var l,u=n("1j/l"),s=n("NGRF"),a=n("B1iP"),c={e:{}},p=n("6Xbx"),h=function(t){function e(e){t.call(this),this.errors=e;var n=Error.call(this,e?e.length+" errors occurred during unsubscription:\n "+e.map(function(t,e){return e+1+") "+t.toString()}).join("\n "):"");this.name=n.name="UnsubscriptionError",this.stack=n.stack,this.message=n.message}return Object(p.b)(e,t),e}(Error);n.d(e,"a",function(){return f});var f=function(){function t(t){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}return t.prototype.unsubscribe=function(){var t,e=!1;if(!this.closed){var n=this._parent,r=this._parents,l=this._unsubscribe,p=this._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var f=-1,d=r?r.length:0;n;)n.remove(this),n=++f<d&&r[f]||null;if(Object(a.a)(l)&&o(l).call(this)===c&&(e=!0,t=t||(c.e instanceof h?i(c.e.errors):[c.e])),Object(u.a)(p))for(f=-1,d=p.length;++f<d;){var y=p[f];if(Object(s.a)(y)&&o(y.unsubscribe).call(y)===c){e=!0,t=t||[];var m=c.e;m instanceof h?t=t.concat(i(m.errors)):t.push(m)}}if(e)throw new h(t)}},t.prototype.add=function(e){if(!e||e===t.EMPTY)return t.EMPTY;if(e===this)return this;var n=e;switch(typeof e){case"function":n=new t(e);case"object":if(n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if("function"!=typeof n._addParent){var r=n;(n=new t)._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}return(this._subscriptions||(this._subscriptions=[])).push(n),n._addParent(this),n},t.prototype.remove=function(t){var e=this._subscriptions;if(e){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}},t.prototype._addParent=function(t){var e=this._parent,n=this._parents;e&&e!==t?n?-1===n.indexOf(t)&&n.push(t):this._parents=[t]:this._parent=t},t.EMPTY=function(t){return t.closed=!0,t}(new t),t}()},qgI0:function(t,e,n){"use strict";var r=n("xIGM"),o=n("NGRF"),i=n("AP4T"),l=function(t){var e=t.Symbol;if("function"==typeof e)return e.iterator||(e.iterator=e("iterator polyfill")),e.iterator;var n=t.Set;if(n&&"function"==typeof(new n)["@@iterator"])return"@@iterator";var r=t.Map;if(r)for(var o=Object.getOwnPropertyNames(r.prototype),i=0;i<o.length;++i){var l=o[i];if("entries"!==l&&"size"!==l&&r.prototype[l]===r.prototype.entries)return l}return"@@iterator"}(r.a),u=n("6Xbx"),s=function(t){function e(e,n,r){t.call(this),this.parent=e,this.outerValue=n,this.outerIndex=r,this.index=0}return Object(u.b)(e,t),e.prototype._next=function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)},e.prototype._error=function(t){this.parent.notifyError(t,this),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},e}(n("E9/g").a),a=n("mz3w");e.a=function(t,e,n,u){var c=new s(t,n,u);if(c.closed)return null;if(e instanceof i.a)return e._isScalar?(c.next(e.value),c.complete(),null):(c.syncErrorThrowable=!0,e.subscribe(c));if(e&&"number"==typeof e.length){for(var p=0,h=e.length;p<h&&!c.closed;p++)c.next(e[p]);c.closed||c.complete()}else{if(e&&"function"!=typeof e.subscribe&&"function"==typeof e.then)return e.then(function(t){c.closed||(c.next(t),c.complete())},function(t){return c.error(t)}).then(null,function(t){r.a.setTimeout(function(){throw t})}),c;if(e&&"function"==typeof e[l])for(var f=e[l]();;){var d=f.next();if(d.done){c.complete();break}if(c.next(d.value),c.closed)break}else if(e&&"function"==typeof e[a.a]){var y=e[a.a]();if("function"==typeof y.subscribe)return y.subscribe(new s(t,n,u));c.error(new TypeError("Provided object does not correctly implement Symbol.observable"))}else{var m="You provided "+(Object(o.a)(e)?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.";c.error(new TypeError(m))}}return null}},xIGM:function(t,e,n){"use strict";(function(t){n.d(e,"a",function(){return i});var r="undefined"!=typeof window&&window,o="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,i=r||void 0!==t&&t||o}).call(e,n("fRUx"))}},[0]);