angular-docs-cn/aio/dist/main-es5.a732537ab43995de39...

2 lines
510 KiB
JavaScript

!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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],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.Xb(a.a),s.Xb(u.g),s.Xb(c.a),s.Xb(u.q))},e.\u0275prov=s.Kb({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)}}},"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.7a5fef4c81f66c534036.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.Xb(i.a))},e.\u0275prov=o.Kb({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-8594346-15",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}},EQ5u:function(e,t,n){"use strict";n.d(t,"a",function(){return u}),n.d(t,"b",function(){return c});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)},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 A}),n.d(t,"b",function(){return m}),n.d(t,"c",function(){return N}),n.d(t,"d",function(){return D}),n.d(t,"e",function(){return j}),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.Q("11.2.2"),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.Q("11.2.2"),p=new r.r("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.X)()&&!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.Mb({type:h}),h.\u0275inj=r.Lb({factory:function(e){return new(e||h)(r.Xb(i.f),r.Xb(p,8),r.Xb(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(R){!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},T=Object(c.e)({passive:!0}),x=["mousedown","touchstart"],I=["mouseup","mouseleave","touchend","touchcancel"],j=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(x))}},{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,T)})})}},{key:"_removeTriggerEvents",value:function(){var e=this;this._triggerElement&&(x.forEach(function(t){e._triggerElement.removeEventListener(t,e,T)}),this._pointerUpEventsRegistered&&I.forEach(function(t){e._triggerElement.removeEventListener(t,e,T)}))}}]),e}(),A=new r.r("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 j(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.Ob(r.l),r.Ob(r.A),r.Ob(c.a),r.Ob(A,8),r.Ob(l.a,8))},E.\u0275dir=r.Jb({type:E,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,t){2&e&&r.Gb("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),D=((S=function e(){b(this,e)}).\u0275mod=r.Mb({type:S}),S.\u0275inj=r.Lb({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.Xb(r.d),c.Xb(r.q),c.Xb(r.r),c.Xb(r.g))},e.\u0275prov=c.Kb({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.Xb(r.d),l.Xb(h.a))},e.\u0275prov=l.Kb({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.Kb)({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.Xb(u))},e.\u0275prov=Object(i.Kb)({factory:function(){return new e(Object(i.Xb)(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(){var e;null===(e=this._currentSubscription)||void 0===e||e.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.Ob(c),i.Ob(i.l),i.Ob(i.A))},e.\u0275dir=i.Jb({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.Mb({type:e}),e.\u0275inj=i.Lb({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").r)("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("bHdf");function o(){return Object(i.a)(1)(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.Rb(0),r.Tb(1,"p",2),r.Ac(2,"Searching ..."),r.Sb(),r.Qb())}function a(e,t){if(1&e&&r.Pb(0,"span"),2&e){var n=r.ec().$implicit;r.Fb("symbol ",n.type,"")}}function u(e,t){if(1&e){var n=r.Ub();r.Tb(0,"li",9),r.Tb(1,"a",10),r.ac("click",function(e){r.sc(n);var i=t.$implicit;return r.ec(3).onResultSelected(i,e)}),r.zc(2,a,1,3,"span",11),r.Tb(3,"span"),r.Ac(4),r.Sb(),r.Sb(),r.Sb()}if(2&e){var i=t.$implicit,o=r.ec().$implicit;r.Cb(1),r.kc("href",i.path,r.uc),r.Cb(1),r.jc("ngIf","api"===o.name),r.Cb(1),r.Gb("deprecated-api-item",i.deprecated),r.Cb(1),r.Bc(i.title)}}function c(e,t){if(1&e&&r.Pb(0,"span"),2&e){var n=r.ec().$implicit;r.Fb("symbol ",n.type,"")}}function l(e,t){if(1&e){var n=r.Ub();r.Tb(0,"li",9),r.Tb(1,"a",10),r.ac("click",function(e){r.sc(n);var i=t.$implicit;return r.ec(3).onResultSelected(i,e)}),r.zc(2,c,1,3,"span",11),r.Tb(3,"span"),r.Ac(4),r.Sb(),r.Sb(),r.Sb()}if(2&e){var i=t.$implicit,o=r.ec().$implicit;r.Cb(1),r.kc("href",i.path,r.uc),r.Cb(1),r.jc("ngIf","api"===o.name),r.Cb(1),r.Gb("deprecated-api-item",i.deprecated),r.Cb(1),r.Bc(i.title)}}function h(e,t){if(1&e&&(r.Tb(0,"div",5),r.Tb(1,"h3",6),r.Ac(2),r.Sb(),r.Tb(3,"ul",7),r.zc(4,u,5,5,"li",8),r.Sb(),r.Tb(5,"ul"),r.zc(6,l,5,5,"li",8),r.Sb(),r.Sb()),2&e){var n=t.$implicit;r.Cb(2),r.Dc("",n.name," (",n.pages.length+n.priorityPages.length,")"),r.Cb(2),r.jc("ngForOf",n.priorityPages),r.Cb(2),r.jc("ngForOf",n.pages)}}function f(e,t){if(1&e&&(r.Rb(0),r.Tb(1,"h2",3),r.Ac(2,"Search Results"),r.Sb(),r.zc(3,h,7,4,"div",4),r.Qb()),2&e){var n=r.ec();r.Cb(3),r.jc("ngForOf",n.searchAreas)}}function d(e,t){1&e&&(r.Rb(0),r.Tb(1,"div",5),r.Tb(2,"p",2),r.Ac(3," No results found."),r.Pb(4,"br"),r.Ac(5," Here are a few links that might be helpful in finding what you are looking for: "),r.Sb(),r.Tb(6,"ul",7),r.Tb(7,"li",9),r.Tb(8,"a",12),r.Ac(9,"API reference"),r.Sb(),r.Sb(),r.Tb(10,"li",9),r.Tb(11,"a",13),r.Ac(12,"Resources"),r.Sb(),r.Sb(),r.Tb(13,"li",9),r.Tb(14,"a",14),r.Ac(15,"Glossary"),r.Sb(),r.Sb(),r.Tb(16,"li",9),r.Tb(17,"a",15),r.Ac(18,"Cheat-sheet"),r.Sb(),r.Sb(),r.Tb(19,"li",9),r.Tb(20,"a",16),r.Ac(21,"Angular blog"),r.Sb(),r.Sb(),r.Sb(),r.Sb(),r.Qb())}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.searchState=v.InProgress,this.defaultArea="other",this.folderToAreaMap={api:"api",cli:"cli",docs:"guides",errors:"errors",guide:"guides",start:"tutorials",tutorial:"tutorials"},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);(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){var t,n=s(e.path.split("/",1),1)[0];return null!==(t=this.folderToAreaMap[n])&&void 0!==t?t:this.defaultArea}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Ib({type:e,selectors:[["aio-search-results"]],inputs:{searchResults:"searchResults"},outputs:{resultSelected:"resultSelected"},features:[r.Ab],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.Tb(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.Sb()),2&e&&(r.jc("ngSwitch",t.searchState),r.Cb(1),r.jc("ngSwitchCase","in-progress"),r.Cb(1),r.jc("ngSwitchCase","results-found"),r.Cb(1),r.jc("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 q}),n.d(t,"b",function(){return K}),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"),T=n("tk/3"),x=n("jhN1"),I=["*"];function j(e){return Error('Unable to find icon with the name "'.concat(e,'"'))}function A(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 D,R=function e(t,n,r){b(this,e),this.url=t,this.svgText=n,this.options=r},F=((D=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._resolvers=[],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 R(n,null,r))}},{key:"addSvgIconResolver",value:function(e){return this._resolvers.push(e),this}},{key:"addSvgIconLiteralInNamespace",value:function(e,t,n,i){var o=this._sanitizer.sanitize(r.J.HTML,n);if(!o)throw N(n);return this._addSvgIconConfig(e,t,new R("",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 R(t,null,n))}},{key:"addSvgIconSetLiteralInNamespace",value:function(e,t,n){var i=this._sanitizer.sanitize(r.J.HTML,t);if(!i)throw N(t);return this._addSvgIconSetConfig(e,new R("",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.J.RESOURCE_URL,e);if(!n)throw A(e);var i=this._cachedIconsByUrl.get(n);return i?Object(c.a)(P(i)):this._loadSvgIconFromConfig(new R(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=L(t,e),r=this._svgIconConfigs.get(n);if(r)return this._getSvgFromConfig(r);if(r=this._getIconConfigFromResolvers(t,e))return this._svgIconConfigs.set(n,r),this._getSvgFromConfig(r);var i=this._iconSetConfigs.get(t);return i?this._getSvgFromIconSetConfigs(e,i):Object(l.a)(j(n))}},{key:"ngOnDestroy",value:function(){this._resolvers=[],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.J.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 j(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.J.RESOURCE_URL,i);if(!a)throw A(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(L(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}},{key:"_getIconConfigFromResolvers",value:function(e,t){for(var n=0;n<this._resolvers.length;n++){var r=this._resolvers[n](t,e);if(r)return(i=r).url&&i.options?new R(r.url,null,r.options):new R(r,null)}var i}}]),e}()).\u0275fac=function(e){return new(e||D)(r.Xb(T.a,8),r.Xb(x.b),r.Xb(u.d,8),r.Xb(r.m))},D.\u0275prov=Object(r.Kb)({factory:function(){return new D(Object(r.Xb)(T.a,8),Object(r.Xb)(x.b),Object(r.Xb)(u.d,8),Object(r.Xb)(r.m))},token:D,providedIn:"root"}),D);function P(e){return e.cloneNode(!0)}function L(e,t){return e+":"+t}var M,H,V=Object(o.f)(function e(t){b(this,e),this._elementRef=t}),B=new r.r("mat-icon-location",{providedIn:"root",factory:function(){var e=Object(r.W)(u.d),t=e?e.location:null;return{getPathname:function(){return t?t.pathname+t.search:""}}}}),z=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],X=z.map(function(e){return"[".concat(e,"]")}).join(", "),U=/^url\(['"]?#(.*?)['"]?\)$/,q=((H=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(X),n=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map,r=function(e){z.forEach(function(r){var i=t[e],o=i.getAttribute(r),s=o?o.match(U):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}(V)).\u0275fac=function(e){return new(e||H)(r.Ob(r.l),r.Ob(F),r.Yb("aria-hidden"),r.Ob(B),r.Ob(r.m))},H.\u0275cmp=r.Ib({type:H,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(e,t){2&e&&(r.Db("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.Gb("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.zb],ngContentSelectors:I,decls:1,vars:0,template:function(e,t){1&e&&(r.ic(),r.hc(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}),H),K=((M=function e(){b(this,e)}).\u0275mod=r.Mb({type:M}),M.\u0275inj=r.Lb({factory:function(e){return new(e||M)},imports:[[o.b],o.b]}),M)},"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.Mb({type:e}),e.\u0275inj=i.Lb({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._position=0,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){this._position=this.totalTime?e*this.totalTime:1}},{key:"getPosition",value:function(){return this.totalTime?this._position/this.totalTime:1}},{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=this.players.reduce(function(e,t){return null===e||t.totalTime>e.totalTime?t:e},null);return null!=e?e.getPosition():0}},{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 At}),n.d(t,"b",function(){return Dt});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)for(var i=e.querySelectorAll(t),o=0;o<i.length;o++)r.push(i[o]);else{var s=e.querySelector(t);s&&r.push(s)}return r});var T=null,x=!1;function I(e){T||(T=("undefined"!=typeof document?document.body:null)||{},x=!!T.style&&"WebkitAppearance"in T.style);var t=!0;return T.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&(!(t=e in T.style)&&x)&&(t="Webkit"+e.charAt(0).toUpperCase()+e.substr(1)in T.style),t}var j=E,A=S,N=C;function D(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 R,F=((R=function(){function e(){b(this,e)}return k(e,[{key:"validateStyleProperty",value:function(e){return I(e)}},{key:"matchesElement",value:function(e,t){return j(e,t)}},{key:"containsElement",value:function(e,t){return A(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||R)},R.\u0275prov=o.Kb({token:R,factory:R.\u0275fac}),R),P=function(){var e=function e(){b(this,e)};return e.NOOP=new F,e}();function L(e){if("number"==typeof e)return e;var t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:M(parseFloat(t[1]),t[2])}function M(e,t){switch(t){case"s":return 1e3*e;default:return e}}function H(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=M(parseFloat(s[1]),s[2]);var a=s[3];null!=a&&(i=M(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 V(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 B(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 V(e,n);return n}function z(e,t,n){return n?t+":"+n+";":""}function X(e){for(var t="",n=0;n<e.style.length;n++){var r=e.style.item(n);t+=z(0,r,e.style.getPropertyValue(r))}for(var i in e.style)e.style.hasOwnProperty(i)&&!i.startsWith("_")&&(t+=z(0,i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),e.style[i]));e.setAttribute("style",t)}function U(e,t,n){e.style&&(Object.keys(t).forEach(function(r){var i=Y(r);n&&!n.hasOwnProperty(r)&&(n[r]=e.style[i]),e.style[i]=t[r]}),c()&&X(e))}function q(e,t){e.style&&(Object.keys(t).forEach(function(t){var n=Y(t);e.style[n]=""}),c()&&X(e))}function K(e){return Array.isArray(e)?1==e.length?e[0]:Object(u.f)(e):e}var W=new RegExp("{{\\s*(.+?)\\s*}}","g");function G(e){var t=[];if("string"==typeof e){for(var n;n=W.exec(e);)t.push(n[1]);W.lastIndex=0}return t}function Z(e,t,n){var r=e.toString(),i=r.replace(W,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 Q(e){for(var t=[],n=e.next();!n.done;)t.push(n.value),n=e.next();return t}var J=/-+([a-z0-9])/g;function Y(e){return e.replace(J,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,K(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){G(t[e]).forEach(function(e){o.hasOwnProperty(e)||i.add(e)})})}}),i.size){var s=Q(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,K(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(H(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||H(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=G(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,K(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,K(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"}:H(e.timings,t.errors,!0);return{type:12,animation:te(this,K(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=V(e)).params&&(e.params=(t=e.params)?V(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?L(n.duration):null,o=null!=n.delay?L(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=L(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?L(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 H(t.params?Z(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?L(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=L(r.duration)),null!=r.delay&&(i.delay=L(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]=Z(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}):B(e,!1,r)}),r}(e,this._globalTimelineStyles);Object.keys(s).forEach(function(e){var t=Z(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=B(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?Q(t.values()):[],s=n.size?Q(n.values()):[];if(r){var a=i[0],c=V(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=B(e[0],!1);u.offset=0,o.push(u);var c=B(e[0],!1);c.offset=Se(a),o.push(c);for(var l=e.length-1,h=1;h<=l;h++){var f=B(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)},Te=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 Y(e)}},{key:"normalizeStyleValue",value:function(e,t,n,r){var i="",o=n.toString().trim();if(xe[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),xe=(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 je={},Ae=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||je,f=this.buildStyles(n,s&&s.params||je,l),d=a&&a.params||je,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=Q(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=V(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=Z(o,r,t)),n[e]=o})}}),n}}]),e}(),De=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||{})}),Re(this.states,"true","1"),Re(this.states,"false","0"),n.transitions.forEach(function(e){r.transitionFactories.push(new Ae(t,e,r.states))}),this.fallbackTransition=new Ae(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 Re(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}(),Le=[],Me={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},He={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Ve=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=V(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}(),Be=new Ve("void"),ze=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,Ze(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)||(Ze(e,"ng-trigger"),Ze(e,"ng-trigger-"+t),u[t]=Be),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 Ue(this.id,t,e),a=this._engine.statesByElement.get(e);a||(Ze(e,"ng-trigger"),Ze(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,a={}));var u=a[t],c=new Ve(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&u&&c.absorbOptions(u.options),a[t]=c,u||(u=Be),"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||(Ze(e,"ng-animate-queued"),s.onStart(function(){Qe(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(){q(e,v),U(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),r=this._engine.statesByElement.get(e);if(n&&r){var i=new Set;n.forEach(function(n){var o=n.name;if(!i.has(o)){i.add(o);var s=t._triggers[o].fallbackTransition,a=r[o]||Be,u=new Ve("void"),c=new Ue(t.id,o,e);t._engine.totalQueuedPlayers++,t._queue.push({element:e,triggerName:o,transition:s,fromState:a,toState:u,player:c,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!==Me||(r.afterFlush(function(){return n.clearElementCache(e)}),r.destroyInnerAnimations(e),r._onRemovalComplete(e,t))}}}},{key:"insertNode",value:function(e,t){Ze(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}(),Xe=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 ze(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(qe(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(qe(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),Ze(e,"ng-animate-disabled")):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Qe(e,"ng-animate-disabled"))}},{key:"removeNode",value:function(e,t,n,r){if(qe(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 qe(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=Me,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++)Ze(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=Ge(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 Ze(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,T=Ge(p,Array.from(k));T.forEach(function(e,t){var n="ng-leave"+g++;O.set(t,n),e.forEach(function(e){return Ze(e,n)})}),e.push(function(){m.forEach(function(e,t){var n=y.get(t);e.forEach(function(e){return Qe(e,n)})}),T.forEach(function(e,t){var n=O.get(t);e.forEach(function(e){return Qe(e,n)})}),b.forEach(function(e){n.processLeaveNode(e)})});for(var x=[],I=[],j=this._namespaceList.length-1;j>=0;j--)this._namespaceList[j].drainQueuedTransitions(t).forEach(function(e){var t=e.player,i=e.element;if(x.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 q(i,p.fromStyles)}),t.onDestroy(function(){return U(i,p.toStyles)}),void o.push(t);if(e.isFallbackTransition)return t.onStart(function(){return q(i,p.fromStyles)}),t.onDestroy(function(){return U(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 A=[];I.forEach(function(e){A.push("@".concat(e.triggerName," has failed due to:\n")),e.errors.forEach(function(e){return A.push("- ".concat(e,"\n"))})}),x.forEach(function(e){return e.destroy()}),this.reportError(A)}var N=new Map,D=new Map;a.forEach(function(e){var t=e.element;r.has(t)&&(D.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 R=b.filter(function(e){return $e(e,h,f)}),F=new Map;We(F,this.driver,w,f,u.a).forEach(function(e){$e(e,h,f)&&R.push(e)});var P=new Map;m.forEach(function(e,t){We(P,n.driver,new Set(e),h,u.l)}),R.forEach(function(e){var t=F.get(e),n=P.get(e);F.set(e,Object.assign(Object.assign({},t),n))});var L=[],M=[],H={};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 U(t,a.toStyles)}),i.disabled=!0,i.overrideTotalTime(a.totalTime),void o.push(i);var u=H;if(D.size>1){for(var c=t,h=[];c=c.parentNode;){var f=D.get(c);if(f){u=f;break}h.push(c)}h.forEach(function(e){return D.set(e,u)})}var v=n._buildAnimation(i.namespaceId,a,N,s,P,F);if(i.setRealPlayer(v),u===H)L.push(i);else{var p=n.playersByElement.get(u);p&&p.length&&(i.parentPlayer=l(p)),o.push(i)}}else q(t,a.fromStyles),i.onDestroy(function(){return U(t,a.toStyles)}),M.push(i),d.has(t)&&o.push(i)}),M.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 V=0;V<b.length;V++){var B=b[V],z=B.__ng_removed;if(Qe(B,"ng-leave"),!z||!z.hasAnimation){var X=[];if(c.size){var K=c.get(B);K&&K.length&&X.push.apply(X,i(K));for(var W=this.driver.query(B,".ng-animating",!0),G=0;G<W.length;G++){var Z=c.get(W[G]);Z&&Z.length&&X.push.apply(X,i(Z))}}var Q=X.filter(function(e){return!e.destroyed});Q.length?Je(this,B,Q):this.processLeaveNode(B)}}return b.length=0,L.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()}),L}},{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()}q(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)||Le).map(function(e){return e.getRealPlayer()}),y=[],Ye(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 Ue(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 Ze(e,"ng-animating")});var m=l(p);return m.onDestroy(function(){f.forEach(function(e){return Qe(e,"ng-animating")}),U(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}(),Ue=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 qe(e){return e&&1===e.nodeType}function Ke(e,t){var n=e.style.display;return e.style.display=null!=t?t:"none",n}function We(e,t,n,r,i){var o=[];n.forEach(function(e){return o.push(Ke(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=He,s.push(r))}),e.set(r,o)});var a=0;return n.forEach(function(e){return Ke(e,o[a++])}),s}function Ge(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 Ze(e,t){if(e.classList)e.classList.add(t);else{var n=e.$$classes;n||(n=e.$$classes={}),n[t]=!0}}function Qe(e,t){if(e.classList)e.classList.remove(t);else{var n=e.$$classes;n&&delete n[t]}}function Je(e,t,n){l(n).onDone(function(){return e.processLeaveNode(t)})}function Ye(e,t){for(var n=0;n<e.length;n++){var r=e[n];r instanceof u.k?Ye(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 Xe(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 De(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&&U(this._element,this._startStyles,this._initialStyles),this._state=1)}},{key:"finish",value:function(){this.start(),this._state<2&&(U(this._element,this._initialStyles),this._endStyles&&(U(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&&(q(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(q(this._element,this._endStyles),this._endStyles=null),U(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=D(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")}return k(e,[{key:"validateStyleProperty",value:function(e){return I(e)}},{key:"matchesElement",value:function(e,t){return j(e,t)}},{key:"containsElement",value:function(e,t){return A(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 D(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=o.filter(function(e){return e instanceof ft}),a={};$(n,r)&&s.forEach(function(e){var t=e.currentSnapshot;Object.keys(t).forEach(function(e){return a[e]=t[e]})});var u=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,a));if(0==n)return new dt(e,u);var c="gen_css_kf_"+this._count++,l=this.buildKeyframeElement(e,c,t);document.querySelector("head").appendChild(l);var h=tt(e,t),f=new ft(e,t,c,n,r,i,u,h);return f.onDestroy(function(){var e;(e=l).parentNode.removeChild(e)}),f}}]),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){void 0===this.domPlayer&&this.init(),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 j(e,t)}},{key:"containsElement",value:function(e,t){return A(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 B(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.S.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.Xb(o.G),o.Xb(bt.d))},gt.\u0275prov=o.Kb({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(){var e,t;return null!==(t=null===(e=this._renderer.engine.players[+this.id])||void 0===e?void 0:e.getPosition())&&void 0!==t?t:0}}]),e}();function St(e,t,n,r,i){return e.setProperty(t,"@@".concat(n,":").concat(r),i)}var Et,Ct,Ot,Tt=((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 xt("",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.Xb(o.G),o.Xb(et),o.Xb(o.A))},Et.\u0275prov=o.Kb({token:Et,factory:Et.\u0275fac}),Et),xt=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}(xt),jt=((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.Xb(bt.d),o.Xb(P),o.Xb(Oe))},Ct.\u0275prov=o.Kb({token:Ct,factory:Ct.\u0275fac}),Ct),At=new o.r("AnimationModuleType"),Nt=[{provide:P,useFactory:function(){return"function"==typeof yt()?new mt:new vt}},{provide:At,useValue:"BrowserAnimations"},{provide:u.b,useClass:_t},{provide:Oe,useFactory:function(){return new Te}},{provide:et,useClass:jt},{provide:o.G,useFactory:function(e,t,n){return new Tt(e,t,n)},deps:[a.f,et,o.A]}],Dt=((Ot=function e(){b(this,e)}).\u0275mod=o.Mb({type:Ot}),Ot.\u0275inj=o.Lb({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){return c(e,"h1,h2,h3").filter(function(e){return!/(?:no-toc|notoc)/i.test(e.className)})}},{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.Xb(r.d),o.Xb(s.b),o.Xb(a.a))},e.\u0275prov=o.Kb({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(e,t){e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(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.Ob(s.l),s.Ob(a.d),s.Ob(o.a,8))},e.\u0275cmp=s.Ib({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,1),2&e)&&(s.oc(n=s.bc())&&(t.ripple=n.first))},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,t){2&e&&(s.Db("disabled",t.disabled||null),s.Gb("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-button-disabled",t.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[s.zb],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.ic(),s.Tb(0,"span",0),s.hc(1),s.Sb(),s.Pb(2,"span",1),s.Pb(3,"span",2)),2&e&&(s.Cb(2),s.Gb("mat-button-ripple-round",t.isRoundButton||t.isIconButton),s.jc("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:inline-flex;justify-content:center;align-items:center;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.Mb({type:e}),e.\u0275inj=s.Lb({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.r("cdk-dir-doc",{providedIn:"root",factory:function(){return Object(r.W)(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.Xb(o,8))},e.\u0275prov=Object(r.Kb)({factory:function(){return new e(Object(r.Xb)(o,8))},token:e,providedIn:"root"}),e}(),a=function(){var e=function e(){b(this,e)};return e.\u0275mod=r.Mb({type:e}),e.\u0275inj=r.Lb({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 pn}),a.d(o,"b",function(){return tc}),a.d(o,"c",function(){return Qu}),a.d(o,"d",function(){return Gu}),a.d(o,"e",function(){return Zu}),a.d(o,"f",function(){return Wc}),a.d(o,"g",function(){return Lc}),a.d(o,"h",function(){return Qa}),a.d(o,"i",function(){return fc}),a.d(o,"j",function(){return _a}),a.d(o,"k",function(){return ic}),a.d(o,"l",function(){return Ea}),a.d(o,"m",function(){return Nr}),a.d(o,"n",function(){return xu}),a.d(o,"o",function(){return wo}),a.d(o,"p",function(){return Ln}),a.d(o,"q",function(){return z}),a.d(o,"r",function(){return vn}),a.d(o,"s",function(){return Mo}),a.d(o,"t",function(){return Xa}),a.d(o,"u",function(){return qa}),a.d(o,"v",function(){return rc}),a.d(o,"w",function(){return su}),a.d(o,"x",function(){return Hc}),a.d(o,"y",function(){return ou}),a.d(o,"z",function(){return Nc}),a.d(o,"A",function(){return pc}),a.d(o,"B",function(){return Mn}),a.d(o,"C",function(){return ec}),a.d(o,"D",function(){return $u}),a.d(o,"E",function(){return ju}),a.d(o,"F",function(){return Ta}),a.d(o,"G",function(){return Oa}),a.d(o,"H",function(){return Mr}),a.d(o,"I",function(){return Ia}),a.d(o,"J",function(){return Cr}),a.d(o,"K",function(){return Te}),a.d(o,"L",function(){return Hn}),a.d(o,"M",function(){return zc}),a.d(o,"N",function(){return nu}),a.d(o,"O",function(){return wc}),a.d(o,"P",function(){return mn}),a.d(o,"Q",function(){return ja}),a.d(o,"R",function(){return uu}),a.d(o,"S",function(){return W}),a.d(o,"T",function(){return Dc}),a.d(o,"U",function(){return jc}),a.d(o,"V",function(){return C}),a.d(o,"W",function(){return Nn}),a.d(o,"X",function(){return Ic}),a.d(o,"Y",function(){return qc}),a.d(o,"Z",function(){return Ec}),a.d(o,"ab",function(){return nc}),a.d(o,"bb",function(){return Eo}),a.d(o,"cb",function(){return ua}),a.d(o,"db",function(){return Sr}),a.d(o,"eb",function(){return sr}),a.d(o,"fb",function(){return Zn}),a.d(o,"gb",function(){return Jn}),a.d(o,"hb",function(){return tr}),a.d(o,"ib",function(){return $n}),a.d(o,"jb",function(){return Yn}),a.d(o,"kb",function(){return er}),a.d(o,"lb",function(){return ia}),a.d(o,"mb",function(){return Uc}),a.d(o,"nb",function(){return oa}),a.d(o,"ob",function(){return sa}),a.d(o,"pb",function(){return Qn}),a.d(o,"qb",function(){return Y}),a.d(o,"rb",function(){return Go}),a.d(o,"sb",function(){return vs}),a.d(o,"tb",function(){return fs}),a.d(o,"ub",function(){return ds}),a.d(o,"vb",function(){return ra}),a.d(o,"wb",function(){return Re}),a.d(o,"xb",function(){return w}),a.d(o,"yb",function(){return Gn}),a.d(o,"zb",function(){return Vo}),a.d(o,"Ab",function(){return xe}),a.d(o,"Bb",function(){return ya}),a.d(o,"Cb",function(){return Ei}),a.d(o,"Db",function(){return $o}),a.d(o,"Eb",function(){return Fs}),a.d(o,"Fb",function(){return Js}),a.d(o,"Gb",function(){return Rs}),a.d(o,"Hb",function(){return zu}),a.d(o,"Ib",function(){return ce}),a.d(o,"Jb",function(){return me}),a.d(o,"Kb",function(){return N}),a.d(o,"Lb",function(){return D}),a.d(o,"Mb",function(){return de}),a.d(o,"Nb",function(){return ye}),a.d(o,"Ob",function(){return rs}),a.d(o,"Pb",function(){return us}),a.d(o,"Qb",function(){return ls}),a.d(o,"Rb",function(){return cs}),a.d(o,"Sb",function(){return as}),a.d(o,"Tb",function(){return ss}),a.d(o,"Ub",function(){return hs}),a.d(o,"Vb",function(){return hn}),a.d(o,"Wb",function(){return Ys}),a.d(o,"Xb",function(){return An}),a.d(o,"Yb",function(){return fn}),a.d(o,"Zb",function(){return Wu}),a.d(o,"ac",function(){return ps}),a.d(o,"bc",function(){return Xu}),a.d(o,"cc",function(){return xt}),a.d(o,"dc",function(){return Tt}),a.d(o,"ec",function(){return _s}),a.d(o,"fc",function(){return Ou}),a.d(o,"gc",function(){return Tu}),a.d(o,"hc",function(){return Ss}),a.d(o,"ic",function(){return ws}),a.d(o,"jc",function(){return is}),a.d(o,"kc",function(){return Es}),a.d(o,"lc",function(){return Cs}),a.d(o,"mc",function(){return wu}),a.d(o,"nc",function(){return Su}),a.d(o,"oc",function(){return Vu}),a.d(o,"pc",function(){return ns}),a.d(o,"qc",function(){return Pr}),a.d(o,"rc",function(){return Fr}),a.d(o,"sc",function(){return et}),a.d(o,"tc",function(){return Or}),a.d(o,"uc",function(){return Tr}),a.d(o,"vc",function(){return ve}),a.d(o,"wc",function(){return Ds}),a.d(o,"xc",function(){return ms}),a.d(o,"yc",function(){return $s}),a.d(o,"zc",function(){return ts}),a.d(o,"Ac",function(){return Ws}),a.d(o,"Bc",function(){return Gs}),a.d(o,"Cc",function(){return Zs}),a.d(o,"Dc",function(){return Qs}),a.d(o,"Ec",function(){return Bu});var u=a("XNiG"),c=a("quSY"),l=a("HDdC"),d=a("VRyK"),p=a("w1tV");function y(e){for(var t in e)if(e[t]===y)return t;throw Error("Could not find renamed property on target object.")}function _(e,t){for(var n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function w(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(w).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 S(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}var E=y({__forward_ref__:y});function C(e){return e.__forward_ref__=C,e.toString=function(){return w(this())},e}function O(e){return T(e)?e():e}function T(e){return"function"==typeof e&&e.hasOwnProperty(E)&&e.__forward_ref__===C}var x=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 I(e){return"string"==typeof e?e:null==e?"":String(e)}function j(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():I(e)}function A(e,t){var n=t?" in "+t:"";throw new x("201","No provider for ".concat(j(e)," found").concat(n))}function N(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function D(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}function R(e){return F(e,M)||F(e,V)}function F(e,t){return e.hasOwnProperty(t)?e[t]:null}function P(e){return e&&(e.hasOwnProperty(H)||e.hasOwnProperty(B))?e[H]:null}var L,M=y({"\u0275prov":y}),H=y({"\u0275inj":y}),V=y({ngInjectableDef:y}),B=y({ngInjectorDef:y}),z=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){var t=L;return L=e,t}function U(e,t,n){var r=R(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&z.Optional?null:void 0!==t?t:void A(w(e),"Injector")}function q(e){return{toString:e}.toString()}var K=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}({}),W=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}({}),G="undefined"!=typeof globalThis&&globalThis,Z="undefined"!=typeof window&&window,Q="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,J="undefined"!=typeof global&&global,Y=G||J||Z||Q,$={},ee=[],te=y({"\u0275cmp":y}),ne=y({"\u0275dir":y}),re=y({"\u0275pipe":y}),ie=y({"\u0275mod":y}),oe=y({"\u0275loc":y}),se=y({"\u0275fac":y}),ae=y({__NG_ELEMENT_ID__:y}),ue=0;function ce(e){return q(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===K.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||ee,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||W.Emulated,id:"c",styles:e.styles||ee,_:null,setInput:null,schemas:e.schemas||null,tView:null},r=e.directives,i=e.features,o=e.pipes;return n.id+=ue++,n.inputs=pe(e.inputs,t),n.outputs=pe(e.outputs),i&&i.forEach(function(e){return e(n)}),n.directiveDefs=r?function(){return("function"==typeof r?r():r).map(le)}:null,n.pipeDefs=o?function(){return("function"==typeof o?o():o).map(he)}:null,n})}function le(e){return ge(e)||function(e){return e[ne]||null}(e)}function he(e){return function(e){return e[re]||null}(e)}var fe={};function de(e){var t={type:e.type,bootstrap:e.bootstrap||ee,declarations:e.declarations||ee,imports:e.imports||ee,exports:e.exports||ee,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&q(function(){fe[e.id]=e.type}),t}function ve(e,t){return q(function(){var n=be(e,!0);n.declarations=t.declarations||ee,n.imports=t.imports||ee,n.exports=t.exports||ee})}function pe(e,t){if(null==e)return $;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 me=ce;function ye(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function ge(e){return e[te]||null}function be(e,t){var n=e[ie]||null;if(!n&&!0===t)throw new Error("Type ".concat(w(e)," does not have '\u0275mod' property."));return n}function _e(e){return Array.isArray(e)&&"object"==typeof e[1]}function ke(e){return Array.isArray(e)&&!0===e[1]}function we(e){return 0!=(8&e.flags)}function Se(e){return 2==(2&e.flags)}function Ee(e){return 1==(1&e.flags)}function Ce(e){return null!==e.template}function Oe(e,t){return e.hasOwnProperty(se)?e[se]:null}var Te=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 xe(){return Ie}function Ie(e){return e.type.prototype.ngOnChanges&&(e.setInput=Ae),je}function je(){var e=Ne(this),t=null==e?void 0:e.current;if(t){var n=e.previous;if(n===$)e.previous=t;else for(var r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Ae(e,t,n,r){var i=Ne(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:$,current:null}),o=i.current||(i.current={}),s=i.previous,a=this.declaredInputs[n],u=s[a];o[a]=new Te(u&&u.currentValue,t,s===$),e[r]=t}function Ne(e){return e.__ngSimpleChanges__||null}xe.ngInherit=!0;var De=void 0;function Re(e){De=e}function Fe(){return void 0!==De?De:"undefined"!=typeof document?document:void 0}function Pe(e){return!!e.listen}var Le={createRenderer:function(e,t){return Fe()}};function Me(e){for(;Array.isArray(e);)e=e[0];return e}function He(e,t){return Me(t[e])}function Ve(e,t){return Me(t[e.index])}function Be(e,t){return e.data[t]}function ze(e,t){return e[t]}function Xe(e,t){var n=t[e];return _e(n)?n:n[0]}function Ue(e){var t=function(e){return e.__ngContext__||null}(e);return t?Array.isArray(t)?t:t.lView:null}function qe(e){return 4==(4&e[2])}function Ke(e){return 128==(128&e[2])}function We(e,t){return null==t?null:e[t]}function Ge(e){e[18]=0}function Ze(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 Qe={lFrame:_t(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Je(){return Qe.bindingsEnabled}function Ye(){return Qe.lFrame.lView}function $e(){return Qe.lFrame.tView}function et(e){Qe.lFrame.contextLView=e}function tt(){for(var e=nt();null!==e&&64===e.type;)e=e.parent;return e}function nt(){return Qe.lFrame.currentTNode}function rt(e,t){var n=Qe.lFrame;n.currentTNode=e,n.isParent=t}function it(){return Qe.lFrame.isParent}function ot(){Qe.lFrame.isParent=!1}function st(){return Qe.isInCheckNoChangesMode}function at(e){Qe.isInCheckNoChangesMode=e}function ut(){var e=Qe.lFrame,t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function ct(){return Qe.lFrame.bindingIndex}function lt(){return Qe.lFrame.bindingIndex++}function ht(e){var t=Qe.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function ft(e){Qe.lFrame.currentDirectiveIndex=e}function dt(e){var t=Qe.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function vt(){return Qe.lFrame.currentQueryIndex}function pt(e){Qe.lFrame.currentQueryIndex=e}function mt(e){var t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function yt(e,t,n){if(n&z.SkipSelf){for(var r=t,i=e;!(null!==(r=r.parent)||n&z.Host||(r=mt(i),null===r)||(i=i[15],10&r.type)););if(null===r)return!1;t=r,e=i}var o=Qe.lFrame=bt();return o.currentTNode=t,o.lView=e,!0}function gt(e){var t=bt(),n=e[1];Qe.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function bt(){var e=Qe.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 kt(){var e=Qe.lFrame;return Qe.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var wt=kt;function St(){var e=kt();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 Et(){return Qe.lFrame.selectedIndex}function Ct(e){Qe.lFrame.selectedIndex=e}function Ot(){var e=Qe.lFrame;return Be(e.tView,e.selectedIndex)}function Tt(){Qe.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function xt(){Qe.lFrame.currentNamespace=null}function It(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 jt(e,t,n){Dt(e,t,3,n)}function At(e,t,n,r){(3&e[2])===n&&Dt(e,t,n,r)}function Nt(e,t){var n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Dt(e,t,n,r){for(var i=null!=r?r:-1,o=t.length-1,s=0,a=void 0!==r?65535&e[18]:0;a<o;a++)if("number"==typeof t[a+1]){if(s=t[a],null!=r&&s>=r)break}else t[a]<0&&(e[18]+=65536),(s<i||-1==i)&&(Rt(e,n,t,a),e[18]=(4294901760&e[18])+a+2),a++}function Rt(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 Ft=function e(t,n,r){b(this,e),this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r};function Pt(e,t,n){for(var r=Pe(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];Mt(c)?r&&e.setProperty(t,c,l):r?e.setAttribute(t,c,l):t.setAttribute(c,l),i++}}return i}function Lt(e){return 3===e||4===e||6===e}function Mt(e){return 64===e.charCodeAt(0)}function Ht(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||Vt(e,n,i,null,-1===n||2===n?t[++r]:null)}return e}function Vt(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 Bt(e){return-1!==e}function zt(e){return 32767&e}function Xt(e,t){for(var n=e>>16,r=t;n>0;)r=r[15],n--;return r}var Ut=!0;function qt(e){var t=Ut;return Ut=e,t}var Kt=0;function Wt(e,t){var n=Zt(e,t);if(-1!==n)return n;var r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Gt(r.data,e),Gt(t,null),Gt(r.blueprint,null));var i=Qt(e,t),o=e.injectorIndex;if(Bt(i))for(var s=zt(i),a=Xt(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 Gt(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Zt(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Qt(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 Jt(e,t,n){!function(e,t,n){var r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(ae)&&(r=n[ae]),null==r&&(r=n[ae]=Kt++);var i=255&r;t.data[e+(i>>5)]|=1<<i}(e,t,n)}function Yt(e,t,n){if(n&z.Optional)return e;A(t,"NodeInjector")}function $t(e,t,n,r){if(n&z.Optional&&void 0===r&&(r=null),0==(n&(z.Self|z.Host))){var i=e[9],o=X(void 0);try{return i?i.get(t,r,n&z.Optional):U(t,r,n&z.Optional)}finally{X(o)}}return Yt(r,t,n)}function en(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:z.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(ae)?e[ae]:void 0;return"number"==typeof t?t>=0?255&t:nn:t}(n);if("function"==typeof o){if(!yt(t,e,r))return r&z.Host?Yt(i,n,r):$t(t,n,r,i);try{var s=o();if(null!=s||r&z.Optional)return s;A(n)}finally{wt()}}else if("number"==typeof o){var a=null,u=Zt(e,t),c=-1,l=r&z.Host?t[16][6]:null;for((-1===u||r&z.SkipSelf)&&(-1!==(c=-1===u?Qt(e,t):t[u+8])&&un(r,!1)?(a=t[1],u=zt(c),t=Xt(c,t)):u=-1);-1!==u;){var h=t[1];if(an(o,u,h.data)){var f=rn(u,t,n,a,r,l);if(f!==tn)return f}-1!==(c=t[u+8])&&un(r,t[1].data[u+8]===l)&&an(o,u,t)?(a=h,u=zt(c),t=Xt(c,t)):u=-1}}}return $t(t,n,r,i)}var tn={};function nn(){return new cn(tt(),Ye())}function rn(e,t,n,r,i,o){var s=t[1],a=s.data[e+8],u=on(a,s,n,null==r?Se(a)&&Ut:r!=s&&0!=(3&a.type),i&z.Host&&o===a);return null!==u?sn(t,s,u,a):tn}function on(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&&Ce(d)&&d.type===n)return u}return null}function sn(e,t,n,r){var i=e[n],o=t.data;if(i instanceof Ft){var s=i;s.resolving&&function(e,t){throw new x("200","Circular dependency in DI detected for "+e)}(j(o[n]));var a=qt(s.canSeeViewProviders);s.resolving=!0;var u=s.injectImpl?X(s.injectImpl):null;yt(e,r,z.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=Ie(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&&X(u),qt(a),s.resolving=!1,wt()}}return i}function an(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function un(e,t){return!(e&z.Self||e&z.Host&&t)}var cn=function(){function e(t,n){b(this,e),this._tNode=t,this._lView=n}return k(e,[{key:"get",value:function(e,t){return en(this._tNode,this._lView,e,void 0,t)}}]),e}();function ln(e){var t=e;if(T(e))return function(){var e=ln(O(t));return e?e():null};var n=Oe(t);if(null===n){var r=P(t);n=r&&r.factory}return n||null}function hn(e){return q(function(){for(var t=e.prototype.constructor,n=t[se]||ln(t),r=Object.prototype,i=Object.getPrototypeOf(e.prototype).constructor;i&&i!==r;){var o=i[se]||ln(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return function(e){return new e}})}function fn(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(Lt(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}(tt(),e)}function dn(e,t,r){return q(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 vn=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=N({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}return k(e,[{key:"toString",value:function(){return"InjectionToken "+this._desc}}]),e}(),pn=new vn("AnalyzeForEntryComponents"),mn=Function;function yn(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)),yn(r,t)):t!==e&&t.push(r)}return t}function gn(e,t){e.forEach(function(e){return Array.isArray(e)?gn(e,t):t(e)})}function bn(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function _n(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function kn(e,t){for(var n=[],r=0;r<e;r++)n.push(t);return n}function wn(e,t,n){var r=En(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 Sn(e,t){var n=En(e,t);if(n>=0)return e[1|n]}function En(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 Cn={},On=/\n/gm,Tn=y({provide:String,useValue:y}),xn=void 0;function In(e){var t=xn;return xn=e,t}function jn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:z.Default;if(void 0===xn)throw new Error("inject() must be called from an injection context");return null===xn?U(e,void 0,t):xn.get(e,t&z.Optional?null:void 0,t)}function An(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:z.Default;return(L||jn)(O(e),t)}var Nn=An;function Dn(e){for(var t=[],n=0;n<e.length;n++){var r=O(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");for(var i=void 0,o=z.Default,s=0;s<r.length;s++){var a=r[s],u=a.__NG_DI_FLAG__;"number"==typeof u?-1===u?i=a.token:o|=u:i=a}t.push(An(i,o))}else t.push(An(r))}return t}function Rn(e,t){return e.__NG_DI_FLAG__=t,e.prototype.__NG_DI_FLAG__=t,e}var Fn,Pn,Ln=Rn(dn("Inject",function(e){return{token:e}}),-1),Mn=Rn(dn("Optional"),8),Hn=Rn(dn("SkipSelf"),4);function Vn(e){var t;return(null===(t=function(){if(void 0===Fn&&(Fn=null,Y.trustedTypes))try{Fn=Y.trustedTypes.createPolicy("angular",{createHTML:function(e){return e},createScript:function(e){return e},createScriptURL:function(e){return e}})}catch(t){}return Fn}())||void 0===t?void 0:t.createHTML(e))||e}function Bn(e){var t;return(null===(t=function(){if(void 0===Pn&&(Pn=null,Y.trustedTypes))try{Pn=Y.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:function(e){return e},createScript:function(e){return e},createScriptURL:function(e){return e}})}catch(t){}return Pn}())||void 0===t?void 0:t.createHTML(e))||e}var zn=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 https://g.co/ng/security#xss)"}}]),e}(),Xn=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}(zn),Un=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}(zn),qn=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}(zn),Kn=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}(zn),Wn=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}(zn);function Gn(e){return e instanceof zn?e.changingThisBreaksApplicationSecurity:e}function Zn(e,t){var n=Qn(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error("Required a safe ".concat(t,", got a ").concat(n," (see https://g.co/ng/security#xss)"))}return n===t}function Qn(e){return e instanceof zn&&e.getTypeName()||null}function Jn(e){return new Xn(e)}function Yn(e){return new Un(e)}function $n(e){return new qn(e)}function er(e){return new Kn(e)}function tr(e){return new Wn(e)}var nr=function(){function e(t){b(this,e),this.inertDocumentHelper=t}return k(e,[{key:"getInertBodyElement",value:function(e){e="<body><remove></remove>"+e;try{var t=(new window.DOMParser).parseFromString(Vn(e),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(e):(t.removeChild(t.firstChild),t)}catch(n){return null}}}]),e}(),rr=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=Vn(e),t;var n=this.inertDocument.createElement("body");return n.innerHTML=Vn(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}(),ir=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,or=/^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 sr(e){return(e=String(e)).match(ir)||e.match(or)?e:"unsafe:"+e}function ar(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 ur(){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 cr,lr=ar("area,br,col,hr,img,wbr"),hr=ar("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),fr=ar("rp,rt"),dr=ur(fr,hr),vr=ur(lr,ur(hr,ar("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")),ur(fr,ar("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")),dr),pr=ar("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),mr=ar("srcset"),yr=ur(pr,mr,ar("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"),ar("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")),gr=ar("script,style,template"),br=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(!vr.hasOwnProperty(t))return this.sanitizedSomething=!0,!gr.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(yr.hasOwnProperty(a)){var u=o.value;pr[a]&&(u=sr(u)),mr[a]&&(n=u,u=(n=String(n)).split(",").map(function(e){return sr(e.trim())}).join(", ")),this.buf.push(" ",s,'="',wr(u),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0}},{key:"endElement",value:function(e){var t=e.nodeName.toLowerCase();vr.hasOwnProperty(t)&&!lr.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}},{key:"chars",value:function(e){this.buf.push(wr(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}(),_r=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,kr=/([^\#-~ |!])/g;function wr(e){return e.replace(/&/g,"&amp;").replace(_r,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(kr,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Sr(e,t){var n=null;try{cr=cr||function(e){var t=new rr(e);return function(){try{return!!(new window.DOMParser).parseFromString(Vn(""),"text/html")}catch(e){return!1}}()?new nr(t):t}(e);var r=t?String(t):"";n=cr.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=cr.getInertBodyElement(r)}while(r!==o);return Vn((new br).sanitizeChildren(Er(n)||n))}finally{if(n)for(var s=Er(n)||n;s.firstChild;)s.removeChild(s.firstChild)}}function Er(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Cr=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 Or(e){var t=xr();return t?Bn(t.sanitize(Cr.HTML,e)||""):Zn(e,"HTML")?Bn(Gn(e)):Sr(Fe(),I(e))}function Tr(e){var t=xr();return t?t.sanitize(Cr.URL,e)||"":Zn(e,"URL")?Gn(e):sr(I(e))}function xr(){var e=Ye();return e&&e[12]}function Ir(e){return e.ngDebugContext}function jr(e){return e.ngOriginalError}function Ar(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 Nr=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||Ar}(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?Ir(e)?Ir(e):this._findContext(jr(e)):null}},{key:"_findOriginalError",value:function(e){for(var t=jr(e);t&&jr(t);)t=jr(t);return t}}]),e}();function Dr(e,t){e.__ngContext__=t}var Rr=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Y);function Fr(e){return{name:"window",target:e.ownerDocument.defaultView}}function Pr(e){return{name:"document",target:e.ownerDocument}}function Lr(e){return e instanceof Function?e():e}var Mr=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({});function Hr(e,t){return(void 0)(e,t)}function Vr(e){var t=e[3];return ke(t)?t[3]:t}function Br(e){return Xr(e[13])}function zr(e){return Xr(e[4])}function Xr(e){for(;null!==e&&!ke(e);)e=e[4];return e}function Ur(e,t,n,r,i){if(null!=r){var o,s=!1;ke(r)?o=r:_e(r)&&(s=!0,r=r[0]);var a=Me(r);0===e&&null!==n?null==i?Yr(t,n,a):Jr(t,n,a,i||null,!0):1===e&&null!==n?Jr(t,n,a,i||null,!0):2===e?function(e,t,n){var r=ei(e,t);r&&function(e,t,n,r){Pe(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!==Me(n)&&Ur(t,e,r,o,i);for(var s=10;s<n.length;s++){var a=n[s];ui(a[1],a,e,t,r,o)}}(t,e,o,n,i)}}function qr(e,t,n){return Pe(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function Kr(e,t){var n=e[9],r=n.indexOf(t),i=t[3];1024&t[2]&&(t[2]&=-1025,Ze(i,-1)),n.splice(r,1)}function Wr(e,t){if(!(e.length<=10)){var n,r=10+t,i=e[r];if(i){var o=i[17];null!==o&&o!==e&&Kr(o,i),t>0&&(e[r-1][4]=i[4]);var s=_n(e,10+t);ui(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 Gr(e,t){if(!(256&t[2])){var n=t[11];Pe(n)&&n.destroyNode&&ui(e,t,n,3,null,null),function(e){var t=e[13];if(!t)return Zr(e[1],e);for(;t;){var n=null;if(_e(t))n=t[13];else{var r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)_e(t)&&Zr(t[1],t),t=t[3];null===t&&(t=e),_e(t)&&Zr(t[1],t),n=t&&t[4]}t=n}}(t)}}function Zr(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 Ft)){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,r=t[7],i=-1;if(null!==n)for(var o=0;o<n.length-1;o+=2)if("string"==typeof n[o]){var s=n[o+1],a="function"==typeof s?s(t):Me(t[s]),u=r[i=n[o+2]],c=n[o+3];"boolean"==typeof c?a.removeEventListener(n[o],u,c):c>=0?r[i=c]():r[i=-c].unsubscribe(),o+=2}else{var l=r[i=n[o+1]];n[o].call(l)}if(null!==r){for(var h=i+1;h<r.length;h++)(0,r[h])();t[7]=null}}(e,t),1===t[1].type&&Pe(t[11])&&t[11].destroy();var n=t[17];if(null!==n&&ke(t[3])){n!==t[3]&&Kr(n,t);var r=t[19];null!==r&&r.detachView(e)}}}function Qr(e,t,n){return function(e,t,n){for(var r=t;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];if(2&r.flags){var i=e.data[r.directiveStart].encapsulation;if(i===W.None||i===W.Emulated)return null}return Ve(r,n)}(e,t.parent,n)}function Jr(e,t,n,r,i){Pe(e)?e.insertBefore(t,n,r,i):t.insertBefore(n,r,i)}function Yr(e,t,n){Pe(e)?e.appendChild(t,n):t.appendChild(n)}function $r(e,t,n,r,i){null!==r?Jr(e,t,n,r,i):Yr(e,t,n)}function ei(e,t){return Pe(e)?e.parentNode(t):t.parentNode}function ti(e,t,n){return ni(e,t,n)}var ni=function(e,t,n){return 40&e.type?Ve(e,n):null};function ri(e,t,n,r){var i=Qr(e,r,t),o=t[11],s=ti(r.parent||t[6],r,t);if(null!=i)if(Array.isArray(n))for(var a=0;a<n.length;a++)$r(o,i,n[a],s,!1);else $r(o,i,n,s,!1)}function ii(e,t){if(null!==t){var n=t.type;if(3&n)return Ve(t,e);if(4&n)return si(-1,e[t.index]);if(8&n){var r=t.child;if(null!==r)return ii(e,r);var i=e[t.index];return ke(i)?si(-1,i):Me(i)}if(32&n)return Hr(t,e)()||Me(e[t.index]);var o=oi(e,t);return null!==o?Array.isArray(o)?o[0]:ii(Vr(e[16]),o):ii(e,t.next)}return null}function oi(e,t){return null!==t?e[16][6].projection[t.projection]:null}function si(e,t){var n=10+e+1;if(n<t.length){var r=t[n],i=r[1].firstChild;if(null!==i)return ii(r,i)}return t[7]}function ai(e,t,n,r,i,o,s){for(;null!=n;){var a=r[n.index],u=n.type;if(s&&0===t&&(a&&Dr(Me(a),r),n.flags|=4),64!=(64&n.flags))if(8&u)ai(e,t,n.child,r,i,o,!1),Ur(t,e,i,a,o);else if(32&u){for(var c=Hr(n,r),l=void 0;l=c();)Ur(t,e,i,l,o);Ur(t,e,i,a,o)}else 16&u?ci(e,t,r,n,i,o):Ur(t,e,i,a,o);n=s?n.projectionNext:n.next}}function ui(e,t,n,r,i,o){ai(n,r,e.firstChild,t,i,o,!1)}function ci(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++)Ur(t,e,i,a[u],o);else ai(e,t,a,s[3],i,o,!0)}function li(e,t,n){Pe(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function hi(e,t,n){Pe(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function fi(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 di(e,t,n){for(var r=0;r<e.length;){var i=e[r++];if(n&&"class"===i){if(-1!==fi((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 vi(e){return 4===e.type&&"ng-template"!==e.value}function pi(e,t,n){return t===(4!==e.type||n?e.value:"ng-template")}function mi(e,t,n){for(var r=4,i=e.attrs||[],o=function(e){for(var t=0;t<e.length;t++)if(Lt(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&&!pi(e,u,n)||""===u&&1===t.length){if(yi(r))return!1;s=!0}}else{var c=8&r?u:t[++a];if(8&r&&null!==e.attrs){if(!di(e.attrs,c,n)){if(yi(r))return!1;s=!0}continue}var l=gi(8&r?"class":u,i,vi(e),n);if(-1===l){if(yi(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!==fi(f,c,0)||2&r&&c!==h){if(yi(r))return!1;s=!0}}}}else{if(!s&&!yi(r)&&!yi(u))return!1;if(s&&yi(u))continue;s=!1,r=u|1&r}}return yi(r)||s}function yi(e){return 0==(1&e)}function gi(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 bi(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=0;r<t.length;r++)if(mi(e,t[r],n))return!0;return!1}function _i(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 ki(e,t){return e?":not("+t.trim()+")":t}function wi(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||yi(s)||(t+=ki(o,i),i=""),r=s,o=o||!yi(r);n++}return""!==i&&(t+=ki(o,i)),t}var Si={};function Ei(e){Ci($e(),Ye(),Et()+e,st())}function Ci(e,t,n,r){if(!r)if(3==(3&t[2])){var i=e.preOrderCheckHooks;null!==i&&jt(t,i,n)}else{var o=e.preOrderHooks;null!==o&&At(t,o,0,n)}Ct(n)}function Oi(e,t){return e<<17|t<<2}function Ti(e){return e>>17&32767}function xi(e){return 2|e}function Ii(e){return(131068&e)>>2}function ji(e,t){return-131069&e|t<<2}function Ai(e){return 1|e}function Ni(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];pt(i),s.contentQueries(2,t[o],o)}}}function Di(e,t,n,r,i,o,s,a,u,c){var l=t.blueprint.slice();return l[0]=i,l[2]=140|r,Ge(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 Ri(e,t,n,r,i){var o,s,a=e.data[t];if(null===a)a=function(e,t,n,r,i){var o=nt(),s=it(),a=e.data[t]=function(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}}(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),Qe.lFrame.inI18n&&(a.flags|=64);else if(64&a.type){a.type=n,a.value=r,a.attrs=i;var u=(o=Qe.lFrame,s=o.currentTNode,o.isParent?s:s.parent);a.injectorIndex=null===u?-1:u.injectorIndex}return rt(a,!0),a}function Fi(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 Pi(e,t,n){gt(t);try{var r=e.viewQuery;null!==r&&fo(1,r,n);var i=e.template;null!==i&&Hi(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Ni(e,t),e.staticViewQueries&&fo(2,e.viewQuery,n);var o=e.components;null!==o&&function(e,t){for(var n=0;n<t.length;n++)ao(e,t[n])}(t,o)}catch(s){throw e.firstCreatePass&&(e.incompleteFirstPass=!0),s}finally{t[2]&=-5,St()}}function Li(e,t,n,r){var i=t[2];if(256!=(256&i)){gt(t);var o=st();try{Ge(t),Qe.lFrame.bindingIndex=e.bindingStartIndex,null!==n&&Hi(e,t,n,2,r);var s=3==(3&i);if(!o)if(s){var a=e.preOrderCheckHooks;null!==a&&jt(t,a,null)}else{var u=e.preOrderHooks;null!==u&&At(t,u,0,null),Nt(t,0)}if(function(e){for(var t=Br(e);null!==t;t=zr(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])&&Ze(o,1),i[2]|=1024}}(t),function(e){for(var t=Br(e);null!==t;t=zr(t))for(var n=10;n<t.length;n++){var r=t[n],i=r[1];Ke(r)&&Li(i,r,i.template,r[8])}}(t),null!==e.contentQueries&&Ni(e,t),!o)if(s){var c=e.contentCheckHooks;null!==c&&jt(t,c)}else{var l=e.contentHooks;null!==l&&At(t,l,1),Nt(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)Ct(~a);else{var u=a,c=o[++s],l=o[++s];n=c,r=u,i=void 0,(i=Qe.lFrame).bindingIndex=i.bindingRootIndex=n,ft(r),l(2,t[u])}}}finally{Ct(-1)}}(e,t);var h=e.components;null!==h&&function(e,t){for(var n=0;n<t.length;n++)oo(e,t[n])}(t,h);var f=e.viewQuery;if(null!==f&&fo(2,f,r),!o)if(s){var d=e.viewCheckHooks;null!==d&&jt(t,d)}else{var v=e.viewHooks;null!==v&&At(t,v,2),Nt(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),o||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,Ze(t[3],-1))}finally{St()}}}function Mi(e,t,n,r){var i=t[10],o=!st(),s=qe(t);try{o&&!s&&i.begin&&i.begin(),s&&Pi(e,t,r),Li(e,t,n,r)}finally{o&&!s&&i.end&&i.end()}}function Hi(e,t,n,r,i){var o=Et();try{Ct(-1),2&r&&t.length>20&&Ci(e,t,20,st()),n(r,i)}finally{Ct(o)}}function Vi(e,t,n){if(we(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 Bi(e,t,n){Je()&&(function(e,t,n,r){var i=n.directiveStart,o=n.directiveEnd;e.firstCreatePass||Wt(n,t),Dr(r,t);for(var s=n.initialInputs,a=i;a<o;a++){var u=e.data[a],c=Ce(u);c&&to(t,n,u);var l=sn(t,e,a,n);Dr(l,t),null!==s&&no(0,a-i,l,u,0,s),c&&(Xe(n.index,t)[8]=l)}}(e,t,n,Ve(n,t)),128==(128&n.flags)&&function(e,t,n){var r=n.directiveStart,i=n.directiveEnd,o=n.index,s=Qe.lFrame.currentDirectiveIndex;try{Ct(o);for(var a=r;a<i;a++){var u=e.data[a],c=t[a];ft(a),null===u.hostBindings&&0===u.hostVars&&null===u.hostAttrs||Qi(u,c)}}finally{Ct(-1),ft(s)}}(e,t,n))}function zi(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ve,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 Xi(e){var t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Ui(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Ui(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:Si);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 qi(e,t,n,r){var i=po(t);null===n?i.push(r):(i.push(n),e.firstCreatePass&&mo(e).push(r,i.length-1))}function Ki(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 Wi(e,t,n,r,i,o,s,a){var u,c,l=Ve(t,n),h=t.inputs;!a&&null!=h&&(u=h[r])?(bo(e,n,u,r,i),Se(t)&&function(e,t){var n=Xe(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,Pe(o)?o.setProperty(l,r,i):Mt(r)||(l.setProperty?l.setProperty(r,i):l[r]=i))}function Gi(e,t,n,r){var i=!1;if(Je()){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];bi(n,s.selectors,!1)&&(i||(i=[]),Jt(Wt(n,t),e,s.type),Ce(s)?(Ji(e,n),i.unshift(s)):i.push(s))}return i}(e,t,n),s=null===r?null:{"":-1};if(null!==o){i=!0,$i(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=Fi(e,t,o.length,null),f=0;f<o.length;f++){var d=o[f];n.mergedAttrs=Ht(n.mergedAttrs,d.hostAttrs),eo(e,n,t,h,d),Yi(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||vi(t)?null:ro(l,i);o.push(h),s=Ki(l,u,s),a=Ki(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 x("301","Export of name '".concat(t[i+1],"' not found!"));r.push(t[i],o)}}(n,r,s)}return n.mergedAttrs=Ht(n.mergedAttrs,n.attrs),i}function Zi(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 Qi(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Ji(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function Yi(e,t,n){if(n){if(t.exportAs)for(var r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Ce(t)&&(n[""]=e)}}function $i(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function eo(e,t,n,r,i){e.data[r]=i;var o=i.factory||(i.factory=Oe(i.type)),s=new Ft(o,Ce(i),null);e.blueprint[r]=s,n[r]=s,Zi(e,t,0,r,Fi(e,n,i.hostVars,Si),i)}function to(e,t,n){var r=Ve(t,e),i=Xi(n),o=e[10],s=uo(e,Di(e,i,null,n.onPush?64:16,r,t,o,o.createRenderer(r,n),null,null));e[t.index]=s}function no(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 ro(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 io(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function oo(e,t){var n=Xe(t,e);if(Ke(n)){var r=n[1];80&n[2]?Li(r,n,r.template,n[8]):n[5]>0&&so(n)}}function so(e){for(var t=Br(e);null!==t;t=zr(t))for(var n=10;n<t.length;n++){var r=t[n];if(1024&r[2]){var i=r[1];Li(i,r,i.template,r[8])}else r[5]>0&&so(r)}var o=e[1].components;if(null!==o)for(var s=0;s<o.length;s++){var a=Xe(o[s],e);Ke(a)&&a[5]>0&&so(a)}}function ao(e,t){var n=Xe(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),Pi(r,n,n[8])}function uo(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function co(e){for(;e;){e[2]|=64;var t=Vr(e);if(0!=(512&e[2])&&!t)return e;e=t}return null}function lo(e,t,n){var r=t[10];r.begin&&r.begin();try{Li(e,t,e.template,n)}catch(i){throw go(t,i),i}finally{r.end&&r.end()}}function ho(e){!function(e){for(var t=0;t<e.components.length;t++){var n=e.components[t],r=Ue(n),i=r[1];Mi(i,r,i.template,n)}}(e[8])}function fo(e,t,n){pt(0),t(e,n)}var vo=Promise.resolve(null);function po(e){return e[7]||(e[7]=[])}function mo(e){return e.cleanup||(e.cleanup=[])}function yo(e,t,n){return(null===e||Ce(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 go(e,t){var n=e[9],r=n?n.get(Nr,null):null;r&&r.handleError(t)}function bo(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 _o(e,t,n){var r=He(t,e);!function(e,t,n){Pe(e)?e.setValue(t,n):t.textContent=n}(e[11],r,n)}function ko(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=S(i,a):2==o&&(r=S(r,a+": "+t[++s]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}var wo=new vn("INJECTOR",-1),So=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]:Cn;if(t===Cn){var n=new Error("NullInjectorError: No provider for ".concat(w(e),"!"));throw n.name="NullInjectorError",n}return t}}]),e}(),Eo=new vn("Set Injector scope."),Co={},Oo={},To=[],xo=void 0;function Io(){return void 0===xo&&(xo=new So),xo}function jo(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 Ao(e,n,t||Io(),r)}var Ao=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&&gn(n,function(e){return i.processProvider(e,t,n)}),gn([t],function(e){return i.processInjectorType(e,[],s)}),this.records.set(wo,Ro(void 0,this));var a=this.records.get(Eo);this.scope=null!=a?a.value:null,this.source=o||("object"==typeof t?null:w(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]:Cn,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:z.Default;this.assertNotDestroyed();var r,i=In(this);try{if(!(n&z.SkipSelf)){var o=this.records.get(e);if(void 0===o){var s=("function"==typeof(r=e)||"object"==typeof r&&r instanceof vn)&&R(e);o=s&&this.injectableDefInScope(s)?Ro(No(e),Co):null,this.records.set(e,o)}if(null!=o)return this.hydrate(e,o)}return(n&z.Self?Io():this.parent).get(e,t=n&z.Optional&&t===Cn?null:t)}catch(a){if("NullInjectorError"===a.name){if((a.ngTempTokenPath=a.ngTempTokenPath||[]).unshift(w(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=w(t);if(Array.isArray(t))i=t.map(w).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):w(a)))}i="{".concat(o.join(", "),"}")}return"".concat(n).concat(r?"("+r+")":"","[").concat(i,"]: ").concat(e.replace(On,"\n "))}("\n"+e.message,i,"R3InjectorError",r),e.ngTokenPath=i,e.ngTempTokenPath=null,e}(a,e,0,this.source)}throw a}finally{In(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(w(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=O(e)))return!1;var i=P(e),o=null==i&&e.ngModule||void 0,s=void 0===o?e:o,a=-1!==n.indexOf(s);if(void 0!==o&&(i=P(o)),null==i)return!1;if(null!=i.imports&&!a){var u;n.push(s);try{gn(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;gn(i,function(e){return r.processProvider(e,n,i||To)})},l=0;l<u.length;l++)c(l)}this.injectorDefTypes.add(s),this.records.set(s,Ro(i.factory,Co));var h=i.providers;if(null!=h&&!a){var f=e;gn(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=Po(e=O(e))?e:O(e&&e.provide),i=function(e,t,n){return Fo(e)?Ro(void 0,e.useValue):Ro(Do(e),Co)}(e);if(Po(e)||!0!==e.multi)this.records.get(r);else{var o=this.records.get(r);o||((o=Ro(void 0,Co,!0)).factory=function(){return Dn(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===Co&&(t.value=Oo,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 No(e){var t=R(e),n=null!==t?t.factory:Oe(e);if(null!==n)return n;var r=P(e);if(null!==r)return r.factory;if(e instanceof vn)throw new Error("Token ".concat(w(e)," is missing a \u0275prov definition."));if(e instanceof Function)return function(e){var t=e.length;if(t>0){var n=kn(t,"?");throw new Error("Can't resolve all parameters for ".concat(w(e),": (").concat(n.join(", "),")."))}var r=function(e){var t=e&&(e[M]||e[V]);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 Do(e,t,r){var o,s=void 0;if(Po(e)){var a=O(e);return Oe(a)||No(a)}if(Fo(e))s=function(){return O(e.useValue)};else if((o=e)&&o.useFactory)s=function(){return e.useFactory.apply(e,i(Dn(e.deps||[])))};else if(function(e){return!(!e||!e.useExisting)}(e))s=function(){return An(O(e.useExisting))};else{var u=O(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return Oe(u)||No(u);s=function(){return n(u,i(Dn(e.deps)))}}return s}function Ro(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{factory:e,value:t,multi:n?[]:void 0}}function Fo(e){return null!==e&&"object"==typeof e&&Tn in e}function Po(e){return"function"==typeof e}var Lo=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=jo(e,t,n,r);return i._resolveInjectorDefTypes(),i}({name:n},t,e,n)},Mo=function(){var e=function(){function e(){b(this,e)}return k(e,null,[{key:"create",value:function(e,t){return Array.isArray(e)?Lo(e,t,""):Lo(e.providers,e.parent,e.name||"")}}]),e}();return e.THROW_IF_NOT_FOUND=Cn,e.NULL=new So,e.\u0275prov=N({token:e,providedIn:"any",factory:function(){return An(wo)}}),e.__NG_ELEMENT_ID__=-1,e}();function Ho(e,t){It(Ue(e)[1],tt())}function Vo(e){for(var t=Object.getPrototypeOf(e.type.prototype).constructor,n=!0,r=[e];t;){var i=void 0;if(Ce(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=Bo(e.inputs),o.declaredInputs=Bo(e.declaredInputs),o.outputs=Bo(e.outputs);var s=i.hostBindings;s&&Uo(e,s);var a=i.viewQuery,u=i.contentQueries;if(a&&zo(e,a),u&&Xo(e,u),_(e.inputs,i.inputs),_(e.declaredInputs,i.declaredInputs),_(e.outputs,i.outputs),Ce(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===Vo&&(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=Ht(i.hostAttrs,n=Ht(n,i.hostAttrs))}}(r)}function Bo(e){return e===$?{}:e===ee?[]:e}function zo(e,t){var n=e.viewQuery;e.viewQuery=n?function(e,r){t(e,r),n(e,r)}:t}function Xo(e,t){var n=e.contentQueries;e.contentQueries=n?function(e,r,i){t(e,r,i),n(e,r,i)}:t}function Uo(e,t){var n=e.hostBindings;e.hostBindings=n?function(e,r){t(e,r),n(e,r)}:t}var qo=null;function Ko(){if(!qo){var e=Y.Symbol;if(e&&e.iterator)qo=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&&(qo=r)}}return qo}var Wo=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 Go(e){return!!Zo(e)&&(Array.isArray(e)||!(e instanceof Map)&&Ko()in e)}function Zo(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Qo(e,t,n){return e[t]=n}function Jo(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Yo(e,t,n,r){var i=Jo(e,t,n);return Jo(e,t+1,r)||i}function $o(e,t,n,r){var i=Ye();return Jo(i,lt(),t)&&($e(),function(e,t,n,r,i,o){var s=Ve(e,t);!function(e,t,n,r,i,o,s){if(null==o)Pe(e)?e.removeAttribute(t,i,n):t.removeAttribute(i);else{var a=null==s?I(o):s(o,r||"",i);Pe(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)}(Ot(),i,e,t,n,r)),$o}function es(e,t,n,r){return Jo(e,lt(),n)?t+I(n)+r:Si}function ts(e,t,n,r,i,o,s,a){var u=Ye(),c=$e(),l=e+20,h=c.firstCreatePass?function(e,t,n,r,i,o,s,a,u){var c=t.consts,l=Ri(t,e,4,s||null,We(c,a));Gi(t,n,l,We(c,u)),It(t,l);var h=l.tViews=Ui(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];rt(h,!1);var f=u[11].createComment("");ri(c,u,f,h),Dr(f,u),uo(u,u[l]=io(f,u,f,h)),Ee(h)&&Bi(c,u,h),null!=s&&zi(u,h,a)}function ns(e){return ze(Qe.lFrame.contextLView,20+e)}function rs(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:z.Default,n=Ye();return null===n?An(e,t):en(tt(),n,O(e),t)}function is(e,t,n){var r=Ye();return Jo(r,lt(),t)&&Wi($e(),Ot(),r,e,t,r[11],n,!1),is}function os(e,t,n,r,i){var o=i?"class":"style";bo(e,n,t.inputs[o],o,r)}function ss(e,t,n,r){var i=Ye(),o=$e(),s=20+e,a=i[11],u=i[s]=qr(a,t,Qe.lFrame.currentNamespace),c=o.firstCreatePass?function(e,t,n,r,i,o,s){var a=t.consts,u=Ri(t,e,2,i,We(a,o));return Gi(t,n,u,We(a,s)),null!==u.attrs&&ko(u,u.attrs,!1),null!==u.mergedAttrs&&ko(u,u.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,u),u}(s,o,i,0,t,n,r):o.data[s];rt(c,!0);var l=c.mergedAttrs;null!==l&&Pt(a,u,l);var h=c.classes;null!==h&&hi(a,u,h);var f=c.styles;null!==f&&li(a,u,f),64!=(64&c.flags)&&ri(o,i,u,c),0===Qe.lFrame.elementDepthCount&&Dr(u,i),Qe.lFrame.elementDepthCount++,Ee(c)&&(Bi(o,i,c),Vi(o,c,i)),null!==r&&zi(i,c)}function as(){var e=tt();it()?ot():rt(e=e.parent,!1);var t=e;Qe.lFrame.elementDepthCount--;var n=$e();n.firstCreatePass&&(It(n,e),we(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&os(n,t,Ye(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&os(n,t,Ye(),t.stylesWithoutHost,!1)}function us(e,t,n,r){ss(e,t,n,r),as()}function cs(e,t,n){var r=Ye(),i=$e(),o=e+20,s=i.firstCreatePass?function(e,t,n,r,i){var o=t.consts,s=We(o,r),a=Ri(t,e,8,"ng-container",s);return null!==s&&ko(a,s,!0),Gi(t,n,a,We(o,i)),null!==t.queries&&t.queries.elementStart(t,a),a}(o,i,r,t,n):i.data[o];rt(s,!0);var a=r[o]=r[11].createComment("");ri(i,r,a,s),Dr(a,r),Ee(s)&&(Bi(i,r,s),Vi(i,s,r)),null!=n&&zi(r,s)}function ls(){var e=tt(),t=$e();it()?ot():rt(e=e.parent,!1),t.firstCreatePass&&(It(t,e),we(e)&&t.queries.elementEnd(e))}function hs(){return Ye()}function fs(e){return!!e&&"function"==typeof e.then}function ds(e){return!!e&&"function"==typeof e.subscribe}var vs=ds;function ps(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3?arguments[3]:void 0,i=Ye(),o=$e(),s=tt();return ys(o,i,i[11],s,e,t,n,r),ps}function ms(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3?arguments[3]:void 0,i=tt(),o=Ye(),s=$e();return ys(s,o,yo(dt(s.data),i,o),i,e,t,n,r),ms}function ys(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=Ee(r),c=e.firstCreatePass&&mo(e),l=po(t),h=!0;if(3&r.type){var f=Ve(r,t),d=a?a(f):$,v=d.target||f,p=l.length,m=a?function(e){return a(Me(e[r.index])).target}:r.index;if(Pe(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=bs(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=bs(r,t,o,!0),v.addEventListener(i,o,s),l.push(o),c&&c.push(i,m,p,s)}else o=bs(r,t,o,!1);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 gs(e,t,n){try{return!1!==t(n)}catch(r){return go(e,r),!1}}function bs(e,t,n,r){return function i(o){if(o===Function)return n;var s=2&e.flags?Xe(e.index,t):t;0==(32&t[2])&&co(s);for(var a=gs(t,n,o),u=i.__ngNextListenerFn__;u;)a=gs(t,u,o)&&a,u=u.__ngNextListenerFn__;return r&&!1===a&&(o.preventDefault(),o.returnValue=!1),a}}function _s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return function(e){return(Qe.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,Qe.lFrame.contextLView))[8]}(e)}function ks(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?bi(e,o,!0):_i(r,o))return i}else n=i}return n}function ws(e){var t=Ye()[16][6];if(!t.projection)for(var n=t.projection=kn(e?e.length:1,null),r=n.slice(),i=t.child;null!==i;){var o=e?ks(i,e):0;null!==o&&(r[o]?r[o].projectionNext=i:n[o]=i,r[o]=i),i=i.next}}function Ss(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,r=Ye(),i=$e(),o=Ri(i,20+e,16,null,n||null);null===o.projection&&(o.projection=t),ot(),64!=(64&o.flags)&&function(e,t,n){ci(t[11],0,t,n,Qr(e,n,t),ti(n.parent||t[6],n,t))}(i,r,o)}function Es(e,t,n){return Cs(e,"",t,"",n),Es}function Cs(e,t,n,r,i){var o=Ye(),s=es(o,t,n,r);return s!==Si&&Wi($e(),Ot(),o,e,s,o[11],i,!1),Cs}var Os=[];function Ts(e,t,n,r,i){for(var o=e[n+1],s=null===t,a=r?Ti(o):Ii(o),u=!1;0!==a&&(!1===u||s);){var c=e[a+1];xs(e[a],t)&&(u=!0,e[a+1]=r?Ai(c):xi(c)),a=r?Ti(c):Ii(c)}u&&(e[n+1]=r?xi(o):Ai(o))}function xs(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&En(e,t)>=0}var Is={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function js(e){return e.substring(Is.key,Is.keyEnd)}function As(e,t){var n=Is.textEnd;return n===t?-1:(t=Is.keyEnd=function(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Is.key=t,n),Ns(e,t,n))}function Ns(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Ds(e,t,n){return Ls(e,t,n,!1),Ds}function Rs(e,t){return Ls(e,t,null,!0),Rs}function Fs(e){Ms(wn,Ps,e,!0)}function Ps(e,t){for(var n=function(e){return function(e){Is.key=0,Is.keyEnd=0,Is.value=0,Is.valueEnd=0,Is.textEnd=e.length}(e),As(e,Ns(e,0,Is.textEnd))}(t);n>=0;n=As(t,n))wn(e,js(t),!0)}function Ls(e,t,n,r){var i=Ye(),o=$e(),s=ht(2);o.firstUpdatePass&&Vs(o,e,s,r),t!==Si&&Jo(i,s,t)&&Xs(o,o.data[Et()],i,i[11],e,i[s+1]=function(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=w(Gn(e)))),e}(t,n),r,s)}function Ms(e,t,n,r){var i=$e(),o=ht(2);i.firstUpdatePass&&Vs(i,null,o,r);var s=Ye();if(n!==Si&&Jo(s,o,n)){var a=i.data[Et()];if(Ks(a,r)&&!Hs(i,o)){var u=r?a.classesWithoutHost:a.stylesWithoutHost;null!==u&&(n=S(u,n||"")),os(i,a,s,n,r)}else!function(e,t,n,r,i,o,s,a){i===Si&&(i=Os);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&&Xs(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 Os;var r=[],i=Gn(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 Hs(e,t){return t>=e.expandoStartIndex}function Vs(e,t,n,r){var i=e.data;if(null===i[n+1]){var o=i[Et()],s=Hs(e,n);Ks(o,r)&&null===t&&!s&&(t=!1),t=function(e,t,n,r){var i=dt(e),o=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=zs(n=Bs(null,e,t,n,r),t.attrs,r),o=null);else{var s=t.directiveStylingLast;if(-1===s||e[s]!==i)if(n=Bs(i,e,t,n,r),null===o){var a=function(e,t,n){var r=n?t.classBindings:t.styleBindings;if(0!==Ii(r))return e[Ti(r)]}(e,t,r);void 0!==a&&Array.isArray(a)&&function(e,t,n,r){e[Ti(n?t.classBindings:t.styleBindings)]=r}(e,t,r,a=zs(a=Bs(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=zs(r,e[o].hostAttrs,n);return zs(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=Ti(s),u=Ii(s);e[r]=n;var c,l=!1;if(Array.isArray(n)){var h=n;(null===(c=h[1])||En(h,c)>0)&&(l=!0)}else c=n;if(i)if(0!==u){var f=Ti(e[a+1]);e[r+1]=Oi(f,a),0!==f&&(e[f+1]=ji(e[f+1],r)),e[a+1]=131071&e[a+1]|r<<17}else e[r+1]=Oi(a,0),0!==a&&(e[a+1]=ji(e[a+1],r)),a=r;else e[r+1]=Oi(u,0),0===a?a=r:e[u+1]=ji(e[u+1],r),u=r;l&&(e[r+1]=xi(e[r+1])),Ts(e,c,r,!0),Ts(e,c,r,!1),function(e,t,n,r,i){var o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&En(o,t)>=0&&(n[r+1]=Ai(n[r+1]))}(t,c,e,r,o),s=Oi(a,u),o?t.classBindings=s:t.styleBindings=s}(i,o,t,n,s,r)}}function Bs(e,t,n,r,i){var o=null,s=n.directiveEnd,a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<s&&(r=zs(r,(o=t[a]).hostAttrs,i),o!==e);)a++;return null!==e&&(n.directiveStylingLast=a),r}function zs(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]),wn(e,s,!!n||t[++o]))}return void 0===e?null:e}function Xs(e,t,n,r,i,o,s,a){if(3&t.type){var u=e.data,c=u[a+1];qs(1==(1&c)?Us(u,t,n,i,Ii(c),s):void 0)||(qs(o)||2==(2&c)&&(o=Us(u,null,n,i,a,s)),function(e,t,n,r,i){var o=Pe(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:Mr.DashCase;if(null==i)o?e.removeStyle(n,r,s):n.style.removeProperty(r);else{var a="string"==typeof i&&i.endsWith("!important");a&&(i=i.slice(0,-10),s|=Mr.Important),o?e.setStyle(n,r,i,s):n.style.setProperty(r,i,a?"important":"")}}}(r,s,He(Et(),n),i,o))}}function Us(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===Si&&(f=h?Os:void 0);var d=h?Sn(f,r):l===r?f:void 0;if(c&&!qs(d)&&(d=Sn(u,r)),qs(d)&&(a=d,s))return a;var v=e[i+1];i=s?Ti(v):Ii(v)}if(null!==t){var p=o?t.residualClasses:t.residualStyles;null!=p&&(a=Sn(p,r))}return a}function qs(e){return void 0!==e}function Ks(e,t){return 0!=(e.flags&(t?16:32))}function Ws(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Ye(),r=$e(),i=e+20,o=r.firstCreatePass?Ri(r,i,1,t,null):r.data[i],s=n[i]=function(e,t){return Pe(e)?e.createText(t):e.createTextNode(t)}(n[11],t);ri(r,n,s,o),rt(o,!1)}function Gs(e){return Zs("",e,""),Gs}function Zs(e,t,n){var r=Ye(),i=es(r,e,t,n);return i!==Si&&_o(r,Et(),i),Zs}function Qs(e,t,n,r,i){var o=Ye(),s=function(e,t,n,r,i,o){var s=Yo(e,ct(),n,i);return ht(2),s?t+I(n)+r+I(i)+o:Si}(o,e,t,n,r,i);return s!==Si&&_o(o,Et(),s),Qs}function Js(e,t,n){Ms(wn,Ps,es(Ye(),e,t,n),!0)}function Ys(e,t,n){var r=Ye();return Jo(r,lt(),t)&&Wi($e(),Ot(),r,e,t,r[11],n,!0),Ys}function $s(e,t,n){var r=Ye();if(Jo(r,lt(),t)){var i=$e(),o=Ot();Wi(i,o,r,e,t,yo(dt(i.data),o,r),n,!0)}return $s}var ea=void 0,ta=["en",[["a","p"],["AM","PM"],ea],[["AM","PM"],ea,ea],[["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"]],ea,[["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"]],ea,[["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}",ea,"{1} 'at' {0}",ea],[".",",",";","%","+","-","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}],na={};function ra(e,t,n){"string"!=typeof t&&(n=t,t=e[ua.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),na[t]=e,n&&(na[t][ua.ExtraData]=n)}function ia(e){var t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e),n=aa(t);if(n)return n;var r=t.split("-")[0];if(n=aa(r))return n;if("en"===r)return ta;throw new Error('Missing locale data for the locale "'.concat(e,'".'))}function oa(e){return ia(e)[ua.CurrencyCode]||null}function sa(e){return ia(e)[ua.PluralCase]}function aa(e){return e in na||(na[e]=Y.ng&&Y.ng.common&&Y.ng.common.locales&&Y.ng.common.locales[e]),na[e]}var ua=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 ca(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 la(e,t,n,r,i){if(e=O(e),Array.isArray(e))for(var o=0;o<e.length;o++)la(e[o],t,n,r,i);else{var s=$e(),a=Ye(),u=Po(e)?e:O(e.provide),c=Do(e),l=tt(),h=1048575&l.providerIndexes,f=l.directiveStart,d=l.providerIndexes>>20;if(Po(e)||!e.multi){var v=new Ft(c,i,rs),p=da(u,t,i?h:h+d,f);-1===p?(Jt(Wt(l,a),s,u),ha(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=da(u,t,h+d,f),y=da(u,t,h,h+d),g=m>=0&&n[m],b=y>=0&&n[y];if(i&&!b||!i&&!g){Jt(Wt(l,a),s,u);var _=function(e,t,n,r,i){var o=new Ft(e,n,rs);return o.multi=[],o.index=t,o.componentProviders=0,fa(o,i,r&&!n),o}(i?pa:va,n.length,i,r,c);!i&&b&&(n[y].providerFactory=_),ha(s,e,t.length,0),t.push(u),l.directiveStart++,l.directiveEnd++,i&&(l.providerIndexes+=1048576),n.push(_),a.push(_)}else ha(s,e,m>-1?m:y,fa(n[i?y:m],c,!i&&r));!i&&r&&b&&n[y].componentProviders++}}}function ha(e,t,n,r){var i=Po(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 fa(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function da(e,t,n,r){for(var i=n;i<r;i++)if(t[i]===e)return i;return-1}function va(e,t,n,r){return ma(this.multi,[])}function pa(e,t,n,r){var i,o=this.multi;if(this.providerFactory){var s=this.providerFactory.componentProviders,a=sn(n,n[1],this.providerFactory.index,r);ma(o,i=a.slice(0,s));for(var u=s;u<a.length;u++)i.push(a[u])}else ma(o,i=[]);return i}function ma(e,t){for(var n=0;n<e.length;n++)t.push((0,e[n])());return t}function ya(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=$e();if(r.firstCreatePass){var i=Ce(e);la(n,r.data,r.blueprint,i,!0),la(t,r.data,r.blueprint,i,!1)}}(n,r?r(e):e,t)}}}var ga=function e(){b(this,e)},ba=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(w(e),". Did you add it to @NgModule.entryComponents?"));return t.ngComponent=e,t}(e)}}]),e}(),_a=function(){var e=function e(){b(this,e)};return e.NULL=new ba,e}();function ka(){}function wa(e,t){return new Ea(Ve(e,t))}var Sa=function(){return wa(tt(),Ye())},Ea=function(){var e=function e(t){b(this,e),this.nativeElement=t};return e.__NG_ELEMENT_ID__=Sa,e}();function Ca(e){return e instanceof Ea?e.nativeElement:e}var Oa=function e(){b(this,e)},Ta=function(){var e=function e(){b(this,e)};return e.__NG_ELEMENT_ID__=function(){return xa()},e}(),xa=function(){var e=Ye(),t=Xe(tt().index,e);return function(e){return e[11]}(_e(t)?t:e)},Ia=function(){var e=function e(){b(this,e)};return e.\u0275prov=N({token:e,providedIn:"root",factory:function(){return null}}),e}(),ja=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(".")},Aa=new ja("11.2.3"),Na=function(){function e(){b(this,e)}return k(e,[{key:"supports",value:function(e){return Go(e)}},{key:"create",value:function(e){return new Ra(e)}}]),e}(),Da=function(e,t){return t},Ra=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||Da}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<Ma(n,r,i)?t:n,s=Ma(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=[]),!Go(e))throw new Error("Error trying to diff '".concat(w(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[Ko()]();!(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._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,i,r)):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)):e=this._addAfter(new Fa(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 La),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 La),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}(),Fa=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},Pa=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}(),La=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 Pa,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 Ma(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 Ha=function(){function e(){b(this,e)}return k(e,[{key:"supports",value:function(e){return e instanceof Map||Zo(e)}},{key:"create",value:function(){return new Va}}]),e}(),Va=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||Zo(e)))throw new Error("Error trying to diff '".concat(w(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 Ba(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}(),Ba=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};function za(){return new Xa([new Na])}var Xa=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){return e.create(t,n||za())},deps:[[e,new Hn,new Mn]]}}}]),e}();return e.\u0275prov=N({token:e,providedIn:"root",factory:za}),e}();function Ua(){return new qa([new Ha])}var qa=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){return e.create(t,n||Ua())},deps:[[e,new Hn,new Mn]]}}}]),e}();return e.\u0275prov=N({token:e,providedIn:"root",factory:Ua}),e}();function Ka(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(Me(s)),ke(s))for(var a=10;a<s.length;a++){var u=s[a],c=u[1].firstChild;null!==c&&Ka(u[1],u,c,r)}var l=n.type;if(8&l)Ka(e,t,n.child,r);else if(32&l)for(var h=Hr(n,t),f=void 0;f=h();)r.push(f);else if(16&l){var d=oi(t,n);if(Array.isArray(d))r.push.apply(r,i(d));else{var v=Vr(t[16]);Ka(v[1],v,d,r,!0)}}n=o?n.projectionNext:n.next}return r}var Wa=function(){function e(t,n){b(this,e),this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}return k(e,[{key:"destroy",value:function(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){var e=this._lView[3];if(ke(e)){var t=e[8],n=t?t.indexOf(this):-1;n>-1&&(Wr(e,n),_n(t,n))}this._attachedToViewContainer=!1}Gr(this._lView[1],this._lView)}},{key:"onDestroy",value:function(e){qi(this._lView[1],this._lView,null,e)}},{key:"markForCheck",value:function(){co(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){lo(this._lView[1],this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function(e,t,n){at(!0);try{lo(e,t,n)}finally{at(!1)}}(this._lView[1],this._lView,this.context)}},{key:"attachToViewContainerRef",value:function(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}},{key:"detachFromAppRef",value:function(){var e;this._appRef=null,ui(this._lView[1],e=this._lView,e[11],2,null,null)}},{key:"attachToAppRef",value:function(e){if(this._attachedToViewContainer)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 Ka(t,e,t.firstChild,[])}},{key:"context",get:function(){return this._lView[8]}},{key:"destroyed",get:function(){return 256==(256&this._lView[2])}}]),e}(),Ga=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(){ho(this._view)}},{key:"checkNoChanges",value:function(){!function(e){at(!0);try{ho(e)}finally{at(!1)}}(this._view)}},{key:"context",get:function(){return null}}]),n}(Wa),Za=Ja,Qa=function(){var e=function e(){b(this,e)};return e.__NG_ELEMENT_ID__=Za,e.__ChangeDetectorRef__=!0,e}();function Ja(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(e,t,n){if(!n&&Se(e)){var r=Xe(e.index,t);return new Wa(r,r)}return 47&e.type?new Wa(t[16],t):null}(tt(),Ye(),e)}var Ya=[new Ha],$a=new Xa([new Na]),eu=new qa(Ya),tu=function(){return iu(tt(),Ye())},nu=function(){var e=function e(){b(this,e)};return e.__NG_ELEMENT_ID__=tu,e}(),ru=function(e){f(n,e);var t=v(n);function n(e,r,i){var o;return b(this,n),(o=t.call(this))._declarationLView=e,o._declarationTContainer=r,o.elementRef=i,o}return k(n,[{key:"createEmbeddedView",value:function(e){var t=this._declarationTContainer.tViews,n=Di(this._declarationLView,t,e,16,null,t.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];var r=this._declarationLView[19];return null!==r&&(n[19]=r.createEmbeddedView(t)),Pi(t,n,e),new Wa(n)}}]),n}(nu);function iu(e,t){return 4&e.type?new ru(t,e,wa(e,t)):null}var ou=function e(){b(this,e)},su=function e(){b(this,e)},au=function(){return fu(tt(),Ye())},uu=function(){var e=function e(){b(this,e)};return e.__NG_ELEMENT_ID__=au,e}(),cu=function(e){f(n,e);var t=v(n);function n(e,r,i){var o;return b(this,n),(o=t.call(this))._lContainer=e,o._hostTNode=r,o._hostLView=i,o}return k(n,[{key:"clear",value:function(){for(;this.length>0;)this.remove(this.length-1)}},{key:"get",value:function(e){var t=lu(this._lContainer);return null!==t&&t[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(ou,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 r=e._lView,i=r[1];if(ke(r[3])){var o=this.indexOf(e);if(-1!==o)this.detach(o);else{var s=r[3],a=new n(s,s[6],s[3]);a.detach(a.indexOf(e))}}var u=this._adjustIndex(t),c=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],bn(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}(i,r,c,u);var l=si(u,c),h=r[11],f=ei(h,c[7]);return null!==f&&function(e,t,n,r,i,o){r[0]=i,r[6]=t,ui(e,r,n,1,i,o)}(i,c[6],h,r,f,l),e.attachToViewContainerRef(),bn(hu(c),u,e),e}},{key:"move",value:function(e,t){return this.insert(e,t)}},{key:"indexOf",value:function(e){var t=lu(this._lContainer);return null!==t?t.indexOf(e):-1}},{key:"remove",value:function(e){var t=this._adjustIndex(e,-1),n=Wr(this._lContainer,t);n&&(_n(hu(this._lContainer),t),Gr(n[1],n))}},{key:"detach",value:function(e){var t=this._adjustIndex(e,-1),n=Wr(this._lContainer,t);return n&&null!=_n(hu(this._lContainer),t)?new Wa(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:"element",get:function(){return wa(this._hostTNode,this._hostLView)}},{key:"injector",get:function(){return new cn(this._hostTNode,this._hostLView)}},{key:"parentInjector",get:function(){var e=Qt(this._hostTNode,this._hostLView);if(Bt(e)){var t=Xt(e,this._hostLView),n=zt(e);return new cn(t[1].data[n+8],t)}return new cn(null,this._hostLView)}},{key:"length",get:function(){return this._lContainer.length-10}}]),n}(uu);function lu(e){return e[8]}function hu(e){return e[8]||(e[8]=[])}function fu(e,t){var n,r=t[e.index];if(ke(r))n=r;else{var i;if(8&e.type)i=Me(r);else{var o=t[11];i=o.createComment("");var s=Ve(e,t);Jr(o,ei(o,s),i,function(e,t){return Pe(e)?e.nextSibling(t):t.nextSibling}(o,s),!1)}t[e.index]=n=io(r,t,i,e),uo(t,n)}return new cu(n,e,t)}var du={},vu=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=ge(e);return new yu(t,this.ngModule)}}]),n}(_a);function pu(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}var mu=new vn("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return Rr}}),yu=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(wi).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,du,i);return o!==du||r===du?o:t.get(n,r,i)}}}(e,r.injector):e,a=s.get(Oa,Le),u=s.get(Ia,null),c=a.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",h=n?function(e,t,n){if(Pe(e))return e.selectRootElement(t,n===W.ShadowDom);var r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(c,n,this.componentDef.encapsulation):qr(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:Rr,clean:vo,playerHandler:null,flags:0},v=Ui(0,null,null,1,0,null,null,null,null,null),p=Di(null,v,d,f,null,null,a,c,u,s);gt(p);try{var m=function(e,t,n,r,i,o){var s=n[1];n[20]=e;var a=Ri(s,20,2,"#host",null),u=a.mergedAttrs=t.hostAttrs;null!==u&&(ko(a,u,!0),null!==e&&(Pt(i,e,u),null!==a.classes&&hi(i,e,a.classes),null!==a.styles&&li(i,e,a.styles)));var c=r.createRenderer(e,t),l=Di(n,Xi(t),null,t.onPush?64:16,n[20],a,r,c,null,null);return s.firstCreatePass&&(Jt(Wt(a,n),s,t.type),Ji(s,a),$i(a,n.length,1)),uo(n,l),n[20]=l}(h,this.componentDef,p,a,c);if(h)if(n)Pt(c,h,["ng-version",Aa.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(!yi(i))break;i=o}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]),g=y.attrs,b=y.classes;g&&Pt(c,h,g),b&&b.length>0&&hi(c,h,b.join(" "))}if(o=Be(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=tt();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),eo(e,r,t,Fi(e,t,1,null),n));var i=sn(t,e,r.directiveStart,r);Dr(i,t);var o=Ve(r,t);return o&&Dr(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=tt();t.contentQueries(1,s,a.directiveStart)}var u=tt();return!o.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(Ct(u.index),Zi(n[1],u,0,u.directiveStart,u.directiveEnd,t),Qi(t,s)),s}(m,this.componentDef,p,d,[Ho]),Pi(v,p,null)}finally{St()}return new gu(this.componentType,i,wa(o,p),p,o)}},{key:"inputs",get:function(){return pu(this.componentDef.inputs)}},{key:"outputs",get:function(){return pu(this.componentDef.outputs)}}]),n}(ga),gu=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.instance=r,a.hostView=a.changeDetectorRef=new Ga(o),a.componentType=e,a}return k(n,[{key:"destroy",value:function(){this.hostView.destroy()}},{key:"onDestroy",value:function(e){this.hostView.onDestroy(e)}},{key:"injector",get:function(){return new cn(this._tNode,this._rootLView)}}]),n}(function(){return function e(){b(this,e)}}()),bu=new Map,_u=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 vu(m(i));var o=be(e),s=e[oe]||null;return s&&ca(s),i._bootstrapComponents=Lr(o.bootstrap),i._r3Injector=jo(e,r,[{provide:ou,useValue:m(i)},{provide:_a,useValue:i.componentFactoryResolver}],w(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]:Mo.THROW_IF_NOT_FOUND,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:z.Default;return e===Mo||e===ou||e===wo?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}(ou),ku=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!==be(e)&&(o=e,s=new Set,function e(t){var n=be(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(w(t)," vs ").concat(w(t.name)))}(i,bu.get(i),t),bu.set(i,t));var o,a=r(Lr(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 _u(this.moduleType,e)}}]),n}(su);function wu(e,t,n,r){return Cu(Ye(),ut(),e,t,n,r)}function Su(e,t,n,r,i){return function(e,t,n,r,i,o,s){var a=t+n;return Yo(e,a,i,o)?Qo(e,a+2,s?r.call(s,i,o):r(i,o)):Eu(e,a+2)}(Ye(),ut(),e,t,n,r,i)}function Eu(e,t){var n=e[t];return n===Si?void 0:n}function Cu(e,t,n,r,i,o){var s=t+n;return Jo(e,s,i)?Qo(e,s+1,o?r.call(o,i):r(i)):Eu(e,s+1)}function Ou(e,t){var n,r=$e(),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 x("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=Oe(n.type)),s=X(rs);try{var a=qt(!1),u=o();return qt(a),function(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(r,Ye(),i,u),u}finally{X(s)}}function Tu(e,t,n){var r=e+20,i=Ye(),o=ze(i,r);return function(e,t){return Wo.isWrapped(t)&&(t=Wo.unwrap(t),e[ct()]=Si),t}(i,function(e,t){return e[1].data[t].pure}(i,r)?Cu(i,ut(),t,o.transform,n,o):o.transform(n))}var xu=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 Iu(){return this._results[Ko()]()}var ju=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];b(this,e),this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;var n=Ko(),r=e.prototype;r[n]||(r[n]=Iu)}return k(e,[{key:"get",value:function(e){return this._results[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,t){this.dirty=!1;var n=yn(e);(this._changesDetected=!function(e,t,n){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++){var i=e[r],o=t[r];if(n&&(i=n(i),o=n(o)),o!==i)return!1}return!0}(this._results,n,t))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}},{key:"notifyOnChanges",value:function(){!this._changes||!this._changesDetected&&this._emitDistinctChangesOnly||this._changes.emit(this)}},{key:"setDirty",value:function(){this.dirty=!0}},{key:"destroy",value:function(){this.changes.complete(),this.changes.unsubscribe()}},{key:"changes",get:function(){return this._changes||(this._changes=new xu)}}]),e}(),Au=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}(),Nu=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!==Ku(e,t).matches&&this.queries[t].setDirty()}}]),e}(),Du=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;b(this,e),this.predicate=t,this.flags=n,this.read=r},Ru=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}(),Fu=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!=(1&this.metadata.flags)){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,Pu(t,i)),this.matchTNodeWithReadOption(e,t,on(t,e,i,!1,!1))}else n===nu?4&t.type&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,on(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===Ea||r===uu||r===nu&&4&t.type)this.addMatch(t.index,-2);else{var i=on(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 Pu(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 Lu(e,t,n,r){return-1===n?function(e,t){return 11&e.type?wa(e,t):4&e.type?iu(e,t):null}(t,e):-2===n?function(e,t,n){return n===Ea?wa(t,e):n===nu?iu(t,e):n===uu?fu(t,e):void 0}(e,t,r):sn(e,e[1],n,t)}function Mu(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:Lu(t,o[c],s[u+1],n.metadata.read))}i.matches=a}return i.matches}function Hu(e,t,n,r){var i=e.queries.getByIndex(n),o=i.matches;if(null!==o)for(var s=Mu(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]&&Hu(f[1],f,c,r)}if(null!==l[9])for(var d=l[9],v=0;v<d.length;v++){var p=d[v];Hu(p[1],p,c,r)}}}return r}function Vu(e){var t=Ye(),n=$e(),r=vt();pt(r+1);var i=Ku(n,r);if(e.dirty&&qe(t)===(2==(2&i.metadata.flags))){if(null===i.matches)e.reset([]);else{var o=i.crossesNgTemplate?Hu(n,t,r,[]):Mu(n,t,i,r);e.reset(o,Ca),e.notifyOnChanges()}return!0}return!1}function Bu(e,t,n){var r=$e();r.firstCreatePass&&(qu(r,new Du(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),Uu(r,Ye(),t)}function zu(e,t,n,r){var i=$e();if(i.firstCreatePass){var o=tt();qu(i,new Du(t,n,r),o.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)}(i,e),2==(2&n)&&(i.staticContentQueries=!0)}Uu(i,Ye(),n)}function Xu(){return e=Ye(),t=vt(),e[19].queries[t].queryList;var e,t}function Uu(e,t,n){var r=new ju(4==(4&n));qi(e,t,r,r.destroy),null===t[19]&&(t[19]=new Nu),t[19].queries.push(new Au(r))}function qu(e,t,n){null===e.queries&&(e.queries=new Ru),e.queries.track(new Fu(t,n))}function Ku(e,t){return e.queries.getByIndex(t)}function Wu(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:z.Default,t=Ja(!0);if(null!=t||e&z.Optional)return t;A("ChangeDetectorRef")}var Gu=new vn("Application Initializer"),Zu=function(){var e=function(){function e(t){var n=this;b(this,e),this.appInits=t,this.resolve=ka,this.reject=ka,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]();fs(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)(An(Gu,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac}),e}(),Qu=new vn("AppId"),Ju={provide:Qu,useFactory:function(){return"".concat(Yu()).concat(Yu()).concat(Yu())},deps:[]};function Yu(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var $u=new vn("Platform Initializer"),ec=new vn("Platform ID"),tc=new vn("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=N({token:e,factory:e.\u0275fac}),e}(),rc=new vn("LocaleId"),ic=new vn("DefaultCurrencyCode"),oc=function e(t,n){b(this,e),this.ngModuleFactory=t,this.componentFactories=n},sc=function(e){return new ku(e)},ac=sc,uc=function(e){return Promise.resolve(sc(e))},cc=function(e){var t=sc(e),n=Lr(be(e).declarations).reduce(function(e,t){var n=ge(t);return n&&e.push(new yu(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=N({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,u=t.shouldCoalesceRunChangeDetection,c=void 0!==u&&u;if(b(this,e),this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new xu(!1),this.onMicrotaskEmpty=new xu(!1),this.onStable=new xu(!1),this.onError=new xu(!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.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),o&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=!c&&a,this.shouldCoalesceRunChangeDetection=c,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){var e=Y.requestAnimationFrame,t=Y.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=function(){!function(e){-1===e.lastRequestAnimationFrameId&&(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Y,function(){e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",function(){e.lastRequestAnimationFrameId=-1,gc(e),yc(e)},void 0,function(){},function(){})),e.fakeTopEventTask.invoke()}),gc(e))}(n)},(n=this)._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(e,t,i,o,s,a){try{return bc(n),e.invokeTask(i,o,s,a)}finally{(n.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||n.shouldCoalesceRunChangeDetection)&&r(),_c(n)}},onInvoke:function(e,t,i,o,s,a,u){try{return bc(n),e.invoke(i,o,s,a,u)}finally{n.shouldCoalesceRunChangeDetection&&r(),_c(n)}},onHasTask:function(e,t,r,i){e.hasTask(r,i),t===r&&("microTask"==i.change?(n._hasPendingMicrotasks=i.microTask,gc(n),yc(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,mc,ka,ka);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}(),mc={};function yc(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 gc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function bc(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function _c(e){e._nesting--,yc(e)}var kc=function(){function e(){b(this,e),this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new xu,this.onMicrotaskEmpty=new xu,this.onStable=new xu,this.onError=new xu}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}(),wc=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)(An(pc))},e.\u0275prov=N({token:e,factory:e.\u0275fac}),e}(),Sc=function(){var e=function(){function e(){b(this,e),this._applications=new Map,Oc.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 Oc.findTestabilityInTree(this,e,t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=N({token:e,factory:e.\u0275fac}),e}();function Ec(e){Oc=e}var Cc,Oc=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=!0,xc=!1;function Ic(){return xc=!0,Tc}function jc(){if(xc)throw new Error("Cannot enable prod mode after platform setup.");Tc=!1}var Ac=new vn("AllowMultipleToken"),Nc=function e(t,n){b(this,e),this.name=t,this.token=n};function Dc(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r="Platform: "+t,i=new vn(r);return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=Rc();if(!o||o.injector.get(Ac,!1))if(e)e(n.concat(t).concat({provide:i,useValue:!0}));else{var s=n.concat(t).concat({provide:i,useValue:!0},{provide:Eo,useValue:"platform"});!function(e){if(Cc&&!Cc.destroyed&&!Cc.injector.get(Ac,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Cc=e.get(Fc);var t=e.get($u,null);t&&t.forEach(function(e){return e()})}(Mo.create({providers:s,name:r}))}return function(e){var t=Rc();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 Rc(){return Cc&&!Cc.destroyed?Cc:null}var Fc=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={ngZoneEventCoalescing:t&&t.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:t&&t.ngZoneRunCoalescing||!1},"noop"===n?new kc:("zone.js"===n?void 0:n)||new pc({enableLongStackTrace:Ic(),shouldCoalesceEventChangeDetection:!!(null==r?void 0:r.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==r?void 0:r.ngZoneRunCoalescing)})),s=[{provide:pc,useValue:o}];return o.run(function(){var t=Mo.create({providers:s,parent:i.injector,name:e.moduleType.name}),n=e.create(t),r=n.injector.get(Nr,null);if(!r)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return o.runOutsideAngular(function(){var e=o.onError.subscribe({next:function(e){r.handleError(e)}});n.onDestroy(function(){Mc(i._modules,n),e.unsubscribe()})}),function(e,t,r){try{var o=((s=n.injector.get(Zu)).runInitializers(),s.donePromise.then(function(){return ca(n.injector.get(rc,"en-US")||"en-US"),i._moduleDoBootstrap(n),n}));return fs(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=Pc({},n);return function(e,t,n){var r=new ku(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(Lc);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(w(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)(An(Mo))},e.\u0275prov=N({token:e,factory:e.\u0275fac}),e}();function Pc(e,t){return Array.isArray(t)?t.reduce(Pc,e):Object.assign(Object.assign({},e),t)}var Lc=function(){var e=function(){function e(t,n,r,i,o){var s=this;b(this,e),this._zone=t,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=i,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:function(){s._zone.run(function(){s.tick()})}});var a=new l.a(function(e){s._stable=s._zone.isStable&&!s._zone.hasPendingMacrotasks&&!s._zone.hasPendingMicrotasks,s._zone.runOutsideAngular(function(){e.next(s._stable),e.complete()})}),u=new l.a(function(e){var t;s._zone.runOutsideAngular(function(){t=s._zone.onStable.subscribe(function(){pc.assertNotInAngularZone(),vc(function(){s._stable||s._zone.hasPendingMacrotasks||s._zone.hasPendingMicrotasks||(s._stable=!0,e.next(!0))})})});var n=s._zone.onUnstable.subscribe(function(){pc.assertInAngularZone(),s._stable&&(s._stable=!1,s._zone.runOutsideAngular(function(){e.next(!1)}))});return function(){t.unsubscribe(),n.unsubscribe()}});this.isStable=Object(d.a)(a,u.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 ga?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var i=n.isBoundToModule?void 0:this._injector.get(ou),o=n.create(Mo.NULL,[],t||n.selector,i),s=o.location.nativeElement,a=o.injector.get(wc,null),u=a&&o.injector.get(Sc);return a&&u&&u.registerApplication(s,a),o.onDestroy(function(){r.detachView(o.hostView),Mc(r.components,o),u&&u.unregisterApplication(s)}),this._loadComponent(o),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(i){n.e(i)}finally{n.f()}}catch(o){this._zone.runOutsideAngular(function(){return e._exceptionHandler.handleError(o)})}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;Mc(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:"ngOnDestroy",value:function(){this._views.slice().forEach(function(e){return e.destroy()}),this._onMicrotaskEmptySubscription.unsubscribe()}},{key:"viewCount",get:function(){return this._views.length}}]),e}();return e.\u0275fac=function(t){return new(t||e)(An(pc),An(Mo),An(Nr),An(_a),An(Zu))},e.\u0275prov=N({token:e,factory:e.\u0275fac}),e}();function Mc(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var Hc=function e(){b(this,e)},Vc=function e(){b(this,e)},Bc={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},zc=function(){var e=function(){function e(t,n){b(this,e),this._compiler=t,this._config=n||Bc}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 Xc(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 Xc(e,n,r)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(An(fc),An(Vc,8))},e.\u0275prov=N({token:e,factory:e.\u0275fac}),e}();function Xc(e,t,n){if(!e)throw new Error("Cannot find '".concat(n,"' in '").concat(t,"'"));return e}var Uc=function(e){return null},qc=Dc(null,"core",[{provide:ec,useValue:"unknown"},{provide:Fc,deps:[Mo]},{provide:Sc,deps:[]},{provide:nc,deps:[]}]),Kc=[{provide:Lc,useClass:Lc,deps:[pc,Mo,Nr,_a,Zu]},{provide:mu,deps:[pc],useFactory:function(e){var t=[];return e.onStable.subscribe(function(){for(;t.length;)t.pop()()}),function(e){t.push(e)}}},{provide:Zu,useClass:Zu,deps:[[new Mn,Gu]]},{provide:fc,useClass:fc,deps:[]},Ju,{provide:Xa,useFactory:function(){return $a},deps:[]},{provide:qa,useFactory:function(){return eu},deps:[]},{provide:rc,useFactory:function(e){return ca(e=e||"undefined"!=typeof $localize&&$localize.locale||"en-US"),e},deps:[[new Ln(rc),new Mn,new Hn]]},{provide:ic,useValue:"USD"}],Wc=function(){var e=function e(t){b(this,e)};return e.\u0275mod=de({type:e}),e.\u0275inj=D({factory:function(t){return new(t||e)(An(Lc))},providers:Kc}),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,"a",function(){return c});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 z}),n.d(t,"b",function(){return P}),n.d(t,"c",function(){return U}),n.d(t,"d",function(){return W}),n.d(t,"e",function(){return V}),n.d(t,"f",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.r("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.s],multi:!0}],l=function(){function e(){b(this,e)}return k(e,[{key:"addToWindow",value:function(e){o.qb.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.qb.getAllAngularTestabilities=function(){return e.getAllTestabilities()},o.qb.getAllAngularRootElements=function(){return e.getAllRootElements()},o.qb.frameworkStabilizers||(o.qb.frameworkStabilizers=[]),o.qb.frameworkStabilizers.push(function(e){var t=o.qb.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.Z)(new e)}}]),e}(),d=new o.r("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.Xb(d),o.Xb(o.A))},e.\u0275prov=o.Kb({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.Kb({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.Xb(i.d))},e.\u0275prov=o.Kb({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 T(t)}return k(e,[{key:"createRenderer",value:function(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case o.S.Emulated:var n=this.rendererByCompId.get(t.id);return n||(n=new x(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n;case 1:case o.S.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.Xb(p),o.Xb(_),o.Xb(o.c))},e.\u0275prov=o.Kb({token:e,factory:e.\u0275fac}),e}(),T=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.H.DashCase|o.H.Important)?e.style.setProperty(t,n,r&o.H.Important?"important":""):e.style[t]=n}},{key:"removeStyle",value:function(e,t,n){n&o.H.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}(),x=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}(T),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}(T),j=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.Xb(i.d))},e.\u0275prov=o.Kb({token:e,factory:e.\u0275fac}),e}(),A=["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"},D={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"},R={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(A.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&&D.hasOwnProperty(t)&&(t=D[t]))}return N[t]||t}(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),A.forEach(function(r){r!=n&&(0,R[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.Xb(i.d))},e.\u0275prov=o.Kb({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.Kb)({factory:function(){return Object(o.Xb)(M)},token:e,providedIn:"root"}),e}();function L(e){return new M(e.get(i.d))}var M=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.J.NONE:return t;case o.J.HTML:return Object(o.fb)(t,"HTML")?Object(o.yb)(t):Object(o.db)(this._doc,String(t)).toString();case o.J.STYLE:return Object(o.fb)(t,"Style")?Object(o.yb)(t):t;case o.J.SCRIPT:if(Object(o.fb)(t,"Script"))return Object(o.yb)(t);throw new Error("unsafe value used in a script context");case o.J.URL:return Object(o.pb)(t),Object(o.fb)(t,"URL")?Object(o.yb)(t):Object(o.eb)(String(t));case o.J.RESOURCE_URL:if(Object(o.fb)(t,"ResourceURL"))return Object(o.yb)(t);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext ".concat(e," (see https://g.co/ng/security#xss)"))}}},{key:"bypassSecurityTrustHtml",value:function(e){return Object(o.gb)(e)}},{key:"bypassSecurityTrustStyle",value:function(e){return Object(o.jb)(e)}},{key:"bypassSecurityTrustScript",value:function(e){return Object(o.ib)(e)}},{key:"bypassSecurityTrustUrl",value:function(e){return Object(o.kb)(e)}},{key:"bypassSecurityTrustResourceUrl",value:function(e){return Object(o.hb)(e)}}]),n}(P);return e.\u0275fac=function(t){return new(t||e)(o.Xb(i.d))},e.\u0275prov=Object(o.Kb)({factory:function(){return L(Object(o.Xb)(o.o))},token:e,providedIn:"root"}),e}(),H=[{provide:o.C,useValue:i.u},{provide:o.D,useValue:function(){s.makeCurrent(),l.init()},multi:!0},{provide:i.d,useFactory:function(){return Object(o.wb)(document),document},deps:[]}],V=Object(o.T)(o.Y,"browser",H),B=[[],{provide:o.bb,useValue:"root"},{provide:o.m,useFactory:function(){return new o.m},deps:[]},{provide:d,useClass:j,multi:!0,deps:[i.d,o.A,o.C]},{provide:d,useClass:F,multi:!0,deps:[i.d]},[],{provide:O,useClass:O,deps:[p,_,o.c]},{provide:o.G,useExisting:O},{provide:y,useExisting:_},{provide:_,useClass:_,deps:[i.d]},{provide:o.O,useClass:o.O,deps:[o.A]},{provide:p,useClass:p,deps:[d,o.A]},[]],z=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.Mb({type:e}),e.\u0275inj=o.Lb({factory:function(t){return new(t||e)(o.Xb(e,12))},providers:B,imports:[i.c,o.f]}),e}();function X(){return new U(Object(o.Xb)(i.d))}var U=function(){var e=function(){function e(t){b(this,e),this._doc=t,this._dom=Object(i.v)()}return k(e,[{key:"addTag",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e?this._getOrCreateElement(e,t):null}},{key:"addTags",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e?e.reduce(function(e,r){return r&&e.push(t._getOrCreateElement(r,n)),e},[]):[]}},{key:"getTag",value:function(e){return e&&this._doc.querySelector("meta[".concat(e,"]"))||null}},{key:"getTags",value:function(e){if(!e)return[];var t=this._doc.querySelectorAll("meta[".concat(e,"]"));return t?[].slice.call(t):[]}},{key:"updateTag",value:function(e,t){if(!e)return null;t=t||this._parseSelector(e);var n=this.getTag(t);return n?this._setMetaElementAttributes(e,n):this._getOrCreateElement(e,!0)}},{key:"removeTag",value:function(e){this.removeTagElement(this.getTag(e))}},{key:"removeTagElement",value:function(e){e&&this._dom.remove(e)}},{key:"_getOrCreateElement",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!t){var n=this._parseSelector(e),r=this.getTag(n);if(r&&this._containsAttributes(e,r))return r}var i=this._dom.createElement("meta");return this._setMetaElementAttributes(e,i),this._doc.getElementsByTagName("head")[0].appendChild(i),i}},{key:"_setMetaElementAttributes",value:function(e,t){var n=this;return Object.keys(e).forEach(function(r){return t.setAttribute(n._getMetaKeyMap(r),e[r])}),t}},{key:"_parseSelector",value:function(e){var t=e.name?"name":"property";return"".concat(t,'="').concat(e[t],'"')}},{key:"_containsAttributes",value:function(e,t){var n=this;return Object.keys(e).every(function(r){return t.getAttribute(n._getMetaKeyMap(r))===e[r]})}},{key:"_getMetaKeyMap",value:function(e){return q[e]||e}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Xb(i.d))},e.\u0275prov=Object(o.Kb)({factory:X,token:e,providedIn:"root"}),e}(),q={httpEquiv:"http-equiv"};function K(){return new W(Object(o.Xb)(i.d))}var W=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.Xb(i.d))},e.\u0275prov=Object(o.Kb)({factory:K,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:"Document not found"})}},{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">Request for document failed.</h1>\n <p>\n We are unable to retrieve the "'.concat(n,'" page at this time.\n Please check your connection and try again later.\n </p>\n </div>\n </div>\n'))});var n}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u.Xb(c.a),u.Xb(l.a),u.Xb(h.a))},e.\u0275prov=u.Kb({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.Xb(i.C))},e.\u0275prov=Object(i.Kb)({factory:function(){return new e(Object(i.Xb)(i.C))},token:e,providedIn:"root"}),e}(),h=function(){var e=function e(){b(this,e)};return e.\u0275mod=i.Mb({type:e}),e.\u0275inj=i.Lb({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)return u=!1;if("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 i});var r=n("EQ5u");function i(e,t){return function(n){var i;if(i="function"==typeof e?e:function(){return e},"function"==typeof t)return n.lift(new o(i,t));var s=Object.create(n,r.b);return s.source=n,s.subjectFactory=i,s}}var o=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 T}),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 j}),n.d(t,"h",function(){return C}),n.d(t,"i",function(){return M}),n.d(t,"j",function(){return V}),n.d(t,"k",function(){return z}),n.d(t,"l",function(){return Z}),n.d(t,"m",function(){return K}),n.d(t,"n",function(){return W}),n.d(t,"o",function(){return G}),n.d(t,"p",function(){return x}),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 L}),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.r("DocumentToken"),h=function(){var e=function e(){b(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(i.Kb)({factory:d,token:e,providedIn:"platform"}),e}();function d(){return Object(i.Xb)(y)}var m=new i.r("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.Xb(l))},e.\u0275prov=Object(i.Kb)({factory:_,token:e,providedIn:"platform"}),e}();function g(){return!!window.history.pushState}function _(){return new y(Object(i.Xb)(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.Kb)({factory:O,token:e,providedIn:"root"}),e}();function O(e){var t=Object(i.Xb)(l).location;return new x(Object(i.Xb)(h),t&&t.origin||"")}var T=new i.r("appBaseHref"),x=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.Xb(h),i.Xb(T,8))},e.\u0275prov=i.Kb({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.Xb(h),i.Xb(T,8))},e.\u0275prov=i.Kb({token:e,factory:e.\u0275fac}),e}(),j=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.Xb(C),i.Xb(h))},e.normalizeQueryParams=E,e.joinWithSlash=w,e.stripTrailingSlash=S,e.\u0275prov=Object(i.Kb)({factory:A,token:e,providedIn:"root"}),e}();function A(){return new j(Object(i.Xb)(C),Object(i.Xb)(h))}function N(e){return e.replace(/\/index.html$/,"")}var D=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}({}),R=i.ob,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(R(t||this.locale)(e)){case D.Zero:return"zero";case D.One:return"one";case D.Two:return"two";case D.Few:return"few";case D.Many:return"many";default:return"other"}}}]),n}(F);return e.\u0275fac=function(t){return new(t||e)(i.Xb(i.v))},e.\u0275prov=i.Kb({token:e,factory:e.\u0275fac}),e}();function L(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 M=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.xb)(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.rb)(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.Ob(i.t),i.Ob(i.u),i.Ob(i.l),i.Ob(i.F))},e.\u0275dir=i.Jb({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),e}(),H=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}(),V=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 H(null,t._ngForOf,-1,-1),null===i?void 0:i),s=new B(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 B(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){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.Ob(i.R),i.Ob(i.N),i.Ob(i.t))},e.\u0275dir=i.Jb({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),e}(),B=function e(t,n){b(this,e),this.record=t,this.view=n},z=function(){var e=function(){function e(t,n){b(this,e),this._viewContainer=t,this._context=new X,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){U("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}},{key:"ngIfElse",set:function(e){U("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.Ob(i.R),i.Ob(i.N))},e.\u0275dir=i.Jb({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),e}(),X=function e(){b(this,e),this.$implicit=null,this.ngIf=null};function U(e,t){if(t&&!t.createEmbeddedView)throw new Error("".concat(e," must be a TemplateRef, but received '").concat(Object(i.xb)(t),"'."))}var q=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}(),K=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.Jb({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),e}(),W=function(){var e=function(){function e(t,n,r){b(this,e),this.ngSwitch=r,r._addCase(),this._view=new q(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.Ob(i.R),i.Ob(i.N),i.Ob(K,1))},e.\u0275dir=i.Jb({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),e}(),G=function(){var e=function e(t,n,r){b(this,e),r._addDefault(new q(t,n))};return e.\u0275fac=function(t){return new(t||e)(i.Ob(i.R),i.Ob(i.N),i.Ob(K,1))},e.\u0275dir=i.Jb({type:e,selectors:[["","ngSwitchDefault",""]]}),e}(),Z=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.Ob(i.l),i.Ob(i.u),i.Ob(i.F))},e.\u0275dir=i.Jb({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),e}(),Q=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}(),J=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}()),Y=new Q,$=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.tb)(t))return J;if(Object(i.ub)(t))return Y;throw n=e,Error("InvalidPipeArgument: '".concat(t,"' for pipe '").concat(Object(i.xb)(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.Zb())},e.\u0275pipe=i.Nb({name:"async",type:e,pure:!1}),e}(),ee=function(){var e=function e(){b(this,e)};return e.\u0275mod=i.Mb({type:e}),e.\u0275inj=i.Lb({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.Kb)({token:e,providedIn:"root",factory:function(){return new ie(Object(i.Xb)(l),window)}}),e}(),ie=function(){function e(t,n){b(this,e),this.document=t,this.window=n,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.pageXOffset,this.window.pageYOffset]:[0,0]}},{key:"scrollToPosition",value:function(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}},{key:"scrollToAnchor",value:function(e){var t;if(this.supportsScrolling()){var n=null!==(t=this.document.getElementById(e))&&void 0!==t?t:this.document.getElementsByName(e)[0];void 0!==n&&(this.scrollToElement(n),this.attemptFocus(n))}}},{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:"attemptFocus",value:function(e){return e.focus(),this.document.activeElement===e}},{key:"supportScrollRestoration",value:function(){try{if(!this.supportsScrolling())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&&!!this.window.scrollTo&&"pageXOffset"in this.window}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 W});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.replace(/^\?/,"").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:"appendAll",value:function(e){var t=[];return Object.keys(e).forEach(function(n){var r=e[n];Array.isArray(r)?r.forEach(function(e){t.push({param:n,value:e,op:"a"})}):t.push({param:n,value:r,op:"a"})}),this.clone(t)}},{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}({}),T=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},x=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}(T),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}(T),j=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}(T);function A(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,A(n,t))}},{key:"post",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("POST",e,A(n,t))}},{key:"put",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PUT",e,A(n,t))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Xb(d))},e.\u0275prov=r.Kb({token:e,factory:e.\u0275fac}),e}(),D=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}(),R=new r.r("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.Kb({token:e,factory:e.\u0275fac}),e}(),P=/^\)\]\}',?\n/,L=function e(){b(this,e)},M=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.Kb({token:e,factory:e.\u0275fac}),e}(),H=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 x({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 j({error:c,headers:i,status:o,statusText:s,url:a||void 0}))},l=function(e){var t=u().url,i=new j({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),r.addEventListener("timeout",l),r.addEventListener("abort",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("abort",l),r.removeEventListener("load",c),r.removeEventListener("timeout",l),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.Xb(L))},e.\u0275prov=r.Kb({token:e,factory:e.\u0275fac}),e}(),V=new r.r("XSRF_COOKIE_NAME"),B=new r.r("XSRF_HEADER_NAME"),z=function e(){b(this,e)},X=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.Xb(h.d),r.Xb(r.C),r.Xb(V))},e.\u0275prov=r.Kb({token:e,factory:e.\u0275fac}),e}(),U=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.Xb(z),r.Xb(B))},e.\u0275prov=r.Kb({token:e,factory:e.\u0275fac}),e}(),q=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(R,[]);this.chain=t.reduceRight(function(e,t){return new D(e,t)},this.backend)}return this.chain.handle(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Xb(p),r.Xb(r.s))},e.\u0275prov=r.Kb({token:e,factory:e.\u0275fac}),e}(),K=function(){var e=function(){function e(){b(this,e)}return k(e,null,[{key:"disable",value:function(){return{ngModule:e,providers:[{provide:U,useClass:F}]}}},{key:"withOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:e,providers:[t.cookieName?{provide:V,useValue:t.cookieName}:[],t.headerName?{provide:B,useValue:t.headerName}:[]]}}}]),e}();return e.\u0275mod=r.Mb({type:e}),e.\u0275inj=r.Lb({factory:function(t){return new(t||e)},providers:[U,{provide:R,useExisting:U,multi:!0},{provide:z,useClass:X},{provide:V,useValue:"XSRF-TOKEN"},{provide:B,useValue:"X-XSRF-TOKEN"}]}),e}(),W=function(){var e=function e(){b(this,e)};return e.\u0275mod=r.Mb({type:e}),e.\u0275inj=r.Lb({factory:function(t){return new(t||e)},providers:[N,{provide:d,useClass:q},H,{provide:p,useExisting:H},M,{provide:L,useExisting:M}],imports:[[K.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.Xb(l.A))},t.\u0275prov=l.Kb({token:t,factory:t.\u0275fac}),t}()}).call(this,n("3zP6"))},u47x:function(e,t,n){"use strict";n.d(t,"a",function(){return V}),n.d(t,"b",function(){return M}),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 H}),n.d(t,"g",function(){return N}),n.d(t,"h",function(){return D});var r=n("ofXK"),i=n("fXoL"),o=n("XNiG"),a=n("quSY"),u=n("LRne"),c=n("FtGj"),l=n("vkgz"),d=n("Kj3r"),p=n("pLZG"),m=n("lJxs"),y=n("IzEk"),_=n("8LU1"),w=n("nLfN"),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 o.a,this._typeaheadSubscription=a.a.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=function(e){return e.disabled},this._pressedLetters=[],this.tabOut=new o.a,this.change=new o.a,t instanceof i.E&&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(l.a)(function(t){return e._pressedLetters.push(t)}),Object(d.a)(t),Object(p.a)(function(){return e._pressedLetters.length>0}),Object(m.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 c.k:return void this.tabOut.next();case c.b:if(this._vertical&&r){this.setNextItemActive();break}return;case c.l:if(this._vertical&&r){this.setPreviousItemActive();break}return;case c.i:if(this._horizontal&&r){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case c.g:if(this._horizontal&&r){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case c.f:if(this._homeAndEnd&&r){this.setFirstItemActive();break}return;case c.c:if(this._homeAndEnd&&r){this.setLastItemActive();break}return;default:return void((r||Object(c.o)(e,"shiftKey"))&&(e.key&&1===e.key.length?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(n>=c.a&&n<=c.m||n>=c.n&&n<=c.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.E?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===T(n))return!1;if(!this.isVisible(n))return!1}var r=e.nodeName.toLowerCase(),i=T(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.Xb(w.a))},e.\u0275prov=Object(i.Kb)({factory:function(){return new e(Object(i.Xb)(w.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 T(e){if(!O(e))return null;var t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}var x=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]");if(e){if(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),!this._checker.isFocusable(e)){var t=this._getFirstTabbableElement(e);return null==t||t.focus(),!!t}return e.focus(),!0}return 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(y.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 x(e,this._checker,this._ngZone,this._document,t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.Xb(C),i.Xb(i.A),i.Xb(r.d))},e.\u0275prov=Object(i.Kb)({factory:function(){return new e(Object(i.Xb)(C),Object(i.Xb)(i.A),Object(i.Xb)(r.d))},token:e,providedIn:"root"}),e}();"undefined"!=typeof Element&&Element;var j=new i.r("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),A=new i.r("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.Xb(j,8),i.Xb(i.A),i.Xb(r.d),i.Xb(A,8))},e.\u0275prov=Object(i.Kb)({factory:function(){return new e(Object(i.Xb)(j,8),Object(i.Xb)(i.A),Object(i.Xb)(r.d),Object(i.Xb)(A,8))},token:e,providedIn:"root"}),e}();function D(e){return 0===e.buttons}var R=new i.r("cdk-focus-monitor-default-options"),F=Object(w.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=D(e)?"keyboard":"mouse";o._setOriginForCurrentEventQueue(t)}},this._documentTouchstartListener=function(e){null!=o._touchTimeoutId&&clearTimeout(o._touchTimeoutId),o._lastTouchTarget=L(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=L(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(_.d)(e);if(!this._platform.isBrowser||1!==n.nodeType)return Object(u.a)(null);var r=Object(w.c)(n)||this._getDocument(),i=this._elementInfo.get(n);if(i)return t&&(i.checkChildren=!0),i.subject;var s={checkChildren:t,subject:new o.a,rootNode:r};return this._elementInfo.set(n,s),this._registerGlobalListeners(s),s.subject}},{key:"stopMonitoring",value:function(e){var t=Object(_.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=this,i=Object(_.d)(e);i===this._getDocument().activeElement?this._getClosestElementsInfo(i).forEach(function(e){var n=s(e,2),i=n[0],o=n[1];return r._originChanged(i,t,o)}):(this._setOriginForCurrentEventQueue(t),"function"==typeof i.focus&&i.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=L(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===L(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}},{key:"_getClosestElementsInfo",value:function(e){var t=[];return this._elementInfo.forEach(function(n,r){(r===e||n.checkChildren&&r.contains(e))&&t.push([r,n])}),t}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.Xb(i.A),i.Xb(w.a),i.Xb(r.d,8),i.Xb(R,8))},e.\u0275prov=Object(i.Kb)({factory:function(){return new e(Object(i.Xb)(i.A),Object(i.Xb)(w.a),Object(i.Xb)(r.d,8),Object(i.Xb)(R,8))},token:e,providedIn:"root"}),e}();function L(e){return e.composedPath?e.composedPath()[0]:e.target}var M=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.Ob(i.l),i.Ob(P))},e.\u0275dir=i.Jb({type:e,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),e}(),H=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.Xb(w.a),i.Xb(r.d))},e.\u0275prov=Object(i.Kb)({factory:function(){return new e(Object(i.Xb)(w.a),Object(i.Xb)(r.d))},token:e,providedIn:"root"}),e}(),V=function(){var e=function e(t){b(this,e),t._applyBodyHighContrastModeCssClasses()};return e.\u0275mod=i.Mb({type:e}),e.\u0275inj=i.Lb({factory:function(t){return new(t||e)(i.Xb(H))},imports:[[w.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.Xb(i.m))},e.\u0275prov=i.Kb({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 S}),n.d(t,"b",function(){return C}),n.d(t,"c",function(){return w}),n.d(t,"d",function(){return O}),n.d(t,"e",function(){return E});var r=n("8LU1"),i=n("fXoL"),o=n("XNiG"),s=n("LRne"),a=n("HDdC"),u=n("xgIS");n("3N8a"),n("IjjT"),n("7Hc7"),n("quSY"),n("/uUt");var c=n("3UWI"),l=n("pLZG"),h=n("1G5W");n("JX91"),n("7o/Q"),n("eIep"),n("jtHE");var f,d,v,p,m,y=n("nLfN"),g=n("ofXK"),_=n("cH1L"),w=((m=function(){function e(t,n,r){b(this,e),this._ngZone=t,this._platform=n,this._scrolled=new o.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 a.a(function(n){e._globalSubscription||e._addGlobalListener();var r=t>0?e._scrolled.pipe(Object(c.a)(t)).subscribe(n):e._scrolled.subscribe(n);return e._scrolledCount++,function(){r.unsubscribe(),e._scrolledCount--,e._scrolledCount||e._removeGlobalListener()}}):Object(s.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(l.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=Object(r.d)(t),i=e.getElementRef().nativeElement;do{if(n==i)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(u.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||m)(i.Xb(i.A),i.Xb(y.a),i.Xb(g.d,8))},m.\u0275prov=Object(i.Kb)({factory:function(){return new m(Object(i.Xb)(i.A),Object(i.Xb)(y.a),Object(i.Xb)(g.d,8))},token:m,providedIn:"root"}),m),S=((p=function(){function e(t,n,r,i){var s=this;b(this,e),this.elementRef=t,this.scrollDispatcher=n,this.ngZone=r,this.dir=i,this._destroyed=new o.a,this._elementScrolled=new a.a(function(e){return s.ngZone.runOutsideAngular(function(){return Object(u.a)(s.elementRef.nativeElement,"scroll").pipe(Object(h.a)(s._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(y.d)()?(null!=e.left&&(e.right=t.scrollWidth-t.clientWidth-e.left),2==Object(y.d)()?e.left=e.right:1==Object(y.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(y.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(y.d)()?"left"==e?t.scrollWidth-t.clientWidth-t.scrollLeft:t.scrollLeft:n&&1==Object(y.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||p)(i.Ob(i.l),i.Ob(w),i.Ob(i.A),i.Ob(_.b,8))},p.\u0275dir=i.Jb({type:p,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),p),E=((v=function(){function e(t,n,r){var i=this;b(this,e),this._platform=t,this._change=new o.a,this._changeListener=function(e){i._change.next(e)},this._document=r,n.runOutsideAngular(function(){if(t.isBrowser){var e=i._getWindow();e.addEventListener("resize",i._changeListener),e.addEventListener("orientationchange",i._changeListener)}i.change().subscribe(function(){return i._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(c.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||v)(i.Xb(y.a),i.Xb(i.A),i.Xb(g.d,8))},v.\u0275prov=Object(i.Kb)({factory:function(){return new v(Object(i.Xb)(y.a),Object(i.Xb)(i.A),Object(i.Xb)(g.d,8))},token:v,providedIn:"root"}),v),C=((d=function e(){b(this,e)}).\u0275mod=i.Mb({type:d}),d.\u0275inj=i.Lb({factory:function(e){return new(e||d)}}),d),O=((f=function e(){b(this,e)}).\u0275mod=i.Mb({type:f}),f.\u0275inj=i.Lb({factory:function(e){return new(e||f)},imports:[[_.a,y.b,C],_.a,C]}),f)},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.Pb(0,"span"),2&e){var n=r.ec();r.Fb("symbol ",null==n.selected?null:n.selected.value,"")}}function s(e,t){if(1&e&&r.Pb(0,"span"),2&e){var n=r.ec().$implicit;r.Fb("symbol ",n.value,"")}}function a(e,t){if(1&e){var n=r.Ub();r.Tb(0,"li",6),r.ac("click",function(){r.sc(n);var e=t.$implicit,i=t.index;return r.ec(2).select(e,i)})("keydown.enter",function(){r.sc(n);var e=t.$implicit,i=t.index;return r.ec(2).select(e,i)})("keydown.space",function(e){r.sc(n);var i=t.$implicit,o=t.index;return r.ec(2).select(i,o),e.preventDefault()}),r.zc(1,s,1,3,"span",2),r.Tb(2,"span"),r.Ac(3),r.Sb(),r.Sb()}if(2&e){var i=t.$implicit,o=r.ec(2);r.Gb("selected",i===o.selected),r.Cb(1),r.jc("ngIf",o.showSymbol),r.Cb(2),r.Bc(i.title)}}function u(e,t){if(1&e&&(r.Tb(0,"ul",4),r.zc(1,a,4,4,"li",5),r.Sb()),2&e){var n=r.ec();r.Cb(1),r.jc("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.Ob(r.l))},e.\u0275cmp=r.Ib({type:e,selectors:[["aio-select"]],hostBindings:function(e,t){1&e&&r.ac("click",function(e){return t.onClick(e.target)},!1,r.qc)("keydown.escape",function(){return t.onKeyDown()},!1,r.qc)},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.Tb(0,"div",0),r.Tb(1,"button",1),r.ac("click",function(){return t.toggleOptions()}),r.Tb(2,"span"),r.Tb(3,"strong"),r.Ac(4),r.Sb(),r.Sb(),r.zc(5,o,1,3,"span",2),r.Tb(6,"span"),r.Ac(7),r.Sb(),r.Sb(),r.zc(8,u,2,1,"ul",3),r.Sb()),2&e&&(r.Cb(1),r.jc("disabled",t.disabled),r.Cb(3),r.Bc(t.label),r.Cb(1),r.jc("ngIf",t.showSymbol),r.Cb(2),r.Bc(null==t.selected?null:t.selected.title),r.Cb(1),r.jc("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,c,d){"use strict";d.r(c);var p=d("jhN1"),m=d("fXoL"),y=d("tk/3"),_=d("R1ws"),w=d("ofXK"),S=d("HDdC"),E=d("Cfvw"),C=d("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 T,x,I=d("z6cu"),j=d("xgIS"),A=d("LRne"),N=d("GyhO"),D=d("XNiG"),R=d("KqfI"),F=new S.a(R.a),P=d("VRyK"),L=d("lJxs"),M=d("pLZG"),H=d("eIep"),V=d("oB13"),B=d("IzEk"),z=d("vkgz"),X=d("D0XW"),U=d("7o/Q"),q=d("WMd4"),K=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 W(e,this.delay,this.scheduler))}}]),e}(),W=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 G(t.now()+this.delay,e);this.queue.push(n),!1===this.active&&this._schedule(t)}}},{key:"_next",value:function(e){this.scheduleNotification(q.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(q.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}(U.a),G=function e(t,n){b(this,e),this.time=t,this.notification=n},Z="Service workers are disabled or not supported by this browser",Q=function(){function e(t){if(b(this,e),this.serviceWorker=t,t){var n=Object(j.a)(t,"controllerchange").pipe(Object(L.a)(function(){return t.controller})),r=O(function(){return Object(A.a)(t.controller)}),i=Object(N.a)(r,n);this.worker=i.pipe(Object(M.a)(function(e){return!!e})),this.registration=this.worker.pipe(Object(H.a)(function(){return t.getRegistration()}));var o=Object(j.a)(t,"message").pipe(Object(L.a)(function(e){return e.data})).pipe(Object(M.a)(function(e){return e&&e.type})).pipe(Object(V.a)(new D.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(B.a)(1),Object(z.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(M.a)(function(t){return t.type===e}))}},{key:"nextEventOfType",value:function(e){return this.eventsOfType(e).pipe(Object(B.a)(1))}},{key:"waitForStatus",value:function(e){return this.eventsOfType("STATUS").pipe(Object(M.a)(function(t){return t.nonce===e}),Object(B.a)(1),Object(L.a)(function(e){if(!e.status)throw new Error(e.error)})).toPromise()}},{key:"isEnabled",get:function(){return!!this.serviceWorker}}]),e}(),J=((x=function(){function e(t){if(b(this,e),this.sw=t,this.subscriptionChanges=new D.a,!t.isEnabled)return this.messages=F,this.notificationClicks=F,void(this.subscription=F);this.messages=this.sw.eventsOfType("PUSH").pipe(Object(L.a)(function(e){return e.data})),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe(Object(L.a)(function(e){return e.data})),this.pushManager=this.sw.registration.pipe(Object(L.a)(function(e){return e.pushManager}));var n=this.pushManager.pipe(Object(H.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(Z));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(H.a)(function(e){return e.subscribe(n)}),Object(B.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(B.a)(1),Object(H.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(Z))}},{key:"decodeBase64",value:function(e){return atob(e)}},{key:"isEnabled",get:function(){return this.sw.isEnabled}}]),e}()).\u0275fac=function(e){return new(e||x)(m.Xb(Q))},x.\u0275prov=m.Kb({token:x,factory:x.\u0275fac}),x),Y=((T=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(Z));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(Z));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||T)(m.Xb(Q))},T.\u0275prov=m.Kb({token:T,factory:T.\u0275fac}),T),$=function e(){b(this,e)},ee=new m.r("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],d=h.slice(1);switch(f){case"registerImmediately":i=Object(A.a)(null);break;case"registerWithDelay":i=ne(+d[0]||0);break;case"registerWhenStable":i=d[0]?Object(P.a)(re(e),ne(+d[0])):re(e);break;default:throw new Error("Unknown ServiceWorker registration strategy: "+n.registrationStrategy)}}e.get(m.A).runOutsideAngular(function(){return i.pipe(Object(B.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(A.a)(null).pipe(function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:X.a,r=(t=e)instanceof Date&&!isNaN(+t)?+e-n.now():Math.abs(e);return function(e){return e.lift(new K(r,n))}}(e))}function re(e){return e.get(m.g).isStable.pipe(Object(M.a)(function(e){return e}))}function ie(e,t){return new Q(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:Q,useFactory:ie,deps:[$,m.C]},{provide:m.d,useFactory:te,deps:[m.s,ee,$,m.C],multi:!0}]}}}]),e}()).\u0275mod=m.Mb({type:oe}),oe.\u0275inj=m.Lb({factory:function(e){return new(e||oe)},providers:[J,Y]}),oe),ue=d("bTqV"),ce=d("NFeN"),le=d("FKr1"),he=d("8LU1"),fe=d("quSY"),de=["primaryValueBar"],ve=Object(le.f)(function e(t){b(this,e),this._elementRef=t},"primary"),pe=new m.r("mat-progress-bar-location",{providedIn:"root",factory:function(){var e=Object(m.W)(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 m.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(j.a)(t,"transitionend").pipe(Object(M.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)(m.Ob(m.l),m.Ob(m.A),m.Ob(_.a,8),m.Ob(pe,8))},se.\u0275cmp=m.Ib({type:se,selectors:[["mat-progress-bar"]],viewQuery:function(e,t){var n;1&e&&m.Ec(de,1),2&e&&m.oc(n=m.bc())&&(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&&(m.Db("aria-valuenow","indeterminate"===t.mode||"query"===t.mode?null:t.value)("mode",t.mode),m.Gb("_mat-animation-noopable",t._isNoopAnimation))},inputs:{color:"color",mode:"mode",value:"value",bufferValue:"bufferValue"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[m.zb],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&&(m.dc(),m.Tb(0,"svg",0),m.Tb(1,"defs"),m.Tb(2,"pattern",1),m.Pb(3,"circle",2),m.Sb(),m.Sb(),m.Pb(4,"rect",3),m.Sb(),m.cc(),m.Pb(5,"div",4),m.Pb(6,"div",5,6),m.Pb(8,"div",7)),2&e&&(m.Cb(2),m.jc("id",t.progressbarId),m.Cb(2),m.Db("fill",t._rectangleFillValue),m.Cb(1),m.jc("ngStyle",t._bufferTransform()),m.Cb(1),m.jc("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=m.Mb({type:be}),be.\u0275inj=m.Lb({factory:function(e){return new(e||be)},imports:[[w.c,le.b],le.b]}),be),ke=d("nLfN"),we=d("vxfF"),Se=d("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}(U.a),Te=d("1G5W"),xe=d("/uUt"),Ie=d("JX91"),je=d("Kj3r"),Ae=d("R0Ic"),Ne=d("u47x"),De=d("cH1L"),Re=["*"];function Fe(e,t){if(1&e){var n=m.Ub();m.Tb(0,"div",2),m.ac("click",function(){return m.sc(n),m.ec()._onBackdropClicked()}),m.Sb()}if(2&e){var r=m.ec();m.Gb("mat-drawer-shown",r._isShowingBackdrop())}}function Pe(e,t){1&e&&(m.Tb(0,"mat-drawer-content"),m.hc(1,2),m.Sb())}var Le=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],Me=["mat-drawer","mat-drawer-content","*"];function He(e,t){if(1&e){var n=m.Ub();m.Tb(0,"div",2),m.ac("click",function(){return m.sc(n),m.ec()._onBackdropClicked()}),m.Sb()}if(2&e){var r=m.ec();m.Gb("mat-drawer-shown",r._isShowingBackdrop())}}function Ve(e,t){1&e&&(m.Tb(0,"mat-sidenav-content",3),m.hc(1,2),m.Sb())}var Be,ze,Xe,Ue,qe,Ke,We,Ge,Ze,Qe,Je=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],Ye=["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(Ae.j)("transform",[Object(Ae.g)("open, open-instant",Object(Ae.h)({transform:"none",visibility:"visible"})),Object(Ae.g)("void",Object(Ae.h)({"box-shadow":"none",visibility:"hidden"})),Object(Ae.i)("void => open-instant",Object(Ae.e)("0ms")),Object(Ae.i)("void <=> open, open-instant => void",Object(Ae.e)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},tt=new m.r("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function(){return!1}}),nt=new m.r("MAT_DRAWER_CONTAINER"),rt=((qe=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||qe)(m.Ob(m.h),m.Ob(Object(m.V)(function(){return ot})),m.Ob(m.l),m.Ob(we.c),m.Ob(m.A))},qe.\u0275cmp=m.Ib({type:qe,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(e,t){2&e&&m.wc("margin-left",t._container._contentMargins.left,"px")("margin-right",t._container._contentMargins.right,"px")},features:[m.zb],ngContentSelectors:Re,decls:1,vars:0,template:function(e,t){1&e&&(m.ic(),m.hc(0))},encapsulation:2,changeDetection:0}),qe),it=((Ue=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 D.a,this._animationEnd=new D.a,this._animationState="void",this.openedChange=new m.n(!0),this._openedStream=this.openedChange.pipe(Object(M.a)(function(e){return e}),Object(L.a)(function(){})),this.openedStart=this._animationStarted.pipe(Object(M.a)(function(e){return e.fromState!==e.toState&&0===e.toState.indexOf("open")}),Ee(void 0)),this._closedStream=this.openedChange.pipe(Object(M.a)(function(e){return!e}),Object(L.a)(function(){})),this.closedStart=this._animationStarted.pipe(Object(M.a)(function(e){return e.fromState!==e.toState&&"void"===e.toState}),Ee(void 0)),this._destroyed=new D.a,this.onPositionChanged=new m.n,this._modeChanged=new D.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(j.a)(u._elementRef.nativeElement,"keydown").pipe(Object(M.a)(function(e){return e.keyCode===Se.e&&!u.disableClose&&!Object(Se.o)(e)}),Object(Te.a)(u._destroyed)).subscribe(function(e){return u._ngZone.run(function(){u.close(),e.stopPropagation(),e.preventDefault()})})}),this._animationEnd.pipe(Object(xe.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(B.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||Ue)(m.Ob(m.l),m.Ob(Ne.e),m.Ob(Ne.d),m.Ob(ke.a),m.Ob(m.A),m.Ob(w.d,8),m.Ob(nt,8))},Ue.\u0275cmp=m.Ib({type:Ue,selectors:[["mat-drawer"]],hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(e,t){1&e&&m.xc("@transform.start",function(e){return t._animationStartListener(e)})("@transform.done",function(e){return t._animationDoneListener(e)}),2&e&&(m.Db("align",null),m.yc("@transform",t._animationState),m.Gb("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:Re,decls:2,vars:0,consts:[[1,"mat-drawer-inner-container"]],template:function(e,t){1&e&&(m.ic(),m.Tb(0,"div",0),m.hc(1),m.Sb())},encapsulation:2,data:{animation:[et.transformDrawer]},changeDetection:0}),Ue),ot=((Xe=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 m.E,this.backdropClick=new m.n,this._destroyed=new D.a,this._doCheckSubject=new D.a,this._contentMargins={left:null,right:null},this._contentMarginChanges=new D.a,t&&t.change.pipe(Object(Te.a)(this._destroyed)).subscribe(function(){s._validateDrawers(),s.updateContentMargins()}),o.change().pipe(Object(Te.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(Te.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(je.a)(10),Object(Te.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(M.a)(function(e){return e.fromState!==e.toState}),Object(Te.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(Te.a)(this._drawers.changes)).subscribe(function(){return t._setContainerClass(e.opened)})}},{key:"_watchDrawerPosition",value:function(e){var t=this;e&&e.onPositionChanged.pipe(Object(Te.a)(this._drawers.changes)).subscribe(function(){t._ngZone.onMicrotaskEmpty.pipe(Object(B.a)(1)).subscribe(function(){t._validateDrawers()})})}},{key:"_watchDrawerMode",value:function(e){var t=this;e&&e._modeChanged.pipe(Object(Te.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||Xe)(m.Ob(De.b,8),m.Ob(m.l),m.Ob(m.A),m.Ob(m.h),m.Ob(we.e),m.Ob(tt),m.Ob(_.a,8))},Xe.\u0275cmp=m.Ib({type:Xe,selectors:[["mat-drawer-container"]],contentQueries:function(e,t,n){var r;1&e&&(m.Hb(n,rt,1),m.Hb(n,it,1)),2&e&&(m.oc(r=m.bc())&&(t._content=r.first),m.oc(r=m.bc())&&(t._allDrawers=r))},viewQuery:function(e,t){var n;1&e&&m.Ec(rt,1),2&e&&m.oc(n=m.bc())&&(t._userContent=n.first)},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(e,t){2&e&&m.Gb("mat-drawer-container-explicit-backdrop",t._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[m.Bb([{provide:nt,useExisting:Xe}])],ngContentSelectors:Me,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&&(m.ic(Le),m.zc(0,Fe,1,2,"div",0),m.hc(1),m.hc(2,1),m.zc(3,Pe,2,0,"mat-drawer-content",1)),2&e&&(m.jc("ngIf",t.hasBackdrop),m.Cb(3),m.jc("ngIf",!t._content))},directives:[w.k,rt],styles:[$e],encapsulation:2,changeDetection:0}),Xe),st=((ze=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||ze)(m.Ob(m.h),m.Ob(Object(m.V)(function(){return ct})),m.Ob(m.l),m.Ob(we.c),m.Ob(m.A))},ze.\u0275cmp=m.Ib({type:ze,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(e,t){2&e&&m.wc("margin-left",t._container._contentMargins.left,"px")("margin-right",t._container._contentMargins.right,"px")},features:[m.zb],ngContentSelectors:Re,decls:1,vars:0,template:function(e,t){1&e&&(m.ic(),m.hc(0))},encapsulation:2,changeDetection:0}),ze),at=((Be=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||Be)},Be.\u0275cmp=m.Ib({type:Be,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(e,t){2&e&&(m.Db("align",null),m.wc("top",t.fixedInViewport?t.fixedTopGap:null,"px")("bottom",t.fixedInViewport?t.fixedBottomGap:null,"px"),m.Gb("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:[m.zb],ngContentSelectors:Re,decls:2,vars:0,consts:[[1,"mat-drawer-inner-container"]],template:function(e,t){1&e&&(m.ic(),m.Tb(0,"div",0),m.hc(1),m.Sb())},encapsulation:2,data:{animation:[et.transformDrawer]},changeDetection:0}),Be),ut=m.Vb(at),ct=((Ke=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||Ke)},Ke.\u0275cmp=m.Ib({type:Ke,selectors:[["mat-sidenav-container"]],contentQueries:function(e,t,n){var r;1&e&&(m.Hb(n,st,1),m.Hb(n,at,1)),2&e&&(m.oc(r=m.bc())&&(t._content=r.first),m.oc(r=m.bc())&&(t._allDrawers=r))},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(e,t){2&e&&m.Gb("mat-drawer-container-explicit-backdrop",t._backdropOverride)},exportAs:["matSidenavContainer"],features:[m.Bb([{provide:nt,useExisting:Ke}]),m.zb],ngContentSelectors:Ye,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&&(m.ic(Je),m.zc(0,He,1,2,"div",0),m.hc(1),m.hc(2,1),m.zc(3,Ve,2,0,"mat-sidenav-content",1)),2&e&&(m.jc("ngIf",t.hasBackdrop),m.Cb(3),m.jc("ngIf",!t._content))},directives:[w.k,st,we.a],styles:[$e],encapsulation:2,changeDetection:0}),Ke),lt=m.Vb(ct),ht=((We=function e(){b(this,e)}).\u0275mod=m.Mb({type:We}),We.\u0275inj=m.Lb({factory:function(e){return new(e||We)},imports:[[w.c,le.b,ke.b,we.b],we.b,le.b]}),We),ft=["*",[["mat-toolbar-row"]]],dt=["*","mat-toolbar-row"],vt=Object(le.f)(function e(t){b(this,e),this._elementRef=t}),pt=((Qe=function e(){b(this,e)}).\u0275fac=function(e){return new(e||Qe)},Qe.\u0275dir=m.Jb({type:Qe,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),Qe),mt=((Ze=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||Ze)(m.Ob(m.l),m.Ob(ke.a),m.Ob(w.d))},Ze.\u0275cmp=m.Ib({type:Ze,selectors:[["mat-toolbar"]],contentQueries:function(e,t,n){var r;1&e&&m.Hb(n,pt,1),2&e&&m.oc(r=m.bc())&&(t._toolbarRows=r)},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(e,t){2&e&&m.Gb("mat-toolbar-multiple-rows",t._toolbarRows.length>0)("mat-toolbar-single-row",0===t._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[m.zb],ngContentSelectors:dt,decls:2,vars:0,template:function(e,t){1&e&&(m.ic(ft),m.hc(0),m.hc(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}),Ze),yt=((Ge=function e(){b(this,e)}).\u0275mod=m.Mb({type:Ge}),Ge.\u0275inj=m.Lb({factory:function(e){return new(e||Ge)},imports:[[le.b],le.b]}),Ge),gt=new m.r("CurrentDate");function bt(){return new Date}var _t,kt,wt,St,Et=d("GvZq"),Ct=["*"],Ot=((_t=function(){function e(t,n){b(this,e),this.currentDate=n,this.dismissed=new m.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)(m.Ob(Et.a),m.Ob(gt))},_t.\u0275cmp=m.Ib({type:_t,selectors:[["aio-notification"]],hostVars:1,hostBindings:function(e,t){2&e&&m.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&&(m.ic(),m.Tb(0,"span",0),m.ac("click",function(){return t.contentClick()})("keyup.enter",function(){return t.contentClick()}),m.hc(1),m.Sb(),m.Tb(2,"button",1),m.ac("click",function(){return t.dismiss()}),m.Pb(3,"mat-icon",2),m.Sb())},directives:[ue.a,ce.a],encapsulation:2,data:{animation:[Object(Ae.j)("hideAnimation",[Object(Ae.g)("show",Object(Ae.h)({height:"*"})),Object(Ae.g)("hide",Object(Ae.h)({height:0})),Object(Ae.i)("show => hide",Object(Ae.e)(250))])]}}),_t),Tt=d("/lUL"),xt=["searchBox"],It=((kt=function(){function e(t){b(this,e),this.locationService=t,this.searchDebounce=300,this.searchSubject=new D.a,this.onSearch=this.searchSubject.pipe(Object(xe.a)(),Object(je.a)(this.searchDebounce)),this.onFocus=new m.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)(m.Ob(Tt.a))},kt.\u0275cmp=m.Ib({type:kt,selectors:[["aio-search-box"]],viewQuery:function(e,t){var n;1&e&&m.Ec(xt,3),2&e&&m.oc(n=m.bc())&&(t.searchBox=n.first)},outputs:{onSearch:"onSearch",onFocus:"onFocus"},decls:2,vars:0,consts:[["type","search","aria-label","search","placeholder","Search",3,"input","keyup","focus","click"],["searchBox",""]],template:function(e,t){1&e&&(m.Tb(0,"input",0,1),m.ac("input",function(){return t.doSearch()})("keyup",function(){return t.doSearch()})("focus",function(){return t.doFocus()})("click",function(){return t.doSearch()}),m.Sb())},encapsulation:2}),kt),jt=d("9ppp"),At=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 jt.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}(D.a),Nt=d("itXk"),Dt=d("SxV6"),Rt=d("AytR"),Ft=((wt=function e(t){b(this,e),this.location=t,this.mode=this.location.search().mode||Rt.a.mode}).\u0275fac=function(e){return new(e||wt)(m.Xb(Tt.a))},wt.\u0275prov=m.Kb({token:wt,factory:wt.\u0275fac}),wt),Pt=d("jn67"),Lt=d("qZ0a"),Mt=d("05l1"),Ht=Pt.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(Ht).pipe(Object(Lt.a)());return e.connect(),e}},{key:"getVersionInfo",value:function(e){var t=e.pipe(Object(L.a)(function(e){return e.__versionInfo}),Object(Lt.a)());return t.connect(),t}},{key:"getNavigationViews",value:function(e){var t=e.pipe(Object(L.a)(function(e){var t=Object.assign({},e);return Object.keys(t).forEach(function(e){"_"===e[0]&&delete t[e]}),t}),Object(Lt.a)());return t.connect(),t}},{key:"getCurrentNodes",value:function(e){var t=this,n=Object(Nt.a)([e.pipe(Object(L.a)(function(e){return t.computeUrlToNavNodesMap(e)})),this.location.currentPath]).pipe(Object(L.a)(function(e){return{navMap:e[0],url:e[1]}}),Object(L.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)(m.Xb(y.a),m.Xb(Tt.a))},St.\u0275prov=m.Kb({token:St,factory:St.\u0275fac}),St),Bt=d("Faly"),zt=d("to4i"),Xt=d("TNhP");function Ut(e,t){if(1&e&&(m.Tb(0,"div"),m.Tb(1,"a",1),m.Tb(2,"span"),m.Ac(3),m.Sb(),m.Sb(),m.Sb()),2&e){var n=m.ec();m.Cb(1),m.kc("href",n.node.url,m.uc),m.kc("title",n.node.tooltip),m.jc("ngClass",n.classes),m.Cb(2),m.Bc(n.node.title)}}function qt(e,t){if(1&e){var n=m.Ub();m.Tb(0,"a",6),m.ac("click",function(){return m.sc(n),m.ec(2).headerClicked()}),m.Tb(1,"span"),m.Ac(2),m.Sb(),m.Pb(3,"mat-icon",7),m.Sb()}if(2&e){var r=m.ec(2);m.kc("href",r.node.url,m.uc),m.kc("title",r.node.tooltip),m.jc("ngClass",r.classes),m.Cb(2),m.Bc(r.node.title)}}function Kt(e,t){if(1&e){var n=m.Ub();m.Tb(0,"button",8),m.ac("click",function(){return m.sc(n),m.ec(2).headerClicked()}),m.Tb(1,"span"),m.Ac(2),m.Sb(),m.Pb(3,"mat-icon",7),m.Sb()}if(2&e){var r=m.ec(2);m.kc("title",r.node.tooltip),m.jc("ngClass",r.classes),m.Db("aria-pressed",r.isExpanded),m.Cb(2),m.Bc(r.node.title)}}function Wt(e,t){if(1&e&&m.Pb(0,"aio-nav-item",9),2&e){var n=t.$implicit,r=m.ec(2);m.jc("level",r.level+1)("isWide",r.isWide)("isParentExpanded",r.isExpanded)("node",n)("selectedNodes",r.selectedNodes)}}function Gt(e,t){if(1&e&&(m.Tb(0,"div"),m.zc(1,qt,4,4,"a",2),m.zc(2,Kt,4,4,"button",3),m.Tb(3,"div",4),m.zc(4,Wt,1,5,"aio-nav-item",5),m.Sb(),m.Sb()),2&e){var n=m.ec();m.Cb(1),m.jc("ngIf",null!=n.node.url),m.Cb(1),m.jc("ngIf",null==n.node.url),m.Cb(1),m.jc("ngClass",n.classes),m.Cb(1),m.jc("ngForOf",n.nodeChildren)}}var Zt,Qt=((Zt=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()}}]),t}()).\u0275fac=function(e){return new(e||Zt)},Zt.\u0275cmp=m.Ib({type:Zt,selectors:[["aio-nav-item"]],inputs:{isWide:"isWide",level:"level",node:"node",isParentExpanded:"isParentExpanded",selectedNodes:"selectedNodes"},features:[m.Ab],decls:2,vars:2,consts:[[4,"ngIf"],[1,"vertical-menu-item",3,"href","ngClass","title"],["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&&(m.zc(0,Ut,4,4,"div",0),m.zc(1,Gt,5,4,"div",0)),2&e&&(m.jc("ngIf",!t.node.children),m.Cb(1),m.jc("ngIf",t.node.children))},directives:[w.k,w.i,w.j,ce.a,Zt],encapsulation:2}),Zt);function Jt(e,t){if(1&e&&m.Pb(0,"aio-nav-item",1),2&e){var n=t.$implicit,r=m.ec();m.jc("node",n)("selectedNodes",null==r.currentNode?null:r.currentNode.nodes)("isWide",r.isWide)}}var Yt,$t=((Yt=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||Yt)},Yt.\u0275cmp=m.Ib({type:Yt,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&&m.zc(0,Jt,1,3,"aio-nav-item",0),2&e&&m.jc("ngForOf",t.filteredNodes)},directives:[w.j,Qt],encapsulation:2}),Yt),en=d("x4lQ");function tn(e,t){if(1&e&&(m.Tb(0,"div",1),m.Tb(1,"p"),m.Ac(2,"This is the "),m.Tb(3,"strong"),m.Ac(4),m.Sb(),m.Ac(5," Please visit "),m.Tb(6,"a",2),m.Ac(7,"angular.io"),m.Sb(),m.Ac(8," to see documentation for the current version of Angular."),m.Sb(),m.Sb()),2&e){var n=m.ec();m.Cb(4),m.Cc("archived documentation for Angular v",null==n.version?null:n.version.major,".")}}var nn,rn=((nn=function e(){b(this,e)}).\u0275fac=function(e){return new(e||nn)},nn.\u0275cmp=m.Ib({type:nn,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.io/"]],template:function(e,t){1&e&&m.zc(0,tn,9,1,"div",0),2&e&&m.jc("ngIf","archive"==t.mode)},directives:[w.k],encapsulation:2}),nn);function on(e,t,n,r){return new(n||(n=Promise))(function(i,o){function s(e){try{u(r.next(e))}catch(t){o(t)}}function a(e){try{u(r.throw(e))}catch(t){o(t)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}u((r=r.apply(e,t||[])).next())})}var sn=d("7Hc7"),an=d("PqYM"),un=d("pxpQ"),cn=d("JIr8"),ln=d("vHPH"),hn=[{selector:"aio-announcement-bar",loadChildren:function(){return d.e(2).then(d.bind(null,"5UAH")).then(function(e){return e.AnnouncementBarModule})}},{selector:"aio-api-list",loadChildren:function(){return d.e(3).then(d.bind(null,"dth9")).then(function(e){return e.ApiListModule})}},{selector:"aio-contributor-list",loadChildren:function(){return d.e(7).then(d.bind(null,"fPy6")).then(function(e){return e.ContributorListModule})}},{selector:"aio-file-not-found-search",loadChildren:function(){return d.e(14).then(d.bind(null,"Afo1")).then(function(e){return e.FileNotFoundSearchModule})}},{selector:"aio-resource-list",loadChildren:function(){return d.e(13).then(d.bind(null,"6U+v")).then(function(e){return e.ResourceListModule})}},{selector:"aio-toc",loadChildren:function(){return d.e(16).then(d.bind(null,"+1zh")).then(function(e){return e.TocModule})}},{selector:"code-example",loadChildren:function(){return Promise.all([d.e(1),d.e(5)]).then(d.bind(null,"DzVX")).then(function(e){return e.CodeExampleModule})}},{selector:"code-tabs",loadChildren:function(){return Promise.all([d.e(1),d.e(6)]).then(d.bind(null,"g5Zp")).then(function(e){return e.CodeTabsModule})}},{selector:"live-example",loadChildren:function(){return d.e(9).then(d.bind(null,"m7ka")).then(function(e){return e.LiveExampleModule})}},{selector:"aio-events",loadChildren:function(){return d.e(8).then(d.bind(null,"tpRh")).then(function(e){return e.EventsModule})}}],fn=new m.r("aio/elements-map"),dn=new Map;hn.forEach(function(e){dn.set(e.selector,e.loadChildren)});var vn,pn=d("jtHE"),mn={schedule:function(e,t){var n=setTimeout(e,t);return function(){return clearTimeout(n)}},scheduleBeforeRender:function(e){if("undefined"==typeof window)return mn.schedule(e,0);if(void 0===window.requestAnimationFrame)return mn.schedule(e,16);var t=window.requestAnimationFrame(e);return function(){return window.cancelAnimationFrame(t)}}};function yn(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(!vn){var n=Element.prototype;vn=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE&&vn.call(e,t)}(e,t)||(r=n,0))}),r}var gn=function(){function e(t,n){b(this,e),this.componentFactory=n.get(m.j).resolveComponentFactory(t)}return k(e,[{key:"create",value:function(e){return new bn(this.componentFactory,e)}}]),e}(),bn=function(){function e(t,n){b(this,e),this.componentFactory=t,this.injector=n,this.eventEmitters=new pn.a(1),this.events=this.eventEmitters.pipe(Object(H.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(m.A),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=mn.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=m.s.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=yn(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(m.h),this.implementsOnChanges="function"==typeof this.componentRef.instance.ngOnChanges,this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(m.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(L.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=mn.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 m.K(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}(),_n=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 m.Q("11.2.3");var kn,wn,Sn=((kn=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(A.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 m.w?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(m.j).resolveComponentFactory(e).inputs}(r,i.injector),s=i.strategyFactory||new gn(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}(_n)).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||kn)(m.Xb(m.y),m.Xb(fn),m.Xb(m.i))},kn.\u0275prov=m.Kb({token:kn,factory:kn.\u0275fac}),kn),En=document.querySelector("aio-doc-viewer"),Cn=En?En.innerHTML:"",On=((wn=function(){function e(t,n,r,i,o,s){var a=this;b(this,e),this.logger=n,this.titleService=r,this.metaService=i,this.tocService=o,this.elementsLoader=s,this.void$=Object(A.a)(void 0),this.onDestroy$=new m.n,this.docContents$=new m.n,this.currViewContainer=document.createElement("div"),this.nextViewContainer=document.createElement("div"),this.docReady=new m.n,this.docRemoved=new m.n,this.docInserted=new m.n,this.docRendered=new m.n,this.hostElement=t.nativeElement,this.hostElement.innerHTML=Cn,this.hostElement.firstElementChild&&(this.currViewContainer=this.hostElement.firstElementChild),this.docContents$.pipe(Object(un.b)(sn.a),Object(H.a)(function(e){return a.render(e)}),Object(Te.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 r&&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===Pt.e||e.id===Pt.d),this.void$.pipe(Object(z.a)(function(){return n.nextViewContainer.innerHTML=e.contents||""}),Object(z.a)(function(){return t=n.prepareTitleAndToc(n.nextViewContainer,e.id)}),Object(H.a)(function(){return n.elementsLoader.loadContainedCustomElements(n.nextViewContainer)}),Object(z.a)(function(){return n.docReady.emit()}),Object(H.a)(function(){return n.swapViews(t)}),Object(z.a)(function(){return n.docRendered.emit()}),Object(cn.a)(function(t){var i=""+(t instanceof Error?t.stack:t);return n.logger.error(new Error("[DocViewer] Error preparing document '".concat(e.id,"': ").concat(i))),n.nextViewContainer.innerHTML="",n.setNoIndex(!0),/loading chunk \d+ failed/i.test(i)&&function(){var e,t,n;on(this,void 0,void 0,regeneratorRuntime.mark(function i(){var o,s,a,u;return regeneratorRuntime.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:if(u=function(e,t){var n=t.map(function(e){var t=e.key,n=e.value;return" - ".concat(t).concat(n?": "+JSON.stringify(n):"")}).join("\n");console.log("\nCache: ".concat(e," (").concat(t.length," entries)\n").concat(n))},a=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return on(this,void 0,void 0,regeneratorRuntime.mark(function r(){var i,o,s,a=this;return regeneratorRuntime.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return i=new Set(n.map(function(e){return new Request(e).url})),r.next=3,caches.open(e);case 3:return o=r.sent,r.next=6,o.keys();case 6:return s=r.sent.map(function(e){return e.url}).filter(function(e){return!i.has(e)}),r.next=9,Promise.all(s.map(function(e){return on(a,void 0,void 0,regeneratorRuntime.mark(function n(){var r;return regeneratorRuntime.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(n.t0=e,!t){n.next=18;break}return n.next=4,o.match(e);case 4:if(n.t3=r=n.sent,n.t2=null===n.t3,n.t2){n.next=8;break}n.t2=void 0===r;case 8:if(!n.t2){n.next=12;break}n.t4=void 0,n.next=13;break;case 12:n.t4=r.json();case 13:return n.next=15,n.t4;case 15:n.t1=n.sent,n.next=19;break;case 18:n.t1=void 0;case 19:return n.t5=n.t1,n.abrupt("return",{key:n.t0,value:n.t5});case 21:case"end":return n.stop()}},n)}))}));case 9:return r.abrupt("return",r.sent);case 10:case"end":return r.stop()}},r)}))},s=function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];return on(this,void 0,void 0,regeneratorRuntime.mark(function o(){var s,c,l,h,f;return regeneratorRuntime.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:s=e.filter(function(e){return e.endsWith(t)}),c=r(s),o.prev=2,c.s();case 4:if((l=c.n()).done){o.next=13;break}return h=l.value,o.next=8,a(h,n,i);case 8:return f=o.sent,o.next=11,u(h,f);case 11:o.next=4;break;case 13:o.next=18;break;case 15:o.prev=15,o.t0=o.catch(2),c.e(o.t0);case 18:return o.prev=18,c.f(),o.finish(18);case 21:case"end":return o.stop()}},o,null,[[2,15,18,21]])}))},console.log("\nServiceWorker: "+(null!==(n=null===(t=null===(e=navigator.serviceWorker)||void 0===e?void 0:e.controller)||void 0===t?void 0:t.state)&&void 0!==n?n:"N/A")),"undefined"!=typeof caches){i.next=7;break}console.log("\nCaches: N/A"),i.next=16;break;case 7:return i.next=9,caches.keys();case 9:return o=i.sent.filter(function(e){return e.startsWith("ngsw:/:")}),i.next=12,s(o,"db:control",!0,["manifests"]);case 12:return i.next=14,s(o,"assets:app-shell:cache",!1);case 14:return i.next=16,s(o,"assets:app-shell:meta",!0);case 16:console.warn("\nIf you see this error, please report an issue at https://github.com/angular/angular/issues/new?template=3-docs-bug.md including the above logs.");case 17:case"end":return i.stop()}},i)}))}(),n.void$}))}},{key:"setNoIndex",value:function(e){e?this.metaService.addTag({name:"robots",content:"noindex"}):this.metaService.removeTag('name="robots"')}},{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(z.a)(function(){return n.style[i]=s})):t.void$.pipe(Object(H.a)(function(){return r}),Object(z.a)(function(){return n.style[i]=o}),Object(H.a)(function(){return r}),Object(z.a)(function(){return n.style.transition="all ".concat(a,"ms ease-in-out")}),Object(H.a)(function(){return r}),Object(z.a)(function(){return n.style[i]=s}),Object(H.a)(function(){return Object(an.a)(function(e){var t=getComputedStyle(e).transitionDuration||"";return 1e3*Number(t.replace(/s$/,""))}(n))}),Object(H.a)(function(){return t.void$}))},o=this.void$;return this.currViewContainer.parentElement&&(o=o.pipe(Object(H.a)(function(){return i(t.currViewContainer,"opacity","1","0.1")}),Object(z.a)(function(){return t.currViewContainer.parentElement.removeChild(t.currViewContainer)}),Object(z.a)(function(){return t.docRemoved.emit()}))),o.pipe(Object(z.a)(function(){return t.hostElement.appendChild(t.nextViewContainer)}),Object(z.a)(function(){return n()}),Object(z.a)(function(){return t.docInserted.emit()}),Object(H.a)(function(){return i(t.nextViewContainer,"opacity","0.1","1")}),Object(z.a)(function(){var e=t.currViewContainer;t.currViewContainer=t.nextViewContainer,t.nextViewContainer=e,t.nextViewContainer.innerHTML=""}))}},{key:"doc",set:function(e){e&&this.docContents$.emit(e)}}]),e}()).animationsEnabled=!0,wn.\u0275fac=function(e){return new(e||wn)(m.Ob(m.l),m.Ob(ln.a),m.Ob(p.d),m.Ob(p.c),m.Ob(Xt.a),m.Ob(Sn))},wn.\u0275cmp=m.Ib({type:wn,selectors:[["aio-doc-viewer"]],inputs:{doc:"doc"},outputs:{docReady:"docReady",docRemoved:"docRemoved",docInserted:"docInserted",docRendered:"docRendered"},decls:0,vars:0,template:function(e,t){},encapsulation:2}),wn);function Tn(e,t){if(1&e&&(m.Tb(0,"li"),m.Tb(1,"a",6),m.Ac(2),m.Sb(),m.Sb()),2&e){var n=t.$implicit;m.Cb(1),m.jc("href",n.url,m.uc)("title",n.tooltip||n.title),m.Cb(1),m.Bc(n.title)}}function xn(e,t){if(1&e&&(m.Tb(0,"div",4),m.Tb(1,"h3"),m.Ac(2),m.Sb(),m.Tb(3,"ul"),m.zc(4,Tn,3,3,"li",5),m.Sb(),m.Sb()),2&e){var n=t.$implicit;m.Cb(2),m.Bc(n.title),m.Cb(2),m.jc("ngForOf",n.children)}}var In,jn=((In=function e(){b(this,e)}).\u0275fac=function(e){return new(e||In)},In.\u0275cmp=m.Ib({type:In,selectors:[["aio-footer"]],inputs:{nodes:"nodes",versionInfo:"versionInfo"},decls:14,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&&(m.Tb(0,"div",0),m.zc(1,xn,5,2,"div",1),m.Sb(),m.Tb(2,"p"),m.Ac(3," Super-powered by Google \xa92010-2021.\n"),m.Sb(),m.Tb(4,"p"),m.Ac(5," Code licensed under an "),m.Tb(6,"a",2),m.Ac(7,"MIT-style License"),m.Sb(),m.Ac(8,". Documentation licensed under "),m.Tb(9,"a",3),m.Ac(10,"CC BY 4.0"),m.Sb(),m.Ac(11,".\n"),m.Sb(),m.Tb(12,"p"),m.Ac(13),m.Sb()),2&e&&(m.Cb(1),m.jc("ngForOf",t.nodes),m.Cb(12),m.Cc(" Version ",null==t.versionInfo?null:t.versionInfo.full,".\n"))},directives:[w.j],encapsulation:2}),In),An=function(e){return{selected:e}};function Nn(e,t){if(1&e&&(m.Tb(0,"li",2),m.Tb(1,"a",3),m.Tb(2,"span",4),m.Ac(3),m.Sb(),m.Sb(),m.Sb()),2&e){var n=t.$implicit,r=m.ec();m.jc("ngClass",m.mc(4,An,n.url===r.currentUrl)),m.Cb(1),m.jc("href",n.url,m.uc)("title",n.tooltip),m.Cb(2),m.Bc(n.title)}}var Dn,Rn,Fn,Pn=((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=m.Ib({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"],[1,"nav-link-inner"]],template:function(e,t){1&e&&(m.Tb(0,"ul",0),m.zc(1,Nn,4,6,"li",1),m.Sb()),2&e&&(m.Cb(1),m.jc("ngForOf",t.nodes))},directives:[w.j,w.i],encapsulation:2}),Dn),Ln=d("LwjS"),Mn=["dt"],Hn=((Fn=function(){function e(){b(this,e),this.docChange=new m.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||Fn)},Fn.\u0275cmp=m.Ib({type:Fn,selectors:[["aio-dt"]],viewQuery:function(e,t){var n;1&e&&m.Ec(Mn,3,m.l),2&e&&m.oc(n=m.bc())&&(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&&(m.Tb(0,"div"),m.Pb(1,"hr"),m.Pb(2,"textarea",0,1),m.Pb(4,"br"),m.Tb(5,"button",2),m.ac("click",function(){return t.dtextSet()}),m.Ac(6,"Show change"),m.Sb(),m.Sb()),2&e&&(m.Cb(2),m.jc("value",t.text))},encapsulation:2}),Fn),Vn=((Rn=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||Rn)(m.Ob(m.l),m.Ob(Sn),m.Ob(ln.a))},Rn.\u0275cmp=m.Ib({type:Rn,selectors:[["aio-lazy-ce"]],inputs:{selector:"selector"},decls:0,vars:0,template:function(e,t){},encapsulation:2}),Rn),Bn=["searchBox","searchResultsView"];function zn(e,t){1&e&&(m.Tb(0,"div",40),m.Pb(1,"mat-progress-bar",41),m.Sb())}function Xn(e,t){1&e&&m.Pb(0,"img",42)}function Un(e,t){1&e&&m.Pb(0,"img",43)}function qn(e,t){if(1&e&&m.Pb(0,"aio-top-menu",44),2&e){var n=m.ec();m.jc("nodes",n.topMenuNodes)("currentNode",null==n.currentNodes?null:n.currentNodes.TopBar)}}function Kn(e,t){if(1&e){var n=m.Ub();m.Tb(0,"aio-search-results",45,46),m.ac("resultSelected",function(){return m.sc(n),m.ec().hideSearchResults()}),m.fc(2,"async"),m.Sb()}if(2&e){var r=m.ec();m.jc("searchResults",m.gc(2,1,r.searchResults))}}function Wn(e,t){if(1&e&&m.Pb(0,"aio-nav-menu",29),2&e){var n=m.ec();m.jc("nodes",n.topMenuNarrowNodes)("currentNode",null==n.currentNodes?null:n.currentNodes.TopBarNarrow)("isWide",!1)}}function Gn(e,t){if(1&e){var n=m.Ub();m.Tb(0,"aio-dt",47),m.ac("docChange",function(e){return m.sc(n),m.ec().currentDocument=e}),m.Sb()}if(2&e){var r=m.ec();m.jc("doc",r.currentDocument)}}function Zn(e,t){if(1&e){var n=m.Ub();m.Tb(0,"div",48),m.ac("wheel",function(e){return m.sc(n),m.ec().restrainScrolling(e)}),m.Pb(1,"aio-lazy-ce",49),m.Sb()}if(2&e){var r=m.ec();m.wc("max-height",r.tocMaxHeight,"px")}}function Qn(e,t){1&e&&(m.Tb(0,"div",50),m.Tb(1,"mat-icon"),m.Ac(2,"\xa0"),m.Sb(),m.Sb())}var Jn,Yn,$n,er=function(e){return{collapsed:e}},tr=((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.isSideNavDoc=!1,this.hasFloatingToc=!1,this.showFloatingToc=new At(!1),this.tocMaxHeightOffset=0,this.showSearchResults=!1,this.notificationAnimating=!1}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.a)([this.navigationService.versionInfo,this.navigationService.navigationViews.pipe(Object(L.a)(function(e){return e.docVersions}))]).subscribe(function(t){var n=s(t,2),r=n[0],o=n[1],a=[{title:"next",url:"https://next.angular.io/"},{title:"rc",url:"https://rc.angular.io/"},{title:"stable",url:"https://angular.io/"}];"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.title===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(L.a)(function(e){return e.length>0}));Object(Nt.a)([t,this.showFloatingToc]).subscribe(function(t){var n=s(t,2),r=n[0],i=n[1];return e.hasFloatingToc=r&&i}),Object(Nt.a)([this.documentService.currentDocument,this.navigationService.currentNodes]).pipe(Object(Dt.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)(m.Ob(Ft),m.Ob(Pt.c),m.Ob(m.l),m.Ob(Tt.a),m.Ob(Vt),m.Ob(Bt.a),m.Ob(zt.a),m.Ob(Xt.a))},Jn.\u0275cmp=m.Ib({type:Jn,selectors:[["aio-shell"]],viewQuery:function(e,t){var n;1&e&&(m.Ec(It,3),m.Ec(at,3),m.Ec(Ot,3),m.Ec(Bn,1,m.l)),2&e&&(m.oc(n=m.bc())&&(t.searchBox=n.first),m.oc(n=m.bc())&&(t.sidenav=n.first),m.oc(n=m.bc())&&(t.notification=n.first),m.oc(n=m.bc())&&(t.searchElements=n))},hostVars:3,hostBindings:function(e,t){1&e&&m.ac("resize",function(e){return t.onResize(e.target.innerWidth)},!1,m.rc)("click",function(e){return t.onClick(e.target,e.button,e.ctrlKey,e.metaKey,e.altKey)})("scroll",function(){return t.onScroll()},!1,m.rc)("keyup",function(e){return t.onKeyUp(e.key,e.which)},!1,m.qc),2&e&&(m.yc("@.disabled",t.isStarting),m.Eb(t.hostClasses))},decls:46,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"],["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"],["href","https://youtube.com/angular","title","YouTube","aria-label","Angular on YouTube"],["svgIcon","logos:youtube"],[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=m.Ub();m.Pb(0,"div",0),m.zc(1,zn,2,0,"div",1),m.Tb(2,"mat-toolbar",2),m.Tb(3,"mat-toolbar-row",3),m.Tb(4,"aio-notification",4),m.ac("dismissed",function(){return t.notificationDismissed()}),m.Tb(5,"a",5),m.Pb(6,"mat-icon",6),m.Tb(7,"span",7),m.Ac(8,"Help Angular by taking a "),m.Tb(9,"b"),m.Ac(10,"1 minute survey"),m.Sb(),m.Ac(11,"!"),m.Sb(),m.Tb(12,"span",8),m.Ac(13,"Go to survey"),m.Sb(),m.Sb(),m.Sb(),m.Sb(),m.Tb(14,"mat-toolbar-row"),m.Tb(15,"button",9),m.ac("click",function(){return m.sc(n),m.pc(33).toggle()}),m.Pb(16,"mat-icon",10),m.Sb(),m.Tb(17,"a",11),m.zc(18,Xn,1,0,"img",12),m.zc(19,Un,1,0,"img",13),m.Sb(),m.zc(20,qn,1,2,"aio-top-menu",14),m.Tb(21,"aio-search-box",15,16),m.ac("onSearch",function(e){return t.doSearch(e)})("onFocus",function(e){return t.doSearch(e)}),m.Sb(),m.Tb(23,"div",17),m.Tb(24,"a",18),m.Pb(25,"mat-icon",19),m.Sb(),m.Tb(26,"a",20),m.Pb(27,"mat-icon",21),m.Sb(),m.Tb(28,"a",22),m.Pb(29,"mat-icon",23),m.Sb(),m.Sb(),m.Sb(),m.Sb(),m.zc(30,Kn,3,3,"aio-search-results",24),m.Tb(31,"mat-sidenav-container",25),m.Tb(32,"mat-sidenav",26,27),m.ac("openedChange",function(){return t.updateHostClasses()}),m.zc(34,Wn,1,3,"aio-nav-menu",28),m.Pb(35,"aio-nav-menu",29),m.Tb(36,"div",30),m.Tb(37,"aio-select",31),m.ac("change",function(e){return t.onDocVersionChange(e.index)}),m.Sb(),m.Sb(),m.Sb(),m.Tb(38,"main",32),m.Pb(39,"aio-mode-banner",33),m.Tb(40,"aio-doc-viewer",34),m.ac("docReady",function(){return t.onDocReady()})("docRemoved",function(){return t.onDocRemoved()})("docInserted",function(){return t.onDocInserted()})("docRendered",function(){return t.onDocRendered()}),m.Sb(),m.zc(41,Gn,1,1,"aio-dt",35),m.Sb(),m.Sb(),m.zc(42,Zn,2,2,"div",36),m.Tb(43,"footer",37),m.Pb(44,"aio-footer",38),m.Sb(),m.zc(45,Qn,3,0,"div",39)}2&e&&(m.Cb(1),m.jc("ngIf",t.isFetching),m.Cb(1),m.Gb("transitioning",t.isTransitioning),m.Cb(2),m.jc("dismissOnContentClick",!0),m.Cb(11),m.Gb("starting",t.isStarting),m.Cb(2),m.jc("ngSwitch",t.showTopMenu),m.Cb(1),m.jc("ngSwitchCase",!0),m.Cb(2),m.jc("ngIf",t.showTopMenu),m.Cb(10),m.jc("ngIf",t.showSearchResults),m.Cb(1),m.Gb("starting",t.isStarting)("has-floating-toc",t.hasFloatingToc),m.Cb(1),m.jc("ngClass",m.mc(34,er,!t.dockSideNav))("mode",t.mode)("opened",t.isOpened),m.Cb(2),m.jc("ngIf",!t.showTopMenu),m.Cb(1),m.jc("nodes",t.sideNavNodes)("currentNode",null==t.currentNodes?null:t.currentNodes.SideNav)("isWide",t.dockSideNav),m.Cb(2),m.jc("options",t.docVersions)("selected",t.currentDocVersion),m.Cb(1),m.jc("id",t.pageId),m.Cb(1),m.jc("mode",t.deployment.mode)("version",t.versionInfo),m.Cb(1),m.Gb("no-animations",t.isStarting),m.jc("doc",t.currentDocument),m.Cb(1),m.jc("ngIf",t.dtOn),m.Cb(1),m.jc("ngIf",t.hasFloatingToc),m.Cb(2),m.jc("nodes",t.footerNodes)("versionInfo",t.versionInfo),m.Cb(1),m.jc("ngIf",!t.isStarting))},directives:[w.k,mt,pt,Ot,ce.a,ue.a,w.m,w.n,w.o,It,ct,at,w.i,$t,en.a,rn,On,jn,ye,Pn,Ln.a,Hn,Vn],pipes:[w.b],encapsulation:2}),Jn),nr=new m.r("SvgIcons"),rr=((Yn=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(A.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||Yn)(m.Xb(y.a),m.Xb(p.b),m.Xb(w.d,8),m.Xb(m.m),m.Xb(nr))},Yn.\u0275prov=m.Kb({token:Yn,factory:Yn.\u0275fac}),Yn),ir=d("4MUX"),or=(($n=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}(m.m)).\u0275fac=function(e){return new(e||$n)(m.Xb(Et.a))},$n.\u0275prov=m.Kb({token:$n,factory:$n.\u0275fac}),$n),sr=d("FiGy");d("sVev"),d("EQ5u"),d("bOdf"),d("4I5i"),d("XDbj"),d("xbPD"),d("SpAZ"),d("5+tZ"),d("x+ZX"),d("nYR2"),d("bHdf");var ar,ur=new m.r("ROUTES"),cr=((ar=function e(){b(this,e)}).\u0275mod=m.Mb({type:ar}),ar.\u0275inj=m.Lb({factory:function(e){return new(e||ar)},providers:[Sn,{provide:fn,useValue:dn},{provide:ur,useValue:hn,multi:!0}]}),ar),lr=d("PCNd"),hr=d("Y7HM");function fr(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 dr,vr,pr,mr=((vr=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 D.a,i.isEnabled){var s=t.isStable.pipe(Object(Dt.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]:X.a;return(!Object(hr.a)(e)||e<0)&&(e=0),t&&"function"==typeof t.schedule||(t=X.a),new S.a(function(n){return n.add(t.schedule(fr,e,{subscriber:n,counter:0,period:e})),n})}(this.checkInterval)).pipe(Object(z.a)(function(){return o.log("Checking for update...")}),Object(Te.a)(this.onDestroy)).subscribe(function(){return o.swu.checkForUpdate()}),this.swu.available.pipe(Object(z.a)(function(e){return o.log("Update available: "+JSON.stringify(e))}),Object(Te.a)(this.onDestroy)).subscribe(function(){return o.swu.activateUpdate()}),this.swu.activated.pipe(Object(z.a)(function(e){return o.log("Update activated: "+JSON.stringify(e))}),Object(Te.a)(this.onDestroy)).subscribe(function(){return n.fullPageNavigationNeeded()}),this.swu.unrecoverable.pipe(Object(z.a)(function(e){return o.log("Unrecoverable state: ".concat(e.reason,"\nReloading..."))}),Object(Te.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||vr)(m.Xb(m.g),m.Xb(Tt.a),m.Xb(ln.a),m.Xb(Y))},vr.\u0275prov=m.Kb({token:vr,factory:vr.\u0275fac}),vr),yr=((dr=function e(){b(this,e)}).\u0275mod=m.Mb({type:dr}),dr.\u0275inj=m.Lb({factory:function(e){return new(e||dr)},providers:[mr]}),dr),gr=[{provide:nr,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:nr,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:nr,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:nr,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:nr,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:nr,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},{provide:nr,useValue:{namespace:"logos",name:"youtube",svgSource:'<svg focusable="false" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M21.58 7.19c-.23-.86-.91-1.54-1.77-1.77C18.25 5 12 5 12 5s-6.25 0-7.81.42c-.86.23-1.54.91-1.77 1.77C2 8.75 2 12 2 12s0 3.25.42 4.81c.23.86.91 1.54 1.77 1.77C5.75 19 12 19 12 19s6.25 0 7.81-.42c.86-.23 1.54-.91 1.77-1.77C22 15.25 22 12 22 12s0-3.25-.42-4.81zM10 15V9l5.2 3-5.2 3z" /></svg>'},multi:!0}],br=((pr=function e(){b(this,e)}).\u0275mod=m.Mb({type:pr,bootstrap:[tr]}),pr.\u0275inj=m.Lb({factory:function(e){return new(e||pr)},providers:[Ft,Pt.c,{provide:m.m,useClass:or},ir.a,ln.a,w.g,{provide:w.h,useClass:w.p},Tt.a,{provide:ce.c,useClass:rr},Vt,Bt.a,sr.a,zt.a,gr,Xt.a,{provide:gt,useFactory:bt},{provide:Et.a,useFactory:Et.b}],imports:[[p.a,_.b,cr,y.b,ue.b,ce.b,_e,ht,yt,yr,lr.a,ae.register("/ngsw-worker.js",{enabled:Rt.a.production})]]}),pr);Rt.a.production&&Object(m.U)(),p.e().bootstrapModule(br)},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.a732537ab43995de39e0.js.map