!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-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.active0?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(++r1&&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;o1&&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;s2&&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()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;r1&&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;n1&&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;nt?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;u1&&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=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("");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(" tag not found");return n}},{key:"_toSvgElement",value:function(e){for(var t=this._svgElementFromString(""),n=e.attributes,r=0;r0&&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;o1&&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 *";case":leave":return"* => void";case":increment":return function(e,t){return parseFloat(t)>parseFloat(e)};case":decrement":return function(e,t){return parseFloat(t) *"}}(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||l0&&i0?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=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=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=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;V0?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;n0&&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=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=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=0&&e3&&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;n1&&"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=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*,.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)break}else t[a]<0&&(e[18]+=65536),(s>11>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;it){s=o-1;break}}}for(;o>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<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=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.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=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"),!0}},{key:"endElement",value:function(e){var t=e.nodeName.toLowerCase();vr.hasOwnProperty(t)&&!lr.hasOwnProperty(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,"&").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,">")}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;r0&&(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=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;ho?"":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-1)for(n++;n2&&void 0!==arguments[2]&&arguments[2],r=0;r0?'="'+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;r20&&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;i2&&void 0!==arguments[2]?arguments[2]:Ve,r=t.localNames;if(null!==r)for(var i=t.index+1,o=0;o0;){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;r0&&so(n)}}function so(e){for(var t=Br(e);null!==t;t=zr(t))for(var n=10;n0&&so(r)}var o=e[1].components;if(null!==o)for(var s=0;s0&&so(a)}}function ao(e,t){var n=Xe(t,e),r=n[1];!function(e,t){for(var n=t.length;n1&&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;l0){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=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;n1&&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;ou?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;w0&&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;i1&&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(;t32;)t++;return t}(e,Is.key=t,n),Ns(e,t,n))}function Ns(e,t,n){for(;t=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=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;o0)&&(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++;a0;){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>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;i1&&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.currentIndex4&&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-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),r1&&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;r0&&hi(c,h,b.join(" "))}if(o=Be(v,20),void 0!==t)for(var _=o.projection=[],k=0;k1&&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;r0&&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;o2&&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;n1&&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;r0)r.push(s[a/2]);else{for(var c=o[a+1],l=t[-u],h=10;h0&&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;r0&&(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;n1&&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-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
\n
error_outline
\n
\n

Request for document failed.

\n

\n We are unable to retrieve the "'.concat(n,'" page at this time.\n Please check your connection and try again later.\n

\n
\n
\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;lt&&(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;n0&&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;r1&&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;c0){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?"?":a0&&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;r0&&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=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&∈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;c1&&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;o1?n-1:0),i=1;i0&&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;l0&&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;o1&&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'):!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,">"),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:''},multi:!0},{provide:nr,useValue:{name:"insert_comment",svgSource:''},multi:!0},{provide:nr,useValue:{name:"keyboard_arrow_right",svgSource:''},multi:!0},{provide:nr,useValue:{name:"menu",svgSource:''},multi:!0},{provide:nr,useValue:{namespace:"logos",name:"github",svgSource:''},multi:!0},{provide:nr,useValue:{namespace:"logos",name:"twitter",svgSource:''},multi:!0},{provide:nr,useValue:{namespace:"logos",name:"youtube",svgSource:''},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