text: !function(){function e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function t(e){var r="function"==typeof Map?new Map:void 0;return(t=function(e){if(null===e||(t=e,-1===Function.toString.call(t).indexOf("[native code]")))return e;var t;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(e))return r.get(e);r.set(e,i)}function i(){return n(e,arguments,g(this).constructor)}return i.prototype=Object.create(e.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),d(i,e)})(e)}function n(e,t,r){return(n=y()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&d(i,n.prototype),i}).apply(null,arguments)}function r(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=u(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(e){throw e},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 o,s=!0,a=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return s=e.done,e},e:function(e){a=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(a)throw o}}}}function i(e){return function(e){if(Array.isArray(e))return c(e)}(e)||o(e)||u(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 o(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function s(e,t){return l(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var s,a=e[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(u){i=!0,o=u}finally{try{r||null==a.return||a.return()}finally{if(i)throw o}}return n}(e,t)||u(e,t)||a()}function a(){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 u(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}function c(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 l(e){if(Array.isArray(e))return e}function h(e,t,n){return(h="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=g(e)););return e}(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(n):i.value}})(e,t,n||e)}function f(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&&d(e,t)}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e){var t=y();return function(){var n,r=g(e);if(t){var i=g(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return p(this,n)}}function p(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _(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 k(e,t,n){return t&&_(e.prototype,t),n&&_(e,n),e}(window.webpackJsonp=window.webpackJsonp||[]).push([[10],{"/lUL":function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r=n("jtHE"),i=n("lJxs"),o=n("vkgz"),s=n("fXoL"),a=n("4MUX"),u=n("ofXK"),c=n("Faly"),l=function(){var e=function(){function e(t,n,s,a){var u=this;b(this,e),this.gaService=t,this.location=n,this.scrollService=s,this.platformLocation=a,this.urlParser=document.createElement("a"),this.urlSubject=new r.a(1),this.fullPageNavigation=!1,this.currentUrl=this.urlSubject.pipe(Object(i.a)(function(e){return u.stripSlashes(e)})),this.currentPath=this.currentUrl.pipe(Object(i.a)(function(e){return(e.match(/[^?#]*/)||[])[0]}),Object(o.a)(function(e){return u.gaService.locationChanged(e)})),this.urlSubject.next(n.path(!0)),this.location.subscribe(function(e){return u.urlSubject.next(e.url||"")})}return k(e,[{key:"fullPageNavigationNeeded",value:function(){this.fullPageNavigation=!0}},{key:"go",value:function(e){e&&(e=this.stripSlashes(e),/^http/.test(e)?this.goExternal(e):this.fullPageNavigation?(this.scrollService.removeStoredScrollInfo(),this.goExternal(e)):(this.location.go(e),this.urlSubject.next(e)))}},{key:"goExternal",value:function(e){window.location.assign(e)}},{key:"replace",value:function(e){window.location.replace(e)}},{key:"reloadPage",value:function(){window.location.reload()}},{key:"stripSlashes",value:function(e){return e.replace(/^\/+/,"").replace(/\/+(\?|#|$)/,"$1")}},{key:"search",value:function(){var e={},t=this.location.path(),n=t.indexOf("?");if(n>-1)try{t.substr(n+1).split("&").forEach(function(t){var n=t.split("=");n[0]&&(e[decodeURIComponent(n[0])]=n[1]&&decodeURIComponent(n[1]))})}catch(r){}return e}},{key:"setSearch",value:function(e,t){var n=Object.keys(t).reduce(function(e,n){var r=t[n];return void 0===r?e:e+=(e?"&":"?")+"".concat(encodeURIComponent(n),"=").concat(encodeURIComponent(r))},"");this.platformLocation.replaceState({},e,this.platformLocation.pathname+n)}},{key:"handleAnchorClick",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(0!==t||n||r)return!0;var i=e.target;if(i&&"_self"!==i)return!0;if(null!=e.getAttribute("download"))return!0;var o=e.pathname,s=e.search,a=e.hash,u=o+s+a;return this.urlParser.href=u,e.href!==this.urlParser.href||!/\/[^/.]*$/.test(o)||(this.go(u),!1)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(s.Vb(a.a),s.Vb(u.g),s.Vb(c.a),s.Vb(u.q))},e.\u0275prov=s.Ib({token:e,factory:e.\u0275fac}),e}()},"/uUt":function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("7o/Q");function i(e,t){return function(n){return n.lift(new o(e,t))}}var o=function(){function e(t,n){b(this,e),this.compare=t,this.keySelector=n}return k(e,[{key:"call",value:function(e,t){return t.subscribe(new s(e,this.compare,this.keySelector))}}]),e}(),s=function(e){f(n,e);var t=v(n);function n(e,r,i){var o;return b(this,n),(o=t.call(this,e)).keySelector=i,o.hasKey=!1,"function"==typeof r&&(o.compare=r),o}return k(n,[{key:"compare",value:function(e,t){return e===t}},{key:"_next",value:function(e){var t;try{var n=this.keySelector;t=n?n(e):e}catch(i){return this.destination.error(i)}var r=!1;if(this.hasKey)try{r=(0,this.compare)(this.key,t)}catch(i){return this.destination.error(i)}else this.hasKey=!0;r||(this.key=t,this.destination.next(e))}}]),n}(r.a)},0:function(e,t,n){e.exports=n("zUnb")},"05l1":function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("jtHE"),i=n("oB13");function o(e,t,n,o){n&&"function"!=typeof n&&(o=n);var s="function"==typeof n?n:void 0,a=new r.a(e,t,o);return function(e){return Object(i.a)(function(){return a},s)(e)}}},"0EUg":function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("bHdf");function i(){return Object(r.a)(1)}},"1G5W":function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("l7GE"),i=n("ZUHj");function o(e){return function(t){return t.lift(new s(e))}}var s=function(){function e(t){b(this,e),this.notifier=t}return k(e,[{key:"call",value:function(e,t){var n=new a(e),r=Object(i.a)(n,this.notifier);return r&&!n.seenValue?(n.add(r),t.subscribe(n)):n}}]),e}(),a=function(e){f(n,e);var t=v(n);function n(e){var r;return b(this,n),(r=t.call(this,e)).seenValue=!1,r}return k(n,[{key:"notifyNext",value:function(e,t,n,r,i){this.seenValue=!0,this.complete()}},{key:"notifyComplete",value:function(){}}]),n}(r.a)},"2QA8":function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},"2fFW":function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=!1,i={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 r&&console.log("RxJS: Back to a better error behavior. Thank you. <3");r=e},get useDeprecatedSynchronousErrorHandling(){return r}}},"3N8a":function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=function(e){f(n,e);var t=v(n);function n(e,r){var i;return b(this,n),(i=t.call(this,e,r)).scheduler=e,i.work=r,i.pending=!1,i}return k(n,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.closed)return this;this.state=e;var n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(r,this.id,t),this}},{key:"requestAsyncId",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return setInterval(e.flush.bind(e,this),n)}},{key:"recycleAsyncId",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)}},{key:"execute",value:function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}},{key:"_execute",value:function(e,t){var n=!1,r=void 0;try{this.work(e)}catch(i){n=!0,r=!!i&&i||new Error(i)}if(n)return this.unsubscribe(),r}},{key:"_unsubscribe",value:function(){var e=this.id,t=this.scheduler,n=t.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}]),n}(function(e){f(n,e);var t=v(n);function n(e,r){return b(this,n),t.call(this)}return k(n,[{key:"schedule",value:function(e){return this}}]),n}(n("quSY").a))},"3UWI":function(e,t,n){"use strict";n.d(t,"a",function(){return c});var r=n("D0XW"),i=n("l7GE"),o=n("ZUHj"),s=function(){function e(t){b(this,e),this.durationSelector=t}return k(e,[{key:"call",value:function(e,t){return t.subscribe(new a(e,this.durationSelector))}}]),e}(),a=function(e){f(n,e);var t=v(n);function n(e,r){var i;return b(this,n),(i=t.call(this,e)).durationSelector=r,i.hasValue=!1,i}return k(n,[{key:"_next",value:function(e){if(this.value=e,this.hasValue=!0,!this.throttled){var t;try{t=(0,this.durationSelector)(e)}catch(r){return this.destination.error(r)}var n=Object(o.a)(this,t);!n||n.closed?this.clearThrottle():this.add(this.throttled=n)}}},{key:"clearThrottle",value:function(){var e=this.value,t=this.hasValue,n=this.throttled;n&&(this.remove(n),this.throttled=null,n.unsubscribe()),t&&(this.value=null,this.hasValue=!1,this.destination.next(e))}},{key:"notifyNext",value:function(e,t,n,r){this.clearThrottle()}},{key:"notifyComplete",value:function(){this.clearThrottle()}}]),n}(i.a),u=n("PqYM");function c(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.a;return t=function(){return Object(u.a)(e,n)},function(e){return e.lift(new s(t))}}},"3zP6":function(e,t,n){e.exports=n.p+"0-es5.6e3eef8e865af98879e0.worker.js"},"4I5i":function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=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}()},"4MUX":function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("AytR"),i=n("GvZq"),o=n("fXoL"),s=function(){var e=function(){function e(t){b(this,e),this.window=t,this.ga("create",r.a.gaId,"auto")}return k(e,[{key:"locationChanged",value:function(e){this.sendPage(e)}},{key:"sendPage",value:function(e){e!==this.previousUrl&&(this.previousUrl=e,this.ga("set","page","/"+e),this.ga("send","pageview"))}},{key:"sendEvent",value:function(e,t,n,r){this.ga("send","event",e,t,n,r)}},{key:"ga",value:function(){var e=this.window.ga;e&&e.apply(void 0,arguments)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Vb(i.a))},e.\u0275prov=o.Ib({token:e,factory:e.\u0275fac}),e}()},"5+tZ":function(e,t,n){"use strict";n.d(t,"a",function(){return u});var r=n("ZUHj"),i=n("l7GE"),o=n("51Dv"),s=n("lJxs"),a=n("Cfvw");function u(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(u(function(n,r){return Object(a.a)(e(n,r)).pipe(Object(s.a)(function(e,i){return t(n,e,r,i)}))},n))}:("number"==typeof t&&(n=t),function(t){return t.lift(new c(e,n))})}var c=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;b(this,e),this.project=t,this.concurrent=n}return k(e,[{key:"call",value:function(e,t){return t.subscribe(new l(e,this.project,this.concurrent))}}]),e}(),l=function(e){f(n,e);var t=v(n);function n(e,r){var i,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return b(this,n),(i=t.call(this,e)).project=r,i.concurrent=o,i.hasCompleted=!1,i.buffer=[],i.active=0,i.index=0,i}return k(n,[{key:"_next",value:function(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}},{key:"_tryNext",value:function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(t,e,n)}},{key:"_innerSub",value:function(e,t,n){var i=new o.a(this,t,n),s=this.destination;s.add(i);var a=Object(r.a)(this,e,void 0,void 0,i);a!==i&&s.add(a)}},{key:"_complete",value:function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}},{key:"notifyNext",value:function(e,t,n,r,i){this.destination.next(t)}},{key:"notifyComplete",value:function(e){var t=this.buffer;this.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}]),n}(i.a)},"51Dv":function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=function(e){f(n,e);var t=v(n);function n(e,r,i){var o;return b(this,n),(o=t.call(this)).parent=e,o.outerValue=r,o.outerIndex=i,o.index=0,o}return k(n,[{key:"_next",value:function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}},{key:"_error",value:function(e){this.parent.notifyError(e,this),this.unsubscribe()}},{key:"_complete",value:function(){this.parent.notifyComplete(this),this.unsubscribe()}}]),n}(n("7o/Q").a)},"7Hc7":function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r=1,i=Promise.resolve(),o={};function s(e){return e in o&&(delete o[e],!0)}var a=function(e){var t=r++;return o[t]=!0,i.then(function(){return s(t)&&e()}),t},u=function(e){s(e)},c=function(e){f(n,e);var t=v(n);function n(e,r){var i;return b(this,n),(i=t.call(this,e,r)).scheduler=e,i.work=r,i}return k(n,[{key:"requestAsyncId",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==r&&r>0?h(g(n.prototype),"requestAsyncId",this).call(this,e,t,r):(e.actions.push(this),e.scheduled||(e.scheduled=a(e.flush.bind(e,null))))}},{key:"recycleAsyncId",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==r&&r>0||null===r&&this.delay>0)return h(g(n.prototype),"recycleAsyncId",this).call(this,e,t,r);0===e.actions.length&&(u(t),e.scheduled=void 0)}}]),n}(n("3N8a").a),l=new(function(e){f(n,e);var t=v(n);function n(){return b(this,n),t.apply(this,arguments)}return k(n,[{key:"flush",value:function(e){this.active=!0,this.scheduled=void 0;var t,n=this.actions,r=-1,i=n.length;e=e||n.shift();do{if(t=e.execute(e.state,e.delay))break}while(++r<i&&(e=n.shift()));if(this.active=!1,t){for(;++r<i&&(e=n.shift());)e.unsubscribe();throw t}}}]),n}(n("IjjT").a))(c)},"7o/Q":function(e,t,n){"use strict";n.d(t,"a",function(){return c});var r=n("n6bG"),i=n("gRHU"),o=n("quSY"),s=n("2QA8"),a=n("2fFW"),u=n("NJ4a"),c=function(e){f(n,e);var t=v(n);function n(e,r,o){var s;switch(b(this,n),(s=t.call(this)).syncErrorValue=null,s.syncErrorThrown=!1,s.syncErrorThrowable=!1,s.isStopped=!1,arguments.length){case 0:s.destination=i.a;break;case 1:if(!e){s.destination=i.a;break}if("object"==typeof e){e instanceof n?(s.syncErrorThrowable=e.syncErrorThrowable,s.destination=e,e.add(m(s))):(s.syncErrorThrowable=!0,s.destination=new l(m(s),e));break}default:s.syncErrorThrowable=!0,s.destination=new l(m(s),e,r,o)}return s}return k(n,[{key:s.a,value:function(){return this}},{key:"next",value:function(e){this.isStopped||this._next(e)}},{key:"error",value:function(e){this.isStopped||(this.isStopped=!0,this._error(e))}},{key:"complete",value:function(){this.isStopped||(this.isStopped=!0,this._complete())}},{key:"unsubscribe",value:function(){this.closed||(this.isStopped=!0,h(g(n.prototype),"unsubscribe",this).call(this))}},{key:"_next",value:function(e){this.destination.next(e)}},{key:"_error",value:function(e){this.destination.error(e),this.unsubscribe()}},{key:"_complete",value:function(){this.destination.complete(),this.unsubscribe()}},{key:"_unsubscribeAndRecycle",value:function(){var e=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}],[{key:"create",value:function(e,t,r){var i=new n(e,t,r);return i.syncErrorThrowable=!1,i}}]),n}(o.a),l=function(e){f(n,e);var t=v(n);function n(e,o,s,a){var u,c;b(this,n),(u=t.call(this))._parentSubscriber=e;var l=m(u);return Object(r.a)(o)?c=o:o&&(c=o.next,s=o.error,a=o.complete,o!==i.a&&(l=Object.create(o),Object(r.a)(l.unsubscribe)&&u.add(l.unsubscribe.bind(l)),l.unsubscribe=u.unsubscribe.bind(m(u)))),u._context=l,u._next=c,u._error=s,u._complete=a,u}return k(n,[{key:"next",value:function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;a.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}},{key:"error",value:function(e){if(!this.isStopped){var t=this._parentSubscriber,n=a.a.useDeprecatedSynchronousErrorHandling;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):Object(u.a)(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;Object(u.a)(e)}}}},{key:"complete",value:function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var n=function(){return e._complete.call(e._context)};a.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}}},{key:"__tryOrUnsub",value:function(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),a.a.useDeprecatedSynchronousErrorHandling)throw n;Object(u.a)(n)}}},{key:"__tryOrSetError",value:function(e,t,n){if(!a.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(r){return a.a.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0,!0):(Object(u.a)(r),!0)}return!1}},{key:"_unsubscribe",value:function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}]),n}(c)},"8LU1":function(e,t,n){"use strict";n.d(t,"a",function(){return s}),n.d(t,"b",function(){return i}),n.d(t,"c",function(){return a}),n.d(t,"d",function(){return u}),n.d(t,"e",function(){return o});var r=n("fXoL");function i(e){return null!=e&&""+e!="false"}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}(e)?Number(e):t}function s(e){return Array.isArray(e)?e:[e]}function a(e){return null==e?"":"string"==typeof e?e:e+"px"}function u(e){return e instanceof r.l?e.nativeElement:e}},"9ppp":function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=function(){function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e}()},AytR:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r={gaId:"UA-80456300-1",production:!0,mode:"stable"}},Cfvw:function(e,t,n){"use strict";n.d(t,"a",function(){return h});var r=n("HDdC"),i=n("SeVD"),o=n("quSY"),s=n("kJWO"),a=n("jZKg"),u=n("Lhse"),c=n("c2HN"),l=n("I55L");function h(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[s.a]}(e))return function(e,t){return new r.a(function(n){var r=new o.a;return r.add(t.schedule(function(){var i=e[s.a]();r.add(i.subscribe({next:function(e){r.add(t.schedule(function(){return n.next(e)}))},error:function(e){r.add(t.schedule(function(){return n.error(e)}))},complete:function(){r.add(t.schedule(function(){return n.complete()}))}}))})),r})}(e,t);if(Object(c.a)(e))return function(e,t){return new r.a(function(n){var r=new o.a;return r.add(t.schedule(function(){return e.then(function(e){r.add(t.schedule(function(){n.next(e),r.add(t.schedule(function(){return n.complete()}))}))},function(e){r.add(t.schedule(function(){return n.error(e)}))})})),r})}(e,t);if(Object(l.a)(e))return Object(a.a)(e,t);if(function(e){return e&&"function"==typeof e[u.a]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new r.a(function(n){var r,i=new o.a;return i.add(function(){r&&"function"==typeof r.return&&r.return()}),i.add(t.schedule(function(){r=e[u.a](),i.add(t.schedule(function(){if(!n.closed){var e,t;try{var i=r.next();e=i.value,t=i.done}catch(o){return void n.error(o)}t?n.complete():(n.next(e),this.schedule())}}))})),i})}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,t):e instanceof r.a?e:new r.a(Object(i.a)(e))}},D0XW:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("3N8a"),i=new(n("IjjT").a)(r.a)},DH7j:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=Array.isArray||function(e){return e&&"number"==typeof e.length}},EY2u:function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return o});var r=n("HDdC"),i=new r.a(function(e){return e.complete()});function o(e){return e?function(e){return new r.a(function(t){return e.schedule(function(){return t.complete()})})}(e):i}},FKr1:function(e,t,n){"use strict";n.d(t,"a",function(){return j}),n.d(t,"b",function(){return m}),n.d(t,"c",function(){return N}),n.d(t,"d",function(){return R}),n.d(t,"e",function(){return A}),n.d(t,"f",function(){return g}),n.d(t,"g",function(){return _}),n.d(t,"h",function(){return y}),n.d(t,"i",function(){return w});var r=n("fXoL"),i=n("u47x"),o=n("cH1L"),s=new r.P("11.0.0"),a=n("ofXK"),u=n("8LU1"),c=(n("XNiG"),n("HDdC"),n("nLfN")),l=(n("JX91"),n("R1ws"));n("FtGj");var h,d=new r.P("11.0.0"),p=new r.q("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),m=((h=function(){function e(t,n,r){b(this,e),this._hasDoneGlobalChecks=!1,this._document=r,t._applyBodyHighContrastModeCssClasses(),this._sanityChecks=n,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}return k(e,[{key:"_getWindow",value:function(){var e=this._document.defaultView||window;return"object"==typeof e&&e?e:null}},{key:"_checksAreEnabled",value:function(){return Object(r.W)()&&!this._isTestEnv()}},{key:"_isTestEnv",value:function(){var e=this._getWindow();return e&&(e.__karma__||e.jasmine)}},{key:"_checkDoctypeIsDefined",value:function(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype)&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}},{key:"_checkThemeIsPresent",value:function(){if(this._checksAreEnabled()&&!1!==this._sanityChecks&&this._sanityChecks.theme&&this._document.body&&"function"==typeof getComputedStyle){var e=this._document.createElement("div");e.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(e);var t=getComputedStyle(e);t&&"none"!==t.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(e)}}},{key:"_checkCdkVersionMatch",value:function(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&d.full!==s.full&&console.warn("The Angular Material version ("+d.full+") does not match the Angular CDK version ("+s.full+").\nPlease ensure the versions of these two packages exactly match.")}}]),e}()).\u0275mod=r.Kb({type:h}),h.\u0275inj=r.Jb({factory:function(e){return new(e||h)(r.Vb(i.f),r.Vb(p,8),r.Vb(a.d))},imports:[[o.a],o.a]}),h);function y(e){return function(e){f(n,e);var t=v(n);function n(){var e;b(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return(e=t.call.apply(t,[this].concat(i)))._disabled=!1,e}return k(n,[{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=Object(u.b)(e)}}]),n}(e)}function g(e,t){return function(e){f(r,e);var n=v(r);function r(){var e;b(this,r);for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return(e=n.call.apply(n,[this].concat(o))).defaultColor=t,e.color=t,e}return k(r,[{key:"color",get:function(){return this._color},set:function(e){var t=e||this.defaultColor;t!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-"+this._color),t&&this._elementRef.nativeElement.classList.add("mat-"+t),this._color=t)}}]),r}(e)}function _(e){return function(e){f(n,e);var t=v(n);function n(){var e;b(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return(e=t.call.apply(t,[this].concat(i)))._disableRipple=!1,e}return k(n,[{key:"disableRipple",get:function(){return this._disableRipple},set:function(e){this._disableRipple=Object(u.b)(e)}}]),n}(e)}function w(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(e){f(r,e);var n=v(r);function r(){var e;b(this,r);for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return(e=n.call.apply(n,[this].concat(o)))._tabIndex=t,e.defaultTabIndex=t,e}return k(r,[{key:"tabIndex",get:function(){return this.disabled?-1:this._tabIndex},set:function(e){this._tabIndex=null!=e?Object(u.e)(e):this.defaultTabIndex}}]),r}(e)}try{"undefined"!=typeof Intl}catch(D){!1}var S,E,C=function(){function e(t,n,r){b(this,e),this._renderer=t,this.element=n,this.config=r,this.state=3}return k(e,[{key:"fadeOut",value:function(){this._renderer.fadeOutRipple(this)}}]),e}(),O={enterDuration:450,exitDuration:400},x=Object(c.e)({passive:!0}),T=["mousedown","touchstart"],I=["mouseup","mouseleave","touchend","touchcancel"],A=function(){function e(t,n,r,i){b(this,e),this._target=t,this._ngZone=n,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,i.isBrowser&&(this._containerElement=Object(u.d)(r))}return k(e,[{key:"fadeInRipple",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=Object.assign(Object.assign({},O),r.animation);r.centered&&(e=i.left+i.width/2,t=i.top+i.height/2);var s=r.radius||function(e,t,n){var r=Math.max(Math.abs(e-n.left),Math.abs(e-n.right)),i=Math.max(Math.abs(t-n.top),Math.abs(t-n.bottom));return Math.sqrt(r*r+i*i)}(e,t,i),a=e-i.left,u=t-i.top,c=o.enterDuration,l=document.createElement("div");l.classList.add("mat-ripple-element"),l.style.left=a-s+"px",l.style.top=u-s+"px",l.style.height=2*s+"px",l.style.width=2*s+"px",null!=r.color&&(l.style.backgroundColor=r.color),l.style.transitionDuration=c+"ms",this._containerElement.appendChild(l),window.getComputedStyle(l).getPropertyValue("opacity"),l.style.transform="scale(1)";var h=new C(this,l,r);return h.state=0,this._activeRipples.add(h),r.persistent||(this._mostRecentTransientRipple=h),this._runTimeoutOutsideZone(function(){var e=h===n._mostRecentTransientRipple;h.state=1,r.persistent||e&&n._isPointerDown||h.fadeOut()},c),h}},{key:"fadeOutRipple",value:function(e){var t=this._activeRipples.delete(e);if(e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),t){var n=e.element,r=Object.assign(Object.assign({},O),e.config.animation);n.style.transitionDuration=r.exitDuration+"ms",n.style.opacity="0",e.state=2,this._runTimeoutOutsideZone(function(){e.state=3,n.parentNode.removeChild(n)},r.exitDuration)}}},{key:"fadeOutAll",value:function(){this._activeRipples.forEach(function(e){return e.fadeOut()})}},{key:"setupTriggerEvents",value:function(e){var t=Object(u.d)(e);t&&t!==this._triggerElement&&(this._removeTriggerEvents(),this._triggerElement=t,this._registerEvents(T))}},{key:"handleEvent",value:function(e){"mousedown"===e.type?this._onMousedown(e):"touchstart"===e.type?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(I),this._pointerUpEventsRegistered=!0)}},{key:"_onMousedown",value:function(e){var t=Object(i.h)(e),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;this._target.rippleDisabled||t||n||(this._isPointerDown=!0,this.fadeInRipple(e.clientX,e.clientY,this._target.rippleConfig))}},{key:"_onTouchStart",value:function(e){if(!this._target.rippleDisabled){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;for(var t=e.changedTouches,n=0;n<t.length;n++)this.fadeInRipple(t[n].clientX,t[n].clientY,this._target.rippleConfig)}}},{key:"_onPointerUp",value:function(){this._isPointerDown&&(this._isPointerDown=!1,this._activeRipples.forEach(function(e){!e.config.persistent&&(1===e.state||e.config.terminateOnPointerUp&&0===e.state)&&e.fadeOut()}))}},{key:"_runTimeoutOutsideZone",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this._ngZone.runOutsideAngular(function(){return setTimeout(e,t)})}},{key:"_registerEvents",value:function(e){var t=this;this._ngZone.runOutsideAngular(function(){e.forEach(function(e){t._triggerElement.addEventListener(e,t,x)})})}},{key:"_removeTriggerEvents",value:function(){var e=this;this._triggerElement&&(T.forEach(function(t){e._triggerElement.removeEventListener(t,e,x)}),this._pointerUpEventsRegistered&&I.forEach(function(t){e._triggerElement.removeEventListener(t,e,x)}))}}]),e}(),j=new r.q("mat-ripple-global-options"),N=((E=function(){function e(t,n,r,i,o){b(this,e),this._elementRef=t,this._animationMode=o,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=i||{},this._rippleRenderer=new A(this,n,t,r)}return k(e,[{key:"ngOnInit",value:function(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}},{key:"ngOnDestroy",value:function(){this._rippleRenderer._removeTriggerEvents()}},{key:"fadeOutAll",value:function(){this._rippleRenderer.fadeOutAll()}},{key:"_setupTriggerEventsIfEnabled",value:function(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}},{key:"launch",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,t,Object.assign(Object.assign({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),e))}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=e,this._setupTriggerEventsIfEnabled()}},{key:"trigger",get:function(){return this._trigger||this._elementRef.nativeElement},set:function(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}},{key:"rippleConfig",get:function(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}},{key:"rippleDisabled",get:function(){return this.disabled||!!this._globalOptions.disabled}}]),e}()).\u0275fac=function(e){return new(e||E)(r.Mb(r.l),r.Mb(r.z),r.Mb(c.a),r.Mb(j,8),r.Mb(l.a,8))},E.\u0275dir=r.Hb({type:E,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,t){2&e&&r.Eb("mat-ripple-unbounded",t.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),E),R=((S=function e(){b(this,e)}).\u0275mod=r.Kb({type:S}),S.\u0275inj=r.Jb({factory:function(e){return new(e||S)},imports:[[m,c.b],m]}),S)},Faly:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r=n("ofXK"),i=n("XNiG"),o=n("xgIS"),a=n("1G5W"),u=n("Kj3r"),c=n("fXoL"),l=function(){var e=function(){function e(t,n,r,s){var c,l=this;b(this,e),this.document=t,this.platformLocation=n,this.viewportScroller=r,this.location=s,this.onDestroy=new i.a,this.poppedStateScrollPosition=null,this.supportManualScrollRestoration=!!window&&"scrollTo"in window&&"pageXOffset"in window&&(void 0!==(c=Object.getOwnPropertyDescriptor(history,"scrollRestoration")||Object.getOwnPropertyDescriptor(Object.getPrototypeOf(history),"scrollRestoration"))&&!(!c.writable&&!c.set));try{this.storage=window.sessionStorage}catch(f){this.storage={length:0,clear:function(){},getItem:function(){return null},key:function(){return null},removeItem:function(){},setItem:function(){}}}if(Object(o.a)(window,"resize").pipe(Object(a.a)(this.onDestroy)).subscribe(function(){return l._topOffset=null}),Object(o.a)(window,"scroll").pipe(Object(u.a)(250),Object(a.a)(this.onDestroy)).subscribe(function(){return l.updateScrollPositionInHistory()}),Object(o.a)(window,"beforeunload").pipe(Object(a.a)(this.onDestroy)).subscribe(function(){return l.updateScrollLocationHref()}),this.supportManualScrollRestoration){history.scrollRestoration="manual";var h=this.location.subscribe(function(e){"hashchange"===e.type?l.scrollToPosition():(l.removeStoredScrollInfo(),l.poppedStateScrollPosition=e.state?e.state.scrollPosition:null)});this.onDestroy.subscribe(function(){return h.unsubscribe()})}window.location.href!==this.getStoredScrollLocationHref()&&this.removeStoredScrollInfo()}return k(e,[{key:"ngOnDestroy",value:function(){this.onDestroy.next()}},{key:"scroll",value:function(){var e=this.getCurrentHash(),t=e?this.document.getElementById(e):this.topOfPageElement;this.scrollToElement(t)}},{key:"isLocationWithHash",value:function(){return!!this.getCurrentHash()}},{key:"scrollAfterRender",value:function(e){var t=this,n=this.getStoredScrollPosition();n?this.viewportScroller.scrollToPosition(n):this.needToFixScrollPosition()?this.scrollToPosition():this.isLocationWithHash()?setTimeout(function(){return t.scroll()},e):this.scrollToTop()}},{key:"scrollToElement",value:function(e){e&&(e.scrollIntoView(),window&&window.scrollBy&&(window.scrollBy(0,e.getBoundingClientRect().top-this.topOffset),window.pageYOffset<20&&window.scrollBy(0,-window.pageYOffset)))}},{key:"scrollToTop",value:function(){this.scrollToElement(this.topOfPageElement)}},{key:"scrollToPosition",value:function(){this.poppedStateScrollPosition&&(this.viewportScroller.scrollToPosition(this.poppedStateScrollPosition),this.poppedStateScrollPosition=null)}},{key:"updateScrollLocationHref",value:function(){this.storage.setItem("scrollLocationHref",window.location.href)}},{key:"updateScrollPositionInHistory",value:function(){if(this.supportManualScrollRestoration){var e=this.viewportScroller.getScrollPosition();this.location.replaceState(this.location.path(!0),void 0,{scrollPosition:e}),this.storage.setItem("scrollPosition",e.join(","))}}},{key:"getStoredScrollLocationHref",value:function(){return this.storage.getItem("scrollLocationHref")||null}},{key:"getStoredScrollPosition",value:function(){var e=this.storage.getItem("scrollPosition");if(!e)return null;var t=s(e.split(","),2);return[+t[0],+t[1]]}},{key:"removeStoredScrollInfo",value:function(){this.storage.removeItem("scrollLocationHref"),this.storage.removeItem("scrollPosition")}},{key:"needToFixScrollPosition",value:function(){return this.supportManualScrollRestoration&&!!this.poppedStateScrollPosition}},{key:"getCurrentHash",value:function(){return decodeURIComponent(this.platformLocation.hash.replace(/^#/,""))}},{key:"topOffset",get:function(){if(!this._topOffset){var e=this.document.querySelector(".app-toolbar");this._topOffset=(e&&e.clientHeight||0)+16}return this._topOffset}},{key:"topOfPageElement",get:function(){return this._topOfPageElement||(this._topOfPageElement=this.document.getElementById("top-of-page")||this.document.body),this._topOfPageElement}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c.Vb(r.d),c.Vb(r.q),c.Vb(r.r),c.Vb(r.g))},e.\u0275prov=c.Ib({token:e,factory:e.\u0275fac}),e}()},FiGy:function(e,t,n){"use strict";n.d(t,"a",function(){return v});var r=n("ofXK"),i=n("jtHE"),o=n("XNiG"),s=n("xgIS"),a=n("3UWI"),u=n("1G5W"),c=n("/uUt"),l=n("fXoL"),h=n("Faly"),f=function(){function e(t,n){b(this,e),this.element=t,this.index=n,this.top=0}return k(e,[{key:"calculateTop",value:function(e,t){this.top=e+this.element.getBoundingClientRect().top-t}}]),e}(),d=function(){function e(t){b(this,e),this.activeScrollItem=new i.a(1),this.spiedElements=t.map(function(e,t){return new f(e,t)})}return k(e,[{key:"calibrate",value:function(e,t){this.spiedElements.forEach(function(n){return n.calculateTop(e,t)}),this.spiedElements.sort(function(e,t){return t.top-e.top})}},{key:"onScroll",value:function(e,t){var n;e+1>=t?n=this.spiedElements[0]:this.spiedElements.some(function(t){return t.top<=e&&(n=t,!0)}),this.activeScrollItem.next(n||null)}}]),e}(),v=function(){var e=function(){function e(t,n){b(this,e),this.doc=t,this.scrollService=n,this.spiedElementGroups=[],this.onStopListening=new o.a,this.resizeEvents=Object(s.a)(window,"resize").pipe(Object(a.a)(300),Object(u.a)(this.onStopListening)),this.scrollEvents=Object(s.a)(window,"scroll").pipe(Object(a.a)(10),Object(u.a)(this.onStopListening))}return k(e,[{key:"spyOn",value:function(e){var t=this;this.spiedElementGroups.length||(this.resizeEvents.subscribe(function(){return t.onResize()}),this.scrollEvents.subscribe(function(){return t.onScroll()}),this.onResize());var n=this.getScrollTop(),r=this.getTopOffset(),i=this.lastMaxScrollTop,o=new d(e);return o.calibrate(n,r),o.onScroll(n,i),this.spiedElementGroups.push(o),{active:o.activeScrollItem.asObservable().pipe(Object(c.a)()),unspy:function(){return t.unspy(o)}}}},{key:"getContentHeight",value:function(){return this.doc.body.scrollHeight||Number.MAX_SAFE_INTEGER}},{key:"getScrollTop",value:function(){return window&&window.pageYOffset||0}},{key:"getTopOffset",value:function(){return this.scrollService.topOffset+50}},{key:"getViewportHeight",value:function(){return this.doc.body.clientHeight||0}},{key:"onResize",value:function(){var e=this.getContentHeight(),t=this.getViewportHeight(),n=this.getScrollTop(),r=this.getTopOffset();this.lastContentHeight=e,this.lastMaxScrollTop=e-t,this.spiedElementGroups.forEach(function(e){return e.calibrate(n,r)})}},{key:"onScroll",value:function(){this.lastContentHeight!==this.getContentHeight()&&this.onResize();var e=this.getScrollTop(),t=this.lastMaxScrollTop;this.spiedElementGroups.forEach(function(n){return n.onScroll(e,t)})}},{key:"unspy",value:function(e){e.activeScrollItem.complete(),this.spiedElementGroups=this.spiedElementGroups.filter(function(t){return t!==e}),this.spiedElementGroups.length||this.onStopListening.next()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(l.Vb(r.d),l.Vb(h.a))},e.\u0275prov=l.Ib({token:e,factory:e.\u0275fac}),e}()},FtGj:function(e,t,n){"use strict";n.d(t,"a",function(){return p}),n.d(t,"b",function(){return f}),n.d(t,"c",function(){return a}),n.d(t,"d",function(){return i}),n.d(t,"e",function(){return o}),n.d(t,"f",function(){return u}),n.d(t,"g",function(){return c}),n.d(t,"h",function(){return v}),n.d(t,"i",function(){return h}),n.d(t,"j",function(){return s}),n.d(t,"k",function(){return r}),n.d(t,"l",function(){return l}),n.d(t,"m",function(){return m}),n.d(t,"n",function(){return d}),n.d(t,"o",function(){return y});var r=9,i=13,o=27,s=32,a=35,u=36,c=37,l=38,h=39,f=40,d=48,v=57,p=65,m=90;function y(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.length?n.some(function(t){return e[t]}):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}},GU7r:function(e,t,n){"use strict";n.d(t,"a",function(){return l}),n.d(t,"b",function(){return c}),n.d(t,"c",function(){return h});var r=n("8LU1"),i=n("fXoL"),o=n("HDdC"),s=n("XNiG"),a=n("Kj3r"),u=function(){var e=function(){function e(){b(this,e)}return k(e,[{key:"create",value:function(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(i.Ib)({factory:function(){return new e},token:e,providedIn:"root"}),e}(),c=function(){var e=function(){function e(t){b(this,e),this._mutationObserverFactory=t,this._observedElements=new Map}return k(e,[{key:"ngOnDestroy",value:function(){var e=this;this._observedElements.forEach(function(t,n){return e._cleanupObserver(n)})}},{key:"observe",value:function(e){var t=this,n=Object(r.d)(e);return new o.a(function(e){var r=t._observeElement(n).subscribe(e);return function(){r.unsubscribe(),t._unobserveElement(n)}})}},{key:"_observeElement",value:function(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{var t=new s.a,n=this._mutationObserverFactory.create(function(e){return t.next(e)});n&&n.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:n,stream:t,count:1})}return this._observedElements.get(e).stream}},{key:"_unobserveElement",value:function(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}},{key:"_cleanupObserver",value:function(e){if(this._observedElements.has(e)){var t=this._observedElements.get(e),n=t.observer,r=t.stream;n&&n.disconnect(),r.complete(),this._observedElements.delete(e)}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.Vb(u))},e.\u0275prov=Object(i.Ib)({factory:function(){return new e(Object(i.Vb)(u))},token:e,providedIn:"root"}),e}(),l=function(){var e=function(){function e(t,n,r){b(this,e),this._contentObserver=t,this._elementRef=n,this._ngZone=r,this.event=new i.n,this._disabled=!1,this._currentSubscription=null}return k(e,[{key:"ngAfterContentInit",value:function(){this._currentSubscription||this.disabled||this._subscribe()}},{key:"ngOnDestroy",value:function(){this._unsubscribe()}},{key:"_subscribe",value:function(){var e=this;this._unsubscribe();var t=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(function(){e._currentSubscription=(e.debounce?t.pipe(Object(a.a)(e.debounce)):t).subscribe(e.event)})}},{key:"_unsubscribe",value:function(){this._currentSubscription&&this._currentSubscription.unsubscribe()}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=Object(r.b)(e),this._disabled?this._unsubscribe():this._subscribe()}},{key:"debounce",get:function(){return this._debounce},set:function(e){this._debounce=Object(r.e)(e),this._subscribe()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.Mb(c),i.Mb(i.l),i.Mb(i.z))},e.\u0275dir=i.Hb({type:e,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),e}(),h=function(){var e=function e(){b(this,e)};return e.\u0275mod=i.Kb({type:e}),e.\u0275inj=i.Jb({factory:function(t){return new(t||e)},providers:[u]}),e}()},GvZq:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return i});var r=new(n("fXoL").q)("Window");function i(){return window}},GyhO:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("LRne"),i=n("0EUg");function o(){return Object(i.a)()(Object(r.a).apply(void 0,arguments))}},HDdC:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r,i=n("7o/Q"),o=n("2QA8"),s=n("gRHU"),a=n("kJWO"),u=n("KqfI"),c=n("2fFW"),l=((r=function(){function e(t){b(this,e),this._isScalar=!1,t&&(this._subscribe=t)}return k(e,[{key:"lift",value:function(t){var n=new e;return n.source=this,n.operator=t,n}},{key:"subscribe",value:function(e,t,n){var r=this.operator,a=function(e,t,n){if(e){if(e instanceof i.a)return e;if(e[o.a])return e[o.a]()}return e||t||n?new i.a(e,t,n):new i.a(s.a)}(e,t,n);if(a.add(r?r.call(a,this.source):this.source||c.a.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),c.a.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a}},{key:"_trySubscribe",value:function(e){try{return this._subscribe(e)}catch(t){c.a.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){var t=e,n=t.closed,r=t.destination,o=t.isStopped;if(n||o)return!1;e=r&&r instanceof i.a?r:null}return!0}(e)?e.error(t):console.warn(t)}}},{key:"forEach",value:function(e,t){var n=this;return new(t=h(t))(function(t,r){var i;i=n.subscribe(function(t){try{e(t)}catch(n){r(n),i&&i.unsubscribe()}},r,t)})}},{key:"_subscribe",value:function(e){var t=this.source;return t&&t.subscribe(e)}},{key:a.a,value:function(){return this}},{key:"pipe",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?this:((r=t)?1===r.length?r[0]:function(e){return r.reduce(function(e,t){return t(e)},e)}:u.a)(this);var r}},{key:"toPromise",value:function(e){var t=this;return new(e=h(e))(function(e,n){var r;t.subscribe(function(e){return r=e},function(e){return n(e)},function(){return e(r)})})}}]),e}()).create=function(e){return new r(e)},r);function h(e){if(e||(e=c.a.Promise||Promise),!e)throw new Error("no Promise impl found");return e}},I55L:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e}},IjjT:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=function(){var e=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.now;b(this,e),this.SchedulerAction=t,this.now=n}return k(e,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return new this.SchedulerAction(this,e).schedule(n,t)}}]),e}();return e.now=function(){return Date.now()},e}(),i=function(e){f(n,e);var t=v(n);function n(e){var i,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.now;return b(this,n),(i=t.call(this,e,function(){return n.delegate&&n.delegate!==m(i)?n.delegate.now():o()})).actions=[],i.active=!1,i.scheduled=void 0,i}return k(n,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2?arguments[2]:void 0;return n.delegate&&n.delegate!==this?n.delegate.schedule(e,t,r):h(g(n.prototype),"schedule",this).call(this,e,t,r)}},{key:"flush",value:function(e){var t=this.actions;if(this.active)t.push(e);else{var n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}}}]),n}(r)},IzEk:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("7o/Q"),i=n("4I5i"),o=n("EY2u");function s(e){return function(t){return 0===e?Object(o.b)():t.lift(new a(e))}}var a=function(){function e(t){if(b(this,e),this.total=t,this.total<0)throw new i.a}return k(e,[{key:"call",value:function(e,t){return t.subscribe(new u(e,this.total))}}]),e}(),u=function(e){f(n,e);var t=v(n);function n(e,r){var i;return b(this,n),(i=t.call(this,e)).total=r,i.count=0,i}return k(n,[{key:"_next",value:function(e){var t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))}}]),n}(r.a)},JIr8:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("l7GE"),i=n("51Dv"),o=n("ZUHj");function s(e){return function(t){var n=new a(e),r=t.lift(n);return n.caught=r}}var a=function(){function e(t){b(this,e),this.selector=t}return k(e,[{key:"call",value:function(e,t){return t.subscribe(new u(e,this.selector,this.caught))}}]),e}(),u=function(e){f(n,e);var t=v(n);function n(e,r,i){var o;return b(this,n),(o=t.call(this,e)).selector=r,o.caught=i,o}return k(n,[{key:"error",value:function(e){if(!this.isStopped){var t;try{t=this.selector(e,this.caught)}catch(a){return void h(g(n.prototype),"error",this).call(this,a)}this._unsubscribeAndRecycle();var r=new i.a(this,void 0,void 0);this.add(r);var s=Object(o.a)(this,t,void 0,void 0,r);s!==r&&this.add(s)}}}]),n}(r.a)},JX91:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("GyhO"),i=n("z+Ro");function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t[t.length-1];return Object(i.a)(o)?(t.pop(),function(e){return Object(r.a)(t,e,o)}):function(e){return Object(r.a)(t,e)}}},Kj3r:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("7o/Q"),i=n("D0XW");function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.a;return function(n){return n.lift(new s(e,t))}}var s=function(){function e(t,n){b(this,e),this.dueTime=t,this.scheduler=n}return k(e,[{key:"call",value:function(e,t){return t.subscribe(new a(e,this.dueTime,this.scheduler))}}]),e}(),a=function(e){f(n,e);var t=v(n);function n(e,r,i){var o;return b(this,n),(o=t.call(this,e)).dueTime=r,o.scheduler=i,o.debouncedSubscription=null,o.lastValue=null,o.hasValue=!1,o}return k(n,[{key:"_next",value:function(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(u,this.dueTime,this))}},{key:"_complete",value:function(){this.debouncedNext(),this.destination.complete()}},{key:"debouncedNext",value:function(){if(this.clearDebounce(),this.hasValue){var e=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}}},{key:"clearDebounce",value:function(){var e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)}}]),n}(r.a);function u(e){e.debouncedNext()}},KqfI:function(e,t,n){"use strict";function r(){}n.d(t,"a",function(){return r})},LRne:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("z+Ro"),i=n("yCtX"),o=n("jZKg");function s(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var s=t[t.length-1];return Object(r.a)(s)?(t.pop(),Object(o.a)(t,s)):Object(i.a)(t)}},Lhse:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},LwjS:function(e,t,n){"use strict";n.d(t,"a",function(){return p});var r=n("fXoL"),i=n("ofXK");function o(e,t){1&e&&(r.Pb(0),r.Rb(1,"p",2),r.Ac(2,"Searching ..."),r.Qb(),r.Ob())}function a(e,t){if(1&e&&r.Nb(0,"span"),2&e){var n=r.cc().$implicit;r.Db("symbol ",n.type,"")}}function u(e,t){if(1&e){var n=r.Sb();r.Rb(0,"li",9),r.Rb(1,"a",10),r.Yb("click",function(e){r.qc(n);var i=t.$implicit;return r.cc(3).onResultSelected(i,e)}),r.zc(2,a,1,3,"span",11),r.Rb(3,"span"),r.Ac(4),r.Qb(),r.Qb(),r.Qb()}if(2&e){var i=t.$implicit,o=r.cc().$implicit;r.Ab(1),r.ic("href",i.path,r.sc),r.Ab(1),r.hc("ngIf","api"===o.name),r.Ab(1),r.Eb("deprecated-api-item",i.deprecated),r.Ab(1),r.Bc(i.title)}}function c(e,t){if(1&e&&r.Nb(0,"span"),2&e){var n=r.cc().$implicit;r.Db("symbol ",n.type,"")}}function l(e,t){if(1&e){var n=r.Sb();r.Rb(0,"li",9),r.Rb(1,"a",10),r.Yb("click",function(e){r.qc(n);var i=t.$implicit;return r.cc(3).onResultSelected(i,e)}),r.zc(2,c,1,3,"span",11),r.Rb(3,"span"),r.Ac(4),r.Qb(),r.Qb(),r.Qb()}if(2&e){var i=t.$implicit,o=r.cc().$implicit;r.Ab(1),r.ic("href",i.path,r.sc),r.Ab(1),r.hc("ngIf","api"===o.name),r.Ab(1),r.Eb("deprecated-api-item",i.deprecated),r.Ab(1),r.Bc(i.title)}}function h(e,t){if(1&e&&(r.Rb(0,"div",5),r.Rb(1,"h3",6),r.Ac(2),r.Qb(),r.Rb(3,"ul",7),r.zc(4,u,5,5,"li",8),r.Qb(),r.Rb(5,"ul"),r.zc(6,l,5,5,"li",8),r.Qb(),r.Qb()),2&e){var n=t.$implicit;r.Ab(2),r.Dc("",n.name," (",n.pages.length+n.priorityPages.length,")"),r.Ab(2),r.hc("ngForOf",n.priorityPages),r.Ab(2),r.hc("ngForOf",n.pages)}}function f(e,t){if(1&e&&(r.Pb(0),r.Rb(1,"h2",3),r.Ac(2,"Search Results"),r.Qb(),r.zc(3,h,7,4,"div",4),r.Ob()),2&e){var n=r.cc();r.Ab(3),r.hc("ngForOf",n.searchAreas)}}function d(e,t){1&e&&(r.Pb(0),r.Rb(1,"div",5),r.Rb(2,"p",2),r.Ac(3," No results found."),r.Nb(4,"br"),r.Ac(5," Here are a few links that might be helpful in finding what you are looking for: "),r.Qb(),r.Rb(6,"ul",7),r.Rb(7,"li",9),r.Rb(8,"a",12),r.Ac(9,"API reference"),r.Qb(),r.Qb(),r.Rb(10,"li",9),r.Rb(11,"a",13),r.Ac(12,"Resources"),r.Qb(),r.Qb(),r.Rb(13,"li",9),r.Rb(14,"a",14),r.Ac(15,"Glossary"),r.Qb(),r.Qb(),r.Rb(16,"li",9),r.Rb(17,"a",15),r.Ac(18,"Cheat-sheet"),r.Qb(),r.Qb(),r.Rb(19,"li",9),r.Rb(20,"a",16),r.Ac(21,"Angular blog"),r.Qb(),r.Qb(),r.Qb(),r.Qb(),r.Ob())}var v=function(e){return e.InProgress="in-progress",e.ResultsFound="results-found",e.NoResultsFound="no-results-found",e}({}),p=function(){var e=function(){function e(){b(this,e),this.searchResults=null,this.resultSelected=new r.n,this.defaultArea="other",this.searchState=v.InProgress,this.topLevelFolders=["api","cli","guide","start","tutorial"],this.searchAreas=[]}return k(e,[{key:"ngOnChanges",value:function(){this.searchState=null===this.searchResults?v.InProgress:this.searchResults.results.length?v.ResultsFound:v.NoResultsFound,this.searchAreas=this.processSearchResults(this.searchResults)}},{key:"onResultSelected",value:function(e,t){0!==t.button||t.ctrlKey||t.metaKey||this.resultSelected.emit(e)}},{key:"processSearchResults",value:function(e){var t=this;if(!e)return[];var n={};return e.results.forEach(function(e){if(e.title){var r=t.computeAreaName(e)||t.defaultArea;(n[r]=n[r]||[]).push(e)}}),Object.keys(n).sort(function(e,t){return e>t?1:-1}).map(function(e){var t=function(e){var t=[],n=[],r=[];for(e.forEach(function(e){e.deprecated?r.push(e):t.length<5?t.push(e):n.push(e)});t.length<5&&n.length;)t.push(n.shift());for(;t.length<5&&r.length;)t.push(r.shift());return n.sort(m),{priorityPages:t,pages:n,deprecated:r}}(n[e]),r=t.priorityPages,i=t.pages,o=t.deprecated;return{name:e,priorityPages:r,pages:i.concat(o)}})}},{key:"computeAreaName",value:function(e){if(-1!==this.topLevelFolders.indexOf(e.path))return e.path;var t=s(e.path.split("/",2),2),n=t[0];return t[1]&&n}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Gb({type:e,selectors:[["aio-search-results"]],inputs:{searchResults:"searchResults"},outputs:{resultSelected:"resultSelected"},features:[r.yb],decls:4,vars:4,consts:[[1,"search-results",3,"ngSwitch"],[4,"ngSwitchCase"],[1,"no-results"],[1,"visually-hidden"],["class","search-area",4,"ngFor","ngForOf"],[1,"search-area"],[1,"search-section-header"],[1,"priority-pages"],["class","search-page",4,"ngFor","ngForOf"],[1,"search-page"],[1,"search-result-item",3,"href","click"],[3,"class",4,"ngIf"],["href","api",1,"search-result-item"],["href","resources",1,"search-result-item"],["href","guide/glossary",1,"search-result-item"],["href","guide/cheatsheet",1,"search-result-item"],["href","https://blog.angular.io/",1,"search-result-item"]],template:function(e,t){1&e&&(r.Rb(0,"div",0),r.zc(1,o,3,0,"ng-container",1),r.zc(2,f,4,1,"ng-container",1),r.zc(3,d,22,0,"ng-container",1),r.Qb()),2&e&&(r.hc("ngSwitch",t.searchState),r.Ab(1),r.hc("ngSwitchCase","in-progress"),r.Ab(1),r.hc("ngSwitchCase","results-found"),r.Ab(1),r.hc("ngSwitchCase","no-results-found"))},directives:[i.m,i.n,i.j,i.k],encapsulation:2}),e}();function m(e,t){return e.title.toUpperCase()>t.title.toUpperCase()?1:-1}},NFeN:function(e,t,n){"use strict";n.d(t,"a",function(){return U}),n.d(t,"b",function(){return W}),n.d(t,"c",function(){return F});var r=n("fXoL"),o=n("FKr1"),a=n("8LU1"),u=n("ofXK"),c=n("LRne"),l=n("z6cu"),h=n("HDdC"),d=n("DH7j"),p=n("lJxs"),m=n("XoHu"),y=n("Cfvw");function g(e,t){return new h.a(function(n){var r=e.length;if(0!==r)for(var i=new Array(r),o=0,s=0,a=function(a){var u=Object(y.a)(e[a]),c=!1;n.add(u.subscribe({next:function(e){c||(c=!0,s++),i[a]=e},error:function(e){return n.error(e)},complete:function(){++o!==r&&c||(s===r&&n.next(t?t.reduce(function(e,t,n){return e[t]=i[n],e},{}):i),n.complete())}}))},u=0;u<r;u++)a(u);else n.complete()})}var _=n("quSY"),w=n("vkgz"),S=n("JIr8"),E=n("nYR2"),C=n("w1tV"),O=n("IzEk"),x=n("tk/3"),T=n("jhN1"),I=["*"];function A(e){return Error('Unable to find icon with the name "'.concat(e,'"'))}function j(e){return Error("The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was \"".concat(e,'".'))}function N(e){return Error("The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was \"".concat(e,'".'))}var R,D=function e(t,n,r){b(this,e),this.url=t,this.svgText=n,this.options=r},F=((R=function(){function e(t,n,r,i){b(this,e),this._httpClient=t,this._sanitizer=n,this._errorHandler=i,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._defaultFontSetClass="material-icons",this._document=r}return k(e,[{key:"addSvgIcon",value:function(e,t,n){return this.addSvgIconInNamespace("",e,t,n)}},{key:"addSvgIconLiteral",value:function(e,t,n){return this.addSvgIconLiteralInNamespace("",e,t,n)}},{key:"addSvgIconInNamespace",value:function(e,t,n,r){return this._addSvgIconConfig(e,t,new D(n,null,r))}},{key:"addSvgIconLiteralInNamespace",value:function(e,t,n,i){var o=this._sanitizer.sanitize(r.I.HTML,n);if(!o)throw N(n);return this._addSvgIconConfig(e,t,new D("",o,i))}},{key:"addSvgIconSet",value:function(e,t){return this.addSvgIconSetInNamespace("",e,t)}},{key:"addSvgIconSetLiteral",value:function(e,t){return this.addSvgIconSetLiteralInNamespace("",e,t)}},{key:"addSvgIconSetInNamespace",value:function(e,t,n){return this._addSvgIconSetConfig(e,new D(t,null,n))}},{key:"addSvgIconSetLiteralInNamespace",value:function(e,t,n){var i=this._sanitizer.sanitize(r.I.HTML,t);if(!i)throw N(t);return this._addSvgIconSetConfig(e,new D("",i,n))}},{key:"registerFontClassAlias",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;return this._fontCssClassesByAlias.set(e,t),this}},{key:"classNameForFontAlias",value:function(e){return this._fontCssClassesByAlias.get(e)||e}},{key:"setDefaultFontSetClass",value:function(e){return this._defaultFontSetClass=e,this}},{key:"getDefaultFontSetClass",value:function(){return this._defaultFontSetClass}},{key:"getSvgIconFromUrl",value:function(e){var t=this,n=this._sanitizer.sanitize(r.I.RESOURCE_URL,e);if(!n)throw j(e);var i=this._cachedIconsByUrl.get(n);return i?Object(c.a)(P(i)):this._loadSvgIconFromConfig(new D(e,null)).pipe(Object(w.a)(function(e){return t._cachedIconsByUrl.set(n,e)}),Object(p.a)(function(e){return P(e)}))}},{key:"getNamedSvgIcon",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=M(t,e),r=this._svgIconConfigs.get(n);if(r)return this._getSvgFromConfig(r);var i=this._iconSetConfigs.get(t);return i?this._getSvgFromIconSetConfigs(e,i):Object(l.a)(A(n))}},{key:"ngOnDestroy",value:function(){this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}},{key:"_getSvgFromConfig",value:function(e){return e.svgText?Object(c.a)(P(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(Object(p.a)(function(e){return P(e)}))}},{key:"_getSvgFromIconSetConfigs",value:function(e,t){var n=this,o=this._extractIconWithNameFromAnySet(e,t);return o?Object(c.a)(o):function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(1===t.length){var r=t[0];if(Object(d.a)(r))return g(r,null);if(Object(m.a)(r)&&Object.getPrototypeOf(r)===Object.prototype){var o=Object.keys(r);return g(o.map(function(e){return r[e]}),o)}}if("function"==typeof t[t.length-1]){var s=t.pop();return g(t=1===t.length&&Object(d.a)(t[0])?t[0]:t,null).pipe(Object(p.a)(function(e){return s.apply(void 0,i(e))}))}return g(t,null)}(t.filter(function(e){return!e.svgText}).map(function(e){return n._loadSvgIconSetFromConfig(e).pipe(Object(S.a)(function(t){var i=n._sanitizer.sanitize(r.I.RESOURCE_URL,e.url);return n._errorHandler.handleError(new Error("Loading icon set URL: ".concat(i," failed: ").concat(t.message))),Object(c.a)(null)}))})).pipe(Object(p.a)(function(){var r=n._extractIconWithNameFromAnySet(e,t);if(!r)throw A(e);return r}))}},{key:"_extractIconWithNameFromAnySet",value:function(e,t){for(var n=t.length-1;n>=0;n--){var r=t[n];if(r.svgText&&r.svgText.indexOf(e)>-1){var i=this._svgElementFromConfig(r),o=this._extractSvgIconFromSet(i,e,r.options);if(o)return o}}return null}},{key:"_loadSvgIconFromConfig",value:function(e){var t=this;return this._fetchIcon(e).pipe(Object(w.a)(function(t){return e.svgText=t}),Object(p.a)(function(){return t._svgElementFromConfig(e)}))}},{key:"_loadSvgIconSetFromConfig",value:function(e){return e.svgText?Object(c.a)(null):this._fetchIcon(e).pipe(Object(w.a)(function(t){return e.svgText=t}))}},{key:"_extractSvgIconFromSet",value:function(e,t,n){var r=e.querySelector('[id="'.concat(t,'"]'));if(!r)return null;var i=r.cloneNode(!0);if(i.removeAttribute("id"),"svg"===i.nodeName.toLowerCase())return this._setSvgAttributes(i,n);if("symbol"===i.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(i),n);var o=this._svgElementFromString("<svg></svg>");return o.appendChild(i),this._setSvgAttributes(o,n)}},{key:"_svgElementFromString",value:function(e){var t=this._document.createElement("DIV");t.innerHTML=e;var n=t.querySelector("svg");if(!n)throw Error("<svg> tag not found");return n}},{key:"_toSvgElement",value:function(e){for(var t=this._svgElementFromString("<svg></svg>"),n=e.attributes,r=0;r<n.length;r++){var i=n[r],o=i.name,s=i.value;"id"!==o&&t.setAttribute(o,s)}for(var a=0;a<e.childNodes.length;a++)e.childNodes[a].nodeType===this._document.ELEMENT_NODE&&t.appendChild(e.childNodes[a].cloneNode(!0));return t}},{key:"_setSvgAttributes",value:function(e,t){return e.setAttribute("fit",""),e.setAttribute("height","100%"),e.setAttribute("width","100%"),e.setAttribute("preserveAspectRatio","xMidYMid meet"),e.setAttribute("focusable","false"),t&&t.viewBox&&e.setAttribute("viewBox",t.viewBox),e}},{key:"_fetchIcon",value:function(e){var t,n=this,i=e.url,o=e.options,s=null!==(t=null==o?void 0:o.withCredentials)&&void 0!==t&&t;if(!this._httpClient)throw Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.");if(null==i)throw Error('Cannot fetch icon from URL "'.concat(i,'".'));var a=this._sanitizer.sanitize(r.I.RESOURCE_URL,i);if(!a)throw j(i);var u=this._inProgressUrlFetches.get(a);if(u)return u;var c=this._httpClient.get(a,{responseType:"text",withCredentials:s}).pipe(Object(E.a)(function(){return n._inProgressUrlFetches.delete(a)}),Object(C.a)());return this._inProgressUrlFetches.set(a,c),c}},{key:"_addSvgIconConfig",value:function(e,t,n){return this._svgIconConfigs.set(M(e,t),n),this}},{key:"_addSvgIconSetConfig",value:function(e,t){var n=this._iconSetConfigs.get(e);return n?n.push(t):this._iconSetConfigs.set(e,[t]),this}},{key:"_svgElementFromConfig",value:function(e){if(!e.svgElement){var t=this._svgElementFromString(e.svgText);this._setSvgAttributes(t,e.options),e.svgElement=t}return e.svgElement}}]),e}()).\u0275fac=function(e){return new(e||R)(r.Vb(x.a,8),r.Vb(T.b),r.Vb(u.d,8),r.Vb(r.m))},R.\u0275prov=Object(r.Ib)({factory:function(){return new R(Object(r.Vb)(x.a,8),Object(r.Vb)(T.b),Object(r.Vb)(u.d,8),Object(r.Vb)(r.m))},token:R,providedIn:"root"}),R);function P(e){return e.cloneNode(!0)}function M(e,t){return e+":"+t}var L,V,H=Object(o.f)(function e(t){b(this,e),this._elementRef=t}),z=new r.q("mat-icon-location",{providedIn:"root",factory:function(){var e=Object(r.V)(u.d),t=e?e.location:null;return{getPathname:function(){return t?t.pathname+t.search:""}}}}),B=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],q=B.map(function(e){return"[".concat(e,"]")}).join(", "),Q=/^url\(['"]?#(.*?)['"]?\)$/,U=((V=function(e){f(n,e);var t=v(n);function n(e,r,i,o,s){var a;return b(this,n),(a=t.call(this,e))._iconRegistry=r,a._location=o,a._errorHandler=s,a._inline=!1,a._currentIconFetch=_.a.EMPTY,i||e.nativeElement.setAttribute("aria-hidden","true"),a}return k(n,[{key:"_splitIconName",value:function(e){if(!e)return["",""];var t=e.split(":");switch(t.length){case 1:return["",t[0]];case 2:return t;default:throw Error('Invalid icon name: "'.concat(e,'"'))}}},{key:"ngOnInit",value:function(){this._updateFontIconClasses()}},{key:"ngAfterViewChecked",value:function(){var e=this._elementsWithExternalReferences;if(e&&e.size){var t=this._location.getPathname();t!==this._previousPath&&(this._previousPath=t,this._prependPathToReferences(t))}}},{key:"ngOnDestroy",value:function(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}},{key:"_usingFontIcon",value:function(){return!this.svgIcon}},{key:"_setSvgElement",value:function(e){this._clearSvgElement();for(var t=e.querySelectorAll("style"),n=0;n<t.length;n++)t[n].textContent+=" ";var r=this._location.getPathname();this._previousPath=r,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(r),this._elementRef.nativeElement.appendChild(e)}},{key:"_clearSvgElement",value:function(){var e=this._elementRef.nativeElement,t=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();t--;){var n=e.childNodes[t];1===n.nodeType&&"svg"!==n.nodeName.toLowerCase()||e.removeChild(n)}}},{key:"_updateFontIconClasses",value:function(){if(this._usingFontIcon()){var e=this._elementRef.nativeElement,t=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();t!=this._previousFontSetClass&&(this._previousFontSetClass&&e.classList.remove(this._previousFontSetClass),t&&e.classList.add(t),this._previousFontSetClass=t),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}}},{key:"_cleanupFontValue",value:function(e){return"string"==typeof e?e.trim().split(" ")[0]:e}},{key:"_prependPathToReferences",value:function(e){var t=this._elementsWithExternalReferences;t&&t.forEach(function(t,n){t.forEach(function(t){n.setAttribute(t.name,"url('".concat(e,"#").concat(t.value,"')"))})})}},{key:"_cacheChildrenWithExternalReferences",value:function(e){for(var t=e.querySelectorAll(q),n=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map,r=function(e){B.forEach(function(r){var i=t[e],o=i.getAttribute(r),s=o?o.match(Q):null;if(s){var a=n.get(i);a||(a=[],n.set(i,a)),a.push({name:r,value:s[1]})}})},i=0;i<t.length;i++)r(i)}},{key:"_updateSvgIcon",value:function(e){var t=this;if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){var n=s(this._splitIconName(e),2),r=n[0],i=n[1];r&&(this._svgNamespace=r),i&&(this._svgName=i),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(i,r).pipe(Object(O.a)(1)).subscribe(function(e){return t._setSvgElement(e)},function(e){t._errorHandler.handleError(new Error("Error retrieving icon ".concat(r,":").concat(i,"! ").concat(e.message)))})}}},{key:"inline",get:function(){return this._inline},set:function(e){this._inline=Object(a.b)(e)}},{key:"svgIcon",get:function(){return this._svgIcon},set:function(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}},{key:"fontSet",get:function(){return this._fontSet},set:function(e){var t=this._cleanupFontValue(e);t!==this._fontSet&&(this._fontSet=t,this._updateFontIconClasses())}},{key:"fontIcon",get:function(){return this._fontIcon},set:function(e){var t=this._cleanupFontValue(e);t!==this._fontIcon&&(this._fontIcon=t,this._updateFontIconClasses())}}]),n}(H)).\u0275fac=function(e){return new(e||V)(r.Mb(r.l),r.Mb(F),r.Wb("aria-hidden"),r.Mb(z),r.Mb(r.m))},V.\u0275cmp=r.Gb({type:V,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(e,t){2&e&&(r.Bb("data-mat-icon-type",t._usingFontIcon()?"font":"svg")("data-mat-icon-name",t._svgName||t.fontIcon)("data-mat-icon-namespace",t._svgNamespace||t.fontSet),r.Eb("mat-icon-inline",t.inline)("mat-icon-no-color","primary"!==t.color&&"accent"!==t.color&&"warn"!==t.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[r.xb],ngContentSelectors:I,decls:1,vars:0,template:function(e,t){1&e&&(r.gc(),r.fc(0))},styles:[".mat-icon{background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),V),W=((L=function e(){b(this,e)}).\u0275mod=r.Kb({type:L}),L.\u0275inj=r.Jb({factory:function(e){return new(e||L)},imports:[[o.b],o.b]}),L)},"NHP+":function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("XNiG"),i=n("quSY"),o=function(e){f(n,e);var t=v(n);function n(){var e;return b(this,n),(e=t.apply(this,arguments)).value=null,e.hasNext=!1,e.hasCompleted=!1,e}return k(n,[{key:"_subscribe",value:function(e){return this.hasError?(e.error(this.thrownError),i.a.EMPTY):this.hasCompleted&&this.hasNext?(e.next(this.value),e.complete(),i.a.EMPTY):h(g(n.prototype),"_subscribe",this).call(this,e)}},{key:"next",value:function(e){this.hasCompleted||(this.value=e,this.hasNext=!0)}},{key:"error",value:function(e){this.hasCompleted||h(g(n.prototype),"error",this).call(this,e)}},{key:"complete",value:function(){this.hasCompleted=!0,this.hasNext&&h(g(n.prototype),"next",this).call(this,this.value),h(g(n.prototype),"complete",this).call(this)}}]),n}(r.a)},NJ4a:function(e,t,n){"use strict";function r(e){setTimeout(function(){throw e},0)}n.d(t,"a",function(){return r})},Nv8m:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n("DH7j"),i=n("yCtX"),o=n("l7GE"),s=n("ZUHj");function a(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(1===t.length){if(!Object(r.a)(t[0]))return t[0];t=t[0]}return Object(i.a)(t,void 0).lift(new u)}var u=function(){function e(){b(this,e)}return k(e,[{key:"call",value:function(e,t){return t.subscribe(new c(e))}}]),e}(),c=function(e){f(n,e);var t=v(n);function n(e){var r;return b(this,n),(r=t.call(this,e)).hasFirst=!1,r.observables=[],r.subscriptions=[],r}return k(n,[{key:"_next",value:function(e){this.observables.push(e)}},{key:"_complete",value:function(){var e=this.observables,t=e.length;if(0===t)this.destination.complete();else{for(var n=0;n<t&&!this.hasFirst;n++){var r=e[n],i=Object(s.a)(this,r,r,n);this.subscriptions&&this.subscriptions.push(i),this.add(i)}this.observables=null}}},{key:"notifyNext",value:function(e,t,n,r,i){if(!this.hasFirst){this.hasFirst=!0;for(var o=0;o<this.subscriptions.length;o++)if(o!==n){var s=this.subscriptions[o];s.unsubscribe(),this.remove(s)}this.subscriptions=null}this.destination.next(t)}}]),n}(o.a)},PCNd:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("ofXK"),i=n("fXoL"),o=function(){var e=function e(){b(this,e)};return e.\u0275mod=i.Kb({type:e}),e.\u0275inj=i.Jb({factory:function(t){return new(t||e)},imports:[[r.c]]}),e}()},PqYM:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n("HDdC"),i=n("D0XW"),o=n("Y7HM"),s=n("z+Ro");function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,a=-1;return Object(o.a)(t)?a=Number(t)<1?1:Number(t):Object(s.a)(t)&&(n=t),Object(s.a)(n)||(n=i.a),new r.a(function(t){var r=Object(o.a)(e)?e:+e-n.now();return n.schedule(u,r,{index:0,period:a,subscriber:t})})}function u(e){var t=e.index,n=e.period,r=e.subscriber;if(r.next(t),!r.closed){if(-1===n)return r.complete();e.index=t+1,this.schedule(e,n)}}},R0Ic:function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return r}),n.d(t,"c",function(){return i}),n.d(t,"d",function(){return d}),n.d(t,"e",function(){return a}),n.d(t,"f",function(){return u}),n.d(t,"g",function(){return l}),n.d(t,"h",function(){return c}),n.d(t,"i",function(){return h}),n.d(t,"j",function(){return s}),n.d(t,"k",function(){return v}),n.d(t,"l",function(){return p});var r=function e(){b(this,e)},i=function e(){b(this,e)},o="*";function s(e,t){return{type:7,name:e,definitions:t,options:{}}}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:4,styles:t,timings:e}}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:2,steps:e,options:t}}function c(e){return{type:6,styles:e,offset:null}}function l(e,t,n){return{type:0,name:e,styles:t,options:n}}function h(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:1,expr:e,animation:t,options:n}}function f(e){Promise.resolve(null).then(e)}var d=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;b(this,e),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=t+n}return k(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{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 e=this;f(function(){return e._onFinish()})}},{key:"_onStart",value:function(){this._onStartFns.forEach(function(e){return e()}),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(e){return e()}),this._onDestroyFns=[])}},{key:"reset",value:function(){}},{key:"setPosition",value:function(e){}},{key:"getPosition",value:function(){return 0}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0}}]),e}(),v=function(){function e(t){var n=this;b(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,o=0,s=this.players.length;0==s?f(function(){return n._onFinish()}):this.players.forEach(function(e){e.onDone(function(){++r==s&&n._onFinish()}),e.onDestroy(function(){++i==s&&n._onDestroy()}),e.onStart(function(){++o==s&&n._onStart()})}),this.totalTime=this.players.reduce(function(e,t){return Math.max(e,t.totalTime)},0)}return k(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])}},{key:"init",value:function(){this.players.forEach(function(e){return e.init()})}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"_onStart",value:function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[])}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(function(e){return e.play()})}},{key:"pause",value:function(){this.players.forEach(function(e){return e.pause()})}},{key:"restart",value:function(){this.players.forEach(function(e){return e.restart()})}},{key:"finish",value:function(){this._onFinish(),this.players.forEach(function(e){return e.finish()})}},{key:"destroy",value:function(){this._onDestroy()}},{key:"_onDestroy",value:function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(e){return e.destroy()}),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this.players.forEach(function(e){return e.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"setPosition",value:function(e){var t=e*this.totalTime;this.players.forEach(function(e){var n=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(n)})}},{key:"getPosition",value:function(){var e=0;return this.players.forEach(function(t){var n=t.getPosition();e=Math.min(n,e)}),e}},{key:"beforeDestroy",value:function(){this.players.forEach(function(e){e.beforeDestroy&&e.beforeDestroy()})}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0}}]),e}(),p="!"},R1ws:function(e,t,n){"use strict";n.d(t,"a",function(){return jt}),n.d(t,"b",function(){return Rt});var o=n("fXoL"),a=n("jhN1"),u=n("R0Ic");function c(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function l(e){switch(e.length){case 0:return new u.d;case 1:return e[0];default:return new u.k(e)}}function d(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},s=[],a=[],c=-1,l=null;if(r.forEach(function(e){var n=e.offset,r=n==c,h=r&&l||{};Object.keys(e).forEach(function(n){var r=n,a=e[n];if("offset"!==n)switch(r=t.normalizePropertyName(r,s),a){case u.l:a=i[n];break;case u.a:a=o[n];break;default:a=t.normalizeStyleValue(n,r,a,s)}h[r]=a}),r||a.push(h),l=h,c=n}),s.length){var h="\n - ";throw new Error("Unable to animate due to the following errors:".concat(h).concat(s.join(h)))}return a}function p(e,t,n,r){switch(t){case"start":e.onStart(function(){return r(n&&m(n,"start",e))});break;case"done":e.onDone(function(){return r(n&&m(n,"done",e))});break;case"destroy":e.onDestroy(function(){return r(n&&m(n,"destroy",e))})}}function m(e,t,n){var r=n.totalTime,i=y(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==r?e.totalTime:r,!!n.disabled),o=e._data;return null!=o&&(i._data=o),i}function y(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,s=arguments.length>6?arguments[6]:void 0;return{element:e,triggerName:t,fromState:n,toState:r,phaseName:i,totalTime:o,disabled:!!s}}function _(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 w(e){var t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}var S=function(e,t){return!1},E=function(e,t){return!1},C=function(e,t,n){return[]},O=c();(O||"undefined"!=typeof Element)&&(S=function(e,t){return e.contains(t)},E=function(){if(O||Element.prototype.matches)return function(e,t){return e.matches(t)};var e=Element.prototype,t=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return t?function(e,n){return t.apply(e,[n])}:E}(),C=function(e,t,n){var r=[];if(n)r.push.apply(r,i(e.querySelectorAll(t)));else{var o=e.querySelector(t);o&&r.push(o)}return r});var x=null,T=!1;function I(e){x||(x=("undefined"!=typeof document?document.body:null)||{},T=!!x.style&&"WebkitAppearance"in x.style);var t=!0;return x.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&(!(t=e in x.style)&&T)&&(t="Webkit"+e.charAt(0).toUpperCase()+e.substr(1)in x.style),t}var A=E,j=S,N=C;function R(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 D,F=((D=function(){function e(){b(this,e)}return k(e,[{key:"validateStyleProperty",value:function(e){return I(e)}},{key:"matchesElement",value:function(e,t){return A(e,t)}},{key:"containsElement",value:function(e,t){return j(e,t)}},{key:"query",value:function(e,t,n){return N(e,t,n)}},{key:"computeStyle",value:function(e,t,n){return n||""}},{key:"animate",value:function(e,t,n,r,i){return new u.d(n,r)}}]),e}()).\u0275fac=function(e){return new(e||D)},D.\u0275prov=o.Ib({token:D,factory:D.\u0275fac}),D),P=function(){var e=function e(){b(this,e)};return e.NOOP=new F,e}();function M(e){if("number"==typeof e)return e;var t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:L(parseFloat(t[1]),t[2])}function L(e,t){switch(t){case"s":return 1e3*e;default:return e}}function V(e,t,n){return e.hasOwnProperty("duration")?e:function(e,t,n){var r,i=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:""};r=L(parseFloat(s[1]),s[2]);var a=s[3];null!=a&&(i=L(parseFloat(a),s[4]));var u=s[5];u&&(o=u)}else r=e;if(!n){var c=!1,l=t.length;r<0&&(t.push("Duration values below 0 are not allowed for this animation step."),c=!0),i<0&&(t.push("Delay values below 0 are not allowed for this animation step."),c=!0),c&&t.splice(l,0,'The provided timing value "'.concat(e,'" is invalid.'))}return{duration:r,delay:i,easing:o}}(e,t,n)}function H(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 z(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 H(e,n);return n}function B(e,t,n){return n?t+":"+n+";":""}function q(e){for(var t="",n=0;n<e.style.length;n++){var r=e.style.item(n);t+=B(0,r,e.style.getPropertyValue(r))}for(var i in e.style)e.style.hasOwnProperty(i)&&!i.startsWith("_")&&(t+=B(0,i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),e.style[i]));e.setAttribute("style",t)}function Q(e,t,n){e.style&&(Object.keys(t).forEach(function(r){var i=J(r);n&&!n.hasOwnProperty(r)&&(n[r]=e.style[i]),e.style[i]=t[r]}),c()&&q(e))}function U(e,t){e.style&&(Object.keys(t).forEach(function(t){var n=J(t);e.style[n]=""}),c()&&q(e))}function W(e){return Array.isArray(e)?1==e.length?e[0]:Object(u.f)(e):e}var K=new RegExp("{{\\s*(.+?)\\s*}}","g");function Z(e){var t=[];if("string"==typeof e){for(var n;n=K.exec(e);)t.push(n[1]);K.lastIndex=0}return t}function G(e,t,n){var r=e.toString(),i=r.replace(K,function(e,r){var i=t[r];return t.hasOwnProperty(r)||(n.push("Please provide a value for the animation param "+r),i=""),i.toString()});return i==r?e:i}function X(e){for(var t=[],n=e.next();!n.done;)t.push(n.value),n=e.next();return t}var Y=/-+([a-z0-9])/g;function J(e){return e.replace(Y,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t[1].toUpperCase()})}function $(e,t){return 0===e||0===t}function ee(e,t,n){var r=Object.keys(n);if(r.length&&t.length){var i=t[0],o=[];if(r.forEach(function(e){i.hasOwnProperty(e)||o.push(e),i[e]=n[e]}),o.length)for(var s=function(){var n=t[a];o.forEach(function(t){n[t]=ne(e,t)})},a=1;a<t.length;a++)s()}return t}function te(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 #"+t.type)}}function ne(e,t){return window.getComputedStyle(e)[t]}var re=new Set(["true","1"]),ie=new Set(["false","0"]);function oe(e,t){var n=re.has(e)||ie.has(e),r=re.has(t)||ie.has(t);return function(i,o){var s="*"==e||e==i,a="*"==t||t==o;return!s&&n&&"boolean"==typeof i&&(s=i?re.has(e):ie.has(e)),!a&&r&&"boolean"==typeof o&&(a=o?re.has(t):ie.has(t)),s&&a}}var se=new RegExp("s*:selfs*,?","g");function ae(e,t,n){return new ue(e).build(t,n)}var ue=function(){function e(t){b(this,e),this._driver=t}return k(e,[{key:"build",value:function(e,t){var n=new ce(t);return this._resetContextStyleTimingState(n),te(this,W(e),n)}},{key:"_resetContextStyleTimingState",value:function(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0}},{key:"visitTrigger",value:function(e,t){var n=this,r=t.queryCount=0,i=t.depCount=0,o=[],s=[];return"@"==e.name.charAt(0)&&t.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),e.definitions.forEach(function(e){if(n._resetContextStyleTimingState(t),0==e.type){var a=e,u=a.name;u.toString().split(/\s*,\s*/).forEach(function(e){a.name=e,o.push(n.visitState(a,t))}),a.name=u}else if(1==e.type){var c=n.visitTransition(e,t);r+=c.queryCount,i+=c.depCount,s.push(c)}else t.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:e.name,states:o,transitions:s,queryCount:r,depCount:i,options:null}}},{key:"visitState",value:function(e,t){var n=this.visitStyle(e.styles,t),r=e.options&&e.options.params||null;if(n.containsDynamicStyles){var i=new Set,o=r||{};if(n.styles.forEach(function(e){if(le(e)){var t=e;Object.keys(t).forEach(function(e){Z(t[e]).forEach(function(e){o.hasOwnProperty(e)||i.add(e)})})}}),i.size){var s=X(i.values());t.errors.push('state("'.concat(e.name,'", ...) must define default values for all the following style substitutions: ').concat(s.join(", ")))}}return{type:0,name:e.name,style:n,options:r?{params:r}:null}}},{key:"visitTransition",value:function(e,t){t.queryCount=0,t.depCount=0;var n,r,i,o=te(this,W(e.animation),t);return{type:1,matchers:(n=e.expr,r=t.errors,i=[],"string"==typeof n?n.split(/\s*,\s*/).forEach(function(e){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(e,t){return parseFloat(t)>parseFloat(e)};case":decrement":return function(e,t){return parseFloat(t)<parseFloat(e)};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 o=i[1],s=i[2],a=i[3];t.push(oe(o,a)),"<"!=s[0]||"*"==o&&"*"==a||t.push(oe(a,o))}(e,i,r)}):i.push(n),i),animation:o,queryCount:t.queryCount,depCount:t.depCount,options:he(e.options)}}},{key:"visitSequence",value:function(e,t){var n=this;return{type:2,steps:e.steps.map(function(e){return te(n,e,t)}),options:he(e.options)}}},{key:"visitGroup",value:function(e,t){var n=this,r=t.currentTime,i=0,o=e.steps.map(function(e){t.currentTime=r;var o=te(n,e,t);return i=Math.max(i,t.currentTime),o});return t.currentTime=i,{type:3,steps:o,options:he(e.options)}}},{key:"visitAnimate",value:function(e,t){var n,r=function(e,t){var n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e)return fe(V(e,t).duration,0,"");var r=e;if(r.split(/\s+/).some(function(e){return"{"==e.charAt(0)&&"{"==e.charAt(1)})){var i=fe(0,0,"");return i.dynamic=!0,i.strValue=r,i}return fe((n=n||V(r,t)).duration,n.delay,n.easing)}(e.timings,t.errors);t.currentAnimateTimings=r;var i=e.styles?e.styles:Object(u.h)({});if(5==i.type)n=this.visitKeyframes(i,t);else{var o=e.styles,s=!1;if(!o){s=!0;var a={};r.easing&&(a.easing=r.easing),o=Object(u.h)(a)}t.currentTime+=r.duration+r.delay;var c=this.visitStyle(o,t);c.isEmptyStep=s,n=c}return t.currentAnimateTimings=null,{type:4,timings:r,style:n,options:null}}},{key:"visitStyle",value:function(e,t){var n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n}},{key:"_makeStyleAst",value:function(e,t){var n=[];Array.isArray(e.styles)?e.styles.forEach(function(e){"string"==typeof e?e==u.a?n.push(e):t.errors.push("The provided style string value ".concat(e," is not allowed.")):n.push(e)}):n.push(e.styles);var r=!1,i=null;return n.forEach(function(e){if(le(e)){var t=e,n=t.easing;if(n&&(i=n,delete t.easing),!r)for(var o in t)if(t[o].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:n,easing:i,offset:e.offset,containsDynamicStyles:r,options:null}}},{key:"_validateStyleAst",value:function(e,t){var n=this,r=t.currentAnimateTimings,i=t.currentTime,o=t.currentTime;r&&o>0&&(o-=r.duration+r.delay),e.styles.forEach(function(e){"string"!=typeof e&&Object.keys(e).forEach(function(r){if(n._driver.validateStyleProperty(r)){var s,a,u,c,l,h=t.collectedStyles[t.currentQuerySelector],f=h[r],d=!0;f&&(o!=i&&o>=f.startTime&&i<=f.endTime&&(t.errors.push('The CSS property "'.concat(r,'" 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(o,'ms" and "').concat(i,'ms"')),d=!1),o=f.startTime),d&&(h[r]={startTime:o,endTime:i}),t.options&&(s=e[r],a=t.options,u=t.errors,c=a.params||{},(l=Z(s)).length&&l.forEach(function(e){c.hasOwnProperty(e)||u.push("Unable to resolve the local animation param ".concat(e," in the given list of values"))}))}else t.errors.push('The provided animation property "'.concat(r,'" is not a supported CSS property for animations'))})})}},{key:"visitKeyframes",value:function(e,t){var n=this,r={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),r;var i=0,o=[],s=!1,a=!1,u=0,c=e.steps.map(function(e){var r=n._makeStyleAst(e,t),c=null!=r.offset?r.offset:function(e){if("string"==typeof e)return null;var t=null;if(Array.isArray(e))e.forEach(function(e){if(le(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}});else if(le(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}return t}(r.styles),l=0;return null!=c&&(i++,l=r.offset=c),a=a||l<0||l>1,s=s||l<u,u=l,o.push(l),r});a&&t.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),s&&t.errors.push("Please ensure that all keyframe offsets are in order");var l=e.steps.length,h=0;i>0&&i<l?t.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==i&&(h=1/(l-1));var f=l-1,d=t.currentTime,v=t.currentAnimateTimings,p=v.duration;return c.forEach(function(e,i){var s=h>0?i==f?1:h*i:o[i],a=s*p;t.currentTime=d+v.delay+a,v.duration=a,n._validateStyleAst(e,t),e.offset=s,r.styles.push(e)}),r}},{key:"visitReference",value:function(e,t){return{type:8,animation:te(this,W(e.animation),t),options:he(e.options)}}},{key:"visitAnimateChild",value:function(e,t){return t.depCount++,{type:9,options:he(e.options)}}},{key:"visitAnimateRef",value:function(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:he(e.options)}}},{key:"visitQuery",value:function(e,t){var n=t.currentQuerySelector,r=e.options||{};t.queryCount++,t.currentQuery=e;var i=s(function(e){var t=!!e.split(/\s*,\s*/).find(function(e){return":self"==e});return t&&(e=e.replace(se,"")),[e=e.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,function(e){return".ng-trigger-"+e.substr(1)}).replace(/:animating/g,".ng-animating"),t]}(e.selector),2),o=i[0],a=i[1];t.currentQuerySelector=n.length?n+" "+o:o,_(t.collectedStyles,t.currentQuerySelector,{});var u=te(this,W(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:a,animation:u,originalSelector:e.selector,options:he(e.options)}}},{key:"visitStagger",value:function(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");var n="full"===e.timings?{duration:0,delay:0,easing:"full"}:V(e.timings,t.errors,!0);return{type:12,animation:te(this,W(e.animation),t),timings:n,options:null}}}]),e}(),ce=function e(t){b(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 le(e){return!Array.isArray(e)&&"object"==typeof e}function he(e){var t;return e?(e=H(e)).params&&(e.params=(t=e.params)?H(t):null):e={},e}function fe(e,t,n){return{duration:e,delay:t,easing:n}}function de(e,t,n,r,i,o){var s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,a=arguments.length>7&&void 0!==arguments[7]&&arguments[7];return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:s,subTimeline:a}}var ve=function(){function e(){b(this,e),this._map=new Map}return k(e,[{key:"consume",value:function(e){var t=this._map.get(e);return t?this._map.delete(e):t=[],t}},{key:"append",value:function(e,t){var n,r=this._map.get(e);r||this._map.set(e,r=[]),(n=r).push.apply(n,i(t))}},{key:"has",value:function(e){return this._map.has(e)}},{key:"clear",value:function(){this._map.clear()}}]),e}(),pe=new RegExp(":enter","g"),me=new RegExp(":leave","g");function ye(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{},a=arguments.length>7?arguments[7]:void 0,u=arguments.length>8?arguments[8]:void 0,c=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];return(new ge).buildKeyframes(e,t,n,r,i,o,s,a,u,c)}var ge=function(){function e(){b(this,e)}return k(e,[{key:"buildKeyframes",value:function(e,t,n,r,i,o,s,a,u){var c=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];u=u||new ve;var l=new _e(e,t,u,r,i,c,[]);l.options=a,l.currentTimeline.setStyles([o],null,l.errors,a),te(this,n,l);var h=l.timelines.filter(function(e){return e.containsAnimation()});if(h.length&&Object.keys(s).length){var f=h[h.length-1];f.allowOnlyTimelineStyles()||f.setStyles([s],null,l.errors,a)}return h.length?h.map(function(e){return e.buildKeyframes()}):[de(t,[],[],[],0,0,"",!1)]}},{key:"visitTrigger",value:function(e,t){}},{key:"visitState",value:function(e,t){}},{key:"visitTransition",value:function(e,t){}},{key:"visitAnimateChild",value:function(e,t){var n=t.subInstructions.consume(t.element);if(n){var r=t.createSubContext(e.options),i=t.currentTimeline.currentTime,o=this._visitSubInstructions(n,r,r.options);i!=o&&t.transformIntoNewTimeline(o)}t.previousNode=e}},{key:"visitAnimateRef",value:function(e,t){var n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e}},{key:"_visitSubInstructions",value:function(e,t,n){var r=t.currentTimeline.currentTime,i=null!=n.duration?M(n.duration):null,o=null!=n.delay?M(n.delay):null;return 0!==i&&e.forEach(function(e){var n=t.appendInstructionToTimeline(e,i,o);r=Math.max(r,n.duration+n.delay)}),r}},{key:"visitReference",value:function(e,t){t.updateOptions(e.options,!0),te(this,e.animation,t),t.previousNode=e}},{key:"visitSequence",value:function(e,t){var n=this,r=t.subContextCount,i=t,o=e.options;if(o&&(o.params||o.delay)&&((i=t.createSubContext(o)).transformIntoNewTimeline(),null!=o.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=be);var s=M(o.delay);i.delayNextStep(s)}e.steps.length&&(e.steps.forEach(function(e){return te(n,e,i)}),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),t.previousNode=e}},{key:"visitGroup",value:function(e,t){var n=this,r=[],i=t.currentTimeline.currentTime,o=e.options&&e.options.delay?M(e.options.delay):0;e.steps.forEach(function(s){var a=t.createSubContext(e.options);o&&a.delayNextStep(o),te(n,s,a),i=Math.max(i,a.currentTimeline.currentTime),r.push(a.currentTimeline)}),r.forEach(function(e){return t.currentTimeline.mergeTimelineCollectedStyles(e)}),t.transformIntoNewTimeline(i),t.previousNode=e}},{key:"_visitTiming",value:function(e,t){if(e.dynamic){var n=e.strValue;return V(t.params?G(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}},{key:"visitAnimate",value:function(e,t){var n=t.currentAnimateTimings=this._visitTiming(e.timings,t),r=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),r.snapshotCurrentStyles());var i=e.style;5==i.type?this.visitKeyframes(i,t):(t.incrementTime(n.duration),this.visitStyle(i,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}},{key:"visitStyle",value:function(e,t){var n=t.currentTimeline,r=t.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();var i=r&&r.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(i):n.setStyles(e.styles,i,t.errors,t.options),t.previousNode=e}},{key:"visitKeyframes",value:function(e,t){var n=t.currentAnimateTimings,r=t.currentTimeline.duration,i=n.duration,o=t.createSubContext().currentTimeline;o.easing=n.easing,e.styles.forEach(function(e){o.forwardTime((e.offset||0)*i),o.setStyles(e.styles,e.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(r+i),t.previousNode=e}},{key:"visitQuery",value:function(e,t){var n=this,r=t.currentTimeline.currentTime,i=e.options||{},o=i.delay?M(i.delay):0;o&&(6===t.previousNode.type||0==r&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=be);var s=r,a=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=a.length;var u=null;a.forEach(function(r,i){t.currentQueryIndex=i;var a=t.createSubContext(e.options,r);o&&a.delayNextStep(o),r===t.element&&(u=a.currentTimeline),te(n,e.animation,a),a.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,a.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(s),u&&(t.currentTimeline.mergeTimelineCollectedStyles(u),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}},{key:"visitStagger",value:function(e,t){var n=t.parentContext,r=t.currentTimeline,i=e.timings,o=Math.abs(i.duration),s=o*(t.currentQueryTotal-1),a=o*t.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":a=s-a;break;case"full":a=n.currentStaggerTime}var u=t.currentTimeline;a&&u.delayNextStep(a);var c=u.currentTime;te(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=r.currentTime-c+(r.startTime-n.currentTimeline.startTime)}}]),e}(),be={},_e=function(){function e(t,n,r,i,o,s,a,u){b(this,e),this._driver=t,this.element=n,this.subInstructions=r,this._enterClassName=i,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=be,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=u||new ke(this._driver,n,0),a.push(this.currentTimeline)}return k(e,[{key:"updateOptions",value:function(e,t){var n=this;if(e){var r=e,i=this.options;null!=r.duration&&(i.duration=M(r.duration)),null!=r.delay&&(i.delay=M(r.delay));var o=r.params;if(o){var s=i.params;s||(s=this.options.params={}),Object.keys(o).forEach(function(e){t&&s.hasOwnProperty(e)||(s[e]=G(o[e],s,n.errors))})}}}},{key:"_copyOptions",value:function(){var e={};if(this.options){var t=this.options.params;if(t){var n=e.params={};Object.keys(t).forEach(function(e){n[e]=t[e]})}}return e}},{key:"createSubContext",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,i=n||this.element,o=new e(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(t),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}},{key:"transformIntoNewTimeline",value:function(e){return this.previousNode=be,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}},{key:"appendInstructionToTimeline",value:function(e,t,n){var r={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},i=new we(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(i),r}},{key:"incrementTime",value:function(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}},{key:"delayNextStep",value:function(e){e>0&&this.currentTimeline.delayNextStep(e)}},{key:"invokeQuery",value:function(e,t,n,r,o,s){var a=[];if(r&&a.push(this.element),e.length>0){e=(e=e.replace(pe,"."+this._enterClassName)).replace(me,"."+this._leaveClassName);var u=this._driver.query(this.element,e,1!=n);0!==n&&(u=n<0?u.slice(u.length+n,u.length):u.slice(0,n)),a.push.apply(a,i(u))}return o||0!=a.length||s.push('`query("'.concat(t,'")` returned zero elements. (Use `query("').concat(t,'", { optional: true })` if you wish to allow this.)')),a}},{key:"params",get:function(){return this.options.params}}]),e}(),ke=function(){function e(t,n,r,i){b(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 k(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:"delayNextStep",value:function(e){var t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}},{key:"fork",value:function(t,n){return this.applyStylesToKeyframe(),new e(this._driver,t,n||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(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}},{key:"_updateStyle",value:function(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}}},{key:"allowOnlyTimelineStyles",value:function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}},{key:"applyEmptyStep",value:function(e){var t=this;e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach(function(e){t._backFill[e]=t._globalTimelineStyles[e]||u.a,t._currentKeyframe[e]=u.a}),this._currentEmptyStepKeyframe=this._currentKeyframe}},{key:"setStyles",value:function(e,t,n,r){var i=this;t&&(this._previousKeyframe.easing=t);var o=r&&r.params||{},s=function(e,t){var n,r={};return e.forEach(function(e){"*"===e?(n=n||Object.keys(t)).forEach(function(e){r[e]=u.a}):z(e,!1,r)}),r}(e,this._globalTimelineStyles);Object.keys(s).forEach(function(e){var t=G(s[e],o,n);i._pendingStyles[e]=t,i._localTimelineStyles.hasOwnProperty(e)||(i._backFill[e]=i._globalTimelineStyles.hasOwnProperty(e)?i._globalTimelineStyles[e]:u.a),i._updateStyle(e,t)})}},{key:"applyStylesToKeyframe",value:function(){var e=this,t=this._pendingStyles,n=Object.keys(t);0!=n.length&&(this._pendingStyles={},n.forEach(function(n){e._currentKeyframe[n]=t[n]}),Object.keys(this._localTimelineStyles).forEach(function(t){e._currentKeyframe.hasOwnProperty(t)||(e._currentKeyframe[t]=e._localTimelineStyles[t])}))}},{key:"snapshotCurrentStyles",value:function(){var e=this;Object.keys(this._localTimelineStyles).forEach(function(t){var n=e._localTimelineStyles[t];e._pendingStyles[t]=n,e._updateStyle(t,n)})}},{key:"getFinalKeyframe",value:function(){return this._keyframes.get(this.duration)}},{key:"mergeTimelineCollectedStyles",value:function(e){var t=this;Object.keys(e._styleSummary).forEach(function(n){var r=t._styleSummary[n],i=e._styleSummary[n];(!r||i.time>r.time)&&t._updateStyle(n,i.value)})}},{key:"buildKeyframes",value:function(){var e=this;this.applyStylesToKeyframe();var t=new Set,n=new Set,r=1===this._keyframes.size&&0===this.duration,i=[];this._keyframes.forEach(function(o,s){var a=z(o,!0);Object.keys(a).forEach(function(e){var r=a[e];r==u.l?t.add(e):r==u.a&&n.add(e)}),r||(a.offset=s/e.duration),i.push(a)});var o=t.size?X(t.values()):[],s=n.size?X(n.values()):[];if(r){var a=i[0],c=H(a);a.offset=0,c.offset=1,i=[a,c]}return de(this.element,i,o,s,this.duration,this.startTime,this.easing,!1)}},{key:"currentTime",get:function(){return this.startTime+this.duration}},{key:"properties",get:function(){var e=[];for(var t in this._currentKeyframe)e.push(t);return e}}]),e}(),we=function(e){f(n,e);var t=v(n);function n(e,r,i,o,s,a){var u,c=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return b(this,n),(u=t.call(this,e,r,a.delay)).element=r,u.keyframes=i,u.preStyleProps=o,u.postStyleProps=s,u._stretchStartingKeyframe=c,u.timings={duration:a.duration,delay:a.delay,easing:a.easing},u}return k(n,[{key:"containsAnimation",value:function(){return this.keyframes.length>1}},{key:"buildKeyframes",value:function(){var e=this.keyframes,t=this.timings,n=t.delay,r=t.duration,i=t.easing;if(this._stretchStartingKeyframe&&n){var o=[],s=r+n,a=n/s,u=z(e[0],!1);u.offset=0,o.push(u);var c=z(e[0],!1);c.offset=Se(a),o.push(c);for(var l=e.length-1,h=1;h<=l;h++){var f=z(e[h],!1);f.offset=Se((n+f.offset*r)/s),o.push(f)}r=s,n=0,i="",e=o}return de(this.element,e,this.preStyleProps,this.postStyleProps,r,n,i,!0)}}]),n}(ke);function Se(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 Ee,Ce,Oe=function e(){b(this,e)},xe=function(e){f(n,e);var t=v(n);function n(){return b(this,n),t.apply(this,arguments)}return k(n,[{key:"normalizePropertyName",value:function(e,t){return J(e)}},{key:"normalizeStyleValue",value:function(e,t,n,r){var i="",o=n.toString().trim();if(Te[t]&&0!==n&&"0"!==n)if("number"==typeof n)i="px";else{var s=n.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&0==s[1].length&&r.push("Please provide a CSS unit value for ".concat(e,":").concat(n))}return o+i}}]),n}(Oe),Te=(Ee="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(","),Ce={},Ee.forEach(function(e){return Ce[e]=!0}),Ce);function Ie(e,t,n,r,i,o,s,a,u,c,l,h,f){return{type:0,element:e,triggerName:t,isRemovalTransition:i,fromState:n,fromStyles:o,toState:r,toStyles:s,timelines:a,queriedElements:u,preStyleProps:c,postStyleProps:l,totalTime:h,errors:f}}var Ae={},je=function(){function e(t,n,r){b(this,e),this._triggerName=t,this.ast=n,this._stateStyles=r}return k(e,[{key:"match",value:function(e,t,n,r){return function(e,t,n,r,i){return e.some(function(e){return e(t,n,r,i)})}(this.ast.matchers,e,t,n,r)}},{key:"buildStyles",value:function(e,t,n){var r=this._stateStyles["*"],i=this._stateStyles[e],o=r?r.buildStyles(t,n):{};return i?i.buildStyles(t,n):o}},{key:"build",value:function(e,t,n,r,i,o,s,a,u,c){var l=[],h=this.ast.options&&this.ast.options.params||Ae,f=this.buildStyles(n,s&&s.params||Ae,l),d=a&&a.params||Ae,v=this.buildStyles(r,d,l),p=new Set,m=new Map,y=new Map,g="void"===r,b={params:Object.assign(Object.assign({},h),d)},k=c?[]:ye(e,t,this.ast.animation,i,o,f,v,b,u,l),w=0;if(k.forEach(function(e){w=Math.max(e.duration+e.delay,w)}),l.length)return Ie(t,this._triggerName,n,r,g,f,v,[],[],m,y,w,l);k.forEach(function(e){var n=e.element,r=_(m,n,{});e.preStyleProps.forEach(function(e){return r[e]=!0});var i=_(y,n,{});e.postStyleProps.forEach(function(e){return i[e]=!0}),n!==t&&p.add(n)});var S=X(p.values());return Ie(t,this._triggerName,n,r,g,f,v,k,S,m,y,w)}}]),e}(),Ne=function(){function e(t,n){b(this,e),this.styles=t,this.defaultParams=n}return k(e,[{key:"buildStyles",value:function(e,t){var n={},r=H(this.defaultParams);return Object.keys(e).forEach(function(t){var n=e[t];null!=n&&(r[t]=n)}),this.styles.styles.forEach(function(e){if("string"!=typeof e){var i=e;Object.keys(i).forEach(function(e){var o=i[e];o.length>1&&(o=G(o,r,t)),n[e]=o})}}),n}}]),e}(),Re=function(){function e(t,n){var r=this;b(this,e),this.name=t,this.ast=n,this.transitionFactories=[],this.states={},n.states.forEach(function(e){r.states[e.name]=new Ne(e.style,e.options&&e.options.params||{})}),De(this.states,"true","1"),De(this.states,"false","0"),n.transitions.forEach(function(e){r.transitionFactories.push(new je(t,e,r.states))}),this.fallbackTransition=new je(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(e,t){return!0}],options:null,queryCount:0,depCount:0},this.states)}return k(e,[{key:"matchTransition",value:function(e,t,n,r){return this.transitionFactories.find(function(i){return i.match(e,t,n,r)})||null}},{key:"matchStyles",value:function(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}},{key:"containsQueries",get:function(){return this.ast.queryCount>0}}]),e}();function De(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}var Fe=new ve,Pe=function(){function e(t,n,r){b(this,e),this.bodyNode=t,this._driver=n,this._normalizer=r,this._animations={},this._playersById={},this.players=[]}return k(e,[{key:"register",value:function(e,t){var n=[],r=ae(this._driver,t,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[e]=r}},{key:"_buildPlayer",value:function(e,t,n){var r=e.element,i=d(0,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(r,i,e.duration,e.delay,e.easing,[],!0)}},{key:"create",value:function(e,t){var n,r=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=[],s=this._animations[e],a=new Map;if(s?(n=ye(this._driver,t,s,"ng-enter","ng-leave",{},{},i,Fe,o)).forEach(function(e){var t=_(a,e.element,{});e.postStyleProps.forEach(function(e){return t[e]=null})}):(o.push("The requested animation doesn't exist or has already been destroyed"),n=[]),o.length)throw new Error("Unable to create the animation due to the following errors: "+o.join("\n"));a.forEach(function(e,t){Object.keys(e).forEach(function(n){e[n]=r._driver.computeStyle(t,n,u.a)})});var c=l(n.map(function(e){var t=a.get(e.element);return r._buildPlayer(e,{},t)}));return this._playersById[e]=c,c.onDestroy(function(){return r.destroy(e)}),this.players.push(c),c}},{key:"destroy",value:function(e){var t=this._getPlayer(e);t.destroy(),delete this._playersById[e];var n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)}},{key:"_getPlayer",value:function(e){var t=this._playersById[e];if(!t)throw new Error("Unable to find the timeline player referenced by "+e);return t}},{key:"listen",value:function(e,t,n,r){var i=y(t,"","","");return p(this._getPlayer(e),n,i,r),function(){}}},{key:"command",value:function(e,t,n,r){if("register"!=n)if("create"!=n){var i=this._getPlayer(e);switch(n){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(e)}}else this.create(e,t,r[0]||{});else this.register(e,r[0])}}]),e}(),Me=[],Le={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ve={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},He=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";b(this,e),this.namespaceId=n;var r,i=t&&t.hasOwnProperty("value");if(this.value=null!=(r=i?t.value:t)?r:null,i){var o=H(t);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}return k(e,[{key:"absorbOptions",value:function(e){var t=e.params;if(t){var n=this.options.params;Object.keys(t).forEach(function(e){null==n[e]&&(n[e]=t[e])})}}},{key:"params",get:function(){return this.options.params}}]),e}(),ze=new He("void"),Be=function(){function e(t,n,r){b(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,Ge(n,this._hostClassName)}return k(e,[{key:"listen",value:function(e,t,n,r){var i,o=this;if(!this._triggers.hasOwnProperty(t))throw new Error('Unable to listen on the animation trigger event "'.concat(n,'" because the animation trigger "').concat(t,"\" doesn't exist!"));if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'.concat(t,'" because the provided event is undefined!'));if("start"!=(i=n)&&"done"!=i)throw new Error('The provided animation trigger event "'.concat(n,'" for the animation trigger "').concat(t,'" is not supported!'));var s=_(this._elementListeners,e,[]),a={name:t,phase:n,callback:r};s.push(a);var u=_(this._engine.statesByElement,e,{});return u.hasOwnProperty(t)||(Ge(e,"ng-trigger"),Ge(e,"ng-trigger-"+t),u[t]=ze),function(){o._engine.afterFlush(function(){var e=s.indexOf(a);e>=0&&s.splice(e,1),o._triggers[t]||delete u[t]})}}},{key:"register",value:function(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)}},{key:"_getTrigger",value:function(e){var t=this._triggers[e];if(!t)throw new Error('The provided animation trigger "'.concat(e,'" has not been registered!'));return t}},{key:"trigger",value:function(e,t,n){var r=this,i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=this._getTrigger(t),s=new Qe(this.id,t,e),a=this._engine.statesByElement.get(e);a||(Ge(e,"ng-trigger"),Ge(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,a={}));var u=a[t],c=new He(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&u&&c.absorbOptions(u.options),a[t]=c,u||(u=ze),"void"===c.value||u.value!==c.value){var l=_(this._engine.playersByElement,e,[]);l.forEach(function(e){e.namespaceId==r.id&&e.triggerName==t&&e.queued&&e.destroy()});var h=o.matchTransition(u.value,c.value,e,c.params),f=!1;if(!h){if(!i)return;h=o.fallbackTransition,f=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:h,fromState:u,toState:c,player:s,isFallbackTransition:f}),f||(Ge(e,"ng-animate-queued"),s.onStart(function(){Xe(e,"ng-animate-queued")})),s.onDone(function(){var t=r.players.indexOf(s);t>=0&&r.players.splice(t,1);var n=r._engine.playersByElement.get(e);if(n){var i=n.indexOf(s);i>=0&&n.splice(i,1)}}),this.players.push(s),l.push(s),s}if(!function(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 o=n[i];if(!t.hasOwnProperty(o)||e[o]!==t[o])return!1}return!0}(u.params,c.params)){var d=[],v=o.matchStyles(u.value,u.params,d),p=o.matchStyles(c.value,c.params,d);d.length?this._engine.reportError(d):this._engine.afterFlush(function(){U(e,v),Q(e,p)})}}},{key:"deregister",value:function(e){var t=this;delete this._triggers[e],this._engine.statesByElement.forEach(function(t,n){delete t[e]}),this._elementListeners.forEach(function(n,r){t._elementListeners.set(r,n.filter(function(t){return t.name!=e}))})}},{key:"clearElementCache",value:function(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);var t=this._engine.playersByElement.get(e);t&&(t.forEach(function(e){return e.destroy()}),this._engine.playersByElement.delete(e))}},{key:"_signalRemovalForInnerTriggers",value:function(e,t){var n=this,r=this._engine.driver.query(e,".ng-trigger",!0);r.forEach(function(e){if(!e.__ng_removed){var r=n._engine.fetchNamespacesByElement(e);r.size?r.forEach(function(n){return n.triggerLeaveAnimation(e,t,!1,!0)}):n.clearElementCache(e)}}),this._engine.afterFlushAnimationsDone(function(){return r.forEach(function(e){return n.clearElementCache(e)})})}},{key:"triggerLeaveAnimation",value:function(e,t,n,r){var i=this,o=this._engine.statesByElement.get(e);if(o){var s=[];if(Object.keys(o).forEach(function(t){if(i._triggers[t]){var n=i.trigger(e,t,"void",r);n&&s.push(n)}}),s.length)return this._engine.markElementAsRemoved(this.id,e,!0,t),n&&l(s).onDone(function(){return i._engine.processLeaveNode(e)}),!0}return!1}},{key:"prepareLeaveAnimationListeners",value:function(e){var t=this,n=this._elementListeners.get(e);if(n){var r=new Set;n.forEach(function(n){var i=n.name;if(!r.has(i)){r.add(i);var o=t._triggers[i].fallbackTransition,s=t._engine.statesByElement.get(e)[i]||ze,a=new He("void"),u=new Qe(t.id,i,e);t._engine.totalQueuedPlayers++,t._queue.push({element:e,triggerName:i,transition:o,fromState:s,toState:a,player:u,isFallbackTransition:!0})}})}}},{key:"removeNode",value:function(e,t){var n=this,r=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),!this.triggerLeaveAnimation(e,t,!0)){var i=!1;if(r.totalAnimations){var o=r.players.length?r.playersByQueriedElement.get(e):[];if(o&&o.length)i=!0;else for(var s=e;s=s.parentNode;)if(r.statesByElement.get(s)){i=!0;break}}if(this.prepareLeaveAnimationListeners(e),i)r.markElementAsRemoved(this.id,e,!1,t);else{var a=e.__ng_removed;a&&a!==Le||(r.afterFlush(function(){return n.clearElementCache(e)}),r.destroyInnerAnimations(e),r._onRemovalComplete(e,t))}}}},{key:"insertNode",value:function(e,t){Ge(e,this._hostClassName)}},{key:"drainQueuedTransitions",value:function(e){var t=this,n=[];return this._queue.forEach(function(r){var i=r.player;if(!i.destroyed){var o=r.element,s=t._elementListeners.get(o);s&&s.forEach(function(t){if(t.name==r.triggerName){var n=y(o,r.triggerName,r.fromState.value,r.toState.value);n._data=e,p(r.player,t.phase,n,t.callback)}}),i.markedForDestroy?t._engine.afterFlush(function(){i.destroy()}):n.push(r)}}),this._queue=[],n.sort(function(e,n){var r=e.transition.ast.depCount,i=n.transition.ast.depCount;return 0==r||0==i?r-i:t._engine.driver.containsElement(e.element,n.element)?1:-1})}},{key:"destroy",value:function(e){this.players.forEach(function(e){return e.destroy()}),this._signalRemovalForInnerTriggers(this.hostElement,e)}},{key:"elementContainsData",value:function(e){var t=!1;return this._elementListeners.has(e)&&(t=!0),t=!!this._queue.find(function(t){return t.element===e})||t}}]),e}(),qe=function(){function e(t,n,r){b(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(e,t){}}return k(e,[{key:"_onRemovalComplete",value:function(e,t){this.onRemovalComplete(e,t)}},{key:"createNamespace",value:function(e,t){var n=new Be(e,t,this);return t.parentNode?this._balanceNamespaceList(n,t):(this.newHostElements.set(t,n),this.collectEnterElement(t)),this._namespaceLookup[e]=n}},{key:"_balanceNamespaceList",value:function(e,t){var n=this._namespaceList.length-1;if(n>=0){for(var r=!1,i=n;i>=0;i--)if(this.driver.containsElement(this._namespaceList[i].hostElement,t)){this._namespaceList.splice(i+1,0,e),r=!0;break}r||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e}},{key:"register",value:function(e,t){var n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n}},{key:"registerTrigger",value:function(e,t,n){var r=this._namespaceLookup[e];r&&r.register(t,n)&&this.totalAnimations++}},{key:"destroy",value:function(e,t){var n=this;if(e){var r=this._fetchNamespace(e);this.afterFlush(function(){n.namespacesByHostElement.delete(r.hostElement),delete n._namespaceLookup[e];var t=n._namespaceList.indexOf(r);t>=0&&n._namespaceList.splice(t,1)}),this.afterFlushAnimationsDone(function(){return r.destroy(t)})}}},{key:"_fetchNamespace",value:function(e){return this._namespaceLookup[e]}},{key:"fetchNamespacesByElement",value:function(e){var t=new Set,n=this.statesByElement.get(e);if(n)for(var r=Object.keys(n),i=0;i<r.length;i++){var o=n[r[i]].namespaceId;if(o){var s=this._fetchNamespace(o);s&&t.add(s)}}return t}},{key:"trigger",value:function(e,t,n,r){if(Ue(t)){var i=this._fetchNamespace(e);if(i)return i.trigger(t,n,r),!0}return!1}},{key:"insertNode",value:function(e,t,n,r){if(Ue(t)){var i=t.__ng_removed;if(i&&i.setForRemoval){i.setForRemoval=!1,i.setForMove=!0;var o=this.collectedLeaveElements.indexOf(t);o>=0&&this.collectedLeaveElements.splice(o,1)}if(e){var s=this._fetchNamespace(e);s&&s.insertNode(t,n)}r&&this.collectEnterElement(t)}}},{key:"collectEnterElement",value:function(e){this.collectedEnterElements.push(e)}},{key:"markElementAsDisabled",value:function(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Ge(e,"ng-animate-disabled")):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Xe(e,"ng-animate-disabled"))}},{key:"removeNode",value:function(e,t,n,r){if(Ue(t)){var i=e?this._fetchNamespace(e):null;if(i?i.removeNode(t,r):this.markElementAsRemoved(e,t,!1,r),n){var o=this.namespacesByHostElement.get(t);o&&o.id!==e&&o.removeNode(t,r)}}else this._onRemovalComplete(t,r)}},{key:"markElementAsRemoved",value:function(e,t,n,r){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}}},{key:"listen",value:function(e,t,n,r,i){return Ue(t)?this._fetchNamespace(e).listen(t,n,r,i):function(){}}},{key:"_buildInstruction",value:function(e,t,n,r,i){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,r,e.fromState.options,e.toState.options,t,i)}},{key:"destroyInnerAnimations",value:function(e){var t=this,n=this.driver.query(e,".ng-trigger",!0);n.forEach(function(e){return t.destroyActiveAnimationsForElement(e)}),0!=this.playersByQueriedElement.size&&(n=this.driver.query(e,".ng-animating",!0)).forEach(function(e){return t.finishActiveQueriedAnimationOnElement(e)})}},{key:"destroyActiveAnimationsForElement",value:function(e){var t=this.playersByElement.get(e);t&&t.forEach(function(e){e.queued?e.markedForDestroy=!0:e.destroy()})}},{key:"finishActiveQueriedAnimationOnElement",value:function(e){var t=this.playersByQueriedElement.get(e);t&&t.forEach(function(e){return e.finish()})}},{key:"whenRenderingDone",value:function(){var e=this;return new Promise(function(t){if(e.players.length)return l(e.players).onDone(function(){return t()});t()})}},{key:"processLeaveNode",value:function(e){var t=this,n=e.__ng_removed;if(n&&n.setForRemoval){if(e.__ng_removed=Le,n.namespaceId){this.destroyInnerAnimations(e);var r=this._fetchNamespace(n.namespaceId);r&&r.clearElementCache(e)}this._onRemovalComplete(e,n.setForRemoval)}this.driver.matchesElement(e,".ng-animate-disabled")&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach(function(e){t.markElementAsDisabled(e,!1)})}},{key:"flush",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,n=[];if(this.newHostElements.size&&(this.newHostElements.forEach(function(t,n){return e._balanceNamespaceList(t,n)}),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var r=0;r<this.collectedEnterElements.length;r++)Ge(this.collectedEnterElements[r],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){var i=[];try{n=this._flushAnimations(i,t)}finally{for(var o=0;o<i.length;o++)i[o]()}}else for(var s=0;s<this.collectedLeaveElements.length;s++)this.processLeaveNode(this.collectedLeaveElements[s]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(function(e){return e()}),this._flushFns=[],this._whenQuietFns.length){var a=this._whenQuietFns;this._whenQuietFns=[],n.length?l(n).onDone(function(){a.forEach(function(e){return e()})}):a.forEach(function(e){return e()})}}},{key:"reportError",value:function(e){throw new Error("Unable to process animations due to the following failed trigger transitions\n "+e.join("\n"))}},{key:"_flushAnimations",value:function(e,t){var n=this,r=new ve,o=[],s=new Map,a=[],c=new Map,h=new Map,f=new Map,d=new Set;this.disabledNodes.forEach(function(e){d.add(e);for(var t=n.driver.query(e,".ng-animate-queued",!0),r=0;r<t.length;r++)d.add(t[r])});var v=this.bodyNode,p=Array.from(this.statesByElement.keys()),m=Ze(p,this.collectedEnterElements),y=new Map,g=0;m.forEach(function(e,t){var n="ng-enter"+g++;y.set(t,n),e.forEach(function(e){return Ge(e,n)})});for(var b=[],k=new Set,w=new Set,S=0;S<this.collectedLeaveElements.length;S++){var E=this.collectedLeaveElements[S],C=E.__ng_removed;C&&C.setForRemoval&&(b.push(E),k.add(E),C.hasAnimation?this.driver.query(E,".ng-star-inserted",!0).forEach(function(e){return k.add(e)}):w.add(E))}var O=new Map,x=Ze(p,Array.from(k));x.forEach(function(e,t){var n="ng-leave"+g++;O.set(t,n),e.forEach(function(e){return Ge(e,n)})}),e.push(function(){m.forEach(function(e,t){var n=y.get(t);e.forEach(function(e){return Xe(e,n)})}),x.forEach(function(e,t){var n=O.get(t);e.forEach(function(e){return Xe(e,n)})}),b.forEach(function(e){n.processLeaveNode(e)})});for(var T=[],I=[],A=this._namespaceList.length-1;A>=0;A--)this._namespaceList[A].drainQueuedTransitions(t).forEach(function(e){var t=e.player,i=e.element;if(T.push(t),n.collectedEnterElements.length){var s=i.__ng_removed;if(s&&s.setForMove)return void t.destroy()}var u=!v||!n.driver.containsElement(v,i),l=O.get(i),d=y.get(i),p=n._buildInstruction(e,r,d,l,u);if(p.errors&&p.errors.length)I.push(p);else{if(u)return t.onStart(function(){return U(i,p.fromStyles)}),t.onDestroy(function(){return Q(i,p.toStyles)}),void o.push(t);if(e.isFallbackTransition)return t.onStart(function(){return U(i,p.fromStyles)}),t.onDestroy(function(){return Q(i,p.toStyles)}),void o.push(t);p.timelines.forEach(function(e){return e.stretchStartingKeyframe=!0}),r.append(i,p.timelines),a.push({instruction:p,player:t,element:i}),p.queriedElements.forEach(function(e){return _(c,e,[]).push(t)}),p.preStyleProps.forEach(function(e,t){var n=Object.keys(e);if(n.length){var r=h.get(t);r||h.set(t,r=new Set),n.forEach(function(e){return r.add(e)})}}),p.postStyleProps.forEach(function(e,t){var n=Object.keys(e),r=f.get(t);r||f.set(t,r=new Set),n.forEach(function(e){return r.add(e)})})}});if(I.length){var j=[];I.forEach(function(e){j.push("@".concat(e.triggerName," has failed due to:\n")),e.errors.forEach(function(e){return j.push("- ".concat(e,"\n"))})}),T.forEach(function(e){return e.destroy()}),this.reportError(j)}var N=new Map,R=new Map;a.forEach(function(e){var t=e.element;r.has(t)&&(R.set(t,t),n._beforeAnimationBuild(e.player.namespaceId,e.instruction,N))}),o.forEach(function(e){var t=e.element;n._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(function(e){_(N,t,[]).push(e),e.destroy()})});var D=b.filter(function(e){return $e(e,h,f)}),F=new Map;Ke(F,this.driver,w,f,u.a).forEach(function(e){$e(e,h,f)&&D.push(e)});var P=new Map;m.forEach(function(e,t){Ke(P,n.driver,new Set(e),h,u.l)}),D.forEach(function(e){var t=F.get(e),n=P.get(e);F.set(e,Object.assign(Object.assign({},t),n))});var M=[],L=[],V={};a.forEach(function(e){var t=e.element,i=e.player,a=e.instruction;if(r.has(t)){if(d.has(t))return i.onDestroy(function(){return Q(t,a.toStyles)}),i.disabled=!0,i.overrideTotalTime(a.totalTime),void o.push(i);var u=V;if(R.size>1){for(var c=t,h=[];c=c.parentNode;){var f=R.get(c);if(f){u=f;break}h.push(c)}h.forEach(function(e){return R.set(e,u)})}var v=n._buildAnimation(i.namespaceId,a,N,s,P,F);if(i.setRealPlayer(v),u===V)M.push(i);else{var p=n.playersByElement.get(u);p&&p.length&&(i.parentPlayer=l(p)),o.push(i)}}else U(t,a.fromStyles),i.onDestroy(function(){return Q(t,a.toStyles)}),L.push(i),d.has(t)&&o.push(i)}),L.forEach(function(e){var t=s.get(e.element);if(t&&t.length){var n=l(t);e.setRealPlayer(n)}}),o.forEach(function(e){e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(var H=0;H<b.length;H++){var z=b[H],B=z.__ng_removed;if(Xe(z,"ng-leave"),!B||!B.hasAnimation){var q=[];if(c.size){var W=c.get(z);W&&W.length&&q.push.apply(q,i(W));for(var K=this.driver.query(z,".ng-animating",!0),Z=0;Z<K.length;Z++){var G=c.get(K[Z]);G&&G.length&&q.push.apply(q,i(G))}}var X=q.filter(function(e){return!e.destroyed});X.length?Ye(this,z,X):this.processLeaveNode(z)}}return b.length=0,M.forEach(function(e){n.players.push(e),e.onDone(function(){e.destroy();var t=n.players.indexOf(e);n.players.splice(t,1)}),e.play()}),M}},{key:"elementContainsData",value:function(e,t){var n=!1,r=t.__ng_removed;return r&&r.setForRemoval&&(n=!0),this.playersByElement.has(t)&&(n=!0),this.playersByQueriedElement.has(t)&&(n=!0),this.statesByElement.has(t)&&(n=!0),this._fetchNamespace(e).elementContainsData(t)||n}},{key:"afterFlush",value:function(e){this._flushFns.push(e)}},{key:"afterFlushAnimationsDone",value:function(e){this._whenQuietFns.push(e)}},{key:"_getPreviousPlayers",value:function(e,t,n,r,i){var o=[];if(t){var s=this.playersByQueriedElement.get(e);s&&(o=s)}else{var a=this.playersByElement.get(e);if(a){var u=!i||"void"==i;a.forEach(function(e){e.queued||(u||e.triggerName==r)&&o.push(e)})}}return(n||r)&&(o=o.filter(function(e){return!(n&&n!=e.namespaceId||r&&r!=e.triggerName)})),o}},{key:"_beforeAnimationBuild",value:function(e,t,n){var i,o=this,s=t.element,a=t.isRemovalTransition?void 0:e,u=t.isRemovalTransition?void 0:t.triggerName,c=r(t.timelines);try{var l=function(){var e=i.value.element,r=e!==s,c=_(n,e,[]);o._getPreviousPlayers(e,r,a,u,t.toState).forEach(function(e){var t=e.getRealPlayer();t.beforeDestroy&&t.beforeDestroy(),e.destroy(),c.push(e)})};for(c.s();!(i=c.n()).done;)l()}catch(h){c.e(h)}finally{c.f()}U(s,t.fromStyles)}},{key:"_buildAnimation",value:function(e,t,n,r,i,o){var s=this,a=t.triggerName,c=t.element,h=[],f=new Set,v=new Set,p=t.timelines.map(function(t){var l=t.element;f.add(l);var p=l.__ng_removed;if(p&&p.removedBeforeQueried)return new u.d(t.duration,t.delay);var m,y,g=l!==c,b=(m=(n.get(l)||Me).map(function(e){return e.getRealPlayer()}),y=[],Je(m,y),y).filter(function(e){return!!e.element&&e.element===l}),_=i.get(l),k=o.get(l),w=d(0,s._normalizer,0,t.keyframes,_,k),S=s._buildPlayer(t,w,b);if(t.subTimeline&&r&&v.add(l),g){var E=new Qe(e,a,l);E.setRealPlayer(S),h.push(E)}return S});h.forEach(function(e){_(s.playersByQueriedElement,e.element,[]).push(e),e.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 o=r.indexOf(n);r.splice(o,1)}0==r.length&&delete e[t]}return r}(s.playersByQueriedElement,e.element,e)})}),f.forEach(function(e){return Ge(e,"ng-animating")});var m=l(p);return m.onDestroy(function(){f.forEach(function(e){return Xe(e,"ng-animating")}),Q(c,t.toStyles)}),v.forEach(function(e){_(r,e,[]).push(m)}),m}},{key:"_buildPlayer",value:function(e,t,n){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new u.d(e.duration,e.delay)}},{key:"queuedPlayers",get:function(){var e=[];return this._namespaceList.forEach(function(t){t.players.forEach(function(t){t.queued&&e.push(t)})}),e}}]),e}(),Qe=function(){function e(t,n,r){b(this,e),this.namespaceId=t,this.triggerName=n,this.element=r,this._player=new u.d,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return k(e,[{key:"setRealPlayer",value:function(e){var t=this;this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach(function(n){t._queuedCallbacks[n].forEach(function(t){return p(e,n,void 0,t)})}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}},{key:"getRealPlayer",value:function(){return this._player}},{key:"overrideTotalTime",value:function(e){this.totalTime=e}},{key:"syncPlayerEvents",value:function(e){var t=this,n=this._player;n.triggerCallback&&e.onStart(function(){return n.triggerCallback("start")}),e.onDone(function(){return t.finish()}),e.onDestroy(function(){return t.destroy()})}},{key:"_queueEvent",value:function(e,t){_(this._queuedCallbacks,e,[]).push(t)}},{key:"onDone",value:function(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}},{key:"onStart",value:function(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}},{key:"onDestroy",value:function(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}},{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(e){this.queued||this._player.setPosition(e)}},{key:"getPosition",value:function(){return this.queued?0:this._player.getPosition()}},{key:"triggerCallback",value:function(e){var t=this._player;t.triggerCallback&&t.triggerCallback(e)}}]),e}();function Ue(e){return e&&1===e.nodeType}function We(e,t){var n=e.style.display;return e.style.display=null!=t?t:"none",n}function Ke(e,t,n,r,i){var o=[];n.forEach(function(e){return o.push(We(e))});var s=[];r.forEach(function(n,r){var o={};n.forEach(function(e){var n=o[e]=t.computeStyle(r,e,i);n&&0!=n.length||(r.__ng_removed=Ve,s.push(r))}),e.set(r,o)});var a=0;return n.forEach(function(e){return We(e,o[a++])}),s}function Ze(e,t){var n=new Map;if(e.forEach(function(e){return n.set(e,[])}),0==t.length)return n;var r=new Set(t),i=new Map;function o(e){if(!e)return 1;var t=i.get(e);if(t)return t;var s=e.parentNode;return t=n.has(s)?s:r.has(s)?1:o(s),i.set(e,t),t}return t.forEach(function(e){var t=o(e);1!==t&&n.get(t).push(e)}),n}function Ge(e,t){if(e.classList)e.classList.add(t);else{var n=e.$$classes;n||(n=e.$$classes={}),n[t]=!0}}function Xe(e,t){if(e.classList)e.classList.remove(t);else{var n=e.$$classes;n&&delete n[t]}}function Ye(e,t,n){l(n).onDone(function(){return e.processLeaveNode(t)})}function Je(e,t){for(var n=0;n<e.length;n++){var r=e[n];r instanceof u.k?Je(r.players,t):t.push(r)}}function $e(e,t,n){var r=n.get(e);if(!r)return!1;var i=t.get(e);return i?r.forEach(function(e){return i.add(e)}):t.set(e,r),n.delete(e),!0}var et=function(){function e(t,n,r){var i=this;b(this,e),this.bodyNode=t,this._driver=n,this._triggerCache={},this.onRemovalComplete=function(e,t){},this._transitionEngine=new qe(t,n,r),this._timelineEngine=new Pe(t,n,r),this._transitionEngine.onRemovalComplete=function(e,t){return i.onRemovalComplete(e,t)}}return k(e,[{key:"registerTrigger",value:function(e,t,n,r,i){var o=e+"-"+r,s=this._triggerCache[o];if(!s){var a=[],u=ae(this._driver,i,a);if(a.length)throw new Error('The animation trigger "'.concat(r,'" has failed to build due to the following errors:\n - ').concat(a.join("\n - ")));s=function(e,t){return new Re(e,t)}(r,u),this._triggerCache[o]=s}this._transitionEngine.registerTrigger(t,r,s)}},{key:"register",value:function(e,t){this._transitionEngine.register(e,t)}},{key:"destroy",value:function(e,t){this._transitionEngine.destroy(e,t)}},{key:"onInsert",value:function(e,t,n,r){this._transitionEngine.insertNode(e,t,n,r)}},{key:"onRemove",value:function(e,t,n,r){this._transitionEngine.removeNode(e,t,r||!1,n)}},{key:"disableAnimations",value:function(e,t){this._transitionEngine.markElementAsDisabled(e,t)}},{key:"process",value:function(e,t,n,r){if("@"==n.charAt(0)){var i=s(w(n),2),o=i[0],a=i[1];this._timelineEngine.command(o,t,a,r)}else this._transitionEngine.trigger(e,t,n,r)}},{key:"listen",value:function(e,t,n,r,i){if("@"==n.charAt(0)){var o=s(w(n),2),a=o[0],u=o[1];return this._timelineEngine.listen(a,t,u,i)}return this._transitionEngine.listen(e,t,n,r,i)}},{key:"flush",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;this._transitionEngine.flush(e)}},{key:"whenRenderingDone",value:function(){return this._transitionEngine.whenRenderingDone()}},{key:"players",get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)}}]),e}();function tt(e,t){var n=null,r=null;return Array.isArray(t)&&t.length?(n=rt(t[0]),t.length>1&&(r=rt(t[t.length-1]))):t&&(n=rt(t)),n||r?new nt(e,n,r):null}var nt=function(){var e=function(){function e(t,n,r){b(this,e),this._element=t,this._startStyles=n,this._endStyles=r,this._state=0;var i=e.initialStylesByElement.get(t);i||e.initialStylesByElement.set(t,i={}),this._initialStyles=i}return k(e,[{key:"start",value:function(){this._state<1&&(this._startStyles&&Q(this._element,this._startStyles,this._initialStyles),this._state=1)}},{key:"finish",value:function(){this.start(),this._state<2&&(Q(this._element,this._initialStyles),this._endStyles&&(Q(this._element,this._endStyles),this._endStyles=null),this._state=1)}},{key:"destroy",value:function(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(U(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(U(this._element,this._endStyles),this._endStyles=null),Q(this._element,this._initialStyles),this._state=3)}}]),e}();return e.initialStylesByElement=new WeakMap,e}();function rt(e){for(var t=null,n=Object.keys(e),r=0;r<n.length;r++){var i=n[r];it(i)&&((t=t||{})[i]=e[i])}return t}function it(e){return"display"===e||"position"===e}var ot=function(){function e(t,n,r,i,o,s,a){var u=this;b(this,e),this._element=t,this._name=n,this._duration=r,this._delay=i,this._easing=o,this._fillMode=s,this._onDoneFn=a,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=function(e){return u._handleCallback(e)}}return k(e,[{key:"apply",value:function(){var e,t,n;e=this._element,t="".concat(this._duration,"ms ").concat(this._easing," ").concat(this._delay,"ms 1 normal ").concat(this._fillMode," ").concat(this._name),(n=ht(e,"").trim()).length&&(function(e,t){for(var n=0;n<e.length;n++)e.charAt(n)}(n),t="".concat(n,", ").concat(t)),lt(e,"",t),ct(this._element,this._eventFn,!1),this._startTime=Date.now()}},{key:"pause",value:function(){st(this._element,this._name,"paused")}},{key:"resume",value:function(){st(this._element,this._name,"running")}},{key:"setPosition",value:function(e){var t=at(this._element,this._name);this._position=e*this._duration,lt(this._element,"Delay","-".concat(this._position,"ms"),t)}},{key:"getPosition",value:function(){return this._position}},{key:"_handleCallback",value:function(e){var t=e._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(e.elapsedTime.toFixed(3));e.animationName==this._name&&Math.max(t-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()}},{key:"finish",value:function(){this._finished||(this._finished=!0,this._onDoneFn(),ct(this._element,this._eventFn,!0))}},{key:"destroy",value:function(){var e,t,n,r;this._destroyed||(this._destroyed=!0,this.finish(),e=this._element,t=this._name,n=ht(e,"").split(","),(r=ut(n,t))>=0&&(n.splice(r,1),lt(e,"",n.join(","))))}}]),e}();function st(e,t,n){lt(e,"PlayState",n,at(e,t))}function at(e,t){var n=ht(e,"");return n.indexOf(",")>0?ut(n.split(","),t):ut([n],t)}function ut(e,t){for(var n=0;n<e.length;n++)if(e[n].indexOf(t)>=0)return n;return-1}function ct(e,t,n){n?e.removeEventListener("animationend",t):e.addEventListener("animationend",t)}function lt(e,t,n,r){var i="animation"+t;if(null!=r){var o=e.style[i];if(o.length){var s=o.split(",");s[r]=n,n=s.join(",")}}e.style[i]=n}function ht(e,t){return e.style["animation"+t]}var ft=function(){function e(t,n,r,i,o,s,a,u){b(this,e),this.element=t,this.keyframes=n,this.animationName=r,this._duration=i,this._delay=o,this._finalStyles=a,this._specialStyles=u,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=s||"linear",this.totalTime=i+o,this._buildStyler()}return k(e,[{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{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(e){return e()}),this._onDestroyFns=[])}},{key:"_flushDoneFns",value:function(){this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[]}},{key:"_flushStartFns",value:function(){this._onStartFns.forEach(function(e){return e()}),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(e){this._styler.setPosition(e)}},{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._styler.destroy(),this._buildStyler(),this._styler.apply()}},{key:"_buildStyler",value:function(){var e=this;this._styler=new ot(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",function(){return e.finish()})}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0}},{key:"beforeDestroy",value:function(){var e=this;this.init();var t={};if(this.hasStarted()){var n=this._state>=3;Object.keys(this._finalStyles).forEach(function(r){"offset"!=r&&(t[r]=n?e._finalStyles[r]:ne(e.element,r))})}this.currentSnapshot=t}}]),e}(),dt=function(e){f(n,e);var t=v(n);function n(e,r){var i;return b(this,n),(i=t.call(this)).element=e,i._startingStyles={},i.__initialized=!1,i._styles=R(r),i}return k(n,[{key:"init",value:function(){var e=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(function(t){e._startingStyles[t]=e.element.style[t]}),h(g(n.prototype),"init",this).call(this))}},{key:"play",value:function(){var e=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(function(t){return e.element.style.setProperty(t,e._styles[t])}),h(g(n.prototype),"play",this).call(this))}},{key:"destroy",value:function(){var e=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach(function(t){var n=e._startingStyles[t];n?e.element.style.setProperty(t,n):e.element.style.removeProperty(t)}),this._startingStyles=null,h(g(n.prototype),"destroy",this).call(this))}}]),n}(u.d),vt=function(){function e(){b(this,e),this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}return k(e,[{key:"validateStyleProperty",value:function(e){return I(e)}},{key:"matchesElement",value:function(e,t){return A(e,t)}},{key:"containsElement",value:function(e,t){return j(e,t)}},{key:"query",value:function(e,t,n){return N(e,t,n)}},{key:"computeStyle",value:function(e,t,n){return window.getComputedStyle(e)[t]}},{key:"buildKeyframeElement",value:function(e,t,n){n=n.map(function(e){return R(e)});var r="@keyframes ".concat(t," {\n"),i="";n.forEach(function(e){i=" ";var t=parseFloat(e.offset);r+="".concat(i).concat(100*t,"% {\n"),i+=" ",Object.keys(e).forEach(function(t){var n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(r+="".concat(i,"animation-timing-function: ").concat(n,";\n")));default:return void(r+="".concat(i).concat(t,": ").concat(n,";\n"))}}),r+=i+"}\n"}),r+="}\n";var o=document.createElement("style");return o.textContent=r,o}},{key:"animate",value:function(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],s=arguments.length>6?arguments[6]:void 0;s&&this._notifyFaultyScrubber();var a=o.filter(function(e){return e instanceof ft}),u={};$(n,r)&&a.forEach(function(e){var t=e.currentSnapshot;Object.keys(t).forEach(function(e){return u[e]=t[e]})});var c=function(e){var t={};return e&&(Array.isArray(e)?e:[e]).forEach(function(e){Object.keys(e).forEach(function(n){"offset"!=n&&"easing"!=n&&(t[n]=e[n])})}),t}(t=ee(e,t,u));if(0==n)return new dt(e,c);var l="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(e,l,t);document.querySelector("head").appendChild(h);var f=tt(e,t),d=new ft(e,t,l,n,r,i,c,f);return d.onDestroy(function(){var e;(e=h).parentNode.removeChild(e)}),d}},{key:"_notifyFaultyScrubber",value:function(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n","  visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)}}]),e}(),pt=function(){function e(t,n,r,i){b(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 k(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])}},{key:"init",value:function(){this._buildPlayer(),this._preparePlayerBeforeStart()}},{key:"_buildPlayer",value:function(){var e=this;if(!this._initialized){this._initialized=!0;var t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",function(){return e._onFinish()})}}},{key:"_preparePlayerBeforeStart",value:function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}},{key:"_triggerWebAnimation",value:function(e,t,n){return e.animate(t,n)}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"play",value:function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(function(e){return e()}),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(e){return e()}),this._onDestroyFns=[])}},{key:"setPosition",value:function(e){this.domPlayer.currentTime=e*this.time}},{key:"getPosition",value:function(){return this.domPlayer.currentTime/this.time}},{key:"beforeDestroy",value:function(){var e=this,t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(function(n){"offset"!=n&&(t[n]=e._finished?e._finalKeyframe[n]:ne(e.element,n))}),this.currentSnapshot=t}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0}},{key:"totalTime",get:function(){return this._delay+this._duration}}]),e}(),mt=function(){function e(){b(this,e),this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(yt().toString()),this._cssKeyframesDriver=new vt}return k(e,[{key:"validateStyleProperty",value:function(e){return I(e)}},{key:"matchesElement",value:function(e,t){return A(e,t)}},{key:"containsElement",value:function(e,t){return j(e,t)}},{key:"query",value:function(e,t,n){return N(e,t,n)}},{key:"computeStyle",value:function(e,t,n){return window.getComputedStyle(e)[t]}},{key:"overrideWebAnimationsSupport",value:function(e){this._isNativeImpl=e}},{key:"animate",value:function(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],s=arguments.length>6?arguments[6]:void 0;if(!s&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,n,r,i,o);var a={duration:n,delay:r,fill:0==r?"both":"forwards"};i&&(a.easing=i);var u={},c=o.filter(function(e){return e instanceof pt});$(n,r)&&c.forEach(function(e){var t=e.currentSnapshot;Object.keys(t).forEach(function(e){return u[e]=t[e]})});var l=tt(e,t=ee(e,t=t.map(function(e){return z(e,!1)}),u));return new pt(e,t,a,l)}}]),e}();function yt(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var gt,bt=n("ofXK"),_t=((gt=function(e){f(n,e);var t=v(n);function n(e,r){var i;return b(this,n),(i=t.call(this))._nextAnimationId=0,i._renderer=e.createRenderer(r.body,{id:"0",encapsulation:o.R.None,styles:[],data:{animation:[]}}),i}return k(n,[{key:"build",value:function(e){var t=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(e)?Object(u.f)(e):e;return St(this._renderer,null,t,"register",[n]),new kt(t,this._renderer)}}]),n}(u.b)).\u0275fac=function(e){return new(e||gt)(o.Vb(o.F),o.Vb(bt.d))},gt.\u0275prov=o.Ib({token:gt,factory:gt.\u0275fac}),gt),kt=function(e){f(n,e);var t=v(n);function n(e,r){var i;return b(this,n),(i=t.call(this))._id=e,i._renderer=r,i}return k(n,[{key:"create",value:function(e,t){return new wt(this._id,e,t||{},this._renderer)}}]),n}(u.c),wt=function(){function e(t,n,r,i){b(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 k(e,[{key:"_listen",value:function(e,t){return this._renderer.listen(this.element,"@@".concat(this.id,":").concat(e),t)}},{key:"_command",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return St(this._renderer,this.element,this.id,e,n)}},{key:"onDone",value:function(e){this._listen("done",e)}},{key:"onStart",value:function(e){this._listen("start",e)}},{key:"onDestroy",value:function(e){this._listen("destroy",e)}},{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")}},{key:"setPosition",value:function(e){this._command("setPosition",e)}},{key:"getPosition",value:function(){return 0}}]),e}();function St(e,t,n,r,i){return e.setProperty(t,"@@".concat(n,":").concat(r),i)}var Et,Ct,Ot,xt=((Et=function(){function e(t,n,r){b(this,e),this.delegate=t,this.engine=n,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),n.onRemovalComplete=function(e,t){t&&t.parentNode(e)&&t.removeChild(e.parentNode,e)}}return k(e,[{key:"createRenderer",value:function(e,t){var n=this,r=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){var i=this._rendererCache.get(r);return i||(i=new Tt("",r,this.engine),this._rendererCache.set(r,i)),i}var o=t.id,s=t.id+"-"+this._currentId;return this._currentId++,this.engine.register(s,e),t.data.animation.forEach(function t(r){Array.isArray(r)?r.forEach(t):n.engine.registerTrigger(o,s,e,r.name,r)}),new It(this,s,r,this.engine)}},{key:"begin",value:function(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}},{key:"_scheduleCountTask",value:function(){var e=this;this.promise.then(function(){e._microtaskId++})}},{key:"scheduleListenerCallback",value:function(e,t,n){var r=this;e>=0&&e<this._microtaskId?this._zone.run(function(){return t(n)}):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(function(){r._zone.run(function(){r._animationCallbacksBuffer.forEach(function(e){var t=s(e,2);(0,t[0])(t[1])}),r._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([t,n]))}},{key:"end",value:function(){var e=this;this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(function(){e._scheduleCountTask(),e.engine.flush(e._microtaskId)}),this.delegate.end&&this.delegate.end()}},{key:"whenRenderingDone",value:function(){return this.engine.whenRenderingDone()}}]),e}()).\u0275fac=function(e){return new(e||Et)(o.Vb(o.F),o.Vb(et),o.Vb(o.z))},Et.\u0275prov=o.Ib({token:Et,factory:Et.\u0275fac}),Et),Tt=function(){function e(t,n,r){b(this,e),this.namespaceId=t,this.delegate=n,this.engine=r,this.destroyNode=this.delegate.destroyNode?function(e){return n.destroyNode(e)}:null}return k(e,[{key:"destroy",value:function(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}},{key:"createElement",value:function(e,t){return this.delegate.createElement(e,t)}},{key:"createComment",value:function(e){return this.delegate.createComment(e)}},{key:"createText",value:function(e){return this.delegate.createText(e)}},{key:"appendChild",value:function(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}},{key:"insertBefore",value:function(e,t,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,r)}},{key:"removeChild",value:function(e,t,n){this.engine.onRemove(this.namespaceId,t,this.delegate,n)}},{key:"selectRootElement",value:function(e,t){return this.delegate.selectRootElement(e,t)}},{key:"parentNode",value:function(e){return this.delegate.parentNode(e)}},{key:"nextSibling",value:function(e){return this.delegate.nextSibling(e)}},{key:"setAttribute",value:function(e,t,n,r){this.delegate.setAttribute(e,t,n,r)}},{key:"removeAttribute",value:function(e,t,n){this.delegate.removeAttribute(e,t,n)}},{key:"addClass",value:function(e,t){this.delegate.addClass(e,t)}},{key:"removeClass",value:function(e,t){this.delegate.removeClass(e,t)}},{key:"setStyle",value:function(e,t,n,r){this.delegate.setStyle(e,t,n,r)}},{key:"removeStyle",value:function(e,t,n){this.delegate.removeStyle(e,t,n)}},{key:"setProperty",value:function(e,t,n){"@"==t.charAt(0)&&"@.disabled"==t?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)}},{key:"setValue",value:function(e,t){this.delegate.setValue(e,t)}},{key:"listen",value:function(e,t,n){return this.delegate.listen(e,t,n)}},{key:"disableAnimations",value:function(e,t){this.engine.disableAnimations(e,t)}},{key:"data",get:function(){return this.delegate.data}}]),e}(),It=function(e){f(n,e);var t=v(n);function n(e,r,i,o){var s;return b(this,n),(s=t.call(this,r,i,o)).factory=e,s.namespaceId=r,s}return k(n,[{key:"setProperty",value:function(e,t,n){"@"==t.charAt(0)?"."==t.charAt(1)&&"@.disabled"==t?this.disableAnimations(e,n=void 0===n||!!n):this.engine.process(this.namespaceId,e,t.substr(1),n):this.delegate.setProperty(e,t,n)}},{key:"listen",value:function(e,t,n){var r,i,o=this;if("@"==t.charAt(0)){var a,u=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(e),c=t.substr(1),l="";return"@"!=c.charAt(0)&&(i=(r=c).indexOf("."),c=(a=s([r.substring(0,i),r.substr(i+1)],2))[0],l=a[1]),this.engine.listen(this.namespaceId,u,c,l,function(e){o.factory.scheduleListenerCallback(e._data||-1,n,e)})}return this.delegate.listen(e,t,n)}}]),n}(Tt),At=((Ct=function(e){f(n,e);var t=v(n);function n(e,r,i){return b(this,n),t.call(this,e.body,r,i)}return n}(et)).\u0275fac=function(e){return new(e||Ct)(o.Vb(bt.d),o.Vb(P),o.Vb(Oe))},Ct.\u0275prov=o.Ib({token:Ct,factory:Ct.\u0275fac}),Ct),jt=new o.q("AnimationModuleType"),Nt=[{provide:P,useFactory:function(){return"function"==typeof yt()?new mt:new vt}},{provide:jt,useValue:"BrowserAnimations"},{provide:u.b,useClass:_t},{provide:Oe,useFactory:function(){return new xe}},{provide:et,useClass:At},{provide:o.F,useFactory:function(e,t,n){return new xt(e,t,n)},deps:[a.e,et,o.z]}],Rt=((Ot=function e(){b(this,e)}).\u0275mod=o.Kb({type:Ot}),Ot.\u0275inj=o.Jb({factory:function(e){return new(e||Ot)},providers:Nt,imports:[a.a]}),Ot)},SeVD:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r=n("ngJS"),i=n("NJ4a"),o=n("Lhse"),s=n("kJWO"),a=n("I55L"),u=n("c2HN"),c=n("XoHu"),l=function(e){if(e&&"function"==typeof e[s.a])return l=e,function(e){var t=l[s.a]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(Object(a.a)(e))return Object(r.a)(e);if(Object(u.a)(e))return n=e,function(e){return n.then(function(t){e.closed||(e.next(t),e.complete())},function(t){return e.error(t)}).then(null,i.a),e};if(e&&"function"==typeof e[o.a])return t=e,function(e){for(var n=t[o.a]();;){var r=n.next();if(r.done){e.complete();break}if(e.next(r.value),e.closed)break}return"function"==typeof n.return&&e.add(function(){n.return&&n.return()}),e};var t,n,l,h=Object(c.a)(e)?"an invalid object":"'".concat(e,"'");throw new TypeError("You provided ".concat(h," where a stream was expected. You can provide an Observable, Promise, Array, or Iterable."))}},SpAZ:function(e,t,n){"use strict";function r(e){return e}n.d(t,"a",function(){return r})},SxV6:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var r=n("sVev"),i=n("pLZG"),o=n("IzEk"),s=n("xbPD"),a=n("XDbj"),u=n("SpAZ");function c(e,t){var n=arguments.length>=2;return function(c){return c.pipe(e?Object(i.a)(function(t,n){return e(t,n,c)}):u.a,Object(o.a)(1),n?Object(s.a)(t):Object(a.a)(function(){return new r.a}))}}},TNhP:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var r=n("ofXK"),i=n("jtHE"),o=n("fXoL"),s=n("jhN1"),a=n("FiGy"),u=function(){var e=function(){function e(t,n,r){b(this,e),this.document=t,this.domSanitizer=n,this.scrollSpyService=r,this.tocList=new i.a(1),this.activeItemIndex=new i.a(1),this.scrollSpyInfo=null}return k(e,[{key:"genToc",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(this.resetScrollSpyInfo(),e){var r=this.findTocHeadings(e),i=new Map,o=r.map(function(e){var r=t.extractHeadingSafeHtml(e),o=r.title,s=r.content;return{level:e.tagName.toLowerCase(),href:"".concat(n,"#").concat(t.getId(e,i)),title:o,content:s}});this.tocList.next(o),this.scrollSpyInfo=this.scrollSpyService.spyOn(r),this.scrollSpyInfo.active.subscribe(function(e){return t.activeItemIndex.next(e&&e.index)})}else this.tocList.next([])}},{key:"reset",value:function(){this.resetScrollSpyInfo(),this.tocList.next([])}},{key:"extractHeadingSafeHtml",value:function(e){var t=this.document.createElement("div");return t.innerHTML=e.innerHTML,c(t,".github-links, .header-link").forEach(l),c(t,"a").forEach(function(e){for(var t=e.parentNode;e.childNodes.length;)t.insertBefore(e.childNodes[0],e);l(e)}),{content:this.domSanitizer.bypassSecurityTrustHtml(t.innerHTML.trim()),title:(t.textContent||"").trim()}}},{key:"findTocHeadings",value:function(e){var t=this;return c(e,"h1,h2,h3").filter(function(e){return!/(?:no-toc|notoc)/i.test(e.className)&&!t.isOriginalText(e)})}},{key:"isOriginalText",value:function(e){if(e&&e.hasAttribute("translation-origin")){var t=e.previousElementSibling;if(t&&"AIO-TOC"===t.tagName&&(t=t.previousElementSibling),t&&t.hasAttribute("translation-result"))return!0}return!1}},{key:"resetScrollSpyInfo",value:function(){this.scrollSpyInfo&&(this.scrollSpyInfo.unspy(),this.scrollSpyInfo=null),this.activeItemIndex.next(null)}},{key:"getId",value:function(e,t){var n=e.id;return n?r(n):(n=r(n=(e.textContent||"").trim().toLowerCase().replace(/\W+/g,"-")),e.id=n),n;function r(e){var n=(t.get(e)||0)+1;return t.set(e,n),1===n?e:"".concat(e,"-").concat(n)}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Vb(r.d),o.Vb(s.b),o.Vb(a.a))},e.\u0275prov=o.Ib({token:e,factory:e.\u0275fac}),e}();function c(e,t){return Array.from(e.querySelectorAll(t))}function l(e){null!==e.parentNode&&e.parentNode.removeChild(e)}},VRyK:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n("HDdC"),i=n("z+Ro"),o=n("bHdf"),s=n("yCtX");function a(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var a=Number.POSITIVE_INFINITY,u=null,c=t[t.length-1];return Object(i.a)(c)?(u=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(a=t.pop())):"number"==typeof c&&(a=t.pop()),null===u&&1===t.length&&t[0]instanceof r.a?t[0]:Object(o.a)(a)(Object(s.a)(t,u))}},WMd4:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("EY2u"),i=n("LRne"),o=n("z6cu"),s=function(){var e=function(){function e(t,n,r){b(this,e),this.kind=t,this.value=n,this.error=r,this.hasValue="N"===t}return k(e,[{key:"observe",value:function(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}},{key:"do",value:function(e,t,n){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return n&&n()}}},{key:"accept",value:function(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)}},{key:"toObservable",value:function(){switch(this.kind){case"N":return Object(i.a)(this.value);case"E":return Object(o.a)(this.error);case"C":return Object(r.b)()}throw new Error("unexpected notification kind value")}}],[{key:"createNext",value:function(t){return void 0!==t?new e("N",t):e.undefinedValueNotification}},{key:"createError",value:function(t){return new e("E",void 0,t)}},{key:"createComplete",value:function(){return e.completeNotification}}]),e}();return e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e}()},XDbj:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("sVev"),i=n("7o/Q");function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u;return function(t){return t.lift(new s(e))}}var s=function(){function e(t){b(this,e),this.errorFactory=t}return k(e,[{key:"call",value:function(e,t){return t.subscribe(new a(e,this.errorFactory))}}]),e}(),a=function(e){f(n,e);var t=v(n);function n(e,r){var i;return b(this,n),(i=t.call(this,e)).errorFactory=r,i.hasValue=!1,i}return k(n,[{key:"_next",value:function(e){this.hasValue=!0,this.destination.next(e)}},{key:"_complete",value:function(){if(this.hasValue)return this.destination.complete();var e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}]),n}(i.a);function u(){return new r.a}},XNiG:function(e,t,n){"use strict";n.d(t,"b",function(){return c}),n.d(t,"a",function(){return l});var r=n("HDdC"),i=n("7o/Q"),o=n("quSY"),s=n("9ppp"),a=n("Ylt2"),u=n("2QA8"),c=function(e){f(n,e);var t=v(n);function n(e){var r;return b(this,n),(r=t.call(this,e)).destination=e,r}return n}(i.a),l=function(){var e=function(e){f(n,e);var t=v(n);function n(){var e;return b(this,n),(e=t.call(this)).observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return k(n,[{key:u.a,value:function(){return new c(this)}},{key:"lift",value:function(e){var t=new d(this,this);return t.operator=e,t}},{key:"next",value:function(e){if(this.closed)throw new s.a;if(!this.isStopped)for(var t=this.observers,n=t.length,r=t.slice(),i=0;i<n;i++)r[i].next(e)}},{key:"error",value:function(e){if(this.closed)throw new s.a;this.hasError=!0,this.thrownError=e,this.isStopped=!0;for(var t=this.observers,n=t.length,r=t.slice(),i=0;i<n;i++)r[i].error(e);this.observers.length=0}},{key:"complete",value:function(){if(this.closed)throw new s.a;this.isStopped=!0;for(var e=this.observers,t=e.length,n=e.slice(),r=0;r<t;r++)n[r].complete();this.observers.length=0}},{key:"unsubscribe",value:function(){this.isStopped=!0,this.closed=!0,this.observers=null}},{key:"_trySubscribe",value:function(e){if(this.closed)throw new s.a;return h(g(n.prototype),"_trySubscribe",this).call(this,e)}},{key:"_subscribe",value:function(e){if(this.closed)throw new s.a;return this.hasError?(e.error(this.thrownError),o.a.EMPTY):this.isStopped?(e.complete(),o.a.EMPTY):(this.observers.push(e),new a.a(this,e))}},{key:"asObservable",value:function(){var e=new r.a;return e.source=this,e}}]),n}(r.a);return e.create=function(e,t){return new d(e,t)},e}(),d=function(e){f(n,e);var t=v(n);function n(e,r){var i;return b(this,n),(i=t.call(this)).destination=e,i.source=r,i}return k(n,[{key:"next",value:function(e){var t=this.destination;t&&t.next&&t.next(e)}},{key:"error",value:function(e){var t=this.destination;t&&t.error&&this.destination.error(e)}},{key:"complete",value:function(){var e=this.destination;e&&e.complete&&this.destination.complete()}},{key:"_subscribe",value:function(e){return this.source?this.source.subscribe(e):o.a.EMPTY}}]),n}(l)},XoHu:function(e,t,n){"use strict";function r(e){return null!==e&&"object"==typeof e}n.d(t,"a",function(){return r})},Y7HM:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("DH7j");function i(e){return!Object(r.a)(e)&&e-parseFloat(e)+1>=0}},Ylt2:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=function(e){f(n,e);var t=v(n);function n(e,r){var i;return b(this,n),(i=t.call(this)).subject=e,i.subscriber=r,i.closed=!1,i}return k(n,[{key:"unsubscribe",value:function(){if(!this.closed){this.closed=!0;var e=this.subject,t=e.observers;if(this.subject=null,t&&0!==t.length&&!e.isStopped&&!e.closed){var n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}}}]),n}(n("quSY").a)},ZUHj:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("51Dv"),i=n("SeVD"),o=n("HDdC");function s(e,t,n,s){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:new r.a(e,n,s);if(!a.closed)return t instanceof o.a?t.subscribe(a):Object(i.a)(t)(a)}},bHdf:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("5+tZ"),i=n("SpAZ");function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return Object(r.a)(i.a,e)}},bOdf:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("5+tZ");function i(e,t){return Object(r.a)(e,t,1)}},bTqV:function(e,t,n){"use strict";n.d(t,"a",function(){return d}),n.d(t,"b",function(){return p});var i=n("FKr1"),o=n("R1ws"),s=n("fXoL"),a=n("u47x"),u=["mat-button",""],c=["*"],l=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],h=Object(i.f)(Object(i.h)(Object(i.g)(function e(t){b(this,e),this._elementRef=t}))),d=function(){var e=function(e){f(n,e);var t=v(n);function n(e,i,o){var s;b(this,n),(s=t.call(this,e))._focusMonitor=i,s._animationMode=o,s.isRoundButton=s._hasHostAttributes("mat-fab","mat-mini-fab"),s.isIconButton=s._hasHostAttributes("mat-icon-button");var a,u=r(l);try{for(u.s();!(a=u.n()).done;){var c=a.value;s._hasHostAttributes(c)&&s._getHostElement().classList.add(c)}}catch(h){u.e(h)}finally{u.f()}return e.nativeElement.classList.add("mat-button-base"),s.isRoundButton&&(s.color="accent"),s}return k(n,[{key:"ngAfterViewInit",value:function(){this._focusMonitor.monitor(this._elementRef,!0)}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"focus",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"program",t=arguments.length>1?arguments[1]:void 0;this._focusMonitor.focusVia(this._getHostElement(),e,t)}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_hasHostAttributes",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.some(function(t){return e._getHostElement().hasAttribute(t)})}}]),n}(h);return e.\u0275fac=function(t){return new(t||e)(s.Mb(s.l),s.Mb(a.d),s.Mb(o.a,8))},e.\u0275cmp=s.Gb({type:e,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(e,t){var n;(1&e&&s.Ec(i.c,!0),2&e)&&(s.mc(n=s.Zb())&&(t.ripple=n.first))},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,t){2&e&&(s.Bb("disabled",t.disabled||null),s.Eb("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-button-disabled",t.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[s.xb],attrs:u,ngContentSelectors:c,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,t){1&e&&(s.gc(),s.Rb(0,"span",0),s.fc(1),s.Qb(),s.Nb(2,"span",1),s.Nb(3,"span",2)),2&e&&(s.Ab(2),s.Eb("mat-button-ripple-round",t.isRoundButton||t.isIconButton),s.hc("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",t.isIconButton)("matRippleTrigger",t._getHostElement()))},directives:[i.c],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),e}(),p=function(){var e=function e(){b(this,e)};return e.\u0275mod=s.Kb({type:e}),e.\u0275inj=s.Jb({factory:function(t){return new(t||e)},imports:[[i.d,i.b],i.b]}),e}()},c2HN:function(e,t,n){"use strict";function r(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}n.d(t,"a",function(){return r})},cH1L:function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return s});var r=n("fXoL"),i=n("ofXK"),o=new r.q("cdk-dir-doc",{providedIn:"root",factory:function(){return Object(r.V)(i.d)}}),s=function(){var e=function(){function e(t){if(b(this,e),this.value="ltr",this.change=new r.n,t){var n=t.documentElement?t.documentElement.dir:null,i=(t.body?t.body.dir:null)||n;this.value="ltr"===i||"rtl"===i?i:"ltr"}}return k(e,[{key:"ngOnDestroy",value:function(){this.change.complete()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Vb(o,8))},e.\u0275prov=Object(r.Ib)({factory:function(){return new e(Object(r.Vb)(o,8))},token:e,providedIn:"root"}),e}(),a=function(){var e=function e(){b(this,e)};return e.\u0275mod=r.Kb({type:e}),e.\u0275inj=r.Jb({factory:function(t){return new(t||e)}}),e}()},eIep:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var r=n("l7GE"),i=n("51Dv"),o=n("ZUHj"),s=n("lJxs"),a=n("Cfvw");function u(e,t){return"function"==typeof t?function(n){return n.pipe(u(function(n,r){return Object(a.a)(e(n,r)).pipe(Object(s.a)(function(e,i){return t(n,e,r,i)}))}))}:function(t){return t.lift(new c(e))}}var c=function(){function e(t){b(this,e),this.project=t}return k(e,[{key:"call",value:function(e,t){return t.subscribe(new l(e,this.project))}}]),e}(),l=function(e){f(n,e);var t=v(n);function n(e,r){var i;return b(this,n),(i=t.call(this,e)).project=r,i.index=0,i}return k(n,[{key:"_next",value:function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this._innerSub(t,e,n)}},{key:"_innerSub",value:function(e,t,n){var r=this.innerSubscription;r&&r.unsubscribe();var s=new i.a(this,t,n),a=this.destination;a.add(s),this.innerSubscription=Object(o.a)(this,e,void 0,void 0,s),this.innerSubscription!==s&&a.add(this.innerSubscription)}},{key:"_complete",value:function(){var e=this.innerSubscription;e&&!e.closed||h(g(n.prototype),"_complete",this).call(this),this.unsubscribe()}},{key:"_unsubscribe",value:function(){this.innerSubscription=null}},{key:"notifyComplete",value:function(e){this.destination.remove(e),this.innerSubscription=null,this.isStopped&&h(g(n.prototype),"_complete",this).call(this)}},{key:"notifyNext",value:function(e,t,n,r,i){this.destination.next(t)}}]),n}(r.a)},fXoL:function(e,o,a){"use strict";a.d(o,"a",function(){return Yo}),a.d(o,"b",function(){return tc}),a.d(o,"c",function(){return Xu}),a.d(o,"d",function(){return Zu}),a.d(o,"e",function(){return Gu}),a.d(o,"f",function(){return Qc}),a.d(o,"g",function(){return Dc}),a.d(o,"h",function(){return Ro}),a.d(o,"i",function(){return fc}),a.d(o,"j",function(){return Da}),a.d(o,"k",function(){return ic}),a.d(o,"l",function(){return Fa}),a.d(o,"m",function(){return Zn}),a.d(o,"n",function(){return Eu}),a.d(o,"o",function(){return ie}),a.d(o,"p",function(){return w}),a.d(o,"q",function(){return re}),a.d(o,"r",function(){return Xo}),a.d(o,"s",function(){return eu}),a.d(o,"t",function(){return tu}),a.d(o,"u",function(){return rc}),a.d(o,"v",function(){return ge}),a.d(o,"w",function(){return Pc}),a.d(o,"x",function(){return ye}),a.d(o,"y",function(){return Ic}),a.d(o,"z",function(){return pc}),a.d(o,"A",function(){return S}),a.d(o,"B",function(){return ec}),a.d(o,"C",function(){return $u}),a.d(o,"D",function(){return Ou}),a.d(o,"E",function(){return Va}),a.d(o,"F",function(){return Ma}),a.d(o,"G",function(){return La}),a.d(o,"H",function(){return za}),a.d(o,"I",function(){return Mr}),a.d(o,"J",function(){return st}),a.d(o,"K",function(){return C}),a.d(o,"L",function(){return Vc}),a.d(o,"M",function(){return ou}),a.d(o,"N",function(){return Sc}),a.d(o,"O",function(){return Fo}),a.d(o,"P",function(){return Ba}),a.d(o,"Q",function(){return au}),a.d(o,"R",function(){return Ie}),a.d(o,"S",function(){return Ac}),a.d(o,"T",function(){return dr}),a.d(o,"U",function(){return z}),a.d(o,"V",function(){return de}),a.d(o,"W",function(){return fr}),a.d(o,"X",function(){return Bc}),a.d(o,"Y",function(){return Cc}),a.d(o,"Z",function(){return nc}),a.d(o,"ab",function(){return Po}),a.d(o,"bb",function(){return wa}),a.d(o,"cb",function(){return Fr}),a.d(o,"db",function(){return gr}),a.d(o,"eb",function(){return rr}),a.d(o,"fb",function(){return or}),a.d(o,"gb",function(){return cr}),a.d(o,"hb",function(){return ar}),a.d(o,"ib",function(){return sr}),a.d(o,"jb",function(){return ur}),a.d(o,"kb",function(){return ga}),a.d(o,"lb",function(){return zc}),a.d(o,"mb",function(){return ba}),a.d(o,"nb",function(){return _a}),a.d(o,"ob",function(){return ir}),a.d(o,"pb",function(){return G}),a.d(o,"qb",function(){return us}),a.d(o,"rb",function(){return Ts}),a.d(o,"sb",function(){return xs}),a.d(o,"tb",function(){return ya}),a.d(o,"ub",function(){return dt}),a.d(o,"vb",function(){return L}),a.d(o,"wb",function(){return nr}),a.d(o,"xb",function(){return es}),a.d(o,"yb",function(){return at}),a.d(o,"zb",function(){return ja}),a.d(o,"Ab",function(){return Oi}),a.d(o,"Bb",function(){return ds}),a.d(o,"Cb",function(){return Gs}),a.d(o,"Db",function(){return ha}),a.d(o,"Eb",function(){return Zs}),a.d(o,"Fb",function(){return Hu}),a.d(o,"Gb",function(){return Re}),a.d(o,"Hb",function(){return He}),a.d(o,"Ib",function(){return I}),a.d(o,"Jb",function(){return A}),a.d(o,"Kb",function(){return Me}),a.d(o,"Lb",function(){return ze}),a.d(o,"Mb",function(){return ys}),a.d(o,"Nb",function(){return Ss}),a.d(o,"Ob",function(){return Cs}),a.d(o,"Pb",function(){return Es}),a.d(o,"Qb",function(){return ws}),a.d(o,"Rb",function(){return ks}),a.d(o,"Sb",function(){return Os}),a.d(o,"Tb",function(){return qn}),a.d(o,"Ub",function(){return fa}),a.d(o,"Vb",function(){return fe}),a.d(o,"Wb",function(){return gs}),a.d(o,"Xb",function(){return Ku}),a.d(o,"Yb",function(){return Is}),a.d(o,"Zb",function(){return qu}),a.d(o,"ac",function(){return un}),a.d(o,"bc",function(){return an}),a.d(o,"cc",function(){return Ds}),a.d(o,"dc",function(){return wu}),a.d(o,"ec",function(){return Su}),a.d(o,"fc",function(){return Ms}),a.d(o,"gc",function(){return Ps}),a.d(o,"hc",function(){return bs}),a.d(o,"ic",function(){return Ls}),a.d(o,"jc",function(){return Vs}),a.d(o,"kc",function(){return gu}),a.d(o,"lc",function(){return bu}),a.d(o,"mc",function(){return Pu}),a.d(o,"nc",function(){return ms}),a.d(o,"oc",function(){return rt}),a.d(o,"pc",function(){return nt}),a.d(o,"qc",function(){return Rt}),a.d(o,"rc",function(){return Lr}),a.d(o,"sc",function(){return Vr}),a.d(o,"tc",function(){return Le}),a.d(o,"uc",function(){return zu}),a.d(o,"vc",function(){return Mu}),a.d(o,"wc",function(){return Ks}),a.d(o,"xc",function(){return As}),a.d(o,"yc",function(){return da}),a.d(o,"zc",function(){return ps}),a.d(o,"Ac",function(){return aa}),a.d(o,"Bc",function(){return ua}),a.d(o,"Cc",function(){return ca}),a.d(o,"Dc",function(){return la}),a.d(o,"Ec",function(){return Lu});var u=a("XNiG"),c=a("quSY"),l=a("HDdC"),d=a("VRyK"),p=a("w1tV");function y(e){return{toString:e}.toString()}function _(e,t,r){return y(function(){var i=function(e){return function(){if(e){var t=e.apply(void 0,arguments);for(var n in t)this[n]=t[n]}}}(t);function o(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];if(this instanceof o)return i.apply(this,t),this;var s=n(o,t);return a.annotation=s,a;function a(e,t,n){for(var r=e.hasOwnProperty("__parameters__")?e.__parameters__:Object.defineProperty(e,"__parameters__",{value:[]}).__parameters__;r.length<=n;)r.push(null);return(r[n]=r[n]||[]).push(s),e}}return r&&(o.prototype=Object.create(r.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var w=_("Inject",function(e){return{token:e}}),S=_("Optional"),E=_("Self"),C=_("SkipSelf"),O=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 x(e){for(var t in e)if(e[t]===x)return t;throw Error("Could not find renamed property on target object.")}function T(e,t){for(var n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function I(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function A(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}function j(e){return N(e,D)||N(e,P)}function N(e,t){return e.hasOwnProperty(t)?e[t]:null}function R(e){return e&&(e.hasOwnProperty(F)||e.hasOwnProperty(M))?e[F]:null}var D=x({"\u0275prov":x}),F=x({"\u0275inj":x}),P=x({ngInjectableDef:x}),M=x({ngInjectorDef:x});function L(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(L).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;var t=e.toString();if(null==t)return""+t;var n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function V(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}var H=x({__forward_ref__:x});function z(e){return e.__forward_ref__=z,e.toString=function(){return L(this())},e}function B(e){return q(e)?e():e}function q(e){return"function"==typeof e&&e.hasOwnProperty(H)&&e.__forward_ref__===z}var Q,U="undefined"!=typeof globalThis&&globalThis,W="undefined"!=typeof window&&window,K="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Z="undefined"!=typeof global&&global,G=U||Z||W||K,X=x({"\u0275cmp":x}),Y=x({"\u0275dir":x}),J=x({"\u0275pipe":x}),$=x({"\u0275mod":x}),ee=x({"\u0275loc":x}),te=x({"\u0275fac":x}),ne=x({__NG_ELEMENT_ID__:x}),re=function(){function e(t,n){b(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=I({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}return k(e,[{key:"toString",value:function(){return"InjectionToken "+this._desc}}]),e}(),ie=new re("INJECTOR",-1),oe={},se=/\n/gm,ae=x({provide:String,useValue:x}),ue=void 0;function ce(e){var t=ue;return ue=e,t}function le(e){var t=Q;return Q=e,t}function he(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:O.Default;if(void 0===ue)throw new Error("inject() must be called from an injection context");return null===ue?ve(e,void 0,t):ue.get(e,t&O.Optional?null:void 0,t)}function fe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:O.Default;return(Q||he)(B(e),t)}var de=fe;function ve(e,t,n){var r=j(e);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&O.Optional)return null;if(void 0!==t)return t;throw new Error("Injector: NOT_FOUND [".concat(L(e),"]"))}function pe(e){for(var t=[],n=0;n<e.length;n++){var r=B(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");for(var i=void 0,o=O.Default,s=0;s<r.length;s++){var a=r[s];a instanceof S||"Optional"===a.ngMetadataName||a===S?o|=O.Optional:a instanceof C||"SkipSelf"===a.ngMetadataName||a===C?o|=O.SkipSelf:a instanceof E||"Self"===a.ngMetadataName||a===E?o|=O.Self:i=a instanceof w||a===w?a.token:a}t.push(fe(i,o))}else t.push(fe(r))}return t}var me=function(){function e(){b(this,e)}return k(e,[{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:oe;if(t===oe){var n=new Error("NullInjectorError: No provider for ".concat(L(e),"!"));throw n.name="NullInjectorError",n}return t}}]),e}(),ye=function e(){b(this,e)},ge=function e(){b(this,e)};function be(e,t){void 0===t&&(t=e);for(var n=0;n<e.length;n++){var r=e[n];Array.isArray(r)?(t===e&&(t=e.slice(0,n)),be(r,t)):t!==e&&t.push(r)}return t}function _e(e,t){e.forEach(function(e){return Array.isArray(e)?_e(e,t):t(e)})}function ke(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function we(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Se(e,t){for(var n=[],r=0;r<e;r++)n.push(t);return n}function Ee(e,t,n){var r=Oe(e,t);return r>=0?e[1|r]=n:function(e,t,n,r){var i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r=~r,t,n),r}function Ce(e,t){var n=Oe(e,t);if(n>=0)return e[1|n]}function Oe(e,t){return function(e,t,n){for(var r=0,i=e.length>>1;i!==r;){var o=r+(i-r>>1),s=e[o<<1];if(t===s)return o<<1;s>t?i=o:r=o+1}return~(i<<1)}(e,t)}var xe,Te=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}({}),Ie=((xe={})[xe.Emulated=0]="Emulated",xe[xe.None=2]="None",xe[xe.ShadowDom=3]="ShadowDom",xe),Ae={},je=[],Ne=0;function Re(e){return y(function(){var t={},n={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:t,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Te.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||je,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Ie.Emulated,id:"c",styles:e.styles||je,_:null,setInput:null,schemas:e.schemas||null,tView:null},r=e.directives,i=e.features,o=e.pipes;return n.id+=Ne++,n.inputs=Ve(e.inputs,t),n.outputs=Ve(e.outputs),i&&i.forEach(function(e){return e(n)}),n.directiveDefs=r?function(){return("function"==typeof r?r():r).map(De)}:null,n.pipeDefs=o?function(){return("function"==typeof o?o():o).map(Fe)}:null,n})}function De(e){return Be(e)||function(e){return e[Y]||null}(e)}function Fe(e){return function(e){return e[J]||null}(e)}var Pe={};function Me(e){var t={type:e.type,bootstrap:e.bootstrap||je,declarations:e.declarations||je,imports:e.imports||je,exports:e.exports||je,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&y(function(){Pe[e.id]=e.type}),t}function Le(e,t){return y(function(){var n=Qe(e,!0);n.declarations=t.declarations||je,n.imports=t.imports||je,n.exports=t.exports||je})}function Ve(e,t){if(null==e)return Ae;var n={};for(var r in e)if(e.hasOwnProperty(r)){var i=e[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,t&&(t[i]=o)}return n}var He=Re;function ze(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function Be(e){return e[X]||null}function qe(e,t){return e.hasOwnProperty(te)?e[te]:null}function Qe(e,t){var n=e[$]||null;if(!n&&!0===t)throw new Error("Type ".concat(L(e)," does not have '\u0275mod' property."));return n}function Ue(e){return Array.isArray(e)&&"object"==typeof e[1]}function We(e){return Array.isArray(e)&&!0===e[1]}function Ke(e){return 0!=(8&e.flags)}function Ze(e){return 2==(2&e.flags)}function Ge(e){return 1==(1&e.flags)}function Xe(e){return null!==e.template}function Ye(e){return 0!=(512&e[2])}var Je=function(e){f(n,e);var t=v(n);function n(e,r){var i;return b(this,n),(i=t.call(this,function(e,t){return"".concat(e?"NG0".concat(e,": "):"").concat(t)}(e,r))).code=e,i}return n}(t(Error));function $e(e){return"string"==typeof e?e:null==e?"":""+e}function et(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():$e(e)}var tt=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(G);function nt(e){return{name:"window",target:e.ownerDocument.defaultView}}function rt(e){return{name:"document",target:e.ownerDocument}}function it(e){return e instanceof Function?e():e}function ot(e,t){var n=t?" in "+t:"";throw new Je("201","No provider for ".concat(et(e)," found").concat(n))}var st=function(){function e(t,n,r){b(this,e),this.previousValue=t,this.currentValue=n,this.firstChange=r}return k(e,[{key:"isFirstChange",value:function(){return this.firstChange}}]),e}();function at(){return ut}function ut(e){return e.type.prototype.ngOnChanges&&(e.setInput=lt),ct}function ct(){var e=ht(this),t=null==e?void 0:e.current;if(t){var n=e.previous;if(n===Ae)e.previous=t;else for(var r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function lt(e,t,n,r){var i=ht(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:Ae,current:null}),o=i.current||(i.current={}),s=i.previous,a=this.declaredInputs[n],u=s[a];o[a]=new st(u&&u.currentValue,t,s===Ae),e[r]=t}function ht(e){return e.__ngSimpleChanges__||null}at.ngInherit=!0;var ft=void 0;function dt(e){ft=e}function vt(){return void 0!==ft?ft:"undefined"!=typeof document?document:void 0}function pt(e){return!!e.listen}var mt={createRenderer:function(e,t){return vt()}};function yt(e){for(;Array.isArray(e);)e=e[0];return e}function gt(e,t){return yt(t[e])}function bt(e,t){return yt(t[e.index])}function _t(e,t){return e.data[t]}function kt(e,t){return e[t]}function wt(e,t){var n=t[e];return Ue(n)?n:n[0]}function St(e){var t=function(e){return e.__ngContext__||null}(e);return t?Array.isArray(t)?t:t.lView:null}function Et(e){return 4==(4&e[2])}function Ct(e){return 128==(128&e[2])}function Ot(e,t){return null==t?null:e[t]}function xt(e){e[18]=0}function Tt(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 It={lFrame:$t(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function At(){return It.bindingsEnabled}function jt(){return It.lFrame.lView}function Nt(){return It.lFrame.tView}function Rt(e){It.lFrame.contextLView=e}function Dt(){for(var e=Ft();null!==e&&64===e.type;)e=e.parent;return e}function Ft(){return It.lFrame.currentTNode}function Pt(e,t){var n=It.lFrame;n.currentTNode=e,n.isParent=t}function Mt(){return It.lFrame.isParent}function Lt(){It.lFrame.isParent=!1}function Vt(){return It.isInCheckNoChangesMode}function Ht(e){It.isInCheckNoChangesMode=e}function zt(){var e=It.lFrame,t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Bt(){return It.lFrame.bindingIndex}function qt(){return It.lFrame.bindingIndex++}function Qt(e){var t=It.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Ut(e){It.lFrame.currentDirectiveIndex=e}function Wt(e){var t=It.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Kt(){return It.lFrame.currentQueryIndex}function Zt(e){It.lFrame.currentQueryIndex=e}function Gt(e){var t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Xt(e,t,n){if(n&O.SkipSelf){for(var r=t,i=e;!(null!==(r=r.parent)||n&O.Host||(r=Gt(i),null===r)||(i=i[15],10&r.type)););if(null===r)return!1;t=r,e=i}var o=It.lFrame=Jt();return o.currentTNode=t,o.lView=e,!0}function Yt(e){var t=Jt(),n=e[1];It.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Jt(){var e=It.lFrame,t=null===e?null:e.child;return null===t?$t(e):t}function $t(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 en(){var e=It.lFrame;return It.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var tn=en;function nn(){var e=en();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 rn(){return It.lFrame.selectedIndex}function on(e){It.lFrame.selectedIndex=e}function sn(){var e=It.lFrame;return _t(e.tView,e.selectedIndex)}function an(){It.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function un(){It.lFrame.currentNamespace=null}function cn(e,t){for(var n=t.directiveStart,r=t.directiveEnd;n<r;n++){var i=e.data[n].type.prototype,o=i.ngAfterContentInit,s=i.ngAfterContentChecked,a=i.ngAfterViewInit,u=i.ngAfterViewChecked,c=i.ngOnDestroy;o&&(e.contentHooks||(e.contentHooks=[])).push(-n,o),s&&((e.contentHooks||(e.contentHooks=[])).push(n,s),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,s)),a&&(e.viewHooks||(e.viewHooks=[])).push(-n,a),u&&((e.viewHooks||(e.viewHooks=[])).push(n,u),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,u)),null!=c&&(e.destroyHooks||(e.destroyHooks=[])).push(n,c)}}function ln(e,t,n){dn(e,t,3,n)}function hn(e,t,n,r){(3&e[2])===n&&dn(e,t,n,r)}function fn(e,t){var n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function dn(e,t,n,r){for(var i=null!=r?r:-1,o=0,s=void 0!==r?65535&e[18]:0;s<t.length;s++)if("number"==typeof t[s+1]){if(o=t[s],null!=r&&o>=r)break}else t[s]<0&&(e[18]+=65536),(o<i||-1==i)&&(vn(e,n,t,s),e[18]=(4294901760&e[18])+s+2),s++}function vn(e,t,n,r){var i=n[r]<0,o=n[r+1],s=e[i?-n[r]:n[r]];i?e[2]>>11<e[18]>>16&&(3&e[2])===t&&(e[2]+=2048,o.call(s)):o.call(s)}var pn=function e(t,n,r){b(this,e),this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r};function mn(e,t,n){for(var r=pt(e),i=0;i<n.length;){var o=n[i];if("number"==typeof o){if(0!==o)break;i++;var s=n[i++],a=n[i++],u=n[i++];r?e.setAttribute(t,a,u,s):t.setAttributeNS(s,a,u)}else{var c=o,l=n[++i];gn(c)?r&&e.setProperty(t,c,l):r?e.setAttribute(t,c,l):t.setAttribute(c,l),i++}}return i}function yn(e){return 3===e||4===e||6===e}function gn(e){return 64===e.charCodeAt(0)}function bn(e,t){if(null===t||0===t.length);else 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||_n(e,n,i,null,-1===n||2===n?t[++r]:null)}return e}function _n(e,t,n,r,i){var o=0,s=e.length;if(-1===t)s=-1;else for(;o<e.length;){var a=e[o++];if("number"==typeof a){if(a===t){s=-1;break}if(a>t){s=o-1;break}}}for(;o<e.length;){var u=e[o];if("number"==typeof u)break;if(u===n){if(null===r)return void(null!==i&&(e[o+1]=i));if(r===e[o+1])return void(e[o+2]=i)}o++,null!==r&&o++,null!==i&&o++}-1!==s&&(e.splice(s,0,t),o=s+1),e.splice(o++,0,n),null!==r&&e.splice(o++,0,r),null!==i&&e.splice(o++,0,i)}function kn(e){return-1!==e}function wn(e){return 32767&e}function Sn(e,t){for(var n=e>>16,r=t;n>0;)r=r[15],n--;return r}var En=!0;function Cn(e){var t=En;return En=e,t}var On=0;function xn(e,t){var n=In(e,t);if(-1!==n)return n;var r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Tn(r.data,e),Tn(t,null),Tn(r.blueprint,null));var i=An(e,t),o=e.injectorIndex;if(kn(i))for(var s=wn(i),a=Sn(i,t),u=a[1].data,c=0;c<8;c++)t[o+c]=a[s+c]|u[s+c];return t[o+8]=i,o}function Tn(e,t){e.push(0,0,0,0,0,0,0,0,t)}function In(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function An(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;for(var n=0,r=null,i=t;null!==i;){var o=i[1],s=o.type;if(null===(r=2===s?o.declTNode:1===s?i[6]:null))return-1;if(n++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function jn(e,t,n){!function(e,t,n){var r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(ne)&&(r=n[ne]),null==r&&(r=n[ne]=On++);var i=255&r,o=1<<i,s=64&i,a=32&i,u=t.data;128&i?s?a?u[e+7]|=o:u[e+6]|=o:a?u[e+5]|=o:u[e+4]|=o:s?a?u[e+3]|=o:u[e+2]|=o:a?u[e+1]|=o:u[e]|=o}(e,t,n)}function Nn(e,t,n){if(n&O.Optional)return e;ot(t,"NodeInjector")}function Rn(e,t,n,r){if(n&O.Optional&&void 0===r&&(r=null),0==(n&(O.Self|O.Host))){var i=e[9],o=le(void 0);try{return i?i.get(t,r,n&O.Optional):ve(t,r,n&O.Optional)}finally{le(o)}}return Nn(r,t,n)}function Dn(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:O.Default,i=arguments.length>4?arguments[4]:void 0;if(null!==e){var o=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;var t=e.hasOwnProperty(ne)?e[ne]:void 0;return"number"==typeof t&&t>0?255&t:t}(n);if("function"==typeof o){if(!Xt(t,e,r))return Rn(t,n,r,i);try{var s=o();if(null!=s||r&O.Optional)return s;ot(n)}finally{tn()}}else if("number"==typeof o){if(-1===o){if(!Xt(t,e,r))return r&O.Host?Nn(i,n,r):Rn(t,n,r,i);try{return new zn(Dt(),jt())}finally{tn()}}var a=null,u=In(e,t),c=-1,l=r&O.Host?t[16][6]:null;for((-1===u||r&O.SkipSelf)&&(-1!==(c=-1===u?An(e,t):t[u+8])&&Hn(r,!1)?(a=t[1],u=wn(c),t=Sn(c,t)):u=-1);-1!==u;){var h=t[1];if(Vn(o,u,h.data)){var f=Pn(u,t,n,a,r,l);if(f!==Fn)return f}-1!==(c=t[u+8])&&Hn(r,t[1].data[u+8]===l)&&Vn(o,u,t)?(a=h,u=wn(c),t=Sn(c,t)):u=-1}}}return Rn(t,n,r,i)}var Fn={};function Pn(e,t,n,r,i,o){var s=t[1],a=s.data[e+8],u=Mn(a,s,n,null==r?Ze(a)&&En:r!=s&&0!=(3&a.type),i&O.Host&&o===a);return null!==u?Ln(t,s,u,a):Fn}function Mn(e,t,n,r,i){for(var o=e.providerIndexes,s=t.data,a=1048575&o,u=e.directiveStart,c=o>>20,l=i?a+c:e.directiveEnd,h=r?a:a+c;h<l;h++){var f=s[h];if(h<u&&n===f||h>=u&&f.type===n)return h}if(i){var d=s[u];if(d&&Xe(d)&&d.type===n)return u}return null}function Ln(e,t,n,r){var i=e[n],o=t.data;if(i instanceof pn){var s=i;s.resolving&&function(e,t){throw new Je("200","Circular dependency in DI detected for "+e)}(et(o[n]));var a=Cn(s.canSeeViewProviders);s.resolving=!0;var u=s.injectImpl?le(s.injectImpl):null;Xt(e,r,O.Default);try{i=e[n]=s.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&function(e,t,n){var r=t.type.prototype,i=r.ngOnChanges,o=r.ngOnInit,s=r.ngDoCheck;if(i){var a=ut(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,a)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s))}(n,o[n],t)}finally{null!==u&&le(u),Cn(a),s.resolving=!1,tn()}}return i}function Vn(e,t,n){var r=64&e,i=32&e;return!!((128&e?r?i?n[t+7]:n[t+6]:i?n[t+5]:n[t+4]:r?i?n[t+3]:n[t+2]:i?n[t+1]:n[t])&1<<e)}function Hn(e,t){return!(e&O.Self||e&O.Host&&t)}var zn=function(){function e(t,n){b(this,e),this._tNode=t,this._lView=n}return k(e,[{key:"get",value:function(e,t){return Dn(this._tNode,this._lView,e,void 0,t)}}]),e}();function Bn(e){var t=e;if(q(e))return function(){var e=Bn(B(t));return e?e():null};var n=qe(t);if(null===n){var r=R(t);n=r&&r.factory}return n||null}function qn(e){return y(function(){for(var t=e.prototype.constructor,n=t[te]||Bn(t),r=Object.prototype,i=Object.getPrototypeOf(e.prototype).constructor;i&&i!==r;){var o=i[te]||Bn(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return function(e){return new e}})}function Qn(e){return e.ngDebugContext}function Un(e){return e.ngOriginalError}function Wn(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 Kn,Zn=function(){function e(){b(this,e),this._console=console}return k(e,[{key:"handleError",value:function(e){var t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e.ngErrorLogger||Wn}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)}},{key:"_findContext",value:function(e){return e?Qn(e)?Qn(e):this._findContext(Un(e)):null}},{key:"_findOriginalError",value:function(e){for(var t=Un(e);t&&Un(t);)t=Un(t);return t}}]),e}();function Gn(e){var t;return(null===(t=function(){if(void 0===Kn&&(Kn=null,G.trustedTypes))try{Kn=G.trustedTypes.createPolicy("angular",{createHTML:function(e){return e},createScript:function(e){return e},createScriptURL:function(e){return e}})}catch(t){}return Kn}())||void 0===t?void 0:t.createHTML(e))||e}var Xn=function(){function e(t){b(this,e),this.changingThisBreaksApplicationSecurity=t}return k(e,[{key:"toString",value:function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"}}]),e}(),Yn=function(e){f(n,e);var t=v(n);function n(){return b(this,n),t.apply(this,arguments)}return k(n,[{key:"getTypeName",value:function(){return"HTML"}}]),n}(Xn),Jn=function(e){f(n,e);var t=v(n);function n(){return b(this,n),t.apply(this,arguments)}return k(n,[{key:"getTypeName",value:function(){return"Style"}}]),n}(Xn),$n=function(e){f(n,e);var t=v(n);function n(){return b(this,n),t.apply(this,arguments)}return k(n,[{key:"getTypeName",value:function(){return"Script"}}]),n}(Xn),er=function(e){f(n,e);var t=v(n);function n(){return b(this,n),t.apply(this,arguments)}return k(n,[{key:"getTypeName",value:function(){return"URL"}}]),n}(Xn),tr=function(e){f(n,e);var t=v(n);function n(){return b(this,n),t.apply(this,arguments)}return k(n,[{key:"getTypeName",value:function(){return"ResourceURL"}}]),n}(Xn);function nr(e){return e instanceof Xn?e.changingThisBreaksApplicationSecurity:e}function rr(e,t){var n=ir(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 http://g.co/ng/security#xss)"))}return n===t}function ir(e){return e instanceof Xn&&e.getTypeName()||null}function or(e){return new Yn(e)}function sr(e){return new Jn(e)}function ar(e){return new $n(e)}function ur(e){return new er(e)}function cr(e){return new tr(e)}var lr=!0,hr=!1;function fr(){return hr=!0,lr}function dr(){if(hr)throw new Error("Cannot enable prod mode after platform setup.");lr=!1}var vr=function(){function e(){b(this,e)}return k(e,[{key:"getInertBodyElement",value:function(e){e="<body><remove></remove>"+e;try{var t=(new window.DOMParser).parseFromString(Gn(e),"text/html").body;return t.removeChild(t.firstChild),t}catch(n){return null}}}]),e}(),pr=function(){function e(t){if(b(this,e),this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){var n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);var r=this.inertDocument.createElement("body");n.appendChild(r)}}return k(e,[{key:"getInertBodyElement",value:function(e){var t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=Gn(e),t;var n=this.inertDocument.createElement("body");return n.innerHTML=Gn(e),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}},{key:"stripCustomNsAttrs",value:function(e){for(var t=e.attributes,n=t.length-1;0<n;n--){var r=t.item(n).name;"xmlns:ns1"!==r&&0!==r.indexOf("ns1:")||e.removeAttribute(r)}for(var i=e.firstChild;i;)i.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(i),i=i.nextSibling}}]),e}(),mr=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,yr=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function gr(e){return(e=String(e)).match(mr)||e.match(yr)?e:(fr()&&console.warn("WARNING: sanitizing unsafe URL value ".concat(e," (see http://g.co/ng/security#xss)")),"unsafe:"+e)}function br(e){var t,n={},i=r(e.split(","));try{for(i.s();!(t=i.n()).done;){n[t.value]=!0}}catch(o){i.e(o)}finally{i.f()}return n}function _r(){for(var e={},t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];for(var i=0,o=n;i<o.length;i++){var s=o[i];for(var a in s)s.hasOwnProperty(a)&&(e[a]=!0)}return e}var kr,wr=br("area,br,col,hr,img,wbr"),Sr=br("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Er=br("rp,rt"),Cr=_r(Er,Sr),Or=_r(wr,_r(Sr,br("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),_r(Er,br("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Cr),xr=br("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Tr=br("srcset"),Ir=_r(xr,Tr,br("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),br("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),Ar=br("script,style,template"),jr=function(){function e(){b(this,e),this.sanitizedSomething=!1,this.buf=[]}return k(e,[{key:"sanitizeChildren",value:function(e){for(var t=e.firstChild,n=!0;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);var r=this.checkClobberedElement(t,t.nextSibling);if(r){t=r;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}},{key:"startElement",value:function(e){var t=e.nodeName.toLowerCase();if(!Or.hasOwnProperty(t))return this.sanitizedSomething=!0,!Ar.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);for(var n,r=e.attributes,i=0;i<r.length;i++){var o=r.item(i),s=o.name,a=s.toLowerCase();if(Ir.hasOwnProperty(a)){var u=o.value;xr[a]&&(u=gr(u)),Tr[a]&&(n=u,u=(n=String(n)).split(",").map(function(e){return gr(e.trim())}).join(", ")),this.buf.push(" ",s,'="',Dr(u),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0}},{key:"endElement",value:function(e){var t=e.nodeName.toLowerCase();Or.hasOwnProperty(t)&&!wr.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}},{key:"chars",value:function(e){this.buf.push(Dr(e))}},{key:"checkClobberedElement",value:function(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+e.outerHTML);return t}}]),e}(),Nr=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Rr=/([^\#-~ |!])/g;function Dr(e){return e.replace(/&/g,"&amp;").replace(Nr,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(Rr,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Fr(e,t){var n=null;try{kr=kr||function(e){return function(){try{return!!(new window.DOMParser).parseFromString(Gn(""),"text/html")}catch(e){return!1}}()?new vr:new pr(e)}(e);var r=t?String(t):"";n=kr.getInertBodyElement(r);var i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=n.innerHTML,n=kr.getInertBodyElement(r)}while(r!==o);var s=new jr,a=s.sanitizeChildren(Pr(n)||n);return fr()&&s.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),a}finally{if(n)for(var u=Pr(n)||n;u.firstChild;)u.removeChild(u.firstChild)}}function Pr(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Mr=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 Lr(e){var t=Hr();return t?t.sanitize(Mr.HTML,e)||"":rr(e,"HTML")?nr(e):Fr(vt(),$e(e))}function Vr(e){var t=Hr();return t?t.sanitize(Mr.URL,e)||"":rr(e,"URL")?nr(e):gr($e(e))}function Hr(){var e=jt();return e&&e[12]}function zr(e,t){e.__ngContext__=t}function Br(e,t){return(void 0)(e,t)}function qr(e){var t=e[3];return We(t)?t[3]:t}function Qr(e){return Wr(e[13])}function Ur(e){return Wr(e[4])}function Wr(e){for(;null!==e&&!We(e);)e=e[4];return e}function Kr(e,t,n,r,i){if(null!=r){var o,s=!1;We(r)?o=r:Ue(r)&&(s=!0,r=r[0]);var a=yt(r);0===e&&null!==n?null==i?ti(t,n,a):ei(t,n,a,i||null,!0):1===e&&null!==n?ei(t,n,a,i||null,!0):2===e?function(e,t,n){var r=ri(e,t);r&&function(e,t,n,r){pt(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=o&&function(e,t,n,r,i){var o=n[7];o!==yt(n)&&Kr(t,e,r,o,i);for(var s=10;s<n.length;s++){var a=n[s];li(a[1],a,e,t,r,o)}}(t,e,o,n,i)}}function Zr(e,t,n){return pt(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function Gr(e,t){var n=e[9],r=n.indexOf(t),i=t[3];1024&t[2]&&(t[2]&=-1025,Tt(i,-1)),n.splice(r,1)}function Xr(e,t){if(!(e.length<=10)){var n,r=10+t,i=e[r];if(i){var o=i[17];null!==o&&o!==e&&Gr(o,i),t>0&&(e[r-1][4]=i[4]);var s=we(e,10+t);li(i[1],n=i,n[11],2,null,null),n[0]=null,n[6]=null;var a=s[19];null!==a&&a.detachView(s[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}}function Yr(e,t){if(!(256&t[2])){var n=t[11];pt(n)&&n.destroyNode&&li(e,t,n,3,null,null),function(e){var t=e[13];if(!t)return Jr(e[1],e);for(;t;){var n=null;if(Ue(t))n=t[13];else{var r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)Ue(t)&&Jr(t[1],t),t=t[3];null===t&&(t=e),Ue(t)&&Jr(t[1],t),n=t&&t[4]}t=n}}(t)}}function Jr(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 pn)){var o=n[r+1];if(Array.isArray(o))for(var s=0;s<o.length;s+=2)o[s+1].call(i[o[s]]);else o.call(i)}}}(e,t),function(e,t){var n=e.cleanup;if(null!==n){for(var r=t[7],i=0;i<n.length-1;i+=2)if("string"==typeof n[i]){var o=n[i+1],s="function"==typeof o?o(t):yt(t[o]),a=r[n[i+2]],u=n[i+3];"boolean"==typeof u?s.removeEventListener(n[i],a,u):u>=0?r[u]():r[-u].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);t[7]=null}}(e,t),1===t[1].type&&pt(t[11])&&t[11].destroy();var n=t[17];if(null!==n&&We(t[3])){n!==t[3]&&Gr(n,t);var r=t[19];null!==r&&r.detachView(e)}}}function $r(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,o=i[i[r.index].directiveStart].encapsulation;if(o===Ie.None||o===Ie.Emulated)return null}return bt(r,n)}(e,t.parent,n)}function ei(e,t,n,r,i){pt(e)?e.insertBefore(t,n,r,i):t.insertBefore(n,r,i)}function ti(e,t,n){pt(e)?e.appendChild(t,n):t.appendChild(n)}function ni(e,t,n,r,i){null!==r?ei(e,t,n,r,i):ti(e,t,n)}function ri(e,t){return pt(e)?e.parentNode(t):t.parentNode}function ii(e,t,n){return oi(e,t,n)}var oi=function(e,t,n){return 40&e.type?bt(e,n):null};function si(e,t,n,r){var i=$r(e,r,t),o=t[11],s=ii(r.parent||t[6],r,t);if(null!=i)if(Array.isArray(n))for(var a=0;a<n.length;a++)ni(o,i,n[a],s,!1);else ni(o,i,n,s,!1)}function ai(e,t){if(null!==t){var n=t.type;if(3&n)return bt(t,e);if(4&n)return ui(-1,e[t.index]);if(8&n){var r=t.child;if(null!==r)return ai(e,r);var i=e[t.index];return We(i)?ui(-1,i):yt(i)}if(32&n)return Br(t,e)()||yt(e[t.index]);var o=e[16],s=o[6],a=qr(o),u=s.projection[t.projection];return null!=u?ai(a,u):ai(e,t.next)}return null}function ui(e,t){var n=10+e+1;if(n<t.length){var r=t[n],i=r[1].firstChild;if(null!==i)return ai(r,i)}return t[7]}function ci(e,t,n,r,i,o,s){for(;null!=n;){var a=r[n.index],u=n.type;if(s&&0===t&&(a&&zr(yt(a),r),n.flags|=4),64!=(64&n.flags))if(8&u)ci(e,t,n.child,r,i,o,!1),Kr(t,e,i,a,o);else if(32&u){for(var c=Br(n,r),l=void 0;l=c();)Kr(t,e,i,l,o);Kr(t,e,i,a,o)}else 16&u?hi(e,t,r,n,i,o):Kr(t,e,i,a,o);n=s?n.projectionNext:n.next}}function li(e,t,n,r,i,o){ci(n,r,e.firstChild,t,i,o,!1)}function hi(e,t,n,r,i,o){var s=n[16],a=s[6].projection[r.projection];if(Array.isArray(a))for(var u=0;u<a.length;u++)Kr(t,e,i,a[u],o);else ci(e,t,a,s[3],i,o,!0)}function fi(e,t,n){pt(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function di(e,t,n){pt(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function vi(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 o=t.length;if(i+o===r||e.charCodeAt(i+o)<=32)return i}n=i+1}}function pi(e,t,n){for(var r=0;r<e.length;){var i=e[r++];if(n&&"class"===i){if(-1!==vi((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 mi(e){return 4===e.type&&"ng-template"!==e.value}function yi(e,t,n){return t===(4!==e.type||n?e.value:"ng-template")}function gi(e,t,n){for(var r=4,i=e.attrs||[],o=function(e){for(var t=0;t<e.length;t++)if(yn(e[t]))return t;return e.length}(i),s=!1,a=0;a<t.length;a++){var u=t[a];if("number"!=typeof u){if(!s)if(4&r){if(r=2|1&r,""!==u&&!yi(e,u,n)||""===u&&1===t.length){if(bi(r))return!1;s=!0}}else{var c=8&r?u:t[++a];if(8&r&&null!==e.attrs){if(!pi(e.attrs,c,n)){if(bi(r))return!1;s=!0}continue}var l=_i(8&r?"class":u,i,mi(e),n);if(-1===l){if(bi(r))return!1;s=!0;continue}if(""!==c){var h;h=l>o?"":i[l+1].toLowerCase();var f=8&r?h:null;if(f&&-1!==vi(f,c,0)||2&r&&c!==h){if(bi(r))return!1;s=!0}}}}else{if(!s&&!bi(r)&&!bi(u))return!1;if(s&&bi(u))continue;s=!1,r=u|1&r}}return bi(r)||s}function bi(e){return 0==(1&e)}function _i(e,t,n,r){if(null===t)return-1;var i=0;if(r||!n){for(var o=!1;i<t.length;){var s=t[i];if(s===e)return i;if(3===s||6===s)o=!0;else{if(1===s||2===s){for(var a=t[++i];"string"==typeof a;)a=t[++i];continue}if(4===s)break;if(0===s){i+=4;continue}}i+=o?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 ki(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=0;r<t.length;r++)if(gi(e,t[r],n))return!0;return!1}function wi(e,t){e:for(var n=0;n<t.length;n++){var r=t[n];if(e.length===r.length){for(var i=0;i<e.length;i++)if(e[i]!==r[i])continue e;return!0}}return!1}function Si(e,t){return e?":not("+t.trim()+")":t}function Ei(e){for(var t=e[0],n=1,r=2,i="",o=!1;n<e.length;){var s=e[n];if("string"==typeof s)if(2&r){var a=e[++n];i+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""===i||bi(s)||(t+=Si(o,i),i=""),r=s,o=o||!bi(r);n++}return""!==i&&(t+=Si(o,i)),t}var Ci={};function Oi(e){xi(Nt(),jt(),rn()+e,Vt())}function xi(e,t,n,r){if(!r)if(3==(3&t[2])){var i=e.preOrderCheckHooks;null!==i&&ln(t,i,n)}else{var o=e.preOrderHooks;null!==o&&hn(t,o,0,n)}on(n)}function Ti(e,t){return e<<17|t<<2}function Ii(e){return e>>17&32767}function Ai(e){return 2|e}function ji(e){return(131068&e)>>2}function Ni(e,t){return-131069&e|t<<2}function Ri(e){return 1|e}function Di(e,t){var n=e.contentQueries;if(null!==n)for(var r=0;r<n.length;r+=2){var i=n[r],o=n[r+1];if(-1!==o){var s=e.data[o];Zt(i),s.contentQueries(2,t[o],o)}}}function Fi(e,t,n,r,i,o,s,a,u,c){var l=t.blueprint.slice();return l[0]=i,l[2]=140|r,xt(l),l[3]=l[15]=e,l[8]=n,l[10]=s||e&&e[10],l[11]=a||e&&e[11],l[12]=u||e&&e[12]||null,l[9]=c||e&&e[9]||null,l[6]=o,l[16]=2==t.type?e[16]:l,l}function Pi(e,t,n,r,i){var o,s,a=e.data[t];if(null===a)a=function(e,t,n,r,i){var o=Ft(),s=Mt(),a=e.data[t]=Zi(0,s?o:o&&o.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=a),null!==o&&(s?null==o.child&&null!==a.parent&&(o.child=a):null===o.next&&(o.next=a)),a}(e,t,n,r,i),It.lFrame.inI18n&&(a.flags|=64);else if(64&a.type){a.type=n,a.value=r,a.attrs=i;var u=(o=It.lFrame,s=o.currentTNode,o.isParent?s:s.parent);a.injectorIndex=null===u?-1:u.injectorIndex}return Pt(a,!0),a}function Mi(e,t,n,r){if(0===n)return-1;for(var i=t.length,o=0;o<n;o++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function Li(e,t,n){Yt(t);try{var r=e.viewQuery;null!==r&&mo(1,r,n);var i=e.template;null!==i&&zi(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Di(e,t),e.staticViewQueries&&mo(2,e.viewQuery,n);var o=e.components;null!==o&&function(e,t){for(var n=0;n<t.length;n++)lo(e,t[n])}(t,o)}catch(s){throw e.firstCreatePass&&(e.incompleteFirstPass=!0),s}finally{t[2]&=-5,nn()}}function Vi(e,t,n,r){var i=t[2];if(256!=(256&i)){Yt(t);var o=Vt();try{xt(t),It.lFrame.bindingIndex=e.bindingStartIndex,null!==n&&zi(e,t,n,2,r);var s=3==(3&i);if(!o)if(s){var a=e.preOrderCheckHooks;null!==a&&ln(t,a,null)}else{var u=e.preOrderHooks;null!==u&&hn(t,u,0,null),fn(t,0)}if(function(e){for(var t=Qr(e);null!==t;t=Ur(t))if(t[2])for(var n=t[9],r=0;r<n.length;r++){var i=n[r],o=i[3];0==(1024&i[2])&&Tt(o,1),i[2]|=1024}}(t),function(e){for(var t=Qr(e);null!==t;t=Ur(t))for(var n=10;n<t.length;n++){var r=t[n],i=r[1];Ct(r)&&Vi(i,r,i.template,r[8])}}(t),null!==e.contentQueries&&Di(e,t),!o)if(s){var c=e.contentCheckHooks;null!==c&&ln(t,c)}else{var l=e.contentHooks;null!==l&&hn(t,l,1),fn(t,1)}!function(e,t){var n,r,i,o=e.hostBindingOpCodes;if(null!==o)try{for(var s=0;s<o.length;s++){var a=o[s];if(a<0)on(~a);else{var u=a,c=o[++s],l=o[++s];n=c,r=u,i=void 0,(i=It.lFrame).bindingIndex=i.bindingRootIndex=n,Ut(r),l(2,t[u])}}}finally{on(-1)}}(e,t);var h=e.components;null!==h&&function(e,t){for(var n=0;n<t.length;n++)uo(e,t[n])}(t,h);var f=e.viewQuery;if(null!==f&&mo(2,f,r),!o)if(s){var d=e.viewCheckHooks;null!==d&&ln(t,d)}else{var v=e.viewHooks;null!==v&&hn(t,v,2),fn(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),o||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,Tt(t[3],-1))}finally{nn()}}}function Hi(e,t,n,r){var i=t[10],o=!Vt(),s=Et(t);try{o&&!s&&i.begin&&i.begin(),s&&Li(e,t,r),Vi(e,t,n,r)}finally{o&&!s&&i.end&&i.end()}}function zi(e,t,n,r,i){var o=rn();try{on(-1),2&r&&t.length>20&&xi(e,t,20,Vt()),n(r,i)}finally{on(o)}}function Bi(e,t,n){if(Ke(t))for(var r=t.directiveEnd,i=t.directiveStart;i<r;i++){var o=e.data[i];o.contentQueries&&o.contentQueries(1,n[i],i)}}function qi(e,t,n){At()&&(function(e,t,n,r){var i=n.directiveStart,o=n.directiveEnd;e.firstCreatePass||xn(n,t),zr(r,t);for(var s=n.initialInputs,a=i;a<o;a++){var u=e.data[a],c=Xe(u);c&&io(t,n,u);var l=Ln(t,e,a,n);zr(l,t),null!==s&&oo(0,a-i,l,u,0,s),c&&(wt(n.index,t)[8]=l)}}(e,t,n,bt(n,t)),128==(128&n.flags)&&function(e,t,n){var r=n.directiveStart,i=n.directiveEnd,o=n.index,s=It.lFrame.currentDirectiveIndex;try{on(o);for(var a=r;a<i;a++){var u=e.data[a],c=t[a];Ut(a),null===u.hostBindings&&0===u.hostVars&&null===u.hostAttrs||$i(u,c)}}finally{on(-1),Ut(s)}}(e,t,n))}function Qi(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:bt,r=t.localNames;if(null!==r)for(var i=t.index+1,o=0;o<r.length;o+=2){var s=r[o+1],a=-1===s?n(t,e):e[s];e[i++]=a}}function Ui(e){var t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Wi(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Wi(e,t,n,r,i,o,s,a,u,c){var l=20+r,h=l+i,f=function(e,t){for(var n=[],r=0;r<t;r++)n.push(r<e?null:Ci);return n}(l,h),d="function"==typeof c?c():c;return f[1]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,l),bindingStartIndex:l,expandoStartIndex:h,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 o?o():o,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:u,consts:d,incompleteFirstPass:!1}}function Ki(e,t,n,r){var i=go(t);i.push(n),e.firstCreatePass&&function(e){return e.cleanup||(e.cleanup=[])}(e).push(r,i.length-1)}function Zi(e,t,n,r,i,o){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:o,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}}function Gi(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 Xi(e,t,n,r,i,o,s,a){var u,c,l=bt(t,n),h=t.inputs;!a&&null!=h&&(u=h[r])?(ko(e,n,u,r,i),Ze(t)&&function(e,t){var n=wt(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3&t.type&&(r="class"===(c=r)?"className":"for"===c?"htmlFor":"formaction"===c?"formAction":"innerHtml"===c?"innerHTML":"readonly"===c?"readOnly":"tabindex"===c?"tabIndex":c,i=null!=s?s(i,t.value||"",r):i,pt(o)?o.setProperty(l,r,i):gn(r)||(l.setProperty?l.setProperty(r,i):l[r]=i))}function Yi(e,t,n,r){var i=!1;if(At()){var o=function(e,t,n){var r=e.directiveRegistry,i=null;if(r)for(var o=0;o<r.length;o++){var s=r[o];ki(n,s.selectors,!1)&&(i||(i=[]),jn(xn(n,t),e,s.type),Xe(s)?(eo(e,n),i.unshift(s)):i.push(s))}return i}(e,t,n),s=null===r?null:{"":-1};if(null!==o){i=!0,no(n,e.data.length,o.length);for(var a=0;a<o.length;a++){var u=o[a];u.providersResolver&&u.providersResolver(u)}for(var c=!1,l=!1,h=Mi(e,t,o.length,null),f=0;f<o.length;f++){var d=o[f];n.mergedAttrs=bn(n.mergedAttrs,d.hostAttrs),ro(e,n,t,h,d),to(h,d,s),null!==d.contentQueries&&(n.flags|=8),null===d.hostBindings&&null===d.hostAttrs&&0===d.hostVars||(n.flags|=128);var v=d.type.prototype;!c&&(v.ngOnChanges||v.ngOnInit||v.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),c=!0),l||!v.ngOnChanges&&!v.ngDoCheck||((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),l=!0),h++}!function(e,t){for(var n=t.directiveEnd,r=e.data,i=t.attrs,o=[],s=null,a=null,u=t.directiveStart;u<n;u++){var c=r[u],l=c.inputs,h=null===i||mi(t)?null:so(l,i);o.push(h),s=Gi(l,u,s),a=Gi(c.outputs,u,a)}null!==s&&(s.hasOwnProperty("class")&&(t.flags|=16),s.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=o,t.inputs=s,t.outputs=a}(e,n)}s&&function(e,t,n){if(t)for(var r=e.localNames=[],i=0;i<t.length;i+=2){var o=n[t[i+1]];if(null==o)throw new Je("301","Export of name '".concat(t[i+1],"' not found!"));r.push(t[i],o)}}(n,r,s)}return n.mergedAttrs=bn(n.mergedAttrs,n.attrs),i}function Ji(e,t,n,r,i,o){var s=o.hostBindings;if(s){var a=e.hostBindingOpCodes;null===a&&(a=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})(a)!=u&&a.push(u),a.push(r,i,s)}}function $i(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function eo(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function to(e,t,n){if(n){if(t.exportAs)for(var r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Xe(t)&&(n[""]=e)}}function no(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function ro(e,t,n,r,i){e.data[r]=i;var o=i.factory||(i.factory=qe(i.type)),s=new pn(o,Xe(i),null);e.blueprint[r]=s,n[r]=s,Ji(e,t,0,r,Mi(e,n,i.hostVars,Ci),i)}function io(e,t,n){var r=bt(t,e),i=Ui(n),o=e[10],s=ho(e,Fi(e,i,null,n.onPush?64:16,r,t,o,o.createRenderer(r,n),null,null));e[t.index]=s}function oo(e,t,n,r,i,o){var s=o[t];if(null!==s)for(var a=r.setInput,u=0;u<s.length;){var c=s[u++],l=s[u++],h=s[u++];null!==a?r.setInput(n,h,c,l):n[l]=h}}function so(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 ao(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function uo(e,t){var n=wt(t,e);if(Ct(n)){var r=n[1];80&n[2]?Vi(r,n,r.template,n[8]):n[5]>0&&co(n)}}function co(e){for(var t=Qr(e);null!==t;t=Ur(t))for(var n=10;n<t.length;n++){var r=t[n];if(1024&r[2]){var i=r[1];Vi(i,r,i.template,r[8])}else r[5]>0&&co(r)}var o=e[1].components;if(null!==o)for(var s=0;s<o.length;s++){var a=wt(o[s],e);Ct(a)&&a[5]>0&&co(a)}}function lo(e,t){var n=wt(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),Li(r,n,n[8])}function ho(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function fo(e){for(;e;){e[2]|=64;var t=qr(e);if(Ye(e)&&!t)return e;e=t}return null}function vo(e,t,n){var r=t[10];r.begin&&r.begin();try{Vi(e,t,e.template,n)}catch(i){throw _o(t,i),i}finally{r.end&&r.end()}}function po(e){!function(e){for(var t=0;t<e.components.length;t++){var n=e.components[t],r=St(n),i=r[1];Hi(i,r,i.template,n)}}(e[8])}function mo(e,t,n){Zt(0),t(e,n)}var yo=Promise.resolve(null);function go(e){return e[7]||(e[7]=[])}function bo(e,t,n){return(null===e||Xe(e))&&(n=function(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function _o(e,t){var n=e[9],r=n?n.get(Zn,null):null;r&&r.handleError(t)}function ko(e,t,n,r,i){for(var o=0;o<n.length;){var s=n[o++],a=n[o++],u=t[s],c=e.data[s];null!==c.setInput?c.setInput(u,i,r,a):u[a]=i}}function wo(e,t,n){var r=gt(t,e);!function(e,t,n){pt(e)?e.setValue(t,n):t.textContent=n}(e[11],r,n)}var So,Eo,Co,Oo=function(){function e(t,n){b(this,e),this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._viewContainerRef=null}return k(e,[{key:"destroy",value:function(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){var e=this._viewContainerRef.indexOf(this);e>-1&&this._viewContainerRef.detach(e),this._viewContainerRef=null}Yr(this._lView[1],this._lView)}},{key:"onDestroy",value:function(e){Ki(this._lView[1],this._lView,null,e)}},{key:"markForCheck",value:function(){fo(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){vo(this._lView[1],this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function(e,t,n){Ht(!0);try{vo(e,t,n)}finally{Ht(!1)}}(this._lView[1],this._lView,this.context)}},{key:"attachToViewContainerRef",value:function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}},{key:"detachFromAppRef",value:function(){var e;this._appRef=null,li(this._lView[1],e=this._lView,e[11],2,null,null)}},{key:"attachToAppRef",value:function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}},{key:"rootNodes",get:function(){var e=this._lView,t=e[1];return To(t,e,t.firstChild,[])}},{key:"context",get:function(){return this._lView[8]}},{key:"destroyed",get:function(){return 256==(256&this._lView[2])}}]),e}(),xo=function(e){f(n,e);var t=v(n);function n(e){var r;return b(this,n),(r=t.call(this,e))._view=e,r}return k(n,[{key:"detectChanges",value:function(){po(this._view)}},{key:"checkNoChanges",value:function(){!function(e){Ht(!0);try{po(e)}finally{Ht(!1)}}(this._view)}},{key:"context",get:function(){return null}}]),n}(Oo);function To(e,t,n,r){for(var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];null!==n;){var s=t[n.index];if(null!==s&&r.push(yt(s)),We(s))for(var a=10;a<s.length;a++){var u=s[a],c=u[1].firstChild;null!==c&&To(u[1],u,c,r)}var l=n.type;if(8&l)To(e,t,n.child,r);else if(32&l)for(var h=Br(n,t),f=void 0;f=h();)r.push(f);else if(16&l){var d=t[16],v=d[6].projection[n.projection];if(Array.isArray(v))r.push.apply(r,i(v));else{var p=qr(d);To(p[1],p,v,r,!0)}}n=o?n.projectionNext:n.next}return r}function Io(e,t,n){return So||(So=function(e){f(n,e);var t=v(n);function n(){return b(this,n),t.apply(this,arguments)}return n}(e)),new So(bt(t,n))}function Ao(e,t,n,r){return Eo||(Eo=function(e){f(n,e);var t=v(n);function n(e,r,i){var o;return b(this,n),(o=t.call(this))._declarationView=e,o._declarationTContainer=r,o.elementRef=i,o}return k(n,[{key:"createEmbeddedView",value:function(e){var t=this._declarationTContainer.tViews,n=Fi(this._declarationView,t,e,16,null,t.declTNode,null,null,null,null);n[17]=this._declarationView[this._declarationTContainer.index];var r=this._declarationView[19];return null!==r&&(n[19]=r.createEmbeddedView(t)),Li(t,n,e),new Oo(n)}}]),n}(e)),4&n.type?new Eo(r,n,Io(t,n,r)):null}function jo(e,t,n,r){var i;Co||(Co=function(e){f(r,e);var n=v(r);function r(e,t,i){var o;return b(this,r),(o=n.call(this))._lContainer=e,o._hostTNode=t,o._hostView=i,o}return k(r,[{key:"clear",value:function(){for(;this.length>0;)this.remove(this.length-1)}},{key:"get",value:function(e){return null!==this._lContainer[8]&&this._lContainer[8][e]||null}},{key:"createEmbeddedView",value:function(e,t,n){var r=e.createEmbeddedView(t||{});return this.insert(r,n),r}},{key:"createComponent",value:function(e,t,n,r,i){var o=n||this.parentInjector;if(!i&&null==e.ngModule&&o){var s=o.get(ye,null);s&&(i=s)}var a=e.create(o,r,void 0,i);return this.insert(a.hostView,t),a}},{key:"insert",value:function(e,t){var n=e._lView,r=n[1];if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),We(n[3])){var i=this.indexOf(e);if(-1!==i)this.detach(i);else{var o=n[3],s=new Co(o,o[6],o[3]);s.detach(s.indexOf(e))}}var a=this._adjustIndex(t),u=this._lContainer;!function(e,t,n,r){var i=10+r,o=n.length;r>0&&(n[i-1][4]=t),r<o-10?(t[4]=n[i],ke(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;var s=t[17];null!==s&&n!==s&&function(e,t){var n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(s,t);var a=t[19];null!==a&&a.insertView(e),t[2]|=128}(r,n,u,a);var c=ui(a,u),l=n[11],h=ri(l,u[7]);return null!==h&&function(e,t,n,r,i,o){r[0]=i,r[6]=t,li(e,r,n,1,i,o)}(r,u[6],l,n,h,c),e.attachToViewContainerRef(this),ke(u[8],a,e),e}},{key:"move",value:function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");return this.insert(e,t)}},{key:"indexOf",value:function(e){var t=this._lContainer[8];return null!==t?t.indexOf(e):-1}},{key:"remove",value:function(e){this.allocateContainerIfNeeded();var t=this._adjustIndex(e,-1),n=Xr(this._lContainer,t);n&&(we(this._lContainer[8],t),Yr(n[1],n))}},{key:"detach",value:function(e){this.allocateContainerIfNeeded();var t=this._adjustIndex(e,-1),n=Xr(this._lContainer,t);return n&&null!=we(this._lContainer[8],t)?new Oo(n):null}},{key:"_adjustIndex",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return null==e?this.length+t:e}},{key:"allocateContainerIfNeeded",value:function(){null===this._lContainer[8]&&(this._lContainer[8]=[])}},{key:"element",get:function(){return Io(t,this._hostTNode,this._hostView)}},{key:"injector",get:function(){return new zn(this._hostTNode,this._hostView)}},{key:"parentInjector",get:function(){var e=An(this._hostTNode,this._hostView);if(kn(e)){var t=Sn(e,this._hostView),n=wn(e);return new zn(t[1].data[n+8],t)}return new zn(null,this._hostView)}},{key:"length",get:function(){return this._lContainer.length-10}}]),r}(e));var o=r[n.index];if(We(o))i=o;else{var s;if(8&n.type)s=yt(o);else if(s=r[11].createComment(""),Ye(r)){var a=r[11],u=bt(n,r);ei(a,ri(a,u),s,function(e,t){return pt(e)?e.nextSibling(t):t.nextSibling}(a,u),!1)}else{var c=Zi(0,n.parent,4,0,null,null);si(r[1],r,s,c)}r[n.index]=i=ao(o,r,s,n),ho(r,i)}return new Co(i,n,r)}function No(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(e,t,n){if(!n&&Ze(e)){var r=wt(e.index,t);return new Oo(r,r)}return 47&e.type?new Oo(t[16],t):null}(Dt(),jt(),e)}var Ro=function(){var e=function e(){b(this,e)};return e.__NG_ELEMENT_ID__=function(){return Do()},e}(),Do=No,Fo=Function,Po=new re("Set Injector scope."),Mo={},Lo={},Vo=[],Ho=void 0;function zo(){return void 0===Ho&&(Ho=new me),Ho}function Bo(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 qo(e,n,t||zo(),r)}var qo=function(){function e(t,n,r){var i=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;b(this,e),this.parent=r,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var s=[];n&&_e(n,function(e){return i.processProvider(e,t,n)}),_e([t],function(e){return i.processInjectorType(e,[],s)}),this.records.set(ie,Wo(void 0,this));var a=this.records.get(Po);this.scope=null!=a?a.value:null,this.source=o||("object"==typeof t?null:L(t))}return k(e,[{key:"destroy",value:function(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(function(e){return e.ngOnDestroy()})}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:oe,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:O.Default;this.assertNotDestroyed();var r,i=ce(this);try{if(!(n&O.SkipSelf)){var o=this.records.get(e);if(void 0===o){var s=("function"==typeof(r=e)||"object"==typeof r&&r instanceof re)&&j(e);o=s&&this.injectableDefInScope(s)?Wo(Qo(e),Mo):null,this.records.set(e,o)}if(null!=o)return this.hydrate(e,o)}return(n&O.Self?zo():this.parent).get(e,t=n&O.Optional&&t===oe?null:t)}catch(a){if("NullInjectorError"===a.name){if((a.ngTempTokenPath=a.ngTempTokenPath||[]).unshift(L(e)),i)throw a;return function(e,t,n,r){var i=e.ngTempTokenPath;throw t.__source&&i.unshift(t.__source),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=L(t);if(Array.isArray(t))i=t.map(L).join(" -> ");else if("object"==typeof t){var o=[];for(var s in t)if(t.hasOwnProperty(s)){var a=t[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):L(a)))}i="{".concat(o.join(", "),"}")}return"".concat(n).concat(r?"("+r+")":"","[").concat(i,"]: ").concat(e.replace(se,"\n  "))}("\n"+e.message,i,"R3InjectorError",r),e.ngTokenPath=i,e.ngTempTokenPath=null,e}(a,e,0,this.source)}throw a}finally{ce(i)}}},{key:"_resolveInjectorDefTypes",value:function(){var e=this;this.injectorDefTypes.forEach(function(t){return e.get(t)})}},{key:"toString",value:function(){var e=[];return this.records.forEach(function(t,n){return e.push(L(n))}),"R3Injector[".concat(e.join(", "),"]")}},{key:"assertNotDestroyed",value:function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}},{key:"processInjectorType",value:function(e,t,n){var r=this;if(!(e=B(e)))return!1;var i=R(e),o=null==i&&e.ngModule||void 0,s=void 0===o?e:o,a=-1!==n.indexOf(s);if(void 0!==o&&(i=R(o)),null==i)return!1;if(null!=i.imports&&!a){var u;n.push(s);try{_e(i.imports,function(e){r.processInjectorType(e,t,n)&&(void 0===u&&(u=[]),u.push(e))})}finally{}if(void 0!==u)for(var c=function(e){var t=u[e],n=t.ngModule,i=t.providers;_e(i,function(e){return r.processProvider(e,n,i||Vo)})},l=0;l<u.length;l++)c(l)}this.injectorDefTypes.add(s),this.records.set(s,Wo(i.factory,Mo));var h=i.providers;if(null!=h&&!a){var f=e;_e(h,function(e){return r.processProvider(e,f,h)})}return void 0!==o&&void 0!==e.providers}},{key:"processProvider",value:function(e,t,n){var r=Zo(e=B(e))?e:B(e&&e.provide),i=function(e,t,n){return Ko(e)?Wo(void 0,e.useValue):Wo(Uo(e),Mo)}(e);if(Zo(e)||!0!==e.multi)this.records.get(r);else{var o=this.records.get(r);o||((o=Wo(void 0,Mo,!0)).factory=function(){return pe(o.multi)},this.records.set(r,o)),r=e,o.multi.push(e)}this.records.set(r,i)}},{key:"hydrate",value:function(e,t){var n;return t.value===Mo&&(t.value=Lo,t.value=t.factory()),"object"==typeof t.value&&t.value&&null!==(n=t.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(t.value),t.value}},{key:"injectableDefInScope",value:function(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||e.providedIn===this.scope:this.injectorDefTypes.has(e.providedIn))}},{key:"destroyed",get:function(){return this._destroyed}}]),e}();function Qo(e){var t=j(e),n=null!==t?t.factory:qe(e);if(null!==n)return n;var r=R(e);if(null!==r)return r.factory;if(e instanceof re)throw new Error("Token ".concat(L(e)," is missing a \u0275prov definition."));if(e instanceof Function)return function(e){var t=e.length;if(t>0){var n=Se(t,"?");throw new Error("Can't resolve all parameters for ".concat(L(e),": (").concat(n.join(", "),")."))}var r=function(e){var t=e&&(e[D]||e[P]);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.\nThis 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 Uo(e,t,r){var o,s=void 0;if(Zo(e)){var a=B(e);return qe(a)||Qo(a)}if(Ko(e))s=function(){return B(e.useValue)};else if((o=e)&&o.useFactory)s=function(){return e.useFactory.apply(e,i(pe(e.deps||[])))};else if(function(e){return!(!e||!e.useExisting)}(e))s=function(){return fe(B(e.useExisting))};else{var u=B(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return qe(u)||Qo(u);s=function(){return n(u,i(pe(e.deps)))}}return s}function Wo(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{factory:e,value:t,multi:n?[]:void 0}}function Ko(e){return null!==e&&"object"==typeof e&&ae in e}function Zo(e){return"function"==typeof e}var Go=function(e,t,n){return function(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,i=Bo(e,t,n,r);return i._resolveInjectorDefTypes(),i}({name:n},t,e,n)},Xo=function(){var e=function(){function e(){b(this,e)}return k(e,null,[{key:"create",value:function(e,t){return Array.isArray(e)?Go(e,t,""):Go(e.providers,e.parent,e.name||"")}}]),e}();return e.THROW_IF_NOT_FOUND=oe,e.NULL=new me,e.\u0275prov=I({token:e,providedIn:"any",factory:function(){return fe(ie)}}),e.__NG_ELEMENT_ID__=-1,e}(),Yo=new re("AnalyzeForEntryComponents");function Jo(e,t,n){var r=n?e.styles:null,i=n?e.classes:null,o=0;if(null!==t)for(var s=0;s<t.length;s++){var a=t[s];"number"==typeof a?o=a:1==o?i=V(i,a):2==o&&(r=V(r,a+": "+t[++s]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}function $o(e,t){cn(St(e)[1],Dt())}function es(e){for(var t=Object.getPrototypeOf(e.type.prototype).constructor,n=!0,r=[e];t;){var i=void 0;if(Xe(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");i=t.\u0275dir}if(i){if(n){r.push(i);var o=e;o.inputs=ts(e.inputs),o.declaredInputs=ts(e.declaredInputs),o.outputs=ts(e.outputs);var s=i.hostBindings;s&&is(e,s);var a=i.viewQuery,u=i.contentQueries;if(a&&ns(e,a),u&&rs(e,u),T(e.inputs,i.inputs),T(e.declaredInputs,i.declaredInputs),T(e.outputs,i.outputs),Xe(i)&&i.data.animation){var c=e.data;c.animation=(c.animation||[]).concat(i.data.animation)}}var l=i.features;if(l)for(var h=0;h<l.length;h++){var f=l[h];f&&f.ngInherit&&f(e),f===es&&(n=!1)}}t=Object.getPrototypeOf(t)}!function(e){for(var t=0,n=null,r=e.length-1;r>=0;r--){var i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=bn(i.hostAttrs,n=bn(n,i.hostAttrs))}}(r)}function ts(e){return e===Ae?{}:e===je?[]:e}function ns(e,t){var n=e.viewQuery;e.viewQuery=n?function(e,r){t(e,r),n(e,r)}:t}function rs(e,t){var n=e.contentQueries;e.contentQueries=n?function(e,r,i){t(e,r,i),n(e,r,i)}:t}function is(e,t){var n=e.hostBindings;e.hostBindings=n?function(e,r){t(e,r),n(e,r)}:t}var os=null;function ss(){if(!os){var e=G.Symbol;if(e&&e.iterator)os=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&&(os=r)}}return os}var as=function(){function e(t){b(this,e),this.wrapped=t}return k(e,null,[{key:"wrap",value:function(t){return new e(t)}},{key:"unwrap",value:function(t){return e.isWrapped(t)?t.wrapped:t}},{key:"isWrapped",value:function(t){return t instanceof e}}]),e}();function us(e){return!!cs(e)&&(Array.isArray(e)||!(e instanceof Map)&&ss()in e)}function cs(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function ls(e,t,n){return e[t]=n}function hs(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function fs(e,t,n,r){var i=hs(e,t,n);return hs(e,t+1,r)||i}function ds(e,t,n,r){var i=jt();return hs(i,qt(),t)&&(Nt(),function(e,t,n,r,i,o){var s=bt(e,t);!function(e,t,n,r,i,o,s){if(null==o)pt(e)?e.removeAttribute(t,i,n):t.removeAttribute(i);else{var a=null==s?$e(o):s(o,r||"",i);pt(e)?e.setAttribute(t,i,a,n):n?t.setAttributeNS(n,i,a):t.setAttribute(i,a)}}(t[11],s,o,e.value,n,r,i)}(sn(),i,e,t,n,r)),ds}function vs(e,t,n,r){return hs(e,qt(),n)?t+$e(n)+r:Ci}function ps(e,t,n,r,i,o,s,a){var u=jt(),c=Nt(),l=e+20,h=c.firstCreatePass?function(e,t,n,r,i,o,s,a,u){var c=t.consts,l=Pi(t,e,4,s||null,Ot(c,a));Yi(t,n,l,Ot(c,u)),cn(t,l);var h=l.tViews=Wi(2,l,r,i,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c);return null!==t.queries&&(t.queries.template(t,l),h.queries=t.queries.embeddedTView(l)),l}(l,c,u,t,n,r,i,o,s):c.data[l];Pt(h,!1);var f=u[11].createComment("");si(c,u,f,h),zr(f,u),ho(u,u[l]=ao(f,u,f,h)),Ge(h)&&qi(c,u,h),null!=s&&Qi(u,h,a)}function ms(e){return kt(It.lFrame.contextLView,20+e)}function ys(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:O.Default,n=jt();return null===n?fe(e,t):Dn(Dt(),n,B(e),t)}function gs(e){return function(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;var n=e.attrs;if(n)for(var r=n.length,i=0;i<r;){var o=n[i];if(yn(o))break;if(0===o)i+=2;else if("number"==typeof o)for(i++;i<r&&"string"==typeof n[i];)i++;else{if(o===t)return n[i+1];i+=2}}return null}(Dt(),e)}function bs(e,t,n){var r=jt();return hs(r,qt(),t)&&Xi(Nt(),sn(),r,e,t,r[11],n,!1),bs}function _s(e,t,n,r,i){var o=i?"class":"style";ko(e,n,t.inputs[o],o,r)}function ks(e,t,n,r){var i=jt(),o=Nt(),s=20+e,a=i[11],u=i[s]=Zr(a,t,It.lFrame.currentNamespace),c=o.firstCreatePass?function(e,t,n,r,i,o,s){var a=t.consts,u=Pi(t,e,2,i,Ot(a,o));return Yi(t,n,u,Ot(a,s)),null!==u.attrs&&Jo(u,u.attrs,!1),null!==u.mergedAttrs&&Jo(u,u.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,u),u}(s,o,i,0,t,n,r):o.data[s];Pt(c,!0);var l=c.mergedAttrs;null!==l&&mn(a,u,l);var h=c.classes;null!==h&&di(a,u,h);var f=c.styles;null!==f&&fi(a,u,f),64!=(64&c.flags)&&si(o,i,u,c),0===It.lFrame.elementDepthCount&&zr(u,i),It.lFrame.elementDepthCount++,Ge(c)&&(qi(o,i,c),Bi(o,c,i)),null!==r&&Qi(i,c)}function ws(){var e=Dt();Mt()?Lt():Pt(e=e.parent,!1);var t=e;It.lFrame.elementDepthCount--;var n=Nt();n.firstCreatePass&&(cn(n,e),Ke(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&_s(n,t,jt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&_s(n,t,jt(),t.stylesWithoutHost,!1)}function Ss(e,t,n,r){ks(e,t,n,r),ws()}function Es(e,t,n){var r=jt(),i=Nt(),o=e+20,s=i.firstCreatePass?function(e,t,n,r,i){var o=t.consts,s=Ot(o,r),a=Pi(t,e,8,"ng-container",s);return null!==s&&Jo(a,s,!0),Yi(t,n,a,Ot(o,i)),null!==t.queries&&t.queries.elementStart(t,a),a}(o,i,r,t,n):i.data[o];Pt(s,!0);var a=r[o]=r[11].createComment("");si(i,r,a,s),zr(a,r),Ge(s)&&(qi(i,r,s),Bi(i,s,r)),null!=n&&Qi(r,s)}function Cs(){var e=Dt(),t=Nt();Mt()?Lt():Pt(e=e.parent,!1),t.firstCreatePass&&(cn(t,e),Ke(e)&&t.queries.elementEnd(e))}function Os(){return jt()}function xs(e){return!!e&&"function"==typeof e.then}function Ts(e){return!!e&&"function"==typeof e.subscribe}function Is(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3?arguments[3]:void 0,i=jt(),o=Nt(),s=Dt();return js(o,i,i[11],s,e,t,n,r),Is}function As(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3?arguments[3]:void 0,i=Dt(),o=jt(),s=Nt();return js(s,o,bo(Wt(s.data),i,o),i,e,t,n,r),As}function js(e,t,n,r,i,o){var s=arguments.length>6&&void 0!==arguments[6]&&arguments[6],a=arguments.length>7?arguments[7]:void 0,u=Ge(r),c=e.firstCreatePass&&(e.cleanup||(e.cleanup=[])),l=go(t),h=!0;if(3&r.type){var f=bt(r,t),d=a?a(f):Ae,v=d.target||f,p=l.length,m=a?function(e){return a(yt(e[r.index])).target}:r.index;if(pt(n)){var y=null;if(!a&&u&&(y=function(e,t,n,r){var i=e.cleanup;if(null!=i)for(var o=0;o<i.length-1;o+=2){var s=i[o];if(s===n&&i[o+1]===r){var a=t[7],u=i[o+2];return a.length>u?a[u]:null}"string"==typeof s&&(o+=2)}return null}(e,t,i,r.index)),null!==y)(y.__ngLastListenerFn__||y).__ngNextListenerFn__=o,y.__ngLastListenerFn__=o,h=!1;else{o=Rs(r,t,o,!1);var g=n.listen(d.name||v,i,o);l.push(o,g),c&&c.push(i,m,p,p+1)}}else o=Rs(r,t,o,!0),v.addEventListener(i,o,s),l.push(o),c&&c.push(i,m,p,s)}var b,_=r.outputs;if(h&&null!==_&&(b=_[i])){var k=b.length;if(k)for(var w=0;w<k;w+=2){var S=t[b[w]][b[w+1]].subscribe(o),E=l.length;l.push(o,S),c&&c.push(i,r.index,E,-(E+1))}}}function Ns(e,t,n){try{return!1!==t(n)}catch(r){return _o(e,r),!1}}function Rs(e,t,n,r){return function i(o){if(o===Function)return n;var s=2&e.flags?wt(e.index,t):t;0==(32&t[2])&&fo(s);for(var a=Ns(t,n,o),u=i.__ngNextListenerFn__;u;)a=Ns(t,u,o)&&a,u=u.__ngNextListenerFn__;return r&&!1===a&&(o.preventDefault(),o.returnValue=!1),a}}function Ds(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return function(e){return(It.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,It.lFrame.contextLView))[8]}(e)}function Fs(e,t){for(var n=null,r=function(e){var t=e.attrs;if(null!=t){var n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e),i=0;i<t.length;i++){var o=t[i];if("*"!==o){if(null===r?ki(e,o,!0):wi(r,o))return i}else n=i}return n}function Ps(e){var t=jt()[16][6];if(!t.projection)for(var n=t.projection=Se(e?e.length:1,null),r=n.slice(),i=t.child;null!==i;){var o=e?Fs(i,e):0;null!==o&&(r[o]?r[o].projectionNext=i:n[o]=i,r[o]=i),i=i.next}}function Ms(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,r=jt(),i=Nt(),o=Pi(i,20+e,16,null,n||null);null===o.projection&&(o.projection=t),Lt(),64!=(64&o.flags)&&function(e,t,n){hi(t[11],0,t,n,$r(e,n,t),ii(n.parent||t[6],n,t))}(i,r,o)}function Ls(e,t,n){return Vs(e,"",t,"",n),Ls}function Vs(e,t,n,r,i){var o=jt(),s=vs(o,t,n,r);return s!==Ci&&Xi(Nt(),sn(),o,e,s,o[11],i,!1),Vs}var Hs=[];function zs(e,t,n,r,i){for(var o=e[n+1],s=null===t,a=r?Ii(o):ji(o),u=!1;0!==a&&(!1===u||s);){var c=e[a+1];Bs(e[a],t)&&(u=!0,e[a+1]=r?Ri(c):Ai(c)),a=r?Ii(c):ji(c)}u&&(e[n+1]=r?Ai(o):Ri(o))}function Bs(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Oe(e,t)>=0}var qs={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Qs(e){return e.substring(qs.key,qs.keyEnd)}function Us(e,t){var n=qs.textEnd;return n===t?-1:(t=qs.keyEnd=function(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,qs.key=t,n),Ws(e,t,n))}function Ws(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Ks(e,t,n){return Ys(e,t,n,!1),Ks}function Zs(e,t){return Ys(e,t,null,!0),Zs}function Gs(e){Js(Ee,Xs,e,!0)}function Xs(e,t){for(var n=function(e){return function(e){qs.key=0,qs.keyEnd=0,qs.value=0,qs.valueEnd=0,qs.textEnd=e.length}(e),Us(e,Ws(e,0,qs.textEnd))}(t);n>=0;n=Us(t,n))Ee(e,Qs(t),!0)}function Ys(e,t,n,r){var i=jt(),o=Nt(),s=Qt(2);o.firstUpdatePass&&ea(o,e,s,r),t!==Ci&&hs(i,s,t)&&ra(o,o.data[rn()],i,i[11],e,i[s+1]=function(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=L(nr(e)))),e}(t,n),r,s)}function Js(e,t,n,r){var i=Nt(),o=Qt(2);i.firstUpdatePass&&ea(i,null,o,r);var s=jt();if(n!==Ci&&hs(s,o,n)){var a=i.data[rn()];if(sa(a,r)&&!$s(i,o)){var u=r?a.classesWithoutHost:a.stylesWithoutHost;null!==u&&(n=V(u,n||"")),_s(i,a,s,n,r)}else!function(e,t,n,r,i,o,s,a){i===Ci&&(i=Hs);for(var u=0,c=0,l=0<i.length?i[0]:null,h=0<o.length?o[0]:null;null!==l||null!==h;){var f=u<i.length?i[u+1]:void 0,d=c<o.length?o[c+1]:void 0,v=null,p=void 0;l===h?(u+=2,c+=2,f!==d&&(v=h,p=d)):null===h||null!==l&&l<h?(u+=2,v=l):(c+=2,v=h,p=d),null!==v&&ra(e,t,n,r,v,p,s,a),l=u<i.length?i[u]:null,h=c<o.length?o[c]:null}}(i,a,s,s[11],s[o+1],s[o+1]=function(e,t,n){if(null==n||""===n)return Hs;var r=[],i=nr(n);if(Array.isArray(i))for(var o=0;o<i.length;o++)e(r,i[o],!0);else if("object"==typeof i)for(var s in i)i.hasOwnProperty(s)&&e(r,s,i[s]);else"string"==typeof i&&t(r,i);return r}(e,t,n),r,o)}}function $s(e,t){return t>=e.expandoStartIndex}function ea(e,t,n,r){var i=e.data;if(null===i[n+1]){var o=i[rn()],s=$s(e,n);sa(o,r)&&null===t&&!s&&(t=!1),t=function(e,t,n,r){var i=Wt(e),o=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=na(n=ta(null,e,t,n,r),t.attrs,r),o=null);else{var s=t.directiveStylingLast;if(-1===s||e[s]!==i)if(n=ta(i,e,t,n,r),null===o){var a=function(e,t,n){var r=n?t.classBindings:t.styleBindings;if(0!==ji(r))return e[Ii(r)]}(e,t,r);void 0!==a&&Array.isArray(a)&&function(e,t,n,r){e[Ii(n?t.classBindings:t.styleBindings)]=r}(e,t,r,a=na(a=ta(null,e,t,a[1],r),t.attrs,r))}else o=function(e,t,n){for(var r=void 0,i=t.directiveEnd,o=1+t.directiveStylingLast;o<i;o++)r=na(r,e[o].hostAttrs,n);return na(r,t.attrs,n)}(e,t,r)}return void 0!==o&&(r?t.residualClasses=o:t.residualStyles=o),n}(i,o,t,r),function(e,t,n,r,i,o){var s=o?t.classBindings:t.styleBindings,a=Ii(s),u=ji(s);e[r]=n;var c,l=!1;if(Array.isArray(n)){var h=n;(null===(c=h[1])||Oe(h,c)>0)&&(l=!0)}else c=n;if(i)if(0!==u){var f=Ii(e[a+1]);e[r+1]=Ti(f,a),0!==f&&(e[f+1]=Ni(e[f+1],r)),e[a+1]=131071&e[a+1]|r<<17}else e[r+1]=Ti(a,0),0!==a&&(e[a+1]=Ni(e[a+1],r)),a=r;else e[r+1]=Ti(u,0),0===a?a=r:e[u+1]=Ni(e[u+1],r),u=r;l&&(e[r+1]=Ai(e[r+1])),zs(e,c,r,!0),zs(e,c,r,!1),function(e,t,n,r,i){var o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&Oe(o,t)>=0&&(n[r+1]=Ri(n[r+1]))}(t,c,e,r,o),s=Ti(a,u),o?t.classBindings=s:t.styleBindings=s}(i,o,t,n,s,r)}}function ta(e,t,n,r,i){var o=null,s=n.directiveEnd,a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<s&&(r=na(r,(o=t[a]).hostAttrs,i),o!==e);)a++;return null!==e&&(n.directiveStylingLast=a),r}function na(e,t,n){var r=n?1:2,i=-1;if(null!==t)for(var o=0;o<t.length;o++){var s=t[o];"number"==typeof s?i=s:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Ee(e,s,!!n||t[++o]))}return void 0===e?null:e}function ra(e,t,n,r,i,o,s,a){if(3&t.type){var u=e.data,c=u[a+1];oa(1==(1&c)?ia(u,t,n,i,ji(c),s):void 0)||(oa(o)||2==(2&c)&&(o=ia(u,null,n,i,a,s)),function(e,t,n,r,i){var o=pt(e);if(t)i?o?e.addClass(n,r):n.classList.add(r):o?e.removeClass(n,r):n.classList.remove(r);else{var s=-1==r.indexOf("-")?void 0:2;null==i?o?e.removeStyle(n,r,s):n.style.removeProperty(r):o?e.setStyle(n,r,i,s):n.style.setProperty(r,i)}}(r,s,gt(rn(),n),i,o))}}function ia(e,t,n,r,i,o){for(var s=null===t,a=void 0;i>0;){var u=e[i],c=Array.isArray(u),l=c?u[1]:u,h=null===l,f=n[i+1];f===Ci&&(f=h?Hs:void 0);var d=h?Ce(f,r):l===r?f:void 0;if(c&&!oa(d)&&(d=Ce(u,r)),oa(d)&&(a=d,s))return a;var v=e[i+1];i=s?Ii(v):ji(v)}if(null!==t){var p=o?t.residualClasses:t.residualStyles;null!=p&&(a=Ce(p,r))}return a}function oa(e){return void 0!==e}function sa(e,t){return 0!=(e.flags&(t?16:32))}function aa(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=jt(),r=Nt(),i=e+20,o=r.firstCreatePass?Pi(r,i,1,t,null):r.data[i],s=n[i]=function(e,t){return pt(e)?e.createText(t):e.createTextNode(t)}(n[11],t);si(r,n,s,o),Pt(o,!1)}function ua(e){return ca("",e,""),ua}function ca(e,t,n){var r=jt(),i=vs(r,e,t,n);return i!==Ci&&wo(r,rn(),i),ca}function la(e,t,n,r,i){var o=jt(),s=function(e,t,n,r,i,o){var s=fs(e,Bt(),n,i);return Qt(2),s?t+$e(n)+r+$e(i)+o:Ci}(o,e,t,n,r,i);return s!==Ci&&wo(o,rn(),s),la}function ha(e,t,n){Js(Ee,Xs,vs(jt(),e,t,n),!0)}function fa(e,t,n){var r=jt();return hs(r,qt(),t)&&Xi(Nt(),sn(),r,e,t,r[11],n,!0),fa}function da(e,t,n){var r=jt();if(hs(r,qt(),t)){var i=Nt(),o=sn();Xi(i,o,r,e,t,bo(Wt(i.data),o,r),n,!0)}return da}var va=void 0,pa=["en",[["a","p"],["AM","PM"],va],[["AM","PM"],va,va],[["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"]],va,[["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"]],va,[["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}",va,"{1} 'at' {0}",va],[".",",",";","%","+","-","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}],ma={};function ya(e,t,n){"string"!=typeof t&&(n=t,t=e[wa.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),ma[t]=e,n&&(ma[t][wa.ExtraData]=n)}function ga(e){var t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e),n=ka(t);if(n)return n;var r=t.split("-")[0];if(n=ka(r))return n;if("en"===r)return pa;throw new Error('Missing locale data for the locale "'.concat(e,'".'))}function ba(e){return ga(e)[wa.CurrencyCode]||null}function _a(e){return ga(e)[wa.PluralCase]}function ka(e){return e in ma||(ma[e]=G.ng&&G.ng.common&&G.ng.common.locales&&G.ng.common.locales[e]),ma[e]}var wa=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}({});function Sa(e){var t;null==(t=e)&&function(e,t,n,r){throw new Error("ASSERTION ERROR: Expected localeId to be defined"+" [Expected=> null != ".concat(t," <=Actual]"))}(0,t),"string"==typeof e&&e.toLowerCase().replace(/_/g,"-")}function Ea(e,t,n,r,i){if(e=B(e),Array.isArray(e))for(var o=0;o<e.length;o++)Ea(e[o],t,n,r,i);else{var s=Nt(),a=jt(),u=Zo(e)?e:B(e.provide),c=Uo(e),l=Dt(),h=1048575&l.providerIndexes,f=l.directiveStart,d=l.providerIndexes>>20;if(Zo(e)||!e.multi){var v=new pn(c,i,ys),p=xa(u,t,i?h:h+d,f);-1===p?(jn(xn(l,a),s,u),Ca(s,e,t.length),t.push(u),l.directiveStart++,l.directiveEnd++,i&&(l.providerIndexes+=1048576),n.push(v),a.push(v)):(n[p]=v,a[p]=v)}else{var m=xa(u,t,h+d,f),y=xa(u,t,h,h+d),g=m>=0&&n[m],b=y>=0&&n[y];if(i&&!b||!i&&!g){jn(xn(l,a),s,u);var _=function(e,t,n,r,i){var o=new pn(e,n,ys);return o.multi=[],o.index=t,o.componentProviders=0,Oa(o,i,r&&!n),o}(i?Ia:Ta,n.length,i,r,c);!i&&b&&(n[y].providerFactory=_),Ca(s,e,t.length,0),t.push(u),l.directiveStart++,l.directiveEnd++,i&&(l.providerIndexes+=1048576),n.push(_),a.push(_)}else Ca(s,e,m>-1?m:y,Oa(n[i?y:m],c,!i&&r));!i&&r&&b&&n[y].componentProviders++}}}function Ca(e,t,n,r){var i=Zo(t);if(i||t.useClass){var o=(t.useClass||t).prototype.ngOnDestroy;if(o){var s=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){var a=s.indexOf(n);-1===a?s.push(n,[r,o]):s[a+1].push(r,o)}else s.push(n,o)}}}function Oa(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function xa(e,t,n,r){for(var i=n;i<r;i++)if(t[i]===e)return i;return-1}function Ta(e,t,n,r){return Aa(this.multi,[])}function Ia(e,t,n,r){var i,o=this.multi;if(this.providerFactory){var s=this.providerFactory.componentProviders,a=Ln(n,n[1],this.providerFactory.index,r);Aa(o,i=a.slice(0,s));for(var u=s;u<a.length;u++)i.push(a[u])}else Aa(o,i=[]);return i}function Aa(e,t){for(var n=0;n<e.length;n++)t.push((0,e[n])());return t}function ja(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return function(n){n.providersResolver=function(n,r){return function(e,t,n){var r=Nt();if(r.firstCreatePass){var i=Xe(e);Ea(n,r.data,r.blueprint,i,!0),Ea(t,r.data,r.blueprint,i,!1)}}(n,r?r(e):e,t)}}}var Na=function e(){b(this,e)},Ra=function(){function e(){b(this,e)}return k(e,[{key:"resolveComponentFactory",value:function(e){throw function(e){var t=Error("No component factory found for ".concat(L(e),". Did you add it to @NgModule.entryComponents?"));return t.ngComponent=e,t}(e)}}]),e}(),Da=function(){var e=function e(){b(this,e)};return e.NULL=new Ra,e}(),Fa=function(){var e=function e(t){b(this,e),this.nativeElement=t};return e.__NG_ELEMENT_ID__=function(){return Pa(e)},e}(),Pa=function(e){return Io(e,Dt(),jt())},Ma=function e(){b(this,e)},La=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({}),Va=function(){var e=function e(){b(this,e)};return e.__NG_ELEMENT_ID__=function(){return Ha()},e}(),Ha=function(){var e=jt(),t=wt(Dt().index,e);return function(e){var t=e[11];if(pt(t))return t;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(Ue(t)?t:e)},za=function(){var e=function e(){b(this,e)};return e.\u0275prov=I({token:e,providedIn:"root",factory:function(){return null}}),e}(),Ba=function e(t){b(this,e),this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")},qa=new Ba("11.0.0"),Qa=function(){function e(){b(this,e)}return k(e,[{key:"supports",value:function(e){return us(e)}},{key:"create",value:function(e){return new Wa(e)}}]),e}(),Ua=function(e,t){return t},Wa=function(){function e(t){b(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||Ua}return k(e,[{key:"forEachItem",value:function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)}},{key:"forEachOperation",value:function(e){for(var t=this._itHead,n=this._removalsHead,r=0,i=null;t||n;){var o=!n||t&&t.currentIndex<Xa(n,r,i)?t:n,s=Xa(o,r,i),a=o.currentIndex;if(o===n)r--,n=n._nextRemoved;else if(t=t._next,null==o.previousIndex)r++;else{i||(i=[]);var u=s-r,c=a-r;if(u!=c){for(var l=0;l<u;l++){var h=l<i.length?i[l]:i[l]=0,f=h+l;c<=f&&f<u&&(i[l]=h+1)}i[o.previousIndex]=c-u}}s!==a&&e(o,s,a)}}},{key:"forEachPreviousItem",value:function(e){var t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)}},{key:"forEachAddedItem",value:function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}},{key:"forEachMovedItem",value:function(e){var t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)}},{key:"forEachRemovedItem",value:function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}},{key:"forEachIdentityChange",value:function(e){var t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)}},{key:"diff",value:function(e){if(null==e&&(e=[]),!us(e))throw new Error("Error trying to diff '".concat(L(e),"'. Only arrays and iterables are allowed"));return this.check(e)?this:null}},{key:"onDestroy",value:function(){}},{key:"check",value:function(e){var t=this;this._reset();var n,r,i,o=this._itHead,s=!1;if(Array.isArray(e)){this.length=e.length;for(var a=0;a<this.length;a++)r=e[a],i=this._trackByFn(a,r),null!==o&&Object.is(o.trackById,i)?(s&&(o=this._verifyReinsertion(o,r,i,a)),Object.is(o.item,r)||this._addIdentityChange(o,r)):(o=this._mismatch(o,r,i,a),s=!0),o=o._next}else n=0,function(e,t){if(Array.isArray(e))for(var n=0;n<e.length;n++)t(e[n]);else for(var r,i=e[ss()]();!(r=i.next()).done;)t(r.value)}(e,function(e){i=t._trackByFn(n,e),null!==o&&Object.is(o.trackById,i)?(s&&(o=t._verifyReinsertion(o,e,i,n)),Object.is(o.item,e)||t._addIdentityChange(o,e)):(o=t._mismatch(o,e,i,n),s=!0),o=o._next,n++}),this.length=n;return this._truncate(o),this.collection=e,this.isDirty}},{key:"_reset",value:function(){if(this.isDirty){var e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}},{key:"_mismatch",value:function(e,t,n,r){var i;return null===e?i=this._itTail:(i=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,i,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,i,r)):e=this._addAfter(new Ka(t,n),i,r),e}},{key:"_verifyReinsertion",value:function(e,t,n,r){var i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==i?e=this._reinsertAfter(i,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e}},{key:"_truncate",value:function(e){for(;null!==e;){var t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}},{key:"_reinsertAfter",value:function(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);var r=e._prevRemoved,i=e._nextRemoved;return null===r?this._removalsHead=i:r._nextRemoved=i,null===i?this._removalsTail=r:i._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e}},{key:"_moveAfter",value:function(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}},{key:"_addAfter",value:function(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}},{key:"_insertAfter",value:function(e,t,n){var r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new Ga),this._linkedRecords.put(e),e.currentIndex=n,e}},{key:"_remove",value:function(e){return this._addToRemovals(this._unlink(e))}},{key:"_unlink",value:function(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);var t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e}},{key:"_addToMoves",value:function(e,t){return e.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}},{key:"_addToRemovals",value:function(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Ga),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}},{key:"_addIdentityChange",value:function(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}},{key:"isDirty",get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}}]),e}(),Ka=function e(t,n){b(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},Za=function(){function e(){b(this,e),this._head=null,this._tail=null}return k(e,[{key:"add",value:function(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}},{key:"get",value:function(e,t){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}},{key:"remove",value:function(e){var t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head}}]),e}(),Ga=function(){function e(){b(this,e),this.map=new Map}return k(e,[{key:"put",value:function(e){var t=e.trackById,n=this.map.get(t);n||(n=new Za,this.map.set(t,n)),n.add(e)}},{key:"get",value:function(e,t){var n=this.map.get(e);return n?n.get(e,t):null}},{key:"remove",value:function(e){var t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}},{key:"clear",value:function(){this.map.clear()}},{key:"isEmpty",get:function(){return 0===this.map.size}}]),e}();function Xa(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 Ya=function(){function e(){b(this,e)}return k(e,[{key:"supports",value:function(e){return e instanceof Map||cs(e)}},{key:"create",value:function(){return new Ja}}]),e}(),Ja=function(){function e(){b(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 k(e,[{key:"forEachItem",value:function(e){var t;for(t=this._mapHead;null!==t;t=t._next)e(t)}},{key:"forEachPreviousItem",value:function(e){var t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)}},{key:"forEachChangedItem",value:function(e){var t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)}},{key:"forEachAddedItem",value:function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}},{key:"forEachRemovedItem",value:function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}},{key:"diff",value:function(e){if(e){if(!(e instanceof Map||cs(e)))throw new Error("Error trying to diff '".concat(L(e),"'. Only maps and objects are allowed"))}else e=new Map;return this.check(e)?this:null}},{key:"onDestroy",value:function(){}},{key:"check",value:function(e){var t=this;this._reset();var n=this._mapHead;if(this._appendAfter=null,this._forEach(e,function(e,r){if(n&&n.key===r)t._maybeAddToChanges(n,e),t._appendAfter=n,n=n._next;else{var i=t._getOrCreateRecordForKey(r,e);n=t._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(var r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}},{key:"_insertBeforeOrAppend",value:function(e,t){if(e){var n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}},{key:"_getOrCreateRecordForKey",value:function(e,t){if(this._records.has(e)){var n=this._records.get(e);this._maybeAddToChanges(n,t);var r=n._prev,i=n._next;return r&&(r._next=i),i&&(i._prev=r),n._next=null,n._prev=null,n}var o=new $a(e);return this._records.set(e,o),o.currentValue=t,this._addToAdditions(o),o}},{key:"_reset",value:function(){if(this.isDirty){var e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}},{key:"_maybeAddToChanges",value:function(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}},{key:"_addToAdditions",value:function(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}},{key:"_addToChanges",value:function(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}},{key:"_forEach",value:function(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(function(n){return t(e[n],n)})}},{key:"isDirty",get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}}]),e}(),$a=function e(t){b(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},eu=function(){var e=function(){function e(t){b(this,e),this.factories=t}return k(e,[{key:"find",value:function(e){var t,n=this.factories.find(function(t){return t.supports(e)});if(null!=n)return n;throw new Error("Cannot find a differ supporting object '".concat(e,"' of type '").concat((t=e).name||typeof t,"'"))}}],[{key:"create",value:function(t,n){if(null!=n){var r=n.factories.slice();t=t.concat(r)}return new e(t)}},{key:"extend",value:function(t){return{provide:e,useFactory:function(n){if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,n)},deps:[[e,new C,new S]]}}}]),e}();return e.\u0275prov=I({token:e,providedIn:"root",factory:function(){return new e([new Qa])}}),e}(),tu=function(){var e=function(){function e(t){b(this,e),this.factories=t}return k(e,[{key:"find",value:function(e){var t=this.factories.find(function(t){return t.supports(e)});if(t)return t;throw new Error("Cannot find a differ supporting object '".concat(e,"'"))}}],[{key:"create",value:function(t,n){if(n){var r=n.factories.slice();t=t.concat(r)}return new e(t)}},{key:"extend",value:function(t){return{provide:e,useFactory:function(n){if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,n)},deps:[[e,new C,new S]]}}}]),e}();return e.\u0275prov=I({token:e,providedIn:"root",factory:function(){return new e([new Ya])}}),e}(),nu=[new Ya],ru=new eu([new Qa]),iu=new tu(nu),ou=function(){var e=function e(){b(this,e)};return e.__NG_ELEMENT_ID__=function(){return su(e,Fa)},e}(),su=function(e,t){return Ao(e,t,Dt(),jt())},au=function(){var e=function e(){b(this,e)};return e.__NG_ELEMENT_ID__=function(){return uu(e,Fa)},e}(),uu=function(e,t){return jo(e,t,Dt(),jt())},cu={},lu=function(e){f(n,e);var t=v(n);function n(e){var r;return b(this,n),(r=t.call(this)).ngModule=e,r}return k(n,[{key:"resolveComponentFactory",value:function(e){var t=Be(e);return new du(t,this.ngModule)}}]),n}(Da);function hu(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}var fu=new re("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return tt}}),du=function(e){f(n,e);var t=v(n);function n(e,r){var i;return b(this,n),(i=t.call(this)).componentDef=e,i.ngModule=r,i.componentType=e.type,i.selector=e.selectors.map(Ei).join(","),i.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],i.isBoundToModule=!!r,i}return k(n,[{key:"create",value:function(e,t,n,r){var i,o,s=(r=r||this.ngModule)?function(e,t){return{get:function(n,r,i){var o=e.get(n,cu,i);return o!==cu||r===cu?o:t.get(n,r,i)}}}(e,r.injector):e,a=s.get(Ma,mt),u=s.get(za,null),c=a.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",h=n?function(e,t,n){if(pt(e))return e.selectRootElement(t,n===Ie.ShadowDom);var r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(c,n,this.componentDef.encapsulation):Zr(a.createRenderer(null,this.componentDef),l,function(e){var t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(l)),f=this.componentDef.onPush?576:528,d={components:[],scheduler:tt,clean:yo,playerHandler:null,flags:0},v=Wi(0,null,null,1,0,null,null,null,null,null),p=Fi(null,v,d,f,null,null,a,c,u,s);Yt(p);try{var m=function(e,t,n,r,i,o){var s=n[1];n[20]=e;var a=Pi(s,20,2,"#host",null),u=a.mergedAttrs=t.hostAttrs;null!==u&&(Jo(a,u,!0),null!==e&&(mn(i,e,u),null!==a.classes&&di(i,e,a.classes),null!==a.styles&&fi(i,e,a.styles)));var c=r.createRenderer(e,t),l=Fi(n,Ui(t),null,t.onPush?64:16,n[20],a,r,c,null,null);return s.firstCreatePass&&(jn(xn(a,n),s,t.type),eo(s,a),no(a,n.length,1)),ho(n,l),n[20]=l}(h,this.componentDef,p,a,c);if(h)if(n)mn(c,h,["ng-version",qa.full]);else{var y=function(e){for(var t=[],n=[],r=1,i=2;r<e.length;){var o=e[r];if("string"==typeof o)2===i?""!==o&&t.push(o,e[++r]):8===i&&n.push(o);else{if(!bi(i))break;i=o}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]),g=y.attrs,b=y.classes;g&&mn(c,h,g),b&&b.length>0&&di(c,h,b.join(" "))}if(o=_t(v,20),void 0!==t)for(var _=o.projection=[],k=0;k<this.ngContentSelectors.length;k++){var w=t[k];_.push(null!=w?Array.from(w):null)}i=function(e,t,n,r,i){var o=n[1],s=function(e,t,n){var r=Dt();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),ro(e,r,t,Mi(e,t,1,null),n));var i=Ln(t,e,r.directiveStart,r);zr(i,t);var o=bt(r,t);return o&&zr(o,t),i}(o,n,t);if(r.components.push(s),e[8]=s,i&&i.forEach(function(e){return e(s,t)}),t.contentQueries){var a=Dt();t.contentQueries(1,s,a.directiveStart)}var u=Dt();return!o.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(on(u.index),Ji(n[1],u,0,u.directiveStart,u.directiveEnd,t),$i(t,s)),s}(m,this.componentDef,p,d,[$o]),Li(v,p,null)}finally{nn()}return new vu(this.componentType,i,Io(Fa,o,p),p,o)}},{key:"inputs",get:function(){return hu(this.componentDef.inputs)}},{key:"outputs",get:function(){return hu(this.componentDef.outputs)}}]),n}(Na),vu=function(e){f(n,e);var t=v(n);function n(e,r,i,o,s){var a;return b(this,n),(a=t.call(this)).location=i,a._rootLView=o,a._tNode=s,a.destroyCbs=[],a.instance=r,a.hostView=a.changeDetectorRef=new xo(o),a.componentType=e,a}return k(n,[{key:"destroy",value:function(){this.destroyCbs&&(this.destroyCbs.forEach(function(e){return e()}),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}},{key:"onDestroy",value:function(e){this.destroyCbs&&this.destroyCbs.push(e)}},{key:"injector",get:function(){return new zn(this._tNode,this._rootLView)}}]),n}(function(){return function e(){b(this,e)}}()),pu=new Map,mu=function(e){f(n,e);var t=v(n);function n(e,r){var i;b(this,n),(i=t.call(this))._parent=r,i._bootstrapComponents=[],i.injector=m(i),i.destroyCbs=[],i.componentFactoryResolver=new lu(m(i));var o=Qe(e),s=e[ee]||null;return s&&Sa(s),i._bootstrapComponents=it(o.bootstrap),i._r3Injector=Bo(e,r,[{provide:ye,useValue:m(i)},{provide:Da,useValue:i.componentFactoryResolver}],L(e)),i._r3Injector._resolveInjectorDefTypes(),i.instance=i.get(e),i}return k(n,[{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Xo.THROW_IF_NOT_FOUND,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:O.Default;return e===Xo||e===ye||e===ie?this:this._r3Injector.get(e,t,n)}},{key:"destroy",value:function(){var e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(function(e){return e()}),this.destroyCbs=null}},{key:"onDestroy",value:function(e){this.destroyCbs.push(e)}}]),n}(ye),yu=function(e){f(n,e);var t=v(n);function n(e){var i,o,s;return b(this,n),(i=t.call(this)).moduleType=e,null!==Qe(e)&&(o=e,s=new Set,function e(t){var n=Qe(t,!0),i=n.id;null!==i&&(function(e,t,n){if(t&&t!==n)throw new Error("Duplicate module registered for ".concat(e," - ").concat(L(t)," vs ").concat(L(t.name)))}(i,pu.get(i),t),pu.set(i,t));var o,a=r(it(n.imports));try{for(a.s();!(o=a.n()).done;){var u=o.value;s.has(u)||(s.add(u),e(u))}}catch(c){a.e(c)}finally{a.f()}}(o)),i}return k(n,[{key:"create",value:function(e){return new mu(this.moduleType,e)}}]),n}(ge);function gu(e,t,n,r){return ku(jt(),zt(),e,t,n,r)}function bu(e,t,n,r,i){return function(e,t,n,r,i,o,s){var a=t+n;return fs(e,a,i,o)?ls(e,a+2,s?r.call(s,i,o):r(i,o)):_u(e,a+2)}(jt(),zt(),e,t,n,r,i)}function _u(e,t){var n=e[t];return n===Ci?void 0:n}function ku(e,t,n,r,i,o){var s=t+n;return hs(e,s,i)?ls(e,s+1,o?r.call(o,i):r(i)):_u(e,s+1)}function wu(e,t){var n,r=Nt(),i=e+20;r.firstCreatePass?(n=function(e,t){if(t)for(var n=t.length-1;n>=0;n--){var r=t[n];if(e===r.name)return r}throw new Je("302","The pipe '".concat(e,"' could not be found!"))}(t,r.pipeRegistry),r.data[i]=n,n.onDestroy&&(r.destroyHooks||(r.destroyHooks=[])).push(i,n.onDestroy)):n=r.data[i];var o=n.factory||(n.factory=qe(n.type)),s=le(ys);try{var a=Cn(!1),u=o();return Cn(a),function(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(r,jt(),i,u),u}finally{le(s)}}function Su(e,t,n){var r=e+20,i=jt(),o=kt(i,r);return function(e,t){return as.isWrapped(t)&&(t=as.unwrap(t),e[Bt()]=Ci),t}(i,function(e,t){return e[1].data[t].pure}(i,r)?ku(i,zt(),t,o.transform,n,o):o.transform(n))}var Eu=function(e){f(n,e);var t=v(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return b(this,n),(e=t.call(this)).__isAsync=r,e}return k(n,[{key:"emit",value:function(e){h(g(n.prototype),"next",this).call(this,e)}},{key:"subscribe",value:function(e,t,r){var i,o=function(e){return null},s=function(){return null};e&&"object"==typeof e?(i=this.__isAsync?function(t){setTimeout(function(){return e.next(t)})}:function(t){e.next(t)},e.error&&(o=this.__isAsync?function(t){setTimeout(function(){return e.error(t)})}:function(t){e.error(t)}),e.complete&&(s=this.__isAsync?function(){setTimeout(function(){return e.complete()})}:function(){e.complete()})):(i=this.__isAsync?function(t){setTimeout(function(){return e(t)})}:function(t){e(t)},t&&(o=this.__isAsync?function(e){setTimeout(function(){return t(e)})}:function(e){t(e)}),r&&(s=this.__isAsync?function(){setTimeout(function(){return r()})}:function(){r()}));var a=h(g(n.prototype),"subscribe",this).call(this,i,o,s);return e instanceof c.a&&e.add(a),a}}]),n}(u.a);function Cu(){return this._results[ss()]()}var Ou=function(){function e(){b(this,e),this.dirty=!0,this._results=[],this.changes=new Eu,this.length=0;var t=ss(),n=e.prototype;n[t]||(n[t]=Cu)}return k(e,[{key:"map",value:function(e){return this._results.map(e)}},{key:"filter",value:function(e){return this._results.filter(e)}},{key:"find",value:function(e){return this._results.find(e)}},{key:"reduce",value:function(e,t){return this._results.reduce(e,t)}},{key:"forEach",value:function(e){this._results.forEach(e)}},{key:"some",value:function(e){return this._results.some(e)}},{key:"toArray",value:function(){return this._results.slice()}},{key:"toString",value:function(){return this._results.toString()}},{key:"reset",value:function(e){this._results=be(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]}},{key:"notifyOnChanges",value:function(){this.changes.emit(this)}},{key:"setDirty",value:function(){this.dirty=!0}},{key:"destroy",value:function(){this.changes.complete(),this.changes.unsubscribe()}}]),e}(),xu=function(){function e(t){b(this,e),this.queryList=t,this.matches=null}return k(e,[{key:"clone",value:function(){return new e(this.queryList)}},{key:"setDirty",value:function(){this.queryList.setDirty()}}]),e}(),Tu=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];b(this,e),this.queries=t}return k(e,[{key:"createEmbeddedView",value:function(t){var n=t.queries;if(null!==n){for(var r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[],o=0;o<r;o++){var s=n.getByIndex(o);i.push(this.queries[s.indexInDeclarationView].clone())}return new e(i)}return null}},{key:"insertView",value:function(e){this.dirtyQueriesWithMatches(e)}},{key:"detachView",value:function(e){this.dirtyQueriesWithMatches(e)}},{key:"dirtyQueriesWithMatches",value:function(e){for(var t=0;t<this.queries.length;t++)null!==Wu(e,t).matches&&this.queries[t].setDirty()}}]),e}(),Iu=function e(t,n,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;b(this,e),this.predicate=t,this.descendants=n,this.isStatic=r,this.read=i},Au=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];b(this,e),this.queries=t}return k(e,[{key:"elementStart",value:function(e,t){for(var n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,t)}},{key:"elementEnd",value:function(e){for(var t=0;t<this.queries.length;t++)this.queries[t].elementEnd(e)}},{key:"embeddedTView",value:function(t){for(var n=null,r=0;r<this.length;r++){var i=null!==n?n.length:0,o=this.getByIndex(r).embeddedTView(t,i);o&&(o.indexInDeclarationView=r,null!==n?n.push(o):n=[o])}return null!==n?new e(n):null}},{key:"template",value:function(e,t){for(var n=0;n<this.queries.length;n++)this.queries[n].template(e,t)}},{key:"getByIndex",value:function(e){return this.queries[e]}},{key:"track",value:function(e){this.queries.push(e)}},{key:"length",get:function(){return this.queries.length}}]),e}(),ju=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;b(this,e),this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}return k(e,[{key:"elementStart",value:function(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}},{key:"elementEnd",value:function(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}},{key:"template",value:function(e,t){this.elementStart(e,t)}},{key:"embeddedTView",value:function(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}},{key:"isApplyingToNode",value:function(e){if(this._appliesToNextNode&&!1===this.metadata.descendants){for(var t=this._declarationNodeIndex,n=e.parent;null!==n&&8&n.type&&n.index!==t;)n=n.parent;return t===(null!==n?n.index:-1)}return this._appliesToNextNode}},{key:"matchTNode",value:function(e,t){var n=this.metadata.predicate;if(Array.isArray(n))for(var r=0;r<n.length;r++){var i=n[r];this.matchTNodeWithReadOption(e,t,Nu(t,i)),this.matchTNodeWithReadOption(e,t,Mn(t,e,i,!1,!1))}else n===ou?4&t.type&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,Mn(t,e,n,!1,!1))}},{key:"matchTNodeWithReadOption",value:function(e,t,n){if(null!==n){var r=this.metadata.read;if(null!==r)if(r===Fa||r===au||r===ou&&4&t.type)this.addMatch(t.index,-2);else{var i=Mn(t,e,r,!1,!1);null!==i&&this.addMatch(t.index,i)}else this.addMatch(t.index,n)}}},{key:"addMatch",value:function(e,t){null===this.matches?this.matches=[e,t]:this.matches.push(e,t)}}]),e}();function Nu(e,t){var n=e.localNames;if(null!==n)for(var r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function Ru(e,t,n,r){return-1===n?function(e,t){return 11&e.type?Io(Fa,e,t):4&e.type?Ao(ou,Fa,e,t):null}(t,e):-2===n?function(e,t,n){return n===Fa?Io(Fa,t,e):n===ou?Ao(ou,Fa,t,e):n===au?jo(au,Fa,t,e):void 0}(e,t,r):Ln(e,e[1],n,t)}function Du(e,t,n,r){var i=t[19].queries[r];if(null===i.matches){for(var o=e.data,s=n.matches,a=[],u=0;u<s.length;u+=2){var c=s[u];a.push(c<0?null:Ru(t,o[c],s[u+1],n.metadata.read))}i.matches=a}return i.matches}function Fu(e,t,n,r){var i=e.queries.getByIndex(n),o=i.matches;if(null!==o)for(var s=Du(e,t,i,n),a=0;a<o.length;a+=2){var u=o[a];if(u>0)r.push(s[a/2]);else{for(var c=o[a+1],l=t[-u],h=10;h<l.length;h++){var f=l[h];f[17]===f[3]&&Fu(f[1],f,c,r)}if(null!==l[9])for(var d=l[9],v=0;v<d.length;v++){var p=d[v];Fu(p[1],p,c,r)}}}return r}function Pu(e){var t=jt(),n=Nt(),r=Kt();Zt(r+1);var i=Wu(n,r);if(e.dirty&&Et(t)===i.metadata.isStatic){if(null===i.matches)e.reset([]);else{var o=i.crossesNgTemplate?Fu(n,t,r,[]):Du(n,t,i,r);e.reset(o),e.notifyOnChanges()}return!0}return!1}function Mu(e,t,n){Vu(Nt(),jt(),e,t,n,!0)}function Lu(e,t,n){Vu(Nt(),jt(),e,t,n,!1)}function Vu(e,t,n,r,i,o){e.firstCreatePass&&(Uu(e,new Iu(n,r,o,i),-1),o&&(e.staticViewQueries=!0)),Qu(e,t)}function Hu(e,t,n,r){Bu(Nt(),jt(),t,n,r,!1,Dt(),e)}function zu(e,t,n,r){Bu(Nt(),jt(),t,n,r,!0,Dt(),e)}function Bu(e,t,n,r,i,o,s,a){e.firstCreatePass&&(Uu(e,new Iu(n,r,o,i),s.index),function(e,t){var n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(e,a),o&&(e.staticContentQueries=!0)),Qu(e,t)}function qu(){return e=jt(),t=Kt(),e[19].queries[t].queryList;var e,t}function Qu(e,t){var n=new Ou;Ki(e,t,n,n.destroy),null===t[19]&&(t[19]=new Tu),t[19].queries.push(new xu(n))}function Uu(e,t,n){null===e.queries&&(e.queries=new Au),e.queries.track(new ju(t,n))}function Wu(e,t){return e.queries.getByIndex(t)}function Ku(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:O.Default,t=No(!0);if(null!=t||e&O.Optional)return t;ot("ChangeDetectorRef")}var Zu=new re("Application Initializer"),Gu=function(){var e=function(){function e(t){var n=this;b(this,e),this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise(function(e,t){n.resolve=e,n.reject=t})}return k(e,[{key:"runInitializers",value:function(){var e=this;if(!this.initialized){var t=[],n=function(){e.done=!0,e.resolve()};if(this.appInits)for(var r=0;r<this.appInits.length;r++){var i=this.appInits[r]();xs(i)&&t.push(i)}Promise.all(t).then(function(){n()}).catch(function(t){e.reject(t)}),0===t.length&&n(),this.initialized=!0}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(fe(Zu,8))},e.\u0275prov=I({token:e,factory:e.\u0275fac}),e}(),Xu=new re("AppId"),Yu={provide:Xu,useFactory:function(){return"".concat(Ju()).concat(Ju()).concat(Ju())},deps:[]};function Ju(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var $u=new re("Platform Initializer"),ec=new re("Platform ID"),tc=new re("appBootstrapListener"),nc=function(){var e=function(){function e(){b(this,e)}return k(e,[{key:"log",value:function(e){console.log(e)}},{key:"warn",value:function(e){console.warn(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac}),e}(),rc=new re("LocaleId"),ic=new re("DefaultCurrencyCode"),oc=function e(t,n){b(this,e),this.ngModuleFactory=t,this.componentFactories=n},sc=function(e){return new yu(e)},ac=sc,uc=function(e){return Promise.resolve(sc(e))},cc=function(e){var t=sc(e),n=it(Qe(e).declarations).reduce(function(e,t){var n=Be(t);return n&&e.push(new du(n)),e},[]);return new oc(t,n)},lc=cc,hc=function(e){return Promise.resolve(cc(e))},fc=function(){var e=function(){function e(){b(this,e),this.compileModuleSync=ac,this.compileModuleAsync=uc,this.compileModuleAndAllComponentsSync=lc,this.compileModuleAndAllComponentsAsync=hc}return k(e,[{key:"clearCache",value:function(){}},{key:"clearCacheFor",value:function(e){}},{key:"getModuleId",value:function(e){}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac}),e}(),dc=Promise.resolve(0);function vc(e){"undefined"==typeof Zone?dc.then(function(){e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}var pc=function(){function e(t){var n,r,i=t.enableLongStackTrace,o=void 0!==i&&i,s=t.shouldCoalesceEventChangeDetection,a=void 0!==s&&s;if(b(this,e),this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Eu(!1),this.onMicrotaskEmpty=new Eu(!1),this.onStable=new Eu(!1),this.onError=new Eu(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),o&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=a,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){var e=G.requestAnimationFrame,t=G.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,r=!!(n=this).shouldCoalesceEventChangeDetection&&n.nativeRequestAnimationFrame&&function(){!function(e){-1===e.lastRequestAnimationFrameId&&(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(G,function(){e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",function(){e.lastRequestAnimationFrameId=-1,bc(e),gc(e)},void 0,function(){},function(){})),e.fakeTopEventTask.invoke()}),bc(e))}(n)},n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:r},onInvokeTask:function(e,t,i,o,s,a){try{return _c(n),e.invokeTask(i,o,s,a)}finally{r&&"eventTask"===o.type&&r(),kc(n)}},onInvoke:function(e,t,r,i,o,s,a){try{return _c(n),e.invoke(r,i,o,s,a)}finally{kc(n)}},onHasTask:function(e,t,r,i){e.hasTask(r,i),t===r&&("microTask"==i.change?(n._hasPendingMicrotasks=i.microTask,bc(n),gc(n)):"macroTask"==i.change&&(n.hasPendingMacrotasks=i.macroTask))},onHandleError:function(e,t,r,i){return e.handleError(r,i),n.runOutsideAngular(function(){return n.onError.emit(i)}),!1}})}return k(e,[{key:"run",value:function(e,t,n){return this._inner.run(e,t,n)}},{key:"runTask",value:function(e,t,n,r){var i=this._inner,o=i.scheduleEventTask("NgZoneEvent: "+r,e,yc,mc,mc);try{return i.runTask(o,t,n)}finally{i.cancelTask(o)}}},{key:"runGuarded",value:function(e,t,n){return this._inner.runGuarded(e,t,n)}},{key:"runOutsideAngular",value:function(e){return this._outer.run(e)}}],[{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}();function mc(){}var yc={};function gc(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 bc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||e.shouldCoalesceEventChangeDetection&&-1!==e.lastRequestAnimationFrameId)}function _c(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function kc(e){e._nesting--,gc(e)}var wc=function(){function e(){b(this,e),this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Eu,this.onMicrotaskEmpty=new Eu,this.onStable=new Eu,this.onError=new Eu}return k(e,[{key:"run",value:function(e,t,n){return e.apply(t,n)}},{key:"runGuarded",value:function(e,t,n){return e.apply(t,n)}},{key:"runOutsideAngular",value:function(e){return e()}},{key:"runTask",value:function(e,t,n,r){return e.apply(t,n)}}]),e}(),Sc=function(){var e=function(){function e(t){var n=this;b(this,e),this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run(function(){n.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}return k(e,[{key:"_watchAngularEvents",value:function(){var e=this;this._ngZone.onUnstable.subscribe({next:function(){e._didWork=!0,e._isZoneStable=!1}}),this._ngZone.runOutsideAngular(function(){e._ngZone.onStable.subscribe({next:function(){pc.assertNotInAngularZone(),vc(function(){e._isZoneStable=!0,e._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 e=this;if(this.isStable())vc(function(){for(;0!==e._callbacks.length;){var t=e._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(e._didWork)}e._didWork=!1});else{var t=this.getPendingTasks();this._callbacks=this._callbacks.filter(function(e){return!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)}),this._didWork=!0}}},{key:"getPendingTasks",value:function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(function(e){return{source:e.source,creationLocation:e.creationLocation,data:e.data}}):[]}},{key:"addCallback",value:function(e,t,n){var r=this,i=-1;t&&t>0&&(i=setTimeout(function(){r._callbacks=r._callbacks.filter(function(e){return e.timeoutId!==i}),e(r._didWork,r.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:i,updateCb:n})}},{key:"whenStable",value:function(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}},{key:"getPendingRequestCount",value:function(){return this._pendingCount}},{key:"findProviders",value:function(e,t,n){return[]}}]),e}();return e.\u0275fac=function(t){return new(t||e)(fe(pc))},e.\u0275prov=I({token:e,factory:e.\u0275fac}),e}(),Ec=function(){var e=function(){function e(){b(this,e),this._applications=new Map,xc.addToWindow(this)}return k(e,[{key:"registerApplication",value:function(e,t){this._applications.set(e,t)}},{key:"unregisterApplication",value:function(e){this._applications.delete(e)}},{key:"unregisterAllApplications",value:function(){this._applications.clear()}},{key:"getTestability",value:function(e){return this._applications.get(e)||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(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return xc.findTestabilityInTree(this,e,t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac}),e}();function Cc(e){xc=e}var Oc,xc=new(function(){function e(){b(this,e)}return k(e,[{key:"addToWindow",value:function(e){}},{key:"findTestabilityInTree",value:function(e,t,n){return null}}]),e}()),Tc=new re("AllowMultipleToken"),Ic=function e(t,n){b(this,e),this.name=t,this.token=n};function Ac(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r="Platform: "+t,i=new re(r);return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=jc();if(!o||o.injector.get(Tc,!1))if(e)e(n.concat(t).concat({provide:i,useValue:!0}));else{var s=n.concat(t).concat({provide:i,useValue:!0},{provide:Po,useValue:"platform"});!function(e){if(Oc&&!Oc.destroyed&&!Oc.injector.get(Tc,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Oc=e.get(Nc);var t=e.get($u,null);t&&t.forEach(function(e){return e()})}(Xo.create({providers:s,name:r}))}return function(e){var t=jc();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}(i)}}function jc(){return Oc&&!Oc.destroyed?Oc:null}var Nc=function(){var e=function(){function e(t){b(this,e),this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return k(e,[{key:"bootstrapModuleFactory",value:function(e,t){var n,r,i=this,o=(n=t?t.ngZone:void 0,r=t&&t.ngZoneEventCoalescing||!1,"noop"===n?new wc:("zone.js"===n?void 0:n)||new pc({enableLongStackTrace:fr(),shouldCoalesceEventChangeDetection:r})),s=[{provide:pc,useValue:o}];return o.run(function(){var t=Xo.create({providers:s,parent:i.injector,name:e.moduleType.name}),n=e.create(t),r=n.injector.get(Zn,null);if(!r)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy(function(){return Fc(i._modules,n)}),o.runOutsideAngular(function(){return o.onError.subscribe({next:function(e){r.handleError(e)}})}),function(e,t,r){try{var o=((s=n.injector.get(Gu)).runInitializers(),s.donePromise.then(function(){return Sa(n.injector.get(rc,"en-US")||"en-US"),i._moduleDoBootstrap(n),n}));return xs(o)?o.catch(function(n){throw t.runOutsideAngular(function(){return e.handleError(n)}),n}):o}catch(a){throw t.runOutsideAngular(function(){return e.handleError(a)}),a}var s}(r,o)})}},{key:"bootstrapModule",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=Rc({},n);return function(e,t,n){var r=new yu(n);return Promise.resolve(r)}(0,0,e).then(function(e){return t.bootstrapModuleFactory(e,r)})}},{key:"_moduleDoBootstrap",value:function(e){var t=e.injector.get(Dc);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(function(e){return t.bootstrap(e)});else{if(!e.instance.ngDoBootstrap)throw new Error("The module ".concat(L(e.instance.constructor),' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.'));e.instance.ngDoBootstrap(t)}this._modules.push(e)}},{key:"onDestroy",value:function(e){this._destroyListeners.push(e)}},{key:"destroy",value:function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(e){return e.destroy()}),this._destroyListeners.forEach(function(e){return e()}),this._destroyed=!0}},{key:"injector",get:function(){return this._injector}},{key:"destroyed",get:function(){return this._destroyed}}]),e}();return e.\u0275fac=function(t){return new(t||e)(fe(Xo))},e.\u0275prov=I({token:e,factory:e.\u0275fac}),e}();function Rc(e,t){return Array.isArray(t)?t.reduce(Rc,e):Object.assign(Object.assign({},e),t)}var Dc=function(){var e=function(){function e(t,n,r,i,o,s){var a=this;b(this,e),this._zone=t,this._console=n,this._injector=r,this._exceptionHandler=i,this._componentFactoryResolver=o,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=fr(),this._zone.onMicrotaskEmpty.subscribe({next:function(){a._zone.run(function(){a.tick()})}});var u=new l.a(function(e){a._stable=a._zone.isStable&&!a._zone.hasPendingMacrotasks&&!a._zone.hasPendingMicrotasks,a._zone.runOutsideAngular(function(){e.next(a._stable),e.complete()})}),c=new l.a(function(e){var t;a._zone.runOutsideAngular(function(){t=a._zone.onStable.subscribe(function(){pc.assertNotInAngularZone(),vc(function(){a._stable||a._zone.hasPendingMacrotasks||a._zone.hasPendingMicrotasks||(a._stable=!0,e.next(!0))})})});var n=a._zone.onUnstable.subscribe(function(){pc.assertInAngularZone(),a._stable&&(a._stable=!1,a._zone.runOutsideAngular(function(){e.next(!1)}))});return function(){t.unsubscribe(),n.unsubscribe()}});this.isStable=Object(d.a)(u,c.pipe(Object(p.a)()))}return k(e,[{key:"bootstrap",value:function(e,t){var n,r=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=e instanceof Na?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var i=n.isBoundToModule?void 0:this._injector.get(ye),o=n.create(Xo.NULL,[],t||n.selector,i);o.onDestroy(function(){r._unloadComponent(o)});var s=o.injector.get(Sc,null);return s&&o.injector.get(Ec).registerApplication(o.location.nativeElement,s),this._loadComponent(o),fr()&&this._console.log("Angular is running in development mode. Call enableProdMode() to enable production mode."),o}},{key:"tick",value:function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;var t,n=r(this._views);try{for(n.s();!(t=n.n()).done;){t.value.detectChanges()}}catch(s){n.e(s)}finally{n.f()}if(this._enforceNoNewChanges){var i,o=r(this._views);try{for(o.s();!(i=o.n()).done;){i.value.checkNoChanges()}}catch(s){o.e(s)}finally{o.f()}}}catch(a){this._zone.runOutsideAngular(function(){return e._exceptionHandler.handleError(a)})}finally{this._runningTick=!1}}},{key:"attachView",value:function(e){var t=e;this._views.push(t),t.attachToAppRef(this)}},{key:"detachView",value:function(e){var t=e;Fc(this._views,t),t.detachFromAppRef()}},{key:"_loadComponent",value:function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(tc,[]).concat(this._bootstrapListeners).forEach(function(t){return t(e)})}},{key:"_unloadComponent",value:function(e){this.detachView(e.hostView),Fc(this.components,e)}},{key:"ngOnDestroy",value:function(){this._views.slice().forEach(function(e){return e.destroy()})}},{key:"viewCount",get:function(){return this._views.length}}]),e}();return e.\u0275fac=function(t){return new(t||e)(fe(pc),fe(nc),fe(Xo),fe(Zn),fe(Da),fe(Gu))},e.\u0275prov=I({token:e,factory:e.\u0275fac}),e}();function Fc(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var Pc=function e(){b(this,e)},Mc=function e(){b(this,e)},Lc={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Vc=function(){var e=function(){function e(t,n){b(this,e),this._compiler=t,this._config=n||Lc}return k(e,[{key:"load",value:function(e){return this.loadAndCompile(e)}},{key:"loadAndCompile",value:function(e){var t=this,n=s(e.split("#"),2),r=n[0],i=n[1];return void 0===i&&(i="default"),a("zn8P")(r).then(function(e){return e[i]}).then(function(e){return Hc(e,r,i)}).then(function(e){return t._compiler.compileModuleAsync(e)})}},{key:"loadFactory",value:function(e){var t=s(e.split("#"),2),n=t[0],r=t[1],i="NgFactory";return void 0===r&&(r="default",i=""),a("zn8P")(this._config.factoryPathPrefix+n+this._config.factoryPathSuffix).then(function(e){return e[r+i]}).then(function(e){return Hc(e,n,r)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(fe(fc),fe(Mc,8))},e.\u0275prov=I({token:e,factory:e.\u0275fac}),e}();function Hc(e,t,n){if(!e)throw new Error("Cannot find '".concat(n,"' in '").concat(t,"'"));return e}var zc=function(e){return null},Bc=Ac(null,"core",[{provide:ec,useValue:"unknown"},{provide:Nc,deps:[Xo]},{provide:Ec,deps:[]},{provide:nc,deps:[]}]),qc=[{provide:Dc,useClass:Dc,deps:[pc,nc,Xo,Zn,Da,Gu]},{provide:fu,deps:[pc],useFactory:function(e){var t=[];return e.onStable.subscribe(function(){for(;t.length;)t.pop()()}),function(e){t.push(e)}}},{provide:Gu,useClass:Gu,deps:[[new S,Zu]]},{provide:fc,useClass:fc,deps:[]},Yu,{provide:eu,useFactory:function(){return ru},deps:[]},{provide:tu,useFactory:function(){return iu},deps:[]},{provide:rc,useFactory:function(e){return Sa(e=e||"undefined"!=typeof $localize&&$localize.locale||"en-US"),e},deps:[[new w(rc),new S,new C]]},{provide:ic,useValue:"USD"}],Qc=function(){var e=function e(t){b(this,e)};return e.\u0275mod=Me({type:e}),e.\u0275inj=A({factory:function(t){return new(t||e)(fe(Dc))},providers:qc}),e}()},gRHU:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("2fFW"),i=n("NJ4a"),o={closed:!0,next:function(e){},error:function(e){if(r.a.useDeprecatedSynchronousErrorHandling)throw e;Object(i.a)(e)},complete:function(){}}},hqch:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("HDdC"),i=function(){function e(t,n){b(this,e),this.worker=t,this.zone=n,this.nextId=0}return k(e,[{key:"sendMessage",value:function(e,t){var n=this;return new r.a(function(r){var i=n.nextId++,o=function(t){var o=t.data,s=o.type,a=o.id,u=o.payload;e===s&&i===a&&n.zone.run(function(){r.next(u),r.complete()})},s=function(e){n.zone.run(function(){return r.error(e)})};return n.worker.addEventListener("message",o),n.worker.addEventListener("error",s),n.worker.postMessage({type:e,id:i,payload:t}),function(){n.worker.removeEventListener("message",o),n.worker.removeEventListener("error",s)}})}}],[{key:"create",value:function(t,n){return new e(t,n)}}]),e}()},itXk:function(e,t,n){"use strict";n.d(t,"b",function(){return c}),n.d(t,"a",function(){return l});var r=n("z+Ro"),i=n("DH7j"),o=n("l7GE"),s=n("ZUHj"),a=n("yCtX"),u={};function c(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=null,s=null;return Object(r.a)(t[t.length-1])&&(s=t.pop()),"function"==typeof t[t.length-1]&&(o=t.pop()),1===t.length&&Object(i.a)(t[0])&&(t=t[0]),Object(a.a)(t,s).lift(new l(o))}var l=function(){function e(t){b(this,e),this.resultSelector=t}return k(e,[{key:"call",value:function(e,t){return t.subscribe(new h(e,this.resultSelector))}}]),e}(),h=function(e){f(n,e);var t=v(n);function n(e,r){var i;return b(this,n),(i=t.call(this,e)).resultSelector=r,i.active=0,i.values=[],i.observables=[],i}return k(n,[{key:"_next",value:function(e){this.values.push(u),this.observables.push(e)}},{key:"_complete",value:function(){var e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(var n=0;n<t;n++){var r=e[n];this.add(Object(s.a)(this,r,r,n))}}}},{key:"notifyComplete",value:function(e){0==(this.active-=1)&&this.destination.complete()}},{key:"notifyNext",value:function(e,t,n,r,i){var o=this.values,s=this.toRespond?o[n]===u?--this.toRespond:this.toRespond:0;o[n]=t,0===s&&(this.resultSelector?this._tryResultSelector(o):this.destination.next(o.slice()))}},{key:"_tryResultSelector",value:function(e){var t;try{t=this.resultSelector.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}]),n}(o.a)},jZKg:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("HDdC"),i=n("quSY");function o(e,t){return new r.a(function(n){var r=new i.a,o=0;return r.add(t.schedule(function(){o!==e.length?(n.next(e[o++]),n.closed||r.add(this.schedule())):n.complete()})),r})}},jhN1:function(e,t,n){"use strict";n.d(t,"a",function(){return B}),n.d(t,"b",function(){return P}),n.d(t,"c",function(){return Q}),n.d(t,"d",function(){return H}),n.d(t,"e",function(){return O});var r,i=n("ofXK"),o=n("fXoL"),s=function(e){f(n,e);var t=v(n);function n(){return b(this,n),t.apply(this,arguments)}return k(n,[{key:"getProperty",value:function(e,t){return e[t]}},{key:"log",value:function(e){window.console&&window.console.log&&window.console.log(e)}},{key:"logGroup",value:function(e){window.console&&window.console.group&&window.console.group(e)}},{key:"logGroupEnd",value:function(){window.console&&window.console.groupEnd&&window.console.groupEnd()}},{key:"onAndCancel",value:function(e,t,n){return e.addEventListener(t,n,!1),function(){e.removeEventListener(t,n,!1)}}},{key:"dispatchEvent",value:function(e,t){e.dispatchEvent(t)}},{key:"remove",value:function(e){return e.parentNode&&e.parentNode.removeChild(e),e}},{key:"getValue",value:function(e){return e.value}},{key:"createElement",value:function(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}},{key:"createHtmlDocument",value:function(){return document.implementation.createHTMLDocument("fakeTitle")}},{key:"getDefaultDocument",value:function(){return document}},{key:"isElementNode",value:function(e){return e.nodeType===Node.ELEMENT_NODE}},{key:"isShadowRoot",value:function(e){return e instanceof DocumentFragment}},{key:"getGlobalEventTarget",value:function(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}},{key:"getHistory",value:function(){return window.history}},{key:"getLocation",value:function(){return window.location}},{key:"getBaseHref",value:function(e){var t,n=a||(a=document.querySelector("base"))?a.getAttribute("href"):null;return null==n?null:(t=n,r||(r=document.createElement("a")),r.setAttribute("href",t),"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname)}},{key:"resetBaseElement",value:function(){a=null}},{key:"getUserAgent",value:function(){return window.navigator.userAgent}},{key:"performanceNow",value:function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}},{key:"supportsCookies",value:function(){return!0}},{key:"getCookie",value:function(e){return Object(i.w)(document.cookie,e)}}],[{key:"makeCurrent",value:function(){Object(i.x)(new n)}}]),n}(function(e){f(n,e);var t=v(n);function n(){return b(this,n),t.call(this)}return k(n,[{key:"supportsDOMEvents",value:function(){return!0}}]),n}(i.t)),a=null,u=new o.q("TRANSITION_ID"),c=[{provide:o.d,useFactory:function(e,t,n){return function(){n.get(o.e).donePromise.then(function(){var n=Object(i.v)();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter(function(t){return t.getAttribute("ng-transition")===e}).forEach(function(e){return n.remove(e)})})}},deps:[u,i.d,o.r],multi:!0}],l=function(){function e(){b(this,e)}return k(e,[{key:"addToWindow",value:function(e){o.pb.getAngularTestability=function(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},o.pb.getAllAngularTestabilities=function(){return e.getAllTestabilities()},o.pb.getAllAngularRootElements=function(){return e.getAllRootElements()},o.pb.frameworkStabilizers||(o.pb.frameworkStabilizers=[]),o.pb.frameworkStabilizers.push(function(e){var t=o.pb.getAllAngularTestabilities(),n=t.length,r=!1,i=function(t){r=r||t,0==--n&&e(r)};t.forEach(function(e){e.whenStable(i)})})}},{key:"findTestabilityInTree",value:function(e,t,n){if(null==t)return null;var r=e.getTestability(t);return null!=r?r:n?Object(i.v)().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}],[{key:"init",value:function(){Object(o.Y)(new e)}}]),e}(),d=new o.q("EventManagerPlugins"),p=function(){var e=function(){function e(t,n){var r=this;b(this,e),this._zone=n,this._eventNameToPlugin=new Map,t.forEach(function(e){return e.manager=r}),this._plugins=t.slice().reverse()}return k(e,[{key:"addEventListener",value:function(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}},{key:"addGlobalEventListener",value:function(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}},{key:"getZone",value:function(){return this._zone}},{key:"_findPluginFor",value:function(e){var t=this._eventNameToPlugin.get(e);if(t)return t;for(var n=this._plugins,r=0;r<n.length;r++){var i=n[r];if(i.supports(e))return this._eventNameToPlugin.set(e,i),i}throw new Error("No event manager plugin found for event "+e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Vb(d),o.Vb(o.z))},e.\u0275prov=o.Ib({token:e,factory:e.\u0275fac}),e}(),m=function(){function e(t){b(this,e),this._doc=t}return k(e,[{key:"addGlobalEventListener",value:function(e,t,n){var r=Object(i.v)().getGlobalEventTarget(this._doc,e);if(!r)throw new Error("Unsupported event target ".concat(r," for event ").concat(t));return this.addEventListener(r,t,n)}}]),e}(),y=function(){var e=function(){function e(){b(this,e),this._stylesSet=new Set}return k(e,[{key:"addStyles",value:function(e){var t=this,n=new Set;e.forEach(function(e){t._stylesSet.has(e)||(t._stylesSet.add(e),n.add(e))}),this.onStylesAdded(n)}},{key:"onStylesAdded",value:function(e){}},{key:"getAllStyles",value:function(){return Array.from(this._stylesSet)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=o.Ib({token:e,factory:e.\u0275fac}),e}(),_=function(){var e=function(e){f(n,e);var t=v(n);function n(e){var r;return b(this,n),(r=t.call(this))._doc=e,r._hostNodes=new Set,r._styleNodes=new Set,r._hostNodes.add(e.head),r}return k(n,[{key:"_addStylesToHost",value:function(e,t){var n=this;e.forEach(function(e){var r=n._doc.createElement("style");r.textContent=e,n._styleNodes.add(t.appendChild(r))})}},{key:"addHost",value:function(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)}},{key:"removeHost",value:function(e){this._hostNodes.delete(e)}},{key:"onStylesAdded",value:function(e){var t=this;this._hostNodes.forEach(function(n){return t._addStylesToHost(e,n)})}},{key:"ngOnDestroy",value:function(){this._styleNodes.forEach(function(e){return Object(i.v)().remove(e)})}}]),n}(y);return e.\u0275fac=function(t){return new(t||e)(o.Vb(i.d))},e.\u0275prov=o.Ib({token:e,factory:e.\u0275fac}),e}(),w={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/"},S=/%COMP%/g;function E(e,t,n){for(var r=0;r<t.length;r++){var i=t[r];Array.isArray(i)?E(e,i,n):(i=i.replace(S,e),n.push(i))}return n}function C(e){return function(t){if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}var O=function(){var e=function(){function e(t,n,r){b(this,e),this.eventManager=t,this.sharedStylesHost=n,this.appId=r,this.rendererByCompId=new Map,this.defaultRenderer=new x(t)}return k(e,[{key:"createRenderer",value:function(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case o.R.Emulated:var n=this.rendererByCompId.get(t.id);return n||(n=new T(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n;case 1:case o.R.ShadowDom:return new I(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){var r=E(t.id,t.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}},{key:"begin",value:function(){}},{key:"end",value:function(){}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Vb(p),o.Vb(_),o.Vb(o.c))},e.\u0275prov=o.Ib({token:e,factory:e.\u0275fac}),e}(),x=function(){function e(t){b(this,e),this.eventManager=t,this.data=Object.create(null)}return k(e,[{key:"destroy",value:function(){}},{key:"createElement",value:function(e,t){return t?document.createElementNS(w[t]||t,e):document.createElement(e)}},{key:"createComment",value:function(e){return document.createComment(e)}},{key:"createText",value:function(e){return document.createTextNode(e)}},{key:"appendChild",value:function(e,t){e.appendChild(t)}},{key:"insertBefore",value:function(e,t,n){e&&e.insertBefore(t,n)}},{key:"removeChild",value:function(e,t){e&&e.removeChild(t)}},{key:"selectRootElement",value:function(e,t){var n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error('The selector "'.concat(e,'" did not match any elements'));return t||(n.textContent=""),n}},{key:"parentNode",value:function(e){return e.parentNode}},{key:"nextSibling",value:function(e){return e.nextSibling}},{key:"setAttribute",value:function(e,t,n,r){if(r){t=r+":"+t;var i=w[r];i?e.setAttributeNS(i,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}},{key:"removeAttribute",value:function(e,t,n){if(n){var r=w[n];r?e.removeAttributeNS(r,t):e.removeAttribute("".concat(n,":").concat(t))}else e.removeAttribute(t)}},{key:"addClass",value:function(e,t){e.classList.add(t)}},{key:"removeClass",value:function(e,t){e.classList.remove(t)}},{key:"setStyle",value:function(e,t,n,r){r&o.G.DashCase?e.style.setProperty(t,n,r&o.G.Important?"important":""):e.style[t]=n}},{key:"removeStyle",value:function(e,t,n){n&o.G.DashCase?e.style.removeProperty(t):e.style[t]=""}},{key:"setProperty",value:function(e,t,n){e[t]=n}},{key:"setValue",value:function(e,t){e.nodeValue=t}},{key:"listen",value:function(e,t,n){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,C(n)):this.eventManager.addEventListener(e,t,C(n))}}]),e}(),T=function(e){f(n,e);var t=v(n);function n(e,r,i,o){var s;b(this,n),(s=t.call(this,e)).component=i;var a=E(o+"-"+i.id,i.styles,[]);return r.addStyles(a),s.contentAttr="_ngcontent-%COMP%".replace(S,o+"-"+i.id),s.hostAttr="_nghost-%COMP%".replace(S,o+"-"+i.id),s}return k(n,[{key:"applyToHost",value:function(e){h(g(n.prototype),"setAttribute",this).call(this,e,this.hostAttr,"")}},{key:"createElement",value:function(e,t){var r=h(g(n.prototype),"createElement",this).call(this,e,t);return h(g(n.prototype),"setAttribute",this).call(this,r,this.contentAttr,""),r}}]),n}(x),I=function(e){f(n,e);var t=v(n);function n(e,r,i,o){var s;b(this,n),(s=t.call(this,e)).sharedStylesHost=r,s.hostEl=i,s.shadowRoot=i.attachShadow({mode:"open"}),s.sharedStylesHost.addHost(s.shadowRoot);for(var a=E(o.id,o.styles,[]),u=0;u<a.length;u++){var c=document.createElement("style");c.textContent=a[u],s.shadowRoot.appendChild(c)}return s}return k(n,[{key:"nodeOrShadowRoot",value:function(e){return e===this.hostEl?this.shadowRoot:e}},{key:"destroy",value:function(){this.sharedStylesHost.removeHost(this.shadowRoot)}},{key:"appendChild",value:function(e,t){return h(g(n.prototype),"appendChild",this).call(this,this.nodeOrShadowRoot(e),t)}},{key:"insertBefore",value:function(e,t,r){return h(g(n.prototype),"insertBefore",this).call(this,this.nodeOrShadowRoot(e),t,r)}},{key:"removeChild",value:function(e,t){return h(g(n.prototype),"removeChild",this).call(this,this.nodeOrShadowRoot(e),t)}},{key:"parentNode",value:function(e){return this.nodeOrShadowRoot(h(g(n.prototype),"parentNode",this).call(this,this.nodeOrShadowRoot(e)))}}]),n}(x),A=function(){var e=function(e){f(n,e);var t=v(n);function n(e){return b(this,n),t.call(this,e)}return k(n,[{key:"supports",value:function(e){return!0}},{key:"addEventListener",value:function(e,t,n){var r=this;return e.addEventListener(t,n,!1),function(){return r.removeEventListener(e,t,n)}}},{key:"removeEventListener",value:function(e,t,n){return e.removeEventListener(t,n)}}]),n}(m);return e.\u0275fac=function(t){return new(t||e)(o.Vb(i.d))},e.\u0275prov=o.Ib({token:e,factory:e.\u0275fac}),e}(),j=["alt","control","meta","shift"],N={"\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"},R={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"},D={alt:function(e){return e.altKey},control:function(e){return e.ctrlKey},meta:function(e){return e.metaKey},shift:function(e){return e.shiftKey}},F=function(){var e=function(e){f(n,e);var t=v(n);function n(e){return b(this,n),t.call(this,e)}return k(n,[{key:"supports",value:function(e){return null!=n.parseEventName(e)}},{key:"addEventListener",value:function(e,t,r){var o=n.parseEventName(t),s=n.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return Object(i.v)().onAndCancel(e,o.domEventName,s)})}}],[{key:"parseEventName",value:function(e){var t=e.toLowerCase().split("."),r=t.shift();if(0===t.length||"keydown"!==r&&"keyup"!==r)return null;var i=n._normalizeKey(t.pop()),o="";if(j.forEach(function(e){var n=t.indexOf(e);n>-1&&(t.splice(n,1),o+=e+".")}),o+=i,0!=t.length||0===i.length)return null;var s={};return s.domEventName=r,s.fullKey=o,s}},{key:"getEventFullKey",value:function(e){var t="",n=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&&R.hasOwnProperty(t)&&(t=R[t]))}return N[t]||t}(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),j.forEach(function(r){r!=n&&(0,D[r])(e)&&(t+=r+".")}),t+=n}},{key:"eventCallback",value:function(e,t,r){return function(i){n.getEventFullKey(i)===e&&r.runGuarded(function(){return t(i)})}}},{key:"_normalizeKey",value:function(e){switch(e){case"esc":return"escape";default:return e}}}]),n}(m);return e.\u0275fac=function(t){return new(t||e)(o.Vb(i.d))},e.\u0275prov=o.Ib({token:e,factory:e.\u0275fac}),e}(),P=function(){var e=function e(){b(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(o.Ib)({factory:function(){return Object(o.Vb)(L)},token:e,providedIn:"root"}),e}();function M(e){return new L(e.get(i.d))}var L=function(){var e=function(e){f(n,e);var t=v(n);function n(e){var r;return b(this,n),(r=t.call(this))._doc=e,r}return k(n,[{key:"sanitize",value:function(e,t){if(null==t)return null;switch(e){case o.I.NONE:return t;case o.I.HTML:return Object(o.eb)(t,"HTML")?Object(o.wb)(t):Object(o.cb)(this._doc,String(t));case o.I.STYLE:return Object(o.eb)(t,"Style")?Object(o.wb)(t):t;case o.I.SCRIPT:if(Object(o.eb)(t,"Script"))return Object(o.wb)(t);throw new Error("unsafe value used in a script context");case o.I.URL:return Object(o.ob)(t),Object(o.eb)(t,"URL")?Object(o.wb)(t):Object(o.db)(String(t));case o.I.RESOURCE_URL:if(Object(o.eb)(t,"ResourceURL"))return Object(o.wb)(t);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext ".concat(e," (see http://g.co/ng/security#xss)"))}}},{key:"bypassSecurityTrustHtml",value:function(e){return Object(o.fb)(e)}},{key:"bypassSecurityTrustStyle",value:function(e){return Object(o.ib)(e)}},{key:"bypassSecurityTrustScript",value:function(e){return Object(o.hb)(e)}},{key:"bypassSecurityTrustUrl",value:function(e){return Object(o.jb)(e)}},{key:"bypassSecurityTrustResourceUrl",value:function(e){return Object(o.gb)(e)}}]),n}(P);return e.\u0275fac=function(t){return new(t||e)(o.Vb(i.d))},e.\u0275prov=Object(o.Ib)({factory:function(){return M(Object(o.Vb)(o.o))},token:e,providedIn:"root"}),e}(),V=[{provide:o.B,useValue:i.u},{provide:o.C,useValue:function(){s.makeCurrent(),l.init()},multi:!0},{provide:i.d,useFactory:function(){return Object(o.ub)(document),document},deps:[]}],H=Object(o.S)(o.X,"browser",V),z=[[],{provide:o.ab,useValue:"root"},{provide:o.m,useFactory:function(){return new o.m},deps:[]},{provide:d,useClass:A,multi:!0,deps:[i.d,o.z,o.B]},{provide:d,useClass:F,multi:!0,deps:[i.d]},[],{provide:O,useClass:O,deps:[p,_,o.c]},{provide:o.F,useExisting:O},{provide:y,useExisting:_},{provide:_,useClass:_,deps:[i.d]},{provide:o.N,useClass:o.N,deps:[o.z]},{provide:p,useClass:p,deps:[d,o.z]},[]],B=function(){var e=function(){function e(t){if(b(this,e),t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return k(e,null,[{key:"withServerTransition",value:function(t){return{ngModule:e,providers:[{provide:o.c,useValue:t.appId},{provide:u,useExisting:o.c},c]}}}]),e}();return e.\u0275mod=o.Kb({type:e}),e.\u0275inj=o.Jb({factory:function(t){return new(t||e)(o.Vb(e,12))},providers:z,imports:[i.c,o.f]}),e}();function q(){return new Q(Object(o.Vb)(i.d))}var Q=function(){var e=function(){function e(t){b(this,e),this._doc=t}return k(e,[{key:"getTitle",value:function(){return this._doc.title}},{key:"setTitle",value:function(e){this._doc.title=e||""}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Vb(i.d))},e.\u0275prov=Object(o.Ib)({factory:q,token:e,providedIn:"root"}),e}();"undefined"!=typeof window&&window},jn67:function(e,t,n){"use strict";n.d(t,"e",function(){return f}),n.d(t,"d",function(){return d}),n.d(t,"a",function(){return v}),n.d(t,"b",function(){return p}),n.d(t,"c",function(){return m});var r=n("NHP+"),i=n("LRne"),o=n("eIep"),s=n("vkgz"),a=n("JIr8"),u=n("fXoL"),c=n("vHPH"),l=n("tk/3"),h=n("/lUL"),f="file-not-found",d="fetching-error",v="generated/",p=v+"docs/",m=function(){var e=function(){function e(t,n,r){var i=this;b(this,e),this.logger=t,this.http=n,this.cache=new Map,this.currentDocument=r.currentPath.pipe(Object(o.a)(function(e){return i.getDocument(e)}))}return k(e,[{key:"getDocument",value:function(e){var t=e||"index";return this.logger.log("getting document",t),this.cache.has(t)||this.cache.set(t,this.fetchDocument(t)),this.cache.get(t)}},{key:"fetchDocument",value:function(e){var t=this,n="".concat(p).concat(e,".json"),i=new r.a;return this.logger.log("fetching document from",n),this.http.get(n,{responseType:"json"}).pipe(Object(s.a)(function(e){if(!e||"object"!=typeof e)throw t.logger.log("received invalid data:",e),Error("Invalid data")}),Object(a.a)(function(n){return 404===n.status?t.getFileNotFoundDoc(e):t.getErrorDoc(e,n)})).subscribe(i),i.asObservable()}},{key:"getFileNotFoundDoc",value:function(e){return e!==f?(this.logger.error(new Error("Document file not found at '".concat(e,"'"))),this.getDocument(f)):Object(i.a)({id:f,contents:"\u6587\u6863\u672a\u627e\u5230"})}},{key:"getErrorDoc",value:function(e,t){return this.logger.error(new Error("Error fetching document '".concat(e,"': (").concat(t.message,")"))),this.cache.delete(e),Object(i.a)({id:d,contents:(n=e,'\n  <div class="nf-container l-flex-wrap flex-center">\n    <div class="nf-icon material-icons">error_outline</div>\n    <div class="nf-response l-flex-wrap">\n      <h1 class="no-toc">\u8bf7\u6c42\u6587\u6863\u5931\u8d25</h1>\n      <p>\n      \u62b1\u6b49\uff0c\u8fd9\u6b21\u6211\u4eec\u6ca1\u80fd\u53d6\u5230 "'.concat(n,'" \u9875\u3002\u8bf7\u68c0\u67e5\u4f60\u7684\u7f51\u7edc\u8fde\u63a5\uff0c\u7a0d\u540e\u518d\u8bd5\u3002\n      </p>\n    </div>\n  </div>\n'))});var n}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u.Vb(c.a),u.Vb(l.a),u.Vb(h.a))},e.\u0275prov=u.Ib({token:e,factory:e.\u0275fac}),e}()},jtHE:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r=n("XNiG"),i=function(e){f(n,e);var t=v(n);function n(e,r){var i;return b(this,n),(i=t.call(this,e,r)).scheduler=e,i.work=r,i}return k(n,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t>0?h(g(n.prototype),"schedule",this).call(this,e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)}},{key:"execute",value:function(e,t){return t>0||this.closed?h(g(n.prototype),"execute",this).call(this,e,t):this._execute(e,t)}},{key:"requestAsyncId",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==r&&r>0||null===r&&this.delay>0?h(g(n.prototype),"requestAsyncId",this).call(this,e,t,r):e.flush(this)}}]),n}(n("3N8a").a),o=new(function(e){f(n,e);var t=v(n);function n(){return b(this,n),t.apply(this,arguments)}return n}(n("IjjT").a))(i),s=n("quSY"),a=n("pxpQ"),u=n("9ppp"),c=n("Ylt2"),l=function(e){f(n,e);var t=v(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY,o=arguments.length>2?arguments[2]:void 0;return b(this,n),(e=t.call(this)).scheduler=o,e._events=[],e._infiniteTimeWindow=!1,e._bufferSize=r<1?1:r,e._windowTime=i<1?1:i,i===Number.POSITIVE_INFINITY?(e._infiniteTimeWindow=!0,e.next=e.nextInfiniteTimeWindow):e.next=e.nextTimeWindow,e}return k(n,[{key:"nextInfiniteTimeWindow",value:function(e){var t=this._events;t.push(e),t.length>this._bufferSize&&t.shift(),h(g(n.prototype),"next",this).call(this,e)}},{key:"nextTimeWindow",value:function(e){this._events.push(new d(this._getNow(),e)),this._trimBufferThenGetEvents(),h(g(n.prototype),"next",this).call(this,e)}},{key:"_subscribe",value:function(e){var t,n=this._infiniteTimeWindow,r=n?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,o=r.length;if(this.closed)throw new u.a;if(this.isStopped||this.hasError?t=s.a.EMPTY:(this.observers.push(e),t=new c.a(this,e)),i&&e.add(e=new a.a(e,i)),n)for(var l=0;l<o&&!e.closed;l++)e.next(r[l]);else for(var h=0;h<o&&!e.closed;h++)e.next(r[h].value);return this.hasError?e.error(this.thrownError):this.isStopped&&e.complete(),t}},{key:"_getNow",value:function(){return(this.scheduler||o).now()}},{key:"_trimBufferThenGetEvents",value:function(){for(var e=this._getNow(),t=this._bufferSize,n=this._windowTime,r=this._events,i=r.length,o=0;o<i&&!(e-r[o].time<n);)o++;return i>t&&(o=Math.max(o,i-t)),o>0&&r.splice(0,o),r}}]),n}(r.a),d=function e(t,n){b(this,e),this.time=t,this.value=n}},kJWO:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r="function"==typeof Symbol&&Symbol.observable||"@@observable"},l7GE:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=function(e){f(n,e);var t=v(n);function n(){return b(this,n),t.apply(this,arguments)}return k(n,[{key:"notifyNext",value:function(e,t,n,r,i){this.destination.next(t)}},{key:"notifyError",value:function(e,t){this.destination.error(e)}},{key:"notifyComplete",value:function(e){this.destination.complete()}}]),n}(n("7o/Q").a)},lJxs:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("7o/Q");function i(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new o(e,t))}}var o=function(){function e(t,n){b(this,e),this.project=t,this.thisArg=n}return k(e,[{key:"call",value:function(e,t){return t.subscribe(new s(e,this.project,this.thisArg))}}]),e}(),s=function(e){f(n,e);var t=v(n);function n(e,r,i){var o;return b(this,n),(o=t.call(this,e)).project=r,o.count=0,o.thisArg=i||m(o),o}return k(n,[{key:"_next",value:function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}]),n}(r.a)},n6bG:function(e,t,n){"use strict";function r(e){return"function"==typeof e}n.d(t,"a",function(){return r})},nLfN:function(e,t,n){"use strict";n.d(t,"a",function(){return l}),n.d(t,"b",function(){return h}),n.d(t,"c",function(){return p}),n.d(t,"d",function(){return v}),n.d(t,"e",function(){return f}),n.d(t,"f",function(){return d});var r,i=n("fXoL"),o=n("ofXK");try{r="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(m){r=!1}var s,a,u,c,l=function(){var e=function e(t){b(this,e),this._platformId=t,this.isBrowser=this._platformId?Object(o.s)(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&&!r)&&"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(t){return new(t||e)(i.Vb(i.B))},e.\u0275prov=Object(i.Ib)({factory:function(){return new e(Object(i.Vb)(i.B))},token:e,providedIn:"root"}),e}(),h=function(){var e=function e(){b(this,e)};return e.\u0275mod=i.Kb({type:e}),e.\u0275inj=i.Jb({factory:function(t){return new(t||e)}}),e}();function f(e){return function(){if(null==s&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return s=!0}}))}finally{s=s||!1}return s}()?e:!!e.capture}function d(){if(null==u)if("object"==typeof document&&document||(u=!1),"scrollBehavior"in document.documentElement.style)u=!0;else{var e=Element.prototype.scrollTo;u=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}return u}function v(){if("object"!=typeof document||!document)return 0;if(null==a){var e=document.createElement("div"),t=e.style;e.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";var n=document.createElement("div"),r=n.style;r.width="2px",r.height="1px",e.appendChild(n),document.body.appendChild(e),a=0,0===e.scrollLeft&&(e.scrollLeft=1,a=0===e.scrollLeft?1:2),e.parentNode.removeChild(e)}return a}function p(e){if(function(){if(null==c){var e="undefined"!=typeof document?document.head:null;c=!(!e||!e.createShadowRoot&&!e.attachShadow)}return c}()){var t=e.getRootNode?e.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}},nYR2:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("7o/Q"),i=n("quSY");function o(e){return function(t){return t.lift(new s(e))}}var s=function(){function e(t){b(this,e),this.callback=t}return k(e,[{key:"call",value:function(e,t){return t.subscribe(new a(e,this.callback))}}]),e}(),a=function(e){f(n,e);var t=v(n);function n(e,r){var o;return b(this,n),(o=t.call(this,e)).add(new i.a(r)),o}return n}(r.a)},ngJS:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=function(e){return function(t){for(var n=0,r=e.length;n<r&&!t.closed;n++)t.next(e[n]);t.complete()}}},oB13:function(e,t,n){"use strict";n.d(t,"a",function(){return d});var r,i=n("XNiG"),o=n("HDdC"),s=(n("7o/Q"),n("quSY")),a=n("x+ZX"),u=function(e){f(n,e);var t=v(n);function n(e,r){var i;return b(this,n),(i=t.call(this)).source=e,i.subjectFactory=r,i._refCount=0,i._isComplete=!1,i}return k(n,[{key:"_subscribe",value:function(e){return this.getSubject().subscribe(e)}},{key:"getSubject",value:function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}},{key:"connect",value:function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new s.a).add(this.source.subscribe(new l(this.getSubject(),this))),e.closed&&(this._connection=null,e=s.a.EMPTY)),e}},{key:"refCount",value:function(){return Object(a.a)()(this)}}]),n}(o.a),c={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:(r=u.prototype)._subscribe},_isComplete:{value:r._isComplete,writable:!0},getSubject:{value:r.getSubject},connect:{value:r.connect},refCount:{value:r.refCount}},l=function(e){f(n,e);var t=v(n);function n(e,r){var i;return b(this,n),(i=t.call(this,e)).connectable=r,i}return k(n,[{key:"_error",value:function(e){this._unsubscribe(),h(g(n.prototype),"_error",this).call(this,e)}},{key:"_complete",value:function(){this.connectable._isComplete=!0,this._unsubscribe(),h(g(n.prototype),"_complete",this).call(this)}},{key:"_unsubscribe",value:function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}]),n}(i.b);function d(e,t){return function(n){var r;if(r="function"==typeof e?e:function(){return e},"function"==typeof t)return n.lift(new p(r,t));var i=Object.create(n,c);return i.source=n,i.subjectFactory=r,i}}var p=function(){function e(t,n){b(this,e),this.subjectFactory=t,this.selector=n}return k(e,[{key:"call",value:function(e,t){var n=this.selector,r=this.subjectFactory(),i=n(r).subscribe(e);return i.add(t.subscribe(r)),i}}]),e}()},ofXK:function(e,t,n){"use strict";n.d(t,"a",function(){return x}),n.d(t,"b",function(){return $}),n.d(t,"c",function(){return ee}),n.d(t,"d",function(){return l}),n.d(t,"e",function(){return I}),n.d(t,"f",function(){return m}),n.d(t,"g",function(){return A}),n.d(t,"h",function(){return C}),n.d(t,"i",function(){return L}),n.d(t,"j",function(){return H}),n.d(t,"k",function(){return B}),n.d(t,"l",function(){return G}),n.d(t,"m",function(){return W}),n.d(t,"n",function(){return K}),n.d(t,"o",function(){return Z}),n.d(t,"p",function(){return T}),n.d(t,"q",function(){return h}),n.d(t,"r",function(){return re}),n.d(t,"s",function(){return ne}),n.d(t,"t",function(){return c}),n.d(t,"u",function(){return te}),n.d(t,"v",function(){return a}),n.d(t,"w",function(){return M}),n.d(t,"x",function(){return u});var i=n("fXoL"),o=null;function a(){return o}function u(e){o||(o=e)}var c=function e(){b(this,e)},l=new i.q("DocumentToken"),h=function(){var e=function e(){b(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(i.Ib)({factory:d,token:e,providedIn:"platform"}),e}();function d(){return Object(i.Vb)(y)}var m=new i.q("Location Initialized"),y=function(){var e=function(e){f(n,e);var t=v(n);function n(e){var r;return b(this,n),(r=t.call(this))._doc=e,r._init(),r}return k(n,[{key:"_init",value:function(){this.location=a().getLocation(),this._history=a().getHistory()}},{key:"getBaseHrefFromDOM",value:function(){return a().getBaseHref(this._doc)}},{key:"onPopState",value:function(e){a().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)}},{key:"onHashChange",value:function(e){a().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)}},{key:"pushState",value:function(e,t,n){g()?this._history.pushState(e,t,n):this.location.hash=n}},{key:"replaceState",value:function(e,t,n){g()?this._history.replaceState(e,t,n):this.location.hash=n}},{key:"forward",value:function(){this._history.forward()}},{key:"back",value:function(){this._history.back()}},{key:"getState",value:function(){return this._history.state}},{key:"href",get:function(){return this.location.href}},{key:"protocol",get:function(){return this.location.protocol}},{key:"hostname",get:function(){return this.location.hostname}},{key:"port",get:function(){return this.location.port}},{key:"pathname",get:function(){return this.location.pathname},set:function(e){this.location.pathname=e}},{key:"search",get:function(){return this.location.search}},{key:"hash",get:function(){return this.location.hash}}]),n}(h);return e.\u0275fac=function(t){return new(t||e)(i.Vb(l))},e.\u0275prov=Object(i.Ib)({factory:_,token:e,providedIn:"platform"}),e}();function g(){return!!window.history.pushState}function _(){return new y(Object(i.Vb)(l))}function w(e,t){if(0==e.length)return t;if(0==t.length)return e;var n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function S(e){var t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function E(e){return e&&"?"!==e[0]?"?"+e:e}var C=function(){var e=function e(){b(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(i.Ib)({factory:O,token:e,providedIn:"root"}),e}();function O(e){var t=Object(i.Vb)(l).location;return new T(Object(i.Vb)(h),t&&t.origin||"")}var x=new i.q("appBaseHref"),T=function(){var e=function(e){f(n,e);var t=v(n);function n(e,r){var i;if(b(this,n),(i=t.call(this))._platformLocation=e,null==r&&(r=i._platformLocation.getBaseHrefFromDOM()),null==r)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return i._baseHref=r,p(i)}return k(n,[{key:"onPopState",value:function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"prepareExternalUrl",value:function(e){return w(this._baseHref,e)}},{key:"path",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this._platformLocation.pathname+E(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?"".concat(t).concat(n):t}},{key:"pushState",value:function(e,t,n,r){var i=this.prepareExternalUrl(n+E(r));this._platformLocation.pushState(e,t,i)}},{key:"replaceState",value:function(e,t,n,r){var i=this.prepareExternalUrl(n+E(r));this._platformLocation.replaceState(e,t,i)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}}]),n}(C);return e.\u0275fac=function(t){return new(t||e)(i.Vb(h),i.Vb(x,8))},e.\u0275prov=i.Ib({token:e,factory:e.\u0275fac}),e}(),I=function(){var e=function(e){f(n,e);var t=v(n);function n(e,r){var i;return b(this,n),(i=t.call(this))._platformLocation=e,i._baseHref="",null!=r&&(i._baseHref=r),i}return k(n,[{key:"onPopState",value:function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"path",value:function(){var e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}},{key:"prepareExternalUrl",value:function(e){var t=w(this._baseHref,e);return t.length>0?"#"+t:t}},{key:"pushState",value:function(e,t,n,r){var i=this.prepareExternalUrl(n+E(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(e,t,i)}},{key:"replaceState",value:function(e,t,n,r){var i=this.prepareExternalUrl(n+E(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,i)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}}]),n}(C);return e.\u0275fac=function(t){return new(t||e)(i.Vb(h),i.Vb(x,8))},e.\u0275prov=i.Ib({token:e,factory:e.\u0275fac}),e}(),A=function(){var e=function(){function e(t,n){var r=this;b(this,e),this._subject=new i.n,this._urlChangeListeners=[],this._platformStrategy=t;var o=this._platformStrategy.getBaseHref();this._platformLocation=n,this._baseHref=S(N(o)),this._platformStrategy.onPopState(function(e){r._subject.emit({url:r.path(!0),pop:!0,state:e.state,type:e.type})})}return k(e,[{key:"path",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.normalize(this._platformStrategy.path(e))}},{key:"getState",value:function(){return this._platformLocation.getState()}},{key:"isCurrentPathEqualTo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.path()==this.normalize(e+E(t))}},{key:"normalize",value:function(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,N(t)))}},{key:"prepareExternalUrl",value:function(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}},{key:"go",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+E(t)),n)}},{key:"replaceState",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+E(t)),n)}},{key:"forward",value:function(){this._platformStrategy.forward()}},{key:"back",value:function(){this._platformStrategy.back()}},{key:"onUrlChange",value:function(e){var t=this;this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(function(e){t._notifyUrlChangeListeners(e.url,e.state)}))}},{key:"_notifyUrlChangeListeners",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;this._urlChangeListeners.forEach(function(n){return n(e,t)})}},{key:"subscribe",value:function(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.Vb(C),i.Vb(h))},e.normalizeQueryParams=E,e.joinWithSlash=w,e.stripTrailingSlash=S,e.\u0275prov=Object(i.Ib)({factory:j,token:e,providedIn:"root"}),e}();function j(){return new A(Object(i.Vb)(C),Object(i.Vb)(h))}function N(e){return e.replace(/\/index.html$/,"")}var R=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}({}),D=i.nb,F=function e(){b(this,e)},P=function(){var e=function(e){f(n,e);var t=v(n);function n(e){var r;return b(this,n),(r=t.call(this)).locale=e,r}return k(n,[{key:"getPluralCategory",value:function(e,t){switch(D(t||this.locale)(e)){case R.Zero:return"zero";case R.One:return"one";case R.Two:return"two";case R.Few:return"few";case R.Many:return"many";default:return"other"}}}]),n}(F);return e.\u0275fac=function(t){return new(t||e)(i.Vb(i.u))},e.\u0275prov=i.Ib({token:e,factory:e.\u0275fac}),e}();function M(e,t){t=encodeURIComponent(t);var n,i=r(e.split(";"));try{for(i.s();!(n=i.n()).done;){var o=n.value,a=o.indexOf("="),u=s(-1==a?[o,""]:[o.slice(0,a),o.slice(a+1)],2),c=u[0],l=u[1];if(c.trim()===t)return decodeURIComponent(l)}}catch(h){i.e(h)}finally{i.f()}return null}var L=function(){var e=function(){function e(t,n,r,i){b(this,e),this._iterableDiffers=t,this._keyValueDiffers=n,this._ngEl=r,this._renderer=i,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}return k(e,[{key:"ngDoCheck",value:function(){if(this._iterableDiffer){var e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){var t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}},{key:"_applyKeyValueChanges",value:function(e){var t=this;e.forEachAddedItem(function(e){return t._toggleClass(e.key,e.currentValue)}),e.forEachChangedItem(function(e){return t._toggleClass(e.key,e.currentValue)}),e.forEachRemovedItem(function(e){e.previousValue&&t._toggleClass(e.key,!1)})}},{key:"_applyIterableChanges",value:function(e){var t=this;e.forEachAddedItem(function(e){if("string"!=typeof e.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Object(i.vb)(e.item));t._toggleClass(e.item,!0)}),e.forEachRemovedItem(function(e){return t._toggleClass(e.item,!1)})}},{key:"_applyClasses",value:function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach(function(e){return t._toggleClass(e,!0)}):Object.keys(e).forEach(function(n){return t._toggleClass(n,!!e[n])}))}},{key:"_removeClasses",value:function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach(function(e){return t._toggleClass(e,!1)}):Object.keys(e).forEach(function(e){return t._toggleClass(e,!1)}))}},{key:"_toggleClass",value:function(e,t){var n=this;(e=e.trim())&&e.split(/\s+/g).forEach(function(e){t?n._renderer.addClass(n._ngEl.nativeElement,e):n._renderer.removeClass(n._ngEl.nativeElement,e)})}},{key:"klass",set:function(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}},{key:"ngClass",set:function(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(Object(i.qb)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.Mb(i.s),i.Mb(i.t),i.Mb(i.l),i.Mb(i.E))},e.\u0275dir=i.Hb({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),e}(),V=function(){function e(t,n,r,i){b(this,e),this.$implicit=t,this.ngForOf=n,this.index=r,this.count=i}return k(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}(),H=function(){var e=function(){function e(t,n,r){b(this,e),this._viewContainer=t,this._template=n,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}return k(e,[{key:"ngDoCheck",value:function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var e=this._ngForOf;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(r){throw new Error("Cannot find a differ supporting object '".concat(e,"' of type '").concat((t=e).name||typeof t,"'. NgFor only supports binding to Iterables such as Arrays."))}}var t;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}},{key:"_applyChanges",value:function(e){var t=this,n=[];e.forEachOperation(function(e,r,i){if(null==e.previousIndex){var o=t._viewContainer.createEmbeddedView(t._template,new V(null,t._ngForOf,-1,-1),null===i?void 0:i),s=new z(e,o);n.push(s)}else if(null==i)t._viewContainer.remove(null===r?void 0:r);else if(null!==r){var a=t._viewContainer.get(r);t._viewContainer.move(a,i);var u=new z(e,a);n.push(u)}});for(var r=0;r<n.length;r++)this._perViewChange(n[r].view,n[r].record);for(var i=0,o=this._viewContainer.length;i<o;i++){var s=this._viewContainer.get(i);s.context.index=i,s.context.count=o,s.context.ngForOf=this._ngForOf}e.forEachIdentityChange(function(e){t._viewContainer.get(e.currentIndex).context.$implicit=e.item})}},{key:"_perViewChange",value:function(e,t){e.context.$implicit=t.item}},{key:"ngForOf",set:function(e){this._ngForOf=e,this._ngForOfDirty=!0}},{key:"ngForTrackBy",set:function(e){Object(i.W)()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn("trackBy must be a function, but received ".concat(JSON.stringify(e),". See https://angular.io/api/common/NgForOf#change-propagation for more information.")),this._trackByFn=e},get:function(){return this._trackByFn}},{key:"ngForTemplate",set:function(e){e&&(this._template=e)}}],[{key:"ngTemplateContextGuard",value:function(e,t){return!0}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.Mb(i.Q),i.Mb(i.M),i.Mb(i.s))},e.\u0275dir=i.Hb({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),e}(),z=function e(t,n){b(this,e),this.record=t,this.view=n},B=function(){var e=function(){function e(t,n){b(this,e),this._viewContainer=t,this._context=new q,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=n}return k(e,[{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:"ngIf",set:function(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}},{key:"ngIfThen",set:function(e){Q("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}},{key:"ngIfElse",set:function(e){Q("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}}],[{key:"ngTemplateContextGuard",value:function(e,t){return!0}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.Mb(i.Q),i.Mb(i.M))},e.\u0275dir=i.Hb({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),e}(),q=function e(){b(this,e),this.$implicit=null,this.ngIf=null};function Q(e,t){if(t&&!t.createEmbeddedView)throw new Error("".concat(e," must be a TemplateRef, but received '").concat(Object(i.vb)(t),"'."))}var U=function(){function e(t,n){b(this,e),this._viewContainerRef=t,this._templateRef=n,this._created=!1}return k(e,[{key:"create",value:function(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}},{key:"destroy",value:function(){this._created=!1,this._viewContainerRef.clear()}},{key:"enforceState",value:function(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}}]),e}(),W=function(){var e=function(){function e(){b(this,e),this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}return k(e,[{key:"_addCase",value:function(){return this._caseCount++}},{key:"_addDefault",value:function(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)}},{key:"_matchCase",value:function(e){var t=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||t,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),t}},{key:"_updateDefaultCases",value:function(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(var t=0;t<this._defaultViews.length;t++)this._defaultViews[t].enforceState(e)}}},{key:"ngSwitch",set:function(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i.Hb({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),e}(),K=function(){var e=function(){function e(t,n,r){b(this,e),this.ngSwitch=r,r._addCase(),this._view=new U(t,n)}return k(e,[{key:"ngDoCheck",value:function(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.Mb(i.Q),i.Mb(i.M),i.Mb(W,1))},e.\u0275dir=i.Hb({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),e}(),Z=function(){var e=function e(t,n,r){b(this,e),r._addDefault(new U(t,n))};return e.\u0275fac=function(t){return new(t||e)(i.Mb(i.Q),i.Mb(i.M),i.Mb(W,1))},e.\u0275dir=i.Hb({type:e,selectors:[["","ngSwitchDefault",""]]}),e}(),G=function(){var e=function(){function e(t,n,r){b(this,e),this._ngEl=t,this._differs=n,this._renderer=r,this._ngStyle=null,this._differ=null}return k(e,[{key:"ngDoCheck",value:function(){if(this._differ){var e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}},{key:"_setStyle",value:function(e,t){var n=s(e.split("."),2),r=n[0],i=n[1];null!=(t=null!=t&&i?"".concat(t).concat(i):t)?this._renderer.setStyle(this._ngEl.nativeElement,r,t):this._renderer.removeStyle(this._ngEl.nativeElement,r)}},{key:"_applyChanges",value:function(e){var t=this;e.forEachRemovedItem(function(e){return t._setStyle(e.key,null)}),e.forEachAddedItem(function(e){return t._setStyle(e.key,e.currentValue)}),e.forEachChangedItem(function(e){return t._setStyle(e.key,e.currentValue)})}},{key:"ngStyle",set:function(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.Mb(i.l),i.Mb(i.t),i.Mb(i.E))},e.\u0275dir=i.Hb({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),e}(),X=function(){function e(){b(this,e)}return k(e,[{key:"createSubscription",value:function(e,t){return e.subscribe({next:t,error:function(e){throw e}})}},{key:"dispose",value:function(e){e.unsubscribe()}},{key:"onDestroy",value:function(e){e.unsubscribe()}}]),e}(),Y=new(function(){function e(){b(this,e)}return k(e,[{key:"createSubscription",value:function(e,t){return e.then(t,function(e){throw e})}},{key:"dispose",value:function(e){}},{key:"onDestroy",value:function(e){}}]),e}()),J=new X,$=function(){var e=function(){function e(t){b(this,e),this._ref=t,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}return k(e,[{key:"ngOnDestroy",value:function(){this._subscription&&this._dispose()}},{key:"transform",value:function(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}},{key:"_subscribe",value:function(e){var t=this;this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,function(n){return t._updateLatestValue(e,n)})}},{key:"_selectStrategy",value:function(t){if(Object(i.sb)(t))return Y;if(Object(i.rb)(t))return J;throw n=e,Error("InvalidPipeArgument: '".concat(t,"' for pipe '").concat(Object(i.vb)(n),"'"));var n}},{key:"_dispose",value:function(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}},{key:"_updateLatestValue",value:function(e,t){e===this._obj&&(this._latestValue=t,this._ref.markForCheck())}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.Xb())},e.\u0275pipe=i.Lb({name:"async",type:e,pure:!1}),e}(),ee=function(){var e=function e(){b(this,e)};return e.\u0275mod=i.Kb({type:e}),e.\u0275inj=i.Jb({factory:function(t){return new(t||e)},providers:[{provide:F,useClass:P}]}),e}(),te="browser";function ne(e){return e===te}var re=function(){var e=function e(){b(this,e)};return e.\u0275prov=Object(i.Ib)({token:e,providedIn:"root",factory:function(){return new ie(Object(i.Vb)(l),window,Object(i.Vb)(i.m))}}),e}(),ie=function(){function e(t,n,r){b(this,e),this.document=t,this.window=n,this.errorHandler=r,this.offset=function(){return[0,0]}}return k(e,[{key:"setOffset",value:function(e){this.offset=Array.isArray(e)?function(){return e}:e}},{key:"getScrollPosition",value:function(){return this.supportsScrolling()?[this.window.scrollX,this.window.scrollY]:[0,0]}},{key:"scrollToPosition",value:function(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}},{key:"scrollToAnchor",value:function(e){if(this.supportsScrolling()){var t=this.document.getElementById(e)||this.document.getElementsByName(e)[0];t&&this.scrollToElement(t)}}},{key:"setHistoryScrollRestoration",value:function(e){if(this.supportScrollRestoration()){var t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}},{key:"scrollToElement",value:function(e){var t=e.getBoundingClientRect(),n=t.left+this.window.pageXOffset,r=t.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],r-i[1])}},{key:"supportScrollRestoration",value:function(){try{if(!this.window||!this.window.scrollTo)return!1;var e=oe(this.window.history)||oe(Object.getPrototypeOf(this.window.history));return!(!e||!e.writable&&!e.set)}catch(t){return!1}}},{key:"supportsScrolling",value:function(){try{return!!this.window.scrollTo}catch(e){return!1}}}]),e}();function oe(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}},pLZG:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("7o/Q");function i(e,t){return function(n){return n.lift(new o(e,t))}}var o=function(){function e(t,n){b(this,e),this.predicate=t,this.thisArg=n}return k(e,[{key:"call",value:function(e,t){return t.subscribe(new s(e,this.predicate,this.thisArg))}}]),e}(),s=function(e){f(n,e);var t=v(n);function n(e,r,i){var o;return b(this,n),(o=t.call(this,e)).predicate=r,o.thisArg=i,o.count=0,o}return k(n,[{key:"_next",value:function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)}}]),n}(r.a)},pxpQ:function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"a",function(){return a});var r=n("7o/Q"),i=n("WMd4");function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(n){return n.lift(new s(e,t))}}var s=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;b(this,e),this.scheduler=t,this.delay=n}return k(e,[{key:"call",value:function(e,t){return t.subscribe(new a(e,this.scheduler,this.delay))}}]),e}(),a=function(e){f(n,e);var t=v(n);function n(e,r){var i,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return b(this,n),(i=t.call(this,e)).scheduler=r,i.delay=o,i}return k(n,[{key:"scheduleMessage",value:function(e){this.destination.add(this.scheduler.schedule(n.dispatch,this.delay,new u(e,this.destination)))}},{key:"_next",value:function(e){this.scheduleMessage(i.a.createNext(e))}},{key:"_error",value:function(e){this.scheduleMessage(i.a.createError(e)),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleMessage(i.a.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(e){var t=e.notification,n=e.destination;t.observe(n),this.unsubscribe()}}]),n}(r.a),u=function e(t,n){b(this,e),this.notification=t,this.destination=n}},qZ0a:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("NHP+"),i=n("oB13");function o(){return function(e){return Object(i.a)(new r.a)(e)}}},quSY:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var r,i,o=n("DH7j"),s=n("XoHu"),a=n("n6bG"),u=function(){function e(e){return Error.call(this),this.message=e?"".concat(e.length," errors occurred during unsubscription:\n").concat(e.map(function(e,t){return"".concat(t+1,") ").concat(e.toString())}).join("\n  ")):"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e}(),c=((i=function(){function e(t){b(this,e),this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}return k(e,[{key:"unsubscribe",value:function(){var t;if(!this.closed){var n=this._parentOrParents,r=this._unsubscribe,i=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(null!==n)for(var c=0;c<n.length;++c)n[c].remove(this);if(Object(a.a)(r))try{r.call(this)}catch(v){t=v instanceof u?l(v.errors):[v]}if(Object(o.a)(i))for(var h=-1,f=i.length;++h<f;){var d=i[h];if(Object(s.a)(d))try{d.unsubscribe()}catch(v){t=t||[],v instanceof u?t=t.concat(l(v.errors)):t.push(v)}}if(t)throw new u(t)}}},{key:"add",value:function(t){var n=t;if(!t)return e.EMPTY;switch(typeof t){case"function":n=new e(t);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof e)){var r=n;(n=new e)._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}var i=n._parentOrParents;if(null===i)n._parentOrParents=this;else if(i instanceof e){if(i===this)return n;n._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return n;i.push(this)}var o=this._subscriptions;return null===o?this._subscriptions=[n]:o.push(n),n}},{key:"remove",value:function(e){var t=this._subscriptions;if(t){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}}}]),e}()).EMPTY=((r=new i).closed=!0,r),i);function l(e){return e.reduce(function(e,t){return e.concat(t instanceof u?t.errors:t)},[])}},sVev:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=function(){function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e}()},"tk/3":function(e,t,n){"use strict";n.d(t,"a",function(){return N}),n.d(t,"b",function(){return K});var r=n("fXoL"),o=n("LRne"),a=n("HDdC"),u=n("bOdf"),c=n("pLZG"),l=n("lJxs"),h=n("ofXK"),d=function e(){b(this,e)},p=function e(){b(this,e)},m=function(){function e(t){var n=this;b(this,e),this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?function(){n.headers=new Map,t.split("\n").forEach(function(e){var t=e.indexOf(":");if(t>0){var r=e.slice(0,t),i=r.toLowerCase(),o=e.slice(t+1).trim();n.maybeSetNormalizedName(r,i),n.headers.has(i)?n.headers.get(i).push(o):n.headers.set(i,[o])}})}:function(){n.headers=new Map,Object.keys(t).forEach(function(e){var r=t[e],i=e.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(n.headers.set(i,r),n.maybeSetNormalizedName(e,i))})}:this.headers=new Map}return k(e,[{key:"has",value:function(e){return this.init(),this.headers.has(e.toLowerCase())}},{key:"get",value:function(e){this.init();var t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}},{key:"keys",value:function(){return this.init(),Array.from(this.normalizedNames.values())}},{key:"getAll",value:function(e){return this.init(),this.headers.get(e.toLowerCase())||null}},{key:"append",value:function(e,t){return this.clone({name:e,value:t,op:"a"})}},{key:"set",value:function(e,t){return this.clone({name:e,value:t,op:"s"})}},{key:"delete",value:function(e,t){return this.clone({name:e,value:t,op:"d"})}},{key:"maybeSetNormalizedName",value:function(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}},{key:"init",value:function(){var t=this;this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(e){return t.applyUpdate(e)}),this.lazyUpdate=null))}},{key:"copyFrom",value:function(e){var t=this;e.init(),Array.from(e.headers.keys()).forEach(function(n){t.headers.set(n,e.headers.get(n)),t.normalizedNames.set(n,e.normalizedNames.get(n))})}},{key:"clone",value:function(t){var n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}},{key:"applyUpdate",value:function(e){var t=e.name.toLowerCase();switch(e.op){case"a":case"s":var n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);var r=("a"===e.op?this.headers.get(t):void 0)||[];r.push.apply(r,i(n)),this.headers.set(t,r);break;case"d":var o=e.value;if(o){var s=this.headers.get(t);if(!s)return;0===(s=s.filter(function(e){return-1===o.indexOf(e)})).length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}else this.headers.delete(t),this.normalizedNames.delete(t)}}},{key:"forEach",value:function(e){var t=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(n){return e(t.normalizedNames.get(n),t.headers.get(n))})}}]),e}(),y=function(){function e(){b(this,e)}return k(e,[{key:"encodeKey",value:function(e){return g(e)}},{key:"encodeValue",value:function(e){return g(e)}},{key:"decodeKey",value:function(e){return decodeURIComponent(e)}},{key:"decodeValue",value:function(e){return decodeURIComponent(e)}}]),e}();function g(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}var _=function(){function e(){var t,n,r,i=this,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(b(this,e),this.updates=null,this.cloneFrom=null,this.encoder=o.encoder||new y,o.fromString){if(o.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(t=o.fromString,n=this.encoder,r=new Map,t.length>0&&t.split("&").forEach(function(e){var t=e.indexOf("="),i=s(-1==t?[n.decodeKey(e),""]:[n.decodeKey(e.slice(0,t)),n.decodeValue(e.slice(t+1))],2),o=i[0],a=i[1],u=r.get(o)||[];u.push(a),r.set(o,u)}),r)}else o.fromObject?(this.map=new Map,Object.keys(o.fromObject).forEach(function(e){var t=o.fromObject[e];i.map.set(e,Array.isArray(t)?t:[t])})):this.map=null}return k(e,[{key:"has",value:function(e){return this.init(),this.map.has(e)}},{key:"get",value:function(e){this.init();var t=this.map.get(e);return t?t[0]:null}},{key:"getAll",value:function(e){return this.init(),this.map.get(e)||null}},{key:"keys",value:function(){return this.init(),Array.from(this.map.keys())}},{key:"append",value:function(e,t){return this.clone({param:e,value:t,op:"a"})}},{key:"set",value:function(e,t){return this.clone({param:e,value:t,op:"s"})}},{key:"delete",value:function(e,t){return this.clone({param:e,value:t,op:"d"})}},{key:"toString",value:function(){var e=this;return this.init(),this.keys().map(function(t){var n=e.encoder.encodeKey(t);return e.map.get(t).map(function(t){return n+"="+e.encoder.encodeValue(t)}).join("&")}).filter(function(e){return""!==e}).join("&")}},{key:"clone",value:function(t){var n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat([t]),n}},{key:"init",value:function(){var e=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(t){return e.map.set(t,e.cloneFrom.map.get(t))}),this.updates.forEach(function(t){switch(t.op){case"a":case"s":var n=("a"===t.op?e.map.get(t.param):void 0)||[];n.push(t.value),e.map.set(t.param,n);break;case"d":if(void 0===t.value){e.map.delete(t.param);break}var r=e.map.get(t.param)||[],i=r.indexOf(t.value);-1!==i&&r.splice(i,1),r.length>0?e.map.set(t.param,r):e.map.delete(t.param)}}),this.cloneFrom=this.updates=null)}}]),e}();function w(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function S(e){return"undefined"!=typeof Blob&&e instanceof Blob}function E(e){return"undefined"!=typeof FormData&&e instanceof FormData}var C=function(){function e(t,n,r,i){var o;if(b(this,e),this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==r?r:null,o=i):o=r,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.params&&(this.params=o.params)),this.headers||(this.headers=new m),this.params){var s=this.params.toString();if(0===s.length)this.urlWithParams=n;else{var a=n.indexOf("?");this.urlWithParams=n+(-1===a?"?":a<n.length-1?"&":"")+s}}else this.params=new _,this.urlWithParams=n}return k(e,[{key:"serializeBody",value:function(){return null===this.body?null:w(this.body)||S(this.body)||E(this.body)||"string"==typeof this.body?this.body:this.body instanceof _?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}},{key:"detectContentTypeHeader",value:function(){return null===this.body||E(this.body)?null:S(this.body)?this.body.type||null:w(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof _?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null}},{key:"clone",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.method||this.method,r=t.url||this.url,i=t.responseType||this.responseType,o=void 0!==t.body?t.body:this.body,s=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,a=void 0!==t.reportProgress?t.reportProgress:this.reportProgress,u=t.headers||this.headers,c=t.params||this.params;return void 0!==t.setHeaders&&(u=Object.keys(t.setHeaders).reduce(function(e,n){return e.set(n,t.setHeaders[n])},u)),t.setParams&&(c=Object.keys(t.setParams).reduce(function(e,n){return e.set(n,t.setParams[n])},c)),new e(n,r,o,{params:c,headers:u,reportProgress:a,responseType:i,withCredentials:s})}}]),e}(),O=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}({}),x=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"OK";b(this,e),this.headers=t.headers||new m,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300},T=function(e){f(n,e);var t=v(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return b(this,n),(e=t.call(this,r)).type=O.ResponseHeader,e}return k(n,[{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}]),n}(x),I=function(e){f(n,e);var t=v(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return b(this,n),(e=t.call(this,r)).type=O.Response,e.body=void 0!==r.body?r.body:null,e}return k(n,[{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}]),n}(x),A=function(e){f(n,e);var t=v(n);function n(e){var r;return b(this,n),(r=t.call(this,e,0,"Unknown Error")).name="HttpErrorResponse",r.ok=!1,r.message=r.status>=200&&r.status<300?"Http failure during parsing for "+(e.url||"(unknown url)"):"Http failure response for ".concat(e.url||"(unknown url)",": ").concat(e.status," ").concat(e.statusText),r.error=e.error||null,r}return n}(x);function j(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}var N=function(){var e=function(){function e(t){b(this,e),this.handler=t}return k(e,[{key:"request",value:function(e,t){var n,r=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e instanceof C)n=e;else{var s=void 0;s=i.headers instanceof m?i.headers:new m(i.headers);var a=void 0;i.params&&(a=i.params instanceof _?i.params:new _({fromObject:i.params})),n=new C(e,t,void 0!==i.body?i.body:null,{headers:s,params:a,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials})}var h=Object(o.a)(n).pipe(Object(u.a)(function(e){return r.handler.handle(e)}));if(e instanceof C||"events"===i.observe)return h;var f=h.pipe(Object(c.a)(function(e){return e instanceof I}));switch(i.observe||"body"){case"body":switch(n.responseType){case"arraybuffer":return f.pipe(Object(l.a)(function(e){if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body}));case"blob":return f.pipe(Object(l.a)(function(e){if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body}));case"text":return f.pipe(Object(l.a)(function(e){if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body}));case"json":default:return f.pipe(Object(l.a)(function(e){return e.body}))}case"response":return f;default:throw new Error("Unreachable: unhandled observe type ".concat(i.observe,"}"))}}},{key:"delete",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("DELETE",e,t)}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("GET",e,t)}},{key:"head",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("HEAD",e,t)}},{key:"jsonp",value:function(e,t){return this.request("JSONP",e,{params:(new _).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}},{key:"options",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("OPTIONS",e,t)}},{key:"patch",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PATCH",e,j(n,t))}},{key:"post",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("POST",e,j(n,t))}},{key:"put",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PUT",e,j(n,t))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Vb(d))},e.\u0275prov=r.Ib({token:e,factory:e.\u0275fac}),e}(),R=function(){function e(t,n){b(this,e),this.next=t,this.interceptor=n}return k(e,[{key:"handle",value:function(e){return this.interceptor.intercept(e,this.next)}}]),e}(),D=new r.q("HTTP_INTERCEPTORS"),F=function(){var e=function(){function e(){b(this,e)}return k(e,[{key:"intercept",value:function(e,t){return t.handle(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Ib({token:e,factory:e.\u0275fac}),e}(),P=/^\)\]\}',?\n/,M=function e(){b(this,e)},L=function(){var e=function(){function e(){b(this,e)}return k(e,[{key:"build",value:function(){return new XMLHttpRequest}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Ib({token:e,factory:e.\u0275fac}),e}(),V=function(){var e=function(){function e(t){b(this,e),this.xhrFactory=t}return k(e,[{key:"handle",value:function(e){var t=this;if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new a.a(function(n){var r=t.xhrFactory.build();if(r.open(e.method,e.urlWithParams),e.withCredentials&&(r.withCredentials=!0),e.headers.forEach(function(e,t){return r.setRequestHeader(e,t.join(","))}),e.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){var i=e.detectContentTypeHeader();null!==i&&r.setRequestHeader("Content-Type",i)}if(e.responseType){var o=e.responseType.toLowerCase();r.responseType="json"!==o?o:"text"}var s=e.serializeBody(),a=null,u=function(){if(null!==a)return a;var t=1223===r.status?204:r.status,n=r.statusText||"OK",i=new m(r.getAllResponseHeaders()),o=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(r)||e.url;return a=new T({headers:i,status:t,statusText:n,url:o})},c=function(){var t=u(),i=t.headers,o=t.status,s=t.statusText,a=t.url,c=null;204!==o&&(c=void 0===r.response?r.responseText:r.response),0===o&&(o=c?200:0);var l=o>=200&&o<300;if("json"===e.responseType&&"string"==typeof c){var h=c;c=c.replace(P,"");try{c=""!==c?JSON.parse(c):null}catch(f){c=h,l&&(l=!1,c={error:f,text:c})}}l?(n.next(new I({body:c,headers:i,status:o,statusText:s,url:a||void 0})),n.complete()):n.error(new A({error:c,headers:i,status:o,statusText:s,url:a||void 0}))},l=function(e){var t=u().url,i=new A({error:e,status:r.status||0,statusText:r.statusText||"Unknown Error",url:t||void 0});n.error(i)},h=!1,f=function(t){h||(n.next(u()),h=!0);var i={type:O.DownloadProgress,loaded:t.loaded};t.lengthComputable&&(i.total=t.total),"text"===e.responseType&&r.responseText&&(i.partialText=r.responseText),n.next(i)},d=function(e){var t={type:O.UploadProgress,loaded:e.loaded};e.lengthComputable&&(t.total=e.total),n.next(t)};return r.addEventListener("load",c),r.addEventListener("error",l),e.reportProgress&&(r.addEventListener("progress",f),null!==s&&r.upload&&r.upload.addEventListener("progress",d)),r.send(s),n.next({type:O.Sent}),function(){r.removeEventListener("error",l),r.removeEventListener("load",c),e.reportProgress&&(r.removeEventListener("progress",f),null!==s&&r.upload&&r.upload.removeEventListener("progress",d)),r.readyState!==r.DONE&&r.abort()}})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Vb(M))},e.\u0275prov=r.Ib({token:e,factory:e.\u0275fac}),e}(),H=new r.q("XSRF_COOKIE_NAME"),z=new r.q("XSRF_HEADER_NAME"),B=function e(){b(this,e)},q=function(){var e=function(){function e(t,n,r){b(this,e),this.doc=t,this.platform=n,this.cookieName=r,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return k(e,[{key:"getToken",value:function(){if("server"===this.platform)return null;var e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(h.w)(e,this.cookieName),this.lastCookieString=e),this.lastToken}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Vb(h.d),r.Vb(r.B),r.Vb(H))},e.\u0275prov=r.Ib({token:e,factory:e.\u0275fac}),e}(),Q=function(){var e=function(){function e(t,n){b(this,e),this.tokenService=t,this.headerName=n}return k(e,[{key:"intercept",value:function(e,t){var n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);var r=this.tokenService.getToken();return null===r||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,r)})),t.handle(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Vb(B),r.Vb(z))},e.\u0275prov=r.Ib({token:e,factory:e.\u0275fac}),e}(),U=function(){var e=function(){function e(t,n){b(this,e),this.backend=t,this.injector=n,this.chain=null}return k(e,[{key:"handle",value:function(e){if(null===this.chain){var t=this.injector.get(D,[]);this.chain=t.reduceRight(function(e,t){return new R(e,t)},this.backend)}return this.chain.handle(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Vb(p),r.Vb(r.r))},e.\u0275prov=r.Ib({token:e,factory:e.\u0275fac}),e}(),W=function(){var e=function(){function e(){b(this,e)}return k(e,null,[{key:"disable",value:function(){return{ngModule:e,providers:[{provide:Q,useClass:F}]}}},{key:"withOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:e,providers:[t.cookieName?{provide:H,useValue:t.cookieName}:[],t.headerName?{provide:z,useValue:t.headerName}:[]]}}}]),e}();return e.\u0275mod=r.Kb({type:e}),e.\u0275inj=r.Jb({factory:function(t){return new(t||e)},providers:[Q,{provide:D,useExisting:Q,multi:!0},{provide:B,useClass:q},{provide:H,useValue:"XSRF-TOKEN"},{provide:z,useValue:"X-XSRF-TOKEN"}]}),e}(),K=function(){var e=function e(){b(this,e)};return e.\u0275mod=r.Kb({type:e}),e.\u0275inj=r.Jb({factory:function(t){return new(t||e)},providers:[N,{provide:d,useClass:U},V,{provide:p,useExisting:V},L,{provide:M,useExisting:L}],imports:[[W.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e}()},to4i:function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return h});var r=n("jtHE"),i=n("Nv8m"),o=n("PqYM"),s=n("SxV6"),a=n("bOdf"),u=n("05l1"),c=n("hqch"),l=n("fXoL"),h=function(){var t=function(){function t(e){b(this,t),this.zone=e,this.searchesSubject=new r.a(1)}return k(t,[{key:"initWorker",value:function(t){var n=this,r=this.ready=Object(i.a)(Object(o.a)(t),this.searchesSubject.asObservable().pipe(Object(s.a)())).pipe(Object(a.a)(function(){var t=new Worker(e,void 0);return n.worker=c.a.create(t,n.zone),n.worker.sendMessage("load-index")}),Object(u.a)(1));return r.connect(),r}},{key:"search",value:function(e){var t=this;return this.searchesSubject.next(e),this.ready.pipe(Object(a.a)(function(){return t.worker.sendMessage("query-index",e)}))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(l.Vb(l.z))},t.\u0275prov=l.Ib({token:t,factory:t.\u0275fac}),t}()}).call(this,n("3zP6"))},u47x:function(e,t,n){"use strict";n.d(t,"a",function(){return H}),n.d(t,"b",function(){return L}),n.d(t,"c",function(){return E}),n.d(t,"d",function(){return P}),n.d(t,"e",function(){return I}),n.d(t,"f",function(){return V}),n.d(t,"g",function(){return N}),n.d(t,"h",function(){return R});var r=n("ofXK"),i=n("fXoL"),o=n("nLfN"),a=n("XNiG"),u=n("quSY"),c=n("LRne"),l=n("FtGj"),d=n("vkgz"),p=n("Kj3r"),m=n("pLZG"),y=n("lJxs"),_=n("IzEk"),w=n("8LU1"),S=n("GU7r"),E=function(e){f(n,e);var t=v(n);function n(){var e;return b(this,n),(e=t.apply(this,arguments))._origin="program",e}return k(n,[{key:"setFocusOrigin",value:function(e){return this._origin=e,this}},{key:"setActiveItem",value:function(e){h(g(n.prototype),"setActiveItem",this).call(this,e),this.activeItem&&this.activeItem.focus(this._origin)}}]),n}(function(){function e(t){var n=this;b(this,e),this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new a.a,this._typeaheadSubscription=u.a.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=function(e){return e.disabled},this._pressedLetters=[],this.tabOut=new a.a,this.change=new a.a,t instanceof i.D&&t.changes.subscribe(function(e){if(n._activeItem){var t=e.toArray().indexOf(n._activeItem);t>-1&&t!==n._activeItemIndex&&(n._activeItemIndex=t)}})}return k(e,[{key:"skipPredicate",value:function(e){return this._skipPredicateFn=e,this}},{key:"withWrap",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._wrap=e,this}},{key:"withVerticalOrientation",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._vertical=e,this}},{key:"withHorizontalOrientation",value:function(e){return this._horizontal=e,this}},{key:"withAllowedModifierKeys",value:function(e){return this._allowedModifierKeys=e,this}},{key:"withTypeAhead",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:200;return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Object(d.a)(function(t){return e._pressedLetters.push(t)}),Object(p.a)(t),Object(m.a)(function(){return e._pressedLetters.length>0}),Object(y.a)(function(){return e._pressedLetters.join("")})).subscribe(function(t){for(var n=e._getItemsArray(),r=1;r<n.length+1;r++){var i=(e._activeItemIndex+r)%n.length,o=n[i];if(!e._skipPredicateFn(o)&&0===o.getLabel().toUpperCase().trim().indexOf(t)){e.setActiveItem(i);break}}e._pressedLetters=[]}),this}},{key:"withHomeAndEnd",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._homeAndEnd=e,this}},{key:"setActiveItem",value:function(e){var t=this._activeItem;this.updateActiveItem(e),this._activeItem!==t&&this.change.next(this._activeItemIndex)}},{key:"onKeydown",value:function(e){var t=this,n=e.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(function(n){return!e[n]||t._allowedModifierKeys.indexOf(n)>-1});switch(n){case l.k:return void this.tabOut.next();case l.b:if(this._vertical&&r){this.setNextItemActive();break}return;case l.l:if(this._vertical&&r){this.setPreviousItemActive();break}return;case l.i:if(this._horizontal&&r){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case l.g:if(this._horizontal&&r){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case l.f:if(this._homeAndEnd&&r){this.setFirstItemActive();break}return;case l.c:if(this._homeAndEnd&&r){this.setLastItemActive();break}return;default:return void((r||Object(l.o)(e,"shiftKey"))&&(e.key&&1===e.key.length?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(n>=l.a&&n<=l.m||n>=l.n&&n<=l.h)&&this._letterKeyStream.next(String.fromCharCode(n))))}this._pressedLetters=[],e.preventDefault()}},{key:"isTyping",value:function(){return this._pressedLetters.length>0}},{key:"setFirstItemActive",value:function(){this._setActiveItemByIndex(0,1)}},{key:"setLastItemActive",value:function(){this._setActiveItemByIndex(this._items.length-1,-1)}},{key:"setNextItemActive",value:function(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}},{key:"setPreviousItemActive",value:function(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}},{key:"updateActiveItem",value:function(e){var t=this._getItemsArray(),n="number"==typeof e?e:t.indexOf(e),r=t[n];this._activeItem=null==r?null:r,this._activeItemIndex=n}},{key:"_setActiveItemByDelta",value:function(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}},{key:"_setActiveInWrapMode",value:function(e){for(var t=this._getItemsArray(),n=1;n<=t.length;n++){var r=(this._activeItemIndex+e*n+t.length)%t.length;if(!this._skipPredicateFn(t[r]))return void this.setActiveItem(r)}}},{key:"_setActiveInDefaultMode",value:function(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}},{key:"_setActiveItemByIndex",value:function(e,t){var n=this._getItemsArray();if(n[e]){for(;this._skipPredicateFn(n[e]);)if(!n[e+=t])return;this.setActiveItem(e)}}},{key:"_getItemsArray",value:function(){return this._items instanceof i.D?this._items.toArray():this._items}},{key:"activeItemIndex",get:function(){return this._activeItemIndex}},{key:"activeItem",get:function(){return this._activeItem}}]),e}()),C=function(){var e=function(){function e(t){b(this,e),this._platform=t}return k(e,[{key:"isDisabled",value:function(e){return e.hasAttribute("disabled")}},{key:"isVisible",value:function(e){return function(e){return!!(e.offsetWidth||e.offsetHeight||"function"==typeof e.getClientRects&&e.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}},{key:"isTabbable",value:function(e){if(!this._platform.isBrowser)return!1;var t,n=function(e){try{return e.frameElement}catch(t){return null}}((t=e).ownerDocument&&t.ownerDocument.defaultView||window);if(n){if(-1===x(n))return!1;if(!this.isVisible(n))return!1}var r=e.nodeName.toLowerCase(),i=x(e);return e.hasAttribute("contenteditable")?-1!==i:"iframe"!==r&&"object"!==r&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(e){var t=e.nodeName.toLowerCase(),n="input"===t&&e.type;return"text"===n||"password"===n||"select"===t||"textarea"===t}(e))&&("audio"===r?!!e.hasAttribute("controls")&&-1!==i:"video"===r?-1!==i&&(null!==i||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}},{key:"isFocusable",value:function(e,t){return function(e){return!function(e){return function(e){return"input"==e.nodeName.toLowerCase()}(e)&&"hidden"==e.type}(e)&&(function(e){var t=e.nodeName.toLowerCase();return"input"===t||"select"===t||"button"===t||"textarea"===t}(e)||function(e){return function(e){return"a"==e.nodeName.toLowerCase()}(e)&&e.hasAttribute("href")}(e)||e.hasAttribute("contenteditable")||O(e))}(e)&&!this.isDisabled(e)&&((null==t?void 0:t.ignoreVisibility)||this.isVisible(e))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.Vb(o.a))},e.\u0275prov=Object(i.Ib)({factory:function(){return new e(Object(i.Vb)(o.a))},token:e,providedIn:"root"}),e}();function O(e){if(!e.hasAttribute("tabindex")||void 0===e.tabIndex)return!1;var t=e.getAttribute("tabindex");return"-32768"!=t&&!(!t||isNaN(parseInt(t,10)))}function x(e){if(!O(e))return null;var t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}var T=function(){function e(t,n,r,i){var o=this,s=arguments.length>4&&void 0!==arguments[4]&&arguments[4];b(this,e),this._element=t,this._checker=n,this._ngZone=r,this._document=i,this._hasAttached=!1,this.startAnchorListener=function(){return o.focusLastTabbableElement()},this.endAnchorListener=function(){return o.focusFirstTabbableElement()},this._enabled=!0,s||this.attachAnchors()}return k(e,[{key:"destroy",value:function(){var e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),t&&(t.removeEventListener("focus",this.endAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}},{key:"attachAnchors",value:function(){var e=this;return!!this._hasAttached||(this._ngZone.runOutsideAngular(function(){e._startAnchor||(e._startAnchor=e._createAnchor(),e._startAnchor.addEventListener("focus",e.startAnchorListener)),e._endAnchor||(e._endAnchor=e._createAnchor(),e._endAnchor.addEventListener("focus",e.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}},{key:"focusInitialElementWhenReady",value:function(){var e=this;return new Promise(function(t){e._executeOnStable(function(){return t(e.focusInitialElement())})})}},{key:"focusFirstTabbableElementWhenReady",value:function(){var e=this;return new Promise(function(t){e._executeOnStable(function(){return t(e.focusFirstTabbableElement())})})}},{key:"focusLastTabbableElementWhenReady",value:function(){var e=this;return new Promise(function(t){e._executeOnStable(function(){return t(e.focusLastTabbableElement())})})}},{key:"_getRegionBoundary",value:function(e){for(var t=this._element.querySelectorAll("[cdk-focus-region-".concat(e,"], [cdkFocusRegion").concat(e,"], [cdk-focus-").concat(e,"]")),n=0;n<t.length;n++)t[n].hasAttribute("cdk-focus-"+e)?console.warn("Found use of deprecated attribute 'cdk-focus-".concat(e,"', use 'cdkFocusRegion").concat(e,"' instead. The deprecated attribute will be removed in 8.0.0."),t[n]):t[n].hasAttribute("cdk-focus-region-"+e)&&console.warn("Found use of deprecated attribute 'cdk-focus-region-".concat(e,"', use 'cdkFocusRegion").concat(e,"' instead. The deprecated attribute will be removed in 8.0.0."),t[n]);return"start"==e?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)}},{key:"focusInitialElement",value:function(){var e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");return e?(e.hasAttribute("cdk-focus-initial")&&console.warn("Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead. The deprecated attribute will be removed in 8.0.0",e),e.focus(),!0):this.focusFirstTabbableElement()}},{key:"focusFirstTabbableElement",value:function(){var e=this._getRegionBoundary("start");return e&&e.focus(),!!e}},{key:"focusLastTabbableElement",value:function(){var e=this._getRegionBoundary("end");return e&&e.focus(),!!e}},{key:"hasAttached",value:function(){return this._hasAttached}},{key:"_getFirstTabbableElement",value:function(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;for(var t=e.children||e.childNodes,n=0;n<t.length;n++){var r=t[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(t[n]):null;if(r)return r}return null}},{key:"_getLastTabbableElement",value:function(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;for(var t=e.children||e.childNodes,n=t.length-1;n>=0;n--){var r=t[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[n]):null;if(r)return r}return null}},{key:"_createAnchor",value:function(){var e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}},{key:"_toggleAnchorTabIndex",value:function(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}},{key:"toggleAnchors",value:function(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}},{key:"_executeOnStable",value:function(e){this._ngZone.isStable?e():this._ngZone.onStable.pipe(Object(_.a)(1)).subscribe(e)}},{key:"enabled",get:function(){return this._enabled},set:function(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}}]),e}(),I=function(){var e=function(){function e(t,n,r){b(this,e),this._checker=t,this._ngZone=n,this._document=r}return k(e,[{key:"create",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new T(e,this._checker,this._ngZone,this._document,t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.Vb(C),i.Vb(i.z),i.Vb(r.d))},e.\u0275prov=Object(i.Ib)({factory:function(){return new e(Object(i.Vb)(C),Object(i.Vb)(i.z),Object(i.Vb)(r.d))},token:e,providedIn:"root"}),e}();"undefined"!=typeof Element&&Element;var A=new i.q("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),j=new i.q("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),N=function(){var e=function(){function e(t,n,r,i){b(this,e),this._ngZone=n,this._defaultOptions=i,this._document=r,this._liveElement=t||this._createLiveElement()}return k(e,[{key:"announce",value:function(e){for(var t,n,r,i=this,o=this._defaultOptions,a=arguments.length,u=new Array(a>1?a-1:0),c=1;c<a;c++)u[c-1]=arguments[c];return 1===u.length&&"number"==typeof u[0]?r=u[0]:(n=(t=s(u,2))[0],r=t[1]),this.clear(),clearTimeout(this._previousTimeout),n||(n=o&&o.politeness?o.politeness:"polite"),null==r&&o&&(r=o.duration),this._liveElement.setAttribute("aria-live",n),this._ngZone.runOutsideAngular(function(){return new Promise(function(t){clearTimeout(i._previousTimeout),i._previousTimeout=setTimeout(function(){i._liveElement.textContent=e,t(),"number"==typeof r&&(i._previousTimeout=setTimeout(function(){return i.clear()},r))},100)})})}},{key:"clear",value:function(){this._liveElement&&(this._liveElement.textContent="")}},{key:"ngOnDestroy",value:function(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)}},{key:"_createLiveElement",value:function(){for(var e=this._document.getElementsByClassName("cdk-live-announcer-element"),t=this._document.createElement("div"),n=0;n<e.length;n++)e[n].parentNode.removeChild(e[n]);return t.classList.add("cdk-live-announcer-element"),t.classList.add("cdk-visually-hidden"),t.setAttribute("aria-atomic","true"),t.setAttribute("aria-live","polite"),this._document.body.appendChild(t),t}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.Vb(A,8),i.Vb(i.z),i.Vb(r.d),i.Vb(j,8))},e.\u0275prov=Object(i.Ib)({factory:function(){return new e(Object(i.Vb)(A,8),Object(i.Vb)(i.z),Object(i.Vb)(r.d),Object(i.Vb)(j,8))},token:e,providedIn:"root"}),e}();function R(e){return 0===e.buttons}var D=new i.q("cdk-focus-monitor-default-options"),F=Object(o.e)({passive:!0,capture:!0}),P=function(){var e=function(){function e(t,n,r,i){var o=this;b(this,e),this._ngZone=t,this._platform=n,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._documentKeydownListener=function(){o._lastTouchTarget=null,o._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=function(e){if(!o._lastTouchTarget){var t=R(e)?"keyboard":"mouse";o._setOriginForCurrentEventQueue(t)}},this._documentTouchstartListener=function(e){null!=o._touchTimeoutId&&clearTimeout(o._touchTimeoutId),o._lastTouchTarget=M(e),o._touchTimeoutId=setTimeout(function(){return o._lastTouchTarget=null},650)},this._windowFocusListener=function(){o._windowFocused=!0,o._windowFocusTimeoutId=setTimeout(function(){return o._windowFocused=!1})},this._rootNodeFocusAndBlurListener=function(e){for(var t=M(e),n="focus"===e.type?o._onFocus:o._onBlur,r=t;r;r=r.parentElement)n.call(o,e,r)},this._document=r,this._detectionMode=(null==i?void 0:i.detectionMode)||0}return k(e,[{key:"monitor",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Object(w.d)(e);if(!this._platform.isBrowser||1!==n.nodeType)return Object(c.a)(null);var r=Object(o.c)(n)||this._getDocument(),i=this._elementInfo.get(n);if(i)return t&&(i.checkChildren=!0),i.subject;var s={checkChildren:t,subject:new a.a,rootNode:r};return this._elementInfo.set(n,s),this._registerGlobalListeners(s),s.subject}},{key:"stopMonitoring",value:function(e){var t=Object(w.d)(e),n=this._elementInfo.get(t);n&&(n.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(n))}},{key:"focusVia",value:function(e,t,n){var r=Object(w.d)(e);r===this._getDocument().activeElement&&this._elementInfo.has(r)?this._originChanged(r,t,this._elementInfo.get(r)):(this._setOriginForCurrentEventQueue(t),"function"==typeof r.focus&&r.focus(n))}},{key:"ngOnDestroy",value:function(){var e=this;this._elementInfo.forEach(function(t,n){return e.stopMonitoring(n)})}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_toggleClass",value:function(e,t,n){n?e.classList.add(t):e.classList.remove(t)}},{key:"_getFocusOrigin",value:function(e){return this._origin?this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(e)?"touch":"program"}},{key:"_setClasses",value:function(e,t){this._toggleClass(e,"cdk-focused",!!t),this._toggleClass(e,"cdk-touch-focused","touch"===t),this._toggleClass(e,"cdk-keyboard-focused","keyboard"===t),this._toggleClass(e,"cdk-mouse-focused","mouse"===t),this._toggleClass(e,"cdk-program-focused","program"===t)}},{key:"_setOriginForCurrentEventQueue",value:function(e){var t=this;this._ngZone.runOutsideAngular(function(){t._origin=e,0===t._detectionMode&&(t._originTimeoutId=setTimeout(function(){return t._origin=null},1))})}},{key:"_wasCausedByTouch",value:function(e){var t=M(e);return this._lastTouchTarget instanceof Node&&t instanceof Node&&(t===this._lastTouchTarget||t.contains(this._lastTouchTarget))}},{key:"_onFocus",value:function(e,t){var n=this._elementInfo.get(t);n&&(n.checkChildren||t===M(e))&&this._originChanged(t,this._getFocusOrigin(e),n)}},{key:"_onBlur",value:function(e,t){var n=this._elementInfo.get(t);!n||n.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(n.subject,null))}},{key:"_emitOrigin",value:function(e,t){this._ngZone.run(function(){return e.next(t)})}},{key:"_registerGlobalListeners",value:function(e){var t=this;if(this._platform.isBrowser){var n=e.rootNode,r=this._rootNodeFocusListenerCount.get(n)||0;r||this._ngZone.runOutsideAngular(function(){n.addEventListener("focus",t._rootNodeFocusAndBlurListener,F),n.addEventListener("blur",t._rootNodeFocusAndBlurListener,F)}),this._rootNodeFocusListenerCount.set(n,r+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular(function(){var e=t._getDocument(),n=t._getWindow();e.addEventListener("keydown",t._documentKeydownListener,F),e.addEventListener("mousedown",t._documentMousedownListener,F),e.addEventListener("touchstart",t._documentTouchstartListener,F),n.addEventListener("focus",t._windowFocusListener)})}}},{key:"_removeGlobalListeners",value:function(e){var t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){var n=this._rootNodeFocusListenerCount.get(t);n>1?this._rootNodeFocusListenerCount.set(t,n-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,F),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,F),this._rootNodeFocusListenerCount.delete(t))}if(!--this._monitoredElementCount){var r=this._getDocument(),i=this._getWindow();r.removeEventListener("keydown",this._documentKeydownListener,F),r.removeEventListener("mousedown",this._documentMousedownListener,F),r.removeEventListener("touchstart",this._documentTouchstartListener,F),i.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}},{key:"_originChanged",value:function(e,t,n){this._setClasses(e,t),this._emitOrigin(n.subject,t),this._lastFocusOrigin=t}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.Vb(i.z),i.Vb(o.a),i.Vb(r.d,8),i.Vb(D,8))},e.\u0275prov=Object(i.Ib)({factory:function(){return new e(Object(i.Vb)(i.z),Object(i.Vb)(o.a),Object(i.Vb)(r.d,8),Object(i.Vb)(D,8))},token:e,providedIn:"root"}),e}();function M(e){return e.composedPath?e.composedPath()[0]:e.target}var L=function(){var e=function(){function e(t,n){b(this,e),this._elementRef=t,this._focusMonitor=n,this.cdkFocusChange=new i.n}return k(e,[{key:"ngAfterViewInit",value:function(){var e=this,t=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(t,1===t.nodeType&&t.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(function(t){return e.cdkFocusChange.emit(t)})}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.Mb(i.l),i.Mb(P))},e.\u0275dir=i.Hb({type:e,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),e}(),V=function(){var e=function(){function e(t,n){b(this,e),this._platform=t,this._document=n}return k(e,[{key:"getHighContrastMode",value:function(){if(!this._platform.isBrowser)return 0;var e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);var t=this._document.defaultView||window,n=t&&t.getComputedStyle?t.getComputedStyle(e):null,r=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(e),r){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}},{key:"_applyBodyHighContrastModeCssClasses",value:function(){if(this._platform.isBrowser&&this._document.body){var e=this._document.body.classList;e.remove("cdk-high-contrast-active"),e.remove("cdk-high-contrast-black-on-white"),e.remove("cdk-high-contrast-white-on-black");var t=this.getHighContrastMode();1===t?(e.add("cdk-high-contrast-active"),e.add("cdk-high-contrast-black-on-white")):2===t&&(e.add("cdk-high-contrast-active"),e.add("cdk-high-contrast-white-on-black"))}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.Vb(o.a),i.Vb(r.d))},e.\u0275prov=Object(i.Ib)({factory:function(){return new e(Object(i.Vb)(o.a),Object(i.Vb)(r.d))},token:e,providedIn:"root"}),e}(),H=function(){var e=function e(t){b(this,e),t._applyBodyHighContrastModeCssClasses()};return e.\u0275mod=i.Kb({type:e}),e.\u0275inj=i.Jb({factory:function(t){return new(t||e)(i.Vb(V))},imports:[[o.b,S.c]]}),e}()},vHPH:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("AytR"),i=n("fXoL"),o=function(){var e=function(){function e(t){b(this,e),this.errorHandler=t}return k(e,[{key:"log",value:function(e){for(var t,n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];r.a.production||(t=console).log.apply(t,[e].concat(i))}},{key:"error",value:function(e){this.errorHandler.handleError(e)}},{key:"warn",value:function(e){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];(t=console).warn.apply(t,[e].concat(r))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.Vb(i.m))},e.\u0275prov=i.Ib({token:e,factory:e.\u0275fac}),e}()},vkgz:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("7o/Q"),i=n("KqfI"),o=n("n6bG");function s(e,t,n){return function(r){return r.lift(new a(e,t,n))}}var a=function(){function e(t,n,r){b(this,e),this.nextOrObserver=t,this.error=n,this.complete=r}return k(e,[{key:"call",value:function(e,t){return t.subscribe(new u(e,this.nextOrObserver,this.error,this.complete))}}]),e}(),u=function(e){f(n,e);var t=v(n);function n(e,r,s,a){var u;return b(this,n),(u=t.call(this,e))._tapNext=i.a,u._tapError=i.a,u._tapComplete=i.a,u._tapError=s||i.a,u._tapComplete=a||i.a,Object(o.a)(r)?(u._context=m(u),u._tapNext=r):r&&(u._context=r,u._tapNext=r.next||i.a,u._tapError=r.error||i.a,u._tapComplete=r.complete||i.a),u}return k(n,[{key:"_next",value:function(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)}},{key:"_error",value:function(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)}},{key:"_complete",value:function(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}]),n}(r.a)},vxfF:function(e,t,n){"use strict";n.d(t,"a",function(){return w}),n.d(t,"b",function(){return E}),n.d(t,"c",function(){return _}),n.d(t,"d",function(){return C}),n.d(t,"e",function(){return S}),n("8LU1");var r=n("fXoL"),i=n("XNiG"),o=n("LRne"),s=n("HDdC"),a=n("xgIS");n("3N8a"),n("IjjT"),n("7Hc7"),n("quSY"),n("/uUt");var u=n("3UWI"),c=n("pLZG"),l=n("1G5W");n("JX91"),n("7o/Q"),n("eIep"),n("jtHE");var h,f,d,v,p,m=n("nLfN"),y=n("ofXK"),g=n("cH1L"),_=((p=function(){function e(t,n,r){b(this,e),this._ngZone=t,this._platform=n,this._scrolled=new i.a,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}return k(e,[{key:"register",value:function(e){var t=this;this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(function(){return t._scrolled.next(e)}))}},{key:"deregister",value:function(e){var t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}},{key:"scrolled",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return this._platform.isBrowser?new s.a(function(n){e._globalSubscription||e._addGlobalListener();var r=t>0?e._scrolled.pipe(Object(u.a)(t)).subscribe(n):e._scrolled.subscribe(n);return e._scrolledCount++,function(){r.unsubscribe(),e._scrolledCount--,e._scrolledCount||e._removeGlobalListener()}}):Object(o.a)()}},{key:"ngOnDestroy",value:function(){var e=this;this._removeGlobalListener(),this.scrollContainers.forEach(function(t,n){return e.deregister(n)}),this._scrolled.complete()}},{key:"ancestorScrolled",value:function(e,t){var n=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(Object(c.a)(function(e){return!e||n.indexOf(e)>-1}))}},{key:"getAncestorScrollContainers",value:function(e){var t=this,n=[];return this.scrollContainers.forEach(function(r,i){t._scrollableContainsElement(i,e)&&n.push(i)}),n}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_scrollableContainsElement",value:function(e,t){var n=t.nativeElement,r=e.getElementRef().nativeElement;do{if(n==r)return!0}while(n=n.parentElement);return!1}},{key:"_addGlobalListener",value:function(){var e=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){var t=e._getWindow();return Object(a.a)(t.document,"scroll").subscribe(function(){return e._scrolled.next()})})}},{key:"_removeGlobalListener",value:function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}]),e}()).\u0275fac=function(e){return new(e||p)(r.Vb(r.z),r.Vb(m.a),r.Vb(y.d,8))},p.\u0275prov=Object(r.Ib)({factory:function(){return new p(Object(r.Vb)(r.z),Object(r.Vb)(m.a),Object(r.Vb)(y.d,8))},token:p,providedIn:"root"}),p),w=((v=function(){function e(t,n,r,o){var u=this;b(this,e),this.elementRef=t,this.scrollDispatcher=n,this.ngZone=r,this.dir=o,this._destroyed=new i.a,this._elementScrolled=new s.a(function(e){return u.ngZone.runOutsideAngular(function(){return Object(a.a)(u.elementRef.nativeElement,"scroll").pipe(Object(l.a)(u._destroyed)).subscribe(e)})})}return k(e,[{key:"ngOnInit",value:function(){this.scrollDispatcher.register(this)}},{key:"ngOnDestroy",value:function(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}},{key:"elementScrolled",value:function(){return this._elementScrolled}},{key:"getElementRef",value:function(){return this.elementRef}},{key:"scrollTo",value:function(e){var t=this.elementRef.nativeElement,n=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=n?e.end:e.start),null==e.right&&(e.right=n?e.start:e.end),null!=e.bottom&&(e.top=t.scrollHeight-t.clientHeight-e.bottom),n&&0!=Object(m.d)()?(null!=e.left&&(e.right=t.scrollWidth-t.clientWidth-e.left),2==Object(m.d)()?e.left=e.right:1==Object(m.d)()&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=t.scrollWidth-t.clientWidth-e.right),this._applyScrollToOptions(e)}},{key:"_applyScrollToOptions",value:function(e){var t=this.elementRef.nativeElement;Object(m.f)()?t.scrollTo(e):(null!=e.top&&(t.scrollTop=e.top),null!=e.left&&(t.scrollLeft=e.left))}},{key:"measureScrollOffset",value:function(e){var t=this.elementRef.nativeElement;if("top"==e)return t.scrollTop;if("bottom"==e)return t.scrollHeight-t.clientHeight-t.scrollTop;var n=this.dir&&"rtl"==this.dir.value;return"start"==e?e=n?"right":"left":"end"==e&&(e=n?"left":"right"),n&&2==Object(m.d)()?"left"==e?t.scrollWidth-t.clientWidth-t.scrollLeft:t.scrollLeft:n&&1==Object(m.d)()?"left"==e?t.scrollLeft+t.scrollWidth-t.clientWidth:-t.scrollLeft:"left"==e?t.scrollLeft:t.scrollWidth-t.clientWidth-t.scrollLeft}}]),e}()).\u0275fac=function(e){return new(e||v)(r.Mb(r.l),r.Mb(_),r.Mb(r.z),r.Mb(g.b,8))},v.\u0275dir=r.Hb({type:v,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),v),S=((d=function(){function e(t,n,r){var o=this;b(this,e),this._platform=t,this._change=new i.a,this._changeListener=function(e){o._change.next(e)},this._document=r,n.runOutsideAngular(function(){if(t.isBrowser){var e=o._getWindow();e.addEventListener("resize",o._changeListener),e.addEventListener("orientationchange",o._changeListener)}o.change().subscribe(function(){return o._updateViewportSize()})})}return k(e,[{key:"ngOnDestroy",value:function(){if(this._platform.isBrowser){var e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}},{key:"getViewportSize",value:function(){this._viewportSize||this._updateViewportSize();var e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}},{key:"getViewportRect",value:function(){var e=this.getViewportScrollPosition(),t=this.getViewportSize(),n=t.width,r=t.height;return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+n,height:r,width:n}}},{key:"getViewportScrollPosition",value:function(){if(!this._platform.isBrowser)return{top:0,left:0};var e=this._document,t=this._getWindow(),n=e.documentElement,r=n.getBoundingClientRect();return{top:-r.top||e.body.scrollTop||t.scrollY||n.scrollTop||0,left:-r.left||e.body.scrollLeft||t.scrollX||n.scrollLeft||0}}},{key:"change",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return e>0?this._change.pipe(Object(u.a)(e)):this._change}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_updateViewportSize",value:function(){var e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}]),e}()).\u0275fac=function(e){return new(e||d)(r.Vb(m.a),r.Vb(r.z),r.Vb(y.d,8))},d.\u0275prov=Object(r.Ib)({factory:function(){return new d(Object(r.Vb)(m.a),Object(r.Vb)(r.z),Object(r.Vb)(y.d,8))},token:d,providedIn:"root"}),d),E=((f=function e(){b(this,e)}).\u0275mod=r.Kb({type:f}),f.\u0275inj=r.Jb({factory:function(e){return new(e||f)}}),f),C=((h=function e(){b(this,e)}).\u0275mod=r.Kb({type:h}),h.\u0275inj=r.Jb({factory:function(e){return new(e||h)},imports:[[g.a,m.b,E],g.a,E]}),h)},w1tV:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n("oB13"),i=n("x+ZX"),o=n("XNiG");function s(){return new o.a}function a(){return function(e){return Object(i.a)()(Object(r.a)(s)(e))}}},"x+ZX":function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("7o/Q");function i(){return function(e){return e.lift(new o(e))}}var o=function(){function e(t){b(this,e),this.connectable=t}return k(e,[{key:"call",value:function(e,t){var n=this.connectable;n._refCount++;var r=new s(e,n),i=t.subscribe(r);return r.closed||(r.connection=n.connect()),i}}]),e}(),s=function(e){f(n,e);var t=v(n);function n(e,r){var i;return b(this,n),(i=t.call(this,e)).connectable=r,i}return k(n,[{key:"_unsubscribe",value:function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var n=this.connection,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null}}]),n}(r.a)},x4lQ:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var r=n("fXoL"),i=n("ofXK");function o(e,t){if(1&e&&r.Nb(0,"span"),2&e){var n=r.cc();r.Db("symbol ",null==n.selected?null:n.selected.value,"")}}function s(e,t){if(1&e&&r.Nb(0,"span"),2&e){var n=r.cc().$implicit;r.Db("symbol ",n.value,"")}}function a(e,t){if(1&e){var n=r.Sb();r.Rb(0,"li",6),r.Yb("click",function(){r.qc(n);var e=t.$implicit,i=t.index;return r.cc(2).select(e,i)})("keydown.enter",function(){r.qc(n);var e=t.$implicit,i=t.index;return r.cc(2).select(e,i)})("keydown.space",function(e){r.qc(n);var i=t.$implicit,o=t.index;return r.cc(2).select(i,o),e.preventDefault()}),r.zc(1,s,1,3,"span",2),r.Rb(2,"span"),r.Ac(3),r.Qb(),r.Qb()}if(2&e){var i=t.$implicit,o=r.cc(2);r.Eb("selected",i===o.selected),r.Ab(1),r.hc("ngIf",o.showSymbol),r.Ab(2),r.Bc(i.title)}}function u(e,t){if(1&e&&(r.Rb(0,"ul",4),r.zc(1,a,4,4,"li",5),r.Qb()),2&e){var n=r.cc();r.Ab(1),r.hc("ngForOf",n.options)}}var c=function(){var e=function(){function e(t){b(this,e),this.hostElement=t,this.change=new r.n,this.showSymbol=!1,this.showOptions=!1}return k(e,[{key:"ngOnInit",value:function(){this.label=this.label||""}},{key:"toggleOptions",value:function(){this.showOptions=!this.showOptions}},{key:"hideOptions",value:function(){this.showOptions=!1}},{key:"select",value:function(e,t){this.selected=e,this.change.emit({option:e,index:t}),this.hideOptions()}},{key:"onClick",value:function(e){this.hostElement.nativeElement.contains(e)||this.hideOptions()}},{key:"onKeyDown",value:function(){this.hideOptions()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Mb(r.l))},e.\u0275cmp=r.Gb({type:e,selectors:[["aio-select"]],hostBindings:function(e,t){1&e&&r.Yb("click",function(e){return t.onClick(e.target)},!1,r.oc)("keydown.escape",function(){return t.onKeyDown()},!1,r.oc)},inputs:{selected:"selected",options:"options",showSymbol:"showSymbol",label:"label",disabled:"disabled"},outputs:{change:"change"},decls:9,vars:5,consts:[[1,"form-select-menu"],[1,"form-select-button",3,"disabled","click"],[3,"class",4,"ngIf"],["class","form-select-dropdown",4,"ngIf"],[1,"form-select-dropdown"],["role","button","tabindex","0",3,"selected","click","keydown.enter","keydown.space",4,"ngFor","ngForOf"],["role","button","tabindex","0",3,"click","keydown.enter","keydown.space"]],template:function(e,t){1&e&&(r.Rb(0,"div",0),r.Rb(1,"button",1),r.Yb("click",function(){return t.toggleOptions()}),r.Rb(2,"span"),r.Rb(3,"strong"),r.Ac(4),r.Qb(),r.Qb(),r.zc(5,o,1,3,"span",2),r.Rb(6,"span"),r.Ac(7),r.Qb(),r.Qb(),r.zc(8,u,2,1,"ul",3),r.Qb()),2&e&&(r.Ab(1),r.hc("disabled",t.disabled),r.Ab(3),r.Bc(t.label),r.Ab(1),r.hc("ngIf",t.showSymbol),r.Ab(2),r.Bc(null==t.selected?null:t.selected.title),r.Ab(1),r.hc("ngIf",t.showOptions))},directives:[i.k,i.j],encapsulation:2}),e}()},xbPD:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("7o/Q");function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return function(t){return t.lift(new o(e))}}var o=function(){function e(t){b(this,e),this.defaultValue=t}return k(e,[{key:"call",value:function(e,t){return t.subscribe(new s(e,this.defaultValue))}}]),e}(),s=function(e){f(n,e);var t=v(n);function n(e,r){var i;return b(this,n),(i=t.call(this,e)).defaultValue=r,i.isEmpty=!0,i}return k(n,[{key:"_next",value:function(e){this.isEmpty=!1,this.destination.next(e)}},{key:"_complete",value:function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}]),n}(r.a)},xgIS:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var r=n("HDdC"),o=n("DH7j"),s=n("n6bG"),a=n("lJxs");function u(e,t,n,l){return Object(s.a)(n)&&(l=n,n=void 0),l?u(e,t,n).pipe(Object(a.a)(function(e){return Object(o.a)(e)?l.apply(void 0,i(e)):l(e)})):new r.a(function(r){c(e,t,function(e){r.next(arguments.length>1?Array.prototype.slice.call(arguments):e)},r,n)})}function c(e,t,n,r,i){var o;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(e)){var s=e;e.addEventListener(t,n,i),o=function(){return s.removeEventListener(t,n,i)}}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(e)){var a=e;e.on(t,n),o=function(){return a.off(t,n)}}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(e)){var u=e;e.addListener(t,n),o=function(){return u.removeListener(t,n)}}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(var l=0,h=e.length;l<h;l++)c(e[l],t,n,r,i)}r.add(o)}},yCtX:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("HDdC"),i=n("ngJS"),o=n("jZKg");function s(e,t){return t?Object(o.a)(e,t):new r.a(Object(i.a)(e))}},"z+Ro":function(e,t,n){"use strict";function r(e){return e&&"function"==typeof e.schedule}n.d(t,"a",function(){return r})},z6cu:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("HDdC");function i(e,t){return new r.a(t?function(n){return t.schedule(o,0,{error:e,subscriber:n})}:function(t){return t.error(e)})}function o(e){var t=e.error;e.subscriber.error(t)}},zUnb:function(n,r,c){"use strict";c.r(r);var d=c("fXoL"),p=c("AytR"),m=c("jhN1"),y=c("tk/3"),_=c("R1ws"),w=c("ofXK"),S=c("HDdC"),E=c("Cfvw"),C=c("EY2u");function O(e){return new S.a(function(t){var n;try{n=e()}catch(r){return void t.error(r)}return(n?Object(E.a)(n):Object(C.b)()).subscribe(t)})}var x,T,I=c("z6cu"),A=c("xgIS"),j=c("LRne"),N=c("GyhO"),R=c("XNiG"),D=c("KqfI"),F=new S.a(D.a),P=c("VRyK"),M=c("lJxs"),L=c("pLZG"),V=c("eIep"),H=c("oB13"),z=c("IzEk"),B=c("vkgz"),q=c("D0XW"),Q=c("7o/Q"),U=c("WMd4"),W=function(){function e(t,n){b(this,e),this.delay=t,this.scheduler=n}return k(e,[{key:"call",value:function(e,t){return t.subscribe(new K(e,this.delay,this.scheduler))}}]),e}(),K=function(e){f(n,e);var t=v(n);function n(e,r,i){var o;return b(this,n),(o=t.call(this,e)).delay=r,o.scheduler=i,o.queue=[],o.active=!1,o.errored=!1,o}return k(n,[{key:"_schedule",value:function(e){this.active=!0,this.destination.add(e.schedule(n.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))}},{key:"scheduleNotification",value:function(e){if(!0!==this.errored){var t=this.scheduler,n=new Z(t.now()+this.delay,e);this.queue.push(n),!1===this.active&&this._schedule(t)}}},{key:"_next",value:function(e){this.scheduleNotification(U.a.createNext(e))}},{key:"_error",value:function(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleNotification(U.a.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(e){for(var t=e.source,n=t.queue,r=e.scheduler,i=e.destination;n.length>0&&n[0].time-r.now()<=0;)n.shift().notification.observe(i);if(n.length>0){var o=Math.max(0,n[0].time-r.now());this.schedule(e,o)}else this.unsubscribe(),t.active=!1}}]),n}(Q.a),Z=function e(t,n){b(this,e),this.time=t,this.notification=n},G="Service workers are disabled or not supported by this browser",X=function(){function e(t){if(b(this,e),this.serviceWorker=t,t){var n=Object(A.a)(t,"controllerchange").pipe(Object(M.a)(function(){return t.controller})),r=O(function(){return Object(j.a)(t.controller)}),i=Object(N.a)(r,n);this.worker=i.pipe(Object(L.a)(function(e){return!!e})),this.registration=this.worker.pipe(Object(V.a)(function(){return t.getRegistration()}));var o=Object(A.a)(t,"message").pipe(Object(M.a)(function(e){return e.data})).pipe(Object(L.a)(function(e){return e&&e.type})).pipe(Object(H.a)(new R.a));o.connect(),this.events=o}else this.worker=this.events=this.registration=O(function(){return Object(I.a)(new Error("Service workers are disabled or not supported by this browser"))})}return k(e,[{key:"postMessage",value:function(e,t){return this.worker.pipe(Object(z.a)(1),Object(B.a)(function(n){n.postMessage(Object.assign({action:e},t))})).toPromise().then(function(){})}},{key:"postMessageWithStatus",value:function(e,t,n){var r=this.waitForStatus(n),i=this.postMessage(e,t);return Promise.all([r,i]).then(function(){})}},{key:"generateNonce",value:function(){return Math.round(1e7*Math.random())}},{key:"eventsOfType",value:function(e){return this.events.pipe(Object(L.a)(function(t){return t.type===e}))}},{key:"nextEventOfType",value:function(e){return this.eventsOfType(e).pipe(Object(z.a)(1))}},{key:"waitForStatus",value:function(e){return this.eventsOfType("STATUS").pipe(Object(L.a)(function(t){return t.nonce===e}),Object(z.a)(1),Object(M.a)(function(e){if(!e.status)throw new Error(e.error)})).toPromise()}},{key:"isEnabled",get:function(){return!!this.serviceWorker}}]),e}(),Y=((T=function(){function e(t){if(b(this,e),this.sw=t,this.subscriptionChanges=new R.a,!t.isEnabled)return this.messages=F,this.notificationClicks=F,void(this.subscription=F);this.messages=this.sw.eventsOfType("PUSH").pipe(Object(M.a)(function(e){return e.data})),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe(Object(M.a)(function(e){return e.data})),this.pushManager=this.sw.registration.pipe(Object(M.a)(function(e){return e.pushManager}));var n=this.pushManager.pipe(Object(V.a)(function(e){return e.getSubscription()}));this.subscription=Object(P.a)(n,this.subscriptionChanges)}return k(e,[{key:"requestSubscription",value:function(e){var t=this;if(!this.sw.isEnabled)return Promise.reject(new Error(G));for(var n={userVisibleOnly:!0},r=this.decodeBase64(e.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),i=new Uint8Array(new ArrayBuffer(r.length)),o=0;o<r.length;o++)i[o]=r.charCodeAt(o);return n.applicationServerKey=i,this.pushManager.pipe(Object(V.a)(function(e){return e.subscribe(n)}),Object(z.a)(1)).toPromise().then(function(e){return t.subscriptionChanges.next(e),e})}},{key:"unsubscribe",value:function(){var e=this;return this.sw.isEnabled?this.subscription.pipe(Object(z.a)(1),Object(V.a)(function(t){if(null===t)throw new Error("Not subscribed to push notifications.");return t.unsubscribe().then(function(t){if(!t)throw new Error("Unsubscribe failed!");e.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error(G))}},{key:"decodeBase64",value:function(e){return atob(e)}},{key:"isEnabled",get:function(){return this.sw.isEnabled}}]),e}()).\u0275fac=function(e){return new(e||T)(d.Vb(X))},T.\u0275prov=d.Ib({token:T,factory:T.\u0275fac}),T),J=((x=function(){function e(t){if(b(this,e),this.sw=t,!t.isEnabled)return this.available=F,this.activated=F,void(this.unrecoverable=F);this.available=this.sw.eventsOfType("UPDATE_AVAILABLE"),this.activated=this.sw.eventsOfType("UPDATE_ACTIVATED"),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}return k(e,[{key:"checkForUpdate",value:function(){if(!this.sw.isEnabled)return Promise.reject(new Error(G));var e=this.sw.generateNonce();return this.sw.postMessageWithStatus("CHECK_FOR_UPDATES",{statusNonce:e},e)}},{key:"activateUpdate",value:function(){if(!this.sw.isEnabled)return Promise.reject(new Error(G));var e=this.sw.generateNonce();return this.sw.postMessageWithStatus("ACTIVATE_UPDATE",{statusNonce:e},e)}},{key:"isEnabled",get:function(){return this.sw.isEnabled}}]),e}()).\u0275fac=function(e){return new(e||x)(d.Vb(X))},x.\u0275prov=d.Ib({token:x,factory:x.\u0275fac}),x),$=function e(){b(this,e)},ee=new d.q("NGSW_REGISTER_SCRIPT");function te(e,t,n,r){return function(){if(Object(w.s)(r)&&"serviceWorker"in navigator&&!1!==n.enabled){var i,s;if(navigator.serviceWorker.addEventListener("controllerchange",function(){null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})}),"function"==typeof n.registrationStrategy)i=n.registrationStrategy();else{var c=(n.registrationStrategy||"registerWhenStable:30000").split(":"),h=l(s=c)||o(s)||u(s)||a(),f=h[0],v=h.slice(1);switch(f){case"registerImmediately":i=Object(j.a)(null);break;case"registerWithDelay":i=ne(+v[0]||0);break;case"registerWhenStable":i=v[0]?Object(P.a)(re(e),ne(+v[0])):re(e);break;default:throw new Error("Unknown ServiceWorker registration strategy: "+n.registrationStrategy)}}e.get(d.z).runOutsideAngular(function(){return i.pipe(Object(z.a)(1)).subscribe(function(){return navigator.serviceWorker.register(t,{scope:n.scope}).catch(function(e){return console.error("Service worker registration failed with:",e)})})})}}}function ne(e){return Object(j.a)(null).pipe(function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:q.a,r=(t=e)instanceof Date&&!isNaN(+t)?+e-n.now():Math.abs(e);return function(e){return e.lift(new W(r,n))}}(e))}function re(e){return e.get(d.g).isStable.pipe(Object(L.a)(function(e){return e}))}function ie(e,t){return new X(Object(w.s)(t)&&!1!==e.enabled?navigator.serviceWorker:void 0)}var oe,se,ae=((oe=function(){function e(){b(this,e)}return k(e,null,[{key:"register",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{ngModule:e,providers:[{provide:ee,useValue:t},{provide:$,useValue:n},{provide:X,useFactory:ie,deps:[$,d.B]},{provide:d.d,useFactory:te,deps:[d.r,ee,$,d.B],multi:!0}]}}}]),e}()).\u0275mod=d.Kb({type:oe}),oe.\u0275inj=d.Jb({factory:function(e){return new(e||oe)},providers:[Y,J]}),oe),ue=c("bTqV"),ce=c("NFeN"),le=c("FKr1"),he=c("8LU1"),fe=c("quSY"),de=["primaryValueBar"],ve=Object(le.f)(function e(t){b(this,e),this._elementRef=t},"primary"),pe=new d.q("mat-progress-bar-location",{providedIn:"root",factory:function(){var e=Object(d.V)(w.d),t=e?e.location:null;return{getPathname:function(){return t?t.pathname+t.search:""}}}}),me=0,ye=((se=function(e){f(n,e);var t=v(n);function n(e,r,i,o){var s;b(this,n),(s=t.call(this,e))._elementRef=e,s._ngZone=r,s._animationMode=i,s._isNoopAnimation=!1,s._value=0,s._bufferValue=0,s.animationEnd=new d.n,s._animationEndSubscription=fe.a.EMPTY,s.mode="determinate",s.progressbarId="mat-progress-bar-"+me++;var a=o?o.getPathname().split("#")[0]:"";return s._rectangleFillValue="url('".concat(a,"#").concat(s.progressbarId,"')"),s._isNoopAnimation="NoopAnimations"===i,s}return k(n,[{key:"_primaryTransform",value:function(){return{transform:"scale3d(".concat(this.value/100,", 1, 1)")}}},{key:"_bufferTransform",value:function(){return"buffer"===this.mode?{transform:"scale3d(".concat(this.bufferValue/100,", 1, 1)")}:null}},{key:"ngAfterViewInit",value:function(){var e=this;this._ngZone.runOutsideAngular(function(){var t=e._primaryValueBar.nativeElement;e._animationEndSubscription=Object(A.a)(t,"transitionend").pipe(Object(L.a)(function(e){return e.target===t})).subscribe(function(){"determinate"!==e.mode&&"buffer"!==e.mode||e._ngZone.run(function(){return e.animationEnd.next({value:e.value})})})})}},{key:"ngOnDestroy",value:function(){this._animationEndSubscription.unsubscribe()}},{key:"value",get:function(){return this._value},set:function(e){this._value=ge(Object(he.e)(e)||0)}},{key:"bufferValue",get:function(){return this._bufferValue},set:function(e){this._bufferValue=ge(e||0)}}]),n}(ve)).\u0275fac=function(e){return new(e||se)(d.Mb(d.l),d.Mb(d.z),d.Mb(_.a,8),d.Mb(pe,8))},se.\u0275cmp=d.Gb({type:se,selectors:[["mat-progress-bar"]],viewQuery:function(e,t){var n;1&e&&d.Ec(de,!0),2&e&&d.mc(n=d.Zb())&&(t._primaryValueBar=n.first)},hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100",1,"mat-progress-bar"],hostVars:4,hostBindings:function(e,t){2&e&&(d.Bb("aria-valuenow","indeterminate"===t.mode||"query"===t.mode?null:t.value)("mode",t.mode),d.Eb("_mat-animation-noopable",t._isNoopAnimation))},inputs:{color:"color",mode:"mode",value:"value",bufferValue:"bufferValue"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[d.xb],decls:9,vars:4,consts:[["width","100%","height","4","focusable","false",1,"mat-progress-bar-background","mat-progress-bar-element"],["x","4","y","0","width","8","height","4","patternUnits","userSpaceOnUse",3,"id"],["cx","2","cy","2","r","2"],["width","100%","height","100%"],[1,"mat-progress-bar-buffer","mat-progress-bar-element",3,"ngStyle"],[1,"mat-progress-bar-primary","mat-progress-bar-fill","mat-progress-bar-element",3,"ngStyle"],["primaryValueBar",""],[1,"mat-progress-bar-secondary","mat-progress-bar-fill","mat-progress-bar-element"]],template:function(e,t){1&e&&(d.bc(),d.Rb(0,"svg",0),d.Rb(1,"defs"),d.Rb(2,"pattern",1),d.Nb(3,"circle",2),d.Qb(),d.Qb(),d.Nb(4,"rect",3),d.Qb(),d.ac(),d.Nb(5,"div",4),d.Nb(6,"div",5,6),d.Nb(8,"div",7)),2&e&&(d.Ab(2),d.hc("id",t.progressbarId),d.Ab(2),d.Bb("fill",t._rectangleFillValue),d.Ab(1),d.hc("ngStyle",t._bufferTransform()),d.Ab(1),d.hc("ngStyle",t._primaryTransform()))},directives:[w.l],styles:['.mat-progress-bar{display:block;height:4px;overflow:hidden;position:relative;transition:opacity 250ms linear;width:100%}._mat-animation-noopable.mat-progress-bar{transition:none;animation:none}.mat-progress-bar .mat-progress-bar-element,.mat-progress-bar .mat-progress-bar-fill::after{height:100%;position:absolute;width:100%}.mat-progress-bar .mat-progress-bar-background{width:calc(100% + 10px)}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-background{display:none}.mat-progress-bar .mat-progress-bar-buffer{transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-buffer{border-top:solid 5px;opacity:.5}.mat-progress-bar .mat-progress-bar-secondary{display:none}.mat-progress-bar .mat-progress-bar-fill{animation:none;transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-fill{border-top:solid 4px}.mat-progress-bar .mat-progress-bar-fill::after{animation:none;content:"";display:inline-block;left:0}.mat-progress-bar[dir=rtl],[dir=rtl] .mat-progress-bar{transform:rotateY(180deg)}.mat-progress-bar[mode=query]{transform:rotateZ(180deg)}.mat-progress-bar[mode=query][dir=rtl],[dir=rtl] .mat-progress-bar[mode=query]{transform:rotateZ(180deg) rotateY(180deg)}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-fill,.mat-progress-bar[mode=query] .mat-progress-bar-fill{transition:none}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary,.mat-progress-bar[mode=query] .mat-progress-bar-primary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-translate 2000ms infinite linear;left:-145.166611%}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-primary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary,.mat-progress-bar[mode=query] .mat-progress-bar-secondary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-translate 2000ms infinite linear;left:-54.888891%;display:block}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-secondary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=buffer] .mat-progress-bar-background{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-background-scroll 250ms infinite linear;display:block}.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-buffer,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-background{animation:none;transition-duration:1ms}@keyframes mat-progress-bar-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mat-progress-bar-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mat-progress-bar-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-background-scroll{to{transform:translateX(-8px)}}\n'],encapsulation:2,changeDetection:0}),se);function ge(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100;return Math.max(t,Math.min(n,e))}var be,_e=((be=function e(){b(this,e)}).\u0275mod=d.Kb({type:be}),be.\u0275inj=d.Jb({factory:function(e){return new(e||be)},imports:[[w.c,le.b],le.b]}),be),ke=c("nLfN"),we=c("vxfF"),Se=c("FtGj");function Ee(e){return function(t){return t.lift(new Ce(e))}}var Ce=function(){function e(t){b(this,e),this.value=t}return k(e,[{key:"call",value:function(e,t){return t.subscribe(new Oe(e,this.value))}}]),e}(),Oe=function(e){f(n,e);var t=v(n);function n(e,r){var i;return b(this,n),(i=t.call(this,e)).value=r,i}return k(n,[{key:"_next",value:function(e){this.destination.next(this.value)}}]),n}(Q.a),xe=c("1G5W"),Te=c("/uUt"),Ie=c("JX91"),Ae=c("Kj3r"),je=c("R0Ic"),Ne=c("u47x"),Re=c("cH1L"),De=["*"];function Fe(e,t){if(1&e){var n=d.Sb();d.Rb(0,"div",2),d.Yb("click",function(){return d.qc(n),d.cc()._onBackdropClicked()}),d.Qb()}if(2&e){var r=d.cc();d.Eb("mat-drawer-shown",r._isShowingBackdrop())}}function Pe(e,t){1&e&&(d.Rb(0,"mat-drawer-content"),d.fc(1,2),d.Qb())}var Me=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],Le=["mat-drawer","mat-drawer-content","*"];function Ve(e,t){if(1&e){var n=d.Sb();d.Rb(0,"div",2),d.Yb("click",function(){return d.qc(n),d.cc()._onBackdropClicked()}),d.Qb()}if(2&e){var r=d.cc();d.Eb("mat-drawer-shown",r._isShowingBackdrop())}}function He(e,t){1&e&&(d.Rb(0,"mat-sidenav-content",3),d.fc(1,2),d.Qb())}var ze,Be,qe,Qe,Ue,We,Ke,Ze,Ge,Xe,Ye=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],Je=["mat-sidenav","mat-sidenav-content","*"],$e=".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n",et={transformDrawer:Object(je.j)("transform",[Object(je.g)("open, open-instant",Object(je.h)({transform:"none",visibility:"visible"})),Object(je.g)("void",Object(je.h)({"box-shadow":"none",visibility:"hidden"})),Object(je.i)("void => open-instant",Object(je.e)("0ms")),Object(je.i)("void <=> open, open-instant => void",Object(je.e)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},tt=new d.q("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function(){return!1}}),nt=new d.q("MAT_DRAWER_CONTAINER"),rt=((Ue=function(e){f(n,e);var t=v(n);function n(e,r,i,o,s){var a;return b(this,n),(a=t.call(this,i,o,s))._changeDetectorRef=e,a._container=r,a}return k(n,[{key:"ngAfterContentInit",value:function(){var e=this;this._container._contentMarginChanges.subscribe(function(){e._changeDetectorRef.markForCheck()})}}]),n}(we.a)).\u0275fac=function(e){return new(e||Ue)(d.Mb(d.h),d.Mb(Object(d.U)(function(){return ot})),d.Mb(d.l),d.Mb(we.c),d.Mb(d.z))},Ue.\u0275cmp=d.Gb({type:Ue,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(e,t){2&e&&d.wc("margin-left",t._container._contentMargins.left,"px")("margin-right",t._container._contentMargins.right,"px")},features:[d.xb],ngContentSelectors:De,decls:1,vars:0,template:function(e,t){1&e&&(d.gc(),d.fc(0))},encapsulation:2,changeDetection:0}),Ue),it=((Qe=function(){function e(t,n,r,i,o,s,a){var u=this;b(this,e),this._elementRef=t,this._focusTrapFactory=n,this._focusMonitor=r,this._platform=i,this._ngZone=o,this._doc=s,this._container=a,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new R.a,this._animationEnd=new R.a,this._animationState="void",this.openedChange=new d.n(!0),this._openedStream=this.openedChange.pipe(Object(L.a)(function(e){return e}),Object(M.a)(function(){})),this.openedStart=this._animationStarted.pipe(Object(L.a)(function(e){return e.fromState!==e.toState&&0===e.toState.indexOf("open")}),Ee(void 0)),this._closedStream=this.openedChange.pipe(Object(L.a)(function(e){return!e}),Object(M.a)(function(){})),this.closedStart=this._animationStarted.pipe(Object(L.a)(function(e){return e.fromState!==e.toState&&"void"===e.toState}),Ee(void 0)),this._destroyed=new R.a,this.onPositionChanged=new d.n,this._modeChanged=new R.a,this.openedChange.subscribe(function(e){e?(u._doc&&(u._elementFocusedBeforeDrawerWasOpened=u._doc.activeElement),u._takeFocus()):u._isFocusWithinDrawer()&&u._restoreFocus()}),this._ngZone.runOutsideAngular(function(){Object(A.a)(u._elementRef.nativeElement,"keydown").pipe(Object(L.a)(function(e){return e.keyCode===Se.e&&!u.disableClose&&!Object(Se.o)(e)}),Object(xe.a)(u._destroyed)).subscribe(function(e){return u._ngZone.run(function(){u.close(),e.stopPropagation(),e.preventDefault()})})}),this._animationEnd.pipe(Object(Te.a)(function(e,t){return e.fromState===t.fromState&&e.toState===t.toState})).subscribe(function(e){var t=e.fromState,n=e.toState;(0===n.indexOf("open")&&"void"===t||"void"===n&&0===t.indexOf("open"))&&u.openedChange.emit(u._opened)})}return k(e,[{key:"_takeFocus",value:function(){var e=this;this.autoFocus&&this._focusTrap&&this._focusTrap.focusInitialElementWhenReady().then(function(t){t||"function"!=typeof e._elementRef.nativeElement.focus||e._elementRef.nativeElement.focus()})}},{key:"_restoreFocus",value:function(){this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,this._openedVia):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null,this._openedVia=null)}},{key:"_isFocusWithinDrawer",value:function(){var e,t=null===(e=this._doc)||void 0===e?void 0:e.activeElement;return!!t&&this._elementRef.nativeElement.contains(t)}},{key:"ngAfterContentInit",value:function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState()}},{key:"ngAfterContentChecked",value:function(){this._platform.isBrowser&&(this._enableAnimations=!0)}},{key:"ngOnDestroy",value:function(){this._focusTrap&&this._focusTrap.destroy(),this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}},{key:"open",value:function(e){return this.toggle(!0,e)}},{key:"close",value:function(){return this.toggle(!1)}},{key:"_closeViaBackdropClick",value:function(){return this._setOpen(!1,!0)}},{key:"toggle",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:!this.opened,t=arguments.length>1?arguments[1]:void 0;return this._setOpen(e,!e&&this._isFocusWithinDrawer(),t)}},{key:"_setOpen",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"program";return this._opened=e,e?(this._animationState=this._enableAnimations?"open":"open-instant",this._openedVia=r):(this._animationState="void",t&&this._restoreFocus()),this._updateFocusTrapState(),new Promise(function(e){n.openedChange.pipe(Object(z.a)(1)).subscribe(function(t){return e(t?"open":"close")})})}},{key:"_getWidth",value:function(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}},{key:"_updateFocusTrapState",value:function(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}},{key:"_animationStartListener",value:function(e){this._animationStarted.next(e)}},{key:"_animationDoneListener",value:function(e){this._animationEnd.next(e)}},{key:"position",get:function(){return this._position},set:function(e){(e="end"===e?"end":"start")!=this._position&&(this._position=e,this.onPositionChanged.emit())}},{key:"mode",get:function(){return this._mode},set:function(e){this._mode=e,this._updateFocusTrapState(),this._modeChanged.next()}},{key:"disableClose",get:function(){return this._disableClose},set:function(e){this._disableClose=Object(he.b)(e)}},{key:"autoFocus",get:function(){var e=this._autoFocus;return null==e?"side"!==this.mode:e},set:function(e){this._autoFocus=Object(he.b)(e)}},{key:"opened",get:function(){return this._opened},set:function(e){this.toggle(Object(he.b)(e))}}]),e}()).\u0275fac=function(e){return new(e||Qe)(d.Mb(d.l),d.Mb(Ne.e),d.Mb(Ne.d),d.Mb(ke.a),d.Mb(d.z),d.Mb(w.d,8),d.Mb(nt,8))},Qe.\u0275cmp=d.Gb({type:Qe,selectors:[["mat-drawer"]],hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(e,t){1&e&&d.xc("@transform.start",function(e){return t._animationStartListener(e)})("@transform.done",function(e){return t._animationDoneListener(e)}),2&e&&(d.Bb("align",null),d.yc("@transform",t._animationState),d.Eb("mat-drawer-end","end"===t.position)("mat-drawer-over","over"===t.mode)("mat-drawer-push","push"===t.mode)("mat-drawer-side","side"===t.mode)("mat-drawer-opened",t.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:De,decls:2,vars:0,consts:[[1,"mat-drawer-inner-container"]],template:function(e,t){1&e&&(d.gc(),d.Rb(0,"div",0),d.fc(1),d.Qb())},encapsulation:2,data:{animation:[et.transformDrawer]},changeDetection:0}),Qe),ot=((qe=function(){function e(t,n,r,i,o){var s=this,a=arguments.length>5&&void 0!==arguments[5]&&arguments[5],u=arguments.length>6?arguments[6]:void 0;b(this,e),this._dir=t,this._element=n,this._ngZone=r,this._changeDetectorRef=i,this._animationMode=u,this._drawers=new d.D,this.backdropClick=new d.n,this._destroyed=new R.a,this._doCheckSubject=new R.a,this._contentMargins={left:null,right:null},this._contentMarginChanges=new R.a,t&&t.change.pipe(Object(xe.a)(this._destroyed)).subscribe(function(){s._validateDrawers(),s.updateContentMargins()}),o.change().pipe(Object(xe.a)(this._destroyed)).subscribe(function(){return s.updateContentMargins()}),this._autosize=a}return k(e,[{key:"ngAfterContentInit",value:function(){var e=this;this._allDrawers.changes.pipe(Object(Ie.a)(this._allDrawers),Object(xe.a)(this._destroyed)).subscribe(function(t){e._drawers.reset(t.filter(function(t){return!t._container||t._container===e})),e._drawers.notifyOnChanges()}),this._drawers.changes.pipe(Object(Ie.a)(null)).subscribe(function(){e._validateDrawers(),e._drawers.forEach(function(t){e._watchDrawerToggle(t),e._watchDrawerPosition(t),e._watchDrawerMode(t)}),(!e._drawers.length||e._isDrawerOpen(e._start)||e._isDrawerOpen(e._end))&&e.updateContentMargins(),e._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(function(){e._doCheckSubject.pipe(Object(Ae.a)(10),Object(xe.a)(e._destroyed)).subscribe(function(){return e.updateContentMargins()})})}},{key:"ngOnDestroy",value:function(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}},{key:"open",value:function(){this._drawers.forEach(function(e){return e.open()})}},{key:"close",value:function(){this._drawers.forEach(function(e){return e.close()})}},{key:"updateContentMargins",value:function(){var e=this,t=0,n=0;if(this._left&&this._left.opened)if("side"==this._left.mode)t+=this._left._getWidth();else if("push"==this._left.mode){var r=this._left._getWidth();t+=r,n-=r}if(this._right&&this._right.opened)if("side"==this._right.mode)n+=this._right._getWidth();else if("push"==this._right.mode){var i=this._right._getWidth();n+=i,t-=i}n=n||null,(t=t||null)===this._contentMargins.left&&n===this._contentMargins.right||(this._contentMargins={left:t,right:n},this._ngZone.run(function(){return e._contentMarginChanges.next(e._contentMargins)}))}},{key:"ngDoCheck",value:function(){var e=this;this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(function(){return e._doCheckSubject.next()})}},{key:"_watchDrawerToggle",value:function(e){var t=this;e._animationStarted.pipe(Object(L.a)(function(e){return e.fromState!==e.toState}),Object(xe.a)(this._drawers.changes)).subscribe(function(e){"open-instant"!==e.toState&&"NoopAnimations"!==t._animationMode&&t._element.nativeElement.classList.add("mat-drawer-transition"),t.updateContentMargins(),t._changeDetectorRef.markForCheck()}),"side"!==e.mode&&e.openedChange.pipe(Object(xe.a)(this._drawers.changes)).subscribe(function(){return t._setContainerClass(e.opened)})}},{key:"_watchDrawerPosition",value:function(e){var t=this;e&&e.onPositionChanged.pipe(Object(xe.a)(this._drawers.changes)).subscribe(function(){t._ngZone.onMicrotaskEmpty.pipe(Object(z.a)(1)).subscribe(function(){t._validateDrawers()})})}},{key:"_watchDrawerMode",value:function(e){var t=this;e&&e._modeChanged.pipe(Object(xe.a)(Object(P.a)(this._drawers.changes,this._destroyed))).subscribe(function(){t.updateContentMargins(),t._changeDetectorRef.markForCheck()})}},{key:"_setContainerClass",value:function(e){var t=this._element.nativeElement.classList,n="mat-drawer-container-has-open";e?t.add(n):t.remove(n)}},{key:"_validateDrawers",value:function(){var e=this;this._start=this._end=null,this._drawers.forEach(function(t){"end"==t.position?e._end=t:e._start=t}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}},{key:"_isPushed",value:function(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}},{key:"_onBackdropClicked",value:function(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}},{key:"_closeModalDrawersViaBackdrop",value:function(){var e=this;[this._start,this._end].filter(function(t){return t&&!t.disableClose&&e._canHaveBackdrop(t)}).forEach(function(e){return e._closeViaBackdropClick()})}},{key:"_isShowingBackdrop",value:function(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}},{key:"_canHaveBackdrop",value:function(e){return"side"!==e.mode||!!this._backdropOverride}},{key:"_isDrawerOpen",value:function(e){return null!=e&&e.opened}},{key:"start",get:function(){return this._start}},{key:"end",get:function(){return this._end}},{key:"autosize",get:function(){return this._autosize},set:function(e){this._autosize=Object(he.b)(e)}},{key:"hasBackdrop",get:function(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride},set:function(e){this._backdropOverride=null==e?null:Object(he.b)(e)}},{key:"scrollable",get:function(){return this._userContent||this._content}}]),e}()).\u0275fac=function(e){return new(e||qe)(d.Mb(Re.b,8),d.Mb(d.l),d.Mb(d.z),d.Mb(d.h),d.Mb(we.e),d.Mb(tt),d.Mb(_.a,8))},qe.\u0275cmp=d.Gb({type:qe,selectors:[["mat-drawer-container"]],contentQueries:function(e,t,n){var r;1&e&&(d.Fb(n,rt,!0),d.Fb(n,it,!0)),2&e&&(d.mc(r=d.Zb())&&(t._content=r.first),d.mc(r=d.Zb())&&(t._allDrawers=r))},viewQuery:function(e,t){var n;1&e&&d.Ec(rt,!0),2&e&&d.mc(n=d.Zb())&&(t._userContent=n.first)},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(e,t){2&e&&d.Eb("mat-drawer-container-explicit-backdrop",t._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[d.zb([{provide:nt,useExisting:qe}])],ngContentSelectors:Le,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(e,t){1&e&&(d.gc(Me),d.zc(0,Fe,1,2,"div",0),d.fc(1),d.fc(2,1),d.zc(3,Pe,2,0,"mat-drawer-content",1)),2&e&&(d.hc("ngIf",t.hasBackdrop),d.Ab(3),d.hc("ngIf",!t._content))},directives:[w.k,rt],styles:[$e],encapsulation:2,changeDetection:0}),qe),st=((Be=function(e){f(n,e);var t=v(n);function n(e,r,i,o,s){return b(this,n),t.call(this,e,r,i,o,s)}return n}(rt)).\u0275fac=function(e){return new(e||Be)(d.Mb(d.h),d.Mb(Object(d.U)(function(){return ct})),d.Mb(d.l),d.Mb(we.c),d.Mb(d.z))},Be.\u0275cmp=d.Gb({type:Be,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(e,t){2&e&&d.wc("margin-left",t._container._contentMargins.left,"px")("margin-right",t._container._contentMargins.right,"px")},features:[d.xb],ngContentSelectors:De,decls:1,vars:0,template:function(e,t){1&e&&(d.gc(),d.fc(0))},encapsulation:2,changeDetection:0}),Be),at=((ze=function(e){f(n,e);var t=v(n);function n(){var e;return b(this,n),(e=t.apply(this,arguments))._fixedInViewport=!1,e._fixedTopGap=0,e._fixedBottomGap=0,e}return k(n,[{key:"fixedInViewport",get:function(){return this._fixedInViewport},set:function(e){this._fixedInViewport=Object(he.b)(e)}},{key:"fixedTopGap",get:function(){return this._fixedTopGap},set:function(e){this._fixedTopGap=Object(he.e)(e)}},{key:"fixedBottomGap",get:function(){return this._fixedBottomGap},set:function(e){this._fixedBottomGap=Object(he.e)(e)}}]),n}(it)).\u0275fac=function(e){return ut(e||ze)},ze.\u0275cmp=d.Gb({type:ze,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(e,t){2&e&&(d.Bb("align",null),d.wc("top",t.fixedInViewport?t.fixedTopGap:null,"px")("bottom",t.fixedInViewport?t.fixedBottomGap:null,"px"),d.Eb("mat-drawer-end","end"===t.position)("mat-drawer-over","over"===t.mode)("mat-drawer-push","push"===t.mode)("mat-drawer-side","side"===t.mode)("mat-drawer-opened",t.opened)("mat-sidenav-fixed",t.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[d.xb],ngContentSelectors:De,decls:2,vars:0,consts:[[1,"mat-drawer-inner-container"]],template:function(e,t){1&e&&(d.gc(),d.Rb(0,"div",0),d.fc(1),d.Qb())},encapsulation:2,data:{animation:[et.transformDrawer]},changeDetection:0}),ze),ut=d.Tb(at),ct=((We=function(e){f(n,e);var t=v(n);function n(){return b(this,n),t.apply(this,arguments)}return n}(ot)).\u0275fac=function(e){return lt(e||We)},We.\u0275cmp=d.Gb({type:We,selectors:[["mat-sidenav-container"]],contentQueries:function(e,t,n){var r;1&e&&(d.Fb(n,st,!0),d.Fb(n,at,!0)),2&e&&(d.mc(r=d.Zb())&&(t._content=r.first),d.mc(r=d.Zb())&&(t._allDrawers=r))},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(e,t){2&e&&d.Eb("mat-drawer-container-explicit-backdrop",t._backdropOverride)},exportAs:["matSidenavContainer"],features:[d.zb([{provide:nt,useExisting:We}]),d.xb],ngContentSelectors:Je,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],["cdkScrollable","",4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"],["cdkScrollable",""]],template:function(e,t){1&e&&(d.gc(Ye),d.zc(0,Ve,1,2,"div",0),d.fc(1),d.fc(2,1),d.zc(3,He,2,0,"mat-sidenav-content",1)),2&e&&(d.hc("ngIf",t.hasBackdrop),d.Ab(3),d.hc("ngIf",!t._content))},directives:[w.k,st,we.a],styles:[$e],encapsulation:2,changeDetection:0}),We),lt=d.Tb(ct),ht=((Ke=function e(){b(this,e)}).\u0275mod=d.Kb({type:Ke}),Ke.\u0275inj=d.Jb({factory:function(e){return new(e||Ke)},imports:[[w.c,le.b,ke.b,we.b],we.b,le.b]}),Ke),ft=["*",[["mat-toolbar-row"]]],dt=["*","mat-toolbar-row"],vt=Object(le.f)(function e(t){b(this,e),this._elementRef=t}),pt=((Xe=function e(){b(this,e)}).\u0275fac=function(e){return new(e||Xe)},Xe.\u0275dir=d.Hb({type:Xe,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),Xe),mt=((Ge=function(e){f(n,e);var t=v(n);function n(e,r,i){var o;return b(this,n),(o=t.call(this,e))._platform=r,o._document=i,o}return k(n,[{key:"ngAfterViewInit",value:function(){var e=this;this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(function(){return e._checkToolbarMixedModes()}))}},{key:"_checkToolbarMixedModes",value:function(){}}]),n}(vt)).\u0275fac=function(e){return new(e||Ge)(d.Mb(d.l),d.Mb(ke.a),d.Mb(w.d))},Ge.\u0275cmp=d.Gb({type:Ge,selectors:[["mat-toolbar"]],contentQueries:function(e,t,n){var r;1&e&&d.Fb(n,pt,!0),2&e&&d.mc(r=d.Zb())&&(t._toolbarRows=r)},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(e,t){2&e&&d.Eb("mat-toolbar-multiple-rows",t._toolbarRows.length>0)("mat-toolbar-single-row",0===t._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[d.xb],ngContentSelectors:dt,decls:2,vars:0,template:function(e,t){1&e&&(d.gc(ft),d.fc(0),d.fc(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}\n"],encapsulation:2,changeDetection:0}),Ge),yt=((Ze=function e(){b(this,e)}).\u0275mod=d.Kb({type:Ze}),Ze.\u0275inj=d.Jb({factory:function(e){return new(e||Ze)},imports:[[le.b],le.b]}),Ze),gt=new d.q("CurrentDate");function bt(){return new Date}var _t,kt,wt,St,Et=c("GvZq"),Ct=["*"],Ot=((_t=function(){function e(t,n){b(this,e),this.currentDate=n,this.dismissed=new d.n;try{this.storage=t.localStorage}catch(r){this.storage={length:0,clear:function(){},getItem:function(){return null},key:function(){return null},removeItem:function(){},setItem:function(){}}}}return k(e,[{key:"ngOnInit",value:function(){var e="hide"===this.storage.getItem("aio-notification/"+this.notificationId),t=this.currentDate>new Date(this.expirationDate);this.showNotification=e||t?"hide":"show"}},{key:"contentClick",value:function(){this.dismissOnContentClick&&this.dismiss()}},{key:"dismiss",value:function(){this.storage.setItem("aio-notification/"+this.notificationId,"hide"),this.showNotification="hide",this.dismissed.next()}}]),e}()).\u0275fac=function(e){return new(e||_t)(d.Mb(Et.a),d.Mb(gt))},_t.\u0275cmp=d.Gb({type:_t,selectors:[["aio-notification"]],hostVars:1,hostBindings:function(e,t){2&e&&d.yc("@hideAnimation",t.showNotification)},inputs:{dismissOnContentClick:"dismissOnContentClick",notificationId:"notificationId",expirationDate:"expirationDate"},outputs:{dismissed:"dismissed"},ngContentSelectors:Ct,decls:4,vars:0,consts:[[1,"content",3,"click","keyup.enter"],["mat-icon-button","","aria-label","Close",1,"close-button",3,"click"],["svgIcon","close","aria-label","Dismiss notification"]],template:function(e,t){1&e&&(d.gc(),d.Rb(0,"span",0),d.Yb("click",function(){return t.contentClick()})("keyup.enter",function(){return t.contentClick()}),d.fc(1),d.Qb(),d.Rb(2,"button",1),d.Yb("click",function(){return t.dismiss()}),d.Nb(3,"mat-icon",2),d.Qb())},directives:[ue.a,ce.a],encapsulation:2,data:{animation:[Object(je.j)("hideAnimation",[Object(je.g)("show",Object(je.h)({height:"*"})),Object(je.g)("hide",Object(je.h)({height:0})),Object(je.i)("show => hide",Object(je.e)(250))])]}}),_t),xt=c("/lUL"),Tt=["searchBox"],It=((kt=function(){function e(t){b(this,e),this.locationService=t,this.searchDebounce=300,this.searchSubject=new R.a,this.onSearch=this.searchSubject.pipe(Object(Te.a)(),Object(Ae.a)(this.searchDebounce)),this.onFocus=new d.n}return k(e,[{key:"ngAfterViewInit",value:function(){var e=this.locationService.search().search;e&&(this.query=this.decodeQuery(e),this.doSearch())}},{key:"doSearch",value:function(){this.searchSubject.next(this.query)}},{key:"doFocus",value:function(){this.onFocus.emit(this.query)}},{key:"focus",value:function(){this.searchBox.nativeElement.focus()}},{key:"decodeQuery",value:function(e){return e.replace(/\+/g," ")}},{key:"query",get:function(){return this.searchBox.nativeElement.value},set:function(e){this.searchBox.nativeElement.value=e}}]),e}()).\u0275fac=function(e){return new(e||kt)(d.Mb(xt.a))},kt.\u0275cmp=d.Gb({type:kt,selectors:[["aio-search-box"]],viewQuery:function(e,t){var n;1&e&&d.vc(Tt,!0),2&e&&d.mc(n=d.Zb())&&(t.searchBox=n.first)},outputs:{onSearch:"onSearch",onFocus:"onFocus"},decls:2,vars:0,consts:[["type","search","aria-label","search","placeholder","\u641c\u7d22",3,"input","keyup","focus","click"],["searchBox",""]],template:function(e,t){1&e&&(d.Rb(0,"input",0,1),d.Yb("input",function(){return t.doSearch()})("keyup",function(){return t.doSearch()})("focus",function(){return t.doFocus()})("click",function(){return t.doSearch()}),d.Qb())},encapsulation:2}),kt),At=c("9ppp"),jt=function(e){f(n,e);var t=v(n);function n(e){var r;return b(this,n),(r=t.call(this))._value=e,r}return k(n,[{key:"_subscribe",value:function(e){var t=h(g(n.prototype),"_subscribe",this).call(this,e);return t&&!t.closed&&e.next(this._value),t}},{key:"getValue",value:function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new At.a;return this._value}},{key:"next",value:function(e){h(g(n.prototype),"next",this).call(this,this._value=e)}},{key:"value",get:function(){return this.getValue()}}]),n}(R.a),Nt=c("itXk"),Rt=c("SxV6"),Dt=((wt=function e(t){b(this,e),this.location=t,this.mode=this.location.search().mode||p.a.mode}).\u0275fac=function(e){return new(e||wt)(d.Vb(xt.a))},wt.\u0275prov=d.Ib({token:wt,factory:wt.\u0275fac}),wt),Ft=c("jn67"),Pt=c("qZ0a"),Mt=c("05l1"),Lt=Ft.a+"navigation.json",Vt=((St=function(){function e(t,n){b(this,e),this.http=t,this.location=n;var r=this.fetchNavigationInfo();this.navigationViews=this.getNavigationViews(r),this.currentNodes=this.getCurrentNodes(this.navigationViews),this.versionInfo=this.getVersionInfo(r)}return k(e,[{key:"fetchNavigationInfo",value:function(){var e=this.http.get(Lt).pipe(Object(Pt.a)());return e.connect(),e}},{key:"getVersionInfo",value:function(e){var t=e.pipe(Object(M.a)(function(e){return e.__versionInfo}),Object(Pt.a)());return t.connect(),t}},{key:"getNavigationViews",value:function(e){var t=e.pipe(Object(M.a)(function(e){var t=Object.assign({},e);return Object.keys(t).forEach(function(e){"_"===e[0]&&delete t[e]}),t}),Object(Pt.a)());return t.connect(),t}},{key:"getCurrentNodes",value:function(e){var t=this,n=Object(Nt.b)([e.pipe(Object(M.a)(function(e){return t.computeUrlToNavNodesMap(e)})),this.location.currentPath]).pipe(Object(M.a)(function(e){return{navMap:e[0],url:e[1]}}),Object(M.a)(function(e){var t=/^api/.exec(e.url);return t&&(e.url=t[0]),e.navMap.get(e.url)||{"":{view:"",url:e.url,nodes:[]}}}),Object(Mt.a)(1));return n.connect(),n}},{key:"computeUrlToNavNodesMap",value:function(e){var t=this,n=new Map;return Object.keys(e).forEach(function(r){return e[r].forEach(function(e){return t.walkNodes(r,n,e)})}),n}},{key:"ensureHasTooltip",value:function(e){var t=e.title;null==e.tooltip&&t&&(e.tooltip=t+(/[a-zA-Z0-9]$/.test(t)?".":""))}},{key:"walkNodes",value:function(e,t,n){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],s=[n].concat(i(o)),a=n.url;if(this.ensureHasTooltip(n),a){var u=a.replace(/\/$/,"");t.has(u)||t.set(u,{}),t.get(u)[e]={url:a,view:e,nodes:s}}n.children&&n.children.forEach(function(n){return r.walkNodes(e,t,n,s)})}}]),e}()).\u0275fac=function(e){return new(e||St)(d.Vb(y.a),d.Vb(xt.a))},St.\u0275prov=d.Ib({token:St,factory:St.\u0275fac}),St),Ht=c("Faly"),zt=c("to4i"),Bt=c("TNhP");function qt(e,t){1&e&&(d.Rb(0,"mat-icon"),d.Ac(1,"open_in_new"),d.Qb())}function Qt(e,t){if(1&e&&(d.Rb(0,"a",3),d.Rb(1,"span"),d.Ac(2),d.Qb(),d.zc(3,qt,2,0,"mat-icon",0),d.Qb()),2&e){var n=d.cc(2);d.ic("href",n.node.url,d.sc),d.ic("title",n.node.tooltip),d.hc("ngClass",n.classes)("target",n.isExternalUrl(n.node.url)?"_blank":"_self"),d.Ab(2),d.Bc(n.node.title),d.Ab(1),d.hc("ngIf",n.isExternalUrl(n.node.url))}}function Ut(e,t){1&e&&d.Nb(0,"div",4)}function Wt(e,t){if(1&e&&(d.Rb(0,"div"),d.zc(1,Qt,4,6,"a",1),d.zc(2,Ut,1,0,"div",2),d.Qb()),2&e){var n=d.cc();d.Ab(1),d.hc("ngIf",!n.node.divider),d.Ab(1),d.hc("ngIf",n.node.divider)}}function Kt(e,t){if(1&e){var n=d.Sb();d.Rb(0,"a",9),d.Yb("click",function(){return d.qc(n),d.cc(2).headerClicked()}),d.Rb(1,"span"),d.Ac(2),d.Qb(),d.Nb(3,"mat-icon",10),d.Qb()}if(2&e){var r=d.cc(2);d.ic("href",r.node.url,d.sc),d.ic("title",r.node.tooltip),d.hc("ngClass",r.classes),d.Ab(2),d.Bc(r.node.title)}}function Zt(e,t){if(1&e){var n=d.Sb();d.Rb(0,"button",11),d.Yb("click",function(){return d.qc(n),d.cc(2).headerClicked()}),d.Rb(1,"span"),d.Ac(2),d.Qb(),d.Nb(3,"mat-icon",10),d.Qb()}if(2&e){var r=d.cc(2);d.ic("title",r.node.tooltip),d.hc("ngClass",r.classes),d.Bb("aria-pressed",r.isExpanded),d.Ab(2),d.Bc(r.node.title)}}function Gt(e,t){if(1&e&&d.Nb(0,"aio-nav-item",12),2&e){var n=t.$implicit,r=d.cc(2);d.hc("level",r.level+1)("isWide",r.isWide)("isParentExpanded",r.isExpanded)("node",n)("selectedNodes",r.selectedNodes)}}function Xt(e,t){if(1&e&&(d.Rb(0,"div"),d.zc(1,Kt,4,4,"a",5),d.zc(2,Zt,4,4,"button",6),d.Rb(3,"div",7),d.zc(4,Gt,1,5,"aio-nav-item",8),d.Qb(),d.Qb()),2&e){var n=d.cc();d.Ab(1),d.hc("ngIf",!!n.node.url),d.Ab(1),d.hc("ngIf",!n.node.url),d.Ab(1),d.hc("ngClass",n.classes),d.Ab(1),d.hc("ngForOf",n.nodeChildren)}}var Yt,Jt=((Yt=function(){function t(){b(this,t),this.isWide=!1,this.level=1,this.isParentExpanded=!0,this.isExpanded=!1,this.isSelected=!1}return k(t,[{key:"ngOnChanges",value:function(){if(this.nodeChildren=this.node&&this.node.children?this.node.children.filter(function(e){return!e.hidden}):[],this.selectedNodes){var e=this.selectedNodes.indexOf(this.node);this.isSelected=-1!==e,this.isExpanded=this.isParentExpanded&&(this.isSelected||this.isWide&&this.isExpanded)}else this.isSelected=!1;this.setClasses()}},{key:"setClasses",value:function(){var t;this.classes=(e(t={},"level-"+this.level,!0),e(t,"collapsed",!this.isExpanded),e(t,"expanded",this.isExpanded),e(t,"selected",this.isSelected),t)}},{key:"headerClicked",value:function(){this.isExpanded=!this.isExpanded,this.setClasses()}},{key:"isExternalUrl",value:function(e){return/^https?:/.test(e)}}]),t}()).\u0275fac=function(e){return new(e||Yt)},Yt.\u0275cmp=d.Gb({type:Yt,selectors:[["aio-nav-item"]],inputs:{isWide:"isWide",level:"level",node:"node",isParentExpanded:"isParentExpanded",selectedNodes:"selectedNodes"},features:[d.yb],decls:2,vars:2,consts:[[4,"ngIf"],["class","vertical-menu-item","style","position: relative",3,"href","ngClass","title","target",4,"ngIf"],["class","mat-divider","style","margin: 4px 20px; border-top: 1px solid lightgray",4,"ngIf"],[1,"vertical-menu-item",2,"position","relative",3,"href","ngClass","title","target"],[1,"mat-divider",2,"margin","4px 20px","border-top","1px solid lightgray"],["class","vertical-menu-item heading",3,"href","ngClass","title","click",4,"ngIf"],["type","button","class","vertical-menu-item heading",3,"ngClass","title","click",4,"ngIf"],[1,"heading-children",3,"ngClass"],[3,"level","isWide","isParentExpanded","node","selectedNodes",4,"ngFor","ngForOf"],[1,"vertical-menu-item","heading",3,"href","ngClass","title","click"],["svgIcon","keyboard_arrow_right",1,"rotating-icon"],["type","button",1,"vertical-menu-item","heading",3,"ngClass","title","click"],[3,"level","isWide","isParentExpanded","node","selectedNodes"]],template:function(e,t){1&e&&(d.zc(0,Wt,3,2,"div",0),d.zc(1,Xt,5,4,"div",0)),2&e&&(d.hc("ngIf",!t.node.children),d.Ab(1),d.hc("ngIf",t.node.children))},directives:[w.k,w.i,ce.a,w.j,Yt],encapsulation:2}),Yt);function $t(e,t){if(1&e&&d.Nb(0,"aio-nav-item",1),2&e){var n=t.$implicit,r=d.cc();d.hc("node",n)("selectedNodes",null==r.currentNode?null:r.currentNode.nodes)("isWide",r.isWide)}}var en,tn=((en=function(){function e(){b(this,e),this.isWide=!1}return k(e,[{key:"filteredNodes",get:function(){return this.nodes?this.nodes.filter(function(e){return!e.hidden}):[]}}]),e}()).\u0275fac=function(e){return new(e||en)},en.\u0275cmp=d.Gb({type:en,selectors:[["aio-nav-menu"]],inputs:{currentNode:"currentNode",isWide:"isWide",nodes:"nodes"},decls:1,vars:1,consts:[[3,"node","selectedNodes","isWide",4,"ngFor","ngForOf"],[3,"node","selectedNodes","isWide"]],template:function(e,t){1&e&&d.zc(0,$t,1,3,"aio-nav-item",0),2&e&&d.hc("ngForOf",t.filteredNodes)},directives:[w.j,Jt],encapsulation:2}),en),nn=c("x4lQ");function rn(e,t){if(1&e&&(d.Rb(0,"div",1),d.Rb(1,"p"),d.Ac(2,"This is the "),d.Rb(3,"strong"),d.Ac(4),d.Qb(),d.Ac(5," Please visit "),d.Rb(6,"a",2),d.Ac(7,"angular.io"),d.Qb(),d.Ac(8," to see documentation for the current version of Angular."),d.Qb(),d.Qb()),2&e){var n=d.cc();d.Ab(4),d.Cc("archived documentation for Angular v",null==n.version?null:n.version.major,".")}}var on,sn=((on=function e(){b(this,e)}).\u0275fac=function(e){return new(e||on)},on.\u0275cmp=d.Gb({type:on,selectors:[["aio-mode-banner"]],inputs:{mode:"mode",version:"version"},decls:1,vars:1,consts:[["class","mode-banner alert archive-warning",4,"ngIf"],[1,"mode-banner","alert","archive-warning"],["href","https://angular.cn/"]],template:function(e,t){1&e&&d.zc(0,rn,9,1,"div",0),2&e&&d.hc("ngIf","archive"==t.mode)},directives:[w.k],encapsulation:2}),on),an=c("7Hc7"),un=c("PqYM"),cn=c("pxpQ"),ln=c("JIr8"),hn=c("vHPH"),fn=[{selector:"aio-announcement-bar",loadChildren:function(){return c.e(2).then(c.bind(null,"5UAH")).then(function(e){return e.AnnouncementBarModule})}},{selector:"aio-api-list",loadChildren:function(){return c.e(3).then(c.bind(null,"dth9")).then(function(e){return e.ApiListModule})}},{selector:"aio-contributor-list",loadChildren:function(){return c.e(7).then(c.bind(null,"fPy6")).then(function(e){return e.ContributorListModule})}},{selector:"aio-file-not-found-search",loadChildren:function(){return c.e(14).then(c.bind(null,"Afo1")).then(function(e){return e.FileNotFoundSearchModule})}},{selector:"aio-resource-list",loadChildren:function(){return c.e(13).then(c.bind(null,"6U+v")).then(function(e){return e.ResourceListModule})}},{selector:"aio-toc",loadChildren:function(){return c.e(16).then(c.bind(null,"+1zh")).then(function(e){return e.TocModule})}},{selector:"code-example",loadChildren:function(){return Promise.all([c.e(1),c.e(5)]).then(c.bind(null,"DzVX")).then(function(e){return e.CodeExampleModule})}},{selector:"code-tabs",loadChildren:function(){return Promise.all([c.e(1),c.e(6)]).then(c.bind(null,"g5Zp")).then(function(e){return e.CodeTabsModule})}},{selector:"live-example",loadChildren:function(){return c.e(9).then(c.bind(null,"m7ka")).then(function(e){return e.LiveExampleModule})}},{selector:"aio-events",loadChildren:function(){return c.e(8).then(c.bind(null,"tpRh")).then(function(e){return e.EventsModule})}}],dn=new d.q("aio/elements-map"),vn=new Map;fn.forEach(function(e){vn.set(e.selector,e.loadChildren)});var pn,mn=c("jtHE"),yn={schedule:function(e,t){var n=setTimeout(e,t);return function(){return clearTimeout(n)}},scheduleBeforeRender:function(e){if("undefined"==typeof window)return yn.schedule(e,0);if(void 0===window.requestAnimationFrame)return yn.schedule(e,16);var t=window.requestAnimationFrame(e);return function(){return window.cancelAnimationFrame(t)}}};function gn(e,t,n){var r=n;return function(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&t.some(function(t,n){return!("*"===t||!function(e,t){if(!pn){var n=Element.prototype;pn=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE&&pn.call(e,t)}(e,t)||(r=n,0))}),r}var bn=function(){function e(t,n){b(this,e),this.componentFactory=n.get(d.j).resolveComponentFactory(t)}return k(e,[{key:"create",value:function(e){return new _n(this.componentFactory,e)}}]),e}(),_n=function(){function e(t,n){b(this,e),this.componentFactory=t,this.injector=n,this.eventEmitters=new mn.a(1),this.events=this.eventEmitters.pipe(Object(V.a)(function(e){return Object(P.a).apply(void 0,i(e))})),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(function(e){return e.propName})),this.ngZone=this.injector.get(d.z),this.elementZone="undefined"==typeof Zone?null:this.ngZone.run(function(){return Zone.current})}return k(e,[{key:"connect",value:function(e){var t=this;this.runInZone(function(){if(null!==t.scheduledDestroyFn)return t.scheduledDestroyFn(),void(t.scheduledDestroyFn=null);null===t.componentRef&&t.initializeComponent(e)})}},{key:"disconnect",value:function(){var e=this;this.runInZone(function(){null!==e.componentRef&&null===e.scheduledDestroyFn&&(e.scheduledDestroyFn=yn.schedule(function(){null!==e.componentRef&&(e.componentRef.destroy(),e.componentRef=null,e.viewChangeDetectorRef=null)},10))})}},{key:"getInputValue",value:function(e){var t=this;return this.runInZone(function(){return null===t.componentRef?t.initialInputValues.get(e):t.componentRef.instance[e]})}},{key:"setInputValue",value:function(e,t){var n=this;this.runInZone(function(){var r,i;null!==n.componentRef?((r=t)!==(i=n.getInputValue(e))&&(r==r||i==i)||void 0===t&&n.unchangedInputs.has(e))&&(n.recordInputChange(e,t),n.unchangedInputs.delete(e),n.hasInputChanges=!0,n.componentRef.instance[e]=t,n.scheduleDetectChanges()):n.initialInputValues.set(e,t)})}},{key:"initializeComponent",value:function(e){var t=d.r.create({providers:[],parent:this.injector}),n=function(e,t){var n=e.childNodes,r=t.map(function(){return[]}),i=-1;t.some(function(e,t){return"*"===e&&(i=t,!0)});for(var o=0,s=n.length;o<s;++o){var a=n[o],u=gn(a,t,i);-1!==u&&r[u].push(a)}return r}(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,n,e),this.viewChangeDetectorRef=this.componentRef.injector.get(d.h),this.implementsOnChanges="function"==typeof this.componentRef.instance.ngOnChanges,this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(d.g).attachView(this.componentRef.hostView)}},{key:"initializeInputs",value:function(){var e=this;this.componentFactory.inputs.forEach(function(t){var n=t.propName;e.initialInputValues.has(n)&&e.setInputValue(n,e.initialInputValues.get(n))}),this.initialInputValues.clear()}},{key:"initializeOutputs",value:function(e){var t=this.componentFactory.outputs.map(function(t){var n=t.propName,r=t.templateName;return e.instance[n].pipe(Object(M.a)(function(e){return{name:r,value:e}}))});this.eventEmitters.next(t)}},{key:"callNgOnChanges",value:function(e){if(this.implementsOnChanges&&null!==this.inputChanges){var t=this.inputChanges;this.inputChanges=null,e.instance.ngOnChanges(t)}}},{key:"markViewForCheck",value:function(e){this.hasInputChanges&&(this.hasInputChanges=!1,e.markForCheck())}},{key:"scheduleDetectChanges",value:function(){var e=this;this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=yn.scheduleBeforeRender(function(){e.scheduledChangeDetectionFn=null,e.detectChanges()}))}},{key:"recordInputChange",value:function(e,t){if(this.implementsOnChanges){null===this.inputChanges&&(this.inputChanges={});var n=this.inputChanges[e];if(n)n.currentValue=t;else{var r=this.unchangedInputs.has(e),i=r?void 0:this.getInputValue(e);this.inputChanges[e]=new d.J(i,t,r)}}}},{key:"detectChanges",value:function(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}},{key:"runInZone",value:function(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}}]),e}(),kn=function(e){f(n,e);var t=v(n);function n(){var e;return b(this,n),(e=t.apply(this,arguments)).ngElementEventsSubscription=null,e}return n}(t(HTMLElement));new d.P("11.0.0");var wn,Sn,En=((wn=function(){function e(t,n,r){b(this,e),this.moduleRef=t,this.compiler=r,this.elementsLoading=new Map,this.elementsToLoad=new Map(n)}return k(e,[{key:"loadContainedCustomElements",value:function(e){var t=this,n=Array.from(this.elementsToLoad.keys()).filter(function(t){return e.querySelector(t)});if(!n.length)return Object(j.a)(void 0);var r=Promise.all(n.map(function(e){return t.loadCustomElement(e)}));return Object(E.a)(r.then(function(){}))}},{key:"loadCustomElement",value:function(e){var t=this;if(this.elementsLoading.has(e))return this.elementsLoading.get(e);if(this.elementsToLoad.has(e)){var n=this.elementsToLoad.get(e)().then(function(e){return e instanceof d.v?e:t.compiler.compileModuleAsync(e)}).then(function(n){var r,i,o,s,a,u,c=n.create(t.moduleRef.injector),l=(r=c.instance.customElementComponent,i={injector:c.injector},o=function(e,t){return t.get(d.j).resolveComponentFactory(e).inputs}(r,i.injector),s=i.strategyFactory||new bn(r,i.injector),a=function(e){var t={};return e.forEach(function(e){var n,r=e.propName,i=e.templateName;t[(n=i,n.replace(/[A-Z]/g,function(e){return"-"+e.toLowerCase()}))]=r}),t}(o),(u=function(e){f(n,e);var t=v(n);function n(e){var r;return b(this,n),(r=t.call(this)).injector=e,r}return k(n,[{key:"attributeChangedCallback",value:function(e,t,n,r){this.ngElementStrategy.setInputValue(a[e],n)}},{key:"connectedCallback",value:function(){var e=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),e=!0),this.ngElementStrategy.connect(this),e||this.subscribeToEvents()}},{key:"disconnectedCallback",value:function(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}},{key:"subscribeToEvents",value:function(){var e=this;this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(function(t){var n=function(e,t,n){if("function"!=typeof CustomEvent){var r=e.createEvent("CustomEvent");return r.initCustomEvent(t,!1,!1,n),r}return new CustomEvent(t,{bubbles:!1,cancelable:!1,detail:n})}(e.ownerDocument,t.name,t.value);e.dispatchEvent(n)})}},{key:"ngElementStrategy",get:function(){var e=this;if(!this._ngElementStrategy){var t=this._ngElementStrategy=s.create(this.injector||i.injector);o.forEach(function(n){var r=n.propName;if(e.hasOwnProperty(r)){var i=e[r];delete e[r],t.setInputValue(r,i)}})}return this._ngElementStrategy}}]),n}(kn)).observedAttributes=Object.keys(a),o.forEach(function(e){var t=e.propName;Object.defineProperty(u.prototype,t,{get:function(){return this.ngElementStrategy.getInputValue(t)},set:function(e){this.ngElementStrategy.setInputValue(t,e)},configurable:!0,enumerable:!0})}),u);return customElements.define(e,l),customElements.whenDefined(e)}).then(function(){t.elementsLoading.delete(e),t.elementsToLoad.delete(e)}).catch(function(n){return t.elementsLoading.delete(e),Promise.reject(n)});return this.elementsLoading.set(e,n),n}return Promise.resolve()}}]),e}()).\u0275fac=function(e){return new(e||wn)(d.Vb(d.x),d.Vb(dn),d.Vb(d.i))},wn.\u0275prov=d.Ib({token:wn,factory:wn.\u0275fac}),wn),Cn=document.querySelector("aio-doc-viewer"),On=Cn?Cn.innerHTML:"",xn=((Sn=function(){function e(t,n,r,i,o){var s=this;b(this,e),this.logger=n,this.titleService=r,this.tocService=i,this.elementsLoader=o,this.void$=Object(j.a)(void 0),this.onDestroy$=new d.n,this.docContents$=new d.n,this.currViewContainer=document.createElement("div"),this.nextViewContainer=document.createElement("div"),this.docReady=new d.n,this.docRemoved=new d.n,this.docInserted=new d.n,this.docRendered=new d.n,this.hostElement=t.nativeElement,this.hostElement.innerHTML=On,this.hostElement.firstElementChild&&(this.currViewContainer=this.hostElement.firstElementChild),this.docContents$.pipe(Object(cn.b)(an.a),Object(V.a)(function(e){return s.render(e)}),Object(xe.a)(this.onDestroy$)).subscribe()}return k(e,[{key:"ngOnDestroy",value:function(){this.onDestroy$.emit()}},{key:"prepareTitleAndToc",value:function(e,t){var n=this,r=e.querySelector("h1"),i=!!r&&!/no-?toc/i.test(r.className),o=e.querySelector("aio-toc.embedded");return i&&!o?r.insertAdjacentHTML("afterend",'<aio-toc class="embedded"></aio-toc>'):!i&&o&&null!==o.parentNode&&o.parentNode.removeChild(o),function(){n.tocService.reset();var o="";r&&(o="string"==typeof r.innerText?r.innerText:r.textContent,i&&n.tocService.genToc(e,t)),n.titleService.setTitle(o?"Angular - "+o:"Angular")}}},{key:"render",value:function(e){var t,n=this;return this.setNoIndex(e.id===Ft.e||e.id===Ft.d),this.void$.pipe(Object(B.a)(function(){return n.nextViewContainer.innerHTML=e.contents||""}),Object(B.a)(function(){return t=n.prepareTitleAndToc(n.nextViewContainer,e.id)}),Object(V.a)(function(){return n.elementsLoader.loadContainedCustomElements(n.nextViewContainer)}),Object(B.a)(function(){return n.docReady.emit()}),Object(V.a)(function(){return n.swapViews(t)}),Object(B.a)(function(){return n.docRendered.emit()}),Object(ln.a)(function(t){var r=t instanceof Error?t.stack:t;return n.logger.error(new Error("[DocViewer] Error preparing document '".concat(e.id,"': ").concat(r))),n.nextViewContainer.innerHTML="",n.setNoIndex(!0),n.void$}))}},{key:"setNoIndex",value:function(e){console.log("no index: ",e)}},{key:"swapViews",value:function(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){},r=new S.a(function(e){var t=requestAnimationFrame(function(){e.next(),e.complete()});return function(){return cancelAnimationFrame(t)}}),i=function(n,i,o,s){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:200,u=!e.animationsEnabled||t.hostElement.classList.contains("no-animations");return n.style.transition="",u?t.void$.pipe(Object(B.a)(function(){return n.style[i]=s})):t.void$.pipe(Object(V.a)(function(){return r}),Object(B.a)(function(){return n.style[i]=o}),Object(V.a)(function(){return r}),Object(B.a)(function(){return n.style.transition="all ".concat(a,"ms ease-in-out")}),Object(V.a)(function(){return r}),Object(B.a)(function(){return n.style[i]=s}),Object(V.a)(function(){return Object(un.a)(function(e){var t=getComputedStyle(e).transitionDuration||"";return 1e3*Number(t.replace(/s$/,""))}(n))}),Object(V.a)(function(){return t.void$}))},o=this.void$;return this.currViewContainer.parentElement&&(o=o.pipe(Object(V.a)(function(){return i(t.currViewContainer,"opacity","1","0.1")}),Object(B.a)(function(){return t.currViewContainer.parentElement.removeChild(t.currViewContainer)}),Object(B.a)(function(){return t.docRemoved.emit()}))),o.pipe(Object(B.a)(function(){return t.hostElement.appendChild(t.nextViewContainer)}),Object(B.a)(function(){return n()}),Object(B.a)(function(){return t.docInserted.emit()}),Object(V.a)(function(){return i(t.nextViewContainer,"opacity","0.1","1")}),Object(B.a)(function(){var e=t.currViewContainer;t.currViewContainer=t.nextViewContainer,t.nextViewContainer=e,t.nextViewContainer.innerHTML=""}))}},{key:"toggleTranslationOrigin",value:function(e){var t=function(e){for(;e&&!e.hasAttribute("translation-result");)e=e.parentElement;return e}(e.target);if(t&&t.hasAttribute("translation-result")){var n=t.nextElementSibling;if(!n||n.hasAttribute("translation-result")||n.tagName!==t.tagName)return;"on"===n.getAttribute("translation-origin")?n.setAttribute("translation-origin","off"):n.setAttribute("translation-origin","on")}}},{key:"doc",set:function(e){e&&this.docContents$.emit(e)}}]),e}()).animationsEnabled=!0,Sn.\u0275fac=function(e){return new(e||Sn)(d.Mb(d.l),d.Mb(hn.a),d.Mb(m.c),d.Mb(Bt.a),d.Mb(En))},Sn.\u0275cmp=d.Gb({type:Sn,selectors:[["aio-doc-viewer"]],hostBindings:function(e,t){1&e&&d.Yb("click",function(e){return t.toggleTranslationOrigin(e)})},inputs:{doc:"doc"},outputs:{docReady:"docReady",docRemoved:"docRemoved",docInserted:"docInserted",docRendered:"docRendered"},decls:0,vars:0,template:function(e,t){},encapsulation:2}),Sn);function Tn(e,t){if(1&e&&(d.Rb(0,"li"),d.Rb(1,"a",6),d.Ac(2),d.Qb(),d.Qb()),2&e){var n=t.$implicit;d.Ab(1),d.hc("href",n.url,d.sc)("title",n.tooltip||n.title),d.Ab(1),d.Bc(n.title)}}function In(e,t){if(1&e&&(d.Rb(0,"div",4),d.Rb(1,"h3"),d.Ac(2),d.Qb(),d.Rb(3,"ul"),d.zc(4,Tn,3,3,"li",5),d.Qb(),d.Qb()),2&e){var n=t.$implicit;d.Ab(2),d.Bc(n.title),d.Ab(2),d.hc("ngForOf",n.children)}}var An,jn=((An=function e(){b(this,e)}).\u0275fac=function(e){return new(e||An)},An.\u0275cmp=d.Gb({type:An,selectors:[["aio-footer"]],inputs:{nodes:"nodes",versionInfo:"versionInfo"},decls:12,vars:2,consts:[[1,"grid-fluid"],["class","footer-block",4,"ngFor","ngForOf"],["href","license","title","License text"],["href","https://creativecommons.org/licenses/by/4.0/"],[1,"footer-block"],[4,"ngFor","ngForOf"],[1,"link",3,"href","title"]],template:function(e,t){1&e&&(d.Rb(0,"div",0),d.zc(1,In,5,2,"div",1),d.Qb(),d.Rb(2,"p"),d.Ac(3," Super-powered by Google \xa92010-2020. \u4ee3\u7801\u6388\u6743\u65b9\u5f0f\uff1a"),d.Rb(4,"a",2),d.Ac(5,"MIT-style License"),d.Qb(),d.Ac(6,". \u6587\u6863\u6388\u6743\u65b9\u5f0f\uff1a"),d.Rb(7,"a",3),d.Ac(8,"CC BY 4.0"),d.Qb(),d.Ac(9,".\n"),d.Qb(),d.Rb(10,"p"),d.Ac(11),d.Qb()),2&e&&(d.Ab(1),d.hc("ngForOf",t.nodes),d.Ab(10),d.Cc(" \u5f53\u524d\u7248\u672c\uff1a",null==t.versionInfo?null:t.versionInfo.full,".\n"))},directives:[w.j],encapsulation:2}),An),Nn=function(e){return{selected:e}};function Rn(e,t){if(1&e&&(d.Rb(0,"li",2),d.Rb(1,"a",3),d.Rb(2,"span",4),d.Ac(3),d.Qb(),d.Qb(),d.Qb()),2&e){var n=t.$implicit,r=d.cc();d.hc("ngClass",d.kc(7,Nn,n.url===r.currentUrl)),d.Ab(1),d.Eb("highlight",n.highlight),d.hc("href",n.url,d.sc)("title",n.tooltip||n.title)("target",n.external?"_blank":"_self"),d.Ab(2),d.Bc(n.title)}}var Dn,Fn,Pn,Mn=((Dn=function(){function e(){b(this,e)}return k(e,[{key:"currentUrl",get:function(){return this.currentNode?this.currentNode.url:null}}]),e}()).\u0275fac=function(e){return new(e||Dn)},Dn.\u0275cmp=d.Gb({type:Dn,selectors:[["aio-top-menu"]],inputs:{nodes:"nodes",currentNode:"currentNode"},decls:2,vars:1,consts:[["role","navigation"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],[1,"nav-link",3,"href","title","target"],[1,"nav-link-inner"]],template:function(e,t){1&e&&(d.Rb(0,"ul",0),d.zc(1,Rn,4,9,"li",1),d.Qb()),2&e&&(d.Ab(1),d.hc("ngForOf",t.nodes))},directives:[w.j,w.i],styles:[".nav-link.highlight[_ngcontent-%COMP%] {\n      color: yellow;\n    }"]}),Dn),Ln=c("LwjS"),Vn=["dt"],Hn=((Pn=function(){function e(){b(this,e),this.docChange=new d.n}return k(e,[{key:"dtextSet",value:function(){this.doc.contents=this.dt.nativeElement.value,this.docChange.emit(Object.assign({},this.doc))}},{key:"text",get:function(){return this.doc&&this.doc.contents}}]),e}()).\u0275fac=function(e){return new(e||Pn)},Pn.\u0275cmp=d.Gb({type:Pn,selectors:[["aio-dt"]],viewQuery:function(e,t){var n;1&e&&d.vc(Vn,!0,d.l),2&e&&d.mc(n=d.Zb())&&(t.dt=n.first)},inputs:{doc:"doc"},outputs:{docChange:"docChange"},decls:7,vars:1,consts:[["rows","10","cols","80",3,"value"],["dt",""],[3,"click"]],template:function(e,t){1&e&&(d.Rb(0,"div"),d.Nb(1,"hr"),d.Nb(2,"textarea",0,1),d.Nb(4,"br"),d.Rb(5,"button",2),d.Yb("click",function(){return t.dtextSet()}),d.Ac(6,"Show change"),d.Qb(),d.Qb()),2&e&&(d.Ab(2),d.hc("value",t.text))},encapsulation:2}),Pn),zn=((Fn=function(){function e(t,n,r){b(this,e),this.elementRef=t,this.elementsLoader=n,this.logger=r,this.selector=""}return k(e,[{key:"ngOnInit",value:function(){this.selector&&!/[^\w-]/.test(this.selector)?(this.elementRef.nativeElement.innerHTML="<".concat(this.selector,"></").concat(this.selector,">"),this.elementsLoader.loadCustomElement(this.selector)):this.logger.error(new Error("Invalid selector for 'aio-lazy-ce': "+this.selector))}}]),e}()).\u0275fac=function(e){return new(e||Fn)(d.Mb(d.l),d.Mb(En),d.Mb(hn.a))},Fn.\u0275cmp=d.Gb({type:Fn,selectors:[["aio-lazy-ce"]],inputs:{selector:"selector"},decls:0,vars:0,template:function(e,t){},encapsulation:2}),Fn),Bn=["searchBox","searchResultsView"];function qn(e,t){1&e&&(d.Rb(0,"div",38),d.Nb(1,"mat-progress-bar",39),d.Qb())}function Qn(e,t){1&e&&d.Nb(0,"img",40)}function Un(e,t){1&e&&d.Nb(0,"img",41)}function Wn(e,t){if(1&e&&d.Nb(0,"aio-top-menu",42),2&e){var n=d.cc();d.hc("nodes",n.topMenuNodes)("currentNode",null==n.currentNodes?null:n.currentNodes.TopBar)}}function Kn(e,t){if(1&e){var n=d.Sb();d.Rb(0,"aio-search-results",43,44),d.Yb("resultSelected",function(){return d.qc(n),d.cc().hideSearchResults()}),d.dc(2,"async"),d.Qb()}if(2&e){var r=d.cc();d.hc("searchResults",d.ec(2,1,r.searchResults))}}function Zn(e,t){if(1&e&&d.Nb(0,"aio-nav-menu",27),2&e){var n=d.cc();d.hc("nodes",n.topMenuNarrowNodes)("currentNode",null==n.currentNodes?null:n.currentNodes.TopBarNarrow)("isWide",!1)}}function Gn(e,t){if(1&e){var n=d.Sb();d.Rb(0,"aio-dt",45),d.Yb("docChange",function(e){return d.qc(n),d.cc().currentDocument=e}),d.Qb()}if(2&e){var r=d.cc();d.hc("doc",r.currentDocument)}}function Xn(e,t){if(1&e){var n=d.Sb();d.Rb(0,"div",46),d.Yb("wheel",function(e){return d.qc(n),d.cc().restrainScrolling(e)}),d.Nb(1,"aio-lazy-ce",47),d.Qb()}if(2&e){var r=d.cc();d.wc("max-height",r.tocMaxHeight,"px")}}function Yn(e,t){1&e&&(d.Rb(0,"div",48),d.Rb(1,"mat-icon"),d.Ac(2,"\xa0"),d.Qb(),d.Qb())}var Jn,$n,er,tr=function(e){return{collapsed:e}},nr=((Jn=function(){function e(t,n,r,i,o,s,a,u){b(this,e),this.deployment=t,this.documentService=n,this.hostElement=r,this.locationService=i,this.navigationService=o,this.scrollService=s,this.searchService=a,this.tocService=u,this.currentNodes={},this.dtOn=!1,this.hostClasses="",this.isStarting=!0,this.isTransitioning=!0,this.isFetching=!1,this.showTopMenu=!1,this.dockSideNav=!1,this.hasFloatingToc=!1,this.showSearchResults=!1,this.notificationAnimating=!1,this.isSideNavDoc=!1,this.showFloatingToc=new jt(!1),this.tocMaxHeightOffset=0}return k(e,[{key:"ngOnInit",value:function(){var e=this;"Worker"in window&&this.searchService.initWorker(2e3),this.onResize(window.innerWidth),this.documentService.currentDocument.subscribe(function(t){return e.currentDocument=t}),this.locationService.currentPath.subscribe(function(t){t===e.currentPath?e.scrollService.scroll():(e.currentPath=t,clearTimeout(e.isFetchingTimeout),e.isFetchingTimeout=setTimeout(function(){return e.isFetching=!0},200))}),this.navigationService.currentNodes.subscribe(function(t){e.currentNodes=t,"archive"!==e.deployment.mode||t.SideNav||e.locationService.replace("docs")}),Object(Nt.b)([this.navigationService.versionInfo,this.navigationService.navigationViews.pipe(Object(M.a)(function(e){return e.docVersions}))]).subscribe(function(t){var n=s(t,2),r=n[0],o=n[1],a=[{mode:"next",title:"next \u7248",url:"https://next.angular.io/"},{mode:"rc",title:"rc \u7248",url:"https://rc.angular.io/"},{mode:"stable",title:"\u540c\u6b65\u7ffb\u8bd1\u7248",url:"https://angular.cn/"}];"archive"===e.deployment.mode&&a.push({title:"v"+r.major}),e.docVersions=[].concat(a,i(o)),e.currentDocVersion=e.docVersions.find(function(t){return t.mode===e.deployment.mode||t.title==="v"+r.major}),e.currentDocVersion.title+=" (v".concat(r.raw,")")}),this.navigationService.navigationViews.subscribe(function(t){e.footerNodes=t.Footer||[],e.sideNavNodes=t.SideNav||[],e.topMenuNodes=t.TopBar||[],e.topMenuNarrowNodes=t.TopBarNarrow||e.topMenuNodes}),this.navigationService.versionInfo.subscribe(function(t){return e.versionInfo=t});var t=this.tocService.tocList.pipe(Object(M.a)(function(e){return e.length>0}));Object(Nt.b)([t,this.showFloatingToc]).subscribe(function(t){var n=s(t,2),r=n[0],i=n[1];return e.hasFloatingToc=r&&i}),Object(Nt.b)([this.documentService.currentDocument,this.navigationService.currentNodes]).pipe(Object(Rt.a)()).subscribe(function(){return e.updateShell()}),this.locationService.currentUrl.subscribe(function(t){return e.currentUrl=t})}},{key:"onDocReady",value:function(){var e=this;this.isTransitioning=!0,clearTimeout(this.isFetchingTimeout),setTimeout(function(){return e.isFetching=!1},500)}},{key:"onDocRemoved",value:function(){this.scrollService.removeStoredScrollInfo()}},{key:"onDocInserted",value:function(){var e=this;setTimeout(function(){return e.updateShell()}),this.scrollService.scrollAfterRender(500)}},{key:"onDocRendered",value:function(){var e=this;this.isStarting&&setTimeout(function(){return e.isStarting=!1},100),this.isTransitioning=!1}},{key:"onDocVersionChange",value:function(e){var t=this.docVersions[e];if(t.url){var n=t.url+(t.url.endsWith("/")?"":"/");this.locationService.go("".concat(n).concat(this.currentUrl))}}},{key:"onResize",value:function(e){this.showTopMenu=e>=1048,this.dockSideNav=e>=992,this.showFloatingToc.next(e>800),this.showTopMenu&&!this.isSideNavDoc&&this.sidenav.toggle(!1)}},{key:"onClick",value:function(e,t,n,r,i){if(this.searchElements.some(function(t){return t.nativeElement.contains(e)})||this.hideSearchResults(),"FOOTER"===e.tagName&&r&&i)return this.dtOn=!this.dtOn,!1;for(var o=e;o&&!(o instanceof HTMLAnchorElement);)o=o.parentElement;return!(o instanceof HTMLAnchorElement)||this.locationService.handleAnchorClick(o,t,n,r)}},{key:"setPageId",value:function(e){this.pageId="index"===e?"home":e.replace("/","-")}},{key:"setFolderId",value:function(e){this.folderId="index"===e?"home":e.split("/",1)[0]}},{key:"notificationDismissed",value:function(){var e=this;this.notificationAnimating=!0,setTimeout(function(){return e.notificationAnimating=!1},250),this.updateHostClasses()}},{key:"updateHostClasses",value:function(){var e="mode-"+this.deployment.mode,t="sidenav-"+(this.sidenav.opened?"open":"closed"),n="page-"+this.pageId,r="folder-"+this.folderId,i=Object.keys(this.currentNodes).map(function(e){return"view-"+e}).join(" ");this.hostClasses=[e,t,n,r,i,"aio-notification-"+this.notification.showNotification,this.notificationAnimating?"aio-notification-animating":""].join(" ")}},{key:"updateShell",value:function(){this.updateSideNav(),this.setPageId(this.currentDocument.id),this.setFolderId(this.currentDocument.id),this.updateHostClasses()}},{key:"updateSideNav",value:function(){var e=this.sidenav.opened,t=!!this.currentNodes.SideNav;this.isSideNavDoc!==t&&(e=this.isSideNavDoc=t),this.sidenav.toggle(this.dockSideNav&&e)}},{key:"onScroll",value:function(){if(!this.tocMaxHeightOffset){var e=this.hostElement.nativeElement,t=e.querySelector(".app-toolbar"),n=e.querySelector("footer");t&&n&&(this.tocMaxHeightOffset=t.clientHeight+n.clientHeight+24)}this.tocMaxHeight=(document.body.scrollHeight-window.pageYOffset-this.tocMaxHeightOffset).toFixed(2)}},{key:"restrainScrolling",value:function(e){var t=e.currentTarget,n=t.scrollTop;e.deltaY<0?n<1&&e.preventDefault():t.scrollHeight-t.clientHeight-n<1&&e.preventDefault()}},{key:"hideSearchResults",value:function(){this.showSearchResults=!1;var e=this.locationService.search();void 0!==e.search&&this.locationService.setSearch("",Object.assign(Object.assign({},e),{search:void 0}))}},{key:"focusSearchBox",value:function(){this.searchBox&&this.searchBox.focus()}},{key:"doSearch",value:function(e){this.searchResults=this.searchService.search(e),this.showSearchResults=!!e}},{key:"onKeyUp",value:function(e,t){"/"!==e&&191!==t||this.focusSearchBox(),"Escape"!==e&&27!==t||this.showSearchResults&&(this.hideSearchResults(),this.focusSearchBox())}},{key:"isOpened",get:function(){return this.dockSideNav&&this.isSideNavDoc}},{key:"mode",get:function(){return this.dockSideNav&&(this.isSideNavDoc||this.showTopMenu)?"side":"over"}}]),e}()).\u0275fac=function(e){return new(e||Jn)(d.Mb(Dt),d.Mb(Ft.c),d.Mb(d.l),d.Mb(xt.a),d.Mb(Vt),d.Mb(Ht.a),d.Mb(zt.a),d.Mb(Bt.a))},Jn.\u0275cmp=d.Gb({type:Jn,selectors:[["aio-shell"]],viewQuery:function(e,t){var n;1&e&&(d.vc(It,!0),d.vc(at,!0),d.vc(Ot,!0),d.Ec(Bn,!0,d.l)),2&e&&(d.mc(n=d.Zb())&&(t.searchBox=n.first),d.mc(n=d.Zb())&&(t.sidenav=n.first),d.mc(n=d.Zb())&&(t.notification=n.first),d.mc(n=d.Zb())&&(t.searchElements=n))},hostVars:3,hostBindings:function(e,t){1&e&&d.Yb("resize",function(e){return t.onResize(e.target.innerWidth)},!1,d.pc)("click",function(e){return t.onClick(e.target,e.button,e.ctrlKey,e.metaKey,e.altKey)})("scroll",function(){return t.onScroll()},!1,d.pc)("keyup",function(e){return t.onKeyUp(e.key,e.which)},!1,d.oc),2&e&&(d.yc("@.disabled",t.isStarting),d.Cb(t.hostClasses))},decls:43,vars:36,consts:[["id","top-of-page"],["class","progress-bar-container",4,"ngIf"],["color","primary",1,"app-toolbar","no-print"],[1,"notification-container"],["notificationId","survey-march-2020","expirationDate","2020-04-15",3,"dismissOnContentClick","dismissed"],["href","https://goo.gle/angular-survey-2020","target","_blank"],["svgIcon","insert_comment","aria-label","Announcement",1,"icon"],[1,"message"],[1,"action-button"],["mat-button","","title","Docs menu",1,"hamburger",3,"click"],["svgIcon","menu"],["href","/",1,"nav-link","home",3,"ngSwitch"],["src","assets/images/logos/angular/logo-nav@2x.png","width","150","height","40","title","Home","alt","Home",4,"ngSwitchCase"],["src","assets/images/logos/angular/shield-large.svg","width","37","height","40","title","Home","alt","Home",4,"ngSwitchDefault"],[3,"nodes","currentNode",4,"ngIf"],[1,"search-container",3,"onSearch","onFocus"],["searchBox",""],[1,"toolbar-external-icons-container"],["href","https://twitter.com/angular","title","Twitter","aria-label","Angular on twitter"],["svgIcon","logos:twitter"],["href","https://github.com/angular/angular","title","GitHub","aria-label","Angular on github"],["svgIcon","logos:github"],[3,"searchResults","resultSelected",4,"ngIf"],["role","main",1,"sidenav-container"],[1,"sidenav",3,"ngClass","mode","opened","openedChange"],["sidenav",""],[3,"nodes","currentNode","isWide",4,"ngIf"],[3,"nodes","currentNode","isWide"],[1,"doc-version"],[3,"options","selected","change"],["role","main",1,"sidenav-content",3,"id"],[3,"mode","version"],[3,"doc","docReady","docRemoved","docInserted","docRendered"],[3,"doc","docChange",4,"ngIf"],["class","toc-container no-print",3,"max-height","wheel",4,"ngIf"],[1,"no-print"],[3,"nodes","versionInfo"],["class","cdk-visually-hidden",4,"ngIf"],[1,"progress-bar-container"],["mode","indeterminate","color","warn"],["src","assets/images/logos/angular/logo-nav@2x.png","width","150","height","40","title","Home","alt","Home"],["src","assets/images/logos/angular/shield-large.svg","width","37","height","40","title","Home","alt","Home"],[3,"nodes","currentNode"],[3,"searchResults","resultSelected"],["searchResultsView",""],[3,"doc","docChange"],[1,"toc-container","no-print",3,"wheel"],["selector","aio-toc"],[1,"cdk-visually-hidden"]],template:function(e,t){if(1&e){var n=d.Sb();d.Nb(0,"div",0),d.zc(1,qn,2,0,"div",1),d.Rb(2,"mat-toolbar",2),d.Rb(3,"mat-toolbar-row",3),d.Rb(4,"aio-notification",4),d.Yb("dismissed",function(){return t.notificationDismissed()}),d.Rb(5,"a",5),d.Nb(6,"mat-icon",6),d.Rb(7,"span",7),d.Rb(8,"b"),d.Ac(9,"\u586b\u5199\u8fd9\u4efd\u300a\u4e00\u5206\u949f\u8c03\u67e5\u300b"),d.Qb(),d.Ac(10,"\uff0c\u5e2e\u6211\u4eec\uff08\u5f00\u53d1\u7ec4\uff09\u505a\u5f97\u66f4\u597d\uff01"),d.Qb(),d.Rb(11,"span",8),d.Ac(12,"\u53bb\u586b\u5199"),d.Qb(),d.Qb(),d.Qb(),d.Qb(),d.Rb(13,"mat-toolbar-row"),d.Rb(14,"button",9),d.Yb("click",function(){return d.qc(n),d.nc(30).toggle()}),d.Nb(15,"mat-icon",10),d.Qb(),d.Rb(16,"a",11),d.zc(17,Qn,1,0,"img",12),d.zc(18,Un,1,0,"img",13),d.Qb(),d.zc(19,Wn,1,2,"aio-top-menu",14),d.Rb(20,"aio-search-box",15,16),d.Yb("onSearch",function(e){return t.doSearch(e)})("onFocus",function(e){return t.doSearch(e)}),d.Qb(),d.Rb(22,"div",17),d.Rb(23,"a",18),d.Nb(24,"mat-icon",19),d.Qb(),d.Rb(25,"a",20),d.Nb(26,"mat-icon",21),d.Qb(),d.Qb(),d.Qb(),d.Qb(),d.zc(27,Kn,3,3,"aio-search-results",22),d.Rb(28,"mat-sidenav-container",23),d.Rb(29,"mat-sidenav",24,25),d.Yb("openedChange",function(){return t.updateHostClasses()}),d.zc(31,Zn,1,3,"aio-nav-menu",26),d.Nb(32,"aio-nav-menu",27),d.Rb(33,"div",28),d.Rb(34,"aio-select",29),d.Yb("change",function(e){return t.onDocVersionChange(e.index)}),d.Qb(),d.Qb(),d.Qb(),d.Rb(35,"main",30),d.Nb(36,"aio-mode-banner",31),d.Rb(37,"aio-doc-viewer",32),d.Yb("docReady",function(){return t.onDocReady()})("docRemoved",function(){return t.onDocRemoved()})("docInserted",function(){return t.onDocInserted()})("docRendered",function(){return t.onDocRendered()}),d.Qb(),d.zc(38,Gn,1,1,"aio-dt",33),d.Qb(),d.Qb(),d.zc(39,Xn,2,2,"div",34),d.Rb(40,"footer",35),d.Nb(41,"aio-footer",36),d.Qb(),d.zc(42,Yn,3,0,"div",37)}2&e&&(d.Ab(1),d.hc("ngIf",t.isFetching),d.Ab(1),d.Eb("transitioning",t.isTransitioning),d.Ab(2),d.hc("dismissOnContentClick",!0),d.Ab(10),d.Eb("starting",t.isStarting),d.Ab(2),d.hc("ngSwitch",t.showTopMenu),d.Ab(1),d.hc("ngSwitchCase",!0),d.Ab(2),d.hc("ngIf",t.showTopMenu),d.Ab(8),d.hc("ngIf",t.showSearchResults),d.Ab(1),d.Eb("starting",t.isStarting)("has-floating-toc",t.hasFloatingToc),d.Ab(1),d.hc("ngClass",d.kc(34,tr,!t.dockSideNav))("mode",t.mode)("opened",t.isOpened),d.Ab(2),d.hc("ngIf",!t.showTopMenu),d.Ab(1),d.hc("nodes",t.sideNavNodes)("currentNode",null==t.currentNodes?null:t.currentNodes.SideNav)("isWide",t.dockSideNav),d.Ab(2),d.hc("options",t.docVersions)("selected",t.currentDocVersion),d.Ab(1),d.hc("id",t.pageId),d.Ab(1),d.hc("mode",t.deployment.mode)("version",t.versionInfo),d.Ab(1),d.Eb("no-animations",t.isStarting),d.hc("doc",t.currentDocument),d.Ab(1),d.hc("ngIf",t.dtOn),d.Ab(1),d.hc("ngIf",t.hasFloatingToc),d.Ab(2),d.hc("nodes",t.footerNodes)("versionInfo",t.versionInfo),d.Ab(1),d.hc("ngIf",!t.isStarting))},directives:[w.k,mt,pt,Ot,ce.a,ue.a,w.m,w.n,w.o,It,ct,at,w.i,tn,nn.a,sn,xn,jn,ye,Mn,Ln.a,Hn,zn],pipes:[w.b],encapsulation:2}),Jn),rr=new d.q("SvgIcons"),ir=(($n=function(e){f(n,e);var t=v(n);function n(e,r,i,o,s){var a;return b(this,n),(a=t.call(this,e,r,i,o)).svgIcons=s,a.cachedSvgElements={$$default:{}},a}return k(n,[{key:"getNamedSvgIcon",value:function(e,t){var r=this.cachedSvgElements[t||"$$default"],i=r&&r[e];return i||(i=this.loadSvgElement(e,t)),i?Object(j.a)(i.cloneNode(!0)):h(g(n.prototype),"getNamedSvgIcon",this).call(this,e,t)}},{key:"loadSvgElement",value:function(e,t){var n=this.svgIcons.find(function(n){return t?n.name===e&&n.namespace===t:n.name===e});if(n){var r=n.namespace||"$$default",i=this.cachedSvgElements[r]||(this.cachedSvgElements[r]={}),o=document.createElement("DIV");o.innerHTML=n.svgSource;var s=o.querySelector("svg");return i[n.name]=s,s}}}]),n}(ce.c)).\u0275fac=function(e){return new(e||$n)(d.Vb(y.a),d.Vb(m.b),d.Vb(w.d,8),d.Vb(d.m),d.Vb(rr))},$n.\u0275prov=d.Ib({token:$n,factory:$n.\u0275fac}),$n),or=c("4MUX"),sr=((er=function(e){f(n,e);var t=v(n);function n(e){var r;return b(this,n),(r=t.call(this)).window=e,r}return k(n,[{key:"handleError",value:function(e){try{h(g(n.prototype),"handleError",this).call(this,e)}catch(t){this.reportError(t)}this.reportError(e)}},{key:"reportError",value:function(e){this.window.onerror&&("string"==typeof e?this.window.onerror(e):this.window.onerror(e.message,void 0,void 0,void 0,e))}}]),n}(d.m)).\u0275fac=function(e){return new(e||er)(d.Vb(Et.a))},er.\u0275prov=d.Ib({token:er,factory:er.\u0275fac}),er),ar=c("FiGy");c("sVev"),c("0EUg"),c("4I5i"),c("XDbj"),c("xbPD"),c("SpAZ"),c("bOdf"),c("5+tZ"),c("nYR2"),c("bHdf");var ur,cr=new d.q("ROUTES"),lr=((ur=function e(){b(this,e)}).\u0275mod=d.Kb({type:ur}),ur.\u0275inj=d.Jb({factory:function(e){return new(e||ur)},providers:[En,{provide:dn,useValue:vn},{provide:cr,useValue:fn,multi:!0}]}),ur),hr=c("PCNd"),fr=c("Y7HM");function dr(e){var t=e.subscriber,n=e.counter,r=e.period;t.next(n),this.schedule({subscriber:t,counter:n+1,period:r},r)}var vr,pr,mr,yr=((pr=function(){function e(t,n,r,i){var o=this;if(b(this,e),this.logger=r,this.swu=i,this.checkInterval=216e5,this.onDestroy=new R.a,i.isEnabled){var s=t.isStable.pipe(Object(Rt.a)(function(e){return e}));Object(N.a)(s,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:q.a;return(!Object(fr.a)(e)||e<0)&&(e=0),t&&"function"==typeof t.schedule||(t=q.a),new S.a(function(n){return n.add(t.schedule(dr,e,{subscriber:n,counter:0,period:e})),n})}(this.checkInterval)).pipe(Object(B.a)(function(){return o.log("Checking for update...")}),Object(xe.a)(this.onDestroy)).subscribe(function(){return o.swu.checkForUpdate()}),this.swu.available.pipe(Object(B.a)(function(e){return o.log("Update available: "+JSON.stringify(e))}),Object(xe.a)(this.onDestroy)).subscribe(function(){return o.swu.activateUpdate()}),this.swu.activated.pipe(Object(B.a)(function(e){return o.log("Update activated: "+JSON.stringify(e))}),Object(xe.a)(this.onDestroy)).subscribe(function(){return n.fullPageNavigationNeeded()}),this.swu.unrecoverable.pipe(Object(B.a)(function(e){return o.log("Unrecoverable state: ".concat(e.reason,"\nReloading..."))}),Object(xe.a)(this.onDestroy)).subscribe(function(){return n.reloadPage()})}}return k(e,[{key:"ngOnDestroy",value:function(){this.onDestroy.next()}},{key:"log",value:function(e){var t=(new Date).toISOString();this.logger.log("[SwUpdates - ".concat(t,"]: ").concat(e))}}]),e}()).\u0275fac=function(e){return new(e||pr)(d.Vb(d.g),d.Vb(xt.a),d.Vb(hn.a),d.Vb(J))},pr.\u0275prov=d.Ib({token:pr,factory:pr.\u0275fac}),pr),gr=((vr=function e(){b(this,e)}).\u0275mod=d.Kb({type:vr}),vr.\u0275inj=d.Jb({factory:function(e){return new(e||vr)},providers:[yr]}),vr),br=[{provide:rr,useValue:{name:"close",svgSource:'<svg focusable="false" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" /><path d="M0 0h24v24H0z" fill="none" /></svg>'},multi:!0},{provide:rr,useValue:{name:"insert_comment",svgSource:'<svg focusable="false" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M20 2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4V4c0-1.1-.9-2-2-2zm-2 12H6v-2h12v2zm0-3H6V9h12v2zm0-3H6V6h12v2z" /><path d="M0 0h24v24H0z" fill="none" /></svg>'},multi:!0},{provide:rr,useValue:{name:"keyboard_arrow_right",svgSource:'<svg focusable="false" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z" /></svg>'},multi:!0},{provide:rr,useValue:{name:"menu",svgSource:'<svg focusable="false" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z" /></svg>'},multi:!0},{provide:rr,useValue:{namespace:"logos",name:"github",svgSource:'<svg focusable="false" viewBox="0 0 51.8 50.4" xmlns="http://www.w3.org/2000/svg"><path d="M25.9,0.2C11.8,0.2,0.3,11.7,0.3,25.8c0,11.3,7.3,20.9,17.5,24.3c1.3,0.2,1.7-0.6,1.7-1.2c0-0.6,0-2.6,0-4.8c-7.1,1.5-8.6-3-8.6-3c-1.2-3-2.8-3.7-2.8-3.7c-2.3-1.6,0.2-1.6,0.2-1.6c2.6,0.2,3.9,2.6,3.9,2.6c2.3,3.9,6,2.8,7.5,2.1c0.2-1.7,0.9-2.8,1.6-3.4c-5.7-0.6-11.7-2.8-11.7-12.7c0-2.8,1-5.1,2.6-6.9c-0.3-0.7-1.1-3.3,0.3-6.8c0,0,2.1-0.7,7,2.6c2-0.6,4.2-0.9,6.4-0.9c2.2,0,4.4,0.3,6.4,0.9c4.9-3.3,7-2.6,7-2.6c1.4,3.5,0.5,6.1,0.3,6.8c1.6,1.8,2.6,4.1,2.6,6.9c0,9.8-6,12-11.7,12.6c0.9,0.8,1.7,2.4,1.7,4.7c0,3.4,0,6.2,0,7c0,0.7,0.5,1.5,1.8,1.2c10.2-3.4,17.5-13,17.5-24.3C51.5,11.7,40.1,0.2,25.9,0.2z" /></svg>'},multi:!0},{provide:rr,useValue:{namespace:"logos",name:"twitter",svgSource:'<svg focusable="false" viewBox="0 0 50 59" xmlns="http://www.w3.org/2000/svg"><path d="M50,9.3c-1.8,0.8-3.8,1.4-5.9,1.6c2.1-1.3,3.7-3.3,4.5-5.7c-2,1.2-4.2,2-6.5,2.5c-1.9-2-4.5-3.2-7.5-3.2c-5.7,0-10.3,4.6-10.3,10.3c0,0.8,0.1,1.6,0.3,2.3C16.1,16.7,8.5,12.6,3.5,6.4c-0.9,1.5-1.4,3.3-1.4,5.2c0,3.6,1.8,6.7,4.6,8.5C5,20,3.4,19.6,2,18.8c0,0,0,0.1,0,0.1c0,5,3.5,9.1,8.2,10.1c-0.9,0.2-1.8,0.4-2.7,0.4c-0.7,0-1.3-0.1-1.9-0.2c1.3,4.1,5.1,7,9.6,7.1c-3.5,2.8-7.9,4.4-12.7,4.4c-0.8,0-1.6,0-2.4-0.1c4.5,2.9,9.9,4.6,15.7,4.6c18.9,0,29.2-15.6,29.2-29.2c0-0.4,0-0.9,0-1.3C46.9,13.2,48.6,11.4,50,9.3z" /></svg>'},multi:!0}],_r=((mr=function e(){b(this,e)}).\u0275mod=d.Kb({type:mr,bootstrap:[nr]}),mr.\u0275inj=d.Jb({factory:function(e){return new(e||mr)},providers:[Dt,Ft.c,{provide:d.m,useClass:sr},or.a,hn.a,w.g,{provide:w.h,useClass:w.p},xt.a,{provide:ce.c,useClass:ir},Vt,Ht.a,ar.a,zt.a,br,Bt.a,{provide:gt,useFactory:bt},{provide:Et.a,useFactory:Et.b},{provide:d.c,useFactory:function(){return"ng-docs"}}],imports:[[m.a.withServerTransition({appId:"ng-docs"}),_.b,lr,y.b,ue.b,ce.b,_e,ht,yt,gr,hr.a,ae.register("/ngsw-worker.js",{enabled:p.a.production})]]}),mr);p.a.production&&Object(d.T)(),document.addEventListener("DOMContentLoaded",function(){m.d().bootstrapModule(_r).catch(function(e){return console.error(e)})})},zn8P:function(e,t){function n(e){return Promise.resolve().then(function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t})}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="zn8P"}},[[0,0]]])}();
  //# sourceMappingURL=main-es5.51fa38265502311d305e.js.map