(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"+tJ4":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=function(t){return function(e){for(var n=0,r=t.length;n<r&&!e.closed;n++)e.next(t[n]);e.complete()}}},"/PH2":function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n("mrSG"),i=n("MGBS"),o=n("zotm");function s(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){var n;return"function"==typeof t[t.length-1]&&(n=t.pop()),e.lift(new a(t,n))}}var a=function(){function t(t,e){this.observables=t,this.project=e}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.observables,this.project))},t}(),l=function(t){function e(e,n,r){var i=t.call(this,e)||this;i.observables=n,i.project=r,i.toRespond=[];var s=n.length;i.values=new Array(s);for(var a=0;a<s;a++)i.toRespond.push(a);for(a=0;a<s;a++){var l=n[a];i.add(Object(o.a)(i,l,l,a))}return i}return r.c(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.values[n]=e;var o=this.toRespond;if(o.length>0){var s=o.indexOf(n);-1!==s&&o.splice(s,1)}},e.prototype.notifyComplete=function(){},e.prototype._next=function(t){if(0===this.toRespond.length){var e=[t].concat(this.values);this.project?this._tryProject(e):this.destination.next(e)}},e.prototype._tryProject=function(t){var e;try{e=this.project.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)},e}(i.a)},"/WYv":function(t,e,n){"use strict";function r(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}n.d(e,"a",function(){return r})},0:function(t,e,n){t.exports=n("zUnb")},"0/uQ":function(t,e,n){"use strict";var r=n("6blF"),i=n("Fxb1"),o=n("pugT"),s=n("xTla"),a=n("JF+6"),l=n("En8+"),u=n("/WYv"),c=n("2ePl");function h(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[s.a]}(t))return function(t,e){return new r.a(function(n){var r=new o.a;return r.add(e.schedule(function(){var i=t[s.a]();r.add(i.subscribe({next:function(t){r.add(e.schedule(function(){return n.next(t)}))},error:function(t){r.add(e.schedule(function(){return n.error(t)}))},complete:function(){r.add(e.schedule(function(){return n.complete()}))}}))})),r})}(t,e);if(Object(u.a)(t))return function(t,e){return new r.a(function(n){var r=new o.a;return r.add(e.schedule(function(){return t.then(function(t){r.add(e.schedule(function(){n.next(t),r.add(e.schedule(function(){return n.complete()}))}))},function(t){r.add(e.schedule(function(){return n.error(t)}))})})),r})}(t,e);if(Object(c.a)(t))return Object(a.a)(t,e);if(function(t){return t&&"function"==typeof t[l.a]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new r.a(function(n){var r,i=new o.a;return i.add(function(){r&&"function"==typeof r.return&&r.return()}),i.add(e.schedule(function(){r=t[l.a](),i.add(e.schedule(function(){if(!n.closed){var t,e;try{var i=r.next();t=i.value,e=i.done}catch(o){return void n.error(o)}e?n.complete():(n.next(t),this.schedule())}}))})),i})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof r.a?t:new r.a(Object(i.a)(t))}n.d(e,"a",function(){return h})},"0mNj":function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("mrSG"),i=n("FFOo");function o(t){return function(e){return e.lift(new s(t))}}var s=function(){function t(t){this.total=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.total))},t}(),a=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.count=0,r}return r.c(e,t),e.prototype._next=function(t){++this.count>this.total&&this.destination.next(t)},e}(i.a)},"0zd0":function(t,e,n){"use strict";var r=n("T1DM"),i=function(){function t(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return t.prototype=Object.create(Error.prototype),t}(),o=n("mrSG"),s=n("MGBS"),a=n("zotm"),l=function(){function t(t,e,n,r){this.waitFor=t,this.absoluteTimeout=e,this.withObservable=n,this.scheduler=r}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))},t}(),u=function(t){function e(e,n,r,i,o){var s=t.call(this,e)||this;return s.absoluteTimeout=n,s.waitFor=r,s.withObservable=i,s.scheduler=o,s.action=null,s.scheduleTimeout(),s}return o.c(e,t),e.dispatchTimeout=function(t){var e=t.withObservable;t._unsubscribeAndRecycle(),t.add(Object(a.a)(t,e))},e.prototype.scheduleTimeout=function(){var t=this.action;t?this.action=t.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(e.dispatchTimeout,this.waitFor,this))},e.prototype._next=function(e){this.absoluteTimeout||this.scheduleTimeout(),t.prototype._next.call(this,e)},e.prototype._unsubscribe=function(){this.action=null,this.scheduler=null,this.withObservable=null},e}(s.a),c=n("XlPw");function h(t,e){return void 0===e&&(e=r.a),function(t,e,n){return void 0===n&&(n=r.a),function(r){var i,o=(i=t)instanceof Date&&!isNaN(+i),s=o?+t-n.now():Math.abs(t);return r.lift(new l(s,o,e,n))}}(t,Object(c.a)(new i),e)}n.d(e,"a",function(){return h})},"15JJ":function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n("mrSG"),i=n("MGBS"),o=n("rPjj"),s=n("zotm"),a=n("67Y/"),l=n("0/uQ");function u(t,e){return"function"==typeof e?function(n){return n.pipe(u(function(n,r){return Object(l.a)(t(n,r)).pipe(Object(a.a)(function(t,i){return e(n,t,r,i)}))}))}:function(e){return e.lift(new c(t))}}var c=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new h(t,this.project))},t}(),h=function(t){function e(e,n){var r=t.call(this,e)||this;return r.project=n,r.index=0,r}return r.c(e,t),e.prototype._next=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(r){return void this.destination.error(r)}this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var r=this.innerSubscription;r&&r.unsubscribe();var i=new o.a(this,e,n),a=this.destination;a.add(i),this.innerSubscription=Object(s.a)(this,t,void 0,void 0,i),this.innerSubscription!==i&&a.add(this.innerSubscription)},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this),this.unsubscribe()},e.prototype._unsubscribe=function(){this.innerSubscription=null},e.prototype.notifyComplete=function(e){this.destination.remove(e),this.innerSubscription=null,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,r,i){this.destination.next(e)},e}(i.a)},"2Bdj":function(t,e,n){"use strict";function r(t){return"function"==typeof t}n.d(e,"a",function(){return r})},"2ePl":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=function(t){return t&&"number"==typeof t.length&&"function"!=typeof t}},"60iU":function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n("G5J1"),i=n("F/XL"),o=n("XlPw"),s=function(){function t(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}return t.prototype.observe=function(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}},t.prototype.do=function(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}},t.prototype.accept=function(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)},t.prototype.toObservable=function(){switch(this.kind){case"N":return Object(i.a)(this.value);case"E":return Object(o.a)(this.error);case"C":return Object(r.a)()}throw new Error("unexpected notification kind value")},t.createNext=function(e){return void 0!==e?new t("N",e):t.undefinedValueNotification},t.createError=function(e){return new t("E",void 0,e)},t.createComplete=function(){return t.completeNotification},t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t}()},"67Y/":function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("mrSG"),i=n("FFOo");function o(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 s(t,e))}}var s=function(){function t(t,e){this.project=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.project,this.thisArg))},t}(),a=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.project=n,i.count=0,i.thisArg=r||i,i}return r.c(e,t),e.prototype._next=function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)},e}(i.a)},"6ahw":function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("iLxQ"),i=n("DKTb"),o={closed:!0,next:function(t){},error:function(t){if(r.a.useDeprecatedSynchronousErrorHandling)throw t;Object(i.a)(t)},complete:function(){}}},"6blF":function(t,e,n){"use strict";var r=n("FFOo"),i=n("L/V9"),o=n("6ahw"),s=n("xTla");var a=n("iLxQ");n.d(e,"a",function(){return l});var l=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 s=this.operator,l=function(t,e,n){if(t){if(t instanceof r.a)return t;if(t[i.a])return t[i.a]()}return t||e||n?new r.a(t,e,n):new r.a(o.a)}(t,e,n);if(l.add(s?s.call(l,this.source):this.source||a.a.useDeprecatedSynchronousErrorHandling&&!l.syncErrorThrowable?this._subscribe(l):this._trySubscribe(l)),a.a.useDeprecatedSynchronousErrorHandling&&l.syncErrorThrowable&&(l.syncErrorThrowable=!1,l.syncErrorThrown))throw l.syncErrorValue;return l},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){a.a.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){var e=t.destination;if(t.closed||t.isStopped)return!1;t=e&&e instanceof r.a?e:null}return!0}(t)?t.error(e):console.warn(e)}},t.prototype.forEach=function(t,e){var n=this;return new(e=u(e))(function(e,r){var i;i=n.subscribe(function(e){try{t(e)}catch(n){r(n),i&&i.unsubscribe()}},r,e)})},t.prototype._subscribe=function(t){var e=this.source;return e&&e.subscribe(t)},t.prototype[s.a]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 0===t.length?this:((n=t)?1===n.length?n[0]:function(t){return n.reduce(function(t,e){return e(t)},t)}:function(){})(this);var n},t.prototype.toPromise=function(t){var e=this;return new(t=u(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}();function u(t){if(t||(t=a.a.Promise||Promise),!t)throw new Error("no Promise impl found");return t}},"8g8A":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=function(){function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t}()},"9Z1F":function(t,e,n){"use strict";n.d(e,"a",function(){return a});var r=n("mrSG"),i=n("MGBS"),o=n("rPjj"),s=n("zotm");function a(t){return function(e){var n=new l(t),r=e.lift(n);return n.caught=r}}var l=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.selector,this.caught))},t}(),u=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.selector=n,i.caught=r,i}return r.c(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=void 0;try{n=this.selector(e,this.caught)}catch(a){return void t.prototype.error.call(this,a)}this._unsubscribeAndRecycle();var r=new o.a(this,void 0,void 0);this.add(r);var i=Object(s.a)(this,n,void 0,void 0,r);i!==r&&this.add(i)}},e}(i.a)},A5yv:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"g",function(){return INITIAL_OPTIONS}),__webpack_require__.d(__webpack_exports__,"f",function(){return STORE_DEVTOOLS_CONFIG}),__webpack_require__.d(__webpack_exports__,"h",function(){return createConfig}),__webpack_require__.d(__webpack_exports__,"k",function(){return DevtoolsDispatcher}),__webpack_require__.d(__webpack_exports__,"j",function(){return DevtoolsExtension}),__webpack_require__.d(__webpack_exports__,"i",function(){return REDUX_DEVTOOLS_EXTENSION}),__webpack_require__.d(__webpack_exports__,"c",function(){return IS_EXTENSION_OR_MONITOR_PRESENT}),__webpack_require__.d(__webpack_exports__,"d",function(){return createIsExtensionOrMonitorPresent}),__webpack_require__.d(__webpack_exports__,"e",function(){return createReduxDevtoolsExtension}),__webpack_require__.d(__webpack_exports__,"b",function(){return StoreDevtoolsModule}),__webpack_require__.d(__webpack_exports__,"a",function(){return StoreDevtools});var tslib__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("mrSG"),_angular_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("CcnG"),_ngrx_store__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("yGQT"),rxjs__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("G5J1"),rxjs__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("6blF"),rxjs__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("F/XL"),rxjs__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("p0ib"),rxjs__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("zo3G"),rxjs__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("S5bw"),rxjs_operators__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("S1nX"),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__("VnD/"),rxjs_operators__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__("67Y/"),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__("Phjn"),rxjs_operators__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__("0zd0"),rxjs_operators__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__("Gi3i"),rxjs_operators__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__("9Z1F"),rxjs_operators__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__("t9fZ"),rxjs_operators__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__("ny24"),rxjs_operators__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__("15JJ"),rxjs_operators__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__("0mNj"),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__("mZXl"),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__("/PH2"),rxjs_operators__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__("dC0D"),StoreDevtoolsConfig=function(){return function(){}}(),STORE_DEVTOOLS_CONFIG=new _angular_core__WEBPACK_IMPORTED_MODULE_1__.m("@ngrx/devtools Options"),INITIAL_OPTIONS=new _angular_core__WEBPACK_IMPORTED_MODULE_1__.m("@ngrx/devtools Initial Config");function noMonitor(){return null}var DEFAULT_NAME="NgRx Store DevTools";function createConfig(t){var e={maxAge:!1,monitor:noMonitor,actionSanitizer:void 0,stateSanitizer:void 0,name:DEFAULT_NAME,serialize:!1,logOnly:!1,features:{pause:!0,lock:!0,persist:!0,export:!0,import:"custom",jump:!0,skip:!0,reorder:!0,dispatch:!0,test:!0}},n="function"==typeof t?t():t,r=Object.assign({},e,{features:n.features||!!n.logOnly&&{pause:!0,export:!0,test:!0}||e.features},n);if(r.maxAge&&r.maxAge<2)throw new Error("Devtools 'maxAge' cannot be less than 2, got "+r.maxAge);return r}var PERFORM_ACTION="PERFORM_ACTION",REFRESH="REFRESH",RESET="RESET",ROLLBACK="ROLLBACK",COMMIT="COMMIT",SWEEP="SWEEP",TOGGLE_ACTION="TOGGLE_ACTION",SET_ACTIONS_ACTIVE="SET_ACTIONS_ACTIVE",JUMP_TO_STATE="JUMP_TO_STATE",JUMP_TO_ACTION="JUMP_TO_ACTION",IMPORT_STATE="IMPORT_STATE",LOCK_CHANGES="LOCK_CHANGES",PAUSE_RECORDING="PAUSE_RECORDING",PerformAction=function(){return function(t,e){if(this.action=t,this.timestamp=e,this.type=PERFORM_ACTION,void 0===t.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?')}}(),Refresh=function(){return function(){this.type=REFRESH}}(),Reset=function(){return function(t){this.timestamp=t,this.type=RESET}}(),Rollback=function(){return function(t){this.timestamp=t,this.type=ROLLBACK}}(),Commit=function(){return function(t){this.timestamp=t,this.type=COMMIT}}(),Sweep=function(){return function(){this.type=SWEEP}}(),ToggleAction=function(){return function(t){this.id=t,this.type=TOGGLE_ACTION}}(),JumpToState=function(){return function(t){this.index=t,this.type=JUMP_TO_STATE}}(),JumpToAction=function(){return function(t){this.actionId=t,this.type=JUMP_TO_ACTION}}(),ImportState=function(){return function(t){this.nextLiftedState=t,this.type=IMPORT_STATE}}(),LockChanges=function(){return function(t){this.status=t,this.type=LOCK_CHANGES}}(),PauseRecording=function(){return function(t){this.status=t,this.type=PAUSE_RECORDING}}(),DevtoolsDispatcher=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(tslib__WEBPACK_IMPORTED_MODULE_0__.c)(e,t),e}(_ngrx_store__WEBPACK_IMPORTED_MODULE_2__.a);function difference(t,e){return t.filter(function(t){return e.indexOf(t)<0})}function unliftState(t){var e=t.computedStates,n=t.currentStateIndex;return n>=e.length?e[e.length-1].state:e[n].state}function liftAction(t){return new PerformAction(t,+Date.now())}function sanitizeActions(t,e){return Object.keys(e).reduce(function(n,r){var i=Number(r);return n[i]=sanitizeAction(t,e[i],i),n},{})}function sanitizeAction(t,e,n){return Object(tslib__WEBPACK_IMPORTED_MODULE_0__.a)({},e,{action:t(e.action,n)})}function sanitizeStates(t,e){return e.map(function(e,n){return{state:sanitizeState(t,e.state,n),error:e.error}})}function sanitizeState(t,e,n){return t(e,n)}function shouldFilterActions(t){return t.predicate||t.actionsSafelist||t.actionsBlocklist}function filterLiftedState(t,e,n,r){var i=[],o={},s=[];return t.stagedActionIds.forEach(function(a,l){var u=t.actionsById[a];u&&(l&&isActionFiltered(t.computedStates[l],u,e,n,r)||(o[a]=u,i.push(a),s.push(t.computedStates[l])))}),Object(tslib__WEBPACK_IMPORTED_MODULE_0__.a)({},t,{stagedActionIds:i,actionsById:o,computedStates:s})}function isActionFiltered(t,e,n,r,i){var o=n&&!n(t,e.action),s=r&&!e.action.type.match(r.map(function(t){return escapeRegExp(t)}).join("|")),a=i&&e.action.type.match(i.map(function(t){return escapeRegExp(t)}).join("|"));return o||s||a}function escapeRegExp(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}var ExtensionActionTypes={START:"START",DISPATCH:"DISPATCH",STOP:"STOP",ACTION:"ACTION"},REDUX_DEVTOOLS_EXTENSION=new _angular_core__WEBPACK_IMPORTED_MODULE_1__.m("Redux Devtools Extension"),DevtoolsExtension=function(){function DevtoolsExtension(t,e,n){this.config=e,this.dispatcher=n,this.devtoolsExtension=t,this.createActionStreams()}return DevtoolsExtension.prototype.notify=function(t,e){var n=this;if(this.devtoolsExtension)if(t.type===PERFORM_ACTION){if(e.isLocked||e.isPaused)return;var r=unliftState(e);if(shouldFilterActions(this.config)&&isActionFiltered(r,t,this.config.predicate,this.config.actionsSafelist,this.config.actionsBlocklist))return;var i=this.config.stateSanitizer?sanitizeState(this.config.stateSanitizer,r,e.currentStateIndex):r,o=this.config.actionSanitizer?sanitizeAction(this.config.actionSanitizer,t,e.nextActionId):t;this.sendToReduxDevtools(function(){return n.extensionConnection.send(o,i)})}else{var s=Object(tslib__WEBPACK_IMPORTED_MODULE_0__.a)({},e,{stagedActionIds:e.stagedActionIds,actionsById:this.config.actionSanitizer?sanitizeActions(this.config.actionSanitizer,e.actionsById):e.actionsById,computedStates:this.config.stateSanitizer?sanitizeStates(this.config.stateSanitizer,e.computedStates):e.computedStates});this.sendToReduxDevtools(function(){return n.devtoolsExtension.send(null,s,n.getExtensionConfig(n.config))})}},DevtoolsExtension.prototype.createChangesObservable=function(){var t=this;return this.devtoolsExtension?new rxjs__WEBPACK_IMPORTED_MODULE_4__.a(function(e){var n=t.devtoolsExtension.connect(t.getExtensionConfig(t.config));return t.extensionConnection=n,n.init(),n.subscribe(function(t){return e.next(t)}),n.unsubscribe}):Object(rxjs__WEBPACK_IMPORTED_MODULE_3__.a)()},DevtoolsExtension.prototype.createActionStreams=function(){var t=this,e=this.createChangesObservable().pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_9__.a)()),n=e.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.a)(function(t){return t.type===ExtensionActionTypes.START})),r=e.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.a)(function(t){return t.type===ExtensionActionTypes.STOP})),i=e.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.a)(function(t){return t.type===ExtensionActionTypes.DISPATCH}),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.a)(function(e){return t.unwrapAction(e.payload)}),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.a)(function(e){return e.type===IMPORT_STATE?t.dispatcher.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.a)(function(t){return t.type===_ngrx_store__WEBPACK_IMPORTED_MODULE_2__.r}),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.a)(1e3),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.a)(1e3),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.a)(function(){return e}),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.a)(function(){return Object(rxjs__WEBPACK_IMPORTED_MODULE_5__.a)(e)}),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_16__.a)(1)):Object(rxjs__WEBPACK_IMPORTED_MODULE_5__.a)(e)})),o=e.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.a)(function(t){return t.type===ExtensionActionTypes.ACTION}),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.a)(function(e){return t.unwrapAction(e.payload)})).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.a)(r)),s=i.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.a)(r));this.start$=n.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.a)(r)),this.actions$=this.start$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_18__.a)(function(){return o})),this.liftedActions$=this.start$.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_18__.a)(function(){return s}))},DevtoolsExtension.prototype.unwrapAction=function(action){return"string"==typeof action?eval("("+action+")"):action},DevtoolsExtension.prototype.getExtensionConfig=function(t){var e={name:t.name,features:t.features,serialize:t.serialize};return!1!==t.maxAge&&(e.maxAge=t.maxAge),e},DevtoolsExtension.prototype.sendToReduxDevtools=function(t){try{t()}catch(e){console.warn("@ngrx/store-devtools: something went wrong inside the redux devtools",e)}},DevtoolsExtension}(),INIT_ACTION={type:_ngrx_store__WEBPACK_IMPORTED_MODULE_2__.c},RECOMPUTE="@ngrx/store-devtools/recompute",RECOMPUTE_ACTION={type:RECOMPUTE};function computeNextEntry(t,e,n,r,i){if(r)return{state:n,error:"Interrupted by an error up the chain"};var o,s=n;try{s=t(n,e)}catch(a){o=a.toString(),i.handleError(a.stack||a)}return{state:s,error:o}}function recomputeStates(t,e,n,r,i,o,s,a,l){if(e>=t.length&&t.length===o.length)return t;for(var u=t.slice(0,e),c=o.length-(l?1:0),h=e;h<c;h++){var p=o[h],f=i[p].action,d=u[h-1],m=d?d.state:r,y=d?d.error:void 0,g=s.indexOf(p)>-1?d:computeNextEntry(n,f,m,y,a);u.push(g)}return l&&u.push(t[t.length-1]),u}function liftInitialState(t,e){return{monitorState:e(void 0,{}),nextActionId:1,actionsById:{0:liftAction(INIT_ACTION)},stagedActionIds:[0],skippedActionIds:[],committedState:t,currentStateIndex:0,computedStates:[],isLocked:!1,isPaused:!1}}function liftReducerWith(t,e,n,r,i){return void 0===i&&(i={}),function(o){return function(s,a){var l,u=s||e,c=u.monitorState,h=u.actionsById,p=u.nextActionId,f=u.stagedActionIds,d=u.skippedActionIds,m=u.committedState,y=u.currentStateIndex,g=u.computedStates,v=u.isLocked,b=u.isPaused;function _(t){for(var e=t,n=f.slice(1,e+1),r=0;r<n.length;r++){if(g[r+1].error){n=f.slice(1,(e=r)+1);break}delete h[n[r]]}d=d.filter(function(t){return-1===n.indexOf(t)}),f=Object(tslib__WEBPACK_IMPORTED_MODULE_0__.g)([0],f.slice(e+1)),m=g[e].state,g=g.slice(e),y=y>e?y-e:0}function E(){h={0:liftAction(INIT_ACTION)},p=1,f=[0],d=[],m=g[y].state,y=0,g=[]}s||(h=Object.create(h));var w=0;switch(a.type){case LOCK_CHANGES:v=a.status,w=1/0;break;case PAUSE_RECORDING:(b=a.status)?(f=Object(tslib__WEBPACK_IMPORTED_MODULE_0__.g)(f,[p]),h[p]=new PerformAction({type:"@ngrx/devtools/pause"},+Date.now()),p++,w=f.length-1,g=g.concat(g[g.length-1]),y===f.length-2&&y++,w=1/0):E();break;case RESET:h={0:liftAction(INIT_ACTION)},p=1,f=[0],d=[],m=t,y=0,g=[];break;case COMMIT:E();break;case ROLLBACK:h={0:liftAction(INIT_ACTION)},p=1,f=[0],d=[],y=0,g=[];break;case TOGGLE_ACTION:var x=a.id,C=d.indexOf(x);d=-1===C?Object(tslib__WEBPACK_IMPORTED_MODULE_0__.g)([x],d):d.filter(function(t){return t!==x}),w=f.indexOf(x);break;case SET_ACTIONS_ACTIVE:for(var S=a.start,A=a.end,P=a.active,T=[],k=S;k<A;k++)T.push(k);d=P?difference(d,T):Object(tslib__WEBPACK_IMPORTED_MODULE_0__.g)(d,T),w=f.indexOf(S);break;case JUMP_TO_STATE:y=a.index,w=1/0;break;case JUMP_TO_ACTION:-1!==(C=f.indexOf(a.actionId))&&(y=C),w=1/0;break;case SWEEP:f=difference(f,d),d=[],y=Math.min(y,f.length-1);break;case PERFORM_ACTION:if(v)return s||e;if(b||s&&isActionFiltered(s.computedStates[y],a,i.predicate,i.actionsSafelist,i.actionsBlocklist)){var D=g[g.length-1];g=Object(tslib__WEBPACK_IMPORTED_MODULE_0__.g)(g.slice(0,-1),[computeNextEntry(o,a.action,D.state,D.error,n)]),w=1/0;break}i.maxAge&&f.length===i.maxAge&&_(1),y===f.length-1&&y++;var I=p++;h[I]=a,w=(f=Object(tslib__WEBPACK_IMPORTED_MODULE_0__.g)(f,[I])).length-1;break;case IMPORT_STATE:c=(l=a.nextLiftedState).monitorState,h=l.actionsById,p=l.nextActionId,f=l.stagedActionIds,d=l.skippedActionIds,m=l.committedState,y=l.currentStateIndex,g=l.computedStates,v=l.isLocked,b=l.isPaused;break;case _ngrx_store__WEBPACK_IMPORTED_MODULE_2__.c:w=0,i.maxAge&&f.length>i.maxAge&&(g=recomputeStates(g,w,o,m,h,f,d,n,b),_(f.length-i.maxAge),w=1/0);break;case _ngrx_store__WEBPACK_IMPORTED_MODULE_2__.r:g.filter(function(t){return t.error}).length>0?(w=0,i.maxAge&&f.length>i.maxAge&&(g=recomputeStates(g,w,o,m,h,f,d,n,b),_(f.length-i.maxAge),w=1/0)):(b||v||(y===f.length-1&&y++,I=p++,h[I]=new PerformAction(a,+Date.now()),f=Object(tslib__WEBPACK_IMPORTED_MODULE_0__.g)(f,[I]),g=recomputeStates(g,w=f.length-1,o,m,h,f,d,n,b)),g=g.map(function(t){return Object(tslib__WEBPACK_IMPORTED_MODULE_0__.a)({},t,{state:o(t.state,RECOMPUTE_ACTION)})}),y=f.length-1,i.maxAge&&f.length>i.maxAge&&_(f.length-i.maxAge),w=1/0);break;default:w=1/0}return g=recomputeStates(g,w,o,m,h,f,d,n,b),{monitorState:c=r(c,a),actionsById:h,nextActionId:p,stagedActionIds:f,skippedActionIds:d,committedState:m,currentStateIndex:y,computedStates:g,isLocked:v,isPaused:b}}}}var StoreDevtools=function(){function t(t,e,n,r,i,o,s,a){var l=this,u=liftInitialState(s,a.monitor),c=liftReducerWith(s,u,o,a.monitor,a),h=Object(rxjs__WEBPACK_IMPORTED_MODULE_6__.a)(Object(rxjs__WEBPACK_IMPORTED_MODULE_6__.a)(e.asObservable().pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_19__.a)(1)),r.actions$).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.a)(liftAction)),t,r.liftedActions$).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.b)(rxjs__WEBPACK_IMPORTED_MODULE_7__.a)),p=n.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.a)(c)),f=new rxjs__WEBPACK_IMPORTED_MODULE_8__.a(1),d=h.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.a)(p),Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_22__.a)(function(t,e){var n=t.state,i=Object(tslib__WEBPACK_IMPORTED_MODULE_0__.f)(e,2),o=i[0],s=(0,i[1])(n,o);return o.type!==PERFORM_ACTION&&shouldFilterActions(a)&&(s=filterLiftedState(s,a.predicate,a.actionsSafelist,a.actionsBlocklist)),r.notify(o,s),{state:s,action:o}},{state:u,action:null})).subscribe(function(t){var e=t.action;f.next(t.state),e.type===PERFORM_ACTION&&i.next(e.action)}),m=r.start$.subscribe(function(){l.refresh()}),y=f.asObservable(),g=y.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_11__.a)(unliftState));this.extensionStartSubscription=m,this.stateSubscription=d,this.dispatcher=t,this.liftedState=y,this.state=g}return t.prototype.dispatch=function(t){this.dispatcher.next(t)},t.prototype.next=function(t){this.dispatcher.next(t)},t.prototype.error=function(t){},t.prototype.complete=function(){},t.prototype.performAction=function(t){this.dispatch(new PerformAction(t,+Date.now()))},t.prototype.refresh=function(){this.dispatch(new Refresh)},t.prototype.reset=function(){this.dispatch(new Reset(+Date.now()))},t.prototype.rollback=function(){this.dispatch(new Rollback(+Date.now()))},t.prototype.commit=function(){this.dispatch(new Commit(+Date.now()))},t.prototype.sweep=function(){this.dispatch(new Sweep)},t.prototype.toggleAction=function(t){this.dispatch(new ToggleAction(t))},t.prototype.jumpToAction=function(t){this.dispatch(new JumpToAction(t))},t.prototype.jumpToState=function(t){this.dispatch(new JumpToState(t))},t.prototype.importState=function(t){this.dispatch(new ImportState(t))},t.prototype.lockChanges=function(t){this.dispatch(new LockChanges(t))},t.prototype.pauseRecording=function(t){this.dispatch(new PauseRecording(t))},t}(),IS_EXTENSION_OR_MONITOR_PRESENT=new _angular_core__WEBPACK_IMPORTED_MODULE_1__.m("Is Devtools Extension or Monitor Present");function createIsExtensionOrMonitorPresent(t,e){return Boolean(t)||e.monitor!==noMonitor}function createReduxDevtoolsExtension(){return"object"==typeof window&&void 0!==window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:null}function createStateObservable(t){return t.state}var StoreDevtoolsModule=function(){function t(){}var e;return e=t,t.instrument=function(t){return void 0===t&&(t={}),{ngModule:e,providers:[DevtoolsExtension,DevtoolsDispatcher,StoreDevtools,{provide:INITIAL_OPTIONS,useValue:t},{provide:IS_EXTENSION_OR_MONITOR_PRESENT,deps:[REDUX_DEVTOOLS_EXTENSION,STORE_DEVTOOLS_CONFIG],useFactory:createIsExtensionOrMonitorPresent},{provide:REDUX_DEVTOOLS_EXTENSION,useFactory:createReduxDevtoolsExtension},{provide:STORE_DEVTOOLS_CONFIG,deps:[INITIAL_OPTIONS],useFactory:createConfig},{provide:_ngrx_store__WEBPACK_IMPORTED_MODULE_2__.n,deps:[StoreDevtools],useFactory:createStateObservable},{provide:_ngrx_store__WEBPACK_IMPORTED_MODULE_2__.i,useExisting:DevtoolsDispatcher}]}},t}()},CS9Q:function(t,e,n){"use strict";var r=n("mrSG"),i=function(){function t(e,n){void 0===n&&(n=t.now),this.SchedulerAction=e,this.now=n}return t.prototype.schedule=function(t,e,n){return void 0===e&&(e=0),new this.SchedulerAction(this,t).schedule(n,e)},t.now=function(){return Date.now()},t}();n.d(e,"a",function(){return o});var o=function(t){function e(n,r){void 0===r&&(r=i.now);var o=t.call(this,n,function(){return e.delegate&&e.delegate!==o?e.delegate.now():r()})||this;return o.actions=[],o.active=!1,o.scheduled=void 0,o}return r.c(e,t),e.prototype.schedule=function(n,r,i){return void 0===r&&(r=0),e.delegate&&e.delegate!==this?e.delegate.schedule(n,r,i):t.prototype.schedule.call(this,n,r,i)},e.prototype.flush=function(t){var e=this.actions;if(this.active)e.push(t);else{var n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}},e}(i)},CcnG:function(t,e,n){"use strict";n.d(e,"Z",function(){return Ys}),n.d(e,"ab",function(){return Qs}),n.d(e,"bb",function(){return Xs}),n.d(e,"cb",function(){return Js}),n.d(e,"Y",function(){return Xo}),n.d(e,"X",function(){return Wo}),n.d(e,"e",function(){return Vs}),n.d(e,"J",function(){return Ms}),n.d(e,"s",function(){return Os}),n.d(e,"K",function(){return ve}),n.d(e,"N",function(){return ge}),n.d(e,"a",function(){return Qo}),n.d(e,"w",function(){return $o}),n.d(e,"v",function(){return ts}),n.d(e,"b",function(){return Zo}),n.d(e,"c",function(){return Yo}),n.d(e,"M",function(){return Ws}),n.d(e,"E",function(){return As}),n.d(e,"P",function(){return Ts}),n.d(e,"q",function(){return Zs}),n.d(e,"d",function(){return $s}),n.d(e,"k",function(){return qo}),n.d(e,"j",function(){return de}),n.d(e,"A",function(){return Ge}),n.d(e,"B",function(){return ze}),n.d(e,"H",function(){return X}),n.d(e,"F",function(){return Tr}),n.d(e,"Bb",function(){return g}),n.d(e,"L",function(){return w}),n.d(e,"n",function(){return R}),n.d(e,"Fb",function(){return k}),n.d(e,"m",function(){return D}),n.d(e,"l",function(){return h}),n.d(e,"u",function(){return p}),n.d(e,"C",function(){return d}),n.d(e,"t",function(){return bs}),n.d(e,"x",function(){return Ar}),n.d(e,"y",function(){return Cr}),n.d(e,"z",function(){return Sr}),n.d(e,"g",function(){return cs}),n.d(e,"h",function(){return mr}),n.d(e,"i",function(){return Er}),n.d(e,"r",function(){return vr}),n.d(e,"D",function(){return Kr}),n.d(e,"G",function(){return Yr}),n.d(e,"f",function(){return Gr}),n.d(e,"o",function(){return Br}),n.d(e,"p",function(){return zr}),n.d(e,"I",function(){return or}),n.d(e,"O",function(){return Ks}),n.d(e,"kb",function(){return sr}),n.d(e,"S",function(){return ns}),n.d(e,"Q",function(){return ur}),n.d(e,"R",function(){return yr}),n.d(e,"T",function(){return Le}),n.d(e,"U",function(){return We}),n.d(e,"V",function(){return we}),n.d(e,"ib",function(){return A}),n.d(e,"nb",function(){return rr}),n.d(e,"wb",function(){return _}),n.d(e,"lb",function(){return tr}),n.d(e,"mb",function(){return $n}),n.d(e,"Ab",function(){return at}),n.d(e,"Cb",function(){return Zn}),n.d(e,"Eb",function(){return Yn}),n.d(e,"Db",function(){return Qn}),n.d(e,"W",function(){return ta}),n.d(e,"db",function(){return ro}),n.d(e,"eb",function(){return wl}),n.d(e,"fb",function(){return di}),n.d(e,"gb",function(){return To}),n.d(e,"hb",function(){return ea}),n.d(e,"jb",function(){return zi}),n.d(e,"ob",function(){return Zi}),n.d(e,"pb",function(){return Ki}),n.d(e,"qb",function(){return ha}),n.d(e,"rb",function(){return mo}),n.d(e,"sb",function(){return ko}),n.d(e,"ub",function(){return Do}),n.d(e,"tb",function(){return fa}),n.d(e,"vb",function(){return sa}),n.d(e,"xb",function(){return da}),n.d(e,"yb",function(){return hi}),n.d(e,"zb",function(){return ga});var r=n("mrSG"),i=n("pugT"),o=n("K9Ia"),s=n("6blF"),a=n("p0ib"),l=n("S1nX"),u="__parameters__";function c(t,e,n){var i=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(t){var i=t.apply(void 0,Object(r.g)(e));for(var o in i)this[o]=i[o]}}}(e);function o(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(this instanceof o)return i.apply(this,e),this;var s=new((t=o).bind.apply(t,Object(r.g)([void 0],e)));return a.annotation=s,a;function a(t,e,n){for(var r=t.hasOwnProperty(u)?t[u]:Object.defineProperty(t,u,{value:[]})[u];r.length<=n;)r.push(null);return(r[n]=r[n]||[]).push(s),t}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o}var h=c("Inject",function(t){return{token:t}}),p=c("Optional"),f=c("Self"),d=c("SkipSelf"),m=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({});function y(t){for(var e in t)if(t[e]===y)return e;throw Error("Could not find renamed property on target object.")}function g(t){return{providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function v(t){return t&&t.hasOwnProperty(b)?t[b]:null}var b=y({ngInjectableDef:y});function _(t){if("string"==typeof t)return t;if(t instanceof Array)return"["+t.map(_).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)}var E=y({__forward_ref__:y});function w(t){return t.__forward_ref__=w,t.toString=function(){return _(this())},t}function x(t){var e=t;return"function"==typeof e&&e.hasOwnProperty(E)&&e.__forward_ref__===w?e():t}function C(){var t="undefined"!=typeof globalThis&&globalThis,e="undefined"!=typeof window&&window,n="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,r="undefined"!=typeof global&&global;return t||r||e||n}var S,A=C(),P=void 0;function T(t){var e=P;return P=t,e}function k(t,e){return void 0===e&&(e=m.Default),(S||function(t,e){if(void 0===e&&(e=m.Default),void 0===P)throw new Error("inject() must be called from an injection context");return null===P?function(t,e,n){var r=v(t);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&m.Optional)return null;throw new Error("Injector: NOT_FOUND ["+_(t)+"]")}(t,0,e):P.get(t,e&m.Optional?null:void 0,e)})(t,e)}var D=function(){function t(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.ngInjectableDef=g({providedIn:e.providedIn||"root",factory:e.factory}))}return t.prototype.toString=function(){return"InjectionToken "+this._desc},t}(),I="__source",O=new Object,M=new D("INJECTOR",-1),F=function(){function t(){}return t.prototype.get=function(t,e){if(void 0===e&&(e=O),e===O){var n=new Error("NullInjectorError: No provider for "+_(t)+"!");throw n.name="NullInjectorError",n}return e},t}(),R=function(){function t(){}return t.create=function(t,e){return Array.isArray(t)?new H(t,e):new H(t.providers,t.parent,t.name||null)},t.THROW_IF_NOT_FOUND=O,t.NULL=new F,t.ngInjectableDef=g({providedIn:"any",factory:function(){return k(M)}}),t.__NG_ELEMENT_ID__=-1,t}(),N=function(t){return t},V=[],j=N,L=function(){return Array.prototype.slice.call(arguments)},B=y({provide:String,useValue:y}),z=/\n/gm,G="\u0275",H=function(){function t(t,e,n){void 0===e&&(e=R.NULL),void 0===n&&(n=null),this.parent=e,this.source=n;var r=this._records=new Map;r.set(R,{token:R,fn:N,deps:V,value:this,useNew:!1}),r.set(M,{token:M,fn:N,deps:V,value:this,useNew:!1}),function t(e,n){if(n)if((n=x(n))instanceof Array)for(var r=0;r<n.length;r++)t(e,n[r]);else{if("function"==typeof n)throw q("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw q("Unexpected provider",n);var i=x(n.provide),o=function(t){var e=function(t){var e=V,n=t.deps;if(n&&n.length){e=[];for(var r=0;r<n.length;r++){var i=6;if((l=x(n[r]))instanceof Array)for(var o=0,s=l;o<s.length;o++){var a=s[o];a instanceof p||a==p?i|=1:a instanceof d||a==d?i&=-3:a instanceof f||a==f?i&=-5:l=a instanceof h?a.token:x(a)}e.push({token:l,options:i})}}else if(t.useExisting){var l;e=[{token:l=x(t.useExisting),options:6}]}else if(!(n||B in t))throw q("'deps' required",t);return e}(t),n=N,r=V,i=!1,o=x(t.provide);if(B in t)r=t.useValue;else if(t.useFactory)n=t.useFactory;else if(t.useExisting);else if(t.useClass)i=!0,n=x(t.useClass);else{if("function"!=typeof o)throw q("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",t);i=!0,n=o}return{deps:e,fn:n,useNew:i,value:r}}(n);if(!0===n.multi){var s=e.get(i);if(s){if(s.fn!==L)throw U(i)}else e.set(i,s={token:n.provide,deps:[],useNew:!1,fn:L,value:V});s.deps.push({token:i=n,options:6})}var a=e.get(i);if(a&&a.fn==L)throw U(i);e.set(i,o)}}(r,t)}return t.prototype.get=function(t,e,n){void 0===n&&(n=m.Default);var i=this._records.get(t);try{return function t(e,n,i,o,s,a){try{return function(e,n,i,o,s,a){var l,u;if(!n||a&m.SkipSelf)a&m.Self||(u=o.get(e,s,m.Default));else{if((u=n.value)==j)throw Error(G+"Circular dependency");if(u===V){n.value=j;var c=n.useNew,h=n.fn,p=n.deps,f=V;if(p.length){f=[];for(var d=0;d<p.length;d++){var y=p[d],g=y.options,v=2&g?i.get(y.token):void 0;f.push(t(y.token,v,i,v||4&g?o:R.NULL,1&g?null:R.THROW_IF_NOT_FOUND,m.Default))}}n.value=u=c?new((l=h).bind.apply(l,Object(r.g)([void 0],f))):h.apply(void 0,f)}}return u}(e,n,i,o,s,a)}catch(l){throw l instanceof Error||(l=new Error(l)),(l.ngTempTokenPath=l.ngTempTokenPath||[]).unshift(e),n&&n.value==j&&(n.value=V),l}}(t,i,this._records,this.parent,e,n)}catch(o){return function(t,e,n,r){var i=t.ngTempTokenPath;throw e[I]&&i.unshift(e[I]),t.message=W("\n"+t.message,i,"StaticInjectorError",r),t.ngTokenPath=i,t.ngTempTokenPath=null,t}(o,t,0,this.source)}},t.prototype.toString=function(){var t=[];return this._records.forEach(function(e,n){return t.push(_(n))}),"StaticInjector["+t.join(", ")+"]"},t}();function U(t){return q("Cannot mix multi providers and regular providers",t)}function W(t,e,n,r){void 0===r&&(r=null),t=t&&"\n"===t.charAt(0)&&t.charAt(1)==G?t.substr(2):t;var i=_(e);if(e instanceof Array)i=e.map(_).join(" -> ");else if("object"==typeof e){var o=[];for(var s in e)if(e.hasOwnProperty(s)){var a=e[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):_(a)))}i="{"+o.join(", ")+"}"}return n+(r?"("+r+")":"")+"["+i+"]: "+t.replace(z,"\n  ")}function q(t,e){return new Error(W(t,e,"StaticInjectorError"))}var K="ngDebugContext",Z="ngOriginalError",Y="ngErrorLogger",Q=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}({}),X=function(t){return t[t.Emulated=0]="Emulated",t[t.Native=1]="Native",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({}),J={},$=[],tt=y({ngComponentDef:y}),et=y({ngDirectiveDef:y}),nt=y({ngPipeDef:y}),rt=0;function it(t){return function(t){return t[tt]||null}(t)||function(t){return t[et]||null}(t)}function ot(t){return function(t){return t[nt]||null}(t)}function st(t,e){if(null==t)return J;var n={};for(var r in t)if(t.hasOwnProperty(r)){var i=t[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,e&&(e[i]=o)}return n}var at=function(t){var e=t.type,n=e.prototype,r={},i={type:e,providersResolver:null,consts:t.consts,vars:t.vars,factory:t.factory,template:t.template||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,contentQueries:t.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:t.exportAs||null,onChanges:null,onInit:n.ngOnInit||null,doCheck:n.ngDoCheck||null,afterContentInit:n.ngAfterContentInit||null,afterContentChecked:n.ngAfterContentChecked||null,afterViewInit:n.ngAfterViewInit||null,afterViewChecked:n.ngAfterViewChecked||null,onDestroy:n.ngOnDestroy||null,onPush:t.changeDetection===Q.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||X.Emulated,id:"c",styles:t.styles||$,_:null,setInput:null,schemas:t.schemas||null};return i._=""+{toString:function(){var n=t.directives,o=t.features,s=t.pipes;i.id+=rt++,i.inputs=st(t.inputs,r),i.outputs=st(t.outputs),o&&o.forEach(function(t){return t(i)}),i.directiveDefs=n?function(){return("function"==typeof n?n():n).map(it)}:null,i.pipeDefs=s?function(){return("function"==typeof s?s():s).map(ot)}:null,e.hasOwnProperty(b)||(e[b]=g({factory:t.factory}))}},i},lt=function(){return("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(A)}(),ut=0,ct=1,ht=2,pt=3,ft=4,dt=6,mt=7,yt=9,gt=11,vt=12,bt=14,_t=18,Et=20,wt=1,xt=2,Ct=8,St="__ngContext__";function At(t){for(;Array.isArray(t);)t=t[ut];return t}function Pt(t){return Array.isArray(t)&&"object"==typeof t[wt]}function Tt(t,e){return e[ct].data[t+Et]}function kt(t){var e=function(t){return t[St]}(t);return e?Array.isArray(e)?e:e.lView:null}function Dt(t){t[_t]=0}var It=9;function Ot(t,e,n,r,i,o){if(!r){var s=(3&t[ht])===i?e:n;s&&function(t,e,n,r){for(var i=null!=r?r:-1,o=0,s=void 0!==r?65535&t[_t]:0;s<e.length;s++)if("number"==typeof e[s+1]){if(o=e[s],null!=r&&o>=r)break}else e[s]<0&&(t[_t]+=65536),(o<i||-1==i)&&(Mt(t,n,e,s),t[_t]=(4294901760&t[_t])+s+2),s++}(t,s,i,o),null==o&&(3&t[ht])===i&&3!==i&&(t[ht]&=1023,t[ht]+=1)}}function Mt(t,e,n,r){var i=n[r]<0,o=n[r+1],s=t[i?-n[r]:n[r]];i?t[ht]>>10<t[_t]>>16&&(3&t[ht])===e&&(t[ht]+=1024,o.call(s)):o.call(s)}var Ft=null;function Rt(t){Ft=t}function Nt(){return Lt}var Vt,jt,Lt,Bt=1,zt=Bt,Gt=0,Ht=0;function Ut(t){void 0===t&&(t=null),$t!==t&&(ee(null==t?-1:t),zt=Bt,Gt=0,Ht=0)}function Wt(){return Vt}function qt(t){Vt=t}function Kt(t){jt=t}function Zt(t){return void 0===t&&(t=Lt),4==(4&t[ht])}var Yt=!1;function Qt(){return Yt}function Xt(t,e){var n=Lt;return Vt=e,jt=!0,Lt=t,n}function Jt(t){var e=Lt[ct];if(Zt(Lt))Lt[ht]&=-5;else try{Dt(Lt),Ot(Lt,e.viewHooks,e.viewCheckHooks,Yt,2,void 0)}finally{Lt[ht]&=-73,Lt[mt]=e.bindingStartIndex}Rt(null),Xt(t,null)}var $t=-1;function te(){return $t}function ee(t){$t=t,Rt(null)}var ne=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({});function re(t){return!!t.listen}var ie=function(){function t(){this._players=[]}return t.prototype.flushPlayers=function(){for(var t=0;t<this._players.length;t++){var e=this._players[t];e.parent||0!==e.state||e.play()}this._players.length=0},t.prototype.queuePlayer=function(t){this._players.push(t)},t}(),oe=0;function se(t,e,n,r){var i=[t||null,0,[],n||[null,null],r||[null,null],[0,0],[0],[0],null,null];return ae(i,oe),i}function ae(t,e,n,r){void 0===n&&(n=-1);for(var i=t[2],o=2*e,s=o+2,a=i.length;a<s;a+=2)i.push(-1,null);var l=o+0;n>=0&&-1===i[l]&&(i[l]=n,i[o+1]=r||null)}function le(t,e,n,r,i,o){return o=o||n,i?t[i]=r:t.push(r),!!r&&(r.addEventListener(200,function(){var e=t.indexOf(r);e&&(e<t[0]?t[e]=null:t.splice(e,1)),r.destroy()}),(e.playerHandler||(e.playerHandler=new ie)).queuePlayer(r,o),!0)}function ue(t){var e,n=t[pt];return e=n,Array.isArray(e)&&!0===e[wt]?n[pt]:n}function ce(t){return function(t){for(var e=Pt(t)?t:kt(t);e&&!(512&e[ht]);)e=ue(e);return e}(t)[yt]}function he(t){return t[K]}function pe(t){return t[Z]}function fe(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];t.error.apply(t,Object(r.g)(e))}var de=function(){function t(){this._console=console}return t.prototype.handleError=function(t){var e=this._findOriginalError(t),n=this._findContext(t),r=function(t){return t[Y]||fe}(t);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?he(t)?he(t):this._findContext(pe(t)):null},t.prototype._findOriginalError=function(t){for(var e=pe(t);e&&pe(e);)e=pe(e);return e},t}(),me=!0,ye=!1;function ge(){return ye=!0,me}function ve(){if(ye)throw new Error("Cannot enable prod mode after platform setup.");me=!1}var be=function(){function t(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertBodyElement=this.inertDocument.body,null==this.inertBodyElement){var e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e),this.inertBodyElement=this.inertDocument.createElement("body"),e.appendChild(this.inertBodyElement)}this.inertBodyElement.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(t){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return t.prototype.getInertBodyElement_XHR=function(t){t="<body><remove></remove>"+t+"</body>";try{t=encodeURI(t)}catch(r){return null}var e=new XMLHttpRequest;e.responseType="document",e.open("GET","data:text/html;charset=utf-8,"+t,!1),e.send(void 0);var n=e.response.body;return n.removeChild(n.firstChild),n},t.prototype.getInertBodyElement_DOMParser=function(t){t="<body><remove></remove>"+t+"</body>";try{var e=(new window.DOMParser).parseFromString(t,"text/html").body;return e.removeChild(e.firstChild),e}catch(n){return null}},t.prototype.getInertBodyElement_InertDocument=function(t){var e=this.inertDocument.createElement("template");return"content"in e?(e.innerHTML=t,e):(this.inertBodyElement.innerHTML=t,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},t.prototype.stripCustomNsAttrs=function(t){for(var e=t.attributes,n=e.length-1;0<n;n--){var r=e.item(n).name;"xmlns:ns1"!==r&&0!==r.indexOf("ns1:")||t.removeAttribute(r)}for(var i=t.firstChild;i;)i.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(i),i=i.nextSibling},t}(),_e=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:\/?#]*(?:[\/?#]|$))/gi,Ee=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function we(t){return(t=String(t)).match(_e)||t.match(Ee)?t:(ge()&&console.warn("WARNING: sanitizing unsafe URL value "+t+" (see http://g.co/ng/security#xss)"),"unsafe:"+t)}function xe(t){var e,n,i={};try{for(var o=Object(r.h)(t.split(",")),s=o.next();!s.done;s=o.next())i[s.value]=!0}catch(a){e={error:a}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return i}function Ce(){for(var t,e,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var o={};try{for(var s=Object(r.h)(n),a=s.next();!a.done;a=s.next()){var l=a.value;for(var u in l)l.hasOwnProperty(u)&&(o[u]=!0)}}catch(c){t={error:c}}finally{try{a&&!a.done&&(e=s.return)&&e.call(s)}finally{if(t)throw t.error}}return o}var Se,Ae=xe("area,br,col,hr,img,wbr"),Pe=xe("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Te=xe("rp,rt"),ke=Ce(Te,Pe),De=Ce(Ae,Ce(Pe,xe("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Ce(Te,xe("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),ke),Ie=xe("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Oe=xe("srcset"),Me=Ce(Ie,Oe,xe("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),xe("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),Fe=xe("script,style,template"),Re=function(){function t(){this.sanitizedSomething=!1,this.buf=[]}return t.prototype.sanitizeChildren=function(t){for(var e=t.firstChild,n=!0;e;)if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);var r=this.checkClobberedElement(e,e.nextSibling);if(r){e=r;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")},t.prototype.startElement=function(t){var e,n=t.nodeName.toLowerCase();if(!De.hasOwnProperty(n))return this.sanitizedSomething=!0,!Fe.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);for(var r=t.attributes,i=0;i<r.length;i++){var o=r.item(i),s=o.name,a=s.toLowerCase();if(Me.hasOwnProperty(a)){var l=o.value;Ie[a]&&(l=we(l)),Oe[a]&&(e=l,l=(e=String(e)).split(",").map(function(t){return we(t.trim())}).join(", ")),this.buf.push(" ",s,'="',je(l),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0},t.prototype.endElement=function(t){var e=t.nodeName.toLowerCase();De.hasOwnProperty(e)&&!Ae.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))},t.prototype.chars=function(t){this.buf.push(je(t))},t.prototype.checkClobberedElement=function(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+t.outerHTML);return e},t}(),Ne=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Ve=/([^\#-~ |!])/g;function je(t){return t.replace(/&/g,"&amp;").replace(Ne,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Ve,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Le(t,e){var n=null;try{Se=Se||new be(t);var r=e?String(e):"";n=Se.getInertBodyElement(r);var i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=n.innerHTML,n=Se.getInertBodyElement(r)}while(r!==o);var s=new Re,a=s.sanitizeChildren(Be(n)||n);return ge()&&s.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),a}finally{if(n)for(var l=Be(n)||n;l.firstChild;)l.removeChild(l.firstChild)}}function Be(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var ze=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}({}),Ge=function(){return function(){}}(),He=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"),Ue=/^url\(([^)]+)\)$/;function We(t){if(!(t=String(t).trim()))return"";var e=t.match(Ue);return e&&we(e[1])===e[1]||t.match(He)&&function(t){for(var e=!0,n=!0,r=0;r<t.length;r++){var i=t.charAt(r);"'"===i&&n?e=!e:'"'===i&&e&&(n=!n)}return e&&n}(t)?t:(ge()&&console.warn("WARNING: sanitizing unsafe style value "+t+" (see http://g.co/ng/security#xss)."),"unsafe")}var qe=/([A-Z])/g;function Ke(t){try{return null!=t?t.toString().slice(0,30):t}catch(e){return"[ERROR] Exception while trying to serialize the value"}}var Ze={},Ye=function(){return function(t,e){this.fn=t,this.value=e}}();function Qe(t,e,n,r){for(var i=n;i<r;i+=4)if(En(t,i)===e)return i;return-1}function Xe(t,e,n,r){void 0===r&&(r=0),n=n||null;var i=Nn(t,!0,r,e=e||null),o=Nn(t,!1,r,n);if(!i||!o){e=e===Ze?Rn(t,!0,r):e,n=n===Ze?Rn(t,!1,r):n;var s=t[0],a=e instanceof Ye?new Dn(e,s,1):null,l=n instanceof Ye?new Dn(n,s,2):null,u=a?e.value:e,c=l?n.value:n,h=$,p=!1,f=!1,d=a?1:0;fn(t,a,1)&&(dn(t,a,1),f=!0);var m=l?3:0;fn(t,l,3)&&(dn(t,l,3),f=!0),i||("string"==typeof u?(h=u.split(/\s+/),p=!0):h=u?Object.keys(u):$);var y=cn(t),g=function(t){return t[6][2]}(t),v=t.length;if(!o){var b=Je(t,r,m,y,g,c?Object.keys(c):$,c||J,n,!1);b&&(g+=4*b,v+=4*b)}i||Je(t,r,d,g,v,h,p||u||J,e,!0),f&&xn(t,!0)}}function Je(t,e,n,r,i,o,s,a,l){for(var u=!1,c=1+4*e,h=t[l?6:7],p=h[c+1],f=h[c+3],d=1===h[c+0]||!(h[c+2]||!a),m=0,y=0,g=!0===s,v=r,b=o.length;v<p;){var _=En(t,v);if(b)for(var E=0;E<o.length;E++)if((T=(P=o[E])?l?P:Vn(P):null)&&_===T){var w=_n(t,v),x=In(t,v),C=!!g||s[T],S=bn(t,v);kn(S,w,C)&&Fn(w,C,x,e)&&(pn(t,v,C),mn(t,v,n,e),Tn(t,S,C)&&(en(t,v,!0),u=!0)),o[E]=null,b--;break}v+=4}if(b){var A=l?null:Mn(t,e);t:for(E=0;E<o.length;E++){var P;if(P=o[E]){C=!!g||s[P];for(var T=l?P:Vn(P),k=v>=p,D=v;D<i;D+=4)if(En(t,D)===T){var I=In(t,D),O=yn(t,D),M=_n(t,D),F=bn(t,D);Fn(M,C,I,e)&&(k&&(Cn(t,v,D),m++),kn(F,M,C)&&((null===C||void 0===C&&C!==M)&&(d=!0),pn(t,v,C),(null!==M||Tn(t,F,C))&&(en(t,v,!0),u=!0)),I===e&&n===O||mn(t,v,n,e)),v+=4;continue t}null!=C&&(d=!0,m++,Sn(t,k?v:p+4*y,l,T,1|Pn(t,T,l,A),C,e,n),y++,i+=4,v+=4,u=!0)}}}for(;v<i;){d=!0;var R=_n(t,v),N=bn(t,v);In(t,v),null!=R&&(d=!0),kn(N,R,null)&&(pn(t,v,null),Tn(t,N,R)&&(en(t,v,!0),u=!0),mn(t,v,n,e)),v+=4}return function(t,e,n,r,i,o,s,a){var l=t[n?6:7],u=1+4*e;if(a)for(var c=i+4*s,h=u+4;h<l.length;h+=4)l[h+1]=c,l[h+0]=1;l[u+0]=0,l[u+1]=i,l[u+2]=r,l[u+3]=s;var p=s;for(h=1;h<u;h+=4)p+=l[h+3];if(!n){var f=t[6],d=o-f[2];for(h=1;h<f.length;h+=4)f[h+1]+=d}l[0]=p}(t,e,l,a,p,i,m,d=d||f!==m),u&&wn(t,!0),y}function $e(t,e,n,r,i,o,s){n=i&&n?i(e,n):n,o||s?(o&&o.setValue(e,n),s&&s.setValue(e,n)):n?(n=n.toString(),re(r)?r.setStyle(t,e,n,ne.DashCase):t.style.setProperty(e,n)):re(r)?r.removeStyle(t,e,ne.DashCase):t.style.removeProperty(e)}function tn(t,e,n,r,i,o){i||o?(i&&i.setValue(e,n),o&&o.setValue(e,n)):""!==e&&(n?re(r)?r.addClass(t,e):t.classList.add(e):re(r)?r.removeClass(t,e):t.classList.remove(e))}function en(t,e,n){var r=e>=10?e+0:e;n?t[r]|=1:t[r]&=-2}function nn(t,e){return 1==(1&t[e>=10?e+0:e])}function rn(t,e){return 2==(2&t[e>=10?e+0:e])}function on(t,e){return 4==(4&t[e>=10?e+0:e])}function sn(t,e,n){return 31&t|e<<5|n<<19}function an(t,e){var n=ln(e);return(2&e?t[4]:t[3])[n]}function ln(t){return t>>5&16383}function un(t){var e=t>>19&16383;return e>=10?e:-1}function cn(t){return t[7][2]}function hn(t,e,n){t[e+1]=n}function pn(t,e,n){t[e+2]=n}function fn(t,e,n){var r=t[9];if(e){if(!r||0===n)return!0}else if(!r)return!1;return r[n]!==e}function dn(t,e,n){var r=t[9]||(t[9]=[5,null,null,null,null]);return n>0?r[n]=e:(r.splice(n=r[0],0,e,null),r[0]+=2),n}function mn(t,e,n,r){var i=function(t,e){return n<<16|t}(r);t[e+3]=i}function yn(t,e){return t[e+3]>>16&65535}function gn(t,e){var n=yn(t,e);if(n){var r=t[9];if(r)return r[n]}return null}function vn(t,e,n){t[1===e?e:e+0]=n}function bn(t,e){return t[1===e?e:e+0]}function _n(t,e){return t[e+2]}function En(t,e){return t[e+1]}function wn(t,e){en(t,1,e)}function xn(t,e){e?t[1]|=8:t[1]&=-9}function Cn(t,e,n){if(e!==n){var r=_n(t,e),i=En(t,e),o=bn(t,e),s=yn(t,e),a=In(t,e),l=o,u=bn(t,n),c=un(l);c>=0&&vn(t,c,sn(h=bn(t,c),ln(h),n));var h,p=un(u);p>=0&&vn(t,p,sn(h=bn(t,p),ln(h),e)),pn(t,e,_n(t,n)),hn(t,e,En(t,n)),vn(t,e,bn(t,n)),mn(t,e,yn(t,n),In(t,n)),pn(t,n,r),hn(t,n,i),vn(t,n,o),mn(t,n,s,a)}}function Sn(t,e,n,r,i,o,s,a){var l=e<t.length;t.splice(e,0,1|i|(n?2:0),r,o,0),mn(t,e,a,s),l&&function(t,n){for(var r=e+4;r<t.length;r+=4){var i=un(bn(t,r));if(i>0){var o=ln(bn(t,i));vn(t,i,sn((nn(t,i)?1:0)|(rn(t,i)?2:0)|(on(t,i)?4:0),o,r))}}}(t)}function An(t,e){return null!==t}function Pn(t,e,n,r){var i,o=r&&r(e)?4:0;return n?(o|=2,i=On(t[4],e)):i=On(t[3],e),sn(o,i=i>0?i+1:0,0)}function Tn(t,e,n){var r=an(t,e);return!r||kn(e,r,n)}function kn(t,e,n){return!(2&t)&&e&&n&&4&t?e.toString()!==n.toString():e!==n}var Dn=function(){function t(t,e,n){this._element=e,this._type=n,this._values={},this._dirty=!1,this._factory=t}return t.prototype.setValue=function(t,e){this._values[t]!==e&&(this._values[t]=e,this._dirty=!0)},t.prototype.buildPlayer=function(t,e){if(this._dirty){var n=this._factory.fn(this._element,this._type,this._values,e,t||null);return this._values={},this._dirty=!1,n}},t}();function In(t,e){return 65535&t[e+3]}function On(t,e){for(var n=2;n<t.length;n+=3)if(t[n]===e)return n;return-1}function Mn(t,e){var n=t[2];return n[2*e+1]||n[1]||null}function Fn(t,e,n,r){return null==t||(null!=e?r<=n:n===r)}function Rn(t,e,n){return t[e?6:7][1+4*n+2]||null}function Nn(t,e,n,r){return!t[e?6:7][1+4*n+0]&&(r===Ze||Rn(t,e,n)===r)}function Vn(t){return t.replace(/[a-z][A-Z]/g,function(t){return t.charAt(0)+"-"+t.charAt(1).toLowerCase()})}function jn(t,e,n,r,i){void 0===i&&(i=0);var o=t[n?6:7];if(e>0)for(var s=1+4*e;o.length<s;)o.push(0,r,null,0);o.push(0,r,null,i)}var Ln=function(){return Promise.resolve(null)}();function Bn(t){var e=t[ct],n=Zt(t);if(e.firstTemplatePass=!1,t[mt]=e.bindingStartIndex,!n){var r=Qt();(function(e,n,r,i){r||Ot(t,n.preOrderHooks,n.preOrderCheckHooks,r,0,null)})(0,e,r),function(t){for(var e=t[bt];null!==e;e=e[ft])if(e.length<Et&&-1===e[xt])for(var n=e,r=0;r<n[Ct].length;r++){var i=n[Ct][r];Gn(i,i[ct],i[yt])}}(t),zn(e,t),Dt(t),Ot(t,e.contentHooks,e.contentCheckHooks,r,1,void 0),function(t,e){var n=te();try{if(t.expandoInstructions)for(var r=e[mt]=t.expandoStartIndex,i=-1,o=-1,s=0;s<t.expandoInstructions.length;s++){var a=t.expandoInstructions[s];if("number"==typeof a)if(a<=0){Ut(o=-a);var l=t.expandoInstructions[++s];i=r+=It+l}else r+=a;else null!==a&&(e[mt]=r,a(2,At(e[i]),o),zt+=1+Ht,Gt=0,Ht=0),i++}}finally{Ut(n)}}(e,t)}n&&e.staticContentQueries&&zn(e,t),function(t){if(null!=t)for(var e=0;e<t.length;e++)r=t[e],void 0,o=void 0,i=Nt(),(128==(128&(n=void 0,n=i[r],o=Pt(n)?n:n[ut])[ht])||Zt(i))&&80&o[ht]&&(function(t){for(var e=t[ct],n=t.length;n<e.blueprint.length;n++)t[n]=e.blueprint[n]}(o),function(t,e){var n=t[ct],r=Xt(t,t[dt]),i=n.template,o=Zt(t);try{Dt(t),o&&Kn(1,n,e),Un(i,Wn(t),e),Bn(t),o&&!n.staticViewQueries||Kn(2,n,e)}finally{Jt(r)}}(o,o[yt]));var n,r,i,o}(e.components)}function zn(t,e){if(null!=t.contentQueries)for(var n=0;n<t.contentQueries.length;n++){var r=t.contentQueries[n];t.data[r].contentQueries(2,e[r],r)}}function Gn(t,e,n){var r,i=jt,o=Wt();if(512&t[ht])qn(ce(t));else try{Kt(!0),qt(null),r=Xt(t,t[dt]),Dt(t),Un(e.template,Wn(t),n),t[ct].firstTemplatePass=!1,Bn(t)}finally{Jt(r),Kt(i),qt(o)}}function Hn(t,e,n){var r=t[gt],i=Xt(t,t[dt]),o=!Qt(),s=Zt(t);try{o&&!s&&r.begin&&r.begin(),s&&(n&&Un(n,1,e),Bn(t),t[ht]&=-5),Dt(t),n&&Un(n,2,e),Bn(t)}finally{o&&!s&&r.end&&r.end(),Jt(i)}}function Un(t,e,n){var r=te();try{Ut(null),t(e,n)}finally{ee(r)}}function Wn(t){return Zt(t)?1:2}function qn(t){for(var e=0;e<t.components.length;e++){var n=t.components[e];Hn(kt(n),n)}}function Kn(t,e,n){var r=e.viewQuery;r&&r(t,n)}function Zn(t,e,n){var r=Wt();r.stylingTemplate||(r.stylingTemplate=se());var i=Xn();ae(r.stylingTemplate,i),(r.onElementCreationFns=r.onElementCreationFns||[]).push(function(){var o,s,a;(function(t,e,n,r,i){!function(t,e,n,r,i){if(!(16&t[1])&&function(t,e,n,r){var i=t[2],o=2*e;return!(o<i.length&&i[o+0]>=0||(ae(t,e,t[5].length,r),0))}(t,e,0,i)){r&&(r=function(t){for(var e=[],n=0;n<t.length;n++)e.push(Vn(t[n]));return e}(r));var o=t[5],s=o[1],a=o[0],l=t[6],u=t[7],c=4*a,h=10+c,p=h+4*s,f=p+c,d=o.length;o.push(r?r.length:0,n?n.length:0);var m=0,y=[];if(r&&r.length)for(var g=0;g<r.length;g++){var v=r[g];-1==(E=Qe(t,v,10,h))&&(E=h+m,m+=4,y.push(v)),o.push(E)}var b=[];if(n&&n.length)for(var _=0;_<n.length;_++){var E,w=n[_];-1==(E=Qe(t,w,h,p))?(E=p+m,m+=4,b.push(w)):E+=4*y.length,o.push(E)}var x=2;if(y.length)for(;x<d;){var C=o[x+0],S=o[x+1];if(S)for(var A=x+2+C,P=A;P<A+S;P++)o[P]+=4*y.length;x+=2+(C+S)}for(var T=b.length+y.length,k=10;k<t.length;k+=4){var D=k>=p,I=k>=(D?f:h),O=bn(t,k),M=ln(O),F=un(O);vn(t,k,sn(O,M,F+=D?I?4*y.length:0:4*T+4*(I?y.length:0)))}for(var R=0;R<4*y.length;R++)t.splice(f,0,null),t.splice(h,0,null),h++,p++,f+=2;for(var N=0;N<4*b.length;N++)t.splice(p,0,null),t.push(null),p++,f++;for(var V=t[4],j=t[3],L=0;L<T;L++){var B=L>=y.length,z=B?L-y.length:L,G=B?b[z]:y[z],H=void 0,U=void 0;B?(H=f+4*(s+z),U=h+4*(s+z)):(H=p+4*(a+z),U=10+4*(a+z));var W=B?V:j,q=On(W,G);-1===q?(et=W,nt=G,rt=!B&&null,it=e,null===(tt=null)&&(tt=et.length,et.push(null,null,null),et[tt+0]=nt),et[tt+1]=rt,et[tt+2]=it,q=tt+1):q+=1;var K=Pn(t,G,B,i||null);vn(t,U,sn(K,q,H)),hn(t,U,G),pn(t,U,null),mn(t,U,0,e),vn(t,H,sn(K,q,U)),hn(t,H,G),pn(t,H,null),mn(t,H,0,e)}o[1]=s+b.length,o[0]=a+y.length,l[0]+=b.length,u[0]+=y.length;var Z=4*y.length,Y=4*b.length,Q=u.length;jn(t,e,!1,p+4*a,y.length);for(var X=1;X<Q;X+=4)u[X+1]+=Y+Z;var J=l.length;jn(t,e,!0,f+4*s,b.length);for(var $=1;$<J;$+=4)l[$+1]+=2*Z+Y;vn(t,1,sn(0,0,p))}var tt,et,nt,rt,it}(t.stylingTemplate,i,e,n,r)})(r,t,e,n,i),s=i,(a=(o=r.stylingTemplate)[8])||(a=o[8]=[oe]),a[0]=s})}function Yn(t,e){var n,r,i,o,s,a=Xn(),l=Jn(te(),Nt());r=Xe,i=[l,t,e,a],s=function(t,e){for(var n=1;n<t.length;n+=3)if(t[n+0]>e)return n;return t.length}(o=l[8],n=a),o.splice(s,0,n,r,i)}function Qn(){var t,e,n,r,i,o,s,a;t=Xn(),r=3===Tt(e=te(),n=Nt()).type?n[vt]:null,i=0!=(8&n[ht]),function(t,e,n,r,i,o,s){void 0===s&&(s=0);var a=0;if(function(t,e){var n=t[8];return!n||n[0]===e}(t,s)&&(function(t){var e=t[8];if(e){for(var n=1;n<e.length;n+=3)e[n+1].apply(this,e[n+2]);e.length=1}}(t),function(t){return nn(t,1)}(t))){for(var l=t[0],u=8&t[1],c=cn(t),h=10;h<t.length;h+=4)if(nn(t,h)){var p=bn(t,h),f=In(t,h),d=En(t,h),m=_n(t,h),y=4&p?Mn(t,f):null,g=gn(t,h),v=!!(2&p),b=m;h<c&&!An(b)&&(b=_n(t,un(p))),An(b)||(b=an(t,p)),e&&(!r||b)&&(v?tn(l,d,!!b,e,null,g):$e(l,d,b,e,y,null,g)),en(t,h,!1)}if(u){var _=Array.isArray(n)?ce(n):n,E=t[9],w=E[0];for(h=1;h<w;h+=2){var x=E[h],C=h+1,S=E[C];if(x){var A=x.buildPlayer(S,r);void 0!==A&&(null!=A&&le(E,_,l,A,C)&&a++,S&&S.destroy())}else S&&S.destroy()}xn(t,!1)}wn(t,!1)}return a}(Jn(e,n),r,n,i,0,0,t)>0&&(a=0===(o=ce(n)).flags,o.flags|=2,a&&o.clean==Ln&&(o.clean=new Promise(function(t){return s=t}),o.scheduler(function(){if(1&o.flags&&(o.flags&=-2,qn(o)),2&o.flags){o.flags&=-3;var t=o.playerHandler;t&&t.flushPlayers()}o.clean=Ln,s(null)}))),Rt(null)}function Xn(){return zt+Gt}function Jn(t,e){var n=Ft;return n||Rt(n=function(t,e){for(var n=t,r=e[n],i=e;Array.isArray(r);)i=r,r=r[ut];if(o=i,Array.isArray(o)&&"number"==typeof o[wt])return i;var o,s=Tt(t-Et,e).stylingTemplate;return i!==e&&(n=ut),i[n]=s?function(t,e){for(var n=e.slice(),r=0;r<10;r++){var i=e[r];Array.isArray(i)&&(n[r]=i.slice())}return n[0]=t,n[1]|=16,n}(r,s):se(r)}(t+Et,e)),n}function $n(t){return!!t&&"function"==typeof t.then}function tr(t){return!!t&&"function"==typeof t.subscribe}var er=null;function nr(){if(!er){var t=A.Symbol;if(t&&t.iterator)er=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&&(er=r)}}return er}function rr(t,e){return t===e||"number"==typeof t&&"number"==typeof e&&isNaN(t)&&isNaN(e)}function ir(t,e){var n=sr(t),r=sr(e);return n&&r?function(t,e,n){for(var r=t[nr()](),i=e[nr()]();;){var o=r.next(),s=i.next();if(o.done&&s.done)return!0;if(o.done||s.done)return!1;if(!n(o.value,s.value))return!1}}(t,e,ir):!(n||!t||"object"!=typeof t&&"function"!=typeof t||r||!e||"object"!=typeof e&&"function"!=typeof e)||rr(t,e)}var or=function(){function t(t){this.wrapped=t}return t.wrap=function(e){return new t(e)},t.unwrap=function(e){return t.isWrapped(e)?e.wrapped:e},t.isWrapped=function(e){return e instanceof t},t}();function sr(t){return!!ar(t)&&(Array.isArray(t)||!(t instanceof Map)&&nr()in t)}function ar(t){return null!==t&&("function"==typeof t||"object"==typeof t)}var lr=function(){function t(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}return t.prototype.isFirstChange=function(){return this.firstChange},t}(),ur=new D("The presence of this token marks an injector as being the root injector."),cr=function(){return function(){}}(),hr=function(){return function(){}}();function pr(t){var e=Error("No component factory found for "+_(t)+". Did you add it to @NgModule.entryComponents?");return e[fr]=t,e}var fr="ngComponent",dr=function(){function t(){}return t.prototype.resolveComponentFactory=function(t){throw pr(t)},t}(),mr=function(){function t(){}return t.NULL=new dr,t}(),yr=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 i=t[r];this._factories.set(i.componentType,i)}}return t.prototype.resolveComponentFactory=function(t){var e=this._factories.get(t);if(!e&&this._parent&&(e=this._parent.resolveComponentFactory(t)),!e)throw pr(t);return new gr(e,this._ngModule)},t}(),gr=function(t){function e(e,n){var r=t.call(this)||this;return r.factory=e,r.ngModule=n,r.selector=e.selector,r.componentType=e.componentType,r.ngContentSelectors=e.ngContentSelectors,r.inputs=e.inputs,r.outputs=e.outputs,r}return Object(r.c)(e,t),e.prototype.create=function(t,e,n,r){return this.factory.create(t,e,n,r||this.ngModule)},e}(hr),vr=function(){return function(){}}(),br=function(){return function(){}}();function _r(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]}var Er=function(){function t(t){this.nativeElement=t}return t.__NG_ELEMENT_ID__=function(){return wr(t)},t}(),wr=_r,xr=function(){return function(){}}(),Cr=function(){return function(){}}(),Sr=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({}),Ar=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return Pr()},t}(),Pr=_r,Tr=function(){return function(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}(),kr=new Tr("8.0.3"),Dr=function(){function t(){}return t.prototype.supports=function(t){return sr(t)},t.prototype.create=function(t){return new Or(t)},t}(),Ir=function(t,e){return e},Or=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||Ir}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,i=null;e||n;){var o=!n||e&&e.currentIndex<Nr(n,r,i)?e:n,s=Nr(o,r,i),a=o.currentIndex;if(o===n)r--,n=n._nextRemoved;else if(e=e._next,null==o.previousIndex)r++;else{i||(i=[]);var l=s-r,u=a-r;if(l!=u){for(var c=0;c<l;c++){var h=c<i.length?i[c]:i[c]=0,p=h+c;u<=p&&p<l&&(i[c]=h+1)}i[o.previousIndex]=u-l}}s!==a&&t(o,s,a)}},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=[]),!sr(t))throw new Error("Error trying to diff '"+_(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,o=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!==o&&rr(o.trackById,i)?(s&&(o=this._verifyReinsertion(o,r,i,a)),rr(o.item,r)||this._addIdentityChange(o,r)):(o=this._mismatch(o,r,i,a),s=!0),o=o._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[nr()](),i=void 0;!(i=r.next()).done;)e(i.value)}(t,function(t){i=e._trackByFn(n,t),null!==o&&rr(o.trackById,i)?(s&&(o=e._verifyReinsertion(o,t,i,n)),rr(o.item,t)||e._addIdentityChange(o,t)):(o=e._mismatch(o,t,i,n),s=!0),o=o._next,n++}),this.length=n;return this._truncate(o),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 i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(rr(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,i,r)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(rr(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,i,r)):t=this._addAfter(new Mr(e,n),i,r),t},t.prototype._verifyReinsertion=function(t,e,n,r){var i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==i?t=this._reinsertAfter(i,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,i=t._nextRemoved;return null===r?this._removalsHead=i:r._nextRemoved=i,null===i?this._removalsTail=r:i._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 Rr),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 Rr),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}(),Mr=function(){return 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}}(),Fr=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)&&rr(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}(),Rr=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 Fr,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}();function Nr(t,e,n){var r=t.previousIndex;if(null===r)return r;var i=0;return n&&r<n.length&&(i=n[r]),r+e+i}var Vr=function(){function t(){}return t.prototype.supports=function(t){return t instanceof Map||ar(t)},t.prototype.create=function(){return new jr},t}(),jr=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||ar(t)))throw new Error("Error trying to diff '"+_(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 i=e._getOrCreateRecordForKey(r,t);n=e._insertBeforeOrAppend(n,i)}}),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,i=n._next;return r&&(r._next=i),i&&(i._prev=r),n._next=null,n._prev=null,n}var o=new Lr(t);return this._records.set(t,o),o.currentValue=e,this._addToAdditions(o),o},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){rr(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}(),Lr=function(){return 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}}(),Br=function(){function t(t){this.factories=t}return t.create=function(e,n){if(null!=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 IterableDiffers without a parent injector");return t.create(e,n)},deps:[[t,new d,new p]]}},t.prototype.find=function(t){var e,n=this.factories.find(function(e){return e.supports(t)});if(null!=n)return n;throw new Error("Cannot find a differ supporting object '"+t+"' of type '"+((e=t).name||typeof e)+"'")},t.ngInjectableDef=g({providedIn:"root",factory:function(){return new t([new Dr])}}),t}(),zr=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 d,new p]]}},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.ngInjectableDef=g({providedIn:"root",factory:function(){return new t([new Vr])}}),t}(),Gr=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return Hr()},t}(),Hr=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]},Ur=[new Vr],Wr=new Br([new Dr]),qr=new zr(Ur),Kr=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return Zr(t,Er)},t}(),Zr=_r,Yr=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return Qr(t,Er)},t}(),Qr=_r;function Xr(t,e,n,r){var i="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+e+"'. Current value: '"+n+"'.";return r&&(i+=" 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 Jr(n,e),n}(i,t)}function Jr(t,e){t[K]=e,t[Y]=e.logError.bind(e)}function $r(t){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+t)}function ti(t,e,n){var r=t.state,i=1792&r;return i===e?(t.state=-1793&r|n,t.initIndex=-1,!0):i===n}function ei(t,e,n){return(1792&t.state)===e&&t.initIndex<=n&&(t.initIndex=n+1,!0)}function ni(t,e){return t.nodes[e]}function ri(t,e){return t.nodes[e]}function ii(t,e){return t.nodes[e]}function oi(t,e){return t.nodes[e]}function si(t,e){return t.nodes[e]}var ai={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},li=function(){},ui=new Map;function ci(t){var e=ui.get(t);return e||(e=_(t)+"_"+ui.size,ui.set(t,e)),e}function hi(t,e,n,r){if(or.isWrapped(r)){r=or.unwrap(r);var i=t.def.nodes[e].bindingIndex+n,o=or.unwrap(t.oldValues[i]);t.oldValues[i]=new or(o)}return r}var pi="$$undefined",fi="$$empty";function di(t){return{id:pi,styles:t.styles,encapsulation:t.encapsulation,data:t.data}}var mi=0;function yi(t,e,n,r){return!(!(2&t.state)&&rr(t.oldValues[e.bindingIndex+n],r))}function gi(t,e,n,r){return!!yi(t,e,n,r)&&(t.oldValues[e.bindingIndex+n]=r,!0)}function vi(t,e,n,r){var i=t.oldValues[e.bindingIndex+n];if(1&t.state||!ir(i,r)){var o=e.bindings[n].name;throw Xr(ai.createDebugContext(t,e.nodeIndex),o+": "+i,o+": "+r,0!=(1&t.state))}}function bi(t){for(var e=t;e;)2&e.def.flags&&(e.state|=8),e=e.viewContainerParent||e.parent}function _i(t,e){for(var n=t;n&&n!==e;)n.state|=64,n=n.viewContainerParent||n.parent}function Ei(t,e,n,r){try{return bi(33554432&t.def.nodes[e].flags?ri(t,e).componentView:t),ai.handleEvent(t,e,n,r)}catch(i){t.root.errorHandler.handleError(i)}}function wi(t){return t.parent?ri(t.parent,t.parentNodeDef.nodeIndex):null}function xi(t){return t.parent?t.parentNodeDef.parent:null}function Ci(t,e){switch(201347067&e.flags){case 1:return ri(t,e.nodeIndex).renderElement;case 2:return ni(t,e.nodeIndex).renderText}}function Si(t){return!!t.parent&&!!(32768&t.parentNodeDef.flags)}function Ai(t){return!(!t.parent||32768&t.parentNodeDef.flags)}function Pi(t){return 1<<t%32}function Ti(t){var e={},n=0,i={};return t&&t.forEach(function(t){var o=Object(r.f)(t,2),s=o[0],a=o[1];"number"==typeof s?(e[s]=a,n|=Pi(s)):i[s]=a}),{matchedQueries:e,references:i,matchedQueryIds:n}}function ki(t,e){return t.map(function(t){var n,i,o;return Array.isArray(t)?(o=(n=Object(r.f)(t,2))[0],i=n[1]):(o=0,i=t),i&&("function"==typeof i||"object"==typeof i)&&e&&Object.defineProperty(i,I,{value:e,configurable:!0}),{flags:o,token:i,tokenKey:ci(i)}})}function Di(t,e,n){var r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&r.element.componentRendererType.encapsulation===X.Native?ri(t,n.renderParent.nodeIndex).renderElement:void 0:e}var Ii=new WeakMap;function Oi(t){var e=Ii.get(t);return e||((e=t(function(){return li})).factory=t,Ii.set(t,e)),e}function Mi(t,e,n,r,i){3===e&&(n=t.renderer.parentNode(Ci(t,t.def.lastRenderRootNode))),Fi(t,e,0,t.def.nodes.length-1,n,r,i)}function Fi(t,e,n,r,i,o,s){for(var a=n;a<=r;a++){var l=t.def.nodes[a];11&l.flags&&Ni(t,l,e,i,o,s),a+=l.childCount}}function Ri(t,e,n,r,i,o){for(var s=t;s&&!Si(s);)s=s.parent;for(var a=s.parent,l=xi(s),u=l.nodeIndex+l.childCount,c=l.nodeIndex+1;c<=u;c++){var h=a.def.nodes[c];h.ngContentIndex===e&&Ni(a,h,n,r,i,o),c+=h.childCount}if(!a.parent){var p=t.root.projectableNodes[e];if(p)for(c=0;c<p.length;c++)Vi(t,p[c],n,r,i,o)}}function Ni(t,e,n,r,i,o){if(8&e.flags)Ri(t,e.ngContent.index,n,r,i,o);else{var s=Ci(t,e);if(3===n&&33554432&e.flags&&48&e.bindingFlags?(16&e.bindingFlags&&Vi(t,s,n,r,i,o),32&e.bindingFlags&&Vi(ri(t,e.nodeIndex).componentView,s,n,r,i,o)):Vi(t,s,n,r,i,o),16777216&e.flags)for(var a=ri(t,e.nodeIndex).viewContainer._embeddedViews,l=0;l<a.length;l++)Mi(a[l],n,r,i,o);1&e.flags&&!e.element.name&&Fi(t,n,e.nodeIndex+1,e.nodeIndex+e.childCount,r,i,o)}}function Vi(t,e,n,r,i,o){var s=t.renderer;switch(n){case 1:s.appendChild(r,e);break;case 2:s.insertBefore(r,e,i);break;case 3:s.removeChild(r,e);break;case 0:o.push(e)}}var ji=/^:([^:]+):(.+)$/;function Li(t){if(":"===t[0]){var e=t.match(ji);return[e[1],e[2]]}return["",t]}function Bi(t){for(var e=0,n=0;n<t.length;n++)e|=t[n].flags;return e}function zi(t,e,n,r,i,o,s,a,l,u,c,h,p,f,d,m,y,g,v,b){switch(t){case 1:return e+Gi(n)+r;case 2:return e+Gi(n)+r+Gi(i)+o;case 3:return e+Gi(n)+r+Gi(i)+o+Gi(s)+a;case 4:return e+Gi(n)+r+Gi(i)+o+Gi(s)+a+Gi(l)+u;case 5:return e+Gi(n)+r+Gi(i)+o+Gi(s)+a+Gi(l)+u+Gi(c)+h;case 6:return e+Gi(n)+r+Gi(i)+o+Gi(s)+a+Gi(l)+u+Gi(c)+h+Gi(p)+f;case 7:return e+Gi(n)+r+Gi(i)+o+Gi(s)+a+Gi(l)+u+Gi(c)+h+Gi(p)+f+Gi(d)+m;case 8:return e+Gi(n)+r+Gi(i)+o+Gi(s)+a+Gi(l)+u+Gi(c)+h+Gi(p)+f+Gi(d)+m+Gi(y)+g;case 9:return e+Gi(n)+r+Gi(i)+o+Gi(s)+a+Gi(l)+u+Gi(c)+h+Gi(p)+f+Gi(d)+m+Gi(y)+g+Gi(v)+b;default:throw new Error("Does not support more than 9 expressions")}}function Gi(t){return null!=t?t.toString():""}var Hi=new Object,Ui=ci(R),Wi=ci(M),qi=ci(vr);function Ki(t,e,n,r){return n=x(n),{index:-1,deps:ki(r,_(e)),flags:t,token:e,value:n}}function Zi(t){for(var e={},n=[],r=!1,i=0;i<t.length;i++){var o=t[i];o.token===ur&&!0===o.value&&(r=!0),1073741824&o.flags&&n.push(o.token),o.index=i,e[ci(o.token)]=o}return{factory:null,providersByKey:e,providers:t,modules:n,isRoot:r}}function Yi(t,e,n){void 0===n&&(n=R.THROW_IF_NOT_FOUND);var r,i,o=T(t);try{if(8&e.flags)return e.token;if(2&e.flags&&(n=null),1&e.flags)return t._parent.get(e.token,n);var s=e.tokenKey;switch(s){case Ui:case Wi:case qi:return t}var a,l=t._def.providersByKey[s];if(l){var u=t._providers[l.index];return void 0===u&&(u=t._providers[l.index]=Qi(t,l)),u===Hi?void 0:u}if((a=v(e.token))&&(r=t,null!=(i=a).providedIn&&(function(t,e){return t._def.modules.indexOf(i.providedIn)>-1}(r)||"root"===i.providedIn&&r._def.isRoot))){var c=t._providers.length;return t._def.providers[c]=t._def.providersByKey[e.tokenKey]={flags:5120,value:a.factory,deps:[],index:c,token:e.token},t._providers[c]=Hi,t._providers[c]=Qi(t,t._def.providersByKey[e.tokenKey])}return 4&e.flags?n:t._parent.get(e.token,n)}finally{T(o)}}function Qi(t,e){var n;switch(201347067&e.flags){case 512:n=function(t,e,n){var i=n.length;switch(i){case 0:return new e;case 1:return new e(Yi(t,n[0]));case 2:return new e(Yi(t,n[0]),Yi(t,n[1]));case 3:return new e(Yi(t,n[0]),Yi(t,n[1]),Yi(t,n[2]));default:for(var o=new Array(i),s=0;s<i;s++)o[s]=Yi(t,n[s]);return new(e.bind.apply(e,Object(r.g)([void 0],o)))}}(t,e.value,e.deps);break;case 1024:n=function(t,e,n){var i=n.length;switch(i){case 0:return e();case 1:return e(Yi(t,n[0]));case 2:return e(Yi(t,n[0]),Yi(t,n[1]));case 3:return e(Yi(t,n[0]),Yi(t,n[1]),Yi(t,n[2]));default:for(var o=Array(i),s=0;s<i;s++)o[s]=Yi(t,n[s]);return e.apply(void 0,Object(r.g)(o))}}(t,e.value,e.deps);break;case 2048:n=Yi(t,e.deps[0]);break;case 256:n=e.value}return n===Hi||null===n||"object"!=typeof n||131072&e.flags||"function"!=typeof n.ngOnDestroy||(e.flags|=131072),void 0===n?Hi:n}function Xi(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,eo(n,e),ai.dirtyParentQueries(r),$i(r),r}function Ji(t,e,n){var r=e?Ci(e,e.def.lastRenderRootNode):t.renderElement,i=n.renderer.parentNode(r),o=n.renderer.nextSibling(r);Mi(n,2,i,o,void 0)}function $i(t){Mi(t,3,null,null,void 0)}function to(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function eo(t,e){e>=t.length-1?t.pop():t.splice(e,1)}var no=new Object;function ro(t,e,n,r,i,o){return new io(t,e,n,r,i,o)}var io=function(t){function e(e,n,r,i,o,s){var a=t.call(this)||this;return a.selector=e,a.componentType=n,a._inputs=i,a._outputs=o,a.ngContentSelectors=s,a.viewDefFactory=r,a}return Object(r.c)(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 i=Oi(this.viewDefFactory),o=i.nodes[0].element.componentProvider.nodeIndex,s=ai.createRootView(t,e||[],n,i,r,no),a=ii(s,o).instance;return n&&s.renderer.setAttribute(ri(s,0).renderElement,"ng-version",kr.full),new oo(s,new uo(s),a)},e}(hr),oo=function(t){function e(e,n,r){var i=t.call(this)||this;return i._view=e,i._viewRef=n,i._component=r,i._elDef=i._view.def.nodes[0],i.hostView=n,i.changeDetectorRef=n,i.instance=r,i}return Object(r.c)(e,t),Object.defineProperty(e.prototype,"location",{get:function(){return new Er(ri(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new fo(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"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}(cr);function so(t,e,n){return new ao(t,e,n)}var ao=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 Er(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new fo(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentInjector",{get:function(){for(var t=this._view,e=this._elDef.parent;!e&&t;)e=xi(t),t=t.parent;return t?new fo(t,e):new fo(this._view,null)},enumerable:!0,configurable:!0}),t.prototype.clear=function(){for(var t=this._embeddedViews.length-1;t>=0;t--){var e=Xi(this._data,t);ai.destroyView(e)}},t.prototype.get=function(t){var e=this._embeddedViews[t];if(e){var n=new uo(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,i){var o=n||this.parentInjector;i||t instanceof gr||(i=o.get(vr));var s=t.create(o,r,void 0,i);return this.insert(s.hostView,e),s},t.prototype.insert=function(t,e){if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n,r,i,o,s=t;return o=(n=this._data).viewContainer._embeddedViews,null==(r=e)&&(r=o.length),(i=s._view).viewContainerParent=this._view,to(o,r,i),function(t,e){var n=wi(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)}}(n,i),ai.dirtyParentQueries(i),Ji(n,r>0?o[r-1]:null,i),s.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,r,i,o,s,a=this._embeddedViews.indexOf(t._view);return i=e,s=(o=(n=this._data).viewContainer._embeddedViews)[r=a],eo(o,r),null==i&&(i=o.length),to(o,i,s),ai.dirtyParentQueries(s),$i(s),Ji(n,i>0?o[i-1]:null,s),t},t.prototype.indexOf=function(t){return this._embeddedViews.indexOf(t._view)},t.prototype.remove=function(t){var e=Xi(this._data,t);e&&ai.destroyView(e)},t.prototype.detach=function(t){var e=Xi(this._data,t);return e?new uo(e):null},t}();function lo(t){return new uo(t)}var uo=function(){function t(t){this._view=t,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(t.prototype,"rootNodes",{get:function(){return Mi(this._view,0,void 0,void 0,t=[]),t;var t},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(){bi(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{ai.checkAndUpdateView(this._view)}finally{t.end&&t.end()}},t.prototype.checkNoChanges=function(){ai.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)),ai.destroyView(this._view)},t.prototype.detachFromAppRef=function(){this._appRef=null,$i(this._view),ai.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}();function co(t,e){return new ho(t,e)}var ho=function(t){function e(e,n){var r=t.call(this)||this;return r._parentView=e,r._def=n,r}return Object(r.c)(e,t),e.prototype.createEmbeddedView=function(t){return new uo(ai.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))},Object.defineProperty(e.prototype,"elementRef",{get:function(){return new Er(ri(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),e}(Kr);function po(t,e){return new fo(t,e)}var fo=function(){function t(t,e){this.view=t,this.elDef=e}return t.prototype.get=function(t,e){return void 0===e&&(e=R.THROW_IF_NOT_FOUND),ai.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:t,tokenKey:ci(t)},e)},t}();function mo(t,e){var n=t.def.nodes[e];if(1&n.flags){var r=ri(t,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return ni(t,n.nodeIndex).renderText;if(20240&n.flags)return ii(t,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+e)}function yo(t){return new go(t.renderer)}var go=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=Object(r.f)(Li(e),2),i=this.delegate.createElement(n[1],n[0]);return t&&this.delegate.appendChild(t,i),i},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),i=0;i<e.length;i++)this.delegate.insertBefore(n,e[i],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 i=Object(r.f)(Li(e),2),o=i[0],s=i[1];null!=n?this.delegate.setAttribute(t,s,n,o):this.delegate.removeAttribute(t,s,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}();function vo(t,e,n,r){return new bo(t,e,n,r)}var bo=function(){function t(t,e,n,r){this._moduleType=t,this._parent=e,this._bootstrapComponents=n,this._def=r,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(t){for(var e=t._def,n=t._providers=new Array(e.providers.length),r=0;r<e.providers.length;r++){var i=e.providers[r];4096&i.flags||void 0===n[r]&&(n[r]=Qi(t,i))}}(this)}return t.prototype.get=function(t,e,n){void 0===e&&(e=R.THROW_IF_NOT_FOUND),void 0===n&&(n=m.Default);var r=0;return n&m.SkipSelf?r|=1:n&m.Self&&(r|=4),Yi(this,{token:t,tokenKey:ci(t),flags:r},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(mr)},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The ng module "+_(this.instance.constructor)+" has already been destroyed.");this._destroyed=!0,function(t,e){for(var n=t._def,r=new Set,i=0;i<n.providers.length;i++)if(131072&n.providers[i].flags){var o=t._providers[i];if(o&&o!==Hi){var s=o.ngOnDestroy;"function"!=typeof s||r.has(o)||(s.apply(o),r.add(o))}}}(this),this._destroyListeners.forEach(function(t){return t()})},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},t}(),_o=ci(xr),Eo=ci(Ar),wo=ci(Er),xo=ci(Yr),Co=ci(Kr),So=ci(Gr),Ao=ci(R),Po=ci(M);function To(t,e,n,i,o,s,a,l){var u=[];if(a)for(var c in a){var h=Object(r.f)(a[c],2);u[h[0]]={flags:8,name:c,nonMinifiedName:h[1],ns:null,securityContext:null,suffix:null}}var p=[];if(l)for(var f in l)p.push({type:1,propName:f,target:null,eventName:l[f]});return Io(t,e|=16384,n,i,o,o,s,u,p)}function ko(t,e,n){return Io(-1,t|=16,null,0,e,e,n)}function Do(t,e,n,r,i){return Io(-1,t,e,0,n,r,i)}function Io(t,e,n,r,i,o,s,a,l){var u=Ti(n),c=u.matchedQueries,h=u.references,p=u.matchedQueryIds;l||(l=[]),a||(a=[]),o=x(o);var f=ki(s,_(i));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:c,matchedQueryIds:p,references:h,ngContentIndex:-1,childCount:r,bindings:a,bindingFlags:Bi(a),outputs:l,element:null,provider:{token:i,value:o,deps:f},text:null,query:null,ngContent:null}}function Oo(t,e){return No(t,e)}function Mo(t,e){for(var n=t;n.parent&&!Si(n);)n=n.parent;return Vo(n.parent,xi(n),!0,e.provider.value,e.provider.deps)}function Fo(t,e){var n=Vo(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 i=e.outputs[r],o=n[i.propName];if(!tr(o))throw new Error("@Output "+i.propName+" not initialized in '"+n.constructor.name+"'.");var s=o.subscribe(Ro(t,e.parent.nodeIndex,i.eventName));t.disposables[e.outputIndex+r]=s.unsubscribe.bind(s)}return n}function Ro(t,e,n){return function(r){return Ei(t,e,n,r)}}function No(t,e){var n=(8192&e.flags)>0,i=e.provider;switch(201347067&e.flags){case 512:return Vo(t,e.parent,n,i.value,i.deps);case 1024:return function(t,e,n,i,o){var s=o.length;switch(s){case 0:return i();case 1:return i(Lo(t,e,n,o[0]));case 2:return i(Lo(t,e,n,o[0]),Lo(t,e,n,o[1]));case 3:return i(Lo(t,e,n,o[0]),Lo(t,e,n,o[1]),Lo(t,e,n,o[2]));default:for(var a=Array(s),l=0;l<s;l++)a[l]=Lo(t,e,n,o[l]);return i.apply(void 0,Object(r.g)(a))}}(t,e.parent,n,i.value,i.deps);case 2048:return Lo(t,e.parent,n,i.deps[0]);case 256:return i.value}}function Vo(t,e,n,i,o){var s=o.length;switch(s){case 0:return new i;case 1:return new i(Lo(t,e,n,o[0]));case 2:return new i(Lo(t,e,n,o[0]),Lo(t,e,n,o[1]));case 3:return new i(Lo(t,e,n,o[0]),Lo(t,e,n,o[1]),Lo(t,e,n,o[2]));default:for(var a=new Array(s),l=0;l<s;l++)a[l]=Lo(t,e,n,o[l]);return new(i.bind.apply(i,Object(r.g)([void 0],a)))}}var jo={};function Lo(t,e,n,r,i){if(void 0===i&&(i=R.THROW_IF_NOT_FOUND),8&r.flags)return r.token;var o=t;2&r.flags&&(i=null);var s=r.tokenKey;s===So&&(n=!(!e||!e.element.componentView)),e&&1&r.flags&&(n=!1,e=e.parent);for(var a=t;a;){if(e)switch(s){case _o:return yo(Bo(a,e,n));case Eo:return Bo(a,e,n).renderer;case wo:return new Er(ri(a,e.nodeIndex).renderElement);case xo:return ri(a,e.nodeIndex).viewContainer;case Co:if(e.element.template)return ri(a,e.nodeIndex).template;break;case So:return lo(Bo(a,e,n));case Ao:case Po:return po(a,e);default:var l=(n?e.element.allProviders:e.element.publicProviders)[s];if(l){var u=ii(a,l.nodeIndex);return u||(u={instance:No(a,l)},a.nodes[l.nodeIndex]=u),u.instance}}n=Si(a),e=xi(a),a=a.parent,4&r.flags&&(a=null)}var c=o.root.injector.get(r.token,jo);return c!==jo||i===jo?c:o.root.ngModule.injector.get(r.token,i)}function Bo(t,e,n){var r;if(n)r=ri(t,e.nodeIndex).componentView;else for(r=t;r.parent&&!Si(r);)r=r.parent;return r}function zo(t,e,n,r,i,o){if(32768&n.flags){var s=ri(t,n.parent.nodeIndex).componentView;2&s.def.flags&&(s.state|=8)}if(e.instance[n.bindings[r].name]=i,524288&n.flags){o=o||{};var a=or.unwrap(t.oldValues[n.bindingIndex+r]);o[n.bindings[r].nonMinifiedName]=new lr(a,i,0!=(2&t.state))}return t.oldValues[n.bindingIndex+r]=i,o}function Go(t,e){if(t.def.nodeFlags&e)for(var n=t.def.nodes,r=0,i=0;i<n.length;i++){var o=n[i],s=o.parent;for(!s&&o.flags&e&&Uo(t,i,o.flags&e,r++),0==(o.childFlags&e)&&(i+=o.childCount);s&&1&s.flags&&i===s.nodeIndex+s.childCount;)s.directChildFlags&e&&(r=Ho(t,s,e,r)),s=s.parent}}function Ho(t,e,n,r){for(var i=e.nodeIndex+1;i<=e.nodeIndex+e.childCount;i++){var o=t.def.nodes[i];o.flags&n&&Uo(t,i,o.flags&n,r++),i+=o.childCount}return r}function Uo(t,e,n,r){var i=ii(t,e);if(i){var o=i.instance;o&&(ai.setCurrentNode(t,e),1048576&n&&ei(t,512,r)&&o.ngAfterContentInit(),2097152&n&&o.ngAfterContentChecked(),4194304&n&&ei(t,768,r)&&o.ngAfterViewInit(),8388608&n&&o.ngAfterViewChecked(),131072&n&&o.ngOnDestroy())}}var Wo=new D("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return lt}}),qo=function(t){function e(e){void 0===e&&(e=!1);var n=t.call(this)||this;return n.__isAsync=e,n}return Object(r.c)(e,t),e.prototype.emit=function(e){t.prototype.next.call(this,e)},e.prototype.subscribe=function(e,n,r){var o,s=function(t){return null},a=function(){return null};e&&"object"==typeof e?(o=this.__isAsync?function(t){setTimeout(function(){return e.next(t)})}:function(t){e.next(t)},e.error&&(s=this.__isAsync?function(t){setTimeout(function(){return e.error(t)})}:function(t){e.error(t)}),e.complete&&(a=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&&(s=this.__isAsync?function(t){setTimeout(function(){return n(t)})}:function(t){n(t)}),r&&(a=this.__isAsync?function(){setTimeout(function(){return r()})}:function(){r()}));var l=t.prototype.subscribe.call(this,o,s,a);return e instanceof i.a&&e.add(l),l},e}(o.a),Ko=function(){function t(){this.dirty=!0,this._results=[],this.changes=new qo,this.length=0}return 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[nr()]=function(){return this._results[nr()]()},t.prototype.toString=function(){return this._results.toString()},t.prototype.reset=function(t){this._results=function t(e,n){void 0===n&&(n=e);for(var r=0;r<e.length;r++){var i=e[r];Array.isArray(i)?(n===e&&(n=e.slice(0,r)),t(i,n)):n!==e&&n.push(i)}return n}(t),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},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}(),Zo=new D("Application Initializer"),Yo=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 i=this.appInits[r]();$n(i)&&e.push(i)}Promise.all(e).then(function(){n()}).catch(function(e){t.reject(e)}),0===e.length&&n(),this.initialized=!0}},t}(),Qo=new D("AppId");function Xo(){return""+Jo()+Jo()+Jo()}function Jo(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var $o=new D("Platform Initializer"),ts=new D("Platform ID"),es=new D("appBootstrapListener"),ns=function(){function t(){}return t.prototype.log=function(t){console.log(t)},t.prototype.warn=function(t){console.warn(t)},t}();function rs(){throw new Error("Runtime compiler is not loaded")}var is,os,ss=rs,as=rs,ls=rs,us=rs,cs=function(){function t(){this.compileModuleSync=ss,this.compileModuleAsync=as,this.compileModuleAndAllComponentsSync=ls,this.compileModuleAndAllComponentsAsync=us}return t.prototype.clearCache=function(){},t.prototype.clearCacheFor=function(t){},t.prototype.getModuleId=function(t){},t}(),hs=function(){return function(){}}();function ps(){var t=A.wtf;return!(!t||!(is=t.trace)||(os=is.events,0))}var fs=ps();function ds(t,e){return null}var ms=fs?function(t,e){return void 0===e&&(e=null),os.createScope(t,e)}:function(t,e){return ds},ys=fs?function(t,e){return is.leaveScope(t,e),e}:function(t,e){return e},gs=function(){return Promise.resolve(0)}();function vs(t){"undefined"==typeof Zone?gs.then(function(){t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}var bs=function(){function t(t){var e,n=t.enableLongStackTrace,r=void 0!==n&&n;if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new qo(!1),this.onMicrotaskEmpty=new qo(!1),this.onStable=new qo(!1),this.onError=new qo(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),(e=this)._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(t,n,r,i,o,s){try{return xs(e),t.invokeTask(r,i,o,s)}finally{Cs(e)}},onInvoke:function(t,n,r,i,o,s,a){try{return xs(e),t.invoke(r,i,o,s,a)}finally{Cs(e)}},onHasTask:function(t,n,r,i){t.hasTask(r,i),n===r&&("microTask"==i.change?(e.hasPendingMicrotasks=i.microTask,ws(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:function(t,n,r,i){return t.handleError(r,i),e.runOutsideAngular(function(){return e.onError.emit(i)}),!1}})}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 i=this._inner,o=i.scheduleEventTask("NgZoneEvent: "+r,t,Es,_s,_s);try{return i.runTask(o,e,n)}finally{i.cancelTask(o)}},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}();function _s(){}var Es={};function ws(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 xs(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Cs(t){t._nesting--,ws(t)}var Ss=function(){function t(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new qo,this.onMicrotaskEmpty=new qo,this.onStable=new qo,this.onError=new qo}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}(),As=function(){function t(t){var e=this;this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run(function(){e.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}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(){bs.assertNotInAngularZone(),vs(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;if(this.isStable())vs(function(){for(;0!==t._callbacks.length;){var e=t._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(t._didWork)}t._didWork=!1});else{var e=this.getPendingTasks();this._callbacks=this._callbacks.filter(function(t){return!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)}),this._didWork=!0}},t.prototype.getPendingTasks=function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(function(t){return{source:t.source,creationLocation:t.creationLocation,data:t.data}}):[]},t.prototype.addCallback=function(t,e,n){var r=this,i=-1;e&&e>0&&(i=setTimeout(function(){r._callbacks=r._callbacks.filter(function(t){return t.timeoutId!==i}),t(r._didWork,r.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:i,updateCb:n})},t.prototype.whenStable=function(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()},t.prototype.getPendingRequestCount=function(){return this._pendingCount},t.prototype.findProviders=function(t,e,n){return[]},t}(),Ps=function(){function t(){this._applications=new Map,Ds.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),Ds.findTestabilityInTree(this,t,e)},Object(r.b)([Object(r.d)("design:paramtypes",[])],t)}();function Ts(t){Ds=t}var ks,Ds=new(function(){function t(){}return t.prototype.addToWindow=function(t){},t.prototype.findTestabilityInTree=function(t,e,n){return null},t}()),Is=new D("AllowMultipleToken"),Os=function(){return function(t,e){this.name=t,this.token=e}}();function Ms(t,e,n){void 0===n&&(n=[]);var r="Platform: "+e,i=new D(r);return function(e){void 0===e&&(e=[]);var o=Fs();if(!o||o.injector.get(Is,!1))if(t)t(n.concat(e).concat({provide:i,useValue:!0}));else{var s=n.concat(e).concat({provide:i,useValue:!0});!function(t){if(ks&&!ks.destroyed&&!ks.injector.get(Is,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");ks=t.get(Rs);var e=t.get($o,null);e&&e.forEach(function(t){return t()})}(R.create({providers:s,name:r}))}return function(t){var e=Fs();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}(i)}}function Fs(){return ks&&!ks.destroyed?ks:null}var Rs=function(){function t(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return t.prototype.bootstrapModuleFactory=function(t,e){var n,r=this,i="noop"===(n=e?e.ngZone:void 0)?new Ss:("zone.js"===n?void 0:n)||new bs({enableLongStackTrace:ge()}),o=[{provide:bs,useValue:i}];return i.run(function(){var e=R.create({providers:o,parent:r.injector,name:t.moduleType.name}),n=t.create(e),s=n.injector.get(de,null);if(!s)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy(function(){return js(r._modules,n)}),i.runOutsideAngular(function(){return i.onError.subscribe({next:function(t){s.handleError(t)}})}),function(t,e,i){try{var o=((s=n.injector.get(Yo)).runInitializers(),s.donePromise.then(function(){return r._moduleDoBootstrap(n),n}));return $n(o)?o.catch(function(n){throw e.runOutsideAngular(function(){return t.handleError(n)}),n}):o}catch(a){throw e.runOutsideAngular(function(){return t.handleError(a)}),a}var s}(s,i)})},t.prototype.bootstrapModule=function(t,e){var n=this;void 0===e&&(e=[]);var r=Ns({},e);return function(t,e,n){return t.get(hs).createCompiler([e]).compileModuleAsync(n)}(this.injector,r,t).then(function(t){return n.bootstrapModuleFactory(t,r)})},t.prototype._moduleDoBootstrap=function(t){var e=t.injector.get(Vs);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(function(t){return e.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+_(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}();function Ns(t,e){return Array.isArray(e)?e.reduce(Ns,t):Object(r.a)({},t,e)}var Vs=function(){function t(t,e,n,r,i,o){var u=this;this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=i,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=ge(),this._zone.onMicrotaskEmpty.subscribe({next:function(){u._zone.run(function(){u.tick()})}});var c=new s.a(function(t){u._stable=u._zone.isStable&&!u._zone.hasPendingMacrotasks&&!u._zone.hasPendingMicrotasks,u._zone.runOutsideAngular(function(){t.next(u._stable),t.complete()})}),h=new s.a(function(t){var e;u._zone.runOutsideAngular(function(){e=u._zone.onStable.subscribe(function(){bs.assertNotInAngularZone(),vs(function(){u._stable||u._zone.hasPendingMacrotasks||u._zone.hasPendingMicrotasks||(u._stable=!0,t.next(!0))})})});var n=u._zone.onUnstable.subscribe(function(){bs.assertInAngularZone(),u._stable&&(u._stable=!1,u._zone.runOutsideAngular(function(){t.next(!1)}))});return function(){e.unsubscribe(),n.unsubscribe()}});this.isStable=Object(a.a)(c,h.pipe(Object(l.a)()))}var e;return e=t,t.prototype.bootstrap=function(t,e){var n,r=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=t instanceof hr?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);var i=n instanceof gr?null:this._injector.get(vr),o=n.create(R.NULL,[],e||n.selector,i);o.onDestroy(function(){r._unloadComponent(o)});var s=o.injector.get(As,null);return s&&o.injector.get(Ps).registerApplication(o.location.nativeElement,s),this._loadComponent(o),ge()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),o},t.prototype.tick=function(){var t,n,i,o,s=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var a=e._tickScope();try{this._runningTick=!0;try{for(var l=Object(r.h)(this._views),u=l.next();!u.done;u=l.next())u.value.detectChanges()}catch(p){t={error:p}}finally{try{u&&!u.done&&(n=l.return)&&n.call(l)}finally{if(t)throw t.error}}if(this._enforceNoNewChanges)try{for(var c=Object(r.h)(this._views),h=c.next();!h.done;h=c.next())h.value.checkNoChanges()}catch(f){i={error:f}}finally{try{h&&!h.done&&(o=c.return)&&o.call(c)}finally{if(i)throw i.error}}}catch(d){this._zone.runOutsideAngular(function(){return s._exceptionHandler.handleError(d)})}finally{this._runningTick=!1,ys(a)}},t.prototype.attachView=function(t){var e=t;this._views.push(e),e.attachToAppRef(this)},t.prototype.detachView=function(t){var e=t;js(this._views,e),e.detachFromAppRef()},t.prototype._loadComponent=function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(es,[]).concat(this._bootstrapListeners).forEach(function(e){return e(t)})},t.prototype._unloadComponent=function(t){this.detachView(t.hostView),js(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=ms("ApplicationRef#tick()"),t}();function js(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var Ls=function(){return function(t,e){this.name=t,this.callback=e}}(),Bs=function(){function t(t,e,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=t,e&&e instanceof zs&&e.addChild(this)}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}(),zs=function(t){function e(e,n,r){var i=t.call(this,e,n,r)||this;return i.properties={},i.attributes={},i.classes={},i.styles={},i.childNodes=[],i.nativeElement=e,i}return Object(r.c)(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,i=this,o=this.childNodes.indexOf(t);-1!==o&&((n=this.childNodes).splice.apply(n,Object(r.g)([o+1,0],e)),e.forEach(function(e){e.parent&&e.parent.removeChild(e),t.parent=i}))},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 Gs(this,t,e),e},e.prototype.queryAllNodes=function(t){var e=[];return Hs(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}(Bs);function Gs(t,e,n){t.childNodes.forEach(function(t){t instanceof zs&&(e(t)&&n.push(t),Gs(t,e,n))})}function Hs(t,e,n){t instanceof zs&&t.childNodes.forEach(function(t){e(t)&&n.push(t),t instanceof zs&&Hs(t,e,n)})}var Us=new Map,Ws=function(t){return Us.get(t)||null};function qs(t){Us.set(t.nativeNode,t)}var Ks=Ms(null,"core",[{provide:ts,useValue:"unknown"},{provide:Rs,deps:[R]},{provide:Ps,deps:[]},{provide:ns,deps:[]}]),Zs=new D("LocaleId");function Ys(){return Wr}function Qs(){return qr}function Xs(t){return t||"en-US"}function Js(t){var e=[];return t.onStable.subscribe(function(){for(;e.length;)e.pop()()}),function(t){e.push(t)}}var $s=function(){return function(t){}}();function ta(t,e,n,r,i,o){t|=1;var s=Ti(e);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:t,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:s.matchedQueries,matchedQueryIds:s.matchedQueryIds,references:s.references,ngContentIndex:n,childCount:r,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:o?Oi(o):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:i||li},provider:null,text:null,query:null,ngContent:null}}function ea(t,e,n,i,o,s,a,l,u,c,h,p){var f;void 0===a&&(a=[]),c||(c=li);var d=Ti(n),m=d.matchedQueries,y=d.references,g=d.matchedQueryIds,v=null,b=null;s&&(v=(f=Object(r.f)(Li(s),2))[0],b=f[1]),l=l||[];for(var _=new Array(l.length),E=0;E<l.length;E++){var w=Object(r.f)(l[E],3),x=w[0],C=w[1],S=w[2],A=Object(r.f)(Li(C),2),P=A[0],T=A[1],k=void 0,D=void 0;switch(15&x){case 4:D=S;break;case 1:case 8:k=S}_[E]={flags:x,ns:P,name:T,nonMinifiedName:T,securityContext:k,suffix:D}}u=u||[];var I=new Array(u.length);for(E=0;E<u.length;E++){var O=Object(r.f)(u[E],2);I[E]={type:0,target:O[0],eventName:O[1],propName:null}}var M=(a=a||[]).map(function(t){var e=Object(r.f)(t,2),n=e[0],i=e[1],o=Object(r.f)(Li(n),2);return[o[0],o[1],i]});return p=function(t){if(t&&t.id===pi){var e=null!=t.encapsulation&&t.encapsulation!==X.None||t.styles.length||Object.keys(t.data).length;t.id=e?"c"+mi++:fi}return t&&t.id===fi&&(t=null),t||null}(p),h&&(e|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:m,matchedQueryIds:g,references:y,ngContentIndex:i,childCount:o,bindings:_,bindingFlags:Bi(_),outputs:I,element:{ns:v,name:b,attrs:M,template:null,componentProvider:null,componentView:h||null,componentRendererType:p,publicProviders:null,allProviders:null,handleEvent:c||li},provider:null,text:null,query:null,ngContent:null}}function na(t,e,n){var i,o=n.element,s=t.root.selectorOrNode,a=t.renderer;if(t.parent||!s){i=o.name?a.createElement(o.name,o.ns):a.createComment("");var l=Di(t,e,n);l&&a.appendChild(l,i)}else i=a.selectRootElement(s,!!o.componentRendererType&&o.componentRendererType.encapsulation===X.ShadowDom);if(o.attrs)for(var u=0;u<o.attrs.length;u++){var c=Object(r.f)(o.attrs[u],3);a.setAttribute(i,c[1],c[2],c[0])}return i}function ra(t,e,n,r){for(var i=0;i<n.outputs.length;i++){var o=n.outputs[i],s=ia(t,n.nodeIndex,(h=o.eventName,(c=o.target)?c+":"+h:h)),a=o.target,l=t;"component"===o.target&&(a=null,l=e);var u=l.renderer.listen(a||r,o.eventName,s);t.disposables[n.outputIndex+i]=u}var c,h}function ia(t,e,n){return function(r){return Ei(t,e,n,r)}}function oa(t,e,n,r){if(!gi(t,e,n,r))return!1;var i=e.bindings[n],o=ri(t,e.nodeIndex),s=o.renderElement,a=i.name;switch(15&i.flags){case 1:!function(t,e,n,r,i,o){var s=e.securityContext,a=s?t.root.sanitizer.sanitize(s,o):o;a=null!=a?a.toString():null;var l=t.renderer;null!=o?l.setAttribute(n,i,a,r):l.removeAttribute(n,i,r)}(t,i,s,i.ns,a,r);break;case 2:!function(t,e,n,r){var i=t.renderer;r?i.addClass(e,n):i.removeClass(e,n)}(t,s,a,r);break;case 4:!function(t,e,n,r,i){var o=t.root.sanitizer.sanitize(ze.STYLE,i);if(null!=o){o=o.toString();var s=e.suffix;null!=s&&(o+=s)}else o=null;var a=t.renderer;null!=o?a.setStyle(n,r,o):a.removeStyle(n,r)}(t,i,s,a,r);break;case 8:!function(t,e,n,r,i){var o=e.securityContext,s=o?t.root.sanitizer.sanitize(o,i):i;t.renderer.setProperty(n,r,s)}(33554432&e.flags&&32&i.flags?o.componentView:t,i,s,a,r)}return!0}function sa(t,e,n){var r=[];for(var i in n)r.push({propName:i,bindingType:n[i]});return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,ngContentIndex:-1,matchedQueries:{},matchedQueryIds:0,references:{},childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:{id:e,filterId:Pi(e),bindings:r},ngContent:null}}function aa(t){for(var e=t.def.nodeMatchedQueries;t.parent&&Ai(t);){var n=t.parentNodeDef;t=t.parent;for(var r=n.nodeIndex+n.childCount,i=0;i<=r;i++)67108864&(o=t.def.nodes[i]).flags&&536870912&o.flags&&(o.query.filterId&e)===o.query.filterId&&si(t,i).setDirty(),!(1&o.flags&&i+o.childCount<n.nodeIndex)&&67108864&o.childFlags&&536870912&o.childFlags||(i+=o.childCount)}if(134217728&t.def.nodeFlags)for(i=0;i<t.def.nodes.length;i++){var o;134217728&(o=t.def.nodes[i]).flags&&536870912&o.flags&&si(t,i).setDirty(),i+=o.childCount}}function la(t,e){var n=si(t,e.nodeIndex);if(n.dirty){var r,i=void 0;if(67108864&e.flags){var o=e.parent.parent;i=ua(t,o.nodeIndex,o.nodeIndex+o.childCount,e.query,[]),r=ii(t,e.parent.nodeIndex).instance}else 134217728&e.flags&&(i=ua(t,0,t.def.nodes.length-1,e.query,[]),r=t.component);n.reset(i);for(var s=e.query.bindings,a=!1,l=0;l<s.length;l++){var u=s[l],c=void 0;switch(u.bindingType){case 0:c=n.first;break;case 1:c=n,a=!0}r[u.propName]=c}a&&n.notifyOnChanges()}}function ua(t,e,n,r,i){for(var o=e;o<=n;o++){var s=t.def.nodes[o],a=s.matchedQueries[r.id];if(null!=a&&i.push(ca(t,s,a)),1&s.flags&&s.element.template&&(s.element.template.nodeMatchedQueries&r.filterId)===r.filterId){var l=ri(t,o);if((s.childMatchedQueries&r.filterId)===r.filterId&&(ua(t,o+1,o+s.childCount,r,i),o+=s.childCount),16777216&s.flags)for(var u=l.viewContainer._embeddedViews,c=0;c<u.length;c++){var h=u[c],p=wi(h);p&&p===l&&ua(h,0,h.def.nodes.length-1,r,i)}var f=l.template._projectedViews;if(f)for(c=0;c<f.length;c++){var d=f[c];ua(d,0,d.def.nodes.length-1,r,i)}}(s.childMatchedQueries&r.filterId)!==r.filterId&&(o+=s.childCount)}return i}function ca(t,e,n){if(null!=n)switch(n){case 1:return ri(t,e.nodeIndex).renderElement;case 0:return new Er(ri(t,e.nodeIndex).renderElement);case 2:return ri(t,e.nodeIndex).template;case 3:return ri(t,e.nodeIndex).viewContainer;case 4:return ii(t,e.nodeIndex).instance}}function ha(t,e){return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:8,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:null,ngContent:{index:e}}}function pa(t,e,n){var r=Di(t,e,n);r&&Ri(t,n.ngContent.index,1,r,null,void 0)}function fa(t,e){for(var n=Object.keys(e),r=n.length,i=new Array(r),o=0;o<r;o++){var s=n[o];i[e[s]]=s}return function(t,e,n){for(var r=new Array(n.length),i=0;i<n.length;i++){var o=n[i];r[i]={flags:8,name:o,ns:null,nonMinifiedName:o,securityContext:null,suffix:null}}return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:64,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:-1,childCount:0,bindings:r,bindingFlags:Bi(r),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}(0,t,i)}function da(t,e,n){for(var r=new Array(n.length-1),i=1;i<n.length;i++)r[i-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[i]};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 ma(t,e,n){var r,i=t.renderer;r=i.createText(n.text.prefix);var o=Di(t,e,n);return o&&i.appendChild(o,r),{renderText:r}}function ya(t,e){return(null!=t?t.toString():"")+e.suffix}function ga(t,e,n,r){for(var i=0,o=0,s=0,a=0,l=0,u=null,c=null,h=!1,p=!1,f=null,d=0;d<e.length;d++){var m=e[d];if(m.nodeIndex=d,m.parent=u,m.bindingIndex=i,m.outputIndex=o,m.renderParent=c,s|=m.flags,l|=m.matchedQueryIds,m.element){var y=m.element;y.publicProviders=u?u.element.publicProviders:Object.create(null),y.allProviders=y.publicProviders,h=!1,p=!1,m.element.template&&(l|=m.element.template.nodeMatchedQueries)}if(ba(u,m,e.length),i+=m.bindings.length,o+=m.outputs.length,!c&&3&m.flags&&(f=m),20224&m.flags){h||(h=!0,u.element.publicProviders=Object.create(u.element.publicProviders),u.element.allProviders=u.element.publicProviders);var g=0!=(32768&m.flags);0==(8192&m.flags)||g?u.element.publicProviders[ci(m.provider.token)]=m:(p||(p=!0,u.element.allProviders=Object.create(u.element.publicProviders)),u.element.allProviders[ci(m.provider.token)]=m),g&&(u.element.componentProvider=m)}if(u?(u.childFlags|=m.flags,u.directChildFlags|=m.flags,u.childMatchedQueries|=m.matchedQueryIds,m.element&&m.element.template&&(u.childMatchedQueries|=m.element.template.nodeMatchedQueries)):a|=m.flags,m.childCount>0)u=m,va(m)||(c=m);else for(;u&&d===u.nodeIndex+u.childCount;){var v=u.parent;v&&(v.childFlags|=u.childFlags,v.childMatchedQueries|=u.childMatchedQueries),c=(u=v)&&va(u)?u.renderParent:u}}return{factory:null,nodeFlags:s,rootNodeFlags:a,nodeMatchedQueries:l,flags:t,nodes:e,updateDirectives:n||li,updateRenderer:r||li,handleEvent:function(t,n,r,i){return e[n].element.handleEvent(t,r,i)},bindingCount:i,outputCount:o,lastRenderRootNode:f}}function va(t){return 0!=(1&t.flags)&&null===t.element.name}function ba(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 i=t?t.nodeIndex+t.childCount:n-1;if(e.nodeIndex<=i&&e.nodeIndex+e.childCount>i)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+e.nodeIndex+"!")}}function _a(t,e,n,r){var i=xa(t.root,t.renderer,t,e,n);return Ca(i,t.component,r),Sa(i),i}function Ea(t,e,n){var r=xa(t,t.renderer,null,null,e);return Ca(r,n,n),Sa(r),r}function wa(t,e,n,r){var i,o=e.element.componentRendererType;return i=o?t.root.rendererFactory.createRenderer(r,o):t.root.renderer,xa(t.root,i,t,e.element.componentProvider,n)}function xa(t,e,n,r,i){var o=new Array(i.nodes.length),s=i.outputCount?new Array(i.outputCount):null;return{def:i,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:o,state:13,root:t,renderer:e,oldValues:new Array(i.bindingCount),disposables:s,initIndex:-1}}function Ca(t,e,n){t.component=e,t.context=n}function Sa(t){var e;Si(t)&&(e=ri(t.parent,t.parentNodeDef.parent.nodeIndex).renderElement);for(var n=t.def,r=t.nodes,i=0;i<n.nodes.length;i++){var o=n.nodes[i];ai.setCurrentNode(t,i);var s=void 0;switch(201347067&o.flags){case 1:var a=na(t,e,o),l=void 0;if(33554432&o.flags){var u=Oi(o.element.componentView);l=ai.createComponentView(t,o,u,a)}ra(t,l,o,a),s={renderElement:a,componentView:l,viewContainer:null,template:o.element.template?co(t,o):void 0},16777216&o.flags&&(s.viewContainer=so(t,o,s));break;case 2:s=ma(t,e,o);break;case 512:case 1024:case 2048:case 256:(s=r[i])||4096&o.flags||(s={instance:Oo(t,o)});break;case 16:s={instance:Mo(t,o)};break;case 16384:(s=r[i])||(s={instance:Fo(t,o)}),32768&o.flags&&Ca(ri(t,o.parent.nodeIndex).componentView,s.instance,s.instance);break;case 32:case 64:case 128:s={value:void 0};break;case 67108864:case 134217728:s=new Ko;break;case 8:pa(t,e,o),s=void 0}r[i]=s}Fa(t,Ma.CreateViewNodes),ja(t,201326592,268435456,0)}function Aa(t){ka(t),ai.updateDirectives(t,1),Ra(t,Ma.CheckNoChanges),ai.updateRenderer(t,1),Fa(t,Ma.CheckNoChanges),t.state&=-97}function Pa(t){1&t.state?(t.state&=-2,t.state|=2):t.state&=-3,ti(t,0,256),ka(t),ai.updateDirectives(t,0),Ra(t,Ma.CheckAndUpdate),ja(t,67108864,536870912,0);var e=ti(t,256,512);Go(t,2097152|(e?1048576:0)),ai.updateRenderer(t,0),Fa(t,Ma.CheckAndUpdate),ja(t,134217728,536870912,0),Go(t,8388608|((e=ti(t,512,768))?4194304:0)),2&t.def.flags&&(t.state&=-9),t.state&=-97,ti(t,768,1024)}function Ta(t,e,n,i,o,s,a,l,u,c,h,p,f){return 0===n?function(t,e,n,r,i,o,s,a,l,u,c,h){switch(201347067&e.flags){case 1:return function(t,e,n,r,i,o,s,a,l,u,c,h){var p=e.bindings.length,f=!1;return p>0&&oa(t,e,0,n)&&(f=!0),p>1&&oa(t,e,1,r)&&(f=!0),p>2&&oa(t,e,2,i)&&(f=!0),p>3&&oa(t,e,3,o)&&(f=!0),p>4&&oa(t,e,4,s)&&(f=!0),p>5&&oa(t,e,5,a)&&(f=!0),p>6&&oa(t,e,6,l)&&(f=!0),p>7&&oa(t,e,7,u)&&(f=!0),p>8&&oa(t,e,8,c)&&(f=!0),p>9&&oa(t,e,9,h)&&(f=!0),f}(t,e,n,r,i,o,s,a,l,u,c,h);case 2:return function(t,e,n,r,i,o,s,a,l,u,c,h){var p=!1,f=e.bindings,d=f.length;if(d>0&&gi(t,e,0,n)&&(p=!0),d>1&&gi(t,e,1,r)&&(p=!0),d>2&&gi(t,e,2,i)&&(p=!0),d>3&&gi(t,e,3,o)&&(p=!0),d>4&&gi(t,e,4,s)&&(p=!0),d>5&&gi(t,e,5,a)&&(p=!0),d>6&&gi(t,e,6,l)&&(p=!0),d>7&&gi(t,e,7,u)&&(p=!0),d>8&&gi(t,e,8,c)&&(p=!0),d>9&&gi(t,e,9,h)&&(p=!0),p){var m=e.text.prefix;d>0&&(m+=ya(n,f[0])),d>1&&(m+=ya(r,f[1])),d>2&&(m+=ya(i,f[2])),d>3&&(m+=ya(o,f[3])),d>4&&(m+=ya(s,f[4])),d>5&&(m+=ya(a,f[5])),d>6&&(m+=ya(l,f[6])),d>7&&(m+=ya(u,f[7])),d>8&&(m+=ya(c,f[8])),d>9&&(m+=ya(h,f[9]));var y=ni(t,e.nodeIndex).renderText;t.renderer.setValue(y,m)}return p}(t,e,n,r,i,o,s,a,l,u,c,h);case 16384:return function(t,e,n,r,i,o,s,a,l,u,c,h){var p=ii(t,e.nodeIndex),f=p.instance,d=!1,m=void 0,y=e.bindings.length;return y>0&&yi(t,e,0,n)&&(d=!0,m=zo(t,p,e,0,n,m)),y>1&&yi(t,e,1,r)&&(d=!0,m=zo(t,p,e,1,r,m)),y>2&&yi(t,e,2,i)&&(d=!0,m=zo(t,p,e,2,i,m)),y>3&&yi(t,e,3,o)&&(d=!0,m=zo(t,p,e,3,o,m)),y>4&&yi(t,e,4,s)&&(d=!0,m=zo(t,p,e,4,s,m)),y>5&&yi(t,e,5,a)&&(d=!0,m=zo(t,p,e,5,a,m)),y>6&&yi(t,e,6,l)&&(d=!0,m=zo(t,p,e,6,l,m)),y>7&&yi(t,e,7,u)&&(d=!0,m=zo(t,p,e,7,u,m)),y>8&&yi(t,e,8,c)&&(d=!0,m=zo(t,p,e,8,c,m)),y>9&&yi(t,e,9,h)&&(d=!0,m=zo(t,p,e,9,h,m)),m&&f.ngOnChanges(m),65536&e.flags&&ei(t,256,e.nodeIndex)&&f.ngOnInit(),262144&e.flags&&f.ngDoCheck(),d}(t,e,n,r,i,o,s,a,l,u,c,h);case 32:case 64:case 128:return function(t,e,n,r,i,o,s,a,l,u,c,h){var p=e.bindings,f=!1,d=p.length;if(d>0&&gi(t,e,0,n)&&(f=!0),d>1&&gi(t,e,1,r)&&(f=!0),d>2&&gi(t,e,2,i)&&(f=!0),d>3&&gi(t,e,3,o)&&(f=!0),d>4&&gi(t,e,4,s)&&(f=!0),d>5&&gi(t,e,5,a)&&(f=!0),d>6&&gi(t,e,6,l)&&(f=!0),d>7&&gi(t,e,7,u)&&(f=!0),d>8&&gi(t,e,8,c)&&(f=!0),d>9&&gi(t,e,9,h)&&(f=!0),f){var m=oi(t,e.nodeIndex),y=void 0;switch(201347067&e.flags){case 32:y=new Array(p.length),d>0&&(y[0]=n),d>1&&(y[1]=r),d>2&&(y[2]=i),d>3&&(y[3]=o),d>4&&(y[4]=s),d>5&&(y[5]=a),d>6&&(y[6]=l),d>7&&(y[7]=u),d>8&&(y[8]=c),d>9&&(y[9]=h);break;case 64:y={},d>0&&(y[p[0].name]=n),d>1&&(y[p[1].name]=r),d>2&&(y[p[2].name]=i),d>3&&(y[p[3].name]=o),d>4&&(y[p[4].name]=s),d>5&&(y[p[5].name]=a),d>6&&(y[p[6].name]=l),d>7&&(y[p[7].name]=u),d>8&&(y[p[8].name]=c),d>9&&(y[p[9].name]=h);break;case 128:var g=n;switch(d){case 1:y=g.transform(n);break;case 2:y=g.transform(r);break;case 3:y=g.transform(r,i);break;case 4:y=g.transform(r,i,o);break;case 5:y=g.transform(r,i,o,s);break;case 6:y=g.transform(r,i,o,s,a);break;case 7:y=g.transform(r,i,o,s,a,l);break;case 8:y=g.transform(r,i,o,s,a,l,u);break;case 9:y=g.transform(r,i,o,s,a,l,u,c);break;case 10:y=g.transform(r,i,o,s,a,l,u,c,h)}}m.value=y}return f}(t,e,n,r,i,o,s,a,l,u,c,h);default:throw"unreachable"}}(t,e,i,o,s,a,l,u,c,h,p,f):function(t,e,n){switch(201347067&e.flags){case 1:return function(t,e,n){for(var r=!1,i=0;i<n.length;i++)oa(t,e,i,n[i])&&(r=!0);return r}(t,e,n);case 2:return function(t,e,n){for(var r=e.bindings,i=!1,o=0;o<n.length;o++)gi(t,e,o,n[o])&&(i=!0);if(i){var s="";for(o=0;o<n.length;o++)s+=ya(n[o],r[o]);s=e.text.prefix+s;var a=ni(t,e.nodeIndex).renderText;t.renderer.setValue(a,s)}return i}(t,e,n);case 16384:return function(t,e,n){for(var r=ii(t,e.nodeIndex),i=r.instance,o=!1,s=void 0,a=0;a<n.length;a++)yi(t,e,a,n[a])&&(o=!0,s=zo(t,r,e,a,n[a],s));return s&&i.ngOnChanges(s),65536&e.flags&&ei(t,256,e.nodeIndex)&&i.ngOnInit(),262144&e.flags&&i.ngDoCheck(),o}(t,e,n);case 32:case 64:case 128:return function(t,e,n){for(var i=e.bindings,o=!1,s=0;s<n.length;s++)gi(t,e,s,n[s])&&(o=!0);if(o){var a=oi(t,e.nodeIndex),l=void 0;switch(201347067&e.flags){case 32:l=n;break;case 64:for(l={},s=0;s<n.length;s++)l[i[s].name]=n[s];break;case 128:var u=n[0],c=n.slice(1);l=u.transform.apply(u,Object(r.g)(c))}a.value=l}return o}(t,e,n);default:throw"unreachable"}}(t,e,i)}function ka(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 i=ri(t,n).template._projectedViews;if(i)for(var o=0;o<i.length;o++){var s=i[o];s.state|=32,_i(s,t)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function Da(t,e,n,r,i,o,s,a,l,u,c,h,p){return 0===n?function(t,e,n,r,i,o,s,a,l,u,c,h){var p=e.bindings.length;p>0&&vi(t,e,0,n),p>1&&vi(t,e,1,r),p>2&&vi(t,e,2,i),p>3&&vi(t,e,3,o),p>4&&vi(t,e,4,s),p>5&&vi(t,e,5,a),p>6&&vi(t,e,6,l),p>7&&vi(t,e,7,u),p>8&&vi(t,e,8,c),p>9&&vi(t,e,9,h)}(t,e,r,i,o,s,a,l,u,c,h,p):function(t,e,n){for(var r=0;r<n.length;r++)vi(t,e,r,n[r])}(t,e,r),!1}function Ia(t,e){if(si(t,e.nodeIndex).dirty)throw Xr(ai.createDebugContext(t,e.nodeIndex),"Query "+e.query.id+" not dirty","Query "+e.query.id+" dirty",0!=(1&t.state))}function Oa(t){if(!(128&t.state)){if(Ra(t,Ma.Destroy),Fa(t,Ma.Destroy),Go(t,131072),t.disposables)for(var e=0;e<t.disposables.length;e++)t.disposables[e]();!function(t){if(16&t.state){var e=wi(t);if(e){var n=e.template._projectedViews;n&&(eo(n,n.indexOf(t)),ai.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(ri(t,n).renderElement):2&r.flags?t.renderer.destroyNode(ni(t,n).renderText):(67108864&r.flags||134217728&r.flags)&&si(t,n).destroy()}}(t),Si(t)&&t.renderer.destroy(),t.state|=128}}var Ma=function(t){return t[t.CreateViewNodes=0]="CreateViewNodes",t[t.CheckNoChanges=1]="CheckNoChanges",t[t.CheckNoChangesProjectedViews=2]="CheckNoChangesProjectedViews",t[t.CheckAndUpdate=3]="CheckAndUpdate",t[t.CheckAndUpdateProjectedViews=4]="CheckAndUpdateProjectedViews",t[t.Destroy=5]="Destroy",t}({});function Fa(t,e){var n=t.def;if(33554432&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var i=n.nodes[r];33554432&i.flags?Na(ri(t,r).componentView,e):0==(33554432&i.childFlags)&&(r+=i.childCount)}}function Ra(t,e){var n=t.def;if(16777216&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var i=n.nodes[r];if(16777216&i.flags)for(var o=ri(t,r).viewContainer._embeddedViews,s=0;s<o.length;s++)Na(o[s],e);else 0==(16777216&i.childFlags)&&(r+=i.childCount)}}function Na(t,e){var n=t.state;switch(e){case Ma.CheckNoChanges:0==(128&n)&&(12==(12&n)?Aa(t):64&n&&Va(t,Ma.CheckNoChangesProjectedViews));break;case Ma.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?Aa(t):64&n&&Va(t,e));break;case Ma.CheckAndUpdate:0==(128&n)&&(12==(12&n)?Pa(t):64&n&&Va(t,Ma.CheckAndUpdateProjectedViews));break;case Ma.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?Pa(t):64&n&&Va(t,e));break;case Ma.Destroy:Oa(t);break;case Ma.CreateViewNodes:Sa(t)}}function Va(t,e){Ra(t,e),Fa(t,e)}function ja(t,e,n,r){if(t.def.nodeFlags&e&&t.def.nodeFlags&n)for(var i=t.def.nodes.length,o=0;o<i;o++){var s=t.def.nodes[o];if(s.flags&e&&s.flags&n)switch(ai.setCurrentNode(t,s.nodeIndex),r){case 0:la(t,s);break;case 1:Ia(t,s)}s.childFlags&e&&s.childFlags&n||(o+=s.childCount)}}var La=!1;function Ba(t,e,n,r,i,o){var s=i.injector.get(Cr);return Ea(Ga(t,i,s,e,n),r,o)}function za(t,e,n,r,i,o){var s=i.injector.get(Cr),a=Ga(t,i,new _l(s),e,n),l=Ja(r);return vl(al.create,Ea,null,[a,l,o])}function Ga(t,e,n,r,i){var o=e.injector.get(Ge),s=e.injector.get(de),a=n.createRenderer(null,null);return{ngModule:e,injector:t,projectableNodes:r,selectorOrNode:i,sanitizer:o,rendererFactory:n,renderer:a,errorHandler:s}}function Ha(t,e,n,r){var i=Ja(n);return vl(al.create,_a,null,[t,e,i,r])}function Ua(t,e,n,r){return n=Za.get(e.element.componentProvider.provider.token)||Ja(n),vl(al.create,wa,null,[t,e,n,r])}function Wa(t,e,n,r){return vo(t,e,n,function(t){var e=function(t){var e=!1,n=!1;return 0===qa.size?{hasOverrides:e,hasDeprecatedOverrides:n}:(t.providers.forEach(function(t){var r=qa.get(t.token);3840&t.flags&&r&&(e=!0,n=n||r.deprecatedBehavior)}),t.modules.forEach(function(t){Ka.forEach(function(r,i){v(i).providedIn===t&&(e=!0,n=n||r.deprecatedBehavior)})}),{hasOverrides:e,hasDeprecatedOverrides:n})}(t),n=e.hasDeprecatedOverrides;return e.hasOverrides?(function(t){for(var e=0;e<t.providers.length;e++){var r=t.providers[e];n&&(r.flags|=4096);var i=qa.get(r.token);i&&(r.flags=-3841&r.flags|i.flags,r.deps=ki(i.deps),r.value=i.value)}if(Ka.size>0){var o=new Set(t.modules);Ka.forEach(function(e,r){if(o.has(v(r).providedIn)){var i={token:r,flags:e.flags|(n?4096:0),deps:ki(e.deps),value:e.value,index:t.providers.length};t.providers.push(i),t.providersByKey[ci(r)]=i}})}}(t=t.factory(function(){return li})),t):t}(r))}var qa=new Map,Ka=new Map,Za=new Map;function Ya(t){var e;qa.set(t.token,t),"function"==typeof t.token&&(e=v(t.token))&&"function"==typeof e.providedIn&&Ka.set(t.token,t)}function Qa(t,e){var n=Oi(e.viewDefFactory),r=Oi(n.nodes[0].element.componentView);Za.set(t,r)}function Xa(){qa.clear(),Ka.clear(),Za.clear()}function Ja(t){if(0===qa.size)return t;var e=function(t){for(var e=[],n=null,r=0;r<t.nodes.length;r++){var i=t.nodes[r];1&i.flags&&(n=i),n&&3840&i.flags&&qa.has(i.provider.token)&&(e.push(n.nodeIndex),n=null)}return e}(t);if(0===e.length)return t;t=t.factory(function(){return li});for(var n=0;n<e.length;n++)r(t,e[n]);return t;function r(t,e){for(var n=e+1;n<t.nodes.length;n++){var r=t.nodes[n];if(1&r.flags)return;if(3840&r.flags){var i=r.provider,o=qa.get(i.token);o&&(r.flags=-3841&r.flags|o.flags,i.deps=ki(o.deps),i.value=o.value)}}}}function $a(t,e,n,r,i,o,s,a,l,u,c,h,p){var f=t.def.nodes[e];return Ta(t,f,n,r,i,o,s,a,l,u,c,h,p),224&f.flags?oi(t,e).value:void 0}function tl(t,e,n,r,i,o,s,a,l,u,c,h,p){var f=t.def.nodes[e];return Da(t,f,n,r,i,o,s,a,l,u,c,h,p),224&f.flags?oi(t,e).value:void 0}function el(t){return vl(al.detectChanges,Pa,null,[t])}function nl(t){return vl(al.checkNoChanges,Aa,null,[t])}function rl(t){return vl(al.destroy,Oa,null,[t])}var il,ol,sl,al=function(t){return t[t.create=0]="create",t[t.detectChanges=1]="detectChanges",t[t.checkNoChanges=2]="checkNoChanges",t[t.destroy=3]="destroy",t[t.handleEvent=4]="handleEvent",t}({});function ll(t,e){ol=t,sl=e}function ul(t,e,n,r){return ll(t,e),vl(al.handleEvent,t.def.handleEvent,null,[t,e,n,r])}function cl(t,e){if(128&t.state)throw $r(al[il]);return ll(t,dl(t,0)),t.def.updateDirectives(function(t,n,r){for(var i=[],o=3;o<arguments.length;o++)i[o-3]=arguments[o];var s=t.def.nodes[n];return 0===e?pl(t,s,r,i):fl(t,s,r,i),16384&s.flags&&ll(t,dl(t,n)),224&s.flags?oi(t,s.nodeIndex).value:void 0},t)}function hl(t,e){if(128&t.state)throw $r(al[il]);return ll(t,ml(t,0)),t.def.updateRenderer(function(t,n,r){for(var i=[],o=3;o<arguments.length;o++)i[o-3]=arguments[o];var s=t.def.nodes[n];return 0===e?pl(t,s,r,i):fl(t,s,r,i),3&s.flags&&ll(t,ml(t,n)),224&s.flags?oi(t,s.nodeIndex).value:void 0},t)}function pl(t,e,n,i){if(Ta.apply(void 0,Object(r.g)([t,e,n],i))){var o=1===n?i[0]:i;if(16384&e.flags){for(var s={},a=0;a<e.bindings.length;a++){var l=e.bindings[a],u=o[a];8&l.flags&&(s[(f=l.nonMinifiedName,"ng-reflect-"+f.replace(/[$@]/g,"_").replace(qe,function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return"-"+t[1].toLowerCase()}))]=Ke(u))}var c=e.parent,h=ri(t,c.nodeIndex).renderElement;if(c.element.name)for(var p in s)null!=(u=s[p])?t.renderer.setAttribute(h,p,u):t.renderer.removeAttribute(h,p);else t.renderer.setValue(h,"bindings="+JSON.stringify(s,null,2))}}var f}function fl(t,e,n,i){Da.apply(void 0,Object(r.g)([t,e,n],i))}function dl(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 ml(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}var yl=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=xi(r),r=r.parent;this.elDef=n,this.elView=r}return Object.defineProperty(t.prototype,"elOrCompView",{get:function(){return ri(this.elView,this.elDef.nodeIndex).componentView||this.view},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return po(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){gl(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&&gl(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&&!Si(t);)t=t.parent;return t.parent?ri(t.parent,xi(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?Ci(this.view,this.nodeDef):Ci(this.elView,this.elDef)},enumerable:!0,configurable:!0}),t.prototype.logError=function(t){for(var e,n,i=[],o=1;o<arguments.length;o++)i[o-1]=arguments[o];2&this.nodeDef.flags?(e=this.view.def,n=this.nodeDef.nodeIndex):(e=this.elView.def,n=this.elDef.nodeIndex);var s=function(t,e){for(var n=-1,r=0;r<=e;r++)3&t.nodes[r].flags&&n++;return n}(e,n),a=-1;e.factory(function(){var e;return++a===s?(e=t.error).bind.apply(e,Object(r.g)([t],i)):li}),a<s&&(t.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),t.error.apply(t,Object(r.g)(i)))},t}();function gl(t,e,n){for(var r in e.references)n[r]=ca(t,e,e.references[r])}function vl(t,e,n,r){var i=il,o=ol,s=sl;try{il=t;var a=e.apply(n,r);return ol=o,sl=s,il=i,a}catch(l){if(he(l)||!ol)throw l;throw function(t,e){return t instanceof Error||(t=new Error(t.toString())),Jr(t,e),t}(l,bl())}}function bl(){return ol?new yl(ol,sl):null}var _l=function(){function t(t){this.delegate=t}return t.prototype.createRenderer=function(t,e){return new El(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}(),El=function(){function t(t){this.delegate=t,this.debugContextFactory=bl,this.data=this.delegate.data}return t.prototype.createDebugContext=function(t){return this.debugContextFactory(t)},t.prototype.destroyNode=function(t){!function(t){Us.delete(t.nativeNode)}(Ws(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=this.createDebugContext(n);if(r){var i=new zs(n,null,r);i.name=t,qs(i)}return n},t.prototype.createComment=function(t){var e=this.delegate.createComment(t),n=this.createDebugContext(e);return n&&qs(new Bs(e,null,n)),e},t.prototype.createText=function(t){var e=this.delegate.createText(t),n=this.createDebugContext(e);return n&&qs(new Bs(e,null,n)),e},t.prototype.appendChild=function(t,e){var n=Ws(t),r=Ws(e);n&&r&&n instanceof zs&&n.addChild(r),this.delegate.appendChild(t,e)},t.prototype.insertBefore=function(t,e,n){var r=Ws(t),i=Ws(e),o=Ws(n);r&&i&&r instanceof zs&&r.insertBefore(o,i),this.delegate.insertBefore(t,e,n)},t.prototype.removeChild=function(t,e){var n=Ws(t),r=Ws(e);n&&r&&n instanceof zs&&n.removeChild(r),this.delegate.removeChild(t,e)},t.prototype.selectRootElement=function(t,e){var n=this.delegate.selectRootElement(t,e),r=bl();return r&&qs(new zs(n,null,r)),n},t.prototype.setAttribute=function(t,e,n,r){var i=Ws(t);i&&i instanceof zs&&(i.attributes[r?r+":"+e:e]=n),this.delegate.setAttribute(t,e,n,r)},t.prototype.removeAttribute=function(t,e,n){var r=Ws(t);r&&r instanceof zs&&(r.attributes[n?n+":"+e:e]=null),this.delegate.removeAttribute(t,e,n)},t.prototype.addClass=function(t,e){var n=Ws(t);n&&n instanceof zs&&(n.classes[e]=!0),this.delegate.addClass(t,e)},t.prototype.removeClass=function(t,e){var n=Ws(t);n&&n instanceof zs&&(n.classes[e]=!1),this.delegate.removeClass(t,e)},t.prototype.setStyle=function(t,e,n,r){var i=Ws(t);i&&i instanceof zs&&(i.styles[e]=n),this.delegate.setStyle(t,e,n,r)},t.prototype.removeStyle=function(t,e,n){var r=Ws(t);r&&r instanceof zs&&(r.styles[e]=null),this.delegate.removeStyle(t,e,n)},t.prototype.setProperty=function(t,e,n){var r=Ws(t);r&&r instanceof zs&&(r.properties[e]=n),this.delegate.setProperty(t,e,n)},t.prototype.listen=function(t,e,n){if("string"!=typeof t){var r=Ws(t);r&&r.listeners.push(new Ls(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}();function wl(t,e,n){return new xl(t,e,n)}var xl=function(t){function e(e,n,r){var i=t.call(this)||this;return i.moduleType=e,i._bootstrapComponents=n,i._ngModuleDefFactory=r,i}return Object(r.c)(e,t),e.prototype.create=function(t){!function(){if(!La){La=!0;var t=ge()?{setCurrentNode:ll,createRootView:za,createEmbeddedView:Ha,createComponentView:Ua,createNgModuleRef:Wa,overrideProvider:Ya,overrideComponentView:Qa,clearOverrides:Xa,checkAndUpdateView:el,checkNoChangesView:nl,destroyView:rl,createDebugContext:function(t,e){return new yl(t,e)},handleEvent:ul,updateDirectives:cl,updateRenderer:hl}:{setCurrentNode:function(){},createRootView:Ba,createEmbeddedView:_a,createComponentView:wa,createNgModuleRef:vo,overrideProvider:li,overrideComponentView:li,clearOverrides:li,checkAndUpdateView:Pa,checkNoChangesView:Aa,destroyView:Oa,createDebugContext:function(t,e){return new yl(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?$a:tl,t)},updateRenderer:function(t,e){return t.def.updateRenderer(0===e?$a:tl,t)}};ai.setCurrentNode=t.setCurrentNode,ai.createRootView=t.createRootView,ai.createEmbeddedView=t.createEmbeddedView,ai.createComponentView=t.createComponentView,ai.createNgModuleRef=t.createNgModuleRef,ai.overrideProvider=t.overrideProvider,ai.overrideComponentView=t.overrideComponentView,ai.clearOverrides=t.clearOverrides,ai.checkAndUpdateView=t.checkAndUpdateView,ai.checkNoChangesView=t.checkNoChangesView,ai.destroyView=t.destroyView,ai.resolveDep=Lo,ai.createDebugContext=t.createDebugContext,ai.handleEvent=t.handleEvent,ai.updateDirectives=t.updateDirectives,ai.updateRenderer=t.updateRenderer,ai.dirtyParentQueries=aa}}();var e=function(t){var e=Array.from(t.providers),n=Array.from(t.modules),r={};for(var i in t.providersByKey)r[i]=t.providersByKey[i];return{factory:t.factory,isRoot:t.isRoot,providers:e,modules:n,providersByKey:r}}(Oi(this._ngModuleDefFactory));return ai.createNgModuleRef(this.moduleType,t||R.NULL,this._bootstrapComponents,e)},e}(br)},DKTb:function(t,e,n){"use strict";function r(t){setTimeout(function(){throw t},0)}n.d(e,"a",function(){return r})},"En8+":function(t,e,n){"use strict";function r(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}n.d(e,"a",function(){return i});var i=r()},"F/XL":function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n("nkY7"),i=n("IUTb"),o=n("JF+6");function s(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t[t.length-1];return Object(r.a)(n)?(t.pop(),Object(o.a)(t,n)):Object(i.a)(t)}},FFOo:function(t,e,n){"use strict";n.d(e,"a",function(){return c});var r=n("mrSG"),i=n("2Bdj"),o=n("6ahw"),s=n("pugT"),a=n("L/V9"),l=n("iLxQ"),u=n("DKTb"),c=function(t){function e(n,r,i){var s=t.call(this)||this;switch(s.syncErrorValue=null,s.syncErrorThrown=!1,s.syncErrorThrowable=!1,s.isStopped=!1,arguments.length){case 0:s.destination=o.a;break;case 1:if(!n){s.destination=o.a;break}if("object"==typeof n){n instanceof e?(s.syncErrorThrowable=n.syncErrorThrowable,s.destination=n,n.add(s)):(s.syncErrorThrowable=!0,s.destination=new h(s,n));break}default:s.syncErrorThrowable=!0,s.destination=new h(s,n,r,i)}return s}return r.c(e,t),e.prototype[a.a]=function(){return this},e.create=function(t,n,r){var i=new e(t,n,r);return i.syncErrorThrowable=!1,i},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._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this},e}(s.a),h=function(t){function e(e,n,r,s){var a,l=t.call(this)||this;l._parentSubscriber=e;var u=l;return Object(i.a)(n)?a=n:n&&(a=n.next,r=n.error,s=n.complete,n!==o.a&&(u=Object.create(n),Object(i.a)(u.unsubscribe)&&l.add(u.unsubscribe.bind(u)),u.unsubscribe=l.unsubscribe.bind(l))),l._context=u,l._next=a,l._error=r,l._complete=s,l}return r.c(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;l.a.useDeprecatedSynchronousErrorHandling&&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,n=l.a.useDeprecatedSynchronousErrorHandling;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):Object(u.a)(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;Object(u.a)(t)}}},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)};l.a.useDeprecatedSynchronousErrorHandling&&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(n){if(this.unsubscribe(),l.a.useDeprecatedSynchronousErrorHandling)throw n;Object(u.a)(n)}},e.prototype.__tryOrSetError=function(t,e,n){if(!l.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(r){return l.a.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=r,t.syncErrorThrown=!0,!0):(Object(u.a)(r),!0)}return!1},e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},e}(c)},Fxb1:function(t,e,n){"use strict";var r=n("+tJ4"),i=n("DKTb"),o=n("En8+"),s=n("xTla"),a=n("2ePl"),l=n("/WYv"),u=n("McSo");n.d(e,"a",function(){return c});var c=function(t){if(t&&"function"==typeof t[s.a])return c=t,function(t){var e=c[s.a]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if(Object(a.a)(t))return Object(r.a)(t);if(Object(l.a)(t))return n=t,function(t){return n.then(function(e){t.closed||(t.next(e),t.complete())},function(e){return t.error(e)}).then(null,i.a),t};if(t&&"function"==typeof t[o.a])return e=t,function(t){for(var n=e[o.a]();;){var r=n.next();if(r.done){t.complete();break}if(t.next(r.value),t.closed)break}return"function"==typeof n.return&&t.add(function(){n.return&&n.return()}),t};var e,n,c,h=Object(u.a)(t)?"an invalid object":"'"+t+"'";throw new TypeError("You provided "+h+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")}},G5J1:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("6blF"),i=new r.a(function(t){return t.complete()});function o(t){return t?function(t){return new r.a(function(e){return t.schedule(function(){return e.complete()})})}(t):i}},Gi3i:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n("mrSG"),i=n("FFOo"),o=n("T1DM");function s(t,e){return void 0===e&&(e=o.a),function(n){return n.lift(new a(t,e))}}var a=function(){function t(t,e){this.dueTime=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.dueTime,this.scheduler))},t}(),l=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.dueTime=n,i.scheduler=r,i.debouncedSubscription=null,i.lastValue=null,i.hasValue=!1,i}return r.c(e,t),e.prototype._next=function(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(u,this.dueTime,this))},e.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},e.prototype.debouncedNext=function(){if(this.clearDebounce(),this.hasValue){var t=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}},e.prototype.clearDebounce=function(){var t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)},e}(i.a);function u(t){t.debouncedNext()}},IUTb:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n("6blF"),i=n("+tJ4"),o=n("JF+6");function s(t,e){return e?Object(o.a)(t,e):new r.a(Object(i.a)(t))}},"JF+6":function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("6blF"),i=n("pugT");function o(t,e){return new r.a(function(n){var r=new i.a,o=0;return r.add(e.schedule(function(){o!==t.length?(n.next(t[o++]),n.closed||r.add(this.schedule())):n.complete()})),r})}},K9Ia:function(t,e,n){"use strict";n.d(e,"b",function(){return c}),n.d(e,"a",function(){return h});var r=n("mrSG"),i=n("6blF"),o=n("FFOo"),s=n("pugT"),a=n("8g8A"),l=n("uMaO"),u=n("L/V9"),c=function(t){function e(e){var n=t.call(this,e)||this;return n.destination=e,n}return r.c(e,t),e}(o.a),h=function(t){function e(){var e=t.call(this)||this;return e.observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return r.c(e,t),e.prototype[u.a]=function(){return new c(this)},e.prototype.lift=function(t){var e=new p(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new a.a;if(!this.isStopped)for(var e=this.observers,n=e.length,r=e.slice(),i=0;i<n;i++)r[i].next(t)},e.prototype.error=function(t){if(this.closed)throw new a.a;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var e=this.observers,n=e.length,r=e.slice(),i=0;i<n;i++)r[i].error(t);this.observers.length=0},e.prototype.complete=function(){if(this.closed)throw new a.a;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 a.a;return t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){if(this.closed)throw new a.a;return this.hasError?(t.error(this.thrownError),s.a.EMPTY):this.isStopped?(t.complete(),s.a.EMPTY):(this.observers.push(t),new l.a(this,t))},e.prototype.asObservable=function(){var t=new i.a;return t.source=this,t},e.create=function(t,e){return new p(t,e)},e}(i.a),p=function(t){function e(e,n){var r=t.call(this)||this;return r.destination=e,r.source=n,r}return r.c(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):s.a.EMPTY},e}(h)},"L/V9":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=function(){return"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()}()},MGBS:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("mrSG"),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.c(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.destination.next(e)},e.prototype.notifyError=function(t,e){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.destination.complete()},e}(n("FFOo").a)},McSo:function(t,e,n){"use strict";function r(t){return null!==t&&"object"==typeof t}n.d(e,"a",function(){return r})},Phjn:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("psW0");function i(t,e){return Object(r.a)(t,e,1)}},S1nX:function(t,e,n){"use strict";var r=n("mrSG"),i=n("K9Ia"),o=n("6blF"),s=n("FFOo"),a=n("pugT");function l(){return function(t){return t.lift(new u(t))}}var u=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new c(t,n),i=e.subscribe(r);return r.closed||(r.connection=n.connect()),i},t}(),c=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return r.c(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){var r=t.call(this)||this;return r.source=e,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return r.c(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 f(this.getSubject(),this))),t.closed&&(this._connection=null,t=a.a.EMPTY)),t},e.prototype.refCount=function(){return l()(this)},e}(o.a),p=function(){var t=h.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}}(),f=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return r.c(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}(i.b);function d(){return new i.a}function m(){return function(t){return l()((e=d,function(t){var n;n="function"==typeof e?e:function(){return e};var r=Object.create(t,p);return r.source=t,r.subjectFactory=n,r})(t));var e}}n.d(e,"a",function(){return m})},S5bw:function(t,e,n){"use strict";n.d(e,"a",function(){return c});var r=n("mrSG"),i=n("K9Ia"),o=n("zo3G"),s=n("pugT"),a=n("mZXl"),l=n("8g8A"),u=n("uMaO"),c=function(t){function e(e,n,r){void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===n&&(n=Number.POSITIVE_INFINITY);var i=t.call(this)||this;return i.scheduler=r,i._events=[],i._infiniteTimeWindow=!1,i._bufferSize=e<1?1:e,i._windowTime=n<1?1:n,n===Number.POSITIVE_INFINITY?(i._infiniteTimeWindow=!0,i.next=i.nextInfiniteTimeWindow):i.next=i.nextTimeWindow,i}return r.c(e,t),e.prototype.nextInfiniteTimeWindow=function(e){var n=this._events;n.push(e),n.length>this._bufferSize&&n.shift(),t.prototype.next.call(this,e)},e.prototype.nextTimeWindow=function(e){this._events.push(new h(this._getNow(),e)),this._trimBufferThenGetEvents(),t.prototype.next.call(this,e)},e.prototype._subscribe=function(t){var e,n=this._infiniteTimeWindow,r=n?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,o=r.length;if(this.closed)throw new l.a;if(this.isStopped||this.hasError?e=s.a.EMPTY:(this.observers.push(t),e=new u.a(this,t)),i&&t.add(t=new a.a(t,i)),n)for(var c=0;c<o&&!t.closed;c++)t.next(r[c]);else for(c=0;c<o&&!t.closed;c++)t.next(r[c].value);return this.hasError?t.error(this.thrownError):this.isStopped&&t.complete(),e},e.prototype._getNow=function(){return(this.scheduler||o.a).now()},e.prototype._trimBufferThenGetEvents=function(){for(var t=this._getNow(),e=this._bufferSize,n=this._windowTime,r=this._events,i=r.length,o=0;o<i&&!(t-r[o].time<n);)o++;return i>e&&(o=Math.max(o,i-e)),o>0&&r.splice(0,o),r},e}(i.a),h=function(){return function(t,e){this.time=t,this.value=e}}()},T1DM:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("h9Dq"),i=new(n("CS9Q").a)(r.a)},"VnD/":function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("mrSG"),i=n("FFOo");function o(t,e){return function(n){return n.lift(new s(t,e))}}var s=function(){function t(t,e){this.predicate=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.predicate,this.thisArg))},t}(),a=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.predicate=n,i.thisArg=r,i.count=0,i}return r.c(e,t),e.prototype._next=function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)},e}(i.a)},XlPw:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("6blF");function i(t,e){return new r.a(e?function(n){return e.schedule(o,0,{error:t,subscriber:n})}:function(e){return e.error(t)})}function o(t){t.subscriber.error(t.error)}},crnd:function(t,e){function n(t){return Promise.resolve().then(function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e})}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id="crnd"},dC0D:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("mrSG"),i=n("FFOo");function o(t,e){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new s(t,e,n))}}var s=function(){function t(t,e,n){void 0===n&&(n=!1),this.accumulator=t,this.seed=e,this.hasSeed=n}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.accumulator,this.seed,this.hasSeed))},t}(),a=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.accumulator=n,o._seed=r,o.hasSeed=i,o.index=0,o}return r.c(e,t),Object.defineProperty(e.prototype,"seed",{get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t},enumerable:!0,configurable:!0}),e.prototype._next=function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(r){this.destination.error(r)}this.seed=e,this.destination.next(e)},e}(i.a)},h9Dq:function(t,e,n){"use strict";var r=n("mrSG"),i=function(t){function e(e,n){return t.call(this)||this}return r.c(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(n("pugT").a);n.d(e,"a",function(){return o});var o=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.scheduler=e,r.work=n,r.pending=!1,r}return r.c(e,t),e.prototype.schedule=function(t,e){if(void 0===e&&(e=0),this.closed)return this;this.state=t;var n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(r,this.id,e),this},e.prototype.requestAsyncId=function(t,e,n){return void 0===n&&(n=0),setInterval(t.flush.bind(t,this),n)},e.prototype.recycleAsyncId=function(t,e,n){if(void 0===n&&(n=0),null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)},e.prototype.execute=function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(t,e){var n=!1,r=void 0;try{this.work(t)}catch(i){n=!0,r=!!i&&i||new Error(i)}if(n)return this.unsubscribe(),r},e.prototype._unsubscribe=function(){var t=this.id,e=this.scheduler,n=e.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null},e}(i)},iLxQ:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=!1,i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){r=t},get useDeprecatedSynchronousErrorHandling(){return r}}},isby:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=function(){return Array.isArray||function(t){return t&&"number"==typeof t.length}}()},lPHp:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_RESULT__,root,factory;"undefined"!=typeof navigator&&(root=window||{},factory=function(window){"use strict";var svgNS="http://www.w3.org/2000/svg",locationHref="",initialDefaultFrame=-999999,subframeEnabled=!0,expressionsPlugin,isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),cachedColors={},bm_rounder=Math.round,bm_rnd,bm_pow=Math.pow,bm_sqrt=Math.sqrt,bm_abs=Math.abs,bm_floor=Math.floor,bm_max=Math.max,bm_min=Math.min,blitter=10,BMMath={};function ProjectInterface(){return{}}!function(){var t,e=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],n=e.length;for(t=0;t<n;t+=1)BMMath[e[t]]=Math[e[t]]}(),BMMath.random=Math.random,BMMath.abs=function(t){if("object"==typeof t&&t.length){var e,n=createSizedArray(t.length),r=t.length;for(e=0;e<r;e+=1)n[e]=Math.abs(t[e]);return n}return Math.abs(t)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function roundValues(t){bm_rnd=t?Math.round:function(t){return t}}function styleDiv(t){t.style.position="absolute",t.style.top=0,t.style.left=0,t.style.display="block",t.style.transformOrigin=t.style.webkitTransformOrigin="0 0",t.style.backfaceVisibility=t.style.webkitBackfaceVisibility="visible",t.style.transformStyle=t.style.webkitTransformStyle=t.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(t,e,n,r){this.type=t,this.currentTime=e,this.totalTime=n,this.direction=r<0?-1:1}function BMCompleteEvent(t,e){this.type=t,this.direction=e<0?-1:1}function BMCompleteLoopEvent(t,e,n,r){this.type=t,this.currentLoop=n,this.totalLoops=e,this.direction=r<0?-1:1}function BMSegmentStartEvent(t,e,n){this.type=t,this.firstFrame=e,this.totalFrames=n}function BMDestroyEvent(t,e){this.type=t,this.target=e}function BMRenderFrameErrorEvent(t,e){this.type="renderFrameError",this.nativeError=t,this.currentTime=e}function BMConfigErrorEvent(t){this.type="configError",this.nativeError=t}function BMAnimationConfigErrorEvent(t,e){this.type=t,this.nativeError=e,this.currentTime=currentTime}roundValues(!1);var createElementID=(_count=0,function(){return"__lottie_element_"+ ++_count}),_count;function HSVtoRGB(t,e,n){var r,i,o,s,a,l,u,c;switch(l=n*(1-e),u=n*(1-(a=6*t-(s=Math.floor(6*t)))*e),c=n*(1-(1-a)*e),s%6){case 0:r=n,i=c,o=l;break;case 1:r=u,i=n,o=l;break;case 2:r=l,i=n,o=c;break;case 3:r=l,i=u,o=n;break;case 4:r=c,i=l,o=n;break;case 5:r=n,i=l,o=u}return[r,i,o]}function RGBtoHSV(t,e,n){var r,i=Math.max(t,e,n),o=Math.min(t,e,n),s=i-o,a=0===i?0:s/i,l=i/255;switch(i){case o:r=0;break;case t:r=e-n+s*(e<n?6:0),r/=6*s;break;case e:r=n-t+2*s,r/=6*s;break;case n:r=t-e+4*s,r/=6*s}return[r,a,l]}function addSaturationToRGB(t,e){var n=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return n[1]+=e,n[1]>1?n[1]=1:n[1]<=0&&(n[1]=0),HSVtoRGB(n[0],n[1],n[2])}function addBrightnessToRGB(t,e){var n=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return n[2]+=e,n[2]>1?n[2]=1:n[2]<0&&(n[2]=0),HSVtoRGB(n[0],n[1],n[2])}function addHueToRGB(t,e){var n=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return n[0]+=e/360,n[0]>1?n[0]-=1:n[0]<0&&(n[0]+=1),HSVtoRGB(n[0],n[1],n[2])}var rgbToHex=function(){var t,e,n=[];for(t=0;t<256;t+=1)e=t.toString(16),n[t]=1==e.length?"0"+e:e;return function(t,e,r){return t<0&&(t=0),e<0&&(e=0),r<0&&(r=0),"#"+n[t]+n[e]+n[r]}}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(t,e){if(this._cbs[t])for(var n=this._cbs[t].length,r=0;r<n;r++)this._cbs[t][r](e)},addEventListener:function(t,e){return this._cbs[t]||(this._cbs[t]=[]),this._cbs[t].push(e),(function(){this.removeEventListener(t,e)}).bind(this)},removeEventListener:function(t,e){if(e){if(this._cbs[t]){for(var n=0,r=this._cbs[t].length;n<r;)this._cbs[t][n]===e&&(this._cbs[t].splice(n,1),n-=1,r-=1),n+=1;this._cbs[t].length||(this._cbs[t]=null)}}else this._cbs[t]=null}};var createTypedArray="function"==typeof Uint8ClampedArray&&"function"==typeof Float32Array?function(t,e){return"float32"===t?new Float32Array(e):"int16"===t?new Int16Array(e):"uint8c"===t?new Uint8ClampedArray(e):void 0}:function(t,e){var n,r=0,i=[];switch(t){case"int16":case"uint8c":n=1;break;default:n=1.1}for(r=0;r<e;r+=1)i.push(n);return i};function createSizedArray(t){return Array.apply(null,{length:t})}function createNS(t){return document.createElementNS(svgNS,t)}function createTag(t){return document.createElement(t)}function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(t){-1===this.dynamicProperties.indexOf(t)&&(this.dynamicProperties.push(t),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var t,e=this.dynamicProperties.length;for(t=0;t<e;t+=1)this.dynamicProperties[t].getValue(),this.dynamicProperties[t]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(t){this.container=t,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var getBlendMode=(blendModeEnums={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"},function(t){return blendModeEnums[t]||""}),blendModeEnums,Matrix=function(){var t=Math.cos,e=Math.sin,n=Math.tan,r=Math.round;function i(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function o(n){if(0===n)return this;var r=t(n),i=e(n);return this._t(r,-i,0,0,i,r,0,0,0,0,1,0,0,0,0,1)}function s(n){if(0===n)return this;var r=t(n),i=e(n);return this._t(1,0,0,0,0,r,-i,0,0,i,r,0,0,0,0,1)}function a(n){if(0===n)return this;var r=t(n),i=e(n);return this._t(r,0,i,0,0,1,0,0,-i,0,r,0,0,0,0,1)}function l(n){if(0===n)return this;var r=t(n),i=e(n);return this._t(r,-i,0,0,i,r,0,0,0,0,1,0,0,0,0,1)}function u(t,e){return this._t(1,e,t,1,0,0)}function c(t,e){return this.shear(n(t),n(e))}function h(r,i){var o=t(i),s=e(i);return this._t(o,s,0,0,-s,o,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,n(r),1,0,0,0,0,1,0,0,0,0,1)._t(o,-s,0,0,s,o,0,0,0,0,1,0,0,0,0,1)}function p(t,e,n){return n||0===n||(n=1),1===t&&1===e&&1===n?this:this._t(t,0,0,0,0,e,0,0,0,0,n,0,0,0,0,1)}function f(t,e,n,r,i,o,s,a,l,u,c,h,p,f,d,m){return this.props[0]=t,this.props[1]=e,this.props[2]=n,this.props[3]=r,this.props[4]=i,this.props[5]=o,this.props[6]=s,this.props[7]=a,this.props[8]=l,this.props[9]=u,this.props[10]=c,this.props[11]=h,this.props[12]=p,this.props[13]=f,this.props[14]=d,this.props[15]=m,this}function d(t,e,n){return n=n||0,0!==t||0!==e||0!==n?this._t(1,0,0,0,0,1,0,0,0,0,1,0,t,e,n,1):this}function m(t,e,n,r,i,o,s,a,l,u,c,h,p,f,d,m){var y=this.props;if(1===t&&0===e&&0===n&&0===r&&0===i&&1===o&&0===s&&0===a&&0===l&&0===u&&1===c&&0===h)return y[12]=y[12]*t+y[15]*p,y[13]=y[13]*o+y[15]*f,y[14]=y[14]*c+y[15]*d,y[15]=y[15]*m,this._identityCalculated=!1,this;var g=y[0],v=y[1],b=y[2],_=y[3],E=y[4],w=y[5],x=y[6],C=y[7],S=y[8],A=y[9],P=y[10],T=y[11],k=y[12],D=y[13],I=y[14],O=y[15];return y[0]=g*t+v*i+b*l+_*p,y[1]=g*e+v*o+b*u+_*f,y[2]=g*n+v*s+b*c+_*d,y[3]=g*r+v*a+b*h+_*m,y[4]=E*t+w*i+x*l+C*p,y[5]=E*e+w*o+x*u+C*f,y[6]=E*n+w*s+x*c+C*d,y[7]=E*r+w*a+x*h+C*m,y[8]=S*t+A*i+P*l+T*p,y[9]=S*e+A*o+P*u+T*f,y[10]=S*n+A*s+P*c+T*d,y[11]=S*r+A*a+P*h+T*m,y[12]=k*t+D*i+I*l+O*p,y[13]=k*e+D*o+I*u+O*f,y[14]=k*n+D*s+I*c+O*d,y[15]=k*r+D*a+I*h+O*m,this._identityCalculated=!1,this}function y(){return this._identityCalculated||(this._identity=!(1!==this.props[0]||0!==this.props[1]||0!==this.props[2]||0!==this.props[3]||0!==this.props[4]||1!==this.props[5]||0!==this.props[6]||0!==this.props[7]||0!==this.props[8]||0!==this.props[9]||1!==this.props[10]||0!==this.props[11]||0!==this.props[12]||0!==this.props[13]||0!==this.props[14]||1!==this.props[15]),this._identityCalculated=!0),this._identity}function g(t){for(var e=0;e<16;){if(t.props[e]!==this.props[e])return!1;e+=1}return!0}function v(t){var e;for(e=0;e<16;e+=1)t.props[e]=this.props[e]}function b(t){var e;for(e=0;e<16;e+=1)this.props[e]=t[e]}function _(t,e,n){return{x:t*this.props[0]+e*this.props[4]+n*this.props[8]+this.props[12],y:t*this.props[1]+e*this.props[5]+n*this.props[9]+this.props[13],z:t*this.props[2]+e*this.props[6]+n*this.props[10]+this.props[14]}}function E(t,e,n){return t*this.props[0]+e*this.props[4]+n*this.props[8]+this.props[12]}function w(t,e,n){return t*this.props[1]+e*this.props[5]+n*this.props[9]+this.props[13]}function x(t,e,n){return t*this.props[2]+e*this.props[6]+n*this.props[10]+this.props[14]}function C(){var t=this.props[0]*this.props[5]-this.props[1]*this.props[4],e=this.props[5]/t,n=-this.props[1]/t,r=-this.props[4]/t,i=this.props[0]/t,o=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/t,s=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/t,a=new Matrix;return a.props[0]=e,a.props[1]=n,a.props[4]=r,a.props[5]=i,a.props[12]=o,a.props[13]=s,a}function S(t){return this.getInverseMatrix().applyToPointArray(t[0],t[1],t[2]||0)}function A(t){var e,n=t.length,r=[];for(e=0;e<n;e+=1)r[e]=S(t[e]);return r}function P(t,e,n){var r=createTypedArray("float32",6);if(this.isIdentity())r[0]=t[0],r[1]=t[1],r[2]=e[0],r[3]=e[1],r[4]=n[0],r[5]=n[1];else{var i=this.props[0],o=this.props[1],s=this.props[4],a=this.props[5],l=this.props[12],u=this.props[13];r[0]=t[0]*i+t[1]*s+l,r[1]=t[0]*o+t[1]*a+u,r[2]=e[0]*i+e[1]*s+l,r[3]=e[0]*o+e[1]*a+u,r[4]=n[0]*i+n[1]*s+l,r[5]=n[0]*o+n[1]*a+u}return r}function T(t,e,n){return this.isIdentity()?[t,e,n]:[t*this.props[0]+e*this.props[4]+n*this.props[8]+this.props[12],t*this.props[1]+e*this.props[5]+n*this.props[9]+this.props[13],t*this.props[2]+e*this.props[6]+n*this.props[10]+this.props[14]]}function k(t,e){if(this.isIdentity())return t+","+e;var n=this.props;return Math.round(100*(t*n[0]+e*n[4]+n[12]))/100+","+Math.round(100*(t*n[1]+e*n[5]+n[13]))/100}function D(){for(var t=0,e=this.props,n="matrix3d(";t<16;)n+=r(1e4*e[t])/1e4,n+=15===t?")":",",t+=1;return n}function I(t){return t<1e-6&&t>0||t>-1e-6&&t<0?r(1e4*t)/1e4:t}function O(){var t=this.props;return"matrix("+I(t[0])+","+I(t[1])+","+I(t[4])+","+I(t[5])+","+I(t[12])+","+I(t[13])+")"}return function(){this.reset=i,this.rotate=o,this.rotateX=s,this.rotateY=a,this.rotateZ=l,this.skew=c,this.skewFromAxis=h,this.shear=u,this.scale=p,this.setTransform=f,this.translate=d,this.transform=m,this.applyToPoint=_,this.applyToX=E,this.applyToY=w,this.applyToZ=x,this.applyToPointArray=T,this.applyToTriplePoints=P,this.applyToPointStringified=k,this.toCSS=D,this.to2dCSS=O,this.clone=v,this.cloneFromProps=b,this.equals=g,this.inversePoints=A,this.inversePoint=S,this.getInverseMatrix=C,this._t=this.transform,this.isIdentity=y,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();!function(t,e){var n=this,r=256,i=e.pow(r,6),o=e.pow(2,52),s=2*o,a=r-1;function l(t){var e,n=t.length,i=this,o=0,s=i.i=i.j=0,l=i.S=[];for(n||(t=[n++]);o<r;)l[o]=o++;for(o=0;o<r;o++)l[o]=l[s=a&s+t[o%n]+(e=l[o])],l[s]=e;i.g=function(t){for(var e,n=0,o=i.i,s=i.j,l=i.S;t--;)e=l[o=a&o+1],n=n*r+l[a&(l[o]=l[s=a&s+e])+(l[s]=e)];return i.i=o,i.j=s,n}}function u(t,e){return e.i=t.i,e.j=t.j,e.S=t.S.slice(),e}function c(t,e){for(var n,r=t+"",i=0;i<r.length;)e[a&i]=a&(n^=19*e[a&i])+r.charCodeAt(i++);return h(e)}function h(t){return String.fromCharCode.apply(0,t)}e.seedrandom=function(a,p,f){var d=[],m=c(function t(e,n){var r,i=[],o=typeof e;if(n&&"object"==o)for(r in e)try{i.push(t(e[r],n-1))}catch(s){}return i.length?i:"string"==o?e:e+"\0"}((p=!0===p?{entropy:!0}:p||{}).entropy?[a,h(t)]:null===a?function(){try{var e=new Uint8Array(r);return(n.crypto||n.msCrypto).getRandomValues(e),h(e)}catch(s){var i=n.navigator,o=i&&i.plugins;return[+new Date,n,o,n.screen,h(t)]}}():a,3),d),y=new l(d),g=function(){for(var t=y.g(6),e=i,n=0;t<o;)t=(t+n)*r,e*=r,n=y.g(1);for(;t>=s;)t/=2,e/=2,n>>>=1;return(t+n)/e};return g.int32=function(){return 0|y.g(4)},g.quick=function(){return y.g(4)/4294967296},g.double=g,c(h(y.S),t),(p.pass||f||function(t,n,r,i){return i&&(i.S&&u(i,y),t.state=function(){return u(y,{})}),r?(e.random=t,n):t})(g,m,"global"in p?p.global:this==e,p.state)},c(e.random(),t)}([],BMMath);var BezierFactory=function(){var t={getBezierEasing:function(t,n,r,i,o){var s=o||("bez_"+t+"_"+n+"_"+r+"_"+i).replace(/\./g,"p");if(e[s])return e[s];var a=new c([t,n,r,i]);return e[s]=a,a}},e={},n=11,r=1/(n-1),i="function"==typeof Float32Array;function o(t,e){return 1-3*e+3*t}function s(t,e){return 3*e-6*t}function a(t){return 3*t}function l(t,e,n){return((o(e,n)*t+s(e,n))*t+a(e))*t}function u(t,e,n){return 3*o(e,n)*t*t+2*s(e,n)*t+a(e)}function c(t){this._p=t,this._mSampleValues=i?new Float32Array(n):new Array(n),this._precomputed=!1,this.get=this.get.bind(this)}return c.prototype={get:function(t){var e=this._p[0],n=this._p[1],r=this._p[2],i=this._p[3];return this._precomputed||this._precompute(),e===n&&r===i?t:0===t?0:1===t?1:l(this._getTForX(t),n,i)},_precompute:function(){var t=this._p[0],e=this._p[1],n=this._p[2],r=this._p[3];this._precomputed=!0,t===e&&n===r||this._calcSampleValues()},_calcSampleValues:function(){for(var t=this._p[0],e=this._p[2],i=0;i<n;++i)this._mSampleValues[i]=l(i*r,t,e)},_getTForX:function(t){for(var e=this._p[0],i=this._p[2],o=this._mSampleValues,s=0,a=1,c=n-1;a!==c&&o[a]<=t;++a)s+=r;var h=s+(t-o[--a])/(o[a+1]-o[a])*r,p=u(h,e,i);return p>=.001?function(t,e,n,r){for(var i=0;i<4;++i){var o=u(e,n,r);if(0===o)return e;e-=(l(e,n,r)-t)/o}return e}(t,h,e,i):0===p?h:function(t,e,n,r,i){var o,s,a=0;do{(o=l(s=e+(n-e)/2,r,i)-t)>0?n=s:e=s}while(Math.abs(o)>1e-7&&++a<10);return s}(t,s,s+r,e,i)}},t}();function extendPrototype(t,e){var n,r,i=t.length;for(n=0;n<i;n+=1)for(var o in r=t[n].prototype)r.hasOwnProperty(o)&&(e.prototype[o]=r[o])}function getDescriptor(t,e){return Object.getOwnPropertyDescriptor(t,e)}function createProxyFunction(t){function e(){}return e.prototype=t,e}function bezFunction(){function t(t,e,n,r,i,o){var s=t*r+e*i+n*o-i*r-o*t-n*e;return s>-.001&&s<.001}Math;var e=function(t,e,n,r){var i,o,s,a,l,u,c=defaultCurveSegments,h=0,p=[],f=[],d=bezier_length_pool.newElement();for(s=n.length,i=0;i<c;i+=1){for(l=i/(c-1),u=0,o=0;o<s;o+=1)a=bm_pow(1-l,3)*t[o]+3*bm_pow(1-l,2)*l*n[o]+3*(1-l)*bm_pow(l,2)*r[o]+bm_pow(l,3)*e[o],p[o]=a,null!==f[o]&&(u+=bm_pow(p[o]-f[o],2)),f[o]=p[o];u&&(h+=u=bm_sqrt(u)),d.percents[i]=l,d.lengths[i]=h}return d.addedLength=h,d};function n(t){this.segmentLength=0,this.points=new Array(t)}function r(t,e){this.partialLength=t,this.point=e}var i,o=(i={},function(e,o,s,a){var l=(e[0]+"_"+e[1]+"_"+o[0]+"_"+o[1]+"_"+s[0]+"_"+s[1]+"_"+a[0]+"_"+a[1]).replace(/\./g,"p");if(!i[l]){var u,c,h,p,f,d,m,y=defaultCurveSegments,g=0,v=null;2===e.length&&(e[0]!=o[0]||e[1]!=o[1])&&t(e[0],e[1],o[0],o[1],e[0]+s[0],e[1]+s[1])&&t(e[0],e[1],o[0],o[1],o[0]+a[0],o[1]+a[1])&&(y=2);var b=new n(y);for(h=s.length,u=0;u<y;u+=1){for(m=createSizedArray(h),f=u/(y-1),d=0,c=0;c<h;c+=1)p=bm_pow(1-f,3)*e[c]+3*bm_pow(1-f,2)*f*(e[c]+s[c])+3*(1-f)*bm_pow(f,2)*(o[c]+a[c])+bm_pow(f,3)*o[c],m[c]=p,null!==v&&(d+=bm_pow(m[c]-v[c],2));g+=d=bm_sqrt(d),b.points[u]=new r(d,m),v=m}b.segmentLength=g,i[l]=b}return i[l]});function s(t,e){var n=e.percents,r=e.lengths,i=n.length,o=bm_floor((i-1)*t),s=t*e.addedLength,a=0;if(o===i-1||0===o||s===r[o])return n[o];for(var l=r[o]>s?-1:1,u=!0;u;)if(r[o]<=s&&r[o+1]>s?(a=(s-r[o])/(r[o+1]-r[o]),u=!1):o+=l,o<0||o>=i-1){if(o===i-1)return n[o];u=!1}return n[o]+(n[o+1]-n[o])*a}var a=createTypedArray("float32",8);return{getSegmentsLength:function(t){var n,r=segments_length_pool.newElement(),i=t.c,o=t.v,s=t.o,a=t.i,l=t._length,u=r.lengths,c=0;for(n=0;n<l-1;n+=1)u[n]=e(o[n],o[n+1],s[n],a[n+1]),c+=u[n].addedLength;return i&&l&&(u[n]=e(o[n],o[0],s[n],a[0]),c+=u[n].addedLength),r.totalLength=c,r},getNewSegment:function(t,e,n,r,i,o,l){var u,c=s(i=i<0?0:i>1?1:i,l),h=s(o=o>1?1:o,l),p=t.length,f=1-c,d=1-h,m=f*f*f,y=c*f*f*3,g=c*c*f*3,v=c*c*c,b=f*f*d,_=c*f*d+f*c*d+f*f*h,E=c*c*d+f*c*h+c*f*h,w=c*c*h,x=f*d*d,C=c*d*d+f*h*d+f*d*h,S=c*h*d+f*h*h+c*d*h,A=c*h*h,P=d*d*d,T=h*d*d+d*h*d+d*d*h,k=h*h*d+d*h*h+h*d*h,D=h*h*h;for(u=0;u<p;u+=1)a[4*u]=Math.round(1e3*(m*t[u]+y*n[u]+g*r[u]+v*e[u]))/1e3,a[4*u+1]=Math.round(1e3*(b*t[u]+_*n[u]+E*r[u]+w*e[u]))/1e3,a[4*u+2]=Math.round(1e3*(x*t[u]+C*n[u]+S*r[u]+A*e[u]))/1e3,a[4*u+3]=Math.round(1e3*(P*t[u]+T*n[u]+k*r[u]+D*e[u]))/1e3;return a},getPointInSegment:function(t,e,n,r,i,o){var a=s(i,o),l=1-a;return[Math.round(1e3*(l*l*l*t[0]+(a*l*l+l*a*l+l*l*a)*n[0]+(a*a*l+l*a*a+a*l*a)*r[0]+a*a*a*e[0]))/1e3,Math.round(1e3*(l*l*l*t[1]+(a*l*l+l*a*l+l*l*a)*n[1]+(a*a*l+l*a*a+a*l*a)*r[1]+a*a*a*e[1]))/1e3]},buildBezierData:o,pointOnLine2D:t,pointOnLine3D:function(e,n,r,i,o,s,a,l,u){if(0===r&&0===s&&0===u)return t(e,n,i,o,a,l);var c,h=Math.sqrt(Math.pow(i-e,2)+Math.pow(o-n,2)+Math.pow(s-r,2)),p=Math.sqrt(Math.pow(a-e,2)+Math.pow(l-n,2)+Math.pow(u-r,2)),f=Math.sqrt(Math.pow(a-i,2)+Math.pow(l-o,2)+Math.pow(u-s,2));return(c=h>p?h>f?h-p-f:f-p-h:f>p?f-p-h:p-h-f)>-1e-4&&c<1e-4}}}!function(){for(var t=0,e=["ms","moz","webkit","o"],n=0;n<e.length&&!window.requestAnimationFrame;++n)window.requestAnimationFrame=window[e[n]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[e[n]+"CancelAnimationFrame"]||window[e[n]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(e,n){var r=(new Date).getTime(),i=Math.max(0,16-(r-t)),o=setTimeout(function(){e(r+i)},i);return t=r+i,o}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(t){clearTimeout(t)})}();var bez=bezFunction();function dataFunctionManager(){function t(i,o,s){var a,l,u,c,h,p,f,d=i.length;for(l=0;l<d;l+=1)if("ks"in(a=i[l])&&!a.completed){if(a.completed=!0,a.tt&&(i[l-1].td=a.tt),a.hasMask){var m=a.masksProperties;for(c=m.length,u=0;u<c;u+=1)if(m[u].pt.k.i)r(m[u].pt.k);else for(p=m[u].pt.k.length,h=0;h<p;h+=1)m[u].pt.k[h].s&&r(m[u].pt.k[h].s[0]),m[u].pt.k[h].e&&r(m[u].pt.k[h].e[0])}0===a.ty?(a.layers=e(a.refId,o),t(a.layers,o,s)):4===a.ty?n(a.shapes):5==a.ty&&(0!==(f=a).t.a.length||"m"in f.t.p||(f.singleShape=!0))}}function e(t,e){for(var n=0,r=e.length;n<r;){if(e[n].id===t)return e[n].layers.__used?JSON.parse(JSON.stringify(e[n].layers)):(e[n].layers.__used=!0,e[n].layers);n+=1}}function n(t){var e,i,o;for(e=t.length-1;e>=0;e-=1)if("sh"==t[e].ty)if(t[e].ks.k.i)r(t[e].ks.k);else for(o=t[e].ks.k.length,i=0;i<o;i+=1)t[e].ks.k[i].s&&r(t[e].ks.k[i].s[0]),t[e].ks.k[i].e&&r(t[e].ks.k[i].e[0]);else"gr"==t[e].ty&&n(t[e].it)}function r(t){var e,n=t.i.length;for(e=0;e<n;e+=1)t.i[e][0]+=t.v[e][0],t.i[e][1]+=t.v[e][1],t.o[e][0]+=t.v[e][0],t.o[e][1]+=t.v[e][1]}function i(t,e){var n=e?e.split("."):[100,100,100];return t[0]>n[0]||!(n[0]>t[0])&&(t[1]>n[1]||!(n[1]>t[1])&&(t[2]>n[2]||!(n[2]>t[2])&&void 0))}var o,s=function(){var t=[4,4,14];function e(t){var e,n,r=t.length;for(e=0;e<r;e+=1)5===t[e].ty&&((n=t[e]).t.d={k:[{s:n.t.d,t:0}]})}return function(n){if(i(t,n.v)&&(e(n.layers),n.assets)){var r,o=n.assets.length;for(r=0;r<o;r+=1)n.assets[r].layers&&e(n.assets[r].layers)}}}(),a=(o=[4,7,99],function(t){if(t.chars&&!i(o,t.v)){var e,n,s,a,l,u=t.chars.length;for(e=0;e<u;e+=1)if(t.chars[e].data&&t.chars[e].data.shapes)for(s=(l=t.chars[e].data.shapes[0].it).length,n=0;n<s;n+=1)(a=l[n].ks.k).__converted||(r(l[n].ks.k),a.__converted=!0)}}),l=function(){var t=[4,1,9];function e(t){var n,r,i,o=t.length;for(n=0;n<o;n+=1)if("gr"===t[n].ty)e(t[n].it);else if("fl"===t[n].ty||"st"===t[n].ty)if(t[n].c.k&&t[n].c.k[0].i)for(i=t[n].c.k.length,r=0;r<i;r+=1)t[n].c.k[r].s&&(t[n].c.k[r].s[0]/=255,t[n].c.k[r].s[1]/=255,t[n].c.k[r].s[2]/=255,t[n].c.k[r].s[3]/=255),t[n].c.k[r].e&&(t[n].c.k[r].e[0]/=255,t[n].c.k[r].e[1]/=255,t[n].c.k[r].e[2]/=255,t[n].c.k[r].e[3]/=255);else t[n].c.k[0]/=255,t[n].c.k[1]/=255,t[n].c.k[2]/=255,t[n].c.k[3]/=255}function n(t){var n,r=t.length;for(n=0;n<r;n+=1)4===t[n].ty&&e(t[n].shapes)}return function(e){if(i(t,e.v)&&(n(e.layers),e.assets)){var r,o=e.assets.length;for(r=0;r<o;r+=1)e.assets[r].layers&&n(e.assets[r].layers)}}}(),u=function(){var t=[4,4,18];function e(t){var n,r,i;for(n=t.length-1;n>=0;n-=1)if("sh"==t[n].ty)if(t[n].ks.k.i)t[n].ks.k.c=t[n].closed;else for(i=t[n].ks.k.length,r=0;r<i;r+=1)t[n].ks.k[r].s&&(t[n].ks.k[r].s[0].c=t[n].closed),t[n].ks.k[r].e&&(t[n].ks.k[r].e[0].c=t[n].closed);else"gr"==t[n].ty&&e(t[n].it)}function n(t){var n,r,i,o,s,a,l=t.length;for(r=0;r<l;r+=1){if((n=t[r]).hasMask){var u=n.masksProperties;for(o=u.length,i=0;i<o;i+=1)if(u[i].pt.k.i)u[i].pt.k.c=u[i].cl;else for(a=u[i].pt.k.length,s=0;s<a;s+=1)u[i].pt.k[s].s&&(u[i].pt.k[s].s[0].c=u[i].cl),u[i].pt.k[s].e&&(u[i].pt.k[s].e[0].c=u[i].cl)}4===n.ty&&e(n.shapes)}}return function(e){if(i(t,e.v)&&(n(e.layers),e.assets)){var r,o=e.assets.length;for(r=0;r<o;r+=1)e.assets[r].layers&&n(e.assets[r].layers)}}}(),c={completeData:function(e,n){e.__complete||(l(e),s(e),a(e),u(e),t(e.layers,e.assets,n),e.__complete=!0)}};return c.checkColors=l,c.checkChars=a,c.checkShapes=u,c.completeLayers=t,c}var dataManager=dataFunctionManager(),FontManager=function(){var t={w:0,size:0,shapes:[]},e=[];function n(t,e){var n=createTag("span");n.style.fontFamily=e;var r=createTag("span");r.innerHTML="giItT1WQy@!-/#",n.style.position="absolute",n.style.left="-10000px",n.style.top="-10000px",n.style.fontSize="300px",n.style.fontVariant="normal",n.style.fontStyle="normal",n.style.fontWeight="normal",n.style.letterSpacing="0",n.appendChild(r),document.body.appendChild(n);var i=r.offsetWidth;return r.style.fontFamily=t+", "+e,{node:r,w:i,parent:n}}function r(t,e){var n=createNS("text");return n.style.fontSize="100px",n.setAttribute("font-family",e.fFamily),n.setAttribute("font-style",e.fStyle),n.setAttribute("font-weight",e.fWeight),n.textContent="1",e.fClass?(n.style.fontFamily="inherit",n.setAttribute("class",e.fClass)):n.style.fontFamily=e.fFamily,t.appendChild(n),createTag("canvas").getContext("2d").font=e.fWeight+" "+e.fStyle+" 100px "+e.fFamily,n}e=e.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var i=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this.initTime=Date.now()};return i.getCombinedCharacterCodes=function(){return e},i.prototype.addChars=function(t){if(t){this.chars||(this.chars=[]);var e,n,r,i=t.length,o=this.chars.length;for(e=0;e<i;e+=1){for(n=0,r=!1;n<o;)this.chars[n].style===t[e].style&&this.chars[n].fFamily===t[e].fFamily&&this.chars[n].ch===t[e].ch&&(r=!0),n+=1;r||(this.chars.push(t[e]),o+=1)}}},i.prototype.addFonts=function(t,e){if(t){if(this.chars)return this.isLoaded=!0,void(this.fonts=t.list);var i,o=t.list,s=o.length,a=s;for(i=0;i<s;i+=1){var l,u,c=!0;if(o[i].loaded=!1,o[i].monoCase=n(o[i].fFamily,"monospace"),o[i].sansCase=n(o[i].fFamily,"sans-serif"),o[i].fPath){if("p"===o[i].fOrigin||3===o[i].origin){if((l=document.querySelectorAll('style[f-forigin="p"][f-family="'+o[i].fFamily+'"], style[f-origin="3"][f-family="'+o[i].fFamily+'"]')).length>0&&(c=!1),c){var h=createTag("style");h.setAttribute("f-forigin",o[i].fOrigin),h.setAttribute("f-origin",o[i].origin),h.setAttribute("f-family",o[i].fFamily),h.type="text/css",h.innerHTML="@font-face {font-family: "+o[i].fFamily+"; font-style: normal; src: url('"+o[i].fPath+"');}",e.appendChild(h)}}else if("g"===o[i].fOrigin||1===o[i].origin){for(l=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),u=0;u<l.length;u++)-1!==l[u].href.indexOf(o[i].fPath)&&(c=!1);if(c){var p=createTag("link");p.setAttribute("f-forigin",o[i].fOrigin),p.setAttribute("f-origin",o[i].origin),p.type="text/css",p.rel="stylesheet",p.href=o[i].fPath,document.body.appendChild(p)}}else if("t"===o[i].fOrigin||2===o[i].origin){for(l=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),u=0;u<l.length;u++)o[i].fPath===l[u].src&&(c=!1);if(c){var f=createTag("link");f.setAttribute("f-forigin",o[i].fOrigin),f.setAttribute("f-origin",o[i].origin),f.setAttribute("rel","stylesheet"),f.setAttribute("href",o[i].fPath),e.appendChild(f)}}}else o[i].loaded=!0,a-=1;o[i].helper=r(e,o[i]),o[i].cache={},this.fonts.push(o[i])}0===a?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}else this.isLoaded=!0},i.prototype.getCharData=function(e,n,r){for(var i=0,o=this.chars.length;i<o;){if(this.chars[i].ch===e&&this.chars[i].style===n&&this.chars[i].fFamily===r)return this.chars[i];i+=1}return("string"==typeof e&&13!==e.charCodeAt(0)||!e)&&console&&console.warn&&console.warn("Missing character from exported characters list: ",e,n,r),t},i.prototype.getFontByName=function(t){for(var e=0,n=this.fonts.length;e<n;){if(this.fonts[e].fName===t)return this.fonts[e];e+=1}return this.fonts[0]},i.prototype.measureText=function(t,e,n){var r=this.getFontByName(e),i=t.charCodeAt(0);if(!r.cache[i+1]){var o=r.helper;if(" "===t){o.textContent="|"+t+"|";var s=o.getComputedTextLength();o.textContent="||";var a=o.getComputedTextLength();r.cache[i+1]=(s-a)/100}else o.textContent=t,r.cache[i+1]=o.getComputedTextLength()/100}return r.cache[i+1]*n},i.prototype.checkLoadedFonts=function(){var t,e=this.fonts.length,n=e;for(t=0;t<e;t+=1)this.fonts[t].loaded?n-=1:"n"===this.fonts[t].fOrigin||0===this.fonts[t].origin?this.fonts[t].loaded=!0:(this.fonts[t].monoCase.node.offsetWidth!==this.fonts[t].monoCase.w?(n-=1,this.fonts[t].loaded=!0):this.fonts[t].sansCase.node.offsetWidth!==this.fonts[t].sansCase.w&&(n-=1,this.fonts[t].loaded=!0),this.fonts[t].loaded&&(this.fonts[t].sansCase.parent.parentNode.removeChild(this.fonts[t].sansCase.parent),this.fonts[t].monoCase.parent.parentNode.removeChild(this.fonts[t].monoCase.parent)));0!==n&&Date.now()-this.initTime<5e3?setTimeout(this.checkLoadedFonts.bind(this),20):setTimeout((function(){this.isLoaded=!0}).bind(this),0)},i.prototype.loaded=function(){return this.isLoaded},i}(),PropertyFactory=function(){var t=initialDefaultFrame,e=Math.abs;function n(t,e){var n,i=this.offsetTime;"multidimensional"===this.propType&&(n=createTypedArray("float32",this.pv.length));for(var o,s,a,l,u,c,h,p,f=e.lastIndex,d=f,m=this.keyframes.length-1,y=!0;y;){if(o=this.keyframes[d],s=this.keyframes[d+1],d===m-1&&t>=s.t-i){o.h&&(o=s),f=0;break}if(s.t-i>t){f=d;break}d<m-1?d+=1:(f=0,y=!1)}var g,v,b,_,E,w,x,C,S,A,P=s.t-i,T=o.t-i;if(o.to){o.bezierData||(o.bezierData=bez.buildBezierData(o.s,s.s||o.e,o.to,o.ti));var k=o.bezierData;if(t>=P||t<T){var D=t>=P?k.points.length-1:0;for(l=k.points[D].point.length,a=0;a<l;a+=1)n[a]=k.points[D].point[a]}else{o.__fnct?p=o.__fnct:(p=BezierFactory.getBezierEasing(o.o.x,o.o.y,o.i.x,o.i.y,o.n).get,o.__fnct=p),u=p((t-T)/(P-T));var I,O=k.segmentLength*u,M=e.lastFrame<t&&e._lastKeyframeIndex===d?e._lastAddedLength:0;for(h=e.lastFrame<t&&e._lastKeyframeIndex===d?e._lastPoint:0,y=!0,c=k.points.length;y;){if(M+=k.points[h].partialLength,0===O||0===u||h===k.points.length-1){for(l=k.points[h].point.length,a=0;a<l;a+=1)n[a]=k.points[h].point[a];break}if(O>=M&&O<M+k.points[h+1].partialLength){for(I=(O-M)/k.points[h+1].partialLength,l=k.points[h].point.length,a=0;a<l;a+=1)n[a]=k.points[h].point[a]+(k.points[h+1].point[a]-k.points[h].point[a])*I;break}h<c-1?h+=1:y=!1}e._lastPoint=h,e._lastAddedLength=M-k.points[h].partialLength,e._lastKeyframeIndex=d}}else{var F;if(m=o.s.length,g=s.s||o.e,this.sh&&1!==o.h)if(t>=P)n[0]=g[0],n[1]=g[1],n[2]=g[2];else if(t<=T)n[0]=o.s[0],n[1]=o.s[1],n[2]=o.s[2];else{var R=r(o.s),N=r(g);v=n,_=(b=function(t,e,n){var r,i,o,s,a,l=[],u=R[0],c=R[1],h=R[2],p=R[3],f=N[0],d=N[1],m=N[2],y=N[3];return(i=u*f+c*d+h*m+p*y)<0&&(i=-i,f=-f,d=-d,m=-m,y=-y),1-i>1e-6?(r=Math.acos(i),o=Math.sin(r),s=Math.sin((1-n)*r)/o,a=Math.sin(n*r)/o):(s=1-n,a=n),l[0]=s*u+a*f,l[1]=s*c+a*d,l[2]=s*h+a*m,l[3]=s*p+a*y,l}(0,0,(t-T)/(P-T)))[0],E=b[1],w=b[2],x=b[3],C=Math.atan2(2*E*x-2*_*w,1-2*E*E-2*w*w),S=Math.asin(2*_*E+2*w*x),A=Math.atan2(2*_*x-2*E*w,1-2*_*_-2*w*w),v[0]=C/degToRads,v[1]=S/degToRads,v[2]=A/degToRads}else for(d=0;d<m;d+=1)1!==o.h&&(t>=P?u=1:t<T?u=0:(o.o.x.constructor===Array?(o.__fnct||(o.__fnct=[]),o.__fnct[d]?p=o.__fnct[d]:(p=BezierFactory.getBezierEasing(void 0===o.o.x[d]?o.o.x[0]:o.o.x[d],void 0===o.o.y[d]?o.o.y[0]:o.o.y[d],void 0===o.i.x[d]?o.i.x[0]:o.i.x[d],void 0===o.i.y[d]?o.i.y[0]:o.i.y[d]).get,o.__fnct[d]=p)):o.__fnct?p=o.__fnct:(p=BezierFactory.getBezierEasing(o.o.x,o.o.y,o.i.x,o.i.y).get,o.__fnct=p),u=p((t-T)/(P-T)))),g=s.s||o.e,F=1===o.h?o.s[d]:o.s[d]+(g[d]-o.s[d])*u,"multidimensional"===this.propType?n[d]=F:n=F}return e.lastIndex=f,n}function r(t){var e=t[0]*degToRads,n=t[1]*degToRads,r=t[2]*degToRads,i=Math.cos(e/2),o=Math.cos(n/2),s=Math.cos(r/2),a=Math.sin(e/2),l=Math.sin(n/2),u=Math.sin(r/2);return[a*l*s+i*o*u,a*o*s+i*l*u,i*l*s-a*o*u,i*o*s-a*l*u]}function i(){var e=this.comp.renderedFrame-this.offsetTime,n=this.keyframes[0].t-this.offsetTime,r=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(e===this._caching.lastFrame||this._caching.lastFrame!==t&&(this._caching.lastFrame>=r&&e>=r||this._caching.lastFrame<n&&e<n))){this._caching.lastFrame>=e&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var i=this.interpolateValue(e,this._caching);this.pv=i}return this._caching.lastFrame=e,this.pv}function o(t){var n;if("unidimensional"===this.propType)e(this.v-(n=t*this.mult))>1e-5&&(this.v=n,this._mdf=!0);else for(var r=0,i=this.v.length;r<i;)e(this.v[r]-(n=t[r]*this.mult))>1e-5&&(this.v[r]=n,this._mdf=!0),r+=1}function s(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{this.lock=!0,this._mdf=this._isFirstFrame;var t,e=this.effectsSequence.length,n=this.kf?this.pv:this.data.k;for(t=0;t<e;t+=1)n=this.effectsSequence[t](n);this.setVValue(n),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function a(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function l(t,e,n,r){this.propType="unidimensional",this.mult=n||1,this.data=e,this.v=n?e.k*n:e.k,this.pv=e.k,this._mdf=!1,this.elem=t,this.container=r,this.comp=t.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=s,this.setVValue=o,this.addEffect=a}function u(t,e,n,r){this.propType="multidimensional",this.mult=n||1,this.data=e,this._mdf=!1,this.elem=t,this.container=r,this.comp=t.comp,this.k=!1,this.kf=!1,this.frameId=-1;var i,l=e.k.length;for(this.v=createTypedArray("float32",l),this.pv=createTypedArray("float32",l),createTypedArray("float32",l),this.vel=createTypedArray("float32",l),i=0;i<l;i+=1)this.v[i]=e.k[i]*this.mult,this.pv[i]=e.k[i];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=s,this.setVValue=o,this.addEffect=a}function c(e,r,l,u){this.propType="unidimensional",this.keyframes=r.k,this.offsetTime=e.data.st,this.frameId=-1,this._caching={lastFrame:t,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=r,this.mult=l||1,this.elem=e,this.container=u,this.comp=e.comp,this.v=t,this.pv=t,this._isFirstFrame=!0,this.getValue=s,this.setVValue=o,this.interpolateValue=n,this.effectsSequence=[i.bind(this)],this.addEffect=a}function h(e,r,l,u){this.propType="multidimensional";var c,h,p,f,d,m=r.k.length;for(c=0;c<m-1;c+=1)r.k[c].to&&r.k[c].s&&r.k[c+1]&&r.k[c+1].s&&(p=r.k[c+1].s,f=r.k[c].to,d=r.k[c].ti,(2===(h=r.k[c].s).length&&(h[0]!==p[0]||h[1]!==p[1])&&bez.pointOnLine2D(h[0],h[1],p[0],p[1],h[0]+f[0],h[1]+f[1])&&bez.pointOnLine2D(h[0],h[1],p[0],p[1],p[0]+d[0],p[1]+d[1])||3===h.length&&(h[0]!==p[0]||h[1]!==p[1]||h[2]!==p[2])&&bez.pointOnLine3D(h[0],h[1],h[2],p[0],p[1],p[2],h[0]+f[0],h[1]+f[1],h[2]+f[2])&&bez.pointOnLine3D(h[0],h[1],h[2],p[0],p[1],p[2],p[0]+d[0],p[1]+d[1],p[2]+d[2]))&&(r.k[c].to=null,r.k[c].ti=null),h[0]===p[0]&&h[1]===p[1]&&0===f[0]&&0===f[1]&&0===d[0]&&0===d[1]&&(2===h.length||h[2]===p[2]&&0===f[2]&&0===d[2])&&(r.k[c].to=null,r.k[c].ti=null));this.effectsSequence=[i.bind(this)],this.keyframes=r.k,this.offsetTime=e.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=l||1,this.elem=e,this.container=u,this.comp=e.comp,this.getValue=s,this.setVValue=o,this.interpolateValue=n,this.frameId=-1;var y=r.k[0].s.length;for(this.v=createTypedArray("float32",y),this.pv=createTypedArray("float32",y),c=0;c<y;c+=1)this.v[c]=t,this.pv[c]=t;this._caching={lastFrame:t,lastIndex:0,value:createTypedArray("float32",y)},this.addEffect=a}return{getProp:function(t,e,n,r,i){var o;if(e.k.length)if("number"==typeof e.k[0])o=new u(t,e,r,i);else switch(n){case 0:o=new c(t,e,r,i);break;case 1:o=new h(t,e,r,i)}else o=new l(t,e,r,i);return o.effectsSequence.length&&i.addDynamicProperty(o),o}}}(),TransformPropertyFactory=function(){var t=[0,0];function e(t,e,n){if(this.elem=t,this.frameId=-1,this.propType="transform",this.data=e,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(n||t),e.p&&e.p.s?(this.px=PropertyFactory.getProp(t,e.p.x,0,0,this),this.py=PropertyFactory.getProp(t,e.p.y,0,0,this),e.p.z&&(this.pz=PropertyFactory.getProp(t,e.p.z,0,0,this))):this.p=PropertyFactory.getProp(t,e.p||{k:[0,0,0]},1,0,this),e.rx){if(this.rx=PropertyFactory.getProp(t,e.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(t,e.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(t,e.rz,0,degToRads,this),e.or.k[0].ti){var r,i=e.or.k.length;for(r=0;r<i;r+=1)e.or.k[r].to=e.or.k[r].ti=null}this.or=PropertyFactory.getProp(t,e.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(t,e.r||{k:0},0,degToRads,this);e.sk&&(this.sk=PropertyFactory.getProp(t,e.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(t,e.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(t,e.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(t,e.s||{k:[100,100,100]},1,.01,this),this.o=e.o?PropertyFactory.getProp(t,e.o,0,.01,t):{_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}return e.prototype={applyToMatrix:function(t){var e=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||e,this.a&&t.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&t.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&t.skewFromAxis(-this.sk.v,this.sa.v),this.r?t.rotate(-this.r.v):t.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.data.p.s?t.translate(this.px.v,this.py.v,this.data.p.z?-this.pz.v:0):t.translate(this.p.v[0],this.p.v[1],-this.p.v[2])},getValue:function(e){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||e){if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented){var n,r,i=this.elem.globalData.frameRate;if(this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(n=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/i,0),r=this.p.getValueAtTime(this.p.keyframes[0].t/i,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(n=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/i,0),r=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/i,0)):(n=this.p.pv,r=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/i,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){n=[],r=[];var o=this.px,s=this.py;o._caching.lastFrame+o.offsetTime<=o.keyframes[0].t?(n[0]=o.getValueAtTime((o.keyframes[0].t+.01)/i,0),n[1]=s.getValueAtTime((s.keyframes[0].t+.01)/i,0),r[0]=o.getValueAtTime(o.keyframes[0].t/i,0),r[1]=s.getValueAtTime(s.keyframes[0].t/i,0)):o._caching.lastFrame+o.offsetTime>=o.keyframes[o.keyframes.length-1].t?(n[0]=o.getValueAtTime(o.keyframes[o.keyframes.length-1].t/i,0),n[1]=s.getValueAtTime(s.keyframes[s.keyframes.length-1].t/i,0),r[0]=o.getValueAtTime((o.keyframes[o.keyframes.length-1].t-.01)/i,0),r[1]=s.getValueAtTime((s.keyframes[s.keyframes.length-1].t-.01)/i,0)):(n=[o.pv,s.pv],r[0]=o.getValueAtTime((o._caching.lastFrame+o.offsetTime-.01)/i,o.offsetTime),r[1]=s.getValueAtTime((s._caching.lastFrame+s.offsetTime-.01)/i,s.offsetTime))}else n=r=t;this.v.rotate(-Math.atan2(n[1]-r[1],n[0]-r[0]))}this.data.p&&this.data.p.s?this.v.translate(this.px.v,this.py.v,this.data.p.z?-this.pz.v:0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}},precalculateMatrix:function(){if(!this.a.k&&(this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1,!this.s.effectsSequence.length)){if(this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2,this.sk){if(this.sk.effectsSequence.length||this.sa.effectsSequence.length)return;this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3}if(this.r){if(this.r.effectsSequence.length)return;this.pre.rotate(-this.r.v),this.appliedTransformations=4}else this.rz.effectsSequence.length||this.ry.effectsSequence.length||this.rx.effectsSequence.length||this.or.effectsSequence.length||(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}},autoOrient:function(){}},extendPrototype([DynamicPropertyContainer],e),e.prototype.addDynamicProperty=function(t){this._addDynamicProperty(t),this.elem.addDynamicProperty(t),this._isDirty=!0},e.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty,{getTransformProperty:function(t,n,r){return new e(t,n,r)}}}();function ShapePath(){this.c=!1,this._length=0,this._maxLength=8,this.v=createSizedArray(this._maxLength),this.o=createSizedArray(this._maxLength),this.i=createSizedArray(this._maxLength)}ShapePath.prototype.setPathData=function(t,e){this.c=t,this.setLength(e);for(var n=0;n<e;)this.v[n]=point_pool.newElement(),this.o[n]=point_pool.newElement(),this.i[n]=point_pool.newElement(),n+=1},ShapePath.prototype.setLength=function(t){for(;this._maxLength<t;)this.doubleArrayLength();this._length=t},ShapePath.prototype.doubleArrayLength=function(){this.v=this.v.concat(createSizedArray(this._maxLength)),this.i=this.i.concat(createSizedArray(this._maxLength)),this.o=this.o.concat(createSizedArray(this._maxLength)),this._maxLength*=2},ShapePath.prototype.setXYAt=function(t,e,n,r,i){var o;switch(this._length=Math.max(this._length,r+1),this._length>=this._maxLength&&this.doubleArrayLength(),n){case"v":o=this.v;break;case"i":o=this.i;break;case"o":o=this.o}(!o[r]||o[r]&&!i)&&(o[r]=point_pool.newElement()),o[r][0]=t,o[r][1]=e},ShapePath.prototype.setTripleAt=function(t,e,n,r,i,o,s,a){this.setXYAt(t,e,"v",s,a),this.setXYAt(n,r,"o",s,a),this.setXYAt(i,o,"i",s,a)},ShapePath.prototype.reverse=function(){var t=new ShapePath;t.setPathData(this.c,this._length);var e=this.v,n=this.o,r=this.i,i=0;this.c&&(t.setTripleAt(e[0][0],e[0][1],r[0][0],r[0][1],n[0][0],n[0][1],0,!1),i=1);var o,s=this._length-1,a=this._length;for(o=i;o<a;o+=1)t.setTripleAt(e[s][0],e[s][1],r[s][0],r[s][1],n[s][0],n[s][1],o,!1),s-=1;return t};var ShapePropertyFactory=function(){var t=-999999;function e(t,e,n){var r,i,o,s,a,l,u,c,h=n.lastIndex,p=this.keyframes;if(t<p[0].t-this.offsetTime)r=p[0].s[0],o=!0,h=0;else if(t>=p[p.length-1].t-this.offsetTime)r=p[p.length-1].s?p[p.length-1].s[0]:p[p.length-2].e[0],o=!0;else{for(var f,d,m=h,y=p.length-1,g=!0;g&&(f=p[m],!((d=p[m+1]).t-this.offsetTime>t));)m<y-1?m+=1:g=!1;if(h=m,!(o=1===f.h)){if(t>=d.t-this.offsetTime)c=1;else if(t<f.t-this.offsetTime)c=0;else{var v;f.__fnct?v=f.__fnct:(v=BezierFactory.getBezierEasing(f.o.x,f.o.y,f.i.x,f.i.y).get,f.__fnct=v),c=v((t-(f.t-this.offsetTime))/(d.t-this.offsetTime-(f.t-this.offsetTime)))}i=d.s?d.s[0]:f.e[0]}r=f.s[0]}for(l=e._length,u=r.i[0].length,n.lastIndex=h,s=0;s<l;s+=1)for(a=0;a<u;a+=1)e.i[s][a]=o?r.i[s][a]:r.i[s][a]+(i.i[s][a]-r.i[s][a])*c,e.o[s][a]=o?r.o[s][a]:r.o[s][a]+(i.o[s][a]-r.o[s][a])*c,e.v[s][a]=o?r.v[s][a]:r.v[s][a]+(i.v[s][a]-r.v[s][a])*c}function n(){var e=this.comp.renderedFrame-this.offsetTime,n=this.keyframes[0].t-this.offsetTime,r=this.keyframes[this.keyframes.length-1].t-this.offsetTime,i=this._caching.lastFrame;return i!==t&&(i<n&&e<n||i>r&&e>r)||(this._caching.lastIndex=i<e?this._caching.lastIndex:0,this.interpolateShape(e,this.pv,this._caching)),this._caching.lastFrame=e,this.pv}function r(){this.paths=this.localShapeCollection}function i(t){(function(t,e){if(t._length!==e._length||t.c!==e.c)return!1;var n,r=t._length;for(n=0;n<r;n+=1)if(t.v[n][0]!==e.v[n][0]||t.v[n][1]!==e.v[n][1]||t.o[n][0]!==e.o[n][0]||t.o[n][1]!==e.o[n][1]||t.i[n][0]!==e.i[n][0]||t.i[n][1]!==e.i[n][1])return!1;return!0})(this.v,t)||(this.v=shape_pool.clone(t),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function o(){if(this.elem.globalData.frameId!==this.frameId)if(this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{this.lock=!0,this._mdf=!1;var t,e=this.kf?this.pv:this.data.ks?this.data.ks.k:this.data.pt.k,n=this.effectsSequence.length;for(t=0;t<n;t+=1)e=this.effectsSequence[t](e);this.setVValue(e),this.lock=!1,this.frameId=this.elem.globalData.frameId}else this._mdf=!1}function s(t,e,n){this.propType="shape",this.comp=t.comp,this.container=t,this.elem=t,this.data=e,this.k=!1,this.kf=!1,this._mdf=!1,this.v=shape_pool.clone(3===n?e.pt.k:e.ks.k),this.pv=shape_pool.clone(this.v),this.localShapeCollection=shapeCollection_pool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=r,this.effectsSequence=[]}function a(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function l(e,i,o){this.propType="shape",this.comp=e.comp,this.elem=e,this.container=e,this.offsetTime=e.data.st,this.keyframes=3===o?i.pt.k:i.ks.k,this.k=!0,this.kf=!0;var s=this.keyframes[0].s[0].i.length;this.v=shape_pool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,s),this.pv=shape_pool.clone(this.v),this.localShapeCollection=shapeCollection_pool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=t,this.reset=r,this._caching={lastFrame:t,lastIndex:0},this.effectsSequence=[n.bind(this)]}s.prototype.interpolateShape=e,s.prototype.getValue=o,s.prototype.setVValue=i,s.prototype.addEffect=a,l.prototype.getValue=o,l.prototype.interpolateShape=e,l.prototype.setVValue=i,l.prototype.addEffect=a;var u=function(){var t=roundCorner;function e(t,e){this.v=shape_pool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollection_pool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=e.d,this.elem=t,this.comp=t.comp,this.frameId=-1,this.initDynamicPropertyContainer(t),this.p=PropertyFactory.getProp(t,e.p,1,0,this),this.s=PropertyFactory.getProp(t,e.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return e.prototype={reset:r,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var e=this.p.v[0],n=this.p.v[1],r=this.s.v[0]/2,i=this.s.v[1]/2,o=3!==this.d,s=this.v;s.v[0][0]=e,s.v[0][1]=n-i,s.v[1][0]=o?e+r:e-r,s.v[1][1]=n,s.v[2][0]=e,s.v[2][1]=n+i,s.v[3][0]=o?e-r:e+r,s.v[3][1]=n,s.i[0][0]=o?e-r*t:e+r*t,s.i[0][1]=n-i,s.i[1][0]=o?e+r:e-r,s.i[1][1]=n-i*t,s.i[2][0]=o?e+r*t:e-r*t,s.i[2][1]=n+i,s.i[3][0]=o?e-r:e+r,s.i[3][1]=n+i*t,s.o[0][0]=o?e+r*t:e-r*t,s.o[0][1]=n-i,s.o[1][0]=o?e+r:e-r,s.o[1][1]=n+i*t,s.o[2][0]=o?e-r*t:e+r*t,s.o[2][1]=n+i,s.o[3][0]=o?e-r:e+r,s.o[3][1]=n-i*t}},extendPrototype([DynamicPropertyContainer],e),e}(),c=function(){function t(t,e){this.v=shape_pool.newElement(),this.v.setPathData(!0,0),this.elem=t,this.comp=t.comp,this.data=e,this.frameId=-1,this.d=e.d,this.initDynamicPropertyContainer(t),1===e.sy?(this.ir=PropertyFactory.getProp(t,e.ir,0,0,this),this.is=PropertyFactory.getProp(t,e.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(t,e.pt,0,0,this),this.p=PropertyFactory.getProp(t,e.p,1,0,this),this.r=PropertyFactory.getProp(t,e.r,0,degToRads,this),this.or=PropertyFactory.getProp(t,e.or,0,0,this),this.os=PropertyFactory.getProp(t,e.os,0,.01,this),this.localShapeCollection=shapeCollection_pool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return t.prototype={reset:r,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var t,e,n,r,i=2*Math.floor(this.pt.v),o=2*Math.PI/i,s=!0,a=this.or.v,l=this.ir.v,u=this.os.v,c=this.is.v,h=2*Math.PI*a/(2*i),p=2*Math.PI*l/(2*i),f=-Math.PI/2;f+=this.r.v;var d=3===this.data.d?-1:1;for(this.v._length=0,t=0;t<i;t+=1){n=s?u:c,r=s?h:p;var m=(e=s?a:l)*Math.cos(f),y=e*Math.sin(f),g=0===m&&0===y?0:y/Math.sqrt(m*m+y*y),v=0===m&&0===y?0:-m/Math.sqrt(m*m+y*y);this.v.setTripleAt(m+=+this.p.v[0],y+=+this.p.v[1],m-g*r*n*d,y-v*r*n*d,m+g*r*n*d,y+v*r*n*d,t,!0),s=!s,f+=o*d}},convertPolygonToPath:function(){var t,e=Math.floor(this.pt.v),n=2*Math.PI/e,r=this.or.v,i=this.os.v,o=2*Math.PI*r/(4*e),s=-Math.PI/2,a=3===this.data.d?-1:1;for(s+=this.r.v,this.v._length=0,t=0;t<e;t+=1){var l=r*Math.cos(s),u=r*Math.sin(s),c=0===l&&0===u?0:u/Math.sqrt(l*l+u*u),h=0===l&&0===u?0:-l/Math.sqrt(l*l+u*u);this.v.setTripleAt(l+=+this.p.v[0],u+=+this.p.v[1],l-c*o*i*a,u-h*o*i*a,l+c*o*i*a,u+h*o*i*a,t,!0),s+=n*a}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],t),t}(),h=function(){function t(t,e){this.v=shape_pool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollection_pool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=t,this.comp=t.comp,this.frameId=-1,this.d=e.d,this.initDynamicPropertyContainer(t),this.p=PropertyFactory.getProp(t,e.p,1,0,this),this.s=PropertyFactory.getProp(t,e.s,1,0,this),this.r=PropertyFactory.getProp(t,e.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return t.prototype={convertRectToPath:function(){var t=this.p.v[0],e=this.p.v[1],n=this.s.v[0]/2,r=this.s.v[1]/2,i=bm_min(n,r,this.r.v),o=i*(1-roundCorner);this.v._length=0,2===this.d||1===this.d?(this.v.setTripleAt(t+n,e-r+i,t+n,e-r+i,t+n,e-r+o,0,!0),this.v.setTripleAt(t+n,e+r-i,t+n,e+r-o,t+n,e+r-i,1,!0),0!==i?(this.v.setTripleAt(t+n-i,e+r,t+n-i,e+r,t+n-o,e+r,2,!0),this.v.setTripleAt(t-n+i,e+r,t-n+o,e+r,t-n+i,e+r,3,!0),this.v.setTripleAt(t-n,e+r-i,t-n,e+r-i,t-n,e+r-o,4,!0),this.v.setTripleAt(t-n,e-r+i,t-n,e-r+o,t-n,e-r+i,5,!0),this.v.setTripleAt(t-n+i,e-r,t-n+i,e-r,t-n+o,e-r,6,!0),this.v.setTripleAt(t+n-i,e-r,t+n-o,e-r,t+n-i,e-r,7,!0)):(this.v.setTripleAt(t-n,e+r,t-n+o,e+r,t-n,e+r,2),this.v.setTripleAt(t-n,e-r,t-n,e-r+o,t-n,e-r,3))):(this.v.setTripleAt(t+n,e-r+i,t+n,e-r+o,t+n,e-r+i,0,!0),0!==i?(this.v.setTripleAt(t+n-i,e-r,t+n-i,e-r,t+n-o,e-r,1,!0),this.v.setTripleAt(t-n+i,e-r,t-n+o,e-r,t-n+i,e-r,2,!0),this.v.setTripleAt(t-n,e-r+i,t-n,e-r+i,t-n,e-r+o,3,!0),this.v.setTripleAt(t-n,e+r-i,t-n,e+r-o,t-n,e+r-i,4,!0),this.v.setTripleAt(t-n+i,e+r,t-n+i,e+r,t-n+o,e+r,5,!0),this.v.setTripleAt(t+n-i,e+r,t+n-o,e+r,t+n-i,e+r,6,!0),this.v.setTripleAt(t+n,e+r-i,t+n,e+r-i,t+n,e+r-o,7,!0)):(this.v.setTripleAt(t-n,e-r,t-n+o,e-r,t-n,e-r,1,!0),this.v.setTripleAt(t-n,e+r,t-n,e+r-o,t-n,e+r,2,!0),this.v.setTripleAt(t+n,e+r,t+n-o,e+r,t+n,e+r,3,!0)))},getValue:function(t){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:r},extendPrototype([DynamicPropertyContainer],t),t}();return{getShapeProp:function(t,e,n){var r;return 3===n||4===n?r=(3===n?e.pt:e.ks).k.length?new l(t,e,n):new s(t,e,n):5===n?r=new h(t,e):6===n?r=new u(t,e):7===n&&(r=new c(t,e)),r.k&&t.addDynamicProperty(r),r},getConstructorFunction:function(){return s},getKeyframedConstructorFunction:function(){return l}}}(),ShapeModifiers=function(){var t={},e={};return t.registerModifier=function(t,n){e[t]||(e[t]=n)},t.getModifier=function(t,n,r){return new e[t](n,r)},t}();function ShapeModifier(){}function TrimModifier(){}function RoundCornersModifier(){}function RepeaterModifier(){}function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}function DashProperty(t,e,n,r){this.elem=t,this.frameId=-1,this.dataProps=createSizedArray(e.length),this.renderer=n,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",e.length?e.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(r);var i,o,s=e.length||0;for(i=0;i<s;i+=1)o=PropertyFactory.getProp(t,e[i].v,0,0,this),this.k=o.k||this.k,this.dataProps[i]={n:e[i].n,p:o};this.k||this.getValue(!0),this._isAnimated=this.k}function GradientProperty(t,e,n){this.data=e,this.c=createTypedArray("uint8c",4*e.p);var r=e.k.k[0].s?e.k.k[0].s.length-4*e.p:e.k.k.length-4*e.p;this.o=createTypedArray("float32",r),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=r,this.initDynamicPropertyContainer(n),this.prop=PropertyFactory.getProp(t,e.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(t){if(!this.closed){t.sh.container.addDynamicProperty(t.sh);var e={shape:t.sh,data:t,localShapeCollection:shapeCollection_pool.newShapeCollection()};this.shapes.push(e),this.addShapeToModifier(e),this._isAnimated&&t.setAsAnimated()}},ShapeModifier.prototype.init=function(t,e){this.shapes=[],this.elem=t,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e),this.frameId=initialDefaultFrame,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ShapeModifier.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},extendPrototype([DynamicPropertyContainer],ShapeModifier),extendPrototype([ShapeModifier],TrimModifier),TrimModifier.prototype.initModifierProperties=function(t,e){this.s=PropertyFactory.getProp(t,e.s,0,.01,this),this.e=PropertyFactory.getProp(t,e.e,0,.01,this),this.o=PropertyFactory.getProp(t,e.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=e.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(t){t.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(t,e,n,r,i){var o=[];e<=1?o.push({s:t,e:e}):t>=1?o.push({s:t-1,e:e-1}):(o.push({s:t,e:1}),o.push({s:0,e:e-1}));var s,a,l=[],u=o.length;for(s=0;s<u;s+=1)(a=o[s]).e*i<r||a.s*i>r+n||l.push([a.s*i<=r?0:(a.s*i-r)/n,a.e*i>=r+n?1:(a.e*i-r)/n]);return l.length||l.push([0,0]),l},TrimModifier.prototype.releasePathsData=function(t){var e,n=t.length;for(e=0;e<n;e+=1)segments_length_pool.release(t[e]);return t.length=0,t},TrimModifier.prototype.processShapes=function(t){var e,n,r;if(this._mdf||t){var i=this.o.v%360/360;if(i<0&&(i+=1),(e=(this.s.v>1?1:this.s.v<0?0:this.s.v)+i)>(n=(this.e.v>1?1:this.e.v<0?0:this.e.v)+i)){var o=e;e=n,n=o}e=1e-4*Math.round(1e4*e),n=1e-4*Math.round(1e4*n),this.sValue=e,this.eValue=n}else e=this.sValue,n=this.eValue;var s,a,l,u,c,h,p=this.shapes.length,f=0;if(n===e)for(s=0;s<p;s+=1)this.shapes[s].localShapeCollection.releaseShapes(),this.shapes[s].shape._mdf=!0,this.shapes[s].shape.paths=this.shapes[s].localShapeCollection;else if(1===n&&0===e||0===n&&1===e){if(this._mdf)for(s=0;s<p;s+=1)this.shapes[s].pathsData.length=0,this.shapes[s].shape._mdf=!0}else{var d,m,y=[];for(s=0;s<p;s+=1)if((d=this.shapes[s]).shape._mdf||this._mdf||t||2===this.m){if(l=(r=d.shape.paths)._length,h=0,!d.shape._mdf&&d.pathsData.length)h=d.totalShapeLength;else{for(u=this.releasePathsData(d.pathsData),a=0;a<l;a+=1)c=bez.getSegmentsLength(r.shapes[a]),u.push(c),h+=c.totalLength;d.totalShapeLength=h,d.pathsData=u}f+=h,d.shape._mdf=!0}else d.shape.paths=d.localShapeCollection;var g,v=e,b=n,_=0;for(s=p-1;s>=0;s-=1)if((d=this.shapes[s]).shape._mdf){for((m=d.localShapeCollection).releaseShapes(),2===this.m&&p>1?(g=this.calculateShapeEdges(e,n,d.totalShapeLength,_,f),_+=d.totalShapeLength):g=[[v,b]],l=g.length,a=0;a<l;a+=1){v=g[a][0],b=g[a][1],y.length=0,b<=1?y.push({s:d.totalShapeLength*v,e:d.totalShapeLength*b}):v>=1?y.push({s:d.totalShapeLength*(v-1),e:d.totalShapeLength*(b-1)}):(y.push({s:d.totalShapeLength*v,e:d.totalShapeLength}),y.push({s:0,e:d.totalShapeLength*(b-1)}));var E=this.addShapes(d,y[0]);if(y[0].s!==y[0].e){if(y.length>1)if(d.shape.paths.shapes[d.shape.paths._length-1].c){var w=E.pop();this.addPaths(E,m),E=this.addShapes(d,y[1],w)}else this.addPaths(E,m),E=this.addShapes(d,y[1]);this.addPaths(E,m)}}d.shape.paths=m}}},TrimModifier.prototype.addPaths=function(t,e){var n,r=t.length;for(n=0;n<r;n+=1)e.addShape(t[n])},TrimModifier.prototype.addSegment=function(t,e,n,r,i,o,s){i.setXYAt(e[0],e[1],"o",o),i.setXYAt(n[0],n[1],"i",o+1),s&&i.setXYAt(t[0],t[1],"v",o),i.setXYAt(r[0],r[1],"v",o+1)},TrimModifier.prototype.addSegmentFromArray=function(t,e,n,r){e.setXYAt(t[1],t[5],"o",n),e.setXYAt(t[2],t[6],"i",n+1),r&&e.setXYAt(t[0],t[4],"v",n),e.setXYAt(t[3],t[7],"v",n+1)},TrimModifier.prototype.addShapes=function(t,e,n){var r,i,o,s,a,l,u,c,h=t.pathsData,p=t.shape.paths.shapes,f=t.shape.paths._length,d=0,m=[],y=!0;for(n?(a=n._length,c=n._length):(n=shape_pool.newElement(),a=0,c=0),m.push(n),r=0;r<f;r+=1){for(l=h[r].lengths,n.c=p[r].c,o=p[r].c?l.length:l.length+1,i=1;i<o;i+=1)if(d+(s=l[i-1]).addedLength<e.s)d+=s.addedLength,n.c=!1;else{if(d>e.e){n.c=!1;break}e.s<=d&&e.e>=d+s.addedLength?(this.addSegment(p[r].v[i-1],p[r].o[i-1],p[r].i[i],p[r].v[i],n,a,y),y=!1):(u=bez.getNewSegment(p[r].v[i-1],p[r].v[i],p[r].o[i-1],p[r].i[i],(e.s-d)/s.addedLength,(e.e-d)/s.addedLength,l[i-1]),this.addSegmentFromArray(u,n,a,y),y=!1,n.c=!1),d+=s.addedLength,a+=1}if(p[r].c&&l.length){if(s=l[i-1],d<=e.e){var g=l[i-1].addedLength;e.s<=d&&e.e>=d+g?(this.addSegment(p[r].v[i-1],p[r].o[i-1],p[r].i[0],p[r].v[0],n,a,y),y=!1):(u=bez.getNewSegment(p[r].v[i-1],p[r].v[0],p[r].o[i-1],p[r].i[0],(e.s-d)/g,(e.e-d)/g,l[i-1]),this.addSegmentFromArray(u,n,a,y),y=!1,n.c=!1)}else n.c=!1;d+=s.addedLength,a+=1}if(n._length&&(n.setXYAt(n.v[c][0],n.v[c][1],"i",c),n.setXYAt(n.v[n._length-1][0],n.v[n._length-1][1],"o",n._length-1)),d>e.e)break;r<f-1&&(n=shape_pool.newElement(),y=!0,m.push(n),a=0)}return m},ShapeModifiers.registerModifier("tm",TrimModifier),extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(t,e.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(t,e){var n=shape_pool.newElement();n.c=t.c;var r,i,o,s,a,l,u,c,h,p,f,d,m,y=t._length,g=0;for(r=0;r<y;r+=1)o=t.i[r],(i=t.v[r])[0]===(s=t.o[r])[0]&&i[1]===s[1]&&i[0]===o[0]&&i[1]===o[1]?0!==r&&r!==y-1||t.c?(a=0===r?t.v[y-1]:t.v[r-1],u=(l=Math.sqrt(Math.pow(i[0]-a[0],2)+Math.pow(i[1]-a[1],2)))?Math.min(l/2,e)/l:0,c=d=i[0]+(a[0]-i[0])*u,h=m=i[1]-(i[1]-a[1])*u,n.setTripleAt(c,h,c-(c-i[0])*roundCorner,h-(h-i[1])*roundCorner,d,m,g),g+=1,a=r===y-1?t.v[0]:t.v[r+1],u=(l=Math.sqrt(Math.pow(i[0]-a[0],2)+Math.pow(i[1]-a[1],2)))?Math.min(l/2,e)/l:0,c=p=i[0]+(a[0]-i[0])*u,h=f=i[1]+(a[1]-i[1])*u,n.setTripleAt(c,h,p,f,d=c-(c-i[0])*roundCorner,m=h-(h-i[1])*roundCorner,g),g+=1):(n.setTripleAt(i[0],i[1],s[0],s[1],o[0],o[1],g),g+=1):(n.setTripleAt(t.v[r][0],t.v[r][1],t.o[r][0],t.o[r][1],t.i[r][0],t.i[r][1],g),g+=1);return n},RoundCornersModifier.prototype.processShapes=function(t){var e,n,r,i,o,s,a=this.shapes.length,l=this.rd.v;if(0!==l)for(n=0;n<a;n+=1){if(s=(o=this.shapes[n]).localShapeCollection,o.shape._mdf||this._mdf||t)for(s.releaseShapes(),o.shape._mdf=!0,e=o.shape.paths.shapes,i=o.shape.paths._length,r=0;r<i;r+=1)s.addShape(this.processPath(e[r],l));o.shape.paths=o.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},ShapeModifiers.registerModifier("rd",RoundCornersModifier),extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(t,e.c,0,null,this),this.o=PropertyFactory.getProp(t,e.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(t,e.tr,this),this.so=PropertyFactory.getProp(t,e.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(t,e.tr.eo,0,.01,this),this.data=e,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Matrix,this.rMatrix=new Matrix,this.sMatrix=new Matrix,this.tMatrix=new Matrix,this.matrix=new Matrix},RepeaterModifier.prototype.applyTransforms=function(t,e,n,r,i,o){var s=o?-1:1,a=r.s.v[0]+(1-r.s.v[0])*(1-i),l=r.s.v[1]+(1-r.s.v[1])*(1-i);t.translate(r.p.v[0]*s*i,r.p.v[1]*s*i,r.p.v[2]),e.translate(-r.a.v[0],-r.a.v[1],r.a.v[2]),e.rotate(-r.r.v*s*i),e.translate(r.a.v[0],r.a.v[1],r.a.v[2]),n.translate(-r.a.v[0],-r.a.v[1],r.a.v[2]),n.scale(o?1/a:a,o?1/l:l),n.translate(r.a.v[0],r.a.v[1],r.a.v[2])},RepeaterModifier.prototype.init=function(t,e,n,r){for(this.elem=t,this.arr=e,this.pos=n,this.elemsData=r,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e[n]);n>0;)this._elements.unshift(e[n-=1]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(t){var e,n=t.length;for(e=0;e<n;e+=1)t[e]._processed=!1,"gr"===t[e].ty&&this.resetElements(t[e].it)},RepeaterModifier.prototype.cloneElements=function(t){var e=JSON.parse(JSON.stringify(t));return this.resetElements(e),e},RepeaterModifier.prototype.changeGroupRender=function(t,e){var n,r=t.length;for(n=0;n<r;n+=1)t[n]._render=e,"gr"===t[n].ty&&this.changeGroupRender(t[n].it,e)},RepeaterModifier.prototype.processShapes=function(t){var e,n,r,i,o;if(this._mdf||t){var s,a=Math.ceil(this.c.v);if(this._groups.length<a){for(;this._groups.length<a;){var l={it:this.cloneElements(this._elements),ty:"gr"};l.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,l),this._groups.splice(0,0,l),this._currentCopies+=1}this.elem.reloadShapes()}for(o=0,r=0;r<=this._groups.length-1;r+=1)this._groups[r]._render=s=o<a,this.changeGroupRender(this._groups[r].it,s),o+=1;this._currentCopies=a;var u=this.o.v,c=u%1,h=u>0?Math.floor(u):Math.ceil(u),p=this.pMatrix.props,f=this.rMatrix.props,d=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var m,y,g=0;if(u>0){for(;g<h;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),g+=1;c&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,c,!1),g+=c)}else if(u<0){for(;g>h;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),g-=1;c&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-c,!0),g-=c)}for(r=1===this.data.m?0:this._currentCopies-1,i=1===this.data.m?1:-1,o=this._currentCopies;o;){if(y=(n=(e=this.elemsData[r].it)[e.length-1].transform.mProps.v.props).length,e[e.length-1].transform.mProps._mdf=!0,e[e.length-1].transform.op._mdf=!0,e[e.length-1].transform.op.v=this.so.v+r/(this._currentCopies-1)*(this.eo.v-this.so.v),0!==g){for((0!==r&&1===i||r!==this._currentCopies-1&&-1===i)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(f[0],f[1],f[2],f[3],f[4],f[5],f[6],f[7],f[8],f[9],f[10],f[11],f[12],f[13],f[14],f[15]),this.matrix.transform(d[0],d[1],d[2],d[3],d[4],d[5],d[6],d[7],d[8],d[9],d[10],d[11],d[12],d[13],d[14],d[15]),this.matrix.transform(p[0],p[1],p[2],p[3],p[4],p[5],p[6],p[7],p[8],p[9],p[10],p[11],p[12],p[13],p[14],p[15]),m=0;m<y;m+=1)n[m]=this.matrix.props[m];this.matrix.reset()}else for(this.matrix.reset(),m=0;m<y;m+=1)n[m]=this.matrix.props[m];g+=1,o-=1,r+=i}}else for(o=this._currentCopies,r=0,i=1;o;)n=(e=this.elemsData[r].it)[e.length-1].transform.mProps.v.props,e[e.length-1].transform.mProps._mdf=!1,e[e.length-1].transform.op._mdf=!1,o-=1,r+=i},RepeaterModifier.prototype.addShape=function(){},ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeCollection.prototype.addShape=function(t){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=t,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var t;for(t=0;t<this._length;t+=1)shape_pool.release(this.shapes[t]);this._length=0},DashProperty.prototype.getValue=function(t){if((this.elem.globalData.frameId!==this.frameId||t)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||t,this._mdf)){var e=0,n=this.dataProps.length;for("svg"===this.renderer&&(this.dashStr=""),e=0;e<n;e+=1)"o"!=this.dataProps[e].n?"svg"===this.renderer?this.dashStr+=" "+this.dataProps[e].p.v:this.dashArray[e]=this.dataProps[e].p.v:this.dashoffset[0]=this.dataProps[e].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty),GradientProperty.prototype.comparePoints=function(t,e){for(var n=0,r=this.o.length/2;n<r;){if(Math.abs(t[4*n]-t[4*e+2*n])>.01)return!1;n+=1}return!0},GradientProperty.prototype.checkCollapsable=function(){if(this.o.length/2!=this.c.length/4)return!1;if(this.data.k.k[0].s)for(var t=0,e=this.data.k.k.length;t<e;){if(!this.comparePoints(this.data.k.k[t].s,this.data.p))return!1;t+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(t){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||t){var e,n,r,i=4*this.data.p;for(e=0;e<i;e+=1)n=e%4==0?100:255,r=Math.round(this.prop.v[e]*n),this.c[e]!==r&&(this.c[e]=r,this._cmdf=!t);if(this.o.length)for(i=this.prop.v.length,e=4*this.data.p;e<i;e+=1)n=e%2==0?100:1,r=e%2==0?Math.round(100*this.prop.v[e]):this.prop.v[e],this.o[e-4*this.data.p]!==r&&(this.o[e-4*this.data.p]=r,this._omdf=!t);this._mdf=!t}},extendPrototype([DynamicPropertyContainer],GradientProperty);var buildShapeString=function(t,e,n,r){if(0===e)return"";var i,o=t.o,s=t.i,a=t.v,l=" M"+r.applyToPointStringified(a[0][0],a[0][1]);for(i=1;i<e;i+=1)l+=" C"+r.applyToPointStringified(o[i-1][0],o[i-1][1])+" "+r.applyToPointStringified(s[i][0],s[i][1])+" "+r.applyToPointStringified(a[i][0],a[i][1]);return n&&e&&(l+=" C"+r.applyToPointStringified(o[i-1][0],o[i-1][1])+" "+r.applyToPointStringified(s[0][0],s[0][1])+" "+r.applyToPointStringified(a[0][0],a[0][1]),l+="z"),l},ImagePreloader=function(){var t=function(){var t=createTag("canvas");t.width=1,t.height=1;var e=t.getContext("2d");return e.fillStyle="rgba(0,0,0,0)",e.fillRect(0,0,1,1),t}();function e(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function n(e){var n=function(t,e,n){var r="";if(t.e)r=t.p;else if(e){var i=t.p;-1!==i.indexOf("images/")&&(i=i.split("/")[1]),r=e+i}else r=n,r+=t.u?t.u:"",r+=t.p;return r}(e,this.assetsPath,this.path),r=createTag("img");r.crossOrigin="anonymous",r.addEventListener("load",this._imageLoaded.bind(this),!1),r.addEventListener("error",(function(){i.img=t,this._imageLoaded()}).bind(this),!1),r.src=n;var i={img:r,assetData:e};return i}function r(t,e){this.imagesLoadedCb=e;var n,r=t.length;for(n=0;n<r;n+=1)t[n].layers||(this.totalImages+=1,this.images.push(this._createImageData(t[n])))}function i(t){this.path=t||""}function o(t){this.assetsPath=t||""}function s(t){for(var e=0,n=this.images.length;e<n;){if(this.images[e].assetData===t)return this.images[e].img;e+=1}}function a(){this.imagesLoadedCb=null,this.images.length=0}function l(){return this.totalImages===this.loadedAssets}return function(){this.loadAssets=r,this.setAssetsPath=o,this.setPath=i,this.loaded=l,this.destroy=a,this.getImage=s,this._createImageData=n,this._imageLoaded=e,this.assetsPath="",this.path="",this.totalImages=0,this.loadedAssets=0,this.imagesLoadedCb=null,this.images=[]}}(),featureSupport=function(){var t={maskType:!0};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(t.maskType=!1),t}(),filtersFactory={createFilter:function(t){var e=createNS("filter");return e.setAttribute("id",t),e.setAttribute("filterUnits","objectBoundingBox"),e.setAttribute("x","0%"),e.setAttribute("y","0%"),e.setAttribute("width","100%"),e.setAttribute("height","100%"),e},createAlphaToLuminanceFilter:function(){var t=createNS("feColorMatrix");return t.setAttribute("type","matrix"),t.setAttribute("color-interpolation-filters","sRGB"),t.setAttribute("values","0 0 0 1 0  0 0 0 1 0  0 0 0 1 0  0 0 0 1 1"),t}},assetLoader=function(){function t(t){return t.response&&"object"==typeof t.response?t.response:t.response&&"string"==typeof t.response?JSON.parse(t.response):t.responseText?JSON.parse(t.responseText):void 0}return{load:function(e,n,r){var i,o=new XMLHttpRequest;o.open("GET",e,!0);try{o.responseType="json"}catch(s){}o.send(),o.onreadystatechange=function(){if(4==o.readyState)if(200==o.status)i=t(o),n(i);else try{i=t(o),n(i)}catch(s){r&&r(s)}}}}}();function TextAnimatorProperty(t,e,n){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=t,this._renderType=e,this._elem=n,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(n)}function TextAnimatorDataProperty(t,e,n){var r={propType:!1},i=PropertyFactory.getProp,o=e.a;this.a={r:o.r?i(t,o.r,0,degToRads,n):r,rx:o.rx?i(t,o.rx,0,degToRads,n):r,ry:o.ry?i(t,o.ry,0,degToRads,n):r,sk:o.sk?i(t,o.sk,0,degToRads,n):r,sa:o.sa?i(t,o.sa,0,degToRads,n):r,s:o.s?i(t,o.s,1,.01,n):r,a:o.a?i(t,o.a,1,0,n):r,o:o.o?i(t,o.o,0,.01,n):r,p:o.p?i(t,o.p,1,0,n):r,sw:o.sw?i(t,o.sw,0,0,n):r,sc:o.sc?i(t,o.sc,1,0,n):r,fc:o.fc?i(t,o.fc,1,0,n):r,fh:o.fh?i(t,o.fh,0,0,n):r,fs:o.fs?i(t,o.fs,0,.01,n):r,fb:o.fb?i(t,o.fb,0,.01,n):r,t:o.t?i(t,o.t,0,0,n):r},this.s=TextSelectorProp.getTextSelectorProp(t,e.s,n),this.s.t=e.s.t}function LetterProps(t,e,n,r,i,o){this.o=t,this.sw=e,this.sc=n,this.fc=r,this.m=i,this.p=o,this._mdf={o:!0,sw:!!e,sc:!!n,fc:!!r,m:!0,p:!0}}function TextProperty(t,e){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,this.data=e,this.elem=t,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}TextAnimatorProperty.prototype.searchProperties=function(){var t,e=this._textData.a.length,n=PropertyFactory.getProp;for(t=0;t<e;t+=1)this._animatorsData[t]=new TextAnimatorDataProperty(this._elem,this._textData.a[t],this);this._textData.p&&"m"in this._textData.p?(this._pathData={f:n(this._elem,this._textData.p.f,0,0,this),l:n(this._elem,this._textData.p.l,0,0,this),r:this._textData.p.r,m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=n(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(t,e){if(this.lettersChangedFlag=e,this._mdf||this._isFirstFrame||e||this._hasMaskedPath&&this._pathData.m._mdf){this._isFirstFrame=!1;var n,r,i,o,s,a,l,u,c,h,p,f,d,m,y,g,v,b,_=this._moreOptions.alignment.v,E=this._animatorsData,w=this._textData,x=this.mHelper,C=this._renderType,S=this.renderedLetters.length,A=t.l;if(this._hasMaskedPath){if(b=this._pathData.m,!this._pathData.n||this._pathData._mdf){var P,T=b.v;for(this._pathData.r&&(T=T.reverse()),s={tLength:0,segments:[]},o=T._length-1,g=0,i=0;i<o;i+=1)P=bez.buildBezierData(T.v[i],T.v[i+1],[T.o[i][0]-T.v[i][0],T.o[i][1]-T.v[i][1]],[T.i[i+1][0]-T.v[i+1][0],T.i[i+1][1]-T.v[i+1][1]]),s.tLength+=P.segmentLength,s.segments.push(P),g+=P.segmentLength;i=o,b.v.c&&(P=bez.buildBezierData(T.v[i],T.v[0],[T.o[i][0]-T.v[i][0],T.o[i][1]-T.v[i][1]],[T.i[0][0]-T.v[0][0],T.i[0][1]-T.v[0][1]]),s.tLength+=P.segmentLength,s.segments.push(P),g+=P.segmentLength),this._pathData.pi=s}if(p=0,h=1,u=0,c=!0,m=(s=this._pathData.pi).segments,(a=this._pathData.f.v)<0&&b.v.c)for(s.tLength<Math.abs(a)&&(a=-Math.abs(a)%s.tLength),h=(d=m[p=m.length-1].points).length-1;a<0;)a+=d[h].partialLength,(h-=1)<0&&(h=(d=m[p-=1].points).length-1);f=(d=m[p].points)[h-1],y=(l=d[h]).partialLength}o=A.length,n=0,r=0;var k,D,I,O,M=1.2*t.finalSize*.714,F=!0;I=E.length;var R,N,V,j,L,B,z,G,H,U,W,q,K,Z=-1,Y=a,Q=p,X=h,J=-1,$="",tt=this.defaultPropsArray;if(2===t.j||1===t.j){var et=0,nt=0,rt=2===t.j?-.5:-1,it=0,ot=!0;for(i=0;i<o;i+=1)if(A[i].n){for(et&&(et+=nt);it<i;)A[it].animatorJustifyOffset=et,it+=1;et=0,ot=!0}else{for(D=0;D<I;D+=1)(k=E[D].a).t.propType&&(ot&&2===t.j&&(nt+=k.t.v*rt),et+=(R=E[D].s.getMult(A[i].anIndexes[D],w.a[D].s.totalChars)).length?k.t.v*R[0]*rt:k.t.v*R*rt);ot=!1}for(et&&(et+=nt);it<i;)A[it].animatorJustifyOffset=et,it+=1}for(i=0;i<o;i+=1){if(x.reset(),L=1,A[i].n)n=0,r+=t.yOffset,r+=F?1:0,a=Y,F=!1,this._hasMaskedPath&&(f=(d=m[p=Q].points)[(h=X)-1],y=(l=d[h]).partialLength,u=0),K=U=q=$="",tt=this.defaultPropsArray;else{if(this._hasMaskedPath){if(J!==A[i].line){switch(t.j){case 1:a+=g-t.lineWidths[A[i].line];break;case 2:a+=(g-t.lineWidths[A[i].line])/2}J=A[i].line}Z!==A[i].ind&&(A[Z]&&(a+=A[Z].extra),a+=A[i].an/2,Z=A[i].ind),a+=_[0]*A[i].an/200;var st=0;for(D=0;D<I;D+=1)(k=E[D].a).p.propType&&(st+=(R=E[D].s.getMult(A[i].anIndexes[D],w.a[D].s.totalChars)).length?k.p.v[0]*R[0]:k.p.v[0]*R),k.a.propType&&(st+=(R=E[D].s.getMult(A[i].anIndexes[D],w.a[D].s.totalChars)).length?k.a.v[0]*R[0]:k.a.v[0]*R);for(c=!0;c;)u+y>=a+st||!d?(V=f.point[0]+(l.point[0]-f.point[0])*(v=(a+st-u)/l.partialLength),j=f.point[1]+(l.point[1]-f.point[1])*v,x.translate(-_[0]*A[i].an/200,-_[1]*M/100),c=!1):d&&(u+=l.partialLength,(h+=1)>=d.length&&(h=0,m[p+=1]?d=m[p].points:b.v.c?(h=0,d=m[p=0].points):(u-=l.partialLength,d=null)),d&&(f=l,y=(l=d[h]).partialLength));x.translate(-(N=A[i].an/2-A[i].add),0,0)}else x.translate(-(N=A[i].an/2-A[i].add),0,0),x.translate(-_[0]*A[i].an/200,-_[1]*M/100,0);for(D=0;D<I;D+=1)(k=E[D].a).t.propType&&(R=E[D].s.getMult(A[i].anIndexes[D],w.a[D].s.totalChars),0===n&&0===t.j||(this._hasMaskedPath?a+=R.length?k.t.v*R[0]:k.t.v*R:n+=R.length?k.t.v*R[0]:k.t.v*R));for(t.strokeWidthAnim&&(z=t.sw||0),t.strokeColorAnim&&(B=t.sc?[t.sc[0],t.sc[1],t.sc[2]]:[0,0,0]),t.fillColorAnim&&t.fc&&(G=[t.fc[0],t.fc[1],t.fc[2]]),D=0;D<I;D+=1)(k=E[D].a).a.propType&&((R=E[D].s.getMult(A[i].anIndexes[D],w.a[D].s.totalChars)).length?x.translate(-k.a.v[0]*R[0],-k.a.v[1]*R[1],k.a.v[2]*R[2]):x.translate(-k.a.v[0]*R,-k.a.v[1]*R,k.a.v[2]*R));for(D=0;D<I;D+=1)(k=E[D].a).s.propType&&((R=E[D].s.getMult(A[i].anIndexes[D],w.a[D].s.totalChars)).length?x.scale(1+(k.s.v[0]-1)*R[0],1+(k.s.v[1]-1)*R[1],1):x.scale(1+(k.s.v[0]-1)*R,1+(k.s.v[1]-1)*R,1));for(D=0;D<I;D+=1){if(k=E[D].a,R=E[D].s.getMult(A[i].anIndexes[D],w.a[D].s.totalChars),k.sk.propType&&(R.length?x.skewFromAxis(-k.sk.v*R[0],k.sa.v*R[1]):x.skewFromAxis(-k.sk.v*R,k.sa.v*R)),k.r.propType&&x.rotateZ(R.length?-k.r.v*R[2]:-k.r.v*R),k.ry.propType&&x.rotateY(R.length?k.ry.v*R[1]:k.ry.v*R),k.rx.propType&&x.rotateX(R.length?k.rx.v*R[0]:k.rx.v*R),k.o.propType&&(L+=R.length?(k.o.v*R[0]-L)*R[0]:(k.o.v*R-L)*R),t.strokeWidthAnim&&k.sw.propType&&(z+=R.length?k.sw.v*R[0]:k.sw.v*R),t.strokeColorAnim&&k.sc.propType)for(H=0;H<3;H+=1)B[H]=R.length?B[H]+(k.sc.v[H]-B[H])*R[0]:B[H]+(k.sc.v[H]-B[H])*R;if(t.fillColorAnim&&t.fc){if(k.fc.propType)for(H=0;H<3;H+=1)G[H]=R.length?G[H]+(k.fc.v[H]-G[H])*R[0]:G[H]+(k.fc.v[H]-G[H])*R;k.fh.propType&&(G=addHueToRGB(G,R.length?k.fh.v*R[0]:k.fh.v*R)),k.fs.propType&&(G=addSaturationToRGB(G,R.length?k.fs.v*R[0]:k.fs.v*R)),k.fb.propType&&(G=addBrightnessToRGB(G,R.length?k.fb.v*R[0]:k.fb.v*R))}}for(D=0;D<I;D+=1)(k=E[D].a).p.propType&&(R=E[D].s.getMult(A[i].anIndexes[D],w.a[D].s.totalChars),this._hasMaskedPath?R.length?x.translate(0,k.p.v[1]*R[0],-k.p.v[2]*R[1]):x.translate(0,k.p.v[1]*R,-k.p.v[2]*R):R.length?x.translate(k.p.v[0]*R[0],k.p.v[1]*R[1],-k.p.v[2]*R[2]):x.translate(k.p.v[0]*R,k.p.v[1]*R,-k.p.v[2]*R));if(t.strokeWidthAnim&&(U=z<0?0:z),t.strokeColorAnim&&(W="rgb("+Math.round(255*B[0])+","+Math.round(255*B[1])+","+Math.round(255*B[2])+")"),t.fillColorAnim&&t.fc&&(q="rgb("+Math.round(255*G[0])+","+Math.round(255*G[1])+","+Math.round(255*G[2])+")"),this._hasMaskedPath){if(x.translate(0,-t.ls),x.translate(0,_[1]*M/100+r,0),w.p.p){var at=180*Math.atan((l.point[1]-f.point[1])/(l.point[0]-f.point[0]))/Math.PI;l.point[0]<f.point[0]&&(at+=180),x.rotate(-at*Math.PI/180)}x.translate(V,j,0),a-=_[0]*A[i].an/200,A[i+1]&&Z!==A[i+1].ind&&(a+=A[i].an/2,a+=t.tr/1e3*t.finalSize)}else{switch(x.translate(n,r,0),t.ps&&x.translate(t.ps[0],t.ps[1]+t.ascent,0),t.j){case 1:x.translate(A[i].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[A[i].line]),0,0);break;case 2:x.translate(A[i].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[A[i].line])/2,0,0)}x.translate(0,-t.ls),x.translate(N,0,0),x.translate(_[0]*A[i].an/200,_[1]*M/100,0),n+=A[i].l+t.tr/1e3*t.finalSize}"html"===C?$=x.toCSS():"svg"===C?$=x.to2dCSS():tt=[x.props[0],x.props[1],x.props[2],x.props[3],x.props[4],x.props[5],x.props[6],x.props[7],x.props[8],x.props[9],x.props[10],x.props[11],x.props[12],x.props[13],x.props[14],x.props[15]],K=L}S<=i?(O=new LetterProps(K,U,W,q,$,tt),this.renderedLetters.push(O),S+=1,this.lettersChangedFlag=!0):this.lettersChangedFlag=(O=this.renderedLetters[i]).update(K,U,W,q,$,tt)||this.lettersChangedFlag}}},TextAnimatorProperty.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},TextAnimatorProperty.prototype.mHelper=new Matrix,TextAnimatorProperty.prototype.defaultPropsArray=[],extendPrototype([DynamicPropertyContainer],TextAnimatorProperty),LetterProps.prototype.update=function(t,e,n,r,i,o){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var s=!1;return this.o!==t&&(this.o=t,this._mdf.o=!0,s=!0),this.sw!==e&&(this.sw=e,this._mdf.sw=!0,s=!0),this.sc!==n&&(this.sc=n,this._mdf.sc=!0,s=!0),this.fc!==r&&(this.fc=r,this._mdf.fc=!0,s=!0),this.m!==i&&(this.m=i,this._mdf.m=!0,s=!0),!o.length||this.p[0]===o[0]&&this.p[1]===o[1]&&this.p[4]===o[4]&&this.p[5]===o[5]&&this.p[12]===o[12]&&this.p[13]===o[13]||(this.p=o,this._mdf.p=!0,s=!0),s},TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t},TextProperty.prototype.setCurrentData=function(t){t.__complete||this.completeTextData(t),this.currentData=t,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},TextProperty.prototype.searchProperty=function(){return this.searchKeyframes()},TextProperty.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(t){this.effectsSequence.push(t),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(t){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length||t){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var e=this.currentData,n=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{this.lock=!0,this._mdf=!1;var r,i=this.effectsSequence.length,o=t||this.data.d.k[this.keysIndex].s;for(r=0;r<i;r+=1)o=this.effectsSequence[r](n!==this.keysIndex?o:this.currentData,o.t);e!==o&&this.setCurrentData(o),this.pv=this.v=this.currentData,this.lock=!1,this.frameId=this.elem.globalData.frameId}}},TextProperty.prototype.getKeyframeValue=function(){for(var t=this.data.d.k,e=this.elem.comp.renderedFrame,n=0,r=t.length;n<=r-1&&!(n===r-1||t[n+1].t>e);)n+=1;return this.keysIndex!==n&&(this.keysIndex=n),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(t){for(var e,n=FontManager.getCombinedCharacterCodes(),r=[],i=0,o=t.length;i<o;)e=t.charCodeAt(i),-1!==n.indexOf(e)?r[r.length-1]+=t.charAt(i):e>=55296&&e<=56319&&(e=t.charCodeAt(i+1))>=56320&&e<=57343?(r.push(t.substr(i,2)),++i):r.push(t.charAt(i)),i+=1;return r},TextProperty.prototype.completeTextData=function(t){t.__complete=!0;var e,n,r,i,o,s,a,l=this.elem.globalData.fontManager,u=this.data,c=[],h=0,p=u.m.g,f=0,d=0,m=0,y=[],g=0,v=0,b=l.getFontByName(t.f),_=0,E=b.fStyle?b.fStyle.split(" "):[],w="normal",x="normal";for(n=E.length,e=0;e<n;e+=1)switch(E[e].toLowerCase()){case"italic":x="italic";break;case"bold":w="700";break;case"black":w="900";break;case"medium":w="500";break;case"regular":case"normal":w="400";break;case"light":case"thin":w="200"}t.fWeight=b.fWeight||w,t.fStyle=x,t.finalSize=t.s,t.finalText=this.buildFinalText(t.t),n=t.finalText.length,t.finalLineHeight=t.lh;var C,S=t.tr/1e3*t.finalSize;if(t.sz)for(var A,P,T=!0,k=t.sz[0],D=t.sz[1];T;){A=0,g=0,n=(P=this.buildFinalText(t.t)).length,S=t.tr/1e3*t.finalSize;var I=-1;for(e=0;e<n;e+=1)C=P[e].charCodeAt(0),r=!1," "===P[e]?I=e:13!==C&&3!==C||(g=0,r=!0,A+=t.finalLineHeight||1.2*t.finalSize),l.chars?(a=l.getCharData(P[e],b.fStyle,b.fFamily),_=r?0:a.w*t.finalSize/100):_=l.measureText(P[e],t.f,t.finalSize),g+_>k&&" "!==P[e]?(-1===I?n+=1:e=I,A+=t.finalLineHeight||1.2*t.finalSize,P.splice(e,I===e?1:0,"\r"),I=-1,g=0):(g+=_,g+=S);A+=b.ascent*t.finalSize/100,this.canResize&&t.finalSize>this.minimumFontSize&&D<A?(t.finalSize-=1,t.finalLineHeight=t.finalSize*t.lh/t.s):(t.finalText=P,n=t.finalText.length,T=!1)}g=-S,_=0;var O,M=0;for(e=0;e<n;e+=1)if(r=!1,C=(O=t.finalText[e]).charCodeAt(0)," "===O?i="\xa0":13===C||3===C?(M=0,y.push(g),v=g>v?g:v,g=-2*S,i="",r=!0,m+=1):i=t.finalText[e],l.chars?(a=l.getCharData(O,b.fStyle,l.getFontByName(t.f).fFamily),_=r?0:a.w*t.finalSize/100):_=l.measureText(i,t.f,t.finalSize)," "===O?M+=_+S:(g+=_+S+M,M=0),c.push({l:_,an:_,add:f,n:r,anIndexes:[],val:i,line:m,animatorJustifyOffset:0}),2==p){if(f+=_,""===i||"\xa0"===i||e===n-1){for(""!==i&&"\xa0"!==i||(f-=_);d<=e;)c[d].an=f,c[d].ind=h,c[d].extra=_,d+=1;h+=1,f=0}}else if(3==p){if(f+=_,""===i||e===n-1){for(""===i&&(f-=_);d<=e;)c[d].an=f,c[d].ind=h,c[d].extra=_,d+=1;f=0,h+=1}}else c[h].ind=h,c[h].extra=0,h+=1;if(t.l=c,v=g>v?g:v,y.push(g),t.sz)t.boxWidth=t.sz[0],t.justifyOffset=0;else switch(t.boxWidth=v,t.j){case 1:t.justifyOffset=-t.boxWidth;break;case 2:t.justifyOffset=-t.boxWidth/2;break;default:t.justifyOffset=0}t.lineWidths=y;var F,R,N=u.a;s=N.length;var V,j,L=[];for(o=0;o<s;o+=1){for((F=N[o]).a.sc&&(t.strokeColorAnim=!0),F.a.sw&&(t.strokeWidthAnim=!0),(F.a.fc||F.a.fh||F.a.fs||F.a.fb)&&(t.fillColorAnim=!0),j=0,V=F.s.b,e=0;e<n;e+=1)(R=c[e]).anIndexes[o]=j,(1==V&&""!==R.val||2==V&&""!==R.val&&"\xa0"!==R.val||3==V&&(R.n||"\xa0"==R.val||e==n-1)||4==V&&(R.n||e==n-1))&&(1===F.s.rn&&L.push(j),j+=1);u.a[o].s.totalChars=j;var B,z=-1;if(1===F.s.rn)for(e=0;e<n;e+=1)z!=(R=c[e]).anIndexes[o]&&(z=R.anIndexes[o],B=L.splice(Math.floor(Math.random()*L.length),1)[0]),R.anIndexes[o]=B}t.yOffset=t.finalLineHeight||1.2*t.finalSize,t.ls=t.ls||0,t.ascent=b.ascent*t.finalSize/100},TextProperty.prototype.updateDocumentData=function(t,e){var n=this.copyData({},this.data.d.k[e=void 0===e?this.keysIndex:e].s);n=this.copyData(n,t),this.data.d.k[e].s=n,this.recalculate(e),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(t){var e=this.data.d.k[t].s;e.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(e)},TextProperty.prototype.canResizeFont=function(t){this.canResize=t,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(t){this.minimumFontSize=Math.floor(t)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var t=Math.max,e=Math.min,n=Math.floor;function r(t,e){this._currentTextLength=-1,this.k=!1,this.data=e,this.elem=t,this.comp=t.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(t),this.s=PropertyFactory.getProp(t,e.s||{k:0},0,0,this),this.e="e"in e?PropertyFactory.getProp(t,e.e,0,0,this):{v:100},this.o=PropertyFactory.getProp(t,e.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(t,e.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(t,e.ne||{k:0},0,0,this),this.a=PropertyFactory.getProp(t,e.a,0,.01,this),this.dynamicProperties.length||this.getValue()}return r.prototype={getMult:function(r){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var i=0,o=0,s=1,a=1;this.ne.v>0?i=this.ne.v/100:o=-this.ne.v/100,this.xe.v>0?s=1-this.xe.v/100:a=1+this.xe.v/100;var l=BezierFactory.getBezierEasing(i,o,s,a).get,u=0,c=this.finalS,h=this.finalE,p=this.data.sh;if(2===p)u=l(u=h===c?r>=h?1:0:t(0,e(.5/(h-c)+(r-c)/(h-c),1)));else if(3===p)u=l(u=h===c?r>=h?0:1:1-t(0,e(.5/(h-c)+(r-c)/(h-c),1)));else if(4===p)h===c?u=0:(u=t(0,e(.5/(h-c)+(r-c)/(h-c),1)))<.5?u*=2:u=1-2*(u-.5),u=l(u);else if(5===p){if(h===c)u=0;else{var f=h-c,d=-f/2+(r=e(t(0,r+.5-c),h-c)),m=f/2;u=Math.sqrt(1-d*d/(m*m))}u=l(u)}else 6===p?(h===c?u=0:(r=e(t(0,r+.5-c),h-c),u=(1+Math.cos(Math.PI+2*Math.PI*r/(h-c)))/2),u=l(u)):(r>=n(c)&&(u=t(0,e(r-c<0?e(h,1)-(c-r):h-r,1))),u=l(u));return u*this.a.v},getValue:function(t){this.iterateDynamicProperties(),this._mdf=t||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,t&&2===this.data.r&&(this.e.v=this._currentTextLength);var e=2===this.data.r?1:100/this.data.totalChars,n=this.o.v/e,r=this.s.v/e+n,i=this.e.v/e+n;if(r>i){var o=r;r=i,i=o}this.finalS=r,this.finalE=i}},extendPrototype([DynamicPropertyContainer],r),{getTextSelectorProp:function(t,e,n){return new r(t,e,n)}}}(),pool_factory=function(t,e,n,r){var i=0,o=t,s=createSizedArray(o);return{newElement:function(){return i?s[i-=1]:e()},release:function(t){i===o&&(s=pooling.double(s),o*=2),n&&n(t),s[i]=t,i+=1}}},pooling={double:function(t){return t.concat(createSizedArray(t.length))}},point_pool=pool_factory(8,function(){return createTypedArray("float32",2)}),shape_pool=(factory=pool_factory(4,function(){return new ShapePath},function(t){var e,n=t._length;for(e=0;e<n;e+=1)point_pool.release(t.v[e]),point_pool.release(t.i[e]),point_pool.release(t.o[e]),t.v[e]=null,t.i[e]=null,t.o[e]=null;t._length=0,t.c=!1}),factory.clone=function(t){var e,n=factory.newElement(),r=void 0===t._length?t.v.length:t._length;for(n.setLength(r),n.c=t.c,e=0;e<r;e+=1)n.setTripleAt(t.v[e][0],t.v[e][1],t.o[e][0],t.o[e][1],t.i[e][0],t.i[e][1],e);return n},factory),shapeCollection_pool=function(){var t={newShapeCollection:function(){return e?r[e-=1]:new ShapeCollection},release:function(t){var i,o=t._length;for(i=0;i<o;i+=1)shape_pool.release(t.shapes[i]);t._length=0,e===n&&(r=pooling.double(r),n*=2),r[e]=t,e+=1}},e=0,n=4,r=createSizedArray(n);return t}(),segments_length_pool=pool_factory(8,function(){return{lengths:[],totalLength:0}},function(t){var e,n=t.lengths.length;for(e=0;e<n;e+=1)bezier_length_pool.release(t.lengths[e]);t.lengths.length=0}),bezier_length_pool=pool_factory(8,function(){return{addedLength:0,percents:createTypedArray("float32",defaultCurveSegments),lengths:createTypedArray("float32",defaultCurveSegments)}}),factory;function BaseRenderer(){}function SVGRenderer(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var n="";if(e&&e.title){var r=createNS("title"),i=createElementID();r.setAttribute("id",i),r.textContent=e.title,this.svgElement.appendChild(r),n+=i}if(e&&e.description){var o=createNS("desc"),s=createElementID();o.setAttribute("id",s),o.textContent=e.description,this.svgElement.appendChild(o),n+=" "+s}n&&this.svgElement.setAttribute("aria-labelledby",n);var a=createNS("defs");this.svgElement.appendChild(a);var l=createNS("g");this.svgElement.appendChild(l),this.layerElement=l,this.renderConfig={preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",progressiveLoad:e&&e.progressiveLoad||!1,hideOnTransparent:!e||!1!==e.hideOnTransparent,viewBoxOnly:e&&e.viewBoxOnly||!1,viewBoxSize:e&&e.viewBoxSize||!1,className:e&&e.className||"",id:e&&e.id||"",focusable:e&&e.focusable},this.globalData={_mdf:!1,frameNum:-1,defs:a,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}function CanvasRenderer(t,e){this.animationItem=t,this.renderConfig={clearCanvas:!e||void 0===e.clearCanvas||e.clearCanvas,context:e&&e.context||null,progressiveLoad:e&&e.progressiveLoad||!1,preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",className:e&&e.className||"",id:e&&e.id||""},this.renderConfig.dpr=e&&e.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=e&&e.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=new Matrix,this.completeLayers=!1,this.rendererType="canvas"}function HybridRenderer(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:e&&e.className||"",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!e||!1!==e.hideOnTransparent},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}function MaskElement(t,e,n){this.data=t,this.element=e,this.globalData=n,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var r,i=this.globalData.defs,o=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(o),this.solidPath="";var s,a,l,u,c,h,p,f=this.masksProperties,d=0,m=[],y=createElementID(),g="clipPath",v="clip-path";for(r=0;r<o;r++)if(("a"!==f[r].mode&&"n"!==f[r].mode||f[r].inv||100!==f[r].o.k||f[r].o.x)&&(g="mask",v="mask"),"s"!=f[r].mode&&"i"!=f[r].mode||0!==d?u=null:((u=createNS("rect")).setAttribute("fill","#ffffff"),u.setAttribute("width",this.element.comp.data.w||0),u.setAttribute("height",this.element.comp.data.h||0),m.push(u)),s=createNS("path"),"n"!=f[r].mode){var b;if(d+=1,s.setAttribute("fill","s"===f[r].mode?"#000000":"#ffffff"),s.setAttribute("clip-rule","nonzero"),0!==f[r].x.k?(g="mask",v="mask",p=PropertyFactory.getProp(this.element,f[r].x,0,null,this.element),b=createElementID(),(c=createNS("filter")).setAttribute("id",b),(h=createNS("feMorphology")).setAttribute("operator","erode"),h.setAttribute("in","SourceGraphic"),h.setAttribute("radius","0"),c.appendChild(h),i.appendChild(c),s.setAttribute("stroke","s"===f[r].mode?"#000000":"#ffffff")):(h=null,p=null),this.storedData[r]={elem:s,x:p,expan:h,lastPath:"",lastOperator:"",filterId:b,lastRadius:0},"i"==f[r].mode){l=m.length;var _=createNS("g");for(a=0;a<l;a+=1)_.appendChild(m[a]);var E=createNS("mask");E.setAttribute("mask-type","alpha"),E.setAttribute("id",y+"_"+d),E.appendChild(s),i.appendChild(E),_.setAttribute("mask","url("+locationHref+"#"+y+"_"+d+")"),m.length=0,m.push(_)}else m.push(s);f[r].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[r]={elem:s,lastPath:"",op:PropertyFactory.getProp(this.element,f[r].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,f[r],3),invRect:u},this.viewData[r].prop.k||this.drawPath(f[r],this.viewData[r].prop.v,this.viewData[r])}else this.viewData[r]={op:PropertyFactory.getProp(this.element,f[r].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,f[r],3),elem:s,lastPath:""},i.appendChild(s);for(this.maskElement=createNS(g),o=m.length,r=0;r<o;r+=1)this.maskElement.appendChild(m[r]);d>0&&(this.maskElement.setAttribute("id",y),this.element.maskedElement.setAttribute(v,"url("+locationHref+"#"+y+")"),i.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}function HierarchyElement(){}function FrameElement(){}function TransformElement(){}function RenderableElement(){}function RenderableDOMElement(){}function ProcessedElement(t,e){this.elem=t,this.pos=e}function SVGStyleData(t,e){this.data=t,this.type=t.ty,this.d="",this.lvl=e,this._mdf=!1,this.closed=!0===t.hd,this.pElem=createNS("path"),this.msElem=null}function SVGShapeData(t,e,n){this.caches=[],this.styles=[],this.transformers=t,this.lStr="",this.sh=n,this.lvl=e,this._isAnimated=!!n.k;for(var r=0,i=t.length;r<i;){if(t[r].mProps.dynamicProperties.length){this._isAnimated=!0;break}r+=1}}function SVGTransformData(t,e,n){this.transform={mProps:t,op:e,container:n},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}function SVGStrokeStyleData(t,e,n){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.w=PropertyFactory.getProp(t,e.w,0,null,this),this.d=new DashProperty(t,e.d||{},"svg",this),this.c=PropertyFactory.getProp(t,e.c,1,255,this),this.style=n,this._isAnimated=!!this._isAnimated}function SVGFillStyleData(t,e,n){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.c=PropertyFactory.getProp(t,e.c,1,255,this),this.style=n}function SVGGradientFillStyleData(t,e,n){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.initGradientData(t,e,n)}function SVGGradientStrokeStyleData(t,e,n){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(t,e.w,0,null,this),this.d=new DashProperty(t,e.d||{},"svg",this),this.initGradientData(t,e,n),this._isAnimated=!!this._isAnimated}function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}BaseRenderer.prototype.checkLayers=function(t){var e,n,r=this.layers.length;for(this.completeLayers=!0,e=r-1;e>=0;e--)this.elements[e]||(n=this.layers[e]).ip-n.st<=t-this.layers[e].st&&n.op-n.st>t-this.layers[e].st&&this.buildItem(e),this.completeLayers=!!this.elements[e]&&this.completeLayers;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(t){switch(t.ty){case 2:return this.createImage(t);case 0:return this.createComp(t);case 1:return this.createSolid(t);case 3:return this.createNull(t);case 4:return this.createShape(t);case 5:return this.createText(t);case 13:return this.createCamera(t)}return this.createNull(t)},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.buildAllItems=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)this.buildItem(t);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(t){this.completeLayers=!1;var e,n,r=t.length,i=this.layers.length;for(e=0;e<r;e+=1)for(n=0;n<i;){if(this.layers[n].id==t[e].id){this.layers[n]=t[e];break}n+=1}},BaseRenderer.prototype.setProjectInterface=function(t){this.globalData.projectInterface=t},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(t,e,n){for(var r=this.elements,i=this.layers,o=0,s=i.length;o<s;)i[o].ind==e&&(r[o]&&!0!==r[o]?(n.push(r[o]),r[o].setAsParent(),void 0!==i[o].parent?this.buildElementParenting(t,i[o].parent,n):t.setHierarchy(n)):(this.buildItem(o),this.addPendingElement(t))),o+=1},BaseRenderer.prototype.addPendingElement=function(t){this.pendingElements.push(t)},BaseRenderer.prototype.searchExtraCompositions=function(t){var e,n=t.length;for(e=0;e<n;e+=1)if(t[e].xt){var r=this.createComp(t[e]);r.initExpressions(),this.globalData.projectInterface.registerComposition(r)}},BaseRenderer.prototype.setupGlobalData=function(t,e){this.globalData.fontManager=new FontManager,this.globalData.fontManager.addChars(t.chars),this.globalData.fontManager.addFonts(t.fonts,e),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.frameId=0,this.globalData.frameRate=t.fr,this.globalData.nm=t.nm,this.globalData.compSize={w:t.w,h:t.h}},extendPrototype([BaseRenderer],SVGRenderer),SVGRenderer.prototype.createNull=function(t){return new NullElement(t,this.globalData,this)},SVGRenderer.prototype.createShape=function(t){return new SVGShapeElement(t,this.globalData,this)},SVGRenderer.prototype.createText=function(t){return new SVGTextElement(t,this.globalData,this)},SVGRenderer.prototype.createImage=function(t){return new IImageElement(t,this.globalData,this)},SVGRenderer.prototype.createComp=function(t){return new SVGCompElement(t,this.globalData,this)},SVGRenderer.prototype.createSolid=function(t){return new ISolidElement(t,this.globalData,this)},SVGRenderer.prototype.configAnimation=function(t){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize?this.renderConfig.viewBoxSize:"0 0 "+t.w+" "+t.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",t.w),this.svgElement.setAttribute("height",t.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)"),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),void 0!==this.renderConfig.focusable&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var e=this.globalData.defs;this.setupGlobalData(t,e),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=t;var n=createNS("clipPath"),r=createNS("rect");r.setAttribute("width",t.w),r.setAttribute("height",t.h),r.setAttribute("x",0),r.setAttribute("y",0);var i=createElementID();n.setAttribute("id",i),n.appendChild(r),this.layerElement.setAttribute("clip-path","url("+locationHref+"#"+i+")"),e.appendChild(n),this.layers=t.layers,this.elements=createSizedArray(t.layers.length)},SVGRenderer.prototype.destroy=function(){this.animationItem.wrapper.innerHTML="",this.layerElement=null,this.globalData.defs=null;var t,e=this.layers?this.layers.length:0;for(t=0;t<e;t++)this.elements[t]&&this.elements[t].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRenderer.prototype.updateContainerSize=function(){},SVGRenderer.prototype.buildItem=function(t){var e=this.elements;if(!e[t]&&99!=this.layers[t].ty){e[t]=!0;var n=this.createItem(this.layers[t]);e[t]=n,expressionsPlugin&&(0===this.layers[t].ty&&this.globalData.projectInterface.registerComposition(n),n.initExpressions()),this.appendElementInPos(n,t),this.layers[t].tt&&(this.elements[t-1]&&!0!==this.elements[t-1]?n.setMatte(e[t-1].layerId):(this.buildItem(t-1),this.addPendingElement(n)))}},SVGRenderer.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var t=this.pendingElements.pop();if(t.checkParenting(),t.data.tt)for(var e=0,n=this.elements.length;e<n;){if(this.elements[e]===t){t.setMatte(this.elements[e-1].layerId);break}e+=1}}},SVGRenderer.prototype.renderFrame=function(t){if(this.renderedFrame!==t&&!this.destroyed){null===t?t=this.renderedFrame:this.renderedFrame=t,this.globalData.frameNum=t,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=t,this.globalData._mdf=!1;var e,n=this.layers.length;for(this.completeLayers||this.checkLayers(t),e=n-1;e>=0;e--)(this.completeLayers||this.elements[e])&&this.elements[e].prepareFrame(t-this.layers[e].st);if(this.globalData._mdf)for(e=0;e<n;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()}},SVGRenderer.prototype.appendElementInPos=function(t,e){var n=t.getBaseElement();if(n){for(var r,i=0;i<e;)this.elements[i]&&!0!==this.elements[i]&&this.elements[i].getBaseElement()&&(r=this.elements[i].getBaseElement()),i+=1;r?this.layerElement.insertBefore(n,r):this.layerElement.appendChild(n)}},SVGRenderer.prototype.hide=function(){this.layerElement.style.display="none"},SVGRenderer.prototype.show=function(){this.layerElement.style.display="block"},extendPrototype([BaseRenderer],CanvasRenderer),CanvasRenderer.prototype.createShape=function(t){return new CVShapeElement(t,this.globalData,this)},CanvasRenderer.prototype.createText=function(t){return new CVTextElement(t,this.globalData,this)},CanvasRenderer.prototype.createImage=function(t){return new CVImageElement(t,this.globalData,this)},CanvasRenderer.prototype.createComp=function(t){return new CVCompElement(t,this.globalData,this)},CanvasRenderer.prototype.createSolid=function(t){return new CVSolidElement(t,this.globalData,this)},CanvasRenderer.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRenderer.prototype.ctxTransform=function(t){if(1!==t[0]||0!==t[1]||0!==t[4]||1!==t[5]||0!==t[12]||0!==t[13])if(this.renderConfig.clearCanvas){this.transformMat.cloneFromProps(t);var e=this.contextData.cTr.props;this.transformMat.transform(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]),this.contextData.cTr.cloneFromProps(this.transformMat.props);var n=this.contextData.cTr.props;this.canvasContext.setTransform(n[0],n[1],n[4],n[5],n[12],n[13])}else this.canvasContext.transform(t[0],t[1],t[4],t[5],t[12],t[13])},CanvasRenderer.prototype.ctxOpacity=function(t){if(!this.renderConfig.clearCanvas)return this.canvasContext.globalAlpha*=t<0?0:t,void(this.globalData.currentGlobalAlpha=this.contextData.cO);this.contextData.cO*=t<0?0:t,this.globalData.currentGlobalAlpha!==this.contextData.cO&&(this.canvasContext.globalAlpha=this.contextData.cO,this.globalData.currentGlobalAlpha=this.contextData.cO)},CanvasRenderer.prototype.reset=function(){this.renderConfig.clearCanvas?this.contextData.reset():this.canvasContext.restore()},CanvasRenderer.prototype.save=function(t){if(this.renderConfig.clearCanvas){t&&this.canvasContext.save();var e=this.contextData.cTr.props;this.contextData._length<=this.contextData.cArrPos&&this.contextData.duplicate();var n,r=this.contextData.saved[this.contextData.cArrPos];for(n=0;n<16;n+=1)r[n]=e[n];this.contextData.savedOp[this.contextData.cArrPos]=this.contextData.cO,this.contextData.cArrPos+=1}else this.canvasContext.save()},CanvasRenderer.prototype.restore=function(t){if(this.renderConfig.clearCanvas){t&&(this.canvasContext.restore(),this.globalData.blendMode="source-over"),this.contextData.cArrPos-=1;var e,n=this.contextData.saved[this.contextData.cArrPos],r=this.contextData.cTr.props;for(e=0;e<16;e+=1)r[e]=n[e];this.canvasContext.setTransform(n[0],n[1],n[4],n[5],n[12],n[13]),this.contextData.cO=n=this.contextData.savedOp[this.contextData.cArrPos],this.globalData.currentGlobalAlpha!==n&&(this.canvasContext.globalAlpha=n,this.globalData.currentGlobalAlpha=n)}else this.canvasContext.restore()},CanvasRenderer.prototype.configAnimation=function(t){this.animationItem.wrapper?(this.animationItem.container=createTag("canvas"),this.animationItem.container.style.width="100%",this.animationItem.container.style.height="100%",this.animationItem.container.style.transformOrigin=this.animationItem.container.style.mozTransformOrigin=this.animationItem.container.style.webkitTransformOrigin=this.animationItem.container.style["-webkit-transform"]="0px 0px 0px",this.animationItem.wrapper.appendChild(this.animationItem.container),this.canvasContext=this.animationItem.container.getContext("2d"),this.renderConfig.className&&this.animationItem.container.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.animationItem.container.setAttribute("id",this.renderConfig.id)):this.canvasContext=this.renderConfig.context,this.data=t,this.layers=t.layers,this.transformCanvas={w:t.w,h:t.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(t,document.body),this.globalData.canvasContext=this.canvasContext,this.globalData.renderer=this,this.globalData.isDashed=!1,this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.globalData.transformCanvas=this.transformCanvas,this.elements=createSizedArray(t.layers.length),this.updateContainerSize()},CanvasRenderer.prototype.updateContainerSize=function(){var t,e,n,r;if(this.reset(),this.animationItem.wrapper&&this.animationItem.container?(e=this.animationItem.wrapper.offsetHeight,this.animationItem.container.setAttribute("width",(t=this.animationItem.wrapper.offsetWidth)*this.renderConfig.dpr),this.animationItem.container.setAttribute("height",e*this.renderConfig.dpr)):(t=this.canvasContext.canvas.width*this.renderConfig.dpr,e=this.canvasContext.canvas.height*this.renderConfig.dpr),-1!==this.renderConfig.preserveAspectRatio.indexOf("meet")||-1!==this.renderConfig.preserveAspectRatio.indexOf("slice")){var i=this.renderConfig.preserveAspectRatio.split(" "),o=i[1]||"meet",s=i[0]||"xMidYMid",a=s.substr(0,4),l=s.substr(4);(r=this.transformCanvas.w/this.transformCanvas.h)>(n=t/e)&&"meet"===o||r<n&&"slice"===o?(this.transformCanvas.sx=t/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=t/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=e/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=e/(this.transformCanvas.h/this.renderConfig.dpr)),this.transformCanvas.tx="xMid"===a&&(r<n&&"meet"===o||r>n&&"slice"===o)?(t-this.transformCanvas.w*(e/this.transformCanvas.h))/2*this.renderConfig.dpr:"xMax"===a&&(r<n&&"meet"===o||r>n&&"slice"===o)?(t-this.transformCanvas.w*(e/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.ty="YMid"===l&&(r>n&&"meet"===o||r<n&&"slice"===o)?(e-this.transformCanvas.h*(t/this.transformCanvas.w))/2*this.renderConfig.dpr:"YMax"===l&&(r>n&&"meet"===o||r<n&&"slice"===o)?(e-this.transformCanvas.h*(t/this.transformCanvas.w))*this.renderConfig.dpr:0}else"none"==this.renderConfig.preserveAspectRatio?(this.transformCanvas.sx=t/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=e/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.tx=0,this.transformCanvas.ty=0):(this.transformCanvas.sx=this.renderConfig.dpr,this.transformCanvas.sy=this.renderConfig.dpr,this.transformCanvas.tx=0,this.transformCanvas.ty=0);this.transformCanvas.props=[this.transformCanvas.sx,0,0,0,0,this.transformCanvas.sy,0,0,0,0,1,0,this.transformCanvas.tx,this.transformCanvas.ty,0,1],this.ctxTransform(this.transformCanvas.props),this.canvasContext.beginPath(),this.canvasContext.rect(0,0,this.transformCanvas.w,this.transformCanvas.h),this.canvasContext.closePath(),this.canvasContext.clip(),this.renderFrame(this.renderedFrame,!0)},CanvasRenderer.prototype.destroy=function(){var t;for(this.renderConfig.clearCanvas&&(this.animationItem.wrapper.innerHTML=""),t=(this.layers?this.layers.length:0)-1;t>=0;t-=1)this.elements[t]&&this.elements[t].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRenderer.prototype.renderFrame=function(t,e){if((this.renderedFrame!==t||!0!==this.renderConfig.clearCanvas||e)&&!this.destroyed&&-1!==t){this.renderedFrame=t,this.globalData.frameNum=t-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||e,this.globalData.projectInterface.currentFrame=t;var n,r=this.layers.length;for(this.completeLayers||this.checkLayers(t),n=0;n<r;n++)(this.completeLayers||this.elements[n])&&this.elements[n].prepareFrame(t-this.layers[n].st);if(this.globalData._mdf){for(!0===this.renderConfig.clearCanvas?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),n=r-1;n>=0;n-=1)(this.completeLayers||this.elements[n])&&this.elements[n].renderFrame();!0!==this.renderConfig.clearCanvas&&this.restore()}}},CanvasRenderer.prototype.buildItem=function(t){var e=this.elements;if(!e[t]&&99!=this.layers[t].ty){var n=this.createItem(this.layers[t],this,this.globalData);e[t]=n,n.initExpressions()}},CanvasRenderer.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},CanvasRenderer.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRenderer.prototype.show=function(){this.animationItem.container.style.display="block"},extendPrototype([BaseRenderer],HybridRenderer),HybridRenderer.prototype.buildItem=SVGRenderer.prototype.buildItem,HybridRenderer.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},HybridRenderer.prototype.appendElementInPos=function(t,e){var n=t.getBaseElement();if(n){var r=this.layers[e];if(r.ddd&&this.supports3d)this.addTo3dContainer(n,e);else if(this.threeDElements)this.addTo3dContainer(n,e);else{for(var i,o,s=0;s<e;)this.elements[s]&&!0!==this.elements[s]&&this.elements[s].getBaseElement&&(o=this.elements[s],i=(this.layers[s].ddd?this.getThreeDContainerByPos(s):o.getBaseElement())||i),s+=1;i?r.ddd&&this.supports3d||this.layerElement.insertBefore(n,i):r.ddd&&this.supports3d||this.layerElement.appendChild(n)}}},HybridRenderer.prototype.createShape=function(t){return this.supports3d?new HShapeElement(t,this.globalData,this):new SVGShapeElement(t,this.globalData,this)},HybridRenderer.prototype.createText=function(t){return this.supports3d?new HTextElement(t,this.globalData,this):new SVGTextElement(t,this.globalData,this)},HybridRenderer.prototype.createCamera=function(t){return this.camera=new HCameraElement(t,this.globalData,this),this.camera},HybridRenderer.prototype.createImage=function(t){return this.supports3d?new HImageElement(t,this.globalData,this):new IImageElement(t,this.globalData,this)},HybridRenderer.prototype.createComp=function(t){return this.supports3d?new HCompElement(t,this.globalData,this):new SVGCompElement(t,this.globalData,this)},HybridRenderer.prototype.createSolid=function(t){return this.supports3d?new HSolidElement(t,this.globalData,this):new ISolidElement(t,this.globalData,this)},HybridRenderer.prototype.createNull=SVGRenderer.prototype.createNull,HybridRenderer.prototype.getThreeDContainerByPos=function(t){for(var e=0,n=this.threeDElements.length;e<n;){if(this.threeDElements[e].startPos<=t&&this.threeDElements[e].endPos>=t)return this.threeDElements[e].perspectiveElem;e+=1}},HybridRenderer.prototype.createThreeDContainer=function(t,e){var n=createTag("div");styleDiv(n);var r=createTag("div");styleDiv(r),"3d"===e&&(n.style.width=this.globalData.compSize.w+"px",n.style.height=this.globalData.compSize.h+"px",n.style.transformOrigin=n.style.mozTransformOrigin=n.style.webkitTransformOrigin="50% 50%",r.style.transform=r.style.webkitTransform="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)"),n.appendChild(r);var i={container:r,perspectiveElem:n,startPos:t,endPos:t,type:e};return this.threeDElements.push(i),i},HybridRenderer.prototype.build3dContainers=function(){var t,e,n=this.layers.length,r="";for(t=0;t<n;t+=1)this.layers[t].ddd&&3!==this.layers[t].ty?("3d"!==r&&(r="3d",e=this.createThreeDContainer(t,"3d")),e.endPos=Math.max(e.endPos,t)):("2d"!==r&&(r="2d",e=this.createThreeDContainer(t,"2d")),e.endPos=Math.max(e.endPos,t));for(t=(n=this.threeDElements.length)-1;t>=0;t--)this.resizerElem.appendChild(this.threeDElements[t].perspectiveElem)},HybridRenderer.prototype.addTo3dContainer=function(t,e){for(var n=0,r=this.threeDElements.length;n<r;){if(e<=this.threeDElements[n].endPos){for(var i,o=this.threeDElements[n].startPos;o<e;)this.elements[o]&&this.elements[o].getBaseElement&&(i=this.elements[o].getBaseElement()),o+=1;i?this.threeDElements[n].container.insertBefore(t,i):this.threeDElements[n].container.appendChild(t);break}n+=1}},HybridRenderer.prototype.configAnimation=function(t){var e=createTag("div"),n=this.animationItem.wrapper;e.style.width=t.w+"px",e.style.height=t.h+"px",this.resizerElem=e,styleDiv(e),e.style.transformStyle=e.style.webkitTransformStyle=e.style.mozTransformStyle="flat",this.renderConfig.className&&e.setAttribute("class",this.renderConfig.className),n.appendChild(e),e.style.overflow="hidden";var r=createNS("svg");r.setAttribute("width","1"),r.setAttribute("height","1"),styleDiv(r),this.resizerElem.appendChild(r);var i=createNS("defs");r.appendChild(i),this.data=t,this.setupGlobalData(t,r),this.globalData.defs=i,this.layers=t.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRenderer.prototype.destroy=function(){this.animationItem.wrapper.innerHTML="",this.animationItem.container=null,this.globalData.defs=null;var t,e=this.layers?this.layers.length:0;for(t=0;t<e;t++)this.elements[t].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRenderer.prototype.updateContainerSize=function(){var t,e,n,r,i=this.animationItem.wrapper.offsetWidth,o=this.animationItem.wrapper.offsetHeight;this.globalData.compSize.w/this.globalData.compSize.h>i/o?(t=i/this.globalData.compSize.w,e=i/this.globalData.compSize.w,n=0,r=(o-this.globalData.compSize.h*(i/this.globalData.compSize.w))/2):(t=o/this.globalData.compSize.h,e=o/this.globalData.compSize.h,n=(i-this.globalData.compSize.w*(o/this.globalData.compSize.h))/2,r=0),this.resizerElem.style.transform=this.resizerElem.style.webkitTransform="matrix3d("+t+",0,0,0,0,"+e+",0,0,0,0,1,0,"+n+","+r+",0,1)"},HybridRenderer.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRenderer.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRenderer.prototype.show=function(){this.resizerElem.style.display="block"},HybridRenderer.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var t,e=this.globalData.compSize.w,n=this.globalData.compSize.h,r=this.threeDElements.length;for(t=0;t<r;t+=1)this.threeDElements[t].perspectiveElem.style.perspective=this.threeDElements[t].perspectiveElem.style.webkitPerspective=Math.sqrt(Math.pow(e,2)+Math.pow(n,2))+"px"}},HybridRenderer.prototype.searchExtraCompositions=function(t){var e,n=t.length,r=createTag("div");for(e=0;e<n;e+=1)if(t[e].xt){var i=this.createComp(t[e],r,this.globalData.comp,null);i.initExpressions(),this.globalData.projectInterface.registerComposition(i)}},MaskElement.prototype.getMaskProperty=function(t){return this.viewData[t].prop},MaskElement.prototype.renderFrame=function(t){var e,n=this.element.finalTransform.mat,r=this.masksProperties.length;for(e=0;e<r;e++)if((this.viewData[e].prop._mdf||t)&&this.drawPath(this.masksProperties[e],this.viewData[e].prop.v,this.viewData[e]),(this.viewData[e].op._mdf||t)&&this.viewData[e].elem.setAttribute("fill-opacity",this.viewData[e].op.v),"n"!==this.masksProperties[e].mode&&(this.viewData[e].invRect&&(this.element.finalTransform.mProp._mdf||t)&&this.viewData[e].invRect.setAttribute("transform",n.getInverseMatrix().to2dCSS()),this.storedData[e].x&&(this.storedData[e].x._mdf||t))){var i=this.storedData[e].expan;this.storedData[e].x.v<0?("erode"!==this.storedData[e].lastOperator&&(this.storedData[e].lastOperator="erode",this.storedData[e].elem.setAttribute("filter","url("+locationHref+"#"+this.storedData[e].filterId+")")),i.setAttribute("radius",-this.storedData[e].x.v)):("dilate"!==this.storedData[e].lastOperator&&(this.storedData[e].lastOperator="dilate",this.storedData[e].elem.setAttribute("filter",null)),this.storedData[e].elem.setAttribute("stroke-width",2*this.storedData[e].x.v))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var t="M0,0 ";return t+=" h"+this.globalData.compSize.w,t+=" v"+this.globalData.compSize.h,(t+=" h-"+this.globalData.compSize.w)+" v-"+this.globalData.compSize.h+" "},MaskElement.prototype.drawPath=function(t,e,n){var r,i,o=" M"+e.v[0][0]+","+e.v[0][1];for(i=e._length,r=1;r<i;r+=1)o+=" C"+e.o[r-1][0]+","+e.o[r-1][1]+" "+e.i[r][0]+","+e.i[r][1]+" "+e.v[r][0]+","+e.v[r][1];if(e.c&&i>1&&(o+=" C"+e.o[r-1][0]+","+e.o[r-1][1]+" "+e.i[0][0]+","+e.i[0][1]+" "+e.v[0][0]+","+e.v[0][1]),n.lastPath!==o){var s="";n.elem&&(e.c&&(s=t.inv?this.solidPath+o:o),n.elem.setAttribute("d",s)),n.lastPath=o}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null},HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(t){this.hierarchy=t},setAsParent:function(){this._isParent=!0},checkParenting:function(){void 0!==this.data.parent&&this.comp.buildElementParenting(this,this.data.parent,[])}},FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(t,e){var n,r=this.dynamicProperties.length;for(n=0;n<r;n+=1)(e||this._isParent&&"transform"===this.dynamicProperties[n].propType)&&(this.dynamicProperties[n].getValue(),this.dynamicProperties[n]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(t){-1===this.dynamicProperties.indexOf(t)&&this.dynamicProperties.push(t)}},TransformElement.prototype={initTransform:function(){this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_opMdf:!1,mat:new Matrix},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0)},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var t,e=this.finalTransform.mat,n=0,r=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;n<r;){if(this.hierarchy[n].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}n+=1}if(this.finalTransform._matMdf)for(e.cloneFromProps(t=this.finalTransform.mProp.v.props),n=0;n<r;n+=1)e.transform((t=this.hierarchy[n].finalTransform.mProp.v.props)[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15])}},globalToLocal:function(t){var e=[];e.push(this.finalTransform);for(var n=!0,r=this.comp;n;)r.finalTransform?(r.data.hasMask&&e.splice(0,0,r.finalTransform),r=r.comp):n=!1;var i,o,s=e.length;for(i=0;i<s;i+=1)o=e[i].mat.applyToPointArray(0,0,0),t=[t[0]-o[0],t[1]-o[1],0];return t},mHelper:new Matrix},RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(t){-1===this.renderableComponents.indexOf(t)&&this.renderableComponents.push(t)},removeRenderableComponent:function(t){-1!==this.renderableComponents.indexOf(t)&&this.renderableComponents.splice(this.renderableComponents.indexOf(t),1)},prepareRenderableFrame:function(t){this.checkLayerLimits(t)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(t){this.data.ip-this.data.st<=t&&this.data.op-this.data.st>t?!0!==this.isInRange&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):!1!==this.isInRange&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var t,e=this.renderableComponents.length;for(t=0;t<e;t+=1)this.renderableComponents[t].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return 5===this.data.ty?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}},extendPrototype([RenderableElement,createProxyFunction({initElement:function(t,e,n){this.initFrame(),this.initBaseData(t,e,n),this.initTransform(t,e,n),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){this.hidden||this.isInRange&&!this.isTransparent||((this.baseElement||this.layerElement).style.display="none",this.hidden=!0)},show:function(){this.isInRange&&!this.isTransparent&&(this.data.hd||((this.baseElement||this.layerElement).style.display="block"),this.hidden=!1,this._isFirstFrame=!0)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}})],RenderableDOMElement),SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1},SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0},extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData),extendPrototype([DynamicPropertyContainer],SVGFillStyleData),SVGGradientFillStyleData.prototype.initGradientData=function(t,e,n){this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.s=PropertyFactory.getProp(t,e.s,1,null,this),this.e=PropertyFactory.getProp(t,e.e,1,null,this),this.h=PropertyFactory.getProp(t,e.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(t,e.a||{k:0},0,degToRads,this),this.g=new GradientProperty(t,e.g,this),this.style=n,this.stops=[],this.setGradientData(n.pElem,e),this.setGradientOpacity(e,n),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(t,e){var n=createElementID(),r=createNS(1===e.t?"linearGradient":"radialGradient");r.setAttribute("id",n),r.setAttribute("spreadMethod","pad"),r.setAttribute("gradientUnits","userSpaceOnUse");var i,o,s,a=[];for(s=4*e.g.p,o=0;o<s;o+=4)i=createNS("stop"),r.appendChild(i),a.push(i);t.setAttribute("gf"===e.ty?"fill":"stroke","url("+locationHref+"#"+n+")"),this.gf=r,this.cst=a},SVGGradientFillStyleData.prototype.setGradientOpacity=function(t,e){if(this.g._hasOpacity&&!this.g._collapsable){var n,r,i,o=createNS("mask"),s=createNS("path");o.appendChild(s);var a=createElementID(),l=createElementID();o.setAttribute("id",l);var u=createNS(1===t.t?"linearGradient":"radialGradient");u.setAttribute("id",a),u.setAttribute("spreadMethod","pad"),u.setAttribute("gradientUnits","userSpaceOnUse"),i=t.g.k.k[0].s?t.g.k.k[0].s.length:t.g.k.k.length;var c=this.stops;for(r=4*t.g.p;r<i;r+=2)(n=createNS("stop")).setAttribute("stop-color","rgb(255,255,255)"),u.appendChild(n),c.push(n);s.setAttribute("gf"===t.ty?"fill":"stroke","url("+locationHref+"#"+a+")"),this.of=u,this.ms=o,this.ost=c,this.maskId=l,e.msElem=s}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData),extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);var SVGElementsRenderer=function(){var t=new Matrix,e=new Matrix;function n(t,e,n){(n||e.transform.op._mdf)&&e.transform.container.setAttribute("opacity",e.transform.op.v),(n||e.transform.mProps._mdf)&&e.transform.container.setAttribute("transform",e.transform.mProps.v.to2dCSS())}function r(n,r,i){var o,s,a,l,u,c,h,p,f,d,m,y=r.styles.length,g=r.lvl;for(c=0;c<y;c+=1){if(l=r.sh._mdf||i,r.styles[c].lvl<g){for(p=e.reset(),d=g-r.styles[c].lvl,m=r.transformers.length-1;!l&&d>0;)l=r.transformers[m].mProps._mdf||l,d--,m--;if(l)for(d=g-r.styles[c].lvl,m=r.transformers.length-1;d>0;)p.transform((f=r.transformers[m].mProps.v.props)[0],f[1],f[2],f[3],f[4],f[5],f[6],f[7],f[8],f[9],f[10],f[11],f[12],f[13],f[14],f[15]),d--,m--}else p=t;if(s=(h=r.sh.paths)._length,l){for(a="",o=0;o<s;o+=1)(u=h.shapes[o])&&u._length&&(a+=buildShapeString(u,u._length,u.c,p));r.caches[c]=a}else a=r.caches[c];r.styles[c].d+=!0===n.hd?"":a,r.styles[c]._mdf=l||r.styles[c]._mdf}}function i(t,e,n){var r=e.style;(e.c._mdf||n)&&r.pElem.setAttribute("fill","rgb("+bm_floor(e.c.v[0])+","+bm_floor(e.c.v[1])+","+bm_floor(e.c.v[2])+")"),(e.o._mdf||n)&&r.pElem.setAttribute("fill-opacity",e.o.v)}function o(t,e,n){s(t,e,n),a(0,e,n)}function s(t,e,n){var r,i,o,s,a,l=e.gf,u=e.g._hasOpacity,c=e.s.v,h=e.e.v;if((e.o._mdf||n)&&e.style.pElem.setAttribute("gf"===t.ty?"fill-opacity":"stroke-opacity",e.o.v),e.s._mdf||n){var p=1===t.t?"x1":"cx",f="x1"===p?"y1":"cy";l.setAttribute(p,c[0]),l.setAttribute(f,c[1]),u&&!e.g._collapsable&&(e.of.setAttribute(p,c[0]),e.of.setAttribute(f,c[1]))}if(e.g._cmdf||n){var d=e.g.c;for(o=(r=e.cst).length,i=0;i<o;i+=1)(s=r[i]).setAttribute("offset",d[4*i]+"%"),s.setAttribute("stop-color","rgb("+d[4*i+1]+","+d[4*i+2]+","+d[4*i+3]+")")}if(u&&(e.g._omdf||n)){var m=e.g.o;for(o=(r=e.g._collapsable?e.cst:e.ost).length,i=0;i<o;i+=1)s=r[i],e.g._collapsable||s.setAttribute("offset",m[2*i]+"%"),s.setAttribute("stop-opacity",m[2*i+1])}if(1===t.t)(e.e._mdf||n)&&(l.setAttribute("x2",h[0]),l.setAttribute("y2",h[1]),u&&!e.g._collapsable&&(e.of.setAttribute("x2",h[0]),e.of.setAttribute("y2",h[1])));else if((e.s._mdf||e.e._mdf||n)&&(a=Math.sqrt(Math.pow(c[0]-h[0],2)+Math.pow(c[1]-h[1],2)),l.setAttribute("r",a),u&&!e.g._collapsable&&e.of.setAttribute("r",a)),e.e._mdf||e.h._mdf||e.a._mdf||n){a||(a=Math.sqrt(Math.pow(c[0]-h[0],2)+Math.pow(c[1]-h[1],2)));var y=Math.atan2(h[1]-c[1],h[0]-c[0]),g=a*(e.h.v>=1?.99:e.h.v<=-1?-.99:e.h.v),v=Math.cos(y+e.a.v)*g+c[0],b=Math.sin(y+e.a.v)*g+c[1];l.setAttribute("fx",v),l.setAttribute("fy",b),u&&!e.g._collapsable&&(e.of.setAttribute("fx",v),e.of.setAttribute("fy",b))}}function a(t,e,n){var r=e.style,i=e.d;i&&(i._mdf||n)&&i.dashStr&&(r.pElem.setAttribute("stroke-dasharray",i.dashStr),r.pElem.setAttribute("stroke-dashoffset",i.dashoffset[0])),e.c&&(e.c._mdf||n)&&r.pElem.setAttribute("stroke","rgb("+bm_floor(e.c.v[0])+","+bm_floor(e.c.v[1])+","+bm_floor(e.c.v[2])+")"),(e.o._mdf||n)&&r.pElem.setAttribute("stroke-opacity",e.o.v),(e.w._mdf||n)&&(r.pElem.setAttribute("stroke-width",e.w.v),r.msElem&&r.msElem.setAttribute("stroke-width",e.w.v))}return{createRenderFunction:function(t){switch(t.ty){case"fl":return i;case"gf":return s;case"gs":return o;case"st":return a;case"sh":case"el":case"rc":case"sr":return r;case"tr":return n}}}}();function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}function CVShapeData(t,e,n,r){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var i=4;"rc"==e.ty?i=5:"el"==e.ty?i=6:"sr"==e.ty&&(i=7),this.sh=ShapePropertyFactory.getShapeProp(t,e,i,t);var o,s,a=n.length;for(o=0;o<a;o+=1)n[o].closed||(s={transforms:r.addTransformSequence(n[o].transforms),trNodes:[]},this.styledShapes.push(s),n[o].elements.push(s))}function BaseElement(){}function NullElement(t,e,n){this.initFrame(),this.initBaseData(t,e,n),this.initFrame(),this.initTransform(t,e,n),this.initHierarchy()}function SVGBaseElement(){}function IShapeElement(){}function ITextElement(){}function ICompElement(){}function IImageElement(t,e,n){this.assetData=e.getAssetData(t.refId),this.initElement(t,e,n),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}function ISolidElement(t,e,n){this.initElement(t,e,n)}function SVGCompElement(t,e,n){this.layers=t.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(t,e,n),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function SVGTextElement(t,e,n){this.textSpans=[],this.renderType="svg",this.initElement(t,e,n)}function SVGShapeElement(t,e,n){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(t,e,n),this.prevViewData=[]}function SVGTintFilter(t,e){this.filterManager=e;var n=createNS("feColorMatrix");if(n.setAttribute("type","matrix"),n.setAttribute("color-interpolation-filters","linearRGB"),n.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),n.setAttribute("result","f1"),t.appendChild(n),(n=createNS("feColorMatrix")).setAttribute("type","matrix"),n.setAttribute("color-interpolation-filters","sRGB"),n.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),n.setAttribute("result","f2"),t.appendChild(n),this.matrixFilter=n,100!==e.effectElements[2].p.v||e.effectElements[2].p.k){var r,i=createNS("feMerge");t.appendChild(i),(r=createNS("feMergeNode")).setAttribute("in","SourceGraphic"),i.appendChild(r),(r=createNS("feMergeNode")).setAttribute("in","f2"),i.appendChild(r)}}function SVGFillFilter(t,e){this.filterManager=e;var n=createNS("feColorMatrix");n.setAttribute("type","matrix"),n.setAttribute("color-interpolation-filters","sRGB"),n.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),t.appendChild(n),this.matrixFilter=n}function SVGGaussianBlurEffect(t,e){t.setAttribute("x","-100%"),t.setAttribute("y","-100%"),t.setAttribute("width","300%"),t.setAttribute("height","300%"),this.filterManager=e;var n=createNS("feGaussianBlur");t.appendChild(n),this.feGaussianBlur=n}function SVGStrokeEffect(t,e){this.initialized=!1,this.filterManager=e,this.elem=t,this.paths=[]}function SVGTritoneFilter(t,e){this.filterManager=e;var n=createNS("feColorMatrix");n.setAttribute("type","matrix"),n.setAttribute("color-interpolation-filters","linearRGB"),n.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),n.setAttribute("result","f1"),t.appendChild(n);var r=createNS("feComponentTransfer");r.setAttribute("color-interpolation-filters","sRGB"),t.appendChild(r),this.matrixFilter=r;var i=createNS("feFuncR");i.setAttribute("type","table"),r.appendChild(i),this.feFuncR=i;var o=createNS("feFuncG");o.setAttribute("type","table"),r.appendChild(o),this.feFuncG=o;var s=createNS("feFuncB");s.setAttribute("type","table"),r.appendChild(s),this.feFuncB=s}function SVGProLevelsFilter(t,e){this.filterManager=e;var n=this.filterManager.effectElements,r=createNS("feComponentTransfer");(n[10].p.k||0!==n[10].p.v||n[11].p.k||1!==n[11].p.v||n[12].p.k||1!==n[12].p.v||n[13].p.k||0!==n[13].p.v||n[14].p.k||1!==n[14].p.v)&&(this.feFuncR=this.createFeFunc("feFuncR",r)),(n[17].p.k||0!==n[17].p.v||n[18].p.k||1!==n[18].p.v||n[19].p.k||1!==n[19].p.v||n[20].p.k||0!==n[20].p.v||n[21].p.k||1!==n[21].p.v)&&(this.feFuncG=this.createFeFunc("feFuncG",r)),(n[24].p.k||0!==n[24].p.v||n[25].p.k||1!==n[25].p.v||n[26].p.k||1!==n[26].p.v||n[27].p.k||0!==n[27].p.v||n[28].p.k||1!==n[28].p.v)&&(this.feFuncB=this.createFeFunc("feFuncB",r)),(n[31].p.k||0!==n[31].p.v||n[32].p.k||1!==n[32].p.v||n[33].p.k||1!==n[33].p.v||n[34].p.k||0!==n[34].p.v||n[35].p.k||1!==n[35].p.v)&&(this.feFuncA=this.createFeFunc("feFuncA",r)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(r.setAttribute("color-interpolation-filters","sRGB"),t.appendChild(r),r=createNS("feComponentTransfer")),(n[3].p.k||0!==n[3].p.v||n[4].p.k||1!==n[4].p.v||n[5].p.k||1!==n[5].p.v||n[6].p.k||0!==n[6].p.v||n[7].p.k||1!==n[7].p.v)&&(r.setAttribute("color-interpolation-filters","sRGB"),t.appendChild(r),this.feFuncRComposed=this.createFeFunc("feFuncR",r),this.feFuncGComposed=this.createFeFunc("feFuncG",r),this.feFuncBComposed=this.createFeFunc("feFuncB",r))}function SVGDropShadowEffect(t,e){t.setAttribute("x","-100%"),t.setAttribute("y","-100%"),t.setAttribute("width","400%"),t.setAttribute("height","400%"),this.filterManager=e;var n=createNS("feGaussianBlur");n.setAttribute("in","SourceAlpha"),n.setAttribute("result","drop_shadow_1"),n.setAttribute("stdDeviation","0"),this.feGaussianBlur=n,t.appendChild(n);var r=createNS("feOffset");r.setAttribute("dx","25"),r.setAttribute("dy","0"),r.setAttribute("in","drop_shadow_1"),r.setAttribute("result","drop_shadow_2"),this.feOffset=r,t.appendChild(r);var i=createNS("feFlood");i.setAttribute("flood-color","#00ff00"),i.setAttribute("flood-opacity","1"),i.setAttribute("result","drop_shadow_3"),this.feFlood=i,t.appendChild(i);var o=createNS("feComposite");o.setAttribute("in","drop_shadow_3"),o.setAttribute("in2","drop_shadow_2"),o.setAttribute("operator","in"),o.setAttribute("result","drop_shadow_4"),t.appendChild(o);var s,a=createNS("feMerge");t.appendChild(a),s=createNS("feMergeNode"),a.appendChild(s),(s=createNS("feMergeNode")).setAttribute("in","SourceGraphic"),this.feMergeNode=s,this.feMerge=a,this.originalNodeAdded=!1,a.appendChild(s)}ShapeTransformManager.prototype={addTransformSequence:function(t){var e,n=t.length,r="_";for(e=0;e<n;e+=1)r+=t[e].transform.key+"_";var i=this.sequences[r];return i||(i={transforms:[].concat(t),finalTransform:new Matrix,_mdf:!1},this.sequences[r]=i,this.sequenceList.push(i)),i},processSequence:function(t,e){for(var n,r=0,i=t.transforms.length,o=e;r<i&&!e;){if(t.transforms[r].transform.mProps._mdf){o=!0;break}r+=1}if(o)for(t.finalTransform.reset(),r=i-1;r>=0;r-=1)t.finalTransform.transform((n=t.transforms[r].transform.mProps.v.props)[0],n[1],n[2],n[3],n[4],n[5],n[6],n[7],n[8],n[9],n[10],n[11],n[12],n[13],n[14],n[15]);t._mdf=o},processSequences:function(t){var e,n=this.sequenceList.length;for(e=0;e<n;e+=1)this.processSequence(this.sequenceList[e],t)},getNewKey:function(){return"_"+this.transform_key_count++}},CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated,BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var t=0,e=this.data.masksProperties.length;t<e;){if("n"!==this.data.masksProperties[t].mode&&!1!==this.data.masksProperties[t].cl)return!0;t+=1}return!1},initExpressions:function(){this.layerInterface=LayerExpressionInterface(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var t=EffectsExpressionInterface.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(t),0===this.data.ty||this.data.xt?this.compInterface=CompExpressionInterface(this):4===this.data.ty?(this.layerInterface.shapeInterface=ShapeExpressionInterface(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):5===this.data.ty&&(this.layerInterface.textInterface=TextExpressionInterface(this),this.layerInterface.text=this.layerInterface.textInterface)},setBlendMode:function(){var t=getBlendMode(this.data.bm);(this.baseElement||this.layerElement).style["mix-blend-mode"]=t},initBaseData:function(t,e,n){this.globalData=e,this.comp=n,this.data=t,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}},NullElement.prototype.prepareFrame=function(t){this.prepareProperties(t,!0)},NullElement.prototype.renderFrame=function(){},NullElement.prototype.getBaseElement=function(){return null},NullElement.prototype.destroy=function(){},NullElement.prototype.sourceRectAtTime=function(){},NullElement.prototype.hide=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement],NullElement),SVGBaseElement.prototype={initRendererElement:function(){this.layerElement=createNS("g")},createContainerElements:function(){this.matteElement=createNS("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var t,e,n,r=null;if(this.data.td){if(3==this.data.td||1==this.data.td){var i=createNS("mask");i.setAttribute("id",this.layerId),i.setAttribute("mask-type",3==this.data.td?"luminance":"alpha"),i.appendChild(this.layerElement),r=i,this.globalData.defs.appendChild(i),featureSupport.maskType||1!=this.data.td||(i.setAttribute("mask-type","luminance"),t=createElementID(),e=filtersFactory.createFilter(t),this.globalData.defs.appendChild(e),e.appendChild(filtersFactory.createAlphaToLuminanceFilter()),(n=createNS("g")).appendChild(this.layerElement),r=n,i.appendChild(n),n.setAttribute("filter","url("+locationHref+"#"+t+")"))}else if(2==this.data.td){var o=createNS("mask");o.setAttribute("id",this.layerId),o.setAttribute("mask-type","alpha");var s=createNS("g");o.appendChild(s),t=createElementID(),e=filtersFactory.createFilter(t);var a=createNS("feComponentTransfer");a.setAttribute("in","SourceGraphic"),e.appendChild(a);var l=createNS("feFuncA");l.setAttribute("type","table"),l.setAttribute("tableValues","1.0 0.0"),a.appendChild(l),this.globalData.defs.appendChild(e);var u=createNS("rect");u.setAttribute("width",this.comp.data.w),u.setAttribute("height",this.comp.data.h),u.setAttribute("x","0"),u.setAttribute("y","0"),u.setAttribute("fill","#ffffff"),u.setAttribute("opacity","0"),s.setAttribute("filter","url("+locationHref+"#"+t+")"),s.appendChild(u),s.appendChild(this.layerElement),r=s,featureSupport.maskType||(o.setAttribute("mask-type","luminance"),e.appendChild(filtersFactory.createAlphaToLuminanceFilter()),n=createNS("g"),s.appendChild(u),n.appendChild(this.layerElement),r=n,s.appendChild(n)),this.globalData.defs.appendChild(o)}}else this.data.tt?(this.matteElement.appendChild(this.layerElement),r=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0===this.data.ty&&!this.data.hd){var c=createNS("clipPath"),h=createNS("path");h.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var p=createElementID();if(c.setAttribute("id",p),c.appendChild(h),this.globalData.defs.appendChild(c),this.checkMasks()){var f=createNS("g");f.setAttribute("clip-path","url("+locationHref+"#"+p+")"),f.appendChild(this.layerElement),this.transformedElement=f,r?r.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+locationHref+"#"+p+")")}0!==this.data.bm&&this.setBlendMode()},renderElement:function(){this.finalTransform._matMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.mat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.mProp.o.v)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this)},setMatte:function(t){this.matteElement&&this.matteElement.setAttribute("mask","url("+locationHref+"#"+t+")")}},IShapeElement.prototype={addShapeToModifiers:function(t){var e,n=this.shapeModifiers.length;for(e=0;e<n;e+=1)this.shapeModifiers[e].addShape(t)},isShapeInAnimatedModifiers:function(t){for(var e=this.shapeModifiers.length;0<e;)if(this.shapeModifiers[0].isAnimatedWithShape(t))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var t,e=this.shapes.length;for(t=0;t<e;t+=1)this.shapes[t].sh.reset();for(t=(e=this.shapeModifiers.length)-1;t>=0;t-=1)this.shapeModifiers[t].processShapes(this._isFirstFrame)}},lcEnum:{1:"butt",2:"round",3:"square"},ljEnum:{1:"miter",2:"round",3:"bevel"},searchProcessedElement:function(t){for(var e=this.processedElements,n=0,r=e.length;n<r;){if(e[n].elem===t)return e[n].pos;n+=1}return 0},addProcessedElement:function(t,e){for(var n=this.processedElements,r=n.length;r;)if(n[r-=1].elem===t)return void(n[r].pos=e);n.push(new ProcessedElement(t,e))},prepareFrame:function(t){this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)}},ITextElement.prototype.initElement=function(t,e,n){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(t,e,n),this.textProperty=new TextProperty(this,t.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(t.t,this.renderType,this),this.initTransform(t,e,n),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)},ITextElement.prototype.createPathShape=function(t,e){var n,r,i=e.length,o="";for(n=0;n<i;n+=1)o+=buildShapeString(r=e[n].ks.k,r.i.length,!0,t);return o},ITextElement.prototype.updateDocumentData=function(t,e){this.textProperty.updateDocumentData(t,e)},ITextElement.prototype.canResizeFont=function(t){this.textProperty.canResizeFont(t)},ITextElement.prototype.setMinimumFontSize=function(t){this.textProperty.setMinimumFontSize(t)},ITextElement.prototype.applyTextPropertiesToMatrix=function(t,e,n,r,i){switch(t.ps&&e.translate(t.ps[0],t.ps[1]+t.ascent,0),e.translate(0,-t.ls,0),t.j){case 1:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[n]),0,0);break;case 2:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[n])/2,0,0)}e.translate(r,i,0)},ITextElement.prototype.buildColor=function(t){return"rgb("+Math.round(255*t[0])+","+Math.round(255*t[1])+","+Math.round(255*t[2])+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(t,e,n){this.initFrame(),this.initBaseData(t,e,n),this.initTransform(t,e,n),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),!this.data.xt&&e.progressiveLoad||this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(t){if(this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),this.isInRange||this.data.xt){if(this.tm._placeholder)this.renderedFrame=t/this.data.sr;else{var e=this.tm.v;e===this.data.op&&(e=this.data.op-1),this.renderedFrame=e}var n,r=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),n=r-1;n>=0;n-=1)(this.completeLayers||this.elements[n])&&(this.elements[n].prepareFrame(this.renderedFrame-this.layers[n].st),this.elements[n]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},ICompElement.prototype.setElements=function(t){this.elements=t},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()},extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var t=this.globalData.getAssetsPath(this.assetData);this.innerElem=createNS("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",t),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect},extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var t=createNS("rect");t.setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.layerElement.appendChild(t)},extendPrototype([SVGRenderer,ICompElement,SVGBaseElement],SVGCompElement),extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],SVGTextElement),SVGTextElement.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=createNS("text"))},SVGTextElement.prototype.buildTextContents=function(t){for(var e=0,n=t.length,r=[],i="";e<n;)t[e]===String.fromCharCode(13)||t[e]===String.fromCharCode(3)?(r.push(i),i=""):i+=t[e],e+=1;return r.push(i),r},SVGTextElement.prototype.buildNewText=function(){var t,e,n=this.textProperty.currentData;this.renderedLetters=createSizedArray(n?n.l.length:0),this.layerElement.setAttribute("fill",n.fc?this.buildColor(n.fc):"rgba(0,0,0,0)"),n.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(n.sc)),this.layerElement.setAttribute("stroke-width",n.sw)),this.layerElement.setAttribute("font-size",n.finalSize);var r=this.globalData.fontManager.getFontByName(n.f);if(r.fClass)this.layerElement.setAttribute("class",r.fClass);else{this.layerElement.setAttribute("font-family",r.fFamily);var i=n.fWeight;this.layerElement.setAttribute("font-style",n.fStyle),this.layerElement.setAttribute("font-weight",i)}this.layerElement.setAttribute("aria-label",n.t);var o,s=n.l||[],a=!!this.globalData.fontManager.chars;e=s.length;var l,u=this.mHelper,c="",h=this.data.singleShape,p=0,f=0,d=!0,m=n.tr/1e3*n.finalSize;if(!h||a||n.sz){var y,g,v=this.textSpans.length;for(t=0;t<e;t+=1)a&&h&&0!==t||(o=v>t?this.textSpans[t]:createNS(a?"path":"text"),v<=t&&(o.setAttribute("stroke-linecap","butt"),o.setAttribute("stroke-linejoin","round"),o.setAttribute("stroke-miterlimit","4"),this.textSpans[t]=o,this.layerElement.appendChild(o)),o.style.display="inherit"),u.reset(),u.scale(n.finalSize/100,n.finalSize/100),h&&(s[t].n&&(p=-m,f+=n.yOffset,f+=d?1:0,d=!1),this.applyTextPropertiesToMatrix(n,u,s[t].line,p,f),p+=s[t].l||0,p+=m),a?(l=(y=(g=this.globalData.fontManager.getCharData(n.finalText[t],r.fStyle,this.globalData.fontManager.getFontByName(n.f).fFamily))&&g.data||{}).shapes?y.shapes[0].it:[],h?c+=this.createPathShape(u,l):o.setAttribute("d",this.createPathShape(u,l))):(h&&o.setAttribute("transform","translate("+u.props[12]+","+u.props[13]+")"),o.textContent=s[t].val,o.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"));h&&o&&o.setAttribute("d",c)}else{var b=this.textContainer,_="start";switch(n.j){case 1:_="end";break;case 2:_="middle"}b.setAttribute("text-anchor",_),b.setAttribute("letter-spacing",m);var E=this.buildTextContents(n.finalText);for(e=E.length,f=n.ps?n.ps[1]+n.ascent:0,t=0;t<e;t+=1)(o=this.textSpans[t]||createNS("tspan")).textContent=E[t],o.setAttribute("x",0),o.setAttribute("y",f),o.style.display="inherit",b.appendChild(o),this.textSpans[t]=o,f+=n.finalLineHeight;this.layerElement.appendChild(b)}for(;t<this.textSpans.length;)this.textSpans[t].style.display="none",t+=1;this._sizeChanged=!0},SVGTextElement.prototype.sourceRectAtTime=function(t){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var e=this.layerElement.getBBox();this.bbox={top:e.y,left:e.x,width:e.width,height:e.height}}return this.bbox},SVGTextElement.prototype.renderInnerContent=function(){if(!this.data.singleShape&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){var t,e;this._sizeChanged=!0;var n,r,i=this.textAnimator.renderedLetters,o=this.textProperty.currentData.l;for(e=o.length,t=0;t<e;t+=1)o[t].n||(r=this.textSpans[t],(n=i[t])._mdf.m&&r.setAttribute("transform",n.m),n._mdf.o&&r.setAttribute("opacity",n.o),n._mdf.sw&&r.setAttribute("stroke-width",n.sw),n._mdf.sc&&r.setAttribute("stroke",n.sc),n._mdf.fc&&r.setAttribute("fill",n.fc))}},extendPrototype([BaseElement,TransformElement,SVGBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableDOMElement],SVGShapeElement),SVGShapeElement.prototype.initSecondaryElement=function(){},SVGShapeElement.prototype.identityMatrix=new Matrix,SVGShapeElement.prototype.buildExpressionInterface=function(){},SVGShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},SVGShapeElement.prototype.filterUniqueShapes=function(){var t,e,n,r,i=this.shapes.length,o=this.stylesList.length,s=[],a=!1;for(n=0;n<o;n+=1){for(r=this.stylesList[n],a=!1,s.length=0,t=0;t<i;t+=1)-1!==(e=this.shapes[t]).styles.indexOf(r)&&(s.push(e),a=e._isAnimated||a);s.length>1&&a&&this.setShapesAsAnimated(s)}},SVGShapeElement.prototype.setShapesAsAnimated=function(t){var e,n=t.length;for(e=0;e<n;e+=1)t[e].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(t,e){var n,r=new SVGStyleData(t,e),i=r.pElem;return"st"===t.ty?n=new SVGStrokeStyleData(this,t,r):"fl"===t.ty?n=new SVGFillStyleData(this,t,r):"gf"!==t.ty&&"gs"!==t.ty||(n=new("gf"===t.ty?SVGGradientFillStyleData:SVGGradientStrokeStyleData)(this,t,r),this.globalData.defs.appendChild(n.gf),n.maskId&&(this.globalData.defs.appendChild(n.ms),this.globalData.defs.appendChild(n.of),i.setAttribute("mask","url("+locationHref+"#"+n.maskId+")"))),"st"!==t.ty&&"gs"!==t.ty||(i.setAttribute("stroke-linecap",this.lcEnum[t.lc]||"round"),i.setAttribute("stroke-linejoin",this.ljEnum[t.lj]||"round"),i.setAttribute("fill-opacity","0"),1===t.lj&&i.setAttribute("stroke-miterlimit",t.ml)),2===t.r&&i.setAttribute("fill-rule","evenodd"),t.ln&&i.setAttribute("id",t.ln),t.cl&&i.setAttribute("class",t.cl),t.bm&&(i.style["mix-blend-mode"]=getBlendMode(t.bm)),this.stylesList.push(r),this.addToAnimatedContents(t,n),n},SVGShapeElement.prototype.createGroupElement=function(t){var e=new ShapeGroupData;return t.ln&&e.gr.setAttribute("id",t.ln),t.cl&&e.gr.setAttribute("class",t.cl),t.bm&&(e.gr.style["mix-blend-mode"]=getBlendMode(t.bm)),e},SVGShapeElement.prototype.createTransformElement=function(t,e){var n=TransformPropertyFactory.getTransformProperty(this,t,this),r=new SVGTransformData(n,n.o,e);return this.addToAnimatedContents(t,r),r},SVGShapeElement.prototype.createShapeElement=function(t,e,n){var r=4;"rc"===t.ty?r=5:"el"===t.ty?r=6:"sr"===t.ty&&(r=7);var i=new SVGShapeData(e,n,ShapePropertyFactory.getShapeProp(this,t,r,this));return this.shapes.push(i),this.addShapeToModifiers(i),this.addToAnimatedContents(t,i),i},SVGShapeElement.prototype.addToAnimatedContents=function(t,e){for(var n=0,r=this.animatedContents.length;n<r;){if(this.animatedContents[n].element===e)return;n+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(t),element:e,data:t})},SVGShapeElement.prototype.setElementStyles=function(t){var e,n=t.styles,r=this.stylesList.length;for(e=0;e<r;e+=1)this.stylesList[e].closed||n.push(this.stylesList[e])},SVGShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var t,e=this.itemsData.length;for(t=0;t<e;t+=1)this.prevViewData[t]=this.itemsData[t];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),e=this.dynamicProperties.length,t=0;t<e;t+=1)this.dynamicProperties[t].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(t,e,n,r,i,o,s){var a,l,u,c,h,p=[].concat(o),f=t.length-1,d=[],m=[];for(a=f;a>=0;a-=1){if((h=this.searchProcessedElement(t[a]))?e[a]=n[h-1]:t[a]._render=s,"fl"==t[a].ty||"st"==t[a].ty||"gf"==t[a].ty||"gs"==t[a].ty)h?e[a].style.closed=!1:e[a]=this.createStyleElement(t[a],i),t[a]._render&&r.appendChild(e[a].style.pElem),d.push(e[a].style);else if("gr"==t[a].ty){if(h)for(u=e[a].it.length,l=0;l<u;l+=1)e[a].prevViewData[l]=e[a].it[l];else e[a]=this.createGroupElement(t[a]);this.searchShapes(t[a].it,e[a].it,e[a].prevViewData,e[a].gr,i+1,p,s),t[a]._render&&r.appendChild(e[a].gr)}else"tr"==t[a].ty?(h||(e[a]=this.createTransformElement(t[a],r)),p.push(e[a].transform)):"sh"==t[a].ty||"rc"==t[a].ty||"el"==t[a].ty||"sr"==t[a].ty?(h||(e[a]=this.createShapeElement(t[a],p,i)),this.setElementStyles(e[a])):"tm"==t[a].ty||"rd"==t[a].ty||"ms"==t[a].ty?(h?(c=e[a]).closed=!1:((c=ShapeModifiers.getModifier(t[a].ty)).init(this,t[a]),e[a]=c,this.shapeModifiers.push(c)),m.push(c)):"rp"==t[a].ty&&(h?(c=e[a]).closed=!0:(c=ShapeModifiers.getModifier(t[a].ty),e[a]=c,c.init(this,t,a,e),this.shapeModifiers.push(c),s=!1),m.push(c));this.addProcessedElement(t[a],a+1)}for(f=d.length,a=0;a<f;a+=1)d[a].closed=!0;for(f=m.length,a=0;a<f;a+=1)m[a].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){this.renderModifiers();var t,e=this.stylesList.length;for(t=0;t<e;t+=1)this.stylesList[t].reset();for(this.renderShape(),t=0;t<e;t+=1)(this.stylesList[t]._mdf||this._isFirstFrame)&&(this.stylesList[t].msElem&&(this.stylesList[t].msElem.setAttribute("d",this.stylesList[t].d),this.stylesList[t].d="M0 0"+this.stylesList[t].d),this.stylesList[t].pElem.setAttribute("d",this.stylesList[t].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var t,e,n=this.animatedContents.length;for(t=0;t<n;t+=1)e=this.animatedContents[t],(this._isFirstFrame||e.element._isAnimated)&&!0!==e.data&&e.fn(e.data,e.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null},SVGTintFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[0].p.v,n=this.filterManager.effectElements[1].p.v;this.matrixFilter.setAttribute("values",n[0]-e[0]+" 0 0 0 "+e[0]+" "+(n[1]-e[1])+" 0 0 0 "+e[1]+" "+(n[2]-e[2])+" 0 0 0 "+e[2]+" 0 0 0 "+this.filterManager.effectElements[2].p.v/100+" 0")}},SVGFillFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[2].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+e[0]+" 0 0 0 0 "+e[1]+" 0 0 0 0 "+e[2]+" 0 0 0 "+this.filterManager.effectElements[6].p.v+" 0")}},SVGGaussianBlurEffect.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=.3*this.filterManager.effectElements[0].p.v,n=this.filterManager.effectElements[1].p.v;this.feGaussianBlur.setAttribute("stdDeviation",(3==n?0:e)+" "+(2==n?0:e)),this.feGaussianBlur.setAttribute("edgeMode",1==this.filterManager.effectElements[2].p.v?"wrap":"duplicate")}},SVGStrokeEffect.prototype.initialize=function(){var t,e,n,r,i=this.elem.layerElement.children||this.elem.layerElement.childNodes;for(1===this.filterManager.effectElements[1].p.v?(r=this.elem.maskManager.masksProperties.length,n=0):r=1+(n=this.filterManager.effectElements[0].p.v-1),(e=createNS("g")).setAttribute("fill","none"),e.setAttribute("stroke-linecap","round"),e.setAttribute("stroke-dashoffset",1);n<r;n+=1)t=createNS("path"),e.appendChild(t),this.paths.push({p:t,m:n});if(3===this.filterManager.effectElements[10].p.v){var o=createNS("mask"),s=createElementID();o.setAttribute("id",s),o.setAttribute("mask-type","alpha"),o.appendChild(e),this.elem.globalData.defs.appendChild(o);var a=createNS("g");for(a.setAttribute("mask","url("+locationHref+"#"+s+")");i[0];)a.appendChild(i[0]);this.elem.layerElement.appendChild(a),this.masker=o,e.setAttribute("stroke","#fff")}else if(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v){if(2===this.filterManager.effectElements[10].p.v)for(i=this.elem.layerElement.children||this.elem.layerElement.childNodes;i.length;)this.elem.layerElement.removeChild(i[0]);this.elem.layerElement.appendChild(e),this.elem.layerElement.removeAttribute("mask"),e.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=e},SVGStrokeEffect.prototype.renderFrame=function(t){this.initialized||this.initialize();var e,n,r,i=this.paths.length;for(e=0;e<i;e+=1)if(-1!==this.paths[e].m&&(n=this.elem.maskManager.viewData[this.paths[e].m],r=this.paths[e].p,(t||this.filterManager._mdf||n.prop._mdf)&&r.setAttribute("d",n.lastPath),t||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||n.prop._mdf)){var o;if(0!==this.filterManager.effectElements[7].p.v||100!==this.filterManager.effectElements[8].p.v){var s=Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)/100,a=Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)/100,l=r.getTotalLength();o="0 0 0 "+l*s+" ";var u,c=Math.floor(l*(a-s)/(1+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v/100));for(u=0;u<c;u+=1)o+="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v/100+" ";o+="0 "+10*l+" 0 0"}else o="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v/100;r.setAttribute("stroke-dasharray",o)}if((t||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",2*this.filterManager.effectElements[4].p.v),(t||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("opacity",this.filterManager.effectElements[6].p.v),(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v)&&(t||this.filterManager.effectElements[3].p._mdf)){var h=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bm_floor(255*h[0])+","+bm_floor(255*h[1])+","+bm_floor(255*h[2])+")")}},SVGTritoneFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[0].p.v,n=this.filterManager.effectElements[1].p.v,r=this.filterManager.effectElements[2].p.v,i=r[1]+" "+n[1]+" "+e[1],o=r[2]+" "+n[2]+" "+e[2];this.feFuncR.setAttribute("tableValues",r[0]+" "+n[0]+" "+e[0]),this.feFuncG.setAttribute("tableValues",i),this.feFuncB.setAttribute("tableValues",o)}},SVGProLevelsFilter.prototype.createFeFunc=function(t,e){var n=createNS(t);return n.setAttribute("type","table"),e.appendChild(n),n},SVGProLevelsFilter.prototype.getTableValue=function(t,e,n,r,i){for(var o,s,a=0,l=Math.min(t,e),u=Math.max(t,e),c=Array.call(null,{length:256}),h=0,p=i-r,f=e-t;a<=256;)s=(o=a/256)<=l?f<0?i:r:o>=u?f<0?r:i:r+p*Math.pow((o-t)/f,1/n),c[h++]=s,a+=256/255;return c.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e,n=this.filterManager.effectElements;this.feFuncRComposed&&(t||n[3].p._mdf||n[4].p._mdf||n[5].p._mdf||n[6].p._mdf||n[7].p._mdf)&&(e=this.getTableValue(n[3].p.v,n[4].p.v,n[5].p.v,n[6].p.v,n[7].p.v),this.feFuncRComposed.setAttribute("tableValues",e),this.feFuncGComposed.setAttribute("tableValues",e),this.feFuncBComposed.setAttribute("tableValues",e)),this.feFuncR&&(t||n[10].p._mdf||n[11].p._mdf||n[12].p._mdf||n[13].p._mdf||n[14].p._mdf)&&(e=this.getTableValue(n[10].p.v,n[11].p.v,n[12].p.v,n[13].p.v,n[14].p.v),this.feFuncR.setAttribute("tableValues",e)),this.feFuncG&&(t||n[17].p._mdf||n[18].p._mdf||n[19].p._mdf||n[20].p._mdf||n[21].p._mdf)&&(e=this.getTableValue(n[17].p.v,n[18].p.v,n[19].p.v,n[20].p.v,n[21].p.v),this.feFuncG.setAttribute("tableValues",e)),this.feFuncB&&(t||n[24].p._mdf||n[25].p._mdf||n[26].p._mdf||n[27].p._mdf||n[28].p._mdf)&&(e=this.getTableValue(n[24].p.v,n[25].p.v,n[26].p.v,n[27].p.v,n[28].p.v),this.feFuncB.setAttribute("tableValues",e)),this.feFuncA&&(t||n[31].p._mdf||n[32].p._mdf||n[33].p._mdf||n[34].p._mdf||n[35].p._mdf)&&(e=this.getTableValue(n[31].p.v,n[32].p.v,n[33].p.v,n[34].p.v,n[35].p.v),this.feFuncA.setAttribute("tableValues",e))}},SVGDropShadowEffect.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){if((t||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),t||this.filterManager.effectElements[0].p._mdf){var e=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(255*e[0]),Math.round(255*e[1]),Math.round(255*e[2])))}if((t||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),t||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var n=this.filterManager.effectElements[3].p.v,r=(this.filterManager.effectElements[2].p.v-90)*degToRads,i=n*Math.cos(r),o=n*Math.sin(r);this.feOffset.setAttribute("dx",i),this.feOffset.setAttribute("dy",o)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(t,e,n){this.initialized=!1,this.filterManager=e,this.filterElem=t,this.elem=n,n.matteElement=createNS("g"),n.matteElement.appendChild(n.layerElement),n.matteElement.appendChild(n.transformedElement),n.baseElement=n.matteElement}function SVGEffects(t){var e,n,r=t.data.ef?t.data.ef.length:0,i=createElementID(),o=filtersFactory.createFilter(i),s=0;for(this.filters=[],e=0;e<r;e+=1)n=null,20===t.data.ef[e].ty?(s+=1,n=new SVGTintFilter(o,t.effectsManager.effectElements[e])):21===t.data.ef[e].ty?(s+=1,n=new SVGFillFilter(o,t.effectsManager.effectElements[e])):22===t.data.ef[e].ty?n=new SVGStrokeEffect(t,t.effectsManager.effectElements[e]):23===t.data.ef[e].ty?(s+=1,n=new SVGTritoneFilter(o,t.effectsManager.effectElements[e])):24===t.data.ef[e].ty?(s+=1,n=new SVGProLevelsFilter(o,t.effectsManager.effectElements[e])):25===t.data.ef[e].ty?(s+=1,n=new SVGDropShadowEffect(o,t.effectsManager.effectElements[e])):28===t.data.ef[e].ty?n=new SVGMatte3Effect(o,t.effectsManager.effectElements[e],t):29===t.data.ef[e].ty&&(s+=1,n=new SVGGaussianBlurEffect(o,t.effectsManager.effectElements[e])),n&&this.filters.push(n);s&&(t.globalData.defs.appendChild(o),t.layerElement.setAttribute("filter","url("+locationHref+"#"+i+")")),this.filters.length&&t.addRenderableComponent(this)}function CVContextData(){var t;for(this.saved=[],this.cArrPos=0,this.cTr=new Matrix,this.cO=1,this.savedOp=createTypedArray("float32",15),t=0;t<15;t+=1)this.saved[t]=createTypedArray("float32",16);this._length=15}function CVBaseElement(){}function CVImageElement(t,e,n){this.assetData=e.getAssetData(t.refId),this.img=e.imageLoader.getImage(this.assetData),this.initElement(t,e,n)}function CVCompElement(t,e,n){this.completeLayers=!1,this.layers=t.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(t,e,n),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function CVMaskElement(t,e){this.data=t,this.element=e,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var n,r=this.masksProperties.length,i=!1;for(n=0;n<r;n++)"n"!==this.masksProperties[n].mode&&(i=!0),this.viewData[n]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[n],3);this.hasMasks=i,i&&this.element.addRenderableComponent(this)}function CVShapeElement(t,e,n){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(t,e,n)}function CVSolidElement(t,e,n){this.initElement(t,e,n)}function CVTextElement(t,e,n){this.textSpans=[],this.yOffset=0,this.fillColorAnim=!1,this.strokeColorAnim=!1,this.strokeWidthAnim=!1,this.stroke=!1,this.fill=!1,this.justifyOffset=0,this.currentRender=null,this.renderType="canvas",this.values={fill:"rgba(0,0,0,0)",stroke:"rgba(0,0,0,0)",sWidth:0,fValue:""},this.initElement(t,e,n)}function CVEffects(){}function HBaseElement(t,e,n){}function HSolidElement(t,e,n){this.initElement(t,e,n)}function HCompElement(t,e,n){this.layers=t.layers,this.supports3d=!t.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(t,e,n),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function HShapeElement(t,e,n){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(t,e,n),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}function HTextElement(t,e,n){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(t,e,n)}function HImageElement(t,e,n){this.assetData=e.getAssetData(t.refId),this.initElement(t,e,n)}function HCameraElement(t,e,n){this.initFrame(),this.initBaseData(t,e,n),this.initHierarchy();var r=PropertyFactory.getProp;if(this.pe=r(this,t.pe,0,0,this),t.ks.p.s?(this.px=r(this,t.ks.p.x,1,0,this),this.py=r(this,t.ks.p.y,1,0,this),this.pz=r(this,t.ks.p.z,1,0,this)):this.p=r(this,t.ks.p,1,0,this),t.ks.a&&(this.a=r(this,t.ks.a,1,0,this)),t.ks.or.k.length&&t.ks.or.k[0].to){var i,o=t.ks.or.k.length;for(i=0;i<o;i+=1)t.ks.or.k[i].to=null,t.ks.or.k[i].ti=null}this.or=r(this,t.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=r(this,t.ks.rx,0,degToRads,this),this.ry=r(this,t.ks.ry,0,degToRads,this),this.rz=r(this,t.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=new Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}function HEffects(){}SVGMatte3Effect.prototype.findSymbol=function(t){for(var e=0,n=_svgMatteSymbols.length;e<n;){if(_svgMatteSymbols[e]===t)return _svgMatteSymbols[e];e+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(t,e){var n=t.layerElement.parentNode;if(n){for(var r,i=n.children,o=0,s=i.length;o<s&&i[o]!==t.layerElement;)o+=1;o<=s-2&&(r=i[o+1]);var a=createNS("use");a.setAttribute("href","#"+e),r?n.insertBefore(a,r):n.appendChild(a)}},SVGMatte3Effect.prototype.setElementAsMask=function(t,e){if(!this.findSymbol(e)){var n=createElementID(),r=createNS("mask");r.setAttribute("id",e.layerId),r.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(e);var i=t.globalData.defs;i.appendChild(r);var o=createNS("symbol");o.setAttribute("id",n),this.replaceInParent(e,n),o.appendChild(e.layerElement),i.appendChild(o);var s=createNS("use");s.setAttribute("href","#"+n),r.appendChild(s),e.data.hd=!1,e.show()}t.setMatte(e.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var t=this.filterManager.effectElements[0].p.v,e=this.elem.comp.elements,n=0,r=e.length;n<r;)e[n]&&e[n].data.ind===t&&this.setElementAsMask(this.elem,e[n]),n+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()},SVGEffects.prototype.renderFrame=function(t){var e,n=this.filters.length;for(e=0;e<n;e+=1)this.filters[e].renderFrame(t)},CVContextData.prototype.duplicate=function(){var t=2*this._length,e=this.savedOp;this.savedOp=createTypedArray("float32",t),this.savedOp.set(e);var n=0;for(n=this._length;n<t;n+=1)this.saved[n]=createTypedArray("float32",16);this._length=t},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.cO=1},CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){this.canvasContext=this.globalData.canvasContext,this.renderableEffectsManager=new CVEffects(this)},createContent:function(){},setBlendMode:function(){var t=this.globalData;if(t.blendMode!==this.data.bm){t.blendMode=this.data.bm;var e=getBlendMode(this.data.bm);t.canvasContext.globalCompositeOperation=e}},createRenderableComponents:function(){this.maskManager=new CVMaskElement(this.data,this)},hideElement:function(){this.hidden||this.isInRange&&!this.isTransparent||(this.hidden=!0)},showElement:function(){this.isInRange&&!this.isTransparent&&(this.hidden=!1,this._isFirstFrame=!0,this.maskManager._isFirstFrame=!0)},renderFrame:function(){if(!this.hidden&&!this.data.hd){this.renderTransform(),this.renderRenderable(),this.setBlendMode();var t=0===this.data.ty;this.globalData.renderer.save(t),this.globalData.renderer.ctxTransform(this.finalTransform.mat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.mProp.o.v),this.renderInnerContent(),this.globalData.renderer.restore(t),this.maskManager.hasMasks&&this.globalData.renderer.restore(!0),this._isFirstFrame&&(this._isFirstFrame=!1)}},destroy:function(){this.canvasContext=null,this.data=null,this.globalData=null,this.maskManager.destroy()},mHelper:new Matrix},CVBaseElement.prototype.hide=CVBaseElement.prototype.hideElement,CVBaseElement.prototype.show=CVBaseElement.prototype.showElement,extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVImageElement),CVImageElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVImageElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVImageElement.prototype.createContent=function(){if(this.img.width&&(this.assetData.w!==this.img.width||this.assetData.h!==this.img.height)){var t=createTag("canvas");t.width=this.assetData.w,t.height=this.assetData.h;var e,n,r=t.getContext("2d"),i=this.img.width,o=this.img.height,s=i/o,a=this.assetData.w/this.assetData.h,l=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;s>a&&"xMidYMid slice"===l||s<a&&"xMidYMid slice"!==l?e=(n=o)*a:n=(e=i)/a,r.drawImage(this.img,(i-e)/2,(o-n)/2,e,n,0,0,this.assetData.w,this.assetData.h),this.img=t}},CVImageElement.prototype.renderInnerContent=function(t){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null},extendPrototype([CanvasRenderer,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var t,e=this.canvasContext;for(e.beginPath(),e.moveTo(0,0),e.lineTo(this.data.w,0),e.lineTo(this.data.w,this.data.h),e.lineTo(0,this.data.h),e.lineTo(0,0),e.clip(),t=this.layers.length-1;t>=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},CVCompElement.prototype.destroy=function(){var t;for(t=this.layers.length-1;t>=0;t-=1)this.elements[t]&&this.elements[t].destroy();this.layers=null,this.elements=null},CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var t,e,n,r,i=this.element.finalTransform.mat,o=this.element.canvasContext,s=this.masksProperties.length;for(o.beginPath(),t=0;t<s;t++)if("n"!==this.masksProperties[t].mode){this.masksProperties[t].inv&&(o.moveTo(0,0),o.lineTo(this.element.globalData.compSize.w,0),o.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),o.lineTo(0,this.element.globalData.compSize.h),o.lineTo(0,0)),e=i.applyToPointArray((r=this.viewData[t].v).v[0][0],r.v[0][1],0),o.moveTo(e[0],e[1]);var a,l=r._length;for(a=1;a<l;a++)n=i.applyToTriplePoints(r.o[a-1],r.i[a],r.v[a]),o.bezierCurveTo(n[0],n[1],n[2],n[3],n[4],n[5]);n=i.applyToTriplePoints(r.o[a-1],r.i[0],r.v[0]),o.bezierCurveTo(n[0],n[1],n[2],n[3],n[4],n[5])}this.element.globalData.renderer.save(!0),o.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null},extendPrototype([BaseElement,TransformElement,CVBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableElement],CVShapeElement),CVShapeElement.prototype.initElement=RenderableDOMElement.prototype.initElement,CVShapeElement.prototype.transformHelper={opacity:1,_opMdf:!1},CVShapeElement.prototype.dashResetter=[],CVShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[])},CVShapeElement.prototype.createStyleElement=function(t,e){var n={data:t,type:t.ty,preTransforms:this.transformsManager.addTransformSequence(e),transforms:[],elements:[],closed:!0===t.hd},r={};if("fl"==t.ty||"st"==t.ty?(r.c=PropertyFactory.getProp(this,t.c,1,255,this),r.c.k||(n.co="rgb("+bm_floor(r.c.v[0])+","+bm_floor(r.c.v[1])+","+bm_floor(r.c.v[2])+")")):"gf"!==t.ty&&"gs"!==t.ty||(r.s=PropertyFactory.getProp(this,t.s,1,null,this),r.e=PropertyFactory.getProp(this,t.e,1,null,this),r.h=PropertyFactory.getProp(this,t.h||{k:0},0,.01,this),r.a=PropertyFactory.getProp(this,t.a||{k:0},0,degToRads,this),r.g=new GradientProperty(this,t.g,this)),r.o=PropertyFactory.getProp(this,t.o,0,.01,this),"st"==t.ty||"gs"==t.ty){if(n.lc=this.lcEnum[t.lc]||"round",n.lj=this.ljEnum[t.lj]||"round",1==t.lj&&(n.ml=t.ml),r.w=PropertyFactory.getProp(this,t.w,0,null,this),r.w.k||(n.wi=r.w.v),t.d){var i=new DashProperty(this,t.d,"canvas",this);r.d=i,r.d.k||(n.da=r.d.dashArray,n.do=r.d.dashoffset[0])}}else n.r=2===t.r?"evenodd":"nonzero";return this.stylesList.push(n),r.style=n,r},CVShapeElement.prototype.createGroupElement=function(t){return{it:[],prevViewData:[]}},CVShapeElement.prototype.createTransformElement=function(t){return{transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,t.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,t,this)}}},CVShapeElement.prototype.createShapeElement=function(t){var e=new CVShapeData(this,t,this.stylesList,this.transformsManager);return this.shapes.push(e),this.addShapeToModifiers(e),e},CVShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var t,e=this.itemsData.length;for(t=0;t<e;t+=1)this.prevViewData[t]=this.itemsData[t];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),e=this.dynamicProperties.length,t=0;t<e;t+=1)this.dynamicProperties[t].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(t){var e,n=this.stylesList.length;for(e=0;e<n;e+=1)this.stylesList[e].closed||this.stylesList[e].transforms.push(t)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var t,e=this.stylesList.length;for(t=0;t<e;t+=1)this.stylesList[t].closed||this.stylesList[t].transforms.pop()},CVShapeElement.prototype.closeStyles=function(t){var e,n=t.length;for(e=0;e<n;e+=1)t[e].closed=!0},CVShapeElement.prototype.searchShapes=function(t,e,n,r,i){var o,s,a,l,u,c,h=t.length-1,p=[],f=[],d=[].concat(i);for(o=h;o>=0;o-=1){if((l=this.searchProcessedElement(t[o]))?e[o]=n[l-1]:t[o]._shouldRender=r,"fl"==t[o].ty||"st"==t[o].ty||"gf"==t[o].ty||"gs"==t[o].ty)l?e[o].style.closed=!1:e[o]=this.createStyleElement(t[o],d),p.push(e[o].style);else if("gr"==t[o].ty){if(l)for(a=e[o].it.length,s=0;s<a;s+=1)e[o].prevViewData[s]=e[o].it[s];else e[o]=this.createGroupElement(t[o]);this.searchShapes(t[o].it,e[o].it,e[o].prevViewData,r,d)}else"tr"==t[o].ty?(l||(c=this.createTransformElement(t[o]),e[o]=c),d.push(e[o]),this.addTransformToStyleList(e[o])):"sh"==t[o].ty||"rc"==t[o].ty||"el"==t[o].ty||"sr"==t[o].ty?l||(e[o]=this.createShapeElement(t[o])):"tm"==t[o].ty||"rd"==t[o].ty?(l?(u=e[o]).closed=!1:((u=ShapeModifiers.getModifier(t[o].ty)).init(this,t[o]),e[o]=u,this.shapeModifiers.push(u)),f.push(u)):"rp"==t[o].ty&&(l?(u=e[o]).closed=!0:(u=ShapeModifiers.getModifier(t[o].ty),e[o]=u,u.init(this,t,o,e),this.shapeModifiers.push(u),r=!1),f.push(u));this.addProcessedElement(t[o],o+1)}for(this.removeTransformFromStyleList(),this.closeStyles(p),h=f.length,o=0;o<h;o+=1)f[o].closed=!0},CVShapeElement.prototype.renderInnerContent=function(){this.transformHelper.opacity=1,this.transformHelper._opMdf=!1,this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame),this.renderShape(this.transformHelper,this.shapesData,this.itemsData,!0)},CVShapeElement.prototype.renderShapeTransform=function(t,e){(t._opMdf||e.op._mdf||this._isFirstFrame)&&(e.opacity=t.opacity,e.opacity*=e.op.v,e._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var t,e,n,r,i,o,s,a,l,u=this.stylesList.length,c=this.globalData.renderer,h=this.globalData.canvasContext;for(t=0;t<u;t+=1)if(("st"!==(a=(l=this.stylesList[t]).type)&&"gs"!==a||0!==l.wi)&&l.data._shouldRender&&0!==l.coOp&&0!==this.globalData.currentGlobalAlpha){for(c.save(),o=l.elements,"st"===a||"gs"===a?(h.strokeStyle="st"===a?l.co:l.grd,h.lineWidth=l.wi,h.lineCap=l.lc,h.lineJoin=l.lj,h.miterLimit=l.ml||0):h.fillStyle="fl"===a?l.co:l.grd,c.ctxOpacity(l.coOp),"st"!==a&&"gs"!==a&&h.beginPath(),c.ctxTransform(l.preTransforms.finalTransform.props),n=o.length,e=0;e<n;e+=1){for("st"!==a&&"gs"!==a||(h.beginPath(),l.da&&(h.setLineDash(l.da),h.lineDashOffset=l.do)),i=(s=o[e].trNodes).length,r=0;r<i;r+=1)"m"==s[r].t?h.moveTo(s[r].p[0],s[r].p[1]):"c"==s[r].t?h.bezierCurveTo(s[r].pts[0],s[r].pts[1],s[r].pts[2],s[r].pts[3],s[r].pts[4],s[r].pts[5]):h.closePath();"st"!==a&&"gs"!==a||(h.stroke(),l.da&&h.setLineDash(this.dashResetter))}"st"!==a&&"gs"!==a&&h.fill(l.r),c.restore()}},CVShapeElement.prototype.renderShape=function(t,e,n,r){var i,o;for(o=t,i=e.length-1;i>=0;i-=1)"tr"==e[i].ty?this.renderShapeTransform(t,o=n[i].transform):"sh"==e[i].ty||"el"==e[i].ty||"rc"==e[i].ty||"sr"==e[i].ty?this.renderPath(e[i],n[i]):"fl"==e[i].ty?this.renderFill(e[i],n[i],o):"st"==e[i].ty?this.renderStroke(e[i],n[i],o):"gf"==e[i].ty||"gs"==e[i].ty?this.renderGradientFill(e[i],n[i],o):"gr"==e[i].ty&&this.renderShape(o,e[i].it,n[i].it);r&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(t,e){if(this._isFirstFrame||e._mdf||t.transforms._mdf){var n,r,i,o=t.trNodes,s=e.paths,a=s._length;o.length=0;var l=t.transforms.finalTransform;for(i=0;i<a;i+=1){var u=s.shapes[i];if(u&&u.v){for(r=u._length,n=1;n<r;n+=1)1===n&&o.push({t:"m",p:l.applyToPointArray(u.v[0][0],u.v[0][1],0)}),o.push({t:"c",pts:l.applyToTriplePoints(u.o[n-1],u.i[n],u.v[n])});1===r&&o.push({t:"m",p:l.applyToPointArray(u.v[0][0],u.v[0][1],0)}),u.c&&r&&(o.push({t:"c",pts:l.applyToTriplePoints(u.o[n-1],u.i[0],u.v[0])}),o.push({t:"z"}))}}t.trNodes=o}},CVShapeElement.prototype.renderPath=function(t,e){if(!0!==t.hd&&t._shouldRender){var n,r=e.styledShapes.length;for(n=0;n<r;n+=1)this.renderStyledShape(e.styledShapes[n],e.sh)}},CVShapeElement.prototype.renderFill=function(t,e,n){var r=e.style;(e.c._mdf||this._isFirstFrame)&&(r.co="rgb("+bm_floor(e.c.v[0])+","+bm_floor(e.c.v[1])+","+bm_floor(e.c.v[2])+")"),(e.o._mdf||n._opMdf||this._isFirstFrame)&&(r.coOp=e.o.v*n.opacity)},CVShapeElement.prototype.renderGradientFill=function(t,e,n){var r=e.style;if(!r.grd||e.g._mdf||e.s._mdf||e.e._mdf||1!==t.t&&(e.h._mdf||e.a._mdf)){var i=this.globalData.canvasContext,o=e.s.v,s=e.e.v;if(1===t.t)p=i.createLinearGradient(o[0],o[1],s[0],s[1]);else var a=Math.sqrt(Math.pow(o[0]-s[0],2)+Math.pow(o[1]-s[1],2)),l=Math.atan2(s[1]-o[1],s[0]-o[0]),u=a*(e.h.v>=1?.99:e.h.v<=-1?-.99:e.h.v),c=Math.cos(l+e.a.v)*u+o[0],h=Math.sin(l+e.a.v)*u+o[1],p=i.createRadialGradient(c,h,0,o[0],o[1],a);var f,d=t.g.p,m=e.g.c,y=1;for(f=0;f<d;f+=1)e.g._hasOpacity&&e.g._collapsable&&(y=e.g.o[2*f+1]),p.addColorStop(m[4*f]/100,"rgba("+m[4*f+1]+","+m[4*f+2]+","+m[4*f+3]+","+y+")");r.grd=p}r.coOp=e.o.v*n.opacity},CVShapeElement.prototype.renderStroke=function(t,e,n){var r=e.style,i=e.d;i&&(i._mdf||this._isFirstFrame)&&(r.da=i.dashArray,r.do=i.dashoffset[0]),(e.c._mdf||this._isFirstFrame)&&(r.co="rgb("+bm_floor(e.c.v[0])+","+bm_floor(e.c.v[1])+","+bm_floor(e.c.v[2])+")"),(e.o._mdf||n._opMdf||this._isFirstFrame)&&(r.coOp=e.o.v*n.opacity),(e.w._mdf||this._isFirstFrame)&&(r.wi=e.w.v)},CVShapeElement.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVSolidElement),CVSolidElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVSolidElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVSolidElement.prototype.renderInnerContent=function(){var t=this.canvasContext;t.fillStyle=this.data.sc,t.fillRect(0,0,this.data.sw,this.data.sh)},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement,ITextElement],CVTextElement),CVTextElement.prototype.tHelper=createTag("canvas").getContext("2d"),CVTextElement.prototype.buildNewText=function(){var t=this.textProperty.currentData;this.renderedLetters=createSizedArray(t.l?t.l.length:0);var e=!1;t.fc?(e=!0,this.values.fill=this.buildColor(t.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=e;var n=!1;t.sc&&(n=!0,this.values.stroke=this.buildColor(t.sc),this.values.sWidth=t.sw);var r,i,o=this.globalData.fontManager.getFontByName(t.f),s=t.l,a=this.mHelper;this.stroke=n,this.values.fValue=t.finalSize+"px "+this.globalData.fontManager.getFontByName(t.f).fFamily,i=t.finalText.length;var l,u,c,h,p,f,d,m,y,g,v=this.data.singleShape,b=t.tr/1e3*t.finalSize,_=0,E=0,w=!0,x=0;for(r=0;r<i;r+=1){for(u=(l=this.globalData.fontManager.getCharData(t.finalText[r],o.fStyle,this.globalData.fontManager.getFontByName(t.f).fFamily))&&l.data||{},a.reset(),v&&s[r].n&&(_=-b,E+=t.yOffset,E+=w?1:0,w=!1),d=(p=u.shapes?u.shapes[0].it:[]).length,a.scale(t.finalSize/100,t.finalSize/100),v&&this.applyTextPropertiesToMatrix(t,a,s[r].line,_,E),y=createSizedArray(d),f=0;f<d;f+=1){for(h=p[f].ks.k.i.length,m=p[f].ks.k,g=[],c=1;c<h;c+=1)1==c&&g.push(a.applyToX(m.v[0][0],m.v[0][1],0),a.applyToY(m.v[0][0],m.v[0][1],0)),g.push(a.applyToX(m.o[c-1][0],m.o[c-1][1],0),a.applyToY(m.o[c-1][0],m.o[c-1][1],0),a.applyToX(m.i[c][0],m.i[c][1],0),a.applyToY(m.i[c][0],m.i[c][1],0),a.applyToX(m.v[c][0],m.v[c][1],0),a.applyToY(m.v[c][0],m.v[c][1],0));g.push(a.applyToX(m.o[c-1][0],m.o[c-1][1],0),a.applyToY(m.o[c-1][0],m.o[c-1][1],0),a.applyToX(m.i[0][0],m.i[0][1],0),a.applyToY(m.i[0][0],m.i[0][1],0),a.applyToX(m.v[0][0],m.v[0][1],0),a.applyToY(m.v[0][0],m.v[0][1],0)),y[f]=g}v&&(_+=s[r].l,_+=b),this.textSpans[x]?this.textSpans[x].elem=y:this.textSpans[x]={elem:y},x+=1}},CVTextElement.prototype.renderInnerContent=function(){var t,e,n,r,i,o,s=this.canvasContext;s.font=this.values.fValue,s.lineCap="butt",s.lineJoin="miter",s.miterLimit=4,this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var a,l=this.textAnimator.renderedLetters,u=this.textProperty.currentData.l;e=u.length;var c,h,p=null,f=null,d=null;for(t=0;t<e;t+=1)if(!u[t].n){if((a=l[t])&&(this.globalData.renderer.save(),this.globalData.renderer.ctxTransform(a.p),this.globalData.renderer.ctxOpacity(a.o)),this.fill){for(a&&a.fc?p!==a.fc&&(p=a.fc,s.fillStyle=a.fc):p!==this.values.fill&&(p=this.values.fill,s.fillStyle=this.values.fill),r=(c=this.textSpans[t].elem).length,this.globalData.canvasContext.beginPath(),n=0;n<r;n+=1)for(o=(h=c[n]).length,this.globalData.canvasContext.moveTo(h[0],h[1]),i=2;i<o;i+=6)this.globalData.canvasContext.bezierCurveTo(h[i],h[i+1],h[i+2],h[i+3],h[i+4],h[i+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.fill()}if(this.stroke){for(a&&a.sw?d!==a.sw&&(d=a.sw,s.lineWidth=a.sw):d!==this.values.sWidth&&(d=this.values.sWidth,s.lineWidth=this.values.sWidth),a&&a.sc?f!==a.sc&&(f=a.sc,s.strokeStyle=a.sc):f!==this.values.stroke&&(f=this.values.stroke,s.strokeStyle=this.values.stroke),r=(c=this.textSpans[t].elem).length,this.globalData.canvasContext.beginPath(),n=0;n<r;n+=1)for(o=(h=c[n]).length,this.globalData.canvasContext.moveTo(h[0],h[1]),i=2;i<o;i+=6)this.globalData.canvasContext.bezierCurveTo(h[i],h[i+1],h[i+2],h[i+3],h[i+4],h[i+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.stroke()}a&&this.globalData.renderer.restore()}},CVEffects.prototype.renderFrame=function(){},HBaseElement.prototype={checkBlendMode:function(){},initRendererElement:function(){this.baseElement=createTag(this.data.tg||"div"),this.data.hasMask?(this.svgElement=createNS("svg"),this.layerElement=createNS("g"),this.maskedElement=this.layerElement,this.svgElement.appendChild(this.layerElement),this.baseElement.appendChild(this.svgElement)):this.layerElement=this.baseElement,styleDiv(this.baseElement)},createContainerElements:function(){this.renderableEffectsManager=new CVEffects(this),this.transformedElement=this.baseElement,this.maskedElement=this.layerElement,this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0!==this.data.bm&&this.setBlendMode()},renderElement:function(){this.finalTransform._matMdf&&(this.transformedElement.style.transform=this.transformedElement.style.webkitTransform=this.finalTransform.mat.toCSS()),this.finalTransform._opMdf&&(this.transformedElement.style.opacity=this.finalTransform.mProp.o.v)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},HBaseElement.prototype.getBaseElement=SVGBaseElement.prototype.getBaseElement,HBaseElement.prototype.destroyBaseElement=HBaseElement.prototype.destroy,HBaseElement.prototype.buildElementParenting=HybridRenderer.prototype.buildElementParenting,extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var t;this.data.hasMask?((t=createNS("rect")).setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):((t=createTag("div")).style.width=this.data.sw+"px",t.style.height=this.data.sh+"px",t.style.backgroundColor=this.data.sc),this.layerElement.appendChild(t)},extendPrototype([HybridRenderer,ICompElement,HBaseElement],HCompElement),HCompElement.prototype._createBaseContainerElements=HCompElement.prototype.createContainerElements,HCompElement.prototype.createContainerElements=function(){this._createBaseContainerElements(),this.data.hasMask?(this.svgElement.setAttribute("width",this.data.w),this.svgElement.setAttribute("height",this.data.h),this.transformedElement=this.baseElement):this.transformedElement=this.layerElement},HCompElement.prototype.addTo3dContainer=function(t,e){for(var n,r=0;r<e;)this.elements[r]&&this.elements[r].getBaseElement&&(n=this.elements[r].getBaseElement()),r+=1;n?this.layerElement.insertBefore(t,n):this.layerElement.appendChild(t)},extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var t;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),t=this.svgElement;else{t=createNS("svg");var e=this.comp.data?this.comp.data:this.globalData.compSize;t.setAttribute("width",e.w),t.setAttribute("height",e.h),t.appendChild(this.shapesContainer),this.layerElement.appendChild(t)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=t},HShapeElement.prototype.getTransformedPoint=function(t,e){var n,r=t.length;for(n=0;n<r;n+=1)e=t[n].mProps.v.applyToPointArray(e[0],e[1],0);return e},HShapeElement.prototype.calculateShapeBoundingBox=function(t,e){var n,r,i,o,s,a=t.sh.v,l=t.transformers,u=a._length;if(!(u<=1)){for(n=0;n<u-1;n+=1)r=this.getTransformedPoint(l,a.v[n]),i=this.getTransformedPoint(l,a.o[n]),o=this.getTransformedPoint(l,a.i[n+1]),s=this.getTransformedPoint(l,a.v[n+1]),this.checkBounds(r,i,o,s,e);a.c&&(r=this.getTransformedPoint(l,a.v[n]),i=this.getTransformedPoint(l,a.o[n]),o=this.getTransformedPoint(l,a.i[0]),s=this.getTransformedPoint(l,a.v[0]),this.checkBounds(r,i,o,s,e))}},HShapeElement.prototype.checkBounds=function(t,e,n,r,i){this.getBoundsOfCurve(t,e,n,r);var o=this.shapeBoundingBox;i.x=bm_min(o.left,i.x),i.xMax=bm_max(o.right,i.xMax),i.y=bm_min(o.top,i.y),i.yMax=bm_max(o.bottom,i.yMax)},HShapeElement.prototype.shapeBoundingBox={left:0,right:0,top:0,bottom:0},HShapeElement.prototype.tempBoundingBox={x:0,xMax:0,y:0,yMax:0,width:0,height:0},HShapeElement.prototype.getBoundsOfCurve=function(t,e,n,r){for(var i,o,s,a,l,u,c,h=[[t[0],r[0]],[t[1],r[1]]],p=0;p<2;++p)if(o=6*t[p]-12*e[p]+6*n[p],i=-3*t[p]+9*e[p]-9*n[p]+3*r[p],s=3*e[p]-3*t[p],o|=0,s|=0,0!=(i|=0))(l=o*o-4*s*i)<0||(0<(u=(-o+bm_sqrt(l))/(2*i))&&u<1&&h[p].push(this.calculateF(u,t,e,n,r,p)),0<(c=(-o-bm_sqrt(l))/(2*i))&&c<1&&h[p].push(this.calculateF(c,t,e,n,r,p)));else{if(0===o)continue;0<(a=-s/o)&&a<1&&h[p].push(this.calculateF(a,t,e,n,r,p))}this.shapeBoundingBox.left=bm_min.apply(null,h[0]),this.shapeBoundingBox.top=bm_min.apply(null,h[1]),this.shapeBoundingBox.right=bm_max.apply(null,h[0]),this.shapeBoundingBox.bottom=bm_max.apply(null,h[1])},HShapeElement.prototype.calculateF=function(t,e,n,r,i,o){return bm_pow(1-t,3)*e[o]+3*bm_pow(1-t,2)*t*n[o]+3*(1-t)*bm_pow(t,2)*r[o]+bm_pow(t,3)*i[o]},HShapeElement.prototype.calculateBoundingBox=function(t,e){var n,r=t.length;for(n=0;n<r;n+=1)t[n]&&t[n].sh?this.calculateShapeBoundingBox(t[n],e):t[n]&&t[n].it&&this.calculateBoundingBox(t[n].it,e)},HShapeElement.prototype.currentBoxContains=function(t){return this.currentBBox.x<=t.x&&this.currentBBox.y<=t.y&&this.currentBBox.width+this.currentBBox.x>=t.x+t.width&&this.currentBBox.height+this.currentBBox.y>=t.y+t.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var t=this.tempBoundingBox,e=999999;if(t.x=e,t.xMax=-e,t.y=e,t.yMax=-e,this.calculateBoundingBox(this.itemsData,t),t.width=t.xMax<t.x?0:t.xMax-t.x,t.height=t.yMax<t.y?0:t.yMax-t.y,this.currentBoxContains(t))return;var n=!1;this.currentBBox.w!==t.width&&(this.currentBBox.w=t.width,this.shapeCont.setAttribute("width",t.width),n=!0),this.currentBBox.h!==t.height&&(this.currentBBox.h=t.height,this.shapeCont.setAttribute("height",t.height),n=!0),(n||this.currentBBox.x!==t.x||this.currentBBox.y!==t.y)&&(this.currentBBox.w=t.width,this.currentBBox.h=t.height,this.currentBBox.x=t.x,this.currentBBox.y=t.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),this.shapeCont.style.transform=this.shapeCont.style.webkitTransform="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)")}},extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],HTextElement),HTextElement.prototype.createContent=function(){if(this.isMasked=this.checkMasks(),this.isMasked){this.renderType="svg",this.compW=this.comp.data.w,this.compH=this.comp.data.h,this.svgElement.setAttribute("width",this.compW),this.svgElement.setAttribute("height",this.compH);var t=createNS("g");this.maskedElement.appendChild(t),this.innerElem=t}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var t=this.textProperty.currentData;this.renderedLetters=createSizedArray(t.l?t.l.length:0);var e=this.innerElem.style;e.color=e.fill=t.fc?this.buildColor(t.fc):"rgba(0,0,0,0)",t.sc&&(e.stroke=this.buildColor(t.sc),e.strokeWidth=t.sw+"px");var n,r,i=this.globalData.fontManager.getFontByName(t.f);if(!this.globalData.fontManager.chars)if(e.fontSize=t.finalSize+"px",e.lineHeight=t.finalSize+"px",i.fClass)this.innerElem.className=i.fClass;else{e.fontFamily=i.fFamily;var o=t.fWeight;e.fontStyle=t.fStyle,e.fontWeight=o}var s,a,l,u=t.l;r=u.length;var c,h=this.mHelper,p="",f=0;for(n=0;n<r;n+=1){if(this.globalData.fontManager.chars?(this.textPaths[f]?s=this.textPaths[f]:((s=createNS("path")).setAttribute("stroke-linecap","butt"),s.setAttribute("stroke-linejoin","round"),s.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[f]?l=(a=this.textSpans[f]).children[0]:((a=createTag("div")).style.lineHeight=0,(l=createNS("svg")).appendChild(s),styleDiv(a)))):this.isMasked?s=this.textPaths[f]?this.textPaths[f]:createNS("text"):this.textSpans[f]?(a=this.textSpans[f],s=this.textPaths[f]):(styleDiv(a=createTag("span")),styleDiv(s=createTag("span")),a.appendChild(s)),this.globalData.fontManager.chars){var d,m=this.globalData.fontManager.getCharData(t.finalText[n],i.fStyle,this.globalData.fontManager.getFontByName(t.f).fFamily);if(d=m?m.data:null,h.reset(),d&&d.shapes&&(c=d.shapes[0].it,h.scale(t.finalSize/100,t.finalSize/100),p=this.createPathShape(h,c),s.setAttribute("d",p)),this.isMasked)this.innerElem.appendChild(s);else{if(this.innerElem.appendChild(a),d&&d.shapes){document.body.appendChild(l);var y=l.getBBox();l.setAttribute("width",y.width+2),l.setAttribute("height",y.height+2),l.setAttribute("viewBox",y.x-1+" "+(y.y-1)+" "+(y.width+2)+" "+(y.height+2)),l.style.transform=l.style.webkitTransform="translate("+(y.x-1)+"px,"+(y.y-1)+"px)",u[n].yOffset=y.y-1}else l.setAttribute("width",1),l.setAttribute("height",1);a.appendChild(l)}}else s.textContent=u[n].val,s.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked?this.innerElem.appendChild(s):(this.innerElem.appendChild(a),s.style.transform=s.style.webkitTransform="translate3d(0,"+-t.finalSize/1.2+"px,0)");this.textSpans[f]=this.isMasked?s:a,this.textSpans[f].style.display="block",this.textPaths[f]=s,f+=1}for(;f<this.textSpans.length;)this.textSpans[f].style.display="none",f+=1},HTextElement.prototype.renderInnerContent=function(){if(this.data.singleShape){if(!this._isFirstFrame&&!this.lettersChangedFlag)return;this.isMasked&&this.finalTransform._matMdf&&(this.svgElement.setAttribute("viewBox",-this.finalTransform.mProp.p.v[0]+" "+-this.finalTransform.mProp.p.v[1]+" "+this.compW+" "+this.compH),this.svgElement.style.transform=this.svgElement.style.webkitTransform="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)")}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag){var t,e,n,r,i,o=0,s=this.textAnimator.renderedLetters,a=this.textProperty.currentData.l;for(e=a.length,t=0;t<e;t+=1)a[t].n?o+=1:(r=this.textSpans[t],i=this.textPaths[t],n=s[o],o+=1,n._mdf.m&&(this.isMasked?r.setAttribute("transform",n.m):r.style.transform=r.style.webkitTransform=n.m),r.style.opacity=n.o,n.sw&&n._mdf.sw&&i.setAttribute("stroke-width",n.sw),n.sc&&n._mdf.sc&&i.setAttribute("stroke",n.sc),n.fc&&n._mdf.fc&&(i.setAttribute("fill",n.fc),i.style.color=n.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var l=this.innerElem.getBBox();this.currentBBox.w!==l.width&&(this.currentBBox.w=l.width,this.svgElement.setAttribute("width",l.width)),this.currentBBox.h!==l.height&&(this.currentBBox.h=l.height,this.svgElement.setAttribute("height",l.height)),this.currentBBox.w===l.width+2&&this.currentBBox.h===l.height+2&&this.currentBBox.x===l.x-1&&this.currentBBox.y===l.y-1||(this.currentBBox.w=l.width+2,this.currentBBox.h=l.height+2,this.currentBBox.x=l.x-1,this.currentBBox.y=l.y-1,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),this.svgElement.style.transform=this.svgElement.style.webkitTransform="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)")}}},extendPrototype([BaseElement,TransformElement,HBaseElement,HSolidElement,HierarchyElement,FrameElement,RenderableElement],HImageElement),HImageElement.prototype.createContent=function(){var t=this.globalData.getAssetsPath(this.assetData),e=new Image;this.data.hasMask?(this.imageElem=createNS("image"),this.imageElem.setAttribute("width",this.assetData.w+"px"),this.imageElem.setAttribute("height",this.assetData.h+"px"),this.imageElem.setAttributeNS("http://www.w3.org/1999/xlink","href",t),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(e),e.src=t,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)},extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var t,e,n=this.comp.threeDElements.length;for(t=0;t<n;t+=1)"3d"===(e=this.comp.threeDElements[t]).type&&(e.perspectiveElem.style.perspective=e.perspectiveElem.style.webkitPerspective=this.pe.v+"px",e.container.style.transformOrigin=e.container.style.mozTransformOrigin=e.container.style.webkitTransformOrigin="0px 0px 0px",e.perspectiveElem.style.transform=e.perspectiveElem.style.webkitTransform="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)")},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var t,e,n=this._isFirstFrame;if(this.hierarchy)for(e=this.hierarchy.length,t=0;t<e;t+=1)n=this.hierarchy[t].finalTransform.mProp._mdf||n;if(n||this.pe._mdf||this.p&&this.p._mdf||this.px&&(this.px._mdf||this.py._mdf||this.pz._mdf)||this.rx._mdf||this.ry._mdf||this.rz._mdf||this.or._mdf||this.a&&this.a._mdf){if(this.mat.reset(),this.hierarchy)for(t=e=this.hierarchy.length-1;t>=0;t-=1){var r=this.hierarchy[t].finalTransform.mProp;this.mat.translate(-r.p.v[0],-r.p.v[1],r.p.v[2]),this.mat.rotateX(-r.or.v[0]).rotateY(-r.or.v[1]).rotateZ(r.or.v[2]),this.mat.rotateX(-r.rx.v).rotateY(-r.ry.v).rotateZ(r.rz.v),this.mat.scale(1/r.s.v[0],1/r.s.v[1],1/r.s.v[2]),this.mat.translate(r.a.v[0],r.a.v[1],r.a.v[2])}if(this.p?this.mat.translate(-this.p.v[0],-this.p.v[1],this.p.v[2]):this.mat.translate(-this.px.v,-this.py.v,this.pz.v),this.a){var i;i=this.p?[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var o=Math.sqrt(Math.pow(i[0],2)+Math.pow(i[1],2)+Math.pow(i[2],2)),s=[i[0]/o,i[1]/o,i[2]/o],a=Math.sqrt(s[2]*s[2]+s[0]*s[0]),l=Math.atan2(s[1],a),u=Math.atan2(s[0],-s[2]);this.mat.rotateY(u).rotateX(-l)}this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]),this.mat.translate(this.globalData.compSize.w/2,this.globalData.compSize.h/2,0),this.mat.translate(0,0,this.pe.v);var c=!this._prevMat.equals(this.mat);if((c||this.pe._mdf)&&this.comp.threeDElements){var h;for(e=this.comp.threeDElements.length,t=0;t<e;t+=1)"3d"===(h=this.comp.threeDElements[t]).type&&(c&&(h.container.style.transform=h.container.style.webkitTransform=this.mat.toCSS()),this.pe._mdf&&(h.perspectiveElem.style.perspective=h.perspectiveElem.style.webkitPerspective=this.pe.v+"px"));this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(t){this.prepareProperties(t,!0)},HCameraElement.prototype.destroy=function(){},HCameraElement.prototype.getBaseElement=function(){return null},HEffects.prototype.renderFrame=function(){};var animationManager=function(){var t={},e=[],n=0,r=0,i=0,o=!0,s=!1;function a(t){for(var n=0,i=t.target;n<r;)e[n].animation===i&&(e.splice(n,1),n-=1,r-=1,i.isPaused||c()),n+=1}function l(t,n){if(!t)return null;for(var i=0;i<r;){if(e[i].elem==t&&null!==e[i].elem)return e[i].animation;i+=1}var o=new AnimationItem;return h(o,t),o.setData(t,n),o}function u(){i+=1,d()}function c(){i-=1}function h(t,n){t.addEventListener("destroy",a),t.addEventListener("_active",u),t.addEventListener("_idle",c),e.push({elem:n,animation:t}),r+=1}function p(t){var a,l=t-n;for(a=0;a<r;a+=1)e[a].animation.advanceTime(l);n=t,i&&!s?window.requestAnimationFrame(p):o=!0}function f(t){n=t,window.requestAnimationFrame(p)}function d(){!s&&i&&o&&(window.requestAnimationFrame(f),o=!1)}return t.registerAnimation=l,t.loadAnimation=function(t){var e=new AnimationItem;return h(e,null),e.setParams(t),e},t.setSpeed=function(t,n){var i;for(i=0;i<r;i+=1)e[i].animation.setSpeed(t,n)},t.setDirection=function(t,n){var i;for(i=0;i<r;i+=1)e[i].animation.setDirection(t,n)},t.play=function(t){var n;for(n=0;n<r;n+=1)e[n].animation.play(t)},t.pause=function(t){var n;for(n=0;n<r;n+=1)e[n].animation.pause(t)},t.stop=function(t){var n;for(n=0;n<r;n+=1)e[n].animation.stop(t)},t.togglePause=function(t){var n;for(n=0;n<r;n+=1)e[n].animation.togglePause(t)},t.searchAnimations=function(t,e,n){var r,i=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),o=i.length;for(r=0;r<o;r+=1)n&&i[r].setAttribute("data-bm-type",n),l(i[r],t);if(e&&0===o){n||(n="svg");var s=document.getElementsByTagName("body")[0];s.innerHTML="";var a=createTag("div");a.style.width="100%",a.style.height="100%",a.setAttribute("data-bm-type",n),s.appendChild(a),l(a,t)}},t.resize=function(){var t;for(t=0;t<r;t+=1)e[t].animation.resize()},t.goToAndStop=function(t,n,i){var o;for(o=0;o<r;o+=1)e[o].animation.goToAndStop(t,n,i)},t.destroy=function(t){var n;for(n=r-1;n>=0;n-=1)e[n].animation.destroy(t)},t.freeze=function(){s=!0},t.unfreeze=function(){s=!1,d()},t.getRegisteredAnimations=function(){var t,n=e.length,r=[];for(t=0;t<n;t+=1)r.push(e[t].animation);return r},t}(),AnimationItem=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=createElementID(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.subframeEnabled=subframeEnabled,this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ProjectInterface(),this.imagePreloader=new ImagePreloader};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(t){t.context&&(this.context=t.context),(t.wrapper||t.container)&&(this.wrapper=t.wrapper||t.container);var e=t.animType?t.animType:t.renderer?t.renderer:"svg";switch(e){case"canvas":this.renderer=new CanvasRenderer(this,t.rendererSettings);break;case"svg":this.renderer=new SVGRenderer(this,t.rendererSettings);break;default:this.renderer=new HybridRenderer(this,t.rendererSettings)}this.renderer.setProjectInterface(this.projectInterface),this.animType=e,""===t.loop||null===t.loop||(this.loop=!1!==t.loop&&(!0===t.loop||parseInt(t.loop))),this.autoplay=!("autoplay"in t)||t.autoplay,this.name=t.name?t.name:"",this.autoloadSegments=!t.hasOwnProperty("autoloadSegments")||t.autoloadSegments,this.assetsPath=t.assetsPath,t.animationData?this.configAnimation(t.animationData):t.path&&(this.path=-1!==t.path.lastIndexOf("\\")?t.path.substr(0,t.path.lastIndexOf("\\")+1):t.path.substr(0,t.path.lastIndexOf("/")+1),this.fileName=t.path.substr(t.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),assetLoader.load(t.path,this.configAnimation.bind(this),(function(){this.trigger("data_failed")}).bind(this)))},AnimationItem.prototype.setData=function(t,e){var n={wrapper:t,animationData:e?"object"==typeof e?e:JSON.parse(e):null},r=t.attributes;n.path=r.getNamedItem("data-animation-path")?r.getNamedItem("data-animation-path").value:r.getNamedItem("data-bm-path")?r.getNamedItem("data-bm-path").value:r.getNamedItem("bm-path")?r.getNamedItem("bm-path").value:"",n.animType=r.getNamedItem("data-anim-type")?r.getNamedItem("data-anim-type").value:r.getNamedItem("data-bm-type")?r.getNamedItem("data-bm-type").value:r.getNamedItem("bm-type")?r.getNamedItem("bm-type").value:r.getNamedItem("data-bm-renderer")?r.getNamedItem("data-bm-renderer").value:r.getNamedItem("bm-renderer")?r.getNamedItem("bm-renderer").value:"canvas";var i=r.getNamedItem("data-anim-loop")?r.getNamedItem("data-anim-loop").value:r.getNamedItem("data-bm-loop")?r.getNamedItem("data-bm-loop").value:r.getNamedItem("bm-loop")?r.getNamedItem("bm-loop").value:"";""===i||(n.loop="false"!==i&&("true"===i||parseInt(i)));var o=r.getNamedItem("data-anim-autoplay")?r.getNamedItem("data-anim-autoplay").value:r.getNamedItem("data-bm-autoplay")?r.getNamedItem("data-bm-autoplay").value:!r.getNamedItem("bm-autoplay")||r.getNamedItem("bm-autoplay").value;n.autoplay="false"!==o,n.name=r.getNamedItem("data-name")?r.getNamedItem("data-name").value:r.getNamedItem("data-bm-name")?r.getNamedItem("data-bm-name").value:r.getNamedItem("bm-name")?r.getNamedItem("bm-name").value:"","false"===(r.getNamedItem("data-anim-prerender")?r.getNamedItem("data-anim-prerender").value:r.getNamedItem("data-bm-prerender")?r.getNamedItem("data-bm-prerender").value:r.getNamedItem("bm-prerender")?r.getNamedItem("bm-prerender").value:"")&&(n.prerender=!1),this.setParams(n)},AnimationItem.prototype.includeLayers=function(t){t.op>this.animationData.op&&(this.animationData.op=t.op,this.totalFrames=Math.floor(t.op-this.animationData.ip));var e,n,r=this.animationData.layers,i=r.length,o=t.layers,s=o.length;for(n=0;n<s;n+=1)for(e=0;e<i;){if(r[e].id==o[n].id){r[e]=o[n];break}e+=1}if((t.chars||t.fonts)&&(this.renderer.globalData.fontManager.addChars(t.chars),this.renderer.globalData.fontManager.addFonts(t.fonts,this.renderer.globalData.defs)),t.assets)for(i=t.assets.length,e=0;e<i;e+=1)this.animationData.assets.push(t.assets[e]);this.animationData.__complete=!1,dataManager.completeData(this.animationData,this.renderer.globalData.fontManager),this.renderer.includeLayers(t.layers),expressionsPlugin&&expressionsPlugin.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var t=this.animationData.segments;if(!t||0===t.length||!this.autoloadSegments)return this.trigger("data_ready"),void(this.timeCompleted=this.totalFrames);var e=t.shift();this.timeCompleted=e.time*this.frameRate;var n=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,assetLoader.load(n,this.includeLayers.bind(this),(function(){this.trigger("data_failed")}).bind(this))},AnimationItem.prototype.loadSegments=function(){this.animationData.segments||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},AnimationItem.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},AnimationItem.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},AnimationItem.prototype.configAnimation=function(t){if(this.renderer)try{this.animationData=t,this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.renderer.configAnimation(t),t.assets||(t.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.firstFrame=Math.round(this.animationData.ip),this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(t.assets),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded()}catch(e){this.triggerConfigError(e)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.loaded()?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){this.isLoaded||!this.renderer.globalData.fontManager.loaded()||!this.imagePreloader.loaded()&&"canvas"===this.renderer.rendererType||(this.isLoaded=!0,dataManager.completeData(this.animationData,this.renderer.globalData.fontManager),expressionsPlugin&&expressionsPlugin.initExpressions(this),this.renderer.initItems(),setTimeout((function(){this.trigger("DOMLoaded")}).bind(this),0),this.gotoFrame(),this.autoplay&&this.play())},AnimationItem.prototype.resize=function(){this.renderer.updateContainerSize()},AnimationItem.prototype.setSubframe=function(t){this.subframeEnabled=!!t},AnimationItem.prototype.gotoFrame=function(){this.currentFrame=this.subframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame()},AnimationItem.prototype.renderFrame=function(){if(!1!==this.isLoaded)try{this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(t){this.triggerRenderFrameError(t)}},AnimationItem.prototype.play=function(t){t&&this.name!=t||!0===this.isPaused&&(this.isPaused=!1,this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(t){t&&this.name!=t||!1===this.isPaused&&(this.isPaused=!0,this._idle=!0,this.trigger("_idle"))},AnimationItem.prototype.togglePause=function(t){t&&this.name!=t||(!0===this.isPaused?this.play():this.pause())},AnimationItem.prototype.stop=function(t){t&&this.name!=t||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.goToAndStop=function(t,e,n){n&&this.name!=n||(this.setCurrentRawFrameValue(e?t:t*this.frameModifier),this.pause())},AnimationItem.prototype.goToAndPlay=function(t,e,n){this.goToAndStop(t,e,n),this.play()},AnimationItem.prototype.advanceTime=function(t){if(!0!==this.isPaused&&!1!==this.isLoaded){var e=this.currentRawFrame+t*this.frameModifier,n=!1;e>=this.totalFrames-1&&this.frameModifier>0?this.loop&&this.playCount!==this.loop?e>=this.totalFrames?(this.playCount+=1,this.checkSegments(e%this.totalFrames)||(this.setCurrentRawFrameValue(e%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(e):this.checkSegments(e>this.totalFrames?e%this.totalFrames:0)||(n=!0,e=this.totalFrames-1):e<0?this.checkSegments(e%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(n=!0,e=0):(this.setCurrentRawFrameValue(this.totalFrames+e%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(e),n&&(this.setCurrentRawFrameValue(e),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(t,e){this.playCount=0,t[1]<t[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.timeCompleted=this.totalFrames=t[0]-t[1],this.firstFrame=t[1],this.setCurrentRawFrameValue(this.totalFrames-.001-e)):t[1]>t[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.timeCompleted=this.totalFrames=t[1]-t[0],this.firstFrame=t[0],this.setCurrentRawFrameValue(.001+e)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(t,e){var n=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<t?n=t:this.currentRawFrame+this.firstFrame>e&&(n=e-t)),this.firstFrame=t,this.timeCompleted=this.totalFrames=e-t,-1!==n&&this.goToAndStop(n,!0)},AnimationItem.prototype.playSegments=function(t,e){if(e&&(this.segments.length=0),"object"==typeof t[0]){var n,r=t.length;for(n=0;n<r;n+=1)this.segments.push(t[n])}else this.segments.push(t);this.segments.length&&e&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(t){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),t&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(t){return!!this.segments.length&&(this.adjustSegment(this.segments.shift(),t),!0)},AnimationItem.prototype.destroy=function(t){t&&this.name!=t||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=this.onLoopComplete=this.onComplete=this.onSegmentStart=this.onDestroy=null,this.renderer=null)},AnimationItem.prototype.setCurrentRawFrameValue=function(t){this.currentRawFrame=t,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(t){this.playSpeed=t,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(t){this.playDirection=t<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection},AnimationItem.prototype.getPath=function(){return this.path},AnimationItem.prototype.getAssetsPath=function(t){var e="";if(t.e)e=t.p;else if(this.assetsPath){var n=t.p;-1!==n.indexOf("images/")&&(n=n.split("/")[1]),e=this.assetsPath+n}else e=this.path,e+=t.u?t.u:"",e+=t.p;return e},AnimationItem.prototype.getAssetData=function(t){for(var e=0,n=this.assets.length;e<n;){if(t==this.assets[e].id)return this.assets[e];e+=1}},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(t){return t?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.trigger=function(t){if(this._cbs&&this._cbs[t])switch(t){case"enterFrame":this.triggerEvent(t,new BMEnterFrameEvent(t,this.currentFrame,this.totalFrames,this.frameModifier));break;case"loopComplete":this.triggerEvent(t,new BMCompleteLoopEvent(t,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(t,new BMCompleteEvent(t,this.frameMult));break;case"segmentStart":this.triggerEvent(t,new BMSegmentStartEvent(t,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(t,new BMDestroyEvent(t,this));break;default:this.triggerEvent(t)}"enterFrame"===t&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(t,this.currentFrame,this.totalFrames,this.frameMult)),"loopComplete"===t&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(t,this.loop,this.playCount,this.frameMult)),"complete"===t&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(t,this.frameMult)),"segmentStart"===t&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(t,this.firstFrame,this.totalFrames)),"destroy"===t&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(t,this))},AnimationItem.prototype.triggerRenderFrameError=function(t){var e=new BMRenderFrameErrorEvent(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)},AnimationItem.prototype.triggerConfigError=function(t){var e=new BMConfigErrorEvent(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)};var Expressions={initExpressions:function(t){var e=0,n=[];t.renderer.compInterface=CompExpressionInterface(t.renderer),t.renderer.globalData.projectInterface.registerComposition(t.renderer),t.renderer.globalData.pushExpression=function(){e+=1},t.renderer.globalData.popExpression=function(){0==(e-=1)&&function(){var t,e=n.length;for(t=0;t<e;t+=1)n[t].release();n.length=0}()},t.renderer.globalData.registerExpressionProperty=function(t){-1===n.indexOf(t)&&n.push(t)}}};expressionsPlugin=Expressions;var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null;function $bm_isInstanceOfArray(t){return t.constructor===Array||t.constructor===Float32Array}function isNumerable(t,e){return"number"===t||"boolean"===t||"string"===t||e instanceof Number}function $bm_neg(t){var e=typeof t;if("number"===e||"boolean"===e||t instanceof Number)return-t;if($bm_isInstanceOfArray(t)){var n,r=t.length,i=[];for(n=0;n<r;n+=1)i[n]=-t[n];return i}return t.propType?t.v:void 0}var easeInBez=BezierFactory.getBezierEasing(.333,0,.833,.833,"easeIn").get,easeOutBez=BezierFactory.getBezierEasing(.167,.167,.667,1,"easeOut").get,easeInOutBez=BezierFactory.getBezierEasing(.33,0,.667,1,"easeInOut").get;function sum(t,e){var n=typeof t,r=typeof e;if("string"===n||"string"===r)return t+e;if(isNumerable(n,t)&&isNumerable(r,e))return t+e;if($bm_isInstanceOfArray(t)&&isNumerable(r,e))return(t=t.slice(0))[0]=t[0]+e,t;if(isNumerable(n,t)&&$bm_isInstanceOfArray(e))return(e=e.slice(0))[0]=t+e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){for(var i=0,o=t.length,s=e.length,a=[];i<o||i<s;)a[i]=("number"==typeof t[i]||t[i]instanceof Number)&&("number"==typeof e[i]||e[i]instanceof Number)?t[i]+e[i]:void 0===e[i]?t[i]:t[i]||e[i],i+=1;return a}return 0}var add=sum;function sub(t,e){var n=typeof t,r=typeof e;if(isNumerable(n,t)&&isNumerable(r,e))return"string"===n&&(t=parseInt(t)),"string"===r&&(e=parseInt(e)),t-e;if($bm_isInstanceOfArray(t)&&isNumerable(r,e))return(t=t.slice(0))[0]=t[0]-e,t;if(isNumerable(n,t)&&$bm_isInstanceOfArray(e))return(e=e.slice(0))[0]=t-e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){for(var i=0,o=t.length,s=e.length,a=[];i<o||i<s;)a[i]=("number"==typeof t[i]||t[i]instanceof Number)&&("number"==typeof e[i]||e[i]instanceof Number)?t[i]-e[i]:void 0===e[i]?t[i]:t[i]||e[i],i+=1;return a}return 0}function mul(t,e){var n,r,i,o=typeof t,s=typeof e;if(isNumerable(o,t)&&isNumerable(s,e))return t*e;if($bm_isInstanceOfArray(t)&&isNumerable(s,e)){for(n=createTypedArray("float32",i=t.length),r=0;r<i;r+=1)n[r]=t[r]*e;return n}if(isNumerable(o,t)&&$bm_isInstanceOfArray(e)){for(n=createTypedArray("float32",i=e.length),r=0;r<i;r+=1)n[r]=t*e[r];return n}return 0}function div(t,e){var n,r,i,o=typeof t,s=typeof e;if(isNumerable(o,t)&&isNumerable(s,e))return t/e;if($bm_isInstanceOfArray(t)&&isNumerable(s,e)){for(n=createTypedArray("float32",i=t.length),r=0;r<i;r+=1)n[r]=t[r]/e;return n}if(isNumerable(o,t)&&$bm_isInstanceOfArray(e)){for(n=createTypedArray("float32",i=e.length),r=0;r<i;r+=1)n[r]=t/e[r];return n}return 0}function mod(t,e){return"string"==typeof t&&(t=parseInt(t)),"string"==typeof e&&(e=parseInt(e)),t%e}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(t,e,n){if(e>n){var r=n;n=e,e=r}return Math.min(Math.max(t,e),n)}function radiansToDegrees(t){return t/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(t){return t*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(t,e){if("number"==typeof t||t instanceof Number)return Math.abs(t-(e=e||0));e||(e=helperLengthArray);var n,r=Math.min(t.length,e.length),i=0;for(n=0;n<r;n+=1)i+=Math.pow(e[n]-t[n],2);return Math.sqrt(i)}function normalize(t){return div(t,length(t))}function rgbToHsl(t){var e,n,r=t[0],i=t[1],o=t[2],s=Math.max(r,i,o),a=Math.min(r,i,o),l=(s+a)/2;if(s==a)e=n=0;else{var u=s-a;switch(n=l>.5?u/(2-s-a):u/(s+a),s){case r:e=(i-o)/u+(i<o?6:0);break;case i:e=(o-r)/u+2;break;case o:e=(r-i)/u+4}e/=6}return[e,n,l,t[3]]}function hue2rgb(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function hslToRgb(t){var e,n,r,i=t[0],o=t[1],s=t[2];if(0===o)e=n=r=s;else{var a=s<.5?s*(1+o):s+o-s*o,l=2*s-a;e=hue2rgb(l,a,i+1/3),n=hue2rgb(l,a,i),r=hue2rgb(l,a,i-1/3)}return[e,n,r,t[3]]}function linear(t,e,n,r,i){if(void 0!==r&&void 0!==i||(r=e,i=n,e=0,n=1),n<e){var o=n;n=e,e=o}if(t<=e)return r;if(t>=n)return i;var s=n===e?0:(t-e)/(n-e);if(!r.length)return r+(i-r)*s;var a,l=r.length,u=createTypedArray("float32",l);for(a=0;a<l;a+=1)u[a]=r[a]+(i[a]-r[a])*s;return u}function random(t,e){if(void 0===e&&(void 0===t?(t=0,e=1):(e=t,t=void 0)),e.length){var n,r=e.length;t||(t=createTypedArray("float32",r));var i=createTypedArray("float32",r),o=BMMath.random();for(n=0;n<r;n+=1)i[n]=t[n]+o*(e[n]-t[n]);return i}return void 0===t&&(t=0),t+BMMath.random()*(e-t)}function createPath(t,e,n,r){var i,o=t.length,s=shape_pool.newElement();s.setPathData(!!r,o);var a,l,u=[0,0];for(i=0;i<o;i+=1)s.setTripleAt(t[i][0],t[i][1],(l=n&&n[i]?n[i]:u)[0]+t[i][0],l[1]+t[i][1],(a=e&&e[i]?e[i]:u)[0]+t[i][0],a[1]+t[i][1],i,!0);return s}function initiateExpression(elem,data,property){var val=data.x,needsVelocity=/velocity(?![\w\d])/.test(val),_needsRandom=-1!==val.indexOf("random"),elemType=elem.data.ty,transform,$bm_transform,content,effect,thisProperty=property;thisProperty.valueAtTime=thisProperty.getValueAtTime,Object.defineProperty(thisProperty,"value",{get:function(){return thisProperty.v}}),elem.comp.frameDuration=1/elem.comp.globalData.frameRate,elem.comp.displayStartTime=0;var inPoint=elem.data.ip/elem.comp.globalData.frameRate,outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw?elem.data.sw:0,height=elem.data.sh?elem.data.sh:0,name=elem.data.nm,loopIn,loop_in,loopOut,loop_out,smooth,toWorld,fromWorld,fromComp,toComp,fromCompToSurface,position,rotation,anchorPoint,scale,thisLayer,thisComp,mask,valueAtTime,velocityAtTime,__expression_functions=[],scoped_bm_rt;if(data.xf){var i,len=data.xf.length;for(i=0;i<len;i+=1)__expression_functions[i]=eval("(function(){ return "+data.xf[i]+"}())")}var expression_function=eval("[function _expression_function(){"+val+";scoped_bm_rt=$bm_rt}]")[0],numKeys=property.kf?data.k.length:0,active=!this.data||!0!==this.data.hd,wiggle=(function(t,e){var n,r,i=this.pv.length?this.pv.length:1,o=createTypedArray("float32",i),s=Math.floor(5*time);for(n=0,r=0;n<s;){for(r=0;r<i;r+=1)o[r]+=-e+2*e*BMMath.random();n+=1}var a=5*time,l=a-Math.floor(a),u=createTypedArray("float32",i);if(i>1){for(r=0;r<i;r+=1)u[r]=this.pv[r]+o[r]+(-e+2*e*BMMath.random())*l;return u}return this.pv+o[0]+(-e+2*e*BMMath.random())*l}).bind(this);function loopInDuration(t,e){return loopIn(t,e,!0)}function loopOutDuration(t,e){return loopOut(t,e,!0)}thisProperty.loopIn&&(loopIn=thisProperty.loopIn.bind(thisProperty),loop_in=loopIn),thisProperty.loopOut&&(loopOut=thisProperty.loopOut.bind(thisProperty),loop_out=loopOut),thisProperty.smooth&&(smooth=thisProperty.smooth.bind(thisProperty)),this.getValueAtTime&&(valueAtTime=this.getValueAtTime.bind(this)),this.getVelocityAtTime&&(velocityAtTime=this.getVelocityAtTime.bind(this));var comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface),time,velocity,value,text,textIndex,textTotal,selectorValue;function lookAt(t,e){var n=[e[0]-t[0],e[1]-t[1],e[2]-t[2]],r=Math.atan2(n[0],Math.sqrt(n[1]*n[1]+n[2]*n[2]))/degToRads;return[-Math.atan2(n[1],n[2])/degToRads,r,0]}function easeOut(t,e,n,r,i){return applyEase(easeOutBez,t,e,n,r,i)}function easeIn(t,e,n,r,i){return applyEase(easeInBez,t,e,n,r,i)}function ease(t,e,n,r,i){return applyEase(easeInOutBez,t,e,n,r,i)}function applyEase(t,e,n,r,i,o){void 0===i?(i=n,o=r):e=(e-n)/(r-n);var s=t(e=e>1?1:e<0?0:e);if($bm_isInstanceOfArray(i)){var a,l=i.length,u=createTypedArray("float32",l);for(a=0;a<l;a+=1)u[a]=(o[a]-i[a])*s+i[a];return u}return(o-i)*s+i}function nearestKey(t){var e,n,r,i=data.k.length;if(data.k.length&&"number"!=typeof data.k[0])if(n=-1,(t*=elem.comp.globalData.frameRate)<data.k[0].t)n=1,r=data.k[0].t;else{for(e=0;e<i-1;e+=1){if(t===data.k[e].t){n=e+1,r=data.k[e].t;break}if(t>data.k[e].t&&t<data.k[e+1].t){t-data.k[e].t>data.k[e+1].t-t?(n=e+2,r=data.k[e+1].t):(n=e+1,r=data.k[e].t);break}}-1===n&&(n=e+1,r=data.k[e].t)}else n=0,r=0;var o={};return o.index=n,o.time=r/elem.comp.globalData.frameRate,o}function key(t){var e,n,r;if(!data.k.length||"number"==typeof data.k[0])throw new Error("The property has no keyframe at index "+t);e={time:data.k[t-=1].t/elem.comp.globalData.frameRate,value:[]};var i=data.k[t].hasOwnProperty("s")?data.k[t].s:data.k[t-1].e;for(r=i.length,n=0;n<r;n+=1)e[n]=i[n],e.value[n]=i[n];return e}function framesToTime(t,e){return e||(e=elem.comp.globalData.frameRate),t/e}function timeToFrames(t,e){return t||0===t||(t=time),e||(e=elem.comp.globalData.frameRate),t*e}function seedRandom(t){BMMath.seedrandom(randSeed+t)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(t,e){return"string"==typeof value?void 0===e?value.substring(t):value.substring(t,e):""}function substr(t,e){return"string"==typeof value?void 0===e?value.substr(t):value.substr(t,e):""}function posterizeTime(t){time=0===t?0:Math.floor(time*t)/t,value=valueAtTime(time)}var index=elem.data.ind,hasParent=!(!elem.hierarchy||!elem.hierarchy.length),parent,randSeed=Math.floor(1e6*Math.random()),globalData=elem.globalData;function executeExpression(t){return value=t,_needsRandom&&seedRandom(randSeed),this.frameExpressionId===elem.globalData.frameId&&"textSelector"!==this.propType?value:("textSelector"===this.propType&&(textIndex=this.textIndex,textTotal=this.textTotal,selectorValue=this.selectorValue),thisLayer||(text=elem.layerInterface.text,thisComp=elem.comp.compInterface,toWorld=(thisLayer=elem.layerInterface).toWorld.bind(thisLayer),fromWorld=thisLayer.fromWorld.bind(thisLayer),fromComp=thisLayer.fromComp.bind(thisLayer),toComp=thisLayer.toComp.bind(thisLayer),mask=thisLayer.mask?thisLayer.mask.bind(thisLayer):null,fromCompToSurface=fromComp),transform||(transform=elem.layerInterface("ADBE Transform Group"),$bm_transform=transform,transform&&(anchorPoint=transform.anchorPoint)),4!==elemType||content||(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),(hasParent=!(!elem.hierarchy||!elem.hierarchy.length))&&!parent&&(parent=elem.hierarchy[0].layerInterface),time=this.comp.renderedFrame/this.comp.globalData.frameRate,needsVelocity&&(velocity=velocityAtTime(time)),expression_function(),this.frameExpressionId=elem.globalData.frameId,"shape"===scoped_bm_rt.propType&&(scoped_bm_rt=scoped_bm_rt.v),scoped_bm_rt)}return executeExpression}return ob.initiateExpression=initiateExpression,ob}(),expressionHelpers={searchExpressions:function(t,e,n){e.x&&(n.k=!0,n.x=!0,n.initiateExpression=ExpressionManager.initiateExpression,n.effectsSequence.push(n.initiateExpression(t,e,n).bind(n)))},getSpeedAtTime:function(t){var e=this.getValueAtTime(t),n=this.getValueAtTime(t+-.01),r=0;if(e.length){var i;for(i=0;i<e.length;i+=1)r+=Math.pow(n[i]-e[i],2);r=100*Math.sqrt(r)}else r=0;return r},getVelocityAtTime:function(t){if(void 0!==this.vel)return this.vel;var e,n,r=this.getValueAtTime(t),i=this.getValueAtTime(t+-.001);if(r.length)for(e=createTypedArray("float32",r.length),n=0;n<r.length;n+=1)e[n]=(i[n]-r[n])/-.001;else e=(i-r)/-.001;return e},getValueAtTime:function(t){return t*=this.elem.globalData.frameRate,(t-=this.offsetTime)!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<t?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(t,this._cachingAtTime),this._cachingAtTime.lastFrame=t),this._cachingAtTime.value},getStaticValueAtTime:function(){return this.pv},setGroupProperty:function(t){this.propertyGroup=t}};!function(){function t(t,e,n){if(!this.k||!this.keyframes)return this.pv;t=t?t.toLowerCase():"";var r,i,o,s,a,l=this.comp.renderedFrame,u=this.keyframes,c=u[u.length-1].t;if(l<=c)return this.pv;if(n?i=c-(r=e?Math.abs(c-elem.comp.globalData.frameRate*e):Math.max(0,c-this.elem.data.ip)):((!e||e>u.length-1)&&(e=u.length-1),r=c-(i=u[u.length-1-e].t)),"pingpong"===t){if(Math.floor((l-i)/r)%2!=0)return this.getValueAtTime((r-(l-i)%r+i)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var h=this.getValueAtTime(i/this.comp.globalData.frameRate,0),p=this.getValueAtTime(c/this.comp.globalData.frameRate,0),f=this.getValueAtTime(((l-i)%r+i)/this.comp.globalData.frameRate,0),d=Math.floor((l-i)/r);if(this.pv.length){for(s=(a=new Array(h.length)).length,o=0;o<s;o+=1)a[o]=(p[o]-h[o])*d+f[o];return a}return(p-h)*d+f}if("continue"===t){var m=this.getValueAtTime(c/this.comp.globalData.frameRate,0),y=this.getValueAtTime((c-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(s=(a=new Array(m.length)).length,o=0;o<s;o+=1)a[o]=m[o]+(l-c)/this.comp.globalData.frameRate*(m[o]-y[o])/5e-4;return a}return m+(l-c)/.001*(m-y)}}return this.getValueAtTime(((l-i)%r+i)/this.comp.globalData.frameRate,0)}function e(t,e,n){if(!this.k)return this.pv;t=t?t.toLowerCase():"";var r,i,o,s,a,l=this.comp.renderedFrame,u=this.keyframes,c=u[0].t;if(l>=c)return this.pv;if(n?i=c+(r=e?Math.abs(elem.comp.globalData.frameRate*e):Math.max(0,this.elem.data.op-c)):((!e||e>u.length-1)&&(e=u.length-1),r=(i=u[e].t)-c),"pingpong"===t){if(Math.floor((c-l)/r)%2==0)return this.getValueAtTime(((c-l)%r+c)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var h=this.getValueAtTime(c/this.comp.globalData.frameRate,0),p=this.getValueAtTime(i/this.comp.globalData.frameRate,0),f=this.getValueAtTime((r-(c-l)%r+c)/this.comp.globalData.frameRate,0),d=Math.floor((c-l)/r)+1;if(this.pv.length){for(s=(a=new Array(h.length)).length,o=0;o<s;o+=1)a[o]=f[o]-(p[o]-h[o])*d;return a}return f-(p-h)*d}if("continue"===t){var m=this.getValueAtTime(c/this.comp.globalData.frameRate,0),y=this.getValueAtTime((c+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(s=(a=new Array(m.length)).length,o=0;o<s;o+=1)a[o]=m[o]+(m[o]-y[o])*(c-l)/.001;return a}return m+(m-y)*(c-l)/.001}}return this.getValueAtTime((r-(c-l)%r+c)/this.comp.globalData.frameRate,0)}function n(t,e){if(!this.k)return this.pv;if(t=.5*(t||.4),(e=Math.floor(e||5))<=1)return this.pv;var n,r,i=this.comp.renderedFrame/this.comp.globalData.frameRate,o=i-t,s=e>1?(i+t-o)/(e-1):1,a=0,l=0;for(n=this.pv.length?createTypedArray("float32",this.pv.length):0;a<e;){if(r=this.getValueAtTime(o+a*s),this.pv.length)for(l=0;l<this.pv.length;l+=1)n[l]+=r[l];else n+=r;a+=1}if(this.pv.length)for(l=0;l<this.pv.length;l+=1)n[l]/=e;else n/=e;return n}var r=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(t,e,n){var i=r(t,e,n);return i.getValueAtTime=i.dynamicProperties.length?(function(t){console.warn("Transform at time not supported")}).bind(i):(function(t){}).bind(i),i.setGroupProperty=expressionHelpers.setGroupProperty,i};var i=PropertyFactory.getProp;PropertyFactory.getProp=function(r,o,s,a,l){var u=i(r,o,s,a,l);u.getValueAtTime=u.kf?expressionHelpers.getValueAtTime.bind(u):expressionHelpers.getStaticValueAtTime.bind(u),u.setGroupProperty=expressionHelpers.setGroupProperty,u.loopOut=t,u.loopIn=e,u.smooth=n,u.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(u),u.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(u),u.numKeys=1===o.a?o.k.length:0,u.propertyIndex=o.ix;var c=0;return 0!==s&&(c=createTypedArray("float32",1===o.a?o.k[0].s.length:o.k.length)),u._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:c},expressionHelpers.searchExpressions(r,o,u),u.k&&l.addDynamicProperty(u),u};var o=ShapePropertyFactory.getConstructorFunction(),s=ShapePropertyFactory.getKeyframedConstructorFunction();function a(){}a.prototype={vertices:function(t,e){this.k&&this.getValue();var n=this.v;void 0!==e&&(n=this.getValueAtTime(e,0));var r,i=n._length,o=n[t],s=n.v,a=createSizedArray(i);for(r=0;r<i;r+=1)a[r]="i"===t||"o"===t?[o[r][0]-s[r][0],o[r][1]-s[r][1]]:[o[r][0],o[r][1]];return a},points:function(t){return this.vertices("v",t)},inTangents:function(t){return this.vertices("i",t)},outTangents:function(t){return this.vertices("o",t)},isClosed:function(){return this.v.c},pointOnPath:function(t,e){var n=this.v;void 0!==e&&(n=this.getValueAtTime(e,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(n));for(var r,i=this._segmentsLength,o=i.lengths,s=i.totalLength*t,a=0,l=o.length,u=0;a<l;){if(u+o[a].addedLength>s){var c=n.c&&a===l-1?0:a+1;r=bez.getPointInSegment(n.v[a],n.v[c],n.o[a],n.i[c],(s-u)/o[a].addedLength,o[a]);break}u+=o[a].addedLength,a+=1}return r||(r=n.c?[n.v[0][0],n.v[0][1]]:[n.v[n._length-1][0],n.v[n._length-1][1]]),r},vectorOnPath:function(t,e,n){var r=this.pointOnPath(t=1==t?this.v.c?0:.999:t,e),i=this.pointOnPath(t+.001,e),o=i[0]-r[0],s=i[1]-r[1],a=Math.sqrt(Math.pow(o,2)+Math.pow(s,2));return 0===a?[0,0]:"tangent"===n?[o/a,s/a]:[-s/a,o/a]},tangentOnPath:function(t,e){return this.vectorOnPath(t,e,"tangent")},normalOnPath:function(t,e){return this.vectorOnPath(t,e,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([a],o),extendPrototype([a],s),s.prototype.getValueAtTime=function(t){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shape_pool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),t*=this.elem.globalData.frameRate,(t-=this.offsetTime)!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<t?this._caching.lastIndex:0,this._cachingAtTime.lastTime=t,this.interpolateShape(t,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue},s.prototype.initiateExpression=ExpressionManager.initiateExpression;var l=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(t,e,n,r,i){var o=l(t,e,n,r,i);return o.propertyIndex=e.ix,o.lock=!1,3===n?expressionHelpers.searchExpressions(t,e.pt,o):4===n&&expressionHelpers.searchExpressions(t,e.ks,o),o.k&&t.addDynamicProperty(o),o}}(),TextProperty.prototype.getExpressionValue=function(t,e){var n=this.calculateExpression(e);if(t.t!==n){var r={};return this.copyData(r,t),r.t=n.toString(),r.__complete=!1,r}return t},TextProperty.prototype.searchProperty=function(){var t=this.searchKeyframes(),e=this.searchExpressions();return this.kf=t||e,this.kf},TextProperty.prototype.searchExpressions=function(){if(this.data.d.x)return this.calculateExpression=ExpressionManager.initiateExpression.bind(this)(this.elem,this.data.d,this),this.addEffect(this.getExpressionValue.bind(this)),!0};var ShapeExpressionInterface=function(){function t(t,h,p){var f,d=[],m=t?t.length:0;for(f=0;f<m;f+=1)"gr"==t[f].ty?d.push(e(t[f],h[f],p)):"fl"==t[f].ty?d.push(n(t[f],h[f],p)):"st"==t[f].ty?d.push(r(t[f],h[f],p)):"tm"==t[f].ty?d.push(i(t[f],h[f],p)):"tr"==t[f].ty||("el"==t[f].ty?d.push(o(t[f],h[f],p)):"sr"==t[f].ty?d.push(s(t[f],h[f],p)):"sh"==t[f].ty?d.push(c(t[f],h[f],p)):"rc"==t[f].ty?d.push(a(t[f],h[f],p)):"rd"==t[f].ty?d.push(l(t[f],h[f],p)):"rp"==t[f].ty&&d.push(u(t[f],h[f],p)));return d}function e(e,n,r){var i=function(t){switch(t){case"ADBE Vectors Group":case"Contents":case 2:return i.content;default:return i.transform}};i.propertyGroup=function(t){return 1===t?i:r(t-1)};var o=function(e,n,r){var i,o=function(t){for(var e=0,n=i.length;e<n;){if(i[e]._name===t||i[e].mn===t||i[e].propertyIndex===t||i[e].ix===t||i[e].ind===t)return i[e];e+=1}if("number"==typeof t)return i[t-1]};return i=t(e.it,n.it,o.propertyGroup=function(t){return 1===t?o:r(t-1)}),o.numProperties=i.length,o.propertyIndex=e.cix,o._name=e.nm,o}(e,n,i.propertyGroup),s=function(t,e,n){function r(t){return 1==t?i:n(--t)}function i(e){return t.a.ix===e||"Anchor Point"===e?i.anchorPoint:t.o.ix===e||"Opacity"===e?i.opacity:t.p.ix===e||"Position"===e?i.position:t.r.ix===e||"Rotation"===e||"ADBE Vector Rotation"===e?i.rotation:t.s.ix===e||"Scale"===e?i.scale:t.sk&&t.sk.ix===e||"Skew"===e?i.skew:t.sa&&t.sa.ix===e||"Skew Axis"===e?i.skewAxis:void 0}return e.transform.mProps.o.setGroupProperty(r),e.transform.mProps.p.setGroupProperty(r),e.transform.mProps.a.setGroupProperty(r),e.transform.mProps.s.setGroupProperty(r),e.transform.mProps.r.setGroupProperty(r),e.transform.mProps.sk&&(e.transform.mProps.sk.setGroupProperty(r),e.transform.mProps.sa.setGroupProperty(r)),e.transform.op.setGroupProperty(r),Object.defineProperties(i,{opacity:{get:ExpressionPropertyInterface(e.transform.mProps.o)},position:{get:ExpressionPropertyInterface(e.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(e.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(e.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(e.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(e.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(e.transform.mProps.sa)},_name:{value:t.nm}}),i.ty="tr",i.mn=t.mn,i.propertyGroup=n,i}(e.it[e.it.length-1],n.it[n.it.length-1],i.propertyGroup);return i.content=o,i.transform=s,Object.defineProperty(i,"_name",{get:function(){return e.nm}}),i.numProperties=e.np,i.propertyIndex=e.ix,i.nm=e.nm,i.mn=e.mn,i}function n(t,e,n){function r(t){return"Color"===t||"color"===t?r.color:"Opacity"===t||"opacity"===t?r.opacity:void 0}return Object.defineProperties(r,{color:{get:ExpressionPropertyInterface(e.c)},opacity:{get:ExpressionPropertyInterface(e.o)},_name:{value:t.nm},mn:{value:t.mn}}),e.c.setGroupProperty(n),e.o.setGroupProperty(n),r}function r(t,e,n){function r(t){return 1===t?ob:n(t-1)}function i(t){return 1===t?l:r(t-1)}function o(n){Object.defineProperty(l,t.d[n].nm,{get:ExpressionPropertyInterface(e.d.dataProps[n].p)})}var s,a=t.d?t.d.length:0,l={};for(s=0;s<a;s+=1)o(s),e.d.dataProps[s].p.setGroupProperty(i);function u(t){return"Color"===t||"color"===t?u.color:"Opacity"===t||"opacity"===t?u.opacity:"Stroke Width"===t||"stroke width"===t?u.strokeWidth:void 0}return Object.defineProperties(u,{color:{get:ExpressionPropertyInterface(e.c)},opacity:{get:ExpressionPropertyInterface(e.o)},strokeWidth:{get:ExpressionPropertyInterface(e.w)},dash:{get:function(){return l}},_name:{value:t.nm},mn:{value:t.mn}}),e.c.setGroupProperty(r),e.o.setGroupProperty(r),e.w.setGroupProperty(r),u}function i(t,e,n){function r(t){return 1==t?i:n(--t)}function i(e){return e===t.e.ix||"End"===e||"end"===e?i.end:e===t.s.ix?i.start:e===t.o.ix?i.offset:void 0}return i.propertyIndex=t.ix,e.s.setGroupProperty(r),e.e.setGroupProperty(r),e.o.setGroupProperty(r),i.propertyIndex=t.ix,i.propertyGroup=n,Object.defineProperties(i,{start:{get:ExpressionPropertyInterface(e.s)},end:{get:ExpressionPropertyInterface(e.e)},offset:{get:ExpressionPropertyInterface(e.o)},_name:{value:t.nm}}),i.mn=t.mn,i}function o(t,e,n){function r(t){return 1==t?o:n(--t)}o.propertyIndex=t.ix;var i="tm"===e.sh.ty?e.sh.prop:e.sh;function o(e){return t.p.ix===e?o.position:t.s.ix===e?o.size:void 0}return i.s.setGroupProperty(r),i.p.setGroupProperty(r),Object.defineProperties(o,{size:{get:ExpressionPropertyInterface(i.s)},position:{get:ExpressionPropertyInterface(i.p)},_name:{value:t.nm}}),o.mn=t.mn,o}function s(t,e,n){function r(t){return 1==t?o:n(--t)}var i="tm"===e.sh.ty?e.sh.prop:e.sh;function o(e){return t.p.ix===e?o.position:t.r.ix===e?o.rotation:t.pt.ix===e?o.points:t.or.ix===e||"ADBE Vector Star Outer Radius"===e?o.outerRadius:t.os.ix===e?o.outerRoundness:!t.ir||t.ir.ix!==e&&"ADBE Vector Star Inner Radius"!==e?t.is&&t.is.ix===e?o.innerRoundness:void 0:o.innerRadius}return o.propertyIndex=t.ix,i.or.setGroupProperty(r),i.os.setGroupProperty(r),i.pt.setGroupProperty(r),i.p.setGroupProperty(r),i.r.setGroupProperty(r),t.ir&&(i.ir.setGroupProperty(r),i.is.setGroupProperty(r)),Object.defineProperties(o,{position:{get:ExpressionPropertyInterface(i.p)},rotation:{get:ExpressionPropertyInterface(i.r)},points:{get:ExpressionPropertyInterface(i.pt)},outerRadius:{get:ExpressionPropertyInterface(i.or)},outerRoundness:{get:ExpressionPropertyInterface(i.os)},innerRadius:{get:ExpressionPropertyInterface(i.ir)},innerRoundness:{get:ExpressionPropertyInterface(i.is)},_name:{value:t.nm}}),o.mn=t.mn,o}function a(t,e,n){function r(t){return 1==t?o:n(--t)}var i="tm"===e.sh.ty?e.sh.prop:e.sh;function o(e){return t.p.ix===e?o.position:t.r.ix===e?o.roundness:t.s.ix===e||"Size"===e||"ADBE Vector Rect Size"===e?o.size:void 0}return o.propertyIndex=t.ix,i.p.setGroupProperty(r),i.s.setGroupProperty(r),i.r.setGroupProperty(r),Object.defineProperties(o,{position:{get:ExpressionPropertyInterface(i.p)},roundness:{get:ExpressionPropertyInterface(i.r)},size:{get:ExpressionPropertyInterface(i.s)},_name:{value:t.nm}}),o.mn=t.mn,o}function l(t,e,n){var r=e;function i(e){if(t.r.ix===e||"Round Corners 1"===e)return i.radius}return i.propertyIndex=t.ix,r.rd.setGroupProperty(function(t){return 1==t?i:n(--t)}),Object.defineProperties(i,{radius:{get:ExpressionPropertyInterface(r.rd)},_name:{value:t.nm}}),i.mn=t.mn,i}function u(t,e,n){function r(t){return 1==t?o:n(--t)}var i=e;function o(e){return t.c.ix===e||"Copies"===e?o.copies:t.o.ix===e||"Offset"===e?o.offset:void 0}return o.propertyIndex=t.ix,i.c.setGroupProperty(r),i.o.setGroupProperty(r),Object.defineProperties(o,{copies:{get:ExpressionPropertyInterface(i.c)},offset:{get:ExpressionPropertyInterface(i.o)},_name:{value:t.nm}}),o.mn=t.mn,o}function c(t,e,n){var r=e.sh;function i(t){if("Shape"===t||"shape"===t||"Path"===t||"path"===t||"ADBE Vector Shape"===t||2===t)return i.path}return r.setGroupProperty(function(t){return 1==t?i:n(--t)}),Object.defineProperties(i,{path:{get:function(){return r.k&&r.getValue(),r}},shape:{get:function(){return r.k&&r.getValue(),r}},_name:{value:t.nm},ix:{value:t.ix},propertyIndex:{value:t.ix},mn:{value:t.mn}}),i}return function(e,n,r){var i;function o(t){if("number"==typeof t)return i[t-1];for(var e=0,n=i.length;e<n;){if(i[e]._name===t)return i[e];e+=1}}return o.propertyGroup=r,i=t(e,n,o),o.numProperties=i.length,o}}(),TextExpressionInterface=function(t){var e;function n(){}return Object.defineProperty(n,"sourceText",{get:function(){t.textProperty.getValue();var n=t.textProperty.currentData.t;return void 0!==n&&(t.textProperty.currentData.t=void 0,(e=new String(n)).value=n||new String(n)),e}}),n},LayerExpressionInterface=function(){function t(t,e){var n=new Matrix;if(n.reset(),this._elem.finalTransform.mProp.applyToMatrix(n),this._elem.hierarchy&&this._elem.hierarchy.length){var r,i=this._elem.hierarchy.length;for(r=0;r<i;r+=1)this._elem.hierarchy[r].finalTransform.mProp.applyToMatrix(n);return n.applyToPointArray(t[0],t[1],t[2]||0)}return n.applyToPointArray(t[0],t[1],t[2]||0)}function e(t,e){var n=new Matrix;if(n.reset(),this._elem.finalTransform.mProp.applyToMatrix(n),this._elem.hierarchy&&this._elem.hierarchy.length){var r,i=this._elem.hierarchy.length;for(r=0;r<i;r+=1)this._elem.hierarchy[r].finalTransform.mProp.applyToMatrix(n);return n.inversePoint(t)}return n.inversePoint(t)}function n(t){var e=new Matrix;if(e.reset(),this._elem.finalTransform.mProp.applyToMatrix(e),this._elem.hierarchy&&this._elem.hierarchy.length){var n,r=this._elem.hierarchy.length;for(n=0;n<r;n+=1)this._elem.hierarchy[n].finalTransform.mProp.applyToMatrix(e);return e.inversePoint(t)}return e.inversePoint(t)}function r(){return[1,1,1,1]}return function(i){var o;function s(t){switch(t){case"ADBE Root Vectors Group":case"Contents":case 2:return s.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return o;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return s.effect}}s.toWorld=t,s.fromWorld=e,s.toComp=t,s.fromComp=n,s.sampleImage=r,s.sourceRectAtTime=i.sourceRectAtTime.bind(i),s._elem=i;var a=getDescriptor(o=TransformExpressionInterface(i.finalTransform.mProp),"anchorPoint");return Object.defineProperties(s,{hasParent:{get:function(){return i.hierarchy.length}},parent:{get:function(){return i.hierarchy[0].layerInterface}},rotation:getDescriptor(o,"rotation"),scale:getDescriptor(o,"scale"),position:getDescriptor(o,"position"),opacity:getDescriptor(o,"opacity"),anchorPoint:a,anchor_point:a,transform:{get:function(){return o}},active:{get:function(){return i.isInRange}}}),s.startTime=i.data.st,s.index=i.data.ind,s.source=i.data.refId,s.height=0===i.data.ty?i.data.h:100,s.width=0===i.data.ty?i.data.w:100,s.inPoint=i.data.ip/i.comp.globalData.frameRate,s.outPoint=i.data.op/i.comp.globalData.frameRate,s._name=i.data.nm,s.registerMaskInterface=function(t){s.mask=new MaskManagerInterface(t,i)},s.registerEffectsInterface=function(t){s.effect=t},s}}(),CompExpressionInterface=function(t){function e(e){for(var n=0,r=t.layers.length;n<r;){if(t.layers[n].nm===e||t.layers[n].ind===e)return t.elements[n].layerInterface;n+=1}return null}return Object.defineProperty(e,"_name",{value:t.data.nm}),e.layer=e,e.pixelAspect=1,e.height=t.data.h||t.globalData.compSize.h,e.width=t.data.w||t.globalData.compSize.w,e.pixelAspect=1,e.frameDuration=1/t.globalData.frameRate,e.displayStartTime=0,e.numLayers=t.layers.length,e},TransformExpressionInterface=function(t){function e(t){switch(t){case"scale":case"Scale":case"ADBE Scale":case 6:return e.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return e.rotation;case"ADBE Rotate X":return e.xRotation;case"ADBE Rotate Y":return e.yRotation;case"position":case"Position":case"ADBE Position":case 2:return e.position;case"ADBE Position_0":return e.xPosition;case"ADBE Position_1":return e.yPosition;case"ADBE Position_2":return e.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return e.anchorPoint;case"opacity":case"Opacity":case 11:return e.opacity}}if(Object.defineProperty(e,"rotation",{get:ExpressionPropertyInterface(t.r||t.rz)}),Object.defineProperty(e,"zRotation",{get:ExpressionPropertyInterface(t.rz||t.r)}),Object.defineProperty(e,"xRotation",{get:ExpressionPropertyInterface(t.rx)}),Object.defineProperty(e,"yRotation",{get:ExpressionPropertyInterface(t.ry)}),Object.defineProperty(e,"scale",{get:ExpressionPropertyInterface(t.s)}),t.p)var n=ExpressionPropertyInterface(t.p);return Object.defineProperty(e,"position",{get:function(){return t.p?n():[t.px.v,t.py.v,t.pz?t.pz.v:0]}}),Object.defineProperty(e,"xPosition",{get:ExpressionPropertyInterface(t.px)}),Object.defineProperty(e,"yPosition",{get:ExpressionPropertyInterface(t.py)}),Object.defineProperty(e,"zPosition",{get:ExpressionPropertyInterface(t.pz)}),Object.defineProperty(e,"anchorPoint",{get:ExpressionPropertyInterface(t.a)}),Object.defineProperty(e,"opacity",{get:ExpressionPropertyInterface(t.o)}),Object.defineProperty(e,"skew",{get:ExpressionPropertyInterface(t.sk)}),Object.defineProperty(e,"skewAxis",{get:ExpressionPropertyInterface(t.sa)}),Object.defineProperty(e,"orientation",{get:ExpressionPropertyInterface(t.or)}),e},ProjectInterface=function(){function t(t){this.compositions.push(t)}return function(){function e(t){for(var e=0,n=this.compositions.length;e<n;){if(this.compositions[e].data&&this.compositions[e].data.nm===t)return this.compositions[e].prepareFrame&&this.compositions[e].data.xt&&this.compositions[e].prepareFrame(this.currentFrame),this.compositions[e].compInterface;e+=1}}return e.compositions=[],e.currentFrame=0,e.registerComposition=t,e}}(),EffectsExpressionInterface=function(){function t(n,r,i,o){var s,a=[],l=n.ef.length;for(s=0;s<l;s+=1)a.push(5===n.ef[s].ty?t(n.ef[s],r.effectElements[s],r.effectElements[s].propertyGroup,o):e(r.effectElements[s],n.ef[s].ty,o,u));function u(t){return 1===t?c:i(t-1)}var c=function(t){for(var e=n.ef,r=0,i=e.length;r<i;){if(t===e[r].nm||t===e[r].mn||t===e[r].ix)return 5===e[r].ty?a[r]:a[r]();r+=1}return a[0]()};return c.propertyGroup=u,"ADBE Color Control"===n.mn&&Object.defineProperty(c,"color",{get:function(){return a[0]()}}),Object.defineProperty(c,"numProperties",{get:function(){return n.np}}),c.active=c.enabled=0!==n.en,c}function e(t,e,n,r){var i=ExpressionPropertyInterface(t.p);return t.p.setGroupProperty&&t.p.setGroupProperty(r),function(){return 10===e?n.comp.compInterface(t.p.v):i()}}return{createEffectsInterface:function(e,n){if(e.effectsManager){var r,i=[],o=e.data.ef,s=e.effectsManager.effectElements.length;for(r=0;r<s;r+=1)i.push(t(o[r],e.effectsManager.effectElements[r],n,e));return function(t){for(var n=e.data.ef||[],r=0,o=n.length;r<o;){if(t===n[r].nm||t===n[r].mn||t===n[r].ix)return i[r];r+=1}}}}}}(),MaskManagerInterface=function(){function t(t,e){this._mask=t,this._data=e}return Object.defineProperty(t.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(t.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),100*this._mask.op.v}}),function(e,n){var r,i=createSizedArray(e.viewData.length),o=e.viewData.length;for(r=0;r<o;r+=1)i[r]=new t(e.viewData[r],e.masksProperties[r]);return function(t){for(r=0;r<o;){if(e.masksProperties[r].nm===t)return i[r];r+=1}}}}(),ExpressionPropertyInterface=function(){var t={pv:0,v:0,mult:1},e={pv:[0,0,0],v:[0,0,0],mult:1};function n(t,e,n){Object.defineProperty(t,"velocity",{get:function(){return e.getVelocityAtTime(e.comp.currentFrame)}}),t.numKeys=e.keyframes?e.keyframes.length:0,t.key=function(r){if(t.numKeys){var i;i="s"in e.keyframes[r-1]?e.keyframes[r-1].s:"e"in e.keyframes[r-2]?e.keyframes[r-2].e:e.keyframes[r-2].s;var o="unidimensional"===n?new Number(i):Object.assign({},i);return o.time=e.keyframes[r-1].t/e.elem.comp.globalData.frameRate,o}return 0},t.valueAtTime=e.getValueAtTime,t.speedAtTime=e.getSpeedAtTime,t.velocityAtTime=e.getVelocityAtTime,t.propertyGroup=e.propertyGroup}function r(){return t}return function(i){return i?"unidimensional"===i.propType?function(e){e&&"pv"in e||(e=t);var r=1/e.mult,i=e.pv*r,o=new Number(i);return o.value=i,n(o,e,"unidimensional"),function(){return e.k&&e.getValue(),o.value!==(i=e.v*r)&&((o=new Number(i)).value=i,n(o,e,"unidimensional")),o}}(i):function(t){t&&"pv"in t||(t=e);var r=1/t.mult,i=t.pv.length,o=createTypedArray("float32",i),s=createTypedArray("float32",i);return o.value=s,n(o,t,"multidimensional"),function(){t.k&&t.getValue();for(var e=0;e<i;e+=1)o[e]=s[e]=t.v[e]*r;return o}}(i):r}}(),TextExpressionSelectorProp,propertyGetTextProp;function SliderEffect(t,e,n){this.p=PropertyFactory.getProp(e,t.v,0,0,n)}function AngleEffect(t,e,n){this.p=PropertyFactory.getProp(e,t.v,0,0,n)}function ColorEffect(t,e,n){this.p=PropertyFactory.getProp(e,t.v,1,0,n)}function PointEffect(t,e,n){this.p=PropertyFactory.getProp(e,t.v,1,0,n)}function LayerIndexEffect(t,e,n){this.p=PropertyFactory.getProp(e,t.v,0,0,n)}function MaskIndexEffect(t,e,n){this.p=PropertyFactory.getProp(e,t.v,0,0,n)}function CheckboxEffect(t,e,n){this.p=PropertyFactory.getProp(e,t.v,0,0,n)}function NoValueEffect(){this.p={}}function EffectsManager(){}function EffectsManager(t,e){var n=t.ef||[];this.effectElements=[];var r,i,o=n.length;for(r=0;r<o;r++)i=new GroupEffect(n[r],e),this.effectElements.push(i)}function GroupEffect(t,e){this.init(t,e)}TextExpressionSelectorProp=function(){function t(t,e){return this.textIndex=t+1,this.textTotal=e,this.v=this.getValue()*this.mult,this.v}return function(e,n){this.pv=1,this.comp=e.comp,this.elem=e,this.mult=.01,this.propType="textSelector",this.textTotal=n.totalChars,this.selectorValue=100,this.lastValue=[1,1,1],this.k=!0,this.x=!0,this.getValue=ExpressionManager.initiateExpression.bind(this)(e,n,this),this.getMult=t,this.getVelocityAtTime=expressionHelpers.getVelocityAtTime,this.getValueAtTime=this.kf?expressionHelpers.getValueAtTime.bind(this):expressionHelpers.getStaticValueAtTime.bind(this),this.setGroupProperty=expressionHelpers.setGroupProperty}}(),propertyGetTextProp=TextSelectorProp.getTextSelectorProp,TextSelectorProp.getTextSelectorProp=function(t,e,n){return 1===e.t?new TextExpressionSelectorProp(t,e,n):propertyGetTextProp(t,e,n)},extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(t,e){this.data=t,this.effectElements=[],this.initDynamicPropertyContainer(e);var n,r,i=this.data.ef.length,o=this.data.ef;for(n=0;n<i;n+=1){switch(r=null,o[n].ty){case 0:r=new SliderEffect(o[n],e,this);break;case 1:r=new AngleEffect(o[n],e,this);break;case 2:r=new ColorEffect(o[n],e,this);break;case 3:r=new PointEffect(o[n],e,this);break;case 4:case 7:r=new CheckboxEffect(o[n],e,this);break;case 10:r=new LayerIndexEffect(o[n],e,this);break;case 11:r=new MaskIndexEffect(o[n],e,this);break;case 5:r=new EffectsManager(o[n],e,this);break;default:r=new NoValueEffect(o[n],e,this)}r&&this.effectElements.push(r)}};var lottie={},_isFrozen=!1;function setLocationHref(t){locationHref=t}function searchAnimations(){!0===standalone?animationManager.searchAnimations(animationData,standalone,renderer):animationManager.searchAnimations()}function setSubframeRendering(t){subframeEnabled=t}function loadAnimation(t){return!0===standalone&&(t.animationData=JSON.parse(animationData)),animationManager.loadAnimation(t)}function setQuality(t){if("string"==typeof t)switch(t){case"high":defaultCurveSegments=200;break;case"medium":defaultCurveSegments=50;break;case"low":defaultCurveSegments=10}else!isNaN(t)&&t>1&&(defaultCurveSegments=t);roundValues(!(defaultCurveSegments>=50))}function inBrowser(){return"undefined"!=typeof navigator}function installPlugin(t,e){"expressions"===t&&(expressionsPlugin=e)}function getFactory(t){switch(t){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix}}function checkReady(){"complete"===document.readyState&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(t){for(var e=queryString.split("&"),n=0;n<e.length;n++){var r=e[n].split("=");if(decodeURIComponent(r[0])==t)return decodeURIComponent(r[1])}}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocationHref,lottie.togglePause=animationManager.togglePause,lottie.setSpeed=animationManager.setSpeed,lottie.setDirection=animationManager.setDirection,lottie.stop=animationManager.stop,lottie.searchAnimations=searchAnimations,lottie.registerAnimation=animationManager.registerAnimation,lottie.loadAnimation=loadAnimation,lottie.setSubframeRendering=setSubframeRendering,lottie.resize=animationManager.resize,lottie.goToAndStop=animationManager.goToAndStop,lottie.destroy=animationManager.destroy,lottie.setQuality=setQuality,lottie.inBrowser=inBrowser,lottie.installPlugin=installPlugin,lottie.freeze=animationManager.freeze,lottie.unfreeze=animationManager.unfreeze,lottie.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.__getFactory=getFactory,lottie.version="5.6.2";var standalone="__[STANDALONE]__",animationData="__[ANIMATIONDATA]__",renderer="";if(standalone){var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""},queryString=myScript.src.replace(/^[^\?]+\??/,"");renderer=getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);return lottie},void 0===(__WEBPACK_AMD_DEFINE_RESULT__=(function(){return factory(root)}).call(exports,__webpack_require__,exports,module))||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))},mZXl:function(t,e,n){"use strict";n.d(e,"b",function(){return s}),n.d(e,"a",function(){return l});var r=n("mrSG"),i=n("FFOo"),o=n("60iU");function s(t,e){return void 0===e&&(e=0),function(n){return n.lift(new a(t,e))}}var a=function(){function t(t,e){void 0===e&&(e=0),this.scheduler=t,this.delay=e}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.scheduler,this.delay))},t}(),l=function(t){function e(e,n,r){void 0===r&&(r=0);var i=t.call(this,e)||this;return i.scheduler=n,i.delay=r,i}return r.c(e,t),e.dispatch=function(t){t.notification.observe(t.destination),this.unsubscribe()},e.prototype.scheduleMessage=function(t){this.destination.add(this.scheduler.schedule(e.dispatch,this.delay,new u(t,this.destination)))},e.prototype._next=function(t){this.scheduleMessage(o.a.createNext(t))},e.prototype._error=function(t){this.scheduleMessage(o.a.createError(t)),this.unsubscribe()},e.prototype._complete=function(){this.scheduleMessage(o.a.createComplete()),this.unsubscribe()},e}(i.a),u=function(){return function(t,e){this.notification=t,this.destination=e}}()},mrSG:function(t,e,n){"use strict";n.d(e,"c",function(){return i}),n.d(e,"a",function(){return o}),n.d(e,"b",function(){return s}),n.d(e,"e",function(){return a}),n.d(e,"d",function(){return l}),n.d(e,"h",function(){return u}),n.d(e,"f",function(){return c}),n.d(e,"g",function(){return h});var r=function(t,e){return(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])})(t,e)};function i(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o=function(){return(o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function s(t,e,n,r){var i,o=arguments.length,s=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o<3?i(s):o>3?i(e,n,s):i(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s}function a(t,e){return function(n,r){e(n,r,t)}}function l(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function u(t){var e="function"==typeof Symbol&&t[Symbol.iterator],n=0;return e?e.call(t):{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}function c(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(a){i={error:a}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function h(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(c(arguments[e]));return t}},nkY7:function(t,e,n){"use strict";function r(t){return t&&"function"==typeof t.schedule}n.d(e,"a",function(){return r})},ny24:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n("mrSG"),i=n("MGBS"),o=n("zotm");function s(t){return function(e){return e.lift(new a(t))}}var a=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var n=new l(t),r=Object(o.a)(n,this.notifier);return r&&!n.seenValue?(n.add(r),e.subscribe(n)):n},t}(),l=function(t){function e(e){var n=t.call(this,e)||this;return n.seenValue=!1,n}return r.c(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.seenValue=!0,this.complete()},e.prototype.notifyComplete=function(){},e}(i.a)},p0ib:function(t,e,n){"use strict";var r=n("6blF"),i=n("nkY7"),o=n("psW0");function s(t){return t}var a=n("IUTb");function l(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=Number.POSITIVE_INFINITY,l=null,u=t[t.length-1];return Object(i.a)(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 r.a?t[0]:function(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),Object(o.a)(s,t)}(n)(Object(a.a)(t,l))}n.d(e,"a",function(){return l})},psW0:function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n("mrSG"),i=n("zotm"),o=n("MGBS"),s=n("rPjj"),a=n("67Y/"),l=n("0/uQ");function u(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof e?function(r){return r.pipe(u(function(n,r){return Object(l.a)(t(n,r)).pipe(Object(a.a)(function(t,i){return e(n,t,r,i)}))},n))}:("number"==typeof e&&(n=e),function(e){return e.lift(new c(t,n))})}var c=function(){function t(t,e){void 0===e&&(e=Number.POSITIVE_INFINITY),this.project=t,this.concurrent=e}return t.prototype.call=function(t,e){return e.subscribe(new h(t,this.project,this.concurrent))},t}(),h=function(t){function e(e,n,r){void 0===r&&(r=Number.POSITIVE_INFINITY);var i=t.call(this,e)||this;return i.project=n,i.concurrent=r,i.hasCompleted=!1,i.buffer=[],i.active=0,i.index=0,i}return r.c(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(r){return void this.destination.error(r)}this.active++,this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var r=new s.a(this,e,n),o=this.destination;o.add(r);var a=Object(i.a)(this,t,void 0,void 0,r);a!==r&&o.add(a)},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()},e.prototype.notifyNext=function(t,e,n,r,i){this.destination.next(e)},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}(o.a)},pugT:function(t,e,n){"use strict";var r=n("isby"),i=n("McSo"),o=n("2Bdj"),s=function(){function t(t){return Error.call(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(function(t,e){return e+1+") "+t.toString()}).join("\n  "):"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t}();n.d(e,"a",function(){return a});var a=function(){function t(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}var e;return t.prototype.unsubscribe=function(){var e;if(!this.closed){var n=this._parentOrParents,a=this._unsubscribe,u=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(var c=0;c<n.length;++c)n[c].remove(this);if(Object(o.a)(a))try{a.call(this)}catch(f){e=f instanceof s?l(f.errors):[f]}if(Object(r.a)(u)){c=-1;for(var h=u.length;++c<h;){var p=u[c];if(Object(i.a)(p))try{p.unsubscribe()}catch(f){e=e||[],f instanceof s?e=e.concat(l(f.errors)):e.push(f)}}}if(e)throw new s(e)}},t.prototype.add=function(e){var n=e;if(!e)return t.EMPTY;switch(typeof e){case"function":n=new t(e);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof t)){var r=n;(n=new t)._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}var i=n._parentOrParents;if(null===i)n._parentOrParents=this;else if(i instanceof t){if(i===this)return n;n._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return n;i.push(this)}var o=this._subscriptions;return null===o?this._subscriptions=[n]:o.push(n),n},t.prototype.remove=function(t){var e=this._subscriptions;if(e){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}},t.EMPTY=((e=new t).closed=!0,e),t}();function l(t){return t.reduce(function(t,e){return t.concat(e instanceof s?e.errors:e)},[])}},rPjj:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("mrSG"),i=function(t){function e(e,n,r){var i=t.call(this)||this;return i.parent=e,i.outerValue=n,i.outerIndex=r,i.index=0,i}return r.c(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("FFOo").a)},t9fZ:function(t,e,n){"use strict";var r=n("mrSG"),i=n("FFOo"),o=function(){function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t}(),s=n("G5J1");function a(t){return function(e){return 0===t?Object(s.a)():e.lift(new l(t))}}n.d(e,"a",function(){return a});var l=function(){function t(t){if(this.total=t,this.total<0)throw new o}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.total))},t}(),u=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.count=0,r}return r.c(e,t),e.prototype._next=function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))},e}(i.a)},uMaO:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("mrSG"),i=function(t){function e(e,n){var r=t.call(this)||this;return r.subject=e,r.subscriber=n,r.closed=!1,r}return r.c(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}(n("pugT").a)},xTla:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=function(){return"function"==typeof Symbol&&Symbol.observable||"@@observable"}()},yGQT:function(t,e,n){"use strict";var r=n("mrSG"),i=n("CcnG"),o=n("K9Ia"),s=n("8g8A"),a=function(t){function e(e){var n=t.call(this)||this;return n._value=e,n}return r.c(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),e.prototype._subscribe=function(e){var n=t.prototype._subscribe.call(this,e);return n&&!n.closed&&e.next(this._value),n},e.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new s.a;return this._value},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(o.a),l=n("6blF"),u=n("zo3G"),c=n("mZXl"),h=n("/PH2"),p=n("dC0D"),f=n("67Y/"),d=n("FFOo"),m=function(){function t(t,e){this.compare=t,this.keySelector=e}return t.prototype.call=function(t,e){return e.subscribe(new y(t,this.compare,this.keySelector))},t}(),y=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.keySelector=r,i.hasKey=!1,"function"==typeof n&&(i.compare=n),i}return r.c(e,t),e.prototype.compare=function(t,e){return t===e},e.prototype._next=function(t){var e;try{var n=this.keySelector;e=n?n(t):t}catch(i){return this.destination.error(i)}var r=!1;if(this.hasKey)try{r=(0,this.compare)(this.key,e)}catch(i){return this.destination.error(i)}else this.hasKey=!0;r||(this.key=e,this.destination.next(t))},e}(d.a);function g(t,e){if("function"==typeof e)return v(t,function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return Object(r.a)({},e.apply(void 0,Object(r.g)(n)),{type:t})});switch(e?e._as:"empty"){case"empty":return v(t,function(){return{type:t}});case"props":return v(t,function(e){return Object(r.a)({},e,{type:t})});default:throw new Error("Unexpected config.")}}function v(t,e){return Object.defineProperty(e,"type",{value:t,writable:!1})}n.d(e,"C",function(){return yt}),n.d(e,"V",function(){return ft}),n.d(e,"B",function(){return mt}),n.d(e,"A",function(){return dt}),n.d(e,"T",function(){return xt}),n.d(e,"R",function(){return Et}),n.d(e,"Q",function(){return _t}),n.d(e,"P",function(){return bt}),n.d(e,"S",function(){return wt}),n.d(e,"U",function(){return Ct}),n.d(e,"O",function(){return B}),n.d(e,"J",function(){return I}),n.d(e,"I",function(){return D}),n.d(e,"L",function(){return M}),n.d(e,"G",function(){return P}),n.d(e,"E",function(){return w}),n.d(e,"F",function(){return S}),n.d(e,"M",function(){return V}),n.d(e,"D",function(){return E}),n.d(e,"K",function(){return O}),n.d(e,"H",function(){return k}),n.d(e,"N",function(){return L}),n.d(e,"w",function(){return g}),n.d(e,"o",function(){return J}),n.d(e,"u",function(){return z}),n.d(e,"v",function(){return G}),n.d(e,"y",function(){return H}),n.d(e,"a",function(){return _}),n.d(e,"c",function(){return b}),n.d(e,"h",function(){return K}),n.d(e,"j",function(){return U}),n.d(e,"i",function(){return W}),n.d(e,"r",function(){return q}),n.d(e,"l",function(){return Z}),n.d(e,"z",function(){return nt}),n.d(e,"x",function(){return it}),n.d(e,"m",function(){return Q}),n.d(e,"n",function(){return Y}),n.d(e,"e",function(){return x}),n.d(e,"g",function(){return C}),n.d(e,"d",function(){return A}),n.d(e,"k",function(){return T}),n.d(e,"f",function(){return N}),n.d(e,"b",function(){return F}),n.d(e,"s",function(){return R}),n.d(e,"t",function(){return j}),n.d(e,"q",function(){return gt}),n.d(e,"p",function(){return vt});var b="@ngrx/store/init",_=function(t){function e(){return t.call(this,{type:b})||this}return Object(r.c)(e,t),e.prototype.next=function(e){if("function"==typeof e)throw new TypeError("\n        Dispatch expected an object, instead it received a function.\n        If you're using the createAction function, make sure to invoke the function\n        before dispatching the action. For example, someAction should be someAction().");if(void 0===e)throw new TypeError("Actions must be objects");if(void 0===e.type)throw new TypeError("Actions must have a type property");t.prototype.next.call(this,e)},e.prototype.complete=function(){},e.prototype.ngOnDestroy=function(){t.prototype.complete.call(this)},e}(a),E=new i.m("@ngrx/store Internal Root Guard"),w=new i.m("@ngrx/store Internal Initial State"),x=new i.m("@ngrx/store Initial State"),C=new i.m("@ngrx/store Reducer Factory"),S=new i.m("@ngrx/store Internal Reducer Factory Provider"),A=new i.m("@ngrx/store Initial Reducers"),P=new i.m("@ngrx/store Internal Initial Reducers"),T=new i.m("@ngrx/store Store Features"),k=new i.m("@ngrx/store Internal Store Reducers"),D=new i.m("@ngrx/store Internal Feature Reducers"),I=new i.m("@ngrx/store Internal Feature Configs"),O=new i.m("@ngrx/store Internal Store Features"),M=new i.m("@ngrx/store Internal Feature Reducers Token"),F=new i.m("@ngrx/store Feature Reducers"),R=new i.m("@ngrx/store User Provided Meta Reducers"),N=new i.m("@ngrx/store Meta Reducers"),V=new i.m("@ngrx/store Internal Resolved Meta Reducers"),j=new i.m("@ngrx/store User Runtime Checks Config"),L=new i.m("@ngrx/store Internal User Runtime Checks Config"),B=new i.m("@ngrx/store Internal Runtime Checks");function z(t,e){void 0===e&&(e={});for(var n=Object.keys(t),r={},i=0;i<n.length;i++){var o=n[i];"function"==typeof t[o]&&(r[o]=t[o])}var s=Object.keys(r);return function(t,n){t=void 0===t?e:t;for(var i=!1,o={},a=0;a<s.length;a++){var l=s[a],u=t[l],c=(0,r[l])(u,n);o[l]=c,i=i||c!==u}return i?o:t}}function G(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){if(0===t.length)return e;var n=t[t.length-1];return t.slice(0,-1).reduceRight(function(t,e){return e(t)},n(e))}}function H(t,e){return Array.isArray(e)&&e.length>0&&(t=G.apply(null,Object(r.g)(e,[t]))),function(e,n){var r=t(e);return function(t,e){return r(t=void 0===t?n:t,e)}}}var U=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.c)(e,t),e}(l.a),W=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.c)(e,t),e}(_),q="@ngrx/store/update-reducers",K=function(t){function e(e,n,r,i){var o=t.call(this,i(r,n))||this;return o.dispatcher=e,o.initialState=n,o.reducers=r,o.reducerFactory=i,o}return Object(r.c)(e,t),e.prototype.addFeature=function(t){this.addFeatures([t])},e.prototype.addFeatures=function(t){var e=t.reduce(function(t,e){var n=e.reducers,i=e.reducerFactory,o=e.metaReducers,s=e.initialState,a=e.key,l="function"==typeof n?function(t){var e=Array.isArray(t)&&t.length>0?G.apply(void 0,Object(r.g)(t)):function(t){return t};return function(t,n){return t=e(t),function(e,r){return t(e=void 0===e?n:e,r)}}}(o)(n,s):H(i,o)(n,s);return t[a]=l,t},{});this.addReducers(e)},e.prototype.removeFeature=function(t){this.removeFeatures([t])},e.prototype.removeFeatures=function(t){this.removeReducers(t.map(function(t){return t.key}))},e.prototype.addReducer=function(t,e){var n;this.addReducers(((n={})[t]=e,n))},e.prototype.addReducers=function(t){this.reducers=Object(r.a)({},this.reducers,t),this.updateReducers(Object.keys(t))},e.prototype.removeReducer=function(t){this.removeReducers([t])},e.prototype.removeReducers=function(t){var e=this;t.forEach(function(t){var n,r;e.reducers=(n=e.reducers,r=t,Object.keys(n).filter(function(t){return t!==r}).reduce(function(t,e){var r;return Object.assign(t,((r={})[e]=n[e],r))},{}))}),this.updateReducers(t)},e.prototype.updateReducers=function(t){this.next(this.reducerFactory(this.reducers,this.initialState)),this.dispatcher.next({type:q,features:t})},e.prototype.ngOnDestroy=function(){this.complete()},e}(a),Z=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.c)(e,t),e.prototype.ngOnDestroy=function(){this.complete()},e}(o.a),Y=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.c)(e,t),e}(l.a),Q=function(t){function e(e,n,r,i){var o=t.call(this,i)||this,s={state:i},a=e.pipe(Object(c.b)(u.a)).pipe(Object(h.a)(n)).pipe(Object(p.a)(X,s));return o.stateSubscription=a.subscribe(function(t){var e=t.action;o.next(t.state),r.next(e)}),o}return Object(r.c)(e,t),e.prototype.ngOnDestroy=function(){this.stateSubscription.unsubscribe(),this.complete()},e.INIT=b,e}(a);function X(t,e){void 0===t&&(t={state:void 0});var n=Object(r.f)(e,2),i=n[0];return{state:(0,n[1])(t.state,i),action:i}}var J=function(t){function e(e,n,r){var i=t.call(this)||this;return i.actionsObserver=n,i.reducerManager=r,i.source=e,i}var n;return Object(r.c)(e,t),n=e,e.prototype.select=function(t){for(var e,n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];return(e=$).call.apply(e,Object(r.g)([null,t],n))(this)},e.prototype.lift=function(t){var e=new n(this,this.actionsObserver,this.reducerManager);return e.operator=t,e},e.prototype.dispatch=function(t){this.actionsObserver.next(t)},e.prototype.next=function(t){this.actionsObserver.next(t)},e.prototype.error=function(t){this.actionsObserver.error(t)},e.prototype.complete=function(){this.actionsObserver.complete()},e.prototype.addReducer=function(t,e){this.reducerManager.addReducer(t,e)},e.prototype.removeReducer=function(t){this.reducerManager.removeReducer(t)},e}(l.a);function $(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return function(i){var o;if("string"==typeof t){var s=Object(r.g)([e],n).filter(Boolean);o=i.pipe((function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t.length;if(0===n)throw new Error("list of properties cannot be empty.");return function(e){return Object(f.a)(function(t,e){return function(n){for(var r=n,i=0;i<e;i++){var o=r[t[i]];if(void 0===o)return;r=o}return r}}(t,n))(e)}}).apply(void 0,Object(r.g)([t],s)))}else{if("function"!=typeof t)throw new TypeError("Unexpected type '"+typeof t+"' in select operator, expected 'string' or 'function'");o=i.pipe(Object(f.a)(function(n){return t(n,e)}))}return o.pipe(function(t){return t.lift(new m(void 0,void 0))})}}function tt(t,e){return t===e}function et(t,e,n){void 0===e&&(e=tt),void 0===n&&(n=tt);var r,i=null,o=null;return{memoized:function(){if(void 0!==r)return r;if(!i)return o=t.apply(null,arguments),i=arguments,o;if(!function(t,e,n){for(var r=0;r<t.length;r++)if(!n(t[r],e[r]))return!0;return!1}(arguments,i,e))return o;var s=t.apply(null,arguments);return i=arguments,n(o,s)?o:(o=s,s)},reset:function(){i=null,o=null},setResult:function(t){void 0===t&&(t=void 0),r=t}}}function nt(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return(n=et,void 0===i&&(i={stateFn:rt}),function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var o=t;if(Array.isArray(o[0])){var s=Object(r.f)(o),a=s[0],l=s.slice(1);o=Object(r.g)(a,l)}var u=o.slice(0,o.length-1),c=o[o.length-1],h=u.filter(function(t){return t.release&&"function"==typeof t.release}),p=n(function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return c.apply(null,t)}),f=et(function(t,e){return i.stateFn.apply(null,[t,u,e,p])});return Object.assign(f.memoized,{release:function(){f.reset(),p.reset(),h.forEach(function(t){return t.release()})},projector:p.memoized,setResult:f.setResult})}).apply(void 0,Object(r.g)(t));var n,i}function rt(t,e,n,i){if(void 0===n){var o=e.map(function(e){return e(t)});return i.memoized.apply(null,o)}var s=e.map(function(e){return e(t,n)});return i.memoized.apply(null,Object(r.g)(s,[n]))}function it(t){return nt(function(e){var n=e[t];return!Object(i.N)()||t in e||console.warn('@ngrx/store: The feature name "'+t+"\" does not exist in the state, therefore createFeatureSelector cannot access it.  Be sure it is imported in a loaded module using StoreModule.forRoot('"+t+"', ...) or StoreModule.forFeature('"+t+"', ...).  If the default state is intended to be undefined, as is the case with router state, this development-only warning message can be ignored."),n},function(t){return t})}function ot(t){return void 0===t}function st(t){return null===t}function at(t){return Array.isArray(t)}function lt(t){return"object"==typeof t&&null!==t}function ut(t){return"function"==typeof t}function ct(t){Object.freeze(t);var e=ut(t);return Object.getOwnPropertyNames(t).forEach(function(n){if(function(t,e){return Object.prototype.hasOwnProperty.call(t,n)}(t)&&(!e||"caller"!==n&&"callee"!==n&&"arguments"!==n)){var r=t[n];!lt(r)&&!ut(r)||Object.isFrozen(r)||ct(r)}}),t}function ht(t,e){return void 0===e&&(e=[]),(ot(t)||st(t))&&0===e.length?{path:["root"],value:t}:Object.keys(t).reduce(function(n,i){if(n)return n;var o=t[i];return!(ot(o)||st(o)||"number"==typeof o||"boolean"==typeof o||"string"==typeof o||at(o))&&(function(t){if(!function(t){return lt(t)&&!at(t)}(t))return!1;var e=Object.getPrototypeOf(t);return e===Object.prototype||null===e}(o)?ht(o,Object(r.g)(e,[i])):{path:Object(r.g)(e,[i]),value:o})},!1)}function pt(t,e){if(!1!==t){var n=t.path.join("."),r=new Error("Detected unserializable "+e+' at "'+n+'"');throw r.value=t.value,r.unserializablePath=n,r}}function ft(t){return Object(i.N)()?(void 0===t&&console.warn("@ngrx/store: runtime checks are currently opt-in but will be the default in the next major version with the possibility to opt-out, see https://ngrx.io/guide/migration/v8 for more information."),Object(r.a)({strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!1,strictActionImmutability:!1},t)):{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!1,strictActionImmutability:!1}}function dt(t){var e=t.strictActionSerializability,n=t.strictStateSerializability;return function(t){return e||n?function(t,e){return function(n,r){e.action&&pt(ht(r),"action");var i=t(n,r);return e.state&&pt(ht(i),"state"),i}}(t,{action:e,state:n}):t}}function mt(t){var e=t.strictActionImmutability,n=t.strictStateImmutability;return function(t){return e||n?function(t,e){return function(n,r){var i=e.action?ct(r):r,o=t(n,i);return e.state?ct(o):o}}(t,{action:e,state:n}):t}}function yt(t){return t}var gt=function(){return function(t,e,n,r,i){}}(),vt=function(){function t(t,e,n,i){this.features=t,this.featureReducers=e,this.reducerManager=n;var o=t.map(function(t,n){var i=e.shift()[n];return Object(r.a)({},t,{reducers:i,initialState:wt(t.initialState)})});n.addFeatures(o)}return t.prototype.ngOnDestroy=function(){this.reducerManager.removeFeatures(this.features)},t}();function bt(t,e){return e instanceof i.m?t.get(e):e}function _t(t,e,n){return n.map(function(n,r){if(e[r]instanceof i.m){var o=t.get(e[r]);return{key:n.key,reducerFactory:o.reducerFactory?o.reducerFactory:z,metaReducers:o.metaReducers?o.metaReducers:[],initialState:o.initialState}}return n})}function Et(t,e){return e.map(function(e){return e instanceof i.m?t.get(e):e})}function wt(t){return"function"==typeof t?t():t}function xt(t,e){return t.concat(e)}function Ct(t){if(t)throw new TypeError("StoreModule.forRoot() called twice. Feature modules should use StoreModule.forFeature() instead.");return"guarded"}},zUnb:function(t,e,n){"use strict";n.r(e);var r=n("CcnG"),i=function(){return function(){}}(),o=function(){return function(){}}(),s=n("mrSG"),a=function(){return function(){}}(),l=void 0,u=["en",[["a","p"],["AM","PM"],l],[["AM","PM"],l,l],[["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"]],l,[["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"]],l,[["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}",l,"{1} 'at' {0}",l],[".",",",";","%","+","-","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}],c={},h=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({}),p=new r.m("UseV4Plurals"),f=function(){return function(){}}(),d=function(t){function e(e,n){var r=t.call(this)||this;return r.locale=e,r.deprecatedPluralFn=n,r}return Object(s.c)(e,t),e.prototype.getPluralCategory=function(t,e){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(e||this.locale,t):function(t){return function(t){var e=t.toLowerCase().replace(/_/g,"-"),n=c[e];if(n)return n;var r=e.split("-")[0];if(n=c[r])return n;if("en"===r)return u;throw new Error('Missing locale data for the locale "'+t+'".')}(t)[18]}(e||this.locale)(t)){case h.Zero:return"zero";case h.One:return"one";case h.Two:return"two";case h.Few:return"few";case h.Many:return"many";default:return"other"}},e}(f);function m(t,e){var n,r;e=encodeURIComponent(e);try{for(var i=Object(s.h)(t.split(";")),o=i.next();!o.done;o=i.next()){var a=o.value,l=a.indexOf("="),u=Object(s.f)(-1==l?[a,""]:[a.slice(0,l),a.slice(l+1)],2),c=u[1];if(u[0].trim()===e)return decodeURIComponent(c)}}catch(h){n={error:h}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return null}var y=function(){return function(){}}(),g=function(){function t(t,e,n,r){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=r,this._initialClasses=[]}return t.prototype.getValue=function(){return null},t.prototype.setClass=function(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)},t.prototype.setNgClass=function(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(Object(r.kb)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},t.prototype.applyChanges=function(){if(this._iterableDiffer){var t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){var e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}},t.prototype._applyKeyValueChanges=function(t){var e=this;t.forEachAddedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachChangedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachRemovedItem(function(t){t.previousValue&&e._toggleClass(t.key,!1)})},t.prototype._applyIterableChanges=function(t){var e=this;t.forEachAddedItem(function(t){if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Object(r.wb)(t.item));e._toggleClass(t.item,!0)}),t.forEachRemovedItem(function(t){return e._toggleClass(t.item,!1)})},t.prototype._applyClasses=function(t){var e=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach(function(t){return e._toggleClass(t,!0)}):Object.keys(t).forEach(function(n){return e._toggleClass(n,!!t[n])}))},t.prototype._removeClasses=function(t){var e=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach(function(t){return e._toggleClass(t,!1)}):Object.keys(t).forEach(function(t){return e._toggleClass(t,!1)}))},t.prototype._toggleClass=function(t,e){var n=this;(t=t.trim())&&t.split(/\s+/g).forEach(function(t){e?n._renderer.addClass(n._ngEl.nativeElement,t):n._renderer.removeClass(n._ngEl.nativeElement,t)})},t}(),v=function(t){function e(e){return t.call(this,e)||this}return Object(s.c)(e,t),Object.defineProperty(e.prototype,"klass",{set:function(t){this._delegate.setClass(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClass",{set:function(t){this._delegate.setNgClass(t)},enumerable:!0,configurable:!0}),e.prototype.ngDoCheck=function(){this._delegate.applyChanges()},e}(function(){function t(t){this._delegate=t}return t.prototype.getValue=function(){return this._delegate.getValue()},t.ngDirectiveDef=void 0,t}()),b=function(){function t(t,e){this._viewContainer=t,this._context=new _,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){E("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngIfElse",{set:function(t){E("ngIfElse",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.ngTemplateGuard_ngIf=function(t,e){return!0},t}(),_=function(){return function(){this.$implicit=null,this.ngIf=null}}();function E(t,e){if(e&&!e.createEmbeddedView)throw new Error(t+" must be a TemplateRef, but received '"+Object(r.wb)(e)+"'.")}var w=function(){return function(){}}(),x=function(){function t(t,e,n){this._ngEl=t,this._differs=e,this._renderer=n}return t.prototype.getValue=function(){return null},t.prototype.setNgStyle=function(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())},t.prototype.applyChanges=function(){if(this._differ){var t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}},t.prototype._applyChanges=function(t){var e=this;t.forEachRemovedItem(function(t){return e._setStyle(t.key,null)}),t.forEachAddedItem(function(t){return e._setStyle(t.key,t.currentValue)}),t.forEachChangedItem(function(t){return e._setStyle(t.key,t.currentValue)})},t.prototype._setStyle=function(t,e){var n=Object(s.f)(t.split("."),2),r=n[0],i=n[1];null!=(e=null!=e&&i?""+e+i:e)?this._renderer.setStyle(this._ngEl.nativeElement,r,e):this._renderer.removeStyle(this._ngEl.nativeElement,r)},t}(),C=function(t){function e(e){return t.call(this,e)||this}return Object(s.c)(e,t),Object.defineProperty(e.prototype,"ngStyle",{set:function(t){this._delegate.setNgStyle(t)},enumerable:!0,configurable:!0}),e.prototype.ngDoCheck=function(){this._delegate.applyChanges()},e}(function(){function t(t){this._delegate=t}return t.prototype.getValue=function(){return this._delegate.getValue()},t.ngDirectiveDef=void 0,t}()),S=function(){function t(){}return t.prototype.createSubscription=function(t,e){return t.subscribe({next:e,error:function(t){throw t}})},t.prototype.dispose=function(t){t.unsubscribe()},t.prototype.onDestroy=function(t){t.unsubscribe()},t}(),A=new(function(){function t(){}return t.prototype.createSubscription=function(t,e){return t.then(e,function(t){throw t})},t.prototype.dispose=function(t){},t.prototype.onDestroy=function(t){},t}()),P=new S,T=function(){function t(t){this._ref=t,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}var e;return e=t,t.prototype.ngOnDestroy=function(){this._subscription&&this._dispose()},t.prototype.transform=function(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):Object(r.nb)(this._latestValue,this._latestReturnedValue)?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,r.I.wrap(this._latestValue)):(t&&this._subscribe(t),this._latestReturnedValue=this._latestValue,this._latestValue)},t.prototype._subscribe=function(t){var e=this;this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,function(n){return e._updateLatestValue(t,n)})},t.prototype._selectStrategy=function(t){if(Object(r.mb)(t))return A;if(Object(r.lb)(t))return P;throw n=e,Error("InvalidPipeArgument: '"+t+"' for pipe '"+Object(r.wb)(n)+"'");var n},t.prototype._dispose=function(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null},t.prototype._updateLatestValue=function(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())},t}(),k=function(){return function(){}}(),D=new r.m("DocumentToken"),I="server";function O(t){return t===I}var M=function(){function t(){this.className="image-1",this.currentIndex=1,this.maxIndex=3}return t.prototype.ngOnInit=function(){var t=this;$("section.hero").hasClass("no-slider")||setInterval(function(){t.currentIndex++,t.currentIndex>t.maxIndex&&(t.currentIndex=1),t.className="image-"+t.currentIndex},4500)},t}(),F=r.fb({encapsulation:0,styles:[[""]],data:{}});function R(t){return r.zb(0,[(t()(),r.hb(0,0,null,null,14,"section",[["class","hero sale no-slider valentines"]],null,null,null,null,null)),(t()(),r.hb(1,0,null,null,13,"div",[["class","container"]],null,null,null,null,null)),(t()(),r.hb(2,0,null,null,9,"div",[["class","hero-copy"]],null,null,null,null,null)),(t()(),r.hb(3,0,null,null,1,"h5",[["class","heading-epsilon"]],null,null,null,null,null)),(t()(),r.xb(-1,null,["VALENTINE\u2019S DAY SALE\u2014SAVE $20"])),(t()(),r.hb(5,0,null,null,3,"h1",[["class","heading-alpha"]],null,null,null,null,null)),(t()(),r.xb(-1,null,["Share the love."])),(t()(),r.hb(7,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),r.xb(-1,null,["Give Family Finder."])),(t()(),r.hb(9,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),r.hb(10,0,null,null,1,"a",[["class","btn btn-custom btn-large"],["href","#productCards"]],null,null,null,null,null)),(t()(),r.xb(-1,null,["SHOP NOW"])),(t()(),r.hb(12,0,null,null,2,"div",[["class","hero-slider"]],null,null,null,null,null)),r.ub(512,null,y,g,[r.o,r.p,r.i,r.x]),r.gb(14,278528,null,0,v,[y],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null)],function(t,e){t(e,14,0,"hero-slider",e.component.className)},null)}function N(t){return r.zb(0,[(t()(),r.hb(0,0,null,null,12,"section",[["class","hero sale no-slider winter"]],null,null,null,null,null)),(t()(),r.hb(1,0,null,null,11,"div",[["class","container"]],null,null,null,null,null)),(t()(),r.hb(2,0,null,null,7,"div",[["class","hero-copy"]],null,null,null,null,null)),(t()(),r.hb(3,0,null,null,1,"h1",[["class","heading-alpha"]],null,null,null,null,null)),(t()(),r.xb(-1,null,["Enjoy up to $70 off."])),(t()(),r.hb(5,0,null,null,1,"p",[["class","hero-subheading"]],null,null,null,null,null)),(t()(),r.xb(-1,null,["This holiday season, connect with family through the gift of ancestry."])),(t()(),r.hb(7,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),r.hb(8,0,null,null,1,"a",[["class","btn btn-custom btn-large"],["href","#productCards"]],null,null,null,null,null)),(t()(),r.xb(-1,null,["SHOP NOW"])),(t()(),r.hb(10,0,null,null,2,"div",[["class","hero-slider"]],null,null,null,null,null)),r.ub(512,null,y,g,[r.o,r.p,r.i,r.x]),r.gb(12,278528,null,0,v,[y],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null)],function(t,e){t(e,12,0,"hero-slider",e.component.className)},null)}function V(t){return r.zb(0,[(t()(),r.hb(0,0,null,null,14,"section",[["class","hero sale no-slider blackfriday"]],null,null,null,null,null)),(t()(),r.hb(1,0,null,null,13,"div",[["class","container"]],null,null,null,null,null)),(t()(),r.hb(2,0,null,null,9,"div",[["class","hero-copy"]],null,null,null,null,null)),(t()(),r.hb(3,0,null,null,3,"h1",[["class","heading-alpha"]],null,null,null,null,null)),(t()(),r.xb(-1,null,["Black Friday Sale."])),(t()(),r.hb(5,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),r.xb(-1,null,[" Family Finder only $49."])),(t()(),r.hb(7,0,null,null,1,"p",[["class","hero-subheading"]],null,null,null,null,null)),(t()(),r.xb(-1,null,["Explore the world of DNA and learn more with up to $70 off tests."])),(t()(),r.hb(9,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),r.hb(10,0,null,null,1,"a",[["class","btn btn-black-f btn-large"],["href","#productCards"]],null,null,null,null,null)),(t()(),r.xb(-1,null,["SHOP NOW"])),(t()(),r.hb(12,0,null,null,2,"div",[["class","hero-slider"]],null,null,null,null,null)),r.ub(512,null,y,g,[r.o,r.p,r.i,r.x]),r.gb(14,278528,null,0,v,[y],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null)],function(t,e){t(e,14,0,"hero-slider",e.component.className)},null)}function j(t){return r.zb(0,[(t()(),r.hb(0,0,null,null,14,"section",[["class","hero sale no-slider thanksgiving"]],null,null,null,null,null)),(t()(),r.hb(1,0,null,null,13,"div",[["class","container"]],null,null,null,null,null)),(t()(),r.hb(2,0,null,null,9,"div",[["class","hero-copy"]],null,null,null,null,null)),(t()(),r.hb(3,0,null,null,3,"h1",[["class","heading-alpha"]],null,null,null,null,null)),(t()(),r.xb(-1,null,["Give thanks."])),(t()(),r.hb(5,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),r.xb(-1,null,[" Up to $70 off."])),(t()(),r.hb(7,0,null,null,1,"p",[["class","hero-subheading"]],null,null,null,null,null)),(t()(),r.xb(-1,null,["Explore the world of DNA and learn more about your ancestry"])),(t()(),r.hb(9,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),r.hb(10,0,null,null,1,"a",[["class","btn btn-main btn-large"],["href","#productCards"]],null,null,null,null,null)),(t()(),r.xb(-1,null,["SHOP NOW"])),(t()(),r.hb(12,0,null,null,2,"div",[["class","hero-slider"]],null,null,null,null,null)),r.ub(512,null,y,g,[r.o,r.p,r.i,r.x]),r.gb(14,278528,null,0,v,[y],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null)],function(t,e){t(e,14,0,"hero-slider",e.component.className)},null)}function L(t){return r.zb(0,[(t()(),r.hb(0,0,null,null,17,"section",[["class","hero"]],null,null,null,null,null)),(t()(),r.hb(1,0,null,null,16,"div",[["class","container"]],null,null,null,null,null)),(t()(),r.hb(2,0,null,null,11,"div",[["class","hero-copy"]],null,null,null,null,null)),(t()(),r.hb(3,0,null,null,3,"h1",[["class","heading-alpha"]],null,null,null,null,null)),(t()(),r.xb(-1,null,["Begin Your"])),(t()(),r.hb(5,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),r.xb(-1,null,["DNA Journey"])),(t()(),r.hb(7,0,null,null,3,"p",[["class","hero-subheading"]],null,null,null,null,null)),(t()(),r.xb(-1,null,["Explore the world of DNA and"])),(t()(),r.hb(9,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),r.xb(-1,null,[" learn more about your ancestry"])),(t()(),r.hb(11,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),r.hb(12,0,null,null,1,"a",[["class","btn btn-main btn-large"],["href","#productCards"]],null,null,null,null,null)),(t()(),r.xb(-1,null,["SHOP NOW"])),(t()(),r.hb(14,0,null,null,2,"div",[["class","hero-slider"]],null,null,null,null,null)),r.ub(512,null,y,g,[r.o,r.p,r.i,r.x]),r.gb(16,278528,null,0,v,[y],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(t()(),r.hb(17,0,null,null,0,"div",[["class","new-populations"]],null,null,null,null,null))],function(t,e){t(e,16,0,"hero-slider",e.component.className)},null)}function B(t){return r.zb(0,[(t()(),r.W(16777216,null,null,1,null,R)),r.gb(1,16384,null,0,b,[r.G,r.D],{ngIf:[0,"ngIf"]},null),(t()(),r.W(16777216,null,null,1,null,N)),r.gb(3,16384,null,0,b,[r.G,r.D],{ngIf:[0,"ngIf"]},null),(t()(),r.W(16777216,null,null,1,null,V)),r.gb(5,16384,null,0,b,[r.G,r.D],{ngIf:[0,"ngIf"]},null),(t()(),r.W(16777216,null,null,1,null,j)),r.gb(7,16384,null,0,b,[r.G,r.D],{ngIf:[0,"ngIf"]},null),(t()(),r.W(16777216,null,null,1,null,L)),r.gb(9,16384,null,0,b,[r.G,r.D],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,1,0,4===n.model.saleType),t(e,3,0,3===n.model.saleType),t(e,5,0,2===n.model.saleType),t(e,7,0,1===n.model.saleType),t(e,9,0,0===n.model.saleType)},null)}var z=function(){function t(){}return t.prototype.ngOnInit=function(){this.ffOriginalPrice=this.model.ffPrice.offerInfo.originalPrice,this.mtdnaOriginalPrice=this.model.mtPrice.offerInfo.originalPrice,this.y37OriginalPrice=this.model.yPrice.offerInfo.originalPrice},t}(),G=r.fb({encapsulation:0,styles:[[""]],data:{}});function H(t){return r.zb(0,[(t()(),r.hb(0,0,null,null,4,"span",[["class","before"]],null,null,null,null,null)),(t()(),r.hb(1,0,null,null,1,"del",[],null,null,null,null,null)),(t()(),r.xb(2,null,["$",""])),(t()(),r.hb(3,0,null,null,1,"sup",[],null,null,null,null,null)),(t()(),r.xb(-1,null,["USD"]))],null,function(t,e){t(e,2,0,e.component.ffOriginalPrice)})}function U(t){return r.zb(0,[(t()(),r.hb(0,0,null,null,4,"span",[["class","before"]],null,null,null,null,null)),(t()(),r.hb(1,0,null,null,1,"del",[],null,null,null,null,null)),(t()(),r.xb(2,null,["$",""])),(t()(),r.hb(3,0,null,null,1,"sup",[],null,null,null,null,null)),(t()(),r.xb(-1,null,["USD"]))],null,function(t,e){t(e,2,0,e.component.y37OriginalPrice)})}function W(t){return r.zb(0,[(t()(),r.hb(0,0,null,null,4,"span",[["class","before"]],null,null,null,null,null)),(t()(),r.hb(1,0,null,null,1,"del",[],null,null,null,null,null)),(t()(),r.xb(2,null,["$",""])),(t()(),r.hb(3,0,null,null,1,"sup",[],null,null,null,null,null)),(t()(),r.xb(-1,null,["USD"]))],null,function(t,e){t(e,2,0,e.component.mtdnaOriginalPrice)})}function q(t){return r.zb(0,[(t()(),r.hb(0,0,null,null,122,"div",[["class","card-grid"]],null,null,null,null,null)),(t()(),r.hb(1,0,null,null,41,"div",[["class","card"]],null,null,null,null,null)),(t()(),r.hb(2,0,null,null,4,"div",[["class","dna-kit ff-kit"]],null,null,null,null,null)),(t()(),r.hb(3,0,null,null,2,"div",[["class","badge-offer light-blue"]],null,null,null,null,null)),(t()(),r.hb(4,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),r.xb(-1,null,["FAMILY FINDER"])),(t()(),r.hb(6,0,null,null,0,"img",[["alt","FamilyTreeDNA Kit"],["src","/Areas/Main/Apps/Home/images/ftdna_box_front_view@2x.png"]],null,null,null,null,null)),(t()(),r.hb(7,0,null,null,1,"h3",[["class","heading-gama"]],null,null,null,null,null)),(t()(),r.xb(-1,null,["FAMILY ANCESTRY"])),(t()(),r.hb(9,0,null,null,2,"h6",[["class","heading-zeta"]],null,null,null,null,null)),(t()(),r.hb(10,0,null,null,1,"i",[],null,null,null,null,null)),(t()(),r.xb(-1,null,["*Male & Female Test"])),(t()(),r.hb(12,0,null,null,0,"div",[["class","divider"]],null,null,null,null,null)),(t()(),r.hb(13,0,null,null,1,"div",[["class","badge-pop"]],null,null,null,null,null)),(t()(),r.xb(-1,null,["60+ NEW POPULATIONS"])),(t()(),r.hb(15,0,null,null,12,"ul",[],null,null,null,null,null)),(t()(),r.hb(16,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),r.hb(17,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),r.xb(-1,null,["Get a refined view of your ancestry and discover the percentage breakdown of your origins"])),(t()(),r.hb(19,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),r.hb(20,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),r.xb(-1,null,["Connect with your autosomal DNA relatives within the last 5 generations"])),(t()(),r.hb(22,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),r.hb(23,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),r.xb(-1,null,["Learn if you have a connection with ancient European groups"])),(t()(),r.hb(25,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),r.hb(26,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),r.xb(-1,null,["Compare matching segments of DNA (blocks) with your genetic matches"])),(t()(),r.hb(28,0,null,null,8,"div",[["class","price"]],null,null,null,null,null)),(t()(),r.hb(29,0,null,null,1,"div",[["class","heading-price"]],null,null,null,null,null)),(t()(),r.xb(-1,null,["Now Only"])),(t()(),r.W(16777216,null,null,1,null,H)),r.gb(32,16384,null,0,b,[r.G,r.D],{ngIf:[0,"ngIf"]},null),(t()(),r.hb(33,0,null,null,3,"span",[["class","now ff-color"]],null,null,null,null,null)),(t()(),r.xb(34,null,[" ",""])),(t()(),r.hb(35,0,null,null,1,"sup",[],null,null,null,null,null)),(t()(),r.xb(-1,null,["USD"])),(t()(),r.hb(37,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),r.hb(38,0,null,null,1,"a",[["attr.data-name","Family Finder"],["class","btn btn-green btn-regular add-product-button"],["id","btn-hero-order-now"],["role","button"]],[[1,"data-id",0],[1,"data-price",0]],null,null,null,null)),(t()(),r.xb(-1,null,["ORDER NOW"])),(t()(),r.hb(40,0,null,null,2,"div",[["class","learn-more"]],null,null,null,null,null)),(t()(),r.hb(41,0,null,null,1,"a",[["href","/products/family-finder"]],null,null,null,null,null)),(t()(),r.xb(-1,null,["Learn more"])),(t()(),r.hb(43,0,null,null,39,"div",[["class","card"]],null,null,null,null,null)),(t()(),r.hb(44,0,null,null,4,"div",[["class","dna-kit"]],null,null,null,null,null)),(t()(),r.hb(45,0,null,null,2,"div",[["class","badge-offer light-orange"]],null,null,null,null,null)),(t()(),r.hb(46,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),r.xb(-1,null,["Y-DNA"])),(t()(),r.hb(48,0,null,null,0,"img",[["alt","FamilyTreeDNA Kit"],["src","/Areas/Main/Apps/Home/images/ftdna_box_front_view@2x.png"]],null,null,null,null,null)),(t()(),r.hb(49,0,null,null,1,"h3",[["class","heading-gama"]],null,null,null,null,null)),(t()(),r.xb(-1,null,["PATERNAL ANCESTRY"])),(t()(),r.hb(51,0,null,null,2,"h6",[["class","heading-zeta"]],null,null,null,null,null)),(t()(),r.hb(52,0,null,null,1,"i",[],null,null,null,null,null)),(t()(),r.xb(-1,null,["*Male-Specific Test"])),(t()(),r.hb(54,0,null,null,0,"div",[["class","divider"]],null,null,null,null,null)),(t()(),r.hb(55,0,null,null,12,"ul",[],null,null,null,null,null)),(t()(),r.hb(56,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),r.hb(57,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),r.xb(-1,null,["Explore your heritage on your paternal line"])),(t()(),r.hb(59,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),r.hb(60,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),r.xb(-1,null,["Connect with your paternal-line relatives in our Y-DNA database"])),(t()(),r.hb(62,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),r.hb(63,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),r.xb(-1,null,["Follow the migration paths of your male ancestors"])),(t()(),r.hb(65,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),r.hb(66,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),r.xb(-1,null,["Trace your surname to its roots and build your family tree"])),(t()(),r.hb(68,0,null,null,8,"div",[["class","price"]],null,null,null,null,null)),(t()(),r.hb(69,0,null,null,1,"div",[["class","heading-price"]],null,null,null,null,null)),(t()(),r.xb(-1,null,["Starting at"])),(t()(),r.W(16777216,null,null,1,null,U)),r.gb(72,16384,null,0,b,[r.G,r.D],{ngIf:[0,"ngIf"]},null),(t()(),r.hb(73,0,null,null,3,"span",[["class","now y-color"]],null,null,null,null,null)),(t()(),r.xb(74,null,[" ",""])),(t()(),r.hb(75,0,null,null,1,"sup",[],null,null,null,null,null)),(t()(),r.xb(-1,null,["USD"])),(t()(),r.hb(77,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),r.hb(78,0,null,null,1,"a",[["class","btn btn-blue btn-regular"],["href","/products/y-dna#compare"]],null,null,null,null,null)),(t()(),r.xb(-1,null,["SHOP NOW"])),(t()(),r.hb(80,0,null,null,2,"div",[["class","learn-more"]],null,null,null,null,null)),(t()(),r.hb(81,0,null,null,1,"a",[["href","/products/y-dna"]],null,null,null,null,null)),(t()(),r.xb(-1,null,["Learn more"])),(t()(),r.hb(83,0,null,null,39,"div",[["class","card"]],null,null,null,null,null)),(t()(),r.hb(84,0,null,null,4,"div",[["class","dna-kit"]],null,null,null,null,null)),(t()(),r.hb(85,0,null,null,2,"div",[["class","badge-offer light-green "]],null,null,null,null,null)),(t()(),r.hb(86,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),r.xb(-1,null,["mtDNA"])),(t()(),r.hb(88,0,null,null,0,"img",[["alt","FamilyTreeDNA Kit"],["src","/Areas/Main/Apps/Home/images/ftdna_box_front_view@2x.png"]],null,null,null,null,null)),(t()(),r.hb(89,0,null,null,1,"h3",[["class","heading-gama"]],null,null,null,null,null)),(t()(),r.xb(-1,null,["MATERNAL ANCESTRY"])),(t()(),r.hb(91,0,null,null,2,"h6",[["class","heading-zeta"]],null,null,null,null,null)),(t()(),r.hb(92,0,null,null,1,"i",[],null,null,null,null,null)),(t()(),r.xb(-1,null,["*Male & Female Test"])),(t()(),r.hb(94,0,null,null,0,"div",[["class","divider"]],null,null,null,null,null)),(t()(),r.hb(95,0,null,null,12,"ul",[],null,null,null,null,null)),(t()(),r.hb(96,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),r.hb(97,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),r.xb(-1,null,["Explore your heritage on your maternal line"])),(t()(),r.hb(99,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),r.hb(100,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),r.xb(-1,null,["Connect with your maternal-line relatives in our mtDNA database"])),(t()(),r.hb(102,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),r.hb(103,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),r.xb(-1,null,["Follow the migration paths of your female ancestors"])),(t()(),r.hb(105,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),r.hb(106,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),r.xb(-1,null,["Receive a personalized mtDNA Full Sequence video"])),(t()(),r.hb(108,0,null,null,8,"div",[["class","price"]],null,null,null,null,null)),(t()(),r.hb(109,0,null,null,1,"div",[["class","heading-price"]],null,null,null,null,null)),(t()(),r.xb(-1,null,["Now Only"])),(t()(),r.W(16777216,null,null,1,null,W)),r.gb(112,16384,null,0,b,[r.G,r.D],{ngIf:[0,"ngIf"]},null),(t()(),r.hb(113,0,null,null,3,"span",[["class","now mt-color"]],null,null,null,null,null)),(t()(),r.xb(114,null,[" ",""])),(t()(),r.hb(115,0,null,null,1,"sup",[],null,null,null,null,null)),(t()(),r.xb(-1,null,["USD"])),(t()(),r.hb(117,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),r.hb(118,0,null,null,1,"a",[["class","btn btn-pink btn-regular add-product-button"],["role","button"]],[[1,"data-id",0],[1,"data-price",0],[1,"data-name",0]],null,null,null,null)),(t()(),r.xb(-1,null,["ORDER NOW"])),(t()(),r.hb(120,0,null,null,2,"div",[["class","learn-more"]],null,null,null,null,null)),(t()(),r.hb(121,0,null,null,1,"a",[["href","/products/mt-dna"]],null,null,null,null,null)),(t()(),r.xb(-1,null,["Learn more"]))],function(t,e){var n=e.component;t(e,32,0,n.model.ffPrice.isOriginalPriceVisible),t(e,72,0,n.model.yPrice.isOriginalPriceVisible),t(e,112,0,n.model.mtPrice.isOriginalPriceVisible)},function(t,e){var n=e.component;t(e,34,0,n.model.ffPrice.priceText),t(e,38,0,r.jb(1,"",n.model.ffProductId,""),r.jb(1,"",n.model.ffPrice.offerInfo.price,"")),t(e,74,0,n.model.yPrice.priceText),t(e,114,0,n.model.mtPrice.priceText),t(e,118,0,r.jb(1,"",n.model.mtPrice.offerInfo.productId,""),r.jb(1,"",n.model.mtPrice.offerInfo.price,""),r.jb(1,"",n.model.mtPrice.offerInfo.productName,""))})}var K=n("lPHp"),Z=function(){function t(t){this.platformId=t,this.animCreated=new r.k}return t.prototype.ngOnInit=function(){if(!O(this.platformId)){this._options={container:this.lavContainer.nativeElement,renderer:this.options.renderer||"svg",loop:!1!==this.options.loop,autoplay:!1!==this.options.autoplay,autoloadSegments:!1!==this.options.autoloadSegments,animationData:this.options.animationData,path:this.options.path||"",rendererSettings:this.options.rendererSettings||{}},this.viewWidth=this.width+"px"||!1,this.viewHeight=this.height+"px"||!1;var t=K.loadAnimation(this._options);this.animCreated.emit(t)}},t}(),Y=r.fb({encapsulation:2,styles:[],data:{}});function Q(t){return r.zb(0,[r.vb(402653184,1,{lavContainer:0}),(t()(),r.hb(1,0,[[1,0],["lavContainer",1]],null,3,"div",[],null,null,null,null,null)),r.ub(512,null,w,x,[r.i,r.p,r.x]),r.gb(3,278528,null,0,C,[w],{ngStyle:[0,"ngStyle"]},null),r.tb(4,{width:0,height:1,overflow:2,margin:3})],function(t,e){var n=e.component,r=t(e,4,0,n.viewWidth,n.viewHeight,"hidden","0 auto");t(e,3,0,r)},null)}var X=null;function J(){return X}var tt,et=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"],i=0;i<r.length;i++)if(null!=e.getStyle(n,r[i]+"AnimationName")){e._animationPrefix="-"+r[i].toLowerCase()+"-";break}var o={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(o).forEach(function(t){null!=e.getStyle(n,t)&&(e._transitionEnd=o[t])})}catch(s){e._animationPrefix=null,e._transitionEnd=null}return e}return Object(s.c)(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}()),nt={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},rt={"\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"},it={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"},ot=function(){if(r.ib.Node)return r.ib.Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))}}(),st=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(s.c)(e,t),e.prototype.parse=function(t){throw new Error("parse not implemented")},e.makeCurrent=function(){var t;t=new e,X||(X=t)},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){var r;(r=t)[e].apply(r,Object(s.g)(n))},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 nt},enumerable:!0,configurable:!0}),e.prototype.contains=function(t,e){return ot.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 i=n.item(r);e.set(i.name,i.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(e){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&&it.hasOwnProperty(e)&&(e=it[e]))}return rt[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,n=at||(at=document.querySelector("base"))?at.getAttribute("href"):null;return null==n?null:(e=n,tt||(tt=document.createElement("a")),tt.setAttribute("href",e),"/"===tt.pathname.charAt(0)?tt.pathname:"/"+tt.pathname)},e.prototype.resetBaseElement=function(){at=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 m(document.cookie,t)},e.prototype.setCookie=function(t,e){document.cookie=encodeURIComponent(t)+"="+encodeURIComponent(e)},e}(et),at=null;function lt(){return!!window.history.pushState}var ut=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n._init(),n}return Object(s.c)(e,t),e.prototype._init=function(){this.location=J().getLocation(),this._history=J().getHistory()},e.prototype.getBaseHrefFromDOM=function(){return J().getBaseHref(this._doc)},e.prototype.onPopState=function(t){J().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)},e.prototype.onHashChange=function(t){J().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)},Object.defineProperty(e.prototype,"href",{get:function(){return this.location.href},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"protocol",{get:function(){return this.location.protocol},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hostname",{get:function(){return this.location.hostname},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"port",{get:function(){return this.location.port},enumerable:!0,configurable:!0}),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){lt()?this._history.pushState(t,e,n):this.location.hash=n},e.prototype.replaceState=function(t,e,n){lt()?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.prototype.getState=function(){return this._history.state},Object(s.b)([Object(s.e)(0,Object(r.l)(D)),Object(s.d)("design:paramtypes",[Object])],e)}(a),ct=new r.m("TRANSITION_ID"),ht=[{provide:r.b,useFactory:function(t,e,n){return function(){n.get(r.c).donePromise.then(function(){var n=J();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:[ct,D,r.n],multi:!0}],pt=function(){function t(){}return t.init=function(){Object(r.P)(new t)},t.prototype.addToWindow=function(t){r.ib.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},r.ib.getAllAngularTestabilities=function(){return t.getAllTestabilities()},r.ib.getAllAngularRootElements=function(){return t.getAllRootElements()},r.ib.frameworkStabilizers||(r.ib.frameworkStabilizers=[]),r.ib.frameworkStabilizers.push(function(t){var e=r.ib.getAllAngularTestabilities(),n=e.length,i=!1,o=function(e){i=i||e,0==--n&&t(i)};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?J().isShadowRoot(e)?this.findTestabilityInTree(t,J().getHost(e),!0):this.findTestabilityInTree(t,J().parentElement(e),!0):null},t}();function ft(t,e){"undefined"!=typeof COMPILED&&COMPILED||((r.ib.ng=r.ib.ng||{})[t]=e)}var dt=function(){return{ApplicationRef:r.e,NgZone:r.t}}();function mt(t){return Object(r.M)(t)}var yt=new r.m("EventManagerPlugins"),gt=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 i=n[r];if(i.supports(t))return this._eventNameToPlugin.set(t,i),i}throw new Error("No event manager plugin found for event "+t)},t}(),vt=function(){function t(t){this._doc=t}return t.prototype.addGlobalEventListener=function(t,e,n){var r=J().getGlobalEventTarget(this._doc,t);if(!r)throw new Error("Unsupported event target "+r+" for event "+e);return this.addEventListener(r,e,n)},t}(),bt=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}(),_t=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(s.c)(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 J().remove(t)})},e}(bt),Et={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/"},wt=/%COMP%/g,xt="_nghost-%COMP%",Ct="_ngcontent-%COMP%";function St(t,e,n){for(var r=0;r<e.length;r++){var i=e[r];Array.isArray(i)?St(t,i,n):(i=i.replace(wt,t),n.push(i))}return n}function At(t){return function(e){!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}var Pt=function(){function t(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new Tt(t)}return t.prototype.createRenderer=function(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case r.H.Emulated:var n=this.rendererByCompId.get(e.id);return n||(n=new It(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n;case r.H.Native:case r.H.ShadowDom:return new Ot(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){var i=St(e.id,e.styles,[]);this.sharedStylesHost.addStyles(i),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}},t.prototype.begin=function(){},t.prototype.end=function(){},t}(),Tt=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(Et[e]||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,e){var n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error('The selector "'+t+'" did not match any elements');return e||(n.textContent=""),n},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 i=Et[r];i?t.setAttributeNS(i,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)},t.prototype.removeAttribute=function(t,e,n){if(n){var r=Et[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,i){i&r.z.DashCase?t.style.setProperty(e,n,i&r.z.Important?"important":""):t.style[e]=n},t.prototype.removeStyle=function(t,e,n){n&r.z.DashCase?t.style.removeProperty(e):t.style[e]=""},t.prototype.setProperty=function(t,e,n){Dt(e,"property"),t[e]=n},t.prototype.setValue=function(t,e){t.nodeValue=e},t.prototype.listen=function(t,e,n){return Dt(e,"listener"),"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,At(n)):this.eventManager.addEventListener(t,e,At(n))},t}(),kt=function(){return"@".charCodeAt(0)}();function Dt(t,e){if(t.charCodeAt(0)===kt)throw new Error("Found the synthetic "+e+" "+t+'. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.')}var It=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;o.component=r;var s=St(i+"-"+r.id,r.styles,[]);return n.addStyles(s),o.contentAttr=Ct.replace(wt,i+"-"+r.id),o.hostAttr=xt.replace(wt,i+"-"+r.id),o}return Object(s.c)(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}(Tt),Ot=function(t){function e(e,n,i,o){var s=t.call(this,e)||this;s.sharedStylesHost=n,s.hostEl=i,s.component=o,s.shadowRoot=o.encapsulation===r.H.ShadowDom?i.attachShadow({mode:"open"}):i.createShadowRoot(),s.sharedStylesHost.addHost(s.shadowRoot);for(var a=St(o.id,o.styles,[]),l=0;l<a.length;l++){var u=document.createElement("style");u.textContent=a[l],s.shadowRoot.appendChild(u)}return s}return Object(s.c)(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}(Tt),Mt=function(){return"undefined"!=typeof Zone&&Zone.__symbol__||function(t){return"__zone_symbol__"+t}}(),Ft=Mt("addEventListener"),Rt=Mt("removeEventListener"),Nt={},Vt="__zone_symbol__propagationStopped",jt=function(){var t="undefined"!=typeof Zone&&Zone[Mt("BLACK_LISTED_EVENTS")];if(t){var e={};return t.forEach(function(t){e[t]=t}),e}}(),Lt=function(t){return!!jt&&jt.hasOwnProperty(t)},Bt=function(t){var e=Nt[t.type];if(e){var n=this[e];if(n){var r=[t];if(1===n.length)return(s=n[0]).zone!==Zone.current?s.zone.run(s.handler,this,r):s.handler.apply(this,r);for(var i=n.slice(),o=0;o<i.length&&!0!==t[Vt];o++){var s;(s=i[o]).zone!==Zone.current?s.zone.run(s.handler,this,r):s.handler.apply(this,r)}}}},zt=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.ngZone=n,r&&O(r)||i.patchEvent(),i}return Object(s.c)(e,t),e.prototype.patchEvent=function(){if("undefined"!=typeof Event&&Event&&Event.prototype&&!Event.prototype.__zone_symbol__stopImmediatePropagation){var t=Event.prototype.__zone_symbol__stopImmediatePropagation=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[Vt]=!0),t&&t.apply(this,arguments)}}},e.prototype.supports=function(t){return!0},e.prototype.addEventListener=function(t,e,n){var i=this,o=n;if(!t[Ft]||r.t.isInAngularZone()&&!Lt(e))t.addEventListener(e,o,!1);else{var s=Nt[e];s||(s=Nt[e]=Mt("ANGULAR"+e+"FALSE"));var a=t[s],l=a&&a.length>0;a||(a=t[s]=[]);var u=Lt(e)?Zone.root:Zone.current;if(0===a.length)a.push({zone:u,handler:o});else{for(var c=!1,h=0;h<a.length;h++)if(a[h].handler===o){c=!0;break}c||a.push({zone:u,handler:o})}l||t[Ft](e,Bt,!1)}return function(){return i.removeEventListener(t,e,o)}},e.prototype.removeEventListener=function(t,e,n){var r=t[Rt];if(!r)return t.removeEventListener.apply(t,[e,n,!1]);var i=Nt[e],o=i&&t[i];if(!o)return t.removeEventListener.apply(t,[e,n,!1]);for(var s=!1,a=0;a<o.length;a++)if(o[a].handler===n){s=!0,o.splice(a,1);break}s?0===o.length&&r.apply(t,[e,Bt,!1]):t.removeEventListener.apply(t,[e,n,!1])},e}(vt),Gt={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},Ht=new r.m("HammerGestureConfig"),Ut=new r.m("HammerLoader"),Wt=function(){function t(){this.events=[],this.overrides={}}return t.prototype.buildHammer=function(t){var e=new Hammer(t,this.options);for(var n in e.get("pinch").set({enable:!0}),e.get("rotate").set({enable:!0}),this.overrides)e.get(n).set(this.overrides[n]);return e},t}(),qt=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o._config=n,o.console=r,o.loader=i,o}return Object(s.c)(e,t),e.prototype.supports=function(t){return!(!Gt.hasOwnProperty(t.toLowerCase())&&!this.isCustomEvent(t)||!window.Hammer&&!this.loader&&(this.console.warn('The "'+t+'" event cannot be bound because Hammer.JS is not loaded and no custom loader has been specified.'),1))},e.prototype.addEventListener=function(t,e,n){var r=this,i=this.manager.getZone();if(e=e.toLowerCase(),!window.Hammer&&this.loader){var o=!1,s=function(){o=!0};return this.loader().then(function(){if(!window.Hammer)return r.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(s=function(){});o||(s=r.addEventListener(t,e,n))}).catch(function(){r.console.warn('The "'+e+'" event cannot be bound because the custom Hammer.JS loader failed.'),s=function(){}}),function(){s()}}return i.runOutsideAngular(function(){var o=r._config.buildHammer(t),s=function(t){i.runGuarded(function(){n(t)})};return o.on(e,s),function(){o.off(e,s),"function"==typeof o.destroy&&o.destroy()}})},e.prototype.isCustomEvent=function(t){return this._config.events.indexOf(t)>-1},e}(vt),Kt=["alt","control","meta","shift"],Zt={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},Yt=function(t){function e(e){return t.call(this,e)||this}var n;return Object(s.c)(e,t),n=e,e.prototype.supports=function(t){return null!=n.parseEventName(t)},e.prototype.addEventListener=function(t,e,r){var i=n.parseEventName(e),o=n.eventCallback(i.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return J().onAndCancel(t,i.domEventName,o)})},e.parseEventName=function(t){var e=t.toLowerCase().split("."),r=e.shift();if(0===e.length||"keydown"!==r&&"keyup"!==r)return null;var i=n._normalizeKey(e.pop()),o="";if(Kt.forEach(function(t){var n=e.indexOf(t);n>-1&&(e.splice(n,1),o+=t+".")}),o+=i,0!=e.length||0===i.length)return null;var s={};return s.domEventName=r,s.fullKey=o,s},e.getEventFullKey=function(t){var e="",n=J().getEventKey(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),Kt.forEach(function(r){r!=n&&(0,Zt[r])(t)&&(e+=r+".")}),e+=n},e.eventCallback=function(t,e,r){return function(i){n.getEventFullKey(i)===t&&r.runGuarded(function(){return e(i)})}},e._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},e}(vt),Qt=function(){return function(){}}(),Xt=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n}return Object(s.c)(e,t),e.prototype.sanitize=function(t,e){if(null==e)return null;switch(t){case r.B.NONE:return e;case r.B.HTML:return e instanceof $t?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),Object(r.T)(this._doc,String(e)));case r.B.STYLE:return e instanceof te?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),Object(r.U)(e));case r.B.SCRIPT:if(e instanceof ee)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"Script"),new Error("unsafe value used in a script context");case r.B.URL:return e instanceof re||e instanceof ne?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"URL"),Object(r.V)(String(e)));case r.B.RESOURCE_URL:if(e instanceof re)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 Jt)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 $t(t)},e.prototype.bypassSecurityTrustStyle=function(t){return new te(t)},e.prototype.bypassSecurityTrustScript=function(t){return new ee(t)},e.prototype.bypassSecurityTrustUrl=function(t){return new ne(t)},e.prototype.bypassSecurityTrustResourceUrl=function(t){return new re(t)},e}(Qt),Jt=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}(),$t=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(s.c)(e,t),e.prototype.getTypeName=function(){return"HTML"},e}(Jt),te=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(s.c)(e,t),e.prototype.getTypeName=function(){return"Style"},e}(Jt),ee=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(s.c)(e,t),e.prototype.getTypeName=function(){return"Script"},e}(Jt),ne=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(s.c)(e,t),e.prototype.getTypeName=function(){return"URL"},e}(Jt),re=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(s.c)(e,t),e.prototype.getTypeName=function(){return"ResourceURL"},e}(Jt),ie=[{provide:r.v,useValue:"browser"},{provide:r.w,useValue:function(){st.makeCurrent(),pt.init()},multi:!0},{provide:a,useClass:ut,deps:[D]},{provide:D,useFactory:function(){return document},deps:[]}],oe=Object(r.J)(r.O,"browser",ie);function se(){return new r.j}var ae=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.")}var e;return e=t,t.withServerTransition=function(t){return{ngModule:e,providers:[{provide:r.a,useValue:t.appId},{provide:ct,useExisting:r.a},ht]}},t}();"undefined"!=typeof window&&window;var le=n("6blF"),ue=n("isby"),ce=n("67Y/"),he=n("McSo"),pe=n("0/uQ");function fe(t,e){return new le.a(function(n){var r=t.length;if(0!==r)for(var i=new Array(r),o=0,s=0,a=function(a){var l=Object(pe.a)(t[a]),u=!1;n.add(l.subscribe({next:function(t){u||(u=!0,s++),i[a]=t},error:function(t){return n.error(t)},complete:function(){++o!==r&&u||(s===r&&n.next(e?e.reduce(function(t,e,n){return t[e]=i[n],t},{}):i),n.complete())}}))},l=0;l<r;l++)a(l);else n.complete()})}var de=new r.m("NgValueAccessor"),me=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}(),ye=new r.m("CompositionEventMode"),ge=function(){function t(t,e,n){var r;this._renderer=t,this._elementRef=e,this._compositionMode=n,this.onChange=function(t){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=(r=J()?J().getUserAgent():"",!/android (\d+)/.test(r.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}(),ve=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}(),be=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(s.c)(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}(ve);function _e(){throw new Error("unimplemented")}var Ee=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(s.c)(e,t),Object.defineProperty(e.prototype,"validator",{get:function(){return _e()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return _e()},enumerable:!0,configurable:!0}),e}(ve),we=function(t){function e(e){return t.call(this,e)||this}return Object(s.c)(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}());function xe(t){return null==t||0===t.length}var Ce=/^(?=.{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])?)*$/,Se=function(){function t(){}return t.min=function(t){return function(e){if(xe(e.value)||xe(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(xe(e.value)||xe(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 xe(t.value)?{required:!0}:null},t.requiredTrue=function(t){return!0===t.value?null:{required:!0}},t.email=function(t){return xe(t.value)?null:Ce.test(t.value)?null:{email:!0}},t.minLength=function(t){return function(e){if(xe(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){return e?("string"==typeof e?(r="","^"!==e.charAt(0)&&(r+="^"),r+=e,"$"!==e.charAt(e.length-1)&&(r+="$"),n=new RegExp(r)):(r=e.toString(),n=e),function(t){if(xe(t.value))return null;var e=t.value;return n.test(e)?null:{pattern:{requiredPattern:r,actualValue:e}}}):t.nullValidator;var n,r},t.nullValidator=function(t){return null},t.compose=function(t){if(!t)return null;var e=t.filter(Ae);return 0==e.length?null:function(t){return Te(function(t,n){return e.map(function(e){return e(t)})}(t))}},t.composeAsync=function(t){if(!t)return null;var e=t.filter(Ae);return 0==e.length?null:function(t){return function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(1===t.length){var n=t[0];if(Object(ue.a)(n))return fe(n,null);if(Object(he.a)(n)&&Object.getPrototypeOf(n)===Object.prototype){var r=Object.keys(n);return fe(r.map(function(t){return n[t]}),r)}}if("function"==typeof t[t.length-1]){var i=t.pop();return fe(t=1===t.length&&Object(ue.a)(t[0])?t[0]:t,null).pipe(Object(ce.a)(function(t){return i.apply(void 0,t)}))}return fe(t,null)}(function(t,n){return e.map(function(e){return e(t)})}(t).map(Pe)).pipe(Object(ce.a)(Te))}},t}();function Ae(t){return null!=t}function Pe(t){var e=Object(r.mb)(t)?Object(pe.a)(t):t;if(!Object(r.lb)(e))throw new Error("Expected validator to return Promise or Observable.");return e}function Te(t){var e=t.reduce(function(t,e){return null!=e?Object(s.a)({},t,e):t},{});return 0===Object.keys(e).length?null:e}function ke(t){return t.validate?function(e){return t.validate(e)}:t}function De(t){return t.validate?function(e){return t.validate(e)}:t}var Ie=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}(),Oe=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}(),Me=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(Ee),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}(),Fe='\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    });',Re='\n    <form>\n       <div ngModelGroup="person">\n          <input [(ngModel)]="person.name" name="firstName">\n       </div>\n    </form>';function Ne(t,e){return Object(s.g)(e.path,[t])}function Ve(t,e){t||Le(e,"Cannot find control with"),e.valueAccessor||Le(e,"No value accessor for form control with"),t.validator=Se.compose([t.validator,e.validator]),t.asyncValidator=Se.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&&je(t,e)})}(t,e),function(t,e){t.registerOnChange(function(t,n){e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(function(){t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&je(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 je(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function Le(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 Be(t){return null!=t?Se.compose(t.map(ke)):null}function ze(t){return null!=t?Se.composeAsync(t.map(De)):null}var Ge=[me,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}(),Ie,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=r.nb}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=function(t,e){return null==t?""+e:(e&&"object"==typeof e&&(e="Object"),(t+": "+e).slice(0,50))}(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){var e,n;try{for(var r=Object(s.h)(Array.from(this._optionMap.keys())),i=r.next();!i.done;i=r.next()){var o=i.value;if(this._compareWith(this._optionMap.get(o),t))return o}}catch(a){e={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}return null},t.prototype._getOptionValue=function(t){var e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e):t},t}(),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=r.nb}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,n=this;if(this.value=t,Array.isArray(t)){var r=t.map(function(t){return n._getOptionId(t)});e=function(t,e){t._setSelected(r.indexOf(e.toString())>-1)}}else e=function(t,e){t._setSelected(!1)};this._optionMap.forEach(e)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){var r=[];if(n.hasOwnProperty("selectedOptions"))for(var i=n.selectedOptions,o=0;o<i.length;o++){var s=i.item(o),a=e._getOptionValue(s.value);r.push(a)}else for(i=n.options,o=0;o<i.length;o++)(s=i.item(o)).selected&&(a=e._getOptionValue(s.value),r.push(a));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){var e,n;try{for(var r=Object(s.h)(Array.from(this._optionMap.keys())),i=r.next();!i.done;i=r.next()){var o=i.value;if(this._compareWith(this._optionMap.get(o)._value,t))return o}}catch(a){e={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}return null},t.prototype._getOptionValue=function(t){var e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e)._value:t},t}(),Me];function He(t){var e=We(t)?t.validators:t;return Array.isArray(e)?Be(e):e||null}function Ue(t,e){var n=We(e)?e.asyncValidators:t;return Array.isArray(n)?ze(n):n||null}function We(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}var qe=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"PENDING"==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return"DISABLED"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return"DISABLED"!==this.status},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=He(t)},t.prototype.setAsyncValidators=function(t){this.asyncValidator=Ue(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.markAllAsTouched=function(){this.markAsTouched({onlySelf:!0}),this._forEachChild(function(t){return t.markAllAsTouched()})},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="PENDING",!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)},t.prototype.disable=function(t){void 0===t&&(t={});var e=this._parentMarkedDirty(t.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild(function(e){e.disable(Object(s.a)({},t,{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object(s.a)({},t,{skipPristineCheck:e})),this._onDisabledChange.forEach(function(t){return t(!0)})},t.prototype.enable=function(t){void 0===t&&(t={});var e=this._parentMarkedDirty(t.onlySelf);this.status="VALID",this._forEachChild(function(e){e.enable(Object(s.a)({},t,{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object(s.a)({},t,{skipPristineCheck:e})),this._onDisabledChange.forEach(function(t){return t(!1)})},t.prototype._updateAncestors=function(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||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&&"PENDING"!==this.status||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()?"DISABLED":"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="PENDING";var n=Pe(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 Ze?t.controls.hasOwnProperty(e)?t.controls[e]:null:t instanceof Ye&&t.at(e)||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 r.k,this.statusChanges=new r.k},t.prototype._calculateStatus=function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":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){We(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)},t.prototype._parentMarkedDirty=function(t){return!t&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()},t}(),Ke=function(t){function e(e,n,r){void 0===e&&(e=null);var i=t.call(this,He(n),Ue(r,n))||this;return i._onChange=[],i._applyFormState(e),i._setUpdateStrategy(n),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i._initObservables(),i}return Object(s.c)(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}(qe),Ze=function(t){function e(e,n,r){var i=t.call(this,He(n),Ue(r,n))||this;return i.controls=e,i._initObservables(),i._setUpdateStrategy(n),i._setUpControls(),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i}return Object(s.c)(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._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)},e.prototype.getRawValue=function(){return this._reduceChildren({},function(t,e,n){return t[n]=e instanceof Ke?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,i){n=n||e.contains(i)&&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(){var t,e;try{for(var n=Object(s.h)(Object.keys(this.controls)),r=n.next();!r.done;r=n.next())if(this.controls[r.value].enabled)return!1}catch(i){t={error:i}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}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}(qe),Ye=function(t){function e(e,n,r){var i=t.call(this,He(n),Ue(r,n))||this;return i.controls=e,i._initObservables(),i._setUpdateStrategy(n),i._setUpControls(),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i}return Object(s.c)(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()},e.prototype.removeAt=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),this.updateValueAndValidity()},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._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)},e.prototype.getRawValue=function(){return this.controls.map(function(t){return t instanceof Ke?t.value:t.getRawValue()})},e.prototype.clear=function(){this.controls.length<1||(this._forEachChild(function(t){return t._registerOnCollectionChange(function(){})}),this.controls.splice(0),this.updateValueAndValidity())},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(){var t,e;try{for(var n=Object(s.h)(this.controls),r=n.next();!r.done;r=n.next())if(r.value.enabled)return!1}catch(i){t={error:i}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return this.controls.length>0||this.disabled},e.prototype._registerControl=function(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)},e}(qe),Qe=function(){return Promise.resolve(null)}(),Xe=function(t){function e(e,n){var i=t.call(this)||this;return i.submitted=!1,i._directives=[],i.ngSubmit=new r.k,i.form=new Ze({},Be(e),ze(n)),i}return Object(s.c)(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;Qe.then(function(){var n=e._findContainer(t.path);t.control=n.registerControl(t.name,t.control),Ve(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;Qe.then(function(){var n,r,i=e._findContainer(t.path);i&&i.removeControl(t.name),(r=(n=e._directives).indexOf(t))>-1&&n.splice(r,1)})},e.prototype.addFormGroup=function(t){var e=this;Qe.then(function(){var n=e._findContainer(t.path),r=new Ze({});(function(t,e){null==t&&Le(e,"Cannot find control with"),t.validator=Se.compose([t.validator,e.validator]),t.asyncValidator=Se.composeAsync([t.asyncValidator,e.asyncValidator])})(r,t),n.registerControl(t.name,r),r.updateValueAndValidity({emitEvent:!1})})},e.prototype.removeFormGroup=function(t){var e=this;Qe.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;Qe.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,e=this._directives,this.form._syncPendingControls(),e.forEach(function(t){var e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)}),this.ngSubmit.emit(t),!1;var e},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}(be),Je=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      "+Fe+"\n\n      Option 2:  Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n      "+Re)},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      "+Fe+"\n\n      Option 2:  Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n      "+Re)},t.ngFormWarning=function(){console.warn("\n    It looks like you're using 'ngForm'.\n\n    Support for using the 'ngForm' element selector has been deprecated in Angular v6 and will be removed\n    in Angular v9.\n\n    Use 'ng-form' instead.\n\n    Before:\n    <ngForm #myForm=\"ngForm\">\n\n    After:\n    <ng-form #myForm=\"ngForm\">\n    ")},t}(),$e=new r.m("NgFormSelectorWarning"),tn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(s.c)(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 Ne(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 Be(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return ze(this._asyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){},e}(be),en=function(t){function e(e,n,r){var i=t.call(this)||this;return i._parent=e,i._validators=n,i._asyncValidators=r,i}var n;return Object(s.c)(e,t),n=e,e.prototype._checkParentType=function(){this._parent instanceof n||this._parent instanceof Xe||Je.modelGroupParentException()},e}(tn),nn=function(){return Promise.resolve(null)}(),rn=function(t){function e(e,n,i,o){var s=t.call(this)||this;return s.control=new Ke,s._registered=!1,s.update=new r.k,s._parent=e,s._rawValidators=n||[],s._rawAsyncValidators=i||[],s.valueAccessor=function(t,e){if(!e)return null;Array.isArray(e)||Le(t,"Value accessor was not provided as an array for form control with");var n=void 0,r=void 0,i=void 0;return e.forEach(function(e){var o;e.constructor===ge?n=e:(o=e,Ge.some(function(t){return o.constructor===t})?(r&&Le(t,"More than one built-in value accessor matches form control with"),r=e):(i&&Le(t,"More than one custom value accessor matches form control with"),i=e))}),i||r||n||(Le(t,"No valid value accessor for form control with"),null)}(s,o),s}return Object(s.c)(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(r.nb)(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?Ne(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 Be(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return ze(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(){Ve(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 en)&&this._parent instanceof tn?Je.formGroupNameException():this._parent instanceof en||this._parent instanceof Xe||Je.modelParentException()},e.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||Je.missingNameException()},e.prototype._updateValue=function(t){var e=this;nn.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;nn.then(function(){r&&!e.control.disabled?e.control.disable():!r&&e.control.disabled&&e.control.enable()})},e}(Ee),on=function(){return function(){}}(),sn=function(){function t(){}var e;return e=t,t.withConfig=function(t){return{ngModule:e,providers:[{provide:$e,useValue:t.warnOnDeprecatedNgFormSelector}]}},t}(),an=function(){return function(){}}(),ln=r.fb({encapsulation:0,styles:[[""]],data:{}});function un(t){return r.zb(0,[(t()(),r.hb(0,0,null,null,3,"section",[],[[8,"className",0],[8,"id",0]],null,null,null,null)),(t()(),r.hb(1,0,null,null,2,"div",[["class","container"]],null,null,null,null,null)),(t()(),r.hb(2,0,null,null,1,"div",[["class","row vcenter"]],null,null,null,null,null)),r.qb(null,0)],null,function(t,e){var n=e.component;t(e,0,0,r.jb(1,"",n.wrapperClassName,""),r.jb(1,"",n.wrapperIdName,""))})}var cn=function(){return function(){}}(),hn=r.fb({encapsulation:0,styles:[[""]],data:{}});function pn(t){return r.zb(0,[(t()(),r.hb(0,0,null,null,15,"section",[["class","frequently-ask-question light-gray"]],null,null,null,null,null)),(t()(),r.hb(1,0,null,null,14,"div",[["class","container"]],null,null,null,null,null)),(t()(),r.hb(2,0,null,null,12,"div",[["class","copy-text"]],null,null,null,null,null)),(t()(),r.hb(3,0,null,null,1,"h5",[["class","heading-epsilon"]],null,null,null,null,null)),(t()(),r.xb(-1,null,["FREQUENTLY ASKED QUESTIONS"])),(t()(),r.hb(5,0,null,null,1,"h2",[["class","heading-beta"]],null,null,null,null,null)),(t()(),r.xb(-1,null,["Have questions? We have answers."])),(t()(),r.hb(7,0,null,null,7,"p",[],null,null,null,null,null)),(t()(),r.xb(-1,null,["Here are the most frequently asked questions about FamilyTreeDNA. If you have additional questions, feel free to visit our "])),(t()(),r.hb(9,0,null,null,1,"a",[["href","/learn/faq/"]],null,null,null,null,null)),(t()(),r.xb(-1,null,["Learning Center"])),(t()(),r.xb(-1,null,[" or reach out to our "])),(t()(),r.hb(12,0,null,null,1,"a",[["href","/contact"]],null,null,null,null,null)),(t()(),r.xb(-1,null,["Customer Service"])),(t()(),r.xb(-1,null,[" team."])),r.qb(null,0)],null,null)}var fn=function(){function t(){}return t.prototype.ngAfterViewInit=function(){$(".panel-group").on("hidden.bs.collapse",this.toggleIcon),$(".panel-group").on("shown.bs.collapse",this.toggleIcon)},t.prototype.toggleIcon=function(t){$(t.target).prev(".panel-heading").find(".more-less").toggleClass("zmdi-plus zmdi-minus")},t}(),dn=r.fb({encapsulation:0,styles:[[""]],data:{}});function mn(t){return r.zb(0,[(t()(),r.hb(0,0,null,null,94,"div",[["class","row faq-accordion"]],null,null,null,null,null)),(t()(),r.hb(1,0,null,null,93,"div",[["class","col-md-12"]],null,null,null,null,null)),(t()(),r.hb(2,0,null,null,92,"div",[["aria-multiselectable","true"],["class","panel-group"],["id","accordion"],["role","tablist"]],null,null,null,null,null)),(t()(),r.hb(3,0,null,null,11,"div",[["class","panel panel-default"]],null,null,null,null,null)),(t()(),r.hb(4,0,null,null,4,"div",[["class","panel-heading"],["id","headingOne"],["role","tab"]],null,null,null,null,null)),(t()(),r.hb(5,0,null,null,3,"h4",[["class","panel-title"]],null,null,null,null,null)),(t()(),r.hb(6,0,null,null,2,"a",[["aria-controls","collapseOne"],["aria-expanded","true"],["data-parent","#accordion"],["data-toggle","collapse"],["href","#collapseOne"],["role","button"]],null,null,null,null,null)),(t()(),r.hb(7,0,null,null,0,"i",[["class","more-less zmdi zmdi-plus"]],null,null,null,null,null)),(t()(),r.xb(-1,null,[" Who is FamilyTreeDNA? "])),(t()(),r.hb(9,0,null,null,5,"div",[["aria-labelledby","headingOne"],["class","panel-collapse collapse"],["id","collapseOne"],["role","tabpanel"]],null,null,null,null,null)),(t()(),r.hb(10,0,null,null,4,"div",[["class","panel-body"]],null,null,null,null,null)),(t()(),r.hb(11,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),r.xb(-1,null,["Founded in 2000, FamilyTreeDNA pioneered the field of genetic genealogy\u2014the use of DNA testing to establish relationships between individuals and determine ancestry. As leaders in the industry, we provide advanced technology for users to gain further insight into their family history\u2014all with a simple swab of DNA."])),(t()(),r.hb(13,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),r.xb(-1,null,["Over 2 million people have tested with FamilyTreeDNA, resulting in the most comprehensive DNA matching database in the industry."])),(t()(),r.hb(15,0,null,null,11,"div",[["class","panel panel-default"]],null,null,null,null,null)),(t()(),r.hb(16,0,null,null,6,"div",[["class","panel-heading"],["id","headingTwo"],["role","tab"]],null,null,null,null,null)),(t()(),r.hb(17,0,null,null,5,"h4",[["class","panel-title"]],null,null,null,null,null)),(t()(),r.hb(18,0,null,null,4,"a",[["aria-controls","collapseTwo"],["aria-expanded","false"],["class","collapsed"],["data-parent","#accordion"],["data-toggle","collapse"],["href","#collapseTwo"],["role","button"]],null,null,null,null,null)),(t()(),r.hb(19,0,null,null,0,"i",[["class","more-less zmdi zmdi-plus"]],null,null,null,null,null)),(t()(),r.xb(-1,null,[" Do I need to order a new kit "])),(t()(),r.hb(21,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),r.xb(-1,null,[" for add-ons and upgrades? "])),(t()(),r.hb(23,0,null,null,3,"div",[["aria-labelledby","headingTwo"],["class","panel-collapse collapse"],["id","collapseTwo"],["role","tabpanel"]],null,null,null,null,null)),(t()(),r.hb(24,0,null,null,2,"div",[["class","panel-body"]],null,null,null,null,null)),(t()(),r.hb(25,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),r.xb(-1,null,["If you have already purchased a DNA kit and submitted a sample, there is no need to order a new kit\u2014we will use your existing DNA sample that is stored in our lab for any additional test(s) that you order. In the rare instance that there is no further DNA available for testing on your existing samples, we will send an additional collection kit, associated with your original kit, to you at no charge."])),(t()(),r.hb(27,0,null,null,15,"div",[["class","panel panel-default"]],null,null,null,null,null)),(t()(),r.hb(28,0,null,null,4,"div",[["class","panel-heading"],["id","headingThree"],["role","tab"]],null,null,null,null,null)),(t()(),r.hb(29,0,null,null,3,"h4",[["class","panel-title"]],null,null,null,null,null)),(t()(),r.hb(30,0,null,null,2,"a",[["aria-controls","collapseThree"],["aria-expanded","false"],["class","collapsed"],["data-parent","#accordion"],["data-toggle","collapse"],["href","#collapseThree"],["role","button"]],null,null,null,null,null)),(t()(),r.hb(31,0,null,null,0,"i",[["class","more-less zmdi zmdi-plus"]],null,null,null,null,null)),(t()(),r.xb(-1,null,[" How is my privacy protected? "])),(t()(),r.hb(33,0,null,null,9,"div",[["aria-labelledby","headingThree"],["class","panel-collapse collapse"],["id","collapseThree"],["role","tabpanel"]],null,null,null,null,null)),(t()(),r.hb(34,0,null,null,8,"div",[["class","panel-body"]],null,null,null,null,null)),(t()(),r.hb(35,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),r.xb(-1,null,["Your privacy is of utmost importance to us. Therefore, you choose how your genetic information is used and shared with others. We use industry-standard security practices to store your DNA sample, your DNA test results, and other personal data that you provide to us. Additionally, we store DNA test results and samples without names or other common identifying information. "])),(t()(),r.hb(37,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),r.xb(-1,null,["Furthermore, we do not share your name or other common identifying information linked to your genetic data with third parties, except as legally required to comply with a valid subpoena or a court order or with your explicit consent."])),(t()(),r.hb(39,0,null,null,3,"p",[],null,null,null,null,null)),(t()(),r.xb(-1,null,["For more information on privacy at FamilyTreeDNA, see the FamilyTreeDNA "])),(t()(),r.hb(41,0,null,null,1,"a",[["href","/legal/privacy-statement"]],null,null,null,null,null)),(t()(),r.xb(-1,null,["Privacy Statement."])),(t()(),r.hb(43,0,null,null,11,"div",[["class","panel panel-default"]],null,null,null,null,null)),(t()(),r.hb(44,0,null,null,6,"div",[["class","panel-heading"],["id","headingFour"],["role","tab"]],null,null,null,null,null)),(t()(),r.hb(45,0,null,null,5,"h4",[["class","panel-title"]],null,null,null,null,null)),(t()(),r.hb(46,0,null,null,4,"a",[["aria-controls","collapseFour"],["aria-expanded","false"],["class","collapsed"],["data-parent","#accordion"],["data-toggle","collapse"],["href","#collapseFour"],["role","button"]],null,null,null,null,null)),(t()(),r.hb(47,0,null,null,0,"i",[["class","more-less zmdi zmdi-plus"]],null,null,null,null,null)),(t()(),r.xb(-1,null,[" How is my DNA processed "])),(t()(),r.hb(49,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),r.xb(-1,null,[" and stored? "])),(t()(),r.hb(51,0,null,null,3,"div",[["aria-labelledby","headingFour"],["class","panel-collapse collapse"],["id","collapseFour"],["role","tabpanel"]],null,null,null,null,null)),(t()(),r.hb(52,0,null,null,2,"div",[["class","panel-body"]],null,null,null,null,null)),(t()(),r.hb(53,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),r.xb(-1,null,["Sample collection kits include two vials\u2014one for each cheek\u2014 both labeled with a barcode associating the vials with your order. Barcodes are scanned at check-in, triggering a notification email to the kit owner that we have received your sample. A single vial is sent to our federally compliant CAP/CLIA certified lab for DNA extraction where the DNA is stored in our robotic freezer at -20 C, ready to be processed for the ordered test(s). The remaining DNA is returned to the freezer and stored for any future test(s) ordered by the kit owner. The second vial is stored in a secured room at room temperature for up to 25 years and is used only in the event that your DNA from the first vial does not provide sufficient quantity or quality for the test(s) ordered by the kit owner."])),(t()(),r.hb(55,0,null,null,13,"div",[["class","panel panel-default"]],null,null,null,null,null)),(t()(),r.hb(56,0,null,null,6,"div",[["class","panel-heading"],["id","headingFive"],["role","tab"]],null,null,null,null,null)),(t()(),r.hb(57,0,null,null,5,"h4",[["class","panel-title"]],null,null,null,null,null)),(t()(),r.hb(58,0,null,null,4,"a",[["aria-controls","collapseFive"],["aria-expanded","false"],["class","collapsed"],["data-parent","#accordion"],["data-toggle","collapse"],["href","#collapseFive"],["role","button"]],null,null,null,null,null)),(t()(),r.hb(59,0,null,null,0,"i",[["class","more-less zmdi zmdi-plus"]],null,null,null,null,null)),(t()(),r.xb(-1,null,[" Can I give a FamilyTreeDNA "])),(t()(),r.hb(61,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),r.xb(-1,null,[" kit as a gift? "])),(t()(),r.hb(63,0,null,null,5,"div",[["aria-labelledby","headingFive"],["class","panel-collapse collapse"],["id","collapseFive"],["role","tabpanel"]],null,null,null,null,null)),(t()(),r.hb(64,0,null,null,4,"div",[["class","panel-body"]],null,null,null,null,null)),(t()(),r.hb(65,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),r.xb(-1,null,["Yes. When placing your order, you can either ship the kit to yourself or provide the recipient's shipping address, and we will ship the DNA kit directly to them. "])),(t()(),r.hb(67,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),r.xb(-1,null,["Kit activation happens at the time of purchase, and we will immediately begin sending relevant email notifications regarding order confirmation and tracking. If you provided your email at the time of purchase because the gift was a surprise, please be sure to send the sign in information to the DNA provider once they receive the kit, and have them change the kit owner\u2019s email address after signing in using the information you have provided them."])),(t()(),r.hb(69,0,null,null,25,"div",[["class","panel panel-default"]],null,null,null,null,null)),(t()(),r.hb(70,0,null,null,6,"div",[["class","panel-heading"],["id","headingSix"],["role","tab"]],null,null,null,null,null)),(t()(),r.hb(71,0,null,null,5,"h4",[["class","panel-title"]],null,null,null,null,null)),(t()(),r.hb(72,0,null,null,4,"a",[["aria-controls","collapseSix"],["aria-expanded","false"],["class","collapsed"],["data-parent","#accordion"],["data-toggle","collapse"],["href","#collapseSix"],["role","button"]],null,null,null,null,null)),(t()(),r.hb(73,0,null,null,0,"i",[["class","more-less zmdi zmdi-plus"]],null,null,null,null,null)),(t()(),r.xb(-1,null,[" How long does it take to "])),(t()(),r.hb(75,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),r.xb(-1,null,[" receive my results? "])),(t()(),r.hb(77,0,null,null,17,"div",[["aria-labelledby","headingSix"],["class","panel-collapse collapse"],["id","collapseSix"],["role","tabpanel"]],null,null,null,null,null)),(t()(),r.hb(78,0,null,null,16,"div",[["class","panel-body"]],null,null,null,null,null)),(t()(),r.hb(79,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),r.xb(-1,null,["Kits shipped between the U.S. and Canada typically arrive between 5\u20137 business days. International orders may take 3\u20135 business weeks. "])),(t()(),r.hb(81,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),r.xb(-1,null,["Once we receive your DNA sample in the lab, you will be notified of receipt via the email address associated with your account. We send your sample directly to the lab for processing. Processing times vary depending upon the test(s) ordered. "])),(t()(),r.hb(83,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),r.xb(-1,null,["Result processing times:"])),(t()(),r.hb(85,0,null,null,9,"ul",[],null,null,null,null,null)),(t()(),r.hb(86,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),r.hb(87,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),r.xb(-1,null,["Family Finder results typically take 2 to 4 weeks"])),(t()(),r.hb(89,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),r.hb(90,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),r.xb(-1,null,["mtDNA results typically take 6 to 8 weeks"])),(t()(),r.hb(92,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),r.hb(93,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),r.xb(-1,null,["Y-DNA results typically take 3 to 6 weeks"]))],null,null)}var yn=n("nkY7"),gn=n("MGBS"),vn=n("zotm"),bn=n("IUTb"),_n={},En=function(){function t(t){this.resultSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new wn(t,this.resultSelector))},t}(),wn=function(t){function e(e,n){var r=t.call(this,e)||this;return r.resultSelector=n,r.active=0,r.values=[],r.observables=[],r}return s.c(e,t),e.prototype._next=function(t){this.values.push(_n),this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(var n=0;n<e;n++){var r=t[n];this.add(Object(vn.a)(this,r,r,n))}}},e.prototype.notifyComplete=function(t){0==(this.active-=1)&&this.destination.complete()},e.prototype.notifyNext=function(t,e,n,r,i){var o=this.values,s=this.toRespond?o[n]===_n?--this.toRespond:this.toRespond:0;o[n]=e,0===s&&(this.resultSelector?this._tryResultSelector(o):this.destination.next(o.slice()))},e.prototype._tryResultSelector=function(t){var e;try{e=this.resultSelector.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)},e}(gn.a),xn=function(t){return t.HOME_GET_INIT="[home] get init",t.HOME_GET_INIT_RESPONSE="[home] get init response",t.ERROR_ACTION="An error occurred",t}({}),Cn=function(){return function(){this.type=xn.HOME_GET_INIT}}(),Sn=function(){return function(t){this.payload=t,this.type=xn.HOME_GET_INIT_RESPONSE}}(),An=function(){return function(t){this.payload=t,this.type=xn.ERROR_ACTION}}(),Pn=n("yGQT"),Tn=n("p0ib"),kn=n("K9Ia");n("G5J1");var Dn=n("60iU"),In=n("FFOo"),On=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new Mn(t))},t}(),Mn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return s.c(e,t),e.prototype._next=function(t){},e}(In.a),Fn=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new Rn(t))},t}(),Rn=function(t){function e(e){return t.call(this,e)||this}return s.c(e,t),e.prototype._next=function(t){this.destination.next(Dn.a.createNext(t))},e.prototype._error=function(t){var e=this.destination;e.next(Dn.a.createError(t)),e.complete()},e.prototype._complete=function(){var t=this.destination;t.next(Dn.a.createComplete()),t.complete()},e}(In.a),Nn=n("9Z1F"),Vn=n("VnD/"),jn=n("pugT");function Ln(t,e,n,r){return function(i){return i.lift(new Bn(t,e,n,r))}}var Bn=function(){function t(t,e,n,r){this.keySelector=t,this.elementSelector=e,this.durationSelector=n,this.subjectSelector=r}return t.prototype.call=function(t,e){return e.subscribe(new zn(t,this.keySelector,this.elementSelector,this.durationSelector,this.subjectSelector))},t}(),zn=function(t){function e(e,n,r,i,o){var s=t.call(this,e)||this;return s.keySelector=n,s.elementSelector=r,s.durationSelector=i,s.subjectSelector=o,s.groups=null,s.attemptedToUnsubscribe=!1,s.count=0,s}return s.c(e,t),e.prototype._next=function(t){var e;try{e=this.keySelector(t)}catch(n){return void this.error(n)}this._group(t,e)},e.prototype._group=function(t,e){var n=this.groups;n||(n=this.groups=new Map);var r,i=n.get(e);if(this.elementSelector)try{r=this.elementSelector(t)}catch(a){this.error(a)}else r=t;if(!i){i=this.subjectSelector?this.subjectSelector():new kn.a,n.set(e,i);var o=new Hn(e,i,this);if(this.destination.next(o),this.durationSelector){var s=void 0;try{s=this.durationSelector(new Hn(e,i))}catch(a){return void this.error(a)}this.add(s.subscribe(new Gn(e,i,this)))}}i.closed||i.next(r)},e.prototype._error=function(t){var e=this.groups;e&&(e.forEach(function(e,n){e.error(t)}),e.clear()),this.destination.error(t)},e.prototype._complete=function(){var t=this.groups;t&&(t.forEach(function(t,e){t.complete()}),t.clear()),this.destination.complete()},e.prototype.removeGroup=function(t){this.groups.delete(t)},e.prototype.unsubscribe=function(){this.closed||(this.attemptedToUnsubscribe=!0,0===this.count&&t.prototype.unsubscribe.call(this))},e}(In.a),Gn=function(t){function e(e,n,r){var i=t.call(this,n)||this;return i.key=e,i.group=n,i.parent=r,i}return s.c(e,t),e.prototype._next=function(t){this.complete()},e.prototype._unsubscribe=function(){var t=this.parent,e=this.key;this.key=this.parent=null,t&&t.removeGroup(e)},e}(In.a),Hn=function(t){function e(e,n,r){var i=t.call(this)||this;return i.key=e,i.groupSubject=n,i.refCountSubscription=r,i}return s.c(e,t),e.prototype._subscribe=function(t){var e=new jn.a,n=this.refCountSubscription,r=this.groupSubject;return n&&!n.closed&&e.add(new Un(n)),e.add(r.subscribe(t)),e},e}(le.a),Un=function(t){function e(e){var n=t.call(this)||this;return n.parent=e,e.count++,n}return s.c(e,t),e.prototype.unsubscribe=function(){var e=this.parent;e.closed||this.closed||(t.prototype.unsubscribe.call(this),e.count-=1,0===e.count&&e.attemptedToUnsubscribe&&e.unsubscribe())},e}(jn.a),Wn=n("psW0"),qn=n("rPjj"),Kn=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new Zn(t,this.project))},t}(),Zn=function(t){function e(e,n){var r=t.call(this,e)||this;return r.project=n,r.hasSubscription=!1,r.hasCompleted=!1,r.index=0,r}return s.c(e,t),e.prototype._next=function(t){this.hasSubscription||this.tryNext(t)},e.prototype.tryNext=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(r){return void this.destination.error(r)}this.hasSubscription=!0,this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var r=new qn.a(this,e,n),i=this.destination;i.add(r);var o=Object(vn.a)(this,t,void 0,void 0,r);o!==r&&i.add(o)},e.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete(),this.unsubscribe()},e.prototype.notifyNext=function(t,e,n,r,i){this.destination.next(e)},e.prototype.notifyError=function(t){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.destination.remove(t),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},e}(gn.a),Yn=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new Qn(t))},t}(),Qn=function(t){function e(e){return t.call(this,e)||this}return s.c(e,t),e.prototype._next=function(t){t.observe(this.destination)},e}(In.a),Xn=n("Phjn"),Jn={dispatch:!0,resubscribeOnError:!0},$n="__@ngrx/effects_create__";function tr(t){return Object.getOwnPropertyNames(t).filter(function(e){return t[e]&&t[e].hasOwnProperty($n)}).map(function(e){var n=t[e][$n];return Object(s.a)({propertyName:e},n)})}function er(t){return Object.getPrototypeOf(t)}var nr="__@ngrx/effects__";function rr(t){return Object(Pn.v)(or,er)(t)}function ir(t){return t.constructor.hasOwnProperty(nr)}function or(t){return ir(t)?t.constructor[nr]:[]}var sr=function(t){function e(e){var n=t.call(this)||this;return e&&(n.source=e),n}var n;return Object(s.c)(e,t),n=e,e.prototype.lift=function(t){var e=new n;return e.source=this,e.operator=t,e},e}(le.a),ar="ngrxOnIdentifyEffects",lr=function(t){function e(e,n){var r=t.call(this)||this;return r.errorHandler=e,r.store=n,r}return Object(s.c)(e,t),e.prototype.addEffects=function(t){this.next(t),"ngrxOnInitEffects"in t&&"function"==typeof t.ngrxOnInitEffects&&this.store.dispatch(t.ngrxOnInitEffects())},e.prototype.toActions=function(){var t=this;return this.pipe(Ln(er),Object(Wn.a)(function(t){return t.pipe(Ln(ur))}),Object(Wn.a)(function(e){return e.pipe(function t(e,n){return n?function(r){return r.pipe(t(function(t,r){return Object(pe.a)(e(t,r)).pipe(Object(ce.a)(function(e,i){return n(t,e,r,i)}))}))}:function(t){return t.lift(new Kn(e))}}((n=t.errorHandler,function(t){var e=function(t,e){var n,r=er(t).constructor.name,i=(n=t,[rr,tr].reduce(function(t,e){return t.concat(e(n))},[])).map(function(n){var i=n.propertyName,o=n.dispatch,s=n.resubscribeOnError,a="function"==typeof t[i]?t[i]():t[i],l=s?function t(e,n){return e.pipe(Object(Nn.a)(function(r){return n&&n.handleError(r),t(e,n)}))}(a,e):a;return!1===o?l.pipe(function(t){return t.lift(new On)}):l.pipe(function(t){return t.lift(new Fn)}).pipe(Object(ce.a)(function(e){return{effect:t[i],notification:e,propertyName:i,sourceName:r,sourceInstance:t}}))});return Tn.a.apply(void 0,Object(s.g)(i))}(t,n);return function(t){var e=er(t);return"ngrxOnRunEffects"in e&&"function"==typeof e.ngrxOnRunEffects}(t)?t.ngrxOnRunEffects(e):e})),Object(ce.a)(function(e){return function(t,e){if("N"===t.notification.kind){var n=t.notification.value;!function(t){return"function"!=typeof t&&t&&t.type&&"string"==typeof t.type}(n)&&e.handleError(new Error("Effect "+(o="function"==typeof(r=t).sourceInstance[i=r.propertyName],'"'+r.sourceName+"."+String(i)+(o?"()":"")+'"')+" dispatched an invalid action: "+function(t){try{return JSON.stringify(t)}catch(r){return t}}(n)))}var r,i,o}(e,t.errorHandler),e.notification}),Object(Vn.a)(function(t){return"N"===t.kind}),function(t){return t.lift(new Yn)});var n}))},e}(kn.a);function ur(t){return ar in t&&"function"==typeof t[ar]?t[ar]():""}var cr=new r.m("@ngrx/effects Internal Root Guard"),hr=new r.m("ngrx/effects: Root Effects"),pr=new r.m("ngrx/effects: Feature Effects"),fr=function(){function t(t,e){this.effectSources=t,this.store=e,this.effectsSubscription=null}return t.prototype.start=function(){this.effectsSubscription||(this.effectsSubscription=this.effectSources.toActions().subscribe(this.store))},t.prototype.ngOnDestroy=function(){this.effectsSubscription&&(this.effectsSubscription.unsubscribe(),this.effectsSubscription=null)},t}(),dr="@ngrx/effects/init",mr=function(){function t(t,e,n,r,i,o,s){this.sources=t,e.start(),r.forEach(function(e){return t.addEffects(e)}),n.dispatch({type:dr})}return t.prototype.addEffects=function(t){this.sources.addEffects(t)},t}(),yr=function(){return function(t,e,n,r){e.forEach(function(e){return e.forEach(function(e){return t.addEffects(e)})})}}();function gr(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return t}function vr(t){if(t)throw new TypeError("EffectsModule.forRoot() called twice. Feature modules should use EffectsModule.forFeature() instead.");return"guarded"}var br=n("F/XL"),_r=function(){function t(t,e){var n=this;this.actions$=t,this.homeService=e,this.homeData=this.actions$.pipe(function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return Object(Vn.a)(function(e){return t.some(function(t){return"string"==typeof t?t===e.type:t.type===e.type})})}(xn.HOME_GET_INIT),Object(Wn.a)(function(t){return n.homeService.init().pipe(Object(ce.a)(function(t){return new Sn(t)}),Object(Nn.a)(function(t){return Object(br.a)(new An(t))}))}))}return Object(s.b)([(void 0===e&&(e={}),function(t,n){var r,i;r=t,i=Object(s.a)({},Jn,e,{propertyName:n}),ir(r)?r.constructor[nr].push(i):Object.defineProperty(r.constructor,nr,{value:[i]})}),Object(s.d)("design:type",le.a)],t.prototype,"homeData",void 0),t;var e}(),Er=function(){return(Er=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)},wr={homeData:null,isLoading:!1};function xr(t,e){switch(void 0===t&&(t=wr),e.type){case xn.HOME_GET_INIT:return Er({},t,{isLoading:!0});case xn.HOME_GET_INIT_RESPONSE:return{homeData:e.payload,isLoading:!1};default:return t}}var Cr=Object(Pn.x)("home"),Sr=Object(Pn.z)(Cr,function(t){return t.homeDataState}),Ar=Object(Pn.z)(Sr,function(t){return t.homeData}),Pr=Object(Pn.z)(Sr,function(t){return t.isLoading}),Tr=function(){function t(t){this.store=t,this.animationSpeed=1,this.currentpersona="persona_a",this.store$=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=null,r=null;return Object(yn.a)(t[t.length-1])&&(r=t.pop()),"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&Object(ue.a)(t[0])&&(t=t[0]),Object(bn.a)(t,r).lift(new En(n))}(this.store.select(Ar),this.store.select(Pr),function(t,e){return t&&pageInitShim(),{viewModel:t,homeIsLoading:e}}),this.myoriginsLottieConfig={path:"/Areas/Main/Apps/Home/src/assets/origins-ancestryv3.json",renderer:"",autoplay:!0,loop:!0,rendererSettings:{viewBoxSize:"-16 93 1180 740"}},this.paternalLottieConfig={path:"/Areas/Main/Apps/Home/src/assets/ydna-paternal.json",renderer:"",autoplay:!0,loop:!0,rendererSettings:{viewBoxSize:"10 246 1158 327"}},this.maternalLottieConfig={path:"/Areas/Main/Apps/Home/src/assets/mtdna-maternal.json",renderer:"",autoplay:!0,loop:!0,rendererSettings:{viewBoxSize:"10 144 1158 530"}}}return t.prototype.ngOnInit=function(){this.store.dispatch(new Cn)},t.prototype.handleAnimation1=function(t){this.anim1=t},t.prototype.handleAnimation2=function(t){this.anim2=t},t.prototype.handleAnimation3=function(t){this.anim3=t},t.prototype.switchpersona=function(t){this.currentpersona=t},t.prototype.isactivepersona=function(t){return this.currentpersona===t},t.prototype.clickTab=function(t){"family-ancestry"===t&&(this.anim1.stop(),this.anim1.play()),"paternal-ancestry"===t&&(this.anim2.stop(),this.anim2.play()),"maternal-ancestry"===t&&(this.anim3.stop(),this.anim3.play())},t.prototype.onEnter=function(t){13===t.keyCode&&this.searchBySurname()},t.prototype.searchBySurname=function(){window.location.href="/group-project-search?sType=eq&search="+this.surname},t}(),kr=r.fb({encapsulation:2,styles:[],data:{}});function Dr(t){return r.zb(0,[(t()(),r.hb(0,0,null,null,163,null,null,null,null,null,null,null)),(t()(),r.hb(1,0,null,null,1,"home-hero",[],null,null,null,B,F)),r.gb(2,114688,null,0,M,[],{model:[0,"model"]},null),(t()(),r.hb(3,0,null,null,3,"section",[["class","overview"],["id","productCards"]],null,null,null,null,null)),(t()(),r.hb(4,0,null,null,2,"div",[["class","container"]],null,null,null,null,null)),(t()(),r.hb(5,0,null,null,1,"home-products",[],null,null,null,q,G)),r.gb(6,114688,null,0,z,[],{model:[0,"model"]},null),(t()(),r.hb(7,0,null,null,6,"section",[["class","dna-tests text-center"]],null,null,null,null,null)),(t()(),r.hb(8,0,null,null,5,"div",[["class","container"]],null,null,null,null,null)),(t()(),r.hb(9,0,null,null,1,"h2",[["class","heading-beta"]],null,null,null,null,null)),(t()(),r.xb(-1,null,["Where will your DNA take you?"])),(t()(),r.hb(11,0,null,null,2,"div",[["class","col-md-8 col-centered"]],null,null,null,null,null)),(t()(),r.hb(12,0,null,null,1,"h4",[["class","heading-delta"]],null,null,null,null,null)),(t()(),r.xb(-1,null,[" Learn about your personal history and follow the path of your ancestors with FamilyTreeDNA\u2019s industry-leading tests "])),(t()(),r.hb(14,0,null,null,60,"section",[["class","dna-tabs"]],null,null,null,null,null)),(t()(),r.hb(15,0,null,null,9,"ul",[["class","nav nav-tabs"]],null,null,null,null,null)),(t()(),r.hb(16,0,null,null,2,"li",[["class","active"]],null,null,null,null,null)),(t()(),r.hb(17,0,null,null,1,"a",[["data-toggle","tab"],["href","#family-ancestry"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.clickTab("family-ancestry")&&r),r},null,null)),(t()(),r.xb(-1,null,["Family Ancestry"])),(t()(),r.hb(19,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),r.hb(20,0,null,null,1,"a",[["data-toggle","tab"],["href","#paternal-ancestry"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.clickTab("paternal-ancestry")&&r),r},null,null)),(t()(),r.xb(-1,null,["Paternal Ancestry"])),(t()(),r.hb(22,0,null,null,2,"li",[],null,null,null,null,null)),(t()(),r.hb(23,0,null,null,1,"a",[["data-toggle","tab"],["href","#maternal-ancestry"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.clickTab("maternal-ancestry")&&r),r},null,null)),(t()(),r.xb(-1,null,["Maternal Ancestry"])),(t()(),r.hb(25,0,null,null,49,"div",[["style","background-color: #f7f8fa;"]],null,null,null,null,null)),(t()(),r.hb(26,0,null,null,48,"div",[["class","container"]],null,null,null,null,null)),(t()(),r.hb(27,0,null,null,47,"div",[["class","tab-content"]],null,null,null,null,null)),(t()(),r.hb(28,0,null,null,36,"div",[["class","tab-pane fade in active"],["id","family-ancestry"]],null,null,null,null,null)),(t()(),r.hb(29,0,null,null,0,"div",[["class","map-container myorigins"]],null,null,null,null,null)),(t()(),r.hb(30,0,null,null,34,"div",[["class","myorigins-map"]],null,null,null,null,null)),(t()(),r.hb(31,0,null,null,3,"div",[["class","personas"]],null,null,null,null,null)),(t()(),r.hb(32,0,null,null,0,"img",[["alt",""],["class","persona_a"],["src","/Areas/Main/Apps/Home/images/person_a@2x.jpg"]],[[2,"active",null]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.switchpersona("persona_a")&&r),r},null,null)),(t()(),r.hb(33,0,null,null,0,"img",[["alt",""],["class","persona_b"],["src","/Areas/Main/Apps/Home/images/person_b@2x.jpg"]],[[2,"active",null]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.switchpersona("persona_b")&&r),r},null,null)),(t()(),r.hb(34,0,null,null,0,"img",[["alt",""],["class","persona_c"],["src","/Areas/Main/Apps/Home/images/person_c@2x.jpg"]],[[2,"active",null]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.switchpersona("persona_c")&&r),r},null,null)),(t()(),r.hb(35,0,null,null,9,"div",[["class","persona_a_origins"]],[[2,"active",null]],null,null,null,null)),(t()(),r.hb(36,0,null,null,0,"img",[["alt",""],["class","ethnic-percentage"],["src","/Areas/Main/Apps/Home/images/persona_a_card.svg"]],null,null,null,null,null)),(t()(),r.hb(37,0,null,null,0,"img",[["alt",""],["class","clusters cluster-1"],["src","/Areas/Main/Apps/Home/images/persona_a-cluster-1.svg"]],null,null,null,null,null)),(t()(),r.hb(38,0,null,null,0,"img",[["alt",""],["class","clusters cluster-2"],["src","/Areas/Main/Apps/Home/images/persona_a-cluster-2.svg"]],null,null,null,null,null)),(t()(),r.hb(39,0,null,null,0,"img",[["alt",""],["class","clusters cluster-3"],["src","/Areas/Main/Apps/Home/images/persona_a-cluster-3.svg"]],null,null,null,null,null)),(t()(),r.hb(40,0,null,null,0,"img",[["alt",""],["class","clusters cluster-4"],["src","/Areas/Main/Apps/Home/images/persona_a-cluster-4.svg"]],null,null,null,null,null)),(t()(),r.hb(41,0,null,null,0,"img",[["alt",""],["class","clusters cluster-5"],["src","/Areas/Main/Apps/Home/images/persona_a-cluster-5.svg"]],null,null,null,null,null)),(t()(),r.hb(42,0,null,null,0,"img",[["alt",""],["class","clusters cluster-6"],["src","/Areas/Main/Apps/Home/images/persona_a-cluster-6.svg"]],null,null,null,null,null)),(t()(),r.hb(43,0,null,null,0,"img",[["alt",""],["class","clusters cluster-7"],["src","/Areas/Main/Apps/Home/images/persona_a-cluster-7.svg"]],null,null,null,null,null)),(t()(),r.hb(44,0,null,null,0,"img",[["alt",""],["class","clusters cluster-8"],["src","/Areas/Main/Apps/Home/images/persona_a-cluster-8.svg"]],null,null,null,null,null)),(t()(),r.hb(45,0,null,null,8,"div",[["class","persona_b_origins"]],[[2,"active",null]],null,null,null,null)),(t()(),r.hb(46,0,null,null,0,"img",[["alt",""],["class","ethnic-percentage"],["src","/Areas/Main/Apps/Home/images/persona_b_card.svg"]],null,null,null,null,null)),(t()(),r.hb(47,0,null,null,0,"img",[["alt",""],["class","clusters cluster-1"],["src","/Areas/Main/Apps/Home/images/persona_b-cluster-1.svg"]],null,null,null,null,null)),(t()(),r.hb(48,0,null,null,0,"img",[["alt",""],["class","clusters cluster-2"],["src","/Areas/Main/Apps/Home/images/persona_b-cluster-2.svg"]],null,null,null,null,null)),(t()(),r.hb(49,0,null,null,0,"img",[["alt",""],["class","clusters cluster-3"],["src","/Areas/Main/Apps/Home/images/persona_b-cluster-3.svg"]],null,null,null,null,null)),(t()(),r.hb(50,0,null,null,0,"img",[["alt",""],["class","clusters cluster-4"],["src","/Areas/Main/Apps/Home/images/persona_b-cluster-4.svg"]],null,null,null,null,null)),(t()(),r.hb(51,0,null,null,0,"img",[["alt",""],["class","clusters cluster-5"],["src","/Areas/Main/Apps/Home/images/persona_b-cluster-5.svg"]],null,null,null,null,null)),(t()(),r.hb(52,0,null,null,0,"img",[["alt",""],["class","clusters cluster-6"],["src","/Areas/Main/Apps/Home/images/persona_b-cluster-6.svg"]],null,null,null,null,null)),(t()(),r.hb(53,0,null,null,0,"img",[["alt",""],["class","clusters cluster-7"],["src","/Areas/Main/Apps/Home/images/persona_b-cluster-7.svg"]],null,null,null,null,null)),(t()(),r.hb(54,0,null,null,10,"div",[["class","persona_c_origins"]],[[2,"active",null]],null,null,null,null)),(t()(),r.hb(55,0,null,null,0,"img",[["alt",""],["class","ethnic-percentage"],["src","/Areas/Main/Apps/Home/images/persona_c_card.svg"]],null,null,null,null,null)),(t()(),r.hb(56,0,null,null,0,"img",[["alt",""],["class","clusters cluster-1"],["src","/Areas/Main/Apps/Home/images/persona_c-cluster-1.svg"]],null,null,null,null,null)),(t()(),r.hb(57,0,null,null,0,"img",[["alt",""],["class","clusters cluster-2"],["src","/Areas/Main/Apps/Home/images/persona_c-cluster-2.svg"]],null,null,null,null,null)),(t()(),r.hb(58,0,null,null,0,"img",[["alt",""],["class","clusters cluster-3"],["src","/Areas/Main/Apps/Home/images/persona_c-cluster-3.svg"]],null,null,null,null,null)),(t()(),r.hb(59,0,null,null,0,"img",[["alt",""],["class","clusters cluster-4"],["src","/Areas/Main/Apps/Home/images/persona_c-cluster-4.svg"]],null,null,null,null,null)),(t()(),r.hb(60,0,null,null,0,"img",[["alt",""],["class","clusters cluster-5"],["src","/Areas/Main/Apps/Home/images/persona_c-cluster-5.svg"]],null,null,null,null,null)),(t()(),r.hb(61,0,null,null,0,"img",[["alt",""],["class","clusters cluster-6"],["src","/Areas/Main/Apps/Home/images/persona_c-cluster-6.svg"]],null,null,null,null,null)),(t()(),r.hb(62,0,null,null,0,"img",[["alt",""],["class","clusters cluster-7"],["src","/Areas/Main/Apps/Home/images/persona_c-cluster-7.svg"]],null,null,null,null,null)),(t()(),r.hb(63,0,null,null,0,"img",[["alt",""],["class","clusters cluster-8"],["src","/Areas/Main/Apps/Home/images/persona_c-cluster-8.svg"]],null,null,null,null,null)),(t()(),r.hb(64,0,null,null,0,"img",[["alt",""],["class","clusters cluster-9"],["src","/Areas/Main/Apps/Home/images/persona_c-cluster-9.svg"]],null,null,null,null,null)),(t()(),r.hb(65,0,null,null,4,"div",[["class","tab-pane fade"],["id","paternal-ancestry"]],null,null,null,null,null)),(t()(),r.hb(66,0,null,null,0,"div",[["class","map-container haplogroup-ydna"]],null,null,null,null,null)),(t()(),r.hb(67,0,null,null,2,"div",[["class","haplogroup-map"]],null,null,null,null,null)),(t()(),r.hb(68,0,null,null,1,"lottie-animation-view",[],null,[[null,"animCreated"]],function(t,e,n){var r=!0;return"animCreated"===e&&(r=!1!==t.component.handleAnimation2(n)&&r),r},Q,Y)),r.gb(69,114688,null,0,Z,[r.v],{options:[0,"options"]},{animCreated:"animCreated"}),(t()(),r.hb(70,0,null,null,4,"div",[["class","tab-pane fade"],["id","maternal-ancestry"]],null,null,null,null,null)),(t()(),r.hb(71,0,null,null,0,"div",[["class","map-container haplogroup-mtdna"]],null,null,null,null,null)),(t()(),r.hb(72,0,null,null,2,"div",[["class","haplogroup-map"]],null,null,null,null,null)),(t()(),r.hb(73,0,null,null,1,"lottie-animation-view",[],null,[[null,"animCreated"]],function(t,e,n){var r=!0;return"animCreated"===e&&(r=!1!==t.component.handleAnimation3(n)&&r),r},Q,Y)),r.gb(74,114688,null,0,Z,[r.v],{options:[0,"options"]},{animCreated:"animCreated"}),(t()(),r.hb(75,0,null,null,36,"section",[["class","how-it-works text-center"]],null,null,null,null,null)),(t()(),r.hb(76,0,null,null,35,"div",[["class","container"]],null,null,null,null,null)),(t()(),r.hb(77,0,null,null,1,"h2",[["class","heading-beta"]],null,null,null,null,null)),(t()(),r.xb(-1,null,["How it works"])),(t()(),r.hb(79,0,null,null,3,"h4",[["class","heading-delta"]],null,null,null,null,null)),(t()(),r.xb(-1,null,[" Four simple steps to "])),(t()(),r.hb(81,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),r.xb(-1,null,[" jumpstart your DNA journey "])),(t()(),r.hb(83,0,null,null,28,"div",[["class","flex-steps"]],null,null,null,null,null)),(t()(),r.hb(84,0,null,null,6,"div",[["class","step"]],null,null,null,null,null)),(t()(),r.hb(85,0,null,null,1,"div",[["class","circle-stp"]],null,null,null,null,null)),(t()(),r.xb(-1,null,["1"])),(t()(),r.hb(87,0,null,null,1,"h6",[],null,null,null,null,null)),(t()(),r.xb(-1,null,["Order"])),(t()(),r.hb(89,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),r.xb(-1,null,[" Order your DNA kit online. Already have a kit? Sign in to your account to order upgrades and add-ons. "])),(t()(),r.hb(91,0,null,null,6,"div",[["class","step"]],null,null,null,null,null)),(t()(),r.hb(92,0,null,null,1,"div",[["class","circle-stp"]],null,null,null,null,null)),(t()(),r.xb(-1,null,["2"])),(t()(),r.hb(94,0,null,null,1,"h6",[],null,null,null,null,null)),(t()(),r.xb(-1,null,["Swab"])),(t()(),r.hb(96,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),r.xb(-1,null,[" Simply swab the inside of your cheeks with convenient \u2018snap-off\u2019 swabs. No spit, no blood, no sweat! "])),(t()(),r.hb(98,0,null,null,6,"div",[["class","step"]],null,null,null,null,null)),(t()(),r.hb(99,0,null,null,1,"div",[["class","circle-stp"]],null,null,null,null,null)),(t()(),r.xb(-1,null,["3"])),(t()(),r.hb(101,0,null,null,1,"h6",[],null,null,null,null,null)),(t()(),r.xb(-1,null,["Mail"])),(t()(),r.hb(103,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),r.xb(-1,null,[" Mail your kit back in the prepaid package we provide. International orders do not include return shipping. "])),(t()(),r.hb(105,0,null,null,6,"div",[["class","step"]],null,null,null,null,null)),(t()(),r.hb(106,0,null,null,1,"div",[["class","circle-stp"]],null,null,null,null,null)),(t()(),r.xb(-1,null,["4"])),(t()(),r.hb(108,0,null,null,1,"h6",[],null,null,null,null,null)),(t()(),r.xb(-1,null,["Receive"])),(t()(),r.hb(110,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),r.xb(-1,null,[" Receive your results online in 4 to 8 weeks. We will notify you via email once your results are ready. "])),(t()(),r.hb(112,0,null,null,11,"section",[["class","dna-data-base"]],null,null,null,null,null)),(t()(),r.hb(113,0,null,null,10,"div",[["class","container"]],null,null,null,null,null)),(t()(),r.hb(114,0,null,null,3,"h4",[["class","heading-gama"]],null,null,null,null,null)),(t()(),r.xb(-1,null,[" We have the world\u2019s most comprehensive DNA matching "])),(t()(),r.hb(116,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),r.xb(-1,null,[" database for autosomal DNA, Y-DNA and mtDNA. "])),(t()(),r.hb(118,0,null,null,5,"input",[["class","input"],["name","surname"],["placeholder","Search Surname"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(t,e,n){var i=!0,o=t.component;return"input"===e&&(i=!1!==r.rb(t,119)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==r.rb(t,119).onTouched()&&i),"compositionstart"===e&&(i=!1!==r.rb(t,119)._compositionStart()&&i),"compositionend"===e&&(i=!1!==r.rb(t,119)._compositionEnd(n.target.value)&&i),"ngModelChange"===e&&(i=!1!==(o.surname=n)&&i),"keyup"===e&&(i=!1!==o.onEnter(n)&&i),i},null,null)),r.gb(119,16384,null,0,ge,[r.x,r.i,[2,ye]],null,null),r.ub(1024,null,de,function(t){return[t]},[ge]),r.gb(121,671744,null,0,rn,[[8,null],[8,null],[8,null],[6,de]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),r.ub(2048,null,Ee,null,[rn]),r.gb(123,16384,null,0,we,[[4,Ee]],null,null),(t()(),r.hb(124,0,null,null,19,"home-product-card",[],null,null,null,un,ln)),r.gb(125,49152,null,0,an,[],{wrapperClassName:[0,"wrapperClassName"]},null),(t()(),r.hb(126,0,null,0,1,"div",[["class","col-md-7 col-sm-6"]],null,null,null,null,null)),(t()(),r.hb(127,0,null,null,0,"div",[["class","img"]],null,null,null,null,null)),(t()(),r.hb(128,0,null,0,15,"div",[["class","col-md-5 col-sm-6"]],null,null,null,null,null)),(t()(),r.hb(129,0,null,null,14,"div",[["class","copy-text"]],null,null,null,null,null)),(t()(),r.hb(130,0,null,null,1,"h5",[["class","heading-epsilon"]],null,null,null,null,null)),(t()(),r.xb(-1,null,["OUR COMMITMENT"])),(t()(),r.hb(132,0,null,null,1,"h2",[["class","heading-beta"]],null,null,null,null,null)),(t()(),r.xb(-1,null,["We won\u2019t share your DNA"])),(t()(),r.hb(134,0,null,null,4,"p",[],null,null,null,null,null)),(t()(),r.xb(-1,null,[" We believe your DNA belongs to YOU and only you "])),(t()(),r.hb(136,0,null,null,1,"span",[["class","lt"]],null,null,null,null,null)),(t()(),r.xb(-1,null,[". . ."])),(t()(),r.xb(-1,null,[" period. For that reason, we will never sell your DNA to third parties. "])),(t()(),r.hb(139,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),r.xb(-1,null,["Can the other guys say that?"])),(t()(),r.hb(141,0,null,null,2,"p",[],null,null,null,null,null)),(t()(),r.hb(142,0,null,null,1,"a",[["href","/legal/privacy-statement"]],null,null,null,null,null)),(t()(),r.xb(-1,null,["Read our privacy policy."])),(t()(),r.hb(144,0,null,null,15,"home-product-card",[],null,null,null,un,ln)),r.gb(145,49152,null,0,an,[],{wrapperClassName:[0,"wrapperClassName"]},null),(t()(),r.hb(146,0,null,0,1,"div",[["class","col-md-6 col-sm-4 col-sm-push-8 col-md-push-6"]],null,null,null,null,null)),(t()(),r.hb(147,0,null,null,0,"div",[["class","img"]],null,null,null,null,null)),(t()(),r.hb(148,0,null,0,11,"div",[["class","col-md-6 col-sm-8 col-sm-pull-4 col-md-pull-6"]],null,null,null,null,null)),(t()(),r.hb(149,0,null,null,10,"div",[["class","copy-text"]],null,null,null,null,null)),(t()(),r.hb(150,0,null,null,1,"h5",[["class","heading-epsilon"]],null,null,null,null,null)),(t()(),r.xb(-1,null,["STATE-OF-THE-ART GENOMICS LAB"])),(t()(),r.hb(152,0,null,null,3,"h2",[["class","heading-beta"]],null,null,null,null,null)),(t()(),r.xb(-1,null,[" One in-house lab, "])),(t()(),r.hb(154,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),r.xb(-1,null,[" twice the credentials "])),(t()(),r.hb(156,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),r.xb(-1,null,[" While most testing companies send your DNA to third-party labs, we process and store all samples in our on-site, state-of-the-art laboratory. Our expert team of industry leaders and CLIA-certified and CAP-accredited facility ensure that we meet the highest standards and deliver accurate results. "])),(t()(),r.hb(158,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),r.xb(-1,null,[" We use the latest technology including Illumina\u2019s powerful HumanOmniExpress-24 chip and NovaSeq Sequencing System, allowing us to genotype DNA at the highest level and process the greatest number of samples. "])),(t()(),r.hb(160,0,null,null,3,"home-faq",[],null,null,null,pn,hn)),r.gb(161,49152,null,0,cn,[],null,null),(t()(),r.hb(162,0,null,0,1,"home-faq-body",[],null,null,null,mn,dn)),r.gb(163,4243456,null,0,fn,[],null,null)],function(t,e){var n=e.component;t(e,2,0,e.parent.context.$implicit.viewModel),t(e,6,0,e.parent.context.$implicit.viewModel),t(e,69,0,n.paternalLottieConfig),t(e,74,0,n.maternalLottieConfig),t(e,121,0,"surname",n.surname),t(e,125,0,"dna-secure"),t(e,145,0,"in-house-lab")},function(t,e){var n=e.component;t(e,32,0,n.isactivepersona("persona_a")),t(e,33,0,n.isactivepersona("persona_b")),t(e,34,0,n.isactivepersona("persona_c")),t(e,35,0,n.isactivepersona("persona_a")),t(e,45,0,n.isactivepersona("persona_b")),t(e,54,0,n.isactivepersona("persona_c")),t(e,118,0,r.rb(e,123).ngClassUntouched,r.rb(e,123).ngClassTouched,r.rb(e,123).ngClassPristine,r.rb(e,123).ngClassDirty,r.rb(e,123).ngClassValid,r.rb(e,123).ngClassInvalid,r.rb(e,123).ngClassPending)})}function Ir(t){return r.zb(0,[(t()(),r.hb(0,0,null,null,2,"main",[],null,null,null,null,null)),(t()(),r.W(16777216,null,null,1,null,Dr)),r.gb(2,16384,null,0,b,[r.G,r.D],{ngIf:[0,"ngIf"]},null)],function(t,e){t(e,2,0,e.context.$implicit.viewModel)},null)}function Or(t){return r.zb(0,[(t()(),r.hb(0,0,null,null,3,"div",[["class","gaia"]],null,null,null,null,null)),(t()(),r.W(16777216,null,null,2,null,Ir)),r.gb(2,16384,null,0,b,[r.G,r.D],{ngIf:[0,"ngIf"]},null),r.sb(131072,T,[r.f])],function(t,e){var n=e.component;t(e,2,0,r.yb(e,2,0,r.rb(e,3).transform(n.store$)))},null)}var Mr=r.fb({encapsulation:2,styles:[],data:{}});function Fr(t){return r.zb(0,[(t()(),r.hb(0,0,null,null,1,"home",[],null,null,null,Or,kr)),r.gb(1,114688,null,0,Tr,[Pn.o],null,null)],function(t,e){t(e,1,0)},null)}function Rr(t){return r.zb(0,[(t()(),r.hb(0,0,null,null,1,"app-root",[],null,null,null,Fr,Mr)),r.gb(1,49152,null,0,o,[],null,null)],null,null)}var Nr=r.db("app-root",o,Rr,{},{},[]),Vr=function(){return function(){}}(),jr=function(){return function(){}}(),Lr=function(){function t(t){var e=this;this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?function(){e.headers=new Map,t.split("\n").forEach(function(t){var n=t.indexOf(":");if(n>0){var r=t.slice(0,n),i=r.toLowerCase(),o=t.slice(n+1).trim();e.maybeSetNormalizedName(r,i),e.headers.has(i)?e.headers.get(i).push(o):e.headers.set(i,[o])}})}:function(){e.headers=new Map,Object.keys(t).forEach(function(n){var r=t[n],i=n.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(e.headers.set(i,r),e.maybeSetNormalizedName(n,i))})}:this.headers=new Map}return t.prototype.has=function(t){return this.init(),this.headers.has(t.toLowerCase())},t.prototype.get=function(t){this.init();var e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null},t.prototype.keys=function(){return this.init(),Array.from(this.normalizedNames.values())},t.prototype.getAll=function(t){return this.init(),this.headers.get(t.toLowerCase())||null},t.prototype.append=function(t,e){return this.clone({name:t,value:e,op:"a"})},t.prototype.set=function(t,e){return this.clone({name:t,value:e,op:"s"})},t.prototype.delete=function(t,e){return this.clone({name:t,value:e,op:"d"})},t.prototype.maybeSetNormalizedName=function(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)},t.prototype.init=function(){var e=this;this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(t){return e.applyUpdate(t)}),this.lazyUpdate=null))},t.prototype.copyFrom=function(t){var e=this;t.init(),Array.from(t.headers.keys()).forEach(function(n){e.headers.set(n,t.headers.get(n)),e.normalizedNames.set(n,t.normalizedNames.get(n))})},t.prototype.clone=function(e){var n=new t;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n},t.prototype.applyUpdate=function(t){var e=t.name.toLowerCase();switch(t.op){case"a":case"s":var n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);var r=("a"===t.op?this.headers.get(e):void 0)||[];r.push.apply(r,Object(s.g)(n)),this.headers.set(e,r);break;case"d":var i=t.value;if(i){var o=this.headers.get(e);if(!o)return;0===(o=o.filter(function(t){return-1===i.indexOf(t)})).length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,o)}else this.headers.delete(e),this.normalizedNames.delete(e)}},t.prototype.forEach=function(t){var e=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(n){return t(e.normalizedNames.get(n),e.headers.get(n))})},t}(),Br=function(){function t(){}return t.prototype.encodeKey=function(t){return zr(t)},t.prototype.encodeValue=function(t){return zr(t)},t.prototype.decodeKey=function(t){return decodeURIComponent(t)},t.prototype.decodeValue=function(t){return decodeURIComponent(t)},t}();function zr(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}var Gr=function(){function t(t){var e,n,r,i=this;if(void 0===t&&(t={}),this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new Br,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(e=t.fromString,n=this.encoder,r=new Map,e.length>0&&e.split("&").forEach(function(t){var e=t.indexOf("="),i=Object(s.f)(-1==e?[n.decodeKey(t),""]:[n.decodeKey(t.slice(0,e)),n.decodeValue(t.slice(e+1))],2),o=i[0],a=i[1],l=r.get(o)||[];l.push(a),r.set(o,l)}),r)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(function(e){var n=t.fromObject[e];i.map.set(e,Array.isArray(n)?n:[n])})):this.map=null}return t.prototype.has=function(t){return this.init(),this.map.has(t)},t.prototype.get=function(t){this.init();var e=this.map.get(t);return e?e[0]:null},t.prototype.getAll=function(t){return this.init(),this.map.get(t)||null},t.prototype.keys=function(){return this.init(),Array.from(this.map.keys())},t.prototype.append=function(t,e){return this.clone({param:t,value:e,op:"a"})},t.prototype.set=function(t,e){return this.clone({param:t,value:e,op:"s"})},t.prototype.delete=function(t,e){return this.clone({param:t,value:e,op:"d"})},t.prototype.toString=function(){var t=this;return this.init(),this.keys().map(function(e){var n=t.encoder.encodeKey(e);return t.map.get(e).map(function(e){return n+"="+t.encoder.encodeValue(e)}).join("&")}).join("&")},t.prototype.clone=function(e){var n=new t({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat([e]),n},t.prototype.init=function(){var t=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(e){return t.map.set(e,t.cloneFrom.map.get(e))}),this.updates.forEach(function(e){switch(e.op){case"a":case"s":var n=("a"===e.op?t.map.get(e.param):void 0)||[];n.push(e.value),t.map.set(e.param,n);break;case"d":if(void 0===e.value){t.map.delete(e.param);break}var r=t.map.get(e.param)||[],i=r.indexOf(e.value);-1!==i&&r.splice(i,1),r.length>0?t.map.set(e.param,r):t.map.delete(e.param)}}),this.cloneFrom=this.updates=null)},t}();function Hr(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function Ur(t){return"undefined"!=typeof Blob&&t instanceof Blob}function Wr(t){return"undefined"!=typeof FormData&&t instanceof FormData}var qr=function(){function t(t,e,n,r){var i;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==n?n:null,i=r):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.params&&(this.params=i.params)),this.headers||(this.headers=new Lr),this.params){var o=this.params.toString();if(0===o.length)this.urlWithParams=e;else{var s=e.indexOf("?");this.urlWithParams=e+(-1===s?"?":s<e.length-1?"&":"")+o}}else this.params=new Gr,this.urlWithParams=e}return t.prototype.serializeBody=function(){return null===this.body?null:Hr(this.body)||Ur(this.body)||Wr(this.body)||"string"==typeof this.body?this.body:this.body instanceof Gr?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()},t.prototype.detectContentTypeHeader=function(){return null===this.body?null:Wr(this.body)?null:Ur(this.body)?this.body.type||null:Hr(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Gr?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null},t.prototype.clone=function(e){void 0===e&&(e={});var n=e.method||this.method,r=e.url||this.url,i=e.responseType||this.responseType,o=void 0!==e.body?e.body:this.body,s=void 0!==e.withCredentials?e.withCredentials:this.withCredentials,a=void 0!==e.reportProgress?e.reportProgress:this.reportProgress,l=e.headers||this.headers,u=e.params||this.params;return void 0!==e.setHeaders&&(l=Object.keys(e.setHeaders).reduce(function(t,n){return t.set(n,e.setHeaders[n])},l)),e.setParams&&(u=Object.keys(e.setParams).reduce(function(t,n){return t.set(n,e.setParams[n])},u)),new t(n,r,o,{params:u,headers:l,reportProgress:a,responseType:i,withCredentials:s})},t}(),Kr=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}({}),Zr=function(){return function(t,e,n){void 0===e&&(e=200),void 0===n&&(n="OK"),this.headers=t.headers||new Lr,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}(),Yr=function(t){function e(e){void 0===e&&(e={});var n=t.call(this,e)||this;return n.type=Kr.ResponseHeader,n}return Object(s.c)(e,t),e.prototype.clone=function(t){return void 0===t&&(t={}),new e({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})},e}(Zr),Qr=function(t){function e(e){void 0===e&&(e={});var n=t.call(this,e)||this;return n.type=Kr.Response,n.body=void 0!==e.body?e.body:null,n}return Object(s.c)(e,t),e.prototype.clone=function(t){return void 0===t&&(t={}),new e({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})},e}(Zr),Xr=function(t){function e(e){var n=t.call(this,e,0,"Unknown Error")||this;return n.name="HttpErrorResponse",n.ok=!1,n.message=n.status>=200&&n.status<300?"Http failure during parsing for "+(e.url||"(unknown url)"):"Http failure response for "+(e.url||"(unknown url)")+": "+e.status+" "+e.statusText,n.error=e.error||null,n}return Object(s.c)(e,t),e}(Zr);function Jr(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}var $r=function(){function t(t){this.handler=t}return t.prototype.request=function(t,e,n){var r,i=this;if(void 0===n&&(n={}),t instanceof qr)r=t;else{var o;o=n.headers instanceof Lr?n.headers:new Lr(n.headers);var s=void 0;n.params&&(s=n.params instanceof Gr?n.params:new Gr({fromObject:n.params})),r=new qr(t,e,void 0!==n.body?n.body:null,{headers:o,params:s,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}var a=Object(br.a)(r).pipe(Object(Xn.a)(function(t){return i.handler.handle(t)}));if(t instanceof qr||"events"===n.observe)return a;var l=a.pipe(Object(Vn.a)(function(t){return t instanceof Qr}));switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return l.pipe(Object(ce.a)(function(t){if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return l.pipe(Object(ce.a)(function(t){if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return l.pipe(Object(ce.a)(function(t){if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return l.pipe(Object(ce.a)(function(t){return t.body}))}case"response":return l;default:throw new Error("Unreachable: unhandled observe type "+n.observe+"}")}},t.prototype.delete=function(t,e){return void 0===e&&(e={}),this.request("DELETE",t,e)},t.prototype.get=function(t,e){return void 0===e&&(e={}),this.request("GET",t,e)},t.prototype.head=function(t,e){return void 0===e&&(e={}),this.request("HEAD",t,e)},t.prototype.jsonp=function(t,e){return this.request("JSONP",t,{params:(new Gr).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})},t.prototype.options=function(t,e){return void 0===e&&(e={}),this.request("OPTIONS",t,e)},t.prototype.patch=function(t,e,n){return void 0===n&&(n={}),this.request("PATCH",t,Jr(n,e))},t.prototype.post=function(t,e,n){return void 0===n&&(n={}),this.request("POST",t,Jr(n,e))},t.prototype.put=function(t,e,n){return void 0===n&&(n={}),this.request("PUT",t,Jr(n,e))},t}(),ti=function(){function t(t,e){this.next=t,this.interceptor=e}return t.prototype.handle=function(t){return this.interceptor.intercept(t,this.next)},t}(),ei=new r.m("HTTP_INTERCEPTORS"),ni=function(){function t(){}return t.prototype.intercept=function(t,e){return e.handle(t)},t}(),ri=/^\)\]\}',?\n/,ii=function(){return function(){}}(),oi=function(){function t(){}return t.prototype.build=function(){return new XMLHttpRequest},t}(),si=function(){function t(t){this.xhrFactory=t}return t.prototype.handle=function(t){var e=this;if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new le.a(function(n){var r=e.xhrFactory.build();if(r.open(t.method,t.urlWithParams),t.withCredentials&&(r.withCredentials=!0),t.headers.forEach(function(t,e){return r.setRequestHeader(t,e.join(","))}),t.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){var i=t.detectContentTypeHeader();null!==i&&r.setRequestHeader("Content-Type",i)}if(t.responseType){var o=t.responseType.toLowerCase();r.responseType="json"!==o?o:"text"}var s=t.serializeBody(),a=null,l=function(){if(null!==a)return a;var e=1223===r.status?204:r.status,n=r.statusText||"OK",i=new Lr(r.getAllResponseHeaders()),o=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(r)||t.url;return a=new Yr({headers:i,status:e,statusText:n,url:o})},u=function(){var e=l(),i=e.headers,o=e.status,s=e.statusText,a=e.url,u=null;204!==o&&(u=void 0===r.response?r.responseText:r.response),0===o&&(o=u?200:0);var c=o>=200&&o<300;if("json"===t.responseType&&"string"==typeof u){var h=u;u=u.replace(ri,"");try{u=""!==u?JSON.parse(u):null}catch(p){u=h,c&&(c=!1,u={error:p,text:u})}}c?(n.next(new Qr({body:u,headers:i,status:o,statusText:s,url:a||void 0})),n.complete()):n.error(new Xr({error:u,headers:i,status:o,statusText:s,url:a||void 0}))},c=function(t){var e=l().url,i=new Xr({error:t,status:r.status||0,statusText:r.statusText||"Unknown Error",url:e||void 0});n.error(i)},h=!1,p=function(e){h||(n.next(l()),h=!0);var i={type:Kr.DownloadProgress,loaded:e.loaded};e.lengthComputable&&(i.total=e.total),"text"===t.responseType&&r.responseText&&(i.partialText=r.responseText),n.next(i)},f=function(t){var e={type:Kr.UploadProgress,loaded:t.loaded};t.lengthComputable&&(e.total=t.total),n.next(e)};return r.addEventListener("load",u),r.addEventListener("error",c),t.reportProgress&&(r.addEventListener("progress",p),null!==s&&r.upload&&r.upload.addEventListener("progress",f)),r.send(s),n.next({type:Kr.Sent}),function(){r.removeEventListener("error",c),r.removeEventListener("load",u),t.reportProgress&&(r.removeEventListener("progress",p),null!==s&&r.upload&&r.upload.removeEventListener("progress",f)),r.abort()}})},t}(),ai=new r.m("XSRF_COOKIE_NAME"),li=new r.m("XSRF_HEADER_NAME"),ui=function(){return function(){}}(),ci=function(){function t(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return t.prototype.getToken=function(){if("server"===this.platform)return null;var t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=m(t,this.cookieName),this.lastCookieString=t),this.lastToken},t}(),hi=function(){function t(t,e){this.tokenService=t,this.headerName=e}return t.prototype.intercept=function(t,e){var n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);var r=this.tokenService.getToken();return null===r||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,r)})),e.handle(t)},t}(),pi=function(){function t(t,e){this.backend=t,this.injector=e,this.chain=null}return t.prototype.handle=function(t){if(null===this.chain){var e=this.injector.get(ei,[]);this.chain=e.reduceRight(function(t,e){return new ti(t,e)},this.backend)}return this.chain.handle(t)},t}(),fi=function(){function t(){}var e;return e=t,t.disable=function(){return{ngModule:e,providers:[{provide:hi,useClass:ni}]}},t.withOptions=function(t){return void 0===t&&(t={}),{ngModule:e,providers:[t.cookieName?{provide:ai,useValue:t.cookieName}:[],t.headerName?{provide:li,useValue:t.headerName}:[]]}},t}(),di=function(){return function(){}}(),mi=n("A5yv"),yi=function(){function t(t){this.httpClient=t}return t.prototype.init=function(){return this.httpClient.post("/",null)},t.ngInjectableDef=r.Bb({factory:function(){return new t(r.Fb($r))},token:t,providedIn:"root"}),t}(),gi=function(){function t(){}return t.forRoot=function(){return{ngModule:t}},t}(),vi=function(){return function(){}}(),bi=r.eb(i,[o],function(t){return r.ob([r.pb(512,r.h,r.R,[[8,[Nr]],[3,r.h],r.r]),r.pb(5120,r.q,r.bb,[[3,r.q]]),r.pb(4608,f,d,[r.q,[2,p]]),r.pb(5120,r.X,r.cb,[r.t]),r.pb(4608,r.g,r.g,[]),r.pb(5120,r.a,r.Y,[]),r.pb(5120,r.o,r.Z,[]),r.pb(5120,r.p,r.ab,[]),r.pb(4608,Qt,Xt,[D]),r.pb(6144,r.A,null,[Qt]),r.pb(4608,Ht,Wt,[]),r.pb(5120,yt,function(t,e,n,r,i,o,s,a){return[new zt(t,e,n),new Yt(r),new qt(i,o,s,a)]},[D,r.t,r.v,D,D,Ht,r.S,[2,Ut]]),r.pb(4608,gt,gt,[yt,r.t]),r.pb(135680,_t,_t,[D]),r.pb(4608,Pt,Pt,[gt,_t,r.a]),r.pb(6144,r.y,null,[Pt]),r.pb(6144,bt,null,[_t]),r.pb(4608,r.E,r.E,[r.t]),r.pb(4608,ui,ci,[D,r.v,ai]),r.pb(4608,hi,hi,[ui,li]),r.pb(5120,ei,function(t){return[t]},[hi]),r.pb(4608,Oe,Oe,[]),r.pb(5120,mi.i,mi.e,[]),r.pb(5120,mi.f,mi.h,[mi.g]),r.pb(135680,mi.k,mi.k,[]),r.pb(4608,mi.j,mi.j,[mi.i,mi.f,mi.k]),r.pb(4608,mi.a,mi.a,[mi.k,Pn.a,Pn.j,mi.j,Pn.l,r.j,Pn.e,mi.f]),r.pb(5120,mi.c,mi.d,[mi.i,mi.f]),r.pb(1073742336,k,k,[]),r.pb(1024,r.j,se,[]),r.pb(1024,r.b,function(t){return[(e=t,ft("probe",mt),ft("coreTokens",Object(s.a)({},dt,(e||[]).reduce(function(t,e){return t[e.name]=e.token,t},{}))),function(){return mt})];var e},[[2,r.s]]),r.pb(512,r.c,r.c,[[2,r.b]]),r.pb(131584,r.e,r.e,[r.t,r.S,r.n,r.j,r.h,r.c]),r.pb(1073742336,r.d,r.d,[r.e]),r.pb(1073742336,ae,ae,[[3,ae]]),r.pb(1073742336,fi,fi,[]),r.pb(1073742336,di,di,[]),r.pb(1073742336,on,on,[]),r.pb(1073742336,sn,sn,[]),r.pb(1073742336,mi.b,mi.b,[]),r.pb(131584,Pn.a,Pn.a,[]),r.pb(2048,Pn.i,null,[Pn.a]),r.pb(256,Pn.E,void 0,[]),r.pb(1024,Pn.e,Pn.S,[Pn.E]),r.pb(256,Pn.G,{},[]),r.pb(2048,Pn.H,null,[Pn.G]),r.pb(1024,Pn.d,Pn.P,[r.n,Pn.G,Pn.H]),r.pb(256,Pn.F,Pn.u,[]),r.pb(256,Pn.N,void 0,[]),r.pb(1024,Pn.t,Pn.C,[Pn.N]),r.pb(1024,Pn.O,Pn.V,[Pn.t]),r.pb(1024,Pn.f,function(t,e){return[Pn.B(t),Pn.A(e)]},[Pn.O,Pn.O]),r.pb(256,Pn.s,[],[]),r.pb(1024,Pn.M,Pn.T,[Pn.f,Pn.s]),r.pb(1024,Pn.g,Pn.y,[Pn.F,Pn.M]),r.pb(131584,Pn.h,Pn.h,[Pn.i,Pn.e,Pn.d,Pn.g]),r.pb(2048,Pn.j,null,[Pn.h]),r.pb(131584,Pn.l,Pn.l,[]),r.pb(131584,Pn.m,Pn.m,[Pn.a,Pn.j,Pn.l,Pn.e]),r.pb(2048,Pn.n,null,[Pn.m]),r.pb(512,Pn.o,Pn.o,[Pn.n,Pn.a,Pn.h]),r.pb(1024,Pn.D,Pn.U,[[3,Pn.o]]),r.pb(1073742336,Pn.q,Pn.q,[Pn.a,Pn.j,Pn.l,Pn.o,[2,Pn.D]]),r.pb(512,lr,lr,[r.j,Pn.o]),r.pb(131584,fr,fr,[lr,Pn.o]),r.pb(1024,hr,gr,[]),r.pb(1024,Pn.J,function(){return[{}]},[]),r.pb(1024,Pn.k,function(){return[{key:"home",reducerFactory:Pn.u,metaReducers:[],initialState:void 0}]},[]),r.pb(1024,Pn.K,Pn.Q,[r.n,Pn.J,Pn.k]),r.pb(1024,Pn.I,function(){return[{homeDataState:xr}]},[]),r.pb(1024,Pn.L,function(t){return[t]},[Pn.I]),r.pb(1024,Pn.b,function(t,e,n){return[Pn.R(t,e,n)]},[r.n,Pn.I,Pn.L]),r.pb(1073873408,Pn.p,Pn.p,[Pn.K,Pn.b,Pn.h,Pn.q]),r.pb(1024,cr,vr,[[3,fr]]),r.pb(1073742336,mr,mr,[lr,fr,Pn.o,hr,[2,Pn.q],[2,Pn.p],[2,cr]]),r.pb(512,sr,sr,[Pn.l]),r.pb(512,oi,oi,[]),r.pb(2048,ii,null,[oi]),r.pb(512,si,si,[ii]),r.pb(2048,jr,null,[si]),r.pb(512,Vr,pi,[jr,r.n]),r.pb(512,$r,$r,[Vr]),r.pb(512,yi,yi,[$r]),r.pb(512,_r,_r,[sr,yi]),r.pb(1024,pr,function(t){return[gr(t)]},[_r]),r.pb(1073742336,yr,yr,[mr,pr,[2,Pn.q],[2,Pn.p]]),r.pb(1073742336,gi,gi,[]),r.pb(1073742336,vi,vi,[]),r.pb(1073742336,i,i,[]),r.pb(256,r.Q,!0,[]),r.pb(256,ai,"XSRF-TOKEN",[]),r.pb(256,li,"X-XSRF-TOKEN",[]),r.pb(256,mi.g,{maxAge:25,logOnly:!0},[])])});Object(r.K)(),oe().bootstrapModuleFactory(bi).catch(function(t){return console.log(t)})},zo3G:function(t,e,n){"use strict";var r=n("mrSG"),i=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.scheduler=e,r.work=n,r}return r.c(e,t),e.prototype.schedule=function(e,n){return void 0===n&&(n=0),n>0?t.prototype.schedule.call(this,e,n):(this.delay=n,this.state=e,this.scheduler.flush(this),this)},e.prototype.execute=function(e,n){return n>0||this.closed?t.prototype.execute.call(this,e,n):this._execute(e,n)},e.prototype.requestAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0?t.prototype.requestAsyncId.call(this,e,n,r):e.flush(this)},e}(n("h9Dq").a),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.c(e,t),e}(n("CS9Q").a);n.d(e,"a",function(){return s});var s=new o(i)},zotm:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n("rPjj"),i=n("Fxb1"),o=n("6blF");function s(t,e,n,s,a){if(void 0===a&&(a=new r.a(t,n,s)),!a.closed)return e instanceof o.a?e.subscribe(a):Object(i.a)(e)(a)}}},[[0,0]]]);
