(self.webpackChunkfooter=self.webpackChunkfooter||[]).push([[179],{98255:function(Bi){function Pn(Vi){return Promise.resolve().then(function(){var oe=new Error("Cannot find module '"+Vi+"'");throw oe.code="MODULE_NOT_FOUND",oe})}Pn.keys=function(){return[]},Pn.resolve=Pn,Pn.id=98255,Bi.exports=Pn},37257:function(Bi,Pn,Vi){"use strict";function oe(e){return(oe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(e)}function De(e,t,n){return De="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(i,a,o){var s=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=oe(e)););return e}(i,a);if(s){var u=Object.getOwnPropertyDescriptor(s,a);return u.get?u.get.call(o):u.value}},De(e,t,n||e)}function Cd(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t,n){return t&&Cd(e.prototype,t),n&&Cd(e,n),e}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ji(e,t){return(ji=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r})(e,t)}function R(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ji(e,t)}function Dd(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oo(e){return(oo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(e)}function Nt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ob(e,t){return!t||"object"!==oo(t)&&"function"!=typeof t?Nt(e):t}function M(e){var t=Dd();return function(){var i,r=oe(e);if(t){var a=oe(this).constructor;i=Reflect.construct(r,arguments,a)}else i=r.apply(this,arguments);return ob(this,i)}}function yu(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function so(e,t){if(e){if("string"==typeof e)return yu(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return yu(e,t)}}function Zn(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=so(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(l){throw l},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,a=!0,o=!1;return{s:function(){n=n.call(e)},n:function(){var l=n.next();return a=l.done,l},e:function(l){o=!0,s=l},f:function(){try{!a&&null!=n.return&&n.return()}finally{if(o)throw s}}}}function rt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,s,r=[],i=!0,a=!1;try{for(n=n.call(e);!(i=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);i=!0);}catch(u){a=!0,s=u}finally{try{!i&&null!=n.return&&n.return()}finally{if(a)throw s}}return r}}(e,t)||so(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function xe(e){return function(e){if(Array.isArray(e))return yu(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||so(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ft(e,t,n){return(Ft=Dd()?Reflect.construct:function(i,a,o){var s=[null];s.push.apply(s,a);var l=new(Function.bind.apply(i,s));return o&&ji(l,o.prototype),l}).apply(null,arguments)}function _u(e){var t="function"==typeof Map?new Map:void 0;return _u=function(r){if(null===r||!function(e){return-1!==Function.toString.call(e).indexOf("[native code]")}(r))return r;if("function"!=typeof r)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(r))return t.get(r);t.set(r,i)}function i(){return Ft(r,arguments,oe(this).constructor)}return i.prototype=Object.create(r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),ji(i,r)},_u(e)}var Td=function(){return Array.isArray||function(e){return e&&"number"==typeof e.length}}();function Ad(e){return null!==e&&"object"==typeof e}function Eu(e){return"function"==typeof e}var uo=function(){function e(t){return Error.call(this),this.message=t?"".concat(t.length," errors occurred during unsubscription:\n").concat(t.map(function(n,r){return"".concat(r+1,") ").concat(n.toString())}).join("\n  ")):"",this.name="UnsubscriptionError",this.errors=t,this}return e.prototype=Object.create(Error.prototype),e}(),et=function(){var t,e=function(){function t(n){m(this,t),this.closed=!1,this._parentOrParents=null,this._subscriptions=null,n&&(this._ctorUnsubscribe=!0,this._unsubscribe=n)}return g(t,[{key:"unsubscribe",value:function(){var r;if(!this.closed){var i=this._parentOrParents,a=this._ctorUnsubscribe,o=this._unsubscribe,s=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,i instanceof t)i.remove(this);else if(null!==i)for(var u=0;u<i.length;++u)i[u].remove(this);if(Eu(o)){a&&(this._unsubscribe=void 0);try{o.call(this)}catch(h){r=h instanceof uo?Id(h.errors):[h]}}if(Td(s))for(var c=-1,f=s.length;++c<f;){var d=s[c];if(Ad(d))try{d.unsubscribe()}catch(h){r=r||[],h instanceof uo?r=r.concat(Id(h.errors)):r.push(h)}}if(r)throw new uo(r)}}},{key:"add",value:function(r){var i=r;if(!r)return t.EMPTY;switch(typeof r){case"function":i=new t(r);case"object":if(i===this||i.closed||"function"!=typeof i.unsubscribe)return i;if(this.closed)return i.unsubscribe(),i;if(!(i instanceof t)){var a=i;(i=new t)._subscriptions=[a]}break;default:throw new Error("unrecognized teardown "+r+" added to Subscription.")}var s=i._parentOrParents;if(null===s)i._parentOrParents=this;else if(s instanceof t){if(s===this)return i;i._parentOrParents=[s,this]}else{if(-1!==s.indexOf(this))return i;s.push(this)}var u=this._subscriptions;return null===u?this._subscriptions=[i]:u.push(i),i}},{key:"remove",value:function(r){var i=this._subscriptions;if(i){var a=i.indexOf(r);-1!==a&&i.splice(a,1)}}}]),t}();return e.EMPTY=((t=new e).closed=!0,t),e}();function Id(e){return e.reduce(function(t,n){return t.concat(n instanceof uo?n.errors:n)},[])}var bu=!1,Ot={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){var t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else bu&&console.log("RxJS: Back to a better error behavior. Thank you. <3");bu=e},get useDeprecatedSynchronousErrorHandling(){return bu}};function Mr(e){setTimeout(function(){throw e},0)}var lo={closed:!0,next:function(t){},error:function(t){if(Ot.useDeprecatedSynchronousErrorHandling)throw t;Mr(t)},complete:function(){}},co=function(){return"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()}(),Ve=function(e){R(n,e);var t=M(n);function n(r,i,a){var o;switch(m(this,n),(o=t.call(this)).syncErrorValue=null,o.syncErrorThrown=!1,o.syncErrorThrowable=!1,o.isStopped=!1,arguments.length){case 0:o.destination=lo;break;case 1:if(!r){o.destination=lo;break}if("object"==typeof r){r instanceof n?(o.syncErrorThrowable=r.syncErrorThrowable,o.destination=r,r.add(Nt(o))):(o.syncErrorThrowable=!0,o.destination=new Rd(Nt(o),r));break}default:o.syncErrorThrowable=!0,o.destination=new Rd(Nt(o),r,i,a)}return o}return g(n,[{key:co,value:function(){return this}},{key:"next",value:function(i){this.isStopped||this._next(i)}},{key:"error",value:function(i){this.isStopped||(this.isStopped=!0,this._error(i))}},{key:"complete",value:function(){this.isStopped||(this.isStopped=!0,this._complete())}},{key:"unsubscribe",value:function(){this.closed||(this.isStopped=!0,De(oe(n.prototype),"unsubscribe",this).call(this))}},{key:"_next",value:function(i){this.destination.next(i)}},{key:"_error",value:function(i){this.destination.error(i),this.unsubscribe()}},{key:"_complete",value:function(){this.destination.complete(),this.unsubscribe()}},{key:"_unsubscribeAndRecycle",value:function(){var i=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=i,this}}],[{key:"create",value:function(i,a,o){var s=new n(i,a,o);return s.syncErrorThrowable=!1,s}}]),n}(et),Rd=function(e){R(n,e);var t=M(n);function n(r,i,a,o){var s;m(this,n),(s=t.call(this))._parentSubscriber=r;var u,l=Nt(s);return Eu(i)?u=i:i&&(u=i.next,a=i.error,o=i.complete,i!==lo&&(Eu((l=Object.create(i)).unsubscribe)&&s.add(l.unsubscribe.bind(l)),l.unsubscribe=s.unsubscribe.bind(Nt(s)))),s._context=l,s._next=u,s._error=a,s._complete=o,s}return g(n,[{key:"next",value:function(i){if(!this.isStopped&&this._next){var a=this._parentSubscriber;Ot.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable?this.__tryOrSetError(a,this._next,i)&&this.unsubscribe():this.__tryOrUnsub(this._next,i)}}},{key:"error",value:function(i){if(!this.isStopped){var a=this._parentSubscriber,o=Ot.useDeprecatedSynchronousErrorHandling;if(this._error)o&&a.syncErrorThrowable?(this.__tryOrSetError(a,this._error,i),this.unsubscribe()):(this.__tryOrUnsub(this._error,i),this.unsubscribe());else if(a.syncErrorThrowable)o?(a.syncErrorValue=i,a.syncErrorThrown=!0):Mr(i),this.unsubscribe();else{if(this.unsubscribe(),o)throw i;Mr(i)}}}},{key:"complete",value:function(){var i=this;if(!this.isStopped){var a=this._parentSubscriber;if(this._complete){var o=function(){return i._complete.call(i._context)};Ot.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable?(this.__tryOrSetError(a,o),this.unsubscribe()):(this.__tryOrUnsub(o),this.unsubscribe())}else this.unsubscribe()}}},{key:"__tryOrUnsub",value:function(i,a){try{i.call(this._context,a)}catch(o){if(this.unsubscribe(),Ot.useDeprecatedSynchronousErrorHandling)throw o;Mr(o)}}},{key:"__tryOrSetError",value:function(i,a,o){if(!Ot.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{a.call(this._context,o)}catch(s){return Ot.useDeprecatedSynchronousErrorHandling?(i.syncErrorValue=s,i.syncErrorThrown=!0,!0):(Mr(s),!0)}return!1}},{key:"_unsubscribe",value:function(){var i=this._parentSubscriber;this._context=null,this._parentSubscriber=null,i.unsubscribe()}}]),n}(Ve),Hi=function(){return"function"==typeof Symbol&&Symbol.observable||"@@observable"}();function Md(e){return e}function Pd(e){return 0===e.length?Md:1===e.length?e[0]:function(n){return e.reduce(function(r,i){return i(r)},n)}}var Pe=function(){var e=function(){function t(n){m(this,t),this._isScalar=!1,n&&(this._subscribe=n)}return g(t,[{key:"lift",value:function(r){var i=new t;return i.source=this,i.operator=r,i}},{key:"subscribe",value:function(r,i,a){var o=this.operator,s=function(e,t,n){if(e){if(e instanceof Ve)return e;if(e[co])return e[co]()}return e||t||n?new Ve(e,t,n):new Ve(lo)}(r,i,a);if(s.add(o?o.call(s,this.source):this.source||Ot.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),Ot.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}},{key:"_trySubscribe",value:function(r){try{return this._subscribe(r)}catch(i){Ot.useDeprecatedSynchronousErrorHandling&&(r.syncErrorThrown=!0,r.syncErrorValue=i),function(e){for(;e;){var r=e.destination;if(e.closed||e.isStopped)return!1;e=r&&r instanceof Ve?r:null}return!0}(r)?r.error(i):console.warn(i)}}},{key:"forEach",value:function(r,i){var a=this;return new(i=Nd(i))(function(o,s){var u;u=a.subscribe(function(l){try{r(l)}catch(c){s(c),u&&u.unsubscribe()}},s,o)})}},{key:"_subscribe",value:function(r){var i=this.source;return i&&i.subscribe(r)}},{key:Hi,value:function(){return this}},{key:"pipe",value:function(){for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return 0===i.length?this:Pd(i)(this)}},{key:"toPromise",value:function(r){var i=this;return new(r=Nd(r))(function(a,o){var s;i.subscribe(function(u){return s=u},function(u){return o(u)},function(){return a(s)})})}}]),t}();return e.create=function(t){return new e(t)},e}();function Nd(e){if(e||(e=Ot.Promise||Promise),!e)throw new Error("no Promise impl found");return e}var Ui=function(){function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e}(),mb=function(e){R(n,e);var t=M(n);function n(r,i){var a;return m(this,n),(a=t.call(this)).subject=r,a.subscriber=i,a.closed=!1,a}return g(n,[{key:"unsubscribe",value:function(){if(!this.closed){this.closed=!0;var i=this.subject,a=i.observers;if(this.subject=null,a&&0!==a.length&&!i.isStopped&&!i.closed){var o=a.indexOf(this.subscriber);-1!==o&&a.splice(o,1)}}}}]),n}(et),Fd=function(e){R(n,e);var t=M(n);function n(r){var i;return m(this,n),(i=t.call(this,r)).destination=r,i}return g(n)}(Ve),fo=function(){var e=function(t){R(r,t);var n=M(r);function r(){var i;return m(this,r),(i=n.call(this)).observers=[],i.closed=!1,i.isStopped=!1,i.hasError=!1,i.thrownError=null,i}return g(r,[{key:co,value:function(){return new Fd(this)}},{key:"lift",value:function(a){var o=new Od(this,this);return o.operator=a,o}},{key:"next",value:function(a){if(this.closed)throw new Ui;if(!this.isStopped)for(var o=this.observers,s=o.length,u=o.slice(),l=0;l<s;l++)u[l].next(a)}},{key:"error",value:function(a){if(this.closed)throw new Ui;this.hasError=!0,this.thrownError=a,this.isStopped=!0;for(var o=this.observers,s=o.length,u=o.slice(),l=0;l<s;l++)u[l].error(a);this.observers.length=0}},{key:"complete",value:function(){if(this.closed)throw new Ui;this.isStopped=!0;for(var a=this.observers,o=a.length,s=a.slice(),u=0;u<o;u++)s[u].complete();this.observers.length=0}},{key:"unsubscribe",value:function(){this.isStopped=!0,this.closed=!0,this.observers=null}},{key:"_trySubscribe",value:function(a){if(this.closed)throw new Ui;return De(oe(r.prototype),"_trySubscribe",this).call(this,a)}},{key:"_subscribe",value:function(a){if(this.closed)throw new Ui;return this.hasError?(a.error(this.thrownError),et.EMPTY):this.isStopped?(a.complete(),et.EMPTY):(this.observers.push(a),new mb(this,a))}},{key:"asObservable",value:function(){var a=new Pe;return a.source=this,a}}]),r}(Pe);return e.create=function(t,n){return new Od(t,n)},e}(),Od=function(e){R(n,e);var t=M(n);function n(r,i){var a;return m(this,n),(a=t.call(this)).destination=r,a.source=i,a}return g(n,[{key:"next",value:function(i){var a=this.destination;a&&a.next&&a.next(i)}},{key:"error",value:function(i){var a=this.destination;a&&a.error&&this.destination.error(i)}},{key:"complete",value:function(){var i=this.destination;i&&i.complete&&this.destination.complete()}},{key:"_subscribe",value:function(i){return this.source?this.source.subscribe(i):et.EMPTY}}]),n}(fo);function ho(e){return e&&"function"==typeof e.schedule}function Cu(e,t){return function(r){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return r.lift(new yb(e,t))}}var yb=function(){function e(t,n){m(this,e),this.project=t,this.thisArg=n}return g(e,[{key:"call",value:function(n,r){return r.subscribe(new _b(n,this.project,this.thisArg))}}]),e}(),_b=function(e){R(n,e);var t=M(n);function n(r,i,a){var o;return m(this,n),(o=t.call(this,r)).project=i,o.count=0,o.thisArg=a||Nt(o),o}return g(n,[{key:"_next",value:function(i){var a;try{a=this.project.call(this.thisArg,i,this.count++)}catch(o){return void this.destination.error(o)}this.destination.next(a)}}]),n}(Ve),xd=function(t){return function(n){for(var r=0,i=t.length;r<i&&!n.closed;r++)n.next(t[r]);n.complete()}};function bb(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}var vo=bb(),Ld=function(t){return t&&"number"==typeof t.length&&"function"!=typeof t};function Bd(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}var Du=function(t){if(t&&"function"==typeof t[Hi])return function(t){return function(n){var r=t[Hi]();if("function"!=typeof r.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return r.subscribe(n)}}(t);if(Ld(t))return xd(t);if(Bd(t))return function(t){return function(n){return t.then(function(r){n.closed||(n.next(r),n.complete())},function(r){return n.error(r)}).then(null,Mr),n}}(t);if(t&&"function"==typeof t[vo])return function(t){return function(n){for(var r=t[vo]();;){var i=void 0;try{i=r.next()}catch(a){return n.error(a),n}if(i.done){n.complete();break}if(n.next(i.value),n.closed)break}return"function"==typeof r.return&&n.add(function(){r.return&&r.return()}),n}}(t);var n=Ad(t)?"an invalid object":"'".concat(t,"'"),r="You provided ".concat(n," where a stream was expected.")+" You can provide an Observable, Promise, Array, or Iterable.";throw new TypeError(r)};function wu(e,t){return new Pe(function(n){var r=new et,i=0;return r.add(t.schedule(function(){i!==e.length?(n.next(e[i++]),n.closed||r.add(this.schedule())):n.complete()})),r})}function Rb(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[Hi]}(e))return function(e,t){return new Pe(function(n){var r=new et;return r.add(t.schedule(function(){var i=e[Hi]();r.add(i.subscribe({next:function(o){r.add(t.schedule(function(){return n.next(o)}))},error:function(o){r.add(t.schedule(function(){return n.error(o)}))},complete:function(){r.add(t.schedule(function(){return n.complete()}))}}))})),r})}(e,t);if(Bd(e))return function(e,t){return new Pe(function(n){var r=new et;return r.add(t.schedule(function(){return e.then(function(i){r.add(t.schedule(function(){n.next(i),r.add(t.schedule(function(){return n.complete()}))}))},function(i){r.add(t.schedule(function(){return n.error(i)}))})})),r})}(e,t);if(Ld(e))return wu(e,t);if(function(e){return e&&"function"==typeof e[vo]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new Pe(function(n){var i,r=new et;return r.add(function(){i&&"function"==typeof i.return&&i.return()}),r.add(t.schedule(function(){i=e[vo](),r.add(t.schedule(function(){if(!n.closed){var a,o;try{var s=i.next();a=s.value,o=s.done}catch(u){return void n.error(u)}o?n.complete():(n.next(a),this.schedule())}}))})),r})}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,t):e instanceof Pe?e:new Pe(Du(e))}var Vd=function(e){R(n,e);var t=M(n);function n(r){var i;return m(this,n),(i=t.call(this)).parent=r,i}return g(n,[{key:"_next",value:function(i){this.parent.notifyNext(i)}},{key:"_error",value:function(i){this.parent.notifyError(i),this.unsubscribe()}},{key:"_complete",value:function(){this.parent.notifyComplete(),this.unsubscribe()}}]),n}(Ve),jd=function(e){R(n,e);var t=M(n);function n(){return m(this,n),t.apply(this,arguments)}return g(n,[{key:"notifyNext",value:function(i){this.destination.next(i)}},{key:"notifyError",value:function(i){this.destination.error(i)}},{key:"notifyComplete",value:function(){this.destination.complete()}}]),n}(Ve);function Hd(e,t){if(!t.closed){if(e instanceof Pe)return e.subscribe(t);var n;try{n=Du(e)(t)}catch(r){t.error(r)}return n}}function Ud(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof t?function(r){return r.pipe(Ud(function(i,a){return Rb(e(i,a)).pipe(Cu(function(o,s){return t(i,o,a,s)}))},n))}:("number"==typeof t&&(n=t),function(r){return r.lift(new Mb(e,n))})}var Mb=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;m(this,e),this.project=t,this.concurrent=n}return g(e,[{key:"call",value:function(n,r){return r.subscribe(new Pb(n,this.project,this.concurrent))}}]),e}(),Pb=function(e){R(n,e);var t=M(n);function n(r,i){var a,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return m(this,n),(a=t.call(this,r)).project=i,a.concurrent=o,a.hasCompleted=!1,a.buffer=[],a.active=0,a.index=0,a}return g(n,[{key:"_next",value:function(i){this.active<this.concurrent?this._tryNext(i):this.buffer.push(i)}},{key:"_tryNext",value:function(i){var a,o=this.index++;try{a=this.project(i,o)}catch(s){return void this.destination.error(s)}this.active++,this._innerSub(a)}},{key:"_innerSub",value:function(i){var a=new Vd(this),o=this.destination;o.add(a);var s=Hd(i,a);s!==a&&o.add(s)}},{key:"_complete",value:function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}},{key:"notifyNext",value:function(i){this.destination.next(i)}},{key:"notifyComplete",value:function(){var i=this.buffer;this.active--,i.length>0?this._next(i.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}]),n}(jd);function Gd(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return Ud(Md,e)}function Su(e,t){return t?wu(e,t):new Pe(xd(e))}function qd(){return function(t){return t.lift(new Fb(t))}}var Fb=function(){function e(t){m(this,e),this.connectable=t}return g(e,[{key:"call",value:function(n,r){var i=this.connectable;i._refCount++;var a=new Ob(n,i),o=r.subscribe(a);return a.closed||(a.connection=i.connect()),o}}]),e}(),Ob=function(e){R(n,e);var t=M(n);function n(r,i){var a;return m(this,n),(a=t.call(this,r)).connectable=i,a}return g(n,[{key:"_unsubscribe",value:function(){var i=this.connectable;if(i){this.connectable=null;var a=i._refCount;if(a<=0)this.connection=null;else if(i._refCount=a-1,a>1)this.connection=null;else{var o=this.connection,s=i._connection;this.connection=null,s&&(!o||s===o)&&s.unsubscribe()}}else this.connection=null}}]),n}(Ve),xb=function(e){R(n,e);var t=M(n);function n(r,i){var a;return m(this,n),(a=t.call(this)).source=r,a.subjectFactory=i,a._refCount=0,a._isComplete=!1,a}return g(n,[{key:"_subscribe",value:function(i){return this.getSubject().subscribe(i)}},{key:"getSubject",value:function(){var i=this._subject;return(!i||i.isStopped)&&(this._subject=this.subjectFactory()),this._subject}},{key:"connect",value:function(){var i=this._connection;return i||(this._isComplete=!1,(i=this._connection=new et).add(this.source.subscribe(new Bb(this.getSubject(),this))),i.closed&&(this._connection=null,i=et.EMPTY)),i}},{key:"refCount",value:function(){return qd()(this)}}]),n}(Pe),Lb=function(){var e=xb.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}}(),Bb=function(e){R(n,e);var t=M(n);function n(r,i){var a;return m(this,n),(a=t.call(this,r)).connectable=i,a}return g(n,[{key:"_error",value:function(i){this._unsubscribe(),De(oe(n.prototype),"_error",this).call(this,i)}},{key:"_complete",value:function(){this.connectable._isComplete=!0,this._unsubscribe(),De(oe(n.prototype),"_complete",this).call(this)}},{key:"_unsubscribe",value:function(){var i=this.connectable;if(i){this.connectable=null;var a=i._connection;i._refCount=0,i._subject=null,i._connection=null,a&&a.unsubscribe()}}}]),n}(Fd);function Hb(){return new fo}function X(e){for(var t in e)if(e[t]===X)return t;throw Error("Could not find renamed property on target object.")}function Q(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Q).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return"".concat(e.overriddenName);if(e.name)return"".concat(e.name);var t=e.toString();if(null==t)return""+t;var n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Tu(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}var Gb=X({__forward_ref__:X});function Au(e){return e.__forward_ref__=Au,e.toString=function(){return Q(this())},e}function N(e){return function(e){return"function"==typeof e&&e.hasOwnProperty(Gb)&&e.__forward_ref__===Au}(e)?e():e}var Nn=function(e){R(n,e);var t=M(n);function n(r,i){var a;return m(this,n),(a=t.call(this,function(e,t){var n=e?"NG0".concat(e,": "):"";return"".concat(n).concat(t)}(r,i))).code=r,a}return g(n)}(_u(Error));function V(e){return"string"==typeof e?e:null==e?"":String(e)}function ze(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():V(e)}function po(e,t){var n=t?" in ".concat(t):"";throw new Nn("201","No provider for ".concat(ze(e)," found").concat(n))}function at(e,t){null==e&&function(e,t,n,r){throw new Error("ASSERTION ERROR: ".concat(e)+(null==r?"":" [Expected=> ".concat(n," ").concat(r," ").concat(t," <=Actual]")))}(t,e,null,"!=")}function K(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function xt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Fn(e){return zd(e,go)||zd(e,Wd)}function zd(e,t){return e.hasOwnProperty(t)?e[t]:null}function Kd(e){return e&&(e.hasOwnProperty(Ru)||e.hasOwnProperty(Yb))?e[Ru]:null}var Mu,go=X({"\u0275prov":X}),Ru=X({"\u0275inj":X}),Wd=X({ngInjectableDef:X}),Yb=X({ngInjectorDef:X}),Y=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}({});function Zb(){return Mu}function On(e){var t=Mu;return Mu=e,t}function $d(e,t,n){var r=Fn(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&Y.Optional?null:void 0!==t?t:void po(Q(e),"Injector")}function xn(e){return{toString:e}.toString()}var Gi=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}({}),Lt=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}({}),Jb="undefined"!=typeof globalThis&&globalThis,Xb="undefined"!=typeof window&&window,eC="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,tC="undefined"!=typeof global&&global,te=Jb||tC||Xb||eC,Pr={},se=[],mo=X({"\u0275cmp":X}),Pu=X({"\u0275dir":X}),Nu=X({"\u0275pipe":X}),Yd=X({"\u0275mod":X}),nC=X({"\u0275loc":X}),En=X({"\u0275fac":X}),qi=X({__NG_ELEMENT_ID__:X}),rC=0;function yo(e){return xn(function(){var n={},r={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Gi.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||se,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Lt.Emulated,id:"c",styles:e.styles||se,_:null,setInput:null,schemas:e.schemas||null,tView:null},i=e.directives,a=e.features,o=e.pipes;return r.id+=rC++,r.inputs=eh(e.inputs,n),r.outputs=eh(e.outputs),a&&a.forEach(function(s){return s(r)}),r.directiveDefs=i?function(){return("function"==typeof i?i():i).map(Zd)}:null,r.pipeDefs=o?function(){return("function"==typeof o?o():o).map(Jd)}:null,r})}function Zd(e){return je(e)||function(e){return e[Pu]||null}(e)}function Jd(e){return function(e){return e[Nu]||null}(e)}var Xd={};function bn(e){return xn(function(){var t={type:e.type,bootstrap:e.bootstrap||se,declarations:e.declarations||se,imports:e.imports||se,exports:e.exports||se,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(Xd[e.id]=e.type),t})}function eh(e,t){if(null==e)return Pr;var n={};for(var r in e)if(e.hasOwnProperty(r)){var i=e[r],a=i;Array.isArray(i)&&(a=i[1],i=i[0]),n[i]=r,t&&(t[i]=a)}return n}var gt=yo;function je(e){return e[mo]||null}function mt(e,t){var n=e[Yd]||null;if(!n&&!0===t)throw new Error("Type ".concat(Q(e)," does not have '\u0275mod' property."));return n}var U=11;function an(e){return Array.isArray(e)&&"object"==typeof e[1]}function Vt(e){return Array.isArray(e)&&!0===e[1]}function xu(e){return 0!=(8&e.flags)}function Co(e){return 2==(2&e.flags)}function Do(e){return 1==(1&e.flags)}function jt(e){return null!==e.template}function cC(e){return 0!=(512&e[2])}function nr(e,t){return e.hasOwnProperty(En)?e[En]:null}var nh=function(){function e(t,n,r){m(this,e),this.previousValue=t,this.currentValue=n,this.firstChange=r}return g(e,[{key:"isFirstChange",value:function(){return this.firstChange}}]),e}();function wo(){return rh}function rh(e){return e.type.prototype.ngOnChanges&&(e.setInput=vC),hC}function hC(){var e=ah(this),t=null==e?void 0:e.current;if(t){var n=e.previous;if(n===Pr)e.previous=t;else for(var r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function vC(e,t,n,r){var i=ah(e)||function(e,t){return e[ih]=t}(e,{previous:Pr,current:null}),a=i.current||(i.current={}),o=i.previous,s=this.declaredInputs[n],u=o[s];a[s]=new nh(u&&u.currentValue,t,o===Pr),e[r]=t}wo.ngInherit=!0;var ih="__ngSimpleChanges__";function ah(e){return e[ih]||null}var Vu=void 0;function Ce(e){return!!e.listen}var uh={createRenderer:function(t,n){return void 0!==Vu?Vu:"undefined"!=typeof document?document:void 0}};function we(e){for(;Array.isArray(e);)e=e[0];return e}function st(e,t){return we(t[e.index])}function Hu(e,t){return e.data[t]}function ut(e,t){var n=t[e];return an(n)?n:n[0]}function Uu(e){return 128==(128&e[2])}function Bn(e,t){return null==t?null:e[t]}function ch(e){e[18]=0}function Gu(e,t){e[5]+=t;for(var n=e,r=e[3];null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}var x={lFrame:yh(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function fh(){return x.bindingsEnabled}function C(){return x.lFrame.lView}function $(){return x.lFrame.tView}function Br(e){return x.lFrame.contextLView=e,e[8]}function Ae(){for(var e=dh();null!==e&&64===e.type;)e=e.parent;return e}function dh(){return x.lFrame.currentTNode}function on(e,t){var n=x.lFrame;n.currentTNode=e,n.isParent=t}function qu(){return x.lFrame.isParent}function Qu(){x.lFrame.isParent=!1}function ko(){return x.isInCheckNoChangesMode}function To(e){x.isInCheckNoChangesMode=e}function Vr(){return x.lFrame.bindingIndex++}function RC(e,t){var n=x.lFrame;n.bindingIndex=n.bindingRootIndex=e,zu(t)}function zu(e){x.lFrame.currentDirectiveIndex=e}function Wu(e){x.lFrame.currentQueryIndex=e}function PC(e){var t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function gh(e,t,n){if(n&Y.SkipSelf){for(var r=t,i=e;!(null!==(r=r.parent)||n&Y.Host||null===(r=PC(i))||(i=i[15],10&r.type)););if(null===r)return!1;t=r,e=i}var a=x.lFrame=mh();return a.currentTNode=t,a.lView=e,!0}function Ao(e){var t=mh(),n=e[1];x.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function mh(){var e=x.lFrame,t=null===e?null:e.child;return null===t?yh(e):t}function yh(e){var t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function _h(){var e=x.lFrame;return x.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Eh=_h;function Io(){var e=_h();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function NC(e){var t=x.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,x.lFrame.contextLView);return t[8]}function $e(){return x.lFrame.selectedIndex}function Vn(e){x.lFrame.selectedIndex=e}function _e(){var e=x.lFrame;return Hu(e.tView,e.selectedIndex)}function Ro(e,t){for(var n=t.directiveStart,r=t.directiveEnd;n<r;n++){var a=e.data[n].type.prototype,o=a.ngAfterContentInit,s=a.ngAfterContentChecked,u=a.ngAfterViewInit,l=a.ngAfterViewChecked,c=a.ngOnDestroy;o&&(e.contentHooks||(e.contentHooks=[])).push(-n,o),s&&((e.contentHooks||(e.contentHooks=[])).push(n,s),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,s)),u&&(e.viewHooks||(e.viewHooks=[])).push(-n,u),l&&((e.viewHooks||(e.viewHooks=[])).push(n,l),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,l)),null!=c&&(e.destroyHooks||(e.destroyHooks=[])).push(n,c)}}function Mo(e,t,n){bh(e,t,3,n)}function Po(e,t,n,r){(3&e[2])===n&&bh(e,t,n,r)}function $u(e,t){var n=e[2];(3&n)===t&&(n&=2047,e[2]=n+=1)}function bh(e,t,n,r){for(var a=null!=r?r:-1,o=t.length-1,s=0,u=void 0!==r?65535&e[18]:0;u<o;u++)if("number"==typeof t[u+1]){if(s=t[u],null!=r&&s>=r)break}else t[u]<0&&(e[18]+=65536),(s<a||-1==a)&&(HC(e,n,t,u),e[18]=(4294901760&e[18])+u+2),u++}function HC(e,t,n,r){var i=n[r]<0,a=n[r+1],s=e[i?-n[r]:n[r]];if(i){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{a.call(s)}finally{}}}else try{a.call(s)}finally{}}var $i=g(function e(t,n,r){m(this,e),this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r});function No(e,t,n){for(var r=Ce(e),i=0;i<n.length;){var a=n[i];if("number"==typeof a){if(0!==a)break;i++;var o=n[i++],s=n[i++],u=n[i++];r?e.setAttribute(t,s,u,o):t.setAttributeNS(o,s,u)}else{var l=a,c=n[++i];Zu(l)?r&&e.setProperty(t,l,c):r?e.setAttribute(t,l,c):t.setAttribute(l,c),i++}}return i}function Ch(e){return 3===e||4===e||6===e}function Zu(e){return 64===e.charCodeAt(0)}function Fo(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else for(var n=-1,r=0;r<t.length;r++){var i=t[r];"number"==typeof i?n=i:0===n||Dh(e,n,i,null,-1===n||2===n?t[++r]:null)}return e}function Dh(e,t,n,r,i){var a=0,o=e.length;if(-1===t)o=-1;else for(;a<e.length;){var s=e[a++];if("number"==typeof s){if(s===t){o=-1;break}if(s>t){o=a-1;break}}}for(;a<e.length;){var u=e[a];if("number"==typeof u)break;if(u===n){if(null===r)return void(null!==i&&(e[a+1]=i));if(r===e[a+1])return void(e[a+2]=i)}a++,null!==r&&a++,null!==i&&a++}-1!==o&&(e.splice(o,0,t),a=o+1),e.splice(a++,0,n),null!==r&&e.splice(a++,0,r),null!==i&&e.splice(a++,0,i)}function wh(e){return-1!==e}function jr(e){return 32767&e}function Hr(e,t){for(var n=function(e){return e>>16}(e),r=t;n>0;)r=r[15],n--;return r}var Ju=!0;function Oo(e){var t=Ju;return Ju=e,t}var WC=0;function Zi(e,t){var n=el(e,t);if(-1!==n)return n;var r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Xu(r.data,e),Xu(t,null),Xu(r.blueprint,null));var i=xo(e,t),a=e.injectorIndex;if(wh(i))for(var o=jr(i),s=Hr(i,t),u=s[1].data,l=0;l<8;l++)t[a+l]=s[o+l]|u[o+l];return t[a+8]=i,a}function Xu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function el(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function xo(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;for(var n=0,r=null,i=t;null!==i;){var a=i[1],o=a.type;if(null===(r=2===o?a.declTNode:1===o?i[6]:null))return-1;if(n++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function Lo(e,t,n){!function(e,t,n){var r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(qi)&&(r=n[qi]),null==r&&(r=n[qi]=WC++);var i=255&r;t.data[e+(i>>5)]|=1<<i}(e,t,n)}function Th(e,t,n){if(n&Y.Optional)return e;po(t,"NodeInjector")}function Ah(e,t,n,r){if(n&Y.Optional&&void 0===r&&(r=null),0==(n&(Y.Self|Y.Host))){var i=e[9],a=On(void 0);try{return i?i.get(t,r,n&Y.Optional):$d(t,r,n&Y.Optional)}finally{On(a)}}return Th(r,t,n)}function Ih(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Y.Default,i=arguments.length>4?arguments[4]:void 0;if(null!==e){var a=XC(n);if("function"==typeof a){if(!gh(t,e,r))return r&Y.Host?Th(i,n,r):Ah(t,n,r,i);try{var o=a(r);if(null!=o||r&Y.Optional)return o;po(n)}finally{Eh()}}else if("number"==typeof a){var s=null,u=el(e,t),l=-1,c=r&Y.Host?t[16][6]:null;for((-1===u||r&Y.SkipSelf)&&(-1!==(l=-1===u?xo(e,t):t[u+8])&&Ph(r,!1)?(s=t[1],u=jr(l),t=Hr(l,t)):u=-1);-1!==u;){var f=t[1];if(Mh(a,u,f.data)){var d=JC(u,t,n,s,r,c);if(d!==Rh)return d}-1!==(l=t[u+8])&&Ph(r,t[1].data[u+8]===c)&&Mh(a,u,t)?(s=f,u=jr(l),t=Hr(l,t)):u=-1}}}return Ah(t,n,r,i)}var Rh={};function ZC(){return new Ur(Ae(),C())}function JC(e,t,n,r,i,a){var o=t[1],s=o.data[e+8],c=function(e,t,n,r,i){for(var a=e.providerIndexes,o=t.data,s=1048575&a,u=e.directiveStart,c=a>>20,d=i?s+c:e.directiveEnd,h=r?s:s+c;h<d;h++){var v=o[h];if(h<u&&n===v||h>=u&&v.type===n)return h}if(i){var p=o[u];if(p&&jt(p)&&p.type===n)return u}return null}(s,o,n,null==r?Co(s)&&Ju:r!=o&&0!=(3&s.type),i&Y.Host&&a===s);return null!==c?Ji(t,o,c,s):Rh}function Ji(e,t,n,r){var i=e[n],a=t.data;if(function(e){return e instanceof $i}(i)){var o=i;o.resolving&&function(e,t){throw new Nn("200","Circular dependency in DI detected for ".concat(e).concat(""))}(ze(a[n]));var s=Oo(o.canSeeViewProviders);o.resolving=!0;var u=o.injectImpl?On(o.injectImpl):null;gh(e,r,Y.Default);try{i=e[n]=o.factory(void 0,a,e,r),t.firstCreatePass&&n>=r.directiveStart&&function(e,t,n){var r=t.type.prototype,a=r.ngOnInit,o=r.ngDoCheck;if(r.ngOnChanges){var s=rh(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s)}a&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,a),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o))}(n,a[n],t)}finally{null!==u&&On(u),Oo(s),o.resolving=!1,Eh()}}return i}function XC(e){if("string"==typeof e)return e.charCodeAt(0)||0;var t=e.hasOwnProperty(qi)?e[qi]:void 0;return"number"==typeof t?t>=0?255&t:ZC:t}function Mh(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function Ph(e,t){return!(e&Y.Self||e&Y.Host&&t)}var Ur=function(){function e(t,n){m(this,e),this._tNode=t,this._lView=n}return g(e,[{key:"get",value:function(n,r,i){return Ih(this._tNode,this._lView,n,i,r)}}]),e}(),qr="__parameters__";function rr(e,t,n){return xn(function(){var r=function(e){return function(){if(e){var n=e.apply(void 0,arguments);for(var r in n)this[r]=n[r]}}}(t);function i(){for(var a=arguments.length,o=new Array(a),s=0;s<a;s++)o[s]=arguments[s];if(this instanceof i)return r.apply(this,o),this;var u=Ft(i,o);return l.annotation=u,l;function l(c,f,d){for(var h=c.hasOwnProperty(qr)?c[qr]:Object.defineProperty(c,qr,{value:[]})[qr];h.length<=d;)h.push(null);return(h[d]=h[d]||[]).push(u),c}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}var ie=function(){function e(t,n){m(this,e),this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=K({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}return g(e,[{key:"toString",value:function(){return"InjectionToken ".concat(this._desc)}}]),e}();function un(e,t){e.forEach(function(n){return Array.isArray(n)?un(n,t):t(n)})}function jo(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ir(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}var na={},sl="__NG_DI_FLAG__",Kr="ngTempTokenPath",vD=/\n/gm,ul="__source",ll=X({provide:String,useValue:X}),ra=void 0;function Uo(e){var t=ra;return ra=e,t}function mD(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Y.Default;if(void 0===ra)throw new Error("inject() must be called from an injection context");return null===ra?$d(e,void 0,t):ra.get(e,t&Y.Optional?null:void 0,t)}function F(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Y.Default;return(Zb()||mD)(N(e),t)}function ar(e){for(var t=[],n=0;n<e.length;n++){var r=N(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");for(var i=void 0,a=Y.Default,o=0;o<r.length;o++){var s=r[o],u=yD(s);"number"==typeof u?-1===u?i=s.token:a|=u:i=s}t.push(F(i,a))}else t.push(F(r))}return t}function ia(e,t){return e[sl]=t,e.prototype[sl]=t,e}function yD(e){return e[sl]}function _D(e,t,n,r){var i=e[Kr];throw t[ul]&&i.unshift(t[ul]),e.message=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;var i=Q(t);if(Array.isArray(t))i=t.map(Q).join(" -> ");else if("object"==typeof t){var a=[];for(var o in t)if(t.hasOwnProperty(o)){var s=t[o];a.push(o+":"+("string"==typeof s?JSON.stringify(s):Q(s)))}i="{".concat(a.join(", "),"}")}return"".concat(n).concat(r?"("+r+")":"","[").concat(i,"]: ").concat(e.replace(vD,"\n  "))}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[Kr]=null,e}var aa=ia(rr("Inject",function(t){return{token:t}}),-1),ln=ia(rr("Optional"),8),or=ia(rr("SkipSelf"),4),$r=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({}),Gh="__ngContext__";function Ue(e,t){e[Gh]=t}function hl(e){var t=function(e){return e[Gh]||null}(e);return t?Array.isArray(t)?t:t.lView:null}function pl(e,t){return undefined(e,t)}function ua(e){var t=e[3];return Vt(t)?t[3]:t}function gl(e){return Yh(e[13])}function ml(e){return Yh(e[4])}function Yh(e){for(;null!==e&&!Vt(e);)e=e[4];return e}function Yr(e,t,n,r,i){if(null!=r){var a,o=!1;Vt(r)?a=r:an(r)&&(o=!0,r=r[0]);var s=we(r);0===e&&null!==n?null==i?nv(t,n,s):sr(t,n,s,i||null,!0):1===e&&null!==n?sr(t,n,s,i||null,!0):2===e?function(e,t,n){var r=Qo(e,t);r&&function(e,t,n,r){Ce(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,s,o):3===e&&t.destroyNode(s),null!=a&&function(e,t,n,r,i){var a=n[7];a!==we(n)&&Yr(t,e,r,a,i);for(var s=10;s<n.length;s++){var u=n[s];la(u[1],u,e,t,r,a)}}(t,e,a,n,i)}}function yl(e,t){return Ce(e)?e.createText(t):e.createTextNode(t)}function _l(e,t,n){return Ce(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function Jh(e,t){var n=e[9],r=n.indexOf(t),i=t[3];1024&t[2]&&(t[2]&=-1025,Gu(i,-1)),n.splice(r,1)}function El(e,t){if(!(e.length<=10)){var n=10+t,r=e[n];if(r){var i=r[17];null!==i&&i!==e&&Jh(i,r),t>0&&(e[n-1][4]=r[4]);var a=ir(e,10+t);!function(e,t){la(e,t,t[U],2,null,null),t[0]=null,t[6]=null}(r[1],r);var o=a[19];null!==o&&o.detachView(a[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}}function Xh(e,t){if(!(256&t[2])){var n=t[U];Ce(n)&&n.destroyNode&&la(e,t,n,3,null,null),function(e){var t=e[13];if(!t)return bl(e[1],e);for(;t;){var n=null;if(an(t))n=t[13];else{var r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)an(t)&&bl(t[1],t),t=t[3];null===t&&(t=e),an(t)&&bl(t[1],t),n=t&&t[4]}t=n}}(t)}}function bl(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){var n;if(null!=e&&null!=(n=e.destroyHooks))for(var r=0;r<n.length;r+=2){var i=t[n[r]];if(!(i instanceof $i)){var a=n[r+1];if(Array.isArray(a))for(var o=0;o<a.length;o+=2){var s=i[a[o]],u=a[o+1];try{u.call(s)}finally{}}else try{a.call(i)}finally{}}}}(e,t),function(e,t){var n=e.cleanup,r=t[7],i=-1;if(null!==n)for(var a=0;a<n.length-1;a+=2)if("string"==typeof n[a]){var o=n[a+1],s="function"==typeof o?o(t):we(t[o]),u=r[i=n[a+2]],l=n[a+3];"boolean"==typeof l?s.removeEventListener(n[a],u,l):l>=0?r[i=l]():r[i=-l].unsubscribe(),a+=2}else{var c=r[i=n[a+1]];n[a].call(c)}if(null!==r){for(var f=i+1;f<r.length;f++)(0,r[f])();t[7]=null}}(e,t),1===t[1].type&&Ce(t[U])&&t[U].destroy();var n=t[17];if(null!==n&&Vt(t[3])){n!==t[3]&&Jh(n,t);var r=t[19];null!==r&&r.detachView(e)}}}function ev(e,t,n){return function(e,t,n){for(var r=t;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];if(2&r.flags){var i=e.data[r.directiveStart].encapsulation;if(i===Lt.None||i===Lt.Emulated)return null}return st(r,n)}(e,t.parent,n)}function sr(e,t,n,r,i){Ce(e)?e.insertBefore(t,n,r,i):t.insertBefore(n,r,i)}function nv(e,t,n){Ce(e)?e.appendChild(t,n):t.appendChild(n)}function rv(e,t,n,r,i){null!==r?sr(e,t,n,r,i):nv(e,t,n)}function Qo(e,t){return Ce(e)?e.parentNode(t):t.parentNode}var ov=function(e,t,n){return 40&e.type?st(e,n):null};function zo(e,t,n,r){var i=ev(e,r,t),a=t[U],s=function(e,t,n){return ov(e,t,n)}(r.parent||t[6],r,t);if(null!=i)if(Array.isArray(n))for(var u=0;u<n.length;u++)rv(a,i,n[u],s,!1);else rv(a,i,n,s,!1)}function Ko(e,t){if(null!==t){var n=t.type;if(3&n)return st(t,e);if(4&n)return Dl(-1,e[t.index]);if(8&n){var r=t.child;if(null!==r)return Ko(e,r);var i=e[t.index];return Vt(i)?Dl(-1,i):we(i)}if(32&n)return pl(t,e)()||we(e[t.index]);var s=uv(e,t);return null!==s?Array.isArray(s)?s[0]:Ko(ua(e[16]),s):Ko(e,t.next)}return null}function uv(e,t){return null!==t?e[16][6].projection[t.projection]:null}function Dl(e,t){var n=10+e+1;if(n<t.length){var r=t[n],i=r[1].firstChild;if(null!==i)return Ko(r,i)}return t[7]}function Sl(e,t,n,r,i,a,o){for(;null!=n;){var s=r[n.index],u=n.type;if(o&&0===t&&(s&&Ue(we(s),r),n.flags|=4),64!=(64&n.flags))if(8&u)Sl(e,t,n.child,r,i,a,!1),Yr(t,e,i,s,a);else if(32&u){for(var l=pl(n,r),c=void 0;c=l();)Yr(t,e,i,c,a);Yr(t,e,i,s,a)}else 16&u?lv(e,t,r,n,i,a):Yr(t,e,i,s,a);n=o?n.projectionNext:n.next}}function la(e,t,n,r,i,a){Sl(n,r,e.firstChild,t,i,a,!1)}function lv(e,t,n,r,i,a){var o=n[16],u=o[6].projection[r.projection];if(Array.isArray(u))for(var l=0;l<u.length;l++)Yr(t,e,i,u[l],a);else Sl(e,t,u,o[3],i,a,!0)}function cv(e,t,n){Ce(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function kl(e,t,n){Ce(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}var lr=function(){function e(t){m(this,e),this.changingThisBreaksApplicationSecurity=t}return g(e,[{key:"toString",value:function(){return"SafeValue must use [property]=binding: ".concat(this.changingThisBreaksApplicationSecurity)+" (see https://g.co/ng/security#xss)"}}]),e}();function cn(e,t){var n=function(e){return e instanceof lr&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error("Required a safe ".concat(t,", got a ").concat(n," (see https://g.co/ng/security#xss)"))}return n===t}var gw=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,mw=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;var Ct=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}({});function ue(e){var t=function(){var e=C();return e&&e[12]}();return t?t.sanitize(Ct.URL,e)||"":cn(e,"URL")?function(e){return e instanceof lr?e.changingThisBreaksApplicationSecurity:e}(e):function(e){return(e=String(e)).match(gw)||e.match(mw)?e:"unsafe:"+e}(V(e))}function Zo(e){return e.ngOriginalError}function Bw(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e.error.apply(e,n)}var cr=function(){function e(){m(this,e),this._console=console}return g(e,[{key:"handleError",value:function(n){var r=this._findOriginalError(n),i=this._findContext(n),a=function(e){return e&&e.ngErrorLogger||Bw}(n);a(this._console,"ERROR",n),r&&a(this._console,"ORIGINAL ERROR",r),i&&a(this._console,"ERROR CONTEXT",i)}},{key:"_findContext",value:function(n){return n?function(e){return e.ngDebugContext}(n)||this._findContext(Zo(n)):null}},{key:"_findOriginalError",value:function(n){for(var r=n&&Zo(n);r&&Zo(r);)r=Zo(r);return r||null}}]),e}(),Iv=function(){return("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(te)}();function dn(e){return e instanceof Function?e():e}function Mv(e,t,n){for(var r=e.length;;){var i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){var a=t.length;if(i+a===r||e.charCodeAt(i+a)<=32)return i}n=i+1}}var Pv="ng-template";function Kw(e,t,n){for(var r=0;r<e.length;){var i=e[r++];if(n&&"class"===i){if(-1!==Mv((i=e[r]).toLowerCase(),t,0))return!0}else if(1===i){for(;r<e.length&&"string"==typeof(i=e[r++]);)if(i.toLowerCase()===t)return!0;return!1}}return!1}function Nv(e){return 4===e.type&&e.value!==Pv}function Ww(e,t,n){return t===(4!==e.type||n?e.value:Pv)}function $w(e,t,n){for(var r=4,i=e.attrs||[],a=function(e){for(var t=0;t<e.length;t++)if(Ch(e[t]))return t;return e.length}(i),o=!1,s=0;s<t.length;s++){var u=t[s];if("number"!=typeof u){if(!o)if(4&r){if(r=2|1&r,""!==u&&!Ww(e,u,n)||""===u&&1===t.length){if(Ht(r))return!1;o=!0}}else{var l=8&r?u:t[++s];if(8&r&&null!==e.attrs){if(!Kw(e.attrs,l,n)){if(Ht(r))return!1;o=!0}continue}var f=Yw(8&r?"class":u,i,Nv(e),n);if(-1===f){if(Ht(r))return!1;o=!0;continue}if(""!==l){var d;d=f>a?"":i[f+1].toLowerCase();var h=8&r?d:null;if(h&&-1!==Mv(h,l,0)||2&r&&l!==d){if(Ht(r))return!1;o=!0}}}}else{if(!o&&!Ht(r)&&!Ht(u))return!1;if(o&&Ht(u))continue;o=!1,r=u|1&r}}return Ht(r)||o}function Ht(e){return 0==(1&e)}function Yw(e,t,n,r){if(null===t)return-1;var i=0;if(r||!n){for(var a=!1;i<t.length;){var o=t[i];if(o===e)return i;if(3===o||6===o)a=!0;else{if(1===o||2===o){for(var s=t[++i];"string"==typeof s;)s=t[++i];continue}if(4===o)break;if(0===o){i+=4;continue}}i+=a?1:2}return-1}return function(e,t){var n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){var r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function Fv(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=0;r<t.length;r++)if($w(e,t[r],n))return!0;return!1}function Ov(e,t){return e?":not("+t.trim()+")":t}function t0(e){for(var t=e[0],n=1,r=2,i="",a=!1;n<e.length;){var o=e[n];if("string"==typeof o)if(2&r){var s=e[++n];i+="["+o+(s.length>0?'="'+s+'"':"")+"]"}else 8&r?i+="."+o:4&r&&(i+=" "+o);else""!==i&&!Ht(o)&&(t+=Ov(a,i),i=""),r=o,a=a||!Ht(r);n++}return""!==i&&(t+=Ov(a,i)),t}var B={};function I(e){xv($(),C(),$e()+e,ko())}function xv(e,t,n,r){if(!r)if(3==(3&t[2])){var a=e.preOrderCheckHooks;null!==a&&Mo(t,a,n)}else{var o=e.preOrderHooks;null!==o&&Po(t,o,0,n)}Vn(n)}function zv(e,t){var n=e.contentQueries;if(null!==n)for(var r=0;r<n.length;r+=2){var a=n[r+1];if(-1!==a){var o=e.data[a];Wu(n[r]),o.contentQueries(2,t[a],a)}}}function ha(e,t,n,r,i,a,o,s,u,l){var c=t.blueprint.slice();return c[0]=i,c[2]=140|r,ch(c),c[3]=c[15]=e,c[8]=n,c[10]=o||e&&e[10],c[U]=s||e&&e[U],c[12]=u||e&&e[12]||null,c[9]=l||e&&e[9]||null,c[6]=a,c[16]=2==t.type?e[16]:c,c}function Jr(e,t,n,r,i){var a=e.data[t];if(null===a)a=function(e,t,n,r,i){var a=dh(),o=qu(),u=e.data[t]=function(e,t,n,r,i,a){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:i,attrs:a,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,o?a:a&&a.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=u),null!==a&&(o?null==a.child&&null!==u.parent&&(a.child=u):null===a.next&&(a.next=u)),u}(e,t,n,r,i),x.lFrame.inI18n&&(a.flags|=64);else if(64&a.type){a.type=n,a.value=r,a.attrs=i;var o=function(){var e=x.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();a.injectorIndex=null===o?-1:o.injectorIndex}return on(a,!0),a}function Xr(e,t,n,r){if(0===n)return-1;for(var i=t.length,a=0;a<n;a++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function va(e,t,n){Ao(t);try{var r=e.viewQuery;null!==r&&Jl(1,r,n);var i=e.template;null!==i&&Kv(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&zv(e,t),e.staticViewQueries&&Jl(2,e.viewQuery,n);var a=e.components;null!==a&&function(e,t){for(var n=0;n<t.length;n++)O0(e,t[n])}(t,a)}catch(o){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),o}finally{t[2]&=-5,Io()}}function ei(e,t,n,r){var i=t[2];if(256!=(256&i)){Ao(t);var a=ko();try{ch(t),function(e){x.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Kv(e,t,n,2,r);var o=3==(3&i);if(!a)if(o){var s=e.preOrderCheckHooks;null!==s&&Mo(t,s,null)}else{var u=e.preOrderHooks;null!==u&&Po(t,u,0,null),$u(t,0)}if(function(e){for(var t=gl(e);null!==t;t=ml(t))if(t[2])for(var n=t[9],r=0;r<n.length;r++){var i=n[r];0==(1024&i[2])&&Gu(i[3],1),i[2]|=1024}}(t),function(e){for(var t=gl(e);null!==t;t=ml(t))for(var n=10;n<t.length;n++){var r=t[n],i=r[1];Uu(r)&&ei(i,r,i.template,r[8])}}(t),null!==e.contentQueries&&zv(e,t),!a)if(o){var l=e.contentCheckHooks;null!==l&&Mo(t,l)}else{var c=e.contentHooks;null!==c&&Po(t,c,1),$u(t,1)}!function(e,t){var n=e.hostBindingOpCodes;if(null!==n)try{for(var r=0;r<n.length;r++){var i=n[r];if(i<0)Vn(~i);else{var a=i,o=n[++r],s=n[++r];RC(o,a),s(2,t[a])}}}finally{Vn(-1)}}(e,t);var f=e.components;null!==f&&function(e,t){for(var n=0;n<t.length;n++)F0(e,t[n])}(t,f);var d=e.viewQuery;if(null!==d&&Jl(2,d,r),!a)if(o){var h=e.viewCheckHooks;null!==h&&Mo(t,h)}else{var v=e.viewHooks;null!==v&&Po(t,v,2),$u(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),a||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,Gu(t[3],-1))}finally{Io()}}}function p0(e,t,n,r){var i=t[10],a=!ko(),o=function(e){return 4==(4&e[2])}(t);try{a&&!o&&i.begin&&i.begin(),o&&va(e,t,r),ei(e,t,n,r)}finally{a&&!o&&i.end&&i.end()}}function Kv(e,t,n,r,i){var a=$e(),o=2&r;try{Vn(-1),o&&t.length>20&&xv(e,t,20,ko()),n(r,i)}finally{Vn(a)}}function Wv(e,t,n){if(xu(t))for(var i=t.directiveEnd,a=t.directiveStart;a<i;a++){var o=e.data[a];o.contentQueries&&o.contentQueries(1,n[a],a)}}function ql(e,t,n){!fh()||(function(e,t,n,r){var i=n.directiveStart,a=n.directiveEnd;e.firstCreatePass||Zi(n,t),Ue(r,t);for(var o=n.initialInputs,s=i;s<a;s++){var u=e.data[s],l=jt(u);l&&I0(t,n,u);var c=Ji(t,e,s,n);Ue(c,t),null!==o&&R0(0,s-i,c,u,0,o),l&&(ut(n.index,t)[8]=c)}}(e,t,n,st(n,t)),128==(128&n.flags)&&function(e,t,n){var r=n.directiveStart,i=n.directiveEnd,o=n.index,s=x.lFrame.currentDirectiveIndex;try{Vn(o);for(var u=r;u<i;u++){var l=e.data[u],c=t[u];zu(u),(null!==l.hostBindings||0!==l.hostVars||null!==l.hostAttrs)&&np(l,c)}}finally{Vn(-1),zu(s)}}(e,t,n))}function Ql(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:st,r=t.localNames;if(null!==r)for(var i=t.index+1,a=0;a<r.length;a+=2){var o=r[a+1],s=-1===o?n(t,e):e[o];e[i++]=s}}function $v(e){var t=e.tView;return null===t||t.incompleteFirstPass?e.tView=ts(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function ts(e,t,n,r,i,a,o,s,u,l){var c=20+r,f=c+i,d=function(e,t){for(var n=[],r=0;r<t;r++)n.push(r<e?null:B);return n}(c,f),h="function"==typeof l?l():l;return d[1]={type:e,blueprint:d,template:n,queries:null,viewQuery:s,declTNode:t,data:d.slice().fill(null,c),bindingStartIndex:c,expandoStartIndex:f,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof a?a():a,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:u,consts:h,incompleteFirstPass:!1}}function Xv(e,t,n){for(var r in e)if(e.hasOwnProperty(r)){var i=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,i):n[r]=[t,i]}return n}function ft(e,t,n,r,i,a,o,s){var c,u=st(t,n),l=t.inputs;!s&&null!=l&&(c=l[r])?(dp(e,n,c,r,i),Co(t)&&function(e,t){var n=ut(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3&t.type&&(r=function(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=o?o(i,t.value||"",r):i,Ce(a)?a.setProperty(u,r,i):Zu(r)||(u.setProperty?u.setProperty(r,i):u[r]=i))}function zl(e,t,n,r){var i=!1;if(fh()){var a=function(e,t,n){var r=e.directiveRegistry,i=null;if(r)for(var a=0;a<r.length;a++){var o=r[a];Fv(n,o.selectors,!1)&&(i||(i=[]),Lo(Zi(n,t),e,o.type),jt(o)?(rp(e,n),i.unshift(o)):i.push(o))}return i}(e,t,n),o=null===r?null:{"":-1};if(null!==a){i=!0,ip(n,e.data.length,a.length);for(var s=0;s<a.length;s++){var u=a[s];u.providersResolver&&u.providersResolver(u)}for(var l=!1,c=!1,f=Xr(e,t,a.length,null),d=0;d<a.length;d++){var h=a[d];n.mergedAttrs=Fo(n.mergedAttrs,h.hostAttrs),ap(e,n,t,f,h),A0(f,h,o),null!==h.contentQueries&&(n.flags|=8),(null!==h.hostBindings||null!==h.hostAttrs||0!==h.hostVars)&&(n.flags|=128);var v=h.type.prototype;!l&&(v.ngOnChanges||v.ngOnInit||v.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),l=!0),!c&&(v.ngOnChanges||v.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),c=!0),f++}!function(e,t){for(var r=t.directiveEnd,i=e.data,a=t.attrs,o=[],s=null,u=null,l=t.directiveStart;l<r;l++){var c=i[l],f=c.inputs,d=null===a||Nv(t)?null:M0(f,a);o.push(d),s=Xv(f,l,s),u=Xv(c.outputs,l,u)}null!==s&&(s.hasOwnProperty("class")&&(t.flags|=16),s.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=o,t.inputs=s,t.outputs=u}(e,n)}o&&function(e,t,n){if(t)for(var r=e.localNames=[],i=0;i<t.length;i+=2){var a=n[t[i+1]];if(null==a)throw new Nn("301","Export of name '".concat(t[i+1],"' not found!"));r.push(t[i],a)}}(n,r,o)}return n.mergedAttrs=Fo(n.mergedAttrs,n.attrs),i}function tp(e,t,n,r,i,a){var o=a.hostBindings;if(o){var s=e.hostBindingOpCodes;null===s&&(s=e.hostBindingOpCodes=[]);var u=~t.index;(function(e){for(var t=e.length;t>0;){var n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=u&&s.push(u),s.push(r,i,o)}}function np(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function rp(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function A0(e,t,n){if(n){if(t.exportAs)for(var r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;jt(t)&&(n[""]=e)}}function ip(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function ap(e,t,n,r,i){e.data[r]=i;var a=i.factory||(i.factory=nr(i.type)),o=new $i(a,jt(i),null);e.blueprint[r]=o,n[r]=o,tp(e,t,0,r,Xr(e,n,i.hostVars,B),i)}function I0(e,t,n){var r=st(t,e),i=$v(n),a=e[10],o=ns(e,ha(e,i,null,n.onPush?64:16,r,t,a,a.createRenderer(r,n),null,null));e[t.index]=o}function R0(e,t,n,r,i,a){var o=a[t];if(null!==o)for(var s=r.setInput,u=0;u<o.length;){var l=o[u++],c=o[u++],f=o[u++];null!==s?r.setInput(n,f,l,c):n[c]=f}}function M0(e,t){for(var n=null,r=0;r<t.length;){var i=t[r];if(0!==i)if(5!==i){if("number"==typeof i)break;e.hasOwnProperty(i)&&(null===n&&(n=[]),n.push(i,e[i],t[r+1])),r+=2}else r+=2;else r+=4}return n}function op(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function F0(e,t){var n=ut(t,e);if(Uu(n)){var r=n[1];80&n[2]?ei(r,n,r.template,n[8]):n[5]>0&&Wl(n)}}function Wl(e){for(var t=gl(e);null!==t;t=ml(t))for(var n=10;n<t.length;n++){var r=t[n];if(1024&r[2]){var i=r[1];ei(i,r,i.template,r[8])}else r[5]>0&&Wl(r)}var o=e[1].components;if(null!==o)for(var s=0;s<o.length;s++){var u=ut(o[s],e);Uu(u)&&u[5]>0&&Wl(u)}}function O0(e,t){var n=ut(t,e),r=n[1];(function(e,t){for(var n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),va(r,n,n[8])}function ns(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function $l(e){for(;e;){e[2]|=64;var t=ua(e);if(cC(e)&&!t)return e;e=t}return null}function Zl(e,t,n){var r=t[10];r.begin&&r.begin();try{ei(e,t,e.template,n)}catch(i){throw fp(t,i),i}finally{r.end&&r.end()}}function sp(e){!function(e){for(var t=0;t<e.components.length;t++){var n=e.components[t],r=hl(n),i=r[1];p0(i,r,i.template,n)}}(e[8])}function Jl(e,t,n){Wu(0),t(e,n)}var j0=function(){return Promise.resolve(null)}();function up(e){return e[7]||(e[7]=[])}function lp(e){return e.cleanup||(e.cleanup=[])}function fp(e,t){var n=e[9],r=n?n.get(cr,null):null;r&&r.handleError(t)}function dp(e,t,n,r,i){for(var a=0;a<n.length;){var o=n[a++],s=n[a++],u=t[o],l=e.data[o];null!==l.setInput?l.setInput(u,i,r,s):u[s]=i}}function Sn(e,t,n){var r=function(e,t){return we(t[e])}(t,e);!function(e,t,n){Ce(e)?e.setValue(t,n):t.textContent=n}(e[U],r,n)}function rs(e,t,n){var r=n?e.styles:null,i=n?e.classes:null,a=0;if(null!==t)for(var o=0;o<t.length;o++){var s=t[o];"number"==typeof s?a=s:1==a?i=Tu(i,s):2==a&&(r=Tu(r,s+": "+t[++o]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}var is=new ie("INJECTOR",-1),hp=function(){function e(){m(this,e)}return g(e,[{key:"get",value:function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:na;if(r===na){var i=new Error("NullInjectorError: No provider for ".concat(Q(n),"!"));throw i.name="NullInjectorError",i}return r}}]),e}(),pa=new ie("Set Injector scope."),ga={},G0={},Xl=void 0;function vp(){return void 0===Xl&&(Xl=new hp),Xl}function pp(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3?arguments[3]:void 0;return new Q0(e,n,t||vp(),r)}var Q0=function(){function e(t,n,r){var i=this,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;m(this,e),this.parent=r,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var o=[];n&&un(n,function(u){return i.processProvider(u,t,n)}),un([t],function(u){return i.processInjectorType(u,[],o)}),this.records.set(is,ti(void 0,this));var s=this.records.get(pa);this.scope=null!=s?s.value:null,this.source=a||("object"==typeof t?null:Q(t))}return g(e,[{key:"destroyed",get:function(){return this._destroyed}},{key:"destroy",value:function(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(function(n){return n.ngOnDestroy()})}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}},{key:"get",value:function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:na,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Y.Default;this.assertNotDestroyed();var a=Uo(this),o=On(void 0);try{if(!(i&Y.SkipSelf)){var s=this.records.get(n);if(void 0===s){var u=X0(n)&&Fn(n);s=u&&this.injectableDefInScope(u)?ti(ec(n),ga):null,this.records.set(n,s)}if(null!=s)return this.hydrate(n,s)}var l=i&Y.Self?vp():this.parent;return l.get(n,r=i&Y.Optional&&r===na?null:r)}catch(f){if("NullInjectorError"===f.name){var c=f[Kr]=f[Kr]||[];if(c.unshift(Q(n)),a)throw f;return _D(f,n,"R3InjectorError",this.source)}throw f}finally{On(o),Uo(a)}}},{key:"_resolveInjectorDefTypes",value:function(){var n=this;this.injectorDefTypes.forEach(function(r){return n.get(r)})}},{key:"toString",value:function(){var n=[];return this.records.forEach(function(i,a){return n.push(Q(a))}),"R3Injector[".concat(n.join(", "),"]")}},{key:"assertNotDestroyed",value:function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}},{key:"processInjectorType",value:function(n,r,i){var a=this;if(!(n=N(n)))return!1;var o=Kd(n),s=null==o&&n.ngModule||void 0,u=void 0===s?n:s,f=-1!==i.indexOf(u);if(void 0!==s&&(o=Kd(s)),null==o)return!1;if(null!=o.imports&&!f){var d;i.push(u);try{un(o.imports,function(_){a.processInjectorType(_,r,i)&&(void 0===d&&(d=[]),d.push(_))})}finally{}if(void 0!==d)for(var h=function(){var b=d[v],D=b.ngModule,T=b.providers;un(T,function(P){return a.processProvider(P,D,T||se)})},v=0;v<d.length;v++)h()}this.injectorDefTypes.add(u);var p=nr(u)||function(){return new u};this.records.set(u,ti(p,ga));var y=o.providers;if(null!=y&&!f){var E=n;un(y,function(_){return a.processProvider(_,E,y)})}return void 0!==s&&void 0!==n.providers}},{key:"processProvider",value:function(n,r,i){var a=ni(n=N(n))?n:N(n&&n.provide),o=function(e,t,n){return mp(e)?ti(void 0,e.useValue):ti(function(e,t,n){var r=void 0;if(ni(e)){var i=N(e);return nr(i)||ec(i)}if(mp(e))r=function(){return N(e.useValue)};else if(function(e){return!(!e||!e.useFactory)}(e))r=function(){return e.useFactory.apply(e,xe(ar(e.deps||[])))};else if(function(e){return!(!e||!e.useExisting)}(e))r=function(){return F(N(e.useExisting))};else{var a=N(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return nr(a)||ec(a);r=function(){return Ft(a,xe(ar(e.deps)))}}return r}(e),ga)}(n);if(ni(n)||!0!==n.multi)this.records.get(a);else{var s=this.records.get(a);s||((s=ti(void 0,ga,!0)).factory=function(){return ar(s.multi)},this.records.set(a,s)),a=n,s.multi.push(n)}this.records.set(a,o)}},{key:"hydrate",value:function(n,r){return r.value===ga&&(r.value=G0,r.value=r.factory()),"object"==typeof r.value&&r.value&&function(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(r.value)&&this.onDestroy.add(r.value),r.value}},{key:"injectableDefInScope",value:function(n){if(!n.providedIn)return!1;var r=N(n.providedIn);return"string"==typeof r?"any"===r||r===this.scope:this.injectorDefTypes.has(r)}}]),e}();function ec(e){var t=Fn(e),n=null!==t?t.factory:nr(e);if(null!==n)return n;if(e instanceof ie)throw new Error("Token ".concat(Q(e)," is missing a \u0275prov definition."));if(e instanceof Function)return function(e){var t=e.length;if(t>0){var n=function(e,t){for(var n=[],r=0;r<e;r++)n.push(t);return n}(t,"?");throw new Error("Can't resolve all parameters for ".concat(Q(e),": (").concat(n.join(", "),")."))}var r=function(e){var t=e&&(e[go]||e[Wd]);if(t){var n=function(e){if(e.hasOwnProperty("name"))return e.name;var t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn('DEPRECATED: DI is instantiating a token "'.concat(n,'" that inherits its @Injectable decorator but does not provide one itself.\n')+'This will become an error in a future version of Angular. Please add @Injectable() to the "'.concat(n,'" class.')),t}return null}(e);return null!==r?function(){return r.factory(e)}:function(){return new e}}(e);throw new Error("unreachable")}function ti(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{factory:e,value:t,multi:n?[]:void 0}}function mp(e){return null!==e&&"object"==typeof e&&ll in e}function ni(e){return"function"==typeof e}function X0(e){return"function"==typeof e||"object"==typeof e&&e instanceof ie}var yp=function(e,t,n){return function(e){var i=pp(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,arguments.length>3?arguments[3]:void 0);return i._resolveInjectorDefTypes(),i}({name:n},t,e,n)},Fe=function(){var e=function(){function t(){m(this,t)}return g(t,null,[{key:"create",value:function(r,i){return Array.isArray(r)?yp(r,i,""):yp(r.providers,r.parent,r.name||"")}}]),t}();return e.THROW_IF_NOT_FOUND=na,e.NULL=new hp,e.\u0275prov=K({token:e,providedIn:"any",factory:function(){return F(is)}}),e.__NG_ELEMENT_ID__=-1,e}();function ES(e,t){Ro(hl(e)[1],Ae())}var as=null;function ii(){if(!as){var e=te.Symbol;if(e&&e.iterator)as=e.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),n=0;n<t.length;++n){var r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(as=r)}}return as}function ya(e){return!!ac(e)&&(Array.isArray(e)||!(e instanceof Map)&&ii()in e)}function ac(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Ge(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function oi(e,t,n,r){return Ge(e,Vr(),n)?t+V(n)+r:B}function Z(e,t,n,r,i,a,o,s){var u=C(),l=$(),c=e+20,f=l.firstCreatePass?function(e,t,n,r,i,a,o,s,u){var l=t.consts,c=Jr(t,e,4,o||null,Bn(l,s));zl(t,n,c,Bn(l,u)),Ro(t,c);var f=c.tViews=ts(2,c,r,i,a,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l);return null!==t.queries&&(t.queries.template(t,c),f.queries=t.queries.embeddedTView(c)),c}(c,l,u,t,n,r,i,a,o):l.data[c];on(f,!1);var d=u[U].createComment("");zo(l,u,d,f),Ue(d,u),ns(u,u[c]=op(d,u,d,f)),Do(f)&&ql(l,u,f),null!=o&&Ql(u,f,s)}function qt(e){return function(e,t){return e[t]}(x.lFrame.contextLView,20+e)}function G(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Y.Default,n=C();if(null===n)return F(e,t);var r=Ae();return Ih(r,n,N(e),t)}function q(e,t,n){var r=C();return Ge(r,Vr(),t)&&ft($(),_e(),r,e,t,r[U],n,!1),q}function lc(e,t,n,r,i){var o=i?"class":"style";dp(e,n,t.inputs[o],o,r)}function w(e,t,n,r){var i=C(),a=$(),o=20+e,s=i[U],u=i[o]=_l(s,t,x.lFrame.currentNamespace),l=a.firstCreatePass?function(e,t,n,r,i,a,o){var s=t.consts,l=Jr(t,e,2,i,Bn(s,a));return zl(t,n,l,Bn(s,o)),null!==l.attrs&&rs(l,l.attrs,!1),null!==l.mergedAttrs&&rs(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(o,a,i,0,t,n,r):a.data[o];on(l,!0);var c=l.mergedAttrs;null!==c&&No(s,u,c);var f=l.classes;null!==f&&kl(s,u,f);var d=l.styles;null!==d&&cv(s,u,d),64!=(64&l.flags)&&zo(a,i,u,l),0===x.lFrame.elementDepthCount&&Ue(u,i),x.lFrame.elementDepthCount++,Do(l)&&(ql(a,i,l),Wv(a,l,i)),null!==r&&Ql(i,l)}function S(){var e=Ae();qu()?Qu():on(e=e.parent,!1);var t=e;x.lFrame.elementDepthCount--;var n=$();n.firstCreatePass&&(Ro(n,e),xu(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&lc(n,t,C(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&lc(n,t,C(),t.stylesWithoutHost,!1)}function hr(e,t,n,r){w(e,t,n,r),S()}function cc(e,t,n){var r=C(),i=$(),a=e+20,o=i.firstCreatePass?function(e,t,n,r,i){var a=t.consts,o=Bn(a,r),s=Jr(t,e,8,"ng-container",o);return null!==o&&rs(s,o,!0),zl(t,n,s,Bn(a,i)),null!==t.queries&&t.queries.elementStart(t,s),s}(a,i,r,t,n):i.data[a];on(o,!0);var s=r[a]=r[U].createComment("");zo(i,r,s,o),Ue(s,r),Do(o)&&(ql(i,r,o),Wv(i,o,r)),null!=n&&Ql(r,o)}function fc(){var e=Ae(),t=$();qu()?Qu():on(e=e.parent,!1),t.firstCreatePass&&(Ro(t,e),xu(e)&&t.queries.elementEnd(e))}function Qt(e,t,n){cc(e,t,n),fc()}function pi(){return C()}function dc(e){return!!e&&"function"==typeof e.then}var Xp=function(e){return!!e&&"function"==typeof e.subscribe};function vr(e,t,n,r){var i=C(),a=$(),o=Ae();return function(e,t,n,r,i,a,o,s){var u=Do(r),c=e.firstCreatePass&&lp(e),f=t[8],d=up(t),h=!0;if(3&r.type||s){var v=st(r,t),p=s?s(v):v,y=d.length,E=s?function(Pt){return s(we(Pt[r.index]))}:r.index;if(Ce(n)){var _=null;if(!s&&u&&(_=function(e,t,n,r){var i=e.cleanup;if(null!=i)for(var a=0;a<i.length-1;a+=2){var o=i[a];if(o===n&&i[a+1]===r){var s=t[7],u=i[a+2];return s.length>u?s[u]:null}"string"==typeof o&&(a+=2)}return null}(e,t,i,r.index)),null!==_)(_.__ngLastListenerFn__||_).__ngNextListenerFn__=a,_.__ngLastListenerFn__=a,h=!1;else{a=hc(r,t,f,a,!1);var D=n.listen(p,i,a);d.push(a,D),c&&c.push(i,E,y,y+1)}}else a=hc(r,t,f,a,!0),p.addEventListener(i,a,o),d.push(a),c&&c.push(i,E,y,o)}else a=hc(r,t,f,a,!1);var P,T=r.outputs;if(h&&null!==T&&(P=T[i])){var J=P.length;if(J)for(var ee=0;ee<J;ee+=2){var Mt=t[P[ee]][P[ee+1]].subscribe(a),Be=d.length;d.push(a,Mt),c&&c.push(i,r.index,Be,-(Be+1))}}}(a,i,i[U],o,e,t,!!n,r),vr}function ng(e,t,n,r){try{return!1!==n(r)}catch(i){return fp(e,i),!1}}function hc(e,t,n,r,i){return function a(o){if(o===Function)return r;var s=2&e.flags?ut(e.index,t):t;0==(32&t[2])&&$l(s);for(var u=ng(t,0,r,o),l=a.__ngNextListenerFn__;l;)u=ng(t,0,l,o)&&u,l=l.__ngNextListenerFn__;return i&&!1===u&&(o.preventDefault(),o.returnValue=!1),u}}function j(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return NC(e)}function le(e,t,n){return vc(e,"",t,"",n),le}function vc(e,t,n,r,i){var a=C(),o=oi(a,t,n,r);return o!==B&&ft($(),_e(),a,e,o,a[U],i,!1),vc}function ae(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=C(),r=$(),i=e+20,a=r.firstCreatePass?Jr(r,i,1,t,null):r.data[i],o=n[i]=yl(n[U],t);zo(r,n,o,a),on(a,!1)}function us(e,t,n){var r=C(),i=oi(r,e,t,n);return i!==B&&Sn(r,$e(),i),us}var pr=void 0,Qk=["en",[["a","p"],["AM","PM"],pr],[["AM","PM"],pr,pr],[["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"]],pr,[["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"]],pr,[["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}",pr,"{1} 'at' {0}",pr],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}],mi={};function Kg(e){return e in mi||(mi[e]=te.ng&&te.ng.common&&te.ng.common.locales&&te.ng.common.locales[e]),mi[e]}var ge=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}({}),ls="en-US";function gc(e){at(e,"Expected localeId to be defined"),"string"==typeof e&&e.toLowerCase().replace(/_/g,"-")}var QT=g(function e(){m(this,e)}),_m=g(function e(){m(this,e)}),KT=function(){function e(){m(this,e)}return g(e,[{key:"resolveComponentFactory",value:function(n){throw function(e){var t=Error("No component factory found for ".concat(Q(e),". Did you add it to @NgModule.entryComponents?"));return t.ngComponent=e,t}(n)}}]),e}(),Sa=function(){var e=g(function t(){m(this,t)});return e.NULL=new KT,e}();function vs(){}function _i(e,t){return new kn(st(e,t))}var ZT=function(){return _i(Ae(),C())},kn=function(){var e=g(function t(n){m(this,t),this.nativeElement=n});return e.__NG_ELEMENT_ID__=ZT,e}(),gr=g(function e(){m(this,e)}),Cm=function(){var e=g(function t(){m(this,t)});return e.__NG_ELEMENT_ID__=function(){return XT()},e}(),XT=function(){var e=C(),n=ut(Ae().index,e);return function(e){return e[U]}(an(n)?n:e)},Dc=function(){var e=g(function t(){m(this,t)});return e.\u0275prov=K({token:e,providedIn:"root",factory:function(){return null}}),e}(),n1=new(g(function e(t){m(this,e),this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}))("12.2.17"),Dm=function(){function e(){m(this,e)}return g(e,[{key:"supports",value:function(n){return ya(n)}},{key:"create",value:function(n){return new i1(n)}}]),e}(),r1=function(t,n){return n},i1=function(){function e(t){m(this,e),this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||r1}return g(e,[{key:"forEachItem",value:function(n){var r;for(r=this._itHead;null!==r;r=r._next)n(r)}},{key:"forEachOperation",value:function(n){for(var r=this._itHead,i=this._removalsHead,a=0,o=null;r||i;){var s=!i||r&&r.currentIndex<Sm(i,a,o)?r:i,u=Sm(s,a,o),l=s.currentIndex;if(s===i)a--,i=i._nextRemoved;else if(r=r._next,null==s.previousIndex)a++;else{o||(o=[]);var c=u-a,f=l-a;if(c!=f){for(var d=0;d<c;d++){var h=d<o.length?o[d]:o[d]=0,v=h+d;f<=v&&v<c&&(o[d]=h+1)}o[s.previousIndex]=f-c}}u!==l&&n(s,u,l)}}},{key:"forEachPreviousItem",value:function(n){var r;for(r=this._previousItHead;null!==r;r=r._nextPrevious)n(r)}},{key:"forEachAddedItem",value:function(n){var r;for(r=this._additionsHead;null!==r;r=r._nextAdded)n(r)}},{key:"forEachMovedItem",value:function(n){var r;for(r=this._movesHead;null!==r;r=r._nextMoved)n(r)}},{key:"forEachRemovedItem",value:function(n){var r;for(r=this._removalsHead;null!==r;r=r._nextRemoved)n(r)}},{key:"forEachIdentityChange",value:function(n){var r;for(r=this._identityChangesHead;null!==r;r=r._nextIdentityChange)n(r)}},{key:"diff",value:function(n){if(null==n&&(n=[]),!ya(n))throw new Error("Error trying to diff '".concat(Q(n),"'. Only arrays and iterables are allowed"));return this.check(n)?this:null}},{key:"onDestroy",value:function(){}},{key:"check",value:function(n){var r=this;this._reset();var o,s,u,i=this._itHead,a=!1;if(Array.isArray(n)){this.length=n.length;for(var l=0;l<this.length;l++)u=this._trackByFn(l,s=n[l]),null!==i&&Object.is(i.trackById,u)?(a&&(i=this._verifyReinsertion(i,s,u,l)),Object.is(i.item,s)||this._addIdentityChange(i,s)):(i=this._mismatch(i,s,u,l),a=!0),i=i._next}else o=0,function(e,t){if(Array.isArray(e))for(var n=0;n<e.length;n++)t(e[n]);else for(var i,r=e[ii()]();!(i=r.next()).done;)t(i.value)}(n,function(c){u=r._trackByFn(o,c),null!==i&&Object.is(i.trackById,u)?(a&&(i=r._verifyReinsertion(i,c,u,o)),Object.is(i.item,c)||r._addIdentityChange(i,c)):(i=r._mismatch(i,c,u,o),a=!0),i=i._next,o++}),this.length=o;return this._truncate(i),this.collection=n,this.isDirty}},{key:"isDirty",get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}},{key:"_reset",value:function(){if(this.isDirty){var n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}},{key:"_mismatch",value:function(n,r,i,a){var o;return null===n?o=this._itTail:(o=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(n.item,r)||this._addIdentityChange(n,r),this._reinsertAfter(n,o,a)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(i,a))?(Object.is(n.item,r)||this._addIdentityChange(n,r),this._moveAfter(n,o,a)):n=this._addAfter(new a1(r,i),o,a),n}},{key:"_verifyReinsertion",value:function(n,r,i,a){var o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==o?n=this._reinsertAfter(o,n._prev,a):n.currentIndex!=a&&(n.currentIndex=a,this._addToMoves(n,a)),n}},{key:"_truncate",value:function(n){for(;null!==n;){var r=n._next;this._addToRemovals(this._unlink(n)),n=r}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)}},{key:"_reinsertAfter",value:function(n,r,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);var a=n._prevRemoved,o=n._nextRemoved;return null===a?this._removalsHead=o:a._nextRemoved=o,null===o?this._removalsTail=a:o._prevRemoved=a,this._insertAfter(n,r,i),this._addToMoves(n,i),n}},{key:"_moveAfter",value:function(n,r,i){return this._unlink(n),this._insertAfter(n,r,i),this._addToMoves(n,i),n}},{key:"_addAfter",value:function(n,r,i){return this._insertAfter(n,r,i),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}},{key:"_insertAfter",value:function(n,r,i){var a=null===r?this._itHead:r._next;return n._next=a,n._prev=r,null===a?this._itTail=n:a._prev=n,null===r?this._itHead=n:r._next=n,null===this._linkedRecords&&(this._linkedRecords=new wm),this._linkedRecords.put(n),n.currentIndex=i,n}},{key:"_remove",value:function(n){return this._addToRemovals(this._unlink(n))}},{key:"_unlink",value:function(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);var r=n._prev,i=n._next;return null===r?this._itHead=i:r._next=i,null===i?this._itTail=r:i._prev=r,n}},{key:"_addToMoves",value:function(n,r){return n.previousIndex===r||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}},{key:"_addToRemovals",value:function(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new wm),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}},{key:"_addIdentityChange",value:function(n,r){return n.item=r,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}]),e}(),a1=g(function e(t,n){m(this,e),this.item=t,this.trackById=n,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}),o1=function(){function e(){m(this,e),this._head=null,this._tail=null}return g(e,[{key:"add",value:function(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}},{key:"get",value:function(n,r){var i;for(i=this._head;null!==i;i=i._nextDup)if((null===r||r<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}},{key:"remove",value:function(n){var r=n._prevDup,i=n._nextDup;return null===r?this._head=i:r._nextDup=i,null===i?this._tail=r:i._prevDup=r,null===this._head}}]),e}(),wm=function(){function e(){m(this,e),this.map=new Map}return g(e,[{key:"put",value:function(n){var r=n.trackById,i=this.map.get(r);i||(i=new o1,this.map.set(r,i)),i.add(n)}},{key:"get",value:function(n,r){var a=this.map.get(n);return a?a.get(n,r):null}},{key:"remove",value:function(n){var r=n.trackById;return this.map.get(r).remove(n)&&this.map.delete(r),n}},{key:"isEmpty",get:function(){return 0===this.map.size}},{key:"clear",value:function(){this.map.clear()}}]),e}();function Sm(e,t,n){var r=e.previousIndex;if(null===r)return r;var i=0;return n&&r<n.length&&(i=n[r]),r+t+i}var km=function(){function e(){m(this,e)}return g(e,[{key:"supports",value:function(n){return n instanceof Map||ac(n)}},{key:"create",value:function(){return new s1}}]),e}(),s1=function(){function e(){m(this,e),this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}return g(e,[{key:"isDirty",get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}},{key:"forEachItem",value:function(n){var r;for(r=this._mapHead;null!==r;r=r._next)n(r)}},{key:"forEachPreviousItem",value:function(n){var r;for(r=this._previousMapHead;null!==r;r=r._nextPrevious)n(r)}},{key:"forEachChangedItem",value:function(n){var r;for(r=this._changesHead;null!==r;r=r._nextChanged)n(r)}},{key:"forEachAddedItem",value:function(n){var r;for(r=this._additionsHead;null!==r;r=r._nextAdded)n(r)}},{key:"forEachRemovedItem",value:function(n){var r;for(r=this._removalsHead;null!==r;r=r._nextRemoved)n(r)}},{key:"diff",value:function(n){if(n){if(!(n instanceof Map||ac(n)))throw new Error("Error trying to diff '".concat(Q(n),"'. Only maps and objects are allowed"))}else n=new Map;return this.check(n)?this:null}},{key:"onDestroy",value:function(){}},{key:"check",value:function(n){var r=this;this._reset();var i=this._mapHead;if(this._appendAfter=null,this._forEach(n,function(o,s){if(i&&i.key===s)r._maybeAddToChanges(i,o),r._appendAfter=i,i=i._next;else{var u=r._getOrCreateRecordForKey(s,o);i=r._insertBeforeOrAppend(i,u)}}),i){i._prev&&(i._prev._next=null),this._removalsHead=i;for(var a=i;null!==a;a=a._nextRemoved)a===this._mapHead&&(this._mapHead=null),this._records.delete(a.key),a._nextRemoved=a._next,a.previousValue=a.currentValue,a.currentValue=null,a._prev=null,a._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}},{key:"_insertBeforeOrAppend",value:function(n,r){if(n){var i=n._prev;return r._next=n,r._prev=i,n._prev=r,i&&(i._next=r),n===this._mapHead&&(this._mapHead=r),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=r,r._prev=this._appendAfter):this._mapHead=r,this._appendAfter=r,null}},{key:"_getOrCreateRecordForKey",value:function(n,r){if(this._records.has(n)){var i=this._records.get(n);this._maybeAddToChanges(i,r);var a=i._prev,o=i._next;return a&&(a._next=o),o&&(o._prev=a),i._next=null,i._prev=null,i}var s=new u1(n);return this._records.set(n,s),s.currentValue=r,this._addToAdditions(s),s}},{key:"_reset",value:function(){if(this.isDirty){var n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;null!==n;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;null!=n;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}},{key:"_maybeAddToChanges",value:function(n,r){Object.is(r,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=r,this._addToChanges(n))}},{key:"_addToAdditions",value:function(n){null===this._additionsHead?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}},{key:"_addToChanges",value:function(n){null===this._changesHead?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}},{key:"_forEach",value:function(n,r){n instanceof Map?n.forEach(r):Object.keys(n).forEach(function(i){return r(n[i],i)})}}]),e}(),u1=g(function e(t){m(this,e),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});function Tm(){return new ka([new Dm])}var ka=function(){var e=function(){function t(n){m(this,t),this.factories=n}return g(t,[{key:"find",value:function(r){var i=this.factories.find(function(a){return a.supports(r)});if(null!=i)return i;throw new Error("Cannot find a differ supporting object '".concat(r,"' of type '").concat(function(e){return e.name||typeof e}(r),"'"))}}],[{key:"create",value:function(r,i){if(null!=i){var a=i.factories.slice();r=r.concat(a)}return new t(r)}},{key:"extend",value:function(r){return{provide:t,useFactory:function(a){return t.create(r,a||Tm())},deps:[[t,new or,new ln]]}}}]),t}();return e.\u0275prov=K({token:e,providedIn:"root",factory:Tm}),e}();function Am(){return new Ei([new km])}var Ei=function(){var e=function(){function t(n){m(this,t),this.factories=n}return g(t,[{key:"find",value:function(r){var i=this.factories.find(function(a){return a.supports(r)});if(i)return i;throw new Error("Cannot find a differ supporting object '".concat(r,"'"))}}],[{key:"create",value:function(r,i){if(i){var a=i.factories.slice();r=r.concat(a)}return new t(r)}},{key:"extend",value:function(r){return{provide:t,useFactory:function(a){return t.create(r,a||Am())},deps:[[t,new or,new ln]]}}}]),t}();return e.\u0275prov=K({token:e,providedIn:"root",factory:Am}),e}();function ps(e,t,n,r){for(var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];null!==n;){var a=t[n.index];if(null!==a&&r.push(we(a)),Vt(a))for(var o=10;o<a.length;o++){var s=a[o],u=s[1].firstChild;null!==u&&ps(s[1],s,u,r)}var l=n.type;if(8&l)ps(e,t,n.child,r);else if(32&l)for(var c=pl(n,t),f=void 0;f=c();)r.push(f);else if(16&l){var d=uv(t,n);if(Array.isArray(d))r.push.apply(r,xe(d));else{var h=ua(t[16]);ps(h[1],h,d,r,!0)}}n=i?n.projectionNext:n.next}return r}var Ta=function(){function e(t,n){m(this,e),this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}return g(e,[{key:"rootNodes",get:function(){var n=this._lView,r=n[1];return ps(r,n,r.firstChild,[])}},{key:"context",get:function(){return this._lView[8]},set:function(n){this._lView[8]=n}},{key:"destroyed",get:function(){return 256==(256&this._lView[2])}},{key:"destroy",value:function(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){var n=this._lView[3];if(Vt(n)){var r=n[8],i=r?r.indexOf(this):-1;i>-1&&(El(n,i),ir(r,i))}this._attachedToViewContainer=!1}Xh(this._lView[1],this._lView)}},{key:"onDestroy",value:function(n){!function(e,t,n,r){var i=up(t);null===n?i.push(r):(i.push(n),e.firstCreatePass&&lp(e).push(r,i.length-1))}(this._lView[1],this._lView,null,n)}},{key:"markForCheck",value:function(){$l(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){Zl(this._lView[1],this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function(e,t,n){To(!0);try{Zl(e,t,n)}finally{To(!1)}}(this._lView[1],this._lView,this.context)}},{key:"attachToViewContainerRef",value:function(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}},{key:"detachFromAppRef",value:function(){this._appRef=null,function(e,t){la(e,t,t[U],2,null,null)}(this._lView[1],this._lView)}},{key:"attachToAppRef",value:function(n){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=n}}]),e}(),c1=function(e){R(n,e);var t=M(n);function n(r){var i;return m(this,n),(i=t.call(this,r))._view=r,i}return g(n,[{key:"detectChanges",value:function(){sp(this._view)}},{key:"checkNoChanges",value:function(){!function(e){To(!0);try{sp(e)}finally{To(!1)}}(this._view)}},{key:"context",get:function(){return null}}]),n}(Ta),d1=function(e){return function(e,t,n){if(Co(e)&&!n){var r=ut(e.index,t);return new Ta(r,r)}return 47&e.type?new Ta(t[16],t):null}(Ae(),C(),16==(16&e))},Im=function(){var e=g(function t(){m(this,t)});return e.__NG_ELEMENT_ID__=d1,e}(),p1=[new km],m1=new ka([new Dm]),y1=new Ei(p1),E1=function(){return gs(Ae(),C())},Tn=function(){var e=g(function t(){m(this,t)});return e.__NG_ELEMENT_ID__=E1,e}(),C1=function(e){R(n,e);var t=M(n);function n(r,i,a){var o;return m(this,n),(o=t.call(this))._declarationLView=r,o._declarationTContainer=i,o.elementRef=a,o}return g(n,[{key:"createEmbeddedView",value:function(i){var a=this._declarationTContainer.tViews,o=ha(this._declarationLView,a,i,16,null,a.declTNode,null,null,null,null);o[17]=this._declarationLView[this._declarationTContainer.index];var u=this._declarationLView[19];return null!==u&&(o[19]=u.createEmbeddedView(a)),va(a,o,i),new Ta(o)}}]),n}(Tn);function gs(e,t){return 4&e.type?new C1(t,e,_i(e,t)):null}var bi=g(function e(){m(this,e)}),w1=g(function e(){m(this,e)}),k1=function(){return function(e,t){var n,r=t[e.index];if(Vt(r))n=r;else{var i;if(8&e.type)i=we(r);else{var a=t[U];i=a.createComment("");var o=st(e,t);sr(a,Qo(a,o),i,function(e,t){return Ce(e)?e.nextSibling(t):t.nextSibling}(a,o),!1)}t[e.index]=n=op(r,t,i,e),ns(t,n)}return new Rm(n,e,t)}(Ae(),C())},mn=function(){var e=g(function t(){m(this,t)});return e.__NG_ELEMENT_ID__=k1,e}(),Rm=function(e){R(n,e);var t=M(n);function n(r,i,a){var o;return m(this,n),(o=t.call(this))._lContainer=r,o._hostTNode=i,o._hostLView=a,o}return g(n,[{key:"element",get:function(){return _i(this._hostTNode,this._hostLView)}},{key:"injector",get:function(){return new Ur(this._hostTNode,this._hostLView)}},{key:"parentInjector",get:function(){var i=xo(this._hostTNode,this._hostLView);if(wh(i)){var a=Hr(i,this._hostLView),o=jr(i);return new Ur(a[1].data[o+8],a)}return new Ur(null,this._hostLView)}},{key:"clear",value:function(){for(;this.length>0;)this.remove(this.length-1)}},{key:"get",value:function(i){var a=Mm(this._lContainer);return null!==a&&a[i]||null}},{key:"length",get:function(){return this._lContainer.length-10}},{key:"createEmbeddedView",value:function(i,a,o){var s=i.createEmbeddedView(a||{});return this.insert(s,o),s}},{key:"createComponent",value:function(i,a,o,s,u){var l=o||this.parentInjector;if(!u&&null==i.ngModule&&l){var c=l.get(bi,null);c&&(u=c)}var f=i.create(l,s,void 0,u);return this.insert(f.hostView,a),f}},{key:"insert",value:function(i,a){var o=i._lView,s=o[1];if(function(e){return Vt(e[3])}(o)){var u=this.indexOf(i);if(-1!==u)this.detach(u);else{var l=o[3],c=new Rm(l,l[6],l[3]);c.detach(c.indexOf(i))}}var f=this._adjustIndex(a),d=this._lContainer;!function(e,t,n,r){var i=10+r,a=n.length;r>0&&(n[i-1][4]=t),r<a-10?(t[4]=n[i],jo(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;var o=t[17];null!==o&&n!==o&&function(e,t){var n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(o,t);var s=t[19];null!==s&&s.insertView(e),t[2]|=128}(s,o,d,f);var h=Dl(f,d),v=o[U],p=Qo(v,d[7]);return null!==p&&function(e,t,n,r,i,a){r[0]=i,r[6]=t,la(e,r,n,1,i,a)}(s,d[6],v,o,p,h),i.attachToViewContainerRef(),jo(Sc(d),f,i),i}},{key:"move",value:function(i,a){return this.insert(i,a)}},{key:"indexOf",value:function(i){var a=Mm(this._lContainer);return null!==a?a.indexOf(i):-1}},{key:"remove",value:function(i){var a=this._adjustIndex(i,-1),o=El(this._lContainer,a);o&&(ir(Sc(this._lContainer),a),Xh(o[1],o))}},{key:"detach",value:function(i){var a=this._adjustIndex(i,-1),o=El(this._lContainer,a);return o&&null!=ir(Sc(this._lContainer),a)?new Ta(o):null}},{key:"_adjustIndex",value:function(i){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return null==i?this.length+a:i}}]),n}(mn);function Mm(e){return e[8]}function Sc(e){return e[8]||(e[8]=[])}var Di={},Zm=function(e){R(n,e);var t=M(n);function n(r){var i;return m(this,n),(i=t.call(this)).ngModule=r,i}return g(n,[{key:"resolveComponentFactory",value:function(i){var a=je(i);return new Xm(a,this.ngModule)}}]),n}(Sa);function Jm(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}var bA=new ie("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return Iv}}),Xm=function(e){R(n,e);var t=M(n);function n(r,i){var a;return m(this,n),(a=t.call(this)).componentDef=r,a.ngModule=i,a.componentType=r.type,a.selector=function(e){return e.map(t0).join(",")}(r.selectors),a.ngContentSelectors=r.ngContentSelectors?r.ngContentSelectors:[],a.isBoundToModule=!!i,a}return g(n,[{key:"inputs",get:function(){return Jm(this.componentDef.inputs)}},{key:"outputs",get:function(){return Jm(this.componentDef.outputs)}},{key:"create",value:function(i,a,o,s){var _,b,u=(s=s||this.ngModule)?function(e,t){return{get:function(r,i,a){var o=e.get(r,Di,a);return o!==Di||i===Di?o:t.get(r,i,a)}}}(i,s.injector):i,l=u.get(gr,uh),c=u.get(Dc,null),f=l.createRenderer(null,this.componentDef),d=this.componentDef.selectors[0][0]||"div",h=o?function(e,t,n){if(Ce(e))return e.selectRootElement(t,n===Lt.ShadowDom);var i="string"==typeof t?e.querySelector(t):t;return i.textContent="",i}(f,o,this.componentDef.encapsulation):_l(l.createRenderer(null,this.componentDef),d,function(e){var t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(d)),v=this.componentDef.onPush?576:528,p=function(e,t){return{components:[],scheduler:e||Iv,clean:j0,playerHandler:t||null,flags:0}}(),y=ts(0,null,null,1,0,null,null,null,null,null),E=ha(null,y,p,v,null,null,l,f,c,u);Ao(E);try{var D=function(e,t,n,r,i,a){var o=n[1];n[20]=e;var u=Jr(o,20,2,"#host",null),l=u.mergedAttrs=t.hostAttrs;null!==l&&(rs(u,l,!0),null!==e&&(No(i,e,l),null!==u.classes&&kl(i,e,u.classes),null!==u.styles&&cv(i,e,u.styles)));var c=r.createRenderer(e,t),f=ha(n,$v(t),null,t.onPush?64:16,n[20],u,r,c,a||null,null);return o.firstCreatePass&&(Lo(Zi(u,n),o,t.type),rp(o,u),ip(u,n.length,1)),ns(n,f),n[20]=f}(h,this.componentDef,E,l,f);if(h)if(o)No(f,h,["ng-version",n1.full]);else{var T=function(e){for(var t=[],n=[],r=1,i=2;r<e.length;){var a=e[r];if("string"==typeof a)2===i?""!==a&&t.push(a,e[++r]):8===i&&n.push(a);else{if(!Ht(i))break;i=a}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]),P=T.attrs,J=T.classes;P&&No(f,h,P),J&&J.length>0&&kl(f,h,J.join(" "))}if(b=Hu(y,20),void 0!==a)for(var ee=b.projection=[],pe=0;pe<this.ngContentSelectors.length;pe++){var ye=a[pe];ee.push(null!=ye?Array.from(ye):null)}_=function(e,t,n,r,i){var a=n[1],o=function(e,t,n){var r=Ae();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),ap(e,r,t,Xr(e,t,1,null),n));var a=Ji(t,e,r.directiveStart,r);Ue(a,t);var o=st(r,t);return o&&Ue(o,t),a}(a,n,t);if(r.components.push(o),e[8]=o,i&&i.forEach(function(c){return c(o,t)}),t.contentQueries){var s=Ae();t.contentQueries(1,o,s.directiveStart)}var u=Ae();return!a.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(Vn(u.index),tp(n[1],u,0,u.directiveStart,u.directiveEnd,t),np(t,o)),o}(D,this.componentDef,E,p,[ES]),va(y,E,null)}finally{Io()}return new wA(this.componentType,_,_i(b,E),E,b)}}]),n}(_m),wA=function(e){R(n,e);var t=M(n);function n(r,i,a,o,s){var u;return m(this,n),(u=t.call(this)).location=a,u._rootLView=o,u._tNode=s,u.instance=i,u.hostView=u.changeDetectorRef=new c1(o),u.componentType=r,u}return g(n,[{key:"injector",get:function(){return new Ur(this._tNode,this._rootLView)}},{key:"destroy",value:function(){this.hostView.destroy()}},{key:"onDestroy",value:function(i){this.hostView.onDestroy(i)}}]),n}(QT),wi=new Map;var TA=function(e){R(n,e);var t=M(n);function n(r,i){var a;m(this,n),(a=t.call(this))._parent=i,a._bootstrapComponents=[],a.injector=Nt(a),a.destroyCbs=[],a.componentFactoryResolver=new Zm(Nt(a));var o=mt(r),s=function(e){return e[nC]||null}(r);return s&&gc(s),a._bootstrapComponents=dn(o.bootstrap),a._r3Injector=pp(r,i,[{provide:bi,useValue:Nt(a)},{provide:Sa,useValue:a.componentFactoryResolver}],Q(r)),a._r3Injector._resolveInjectorDefTypes(),a.instance=a.get(r),a}return g(n,[{key:"get",value:function(i){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Fe.THROW_IF_NOT_FOUND,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Y.Default;return i===Fe||i===bi||i===is?this:this._r3Injector.get(i,a,o)}},{key:"destroy",value:function(){var i=this._r3Injector;!i.destroyed&&i.destroy(),this.destroyCbs.forEach(function(a){return a()}),this.destroyCbs=null}},{key:"onDestroy",value:function(i){this.destroyCbs.push(i)}}]),n}(bi),Lc=function(e){R(n,e);var t=M(n);function n(r){var i;return m(this,n),(i=t.call(this)).moduleType=r,null!==mt(r)&&function(e){var t=new Set;!function n(r){var i=mt(r,!0),a=i.id;null!==a&&(function(e,t,n){if(t&&t!==n)throw new Error("Duplicate module registered for ".concat(e," - ").concat(Q(t)," vs ").concat(Q(t.name)))}(a,wi.get(a),r),wi.set(a,r));var l,u=Zn(dn(i.imports));try{for(u.s();!(l=u.n()).done;){var c=l.value;t.has(c)||(t.add(c),n(c))}}catch(f){u.e(f)}finally{u.f()}}(e)}(r),i}return g(n,[{key:"create",value:function(i){return new TA(this.moduleType,i)}}]),n}(w1);function Si(e,t,n,r,i){return function(e,t,n,r,i,a,o){var s=t+n;return function(e,t,n,r){var i=Ge(e,t,n);return Ge(e,t+1,r)||i}(e,s,i,a)?function(e,t,n){return e[t]=n}(e,s+2,o?r.call(o,i,a):r(i,a)):function(e,t){var n=e[t];return n===B?void 0:n}(e,s+2)}(C(),function(){var e=x.lFrame,t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}(),e,t,n,r,i)}var qA=function(e){R(n,e);var t=M(n);function n(){var r,i=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return m(this,n),(r=t.call(this)).__isAsync=i,r}return g(n,[{key:"emit",value:function(i){De(oe(n.prototype),"next",this).call(this,i)}},{key:"subscribe",value:function(i,a,o){var s,u,l,c=i,f=a||function(){return null},d=o;if(i&&"object"==typeof i){var h=i;c=null===(s=h.next)||void 0===s?void 0:s.bind(h),f=null===(u=h.error)||void 0===u?void 0:u.bind(h),d=null===(l=h.complete)||void 0===l?void 0:l.bind(h)}this.__isAsync&&(f=Bc(f),c&&(c=Bc(c)),d&&(d=Bc(d)));var v=De(oe(n.prototype),"subscribe",this).call(this,{next:c,error:f,complete:d});return i instanceof et&&i.add(v),v}}]),n}(fo);function Bc(e){return function(t){setTimeout(e,void 0,t)}}var An=qA;function ki(e,t){return gs(e,t)}Symbol;var Ss=new ie("Application Initializer"),Ai=function(){var e=function(){function t(n){var r=this;m(this,t),this.appInits=n,this.resolve=vs,this.reject=vs,this.initialized=!1,this.done=!1,this.donePromise=new Promise(function(i,a){r.resolve=i,r.reject=a})}return g(t,[{key:"runInitializers",value:function(){var r=this;if(!this.initialized){var i=[],a=function(){r.done=!0,r.resolve()};if(this.appInits)for(var o=function(){var l=r.appInits[s]();if(dc(l))i.push(l);else if(Xp(l)){var c=new Promise(function(f,d){l.subscribe({complete:f,error:d})});i.push(c)}},s=0;s<this.appInits.length;s++)o();Promise.all(i).then(function(){a()}).catch(function(u){r.reject(u)}),0===i.length&&a(),this.initialized=!0}}}]),t}();return e.\u0275fac=function(n){return new(n||e)(F(Ss,8))},e.\u0275prov=K({token:e,factory:e.\u0275fac}),e}(),La=new ie("AppId"),qI={provide:La,useFactory:function(){return"".concat(Qc()).concat(Qc()).concat(Qc())},deps:[]};function Qc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var Ry=new ie("Platform Initializer"),Ba=new ie("Platform ID"),QI=new ie("appBootstrapListener"),zc=function(){var e=function(){function t(){m(this,t)}return g(t,[{key:"log",value:function(r){console.log(r)}},{key:"warn",value:function(r){console.warn(r)}}]),t}();return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=K({token:e,factory:e.\u0275fac}),e}(),qn=new ie("LocaleId"),My=new ie("DefaultCurrencyCode"),KI=g(function e(t,n){m(this,e),this.ngModuleFactory=t,this.componentFactories=n}),Kc=function(t){return new Lc(t)},WI=Kc,YI=function(t){return Promise.resolve(Kc(t))},Py=function(t){var n=Kc(t),i=dn(mt(t).declarations).reduce(function(a,o){var s=je(o);return s&&a.push(new Xm(s)),a},[]);return new KI(n,i)},ZI=Py,XI=function(t){return Promise.resolve(Py(t))},Ts=function(){var e=function(){function t(){m(this,t),this.compileModuleSync=WI,this.compileModuleAsync=YI,this.compileModuleAndAllComponentsSync=ZI,this.compileModuleAndAllComponentsAsync=XI}return g(t,[{key:"clearCache",value:function(){}},{key:"clearCacheFor",value:function(r){}},{key:"getModuleId",value:function(r){}}]),t}();return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=K({token:e,factory:e.\u0275fac}),e}(),nR=function(){return Promise.resolve(0)}();function Wc(e){"undefined"==typeof Zone?nR.then(function(){e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}var Oe=function(){function e(t){var n=t.enableLongStackTrace,r=void 0!==n&&n,i=t.shouldCoalesceEventChangeDetection,a=void 0!==i&&i,o=t.shouldCoalesceRunChangeDetection,s=void 0!==o&&o;if(m(this,e),this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new An(!1),this.onMicrotaskEmpty=new An(!1),this.onStable=new An(!1),this.onError=new An(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();var u=this;u._nesting=0,u._outer=u._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(u._inner=u._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(u._inner=u._inner.fork(Zone.longStackTraceZoneSpec)),u.shouldCoalesceEventChangeDetection=!s&&a,u.shouldCoalesceRunChangeDetection=s,u.lastRequestAnimationFrameId=-1,u.nativeRequestAnimationFrame=function(){var e=te.requestAnimationFrame,t=te.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){var n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);var r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){var t=function(){!function(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(te,function(){e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",function(){e.lastRequestAnimationFrameId=-1,Yc(e),e.isCheckStableRunning=!0,$c(e),e.isCheckStableRunning=!1},void 0,function(){},function(){})),e.fakeTopEventTask.invoke()}),Yc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(r,i,a,o,s,u){try{return Ny(e),r.invokeTask(a,o,s,u)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||e.shouldCoalesceRunChangeDetection)&&t(),Fy(e)}},onInvoke:function(r,i,a,o,s,u,l){try{return Ny(e),r.invoke(a,o,s,u,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),Fy(e)}},onHasTask:function(r,i,a,o){r.hasTask(a,o),i===a&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,Yc(e),$c(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:function(r,i,a,o){return r.handleError(a,o),e.runOutsideAngular(function(){return e.onError.emit(o)}),!1}})}(u)}return g(e,[{key:"run",value:function(n,r,i){return this._inner.run(n,r,i)}},{key:"runTask",value:function(n,r,i,a){var o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+a,n,iR,vs,vs);try{return o.runTask(s,r,i)}finally{o.cancelTask(s)}}},{key:"runGuarded",value:function(n,r,i){return this._inner.runGuarded(n,r,i)}},{key:"runOutsideAngular",value:function(n){return this._outer.run(n)}}],[{key:"isInAngularZone",value:function(){return!0===Zone.current.get("isAngularZone")}},{key:"assertInAngularZone",value:function(){if(!e.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}},{key:"assertNotInAngularZone",value:function(){if(e.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}}]),e}(),iR={};function $c(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(function(){return e.onStable.emit(null)})}finally{e.isStable=!0}}}function Yc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Ny(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Fy(e){e._nesting--,$c(e)}var sR=function(){function e(){m(this,e),this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new An,this.onMicrotaskEmpty=new An,this.onStable=new An,this.onError=new An}return g(e,[{key:"run",value:function(n,r,i){return n.apply(r,i)}},{key:"runGuarded",value:function(n,r,i){return n.apply(r,i)}},{key:"runOutsideAngular",value:function(n){return n()}},{key:"runTask",value:function(n,r,i,a){return n.apply(r,i)}}]),e}(),Zc=function(){var e=function(){function t(n){var r=this;m(this,t),this._ngZone=n,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),n.run(function(){r.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}return g(t,[{key:"_watchAngularEvents",value:function(){var r=this;this._ngZone.onUnstable.subscribe({next:function(){r._didWork=!0,r._isZoneStable=!1}}),this._ngZone.runOutsideAngular(function(){r._ngZone.onStable.subscribe({next:function(){Oe.assertNotInAngularZone(),Wc(function(){r._isZoneStable=!0,r._runCallbacksIfReady()})}})})}},{key:"increasePendingRequestCount",value:function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}},{key:"decreasePendingRequestCount",value:function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}},{key:"isStable",value:function(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}},{key:"_runCallbacksIfReady",value:function(){var r=this;if(this.isStable())Wc(function(){for(;0!==r._callbacks.length;){var a=r._callbacks.pop();clearTimeout(a.timeoutId),a.doneCb(r._didWork)}r._didWork=!1});else{var i=this.getPendingTasks();this._callbacks=this._callbacks.filter(function(a){return!a.updateCb||!a.updateCb(i)||(clearTimeout(a.timeoutId),!1)}),this._didWork=!0}}},{key:"getPendingTasks",value:function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(function(r){return{source:r.source,creationLocation:r.creationLocation,data:r.data}}):[]}},{key:"addCallback",value:function(r,i,a){var o=this,s=-1;i&&i>0&&(s=setTimeout(function(){o._callbacks=o._callbacks.filter(function(u){return u.timeoutId!==s}),r(o._didWork,o.getPendingTasks())},i)),this._callbacks.push({doneCb:r,timeoutId:s,updateCb:a})}},{key:"whenStable",value:function(r,i,a){if(a&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(r,i,a),this._runCallbacksIfReady()}},{key:"getPendingRequestCount",value:function(){return this._pendingCount}},{key:"findProviders",value:function(r,i,a){return[]}}]),t}();return e.\u0275fac=function(n){return new(n||e)(F(Oe))},e.\u0275prov=K({token:e,factory:e.\u0275fac}),e}(),Oy=function(){var e=function(){function t(){m(this,t),this._applications=new Map,Jc.addToWindow(this)}return g(t,[{key:"registerApplication",value:function(r,i){this._applications.set(r,i)}},{key:"unregisterApplication",value:function(r){this._applications.delete(r)}},{key:"unregisterAllApplications",value:function(){this._applications.clear()}},{key:"getTestability",value:function(r){return this._applications.get(r)||null}},{key:"getAllTestabilities",value:function(){return Array.from(this._applications.values())}},{key:"getAllRootElements",value:function(){return Array.from(this._applications.keys())}},{key:"findTestabilityInTree",value:function(r){var i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Jc.findTestabilityInTree(this,r,i)}}]),t}();return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=K({token:e,factory:e.\u0275fac}),e}(),Jc=new(function(){function e(){m(this,e)}return g(e,[{key:"addToWindow",value:function(n){}},{key:"findTestabilityInTree",value:function(n,r,i){return null}}]),e}()),xy=!0,Ly=!1;var Zt,fR=function(e,t,n){var r=new Lc(n);return Promise.resolve(r)},Vy=new ie("AllowMultipleToken");function yR(e){if(Zt&&!Zt.destroyed&&!Zt.injector.get(Vy,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Zt=e.get(Uy);var t=e.get(Ry,null);return t&&t.forEach(function(n){return n()}),Zt}function jy(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r="Platform: ".concat(t),i=new ie(r);return function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=Hy();if(!o||o.injector.get(Vy,!1))if(e)e(n.concat(a).concat({provide:i,useValue:!0}));else{var s=n.concat(a).concat({provide:i,useValue:!0},{provide:pa,useValue:"platform"});yR(Fe.create({providers:s,name:r}))}return _R(i)}}function _R(e){var t=Hy();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}function Hy(){return Zt&&!Zt.destroyed?Zt:null}var Uy=function(){var e=function(){function t(n){m(this,t),this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return g(t,[{key:"bootstrapModuleFactory",value:function(r,i){var a=this,l=function(e,t){return"noop"===e?new sR:("zone.js"===e?void 0:e)||new Oe({enableLongStackTrace:(Ly=!0,xy),shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)})}(i?i.ngZone:void 0,{ngZoneEventCoalescing:i&&i.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:i&&i.ngZoneRunCoalescing||!1}),c=[{provide:Oe,useValue:l}];return l.run(function(){var f=Fe.create({providers:c,parent:a.injector,name:r.moduleType.name}),d=r.create(f),h=d.injector.get(cr,null);if(!h)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return l.runOutsideAngular(function(){var v=l.onError.subscribe({next:function(y){h.handleError(y)}});d.onDestroy(function(){Xc(a._modules,d),v.unsubscribe()})}),function(e,t,n){try{var r=((v=d.injector.get(Ai)).runInitializers(),v.donePromise.then(function(){return gc(d.injector.get(qn,ls)||ls),a._moduleDoBootstrap(d),d}));return dc(r)?r.catch(function(i){throw t.runOutsideAngular(function(){return e.handleError(i)}),i}):r}catch(i){throw t.runOutsideAngular(function(){return e.handleError(i)}),i}var v}(h,l)})}},{key:"bootstrapModule",value:function(r){var i=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],o=Gy({},a);return fR(0,0,r).then(function(s){return i.bootstrapModuleFactory(s,o)})}},{key:"_moduleDoBootstrap",value:function(r){var i=r.injector.get(Va);if(r._bootstrapComponents.length>0)r._bootstrapComponents.forEach(function(a){return i.bootstrap(a)});else{if(!r.instance.ngDoBootstrap)throw new Error("The module ".concat(Q(r.instance.constructor),' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. ')+"Please define one of these.");r.instance.ngDoBootstrap(i)}this._modules.push(r)}},{key:"onDestroy",value:function(r){this._destroyListeners.push(r)}},{key:"injector",get:function(){return this._injector}},{key:"destroy",value:function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(r){return r.destroy()}),this._destroyListeners.forEach(function(r){return r()}),this._destroyed=!0}},{key:"destroyed",get:function(){return this._destroyed}}]),t}();return e.\u0275fac=function(n){return new(n||e)(F(Fe))},e.\u0275prov=K({token:e,factory:e.\u0275fac}),e}();function Gy(e,t){return Array.isArray(t)?t.reduce(Gy,e):Object.assign(Object.assign({},e),t)}var Va=function(){var e=function(){function t(n,r,i,a,o){var s=this;m(this,t),this._zone=n,this._injector=r,this._exceptionHandler=i,this._componentFactoryResolver=a,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:function(){s._zone.run(function(){s.tick()})}});var u=new Pe(function(c){s._stable=s._zone.isStable&&!s._zone.hasPendingMacrotasks&&!s._zone.hasPendingMicrotasks,s._zone.runOutsideAngular(function(){c.next(s._stable),c.complete()})}),l=new Pe(function(c){var f;s._zone.runOutsideAngular(function(){f=s._zone.onStable.subscribe(function(){Oe.assertNotInAngularZone(),Wc(function(){!s._stable&&!s._zone.hasPendingMacrotasks&&!s._zone.hasPendingMicrotasks&&(s._stable=!0,c.next(!0))})})});var d=s._zone.onUnstable.subscribe(function(){Oe.assertInAngularZone(),s._stable&&(s._stable=!1,s._zone.runOutsideAngular(function(){c.next(!1)}))});return function(){f.unsubscribe(),d.unsubscribe()}});this.isStable=function(){for(var e=Number.POSITIVE_INFINITY,t=null,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];var a=r[r.length-1];return ho(a)?(t=r.pop(),r.length>1&&"number"==typeof r[r.length-1]&&(e=r.pop())):"number"==typeof a&&(e=r.pop()),null===t&&1===r.length&&r[0]instanceof Pe?r[0]:Gd(e)(Su(r,t))}(u,l.pipe(function(e){return qd()(function(e,t){return function(r){var i;i="function"==typeof e?e:function(){return e};var a=Object.create(r,Lb);return a.source=r,a.subjectFactory=i,a}}(Hb)(e))}))}return g(t,[{key:"bootstrap",value:function(r,i){var o,a=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.");o=r instanceof _m?r:this._componentFactoryResolver.resolveComponentFactory(r),this.componentTypes.push(o.componentType);var s=function(e){return e.isBoundToModule}(o)?void 0:this._injector.get(bi),l=o.create(Fe.NULL,[],i||o.selector,s),c=l.location.nativeElement,f=l.injector.get(Zc,null),d=f&&l.injector.get(Oy);return f&&d&&d.registerApplication(c,f),l.onDestroy(function(){a.detachView(l.hostView),Xc(a.components,l),d&&d.unregisterApplication(c)}),this._loadComponent(l),l}},{key:"tick",value:function(){var r=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;var a,i=Zn(this._views);try{for(i.s();!(a=i.n()).done;)a.value.detectChanges()}catch(c){i.e(c)}finally{i.f()}}catch(c){this._zone.runOutsideAngular(function(){return r._exceptionHandler.handleError(c)})}finally{this._runningTick=!1}}},{key:"attachView",value:function(r){var i=r;this._views.push(i),i.attachToAppRef(this)}},{key:"detachView",value:function(r){var i=r;Xc(this._views,i),i.detachFromAppRef()}},{key:"_loadComponent",value:function(r){this.attachView(r.hostView),this.tick(),this.components.push(r),this._injector.get(QI,[]).concat(this._bootstrapListeners).forEach(function(a){return a(r)})}},{key:"ngOnDestroy",value:function(){this._views.slice().forEach(function(r){return r.destroy()}),this._onMicrotaskEmptySubscription.unsubscribe()}},{key:"viewCount",get:function(){return this._views.length}}]),t}();return e.\u0275fac=function(n){return new(n||e)(F(Oe),F(Fe),F(cr),F(Sa),F(Ai))},e.\u0275prov=K({token:e,factory:e.\u0275fac}),e}();function Xc(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var FR=jy(null,"core",[{provide:Ba,useValue:"unknown"},{provide:Uy,deps:[Fe]},{provide:Oy,deps:[]},{provide:zc,deps:[]}]),jR=[{provide:Va,useClass:Va,deps:[Oe,Fe,cr,Sa,Ai]},{provide:bA,deps:[Oe],useFactory:function(e){var t=[];return e.onStable.subscribe(function(){for(;t.length;)t.pop()()}),function(n){t.push(n)}}},{provide:Ai,useClass:Ai,deps:[[new ln,Ss]]},{provide:Ts,useClass:Ts,deps:[]},qI,{provide:ka,useFactory:function(){return m1},deps:[]},{provide:Ei,useFactory:function(){return y1},deps:[]},{provide:qn,useFactory:function(e){return gc(e=e||"undefined"!=typeof $localize&&$localize.locale||ls),e},deps:[[new aa(qn),new ln,new or]]},{provide:My,useValue:"USD"}],UR=function(){var e=g(function t(n){m(this,t)});return e.\u0275fac=function(n){return new(n||e)(F(Va))},e.\u0275mod=bn({type:e}),e.\u0275inj=xt({providers:jR}),e}(),Fs=null;function qa(){return Fs}var LM=g(function e(){m(this,e)}),Le=new ie("DocumentToken"),Qa=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}({}),KM=function(e){return function(e){var t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e),n=Kg(t);if(n)return n;var r=t.split("-")[0];if(n=Kg(r))return n;if("en"===r)return Qk;throw new Error('Missing locale data for the locale "'.concat(e,'".'))}(e)[ge.PluralCase]},qs=g(function e(){m(this,e)}),CP=function(){var e=function(t){R(r,t);var n=M(r);function r(i){var a;return m(this,r),(a=n.call(this)).locale=i,a}return g(r,[{key:"getPluralCategory",value:function(a,o){switch(KM(o||this.locale)(a)){case Qa.Zero:return"zero";case Qa.One:return"one";case Qa.Two:return"two";case Qa.Few:return"few";case Qa.Many:return"many";default:return"other"}}}]),r}(qs);return e.\u0275fac=function(n){return new(n||e)(F(qn))},e.\u0275prov=K({token:e,factory:e.\u0275fac}),e}(),D_=function(){var e=function(){function t(n,r,i,a){m(this,t),this._iterableDiffers=n,this._keyValueDiffers=r,this._ngEl=i,this._renderer=a,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}return g(t,[{key:"klass",set:function(r){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof r?r.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}},{key:"ngClass",set:function(r){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof r?r.split(/\s+/):r,this._rawClass&&(ya(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}},{key:"ngDoCheck",value:function(){if(this._iterableDiffer){var r=this._iterableDiffer.diff(this._rawClass);r&&this._applyIterableChanges(r)}else if(this._keyValueDiffer){var i=this._keyValueDiffer.diff(this._rawClass);i&&this._applyKeyValueChanges(i)}}},{key:"_applyKeyValueChanges",value:function(r){var i=this;r.forEachAddedItem(function(a){return i._toggleClass(a.key,a.currentValue)}),r.forEachChangedItem(function(a){return i._toggleClass(a.key,a.currentValue)}),r.forEachRemovedItem(function(a){a.previousValue&&i._toggleClass(a.key,!1)})}},{key:"_applyIterableChanges",value:function(r){var i=this;r.forEachAddedItem(function(a){if("string"!=typeof a.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got ".concat(Q(a.item)));i._toggleClass(a.item,!0)}),r.forEachRemovedItem(function(a){return i._toggleClass(a.item,!1)})}},{key:"_applyClasses",value:function(r){var i=this;r&&(Array.isArray(r)||r instanceof Set?r.forEach(function(a){return i._toggleClass(a,!0)}):Object.keys(r).forEach(function(a){return i._toggleClass(a,!!r[a])}))}},{key:"_removeClasses",value:function(r){var i=this;r&&(Array.isArray(r)||r instanceof Set?r.forEach(function(a){return i._toggleClass(a,!1)}):Object.keys(r).forEach(function(a){return i._toggleClass(a,!1)}))}},{key:"_toggleClass",value:function(r,i){var a=this;(r=r.trim())&&r.split(/\s+/g).forEach(function(o){i?a._renderer.addClass(a._ngEl.nativeElement,o):a._renderer.removeClass(a._ngEl.nativeElement,o)})}}]),t}();return e.\u0275fac=function(n){return new(n||e)(G(ka),G(Ei),G(kn),G(Cm))},e.\u0275dir=gt({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),e}(),SP=function(){function e(t,n,r,i){m(this,e),this.$implicit=t,this.ngForOf=n,this.index=r,this.count=i}return g(e,[{key:"first",get:function(){return 0===this.index}},{key:"last",get:function(){return this.index===this.count-1}},{key:"even",get:function(){return this.index%2==0}},{key:"odd",get:function(){return!this.even}}]),e}(),w_=function(){var e=function(){function t(n,r,i){m(this,t),this._viewContainer=n,this._template=r,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}return g(t,[{key:"ngForOf",set:function(r){this._ngForOf=r,this._ngForOfDirty=!0}},{key:"ngForTrackBy",get:function(){return this._trackByFn},set:function(r){this._trackByFn=r}},{key:"ngForTemplate",set:function(r){r&&(this._template=r)}},{key:"ngDoCheck",value:function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var r=this._ngForOf;if(!this._differ&&r)try{this._differ=this._differs.find(r).create(this.ngForTrackBy)}catch(a){throw new Error("Cannot find a differ supporting object '".concat(r,"' of type '").concat(function(e){return e.name||typeof e}(r),"'. NgFor only supports binding to Iterables such as Arrays."))}}if(this._differ){var i=this._differ.diff(this._ngForOf);i&&this._applyChanges(i)}}},{key:"_applyChanges",value:function(r){var i=this,a=[];r.forEachOperation(function(c,f,d){if(null==c.previousIndex){var h=i._viewContainer.createEmbeddedView(i._template,new SP(null,i._ngForOf,-1,-1),null===d?void 0:d),v=new S_(c,h);a.push(v)}else if(null==d)i._viewContainer.remove(null===f?void 0:f);else if(null!==f){var p=i._viewContainer.get(f);i._viewContainer.move(p,d);var y=new S_(c,p);a.push(y)}});for(var o=0;o<a.length;o++)this._perViewChange(a[o].view,a[o].record);for(var s=0,u=this._viewContainer.length;s<u;s++){var l=this._viewContainer.get(s);l.context.index=s,l.context.count=u,l.context.ngForOf=this._ngForOf}r.forEachIdentityChange(function(c){i._viewContainer.get(c.currentIndex).context.$implicit=c.item})}},{key:"_perViewChange",value:function(r,i){r.context.$implicit=i.item}}],[{key:"ngTemplateContextGuard",value:function(r,i){return!0}}]),t}();return e.\u0275fac=function(n){return new(n||e)(G(mn),G(Tn),G(ka))},e.\u0275dir=gt({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),e}(),S_=g(function e(t,n){m(this,e),this.record=t,this.view=n}),Sf=function(){var e=function(){function t(n,r){m(this,t),this._viewContainer=n,this._context=new TP,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}return g(t,[{key:"ngIf",set:function(r){this._context.$implicit=this._context.ngIf=r,this._updateView()}},{key:"ngIfThen",set:function(r){k_("ngIfThen",r),this._thenTemplateRef=r,this._thenViewRef=null,this._updateView()}},{key:"ngIfElse",set:function(r){k_("ngIfElse",r),this._elseTemplateRef=r,this._elseViewRef=null,this._updateView()}},{key:"_updateView",value: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)))}}],[{key:"ngTemplateContextGuard",value:function(r,i){return!0}}]),t}();return e.\u0275fac=function(n){return new(n||e)(G(mn),G(Tn))},e.\u0275dir=gt({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),e}(),TP=g(function e(){m(this,e),this.$implicit=null,this.ngIf=null});function k_(e,t){if(t&&!t.createEmbeddedView)throw new Error("".concat(e," must be a TemplateRef, but received '").concat(Q(t),"'."))}var Qs,A_=function(){var e=function(){function t(n){m(this,t),this._viewContainerRef=n,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}return g(t,[{key:"ngOnChanges",value:function(r){if(r.ngTemplateOutlet){var i=this._viewContainerRef;this._viewRef&&i.remove(i.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?i.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&r.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}]),t}();return e.\u0275fac=function(n){return new(n||e)(G(mn))},e.\u0275dir=gt({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[wo]}),e}(),R_=function(){var e=g(function t(){m(this,t)});return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=bn({type:e}),e.\u0275inj=xt({providers:[{provide:qs,useClass:CP}]}),e}(),nN=g(function e(){m(this,e)}),rN=function(e){R(n,e);var t=M(n);function n(){var r;return m(this,n),(r=t.apply(this,arguments)).supportsDOMEvents=!0,r}return g(n)}(LM),iN=function(e){R(n,e);var t=M(n);function n(){return m(this,n),t.apply(this,arguments)}return g(n,[{key:"onAndCancel",value:function(i,a,o){return i.addEventListener(a,o,!1),function(){i.removeEventListener(a,o,!1)}}},{key:"dispatchEvent",value:function(i,a){i.dispatchEvent(a)}},{key:"remove",value:function(i){i.parentNode&&i.parentNode.removeChild(i)}},{key:"createElement",value:function(i,a){return(a=a||this.getDefaultDocument()).createElement(i)}},{key:"createHtmlDocument",value:function(){return document.implementation.createHTMLDocument("fakeTitle")}},{key:"getDefaultDocument",value:function(){return document}},{key:"isElementNode",value:function(i){return i.nodeType===Node.ELEMENT_NODE}},{key:"isShadowRoot",value:function(i){return i instanceof DocumentFragment}},{key:"getGlobalEventTarget",value:function(i,a){return"window"===a?window:"document"===a?i:"body"===a?i.body:null}},{key:"getBaseHref",value:function(i){var a=(Wa=Wa||document.querySelector("base"))?Wa.getAttribute("href"):null;return null==a?null:function(e){(Qs=Qs||document.createElement("a")).setAttribute("href",e);var t=Qs.pathname;return"/"===t.charAt(0)?t:"/".concat(t)}(a)}},{key:"resetBaseElement",value:function(){Wa=null}},{key:"getUserAgent",value:function(){return window.navigator.userAgent}},{key:"getCookie",value:function(i){return function(e,t){t=encodeURIComponent(t);var r,n=Zn(e.split(";"));try{for(n.s();!(r=n.n()).done;){var i=r.value,a=i.indexOf("="),s=rt(-1==a?[i,""]:[i.slice(0,a),i.slice(a+1)],2),l=s[1];if(s[0].trim()===t)return decodeURIComponent(l)}}catch(c){n.e(c)}finally{n.f()}return null}(document.cookie,i)}}],[{key:"makeCurrent",value:function(){!function(e){Fs||(Fs=e)}(new n)}}]),n}(rN),Wa=null,P_=new ie("TRANSITION_ID"),uN=[{provide:Ss,useFactory:function(e,t,n){return function(){n.get(Ai).donePromise.then(function(){for(var r=qa(),i=t.querySelectorAll('style[ng-transition="'.concat(e,'"]')),a=0;a<i.length;a++)r.remove(i[a])})}},deps:[P_,Le,Fe],multi:!0}],lN=function(){function e(){m(this,e)}return g(e,[{key:"addToWindow",value:function(n){te.getAngularTestability=function(i){var a=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=n.findTestabilityInTree(i,a);if(null==o)throw new Error("Could not find testability for element.");return o},te.getAllAngularTestabilities=function(){return n.getAllTestabilities()},te.getAllAngularRootElements=function(){return n.getAllRootElements()},te.frameworkStabilizers||(te.frameworkStabilizers=[]),te.frameworkStabilizers.push(function(a){var o=te.getAllAngularTestabilities(),s=o.length,u=!1,l=function(f){u=u||f,0==--s&&a(u)};o.forEach(function(c){c.whenStable(l)})})}},{key:"findTestabilityInTree",value:function(n,r,i){if(null==r)return null;var a=n.getTestability(r);return null!=a?a:i?qa().isShadowRoot(r)?this.findTestabilityInTree(n,r.host,!0):this.findTestabilityInTree(n,r.parentElement,!0):null}}],[{key:"init",value:function(){!function(e){Jc=e}(new e)}}]),e}(),cN=function(){var e=function(){function t(){m(this,t)}return g(t,[{key:"build",value:function(){return new XMLHttpRequest}}]),t}();return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=K({token:e,factory:e.\u0275fac}),e}(),$a=new ie("EventManagerPlugins"),Ks=function(){var e=function(){function t(n,r){var i=this;m(this,t),this._zone=r,this._eventNameToPlugin=new Map,n.forEach(function(a){return a.manager=i}),this._plugins=n.slice().reverse()}return g(t,[{key:"addEventListener",value:function(r,i,a){return this._findPluginFor(i).addEventListener(r,i,a)}},{key:"addGlobalEventListener",value:function(r,i,a){return this._findPluginFor(i).addGlobalEventListener(r,i,a)}},{key:"getZone",value:function(){return this._zone}},{key:"_findPluginFor",value:function(r){var i=this._eventNameToPlugin.get(r);if(i)return i;for(var a=this._plugins,o=0;o<a.length;o++){var s=a[o];if(s.supports(r))return this._eventNameToPlugin.set(r,s),s}throw new Error("No event manager plugin found for event ".concat(r))}}]),t}();return e.\u0275fac=function(n){return new(n||e)(F($a),F(Oe))},e.\u0275prov=K({token:e,factory:e.\u0275fac}),e}(),Rf=function(){function e(t){m(this,e),this._doc=t}return g(e,[{key:"addGlobalEventListener",value:function(n,r,i){var a=qa().getGlobalEventTarget(this._doc,n);if(!a)throw new Error("Unsupported event target ".concat(a," for event ").concat(r));return this.addEventListener(a,r,i)}}]),e}(),F_=function(){var e=function(){function t(){m(this,t),this._stylesSet=new Set}return g(t,[{key:"addStyles",value:function(r){var i=this,a=new Set;r.forEach(function(o){i._stylesSet.has(o)||(i._stylesSet.add(o),a.add(o))}),this.onStylesAdded(a)}},{key:"onStylesAdded",value:function(r){}},{key:"getAllStyles",value:function(){return Array.from(this._stylesSet)}}]),t}();return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=K({token:e,factory:e.\u0275fac}),e}(),Ya=function(){var e=function(t){R(r,t);var n=M(r);function r(i){var a;return m(this,r),(a=n.call(this))._doc=i,a._hostNodes=new Map,a._hostNodes.set(i.head,[]),a}return g(r,[{key:"_addStylesToHost",value:function(a,o,s){var u=this;a.forEach(function(l){var c=u._doc.createElement("style");c.textContent=l,s.push(o.appendChild(c))})}},{key:"addHost",value:function(a){var o=[];this._addStylesToHost(this._stylesSet,a,o),this._hostNodes.set(a,o)}},{key:"removeHost",value:function(a){var o=this._hostNodes.get(a);o&&o.forEach(O_),this._hostNodes.delete(a)}},{key:"onStylesAdded",value:function(a){var o=this;this._hostNodes.forEach(function(s,u){o._addStylesToHost(a,u,s)})}},{key:"ngOnDestroy",value:function(){this._hostNodes.forEach(function(a){return a.forEach(O_)})}}]),r}(F_);return e.\u0275fac=function(n){return new(n||e)(F(Le))},e.\u0275prov=K({token:e,factory:e.\u0275fac}),e}();function O_(e){qa().remove(e)}var Mf={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/"},Pf=/%COMP%/g,bN="_nghost-".concat("%COMP%"),CN="_ngcontent-".concat("%COMP%");function Ws(e,t,n){for(var r=0;r<t.length;r++){var i=t[r];Array.isArray(i)?Ws(e,i,n):(i=i.replace(Pf,e),n.push(i))}return n}function B_(e){return function(t){if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}var $s=function(){var e=function(){function t(n,r,i){m(this,t),this.eventManager=n,this.sharedStylesHost=r,this.appId=i,this.rendererByCompId=new Map,this.defaultRenderer=new Nf(n)}return g(t,[{key:"createRenderer",value:function(r,i){if(!r||!i)return this.defaultRenderer;switch(i.encapsulation){case Lt.Emulated:var a=this.rendererByCompId.get(i.id);return a||(a=new TN(this.eventManager,this.sharedStylesHost,i,this.appId),this.rendererByCompId.set(i.id,a)),a.applyToHost(r),a;case 1:case Lt.ShadowDom:return new AN(this.eventManager,this.sharedStylesHost,r,i);default:if(!this.rendererByCompId.has(i.id)){var o=Ws(i.id,i.styles,[]);this.sharedStylesHost.addStyles(o),this.rendererByCompId.set(i.id,this.defaultRenderer)}return this.defaultRenderer}}},{key:"begin",value:function(){}},{key:"end",value:function(){}}]),t}();return e.\u0275fac=function(n){return new(n||e)(F(Ks),F(Ya),F(La))},e.\u0275prov=K({token:e,factory:e.\u0275fac}),e}(),Nf=function(){function e(t){m(this,e),this.eventManager=t,this.data=Object.create(null)}return g(e,[{key:"destroy",value:function(){}},{key:"createElement",value:function(n,r){return r?document.createElementNS(Mf[r]||r,n):document.createElement(n)}},{key:"createComment",value:function(n){return document.createComment(n)}},{key:"createText",value:function(n){return document.createTextNode(n)}},{key:"appendChild",value:function(n,r){n.appendChild(r)}},{key:"insertBefore",value:function(n,r,i){n&&n.insertBefore(r,i)}},{key:"removeChild",value:function(n,r){n&&n.removeChild(r)}},{key:"selectRootElement",value:function(n,r){var i="string"==typeof n?document.querySelector(n):n;if(!i)throw new Error('The selector "'.concat(n,'" did not match any elements'));return r||(i.textContent=""),i}},{key:"parentNode",value:function(n){return n.parentNode}},{key:"nextSibling",value:function(n){return n.nextSibling}},{key:"setAttribute",value:function(n,r,i,a){if(a){r=a+":"+r;var o=Mf[a];o?n.setAttributeNS(o,r,i):n.setAttribute(r,i)}else n.setAttribute(r,i)}},{key:"removeAttribute",value:function(n,r,i){if(i){var a=Mf[i];a?n.removeAttributeNS(a,r):n.removeAttribute("".concat(i,":").concat(r))}else n.removeAttribute(r)}},{key:"addClass",value:function(n,r){n.classList.add(r)}},{key:"removeClass",value:function(n,r){n.classList.remove(r)}},{key:"setStyle",value:function(n,r,i,a){a&($r.DashCase|$r.Important)?n.style.setProperty(r,i,a&$r.Important?"important":""):n.style[r]=i}},{key:"removeStyle",value:function(n,r,i){i&$r.DashCase?n.style.removeProperty(r):n.style[r]=""}},{key:"setProperty",value:function(n,r,i){n[r]=i}},{key:"setValue",value:function(n,r){n.nodeValue=r}},{key:"listen",value:function(n,r,i){return"string"==typeof n?this.eventManager.addGlobalEventListener(n,r,B_(i)):this.eventManager.addEventListener(n,r,B_(i))}}]),e}(),TN=function(e){R(n,e);var t=M(n);function n(r,i,a,o){var s;m(this,n),(s=t.call(this,r)).component=a;var u=Ws(o+"-"+a.id,a.styles,[]);return i.addStyles(u),s.contentAttr=function(e){return CN.replace(Pf,e)}(o+"-"+a.id),s.hostAttr=function(e){return bN.replace(Pf,e)}(o+"-"+a.id),s}return g(n,[{key:"applyToHost",value:function(i){De(oe(n.prototype),"setAttribute",this).call(this,i,this.hostAttr,"")}},{key:"createElement",value:function(i,a){var o=De(oe(n.prototype),"createElement",this).call(this,i,a);return De(oe(n.prototype),"setAttribute",this).call(this,o,this.contentAttr,""),o}}]),n}(Nf),AN=function(e){R(n,e);var t=M(n);function n(r,i,a,o){var s;m(this,n),(s=t.call(this,r)).sharedStylesHost=i,s.hostEl=a,s.shadowRoot=a.attachShadow({mode:"open"}),s.sharedStylesHost.addHost(s.shadowRoot);for(var u=Ws(o.id,o.styles,[]),l=0;l<u.length;l++){var c=document.createElement("style");c.textContent=u[l],s.shadowRoot.appendChild(c)}return s}return g(n,[{key:"nodeOrShadowRoot",value:function(i){return i===this.hostEl?this.shadowRoot:i}},{key:"destroy",value:function(){this.sharedStylesHost.removeHost(this.shadowRoot)}},{key:"appendChild",value:function(i,a){return De(oe(n.prototype),"appendChild",this).call(this,this.nodeOrShadowRoot(i),a)}},{key:"insertBefore",value:function(i,a,o){return De(oe(n.prototype),"insertBefore",this).call(this,this.nodeOrShadowRoot(i),a,o)}},{key:"removeChild",value:function(i,a){return De(oe(n.prototype),"removeChild",this).call(this,this.nodeOrShadowRoot(i),a)}},{key:"parentNode",value:function(i){return this.nodeOrShadowRoot(De(oe(n.prototype),"parentNode",this).call(this,this.nodeOrShadowRoot(i)))}}]),n}(Nf),IN=function(){var e=function(t){R(r,t);var n=M(r);function r(i){return m(this,r),n.call(this,i)}return g(r,[{key:"supports",value:function(a){return!0}},{key:"addEventListener",value:function(a,o,s){var u=this;return a.addEventListener(o,s,!1),function(){return u.removeEventListener(a,o,s)}}},{key:"removeEventListener",value:function(a,o,s){return a.removeEventListener(o,s)}}]),r}(Rf);return e.\u0275fac=function(n){return new(n||e)(F(Le))},e.\u0275prov=K({token:e,factory:e.\u0275fac}),e}(),H_=["alt","control","meta","shift"],xN={"\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"},U_={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"},HN={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},UN=function(){var e=function(t){R(r,t);var n=M(r);function r(i){return m(this,r),n.call(this,i)}return g(r,[{key:"supports",value:function(a){return null!=r.parseEventName(a)}},{key:"addEventListener",value:function(a,o,s){var u=r.parseEventName(o),l=r.eventCallback(u.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return qa().onAndCancel(a,u.domEventName,l)})}}],[{key:"parseEventName",value:function(a){var o=a.toLowerCase().split("."),s=o.shift();if(0===o.length||"keydown"!==s&&"keyup"!==s)return null;var u=r._normalizeKey(o.pop()),l="";if(H_.forEach(function(f){var d=o.indexOf(f);d>-1&&(o.splice(d,1),l+=f+".")}),l+=u,0!=o.length||0===u.length)return null;var c={};return c.domEventName=s,c.fullKey=l,c}},{key:"getEventFullKey",value:function(a){var o="",s=function(e){var t=e.key;if(null==t){if(null==(t=e.keyIdentifier))return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&U_.hasOwnProperty(t)&&(t=U_[t]))}return xN[t]||t}(a);return" "===(s=s.toLowerCase())?s="space":"."===s&&(s="dot"),H_.forEach(function(u){u!=s&&(0,HN[u])(a)&&(o+=u+".")}),o+=s}},{key:"eventCallback",value:function(a,o,s){return function(u){r.getEventFullKey(u)===a&&s.runGuarded(function(){return o(u)})}}},{key:"_normalizeKey",value:function(a){return"esc"===a?"escape":a}}]),r}(Rf);return e.\u0275fac=function(n){return new(n||e)(F(Le))},e.\u0275prov=K({token:e,factory:e.\u0275fac}),e}(),JN=jy(FR,"browser",[{provide:Ba,useValue:"browser"},{provide:Ry,useValue:function(){iN.makeCurrent(),lN.init()},multi:!0},{provide:Le,useFactory:function(){return e=document,Vu=e,document;var e},deps:[]}]),XN=[[],{provide:pa,useValue:"root"},{provide:cr,useFactory:function(){return new cr},deps:[]},{provide:$a,useClass:IN,multi:!0,deps:[Le,Oe,Ba]},{provide:$a,useClass:UN,multi:!0,deps:[Le]},[],{provide:$s,useClass:$s,deps:[Ks,Ya,La]},{provide:gr,useExisting:$s},{provide:F_,useExisting:Ya},{provide:Ya,useClass:Ya,deps:[Le]},{provide:Zc,useClass:Zc,deps:[Oe]},{provide:Ks,useClass:Ks,deps:[$a,Oe]},{provide:nN,useClass:cN,deps:[]},[]],Lf=function(){var e=function(){function t(n){if(m(this,t),n)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return g(t,null,[{key:"withServerTransition",value:function(r){return{ngModule:t,providers:[{provide:La,useValue:r.appId},{provide:P_,useExisting:La},uN]}}}]),t}();return e.\u0275fac=function(n){return new(n||e)(F(e,12))},e.\u0275mod=bn({type:e}),e.\u0275inj=xt({providers:XN,imports:[R_,UR]}),e}();"undefined"!=typeof window&&window;var q_=function(){function e(){var t=window.location.search;this.authQs=this.constructAuthQueryString(t)}return e.prototype.addAuthQsToUrl=function(t){if(!this.authQs.length)return t;var i,n=-1!==t.indexOf("?"),r=-1!==t.indexOf("#");return n?""+(i=t.split("?"))[0]+this.authQs+"&"+i[1]:r?""+(i=t.split("#"))[0]+this.authQs+"#"+i[1]:""+t+this.authQs},e.prototype.getAuthQs=function(){return this.authQs},e.prototype.getEkitFromUrl=function(t){if(-1!==t.indexOf("ekit")){var n=t.split("ekit=");if(2===n.length){var r=n[1],i=r.indexOf("&");return-1!==i&&(r=r.substring(0,i)),-1!==r.indexOf("==")&&(r=encodeURIComponent(r)),r}}return null},e.prototype.getGapImpersonateNameFromUrl=function(t){if(-1!==t.indexOf("impersonate")){var n=t.split("impersonate=");if(2===n.length)return n[1]}return null},e.prototype.constructAuthQueryString=function(t){if(null===t||0===t.length)return"";var n=this.getGapImpersonateNameFromUrl(t),r=this.getEkitFromUrl(t);return null!==r?"?ekit="+r:null!==n?"?impersonate="+n:""},e.\u0275prov=K({token:e,factory:e.\u0275fac=function(n){return new(n||e)}}),e}(),aF=function(){function e(){}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=bn({type:e}),e.\u0275inj=xt({providers:[q_]}),e}(),Q_=g(function e(){m(this,e)}),oF=g(function e(){m(this,e)}),Mn="*";function sF(e,t){return{type:7,name:e,definitions:t,options:{}}}function uF(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:4,styles:t,timings:e}}function z_(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:2,steps:e,options:t}}function Ys(e){return{type:6,styles:e,offset:null}}function K_(e,t,n){return{type:0,name:e,styles:t,options:n}}function lF(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:1,expr:e,animation:t,options:n}}function W_(e){Promise.resolve(null).then(e)}var Mi=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;m(this,e),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+n}return g(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(n){return n()}),this._onDoneFns=[])}},{key:"onStart",value:function(n){this._onStartFns.push(n)}},{key:"onDone",value:function(n){this._onDoneFns.push(n)}},{key:"onDestroy",value:function(n){this._onDestroyFns.push(n)}},{key:"hasStarted",value:function(){return this._started}},{key:"init",value:function(){}},{key:"play",value:function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}},{key:"triggerMicrotask",value:function(){var n=this;W_(function(){return n._onFinish()})}},{key:"_onStart",value:function(){this._onStartFns.forEach(function(n){return n()}),this._onStartFns=[]}},{key:"pause",value:function(){}},{key:"restart",value:function(){}},{key:"finish",value:function(){this._onFinish()}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(function(n){return n()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this._started=!1}},{key:"setPosition",value:function(n){this._position=this.totalTime?n*this.totalTime:1}},{key:"getPosition",value:function(){return this.totalTime?this._position/this.totalTime:1}},{key:"triggerCallback",value:function(n){var r="start"==n?this._onStartFns:this._onDoneFns;r.forEach(function(i){return i()}),r.length=0}}]),e}(),$_=function(){function e(t){var n=this;m(this,e),this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;var r=0,i=0,a=0,o=this.players.length;0==o?W_(function(){return n._onFinish()}):this.players.forEach(function(s){s.onDone(function(){++r==o&&n._onFinish()}),s.onDestroy(function(){++i==o&&n._onDestroy()}),s.onStart(function(){++a==o&&n._onStart()})}),this.totalTime=this.players.reduce(function(s,u){return Math.max(s,u.totalTime)},0)}return g(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(n){return n()}),this._onDoneFns=[])}},{key:"init",value:function(){this.players.forEach(function(n){return n.init()})}},{key:"onStart",value:function(n){this._onStartFns.push(n)}},{key:"_onStart",value:function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(n){return n()}),this._onStartFns=[])}},{key:"onDone",value:function(n){this._onDoneFns.push(n)}},{key:"onDestroy",value:function(n){this._onDestroyFns.push(n)}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(function(n){return n.play()})}},{key:"pause",value:function(){this.players.forEach(function(n){return n.pause()})}},{key:"restart",value:function(){this.players.forEach(function(n){return n.restart()})}},{key:"finish",value:function(){this._onFinish(),this.players.forEach(function(n){return n.finish()})}},{key:"destroy",value:function(){this._onDestroy()}},{key:"_onDestroy",value:function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(n){return n.destroy()}),this._onDestroyFns.forEach(function(n){return n()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this.players.forEach(function(n){return n.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"setPosition",value:function(n){var r=n*this.totalTime;this.players.forEach(function(i){var a=i.totalTime?Math.min(1,r/i.totalTime):1;i.setPosition(a)})}},{key:"getPosition",value:function(){var n=this.players.reduce(function(r,i){return null===r||i.totalTime>r.totalTime?i:r},null);return null!=n?n.getPosition():0}},{key:"beforeDestroy",value:function(){this.players.forEach(function(n){n.beforeDestroy&&n.beforeDestroy()})}},{key:"triggerCallback",value:function(n){var r="start"==n?this._onStartFns:this._onDoneFns;r.forEach(function(i){return i()}),r.length=0}}]),e}(),Pi=function(e){return e.ABOUT="ABOUT",e.SERVICES="SERVICES",e.COMMUNITY="COMMUNITY",e.LEGAL="LEGAL",e.SUPPORT="SUPPORT",e}({});function Y_(e){return Array.isArray(e)?e:[e]}var fF=function(e){R(n,e);var t=M(n);function n(){return m(this,n),t.apply(this,arguments)}return g(n,[{key:"notifyNext",value:function(i,a,o,s,u){this.destination.next(a)}},{key:"notifyError",value:function(i,a){this.destination.error(i)}},{key:"notifyComplete",value:function(i){this.destination.complete()}}]),n}(Ve),dF=function(e){R(n,e);var t=M(n);function n(r,i,a){var o;return m(this,n),(o=t.call(this)).parent=r,o.outerValue=i,o.outerIndex=a,o.index=0,o}return g(n,[{key:"_next",value:function(i){this.parent.notifyNext(this.outerValue,i,this.outerIndex,this.index++,this)}},{key:"_error",value:function(i){this.parent.notifyError(i,this),this.unsubscribe()}},{key:"_complete",value:function(){this.parent.notifyComplete(this),this.unsubscribe()}}]),n}(Ve);function hF(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:new dF(e,n,r);if(!i.closed)return t instanceof Pe?t.subscribe(i):Du(t)(i)}var Z_={},pF=function(){function e(t){m(this,e),this.resultSelector=t}return g(e,[{key:"call",value:function(n,r){return r.subscribe(new gF(n,this.resultSelector))}}]),e}(),gF=function(e){R(n,e);var t=M(n);function n(r,i){var a;return m(this,n),(a=t.call(this,r)).resultSelector=i,a.active=0,a.values=[],a.observables=[],a}return g(n,[{key:"_next",value:function(i){this.values.push(Z_),this.observables.push(i)}},{key:"_complete",value:function(){var i=this.observables,a=i.length;if(0===a)this.destination.complete();else{this.active=a,this.toRespond=a;for(var o=0;o<a;o++)this.add(hF(this,i[o],void 0,o))}}},{key:"notifyComplete",value:function(i){0==(this.active-=1)&&this.destination.complete()}},{key:"notifyNext",value:function(i,a,o){var s=this.values,l=this.toRespond?s[o]===Z_?--this.toRespond:this.toRespond:0;s[o]=a,0===l&&(this.resultSelector?this._tryResultSelector(s):this.destination.next(s.slice()))}},{key:"_tryResultSelector",value:function(i){var a;try{a=this.resultSelector.apply(this,i)}catch(o){return void this.destination.error(o)}this.destination.next(a)}}]),n}(fF);function mF(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[t.length-1];return ho(r)?(t.pop(),wu(t,r)):Su(t)}function yF(){return Gd(1)}function jf(){return yF()(mF.apply(void 0,arguments))}var EF=function(){function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e}();var SF=function(){function e(t){if(m(this,e),this.total=t,this.total<0)throw new EF}return g(e,[{key:"call",value:function(n,r){return r.subscribe(new kF(n,this.total))}}]),e}(),kF=function(e){R(n,e);var t=M(n);function n(r,i){var a;return m(this,n),(a=t.call(this,r)).total=i,a.count=0,a}return g(n,[{key:"_next",value:function(i){var a=this.total,o=++this.count;o<=a&&(this.destination.next(i),o===a&&(this.destination.complete(),this.unsubscribe()))}}]),n}(Ve),AF=function(){function e(t){m(this,e),this.total=t}return g(e,[{key:"call",value:function(n,r){return r.subscribe(new IF(n,this.total))}}]),e}(),IF=function(e){R(n,e);var t=M(n);function n(r,i){var a;return m(this,n),(a=t.call(this,r)).total=i,a.count=0,a}return g(n,[{key:"_next",value:function(i){++this.count>this.total&&this.destination.next(i)}}]),n}(Ve),MF=function(e){R(n,e);var t=M(n);function n(r,i){var a;return m(this,n),(a=t.call(this,r,i)).scheduler=r,a.work=i,a.pending=!1,a}return g(n,[{key:"schedule",value:function(i){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.closed)return this;this.state=i;var o=this.id,s=this.scheduler;return null!=o&&(this.id=this.recycleAsyncId(s,o,a)),this.pending=!0,this.delay=a,this.id=this.id||this.requestAsyncId(s,this.id,a),this}},{key:"requestAsyncId",value:function(i,a){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return setInterval(i.flush.bind(i,this),o)}},{key:"recycleAsyncId",value:function(i,a){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==o&&this.delay===o&&!1===this.pending)return a;clearInterval(a)}},{key:"execute",value:function(i,a){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var o=this._execute(i,a);if(o)return o;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}},{key:"_execute",value:function(i,a){var o=!1,s=void 0;try{this.work(i)}catch(u){o=!0,s=!!u&&u||new Error(u)}if(o)return this.unsubscribe(),s}},{key:"_unsubscribe",value:function(){var i=this.id,a=this.scheduler,o=a.actions,s=o.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==s&&o.splice(s,1),null!=i&&(this.id=this.recycleAsyncId(a,i,null)),this.delay=null}}]),n}(function(e){R(n,e);var t=M(n);function n(r,i){return m(this,n),t.call(this)}return g(n,[{key:"schedule",value:function(i){return this}}]),n}(et)),J_=function(){var e=function(){function t(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.now;m(this,t),this.SchedulerAction=n,this.now=r}return g(t,[{key:"schedule",value:function(r){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=arguments.length>2?arguments[2]:void 0;return new this.SchedulerAction(this,r).schedule(a,i)}}]),t}();return e.now=function(){return Date.now()},e}(),PF=function(e){R(n,e);var t=M(n);function n(r){var i,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:J_.now;return m(this,n),(i=t.call(this,r,function(){return n.delegate&&n.delegate!==Nt(i)?n.delegate.now():a()})).actions=[],i.active=!1,i.scheduled=void 0,i}return g(n,[{key:"schedule",value:function(i){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=arguments.length>2?arguments[2]:void 0;return n.delegate&&n.delegate!==this?n.delegate.schedule(i,a,o):De(oe(n.prototype),"schedule",this).call(this,i,a,o)}},{key:"flush",value:function(i){var a=this.actions;if(this.active)a.push(i);else{var o;this.active=!0;do{if(o=i.execute(i.state,i.delay))break}while(i=a.shift());if(this.active=!1,o){for(;i=a.shift();)i.unsubscribe();throw o}}}}]),n}(J_),FF=new PF(MF),xF=function(){function e(t,n){m(this,e),this.dueTime=t,this.scheduler=n}return g(e,[{key:"call",value:function(n,r){return r.subscribe(new LF(n,this.dueTime,this.scheduler))}}]),e}(),LF=function(e){R(n,e);var t=M(n);function n(r,i,a){var o;return m(this,n),(o=t.call(this,r)).dueTime=i,o.scheduler=a,o.debouncedSubscription=null,o.lastValue=null,o.hasValue=!1,o}return g(n,[{key:"_next",value:function(i){this.clearDebounce(),this.lastValue=i,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(BF,this.dueTime,this))}},{key:"_complete",value:function(){this.debouncedNext(),this.destination.complete()}},{key:"debouncedNext",value:function(){if(this.clearDebounce(),this.hasValue){var i=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(i)}}},{key:"clearDebounce",value:function(){var i=this.debouncedSubscription;null!==i&&(this.remove(i),i.unsubscribe(),this.debouncedSubscription=null)}}]),n}(Ve);function BF(e){e.debouncedNext()}var Hf,HF=function(){function e(t){m(this,e),this.notifier=t}return g(e,[{key:"call",value:function(n,r){var i=new UF(n),a=Hd(this.notifier,new Vd(i));return a&&!i.seenValue?(i.add(a),r.subscribe(i)):i}}]),e}(),UF=function(e){R(n,e);var t=M(n);function n(r){var i;return m(this,n),(i=t.call(this,r)).seenValue=!1,i}return g(n,[{key:"notifyNext",value:function(){this.seenValue=!0,this.complete()}},{key:"notifyComplete",value:function(){}}]),n}(jd);try{Hf="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(e){Hf=!1}var Fi,X_=function(){var e=g(function t(n){m(this,t),this._platformId=n,this.isBrowser=this._platformId?function(e){return"browser"===e}(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!Hf)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT});return e.\u0275fac=function(n){return new(n||e)(F(Ba))},e.\u0275prov=K({factory:function(){return new e(F(Ba))},token:e,providedIn:"root"}),e}(),tE=new Set,nE=function(){var e=function(){function t(n){m(this,t),this._platform=n,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):zF}return g(t,[{key:"matchMedia",value:function(r){return this._platform.WEBKIT&&function(e){if(!tE.has(e))try{Fi||((Fi=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(Fi)),Fi.sheet&&(Fi.sheet.insertRule("@media ".concat(e," {.fx-query-test{ }}"),0),tE.add(e))}catch(t){console.error(t)}}(r),this._matchMedia(r)}}]),t}();return e.\u0275fac=function(n){return new(n||e)(F(X_))},e.\u0275prov=K({factory:function(){return new e(F(X_))},token:e,providedIn:"root"}),e}();function zF(e){return{matches:"all"===e||""===e,media:e,addListener:function(){},removeListener:function(){}}}var KF=function(){var e=function(){function t(n,r){m(this,t),this._mediaMatcher=n,this._zone=r,this._queries=new Map,this._destroySubject=new fo}return g(t,[{key:"ngOnDestroy",value:function(){this._destroySubject.next(),this._destroySubject.complete()}},{key:"isMatched",value:function(r){var i=this;return rE(Y_(r)).some(function(o){return i._registerQuery(o).mql.matches})}},{key:"observe",value:function(r){var i=this,s=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=void 0,i=void 0;return ho(t[t.length-1])&&(i=t.pop()),"function"==typeof t[t.length-1]&&(r=t.pop()),1===t.length&&Td(t[0])&&(t=t[0]),Su(t,i).lift(new pF(r))}(rE(Y_(r)).map(function(u){return i._registerQuery(u).observable}));return s=jf(s.pipe(function(t){return t.lift(new SF(1))}),s.pipe(function(t){return t.lift(new AF(1))},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:FF;return function(n){return n.lift(new xF(e,t))}}(0))),s.pipe(Cu(function(u){var l={matches:!1,breakpoints:{}};return u.forEach(function(c){var f=c.matches,d=c.query;l.matches=l.matches||f,l.breakpoints[d]=f}),l}))}},{key:"_registerQuery",value:function(r){var i=this;if(this._queries.has(r))return this._queries.get(r);var a=this._mediaMatcher.matchMedia(r),o=new Pe(function(u){var l=function(f){return i._zone.run(function(){return u.next(f)})};return a.addListener(l),function(){a.removeListener(l)}}).pipe(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[t.length-1];return ho(r)?(t.pop(),function(i){return jf(t,i,r)}):function(i){return jf(t,i)}}(a),Cu(function(u){return{query:r,matches:u.matches}}),function(e){return function(t){return t.lift(new HF(e))}}(this._destroySubject)),s={observable:o,mql:a};return this._queries.set(r,s),s}}]),t}();return e.\u0275fac=function(n){return new(n||e)(F(nE),F(Oe))},e.\u0275prov=K({factory:function(){return new e(F(nE),F(Oe))},token:e,providedIn:"root"}),e}();function rE(e){return e.map(function(t){return t.split(",")}).reduce(function(t,n){return t.concat(n)}).map(function(t){return t.trim()})}function WF(e,t){1&e&&Qt(0)}function $F(e,t){if(1&e&&(w(0,"ul"),Z(1,WF,1,0,"ng-container",20),S()),2&e){j();var n=qt(6);q("@accordianAnimator",j().$implicit.isOpen?"expanded":"collapsed"),I(1),q("ngTemplateOutlet",n)}}function YF(e,t){1&e&&Qt(0)}function ZF(e,t){if(1&e&&(w(0,"ul"),Z(1,YF,1,0,"ng-container",20),S()),2&e){j();var n=qt(6);I(1),q("ngTemplateOutlet",n)}}function JF(e,t){if(1&e&&(w(0,"li"),w(1,"a",21),ae(2,"Blog"),S(),S(),w(3,"li"),w(4,"a",3),ae(5,"Careers"),S(),S(),w(6,"li"),w(7,"a",3),ae(8,"Refund Policy"),S(),S(),w(9,"li"),w(10,"a",21),ae(11,"Affiliate Program"),S(),S()),2&e){var n=j(3);I(1),le("href",n.blogUrl,ue),I(3),le("href",n.careersUrl,ue),I(3),le("href",n.refundPolicyUrl,ue),I(3),le("href",n.affiliateProgramUrl,ue)}}var Ja=function(e,t){return{expanded:e,collapsed:t}};function XF(e,t){if(1&e){var n=pi();w(0,"li",16),vr("click",function(){Br(n);var o=j().index;return j().openMenu(o)}),w(1,"a",17),ae(2,"ABOUT"),S(),Z(3,$F,2,2,"ul",18),Z(4,ZF,2,1,"ul",18),Z(5,JF,12,4,"ng-template",null,19,ki),S()}if(2&e){var r=j().$implicit,i=j();I(1),q("ngClass",Si(3,Ja,r.isOpen&&!i.isGt720,!r.isOpen&&!i.isGt720)),I(2),q("ngIf",!i.isGt720),I(1),q("ngIf",i.isGt720)}}function eO(e,t){1&e&&Qt(0)}function tO(e,t){if(1&e&&(w(0,"ul"),Z(1,eO,1,0,"ng-container",20),S()),2&e){j();var n=qt(6);q("@accordianAnimator",j().$implicit.isOpen?"expanded":"collapsed"),I(1),q("ngTemplateOutlet",n)}}function nO(e,t){1&e&&Qt(0)}function rO(e,t){if(1&e&&(w(0,"ul"),Z(1,nO,1,0,"ng-container",20),S()),2&e){j();var n=qt(6);I(1),q("ngTemplateOutlet",n)}}function iO(e,t){if(1&e&&(w(0,"li"),w(1,"a",3),ae(2,"Family Finder\u2122"),S(),S(),w(3,"li"),w(4,"a",3),ae(5,"Y-DNA"),S(),S(),w(6,"li"),w(7,"a",3),ae(8,"Big Y"),S(),S(),w(9,"li"),w(10,"a",3),ae(11,"mtDNA"),S(),S(),w(12,"li"),w(13,"a",3),ae(14,"Gift Cards"),S(),S()),2&e){var n=j(3);I(1),le("href",n.familyFinder,ue),I(3),le("href",n.ydna,ue),I(3),le("href",n.bigy,ue),I(3),le("href",n.mtDna,ue),I(3),le("href",n.giftCards,ue)}}function aO(e,t){if(1&e){var n=pi();w(0,"li",16),vr("click",function(){Br(n);var o=j().index;return j().openMenu(o)}),w(1,"a",17),ae(2,"SERVICES"),S(),Z(3,tO,2,2,"ul",18),Z(4,rO,2,1,"ul",18),Z(5,iO,15,5,"ng-template",null,22,ki),S()}if(2&e){var r=j().$implicit,i=j();I(1),q("ngClass",Si(3,Ja,r.isOpen&&!i.isGt720,!r.isOpen&&!i.isGt720)),I(2),q("ngIf",!i.isGt720),I(1),q("ngIf",i.isGt720)}}function oO(e,t){1&e&&Qt(0)}function sO(e,t){if(1&e&&(w(0,"ul"),Z(1,oO,1,0,"ng-container",20),S()),2&e){j();var n=qt(6);q("@accordianAnimator",j().$implicit.isOpen?"expanded":"collapsed"),I(1),q("ngTemplateOutlet",n)}}function uO(e,t){1&e&&Qt(0)}function lO(e,t){if(1&e&&(w(0,"ul"),Z(1,uO,1,0,"ng-container",20),S()),2&e){j();var n=qt(6);I(1),q("ngTemplateOutlet",n)}}function cO(e,t){if(1&e&&(w(0,"li"),w(1,"a",3),ae(2,"Group Projects"),S(),S(),w(3,"li"),w(4,"a",3),ae(5,"Forums"),S(),S(),w(6,"li"),w(7,"a",3),ae(8,"Y-DNA Haplotree"),S(),S(),w(9,"li"),w(10,"a",3),ae(11,"mtDNA Haplotree"),S(),S()),2&e){var n=j(3);I(1),le("href",n.projectsUrl,ue),I(3),le("href",n.forumsUrl,ue),I(3),le("href",n.ydnaHaplotreeUrl,ue),I(3),le("href",n.mtdnaHaplotreeUrl,ue)}}function fO(e,t){if(1&e){var n=pi();w(0,"li",16),vr("click",function(){Br(n);var o=j().index;return j().openMenu(o)}),w(1,"a",17),ae(2,"COMMUNITY"),S(),Z(3,sO,2,2,"ul",18),Z(4,lO,2,1,"ul",18),Z(5,cO,12,4,"ng-template",null,23,ki),S()}if(2&e){var r=j().$implicit,i=j();I(1),q("ngClass",Si(3,Ja,r.isOpen&&!i.isGt720,!r.isOpen&&!i.isGt720)),I(2),q("ngIf",!i.isGt720),I(1),q("ngIf",i.isGt720)}}function dO(e,t){1&e&&Qt(0)}function hO(e,t){if(1&e&&(w(0,"ul"),Z(1,dO,1,0,"ng-container",20),S()),2&e){j();var n=qt(6);q("@accordianAnimator",j().$implicit.isOpen?"expanded":"collapsed"),I(1),q("ngTemplateOutlet",n)}}function vO(e,t){1&e&&Qt(0)}function pO(e,t){if(1&e&&(w(0,"ul"),Z(1,vO,1,0,"ng-container",20),S()),2&e){j();var n=qt(6);I(1),q("ngTemplateOutlet",n)}}function gO(e,t){if(1&e&&(w(0,"li"),w(1,"a",3),ae(2,"Terms of Service"),S(),S(),w(3,"li"),w(4,"a",3),ae(5,"Privacy Statement"),S(),S(),w(6,"li"),w(7,"a",3),ae(8,"Cookie Policy"),S(),S(),w(9,"li"),w(10,"a",3),ae(11,"Do Not Sell or Share My Personal Information"),S(),S(),w(12,"li"),w(13,"a",3),ae(14,"All Policies"),S(),S()),2&e){var n=j(3);I(1),le("href",n.termsOfServiceUrl,ue),I(3),le("href",n.privacyUrl,ue),I(3),le("href",n.cookiePolicyUrl,ue),I(3),le("href",n.cookieSettingsUrl,ue),I(3),le("href",n.allPoliciesUrl,ue)}}function mO(e,t){if(1&e){var n=pi();w(0,"li",16),vr("click",function(){Br(n);var o=j().index;return j().openMenu(o)}),w(1,"a",17),ae(2,"LEGAL"),S(),Z(3,hO,2,2,"ul",18),Z(4,pO,2,1,"ul",18),Z(5,gO,15,5,"ng-template",null,24,ki),S()}if(2&e){var r=j().$implicit,i=j();I(1),q("ngClass",Si(3,Ja,r.isOpen&&!i.isGt720,!r.isOpen&&!i.isGt720)),I(2),q("ngIf",!i.isGt720),I(1),q("ngIf",i.isGt720)}}function yO(e,t){1&e&&Qt(0)}function _O(e,t){if(1&e&&(w(0,"ul"),Z(1,yO,1,0,"ng-container",20),S()),2&e){j();var n=qt(6);q("@accordianAnimator",j().$implicit.isOpen?"expanded":"collapsed"),I(1),q("ngTemplateOutlet",n)}}function EO(e,t){1&e&&Qt(0)}function bO(e,t){if(1&e&&(w(0,"ul"),Z(1,EO,1,0,"ng-container",20),S()),2&e){j();var n=qt(6);I(1),q("ngTemplateOutlet",n)}}function CO(e,t){if(1&e&&(w(0,"li"),w(1,"a",3),ae(2,"Help Center"),S(),S(),w(3,"li"),w(4,"a",3),ae(5,"Glossary"),S(),S(),w(6,"li"),w(7,"a",3),ae(8,"Contact Us"),S(),S()),2&e){var n=j(3);I(1),le("href",n.helpCenterUrl,ue),I(3),le("href",n.glossaryUrl,ue),I(3),le("href",n.contactUrl,ue)}}function DO(e,t){if(1&e){var n=pi();w(0,"li",16),vr("click",function(){Br(n);var o=j().index;return j().openMenu(o)}),w(1,"a",17),ae(2,"SUPPORT"),S(),Z(3,_O,2,2,"ul",18),Z(4,bO,2,1,"ul",18),Z(5,CO,9,3,"ng-template",null,25,ki),S()}if(2&e){var r=j().$implicit,i=j();I(1),q("ngClass",Si(3,Ja,r.isOpen&&!i.isGt720,!r.isOpen&&!i.isGt720)),I(2),q("ngIf",!i.isGt720),I(1),q("ngIf",i.isGt720)}}function wO(e,t){if(1&e&&(cc(0),Z(1,XF,7,6,"li",15),Z(2,aO,7,6,"li",15),Z(3,fO,7,6,"li",15),Z(4,mO,7,6,"li",15),Z(5,DO,7,6,"li",15),fc()),2&e){var n=t.$implicit,r=j();I(1),q("ngIf",n.menu==r.menuEnum.ABOUT),I(1),q("ngIf",n.menu==r.menuEnum.SERVICES),I(1),q("ngIf",n.menu==r.menuEnum.COMMUNITY),I(1),q("ngIf",n.menu==r.menuEnum.LEGAL),I(1),q("ngIf",n.menu==r.menuEnum.SUPPORT)}}var SO=function(){function e(t,n,r){this.urlsService=t,this.changeDetectionRef=n,this.breakpointObserver=r,this.currentYear=2018,this.affiliateProgramUrl="https://familytreedna.com/affiliate-program",this.blogUrl="https://blog.familytreedna.com/",this.facebookUrl="https://www.facebook.com/FamilyTreeDNA",this.forumsUrl="http://forums.familytreedna.com/",this.glossaryUrl="https://www.familytreedna.com/learn/glossary",this.instagramUrl="http://instagram.com/familytreedna",this.helpCenterUrl="https://help.familytreedna.com/hc/en-us",this.twitterUrl="https://twitter.com/familytreedna",this.youtubeUrl="https://www.youtube.com/c/FamilyTreeDNA",this.menu=[{menu:Pi.ABOUT,isOpen:!1},{menu:Pi.SERVICES,isOpen:!1},{menu:Pi.COMMUNITY,isOpen:!1},{menu:Pi.LEGAL,isOpen:!1},{menu:Pi.SUPPORT,isOpen:!1}],this.menuEnum=Pi,this.subscriptions=new et,this.isGt720=!1}return e.prototype.ngOnInit=function(){var t=new Date;this.currentYear=t.getFullYear(),this.allPoliciesUrl=this.urlsService.addAuthQsToUrl(this.wwwUrl+"legal"),this.careersUrl=this.urlsService.addAuthQsToUrl(this.wwwUrl+"careers.aspx"),this.cookiePolicyUrl=this.urlsService.addAuthQsToUrl(this.wwwUrl+"legal/cookie-policy"),this.cookieSettingsUrl=this.urlsService.addAuthQsToUrl(this.wwwUrl+"legal/cookie-declaration"),this.contactUrl=this.urlsService.addAuthQsToUrl(this.wwwUrl+"contact"),this.mtdnaHaplotreeUrl=this.urlsService.addAuthQsToUrl(this.wwwUrl+"public/mt-dna-haplotree"),this.privacyUrl=this.urlsService.addAuthQsToUrl(this.wwwUrl+"legal/privacy-statement"),this.projectsUrl=this.urlsService.addAuthQsToUrl(this.wwwUrl+"group-project-search"),this.refundPolicyUrl=this.urlsService.addAuthQsToUrl(this.wwwUrl+"legal/refund-policy"),this.giftCards=this.urlsService.addAuthQsToUrl(this.wwwUrl+"products/gift-cards"),this.termsOfServiceUrl=this.urlsService.addAuthQsToUrl(this.wwwUrl+"legal/terms-of-service"),this.ydnaHaplotreeUrl=this.urlsService.addAuthQsToUrl(this.wwwUrl+"public/y-dna-haplotree"),this.familyFinder=this.urlsService.addAuthQsToUrl(this.wwwUrl+"products/family-finder"),this.familyFinderWellness=this.urlsService.addAuthQsToUrl(this.wwwUrl+"products/familyfinder-mydnawellness"),this.ydna=this.urlsService.addAuthQsToUrl(this.wwwUrl+"products/y-dna"),this.bigy=this.urlsService.addAuthQsToUrl(this.wwwUrl+"products/big-y"),this.mtDna=this.urlsService.addAuthQsToUrl(this.wwwUrl+"products/mt-dna"),this.logoUrl=this.getLogoUrl()},e.prototype.ngAfterViewInit=function(){var t=this,n="(min-width: 720px)";this.subscriptions.add(this.breakpointObserver.observe(n).subscribe(function(r){t.isGt720=r.breakpoints[n],t.changeDetectionRef.detectChanges()}))},e.prototype.getLogoUrl=function(){var t=-1!==window.location.href.indexOf("familytreedna.com/my/");return this.urlsService.addAuthQsToUrl(t?"/my/":"/")},e.prototype.openMenu=function(t){!0===this.menu[t].isOpen?this.menu[t].isOpen=!1:(this.menu.forEach(function(n){return n.isOpen=!1}),this.menu[t].isOpen=!0),this.changeDetectionRef.detectChanges()},e.\u0275fac=function(n){return new(n||e)(G(q_),G(Im),G(KF))},e.\u0275cmp=yo({type:e,selectors:[["app-footer-root-container"]],inputs:{wwwUrl:"wwwUrl"},decls:19,vars:7,consts:[[1,"page-footer"],[1,"wrapper","footer-nli"],[1,"nav-brand"],[3,"href"],["src","/common/img/header-footer/assets/ftdna-brand.svg","alt","Family Tree DNA","height","48"],[1,"navigation"],[1,"menu"],[4,"ngFor","ngForOf"],[1,"social-network"],[1,"social-title"],["target","_blank",1,"twitter",3,"href"],["target","_blank",1,"facebook",3,"href"],["target","_blank",1,"instagram",3,"href"],["target","_blank",1,"youtube",3,"href"],[1,"copyrights-gxg"],[3,"click",4,"ngIf"],[3,"click"],[3,"ngClass"],[4,"ngIf"],["about",""],[4,"ngTemplateOutlet"],["target","_blank",3,"href"],["services",""],["community",""],["legal",""],["support",""]],template:function(n,r){1&n&&(w(0,"footer",0),w(1,"div",1),w(2,"div",2),w(3,"a",3),hr(4,"img",4),S(),S(),w(5,"div",5),w(6,"ul",6),Z(7,wO,6,5,"ng-container",7),S(),S(),w(8,"div",8),w(9,"div",9),ae(10,"CONNECT WITH US"),S(),w(11,"div"),hr(12,"a",10),hr(13,"a",11),hr(14,"a",12),hr(15,"a",13),S(),S(),w(16,"div",14),w(17,"p"),ae(18),S(),S(),S(),S()),2&n&&(I(3),le("href",r.logoUrl,ue),I(4),q("ngForOf",r.menu),I(5),le("href",r.twitterUrl,ue),I(1),le("href",r.facebookUrl,ue),I(1),le("href",r.instagramUrl,ue),I(1),le("href",r.youtubeUrl,ue),I(3),us("All Contents Copyright 2001-",r.currentYear," Gene by Gene, Ltd."))},directives:[w_,Sf,D_,A_],styles:[".banner-trigger[_ngcontent-%COMP%]{cursor:pointer}"],data:{animation:[sF("accordianAnimator",[K_("expanded",Ys({height:"*",margin:"*",opacity:1,visibility:"visible"})),K_("collapsed",Ys({height:"0px",margin:"0px",opacity:0,visibility:"hidden"})),lF("expanded <=> collapsed",uF("200ms cubic-bezier(.37,1.04,.68,.98)"))])]}}),e}(),kO=function(){function e(){}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=bn({type:e}),e.\u0275inj=xt({providers:[],imports:[[R_,aF]]}),e}();function TO(e,t){1&e&&hr(0,"app-footer-root-container",1),2&e&&q("wwwUrl",j().wwwUrl)}var AO=function(){function e(t){this.elRef=t;var n=this.elRef.nativeElement.getAttribute("wwwurl")||"";this.wwwUrl=n.length?"//"+n+"/":"/",this.isTwoFactorAuthWizard=window.location.href.includes("two-factor-auth-wizard")}return e.\u0275fac=function(n){return new(n||e)(G(kn))},e.\u0275cmp=yo({type:e,selectors:[["footer-root"]],decls:1,vars:1,consts:[[3,"wwwUrl",4,"ngIf"],[3,"wwwUrl"]],template:function(n,r){1&n&&Z(0,TO,1,1,"app-footer-root-container",0),2&n&&q("ngIf",!r.isTwoFactorAuthWizard)},directives:[Sf,SO],encapsulation:2}),e}();function iE(){return"undefined"!=typeof window&&void 0!==window.document}function Gf(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function Kn(e){switch(e.length){case 0:return new Mi;case 1:return e[0];default:return new $_(e)}}function aE(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},o=[],s=[],u=-1,l=null;if(r.forEach(function(f){var d=f.offset,h=d==u,v=h&&l||{};Object.keys(f).forEach(function(p){var y=p,E=f[p];if("offset"!==p)switch(y=t.normalizePropertyName(y,o),E){case"!":E=i[p];break;case Mn:E=a[p];break;default:E=t.normalizeStyleValue(p,y,E,o)}v[y]=E}),h||s.push(v),l=v,u=d}),o.length){var c="\n - ";throw new Error("Unable to animate due to the following errors:".concat(c).concat(o.join(c)))}return s}function qf(e,t,n,r){switch(t){case"start":e.onStart(function(){return r(n&&Qf(n,"start",e))});break;case"done":e.onDone(function(){return r(n&&Qf(n,"done",e))});break;case"destroy":e.onDestroy(function(){return r(n&&Qf(n,"destroy",e))})}}function Qf(e,t,n){var r=n.totalTime,a=zf(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==r?e.totalTime:r,!!n.disabled),o=e._data;return null!=o&&(a._data=o),a}function zf(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,o=arguments.length>6?arguments[6]:void 0;return{element:e,triggerName:t,fromState:n,toState:r,phaseName:i,totalTime:a,disabled:!!o}}function ht(e,t,n){var r;return e instanceof Map?(r=e.get(t))||e.set(t,r=n):(r=e[t])||(r=e[t]=n),r}function oE(e){var t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}var Kf=function(t,n){return!1},Wf=function(t,n){return!1},sE=function(t,n,r){return[]},uE=Gf();(uE||"undefined"!=typeof Element)&&(Kf=iE()?function(t,n){for(;n&&n!==document.documentElement;){if(n===t)return!0;n=n.parentNode||n.host}return!1}:function(t,n){return t.contains(n)},Wf=function(){if(uE||Element.prototype.matches)return function(n,r){return n.matches(r)};var e=Element.prototype,t=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return t?function(n,r){return t.apply(n,[r])}:Wf}(),sE=function(t,n,r){var i=[];if(r)for(var a=t.querySelectorAll(n),o=0;o<a.length;o++)i.push(a[o]);else{var s=t.querySelector(n);s&&i.push(s)}return i});var Cr=null,lE=!1;function $f(e){Cr||(Cr=("undefined"!=typeof document?document.body:null)||{},lE=!!Cr.style&&"WebkitAppearance"in Cr.style);var t=!0;return Cr.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&!(t=e in Cr.style)&&lE&&(t="Webkit"+e.charAt(0).toUpperCase()+e.substr(1)in Cr.style),t}var Yf=Wf,Zf=Kf,Jf=sE;function cE(e){var t={};return Object.keys(e).forEach(function(n){var r=n.replace(/([a-z])([A-Z])/g,"$1-$2");t[r]=e[n]}),t}var fE=function(){var e=function(){function t(){m(this,t)}return g(t,[{key:"validateStyleProperty",value:function(r){return $f(r)}},{key:"matchesElement",value:function(r,i){return Yf(r,i)}},{key:"containsElement",value:function(r,i){return Zf(r,i)}},{key:"query",value:function(r,i,a){return Jf(r,i,a)}},{key:"computeStyle",value:function(r,i,a){return a||""}},{key:"animate",value:function(r,i,a,o,s){return new Mi(a,o)}}]),t}();return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=K({token:e,factory:e.\u0275fac}),e}(),Xf=function(){var e=g(function t(){m(this,t)});return e.NOOP=new fE,e}(),hE="ng-enter",ed="ng-leave",Js="ng-trigger",Xs=".ng-trigger",vE="ng-animating",td=".ng-animating";function Dr(e){if("number"==typeof e)return e;var t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:nd(parseFloat(t[1]),t[2])}function nd(e,t){return"s"===t?1e3*e:e}function eu(e,t,n){return e.hasOwnProperty("duration")?e:function(e,t,n){var i,a=0,o="";if("string"==typeof e){var s=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===s)return t.push('The provided timing value "'.concat(e,'" is invalid.')),{duration:0,delay:0,easing:""};i=nd(parseFloat(s[1]),s[2]);var u=s[3];null!=u&&(a=nd(parseFloat(u),s[4]));var l=s[5];l&&(o=l)}else i=e;if(!n){var c=!1,f=t.length;i<0&&(t.push("Duration values below 0 are not allowed for this animation step."),c=!0),a<0&&(t.push("Delay values below 0 are not allowed for this animation step."),c=!0),c&&t.splice(f,0,'The provided timing value "'.concat(e,'" is invalid.'))}return{duration:i,delay:a,easing:o}}(e,t,n)}function Oi(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).forEach(function(n){t[n]=e[n]}),t}function Wn(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t)for(var r in e)n[r]=e[r];else Oi(e,n);return n}function pE(e,t,n){return n?t+":"+n+";":""}function gE(e){for(var t="",n=0;n<e.style.length;n++){var r=e.style.item(n);t+=pE(0,r,e.style.getPropertyValue(r))}for(var i in e.style)e.style.hasOwnProperty(i)&&!i.startsWith("_")&&(t+=pE(0,xO(i),e.style[i]));e.setAttribute("style",t)}function yn(e,t,n){e.style&&(Object.keys(t).forEach(function(r){var i=id(r);n&&!n.hasOwnProperty(r)&&(n[r]=e.style[i]),e.style[i]=t[r]}),Gf()&&gE(e))}function wr(e,t){e.style&&(Object.keys(t).forEach(function(n){var r=id(n);e.style[r]=""}),Gf()&&gE(e))}function Xa(e){return Array.isArray(e)?1==e.length?e[0]:z_(e):e}var rd=new RegExp("".concat("{{","\\s*(.+?)\\s*").concat("}}"),"g");function mE(e){var t=[];if("string"==typeof e){for(var n;n=rd.exec(e);)t.push(n[1]);rd.lastIndex=0}return t}function tu(e,t,n){var r=e.toString(),i=r.replace(rd,function(a,o){var s=t[o];return t.hasOwnProperty(o)||(n.push("Please provide a value for the animation param ".concat(o)),s=""),s.toString()});return i==r?e:i}function nu(e){for(var t=[],n=e.next();!n.done;)t.push(n.value),n=e.next();return t}var OO=/-+([a-z0-9])/g;function id(e){return e.replace(OO,function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n[1].toUpperCase()})}function xO(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function yE(e,t){return 0===e||0===t}function _E(e,t,n){var r=Object.keys(n);if(r.length&&t.length){var i=t[0],a=[];if(r.forEach(function(u){i.hasOwnProperty(u)||a.push(u),i[u]=n[u]}),a.length)for(var o=function(){var l=t[s];a.forEach(function(c){l[c]=ad(e,c)})},s=1;s<t.length;s++)o()}return t}function vt(e,t,n){switch(t.type){case 7:return e.visitTrigger(t,n);case 0:return e.visitState(t,n);case 1:return e.visitTransition(t,n);case 2:return e.visitSequence(t,n);case 3:return e.visitGroup(t,n);case 4:return e.visitAnimate(t,n);case 5:return e.visitKeyframes(t,n);case 6:return e.visitStyle(t,n);case 8:return e.visitReference(t,n);case 9:return e.visitAnimateChild(t,n);case 10:return e.visitAnimateRef(t,n);case 11:return e.visitQuery(t,n);case 12:return e.visitStagger(t,n);default:throw new Error("Unable to resolve animation metadata node #".concat(t.type))}}function ad(e,t){return window.getComputedStyle(e)[t]}function LO(e,t){var n=[];return"string"==typeof e?e.split(/\s*,\s*/).forEach(function(r){return function(e,t,n){if(":"==e[0]){var r=function(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return function(n,r){return parseFloat(r)>parseFloat(n)};case":decrement":return function(n,r){return parseFloat(r)<parseFloat(n)};default:return t.push('The transition alias value "'.concat(e,'" is not supported')),"* => *"}}(e,n);if("function"==typeof r)return void t.push(r);e=r}var i=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push('The provided transition expression "'.concat(e,'" is not supported')),t;var a=i[1],o=i[2],s=i[3];t.push(EE(a,s)),"<"==o[0]&&!("*"==a&&"*"==s)&&t.push(EE(s,a))}(r,n,t)}):n.push(e),n}var iu=new Set(["true","1"]),au=new Set(["false","0"]);function EE(e,t){var n=iu.has(e)||au.has(e),r=iu.has(t)||au.has(t);return function(i,a){var o="*"==e||e==i,s="*"==t||t==a;return!o&&n&&"boolean"==typeof i&&(o=i?iu.has(e):au.has(e)),!s&&r&&"boolean"==typeof a&&(s=a?iu.has(t):au.has(t)),o&&s}}var jO=new RegExp("s*".concat(":self","s*,?"),"g");function CE(e,t,n){return new HO(e).build(t,n)}var HO=function(){function e(t){m(this,e),this._driver=t}return g(e,[{key:"build",value:function(n,r){var i=new qO(r);return this._resetContextStyleTimingState(i),vt(this,Xa(n),i)}},{key:"_resetContextStyleTimingState",value:function(n){n.currentQuerySelector="",n.collectedStyles={},n.collectedStyles[""]={},n.currentTime=0}},{key:"visitTrigger",value:function(n,r){var i=this,a=r.queryCount=0,o=r.depCount=0,s=[],u=[];return"@"==n.name.charAt(0)&&r.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),n.definitions.forEach(function(l){if(i._resetContextStyleTimingState(r),0==l.type){var c=l,f=c.name;f.toString().split(/\s*,\s*/).forEach(function(h){c.name=h,s.push(i.visitState(c,r))}),c.name=f}else if(1==l.type){var d=i.visitTransition(l,r);a+=d.queryCount,o+=d.depCount,u.push(d)}else r.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:n.name,states:s,transitions:u,queryCount:a,depCount:o,options:null}}},{key:"visitState",value:function(n,r){var i=this.visitStyle(n.styles,r),a=n.options&&n.options.params||null;if(i.containsDynamicStyles){var o=new Set,s=a||{};if(i.styles.forEach(function(l){if(ou(l)){var c=l;Object.keys(c).forEach(function(f){mE(c[f]).forEach(function(d){s.hasOwnProperty(d)||o.add(d)})})}}),o.size){var u=nu(o.values());r.errors.push('state("'.concat(n.name,'", ...) must define default values for all the following style substitutions: ').concat(u.join(", ")))}}return{type:0,name:n.name,style:i,options:a?{params:a}:null}}},{key:"visitTransition",value:function(n,r){r.queryCount=0,r.depCount=0;var i=vt(this,Xa(n.animation),r);return{type:1,matchers:LO(n.expr,r.errors),animation:i,queryCount:r.queryCount,depCount:r.depCount,options:Sr(n.options)}}},{key:"visitSequence",value:function(n,r){var i=this;return{type:2,steps:n.steps.map(function(a){return vt(i,a,r)}),options:Sr(n.options)}}},{key:"visitGroup",value:function(n,r){var i=this,a=r.currentTime,o=0,s=n.steps.map(function(u){r.currentTime=a;var l=vt(i,u,r);return o=Math.max(o,r.currentTime),l});return r.currentTime=o,{type:3,steps:s,options:Sr(n.options)}}},{key:"visitAnimate",value:function(n,r){var i=function(e,t){var n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e)return od(eu(e,t).duration,0,"");var i=e,a=i.split(/\s+/).some(function(s){return"{"==s.charAt(0)&&"{"==s.charAt(1)});if(a){var o=od(0,0,"");return o.dynamic=!0,o.strValue=i,o}return od((n=n||eu(i,t)).duration,n.delay,n.easing)}(n.timings,r.errors);r.currentAnimateTimings=i;var a,o=n.styles?n.styles:Ys({});if(5==o.type)a=this.visitKeyframes(o,r);else{var s=n.styles,u=!1;if(!s){u=!0;var l={};i.easing&&(l.easing=i.easing),s=Ys(l)}r.currentTime+=i.duration+i.delay;var c=this.visitStyle(s,r);c.isEmptyStep=u,a=c}return r.currentAnimateTimings=null,{type:4,timings:i,style:a,options:null}}},{key:"visitStyle",value:function(n,r){var i=this._makeStyleAst(n,r);return this._validateStyleAst(i,r),i}},{key:"_makeStyleAst",value:function(n,r){var i=[];Array.isArray(n.styles)?n.styles.forEach(function(s){"string"==typeof s?s==Mn?i.push(s):r.errors.push("The provided style string value ".concat(s," is not allowed.")):i.push(s)}):i.push(n.styles);var a=!1,o=null;return i.forEach(function(s){if(ou(s)){var u=s,l=u.easing;if(l&&(o=l,delete u.easing),!a)for(var c in u)if(u[c].toString().indexOf("{{")>=0){a=!0;break}}}),{type:6,styles:i,easing:o,offset:n.offset,containsDynamicStyles:a,options:null}}},{key:"_validateStyleAst",value:function(n,r){var i=this,a=r.currentAnimateTimings,o=r.currentTime,s=r.currentTime;a&&s>0&&(s-=a.duration+a.delay),n.styles.forEach(function(u){"string"!=typeof u&&Object.keys(u).forEach(function(l){if(i._driver.validateStyleProperty(l)){var c=r.collectedStyles[r.currentQuerySelector],f=c[l],d=!0;f&&(s!=o&&s>=f.startTime&&o<=f.endTime&&(r.errors.push('The CSS property "'.concat(l,'" that exists between the times of "').concat(f.startTime,'ms" and "').concat(f.endTime,'ms" is also being animated in a parallel animation between the times of "').concat(s,'ms" and "').concat(o,'ms"')),d=!1),s=f.startTime),d&&(c[l]={startTime:s,endTime:o}),r.options&&function(e,t,n){var r=t.params||{},i=mE(e);i.length&&i.forEach(function(a){r.hasOwnProperty(a)||n.push("Unable to resolve the local animation param ".concat(a," in the given list of values"))})}(u[l],r.options,r.errors)}else r.errors.push('The provided animation property "'.concat(l,'" is not a supported CSS property for animations'))})})}},{key:"visitKeyframes",value:function(n,r){var i=this,a={type:5,styles:[],options:null};if(!r.currentAnimateTimings)return r.errors.push("keyframes() must be placed inside of a call to animate()"),a;var s=0,u=[],l=!1,c=!1,f=0,d=n.steps.map(function(b){var D=i._makeStyleAst(b,r),T=null!=D.offset?D.offset:function(e){if("string"==typeof e)return null;var t=null;if(Array.isArray(e))e.forEach(function(r){if(ou(r)&&r.hasOwnProperty("offset")){var i=r;t=parseFloat(i.offset),delete i.offset}});else if(ou(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}return t}(D.styles),P=0;return null!=T&&(s++,P=D.offset=T),c=c||P<0||P>1,l=l||P<f,f=P,u.push(P),D});c&&r.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),l&&r.errors.push("Please ensure that all keyframe offsets are in order");var h=n.steps.length,v=0;s>0&&s<h?r.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==s&&(v=1/(h-1));var p=h-1,y=r.currentTime,E=r.currentAnimateTimings,_=E.duration;return d.forEach(function(b,D){var T=v>0?D==p?1:v*D:u[D],P=T*_;r.currentTime=y+E.delay+P,E.duration=P,i._validateStyleAst(b,r),b.offset=T,a.styles.push(b)}),a}},{key:"visitReference",value:function(n,r){return{type:8,animation:vt(this,Xa(n.animation),r),options:Sr(n.options)}}},{key:"visitAnimateChild",value:function(n,r){return r.depCount++,{type:9,options:Sr(n.options)}}},{key:"visitAnimateRef",value:function(n,r){return{type:10,animation:this.visitReference(n.animation,r),options:Sr(n.options)}}},{key:"visitQuery",value:function(n,r){var i=r.currentQuerySelector,a=n.options||{};r.queryCount++,r.currentQuery=n;var o=function(e){var t=!!e.split(/\s*,\s*/).find(function(n){return":self"==n});return t&&(e=e.replace(jO,"")),e=e.replace(/@\*/g,Xs).replace(/@\w+/g,function(n){return Xs+"-"+n.substr(1)}).replace(/:animating/g,td),[e,t]}(n.selector),s=rt(o,2),u=s[0],l=s[1];r.currentQuerySelector=i.length?i+" "+u:u,ht(r.collectedStyles,r.currentQuerySelector,{});var c=vt(this,Xa(n.animation),r);return r.currentQuery=null,r.currentQuerySelector=i,{type:11,selector:u,limit:a.limit||0,optional:!!a.optional,includeSelf:l,animation:c,originalSelector:n.selector,options:Sr(n.options)}}},{key:"visitStagger",value:function(n,r){r.currentQuery||r.errors.push("stagger() can only be used inside of query()");var i="full"===n.timings?{duration:0,delay:0,easing:"full"}:eu(n.timings,r.errors,!0);return{type:12,animation:vt(this,Xa(n.animation),r),timings:i,options:null}}}]),e}(),qO=g(function e(t){m(this,e),this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null});function ou(e){return!Array.isArray(e)&&"object"==typeof e}function Sr(e){return e?(e=Oi(e)).params&&(e.params=function(e){return e?Oi(e):null}(e.params)):e={},e}function od(e,t,n){return{duration:e,delay:t,easing:n}}function sd(e,t,n,r,i,a){var o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,s=arguments.length>7&&void 0!==arguments[7]&&arguments[7];return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:r,duration:i,delay:a,totalTime:i+a,easing:o,subTimeline:s}}var ud=function(){function e(){m(this,e),this._map=new Map}return g(e,[{key:"consume",value:function(n){var r=this._map.get(n);return r?this._map.delete(n):r=[],r}},{key:"append",value:function(n,r){var i,a=this._map.get(n);a||this._map.set(n,a=[]),(i=a).push.apply(i,xe(r))}},{key:"has",value:function(n){return this._map.has(n)}},{key:"clear",value:function(){this._map.clear()}}]),e}(),$O=new RegExp(":enter","g"),ZO=new RegExp(":leave","g");function wE(e,t,n,r,i){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{},s=arguments.length>7?arguments[7]:void 0,u=arguments.length>8?arguments[8]:void 0,l=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];return(new JO).buildKeyframes(e,t,n,r,i,a,o,s,u,l)}var JO=function(){function e(){m(this,e)}return g(e,[{key:"buildKeyframes",value:function(n,r,i,a,o,s,u,l,c){var f=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];c=c||new ud;var d=new XO(n,r,c,a,o,f,[]);d.options=l,d.currentTimeline.setStyles([s],null,d.errors,l),vt(this,i,d);var h=d.timelines.filter(function(p){return p.containsAnimation()});if(h.length&&Object.keys(u).length){var v=h[h.length-1];v.allowOnlyTimelineStyles()||v.setStyles([u],null,d.errors,l)}return h.length?h.map(function(p){return p.buildKeyframes()}):[sd(r,[],[],[],0,0,"",!1)]}},{key:"visitTrigger",value:function(n,r){}},{key:"visitState",value:function(n,r){}},{key:"visitTransition",value:function(n,r){}},{key:"visitAnimateChild",value:function(n,r){var i=r.subInstructions.consume(r.element);if(i){var a=r.createSubContext(n.options),o=r.currentTimeline.currentTime,s=this._visitSubInstructions(i,a,a.options);o!=s&&r.transformIntoNewTimeline(s)}r.previousNode=n}},{key:"visitAnimateRef",value:function(n,r){var i=r.createSubContext(n.options);i.transformIntoNewTimeline(),this.visitReference(n.animation,i),r.transformIntoNewTimeline(i.currentTimeline.currentTime),r.previousNode=n}},{key:"_visitSubInstructions",value:function(n,r,i){var o=r.currentTimeline.currentTime,s=null!=i.duration?Dr(i.duration):null,u=null!=i.delay?Dr(i.delay):null;return 0!==s&&n.forEach(function(l){var c=r.appendInstructionToTimeline(l,s,u);o=Math.max(o,c.duration+c.delay)}),o}},{key:"visitReference",value:function(n,r){r.updateOptions(n.options,!0),vt(this,n.animation,r),r.previousNode=n}},{key:"visitSequence",value:function(n,r){var i=this,a=r.subContextCount,o=r,s=n.options;if(s&&(s.params||s.delay)&&((o=r.createSubContext(s)).transformIntoNewTimeline(),null!=s.delay)){6==o.previousNode.type&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=su);var u=Dr(s.delay);o.delayNextStep(u)}n.steps.length&&(n.steps.forEach(function(l){return vt(i,l,o)}),o.currentTimeline.applyStylesToKeyframe(),o.subContextCount>a&&o.transformIntoNewTimeline()),r.previousNode=n}},{key:"visitGroup",value:function(n,r){var i=this,a=[],o=r.currentTimeline.currentTime,s=n.options&&n.options.delay?Dr(n.options.delay):0;n.steps.forEach(function(u){var l=r.createSubContext(n.options);s&&l.delayNextStep(s),vt(i,u,l),o=Math.max(o,l.currentTimeline.currentTime),a.push(l.currentTimeline)}),a.forEach(function(u){return r.currentTimeline.mergeTimelineCollectedStyles(u)}),r.transformIntoNewTimeline(o),r.previousNode=n}},{key:"_visitTiming",value:function(n,r){if(n.dynamic){var i=n.strValue;return eu(r.params?tu(i,r.params,r.errors):i,r.errors)}return{duration:n.duration,delay:n.delay,easing:n.easing}}},{key:"visitAnimate",value:function(n,r){var i=r.currentAnimateTimings=this._visitTiming(n.timings,r),a=r.currentTimeline;i.delay&&(r.incrementTime(i.delay),a.snapshotCurrentStyles());var o=n.style;5==o.type?this.visitKeyframes(o,r):(r.incrementTime(i.duration),this.visitStyle(o,r),a.applyStylesToKeyframe()),r.currentAnimateTimings=null,r.previousNode=n}},{key:"visitStyle",value:function(n,r){var i=r.currentTimeline,a=r.currentAnimateTimings;!a&&i.getCurrentStyleProperties().length&&i.forwardFrame();var o=a&&a.easing||n.easing;n.isEmptyStep?i.applyEmptyStep(o):i.setStyles(n.styles,o,r.errors,r.options),r.previousNode=n}},{key:"visitKeyframes",value:function(n,r){var i=r.currentAnimateTimings,a=r.currentTimeline.duration,o=i.duration,u=r.createSubContext().currentTimeline;u.easing=i.easing,n.styles.forEach(function(l){u.forwardTime((l.offset||0)*o),u.setStyles(l.styles,l.easing,r.errors,r.options),u.applyStylesToKeyframe()}),r.currentTimeline.mergeTimelineCollectedStyles(u),r.transformIntoNewTimeline(a+o),r.previousNode=n}},{key:"visitQuery",value:function(n,r){var i=this,a=r.currentTimeline.currentTime,o=n.options||{},s=o.delay?Dr(o.delay):0;s&&(6===r.previousNode.type||0==a&&r.currentTimeline.getCurrentStyleProperties().length)&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=su);var u=a,l=r.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!o.optional,r.errors);r.currentQueryTotal=l.length;var c=null;l.forEach(function(f,d){r.currentQueryIndex=d;var h=r.createSubContext(n.options,f);s&&h.delayNextStep(s),f===r.element&&(c=h.currentTimeline),vt(i,n.animation,h),h.currentTimeline.applyStylesToKeyframe(),u=Math.max(u,h.currentTimeline.currentTime)}),r.currentQueryIndex=0,r.currentQueryTotal=0,r.transformIntoNewTimeline(u),c&&(r.currentTimeline.mergeTimelineCollectedStyles(c),r.currentTimeline.snapshotCurrentStyles()),r.previousNode=n}},{key:"visitStagger",value:function(n,r){var i=r.parentContext,a=r.currentTimeline,o=n.timings,s=Math.abs(o.duration),u=s*(r.currentQueryTotal-1),l=s*r.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=u-l;break;case"full":l=i.currentStaggerTime}var f=r.currentTimeline;l&&f.delayNextStep(l);var d=f.currentTime;vt(this,n.animation,r),r.previousNode=n,i.currentStaggerTime=a.currentTime-d+(a.startTime-i.currentTimeline.startTime)}}]),e}(),su={},XO=function(){function e(t,n,r,i,a,o,s,u){m(this,e),this._driver=t,this.element=n,this.subInstructions=r,this._enterClassName=i,this._leaveClassName=a,this.errors=o,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=su,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=u||new SE(this._driver,n,0),s.push(this.currentTimeline)}return g(e,[{key:"params",get:function(){return this.options.params}},{key:"updateOptions",value:function(n,r){var i=this;if(n){var a=n,o=this.options;null!=a.duration&&(o.duration=Dr(a.duration)),null!=a.delay&&(o.delay=Dr(a.delay));var s=a.params;if(s){var u=o.params;u||(u=this.options.params={}),Object.keys(s).forEach(function(l){(!r||!u.hasOwnProperty(l))&&(u[l]=tu(s[l],u,i.errors))})}}}},{key:"_copyOptions",value:function(){var n={};if(this.options){var r=this.options.params;if(r){var i=n.params={};Object.keys(r).forEach(function(a){i[a]=r[a]})}}return n}},{key:"createSubContext",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0,a=r||this.element,o=new e(this._driver,a,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(a,i||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(n),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}},{key:"transformIntoNewTimeline",value:function(n){return this.previousNode=su,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}},{key:"appendInstructionToTimeline",value:function(n,r,i){var a={duration:null!=r?r:n.duration,delay:this.currentTimeline.currentTime+(null!=i?i:0)+n.delay,easing:""},o=new ex(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,a,n.stretchStartingKeyframe);return this.timelines.push(o),a}},{key:"incrementTime",value:function(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}},{key:"delayNextStep",value:function(n){n>0&&this.currentTimeline.delayNextStep(n)}},{key:"invokeQuery",value:function(n,r,i,a,o,s){var u=[];if(a&&u.push(this.element),n.length>0){n=(n=n.replace($O,"."+this._enterClassName)).replace(ZO,"."+this._leaveClassName);var c=this._driver.query(this.element,n,1!=i);0!==i&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),u.push.apply(u,xe(c))}return!o&&0==u.length&&s.push('`query("'.concat(r,'")` returned zero elements. (Use `query("').concat(r,'", { optional: true })` if you wish to allow this.)')),u}}]),e}(),SE=function(){function e(t,n,r,i){m(this,e),this._driver=t,this.element=n,this.startTime=r,this._elementTimelineStylesLookup=i,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}return g(e,[{key:"containsAnimation",value:function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}},{key:"getCurrentStyleProperties",value:function(){return Object.keys(this._currentKeyframe)}},{key:"currentTime",get:function(){return this.startTime+this.duration}},{key:"delayNextStep",value:function(n){var r=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||r?(this.forwardTime(this.currentTime+n),r&&this.snapshotCurrentStyles()):this.startTime+=n}},{key:"fork",value:function(n,r){return this.applyStylesToKeyframe(),new e(this._driver,n,r||this.currentTime,this._elementTimelineStylesLookup)}},{key:"_loadKeyframe",value:function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}},{key:"forwardFrame",value:function(){this.duration+=1,this._loadKeyframe()}},{key:"forwardTime",value:function(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}},{key:"_updateStyle",value:function(n,r){this._localTimelineStyles[n]=r,this._globalTimelineStyles[n]=r,this._styleSummary[n]={time:this.currentTime,value:r}}},{key:"allowOnlyTimelineStyles",value:function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}},{key:"applyEmptyStep",value:function(n){var r=this;n&&(this._previousKeyframe.easing=n),Object.keys(this._globalTimelineStyles).forEach(function(i){r._backFill[i]=r._globalTimelineStyles[i]||Mn,r._currentKeyframe[i]=Mn}),this._currentEmptyStepKeyframe=this._currentKeyframe}},{key:"setStyles",value:function(n,r,i,a){var o=this;r&&(this._previousKeyframe.easing=r);var s=a&&a.params||{},u=function(e,t){var r,n={};return e.forEach(function(i){"*"===i?(r=r||Object.keys(t)).forEach(function(a){n[a]=Mn}):Wn(i,!1,n)}),n}(n,this._globalTimelineStyles);Object.keys(u).forEach(function(l){var c=tu(u[l],s,i);o._pendingStyles[l]=c,o._localTimelineStyles.hasOwnProperty(l)||(o._backFill[l]=o._globalTimelineStyles.hasOwnProperty(l)?o._globalTimelineStyles[l]:Mn),o._updateStyle(l,c)})}},{key:"applyStylesToKeyframe",value:function(){var n=this,r=this._pendingStyles,i=Object.keys(r);0!=i.length&&(this._pendingStyles={},i.forEach(function(a){n._currentKeyframe[a]=r[a]}),Object.keys(this._localTimelineStyles).forEach(function(a){n._currentKeyframe.hasOwnProperty(a)||(n._currentKeyframe[a]=n._localTimelineStyles[a])}))}},{key:"snapshotCurrentStyles",value:function(){var n=this;Object.keys(this._localTimelineStyles).forEach(function(r){var i=n._localTimelineStyles[r];n._pendingStyles[r]=i,n._updateStyle(r,i)})}},{key:"getFinalKeyframe",value:function(){return this._keyframes.get(this.duration)}},{key:"properties",get:function(){var n=[];for(var r in this._currentKeyframe)n.push(r);return n}},{key:"mergeTimelineCollectedStyles",value:function(n){var r=this;Object.keys(n._styleSummary).forEach(function(i){var a=r._styleSummary[i],o=n._styleSummary[i];(!a||o.time>a.time)&&r._updateStyle(i,o.value)})}},{key:"buildKeyframes",value:function(){var n=this;this.applyStylesToKeyframe();var r=new Set,i=new Set,a=1===this._keyframes.size&&0===this.duration,o=[];this._keyframes.forEach(function(f,d){var h=Wn(f,!0);Object.keys(h).forEach(function(v){var p=h[v];"!"==p?r.add(v):p==Mn&&i.add(v)}),a||(h.offset=d/n.duration),o.push(h)});var s=r.size?nu(r.values()):[],u=i.size?nu(i.values()):[];if(a){var l=o[0],c=Oi(l);l.offset=0,c.offset=1,o=[l,c]}return sd(this.element,o,s,u,this.duration,this.startTime,this.easing,!1)}}]),e}(),ex=function(e){R(n,e);var t=M(n);function n(r,i,a,o,s,u){var l,c=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return m(this,n),(l=t.call(this,r,i,u.delay)).keyframes=a,l.preStyleProps=o,l.postStyleProps=s,l._stretchStartingKeyframe=c,l.timings={duration:u.duration,delay:u.delay,easing:u.easing},l}return g(n,[{key:"containsAnimation",value:function(){return this.keyframes.length>1}},{key:"buildKeyframes",value:function(){var i=this.keyframes,a=this.timings,o=a.delay,s=a.duration,u=a.easing;if(this._stretchStartingKeyframe&&o){var l=[],c=s+o,f=o/c,d=Wn(i[0],!1);d.offset=0,l.push(d);var h=Wn(i[0],!1);h.offset=kE(f),l.push(h);for(var v=i.length-1,p=1;p<=v;p++){var y=Wn(i[p],!1);y.offset=kE((o+y.offset*s)/c),l.push(y)}s=c,o=0,u="",i=l}return sd(this.element,i,this.preStyleProps,this.postStyleProps,s,o,u,!0)}}]),n}(SE);function kE(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=Math.pow(10,t-1);return Math.round(e*n)/n}var ld=g(function e(){m(this,e)}),nx=function(e){R(n,e);var t=M(n);function n(){return m(this,n),t.apply(this,arguments)}return g(n,[{key:"normalizePropertyName",value:function(i,a){return id(i)}},{key:"normalizeStyleValue",value:function(i,a,o,s){var u="",l=o.toString().trim();if(ix[a]&&0!==o&&"0"!==o)if("number"==typeof o)u="px";else{var c=o.match(/^[+-]?[\d\.]+([a-z]*)$/);c&&0==c[1].length&&s.push("Please provide a CSS unit value for ".concat(i,":").concat(o))}return l+u}}]),n}(ld),ix=function(){return e="width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(","),t={},e.forEach(function(n){return t[n]=!0}),t;var e,t}();function TE(e,t,n,r,i,a,o,s,u,l,c,f,d){return{type:0,element:e,triggerName:t,isRemovalTransition:i,fromState:n,fromStyles:a,toState:r,toStyles:o,timelines:s,queriedElements:u,preStyleProps:l,postStyleProps:c,totalTime:f,errors:d}}var cd={},AE=function(){function e(t,n,r){m(this,e),this._triggerName=t,this.ast=n,this._stateStyles=r}return g(e,[{key:"match",value:function(n,r,i,a){return function(e,t,n,r,i){return e.some(function(a){return a(t,n,r,i)})}(this.ast.matchers,n,r,i,a)}},{key:"buildStyles",value:function(n,r,i){var a=this._stateStyles["*"],o=this._stateStyles[n],s=a?a.buildStyles(r,i):{};return o?o.buildStyles(r,i):s}},{key:"build",value:function(n,r,i,a,o,s,u,l,c,f){var d=[],h=this.ast.options&&this.ast.options.params||cd,p=this.buildStyles(i,u&&u.params||cd,d),y=l&&l.params||cd,E=this.buildStyles(a,y,d),_=new Set,b=new Map,D=new Map,T="void"===a,P={params:Object.assign(Object.assign({},h),y)},J=f?[]:wE(n,r,this.ast.animation,o,s,p,E,P,c,d),ee=0;if(J.forEach(function(ye){ee=Math.max(ye.duration+ye.delay,ee)}),d.length)return TE(r,this._triggerName,i,a,T,p,E,[],[],b,D,ee,d);J.forEach(function(ye){var Te=ye.element,pt=ht(b,Te,{});ye.preStyleProps.forEach(function(Be){return pt[Be]=!0});var Mt=ht(D,Te,{});ye.postStyleProps.forEach(function(Be){return Mt[Be]=!0}),Te!==r&&_.add(Te)});var pe=nu(_.values());return TE(r,this._triggerName,i,a,T,p,E,J,pe,b,D,ee)}}]),e}(),sx=function(){function e(t,n,r){m(this,e),this.styles=t,this.defaultParams=n,this.normalizer=r}return g(e,[{key:"buildStyles",value:function(n,r){var i=this,a={},o=Oi(this.defaultParams);return Object.keys(n).forEach(function(s){var u=n[s];null!=u&&(o[s]=u)}),this.styles.styles.forEach(function(s){if("string"!=typeof s){var u=s;Object.keys(u).forEach(function(l){var c=u[l];c.length>1&&(c=tu(c,o,r));var f=i.normalizer.normalizePropertyName(l,r);c=i.normalizer.normalizeStyleValue(l,f,c,r),a[f]=c})}}),a}}]),e}(),lx=function(){function e(t,n,r){var i=this;m(this,e),this.name=t,this.ast=n,this._normalizer=r,this.transitionFactories=[],this.states={},n.states.forEach(function(a){i.states[a.name]=new sx(a.style,a.options&&a.options.params||{},r)}),IE(this.states,"true","1"),IE(this.states,"false","0"),n.transitions.forEach(function(a){i.transitionFactories.push(new AE(t,a,i.states))}),this.fallbackTransition=function(e,t,n){return new AE(e,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(o,s){return!0}],options:null,queryCount:0,depCount:0},t)}(t,this.states)}return g(e,[{key:"containsQueries",get:function(){return this.ast.queryCount>0}},{key:"matchTransition",value:function(n,r,i,a){return this.transitionFactories.find(function(s){return s.match(n,r,i,a)})||null}},{key:"matchStyles",value:function(n,r,i){return this.fallbackTransition.buildStyles(n,r,i)}}]),e}();function IE(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}var fx=new ud,dx=function(){function e(t,n,r){m(this,e),this.bodyNode=t,this._driver=n,this._normalizer=r,this._animations={},this._playersById={},this.players=[]}return g(e,[{key:"register",value:function(n,r){var i=[],a=CE(this._driver,r,i);if(i.length)throw new Error("Unable to build the animation due to the following errors: ".concat(i.join("\n")));this._animations[n]=a}},{key:"_buildPlayer",value:function(n,r,i){var a=n.element,o=aE(this._driver,this._normalizer,a,n.keyframes,r,i);return this._driver.animate(a,o,n.duration,n.delay,n.easing,[],!0)}},{key:"create",value:function(n,r){var u,i=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=[],s=this._animations[n],l=new Map;if(s?(u=wE(this._driver,r,s,hE,ed,{},{},a,fx,o)).forEach(function(d){var h=ht(l,d.element,{});d.postStyleProps.forEach(function(v){return h[v]=null})}):(o.push("The requested animation doesn't exist or has already been destroyed"),u=[]),o.length)throw new Error("Unable to create the animation due to the following errors: ".concat(o.join("\n")));l.forEach(function(d,h){Object.keys(d).forEach(function(v){d[v]=i._driver.computeStyle(h,v,Mn)})});var c=u.map(function(d){var h=l.get(d.element);return i._buildPlayer(d,{},h)}),f=Kn(c);return this._playersById[n]=f,f.onDestroy(function(){return i.destroy(n)}),this.players.push(f),f}},{key:"destroy",value:function(n){var r=this._getPlayer(n);r.destroy(),delete this._playersById[n];var i=this.players.indexOf(r);i>=0&&this.players.splice(i,1)}},{key:"_getPlayer",value:function(n){var r=this._playersById[n];if(!r)throw new Error("Unable to find the timeline player referenced by ".concat(n));return r}},{key:"listen",value:function(n,r,i,a){var o=zf(r,"","","");return qf(this._getPlayer(n),i,o,a),function(){}}},{key:"command",value:function(n,r,i,a){if("register"!=i)if("create"!=i){var s=this._getPlayer(n);switch(i){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(a[0]));break;case"destroy":this.destroy(n)}}else this.create(n,r,a[0]||{});else this.register(n,a[0])}}]),e}(),RE="ng-animate-queued",ME="ng-animate-disabled",PE=".ng-animate-disabled",vx="ng-star-inserted",gx=[],NE={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},mx={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},It="__ng_removed",fd=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";m(this,e),this.namespaceId=n;var r=t&&t.hasOwnProperty("value"),i=r?t.value:t;if(this.value=bx(i),r){var a=Oi(t);delete a.value,this.options=a}else this.options={};this.options.params||(this.options.params={})}return g(e,[{key:"params",get:function(){return this.options.params}},{key:"absorbOptions",value:function(n){var r=n.params;if(r){var i=this.options.params;Object.keys(r).forEach(function(a){null==i[a]&&(i[a]=r[a])})}}}]),e}(),eo="void",dd=new fd(eo),yx=function(){function e(t,n,r){m(this,e),this.id=t,this.hostElement=n,this._engine=r,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Rt(n,this._hostClassName)}return g(e,[{key:"listen",value:function(n,r,i,a){var o=this;if(!this._triggers.hasOwnProperty(r))throw new Error('Unable to listen on the animation trigger event "'.concat(i,'" because the animation trigger "').concat(r,"\" doesn't exist!"));if(null==i||0==i.length)throw new Error('Unable to listen on the animation trigger "'.concat(r,'" because the provided event is undefined!'));if(!function(e){return"start"==e||"done"==e}(i))throw new Error('The provided animation trigger event "'.concat(i,'" for the animation trigger "').concat(r,'" is not supported!'));var s=ht(this._elementListeners,n,[]),u={name:r,phase:i,callback:a};s.push(u);var l=ht(this._engine.statesByElement,n,{});return l.hasOwnProperty(r)||(Rt(n,Js),Rt(n,Js+"-"+r),l[r]=dd),function(){o._engine.afterFlush(function(){var c=s.indexOf(u);c>=0&&s.splice(c,1),o._triggers[r]||delete l[r]})}}},{key:"register",value:function(n,r){return!this._triggers[n]&&(this._triggers[n]=r,!0)}},{key:"_getTrigger",value:function(n){var r=this._triggers[n];if(!r)throw new Error('The provided animation trigger "'.concat(n,'" has not been registered!'));return r}},{key:"trigger",value:function(n,r,i){var a=this,o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],s=this._getTrigger(r),u=new hd(this.id,r,n),l=this._engine.statesByElement.get(n);l||(Rt(n,Js),Rt(n,Js+"-"+r),this._engine.statesByElement.set(n,l={}));var c=l[r],f=new fd(i,this.id),d=i&&i.hasOwnProperty("value");!d&&c&&f.absorbOptions(c.options),l[r]=f,c||(c=dd);var h=f.value===eo;if(h||c.value!==f.value){var E=ht(this._engine.playersByElement,n,[]);E.forEach(function(D){D.namespaceId==a.id&&D.triggerName==r&&D.queued&&D.destroy()});var _=s.matchTransition(c.value,f.value,n,f.params),b=!1;if(!_){if(!o)return;_=s.fallbackTransition,b=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:r,transition:_,fromState:c,toState:f,player:u,isFallbackTransition:b}),b||(Rt(n,RE),u.onStart(function(){xi(n,RE)})),u.onDone(function(){var D=a.players.indexOf(u);D>=0&&a.players.splice(D,1);var T=a._engine.playersByElement.get(n);if(T){var P=T.indexOf(u);P>=0&&T.splice(P,1)}}),this.players.push(u),E.push(u),u}if(!Sx(c.params,f.params)){var v=[],p=s.matchStyles(c.value,c.params,v),y=s.matchStyles(f.value,f.params,v);v.length?this._engine.reportError(v):this._engine.afterFlush(function(){wr(n,p),yn(n,y)})}}},{key:"deregister",value:function(n){var r=this;delete this._triggers[n],this._engine.statesByElement.forEach(function(i,a){delete i[n]}),this._elementListeners.forEach(function(i,a){r._elementListeners.set(a,i.filter(function(o){return o.name!=n}))})}},{key:"clearElementCache",value:function(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);var r=this._engine.playersByElement.get(n);r&&(r.forEach(function(i){return i.destroy()}),this._engine.playersByElement.delete(n))}},{key:"_signalRemovalForInnerTriggers",value:function(n,r){var i=this,a=this._engine.driver.query(n,Xs,!0);a.forEach(function(o){if(!o[It]){var s=i._engine.fetchNamespacesByElement(o);s.size?s.forEach(function(u){return u.triggerLeaveAnimation(o,r,!1,!0)}):i.clearElementCache(o)}}),this._engine.afterFlushAnimationsDone(function(){return a.forEach(function(o){return i.clearElementCache(o)})})}},{key:"triggerLeaveAnimation",value:function(n,r,i,a){var o=this,s=this._engine.statesByElement.get(n);if(s){var u=[];if(Object.keys(s).forEach(function(l){if(o._triggers[l]){var c=o.trigger(n,l,eo,a);c&&u.push(c)}}),u.length)return this._engine.markElementAsRemoved(this.id,n,!0,r),i&&Kn(u).onDone(function(){return o._engine.processLeaveNode(n)}),!0}return!1}},{key:"prepareLeaveAnimationListeners",value:function(n){var r=this,i=this._elementListeners.get(n),a=this._engine.statesByElement.get(n);if(i&&a){var o=new Set;i.forEach(function(s){var u=s.name;if(!o.has(u)){o.add(u);var c=r._triggers[u].fallbackTransition,f=a[u]||dd,d=new fd(eo),h=new hd(r.id,u,n);r._engine.totalQueuedPlayers++,r._queue.push({element:n,triggerName:u,transition:c,fromState:f,toState:d,player:h,isFallbackTransition:!0})}})}}},{key:"removeNode",value:function(n,r){var i=this,a=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,r),!this.triggerLeaveAnimation(n,r,!0)){var o=!1;if(a.totalAnimations){var s=a.players.length?a.playersByQueriedElement.get(n):[];if(s&&s.length)o=!0;else for(var u=n;u=u.parentNode;)if(a.statesByElement.get(u)){o=!0;break}}if(this.prepareLeaveAnimationListeners(n),o)a.markElementAsRemoved(this.id,n,!1,r);else{var c=n[It];(!c||c===NE)&&(a.afterFlush(function(){return i.clearElementCache(n)}),a.destroyInnerAnimations(n),a._onRemovalComplete(n,r))}}}},{key:"insertNode",value:function(n,r){Rt(n,this._hostClassName)}},{key:"drainQueuedTransitions",value:function(n){var r=this,i=[];return this._queue.forEach(function(a){var o=a.player;if(!o.destroyed){var s=a.element,u=r._elementListeners.get(s);u&&u.forEach(function(l){if(l.name==a.triggerName){var c=zf(s,a.triggerName,a.fromState.value,a.toState.value);c._data=n,qf(a.player,l.phase,c,l.callback)}}),o.markedForDestroy?r._engine.afterFlush(function(){o.destroy()}):i.push(a)}}),this._queue=[],i.sort(function(a,o){var s=a.transition.ast.depCount,u=o.transition.ast.depCount;return 0==s||0==u?s-u:r._engine.driver.containsElement(a.element,o.element)?1:-1})}},{key:"destroy",value:function(n){this.players.forEach(function(r){return r.destroy()}),this._signalRemovalForInnerTriggers(this.hostElement,n)}},{key:"elementContainsData",value:function(n){var r=!1;return this._elementListeners.has(n)&&(r=!0),!!this._queue.find(function(i){return i.element===n})||r}}]),e}(),_x=function(){function e(t,n,r){m(this,e),this.bodyNode=t,this.driver=n,this._normalizer=r,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=function(i,a){}}return g(e,[{key:"_onRemovalComplete",value:function(n,r){this.onRemovalComplete(n,r)}},{key:"queuedPlayers",get:function(){var n=[];return this._namespaceList.forEach(function(r){r.players.forEach(function(i){i.queued&&n.push(i)})}),n}},{key:"createNamespace",value:function(n,r){var i=new yx(n,r,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,r)?this._balanceNamespaceList(i,r):(this.newHostElements.set(r,i),this.collectEnterElement(r)),this._namespaceLookup[n]=i}},{key:"_balanceNamespaceList",value:function(n,r){var i=this._namespaceList.length-1;if(i>=0){for(var a=!1,o=i;o>=0;o--)if(this.driver.containsElement(this._namespaceList[o].hostElement,r)){this._namespaceList.splice(o+1,0,n),a=!0;break}a||this._namespaceList.splice(0,0,n)}else this._namespaceList.push(n);return this.namespacesByHostElement.set(r,n),n}},{key:"register",value:function(n,r){var i=this._namespaceLookup[n];return i||(i=this.createNamespace(n,r)),i}},{key:"registerTrigger",value:function(n,r,i){var a=this._namespaceLookup[n];a&&a.register(r,i)&&this.totalAnimations++}},{key:"destroy",value:function(n,r){var i=this;if(n){var a=this._fetchNamespace(n);this.afterFlush(function(){i.namespacesByHostElement.delete(a.hostElement),delete i._namespaceLookup[n];var o=i._namespaceList.indexOf(a);o>=0&&i._namespaceList.splice(o,1)}),this.afterFlushAnimationsDone(function(){return a.destroy(r)})}}},{key:"_fetchNamespace",value:function(n){return this._namespaceLookup[n]}},{key:"fetchNamespacesByElement",value:function(n){var r=new Set,i=this.statesByElement.get(n);if(i)for(var a=Object.keys(i),o=0;o<a.length;o++){var s=i[a[o]].namespaceId;if(s){var u=this._fetchNamespace(s);u&&r.add(u)}}return r}},{key:"trigger",value:function(n,r,i,a){if(uu(r)){var o=this._fetchNamespace(n);if(o)return o.trigger(r,i,a),!0}return!1}},{key:"insertNode",value:function(n,r,i,a){if(uu(r)){var o=r[It];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;var s=this.collectedLeaveElements.indexOf(r);s>=0&&this.collectedLeaveElements.splice(s,1)}if(n){var u=this._fetchNamespace(n);u&&u.insertNode(r,i)}a&&this.collectEnterElement(r)}}},{key:"collectEnterElement",value:function(n){this.collectedEnterElements.push(n)}},{key:"markElementAsDisabled",value:function(n,r){r?this.disabledNodes.has(n)||(this.disabledNodes.add(n),Rt(n,ME)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),xi(n,ME))}},{key:"removeNode",value:function(n,r,i,a){if(uu(r)){var o=n?this._fetchNamespace(n):null;if(o?o.removeNode(r,a):this.markElementAsRemoved(n,r,!1,a),i){var s=this.namespacesByHostElement.get(r);s&&s.id!==n&&s.removeNode(r,a)}}else this._onRemovalComplete(r,a)}},{key:"markElementAsRemoved",value:function(n,r,i,a){this.collectedLeaveElements.push(r),r[It]={namespaceId:n,setForRemoval:a,hasAnimation:i,removedBeforeQueried:!1}}},{key:"listen",value:function(n,r,i,a,o){return uu(r)?this._fetchNamespace(n).listen(r,i,a,o):function(){}}},{key:"_buildInstruction",value:function(n,r,i,a,o){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,i,a,n.fromState.options,n.toState.options,r,o)}},{key:"destroyInnerAnimations",value:function(n){var r=this,i=this.driver.query(n,Xs,!0);i.forEach(function(a){return r.destroyActiveAnimationsForElement(a)}),0!=this.playersByQueriedElement.size&&(i=this.driver.query(n,td,!0)).forEach(function(a){return r.finishActiveQueriedAnimationOnElement(a)})}},{key:"destroyActiveAnimationsForElement",value:function(n){var r=this.playersByElement.get(n);r&&r.forEach(function(i){i.queued?i.markedForDestroy=!0:i.destroy()})}},{key:"finishActiveQueriedAnimationOnElement",value:function(n){var r=this.playersByQueriedElement.get(n);r&&r.forEach(function(i){return i.finish()})}},{key:"whenRenderingDone",value:function(){var n=this;return new Promise(function(r){if(n.players.length)return Kn(n.players).onDone(function(){return r()});r()})}},{key:"processLeaveNode",value:function(n){var r=this,i=n[It];if(i&&i.setForRemoval){if(n[It]=NE,i.namespaceId){this.destroyInnerAnimations(n);var a=this._fetchNamespace(i.namespaceId);a&&a.clearElementCache(n)}this._onRemovalComplete(n,i.setForRemoval)}this.driver.matchesElement(n,PE)&&this.markElementAsDisabled(n,!1),this.driver.query(n,PE,!0).forEach(function(o){r.markElementAsDisabled(o,!1)})}},{key:"flush",value:function(){var n=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,i=[];if(this.newHostElements.size&&(this.newHostElements.forEach(function(d,h){return n._balanceNamespaceList(d,h)}),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var a=0;a<this.collectedEnterElements.length;a++){var o=this.collectedEnterElements[a];Rt(o,vx)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){var s=[];try{i=this._flushAnimations(s,r)}finally{for(var u=0;u<s.length;u++)s[u]()}}else for(var l=0;l<this.collectedLeaveElements.length;l++){var c=this.collectedLeaveElements[l];this.processLeaveNode(c)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(function(d){return d()}),this._flushFns=[],this._whenQuietFns.length){var f=this._whenQuietFns;this._whenQuietFns=[],i.length?Kn(i).onDone(function(){f.forEach(function(d){return d()})}):f.forEach(function(d){return d()})}}},{key:"reportError",value:function(n){throw new Error("Unable to process animations due to the following failed trigger transitions\n ".concat(n.join("\n")))}},{key:"_flushAnimations",value:function(n,r){var i=this,a=new ud,o=[],s=new Map,u=[],l=new Map,c=new Map,f=new Map,d=new Set;this.disabledNodes.forEach(function(A){d.add(A);for(var O=i.driver.query(A,".ng-animate-queued",!0),H=0;H<O.length;H++)d.add(O[H])});var h=this.bodyNode,v=Array.from(this.statesByElement.keys()),p=xE(v,this.collectedEnterElements),y=new Map,E=0;p.forEach(function(A,O){var H=hE+E++;y.set(O,H),A.forEach(function(Me){return Rt(Me,H)})});for(var _=[],b=new Set,D=new Set,T=0;T<this.collectedLeaveElements.length;T++){var P=this.collectedLeaveElements[T],J=P[It];J&&J.setForRemoval&&(_.push(P),b.add(P),J.hasAnimation?this.driver.query(P,".ng-star-inserted",!0).forEach(function(A){return b.add(A)}):D.add(P))}var ee=new Map,pe=xE(v,Array.from(b));pe.forEach(function(A,O){var H=ed+E++;ee.set(O,H),A.forEach(function(Me){return Rt(Me,H)})}),n.push(function(){p.forEach(function(A,O){var H=y.get(O);A.forEach(function(Me){return xi(Me,H)})}),pe.forEach(function(A,O){var H=ee.get(O);A.forEach(function(Me){return xi(Me,H)})}),_.forEach(function(A){i.processLeaveNode(A)})});for(var ye=[],Te=[],pt=this._namespaceList.length-1;pt>=0;pt--)this._namespaceList[pt].drainQueuedTransitions(r).forEach(function(A){var O=A.player,H=A.element;if(ye.push(O),i.collectedEnterElements.length){var Me=H[It];if(Me&&Me.setForMove)return void O.destroy()}var Ar=!h||!i.driver.containsElement(h,H),Li=ee.get(H),gu=y.get(H),Qe=i._buildInstruction(A,a,gu,Li,Ar);if(Qe.errors&&Qe.errors.length)Te.push(Qe);else{if(Ar)return O.onStart(function(){return wr(H,Qe.fromStyles)}),O.onDestroy(function(){return yn(H,Qe.toStyles)}),void o.push(O);if(A.isFallbackTransition)return O.onStart(function(){return wr(H,Qe.fromStyles)}),O.onDestroy(function(){return yn(H,Qe.toStyles)}),void o.push(O);Qe.timelines.forEach(function(rn){return rn.stretchStartingKeyframe=!0}),a.append(H,Qe.timelines),u.push({instruction:Qe,player:O,element:H}),Qe.queriedElements.forEach(function(rn){return ht(l,rn,[]).push(O)}),Qe.preStyleProps.forEach(function(rn,Ir){var mu=Object.keys(rn);if(mu.length){var Rr=c.get(Ir);Rr||c.set(Ir,Rr=new Set),mu.forEach(function(bd){return Rr.add(bd)})}}),Qe.postStyleProps.forEach(function(rn,Ir){var mu=Object.keys(rn),Rr=f.get(Ir);Rr||f.set(Ir,Rr=new Set),mu.forEach(function(bd){return Rr.add(bd)})})}});if(Te.length){var Be=[];Te.forEach(function(A){Be.push("@".concat(A.triggerName," has failed due to:\n")),A.errors.forEach(function(O){return Be.push("- ".concat(O,"\n"))})}),ye.forEach(function(A){return A.destroy()}),this.reportError(Be)}var Pt=new Map,nn=new Map;u.forEach(function(A){var O=A.element;a.has(O)&&(nn.set(O,O),i._beforeAnimationBuild(A.player.namespaceId,A.instruction,Pt))}),o.forEach(function(A){var O=A.element;i._getPreviousPlayers(O,!1,A.namespaceId,A.triggerName,null).forEach(function(Me){ht(Pt,O,[]).push(Me),Me.destroy()})});var kr=_.filter(function(A){return BE(A,c,f)}),Tr=new Map;OE(Tr,this.driver,D,f,Mn).forEach(function(A){BE(A,c,f)&&kr.push(A)});var to=new Map;p.forEach(function(A,O){OE(to,i.driver,new Set(A),c,"!")}),kr.forEach(function(A){var O=Tr.get(A),H=to.get(A);Tr.set(A,Object.assign(Object.assign({},O),H))});var no=[],hu=[],ro={};u.forEach(function(A){var O=A.element,H=A.player,Me=A.instruction;if(a.has(O)){if(d.has(O))return H.onDestroy(function(){return yn(O,Me.toStyles)}),H.disabled=!0,H.overrideTotalTime(Me.totalTime),void o.push(H);var Ar=ro;if(nn.size>1){for(var Li=O,gu=[];Li=Li.parentNode;){var Qe=nn.get(Li);if(Qe){Ar=Qe;break}gu.push(Li)}gu.forEach(function(Ir){return nn.set(Ir,Ar)})}var Ed=i._buildAnimation(H.namespaceId,Me,Pt,s,to,Tr);if(H.setRealPlayer(Ed),Ar===ro)no.push(H);else{var rn=i.playersByElement.get(Ar);rn&&rn.length&&(H.parentPlayer=Kn(rn)),o.push(H)}}else wr(O,Me.fromStyles),H.onDestroy(function(){return yn(O,Me.toStyles)}),hu.push(H),d.has(O)&&o.push(H)}),hu.forEach(function(A){var O=s.get(A.element);if(O&&O.length){var H=Kn(O);A.setRealPlayer(H)}}),o.forEach(function(A){A.parentPlayer?A.syncPlayerEvents(A.parentPlayer):A.destroy()});for(var io=0;io<_.length;io++){var $n=_[io],vu=$n[It];if(xi($n,ed),!vu||!vu.hasAnimation){var Yn=[];if(l.size){var ao=l.get($n);ao&&ao.length&&Yn.push.apply(Yn,xe(ao));for(var pu=this.driver.query($n,td,!0),yd=0;yd<pu.length;yd++){var _d=l.get(pu[yd]);_d&&_d.length&&Yn.push.apply(Yn,xe(_d))}}var ib=Yn.filter(function(A){return!A.destroyed});ib.length?Dx(this,$n,ib):this.processLeaveNode($n)}}return _.length=0,no.forEach(function(A){i.players.push(A),A.onDone(function(){A.destroy();var O=i.players.indexOf(A);i.players.splice(O,1)}),A.play()}),no}},{key:"elementContainsData",value:function(n,r){var i=!1,a=r[It];return a&&a.setForRemoval&&(i=!0),this.playersByElement.has(r)&&(i=!0),this.playersByQueriedElement.has(r)&&(i=!0),this.statesByElement.has(r)&&(i=!0),this._fetchNamespace(n).elementContainsData(r)||i}},{key:"afterFlush",value:function(n){this._flushFns.push(n)}},{key:"afterFlushAnimationsDone",value:function(n){this._whenQuietFns.push(n)}},{key:"_getPreviousPlayers",value:function(n,r,i,a,o){var s=[];if(r){var u=this.playersByQueriedElement.get(n);u&&(s=u)}else{var l=this.playersByElement.get(n);if(l){var c=!o||o==eo;l.forEach(function(f){f.queued||!c&&f.triggerName!=a||s.push(f)})}}return(i||a)&&(s=s.filter(function(f){return!(i&&i!=f.namespaceId||a&&a!=f.triggerName)})),s}},{key:"_beforeAnimationBuild",value:function(n,r,i){var f,a=this,s=r.element,u=r.isRemovalTransition?void 0:n,l=r.isRemovalTransition?void 0:r.triggerName,c=Zn(r.timelines);try{var d=function(){var p=f.value.element,y=p!==s,E=ht(i,p,[]);a._getPreviousPlayers(p,y,u,l,r.toState).forEach(function(b){var D=b.getRealPlayer();D.beforeDestroy&&D.beforeDestroy(),b.destroy(),E.push(b)})};for(c.s();!(f=c.n()).done;)d()}catch(h){c.e(h)}finally{c.f()}wr(s,r.fromStyles)}},{key:"_buildAnimation",value:function(n,r,i,a,o,s){var u=this,l=r.triggerName,c=r.element,f=[],d=new Set,h=new Set,v=r.timelines.map(function(y){var E=y.element;d.add(E);var _=E[It];if(_&&_.removedBeforeQueried)return new Mi(y.duration,y.delay);var b=E!==c,D=function(e){var t=[];return LE(e,t),t}((i.get(E)||gx).map(function(ye){return ye.getRealPlayer()})).filter(function(ye){return!!ye.element&&ye.element===E}),T=o.get(E),P=s.get(E),J=aE(u.driver,u._normalizer,E,y.keyframes,T,P),ee=u._buildPlayer(y,J,D);if(y.subTimeline&&a&&h.add(E),b){var pe=new hd(n,l,E);pe.setRealPlayer(ee),f.push(pe)}return ee});f.forEach(function(y){ht(u.playersByQueriedElement,y.element,[]).push(y),y.onDone(function(){return function(e,t,n){var r;if(e instanceof Map){if(r=e.get(t)){if(r.length){var i=r.indexOf(n);r.splice(i,1)}0==r.length&&e.delete(t)}}else if(r=e[t]){if(r.length){var a=r.indexOf(n);r.splice(a,1)}0==r.length&&delete e[t]}return r}(u.playersByQueriedElement,y.element,y)})}),d.forEach(function(y){return Rt(y,vE)});var p=Kn(v);return p.onDestroy(function(){d.forEach(function(y){return xi(y,vE)}),yn(c,r.toStyles)}),h.forEach(function(y){ht(a,y,[]).push(p)}),p}},{key:"_buildPlayer",value:function(n,r,i){return r.length>0?this.driver.animate(n.element,r,n.duration,n.delay,n.easing,i):new Mi(n.duration,n.delay)}}]),e}(),hd=function(){function e(t,n,r){m(this,e),this.namespaceId=t,this.triggerName=n,this.element=r,this._player=new Mi,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return g(e,[{key:"setRealPlayer",value:function(n){var r=this;this._containsRealPlayer||(this._player=n,Object.keys(this._queuedCallbacks).forEach(function(i){r._queuedCallbacks[i].forEach(function(a){return qf(n,i,void 0,a)})}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}},{key:"getRealPlayer",value:function(){return this._player}},{key:"overrideTotalTime",value:function(n){this.totalTime=n}},{key:"syncPlayerEvents",value:function(n){var r=this,i=this._player;i.triggerCallback&&n.onStart(function(){return i.triggerCallback("start")}),n.onDone(function(){return r.finish()}),n.onDestroy(function(){return r.destroy()})}},{key:"_queueEvent",value:function(n,r){ht(this._queuedCallbacks,n,[]).push(r)}},{key:"onDone",value:function(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)}},{key:"onStart",value:function(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)}},{key:"onDestroy",value:function(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)}},{key:"init",value:function(){this._player.init()}},{key:"hasStarted",value:function(){return!this.queued&&this._player.hasStarted()}},{key:"play",value:function(){!this.queued&&this._player.play()}},{key:"pause",value:function(){!this.queued&&this._player.pause()}},{key:"restart",value:function(){!this.queued&&this._player.restart()}},{key:"finish",value:function(){this._player.finish()}},{key:"destroy",value:function(){this.destroyed=!0,this._player.destroy()}},{key:"reset",value:function(){!this.queued&&this._player.reset()}},{key:"setPosition",value:function(n){this.queued||this._player.setPosition(n)}},{key:"getPosition",value:function(){return this.queued?0:this._player.getPosition()}},{key:"triggerCallback",value:function(n){var r=this._player;r.triggerCallback&&r.triggerCallback(n)}}]),e}();function bx(e){return null!=e?e:null}function uu(e){return e&&1===e.nodeType}function FE(e,t){var n=e.style.display;return e.style.display=null!=t?t:"none",n}function OE(e,t,n,r,i){var a=[];n.forEach(function(u){return a.push(FE(u))});var o=[];r.forEach(function(u,l){var c={};u.forEach(function(f){var d=c[f]=t.computeStyle(l,f,i);(!d||0==d.length)&&(l[It]=mx,o.push(l))}),e.set(l,c)});var s=0;return n.forEach(function(u){return FE(u,a[s++])}),o}function xE(e,t){var n=new Map;if(e.forEach(function(s){return n.set(s,[])}),0==t.length)return n;var i=new Set(t),a=new Map;function o(s){if(!s)return 1;var u=a.get(s);if(u)return u;var l=s.parentNode;return u=n.has(l)?l:i.has(l)?1:o(l),a.set(s,u),u}return t.forEach(function(s){var u=o(s);1!==u&&n.get(u).push(s)}),n}var lu="$$classes";function Rt(e,t){if(e.classList)e.classList.add(t);else{var n=e[lu];n||(n=e[lu]={}),n[t]=!0}}function xi(e,t){if(e.classList)e.classList.remove(t);else{var n=e[lu];n&&delete n[t]}}function Dx(e,t,n){Kn(n).onDone(function(){return e.processLeaveNode(t)})}function LE(e,t){for(var n=0;n<e.length;n++){var r=e[n];r instanceof $_?LE(r.players,t):t.push(r)}}function Sx(e,t){var n=Object.keys(e),r=Object.keys(t);if(n.length!=r.length)return!1;for(var i=0;i<n.length;i++){var a=n[i];if(!t.hasOwnProperty(a)||e[a]!==t[a])return!1}return!0}function BE(e,t,n){var r=n.get(e);if(!r)return!1;var i=t.get(e);return i?r.forEach(function(a){return i.add(a)}):t.set(e,r),n.delete(e),!0}var cu=function(){function e(t,n,r){var i=this;m(this,e),this.bodyNode=t,this._driver=n,this._normalizer=r,this._triggerCache={},this.onRemovalComplete=function(a,o){},this._transitionEngine=new _x(t,n,r),this._timelineEngine=new dx(t,n,r),this._transitionEngine.onRemovalComplete=function(a,o){return i.onRemovalComplete(a,o)}}return g(e,[{key:"registerTrigger",value:function(n,r,i,a,o){var s=n+"-"+a,u=this._triggerCache[s];if(!u){var l=[],c=CE(this._driver,o,l);if(l.length)throw new Error('The animation trigger "'.concat(a,'" has failed to build due to the following errors:\n - ').concat(l.join("\n - ")));u=function(e,t,n){return new lx(e,t,n)}(a,c,this._normalizer),this._triggerCache[s]=u}this._transitionEngine.registerTrigger(r,a,u)}},{key:"register",value:function(n,r){this._transitionEngine.register(n,r)}},{key:"destroy",value:function(n,r){this._transitionEngine.destroy(n,r)}},{key:"onInsert",value:function(n,r,i,a){this._transitionEngine.insertNode(n,r,i,a)}},{key:"onRemove",value:function(n,r,i,a){this._transitionEngine.removeNode(n,r,a||!1,i)}},{key:"disableAnimations",value:function(n,r){this._transitionEngine.markElementAsDisabled(n,r)}},{key:"process",value:function(n,r,i,a){if("@"==i.charAt(0)){var s=rt(oE(i),2);this._timelineEngine.command(s[0],r,s[1],a)}else this._transitionEngine.trigger(n,r,i,a)}},{key:"listen",value:function(n,r,i,a,o){if("@"==i.charAt(0)){var u=rt(oE(i),2);return this._timelineEngine.listen(u[0],r,u[1],o)}return this._transitionEngine.listen(n,r,i,a,o)}},{key:"flush",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;this._transitionEngine.flush(n)}},{key:"players",get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)}},{key:"whenRenderingDone",value:function(){return this._transitionEngine.whenRenderingDone()}}]),e}();function VE(e,t){var n=null,r=null;return Array.isArray(t)&&t.length?(n=vd(t[0]),t.length>1&&(r=vd(t[t.length-1]))):t&&(n=vd(t)),n||r?new kx(e,n,r):null}var kx=function(){var e=function(){function t(n,r,i){m(this,t),this._element=n,this._startStyles=r,this._endStyles=i,this._state=0;var a=t.initialStylesByElement.get(n);a||t.initialStylesByElement.set(n,a={}),this._initialStyles=a}return g(t,[{key:"start",value:function(){this._state<1&&(this._startStyles&&yn(this._element,this._startStyles,this._initialStyles),this._state=1)}},{key:"finish",value:function(){this.start(),this._state<2&&(yn(this._element,this._initialStyles),this._endStyles&&(yn(this._element,this._endStyles),this._endStyles=null),this._state=1)}},{key:"destroy",value:function(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(wr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(wr(this._element,this._endStyles),this._endStyles=null),yn(this._element,this._initialStyles),this._state=3)}}]),t}();return e.initialStylesByElement=new WeakMap,e}();function vd(e){for(var t=null,n=Object.keys(e),r=0;r<n.length;r++){var i=n[r];Tx(i)&&((t=t||{})[i]=e[i])}return t}function Tx(e){return"display"===e||"position"===e}var jE="animation",HE="animationend",Rx=function(){function e(t,n,r,i,a,o,s){var u=this;m(this,e),this._element=t,this._name=n,this._duration=r,this._delay=i,this._easing=a,this._fillMode=o,this._onDoneFn=s,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=function(l){return u._handleCallback(l)}}return g(e,[{key:"apply",value:function(){(function(e,t){var n=gd(e,"").trim();n.length&&(function(e,t){for(var n=0,r=0;r<e.length;r++)","===e.charAt(r)&&n++;return n}(n)+1,t="".concat(n,", ").concat(t)),fu(e,"",t)})(this._element,"".concat(this._duration,"ms ").concat(this._easing," ").concat(this._delay,"ms 1 normal ").concat(this._fillMode," ").concat(this._name)),qE(this._element,this._eventFn,!1),this._startTime=Date.now()}},{key:"pause",value:function(){UE(this._element,this._name,"paused")}},{key:"resume",value:function(){UE(this._element,this._name,"running")}},{key:"setPosition",value:function(n){var r=GE(this._element,this._name);this._position=n*this._duration,fu(this._element,"Delay","-".concat(this._position,"ms"),r)}},{key:"getPosition",value:function(){return this._position}},{key:"_handleCallback",value:function(n){var r=n._ngTestManualTimestamp||Date.now(),i=1e3*parseFloat(n.elapsedTime.toFixed(3));n.animationName==this._name&&Math.max(r-this._startTime,0)>=this._delay&&i>=this._duration&&this.finish()}},{key:"finish",value:function(){this._finished||(this._finished=!0,this._onDoneFn(),qE(this._element,this._eventFn,!0))}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.finish(),function(e,t){var r=gd(e,"").split(","),i=pd(r,t);i>=0&&(r.splice(i,1),fu(e,"",r.join(",")))}(this._element,this._name))}}]),e}();function UE(e,t,n){fu(e,"PlayState",n,GE(e,t))}function GE(e,t){var n=gd(e,"");return n.indexOf(",")>0?pd(n.split(","),t):pd([n],t)}function pd(e,t){for(var n=0;n<e.length;n++)if(e[n].indexOf(t)>=0)return n;return-1}function qE(e,t,n){n?e.removeEventListener(HE,t):e.addEventListener(HE,t)}function fu(e,t,n,r){var i=jE+t;if(null!=r){var a=e.style[i];if(a.length){var o=a.split(",");o[r]=n,n=o.join(",")}}e.style[i]=n}function gd(e,t){return e.style[jE+t]||""}var QE=function(){function e(t,n,r,i,a,o,s,u){m(this,e),this.element=t,this.keyframes=n,this.animationName=r,this._duration=i,this._delay=a,this._finalStyles=s,this._specialStyles=u,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=o||"linear",this.totalTime=i+a,this._buildStyler()}return g(e,[{key:"onStart",value:function(n){this._onStartFns.push(n)}},{key:"onDone",value:function(n){this._onDoneFns.push(n)}},{key:"onDestroy",value:function(n){this._onDestroyFns.push(n)}},{key:"destroy",value:function(){this.init(),!(this._state>=4)&&(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(n){return n()}),this._onDestroyFns=[])}},{key:"_flushDoneFns",value:function(){this._onDoneFns.forEach(function(n){return n()}),this._onDoneFns=[]}},{key:"_flushStartFns",value:function(){this._onStartFns.forEach(function(n){return n()}),this._onStartFns=[]}},{key:"finish",value:function(){this.init(),!(this._state>=3)&&(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}},{key:"setPosition",value:function(n){this._styler.setPosition(n)}},{key:"getPosition",value:function(){return this._styler.getPosition()}},{key:"hasStarted",value:function(){return this._state>=2}},{key:"init",value:function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}},{key:"play",value:function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}},{key:"pause",value:function(){this.init(),this._styler.pause()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"reset",value:function(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}},{key:"_buildStyler",value:function(){var n=this;this._styler=new Rx(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",function(){return n.finish()})}},{key:"triggerCallback",value:function(n){var r="start"==n?this._onStartFns:this._onDoneFns;r.forEach(function(i){return i()}),r.length=0}},{key:"beforeDestroy",value:function(){var n=this;this.init();var r={};if(this.hasStarted()){var i=this._state>=3;Object.keys(this._finalStyles).forEach(function(a){"offset"!=a&&(r[a]=i?n._finalStyles[a]:ad(n.element,a))})}this.currentSnapshot=r}}]),e}(),xx=function(e){R(n,e);var t=M(n);function n(r,i){var a;return m(this,n),(a=t.call(this)).element=r,a._startingStyles={},a.__initialized=!1,a._styles=cE(i),a}return g(n,[{key:"init",value:function(){var i=this;this.__initialized||!this._startingStyles||(this.__initialized=!0,Object.keys(this._styles).forEach(function(a){i._startingStyles[a]=i.element.style[a]}),De(oe(n.prototype),"init",this).call(this))}},{key:"play",value:function(){var i=this;!this._startingStyles||(this.init(),Object.keys(this._styles).forEach(function(a){return i.element.style.setProperty(a,i._styles[a])}),De(oe(n.prototype),"play",this).call(this))}},{key:"destroy",value:function(){var i=this;!this._startingStyles||(Object.keys(this._startingStyles).forEach(function(a){var o=i._startingStyles[a];o?i.element.style.setProperty(a,o):i.element.style.removeProperty(a)}),this._startingStyles=null,De(oe(n.prototype),"destroy",this).call(this))}}]),n}(Mi),Lx="gen_css_kf_",KE=function(){function e(){m(this,e),this._count=0}return g(e,[{key:"validateStyleProperty",value:function(n){return $f(n)}},{key:"matchesElement",value:function(n,r){return Yf(n,r)}},{key:"containsElement",value:function(n,r){return Zf(n,r)}},{key:"query",value:function(n,r,i){return Jf(n,r,i)}},{key:"computeStyle",value:function(n,r,i){return window.getComputedStyle(n)[r]}},{key:"buildKeyframeElement",value:function(n,r,i){i=i.map(function(u){return cE(u)});var a="@keyframes ".concat(r," {\n"),o="";i.forEach(function(u){o=" ";var l=parseFloat(u.offset);a+="".concat(o).concat(100*l,"% {\n"),o+=" ",Object.keys(u).forEach(function(c){var f=u[c];switch(c){case"offset":return;case"easing":return void(f&&(a+="".concat(o,"animation-timing-function: ").concat(f,";\n")));default:return void(a+="".concat(o).concat(c,": ").concat(f,";\n"))}}),a+="".concat(o,"}\n")}),a+="}\n";var s=document.createElement("style");return s.textContent=a,s}},{key:"animate",value:function(n,r,i,a,o){var s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],l=s.filter(function(E){return E instanceof QE}),c={};yE(i,a)&&l.forEach(function(E){var _=E.currentSnapshot;Object.keys(_).forEach(function(b){return c[b]=_[b]})});var f=Vx(r=_E(n,r,c));if(0==i)return new xx(n,f);var d="".concat(Lx).concat(this._count++),h=this.buildKeyframeElement(n,d,r),v=Bx(n);v.appendChild(h);var p=VE(n,r),y=new QE(n,r,d,i,a,o,f,p);return y.onDestroy(function(){return jx(h)}),y}}]),e}();function Bx(e){var t,n=null===(t=e.getRootNode)||void 0===t?void 0:t.call(e);return"undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot?n:document.head}function Vx(e){var t={};return e&&(Array.isArray(e)?e:[e]).forEach(function(r){Object.keys(r).forEach(function(i){"offset"==i||"easing"==i||(t[i]=r[i])})}),t}function jx(e){e.parentNode.removeChild(e)}var $E=function(){function e(t,n,r,i){m(this,e),this.element=t,this.keyframes=n,this.options=r,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}return g(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(n){return n()}),this._onDoneFns=[])}},{key:"init",value:function(){this._buildPlayer(),this._preparePlayerBeforeStart()}},{key:"_buildPlayer",value:function(){var n=this;if(!this._initialized){this._initialized=!0;var r=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,r,this.options),this._finalKeyframe=r.length?r[r.length-1]:{},this.domPlayer.addEventListener("finish",function(){return n._onFinish()})}}},{key:"_preparePlayerBeforeStart",value:function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}},{key:"_triggerWebAnimation",value:function(n,r,i){return n.animate(r,i)}},{key:"onStart",value:function(n){this._onStartFns.push(n)}},{key:"onDone",value:function(n){this._onDoneFns.push(n)}},{key:"onDestroy",value:function(n){this._onDestroyFns.push(n)}},{key:"play",value:function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(function(n){return n()}),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}},{key:"pause",value:function(){this.init(),this.domPlayer.pause()}},{key:"finish",value:function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}},{key:"reset",value:function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"_resetDomPlayerState",value:function(){this.domPlayer&&this.domPlayer.cancel()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"hasStarted",value:function(){return this._started}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(n){return n()}),this._onDestroyFns=[])}},{key:"setPosition",value:function(n){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=n*this.time}},{key:"getPosition",value:function(){return this.domPlayer.currentTime/this.time}},{key:"totalTime",get:function(){return this._delay+this._duration}},{key:"beforeDestroy",value:function(){var n=this,r={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(function(i){"offset"!=i&&(r[i]=n._finished?n._finalKeyframe[i]:ad(n.element,i))}),this.currentSnapshot=r}},{key:"triggerCallback",value:function(n){var r="start"==n?this._onStartFns:this._onDoneFns;r.forEach(function(i){return i()}),r.length=0}}]),e}(),Hx=function(){function e(){m(this,e),this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(YE().toString()),this._cssKeyframesDriver=new KE}return g(e,[{key:"validateStyleProperty",value:function(n){return $f(n)}},{key:"matchesElement",value:function(n,r){return Yf(n,r)}},{key:"containsElement",value:function(n,r){return Zf(n,r)}},{key:"query",value:function(n,r,i){return Jf(n,r,i)}},{key:"computeStyle",value:function(n,r,i){return window.getComputedStyle(n)[r]}},{key:"overrideWebAnimationsSupport",value:function(n){this._isNativeImpl=n}},{key:"animate",value:function(n,r,i,a,o){var s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],u=arguments.length>6?arguments[6]:void 0,l=!u&&!this._isNativeImpl;if(l)return this._cssKeyframesDriver.animate(n,r,i,a,o,s);var c=0==a?"both":"forwards",f={duration:i,delay:a,fill:c};o&&(f.easing=o);var d={},h=s.filter(function(p){return p instanceof $E});yE(i,a)&&h.forEach(function(p){var y=p.currentSnapshot;Object.keys(y).forEach(function(E){return d[E]=y[E]})});var v=VE(n,r=_E(n,r=r.map(function(p){return Wn(p,!1)}),d));return new $E(n,r,f,v)}}]),e}();function YE(){return iE()&&Element.prototype.animate||{}}var Gx=function(){var e=function(t){R(r,t);var n=M(r);function r(i,a){var o;return m(this,r),(o=n.call(this))._nextAnimationId=0,o._renderer=i.createRenderer(a.body,{id:"0",encapsulation:Lt.None,styles:[],data:{animation:[]}}),o}return g(r,[{key:"build",value:function(a){var o=this._nextAnimationId.toString();this._nextAnimationId++;var s=Array.isArray(a)?z_(a):a;return ZE(this._renderer,null,o,"register",[s]),new qx(o,this._renderer)}}]),r}(Q_);return e.\u0275fac=function(n){return new(n||e)(F(gr),F(Le))},e.\u0275prov=K({token:e,factory:e.\u0275fac}),e}(),qx=function(e){R(n,e);var t=M(n);function n(r,i){var a;return m(this,n),(a=t.call(this))._id=r,a._renderer=i,a}return g(n,[{key:"create",value:function(i,a){return new Qx(this._id,i,a||{},this._renderer)}}]),n}(oF),Qx=function(){function e(t,n,r,i){m(this,e),this.id=t,this.element=n,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",r)}return g(e,[{key:"_listen",value:function(n,r){return this._renderer.listen(this.element,"@@".concat(this.id,":").concat(n),r)}},{key:"_command",value:function(n){for(var r=arguments.length,i=new Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];return ZE(this._renderer,this.element,this.id,n,i)}},{key:"onDone",value:function(n){this._listen("done",n)}},{key:"onStart",value:function(n){this._listen("start",n)}},{key:"onDestroy",value:function(n){this._listen("destroy",n)}},{key:"init",value:function(){this._command("init")}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this._command("play"),this._started=!0}},{key:"pause",value:function(){this._command("pause")}},{key:"restart",value:function(){this._command("restart")}},{key:"finish",value:function(){this._command("finish")}},{key:"destroy",value:function(){this._command("destroy")}},{key:"reset",value:function(){this._command("reset"),this._started=!1}},{key:"setPosition",value:function(n){this._command("setPosition",n)}},{key:"getPosition",value:function(){var n,r;return null!==(r=null===(n=this._renderer.engine.players[+this.id])||void 0===n?void 0:n.getPosition())&&void 0!==r?r:0}}]),e}();function ZE(e,t,n,r,i){return e.setProperty(t,"@@".concat(n,":").concat(r),i)}var JE="@.disabled",zx=function(){var e=function(){function t(n,r,i){m(this,t),this.delegate=n,this.engine=r,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),r.onRemovalComplete=function(a,o){o&&o.parentNode(a)&&o.removeChild(a.parentNode,a)}}return g(t,[{key:"createRenderer",value:function(r,i){var a=this,s=this.delegate.createRenderer(r,i);if(!(r&&i&&i.data&&i.data.animation)){var u=this._rendererCache.get(s);return u||(u=new XE("",s,this.engine),this._rendererCache.set(s,u)),u}var l=i.id,c=i.id+"-"+this._currentId;return this._currentId++,this.engine.register(c,r),i.data.animation.forEach(function h(v){Array.isArray(v)?v.forEach(h):a.engine.registerTrigger(l,c,r,v.name,v)}),new Kx(this,c,s,this.engine)}},{key:"begin",value:function(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}},{key:"_scheduleCountTask",value:function(){var r=this;this.promise.then(function(){r._microtaskId++})}},{key:"scheduleListenerCallback",value:function(r,i,a){var o=this;r>=0&&r<this._microtaskId?this._zone.run(function(){return i(a)}):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(function(){o._zone.run(function(){o._animationCallbacksBuffer.forEach(function(s){var u=rt(s,2);(0,u[0])(u[1])}),o._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([i,a]))}},{key:"end",value:function(){var r=this;this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(function(){r._scheduleCountTask(),r.engine.flush(r._microtaskId)}),this.delegate.end&&this.delegate.end()}},{key:"whenRenderingDone",value:function(){return this.engine.whenRenderingDone()}}]),t}();return e.\u0275fac=function(n){return new(n||e)(F(gr),F(cu),F(Oe))},e.\u0275prov=K({token:e,factory:e.\u0275fac}),e}(),XE=function(){function e(t,n,r){m(this,e),this.namespaceId=t,this.delegate=n,this.engine=r,this.destroyNode=this.delegate.destroyNode?function(i){return n.destroyNode(i)}:null}return g(e,[{key:"data",get:function(){return this.delegate.data}},{key:"destroy",value:function(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}},{key:"createElement",value:function(n,r){return this.delegate.createElement(n,r)}},{key:"createComment",value:function(n){return this.delegate.createComment(n)}},{key:"createText",value:function(n){return this.delegate.createText(n)}},{key:"appendChild",value:function(n,r){this.delegate.appendChild(n,r),this.engine.onInsert(this.namespaceId,r,n,!1)}},{key:"insertBefore",value:function(n,r,i){var a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];this.delegate.insertBefore(n,r,i),this.engine.onInsert(this.namespaceId,r,n,a)}},{key:"removeChild",value:function(n,r,i){this.engine.onRemove(this.namespaceId,r,this.delegate,i)}},{key:"selectRootElement",value:function(n,r){return this.delegate.selectRootElement(n,r)}},{key:"parentNode",value:function(n){return this.delegate.parentNode(n)}},{key:"nextSibling",value:function(n){return this.delegate.nextSibling(n)}},{key:"setAttribute",value:function(n,r,i,a){this.delegate.setAttribute(n,r,i,a)}},{key:"removeAttribute",value:function(n,r,i){this.delegate.removeAttribute(n,r,i)}},{key:"addClass",value:function(n,r){this.delegate.addClass(n,r)}},{key:"removeClass",value:function(n,r){this.delegate.removeClass(n,r)}},{key:"setStyle",value:function(n,r,i,a){this.delegate.setStyle(n,r,i,a)}},{key:"removeStyle",value:function(n,r,i){this.delegate.removeStyle(n,r,i)}},{key:"setProperty",value:function(n,r,i){"@"==r.charAt(0)&&r==JE?this.disableAnimations(n,!!i):this.delegate.setProperty(n,r,i)}},{key:"setValue",value:function(n,r){this.delegate.setValue(n,r)}},{key:"listen",value:function(n,r,i){return this.delegate.listen(n,r,i)}},{key:"disableAnimations",value:function(n,r){this.engine.disableAnimations(n,r)}}]),e}(),Kx=function(e){R(n,e);var t=M(n);function n(r,i,a,o){var s;return m(this,n),(s=t.call(this,i,a,o)).factory=r,s.namespaceId=i,s}return g(n,[{key:"setProperty",value:function(i,a,o){"@"==a.charAt(0)?"."==a.charAt(1)&&a==JE?this.disableAnimations(i,o=void 0===o||!!o):this.engine.process(this.namespaceId,i,a.substr(1),o):this.delegate.setProperty(i,a,o)}},{key:"listen",value:function(i,a,o){var s=this;if("@"==a.charAt(0)){var u=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(i),l=a.substr(1),c="";if("@"!=l.charAt(0)){var f=function(e){var t=e.indexOf(".");return[e.substring(0,t),e.substr(t+1)]}(l),d=rt(f,2);l=d[0],c=d[1]}return this.engine.listen(this.namespaceId,u,l,c,function(h){s.factory.scheduleListenerCallback(h._data||-1,o,h)})}return this.delegate.listen(i,a,o)}}]),n}(XE),Yx=function(){var e=function(t){R(r,t);var n=M(r);function r(i,a,o){return m(this,r),n.call(this,i.body,a,o)}return g(r,[{key:"ngOnDestroy",value:function(){this.flush()}}]),r}(cu);return e.\u0275fac=function(n){return new(n||e)(F(Le),F(Xf),F(ld))},e.\u0275prov=K({token:e,factory:e.\u0275fac}),e}(),eb=new ie("AnimationModuleType"),tb=[{provide:Q_,useClass:Gx},{provide:ld,useFactory:function(){return new nx}},{provide:cu,useClass:Yx},{provide:gr,useFactory:function(e,t,n){return new zx(e,t,n)},deps:[$s,cu,Oe]}],nb=[{provide:Xf,useFactory:function(){return"function"==typeof YE()?new Hx:new KE}},{provide:eb,useValue:"BrowserAnimations"}].concat(tb),rb=[{provide:Xf,useClass:fE},{provide:eb,useValue:"NoopAnimations"}].concat(tb),e2=function(){var e=function(){function t(){m(this,t)}return g(t,null,[{key:"withConfig",value:function(r){return{ngModule:t,providers:r.disableAnimations?rb:nb}}}]),t}();return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=bn({type:e}),e.\u0275inj=xt({providers:nb,imports:[Lf]}),e}(),t2=function(){function e(){}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=bn({type:e,bootstrap:[AO]}),e.\u0275inj=xt({providers:[],imports:[[Lf,e2,kO]]}),e}();(function(){if(Ly)throw new Error("Cannot enable prod mode after platform setup.");xy=!1})(),JN().bootstrapModule(t2,{ngZone:"noop"}).catch(function(e){return console.log(e)})}},function(Bi){Bi(Bi.s=37257)}]);
