代码拉取完成,页面将自动刷新
(window.webpackJsonp=window.webpackJsonp||[]).push([[9],{"/lUL":function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var s=n("jtHE"),r=n("lJxs"),i=n("vkgz"),o=n("fXoL"),a=n("4MUX"),c=n("ofXK"),l=n("Faly"),u=n("iL+y");let h=(()=>{class t{constructor(t,e,n,o,a){this.gaService=t,this.location=e,this.scrollService=n,this.platformLocation=o,this.urlParser=document.createElement("a"),this.urlSubject=new s.a(1),this.swUpdateActivated=!1,this.currentUrl=this.urlSubject.pipe(Object(r.a)(t=>this.stripSlashes(t))),this.currentPath=this.currentUrl.pipe(Object(r.a)(t=>(t.match(/[^?#]*/)||[])[0]),Object(i.a)(t=>this.gaService.locationChanged(t))),this.urlSubject.next(e.path(!0)),this.location.subscribe(t=>this.urlSubject.next(t.url||"")),a.updateActivated.subscribe(()=>this.swUpdateActivated=!0)}go(t){t&&(t=this.stripSlashes(t),/^http/.test(t)?this.goExternal(t):this.swUpdateActivated?(this.scrollService.removeStoredScrollInfo(),this.goExternal(t)):(this.location.go(t),this.urlSubject.next(t)))}goExternal(t){window.location.assign(t)}replace(t){window.location.replace(t)}stripSlashes(t){return t.replace(/^\/+/,"").replace(/\/+(\?|#|$)/,"$1")}search(){const t={},e=this.location.path(),n=e.indexOf("?");if(n>-1)try{e.substr(n+1).split("&").forEach(e=>{const n=e.split("=");n[0]&&(t[decodeURIComponent(n[0])]=n[1]&&decodeURIComponent(n[1]))})}catch(s){}return t}setSearch(t,e){const n=Object.keys(e).reduce((t,n)=>{const s=e[n];return void 0===s?t:t+=(t?"&":"?")+`${encodeURIComponent(n)}=${encodeURIComponent(s)}`},"");this.platformLocation.replaceState({},t,this.platformLocation.pathname+n)}handleAnchorClick(t,e=0,n=!1,s=!1){if(0!==e||n||s)return!0;const r=t.target;if(r&&"_self"!==r)return!0;if(null!=t.getAttribute("download"))return!0;const{pathname:i,search:o,hash:a}=t,c=i+o+a;return this.urlParser.href=c,t.href!==this.urlParser.href||!/\/[^/.]*$/.test(i)||(this.go(c),!1)}}return t.\u0275fac=function(e){return new(e||t)(o.Zb(a.a),o.Zb(c.g),o.Zb(l.a),o.Zb(c.o),o.Zb(u.a))},t.\u0275prov=o.Mb({token:t,factory:t.\u0275fac}),t})()},"/uUt":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var s=n("7o/Q");function r(t,e){return n=>n.lift(new i(t,e))}class i{constructor(t,e){this.compare=t,this.keySelector=e}call(t,e){return e.subscribe(new o(t,this.compare,this.keySelector))}}class o extends s.a{constructor(t,e,n){super(t),this.keySelector=n,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(t,e){return t===e}_next(t){let e;try{const{keySelector:n}=this;e=n?n(t):t}catch(s){return this.destination.error(s)}let n=!1;if(this.hasKey)try{const{compare:t}=this;n=t(this.key,e)}catch(s){return this.destination.error(s)}else this.hasKey=!0;n||(this.key=e,this.destination.next(t))}}},0:function(t,e,n){t.exports=n("zUnb")},"05l1":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var s=n("jtHE"),r=n("oB13");function i(t,e,n,i){n&&"function"!=typeof n&&(i=n);const o="function"==typeof n?n:void 0,a=new s.a(t,e,i);return t=>Object(r.a)(()=>a,o)(t)}},"0EUg":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var s=n("bHdf");function r(){return Object(s.a)(1)}},"1G5W":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var s=n("l7GE"),r=n("ZUHj");function i(t){return e=>e.lift(new o(t))}class o{constructor(t){this.notifier=t}call(t,e){const n=new a(t),s=Object(r.a)(n,this.notifier);return s&&!n.seenValue?(n.add(s),e.subscribe(n)):n}}class a extends s.a{constructor(t){super(t),this.seenValue=!1}notifyNext(t,e,n,s,r){this.seenValue=!0,this.complete()}notifyComplete(){}}},"2QA8":function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));const s=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())()},"2fFW":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));let s=!1;const r={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else s&&console.log("RxJS: Back to a better error behavior. Thank you. <3");s=t},get useDeprecatedSynchronousErrorHandling(){return s}}},"3N8a":function(t,e,n){"use strict";var s=n("quSY");class r extends s.a{constructor(t,e){super()}schedule(t,e=0){return this}}n.d(e,"a",(function(){return i}));class i extends r{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const n=this.id,s=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(s,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(s,this.id,e),this}requestAsyncId(t,e,n=0){return setInterval(t.flush.bind(t,this),n)}recycleAsyncId(t,e,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let n=!1,s=void 0;try{this.work(t)}catch(r){n=!0,s=!!r&&r||new Error(r)}if(n)return this.unsubscribe(),s}_unsubscribe(){const t=this.id,e=this.scheduler,n=e.actions,s=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==s&&n.splice(s,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}},"3UWI":function(t,e,n){"use strict";var s=n("D0XW"),r=n("l7GE"),i=n("ZUHj");class o{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new a(t,this.durationSelector))}}class a extends r.a{constructor(t,e){super(t),this.durationSelector=e,this.hasValue=!1}_next(t){if(this.value=t,this.hasValue=!0,!this.throttled){let n;try{const{durationSelector:e}=this;n=e(t)}catch(e){return this.destination.error(e)}const s=Object(i.a)(this,n);!s||s.closed?this.clearThrottle():this.add(this.throttled=s)}}clearThrottle(){const{value:t,hasValue:e,throttled:n}=this;n&&(this.remove(n),this.throttled=null,n.unsubscribe()),e&&(this.value=null,this.hasValue=!1,this.destination.next(t))}notifyNext(t,e,n,s){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}var c=n("PqYM");function l(t,e=s.a){return n=()=>Object(c.a)(t,e),function(t){return t.lift(new o(n))};var n}n.d(e,"a",(function(){return l}))},"4I5i":function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));const s=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})()},"4MUX":function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var s=n("AytR"),r=n("GvZq"),i=n("fXoL");let o=(()=>{class t{constructor(t){this.window=t,this.ga("create",s.a.gaId,"auto")}locationChanged(t){this.sendPage(t)}sendPage(t){t!==this.previousUrl&&(this.previousUrl=t,this.ga("set","page","/"+t),this.ga("send","pageview"))}sendEvent(t,e,n,s){this.ga("send","event",t,e,n,s)}ga(...t){const e=this.window.ga;e&&e(...t)}}return t.\u0275fac=function(e){return new(e||t)(i.Zb(r.a))},t.\u0275prov=i.Mb({token:t,factory:t.\u0275fac}),t})()},"5+tZ":function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var s=n("ZUHj"),r=n("l7GE"),i=n("51Dv"),o=n("lJxs"),a=n("Cfvw");function c(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?s=>s.pipe(c((n,s)=>Object(a.a)(t(n,s)).pipe(Object(o.a)((t,r)=>e(n,t,s,r))),n)):("number"==typeof e&&(n=e),e=>e.lift(new l(t,n)))}class l{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new u(t,this.project,this.concurrent))}}class u extends r.a{constructor(t,e,n=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)}_tryNext(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(s){return void this.destination.error(s)}this.active++,this._innerSub(e,t,n)}_innerSub(t,e,n){const r=new i.a(this,void 0,void 0);this.destination.add(r),Object(s.a)(this,t,e,n,r)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(t,e,n,s,r){this.destination.next(e)}notifyComplete(t){const e=this.buffer;this.remove(t),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},"51Dv":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var s=n("7o/Q");class r extends s.a{constructor(t,e,n){super(),this.parent=t,this.outerValue=e,this.outerIndex=n,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}},"5yfJ":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var s=n("HDdC"),r=n("KqfI");const i=new s.a(r.a)},"7Hc7":function(t,e,n){"use strict";let s=1;const r={},i={setImmediate(t){const e=s++;return r[e]=t,Promise.resolve().then(()=>function(t){const e=r[t];e&&e()}(e)),e},clearImmediate(t){delete r[t]}};var o=n("3N8a");class a extends o.a{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,n=0){return null!==n&&n>0?super.requestAsyncId(t,e,n):(t.actions.push(this),t.scheduled||(t.scheduled=i.setImmediate(t.flush.bind(t,null))))}recycleAsyncId(t,e,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(t,e,n);0===t.actions.length&&(i.clearImmediate(e),t.scheduled=void 0)}}var c=n("IjjT");class l extends c.a{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let n,s=-1,r=e.length;t=t||e.shift();do{if(n=t.execute(t.state,t.delay))break}while(++s<r&&(t=e.shift()));if(this.active=!1,n){for(;++s<r&&(t=e.shift());)t.unsubscribe();throw n}}}n.d(e,"a",(function(){return u}));const u=new l(a)},"7o/Q":function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var s=n("n6bG"),r=n("gRHU"),i=n("quSY"),o=n("2QA8"),a=n("2fFW"),c=n("NJ4a");class l extends i.a{constructor(t,e,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=r.a;break;case 1:if(!t){this.destination=r.a;break}if("object"==typeof t){t instanceof l?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new u(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new u(this,t,e,n)}}[o.a](){return this}static create(t,e,n){const s=new l(t,e,n);return s.syncErrorThrowable=!1,s}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class u extends l{constructor(t,e,n,i){let o;super(),this._parentSubscriber=t;let a=this;Object(s.a)(e)?o=e:e&&(o=e.next,n=e.error,i=e.complete,e!==r.a&&(a=Object.create(e),Object(s.a)(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this))),this._context=a,this._next=o,this._error=n,this._complete=i}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;a.a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:n}=a.a;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):Object(c.a)(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;Object(c.a)(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);a.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),a.a.useDeprecatedSynchronousErrorHandling)throw n;Object(c.a)(n)}}__tryOrSetError(t,e,n){if(!a.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(s){return a.a.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=s,t.syncErrorThrown=!0,!0):(Object(c.a)(s),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}},"8LU1":function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return a})),n.d(e,"d",(function(){return c})),n.d(e,"e",(function(){return i}));var s=n("fXoL");function r(t){return null!=t&&"false"!==`${t}`}function i(t,e=0){return function(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}(t)?Number(t):e}function o(t){return Array.isArray(t)?t:[t]}function a(t){return null==t?"":"string"==typeof t?t:`${t}px`}function c(t){return t instanceof s.l?t.nativeElement:t}},"9ppp":function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));const s=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})()},AytR:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));const s={gaId:"UA-80456300-1",production:!0,mode:"stable"}},Cfvw:function(t,e,n){"use strict";var s=n("HDdC"),r=n("SeVD"),i=n("quSY"),o=n("kJWO"),a=n("jZKg"),c=n("Lhse"),l=n("c2HN"),u=n("I55L");function h(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[o.a]}(t))return function(t,e){return new s.a(n=>{const s=new i.a;return s.add(e.schedule(()=>{const r=t[o.a]();s.add(r.subscribe({next(t){s.add(e.schedule(()=>n.next(t)))},error(t){s.add(e.schedule(()=>n.error(t)))},complete(){s.add(e.schedule(()=>n.complete()))}}))})),s})}(t,e);if(Object(l.a)(t))return function(t,e){return new s.a(n=>{const s=new i.a;return s.add(e.schedule(()=>t.then(t=>{s.add(e.schedule(()=>{n.next(t),s.add(e.schedule(()=>n.complete()))}))},t=>{s.add(e.schedule(()=>n.error(t)))}))),s})}(t,e);if(Object(u.a)(t))return Object(a.a)(t,e);if(function(t){return t&&"function"==typeof t[c.a]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new s.a(n=>{const s=new i.a;let r;return s.add(()=>{r&&"function"==typeof r.return&&r.return()}),s.add(e.schedule(()=>{r=t[c.a](),s.add(e.schedule((function(){if(n.closed)return;let t,e;try{const n=r.next();t=n.value,e=n.done}catch(s){return void n.error(s)}e?n.complete():(n.next(t),this.schedule())})))})),s})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof s.a?t:new s.a(Object(r.a)(t))}n.d(e,"a",(function(){return h}))},D0XW:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var s=n("3N8a");const r=new(n("IjjT").a)(s.a)},DH7j:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));const s=(()=>Array.isArray||(t=>t&&"number"==typeof t.length))()},EY2u:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i}));var s=n("HDdC");const r=new s.a(t=>t.complete());function i(t){return t?function(t){return new s.a(e=>t.schedule(()=>e.complete()))}(t):r}},FKr1:function(t,e,n){"use strict";var s=n("fXoL"),r=n("u47x"),i=n("cH1L");const o=new s.O("9.0.0-rc.8");var a=n("8LU1"),c=(n("XNiG"),n("HDdC"),n("nLfN")),l=(n("jhN1"),n("JX91"),n("ofXK"),n("R1ws"));n("FtGj"),n.d(e,"a",(function(){return S})),n.d(e,"b",(function(){return f})),n.d(e,"c",(function(){return C})),n.d(e,"d",(function(){return x})),n.d(e,"e",(function(){return E})),n.d(e,"f",(function(){return m})),n.d(e,"g",(function(){return b})),n.d(e,"h",(function(){return p})),n.d(e,"i",(function(){return g}));const u=new s.O("9.0.0-rc.8"),h=new s.q("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let d,f=(()=>{class t{constructor(t,e){this._hasDoneGlobalChecks=!1,this._document="object"==typeof document&&document?document:null,this._window="object"==typeof window&&window?window:null,t._applyBodyHighContrastModeCssClasses(),this._sanityChecks=e,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_checksAreEnabled(){return Object(s.X)()&&!this._isTestEnv()}_isTestEnv(){const t=this._window;return t&&(t.__karma__||t.jasmine)}_checkDoctypeIsDefined(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype)&&this._document&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}_checkThemeIsPresent(){if(!(this._checksAreEnabled()&&!1!==this._sanityChecks&&this._sanityChecks.theme&&this._document&&this._document.body&&"function"==typeof getComputedStyle))return;const t=this._document.createElement("div");t.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(t);const e=getComputedStyle(t);e&&"none"!==e.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(t)}_checkCdkVersionMatch(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&u.full!==o.full&&console.warn("The Angular Material version ("+u.full+") does not match the Angular CDK version ("+o.full+").\nPlease ensure the versions of these two packages exactly match.")}}return t.\u0275mod=s.Ob({type:t}),t.\u0275inj=s.Nb({factory:function(e){return new(e||t)(s.Zb(r.f),s.Zb(h,8))},imports:[[i.a],i.a]}),t})();function p(t){return class extends t{constructor(...t){super(...t),this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(a.b)(t)}}}function m(t,e){return class extends t{constructor(...t){super(...t),this.color=e}get color(){return this._color}set color(t){const n=t||e;n!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),n&&this._elementRef.nativeElement.classList.add(`mat-${n}`),this._color=n)}}}function b(t){return class extends t{constructor(...t){super(...t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=Object(a.b)(t)}}}function g(t,e=0){return class extends t{constructor(...t){super(...t),this._tabIndex=e}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(t){this._tabIndex=null!=t?t:e}}}try{d="undefined"!=typeof Intl}catch(O){d=!1}const y=function(){var t={FADING_IN:0,VISIBLE:1,FADING_OUT:2,HIDDEN:3};return t[t.FADING_IN]="FADING_IN",t[t.VISIBLE]="VISIBLE",t[t.FADING_OUT]="FADING_OUT",t[t.HIDDEN]="HIDDEN",t}();class _{constructor(t,e,n){this._renderer=t,this.element=e,this.config=n,this.state=y.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}}const v={enterDuration:450,exitDuration:400},w=Object(c.e)({passive:!0});class E{constructor(t,e,n,s){this._target=t,this._ngZone=e,this._isPointerDown=!1,this._triggerEvents=new Map,this._activeRipples=new Set,this._onMousedown=t=>{const e=Object(r.h)(t),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;this._target.rippleDisabled||e||n||(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))},this._onTouchStart=t=>{if(!this._target.rippleDisabled){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const e=t.changedTouches;for(let t=0;t<e.length;t++)this.fadeInRipple(e[t].clientX,e[t].clientY,this._target.rippleConfig)}},this._onPointerUp=()=>{this._isPointerDown&&(this._isPointerDown=!1,this._activeRipples.forEach(t=>{!t.config.persistent&&(t.state===y.VISIBLE||t.config.terminateOnPointerUp&&t.state===y.FADING_IN)&&t.fadeOut()}))},s.isBrowser&&(this._containerElement=Object(a.d)(n),this._triggerEvents.set("mousedown",this._onMousedown).set("mouseup",this._onPointerUp).set("mouseleave",this._onPointerUp).set("touchstart",this._onTouchStart).set("touchend",this._onPointerUp).set("touchcancel",this._onPointerUp))}fadeInRipple(t,e,n={}){const s=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=Object.assign(Object.assign({},v),n.animation);n.centered&&(t=s.left+s.width/2,e=s.top+s.height/2);const i=n.radius||function(t,e,n){const s=Math.max(Math.abs(t-n.left),Math.abs(t-n.right)),r=Math.max(Math.abs(e-n.top),Math.abs(e-n.bottom));return Math.sqrt(s*s+r*r)}(t,e,s),o=t-s.left,a=e-s.top,c=r.enterDuration,l=document.createElement("div");l.classList.add("mat-ripple-element"),l.style.left=`${o-i}px`,l.style.top=`${a-i}px`,l.style.height=`${2*i}px`,l.style.width=`${2*i}px`,null!=n.color&&(l.style.backgroundColor=n.color),l.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(l),window.getComputedStyle(l).getPropertyValue("opacity"),l.style.transform="scale(1)";const u=new _(this,l,n);return u.state=y.FADING_IN,this._activeRipples.add(u),n.persistent||(this._mostRecentTransientRipple=u),this._runTimeoutOutsideZone(()=>{const t=u===this._mostRecentTransientRipple;u.state=y.VISIBLE,n.persistent||t&&this._isPointerDown||u.fadeOut()},c),u}fadeOutRipple(t){const e=this._activeRipples.delete(t);if(t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const n=t.element,s=Object.assign(Object.assign({},v),t.config.animation);n.style.transitionDuration=`${s.exitDuration}ms`,n.style.opacity="0",t.state=y.FADING_OUT,this._runTimeoutOutsideZone(()=>{t.state=y.HIDDEN,n.parentNode.removeChild(n)},s.exitDuration)}fadeOutAll(){this._activeRipples.forEach(t=>t.fadeOut())}setupTriggerEvents(t){const e=Object(a.d)(t);e&&e!==this._triggerElement&&(this._removeTriggerEvents(),this._ngZone.runOutsideAngular(()=>{this._triggerEvents.forEach((t,n)=>{e.addEventListener(n,t,w)})}),this._triggerElement=e)}_runTimeoutOutsideZone(t,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(t,e))}_removeTriggerEvents(){this._triggerElement&&this._triggerEvents.forEach((t,e)=>{this._triggerElement.removeEventListener(e,t,w)})}}const S=new s.q("mat-ripple-global-options");let C=(()=>{class t{constructor(t,e,n,s,r){this._elementRef=t,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=s||{},this._rippleRenderer=new E(this,e,t,n),"NoopAnimations"===r&&(this._globalOptions.animation={enterDuration:0,exitDuration:0})}get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign({},this._globalOptions.animation),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,e=0,n){return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,e,Object.assign(Object.assign({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),t))}}return t.\u0275fac=function(e){return new(e||t)(s.Qb(s.l),s.Qb(s.z),s.Qb(c.a),s.Qb(S,8),s.Qb(l.a,8))},t.\u0275dir=s.Lb({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,e,n){2&t&&s.Gb("mat-ripple-unbounded",e.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"]}),t})(),x=(()=>{class t{}return t.\u0275mod=s.Ob({type:t}),t.\u0275inj=s.Nb({factory:function(e){return new(e||t)},imports:[[f,c.b],f]}),t})()},Faly:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var s=n("ofXK"),r=n("XNiG"),i=n("xgIS"),o=n("1G5W"),a=n("Kj3r"),c=n("fXoL");let l=(()=>{class t{constructor(t,e,n,s){this.document=t,this.platformLocation=e,this.viewportScroller=n,this.location=s,this.onDestroy=new r.a,this.poppedStateScrollPosition=null,this.supportManualScrollRestoration=!!window&&"scrollTo"in window&&"scrollX"in window&&"scrollY"in window&&!!history&&"scrollRestoration"in history;try{this.storage=window.sessionStorage}catch(c){this.storage={length:0,clear:()=>{},getItem:()=>null,key:()=>null,removeItem:()=>{},setItem:()=>{}}}if(Object(i.a)(window,"resize").pipe(Object(o.a)(this.onDestroy)).subscribe(()=>this._topOffset=null),Object(i.a)(window,"scroll").pipe(Object(a.a)(250),Object(o.a)(this.onDestroy)).subscribe(()=>this.updateScrollPositionInHistory()),Object(i.a)(window,"beforeunload").pipe(Object(o.a)(this.onDestroy)).subscribe(()=>this.updateScrollLocationHref()),this.supportManualScrollRestoration){history.scrollRestoration="manual";const t=this.location.subscribe(t=>{"hashchange"===t.type?this.scrollToPosition():(this.removeStoredScrollInfo(),this.poppedStateScrollPosition=t.state?t.state.scrollPosition:null)});this.onDestroy.subscribe(()=>t.unsubscribe())}window.location.href!==this.getStoredScrollLocationHref()&&this.removeStoredScrollInfo()}get topOffset(){if(!this._topOffset){const t=this.document.querySelector(".app-toolbar");this._topOffset=(t&&t.clientHeight||0)+16}return this._topOffset}get topOfPageElement(){return this._topOfPageElement||(this._topOfPageElement=this.document.getElementById("top-of-page")||this.document.body),this._topOfPageElement}ngOnDestroy(){this.onDestroy.next()}scroll(){const t=this.getCurrentHash(),e=t?this.document.getElementById(t):this.topOfPageElement;this.scrollToElement(e)}isLocationWithHash(){return!!this.getCurrentHash()}scrollAfterRender(t){const e=this.getStoredScrollPosition();e?this.viewportScroller.scrollToPosition(e):this.needToFixScrollPosition()?this.scrollToPosition():this.isLocationWithHash()?setTimeout(()=>this.scroll(),t):this.scrollToTop()}scrollToElement(t){t&&(t.scrollIntoView(),window&&window.scrollBy&&(window.scrollBy(0,t.getBoundingClientRect().top-this.topOffset),window.pageYOffset<20&&window.scrollBy(0,-window.pageYOffset)))}scrollToTop(){this.scrollToElement(this.topOfPageElement)}scrollToPosition(){this.poppedStateScrollPosition&&(this.viewportScroller.scrollToPosition(this.poppedStateScrollPosition),this.poppedStateScrollPosition=null)}updateScrollLocationHref(){this.storage.setItem("scrollLocationHref",window.location.href)}updateScrollPositionInHistory(){if(this.supportManualScrollRestoration){const t=this.viewportScroller.getScrollPosition();this.location.replaceState(this.location.path(!0),void 0,{scrollPosition:t}),this.storage.setItem("scrollPosition",t.join(","))}}getStoredScrollLocationHref(){return this.storage.getItem("scrollLocationHref")||null}getStoredScrollPosition(){const t=this.storage.getItem("scrollPosition");if(!t)return null;const[e,n]=t.split(",");return[+e,+n]}removeStoredScrollInfo(){this.storage.removeItem("scrollLocationHref"),this.storage.removeItem("scrollPosition")}needToFixScrollPosition(){return this.supportManualScrollRestoration&&!!this.poppedStateScrollPosition}getCurrentHash(){return decodeURIComponent(this.platformLocation.hash.replace(/^#/,""))}}return t.\u0275fac=function(e){return new(e||t)(c.Zb(s.d),c.Zb(s.o),c.Zb(s.p),c.Zb(s.g))},t.\u0275prov=c.Mb({token:t,factory:t.\u0275fac}),t})()},FiGy:function(t,e,n){"use strict";n.d(e,"a",(function(){return p}));var s=n("ofXK"),r=n("jtHE"),i=n("XNiG"),o=n("xgIS"),a=n("3UWI"),c=n("1G5W"),l=n("/uUt"),u=n("fXoL"),h=n("Faly");class d{constructor(t,e){this.element=t,this.index=e,this.top=0}calculateTop(t,e){this.top=t+this.element.getBoundingClientRect().top-e}}class f{constructor(t){this.activeScrollItem=new r.a(1),this.spiedElements=t.map((t,e)=>new d(t,e))}calibrate(t,e){this.spiedElements.forEach(n=>n.calculateTop(t,e)),this.spiedElements.sort((t,e)=>e.top-t.top)}onScroll(t,e){let n;t+1>=e?n=this.spiedElements[0]:this.spiedElements.some(e=>e.top<=t&&(n=e,!0)),this.activeScrollItem.next(n||null)}}let p=(()=>{class t{constructor(t,e){this.doc=t,this.scrollService=e,this.spiedElementGroups=[],this.onStopListening=new i.a,this.resizeEvents=Object(o.a)(window,"resize").pipe(Object(a.a)(300),Object(c.a)(this.onStopListening)),this.scrollEvents=Object(o.a)(window,"scroll").pipe(Object(a.a)(10),Object(c.a)(this.onStopListening))}spyOn(t){this.spiedElementGroups.length||(this.resizeEvents.subscribe(()=>this.onResize()),this.scrollEvents.subscribe(()=>this.onScroll()),this.onResize());const e=this.getScrollTop(),n=this.getTopOffset(),s=this.lastMaxScrollTop,r=new f(t);return r.calibrate(e,n),r.onScroll(e,s),this.spiedElementGroups.push(r),{active:r.activeScrollItem.asObservable().pipe(Object(l.a)()),unspy:()=>this.unspy(r)}}getContentHeight(){return this.doc.body.scrollHeight||Number.MAX_SAFE_INTEGER}getScrollTop(){return window&&window.pageYOffset||0}getTopOffset(){return this.scrollService.topOffset+50}getViewportHeight(){return this.doc.body.clientHeight||0}onResize(){const t=this.getContentHeight(),e=this.getViewportHeight(),n=this.getScrollTop(),s=this.getTopOffset();this.lastContentHeight=t,this.lastMaxScrollTop=t-e,this.spiedElementGroups.forEach(t=>t.calibrate(n,s))}onScroll(){this.lastContentHeight!==this.getContentHeight()&&this.onResize();const t=this.getScrollTop(),e=this.lastMaxScrollTop;this.spiedElementGroups.forEach(n=>n.onScroll(t,e))}unspy(t){t.activeScrollItem.complete(),this.spiedElementGroups=this.spiedElementGroups.filter(e=>e!==t),this.spiedElementGroups.length||this.onStopListening.next()}}return t.\u0275fac=function(e){return new(e||t)(u.Zb(s.d),u.Zb(h.a))},t.\u0275prov=u.Mb({token:t,factory:t.\u0275fac}),t})()},FtGj:function(t,e,n){"use strict";n.d(e,"a",(function(){return m})),n.d(e,"b",(function(){return d})),n.d(e,"c",(function(){return a})),n.d(e,"d",(function(){return r})),n.d(e,"e",(function(){return i})),n.d(e,"f",(function(){return c})),n.d(e,"g",(function(){return l})),n.d(e,"h",(function(){return p})),n.d(e,"i",(function(){return h})),n.d(e,"j",(function(){return o})),n.d(e,"k",(function(){return s})),n.d(e,"l",(function(){return u})),n.d(e,"m",(function(){return b})),n.d(e,"n",(function(){return f})),n.d(e,"o",(function(){return g}));const s=9,r=13,i=27,o=32,a=35,c=36,l=37,u=38,h=39,d=40,f=48,p=57,m=65,b=90;function g(t,...e){return e.length?e.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}},GU7r:function(t,e,n){"use strict";n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return l})),n.d(e,"c",(function(){return h}));var s=n("8LU1"),r=n("fXoL"),i=n("HDdC"),o=n("XNiG"),a=n("Kj3r");let c=(()=>{class t{create(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(r.Mb)({factory:function(){return new t},token:t,providedIn:"root"}),t})(),l=(()=>{class t{constructor(t){this._mutationObserverFactory=t,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((t,e)=>this._cleanupObserver(e))}observe(t){const e=Object(s.d)(t);return new i.a(t=>{const n=this._observeElement(e).subscribe(t);return()=>{n.unsubscribe(),this._unobserveElement(e)}})}_observeElement(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{const e=new o.a,n=this._mutationObserverFactory.create(t=>e.next(t));n&&n.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:n,stream:e,count:1})}return this._observedElements.get(t).stream}_unobserveElement(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}_cleanupObserver(t){if(this._observedElements.has(t)){const{observer:e,stream:n}=this._observedElements.get(t);e&&e.disconnect(),n.complete(),this._observedElements.delete(t)}}}return t.\u0275fac=function(e){return new(e||t)(r.Zb(c))},t.\u0275prov=Object(r.Mb)({factory:function(){return new t(Object(r.Zb)(c))},token:t,providedIn:"root"}),t})(),u=(()=>{class t{constructor(t,e,n){this._contentObserver=t,this._elementRef=e,this._ngZone=n,this.event=new r.n,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(s.b)(t),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(t){this._debounce=Object(s.e)(t),this._subscribe()}ngAfterContentInit(){this._currentSubscription||this.disabled||this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const t=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?t.pipe(Object(a.a)(this.debounce)):t).subscribe(this.event)})}_unsubscribe(){this._currentSubscription&&this._currentSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(r.Qb(l),r.Qb(r.l),r.Qb(r.z))},t.\u0275dir=r.Lb({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),t})(),h=(()=>{class t{}return t.\u0275mod=r.Ob({type:t}),t.\u0275inj=r.Nb({factory:function(e){return new(e||t)},providers:[c]}),t})()},GvZq:function(t,e,n){"use strict";n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return r}));const s=new(n("fXoL").q)("Window");function r(){return window}},GyhO:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var s=n("LRne"),r=n("0EUg");function i(...t){return Object(r.a)()(Object(s.a)(...t))}},HDdC:function(t,e,n){"use strict";var s=n("7o/Q"),r=n("2QA8"),i=n("gRHU"),o=n("kJWO"),a=n("mCNh"),c=n("2fFW");n.d(e,"a",(function(){return l}));let l=(()=>{class t{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}subscribe(t,e,n){const{operator:o}=this,a=function(t,e,n){if(t){if(t instanceof s.a)return t;if(t[r.a])return t[r.a]()}return t||e||n?new s.a(t,e,n):new s.a(i.a)}(t,e,n);if(a.add(o?o.call(a,this.source):this.source||c.a.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),c.a.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a}_trySubscribe(t){try{return this._subscribe(t)}catch(e){c.a.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:n,isStopped:r}=t;if(e||r)return!1;t=n&&n instanceof s.a?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=u(e))((e,n)=>{let s;s=this.subscribe(e=>{try{t(e)}catch(r){n(r),s&&s.unsubscribe()}},n,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[o.a](){return this}pipe(...t){return 0===t.length?this:Object(a.b)(t)(this)}toPromise(t){return new(t=u(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function u(t){if(t||(t=c.a.Promise||Promise),!t)throw new Error("no Promise impl found");return t}},I55L:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));const s=t=>t&&"number"==typeof t.length&&"function"!=typeof t},IjjT:function(t,e,n){"use strict";let s=(()=>{class t{constructor(e,n=t.now){this.SchedulerAction=e,this.now=n}schedule(t,e=0,n){return new this.SchedulerAction(this,t).schedule(n,e)}}return t.now=()=>Date.now(),t})();n.d(e,"a",(function(){return r}));class r extends s{constructor(t,e=s.now){super(t,()=>r.delegate&&r.delegate!==this?r.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,n){return r.delegate&&r.delegate!==this?r.delegate.schedule(t,e,n):super.schedule(t,e,n)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}},IzEk:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var s=n("7o/Q"),r=n("4I5i"),i=n("EY2u");function o(t){return e=>0===t?Object(i.b)():e.lift(new a(t))}class a{constructor(t){if(this.total=t,this.total<0)throw new r.a}call(t,e){return e.subscribe(new c(t,this.total))}}class c extends s.a{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))}}},JIr8:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var s=n("l7GE"),r=n("51Dv"),i=n("ZUHj");function o(t){return function(e){const n=new a(t),s=e.lift(n);return n.caught=s}}class a{constructor(t){this.selector=t}call(t,e){return e.subscribe(new c(t,this.selector,this.caught))}}class c extends s.a{constructor(t,e,n){super(t),this.selector=e,this.caught=n}error(t){if(!this.isStopped){let n;try{n=this.selector(t,this.caught)}catch(e){return void super.error(e)}this._unsubscribeAndRecycle();const s=new r.a(this,void 0,void 0);this.add(s),Object(i.a)(this,n,void 0,void 0,s)}}}},JX91:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var s=n("GyhO"),r=n("z+Ro");function i(...t){const e=t[t.length-1];return Object(r.a)(e)?(t.pop(),n=>Object(s.a)(t,n,e)):e=>Object(s.a)(t,e)}},Jho9:function(t,e,n){"use strict";var s=n("ofXK"),r=n("fXoL"),i=n("NXyV"),o=n("z6cu"),a=n("xgIS"),c=n("LRne"),l=n("GyhO"),u=n("XNiG"),h=n("5yfJ"),d=n("VRyK"),f=n("lJxs"),p=n("pLZG"),m=n("eIep"),b=n("oB13"),g=n("IzEk"),y=n("vkgz"),_=n("D0XW"),v=n("7o/Q"),w=n("WMd4");class E{constructor(t,e){this.delay=t,this.scheduler=e}call(t,e){return e.subscribe(new S(t,this.delay,this.scheduler))}}class S extends v.a{constructor(t,e,n){super(t),this.delay=e,this.scheduler=n,this.queue=[],this.active=!1,this.errored=!1}static dispatch(t){const e=t.source,n=e.queue,s=t.scheduler,r=t.destination;for(;n.length>0&&n[0].time-s.now()<=0;)n.shift().notification.observe(r);if(n.length>0){const e=Math.max(0,n[0].time-s.now());this.schedule(t,e)}else this.unsubscribe(),e.active=!1}_schedule(t){this.active=!0,this.destination.add(t.schedule(S.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))}scheduleNotification(t){if(!0===this.errored)return;const e=this.scheduler,n=new C(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}_next(t){this.scheduleNotification(w.a.createNext(t))}_error(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}_complete(){this.scheduleNotification(w.a.createComplete()),this.unsubscribe()}}class C{constructor(t,e){this.time=t,this.notification=e}}n.d(e,"a",(function(){return D})),n.d(e,"b",(function(){return I}));const x="Service workers are disabled or not supported by this browser";class O{constructor(t){if(this.serviceWorker=t,t){const e=Object(a.a)(t,"controllerchange").pipe(Object(f.a)(()=>t.controller)),n=Object(i.a)(()=>Object(c.a)(t.controller)),s=Object(l.a)(n,e);this.worker=s.pipe(Object(p.a)(t=>!!t)),this.registration=this.worker.pipe(Object(m.a)(()=>t.getRegistration()));const r=Object(a.a)(t,"message").pipe(Object(f.a)(t=>t.data)).pipe(Object(p.a)(t=>t&&t.type)).pipe(Object(b.a)(new u.a));r.connect(),this.events=r}else this.worker=this.events=this.registration=Object(i.a)(()=>Object(o.a)(new Error("Service workers are disabled or not supported by this browser")))}postMessage(t,e){return this.worker.pipe(Object(g.a)(1),Object(y.a)(n=>{n.postMessage(Object.assign({action:t},e))})).toPromise().then(()=>{})}postMessageWithStatus(t,e,n){const s=this.waitForStatus(n),r=this.postMessage(t,e);return Promise.all([s,r]).then(()=>{})}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(t){return this.events.pipe(Object(p.a)(e=>e.type===t))}nextEventOfType(t){return this.eventsOfType(t).pipe(Object(g.a)(1))}waitForStatus(t){return this.eventsOfType("STATUS").pipe(Object(p.a)(e=>e.nonce===t),Object(g.a)(1),Object(f.a)(t=>{if(!t.status)throw new Error(t.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let k=(()=>{class t{constructor(t){if(this.sw=t,this.subscriptionChanges=new u.a,!t.isEnabled)return this.messages=h.a,this.notificationClicks=h.a,void(this.subscription=h.a);this.messages=this.sw.eventsOfType("PUSH").pipe(Object(f.a)(t=>t.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe(Object(f.a)(t=>t.data)),this.pushManager=this.sw.registration.pipe(Object(f.a)(t=>t.pushManager));const e=this.pushManager.pipe(Object(m.a)(t=>t.getSubscription()));this.subscription=Object(d.a)(e,this.subscriptionChanges)}get isEnabled(){return this.sw.isEnabled}requestSubscription(t){if(!this.sw.isEnabled)return Promise.reject(new Error(x));const e={userVisibleOnly:!0};let n=this.decodeBase64(t.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),s=new Uint8Array(new ArrayBuffer(n.length));for(let r=0;r<n.length;r++)s[r]=n.charCodeAt(r);return e.applicationServerKey=s,this.pushManager.pipe(Object(m.a)(t=>t.subscribe(e)),Object(g.a)(1)).toPromise().then(t=>(this.subscriptionChanges.next(t),t))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe(Object(g.a)(1),Object(m.a)(t=>{if(null===t)throw new Error("Not subscribed to push notifications.");return t.unsubscribe().then(t=>{if(!t)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error(x))}decodeBase64(t){return atob(t)}}return t.\u0275fac=function(e){return new(e||t)(r.Zb(O))},t.\u0275prov=r.Mb({token:t,factory:t.\u0275fac}),t})(),I=(()=>{class t{constructor(t){if(this.sw=t,!t.isEnabled)return this.available=h.a,void(this.activated=h.a);this.available=this.sw.eventsOfType("UPDATE_AVAILABLE"),this.activated=this.sw.eventsOfType("UPDATE_ACTIVATED")}get isEnabled(){return this.sw.isEnabled}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(x));const t=this.sw.generateNonce();return this.sw.postMessageWithStatus("CHECK_FOR_UPDATES",{statusNonce:t},t)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(x));const t=this.sw.generateNonce();return this.sw.postMessageWithStatus("ACTIVATE_UPDATE",{statusNonce:t},t)}}return t.\u0275fac=function(e){return new(e||t)(r.Zb(O))},t.\u0275prov=r.Mb({token:t,factory:t.\u0275fac}),t})();class T{}const j=new r.q("NGSW_REGISTER_SCRIPT");function N(t,e,n,i){return()=>{if(!(Object(s.q)(i)&&"serviceWorker"in navigator&&!1!==n.enabled))return;let o;if(navigator.serviceWorker.addEventListener("controllerchange",()=>{null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})}),"function"==typeof n.registrationStrategy)o=n.registrationStrategy();else{const[e,...s]=(n.registrationStrategy||"registerWhenStable").split(":");switch(e){case"registerImmediately":o=Object(c.a)(null);break;case"registerWithDelay":o=Object(c.a)(null).pipe(function(t,e=_.a){var n;const s=(n=t)instanceof Date&&!isNaN(+n)?+t-e.now():Math.abs(t);return t=>t.lift(new E(s,e))}(+s[0]||0));break;case"registerWhenStable":o=t.get(r.g).isStable.pipe(Object(p.a)(t=>t));break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${n.registrationStrategy}`)}}o.pipe(Object(g.a)(1)).subscribe(()=>navigator.serviceWorker.register(e,{scope:n.scope}).catch(t=>console.error("Service worker registration failed with:",t)))}}function A(t,e){return new O(Object(s.q)(e)&&!1!==t.enabled?navigator.serviceWorker:void 0)}let D=(()=>{class t{static register(e,n={}){return{ngModule:t,providers:[{provide:j,useValue:e},{provide:T,useValue:n},{provide:O,useFactory:A,deps:[T,r.B]},{provide:r.d,useFactory:N,deps:[r.r,j,T,r.B],multi:!0}]}}}return t.\u0275mod=r.Ob({type:t}),t.\u0275inj=r.Nb({factory:function(e){return new(e||t)},providers:[k,I]}),t})()},Kj3r:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var s=n("7o/Q"),r=n("D0XW");function i(t,e=r.a){return n=>n.lift(new o(t,e))}class o{constructor(t,e){this.dueTime=t,this.scheduler=e}call(t,e){return e.subscribe(new a(t,this.dueTime,this.scheduler))}}class a extends s.a{constructor(t,e,n){super(t),this.dueTime=e,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(c,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:t}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}clearDebounce(){const t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}function c(t){t.debouncedNext()}},KqfI:function(t,e,n){"use strict";function s(){}n.d(e,"a",(function(){return s}))},LRne:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var s=n("z+Ro"),r=n("yCtX"),i=n("jZKg");function o(...t){let e=t[t.length-1];return Object(s.a)(e)?(t.pop(),Object(i.a)(t,e)):Object(r.a)(t)}},Lhse:function(t,e,n){"use strict";function s(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}n.d(e,"a",(function(){return r}));const r=s()},LwjS:function(t,e,n){"use strict";n.d(e,"a",(function(){return f}));var s=n("fXoL"),r=n("ofXK");function i(t,e){1&t&&s.Rb(0,"div")}function o(t,e){if(1&t&&s.Rb(0,"span"),2&t){const t=s.hc().$implicit;s.Fb("symbol ",t.type,"")}}function a(t,e){if(1&t){const t=s.Wb();s.Vb(0,"li",10),s.Vb(1,"a",11),s.dc("click",(function(n){s.vc(t);const r=e.$implicit;return s.hc(3).onResultSelected(r,n)})),s.Cc(2,o,1,3,"span",12),s.Vb(3,"span"),s.Ec(4),s.Ub(),s.Ub(),s.Ub()}if(2&t){const t=e.$implicit,n=s.hc().$implicit;s.Cb(1),s.nc("href",t.path,s.xc),s.Cb(1),s.mc("ngIf","api"===n.name),s.Cb(1),s.Gb("deprecated-api-item",t.deprecated),s.Cb(1),s.Fc(t.title)}}function c(t,e){if(1&t&&s.Rb(0,"span"),2&t){const t=s.hc().$implicit;s.Fb("symbol ",t.type,"")}}function l(t,e){if(1&t){const t=s.Wb();s.Vb(0,"li",10),s.Vb(1,"a",11),s.dc("click",(function(n){s.vc(t);const r=e.$implicit;return s.hc(3).onResultSelected(r,n)})),s.Cc(2,c,1,3,"span",12),s.Vb(3,"span"),s.Ec(4),s.Ub(),s.Ub(),s.Ub()}if(2&t){const t=e.$implicit,n=s.hc().$implicit;s.Cb(1),s.nc("href",t.path,s.xc),s.Cb(1),s.mc("ngIf","api"===n.name),s.Cb(1),s.Gb("deprecated-api-item",t.deprecated),s.Cb(1),s.Fc(t.title)}}function u(t,e){if(1&t&&(s.Vb(0,"div",6),s.Vb(1,"h3",7),s.Ec(2),s.Ub(),s.Vb(3,"ul",8),s.Cc(4,a,5,5,"li",9),s.Ub(),s.Vb(5,"ul"),s.Cc(6,l,5,5,"li",9),s.Ub(),s.Ub()),2&t){const t=e.$implicit;s.Cb(2),s.Hc("",t.name," (",t.pages.length+t.priorityPages.length,")"),s.Cb(2),s.mc("ngForOf",t.priorityPages),s.Cb(2),s.mc("ngForOf",t.pages)}}function h(t,e){if(1&t&&(s.Vb(0,"h2",4),s.Ec(1,"Search Results"),s.Ub(),s.Cc(2,u,7,4,"div",5)),2&t){const t=s.hc();s.Cb(2),s.mc("ngForOf",t.searchAreas)}}function d(t,e){if(1&t&&(s.Vb(0,"p",13),s.Ec(1),s.Ub()),2&t){const t=s.hc();s.Cb(1),s.Fc(t.notFoundMessage)}}let f=(()=>{class t{constructor(){this.searchResults=null,this.resultSelected=new s.n,this.defaultArea="other",this.notFoundMessage="Searching ...",this.topLevelFolders=["guide","tutorial"],this.searchAreas=[]}ngOnChanges(){this.searchAreas=this.processSearchResults(this.searchResults)}onResultSelected(t,e){0!==e.button||e.ctrlKey||e.metaKey||this.resultSelected.emit(t)}processSearchResults(t){if(!t)return[];this.notFoundMessage="No results found.";const e={};return t.results.forEach(t=>{if(!t.title)return;const n=this.computeAreaName(t)||this.defaultArea;(e[n]=e[n]||[]).push(t)}),Object.keys(e).sort((t,e)=>t>e?1:-1).map(t=>{const{priorityPages:n,pages:s,deprecated:r}=function(t){const e=[],n=[],s=[];for(t.forEach(t=>{t.deprecated?s.push(t):e.length<5?e.push(t):n.push(t)});e.length<5&&n.length;)e.push(n.shift());for(;e.length<5&&s.length;)e.push(s.shift());return n.sort(p),{priorityPages:e,pages:n,deprecated:s}}(e[t]);return{name:t,priorityPages:n,pages:s.concat(r)}})}computeAreaName(t){if(-1!==this.topLevelFolders.indexOf(t.path))return t.path;const[e,n]=t.path.split("/",2);return n&&e}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Kb({type:t,selectors:[["aio-search-results"]],inputs:{searchResults:"searchResults"},outputs:{resultSelected:"resultSelected"},features:[s.Ab()],decls:6,vars:3,consts:[[1,"search-results"],[4,"ngIf","ngIfThen","ngIfElse"],["searchResults",""],["notFound",""],[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"],[1,"not-found"]],template:function(t,e){if(1&t&&(s.Vb(0,"div",0),s.Cc(1,i,1,0,"div",1),s.Ub(),s.Cc(2,h,3,1,"ng-template",null,2,s.Dc),s.Cc(4,d,2,1,"ng-template",null,3,s.Dc)),2&t){const t=s.sc(3),n=s.sc(5);s.Cb(1),s.mc("ngIf",e.searchAreas.length)("ngIfThen",t)("ngIfElse",n)}},directives:[r.j,r.i],encapsulation:2}),t})();function p(t,e){return t.title.toUpperCase()>e.title.toUpperCase()?1:-1}},NFeN:function(t,e,n){"use strict";var s=n("fXoL"),r=n("FKr1"),i=n("8LU1"),o=n("ofXK"),a=n("vkgz"),c=n("lJxs"),l=n("JIr8"),u=n("nYR2"),h=n("w1tV"),d=n("IzEk"),f=n("tk/3"),p=n("jhN1"),m=n("LRne"),b=n("z6cu"),g=n("HDdC"),y=n("DH7j"),_=n("XoHu"),v=n("Cfvw");function w(t,e){return new g.a(n=>{const s=t.length;if(0===s)return void n.complete();const r=new Array(s);let i=0,o=0;for(let a=0;a<s;a++){const c=Object(v.a)(t[a]);let l=!1;n.add(c.subscribe({next:t=>{l||(l=!0,o++),r[a]=t},error:t=>n.error(t),complete:()=>{i++,i!==s&&l||(o===s&&n.next(e?e.reduce((t,e,n)=>(t[e]=r[n],t),{}):r),n.complete())}}))}})}n.d(e,"a",(function(){return P})),n.d(e,"b",(function(){return L})),n.d(e,"c",(function(){return k}));const E=["*"];function S(t){return Error(`Unable to find icon with the name "${t}"`)}function C(t){return Error("The URL provided to MatIconRegistry was not trusted as a resource URL "+`via Angular's DomSanitizer. Attempted URL was "${t}".`)}function x(t){return Error("The literal provided to MatIconRegistry was not trusted as safe HTML by "+`Angular's DomSanitizer. Attempted literal was "${t}".`)}class O{constructor(t,e){this.options=e,t.nodeName?this.svgElement=t:this.url=t}}let k=(()=>{class t{constructor(t,e,n,s){this._httpClient=t,this._sanitizer=e,this._errorHandler=s,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._defaultFontSetClass="material-icons",this._document=n}addSvgIcon(t,e,n){return this.addSvgIconInNamespace("",t,e,n)}addSvgIconLiteral(t,e,n){return this.addSvgIconLiteralInNamespace("",t,e,n)}addSvgIconInNamespace(t,e,n,s){return this._addSvgIconConfig(t,e,new O(n,s))}addSvgIconLiteralInNamespace(t,e,n,r){const i=this._sanitizer.sanitize(s.I.HTML,n);if(!i)throw x(n);const o=this._createSvgElementForSingleIcon(i,r);return this._addSvgIconConfig(t,e,new O(o,r))}addSvgIconSet(t,e){return this.addSvgIconSetInNamespace("",t,e)}addSvgIconSetLiteral(t,e){return this.addSvgIconSetLiteralInNamespace("",t,e)}addSvgIconSetInNamespace(t,e,n){return this._addSvgIconSetConfig(t,new O(e,n))}addSvgIconSetLiteralInNamespace(t,e,n){const r=this._sanitizer.sanitize(s.I.HTML,e);if(!r)throw x(e);const i=this._svgElementFromString(r);return this._addSvgIconSetConfig(t,new O(i,n))}registerFontClassAlias(t,e=t){return this._fontCssClassesByAlias.set(t,e),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){const e=this._sanitizer.sanitize(s.I.RESOURCE_URL,t);if(!e)throw C(t);const n=this._cachedIconsByUrl.get(e);return n?Object(m.a)(I(n)):this._loadSvgIconFromConfig(new O(t)).pipe(Object(a.a)(t=>this._cachedIconsByUrl.set(e,t)),Object(c.a)(t=>I(t)))}getNamedSvgIcon(t,e=""){const n=T(e,t),s=this._svgIconConfigs.get(n);if(s)return this._getSvgFromConfig(s);const r=this._iconSetConfigs.get(e);return r?this._getSvgFromIconSetConfigs(t,r):Object(b.a)(S(n))}ngOnDestroy(){this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgElement?Object(m.a)(I(t.svgElement)):this._loadSvgIconFromConfig(t).pipe(Object(a.a)(e=>t.svgElement=e),Object(c.a)(t=>I(t)))}_getSvgFromIconSetConfigs(t,e){const n=this._extractIconWithNameFromAnySet(t,e);return n?Object(m.a)(n):function(...t){if(1===t.length){const e=t[0];if(Object(y.a)(e))return w(e,null);if(Object(_.a)(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return w(t.map(t=>e[t]),t)}}if("function"==typeof t[t.length-1]){const e=t.pop();return w(t=1===t.length&&Object(y.a)(t[0])?t[0]:t,null).pipe(Object(c.a)(t=>e(...t)))}return w(t,null)}(e.filter(t=>!t.svgElement).map(t=>this._loadSvgIconSetFromConfig(t).pipe(Object(l.a)(e=>{const n=`Loading icon set URL: ${this._sanitizer.sanitize(s.I.RESOURCE_URL,t.url)} failed: ${e.message}`;return this._errorHandler?this._errorHandler.handleError(new Error(n)):console.error(n),Object(m.a)(null)})))).pipe(Object(c.a)(()=>{const n=this._extractIconWithNameFromAnySet(t,e);if(!n)throw S(t);return n}))}_extractIconWithNameFromAnySet(t,e){for(let n=e.length-1;n>=0;n--){const s=e[n];if(s.svgElement){const e=this._extractSvgIconFromSet(s.svgElement,t,s.options);if(e)return e}}return null}_loadSvgIconFromConfig(t){return this._fetchUrl(t.url).pipe(Object(c.a)(e=>this._createSvgElementForSingleIcon(e,t.options)))}_loadSvgIconSetFromConfig(t){return t.svgElement?Object(m.a)(t.svgElement):this._fetchUrl(t.url).pipe(Object(c.a)(e=>(t.svgElement||(t.svgElement=this._svgElementFromString(e)),t.svgElement)))}_createSvgElementForSingleIcon(t,e){const n=this._svgElementFromString(t);return this._setSvgAttributes(n,e),n}_extractSvgIconFromSet(t,e,n){const s=t.querySelector(`[id="${e}"]`);if(!s)return null;const r=s.cloneNode(!0);if(r.removeAttribute("id"),"svg"===r.nodeName.toLowerCase())return this._setSvgAttributes(r,n);if("symbol"===r.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(r),n);const i=this._svgElementFromString("<svg></svg>");return i.appendChild(r),this._setSvgAttributes(i,n)}_svgElementFromString(t){const e=this._document.createElement("DIV");e.innerHTML=t;const n=e.querySelector("svg");if(!n)throw Error("<svg> tag not found");return n}_toSvgElement(t){const e=this._svgElementFromString("<svg></svg>"),n=t.attributes;for(let s=0;s<n.length;s++){const{name:t,value:r}=n[s];"id"!==t&&e.setAttribute(t,r)}for(let s=0;s<t.childNodes.length;s++)t.childNodes[s].nodeType===this._document.ELEMENT_NODE&&e.appendChild(t.childNodes[s].cloneNode(!0));return e}_setSvgAttributes(t,e){return t.setAttribute("fit",""),t.setAttribute("height","100%"),t.setAttribute("width","100%"),t.setAttribute("preserveAspectRatio","xMidYMid meet"),t.setAttribute("focusable","false"),e&&e.viewBox&&t.setAttribute("viewBox",e.viewBox),t}_fetchUrl(t){if(!this._httpClient)throw Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.");if(null==t)throw Error(`Cannot fetch icon from URL "${t}".`);const e=this._sanitizer.sanitize(s.I.RESOURCE_URL,t);if(!e)throw C(t);const n=this._inProgressUrlFetches.get(e);if(n)return n;const r=this._httpClient.get(e,{responseType:"text"}).pipe(Object(u.a)(()=>this._inProgressUrlFetches.delete(e)),Object(h.a)());return this._inProgressUrlFetches.set(e,r),r}_addSvgIconConfig(t,e,n){return this._svgIconConfigs.set(T(t,e),n),this}_addSvgIconSetConfig(t,e){const n=this._iconSetConfigs.get(t);return n?n.push(e):this._iconSetConfigs.set(t,[e]),this}}return t.\u0275fac=function(e){return new(e||t)(s.Zb(f.a,8),s.Zb(p.b),s.Zb(o.d,8),s.Zb(s.m,8))},t.\u0275prov=Object(s.Mb)({factory:function(){return new t(Object(s.Zb)(f.a,8),Object(s.Zb)(p.b),Object(s.Zb)(o.d,8),Object(s.Zb)(s.m,8))},token:t,providedIn:"root"}),t})();function I(t){return t.cloneNode(!0)}function T(t,e){return t+":"+e}class j{constructor(t){this._elementRef=t}}const N=Object(r.f)(j),A=new s.q("mat-icon-location",{providedIn:"root",factory:function(){const t=Object(s.W)(o.d),e=t?t.location:null;return{getPathname:()=>e?e.pathname+e.search:""}}}),D=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],R=D.map(t=>`[${t}]`).join(", "),F=/^url\(['"]?#(.*?)['"]?\)$/;let P=(()=>{class t extends N{constructor(t,e,n,s,r){super(t),this._iconRegistry=e,this._location=s,this._errorHandler=r,this._inline=!1,n||t.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(t){this._inline=Object(i.b)(t)}get fontSet(){return this._fontSet}set fontSet(t){this._fontSet=this._cleanupFontValue(t)}get fontIcon(){return this._fontIcon}set fontIcon(t){this._fontIcon=this._cleanupFontValue(t)}_splitIconName(t){if(!t)return["",""];const e=t.split(":");switch(e.length){case 1:return["",e[0]];case 2:return e;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnChanges(t){const e=t.svgIcon;if(e)if(this.svgIcon){const[t,e]=this._splitIconName(this.svgIcon);this._iconRegistry.getNamedSvgIcon(e,t).pipe(Object(d.a)(1)).subscribe(t=>this._setSvgElement(t),n=>{const s=`Error retrieving icon ${t}:${e}! ${n.message}`;this._errorHandler?this._errorHandler.handleError(new Error(s)):console.error(s)})}else e.previousValue&&this._clearSvgElement();this._usingFontIcon()&&this._updateFontIconClasses()}ngOnInit(){this._usingFontIcon()&&this._updateFontIconClasses()}ngAfterViewChecked(){const t=this._elementsWithExternalReferences;if(t&&this._location&&t.size){const t=this._location.getPathname();t!==this._previousPath&&(this._previousPath=t,this._prependPathToReferences(t))}}ngOnDestroy(){this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(t){this._clearSvgElement();const e=t.querySelectorAll("style");for(let n=0;n<e.length;n++)e[n].textContent+=" ";if(this._location){const e=this._location.getPathname();this._previousPath=e,this._cacheChildrenWithExternalReferences(t),this._prependPathToReferences(e)}this._elementRef.nativeElement.appendChild(t)}_clearSvgElement(){const t=this._elementRef.nativeElement;let e=t.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();e--;){const n=t.childNodes[e];1===n.nodeType&&"svg"!==n.nodeName.toLowerCase()||t.removeChild(n)}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const t=this._elementRef.nativeElement,e=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();e!=this._previousFontSetClass&&(this._previousFontSetClass&&t.classList.remove(this._previousFontSetClass),e&&t.classList.add(e),this._previousFontSetClass=e),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&t.classList.remove(this._previousFontIconClass),this.fontIcon&&t.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(t){return"string"==typeof t?t.trim().split(" ")[0]:t}_prependPathToReferences(t){const e=this._elementsWithExternalReferences;e&&e.forEach((e,n)=>{e.forEach(e=>{n.setAttribute(e.name,`url('${t}#${e.value}')`)})})}_cacheChildrenWithExternalReferences(t){const e=t.querySelectorAll(R),n=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let s=0;s<e.length;s++)D.forEach(t=>{const r=e[s],i=r.getAttribute(t),o=i?i.match(F):null;if(o){let e=n.get(r);e||(e=[],n.set(r,e)),e.push({name:t,value:o[1]})}})}}return t.\u0275fac=function(e){return new(e||t)(s.Qb(s.l),s.Qb(k),s.ac("aria-hidden"),s.Qb(A,8),s.Qb(s.m,8))},t.\u0275cmp=s.Kb({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:4,hostBindings:function(t,e,n){2&t&&s.Gb("mat-icon-inline",e.inline)("mat-icon-no-color","primary"!==e.color&&"accent"!==e.color&&"warn"!==e.color)},inputs:{color:"color",inline:"inline",fontSet:"fontSet",fontIcon:"fontIcon",svgIcon:"svgIcon"},exportAs:["matIcon"],features:[s.zb,s.Ab()],ngContentSelectors:E,decls:1,vars:0,template:function(t,e){1&t&&(s.lc(),s.kc(0))},styles:[".mat-icon{background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),t})(),L=(()=>{class t{}return t.\u0275mod=s.Ob({type:t}),t.\u0275inj=s.Nb({factory:function(e){return new(e||t)},imports:[[r.b],r.b]}),t})()},"NHP+":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var s=n("XNiG"),r=n("quSY");class i extends s.a{constructor(){super(...arguments),this.value=null,this.hasNext=!1,this.hasCompleted=!1}_subscribe(t){return this.hasError?(t.error(this.thrownError),r.a.EMPTY):this.hasCompleted&&this.hasNext?(t.next(this.value),t.complete(),r.a.EMPTY):super._subscribe(t)}next(t){this.hasCompleted||(this.value=t,this.hasNext=!0)}error(t){this.hasCompleted||super.error(t)}complete(){this.hasCompleted=!0,this.hasNext&&super.next(this.value),super.complete()}}},NJ4a:function(t,e,n){"use strict";function s(t){setTimeout(()=>{throw t},0)}n.d(e,"a",(function(){return s}))},NXyV:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var s=n("HDdC"),r=n("Cfvw"),i=n("EY2u");function o(t){return new s.a(e=>{let n;try{n=t()}catch(s){return void e.error(s)}return(n?Object(r.a)(n):Object(i.b)()).subscribe(e)})}},Nv8m:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var s=n("DH7j"),r=n("yCtX"),i=n("l7GE"),o=n("ZUHj");function a(...t){if(1===t.length){if(!Object(s.a)(t[0]))return t[0];t=t[0]}return Object(r.a)(t,void 0).lift(new c)}class c{call(t,e){return e.subscribe(new l(t))}}class l extends i.a{constructor(t){super(t),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}_next(t){this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{for(let n=0;n<e&&!this.hasFirst;n++){let e=t[n],s=Object(o.a)(this,e,e,n);this.subscriptions&&this.subscriptions.push(s),this.add(s)}this.observables=null}}notifyNext(t,e,n,s,r){if(!this.hasFirst){this.hasFirst=!0;for(let t=0;t<this.subscriptions.length;t++)if(t!==n){let e=this.subscriptions[t];e.unsubscribe(),this.remove(e)}this.subscriptions=null}this.destination.next(e)}}},PCNd:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var s=n("ofXK"),r=n("fXoL");let i=(()=>{class t{}return t.\u0275mod=r.Ob({type:t}),t.\u0275inj=r.Nb({factory:function(e){return new(e||t)},imports:[[s.c]]}),t})()},PqYM:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var s=n("HDdC"),r=n("D0XW"),i=n("Y7HM"),o=n("z+Ro");function a(t=0,e,n){let a=-1;return Object(i.a)(e)?a=Number(e)<1?1:Number(e):Object(o.a)(e)&&(n=e),Object(o.a)(n)||(n=r.a),new s.a(e=>{const s=Object(i.a)(t)?t:+t-n.now();return n.schedule(c,s,{index:0,period:a,subscriber:e})})}function c(t){const{index:e,period:n,subscriber:s}=t;if(s.next(e),!s.closed){if(-1===n)return s.complete();t.index=e+1,this.schedule(t,n)}}},R0Ic:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return s})),n.d(e,"c",(function(){return r})),n.d(e,"d",(function(){return f})),n.d(e,"e",(function(){return a})),n.d(e,"f",(function(){return c})),n.d(e,"g",(function(){return u})),n.d(e,"h",(function(){return l})),n.d(e,"i",(function(){return h})),n.d(e,"j",(function(){return o})),n.d(e,"k",(function(){return p})),n.d(e,"l",(function(){return m}));class s{}class r{}const i="*";function o(t,e){return{type:7,name:t,definitions:e,options:{}}}function a(t,e=null){return{type:4,styles:e,timings:t}}function c(t,e=null){return{type:2,steps:t,options:e}}function l(t){return{type:6,styles:t,offset:null}}function u(t,e,n){return{type:0,name:t,styles:e,options:n}}function h(t,e,n=null){return{type:1,expr:t,animation:e,options:n}}function d(t){Promise.resolve(null).then(t)}class f{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){d(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){}setPosition(t){}getPosition(){return 0}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class p{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,n=0,s=0;const r=this.players.length;0==r?d(()=>this._onFinish()):this.players.forEach(t=>{t.onDone(()=>{++e==r&&this._onFinish()}),t.onDestroy(()=>{++n==r&&this._onDestroy()}),t.onStart(()=>{++s==r&&this._onStart()})}),this.totalTime=this.players.reduce((t,e)=>Math.max(t,e.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(t=>{const n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})}getPosition(){let t=0;return this.players.forEach(e=>{const n=e.getPosition();t=Math.min(n,t)}),t}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}const m="!"},R1ws:function(t,e,n){"use strict";var s=n("fXoL"),r=n("jhN1"),i=n("R0Ic");function o(){return"undefined"!=typeof process}function a(t){switch(t.length){case 0:return new i.d;case 1:return t[0];default:return new i.k(t)}}function c(t,e,n,s,r={},o={}){const a=[],c=[];let l=-1,u=null;if(s.forEach(t=>{const n=t.offset,s=n==l,h=s&&u||{};Object.keys(t).forEach(n=>{let s=n,c=t[n];if("offset"!==n)switch(s=e.normalizePropertyName(s,a),c){case i.l:c=r[n];break;case i.a:c=o[n];break;default:c=e.normalizeStyleValue(n,s,c,a)}h[s]=c}),s||c.push(h),u=h,l=n}),a.length){const t="\n - ";throw new Error(`Unable to animate due to the following errors:${t}${a.join(t)}`)}return c}function l(t,e,n,s){switch(e){case"start":t.onStart(()=>s(n&&u(n,"start",t)));break;case"done":t.onDone(()=>s(n&&u(n,"done",t)));break;case"destroy":t.onDestroy(()=>s(n&&u(n,"destroy",t)))}}function u(t,e,n){const s=n.totalTime,r=h(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==s?t.totalTime:s,!!n.disabled),i=t._data;return null!=i&&(r._data=i),r}function h(t,e,n,s,r="",i=0,o){return{element:t,triggerName:e,fromState:n,toState:s,phaseName:r,totalTime:i,disabled:!!o}}function d(t,e,n){let s;return t instanceof Map?(s=t.get(e),s||t.set(e,s=n)):(s=t[e],s||(s=t[e]=n)),s}function f(t){const e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}let p=(t,e)=>!1,m=(t,e)=>!1,b=(t,e,n)=>[];const g=o();(g||"undefined"!=typeof Element)&&(p=(t,e)=>t.contains(e),m=(()=>{if(g||Element.prototype.matches)return(t,e)=>t.matches(e);{const t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?(t,n)=>e.apply(t,[n]):m}})(),b=(t,e,n)=>{let s=[];if(n)s.push(...t.querySelectorAll(e));else{const n=t.querySelector(e);n&&s.push(n)}return s});let y=null,_=!1;function v(t){y||(y=("undefined"!=typeof document?document.body:null)||{},_=!!y.style&&"WebkitAppearance"in y.style);let e=!0;return y.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&(e=t in y.style,!e&&_)&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in y.style),e}const w=m,E=p,S=b;function C(t){const e={};return Object.keys(t).forEach(n=>{const s=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[s]=t[n]}),e}let x=(()=>{class t{validateStyleProperty(t){return v(t)}matchesElement(t,e){return w(t,e)}containsElement(t,e){return E(t,e)}query(t,e,n){return S(t,e,n)}computeStyle(t,e,n){return n||""}animate(t,e,n,s,r,o=[],a){return new i.d(n,s)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Mb({token:t,factory:t.\u0275fac}),t})(),O=(()=>{class t{}return t.NOOP=new x,t})();function k(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:I(parseFloat(e[1]),e[2])}function I(t,e){switch(e){case"s":return 1e3*t;default:return t}}function T(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){let s,r=0,i="";if("string"==typeof t){const n=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return e.push(`The provided timing value "${t}" is invalid.`),{duration:0,delay:0,easing:""};s=I(parseFloat(n[1]),n[2]);const o=n[3];null!=o&&(r=I(parseFloat(o),n[4]));const a=n[5];a&&(i=a)}else s=t;if(!n){let n=!1,i=e.length;s<0&&(e.push("Duration values below 0 are not allowed for this animation step."),n=!0),r<0&&(e.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&e.splice(i,0,`The provided timing value "${t}" is invalid.`)}return{duration:s,delay:r,easing:i}}(t,e,n)}function j(t,e={}){return Object.keys(t).forEach(n=>{e[n]=t[n]}),e}function N(t,e,n={}){if(e)for(let s in t)n[s]=t[s];else j(t,n);return n}function A(t,e,n){return n?e+":"+n+";":""}function D(t){let e="";for(let n=0;n<t.style.length;n++){const s=t.style.item(n);e+=A(0,s,t.style.getPropertyValue(s))}for(const n in t.style)t.style.hasOwnProperty(n)&&!n.startsWith("_")&&(e+=A(0,n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.style[n]));t.setAttribute("style",e)}function R(t,e,n){t.style&&(Object.keys(e).forEach(s=>{const r=z(s);n&&!n.hasOwnProperty(s)&&(n[s]=t.style[r]),t.style[r]=e[s]}),o()&&D(t))}function F(t,e){t.style&&(Object.keys(e).forEach(e=>{const n=z(e);t.style[n]=""}),o()&&D(t))}function P(t){return Array.isArray(t)?1==t.length?t[0]:Object(i.f)(t):t}const L=new RegExp("{{\\s*(.+?)\\s*}}","g");function M(t){let e=[];if("string"==typeof t){let n;for(;n=L.exec(t);)e.push(n[1]);L.lastIndex=0}return e}function V(t,e,n){const s=t.toString(),r=s.replace(L,(t,s)=>{let r=e[s];return e.hasOwnProperty(s)||(n.push(`Please provide a value for the animation param ${s}`),r=""),r.toString()});return r==s?t:r}function H(t){const e=[];let n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}const B=/-+([a-z0-9])/g;function z(t){return t.replace(B,(...t)=>t[1].toUpperCase())}function U(t,e){return 0===t||0===e}function $(t,e,n){const s=Object.keys(n);if(s.length&&e.length){let i=e[0],o=[];if(s.forEach(t=>{i.hasOwnProperty(t)||o.push(t),i[t]=n[t]}),o.length)for(var r=1;r<e.length;r++){let n=e[r];o.forEach((function(e){n[e]=q(t,e)}))}}return e}function Z(t,e,n){switch(e.type){case 7:return t.visitTrigger(e,n);case 0:return t.visitState(e,n);case 1:return t.visitTransition(e,n);case 2:return t.visitSequence(e,n);case 3:return t.visitGroup(e,n);case 4:return t.visitAnimate(e,n);case 5:return t.visitKeyframes(e,n);case 6:return t.visitStyle(e,n);case 8:return t.visitReference(e,n);case 9:return t.visitAnimateChild(e,n);case 10:return t.visitAnimateRef(e,n);case 11:return t.visitQuery(e,n);case 12:return t.visitStagger(e,n);default:throw new Error(`Unable to resolve animation metadata node #${e.type}`)}}function q(t,e){return window.getComputedStyle(t)[e]}function Q(t,e){const n=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(t=>function(t,e,n){if(":"==t[0]){const s=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,e)=>parseFloat(e)>parseFloat(t);case":decrement":return(t,e)=>parseFloat(e)<parseFloat(t);default:return e.push(`The transition alias value "${t}" is not supported`),"* => *"}}(t,n);if("function"==typeof s)return void e.push(s);t=s}const s=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==s||s.length<4)return n.push(`The provided transition expression "${t}" is not supported`),e;const r=s[1],i=s[2],o=s[3];e.push(G(r,o)),"<"!=i[0]||"*"==r&&"*"==o||e.push(G(o,r))}(t,n,e)):n.push(t),n}const W=new Set(["true","1"]),K=new Set(["false","0"]);function G(t,e){const n=W.has(t)||K.has(t),s=W.has(e)||K.has(e);return(r,i)=>{let o="*"==t||t==r,a="*"==e||e==i;return!o&&n&&"boolean"==typeof r&&(o=r?W.has(t):K.has(t)),!a&&s&&"boolean"==typeof i&&(a=i?W.has(e):K.has(e)),o&&a}}const X=new RegExp("s*:selfs*,?","g");function Y(t,e,n){return new J(t).build(e,n)}class J{constructor(t){this._driver=t}build(t,e){const n=new tt(e);return this._resetContextStyleTimingState(n),Z(this,P(t),n)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,s=e.depCount=0;const r=[],i=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(t=>{if(this._resetContextStyleTimingState(e),0==t.type){const n=t,s=n.name;s.toString().split(/\s*,\s*/).forEach(t=>{n.name=t,r.push(this.visitState(n,e))}),n.name=s}else if(1==t.type){const r=this.visitTransition(t,e);n+=r.queryCount,s+=r.depCount,i.push(r)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:r,transitions:i,queryCount:n,depCount:s,options:null}}visitState(t,e){const n=this.visitStyle(t.styles,e),s=t.options&&t.options.params||null;if(n.containsDynamicStyles){const r=new Set,i=s||{};if(n.styles.forEach(t=>{if(et(t)){const e=t;Object.keys(e).forEach(t=>{M(e[t]).forEach(t=>{i.hasOwnProperty(t)||r.add(t)})})}}),r.size){const n=H(r.values());e.errors.push(`state("${t.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:t.name,style:n,options:s?{params:s}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const n=Z(this,P(t.animation),e);return{type:1,matchers:Q(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:nt(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(t=>Z(this,t,e)),options:nt(t.options)}}visitGroup(t,e){const n=e.currentTime;let s=0;const r=t.steps.map(t=>{e.currentTime=n;const r=Z(this,t,e);return s=Math.max(s,e.currentTime),r});return e.currentTime=s,{type:3,steps:r,options:nt(t.options)}}visitAnimate(t,e){const n=function(t,e){let n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return st(T(t,e).duration,0,"");const s=t;if(s.split(/\s+/).some(t=>"{"==t.charAt(0)&&"{"==t.charAt(1))){const t=st(0,0,"");return t.dynamic=!0,t.strValue=s,t}return n=n||T(s,e),st(n.duration,n.delay,n.easing)}(t.timings,e.errors);let s;e.currentAnimateTimings=n;let r=t.styles?t.styles:Object(i.h)({});if(5==r.type)s=this.visitKeyframes(r,e);else{let r=t.styles,o=!1;if(!r){o=!0;const t={};n.easing&&(t.easing=n.easing),r=Object(i.h)(t)}e.currentTime+=n.duration+n.delay;const a=this.visitStyle(r,e);a.isEmptyStep=o,s=a}return e.currentAnimateTimings=null,{type:4,timings:n,style:s,options:null}}visitStyle(t,e){const n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}_makeStyleAst(t,e){const n=[];Array.isArray(t.styles)?t.styles.forEach(t=>{"string"==typeof t?t==i.a?n.push(t):e.errors.push(`The provided style string value ${t} is not allowed.`):n.push(t)}):n.push(t.styles);let s=!1,r=null;return n.forEach(t=>{if(et(t)){const e=t,n=e.easing;if(n&&(r=n,delete e.easing),!s)for(let t in e)if(e[t].toString().indexOf("{{")>=0){s=!0;break}}}),{type:6,styles:n,easing:r,offset:t.offset,containsDynamicStyles:s,options:null}}_validateStyleAst(t,e){const n=e.currentAnimateTimings;let s=e.currentTime,r=e.currentTime;n&&r>0&&(r-=n.duration+n.delay),t.styles.forEach(t=>{"string"!=typeof t&&Object.keys(t).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void e.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const i=e.collectedStyles[e.currentQuerySelector],o=i[n];let a=!0;o&&(r!=s&&r>=o.startTime&&s<=o.endTime&&(e.errors.push(`The CSS property "${n}" that exists between the times of "${o.startTime}ms" and "${o.endTime}ms" is also being animated in a parallel animation between the times of "${r}ms" and "${s}ms"`),a=!1),r=o.startTime),a&&(i[n]={startTime:r,endTime:s}),e.options&&function(t,e,n){const s=e.params||{},r=M(t);r.length&&r.forEach(t=>{s.hasOwnProperty(t)||n.push(`Unable to resolve the local animation param ${t} in the given list of values`)})}(t[n],e.options,e.errors)})})}visitKeyframes(t,e){const n={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),n;let s=0;const r=[];let i=!1,o=!1,a=0;const c=t.steps.map(t=>{const n=this._makeStyleAst(t,e);let c=null!=n.offset?n.offset:function(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach(t=>{if(et(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}});else if(et(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}return e}(n.styles),l=0;return null!=c&&(s++,l=n.offset=c),o=o||l<0||l>1,i=i||l<a,a=l,r.push(l),n});o&&e.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),i&&e.errors.push("Please ensure that all keyframe offsets are in order");const l=t.steps.length;let u=0;s>0&&s<l?e.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==s&&(u=1/(l-1));const h=l-1,d=e.currentTime,f=e.currentAnimateTimings,p=f.duration;return c.forEach((t,s)=>{const i=u>0?s==h?1:u*s:r[s],o=i*p;e.currentTime=d+f.delay+o,f.duration=o,this._validateStyleAst(t,e),t.offset=i,n.styles.push(t)}),n}visitReference(t,e){return{type:8,animation:Z(this,P(t.animation),e),options:nt(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:nt(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:nt(t.options)}}visitQuery(t,e){const n=e.currentQuerySelector,s=t.options||{};e.queryCount++,e.currentQuery=t;const[r,i]=function(t){const e=!!t.split(/\s*,\s*/).find(t=>":self"==t);return e&&(t=t.replace(X,"")),[t=t.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,t=>".ng-trigger-"+t.substr(1)).replace(/:animating/g,".ng-animating"),e]}(t.selector);e.currentQuerySelector=n.length?n+" "+r:r,d(e.collectedStyles,e.currentQuerySelector,{});const o=Z(this,P(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:r,limit:s.limit||0,optional:!!s.optional,includeSelf:i,animation:o,originalSelector:t.selector,options:nt(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const n="full"===t.timings?{duration:0,delay:0,easing:"full"}:T(t.timings,e.errors,!0);return{type:12,animation:Z(this,P(t.animation),e),timings:n,options:null}}}class tt{constructor(t){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 et(t){return!Array.isArray(t)&&"object"==typeof t}function nt(t){var e;return t?(t=j(t)).params&&(t.params=(e=t.params)?j(e):null):t={},t}function st(t,e,n){return{duration:t,delay:e,easing:n}}function rt(t,e,n,s,r,i,o=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:s,duration:r,delay:i,totalTime:r+i,easing:o,subTimeline:a}}class it{constructor(){this._map=new Map}consume(t){let e=this._map.get(t);return e?this._map.delete(t):e=[],e}append(t,e){let n=this._map.get(t);n||this._map.set(t,n=[]),n.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const ot=new RegExp(":enter","g"),at=new RegExp(":leave","g");function ct(t,e,n,s,r,i={},o={},a,c,l=[]){return(new lt).buildKeyframes(t,e,n,s,r,i,o,a,c,l)}class lt{buildKeyframes(t,e,n,s,r,i,o,a,c,l=[]){c=c||new it;const u=new ht(t,e,c,s,r,l,[]);u.options=a,u.currentTimeline.setStyles([i],null,u.errors,a),Z(this,n,u);const h=u.timelines.filter(t=>t.containsAnimation());if(h.length&&Object.keys(o).length){const t=h[h.length-1];t.allowOnlyTimelineStyles()||t.setStyles([o],null,u.errors,a)}return h.length?h.map(t=>t.buildKeyframes()):[rt(e,[],[],[],0,0,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const n=e.subInstructions.consume(e.element);if(n){const s=e.createSubContext(t.options),r=e.currentTimeline.currentTime,i=this._visitSubInstructions(n,s,s.options);r!=i&&e.transformIntoNewTimeline(i)}e.previousNode=t}visitAnimateRef(t,e){const n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}_visitSubInstructions(t,e,n){let s=e.currentTimeline.currentTime;const r=null!=n.duration?k(n.duration):null,i=null!=n.delay?k(n.delay):null;return 0!==r&&t.forEach(t=>{const n=e.appendInstructionToTimeline(t,r,i);s=Math.max(s,n.duration+n.delay)}),s}visitReference(t,e){e.updateOptions(t.options,!0),Z(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const n=e.subContextCount;let s=e;const r=t.options;if(r&&(r.params||r.delay)&&(s=e.createSubContext(r),s.transformIntoNewTimeline(),null!=r.delay)){6==s.previousNode.type&&(s.currentTimeline.snapshotCurrentStyles(),s.previousNode=ut);const t=k(r.delay);s.delayNextStep(t)}t.steps.length&&(t.steps.forEach(t=>Z(this,t,s)),s.currentTimeline.applyStylesToKeyframe(),s.subContextCount>n&&s.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const n=[];let s=e.currentTimeline.currentTime;const r=t.options&&t.options.delay?k(t.options.delay):0;t.steps.forEach(i=>{const o=e.createSubContext(t.options);r&&o.delayNextStep(r),Z(this,i,o),s=Math.max(s,o.currentTimeline.currentTime),n.push(o.currentTimeline)}),n.forEach(t=>e.currentTimeline.mergeTimelineCollectedStyles(t)),e.transformIntoNewTimeline(s),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const n=t.strValue;return T(e.params?V(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const n=e.currentAnimateTimings=this._visitTiming(t.timings,e),s=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),s.snapshotCurrentStyles());const r=t.style;5==r.type?this.visitKeyframes(r,e):(e.incrementTime(n.duration),this.visitStyle(r,e),s.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const n=e.currentTimeline,s=e.currentAnimateTimings;!s&&n.getCurrentStyleProperties().length&&n.forwardFrame();const r=s&&s.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(r):n.setStyles(t.styles,r,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const n=e.currentAnimateTimings,s=e.currentTimeline.duration,r=n.duration,i=e.createSubContext().currentTimeline;i.easing=n.easing,t.styles.forEach(t=>{i.forwardTime((t.offset||0)*r),i.setStyles(t.styles,t.easing,e.errors,e.options),i.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(i),e.transformIntoNewTimeline(s+r),e.previousNode=t}visitQuery(t,e){const n=e.currentTimeline.currentTime,s=t.options||{},r=s.delay?k(s.delay):0;r&&(6===e.previousNode.type||0==n&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=ut);let i=n;const o=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!s.optional,e.errors);e.currentQueryTotal=o.length;let a=null;o.forEach((n,s)=>{e.currentQueryIndex=s;const o=e.createSubContext(t.options,n);r&&o.delayNextStep(r),n===e.element&&(a=o.currentTimeline),Z(this,t.animation,o),o.currentTimeline.applyStylesToKeyframe(),i=Math.max(i,o.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(i),a&&(e.currentTimeline.mergeTimelineCollectedStyles(a),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const n=e.parentContext,s=e.currentTimeline,r=t.timings,i=Math.abs(r.duration),o=i*(e.currentQueryTotal-1);let a=i*e.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":a=o-a;break;case"full":a=n.currentStaggerTime}const c=e.currentTimeline;a&&c.delayNextStep(a);const l=c.currentTime;Z(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=s.currentTime-l+(s.startTime-n.currentTimeline.startTime)}}const ut={};class ht{constructor(t,e,n,s,r,i,o,a){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=s,this._leaveClassName=r,this.errors=i,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ut,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new dt(this._driver,e,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const n=t;let s=this.options;null!=n.duration&&(s.duration=k(n.duration)),null!=n.delay&&(s.delay=k(n.delay));const r=n.params;if(r){let t=s.params;t||(t=this.options.params={}),Object.keys(r).forEach(n=>{e&&t.hasOwnProperty(n)||(t[n]=V(r[n],t,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const n=t.params={};Object.keys(e).forEach(t=>{n[t]=e[t]})}}return t}createSubContext(t=null,e,n){const s=e||this.element,r=new ht(this._driver,s,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(s,n||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(t),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(t){return this.previousNode=ut,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,n){const s={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},r=new ft(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,s,t.stretchStartingKeyframe);return this.timelines.push(r),s}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,s,r,i){let o=[];if(s&&o.push(this.element),t.length>0){t=(t=t.replace(ot,"."+this._enterClassName)).replace(at,"."+this._leaveClassName);let e=this._driver.query(this.element,t,1!=n);0!==n&&(e=n<0?e.slice(e.length+n,e.length):e.slice(0,n)),o.push(...e)}return r||0!=o.length||i.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),o}}class dt{constructor(t,e,n,s){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=s,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(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new dt(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){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))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(t=>{this._backFill[t]=this._globalTimelineStyles[t]||i.a,this._currentKeyframe[t]=i.a}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,n,s){e&&(this._previousKeyframe.easing=e);const r=s&&s.params||{},o=function(t,e){const n={};let s;return t.forEach(t=>{"*"===t?(s=s||Object.keys(e),s.forEach(t=>{n[t]=i.a})):N(t,!1,n)}),n}(t,this._globalTimelineStyles);Object.keys(o).forEach(t=>{const e=V(o[t],r,n);this._pendingStyles[t]=e,this._localTimelineStyles.hasOwnProperty(t)||(this._backFill[t]=this._globalTimelineStyles.hasOwnProperty(t)?this._globalTimelineStyles[t]:i.a),this._updateStyle(t,e)})}applyStylesToKeyframe(){const t=this._pendingStyles,e=Object.keys(t);0!=e.length&&(this._pendingStyles={},e.forEach(e=>{this._currentKeyframe[e]=t[e]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(t=>{const e=this._localTimelineStyles[t];this._pendingStyles[t]=e,this._updateStyle(t,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){Object.keys(t._styleSummary).forEach(e=>{const n=this._styleSummary[e],s=t._styleSummary[e];(!n||s.time>n.time)&&this._updateStyle(e,s.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,n=1===this._keyframes.size&&0===this.duration;let s=[];this._keyframes.forEach((r,o)=>{const a=N(r,!0);Object.keys(a).forEach(n=>{const s=a[n];s==i.l?t.add(n):s==i.a&&e.add(n)}),n||(a.offset=o/this.duration),s.push(a)});const r=t.size?H(t.values()):[],o=e.size?H(e.values()):[];if(n){const t=s[0],e=j(t);t.offset=0,e.offset=1,s=[t,e]}return rt(this.element,s,r,o,this.duration,this.startTime,this.easing,!1)}}class ft extends dt{constructor(t,e,n,s,r,i,o=!1){super(t,e,i.delay),this.element=e,this.keyframes=n,this.preStyleProps=s,this.postStyleProps=r,this._stretchStartingKeyframe=o,this.timings={duration:i.duration,delay:i.delay,easing:i.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:n,easing:s}=this.timings;if(this._stretchStartingKeyframe&&e){const r=[],i=n+e,o=e/i,a=N(t[0],!1);a.offset=0,r.push(a);const c=N(t[0],!1);c.offset=pt(o),r.push(c);const l=t.length-1;for(let s=1;s<=l;s++){let o=N(t[s],!1);o.offset=pt((e+o.offset*n)/i),r.push(o)}n=i,e=0,s="",t=r}return rt(this.element,t,this.preStyleProps,this.postStyleProps,n,e,s,!0)}}function pt(t,e=3){const n=Math.pow(10,e-1);return Math.round(t*n)/n}class mt{}class bt extends mt{normalizePropertyName(t,e){return z(t)}normalizeStyleValue(t,e,n,s){let r="";const i=n.toString().trim();if(gt[e]&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{const e=n.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&s.push(`Please provide a CSS unit value for ${t}:${n}`)}return i+r}}const gt=(()=>function(t){const e={};return t.forEach(t=>e[t]=!0),e}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function yt(t,e,n,s,r,i,o,a,c,l,u,h,d){return{type:0,element:t,triggerName:e,isRemovalTransition:r,fromState:n,fromStyles:i,toState:s,toStyles:o,timelines:a,queriedElements:c,preStyleProps:l,postStyleProps:u,totalTime:h,errors:d}}const _t={};class vt{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,s){return function(t,e,n,s,r){return t.some(t=>t(e,n,s,r))}(this.ast.matchers,t,e,n,s)}buildStyles(t,e,n){const s=this._stateStyles["*"],r=this._stateStyles[t],i=s?s.buildStyles(e,n):{};return r?r.buildStyles(e,n):i}build(t,e,n,s,r,i,o,a,c,l){const u=[],h=this.ast.options&&this.ast.options.params||_t,f=this.buildStyles(n,o&&o.params||_t,u),p=a&&a.params||_t,m=this.buildStyles(s,p,u),b=new Set,g=new Map,y=new Map,_="void"===s,v={params:Object.assign(Object.assign({},h),p)},w=l?[]:ct(t,e,this.ast.animation,r,i,f,m,v,c,u);let E=0;if(w.forEach(t=>{E=Math.max(t.duration+t.delay,E)}),u.length)return yt(e,this._triggerName,n,s,_,f,m,[],[],g,y,E,u);w.forEach(t=>{const n=t.element,s=d(g,n,{});t.preStyleProps.forEach(t=>s[t]=!0);const r=d(y,n,{});t.postStyleProps.forEach(t=>r[t]=!0),n!==e&&b.add(n)});const S=H(b.values());return yt(e,this._triggerName,n,s,_,f,m,w,S,g,y,E)}}class wt{constructor(t,e){this.styles=t,this.defaultParams=e}buildStyles(t,e){const n={},s=j(this.defaultParams);return Object.keys(t).forEach(e=>{const n=t[e];null!=n&&(s[e]=n)}),this.styles.styles.forEach(t=>{if("string"!=typeof t){const r=t;Object.keys(r).forEach(t=>{let i=r[t];i.length>1&&(i=V(i,s,e)),n[t]=i})}}),n}}class Et{constructor(t,e){this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(t=>{this.states[t.name]=new wt(t.style,t.options&&t.options.params||{})}),St(this.states,"true","1"),St(this.states,"false","0"),e.transitions.forEach(e=>{this.transitionFactories.push(new vt(t,e,this.states))}),this.fallbackTransition=new vt(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(t,e)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,n,s){return this.transitionFactories.find(r=>r.match(t,e,n,s))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}function St(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}const Ct=new it;class xt{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(t,e){const n=[],s=Y(this._driver,e,n);if(n.length)throw new Error(`Unable to build the animation due to the following errors: ${n.join("\n")}`);this._animations[t]=s}_buildPlayer(t,e,n){const s=t.element,r=c(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(s,r,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){const s=[],r=this._animations[t];let o;const c=new Map;if(r?(o=ct(this._driver,e,r,"ng-enter","ng-leave",{},{},n,Ct,s),o.forEach(t=>{const e=d(c,t.element,{});t.postStyleProps.forEach(t=>e[t]=null)})):(s.push("The requested animation doesn't exist or has already been destroyed"),o=[]),s.length)throw new Error(`Unable to create the animation due to the following errors: ${s.join("\n")}`);c.forEach((t,e)=>{Object.keys(t).forEach(n=>{t[n]=this._driver.computeStyle(e,n,i.a)})});const l=a(o.map(t=>{const e=c.get(t.element);return this._buildPlayer(t,{},e)}));return this._playersById[t]=l,l.onDestroy(()=>this.destroy(t)),this.players.push(l),l}destroy(t){const e=this._getPlayer(t);e.destroy(),delete this._playersById[t];const n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}_getPlayer(t){const e=this._playersById[t];if(!e)throw new Error(`Unable to find the timeline player referenced by ${t}`);return e}listen(t,e,n,s){const r=h(e,"","","");return l(this._getPlayer(t),n,r,s),()=>{}}command(t,e,n,s){if("register"==n)return void this.register(t,s[0]);if("create"==n)return void this.create(t,e,s[0]||{});const r=this._getPlayer(t);switch(n){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(s[0]));break;case"destroy":this.destroy(t)}}}const Ot=[],kt={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},It={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class Tt{constructor(t,e=""){this.namespaceId=e;const n=t&&t.hasOwnProperty("value");if(this.value=null!=(s=n?t.value:t)?s:null,n){const e=j(t);delete e.value,this.options=e}else this.options={};var s;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const t=this.options.params;Object.keys(e).forEach(n=>{null==t[n]&&(t[n]=e[n])})}}}const jt=new Tt("void");class Nt{constructor(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Mt(e,this._hostClassName)}listen(t,e,n,s){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${e}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if("start"!=(r=n)&&"done"!=r)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${e}" is not supported!`);var r;const i=d(this._elementListeners,t,[]),o={name:e,phase:n,callback:s};i.push(o);const a=d(this._engine.statesByElement,t,{});return a.hasOwnProperty(e)||(Mt(t,"ng-trigger"),Mt(t,"ng-trigger-"+e),a[e]=jt),()=>{this._engine.afterFlush(()=>{const t=i.indexOf(o);t>=0&&i.splice(t,1),this._triggers[e]||delete a[e]})}}register(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}_getTrigger(t){const e=this._triggers[t];if(!e)throw new Error(`The provided animation trigger "${t}" has not been registered!`);return e}trigger(t,e,n,s=!0){const r=this._getTrigger(e),i=new Dt(this.id,e,t);let o=this._engine.statesByElement.get(t);o||(Mt(t,"ng-trigger"),Mt(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,o={}));let a=o[e];const c=new Tt(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&c.absorbOptions(a.options),o[e]=c,a||(a=jt),"void"!==c.value&&a.value===c.value){if(!function(t,e){const n=Object.keys(t),s=Object.keys(e);if(n.length!=s.length)return!1;for(let r=0;r<n.length;r++){const s=n[r];if(!e.hasOwnProperty(s)||t[s]!==e[s])return!1}return!0}(a.params,c.params)){const e=[],n=r.matchStyles(a.value,a.params,e),s=r.matchStyles(c.value,c.params,e);e.length?this._engine.reportError(e):this._engine.afterFlush(()=>{F(t,n),R(t,s)})}return}const l=d(this._engine.playersByElement,t,[]);l.forEach(t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()});let u=r.matchTransition(a.value,c.value,t,c.params),h=!1;if(!u){if(!s)return;u=r.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:u,fromState:a,toState:c,player:i,isFallbackTransition:h}),h||(Mt(t,"ng-animate-queued"),i.onStart(()=>{Vt(t,"ng-animate-queued")})),i.onDone(()=>{let e=this.players.indexOf(i);e>=0&&this.players.splice(e,1);const n=this._engine.playersByElement.get(t);if(n){let t=n.indexOf(i);t>=0&&n.splice(t,1)}}),this.players.push(i),l.push(i),i}deregister(t){delete this._triggers[t],this._engine.statesByElement.forEach((e,n)=>{delete e[t]}),this._elementListeners.forEach((e,n)=>{this._elementListeners.set(n,e.filter(e=>e.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const n=this._engine.driver.query(t,".ng-trigger",!0);n.forEach(t=>{if(t.__ng_removed)return;const n=this._engine.fetchNamespacesByElement(t);n.size?n.forEach(n=>n.triggerLeaveAnimation(t,e,!1,!0)):this.clearElementCache(t)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(t=>this.clearElementCache(t)))}triggerLeaveAnimation(t,e,n,s){const r=this._engine.statesByElement.get(t);if(r){const i=[];if(Object.keys(r).forEach(e=>{if(this._triggers[e]){const n=this.trigger(t,e,"void",s);n&&i.push(n)}}),i.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&a(i).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t);if(e){const n=new Set;e.forEach(e=>{const s=e.name;if(n.has(s))return;n.add(s);const r=this._triggers[s].fallbackTransition,i=this._engine.statesByElement.get(t)[s]||jt,o=new Tt("void"),a=new Dt(this.id,s,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:s,transition:r,fromState:i,toState:o,player:a,isFallbackTransition:!0})})}}removeNode(t,e){const n=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let s=!1;if(n.totalAnimations){const e=n.players.length?n.playersByQueriedElement.get(t):[];if(e&&e.length)s=!0;else{let e=t;for(;e=e.parentNode;)if(n.statesByElement.get(e)){s=!0;break}}}if(this.prepareLeaveAnimationListeners(t),s)n.markElementAsRemoved(this.id,t,!1,e);else{const s=t.__ng_removed;s&&s!==kt||(n.afterFlush(()=>this.clearElementCache(t)),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}}insertNode(t,e){Mt(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(n=>{const s=n.player;if(s.destroyed)return;const r=n.element,i=this._elementListeners.get(r);i&&i.forEach(e=>{if(e.name==n.triggerName){const s=h(r,n.triggerName,n.fromState.value,n.toState.value);s._data=t,l(n.player,e.phase,s,e.callback)}}),s.markedForDestroy?this._engine.afterFlush(()=>{s.destroy()}):e.push(n)}),this._queue=[],e.sort((t,e)=>{const n=t.transition.ast.depCount,s=e.transition.ast.depCount;return 0==n||0==s?n-s:this._engine.driver.containsElement(t.element,e.element)?1:-1})}destroy(t){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(e=>e.element===t)||e,e}}class At{constructor(t,e,n){this.bodyNode=t,this.driver=e,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(t,e)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(e=>{e.queued&&t.push(e)})}),t}createNamespace(t,e){const n=new Nt(t,e,this);return e.parentNode?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n}_balanceNamespaceList(t,e){const n=this._namespaceList.length-1;if(n>=0){let s=!1;for(let r=n;r>=0;r--)if(this.driver.containsElement(this._namespaceList[r].hostElement,e)){this._namespaceList.splice(r+1,0,t),s=!0;break}s||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}register(t,e){let n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n}registerTrigger(t,e,n){let s=this._namespaceLookup[t];s&&s.register(e,n)&&this.totalAnimations++}destroy(t,e){if(!t)return;const n=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[t];const e=this._namespaceList.indexOf(n);e>=0&&this._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(()=>n.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,n=this.statesByElement.get(t);if(n){const t=Object.keys(n);for(let s=0;s<t.length;s++){const r=n[t[s]].namespaceId;if(r){const t=this._fetchNamespace(r);t&&e.add(t)}}}return e}trigger(t,e,n,s){if(Rt(e)){const r=this._fetchNamespace(t);if(r)return r.trigger(e,n,s),!0}return!1}insertNode(t,e,n,s){if(!Rt(e))return;const r=e.__ng_removed;if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;const t=this.collectedLeaveElements.indexOf(e);t>=0&&this.collectedLeaveElements.splice(t,1)}if(t){const s=this._fetchNamespace(t);s&&s.insertNode(e,n)}s&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Mt(t,"ng-animate-disabled")):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Vt(t,"ng-animate-disabled"))}removeNode(t,e,n,s){if(Rt(e)){const r=t?this._fetchNamespace(t):null;if(r?r.removeNode(e,s):this.markElementAsRemoved(t,e,!1,s),n){const n=this.namespacesByHostElement.get(e);n&&n.id!==t&&n.removeNode(e,s)}}else this._onRemovalComplete(e,s)}markElementAsRemoved(t,e,n,s){this.collectedLeaveElements.push(e),e.__ng_removed={namespaceId:t,setForRemoval:s,hasAnimation:n,removedBeforeQueried:!1}}listen(t,e,n,s,r){return Rt(e)?this._fetchNamespace(t).listen(e,n,s,r):()=>{}}_buildInstruction(t,e,n,s,r){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,s,t.fromState.options,t.toState.options,e,r)}destroyInnerAnimations(t){let e=this.driver.query(t,".ng-trigger",!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,".ng-animating",!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return a(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t.__ng_removed;if(e&&e.setForRemoval){if(t.__ng_removed=kt,e.namespaceId){this.destroyInnerAnimations(t);const n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}this.driver.matchesElement(t,".ng-animate-disabled")&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(t=>{this.markElementAsDisabled(t,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,e)=>this._balanceNamespaceList(t,e)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++)Mt(this.collectedEnterElements[n],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const n=[];try{e=this._flushAnimations(n,t)}finally{for(let t=0;t<n.length;t++)n[t]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++)this.processLeaveNode(this.collectedLeaveElements[n]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(t=>t()),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?a(e).onDone(()=>{t.forEach(t=>t())}):t.forEach(t=>t())}}reportError(t){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${t.join("\n")}`)}_flushAnimations(t,e){const n=new it,s=[],r=new Map,o=[],c=new Map,l=new Map,u=new Map,h=new Set;this.disabledNodes.forEach(t=>{h.add(t);const e=this.driver.query(t,".ng-animate-queued",!0);for(let n=0;n<e.length;n++)h.add(e[n])});const f=this.bodyNode,p=Array.from(this.statesByElement.keys()),m=Lt(p,this.collectedEnterElements),b=new Map;let g=0;m.forEach((t,e)=>{const n="ng-enter"+g++;b.set(e,n),t.forEach(t=>Mt(t,n))});const y=[],_=new Set,v=new Set;for(let i=0;i<this.collectedLeaveElements.length;i++){const t=this.collectedLeaveElements[i],e=t.__ng_removed;e&&e.setForRemoval&&(y.push(t),_.add(t),e.hasAnimation?this.driver.query(t,".ng-star-inserted",!0).forEach(t=>_.add(t)):v.add(t))}const w=new Map,E=Lt(p,Array.from(_));E.forEach((t,e)=>{const n="ng-leave"+g++;w.set(e,n),t.forEach(t=>Mt(t,n))}),t.push(()=>{m.forEach((t,e)=>{const n=b.get(e);t.forEach(t=>Vt(t,n))}),E.forEach((t,e)=>{const n=w.get(e);t.forEach(t=>Vt(t,n))}),y.forEach(t=>{this.processLeaveNode(t)})});const S=[],C=[];for(let i=this._namespaceList.length-1;i>=0;i--)this._namespaceList[i].drainQueuedTransitions(e).forEach(t=>{const e=t.player,r=t.element;if(S.push(e),this.collectedEnterElements.length){const t=r.__ng_removed;if(t&&t.setForMove)return void e.destroy()}const i=!f||!this.driver.containsElement(f,r),a=w.get(r),h=b.get(r),p=this._buildInstruction(t,n,h,a,i);if(!p.errors||!p.errors.length)return i?(e.onStart(()=>F(r,p.fromStyles)),e.onDestroy(()=>R(r,p.toStyles)),void s.push(e)):t.isFallbackTransition?(e.onStart(()=>F(r,p.fromStyles)),e.onDestroy(()=>R(r,p.toStyles)),void s.push(e)):(p.timelines.forEach(t=>t.stretchStartingKeyframe=!0),n.append(r,p.timelines),o.push({instruction:p,player:e,element:r}),p.queriedElements.forEach(t=>d(c,t,[]).push(e)),p.preStyleProps.forEach((t,e)=>{const n=Object.keys(t);if(n.length){let t=l.get(e);t||l.set(e,t=new Set),n.forEach(e=>t.add(e))}}),void p.postStyleProps.forEach((t,e)=>{const n=Object.keys(t);let s=u.get(e);s||u.set(e,s=new Set),n.forEach(t=>s.add(t))}));C.push(p)});if(C.length){const t=[];C.forEach(e=>{t.push(`@${e.triggerName} has failed due to:\n`),e.errors.forEach(e=>t.push(`- ${e}\n`))}),S.forEach(t=>t.destroy()),this.reportError(t)}const x=new Map,O=new Map;o.forEach(t=>{const e=t.element;n.has(e)&&(O.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,x))}),s.forEach(t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(t=>{d(x,e,[]).push(t),t.destroy()})});const k=y.filter(t=>Bt(t,l,u)),I=new Map;Pt(I,this.driver,v,u,i.a).forEach(t=>{Bt(t,l,u)&&k.push(t)});const T=new Map;m.forEach((t,e)=>{Pt(T,this.driver,new Set(t),l,i.l)}),k.forEach(t=>{const e=I.get(t),n=T.get(t);I.set(t,Object.assign(Object.assign({},e),n))});const j=[],N=[],A={};o.forEach(t=>{const{element:e,player:i,instruction:o}=t;if(n.has(e)){if(h.has(e))return i.onDestroy(()=>R(e,o.toStyles)),i.disabled=!0,i.overrideTotalTime(o.totalTime),void s.push(i);let t=A;if(O.size>1){let n=e;const s=[];for(;n=n.parentNode;){const e=O.get(n);if(e){t=e;break}s.push(n)}s.forEach(e=>O.set(e,t))}const n=this._buildAnimation(i.namespaceId,o,x,r,T,I);if(i.setRealPlayer(n),t===A)j.push(i);else{const e=this.playersByElement.get(t);e&&e.length&&(i.parentPlayer=a(e)),s.push(i)}}else F(e,o.fromStyles),i.onDestroy(()=>R(e,o.toStyles)),N.push(i),h.has(e)&&s.push(i)}),N.forEach(t=>{const e=r.get(t.element);if(e&&e.length){const n=a(e);t.setRealPlayer(n)}}),s.forEach(t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(let i=0;i<y.length;i++){const t=y[i],e=t.__ng_removed;if(Vt(t,"ng-leave"),e&&e.hasAnimation)continue;let n=[];if(c.size){let e=c.get(t);e&&e.length&&n.push(...e);let s=this.driver.query(t,".ng-animating",!0);for(let t=0;t<s.length;t++){let e=c.get(s[t]);e&&e.length&&n.push(...e)}}const s=n.filter(t=>!t.destroyed);s.length?Ht(this,t,s):this.processLeaveNode(t)}return y.length=0,j.forEach(t=>{this.players.push(t),t.onDone(()=>{t.destroy();const e=this.players.indexOf(t);this.players.splice(e,1)}),t.play()}),j}elementContainsData(t,e){let n=!1;const s=e.__ng_removed;return s&&s.setForRemoval&&(n=!0),this.playersByElement.has(e)&&(n=!0),this.playersByQueriedElement.has(e)&&(n=!0),this.statesByElement.has(e)&&(n=!0),this._fetchNamespace(t).elementContainsData(e)||n}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,n,s,r){let i=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(i=e)}else{const e=this.playersByElement.get(t);if(e){const t=!r||"void"==r;e.forEach(e=>{e.queued||(t||e.triggerName==s)&&i.push(e)})}}return(n||s)&&(i=i.filter(t=>!(n&&n!=t.namespaceId||s&&s!=t.triggerName))),i}_beforeAnimationBuild(t,e,n){const s=e.element,r=e.isRemovalTransition?void 0:t,i=e.isRemovalTransition?void 0:e.triggerName;for(const o of e.timelines){const t=o.element,a=t!==s,c=d(n,t,[]);this._getPreviousPlayers(t,a,r,i,e.toState).forEach(t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),c.push(t)})}F(s,e.fromStyles)}_buildAnimation(t,e,n,s,r,o){const l=e.triggerName,u=e.element,h=[],f=new Set,p=new Set,m=e.timelines.map(e=>{const a=e.element;f.add(a);const d=a.__ng_removed;if(d&&d.removedBeforeQueried)return new i.d(e.duration,e.delay);const m=a!==u,b=function(t){const e=[];return function t(e,n){for(let s=0;s<e.length;s++){const r=e[s];r instanceof i.k?t(r.players,n):n.push(r)}}(t,e),e}((n.get(a)||Ot).map(t=>t.getRealPlayer())).filter(t=>!!t.element&&t.element===a),g=r.get(a),y=o.get(a),_=c(0,this._normalizer,0,e.keyframes,g,y),v=this._buildPlayer(e,_,b);if(e.subTimeline&&s&&p.add(a),m){const e=new Dt(t,l,a);e.setRealPlayer(v),h.push(e)}return v});h.forEach(t=>{d(this.playersByQueriedElement,t.element,[]).push(t),t.onDone(()=>function(t,e,n){let s;if(t instanceof Map){if(s=t.get(e),s){if(s.length){const t=s.indexOf(n);s.splice(t,1)}0==s.length&&t.delete(e)}}else if(s=t[e],s){if(s.length){const t=s.indexOf(n);s.splice(t,1)}0==s.length&&delete t[e]}return s}(this.playersByQueriedElement,t.element,t))}),f.forEach(t=>Mt(t,"ng-animating"));const b=a(m);return b.onDestroy(()=>{f.forEach(t=>Vt(t,"ng-animating")),R(u,e.toStyles)}),p.forEach(t=>{d(s,t,[]).push(b)}),b}_buildPlayer(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new i.d(t.duration,t.delay)}}class Dt{constructor(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new i.d,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(n=>l(t,e,void 0,n))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){d(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function Rt(t){return t&&1===t.nodeType}function Ft(t,e){const n=t.style.display;return t.style.display=null!=e?e:"none",n}function Pt(t,e,n,s,r){const i=[];n.forEach(t=>i.push(Ft(t)));const o=[];s.forEach((n,s)=>{const i={};n.forEach(t=>{const n=i[t]=e.computeStyle(s,t,r);n&&0!=n.length||(s.__ng_removed=It,o.push(s))}),t.set(s,i)});let a=0;return n.forEach(t=>Ft(t,i[a++])),o}function Lt(t,e){const n=new Map;if(t.forEach(t=>n.set(t,[])),0==e.length)return n;const s=new Set(e),r=new Map;return e.forEach(t=>{const e=function t(e){if(!e)return 1;let i=r.get(e);if(i)return i;const o=e.parentNode;return i=n.has(o)?o:s.has(o)?1:t(o),r.set(e,i),i}(t);1!==e&&n.get(e).push(t)}),n}function Mt(t,e){if(t.classList)t.classList.add(e);else{let n=t.$$classes;n||(n=t.$$classes={}),n[e]=!0}}function Vt(t,e){if(t.classList)t.classList.remove(e);else{let n=t.$$classes;n&&delete n[e]}}function Ht(t,e,n){a(n).onDone(()=>t.processLeaveNode(e))}function Bt(t,e,n){const s=n.get(t);if(!s)return!1;let r=e.get(t);return r?s.forEach(t=>r.add(t)):e.set(t,s),n.delete(t),!0}class zt{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new At(t,e,n),this._timelineEngine=new xt(t,e,n),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,n,s,r){const i=t+"-"+s;let o=this._triggerCache[i];if(!o){const t=[],e=Y(this._driver,r,t);if(t.length)throw new Error(`The animation trigger "${s}" has failed to build due to the following errors:\n - ${t.join("\n - ")}`);o=function(t,e){return new Et(t,e)}(s,e),this._triggerCache[i]=o}this._transitionEngine.registerTrigger(e,s,o)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,n,s){this._transitionEngine.insertNode(t,e,n,s)}onRemove(t,e,n,s){this._transitionEngine.removeNode(t,e,s||!1,n)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,n,s){if("@"==n.charAt(0)){const[t,r]=f(n);this._timelineEngine.command(t,e,r,s)}else this._transitionEngine.trigger(t,e,n,s)}listen(t,e,n,s,r){if("@"==n.charAt(0)){const[t,s]=f(n);return this._timelineEngine.listen(t,e,s,r)}return this._transitionEngine.listen(t,e,n,s,r)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function Ut(t,e){let n=null,s=null;return Array.isArray(e)&&e.length?(n=Zt(e[0]),e.length>1&&(s=Zt(e[e.length-1]))):e&&(n=Zt(e)),n||s?new $t(t,n,s):null}let $t=(()=>{class t{constructor(e,n,s){this._element=e,this._startStyles=n,this._endStyles=s,this._state=0;let r=t.initialStylesByElement.get(e);r||t.initialStylesByElement.set(e,r={}),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&R(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(R(this._element,this._initialStyles),this._endStyles&&(R(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(F(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(F(this._element,this._endStyles),this._endStyles=null),R(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function Zt(t){let e=null;const n=Object.keys(t);for(let s=0;s<n.length;s++){const r=n[s];qt(r)&&(e=e||{},e[r]=t[r])}return e}function qt(t){return"display"===t||"position"===t}class Qt{constructor(t,e,n,s,r,i,o){this._element=t,this._name=e,this._duration=n,this._delay=s,this._easing=r,this._fillMode=i,this._onDoneFn=o,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=t=>this._handleCallback(t)}apply(){!function(t,e){const n=Jt(t,"").trim();n.length&&(function(t,e){let n=0;for(let s=0;s<t.length;s++)","===t.charAt(s)&&n++}(n),e=`${n}, ${e}`),Yt(t,"",e)}(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),Xt(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){Wt(this._element,this._name,"paused")}resume(){Wt(this._element,this._name,"running")}setPosition(t){const e=Kt(this._element,this._name);this._position=t*this._duration,Yt(this._element,"Delay",`-${this._position}ms`,e)}getPosition(){return this._position}_handleCallback(t){const e=t._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(t.elapsedTime.toFixed(3));t.animationName==this._name&&Math.max(e-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),Xt(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){const n=Jt(t,"").split(","),s=Gt(n,e);s>=0&&(n.splice(s,1),Yt(t,"",n.join(",")))}(this._element,this._name))}}function Wt(t,e,n){Yt(t,"PlayState",n,Kt(t,e))}function Kt(t,e){const n=Jt(t,"");return n.indexOf(",")>0?Gt(n.split(","),e):Gt([n],e)}function Gt(t,e){for(let n=0;n<t.length;n++)if(t[n].indexOf(e)>=0)return n;return-1}function Xt(t,e,n){n?t.removeEventListener("animationend",e):t.addEventListener("animationend",e)}function Yt(t,e,n,s){const r="animation"+e;if(null!=s){const e=t.style[r];if(e.length){const t=e.split(",");t[s]=n,n=t.join(",")}}t.style[r]=n}function Jt(t,e){return t.style["animation"+e]}class te{constructor(t,e,n,s,r,i,o,a){this.element=t,this.keyframes=e,this.animationName=n,this._duration=s,this._delay=r,this._finalStyles=o,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=i||"linear",this.totalTime=s+r,this._buildStyler()}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(t=>t()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(t){this._styler.setPosition(t)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new Qt(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}beforeDestroy(){this.init();const t={};if(this.hasStarted()){const e=this._state>=3;Object.keys(this._finalStyles).forEach(n=>{"offset"!=n&&(t[n]=e?this._finalStyles[n]:q(this.element,n))})}this.currentSnapshot=t}}class ee extends i.d{constructor(t,e){super(),this.element=t,this._startingStyles={},this.__initialized=!1,this._styles=C(e)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(t=>{this._startingStyles[t]=this.element.style[t]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(t=>this.element.style.setProperty(t,this._styles[t])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach(t=>{const e=this._startingStyles[t];e?this.element.style.setProperty(t,e):this.element.style.removeProperty(t)}),this._startingStyles=null,super.destroy())}}class ne{constructor(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}validateStyleProperty(t){return v(t)}matchesElement(t,e){return w(t,e)}containsElement(t,e){return E(t,e)}query(t,e,n){return S(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}buildKeyframeElement(t,e,n){n=n.map(t=>C(t));let s=`@keyframes ${e} {\n`,r="";n.forEach(t=>{r=" ";const e=parseFloat(t.offset);s+=`${r}${100*e}% {\n`,r+=" ",Object.keys(t).forEach(e=>{const n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(s+=`${r}animation-timing-function: ${n};\n`));default:return void(s+=`${r}${e}: ${n};\n`)}}),s+=`${r}}\n`}),s+="}\n";const i=document.createElement("style");return i.innerHTML=s,i}animate(t,e,n,s,r,i=[],o){o&&this._notifyFaultyScrubber();const a=i.filter(t=>t instanceof te),c={};U(n,s)&&a.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>c[t]=e[t])});const l=function(t){let e={};return t&&(Array.isArray(t)?t:[t]).forEach(t=>{Object.keys(t).forEach(n=>{"offset"!=n&&"easing"!=n&&(e[n]=t[n])})}),e}(e=$(t,e,c));if(0==n)return new ee(t,l);const u=`gen_css_kf_${this._count++}`,h=this.buildKeyframeElement(t,u,e);document.querySelector("head").appendChild(h);const d=Ut(t,e),f=new te(t,e,u,n,s,r,l,d);return f.onDestroy(()=>{var t;(t=h).parentNode.removeChild(t)}),f}_notifyFaultyScrubber(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n"," visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)}}class se{constructor(t,e,n,s){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=s,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=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(t,e,n){return t.animate(e,n)}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(e=>{"offset"!=e&&(t[e]=this._finished?this._finalKeyframe[e]:q(this.element,e))}),this.currentSnapshot=t}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class re{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(ie().toString()),this._cssKeyframesDriver=new ne}validateStyleProperty(t){return v(t)}matchesElement(t,e){return w(t,e)}containsElement(t,e){return E(t,e)}query(t,e,n){return S(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}overrideWebAnimationsSupport(t){this._isNativeImpl=t}animate(t,e,n,s,r,i=[],o){if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,s,r,i);const a={duration:n,delay:s,fill:0==s?"both":"forwards"};r&&(a.easing=r);const c={},l=i.filter(t=>t instanceof se);U(n,s)&&l.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>c[t]=e[t])});const u=Ut(t,e=$(t,e=e.map(t=>N(t,!1)),c));return new se(t,e,a,u)}}function ie(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var oe=n("ofXK");n.d(e,"a",(function(){return me})),n.d(e,"b",(function(){return ge}));let ae=(()=>{class t extends i.b{constructor(t,e){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(e.body,{id:"0",encapsulation:s.Q.None,styles:[],data:{animation:[]}})}build(t){const e=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(t)?Object(i.f)(t):t;return ue(this._renderer,null,e,"register",[n]),new ce(e,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)(s.Zb(s.F),s.Zb(oe.d))},t.\u0275prov=s.Mb({token:t,factory:t.\u0275fac}),t})();class ce extends i.c{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new le(this._id,t,e||{},this._renderer)}}class le{constructor(t,e,n,s){this.id=t,this.element=e,this._renderer=s,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return ue(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset")}setPosition(t){this._command("setPosition",t)}getPosition(){return 0}}function ue(t,e,n,s,r){return t.setProperty(e,`@@${n}:${s}`,r)}let he=(()=>{class t{constructor(t,e,n){this.delegate=t,this.engine=e,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),e.onRemovalComplete=(t,e)=>{e&&e.parentNode(t)&&e.removeChild(t.parentNode,t)}}createRenderer(t,e){const n=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){let t=this._rendererCache.get(n);return t||(t=new de("",n,this.engine),this._rendererCache.set(n,t)),t}const s=e.id,r=e.id+"-"+this._currentId;this._currentId++,this.engine.register(r,t);const i=e=>{Array.isArray(e)?e.forEach(i):this.engine.registerTrigger(s,r,t,e.name,e)};return e.data.animation.forEach(i),new fe(this,r,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,n){t>=0&&t<this._microtaskId?this._zone.run(()=>e(n)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(t=>{const[e,n]=t;e(n)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([e,n]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return t.\u0275fac=function(e){return new(e||t)(s.Zb(s.F),s.Zb(zt),s.Zb(s.z))},t.\u0275prov=s.Mb({token:t,factory:t.\u0275fac}),t})();class de{constructor(t,e,n){this.namespaceId=t,this.delegate=e,this.engine=n,this.destroyNode=this.delegate.destroyNode?t=>e.destroyNode(t):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,n){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,!0)}removeChild(t,e,n){this.engine.onRemove(this.namespaceId,e,this.delegate,n)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,n,s){this.delegate.setAttribute(t,e,n,s)}removeAttribute(t,e,n){this.delegate.removeAttribute(t,e,n)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,n,s){this.delegate.setStyle(t,e,n,s)}removeStyle(t,e,n){this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){"@"==e.charAt(0)&&"@.disabled"==e?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,n){return this.delegate.listen(t,e,n)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class fe extends de{constructor(t,e,n,s){super(e,n,s),this.factory=t,this.namespaceId=e}setProperty(t,e,n){"@"==e.charAt(0)?"."==e.charAt(1)&&"@.disabled"==e?this.disableAnimations(t,n=void 0===n||!!n):this.engine.process(this.namespaceId,t,e.substr(1),n):this.delegate.setProperty(t,e,n)}listen(t,e,n){if("@"==e.charAt(0)){const s=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t);let r=e.substr(1),i="";return"@"!=r.charAt(0)&&([r,i]=function(t){const e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(r)),this.engine.listen(this.namespaceId,s,r,i,t=>{this.factory.scheduleListenerCallback(t._data||-1,n,t)})}return this.delegate.listen(t,e,n)}}let pe=(()=>{class t extends zt{constructor(t,e,n){super(t.body,e,n)}}return t.\u0275fac=function(e){return new(e||t)(s.Zb(oe.d),s.Zb(O),s.Zb(mt))},t.\u0275prov=s.Mb({token:t,factory:t.\u0275fac}),t})();const me=new s.q("AnimationModuleType"),be=[{provide:O,useFactory:function(){return"function"==typeof ie()?new re:new ne}},{provide:me,useValue:"BrowserAnimations"},{provide:i.b,useClass:ae},{provide:mt,useFactory:function(){return new bt}},{provide:zt,useClass:pe},{provide:s.F,useFactory:function(t,e,n){return new he(t,e,n)},deps:[r.f,zt,s.z]}];let ge=(()=>{class t{}return t.\u0275mod=s.Ob({type:t}),t.\u0275inj=s.Nb({factory:function(e){return new(e||t)},providers:be,imports:[r.a]}),t})()},SeVD:function(t,e,n){"use strict";var s=n("ngJS"),r=n("NJ4a"),i=n("Lhse"),o=n("kJWO"),a=n("I55L"),c=n("c2HN"),l=n("XoHu");n.d(e,"a",(function(){return u}));const u=t=>{if(t&&"function"==typeof t[o.a])return u=t,t=>{const e=u[o.a]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if(Object(a.a)(t))return Object(s.a)(t);if(Object(c.a)(t))return n=t,t=>(n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,r.a),t);if(t&&"function"==typeof t[i.a])return e=t,t=>{const n=e[i.a]();for(;;){const e=n.next();if(e.done){t.complete();break}if(t.next(e.value),t.closed)break}return"function"==typeof n.return&&t.add(()=>{n.return&&n.return()}),t};{const e=Object(l.a)(t)?"an invalid object":`'${t}'`;throw new TypeError(`You provided ${e} where a stream was expected.`+" You can provide an Observable, Promise, Array, or Iterable.")}var e,n,u}},SpAZ:function(t,e,n){"use strict";function s(t){return t}n.d(e,"a",(function(){return s}))},SxV6:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var s=n("sVev"),r=n("pLZG"),i=n("IzEk"),o=n("xbPD"),a=n("XDbj"),c=n("SpAZ");function l(t,e){const n=arguments.length>=2;return l=>l.pipe(t?Object(r.a)((e,n)=>t(e,n,l)):c.a,Object(i.a)(1),n?Object(o.a)(e):Object(a.a)(()=>new s.a))}},TNhP:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var s=n("ofXK"),r=n("jtHE"),i=n("fXoL"),o=n("jhN1"),a=n("FiGy");let c=(()=>{class t{constructor(t,e,n){this.document=t,this.domSanitizer=e,this.scrollSpyService=n,this.tocList=new r.a(1),this.activeItemIndex=new r.a(1),this.scrollSpyInfo=null}genToc(t,e=""){if(this.resetScrollSpyInfo(),!t)return void this.tocList.next([]);const n=this.findTocHeadings(t),s=new Map,r=n.map(t=>{const{title:n,content:r}=this.extractHeadingSafeHtml(t);return{level:t.tagName.toLowerCase(),href:`${e}#${this.getId(t,s)}`,title:n,content:r}});this.tocList.next(r),this.scrollSpyInfo=this.scrollSpyService.spyOn(n),this.scrollSpyInfo.active.subscribe(t=>this.activeItemIndex.next(t&&t.index))}reset(){this.resetScrollSpyInfo(),this.tocList.next([])}extractHeadingSafeHtml(t){const e=this.document.createElement("div");return e.innerHTML=t.innerHTML,l(e,".github-links, .header-link").forEach(u),l(e,"a").forEach(t=>{const e=t.parentNode;for(;t.childNodes.length;)e.insertBefore(t.childNodes[0],t);u(t)}),{content:this.domSanitizer.bypassSecurityTrustHtml(e.innerHTML.trim()),title:(e.textContent||"").trim()}}findTocHeadings(t){return l(t,"h1,h2,h3").filter(t=>!/(?:no-toc|notoc)/i.test(t.className)&&!this.isOriginalText(t))}isOriginalText(t){if(t&&t.hasAttribute("translation-origin")){let e=t.previousElementSibling;if(e&&"AIO-TOC"===e.tagName&&(e=e.previousElementSibling),e&&e.hasAttribute("translation-result"))return!0}return!1}resetScrollSpyInfo(){this.scrollSpyInfo&&(this.scrollSpyInfo.unspy(),this.scrollSpyInfo=null),this.activeItemIndex.next(null)}getId(t,e){let n=t.id;return n?s(n):(n=(t.textContent||"").trim().toLowerCase().replace(/\W+/g,"-"),n=s(n),t.id=n),n;function s(t){const n=(e.get(t)||0)+1;return e.set(t,n),1===n?t:`${t}-${n}`}}}return t.\u0275fac=function(e){return new(e||t)(i.Zb(s.d),i.Zb(o.b),i.Zb(a.a))},t.\u0275prov=i.Mb({token:t,factory:t.\u0275fac}),t})();function l(t,e){return Array.from(t.querySelectorAll(e))}function u(t){null!==t.parentNode&&t.parentNode.removeChild(t)}},VRyK:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var s=n("HDdC"),r=n("z+Ro"),i=n("bHdf"),o=n("yCtX");function a(...t){let e=Number.POSITIVE_INFINITY,n=null,a=t[t.length-1];return Object(r.a)(a)?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof a&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof s.a?t[0]:Object(i.a)(e)(Object(o.a)(t,n))}},WMd4:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var s=n("EY2u"),r=n("LRne"),i=n("z6cu");let o=(()=>{class t{constructor(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}observe(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}do(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}}accept(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)}toObservable(){switch(this.kind){case"N":return Object(r.a)(this.value);case"E":return Object(i.a)(this.error);case"C":return Object(s.b)()}throw new Error("unexpected notification kind value")}static createNext(e){return void 0!==e?new t("N",e):t.undefinedValueNotification}static createError(e){return new t("E",void 0,e)}static createComplete(){return t.completeNotification}}return t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t})()},XDbj:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var s=n("sVev"),r=n("7o/Q");function i(t=c){return e=>e.lift(new o(t))}class o{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new a(t,this.errorFactory))}}class a extends r.a{constructor(t,e){super(t),this.errorFactory=e,this.hasValue=!1}_next(t){this.hasValue=!0,this.destination.next(t)}_complete(){if(this.hasValue)return this.destination.complete();{let e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}}function c(){return new s.a}},XNiG:function(t,e,n){"use strict";n.d(e,"b",(function(){return l})),n.d(e,"a",(function(){return u}));var s=n("HDdC"),r=n("7o/Q"),i=n("quSY"),o=n("9ppp"),a=n("Ylt2"),c=n("2QA8");class l extends r.a{constructor(t){super(t),this.destination=t}}let u=(()=>{class t extends s.a{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[c.a](){return new l(this)}lift(t){const e=new h(this,this);return e.operator=t,e}next(t){if(this.closed)throw new o.a;if(!this.isStopped){const{observers:e}=this,n=e.length,s=e.slice();for(let r=0;r<n;r++)s[r].next(t)}}error(t){if(this.closed)throw new o.a;this.hasError=!0,this.thrownError=t,this.isStopped=!0;const{observers:e}=this,n=e.length,s=e.slice();for(let r=0;r<n;r++)s[r].error(t);this.observers.length=0}complete(){if(this.closed)throw new o.a;this.isStopped=!0;const{observers:t}=this,e=t.length,n=t.slice();for(let s=0;s<e;s++)n[s].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(t){if(this.closed)throw new o.a;return super._trySubscribe(t)}_subscribe(t){if(this.closed)throw new o.a;return this.hasError?(t.error(this.thrownError),i.a.EMPTY):this.isStopped?(t.complete(),i.a.EMPTY):(this.observers.push(t),new a.a(this,t))}asObservable(){const t=new s.a;return t.source=this,t}}return t.create=(t,e)=>new h(t,e),t})();class h extends u{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):i.a.EMPTY}}},XQjc:function(t,e,n){t.exports=n.p+"0-es2015.df852340241b1682aeca.worker.js"},XoHu:function(t,e,n){"use strict";function s(t){return null!==t&&"object"==typeof t}n.d(e,"a",(function(){return s}))},Y7HM:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var s=n("DH7j");function r(t){return!Object(s.a)(t)&&t-parseFloat(t)+1>=0}},Ylt2:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var s=n("quSY");class r extends s.a{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},ZUHj:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var s=n("51Dv"),r=n("SeVD"),i=n("HDdC");function o(t,e,n,o,a=new s.a(t,n,o)){if(!a.closed)return e instanceof i.a?e.subscribe(a):Object(r.a)(e)(a)}},bHdf:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var s=n("5+tZ"),r=n("SpAZ");function i(t=Number.POSITIVE_INFINITY){return Object(s.a)(r.a,t)}},bOdf:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var s=n("5+tZ");function r(t,e){return Object(s.a)(t,e,1)}},bTqV:function(t,e,n){"use strict";n.d(e,"a",(function(){return f})),n.d(e,"b",(function(){return p}));var s=n("ofXK"),r=n("FKr1"),i=n("R1ws"),o=n("fXoL"),a=n("u47x");const c=["mat-button",""],l=["*"],u=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"];class h{constructor(t){this._elementRef=t}}const d=Object(r.f)(Object(r.h)(Object(r.g)(h)));let f=(()=>{class t extends d{constructor(t,e,n){super(t),this._focusMonitor=e,this._animationMode=n,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const s of u)this._hasHostAttributes(s)&&this._getHostElement().classList.add(s);t.nativeElement.classList.add("mat-button-base"),this._focusMonitor.monitor(this._elementRef,!0),this.isRoundButton&&(this.color="accent")}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(t="program",e){this._focusMonitor.focusVia(this._getHostElement(),t,e)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...t){return t.some(t=>this._getHostElement().hasAttribute(t))}}return t.\u0275fac=function(e){return new(e||t)(o.Qb(o.l),o.Qb(a.d),o.Qb(i.a,8))},t.\u0275cmp=o.Kb({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(t,e){var n;1&t&&o.Jc(r.c,!0),2&t&&o.rc(n=o.ec())&&(e.ripple=n.first)},hostVars:3,hostBindings:function(t,e,n){2&t&&(o.Db("disabled",e.disabled||null),o.Gb("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[o.zb],attrs:c,ngContentSelectors:l,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(t,e){1&t&&(o.lc(),o.Vb(0,"span",0),o.kc(1),o.Ub(),o.Rb(2,"div",1),o.Rb(3,"div",2)),2&t&&(o.Cb(2),o.Gb("mat-button-ripple-round",e.isRoundButton||e.isIconButton),o.mc("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",e.isIconButton)("matRippleTrigger",e._getHostElement()))},directives:[r.c],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button[disabled],.mat-icon-button[disabled],.mat-stroked-button[disabled],.mat-flat-button[disabled]{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button[disabled]{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab[disabled]{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab[disabled]{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.cdk-high-contrast-active .mat-button-focus-overlay{background-color:#fff}.cdk-high-contrast-black-on-white .mat-button-focus-overlay{background-color:#000}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}\n"],encapsulation:2,changeDetection:0}),t})(),p=(()=>{class t{}return t.\u0275mod=o.Ob({type:t}),t.\u0275inj=o.Nb({factory:function(e){return new(e||t)},imports:[[s.c,r.d,r.b],r.b]}),t})()},c2HN:function(t,e,n){"use strict";function s(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}n.d(e,"a",(function(){return s}))},cH1L:function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return o}));var s=n("fXoL"),r=n("ofXK");const i=new s.q("cdk-dir-doc",{providedIn:"root",factory:function(){return Object(s.W)(r.d)}});let o=(()=>{class t{constructor(t){if(this.value="ltr",this.change=new s.n,t){const e=t.documentElement?t.documentElement.dir:null,n=(t.body?t.body.dir:null)||e;this.value="ltr"===n||"rtl"===n?n:"ltr"}}ngOnDestroy(){this.change.complete()}}return t.\u0275fac=function(e){return new(e||t)(s.Zb(i,8))},t.\u0275prov=Object(s.Mb)({factory:function(){return new t(Object(s.Zb)(i,8))},token:t,providedIn:"root"}),t})(),a=(()=>{class t{}return t.\u0275mod=s.Ob({type:t}),t.\u0275inj=s.Nb({factory:function(e){return new(e||t)}}),t})()},eIep:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var s=n("l7GE"),r=n("51Dv"),i=n("ZUHj"),o=n("lJxs"),a=n("Cfvw");function c(t,e){return"function"==typeof e?n=>n.pipe(c((n,s)=>Object(a.a)(t(n,s)).pipe(Object(o.a)((t,r)=>e(n,t,s,r))))):e=>e.lift(new l(t))}class l{constructor(t){this.project=t}call(t,e){return e.subscribe(new u(t,this.project))}}class u extends s.a{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(s){return void this.destination.error(s)}this._innerSub(e,t,n)}_innerSub(t,e,n){const s=this.innerSubscription;s&&s.unsubscribe();const o=new r.a(this,void 0,void 0);this.destination.add(o),this.innerSubscription=Object(i.a)(this,t,e,n,o)}_complete(){const{innerSubscription:t}=this;t&&!t.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(t){this.destination.remove(t),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(t,e,n,s,r){this.destination.next(e)}}},fXoL:function(t,e,n){"use strict";n.d(e,"a",(function(){return ki})),n.d(e,"b",(function(){return Wc})),n.d(e,"c",(function(){return Uc})),n.d(e,"d",(function(){return Bc})),n.d(e,"e",(function(){return zc})),n.d(e,"f",(function(){return Kl})),n.d(e,"g",(function(){return jl})),n.d(e,"h",(function(){return ui})),n.d(e,"i",(function(){return il})),n.d(e,"j",(function(){return ga})),n.d(e,"k",(function(){return Xc})),n.d(e,"l",(function(){return ya})),n.d(e,"m",(function(){return cn})),n.d(e,"n",(function(){return gc})),n.d(e,"o",(function(){return Z})),n.d(e,"p",(function(){return l})),n.d(e,"q",(function(){return $})),n.d(e,"r",(function(){return Oi})),n.d(e,"s",(function(){return La})),n.d(e,"t",(function(){return Ma})),n.d(e,"u",(function(){return Gc})),n.d(e,"v",(function(){return ot})),n.d(e,"w",(function(){return Al})),n.d(e,"x",(function(){return it})),n.d(e,"y",(function(){return xl})),n.d(e,"z",(function(){return ll})),n.d(e,"A",(function(){return u})),n.d(e,"B",(function(){return Qc})),n.d(e,"C",(function(){return qc})),n.d(e,"D",(function(){return _c})),n.d(e,"E",(function(){return Ea})),n.d(e,"F",(function(){return va})),n.d(e,"G",(function(){return wa})),n.d(e,"H",(function(){return Ca})),n.d(e,"I",(function(){return Kn})),n.d(e,"J",(function(){return sa})),n.d(e,"K",(function(){return d})),n.d(e,"L",(function(){return Fl})),n.d(e,"M",(function(){return za})),n.d(e,"N",(function(){return gl})),n.d(e,"O",(function(){return xa})),n.d(e,"P",(function(){return $a})),n.d(e,"Q",(function(){return mt})),n.d(e,"R",(function(){return Fi})),n.d(e,"S",(function(){return Ol})),n.d(e,"T",(function(){return On})),n.d(e,"U",(function(){return T})),n.d(e,"V",(function(){return ql})),n.d(e,"W",(function(){return et})),n.d(e,"X",(function(){return xn})),n.d(e,"Y",(function(){return Ql})),n.d(e,"Z",(function(){return vl})),n.d(e,"ab",(function(){return Kc})),n.d(e,"bb",(function(){return di})),n.d(e,"cb",(function(){return ic})),n.d(e,"db",(function(){return Qn})),n.d(e,"eb",(function(){return Yn})),n.d(e,"fb",(function(){return jn})),n.d(e,"gb",(function(){return bn})),n.d(e,"hb",(function(){return yn})),n.d(e,"ib",(function(){return En})),n.d(e,"jb",(function(){return vn})),n.d(e,"kb",(function(){return _n})),n.d(e,"lb",(function(){return wn})),n.d(e,"mb",(function(){return ec})),n.d(e,"nb",(function(){return nc})),n.d(e,"ob",(function(){return sc})),n.d(e,"pb",(function(){return gn})),n.d(e,"qb",(function(){return P})),n.d(e,"rb",(function(){return Pi})),n.d(e,"sb",(function(){return ro})),n.d(e,"tb",(function(){return so})),n.d(e,"ub",(function(){return Ri})),n.d(e,"vb",(function(){return tc})),n.d(e,"wb",(function(){return Ee})),n.d(e,"xb",(function(){return O})),n.d(e,"yb",(function(){return mn})),n.d(e,"zb",(function(){return Yo})),n.d(e,"Ab",(function(){return ra})),n.d(e,"Bb",(function(){return pa})),n.d(e,"Cb",(function(){return Fs})),n.d(e,"Db",(function(){return zi})),n.d(e,"Eb",(function(){return jo})),n.d(e,"Fb",(function(){return $o})),n.d(e,"Gb",(function(){return To})),n.d(e,"Hb",(function(){return oo})),n.d(e,"Ib",(function(){return Ac})),n.d(e,"Jb",(function(){return ns})),n.d(e,"Kb",(function(){return vt})),n.d(e,"Lb",(function(){return kt})),n.d(e,"Mb",(function(){return b})),n.d(e,"Nb",(function(){return g})),n.d(e,"Ob",(function(){return Ct})),n.d(e,"Pb",(function(){return It})),n.d(e,"Qb",(function(){return qi})),n.d(e,"Rb",(function(){return Ji})),n.d(e,"Sb",(function(){return eo})),n.d(e,"Tb",(function(){return to})),n.d(e,"Ub",(function(){return Yi})),n.d(e,"Vb",(function(){return Xi})),n.d(e,"Wb",(function(){return no})),n.d(e,"Xb",(function(){return sn})),n.d(e,"Yb",(function(){return Zo})),n.d(e,"Zb",(function(){return tt})),n.d(e,"ac",(function(){return Qi})),n.d(e,"bc",(function(){return Hc})),n.d(e,"cc",(function(){return Wi})),n.d(e,"dc",(function(){return io})),n.d(e,"ec",(function(){return Fc})),n.d(e,"fc",(function(){return fe})),n.d(e,"gc",(function(){return de})),n.d(e,"hc",(function(){return uo})),n.d(e,"ic",(function(){return mc})),n.d(e,"jc",(function(){return bc})),n.d(e,"kc",(function(){return po})),n.d(e,"lc",(function(){return fo})),n.d(e,"mc",(function(){return Ki})),n.d(e,"nc",(function(){return mo})),n.d(e,"oc",(function(){return bo})),n.d(e,"pc",(function(){return dc})),n.d(e,"qc",(function(){return fc})),n.d(e,"rc",(function(){return Ic})),n.d(e,"sc",(function(){return Zi})),n.d(e,"tc",(function(){return Ve})),n.d(e,"uc",(function(){return Me})),n.d(e,"vc",(function(){return $t})),n.d(e,"wc",(function(){return Jn})),n.d(e,"xc",(function(){return es})),n.d(e,"yc",(function(){return xt})),n.d(e,"zc",(function(){return Dc})),n.d(e,"Ac",(function(){return Tc})),n.d(e,"Bc",(function(){return Io})),n.d(e,"Cc",(function(){return $i})),n.d(e,"Dc",(function(){return Vc})),n.d(e,"Ec",(function(){return Ho})),n.d(e,"Fc",(function(){return Bo})),n.d(e,"Gc",(function(){return zo})),n.d(e,"Hc",(function(){return Uo})),n.d(e,"Ic",(function(){return qo})),n.d(e,"Jc",(function(){return jc}));var s=n("XNiG"),r=n("quSY"),i=n("HDdC"),o=n("VRyK"),a=n("w1tV");function c(t,e,n){const s=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function r(...t){if(this instanceof r)return s.apply(this,t),this;const e=new r(...t);return n.annotation=e,n;function n(t,n,s){const r=t.hasOwnProperty("__parameters__")?t.__parameters__:Object.defineProperty(t,"__parameters__",{value:[]}).__parameters__;for(;r.length<=s;)r.push(null);return(r[s]=r[s]||[]).push(e),t}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r}const l=c("Inject",t=>({token:t})),u=c("Optional"),h=c("Self"),d=c("SkipSelf");var f=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({});function p(t){for(let e in t)if(t[e]===p)return e;throw Error("Could not find renamed property on target object.")}function m(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function b(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function g(t){return{factory:t.factory,providers:t.providers||[],imports:t.imports||[]}}function y(t){return _(t,t[w])||_(t,t[C])}function _(t,e){return e&&e.token===t?e:null}function v(t){return t&&(t.hasOwnProperty(E)||t.hasOwnProperty(x))?t[E]:null}const w=p({"\u0275prov":p}),E=p({"\u0275inj":p}),S=p({"\u0275provFallback":p}),C=p({ngInjectableDef:p}),x=p({ngInjectorDef:p});function O(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(O).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function k(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const I=p({__forward_ref__:p});function T(t){return t.__forward_ref__=T,t.toString=function(){return O(this())},t}function j(t){return N(t)?t():t}function N(t){return"function"==typeof t&&t.hasOwnProperty(I)&&t.__forward_ref__===T}const A="undefined"!=typeof globalThis&&globalThis,D="undefined"!=typeof window&&window,R="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,F="undefined"!=typeof global&&global,P=A||F||D||R,L=p({"\u0275cmp":p}),M=p({"\u0275dir":p}),V=p({"\u0275pipe":p}),H=p({"\u0275mod":p}),B=p({"\u0275loc":p}),z=p({"\u0275fac":p}),U=p({__NG_ELEMENT_ID__:p});class ${constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=b({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return`InjectionToken ${this._desc}`}}const Z=new $("INJECTOR",-1),q={},Q=/\n/gm,W=p({provide:String,useValue:p});let K,G=void 0;function X(t){const e=G;return G=t,e}function Y(t){const e=K;return K=t,e}function J(t,e=f.Default){if(void 0===G)throw new Error("inject() must be called from an injection context");return null===G?nt(t,void 0,e):G.get(t,e&f.Optional?null:void 0,e)}function tt(t,e=f.Default){return(K||J)(j(t),e)}const et=tt;function nt(t,e,n){const s=y(t);if(s&&"root"==s.providedIn)return void 0===s.value?s.value=s.factory():s.value;if(n&f.Optional)return null;if(void 0!==e)return e;throw new Error(`Injector: NOT_FOUND [${O(t)}]`)}function st(t){const e=[];for(let n=0;n<t.length;n++){const s=j(t[n]);if(Array.isArray(s)){if(0===s.length)throw new Error("Arguments array must have arguments.");let t=void 0,n=f.Default;for(let e=0;e<s.length;e++){const r=s[e];r instanceof u||"Optional"===r.ngMetadataName||r===u?n|=f.Optional:r instanceof d||"SkipSelf"===r.ngMetadataName||r===d?n|=f.SkipSelf:r instanceof h||"Self"===r.ngMetadataName||r===h?n|=f.Self:t=r instanceof l||r===l?r.token:r}e.push(tt(t,n))}else e.push(tt(s))}return e}class rt{get(t,e=q){if(e===q){const e=new Error(`NullInjectorError: No provider for ${O(t)}!`);throw e.name="NullInjectorError",e}return e}}class it{}class ot{}function at(t,e){t.forEach(t=>Array.isArray(t)?at(t,e):e(t))}function ct(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function lt(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function ut(t,e){const n=[];for(let s=0;s<t;s++)n.push(e);return n}function ht(t,e,n){let s=ft(t,e);return s>=0?t[1|s]=n:(s=~s,function(t,e,n,s){let r=t.length;if(r==e)t.push(n,s);else if(1===r)t.push(s,t[0]),t[0]=n;else{for(r--,t.push(t[r-1],t[r]);r>e;)t[r]=t[r-2],r--;t[e]=n,t[e+1]=s}}(t,s,e,n)),s}function dt(t,e){const n=ft(t,e);if(n>=0)return t[1|n]}function ft(t,e){return function(t,e,n){let s=0,r=t.length>>1;for(;r!==s;){const n=s+(r-s>>1),i=t[n<<1];if(e===i)return n<<1;i>e?r=n:s=n+1}return~(r<<1)}(t,e)}const pt=function(){var t={OnPush:0,Default:1};return t[t.OnPush]="OnPush",t[t.Default]="Default",t}(),mt=function(){var t={Emulated:0,Native:1,None:2,ShadowDom:3};return t[t.Emulated]="Emulated",t[t.Native]="Native",t[t.None]="None",t[t.ShadowDom]="ShadowDom",t}();function bt(t){return""+{toString:t}}const gt={},yt=[];let _t=0;function vt(t){const e=t.type,n=e.prototype,s={},r={type:e,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:s,inputs:null,outputs:null,exportAs:t.exportAs||null,onChanges:null,onInit:n.ngOnInit||null,doCheck:n.ngDoCheck||null,afterContentInit:n.ngAfterContentInit||null,afterContentChecked:n.ngAfterContentChecked||null,afterViewInit:n.ngAfterViewInit||null,afterViewChecked:n.ngAfterViewChecked||null,onDestroy:n.ngOnDestroy||null,onPush:t.changeDetection===pt.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||yt,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||mt.Emulated,id:"c",styles:t.styles||yt,_:null,setInput:null,schemas:t.schemas||null,tView:null};return r._=bt(()=>{const e=t.directives,n=t.features,i=t.pipes;r.id+=_t++,r.inputs=Ot(t.inputs,s),r.outputs=Ot(t.outputs),n&&n.forEach(t=>t(r)),r.directiveDefs=e?()=>("function"==typeof e?e():e).map(wt):null,r.pipeDefs=i?()=>("function"==typeof i?i():i).map(Et):null}),r}function wt(t){return Tt(t)||function(t){return t[M]||null}(t)}function Et(t){return function(t){return t[V]||null}(t)}const St={};function Ct(t){const e={type:t.type,bootstrap:t.bootstrap||yt,declarations:t.declarations||yt,imports:t.imports||yt,exports:t.exports||yt,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&bt(()=>{St[t.id]=t.type}),e}function xt(t,e){return bt(()=>{const n=Nt(t,!0);n.declarations=e.declarations||yt,n.imports=e.imports||yt,n.exports=e.exports||yt})}function Ot(t,e){if(null==t)return gt;const n={};for(const s in t)if(t.hasOwnProperty(s)){let r=t[s],i=r;Array.isArray(r)&&(i=r[1],r=r[0]),n[r]=s,e&&(e[r]=i)}return n}const kt=vt;function It(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function Tt(t){return t[L]||null}function jt(t,e){return t.hasOwnProperty(z)?t[z]:null}function Nt(t,e){const n=t[H]||null;if(!n&&!0===e)throw new Error(`Type ${O(t)} does not have '\u0275mod' property.`);return n}function At(t){return Array.isArray(t)&&"object"==typeof t[1]}function Dt(t){return Array.isArray(t)&&!0===t[1]}function Rt(t){return 0!=(8&t.flags)}function Ft(t){return 2==(2&t.flags)}function Pt(t){return 1==(1&t.flags)}function Lt(t){return null!==t.template}function Mt(t){return 0!=(512&t[2])}const Vt={lFrame:ce(null),bindingsEnabled:!0,checkNoChangesMode:!1};function Ht(){return Vt.bindingsEnabled}function Bt(){const t=Vt.lFrame;return null===t?null:t.lView}function zt(t){he(t)}function Ut(){he(-1)}function $t(t){Vt.lFrame.contextLView=t}function Zt(){return Vt.lFrame.previousOrParentTNode}function qt(t,e){Vt.lFrame.previousOrParentTNode=t,Vt.lFrame.isParent=e}function Qt(){return Vt.lFrame.isParent}function Wt(){Vt.lFrame.isParent=!1}function Kt(){return Vt.checkNoChangesMode}function Gt(t){Vt.checkNoChangesMode=t}function Xt(){const t=Vt.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.lView[1].bindingStartIndex),e}function Yt(){return Vt.lFrame.bindingIndex}function Jt(){return Vt.lFrame.bindingIndex++}function te(t){const e=Vt.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function ee(t){const e=Vt.lFrame;e.bindingIndex=e.bindingRootIndex=t}function ne(){return Vt.lFrame.currentQueryIndex}function se(t){Vt.lFrame.currentQueryIndex=t}function re(t,e){const n=ae();Vt.lFrame=n,n.previousOrParentTNode=e,n.lView=t}const ie=le;function oe(t,e){const n=ae();Vt.lFrame=n,n.previousOrParentTNode=e,n.isParent=!0,n.lView=t,n.selectedIndex=0,n.contextLView=t,n.elementDepthCount=0,n.currentNamespace=null,n.currentSanitizer=null,n.bindingRootIndex=-1,n.bindingIndex=null===t?-1:t[1].bindingStartIndex,n.currentQueryIndex=0}function ae(){const t=Vt.lFrame,e=null===t?null:t.child;return null===e?ce(t):e}function ce(t){const e={previousOrParentTNode:null,isParent:!0,lView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentSanitizer:null,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null};return null!==t&&(t.child=e),e}function le(){Vt.lFrame=Vt.lFrame.parent}function ue(){return Vt.lFrame.selectedIndex}function he(t){Vt.lFrame.selectedIndex=t}function de(){Vt.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function fe(){Vt.lFrame.currentNamespace=null}function pe(t,e){for(let n=e.directiveStart,s=e.directiveEnd;n<s;n++){const e=t.data[n];e.afterContentInit&&(t.contentHooks||(t.contentHooks=[])).push(-n,e.afterContentInit),e.afterContentChecked&&((t.contentHooks||(t.contentHooks=[])).push(n,e.afterContentChecked),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,e.afterContentChecked)),e.afterViewInit&&(t.viewHooks||(t.viewHooks=[])).push(-n,e.afterViewInit),e.afterViewChecked&&((t.viewHooks||(t.viewHooks=[])).push(n,e.afterViewChecked),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(n,e.afterViewChecked)),null!=e.onDestroy&&(t.destroyHooks||(t.destroyHooks=[])).push(n,e.onDestroy)}}function me(t,e,n){ye(t,e,3,n)}function be(t,e,n,s){(3&t[2])===n&&ye(t,e,n,s)}function ge(t,e){let n=t[2];(3&n)===e&&(n&=1023,n+=1,t[2]=n)}function ye(t,e,n,s){const r=null!=s?s:-1;let i=0;for(let o=void 0!==s?65535&t[18]:0;o<e.length;o++)if("number"==typeof e[o+1]){if(i=e[o],null!=s&&i>=s)break}else e[o]<0&&(t[18]+=65536),(i<r||-1==r)&&(_e(t,n,e,o),t[18]=(4294901760&t[18])+o+2),o++}function _e(t,e,n,s){const r=n[s]<0,i=n[s+1],o=t[r?-n[s]:n[s]];r?t[2]>>10<t[18]>>16&&(3&t[2])===e&&(t[2]+=1024,i.call(o)):i.call(o)}class ve{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}let we=void 0;function Ee(t){we=t}function Se(){return void 0!==we?we:"undefined"!=typeof document?document:void 0}function Ce(t){return!!t.listen}const xe={createRenderer:(t,e)=>Se()};function Oe(t,e,n){const s=Ce(t);let r=0;for(;r<n.length;){const i=n[r];if("number"==typeof i){if(0!==i)break;r++;const o=n[r++],a=n[r++],c=n[r++];s?t.setAttribute(e,a,c,o):e.setAttributeNS(o,a,c)}else{const o=i,a=n[++r];Ie(o)?s&&t.setProperty(e,o,a):s?t.setAttribute(e,o,a):e.setAttribute(o,a),r++}}return r}function ke(t){return 3===t||4===t||6===t}function Ie(t){return 64===t.charCodeAt(0)}function Te(t,e){if(null===e||0===e.length);else if(null===t||0===t.length)t=e.slice();else{let n=-1;for(let s=0;s<e.length;s++){const r=e[s];"number"==typeof r?n=r:0===n||je(t,n,r,null,-1===n||2===n?e[++s]:null)}}return t}function je(t,e,n,s,r){let i=0,o=t.length;if(-1===e)o=-1;else for(;i<t.length;){const n=t[i++];if("number"==typeof n){if(n===e){o=-1;break}if(n>e){o=i-1;break}}}for(;i<t.length;){const e=t[i];if("number"==typeof e)break;if(e===n){if(null===s)return void(null!==r&&(t[i+1]=r));if(s===t[i+1])return void(t[i+2]=r)}i++,null!==s&&i++,null!==r&&i++}-1!==o&&(t.splice(o,0,e),i=o+1),t.splice(i++,0,n),null!==s&&t.splice(i++,0,s),null!==r&&t.splice(i++,0,r)}function Ne(t){return-1!==t}function Ae(t){return 32767&t}function De(t){return t>>16}function Re(t,e){let n=De(t),s=e;for(;n>0;)s=s[15],n--;return s}function Fe(t){return"string"==typeof t?t:null==t?"":""+t}function Pe(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():Fe(t)}const Le=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(P))();function Me(t){return{name:"window",target:t.ownerDocument.defaultView}}function Ve(t){return{name:"document",target:t.ownerDocument}}function He(t){return t instanceof Function?t():t}let Be=!0;function ze(t){const e=Be;return Be=t,e}let Ue=0;function $e(t,e){const n=qe(t,e);if(-1!==n)return n;const s=e[1];s.firstCreatePass&&(t.injectorIndex=e.length,Ze(s.data,t),Ze(e,null),Ze(s.blueprint,null));const r=Qe(t,e),i=t.injectorIndex;if(Ne(r)){const t=Ae(r),n=Re(r,e),s=n[1].data;for(let r=0;r<8;r++)e[i+r]=n[t+r]|s[t+r]}return e[i+8]=r,i}function Ze(t,e){t.push(0,0,0,0,0,0,0,0,e)}function qe(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null==e[t.injectorIndex+8]?-1:t.injectorIndex}function Qe(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=e[6],s=1;for(;n&&-1===n.injectorIndex;)n=(e=e[15])?e[6]:null,s++;return n?n.injectorIndex|s<<16:-1}function We(t,e,n){!function(t,e,n){let s="string"!=typeof n?n[U]:n.charCodeAt(0)||0;null==s&&(s=n[U]=Ue++);const r=255&s,i=1<<r,o=64&r,a=32&r,c=e.data;128&r?o?a?c[t+7]|=i:c[t+6]|=i:a?c[t+5]|=i:c[t+4]|=i:o?a?c[t+3]|=i:c[t+2]|=i:a?c[t+1]|=i:c[t]|=i}(t,e,n)}function Ke(t,e,n,s=f.Default,r){if(null!==t){const r=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;const e=t[U];return"number"==typeof e&&e>0?255&e:e}(n);if("function"==typeof r){re(e,t);try{const t=r();if(null!=t||s&f.Optional)return t;throw new Error(`No provider for ${Pe(n)}!`)}finally{ie()}}else if("number"==typeof r){if(-1===r)return new nn(t,e);let i=null,o=qe(t,e),a=-1,c=s&f.Host?e[16][6]:null;for((-1===o||s&f.SkipSelf)&&(a=-1===o?Qe(t,e):e[o+8],en(s,!1)?(i=e[1],o=Ae(a),e=Re(a,e)):o=-1);-1!==o;){a=e[o+8];const t=e[1];if(tn(r,o,t.data)){const t=Xe(o,e,n,i,s,c);if(t!==Ge)return t}en(s,e[1].data[o+8]===c)&&tn(r,o,e)?(i=t,o=Ae(a),e=Re(a,e)):o=-1}}}if(s&f.Optional&&void 0===r&&(r=null),0==(s&(f.Self|f.Host))){const t=e[9],i=Y(void 0);try{return t?t.get(n,r,s&f.Optional):nt(n,r,s&f.Optional)}finally{Y(i)}}if(s&f.Optional)return r;throw new Error(`NodeInjector: NOT_FOUND [${Pe(n)}]`)}const Ge={};function Xe(t,e,n,s,r,i){const o=e[1],a=o.data[t+8],c=Ye(a,o,n,null==s?Ft(a)&&Be:s!=o&&3===a.type,r&f.Host&&i===a);return null!==c?Je(e,o,c,a):Ge}function Ye(t,e,n,s,r){const i=t.providerIndexes,o=e.data,a=65535&i,c=t.directiveStart,l=i>>16,u=r?a+l:t.directiveEnd;for(let h=s?a:a+l;h<u;h++){const t=o[h];if(h<c&&n===t||h>=c&&t.type===n)return h}if(r){const t=o[c];if(t&&Lt(t)&&t.type===n)return c}return null}function Je(t,e,n,s){let r=t[n];const i=e.data;if(r instanceof ve){const o=r;if(o.resolving)throw new Error(`Circular dep for ${Pe(i[n])}`);const a=ze(o.canSeeViewProviders);let c;o.resolving=!0,o.injectImpl&&(c=Y(o.injectImpl)),re(t,s);try{r=t[n]=o.factory(void 0,i,t,s),e.firstCreatePass&&n>=s.directiveStart&&function(t,e,n){const{onChanges:s,onInit:r,doCheck:i}=e;s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,s)),r&&(n.preOrderHooks||(n.preOrderHooks=[])).push(-t,r),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,i))}(n,i[n],e)}finally{o.injectImpl&&Y(c),ze(a),o.resolving=!1,ie()}}return r}function tn(t,e,n){const s=64&t,r=32&t;let i;return i=128&t?s?r?n[e+7]:n[e+6]:r?n[e+5]:n[e+4]:s?r?n[e+3]:n[e+2]:r?n[e+1]:n[e],!!(i&1<<t)}function en(t,e){return!(t&f.Self||t&f.Host&&e)}class nn{constructor(t,e){this._tNode=t,this._lView=e}get(t,e){return Ke(this._tNode,this._lView,t,void 0,e)}}function sn(t){const e=Object.getPrototypeOf(t.prototype).constructor,n=e[z]||function t(e){const n=e;if(N(e))return()=>{const e=t(j(n));return e?e():null};let s=jt(n);if(null===s){const t=v(n);s=t&&t.factory}return s||null}(e);return null!==n?n:t=>new t}function rn(t){return t.ngDebugContext}function on(t){return t.ngOriginalError}function an(t,...e){t.error(...e)}class cn{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),s=function(t){return t.ngErrorLogger||an}(t);s(this._console,"ERROR",t),e&&s(this._console,"ORIGINAL ERROR",e),n&&s(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?rn(t)?rn(t):this._findContext(on(t)):null}_findOriginalError(t){let e=on(t);for(;e&&on(e);)e=on(e);return e}}class ln{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity}`+" (see http://g.co/ng/security#xss)"}}class un extends ln{getTypeName(){return"HTML"}}class hn extends ln{getTypeName(){return"Style"}}class dn extends ln{getTypeName(){return"Script"}}class fn extends ln{getTypeName(){return"URL"}}class pn extends ln{getTypeName(){return"ResourceURL"}}function mn(t){return t instanceof ln?t.changingThisBreaksApplicationSecurity:t}function bn(t,e){const n=gn(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see http://g.co/ng/security#xss)`)}return n===e}function gn(t){return t instanceof ln&&t.getTypeName()||null}function yn(t){return new un(t)}function _n(t){return new hn(t)}function vn(t){return new dn(t)}function wn(t){return new fn(t)}function En(t){return new pn(t)}let Sn=!0,Cn=!1;function xn(){return Cn=!0,Sn}function On(){if(Cn)throw new Error("Cannot enable prod mode after platform setup.");Sn=!1}class kn{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert");let e=this.inertDocument.body;if(null==e){const t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t),e=this.inertDocument.createElement("body"),t.appendChild(e)}e.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!e.querySelector||e.querySelector("svg")?(e.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=e.querySelector&&e.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(t){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}getInertBodyElement_XHR(t){t="<body><remove></remove>"+t+"</body>";try{t=encodeURI(t)}catch(s){return null}const e=new XMLHttpRequest;e.responseType="document",e.open("GET","data:text/html;charset=utf-8,"+t,!1),e.send(void 0);const n=e.response.body;return n.removeChild(n.firstChild),n}getInertBodyElement_DOMParser(t){t="<body><remove></remove>"+t+"</body>";try{const e=(new window.DOMParser).parseFromString(t,"text/html").body;return e.removeChild(e.firstChild),e}catch(e){return null}}getInertBodyElement_InertDocument(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=t,e;const n=this.inertDocument.createElement("body");return n.innerHTML=t,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(t){const e=t.attributes;for(let s=e.length-1;0<s;s--){const n=e.item(s).name;"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||t.removeAttribute(n)}let n=t.firstChild;for(;n;)n.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(n),n=n.nextSibling}}const In=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,Tn=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function jn(t){return(t=String(t)).match(In)||t.match(Tn)?t:(xn()&&console.warn(`WARNING: sanitizing unsafe URL value ${t} (see http://g.co/ng/security#xss)`),"unsafe:"+t)}function Nn(t){const e={};for(const n of t.split(","))e[n]=!0;return e}function An(...t){const e={};for(const n of t)for(const t in n)n.hasOwnProperty(t)&&(e[t]=!0);return e}const Dn=Nn("area,br,col,hr,img,wbr"),Rn=Nn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Fn=Nn("rp,rt"),Pn=An(Fn,Rn),Ln=An(Dn,An(Rn,Nn("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),An(Fn,Nn("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Pn),Mn=Nn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Vn=Nn("srcset"),Hn=An(Mn,Vn,Nn("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Nn("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),Bn=Nn("script,style,template");class zn{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let e=t.firstChild,n=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let t=this.checkClobberedElement(e,e.nextSibling);if(t){e=t;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(t){const e=t.nodeName.toLowerCase();if(!Ln.hasOwnProperty(e))return this.sanitizedSomething=!0,!Bn.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const n=t.attributes;for(let r=0;r<n.length;r++){const t=n.item(r),e=t.name,i=e.toLowerCase();if(!Hn.hasOwnProperty(i)){this.sanitizedSomething=!0;continue}let o=t.value;Mn[i]&&(o=jn(o)),Vn[i]&&(s=o,o=(s=String(s)).split(",").map(t=>jn(t.trim())).join(", ")),this.buf.push(" ",e,'="',Zn(o),'"')}var s;return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();Ln.hasOwnProperty(e)&&!Dn.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(t){this.buf.push(Zn(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return e}}const Un=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,$n=/([^\#-~ |!])/g;function Zn(t){return t.replace(/&/g,"&").replace(Un,(function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"})).replace($n,(function(t){return"&#"+t.charCodeAt(0)+";"})).replace(/</g,"<").replace(/>/g,">")}let qn;function Qn(t,e){let n=null;try{qn=qn||new kn(t);let s=e?String(e):"";n=qn.getInertBodyElement(s);let r=5,i=s;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,s=i,i=n.innerHTML,n=qn.getInertBodyElement(s)}while(s!==i);const o=new zn,a=o.sanitizeChildren(Wn(n)||n);return xn()&&o.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),a}finally{if(n){const t=Wn(n)||n;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function Wn(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}const Kn=function(){var t={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};return t[t.NONE]="NONE",t[t.HTML]="HTML",t[t.STYLE]="STYLE",t[t.SCRIPT]="SCRIPT",t[t.URL]="URL",t[t.RESOURCE_URL]="RESOURCE_URL",t}(),Gn=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:attr|calc|var))\\([-0-9.%, #a-zA-Z]+\\))$","g"),Xn=/^url\(([^)]+)\)$/;function Yn(t){if(!(t=String(t).trim()))return"";const e=t.match(Xn);return e&&jn(e[1])===e[1]||t.match(Gn)&&function(t){let e=!0,n=!0;for(let s=0;s<t.length;s++){const r=t.charAt(s);"'"===r&&n?e=!e:'"'===r&&e&&(n=!n)}return e&&n}(t)?t:(xn()&&console.warn(`WARNING: sanitizing unsafe style value ${t} (see http://g.co/ng/security#xss).`),"unsafe")}function Jn(t){const e=ss();return e?e.sanitize(Kn.HTML,t)||"":bn(t,"HTML")?mn(t):Qn(Se(),Fe(t))}function ts(t){const e=ss();return e?e.sanitize(Kn.STYLE,t)||"":bn(t,"Style")?mn(t):Yn(Fe(t))}function es(t){const e=ss();return e?e.sanitize(Kn.URL,t)||"":bn(t,"URL")?mn(t):jn(Fe(t))}const ns=function(t,e,n){if(void 0===e&&void 0===n)return ts(t);let s=!0;return 1&(n=n||3)&&(s=function(t){return"background-image"===t||"backgroundImage"===t||"background"===t||"border-image"===t||"borderImage"===t||"border-image-source"===t||"borderImageSource"===t||"filter"===t||"list-style"===t||"listStyle"===t||"list-style-image"===t||"listStyleImage"===t||"clip-path"===t||"clipPath"===t}(t)),2&n?s?ts(e):mn(e):s};function ss(){const t=Bt();return t&&t[12]}function rs(t){for(;Array.isArray(t);)t=t[0];return t}function is(t,e){return rs(e[t+19])}function os(t,e){return rs(e[t.index])}function as(t,e){const n=t.index;return-1!==n?rs(e[n]):null}function cs(t,e){return e[1].data[t+19]}function ls(t,e){return t[e+19]}function us(t,e){const n=e[t];return At(n)?n:n[0]}function hs(t){return t.__ngContext__||null}function ds(t){const e=hs(t);return e?Array.isArray(e)?e:e.lView:null}function fs(t){return 4==(4&t[2])}function ps(t){return 128==(128&t[2])}function ms(t,e){return null===t||null==e?null:t[e]}function bs(t){t[18]=0}function gs(t,e,n){return{lView:t,nodeIndex:e,native:n,component:void 0,directives:void 0,localRefs:void 0}}function ys(t,e){t.__ngContext__=e}function _s(t,e){let n=t[1].firstChild;for(;n;){if(as(n,t)===e)return n.index;n=vs(n)}return-1}function vs(t){if(t.child)return t.child;if(t.next)return t.next;for(;t.parent&&!t.parent.next;)t=t.parent;return t.parent&&t.parent.next}function ws(t){throw new Error(`Multiple components match node with tagname ${t.tagName}`)}function Es(){throw new Error("Cannot mix multi providers and regular providers")}function Ss(t,e,n){let s=t.length;for(;;){const r=t.indexOf(e,n);if(-1===r)return r;if(0===r||t.charCodeAt(r-1)<=32){const n=e.length;if(r+n===s||t.charCodeAt(r+n)<=32)return r}n=r+1}}function Cs(t,e,n){let s=0;for(;s<t.length;){let r=t[s++];if(n&&"class"===r){if(r=t[s],-1!==Ss(r.toLowerCase(),e,0))return!0}else if(1===r){for(;s<t.length&&"string"==typeof(r=t[s++]);)if(r.toLowerCase()===e)return!0;return!1}}return!1}function xs(t,e,n){return e===(0!==t.type||n?t.tagName:"ng-template")}function Os(t,e,n){let s=4;const r=t.attrs||[],i=function(t){for(let e=0;e<t.length;e++)if(ke(t[e]))return e;return t.length}(r);let o=!1;for(let a=0;a<e.length;a++){const c=e[a];if("number"!=typeof c){if(!o)if(4&s){if(s=2|1&s,""!==c&&!xs(t,c,n)||""===c&&1===e.length){if(ks(s))return!1;o=!0}}else{const l=8&s?c:e[++a];if(8&s&&null!==t.attrs){if(!Cs(t.attrs,l,n)){if(ks(s))return!1;o=!0}continue}const u=Is(8&s?"class":c,r,0==t.type&&"ng-template"!==t.tagName,n);if(-1===u){if(ks(s))return!1;o=!0;continue}if(""!==l){let t;t=u>i?"":r[u+1].toLowerCase();const e=8&s?t:null;if(e&&-1!==Ss(e,l,0)||2&s&&l!==t){if(ks(s))return!1;o=!0}}}}else{if(!o&&!ks(s)&&!ks(c))return!1;if(o&&ks(c))continue;o=!1,s=c|1&s}}return ks(s)||o}function ks(t){return 0==(1&t)}function Is(t,e,n,s){if(null===e)return-1;let r=0;if(s||!n){let n=!1;for(;r<e.length;){const s=e[r];if(s===t)return r;if(3===s||6===s)n=!0;else{if(1===s||2===s){let t=e[++r];for(;"string"==typeof t;)t=e[++r];continue}if(4===s)break;if(0===s){r+=4;continue}}r+=n?1:2}return-1}return function(t,e){let n=t.indexOf(4);if(n>-1)for(n++;n<t.length;){if(t[n]===e)return n;n++}return-1}(e,t)}function Ts(t,e,n=!1){for(let s=0;s<e.length;s++)if(Os(t,e[s],n))return!0;return!1}function js(t,e){t:for(let n=0;n<e.length;n++){const s=e[n];if(t.length===s.length){for(let e=0;e<t.length;e++)if(t[e]!==s[e])continue t;return!0}}return!1}function Ns(t,e){return t?":not("+e.trim()+")":e}function As(t){let e=t[0],n=1,s=2,r="",i=!1;for(;n<t.length;){let o=t[n];if("string"==typeof o)if(2&s){const e=t[++n];r+="["+o+(e.length>0?'="'+e+'"':"")+"]"}else 8&s?r+="."+o:4&s&&(r+=" "+o);else""===r||ks(o)||(e+=Ns(i,r),r=""),s=o,i=i||!ks(s);n++}return""!==r&&(e+=Ns(i,r)),e}const Ds={};function Rs(t){const e=t[3];return Dt(e)?e[3]:e}function Fs(t){Ps(Bt(),ue()+t,Kt())}function Ps(t,e,n){if(!n)if(3==(3&t[2])){const n=t[1].preOrderCheckHooks;null!==n&&me(t,n,e)}else{const n=t[1].preOrderHooks;null!==n&&be(t,n,0,e)}he(e)}function Ls(t,e){return t<<18|e<<2}function Ms(t){return t>>18}function Vs(t){return 2|t}function Hs(t){return(16380&t)>>2}function Bs(t,e){return-16381&t|e<<2}function zs(t){return 1|t}function Us(t,e){const n=t.contentQueries;if(null!==n)for(let s=0;s<n.length;s+=2){const r=n[s],i=n[s+1];if(-1!==i){const n=t.data[i];se(r),n.contentQueries(2,e[i],i)}}}function $s(t,e,n){return Ce(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function Zs(t,e,n,s,r,i,o,a,c,l){const u=e.blueprint.slice();return u[0]=r,u[2]=140|s,bs(u),u[3]=u[15]=t,u[8]=n,u[10]=o||t&&t[10],u[11]=a||t&&t[11],u[12]=c||t&&t[12]||null,u[9]=l||t&&t[9]||null,u[6]=i,u[16]=2==e.type?t[16]:u,u}function qs(t,e,n,s,r,i){const o=n+19,a=t.data[o]||function(t,e,n,s,r,i){const o=Zt(),a=Qt(),c=a?o:o&&o.parent,l=t.data[n]=nr(0,c&&c!==e?c:null,s,n,r,i);return null===t.firstChild&&(t.firstChild=l),o&&(!a||null!=o.child||null===l.parent&&2!==o.type?a||(o.next=l):o.child=l),l}(t,e,o,s,r,i);return qt(a,!0),a}function Qs(t,e,n){oe(t,t[6]);try{const s=e.viewQuery;null!==s&&xr(1,s,n);const r=e.template;null!==r&&Gs(t,r,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Us(e,t),e.staticViewQueries&&xr(2,e.viewQuery,n);const i=e.components;null!==i&&function(t,e){for(let n=0;n<e.length;n++)vr(t,e[n])}(t,i)}finally{t[2]&=-5,le()}}function Ws(t,e,n,s){const r=t[2];if(256==(256&r))return;oe(t,t[6]);const i=Kt();try{bs(t),Vt.lFrame.bindingIndex=e.bindingStartIndex,null!==n&&Gs(t,n,2,s);const o=3==(3&r);if(!i)if(o){const n=e.preOrderCheckHooks;null!==n&&me(t,n,null)}else{const n=e.preOrderHooks;null!==n&&be(t,n,0,null),ge(t,0)}if(function(t){let e=t[13];for(;null!==e;){let n;if(Dt(e)&&(n=e[2])>>1==-1){for(let t=9;t<e.length;t++){const n=e[t],s=n[1];ps(n)&&Ws(n,s,s.template,n[8])}0!=(1&n)&&yr(e,t[16])}e=e[4]}}(t),null!==e.contentQueries&&Us(e,t),!i)if(o){const n=e.contentCheckHooks;null!==n&&me(t,n)}else{const n=e.contentHooks;null!==n&&be(t,n,1),ge(t,1)}!function(t,e){try{const n=t.expandoInstructions;if(null!==n){let s=t.expandoStartIndex,r=-1,i=-1;for(let t=0;t<n.length;t++){const o=n[t];"number"==typeof o?o<=0?(i=0-o,zt(i),s+=9+n[++t],r=s):s+=o:(null!==o&&(ee(s),o(2,e[r],i)),r++)}}}finally{Ut()}}(e,t);const a=e.components;null!==a&&function(t,e){for(let n=0;n<e.length;n++)_r(t,e[n])}(t,a);const c=e.viewQuery;if(null!==c&&xr(2,c,s),!i)if(o){const n=e.viewCheckHooks;null!==n&&me(t,n)}else{const n=e.viewHooks;null!==n&&be(t,n,2),ge(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),i||(t[2]&=-73)}finally{le()}}function Ks(t,e,n){const s=t[10],r=!Kt(),i=fs(t);try{r&&!i&&s.begin&&s.begin();const o=t[1];i&&Qs(t,o,n),Ws(t,o,e,n)}finally{r&&!i&&s.end&&s.end()}}function Gs(t,e,n,s){const r=ue();try{Ut(),2&n&&t.length>19&&Ps(t,0,Kt()),e(n,s)}finally{he(r)}}function Xs(t,e,n){if(Rt(e)){const s=e.directiveEnd;for(let r=e.directiveStart;r<s;r++){const e=t.data[r];e.contentQueries&&e.contentQueries(1,n[r],r)}}}function Ys(t,e,n){Ht()&&(function(t,e,n,s){const r=n.directiveStart,i=n.directiveEnd;t.firstCreatePass||$e(n,e),ys(s,e);const o=n.initialInputs;for(let a=r;a<i;a++){const s=t.data[a],i=Lt(s);i&&pr(e,n,s);const c=Je(e,t,a,n);ys(c,e),null!==o&&mr(0,a-r,c,s,0,o),i&&(us(n.index,e)[8]=c)}}(t,e,n,os(n,e)),128==(128&n.flags)&&function(t,e,n){const s=n.directiveStart,r=n.directiveEnd,i=t.expandoInstructions,o=t.firstCreatePass,a=n.index-19;try{zt(a);for(let a=s;a<r;a++){const s=t.data[a],r=e[a];null!==s.hostBindings||0!==s.hostVars||null!==s.hostAttrs?cr(s,r,n):o&&i.push(null)}}finally{Ut()}}(t,e,n))}function Js(t,e,n=os){const s=e.localNames;if(null!==s){let r=e.index+1;for(let i=0;i<s.length;i+=2){const o=s[i+1],a=-1===o?n(e,t):t[o];t[r++]=a}}}function tr(t){return t.tView||(t.tView=er(1,-1,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts))}function er(t,e,n,s,r,i,o,a,c,l){const u=19+s,h=u+r,d=function(t,e){const n=[];for(let s=0;s<e;s++)n.push(s<t?null:Ds);return n}(u,h);return d[1]={type:t,id:e,blueprint:d,template:n,queries:null,viewQuery:a,node:null,data:d.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:h,expandoInstructions:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof i?i():i,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:c,consts:l}}function nr(t,e,n,s,r,i){return{type:n,index:s,injectorIndex:e?e.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,propertyBindings:null,flags:0,providerIndexes:0,tagName:r,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesMap:void 0,classes:null,classesMap:void 0,classBindings:0,styleBindings:0}}function sr(t,e,n){for(let s in t)if(t.hasOwnProperty(s)){const r=t[s];(n=null===n?{}:n).hasOwnProperty(s)?n[s].push(e,r):n[s]=[e,r]}return n}function rr(t,e,n,s,r,i,o){const a=is(e,t),c=cs(e,t);let l,u=c.inputs;if(!i&&null!=u&&(l=u[n]))Nr(t,l,n,s),Ft(c)&&function(t,e){const n=us(e,t);16&n[2]||(n[2]|=64)}(t,e+19);else if(3===c.type){n="class"===(h=n)?"className":"for"===h?"htmlFor":"formaction"===h?"formAction":"innerHtml"===h?"innerHTML":"readonly"===h?"readOnly":"tabindex"===h?"tabIndex":h;const e=o?o(c,t):t[11];s=null!=r?r(s,c.tagName||"",n):s,Ce(e)?e.setProperty(a,n,s):Ie(n)||(a.setProperty?a.setProperty(n,s):a[n]=s)}var h}function ir(t,e,n,s){let r=!1;if(Ht()){const i=function(t,e,n){const s=t.directiveRegistry;let r=null;if(s)for(let i=0;i<s.length;i++){const o=s[i];Ts(n,o.selectors,!1)&&(r||(r=[]),We($e(n,e),t,o.type),Lt(o)?(2&n.flags&&ws(n),ur(t,n),r.unshift(o)):r.push(o))}return r}(t,e,n),o=null===s?null:{"":-1};if(null!==i){let s=0;r=!0,dr(n,t.data.length,i.length);for(let t=0;t<i.length;t++){const e=i[t];e.providersResolver&&e.providersResolver(e)}lr(t,n,i.length);let a=!1,c=!1;for(let r=0;r<i.length;r++){const l=i[r];n.mergedAttrs=Te(n.mergedAttrs,l.hostAttrs),fr(t,e,l),hr(t.data.length-1,l,o),null!==l.contentQueries&&(n.flags|=8),null===l.hostBindings&&null===l.hostAttrs&&0===l.hostVars||(n.flags|=128),!a&&(l.onChanges||l.onInit||l.doCheck)&&((t.preOrderHooks||(t.preOrderHooks=[])).push(n.index-19),a=!0),c||!l.onChanges&&!l.doCheck||((t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(n.index-19),c=!0),or(t,l),s+=l.hostVars}!function(t,e){const n=e.directiveEnd,s=t.data,r=e.attrs,i=[];let o=null,a=null;for(let c=e.directiveStart;c<n;c++){const t=s[c],e=t.inputs;i.push(null!==r?br(e,r):null),o=sr(e,c,o),a=sr(t.outputs,c,a)}null!==o&&((o.hasOwnProperty("class")||o.hasOwnProperty("className"))&&(e.flags|=16),o.hasOwnProperty("style")&&(e.flags|=32)),e.initialInputs=i,e.inputs=o,e.outputs=a}(t,n),ar(t,e,s)}o&&function(t,e,n){if(e){const s=t.localNames=[];for(let t=0;t<e.length;t+=2){const r=n[e[t+1]];if(null==r)throw new Error(`Export of name '${e[t+1]}' not found!`);s.push(e[t],r)}}}(n,s,o)}return n.mergedAttrs=Te(n.mergedAttrs,n.attrs),r}function or(t,e){const n=t.expandoInstructions;n.push(e.hostBindings),0!==e.hostVars&&n.push(e.hostVars)}function ar(t,e,n){for(let s=0;s<n;s++)e.push(Ds),t.blueprint.push(Ds),t.data.push(null)}function cr(t,e,n){null!==t.hostBindings&&t.hostBindings(1,e,n.index-19)}function lr(t,e,n){const s=19-e.index,r=t.data.length-(65535&e.providerIndexes);(t.expandoInstructions||(t.expandoInstructions=[])).push(s,r,n)}function ur(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function hr(t,e,n){if(n){if(e.exportAs)for(let s=0;s<e.exportAs.length;s++)n[e.exportAs[s]]=t;Lt(e)&&(n[""]=t)}}function dr(t,e,n){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}function fr(t,e,n){t.data.push(n);const s=n.factory||(n.factory=jt(n.type)),r=new ve(s,Lt(n),null);t.blueprint.push(r),e.push(r)}function pr(t,e,n){const s=os(e,t),r=tr(n),i=t[10],o=wr(t,Zs(t,r,null,n.onPush?64:16,s,e,i,i.createRenderer(s,n)));t[e.index]=o}function mr(t,e,n,s,r,i){const o=i[e];if(null!==o){const t=s.setInput;for(let e=0;e<o.length;){const r=o[e++],i=o[e++],a=o[e++];null!==t?s.setInput(n,a,r,i):n[i]=a}}}function br(t,e){let n=null,s=0;for(;s<e.length;){const r=e[s];if(0!==r)if(5!==r){if("number"==typeof r)break;t.hasOwnProperty(r)&&(null===n&&(n=[]),n.push(r,t[r],e[s+1])),s+=2}else s+=2;else s+=4}return n}function gr(t,e,n,s){return new Array(t,!0,-2,e,null,null,s,n,null)}function yr(t,e){const n=t[5];for(let s=0;s<n.length;s++){const t=n[s],r=t[3][3][16];if(r!==e&&0==(16&r[2])){const e=t[1];Ws(t,e,e.template,t[8])}}}function _r(t,e){const n=us(e,t);if(ps(n)&&80&n[2]){const t=n[1];Ws(n,t,t.template,n[8])}}function vr(t,e){const n=us(e,t);!function(t){const e=t[1];for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(n),Qs(n,n[1],n[8])}function wr(t,e){return t[13]?t[14][4]=e:t[13]=e,t[14]=e,e}function Er(t){for(;t;){t[2]|=64;const e=Rs(t);if(Mt(t)&&!e)return t;t=e}return null}function Sr(t,e){const n=t[10];n.begin&&n.begin();try{const s=t[1];Ws(t,s,s.template,e)}catch(s){throw jr(t,s),s}finally{n.end&&n.end()}}function Cr(t){!function(t){for(let e=0;e<t.components.length;e++){const n=t.components[e],s=ds(n);Ks(s,s[1].template,n)}}(t[8])}function xr(t,e,n){se(0),e(t,n)}const Or=(()=>Promise.resolve(null))();function kr(t){return t[7]||(t[7]=[])}function Ir(t){return t[1].cleanup||(t[1].cleanup=[])}function Tr(t,e){return e[t.index][11]}function jr(t,e){const n=t[9],s=n?n.get(cn,null):null;s&&s.handleError(e)}function Nr(t,e,n,s){const r=t[1];for(let i=0;i<e.length;){const o=e[i++],a=e[i++],c=t[o],l=r.data[o];null!==l.setInput?l.setInput(c,s,n,a):c[a]=s}}function Ar(t,e,n){const s=is(e,t),r=t[11];Ce(r)?r.setValue(s,n):s.textContent=n}function Dr(t,e){const n=e[3];return-1===t.index?Dt(n)?n:null:n}function Rr(t,e){const n=Dr(t,e);return n?qr(e[11],n[7]):null}function Fr(t,e,n,s,r){if(null!=s){let i,o=!1;Dt(s)?i=s:At(s)&&(o=!0,s=s[0]);const a=rs(s);0===t&&null!==n?null==r?$r(e,n,a):Ur(e,n,a,r||null):1===t&&null!==n?Ur(e,n,a,r||null):2===t?function(t,e,n){const s=qr(t,e);s&&function(t,e,n,s){Ce(t)?t.removeChild(e,n,s):e.removeChild(n)}(t,s,e,n)}(e,a,o):3===t&&e.destroyNode(a),null!=i&&function(t,e,n,s,r){const i=n[7];i!==rs(n)&&Fr(e,t,s,i,r);for(let o=9;o<n.length;o++)Xr(t,e,n[o],s,i)}(e,t,i,n,r)}}function Pr(t,e,n){const s=Rr(t[1].node,t);s&&Xr(t[11],e?1:2,t,s,n)}function Lr(t,e){const n=t[5],s=n.indexOf(e);n.splice(s,1)}function Mr(t,e){if(t.length<=9)return;const n=9+e,s=t[n];if(s){const r=s[17];null!==r&&r!==t&&Lr(r,s),e>0&&(t[n-1][4]=s[4]);const i=lt(t,9+e);Pr(s,!1,null);const o=i[5];null!==o&&o.detachView(i[1]),s[3]=null,s[4]=null,s[2]&=-129}return s}function Vr(t){if(!(256&t[2])){const e=t[11];Ce(e)&&e.destroyNode&&Xr(e,3,t,null,null),function(t){let e=t[13];if(!e)return Br(t);for(;e;){let n=null;if(At(e))n=e[13];else{const t=e[9];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)Br(e),e=Hr(e,t);Br(e||t),n=e&&e[4]}e=n}}(t)}}function Hr(t,e){let n;return At(t)&&(n=t[6])&&2===n.type?Dr(n,t):t[3]===e?null:t[3]}function Br(t){if(At(t)&&!(256&t[2])){t[2]&=-129,t[2]|=256,function(t){const e=t[1];let n;if(null!=e&&null!=(n=e.destroyHooks))for(let s=0;s<n.length;s+=2){const e=t[n[s]];e instanceof ve||n[s+1].call(e)}}(t),function(t){const e=t[1].cleanup;if(null!==e){const n=t[7];for(let s=0;s<e.length-1;s+=2)if("string"==typeof e[s]){const r=e[s+1],i="function"==typeof r?r(t):rs(t[r]),o=n[e[s+2]],a=e[s+3];"boolean"==typeof a?i.removeEventListener(e[s],o,a):a>=0?n[a]():n[-a].unsubscribe(),s+=2}else e[s].call(n[e[s+1]]);t[7]=null}}(t);const e=t[6];e&&3===e.type&&Ce(t[11])&&t[11].destroy();const n=t[17];if(null!==n&&Dt(t[3])){n!==t[3]&&Lr(n,t);const e=t[5];null!==e&&e.detachView(t[1])}}}function zr(t,e){let n=t.parent;for(;null!=n&&(4===n.type||5===n.type);)n=(t=n).parent;if(null==n){const t=e[6];return 2===t.type?Rr(t,e):e[0]}if(t&&5===t.type&&4&t.flags)return os(t,e).parentNode;if(2&n.flags){const t=e[1].data,s=t[t[n.index].directiveStart].encapsulation;if(s!==mt.ShadowDom&&s!==mt.Native)return null}return os(n,e)}function Ur(t,e,n,s){Ce(t)?t.insertBefore(e,n,s):e.insertBefore(n,s,!0)}function $r(t,e,n){Ce(t)?t.appendChild(e,n):e.appendChild(n)}function Zr(t,e,n,s){null!==s?Ur(t,e,n,s):$r(t,e,n)}function qr(t,e){return Ce(t)?t.parentNode(e):e.parentNode}function Qr(t,e){if(2===t.type){const n=Dr(t,e);return null===n?null:Kr(n.indexOf(e,9)-9,n)}return 4===t.type||5===t.type?os(t,e):null}function Wr(t,e,n){const s=zr(e,n);if(null!=s){const r=n[11],i=Qr(e.parent||n[6],n);if(Array.isArray(t))for(let e=0;e<t.length;e++)Zr(r,s,t[e],i);else Zr(r,s,t,i)}}function Kr(t,e){const n=9+t+1;if(n<e.length){const t=e[n],s=t[1].firstChild;if(null!==s)return function t(e,n){if(null!==n){const s=n.type;if(3===s)return os(n,e);if(0===s)return Kr(-1,e[n.index]);if(4===s||5===s){const s=n.child;if(null!==s)return t(e,s);{const t=e[n.index];return Dt(t)?Kr(-1,t):rs(t)}}{const s=e[16],r=s[6],i=Rs(s),o=r.projection[n.projection];return null!=o?t(i,o):t(e,n.next)}}return null}(t,s)}return e[7]}function Gr(t,e,n,s,r,i,o){for(;null!=n;){const a=s[n.index],c=n.type;o&&0===e&&(a&&ys(rs(a),s),n.flags|=4),64!=(64&n.flags)&&(4===c||5===c?(Gr(t,e,n.child,s,r,i,!1),Fr(e,t,r,a,i)):1===c?Yr(t,e,s,n,r,i):Fr(e,t,r,a,i)),n=o?n.projectionNext:n.next}}function Xr(t,e,n,s,r){Gr(t,e,n[1].node.child,n,s,r,!1)}function Yr(t,e,n,s,r,i){const o=n[16],a=o[6].projection[s.projection];if(Array.isArray(a))for(let c=0;c<a.length;c++)Fr(e,t,r,a[c],i);else Gr(t,e,a,o[3],r,i,!0)}function Jr(t,e,n){Ce(t)?t.setAttribute(e,"style",n):e.style.cssText=n}function ti(t,e,n){Ce(t)?""===n?t.removeAttribute(e,"class"):t.setAttribute(e,"class",n):e.className=n}class ei{constructor(t,e){this._lView=t,this._cdRefInjectingView=e,this._appRef=null,this._viewContainerRef=null,this._tViewNode=null}get rootNodes(){return null==this._lView[0]?function t(e,n,s,r=!1){for(;null!==n;){const i=e[n.index];if(null!==i&&s.push(rs(i)),Dt(i))for(let e=9;e<i.length;e++){const n=i[e],r=n[1].firstChild;null!==r&&t(n,r,s)}const o=n.type;if(4===o||5===o)t(e,n.child,s);else if(1===o){const r=e[16],i=r[6],o=Rs(r);let a=i.projection[n.projection];null!==a&&null!==o&&t(o,a,s,!0)}n=r?n.projectionNext:n.next}return s}(this._lView,this._lView[6].child,[]):[]}get context(){return this._lView[8]}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){const t=this._viewContainerRef.indexOf(this);t>-1&&this._viewContainerRef.detach(t),this._viewContainerRef=null}Vr(this._lView)}onDestroy(t){var e,n;n=t,kr(e=this._lView).push(n),e[1].firstCreatePass&&Ir(e).push(e[7].length-1,null)}markForCheck(){Er(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Sr(this._lView,this.context)}checkNoChanges(){!function(t,e){Gt(!0);try{Sr(t,e)}finally{Gt(!1)}}(this._lView,this.context)}attachToViewContainerRef(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t}detachFromAppRef(){var t;this._appRef=null,Xr((t=this._lView)[11],2,t,null,null)}attachToAppRef(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class ni extends ei{constructor(t){super(t),this._view=t}detectChanges(){Cr(this._view)}checkNoChanges(){!function(t){Gt(!0);try{Cr(t)}finally{Gt(!1)}}(this._view)}get context(){return null}}let si,ri,ii;function oi(t,e,n){return si||(si=class extends t{}),new si(os(e,n))}function ai(t,e,n,s){return ri||(ri=class extends t{constructor(t,e,n){super(),this._declarationView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=Zs(this._declarationView,e,t,16,null,e.node);n[17]=this._declarationView[this._declarationTContainer.index];const s=this._declarationView[5];null!==s&&(n[5]=s.createEmbeddedView(e)),Qs(n,e,t);const r=new ei(n);return r._tViewNode=n[6],r}}),0===n.type?new ri(s,n,oi(e,n,s)):null}function ci(t,e,n,s){let r;ii||(ii=class extends t{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostView=n}get element(){return oi(e,this._hostTNode,this._hostView)}get injector(){return new nn(this._hostTNode,this._hostView)}get parentInjector(){const t=Qe(this._hostTNode,this._hostView),e=Re(t,this._hostView),n=function(t,e,n){if(n.parent&&-1!==n.parent.injectorIndex){const t=n.parent.injectorIndex;let e=n.parent;for(;null!=e.parent&&t==e.injectorIndex;)e=e.parent;return e}let s=De(t),r=e,i=e[6];for(;s>1;)r=r[15],i=r[6],s--;return i}(t,this._hostView,this._hostTNode);return Ne(t)&&null!=n?new nn(n,e):new nn(null,this._hostView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){return null!==this._lContainer[8]&&this._lContainer[8][t]||null}get length(){return this._lContainer.length-9}createEmbeddedView(t,e,n){const s=t.createEmbeddedView(e||{});return this.insert(s,n),s}createComponent(t,e,n,s,r){const i=n||this.parentInjector;if(!r&&null==t.ngModule&&i){const t=i.get(it,null);t&&(r=t)}const o=t.create(i,s,void 0,r);return this.insert(o.hostView,e),o}insert(t,e){const n=t._lView;if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),Dt(n[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],s=new ii(e,e[6],e[3]);s.detach(s.indexOf(t))}}const s=this._adjustIndex(e);return function(t,e,n){const s=9+n,r=e.length;n>0&&(e[s-1][4]=t),n<r-9?(t[4]=e[s],ct(e,9+n,t)):(e.push(t),t[4]=null),t[3]=e;const i=t[17];null!==i&&e!==i&&function(t,e){const n=t[5],s=e[3][3][16];16!=(16&s[2])&&e[16]!==s&&(t[2]|=1),null===n?t[5]=[e]:n.push(e)}(i,t);const o=t[5];null!==o&&o.insertView(t[1]),t[2]|=128}(n,this._lContainer,s),Pr(n,!0,Kr(s,this._lContainer)),t.attachToViewContainerRef(this),ct(this._lContainer[8],s,t),t}move(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");return this.insert(t,e)}indexOf(t){const e=this._lContainer[8];return null!==e?e.indexOf(t):-1}remove(t){this.allocateContainerIfNeeded();const e=this._adjustIndex(t,-1);(function(t,e){const n=Mr(t,e);n&&Vr(n)})(this._lContainer,e),lt(this._lContainer[8],e)}detach(t){this.allocateContainerIfNeeded();const e=this._adjustIndex(t,-1),n=Mr(this._lContainer,e);return n&&null!=lt(this._lContainer[8],e)?new ei(n):null}_adjustIndex(t,e=0){return null==t?this.length+e:t}allocateContainerIfNeeded(){null===this._lContainer[8]&&(this._lContainer[8]=[])}});const i=s[n.index];if(Dt(i))r=i,function(t,e){t[2]=-2}(r);else{let t;if(4===n.type)t=rs(i);else if(t=s[11].createComment(""),Mt(s)){const e=s[11],r=os(n,s);Ur(e,qr(e,r),t,function(t,e){return Ce(t)?t.nextSibling(e):e.nextSibling}(e,r))}else Wr(t,n,s);s[n.index]=r=gr(i,s,t,n),wr(s,r)}return new ii(r,n,s)}function li(t=!1){return function(t,e,n){if(!n&&Ft(t)){const n=us(t.index,e);return new ei(n,n)}return 3===t.type||0===t.type||4===t.type||5===t.type?new ei(e[16],e):null}(Zt(),Bt(),t)}let ui=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>hi(),t})();const hi=li,di=new $("Set Injector scope."),fi={},pi={},mi=[];let bi=void 0;function gi(){return void 0===bi&&(bi=new rt),bi}function yi(t,e=null,n=null,s){return e=e||gi(),new _i(t,n,e,s)}class _i{constructor(t,e,n,s=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const r=[];e&&at(e,n=>this.processProvider(n,t,e)),at([t],t=>this.processInjectorType(t,[],r)),this.records.set(Z,Ei(void 0,this));const i=this.records.get(di);this.scope=null!=i?i.value:null,this.injectorDefTypes.forEach(t=>this.get(t)),this.source=s||("object"==typeof t?null:O(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,e=q,n=f.Default){this.assertNotDestroyed();const s=X(this);try{if(!(n&f.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(r=t)||"object"==typeof r&&r instanceof $)&&y(t);e=n&&this.injectableDefInScope(n)?Ei(vi(t),fi):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&f.Self?gi():this.parent).get(t,e=n&f.Optional&&e===q?null:e)}catch(i){if("NullInjectorError"===i.name){if((i.ngTempTokenPath=i.ngTempTokenPath||[]).unshift(O(t)),s)throw i;return function(t,e,n,s){const r=t.ngTempTokenPath;throw e.__source&&r.unshift(e.__source),t.message=function(t,e,n,s=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let r=O(e);if(Array.isArray(e))r=e.map(O).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let s=e[n];t.push(n+":"+("string"==typeof s?JSON.stringify(s):O(s)))}r=`{${t.join(", ")}}`}return`${n}${s?"("+s+")":""}[${r}]: ${t.replace(Q,"\n ")}`}("\n"+t.message,r,n,s),t.ngTokenPath=r,t.ngTempTokenPath=null,t}(i,t,"R3InjectorError",this.source)}throw i}finally{X(s)}var r}toString(){const t=[];return this.records.forEach((e,n)=>t.push(O(n))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,n){if(!(t=j(t)))return!1;let s=v(t);const r=null==s&&t.ngModule||void 0,i=void 0===r?t:r,o=-1!==n.indexOf(i);if(void 0!==r&&(s=v(r)),null==s)return!1;if(this.injectorDefTypes.add(i),this.records.set(i,Ei(s.factory,fi)),null!=s.imports&&!o){let t;n.push(i);try{at(s.imports,s=>{this.processInjectorType(s,e,n)&&(void 0===t&&(t=[]),t.push(s))})}finally{}if(void 0!==t)for(let e=0;e<t.length;e++){const{ngModule:n,providers:s}=t[e];at(s,t=>this.processProvider(t,n,s||mi))}}const a=s.providers;if(null!=a&&!o){const e=t;at(a,t=>this.processProvider(t,e,a))}return void 0!==r&&void 0!==t.providers}processProvider(t,e,n){let s=Ci(t=j(t))?t:j(t&&t.provide);const r=function(t,e,n){return Si(t)?Ei(void 0,t.useValue):Ei(wi(t,e,n),fi)}(t,e,n);if(Ci(t)||!0!==t.multi){const t=this.records.get(s);t&&void 0!==t.multi&&Es()}else{let e=this.records.get(s);e?void 0===e.multi&&Es():(e=Ei(void 0,fi,!0),e.factory=()=>st(e.multi),this.records.set(s,e)),s=t,e.multi.push(t)}this.records.set(s,r)}hydrate(t,e){var n;return e.value===pi?function(t){throw new Error(`Cannot instantiate cyclic dependency! ${t}`)}(O(t)):e.value===fi&&(e.value=pi,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(n=e.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value}injectableDefInScope(t){return!!t.providedIn&&("string"==typeof t.providedIn?"any"===t.providedIn||t.providedIn===this.scope:this.injectorDefTypes.has(t.providedIn))}}function vi(t){const e=y(t),n=null!==e?e.factory:jt(t);if(null!==n)return n;const s=v(t);if(null!==s)return s.factory;if(t instanceof $)throw new Error(`Token ${O(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const n=ut(e,"?");throw new Error(`Can't resolve all parameters for ${O(t)}: (${n.join(", ")}).`)}const n=function(t){const e=t&&(t[w]||t[C]||t[S]&&t[S]());if(e){const n=function(t){if(t.hasOwnProperty("name"))return t.name;const e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\n`+`This will become an error in v10. Please add @Injectable() to the "${n}" class.`),e}return null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new Error("unreachable")}function wi(t,e,n){let s=void 0;if(Ci(t))return vi(j(t));if(Si(t))s=()=>j(t.useValue);else if((r=t)&&r.useFactory)s=()=>t.useFactory(...st(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))s=()=>tt(j(t.useExisting));else{const r=j(t&&(t.useClass||t.provide));if(r||function(t,e,n){let s="";throw t&&e&&(s=` - only instances of Provider and Type are allowed, got: [${e.map(t=>t==n?"?"+n+"?":"...").join(", ")}]`),new Error(`Invalid provider for the NgModule '${O(t)}'`+s)}(e,n,t),!function(t){return!!t.deps}(t))return vi(r);s=()=>new r(...st(t.deps))}var r;return s}function Ei(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function Si(t){return null!==t&&"object"==typeof t&&W in t}function Ci(t){return"function"==typeof t}const xi=function(t,e,n){return yi({name:n},e,t,n)};let Oi=(()=>{class t{static create(t,e){return Array.isArray(t)?xi(t,e,""):xi(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=q,t.NULL=new rt,t.\u0275prov=b({token:t,providedIn:"any",factory:()=>tt(Z)}),t.__NG_ELEMENT_ID__=-1,t})();const ki=new $("AnalyzeForEntryComponents");let Ii=new Map;const Ti=new Set;function ji(t){return"string"==typeof t?t:t.text()}function Ni(t,e){let n=t.styles,s=t.classes,r=0;for(let i=0;i<e.length;i++){const t=e[i];"number"==typeof t?r=t:1==r?s=k(s,t):2==r&&(n=k(n,t+": "+e[++i]+";"))}null!==n&&(t.styles=n),null!==s&&(t.classes=s)}let Ai=null;function Di(){if(!Ai){const t=P.Symbol;if(t&&t.iterator)Ai=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;e<t.length;++e){const n=t[e];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(Ai=n)}}}return Ai}function Ri(t,e){return t===e||"number"==typeof t&&"number"==typeof e&&isNaN(t)&&isNaN(e)}class Fi{constructor(t){this.wrapped=t}static wrap(t){return new Fi(t)}static unwrap(t){return Fi.isWrapped(t)?t.wrapped:t}static isWrapped(t){return t instanceof Fi}}function Pi(t){return!!Li(t)&&(Array.isArray(t)||!(t instanceof Map)&&Di()in t)}function Li(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function Mi(t,e,n){return t[e]=n}function Vi(t,e){return t[e]}function Hi(t,e,n){return!Object.is(t[e],n)&&(t[e]=n,!0)}function Bi(t,e,n,s){const r=Hi(t,e,n);return Hi(t,e+1,s)||r}function zi(t,e,n,s){const r=Bt();return Hi(r,Jt(),e)&&function(t,e,n,s,r,i){const o=is(t,s),a=s[11];if(null==n)Ce(a)?a.removeAttribute(o,e,i):o.removeAttribute(e);else{const c=cs(t,s),l=null==r?Fe(n):r(n,c.tagName||"",e);Ce(a)?a.setAttribute(o,e,l,i):i?o.setAttributeNS(i,e,l):o.setAttribute(e,l)}}(ue(),t,e,r,n,s),zi}function Ui(t,e,n,s){return Hi(t,Jt(),n)?e+Fe(n)+s:Ds}function $i(t,e,n,s,r,i,o,a){const c=Bt(),l=c[1],u=t+19,h=l.firstCreatePass?function(t,e,n,s,r,i,o,a,c){const l=e.consts,u=qs(e,n[6],t,0,o||null,ms(l,a));ir(e,n,u,ms(l,c)),pe(e,u);const h=u.tViews=er(2,-1,s,r,i,e.directiveRegistry,e.pipeRegistry,null,e.schemas,l),d=nr(0,null,2,-1,null,null);return d.injectorIndex=u.injectorIndex,h.node=d,null!==e.queries&&(e.queries.template(e,u),h.queries=e.queries.embeddedTView(u)),u}(t,l,c,e,n,s,r,i,o):l.data[u];qt(h,!1);const d=c[11].createComment("");Wr(d,h,c),ys(d,c),wr(c,c[u]=gr(d,c,d,h)),Pt(h)&&Ys(l,c,h),null!=o&&Js(c,h,a)}function Zi(t){return ls(Vt.lFrame.contextLView,t)}function qi(t,e=f.Default){const n=Bt();return null==n?tt(t,e):Ke(Zt(),n,j(t),e)}function Qi(t){return function(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;const n=t.attrs;if(n){const t=n.length;let s=0;for(;s<t;){const r=n[s];if(ke(r))break;if(0===r)s+=2;else if("number"==typeof r)for(s++;s<t&&"string"==typeof n[s];)s++;else{if(r===e)return n[s+1];s+=2}}}return null}(Zt(),t)}function Wi(){throw new Error("invalid")}function Ki(t,e,n){const s=Bt();return Hi(s,Jt(),e)&&rr(s,ue(),t,e,n),Ki}function Gi(t,e,n,s){const r=t.inputs,i=s?"class":"style";Nr(e,r[i]||s&&r.className,i,n)}function Xi(t,e,n,s){const r=Bt(),i=r[1],o=19+t,a=r[11],c=r[o]=$s(e,a,Vt.lFrame.currentNamespace),l=i.firstCreatePass?function(t,e,n,s,r,i,o){const a=e.consts,c=ms(a,i),l=qs(e,n[6],t,3,r,c);return ir(e,n,l,ms(a,o)),null!==l.mergedAttrs&&Ni(l,l.mergedAttrs),null!==e.queries&&e.queries.elementStart(e,l),l}(t,i,r,0,e,n,s):i.data[o];qt(l,!0);const u=l.mergedAttrs;null!==u&&Oe(a,c,u);const h=l.classes;null!==h&&ti(a,c,h);const d=l.styles;null!==d&&Jr(a,c,d),Wr(c,l,r),0===Vt.lFrame.elementDepthCount&&ys(c,r),Vt.lFrame.elementDepthCount++,Pt(l)&&(Ys(i,r,l),Xs(i,l,r)),null!==s&&Js(r,l)}function Yi(){let t=Zt();Qt()?Wt():(t=t.parent,qt(t,!1));const e=t,n=Bt(),s=n[1];Vt.lFrame.elementDepthCount--,s.firstCreatePass&&(pe(s,t),Rt(t)&&s.queries.elementEnd(t)),null!==e.classes&&function(t){return 0!=(16&t.flags)}(e)&&Gi(e,n,e.classes,!0),null!==e.styles&&function(t){return 0!=(32&t.flags)}(e)&&Gi(e,n,e.styles,!1)}function Ji(t,e,n,s){Xi(t,e,n,s),Yi()}function to(t,e,n){const s=Bt(),r=s[1],i=t+19,o=r.firstCreatePass?function(t,e,n,s,r){const i=e.consts,o=ms(i,s),a=qs(e,n[6],t,4,"ng-container",o);return null!==o&&Ni(a,o),ir(e,n,a,ms(i,r)),null!==e.queries&&e.queries.elementStart(e,a),a}(t,r,s,e,n):r.data[i];qt(o,!0);const a=s[i]=s[11].createComment("");Wr(a,o,s),ys(a,s),Pt(o)&&(Ys(r,s,o),Xs(r,o,s)),null!=n&&Js(s,o)}function eo(){let t=Zt();const e=Bt()[1];Qt()?Wt():(t=t.parent,qt(t,!1)),e.firstCreatePass&&(pe(e,t),Rt(t)&&e.queries.elementEnd(t))}function no(){return Bt()}function so(t){return!!t&&"function"==typeof t.then}function ro(t){return!!t&&"function"==typeof t.subscribe}function io(t,e,n=!1,s){const r=Bt(),i=Zt();return ao(r,r[11],i,t,e,n,s),io}function oo(t,e,n=!1,s){const r=Bt(),i=Zt();return ao(r,Tr(i,r),i,t,e,n,s),oo}function ao(t,e,n,s,r,i=!1,o){const a=t[1],c=Pt(n),l=a.firstCreatePass&&(a.cleanup||(a.cleanup=[])),u=kr(t);let h=!0;if(3===n.type){const a=os(n,t),d=o?o(a):gt,f=d.target||a,p=u.length,m=o?t=>o(rs(t[n.index])).target:n.index;if(Ce(e)){let i=null;if(!o&&c&&(i=function(t,e,n){const s=t[1].cleanup;if(null!=s)for(let r=0;r<s.length-1;r+=2){const i=s[r];if(i===e&&s[r+1]===n){const e=t[7],n=s[r+2];return e.length>n?e[n]:null}"string"==typeof i&&(r+=2)}return null}(t,s,n.index)),null!==i)(i.__ngLastListenerFn__||i).__ngNextListenerFn__=r,i.__ngLastListenerFn__=r,h=!1;else{r=lo(n,t,r,!1);const i=e.listen(d.name||f,s,r);u.push(r,i),l&&l.push(s,m,p,p+1)}}else r=lo(n,t,r,!0),f.addEventListener(s,r,i),u.push(r),l&&l.push(s,m,p,i)}const d=n.outputs;let f;if(h&&null!==d&&(f=d[s])){const e=f.length;if(e)for(let i=0;i<e;i+=2){const e=t[f[i]][f[i+1]].subscribe(r),o=u.length;u.push(r,e),l&&l.push(s,n.index,o,-(o+1))}}}function co(t,e,n){try{return!1!==e(n)}catch(s){return jr(t,s),!1}}function lo(t,e,n,s){return function r(i){if(i===Function)return n;const o=2&t.flags?us(t.index,e):e;0==(32&e[2])&&Er(o);let a=co(e,n,i),c=r.__ngNextListenerFn__;for(;c;)a=co(e,c,i)&&a,c=c.__ngNextListenerFn__;return s&&!1===a&&(i.preventDefault(),i.returnValue=!1),a}}function uo(t=1){return function(t){return(Vt.lFrame.contextLView=function(t,e){for(;t>0;)e=e[15],t--;return e}(t,Vt.lFrame.contextLView))[8]}(t)}function ho(t,e){let n=null;const s=function(t){const e=t.attrs;if(null!=e){const t=e.indexOf(5);if(0==(1&t))return e[t+1]}return null}(t);for(let r=0;r<e.length;r++){const i=e[r];if("*"!==i){if(null===s?Ts(t,i,!0):js(s,i))return r}else n=r}return n}function fo(t){const e=Bt()[16][6];if(!e.projection){const n=e.projection=ut(t?t.length:1,null),s=n.slice();let r=e.child;for(;null!==r;){const e=t?ho(r,t):0;null!==e&&(s[e]?s[e].projectionNext=r:n[e]=r,s[e]=r),r=r.next}}}function po(t,e=0,n){const s=Bt(),r=qs(s[1],s[6],t,1,null,n||null);null===r.projection&&(r.projection=e),Wt(),function(t,e){Yr(t[11],0,t,e,zr(e,t),Qr(e.parent||t[6],t))}(s,r)}function mo(t,e,n){return bo(t,"",e,"",n),mo}function bo(t,e,n,s,r){const i=Bt(),o=Ui(i,e,n,s);return o!==Ds&&rr(i,ue(),t,o,r),bo}const go=[],yo={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function _o(t){return t.substring(yo.key,yo.keyEnd)}function vo(t){return So(t),wo(t,Co(t,0,yo.textEnd))}function wo(t,e){const n=yo.textEnd;return n===e?-1:(e=yo.keyEnd=function(t,e,n){for(;e<n&&t.charCodeAt(e)>32;)e++;return e}(t,yo.key=e,n),Co(t,e,n))}function Eo(t,e){const n=yo.textEnd;let s=yo.key=Co(t,e,n);return n===s?-1:(s=yo.keyEnd=function(t,e,n){let s;for(;e<n&&(45===(s=t.charCodeAt(e))||95===s||(-33&s)>=65&&(-33&s)<=90);)e++;return e}(t,s,n),s=xo(t,s,n),s=yo.value=Co(t,s,n),s=yo.valueEnd=function(t,e,n){let s=-1,r=-1,i=-1,o=e,a=o;for(;o<n;){const c=t.charCodeAt(o++);if(59===c)return a;34===c||39===c?a=o=Oo(t,c,o,n):e===o-4&&85===i&&82===r&&76===s&&40===c?a=o=Oo(t,41,o,n):c>32&&(a=o),i=r,r=s,s=-33&c}return a}(t,s,n),xo(t,s,n))}function So(t){yo.key=0,yo.keyEnd=0,yo.value=0,yo.valueEnd=0,yo.textEnd=t.length}function Co(t,e,n){for(;e<n&&t.charCodeAt(e)<=32;)e++;return e}function xo(t,e,n,s){return(e=Co(t,e,n))<n&&e++,e}function Oo(t,e,n,s){let r=-1,i=n;for(;i<s;){const n=t.charCodeAt(i++);if(n==e&&92!==r)return i;r=92==n&&92===r?0:n}throw new Error}function ko(t,e,n,s,r,i){const o=t[n+1],a=null===e;let c=r?Ms(o):Hs(o),l=!1;for(;0!==c&&(!1===l||a);){const n=t[c],s=t[c+1];null!==n&&null!=e&&n!==e||(l=!0,t[c+1]=r?zs(s):Vs(s)),c=r?Ms(s):Hs(s)}if(""!==s&&!l)if(a)l=!0;else if(null!=s)for(let h=i?vo(s):(So(u=s),Eo(u,Co(u,0,yo.textEnd)));h>=0;h=i?wo(s,h):Eo(s,h))if(_o(s)===e){l=!0;break}var u;l&&(t[n+1]=r?Vs(o):zs(o))}function Io(t,e,n){return Ao(t,e,n,!1),Io}function To(t,e){return Ao(t,e,null,!0),To}function jo(t){Do(ht,No,t,!0)}function No(t,e){for(let n=vo(e);n>=0;n=wo(e,n))ht(t,_o(e),!0)}function Ao(t,e,n,s){const r=Bt(),i=r[1],o=te(2);if(i.firstUpdatePass&&Fo(i,t,o,s),e!==Ds&&Hi(r,o,e)){let a;null==n&&(a=function(){const t=Vt.lFrame;return null===t?null:t.currentSanitizer}())&&(n=a),Po(i,i.data[ue()+19],r,r[11],t,r[o+1]=function(t,e){return null==t||("function"==typeof e?t=e(t):"string"==typeof e?t+=e:"object"==typeof t&&(t=O(mn(t)))),t}(e,n),s,o)}}function Do(t,e,n,s){const r=Bt(),i=r[1],o=te(2);if(i.firstUpdatePass&&Fo(i,null,o,s),n!==Ds&&Hi(r,o,n)){const a=i.data[ue()+19];if(Vo(a,s)&&!Ro(i,o)){let t=s?a.classes:a.styles;"string"==typeof n&&(n=k(t,n)),Gi(a,r,n,s)}else!function(t,e,n,s,r,i,o,a){r===Ds&&(r=go);let c=0,l=0,u=0<r.length?r[0]:null,h=0<i.length?i[0]:null;for(;null!==u||null!==h;){const d=c<r.length?r[c+1]:void 0,f=l<i.length?i[l+1]:void 0;let p=null,m=void 0;u===h?(c+=2,l+=2,d!==f&&(p=h,m=f)):null===h||null!==u&&u<h?(c+=2,p=u):(l+=2,p=h,m=f),null!==p&&Po(t,e,n,s,p,m,o,a),u=c<r.length?r[c]:null,h=l<i.length?i[l]:null}}(i,a,r,r[11],r[o+1],r[o+1]=function(t,e,n){if(null==n||""===n)return go;const s=[];if(Array.isArray(n))for(let r=0;r<n.length;r++)t(s,n[r],!0);else if("object"==typeof n)if(n instanceof Map)n.forEach((e,n)=>t(s,n,e));else if(n instanceof Set)n.forEach(e=>t(s,e,!0));else for(const r in n)n.hasOwnProperty(r)&&t(s,r,n[r]);else"string"==typeof n&&e(s,n);return s}(t,e,n),s,o)}}function Ro(t,e){return e>=t.expandoStartIndex}function Fo(t,e,n,s){const r=t.data;if(null===r[n+1]){const i=r[ue()+19],o=Ro(t,n);Vo(i,s)&&null===e&&!o&&(e=!1),function(t,e,n,s,r,i){let o=i?e.classBindings:e.styleBindings,a=Ms(o),c=Hs(o);if(t[s]=n,r)if(0!==c){const e=Ms(t[a+1]);t[s+1]=Ls(e,a),0!==e&&(t[e+1]=Bs(t[e+1],s)),t[a+1]=262143&t[a+1]|s<<18}else t[s+1]=Ls(a,0),0!==a&&(t[a+1]=Bs(t[a+1],s)),a=s;else t[s+1]=Ls(c,0),0===a?a=s:t[c+1]=Bs(t[c+1],s),c=s;ko(t,n,s,(i?e.classes:e.styles)||"",!0,i),ko(t,n,s,"",!1,i),o=Ls(a,c),i?e.classBindings=o:e.styleBindings=o}(r,i,e,n,o,s)}}function Po(t,e,n,s,r,i,o,a){if(3!==e.type)return;const c=t.data,l=c[a+1];Mo(1==(1&l)?Lo(c,null,n,r,Hs(l),o):void 0)||(Mo(i)||function(t){return 2==(2&t)}(l)&&(i=Lo(c,e,n,r,Ms(l),o)),function(t,e,n,s,r){const i=Ce(t);if(e)r?i?t.addClass(n,s):n.classList.add(s):i?t.removeClass(n,s):n.classList.remove(s);else{const e=-1==s.indexOf("-")?void 0:2;null==r?i?t.removeStyle(n,s,e):n.style.removeProperty(s):i?t.setStyle(n,s,r,e):n.style.setProperty(s,r)}}(s,o,is(ue(),n),r,i))}function Lo(t,e,n,s,r,i){let o=void 0;for(;r>0;){const i=t[r],a=null===i?dt(n[r+1],s):i===s?n[r+1]:void 0;if(Mo(a)&&(o=a,null!==e))return o;const c=t[r+1];r=null!==e?Ms(c):Hs(c)}if(null!==e){let t=i?e.classesMap:e.stylesMap;void 0===t&&(function(t){let e=null,n=null;const s=t.mergedAttrs||go;let r=-1;for(let i=0;i<s.length;i++){let t=s[i];"number"==typeof t?r=t:1===r?(n=n||[],ht(n,t,!0)):2===r&&(e=e||[],ht(e,t,s[++i]))}t.classesMap=n,t.stylesMap=e}(e),t=i?e.classesMap:e.stylesMap),null!==t&&(o=dt(t,s))}return o}function Mo(t){return void 0!==t}function Vo(t,e){return 0!=(t.flags&(e?16:32))}function Ho(t,e=""){const n=Bt(),s=n[1],r=t+19,i=s.firstCreatePass?qs(s,n[6],t,3,null,null):s.data[r];Wr(n[r]=function(t,e){return Ce(e)?e.createText(t):e.createTextNode(t)}(e,n[11]),i,n),qt(i,!1)}function Bo(t){return zo("",t,""),Bo}function zo(t,e,n){const s=Bt(),r=Ui(s,t,e,n);return r!==Ds&&Ar(s,ue(),r),zo}function Uo(t,e,n,s,r){const i=Bt(),o=function(t,e,n,s,r,i){const o=Bi(t,Yt(),n,r);return te(2),o?e+Fe(n)+s+Fe(r)+i:Ds}(i,t,e,n,s,r);return o!==Ds&&Ar(i,ue(),o),Uo}function $o(t,e,n){Do(ht,No,Ui(Bt(),t,e,n),!0)}function Zo(t,e,n){const s=Bt();return Hi(s,Jt(),e)&&rr(s,ue(),t,e,n,!0),Zo}function qo(t,e,n){const s=Bt();return Hi(s,Jt(),e)&&rr(s,ue(),t,e,n,!0,Tr),qo}function Qo(t){if(!(t instanceof Node))throw new Error("Expecting instance of DOM Node");const e=Wo(t,!1);return null===e?null:(void 0===e.component&&(e.component=function(t,e){const n=e[1].data[t];return 2&n.flags?e[n.directiveStart]:null}(e.nodeIndex,e.lView)),e.component)}function Wo(t,e=!0){const n=function(t){let e=hs(t);if(e){if(Array.isArray(e)){const s=e;let r,i=void 0,o=void 0;if((n=t)&&n.constructor&&n.constructor.\u0275cmp){if(r=function(t,e){const n=t[1].components;if(n)for(let s=0;s<n.length;s++){const r=n[s];if(us(r,t)[8]===e)return r}else if(us(19,t)[8]===e)return 19;return-1}(s,t),-1==r)throw new Error("The provided component was not found in the application");i=t}else if(function(t){return t&&t.constructor&&t.constructor.\u0275dir}(t)){if(r=function(t,e){let n=t[1].firstChild;for(;n;){const s=n.directiveEnd;for(let r=n.directiveStart;r<s;r++)if(t[r]===e)return n.index;n=vs(n)}return-1}(s,t),-1==r)throw new Error("The provided directive was not found in the application");o=function(t,e,n){const s=e[1].data[t];let r=s.directiveStart;return 0==r?yt:(2&s.flags&&r++,e.slice(r,s.directiveEnd))}(r,s)}else if(r=_s(s,t),-1==r)return null;const a=rs(s[r]),c=hs(a),l=c&&!Array.isArray(c)?c:gs(s,r,a);if(i&&void 0===l.component&&(l.component=i,ys(l.component,l)),o&&void 0===l.directives){l.directives=o;for(let t=0;t<o.length;t++)ys(o[t],l)}ys(l.native,l),e=l}}else{const n=t;let s=n;for(;s=s.parentNode;){const t=hs(s);if(t){let s;if(s=Array.isArray(t)?t:t.lView,!s)return null;const r=_s(s,n);if(r>=0){const t=rs(s[r]),n=gs(s,r,t);ys(t,n),e=n;break}}}}var n;return e||null}(t);if(!n&&e)throw new Error("Invalid ng target");return n}function Ko(t){return"boolean"==typeof t.useCapture}function Go(t,e){return t.name==e.name?0:t.name<e.name?-1:1}function Xo(t,e){const n=ds(t)[1],s=n.data.length-1;pe(n,{directiveStart:s,directiveEnd:s+1})}function Yo(t){let e=Object.getPrototypeOf(t.type.prototype).constructor,n=!0;const s=[t];for(;e;){let r=void 0;if(Lt(t))r=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");r=e.\u0275dir}if(r){if(n){s.push(r);const e=t;e.inputs=Jo(t.inputs),e.declaredInputs=Jo(t.declaredInputs),e.outputs=Jo(t.outputs);const n=r.hostBindings;n&&na(t,n);const i=r.viewQuery,o=r.contentQueries;i&&ta(t,i),o&&ea(t,o),m(t.inputs,r.inputs),m(t.declaredInputs,r.declaredInputs),m(t.outputs,r.outputs),e.afterContentChecked=e.afterContentChecked||r.afterContentChecked,e.afterContentInit=t.afterContentInit||r.afterContentInit,e.afterViewChecked=t.afterViewChecked||r.afterViewChecked,e.afterViewInit=t.afterViewInit||r.afterViewInit,e.doCheck=t.doCheck||r.doCheck,e.onDestroy=t.onDestroy||r.onDestroy,e.onInit=t.onInit||r.onInit}const e=r.features;if(e)for(let s=0;s<e.length;s++){const r=e[s];r&&r.ngInherit&&r(t),r===Yo&&(n=!1)}}e=Object.getPrototypeOf(e)}!function(t){let e=0,n=null;for(let s=t.length-1;s>=0;s--){const r=t[s];r.hostVars=e+=r.hostVars,r.hostAttrs=Te(r.hostAttrs,n=Te(n,r.hostAttrs))}}(s)}function Jo(t){return t===gt?{}:t===yt?[]:t}function ta(t,e){const n=t.viewQuery;t.viewQuery=n?(t,s)=>{e(t,s),n(t,s)}:e}function ea(t,e){const n=t.contentQueries;t.contentQueries=n?(t,s,r)=>{e(t,s,r),n(t,s,r)}:e}function na(t,e){const n=t.hostBindings;t.hostBindings=n?(t,s,r)=>{e(t,s,r),n(t,s,r)}:e}class sa{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function ra(){return ia.ngInherit=!0,ia}function ia(t){t.type.prototype.ngOnChanges&&(t.setInput=oa,t.onChanges=function(){const t=aa(this),e=t&&t.current;if(e){const n=t.previous;if(n===gt)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}})}function oa(t,e,n,s){const r=aa(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:gt,current:null}),i=r.current||(r.current={}),o=r.previous,a=this.declaredInputs[n],c=o[a];i[a]=new sa(c&&c.currentValue,e,o===gt),t[s]=e}function aa(t){return t.__ngSimpleChanges__||null}function ca(t,e,n,s,r){if(t=j(t),Array.isArray(t))for(let i=0;i<t.length;i++)ca(t[i],e,n,s,r);else{const i=Bt(),o=i[1];let a=Ci(t)?t:j(t.provide),c=wi(t);const l=Zt(),u=65535&l.providerIndexes,h=l.directiveStart,d=l.providerIndexes>>16;if(t.useClass||Ci(t)){const n=(t.useClass||t).prototype.ngOnDestroy;n&&(o.destroyHooks||(o.destroyHooks=[])).push(e.length,n)}if(Ci(t)||!t.multi){const t=new ve(c,r,qi),s=ua(a,e,r?u:u+d,h);-1==s?(We($e(l,i),o,a),e.push(a),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=65536),n.push(t),i.push(t)):(n[s]=t,i[s]=t)}else{const t=ua(a,e,u+d,h),f=ua(a,e,u,u+d),p=t>=0&&n[t],m=f>=0&&n[f];if(r&&!m||!r&&!p){We($e(l,i),o,a);const t=function(t,e,n,s,r){const i=new ve(t,n,qi);return i.multi=[],i.index=e,i.componentProviders=0,la(i,r,s&&!n),i}(r?da:ha,n.length,r,s,c);!r&&m&&(n[f].providerFactory=t),e.push(a),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=65536),n.push(t),i.push(t)}else la(n[r?f:t],c,!r&&s);!r&&s&&m&&n[f].componentProviders++}}}function la(t,e,n){t.multi.push(e),n&&t.componentProviders++}function ua(t,e,n,s){for(let r=n;r<s;r++)if(e[r]===t)return r;return-1}function ha(t,e,n,s){return fa(this.multi,[])}function da(t,e,n,s){const r=this.multi;let i;if(this.providerFactory){const t=this.providerFactory.componentProviders,e=Je(n,n[1],this.providerFactory.index,s);i=e.slice(0,t),fa(r,i);for(let n=t;n<e.length;n++)i.push(e[n])}else i=[],fa(r,i);return i}function fa(t,e){for(let n=0;n<t.length;n++)e.push((0,t[n])());return e}function pa(t,e=[]){return n=>{n.providersResolver=(n,s)=>function(t,e,n){const s=Bt()[1];if(s.firstCreatePass){const r=Lt(t);ca(n,s.data,s.blueprint,r,!0),ca(e,s.data,s.blueprint,r,!1)}}(n,s?s(t):t,e)}}class ma{}class ba{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${O(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(t)}}let ga=(()=>{class t{}return t.NULL=new ba,t})(),ya=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=()=>_a(t),t})();const _a=function(t){return oi(t,Zt(),Bt())};class va{}const wa=function(){var t={Important:1,DashCase:2};return t[t.Important]="Important",t[t.DashCase]="DashCase",t}();let Ea=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Sa(),t})();const Sa=function(){const t=Bt(),e=us(Zt().index,t);return function(t){const e=t[11];if(Ce(e))return e;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(At(e)?e:t)};let Ca=(()=>{class t{}return t.\u0275prov=b({token:t,providedIn:"root",factory:()=>null}),t})();class xa{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Oa=new xa("9.0.0-rc.11");class ka{constructor(){}supports(t){return Pi(t)}create(t){return new Ta(t)}}const Ia=(t,e)=>e;class Ta{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||Ia}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,s=0,r=null;for(;e||n;){const i=!n||e&&e.currentIndex<Da(n,s,r)?e:n,o=Da(i,s,r),a=i.currentIndex;if(i===n)s--,n=n._nextRemoved;else if(e=e._next,null==i.previousIndex)s++;else{r||(r=[]);const t=o-s,e=a-s;if(t!=e){for(let n=0;n<t;n++){const s=n<r.length?r[n]:r[n]=0,i=s+n;e<=i&&i<t&&(r[n]=s+1)}r[i.previousIndex]=e-t}}o!==a&&t(i,o,a)}}forEachPreviousItem(t){let e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachMovedItem(t){let e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}forEachIdentityChange(t){let e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)}diff(t){if(null==t&&(t=[]),!Pi(t))throw new Error(`Error trying to diff '${O(t)}'. Only arrays and iterables are allowed`);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e,n,s,r=this._itHead,i=!1;if(Array.isArray(t)){this.length=t.length;for(let e=0;e<this.length;e++)n=t[e],s=this._trackByFn(e,n),null!==r&&Ri(r.trackById,s)?(i&&(r=this._verifyReinsertion(r,n,s,e)),Ri(r.item,n)||this._addIdentityChange(r,n)):(r=this._mismatch(r,n,s,e),i=!0),r=r._next}else e=0,function(t,e){if(Array.isArray(t))for(let n=0;n<t.length;n++)e(t[n]);else{const n=t[Di()]();let s;for(;!(s=n.next()).done;)e(s.value)}}(t,t=>{s=this._trackByFn(e,t),null!==r&&Ri(r.trackById,s)?(i&&(r=this._verifyReinsertion(r,t,s,e)),Ri(r.item,t)||this._addIdentityChange(r,t)):(r=this._mismatch(r,t,s,e),i=!0),r=r._next,e++}),this.length=e;return this._truncate(r),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t,e;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=e)t.previousIndex=t.currentIndex,e=t._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,s){let r;return null===t?r=this._itTail:(r=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,s))?(Ri(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,r,s)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Ri(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,r,s)):t=this._addAfter(new ja(e,n),r,s),t}_verifyReinsertion(t,e,n,s){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==r?t=this._reinsertAfter(r,t._prev,s):t.currentIndex!=s&&(t.currentIndex=s,this._addToMoves(t,s)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const s=t._prevRemoved,r=t._nextRemoved;return null===s?this._removalsHead=r:s._nextRemoved=r,null===r?this._removalsTail=s:r._prevRemoved=s,this._insertAfter(t,e,n),this._addToMoves(t,n),t}_moveAfter(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}_addAfter(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const s=null===e?this._itHead:e._next;return t._next=s,t._prev=e,null===s?this._itTail=t:s._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new Aa),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t}_addToMoves(t,e){return t.previousIndex===e?t:(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t,t)}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Aa),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class ja{constructor(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class Na{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&Ri(n.trackById,t))return n;return null}remove(t){const e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}class Aa{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new Na,this.map.set(e,n)),n.add(t)}get(t,e){const n=this.map.get(t);return n?n.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Da(t,e,n){const s=t.previousIndex;if(null===s)return s;let r=0;return n&&s<n.length&&(r=n[s]),s+e+r}class Ra{constructor(){}supports(t){return t instanceof Map||Li(t)}create(){return new Fa}}class Fa{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let e;for(e=this._mapHead;null!==e;e=e._next)t(e)}forEachPreviousItem(t){let e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)}forEachChangedItem(t){let e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)}diff(t){if(t){if(!(t instanceof Map||Li(t)))throw new Error(`Error trying to diff '${O(t)}'. Only maps and objects are allowed`)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(t,(t,n)=>{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const s=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,s)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const n=this._records.get(t);this._maybeAddToChanges(n,e);const s=n._prev,r=n._next;return s&&(s._next=r),r&&(r._prev=s),n._next=null,n._prev=null,n}const n=new Pa(t);return this._records.set(t,n),n.currentValue=e,this._addToAdditions(n),n}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Ri(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(n=>e(t[n],n))}}class Pa{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}let La=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(null!=n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>{if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return t.create(e,n)},deps:[[t,new d,new u]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(null!=e)return e;throw new Error(`Cannot find a differ supporting object '${t}' of type '${n=t,n.name||typeof n}'`);var n}}return t.\u0275prov=b({token:t,providedIn:"root",factory:()=>new t([new ka])}),t})(),Ma=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>{if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return t.create(e,n)},deps:[[t,new d,new u]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(e)return e;throw new Error(`Cannot find a differ supporting object '${t}'`)}}return t.\u0275prov=b({token:t,providedIn:"root",factory:()=>new t([new Ra])}),t})();const Va=[new Ra],Ha=new La([new ka]),Ba=new Ma(Va);let za=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Ua(t,ya),t})();const Ua=function(t,e){return ai(t,e,Zt(),Bt())};let $a=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Za(t,ya),t})();const Za=function(t,e){return ci(t,e,Zt(),Bt())},qa={};function Qa(t){const e=[];for(let n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}const Wa=new $("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Le});class Ka extends ma{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(As).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return Qa(this.componentDef.inputs)}get outputs(){return Qa(this.componentDef.outputs)}create(t,e,n,s){const r=(s=s||this.ngModule)?function(t,e){return{get:(n,s,r)=>{const i=t.get(n,qa,r);return i!==qa||s===qa?i:e.get(n,s,r)}}}(t,s.injector):t,i=r.get(va,xe),o=r.get(Ca,null),a=i.createRenderer(null,this.componentDef),c=n?function(t,e,n){if(Ce(t))return t.selectRootElement(e,n===mt.ShadowDom);let s="string"==typeof e?t.querySelector(e):e;return s.textContent="",s}(a,n,this.componentDef.encapsulation):$s(this.componentDef.selectors[0][0]||"div",i.createRenderer(null,this.componentDef),null),l=this.componentDef.onPush?576:528,u="string"==typeof n&&/^#root-ng-internal-isolated-\d+/.test(n),h={components:[],scheduler:Le,clean:Or,playerHandler:null,flags:0},d=er(0,-1,null,1,0,null,null,null,null,null),f=Zs(null,d,h,l,null,null,i,a,o,r),p=n&&c?Oa.full:null;let m,b;oe(f,null);try{const t=function(t,e,n,s,r,i,o){const a=n[1];n[19]=t;const c=qs(a,null,0,3,null,null),l=c.mergedAttrs=e.hostAttrs;null!==l&&(Ni(c,l),null!==t&&(Oe(r,t,l),null!==c.classes&&ti(r,t,c.classes),null!==c.styles&&Jr(r,t,c.styles)));const u=s.createRenderer(t,e);null!==t&&i&&(Ce(r)?r.setAttribute(t,"ng-version",i):t.setAttribute("ng-version",i));const h=Zs(n,tr(e),null,e.onPush?64:16,n[19],c,s,u,null);return a.firstCreatePass&&(We($e(c,n),a,e.type),ur(a,c),dr(c,n.length,1)),wr(n,h),n[19]=h}(c,this.componentDef,f,i,a,p);b=cs(0,f),e&&(b.projection=e.map(t=>Array.from(t))),m=function(t,e,n,s,r){const i=n[1],o=function(t,e,n){const s=Zt();t.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),lr(t,s,1),fr(t,e,n));const r=Je(e,t,e.length-1,s);ys(r,e);const i=os(s,e);return i&&ys(i,e),r}(i,n,e);s.components.push(o),t[8]=o,r&&r.forEach(t=>t(o,e)),e.contentQueries&&e.contentQueries(1,o,n.length-1);const a=Zt();if(i.firstCreatePass&&(null!==e.hostBindings||null!==e.hostAttrs)){zt(a.index-19);const t=n[1];or(t,e),ar(t,n,e.hostVars),cr(e,o,a)}return o}(t,this.componentDef,f,h,[Xo]),Qs(f,d,null)}finally{le()}const g=new Ga(this.componentType,m,oi(ya,b,f),f,b);return n&&!u||(g.hostView._tViewNode.child=b),g}}class Ga extends class{}{constructor(t,e,n,s,r){super(),this.location=n,this._rootLView=s,this._tNode=r,this.destroyCbs=[],this.instance=e,this.hostView=this.changeDetectorRef=new ni(s),this.hostView._tViewNode=function(t,e,n,s){let r=t.node;return null==r&&(t.node=r=nr(0,null,2,-1,null,null)),s[6]=r}(s[1],0,0,s),this.componentType=t}get injector(){return new nn(this._tNode,this._rootLView)}destroy(){this.destroyCbs&&(this.destroyCbs.forEach(t=>t()),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}onDestroy(t){this.destroyCbs&&this.destroyCbs.push(t)}}const Xa=void 0;var Ya=["en",[["a","p"],["AM","PM"],Xa],[["AM","PM"],Xa,Xa],[["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"]],Xa,[["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"]],Xa,[["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}",Xa,"{1} 'at' {0}",Xa],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},function(t){let e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];let Ja={};function tc(t,e,n){"string"!=typeof e&&(n=e,e=t[ic.LocaleId]),e=e.toLowerCase().replace(/_/g,"-"),Ja[e]=t,n&&(Ja[e][ic.ExtraData]=n)}function ec(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=rc(e);if(n)return n;const s=e.split("-")[0];if(n=rc(s),n)return n;if("en"===s)return Ya;throw new Error(`Missing locale data for the locale "${t}".`)}function nc(t){return ec(t)[ic.CurrencyCode]||null}function sc(t){return ec(t)[ic.PluralCase]}function rc(t){return t in Ja||(Ja[t]=P.ng&&P.ng.common&&P.ng.common.locales&&P.ng.common.locales[t]),Ja[t]}const ic=function(){var t={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,FirstDayOfWeek:8,WeekendRange:9,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,CurrencyCode:15,CurrencySymbol:16,CurrencyName:17,Currencies:18,PluralCase:19,ExtraData:20};return t[t.LocaleId]="LocaleId",t[t.DayPeriodsFormat]="DayPeriodsFormat",t[t.DayPeriodsStandalone]="DayPeriodsStandalone",t[t.DaysFormat]="DaysFormat",t[t.DaysStandalone]="DaysStandalone",t[t.MonthsFormat]="MonthsFormat",t[t.MonthsStandalone]="MonthsStandalone",t[t.Eras]="Eras",t[t.FirstDayOfWeek]="FirstDayOfWeek",t[t.WeekendRange]="WeekendRange",t[t.DateFormat]="DateFormat",t[t.TimeFormat]="TimeFormat",t[t.DateTimeFormat]="DateTimeFormat",t[t.NumberSymbols]="NumberSymbols",t[t.NumberFormats]="NumberFormats",t[t.CurrencyCode]="CurrencyCode",t[t.CurrencySymbol]="CurrencySymbol",t[t.CurrencyName]="CurrencyName",t[t.Currencies]="Currencies",t[t.PluralCase]="PluralCase",t[t.ExtraData]="ExtraData",t}();let oc="en-US";function ac(t){var e,n;n="Expected localeId to be defined",null==(e=t)&&function(t,e,n,s){throw new Error(`ASSERTION ERROR: ${t}`+` [Expected=> null != ${e} <=Actual]`)}(n,e),"string"==typeof t&&(oc=t.toLowerCase().replace(/_/g,"-"))}const cc=new Map,lc={provide:ga,useClass:class extends ga{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=Tt(t);return new Ka(e,this.ngModule)}},deps:[it]};class uc extends it{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[];const n=Nt(t),s=t[B]||null;s&&ac(s),this._bootstrapComponents=He(n.bootstrap),this._r3Injector=yi(t,e,[{provide:it,useValue:this},lc],O(t)),this.instance=this.get(t)}get(t,e=Oi.THROW_IF_NOT_FOUND,n=f.Default){return t===Oi||t===it||t===Z?this:this._r3Injector.get(t,e,n)}get componentFactoryResolver(){return this.get(ga)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class hc extends ot{constructor(t){super(),this.moduleType=t,null!==Nt(t)&&function t(e){if(null!==e.\u0275mod.id){const t=e.\u0275mod.id;(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${O(e)} vs ${O(e.name)}`)})(t,cc.get(t),e),cc.set(t,e)}let n=e.\u0275mod.imports;n instanceof Function&&(n=n()),n&&n.forEach(e=>t(e))}(t)}create(t){return new uc(this.moduleType,t)}}function dc(t,e,n,s){return pc(Bt(),Xt(),t,e,n,s)}function fc(t,e,n,s,r){return function(t,e,n,s,r,i,o){const a=e+n;return Bi(t,a,r,i)?Mi(t,a+2,o?s.call(o,r,i):s(r,i)):Vi(t,a+2)}(Bt(),Xt(),t,e,n,s,r)}function pc(t,e,n,s,r,i){const o=e+n;return Hi(t,o,r)?Mi(t,o+1,i?s.call(i,r):s(r)):Vi(t,o+1)}function mc(t,e){const n=Bt()[1];let s;const r=t+19;n.firstCreatePass?(s=function(t,e){if(e)for(let n=e.length-1;n>=0;n--){const s=e[n];if(t===s.name)return s}throw new Error(`The pipe '${t}' could not be found!`)}(e,n.pipeRegistry),n.data[r]=s,s.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(r,s.onDestroy)):s=n.data[r];const i=(s.factory||(s.factory=jt(s.type)))();return function(t,e){const n=Bt(),s=n[1],r=t+19;r>=s.data.length&&(s.data[r]=null,s.blueprint[r]=null),n[r]=e}(t,i),i}function bc(t,e,n){const s=Bt(),r=ls(s,t);return function(t,e){return Fi.isWrapped(e)&&(e=Fi.unwrap(e),t[Yt()]=Ds),e}(s,function(t,e){return t[1].data[e+19].pure}(s,t)?pc(s,Xt(),e,r.transform,n,r):r.transform(n))}class gc extends s.a{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){let s,i=t=>null,o=()=>null;t&&"object"==typeof t?(s=this.__isAsync?e=>{setTimeout(()=>t.next(e))}:e=>{t.next(e)},t.error&&(i=this.__isAsync?e=>{setTimeout(()=>t.error(e))}:e=>{t.error(e)}),t.complete&&(o=this.__isAsync?()=>{setTimeout(()=>t.complete())}:()=>{t.complete()})):(s=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)},e&&(i=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)}),n&&(o=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const a=super.subscribe(s,i,o);return t instanceof r.a&&t.add(a),a}}function yc(){return this._results[Di()]()}class _c{constructor(){this.dirty=!0,this._results=[],this.changes=new gc,this.length=0;const t=Di(),e=_c.prototype;e[t]||(e[t]=yc)}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t){this._results=function t(e,n){void 0===n&&(n=e);for(let s=0;s<e.length;s++){let r=e[s];Array.isArray(r)?(n===e&&(n=e.slice(0,s)),t(r,n)):n!==e&&n.push(r)}return n}(t),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]}notifyOnChanges(){this.changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}class vc{constructor(t){this.queryList=t,this.matches=null}clone(){return new vc(this.queryList)}setDirty(){this.queryList.setDirty()}}class wc{constructor(t=[]){this.queries=t}createEmbeddedView(t){const e=t.queries;if(null!==e){const n=null!==t.contentQueries?t.contentQueries[0]:e.length,s=[];for(let t=0;t<n;t++){const n=e.getByIndex(t);s.push(this.queries[n.indexInDeclarationView].clone())}return new wc(s)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let e=0;e<this.queries.length;e++)null!==Mc(t,e).matches&&this.queries[e].setDirty()}}class Ec{constructor(t,e,n,s=null){this.predicate=t,this.descendants=e,this.isStatic=n,this.read=s}}class Sc{constructor(t=[]){this.queries=t}elementStart(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(t,e)}elementEnd(t){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(t)}embeddedTView(t){let e=null;for(let n=0;n<this.length;n++){const s=null!==e?e.length:0,r=this.getByIndex(n).embeddedTView(t,s);r&&(r.indexInDeclarationView=n,null!==e?e.push(r):e=[r])}return null!==e?new Sc(e):null}template(t,e){for(let n=0;n<this.queries.length;n++)this.queries[n].template(t,e)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Cc{constructor(t,e=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}elementStart(t,e){this.isApplyingToNode(e)&&this.matchTNode(t,e)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,e){this.elementStart(t,e)}embeddedTView(t,e){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,e),new Cc(this.metadata)):null}isApplyingToNode(t){return this._appliesToNextNode&&!1===this.metadata.descendants?this._declarationNodeIndex===(t.parent?t.parent.index:-1):this._appliesToNextNode}matchTNode(t,e){if(Array.isArray(this.metadata.predicate)){const n=this.metadata.predicate;for(let s=0;s<n.length;s++)this.matchTNodeWithReadOption(t,e,xc(e,n[s]))}else{const n=this.metadata.predicate;n===za?0===e.type&&this.matchTNodeWithReadOption(t,e,-1):this.matchTNodeWithReadOption(t,e,Ye(e,t,n,!1,!1))}}matchTNodeWithReadOption(t,e,n){if(null!==n){const s=this.metadata.read;if(null!==s)if(s===ya||s===$a||s===za&&0===e.type)this.addMatch(e.index,-2);else{const n=Ye(e,t,s,!1,!1);null!==n&&this.addMatch(e.index,n)}else this.addMatch(e.index,n)}}addMatch(t,e){null===this.matches?this.matches=[t,e]:this.matches.push(t,e)}}function xc(t,e){const n=t.localNames;if(null!==n)for(let s=0;s<n.length;s+=2)if(n[s]===e)return n[s+1];return null}function Oc(t,e,n,s){return-1===n?function(t,e){return 3===t.type||4===t.type?oi(ya,t,e):0===t.type?ai(za,ya,t,e):null}(e,t):-2===n?function(t,e,n){return n===ya?oi(ya,e,t):n===za?ai(za,ya,e,t):n===$a?ci($a,ya,e,t):void 0}(t,e,s):Je(t,t[1],n,e)}function kc(t,e,n){const s=t[5].queries[n];if(null===s.matches){const n=t[1].data,r=e.matches,i=[];for(let s=0;s<r.length;s+=2){const o=r[s];i.push(o<0?null:Oc(t,n[o],r[s+1],e.metadata.read))}s.matches=i}return s.matches}function Ic(t){const e=Bt(),n=ne();se(n+1);const s=Mc(e[1],n);if(t.dirty&&fs(e)===s.metadata.isStatic){if(null===s.matches)t.reset([]);else{const r=s.crossesNgTemplate?function t(e,n,s){const r=e[1].queries.getByIndex(n),i=r.matches;if(null!==i){const o=kc(e,r,n);for(let n=0;n<i.length;n+=2){const r=i[n];if(r>0)s.push(o[n/2]);else{const o=i[n+1],a=e[-r];for(let e=9;e<a.length;e++){const n=a[e];n[17]===n[3]&&t(n,o,s)}if(null!==a[5]){const e=a[5];for(let n=0;n<e.length;n++)t(e[n],o,s)}}}}return s}(e,n,[]):kc(e,s,n);t.reset(r),t.notifyOnChanges()}return!0}return!1}function Tc(t,e,n){Nc(Bt(),t,e,n,!0)}function jc(t,e,n){Nc(Bt(),t,e,n,!1)}function Nc(t,e,n,s,r){const i=t[1];i.firstCreatePass&&(Lc(i,new Ec(e,n,r,s),-1),r&&(i.staticViewQueries=!0)),Pc(t)}function Ac(t,e,n,s){Rc(Bt(),e,n,s,!1,Zt(),t)}function Dc(t,e,n,s){Rc(Bt(),e,n,s,!0,Zt(),t)}function Rc(t,e,n,s,r,i,o){const a=t[1];a.firstCreatePass&&(Lc(a,new Ec(e,n,r,s),i.index),function(t,e){const n=t.contentQueries||(t.contentQueries=[]);e!==(t.contentQueries.length?n[n.length-1]:-1)&&n.push(t.queries.length-1,e)}(a,o),r&&(a.staticContentQueries=!0)),Pc(t)}function Fc(){return t=Bt(),e=ne(),t[5].queries[e].queryList;var t,e}function Pc(t){const e=new _c;!function(t,e,n){const s=kr(t);s.push(e),t[1].firstCreatePass&&Ir(t).push(n,s.length-1)}(t,e,e.destroy),null===t[5]&&(t[5]=new wc),t[5].queries.push(new vc(e))}function Lc(t,e,n){null===t.queries&&(t.queries=new Sc),t.queries.track(new Cc(e,n))}function Mc(t,e){return t.queries.getByIndex(e)}function Vc(t,e){return ai(za,ya,t,e)}function Hc(t=f.Default){const e=li(!0);if(null!=e||t&f.Optional)return e;throw new Error("No provider for ChangeDetectorRef!")}const Bc=new $("Application Initializer");let zc=(()=>{class t{constructor(t){this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}runInitializers(){if(this.initialized)return;const t=[],e=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n<this.appInits.length;n++){const e=this.appInits[n]();so(e)&&t.push(e)}Promise.all(t).then(()=>{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(tt(Bc,8))},t.\u0275prov=b({token:t,factory:t.\u0275fac}),t})();const Uc=new $("AppId"),$c={provide:Uc,useFactory:function(){return`${Zc()}${Zc()}${Zc()}`},deps:[]};function Zc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const qc=new $("Platform Initializer"),Qc=new $("Platform ID"),Wc=new $("appBootstrapListener");let Kc=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=b({token:t,factory:t.\u0275fac}),t})();const Gc=new $("LocaleId"),Xc=new $("DefaultCurrencyCode");class Yc{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const Jc=function(t){return new hc(t)},tl=Jc,el=function(t){return Promise.resolve(Jc(t))},nl=function(t){const e=Jc(t),n=He(Nt(t).declarations).reduce((t,e)=>{const n=Tt(e);return n&&t.push(new Ka(n)),t},[]);return new Yc(e,n)},sl=nl,rl=function(t){return Promise.resolve(nl(t))};let il=(()=>{class t{constructor(){this.compileModuleSync=tl,this.compileModuleAsync=el,this.compileModuleAndAllComponentsSync=sl,this.compileModuleAndAllComponentsAsync=rl}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=b({token:t,factory:t.\u0275fac}),t})();const ol=new $("compilerOptions"),al=(()=>Promise.resolve(0))();function cl(t){"undefined"==typeof Zone?al.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class ll{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new gc(!1),this.onMicrotaskEmpty=new gc(!1),this.onStable=new gc(!1),this.onError=new gc(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=e,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){let t=P.requestAnimationFrame,e=P.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const s=e[Zone.__symbol__("OriginalDelegate")];s&&(e=s)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=!!t.shouldCoalesceEventChangeDetection&&t.nativeRequestAnimationFrame&&(()=>{!function(t){-1===t.lastRequestAnimationFrameId&&(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(P,()=>{t.lastRequestAnimationFrameId=-1,fl(t),dl(t)}),fl(t))}(t)});t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:e},onInvokeTask:(n,s,r,i,o,a)=>{try{return pl(t),n.invokeTask(r,i,o,a)}finally{e&&"eventTask"===i.type&&e(),ml(t)}},onInvoke:(e,n,s,r,i,o,a)=>{try{return pl(t),e.invoke(s,r,i,o,a)}finally{ml(t)}},onHasTask:(e,n,s,r)=>{e.hasTask(s,r),n===s&&("microTask"==r.change?(t._hasPendingMicrotasks=r.microTask,fl(t),dl(t)):"macroTask"==r.change&&(t.hasPendingMacrotasks=r.macroTask))},onHandleError:(e,n,s,r)=>(e.handleError(s,r),t.runOutsideAngular(()=>t.onError.emit(r)),!1)})}(this)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ll.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(ll.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,s){const r=this._inner,i=r.scheduleEventTask("NgZoneEvent: "+s,t,hl,ul,ul);try{return r.runTask(i,e,n)}finally{r.cancelTask(i)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}function ul(){}const hl={};function dl(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function fl(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||t.shouldCoalesceEventChangeDetection&&-1!==t.lastRequestAnimationFrameId)}function pl(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function ml(t){t._nesting--,dl(t)}class bl{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new gc,this.onMicrotaskEmpty=new gc,this.onStable=new gc,this.onError=new gc}run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,s){return t.apply(e,n)}}let gl=(()=>{class t{constructor(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{ll.assertNotInAngularZone(),cl(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())cl(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,e,n){let s=-1;e&&e>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==s),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:s,updateCb:n})}whenStable(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,n){return[]}}return t.\u0275fac=function(e){return new(e||t)(tt(ll))},t.\u0275prov=b({token:t,factory:t.\u0275fac}),t})(),yl=(()=>{class t{constructor(){this._applications=new Map,El.addToWindow(this)}registerApplication(t,e){this._applications.set(t,e)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,e=!0){return El.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=b({token:t,factory:t.\u0275fac}),t})();class _l{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}function vl(t){El=t}let wl,El=new _l,Sl=function(t,e,n){const s=new hc(n);if(0===Ii.size)return Promise.resolve(s);const r=function(t){const e=[];return t.forEach(t=>t&&e.push(...t)),e}(t.get(ol,[]).concat(e).map(t=>t.providers));if(0===r.length)return Promise.resolve(s);const i=function(){const t=P.ng;if(!t||!t.\u0275compilerFacade)throw new Error("Angular JIT compilation failed: '@angular/compiler' not loaded!\n - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\n - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\n - Alternatively provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.");return t.\u0275compilerFacade}(),o=Oi.create({providers:r}).get(i.ResourceLoader);return function(t){const e=[],n=new Map;function s(t){let e=n.get(t);if(!e){const s=(t=>Promise.resolve(o.get(t)))(t);n.set(t,e=s.then(ji))}return e}return Ii.forEach((t,n)=>{const r=[];t.templateUrl&&r.push(s(t.templateUrl).then(e=>{t.template=e}));const i=t.styleUrls,o=t.styles||(t.styles=[]),a=t.styles.length;i&&i.forEach((e,n)=>{o.push(""),r.push(s(e).then(s=>{o[a+n]=s,i.splice(i.indexOf(e),1),0==i.length&&(t.styleUrls=void 0)}))});const c=Promise.all(r).then(()=>function(t){Ti.delete(t)}(n));e.push(c)}),Ii=new Map,Promise.all(e).then(()=>{})}().then(()=>s)};const Cl=new $("AllowMultipleToken");class xl{constructor(t,e){this.name=t,this.token=e}}function Ol(t,e,n=[]){const s=`Platform: ${e}`,r=new $(s);return(e=[])=>{let i=kl();if(!i||i.injector.get(Cl,!1))if(t)t(n.concat(e).concat({provide:r,useValue:!0}));else{const t=n.concat(e).concat({provide:r,useValue:!0},{provide:di,useValue:"platform"});!function(t){if(wl&&!wl.destroyed&&!wl.injector.get(Cl,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");wl=t.get(Il);const e=t.get(qc,null);e&&e.forEach(t=>t())}(Oi.create({providers:t,name:s}))}return function(t){const e=kl();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(r)}}function kl(){return wl&&!wl.destroyed?wl:null}let Il=(()=>{class t{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const n=function(t,e){let n;return n="noop"===t?new bl:("zone.js"===t?void 0:t)||new ll({enableLongStackTrace:xn(),shouldCoalesceEventChangeDetection:e}),n}(e?e.ngZone:void 0,e&&e.ngZoneEventCoalescing||!1),s=[{provide:ll,useValue:n}];return n.run(()=>{const e=Oi.create({providers:s,parent:this.injector,name:t.moduleType.name}),r=t.create(e),i=r.injector.get(cn,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return r.onDestroy(()=>Nl(this._modules,r)),n.runOutsideAngular(()=>n.onError.subscribe({next:t=>{i.handleError(t)}})),function(t,e,n){try{const s=n();return so(s)?s.catch(n=>{throw e.runOutsideAngular(()=>t.handleError(n)),n}):s}catch(s){throw e.runOutsideAngular(()=>t.handleError(s)),s}}(i,n,()=>{const t=r.injector.get(zc);return t.runInitializers(),t.donePromise.then(()=>(ac(r.injector.get(Gc,"en-US")||"en-US"),this._moduleDoBootstrap(r),r))})})}bootstrapModule(t,e=[]){const n=Tl({},e);return Sl(this.injector,n,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(jl);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${O(t.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. `+"Please define one of these.");t.instance.ngDoBootstrap(e)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)(tt(Oi))},t.\u0275prov=b({token:t,factory:t.\u0275fac}),t})();function Tl(t,e){return Array.isArray(e)?e.reduce(Tl,t):Object.assign(Object.assign({},t),e)}let jl=(()=>{class t{constructor(t,e,n,s,r,c){this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=s,this._componentFactoryResolver=r,this._initStatus=c,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=xn(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const l=new i.a(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),u=new i.a(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{ll.assertNotInAngularZone(),cl(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{ll.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=Object(o.a)(l,u.pipe(Object(a.a)()))}bootstrap(t,e){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.");let n;n=t instanceof ma?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const s=n.isBoundToModule?void 0:this._injector.get(it),r=n.create(Oi.NULL,[],e||n.selector,s);r.onDestroy(()=>{this._unloadComponent(r)});const i=r.injector.get(gl,null);return i&&r.injector.get(yl).registerApplication(r.location.nativeElement,i),this._loadComponent(r),xn()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),r}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges();if(this._enforceNoNewChanges)for(let t of this._views)t.checkNoChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;Nl(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Wc,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}_unloadComponent(t){this.detachView(t.hostView),Nl(this.components,t)}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy())}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)(tt(ll),tt(Kc),tt(Oi),tt(cn),tt(ga),tt(zc))},t.\u0275prov=b({token:t,factory:t.\u0275fac}),t})();function Nl(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class Al{}class Dl{}const Rl={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let Fl=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||Rl}load(t){return this.loadAndCompile(t)}loadAndCompile(t){let[e,s]=t.split("#");return void 0===s&&(s="default"),n("zn8P")(e).then(t=>t[s]).then(t=>Pl(t,e,s)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,s]=t.split("#"),r="NgFactory";return void 0===s&&(s="default",r=""),n("zn8P")(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[s+r]).then(t=>Pl(t,e,s))}}return t.\u0275fac=function(e){return new(e||t)(tt(il),tt(Dl,8))},t.\u0275prov=b({token:t,factory:t.\u0275fac}),t})();function Pl(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}class Ll{constructor(t){this.nativeNode=t}get parent(){const t=this.nativeNode.parentNode;return t?new Ml(t):null}get injector(){return function(t){const e=Wo(t,!1);return null===e?Oi.NULL:new nn(e.lView[1].data[e.nodeIndex],e.lView)}(this.nativeNode)}get componentInstance(){const t=this.nativeNode;return t&&(Qo(t)||function(t){const e=Wo(t,!1);if(null===e)return null;let n,s=e.lView;for(;null===s[0]&&(n=Rs(s));)s=n;return 512&s[2]?null:s[8]}(t))}get context(){return Qo(this.nativeNode)||function(t){if(!(t instanceof Node))throw new Error("Expecting instance of DOM Node");const e=Wo(t,!1);return null===e?null:e.lView[8]}(this.nativeNode)}get listeners(){return function(t){if(!(t instanceof Node))throw new Error("Expecting instance of DOM Node");const e=Wo(t,!1);if(null===e)return[];const n=e.lView,s=n[7],r=n[1].cleanup,i=[];if(r&&s)for(let o=0;o<r.length;){const e=r[o++],a=r[o++];if("string"==typeof e){const c=e,l=rs(n[a]),u=s[r[o++]],h=r[o++],d="boolean"==typeof h?h:!(h>=0)&&null;t==l&&i.push({element:t,name:c,callback:u,useCapture:d})}}return i.sort(Go),i}(this.nativeNode).filter(Ko)}get references(){return function(t){const e=Wo(t,!1);return null===e?{}:(void 0===e.localRefs&&(e.localRefs=function(t,e){const n=t[1].data[e];if(n&&n.localNames){const e={};let s=n.index+1;for(let r=0;r<n.localNames.length;r+=2)e[n.localNames[r]]=t[s],s++;return e}return null}(e.lView,e.nodeIndex)),e.localRefs||{})}(this.nativeNode)}get providerTokens(){return function(t){const e=Wo(t,!1);if(null===e)return[];const n=e.lView[1],s=n.data[e.nodeIndex],r=[],i=s.directiveEnd;for(let a=65535&s.providerIndexes;a<i;a++){let t=n.data[a];void 0!==(o=t).type&&void 0!==o.template&&void 0!==o.declaredInputs&&(t=t.type),r.push(t)}var o;return r}(this.nativeNode)}}class Ml extends Ll{constructor(t){super(t)}get nativeElement(){return this.nativeNode.nodeType==Node.ELEMENT_NODE?this.nativeNode:null}get name(){try{const t=Wo(this.nativeNode);return t.lView[1].data[t.nodeIndex].tagName}catch(t){return this.nativeNode.nodeName}}get properties(){const t=Wo(this.nativeNode,!1);if(null==t)return{};const e=t.lView,n=e[1].data,s=n[t.nodeIndex],r={};return function(t,e){if(t){let n=Object.getPrototypeOf(t);const s=Node.prototype;for(;null!==n&&n!==s;){const s=Object.getOwnPropertyDescriptors(n);for(let n in s)if(!n.startsWith("__")&&!n.startsWith("on")){const s=t[n];Vl(s)&&(e[n]=s)}n=Object.getPrototypeOf(n)}}}(this.nativeElement,r),function(t,e,n,s){let r=e.propertyBindings;if(null!==r)for(let i=0;i<r.length;i++){const e=r[i],o=s[e].split("\ufffd"),a=o[0];if(o.length>1){let s=o[1];for(let t=1;t<o.length-1;t++)s+=Fe(n[e+t-1])+o[t+1];t[a]=s}else t[a]=n[e]}}(r,s,e,n),r}get attributes(){const t={},e=this.nativeElement;if(!e)return t;const n=Wo(e,!1);if(null==n)return{};const s=n.lView[1].data[n.nodeIndex].attrs,r=[];if(s){let e=0;for(;e<s.length;){const n=s[e];if("string"!=typeof n)break;t[n]=s[e+1],r.push(n.toLowerCase()),e+=2}}const i=e.attributes;for(let o=0;o<i.length;o++){const e=i[o],n=e.name.toLowerCase();-1===r.indexOf(n)&&(t[n]=e.value)}return t}get styles(){return this.nativeElement&&this.nativeElement.style?this.nativeElement.style:{}}get classes(){const t={},e=this.nativeElement.className;return(e&&"string"!=typeof e?e.baseVal.split(" "):e.split(" ")).forEach(e=>t[e]=!0),t}get childNodes(){const t=this.nativeNode.childNodes,e=[];for(let n=0;n<t.length;n++)e.push(Zl(t[n]));return e}get children(){const t=this.nativeElement;if(!t)return[];const e=t.children,n=[];for(let s=0;s<e.length;s++)n.push(Zl(e[s]));return n}query(t){return this.queryAll(t)[0]||null}queryAll(t){const e=[];return Hl(this,t,e,!0),e}queryAllNodes(t){const e=[];return Hl(this,t,e,!1),e}triggerEventHandler(t,e){const n=this.nativeNode,s=[];this.listeners.forEach(r=>{if(r.name===t){const t=r.callback;t.call(n,e),s.push(t)}}),"function"==typeof n.eventListeners&&n.eventListeners(t).forEach(t=>{if(-1!==t.toString().indexOf("__ngUnwrap__")){const r=t("__ngUnwrap__");return-1===s.indexOf(r)&&r.call(n,e)}})}}function Vl(t){return"string"==typeof t||"boolean"==typeof t||"number"==typeof t||null===t}function Hl(t,e,n,s){const r=Wo(t.nativeNode,!1);null!==r?Bl(r.lView[1].data[r.nodeIndex],r.lView,e,n,s,t.nativeNode):$l(t.nativeNode,e,n,s)}function Bl(t,e,n,s,r,i){const o=as(t,e);if(3===t.type||4===t.type){if(Ul(o,n,s,r,i),Ft(t)){const o=us(t.index,e);o&&o[1].firstChild&&Bl(o[1].firstChild,o,n,s,r,i)}else t.child&&Bl(t.child,e,n,s,r,i),o&&$l(o,n,s,r);const a=e[t.index];Dt(a)&&zl(a,n,s,r,i)}else if(0===t.type){const o=e[t.index];Ul(o[7],n,s,r,i),zl(o,n,s,r,i)}else if(1===t.type){const o=e[16],a=o[6].projection[t.projection];if(Array.isArray(a))for(let t of a)Ul(t,n,s,r,i);else if(a){const t=o[3];Bl(t[1].data[a.index],t,n,s,r,i)}}else t.child&&Bl(t.child,e,n,s,r,i);if(i!==o){const o=4&t.flags?t.projectionNext:t.next;o&&Bl(o,e,n,s,r,i)}}function zl(t,e,n,s,r){for(let i=9;i<t.length;i++){const o=t[i];Bl(o[1].node,o,e,n,s,r)}}function Ul(t,e,n,s,r){if(r!==t){const r=ql(t);if(!r)return;s&&r instanceof Ml&&e(r)&&-1===n.indexOf(r)?n.push(r):!s&&e(r)&&-1===n.indexOf(r)&&n.push(r)}}function $l(t,e,n,s){const r=t.childNodes,i=r.length;for(let o=0;o<i;o++){const t=r[o],i=ql(t);i&&(s&&i instanceof Ml&&e(i)&&-1===n.indexOf(i)?n.push(i):!s&&e(i)&&-1===n.indexOf(i)&&n.push(i),$l(t,e,n,s))}}function Zl(t){return t instanceof Node?(t.hasOwnProperty("__ng_debug__")||(t.__ng_debug__=t.nodeType==Node.ELEMENT_NODE?new Ml(t):new Ll(t)),t.__ng_debug__):null}const ql=Zl,Ql=Ol(null,"core",[{provide:Qc,useValue:"unknown"},{provide:Il,deps:[Oi]},{provide:yl,deps:[]},{provide:Kc,deps:[]}]),Wl=[{provide:jl,useClass:jl,deps:[ll,Kc,Oi,cn,ga,zc]},{provide:Wa,deps:[ll],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:zc,useClass:zc,deps:[[new u,Bc]]},{provide:il,useClass:il,deps:[]},$c,{provide:La,useFactory:function(){return Ha},deps:[]},{provide:Ma,useFactory:function(){return Ba},deps:[]},{provide:Gc,useFactory:function(t){return ac(t=t||"undefined"!=typeof $localize&&$localize.locale||"en-US"),t},deps:[[new l(Gc),new u,new d]]},{provide:Xc,useValue:"USD"}];let Kl=(()=>{class t{constructor(t){}}return t.\u0275mod=Ct({type:t}),t.\u0275inj=g({factory:function(e){return new(e||t)(tt(jl))},providers:Wl}),t})()},gRHU:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var s=n("2fFW"),r=n("NJ4a");const i={closed:!0,next(t){},error(t){if(s.a.useDeprecatedSynchronousErrorHandling)throw t;Object(r.a)(t)},complete(){}}},hqch:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var s=n("HDdC");class r{constructor(t,e){this.worker=t,this.zone=e,this.nextId=0}static create(t,e){return new r(t,e)}sendMessage(t,e){return new s.a(n=>{const s=this.nextId++,r=e=>{const{type:r,id:i,payload:o}=e.data;t===r&&s===i&&this.zone.run(()=>{n.next(o),n.complete()})},i=t=>{this.zone.run(()=>n.error(t))};return this.worker.addEventListener("message",r),this.worker.addEventListener("error",i),this.worker.postMessage({type:t,id:s,payload:e}),()=>{this.worker.removeEventListener("message",r),this.worker.removeEventListener("error",i)}})}}},"iL+y":function(t,e,n){"use strict";var s=n("XNiG"),r=n("5yfJ"),i=n("GyhO"),o=n("HDdC"),a=n("D0XW"),c=n("Y7HM");function l(t){const{subscriber:e,counter:n,period:s}=t;e.next(n),this.schedule({subscriber:e,counter:n+1,period:s},s)}var u=n("1G5W"),h=n("SxV6"),d=n("vkgz"),f=n("lJxs"),p=n("fXoL"),m=n("vHPH"),b=n("Jho9");n.d(e,"a",(function(){return g}));let g=(()=>{class t{constructor(t,e,n){if(this.logger=e,this.swu=n,this.checkInterval=216e5,this.onDestroy=new s.a,!n.isEnabled)return void(this.updateActivated=r.a.pipe(Object(u.a)(this.onDestroy)));const p=t.isStable.pipe(Object(h.a)(t=>t));Object(i.a)(p,function(t=0,e=a.a){return(!Object(c.a)(t)||t<0)&&(t=0),e&&"function"==typeof e.schedule||(e=a.a),new o.a(n=>(n.add(e.schedule(l,t,{subscriber:n,counter:0,period:t})),n))}(this.checkInterval)).pipe(Object(d.a)(()=>this.log("Checking for update...")),Object(u.a)(this.onDestroy)).subscribe(()=>this.swu.checkForUpdate()),this.swu.available.pipe(Object(d.a)(t=>this.log(`Update available: ${JSON.stringify(t)}`)),Object(u.a)(this.onDestroy)).subscribe(()=>this.swu.activateUpdate()),this.updateActivated=this.swu.activated.pipe(Object(d.a)(t=>this.log(`Update activated: ${JSON.stringify(t)}`)),Object(f.a)(t=>t.current.hash),Object(u.a)(this.onDestroy))}ngOnDestroy(){this.onDestroy.next()}log(t){const e=(new Date).toISOString();this.logger.log(`[SwUpdates - ${e}]: ${t}`)}}return t.\u0275fac=function(e){return new(e||t)(p.Zb(p.g),p.Zb(m.a),p.Zb(b.b))},t.\u0275prov=p.Mb({token:t,factory:t.\u0275fac}),t})()},itXk:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var s=n("z+Ro"),r=n("DH7j"),i=n("l7GE"),o=n("ZUHj"),a=n("yCtX");const c={};function l(...t){let e=null,n=null;return Object(s.a)(t[t.length-1])&&(n=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&Object(r.a)(t[0])&&(t=t[0]),Object(a.a)(t,n).lift(new u(e))}class u{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new h(t,this.resultSelector))}}class h extends i.a{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(c),this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let n=0;n<e;n++){const e=t[n];this.add(Object(o.a)(this,e,e,n))}}}notifyComplete(t){0==(this.active-=1)&&this.destination.complete()}notifyNext(t,e,n,s,r){const i=this.values,o=this.toRespond?i[n]===c?--this.toRespond:this.toRespond:0;i[n]=e,0===o&&(this.resultSelector?this._tryResultSelector(i):this.destination.next(i.slice()))}_tryResultSelector(t){let e;try{e=this.resultSelector.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}},jZKg:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var s=n("HDdC"),r=n("quSY");function i(t,e){return new s.a(n=>{const s=new r.a;let i=0;return s.add(e.schedule((function(){i!==t.length?(n.next(t[i++]),n.closed||s.add(this.schedule())):n.complete()}))),s})}},jhN1:function(t,e,n){"use strict";n.d(e,"a",(function(){return M})),n.d(e,"b",(function(){return A})),n.d(e,"c",(function(){return O})),n.d(e,"d",(function(){return H})),n.d(e,"e",(function(){return P})),n.d(e,"f",(function(){return w}));var s=n("ofXK"),r=n("fXoL");class i extends s.r{constructor(){super()}supportsDOMEvents(){return!0}}class o extends i{static makeCurrent(){Object(s.x)(new o)}getProperty(t,e){return t[e]}log(t){window.console&&window.console.log&&window.console.log(t)}logGroup(t){window.console&&window.console.group&&window.console.group(t)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){return t.parentNode&&t.parentNode.removeChild(t),t}getValue(t){return t.value}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(t){const e=c||(c=document.querySelector("base"),c)?c.getAttribute("href"):null;return null==e?null:(n=e,a||(a=document.createElement("a")),a.setAttribute("href",n),"/"===a.pathname.charAt(0)?a.pathname:"/"+a.pathname);var n}resetBaseElement(){c=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(t){return Object(s.w)(document.cookie,t)}}let a,c=null;const l=new r.q("TRANSITION_ID"),u=[{provide:r.d,useFactory:function(t,e,n){return()=>{n.get(r.e).donePromise.then(()=>{const n=Object(s.v)();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>n.remove(t))})}},deps:[l,s.d,r.r],multi:!0}];class h{static init(){Object(r.Z)(new h)}addToWindow(t){r.qb.getAngularTestability=(e,n=!0)=>{const s=t.findTestabilityInTree(e,n);if(null==s)throw new Error("Could not find testability for element.");return s},r.qb.getAllAngularTestabilities=()=>t.getAllTestabilities(),r.qb.getAllAngularRootElements=()=>t.getAllRootElements(),r.qb.frameworkStabilizers||(r.qb.frameworkStabilizers=[]),r.qb.frameworkStabilizers.push(t=>{const e=r.qb.getAllAngularTestabilities();let n=e.length,s=!1;const i=function(e){s=s||e,n--,0==n&&t(s)};e.forEach((function(t){t.whenStable(i)}))})}findTestabilityInTree(t,e,n){if(null==e)return null;const r=t.getTestability(e);return null!=r?r:n?Object(s.v)().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}const d=new r.q("EventManagerPlugins");let f=(()=>{class t{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach(t=>t.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}addGlobalEventListener(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const n=this._plugins;for(let s=0;s<n.length;s++){const e=n[s];if(e.supports(t))return this._eventNameToPlugin.set(t,e),e}throw new Error(`No event manager plugin found for event ${t}`)}}return t.\u0275fac=function(e){return new(e||t)(r.Zb(d),r.Zb(r.z))},t.\u0275prov=r.Mb({token:t,factory:t.\u0275fac}),t})();class p{constructor(t){this._doc=t}addGlobalEventListener(t,e,n){const r=Object(s.v)().getGlobalEventTarget(this._doc,t);if(!r)throw new Error(`Unsupported event target ${r} for event ${e}`);return this.addEventListener(r,e,n)}}let m=(()=>{class t{constructor(){this._stylesSet=new Set}addStyles(t){const e=new Set;t.forEach(t=>{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))}),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Mb({token:t,factory:t.\u0275fac}),t})(),b=(()=>{class t extends m{constructor(t){super(),this._doc=t,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(t.head)}_addStylesToHost(t,e){t.forEach(t=>{const n=this._doc.createElement("style");n.textContent=t,this._styleNodes.add(e.appendChild(n))})}addHost(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)}removeHost(t){this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach(e=>this._addStylesToHost(t,e))}ngOnDestroy(){this._styleNodes.forEach(t=>Object(s.v)().remove(t))}}return t.\u0275fac=function(e){return new(e||t)(r.Zb(s.d))},t.\u0275prov=r.Mb({token:t,factory:t.\u0275fac}),t})();const g={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},y=/%COMP%/g;function _(t,e,n){for(let s=0;s<e.length;s++){let r=e[s];Array.isArray(r)?_(t,r,n):(r=r.replace(y,t),n.push(r))}return n}function v(t){return e=>{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let w=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new E(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case r.Q.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new S(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case r.Q.Native:case r.Q.ShadowDom:return new C(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=_(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)(r.Zb(f),r.Zb(b),r.Zb(r.c))},t.\u0275prov=r.Mb({token:t,factory:t.\u0275fac}),t})();class E{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(g[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,n){t&&t.insertBefore(e,n)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error(`The selector "${t}" did not match any elements`);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,s){if(s){e=s+":"+e;const r=g[s];r?t.setAttributeNS(r,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const s=g[n];s?t.removeAttributeNS(s,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,s){s&r.G.DashCase?t.style.setProperty(e,n,s&r.G.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&r.G.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,v(n)):this.eventManager.addEventListener(t,e,v(n))}}class S extends E{constructor(t,e,n,s){super(t),this.component=n;const r=_(s+"-"+n.id,n.styles,[]);e.addStyles(r),this.contentAttr="_ngcontent-%COMP%".replace(y,s+"-"+n.id),this.hostAttr=function(t){return"_nghost-%COMP%".replace(y,t)}(s+"-"+n.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}class C extends E{constructor(t,e,n,s){super(t),this.sharedStylesHost=e,this.hostEl=n,this.component=s,this.shadowRoot=s.encapsulation===r.Q.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const i=_(s.id,s.styles,[]);for(let r=0;r<i.length;r++){const t=document.createElement("style");t.textContent=i[r],this.shadowRoot.appendChild(t)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,n){return super.insertBefore(this.nodeOrShadowRoot(t),e,n)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}}let x=(()=>{class t extends p{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,n){return t.addEventListener(e,n,!1),()=>this.removeEventListener(t,e,n)}removeEventListener(t,e,n){return t.removeEventListener(e,n)}}return t.\u0275fac=function(e){return new(e||t)(r.Zb(s.d))},t.\u0275prov=r.Mb({token:t,factory:t.\u0275fac}),t})(),O=(()=>{class t{constructor(){this.events=[],this.overrides={}}buildHammer(t){const e=new Hammer(t,this.options);e.get("pinch").set({enable:!0}),e.get("rotate").set({enable:!0});for(const n in this.overrides)e.get(n).set(this.overrides[n]);return e}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Mb({token:t,factory:t.\u0275fac}),t})();const k=["alt","control","meta","shift"],I={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},T={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},j={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let N=(()=>{class t extends p{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,r){const i=t.parseEventName(n),o=t.eventCallback(i.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Object(s.v)().onAndCancel(e,i.domEventName,o))}static parseEventName(e){const n=e.toLowerCase().split("."),s=n.shift();if(0===n.length||"keydown"!==s&&"keyup"!==s)return null;const r=t._normalizeKey(n.pop());let i="";if(k.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),i+=t+".")}),i+=r,0!=n.length||0===r.length)return null;const o={};return o.domEventName=s,o.fullKey=i,o}static getEventFullKey(t){let e="",n=function(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&T.hasOwnProperty(e)&&(e=T[e]))}return I[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),k.forEach(s=>{s!=n&&(0,j[s])(t)&&(e+=s+".")}),e+=n,e}static eventCallback(e,n,s){return r=>{t.getEventFullKey(r)===e&&s.runGuarded(()=>n(r))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)(r.Zb(s.d))},t.\u0275prov=r.Mb({token:t,factory:t.\u0275fac}),t})(),A=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(r.Mb)({factory:function(){return Object(r.Zb)(R)},token:t,providedIn:"root"}),t})();function D(t){return new R(t.get(s.d))}let R=(()=>{class t extends A{constructor(t){super(),this._doc=t}sanitize(t,e){if(null==e)return null;switch(t){case r.I.NONE:return e;case r.I.HTML:return Object(r.gb)(e,"HTML")?Object(r.yb)(e):Object(r.db)(this._doc,String(e));case r.I.STYLE:return Object(r.gb)(e,"Style")?Object(r.yb)(e):Object(r.eb)(e);case r.I.SCRIPT:if(Object(r.gb)(e,"Script"))return Object(r.yb)(e);throw new Error("unsafe value used in a script context");case r.I.URL:return Object(r.pb)(e),Object(r.gb)(e,"URL")?Object(r.yb)(e):Object(r.fb)(String(e));case r.I.RESOURCE_URL:if(Object(r.gb)(e,"ResourceURL"))return Object(r.yb)(e);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${t} (see http://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(t){return Object(r.hb)(t)}bypassSecurityTrustStyle(t){return Object(r.kb)(t)}bypassSecurityTrustScript(t){return Object(r.jb)(t)}bypassSecurityTrustUrl(t){return Object(r.lb)(t)}bypassSecurityTrustResourceUrl(t){return Object(r.ib)(t)}}return t.\u0275fac=function(e){return new(e||t)(r.Zb(s.d))},t.\u0275prov=Object(r.Mb)({factory:function(){return D(Object(r.Zb)(r.o))},token:t,providedIn:"root"}),t})();const F=[{provide:r.B,useValue:s.u},{provide:r.C,useValue:function(){o.makeCurrent(),h.init()},multi:!0},{provide:s.d,useFactory:function(){return Object(r.wb)(document),document},deps:[]}],P=Object(r.S)(r.Y,"browser",F),L=[[],{provide:r.bb,useValue:"root"},{provide:r.m,useFactory:function(){return new r.m},deps:[]},{provide:d,useClass:x,multi:!0,deps:[s.d,r.z,r.B]},{provide:d,useClass:N,multi:!0,deps:[s.d]},[],{provide:w,useClass:w,deps:[f,b,r.c]},{provide:r.F,useExisting:w},{provide:m,useExisting:b},{provide:b,useClass:b,deps:[s.d]},{provide:r.N,useClass:r.N,deps:[r.z]},{provide:f,useClass:f,deps:[d,r.z]},[]];let M=(()=>{class t{constructor(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(e){return{ngModule:t,providers:[{provide:r.c,useValue:e.appId},{provide:l,useExisting:r.c},u]}}}return t.\u0275mod=r.Ob({type:t}),t.\u0275inj=r.Nb({factory:function(e){return new(e||t)(r.Zb(t,12))},providers:L,imports:[s.c,r.f]}),t})();function V(){return new H(Object(r.Zb)(s.d))}let H=(()=>{class t{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}}return t.\u0275fac=function(e){return new(e||t)(r.Zb(s.d))},t.\u0275prov=Object(r.Mb)({factory:V,token:t,providedIn:"root"}),t})();"undefined"!=typeof window&&window},jn67:function(t,e,n){"use strict";n.d(e,"e",(function(){return d})),n.d(e,"d",(function(){return f})),n.d(e,"a",(function(){return p})),n.d(e,"b",(function(){return m})),n.d(e,"c",(function(){return b}));var s=n("NHP+"),r=n("LRne"),i=n("eIep"),o=n("vkgz"),a=n("JIr8"),c=n("fXoL"),l=n("vHPH"),u=n("tk/3"),h=n("/lUL");const d="file-not-found",f="fetching-error",p="generated/",m=p+"docs/";let b=(()=>{class t{constructor(t,e,n){this.logger=t,this.http=e,this.cache=new Map,this.currentDocument=n.currentPath.pipe(Object(i.a)(t=>this.getDocument(t)))}getDocument(t){const e=t||"index";return this.logger.log("getting document",e),this.cache.has(e)||this.cache.set(e,this.fetchDocument(e)),this.cache.get(e)}fetchDocument(t){const e=`${m}${t}.json`,n=new s.a;return this.logger.log("fetching document from",e),this.http.get(e,{responseType:"json"}).pipe(Object(o.a)(t=>{if(!t||"object"!=typeof t)throw this.logger.log("received invalid data:",t),Error("Invalid data")}),Object(a.a)(e=>404===e.status?this.getFileNotFoundDoc(t):this.getErrorDoc(t,e))).subscribe(n),n.asObservable()}getFileNotFoundDoc(t){return t!==d?(this.logger.error(new Error(`Document file not found at '${t}'`)),this.getDocument(d)):Object(r.a)({id:d,contents:"\u6587\u6863\u672a\u627e\u5230"})}getErrorDoc(t,e){return this.logger.error(new Error(`Error fetching document '${t}': (${e.message})`)),this.cache.delete(t),Object(r.a)({id:f,contents:(n=t,`\n <div class="nf-container l-flex-wrap flex-center">\n <div class="nf-icon material-icons">error_outline</div>\n <div class="nf-response l-flex-wrap">\n <h1 class="no-toc">\u8bf7\u6c42\u6587\u6863\u5931\u8d25</h1>\n <p>\n \u62b1\u6b49\uff0c\u8fd9\u6b21\u6211\u4eec\u6ca1\u80fd\u53d6\u5230 "${n}" \u9875\u3002\u8bf7\u68c0\u67e5\u4f60\u7684\u7f51\u7edc\u8fde\u63a5\uff0c\u7a0d\u540e\u518d\u8bd5\u3002\n </p>\n </div>\n </div>\n`)});var n}}return t.\u0275fac=function(e){return new(e||t)(c.Zb(l.a),c.Zb(u.a),c.Zb(h.a))},t.\u0275prov=c.Mb({token:t,factory:t.\u0275fac}),t})()},jtHE:function(t,e,n){"use strict";var s=n("XNiG"),r=n("3N8a");class i extends r.a{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}schedule(t,e=0){return e>0?super.schedule(t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}execute(t,e){return e>0||this.closed?super.execute(t,e):this._execute(t,e)}requestAsyncId(t,e,n=0){return null!==n&&n>0||null===n&&this.delay>0?super.requestAsyncId(t,e,n):t.flush(this)}}var o=n("IjjT");class a extends o.a{}const c=new a(i);var l=n("quSY"),u=n("pxpQ"),h=n("9ppp"),d=n("Ylt2");n.d(e,"a",(function(){return f}));class f extends s.a{constructor(t=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,n){super(),this.scheduler=n,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=t<1?1:t,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(t){const e=this._events;e.push(t),e.length>this._bufferSize&&e.shift(),super.next(t)}nextTimeWindow(t){this._events.push(new p(this._getNow(),t)),this._trimBufferThenGetEvents(),super.next(t)}_subscribe(t){const e=this._infiniteTimeWindow,n=e?this._events:this._trimBufferThenGetEvents(),s=this.scheduler,r=n.length;let i;if(this.closed)throw new h.a;if(this.isStopped||this.hasError?i=l.a.EMPTY:(this.observers.push(t),i=new d.a(this,t)),s&&t.add(t=new u.a(t,s)),e)for(let o=0;o<r&&!t.closed;o++)t.next(n[o]);else for(let o=0;o<r&&!t.closed;o++)t.next(n[o].value);return this.hasError?t.error(this.thrownError):this.isStopped&&t.complete(),i}_getNow(){return(this.scheduler||c).now()}_trimBufferThenGetEvents(){const t=this._getNow(),e=this._bufferSize,n=this._windowTime,s=this._events,r=s.length;let i=0;for(;i<r&&!(t-s[i].time<n);)i++;return r>e&&(i=Math.max(i,r-e)),i>0&&s.splice(0,i),s}}class p{constructor(t,e){this.time=t,this.value=e}}},kJWO:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));const s=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")()},l7GE:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var s=n("7o/Q");class r extends s.a{notifyNext(t,e,n,s,r){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}},lJxs:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var s=n("7o/Q");function r(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new i(t,e))}}class i{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new o(t,this.project,this.thisArg))}}class o extends s.a{constructor(t,e,n){super(t),this.project=e,this.count=0,this.thisArg=n||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}},mCNh:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i}));var s=n("KqfI");function r(...t){return i(t)}function i(t){return t?1===t.length?t[0]:function(e){return t.reduce((t,e)=>e(t),e)}:s.a}},n6bG:function(t,e,n){"use strict";function s(t){return"function"==typeof t}n.d(e,"a",(function(){return s}))},nLfN:function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return c})),n.d(e,"c",(function(){return u})),n.d(e,"d",(function(){return f})),n.d(e,"e",(function(){return l})),n.d(e,"f",(function(){return d}));var s=n("fXoL"),r=n("ofXK");let i;try{i="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(p){i=!1}let o,a=(()=>{class t{constructor(t){this._platformId=t,this.isBrowser=this._platformId?Object(r.q)(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&&!i)&&"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 t.\u0275fac=function(e){return new(e||t)(s.Zb(s.B,8))},t.\u0275prov=Object(s.Mb)({factory:function(){return new t(Object(s.Zb)(s.B,8))},token:t,providedIn:"root"}),t})(),c=(()=>{class t{}return t.\u0275mod=s.Ob({type:t}),t.\u0275inj=s.Nb({factory:function(e){return new(e||t)}}),t})();function l(t){return function(){if(null==o&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>o=!0}))}finally{o=o||!1}return o}()?t:!!t.capture}const u=function(){var t={NORMAL:0,NEGATED:1,INVERTED:2};return t[t.NORMAL]="NORMAL",t[t.NEGATED]="NEGATED",t[t.INVERTED]="INVERTED",t}();let h;function d(){return!!("object"==typeof document&&"scrollBehavior"in document.documentElement.style)}function f(){if("object"!=typeof document||!document)return u.NORMAL;if(!h){const t=document.createElement("div"),e=t.style;t.dir="rtl",e.height="1px",e.width="1px",e.overflow="auto",e.visibility="hidden",e.pointerEvents="none",e.position="absolute";const n=document.createElement("div"),s=n.style;s.width="2px",s.height="1px",t.appendChild(n),document.body.appendChild(t),h=u.NORMAL,0===t.scrollLeft&&(t.scrollLeft=1,h=0===t.scrollLeft?u.NEGATED:u.INVERTED),t.parentNode.removeChild(t)}return h}},nYR2:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var s=n("7o/Q"),r=n("quSY");function i(t){return e=>e.lift(new o(t))}class o{constructor(t){this.callback=t}call(t,e){return e.subscribe(new a(t,this.callback))}}class a extends s.a{constructor(t,e){super(t),this.add(new r.a(e))}}},ngJS:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));const s=t=>e=>{for(let n=0,s=t.length;n<s&&!e.closed;n++)e.next(t[n]);e.complete()}},oB13:function(t,e,n){"use strict";var s=n("XNiG"),r=n("HDdC"),i=(n("7o/Q"),n("quSY")),o=n("x+ZX");class a extends r.a{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new i.a,t.add(this.source.subscribe(new l(this.getSubject(),this))),t.closed&&(this._connection=null,t=i.a.EMPTY)),t}refCount(){return Object(o.a)()(this)}}const c=(()=>{const t=a.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class l extends s.b{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}function u(t,e){return function(n){let s;if(s="function"==typeof t?t:function(){return t},"function"==typeof e)return n.lift(new h(s,e));const r=Object.create(n,c);return r.source=n,r.subjectFactory=s,r}}n.d(e,"a",(function(){return u}));class h{constructor(t,e){this.subjectFactory=t,this.selector=e}call(t,e){const{selector:n}=this,s=this.subjectFactory(),r=n(s).subscribe(t);return r.add(e.subscribe(s)),r}}},ofXK:function(t,e,n){"use strict";n.d(e,"a",(function(){return E})),n.d(e,"b",(function(){return Q})),n.d(e,"c",(function(){return W})),n.d(e,"d",(function(){return u})),n.d(e,"e",(function(){return C})),n.d(e,"f",(function(){return f})),n.d(e,"g",(function(){return x})),n.d(e,"h",(function(){return v})),n.d(e,"i",(function(){return R})),n.d(e,"j",(function(){return P})),n.d(e,"k",(function(){return H})),n.d(e,"l",(function(){return B})),n.d(e,"m",(function(){return z})),n.d(e,"n",(function(){return S})),n.d(e,"o",(function(){return h})),n.d(e,"p",(function(){return X})),n.d(e,"q",(function(){return G})),n.d(e,"r",(function(){return l})),n.d(e,"s",(function(){return r})),n.d(e,"t",(function(){return i})),n.d(e,"u",(function(){return K})),n.d(e,"v",(function(){return a})),n.d(e,"w",(function(){return A})),n.d(e,"x",(function(){return c}));var s=n("fXoL");let r=(()=>{class t{constructor(t,e,n,s){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=s,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(Object(s.rb)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){const t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}_applyKeyValueChanges(t){t.forEachAddedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachChangedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachRemovedItem(t=>{t.previousValue&&this._toggleClass(t.key,!1)})}_applyIterableChanges(t){t.forEachAddedItem(t=>{if("string"!=typeof t.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${Object(s.xb)(t.item)}`);this._toggleClass(t.item,!0)}),t.forEachRemovedItem(t=>this._toggleClass(t.item,!1))}_applyClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!0)):Object.keys(t).forEach(e=>this._toggleClass(e,!!t[e])))}_removeClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!1)):Object.keys(t).forEach(t=>this._toggleClass(t,!1)))}_toggleClass(t,e){(t=t.trim())&&t.split(/\s+/g).forEach(t=>{e?this._renderer.addClass(this._ngEl.nativeElement,t):this._renderer.removeClass(this._ngEl.nativeElement,t)})}setClass(t){this.klass=t}setNgClass(t){this.ngClass=t}applyChanges(){this.ngDoCheck()}}return t.\u0275fac=function(e){return new(e||t)(s.Qb(s.s),s.Qb(s.t),s.Qb(s.l),s.Qb(s.E))},t.\u0275dir=s.Lb({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t})(),i=(()=>{class t{constructor(t,e,n){this._ngEl=t,this._differs=e,this._renderer=n,this._ngStyle=null,this._differ=null}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){const t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,e){const[n,s]=t.split(".");null!=(e=null!=e&&s?`${e}${s}`:e)?this._renderer.setStyle(this._ngEl.nativeElement,n,e):this._renderer.removeStyle(this._ngEl.nativeElement,n)}_applyChanges(t){t.forEachRemovedItem(t=>this._setStyle(t.key,null)),t.forEachAddedItem(t=>this._setStyle(t.key,t.currentValue)),t.forEachChangedItem(t=>this._setStyle(t.key,t.currentValue))}setNgStyle(t){this.ngStyle=t}applyChanges(){this.ngDoCheck()}}return t.\u0275fac=function(e){return new(e||t)(s.Qb(s.l),s.Qb(s.t),s.Qb(s.E))},t.\u0275dir=s.Lb({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),t})(),o=null;function a(){return o}function c(t){o||(o=t)}class l{}const u=new s.q("DocumentToken");let h=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(s.Mb)({factory:d,token:t,providedIn:"platform"}),t})();function d(){return Object(s.Zb)(p)}const f=new s.q("Location Initialized");let p=(()=>{class t extends h{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=a().getLocation(),this._history=a().getHistory()}getBaseHrefFromDOM(){return a().getBaseHref(this._doc)}onPopState(t){a().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)}onHashChange(t){a().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(t){this.location.pathname=t}pushState(t,e,n){m()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){m()?this._history.replaceState(t,e,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(s.Zb(u))},t.\u0275prov=Object(s.Mb)({factory:b,token:t,providedIn:"platform"}),t})();function m(){return!!window.history.pushState}function b(){return new p(Object(s.Zb)(u))}function g(t,e){if(0==t.length)return e;if(0==e.length)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e}function y(t){const e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)}function _(t){return t&&"?"!==t[0]?"?"+t:t}let v=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(s.Mb)({factory:w,token:t,providedIn:"root"}),t})();function w(t){const e=Object(s.Zb)(u).location;return new S(Object(s.Zb)(h),e&&e.origin||"")}const E=new s.q("appBaseHref");let S=(()=>{class t extends v{constructor(t,e){if(super(),this._platformLocation=t,null==e&&(e=this._platformLocation.getBaseHrefFromDOM()),null==e)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=e}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return g(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+_(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,s){const r=this.prepareExternalUrl(n+_(s));this._platformLocation.pushState(t,e,r)}replaceState(t,e,n,s){const r=this.prepareExternalUrl(n+_(s));this._platformLocation.replaceState(t,e,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)(s.Zb(h),s.Zb(E,8))},t.\u0275prov=s.Mb({token:t,factory:t.\u0275fac}),t})(),C=(()=>{class t extends v{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",null!=e&&(this._baseHref=e)}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}path(t=!1){let e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}prepareExternalUrl(t){const e=g(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,n,s){let r=this.prepareExternalUrl(n+_(s));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(t,e,r)}replaceState(t,e,n,s){let r=this.prepareExternalUrl(n+_(s));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)(s.Zb(h),s.Zb(E,8))},t.\u0275prov=s.Mb({token:t,factory:t.\u0275fac}),t})(),x=(()=>{class t{constructor(t,e){this._subject=new s.n,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=y(k(n)),this._platformStrategy.onPopState(t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})})}path(t=!1){return this.normalize(this._platformStrategy.path(t))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+_(e))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,k(e)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}go(t,e="",n=null){this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+_(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+_(e)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(t){this._urlChangeListeners.push(t),this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)})}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach(n=>n(t,e))}subscribe(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})}}return t.\u0275fac=function(e){return new(e||t)(s.Zb(v),s.Zb(h))},t.normalizeQueryParams=_,t.joinWithSlash=g,t.stripTrailingSlash=y,t.\u0275prov=Object(s.Mb)({factory:O,token:t,providedIn:"root"}),t})();function O(){return new x(Object(s.Zb)(v),Object(s.Zb)(h))}function k(t){return t.replace(/\/index.html$/,"")}const I=function(){var t={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return t[t.Zero]="Zero",t[t.One]="One",t[t.Two]="Two",t[t.Few]="Few",t[t.Many]="Many",t[t.Other]="Other",t}(),T=s.ob;class j{}let N=(()=>{class t extends j{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(T(e||this.locale)(t)){case I.Zero:return"zero";case I.One:return"one";case I.Two:return"two";case I.Few:return"few";case I.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(s.Zb(s.u))},t.\u0275prov=s.Mb({token:t,factory:t.\u0275fac}),t})();function A(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[s,r]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(s.trim()===e)return decodeURIComponent(r)}return null}class D{constructor(t,e,n,s){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=s}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let R=(()=>{class t{constructor(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){Object(s.X)()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(t)}. `+"See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(e){throw new Error(`Cannot find a differ supporting object '${n}' of type '${t=n,t.name||typeof t}'. NgFor only supports binding to Iterables such as Arrays.`)}}var t;if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=[];t.forEachOperation((t,n,s)=>{if(null==t.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new D(null,this._ngForOf,-1,-1),null===s?void 0:s),r=new F(t,n);e.push(r)}else if(null==s)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const r=this._viewContainer.get(n);this._viewContainer.move(r,s);const i=new F(t,r);e.push(i)}});for(let n=0;n<e.length;n++)this._perViewChange(e[n].view,e[n].record);for(let n=0,s=this._viewContainer.length;n<s;n++){const t=this._viewContainer.get(n);t.context.index=n,t.context.count=s,t.context.ngForOf=this._ngForOf}t.forEachIdentityChange(t=>{this._viewContainer.get(t.currentIndex).context.$implicit=t.item})}_perViewChange(t,e){t.context.$implicit=e.item}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(s.Qb(s.P),s.Qb(s.M),s.Qb(s.s))},t.\u0275dir=s.Lb({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class F{constructor(t,e){this.record=t,this.view=e}}let P=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new L,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){M("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){M("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(s.Qb(s.P),s.Qb(s.M))},t.\u0275dir=s.Lb({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class L{constructor(){this.$implicit=null,this.ngIf=null}}function M(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${Object(s.xb)(e)}'.`)}class V{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let H=(()=>{class t{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)}_matchCase(t){const e=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),e}_updateDefaultCases(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(let e=0;e<this._defaultViews.length;e++)this._defaultViews[e].enforceState(t)}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.Lb({type:t,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),t})(),B=(()=>{class t{constructor(t,e,n){this.ngSwitch=n,n._addCase(),this._view=new V(t,e)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return t.\u0275fac=function(e){return new(e||t)(s.Qb(s.P),s.Qb(s.M),s.Qb(H,1))},t.\u0275dir=s.Lb({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),t})(),z=(()=>{class t{constructor(t,e,n){n._addDefault(new V(t,e))}}return t.\u0275fac=function(e){return new(e||t)(s.Qb(s.P),s.Qb(s.M),s.Qb(H,1))},t.\u0275dir=s.Lb({type:t,selectors:[["","ngSwitchDefault",""]]}),t})();class U{createSubscription(t,e){return t.subscribe({next:e,error:t=>{throw t}})}dispose(t){t.unsubscribe()}onDestroy(t){t.unsubscribe()}}class ${createSubscription(t,e){return t.then(e,t=>{throw t})}dispose(t){}onDestroy(t){}}const Z=new $,q=new U;let Q=(()=>{class t{constructor(t){this._ref=t,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):Object(s.ub)(this._latestValue,this._latestReturnedValue)?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,s.R.wrap(this._latestValue)):(t&&this._subscribe(t),this._latestReturnedValue=this._latestValue,this._latestValue)}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,e=>this._updateLatestValue(t,e))}_selectStrategy(e){if(Object(s.tb)(e))return Z;if(Object(s.sb)(e))return q;throw n=t,Error(`InvalidPipeArgument: '${e}' for pipe '${Object(s.xb)(n)}'`);var n}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(s.bc())},t.\u0275pipe=s.Pb({name:"async",type:t,pure:!1}),t})(),W=(()=>{class t{}return t.\u0275mod=s.Ob({type:t}),t.\u0275inj=s.Nb({factory:function(e){return new(e||t)},providers:[{provide:j,useClass:N}]}),t})();const K="browser";function G(t){return t===K}let X=(()=>{class t{}return t.\u0275prov=Object(s.Mb)({token:t,providedIn:"root",factory:()=>new Y(Object(s.Zb)(u),window,Object(s.Zb)(s.m))}),t})();class Y{constructor(t,e,n){this.document=t,this.window=e,this.errorHandler=n,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]}scrollToPosition(t){this.supportScrollRestoration()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(this.supportScrollRestoration()){t=this.window.CSS&&this.window.CSS.escape?this.window.CSS.escape(t):t.replace(/(\"|\'\ |:|\.|\[|\]|,|=)/g,"\\$1");try{const e=this.document.querySelector(`#${t}`);if(e)return void this.scrollToElement(e);const n=this.document.querySelector(`[name='${t}']`);if(n)return void this.scrollToElement(n)}catch(e){this.errorHandler.handleError(e)}}}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,s=e.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(n-r[0],s-r[1])}supportScrollRestoration(){try{return!!this.window&&!!this.window.scrollTo}catch(t){return!1}}}},pLZG:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var s=n("7o/Q");function r(t,e){return function(n){return n.lift(new i(t,e))}}class i{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new o(t,this.predicate,this.thisArg))}}class o extends s.a{constructor(t,e,n){super(t),this.predicate=e,this.thisArg=n,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)}}},pxpQ:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return a}));var s=n("7o/Q"),r=n("WMd4");function i(t,e=0){return function(n){return n.lift(new o(t,e))}}class o{constructor(t,e=0){this.scheduler=t,this.delay=e}call(t,e){return e.subscribe(new a(t,this.scheduler,this.delay))}}class a extends s.a{constructor(t,e,n=0){super(t),this.scheduler=e,this.delay=n}static dispatch(t){const{notification:e,destination:n}=t;e.observe(n),this.unsubscribe()}scheduleMessage(t){this.destination.add(this.scheduler.schedule(a.dispatch,this.delay,new c(t,this.destination)))}_next(t){this.scheduleMessage(r.a.createNext(t))}_error(t){this.scheduleMessage(r.a.createError(t)),this.unsubscribe()}_complete(){this.scheduleMessage(r.a.createComplete()),this.unsubscribe()}}class c{constructor(t,e){this.notification=t,this.destination=e}}},qZ0a:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var s=n("NHP+"),r=n("oB13");function i(){return t=>Object(r.a)(new s.a)(t)}},quSY:function(t,e,n){"use strict";var s=n("DH7j"),r=n("XoHu"),i=n("n6bG");const o=(()=>{function t(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((t,e)=>`${e+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t})();n.d(e,"a",(function(){return a}));let a=(()=>{class t{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:n,_unsubscribe:a,_subscriptions:l}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(let t=0;t<n.length;++t)n[t].remove(this);if(Object(i.a)(a))try{a.call(this)}catch(u){e=u instanceof o?c(u.errors):[u]}if(Object(s.a)(l)){let t=-1,n=l.length;for(;++t<n;){const n=l[t];if(Object(r.a)(n))try{n.unsubscribe()}catch(u){e=e||[],u instanceof o?e=e.concat(c(u.errors)):e.push(u)}}}if(e)throw new o(e)}add(e){let n=e;if(!e)return t.EMPTY;switch(typeof e){case"function":n=new t(e);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof t)){const e=n;n=new t,n._subscriptions=[e]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}let{_parentOrParents:s}=n;if(null===s)n._parentOrParents=this;else if(s instanceof t){if(s===this)return n;n._parentOrParents=[s,this]}else{if(-1!==s.indexOf(this))return n;s.push(this)}const r=this._subscriptions;return null===r?this._subscriptions=[n]:r.push(n),n}remove(t){const e=this._subscriptions;if(e){const n=e.indexOf(t);-1!==n&&e.splice(n,1)}}}var e;return t.EMPTY=((e=new t).closed=!0,e),t})();function c(t){return t.reduce((t,e)=>t.concat(e instanceof o?e.errors:e),[])}},sVev:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));const s=(()=>{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})()},"tk/3":function(t,e,n){"use strict";n.d(e,"a",(function(){return O})),n.d(e,"b",(function(){return B}));var s=n("fXoL"),r=n("LRne"),i=n("HDdC"),o=n("bOdf"),a=n("pLZG"),c=n("lJxs"),l=n("ofXK");class u{}class h{}class d{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(t=>{const e=t.indexOf(":");if(e>0){const n=t.slice(0,e),s=n.toLowerCase(),r=t.slice(e+1).trim();this.maybeSetNormalizedName(n,s),this.headers.has(s)?this.headers.get(s).push(r):this.headers.set(s,[r])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let n=t[e];const s=e.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(s,n),this.maybeSetNormalizedName(e,s))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof d?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new d;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof d?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);const s=("a"===t.op?this.headers.get(e):void 0)||[];s.push(...n),this.headers.set(e,s);break;case"d":const r=t.value;if(r){let t=this.headers.get(e);if(!t)return;t=t.filter(t=>-1===r.indexOf(t)),0===t.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,t)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class f{encodeKey(t){return p(t)}encodeValue(t){return p(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}function p(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}class m{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new f,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){const n=new Map;return t.length>0&&t.split("&").forEach(t=>{const s=t.indexOf("="),[r,i]=-1==s?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,s)),e.decodeValue(t.slice(s+1))],o=n.get(r)||[];o.push(i),n.set(r,o)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const n=t.fromObject[e];this.map.set(e,Array.isArray(n)?n:[n])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).join("&")}clone(t){const e=new m({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat([t]),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(t.value),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let e=this.map.get(t.param)||[];const n=e.indexOf(t.value);-1!==n&&e.splice(n,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}function b(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function g(t){return"undefined"!=typeof Blob&&t instanceof Blob}function y(t){return"undefined"!=typeof FormData&&t instanceof FormData}class _{constructor(t,e,n,s){let r;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||s?(this.body=void 0!==n?n:null,r=s):r=n,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.params&&(this.params=r.params)),this.headers||(this.headers=new d),this.params){const t=this.params.toString();if(0===t.length)this.urlWithParams=e;else{const n=e.indexOf("?");this.urlWithParams=e+(-1===n?"?":n<e.length-1?"&":"")+t}}else this.params=new m,this.urlWithParams=e}serializeBody(){return null===this.body?null:b(this.body)||g(this.body)||y(this.body)||"string"==typeof this.body?this.body:this.body instanceof m?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body?null:y(this.body)?null:g(this.body)?this.body.type||null:b(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof m?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null}clone(t={}){const e=t.method||this.method,n=t.url||this.url,s=t.responseType||this.responseType,r=void 0!==t.body?t.body:this.body,i=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,o=void 0!==t.reportProgress?t.reportProgress:this.reportProgress;let a=t.headers||this.headers,c=t.params||this.params;return void 0!==t.setHeaders&&(a=Object.keys(t.setHeaders).reduce((e,n)=>e.set(n,t.setHeaders[n]),a)),t.setParams&&(c=Object.keys(t.setParams).reduce((e,n)=>e.set(n,t.setParams[n]),c)),new _(e,n,r,{params:c,headers:a,reportProgress:o,responseType:s,withCredentials:i})}}const v=function(){var t={Sent:0,UploadProgress:1,ResponseHeader:2,DownloadProgress:3,Response:4,User:5};return t[t.Sent]="Sent",t[t.UploadProgress]="UploadProgress",t[t.ResponseHeader]="ResponseHeader",t[t.DownloadProgress]="DownloadProgress",t[t.Response]="Response",t[t.User]="User",t}();class w{constructor(t,e=200,n="OK"){this.headers=t.headers||new d,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class E extends w{constructor(t={}){super(t),this.type=v.ResponseHeader}clone(t={}){return new E({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class S extends w{constructor(t={}){super(t),this.type=v.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new S({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class C extends w{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function x(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let O=(()=>{class t{constructor(t){this.handler=t}request(t,e,n={}){let s;if(t instanceof _)s=t;else{let r=void 0;r=n.headers instanceof d?n.headers:new d(n.headers);let i=void 0;n.params&&(i=n.params instanceof m?n.params:new m({fromObject:n.params})),s=new _(t,e,void 0!==n.body?n.body:null,{headers:r,params:i,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const i=Object(r.a)(s).pipe(Object(o.a)(t=>this.handler.handle(t)));if(t instanceof _||"events"===n.observe)return i;const l=i.pipe(Object(a.a)(t=>t instanceof S));switch(n.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return l.pipe(Object(c.a)(t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return l.pipe(Object(c.a)(t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return l.pipe(Object(c.a)(t=>{if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return l.pipe(Object(c.a)(t=>t.body))}case"response":return l;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(t,e={}){return this.request("DELETE",t,e)}get(t,e={}){return this.request("GET",t,e)}head(t,e={}){return this.request("HEAD",t,e)}jsonp(t,e){return this.request("JSONP",t,{params:(new m).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,e={}){return this.request("OPTIONS",t,e)}patch(t,e,n={}){return this.request("PATCH",t,x(n,e))}post(t,e,n={}){return this.request("POST",t,x(n,e))}put(t,e,n={}){return this.request("PUT",t,x(n,e))}}return t.\u0275fac=function(e){return new(e||t)(s.Zb(u))},t.\u0275prov=s.Mb({token:t,factory:t.\u0275fac}),t})();class k{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const I=new s.q("HTTP_INTERCEPTORS");let T=(()=>{class t{intercept(t,e){return e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Mb({token:t,factory:t.\u0275fac}),t})();const j=/^\)\]\}',?\n/;class N{}let A=(()=>{class t{constructor(){}build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Mb({token:t,factory:t.\u0275fac}),t})(),D=(()=>{class t{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new i.a(e=>{const n=this.xhrFactory.build();if(n.open(t.method,t.urlWithParams),t.withCredentials&&(n.withCredentials=!0),t.headers.forEach((t,e)=>n.setRequestHeader(t,e.join(","))),t.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const e=t.detectContentTypeHeader();null!==e&&n.setRequestHeader("Content-Type",e)}if(t.responseType){const e=t.responseType.toLowerCase();n.responseType="json"!==e?e:"text"}const s=t.serializeBody();let r=null;const i=()=>{if(null!==r)return r;const e=1223===n.status?204:n.status,s=n.statusText||"OK",i=new d(n.getAllResponseHeaders()),o=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(n)||t.url;return r=new E({headers:i,status:e,statusText:s,url:o}),r},o=()=>{let{headers:s,status:r,statusText:o,url:a}=i(),c=null;204!==r&&(c=void 0===n.response?n.responseText:n.response),0===r&&(r=c?200:0);let l=r>=200&&r<300;if("json"===t.responseType&&"string"==typeof c){const t=c;c=c.replace(j,"");try{c=""!==c?JSON.parse(c):null}catch(u){c=t,l&&(l=!1,c={error:u,text:c})}}l?(e.next(new S({body:c,headers:s,status:r,statusText:o,url:a||void 0})),e.complete()):e.error(new C({error:c,headers:s,status:r,statusText:o,url:a||void 0}))},a=t=>{const{url:s}=i(),r=new C({error:t,status:n.status||0,statusText:n.statusText||"Unknown Error",url:s||void 0});e.error(r)};let c=!1;const l=s=>{c||(e.next(i()),c=!0);let r={type:v.DownloadProgress,loaded:s.loaded};s.lengthComputable&&(r.total=s.total),"text"===t.responseType&&n.responseText&&(r.partialText=n.responseText),e.next(r)},u=t=>{let n={type:v.UploadProgress,loaded:t.loaded};t.lengthComputable&&(n.total=t.total),e.next(n)};return n.addEventListener("load",o),n.addEventListener("error",a),t.reportProgress&&(n.addEventListener("progress",l),null!==s&&n.upload&&n.upload.addEventListener("progress",u)),n.send(s),e.next({type:v.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("load",o),t.reportProgress&&(n.removeEventListener("progress",l),null!==s&&n.upload&&n.upload.removeEventListener("progress",u)),n.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(s.Zb(N))},t.\u0275prov=s.Mb({token:t,factory:t.\u0275fac}),t})();const R=new s.q("XSRF_COOKIE_NAME"),F=new s.q("XSRF_HEADER_NAME");class P{}let L=(()=>{class t{constructor(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(l.w)(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(s.Zb(l.d),s.Zb(s.B),s.Zb(R))},t.\u0275prov=s.Mb({token:t,factory:t.\u0275fac}),t})(),M=(()=>{class t{constructor(t,e){this.tokenService=t,this.headerName=e}intercept(t,e){const n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);const s=this.tokenService.getToken();return null===s||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,s)})),e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Zb(P),s.Zb(F))},t.\u0275prov=s.Mb({token:t,factory:t.\u0275fac}),t})(),V=(()=>{class t{constructor(t,e){this.backend=t,this.injector=e,this.chain=null}handle(t){if(null===this.chain){const t=this.injector.get(I,[]);this.chain=t.reduceRight((t,e)=>new k(t,e),this.backend)}return this.chain.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Zb(h),s.Zb(s.r))},t.\u0275prov=s.Mb({token:t,factory:t.\u0275fac}),t})(),H=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:M,useClass:T}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:R,useValue:e.cookieName}:[],e.headerName?{provide:F,useValue:e.headerName}:[]]}}}return t.\u0275mod=s.Ob({type:t}),t.\u0275inj=s.Nb({factory:function(e){return new(e||t)},providers:[M,{provide:I,useExisting:M,multi:!0},{provide:P,useClass:L},{provide:R,useValue:"XSRF-TOKEN"},{provide:F,useValue:"X-XSRF-TOKEN"}]}),t})(),B=(()=>{class t{}return t.\u0275mod=s.Ob({type:t}),t.\u0275inj=s.Nb({factory:function(e){return new(e||t)},providers:[O,{provide:u,useClass:V},D,{provide:h,useExisting:D},A,{provide:N,useExisting:A}],imports:[[H.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t})()},to4i:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return h}));var s=n("jtHE"),r=n("Nv8m"),i=n("PqYM"),o=n("SxV6"),a=n("bOdf"),c=n("05l1"),l=n("hqch"),u=n("fXoL");let h=(()=>{class e{constructor(t){this.zone=t,this.searchesSubject=new s.a(1)}initWorker(e){const n=this.ready=Object(r.a)(Object(i.a)(e),this.searchesSubject.asObservable().pipe(Object(o.a)())).pipe(Object(a.a)(()=>{const e=new Worker(t,{});return this.worker=l.a.create(e,this.zone),this.worker.sendMessage("load-index")}),Object(c.a)(1));return n.connect(),n}search(t){return this.searchesSubject.next(t),this.ready.pipe(Object(a.a)(()=>this.worker.sendMessage("query-index",t)))}}return e.\u0275fac=function(t){return new(t||e)(u.Zb(u.z))},e.\u0275prov=u.Mb({token:e,factory:e.\u0275fac}),e})()}).call(this,n("XQjc"))},u47x:function(t,e,n){"use strict";n.d(e,"a",(function(){return N})),n.d(e,"b",(function(){return I})),n.d(e,"c",(function(){return g})),n.d(e,"d",(function(){return k})),n.d(e,"e",(function(){return E})),n.d(e,"f",(function(){return j})),n.d(e,"g",(function(){return x})),n.d(e,"h",(function(){return T}));var s=n("ofXK"),r=n("fXoL"),i=n("XNiG"),o=n("quSY"),a=n("LRne"),c=n("FtGj"),l=n("vkgz"),u=n("Kj3r"),h=n("pLZG"),d=n("lJxs"),f=n("IzEk"),p=n("8LU1"),m=n("nLfN"),b=n("GU7r");class g extends class{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new i.a,this._typeaheadSubscription=o.a.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._skipPredicateFn=t=>t.disabled,this._pressedLetters=[],this.tabOut=new i.a,this.change=new i.a,t instanceof r.D&&t.changes.subscribe(t=>{if(this._activeItem){const e=t.toArray().indexOf(this._activeItem);e>-1&&e!==this._activeItemIndex&&(this._activeItemIndex=e)}})}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){if(this._items.length&&this._items.some(t=>"function"!=typeof t.getLabel))throw Error("ListKeyManager items in typeahead mode must implement the `getLabel` method.");return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Object(l.a)(t=>this._pressedLetters.push(t)),Object(u.a)(t),Object(h.a)(()=>this._pressedLetters.length>0),Object(d.a)(()=>this._pressedLetters.join(""))).subscribe(t=>{const e=this._getItemsArray();for(let n=1;n<e.length+1;n++){const s=(this._activeItemIndex+n)%e.length,r=e[s];if(!this._skipPredicateFn(r)&&0===r.getLabel().toUpperCase().trim().indexOf(t)){this.setActiveItem(s);break}}this._pressedLetters=[]}),this}setActiveItem(t){const e=this._activeItemIndex;this.updateActiveItem(t),this._activeItemIndex!==e&&this.change.next(this._activeItemIndex)}onKeydown(t){const e=t.keyCode,n=["altKey","ctrlKey","metaKey","shiftKey"].every(e=>!t[e]||this._allowedModifierKeys.indexOf(e)>-1);switch(e){case c.k:return void this.tabOut.next();case c.b:if(this._vertical&&n){this.setNextItemActive();break}return;case c.l:if(this._vertical&&n){this.setPreviousItemActive();break}return;case c.i:if(this._horizontal&&n){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case c.g:if(this._horizontal&&n){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;default:return void((n||Object(c.o)(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(e>=c.a&&e<=c.m||e>=c.n&&e<=c.h)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],t.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(t){const e=this._getItemsArray(),n="number"==typeof t?t:e.indexOf(t),s=e[n];this._activeItem=null==s?null:s,this._activeItemIndex=n}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){const e=this._getItemsArray();for(let n=1;n<=e.length;n++){const s=(this._activeItemIndex+t*n+e.length)%e.length;if(!this._skipPredicateFn(e[s]))return void this.setActiveItem(s)}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,e){const n=this._getItemsArray();if(n[t]){for(;this._skipPredicateFn(n[t]);)if(!n[t+=e])return;this.setActiveItem(t)}}_getItemsArray(){return this._items instanceof r.D?this._items.toArray():this._items}}{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}}let y=(()=>{class t{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return function(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility}isTabbable(t){if(!this._platform.isBrowser)return!1;const e=function(t){try{return t.frameElement}catch(e){return null}}((n=t).ownerDocument&&n.ownerDocument.defaultView||window);var n;if(e){const t=e&&e.nodeName.toLowerCase();if(-1===v(e))return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&"object"===t)return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&!this.isVisible(e))return!1}let s=t.nodeName.toLowerCase(),r=v(t);if(t.hasAttribute("contenteditable"))return-1!==r;if("iframe"===s)return!1;if("audio"===s){if(!t.hasAttribute("controls"))return!1;if(this._platform.BLINK)return!0}if("video"===s){if(!t.hasAttribute("controls")&&this._platform.TRIDENT)return!1;if(this._platform.BLINK||this._platform.FIREFOX)return!0}return("object"!==s||!this._platform.BLINK&&!this._platform.WEBKIT)&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(t){let e=t.nodeName.toLowerCase(),n="input"===e&&t.type;return"text"===n||"password"===n||"select"===e||"textarea"===e}(t))&&t.tabIndex>=0}isFocusable(t){return function(t){return!function(t){return function(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function(t){let e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(t)||function(t){return function(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||_(t))}(t)&&!this.isDisabled(t)&&this.isVisible(t)}}return t.\u0275fac=function(e){return new(e||t)(r.Zb(m.a))},t.\u0275prov=Object(r.Mb)({factory:function(){return new t(Object(r.Zb)(m.a))},token:t,providedIn:"root"}),t})();function _(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;let e=t.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function v(t){if(!_(t))return null;const e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}class w{constructor(t,e,n,s,r=!1){this._element=t,this._checker=e,this._ngZone=n,this._document=s,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,r||this.attachAnchors()}get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}destroy(){const t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),e&&(e.removeEventListener("focus",this.endAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),this._startAnchor=this._endAnchor=null}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.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)}focusInitialElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement()))})}focusFirstTabbableElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement()))})}focusLastTabbableElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement()))})}_getRegionBoundary(t){let e=this._element.querySelectorAll(`[cdk-focus-region-${t}], `+`[cdkFocusRegion${t}], `+`[cdk-focus-${t}]`);for(let n=0;n<e.length;n++)e[n].hasAttribute(`cdk-focus-${t}`)?console.warn(`Found use of deprecated attribute 'cdk-focus-${t}', `+`use 'cdkFocusRegion${t}' instead. The deprecated `+"attribute will be removed in 8.0.0.",e[n]):e[n].hasAttribute(`cdk-focus-region-${t}`)&&console.warn(`Found use of deprecated attribute 'cdk-focus-region-${t}', `+`use 'cdkFocusRegion${t}' instead. The deprecated attribute `+"will be removed in 8.0.0.",e[n]);return"start"==t?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(){const t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");return t?(t.hasAttribute("cdk-focus-initial")&&console.warn("Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead. The deprecated attribute will be removed in 8.0.0",t),Object(r.X)()&&!this._checker.isFocusable(t)&&console.warn("Element matching '[cdkFocusInitial]' is not focusable.",t),t.focus(),!0):this.focusFirstTabbableElement()}focusFirstTabbableElement(){const t=this._getRegionBoundary("start");return t&&t.focus(),!!t}focusLastTabbableElement(){const t=this._getRegionBoundary("end");return t&&t.focus(),!!t}hasAttached(){return this._hasAttached}_getFirstTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let e=t.children||t.childNodes;for(let n=0;n<e.length;n++){let t=e[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[n]):null;if(t)return t}return null}_getLastTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let e=t.children||t.childNodes;for(let n=e.length-1;n>=0;n--){let t=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(t)return t}return null}_createAnchor(){const t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.asObservable().pipe(Object(f.a)(1)).subscribe(t)}}let E=(()=>{class t{constructor(t,e,n){this._checker=t,this._ngZone=e,this._document=n}create(t,e=!1){return new w(t,this._checker,this._ngZone,this._document,e)}}return t.\u0275fac=function(e){return new(e||t)(r.Zb(y),r.Zb(r.z),r.Zb(s.d))},t.\u0275prov=Object(r.Mb)({factory:function(){return new t(Object(r.Zb)(y),Object(r.Zb)(r.z),Object(r.Zb)(s.d))},token:t,providedIn:"root"}),t})();const S=new r.q("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),C=new r.q("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let x=(()=>{class t{constructor(t,e,n,s){this._ngZone=e,this._defaultOptions=s,this._document=n,this._liveElement=t||this._createLiveElement()}announce(t,...e){const n=this._defaultOptions;let s,r;return 1===e.length&&"number"==typeof e[0]?r=e[0]:[s,r]=e,this.clear(),clearTimeout(this._previousTimeout),s||(s=n&&n.politeness?n.politeness:"polite"),null==r&&n&&(r=n.duration),this._liveElement.setAttribute("aria-live",s),this._ngZone.runOutsideAngular(()=>new Promise(e=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=t,e(),"number"==typeof r&&(this._previousTimeout=setTimeout(()=>this.clear(),r))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)}_createLiveElement(){const t=this._document.getElementsByClassName("cdk-live-announcer-element"),e=this._document.createElement("div");for(let n=0;n<t.length;n++)t[n].parentNode.removeChild(t[n]);return e.classList.add("cdk-live-announcer-element"),e.classList.add("cdk-visually-hidden"),e.setAttribute("aria-atomic","true"),e.setAttribute("aria-live","polite"),this._document.body.appendChild(e),e}}return t.\u0275fac=function(e){return new(e||t)(r.Zb(S,8),r.Zb(r.z),r.Zb(s.d),r.Zb(C,8))},t.\u0275prov=Object(r.Mb)({factory:function(){return new t(Object(r.Zb)(S,8),Object(r.Zb)(r.z),Object(r.Zb)(s.d),Object(r.Zb)(C,8))},token:t,providedIn:"root"}),t})();const O=Object(m.e)({passive:!0,capture:!0});let k=(()=>{class t{constructor(t,e){this._ngZone=t,this._platform=e,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._documentKeydownListener=()=>{this._lastTouchTarget=null,this._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=()=>{this._lastTouchTarget||this._setOriginForCurrentEventQueue("mouse")},this._documentTouchstartListener=t=>{null!=this._touchTimeoutId&&clearTimeout(this._touchTimeoutId),this._lastTouchTarget=t.composedPath?t.composedPath()[0]:t.target,this._touchTimeoutId=setTimeout(()=>this._lastTouchTarget=null,650)},this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)}}monitor(t,e=!1){if(!this._platform.isBrowser)return Object(a.a)(null);const n=Object(p.d)(t);if(this._elementInfo.has(n)){let t=this._elementInfo.get(n);return t.checkChildren=e,t.subject.asObservable()}let s={unlisten:()=>{},checkChildren:e,subject:new i.a};this._elementInfo.set(n,s),this._incrementMonitoredElementCount();let r=t=>this._onFocus(t,n),o=t=>this._onBlur(t,n);return this._ngZone.runOutsideAngular(()=>{n.addEventListener("focus",r,!0),n.addEventListener("blur",o,!0)}),s.unlisten=()=>{n.removeEventListener("focus",r,!0),n.removeEventListener("blur",o,!0)},s.subject.asObservable()}stopMonitoring(t){const e=Object(p.d)(t),n=this._elementInfo.get(e);n&&(n.unlisten(),n.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._decrementMonitoredElementCount())}focusVia(t,e,n){const s=Object(p.d)(t);this._setOriginForCurrentEventQueue(e),"function"==typeof s.focus&&s.focus(n)}ngOnDestroy(){this._elementInfo.forEach((t,e)=>this.stopMonitoring(e))}_toggleClass(t,e,n){n?t.classList.add(e):t.classList.remove(e)}_setClasses(t,e){this._elementInfo.get(t)&&(this._toggleClass(t,"cdk-focused",!!e),this._toggleClass(t,"cdk-touch-focused","touch"===e),this._toggleClass(t,"cdk-keyboard-focused","keyboard"===e),this._toggleClass(t,"cdk-mouse-focused","mouse"===e),this._toggleClass(t,"cdk-program-focused","program"===e))}_setOriginForCurrentEventQueue(t){this._ngZone.runOutsideAngular(()=>{this._origin=t,this._originTimeoutId=setTimeout(()=>this._origin=null,1)})}_wasCausedByTouch(t){let e=t.target;return this._lastTouchTarget instanceof Node&&e instanceof Node&&(e===this._lastTouchTarget||e.contains(this._lastTouchTarget))}_onFocus(t,e){const n=this._elementInfo.get(e);if(!n||!n.checkChildren&&e!==t.target)return;let s=this._origin;s||(s=this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(t)?"touch":"program"),this._setClasses(e,s),this._emitOrigin(n.subject,s),this._lastFocusOrigin=s}_onBlur(t,e){const n=this._elementInfo.get(e);!n||n.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(n.subject,null))}_emitOrigin(t,e){this._ngZone.run(()=>t.next(e))}_incrementMonitoredElementCount(){1==++this._monitoredElementCount&&this._platform.isBrowser&&this._ngZone.runOutsideAngular(()=>{document.addEventListener("keydown",this._documentKeydownListener,O),document.addEventListener("mousedown",this._documentMousedownListener,O),document.addEventListener("touchstart",this._documentTouchstartListener,O),window.addEventListener("focus",this._windowFocusListener)})}_decrementMonitoredElementCount(){--this._monitoredElementCount||(document.removeEventListener("keydown",this._documentKeydownListener,O),document.removeEventListener("mousedown",this._documentMousedownListener,O),document.removeEventListener("touchstart",this._documentTouchstartListener,O),window.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId))}}return t.\u0275fac=function(e){return new(e||t)(r.Zb(r.z),r.Zb(m.a))},t.\u0275prov=Object(r.Mb)({factory:function(){return new t(Object(r.Zb)(r.z),Object(r.Zb)(m.a))},token:t,providedIn:"root"}),t})(),I=(()=>{class t{constructor(t,e){this._elementRef=t,this._focusMonitor=e,this.cdkFocusChange=new r.n,this._monitorSubscription=this._focusMonitor.monitor(this._elementRef,this._elementRef.nativeElement.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(t=>this.cdkFocusChange.emit(t))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(r.Qb(r.l),r.Qb(k))},t.\u0275dir=r.Lb({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),t})();function T(t){return 0===t.buttons}let j=(()=>{class t{constructor(t,e){this._platform=t,this._document=e}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const e=(this._document.defaultView.getComputedStyle(t).backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(t),e){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(this._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove("cdk-high-contrast-active"),t.remove("cdk-high-contrast-black-on-white"),t.remove("cdk-high-contrast-white-on-black");const e=this.getHighContrastMode();1===e?(t.add("cdk-high-contrast-active"),t.add("cdk-high-contrast-black-on-white")):2===e&&(t.add("cdk-high-contrast-active"),t.add("cdk-high-contrast-white-on-black"))}}}return t.\u0275fac=function(e){return new(e||t)(r.Zb(m.a),r.Zb(s.d))},t.\u0275prov=Object(r.Mb)({factory:function(){return new t(Object(r.Zb)(m.a),Object(r.Zb)(s.d))},token:t,providedIn:"root"}),t})(),N=(()=>{class t{constructor(t){t._applyBodyHighContrastModeCssClasses()}}return t.\u0275mod=r.Ob({type:t}),t.\u0275inj=r.Nb({factory:function(e){return new(e||t)(r.Zb(j))},imports:[[s.c,m.b,b.c]]}),t})()},vHPH:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var s=n("AytR"),r=n("fXoL");let i=(()=>{class t{constructor(t){this.errorHandler=t}log(t,...e){s.a.production||console.log(t,...e)}error(t){this.errorHandler.handleError(t)}warn(t,...e){console.warn(t,...e)}}return t.\u0275fac=function(e){return new(e||t)(r.Zb(r.m))},t.\u0275prov=r.Mb({token:t,factory:t.\u0275fac}),t})()},vkgz:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var s=n("7o/Q"),r=n("KqfI"),i=n("n6bG");function o(t,e,n){return function(s){return s.lift(new a(t,e,n))}}class a{constructor(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}call(t,e){return e.subscribe(new c(t,this.nextOrObserver,this.error,this.complete))}}class c extends s.a{constructor(t,e,n,s){super(t),this._tapNext=r.a,this._tapError=r.a,this._tapComplete=r.a,this._tapError=n||r.a,this._tapComplete=s||r.a,Object(i.a)(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||r.a,this._tapError=e.error||r.a,this._tapComplete=e.complete||r.a)}_next(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}_error(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}},vxfF:function(t,e,n){"use strict";n("8LU1");var s=n("fXoL"),r=n("XNiG"),i=n("LRne"),o=n("HDdC"),a=n("xgIS"),c=n("VRyK");n("3N8a"),n("IjjT"),n("7Hc7");var l=(n("quSY"),n("/uUt"),n("3UWI")),u=n("pLZG"),h=n("1G5W");n("JX91"),n("7o/Q"),n("eIep"),n("jtHE");var d=n("nLfN"),f=n("cH1L");n.d(e,"a",(function(){return m})),n.d(e,"b",(function(){return p})),n.d(e,"c",(function(){return g})),n.d(e,"d",(function(){return b}));let p=(()=>{class t{constructor(t,e){this._ngZone=t,this._platform=e,this._scrolled=new r.a,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new o.a(e=>{this._globalSubscription||this._addGlobalListener();const n=t>0?this._scrolled.pipe(Object(l.a)(t)).subscribe(e):this._scrolled.subscribe(e);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Object(i.a)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,e)=>this.deregister(e)),this._scrolled.complete()}ancestorScrolled(t,e){const n=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe(Object(u.a)(t=>!t||n.indexOf(t)>-1))}getAncestorScrollContainers(t){const e=[];return this.scrollContainers.forEach((n,s)=>{this._scrollableContainsElement(s,t)&&e.push(s)}),e}_scrollableContainsElement(t,e){let n=e.nativeElement,s=t.getElementRef().nativeElement;do{if(n==s)return!0}while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Object(a.a)(window.document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return t.\u0275fac=function(e){return new(e||t)(s.Zb(s.z),s.Zb(d.a))},t.\u0275prov=Object(s.Mb)({factory:function(){return new t(Object(s.Zb)(s.z),Object(s.Zb)(d.a))},token:t,providedIn:"root"}),t})(),m=(()=>{class t{constructor(t,e,n,s){this.elementRef=t,this.scrollDispatcher=e,this.ngZone=n,this.dir=s,this._destroyed=new r.a,this._elementScrolled=new o.a(t=>this.ngZone.runOutsideAngular(()=>Object(a.a)(this.elementRef.nativeElement,"scroll").pipe(Object(h.a)(this._destroyed)).subscribe(t)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(t){const e=this.elementRef.nativeElement,n=this.dir&&"rtl"==this.dir.value;t.left=null==t.left?n?t.end:t.start:t.left,t.right=null==t.right?n?t.start:t.end:t.right,null!=t.bottom&&(t.top=e.scrollHeight-e.clientHeight-t.bottom),n&&Object(d.d)()!=d.c.NORMAL?(null!=t.left&&(t.right=e.scrollWidth-e.clientWidth-t.left),Object(d.d)()==d.c.INVERTED?t.left=t.right:Object(d.d)()==d.c.NEGATED&&(t.left=t.right?-t.right:t.right)):null!=t.right&&(t.left=e.scrollWidth-e.clientWidth-t.right),this._applyScrollToOptions(t)}_applyScrollToOptions(t){const e=this.elementRef.nativeElement;Object(d.f)()?e.scrollTo(t):(null!=t.top&&(e.scrollTop=t.top),null!=t.left&&(e.scrollLeft=t.left))}measureScrollOffset(t){const e=this.elementRef.nativeElement;if("top"==t)return e.scrollTop;if("bottom"==t)return e.scrollHeight-e.clientHeight-e.scrollTop;const n=this.dir&&"rtl"==this.dir.value;return"start"==t?t=n?"right":"left":"end"==t&&(t=n?"left":"right"),n&&Object(d.d)()==d.c.INVERTED?"left"==t?e.scrollWidth-e.clientWidth-e.scrollLeft:e.scrollLeft:n&&Object(d.d)()==d.c.NEGATED?"left"==t?e.scrollLeft+e.scrollWidth-e.clientWidth:-e.scrollLeft:"left"==t?e.scrollLeft:e.scrollWidth-e.clientWidth-e.scrollLeft}}return t.\u0275fac=function(e){return new(e||t)(s.Qb(s.l),s.Qb(p),s.Qb(s.z),s.Qb(f.b,8))},t.\u0275dir=s.Lb({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),t})(),b=(()=>{class t{constructor(t,e){this._platform=t,e.runOutsideAngular(()=>{this._change=t.isBrowser?Object(c.a)(Object(a.a)(window,"resize"),Object(a.a)(window,"orientationchange")):Object(i.a)(),this._invalidateCache=this.change().subscribe(()=>this._updateViewportSize())})}ngOnDestroy(){this._invalidateCache.unsubscribe()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:e,height:n}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+n,right:t.left+e,height:n,width:e}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=document.documentElement,e=t.getBoundingClientRect();return{top:-e.top||document.body.scrollTop||window.scrollY||t.scrollTop||0,left:-e.left||document.body.scrollLeft||window.scrollX||t.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(Object(l.a)(t)):this._change}_updateViewportSize(){this._viewportSize=this._platform.isBrowser?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0}}}return t.\u0275fac=function(e){return new(e||t)(s.Zb(d.a),s.Zb(s.z))},t.\u0275prov=Object(s.Mb)({factory:function(){return new t(Object(s.Zb)(d.a),Object(s.Zb)(s.z))},token:t,providedIn:"root"}),t})(),g=(()=>{class t{}return t.\u0275mod=s.Ob({type:t}),t.\u0275inj=s.Nb({factory:function(e){return new(e||t)},imports:[[f.a,d.b],f.a]}),t})()},w1tV:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var s=n("oB13"),r=n("x+ZX"),i=n("XNiG");function o(){return new i.a}function a(){return t=>Object(r.a)()(Object(s.a)(o)(t))}},"x+ZX":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var s=n("7o/Q");function r(){return function(t){return t.lift(new i(t))}}class i{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const s=new o(t,n),r=e.subscribe(s);return s.closed||(s.connection=n.connect()),r}}class o extends s.a{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:n}=this,s=t._connection;this.connection=null,!s||n&&s!==n||s.unsubscribe()}}},x4lQ:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var s=n("fXoL"),r=n("ofXK");function i(t,e){if(1&t&&s.Rb(0,"span"),2&t){const t=s.hc();s.Fb("symbol ",null==t.selected?null:t.selected.value,"")}}function o(t,e){if(1&t&&s.Rb(0,"span"),2&t){const t=s.hc().$implicit;s.Fb("symbol ",t.value,"")}}function a(t,e){if(1&t){const t=s.Wb();s.Vb(0,"li",6),s.dc("click",(function(n){s.vc(t);const r=e.$implicit,i=e.index;return s.hc(2).select(r,i)}))("keydown.enter",(function(n){s.vc(t);const r=e.$implicit,i=e.index;return s.hc(2).select(r,i)}))("keydown.space",(function(n){s.vc(t);const r=e.$implicit,i=e.index;return s.hc(2).select(r,i),n.preventDefault()})),s.Cc(1,o,1,3,"span",2),s.Vb(2,"span"),s.Ec(3),s.Ub(),s.Ub()}if(2&t){const t=e.$implicit,n=s.hc(2);s.Gb("selected",t===n.selected),s.Cb(1),s.mc("ngIf",n.showSymbol),s.Cb(2),s.Fc(t.title)}}function c(t,e){if(1&t&&(s.Vb(0,"ul",4),s.Cc(1,a,4,4,"li",5),s.Ub()),2&t){const t=s.hc();s.Cb(1),s.mc("ngForOf",t.options)}}let l=(()=>{class t{constructor(t){this.hostElement=t,this.change=new s.n,this.showSymbol=!1,this.showOptions=!1}ngOnInit(){this.label=this.label||""}toggleOptions(){this.showOptions=!this.showOptions}hideOptions(){this.showOptions=!1}select(t,e){this.selected=t,this.change.emit({option:t,index:e}),this.hideOptions()}onClick(t){this.hostElement.nativeElement.contains(t)||this.hideOptions()}onKeyDown(){this.hideOptions()}}return t.\u0275fac=function(e){return new(e||t)(s.Qb(s.l))},t.\u0275cmp=s.Kb({type:t,selectors:[["aio-select"]],hostBindings:function(t,e,n){1&t&&s.dc("click",(function(t){return e.onClick(t.target)}),!1,s.tc)("keydown.escape",(function(t){return e.onKeyDown()}),!1,s.tc)},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(t,e){1&t&&(s.Vb(0,"div",0),s.Vb(1,"button",1),s.dc("click",(function(t){return e.toggleOptions()})),s.Vb(2,"span"),s.Vb(3,"strong"),s.Ec(4),s.Ub(),s.Ub(),s.Cc(5,i,1,3,"span",2),s.Vb(6,"span"),s.Ec(7),s.Ub(),s.Ub(),s.Cc(8,c,2,1,"ul",3),s.Ub()),2&t&&(s.Cb(1),s.mc("disabled",e.disabled),s.Cb(3),s.Fc(e.label),s.Cb(1),s.mc("ngIf",e.showSymbol),s.Cb(2),s.Fc(null==e.selected?null:e.selected.title),s.Cb(1),s.mc("ngIf",e.showOptions))},directives:[r.j,r.i],encapsulation:2}),t})()},xbPD:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var s=n("7o/Q");function r(t=null){return e=>e.lift(new i(t))}class i{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new o(t,this.defaultValue))}}class o extends s.a{constructor(t,e){super(t),this.defaultValue=e,this.isEmpty=!0}_next(t){this.isEmpty=!1,this.destination.next(t)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}},xgIS:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var s=n("HDdC"),r=n("DH7j"),i=n("n6bG"),o=n("lJxs");function a(t,e,n,c){return Object(i.a)(n)&&(c=n,n=void 0),c?a(t,e,n).pipe(Object(o.a)(t=>Object(r.a)(t)?c(...t):c(t))):new s.a(s=>{!function t(e,n,s,r,i){let o;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(e)){const t=e;e.addEventListener(n,s,i),o=()=>t.removeEventListener(n,s,i)}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(e)){const t=e;e.on(n,s),o=()=>t.off(n,s)}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(e)){const t=e;e.addListener(n,s),o=()=>t.removeListener(n,s)}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(let o=0,a=e.length;o<a;o++)t(e[o],n,s,r,i)}r.add(o)}(t,e,(function(t){s.next(arguments.length>1?Array.prototype.slice.call(arguments):t)}),s,n)})}},yCtX:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var s=n("HDdC"),r=n("ngJS"),i=n("jZKg");function o(t,e){return e?Object(i.a)(t,e):new s.a(Object(r.a)(t))}},"z+Ro":function(t,e,n){"use strict";function s(t){return t&&"function"==typeof t.schedule}n.d(e,"a",(function(){return s}))},z6cu:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var s=n("HDdC");function r(t,e){return new s.a(e?n=>e.schedule(i,0,{error:t,subscriber:n}):e=>e.error(t))}function i({error:t,subscriber:e}){e.error(t)}},zUnb:function(t,e,n){"use strict";n.r(e);var s=n("fXoL"),r=n("AytR"),i=n("jhN1"),o=n("tk/3"),a=n("R1ws"),c=n("Jho9"),l=n("ofXK"),u=n("bTqV"),h=n("NFeN"),d=n("FKr1"),f=n("8LU1"),p=n("quSY"),m=n("xgIS"),b=n("pLZG");const g=["primaryValueBar"];class y{constructor(t){this._elementRef=t}}const _=Object(d.f)(y,"primary"),v=new s.q("mat-progress-bar-location",{providedIn:"root",factory:function(){const t=Object(s.W)(l.d),e=t?t.location:null;return{getPathname:()=>e?e.pathname+e.search:""}}});let w=0,E=(()=>{class t extends _{constructor(t,e,n,r){super(t),this._elementRef=t,this._ngZone=e,this._animationMode=n,this._isNoopAnimation=!1,this._value=0,this._bufferValue=0,this.animationEnd=new s.n,this._animationEndSubscription=p.a.EMPTY,this.mode="determinate",this.progressbarId=`mat-progress-bar-${w++}`;const i=r?r.getPathname().split("#")[0]:"";this._rectangleFillValue=`url('${i}#${this.progressbarId}')`,this._isNoopAnimation="NoopAnimations"===n}get value(){return this._value}set value(t){this._value=S(Object(f.e)(t)||0),this._isNoopAnimation&&this._emitAnimationEnd()}get bufferValue(){return this._bufferValue}set bufferValue(t){this._bufferValue=S(t||0)}_primaryTransform(){return{transform:`scaleX(${this.value/100})`}}_bufferTransform(){return"buffer"===this.mode?{transform:`scaleX(${this.bufferValue/100})`}:null}ngAfterViewInit(){this._isNoopAnimation||this._ngZone.runOutsideAngular(()=>{const t=this._primaryValueBar.nativeElement;this._animationEndSubscription=Object(m.a)(t,"transitionend").pipe(Object(b.a)(e=>e.target===t)).subscribe(()=>this._ngZone.run(()=>this._emitAnimationEnd()))})}ngOnDestroy(){this._animationEndSubscription.unsubscribe()}_emitAnimationEnd(){"determinate"!==this.mode&&"buffer"!==this.mode||this.animationEnd.next({value:this.value})}}return t.\u0275fac=function(e){return new(e||t)(s.Qb(s.l),s.Qb(s.z),s.Qb(a.a,8),s.Qb(v,8))},t.\u0275cmp=s.Kb({type:t,selectors:[["mat-progress-bar"]],viewQuery:function(t,e){var n;1&t&&s.Jc(g,!0),2&t&&s.rc(n=s.ec())&&(e._primaryValueBar=n.first)},hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100",1,"mat-progress-bar"],hostVars:4,hostBindings:function(t,e,n){2&t&&(s.Db("aria-valuenow","indeterminate"===e.mode||"query"===e.mode?null:e.value)("mode",e.mode),s.Gb("_mat-animation-noopable",e._isNoopAnimation))},inputs:{color:"color",mode:"mode",value:"value",bufferValue:"bufferValue"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[s.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(t,e){1&t&&(s.gc(),s.Vb(0,"svg",0),s.Vb(1,"defs"),s.Vb(2,"pattern",1),s.Rb(3,"circle",2),s.Ub(),s.Ub(),s.Rb(4,"rect",3),s.Ub(),s.fc(),s.Rb(5,"div",4),s.Rb(6,"div",5,6),s.Rb(8,"div",7)),2&t&&(s.Cb(2),s.mc("id",e.progressbarId),s.Cb(2),s.Db("fill",e._rectangleFillValue),s.Cb(1),s.mc("ngStyle",e._bufferTransform()),s.Cb(1),s.mc("ngStyle",e._primaryTransform()))},directives:[l.t],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:none}@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}),t})();function S(t,e=0,n=100){return Math.max(e,Math.min(n,t))}let C=(()=>{class t{}return t.\u0275mod=s.Ob({type:t}),t.\u0275inj=s.Nb({factory:function(e){return new(e||t)},imports:[[l.c,d.b],d.b]}),t})();var x=n("nLfN"),O=n("vxfF"),k=n("FtGj"),I=n("XNiG"),T=n("VRyK"),j=n("1G5W"),N=n("/uUt"),A=n("lJxs"),D=n("IzEk"),R=n("JX91"),F=n("Kj3r"),P=n("R0Ic"),L=n("u47x"),M=n("cH1L");const V=["*"];function H(t,e){if(1&t){const t=s.Wb();s.Vb(0,"div",2),s.dc("click",(function(e){return s.vc(t),s.hc()._onBackdropClicked()})),s.Ub()}if(2&t){const t=s.hc();s.Gb("mat-drawer-shown",t._isShowingBackdrop())}}function B(t,e){1&t&&(s.Vb(0,"mat-drawer-content"),s.kc(1,2),s.Ub())}const z=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],U=["mat-drawer","mat-drawer-content","*"];function $(t,e){if(1&t){const t=s.Wb();s.Vb(0,"div",2),s.dc("click",(function(e){return s.vc(t),s.hc()._onBackdropClicked()})),s.Ub()}if(2&t){const t=s.hc();s.Gb("mat-drawer-shown",t._isShowingBackdrop())}}function Z(t,e){1&t&&(s.Vb(0,"mat-sidenav-content",3),s.kc(1,2),s.Ub())}const q=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],Q=["mat-sidenav","mat-sidenav-content","*"],W={transformDrawer:Object(P.j)("transform",[Object(P.g)("open, open-instant",Object(P.h)({transform:"none",visibility:"visible"})),Object(P.g)("void",Object(P.h)({"box-shadow":"none",visibility:"hidden"})),Object(P.i)("void => open-instant",Object(P.e)("0ms")),Object(P.i)("void <=> open, open-instant => void",Object(P.e)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])};function K(t){throw Error(`A drawer was already declared for 'position="${t}"'`)}const G=new s.q("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function(){return!1}}),X=new s.q("MAT_DRAWER_CONTAINER");let Y=(()=>{class t extends O.a{constructor(t,e,n,s,r){super(n,s,r),this._changeDetectorRef=t,this._container=e}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return t.\u0275fac=function(e){return new(e||t)(s.Qb(s.h),s.Qb(Object(s.U)(()=>tt)),s.Qb(s.l),s.Qb(O.b),s.Qb(s.z))},t.\u0275cmp=s.Kb({type:t,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(t,e,n){2&t&&s.Bc("margin-left",e._container._contentMargins.left,"px")("margin-right",e._container._contentMargins.right,"px")},features:[s.zb],ngContentSelectors:V,decls:1,vars:0,template:function(t,e){1&t&&(s.lc(),s.kc(0))},encapsulation:2,changeDetection:0}),t})(),J=(()=>{class t{constructor(t,e,n,r,i,o,a){this._elementRef=t,this._focusTrapFactory=e,this._focusMonitor=n,this._platform=r,this._ngZone=i,this._doc=o,this._container=a,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new I.a,this._animationEnd=new I.a,this._animationState="void",this.openedChange=new s.n(!0),this._destroyed=new I.a,this.onPositionChanged=new s.n,this._modeChanged=new I.a,this.openedChange.subscribe(t=>{t?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._restoreFocus()}),this._ngZone.runOutsideAngular(()=>{Object(m.a)(this._elementRef.nativeElement,"keydown").pipe(Object(b.a)(t=>t.keyCode===k.e&&!this.disableClose&&!Object(k.o)(t)),Object(j.a)(this._destroyed)).subscribe(t=>this._ngZone.run(()=>{this.close(),t.stopPropagation(),t.preventDefault()}))}),this._animationEnd.pipe(Object(N.a)((t,e)=>t.fromState===e.fromState&&t.toState===e.toState)).subscribe(t=>{const{fromState:e,toState:n}=t;(0===n.indexOf("open")&&"void"===e||"void"===n&&0===e.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(t){(t="end"===t?"end":"start")!=this._position&&(this._position=t,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(t){this._mode=t,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(t){this._disableClose=Object(f.b)(t)}get autoFocus(){const t=this._autoFocus;return null==t?"side"!==this.mode:t}set autoFocus(t){this._autoFocus=Object(f.b)(t)}get opened(){return this._opened}set opened(t){this.toggle(Object(f.b)(t))}get _openedStream(){return this.openedChange.pipe(Object(b.a)(t=>t),Object(A.a)(()=>{}))}get openedStart(){return this._animationStarted.pipe(Object(b.a)(t=>t.fromState!==t.toState&&0===t.toState.indexOf("open")),Object(A.a)(()=>{}))}get _closedStream(){return this.openedChange.pipe(Object(b.a)(t=>!t),Object(A.a)(()=>{}))}get closedStart(){return this._animationStarted.pipe(Object(b.a)(t=>t.fromState!==t.toState&&"void"===t.toState),Object(A.a)(()=>{}))}_takeFocus(){this.autoFocus&&this._focusTrap&&this._focusTrap.focusInitialElementWhenReady().then(t=>{t||"function"!=typeof this._elementRef.nativeElement.focus||this._elementRef.nativeElement.focus()})}_restoreFocus(){if(!this.autoFocus)return;const t=this._doc&&this._doc.activeElement;t&&this._elementRef.nativeElement.contains(t)&&(this._elementFocusedBeforeDrawerWasOpened instanceof HTMLElement?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,this._openedVia):this._elementRef.nativeElement.blur()),this._elementFocusedBeforeDrawerWasOpened=null,this._openedVia=null}ngAfterContentInit(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState()}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap&&this._focusTrap.destroy(),this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(t){return this.toggle(!0,t)}close(){return this.toggle(!1)}toggle(t=!this.opened,e="program"){return this._opened=t,t?(this._animationState=this._enableAnimations?"open":"open-instant",this._openedVia=e):(this._animationState="void",this._restoreFocus()),this._updateFocusTrapState(),new Promise(t=>{this.openedChange.pipe(Object(D.a)(1)).subscribe(e=>t(e?"open":"close"))})}get _width(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_animationStartListener(t){this._animationStarted.next(t)}_animationDoneListener(t){this._animationEnd.next(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Qb(s.l),s.Qb(L.e),s.Qb(L.d),s.Qb(x.a),s.Qb(s.z),s.Qb(l.d,8),s.Qb(X,8))},t.\u0275cmp=s.Kb({type:t,selectors:[["mat-drawer"]],hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(t,e,n){1&t&&s.Hb("@transform.start",(function(t){return e._animationStartListener(t)}))("@transform.done",(function(t){return e._animationDoneListener(t)})),2&t&&(s.Db("align",null),s.Ic("@transform",e._animationState),s.Gb("mat-drawer-end","end"===e.position)("mat-drawer-over","over"===e.mode)("mat-drawer-push","push"===e.mode)("mat-drawer-side","side"===e.mode)("mat-drawer-opened",e.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",onPositionChanged:"positionChanged",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart"},exportAs:["matDrawer"],ngContentSelectors:V,decls:2,vars:0,consts:[[1,"mat-drawer-inner-container"]],template:function(t,e){1&t&&(s.lc(),s.Vb(0,"div",0),s.kc(1),s.Ub())},encapsulation:2,data:{animation:[W.transformDrawer]},changeDetection:0}),t})(),tt=(()=>{class t{constructor(t,e,n,r,i,o=!1,a){this._dir=t,this._element=e,this._ngZone=n,this._changeDetectorRef=r,this._animationMode=a,this._drawers=new s.D,this.backdropClick=new s.n,this._destroyed=new I.a,this._doCheckSubject=new I.a,this._contentMargins={left:null,right:null},this._contentMarginChanges=new I.a,t&&t.change.pipe(Object(j.a)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),i.change().pipe(Object(j.a)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=o}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(t){this._autosize=Object(f.b)(t)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(t){this._backdropOverride=null==t?null:Object(f.b)(t)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe(Object(R.a)(this._allDrawers),Object(j.a)(this._destroyed)).subscribe(t=>{this._drawers.reset(t.filter(t=>!t._container||t._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(Object(R.a)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(t=>{this._watchDrawerToggle(t),this._watchDrawerPosition(t),this._watchDrawerMode(t)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._doCheckSubject.pipe(Object(F.a)(10),Object(j.a)(this._destroyed)).subscribe(()=>this.updateContentMargins())}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(t=>t.open())}close(){this._drawers.forEach(t=>t.close())}updateContentMargins(){let t=0,e=0;if(this._left&&this._left.opened)if("side"==this._left.mode)t+=this._left._width;else if("push"==this._left.mode){const n=this._left._width;t+=n,e-=n}if(this._right&&this._right.opened)if("side"==this._right.mode)e+=this._right._width;else if("push"==this._right.mode){const n=this._right._width;e+=n,t-=n}t=t||null,e=e||null,t===this._contentMargins.left&&e===this._contentMargins.right||(this._contentMargins={left:t,right:e},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(t){t._animationStarted.pipe(Object(b.a)(t=>t.fromState!==t.toState),Object(j.a)(this._drawers.changes)).subscribe(t=>{"open-instant"!==t.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==t.mode&&t.openedChange.pipe(Object(j.a)(this._drawers.changes)).subscribe(()=>this._setContainerClass(t.opened))}_watchDrawerPosition(t){t&&t.onPositionChanged.pipe(Object(j.a)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.asObservable().pipe(Object(D.a)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(t){t&&t._modeChanged.pipe(Object(j.a)(Object(T.a)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(t){const e=this._element.nativeElement.classList,n="mat-drawer-container-has-open";t?e.add(n):e.remove(n)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(t=>{"end"==t.position?(null!=this._end&&K("end"),this._end=t):(null!=this._start&&K("start"),this._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)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawer()}_closeModalDrawer(){[this._start,this._end].filter(t=>t&&!t.disableClose&&this._canHaveBackdrop(t)).forEach(t=>t.close())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(t){return"side"!==t.mode||!!this._backdropOverride}_isDrawerOpen(t){return null!=t&&t.opened}}return t.\u0275fac=function(e){return new(e||t)(s.Qb(M.b,8),s.Qb(s.l),s.Qb(s.z),s.Qb(s.h),s.Qb(O.d),s.Qb(G),s.Qb(a.a,8))},t.\u0275cmp=s.Kb({type:t,selectors:[["mat-drawer-container"]],contentQueries:function(t,e,n){var r;1&t&&(s.Ib(n,Y,!0),s.Ib(n,J,!0)),2&t&&(s.rc(r=s.ec())&&(e._content=r.first),s.rc(r=s.ec())&&(e._allDrawers=r))},viewQuery:function(t,e){var n;1&t&&s.Jc(Y,!0),2&t&&s.rc(n=s.ec())&&(e._userContent=n.first)},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(t,e,n){2&t&&s.Gb("mat-drawer-container-explicit-backdrop",e._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[s.Bb([{provide:X,useExisting:t}])],ngContentSelectors:U,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(t,e){1&t&&(s.lc(z),s.Cc(0,H,1,2,"div",0),s.kc(1),s.kc(2,1),s.Cc(3,B,2,0,"mat-drawer-content",1)),2&t&&(s.mc("ngIf",e.hasBackdrop),s.Cb(3),s.mc("ngIf",!e._content))},directives:[l.j,Y],styles:[".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"],encapsulation:2,changeDetection:0}),t})(),et=(()=>{class t extends Y{constructor(t,e,n,s,r){super(t,e,n,s,r)}}return t.\u0275fac=function(e){return new(e||t)(s.Qb(s.h),s.Qb(Object(s.U)(()=>rt)),s.Qb(s.l),s.Qb(O.b),s.Qb(s.z))},t.\u0275cmp=s.Kb({type:t,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(t,e,n){2&t&&s.Bc("margin-left",e._container._contentMargins.left,"px")("margin-right",e._container._contentMargins.right,"px")},features:[s.zb],ngContentSelectors:V,decls:1,vars:0,template:function(t,e){1&t&&(s.lc(),s.kc(0))},encapsulation:2,changeDetection:0}),t})(),nt=(()=>{class t extends J{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(t){this._fixedInViewport=Object(f.b)(t)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(t){this._fixedTopGap=Object(f.e)(t)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(t){this._fixedBottomGap=Object(f.e)(t)}}return t.\u0275fac=function(e){return st(e||t)},t.\u0275cmp=s.Kb({type:t,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(t,e,n){2&t&&(s.Db("align",null),s.Bc("top",e.fixedInViewport?e.fixedTopGap:null,"px")("bottom",e.fixedInViewport?e.fixedBottomGap:null,"px"),s.Gb("mat-drawer-end","end"===e.position)("mat-drawer-over","over"===e.mode)("mat-drawer-push","push"===e.mode)("mat-drawer-side","side"===e.mode)("mat-drawer-opened",e.opened)("mat-sidenav-fixed",e.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[s.zb],ngContentSelectors:V,decls:2,vars:0,consts:[[1,"mat-drawer-inner-container"]],template:function(t,e){1&t&&(s.lc(),s.Vb(0,"div",0),s.kc(1),s.Ub())},encapsulation:2,data:{animation:[W.transformDrawer]},changeDetection:0}),t})();const st=s.Xb(nt);let rt=(()=>{class t extends tt{}return t.\u0275fac=function(e){return it(e||t)},t.\u0275cmp=s.Kb({type:t,selectors:[["mat-sidenav-container"]],contentQueries:function(t,e,n){var r;1&t&&(s.Ib(n,et,!0),s.Ib(n,nt,!0)),2&t&&(s.rc(r=s.ec())&&(e._content=r.first),s.rc(r=s.ec())&&(e._allDrawers=r))},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(t,e,n){2&t&&s.Gb("mat-drawer-container-explicit-backdrop",e._backdropOverride)},exportAs:["matSidenavContainer"],features:[s.Bb([{provide:X,useExisting:t}]),s.zb],ngContentSelectors:Q,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(t,e){1&t&&(s.lc(q),s.Cc(0,$,1,2,"div",0),s.kc(1),s.kc(2,1),s.Cc(3,Z,2,0,"mat-sidenav-content",1)),2&t&&(s.mc("ngIf",e.hasBackdrop),s.Cb(3),s.mc("ngIf",!e._content))},directives:[l.j,et,O.a],styles:[".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"],encapsulation:2,changeDetection:0}),t})();const it=s.Xb(rt);let ot=(()=>{class t{}return t.\u0275mod=s.Ob({type:t}),t.\u0275inj=s.Nb({factory:function(e){return new(e||t)},imports:[[l.c,d.b,O.c,x.b],d.b]}),t})();const at=["*",[["mat-toolbar-row"]]],ct=["*","mat-toolbar-row"];class lt{constructor(t){this._elementRef=t}}const ut=Object(d.f)(lt);let ht=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.Lb({type:t,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),t})(),dt=(()=>{class t extends ut{constructor(t,e,n){super(t),this._platform=e,this._document=n}ngAfterViewInit(){Object(s.X)()&&this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length&&Array.from(this._elementRef.nativeElement.childNodes).filter(t=>!(t.classList&&t.classList.contains("mat-toolbar-row"))).filter(t=>t.nodeType!==(this._document?this._document.COMMENT_NODE:8)).some(t=>!(!t.textContent||!t.textContent.trim()))&&function(){throw Error("MatToolbar: Attempting to combine different toolbar modes. Either specify multiple `<mat-toolbar-row>` elements explicitly or just place content inside of a `<mat-toolbar>` for a single row.")}()}}return t.\u0275fac=function(e){return new(e||t)(s.Qb(s.l),s.Qb(x.a),s.Qb(l.d))},t.\u0275cmp=s.Kb({type:t,selectors:[["mat-toolbar"]],contentQueries:function(t,e,n){var r;1&t&&s.Ib(n,ht,!0),2&t&&s.rc(r=s.ec())&&(e._toolbarRows=r)},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(t,e,n){2&t&&s.Gb("mat-toolbar-multiple-rows",e._toolbarRows.length>0)("mat-toolbar-single-row",0===e._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[s.zb],ngContentSelectors:ct,decls:2,vars:0,template:function(t,e){1&t&&(s.lc(at),s.kc(0),s.kc(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%}.mat-toolbar-multiple-rows{min-height:64px}.mat-toolbar-row,.mat-toolbar-single-row{height:64px}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:56px}.mat-toolbar-row,.mat-toolbar-single-row{height:56px}}\n"],encapsulation:2,changeDetection:0}),t})(),ft=(()=>{class t{}return t.\u0275mod=s.Ob({type:t}),t.\u0275inj=s.Nb({factory:function(e){return new(e||t)},imports:[[d.b],d.b]}),t})();const pt=new s.q("CurrentDate");function mt(){return new Date}var bt=n("GvZq");const gt=["*"];let yt=(()=>{class t{constructor(t,e){this.window=t,this.currentDate=e,this.dismissed=new s.n}get localStorage(){return this.window.localStorage}ngOnInit(){const t="hide"===this.localStorage.getItem("aio-notification/"+this.notificationId),e=this.currentDate>new Date(this.expirationDate);this.showNotification=t||e?"hide":"show"}contentClick(){this.dismissOnContentClick&&this.dismiss()}dismiss(){this.localStorage.setItem("aio-notification/"+this.notificationId,"hide"),this.showNotification="hide",this.dismissed.next()}}return t.\u0275fac=function(e){return new(e||t)(s.Qb(bt.a),s.Qb(pt))},t.\u0275cmp=s.Kb({type:t,selectors:[["aio-notification"]],hostVars:1,hostBindings:function(t,e,n){2&t&&s.Ic("@hideAnimation",e.showNotification)},inputs:{dismissOnContentClick:"dismissOnContentClick",notificationId:"notificationId",expirationDate:"expirationDate"},outputs:{dismissed:"dismissed"},ngContentSelectors:gt,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(t,e){1&t&&(s.lc(),s.Vb(0,"span",0),s.dc("click",(function(t){return e.contentClick()}))("keyup.enter",(function(t){return e.contentClick()})),s.kc(1),s.Ub(),s.Vb(2,"button",1),s.dc("click",(function(t){return e.dismiss()})),s.Rb(3,"mat-icon",2),s.Ub())},directives:[u.a,h.a],encapsulation:2,data:{animation:[Object(P.j)("hideAnimation",[Object(P.g)("show",Object(P.h)({height:"*"})),Object(P.g)("hide",Object(P.h)({height:0})),Object(P.i)("show => hide",Object(P.e)(250))])]}}),t})();var _t=n("/lUL");const vt=["searchBox"];let wt=(()=>{class t{constructor(t){this.locationService=t,this.searchDebounce=300,this.searchSubject=new I.a,this.onSearch=this.searchSubject.pipe(Object(N.a)(),Object(F.a)(this.searchDebounce)),this.onFocus=new s.n}ngAfterViewInit(){const t=this.locationService.search().search;t&&(this.query=this.decodeQuery(t),this.doSearch())}doSearch(){this.searchSubject.next(this.query)}doFocus(){this.onFocus.emit(this.query)}focus(){this.searchBox.nativeElement.focus()}decodeQuery(t){return t.replace(/\+/g," ")}get query(){return this.searchBox.nativeElement.value}set query(t){this.searchBox.nativeElement.value=t}}return t.\u0275fac=function(e){return new(e||t)(s.Qb(_t.a))},t.\u0275cmp=s.Kb({type:t,selectors:[["aio-search-box"]],viewQuery:function(t,e){var n;1&t&&s.Ac(vt,!0),2&t&&s.rc(n=s.ec())&&(e.searchBox=n.first)},outputs:{onSearch:"onSearch",onFocus:"onFocus"},decls:2,vars:0,consts:[["type","search","aria-label","search","placeholder","\u641c\u7d22",3,"input","keyup","focus","click"],["searchBox",""]],template:function(t,e){1&t&&(s.Vb(0,"input",0,1),s.dc("input",(function(t){return e.doSearch()}))("keyup",(function(t){return e.doSearch()}))("focus",(function(t){return e.doFocus()}))("click",(function(t){return e.doSearch()})),s.Ub())},encapsulation:2}),t})();var Et=n("9ppp");class St extends I.a{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return e&&!e.closed&&t.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new Et.a;return this._value}next(t){super.next(this._value=t)}}var Ct=n("itXk"),xt=n("SxV6");let Ot=(()=>{class t{constructor(t){this.location=t,this.mode=this.location.search().mode||r.a.mode}}return t.\u0275fac=function(e){return new(e||t)(s.Zb(_t.a))},t.\u0275prov=s.Mb({token:t,factory:t.\u0275fac}),t})();var kt=n("jn67"),It=n("qZ0a"),Tt=n("05l1");const jt=kt.a+"navigation.json";let Nt=(()=>{class t{constructor(t,e){this.http=t,this.location=e;const n=this.fetchNavigationInfo();this.navigationViews=this.getNavigationViews(n),this.currentNodes=this.getCurrentNodes(this.navigationViews),this.versionInfo=this.getVersionInfo(n)}fetchNavigationInfo(){const t=this.http.get(jt).pipe(Object(It.a)());return t.connect(),t}getVersionInfo(t){const e=t.pipe(Object(A.a)(t=>t.__versionInfo),Object(It.a)());return e.connect(),e}getNavigationViews(t){const e=t.pipe(Object(A.a)(t=>{const e=Object.assign({},t);return Object.keys(e).forEach(t=>{"_"===t[0]&&delete e[t]}),e}),Object(It.a)());return e.connect(),e}getCurrentNodes(t){const e=Object(Ct.a)([t.pipe(Object(A.a)(t=>this.computeUrlToNavNodesMap(t))),this.location.currentPath]).pipe(Object(A.a)(t=>({navMap:t[0],url:t[1]})),Object(A.a)(t=>{const e=/^api/.exec(t.url);return e&&(t.url=e[0]),t.navMap.get(t.url)||{"":{view:"",url:t.url,nodes:[]}}}),Object(Tt.a)(1));return e.connect(),e}computeUrlToNavNodesMap(t){const e=new Map;return Object.keys(t).forEach(n=>t[n].forEach(t=>this.walkNodes(n,e,t))),e}ensureHasTooltip(t){const e=t.title;null==t.tooltip&&e&&(t.tooltip=e+(/[a-zA-Z0-9]$/.test(e)?".":""))}walkNodes(t,e,n,s=[]){const r=[n,...s],i=n.url;if(this.ensureHasTooltip(n),i){const n=i.replace(/\/$/,"");e.has(n)||e.set(n,{}),e.get(n)[t]={url:i,view:t,nodes:r}}n.children&&n.children.forEach(n=>this.walkNodes(t,e,n,r))}}return t.\u0275fac=function(e){return new(e||t)(s.Zb(o.a),s.Zb(_t.a))},t.\u0275prov=s.Mb({token:t,factory:t.\u0275fac}),t})();var At=n("Faly"),Dt=n("to4i"),Rt=n("TNhP");function Ft(t,e){1&t&&(s.Vb(0,"mat-icon"),s.Ec(1,"open_in_new"),s.Ub())}function Pt(t,e){if(1&t&&(s.Vb(0,"a",3),s.Vb(1,"span"),s.Ec(2),s.Ub(),s.Cc(3,Ft,2,0,"mat-icon",0),s.Ub()),2&t){const t=s.hc(2);s.nc("href",t.node.url,s.xc),s.nc("title",t.node.tooltip),s.mc("ngClass",t.classes)("target",t.isExternalUrl(t.node.url)?"_blank":"_self"),s.Cb(2),s.Fc(t.node.title),s.Cb(1),s.mc("ngIf",t.isExternalUrl(t.node.url))}}function Lt(t,e){1&t&&s.Rb(0,"div",4)}function Mt(t,e){if(1&t&&(s.Vb(0,"div"),s.Cc(1,Pt,4,6,"a",1),s.Cc(2,Lt,1,0,"div",2),s.Ub()),2&t){const t=s.hc();s.Cb(1),s.mc("ngIf",!t.node.divider),s.Cb(1),s.mc("ngIf",t.node.divider)}}function Vt(t,e){if(1&t){const t=s.Wb();s.Vb(0,"a",9),s.dc("click",(function(e){return s.vc(t),s.hc(2).headerClicked()})),s.Vb(1,"span"),s.Ec(2),s.Ub(),s.Rb(3,"mat-icon",10),s.Ub()}if(2&t){const t=s.hc(2);s.nc("href",t.node.url,s.xc),s.nc("title",t.node.tooltip),s.mc("ngClass",t.classes),s.Cb(2),s.Fc(t.node.title)}}function Ht(t,e){if(1&t){const t=s.Wb();s.Vb(0,"button",11),s.dc("click",(function(e){return s.vc(t),s.hc(2).headerClicked()})),s.Vb(1,"span"),s.Ec(2),s.Ub(),s.Rb(3,"mat-icon",10),s.Ub()}if(2&t){const t=s.hc(2);s.nc("title",t.node.tooltip),s.mc("ngClass",t.classes),s.Db("aria-pressed",t.isExpanded),s.Cb(2),s.Fc(t.node.title)}}function Bt(t,e){if(1&t&&s.Rb(0,"aio-nav-item",12),2&t){const t=e.$implicit,n=s.hc(2);s.mc("level",n.level+1)("isWide",n.isWide)("isParentExpanded",n.isExpanded)("node",t)("selectedNodes",n.selectedNodes)}}function zt(t,e){if(1&t&&(s.Vb(0,"div"),s.Cc(1,Vt,4,4,"a",5),s.Cc(2,Ht,4,4,"button",6),s.Vb(3,"div",7),s.Cc(4,Bt,1,5,"aio-nav-item",8),s.Ub(),s.Ub()),2&t){const t=s.hc();s.Cb(1),s.mc("ngIf",!!t.node.url),s.Cb(1),s.mc("ngIf",!t.node.url),s.Cb(1),s.mc("ngClass",t.classes),s.Cb(1),s.mc("ngForOf",t.nodeChildren)}}let Ut=(()=>{class t{constructor(){this.isWide=!1,this.level=1,this.isParentExpanded=!0,this.isExpanded=!1,this.isSelected=!1}ngOnChanges(){if(this.nodeChildren=this.node&&this.node.children?this.node.children.filter(t=>!t.hidden):[],this.selectedNodes){const t=this.selectedNodes.indexOf(this.node);this.isSelected=-1!==t,this.isExpanded=this.isParentExpanded&&(this.isSelected||this.isWide&&this.isExpanded)}else this.isSelected=!1;this.setClasses()}setClasses(){this.classes={["level-"+this.level]:!0,collapsed:!this.isExpanded,expanded:this.isExpanded,selected:this.isSelected}}headerClicked(){this.isExpanded=!this.isExpanded,this.setClasses()}isExternalUrl(t){return/^https?:/.test(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Kb({type:t,selectors:[["aio-nav-item"]],inputs:{isWide:"isWide",level:"level",node:"node",isParentExpanded:"isParentExpanded",selectedNodes:"selectedNodes"},features:[s.Ab()],decls:2,vars:2,consts:[[4,"ngIf"],["class","vertical-menu-item","style","position: relative",3,"href","ngClass","title","target",4,"ngIf"],["class","mat-divider","style","margin: 4px 20px; border-top: 1px solid lightgray",4,"ngIf"],[1,"vertical-menu-item",2,"position","relative",3,"href","ngClass","title","target"],[1,"mat-divider",2,"margin","4px 20px","border-top","1px solid lightgray"],["class","vertical-menu-item heading",3,"href","ngClass","title","click",4,"ngIf"],["type","button","class","vertical-menu-item heading",3,"ngClass","title","click",4,"ngIf"],[1,"heading-children",3,"ngClass"],[3,"level","isWide","isParentExpanded","node","selectedNodes",4,"ngFor","ngForOf"],[1,"vertical-menu-item","heading",3,"href","ngClass","title","click"],["svgIcon","keyboard_arrow_right",1,"rotating-icon"],["type","button",1,"vertical-menu-item","heading",3,"ngClass","title","click"],[3,"level","isWide","isParentExpanded","node","selectedNodes"]],template:function(t,e){1&t&&(s.Cc(0,Mt,3,2,"div",0),s.Cc(1,zt,5,4,"div",0)),2&t&&(s.mc("ngIf",!e.node.children),s.Cb(1),s.mc("ngIf",e.node.children))},directives:[l.j,l.s,h.a,l.i,t],encapsulation:2}),t})();function $t(t,e){if(1&t&&s.Rb(0,"aio-nav-item",1),2&t){const t=e.$implicit,n=s.hc();s.mc("node",t)("selectedNodes",null==n.currentNode?null:n.currentNode.nodes)("isWide",n.isWide)}}let Zt=(()=>{class t{constructor(){this.isWide=!1}get filteredNodes(){return this.nodes?this.nodes.filter(t=>!t.hidden):[]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Kb({type:t,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(t,e){1&t&&s.Cc(0,$t,1,3,"aio-nav-item",0),2&t&&s.mc("ngForOf",e.filteredNodes)},directives:[l.i,Ut],encapsulation:2}),t})();var qt=n("x4lQ");function Qt(t,e){if(1&t&&(s.Vb(0,"div",1),s.Vb(1,"p"),s.Ec(2,"This is the "),s.Vb(3,"strong"),s.Ec(4),s.Ub(),s.Ec(5," Please visit "),s.Vb(6,"a",2),s.Ec(7,"angular.io"),s.Ub(),s.Ec(8," to see documentation for the current version of Angular."),s.Ub(),s.Ub()),2&t){const t=s.hc();s.Cb(4),s.Gc("archived documentation for Angular v",null==t.version?null:t.version.major,".")}}let Wt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Kb({type:t,selectors:[["aio-mode-banner"]],inputs:{mode:"mode",version:"version"},decls:1,vars:1,consts:[["class","mode-banner alert archive-warning",4,"ngIf"],[1,"mode-banner","alert","archive-warning"],["href","https://angular.cn/"]],template:function(t,e){1&t&&s.Cc(0,Qt,9,1,"div",0),2&t&&s.mc("ngIf","archive"==e.mode)},directives:[l.j],encapsulation:2}),t})();var Kt=n("LRne"),Gt=n("7Hc7"),Xt=n("HDdC"),Yt=n("PqYM"),Jt=n("pxpQ"),te=n("eIep"),ee=n("vkgz"),ne=n("JIr8"),se=n("vHPH");const re=[{selector:"aio-announcement-bar",loadChildren:()=>n.e(2).then(n.bind(null,"5UAH")).then(t=>t.AnnouncementBarModule)},{selector:"aio-api-list",loadChildren:()=>n.e(3).then(n.bind(null,"dth9")).then(t=>t.ApiListModule)},{selector:"aio-contributor-list",loadChildren:()=>n.e(7).then(n.bind(null,"fPy6")).then(t=>t.ContributorListModule)},{selector:"aio-file-not-found-search",loadChildren:()=>n.e(13).then(n.bind(null,"Afo1")).then(t=>t.FileNotFoundSearchModule)},{selector:"aio-resource-list",loadChildren:()=>n.e(12).then(n.bind(null,"6U+v")).then(t=>t.ResourceListModule)},{selector:"aio-toc",loadChildren:()=>n.e(15).then(n.bind(null,"+1zh")).then(t=>t.TocModule)},{selector:"code-example",loadChildren:()=>Promise.all([n.e(1),n.e(5)]).then(n.bind(null,"DzVX")).then(t=>t.CodeExampleModule)},{selector:"code-tabs",loadChildren:()=>Promise.all([n.e(1),n.e(6)]).then(n.bind(null,"g5Zp")).then(t=>t.CodeTabsModule)},{selector:"live-example",loadChildren:()=>n.e(8).then(n.bind(null,"m7ka")).then(t=>t.LiveExampleModule)}],ie=new s.q("aio/elements-map"),oe=new Map;re.forEach(t=>{oe.set(t.selector,t.loadChildren)});var ae=n("Cfvw");const ce=(()=>{const t=Element.prototype;return t.matches||t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector})(),le={schedule(t,e){const n=setTimeout(t,e);return()=>clearTimeout(n)},scheduleBeforeRender(t){if("undefined"==typeof window)return le.schedule(t,0);if(void 0===window.requestAnimationFrame)return le.schedule(t,16);const e=window.requestAnimationFrame(t);return()=>window.cancelAnimationFrame(e)}};function ue(t,e,n){let s=n;return function(t){return!!t&&t.nodeType===Node.ELEMENT_NODE}(t)&&e.some((e,n)=>!("*"===e||!function(t,e){return ce.call(t,e)}(t,e)||(s=n,0))),s}class he{constructor(t,e){this.component=t,this.injector=e,this.componentFactory=e.get(s.j).resolveComponentFactory(t)}create(t){return new de(this.componentFactory,t)}}class de{constructor(t,e){this.componentFactory=t,this.injector=e,this.inputChanges=null,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.uninitializedInputs=new Set}connect(t){if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);this.componentRef||this.initializeComponent(t)}disconnect(){this.componentRef&&null===this.scheduledDestroyFn&&(this.scheduledDestroyFn=le.schedule(()=>{this.componentRef&&(this.componentRef.destroy(),this.componentRef=null)},10))}getInputValue(t){return this.componentRef?this.componentRef.instance[t]:this.initialInputValues.get(t)}setInputValue(t,e){var n,s;this.componentRef?(n=e)===(s=this.getInputValue(t))||n!=n&&s!=s||(this.recordInputChange(t,e),this.componentRef.instance[t]=e,this.scheduleDetectChanges()):this.initialInputValues.set(t,e)}initializeComponent(t){const e=s.r.create({providers:[],parent:this.injector}),n=function(t,e){const n=t.childNodes,s=e.map(()=>[]);let r=-1;e.some((t,e)=>"*"===t&&(r=e,!0));for(let i=0,o=n.length;i<o;++i){const t=n[i],o=ue(t,e,r);-1!==o&&s[o].push(t)}return s}(t,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(e,n,t),this.implementsOnChanges="function"==typeof this.componentRef.instance.ngOnChanges,this.initializeInputs(),this.initializeOutputs(),this.detectChanges(),this.injector.get(s.g).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:t})=>{this.initialInputValues.has(t)?this.setInputValue(t,this.initialInputValues.get(t)):this.uninitializedInputs.add(t)}),this.initialInputValues.clear()}initializeOutputs(){const t=this.componentFactory.outputs.map(({propName:t,templateName:e})=>this.componentRef.instance[t].pipe(Object(A.a)(t=>({name:e,value:t}))));this.events=Object(T.a)(...t)}callNgOnChanges(){if(!this.implementsOnChanges||null===this.inputChanges)return;const t=this.inputChanges;this.inputChanges=null,this.componentRef.instance.ngOnChanges(t)}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=le.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(t,e){if(this.componentRef&&!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const n=this.inputChanges[t];if(n)return void(n.currentValue=e);const r=this.uninitializedInputs.has(t);this.uninitializedInputs.delete(t);const i=r?void 0:this.getInputValue(t);this.inputChanges[t]=new s.J(i,e,r)}detectChanges(){this.componentRef&&(this.callNgOnChanges(),this.componentRef.changeDetectorRef.detectChanges())}}class fe extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}let pe=(()=>{class t{constructor(t,e,n){this.moduleRef=t,this.compiler=n,this.elementsLoading=new Map,this.elementsToLoad=new Map(e)}loadContainedCustomElements(t){const e=Array.from(this.elementsToLoad.keys()).filter(e=>t.querySelector(e));if(!e.length)return Object(Kt.a)(void 0);const n=Promise.all(e.map(t=>this.loadCustomElement(t)));return Object(ae.a)(n.then(()=>{}))}loadCustomElement(t){if(this.elementsLoading.has(t))return this.elementsLoading.get(t);if(this.elementsToLoad.has(t)){const e=this.elementsToLoad.get(t)().then(t=>t instanceof s.v?t:this.compiler.compileModuleAsync(t)).then(e=>{const n=e.create(this.moduleRef.injector),r=function(t,e){const n=function(t,e){return e.get(s.j).resolveComponentFactory(t).inputs}(t,e.injector),r=e.strategyFactory||new he(t,e.injector),i=function(t){const e={};return t.forEach(({propName:t,templateName:n})=>{var s;e[(s=n,s.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`))]=t}),e}(n);class o extends fe{constructor(t){super(),this.ngElementStrategy=r.create(t||e.injector)}attributeChangedCallback(t,n,s,o){this.ngElementStrategy||(this.ngElementStrategy=r.create(e.injector)),this.ngElementStrategy.setInputValue(i[t],s)}connectedCallback(){this.ngElementStrategy||(this.ngElementStrategy=r.create(e.injector)),this.ngElementStrategy.connect(this),this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(t=>{const e=function(t,e,n){if("function"!=typeof CustomEvent){const s=t.createEvent("CustomEvent");return s.initCustomEvent(e,!1,!1,n),s}return new CustomEvent(e,{bubbles:!1,cancelable:!1,detail:n})}(this.ownerDocument,t.name,t.value);this.dispatchEvent(e)})}disconnectedCallback(){this.ngElementStrategy&&this.ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}}return o.observedAttributes=Object.keys(i),n.map(({propName:t})=>t).forEach(t=>{Object.defineProperty(o.prototype,t,{get:function(){return this.ngElementStrategy.getInputValue(t)},set:function(e){this.ngElementStrategy.setInputValue(t,e)},configurable:!0,enumerable:!0})}),o}(n.instance.customElementComponent,{injector:n.injector});return customElements.define(t,r),customElements.whenDefined(t)}).then(()=>{this.elementsLoading.delete(t),this.elementsToLoad.delete(t)}).catch(e=>(this.elementsLoading.delete(t),Promise.reject(e)));return this.elementsLoading.set(t,e),e}return Promise.resolve()}}return t.\u0275fac=function(e){return new(e||t)(s.Zb(s.x),s.Zb(ie),s.Zb(s.i))},t.\u0275prov=s.Mb({token:t,factory:t.\u0275fac}),t})();const me=document.querySelector("aio-doc-viewer"),be=me?me.innerHTML:"";let ge=(()=>{class t{constructor(t,e,n,r,i){this.logger=e,this.titleService=n,this.tocService=r,this.elementsLoader=i,this.void$=Object(Kt.a)(void 0),this.onDestroy$=new s.n,this.docContents$=new s.n,this.currViewContainer=document.createElement("div"),this.nextViewContainer=document.createElement("div"),this.docReady=new s.n,this.docRemoved=new s.n,this.docInserted=new s.n,this.docRendered=new s.n,this.hostElement=t.nativeElement,this.hostElement.innerHTML=be,this.hostElement.firstElementChild&&(this.currViewContainer=this.hostElement.firstElementChild),this.docContents$.pipe(Object(Jt.b)(Gt.a),Object(te.a)(t=>this.render(t)),Object(j.a)(this.onDestroy$)).subscribe()}set doc(t){t&&this.docContents$.emit(t)}ngOnDestroy(){this.onDestroy$.emit()}prepareTitleAndToc(t,e){const n=t.querySelector("h1"),s=!!n&&!/no-?toc/i.test(n.className),r=t.querySelector("aio-toc.embedded");return s&&!r?n.insertAdjacentHTML("afterend",'<aio-toc class="embedded"></aio-toc>'):!s&&r&&null!==r.parentNode&&r.parentNode.removeChild(r),()=>{this.tocService.reset();let r="";n&&(r="string"==typeof n.innerText?n.innerText:n.textContent,s&&this.tocService.genToc(t,e)),this.titleService.setTitle(r?`Angular - ${r}`:"Angular")}}render(t){let e;return this.setNoIndex(t.id===kt.e||t.id===kt.d),this.void$.pipe(Object(ee.a)(()=>this.nextViewContainer.innerHTML=t.contents||""),Object(ee.a)(()=>e=this.prepareTitleAndToc(this.nextViewContainer,t.id)),Object(te.a)(()=>this.elementsLoader.loadContainedCustomElements(this.nextViewContainer)),Object(ee.a)(()=>this.docReady.emit()),Object(te.a)(()=>this.swapViews(e)),Object(ee.a)(()=>this.docRendered.emit()),Object(ne.a)(e=>{const n=e instanceof Error?e.stack:e;return this.logger.error(new Error(`[DocViewer] Error preparing document '${t.id}': ${n}`)),this.nextViewContainer.innerHTML="",this.setNoIndex(!0),this.void$}))}setNoIndex(t){console.log("no index: ",t)}swapViews(e=(()=>{})){const n=new Xt.a(t=>{const e=requestAnimationFrame(()=>{t.next(),t.complete()});return()=>cancelAnimationFrame(e)}),s=(e,s,r,i,o=200)=>{const a=!t.animationsEnabled||this.hostElement.classList.contains("no-animations");return"length"===s||"parentRule"===s?this.void$:(e.style.transition="",a?this.void$.pipe(Object(ee.a)(()=>e.style[s]=i)):this.void$.pipe(Object(te.a)(()=>n),Object(ee.a)(()=>e.style[s]=r),Object(te.a)(()=>n),Object(ee.a)(()=>e.style.transition=`all ${o}ms ease-in-out`),Object(te.a)(()=>n),Object(ee.a)(()=>e.style[s]=i),Object(te.a)(()=>Object(Yt.a)((t=>{const e=getComputedStyle(t).transitionDuration||"";return 1e3*Number(e.replace(/s$/,""))})(e))),Object(te.a)(()=>this.void$)))};let r=this.void$;return this.currViewContainer.parentElement&&(r=r.pipe(Object(te.a)(()=>s(this.currViewContainer,"opacity","1","0.1")),Object(ee.a)(()=>this.currViewContainer.parentElement.removeChild(this.currViewContainer)),Object(ee.a)(()=>this.docRemoved.emit()))),r.pipe(Object(ee.a)(()=>this.hostElement.appendChild(this.nextViewContainer)),Object(ee.a)(()=>e()),Object(ee.a)(()=>this.docInserted.emit()),Object(te.a)(()=>s(this.nextViewContainer,"opacity","0.1","1")),Object(ee.a)(()=>{const t=this.currViewContainer;this.currViewContainer=this.nextViewContainer,this.nextViewContainer=t,this.nextViewContainer.innerHTML=""}))}toggleTranslationOrigin(t){const e=function(t){for(;t&&!t.hasAttribute("translation-result");)t=t.parentElement;return t}(t.target);if(e&&e.hasAttribute("translation-result")){const t=e.nextElementSibling;if(!t||t.hasAttribute("translation-result")||t.tagName!==e.tagName)return;"on"===t.getAttribute("translation-origin")?t.setAttribute("translation-origin","off"):t.setAttribute("translation-origin","on")}}}return t.animationsEnabled=!0,t.\u0275fac=function(e){return new(e||t)(s.Qb(s.l),s.Qb(se.a),s.Qb(i.d),s.Qb(Rt.a),s.Qb(pe))},t.\u0275cmp=s.Kb({type:t,selectors:[["aio-doc-viewer"]],hostBindings:function(t,e,n){1&t&&s.dc("click",(function(t){return e.toggleTranslationOrigin(t)}))},inputs:{doc:"doc"},outputs:{docReady:"docReady",docRemoved:"docRemoved",docInserted:"docInserted",docRendered:"docRendered"},decls:0,vars:0,template:function(t,e){},encapsulation:2}),t})();function ye(t,e){if(1&t&&(s.Vb(0,"li"),s.Vb(1,"a",6),s.Ec(2),s.Ub(),s.Ub()),2&t){const t=e.$implicit;s.Cb(1),s.mc("href",t.url,s.xc)("title",t.tooltip||t.title),s.Cb(1),s.Fc(t.title)}}function _e(t,e){if(1&t&&(s.Vb(0,"div",4),s.Vb(1,"h3"),s.Ec(2),s.Ub(),s.Vb(3,"ul"),s.Cc(4,ye,3,3,"li",5),s.Ub(),s.Ub()),2&t){const t=e.$implicit;s.Cb(2),s.Fc(t.title),s.Cb(2),s.mc("ngForOf",t.children)}}let ve=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Kb({type:t,selectors:[["aio-footer"]],inputs:{nodes:"nodes",versionInfo:"versionInfo"},decls:12,vars:2,consts:[[1,"grid-fluid"],["class","footer-block",4,"ngFor","ngForOf"],["href","license","title","License text"],["href","http://creativecommons.org/licenses/by/4.0/"],[1,"footer-block"],[4,"ngFor","ngForOf"],[1,"link",3,"href","title"]],template:function(t,e){1&t&&(s.Vb(0,"div",0),s.Cc(1,_e,5,2,"div",1),s.Ub(),s.Vb(2,"p"),s.Ec(3," Super-powered by Google \xa92010-2020. \u4ee3\u7801\u6388\u6743\u65b9\u5f0f\uff1a"),s.Vb(4,"a",2),s.Ec(5,"MIT-style License"),s.Ub(),s.Ec(6,". \u6587\u6863\u6388\u6743\u65b9\u5f0f\uff1a"),s.Vb(7,"a",3),s.Ec(8,"CC BY 4.0"),s.Ub(),s.Ec(9,".\n"),s.Ub(),s.Vb(10,"p"),s.Ec(11),s.Ub()),2&t&&(s.Cb(1),s.mc("ngForOf",e.nodes),s.Cb(10),s.Gc(" \u5f53\u524d\u7248\u672c\uff1a",null==e.versionInfo?null:e.versionInfo.full,".\n"))},directives:[l.i],encapsulation:2}),t})();function we(t,e){if(1&t&&(s.Vb(0,"li"),s.Vb(1,"a",2),s.Vb(2,"span",3),s.Ec(3),s.Ub(),s.Ub(),s.Ub()),2&t){const t=e.$implicit;s.Cb(1),s.Gb("highlight",t.highlight),s.mc("href",t.url,s.xc)("title",t.title),s.Cb(2),s.Fc(t.title)}}let Ee=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Kb({type:t,selectors:[["aio-top-menu"]],inputs:{nodes:"nodes"},decls:2,vars:1,consts:[["role","navigation"],[4,"ngFor","ngForOf"],[1,"nav-link",3,"href","title"],[1,"nav-link-inner"]],template:function(t,e){1&t&&(s.Vb(0,"ul",0),s.Cc(1,we,4,5,"li",1),s.Ub()),2&t&&(s.Cb(1),s.mc("ngForOf",e.nodes))},directives:[l.i],styles:[".nav-link.highlight[_ngcontent-%COMP%] {\n color: yellow;\n }"]}),t})();var Se=n("LwjS");const Ce=["dt"];let xe=(()=>{class t{constructor(){this.docChange=new s.n}get text(){return this.doc&&this.doc.contents}dtextSet(){this.doc.contents=this.dt.nativeElement.value,this.docChange.emit(Object.assign({},this.doc))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=s.Kb({type:t,selectors:[["aio-dt"]],viewQuery:function(t,e){var n;1&t&&s.Ac(Ce,!0,s.l),2&t&&s.rc(n=s.ec())&&(e.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(t,e){1&t&&(s.Vb(0,"div"),s.Rb(1,"hr"),s.Rb(2,"textarea",0,1),s.Rb(4,"br"),s.Vb(5,"button",2),s.dc("click",(function(t){return e.dtextSet()})),s.Ec(6,"Show change"),s.Ub(),s.Ub()),2&t&&(s.Cb(2),s.mc("value",e.text))},encapsulation:2}),t})(),Oe=(()=>{class t{constructor(t,e,n){this.elementRef=t,this.elementsLoader=e,this.logger=n,this.selector=""}ngOnInit(){this.selector&&!/[^\w-]/.test(this.selector)?(this.elementRef.nativeElement.innerHTML=`<${this.selector}></${this.selector}>`,this.elementsLoader.loadCustomElement(this.selector)):this.logger.error(new Error(`Invalid selector for 'aio-lazy-ce': ${this.selector}`))}}return t.\u0275fac=function(e){return new(e||t)(s.Qb(s.l),s.Qb(pe),s.Qb(se.a))},t.\u0275cmp=s.Kb({type:t,selectors:[["aio-lazy-ce"]],inputs:{selector:"selector"},decls:0,vars:0,template:function(t,e){},encapsulation:2}),t})();const ke=["searchBox","searchResultsView"];function Ie(t,e){1&t&&(s.Vb(0,"div",38),s.Rb(1,"mat-progress-bar",39),s.Ub())}function Te(t,e){1&t&&s.Rb(0,"img",40)}function je(t,e){1&t&&s.Rb(0,"img",41)}function Ne(t,e){if(1&t&&s.Rb(0,"aio-top-menu",42),2&t){const t=s.hc();s.mc("nodes",t.topMenuNodes)}}function Ae(t,e){if(1&t){const t=s.Wb();s.Vb(0,"aio-search-results",43,44),s.dc("resultSelected",(function(e){return s.vc(t),s.hc().hideSearchResults()})),s.ic(2,"async"),s.Ub()}if(2&t){const t=s.hc();s.mc("searchResults",s.jc(2,1,t.searchResults))}}function De(t,e){if(1&t&&s.Rb(0,"aio-nav-menu",27),2&t){const t=s.hc();s.mc("nodes",t.topMenuNarrowNodes)("currentNode",null==t.currentNodes?null:t.currentNodes.TopBarNarrow)("isWide",!1)}}function Re(t,e){if(1&t){const t=s.Wb();s.Vb(0,"aio-dt",45),s.dc("docChange",(function(e){return s.vc(t),s.hc().currentDocument=e})),s.Ub()}if(2&t){const t=s.hc();s.mc("doc",t.currentDocument)}}function Fe(t,e){if(1&t){const t=s.Wb();s.Vb(0,"div",46),s.dc("wheel",(function(e){return s.vc(t),s.hc().restrainScrolling(e)})),s.Rb(1,"aio-lazy-ce",47),s.Ub()}if(2&t){const t=s.hc();s.Bc("max-height",t.tocMaxHeight,"px")}}function Pe(t,e){1&t&&(s.Vb(0,"div",48),s.Vb(1,"mat-icon"),s.Ec(2,"\xa0"),s.Ub(),s.Ub())}const Le=function(t){return{collapsed:t}};let Me=(()=>{class t{constructor(t,e,n,s,r,i,o,a){this.deployment=t,this.documentService=e,this.hostElement=n,this.locationService=s,this.navigationService=r,this.scrollService=i,this.searchService=o,this.tocService=a,this.currentNodes={},this.dtOn=!1,this.hostClasses="",this.isStarting=!0,this.isTransitioning=!0,this.isFetching=!1,this.isSideBySide=!1,this.isSideNavDoc=!1,this.sideBySideWidth=992,this.hasFloatingToc=!1,this.showFloatingToc=new St(!1),this.showFloatingTocWidth=800,this.tocMaxHeightOffset=0,this.showSearchResults=!1,this.notificationAnimating=!1}get isOpened(){return this.isSideBySide&&this.isSideNavDoc}get mode(){return this.isSideBySide?"side":"over"}ngOnInit(){"Worker"in window&&this.searchService.initWorker(2e3),this.onResize(window.innerWidth),this.documentService.currentDocument.subscribe(t=>this.currentDocument=t),this.locationService.currentPath.subscribe(t=>{t===this.currentPath?this.scrollService.scroll():(this.currentPath=t,clearTimeout(this.isFetchingTimeout),this.isFetchingTimeout=setTimeout(()=>this.isFetching=!0,200))}),this.navigationService.currentNodes.subscribe(t=>{this.currentNodes=t,"archive"!==this.deployment.mode||t.SideNav||this.locationService.replace("docs")}),Object(Ct.a)([this.navigationService.versionInfo,this.navigationService.navigationViews.pipe(Object(A.a)(t=>t.docVersions))]).subscribe(([t,e])=>{const n=[{title:"next",url:"https://next.angular.io"},{title:"stable",url:"https://angular.cn"}];"archive"===this.deployment.mode&&n.push({title:`v${t.major}`}),this.docVersions=[...n,...e],this.currentDocVersion=this.docVersions.find(e=>e.title===this.deployment.mode||e.title===`v${t.major}`),this.currentDocVersion.title+=` (v${t.raw})`}),this.navigationService.navigationViews.subscribe(t=>{this.footerNodes=t.Footer||[],this.sideNavNodes=t.SideNav||[],this.topMenuNodes=t.TopBar||[],this.topMenuNarrowNodes=t.TopBarNarrow||this.topMenuNodes}),this.navigationService.versionInfo.subscribe(t=>this.versionInfo=t);const t=this.tocService.tocList.pipe(Object(A.a)(t=>t.length>0));Object(Ct.a)([t,this.showFloatingToc]).subscribe(([t,e])=>this.hasFloatingToc=t&&e),Object(Ct.a)([this.documentService.currentDocument,this.navigationService.currentNodes]).pipe(Object(xt.a)()).subscribe(()=>this.updateShell())}onDocReady(){this.isTransitioning=!0,clearTimeout(this.isFetchingTimeout),setTimeout(()=>this.isFetching=!1,500)}onDocRemoved(){this.scrollService.removeStoredScrollInfo()}onDocInserted(){setTimeout(()=>this.updateShell()),this.scrollService.scrollAfterRender(500)}onDocRendered(){this.isStarting&&setTimeout(()=>this.isStarting=!1,100),this.isTransitioning=!1}onDocVersionChange(t){const e=this.docVersions[t];e.url&&this.locationService.go(e.url)}onResize(t){this.isSideBySide=t>=this.sideBySideWidth,this.showFloatingToc.next(t>this.showFloatingTocWidth),this.isSideBySide&&!this.isSideNavDoc&&this.sidenav.toggle(!1)}onClick(t,e,n,s,r){if(this.searchElements.some(e=>e.nativeElement.contains(t))||this.hideSearchResults(),"FOOTER"===t.tagName&&s&&r)return this.dtOn=!this.dtOn,!1;let i=t;for(;i&&!(i instanceof HTMLAnchorElement);)i=i.parentElement;return!(i instanceof HTMLAnchorElement)||this.locationService.handleAnchorClick(i,e,n,s)}setPageId(t){this.pageId="index"===t?"home":t.replace("/","-")}setFolderId(t){this.folderId="index"===t?"home":t.split("/",1)[0]}notificationDismissed(){this.notificationAnimating=!0,setTimeout(()=>this.notificationAnimating=!1,250),this.updateHostClasses()}updateHostClasses(){const t=`mode-${this.deployment.mode}`,e=`sidenav-${this.sidenav.opened?"open":"closed"}`,n=`page-${this.pageId}`,s=`folder-${this.folderId}`,r=Object.keys(this.currentNodes).map(t=>`view-${t}`).join(" ");this.hostClasses=[t,e,n,s,r,`aio-notification-${this.notification.showNotification}`,this.notificationAnimating?"aio-notification-animating":""].join(" ")}updateShell(){this.updateSideNav(),this.setPageId(this.currentDocument.id),this.setFolderId(this.currentDocument.id),this.updateHostClasses()}updateSideNav(){let t=this.sidenav.opened;const e=!!this.currentNodes.SideNav;this.isSideNavDoc!==e&&(t=this.isSideNavDoc=e),this.sidenav.toggle(this.isSideBySide&&t)}onScroll(){if(!this.tocMaxHeightOffset){const t=this.hostElement.nativeElement,e=t.querySelector(".app-toolbar"),n=t.querySelector("footer");e&&n&&(this.tocMaxHeightOffset=e.clientHeight+n.clientHeight+24)}this.tocMaxHeight=(document.body.scrollHeight-window.pageYOffset-this.tocMaxHeightOffset).toFixed(2)}restrainScrolling(t){const e=t.currentTarget,n=e.scrollTop;t.deltaY<0?n<1&&t.preventDefault():e.scrollHeight-e.clientHeight-n<1&&t.preventDefault()}hideSearchResults(){this.showSearchResults=!1;const t=this.locationService.search();void 0!==t.search&&this.locationService.setSearch("",Object.assign(Object.assign({},t),{search:void 0}))}focusSearchBox(){this.searchBox&&this.searchBox.focus()}doSearch(t){this.searchResults=this.searchService.search(t),this.showSearchResults=!!t}onKeyUp(t,e){"/"!==t&&191!==e||this.focusSearchBox(),"Escape"!==t&&27!==e||this.showSearchResults&&(this.hideSearchResults(),this.focusSearchBox())}}return t.\u0275fac=function(e){return new(e||t)(s.Qb(Ot),s.Qb(kt.c),s.Qb(s.l),s.Qb(_t.a),s.Qb(Nt),s.Qb(At.a),s.Qb(Dt.a),s.Qb(Rt.a))},t.\u0275cmp=s.Kb({type:t,selectors:[["aio-shell"]],viewQuery:function(t,e){var n;1&t&&(s.Ac(wt,!0),s.Ac(nt,!0),s.Ac(yt,!0),s.Jc(ke,!0,s.l)),2&t&&(s.rc(n=s.ec())&&(e.searchBox=n.first),s.rc(n=s.ec())&&(e.sidenav=n.first),s.rc(n=s.ec())&&(e.notification=n.first),s.rc(n=s.ec())&&(e.searchElements=n))},hostVars:3,hostBindings:function(t,e,n){1&t&&s.dc("resize",(function(t){return e.onResize(t.target.innerWidth)}),!1,s.uc)("click",(function(t){return e.onClick(t.target,t.button,t.ctrlKey,t.metaKey,t.altKey)}))("scroll",(function(t){return e.onScroll()}),!1,s.uc)("keyup",(function(t){return e.onKeyUp(t.key,t.which)}),!1,s.tc),2&t&&(s.Ic("@.disabled",e.isStarting),s.Eb(e.hostClasses))},decls:43,vars:36,consts:[["id","top-of-page"],["class","progress-bar-container",4,"ngIf"],["color","primary",1,"app-toolbar","no-print"],[1,"notification-container"],["notificationId","survey-february-2019","expirationDate","2019-03-01",3,"dismissOnContentClick","dismissed"],["href","http://bit.ly/angular-survey-2019","target","_blank"],["svgIcon","insert_comment","aria-label","Announcement",1,"icon"],[1,"message"],[1,"action-button"],["mat-button","","title","Docs menu",1,"hamburger",3,"click"],["svgIcon","menu"],["href","/",1,"nav-link","home",3,"ngSwitch"],["src","assets/images/logos/angular/logo-nav@2x.png","width","150","height","40","title","Home","alt","Home",4,"ngSwitchCase"],["src","assets/images/logos/angular/shield-large.svg","width","37","height","40","title","Home","alt","Home",4,"ngSwitchDefault"],[3,"nodes",4,"ngIf"],[1,"search-container",3,"onSearch","onFocus"],["searchBox",""],[1,"toolbar-external-icons-container"],["href","https://twitter.com/angular","title","Twitter","aria-label","Angular on twitter"],["svgIcon","logos:twitter"],["href","https://github.com/angular/angular","title","GitHub","aria-label","Angular on github"],["svgIcon","logos:github"],[3,"searchResults","resultSelected",4,"ngIf"],["role","main",1,"sidenav-container"],[1,"sidenav",3,"ngClass","mode","opened","openedChange"],["sidenav",""],[3,"nodes","currentNode","isWide",4,"ngIf"],[3,"nodes","currentNode","isWide"],[1,"doc-version"],[3,"options","selected","change"],["role","main",1,"sidenav-content",3,"id"],[3,"mode","version"],[3,"doc","docReady","docRemoved","docInserted","docRendered"],[3,"doc","docChange",4,"ngIf"],["class","toc-container no-print",3,"max-height","wheel",4,"ngIf"],[1,"no-print"],[3,"nodes","versionInfo"],["class","cdk-visually-hidden",4,"ngIf"],[1,"progress-bar-container"],["mode","indeterminate","color","warn"],["src","assets/images/logos/angular/logo-nav@2x.png","width","150","height","40","title","Home","alt","Home"],["src","assets/images/logos/angular/shield-large.svg","width","37","height","40","title","Home","alt","Home"],[3,"nodes"],[3,"searchResults","resultSelected"],["searchResultsView",""],[3,"doc","docChange"],[1,"toc-container","no-print",3,"wheel"],["selector","aio-toc"],[1,"cdk-visually-hidden"]],template:function(t,e){if(1&t){const t=s.Wb();s.Rb(0,"div",0),s.Cc(1,Ie,2,0,"div",1),s.Vb(2,"mat-toolbar",2),s.Vb(3,"mat-toolbar-row",3),s.Vb(4,"aio-notification",4),s.dc("dismissed",(function(t){return e.notificationDismissed()})),s.Vb(5,"a",5),s.Rb(6,"mat-icon",6),s.Vb(7,"span",7),s.Vb(8,"b"),s.Ec(9,"\u586b\u5199\u8fd9\u4efd\u300a\u4e00\u5206\u949f\u8c03\u67e5\u300b"),s.Ub(),s.Ec(10,"\uff0c\u5e2e\u6211\u4eec\uff08\u5f00\u53d1\u7ec4\uff09\u505a\u5f97\u66f4\u597d\uff01"),s.Ub(),s.Vb(11,"span",8),s.Ec(12,"\u53bb\u586b\u5199"),s.Ub(),s.Ub(),s.Ub(),s.Ub(),s.Vb(13,"mat-toolbar-row"),s.Vb(14,"button",9),s.dc("click",(function(e){return s.vc(t),s.sc(30).toggle()})),s.Rb(15,"mat-icon",10),s.Ub(),s.Vb(16,"a",11),s.Cc(17,Te,1,0,"img",12),s.Cc(18,je,1,0,"img",13),s.Ub(),s.Cc(19,Ne,1,1,"aio-top-menu",14),s.Vb(20,"aio-search-box",15,16),s.dc("onSearch",(function(t){return e.doSearch(t)}))("onFocus",(function(t){return e.doSearch(t)})),s.Ub(),s.Vb(22,"div",17),s.Vb(23,"a",18),s.Rb(24,"mat-icon",19),s.Ub(),s.Vb(25,"a",20),s.Rb(26,"mat-icon",21),s.Ub(),s.Ub(),s.Ub(),s.Ub(),s.Cc(27,Ae,3,3,"aio-search-results",22),s.Vb(28,"mat-sidenav-container",23),s.Vb(29,"mat-sidenav",24,25),s.dc("openedChange",(function(t){return e.updateHostClasses()})),s.Cc(31,De,1,3,"aio-nav-menu",26),s.Rb(32,"aio-nav-menu",27),s.Vb(33,"div",28),s.Vb(34,"aio-select",29),s.dc("change",(function(t){return e.onDocVersionChange(t.index)})),s.Ub(),s.Ub(),s.Ub(),s.Vb(35,"main",30),s.Rb(36,"aio-mode-banner",31),s.Vb(37,"aio-doc-viewer",32),s.dc("docReady",(function(t){return e.onDocReady()}))("docRemoved",(function(t){return e.onDocRemoved()}))("docInserted",(function(t){return e.onDocInserted()}))("docRendered",(function(t){return e.onDocRendered()})),s.Ub(),s.Cc(38,Re,1,1,"aio-dt",33),s.Ub(),s.Ub(),s.Cc(39,Fe,2,2,"div",34),s.Vb(40,"footer",35),s.Rb(41,"aio-footer",36),s.Ub(),s.Cc(42,Pe,3,0,"div",37)}2&t&&(s.Cb(1),s.mc("ngIf",e.isFetching),s.Cb(1),s.Gb("transitioning",e.isTransitioning),s.Cb(2),s.mc("dismissOnContentClick",!0),s.Cb(10),s.Gb("starting",e.isStarting),s.Cb(2),s.mc("ngSwitch",e.isSideBySide),s.Cb(1),s.mc("ngSwitchCase",!0),s.Cb(2),s.mc("ngIf",e.isSideBySide),s.Cb(8),s.mc("ngIf",e.showSearchResults),s.Cb(1),s.Gb("starting",e.isStarting)("has-floating-toc",e.hasFloatingToc),s.Cb(1),s.mc("ngClass",s.pc(34,Le,!e.isSideBySide))("mode",e.mode)("opened",e.isOpened),s.Cb(2),s.mc("ngIf",!e.isSideBySide),s.Cb(1),s.mc("nodes",e.sideNavNodes)("currentNode",null==e.currentNodes?null:e.currentNodes.SideNav)("isWide",e.isSideBySide),s.Cb(2),s.mc("options",e.docVersions)("selected",e.currentDocVersion),s.Cb(1),s.mc("id",e.pageId),s.Cb(1),s.mc("mode",e.deployment.mode)("version",e.versionInfo),s.Cb(1),s.Gb("no-animations",e.isStarting),s.mc("doc",e.currentDocument),s.Cb(1),s.mc("ngIf",e.dtOn),s.Cb(1),s.mc("ngIf",e.hasFloatingToc),s.Cb(2),s.mc("nodes",e.footerNodes)("versionInfo",e.versionInfo),s.Cb(1),s.mc("ngIf",!e.isStarting))},directives:[l.j,dt,ht,yt,h.a,u.a,l.k,l.l,l.m,wt,rt,nt,l.s,Zt,qt.a,Wt,ge,ve,E,Ee,Se.a,xe,Oe],pipes:[l.b],encapsulation:2}),t})();const Ve=new s.q("SvgIcons");let He=(()=>{class t extends h.c{constructor(t,e,n,s){super(t,e,n),this.preloadedSvgElements={$$default:{}},this.loadSvgElements(s)}getNamedSvgIcon(t,e){const n=this.preloadedSvgElements[e||"$$default"],s=n&&n[t];return s?Object(Kt.a)(s.cloneNode(!0)):super.getNamedSvgIcon(t,e)}loadSvgElements(t){const e=document.createElement("DIV");t.forEach(t=>{const n=t.namespace||"$$default",s=this.preloadedSvgElements[n]||(this.preloadedSvgElements[n]={});e.innerHTML=t.svgSource,s[t.name]=e.querySelector("svg")})}}return t.\u0275fac=function(e){return new(e||t)(s.Zb(o.a),s.Zb(i.b),s.Zb(l.d,8),s.Zb(Ve))},t.\u0275prov=s.Mb({token:t,factory:t.\u0275fac}),t})();var Be=n("4MUX");let ze=(()=>{class t extends s.m{constructor(t){super(),this.window=t}handleError(t){try{super.handleError(t)}catch(e){this.reportError(e)}this.reportError(t)}reportError(t){this.window.onerror&&("string"==typeof t?this.window.onerror(t):this.window.onerror(t.message,void 0,void 0,void 0,t))}}return t.\u0275fac=function(e){return new(e||t)(s.Zb(bt.a))},t.\u0275prov=s.Mb({token:t,factory:t.\u0275fac}),t})();var Ue=n("FiGy");n("sVev"),n("NXyV"),n("EY2u"),n("0EUg"),n("7o/Q"),n("4I5i"),n("XDbj"),n("xbPD"),n("SpAZ"),n("5+tZ"),n("bOdf"),n("mCNh"),n("nYR2"),n("bHdf");const $e=new s.q("ROUTES");let Ze=(()=>{class t{}return t.\u0275mod=s.Ob({type:t}),t.\u0275inj=s.Nb({factory:function(e){return new(e||t)},providers:[pe,{provide:ie,useValue:oe},{provide:$e,useValue:re,multi:!0}]}),t})();var qe=n("PCNd"),Qe=n("iL+y");let We=(()=>{class t{}return t.\u0275mod=s.Ob({type:t}),t.\u0275inj=s.Nb({factory:function(e){return new(e||t)},providers:[Qe.a]}),t})();const Ke=[{provide:Ve,useValue:{name:"close",svgSource:'<svg focusable="false" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" /><path d="M0 0h24v24H0z" fill="none" /></svg>'},multi:!0},{provide:Ve,useValue:{name:"insert_comment",svgSource:'<svg focusable="false" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M20 2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4V4c0-1.1-.9-2-2-2zm-2 12H6v-2h12v2zm0-3H6V9h12v2zm0-3H6V6h12v2z" /><path d="M0 0h24v24H0z" fill="none" /></svg>'},multi:!0},{provide:Ve,useValue:{name:"keyboard_arrow_right",svgSource:'<svg focusable="false" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z" /></svg>'},multi:!0},{provide:Ve,useValue:{name:"menu",svgSource:'<svg focusable="false" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z" /></svg>'},multi:!0},{provide:Ve,useValue:{namespace:"logos",name:"github",svgSource:'<svg focusable="false" viewBox="0 0 51.8 50.4" xmlns="http://www.w3.org/2000/svg"><path d="M25.9,0.2C11.8,0.2,0.3,11.7,0.3,25.8c0,11.3,7.3,20.9,17.5,24.3c1.3,0.2,1.7-0.6,1.7-1.2c0-0.6,0-2.6,0-4.8c-7.1,1.5-8.6-3-8.6-3c-1.2-3-2.8-3.7-2.8-3.7c-2.3-1.6,0.2-1.6,0.2-1.6c2.6,0.2,3.9,2.6,3.9,2.6c2.3,3.9,6,2.8,7.5,2.1c0.2-1.7,0.9-2.8,1.6-3.4c-5.7-0.6-11.7-2.8-11.7-12.7c0-2.8,1-5.1,2.6-6.9c-0.3-0.7-1.1-3.3,0.3-6.8c0,0,2.1-0.7,7,2.6c2-0.6,4.2-0.9,6.4-0.9c2.2,0,4.4,0.3,6.4,0.9c4.9-3.3,7-2.6,7-2.6c1.4,3.5,0.5,6.1,0.3,6.8c1.6,1.8,2.6,4.1,2.6,6.9c0,9.8-6,12-11.7,12.6c0.9,0.8,1.7,2.4,1.7,4.7c0,3.4,0,6.2,0,7c0,0.7,0.5,1.5,1.8,1.2c10.2-3.4,17.5-13,17.5-24.3C51.5,11.7,40.1,0.2,25.9,0.2z" /></svg>'},multi:!0},{provide:Ve,useValue:{namespace:"logos",name:"twitter",svgSource:'<svg focusable="false" viewBox="0 0 50 59" xmlns="http://www.w3.org/2000/svg"><path d="M50,9.3c-1.8,0.8-3.8,1.4-5.9,1.6c2.1-1.3,3.7-3.3,4.5-5.7c-2,1.2-4.2,2-6.5,2.5c-1.9-2-4.5-3.2-7.5-3.2c-5.7,0-10.3,4.6-10.3,10.3c0,0.8,0.1,1.6,0.3,2.3C16.1,16.7,8.5,12.6,3.5,6.4c-0.9,1.5-1.4,3.3-1.4,5.2c0,3.6,1.8,6.7,4.6,8.5C5,20,3.4,19.6,2,18.8c0,0,0,0.1,0,0.1c0,5,3.5,9.1,8.2,10.1c-0.9,0.2-1.8,0.4-2.7,0.4c-0.7,0-1.3-0.1-1.9-0.2c1.3,4.1,5.1,7,9.6,7.1c-3.5,2.8-7.9,4.4-12.7,4.4c-0.8,0-1.6,0-2.4-0.1c4.5,2.9,9.9,4.6,15.7,4.6c18.9,0,29.2-15.6,29.2-29.2c0-0.4,0-0.9,0-1.3C46.9,13.2,48.6,11.4,50,9.3z" /></svg>'},multi:!0}];let Ge=(()=>{class t{}return t.\u0275mod=s.Ob({type:t,bootstrap:[Me]}),t.\u0275inj=s.Nb({factory:function(e){return new(e||t)},providers:[Ot,kt.c,{provide:s.m,useClass:ze},Be.a,se.a,l.g,{provide:l.h,useClass:l.n},_t.a,{provide:h.c,useClass:He},Nt,At.a,Ue.a,Dt.a,Ke,Rt.a,{provide:pt,useFactory:mt},{provide:bt.a,useFactory:bt.b}],imports:[[i.a.withServerTransition({appId:"ng-docs"}),a.b,Ze,o.b,u.b,h.b,C,ot,ft,We,qe.a,c.a.register("/ngsw-worker.js",{enabled:r.a.production})]]}),t})();r.a.production&&Object(s.T)(),document.addEventListener("DOMContentLoaded",()=>{i.e().bootstrapModule(Ge).catch(t=>console.error(t))})},zn8P:function(t,e){function n(t){return Promise.resolve().then((function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}))}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id="zn8P"}},[[0,0]]]);
//# sourceMappingURL=main-es2015.9cd62e243bd182514a19.js.map
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。