Repository navigation
Expand file tree
/
Copy pathmain.8080.js
More file actions
1 lines (1 loc) · 484 KB
/
Copy pathmain.8080.js
File metadata and controls
1 lines (1 loc) · 484 KB
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"+tJ4":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=function(t){return function(e){for(var n=0,r=t.length;n<r&&!e.closed;n++)e.next(t[n]);e.closed||e.complete()}}},"+umK":function(t,e,n){"use strict";function r(){}n.d(e,"a",function(){return r})},"/WYv":function(t,e,n){"use strict";function r(t){return t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}n.d(e,"a",function(){return r})},0:function(t,e,n){t.exports=n("zUnb")},"0/uQ":function(t,e,n){"use strict";var r=n("6blF"),o=n("/WYv"),i=n("2ePl"),a=n("xTla"),s=n("En8+"),u=n("IUTb"),c=n("pugT"),l=n("S5XQ"),f=n("u67D"),p=n("JcRv"),d=n("Fxb1");function h(t,e){if(!e)return t instanceof r.a?t:new r.a(Object(d.a)(t));if(null!=t){if(function(t){return t&&"function"==typeof t[a.a]}(t))return function(t,e){return new r.a(e?function(n){var r=new c.a;return r.add(e.schedule(function(){var o=t[a.a]();r.add(o.subscribe({next:function(t){r.add(e.schedule(function(){return n.next(t)}))},error:function(t){r.add(e.schedule(function(){return n.error(t)}))},complete:function(){r.add(e.schedule(function(){return n.complete()}))}}))})),r}:Object(p.a)(t))}(t,e);if(Object(o.a)(t))return function(t,e){return new r.a(e?function(n){var r=new c.a;return r.add(e.schedule(function(){return t.then(function(t){r.add(e.schedule(function(){n.next(t),r.add(e.schedule(function(){return n.complete()}))}))},function(t){r.add(e.schedule(function(){return n.error(t)}))})})),r}:Object(l.a)(t))}(t,e);if(Object(i.a)(t))return Object(u.a)(t,e);if(function(t){return t&&"function"==typeof t[s.a]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new r.a(e?function(n){var r,o=new c.a;return o.add(function(){r&&"function"==typeof r.return&&r.return()}),o.add(e.schedule(function(){r=t[s.a](),o.add(e.schedule(function(){if(!n.closed){var t,e;try{var o=r.next();t=o.value,e=o.done}catch(i){return void n.error(i)}e?n.complete():(n.next(t),this.schedule())}}))})),o}:Object(f.a)(t))}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}n.d(e,"a",function(){return h})},"2Bdj":function(t,e,n){"use strict";function r(t){return"function"==typeof t}n.d(e,"a",function(){return r})},"2WpN":function(t,e,n){"use strict";n.d(e,"a",function(){return a});var r=n("mrSG"),o=n("FFOo"),i=n("pugT");function a(t){return function(e){return e.lift(new s(t))}}var s=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.callback))},t}(),u=function(t){function e(e,n){var r=t.call(this,e)||this;return r.add(new i.a(n)),r}return r.__extends(e,t),e}(o.a)},"2ePl":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=function(t){return t&&"number"==typeof t.length&&"function"!=typeof t}},"67Y/":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("mrSG"),o=n("FFOo");function i(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 a(t,e))}}var a=function(){function t(t,e){this.project=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.project,this.thisArg))},t}(),s=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.project=n,o.count=0,o.thisArg=r||o,o}return r.__extends(e,t),e.prototype._next=function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)},e}(o.a)},"6ahw":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("iLxQ"),o=n("DKTb"),i={closed:!0,next:function(t){},error:function(t){if(r.a.useDeprecatedSynchronousErrorHandling)throw t;Object(o.a)(t)},complete:function(){}}},"6blF":function(t,e,n){"use strict";var r=n("FFOo"),o=n("L/V9"),i=n("6ahw"),a=n("xTla"),s=n("y3By"),u=n("iLxQ");n.d(e,"a",function(){return c});var c=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var n=new t;return n.source=this,n.operator=e,n},t.prototype.subscribe=function(t,e,n){var a=this.operator,s=function(t,e,n){if(t){if(t instanceof r.a)return t;if(t[o.a])return t[o.a]()}return t||e||n?new r.a(t,e,n):new r.a(i.a)}(t,e,n);if(a?a.call(s,this.source):s.add(this.source||u.a.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),u.a.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){u.a.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){var e=t.destination;if(t.closed||t.isStopped)return!1;t=e&&e instanceof r.a?e:null}return!0}(t)?t.error(e):console.warn(e)}},t.prototype.forEach=function(t,e){var n=this;return new(e=l(e))(function(e,r){var o;o=n.subscribe(function(e){try{t(e)}catch(n){r(n),o&&o.unsubscribe()}},r,e)})},t.prototype._subscribe=function(t){var e=this.source;return e&&e.subscribe(t)},t.prototype[a.a]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 0===t.length?this:Object(s.b)(t)(this)},t.prototype.toPromise=function(t){var e=this;return new(t=l(t))(function(t,n){var r;e.subscribe(function(t){return r=t},function(t){return n(t)},function(){return t(r)})})},t.create=function(e){return new t(e)},t}();function l(t){if(t||(t=u.a.Promise||Promise),!t)throw new Error("no Promise impl found");return t}},"8g8A":function(t,e,n){"use strict";function r(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}n.d(e,"a",function(){return o}),r.prototype=Object.create(Error.prototype);var o=r},"9Z1F":function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n("mrSG"),o=n("MGBS"),i=n("rPjj"),a=n("zotm");function s(t){return function(e){var n=new u(t),r=e.lift(n);return n.caught=r}}var u=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.selector,this.caught))},t}(),c=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.selector=n,o.caught=r,o}return r.__extends(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=void 0;try{n=this.selector(e,this.caught)}catch(o){return void t.prototype.error.call(this,o)}this._unsubscribeAndRecycle();var r=new i.a(this,void 0,void 0);this.add(r),Object(a.a)(this,n,void 0,void 0,r)}},e}(o.a)},AytR:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r={production:!0,url:"http://"+window.location.hostname+":8080/ws",carCoordinatesTopic:"/output/carCoordinates",statusTopic:"/output/carStatus",eventsTopic:"/output/events"}},CcnG:function(t,e,n){"use strict";n.r(e);var r=n("mrSG"),o=n("pugT"),i=n("K9Ia"),a=n("6blF"),s=n("nkY7"),u=n("Zn8D"),c=n("IUTb"),l=n("S1nX");function f(t){for(var e in t)if(t[e]===f)return e;throw Error("Could not find renamed property on target object.")}function p(t,e){for(var n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}n.d(e,"\u0275angular_packages_core_core_p",function(){return hh}),n.d(e,"\u0275angular_packages_core_core_m",function(){return fh}),n.d(e,"\u0275angular_packages_core_core_n",function(){return ph}),n.d(e,"\u0275angular_packages_core_core_o",function(){return dh}),n.d(e,"\u0275angular_packages_core_core_g",function(){return Op}),n.d(e,"\u0275angular_packages_core_core_k",function(){return Qd}),n.d(e,"\u0275angular_packages_core_core_l",function(){return $d}),n.d(e,"\u0275angular_packages_core_core_c",function(){return jt}),n.d(e,"\u0275angular_packages_core_core_d",function(){return _p}),n.d(e,"\u0275angular_packages_core_core_e",function(){return up}),n.d(e,"\u0275angular_packages_core_core_f",function(){return dp}),n.d(e,"\u0275angular_packages_core_core_q",function(){return Qp}),n.d(e,"\u0275angular_packages_core_core_s",function(){return Hp}),n.d(e,"\u0275angular_packages_core_core_r",function(){return Up}),n.d(e,"\u0275angular_packages_core_core_v",function(){return qp}),n.d(e,"\u0275angular_packages_core_core_t",function(){return Bp}),n.d(e,"\u0275angular_packages_core_core_u",function(){return zp}),n.d(e,"\u0275angular_packages_core_core_z",function(){return Hn}),n.d(e,"\u0275angular_packages_core_core_bh",function(){return v}),n.d(e,"\u0275angular_packages_core_core_ba",function(){return La}),n.d(e,"\u0275angular_packages_core_core_bb",function(){return sn}),n.d(e,"\u0275angular_packages_core_core_bc",function(){return yn}),n.d(e,"\u0275angular_packages_core_core_bd",function(){return In}),n.d(e,"\u0275angular_packages_core_core_bg",function(){return mo}),n.d(e,"\u0275angular_packages_core_core_bk",function(){return we}),n.d(e,"\u0275angular_packages_core_core_h",function(){return es}),n.d(e,"\u0275angular_packages_core_core_i",function(){return ns}),n.d(e,"\u0275angular_packages_core_core_j",function(){return os}),n.d(e,"\u0275angular_packages_core_core_a",function(){return P}),n.d(e,"\u0275angular_packages_core_core_b",function(){return R}),n.d(e,"\u0275angular_packages_core_core_bi",function(){return f}),n.d(e,"\u0275angular_packages_core_core_w",function(){return cy}),n.d(e,"\u0275angular_packages_core_core_x",function(){return zg}),n.d(e,"\u0275angular_packages_core_core_y",function(){return Oh}),n.d(e,"createPlatform",function(){return pd}),n.d(e,"assertPlatform",function(){return hd}),n.d(e,"destroyPlatform",function(){return vd}),n.d(e,"getPlatform",function(){return yd}),n.d(e,"PlatformRef",function(){return gd}),n.d(e,"ApplicationRef",function(){return _d}),n.d(e,"createPlatformFactory",function(){return dd}),n.d(e,"NgProbeToken",function(){return fd}),n.d(e,"enableProdMode",function(){return Pu}),n.d(e,"isDevMode",function(){return Iu}),n.d(e,"APP_ID",function(){return Ep}),n.d(e,"PACKAGE_ROOT_URL",function(){return Pp}),n.d(e,"PLATFORM_INITIALIZER",function(){return jp}),n.d(e,"PLATFORM_ID",function(){return kp}),n.d(e,"APP_BOOTSTRAP_LISTENER",function(){return Ip}),n.d(e,"APP_INITIALIZER",function(){return Cp}),n.d(e,"ApplicationInitStatus",function(){return Sp}),n.d(e,"DebugElement",function(){return Ud}),n.d(e,"DebugNode",function(){return Ld}),n.d(e,"asNativeElements",function(){return Hd}),n.d(e,"getDebugNode",function(){return zd}),n.d(e,"Testability",function(){return od}),n.d(e,"TestabilityRegistry",function(){return id}),n.d(e,"setTestabilityGetter",function(){return ad}),n.d(e,"TRANSLATIONS",function(){return uh}),n.d(e,"TRANSLATIONS_FORMAT",function(){return ch}),n.d(e,"LOCALE_ID",function(){return sh}),n.d(e,"MissingTranslationStrategy",function(){return lh}),n.d(e,"ApplicationModule",function(){return vh}),n.d(e,"wtfCreateScope",function(){return Zp}),n.d(e,"wtfLeave",function(){return Gp}),n.d(e,"wtfStartTimeRange",function(){return Wp}),n.d(e,"wtfEndTimeRange",function(){return Yp}),n.d(e,"Type",function(){return zl}),n.d(e,"EventEmitter",function(){return ol}),n.d(e,"ErrorHandler",function(){return tp}),n.d(e,"Sanitizer",function(){return Nl}),n.d(e,"SecurityContext",function(){return Al}),n.d(e,"ANALYZE_FOR_ENTRY_COMPONENTS",function(){return A}),n.d(e,"Attribute",function(){return N}),n.d(e,"ContentChild",function(){return F}),n.d(e,"ContentChildren",function(){return M}),n.d(e,"Query",function(){return D}),n.d(e,"ViewChild",function(){return L}),n.d(e,"ViewChildren",function(){return V}),n.d(e,"Component",function(){return _f}),n.d(e,"Directive",function(){return mf}),n.d(e,"HostBinding",function(){return Ef}),n.d(e,"HostListener",function(){return Of}),n.d(e,"Input",function(){return Cf}),n.d(e,"Output",function(){return Sf}),n.d(e,"Pipe",function(){return bf}),n.d(e,"CUSTOM_ELEMENTS_SCHEMA",function(){return Df}),n.d(e,"NO_ERRORS_SCHEMA",function(){return Mf}),n.d(e,"NgModule",function(){return Ff}),n.d(e,"ViewEncapsulation",function(){return Z}),n.d(e,"Version",function(){return mu}),n.d(e,"VERSION",function(){return _u}),n.d(e,"defineInjectable",function(){return w}),n.d(e,"defineInjector",function(){return C}),n.d(e,"forwardRef",function(){return cr}),n.d(e,"resolveForwardRef",function(){return lr}),n.d(e,"Injectable",function(){return Qf}),n.d(e,"INJECTOR",function(){return hr}),n.d(e,"Injector",function(){return yr}),n.d(e,"inject",function(){return kt}),n.d(e,"ReflectiveInjector",function(){return mp}),n.d(e,"createInjector",function(){return Fs}),n.d(e,"ResolvedReflectiveFactory",function(){return fp}),n.d(e,"ReflectiveKey",function(){return ip}),n.d(e,"InjectionToken",function(){return O}),n.d(e,"Inject",function(){return bt}),n.d(e,"Optional",function(){return wt}),n.d(e,"Self",function(){return Ct}),n.d(e,"SkipSelf",function(){return St}),n.d(e,"Host",function(){return Et}),n.d(e,"NgZone",function(){return Jp}),n.d(e,"\u0275NoopNgZone",function(){return rd}),n.d(e,"RenderComponentType",function(){return cu}),n.d(e,"Renderer",function(){return fu}),n.d(e,"Renderer2",function(){return vu}),n.d(e,"RendererFactory2",function(){return du}),n.d(e,"RendererStyleFlags2",function(){return hu}),n.d(e,"RootRenderer",function(){return pu}),n.d(e,"COMPILER_OPTIONS",function(){return Vp}),n.d(e,"Compiler",function(){return Fp}),n.d(e,"CompilerFactory",function(){return Lp}),n.d(e,"ModuleWithComponentFactories",function(){return Ap}),n.d(e,"ComponentFactory",function(){return Xs}),n.d(e,"ComponentRef",function(){return $s}),n.d(e,"ComponentFactoryResolver",function(){return ru}),n.d(e,"ElementRef",function(){return au}),n.d(e,"NgModuleFactory",function(){return Rr}),n.d(e,"NgModuleRef",function(){return Pr}),n.d(e,"NgModuleFactoryLoader",function(){return wd}),n.d(e,"getModuleFactory",function(){return Ed}),n.d(e,"QueryList",function(){return Od}),n.d(e,"SystemJsNgModuleLoader",function(){return jd}),n.d(e,"SystemJsNgModuleLoaderConfig",function(){return xd}),n.d(e,"TemplateRef",function(){return il}),n.d(e,"ViewContainerRef",function(){return Id}),n.d(e,"EmbeddedViewRef",function(){return Fd}),n.d(e,"ViewRef",function(){return Md}),n.d(e,"ChangeDetectionStrategy",function(){return U}),n.d(e,"ChangeDetectorRef",function(){return Ad}),n.d(e,"DefaultIterableDiffer",function(){return Zd}),n.d(e,"IterableDiffers",function(){return eh}),n.d(e,"KeyValueDiffers",function(){return nh}),n.d(e,"SimpleChange",function(){return pe}),n.d(e,"WrappedValue",function(){return fe}),n.d(e,"platformCore",function(){return ah}),n.d(e,"\u0275ALLOW_MULTIPLE_PLATFORMS",function(){return ld}),n.d(e,"\u0275APP_ID_RANDOM_PROVIDER",function(){return xp}),n.d(e,"\u0275defaultIterableDiffers",function(){return oh}),n.d(e,"\u0275defaultKeyValueDiffers",function(){return ih}),n.d(e,"\u0275devModeEqual",function(){return le}),n.d(e,"\u0275isListLikeIterable",function(){return de}),n.d(e,"\u0275ChangeDetectorStatus",function(){return H}),n.d(e,"\u0275isDefaultChangeDetectionStrategy",function(){return B}),n.d(e,"\u0275Console",function(){return Rp}),n.d(e,"\u0275getInjectableDef",function(){return S}),n.d(e,"\u0275inject",function(){return kt}),n.d(e,"\u0275setCurrentInjector",function(){return xt}),n.d(e,"\u0275APP_ROOT",function(){return Ps}),n.d(e,"\u0275ivyEnabled",function(){return gh}),n.d(e,"\u0275ComponentFactory",function(){return Xs}),n.d(e,"\u0275CodegenComponentFactoryResolver",function(){return ou}),n.d(e,"\u0275resolveComponentResources",function(){return z}),n.d(e,"\u0275ReflectionCapabilities",function(){return Gl}),n.d(e,"\u0275RenderDebugInfo",function(){return lu}),n.d(e,"\u0275_sanitizeHtml",function(){return $u}),n.d(e,"\u0275_sanitizeStyle",function(){return Fl}),n.d(e,"\u0275_sanitizeUrl",function(){return Du}),n.d(e,"\u0275global",function(){return Y}),n.d(e,"\u0275looseIdentical",function(){return et}),n.d(e,"\u0275stringify",function(){return nt}),n.d(e,"\u0275makeDecorator",function(){return k}),n.d(e,"\u0275isObservable",function(){return wp}),n.d(e,"\u0275isPromise",function(){return bp}),n.d(e,"\u0275clearOverrides",function(){return Zg}),n.d(e,"\u0275initServicesIfNeeded",function(){return ag}),n.d(e,"\u0275overrideComponentView",function(){return Kg}),n.d(e,"\u0275overrideProvider",function(){return Qg}),n.d(e,"\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR",function(){return yy}),n.d(e,"\u0275defineBase",function(){return ft}),n.d(e,"\u0275defineComponent",function(){return at}),n.d(e,"\u0275defineDirective",function(){return pt}),n.d(e,"\u0275definePipe",function(){return dt}),n.d(e,"\u0275defineNgModule",function(){return ct}),n.d(e,"\u0275detectChanges",function(){return ba}),n.d(e,"\u0275renderComponent",function(){return _s}),n.d(e,"\u0275Render3ComponentFactory",function(){return xu}),n.d(e,"\u0275Render3ComponentRef",function(){return Tu}),n.d(e,"\u0275directiveInject",function(){return qa}),n.d(e,"\u0275injectAttribute",function(){return Qa}),n.d(e,"\u0275getFactoryOf",function(){return Wn}),n.d(e,"\u0275getInheritedFactory",function(){return Yn}),n.d(e,"\u0275templateRefExtractor",function(){return El}),n.d(e,"\u0275ProvidersFeature",function(){return Js}),n.d(e,"\u0275InheritDefinitionFeature",function(){return xs}),n.d(e,"\u0275NgOnChangesFeature",function(){return ks}),n.d(e,"\u0275LifecycleHooksFeature",function(){return Ss}),n.d(e,"\u0275Render3NgModuleRef",function(){return Vc}),n.d(e,"\u0275markDirty",function(){return Sa}),n.d(e,"\u0275NgModuleFactory",function(){return Lc}),n.d(e,"\u0275NO_CHANGE",function(){return yo}),n.d(e,"\u0275container",function(){return ia}),n.d(e,"\u0275nextContext",function(){return hi}),n.d(e,"\u0275elementStart",function(){return Ei}),n.d(e,"\u0275namespaceHTML",function(){return bi}),n.d(e,"\u0275namespaceMathML",function(){return _i}),n.d(e,"\u0275namespaceSVG",function(){return mi}),n.d(e,"\u0275element",function(){return wi}),n.d(e,"\u0275listener",function(){return Pi}),n.d(e,"\u0275text",function(){return Ki}),n.d(e,"\u0275embeddedViewStart",function(){return ca}),n.d(e,"\u0275query",function(){return Cl}),n.d(e,"\u0275registerContentQuery",function(){return Ka}),n.d(e,"\u0275projection",function(){return va}),n.d(e,"\u0275bind",function(){return Ea}),n.d(e,"\u0275interpolation1",function(){return xa}),n.d(e,"\u0275interpolation2",function(){return Ta}),n.d(e,"\u0275interpolation3",function(){return ja}),n.d(e,"\u0275interpolation4",function(){return ka}),n.d(e,"\u0275interpolation5",function(){return Ia}),n.d(e,"\u0275interpolation6",function(){return Pa}),n.d(e,"\u0275interpolation7",function(){return Ra}),n.d(e,"\u0275interpolation8",function(){return Aa}),n.d(e,"\u0275interpolationV",function(){return Oa}),n.d(e,"\u0275pipeBind1",function(){return $c}),n.d(e,"\u0275pipeBind2",function(){return Xc}),n.d(e,"\u0275pipeBind3",function(){return tl}),n.d(e,"\u0275pipeBind4",function(){return el}),n.d(e,"\u0275pipeBindV",function(){return nl}),n.d(e,"\u0275pureFunction0",function(){return Hc}),n.d(e,"\u0275pureFunction1",function(){return Bc}),n.d(e,"\u0275pureFunction2",function(){return zc}),n.d(e,"\u0275pureFunction3",function(){return qc}),n.d(e,"\u0275pureFunction4",function(){return Qc}),n.d(e,"\u0275pureFunction5",function(){return Kc}),n.d(e,"\u0275pureFunction6",function(){return Zc}),n.d(e,"\u0275pureFunction7",function(){return Gc}),n.d(e,"\u0275pureFunction8",function(){return Wc}),n.d(e,"\u0275pureFunctionV",function(){return Yc}),n.d(e,"\u0275getCurrentView",function(){return rn}),n.d(e,"\u0275restoreView",function(){return an}),n.d(e,"\u0275containerRefreshStart",function(){return sa}),n.d(e,"\u0275containerRefreshEnd",function(){return ua}),n.d(e,"\u0275queryRefresh",function(){return Sl}),n.d(e,"\u0275loadQueryList",function(){return Ma}),n.d(e,"\u0275elementEnd",function(){return Ni}),n.d(e,"\u0275elementProperty",function(){return Mi}),n.d(e,"\u0275projectionDef",function(){return da}),n.d(e,"\u0275reference",function(){return Da}),n.d(e,"\u0275enableBindings",function(){return en}),n.d(e,"\u0275disableBindings",function(){return nn}),n.d(e,"\u0275elementAttribute",function(){return Di}),n.d(e,"\u0275elementContainerStart",function(){return Ci}),n.d(e,"\u0275elementContainerEnd",function(){return Si}),n.d(e,"\u0275elementStyling",function(){return Hi}),n.d(e,"\u0275elementStylingMap",function(){return qi}),n.d(e,"\u0275elementStyleProp",function(){return zi}),n.d(e,"\u0275elementStylingApply",function(){return Bi}),n.d(e,"\u0275elementClassProp",function(){return Ui}),n.d(e,"\u0275textBinding",function(){return Zi}),n.d(e,"\u0275template",function(){return oa}),n.d(e,"\u0275embeddedViewEnd",function(){return la}),n.d(e,"\u0275store",function(){return Na}),n.d(e,"\u0275load",function(){return Fa}),n.d(e,"\u0275pipe",function(){return Jc}),n.d(e,"\u0275whenRendered",function(){return Es}),n.d(e,"\u0275i18n",function(){return xc}),n.d(e,"\u0275i18nAttributes",function(){return Tc}),n.d(e,"\u0275i18nExp",function(){return Ic}),n.d(e,"\u0275i18nStart",function(){return bc}),n.d(e,"\u0275i18nEnd",function(){return Sc}),n.d(e,"\u0275i18nApply",function(){return Pc}),n.d(e,"\u0275i18nPostprocess",function(){return Cc}),n.d(e,"\u0275WRAP_RENDERER_FACTORY2",function(){return Eu}),n.d(e,"\u0275setClassMetadata",function(){return Uc}),n.d(e,"\u0275Render3DebugRendererFactory2",function(){return Yg}),n.d(e,"\u0275compileComponent",function(){return lf}),n.d(e,"\u0275compileDirective",function(){return ff}),n.d(e,"\u0275compileNgModule",function(){return nf}),n.d(e,"\u0275compileNgModuleDefs",function(){return rf}),n.d(e,"\u0275patchComponentDefWithScope",function(){return of}),n.d(e,"\u0275compilePipe",function(){return gf}),n.d(e,"\u0275sanitizeHtml",function(){return Vl}),n.d(e,"\u0275sanitizeStyle",function(){return Ll}),n.d(e,"\u0275sanitizeUrl",function(){return Ul}),n.d(e,"\u0275sanitizeResourceUrl",function(){return Hl}),n.d(e,"\u0275bypassSanitizationTrustHtml",function(){return Tl}),n.d(e,"\u0275bypassSanitizationTrustStyle",function(){return jl}),n.d(e,"\u0275bypassSanitizationTrustScript",function(){return kl}),n.d(e,"\u0275bypassSanitizationTrustUrl",function(){return Il}),n.d(e,"\u0275bypassSanitizationTrustResourceUrl",function(){return Pl}),n.d(e,"\u0275getContext",function(){return Jn}),n.d(e,"\u0275bindPlayerFactory",function(){return go}),n.d(e,"\u0275addPlayer",function(){return ds}),n.d(e,"\u0275getPlayers",function(){return hs}),n.d(e,"\u0275compileNgModuleFactory__POST_R3__",function(){return cd}),n.d(e,"\u0275SWITCH_COMPILE_COMPONENT__POST_R3__",function(){return xf}),n.d(e,"\u0275SWITCH_COMPILE_DIRECTIVE__POST_R3__",function(){return Tf}),n.d(e,"\u0275SWITCH_COMPILE_PIPE__POST_R3__",function(){return jf}),n.d(e,"\u0275SWITCH_COMPILE_NGMODULE__POST_R3__",function(){return Vf}),n.d(e,"\u0275SWITCH_COMPILE_INJECTABLE__POST_R3__",function(){return Kf}),n.d(e,"\u0275SWITCH_IVY_ENABLED__POST_R3__",function(){return yh}),n.d(e,"\u0275SWITCH_CHANGE_DETECTOR_REF_FACTORY__POST_R3__",function(){return Nd}),n.d(e,"\u0275SWITCH_ELEMENT_REF_FACTORY__POST_R3__",function(){return su}),n.d(e,"\u0275SWITCH_TEMPLATE_REF_FACTORY__POST_R3__",function(){return al}),n.d(e,"\u0275SWITCH_VIEW_CONTAINER_REF_FACTORY__POST_R3__",function(){return Pd}),n.d(e,"\u0275SWITCH_RENDERER2_FACTORY__POST_R3__",function(){return yu}),n.d(e,"\u0275publishGlobalUtil",function(){return ms}),n.d(e,"\u0275publishDefaultGlobalUtils",function(){return gs}),n.d(e,"\u0275SWITCH_INJECTOR_FACTORY__POST_R3__",function(){return gr}),n.d(e,"\u0275registerModuleFactory",function(){return Sd}),n.d(e,"\u0275EMPTY_ARRAY",function(){return dv}),n.d(e,"\u0275EMPTY_MAP",function(){return hv}),n.d(e,"\u0275and",function(){return vv}),n.d(e,"\u0275ccf",function(){return Dv}),n.d(e,"\u0275cmf",function(){return Gg}),n.d(e,"\u0275crt",function(){return Mh}),n.d(e,"\u0275did",function(){return ay}),n.d(e,"\u0275eld",function(){return yv}),n.d(e,"\u0275elementEventFullName",function(){return Zh}),n.d(e,"\u0275getComponentViewDefinitionFactory",function(){return Mv}),n.d(e,"\u0275inlineInterpolate",function(){return fv}),n.d(e,"\u0275interpolate",function(){return lv}),n.d(e,"\u0275mod",function(){return xv}),n.d(e,"\u0275mpd",function(){return Ov}),n.d(e,"\u0275ncd",function(){return jy}),n.d(e,"\u0275nov",function(){return Zv}),n.d(e,"\u0275pid",function(){return sy}),n.d(e,"\u0275prd",function(){return uy}),n.d(e,"\u0275pad",function(){return Py}),n.d(e,"\u0275pod",function(){return Ry}),n.d(e,"\u0275ppd",function(){return Iy}),n.d(e,"\u0275qud",function(){return Sy}),n.d(e,"\u0275ted",function(){return Ny}),n.d(e,"\u0275unv",function(){return Ah}),n.d(e,"\u0275vid",function(){return Fy});var d=f({ngComponentDef:f}),h=f({ngDirectiveDef:f}),v=f({ngInjectableDef:f}),y=f({ngInjectorDef:f}),g=f({ngPipeDef:f}),m=f({ngModuleDef:f}),_=f({ngBaseDef:f}),b=f({__NG_ELEMENT_ID__:f});function w(t){return{providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function C(t){return{factory:t.factory,providers:t.providers||[],imports:t.imports||[]}}function S(t){return t.hasOwnProperty(v)?t[v]:null}function E(t){return t.hasOwnProperty(y)?t[y]:null}var O=function(){function t(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0!==e?w({providedIn:e.providedIn||"root",factory:e.factory}):void 0}return t.prototype.toString=function(){return"InjectionToken "+this._desc},t}(),x="__annotations__",T="__parameters__",j="__prop__metadata__";function k(t,e,n,o,i){var a=I(e);function s(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(this instanceof s)return a.call.apply(a,Object(r.__spread)([this],e)),this;var u=new((t=s).bind.apply(t,Object(r.__spread)([void 0],e)));return function(t){return i&&i.apply(void 0,Object(r.__spread)([t],e)),(t.hasOwnProperty(x)?t[x]:Object.defineProperty(t,x,{value:[]})[x]).push(u),o&&o(t),t}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=t,s.annotationCls=s,s}function I(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(t){var o=t.apply(void 0,Object(r.__spread)(e));for(var i in o)this[i]=o[i]}}}function P(t,e,n){var o=I(e);function i(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(this instanceof i)return o.apply(this,e),this;var a=new((t=i).bind.apply(t,Object(r.__spread)([void 0],e)));return s.annotation=a,s;function s(t,e,n){for(var r=t.hasOwnProperty(T)?t[T]:Object.defineProperty(t,T,{value:[]})[T];r.length<=n;)r.push(null);return(r[n]=r[n]||[]).push(a),t}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i}function R(t,e,n,o){var i=I(e);function a(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(this instanceof a)return i.apply(this,e),this;var s=new((t=a).bind.apply(t,Object(r.__spread)([void 0],e)));return function(t,n){var i=t.constructor,a=i.hasOwnProperty(j)?i[j]:Object.defineProperty(i,j,{value:{}})[j];a[n]=a.hasOwnProperty(n)&&a[n]||[],a[n].unshift(s),o&&o.apply(void 0,Object(r.__spread)([t,n],e))}}return n&&(a.prototype=Object.create(n.prototype)),a.prototype.ngMetadataName=t,a.annotationCls=a,a}var A=new O("AnalyzeForEntryComponents"),N=P("Attribute",function(t){return{attributeName:t}}),D=function(){return function(){}}(),M=R("ContentChildren",function(t,e){return void 0===e&&(e={}),Object(r.__assign)({selector:t,first:!1,isViewQuery:!1,descendants:!1},e)},D),F=R("ContentChild",function(t,e){return void 0===e&&(e={}),Object(r.__assign)({selector:t,first:!0,isViewQuery:!1,descendants:!0},e)},D),V=R("ViewChildren",function(t,e){return void 0===e&&(e={}),Object(r.__assign)({selector:t,first:!1,isViewQuery:!0,descendants:!0},e)},D),L=R("ViewChild",function(t,e){return Object(r.__assign)({selector:t,first:!0,isViewQuery:!0,descendants:!0},e)},D),U=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}({}),H=function(t){return t[t.CheckOnce=0]="CheckOnce",t[t.Checked=1]="Checked",t[t.CheckAlways=2]="CheckAlways",t[t.Detached=3]="Detached",t[t.Errored=4]="Errored",t[t.Destroyed=5]="Destroyed",t}({});function B(t){return null==t||t===U.Default}function z(t){var e=[],n=new Map;function r(r){var o=n.get(r);if(!o){var i=t(r);n.set(r,o=i.then(K)),e.push(o)}return o}return q.forEach(function(t){t.templateUrl&&r(t.templateUrl).then(function(e){t.template=e,t.templateUrl=void 0});var e=t.styleUrls,n=t.styles||(t.styles=[]),o=t.styles.length;e&&e.forEach(function(i,a){n.push(""),r(i).then(function(r){n[o+a]=r,e.splice(e.indexOf(i),1),0==e.length&&(t.styleUrls=void 0)})})}),q.clear(),Promise.all(e).then(function(){return null})}var q=new Set;function Q(t){return t.templateUrl||t.styleUrls&&t.styleUrls.length}function K(t){return"string"==typeof t?t:t.text()}var Z=function(t){return t[t.Emulated=0]="Emulated",t[t.Native=1]="Native",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({}),G="undefined"!=typeof window&&window,W="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Y="undefined"!=typeof global&&global||G||W,J=Promise.resolve(0),$=null;function X(){if(!$){var t=Y.Symbol;if(t&&t.iterator)$=t.iterator;else for(var e=Object.getOwnPropertyNames(Map.prototype),n=0;n<e.length;++n){var r=e[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&($=r)}}return $}function tt(t){"undefined"==typeof Zone?J.then(function(){t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}function et(t,e){return t===e||"number"==typeof t&&"number"==typeof e&&isNaN(t)&&isNaN(e)}function nt(t){if("string"==typeof t)return t;if(t instanceof Array)return"["+t.map(nt).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return""+t.overriddenName;if(t.name)return""+t.name;var e=t.toString();if(null==e)return""+e;var n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}var rt={},ot=[],it=0;function at(t){var e=t.type,n=e.prototype,r={},o={type:e,providersResolver:null,consts:t.consts,vars:t.vars,hostVars:t.hostVars||0,factory:t.factory,template:t.template||null,hostBindings:t.hostBindings||null,contentQueries:t.contentQueries||null,contentQueriesRefresh:t.contentQueriesRefresh||null,attributes:t.attributes||null,declaredInputs:r,inputs:null,outputs:null,exportAs:t.exportAs||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===U.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||Z.Emulated,id:"c",styles:t.styles||ot,_:null};return o._=""+{toString:function(){var e=t.directives,n=t.features,i=t.pipes;o.id+=it++,o.inputs=lt(t.inputs,r),o.outputs=lt(t.outputs),n&&n.forEach(function(t){return t(o)}),o.directiveDefs=e?function(){return("function"==typeof e?e():e).map(st)}:null,o.pipeDefs=i?function(){return("function"==typeof i?i():i).map(ut)}:null}},o}function st(t){return ht(t)||vt(t)}function ut(t){return yt(t)}function ct(t){return{type:t.type,bootstrap:t.bootstrap||ot,declarations:t.declarations||ot,imports:t.imports||ot,exports:t.exports||ot,transitiveCompileScopes:null}}function lt(t,e){if(null==t)return rt;var n={};for(var r in t)if(t.hasOwnProperty(r)){var o=t[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,e&&(e[i]=r)}return n}function ft(t){var e={};return{inputs:lt(t.inputs,e),declaredInputs:e,outputs:lt(t.outputs)}}var pt=at;function dt(t){return{name:t.name,factory:t.factory,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function ht(t){return t[d]||null}function vt(t){return t[h]||null}function yt(t){return t[g]||null}function gt(t){return t[m]||null}function mt(){var t=Y.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}var _t,bt=P("Inject",function(t){return{token:t}}),wt=P("Optional"),Ct=P("Self"),St=P("SkipSelf"),Et=P("Host"),Ot=void 0;function xt(t){var e=Ot;return Ot=t,e}function Tt(t){var e=_t;return _t=t,e}function jt(t,e){if(void 0===e&&(e=0),void 0===Ot)throw new Error("inject() must be called from an injection context");return null===Ot?It(t,void 0,e):Ot.get(t,8&e?null:void 0,e)}function kt(t,e){return void 0===e&&(e=0),(_t||jt)(t,e)}function It(t,e,n){var r=S(t);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(8&n)return null;if(void 0!==e)return e;throw new Error("Injector: NOT_FOUND ["+nt(t)+"]")}function Pt(t){for(var e=[],n=0;n<t.length;n++){var r=t[n];if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");for(var o=void 0,i=0,a=0;a<r.length;a++){var s=r[a];s instanceof wt||"Optional"===s.ngMetadataName?i|=8:s instanceof St||"SkipSelf"===s.ngMetadataName?i|=4:s instanceof Ct||"Self"===s.ngMetadataName?i|=2:o=s instanceof bt?s.token:s}e.push(kt(o,i))}else e.push(kt(r))}return e}var Rt=8,At=8,Nt=9,Dt=-1,Mt=function(){return function(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}(),Ft=Mt.prototype,Vt=17,Lt=0,Ut=1,Ht=2,Bt=3,zt=4,qt=5,Qt=6,Kt=7,Zt=8,Gt=9,Wt=10,Yt=11,Jt=12,$t=13,Xt=14,te=15,ee=16;function ne(t,e,n,r){e&&(r.initHooks||(r.initHooks=[])).push(t,e),n&&((r.initHooks||(r.initHooks=[])).push(t,n),(r.checkHooks||(r.checkHooks=[])).push(t,n))}function re(t,e){if(e.firstTemplatePass)for(var n=t>>16,r=n+(4095&t),o=n;o<r;o++){var i=e.data[o];oe(i,e,o),ie(i,e,o),ae(i,e,o)}}function oe(t,e,n){t.afterContentInit&&(e.contentHooks||(e.contentHooks=[])).push(n,t.afterContentInit),t.afterContentChecked&&((e.contentHooks||(e.contentHooks=[])).push(n,t.afterContentChecked),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,t.afterContentChecked))}function ie(t,e,n){t.afterViewInit&&(e.viewHooks||(e.viewHooks=[])).push(n,t.afterViewInit),t.afterViewChecked&&((e.viewHooks||(e.viewHooks=[])).push(n,t.afterViewChecked),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,t.afterViewChecked))}function ae(t,e,n){null!=t.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(n,t.onDestroy)}function se(t,e,n){16&t[Ut]&&(ue(t,e.initHooks,e.checkHooks,n),t[Ut]&=-17)}function ue(t,e,n,r){var o=r?e:n;o&&ce(t,o)}function ce(t,e){for(var n=0;n<e.length;n+=2)e[n+1].call(t[e[n]])}function le(t,e){var n=de(t),r=de(e);return n&&r?function(t,e,n){for(var r=t[X()](),o=e[X()]();;){var i=r.next(),a=o.next();if(i.done&&a.done)return!0;if(i.done||a.done)return!1;if(!n(i.value,a.value))return!1}}(t,e,le):!(n||!t||"object"!=typeof t&&"function"!=typeof t||r||!e||"object"!=typeof e&&"function"!=typeof e)||et(t,e)}var fe=function(){function t(t){this.wrapped=t}return t.wrap=function(e){return new t(e)},t.unwrap=function(e){return t.isWrapped(e)?e.wrapped:e},t.isWrapped=function(e){return e instanceof t},t}(),pe=function(){function t(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}return t.prototype.isFirstChange=function(){return this.firstChange},t}();function de(t){return!!he(t)&&(Array.isArray(t)||!(t instanceof Map)&&X()in t)}function he(t){return null!==t&&("function"==typeof t||"object"==typeof t)}var ve=0,ye=1,ge=6,me=7,_e="__ngContext__";function be(t){return"function"==typeof t?t.name||t:"string"==typeof t?t:null==t?"":""+t}function we(t,e){return e[t+Vt]}function Ce(t){for(;Array.isArray(t);)t=t[qt];return t}function Se(t,e){return Ce(e[t+Vt])}function Ee(t,e){return Ce(e[t.index])}function Oe(t,e){return e[Lt].data[t+Vt]}function xe(t,e){var n=e[t];return n.length>=Vt?n:n[qt]}function Te(t){return 0!=(16384&t.flags)}function je(t){return 4096==(4096&t.flags)}function ke(t){return null!==t.template}function Ie(t){return Array.isArray(t)&&"number"==typeof t[ve]}function Pe(t){return 0!=(64&t[Ut])}function Re(t){for(var e=Array.isArray(t)?t:De(t);e&&!(64&e[Ut]);)e=e[Ht];return e}function Ae(t){return Re(t)[Gt]}function Ne(t){return t[_e]}function De(t){var e=Ne(t);return e?Array.isArray(e)?e:e.lViewData:null}function Me(t){return t!==Dt}function Fe(t){return 32767&t}function Ve(t){return t>>16}function Le(t,e){for(var n=Ve(t),r=e;n>0;)r=r[ee],n--;return r}var Ue,He,Be,ze,qe,Qe,Ke,Ze,Ge,We,Ye=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Y);function Je(t,e){for(var n=0;n<t.length;n++)e.push(t[n])}function $e(){return Ue}function Xe(){return He}function tn(){return We&&We[Jt]}function en(){ze=!0}function nn(){ze=!1}function rn(){return We}function on(){return We}function an(t){gn=t}function sn(){return qe}function un(t){qe=t}function cn(t,e){qe=t,We=e}function ln(){return Qe}function fn(t){Qe=t}function pn(){return Ke}function dn(){return Ze}function hn(t){Ze=t}function vn(){return Ge}function yn(){return We}var gn=null;function mn(t){return t[Zt]||(t[Zt]=[])}function _n(t){return t[Lt].cleanup||(t[Lt].cleanup=[])}var bn=!1;function wn(){return bn}function Cn(t){bn=t}var Sn=!0;function En(){return Sn}function On(t){Sn=t}var xn=-1;function Tn(){return xn}function jn(t){xn=t}function kn(t,e){var n=We;return Ke=t&&t[Lt],Ge=t&&1==(1&t[Ut]),Sn=t&&Ke.firstTemplatePass,xn=t&&Ke.bindingStartIndex,Ue=t&&t[Yt],qe=e,Qe=!0,We=gn=t,n&&(n[zt]=Ze),Ze=t&&t[zt],n}function In(t){return void 0===t&&(t=1),(gn=function(t,e){for(;t>0;)e=e[ee],t--;return e}(t,gn))[Gt]}function Pn(t,e){e||(bn||ue(We,Ke.viewHooks,Ke.viewCheckHooks,Ge),We[Ut]&=-6),We[Ut]|=16,We[Kt]=Ke.bindingStartIndex,kn(t,null)}var Rn=!1;function An(t){var e=Rn;return Rn=t,e}var Nn=255,Dn=0;function Mn(t,e){var n=Vn(t,e);if(-1!==n)return n;var r=e[Lt];r.firstTemplatePass&&(t.injectorIndex=e.length,Fn(r.data,t),Fn(e,null),Fn(r.blueprint,null));var o=Ln(t,e),i=Fe(o),a=Le(o,e),s=t.injectorIndex;if(Me(o))for(var u=a[Lt].data,c=0;c<8;c++)e[s+c]=a[i+c]|u[i+c];return e[s+At]=o,s}function Fn(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Vn(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null==e[t.injectorIndex+At]?-1:t.injectorIndex}function Ln(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;for(var n=e[Qt],r=1;n&&-1===n.injectorIndex;)n=(e=e[ee])[Qt],r++;return n?n.injectorIndex|r<<16|(n&&3===n.type?32768:0):-1}function Un(t,e,n){!function(t,e,r){var o=n[b];null==o&&(o=n[b]=Dn++);var i=o&Nn,a=1<<i,s=64&i,u=32&i,c=e.data;128&i?s?u?c[t+7]|=a:c[t+6]|=a:u?c[t+5]|=a:c[t+4]|=a:s?u?c[t+3]|=a:c[t+2]|=a:u?c[t+1]|=a:c[t]|=a}(t,e[Lt])}function Hn(t,e){var n=t.attrs;if(n)for(var r=0;r<n.length;r+=2){var o=n[r];if(1===o)break;if(o==e)return n[r+1]}}function Bn(t,e,n,r,o){void 0===r&&(r=0);var i=function(t){var e=t[b];return"number"==typeof e?e&Nn:e}(n);if("function"==typeof i){var a=sn(),s=yn();cn(t,e);try{var u=i();if(null!=u||8&r)return u;throw new Error("No provider for "+be(n))}finally{cn(a,s)}}else if("number"==typeof i){var c=null,l=Vn(t,e),f=Dt;for((-1===l||4&r)&&(Zn(r,f=-1===l?Ln(t,e):e[l+At])?(c=e[Lt],l=Fe(f),e=Le(f,e)):l=-1);-1!==l;){f=e[l+At];var p=e[Lt];if(Kn(i,l,p.data)){var d=qn(l,e,n,c);if(d!==zn)return d}Zn(r,f)&&Kn(i,l,e)?(c=p,l=Fe(f),e=Le(f,e)):l=-1}}if(8&r&&void 0===o&&(o=null),0==(3&r)){var h=e[Wt];return h?h.get(n,o,8&r):It(n,o,8&r)}if(8&r)return o;throw new Error("NodeInjector: NOT_FOUND ["+be(n)+"]")}var zn={};function qn(t,e,n,r){var o=e[Lt],i=o.data[t+Rt],a=i.flags,s=i.providerIndexes,u=o.data,c=!1;(null==r&&je(i)&&Rn||null!=r&&r!=o&&(null==o.node||3===o.node.type))&&(c=!0);for(var l=65535&s,f=a>>16,p=4095&a,d=c?l:l+(s>>16);d<f+p;d++){var h=u[d];if(d<f&&n===h||d>=f&&h.type===n)return Qn(u,e,d,i)}return zn}function Qn(t,e,n,r){var o,i=e[n];if(null!=(o=i)&&"object"==typeof o&&Object.getPrototypeOf(o)==Ft){var a=i;if(a.resolving)throw new Error("Circular dep for "+be(t[n]));var s=An(a.canSeeViewProviders);a.resolving=!0;var u=void 0;a.injectImpl&&(u=Tt(a.injectImpl));var c=sn(),l=yn();cn(r,e);try{i=e[n]=a.factory(null,t,e,r)}finally{a.injectImpl&&Tt(u),An(s),a.resolving=!1,cn(c,l)}}return i}function Kn(t,e,n){var r=64&t,o=32&t;return!!((128&t?r?o?n[e+7]:n[e+6]:o?n[e+5]:n[e+4]:r?o?n[e+3]:n[e+2]:o?n[e+1]:n[e])&1<<t)}function Zn(t,e){return!(2&t||1&t&&32768&e)}var Gn=function(){function t(t,e){this._tNode=t,this._hostView=e,this._injectorIndex=Mn(t,e)}return t.prototype.get=function(t){return cn(this._tNode,this._hostView),Bn(this._tNode,this._hostView,t)},t}();function Wn(t){var e=t,n=ht(e)||vt(e)||yt(e)||S(e)||E(e);return n&&void 0!==n.factory?n.factory:null}function Yn(t){var e=Wn(Object.getPrototypeOf(t.prototype).constructor);return null!==e?e:function(t){return new t}}function Jn(t){var e,n=Ne(t);if(n){if(Array.isArray(n)){var r=n,o=void 0,i=void 0,a=void 0;if((e=t)&&e.constructor&&e.constructor.ngComponentDef){if(-1==(o=rr(r,t)))throw new Error("The provided component was not found in the application");i=t}else if(t&&t.constructor&&t.constructor.ngDirectiveDef){if(-1==(o=function(t,e){for(var n=t[Lt].firstChild;n;){for(var r=ir(n),o=ar(n,r),i=r;i<o;i++)if(t[i]===e)return n.index;n=nr(n)}return-1}(r,t)))throw new Error("The provided directive was not found in the application");a=or(o,r,!1)}else if(-1==(o=er(r,t)))return null;var s=Ne(h=Ce(r[o])),u=s&&!Array.isArray(s)?s:$n(r,o,h);if(i&&void 0===u.component&&(u.component=i,tr(u.component,u)),a&&void 0===u.directives){u.directives=a;for(var c=0;c<a.length;c++)tr(a[c],u)}tr(u.native,u),n=u}}else for(var l=t,f=l;f=f.parentNode;){var p=Ne(f);if(p){if(r=void 0,!(r=Array.isArray(p)?p:p.lViewData))return null;var d=er(r,l);if(d>=0){var h;tr(h=Ce(r[d]),u=$n(r,d,h)),n=u;break}}}return n||null}function $n(t,e,n){return{lViewData:t,nodeIndex:e,native:n,component:void 0,directives:void 0,localRefs:void 0}}function Xn(t){var e,n=Ne(t);if(Array.isArray(n)){var r=rr(n,t);(o=$n(n,r,(e=xe(r,n))[qt])).component=t,tr(t,o),tr(o.native,o)}else{var o;e=xe((o=n).nodeIndex,o.lViewData)}return e}function tr(t,e){t[_e]=e}function er(t,e){for(var n=t[Lt].firstChild;n;){if(Ee(n,t)===e)return n.index;n=nr(n)}return-1}function nr(t){return t.child?t.child:t.next?t.next:t.parent&&t.parent.next||null}function rr(t,e){var n=t[Lt].components;if(n)for(var r=0;r<n.length;r++){var o=n[r];if(xe(o,t)[Gt]===e)return o}else if(xe(Vt,t)[Gt]===e)return Vt;return-1}function or(t,e,n){var r=e[Lt].data[t],o=ir(r);if(0==o)return ot;var i=ar(r,o);return!n&&4096&r.flags&&o++,e.slice(o,i)}function ir(t){return t.flags>>16}function ar(t,e){var n=4095&t.flags;return n?e+n:-1}function sr(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]}var ur=f({__forward_ref__:f});function cr(t){return t.__forward_ref__=cr,t.toString=function(){return nt(this())},t}function lr(t){var e=t;return"function"==typeof e&&e.hasOwnProperty(ur)&&e.__forward_ref__===cr?e():t}var fr="__source",pr=new Object,dr=pr,hr=new O("INJECTOR"),vr=function(){function t(){}return t.prototype.get=function(t,e){if(void 0===e&&(e=pr),e===pr)throw new Error("NullInjectorError: No provider for "+nt(t)+"!");return e},t}(),yr=function(){function t(){}return t.create=function(t,e){return Array.isArray(t)?new Tr(t,e):new Tr(t.providers,t.parent,t.name||null)},t.THROW_IF_NOT_FOUND=pr,t.NULL=new vr,t.ngInjectableDef=w({providedIn:"any",factory:function(){return kt(hr)}}),t.__NG_ELEMENT_ID__=function(){return mr()},t}(),gr=function(){return t=sn(),new Gn(t,yn());var t},mr=sr,_r=function(t){return t},br=[],wr=_r,Cr=function(){return Array.prototype.slice.call(arguments)},Sr=f({provide:String,useValue:f}),Er=yr.NULL,Or=/\n/gm,xr="\u0275",Tr=function(){function t(t,e,n){void 0===e&&(e=Er),void 0===n&&(n=null),this.parent=e,this.source=n;var r=this._records=new Map;r.set(yr,{token:yr,fn:_r,deps:br,value:this,useNew:!1}),r.set(hr,{token:hr,fn:_r,deps:br,value:this,useNew:!1}),function t(e,n){if(n)if((n=lr(n))instanceof Array)for(var r=0;r<n.length;r++)t(e,n[r]);else{if("function"==typeof n)throw Ir("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw Ir("Unexpected provider",n);var o=lr(n.provide),i=function(t){var e=function(t){var e=br,n=t.deps;if(n&&n.length){e=[];for(var r=0;r<n.length;r++){var o=6;if((u=lr(n[r]))instanceof Array)for(var i=0,a=u;i<a.length;i++){var s=a[i];s instanceof wt||s==wt?o|=1:s instanceof St||s==St?o&=-3:s instanceof Ct||s==Ct?o&=-5:u=s instanceof bt?s.token:lr(s)}e.push({token:u,options:o})}}else if(t.useExisting){var u;e=[{token:u=lr(t.useExisting),options:6}]}else if(!(n||Sr in t))throw Ir("'deps' required",t);return e}(t),n=_r,r=br,o=!1,i=lr(t.provide);if(Sr in t)r=t.useValue;else if(t.useFactory)n=t.useFactory;else if(t.useExisting);else if(t.useClass)o=!0,n=lr(t.useClass);else{if("function"!=typeof i)throw Ir("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",t);o=!0,n=i}return{deps:e,fn:n,useNew:o,value:r}}(n);if(!0===n.multi){var a=e.get(o);if(a){if(a.fn!==Cr)throw jr(o)}else e.set(o,a={token:n.provide,deps:[],useNew:!1,fn:Cr,value:br});a.deps.push({token:o=n,options:6})}var s=e.get(o);if(s&&s.fn==Cr)throw jr(o);e.set(o,i)}}(r,t)}return t.prototype.get=function(t,e,n){void 0===n&&(n=0);var o=this._records.get(t);try{return function t(e,n,o,i,a,s){try{return function(e,n,o,i,a,s){var u,c;if(!n||4&s)2&s||(c=i.get(e,a,0));else{if((c=n.value)==wr)throw Error(xr+"Circular dependency");if(c===br){n.value=wr;var l=n.useNew,f=n.fn,p=n.deps,d=br;if(p.length){d=[];for(var h=0;h<p.length;h++){var v=p[h],y=v.options,g=2&y?o.get(v.token):void 0;d.push(t(v.token,g,o,g||4&y?i:Er,1&y?null:yr.THROW_IF_NOT_FOUND,0))}}n.value=c=l?new((u=f).bind.apply(u,Object(r.__spread)([void 0],d))):f.apply(void 0,d)}}return c}(e,n,o,i,a,s)}catch(u){throw u instanceof Error||(u=new Error(u)),(u.ngTempTokenPath=u.ngTempTokenPath||[]).unshift(e),n&&n.value==wr&&(n.value=br),u}}(t,o,this._records,this.parent,e,n)}catch(a){var i=a.ngTempTokenPath;throw t[fr]&&i.unshift(t[fr]),a.message=kr("\n"+a.message,i,this.source),a.ngTokenPath=i,a.ngTempTokenPath=null,a}},t.prototype.toString=function(){var t=[];return this._records.forEach(function(e,n){return t.push(nt(n))}),"StaticInjector["+t.join(", ")+"]"},t}();function jr(t){return Ir("Cannot mix multi providers and regular providers",t)}function kr(t,e,n){void 0===n&&(n=null),t=t&&"\n"===t.charAt(0)&&t.charAt(1)==xr?t.substr(2):t;var r=nt(e);if(e instanceof Array)r=e.map(nt).join(" -> ");else if("object"==typeof e){var o=[];for(var i in e)if(e.hasOwnProperty(i)){var a=e[i];o.push(i+":"+("string"==typeof a?JSON.stringify(a):nt(a)))}r="{"+o.join(", ")+"}"}return"StaticInjectorError"+(n?"("+n+")":"")+"["+r+"]: "+t.replace(Or,"\n ")}function Ir(t,e){return new Error(kr(t,e))}var Pr=function(){return function(){}}(),Rr=function(){return function(){}}();function Ar(t){throw new Error("Multiple components match node with tagname "+t.tagName)}var Nr="ngProjectAs",Dr=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({});function Mr(t){return!!t.listen}var Fr={createRenderer:function(t,e){return document}};function Vr(t,e){return null==t.parent?function(t){var e=t[Qt];return e&&2!==e.type?Ee(e,t[Ht]):null}(e):Ee(Lr(t),e)}function Lr(t){for(var e=t.parent;e&&5===e.type;)e=e.parent;return e}function Ur(t,e){if(-1===t.index){var n=e[Xt];return n>-1?e[Ht][n]:null}return e[Ht][t.parent.index]}function Hr(t,e){var n=Ur(t,e);return n?n[me]:null}var Br=[];function zr(t,e,n,r,o){for(var i=t[Lt].node,a=-1,s=t,u=i.child;u;){var c=null;if(3===u.type){Qr(e,n,r,Ee(u,s),o);var l=s[u.index];Ie(l)&&Qr(e,n,r,l[ge],o)}else if(0===u.type){var f=s[u.index];Qr(e,n,r,f[ge],o),r&&(f[me]=r),f[ye].length&&(c=(s=f[ye][0])[Lt].node,o=f[ge])}else if(1===u.type){var p=qr(s),d=p[Qt].projection[u.projection];Br[++a]=u,Br[++a]=s,d&&(c=(s=p[Ht])[Lt].data[d.index])}else c=u.child;if(null===c)for(null===u.next&&8192&u.flags&&(s=Br[a--],u=Br[a--]),c=u.next;!c;){if(null===(u=u.parent||s[Lt].node)||u===i)return null;0===u.type&&(o=(s=s[Ht])[u.index][ge]),c=2===u.type&&s[Bt]?(s=s[Bt])[Lt].node:u.next}u=c}}function qr(t){for(var e=t[Qt];e&&2===e.type;)e=(t=t[Ht])[Qt];return t}function Qr(t,e,n,r,o){0===t?Mr(e)?e.insertBefore(n,r,o):n.insertBefore(r,o,!0):1===t?Mr(e)?e.removeChild(n,r):n.removeChild(r):2===t&&e.destroyNode(r)}function Kr(t,e){return Mr(e)?e.createText(be(t)):e.createTextNode(be(t))}function Zr(t,e,n){var r=Hr(t[Lt].node,t);r&&zr(t,e?0:1,t[Yt],r,n)}function Gr(t,e,n,r,o){var i=e[ye];r>0&&(i[r-1][Bt]=t),r<i.length?(t[Bt]=i[r],i.splice(r,0,t)):(i.push(t),t[Bt]=null),o>-1&&(t[Xt]=o,t[Ht]=n),t[zt]&&t[zt].insertView(r),t[Ut]|=8}function Wr(t,e,n){var r=t[ye],o=r[e];e>0&&(r[e-1][Bt]=o[Bt]),r.splice(e,1),n||Zr(o,!1),o[zt]&&o[zt].removeView(),o[Xt]=-1,o[Ht]=null,o[Ut]&=-9}function Yr(t,e,n){var r=t[ye][n];Wr(t,n,!!e.detached),$r(r)}function Jr(t){var e=t[Lt].childIndex;return-1===e?null:t[e]}function $r(t){var e=t[Yt];Mr(e)&&e.destroyNode&&zr(t,2,e,null),function(t){if(-1===t[Lt].childIndex)return to(t);for(var e=Jr(t);e;){var n=null;if(e.length>=Vt?e[Lt].childIndex>-1&&(n=Jr(e)):e[ye].length&&(n=e[ye][0]),null==n){for(;e&&!e[Bt]&&e!==t;)to(e),e=Xr(e,t);to(e||t),n=e&&e[Bt]}e=n}}(t),t[Ut]|=32}function Xr(t,e){var n;return t.length>=Vt&&(n=t[Qt])&&2===n.type?Ur(n,t):t[Ht]===e?null:t[Ht]}function to(t){if(t.length>=Vt){var e=t;!function(t){var e=t[Lt].cleanup;if(null!=e){for(var n=0;n<e.length-1;n+=2)"string"==typeof e[n]?(Ce(t[e[n+1]]).removeEventListener(e[n],t[Zt][e[n+2]],e[n+3]),n+=2):"number"==typeof e[n]?(0,t[Zt][e[n]])():e[n].call(t[Zt][e[n+1]]);t[Zt]=null}}(e),function(t){var e,n=t[Lt];null!=n&&null!=(e=n.destroyHooks)&&ce(t,e)}(e),(r=(n=e)[Lt]&&n[Lt].pipeDestroyHooks)&&ce(n,r),-1===e[Lt].id&&Mr(e[Yt])&&e[Yt].destroy()}var n,r}function eo(t,e){if(no(t,e)){if(Pe(e))return oo(e[Yt],Ee(t,e));var n=e[Qt],r=t.parent;return null!=r&&4===r.type&&(t=ao(r)),null==t.parent&&2===n.type?Hr(n,e):Vr(t,e)}return null}function no(t,e){var n,r=t,o=t.parent;return t.parent&&(4===t.parent.type?o=(r=ao(t)).parent:5===t.parent.type&&(o=(r=Lr(r)).parent)),null===o&&(o=e[Qt]),o&&2===o.type?null!=(n=Ur(o,e))&&null!=n[me]:null==r.parent||!(3!==r.parent.type||4096&r.parent.flags)}function ro(t,e,n,r){Mr(t)?t.insertBefore(e,n,r):e.insertBefore(n,r,!0)}function oo(t,e){return Mr(t)?t.parentNode(e):e.parentNode}function io(t,e,n){if(void 0===t&&(t=null),null!==t&&no(e,n)){var r=n[Yt],o=Vr(e,n),i=e.parent||n[Qt];if(2===i.type){var a=Ur(i,n),s=a[ye],u=s.indexOf(n);ro(r,a[me],t,so(u,s,a[ge]))}else 4===i.type?ro(r,eo(e,n),t,o):5===i.type?ro(r,o,t,Ee(e.parent,n)):Mr(r)?r.appendChild(o,t):o.appendChild(t);return!0}return!1}function ao(t){for(;null!=t.parent&&4===t.parent.type;)t=t.parent;return t}function so(t,e,n){if(t+1<e.length){var r=e[t+1],o=r[Qt];return o.child?Ee(o.child,r):n}return n}function uo(t,e,n){if(null!==e&&no(t,n)){var r=Vr(t,n),o=n[Yt];return Mr(o)?o.removeChild(r,e):r.removeChild(e),!0}return!1}function co(t,e,n,r){var o=Ee(t,r);io(o,e,n),tr(o,r);var i=eo(e,n),a=r[t.index];if(0===t.type){a[me]=i;for(var s=a[ye],u=0;u<s.length;u++)Zr(s[u],!0,a[ge])}else{if(4===t.type)for(var c=t.child;c;)co(c,e,n,r),c=c.next;Ie(a)&&(a[me]=i,io(a[ge],e,n))}}function lo(t,e){for(var n,r,o,i,a,s=4,u=t.attrs,c=u?u.indexOf(1):-1,l=!1,f=0;f<e.length;f++){var p=e[f];if("number"!=typeof p){if(!l)if(4&s){if(s=2|1&s,""!==p&&p!==t.tagName){if(fo(s))return!1;l=!0}}else{var d=po(8&s?"class":p,u);if(-1===d){if(fo(s))return!1;l=!0;continue}var h,v=8&s?p:e[++f];if(""!==v)if(h=c>-1&&d>c?"":u[d+1],8&s&&(o=(n=h).length,a=(i=n.indexOf(r=v))+r.length,-1===i||i>0&&" "!==n[i-1]||a<o&&" "!==n[a])||2&s&&v!==h){if(fo(s))return!1;l=!0}}}else{if(!l&&!fo(s)&&!fo(p))return!1;if(l&&fo(p))continue;l=!1,s=p|1&s}}return fo(s)||l}function fo(t){return 0==(1&t)}function po(t,e){if(null===e)return-1;for(var n=!1,r=0;r<e.length;){var o=e[r];if(o===t)return r;0===o?r+=4:(1===o&&(n=!0),r+=n?1:2)}return-1}function ho(t,e){for(var n=0;n<e.length;n++)if(lo(t,e[n]))return!0;return!1}function vo(t,e,n){for(var r=function(t){var e=t.attrs;if(null!=e){var n=e.indexOf(Nr);if(0==(1&n))return e[n+1]}return null}(t),o=0;o<e.length;o++)if(r===n[o]||null===r&&ho(t,e[o]))return o+1;return 0}var yo={};function go(t,e){return new mo(t,e)}var mo=function(){return function(t,e){this.fn=t,this.value=e}}(),_o=function(){function t(){this._players=[]}return t.prototype.flushPlayers=function(){for(var t=0;t<this._players.length;t++){var e=this._players[t];e.parent||0!==e.state||e.play()}this._players.length=0},t.prototype.queuePlayer=function(t){this._players.push(t)},t}();function bo(t,e,n){return[null,e||null,n||[null],0,0,t||null,null,null]}function wo(t,e){for(var n=t+Vt,r=e[n],o=e;Array.isArray(r);)o=r,r=r[qt];if("number"!=typeof(s=o)[Ut]&&"number"!=typeof s[ve])return o;var i,a,s,u=Oe(t,e).stylingTemplate;return o!==e&&(n=qt),o[n]=u?(i=r,(a=u.slice())[5]=i,a):bo(r)}function Co(t,e,n,r,o,i){return i=i||n,o?t[o]=r:t.push(r),!!r&&(r.addEventListener(200,function(){var e=t.indexOf(r);e&&(e<t[0]?t[e]=null:t.splice(e,1)),r.destroy()}),(e.playerHandler||(e.playerHandler=new _o)).queuePlayer(r,i),!0)}function So(t){return t[0]}function Eo(t){return t[0]=[5,null,null,null,null]}var Oo=[],xo={};function To(t,e,n){var r=8+4*e,o=Wo(t,r),i=Go(t,r);if(ii(i,o,n instanceof mo?n.value:n)){var a=2==(2&i),s=n instanceof mo?new ai(n,t[5],a?1:2):null,u=s?n.value:n,c=Qo(t,r),l=!1;if(Bo(t,s,c)){var f=zo(t,s,c);qo(t,r,s?f:0),l=!0}Ho(t,r,u);var p=Fo(i),d=Wo(t,p);if(!d||ii(i,d,u)){var h=!1,v=!0;!ri(u,a)&&ri(d,a)&&(h=!0,v=!1),Io(t,p,h),Io(t,r,v),$o(t,!0)}l&&Xo(t,!0)}}function jo(t,e,n,r,o,i,a){n=o&&n?o(e,n):n,i||a?(i&&i.setValue(e,n),a&&a.setValue(e,n)):n?Mr(r)?r.setStyle(t,e,n,Dr.DashCase):t.style.setProperty(e,n):Mr(r)?r.removeStyle(t,e,Dr.DashCase):t.style.removeProperty(e)}function ko(t,e,n,r,o,i){o||i?(o&&o.setValue(e,n),i&&i.setValue(e,n)):n?Mr(r)?r.addClass(t,e):t.classList.add(e):Mr(r)?r.removeClass(t,e):t.classList.remove(e)}function Io(t,e,n){var r=e>=8?e+0:e;n?t[r]|=1:t[r]&=-2}function Po(t,e){return 1==(1&t[e>=8?e+0:e])}function Ro(t,e){return 2==(2&t[e>=8?e+0:e])}function Ao(t,e){return 4==(4&t[e>=8?e+0:e])}function No(t,e,n){return 31&t|e<<5|n<<19}function Do(t,e){var n=Mo(e);return t[2][n]}function Mo(t){return t>>5&16383}function Fo(t){var e=t>>19&16383;return e>=8?e:-1}function Vo(t){return Fo(t[3])}function Lo(t){return t[1]}function Uo(t,e,n){t[e+1]=n}function Ho(t,e,n){t[e+2]=n}function Bo(t,e,n){var r=t[0];if(e){if(!r||0===n)return!0}else if(!r)return!1;return r[n]!==e}function zo(t,e,n){var r=t[0]||Eo(t);return n>0?r[n]=e:(r.splice(n=r[0],0,e,null),r[0]+=2),n}function qo(t,e,n){t[e+3]=n}function Qo(t,e){return t[e+3]||0}function Ko(t,e){var n=Qo(t,e);if(n){var r=t[0];if(r)return r[n]}return null}function Zo(t,e,n){t[3===e?e:e+0]=n}function Go(t,e){return t[3===e?e:e+0]}function Wo(t,e){return t[e+2]}function Yo(t,e){return t[e+1]}function Jo(t){return 16&t[3]}function $o(t,e){Io(t,3,e)}function Xo(t,e){e?t[3]|=8:t[3]&=-9}function ti(t,e,n){for(var r=(n||0)+1;r<t.length;r+=4)if(t[r]==e)return r-1;return-1}function ei(t,e,n){var r=Wo(t,e),o=Yo(t,e),i=Go(t,e),a=Qo(t,e),s=i,u=Go(t,n),c=Fo(s);c>=0&&Zo(t,c,No(l=Go(t,c),Mo(l),n));var l,f=Fo(u);f>=0&&Zo(t,f,No(l=Go(t,f),Mo(l),e)),Ho(t,e,Wo(t,n)),Uo(t,e,Yo(t,n)),Zo(t,e,Go(t,n)),qo(t,e,Qo(t,n)),Ho(t,n,r),Uo(t,n,o),Zo(t,n,i),qo(t,n,a)}function ni(t,e,n,r,o,i,a){var s=e<t.length;t.splice(e,0,1|o|(n?2:0),r,i,a),s&&function(t,n){for(var r=e+4;r<t.length;r+=4){var o=Fo(Go(t,r));if(o>0){var i=Mo(Go(t,o));Zo(t,o,No((Po(t,o)?1:0)|(Ro(t,o)?2:0)|(Ao(t,o)?4:0),i,r))}}}(t)}function ri(t,e){return e?!!t:null!==t}function oi(t,e,n){return e?2:n&&n(t)?4:0}function ii(t,e,n){return!(2&t)&&e&&n&&4&t?e.toString()!==n.toString():e!==n}var ai=function(){function t(t,e,n){this._element=e,this._type=n,this._values={},this._dirty=!1,this._factory=t}return t.prototype.setValue=function(t,e){this._values[t]!==e&&(this._values[t]=e,this._dirty=!0)},t.prototype.buildPlayer=function(t,e){if(this._dirty){var n=this._factory.fn(this._element,this._type,this._values,e,t||null);return this._values={},this._dirty=!1,n}},t}(),si=Promise.resolve(null);function ui(t,e){var n=pn(),r=En();if(n.firstTemplatePass=!1,On(!1),1!==e){var o=vn(),i=wn();i||se(t,n,o),function(e){for(var n=Jr(t);null!==n;n=n[Bt])if(n.length<Vt&&-1===n[ve])for(var r=n,o=0;o<r[ye].length;o++){var i=r[ye][o];di(i,i[Lt],i[Gt],2)}}(),function(t){if(null!=t.contentQueries)for(var e=0;e<t.contentQueries.length;e+=2){var n=t.contentQueries[e];t.data[n].contentQueriesRefresh(n-Vt,t.contentQueries[e+1])}}(n),i||ue(t,n.contentHooks,n.contentCheckHooks,o),function(t,e){if(t.expandoInstructions){var n=e[Kt]=t.expandoStartIndex;jn(n);for(var r=-1,o=-1,i=0;i<t.expandoInstructions.length;i++){var a=t.expandoInstructions[i];if("number"==typeof a){if(a<=0){o=-a;var s=t.expandoInstructions[++i];r=n+=Nt+s}else n+=a;jn(n)}else e[Kt]=n,un(pn().data[o+Vt]),a(r-Vt,o),r++}}}(n,t)}!function(t,e,n){if(null!=t)for(var r=0;r<t.length;r++)fa(t[r],e,n)}(n.components,r,e)}function ci(t,e,n,r,o,i,a){var s=n.blueprint.slice();return s[Ut]=25|o,s[Ht]=s[ee]=t,s[Gt]=r,s[Wt]=void 0===a?t?t[Wt]:null:a,s[Yt]=e,s[Jt]=i||null,s}function li(t,e,n,r,o){var i=yn(),a=pn(),s=t+Vt;i[s]=n;var u=a.data[s];if(null==u){var c=sn(),l=ln();u=a.data[s]=Fi(i,e,s,r,o,null),c&&(!l||null!=c.child||null===u.parent&&2!==c.type?l||(c.next=u):c.child=u)}return null==a.firstChild&&3===e&&(a.firstChild=u),un(u),fn(!0),u}function fi(t,e){null==e[Lt].node&&(e[Lt].node=Fi(e,2,t,null,null,null)),fn(!0);var n=e[Lt].node;return un(n),e[Qt]=n}function pi(t){var e=t[Lt];e.firstTemplatePass&&(e.expandoStartIndex++,e.blueprint.push(null),e.data.push(null),t.push(null))}function di(t,e,n,r){var o,i=ln(),a=sn();if(fn(!0),un(null),64&t[Ut])_a(Ae(t));else try{fn(!0),un(null),o=kn(t,t[Qt]),bi(),e.template(r,n),2&r?ui(t,null):(t[Lt].firstTemplatePass=!1,On(!1))}finally{Pn(o,1==(1&r)),fn(i),un(a)}}function hi(t){return void 0===t&&(t=1),In(t)}function vi(t,e,n,r){var o=Xe(),i=kn(t,t[Qt]);try{o.begin&&o.begin(),r&&(bi(),r(n||yi(t),e)),ui(t,n)}finally{o.end&&o.end(),Pn(i)}}function yi(t){return 1&t[Ut]?3:2}var gi=null;function mi(){gi="http://www.w3.org/2000/svg/"}function _i(){gi="http://www.w3.org/1998/MathML/"}function bi(){gi=null}function wi(t,e,n,r){Ei(t,e,n,r),Ni()}function Ci(t,e,n){var r=yn(),o=pn(),i=$e().createComment("");io(i,li(t,4,i,null,e||null),r),xi(o,r,n)}function Si(){var t=sn(),e=pn();ln()?fn(!1):un(t=t.parent);var n=dn();n&&hn(n.addNode(t)),re(t.flags,e)}function Ei(t,e,n,r){var o=yn(),i=pn(),a=Oi(e),s=li(t,3,a,e,n||null);n&&ki(a,n),io(a,s,o),xi(i,o,r),0===Be&&tr(a,o),Be++}function Oi(t,e){var n=e||$e();return Mr(n)?n.createElement(t,gi):null===gi?n.createElement(t):n.createElementNS(gi,t)}function xi(t,e,n,r){if(void 0===r&&(r=Ee),ze){var o=sn();En()&&function(t,e,n,r,o){var i=o?{"":-1}:null,a=0;if(n){ta(r,t.data.length,n.length);for(var s=0;s<n.length;s++)(u=n[s]).providersResolver&&u.providersResolver(u);for(Gi(t,r,n.length),s=0;s<n.length;s++){var u,c=t.data.length;ea(t,e,u=n[s],u.factory),a+=u.hostVars,Xi(t.data.length-1,u,i),ne(c,u.onInit,u.doCheck,t)}}i&&function(t,e,n){if(e)for(var r=t.localNames=[],o=0;o<e.length;o+=2){var i=n[e[o+1]];if(null==i)throw new Error("Export of name '"+e[o+1]+"' not found!");r.push(e[o],i)}}(r,o,i),Wi(t,e,a)}(t,e,function(t,e,n){var r=t.directiveRegistry,o=null;if(r)for(var i=0;i<r.length;i++){var a=r[i];ho(n,a.selectors)&&(o||(o=[]),Un(Mn(sn(),e),e,a.type),ke(a)?(4096&n.flags&&Ar(n),n.flags=4096,o.unshift(a)):o.push(a))}return o}(t,e,o),o,n||null),function(t,e,n){var r=n.flags>>16,o=r+n.flags&4095;!En()&&r<o&&Mn(n,e);for(var i=r;i<o;i++){var a=t.data[i];ke(a)&&na(e,n,a),Yi(e,Qn(t.data,e,i,n),a,i)}}(t,e,o),function(t,e,n){var r=e.localNames;if(r)for(var o=e.index+1,i=0;i<r.length;i+=2){var a=r[i+1],s=-1===a?n(e,t):t[a];t[o++]=s}}(e,o,r)}}function Ti(t,e,n,r,o,i){return t.ngPrivateData||(t.ngPrivateData=ji(-1,t,e,n,r,o,i))}function ji(t,e,n,r,o,i,a){var s=Vt+n,u=s+r,c=function(t,e){var n=new Array(e).fill(null,0,t).fill(yo,t);return n[Xt]=-1,n[Kt]=t,n}(s,u);return c[Lt]={id:t,blueprint:c,template:e,viewQuery:a,node:null,data:c.slice(),childIndex:-1,bindingStartIndex:s,expandoStartIndex:u,expandoInstructions:null,firstTemplatePass:!0,initHooks:null,checkHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,pipeDestroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof i?i():i,firstChild:null}}function ki(t,e){for(var n=$e(),r=Mr(n),o=0;o<e.length;){var i=e[o];if(1===i)break;if(i===Nr)o+=2;else if(0===i){var a=e[o+1],s=e[o+2],u=e[o+3];r?n.setAttribute(t,s,u,a):t.setAttributeNS(a,s,u),o+=4}else u=e[o+1],r?n.setAttribute(t,i,u):t.setAttribute(i,u),o+=2}}function Ii(t,e){!function(t){He=t}(t);var n=t.createRenderer(null,null);return"string"==typeof e?Mr(n)?n.selectRootElement(e):n.querySelector(e):e}function Pi(t,e,n){void 0===n&&(n=!1);var r=yn(),o=sn();if(3===o.type){var i=Ee(o,r),a=$e();if(Mr(a))Ai(r,a.listen(i,t,e));else{var s=function(t){return function(e){!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}(e);i.addEventListener(t,s,n);var u=mn(r);u.push(s),En()&&_n(r).push(t,o.index,u.length-1,n)}}void 0===o.outputs&&(o.outputs=Li(o.flags,1));var c,l=o.outputs;l&&(c=l[t])&&function(t,e,n){for(var r=0;r<e.length;r+=2){var o=t[e[r]][e[r+1]].subscribe(n);Ri(t,o,o.unsubscribe)}}(r,c,e)}function Ri(t,e,n){t||(t=yn()),mn(t).push(e),t[Lt].firstTemplatePass&&_n(t).push(n,t[Zt].length-1)}function Ai(t,e){mn(t).push(e),t[Lt].firstTemplatePass&&_n(t).push(t[Zt].length-1,null)}function Ni(){var t=sn();ln()?fn(!1):un(t=t.parent);var e=dn();e&&hn(e.addNode(t)),re(t.flags,pn()),Be--}function Di(t,e,n,r){if(n!==yo){var o=yn(),i=$e(),a=Se(t,o);if(null==n)Mr(i)?i.removeAttribute(a,e):a.removeAttribute(e);else{var s=null==r?be(n):r(n);Mr(i)?i.setAttribute(a,e,s):a.setAttribute(e,s)}}}function Mi(t,e,n,r){if(n!==yo){var o,i=yn(),a=Se(t,i),s=Oe(t,i),u=Ga(s);if(u&&(o=u[e]))Vi(i,o,n),je(s)&&function(e,n){var r=xe(t+Vt,e);2&r[Ut]||(r[Ut]|=4)}(i);else if(3===s.type){var c=$e();n=null!=r?r(n):n,Mr(c)?c.setProperty(a,e,n):a.setProperty?a.setProperty(e,n):a[e]=n}}}function Fi(t,e,n,r,o,i){var a=sn(),s=ln()?a:a&&a.parent,u=s&&t&&s!==t[Qt]?s:null;return{type:e,index:n,injectorIndex:u?u.injectorIndex:-1,flags:0,providerIndexes:0,tagName:r,attrs:o,localNames:null,initialInputs:void 0,inputs:void 0,outputs:void 0,tViews:i,next:null,child:null,parent:u,detached:null,stylingTemplate:null,projection:null}}function Vi(t,e,n){for(var r=0;r<e.length;r+=2)t[e[r]][e[r+1]]=n}function Li(t,e){var n=pn(),r=4095&t,o=null;if(r>0)for(var i=t>>16,a=i+r,s=0===e,u=n.data,c=i;c<a;c++){var l=u[c],f=s?l.inputs:l.outputs;for(var p in f)if(f.hasOwnProperty(p)){var d=f[p];(o=o||{}).hasOwnProperty(p)?o[p].push(c,d):o[p]=[c,d]}}return o}function Ui(t,e,n,r){if(null!=r)return function(t,e,n,r){var o=Se(t,yn()),i=o.hostStylingHack[r].classDeclarations[e],a=$e();if(Mr(a))n?a.addClass(o,i):a.removeClass(o,i);else{var s=o.classList;n?s.add(i):s.remove(i)}}(t,e,n,r);var o,i=n instanceof mo?n:!!n;To(o=wo(t,yn()),e+o[4],i)}function Hi(t,e,n,r){if(void 0===r){var o=sn(),i=Ga(o);if(!o.stylingTemplate){var a=!(!i||!i.hasOwnProperty("class"));a&&(o.flags|=32768),o.stylingTemplate=function(t,e,n,r){var o=[null],i=bo(null,n,o),a={},s={},u=0;if(e)for(var c=!1,l=0;l<e.length;l++)if(1===(h=e[l]))c=!0;else{var f=h;if(c){var p=e[++l];o.push(p),a[f]=o.length-1}else u++,a[f]=0}i[4]=u;var d=r?[]:null;if(t)for(c=!1,l=0;l<t.length;l++){var h;if(1===(h=t[l]))c=!0;else{var v=h;c?(p=t[++l],o.push(p),s[v]=o.length-1,d&&d.push(v)):s[v]=0}}var y=Object.keys(a),g=Object.keys(s),m=y.length,_=y.length+g.length,b=4*_*2+8;for(l=8;l<b;l++)i.push(null);var w=4*_+8;for(l=0;l<_;l++){var C=l>=m,S=(f=C?g[l-m]:y[l],C?s[f]:a[f]),E=o[S],O=4*l+w,x=4*l+8,T=oi(f,C,n||null);Zo(i,x,No(T,S,O)),Uo(i,x,f),Ho(i,x,null),qo(i,x,0),Zo(i,O,No(T|(null!==E?1:0),S,x)),Uo(i,O,f),Ho(i,O,null),qo(i,O,0)}return Zo(i,3,No(0,0,w)|(r?16:0)),$o(i,o.length>1),d&&(i[6]=d.join(" ")),i}(t,e,n,a)}if(e&&e.length||t&&t.length){var s=o.index-Vt;if(Wa(o)){var u=wo(s,yn())[6];Vi(yn(),o.inputs.class,u)}Bi(s)}}else vn()&&function(t,e,n,r){var o=Ee(sn(),yn());(o.hostStylingHack||(o.hostStylingHack={}))[r]={classDeclarations:Qi(t),styleDeclarations:Qi(e),styleSanitizer:n}}(t||null,e||null,n||null,r)}function Bi(t,e){if(null==e){var n=yn(),r=0!=(1&n[Ut]);(function(t,e,n,r,o,i){var a=0;if(function(t){return Po(t,3)}(t)){for(var s=8&t[3],u=t[5],c=Vo(t),l=Lo(t),f=Jo(t),p=8;p<t.length;p+=4)if(Po(t,p)){var d=Yo(t,p),h=Wo(t,p),v=Go(t,p),y=Ko(t,p),g=!!(2&v),m=!g||!f,_=h;p<c&&!ri(_,g)&&(_=Wo(t,Fo(v))),!ri(_,g)&&m&&(_=Do(t,v)),(!r||_)&&(g?ko(u,d,!!_,e,void 0,y):jo(u,d,_,e,4&v?l:null,void 0,y)),Io(t,p,!1)}if(s){var b=Array.isArray(n)?Ae(n):n,w=So(t),C=w[0];for(p=1;p<C;p+=2){var S=w[p],E=p+1,O=w[E];if(S){var x=S.buildPlayer(O,r);void 0!==x&&(null!=x&&Co(w,b,u,x,E)&&a++,O&&O.destroy())}else O&&O.destroy()}Xo(t,!1)}$o(t,!1)}return a})(wo(t,n),$e(),n,r)>0&&ma(Ae(n),2)}}function zi(t,e,n,r,o){if(null!=o)return function(t,e,n,r,o){throw new Error("unimplemented. Should not be needed by ViewEngine compatibility")}();var i=null;n&&(i=r?be(n)+r:n),To(wo(t,yn()),e,i)}function qi(t,e,n,r){if(null!=r)return function(t,e,n,r){throw new Error("unimplemented. Should not be needed by ViewEngine compatibility")}();var o=yn(),i=Oe(t,o),a=wo(t,o);if(Wa(i)&&e!==yo){var s=a[6],u=(s.length?s+" ":"")+e;Vi(yn(),i.inputs.class,u)}!function(t,e,n){n=n||null;var r=t[5],o=e instanceof mo?new ai(e,r,1):null,i=n instanceof mo?new ai(n,r,2):null,a=o?e.value:e,s=i?n.value:n,u=Jo(t)||a===yo||a===t[6],c=s===yo||s===t[7];if(!u||!c){t[6]=a,t[7]=s;var l=Oo,f=!1,p=!1,d=o?1:0;Bo(t,o,1)&&(zo(t,o,1),p=!0);var h=i?3:0;Bo(t,i,3)&&(zo(t,i,3),p=!0),u||("string"==typeof a?(l=a.split(/\s+/),f=!0):l=a?Object.keys(a):Oo);for(var v=a||xo,y=s?Object.keys(s):Oo,g=s||xo,m=y.length,_=!1,b=Vo(t),w=0,C=y.length+l.length;b<t.length&&w<C;){var S=w>=m;if(!S&&!c||S&&!u){var E=S?w-m:w,O=S?l[E]:y[E],x=S?!!f||v[O]:g[O],T=S?d:h;if((F=Yo(t,b))===O){var j=Wo(t,b),k=Go(t,b);qo(t,b,T),ii(k,j,x)&&(Ho(t,b,x),p=p||!!T,ii(k,A=Do(t,k),x)&&(Io(t,b,!0),_=!0))}else{var I=ti(t,O,b);if(I>0){var P=Wo(t,I),R=Go(t,I);if(ei(t,b,I),ii(R,P,x)){var A=Do(t,R);Ho(t,b,x),ii(R,A,x)&&(Io(t,b,!0),p=p||!!T,_=!0)}}else p=p||!!T,ni(t,b,S,O,oi(O,S,Lo(t)),x,T),_=!0}}b+=4,w++}for(;b<t.length;){var N=2==(2&(k=Go(t,b)));(!N&&!c||N&&!u)&&ri(j=Wo(t,b),N)&&(Io(t,b,!0),Ho(t,b,null),qo(t,b,T=N?d:h),_=!0),b+=4}for(var D=Lo(t);w<C;){var M=w>=m;if(!M&&!c||M&&!u){E=M?w-m:w;var F=M?l[E]:y[E];j=M?!!f||v[F]:g[F],k=1|oi(F,M,D),t.push(k,F,j,T=M?d:h),_=!0}w++}_&&$o(t,!0),p&&Xo(t,!0)}}(a,e,n)}function Qi(t){return t||[]}function Ki(t,e){var n=yn(),r=Kr(e,$e()),o=li(t,3,r,null,null);fn(!1),io(r,o,n)}function Zi(t,e){if(e!==yo){var n=Se(t,yn()),r=$e();Mr(r)?r.setValue(n,be(e)):n.textContent=be(e)}}function Gi(t,e,n){var r=-(e.index-Vt),o=t.data.length-(65535&e.providerIndexes);(t.expandoInstructions||(t.expandoInstructions=[])).push(r,o,n)}function Wi(t,e,n){for(var r=0;r<n;r++)e.push(yo),t.blueprint.push(yo),t.data.push(null)}function Yi(t,e,n,r){var o=sn();Ji(t,o,e,n),o&&o.attrs&&function(t,e,r,i){var a=o.initialInputs;(void 0===a||t>=a.length)&&(a=function(t,e,n){var r=n.initialInputs||(n.initialInputs=[]);r[t]=null;for(var o=n.attrs,i=0;i<o.length;){var a=o[i];if(1===a)break;if(0!==a){var s=e[a],u=o[i+1];void 0!==s&&(r[t]||(r[t]=[])).push(s,u),i+=2}else i+=4}return r}(t,n.inputs,o));var s=a[t];if(s)for(var u=0;u<s.length;u+=2)e[s[u]]=s[u+1]}(r,e),n.contentQueries&&n.contentQueries(r),ke(n)&&(xe(o.index,t)[Gt]=e)}function Ji(t,e,n,r){var o=Ee(e,t);tr(n,t),o&&tr(o,t),null!=r.attributes&&3==e.type&&ki(o,r.attributes)}function $i(t){var e=pn();(e.components||(e.components=[])).push(t.index)}function Xi(t,e,n){n&&(e.exportAs&&(n[e.exportAs]=t),e.template&&(n[""]=t))}function ta(t,e,n){t.flags=e<<16|4096&t.flags|n,t.providerIndexes=e}function ea(t,e,n,r){t.data.push(n);var o=new Mt(r,ke(n),null);t.blueprint.push(o),e.push(o),function(t,e){t.expandoInstructions.push(e.hostBindings||sr),e.hostVars&&t.expandoInstructions.push(e.hostVars)}(t,n)}function na(t,e,n){var r=Ee(e,t),o=Ti(n.template,n.consts,n.vars,n.directiveDefs,n.pipeDefs,n.viewQuery),i=ya(t,e.index,ci(yn(),Xe().createRenderer(r,n),o,null,n.onPush?4:2,tn()));i[Qt]=e,i[qt]=t[e.index],t[e.index]=i,En()&&$i(e)}function ra(t,e,n,r,o){return[o?-1:0,[],n,null,null,t,r,eo(e,n)]}function oa(t,e,n,r,o,i,a,s){var u=yn(),c=pn(),l=aa(t,o||null,i||null);En()&&(l.tViews=ji(-1,e,n,r,c.directiveRegistry,c.pipeRegistry,null)),xi(c,u,a,s);var f=dn(),p=sn();f&&hn(f.addNode(p)),re(l.flags,c),fn(!1)}function ia(t){var e=aa(t,null,null);En()&&(e.tViews=[]),fn(!1)}function aa(t,e,n){var r=yn(),o=t+Vt,i=$e().createComment(""),a=li(t,0,i,e,n),s=r[o]=ra(r[o],a,r,i);io(i,a,r),ya(r,t+Vt,s);var u=dn();return u&&(s[zt]=u.container()),a}function sa(t){var e=yn(),n=pn();un(we(t,n.data)),fn(!0),e[t+Vt][ve]=0,wn()||se(e,n,vn())}function ua(){var t=sn();ln()?fn(!1):un(t=t.parent);for(var e=yn()[t.index],n=e[ve];n<e[ye].length;)Yr(e,t,n)}function ca(t,e,n){var r=yn(),o=sn(),i=2===o.type?o.parent:o,a=r[i.index],s=function(t,e,n,r){for(var o=t[ye],i=n;i<o.length;i++){var a=o[i][Lt].id;if(a===r)return o[i];if(!(a<r))break;Yr(t,e,i)}return null}(a,i,a[ve],t);return s?(fn(!0),kn(s,s[Lt].node)):(s=ci(yn(),$e(),function(t,e,n,r){var o=pn(),i=r.tViews;return(t>=i.length||null==i[t])&&(i[t]=ji(t,null,e,n,o.directiveRegistry,o.pipeRegistry,null)),i[t]}(t,e,n,i),null,2,tn()),a[zt]&&(s[zt]=a[zt].createView()),fi(t,s),kn(s,s[Lt].node)),a&&(vn()&&Gr(s,a,r,a[ve],-1),a[ve]++),yi(s)}function la(){var t=yn(),e=t[Qt];ui(t,null),Pn(t[Ht]),un(e),fn(!1)}function fa(t,e,n){var r=xe(t,yn());pa(r)&&6&r[Ut]&&(e&&function(t){for(var e=t[Lt],n=t.length;n<e.blueprint.length;n++)t[n]=e.blueprint[n]}(r),Ca(r,r[Gt],n))}function pa(t){return 8==(8&t[Ut])}function da(t,e){var n=qr(yn())[Qt];if(!n.projection)for(var r=n.projection=new Array(t?t.length+1:1).fill(null),o=r.slice(),i=n.child;null!==i;){var a=t?vo(i,t,e):0,s=i.next;o[a]?o[a].next=i:(r[a]=i,i.next=null),o[a]=i,i=s}}var ha=[];function va(t,e,n){void 0===e&&(e=0);var r=yn(),o=li(t,1,null,null,n||null);null===o.projection&&(o.projection=e),fn(!1);for(var i=qr(r),a=i[Qt].projection[e],s=i[Ht],u=-1;a;){if(1===a.type){var c=qr(s),l=c[Qt].projection[a.projection];if(l){ha[++u]=a,ha[++u]=s,a=l,s=c[Ht];continue}}else a.flags|=8192,co(a,o,r,s);null===a.next&&s!==i[Ht]&&(s=ha[u--],a=ha[u--]),a=a.next}}function ya(t,e,n){var r=pn(),o=En();return t[$t]?t[$t][Bt]=n:o&&(r.childIndex=e),t[$t]=n,n}function ga(t){for(var e=t;e&&!(64&e[Ut]);)e[Ut]|=4,e=e[Ht];e[Ut]|=4,ma(e[Gt],1)}function ma(t,e){var n,r=0===t.flags;t.flags|=e,r&&t.clean==si&&(t.clean=new Promise(function(t){return n=t}),t.scheduler(function(){if(1&t.flags&&(t.flags&=-2,_a(t)),2&t.flags){t.flags&=-3;var e=t.playerHandler;e&&e.flushPlayers()}t.clean=si,n(null)}))}function _a(t){for(var e=0;e<t.components.length;e++){var n=t.components[e];vi(De(n),n,2)}}function ba(t){Ca(Xn(t),t,null)}function wa(t){_a(t[Gt])}function Ca(t,e,n){var r=t[Lt],o=kn(t,t[Qt]),i=r.template,a=r.viewQuery;try{bi(),function(e,r,o,i){e&&(1===n||null===n&&1&t[Ut])&&e(1,i)}(a,0,0,e),i(n||yi(t),e),ui(t,n),function(e,n,r){e&&2&t[Ut]&&e(2,r)}(a,0,e)}finally{Pn(o,1===n)}}function Sa(t){ga(Xn(t))}function Ea(t){return La(yn()[Kt]++,t)?t:yo}function Oa(t){for(var e=!1,n=1;n<t.length;n+=2)La(yn()[Kt]++,t[n])&&(e=!0);if(!e)return yo;var r=t[0];for(n=1;n<t.length;n+=2)r+=be(t[n])+t[n+1];return r}function xa(t,e,n){return La(yn()[Kt]++,e)?t+be(e)+n:yo}function Ta(t,e,n,r,o){var i=yn(),a=Ha(i[Kt],e,r);return i[Kt]+=2,a?t+be(e)+n+be(r)+o:yo}function ja(t,e,n,r,o,i,a){var s=yn(),u=Ba(s[Kt],e,r,i);return s[Kt]+=3,u?t+be(e)+n+be(r)+o+be(i)+a:yo}function ka(t,e,n,r,o,i,a,s,u){var c=yn(),l=za(c[Kt],e,r,i,s);return c[Kt]+=4,l?t+be(e)+n+be(r)+o+be(i)+a+be(s)+u:yo}function Ia(t,e,n,r,o,i,a,s,u,c,l){var f=yn(),p=za(f[Kt],e,r,i,s);return p=La(f[Kt]+4,c)||p,f[Kt]+=5,p?t+be(e)+n+be(r)+o+be(i)+a+be(s)+u+be(c)+l:yo}function Pa(t,e,n,r,o,i,a,s,u,c,l,f,p){var d=yn(),h=za(d[Kt],e,r,i,s);return h=Ha(d[Kt]+4,c,f)||h,d[Kt]+=6,h?t+be(e)+n+be(r)+o+be(i)+a+be(s)+u+be(c)+l+be(f)+p:yo}function Ra(t,e,n,r,o,i,a,s,u,c,l,f,p,d,h){var v=yn(),y=za(v[Kt],e,r,i,s);return y=Ba(v[Kt]+4,c,f,d)||y,v[Kt]+=7,y?t+be(e)+n+be(r)+o+be(i)+a+be(s)+u+be(c)+l+be(f)+p+be(d)+h:yo}function Aa(t,e,n,r,o,i,a,s,u,c,l,f,p,d,h,v,y){var g=yn(),m=za(g[Kt],e,r,i,s);return m=za(g[Kt]+4,c,f,d,v)||m,g[Kt]+=8,m?t+be(e)+n+be(r)+o+be(i)+a+be(s)+u+be(c)+l+be(f)+p+be(d)+h+be(v)+y:yo}function Na(t,e){var n=pn(),r=t+Vt;r>=n.data.length&&(n.data[r]=null),yn()[r]=e}function Da(t){return we(t,gn)}function Ma(t){return yn()[te][t]}function Fa(t){return we(t,yn())}function Va(t){return yn()[t]}function La(t,e){var n,r,o=yn(),i=wn();if(o[t]===yo)o[t]=e;else{if(r=e,(n=o[t])!=n&&r!=r||n===r)return!1;!function(n,r,i,a){if(r){var s="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+o[t]+"'. Current value: '"+e+"'.";throw n&&(s+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),new Error(s)}}(vn(),i),o[t]=e}return!0}function Ua(t,e){return yn()[t]=e}function Ha(t,e,n){var r=La(t,e);return La(t+1,n)||r}function Ba(t,e,n,r){var o=Ha(t,e,n);return La(t+2,r)||o}function za(t,e,n,r,o){var i=Ha(t,e,n);return Ha(t+2,r,o)||i}function qa(t,e){return void 0===e&&(e=0),t=lr(t),Bn(sn(),yn(),t,e)}function Qa(t){return Hn(sn(),t)}function Ka(t,e){var n=yn(),r=pn(),o=(n[te]||(n[te]=[])).push(t);if(En()){var i=r.contentQueries||(r.contentQueries=[]);e!==(r.contentQueries.length?r.contentQueries[r.contentQueries.length-2]:-1)&&i.push(e,o-1)}}var Za=si;function Ga(t){return t?(void 0===t.inputs&&(t.inputs=Li(t.flags,0)),t.inputs):null}function Wa(t){return 32768&t.flags}var Ya,Ja,$a,Xa=function(){function t(t,e,n){this._context=e,this._componentIndex=n,this._appRef=null,this._viewContainerRef=null,this._tViewNode=null,this._view=t}return Object.defineProperty(t.prototype,"rootNodes",{get:function(){return null==this._view[qt]?function t(e,n,r){for(var o=n.child;o;)r.push(Ee(o,e)),4===o.type&&t(e,o,r),o=o.next;return r}(this._view,this._view[Qt],[]):[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._context?this._context:this._lookUpContext()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){return 32==(32&this._view[Ut])},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this._viewContainerRef&&pa(this._view)&&(this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),this._viewContainerRef=null),$r(this._view)},t.prototype.onDestroy=function(t){Ai(this._view,t)},t.prototype.markForCheck=function(){ga(this._view)},t.prototype.detach=function(){this._view[Ut]&=-9},t.prototype.reattach=function(){this._view[Ut]|=8},t.prototype.detectChanges=function(){var t=Xe();t.begin&&t.begin(),ba(this.context),t.end&&t.end()},t.prototype.checkNoChanges=function(){!function(t){Cn(!0);try{ba(t)}finally{Cn(!1)}}(this.context)},t.prototype.attachToViewContainerRef=function(t){this._viewContainerRef=t},t.prototype.detachFromAppRef=function(){this._appRef=null},t.prototype.attachToAppRef=function(t){this._appRef=t},t.prototype._lookUpContext=function(){return this._context=this._view[Ht][this._componentIndex]},t}(),ts=function(t){function e(e){var n=t.call(this,e,null,-1)||this;return n._view=e,n}return Object(r.__extends)(e,t),e.prototype.detectChanges=function(){wa(this._view)},e.prototype.checkNoChanges=function(){!function(t){Cn(!0);try{wa(t)}finally{Cn(!1)}}(this._view)},Object.defineProperty(e.prototype,"context",{get:function(){return null},enumerable:!0,configurable:!0}),e}(Xa);function es(t,e,n){return Ya||(Ya=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e}(t)),new Ya(Ee(e,n))}function ns(t,e,n,o){if(Ja||(Ja=function(t){function e(e,n,r,o,i,a){var s=t.call(this)||this;return s._declarationParentView=e,s.elementRef=n,s._tView=r,s._renderer=o,s._queries=i,s._injectorIndex=a,s}return Object(r.__extends)(e,t),e.prototype.createEmbeddedView=function(t,e,n,r,o){var i=function(t,e,n,r,o,i){var a=ln(),s=sn();fn(!0),un(null);var u=ci(n,r,t,e,2,tn());return u[ee]=n,o&&(u[zt]=o.createView()),fi(-1,u),t.firstTemplatePass&&(t.node.injectorIndex=i),fn(a),un(s),u}(this._tView,t,this._declarationParentView,this._renderer,this._queries,this._injectorIndex);e&&Gr(i,e,r,o,n.index),di(i,this._tView,t,1);var a=new Xa(i,t,-1);return a._tViewNode=i[Qt],a},e}(t)),0===n.type){var i=o[n.index];return new Ja(o,es(e,n,o),n.tViews,$e(),i[zt],n.injectorIndex)}return null}var rs=function(){function t(t,e){this._tNode=t,this._hostView=e}return t.prototype.get=function(t,e){return Bn(this._tNode,this._hostView,t,0,e)},t}();function os(t,e,n){if(je(t)){var r=t.flags>>16,o=xe(t.index,e);return new Xa(o,n,r)}if(3===t.type){var i=qr(e);return new Xa(i,i[Gt],-1)}return null}function is(t){if(!(t instanceof Node))throw new Error("Expecting instance of DOM Node");var e,n,r,o=fs(t);return void 0===o.component&&(o.component=(r=ir(n=(e=o.lViewData)[Lt].data[o.nodeIndex]),4096&n.flags?e[r]:null)),o.component}function as(t){for(var e=fs(t).lViewData;e[Ht]&&null===e[qt];)e=e[Ht];return 64&e[Ut]?null:e[Gt]}function ss(t){return function(t){var e;for(e=Array.isArray(t)?t:De(t);e&&!(64&e[Ut]);)e=e[Ht];return e}(Array.isArray(t)?t:fs(t).lViewData)[Gt]}function us(t){return Object(r.__spread)(ss(t).components)}function cs(t){var e=fs(t);return new rs(e.lViewData[Lt].data[e.nodeIndex],e.lViewData)}function ls(t){var e=fs(t);return void 0===e.directives&&(e.directives=or(e.nodeIndex,e.lViewData,!1)),e.directives||[]}function fs(t){var e=Jn(t);if(!e)throw new Error("Invalid ng target");return e}function ps(t){return Jn(t).native}function ds(t,e){var n=Jn(t);if(n){var r=n.native,o=n.lViewData,i=function(t,e){if(!(e=e||Jn(r)))return null;var n=wo(e.nodeIndex-Vt,e.lViewData);return So(n)||Eo(n)}(0,n),a=ss(o);Co(i,a,r,e,0,t),ma(a,2)}}function hs(t){var e=Jn(t);if(!e)return[];var n=wo(e.nodeIndex-Vt,e.lViewData),r=n?So(n):null;return r?function(t){for(var e=[],n=t[0],r=2;r<n;r+=2){var o=t[r];o&&e.push(o)}for(r=n;r<t.length;r++)e.push(t[r]);return e}(r):[]}var vs="ng",ys=!1;function gs(){ys||(ys=!0,ms("getComponent",is),ms("getViewComponent",as),ms("getHostElement",ps),ms("getInjector",cs),ms("getRootComponents",us),ms("getDirectives",ls),ms("getPlayers",hs),ms("markDirty",Sa))}function ms(t,e){if(Y){var n=Y[vs];n||(n=Y[vs]={}),n[t]=e}}function _s(t,e){void 0===e&&(e={});var n=e.rendererFactory||Fr,r=e.sanitizer||null,o=ht(t);o.type!=t&&(o.type=t);var i,a=Ii(n,e.host||o.selectors[0][0]),s=o.onPush?68:66,u=Cs(e.scheduler,e.playerHandler),c=n.createRenderer(a,o),l=ci(null,c,ji(-1,null,1,0,null,null,null),u,s,void 0,e.injector||null),f=kn(l,null);try{n.begin&&n.begin(),i=ws(bs(a,o,l,c,r),o,l,u,e.hostFeatures||null),ui(l,null)}finally{Pn(f),n.end&&n.end()}return i}function bs(t,e,n,r,o){Qe=!1,qe=null,Be=0,ze=!0;var i=n[Lt],a=ci(n,r,Ti(e.template,e.consts,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery),null,e.onPush?4:2,o),s=li(0,3,t,null,null);return i.firstTemplatePass&&(Un(Mn(s,n),n,e.type),s.flags=4096,ta(s,n.length,1),$i(s)),a[qt]=n[Vt],a[Qt]=s,n[Vt]=a}function ws(t,e,n,r,o){var i=n[Lt],a=function(t,e,n){var r=sn();t.firstTemplatePass&&(n.providersResolver&&n.providersResolver(n),Gi(t,r,1),ea(t,e,n,n.factory));var o=Qn(t.data,e,e.length-1,r);return Ji(e,r,o,n),o}(i,n,e);return r.components.push(a),t[Gt]=a,o&&o.forEach(function(t){return t(a,e)}),i.firstTemplatePass&&Wi(i,n,e.hostVars),a}function Cs(t,e){return{components:[],scheduler:t||Ye,clean:Za,playerHandler:e||null,flags:0}}function Ss(t,e){var n=De(t)[Lt],r=n.data.length-1;ne(r,e.onInit,e.doCheck,n),re(r<<16|1,n)}function Es(t){return function(t){return Re(t)[Gt]}(t).clean}function Os(t){return"function"==typeof t.template}function xs(t){for(var e=Object.getPrototypeOf(t.type.prototype).constructor,n=function(){var n,o,i=void 0;if(Os(t))i=e.ngComponentDef||e.ngDirectiveDef;else{if(e.ngComponentDef)throw new Error("Directives cannot inherit Components");i=e.ngDirectiveDef}var a=e.ngBaseDef;if(a||i){var s=t;s.inputs=Ts(t.inputs),s.declaredInputs=Ts(t.declaredInputs),s.outputs=Ts(t.outputs)}if(a&&(p(t.inputs,a.inputs),p(t.declaredInputs,a.declaredInputs),p(t.outputs,a.outputs)),i){var u=t.hostBindings,c=i.hostBindings;if(c&&(u?(t.hostBindings=function(t,e){c(t,e),u(t,e)},t.hostVars+=i.hostVars):t.hostBindings=c),Os(t)&&Os(i)){var l=t.viewQuery,f=i.viewQuery;f&&(t.viewQuery=l?function(t,e){f(t,e),l(t,e)}:f)}var d=t.contentQueries,h=i.contentQueries;h&&(t.contentQueries=d?function(t){h(t),d(t)}:h);var v=t.contentQueriesRefresh,y=i.contentQueriesRefresh;y&&(t.contentQueriesRefresh=v?function(t,e){y(t,e),v(t,e)}:y),p(t.inputs,i.inputs),p(t.declaredInputs,i.declaredInputs),p(t.outputs,i.outputs),t.afterContentChecked=t.afterContentChecked||i.afterContentChecked,t.afterContentInit=t.afterContentInit||i.afterContentInit,t.afterViewChecked=t.afterViewChecked||i.afterViewChecked,t.afterViewInit=t.afterViewInit||i.afterViewInit,t.doCheck=t.doCheck||i.doCheck,t.onDestroy=t.onDestroy||i.onDestroy,t.onInit=t.onInit||i.onInit;var g=i.features;if(g)try{for(var m=Object(r.__values)(g),_=m.next();!_.done;_=m.next()){var b=_.value;b&&b.ngInherit&&b(t)}}catch(C){n={error:C}}finally{try{_&&!_.done&&(o=m.return)&&o.call(m)}finally{if(n)throw n.error}}return"break"}var w=e.prototype;w&&(t.afterContentChecked=t.afterContentChecked||w.afterContentChecked,t.afterContentInit=t.afterContentInit||w.afterContentInit,t.afterViewChecked=t.afterViewChecked||w.afterViewChecked,t.afterViewInit=t.afterViewInit||w.afterViewInit,t.doCheck=t.doCheck||w.doCheck,t.onDestroy=t.onDestroy||w.onDestroy,t.onInit=t.onInit||w.onInit),e=Object.getPrototypeOf(e)};e&&"break"!==n(););}function Ts(t){return t===rt?{}:t===ot?[]:t}var js="__ngOnChanges_";function ks(t){var e=t.declaredInputs,n=t.type.prototype,r=function(t){if(e.hasOwnProperty(t)){for(var r=e[t],o=js+r,i=void 0,a=n;!i&&a&&Object.getPrototypeOf(a)!==Object.getPrototypeOf(Object.prototype);)i=Object.getOwnPropertyDescriptor(a,r),a=Object.getPrototypeOf(a);var s=i&&i.set;Object.defineProperty(n,r,{get:i&&i.get||(s?void 0:function(){return this[o]}),set:function(e){var n=this[js];n||(n={},Object.defineProperty(this,js,{value:n,writable:!0}));var r=!this.hasOwnProperty(o),i=n[t];i?i.currentValue=e:n[t]=new pe(this[o],e,r),r?Object.defineProperty(this,o,{value:e,writable:!0}):this[o]=e,s&&s.call(this,e)},configurable:!1})}};for(var o in e)r(o);null!=t.onInit&&(t.onInit=Is(t.onInit)),t.doCheck=Is(t.doCheck)}function Is(t){return function(){var e=this[js];null!=e&&(this.ngOnChanges(e),this[js]=null),t&&t.apply(this)}}ks.ngInherit=!0;var Ps=new O("The presence of this token marks an injector as being the root injector."),Rs={},As={},Ns=[],Ds=void 0;function Ms(){return void 0===Ds&&(Ds=new vr),Ds}function Fs(t,e,n){return void 0===e&&(e=null),void 0===n&&(n=null),e=e||Ms(),new Vs(t,n,e)}var Vs=function(){function t(t,e,n){var r=this;this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this.destroyed=!1;var o=[];Bs([t],function(t){return r.processInjectorType(t,[],o)}),e&&Bs(e,function(t){return r.processProvider(t)}),this.records.set(hr,Hs(void 0,this)),this.isRootInjector=this.records.has(Ps),this.injectorDefTypes.forEach(function(t){return r.get(t)})}return t.prototype.destroy=function(){this.assertNotDestroyed(),this.destroyed=!0;try{this.onDestroy.forEach(function(t){return t.ngOnDestroy()})}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}},t.prototype.get=function(t,e,n){void 0===e&&(e=dr),void 0===n&&(n=0),this.assertNotDestroyed();var r,o=xt(this);try{if(!(4&n)){var i=this.records.get(t);if(void 0===i){var a=("function"==typeof(r=t)||"object"==typeof r&&r instanceof O)&&S(t);a&&this.injectableDefInScope(a)&&(i=Hs(Ls(t),Rs),this.records.set(t,i))}if(void 0!==i)return this.hydrate(t,i)}return(2&n?Ms():this.parent).get(t,e)}finally{xt(o)}},t.prototype.assertNotDestroyed=function(){if(this.destroyed)throw new Error("Injector has already been destroyed.")},t.prototype.processInjectorType=function(t,e,n){var r=this;if(t=lr(t)){var o=E(t),i=null==o&&t.ngModule||void 0,a=void 0===i?t:i;if(-1===n.indexOf(a)){var s=void 0!==i&&t.providers||Ns;if(void 0!==i&&(o=E(i)),null!=o){if(this.injectorDefTypes.add(a),this.records.set(a,Hs(o.factory)),null!=o.imports){n.push(a);try{Bs(o.imports,function(t){return r.processInjectorType(t,e,n)})}finally{}}null!=o.providers&&Bs(o.providers,function(t){return r.processProvider(t)}),Bs(s,function(t){return r.processProvider(t)})}}}},t.prototype.processProvider=function(t){var e=qs(t=lr(t))?t:lr(t.provide),n=function(t){var e=Us(t);return zs(t)?Hs(void 0,t.useValue):Hs(e,Rs)}(t);if(qs(t)||!0!==t.multi){var r=this.records.get(e);if(r&&void 0!==r.multi)throw new Error("Mixed multi-provider for "+nt(e))}else{var o=this.records.get(e);if(o){if(void 0===o.multi)throw new Error("Mixed multi-provider for "+e+".")}else(o=Hs(void 0,Rs,!0)).factory=function(){return Pt(o.multi)},this.records.set(e,o);e=t,o.multi.push(t)}this.records.set(e,n)},t.prototype.hydrate=function(t,e){if(e.value===As)throw new Error("Circular dep for "+nt(t));var n;return e.value===Rs&&(e.value=As,e.value=e.factory()),"object"==typeof e.value&&e.value&&"object"==typeof(n=e.value)&&null!=n&&n.ngOnDestroy&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value},t.prototype.injectableDefInScope=function(t){return!!t.providedIn&&("string"==typeof t.providedIn?"any"===t.providedIn||"root"===t.providedIn&&this.isRootInjector:this.injectorDefTypes.has(t.providedIn))},t}();function Ls(t){var e=S(t);if(null===e){if(t instanceof O)throw new Error("Token "+nt(t)+" is missing an ngInjectableDef definition.");return function(){return new t}}return e.factory}function Us(t){var e=void 0;if(qs(t))return Ls(lr(t));if(zs(t))e=function(){return lr(t.useValue)};else if(t.useExisting)e=function(){return kt(lr(t.useExisting))};else if(t.useFactory)e=function(){return t.useFactory.apply(t,Object(r.__spread)(Pt(t.deps||[])))};else{var n=lr(t.useClass||t.provide);if(!t.deps)return Ls(n);e=function(){return new(n.bind.apply(n,Object(r.__spread)([void 0],Pt(t.deps))))}}return e}function Hs(t,e,n){return void 0===e&&(e=Rs),void 0===n&&(n=!1),{factory:t,value:e,multi:n?[]:void 0}}function Bs(t,e){t.forEach(function(t){return Array.isArray(t)?Bs(t,e):e(t)})}function zs(t){return Sr in t}function qs(t){return"function"==typeof t}function Qs(t,e,n,r,o){if(t=lr(t),Array.isArray(t))for(var i=0;i<t.length;i++)Qs(t[i],e,n,r,o);else{var a=yn(),s=qs(t)?t:lr(t.provide),u=Us(t),c=sn(),l=65535&c.providerIndexes,f=c.flags>>16,p=c.providerIndexes>>16;if(qs(t)||!t.multi){var d=new Mt(u,o,qa),h=Zs(s,e,o?l:l+p,f);-1==h?(Un(Mn(c,a),a,s),e.push(s),c.flags+=65536,o&&(c.providerIndexes+=65536),n.push(d),a.push(d)):(n[h]=d,a[h]=d)}else{var v=Zs(s,e,l+p,f),y=Zs(s,e,l,l+p),g=y>=0&&n[y];o&&!g||!o&&!(v>=0&&n[v])?(Un(Mn(c,a),a,s),d=function(t,e,n,r,o){var i=new Mt(t,n,qa);return i.multi=[],i.index=e,i.componentProviders=0,Ks(i,o,r&&!n),i}(o?Ws:Gs,n.length,o,r,u),!o&&g&&(n[y].providerFactory=d),e.push(s),c.flags+=65536,o&&(c.providerIndexes+=65536),n.push(d),a.push(d)):Ks(n[o?y:v],u,!o&&r),!o&&r&&g&&n[y].componentProviders++}}}function Ks(t,e,n){t.multi.push(e),n&&t.componentProviders++}function Zs(t,e,n,r){for(var o=n;o<r;o++)if(e[o]===t)return o;return-1}function Gs(t,e,n,r){return Ys(this.multi,[])}function Ws(t,e,n,r){var o,i=this.multi;if(this.providerFactory){var a=this.providerFactory.componentProviders,s=Qn(e,n,this.providerFactory.index,r);Ys(i,o=s.slice(0,a));for(var u=a;u<s.length;u++)o.push(s[u])}else Ys(i,o=[]);return o}function Ys(t,e){for(var n=0;n<t.length;n++)e.push((0,t[n])());return e}function Js(t,e){return void 0===e&&(e=[]),function(n){n.providersResolver=function(n){return function(t,e,n){var r=yn()[Lt];if(r.firstTemplatePass){var o=ke(t);Qs(n,r.data,r.blueprint,o,!0),Qs(e,r.data,r.blueprint,o,!1)}}(n,t,e)}}}var $s=function(){return function(){}}(),Xs=function(){return function(){}}();function tu(t){var e=Error("No component factory found for "+nt(t)+". Did you add it to @NgModule.entryComponents?");return e[eu]=t,e}var eu="ngComponent",nu=function(){function t(){}return t.prototype.resolveComponentFactory=function(t){throw tu(t)},t}(),ru=function(){function t(){}return t.NULL=new nu,t}(),ou=function(){function t(t,e,n){this._parent=e,this._ngModule=n,this._factories=new Map;for(var r=0;r<t.length;r++){var o=t[r];this._factories.set(o.componentType,o)}}return t.prototype.resolveComponentFactory=function(t){var e=this._factories.get(t);if(!e&&this._parent&&(e=this._parent.resolveComponentFactory(t)),!e)throw tu(t);return new iu(e,this._ngModule)},t}(),iu=function(t){function e(e,n){var r=t.call(this)||this;return r.factory=e,r.ngModule=n,r.selector=e.selector,r.componentType=e.componentType,r.ngContentSelectors=e.ngContentSelectors,r.inputs=e.inputs,r.outputs=e.outputs,r}return Object(r.__extends)(e,t),e.prototype.create=function(t,e,n,r){return this.factory.create(t,e,n,r||this.ngModule)},e}(Xs),au=function(){function t(t){this.nativeElement=t}return t.__NG_ELEMENT_ID__=function(){return uu(t)},t}(),su=function(t){return es(t,sn(),yn())},uu=sr,cu=function(){return function(t,e,n,r,o,i){this.id=t,this.templateUrl=e,this.slotCount=n,this.encapsulation=r,this.styles=o,this.animations=i}}(),lu=function(){return function(){}}(),fu=function(){return function(){}}(),pu=function(){return function(){}}(),du=function(){return function(){}}(),hu=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({}),vu=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return gu()},t}(),yu=function(){return function(t){var e=yn()[Yt];if(Mr(e))return e;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}()},gu=sr,mu=function(){return function(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}(),_u=new mu("7.1.0"),bu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.resolveComponentFactory=function(t){var e=ht(t);return new xu(e)},e}(ru);function wu(t){var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}var Cu=new O("ROOT_CONTEXT_TOKEN",{providedIn:"root",factory:function(){return Cs(kt(Su))}}),Su=new O("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return Ye}}),Eu=new O("WRAP_RENDERER_FACTORY2"),Ou={},xu=function(t){function e(e){var n=t.call(this)||this;return n.componentDef=e,n.componentType=e.type,n.selector=e.selectors[0][0],n.ngContentSelectors=[],n}return Object(r.__extends)(e,t),Object.defineProperty(e.prototype,"inputs",{get:function(){return wu(this.componentDef.inputs)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputs",{get:function(){return wu(this.componentDef.outputs)},enumerable:!0,configurable:!0}),e.prototype.create=function(t,e,n,r){var o,i=void 0===n;o=r?r.injector.get(Eu,function(t){return t})(r.injector.get(du)):Fr;var a=i?Oi(this.selector,o.createRenderer(null,this.componentDef)):Ii(o,n),s=this.componentDef.onPush?68:66,u=r&&!i?r.injector.get(Cu):Cs(),c=o.createRenderer(a,this.componentDef),l=r?function(t,e){return{get:function(n,r){var o=t.get(n,Ou);return o!==Ou?o:e.get(n,r)}}}(t,r.injector):t;n&&a&&(Mr(c)?c.setAttribute(a,"ng-version",_u.full):a.setAttribute("ng-version",_u.full));var f,p,d=ci(null,c,ji(-1,null,1,0,null,null,null),u,s,void 0,l),h=kn(d,null);try{o.begin&&o.begin();var v=bs(a,this.componentDef,d,c);if(p=Oe(0,d),e)for(var y=0,g=d[Lt],m=p.projection=[],_=0;_<e.length;_++){for(var b=e[_],w=null,C=null,S=0;S<b.length;S++){g.firstTemplatePass&&(g.expandoStartIndex++,g.blueprint.splice(++y+Vt,0,null),g.data.splice(y+Vt,0,null),d.splice(y+Vt,0,null));var E=li(y,3,b[S],null,null);C?C.next=E:w=E,C=E}m.push(w)}f=ws(v,this.componentDef,d,u,[Ss]),ui(d,1)}finally{Pn(h,!0),o.end&&o.end()}var O=new Tu(this.componentType,f,es(au,p,d),d,p);return i&&(O.hostView._tViewNode.child=p),O},e}(Xs),Tu=function(t){function e(e,n,r,o,i){var a=t.call(this)||this;return a.location=r,a._rootView=o,a._tNode=i,a.destroyCbs=[],a.instance=n,a.hostView=a.changeDetectorRef=new ts(o),a.hostView._tViewNode=fi(-1,o),a.componentType=e,a}return Object(r.__extends)(e,t),Object.defineProperty(e.prototype,"injector",{get:function(){return new Gn(this._tNode,this._rootView)},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this.destroyCbs.forEach(function(t){return t()}),this.destroyCbs=null},e.prototype.onDestroy=function(t){this.destroyCbs.push(t)},e}($s),ju=!0,ku=!1;function Iu(){return ku=!0,ju}function Pu(){if(ku)throw new Error("Cannot enable prod mode after platform setup.");ju=!1}var Ru=function(){function t(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertBodyElement=this.inertDocument.body,null==this.inertBodyElement){var e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e),this.inertBodyElement=this.inertDocument.createElement("body"),e.appendChild(this.inertBodyElement)}this.inertBodyElement.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(t){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return t.prototype.getInertBodyElement_XHR=function(t){t="<body><remove></remove>"+t+"</body>";try{t=encodeURI(t)}catch(r){return null}var e=new XMLHttpRequest;e.responseType="document",e.open("GET","data:text/html;charset=utf-8,"+t,!1),e.send(void 0);var n=e.response.body;return n.removeChild(n.firstChild),n},t.prototype.getInertBodyElement_DOMParser=function(t){t="<body><remove></remove>"+t+"</body>";try{var e=(new window.DOMParser).parseFromString(t,"text/html").body;return e.removeChild(e.firstChild),e}catch(n){return null}},t.prototype.getInertBodyElement_InertDocument=function(t){var e=this.inertDocument.createElement("template");return"content"in e?(e.innerHTML=t,e):(this.inertBodyElement.innerHTML=t,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},t.prototype.stripCustomNsAttrs=function(t){for(var e=t.attributes,n=e.length-1;0<n;n--){var r=e.item(n).name;"xmlns:ns1"!==r&&0!==r.indexOf("ns1:")||t.removeAttribute(r)}for(var o=t.firstChild;o;)o.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(o),o=o.nextSibling},t}(),Au=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:\/?#]*(?:[\/?#]|$))/gi,Nu=/^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 Du(t){return(t=String(t)).match(Au)||t.match(Nu)?t:(Iu()&&console.warn("WARNING: sanitizing unsafe URL value "+t+" (see http://g.co/ng/security#xss)"),"unsafe:"+t)}function Mu(t){return(t=String(t)).split(",").map(function(t){return Du(t.trim())}).join(", ")}function Fu(t){var e,n,o={};try{for(var i=Object(r.__values)(t.split(",")),a=i.next();!a.done;a=i.next())o[a.value]=!0}catch(s){e={error:s}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}return o}function Vu(){for(var t,e,n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];var i={};try{for(var a=Object(r.__values)(n),s=a.next();!s.done;s=a.next()){var u=s.value;for(var c in u)u.hasOwnProperty(c)&&(i[c]=!0)}}catch(l){t={error:l}}finally{try{s&&!s.done&&(e=a.return)&&e.call(a)}finally{if(t)throw t.error}}return i}var Lu,Uu=Fu("area,br,col,hr,img,wbr"),Hu=Fu("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Bu=Fu("rp,rt"),zu=Vu(Bu,Hu),qu=Vu(Uu,Vu(Hu,Fu("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")),Vu(Bu,Fu("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")),zu),Qu=Fu("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Ku=Fu("srcset"),Zu=Vu(Qu,Ku,Fu("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")),Gu=function(){function t(){this.sanitizedSomething=!1,this.buf=[]}return t.prototype.sanitizeChildren=function(t){for(var e=t.firstChild,n=!0;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);var r=this.checkClobberedElement(e,e.nextSibling);if(r){e=r;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")},t.prototype.startElement=function(t){var e=t.nodeName.toLowerCase();if(!qu.hasOwnProperty(e))return this.sanitizedSomething=!0,!1;this.buf.push("<"),this.buf.push(e);for(var n=t.attributes,r=0;r<n.length;r++){var o=n.item(r),i=o.name,a=i.toLowerCase();if(Zu.hasOwnProperty(a)){var s=o.value;Qu[a]&&(s=Du(s)),Ku[a]&&(s=Mu(s)),this.buf.push(" ",i,'="',Ju(s),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0},t.prototype.endElement=function(t){var e=t.nodeName.toLowerCase();qu.hasOwnProperty(e)&&!Uu.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))},t.prototype.chars=function(t){this.buf.push(Ju(t))},t.prototype.checkClobberedElement=function(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},t}(),Wu=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Yu=/([^\#-~ |!])/g;function Ju(t){return t.replace(/&/g,"&").replace(Wu,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Yu,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}function $u(t,e){var n=null;try{Lu=Lu||new Ru(t);var r=e?String(e):"";n=Lu.getInertBodyElement(r);var o=5,i=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=Lu.getInertBodyElement(r)}while(r!==i);var a=new Gu,s=a.sanitizeChildren(Xu(n)||n);return Iu()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss)."),s}finally{if(n)for(var u=Xu(n)||n;u.firstChild;)u.removeChild(u.firstChild)}}function Xu(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var tc={marker:"element"},ec={marker:"comment"},nc="\ufffd",rc=/^\s*(\ufffd\d+\ufffd)\s*,\s*(select|plural)\s*,/,oc=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,ic=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,ac=/\ufffd(\d+):?\d*\ufffd/gi,sc=/({\s*\ufffd\d+\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,uc=/\[(\ufffd.+?\ufffd?)\]/g,cc=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,lc=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g;function fc(t){if(!t)return[];var e,n=0,r=[],o=[],i=/[{}]/g;for(i.lastIndex=0;e=i.exec(t);){var a=e.index;if("}"==e[0]){if(r.pop(),0==r.length){var s=t.substring(n,a);rc.test(s)?o.push(pc(s)):s&&o.push(s),n=a+1}}else{if(0==r.length){var u=t.substring(n,a);o.push(u),n=a+1}r.push("{")}}var c=t.substring(n);return""!=c&&o.push(c),o}function pc(t){for(var e=[],n=[],r=1,o=0,i=fc(t=t.replace(rc,function(t,e,n){return r="select"===n?0:1,o=parseInt(e.substr(1),10),""})),a=0;a<i.length;){var s=i[a++].trim();1===r&&(s=s.replace(/\s*(?:=)?(\w+)\s*/,"$1")),s.length&&e.push(s);var u=fc(i[a++]);u.length&&n.push(u)}return c=e.indexOf("other"),l='Missing key "other" in ICU statement.',c<=-1&&function(t){throw new Error("ASSERTION ERROR: "+t)}(l),{type:r,mainBinding:o,cases:e,values:n};var c,l}function dc(t){for(var e,n,r="",o=0,i=!1;null!==(e=oc.exec(t));)i?e[0]===nc+"/*"+n+nc&&(o=e.index,i=!1):(r+=t.substring(o,e.index+e[0].length),n=e[1],i=!0);return r+t.substr(o)}function hc(t,e,n,r){void 0===r&&(r=null);for(var o=[null,null],i=t.split(ac),a=0,s=0;s<i.length;s++){var u=i[s];if(1&s){var c=parseInt(u,10);o.push(-1-c),a|=mc(c)}else""!==u&&o.push(u)}return o.push(e<<2|(n?1:0)),n&&o.push(n,r),o[0]=a,o[1]=o.length-2,o}function vc(t,e){var n;void 0===e&&(e=0),e|=mc(t.mainBinding);for(var r=0;r<t.values.length;r++)for(var o=t.values[r],i=0;i<o.length;i++){var a=o[i];if("string"==typeof a)for(;n=ac.exec(a);)e|=mc(parseInt(n[1],10));else e=vc(a,e)}return e}var yc=[],gc=-1;function mc(t){return 1<<Math.min(t,31)}var _c=[];function bc(t,e,n){var r=pn();r.firstTemplatePass&&null===r.data[t+Vt]&&function(t,e,n,r){yc[++gc]=e;var o=on(),i=t.blueprint.length-Vt,a=sn(),s=ln()?sn():a&&a.parent,u=s&&s!==o[Qt]?s.index-Vt:e,c=0;_c[c]=u;var l=[];e>0&&a!==s&&l.push(a.index<<3|0);for(var f=[],p=[],d=function(t,e){if("number"!=typeof e)return dc(t);var n=t.indexOf(":"+e+nc)+2+e.toString().length,r=t.search(new RegExp(nc+"\\/\\*\\d+:"+e+nc));return dc(t.substring(n,r))}(n,r).split(ic),h=0;h<d.length;h++){var v=d[h];if(1&h)if("/"===v.charAt(0)){if("#"===v.charAt(1)){var y=parseInt(v.substr(2),10);u=_c[--c],l.push(y<<3|5)}}else y=parseInt(v.substr(1),10),l.push(y<<3|0,u<<17|1),"#"===v.charAt(0)&&(_c[++c]=u=y);else for(var g=v.split(sc),m=0;m<g.length;m++)if(v=g[m],1&m){pi(o);var _=t.blueprint.length-1-Vt;l.push(ec,"",u<<17|1);var b=pc(v.substr(1,v.length-2)),w=vc(b);Nc(p,b,_,_);var C=p.length-1;f.push(mc(b.mainBinding),3,-1-b.mainBinding,_<<2|2,C,w,2,_<<2|3,C)}else if(""!==v){var S=v.match(ac);pi(o),l.push(S?"":v,u<<17|1),S&&Je(hc(v,t.blueprint.length-1-Vt),f)}}t.data[e+Vt]={vars:t.blueprint.length-Vt-i,expandoStartIndex:i,create:l,update:f,icus:p.length?p:null}}(r,t,e,n)}function wc(t,e,n){var r=on();n||(n=e),n===e&&t!==e.child?(t.next=e.child,e.child=t):n!==e&&t!==n.next?(t.next=n.next,n.next=t):t.next=null,e!==r[Qt]&&(t.parent=e),io(Ee(t,r),t,r);var o=r[t.index];return 0!==t.type&&Ie(o)&&io(o[ge],t,r),t}function Cc(t,e){var n={},r=t.replace(uc,function(t,e){if(n[e]||(n[e]=e.split("|")),!n[e].length)throw new Error("i18n postprocess: unmatched placeholder - "+e);return n[e].shift()});if(Object.keys(n).some(function(t){return!!n[t].length}))throw new Error("i18n postprocess: unmatched values - "+JSON.stringify(n));return Object.keys(e).length?r=(r=r.replace(cc,function(t,n,r,o,i,a){return e.hasOwnProperty(r)?""+n+e[r]+a:t})).replace(lc,function(t,n){if(e.hasOwnProperty(n)){var r=e[n];if(!r.length)throw new Error("i18n postprocess: unmatched ICU - "+t+" with key: "+n);return r.shift()}return t}):r}function Sc(){var t=pn();t.firstTemplatePass&&function(t){for(var e=on(),n=yc[gc--],r=t.data[n+Vt],o=sn(),i=Ec(n,r.create,r.expandoStartIndex,e),a=n+1;a<=o.index-Vt;a++)-1===i.indexOf(a)&&Oc(a,e)}(t)}function Ec(t,e,n,r){for(var o=$e(),i=null,a=null,s=[],u=0;u<e.length;u++){var c=e[u];if("string"==typeof c)a=i,i=li(n++,3,Kr(c,o),null,null),fn(!1);else if("number"==typeof c)switch(7&c){case 1:var l=c>>>17,f=void 0;a=wc(i,f=l===t?r[Qt]:Oe(l,r),a),f.next=null;break;case 0:var p=c>>>3;s.push(p),a=i,(i=Oe(p,r))&&(un(i),3===i.type&&fn(!0));break;case 5:a=i=Oe(c>>>3,r),un(i),fn(!1);break;case 4:Di(c>>>3,e[++u],e[++u]);break;default:throw new Error('Unable to determine the type of mutate operation for "'+c+'"')}else switch(c){case ec:var d=e[++u];a=i,(i=li(n++,5,o.createComment(d),null,null)).activeCaseIndex=null,fn(!1);break;case tc:var h=e[++u];a=i,i=li(n++,3,o.createElement(h),h,null);break;default:throw new Error('Unable to determine the type of mutate operation for "'+c+'"')}}return fn(!1),s}function Oc(t,e){var n=Oe(t,e);uo(n,Se(t,e)||null,e),n.detached=!0;var r=Fa(t);if(Ie(r)){var o=r;0!==n.type&&uo(n,o[ge]||null,e),o[me]=null}}function xc(t,e,n){bc(t,e,n),Sc()}function Tc(t,e){var n=pn();n.firstTemplatePass&&null===n.data[t+Vt]&&function(t,e,n){for(var r=sn().index-Vt,o=[],i=0;i<n.length;i+=2)for(var a=n[i],s=n[i+1].split(sc),u=0;u<s.length;u++){var c=s[u];1&u||""!==c&&(c.match(ac)?Je(hc(c,r,a),o):Di(r,a,c))}t.data[e+Vt]=o}(n,t,e)}var jc=0,kc=0;function Ic(t){t!==yo&&(jc|=1<<kc),kc++}function Pc(t){if(kc){var e=pn(),n=on(),r=e.data[t+Vt],o=void 0,i=null;Array.isArray(r)?o=r:(o=r.update,i=r.icus),function t(e,n,r,o,i,a){void 0===a&&(a=!1);for(var s=!1,u=0;u<e.length;u++){var c=e[u],l=e[++u];if(a||c&o)for(var f="",p=u+1;p<=u+l;p++){var d=e[p];if("string"==typeof d)f+=d;else if("number"==typeof d)if(d<0)f+=be(i[r-d]);else{var h=d>>>2;switch(3&d){case 1:Di(h,e[++p],f,e[++p]);break;case 0:Zi(h,f);break;case 2:var v=e[++p],y=n[v],g=Oe(h,i);if(null!==g.activeCaseIndex)for(var m=y.remove[g.activeCaseIndex],_=0;_<m.length;_++){var b=m[_];switch(7&b){case 3:Oc(b>>>3,i);break;case 6:var w=Oe(m[_+1]>>>3,i).activeCaseIndex;null!==w&&Je(n[b>>>3].remove[w],m)}}var C=Ac(y,f);g.activeCaseIndex=-1!==C?C:null,Ec(-1,y.create[C],y.expandoStartIndex,i),s=!0;break;case 3:y=n[v=e[++p]],g=Oe(h,i),t(y.update[g.activeCaseIndex],n,r,o,i,s)}}}u+=l}}(o,i,n[Kt]-kc-1,jc,n),jc=0,kc=0}}var Rc=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({});function Ac(t,e){var n=t.cases.indexOf(e);if(-1===n)switch(t.type){case 1:var r=function(t,n){switch(function(t,e){"string"==typeof e&&(e=parseInt(e,10));var n=e,r=n.toString().replace(/^[^.]*\.?/,""),o=Math.floor(Math.abs(n)),i=r.length,a=parseInt(r,10),s=parseInt(n.toString().replace(/^[^.]*\.?|0+$/g,""),10)||0;switch(t.split("-")[0].toLowerCase()){case"af":case"asa":case"az":case"bem":case"bez":case"bg":case"brx":case"ce":case"cgg":case"chr":case"ckb":case"ee":case"el":case"eo":case"es":case"eu":case"fo":case"fur":case"gsw":case"ha":case"haw":case"hu":case"jgo":case"jmc":case"ka":case"kk":case"kkj":case"kl":case"ks":case"ksb":case"ky":case"lb":case"lg":case"mas":case"mgo":case"ml":case"mn":case"nb":case"nd":case"ne":case"nn":case"nnh":case"nyn":case"om":case"or":case"os":case"ps":case"rm":case"rof":case"rwk":case"saq":case"seh":case"sn":case"so":case"sq":case"ta":case"te":case"teo":case"tk":case"tr":case"ug":case"uz":case"vo":case"vun":case"wae":case"xog":return 1===n?Rc.One:Rc.Other;case"ak":case"ln":case"mg":case"pa":case"ti":return n===Math.floor(n)&&n>=0&&n<=1?Rc.One:Rc.Other;case"am":case"as":case"bn":case"fa":case"gu":case"hi":case"kn":case"mr":case"zu":return 0===o||1===n?Rc.One:Rc.Other;case"ar":return 0===n?Rc.Zero:1===n?Rc.One:2===n?Rc.Two:n%100===Math.floor(n%100)&&n%100>=3&&n%100<=10?Rc.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=99?Rc.Many:Rc.Other;case"ast":case"ca":case"de":case"en":case"et":case"fi":case"fy":case"gl":case"it":case"nl":case"sv":case"sw":case"ur":case"yi":return 1===o&&0===i?Rc.One:Rc.Other;case"be":return n%10==1&&n%100!=11?Rc.One:n%10===Math.floor(n%10)&&n%10>=2&&n%10<=4&&!(n%100>=12&&n%100<=14)?Rc.Few:n%10==0||n%10===Math.floor(n%10)&&n%10>=5&&n%10<=9||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=14?Rc.Many:Rc.Other;case"br":return n%10==1&&n%100!=11&&n%100!=71&&n%100!=91?Rc.One:n%10==2&&n%100!=12&&n%100!=72&&n%100!=92?Rc.Two:n%10===Math.floor(n%10)&&(n%10>=3&&n%10<=4||n%10==9)&&!(n%100>=10&&n%100<=19||n%100>=70&&n%100<=79||n%100>=90&&n%100<=99)?Rc.Few:0!==n&&n%1e6==0?Rc.Many:Rc.Other;case"bs":case"hr":case"sr":return 0===i&&o%10==1&&o%100!=11||a%10==1&&a%100!=11?Rc.One:0===i&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)||a%10===Math.floor(a%10)&&a%10>=2&&a%10<=4&&!(a%100>=12&&a%100<=14)?Rc.Few:Rc.Other;case"cs":case"sk":return 1===o&&0===i?Rc.One:o===Math.floor(o)&&o>=2&&o<=4&&0===i?Rc.Few:0!==i?Rc.Many:Rc.Other;case"cy":return 0===n?Rc.Zero:1===n?Rc.One:2===n?Rc.Two:3===n?Rc.Few:6===n?Rc.Many:Rc.Other;case"da":return 1===n||0!==s&&(0===o||1===o)?Rc.One:Rc.Other;case"dsb":case"hsb":return 0===i&&o%100==1||a%100==1?Rc.One:0===i&&o%100==2||a%100==2?Rc.Two:0===i&&o%100===Math.floor(o%100)&&o%100>=3&&o%100<=4||a%100===Math.floor(a%100)&&a%100>=3&&a%100<=4?Rc.Few:Rc.Other;case"ff":case"fr":case"hy":case"kab":return 0===o||1===o?Rc.One:Rc.Other;case"fil":return 0===i&&(1===o||2===o||3===o)||0===i&&o%10!=4&&o%10!=6&&o%10!=9||0!==i&&a%10!=4&&a%10!=6&&a%10!=9?Rc.One:Rc.Other;case"ga":return 1===n?Rc.One:2===n?Rc.Two:n===Math.floor(n)&&n>=3&&n<=6?Rc.Few:n===Math.floor(n)&&n>=7&&n<=10?Rc.Many:Rc.Other;case"gd":return 1===n||11===n?Rc.One:2===n||12===n?Rc.Two:n===Math.floor(n)&&(n>=3&&n<=10||n>=13&&n<=19)?Rc.Few:Rc.Other;case"gv":return 0===i&&o%10==1?Rc.One:0===i&&o%10==2?Rc.Two:0!==i||o%100!=0&&o%100!=20&&o%100!=40&&o%100!=60&&o%100!=80?0!==i?Rc.Many:Rc.Other:Rc.Few;case"he":return 1===o&&0===i?Rc.One:2===o&&0===i?Rc.Two:0!==i||n>=0&&n<=10||n%10!=0?Rc.Other:Rc.Many;case"is":return 0===s&&o%10==1&&o%100!=11||0!==s?Rc.One:Rc.Other;case"ksh":return 0===n?Rc.Zero:1===n?Rc.One:Rc.Other;case"kw":case"naq":case"se":case"smn":return 1===n?Rc.One:2===n?Rc.Two:Rc.Other;case"lag":return 0===n?Rc.Zero:0!==o&&1!==o||0===n?Rc.Other:Rc.One;case"lt":return n%10!=1||n%100>=11&&n%100<=19?n%10===Math.floor(n%10)&&n%10>=2&&n%10<=9&&!(n%100>=11&&n%100<=19)?Rc.Few:0!==a?Rc.Many:Rc.Other:Rc.One;case"lv":case"prg":return n%10==0||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19||2===i&&a%100===Math.floor(a%100)&&a%100>=11&&a%100<=19?Rc.Zero:n%10==1&&n%100!=11||2===i&&a%10==1&&a%100!=11||2!==i&&a%10==1?Rc.One:Rc.Other;case"mk":return 0===i&&o%10==1||a%10==1?Rc.One:Rc.Other;case"mt":return 1===n?Rc.One:0===n||n%100===Math.floor(n%100)&&n%100>=2&&n%100<=10?Rc.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19?Rc.Many:Rc.Other;case"pl":return 1===o&&0===i?Rc.One:0===i&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)?Rc.Few:0===i&&1!==o&&o%10===Math.floor(o%10)&&o%10>=0&&o%10<=1||0===i&&o%10===Math.floor(o%10)&&o%10>=5&&o%10<=9||0===i&&o%100===Math.floor(o%100)&&o%100>=12&&o%100<=14?Rc.Many:Rc.Other;case"pt":return n===Math.floor(n)&&n>=0&&n<=2&&2!==n?Rc.One:Rc.Other;case"ro":return 1===o&&0===i?Rc.One:0!==i||0===n||1!==n&&n%100===Math.floor(n%100)&&n%100>=1&&n%100<=19?Rc.Few:Rc.Other;case"ru":case"uk":return 0===i&&o%10==1&&o%100!=11?Rc.One:0===i&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)?Rc.Few:0===i&&o%10==0||0===i&&o%10===Math.floor(o%10)&&o%10>=5&&o%10<=9||0===i&&o%100===Math.floor(o%100)&&o%100>=11&&o%100<=14?Rc.Many:Rc.Other;case"shi":return 0===o||1===n?Rc.One:n===Math.floor(n)&&n>=2&&n<=10?Rc.Few:Rc.Other;case"si":return 0===n||1===n||0===o&&1===a?Rc.One:Rc.Other;case"sl":return 0===i&&o%100==1?Rc.One:0===i&&o%100==2?Rc.Two:0===i&&o%100===Math.floor(o%100)&&o%100>=3&&o%100<=4||0!==i?Rc.Few:Rc.Other;case"tzm":return n===Math.floor(n)&&n>=0&&n<=1||n===Math.floor(n)&&n>=11&&n<=99?Rc.One:Rc.Other;default:return Rc.Other}}("en-US",e)){case Rc.Zero:return"zero";case Rc.One:return"one";case Rc.Two:return"two";case Rc.Few:return"few";case Rc.Many:return"many";default:return"other"}}();-1===(n=t.cases.indexOf(r))&&"other"!==r&&(n=t.cases.indexOf("other"));break;case 0:n=t.cases.indexOf("other")}return n}function Nc(t,e,n,o){for(var i=[],a=[],s=[],u=[],c=[],l=0;l<e.values.length;l++){for(var f=e.values[l],p=[],d=0;d<f.length;d++){var h=f[d];if("string"!=typeof h){var v=p.push(h)-1;f[d]="\x3c!--\ufffd"+v+"\ufffd--\x3e"}}var y=Dc(f.join(""),n,p,t,o);i.push(y.create),a.push(y.remove),s.push(y.update),u.push(y.vars),c.push(y.childIcus)}t.push({type:e.type,vars:u,expandoStartIndex:o+1,childIcus:c,cases:e.cases,create:i,remove:a,update:s});var g=on(),m=Math.max.apply(Math,Object(r.__spread)(u));for(l=0;l<m;l++)pi(g)}function Dc(t,e,n,o,i){var a=new Ru(document).getInertBodyElement(t);if(!a)throw new Error("Unable to generate inert body element");var s={vars:0,childIcus:[],create:[],remove:[],update:[]};return function t(e,n,o,i,a,s){if(e){for(var u=[];e;){var c=e.nextSibling,l=s+ ++n.vars;switch(e.nodeType){case Node.ELEMENT_NODE:var f=e,p=f.tagName.toLowerCase();if(qu.hasOwnProperty(p)){n.create.push(tc,p,o<<17|1);for(var d=f.attributes,h=0;h<d.length;h++){var v=d.item(h),y=v.name.toLowerCase();v.value.match(ac)?Zu.hasOwnProperty(y)&&Je(Qu[y]?hc(v.value,l,v.name,Du):Ku[y]?hc(v.value,l,v.name,Mu):hc(v.value,l,v.name),n.update):n.create.push(l<<3|4,v.name,v.value)}t(e.firstChild,n,l,i,a,s),n.remove.push(l<<3|3)}else n.vars--;break;case Node.TEXT_NODE:var g=e.textContent||"",m=g.match(ac);n.create.push(m?"":g,o<<17|1),n.remove.push(l<<3|3),m&&Je(hc(g,l),n.update);break;case Node.COMMENT_NODE:var _=Mc.exec(e.textContent||"");if(_){var b=parseInt(_[1],10);n.create.push(ec,"",o<<17|1),u.push([w=i[b],l])}else n.vars--;break;default:n.vars--}e=c}for(h=0;h<u.length;h++){var w,C=u[h][1];Nc(a,w=u[h][0],C,s+n.vars);var S=a.length-1;n.vars+=Math.max.apply(Math,Object(r.__spread)(a[S].vars)),n.childIcus.push(S);var E=vc(w);n.update.push(mc(w.mainBinding),3,-1-w.mainBinding,C<<2|2,S,E,2,C<<2|3,S),n.remove.push(S<<3|6,C<<3|3)}}}((Xu(a)||a).firstChild,s,e,n,o,i),s}var Mc=/\ufffd(\d+)\ufffd/,Fc={provide:ru,useFactory:function(){return new bu},deps:[]},Vc=function(t){function e(e,n){var r=t.call(this)||this;r._bootstrapComponents=[],r.destroyCbs=[];var o=gt(e);return r._bootstrapComponents=o.bootstrap,r.injector=Fs(e,n,[Fc,{provide:Pr,useValue:r}]),r.instance=r.injector.get(e),r.componentFactoryResolver=new bu,r}return Object(r.__extends)(e,t),e.prototype.destroy=function(){this.destroyCbs.forEach(function(t){return t()}),this.destroyCbs=null},e.prototype.onDestroy=function(t){this.destroyCbs.push(t)},e}(Pr),Lc=function(t){function e(e){var n=t.call(this)||this;return n.moduleType=e,n}return Object(r.__extends)(e,t),e.prototype.create=function(t){return new Vc(this.moduleType,t)},e}(Rr);function Uc(t,e,n,o){var i,a=t;null!==e&&(void 0!==a.decorators?(i=a.decorators).push.apply(i,Object(r.__spread)(e)):a.decorators=e),null!==n&&(a.ctorParameters=n),null!==o&&(a.propDecorators=void 0!==a.propDecorators?Object(r.__assign)({},a.propDecorators,o):o)}function Hc(t,e,n){var r=Tn()+t;return vn()?Ua(r,n?e.call(n):e()):Va(r)}function Bc(t,e,n,r){var o=Tn()+t;return La(o,n)?Ua(o+1,r?e.call(r,n):e(n)):Va(o+1)}function zc(t,e,n,r,o){var i=Tn()+t;return Ha(i,n,r)?Ua(i+2,o?e.call(o,n,r):e(n,r)):Va(i+2)}function qc(t,e,n,r,o,i){var a=Tn()+t;return Ba(a,n,r,o)?Ua(a+3,i?e.call(i,n,r,o):e(n,r,o)):Va(a+3)}function Qc(t,e,n,r,o,i,a){var s=Tn()+t;return za(s,n,r,o,i)?Ua(s+4,a?e.call(a,n,r,o,i):e(n,r,o,i)):Va(s+4)}function Kc(t,e,n,r,o,i,a,s){var u=Tn()+t,c=za(u,n,r,o,i);return La(u+4,a)||c?Ua(u+5,s?e.call(s,n,r,o,i,a):e(n,r,o,i,a)):Va(u+5)}function Zc(t,e,n,r,o,i,a,s,u){var c=Tn()+t,l=za(c,n,r,o,i);return Ha(c+4,a,s)||l?Ua(c+6,u?e.call(u,n,r,o,i,a,s):e(n,r,o,i,a,s)):Va(c+6)}function Gc(t,e,n,r,o,i,a,s,u,c){var l=Tn()+t,f=za(l,n,r,o,i);return Ba(l+4,a,s,u)||f?Ua(l+7,c?e.call(c,n,r,o,i,a,s,u):e(n,r,o,i,a,s,u)):Va(l+7)}function Wc(t,e,n,r,o,i,a,s,u,c,l){var f=Tn()+t,p=za(f,n,r,o,i);return za(f+4,a,s,u,c)||p?Ua(f+8,l?e.call(l,n,r,o,i,a,s,u,c):e(n,r,o,i,a,s,u,c)):Va(f+8)}function Yc(t,e,n,r){for(var o=Tn()+t,i=!1,a=0;a<n.length;a++)La(o++,n[a])&&(i=!0);return i?Ua(o,e.apply(r,n)):Va(o)}function Jc(t,e){var n,r=pn(),o=t+Vt;r.firstTemplatePass?(n=function(t,e){if(e)for(var n=0;n<e.length;n++){var r=e[n];if(t===r.name)return r}throw new Error("Pipe with name '"+t+"' not found!")}(e,r.pipeRegistry),r.data[o]=n,n.onDestroy&&(r.pipeDestroyHooks||(r.pipeDestroyHooks=[])).push(o,n.onDestroy)):n=r.data[o];var i=n.factory(null);return Na(t,i),i}function $c(t,e,n){var r=Fa(t);return rl(t)?Bc(e,r.transform,n,r):r.transform(n)}function Xc(t,e,n,r){var o=Fa(t);return rl(t)?zc(e,o.transform,n,r,o):o.transform(n,r)}function tl(t,e,n,r,o){var i=Fa(t);return rl(t)?qc(e,i.transform,n,r,o,i):i.transform(n,r,o)}function el(t,e,n,r,o,i){var a=Fa(t);return rl(t)?Qc(e,a.transform,n,r,o,i,a):a.transform(n,r,o,i)}function nl(t,e,n){var r=Fa(t);return rl(t)?Yc(e,r.transform,n,r):r.transform.apply(r,n)}function rl(t){return pn().data[t+Vt].pure}var ol=function(t){function e(e){void 0===e&&(e=!1);var n=t.call(this)||this;return n.__isAsync=e,n}return Object(r.__extends)(e,t),e.prototype.emit=function(e){t.prototype.next.call(this,e)},e.prototype.subscribe=function(e,n,r){var i,a=function(t){return null},s=function(){return null};e&&"object"==typeof e?(i=this.__isAsync?function(t){setTimeout(function(){return e.next(t)})}:function(t){e.next(t)},e.error&&(a=this.__isAsync?function(t){setTimeout(function(){return e.error(t)})}:function(t){e.error(t)}),e.complete&&(s=this.__isAsync?function(){setTimeout(function(){return e.complete()})}:function(){e.complete()})):(i=this.__isAsync?function(t){setTimeout(function(){return e(t)})}:function(t){e(t)},n&&(a=this.__isAsync?function(t){setTimeout(function(){return n(t)})}:function(t){n(t)}),r&&(s=this.__isAsync?function(){setTimeout(function(){return r()})}:function(){r()}));var u=t.prototype.subscribe.call(this,i,a,s);return e instanceof o.a&&e.add(u),u},e}(i.a),il=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return sl(t,au)},t}(),al=function(t,e){return ns(t,e,sn(),yn())},sl=sr,ul=function(){function t(t,e,n){this.parent=t,this.shallow=e,this.deep=n}return t.prototype.track=function(t,e,n,r){n?this.deep=bl(this.deep,t,e,null!=r?r:null):this.shallow=bl(this.shallow,t,e,null!=r?r:null)},t.prototype.clone=function(){return new t(this,null,this.deep)},t.prototype.container=function(){var e=cl(this.shallow),n=cl(this.deep);return e||n?new t(this,e,n):null},t.prototype.createView=function(){var e=ll(this.shallow),n=ll(this.deep);return e||n?new t(this,e,n):null},t.prototype.insertView=function(t){fl(t,this.shallow),fl(t,this.deep)},t.prototype.addNode=function(t){return ml(this.deep,t),Te(t)?(ml(this.shallow,t),t.parent&&Te(t.parent)&&ml(this.parent.shallow,t),this.parent):(function(t){return null===t.parent||Te(t.parent)}(t)&&ml(this.shallow,t),this)},t.prototype.removeView=function(){pl(this.shallow),pl(this.deep)},t}();function cl(t){for(var e=null;t;){var n=[];t.values.push(n),e={next:e,list:t.list,predicate:t.predicate,values:n,containerValues:null},t=t.next}return e}function ll(t){for(var e=null;t;)e={next:e,list:t.list,predicate:t.predicate,values:[],containerValues:t.values},t=t.next;return e}function fl(t,e){for(;e;)e.containerValues.splice(t,0,e.values),e=e.next}function pl(t){for(;t;){var e=t.containerValues,n=e.indexOf(t.values);e.splice(n,1)[0].length&&t.list.setDirty(),t=t.next}}function dl(t,e){var n=t.localNames;if(n)for(var r=0;r<n.length;r+=2)if(n[r]===e)return n[r+1];return null}function hl(t,e,n){var r=e[Lt].data;if(r)for(var o=t.flags,i=o>>16,a=i+(4095&o),s=i;s<a;s++)if(r[s].type===n)return s;return null}function vl(t,e,n){var r=t[b];if("function"==typeof r)return r();var o=hl(e,n,t);return null!==o?n[o]:null}function yl(t,e,n,r){var o=t[b]();return r?o?vl(r,e,n):null:o}function gl(t,e,n,r){return n?vl(n,t,e):r>-1?e[r]:function(t,e){return 3===t.type||4===t.type?es(au,t,e):0===t.type?ns(il,au,t,e):null}(t,e)}function ml(t,e){for(var n=yn();t;){var r=t.predicate,o=r.type;if(o){var i=null;o===il?i=yl(o,e,n,r.read):null!==(u=hl(e,n,o))&&(i=gl(e,n,r.read,u)),null!==i&&_l(t,i)}else for(var a=r.selector,s=0;s<a.length;s++){var u;null!==(u=dl(e,a[s]))&&null!==(i=gl(e,n,r.read,u))&&_l(t,i)}t=t.next}}function _l(t,e){t.values.push(e),t.list.setDirty()}function bl(t,e,n,r){return{next:t,list:e,predicate:function(t,e){var n=Array.isArray(t);return{type:n?null:t,selector:n?t:null,read:e}}(n,r),values:e._valuesTree,containerValues:null}}var wl=function(){function t(){this.dirty=!0,this.changes=new ol,this._values=[],this._valuesTree=[]}return Object.defineProperty(t.prototype,"length",{get:function(){return this._values.length},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"first",{get:function(){var t=this._values;return t.length?t[0]:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){var t=this._values;return t.length?t[t.length-1]:null},enumerable:!0,configurable:!0}),t.prototype.map=function(t){return this._values.map(t)},t.prototype.filter=function(t){return this._values.filter(t)},t.prototype.find=function(t){return this._values.find(t)},t.prototype.reduce=function(t,e){return this._values.reduce(t,e)},t.prototype.forEach=function(t){this._values.forEach(t)},t.prototype.some=function(t){return this._values.some(t)},t.prototype.toArray=function(){return this._values.slice(0)},t.prototype[X()]=function(){return this._values[X()]()},t.prototype.toString=function(){return this._values.toString()},t.prototype.reset=function(t){this._values=function(t){for(var e=[],n=0;n<t.length;){var r=t[n];Array.isArray(r)?r.length>0?(t=r.concat(t.slice(n+1)),n=0):n++:(e.push(r),n++)}return e}(t),this.dirty=!1},t.prototype.notifyOnChanges=function(){this.changes.emit(this)},t.prototype.setDirty=function(){this.dirty=!0},t.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},t}();function Cl(t,e,n,r){var o,i=new wl;return(o=ul,qe&&qe!==We[Qt]&&!Te(qe)&&(Ze&&(Ze=Ze.clone()),qe.flags|=16384),Ze||(Ze=new o(null,null,null))).track(i,e,n,r),Ri(null,i,i.destroy),null!=t&&Na(t,i),i}function Sl(t){return!!t.dirty&&(t.reset(t._valuesTree),t.notifyOnChanges(),!0)}function El(t,e){return ns(il,au,t,e)}var Ol="__SANITIZER_TRUSTED_BRAND__";function xl(t,e){return t instanceof String&&t[Ol]===e}function Tl(t){return Rl(t,"Html")}function jl(t){return Rl(t,"Style")}function kl(t){return Rl(t,"Script")}function Il(t){return Rl(t,"Url")}function Pl(t){return Rl(t,"ResourceUrl")}function Rl(t,e){var n=new String(t);return n[Ol]=e,n}var Al=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}({}),Nl=function(){return function(){}}(),Dl=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),Ml=/^url\(([^)]+)\)$/;function Fl(t){if(!(t=String(t).trim()))return"";var e=t.match(Ml);return e&&Du(e[1])===e[1]||t.match(Dl)&&function(t){for(var e=!0,n=!0,r=0;r<t.length;r++){var o=t.charAt(r);"'"===o&&n?e=!e:'"'===o&&e&&(n=!n)}return e&&n}(t)?t:(Iu()&&console.warn("WARNING: sanitizing unsafe style value "+t+" (see http://g.co/ng/security#xss)."),"unsafe")}function Vl(t){var e=tn();return e?e.sanitize(Al.HTML,t)||"":xl(t,"Html")?t.toString():$u(document,be(t))}function Ll(t){var e=tn();return e?e.sanitize(Al.STYLE,t)||"":xl(t,"Style")?t.toString():Fl(be(t))}function Ul(t){var e=tn();return e?e.sanitize(Al.URL,t)||"":xl(t,"Url")?t.toString():Du(be(t))}function Hl(t){var e=tn();if(e)return e.sanitize(Al.RESOURCE_URL,t)||"";if(xl(t,"ResourceUrl"))return t.toString();throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)")}var Bl={"\u0275defineBase":ft,"\u0275defineComponent":at,"\u0275defineDirective":pt,defineInjectable:w,defineInjector:C,"\u0275defineNgModule":ct,"\u0275definePipe":dt,"\u0275directiveInject":qa,"\u0275getFactoryOf":Wn,"\u0275getInheritedFactory":Yn,inject:kt,"\u0275injectAttribute":Qa,"\u0275templateRefExtractor":El,"\u0275NgOnChangesFeature":ks,"\u0275ProvidersFeature":Js,"\u0275InheritDefinitionFeature":xs,"\u0275elementAttribute":Di,"\u0275bind":Ea,"\u0275container":ia,"\u0275nextContext":hi,"\u0275containerRefreshStart":sa,"\u0275containerRefreshEnd":ua,"\u0275loadQueryList":Ma,"\u0275namespaceHTML":bi,"\u0275namespaceMathML":_i,"\u0275namespaceSVG":mi,"\u0275enableBindings":en,"\u0275disableBindings":nn,"\u0275elementStart":Ei,"\u0275elementEnd":Ni,"\u0275element":wi,"\u0275elementContainerStart":Ci,"\u0275elementContainerEnd":Si,"\u0275pureFunction0":Hc,"\u0275pureFunction1":Bc,"\u0275pureFunction2":zc,"\u0275pureFunction3":qc,"\u0275pureFunction4":Qc,"\u0275pureFunction5":Kc,"\u0275pureFunction6":Zc,"\u0275pureFunction7":Gc,"\u0275pureFunction8":Wc,"\u0275pureFunctionV":Yc,"\u0275getCurrentView":rn,"\u0275restoreView":an,"\u0275interpolation1":xa,"\u0275interpolation2":Ta,"\u0275interpolation3":ja,"\u0275interpolation4":ka,"\u0275interpolation5":Ia,"\u0275interpolation6":Pa,"\u0275interpolation7":Ra,"\u0275interpolation8":Aa,"\u0275interpolationV":Oa,"\u0275elementClassProp":Ui,"\u0275listener":Pi,"\u0275load":Fa,"\u0275projection":va,"\u0275elementProperty":Mi,"\u0275pipeBind1":$c,"\u0275pipeBind2":Xc,"\u0275pipeBind3":tl,"\u0275pipeBind4":el,"\u0275pipeBindV":nl,"\u0275projectionDef":da,"\u0275pipe":Jc,"\u0275query":Cl,"\u0275queryRefresh":Sl,"\u0275registerContentQuery":Ka,"\u0275reference":Da,"\u0275elementStyling":Hi,"\u0275elementStylingMap":qi,"\u0275elementStyleProp":zi,"\u0275elementStylingApply":Bi,"\u0275template":oa,"\u0275text":Ki,"\u0275textBinding":Zi,"\u0275embeddedViewStart":ca,"\u0275embeddedViewEnd":la,"\u0275i18n":xc,"\u0275i18nAttributes":Tc,"\u0275i18nExp":Ic,"\u0275i18nStart":bc,"\u0275i18nEnd":Sc,"\u0275i18nApply":Pc,"\u0275i18nPostprocess":Cc,"\u0275sanitizeHtml":Vl,"\u0275sanitizeStyle":Ll,"\u0275defaultStyleSanitizer":function(t,e){return void 0===e?"background-image"===t||"background"===t||"border-image"===t||"filter"===t||"filter"===t||"list-style"===t||"list-style-image"===t:Ll(e)},"\u0275sanitizeResourceUrl":Hl,"\u0275sanitizeScript":function(t){var e=tn();if(e)return e.sanitize(Al.SCRIPT,t)||"";if(xl(t,"Script"))return t.toString();throw new Error("unsafe value used in a script context")},"\u0275sanitizeUrl":Ul},zl=Function;function ql(t){return"function"==typeof t}var Ql=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*arguments\)/,Kl=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,Zl=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,Gl=function(){function t(t){this._reflect=t||Y.Reflect}return t.prototype.isReflectionEnabled=function(){return!0},t.prototype.factory=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new(t.bind.apply(t,Object(r.__spread)([void 0],e)))}},t.prototype._zipTypesAndAnnotations=function(t,e){var n;n=void 0===t?new Array(e.length):new Array(t.length);for(var r=0;r<n.length;r++)n[r]=void 0===t?[]:t[r]!=Object?[t[r]]:[],e&&null!=e[r]&&(n[r]=n[r].concat(e[r]));return n},t.prototype._ownParameters=function(t,e){var n=t.toString();if(Ql.exec(n)||Kl.exec(n)&&!Zl.exec(n))return null;if(t.parameters&&t.parameters!==e.parameters)return t.parameters;var r=t.ctorParameters;if(r&&r!==e.ctorParameters){var o="function"==typeof r?r():r,i=o.map(function(t){return t&&t.type}),a=o.map(function(t){return t&&Wl(t.decorators)});return this._zipTypesAndAnnotations(i,a)}var s=t.hasOwnProperty(T)&&t[T],u=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",t);return u||s?this._zipTypesAndAnnotations(u,s):new Array(t.length).fill(void 0)},t.prototype.parameters=function(t){if(!ql(t))return[];var e=Yl(t),n=this._ownParameters(t,e);return n||e===Object||(n=this.parameters(e)),n||[]},t.prototype._ownAnnotations=function(t,e){if(t.annotations&&t.annotations!==e.annotations){var n=t.annotations;return"function"==typeof n&&n.annotations&&(n=n.annotations),n}return t.decorators&&t.decorators!==e.decorators?Wl(t.decorators):t.hasOwnProperty(x)?t[x]:null},t.prototype.annotations=function(t){if(!ql(t))return[];var e=Yl(t),n=this._ownAnnotations(t,e)||[];return(e!==Object?this.annotations(e):[]).concat(n)},t.prototype._ownPropMetadata=function(t,e){if(t.propMetadata&&t.propMetadata!==e.propMetadata){var n=t.propMetadata;return"function"==typeof n&&n.propMetadata&&(n=n.propMetadata),n}if(t.propDecorators&&t.propDecorators!==e.propDecorators){var r=t.propDecorators,o={};return Object.keys(r).forEach(function(t){o[t]=Wl(r[t])}),o}return t.hasOwnProperty(j)?t[j]:null},t.prototype.propMetadata=function(t){if(!ql(t))return{};var e=Yl(t),n={};if(e!==Object){var o=this.propMetadata(e);Object.keys(o).forEach(function(t){n[t]=o[t]})}var i=this._ownPropMetadata(t,e);return i&&Object.keys(i).forEach(function(t){var e=[];n.hasOwnProperty(t)&&e.push.apply(e,Object(r.__spread)(n[t])),e.push.apply(e,Object(r.__spread)(i[t])),n[t]=e}),n},t.prototype.hasLifecycleHook=function(t,e){return t instanceof zl&&e in t.prototype},t.prototype.guards=function(t){return{}},t.prototype.getter=function(t){return new Function("o","return o."+t+";")},t.prototype.setter=function(t){return new Function("o","v","return o."+t+" = v;")},t.prototype.method=function(t){return new Function("o","args","if (!o."+t+") throw new Error('\""+t+"\" is undefined');\n return o."+t+".apply(o, args);")},t.prototype.importUri=function(t){return"object"==typeof t&&t.filePath?t.filePath:"./"+nt(t)},t.prototype.resourceUri=function(t){return"./"+nt(t)},t.prototype.resolveIdentifier=function(t,e,n,r){return r},t.prototype.resolveEnum=function(t,e){return t[e]},t}();function Wl(t){return t?t.map(function(t){var e=t.type.annotationCls,n=t.args?t.args:[];return new(e.bind.apply(e,Object(r.__spread)([void 0],n)))}):[]}function Yl(t){var e=t.prototype?Object.getPrototypeOf(t.prototype):null;return(e?e.constructor:null)||Object}var Jl=null;function $l(){return Jl=Jl||new Gl}function Xl(t){return tf($l().parameters(t))}function tf(t){var e=mt();return t.map(function(t){return function(t,e){var n={token:null,host:!1,optional:!1,resolved:t.R3ResolvedDependencyType.Token,self:!1,skipSelf:!1};function r(e){n.resolved=t.R3ResolvedDependencyType.Token,n.token=e}if(Array.isArray(e)){if(0===e.length)throw new Error("Dependency array must have arguments.");for(var o=0;o<e.length;o++){var i=e[o];if(void 0!==i)if(i instanceof wt||"Optional"===i.__proto__.ngMetadataName)n.optional=!0;else if(i instanceof St||"SkipSelf"===i.__proto__.ngMetadataName)n.skipSelf=!0;else if(i instanceof Ct||"Self"===i.__proto__.ngMetadataName)n.self=!0;else if(i instanceof Et||"Host"===i.__proto__.ngMetadataName)n.host=!0;else if(i instanceof bt)n.token=i.token;else if(i instanceof N){if(void 0===i.attributeName)throw new Error("Attribute name must be defined.");n.token=i.attributeName,n.resolved=t.R3ResolvedDependencyType.Attribute}else r(i)}}else r(e);return n}(e,t)})}var ef=[];function nf(t,e){rf(t,e),function(t,e){var n=sf(e.declarations||ef),r=af(t);n.forEach(function(e){e.hasOwnProperty(d)?of(ht(e),r):e.hasOwnProperty(h)||e.hasOwnProperty(g)||(e.ngSelectorScope=t)})}(t,e)}function rf(t,e){var n=sf(e.declarations||ef),r=null;Object.defineProperty(t,m,{configurable:!0,get:function(){return null===r&&(r=mt().compileNgModule(Bl,"ng://"+t.name+"/ngModuleDef.js",{type:t,bootstrap:sf(e.bootstrap||ef),declarations:n,imports:sf(e.imports||ef).map(uf),exports:sf(e.exports||ef).map(uf),emitInline:!0})),r}});var o=null;Object.defineProperty(t,y,{get:function(){if(null===o){var n={name:t.name,type:t,deps:Xl(t),providers:e.providers||ef,imports:[e.imports||ef,e.exports||ef]};o=mt().compileInjector(Bl,"ng://"+t.name+"/ngInjectorDef.js",n)}return o},configurable:!1})}function of(t,e){t.directiveDefs=function(){return Array.from(e.compilation.directives).map(function(t){return vt(t)||ht(t)}).filter(function(t){return!!t})},t.pipeDefs=function(){return Array.from(e.compilation.pipes).map(function(t){return yt(t)})}}function af(t){if(!cf(t))throw new Error(t.name+" does not have an ngModuleDef");var e=gt(t);if(null!==e.transitiveCompileScopes)return e.transitiveCompileScopes;var n={compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return e.declarations.forEach(function(t){yt(t)?n.compilation.pipes.add(t):n.compilation.directives.add(t)}),e.imports.forEach(function(t){var e=t;if(!cf(e))throw new Error("Importing "+e.name+" which does not have an ngModuleDef");var r=af(e);r.exported.directives.forEach(function(t){return n.compilation.directives.add(t)}),r.exported.pipes.forEach(function(t){return n.compilation.pipes.add(t)})}),e.exports.forEach(function(t){var e=t;if(cf(e)){var r=af(e);r.exported.directives.forEach(function(t){n.compilation.directives.add(t),n.exported.directives.add(t)}),r.exported.pipes.forEach(function(t){n.compilation.pipes.add(t),n.exported.pipes.add(t)})}else gt(e)?n.exported.pipes.add(e):n.exported.directives.add(e)}),e.transitiveCompileScopes=n,n}function sf(t){var e=[];return t.forEach(function(t){Array.isArray(t)?e.push.apply(e,Object(r.__spread)(sf(t))):e.push(t)}),e}function uf(t){return function(t){return void 0!==t.ngModule}(t)?t.ngModule:t}function cf(t){return!!gt(t)}function lf(t,e){var n=null;!function(t){Q(t)&&q.add(t)}(e),Object.defineProperty(t,d,{get:function(){var o=mt();if(null===n){if(Q(e)){var i=["Component '"+nt(t)+"' is not resolved:"];throw e.templateUrl&&i.push(" - templateUrl: "+nt(e.templateUrl)),e.styleUrls&&e.styleUrls.length&&i.push(" - styleUrls: "+JSON.stringify(e.styleUrls)),i.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(i.join("\n"))}var a=Object(r.__assign)({},pf(t,e),{template:e.template||"",preserveWhitespaces:e.preserveWhitespaces||!1,styles:e.styles||ot,animations:e.animations,viewQueries:hf($l().propMetadata(t),yf),directives:new Map,pipes:new Map,encapsulation:e.encapsulation||Z.Emulated,viewProviders:e.viewProviders||null});if(n=o.compileComponent(Bl,"ng://"+nt(t)+"/template.html",a),void 0!==t.ngSelectorScope){var s=af(t.ngSelectorScope);of(n,s)}}return n},configurable:!1})}function ff(t,e){var n=null;Object.defineProperty(t,h,{get:function(){if(null===n){var r=pf(t,e);n=mt().compileDirective(Bl,"ng://"+(t&&t.name)+"/ngDirectiveDef.js",r)}return n},configurable:!1})}function pf(t,e){var n=$l().propMetadata(t);return{name:t.name,type:t,typeArgumentCount:0,selector:e.selector,deps:Xl(t),host:e.host||df,propMetadata:n,inputs:e.inputs||ot,outputs:e.outputs||ot,queries:hf(n,vf),lifecycle:{usesOnChanges:void 0!==t.prototype.ngOnChanges},typeSourceSpan:null,usesInheritance:!function(t){return Object.getPrototypeOf(t.prototype)===Object.prototype}(t),exportAs:e.exportAs||null,providers:e.providers||null}}var df={};function hf(t,e){var n=[],r=function(r){t.hasOwnProperty(r)&&t[r].forEach(function(t){e(t)&&n.push(function(t,e){return{propertyName:r,predicate:(n=e.selector,"string"==typeof n?n.split(",").map(function(t){return t.trim()}):n),descendants:e.descendants,first:e.first,read:e.read?e.read:null};var n}(0,t))})};for(var o in t)r(o);return n}function vf(t){var e=t.ngMetadataName;return"ContentChild"===e||"ContentChildren"===e}function yf(t){var e=t.ngMetadataName;return"ViewChild"===e||"ViewChildren"===e}function gf(t,e){var n=null;Object.defineProperty(t,g,{get:function(){return null===n&&(n=mt().compilePipe(Bl,"ng://"+be(t)+"/ngPipeDef.js",{type:t,name:t.name,deps:Xl(t),pipeName:e.name,pure:void 0===e.pure||e.pure})),n},configurable:!1})}var mf=k("Directive",function(t){return void 0===t&&(t={}),t},void 0,void 0,function(t,e){return If(t,e)}),_f=k("Component",function(t){return void 0===t&&(t={}),Object(r.__assign)({changeDetection:U.Default},t)},mf,void 0,function(t,e){return kf(t,e)}),bf=k("Pipe",function(t){return Object(r.__assign)({pure:!0},t)},void 0,void 0,function(t,e){return Pf(t,e)}),wf=function(t){return function(e,n){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];var i=e.constructor;i.hasOwnProperty(_)||function(t){var e=t.constructor,n=e.ngBaseDef,r=e.ngBaseDef={inputs:{},outputs:{},declaredInputs:{}};n&&(p(r.inputs,n.inputs),p(r.outputs,n.outputs),p(r.declaredInputs,n.declaredInputs))}(e),t(i.ngBaseDef)[n]=r[0]}},Cf=R("Input",function(t){return{bindingPropertyName:t}},void 0,wf(function(t){return t.inputs||{}})),Sf=R("Output",function(t){return{bindingPropertyName:t}},void 0,wf(function(t){return t.outputs||{}})),Ef=R("HostBinding",function(t){return{hostPropertyName:t}}),Of=R("HostListener",function(t,e){return{eventName:t,args:e}}),xf=lf,Tf=ff,jf=gf,kf=sr,If=sr,Pf=sr,Rf=f({provide:String,useValue:f}),Af=[];function Nf(t,e){if(!e){var n=(c=new Gl).parameters(t);return function(){return new(t.bind.apply(t,Object(r.__spread)([void 0],Pt(n))))}}if(Rf in e){var o=e;return function(){return o.useValue}}if(e.useExisting){var i=e;return function(){return kt(i.useExisting)}}if(e.useFactory){var a=e;return function(){return a.useFactory.apply(a,Object(r.__spread)(Pt(a.deps||Af)))}}if(e.useClass){var s=e,u=e.deps;if(!u){var c=new Gl;u=c.parameters(t)}return function(){var t;return new((t=s.useClass).bind.apply(t,Object(r.__spread)([void 0],Pt(u))))}}var l=e.deps;return l||(c=new Gl,l=c.parameters(t)),function(){return new(t.bind.apply(t,Object(r.__spread)([void 0],Pt(l))))}}var Df={name:"custom-elements"},Mf={name:"no-errors-schema"},Ff=k("NgModule",function(t){return t},void 0,void 0,function(t,e){return Lf(t,e)}),Vf=nf,Lf=function(t,e){var n=e&&e.imports||[];e&&e.exports&&(n=Object(r.__spread)(n,[e.exports])),t.ngInjectorDef=C({factory:Nf(t,{useClass:t}),providers:e&&e.providers,imports:n})},Uf=f({provide:String,useValue:f});function Hf(t){return void 0!==t.useClass}function Bf(t){return Uf in t}function zf(t){return void 0!==t.useFactory}function qf(t){return void 0!==t.useExisting}var Qf=k("Injectable",void 0,void 0,void 0,function(t,e){return Zf(t,e)}),Kf=function(t,e){var n=null;Object.defineProperty(t,v,{get:function(){if(null===n){var r=e||{providedIn:null},o=Hf(r)||zf(r)||Bf(r)||qf(r),i={name:t.name,type:t,providedIn:r.providedIn,ctorDeps:Xl(t),userDeps:void 0};if((Hf(r)||zf(r))&&void 0!==r.deps&&(i.userDeps=tf(r.deps)),o)if(Hf(r))i.useClass=r.useClass;else if(Bf(r))i.useValue=r.useValue;else if(zf(r))i.useFactory=r.useFactory;else{if(!qf(r))throw new Error("Unreachable state.");i.useExisting=r.useExisting}else i.useClass=t;n=mt().compileInjectable(Bl,"ng://"+t.name+"/ngInjectableDef.js",i)}return n}})},Zf=function(t,e){e&&void 0!==e.providedIn&&!S(t)&&(t.ngInjectableDef=w({providedIn:e.providedIn,factory:Nf(t,e)}))},Gf="ngDebugContext",Wf="ngOriginalError",Yf="ngErrorLogger";function Jf(t){return t[Gf]}function $f(t){return t[Wf]}function Xf(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];t.error.apply(t,Object(r.__spread)(e))}var tp=function(){function t(){this._console=console}return t.prototype.handleError=function(t){var e=this._findOriginalError(t),n=this._findContext(t),r=function(t){return t[Yf]||Xf}(t);r(this._console,"ERROR",t),e&&r(this._console,"ORIGINAL ERROR",e),n&&r(this._console,"ERROR CONTEXT",n)},t.prototype._findContext=function(t){return t?Jf(t)?Jf(t):this._findContext($f(t)):null},t.prototype._findOriginalError=function(t){for(var e=$f(t);e&&$f(e);)e=$f(e);return e},t}();function ep(t){return t.length>1?" ("+function(t){for(var e=[],n=0;n<t.length;++n){if(e.indexOf(t[n])>-1)return e.push(t[n]),e;e.push(t[n])}return e}(t.slice().reverse()).map(function(t){return nt(t.token)}).join(" -> ")+")":""}function np(t,e,n,r){var o=[e],i=n(o),a=r?function(t,e){var n=i+" caused by: "+(e instanceof Error?e.message:e),r=Error(n);return r[Wf]=e,r}(0,r):Error(i);return a.addKey=rp,a.keys=o,a.injectors=[t],a.constructResolvingMessage=n,a[Wf]=r,a}function rp(t,e){this.injectors.push(t),this.keys.push(e),this.message=this.constructResolvingMessage(this.keys)}function op(t,e){for(var n=[],r=0,o=e.length;r<o;r++){var i=e[r];n.push(i&&0!=i.length?i.map(nt).join(" "):"?")}return Error("Cannot resolve all parameters for '"+nt(t)+"'("+n.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+nt(t)+"' is decorated with Injectable.")}var ip=function(){function t(t,e){if(this.token=t,this.id=e,!t)throw new Error("Token must be defined!");this.displayName=nt(this.token)}return t.get=function(t){return ap.get(lr(t))},Object.defineProperty(t,"numberOfKeys",{get:function(){return ap.numberOfKeys},enumerable:!0,configurable:!0}),t}(),ap=new(function(){function t(){this._allKeys=new Map}return t.prototype.get=function(t){if(t instanceof ip)return t;if(this._allKeys.has(t))return this._allKeys.get(t);var e=new ip(t,ip.numberOfKeys);return this._allKeys.set(t,e),e},Object.defineProperty(t.prototype,"numberOfKeys",{get:function(){return this._allKeys.size},enumerable:!0,configurable:!0}),t}()),sp=new(function(){function t(t){this.reflectionCapabilities=t}return t.prototype.updateCapabilities=function(t){this.reflectionCapabilities=t},t.prototype.factory=function(t){return this.reflectionCapabilities.factory(t)},t.prototype.parameters=function(t){return this.reflectionCapabilities.parameters(t)},t.prototype.annotations=function(t){return this.reflectionCapabilities.annotations(t)},t.prototype.propMetadata=function(t){return this.reflectionCapabilities.propMetadata(t)},t.prototype.hasLifecycleHook=function(t,e){return this.reflectionCapabilities.hasLifecycleHook(t,e)},t.prototype.getter=function(t){return this.reflectionCapabilities.getter(t)},t.prototype.setter=function(t){return this.reflectionCapabilities.setter(t)},t.prototype.method=function(t){return this.reflectionCapabilities.method(t)},t.prototype.importUri=function(t){return this.reflectionCapabilities.importUri(t)},t.prototype.resourceUri=function(t){return this.reflectionCapabilities.resourceUri(t)},t.prototype.resolveIdentifier=function(t,e,n,r){return this.reflectionCapabilities.resolveIdentifier(t,e,n,r)},t.prototype.resolveEnum=function(t,e){return this.reflectionCapabilities.resolveEnum(t,e)},t}())(new Gl),up=function(){function t(t,e,n){this.key=t,this.optional=e,this.visibility=n}return t.fromKey=function(e){return new t(e,!1,null)},t}(),cp=[],lp=function(){return function(t,e,n){this.key=t,this.resolvedFactories=e,this.multiProvider=n,this.resolvedFactory=this.resolvedFactories[0]}}(),fp=function(){return function(t,e){this.factory=t,this.dependencies=e}}();function pp(t){return new lp(ip.get(t.provide),[function(t){var e,n;if(t.useClass){var r=lr(t.useClass);e=sp.factory(r),n=hp(r)}else t.useExisting?(e=function(t){return t},n=[up.fromKey(ip.get(t.useExisting))]):t.useFactory?(e=t.useFactory,n=function(t,e){if(e){var n=e.map(function(t){return[t]});return e.map(function(e){return vp(t,e,n)})}return hp(t)}(t.useFactory,t.deps)):(e=function(){return t.useValue},n=cp);return new fp(e,n)}(t)],t.multi||!1)}function dp(t){var e=function(t,e){for(var n=0;n<t.length;n++){var r=t[n],o=e.get(r.key.id);if(o){if(r.multiProvider!==o.multiProvider)throw Error("Cannot mix multi providers and regular providers, got: "+o+" "+r);if(r.multiProvider)for(var i=0;i<r.resolvedFactories.length;i++)o.resolvedFactories.push(r.resolvedFactories[i]);else e.set(r.key.id,r)}else{var a;a=r.multiProvider?new lp(r.key,r.resolvedFactories.slice(),r.multiProvider):r,e.set(r.key.id,a)}}return e}(function t(e,n){return e.forEach(function(e){if(e instanceof zl)n.push({provide:e,useClass:e});else if(e&&"object"==typeof e&&void 0!==e.provide)n.push(e);else{if(!(e instanceof Array))throw Error("Invalid provider - only instances of Provider and Type are allowed, got: "+e);t(e,n)}}),n}(t,[]).map(pp),new Map);return Array.from(e.values())}function hp(t){var e=sp.parameters(t);if(!e)return[];if(e.some(function(t){return null==t}))throw op(t,e);return e.map(function(n){return vp(t,n,e)})}function vp(t,e,n){var r=null,o=!1;if(!Array.isArray(e))return yp(e instanceof bt?e.token:e,o,null);for(var i=null,a=0;a<e.length;++a){var s=e[a];s instanceof zl?r=s:s instanceof bt?r=s.token:s instanceof wt?o=!0:s instanceof Ct||s instanceof St?i=s:s instanceof O&&(r=s)}if(null!=(r=lr(r)))return yp(r,o,i);throw op(t,n)}function yp(t,e,n){return new up(ip.get(t),e,n)}var gp=new Object,mp=function(){function t(){}return t.resolve=function(t){return dp(t)},t.resolveAndCreate=function(e,n){var r=t.resolve(e);return t.fromResolvedProviders(r,n)},t.fromResolvedProviders=function(t,e){return new _p(t,e)},t}(),_p=function(){function t(t,e){this._constructionCounter=0,this._providers=t,this.parent=e||null;var n=t.length;this.keyIds=new Array(n),this.objs=new Array(n);for(var r=0;r<n;r++)this.keyIds[r]=t[r].key.id,this.objs[r]=gp}return t.prototype.get=function(t,e){return void 0===e&&(e=dr),this._getByKey(ip.get(t),null,e)},t.prototype.resolveAndCreateChild=function(t){var e=mp.resolve(t);return this.createChildFromResolved(e)},t.prototype.createChildFromResolved=function(e){var n=new t(e);return n.parent=this,n},t.prototype.resolveAndInstantiate=function(t){return this.instantiateResolved(mp.resolve([t])[0])},t.prototype.instantiateResolved=function(t){return this._instantiateProvider(t)},t.prototype.getProviderAtIndex=function(t){if(t<0||t>=this._providers.length)throw function(t){return Error("Index "+t+" is out-of-bounds.")}(t);return this._providers[t]},t.prototype._new=function(t){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw np(this,t.key,function(t){return"Cannot instantiate cyclic dependency!"+ep(t)});return this._instantiateProvider(t)},t.prototype._getMaxNumberOfObjects=function(){return this.objs.length},t.prototype._instantiateProvider=function(t){if(t.multiProvider){for(var e=new Array(t.resolvedFactories.length),n=0;n<t.resolvedFactories.length;++n)e[n]=this._instantiate(t,t.resolvedFactories[n]);return e}return this._instantiate(t,t.resolvedFactories[0])},t.prototype._instantiate=function(t,e){var n,o,i,a=this,s=e.factory;try{n=e.dependencies.map(function(t){return a._getByReflectiveDependency(t)})}catch(u){throw u.addKey&&u.addKey(this,t.key),u}try{o=s.apply(void 0,Object(r.__spread)(n))}catch(u){throw np(this,t.key,function(t){var e=nt(t[0].token);return i.message+": Error during instantiation of "+e+"!"+ep(t)+"."},i=u)}return o},t.prototype._getByReflectiveDependency=function(t){return this._getByKey(t.key,t.visibility,t.optional?null:dr)},t.prototype._getByKey=function(e,n,r){return e===t.INJECTOR_KEY?this:n instanceof Ct?this._getByKeySelf(e,r):this._getByKeyDefault(e,r,n)},t.prototype._getObjByKeyId=function(t){for(var e=0;e<this.keyIds.length;e++)if(this.keyIds[e]===t)return this.objs[e]===gp&&(this.objs[e]=this._new(this._providers[e])),this.objs[e];return gp},t.prototype._throwOrNull=function(t,e){if(e!==dr)return e;throw function(t,e){return np(t,e,function(t){return"No provider for "+nt(t[0].token)+"!"+ep(t)})}(this,t)},t.prototype._getByKeySelf=function(t,e){var n=this._getObjByKeyId(t.id);return n!==gp?n:this._throwOrNull(t,e)},t.prototype._getByKeyDefault=function(e,n,r){var o;for(o=r instanceof St?this.parent:this;o instanceof t;){var i=o,a=i._getObjByKeyId(e.id);if(a!==gp)return a;o=i.parent}return null!==o?o.get(e.token,n):this._throwOrNull(e,n)},Object.defineProperty(t.prototype,"displayName",{get:function(){return"ReflectiveInjector(providers: ["+function(t,e){for(var n=new Array(t._providers.length),r=0;r<t._providers.length;++r)n[r]=' "'+t.getProviderAtIndex(r).key.displayName+'" ';return n}(this).join(", ")+"])"},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this.displayName},t.INJECTOR_KEY=ip.get(yr),t}();function bp(t){return!!t&&"function"==typeof t.then}function wp(t){return!!t&&"function"==typeof t.subscribe}var Cp=new O("Application Initializer"),Sp=function(){function t(t){var e=this;this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise(function(t,n){e.resolve=t,e.reject=n})}return t.prototype.runInitializers=function(){var t=this;if(!this.initialized){var e=[],n=function(){t.done=!0,t.resolve()};if(this.appInits)for(var r=0;r<this.appInits.length;r++){var o=this.appInits[r]();bp(o)&&e.push(o)}Promise.all(e).then(function(){n()}).catch(function(e){t.reject(e)}),0===e.length&&n(),this.initialized=!0}},t}(),Ep=new O("AppId");function Op(){return""+Tp()+Tp()+Tp()}var xp={provide:Ep,useFactory:Op,deps:[]};function Tp(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var jp=new O("Platform Initializer"),kp=new O("Platform ID"),Ip=new O("appBootstrapListener"),Pp=new O("Application Packages Root URL"),Rp=function(){function t(){}return t.prototype.log=function(t){console.log(t)},t.prototype.warn=function(t){console.warn(t)},t}(),Ap=function(){return function(t,e){this.ngModuleFactory=t,this.componentFactories=e}}();function Np(){throw new Error("Runtime compiler is not loaded")}var Dp,Mp,Fp=function(){function t(){}return t.prototype.compileModuleSync=function(t){throw Np()},t.prototype.compileModuleAsync=function(t){throw Np()},t.prototype.compileModuleAndAllComponentsSync=function(t){throw Np()},t.prototype.compileModuleAndAllComponentsAsync=function(t){throw Np()},t.prototype.clearCache=function(){},t.prototype.clearCacheFor=function(t){},t.prototype.getModuleId=function(t){},t}(),Vp=new O("compilerOptions"),Lp=function(){return function(){}}();function Up(){var t=Y.wtf;return!(!t||!(Dp=t.trace)||(Mp=Dp.events,0))}function Hp(t,e){return void 0===e&&(e=null),Mp.createScope(t,e)}function Bp(t,e){return Dp.leaveScope(t,e),e}function zp(t,e){return Dp.beginTimeRange(t,e)}function qp(t){Dp.endTimeRange(t)}var Qp=Up();function Kp(t,e){return null}var Zp=Qp?Hp:function(t,e){return Kp},Gp=Qp?Bp:function(t,e){return e},Wp=Qp?zp:function(t,e){return null},Yp=Qp?qp:function(t){return null},Jp=function(){function t(t){var e,n=t.enableLongStackTrace,r=void 0!==n&&n;if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ol(!1),this.onMicrotaskEmpty=new ol(!1),this.onStable=new ol(!1),this.onError=new ol(!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)),r&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),(e=this)._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(t,n,r,o,i,a){try{return ed(e),t.invokeTask(r,o,i,a)}finally{nd(e)}},onInvoke:function(t,n,r,o,i,a,s){try{return ed(e),t.invoke(r,o,i,a,s)}finally{nd(e)}},onHasTask:function(t,n,r,o){t.hasTask(r,o),n===r&&("microTask"==o.change?(e.hasPendingMicrotasks=o.microTask,td(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:function(t,n,r,o){return t.handleError(r,o),e.runOutsideAngular(function(){return e.onError.emit(o)}),!1}})}return t.isInAngularZone=function(){return!0===Zone.current.get("isAngularZone")},t.assertInAngularZone=function(){if(!t.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")},t.assertNotInAngularZone=function(){if(t.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")},t.prototype.run=function(t,e,n){return this._inner.run(t,e,n)},t.prototype.runTask=function(t,e,n,r){var o=this._inner,i=o.scheduleEventTask("NgZoneEvent: "+r,t,Xp,$p,$p);try{return o.runTask(i,e,n)}finally{o.cancelTask(i)}},t.prototype.runGuarded=function(t,e,n){return this._inner.runGuarded(t,e,n)},t.prototype.runOutsideAngular=function(t){return this._outer.run(t)},t}();function $p(){}var Xp={};function td(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(function(){return t.onStable.emit(null)})}finally{t.isStable=!0}}}function ed(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function nd(t){t._nesting--,td(t)}var rd=function(){function t(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ol,this.onMicrotaskEmpty=new ol,this.onStable=new ol,this.onError=new ol}return t.prototype.run=function(t){return t()},t.prototype.runGuarded=function(t){return t()},t.prototype.runOutsideAngular=function(t){return t()},t.prototype.runTask=function(t){return t()},t}(),od=function(){function t(t){var e=this;this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run(function(){e.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}return t.prototype._watchAngularEvents=function(){var t=this;this._ngZone.onUnstable.subscribe({next:function(){t._didWork=!0,t._isZoneStable=!1}}),this._ngZone.runOutsideAngular(function(){t._ngZone.onStable.subscribe({next:function(){Jp.assertNotInAngularZone(),tt(function(){t._isZoneStable=!0,t._runCallbacksIfReady()})}})})},t.prototype.increasePendingRequestCount=function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount},t.prototype.decreasePendingRequestCount=function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount},t.prototype.isStable=function(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks},t.prototype._runCallbacksIfReady=function(){var t=this;if(this.isStable())tt(function(){for(;0!==t._callbacks.length;){var e=t._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(t._didWork)}t._didWork=!1});else{var e=this.getPendingTasks();this._callbacks=this._callbacks.filter(function(t){return!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)}),this._didWork=!0}},t.prototype.getPendingTasks=function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(function(t){return{source:t.source,creationLocation:t.creationLocation,data:t.data}}):[]},t.prototype.addCallback=function(t,e,n){var r=this,o=-1;e&&e>0&&(o=setTimeout(function(){r._callbacks=r._callbacks.filter(function(t){return t.timeoutId!==o}),t(r._didWork,r.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:o,updateCb:n})},t.prototype.whenStable=function(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()},t.prototype.getPendingRequestCount=function(){return this._pendingCount},t.prototype.findProviders=function(t,e,n){return[]},t}(),id=function(){function t(){this._applications=new Map,ud.addToWindow(this)}return t.prototype.registerApplication=function(t,e){this._applications.set(t,e)},t.prototype.unregisterApplication=function(t){this._applications.delete(t)},t.prototype.unregisterAllApplications=function(){this._applications.clear()},t.prototype.getTestability=function(t){return this._applications.get(t)||null},t.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},t.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},t.prototype.findTestabilityInTree=function(t,e){return void 0===e&&(e=!0),ud.findTestabilityInTree(this,t,e)},Object(r.__decorate)([Object(r.__metadata)("design:paramtypes",[])],t)}();function ad(t){ud=t}var sd,ud=new(function(){function t(){}return t.prototype.addToWindow=function(t){},t.prototype.findTestabilityInTree=function(t,e,n){return null},t}());function cd(t,e,n){return Promise.resolve(new Lc(n))}var ld=new O("AllowMultipleToken"),fd=function(){return function(t,e){this.name=t,this.token=e}}();function pd(t){if(sd&&!sd.destroyed&&!sd.injector.get(ld,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");sd=t.get(gd);var e=t.get(jp,null);return e&&e.forEach(function(t){return t()}),sd}function dd(t,e,n){void 0===n&&(n=[]);var r="Platform: "+e,o=new O(r);return function(e){void 0===e&&(e=[]);var i=yd();if(!i||i.injector.get(ld,!1))if(t)t(n.concat(e).concat({provide:o,useValue:!0}));else{var a=n.concat(e).concat({provide:o,useValue:!0});pd(yr.create({providers:a,name:r}))}return hd(o)}}function hd(t){var e=yd();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}function vd(){sd&&!sd.destroyed&&sd.destroy()}function yd(){return sd&&!sd.destroyed?sd:null}var gd=function(){function t(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return t.prototype.bootstrapModuleFactory=function(t,e){var n,r=this,o="noop"===(n=e?e.ngZone:void 0)?new rd:("zone.js"===n?void 0:n)||new Jp({enableLongStackTrace:Iu()}),i=[{provide:Jp,useValue:o}];return o.run(function(){var e=yr.create({providers:i,parent:r.injector,name:t.moduleType.name}),n=t.create(e),a=n.injector.get(tp,null);if(!a)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy(function(){return bd(r._modules,n)}),o.runOutsideAngular(function(){return o.onError.subscribe({next:function(t){a.handleError(t)}})}),function(t,e,o){try{var i=((a=n.injector.get(Sp)).runInitializers(),a.donePromise.then(function(){return r._moduleDoBootstrap(n),n}));return bp(i)?i.catch(function(n){throw e.runOutsideAngular(function(){return t.handleError(n)}),n}):i}catch(s){throw e.runOutsideAngular(function(){return t.handleError(s)}),s}var a}(a,o)})},t.prototype.bootstrapModule=function(t,e){var n=this;void 0===e&&(e=[]);var r=md({},e);return function(t,e,n){return t.get(Lp).createCompiler([e]).compileModuleAsync(n)}(this.injector,r,t).then(function(t){return n.bootstrapModuleFactory(t,r)})},t.prototype._moduleDoBootstrap=function(t){var e=t.injector.get(_d);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(function(t){return e.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+nt(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)},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},Object.defineProperty(t.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(t){return t.destroy()}),this._destroyListeners.forEach(function(t){return t()}),this._destroyed=!0},Object.defineProperty(t.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),t}();function md(t,e){return Array.isArray(e)?e.reduce(md,t):Object(r.__assign)({},t,e)}var _d=function(){function t(t,e,n,r,o,i){var f=this;this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=o,this._initStatus=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Iu(),this._zone.onMicrotaskEmpty.subscribe({next:function(){f._zone.run(function(){f.tick()})}});var p=new a.a(function(t){f._stable=f._zone.isStable&&!f._zone.hasPendingMacrotasks&&!f._zone.hasPendingMicrotasks,f._zone.runOutsideAngular(function(){t.next(f._stable),t.complete()})}),d=new a.a(function(t){var e;f._zone.runOutsideAngular(function(){e=f._zone.onStable.subscribe(function(){Jp.assertNotInAngularZone(),tt(function(){f._stable||f._zone.hasPendingMacrotasks||f._zone.hasPendingMicrotasks||(f._stable=!0,t.next(!0))})})});var n=f._zone.onUnstable.subscribe(function(){Jp.assertInAngularZone(),f._stable&&(f._stable=!1,f._zone.runOutsideAngular(function(){t.next(!1)}))});return function(){e.unsubscribe(),n.unsubscribe()}});this.isStable=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=Number.POSITIVE_INFINITY,r=null,o=t[t.length-1];return Object(s.a)(o)?(r=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof o&&(n=t.pop()),null===r&&1===t.length&&t[0]instanceof a.a?t[0]:Object(u.a)(n)(Object(c.a)(t,r))}(p,d.pipe(Object(l.a)()))}var e;return e=t,t.prototype.bootstrap=function(t,e){var n,r=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=t instanceof Xs?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);var o=n instanceof iu?null:this._injector.get(Pr),i=n.create(yr.NULL,[],e||n.selector,o);i.onDestroy(function(){r._unloadComponent(i)});var a=i.injector.get(od,null);return a&&i.injector.get(id).registerApplication(i.location.nativeElement,a),this._loadComponent(i),Iu()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),i},t.prototype.tick=function(){var t=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=e._tickScope();try{this._runningTick=!0,this._views.forEach(function(t){return t.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(t){return t.checkNoChanges()})}catch(r){this._zone.runOutsideAngular(function(){return t._exceptionHandler.handleError(r)})}finally{this._runningTick=!1,Gp(n)}},t.prototype.attachView=function(t){var e=t;this._views.push(e),e.attachToAppRef(this)},t.prototype.detachView=function(t){var e=t;bd(this._views,e),e.detachFromAppRef()},t.prototype._loadComponent=function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Ip,[]).concat(this._bootstrapListeners).forEach(function(e){return e(t)})},t.prototype._unloadComponent=function(t){this.detachView(t.hostView),bd(this.components,t)},t.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(t){return t.destroy()})},Object.defineProperty(t.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),t._tickScope=Zp("ApplicationRef#tick()"),t}();function bd(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var wd=function(){return function(){}}(),Cd=new Map;function Sd(t,e){var n=Cd.get(t);if(n)throw new Error("Duplicate module registered for "+t+" - "+n.moduleType.name+" vs "+e.moduleType.name);Cd.set(t,e)}function Ed(t){var e=Cd.get(t);if(!e)throw new Error("No module with ID "+t+" loaded");return e}var Od=function(){function t(){this.dirty=!0,this._results=[],this.changes=new ol,this.length=0}return t.prototype.map=function(t){return this._results.map(t)},t.prototype.filter=function(t){return this._results.filter(t)},t.prototype.find=function(t){return this._results.find(t)},t.prototype.reduce=function(t,e){return this._results.reduce(t,e)},t.prototype.forEach=function(t){this._results.forEach(t)},t.prototype.some=function(t){return this._results.some(t)},t.prototype.toArray=function(){return this._results.slice()},t.prototype[X()]=function(){return this._results[X()]()},t.prototype.toString=function(){return this._results.toString()},t.prototype.reset=function(t){this._results=function t(e){return e.reduce(function(e,n){var r=Array.isArray(n)?t(n):n;return e.concat(r)},[])}(t),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},t.prototype.notifyOnChanges=function(){this.changes.emit(this)},t.prototype.setDirty=function(){this.dirty=!0},t.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},t}(),xd=function(){return function(){}}(),Td={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},jd=function(){function t(t,e){this._compiler=t,this._config=e||Td}return t.prototype.load=function(t){return this._compiler instanceof Fp?this.loadFactory(t):this.loadAndCompile(t)},t.prototype.loadAndCompile=function(t){var e=this,o=Object(r.__read)(t.split("#"),2),i=o[0],a=o[1];return void 0===a&&(a="default"),n("crnd")(i).then(function(t){return t[a]}).then(function(t){return kd(t,i,a)}).then(function(t){return e._compiler.compileModuleAsync(t)})},t.prototype.loadFactory=function(t){var e=Object(r.__read)(t.split("#"),2),o=e[0],i=e[1],a="NgFactory";return void 0===i&&(i="default",a=""),n("crnd")(this._config.factoryPathPrefix+o+this._config.factoryPathSuffix).then(function(t){return t[i+a]}).then(function(t){return kd(t,o,i)})},t}();function kd(t,e,n){if(!t)throw new Error("Cannot find '"+n+"' in '"+e+"'");return t}var Id=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return Rd(t,au)},t}(),Pd=function(t,e){return function(t,e,n,o){var i;$a||($a=function(t){function n(e,n,r){var o=t.call(this)||this;return o._lContainer=e,o._hostTNode=n,o._hostView=r,o._viewRefs=[],o}return Object(r.__extends)(n,t),Object.defineProperty(n.prototype,"element",{get:function(){return es(e,this._hostTNode,this._hostView)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"injector",{get:function(){return new rs(this._hostTNode,this._hostView)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"parentInjector",{get:function(){var t=Ln(this._hostTNode,this._hostView),e=Le(t,this._hostView),n=function(t,e,n){if(n.parent&&-1!==n.parent.injectorIndex){for(var r=n.parent.injectorIndex,o=n.parent;null!=o.parent&&r==o.injectorIndex;)o=o.parent;return o}for(var i=Ve(t),a=e,s=e[Qt];i>1;)s=(a=a[ee])[Qt],i--;return s}(t,this._hostView,this._hostTNode);return Me(t)&&null!=n?new rs(n,e):new vr},enumerable:!0,configurable:!0}),n.prototype.clear=function(){for(;this._lContainer[ye].length;)this.remove(0)},n.prototype.get=function(t){return this._viewRefs[t]||null},Object.defineProperty(n.prototype,"length",{get:function(){return this._lContainer[ye].length},enumerable:!0,configurable:!0}),n.prototype.createEmbeddedView=function(t,e,n){var r=this._adjustIndex(n),o=t.createEmbeddedView(e||{},this._lContainer,this._hostTNode,this._hostView,r);return o.attachToViewContainerRef(this),this._viewRefs.splice(r,0,o),o},n.prototype.createComponent=function(t,e,n,r,o){var i=n||this.parentInjector;!o&&i&&(o=i.get(Pr,null));var a=t.create(i,r,void 0,o);return this.insert(a.hostView,e),a},n.prototype.insert=function(t,e){if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n=t._view,r=this._adjustIndex(e);return Gr(n,this._lContainer,this._hostView,r,this._hostTNode.index),Zr(n,!0,so(r,this._lContainer[ye],this._lContainer[ge])),t.attachToViewContainerRef(this),this._viewRefs.splice(r,0,t),t},n.prototype.move=function(t,e){var n=this.indexOf(t);return this.detach(n),this.insert(t,this._adjustIndex(e)),t},n.prototype.indexOf=function(t){return this._viewRefs.indexOf(t)},n.prototype.remove=function(t){var e=this._adjustIndex(t,-1);Yr(this._lContainer,this._hostTNode,e),this._viewRefs.splice(e,1)},n.prototype.detach=function(t){var e=this._adjustIndex(t,-1);return Wr(this._lContainer,e,!!this._hostTNode.detached),this._viewRefs.splice(e,1)[0]||null},n.prototype._adjustIndex=function(t,e){return void 0===e&&(e=0),null==t?this._lContainer[ye].length+e:t},n}(t));var a=o[n.index];if(Ie(a))(i=a)[ve]=-1;else{var s=o[Yt].createComment("");if(Pe(o)){var u=o[Yt],c=Ee(n,o);ro(u,oo(u,c),s,function(t,e){return Mr(t)?t.nextSibling(e):e.nextSibling}(u,c))}else io(s,n,o);o[n.index]=i=ra(a,n,o,s,!0),ya(o,n.index,i)}return new $a(i,n,o)}(t,e,sn(),yn())},Rd=sr,Ad=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return Dd()},t}(),Nd=function(){return os(sn(),yn(),null)},Dd=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]},Md=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e}(Ad),Fd=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e}(Md),Vd=function(){return function(t,e){this.name=t,this.callback=e}}(),Ld=function(){function t(t,e,n){this.nativeNode=t,this._debugContext=n,this.listeners=[],this.parent=null,e&&e instanceof Ud&&e.addChild(this)}return Object.defineProperty(t.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),t}(),Ud=function(t){function e(e,n,r){var o=t.call(this,e,n,r)||this;return o.properties={},o.attributes={},o.classes={},o.styles={},o.childNodes=[],o.nativeElement=e,o}return Object(r.__extends)(e,t),e.prototype.addChild=function(t){t&&(this.childNodes.push(t),t.parent=this)},e.prototype.removeChild=function(t){var e=this.childNodes.indexOf(t);-1!==e&&(t.parent=null,this.childNodes.splice(e,1))},e.prototype.insertChildrenAfter=function(t,e){var n,o=this,i=this.childNodes.indexOf(t);-1!==i&&((n=this.childNodes).splice.apply(n,Object(r.__spread)([i+1,0],e)),e.forEach(function(t){t.parent&&t.parent.removeChild(t),t.parent=o}))},e.prototype.insertBefore=function(t,e){var n=this.childNodes.indexOf(t);-1===n?this.addChild(e):(e.parent&&e.parent.removeChild(e),e.parent=this,this.childNodes.splice(n,0,e))},e.prototype.query=function(t){return this.queryAll(t)[0]||null},e.prototype.queryAll=function(t){var e=[];return function t(e,n,r){e.childNodes.forEach(function(e){e instanceof Ud&&(n(e)&&r.push(e),t(e,n,r))})}(this,t,e),e},e.prototype.queryAllNodes=function(t){var e=[];return function t(e,n,r){e instanceof Ud&&e.childNodes.forEach(function(e){n(e)&&r.push(e),e instanceof Ud&&t(e,n,r)})}(this,t,e),e},Object.defineProperty(e.prototype,"children",{get:function(){return this.childNodes.filter(function(t){return t instanceof e})},enumerable:!0,configurable:!0}),e.prototype.triggerEventHandler=function(t,e){this.listeners.forEach(function(n){n.name==t&&n.callback(e)})},e}(Ld);function Hd(t){return t.map(function(t){return t.nativeElement})}var Bd=new Map;function zd(t){return Bd.get(t)||null}function qd(t){Bd.set(t.nativeNode,t)}var Qd=function(){function t(){}return t.prototype.supports=function(t){return de(t)},t.prototype.create=function(t){return new Zd(t)},t}(),Kd=function(t,e){return e},Zd=function(){function t(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||Kd}return t.prototype.forEachItem=function(t){var e;for(e=this._itHead;null!==e;e=e._next)t(e)},t.prototype.forEachOperation=function(t){for(var e=this._itHead,n=this._removalsHead,r=0,o=null;e||n;){var i=!n||e&&e.currentIndex<Jd(n,r,o)?e:n,a=Jd(i,r,o),s=i.currentIndex;if(i===n)r--,n=n._nextRemoved;else if(e=e._next,null==i.previousIndex)r++;else{o||(o=[]);var u=a-r,c=s-r;if(u!=c){for(var l=0;l<u;l++){var f=l<o.length?o[l]:o[l]=0,p=f+l;c<=p&&p<u&&(o[l]=f+1)}o[i.previousIndex]=c-u}}a!==s&&t(i,a,s)}},t.prototype.forEachPreviousItem=function(t){var e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)},t.prototype.forEachAddedItem=function(t){var e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)},t.prototype.forEachMovedItem=function(t){var e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)},t.prototype.forEachRemovedItem=function(t){var e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)},t.prototype.forEachIdentityChange=function(t){var e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)},t.prototype.diff=function(t){if(null==t&&(t=[]),!de(t))throw new Error("Error trying to diff '"+nt(t)+"'. Only arrays and iterables are allowed");return this.check(t)?this:null},t.prototype.onDestroy=function(){},t.prototype.check=function(t){var e=this;this._reset();var n,r,o,i=this._itHead,a=!1;if(Array.isArray(t)){this.length=t.length;for(var s=0;s<this.length;s++)o=this._trackByFn(s,r=t[s]),null!==i&&et(i.trackById,o)?(a&&(i=this._verifyReinsertion(i,r,o,s)),et(i.item,r)||this._addIdentityChange(i,r)):(i=this._mismatch(i,r,o,s),a=!0),i=i._next}else n=0,function(t,e){if(Array.isArray(t))for(var n=0;n<t.length;n++)e(t[n]);else for(var r=t[X()](),o=void 0;!(o=r.next()).done;)e(o.value)}(t,function(t){o=e._trackByFn(n,t),null!==i&&et(i.trackById,o)?(a&&(i=e._verifyReinsertion(i,t,o,n)),et(i.item,t)||e._addIdentityChange(i,t)):(i=e._mismatch(i,t,o,n),a=!0),i=i._next,n++}),this.length=n;return this._truncate(i),this.collection=t,this.isDirty},Object.defineProperty(t.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead},enumerable:!0,configurable:!0}),t.prototype._reset=function(){if(this.isDirty){var t=void 0,e=void 0;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}},t.prototype._mismatch=function(t,e,n,r){var o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(et(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,o,r)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(et(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,o,r)):t=this._addAfter(new Gd(e,n),o,r),t},t.prototype._verifyReinsertion=function(t,e,n,r){var o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==o?t=this._reinsertAfter(o,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t},t.prototype._truncate=function(t){for(;null!==t;){var 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)},t.prototype._reinsertAfter=function(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);var r=t._prevRemoved,o=t._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(t,e,n),this._addToMoves(t,n),t},t.prototype._moveAfter=function(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t},t.prototype._addAfter=function(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t},t.prototype._insertAfter=function(t,e,n){var r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new Yd),this._linkedRecords.put(t),t.currentIndex=n,t},t.prototype._remove=function(t){return this._addToRemovals(this._unlink(t))},t.prototype._unlink=function(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);var e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t},t.prototype._addToMoves=function(t,e){return t.previousIndex===e?t:(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t,t)},t.prototype._addToRemovals=function(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Yd),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},t.prototype._addIdentityChange=function(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t},t}(),Gd=function(){return function(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}}(),Wd=function(){function t(){this._head=null,this._tail=null}return t.prototype.add=function(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)},t.prototype.get=function(t,e){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&et(n.trackById,t))return n;return null},t.prototype.remove=function(t){var 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},t}(),Yd=function(){function t(){this.map=new Map}return t.prototype.put=function(t){var e=t.trackById,n=this.map.get(e);n||(n=new Wd,this.map.set(e,n)),n.add(t)},t.prototype.get=function(t,e){var n=this.map.get(t);return n?n.get(t,e):null},t.prototype.remove=function(t){var e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t},Object.defineProperty(t.prototype,"isEmpty",{get:function(){return 0===this.map.size},enumerable:!0,configurable:!0}),t.prototype.clear=function(){this.map.clear()},t}();function Jd(t,e,n){var r=t.previousIndex;if(null===r)return r;var o=0;return n&&r<n.length&&(o=n[r]),r+e+o}var $d=function(){function t(){}return t.prototype.supports=function(t){return t instanceof Map||he(t)},t.prototype.create=function(){return new Xd},t}(),Xd=function(){function t(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}return Object.defineProperty(t.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead},enumerable:!0,configurable:!0}),t.prototype.forEachItem=function(t){var e;for(e=this._mapHead;null!==e;e=e._next)t(e)},t.prototype.forEachPreviousItem=function(t){var e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)},t.prototype.forEachChangedItem=function(t){var e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)},t.prototype.forEachAddedItem=function(t){var e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)},t.prototype.forEachRemovedItem=function(t){var e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)},t.prototype.diff=function(t){if(t){if(!(t instanceof Map||he(t)))throw new Error("Error trying to diff '"+nt(t)+"'. Only maps and objects are allowed")}else t=new Map;return this.check(t)?this:null},t.prototype.onDestroy=function(){},t.prototype.check=function(t){var e=this;this._reset();var n=this._mapHead;if(this._appendAfter=null,this._forEach(t,function(t,r){if(n&&n.key===r)e._maybeAddToChanges(n,t),e._appendAfter=n,n=n._next;else{var o=e._getOrCreateRecordForKey(r,t);n=e._insertBeforeOrAppend(n,o)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(var r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty},t.prototype._insertBeforeOrAppend=function(t,e){if(t){var 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},t.prototype._getOrCreateRecordForKey=function(t,e){if(this._records.has(t)){var n=this._records.get(t);this._maybeAddToChanges(n,e);var r=n._prev,o=n._next;return r&&(r._next=o),o&&(o._prev=r),n._next=null,n._prev=null,n}var i=new th(t);return this._records.set(t,i),i.currentValue=e,this._addToAdditions(i),i},t.prototype._reset=function(){if(this.isDirty){var t=void 0;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}},t.prototype._maybeAddToChanges=function(t,e){et(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))},t.prototype._addToAdditions=function(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)},t.prototype._addToChanges=function(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)},t.prototype._forEach=function(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(function(n){return e(t[n],n)})},t}(),th=function(){return function(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}}(),eh=function(){function t(t){this.factories=t}return t.create=function(e,n){if(null!=n){var r=n.factories.slice();e=e.concat(r)}return new t(e)},t.extend=function(e){return{provide:t,useFactory:function(n){if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return t.create(e,n)},deps:[[t,new St,new wt]]}},t.prototype.find=function(t){var e,n=this.factories.find(function(e){return e.supports(t)});if(null!=n)return n;throw new Error("Cannot find a differ supporting object '"+t+"' of type '"+((e=t).name||typeof e)+"'")},t.ngInjectableDef=w({providedIn:"root",factory:function(){return new t([new Qd])}}),t}(),nh=function(){function t(t){this.factories=t}return t.create=function(e,n){if(n){var r=n.factories.slice();e=e.concat(r)}return new t(e)},t.extend=function(e){return{provide:t,useFactory:function(n){if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return t.create(e,n)},deps:[[t,new St,new wt]]}},t.prototype.find=function(t){var e=this.factories.find(function(e){return e.supports(t)});if(e)return e;throw new Error("Cannot find a differ supporting object '"+t+"'")},t.ngInjectableDef=w({providedIn:"root",factory:function(){return new t([new $d])}}),t}(),rh=[new $d],oh=new eh([new Qd]),ih=new nh(rh),ah=dd(null,"core",[{provide:kp,useValue:"unknown"},{provide:gd,deps:[yr]},{provide:id,deps:[]},{provide:Rp,deps:[]}]),sh=new O("LocaleId"),uh=new O("Translations"),ch=new O("TranslationsFormat"),lh=function(t){return t[t.Error=0]="Error",t[t.Warning=1]="Warning",t[t.Ignore=2]="Ignore",t}({});function fh(){return oh}function ph(){return ih}function dh(t){return t||"en-US"}var hh=[{provide:_d,useClass:_d,deps:[Jp,Rp,yr,tp,ru,Sp]},{provide:Sp,useClass:Sp,deps:[[new wt,Cp]]},{provide:Fp,useClass:Fp,deps:[]},xp,{provide:eh,useFactory:fh,deps:[]},{provide:nh,useFactory:ph,deps:[]},{provide:sh,useFactory:dh,deps:[[new bt(sh),new wt,new St]]}],vh=function(){return function(t){}}(),yh=!0,gh=!1;function mh(t,e,n){var r=t.state,o=1792&r;return o===e?(t.state=-1793&r|n,t.initIndex=-1,!0):o===n}function _h(t,e,n){return(1792&t.state)===e&&t.initIndex<=n&&(t.initIndex=n+1,!0)}function bh(t,e){return t.nodes[e]}function wh(t,e){return t.nodes[e]}function Ch(t,e){return t.nodes[e]}function Sh(t,e){return t.nodes[e]}function Eh(t,e){return t.nodes[e]}var Oh=function(){return function(){}}(),xh={setCurrentNode:void 0,createRootView:void 0,createEmbeddedView:void 0,createComponentView:void 0,createNgModuleRef:void 0,overrideProvider:void 0,overrideComponentView:void 0,clearOverrides:void 0,checkAndUpdateView:void 0,checkNoChangesView:void 0,destroyView:void 0,resolveDep:void 0,createDebugContext:void 0,handleEvent:void 0,updateDirectives:void 0,updateRenderer:void 0,dirtyParentQueries:void 0};function Th(t,e,n,r){var o="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+e+"'. Current value: '"+n+"'.";return r&&(o+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),function(t,e){var n=new Error(t);return jh(n,e),n}(o,t)}function jh(t,e){t[Gf]=e,t[Yf]=e.logError.bind(e)}function kh(t){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+t)}var Ih=function(){},Ph=new Map;function Rh(t){var e=Ph.get(t);return e||(e=nt(t)+"_"+Ph.size,Ph.set(t,e)),e}function Ah(t,e,n,r){if(fe.isWrapped(r)){r=fe.unwrap(r);var o=t.def.nodes[e].bindingIndex+n,i=fe.unwrap(t.oldValues[o]);t.oldValues[o]=new fe(i)}return r}var Nh="$$undefined",Dh="$$empty";function Mh(t){return{id:Nh,styles:t.styles,encapsulation:t.encapsulation,data:t.data}}var Fh=0;function Vh(t,e,n,r){return!(!(2&t.state)&&et(t.oldValues[e.bindingIndex+n],r))}function Lh(t,e,n,r){return!!Vh(t,e,n,r)&&(t.oldValues[e.bindingIndex+n]=r,!0)}function Uh(t,e,n,r){var o=t.oldValues[e.bindingIndex+n];if(1&t.state||!le(o,r)){var i=e.bindings[n].name;throw Th(xh.createDebugContext(t,e.nodeIndex),i+": "+o,i+": "+r,0!=(1&t.state))}}function Hh(t){for(var e=t;e;)2&e.def.flags&&(e.state|=8),e=e.viewContainerParent||e.parent}function Bh(t,e){for(var n=t;n&&n!==e;)n.state|=64,n=n.viewContainerParent||n.parent}function zh(t,e,n,r){try{return Hh(33554432&t.def.nodes[e].flags?wh(t,e).componentView:t),xh.handleEvent(t,e,n,r)}catch(o){t.root.errorHandler.handleError(o)}}function qh(t){return t.parent?wh(t.parent,t.parentNodeDef.nodeIndex):null}function Qh(t){return t.parent?t.parentNodeDef.parent:null}function Kh(t,e){switch(201347067&e.flags){case 1:return wh(t,e.nodeIndex).renderElement;case 2:return bh(t,e.nodeIndex).renderText}}function Zh(t,e){return t?t+":"+e:e}function Gh(t){return!!t.parent&&!!(32768&t.parentNodeDef.flags)}function Wh(t){return!(!t.parent||32768&t.parentNodeDef.flags)}function Yh(t){return 1<<t%32}function Jh(t){var e={},n=0,o={};return t&&t.forEach(function(t){var i=Object(r.__read)(t,2),a=i[0],s=i[1];"number"==typeof a?(e[a]=s,n|=Yh(a)):o[a]=s}),{matchedQueries:e,references:o,matchedQueryIds:n}}function $h(t,e){return t.map(function(t){var n,o,i;return Array.isArray(t)?(i=(n=Object(r.__read)(t,2))[0],o=n[1]):(i=0,o=t),o&&("function"==typeof o||"object"==typeof o)&&e&&Object.defineProperty(o,fr,{value:e,configurable:!0}),{flags:i,token:o,tokenKey:Rh(o)}})}function Xh(t,e,n){var r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&r.element.componentRendererType.encapsulation===Z.Native?wh(t,n.renderParent.nodeIndex).renderElement:void 0:e}var tv=new WeakMap;function ev(t){var e=tv.get(t);return e||((e=t(function(){return Ih})).factory=t,tv.set(t,e)),e}function nv(t,e,n,r,o){3===e&&(n=t.renderer.parentNode(Kh(t,t.def.lastRenderRootNode))),rv(t,e,0,t.def.nodes.length-1,n,r,o)}function rv(t,e,n,r,o,i,a){for(var s=n;s<=r;s++){var u=t.def.nodes[s];11&u.flags&&iv(t,u,e,o,i,a),s+=u.childCount}}function ov(t,e,n,r,o,i){for(var a=t;a&&!Gh(a);)a=a.parent;for(var s=a.parent,u=Qh(a),c=u.nodeIndex+u.childCount,l=u.nodeIndex+1;l<=c;l++){var f=s.def.nodes[l];f.ngContentIndex===e&&iv(s,f,n,r,o,i),l+=f.childCount}if(!s.parent){var p=t.root.projectableNodes[e];if(p)for(l=0;l<p.length;l++)av(t,p[l],n,r,o,i)}}function iv(t,e,n,r,o,i){if(8&e.flags)ov(t,e.ngContent.index,n,r,o,i);else{var a=Kh(t,e);if(3===n&&33554432&e.flags&&48&e.bindingFlags?(16&e.bindingFlags&&av(t,a,n,r,o,i),32&e.bindingFlags&&av(wh(t,e.nodeIndex).componentView,a,n,r,o,i)):av(t,a,n,r,o,i),16777216&e.flags)for(var s=wh(t,e.nodeIndex).viewContainer._embeddedViews,u=0;u<s.length;u++)nv(s[u],n,r,o,i);1&e.flags&&!e.element.name&&rv(t,n,e.nodeIndex+1,e.nodeIndex+e.childCount,r,o,i)}}function av(t,e,n,r,o,i){var a=t.renderer;switch(n){case 1:a.appendChild(r,e);break;case 2:a.insertBefore(r,e,o);break;case 3:a.removeChild(r,e);break;case 0:i.push(e)}}var sv=/^:([^:]+):(.+)$/;function uv(t){if(":"===t[0]){var e=t.match(sv);return[e[1],e[2]]}return["",t]}function cv(t){for(var e=0,n=0;n<t.length;n++)e|=t[n].flags;return e}function lv(t,e){for(var n="",r=0;r<2*t;r+=2)n=n+e[r]+pv(e[r+1]);return n+e[2*t]}function fv(t,e,n,r,o,i,a,s,u,c,l,f,p,d,h,v,y,g,m,_){switch(t){case 1:return e+pv(n)+r;case 2:return e+pv(n)+r+pv(o)+i;case 3:return e+pv(n)+r+pv(o)+i+pv(a)+s;case 4:return e+pv(n)+r+pv(o)+i+pv(a)+s+pv(u)+c;case 5:return e+pv(n)+r+pv(o)+i+pv(a)+s+pv(u)+c+pv(l)+f;case 6:return e+pv(n)+r+pv(o)+i+pv(a)+s+pv(u)+c+pv(l)+f+pv(p)+d;case 7:return e+pv(n)+r+pv(o)+i+pv(a)+s+pv(u)+c+pv(l)+f+pv(p)+d+pv(h)+v;case 8:return e+pv(n)+r+pv(o)+i+pv(a)+s+pv(u)+c+pv(l)+f+pv(p)+d+pv(h)+v+pv(y)+g;case 9:return e+pv(n)+r+pv(o)+i+pv(a)+s+pv(u)+c+pv(l)+f+pv(p)+d+pv(h)+v+pv(y)+g+pv(m)+_;default:throw new Error("Does not support more than 9 expressions")}}function pv(t){return null!=t?t.toString():""}var dv=[],hv={};function vv(t,e,n,r,o,i){t|=1;var a=Jh(e);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:t,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:a.matchedQueries,matchedQueryIds:a.matchedQueryIds,references:a.references,ngContentIndex:n,childCount:r,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:i?ev(i):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:o||Ih},provider:null,text:null,query:null,ngContent:null}}function yv(t,e,n,o,i,a,s,u,c,l,f,p){var d;void 0===s&&(s=[]),l||(l=Ih);var h=Jh(n),v=h.matchedQueries,y=h.references,g=h.matchedQueryIds,m=null,_=null;a&&(m=(d=Object(r.__read)(uv(a),2))[0],_=d[1]),u=u||[];for(var b=new Array(u.length),w=0;w<u.length;w++){var C=Object(r.__read)(u[w],3),S=C[0],E=C[1],O=C[2],x=Object(r.__read)(uv(E),2),T=x[0],j=x[1],k=void 0,I=void 0;switch(15&S){case 4:I=O;break;case 1:case 8:k=O}b[w]={flags:S,ns:T,name:j,nonMinifiedName:j,securityContext:k,suffix:I}}c=c||[];var P=new Array(c.length);for(w=0;w<c.length;w++){var R=Object(r.__read)(c[w],2);P[w]={type:0,target:R[0],eventName:R[1],propName:null}}var A=(s=s||[]).map(function(t){var e=Object(r.__read)(t,2),n=e[0],o=e[1],i=Object(r.__read)(uv(n),2);return[i[0],i[1],o]});return p=function(t){if(t&&t.id===Nh){var e=null!=t.encapsulation&&t.encapsulation!==Z.None||t.styles.length||Object.keys(t.data).length;t.id=e?"c"+Fh++:Dh}return t&&t.id===Dh&&(t=null),t||null}(p),f&&(e|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:v,matchedQueryIds:g,references:y,ngContentIndex:o,childCount:i,bindings:b,bindingFlags:cv(b),outputs:P,element:{ns:m,name:_,attrs:A,template:null,componentProvider:null,componentView:f||null,componentRendererType:p,publicProviders:null,allProviders:null,handleEvent:l||Ih},provider:null,text:null,query:null,ngContent:null}}function gv(t,e,n){var o,i=n.element,a=t.root.selectorOrNode,s=t.renderer;if(t.parent||!a){o=i.name?s.createElement(i.name,i.ns):s.createComment("");var u=Xh(t,e,n);u&&s.appendChild(u,o)}else o=s.selectRootElement(a,!!i.componentRendererType&&i.componentRendererType.encapsulation===Z.ShadowDom);if(i.attrs)for(var c=0;c<i.attrs.length;c++){var l=Object(r.__read)(i.attrs[c],3);s.setAttribute(o,l[1],l[2],l[0])}return o}function mv(t,e,n,r){for(var o=0;o<n.outputs.length;o++){var i=n.outputs[o],a=_v(t,n.nodeIndex,Zh(i.target,i.eventName)),s=i.target,u=t;"component"===i.target&&(s=null,u=e);var c=u.renderer.listen(s||r,i.eventName,a);t.disposables[n.outputIndex+o]=c}}function _v(t,e,n){return function(r){return zh(t,e,n,r)}}function bv(t,e,n,r){if(!Lh(t,e,n,r))return!1;var o=e.bindings[n],i=wh(t,e.nodeIndex),a=i.renderElement,s=o.name;switch(15&o.flags){case 1:!function(t,e,n,r,o,i){var a=e.securityContext,s=a?t.root.sanitizer.sanitize(a,i):i;s=null!=s?s.toString():null;var u=t.renderer;null!=i?u.setAttribute(n,o,s,r):u.removeAttribute(n,o,r)}(t,o,a,o.ns,s,r);break;case 2:!function(t,e,n,r){var o=t.renderer;r?o.addClass(e,n):o.removeClass(e,n)}(t,a,s,r);break;case 4:!function(t,e,n,r,o){var i=t.root.sanitizer.sanitize(Al.STYLE,o);if(null!=i){i=i.toString();var a=e.suffix;null!=a&&(i+=a)}else i=null;var s=t.renderer;null!=i?s.setStyle(n,r,i):s.removeStyle(n,r)}(t,o,a,s,r);break;case 8:!function(t,e,n,r,o){var i=e.securityContext,a=i?t.root.sanitizer.sanitize(i,o):o;t.renderer.setProperty(n,r,a)}(33554432&e.flags&&32&o.flags?i.componentView:t,o,a,s,r)}return!0}var wv=new Object,Cv=Rh(yr),Sv=Rh(hr),Ev=Rh(Pr);function Ov(t,e,n,r){return n=lr(n),{index:-1,deps:$h(r,nt(e)),flags:t,token:e,value:n}}function xv(t){for(var e={},n=[],r=!1,o=0;o<t.length;o++){var i=t[o];i.token===Ps&&!0===i.value&&(r=!0),1073741824&i.flags&&n.push(i.token),i.index=o,e[Rh(i.token)]=i}return{factory:null,providersByKey:e,providers:t,modules:n,isRoot:r}}function Tv(t,e,n){void 0===n&&(n=yr.THROW_IF_NOT_FOUND);var r,o,i=xt(t);try{if(8&e.flags)return e.token;if(2&e.flags&&(n=null),1&e.flags)return t._parent.get(e.token,n);var a=e.tokenKey;switch(a){case Cv:case Sv:case Ev:return t}var s,u=t._def.providersByKey[a];if(u){var c=t._providers[u.index];return void 0===c&&(c=t._providers[u.index]=jv(t,u)),c===wv?void 0:c}if((s=S(e.token))&&(r=t,null!=(o=s).providedIn&&(function(t,e){return t._def.modules.indexOf(o.providedIn)>-1}(r)||"root"===o.providedIn&&r._def.isRoot))){var l=t._providers.length;return t._def.providersByKey[e.tokenKey]={flags:5120,value:s.factory,deps:[],index:l,token:e.token},t._providers[l]=wv,t._providers[l]=jv(t,t._def.providersByKey[e.tokenKey])}return 4&e.flags?n:t._parent.get(e.token,n)}finally{xt(i)}}function jv(t,e){var n;switch(201347067&e.flags){case 512:n=function(t,e,n){var o=n.length;switch(o){case 0:return new e;case 1:return new e(Tv(t,n[0]));case 2:return new e(Tv(t,n[0]),Tv(t,n[1]));case 3:return new e(Tv(t,n[0]),Tv(t,n[1]),Tv(t,n[2]));default:for(var i=new Array(o),a=0;a<o;a++)i[a]=Tv(t,n[a]);return new(e.bind.apply(e,Object(r.__spread)([void 0],i)))}}(t,e.value,e.deps);break;case 1024:n=function(t,e,n){var o=n.length;switch(o){case 0:return e();case 1:return e(Tv(t,n[0]));case 2:return e(Tv(t,n[0]),Tv(t,n[1]));case 3:return e(Tv(t,n[0]),Tv(t,n[1]),Tv(t,n[2]));default:for(var i=Array(o),a=0;a<o;a++)i[a]=Tv(t,n[a]);return e.apply(void 0,Object(r.__spread)(i))}}(t,e.value,e.deps);break;case 2048:n=Tv(t,e.deps[0]);break;case 256:n=e.value}return n===wv||null==n||"object"!=typeof n||131072&e.flags||"function"!=typeof n.ngOnDestroy||(e.flags|=131072),void 0===n?wv:n}function kv(t,e){var n=t.viewContainer._embeddedViews;if((null==e||e>=n.length)&&(e=n.length-1),e<0)return null;var r=n[e];return r.viewContainerParent=null,Av(n,e),xh.dirtyParentQueries(r),Pv(r),r}function Iv(t,e,n){var r=e?Kh(e,e.def.lastRenderRootNode):t.renderElement,o=n.renderer.parentNode(r),i=n.renderer.nextSibling(r);nv(n,2,o,i,void 0)}function Pv(t){nv(t,3,null,null,void 0)}function Rv(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Av(t,e){e>=t.length-1?t.pop():t.splice(e,1)}var Nv=new Object;function Dv(t,e,n,r,o,i){return new Fv(t,e,n,r,o,i)}function Mv(t){return t.viewDefFactory}var Fv=function(t){function e(e,n,r,o,i,a){var s=t.call(this)||this;return s.selector=e,s.componentType=n,s._inputs=o,s._outputs=i,s.ngContentSelectors=a,s.viewDefFactory=r,s}return Object(r.__extends)(e,t),Object.defineProperty(e.prototype,"inputs",{get:function(){var t=[],e=this._inputs;for(var n in e)t.push({propName:n,templateName:e[n]});return t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputs",{get:function(){var t=[];for(var e in this._outputs)t.push({propName:e,templateName:this._outputs[e]});return t},enumerable:!0,configurable:!0}),e.prototype.create=function(t,e,n,r){if(!r)throw new Error("ngModule should be provided");var o=ev(this.viewDefFactory),i=o.nodes[0].element.componentProvider.nodeIndex,a=xh.createRootView(t,e||[],n,o,r,Nv),s=Ch(a,i).instance;return n&&a.renderer.setAttribute(wh(a,0).renderElement,"ng-version",_u.full),new Vv(a,new Bv(a),s)},e}(Xs),Vv=function(t){function e(e,n,r){var o=t.call(this)||this;return o._view=e,o._viewRef=n,o._component=r,o._elDef=o._view.def.nodes[0],o.hostView=n,o.changeDetectorRef=n,o.instance=r,o}return Object(r.__extends)(e,t),Object.defineProperty(e.prototype,"location",{get:function(){return new au(wh(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new Kv(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this._viewRef.destroy()},e.prototype.onDestroy=function(t){this._viewRef.onDestroy(t)},e}($s);function Lv(t,e,n){return new Uv(t,e,n)}var Uv=function(){function t(t,e,n){this._view=t,this._elDef=e,this._data=n,this._embeddedViews=[]}return Object.defineProperty(t.prototype,"element",{get:function(){return new au(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new Kv(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentInjector",{get:function(){for(var t=this._view,e=this._elDef.parent;!e&&t;)e=Qh(t),t=t.parent;return t?new Kv(t,e):new Kv(this._view,null)},enumerable:!0,configurable:!0}),t.prototype.clear=function(){for(var t=this._embeddedViews.length-1;t>=0;t--){var e=kv(this._data,t);xh.destroyView(e)}},t.prototype.get=function(t){var e=this._embeddedViews[t];if(e){var n=new Bv(e);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(t.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),t.prototype.createEmbeddedView=function(t,e,n){var r=t.createEmbeddedView(e||{});return this.insert(r,n),r},t.prototype.createComponent=function(t,e,n,r,o){var i=n||this.parentInjector;o||t instanceof iu||(o=i.get(Pr));var a=t.create(i,r,void 0,o);return this.insert(a.hostView,e),a},t.prototype.insert=function(t,e){if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n,r,o,i,a=t;return i=(n=this._data).viewContainer._embeddedViews,null==(r=e)&&(r=i.length),(o=a._view).viewContainerParent=this._view,Rv(i,r,o),function(t,e){var n=qh(e);if(n&&n!==t&&!(16&e.state)){e.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(e),function(t,n){if(!(4&n.flags)){e.parent.def.nodeFlags|=4,n.flags|=4;for(var r=n.parent;r;)r.childFlags|=4,r=r.parent}}(0,e.parentNodeDef)}}(n,o),xh.dirtyParentQueries(o),Iv(n,r>0?i[r-1]:null,o),a.attachToViewContainerRef(this),t},t.prototype.move=function(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n,r,o,i,a,s=this._embeddedViews.indexOf(t._view);return o=e,a=(i=(n=this._data).viewContainer._embeddedViews)[r=s],Av(i,r),null==o&&(o=i.length),Rv(i,o,a),xh.dirtyParentQueries(a),Pv(a),Iv(n,o>0?i[o-1]:null,a),t},t.prototype.indexOf=function(t){return this._embeddedViews.indexOf(t._view)},t.prototype.remove=function(t){var e=kv(this._data,t);e&&xh.destroyView(e)},t.prototype.detach=function(t){var e=kv(this._data,t);return e?new Bv(e):null},t}();function Hv(t){return new Bv(t)}var Bv=function(){function t(t){this._view=t,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(t.prototype,"rootNodes",{get:function(){return nv(this._view,0,void 0,void 0,t=[]),t;var t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),t.prototype.markForCheck=function(){Hh(this._view)},t.prototype.detach=function(){this._view.state&=-5},t.prototype.detectChanges=function(){var t=this._view.root.rendererFactory;t.begin&&t.begin();try{xh.checkAndUpdateView(this._view)}finally{t.end&&t.end()}},t.prototype.checkNoChanges=function(){xh.checkNoChangesView(this._view)},t.prototype.reattach=function(){this._view.state|=4},t.prototype.onDestroy=function(t){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(t)},t.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),xh.destroyView(this._view)},t.prototype.detachFromAppRef=function(){this._appRef=null,Pv(this._view),xh.dirtyParentQueries(this._view)},t.prototype.attachToAppRef=function(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t},t.prototype.attachToViewContainerRef=function(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t},t}();function zv(t,e){return new qv(t,e)}var qv=function(t){function e(e,n){var r=t.call(this)||this;return r._parentView=e,r._def=n,r}return Object(r.__extends)(e,t),e.prototype.createEmbeddedView=function(t){return new Bv(xh.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))},Object.defineProperty(e.prototype,"elementRef",{get:function(){return new au(wh(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),e}(il);function Qv(t,e){return new Kv(t,e)}var Kv=function(){function t(t,e){this.view=t,this.elDef=e}return t.prototype.get=function(t,e){return void 0===e&&(e=yr.THROW_IF_NOT_FOUND),xh.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:t,tokenKey:Rh(t)},e)},t}();function Zv(t,e){var n=t.def.nodes[e];if(1&n.flags){var r=wh(t,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return bh(t,n.nodeIndex).renderText;if(20240&n.flags)return Ch(t,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+e)}function Gv(t){return new Wv(t.renderer)}var Wv=function(){function t(t){this.delegate=t}return t.prototype.selectRootElement=function(t){return this.delegate.selectRootElement(t)},t.prototype.createElement=function(t,e){var n=Object(r.__read)(uv(e),2),o=this.delegate.createElement(n[1],n[0]);return t&&this.delegate.appendChild(t,o),o},t.prototype.createViewRoot=function(t){return t},t.prototype.createTemplateAnchor=function(t){var e=this.delegate.createComment("");return t&&this.delegate.appendChild(t,e),e},t.prototype.createText=function(t,e){var n=this.delegate.createText(e);return t&&this.delegate.appendChild(t,n),n},t.prototype.projectNodes=function(t,e){for(var n=0;n<e.length;n++)this.delegate.appendChild(t,e[n])},t.prototype.attachViewAfter=function(t,e){for(var n=this.delegate.parentNode(t),r=this.delegate.nextSibling(t),o=0;o<e.length;o++)this.delegate.insertBefore(n,e[o],r)},t.prototype.detachView=function(t){for(var e=0;e<t.length;e++){var n=t[e],r=this.delegate.parentNode(n);this.delegate.removeChild(r,n)}},t.prototype.destroyView=function(t,e){for(var n=0;n<e.length;n++)this.delegate.destroyNode(e[n])},t.prototype.listen=function(t,e,n){return this.delegate.listen(t,e,n)},t.prototype.listenGlobal=function(t,e,n){return this.delegate.listen(t,e,n)},t.prototype.setElementProperty=function(t,e,n){this.delegate.setProperty(t,e,n)},t.prototype.setElementAttribute=function(t,e,n){var o=Object(r.__read)(uv(e),2),i=o[0],a=o[1];null!=n?this.delegate.setAttribute(t,a,n,i):this.delegate.removeAttribute(t,a,i)},t.prototype.setBindingDebugInfo=function(t,e,n){},t.prototype.setElementClass=function(t,e,n){n?this.delegate.addClass(t,e):this.delegate.removeClass(t,e)},t.prototype.setElementStyle=function(t,e,n){null!=n?this.delegate.setStyle(t,e,n):this.delegate.removeStyle(t,e)},t.prototype.invokeElementMethod=function(t,e,n){t[e].apply(t,n)},t.prototype.setText=function(t,e){this.delegate.setValue(t,e)},t.prototype.animate=function(){throw new Error("Renderer.animate is no longer supported!")},t}();function Yv(t,e,n,r){return new Jv(t,e,n,r)}var Jv=function(){function t(t,e,n,r){this._moduleType=t,this._parent=e,this._bootstrapComponents=n,this._def=r,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(t){for(var e=t._def,n=t._providers=new Array(e.providers.length),r=0;r<e.providers.length;r++){var o=e.providers[r];4096&o.flags||void 0===n[r]&&(n[r]=jv(t,o))}}(this)}return t.prototype.get=function(t,e,n){void 0===e&&(e=yr.THROW_IF_NOT_FOUND),void 0===n&&(n=0);var r=0;return 4&n?r|=1:2&n&&(r|=4),Tv(this,{token:t,tokenKey:Rh(t),flags:r},e)},Object.defineProperty(t.prototype,"instance",{get:function(){return this.get(this._moduleType)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentFactoryResolver",{get:function(){return this.get(ru)},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The ng module "+nt(this.instance.constructor)+" has already been destroyed.");this._destroyed=!0,function(t,e){for(var n=t._def,r=new Set,o=0;o<n.providers.length;o++)if(131072&n.providers[o].flags){var i=t._providers[o];if(i&&i!==wv){var a=i.ngOnDestroy;"function"!=typeof a||r.has(i)||(a.apply(i),r.add(i))}}}(this),this._destroyListeners.forEach(function(t){return t()})},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},t}(),$v=Rh(fu),Xv=Rh(vu),ty=Rh(au),ey=Rh(Id),ny=Rh(il),ry=Rh(Ad),oy=Rh(yr),iy=Rh(hr);function ay(t,e,n,o,i,a,s,u){var c=[];if(s)for(var l in s){var f=Object(r.__read)(s[l],2);c[f[0]]={flags:8,name:l,nonMinifiedName:f[1],ns:null,securityContext:null,suffix:null}}var p=[];if(u)for(var d in u)p.push({type:1,propName:d,target:null,eventName:u[d]});return cy(t,e|=16384,n,o,i,i,a,c,p)}function sy(t,e,n){return cy(-1,t|=16,null,0,e,e,n)}function uy(t,e,n,r,o){return cy(-1,t,e,0,n,r,o)}function cy(t,e,n,r,o,i,a,s,u){var c=Jh(n),l=c.matchedQueries,f=c.references,p=c.matchedQueryIds;u||(u=[]),s||(s=[]),i=lr(i);var d=$h(a,nt(o));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:l,matchedQueryIds:p,references:f,ngContentIndex:-1,childCount:r,bindings:s,bindingFlags:cv(s),outputs:u,element:null,provider:{token:o,value:i,deps:d},text:null,query:null,ngContent:null}}function ly(t,e){return hy(t,e)}function fy(t,e){for(var n=t;n.parent&&!Gh(n);)n=n.parent;return vy(n.parent,Qh(n),!0,e.provider.value,e.provider.deps)}function py(t,e){var n=vy(t,e.parent,(32768&e.flags)>0,e.provider.value,e.provider.deps);if(e.outputs.length)for(var r=0;r<e.outputs.length;r++){var o=e.outputs[r],i=n[o.propName];if(!wp(i))throw new Error("@Output "+o.propName+" not initialized in '"+n.constructor.name+"'.");var a=i.subscribe(dy(t,e.parent.nodeIndex,o.eventName));t.disposables[e.outputIndex+r]=a.unsubscribe.bind(a)}return n}function dy(t,e,n){return function(r){return zh(t,e,n,r)}}function hy(t,e){var n=(8192&e.flags)>0,o=e.provider;switch(201347067&e.flags){case 512:return vy(t,e.parent,n,o.value,o.deps);case 1024:return function(t,e,n,o,i){var a=i.length;switch(a){case 0:return o();case 1:return o(gy(t,e,n,i[0]));case 2:return o(gy(t,e,n,i[0]),gy(t,e,n,i[1]));case 3:return o(gy(t,e,n,i[0]),gy(t,e,n,i[1]),gy(t,e,n,i[2]));default:for(var s=Array(a),u=0;u<a;u++)s[u]=gy(t,e,n,i[u]);return o.apply(void 0,Object(r.__spread)(s))}}(t,e.parent,n,o.value,o.deps);case 2048:return gy(t,e.parent,n,o.deps[0]);case 256:return o.value}}function vy(t,e,n,o,i){var a=i.length;switch(a){case 0:return new o;case 1:return new o(gy(t,e,n,i[0]));case 2:return new o(gy(t,e,n,i[0]),gy(t,e,n,i[1]));case 3:return new o(gy(t,e,n,i[0]),gy(t,e,n,i[1]),gy(t,e,n,i[2]));default:for(var s=new Array(a),u=0;u<a;u++)s[u]=gy(t,e,n,i[u]);return new(o.bind.apply(o,Object(r.__spread)([void 0],s)))}}var yy={};function gy(t,e,n,r,o){if(void 0===o&&(o=yr.THROW_IF_NOT_FOUND),8&r.flags)return r.token;var i=t;2&r.flags&&(o=null);var a=r.tokenKey;a===ry&&(n=!(!e||!e.element.componentView)),e&&1&r.flags&&(n=!1,e=e.parent);for(var s=t;s;){if(e)switch(a){case $v:return Gv(my(s,e,n));case Xv:return my(s,e,n).renderer;case ty:return new au(wh(s,e.nodeIndex).renderElement);case ey:return wh(s,e.nodeIndex).viewContainer;case ny:if(e.element.template)return wh(s,e.nodeIndex).template;break;case ry:return Hv(my(s,e,n));case oy:case iy:return Qv(s,e);default:var u=(n?e.element.allProviders:e.element.publicProviders)[a];if(u){var c=Ch(s,u.nodeIndex);return c||(c={instance:hy(s,u)},s.nodes[u.nodeIndex]=c),c.instance}}n=Gh(s),e=Qh(s),s=s.parent,4&r.flags&&(s=null)}var l=i.root.injector.get(r.token,yy);return l!==yy||o===yy?l:i.root.ngModule.injector.get(r.token,o)}function my(t,e,n){var r;if(n)r=wh(t,e.nodeIndex).componentView;else for(r=t;r.parent&&!Gh(r);)r=r.parent;return r}function _y(t,e,n,r,o,i){if(32768&n.flags){var a=wh(t,n.parent.nodeIndex).componentView;2&a.def.flags&&(a.state|=8)}if(e.instance[n.bindings[r].name]=o,524288&n.flags){i=i||{};var s=fe.unwrap(t.oldValues[n.bindingIndex+r]);i[n.bindings[r].nonMinifiedName]=new pe(s,o,0!=(2&t.state))}return t.oldValues[n.bindingIndex+r]=o,i}function by(t,e){if(t.def.nodeFlags&e)for(var n=t.def.nodes,r=0,o=0;o<n.length;o++){var i=n[o],a=i.parent;for(!a&&i.flags&e&&Cy(t,o,i.flags&e,r++),0==(i.childFlags&e)&&(o+=i.childCount);a&&1&a.flags&&o===a.nodeIndex+a.childCount;)a.directChildFlags&e&&(r=wy(t,a,e,r)),a=a.parent}}function wy(t,e,n,r){for(var o=e.nodeIndex+1;o<=e.nodeIndex+e.childCount;o++){var i=t.def.nodes[o];i.flags&n&&Cy(t,o,i.flags&n,r++),o+=i.childCount}return r}function Cy(t,e,n,r){var o=Ch(t,e);if(o){var i=o.instance;i&&(xh.setCurrentNode(t,e),1048576&n&&_h(t,512,r)&&i.ngAfterContentInit(),2097152&n&&i.ngAfterContentChecked(),4194304&n&&_h(t,768,r)&&i.ngAfterViewInit(),8388608&n&&i.ngAfterViewChecked(),131072&n&&i.ngOnDestroy())}}function Sy(t,e,n){var r=[];for(var o in n)r.push({propName:o,bindingType:n[o]});return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,ngContentIndex:-1,matchedQueries:{},matchedQueryIds:0,references:{},childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:{id:e,filterId:Yh(e),bindings:r},ngContent:null}}function Ey(t){for(var e=t.def.nodeMatchedQueries;t.parent&&Wh(t);){var n=t.parentNodeDef;t=t.parent;for(var r=n.nodeIndex+n.childCount,o=0;o<=r;o++)67108864&(i=t.def.nodes[o]).flags&&536870912&i.flags&&(i.query.filterId&e)===i.query.filterId&&Eh(t,o).setDirty(),!(1&i.flags&&o+i.childCount<n.nodeIndex)&&67108864&i.childFlags&&536870912&i.childFlags||(o+=i.childCount)}if(134217728&t.def.nodeFlags)for(o=0;o<t.def.nodes.length;o++){var i;134217728&(i=t.def.nodes[o]).flags&&536870912&i.flags&&Eh(t,o).setDirty(),o+=i.childCount}}function Oy(t,e){var n=Eh(t,e.nodeIndex);if(n.dirty){var r,o=void 0;if(67108864&e.flags){var i=e.parent.parent;o=xy(t,i.nodeIndex,i.nodeIndex+i.childCount,e.query,[]),r=Ch(t,e.parent.nodeIndex).instance}else 134217728&e.flags&&(o=xy(t,0,t.def.nodes.length-1,e.query,[]),r=t.component);n.reset(o);for(var a=e.query.bindings,s=!1,u=0;u<a.length;u++){var c=a[u],l=void 0;switch(c.bindingType){case 0:l=n.first;break;case 1:l=n,s=!0}r[c.propName]=l}s&&n.notifyOnChanges()}}function xy(t,e,n,r,o){for(var i=e;i<=n;i++){var a=t.def.nodes[i],s=a.matchedQueries[r.id];if(null!=s&&o.push(Ty(t,a,s)),1&a.flags&&a.element.template&&(a.element.template.nodeMatchedQueries&r.filterId)===r.filterId){var u=wh(t,i);if((a.childMatchedQueries&r.filterId)===r.filterId&&(xy(t,i+1,i+a.childCount,r,o),i+=a.childCount),16777216&a.flags)for(var c=u.viewContainer._embeddedViews,l=0;l<c.length;l++){var f=c[l],p=qh(f);p&&p===u&&xy(f,0,f.def.nodes.length-1,r,o)}var d=u.template._projectedViews;if(d)for(l=0;l<d.length;l++){var h=d[l];xy(h,0,h.def.nodes.length-1,r,o)}}(a.childMatchedQueries&r.filterId)!==r.filterId&&(i+=a.childCount)}return o}function Ty(t,e,n){if(null!=n)switch(n){case 1:return wh(t,e.nodeIndex).renderElement;case 0:return new au(wh(t,e.nodeIndex).renderElement);case 2:return wh(t,e.nodeIndex).template;case 3:return wh(t,e.nodeIndex).viewContainer;case 4:return Ch(t,e.nodeIndex).instance}}function jy(t,e){return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:8,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:null,ngContent:{index:e}}}function ky(t,e,n){var r=Xh(t,e,n);r&&ov(t,n.ngContent.index,1,r,null,void 0)}function Iy(t,e){return Ay(128,t,new Array(e+1))}function Py(t,e){return Ay(32,t,new Array(e))}function Ry(t,e){for(var n=Object.keys(e),r=n.length,o=new Array(r),i=0;i<r;i++){var a=n[i];o[e[a]]=a}return Ay(64,t,o)}function Ay(t,e,n){for(var r=new Array(n.length),o=0;o<n.length;o++){var i=n[o];r[o]={flags:8,name:i,ns:null,nonMinifiedName:i,securityContext:null,suffix:null}}return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:-1,childCount:0,bindings:r,bindingFlags:cv(r),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}function Ny(t,e,n){for(var r=new Array(n.length-1),o=1;o<n.length;o++)r[o-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[o]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:e,childCount:0,bindings:r,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}}function Dy(t,e,n){var r,o=t.renderer;r=o.createText(n.text.prefix);var i=Xh(t,e,n);return i&&o.appendChild(i,r),{renderText:r}}function My(t,e){return(null!=t?t.toString():"")+e.suffix}function Fy(t,e,n,r){for(var o=0,i=0,a=0,s=0,u=0,c=null,l=null,f=!1,p=!1,d=null,h=0;h<e.length;h++){var v=e[h];if(v.nodeIndex=h,v.parent=c,v.bindingIndex=o,v.outputIndex=i,v.renderParent=l,a|=v.flags,u|=v.matchedQueryIds,v.element){var y=v.element;y.publicProviders=c?c.element.publicProviders:Object.create(null),y.allProviders=y.publicProviders,f=!1,p=!1,v.element.template&&(u|=v.element.template.nodeMatchedQueries)}if(Ly(c,v,e.length),o+=v.bindings.length,i+=v.outputs.length,!l&&3&v.flags&&(d=v),20224&v.flags){f||(f=!0,c.element.publicProviders=Object.create(c.element.publicProviders),c.element.allProviders=c.element.publicProviders);var g=0!=(32768&v.flags);0==(8192&v.flags)||g?c.element.publicProviders[Rh(v.provider.token)]=v:(p||(p=!0,c.element.allProviders=Object.create(c.element.publicProviders)),c.element.allProviders[Rh(v.provider.token)]=v),g&&(c.element.componentProvider=v)}if(c?(c.childFlags|=v.flags,c.directChildFlags|=v.flags,c.childMatchedQueries|=v.matchedQueryIds,v.element&&v.element.template&&(c.childMatchedQueries|=v.element.template.nodeMatchedQueries)):s|=v.flags,v.childCount>0)c=v,Vy(v)||(l=v);else for(;c&&h===c.nodeIndex+c.childCount;){var m=c.parent;m&&(m.childFlags|=c.childFlags,m.childMatchedQueries|=c.childMatchedQueries),l=(c=m)&&Vy(c)?c.renderParent:c}}return{factory:null,nodeFlags:a,rootNodeFlags:s,nodeMatchedQueries:u,flags:t,nodes:e,updateDirectives:n||Ih,updateRenderer:r||Ih,handleEvent:function(t,n,r,o){return e[n].element.handleEvent(t,r,o)},bindingCount:o,outputCount:i,lastRenderRootNode:d}}function Vy(t){return 0!=(1&t.flags)&&null===t.element.name}function Ly(t,e,n){var r=e.element&&e.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+e.nodeIndex+"!")}if(20224&e.flags&&0==(1&(t?t.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+e.nodeIndex+"!");if(e.query){if(67108864&e.flags&&(!t||0==(16384&t.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+e.nodeIndex+"!");if(134217728&e.flags&&t)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+e.nodeIndex+"!")}if(e.childCount){var o=t?t.nodeIndex+t.childCount:n-1;if(e.nodeIndex<=o&&e.nodeIndex+e.childCount>o)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+e.nodeIndex+"!")}}function Uy(t,e,n,r){var o=zy(t.root,t.renderer,t,e,n);return qy(o,t.component,r),Qy(o),o}function Hy(t,e,n){var r=zy(t,t.renderer,null,null,e);return qy(r,n,n),Qy(r),r}function By(t,e,n,r){var o,i=e.element.componentRendererType;return o=i?t.root.rendererFactory.createRenderer(r,i):t.root.renderer,zy(t.root,o,t,e.element.componentProvider,n)}function zy(t,e,n,r,o){var i=new Array(o.nodes.length),a=o.outputCount?new Array(o.outputCount):null;return{def:o,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:i,state:13,root:t,renderer:e,oldValues:new Array(o.bindingCount),disposables:a,initIndex:-1}}function qy(t,e,n){t.component=e,t.context=n}function Qy(t){var e;Gh(t)&&(e=wh(t.parent,t.parentNodeDef.parent.nodeIndex).renderElement);for(var n=t.def,r=t.nodes,o=0;o<n.nodes.length;o++){var i=n.nodes[o];xh.setCurrentNode(t,o);var a=void 0;switch(201347067&i.flags){case 1:var s=gv(t,e,i),u=void 0;if(33554432&i.flags){var c=ev(i.element.componentView);u=xh.createComponentView(t,i,c,s)}mv(t,u,i,s),a={renderElement:s,componentView:u,viewContainer:null,template:i.element.template?zv(t,i):void 0},16777216&i.flags&&(a.viewContainer=Lv(t,i,a));break;case 2:a=Dy(t,e,i);break;case 512:case 1024:case 2048:case 256:(a=r[o])||4096&i.flags||(a={instance:ly(t,i)});break;case 16:a={instance:fy(t,i)};break;case 16384:(a=r[o])||(a={instance:py(t,i)}),32768&i.flags&&qy(wh(t,i.parent.nodeIndex).componentView,a.instance,a.instance);break;case 32:case 64:case 128:a={value:void 0};break;case 67108864:case 134217728:a=new Od;break;case 8:ky(t,e,i),a=void 0}r[o]=a}tg(t,Xy.CreateViewNodes),og(t,201326592,268435456,0)}function Ky(t){Wy(t),xh.updateDirectives(t,1),eg(t,Xy.CheckNoChanges),xh.updateRenderer(t,1),tg(t,Xy.CheckNoChanges),t.state&=-97}function Zy(t){1&t.state?(t.state&=-2,t.state|=2):t.state&=-3,mh(t,0,256),Wy(t),xh.updateDirectives(t,0),eg(t,Xy.CheckAndUpdate),og(t,67108864,536870912,0);var e=mh(t,256,512);by(t,2097152|(e?1048576:0)),xh.updateRenderer(t,0),tg(t,Xy.CheckAndUpdate),og(t,134217728,536870912,0),by(t,8388608|((e=mh(t,512,768))?4194304:0)),2&t.def.flags&&(t.state&=-9),t.state&=-97,mh(t,768,1024)}function Gy(t,e,n,o,i,a,s,u,c,l,f,p,d){return 0===n?function(t,e,n,r,o,i,a,s,u,c,l,f){switch(201347067&e.flags){case 1:return function(t,e,n,r,o,i,a,s,u,c,l,f){var p=e.bindings.length,d=!1;return p>0&&bv(t,e,0,n)&&(d=!0),p>1&&bv(t,e,1,r)&&(d=!0),p>2&&bv(t,e,2,o)&&(d=!0),p>3&&bv(t,e,3,i)&&(d=!0),p>4&&bv(t,e,4,a)&&(d=!0),p>5&&bv(t,e,5,s)&&(d=!0),p>6&&bv(t,e,6,u)&&(d=!0),p>7&&bv(t,e,7,c)&&(d=!0),p>8&&bv(t,e,8,l)&&(d=!0),p>9&&bv(t,e,9,f)&&(d=!0),d}(t,e,n,r,o,i,a,s,u,c,l,f);case 2:return function(t,e,n,r,o,i,a,s,u,c,l,f){var p=!1,d=e.bindings,h=d.length;if(h>0&&Lh(t,e,0,n)&&(p=!0),h>1&&Lh(t,e,1,r)&&(p=!0),h>2&&Lh(t,e,2,o)&&(p=!0),h>3&&Lh(t,e,3,i)&&(p=!0),h>4&&Lh(t,e,4,a)&&(p=!0),h>5&&Lh(t,e,5,s)&&(p=!0),h>6&&Lh(t,e,6,u)&&(p=!0),h>7&&Lh(t,e,7,c)&&(p=!0),h>8&&Lh(t,e,8,l)&&(p=!0),h>9&&Lh(t,e,9,f)&&(p=!0),p){var v=e.text.prefix;h>0&&(v+=My(n,d[0])),h>1&&(v+=My(r,d[1])),h>2&&(v+=My(o,d[2])),h>3&&(v+=My(i,d[3])),h>4&&(v+=My(a,d[4])),h>5&&(v+=My(s,d[5])),h>6&&(v+=My(u,d[6])),h>7&&(v+=My(c,d[7])),h>8&&(v+=My(l,d[8])),h>9&&(v+=My(f,d[9]));var y=bh(t,e.nodeIndex).renderText;t.renderer.setValue(y,v)}return p}(t,e,n,r,o,i,a,s,u,c,l,f);case 16384:return function(t,e,n,r,o,i,a,s,u,c,l,f){var p=Ch(t,e.nodeIndex),d=p.instance,h=!1,v=void 0,y=e.bindings.length;return y>0&&Vh(t,e,0,n)&&(h=!0,v=_y(t,p,e,0,n,v)),y>1&&Vh(t,e,1,r)&&(h=!0,v=_y(t,p,e,1,r,v)),y>2&&Vh(t,e,2,o)&&(h=!0,v=_y(t,p,e,2,o,v)),y>3&&Vh(t,e,3,i)&&(h=!0,v=_y(t,p,e,3,i,v)),y>4&&Vh(t,e,4,a)&&(h=!0,v=_y(t,p,e,4,a,v)),y>5&&Vh(t,e,5,s)&&(h=!0,v=_y(t,p,e,5,s,v)),y>6&&Vh(t,e,6,u)&&(h=!0,v=_y(t,p,e,6,u,v)),y>7&&Vh(t,e,7,c)&&(h=!0,v=_y(t,p,e,7,c,v)),y>8&&Vh(t,e,8,l)&&(h=!0,v=_y(t,p,e,8,l,v)),y>9&&Vh(t,e,9,f)&&(h=!0,v=_y(t,p,e,9,f,v)),v&&d.ngOnChanges(v),65536&e.flags&&_h(t,256,e.nodeIndex)&&d.ngOnInit(),262144&e.flags&&d.ngDoCheck(),h}(t,e,n,r,o,i,a,s,u,c,l,f);case 32:case 64:case 128:return function(t,e,n,r,o,i,a,s,u,c,l,f){var p=e.bindings,d=!1,h=p.length;if(h>0&&Lh(t,e,0,n)&&(d=!0),h>1&&Lh(t,e,1,r)&&(d=!0),h>2&&Lh(t,e,2,o)&&(d=!0),h>3&&Lh(t,e,3,i)&&(d=!0),h>4&&Lh(t,e,4,a)&&(d=!0),h>5&&Lh(t,e,5,s)&&(d=!0),h>6&&Lh(t,e,6,u)&&(d=!0),h>7&&Lh(t,e,7,c)&&(d=!0),h>8&&Lh(t,e,8,l)&&(d=!0),h>9&&Lh(t,e,9,f)&&(d=!0),d){var v=Sh(t,e.nodeIndex),y=void 0;switch(201347067&e.flags){case 32:y=new Array(p.length),h>0&&(y[0]=n),h>1&&(y[1]=r),h>2&&(y[2]=o),h>3&&(y[3]=i),h>4&&(y[4]=a),h>5&&(y[5]=s),h>6&&(y[6]=u),h>7&&(y[7]=c),h>8&&(y[8]=l),h>9&&(y[9]=f);break;case 64:y={},h>0&&(y[p[0].name]=n),h>1&&(y[p[1].name]=r),h>2&&(y[p[2].name]=o),h>3&&(y[p[3].name]=i),h>4&&(y[p[4].name]=a),h>5&&(y[p[5].name]=s),h>6&&(y[p[6].name]=u),h>7&&(y[p[7].name]=c),h>8&&(y[p[8].name]=l),h>9&&(y[p[9].name]=f);break;case 128:var g=n;switch(h){case 1:y=g.transform(n);break;case 2:y=g.transform(r);break;case 3:y=g.transform(r,o);break;case 4:y=g.transform(r,o,i);break;case 5:y=g.transform(r,o,i,a);break;case 6:y=g.transform(r,o,i,a,s);break;case 7:y=g.transform(r,o,i,a,s,u);break;case 8:y=g.transform(r,o,i,a,s,u,c);break;case 9:y=g.transform(r,o,i,a,s,u,c,l);break;case 10:y=g.transform(r,o,i,a,s,u,c,l,f)}}v.value=y}return d}(t,e,n,r,o,i,a,s,u,c,l,f);default:throw"unreachable"}}(t,e,o,i,a,s,u,c,l,f,p,d):function(t,e,n){switch(201347067&e.flags){case 1:return function(t,e,n){for(var r=!1,o=0;o<n.length;o++)bv(t,e,o,n[o])&&(r=!0);return r}(t,e,n);case 2:return function(t,e,n){for(var r=e.bindings,o=!1,i=0;i<n.length;i++)Lh(t,e,i,n[i])&&(o=!0);if(o){var a="";for(i=0;i<n.length;i++)a+=My(n[i],r[i]);a=e.text.prefix+a;var s=bh(t,e.nodeIndex).renderText;t.renderer.setValue(s,a)}return o}(t,e,n);case 16384:return function(t,e,n){for(var r=Ch(t,e.nodeIndex),o=r.instance,i=!1,a=void 0,s=0;s<n.length;s++)Vh(t,e,s,n[s])&&(i=!0,a=_y(t,r,e,s,n[s],a));return a&&o.ngOnChanges(a),65536&e.flags&&_h(t,256,e.nodeIndex)&&o.ngOnInit(),262144&e.flags&&o.ngDoCheck(),i}(t,e,n);case 32:case 64:case 128:return function(t,e,n){for(var o=e.bindings,i=!1,a=0;a<n.length;a++)Lh(t,e,a,n[a])&&(i=!0);if(i){var s=Sh(t,e.nodeIndex),u=void 0;switch(201347067&e.flags){case 32:u=n;break;case 64:for(u={},a=0;a<n.length;a++)u[o[a].name]=n[a];break;case 128:var c=n[0],l=n.slice(1);u=c.transform.apply(c,Object(r.__spread)(l))}s.value=u}return i}(t,e,n);default:throw"unreachable"}}(t,e,o)}function Wy(t){var e=t.def;if(4&e.nodeFlags)for(var n=0;n<e.nodes.length;n++){var r=e.nodes[n];if(4&r.flags){var o=wh(t,n).template._projectedViews;if(o)for(var i=0;i<o.length;i++){var a=o[i];a.state|=32,Bh(a,t)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function Yy(t,e,n,r,o,i,a,s,u,c,l,f,p){return 0===n?function(t,e,n,r,o,i,a,s,u,c,l,f){var p=e.bindings.length;p>0&&Uh(t,e,0,n),p>1&&Uh(t,e,1,r),p>2&&Uh(t,e,2,o),p>3&&Uh(t,e,3,i),p>4&&Uh(t,e,4,a),p>5&&Uh(t,e,5,s),p>6&&Uh(t,e,6,u),p>7&&Uh(t,e,7,c),p>8&&Uh(t,e,8,l),p>9&&Uh(t,e,9,f)}(t,e,r,o,i,a,s,u,c,l,f,p):function(t,e,n){for(var r=0;r<n.length;r++)Uh(t,e,r,n[r])}(t,e,r),!1}function Jy(t,e){if(Eh(t,e.nodeIndex).dirty)throw Th(xh.createDebugContext(t,e.nodeIndex),"Query "+e.query.id+" not dirty","Query "+e.query.id+" dirty",0!=(1&t.state))}function $y(t){if(!(128&t.state)){if(eg(t,Xy.Destroy),tg(t,Xy.Destroy),by(t,131072),t.disposables)for(var e=0;e<t.disposables.length;e++)t.disposables[e]();!function(t){if(16&t.state){var e=qh(t);if(e){var n=e.template._projectedViews;n&&(Av(n,n.indexOf(t)),xh.dirtyParentQueries(t))}}}(t),t.renderer.destroyNode&&function(t){for(var e=t.def.nodes.length,n=0;n<e;n++){var r=t.def.nodes[n];1&r.flags?t.renderer.destroyNode(wh(t,n).renderElement):2&r.flags?t.renderer.destroyNode(bh(t,n).renderText):(67108864&r.flags||134217728&r.flags)&&Eh(t,n).destroy()}}(t),Gh(t)&&t.renderer.destroy(),t.state|=128}}var Xy=function(t){return t[t.CreateViewNodes=0]="CreateViewNodes",t[t.CheckNoChanges=1]="CheckNoChanges",t[t.CheckNoChangesProjectedViews=2]="CheckNoChangesProjectedViews",t[t.CheckAndUpdate=3]="CheckAndUpdate",t[t.CheckAndUpdateProjectedViews=4]="CheckAndUpdateProjectedViews",t[t.Destroy=5]="Destroy",t}({});function tg(t,e){var n=t.def;if(33554432&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var o=n.nodes[r];33554432&o.flags?ng(wh(t,r).componentView,e):0==(33554432&o.childFlags)&&(r+=o.childCount)}}function eg(t,e){var n=t.def;if(16777216&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var o=n.nodes[r];if(16777216&o.flags)for(var i=wh(t,r).viewContainer._embeddedViews,a=0;a<i.length;a++)ng(i[a],e);else 0==(16777216&o.childFlags)&&(r+=o.childCount)}}function ng(t,e){var n=t.state;switch(e){case Xy.CheckNoChanges:0==(128&n)&&(12==(12&n)?Ky(t):64&n&&rg(t,Xy.CheckNoChangesProjectedViews));break;case Xy.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?Ky(t):64&n&&rg(t,e));break;case Xy.CheckAndUpdate:0==(128&n)&&(12==(12&n)?Zy(t):64&n&&rg(t,Xy.CheckAndUpdateProjectedViews));break;case Xy.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?Zy(t):64&n&&rg(t,e));break;case Xy.Destroy:$y(t);break;case Xy.CreateViewNodes:Qy(t)}}function rg(t,e){eg(t,e),tg(t,e)}function og(t,e,n,r){if(t.def.nodeFlags&e&&t.def.nodeFlags&n)for(var o=t.def.nodes.length,i=0;i<o;i++){var a=t.def.nodes[i];if(a.flags&e&&a.flags&n)switch(xh.setCurrentNode(t,a.nodeIndex),r){case 0:Oy(t,a);break;case 1:Jy(t,a)}a.childFlags&e&&a.childFlags&n||(i+=a.childCount)}}var ig=!1;function ag(){if(!ig){ig=!0;var t=Iu()?{setCurrentNode:kg,createRootView:ug,createEmbeddedView:lg,createComponentView:fg,createNgModuleRef:pg,overrideProvider:yg,overrideComponentView:gg,clearOverrides:mg,checkAndUpdateView:Cg,checkNoChangesView:Sg,destroyView:Eg,createDebugContext:function(t,e){return new Lg(t,e)},handleEvent:Ig,updateDirectives:Pg,updateRenderer:Rg}:{setCurrentNode:function(){},createRootView:sg,createEmbeddedView:Uy,createComponentView:By,createNgModuleRef:Yv,overrideProvider:Ih,overrideComponentView:Ih,clearOverrides:Ih,checkAndUpdateView:Zy,checkNoChangesView:Ky,destroyView:$y,createDebugContext:function(t,e){return new Lg(t,e)},handleEvent:function(t,e,n,r){return t.def.handleEvent(t,e,n,r)},updateDirectives:function(t,e){return t.def.updateDirectives(0===e?bg:wg,t)},updateRenderer:function(t,e){return t.def.updateRenderer(0===e?bg:wg,t)}};xh.setCurrentNode=t.setCurrentNode,xh.createRootView=t.createRootView,xh.createEmbeddedView=t.createEmbeddedView,xh.createComponentView=t.createComponentView,xh.createNgModuleRef=t.createNgModuleRef,xh.overrideProvider=t.overrideProvider,xh.overrideComponentView=t.overrideComponentView,xh.clearOverrides=t.clearOverrides,xh.checkAndUpdateView=t.checkAndUpdateView,xh.checkNoChangesView=t.checkNoChangesView,xh.destroyView=t.destroyView,xh.resolveDep=gy,xh.createDebugContext=t.createDebugContext,xh.handleEvent=t.handleEvent,xh.updateDirectives=t.updateDirectives,xh.updateRenderer=t.updateRenderer,xh.dirtyParentQueries=Ey}}function sg(t,e,n,r,o,i){var a=o.injector.get(du);return Hy(cg(t,o,a,e,n),r,i)}function ug(t,e,n,r,o,i){var a=o.injector.get(du),s=cg(t,o,new zg(a),e,n),u=_g(r);return Hg(jg.create,Hy,null,[s,u,i])}function cg(t,e,n,r,o){var i=e.injector.get(Nl),a=e.injector.get(tp),s=n.createRenderer(null,null);return{ngModule:e,injector:t,projectableNodes:r,selectorOrNode:o,sanitizer:i,rendererFactory:n,renderer:s,errorHandler:a}}function lg(t,e,n,r){var o=_g(n);return Hg(jg.create,Uy,null,[t,e,o,r])}function fg(t,e,n,r){return n=vg.get(e.element.componentProvider.provider.token)||_g(n),Hg(jg.create,By,null,[t,e,n,r])}function pg(t,e,n,r){return Yv(t,e,n,function(t){var e=function(t){var e=!1,n=!1;return 0===dg.size?{hasOverrides:e,hasDeprecatedOverrides:n}:(t.providers.forEach(function(t){var r=dg.get(t.token);3840&t.flags&&r&&(e=!0,n=n||r.deprecatedBehavior)}),t.modules.forEach(function(t){hg.forEach(function(r,o){S(o).providedIn===t&&(e=!0,n=n||r.deprecatedBehavior)})}),{hasOverrides:e,hasDeprecatedOverrides:n})}(t),n=e.hasDeprecatedOverrides;return e.hasOverrides?(function(t){for(var e=0;e<t.providers.length;e++){var r=t.providers[e];n&&(r.flags|=4096);var o=dg.get(r.token);o&&(r.flags=-3841&r.flags|o.flags,r.deps=$h(o.deps),r.value=o.value)}if(hg.size>0){var i=new Set(t.modules);hg.forEach(function(e,r){if(i.has(S(r).providedIn)){var o={token:r,flags:e.flags|(n?4096:0),deps:$h(e.deps),value:e.value,index:t.providers.length};t.providers.push(o),t.providersByKey[Rh(r)]=o}})}}(t=t.factory(function(){return Ih})),t):t}(r))}var dg=new Map,hg=new Map,vg=new Map;function yg(t){var e;dg.set(t.token,t),"function"==typeof t.token&&(e=S(t.token))&&"function"==typeof e.providedIn&&hg.set(t.token,t)}function gg(t,e){var n=ev(Mv(e)),r=ev(n.nodes[0].element.componentView);vg.set(t,r)}function mg(){dg.clear(),hg.clear(),vg.clear()}function _g(t){if(0===dg.size)return t;var e=function(t){for(var e=[],n=null,r=0;r<t.nodes.length;r++){var o=t.nodes[r];1&o.flags&&(n=o),n&&3840&o.flags&&dg.has(o.provider.token)&&(e.push(n.nodeIndex),n=null)}return e}(t);if(0===e.length)return t;t=t.factory(function(){return Ih});for(var n=0;n<e.length;n++)r(t,e[n]);return t;function r(t,e){for(var n=e+1;n<t.nodes.length;n++){var r=t.nodes[n];if(1&r.flags)return;if(3840&r.flags){var o=r.provider,i=dg.get(o.token);i&&(r.flags=-3841&r.flags|i.flags,o.deps=$h(i.deps),o.value=i.value)}}}}function bg(t,e,n,r,o,i,a,s,u,c,l,f,p){var d=t.def.nodes[e];return Gy(t,d,n,r,o,i,a,s,u,c,l,f,p),224&d.flags?Sh(t,e).value:void 0}function wg(t,e,n,r,o,i,a,s,u,c,l,f,p){var d=t.def.nodes[e];return Yy(t,d,n,r,o,i,a,s,u,c,l,f,p),224&d.flags?Sh(t,e).value:void 0}function Cg(t){return Hg(jg.detectChanges,Zy,null,[t])}function Sg(t){return Hg(jg.checkNoChanges,Ky,null,[t])}function Eg(t){return Hg(jg.destroy,$y,null,[t])}var Og,xg,Tg,jg=function(t){return t[t.create=0]="create",t[t.detectChanges=1]="detectChanges",t[t.checkNoChanges=2]="checkNoChanges",t[t.destroy=3]="destroy",t[t.handleEvent=4]="handleEvent",t}({});function kg(t,e){xg=t,Tg=e}function Ig(t,e,n,r){return kg(t,e),Hg(jg.handleEvent,t.def.handleEvent,null,[t,e,n,r])}function Pg(t,e){if(128&t.state)throw kh(jg[Og]);return kg(t,Fg(t,0)),t.def.updateDirectives(function(t,n,r){for(var o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];var a=t.def.nodes[n];return 0===e?Ag(t,a,r,o):Ng(t,a,r,o),16384&a.flags&&kg(t,Fg(t,n)),224&a.flags?Sh(t,a.nodeIndex).value:void 0},t)}function Rg(t,e){if(128&t.state)throw kh(jg[Og]);return kg(t,Vg(t,0)),t.def.updateRenderer(function(t,n,r){for(var o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];var a=t.def.nodes[n];return 0===e?Ag(t,a,r,o):Ng(t,a,r,o),3&a.flags&&kg(t,Vg(t,n)),224&a.flags?Sh(t,a.nodeIndex).value:void 0},t)}function Ag(t,e,n,o){if(Gy.apply(void 0,Object(r.__spread)([t,e,n],o))){var i=1===n?o[0]:o;if(16384&e.flags){for(var a={},s=0;s<e.bindings.length;s++){var u=e.bindings[s],c=i[s];8&u.flags&&(a[(d=u.nonMinifiedName,h=void 0,h=d.replace(/[$@]/g,"_"),"ng-reflect-"+(d=h.replace(Dg,function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return"-"+t[1].toLowerCase()})))]=Mg(c))}var l=e.parent,f=wh(t,l.nodeIndex).renderElement;if(l.element.name)for(var p in a)null!=(c=a[p])?t.renderer.setAttribute(f,p,c):t.renderer.removeAttribute(f,p);else t.renderer.setValue(f,"bindings="+JSON.stringify(a,null,2))}}var d,h}function Ng(t,e,n,o){Yy.apply(void 0,Object(r.__spread)([t,e,n],o))}var Dg=/([A-Z])/g;function Mg(t){try{return null!=t?t.toString().slice(0,30):t}catch(e){return"[ERROR] Exception while trying to serialize the value"}}function Fg(t,e){for(var n=e;n<t.def.nodes.length;n++){var r=t.def.nodes[n];if(16384&r.flags&&r.bindings&&r.bindings.length)return n}return null}function Vg(t,e){for(var n=e;n<t.def.nodes.length;n++){var r=t.def.nodes[n];if(3&r.flags&&r.bindings&&r.bindings.length)return n}return null}var Lg=function(){function t(t,e){this.view=t,this.nodeIndex=e,null==e&&(this.nodeIndex=e=0),this.nodeDef=t.def.nodes[e];for(var n=this.nodeDef,r=t;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&r;)n=Qh(r),r=r.parent;this.elDef=n,this.elView=r}return Object.defineProperty(t.prototype,"elOrCompView",{get:function(){return wh(this.elView,this.elDef.nodeIndex).componentView||this.view},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return Qv(this.elView,this.elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"component",{get:function(){return this.elOrCompView.component},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this.elOrCompView.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){var t=[];if(this.elDef)for(var e=this.elDef.nodeIndex+1;e<=this.elDef.nodeIndex+this.elDef.childCount;e++){var n=this.elView.def.nodes[e];20224&n.flags&&t.push(n.provider.token),e+=n.childCount}return t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){var t={};if(this.elDef){Ug(this.elView,this.elDef,t);for(var e=this.elDef.nodeIndex+1;e<=this.elDef.nodeIndex+this.elDef.childCount;e++){var n=this.elView.def.nodes[e];20224&n.flags&&Ug(this.elView,n,t),e+=n.childCount}}return t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentRenderElement",{get:function(){var t=function(t){for(;t&&!Gh(t);)t=t.parent;return t.parent?wh(t.parent,Qh(t).nodeIndex):null}(this.elOrCompView);return t?t.renderElement:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"renderNode",{get:function(){return 2&this.nodeDef.flags?Kh(this.view,this.nodeDef):Kh(this.elView,this.elDef)},enumerable:!0,configurable:!0}),t.prototype.logError=function(t){for(var e,n,o=[],i=1;i<arguments.length;i++)o[i-1]=arguments[i];2&this.nodeDef.flags?(e=this.view.def,n=this.nodeDef.nodeIndex):(e=this.elView.def,n=this.elDef.nodeIndex);var a=function(t,e){for(var n=-1,r=0;r<=e;r++)3&t.nodes[r].flags&&n++;return n}(e,n),s=-1;e.factory(function(){var e;return++s===a?(e=t.error).bind.apply(e,Object(r.__spread)([t],o)):Ih}),s<a&&(t.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),t.error.apply(t,Object(r.__spread)(o)))},t}();function Ug(t,e,n){for(var r in e.references)n[r]=Ty(t,e,e.references[r])}function Hg(t,e,n,r){var o=Og,i=xg,a=Tg;try{Og=t;var s=e.apply(n,r);return xg=i,Tg=a,Og=o,s}catch(u){if(Jf(u)||!xg)throw u;throw function(t,e){return t instanceof Error||(t=new Error(t.toString())),jh(t,e),t}(u,Bg())}}function Bg(){return xg?new Lg(xg,Tg):null}var zg=function(){function t(t){this.delegate=t}return t.prototype.createRenderer=function(t,e){return new qg(this.delegate.createRenderer(t,e))},t.prototype.begin=function(){this.delegate.begin&&this.delegate.begin()},t.prototype.end=function(){this.delegate.end&&this.delegate.end()},t.prototype.whenRenderingDone=function(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)},t}(),qg=function(){function t(t){this.delegate=t,this.debugContextFactory=Bg,this.data=this.delegate.data}return t.prototype.createDebugContext=function(t){return this.debugContextFactory(t)},t.prototype.destroyNode=function(t){!function(t){Bd.delete(t.nativeNode)}(zd(t)),this.delegate.destroyNode&&this.delegate.destroyNode(t)},t.prototype.destroy=function(){this.delegate.destroy()},t.prototype.createElement=function(t,e){var n=this.delegate.createElement(t,e),r=this.createDebugContext(n);if(r){var o=new Ud(n,null,r);o.name=t,qd(o)}return n},t.prototype.createComment=function(t){var e=this.delegate.createComment(t),n=this.createDebugContext(e);return n&&qd(new Ld(e,null,n)),e},t.prototype.createText=function(t){var e=this.delegate.createText(t),n=this.createDebugContext(e);return n&&qd(new Ld(e,null,n)),e},t.prototype.appendChild=function(t,e){var n=zd(t),r=zd(e);n&&r&&n instanceof Ud&&n.addChild(r),this.delegate.appendChild(t,e)},t.prototype.insertBefore=function(t,e,n){var r=zd(t),o=zd(e),i=zd(n);r&&o&&r instanceof Ud&&r.insertBefore(i,o),this.delegate.insertBefore(t,e,n)},t.prototype.removeChild=function(t,e){var n=zd(t),r=zd(e);n&&r&&n instanceof Ud&&n.removeChild(r),this.delegate.removeChild(t,e)},t.prototype.selectRootElement=function(t,e){var n=this.delegate.selectRootElement(t,e),r=Bg()||(gh?this.createDebugContext(n):null);return r&&qd(new Ud(n,null,r)),n},t.prototype.setAttribute=function(t,e,n,r){var o=zd(t);o&&o instanceof Ud&&(o.attributes[r?r+":"+e:e]=n),this.delegate.setAttribute(t,e,n,r)},t.prototype.removeAttribute=function(t,e,n){var r=zd(t);r&&r instanceof Ud&&(r.attributes[n?n+":"+e:e]=null),this.delegate.removeAttribute(t,e,n)},t.prototype.addClass=function(t,e){var n=zd(t);n&&n instanceof Ud&&(n.classes[e]=!0),this.delegate.addClass(t,e)},t.prototype.removeClass=function(t,e){var n=zd(t);n&&n instanceof Ud&&(n.classes[e]=!1),this.delegate.removeClass(t,e)},t.prototype.setStyle=function(t,e,n,r){var o=zd(t);o&&o instanceof Ud&&(o.styles[e]=n),this.delegate.setStyle(t,e,n,r)},t.prototype.removeStyle=function(t,e,n){var r=zd(t);r&&r instanceof Ud&&(r.styles[e]=null),this.delegate.removeStyle(t,e,n)},t.prototype.setProperty=function(t,e,n){var r=zd(t);r&&r instanceof Ud&&(r.properties[e]=n),this.delegate.setProperty(t,e,n)},t.prototype.listen=function(t,e,n){if("string"!=typeof t){var r=zd(t);r&&r.listeners.push(new Vd(e,n))}return this.delegate.listen(t,e,n)},t.prototype.parentNode=function(t){return this.delegate.parentNode(t)},t.prototype.nextSibling=function(t){return this.delegate.nextSibling(t)},t.prototype.setValue=function(t,e){return this.delegate.setValue(t,e)},t}();function Qg(t){return ag(),xh.overrideProvider(t)}function Kg(t,e){return ag(),xh.overrideComponentView(t,e)}function Zg(){return ag(),xh.clearOverrides()}function Gg(t,e,n){return new Wg(t,e,n)}var Wg=function(t){function e(e,n,r){var o=t.call(this)||this;return o.moduleType=e,o._bootstrapComponents=n,o._ngModuleDefFactory=r,o}return Object(r.__extends)(e,t),e.prototype.create=function(t){ag();var e=function(t){var e=Array.from(t.providers),n=Array.from(t.modules),r={};for(var o in t.providersByKey)r[o]=t.providersByKey[o];return{factory:t.factory,isRoot:t.isRoot,providers:e,modules:n,providersByKey:r}}(ev(this._ngModuleDefFactory));return xh.createNgModuleRef(this.moduleType,t||yr.NULL,this._bootstrapComponents,e)},e}(Rr),Yg=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.createRenderer=function(e,n){var r=t.prototype.createRenderer.call(this,e,n);return r.debugContextFactory=function(t){return new Jg(t)},r},e}(zg),Jg=function(){function t(t){this._nativeNode=t}return Object.defineProperty(t.prototype,"nodeIndex",{get:function(){return fs(this._nativeNode).nodeIndex},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"view",{get:function(){return fs(this._nativeNode).lViewData},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return cs(this._nativeNode)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"component",{get:function(){return is(this._nativeNode)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){var t=fs(this._nativeNode),e=t.lViewData[Lt].data[t.nodeIndex],n=4095&e.flags;if(n>0){var r=e.flags>>16;return this.view[Lt].data.slice(r,r+n).map(function(t){return t.type})}return[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){return void 0===(t=fs(this._nativeNode)).localRefs&&(t.localRefs=function(e,n){var r=e[Lt].data[t.nodeIndex];if(r&&r.localNames){for(var o={},i=0;i<r.localNames.length;i+=2){var a=r.localNames[i+1];o[r.localNames[i]]=-1===a?Ee(r,e):e[a]}return o}return null}(t.lViewData)),t.localRefs||{};var t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){throw new Error("Not implemented in ivy")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentRenderElement",{get:function(){throw new Error("Not implemented in ivy")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"renderNode",{get:function(){throw new Error("Not implemented in ivy")},enumerable:!0,configurable:!0}),t.prototype.logError=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];t.error.apply(t,Object(r.__spread)(e))},t}()},DKTb:function(t,e,n){"use strict";function r(t){setTimeout(function(){throw t})}n.d(e,"a",function(){return r})},"En8+":function(t,e,n){"use strict";function r(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}n.d(e,"a",function(){return o});var o=r()},"F/XL":function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n("nkY7"),o=n("IUTb"),i=n("G5J1"),a=n("PU8L");function s(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t[t.length-1];switch(Object(r.a)(n)?t.pop():n=void 0,t.length){case 0:return Object(i.b)(n);case 1:return n?Object(o.a)(t,n):Object(a.a)(t[0]);default:return Object(o.a)(t,n)}}},FFOo:function(t,e,n){"use strict";n.d(e,"a",function(){return l});var r=n("mrSG"),o=n("2Bdj"),i=n("6ahw"),a=n("pugT"),s=n("L/V9"),u=n("iLxQ"),c=n("DKTb"),l=function(t){function e(n,r,o){var a=t.call(this)||this;switch(a.syncErrorValue=null,a.syncErrorThrown=!1,a.syncErrorThrowable=!1,a.isStopped=!1,a._parentSubscription=null,arguments.length){case 0:a.destination=i.a;break;case 1:if(!n){a.destination=i.a;break}if("object"==typeof n){n instanceof e?(a.syncErrorThrowable=n.syncErrorThrowable,a.destination=n,n.add(a)):(a.syncErrorThrowable=!0,a.destination=new f(a,n));break}default:a.syncErrorThrowable=!0,a.destination=new f(a,n,r,o)}return a}return r.__extends(e,t),e.prototype[s.a]=function(){return this},e.create=function(t,n,r){var o=new e(t,n,r);return o.syncErrorThrowable=!1,o},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e.prototype._unsubscribeAndRecycle=function(){var t=this._parent,e=this._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=t,this._parents=e,this._parentSubscription=null,this},e}(a.a),f=function(t){function e(e,n,r,a){var s,u=t.call(this)||this;u._parentSubscriber=e;var c=u;return Object(o.a)(n)?s=n:n&&(s=n.next,r=n.error,a=n.complete,n!==i.a&&(c=Object.create(n),Object(o.a)(c.unsubscribe)&&u.add(c.unsubscribe.bind(c)),c.unsubscribe=u.unsubscribe.bind(u))),u._context=c,u._next=s,u._error=r,u._complete=a,u}return r.__extends(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;u.a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},e.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber,n=u.a.useDeprecatedSynchronousErrorHandling;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)}}},e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var n=function(){return t._complete.call(t._context)};u.a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),u.a.useDeprecatedSynchronousErrorHandling)throw n;Object(c.a)(n)}},e.prototype.__tryOrSetError=function(t,e,n){if(!u.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(r){return u.a.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=r,t.syncErrorThrown=!0,!0):(Object(c.a)(r),!0)}return!1},e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},e}(l)},Fxb1:function(t,e,n){"use strict";n.d(e,"a",function(){return d});var r=n("6blF"),o=n("+tJ4"),i=n("S5XQ"),a=n("u67D"),s=n("JcRv"),u=n("2ePl"),c=n("/WYv"),l=n("McSo"),f=n("En8+"),p=n("xTla"),d=function(t){if(t instanceof r.a)return function(e){return t._isScalar?(e.next(t.value),void e.complete()):t.subscribe(e)};if(t&&"function"==typeof t[p.a])return Object(s.a)(t);if(Object(u.a)(t))return Object(o.a)(t);if(Object(c.a)(t))return Object(i.a)(t);if(t&&"function"==typeof t[f.a])return Object(a.a)(t);var 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.")}},G5J1:function(t,e,n){"use strict";n.d(e,"a",function(){return o}),n.d(e,"b",function(){return i});var r=n("6blF"),o=new r.a(function(t){return t.complete()});function i(t){return t?function(t){return new r.a(function(e){return t.schedule(function(){return e.complete()})})}(t):o}},IUTb:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var r=n("6blF"),o=n("pugT"),i=n("+tJ4");function a(t,e){return new r.a(e?function(n){var r=new o.a,i=0;return r.add(e.schedule(function(){i!==t.length?(n.next(t[i++]),n.closed||r.add(this.schedule())):n.complete()})),r}:Object(i.a)(t))}},Ip0R:function(t,e,n){"use strict";n.d(e,"t",function(){return g}),n.d(e,"l",function(){return _}),n.d(e,"m",function(){return m}),n.d(e,"u",function(){return b}),n.d(e,"c",function(){return R}),n.d(e,"i",function(){return w}),n.d(e,"j",function(){return S}),n.d(e,"k",function(){return O}),n.d(e,"d",function(){return A}),n.d(e,"b",function(){return P}),n.d(e,"s",function(){return N}),n.d(e,"q",function(){return M}),n.d(e,"r",function(){return F}),n.d(e,"p",function(){return V}),n.d(e,"o",function(){return i}),n.d(e,"f",function(){return a}),n.d(e,"h",function(){return s}),n.d(e,"a",function(){return u}),n.d(e,"e",function(){return f}),n.d(e,"n",function(){return p}),n.d(e,"g",function(){return c});var r=n("CcnG"),o=n("mrSG"),i=function(){return function(){}}(),a=new r.InjectionToken("Location Initialized"),s=function(){return function(){}}(),u=new r.InjectionToken("appBaseHref"),c=function(){function t(t){var n=this;this._subject=new r.EventEmitter,this._platformStrategy=t;var o=this._platformStrategy.getBaseHref();this._baseHref=e.stripTrailingSlash(l(o)),this._platformStrategy.onPopState(function(t){n._subject.emit({url:n.path(!0),pop:!0,state:t.state,type:t.type})})}var e;return e=t,t.prototype.path=function(t){return void 0===t&&(t=!1),this.normalize(this._platformStrategy.path(t))},t.prototype.isCurrentPathEqualTo=function(t,n){return void 0===n&&(n=""),this.path()==this.normalize(t+e.normalizeQueryParams(n))},t.prototype.normalize=function(t){return e.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,l(t)))},t.prototype.prepareExternalUrl=function(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)},t.prototype.go=function(t,e,n){void 0===e&&(e=""),void 0===n&&(n=null),this._platformStrategy.pushState(n,"",t,e)},t.prototype.replaceState=function(t,e,n){void 0===e&&(e=""),void 0===n&&(n=null),this._platformStrategy.replaceState(n,"",t,e)},t.prototype.forward=function(){this._platformStrategy.forward()},t.prototype.back=function(){this._platformStrategy.back()},t.prototype.subscribe=function(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})},t.normalizeQueryParams=function(t){return t&&"?"!==t[0]?"?"+t:t},t.joinWithSlash=function(t,e){if(0==t.length)return e;if(0==e.length)return t;var n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e},t.stripTrailingSlash=function(t){var e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)},t}();function l(t){return t.replace(/\/index.html$/,"")}var f=function(t){function e(e,n){var r=t.call(this)||this;return r._platformLocation=e,r._baseHref="",null!=n&&(r._baseHref=n),r}return Object(o.__extends)(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e},e.prototype.prepareExternalUrl=function(t){var e=c.joinWithSlash(this._baseHref,t);return e.length>0?"#"+e:e},e.prototype.pushState=function(t,e,n,r){var o=this.prepareExternalUrl(n+c.normalizeQueryParams(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(t,e,o)},e.prototype.replaceState=function(t,e,n,r){var o=this.prepareExternalUrl(n+c.normalizeQueryParams(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,o)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(s),p=function(t){function e(e,n){var r=t.call(this)||this;if(r._platformLocation=e,null==n&&(n=r._platformLocation.getBaseHrefFromDOM()),null==n)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return r._baseHref=n,r}return Object(o.__extends)(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.prepareExternalUrl=function(t){return c.joinWithSlash(this._baseHref,t)},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.pathname+c.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?""+e+n:e},e.prototype.pushState=function(t,e,n,r){var o=this.prepareExternalUrl(n+c.normalizeQueryParams(r));this._platformLocation.pushState(t,e,o)},e.prototype.replaceState=function(t,e,n,r){var o=this.prepareExternalUrl(n+c.normalizeQueryParams(r));this._platformLocation.replaceState(t,e,o)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(s),d=void 0,h=["en",[["a","p"],["AM","PM"],d],[["AM","PM"],d,d],[["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"]],d,[["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"]],d,[["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}",d,"{1} 'at' {0}",d],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",{},function(t){var e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}],v={},y=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({}),g=new r.InjectionToken("UseV4Plurals"),m=function(){return function(){}}(),_=function(t){function e(e,n){var r=t.call(this)||this;return r.locale=e,r.deprecatedPluralFn=n,r}return Object(o.__extends)(e,t),e.prototype.getPluralCategory=function(t,e){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(e||this.locale,t):function(t){return function(t){var e=t.toLowerCase().replace(/_/g,"-"),n=v[e];if(n)return n;var r=e.split("-")[0];if(n=v[r])return n;if("en"===r)return h;throw new Error('Missing locale data for the locale "'+t+'".')}(t)[18]}(e||this.locale)(t)){case y.Zero:return"zero";case y.One:return"one";case y.Two:return"two";case y.Few:return"few";case y.Many:return"many";default:return"other"}},e}(m);function b(t,e){var n,r;e=encodeURIComponent(e);try{for(var i=Object(o.__values)(t.split(";")),a=i.next();!a.done;a=i.next()){var s=a.value,u=s.indexOf("="),c=Object(o.__read)(-1==u?[s,""]:[s.slice(0,u),s.slice(u+1)],2),l=c[1];if(c[0].trim()===e)return decodeURIComponent(l)}}catch(f){n={error:f}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return null}var w=function(){function t(t,e,n,r){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=r,this._initialClasses=[]}return Object.defineProperty(t.prototype,"klass",{set:function(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClass",{set:function(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(r["\u0275isListLikeIterable"])(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){if(this._iterableDiffer){var t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){var e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}},t.prototype._applyKeyValueChanges=function(t){var e=this;t.forEachAddedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachChangedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachRemovedItem(function(t){t.previousValue&&e._toggleClass(t.key,!1)})},t.prototype._applyIterableChanges=function(t){var e=this;t.forEachAddedItem(function(t){if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Object(r["\u0275stringify"])(t.item));e._toggleClass(t.item,!0)}),t.forEachRemovedItem(function(t){return e._toggleClass(t.item,!1)})},t.prototype._applyClasses=function(t){var e=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach(function(t){return e._toggleClass(t,!0)}):Object.keys(t).forEach(function(n){return e._toggleClass(n,!!t[n])}))},t.prototype._removeClasses=function(t){var e=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach(function(t){return e._toggleClass(t,!1)}):Object.keys(t).forEach(function(t){return e._toggleClass(t,!1)}))},t.prototype._toggleClass=function(t,e){var n=this;(t=t.trim())&&t.split(/\s+/g).forEach(function(t){e?n._renderer.addClass(n._ngEl.nativeElement,t):n._renderer.removeClass(n._ngEl.nativeElement,t)})},t}(),C=function(){function t(t,e,n,r){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=r}return Object.defineProperty(t.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),t}(),S=function(){function t(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOfDirty=!0,this._differ=null}return Object.defineProperty(t.prototype,"ngForOf",{set:function(t){this._ngForOf=t,this._ngForOfDirty=!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(t){Object(r.isDevMode)()&&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},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTemplate",{set:function(t){t&&(this._template=t)},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var t=this._ngForOf;if(!this._differ&&t)try{this._differ=this._differs.find(t).create(this.ngForTrackBy)}catch(r){throw new Error("Cannot find a differ supporting object '"+t+"' of type '"+((e=t).name||typeof e)+"'. NgFor only supports binding to Iterables such as Arrays.")}}var e;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}},t.prototype._applyChanges=function(t){var e=this,n=[];t.forEachOperation(function(t,r,o){if(null==t.previousIndex){var i=e._viewContainer.createEmbeddedView(e._template,new C(null,e._ngForOf,-1,-1),o),a=new E(t,i);n.push(a)}else null==o?e._viewContainer.remove(r):(i=e._viewContainer.get(r),e._viewContainer.move(i,o),a=new E(t,i),n.push(a))});for(var r=0;r<n.length;r++)this._perViewChange(n[r].view,n[r].record);r=0;for(var o=this._viewContainer.length;r<o;r++){var i=this._viewContainer.get(r);i.context.index=r,i.context.count=o,i.context.ngForOf=this._ngForOf}t.forEachIdentityChange(function(t){e._viewContainer.get(t.currentIndex).context.$implicit=t.item})},t.prototype._perViewChange=function(t,e){t.context.$implicit=e.item},t.ngTemplateContextGuard=function(t,e){return!0},t}(),E=function(){return function(t,e){this.record=t,this.view=e}}(),O=function(){function t(t,e){this._viewContainer=t,this._context=new x,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}return Object.defineProperty(t.prototype,"ngIf",{set:function(t){this._context.$implicit=this._context.ngIf=t,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngIfThen",{set:function(t){T("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngIfElse",{set:function(t){T("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),t.prototype._updateView=function(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))},t.ngTemplateGuard_ngIf=function(t,e){return!0},t}(),x=function(){return function(){this.$implicit=null,this.ngIf=null}}();function T(t,e){if(e&&!e.createEmbeddedView)throw new Error(t+" must be a TemplateRef, but received '"+Object(r["\u0275stringify"])(e)+"'.")}var j=function(){function t(){}return t.prototype.createSubscription=function(t,e){return t.subscribe({next:e,error:function(t){throw t}})},t.prototype.dispose=function(t){t.unsubscribe()},t.prototype.onDestroy=function(t){t.unsubscribe()},t}(),k=new(function(){function t(){}return t.prototype.createSubscription=function(t,e){return t.then(e,function(t){throw t})},t.prototype.dispose=function(t){},t.prototype.onDestroy=function(t){},t}()),I=new j,P=function(){function t(t){this._ref=t,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}var e;return e=t,t.prototype.ngOnDestroy=function(){this._subscription&&this._dispose()},t.prototype.transform=function(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue===this._latestReturnedValue?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,r.WrappedValue.wrap(this._latestValue)):(t&&this._subscribe(t),this._latestReturnedValue=this._latestValue,this._latestValue)},t.prototype._subscribe=function(t){var e=this;this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,function(n){return e._updateLatestValue(t,n)})},t.prototype._selectStrategy=function(t){if(Object(r["\u0275isPromise"])(t))return k;if(Object(r["\u0275isObservable"])(t))return I;throw n=e,Error("InvalidPipeArgument: '"+t+"' for pipe '"+Object(r["\u0275stringify"])(n)+"'");var n},t.prototype._dispose=function(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null},t.prototype._updateLatestValue=function(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())},t}(),R=function(){return function(){}}(),A=new r.InjectionToken("DocumentToken"),N="browser",D="server";function M(t){return t===N}function F(t){return t===D}var V=function(){function t(){}return t.ngInjectableDef=Object(r.defineInjectable)({providedIn:"root",factory:function(){return new L(Object(r.inject)(A),window)}}),t}(),L=function(){function t(t,e){this.document=t,this.window=e,this.offset=function(){return[0,0]}}return t.prototype.setOffset=function(t){this.offset=Array.isArray(t)?function(){return t}:t},t.prototype.getScrollPosition=function(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]},t.prototype.scrollToPosition=function(t){this.supportScrollRestoration()&&this.window.scrollTo(t[0],t[1])},t.prototype.scrollToAnchor=function(t){if(this.supportScrollRestoration()){var e=this.document.querySelector("#"+t);if(e)return void this.scrollToElement(e);var n=this.document.querySelector("[name='"+t+"']");if(n)return void this.scrollToElement(n)}},t.prototype.setHistoryScrollRestoration=function(t){if(this.supportScrollRestoration()){var e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}},t.prototype.scrollToElement=function(t){var e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(n-o[0],r-o[1])},t.prototype.supportScrollRestoration=function(){try{return!!this.window&&!!this.window.scrollTo}catch(t){return!1}},t}()},JcRv:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("xTla"),o=function(t){return function(e){var n=t[r.a]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(e)}}},K9Ia:function(t,e,n){"use strict";var r=n("mrSG"),o=n("6blF"),i=n("FFOo"),a=n("pugT"),s=n("8g8A"),u=function(t){function e(e,n){var r=t.call(this)||this;return r.subject=e,r.subscriber=n,r.closed=!1,r}return r.__extends(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},e}(a.a),c=n("L/V9");n.d(e,"b",function(){return l}),n.d(e,"a",function(){return f});var l=function(t){function e(e){var n=t.call(this,e)||this;return n.destination=e,n}return r.__extends(e,t),e}(i.a),f=function(t){function e(){var e=t.call(this)||this;return e.observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return r.__extends(e,t),e.prototype[c.a]=function(){return new l(this)},e.prototype.lift=function(t){var e=new p(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new s.a;if(!this.isStopped)for(var e=this.observers,n=e.length,r=e.slice(),o=0;o<n;o++)r[o].next(t)},e.prototype.error=function(t){if(this.closed)throw new s.a;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var e=this.observers,n=e.length,r=e.slice(),o=0;o<n;o++)r[o].error(t);this.observers.length=0},e.prototype.complete=function(){if(this.closed)throw new s.a;this.isStopped=!0;for(var t=this.observers,e=t.length,n=t.slice(),r=0;r<e;r++)n[r].complete();this.observers.length=0},e.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},e.prototype._trySubscribe=function(e){if(this.closed)throw new s.a;return t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){if(this.closed)throw new s.a;return this.hasError?(t.error(this.thrownError),a.a.EMPTY):this.isStopped?(t.complete(),a.a.EMPTY):(this.observers.push(t),new u(this,t))},e.prototype.asObservable=function(){var t=new o.a;return t.source=this,t},e.create=function(t,e){return new p(t,e)},e}(o.a),p=function(t){function e(e,n){var r=t.call(this)||this;return r.destination=e,r.source=n,r}return r.__extends(e,t),e.prototype.next=function(t){var e=this.destination;e&&e.next&&e.next(t)},e.prototype.error=function(t){var e=this.destination;e&&e.error&&this.destination.error(t)},e.prototype.complete=function(){var t=this.destination;t&&t.complete&&this.destination.complete()},e.prototype._subscribe=function(t){return this.source?this.source.subscribe(t):a.a.EMPTY},e}(f)},"L/V9":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},MGBS:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("mrSG"),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.notifyNext=function(t,e,n,r,o){this.destination.next(e)},e.prototype.notifyError=function(t,e){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.destination.complete()},e}(n("FFOo").a)},McSo:function(t,e,n){"use strict";function r(t){return null!=t&&"object"==typeof t}n.d(e,"a",function(){return r})},PU8L:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("6blF");function o(t){var e=new r.a(function(e){e.next(t),e.complete()});return e._isScalar=!0,e.value=t,e}},Phjn:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("psW0");function o(t,e){return Object(r.a)(t,e,1)}},S1nX:function(t,e,n){"use strict";var r=n("mrSG"),o=n("K9Ia"),i=n("6blF"),a=n("FFOo"),s=n("pugT");function u(){return function(t){return t.lift(new c(t))}}var c=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new l(t,n),o=e.subscribe(r);return r.closed||(r.connection=n.connect()),o},t}(),l=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return r.__extends(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},e}(a.a),f=function(t){function e(e,n){var r=t.call(this)||this;return r.source=e,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return r.__extends(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new s.a).add(this.source.subscribe(new d(this.getSubject(),this))),t.closed?(this._connection=null,t=s.a.EMPTY):this._connection=t),t},e.prototype.refCount=function(){return u()(this)},e}(i.a).prototype,p={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:f._subscribe},_isComplete:{value:f._isComplete,writable:!0},getSubject:{value:f.getSubject},connect:{value:f.connect},refCount:{value:f.refCount}},d=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return r.__extends(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(o.b);function h(){return new o.a}function v(){return function(t){return u()((e=h,function(t){var n;n="function"==typeof e?e:function(){return e};var r=Object.create(t,p);return r.source=t,r.subjectFactory=n,r})(t));var e}}n.d(e,"a",function(){return v})},S5XQ:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("DKTb"),o=function(t){return function(e){return t.then(function(t){e.closed||(e.next(t),e.complete())},function(t){return e.error(t)}).then(null,r.a),e}}},T1DM:function(t,e,n){"use strict";var r=n("mrSG"),o=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.scheduler=e,r.work=n,r.pending=!1,r}return r.__extends(e,t),e.prototype.schedule=function(t,e){if(void 0===e&&(e=0),this.closed)return this;this.state=t;var n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(r,this.id,e),this},e.prototype.requestAsyncId=function(t,e,n){return void 0===n&&(n=0),setInterval(t.flush.bind(t,this),n)},e.prototype.recycleAsyncId=function(t,e,n){if(void 0===n&&(n=0),null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)},e.prototype.execute=function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(t,e){var n=!1,r=void 0;try{this.work(t)}catch(o){n=!0,r=!!o&&o||new Error(o)}if(n)return this.unsubscribe(),r},e.prototype._unsubscribe=function(){var t=this.id,e=this.scheduler,n=e.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null},e}(function(t){function e(e,n){return t.call(this)||this}return r.__extends(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(n("pugT").a)),i=function(){function t(e,n){void 0===n&&(n=t.now),this.SchedulerAction=e,this.now=n}return t.prototype.schedule=function(t,e,n){return void 0===e&&(e=0),new this.SchedulerAction(this,t).schedule(n,e)},t.now=function(){return Date.now()},t}(),a=function(t){function e(n,r){void 0===r&&(r=i.now);var o=t.call(this,n,function(){return e.delegate&&e.delegate!==o?e.delegate.now():r()})||this;return o.actions=[],o.active=!1,o.scheduled=void 0,o}return r.__extends(e,t),e.prototype.schedule=function(n,r,o){return void 0===r&&(r=0),e.delegate&&e.delegate!==this?e.delegate.schedule(n,r,o):t.prototype.schedule.call(this,n,r,o)},e.prototype.flush=function(t){var e=this.actions;if(this.active)e.push(t);else{var 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}}},e}(i);n.d(e,"a",function(){return s});var s=new a(o)},Txjg:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("Zn8D");function o(){return Object(r.a)(1)}},"VnD/":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("mrSG"),o=n("FFOo");function i(t,e){return function(n){return n.lift(new a(t,e))}}var a=function(){function t(t,e){this.predicate=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.predicate,this.thisArg))},t}(),s=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.predicate=n,o.thisArg=r,o.count=0,o}return r.__extends(e,t),e.prototype._next=function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)},e}(o.a)},ZYCi:function(t,e,n){"use strict";var r=n("mrSG"),o=n("CcnG"),i=n("F/XL"),a=n("0/uQ"),s=n("K9Ia"),u=n("8g8A"),c=function(t){function e(e){var n=t.call(this)||this;return n._value=e,n}return r.__extends(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),e.prototype._subscribe=function(e){var n=t.prototype._subscribe.call(this,e);return n&&!n.closed&&e.next(this._value),n},e.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new u.a;return this._value},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(s.a),l=n("6blF");function f(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}f.prototype=Object.create(Error.prototype);var p=f,d=n("nkY7"),h=n("isby"),v=n("MGBS"),y=n("zotm"),g=n("IUTb"),m={},_=function(){function t(t){this.resultSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new b(t,this.resultSelector))},t}(),b=function(t){function e(e,n){var r=t.call(this,e)||this;return r.resultSelector=n,r.active=0,r.values=[],r.observables=[],r}return r.__extends(e,t),e.prototype._next=function(t){this.values.push(m),this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(var n=0;n<e;n++){var r=t[n];this.add(Object(y.a)(this,r,r,n))}}},e.prototype.notifyComplete=function(t){0==(this.active-=1)&&this.destination.complete()},e.prototype.notifyNext=function(t,e,n,r,o){var i=this.values,a=this.toRespond?i[n]===m?--this.toRespond:this.toRespond:0;i[n]=e,0===a&&(this.resultSelector?this._tryResultSelector(i):this.destination.next(i.slice()))},e.prototype._tryResultSelector=function(t){var e;try{e=this.resultSelector.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)},e}(v.a),w=n("G5J1");function C(t){return new l.a(function(e){var n;try{n=t()}catch(r){return void e.error(r)}return(n?Object(a.a)(n):Object(w.b)()).subscribe(e)})}var S=n("67Y/"),E=n("Txjg"),O=n("VnD/"),x=n("FFOo"),T=n("b7mW");function j(t){return function(e){return 0===t?Object(w.b)():e.lift(new k(t))}}var k=function(){function t(t){if(this.total=t,this.total<0)throw new T.a}return t.prototype.call=function(t,e){return e.subscribe(new I(t,this.total))},t}(),I=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.ring=new Array,r.count=0,r}return r.__extends(e,t),e.prototype._next=function(t){var e=this.ring,n=this.total,r=this.count++;e.length<n?e.push(t):e[r%n]=t},e.prototype._complete=function(){var t=this.destination,e=this.count;if(e>0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,o=0;o<n;o++){var i=e++%n;t.next(r[i])}t.complete()},e}(x.a),P=n("xMyE"),R=function(t){return void 0===t&&(t=A),Object(P.a)({hasValue:!1,next:function(){this.hasValue=!0},complete:function(){if(!this.hasValue)throw t()}})};function A(){return new p}function N(t){return void 0===t&&(t=null),function(e){return e.lift(new D(t))}}var D=function(){function t(t){this.defaultValue=t}return t.prototype.call=function(t,e){return e.subscribe(new M(t,this.defaultValue))},t}(),M=function(t){function e(e,n){var r=t.call(this,e)||this;return r.defaultValue=n,r.isEmpty=!0,r}return r.__extends(e,t),e.prototype._next=function(t){this.isEmpty=!1,this.destination.next(t)},e.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},e}(x.a),F=n("mChF");function V(t,e){var n=arguments.length>=2;return function(r){return r.pipe(t?Object(O.a)(function(e,n){return t(e,n,r)}):F.a,j(1),n?N(e):R(function(){return new p}))}}var L=n("9Z1F"),U=n("t9fZ");function H(t,e){var n=arguments.length>=2;return function(r){return r.pipe(t?Object(O.a)(function(e,n){return t(e,n,r)}):F.a,Object(U.a)(1),n?N(e):R(function(){return new p}))}}var B=n("psW0"),z=function(){function t(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}return t.prototype.call=function(t,e){return e.subscribe(new q(t,this.predicate,this.thisArg,this.source))},t}(),q=function(t){function e(e,n,r,o){var i=t.call(this,e)||this;return i.predicate=n,i.thisArg=r,i.source=o,i.index=0,i.thisArg=r||i,i}return r.__extends(e,t),e.prototype.notifyComplete=function(t){this.destination.next(t),this.destination.complete()},e.prototype._next=function(t){var e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(n){return void this.destination.error(n)}e||this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(x.a),Q=n("rPjj");function K(t,e){return"function"==typeof e?function(n){return n.pipe(K(function(n,r){return Object(a.a)(t(n,r)).pipe(Object(S.a)(function(t,o){return e(n,t,r,o)}))}))}:function(e){return e.lift(new Z(t))}}var Z=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new G(t,this.project))},t}(),G=function(t){function e(e,n){var r=t.call(this,e)||this;return r.project=n,r.index=0,r}return r.__extends(e,t),e.prototype._next=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(r){return void this.destination.error(r)}this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var r=this.innerSubscription;r&&r.unsubscribe();var o=new Q.a(this,void 0,void 0);this.destination.add(o),this.innerSubscription=Object(y.a)(this,t,e,n,o)},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this),this.unsubscribe()},e.prototype._unsubscribe=function(){this.innerSubscription=null},e.prototype.notifyComplete=function(e){this.destination.remove(e),this.innerSubscription=null,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,r,o){this.destination.next(e)},e}(v.a),W=n("p0Sj");function Y(t,e){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new J(t,e,n))}}var J=function(){function t(t,e,n){void 0===n&&(n=!1),this.accumulator=t,this.seed=e,this.hasSeed=n}return t.prototype.call=function(t,e){return e.subscribe(new $(t,this.accumulator,this.seed,this.hasSeed))},t}(),$=function(t){function e(e,n,r,o){var i=t.call(this,e)||this;return i.accumulator=n,i._seed=r,i.hasSeed=o,i.index=0,i}return r.__extends(e,t),Object.defineProperty(e.prototype,"seed",{get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t},enumerable:!0,configurable:!0}),e.prototype._next=function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(r){this.destination.error(r)}this.seed=e,this.destination.next(e)},e}(x.a),X=n("Phjn"),tt=n("y3By"),et=n("2WpN"),nt=n("Zn8D"),rt=n("Ip0R"),ot=n("ZYjt");n.d(e,"s",function(){return Rn}),n.d(e,"z",function(){return Bn}),n.d(e,"u",function(){return Mn}),n.d(e,"A",function(){return zn}),n.d(e,"B",function(){return qn}),n.d(e,"w",function(){return Vn}),n.d(e,"v",function(){return Fn}),n.d(e,"y",function(){return Hn}),n.d(e,"t",function(){return Nn}),n.d(e,"x",function(){return Un}),n.d(e,"C",function(){return In}),n.d(e,"l",function(){return bn}),n.d(e,"n",function(){return En}),n.d(e,"j",function(){return ln}),n.d(e,"k",function(){return _n}),n.d(e,"i",function(){return pn}),n.d(e,"g",function(){return Pn}),n.d(e,"h",function(){return Qn}),n.d(e,"m",function(){return Dn}),n.d(e,"b",function(){return Sn}),n.d(e,"d",function(){return jn}),n.d(e,"e",function(){return Tn}),n.d(e,"f",function(){return xn}),n.d(e,"o",function(){return kn}),n.d(e,"a",function(){return de}),n.d(e,"p",function(){return hn}),n.d(e,"c",function(){return Kt}),n.d(e,"q",function(){return Qt}),n.d(e,"r",function(){return Ct});var it=function(){return function(t,e){this.id=t,this.url=e}}(),at=function(t){function e(e,n,r,o){void 0===r&&(r="imperative"),void 0===o&&(o=null);var i=t.call(this,e,n)||this;return i.navigationTrigger=r,i.restoredState=o,i}return Object(r.__extends)(e,t),e.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"},e}(it),st=function(t){function e(e,n,r){var o=t.call(this,e,n)||this;return o.urlAfterRedirects=r,o}return Object(r.__extends)(e,t),e.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"},e}(it),ut=function(t){function e(e,n,r){var o=t.call(this,e,n)||this;return o.reason=r,o}return Object(r.__extends)(e,t),e.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"},e}(it),ct=function(t){function e(e,n,r){var o=t.call(this,e,n)||this;return o.error=r,o}return Object(r.__extends)(e,t),e.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"},e}(it),lt=function(t){function e(e,n,r,o){var i=t.call(this,e,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return Object(r.__extends)(e,t),e.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(it),ft=function(t){function e(e,n,r,o){var i=t.call(this,e,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return Object(r.__extends)(e,t),e.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(it),pt=function(t){function e(e,n,r,o,i){var a=t.call(this,e,n)||this;return a.urlAfterRedirects=r,a.state=o,a.shouldActivate=i,a}return Object(r.__extends)(e,t),e.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"},e}(it),dt=function(t){function e(e,n,r,o){var i=t.call(this,e,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return Object(r.__extends)(e,t),e.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(it),ht=function(t){function e(e,n,r,o){var i=t.call(this,e,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return Object(r.__extends)(e,t),e.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(it),vt=function(){function t(t){this.route=t}return t.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"},t}(),yt=function(){function t(t){this.route=t}return t.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"},t}(),gt=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),mt=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),_t=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),bt=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),wt=function(){function t(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}return t.prototype.toString=function(){return"Scroll(anchor: '"+this.anchor+"', position: '"+(this.position?this.position[0]+", "+this.position[1]:null)+"')"},t}(),Ct=function(){return function(){}}(),St="primary",Et=function(){function t(t){this.params=t||{}}return t.prototype.has=function(t){return this.params.hasOwnProperty(t)},t.prototype.get=function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e[0]:e}return null},t.prototype.getAll=function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e:[e]}return[]},Object.defineProperty(t.prototype,"keys",{get:function(){return Object.keys(this.params)},enumerable:!0,configurable:!0}),t}();function Ot(t){return new Et(t)}var xt="ngNavigationCancelingError";function Tt(t){var e=Error("NavigationCancelingError: "+t);return e[xt]=!0,e}function jt(t,e,n){var r=n.path.split("/");if(r.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||r.length<t.length))return null;for(var o={},i=0;i<r.length;i++){var a=r[i],s=t[i];if(a.startsWith(":"))o[a.substring(1)]=s;else if(a!==s.path)return null}return{consumed:t.slice(0,r.length),posParams:o}}var kt=function(){return function(t,e){this.routes=t,this.module=e}}();function It(t,e){void 0===e&&(e="");for(var n=0;n<t.length;n++){var r=t[n];Pt(r,Rt(e,r))}}function Pt(t,e){if(!t)throw new Error("\n Invalid configuration of route '"+e+"': Encountered undefined route.\n The reason might be an extra comma.\n\n Example:\n const routes: Routes = [\n { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n { path: 'dashboard', component: DashboardComponent },, << two commas\n { path: 'detail/:id', component: HeroDetailComponent }\n ];\n ");if(Array.isArray(t))throw new Error("Invalid configuration of route '"+e+"': Array cannot be specified");if(!t.component&&!t.children&&!t.loadChildren&&t.outlet&&t.outlet!==St)throw new Error("Invalid configuration of route '"+e+"': a componentless route without children or loadChildren cannot have a named outlet set");if(t.redirectTo&&t.children)throw new Error("Invalid configuration of route '"+e+"': redirectTo and children cannot be used together");if(t.redirectTo&&t.loadChildren)throw new Error("Invalid configuration of route '"+e+"': redirectTo and loadChildren cannot be used together");if(t.children&&t.loadChildren)throw new Error("Invalid configuration of route '"+e+"': children and loadChildren cannot be used together");if(t.redirectTo&&t.component)throw new Error("Invalid configuration of route '"+e+"': redirectTo and component cannot be used together");if(t.path&&t.matcher)throw new Error("Invalid configuration of route '"+e+"': path and matcher cannot be used together");if(void 0===t.redirectTo&&!t.component&&!t.children&&!t.loadChildren)throw new Error("Invalid configuration of route '"+e+"'. One of the following must be provided: component, redirectTo, children or loadChildren");if(void 0===t.path&&void 0===t.matcher)throw new Error("Invalid configuration of route '"+e+"': routes must have either a path or a matcher specified");if("string"==typeof t.path&&"/"===t.path.charAt(0))throw new Error("Invalid configuration of route '"+e+"': path cannot start with a slash");if(""===t.path&&void 0!==t.redirectTo&&void 0===t.pathMatch)throw new Error("Invalid configuration of route '{path: \""+e+'", redirectTo: "'+t.redirectTo+"\"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.");if(void 0!==t.pathMatch&&"full"!==t.pathMatch&&"prefix"!==t.pathMatch)throw new Error("Invalid configuration of route '"+e+"': pathMatch can only be set to 'prefix' or 'full'");t.children&&It(t.children,e)}function Rt(t,e){return e?t||e.path?t&&!e.path?t+"/":!t&&e.path?e.path:t+"/"+e.path:"":t}function At(t){var e=t.children&&t.children.map(At),n=e?Object(r.__assign)({},t,{children:e}):Object(r.__assign)({},t);return!n.component&&(e||n.loadChildren)&&n.outlet&&n.outlet!==St&&(n.component=Ct),n}function Nt(t,e){var n,r=Object.keys(t),o=Object.keys(e);if(r.length!=o.length)return!1;for(var i=0;i<r.length;i++)if(t[n=r[i]]!==e[n])return!1;return!0}function Dt(t){return Array.prototype.concat.apply([],t)}function Mt(t){return t.length>0?t[t.length-1]:null}function Ft(t,e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)}function Vt(t){return Object(o["\u0275isObservable"])(t)?t:Object(o["\u0275isPromise"])(t)?Object(a.a)(Promise.resolve(t)):Object(i.a)(t)}function Lt(t,e,n){return n?function(t,e){return Nt(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!zt(e.segments,n.segments))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(var r in n.children){if(!e.children[r])return!1;if(!t(e.children[r],n.children[r]))return!1}return!0}(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(function(n){return e[n]===t[n]})}(t.queryParams,e.queryParams)&&function t(e,n){return function e(n,r,o){if(n.segments.length>o.length)return!!zt(a=n.segments.slice(0,o.length),o)&&!r.hasChildren();if(n.segments.length===o.length){if(!zt(n.segments,o))return!1;for(var i in r.children){if(!n.children[i])return!1;if(!t(n.children[i],r.children[i]))return!1}return!0}var a=o.slice(0,n.segments.length),s=o.slice(n.segments.length);return!!zt(n.segments,a)&&!!n.children[St]&&e(n.children[St],r,s)}(e,n,n.segments)}(t.root,e.root)}var Ut=function(){function t(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}return Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=Ot(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return Zt.serialize(this)},t}(),Ht=function(){function t(t,e){var n=this;this.segments=t,this.children=e,this.parent=null,Ft(e,function(t,e){return t.parent=n})}return t.prototype.hasChildren=function(){return this.numberOfChildren>0},Object.defineProperty(t.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return Gt(this)},t}(),Bt=function(){function t(t,e){this.path=t,this.parameters=e}return Object.defineProperty(t.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=Ot(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return te(this)},t}();function zt(t,e){return t.length===e.length&&t.every(function(t,n){return t.path===e[n].path})}function qt(t,e){var n=[];return Ft(t.children,function(t,r){r===St&&(n=n.concat(e(t,r)))}),Ft(t.children,function(t,r){r!==St&&(n=n.concat(e(t,r)))}),n}var Qt=function(){return function(){}}(),Kt=function(){function t(){}return t.prototype.parse=function(t){var e=new ie(t);return new Ut(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())},t.prototype.serialize=function(t){var e,n;return"/"+function t(e,n){if(!e.hasChildren())return Gt(e);if(n){var r=e.children[St]?t(e.children[St],!1):"",o=[];return Ft(e.children,function(e,n){n!==St&&o.push(n+":"+t(e,!1))}),o.length>0?r+"("+o.join("//")+")":r}var i=qt(e,function(n,r){return r===St?[t(e.children[St],!1)]:[r+":"+t(n,!1)]});return Gt(e)+"/("+i.join("//")+")"}(t.root,!0)+(e=t.queryParams,(n=Object.keys(e).map(function(t){var n=e[t];return Array.isArray(n)?n.map(function(e){return Yt(t)+"="+Yt(e)}).join("&"):Yt(t)+"="+Yt(n)})).length?"?"+n.join("&"):"")+("string"==typeof t.fragment?"#"+encodeURI(t.fragment):"")},t}(),Zt=new Kt;function Gt(t){return t.segments.map(function(t){return te(t)}).join("/")}function Wt(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Yt(t){return Wt(t).replace(/%3B/gi,";")}function Jt(t){return Wt(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function $t(t){return decodeURIComponent(t)}function Xt(t){return $t(t.replace(/\+/g,"%20"))}function te(t){return""+Jt(t.path)+(e=t.parameters,Object.keys(e).map(function(t){return";"+Jt(t)+"="+Jt(e[t])}).join(""));var e}var ee=/^[^\/()?;=#]+/;function ne(t){var e=t.match(ee);return e?e[0]:""}var re=/^[^=?&#]+/,oe=/^[^?&#]+/,ie=function(){function t(t){this.url=t,this.remaining=t}return t.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ht([],{}):new Ht([],this.parseChildren())},t.prototype.parseQueryParams=function(){var t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t},t.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null},t.prototype.parseChildren=function(){if(""===this.remaining)return{};this.consumeOptional("/");var t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());var e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n[St]=new Ht(t,e)),n},t.prototype.parseSegment=function(){var t=ne(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(t),new Bt($t(t),this.parseMatrixParams())},t.prototype.parseMatrixParams=function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t},t.prototype.parseParam=function(t){var e=ne(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var r=ne(this.remaining);r&&this.capture(n=r)}t[$t(e)]=$t(n)}},t.prototype.parseQueryParam=function(t){var e,n=(e=this.remaining.match(re))?e[0]:"";if(n){this.capture(n);var r="";if(this.consumeOptional("=")){var o=function(t){var e=t.match(oe);return e?e[0]:""}(this.remaining);o&&this.capture(r=o)}var i=Xt(n),a=Xt(r);if(t.hasOwnProperty(i)){var s=t[i];Array.isArray(s)||(t[i]=s=[s]),s.push(a)}else t[i]=a}},t.prototype.parseParens=function(t){var e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=ne(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error("Cannot parse url '"+this.url+"'");var o=void 0;n.indexOf(":")>-1?(o=n.substr(0,n.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=St);var i=this.parseChildren();e[o]=1===Object.keys(i).length?i[St]:new Ht([],i),this.consumeOptional("//")}return e},t.prototype.peekStartsWith=function(t){return this.remaining.startsWith(t)},t.prototype.consumeOptional=function(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)},t.prototype.capture=function(t){if(!this.consumeOptional(t))throw new Error('Expected "'+t+'".')},t}(),ae=function(){function t(t){this._root=t}return Object.defineProperty(t.prototype,"root",{get:function(){return this._root.value},enumerable:!0,configurable:!0}),t.prototype.parent=function(t){var e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null},t.prototype.children=function(t){var e=se(t,this._root);return e?e.children.map(function(t){return t.value}):[]},t.prototype.firstChild=function(t){var e=se(t,this._root);return e&&e.children.length>0?e.children[0].value:null},t.prototype.siblings=function(t){var e=ue(t,this._root);return e.length<2?[]:e[e.length-2].children.map(function(t){return t.value}).filter(function(e){return e!==t})},t.prototype.pathFromRoot=function(t){return ue(t,this._root).map(function(t){return t.value})},t}();function se(t,e){var n,o;if(t===e.value)return e;try{for(var i=Object(r.__values)(e.children),a=i.next();!a.done;a=i.next()){var s=se(t,a.value);if(s)return s}}catch(u){n={error:u}}finally{try{a&&!a.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}return null}function ue(t,e){var n,o;if(t===e.value)return[e];try{for(var i=Object(r.__values)(e.children),a=i.next();!a.done;a=i.next()){var s=ue(t,a.value);if(s.length)return s.unshift(e),s}}catch(u){n={error:u}}finally{try{a&&!a.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}return[]}var ce=function(){function t(t,e){this.value=t,this.children=e}return t.prototype.toString=function(){return"TreeNode("+this.value+")"},t}();function le(t){var e={};return t&&t.children.forEach(function(t){return e[t.value.outlet]=t}),e}var fe=function(t){function e(e,n){var r=t.call(this,e)||this;return r.snapshot=n,ge(r,e),r}return Object(r.__extends)(e,t),e.prototype.toString=function(){return this.snapshot.toString()},e}(ae);function pe(t,e){var n=function(t,e){var n=new ve([],{},{},"",{},St,e,null,t.root,-1,{});return new ye("",new ce(n,[]))}(t,e),r=new c([new Bt("",{})]),o=new c({}),i=new c({}),a=new c({}),s=new c(""),u=new de(r,o,a,s,i,St,e,n.root);return u.snapshot=n.root,new fe(new ce(u,[]),n)}var de=function(){function t(t,e,n,r,o,i,a,s){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=i,this.component=a,this._futureSnapshot=s}return Object.defineProperty(t.prototype,"routeConfig",{get:function(){return this._futureSnapshot.routeConfig},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=this.params.pipe(Object(S.a)(function(t){return Ot(t)}))),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(S.a)(function(t){return Ot(t)}))),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},t}();function he(t,e){void 0===e&&(e="emptyOnly");var n=t.pathFromRoot,o=0;if("always"!==e)for(o=n.length-1;o>=1;){var i=n[o],a=n[o-1];if(i.routeConfig&&""===i.routeConfig.path)o--;else{if(a.component)break;o--}}return function(t){return t.reduce(function(t,e){return{params:Object(r.__assign)({},t.params,e.params),data:Object(r.__assign)({},t.data,e.data),resolve:Object(r.__assign)({},t.resolve,e._resolvedData)}},{params:{},data:{},resolve:{}})}(n.slice(o))}var ve=function(){function t(t,e,n,r,o,i,a,s,u,c,l){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=i,this.component=a,this.routeConfig=s,this._urlSegment=u,this._lastPathIndex=c,this._resolve=l}return Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=Ot(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=Ot(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return"Route(url:'"+this.url.map(function(t){return t.toString()}).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"},t}(),ye=function(t){function e(e,n){var r=t.call(this,n)||this;return r.url=e,ge(r,n),r}return Object(r.__extends)(e,t),e.prototype.toString=function(){return me(this._root)},e}(ae);function ge(t,e){e.value._routerState=t,e.children.forEach(function(e){return ge(t,e)})}function me(t){var e=t.children.length>0?" { "+t.children.map(me).join(", ")+" } ":"";return""+t.value+e}function _e(t){if(t.snapshot){var e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,Nt(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),Nt(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(var n=0;n<t.length;++n)if(!Nt(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.url.next(n.url),Nt(e.data,n.data)||t.data.next(n.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function be(t,e){var n,r;return Nt(t.params,e.params)&&zt(n=t.url,r=e.url)&&n.every(function(t,e){return Nt(t.parameters,r[e].parameters)})&&!(!t.parent!=!e.parent)&&(!t.parent||be(t.parent,e.parent))}function we(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function Ce(t,e,n,r,o){var i={};return r&&Ft(r,function(t,e){i[e]=Array.isArray(t)?t.map(function(t){return""+t}):""+t}),new Ut(n.root===t?e:function t(e,n,r){var o={};return Ft(e.children,function(e,i){o[i]=e===n?r:t(e,n,r)}),new Ht(e.segments,o)}(n.root,t,e),i,o)}var Se=function(){function t(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&we(n[0]))throw new Error("Root segment cannot have matrix parameters");var r=n.find(function(t){return"object"==typeof t&&null!=t&&t.outlets});if(r&&r!==Mt(n))throw new Error("{outlets:{}} has to be the last command")}return t.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},t}(),Ee=function(){return function(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}();function Oe(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets[St]:""+t}function xe(t,e,n){if(t||(t=new Ht([],{})),0===t.segments.length&&t.hasChildren())return Te(t,e,n);var r=function(t,e,n){for(var r=0,o=e,i={match:!1,pathIndex:0,commandIndex:0};o<t.segments.length;){if(r>=n.length)return i;var a=t.segments[o],s=Oe(n[r]),u=r<n.length-1?n[r+1]:null;if(o>0&&void 0===s)break;if(s&&u&&"object"==typeof u&&void 0===u.outlets){if(!Pe(s,u,a))return i;r+=2}else{if(!Pe(s,{},a))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}(t,e,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){var i=new Ht(t.segments.slice(0,r.pathIndex),{});return i.children[St]=new Ht(t.segments.slice(r.pathIndex),t.children),Te(i,0,o)}return r.match&&0===o.length?new Ht(t.segments,{}):r.match&&!t.hasChildren()?je(t,e,n):r.match?Te(t,0,o):je(t,e,n)}function Te(t,e,n){if(0===n.length)return new Ht(t.segments,{});var r=function(t){var e,n;return"object"!=typeof t[0]?((e={})[St]=t,e):void 0===t[0].outlets?((n={})[St]=t,n):t[0].outlets}(n),o={};return Ft(r,function(n,r){null!==n&&(o[r]=xe(t.children[r],e,n))}),Ft(t.children,function(t,e){void 0===r[e]&&(o[e]=t)}),new Ht(t.segments,o)}function je(t,e,n){for(var r=t.segments.slice(0,e),o=0;o<n.length;){if("object"==typeof n[o]&&void 0!==n[o].outlets){var i=ke(n[o].outlets);return new Ht(r,i)}if(0===o&&we(n[0]))r.push(new Bt(t.segments[e].path,n[0])),o++;else{var a=Oe(n[o]),s=o<n.length-1?n[o+1]:null;a&&s&&we(s)?(r.push(new Bt(a,Ie(s))),o+=2):(r.push(new Bt(a,{})),o++)}}return new Ht(r,{})}function ke(t){var e={};return Ft(t,function(t,n){null!==t&&(e[n]=je(new Ht([],{}),0,t))}),e}function Ie(t){var e={};return Ft(t,function(t,n){return e[n]=""+t}),e}function Pe(t,e,n){return t==n.path&&Nt(e,n.parameters)}var Re=function(){function t(t,e,n,r){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=r}return t.prototype.activate=function(t){var e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),_e(this.futureState.root),this.activateChildRoutes(e,n,t)},t.prototype.deactivateChildRoutes=function(t,e,n){var r=this,o=le(e);t.children.forEach(function(t){var e=t.value.outlet;r.deactivateRoutes(t,o[e],n),delete o[e]}),Ft(o,function(t,e){r.deactivateRouteAndItsChildren(t,n)})},t.prototype.deactivateRoutes=function(t,e,n){var r=t.value,o=e?e.value:null;if(r===o)if(r.component){var i=n.getContext(r.outlet);i&&this.deactivateChildRoutes(t,e,i.children)}else this.deactivateChildRoutes(t,e,n);else o&&this.deactivateRouteAndItsChildren(e,n)},t.prototype.deactivateRouteAndItsChildren=function(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)},t.prototype.detachAndStoreRouteSubtree=function(t,e){var n=e.getContext(t.value.outlet);if(n&&n.outlet){var r=n.outlet.detach(),o=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:r,route:t,contexts:o})}},t.prototype.deactivateRouteAndOutlet=function(t,e){var n=this,r=e.getContext(t.value.outlet);if(r){var o=le(t),i=t.value.component?r.children:e;Ft(o,function(t,e){return n.deactivateRouteAndItsChildren(t,i)}),r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated())}},t.prototype.activateChildRoutes=function(t,e,n){var r=this,o=le(e);t.children.forEach(function(t){r.activateRoutes(t,o[t.value.outlet],n),r.forwardEvent(new bt(t.value.snapshot))}),t.children.length&&this.forwardEvent(new mt(t.value.snapshot))},t.prototype.activateRoutes=function(t,e,n){var r=t.value,o=e?e.value:null;if(_e(r),r===o)if(r.component){var i=n.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,i.children)}else this.activateChildRoutes(t,e,n);else if(r.component)if(i=n.getOrCreateContext(r.outlet),this.routeReuseStrategy.shouldAttach(r.snapshot)){var a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),i.children.onOutletReAttached(a.contexts),i.attachRef=a.componentRef,i.route=a.route.value,i.outlet&&i.outlet.attach(a.componentRef,a.route.value),Ae(a.route)}else{var s=function(t){for(var e=r.snapshot.parent;e;e=e.parent){var n=e.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig;if(n&&n.component)return null}return null}(),u=s?s.module.componentFactoryResolver:null;i.attachRef=null,i.route=r,i.resolver=u,i.outlet&&i.outlet.activateWith(r,u),this.activateChildRoutes(t,null,i.children)}else this.activateChildRoutes(t,null,n)},t}();function Ae(t){_e(t.value),t.children.forEach(Ae)}function Ne(t){return"function"==typeof t}function De(t){return t instanceof Ut}var Me=function(){return function(t){this.segmentGroup=t||null}}(),Fe=function(){return function(t){this.urlTree=t}}();function Ve(t){return new l.a(function(e){return e.error(new Me(t))})}function Le(t){return new l.a(function(e){return e.error(new Fe(t))})}function Ue(t){return new l.a(function(e){return e.error(new Error("Only absolute redirects can have named outlets. redirectTo: '"+t+"'"))})}var He=function(){function t(t,e,n,r,i){this.configLoader=e,this.urlSerializer=n,this.urlTree=r,this.config=i,this.allowRedirects=!0,this.ngModule=t.get(o.NgModuleRef)}return t.prototype.apply=function(){var t=this;return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,St).pipe(Object(S.a)(function(e){return t.createUrlTree(e,t.urlTree.queryParams,t.urlTree.fragment)})).pipe(Object(L.a)(function(e){if(e instanceof Fe)return t.allowRedirects=!1,t.match(e.urlTree);if(e instanceof Me)throw t.noMatchError(e);throw e}))},t.prototype.match=function(t){var e=this;return this.expandSegmentGroup(this.ngModule,this.config,t.root,St).pipe(Object(S.a)(function(n){return e.createUrlTree(n,t.queryParams,t.fragment)})).pipe(Object(L.a)(function(t){if(t instanceof Me)throw e.noMatchError(t);throw t}))},t.prototype.noMatchError=function(t){return new Error("Cannot match any routes. URL Segment: '"+t.segmentGroup+"'")},t.prototype.createUrlTree=function(t,e,n){var r,o=t.segments.length>0?new Ht([],((r={})[St]=t,r)):t;return new Ut(o,e,n)},t.prototype.expandSegmentGroup=function(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(Object(S.a)(function(t){return new Ht([],t)})):this.expandSegment(t,n,e,n.segments,r,!0)},t.prototype.expandChildren=function(t,e,n){var r=this;return function(n,o){if(0===Object.keys(n).length)return Object(i.a)({});var a=[],s=[],u={};return Ft(n,function(n,o){var i,c,l=(i=o,c=n,r.expandSegmentGroup(t,e,c,i)).pipe(Object(S.a)(function(t){return u[o]=t}));o===St?a.push(l):s.push(l)}),i.a.apply(null,a.concat(s)).pipe(Object(E.a)(),V(),Object(S.a)(function(){return u}))}(n.children)},t.prototype.expandSegment=function(t,e,n,o,a,s){var u=this;return i.a.apply(void 0,Object(r.__spread)(n)).pipe(Object(S.a)(function(r){return u.expandSegmentAgainstRoute(t,e,n,r,o,a,s).pipe(Object(L.a)(function(t){if(t instanceof Me)return Object(i.a)(null);throw t}))}),Object(E.a)(),H(function(t){return!!t}),Object(L.a)(function(t,n){if(t instanceof p||"EmptyError"===t.name){if(u.noLeftoversInUrl(e,o,a))return Object(i.a)(new Ht([],{}));throw new Me(e)}throw t}))},t.prototype.noLeftoversInUrl=function(t,e,n){return 0===e.length&&!t.children[n]},t.prototype.expandSegmentAgainstRoute=function(t,e,n,r,o,i,a){return Qe(r)!==i?Ve(e):void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,o):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,o,i):Ve(e)},t.prototype.expandSegmentAgainstRouteUsingRedirect=function(t,e,n,r,o,i){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,i):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,o,i)},t.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(t,e,n,r){var o=this,i=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Le(i):this.lineralizeSegments(n,i).pipe(Object(B.a)(function(n){var i=new Ht(n,{});return o.expandSegment(t,i,e,n,r,!1)}))},t.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(t,e,n,r,o,i){var a=this,s=Be(e,r,o),u=s.consumedSegments,c=s.lastChild,l=s.positionalParamSegments;if(!s.matched)return Ve(e);var f=this.applyRedirectCommands(u,r.redirectTo,l);return r.redirectTo.startsWith("/")?Le(f):this.lineralizeSegments(r,f).pipe(Object(B.a)(function(r){return a.expandSegment(t,e,n,r.concat(o.slice(c)),i,!1)}))},t.prototype.matchSegmentAgainstRoute=function(t,e,n,o){var a=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(Object(S.a)(function(t){return n._loadedConfig=t,new Ht(o,{})})):Object(i.a)(new Ht(o,{}));var s=Be(e,n,o),u=s.consumedSegments,c=s.lastChild;if(!s.matched)return Ve(e);var l=o.slice(c);return this.getChildConfig(t,n,o).pipe(Object(B.a)(function(t){var n=t.module,o=t.routes,s=function(t,e,n,o){return n.length>0&&function(t,e,n){return o.some(function(n){return qe(t,e,n)&&Qe(n)!==St})}(t,n)?{segmentGroup:ze(new Ht(e,function(t,e){var n,o,i={};i[St]=e;try{for(var a=Object(r.__values)(t),s=a.next();!s.done;s=a.next()){var u=s.value;""===u.path&&Qe(u)!==St&&(i[Qe(u)]=new Ht([],{}))}}catch(c){n={error:c}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}}return i}(o,new Ht(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return o.some(function(n){return qe(t,e,n)})}(t,n)?{segmentGroup:ze(new Ht(t.segments,function(t,e,n,o){var i,a,s={};try{for(var u=Object(r.__values)(n),c=u.next();!c.done;c=u.next()){var l=c.value;qe(t,e,l)&&!o[Qe(l)]&&(s[Qe(l)]=new Ht([],{}))}}catch(f){i={error:f}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(i)throw i.error}}return Object(r.__assign)({},o,s)}(t,n,o,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,u,l,o),c=s.segmentGroup,f=s.slicedSegments;return 0===f.length&&c.hasChildren()?a.expandChildren(n,o,c).pipe(Object(S.a)(function(t){return new Ht(u,t)})):0===o.length&&0===f.length?Object(i.a)(new Ht(u,{})):a.expandSegment(n,c,o,f,St,!0).pipe(Object(S.a)(function(t){return new Ht(u.concat(t.segments),t.children)}))}))},t.prototype.getChildConfig=function(t,e,n){var r=this;return e.children?Object(i.a)(new kt(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Object(i.a)(e._loadedConfig):function(t,e,n){var r,o=e.canLoad;return o&&0!==o.length?Object(a.a)(o).pipe(Object(S.a)(function(r){var o,i=t.get(r);if(function(t){return t&&Ne(t.canLoad)}(i))o=i.canLoad(e,n);else{if(!Ne(i))throw new Error("Invalid CanLoad guard");o=i(e,n)}return Vt(o)})).pipe(Object(E.a)(),(r=function(t){return!0===t},function(t){return t.lift(new z(r,void 0,t))})):Object(i.a)(!0)}(t.injector,e,n).pipe(Object(B.a)(function(n){return n?r.configLoader.load(t.injector,e).pipe(Object(S.a)(function(t){return e._loadedConfig=t,t})):function(t){return new l.a(function(e){return e.error(Tt("Cannot load children because the guard of the route \"path: '"+t.path+"'\" returned false"))})}(e)})):Object(i.a)(new kt([],t))},t.prototype.lineralizeSegments=function(t,e){for(var n=[],r=e.root;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Object(i.a)(n);if(r.numberOfChildren>1||!r.children[St])return Ue(t.redirectTo);r=r.children[St]}},t.prototype.applyRedirectCommands=function(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)},t.prototype.applyRedirectCreatreUrlTree=function(t,e,n,r){var o=this.createSegmentGroup(t,e.root,n,r);return new Ut(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)},t.prototype.createQueryParams=function(t,e){var n={};return Ft(t,function(t,r){if("string"==typeof t&&t.startsWith(":")){var o=t.substring(1);n[r]=e[o]}else n[r]=t}),n},t.prototype.createSegmentGroup=function(t,e,n,r){var o=this,i=this.createSegments(t,e.segments,n,r),a={};return Ft(e.children,function(e,i){a[i]=o.createSegmentGroup(t,e,n,r)}),new Ht(i,a)},t.prototype.createSegments=function(t,e,n,r){var o=this;return e.map(function(e){return e.path.startsWith(":")?o.findPosParam(t,e,r):o.findOrReturn(e,n)})},t.prototype.findPosParam=function(t,e,n){var r=n[e.path.substring(1)];if(!r)throw new Error("Cannot redirect to '"+t+"'. Cannot find '"+e.path+"'.");return r},t.prototype.findOrReturn=function(t,e){var n,o,i=0;try{for(var a=Object(r.__values)(e),s=a.next();!s.done;s=a.next()){var u=s.value;if(u.path===t.path)return e.splice(i),u;i++}}catch(c){n={error:c}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}}return t},t}();function Be(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var r=(e.matcher||jt)(n,t,e);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function ze(t){if(1===t.numberOfChildren&&t.children[St]){var e=t.children[St];return new Ht(t.segments.concat(e.segments),e.children)}return t}function qe(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function Qe(t){return t.outlet||St}var Ke=function(){return function(t){this.path=t,this.route=this.path[this.path.length-1]}}(),Ze=function(){return function(t,e){this.component=t,this.route=e}}();function Ge(t,e,n){var r=function(t){if(!t)return null;for(var e=t.parent;e;e=e.parent){var n=e.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(e);return(r?r.module.injector:n).get(t)}function We(t,e,n){var r=le(t),o=t.value;Ft(r,function(t,r){We(t,o.component?e?e.children.getContext(r):null:e,n)}),n.canDeactivateChecks.push(new Ze(o.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,o))}var Ye=Symbol("INITIAL_VALUE");function Je(){return K(function(t){return(function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=null,r=null;return Object(d.a)(t[t.length-1])&&(r=t.pop()),"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&Object(h.a)(t[0])&&(t=t[0]),Object(g.a)(t,r).lift(new _(n))}).apply(void 0,Object(r.__spread)(t.map(function(t){return t.pipe(Object(U.a)(1),Object(W.a)(Ye))}))).pipe(Y(function(t,e){var n=!1;return e.reduce(function(t,r,o){if(t!==Ye)return t;if(r===Ye&&(n=!0),!n){if(!1===r)return r;if(o===e.length-1||De(r))return r}return t},t)},Ye),Object(O.a)(function(t){return t!==Ye}),Object(S.a)(function(t){return De(t)?t:!0===t}),Object(U.a)(1))})}var $e=function(){return function(){}}(),Xe=function(){function t(t,e,n,r,o,i){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=i}return t.prototype.recognize=function(){try{var t=nn(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,St),n=new ve([],Object.freeze({}),Object.freeze(Object(r.__assign)({},this.urlTree.queryParams)),this.urlTree.fragment,{},St,this.rootComponentType,null,this.urlTree.root,-1,{}),o=new ce(n,e),a=new ye(this.url,o);return this.inheritParamsAndData(a._root),Object(i.a)(a)}catch(s){return new l.a(function(t){return t.error(s)})}},t.prototype.inheritParamsAndData=function(t){var e=this,n=t.value,r=he(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),t.children.forEach(function(t){return e.inheritParamsAndData(t)})},t.prototype.processSegmentGroup=function(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)},t.prototype.processChildren=function(t,e){var n,r=this,o=qt(e,function(e,n){return r.processSegmentGroup(t,e,n)});return n={},o.forEach(function(t){var e=n[t.value.outlet];if(e){var r=e.url.map(function(t){return t.toString()}).join("/"),o=t.value.url.map(function(t){return t.toString()}).join("/");throw new Error("Two segments cannot have the same outlet name: '"+r+"' and '"+o+"'.")}n[t.value.outlet]=t.value}),o.sort(function(t,e){return t.value.outlet===St?-1:e.value.outlet===St?1:t.value.outlet.localeCompare(e.value.outlet)}),o},t.prototype.processSegment=function(t,e,n,o){var i,a;try{for(var s=Object(r.__values)(t),u=s.next();!u.done;u=s.next()){var c=u.value;try{return this.processSegmentAgainstRoute(c,e,n,o)}catch(l){if(!(l instanceof $e))throw l}}}catch(f){i={error:f}}finally{try{u&&!u.done&&(a=s.return)&&a.call(s)}finally{if(i)throw i.error}}if(this.noLeftoversInUrl(e,n,o))return[];throw new $e},t.prototype.noLeftoversInUrl=function(t,e,n){return 0===e.length&&!t.children[n]},t.prototype.processSegmentAgainstRoute=function(t,e,n,o){if(t.redirectTo)throw new $e;if((t.outlet||St)!==o)throw new $e;var i,a=[],s=[];if("**"===t.path){var u=n.length>0?Mt(n).parameters:{};i=new ve(n,u,Object.freeze(Object(r.__assign)({},this.urlTree.queryParams)),this.urlTree.fragment,an(t),o,t.component,t,tn(e),en(e)+n.length,sn(t))}else{var c=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new $e;return{consumedSegments:[],lastChild:0,parameters:{}}}var o=(e.matcher||jt)(n,t,e);if(!o)throw new $e;var i={};Ft(o.posParams,function(t,e){i[e]=t.path});var a=o.consumed.length>0?Object(r.__assign)({},i,o.consumed[o.consumed.length-1].parameters):i;return{consumedSegments:o.consumed,lastChild:o.consumed.length,parameters:a}}(e,t,n);a=c.consumedSegments,s=n.slice(c.lastChild),i=new ve(a,c.parameters,Object.freeze(Object(r.__assign)({},this.urlTree.queryParams)),this.urlTree.fragment,an(t),o,t.component,t,tn(e),en(e)+a.length,sn(t))}var l=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),f=nn(e,a,s,l,this.relativeLinkResolution),p=f.segmentGroup,d=f.slicedSegments;if(0===d.length&&p.hasChildren()){var h=this.processChildren(l,p);return[new ce(i,h)]}if(0===l.length&&0===d.length)return[new ce(i,[])];var v=this.processSegment(l,p,d,St);return[new ce(i,v)]},t}();function tn(t){for(var e=t;e._sourceSegment;)e=e._sourceSegment;return e}function en(t){for(var e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;e._sourceSegment;)n+=(e=e._sourceSegment)._segmentIndexShift?e._segmentIndexShift:0;return n-1}function nn(t,e,n,o,i){if(n.length>0&&function(t,e,n){return o.some(function(n){return rn(t,e,n)&&on(n)!==St})}(t,n)){var a=new Ht(e,function(t,e,n,o){var i,a,s={};s[St]=o,o._sourceSegment=t,o._segmentIndexShift=e.length;try{for(var u=Object(r.__values)(n),c=u.next();!c.done;c=u.next()){var l=c.value;if(""===l.path&&on(l)!==St){var f=new Ht([],{});f._sourceSegment=t,f._segmentIndexShift=e.length,s[on(l)]=f}}}catch(p){i={error:p}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(i)throw i.error}}return s}(t,e,o,new Ht(n,t.children)));return a._sourceSegment=t,a._segmentIndexShift=e.length,{segmentGroup:a,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return o.some(function(n){return rn(t,e,n)})}(t,n)){var s=new Ht(t.segments,function(t,e,n,o,i,a){var s,u,c={};try{for(var l=Object(r.__values)(o),f=l.next();!f.done;f=l.next()){var p=f.value;if(rn(t,n,p)&&!i[on(p)]){var d=new Ht([],{});d._sourceSegment=t,d._segmentIndexShift="legacy"===a?t.segments.length:e.length,c[on(p)]=d}}}catch(h){s={error:h}}finally{try{f&&!f.done&&(u=l.return)&&u.call(l)}finally{if(s)throw s.error}}return Object(r.__assign)({},i,c)}(t,e,n,o,t.children,i));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}var u=new Ht(t.segments,t.children);return u._sourceSegment=t,u._segmentIndexShift=e.length,{segmentGroup:u,slicedSegments:n}}function rn(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function on(t){return t.outlet||St}function an(t){return t.data||{}}function sn(t){return t.resolve||{}}function un(t,e,n,r){var o=Ge(t,e,r);return Vt(o.resolve?o.resolve(e,n):o(e,n))}function cn(t){return function(e){return e.pipe(K(function(e){var n=t(e);return n?Object(a.a)(n).pipe(Object(S.a)(function(){return e})):Object(a.a)([e])}))}}var ln=function(){return function(){}}(),fn=function(){function t(){}return t.prototype.shouldDetach=function(t){return!1},t.prototype.store=function(t,e){},t.prototype.shouldAttach=function(t){return!1},t.prototype.retrieve=function(t){return null},t.prototype.shouldReuseRoute=function(t,e){return t.routeConfig===e.routeConfig},t}(),pn=new o.InjectionToken("ROUTES"),dn=function(){function t(t,e,n,r){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=r}return t.prototype.load=function(t,e){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(e),this.loadModuleFactory(e.loadChildren).pipe(Object(S.a)(function(r){n.onLoadEndListener&&n.onLoadEndListener(e);var o=r.create(t);return new kt(Dt(o.injector.get(pn)).map(At),o)}))},t.prototype.loadModuleFactory=function(t){var e=this;return"string"==typeof t?Object(a.a)(this.loader.load(t)):Vt(t()).pipe(Object(B.a)(function(t){return t instanceof o.NgModuleFactory?Object(i.a)(t):Object(a.a)(e.compiler.compileModuleAsync(t))}))},t}(),hn=function(){return function(){}}(),vn=function(){function t(){}return t.prototype.shouldProcessUrl=function(t){return!0},t.prototype.extract=function(t){return t},t.prototype.merge=function(t,e){return t},t}();function yn(t){throw t}function gn(t,e,n){return e.parse("/")}function mn(t,e){return Object(i.a)(null)}var _n=function(){function t(t,e,n,r,i,a,u,l){var f=this;this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=r,this.config=l,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new s.a,this.errorHandler=yn,this.malformedUriErrorHandler=gn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:mn,afterPreactivation:mn},this.urlHandlingStrategy=new vn,this.routeReuseStrategy=new fn,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=i.get(o.NgModuleRef),this.console=i.get(o["\u0275Console"]);var p=i.get(o.NgZone);this.isNgZoneEnabled=p instanceof o.NgZone,this.resetConfig(l),this.currentUrlTree=new Ut(new Ht([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.configLoader=new dn(a,u,function(t){return f.triggerEvent(new vt(t))},function(t){return f.triggerEvent(new yt(t))}),this.routerState=pe(this.currentUrlTree,this.rootComponentType),this.transitions=new c({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",state:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}return t.prototype.setupNavigations=function(t){var e=this,n=this.events;return t.pipe(Object(O.a)(function(t){return 0!==t.id}),Object(S.a)(function(t){return Object(r.__assign)({},t,{extractedUrl:e.urlHandlingStrategy.extract(t.rawUrl)})}),K(function(t){var o,s,u,l=!1,f=!1;return Object(i.a)(t).pipe(K(function(t){var o,a,s,u,c=!e.navigated||t.extractedUrl.toString()!==e.currentUrlTree.toString();if(("reload"===e.onSameUrlNavigation||c)&&e.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Object(i.a)(t).pipe(Object(P.a)(function(t){return"eager"===e.urlUpdateStrategy&&!t.extras.skipLocationChange&&e.setBrowserUrl(t.rawUrl,!!t.extras.replaceUrl,t.id)}),K(function(t){var r=e.transitions.getValue();return n.next(new at(t.id,e.serializeUrl(t.extractedUrl),t.source,t.state)),r!==e.transitions.getValue()?w.a:[t]}),K(function(t){return Promise.resolve(t)}),(o=e.ngModule.injector,a=e.configLoader,s=e.urlSerializer,u=e.config,function(t){return t.pipe(K(function(t){return function(e,n,r,o,i){return new He(e,n,r,t.extractedUrl,i).apply()}(o,a,s,0,u).pipe(Object(S.a)(function(e){return Object(r.__assign)({},t,{urlAfterRedirects:e})}))}))}),function(t,n,o,i,a){return function(o){return o.pipe(Object(B.a)(function(o){return function(t,e,n,r,o,i){return void 0===o&&(o="emptyOnly"),void 0===i&&(i="legacy"),new Xe(t,e,n,r,o,i).recognize()}(t,n,o.urlAfterRedirects,(s=o.urlAfterRedirects,e.serializeUrl(s)),i,a).pipe(Object(S.a)(function(t){return Object(r.__assign)({},o,{targetSnapshot:t})}));var s}))}}(e.rootComponentType,e.config,0,e.paramsInheritanceStrategy,e.relativeLinkResolution),Object(P.a)(function(t){var r=new lt(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);n.next(r)}));if(c&&e.rawUrlTree&&e.urlHandlingStrategy.shouldProcessUrl(e.rawUrlTree)){var l=t.extractedUrl,f=t.source,p=t.state,d=t.extras,h=new at(t.id,e.serializeUrl(l),f,p);n.next(h);var v=pe(l,e.rootComponentType).snapshot;return Object(i.a)(Object(r.__assign)({},t,{targetSnapshot:v,urlAfterRedirects:l,extras:Object(r.__assign)({},d,{skipLocationChange:!1,replaceUrl:!1})}))}return e.rawUrlTree=t.rawUrl,t.resolve(null),w.a}),cn(function(t){var n=t.extras;return e.hooks.beforePreactivation(t.targetSnapshot,{navigationId:t.id,appliedUrlTree:t.extractedUrl,rawUrlTree:t.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})}),Object(P.a)(function(t){var n=new ft(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}),Object(S.a)(function(t){return Object(r.__assign)({},t,{guards:(n=t.targetSnapshot,o=t.currentSnapshot,i=e.rootContexts,a=n._root,function t(e,n,r,o,i){void 0===i&&(i={canDeactivateChecks:[],canActivateChecks:[]});var a=le(n);return e.children.forEach(function(e){!function(e,n,r,o,i){void 0===i&&(i={canDeactivateChecks:[],canActivateChecks:[]});var a=e.value,s=n?n.value:null,u=r?r.getContext(e.value.outlet):null;if(s&&a.routeConfig===s.routeConfig){var c=function(t,e,n){switch(n){case"pathParamsChange":return!zt(t.url,e.url);case"always":return!0;case"paramsOrQueryParamsChange":return!be(t,e)||!Nt(t.queryParams,e.queryParams);case"paramsChange":default:return!be(t,e)}}(s,a,a.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new Ke(o)):(a.data=s.data,a._resolvedData=s._resolvedData),t(e,n,a.component?u?u.children:null:r,o,i),c&&i.canDeactivateChecks.push(new Ze(u&&u.outlet&&u.outlet.component||null,s))}else s&&We(n,u,i),i.canActivateChecks.push(new Ke(o)),t(e,null,a.component?u?u.children:null:r,o,i)}(e,a[e.value.outlet],r,o.concat([e.value]),i),delete a[e.value.outlet]}),Ft(a,function(t,e){return We(t,r.getContext(e),i)}),i}(a,o?o._root:null,i,[a.value]))});var n,o,i,a}),function(t,e){return function(n){return n.pipe(Object(B.a)(function(n){var o=n.targetSnapshot,s=n.currentSnapshot,u=n.guards,c=u.canActivateChecks,l=u.canDeactivateChecks;return 0===l.length&&0===c.length?Object(i.a)(Object(r.__assign)({},n,{guardsResult:!0})):function(t,e,n,r){return Object(a.a)(t).pipe(Object(B.a)(function(t){return function(t,e,n,r,o){var a=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!a||0===a.length)return Object(i.a)(!0);var s=a.map(function(i){var a,s=Ge(i,e,o);if(function(t){return t&&Ne(t.canDeactivate)}(s))a=Vt(s.canDeactivate(t,e,n,r));else{if(!Ne(s))throw new Error("Invalid CanDeactivate guard");a=Vt(s(t,e,n,r))}return a.pipe(H())});return Object(i.a)(s).pipe(Je())}(t.component,t.route,n,e,r)}),H(function(t){return!0!==t},!0))}(l,o,s,t).pipe(Object(B.a)(function(n){return n&&"boolean"==typeof n?function(t,e,n,r){return Object(a.a)(e).pipe(Object(X.a)(function(e){return Object(a.a)([function(t,e){return null!==t&&e&&e(new gt(t)),Object(i.a)(!0)}(e.route.parent,r),function(t,e){return null!==t&&e&&e(new _t(t)),Object(i.a)(!0)}(e.route,r),function(t,e,n){var r=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(function(t){return function(t){var e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)}).filter(function(t){return null!==t}).map(function(e){return C(function(){var o=e.guards.map(function(o){var i,a=Ge(o,e.node,n);if(function(t){return t&&Ne(t.canActivateChild)}(a))i=Vt(a.canActivateChild(r,t));else{if(!Ne(a))throw new Error("Invalid CanActivateChild guard");i=Vt(a(r,t))}return i.pipe(H())});return Object(i.a)(o).pipe(Je())})});return Object(i.a)(o).pipe(Je())}(t,e.path,n),function(t,e,n){var r=e.routeConfig?e.routeConfig.canActivate:null;if(!r||0===r.length)return Object(i.a)(!0);var o=r.map(function(r){return C(function(){var o,i=Ge(r,e,n);if(function(t){return t&&Ne(t.canActivate)}(i))o=Vt(i.canActivate(e,t));else{if(!Ne(i))throw new Error("Invalid CanActivate guard");o=Vt(i(e,t))}return o.pipe(H())})});return Object(i.a)(o).pipe(Je())}(t,e.route,n)]).pipe(Object(E.a)(),H(function(t){return!0!==t},!0))}),H(function(t){return!0!==t},!0))}(o,c,t,e):Object(i.a)(n)}),Object(S.a)(function(t){return Object(r.__assign)({},n,{guardsResult:t})}))}))}}(e.ngModule.injector,function(t){return e.triggerEvent(t)}),Object(P.a)(function(t){if(De(t.guardsResult)){var n=Tt('Redirecting to "'+e.serializeUrl(t.guardsResult)+'"');throw n.url=t.guardsResult,n}}),Object(P.a)(function(t){var n=new pt(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);e.triggerEvent(n)}),Object(O.a)(function(t){if(!t.guardsResult){e.resetUrlToCurrentUrlTree();var r=new ut(t.id,e.serializeUrl(t.extractedUrl),"");return n.next(r),t.resolve(!1),!1}return!0}),cn(function(t){if(t.guards.canActivateChecks.length)return Object(i.a)(t).pipe(Object(P.a)(function(t){var n=new dt(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}),(n=e.paramsInheritanceStrategy,o=e.ngModule.injector,function(t){return t.pipe(Object(B.a)(function(t){var e=t.targetSnapshot,s=t.guards.canActivateChecks;return s.length?Object(a.a)(s).pipe(Object(X.a)(function(t){return function(t,n,o,s){return function(t,e,n,r){var o=Object.keys(t);if(0===o.length)return Object(i.a)({});if(1===o.length){var s=o[0];return un(t[s],e,n,r).pipe(Object(S.a)(function(t){var e;return(e={})[s]=t,e}))}var u={};return Object(a.a)(o).pipe(Object(B.a)(function(o){return un(t[o],e,n,r).pipe(Object(S.a)(function(t){return u[o]=t,t}))})).pipe(V(),Object(S.a)(function(){return u}))}(t._resolve,t,e,s).pipe(Object(S.a)(function(e){return t._resolvedData=e,t.data=Object(r.__assign)({},t.data,he(t,o).resolve),null}))}(t.route,0,n,o)}),function(t,e){return arguments.length>=2?function(e){return Object(tt.a)(Y(t,void 0),j(1),N(void 0))(e)}:function(e){return Object(tt.a)(Y(function(e,n,r){return t(e)}),j(1))(e)}}(function(t,e){return t}),Object(S.a)(function(e){return t})):Object(i.a)(t)}))}),Object(P.a)(function(t){var n=new ht(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}));var n,o}),cn(function(t){var n=t.extras;return e.hooks.afterPreactivation(t.targetSnapshot,{navigationId:t.id,appliedUrlTree:t.extractedUrl,rawUrlTree:t.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})}),Object(S.a)(function(t){var n,o,i,a=(i=function t(e,n,o){if(o&&e.shouldReuseRoute(n.value,o.value.snapshot)){(l=o.value)._futureSnapshot=n.value;var i=function(e,n,o){return n.children.map(function(n){var i,a;try{for(var s=Object(r.__values)(o.children),u=s.next();!u.done;u=s.next()){var c=u.value;if(e.shouldReuseRoute(c.value.snapshot,n.value))return t(e,n,c)}}catch(l){i={error:l}}finally{try{u&&!u.done&&(a=s.return)&&a.call(s)}finally{if(i)throw i.error}}return t(e,n)})}(e,n,o);return new ce(l,i)}var a=e.retrieve(n.value);if(a){var s=a.route;return function t(e,n){if(e.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=e.value;for(var r=0;r<e.children.length;++r)t(e.children[r],n.children[r])}(n,s),s}var u,l=new de(new c((u=n.value).url),new c(u.params),new c(u.queryParams),new c(u.fragment),new c(u.data),u.outlet,u.component,u);return i=n.children.map(function(n){return t(e,n)}),new ce(l,i)}(e.routeReuseStrategy,(n=t.targetSnapshot)._root,(o=t.currentRouterState)?o._root:void 0),new fe(i,n));return Object(r.__assign)({},t,{targetRouterState:a})}),Object(P.a)(function(t){e.currentUrlTree=t.urlAfterRedirects,e.rawUrlTree=e.urlHandlingStrategy.merge(e.currentUrlTree,t.rawUrl),e.routerState=t.targetRouterState,"deferred"!==e.urlUpdateStrategy||t.extras.skipLocationChange||e.setBrowserUrl(e.rawUrlTree,!!t.extras.replaceUrl,t.id)}),(o=e.rootContexts,s=e.routeReuseStrategy,u=function(t){return e.triggerEvent(t)},Object(S.a)(function(t){return new Re(s,t.targetRouterState,t.currentRouterState,u).activate(o),t})),Object(P.a)({next:function(){l=!0},complete:function(){l=!0}}),Object(et.a)(function(){if(!l&&!f){e.resetUrlToCurrentUrlTree();var r=new ut(t.id,e.serializeUrl(t.extractedUrl),"Navigation ID "+t.id+" is not equal to the current navigation id "+e.navigationId);n.next(r),t.resolve(!1)}}),Object(L.a)(function(r){if(f=!0,(s=r)&&s[xt]){e.navigated=!0;var o=De(r.url);o||e.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);var i=new ut(t.id,e.serializeUrl(t.extractedUrl),r.message);n.next(i),t.resolve(!1),o&&e.navigateByUrl(r.url)}else{e.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);var a=new ct(t.id,e.serializeUrl(t.extractedUrl),r);n.next(a);try{t.resolve(e.errorHandler(r))}catch(u){t.reject(u)}}var s;return w.a}))}))},t.prototype.resetRootComponentType=function(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType},t.prototype.getTransition=function(){return this.transitions.value},t.prototype.setTransition=function(t){this.transitions.next(Object(r.__assign)({},this.getTransition(),t))},t.prototype.initialNavigation=function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})},t.prototype.setUpLocationChangeListener=function(){var t=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(e){var n=t.parseUrl(e.url),r="popstate"===e.type?"popstate":"hashchange",o=e.state&&e.state.navigationId?{navigationId:e.state.navigationId}:null;setTimeout(function(){t.scheduleNavigation(n,r,o,{replaceUrl:!0})},0)}))},Object.defineProperty(t.prototype,"url",{get:function(){return this.serializeUrl(this.currentUrlTree)},enumerable:!0,configurable:!0}),t.prototype.triggerEvent=function(t){this.events.next(t)},t.prototype.resetConfig=function(t){It(t),this.config=t.map(At),this.navigated=!1,this.lastSuccessfulId=-1},t.prototype.ngOnDestroy=function(){this.dispose()},t.prototype.dispose=function(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)},t.prototype.createUrlTree=function(t,e){void 0===e&&(e={});var n=e.relativeTo,i=e.queryParams,a=e.fragment,s=e.preserveQueryParams,u=e.queryParamsHandling,c=e.preserveFragment;Object(o.isDevMode)()&&s&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var l=n||this.routerState.root,f=c?this.currentUrlTree.fragment:a,p=null;if(u)switch(u){case"merge":p=Object(r.__assign)({},this.currentUrlTree.queryParams,i);break;case"preserve":p=this.currentUrlTree.queryParams;break;default:p=i||null}else p=s?this.currentUrlTree.queryParams:i||null;return null!==p&&(p=this.removeEmptyProps(p)),function(t,e,n,o,i){if(0===n.length)return Ce(e.root,e.root,e,o,i);var a=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new Se(!0,0,t);var e=0,n=!1,o=t.reduce(function(t,o,i){if("object"==typeof o&&null!=o){if(o.outlets){var a={};return Ft(o.outlets,function(t,e){a[e]="string"==typeof t?t.split("/"):t}),Object(r.__spread)(t,[{outlets:a}])}if(o.segmentPath)return Object(r.__spread)(t,[o.segmentPath])}return"string"!=typeof o?Object(r.__spread)(t,[o]):0===i?(o.split("/").forEach(function(r,o){0==o&&"."===r||(0==o&&""===r?n=!0:".."===r?e++:""!=r&&t.push(r))}),t):Object(r.__spread)(t,[o])},[]);return new Se(n,e,o)}(n);if(a.toRoot())return Ce(e.root,new Ht([],{}),e,o,i);var s=function(t,n,r){if(t.isAbsolute)return new Ee(e.root,!0,0);if(-1===r.snapshot._lastPathIndex)return new Ee(r.snapshot._urlSegment,!0,0);var o=we(t.commands[0])?0:1;return function(e,n,i){for(var a=r.snapshot._urlSegment,s=r.snapshot._lastPathIndex+o,u=t.numberOfDoubleDots;u>s;){if(u-=s,!(a=a.parent))throw new Error("Invalid number of '../'");s=a.segments.length}return new Ee(a,!1,s-u)}()}(a,0,t),u=s.processChildren?Te(s.segmentGroup,s.index,a.commands):xe(s.segmentGroup,s.index,a.commands);return Ce(s.segmentGroup,u,e,o,i)}(l,this.currentUrlTree,t,p,f)},t.prototype.navigateByUrl=function(t,e){void 0===e&&(e={skipLocationChange:!1}),Object(o.isDevMode)()&&this.isNgZoneEnabled&&!o.NgZone.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=De(t)?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,e)},t.prototype.navigate=function(t,e){return void 0===e&&(e={skipLocationChange:!1}),function(t){for(var e=0;e<t.length;e++){var n=t[e];if(null==n)throw new Error("The requested path contains "+n+" segment at index "+e)}}(t),this.navigateByUrl(this.createUrlTree(t,e),e)},t.prototype.serializeUrl=function(t){return this.urlSerializer.serialize(t)},t.prototype.parseUrl=function(t){var e;try{e=this.urlSerializer.parse(t)}catch(n){e=this.malformedUriErrorHandler(n,this.urlSerializer,t)}return e},t.prototype.isActive=function(t,e){if(De(t))return Lt(this.currentUrlTree,t,e);var n=this.parseUrl(t);return Lt(this.currentUrlTree,n,e)},t.prototype.removeEmptyProps=function(t){return Object.keys(t).reduce(function(e,n){var r=t[n];return null!=r&&(e[n]=r),e},{})},t.prototype.processNavigations=function(){var t=this;this.navigations.subscribe(function(e){t.navigated=!0,t.lastSuccessfulId=e.id,t.events.next(new st(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(t.currentUrlTree))),e.resolve(!0)},function(e){t.console.warn("Unhandled Navigation Error: ")})},t.prototype.scheduleNavigation=function(t,e,n,r){var o=this.getTransition();if(o&&"imperative"!==e&&"imperative"===o.source&&o.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(o&&"hashchange"==e&&"popstate"===o.source&&o.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(o&&"popstate"==e&&"hashchange"===o.source&&o.rawUrl.toString()===t.toString())return Promise.resolve(!0);var i=null,a=null,s=new Promise(function(t,e){i=t,a=e}),u=++this.navigationId;return this.setTransition({id:u,source:e,state:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:r,resolve:i,reject:a,promise:s,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),s.catch(function(t){return Promise.reject(t)})},t.prototype.setBrowserUrl=function(t,e,n){var r=this.urlSerializer.serialize(t);this.location.isCurrentPathEqualTo(r)||e?this.location.replaceState(r,"",{navigationId:n}):this.location.go(r,"",{navigationId:n})},t.prototype.resetStateAndUrl=function(t,e,n){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()},t.prototype.resetUrlToCurrentUrlTree=function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})},t}(),bn=function(){function t(t,e,n){var r=this;this.router=t,this.route=e,this.locationStrategy=n,this.commands=[],this.subscription=t.events.subscribe(function(t){t instanceof st&&r.updateTargetUrlAndHref()})}return Object.defineProperty(t.prototype,"routerLink",{set:function(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"preserveQueryParams",{set:function(t){Object(o.isDevMode)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=t},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){this.updateTargetUrlAndHref()},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},t.prototype.onClick=function(t,e,n,r){if(0!==t||e||n||r)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;var o={skipLocationChange:wn(this.skipLocationChange),replaceUrl:wn(this.replaceUrl)};return this.router.navigateByUrl(this.urlTree,o),!1},t.prototype.updateTargetUrlAndHref=function(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))},Object.defineProperty(t.prototype,"urlTree",{get:function(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:wn(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:wn(this.preserveFragment)})},enumerable:!0,configurable:!0}),Object(r.__decorate)([Object(o.HostBinding)("attr.target"),Object(o.Input)(),Object(r.__metadata)("design:type",String)],t.prototype,"target",void 0),t}();function wn(t){return""===t||!!t}var Cn=function(){return function(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Sn,this.attachRef=null}}(),Sn=function(){function t(){this.contexts=new Map}return t.prototype.onChildOutletCreated=function(t,e){var n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)},t.prototype.onChildOutletDestroyed=function(t){var e=this.getContext(t);e&&(e.outlet=null)},t.prototype.onOutletDeactivated=function(){var t=this.contexts;return this.contexts=new Map,t},t.prototype.onOutletReAttached=function(t){this.contexts=t},t.prototype.getOrCreateContext=function(t){var e=this.getContext(t);return e||(e=new Cn,this.contexts.set(t,e)),e},t.prototype.getContext=function(t){return this.contexts.get(t)||null},t}(),En=function(){function t(t,e,n,r,i){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=i,this.activated=null,this._activatedRoute=null,this.activateEvents=new o.EventEmitter,this.deactivateEvents=new o.EventEmitter,this.name=r||St,t.onChildOutletCreated(this.name,this)}return t.prototype.ngOnDestroy=function(){this.parentContexts.onChildOutletDestroyed(this.name)},t.prototype.ngOnInit=function(){if(!this.activated){var t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}},Object.defineProperty(t.prototype,"isActivated",{get:function(){return!!this.activated},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"component",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activatedRoute",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activatedRouteData",{get:function(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}},enumerable:!0,configurable:!0}),t.prototype.detach=function(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();var t=this.activated;return this.activated=null,this._activatedRoute=null,t},t.prototype.attach=function(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)},t.prototype.deactivate=function(){if(this.activated){var t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}},t.prototype.activateWith=function(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;var n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),r=this.parentContexts.getOrCreateContext(this.name).children,o=new On(t,r,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,o),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)},t}(),On=function(){function t(t,e,n){this.route=t,this.childContexts=e,this.parent=n}return t.prototype.get=function(t,e){return t===de?this.route:t===Sn?this.childContexts:this.parent.get(t,e)},t}(),xn=function(){return function(){}}(),Tn=function(){function t(){}return t.prototype.preload=function(t,e){return e().pipe(Object(L.a)(function(){return Object(i.a)(null)}))},t}(),jn=function(){function t(){}return t.prototype.preload=function(t,e){return Object(i.a)(null)},t}(),kn=function(){function t(t,e,n,r,o){this.router=t,this.injector=r,this.preloadingStrategy=o,this.loader=new dn(e,n,function(e){return t.triggerEvent(new vt(e))},function(e){return t.triggerEvent(new yt(e))})}return t.prototype.setUpPreloading=function(){var t=this;this.subscription=this.router.events.pipe(Object(O.a)(function(t){return t instanceof st}),Object(X.a)(function(){return t.preload()})).subscribe(function(){})},t.prototype.preload=function(){var t=this.injector.get(o.NgModuleRef);return this.processRoutes(t,this.router.config)},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},t.prototype.processRoutes=function(t,e){var n,o,i=[];try{for(var s=Object(r.__values)(e),u=s.next();!u.done;u=s.next()){var c=u.value;if(c.loadChildren&&!c.canLoad&&c._loadedConfig){var l=c._loadedConfig;i.push(this.processRoutes(l.module,l.routes))}else c.loadChildren&&!c.canLoad?i.push(this.preloadConfig(t,c)):c.children&&i.push(this.processRoutes(t,c.children))}}catch(f){n={error:f}}finally{try{u&&!u.done&&(o=s.return)&&o.call(s)}finally{if(n)throw n.error}}return Object(a.a)(i).pipe(Object(nt.a)(),Object(S.a)(function(t){}))},t.prototype.preloadConfig=function(t,e){var n=this;return this.preloadingStrategy.preload(e,function(){return n.loader.load(t.injector,e).pipe(Object(B.a)(function(t){return e._loadedConfig=t,n.processRoutes(t.module,t.routes)}))})},t}(),In=function(){function t(t,e,n){void 0===n&&(n={}),this.router=t,this.viewportScroller=e,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}return t.prototype.init=function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()},t.prototype.createScrollEvents=function(){var t=this;return this.router.events.subscribe(function(e){e instanceof at?(t.store[t.lastId]=t.viewportScroller.getScrollPosition(),t.lastSource=e.navigationTrigger,t.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof st&&(t.lastId=e.id,t.scheduleScrollEvent(e,t.router.parseUrl(e.urlAfterRedirects).fragment))})},t.prototype.consumeScrollEvents=function(){var t=this;return this.router.events.subscribe(function(e){e instanceof wt&&(e.position?"top"===t.options.scrollPositionRestoration?t.viewportScroller.scrollToPosition([0,0]):"enabled"===t.options.scrollPositionRestoration&&t.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===t.options.anchorScrolling?t.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==t.options.scrollPositionRestoration&&t.viewportScroller.scrollToPosition([0,0]))})},t.prototype.scheduleScrollEvent=function(t,e){this.router.triggerEvent(new wt(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))},t.prototype.ngOnDestroy=function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()},t}(),Pn=new o.InjectionToken("ROUTER_CONFIGURATION"),Rn=new o.InjectionToken("ROUTER_FORROOT_GUARD"),An=[rt.g,{provide:Qt,useClass:Kt},{provide:_n,useFactory:Un,deps:[o.ApplicationRef,Qt,Sn,rt.g,o.Injector,o.NgModuleFactoryLoader,o.Compiler,pn,Pn,[hn,new o.Optional],[ln,new o.Optional]]},Sn,{provide:de,useFactory:Hn,deps:[_n]},{provide:o.NgModuleFactoryLoader,useClass:o.SystemJsNgModuleLoader},kn,jn,Tn,{provide:Pn,useValue:{enableTracing:!1}}];function Nn(){return new o.NgProbeToken("Router",_n)}var Dn=function(){function t(t,e){}var e;return e=t,t.forRoot=function(t,n){return{ngModule:e,providers:[An,Ln(t),{provide:Rn,useFactory:Vn,deps:[[_n,new o.Optional,new o.SkipSelf]]},{provide:Pn,useValue:n||{}},{provide:rt.h,useFactory:Fn,deps:[rt.o,[new o.Inject(rt.a),new o.Optional],Pn]},{provide:In,useFactory:Mn,deps:[_n,rt.p,Pn]},{provide:xn,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:jn},{provide:o.NgProbeToken,multi:!0,useFactory:Nn},[Bn,{provide:o.APP_INITIALIZER,multi:!0,useFactory:zn,deps:[Bn]},{provide:Qn,useFactory:qn,deps:[Bn]},{provide:o.APP_BOOTSTRAP_LISTENER,multi:!0,useExisting:Qn}]]}},t.forChild=function(t){return{ngModule:e,providers:[Ln(t)]}},t}();function Mn(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new In(t,e,n)}function Fn(t,e,n){return void 0===n&&(n={}),n.useHash?new rt.e(t,e):new rt.n(t,e)}function Vn(t){if(t)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Ln(t){return[{provide:o.ANALYZE_FOR_ENTRY_COMPONENTS,multi:!0,useValue:t},{provide:pn,multi:!0,useValue:t}]}function Un(t,e,n,r,o,i,a,s,u,c,l){void 0===u&&(u={});var f=new _n(null,e,n,r,o,i,a,Dt(s));if(c&&(f.urlHandlingStrategy=c),l&&(f.routeReuseStrategy=l),u.errorHandler&&(f.errorHandler=u.errorHandler),u.malformedUriErrorHandler&&(f.malformedUriErrorHandler=u.malformedUriErrorHandler),u.enableTracing){var p=Object(ot.s)();f.events.subscribe(function(t){p.logGroup("Router Event: "+t.constructor.name),p.log(t.toString()),p.log(t),p.logGroupEnd()})}return u.onSameUrlNavigation&&(f.onSameUrlNavigation=u.onSameUrlNavigation),u.paramsInheritanceStrategy&&(f.paramsInheritanceStrategy=u.paramsInheritanceStrategy),u.urlUpdateStrategy&&(f.urlUpdateStrategy=u.urlUpdateStrategy),u.relativeLinkResolution&&(f.relativeLinkResolution=u.relativeLinkResolution),f}function Hn(t){return t.routerState.root}var Bn=function(){function t(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new s.a}return t.prototype.appInitializer=function(){var t=this;return this.injector.get(rt.f,Promise.resolve(null)).then(function(){var e=null,n=new Promise(function(t){return e=t}),r=t.injector.get(_n),o=t.injector.get(Pn);if(t.isLegacyDisabled(o)||t.isLegacyEnabled(o))e(!0);else if("disabled"===o.initialNavigation)r.setUpLocationChangeListener(),e(!0);else{if("enabled"!==o.initialNavigation)throw new Error("Invalid initialNavigation options: '"+o.initialNavigation+"'");r.hooks.afterPreactivation=function(){return t.initNavigation?Object(i.a)(null):(t.initNavigation=!0,e(!0),t.resultOfPreactivationDone)},r.initialNavigation()}return n})},t.prototype.bootstrapListener=function(t){var e=this.injector.get(Pn),n=this.injector.get(kn),r=this.injector.get(In),i=this.injector.get(_n),a=this.injector.get(o.ApplicationRef);t===a.components[0]&&(this.isLegacyEnabled(e)?i.initialNavigation():this.isLegacyDisabled(e)&&i.setUpLocationChangeListener(),n.setUpPreloading(),r.init(),i.resetRootComponentType(a.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())},t.prototype.isLegacyEnabled=function(t){return"legacy_enabled"===t.initialNavigation||!0===t.initialNavigation||void 0===t.initialNavigation},t.prototype.isLegacyDisabled=function(t){return"legacy_disabled"===t.initialNavigation||!1===t.initialNavigation},t}();function zn(t){return t.appInitializer.bind(t)}function qn(t){return t.bootstrapListener.bind(t)}var Qn=new o.InjectionToken("Router Initializer")},ZYjt:function(t,e,n){"use strict";n.d(e,"q",function(){return gt}),n.d(e,"r",function(){return x}),n.d(e,"a",function(){return mt}),n.d(e,"i",function(){return yt}),n.d(e,"b",function(){return v}),n.d(e,"d",function(){return T}),n.d(e,"e",function(){return j}),n.d(e,"f",function(){return tt}),n.d(e,"g",function(){return et}),n.d(e,"h",function(){return nt}),n.d(e,"c",function(){return st}),n.d(e,"s",function(){return s}),n.d(e,"k",function(){return V}),n.d(e,"j",function(){return $}),n.d(e,"n",function(){return rt}),n.d(e,"o",function(){return at}),n.d(e,"m",function(){return P}),n.d(e,"p",function(){return I}),n.d(e,"l",function(){return ut});var r=n("mrSG"),o=n("Ip0R"),i=n("CcnG"),a=null;function s(){return a}var u,c={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},l={"\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"},f={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"};i["\u0275global"].Node&&(u=i["\u0275global"].Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))});var p,d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.parse=function(t){throw new Error("parse not implemented")},e.makeCurrent=function(){var t;t=new e,a||(a=t)},e.prototype.hasProperty=function(t,e){return e in t},e.prototype.setProperty=function(t,e,n){t[e]=n},e.prototype.getProperty=function(t,e){return t[e]},e.prototype.invoke=function(t,e,n){var o;(o=t)[e].apply(o,Object(r.__spread)(n))},e.prototype.logError=function(t){window.console&&(console.error?console.error(t):console.log(t))},e.prototype.log=function(t){window.console&&window.console.log&&window.console.log(t)},e.prototype.logGroup=function(t){window.console&&window.console.group&&window.console.group(t)},e.prototype.logGroupEnd=function(){window.console&&window.console.groupEnd&&window.console.groupEnd()},Object.defineProperty(e.prototype,"attrToPropMap",{get:function(){return c},enumerable:!0,configurable:!0}),e.prototype.contains=function(t,e){return u.call(t,e)},e.prototype.querySelector=function(t,e){return t.querySelector(e)},e.prototype.querySelectorAll=function(t,e){return t.querySelectorAll(e)},e.prototype.on=function(t,e,n){t.addEventListener(e,n,!1)},e.prototype.onAndCancel=function(t,e,n){return t.addEventListener(e,n,!1),function(){t.removeEventListener(e,n,!1)}},e.prototype.dispatchEvent=function(t,e){t.dispatchEvent(e)},e.prototype.createMouseEvent=function(t){var e=this.getDefaultDocument().createEvent("MouseEvent");return e.initEvent(t,!0,!0),e},e.prototype.createEvent=function(t){var e=this.getDefaultDocument().createEvent("Event");return e.initEvent(t,!0,!0),e},e.prototype.preventDefault=function(t){t.preventDefault(),t.returnValue=!1},e.prototype.isPrevented=function(t){return t.defaultPrevented||null!=t.returnValue&&!t.returnValue},e.prototype.getInnerHTML=function(t){return t.innerHTML},e.prototype.getTemplateContent=function(t){return"content"in t&&this.isTemplateElement(t)?t.content:null},e.prototype.getOuterHTML=function(t){return t.outerHTML},e.prototype.nodeName=function(t){return t.nodeName},e.prototype.nodeValue=function(t){return t.nodeValue},e.prototype.type=function(t){return t.type},e.prototype.content=function(t){return this.hasProperty(t,"content")?t.content:t},e.prototype.firstChild=function(t){return t.firstChild},e.prototype.nextSibling=function(t){return t.nextSibling},e.prototype.parentElement=function(t){return t.parentNode},e.prototype.childNodes=function(t){return t.childNodes},e.prototype.childNodesAsList=function(t){for(var e=t.childNodes,n=new Array(e.length),r=0;r<e.length;r++)n[r]=e[r];return n},e.prototype.clearNodes=function(t){for(;t.firstChild;)t.removeChild(t.firstChild)},e.prototype.appendChild=function(t,e){t.appendChild(e)},e.prototype.removeChild=function(t,e){t.removeChild(e)},e.prototype.replaceChild=function(t,e,n){t.replaceChild(e,n)},e.prototype.remove=function(t){return t.parentNode&&t.parentNode.removeChild(t),t},e.prototype.insertBefore=function(t,e,n){t.insertBefore(n,e)},e.prototype.insertAllBefore=function(t,e,n){n.forEach(function(n){return t.insertBefore(n,e)})},e.prototype.insertAfter=function(t,e,n){t.insertBefore(n,e.nextSibling)},e.prototype.setInnerHTML=function(t,e){t.innerHTML=e},e.prototype.getText=function(t){return t.textContent},e.prototype.setText=function(t,e){t.textContent=e},e.prototype.getValue=function(t){return t.value},e.prototype.setValue=function(t,e){t.value=e},e.prototype.getChecked=function(t){return t.checked},e.prototype.setChecked=function(t,e){t.checked=e},e.prototype.createComment=function(t){return this.getDefaultDocument().createComment(t)},e.prototype.createTemplate=function(t){var e=this.getDefaultDocument().createElement("template");return e.innerHTML=t,e},e.prototype.createElement=function(t,e){return(e=e||this.getDefaultDocument()).createElement(t)},e.prototype.createElementNS=function(t,e,n){return(n=n||this.getDefaultDocument()).createElementNS(t,e)},e.prototype.createTextNode=function(t,e){return(e=e||this.getDefaultDocument()).createTextNode(t)},e.prototype.createScriptTag=function(t,e,n){var r=(n=n||this.getDefaultDocument()).createElement("SCRIPT");return r.setAttribute(t,e),r},e.prototype.createStyleElement=function(t,e){var n=(e=e||this.getDefaultDocument()).createElement("style");return this.appendChild(n,this.createTextNode(t,e)),n},e.prototype.createShadowRoot=function(t){return t.createShadowRoot()},e.prototype.getShadowRoot=function(t){return t.shadowRoot},e.prototype.getHost=function(t){return t.host},e.prototype.clone=function(t){return t.cloneNode(!0)},e.prototype.getElementsByClassName=function(t,e){return t.getElementsByClassName(e)},e.prototype.getElementsByTagName=function(t,e){return t.getElementsByTagName(e)},e.prototype.classList=function(t){return Array.prototype.slice.call(t.classList,0)},e.prototype.addClass=function(t,e){t.classList.add(e)},e.prototype.removeClass=function(t,e){t.classList.remove(e)},e.prototype.hasClass=function(t,e){return t.classList.contains(e)},e.prototype.setStyle=function(t,e,n){t.style[e]=n},e.prototype.removeStyle=function(t,e){t.style[e]=""},e.prototype.getStyle=function(t,e){return t.style[e]},e.prototype.hasStyle=function(t,e,n){var r=this.getStyle(t,e)||"";return n?r==n:r.length>0},e.prototype.tagName=function(t){return t.tagName},e.prototype.attributeMap=function(t){for(var e=new Map,n=t.attributes,r=0;r<n.length;r++){var o=n.item(r);e.set(o.name,o.value)}return e},e.prototype.hasAttribute=function(t,e){return t.hasAttribute(e)},e.prototype.hasAttributeNS=function(t,e,n){return t.hasAttributeNS(e,n)},e.prototype.getAttribute=function(t,e){return t.getAttribute(e)},e.prototype.getAttributeNS=function(t,e,n){return t.getAttributeNS(e,n)},e.prototype.setAttribute=function(t,e,n){t.setAttribute(e,n)},e.prototype.setAttributeNS=function(t,e,n,r){t.setAttributeNS(e,n,r)},e.prototype.removeAttribute=function(t,e){t.removeAttribute(e)},e.prototype.removeAttributeNS=function(t,e,n){t.removeAttributeNS(e,n)},e.prototype.templateAwareRoot=function(t){return this.isTemplateElement(t)?this.content(t):t},e.prototype.createHtmlDocument=function(){return document.implementation.createHTMLDocument("fakeTitle")},e.prototype.getDefaultDocument=function(){return document},e.prototype.getBoundingClientRect=function(t){try{return t.getBoundingClientRect()}catch(e){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}},e.prototype.getTitle=function(t){return t.title},e.prototype.setTitle=function(t,e){t.title=e||""},e.prototype.elementMatches=function(t,e){return!!this.isElementNode(t)&&(t.matches&&t.matches(e)||t.msMatchesSelector&&t.msMatchesSelector(e)||t.webkitMatchesSelector&&t.webkitMatchesSelector(e))},e.prototype.isTemplateElement=function(t){return this.isElementNode(t)&&"TEMPLATE"===t.nodeName},e.prototype.isTextNode=function(t){return t.nodeType===Node.TEXT_NODE},e.prototype.isCommentNode=function(t){return t.nodeType===Node.COMMENT_NODE},e.prototype.isElementNode=function(t){return t.nodeType===Node.ELEMENT_NODE},e.prototype.hasShadowRoot=function(t){return null!=t.shadowRoot&&t instanceof HTMLElement},e.prototype.isShadowRoot=function(t){return t instanceof DocumentFragment},e.prototype.importIntoDoc=function(t){return document.importNode(this.templateAwareRoot(t),!0)},e.prototype.adoptNode=function(t){return document.adoptNode(t)},e.prototype.getHref=function(t){return t.getAttribute("href")},e.prototype.getEventKey=function(t){var e=t.key;if(null==e){if(null==(e=t.keyIdentifier))return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&f.hasOwnProperty(e)&&(e=f[e]))}return l[e]||e},e.prototype.getGlobalEventTarget=function(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null},e.prototype.getHistory=function(){return window.history},e.prototype.getLocation=function(){return window.location},e.prototype.getBaseHref=function(t){var e,n=h||(h=document.querySelector("base"))?h.getAttribute("href"):null;return null==n?null:(e=n,p||(p=document.createElement("a")),p.setAttribute("href",e),"/"===p.pathname.charAt(0)?p.pathname:"/"+p.pathname)},e.prototype.resetBaseElement=function(){h=null},e.prototype.getUserAgent=function(){return window.navigator.userAgent},e.prototype.setData=function(t,e,n){this.setAttribute(t,"data-"+e,n)},e.prototype.getData=function(t,e){return this.getAttribute(t,"data-"+e)},e.prototype.getComputedStyle=function(t){return getComputedStyle(t)},e.prototype.supportsWebAnimation=function(){return"function"==typeof Element.prototype.animate},e.prototype.performanceNow=function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()},e.prototype.supportsCookies=function(){return!0},e.prototype.getCookie=function(t){return Object(o.u)(document.cookie,t)},e.prototype.setCookie=function(t,e){document.cookie=encodeURIComponent(t)+"="+encodeURIComponent(e)},e}(function(t){function e(){var e=t.call(this)||this;e._animationPrefix=null,e._transitionEnd=null;try{var n=e.createElement("div",document);if(null!=e.getStyle(n,"animationName"))e._animationPrefix="";else for(var r=["Webkit","Moz","O","ms"],o=0;o<r.length;o++)if(null!=e.getStyle(n,r[o]+"AnimationName")){e._animationPrefix="-"+r[o].toLowerCase()+"-";break}var i={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(i).forEach(function(t){null!=e.getStyle(n,t)&&(e._transitionEnd=i[t])})}catch(a){e._animationPrefix=null,e._transitionEnd=null}return e}return Object(r.__extends)(e,t),e.prototype.getDistributedNodes=function(t){return t.getDistributedNodes()},e.prototype.resolveAndSetHref=function(t,e,n){t.href=null==n?e:e+"/../"+n},e.prototype.supportsDOMEvents=function(){return!0},e.prototype.supportsNativeShadowDOM=function(){return"function"==typeof document.body.createShadowRoot},e.prototype.getAnimationPrefix=function(){return this._animationPrefix?this._animationPrefix:""},e.prototype.getTransitionEnd=function(){return this._transitionEnd?this._transitionEnd:""},e.prototype.supportsAnimation=function(){return null!=this._animationPrefix&&null!=this._transitionEnd},e}(function(){function t(){this.resourceLoaderType=null}return Object.defineProperty(t.prototype,"attrToPropMap",{get:function(){return this._attrToPropMap},set:function(t){this._attrToPropMap=t},enumerable:!0,configurable:!0}),t}())),h=null,v=o.d;function y(){return!!window.history.pushState}var g=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n._init(),n}return Object(r.__extends)(e,t),e.prototype._init=function(){this.location=s().getLocation(),this._history=s().getHistory()},e.prototype.getBaseHrefFromDOM=function(){return s().getBaseHref(this._doc)},e.prototype.onPopState=function(t){s().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)},e.prototype.onHashChange=function(t){s().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)},Object.defineProperty(e.prototype,"pathname",{get:function(){return this.location.pathname},set:function(t){this.location.pathname=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"search",{get:function(){return this.location.search},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hash",{get:function(){return this.location.hash},enumerable:!0,configurable:!0}),e.prototype.pushState=function(t,e,n){y()?this._history.pushState(t,e,n):this.location.hash=n},e.prototype.replaceState=function(t,e,n){y()?this._history.replaceState(t,e,n):this.location.hash=n},e.prototype.forward=function(){this._history.forward()},e.prototype.back=function(){this._history.back()},Object(r.__decorate)([Object(r.__param)(0,Object(i.Inject)(v)),Object(r.__metadata)("design:paramtypes",[Object])],e)}(o.o),m=new i.InjectionToken("TRANSITION_ID"),_=[{provide:i.APP_INITIALIZER,useFactory:function(t,e,n){return function(){n.get(i.ApplicationInitStatus).donePromise.then(function(){var n=s();Array.prototype.slice.apply(n.querySelectorAll(e,"style[ng-transition]")).filter(function(e){return n.getAttribute(e,"ng-transition")===t}).forEach(function(t){return n.remove(t)})})}},deps:[m,v,i.Injector],multi:!0}],b=function(){function t(){}return t.init=function(){Object(i.setTestabilityGetter)(new t)},t.prototype.addToWindow=function(t){i["\u0275global"].getAngularTestability=function(e,n){void 0===n&&(n=!0);var r=t.findTestabilityInTree(e,n);if(null==r)throw new Error("Could not find testability for element.");return r},i["\u0275global"].getAllAngularTestabilities=function(){return t.getAllTestabilities()},i["\u0275global"].getAllAngularRootElements=function(){return t.getAllRootElements()},i["\u0275global"].frameworkStabilizers||(i["\u0275global"].frameworkStabilizers=[]),i["\u0275global"].frameworkStabilizers.push(function(t){var e=i["\u0275global"].getAllAngularTestabilities(),n=e.length,r=!1,o=function(e){r=r||e,0==--n&&t(r)};e.forEach(function(t){t.whenStable(o)})})},t.prototype.findTestabilityInTree=function(t,e,n){if(null==e)return null;var r=t.getTestability(e);return null!=r?r:n?s().isShadowRoot(e)?this.findTestabilityInTree(t,s().getHost(e),!0):this.findTestabilityInTree(t,s().parentElement(e),!0):null},t}();function w(t,e){"undefined"!=typeof COMPILED&&COMPILED||((i["\u0275global"].ng=i["\u0275global"].ng||{})[t]=e)}var C={ApplicationRef:i.ApplicationRef,NgZone:i.NgZone},S="probe",E="coreTokens";function O(t){return Object(i.getDebugNode)(t)}function x(t){return w(S,O),w(E,Object(r.__assign)({},C,(t||[]).reduce(function(t,e){return t[e.name]=e.token,t},{}))),function(){return O}}var T=new i.InjectionToken("EventManagerPlugins"),j=function(){function t(t,e){var n=this;this._zone=e,this._eventNameToPlugin=new Map,t.forEach(function(t){return t.manager=n}),this._plugins=t.slice().reverse()}return t.prototype.addEventListener=function(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)},t.prototype.addGlobalEventListener=function(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)},t.prototype.getZone=function(){return this._zone},t.prototype._findPluginFor=function(t){var e=this._eventNameToPlugin.get(t);if(e)return e;for(var n=this._plugins,r=0;r<n.length;r++){var o=n[r];if(o.supports(t))return this._eventNameToPlugin.set(t,o),o}throw new Error("No event manager plugin found for event "+t)},t}(),k=function(){function t(t){this._doc=t}return t.prototype.addGlobalEventListener=function(t,e,n){var r=s().getGlobalEventTarget(this._doc,t);if(!r)throw new Error("Unsupported event target "+r+" for event "+e);return this.addEventListener(r,e,n)},t}(),I=function(){function t(){this._stylesSet=new Set}return t.prototype.addStyles=function(t){var e=this,n=new Set;t.forEach(function(t){e._stylesSet.has(t)||(e._stylesSet.add(t),n.add(t))}),this.onStylesAdded(n)},t.prototype.onStylesAdded=function(t){},t.prototype.getAllStyles=function(){return Array.from(this._stylesSet)},t}(),P=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n._hostNodes=new Set,n._styleNodes=new Set,n._hostNodes.add(e.head),n}return Object(r.__extends)(e,t),e.prototype._addStylesToHost=function(t,e){var n=this;t.forEach(function(t){var r=n._doc.createElement("style");r.textContent=t,n._styleNodes.add(e.appendChild(r))})},e.prototype.addHost=function(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)},e.prototype.removeHost=function(t){this._hostNodes.delete(t)},e.prototype.onStylesAdded=function(t){var e=this;this._hostNodes.forEach(function(n){return e._addStylesToHost(t,n)})},e.prototype.ngOnDestroy=function(){this._styleNodes.forEach(function(t){return s().remove(t)})},e}(I),R={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/"},A=/%COMP%/g,N="_nghost-%COMP%",D="_ngcontent-%COMP%";function M(t,e,n){for(var r=0;r<e.length;r++){var o=e[r];Array.isArray(o)?M(t,o,n):(o=o.replace(A,t),n.push(o))}return n}function F(t){return function(e){!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}var V=function(){function t(t,e){this.eventManager=t,this.sharedStylesHost=e,this.rendererByCompId=new Map,this.defaultRenderer=new L(t)}return t.prototype.createRenderer=function(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case i.ViewEncapsulation.Emulated:var n=this.rendererByCompId.get(e.id);return n||(n=new z(this.eventManager,this.sharedStylesHost,e),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n;case i.ViewEncapsulation.Native:case i.ViewEncapsulation.ShadowDom:return new q(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){var r=M(e.id,e.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}},t.prototype.begin=function(){},t.prototype.end=function(){},t}(),L=function(){function t(t){this.eventManager=t,this.data=Object.create(null)}return t.prototype.destroy=function(){},t.prototype.createElement=function(t,e){return e?document.createElementNS(R[e],t):document.createElement(t)},t.prototype.createComment=function(t){return document.createComment(t)},t.prototype.createText=function(t){return document.createTextNode(t)},t.prototype.appendChild=function(t,e){t.appendChild(e)},t.prototype.insertBefore=function(t,e,n){t&&t.insertBefore(e,n)},t.prototype.removeChild=function(t,e){t&&t.removeChild(e)},t.prototype.selectRootElement=function(t,e){var 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},t.prototype.parentNode=function(t){return t.parentNode},t.prototype.nextSibling=function(t){return t.nextSibling},t.prototype.setAttribute=function(t,e,n,r){if(r){e=r+":"+e;var o=R[r];o?t.setAttributeNS(o,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)},t.prototype.removeAttribute=function(t,e,n){if(n){var r=R[n];r?t.removeAttributeNS(r,e):t.removeAttribute(n+":"+e)}else t.removeAttribute(e)},t.prototype.addClass=function(t,e){t.classList.add(e)},t.prototype.removeClass=function(t,e){t.classList.remove(e)},t.prototype.setStyle=function(t,e,n,r){r&i.RendererStyleFlags2.DashCase?t.style.setProperty(e,n,r&i.RendererStyleFlags2.Important?"important":""):t.style[e]=n},t.prototype.removeStyle=function(t,e,n){n&i.RendererStyleFlags2.DashCase?t.style.removeProperty(e):t.style[e]=""},t.prototype.setProperty=function(t,e,n){H(e,"property"),t[e]=n},t.prototype.setValue=function(t,e){t.nodeValue=e},t.prototype.listen=function(t,e,n){return H(e,"listener"),"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,F(n)):this.eventManager.addEventListener(t,e,F(n))},t}(),U="@".charCodeAt(0);function H(t,e){if(t.charCodeAt(0)===U)throw new Error("Found the synthetic "+e+" "+t+'. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.')}var B,z=function(t){function e(e,n,r){var o=t.call(this,e)||this;o.component=r;var i=M(r.id,r.styles,[]);return n.addStyles(i),o.contentAttr=D.replace(A,r.id),o.hostAttr=N.replace(A,r.id),o}return Object(r.__extends)(e,t),e.prototype.applyToHost=function(e){t.prototype.setAttribute.call(this,e,this.hostAttr,"")},e.prototype.createElement=function(e,n){var r=t.prototype.createElement.call(this,e,n);return t.prototype.setAttribute.call(this,r,this.contentAttr,""),r},e}(L),q=function(t){function e(e,n,r,o){var a=t.call(this,e)||this;a.sharedStylesHost=n,a.hostEl=r,a.component=o,a.shadowRoot=o.encapsulation===i.ViewEncapsulation.ShadowDom?r.attachShadow({mode:"open"}):r.createShadowRoot(),a.sharedStylesHost.addHost(a.shadowRoot);for(var s=M(o.id,o.styles,[]),u=0;u<s.length;u++){var c=document.createElement("style");c.textContent=s[u],a.shadowRoot.appendChild(c)}return a}return Object(r.__extends)(e,t),e.prototype.nodeOrShadowRoot=function(t){return t===this.hostEl?this.shadowRoot:t},e.prototype.destroy=function(){this.sharedStylesHost.removeHost(this.shadowRoot)},e.prototype.appendChild=function(e,n){return t.prototype.appendChild.call(this,this.nodeOrShadowRoot(e),n)},e.prototype.insertBefore=function(e,n,r){return t.prototype.insertBefore.call(this,this.nodeOrShadowRoot(e),n,r)},e.prototype.removeChild=function(e,n){return t.prototype.removeChild.call(this,this.nodeOrShadowRoot(e),n)},e.prototype.parentNode=function(e){return this.nodeOrShadowRoot(t.prototype.parentNode.call(this,this.nodeOrShadowRoot(e)))},e}(L),Q="undefined"!=typeof Zone&&Zone.__symbol__||function(t){return"__zone_symbol__"+t},K=Q("addEventListener"),Z=Q("removeEventListener"),G={},W="__zone_symbol__propagationStopped";"undefined"!=typeof Zone&&Zone[Q("BLACK_LISTED_EVENTS")]&&(B={});var Y=function(t){return!!B&&B.hasOwnProperty(t)},J=function(t){var e=G[t.type];if(e){var n=this[e];if(n){var r=[t];if(1===n.length)return(a=n[0]).zone!==Zone.current?a.zone.run(a.handler,this,r):a.handler.apply(this,r);for(var o=n.slice(),i=0;i<o.length&&!0!==t[W];i++){var a;(a=o[i]).zone!==Zone.current?a.zone.run(a.handler,this,r):a.handler.apply(this,r)}}}},$=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.ngZone=n,r&&Object(o.r)(r)||i.patchEvent(),i}return Object(r.__extends)(e,t),e.prototype.patchEvent=function(){if("undefined"!=typeof Event&&Event&&Event.prototype&&!Event.prototype.__zone_symbol__stopImmediatePropagation){var t=Event.prototype.__zone_symbol__stopImmediatePropagation=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[W]=!0),t&&t.apply(this,arguments)}}},e.prototype.supports=function(t){return!0},e.prototype.addEventListener=function(t,e,n){var r=this,o=n;if(!t[K]||i.NgZone.isInAngularZone()&&!Y(e))t.addEventListener(e,o,!1);else{var a=G[e];a||(a=G[e]=Q("ANGULAR"+e+"FALSE"));var s=t[a],u=s&&s.length>0;s||(s=t[a]=[]);var c=Y(e)?Zone.root:Zone.current;if(0===s.length)s.push({zone:c,handler:o});else{for(var l=!1,f=0;f<s.length;f++)if(s[f].handler===o){l=!0;break}l||s.push({zone:c,handler:o})}u||t[K](e,J,!1)}return function(){return r.removeEventListener(t,e,o)}},e.prototype.removeEventListener=function(t,e,n){var r=t[Z];if(!r)return t.removeEventListener.apply(t,[e,n,!1]);var o=G[e],i=o&&t[o];if(!i)return t.removeEventListener.apply(t,[e,n,!1]);for(var a=!1,s=0;s<i.length;s++)if(i[s].handler===n){a=!0,i.splice(s,1);break}a?0===i.length&&r.apply(t,[e,J,!1]):t.removeEventListener.apply(t,[e,n,!1])},e}(k),X={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0},tt=new i.InjectionToken("HammerGestureConfig"),et=new i.InjectionToken("HammerLoader"),nt=function(){function t(){this.events=[],this.overrides={}}return t.prototype.buildHammer=function(t){var e=new Hammer(t,this.options);for(var n in e.get("pinch").set({enable:!0}),e.get("rotate").set({enable:!0}),this.overrides)e.get(n).set(this.overrides[n]);return e},t}(),rt=function(t){function e(e,n,r,o){var i=t.call(this,e)||this;return i._config=n,i.console=r,i.loader=o,i}return Object(r.__extends)(e,t),e.prototype.supports=function(t){return!(!X.hasOwnProperty(t.toLowerCase())&&!this.isCustomEvent(t)||!window.Hammer&&!this.loader&&(this.console.warn('The "'+t+'" event cannot be bound because Hammer.JS is not loaded and no custom loader has been specified.'),1))},e.prototype.addEventListener=function(t,e,n){var r=this,o=this.manager.getZone();if(e=e.toLowerCase(),!window.Hammer&&this.loader){var i=!1,a=function(){i=!0};return this.loader().then(function(){if(!window.Hammer)return r.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(a=function(){});i||(a=r.addEventListener(t,e,n))}).catch(function(){r.console.warn('The "'+e+'" event cannot be bound because the custom Hammer.JS loader failed.'),a=function(){}}),function(){a()}}return o.runOutsideAngular(function(){var i=r._config.buildHammer(t),a=function(t){o.runGuarded(function(){n(t)})};return i.on(e,a),function(){i.off(e,a),"function"==typeof i.destroy&&i.destroy()}})},e.prototype.isCustomEvent=function(t){return this._config.events.indexOf(t)>-1},e}(k),ot=["alt","control","meta","shift"],it={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},at=function(t){function e(e){return t.call(this,e)||this}var n;return Object(r.__extends)(e,t),n=e,e.prototype.supports=function(t){return null!=n.parseEventName(t)},e.prototype.addEventListener=function(t,e,r){var o=n.parseEventName(e),i=n.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return s().onAndCancel(t,o.domEventName,i)})},e.parseEventName=function(t){var e=t.toLowerCase().split("."),r=e.shift();if(0===e.length||"keydown"!==r&&"keyup"!==r)return null;var o=n._normalizeKey(e.pop()),i="";if(ot.forEach(function(t){var n=e.indexOf(t);n>-1&&(e.splice(n,1),i+=t+".")}),i+=o,0!=e.length||0===o.length)return null;var a={};return a.domEventName=r,a.fullKey=i,a},e.getEventFullKey=function(t){var e="",n=s().getEventKey(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),ot.forEach(function(r){r!=n&&(0,it[r])(t)&&(e+=r+".")}),e+=n},e.eventCallback=function(t,e,r){return function(o){n.getEventFullKey(o)===t&&r.runGuarded(function(){return e(o)})}},e._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},e}(k),st=function(){return function(){}}(),ut=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n}return Object(r.__extends)(e,t),e.prototype.sanitize=function(t,e){if(null==e)return null;switch(t){case i.SecurityContext.NONE:return e;case i.SecurityContext.HTML:return e instanceof lt?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),Object(i["\u0275_sanitizeHtml"])(this._doc,String(e)));case i.SecurityContext.STYLE:return e instanceof ft?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),Object(i["\u0275_sanitizeStyle"])(e));case i.SecurityContext.SCRIPT:if(e instanceof pt)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"Script"),new Error("unsafe value used in a script context");case i.SecurityContext.URL:return e instanceof ht||e instanceof dt?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"URL"),Object(i["\u0275_sanitizeUrl"])(String(e)));case i.SecurityContext.RESOURCE_URL:if(e instanceof ht)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"ResourceURL"),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)")}},e.prototype.checkNotSafeValue=function(t,e){if(t instanceof ct)throw new Error("Required a safe "+e+", got a "+t.getTypeName()+" (see http://g.co/ng/security#xss)")},e.prototype.bypassSecurityTrustHtml=function(t){return new lt(t)},e.prototype.bypassSecurityTrustStyle=function(t){return new ft(t)},e.prototype.bypassSecurityTrustScript=function(t){return new pt(t)},e.prototype.bypassSecurityTrustUrl=function(t){return new dt(t)},e.prototype.bypassSecurityTrustResourceUrl=function(t){return new ht(t)},e}(st),ct=function(){function t(t){this.changingThisBreaksApplicationSecurity=t}return t.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},t}(),lt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.getTypeName=function(){return"HTML"},e}(ct),ft=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.getTypeName=function(){return"Style"},e}(ct),pt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.getTypeName=function(){return"Script"},e}(ct),dt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.getTypeName=function(){return"URL"},e}(ct),ht=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.getTypeName=function(){return"ResourceURL"},e}(ct),vt=[{provide:i.PLATFORM_ID,useValue:o.s},{provide:i.PLATFORM_INITIALIZER,useValue:function(){d.makeCurrent(),b.init()},multi:!0},{provide:o.o,useClass:g,deps:[v]},{provide:v,useFactory:function(){return document},deps:[]}],yt=Object(i.createPlatformFactory)(i.platformCore,"browser",vt);function gt(){return new i.ErrorHandler}var mt=function(){function t(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.")}var e;return e=t,t.withServerTransition=function(t){return{ngModule:e,providers:[{provide:i.APP_ID,useValue:t.appId},{provide:m,useExisting:i.APP_ID},_]}},t}();"undefined"!=typeof window&&window},Zn8D:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("psW0"),o=n("mChF");function i(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),Object(r.a)(o.a,t)}},b7mW:function(t,e,n){"use strict";function r(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}n.d(e,"a",function(){return o}),r.prototype=Object.create(Error.prototype);var o=r},crnd:function(t,e,n){var r={"../dashboard/dashboard.module.ngfactory":["uP/6",4]};function o(t){var e=r[t];return e?n.e(e[1]).then(function(){return n(e[0])}):Promise.resolve().then(function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e})}o.keys=function(){return Object.keys(r)},o.id="crnd",t.exports=o},iLxQ:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=!1,o={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){r=t},get useDeprecatedSynchronousErrorHandling(){return r}}},isby:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=Array.isArray||function(t){return t&&"number"==typeof t.length}},mChF:function(t,e,n){"use strict";function r(t){return t}n.d(e,"a",function(){return r})},mrSG:function(t,e,n){"use strict";n.r(e),n.d(e,"__extends",function(){return o}),n.d(e,"__assign",function(){return i}),n.d(e,"__rest",function(){return a}),n.d(e,"__decorate",function(){return s}),n.d(e,"__param",function(){return u}),n.d(e,"__metadata",function(){return c}),n.d(e,"__awaiter",function(){return l}),n.d(e,"__generator",function(){return f}),n.d(e,"__exportStar",function(){return p}),n.d(e,"__values",function(){return d}),n.d(e,"__read",function(){return h}),n.d(e,"__spread",function(){return v}),n.d(e,"__await",function(){return y}),n.d(e,"__asyncGenerator",function(){return g}),n.d(e,"__asyncDelegator",function(){return m}),n.d(e,"__asyncValues",function(){return _}),n.d(e,"__makeTemplateObject",function(){return b}),n.d(e,"__importStar",function(){return w}),n.d(e,"__importDefault",function(){return C});var r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function o(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var i=function(){return(i=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};function a(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&(n[r[o]]=t[r[o]])}return n}function s(t,e,n,r){var o,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(a=(i<3?o(a):i>3?o(e,n,a):o(e,n))||a);return i>3&&a&&Object.defineProperty(e,n,a),a}function u(t,e){return function(n,r){e(n,r,t)}}function c(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function l(t,e,n,r){return new(n||(n=Promise))(function(o,i){function a(t){try{u(r.next(t))}catch(e){i(e)}}function s(t){try{u(r.throw(t))}catch(e){i(e)}}function u(t){t.done?o(t.value):new n(function(e){e(t.value)}).then(a,s)}u((r=r.apply(t,e||[])).next())})}function f(t,e){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=e.call(t,a)}catch(s){i=[6,s],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}function p(t,e){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}function d(t){var e="function"==typeof Symbol&&t[Symbol.iterator],n=0;return e?e.call(t):{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}function h(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function v(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(h(arguments[e]));return t}function y(t){return this instanceof y?(this.v=t,this):new y(t)}function g(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(t,e||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(t){o[t]&&(r[t]=function(e){return new Promise(function(n,r){i.push([t,e,n,r])>1||s(t,e)})})}function s(t,e){try{(n=o[t](e)).value instanceof y?Promise.resolve(n.value.v).then(u,c):l(i[0][2],n)}catch(r){l(i[0][3],r)}var n}function u(t){s("next",t)}function c(t){s("throw",t)}function l(t,e){t(e),i.shift(),i.length&&s(i[0][0],i[0][1])}}function m(t){var e,n;return e={},r("next"),r("throw",function(t){throw t}),r("return"),e[Symbol.iterator]=function(){return this},e;function r(r,o){e[r]=t[r]?function(e){return(n=!n)?{value:y(t[r](e)),done:"return"===r}:o?o(e):e}:o}}function _(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=d(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise(function(r,o){!function(t,e,n,r){Promise.resolve(r).then(function(e){t({value:e,done:n})},e)}(r,o,(e=t[n](e)).done,e.value)})}}}function b(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function w(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function C(t){return t&&t.__esModule?t:{default:t}}},nkY7:function(t,e,n){"use strict";function r(t){return t&&"function"==typeof t.schedule}n.d(e,"a",function(){return r})},p0Sj:function(t,e,n){"use strict";var r=n("IUTb"),o=n("PU8L"),i=n("G5J1"),a=n("nkY7"),s=n("F/XL"),u=n("0/uQ"),c=n("Txjg");function l(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){var n=t[t.length-1];Object(a.a)(n)?t.pop():n=null;var l=t.length;return function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length||2===t.length&&Object(a.a)(t[1])?Object(u.a)(t[0]):Object(c.a)()(s.a.apply(void 0,t))}(1!==l||n?l>0?Object(r.a)(t,n):Object(i.b)(n):Object(o.a)(t[0]),e)}}n.d(e,"a",function(){return l})},pMnS:function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n("CcnG"),o=n("ZYCi"),i=r["\u0275crt"]({encapsulation:2,styles:[],data:{}});function a(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),r["\u0275did"](1,212992,null,0,o.n,[o.b,r.ViewContainerRef,r.ComponentFactoryResolver,[8,null],r.ChangeDetectorRef],null,null)],function(t,e){t(e,1,0)},null)}function s(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"ng-component",[],null,null,null,a,i)),r["\u0275did"](1,49152,null,0,o.r,[],null,null)],null,null)}var u=r["\u0275ccf"]("ng-component",o.r,s,{},{},[])},psW0:function(t,e,n){"use strict";n.d(e,"a",function(){return c});var r=n("mrSG"),o=n("zotm"),i=n("MGBS"),a=n("rPjj"),s=n("67Y/"),u=n("0/uQ");function c(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof e?function(r){return r.pipe(c(function(n,r){return Object(u.a)(t(n,r)).pipe(Object(s.a)(function(t,o){return e(n,t,r,o)}))},n))}:("number"==typeof e&&(n=e),function(e){return e.lift(new l(t,n))})}var l=function(){function t(t,e){void 0===e&&(e=Number.POSITIVE_INFINITY),this.project=t,this.concurrent=e}return t.prototype.call=function(t,e){return e.subscribe(new f(t,this.project,this.concurrent))},t}(),f=function(t){function e(e,n,r){void 0===r&&(r=Number.POSITIVE_INFINITY);var o=t.call(this,e)||this;return o.project=n,o.concurrent=r,o.hasCompleted=!1,o.buffer=[],o.active=0,o.index=0,o}return r.__extends(e,t),e.prototype._next=function(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var r=new a.a(this,void 0,void 0);this.destination.add(r),Object(o.a)(this,t,e,n,r)},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()},e.prototype.notifyNext=function(t,e,n,r,o){this.destination.next(e)},e.prototype.notifyComplete=function(t){var e=this.buffer;this.remove(t),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(i.a)},pugT:function(t,e,n){"use strict";var r,o=n("isby"),i=n("McSo"),a=n("2Bdj"),s={e:{}};function u(){try{return r.apply(this,arguments)}catch(t){return s.e=t,s}}function c(t){return r=t,u}function l(t){return Error.call(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(function(t,e){return e+1+") "+t.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=t,this}l.prototype=Object.create(Error.prototype);var f=l;n.d(e,"a",function(){return p});var p=function(){function t(t){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}var e;return t.prototype.unsubscribe=function(){var t,e=!1;if(!this.closed){var n=this._parent,r=this._parents,u=this._unsubscribe,l=this._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var p=-1,h=r?r.length:0;n;)n.remove(this),n=++p<h&&r[p]||null;if(Object(a.a)(u)&&c(u).call(this)===s&&(e=!0,t=t||(s.e instanceof f?d(s.e.errors):[s.e])),Object(o.a)(l))for(p=-1,h=l.length;++p<h;){var v=l[p];if(Object(i.a)(v)&&c(v.unsubscribe).call(v)===s){e=!0,t=t||[];var y=s.e;y instanceof f?t=t.concat(d(y.errors)):t.push(y)}}if(e)throw new f(t)}},t.prototype.add=function(e){if(!e||e===t.EMPTY)return t.EMPTY;if(e===this)return this;var n=e;switch(typeof e){case"function":n=new t(e);case"object":if(n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if("function"!=typeof n._addParent){var r=n;(n=new t)._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}return(this._subscriptions||(this._subscriptions=[])).push(n),n._addParent(this),n},t.prototype.remove=function(t){var e=this._subscriptions;if(e){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}},t.prototype._addParent=function(t){var e=this._parent,n=this._parents;e&&e!==t?n?-1===n.indexOf(t)&&n.push(t):this._parents=[t]:this._parent=t},t.EMPTY=((e=new t).closed=!0,e),t}();function d(t){return t.reduce(function(t,e){return t.concat(e instanceof f?e.errors:e)},[])}},rPjj:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("mrSG"),o=function(t){function e(e,n,r){var o=t.call(this)||this;return o.parent=e,o.outerValue=n,o.outerIndex=r,o.index=0,o}return r.__extends(e,t),e.prototype._next=function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)},e.prototype._error=function(t){this.parent.notifyError(t,this),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},e}(n("FFOo").a)},t9fZ:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n("mrSG"),o=n("FFOo"),i=n("b7mW"),a=n("G5J1");function s(t){return function(e){return 0===t?Object(a.b)():e.lift(new u(t))}}var u=function(){function t(t){if(this.total=t,this.total<0)throw new i.a}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.total))},t}(),c=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.count=0,r}return r.__extends(e,t),e.prototype._next=function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))},e}(o.a)},u67D:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("En8+"),o=function(t){return function(e){for(var n=t[r.a]();;){var o=n.next();if(o.done){e.complete();break}if(e.next(o.value),e.closed)break}return"function"==typeof n.return&&e.add(function(){n.return&&n.return()}),e}}},xMyE:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n("mrSG"),o=n("FFOo"),i=n("+umK"),a=n("2Bdj");function s(t,e,n){return function(r){return r.lift(new u(t,e,n))}}var u=function(){function t(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.nextOrObserver,this.error,this.complete))},t}(),c=function(t){function e(e,n,r,o){var s=t.call(this,e)||this;return s._tapNext=i.a,s._tapError=i.a,s._tapComplete=i.a,s._tapError=r||i.a,s._tapComplete=o||i.a,Object(a.a)(n)?(s._context=s,s._tapNext=n):n&&(s._context=n,s._tapNext=n.next||i.a,s._tapError=n.error||i.a,s._tapComplete=n.complete||i.a),s}return r.__extends(e,t),e.prototype._next=function(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)},e.prototype._error=function(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)},e.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()},e}(o.a)},xTla:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r="function"==typeof Symbol&&Symbol.observable||"@@observable"},y3By:function(t,e,n){"use strict";n.d(e,"a",function(){return o}),n.d(e,"b",function(){return i});var r=n("+umK");function o(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return i(t)}function i(t){return t?1===t.length?t[0]:function(e){return t.reduce(function(t,e){return e(t)},e)}:r.a}},zUnb:function(t,e,n){"use strict";n.r(e);var r=n("CcnG"),o=n("AytR"),i=function(){return function(){}}(),a=function(){return function(){this.title="app"}}(),s=n("pMnS"),u=n("mrSG"),c=n("ZYjt");n("K9Ia"),n("6blF");var l=n("Ip0R"),f="undefined"!=typeof Intl&&Intl.v8BreakIterator,p=function(){function t(t){this._platformId=t,this.isBrowser=this._platformId?Object(l.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&&!f)&&"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.ngInjectableDef=Object(r.defineInjectable)({factory:function(){return new t(Object(r.inject)(r.PLATFORM_ID,8))},token:t,providedIn:"root"}),t}();n("p0Sj"),n("pugT"),n("F/XL"),n("xMyE"),n("FFOo"),n("T1DM"),n("VnD/"),n("67Y/"),n("t9fZ");var d=new r.InjectionToken("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),h=function(){function t(t,e){this._sanityChecksEnabled=t,this._hammerLoader=e,this._hasDoneGlobalChecks=!1,this._hasCheckedHammer=!1,this._document="object"==typeof document&&document?document:null,this._window="object"==typeof window&&window?window:null,this._areChecksEnabled()&&!this._hasDoneGlobalChecks&&(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._hasDoneGlobalChecks=!0)}return t.prototype._areChecksEnabled=function(){return this._sanityChecksEnabled&&Object(r.isDevMode)()&&!this._isTestEnv()},t.prototype._isTestEnv=function(){var t=this._window;return t&&(t.__karma__||t.jasmine)},t.prototype._checkDoctypeIsDefined=function(){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.")},t.prototype._checkThemeIsPresent=function(){if(this._document&&this._document.body&&"function"==typeof getComputedStyle){var t=this._document.createElement("div");t.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(t);var 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)}},t.prototype._checkHammerIsAvailable=function(){!this._hasCheckedHammer&&this._window&&(!this._areChecksEnabled()||this._window.Hammer||this._hammerLoader||console.warn("Could not find HammerJS. Certain Angular Material components may not work correctly."),this._hasCheckedHammer=!0)},t}();function v(t,e){return function(t){function n(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=t.apply(this,n)||this;return o.color=e,o}return Object(u.__extends)(n,t),Object.defineProperty(n.prototype,"color",{get:function(){return this._color},set:function(t){var 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)},enumerable:!0,configurable:!0}),n}(t)}var y=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o._platform=n,o._document=r,o}return Object(u.__extends)(e,t),e.prototype.ngAfterViewInit=function(){var t=this;Object(r.isDevMode)()&&this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(function(){return t._checkToolbarMixedModes()}))},e.prototype._checkToolbarMixedModes=function(){var t=this;this._toolbarRows.length&&Array.from(this._elementRef.nativeElement.childNodes).filter(function(t){return!(t.classList&&t.classList.contains("mat-toolbar-row"))}).filter(function(e){return e.nodeType!==(t._document?t._document.COMMENT_NODE:8)}).some(function(t){return!(!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.")}()},e}(v(function(){return function(t){this._elementRef=t}}())),g=function(){return function(){}}(),m=function(){return function(){}}(),_=r["\u0275crt"]({encapsulation:2,styles:["@media screen and (-ms-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}}"],data:{}});function b(t){return r["\u0275vid"](2,[r["\u0275ncd"](null,0),r["\u0275ncd"](null,1)],null,null)}var w=n("ZYCi"),C=r["\u0275crt"]({encapsulation:0,styles:[['[_nghost-%COMP%]{height:100%;display:block}router-outlet[_ngcontent-%COMP%]{display:none}.app[_ngcontent-%COMP%]{height:100%;display:block;position:relative}.app__nav[_ngcontent-%COMP%]{box-sizing:border-box;text-align:left;background:#000;width:100%;height:60px;padding:0 40px}.app__nav[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{height:60px;margin:0;padding:0}.app__spacer[_ngcontent-%COMP%]{flex:1 1 auto}.app__navlink[_ngcontent-%COMP%]{box-sizing:border-box;font-size:20px;text-align:center;background:#000;color:#fff;display:inline-block;height:60px;line-height:60px;width:auto;text-decoration:none;overflow:hidden;margin:0 0 0 20px}.app__navtitle[_ngcontent-%COMP%]{box-sizing:border-box;font-size:20px;text-align:center;background:#000;color:#fff;display:inline-block;margin:0 40px 0 0;text-decoration:none}.app__navlogo[_ngcontent-%COMP%] .mclaren-swish[_ngcontent-%COMP%]{height:30px;vertical-align:sub}.app__icon[_ngcontent-%COMP%]{font-family:"Material Icons"}.app__content[_ngcontent-%COMP%]{position:relative;height:calc(100% - 60px);display:block}.app__container[_ngcontent-%COMP%]{position:relative;height:100%;display:block}']],data:{}});function S(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,17,"div",[["class","app"]],null,null,null,null,null)),(t()(),r["\u0275eld"](1,0,null,null,12,"mat-toolbar",[["class","app__nav mat-toolbar"]],[[2,"mat-toolbar-multiple-rows",null],[2,"mat-toolbar-single-row",null]],null,null,b,_)),r["\u0275did"](2,4243456,null,1,y,[r.ElementRef,p,l.d],null,null),r["\u0275qud"](603979776,1,{_toolbarRows:1}),(t()(),r["\u0275eld"](4,0,null,0,3,"span",[],null,null,null,null,null)),(t()(),r["\u0275eld"](5,0,null,null,2,"a",[["class","app__navlink app__navtitle app__navlogo"],["routerLink","dashboard"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var o=!0;return"click"===e&&(o=!1!==r["\u0275nov"](t,6).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&o),o},null,null)),r["\u0275did"](6,671744,null,0,w.l,[w.k,w.a,l.h],{routerLink:[0,"routerLink"]},null),(t()(),r["\u0275eld"](7,0,null,null,0,"img",[["class","mclaren-swish"],["src","./assets/img/mat-logo.png"]],null,null,null,null,null)),(t()(),r["\u0275eld"](8,0,null,0,3,"span",[],null,null,null,null,null)),(t()(),r["\u0275eld"](9,0,null,null,2,"a",[["class","app__navlink app__navtitle mclaren-sub-heading"],["routerLink","dashboard"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(t,e,n){var o=!0;return"click"===e&&(o=!1!==r["\u0275nov"](t,10).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&o),o},null,null)),r["\u0275did"](10,671744,null,0,w.l,[w.k,w.a,l.h],{routerLink:[0,"routerLink"]},null),(t()(),r["\u0275ted"](-1,null,["MAT Coding Challenge Dashboard"])),(t()(),r["\u0275eld"](12,0,null,0,0,"span",[["class","app__spacer"]],null,null,null,null,null)),(t()(),r["\u0275eld"](13,0,null,0,0,"span",[],null,null,null,null,null)),(t()(),r["\u0275eld"](14,0,null,null,3,"div",[["class","app__content"]],null,null,null,null,null)),(t()(),r["\u0275eld"](15,0,null,null,2,"div",[["class","app__container"]],null,null,null,null,null)),(t()(),r["\u0275eld"](16,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),r["\u0275did"](17,212992,null,0,w.n,[w.b,r.ViewContainerRef,r.ComponentFactoryResolver,[8,null],r.ChangeDetectorRef],null,null)],function(t,e){t(e,6,0,"dashboard"),t(e,10,0,"dashboard"),t(e,17,0)},function(t,e){t(e,1,0,r["\u0275nov"](e,2)._toolbarRows.length>0,0===r["\u0275nov"](e,2)._toolbarRows.length),t(e,5,0,r["\u0275nov"](e,6).target,r["\u0275nov"](e,6).href),t(e,9,0,r["\u0275nov"](e,10).target,r["\u0275nov"](e,10).href)})}function E(t){return r["\u0275vid"](0,[(t()(),r["\u0275eld"](0,0,null,null,1,"app-root",[],null,null,null,S,C)),r["\u0275did"](1,49152,null,0,a,[],null,null)],null,null)}var O=r["\u0275ccf"]("app-root",a,E,{},{},[]),x=function(){return function(){}}(),T=function(){return function(){}}(),j="*";function k(t,e){return void 0===e&&(e=null),{type:2,steps:t,options:e}}function I(t){return{type:6,styles:t,offset:null}}function P(t){Promise.resolve(null).then(t)}var R=function(){function t(t,e){void 0===t&&(t=0),void 0===e&&(e=0),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=t+e}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.hasStarted=function(){return this._started},t.prototype.init=function(){},t.prototype.play=function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0},t.prototype.triggerMicrotask=function(){var t=this;P(function(){return t._onFinish()})},t.prototype._onStart=function(){this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[]},t.prototype.pause=function(){},t.prototype.restart=function(){},t.prototype.finish=function(){this._onFinish()},t.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])},t.prototype.reset=function(){},t.prototype.setPosition=function(t){},t.prototype.getPosition=function(){return 0},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0},t}(),A=function(){function t(t){var e=this;this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;var n=0,r=0,o=0,i=this.players.length;0==i?P(function(){return e._onFinish()}):this.players.forEach(function(t){t.onDone(function(){++n==i&&e._onFinish()}),t.onDestroy(function(){++r==i&&e._onDestroy()}),t.onStart(function(){++o==i&&e._onStart()})}),this.totalTime=this.players.reduce(function(t,e){return Math.max(t,e.totalTime)},0)}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},t.prototype.init=function(){this.players.forEach(function(t){return t.init()})},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype._onStart=function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[])},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.hasStarted=function(){return this._started},t.prototype.play=function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(function(t){return t.play()})},t.prototype.pause=function(){this.players.forEach(function(t){return t.pause()})},t.prototype.restart=function(){this.players.forEach(function(t){return t.restart()})},t.prototype.finish=function(){this._onFinish(),this.players.forEach(function(t){return t.finish()})},t.prototype.destroy=function(){this._onDestroy()},t.prototype._onDestroy=function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(t){return t.destroy()}),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])},t.prototype.reset=function(){this.players.forEach(function(t){return t.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1},t.prototype.setPosition=function(t){var e=t*this.totalTime;this.players.forEach(function(t){var n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})},t.prototype.getPosition=function(){var t=0;return this.players.forEach(function(e){var n=e.getPosition();t=Math.min(n,t)}),t},t.prototype.beforeDestroy=function(){this.players.forEach(function(t){t.beforeDestroy&&t.beforeDestroy()})},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0},t}(),N="!";function D(){return"undefined"!=typeof process}function M(t){switch(t.length){case 0:return new R;case 1:return t[0];default:return new A(t)}}function F(t,e,n,r,o,i){void 0===o&&(o={}),void 0===i&&(i={});var a=[],s=[],u=-1,c=null;if(r.forEach(function(t){var n=t.offset,r=n==u,l=r&&c||{};Object.keys(t).forEach(function(n){var r=n,s=t[n];if("offset"!==n)switch(r=e.normalizePropertyName(r,a),s){case N:s=o[n];break;case j:s=i[n];break;default:s=e.normalizeStyleValue(n,r,s,a)}l[r]=s}),r||s.push(l),c=l,u=n}),a.length)throw new Error("Unable to animate due to the following errors:\n - "+a.join("\n - "));return s}function V(t,e,n,r){switch(e){case"start":t.onStart(function(){return r(n&&L(n,"start",t))});break;case"done":t.onDone(function(){return r(n&&L(n,"done",t))});break;case"destroy":t.onDestroy(function(){return r(n&&L(n,"destroy",t))})}}function L(t,e,n){var r=n.totalTime,o=U(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==r?t.totalTime:r,!!n.disabled),i=t._data;return null!=i&&(o._data=i),o}function U(t,e,n,r,o,i,a){return void 0===o&&(o=""),void 0===i&&(i=0),{element:t,triggerName:e,fromState:n,toState:r,phaseName:o,totalTime:i,disabled:!!a}}function H(t,e,n){var r;return t instanceof Map?(r=t.get(e))||t.set(e,r=n):(r=t[e])||(r=t[e]=n),r}function B(t){var e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}var z=function(t,e){return!1},q=function(t,e){return!1},Q=function(t,e,n){return[]},K=D();if(K||"undefined"!=typeof Element){if(z=function(t,e){return t.contains(e)},K||Element.prototype.matches)q=function(t,e){return t.matches(e)};else{var Z=Element.prototype,G=Z.matchesSelector||Z.mozMatchesSelector||Z.msMatchesSelector||Z.oMatchesSelector||Z.webkitMatchesSelector;G&&(q=function(t,e){return G.apply(t,[e])})}Q=function(t,e,n){var r=[];if(n)r.push.apply(r,Object(u.__spread)(t.querySelectorAll(e)));else{var o=t.querySelector(e);o&&r.push(o)}return r}}var W=null,Y=!1;function J(t){W||(W=("undefined"!=typeof document?document.body:null)||{},Y=!!W.style&&"WebkitAppearance"in W.style);var e=!0;return W.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&!(e=t in W.style)&&Y&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in W.style),e}var $=q,X=z,tt=Q;function et(t){var e={};return Object.keys(t).forEach(function(n){var r=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[r]=t[n]}),e}var nt=function(){function t(){}return t.prototype.validateStyleProperty=function(t){return J(t)},t.prototype.matchesElement=function(t,e){return $(t,e)},t.prototype.containsElement=function(t,e){return X(t,e)},t.prototype.query=function(t,e,n){return tt(t,e,n)},t.prototype.computeStyle=function(t,e,n){return n||""},t.prototype.animate=function(t,e,n,r,o,i,a){return void 0===i&&(i=[]),new R(n,r)},t}(),rt=function(){function t(){}return t.NOOP=new nt,t}(),ot=1e3;function it(t){if("number"==typeof t)return t;var e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:at(parseFloat(e[1]),e[2])}function at(t,e){switch(e){case"s":return t*ot;default:return t}}function st(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){var r,o=0,i="";if("string"==typeof t){var a=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return e.push('The provided timing value "'+t+'" is invalid.'),{duration:0,delay:0,easing:""};r=at(parseFloat(a[1]),a[2]);var s=a[3];null!=s&&(o=at(Math.floor(parseFloat(s)),a[4]));var u=a[5];u&&(i=u)}else r=t;if(!n){var c=!1,l=e.length;r<0&&(e.push("Duration values below 0 are not allowed for this animation step."),c=!0),o<0&&(e.push("Delay values below 0 are not allowed for this animation step."),c=!0),c&&e.splice(l,0,'The provided timing value "'+t+'" is invalid.')}return{duration:r,delay:o,easing:i}}(t,e,n)}function ut(t,e){return void 0===e&&(e={}),Object.keys(t).forEach(function(n){e[n]=t[n]}),e}function ct(t,e,n){if(void 0===n&&(n={}),e)for(var r in t)n[r]=t[r];else ut(t,n);return n}function lt(t,e,n){return n?e+":"+n+";":""}function ft(t){for(var e="",n=0;n<t.style.length;n++)e+=lt(0,r=t.style.item(n),t.style.getPropertyValue(r));for(var r in t.style)t.style.hasOwnProperty(r)&&!r.startsWith("_")&&(e+=lt(0,r.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.style[r]));t.setAttribute("style",e)}function pt(t,e){t.style&&(Object.keys(e).forEach(function(n){var r=bt(n);t.style[r]=e[n]}),D()&&ft(t))}function dt(t,e){t.style&&(Object.keys(e).forEach(function(e){var n=bt(e);t.style[n]=""}),D()&&ft(t))}function ht(t){return Array.isArray(t)?1==t.length?t[0]:k(t):t}var vt=new RegExp("{{\\s*(.+?)\\s*}}","g");function yt(t){var e=[];if("string"==typeof t){for(var n=t.toString(),r=void 0;r=vt.exec(n);)e.push(r[1]);vt.lastIndex=0}return e}function gt(t,e,n){var r=t.toString(),o=r.replace(vt,function(t,r){var o=e[r];return e.hasOwnProperty(r)||(n.push("Please provide a value for the animation param "+r),o=""),o.toString()});return o==r?t:o}function mt(t){for(var e=[],n=t.next();!n.done;)e.push(n.value),n=t.next();return e}var _t=/-+([a-z0-9])/g;function bt(t){return t.replace(_t,function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return t[1].toUpperCase()})}function wt(t,e){return 0===t||0===e}function Ct(t,e,n){var r=Object.keys(n);if(r.length&&e.length){var o=e[0],i=[];if(r.forEach(function(t){o.hasOwnProperty(t)||i.push(t),o[t]=n[t]}),i.length)for(var a=function(){var n=e[s];i.forEach(function(e){n[e]=Et(t,e)})},s=1;s<e.length;s++)a()}return e}function St(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 Et(t,e){return window.getComputedStyle(t)[e]}var Ot="*",xt=new Set(["true","1"]),Tt=new Set(["false","0"]);function jt(t,e){var n=xt.has(t)||Tt.has(t),r=xt.has(e)||Tt.has(e);return function(o,i){var a=t==Ot||t==o,s=e==Ot||e==i;return!a&&n&&"boolean"==typeof o&&(a=o?xt.has(t):Tt.has(t)),!s&&r&&"boolean"==typeof i&&(s=i?xt.has(e):Tt.has(e)),a&&s}}var kt=new RegExp("s*:selfs*,?","g");function It(t,e,n){return new Pt(t).build(e,n)}var Pt=function(){function t(t){this._driver=t}return t.prototype.build=function(t,e){var n=new Rt(e);return this._resetContextStyleTimingState(n),St(this,ht(t),n)},t.prototype._resetContextStyleTimingState=function(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0},t.prototype.visitTrigger=function(t,e){var n=this,r=e.queryCount=0,o=e.depCount=0,i=[],a=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(function(t){if(n._resetContextStyleTimingState(e),0==t.type){var s=t,u=s.name;u.toString().split(/\s*,\s*/).forEach(function(t){s.name=t,i.push(n.visitState(s,e))}),s.name=u}else if(1==t.type){var c=n.visitTransition(t,e);r+=c.queryCount,o+=c.depCount,a.push(c)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:i,transitions:a,queryCount:r,depCount:o,options:null}},t.prototype.visitState=function(t,e){var n=this.visitStyle(t.styles,e),r=t.options&&t.options.params||null;if(n.containsDynamicStyles){var o=new Set,i=r||{};if(n.styles.forEach(function(t){if(At(t)){var e=t;Object.keys(e).forEach(function(t){yt(e[t]).forEach(function(t){i.hasOwnProperty(t)||o.add(t)})})}}),o.size){var a=mt(o.values());e.errors.push('state("'+t.name+'", ...) must define default values for all the following style substitutions: '+a.join(", "))}}return{type:0,name:t.name,style:n,options:r?{params:r}:null}},t.prototype.visitTransition=function(t,e){e.queryCount=0,e.depCount=0;var n,r,o,i=St(this,ht(t.animation),e);return{type:1,matchers:(n=t.expr,r=e.errors,o=[],"string"==typeof n?n.split(/\s*,\s*/).forEach(function(t){return function(t,e,n){if(":"==t[0]){var r=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return function(t,e){return parseFloat(e)>parseFloat(t)};case":decrement":return function(t,e){return parseFloat(e)<parseFloat(t)};default:return e.push('The transition alias value "'+t+'" is not supported'),"* => *"}}(t,n);if("function"==typeof r)return void e.push(r);t=r}var o=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==o||o.length<4)return n.push('The provided transition expression "'+t+'" is not supported'),e;var i=o[1],a=o[2],s=o[3];e.push(jt(i,s)),"<"!=a[0]||i==Ot&&s==Ot||e.push(jt(s,i))}(t,o,r)}):o.push(n),o),animation:i,queryCount:e.queryCount,depCount:e.depCount,options:Nt(t.options)}},t.prototype.visitSequence=function(t,e){var n=this;return{type:2,steps:t.steps.map(function(t){return St(n,t,e)}),options:Nt(t.options)}},t.prototype.visitGroup=function(t,e){var n=this,r=e.currentTime,o=0,i=t.steps.map(function(t){e.currentTime=r;var i=St(n,t,e);return o=Math.max(o,e.currentTime),i});return e.currentTime=o,{type:3,steps:i,options:Nt(t.options)}},t.prototype.visitAnimate=function(t,e){var n,r=function(t,e){var n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return Dt(st(t,e).duration,0,"");var r=t;if(r.split(/\s+/).some(function(t){return"{"==t.charAt(0)&&"{"==t.charAt(1)})){var o=Dt(0,0,"");return o.dynamic=!0,o.strValue=r,o}return Dt((n=n||st(r,e)).duration,n.delay,n.easing)}(t.timings,e.errors);e.currentAnimateTimings=r;var o=t.styles?t.styles:I({});if(5==o.type)n=this.visitKeyframes(o,e);else{var i=t.styles,a=!1;if(!i){a=!0;var s={};r.easing&&(s.easing=r.easing),i=I(s)}e.currentTime+=r.duration+r.delay;var u=this.visitStyle(i,e);u.isEmptyStep=a,n=u}return e.currentAnimateTimings=null,{type:4,timings:r,style:n,options:null}},t.prototype.visitStyle=function(t,e){var n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n},t.prototype._makeStyleAst=function(t,e){var n=[];Array.isArray(t.styles)?t.styles.forEach(function(t){"string"==typeof t?t==j?n.push(t):e.errors.push("The provided style string value "+t+" is not allowed."):n.push(t)}):n.push(t.styles);var r=!1,o=null;return n.forEach(function(t){if(At(t)){var e=t,n=e.easing;if(n&&(o=n,delete e.easing),!r)for(var i in e)if(e[i].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:n,easing:o,offset:t.offset,containsDynamicStyles:r,options:null}},t.prototype._validateStyleAst=function(t,e){var n=this,r=e.currentAnimateTimings,o=e.currentTime,i=e.currentTime;r&&i>0&&(i-=r.duration+r.delay),t.styles.forEach(function(t){"string"!=typeof t&&Object.keys(t).forEach(function(r){if(n._driver.validateStyleProperty(r)){var a,s,u,c=e.collectedStyles[e.currentQuerySelector],l=c[r],f=!0;l&&(i!=o&&i>=l.startTime&&o<=l.endTime&&(e.errors.push('The CSS property "'+r+'" that exists between the times of "'+l.startTime+'ms" and "'+l.endTime+'ms" is also being animated in a parallel animation between the times of "'+i+'ms" and "'+o+'ms"'),f=!1),i=l.startTime),f&&(c[r]={startTime:i,endTime:o}),e.options&&(a=e.errors,s=e.options.params||{},(u=yt(t[r])).length&&u.forEach(function(t){s.hasOwnProperty(t)||a.push("Unable to resolve the local animation param "+t+" in the given list of values")}))}else e.errors.push('The provided animation property "'+r+'" is not a supported CSS property for animations')})})},t.prototype.visitKeyframes=function(t,e){var n=this,r={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),r;var o=0,i=[],a=!1,s=!1,u=0,c=t.steps.map(function(t){var r=n._makeStyleAst(t,e),c=null!=r.offset?r.offset:function(t){if("string"==typeof t)return null;var e=null;if(Array.isArray(t))t.forEach(function(t){if(At(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}});else if(At(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}return e}(r.styles),l=0;return null!=c&&(o++,l=r.offset=c),s=s||l<0||l>1,a=a||l<u,u=l,i.push(l),r});s&&e.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),a&&e.errors.push("Please ensure that all keyframe offsets are in order");var l=t.steps.length,f=0;o>0&&o<l?e.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==o&&(f=1/(l-1));var p=l-1,d=e.currentTime,h=e.currentAnimateTimings,v=h.duration;return c.forEach(function(t,o){var a=f>0?o==p?1:f*o:i[o],s=a*v;e.currentTime=d+h.delay+s,h.duration=s,n._validateStyleAst(t,e),t.offset=a,r.styles.push(t)}),r},t.prototype.visitReference=function(t,e){return{type:8,animation:St(this,ht(t.animation),e),options:Nt(t.options)}},t.prototype.visitAnimateChild=function(t,e){return e.depCount++,{type:9,options:Nt(t.options)}},t.prototype.visitAnimateRef=function(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:Nt(t.options)}},t.prototype.visitQuery=function(t,e){var n=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;var o=Object(u.__read)(function(t){var e=!!t.split(/\s*,\s*/).find(function(t){return":self"==t});return e&&(t=t.replace(kt,"")),[t=t.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,function(t){return".ng-trigger-"+t.substr(1)}).replace(/:animating/g,".ng-animating"),e]}(t.selector),2),i=o[0],a=o[1];e.currentQuerySelector=n.length?n+" "+i:i,H(e.collectedStyles,e.currentQuerySelector,{});var s=St(this,ht(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:i,limit:r.limit||0,optional:!!r.optional,includeSelf:a,animation:s,originalSelector:t.selector,options:Nt(t.options)}},t.prototype.visitStagger=function(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");var n="full"===t.timings?{duration:0,delay:0,easing:"full"}:st(t.timings,e.errors,!0);return{type:12,animation:St(this,ht(t.animation),e),timings:n,options:null}},t}(),Rt=function(){return function(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 At(t){return!Array.isArray(t)&&"object"==typeof t}function Nt(t){var e;return t?(t=ut(t)).params&&(t.params=(e=t.params)?ut(e):null):t={},t}function Dt(t,e,n){return{duration:t,delay:e,easing:n}}function Mt(t,e,n,r,o,i,a,s){return void 0===a&&(a=null),void 0===s&&(s=!1),{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:r,duration:o,delay:i,totalTime:o+i,easing:a,subTimeline:s}}var Ft=function(){function t(){this._map=new Map}return t.prototype.consume=function(t){var e=this._map.get(t);return e?this._map.delete(t):e=[],e},t.prototype.append=function(t,e){var n=this._map.get(t);n||this._map.set(t,n=[]),n.push.apply(n,Object(u.__spread)(e))},t.prototype.has=function(t){return this._map.has(t)},t.prototype.clear=function(){this._map.clear()},t}(),Vt=new RegExp(":enter","g"),Lt=new RegExp(":leave","g");function Ut(t,e,n,r,o,i,a,s,u,c){return void 0===i&&(i={}),void 0===a&&(a={}),void 0===c&&(c=[]),(new Ht).buildKeyframes(t,e,n,r,o,i,a,s,u,c)}var Ht=function(){function t(){}return t.prototype.buildKeyframes=function(t,e,n,r,o,i,a,s,u,c){void 0===c&&(c=[]),u=u||new Ft;var l=new zt(t,e,u,r,o,c,[]);l.options=s,l.currentTimeline.setStyles([i],null,l.errors,s),St(this,n,l);var f=l.timelines.filter(function(t){return t.containsAnimation()});if(f.length&&Object.keys(a).length){var p=f[f.length-1];p.allowOnlyTimelineStyles()||p.setStyles([a],null,l.errors,s)}return f.length?f.map(function(t){return t.buildKeyframes()}):[Mt(e,[],[],[],0,0,"",!1)]},t.prototype.visitTrigger=function(t,e){},t.prototype.visitState=function(t,e){},t.prototype.visitTransition=function(t,e){},t.prototype.visitAnimateChild=function(t,e){var n=e.subInstructions.consume(e.element);if(n){var r=e.createSubContext(t.options),o=e.currentTimeline.currentTime,i=this._visitSubInstructions(n,r,r.options);o!=i&&e.transformIntoNewTimeline(i)}e.previousNode=t},t.prototype.visitAnimateRef=function(t,e){var n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t},t.prototype._visitSubInstructions=function(t,e,n){var r=e.currentTimeline.currentTime,o=null!=n.duration?it(n.duration):null,i=null!=n.delay?it(n.delay):null;return 0!==o&&t.forEach(function(t){var n=e.appendInstructionToTimeline(t,o,i);r=Math.max(r,n.duration+n.delay)}),r},t.prototype.visitReference=function(t,e){e.updateOptions(t.options,!0),St(this,t.animation,e),e.previousNode=t},t.prototype.visitSequence=function(t,e){var n=this,r=e.subContextCount,o=e,i=t.options;if(i&&(i.params||i.delay)&&((o=e.createSubContext(i)).transformIntoNewTimeline(),null!=i.delay)){6==o.previousNode.type&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=Bt);var a=it(i.delay);o.delayNextStep(a)}t.steps.length&&(t.steps.forEach(function(t){return St(n,t,o)}),o.currentTimeline.applyStylesToKeyframe(),o.subContextCount>r&&o.transformIntoNewTimeline()),e.previousNode=t},t.prototype.visitGroup=function(t,e){var n=this,r=[],o=e.currentTimeline.currentTime,i=t.options&&t.options.delay?it(t.options.delay):0;t.steps.forEach(function(a){var s=e.createSubContext(t.options);i&&s.delayNextStep(i),St(n,a,s),o=Math.max(o,s.currentTimeline.currentTime),r.push(s.currentTimeline)}),r.forEach(function(t){return e.currentTimeline.mergeTimelineCollectedStyles(t)}),e.transformIntoNewTimeline(o),e.previousNode=t},t.prototype._visitTiming=function(t,e){if(t.dynamic){var n=t.strValue;return st(e.params?gt(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}},t.prototype.visitAnimate=function(t,e){var n=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),r.snapshotCurrentStyles());var o=t.style;5==o.type?this.visitKeyframes(o,e):(e.incrementTime(n.duration),this.visitStyle(o,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t},t.prototype.visitStyle=function(t,e){var n=e.currentTimeline,r=e.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();var o=r&&r.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(o):n.setStyles(t.styles,o,e.errors,e.options),e.previousNode=t},t.prototype.visitKeyframes=function(t,e){var n=e.currentAnimateTimings,r=e.currentTimeline.duration,o=n.duration,i=e.createSubContext().currentTimeline;i.easing=n.easing,t.styles.forEach(function(t){i.forwardTime((t.offset||0)*o),i.setStyles(t.styles,t.easing,e.errors,e.options),i.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(i),e.transformIntoNewTimeline(r+o),e.previousNode=t},t.prototype.visitQuery=function(t,e){var n=this,r=e.currentTimeline.currentTime,o=t.options||{},i=o.delay?it(o.delay):0;i&&(6===e.previousNode.type||0==r&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Bt);var a=r,s=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!o.optional,e.errors);e.currentQueryTotal=s.length;var u=null;s.forEach(function(r,o){e.currentQueryIndex=o;var s=e.createSubContext(t.options,r);i&&s.delayNextStep(i),r===e.element&&(u=s.currentTimeline),St(n,t.animation,s),s.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,s.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(a),u&&(e.currentTimeline.mergeTimelineCollectedStyles(u),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t},t.prototype.visitStagger=function(t,e){var n=e.parentContext,r=e.currentTimeline,o=t.timings,i=Math.abs(o.duration),a=i*(e.currentQueryTotal-1),s=i*e.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":s=a-s;break;case"full":s=n.currentStaggerTime}var u=e.currentTimeline;s&&u.delayNextStep(s);var c=u.currentTime;St(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=r.currentTime-c+(r.startTime-n.currentTimeline.startTime)},t}(),Bt={},zt=function(){function t(t,e,n,r,o,i,a,s){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=o,this.errors=i,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Bt,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=s||new qt(this._driver,e,0),a.push(this.currentTimeline)}return Object.defineProperty(t.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),t.prototype.updateOptions=function(t,e){var n=this;if(t){var r=t,o=this.options;null!=r.duration&&(o.duration=it(r.duration)),null!=r.delay&&(o.delay=it(r.delay));var i=r.params;if(i){var a=o.params;a||(a=this.options.params={}),Object.keys(i).forEach(function(t){e&&a.hasOwnProperty(t)||(a[t]=gt(i[t],a,n.errors))})}}},t.prototype._copyOptions=function(){var t={};if(this.options){var e=this.options.params;if(e){var n=t.params={};Object.keys(e).forEach(function(t){n[t]=e[t]})}}return t},t.prototype.createSubContext=function(e,n,r){void 0===e&&(e=null);var o=n||this.element,i=new t(this._driver,o,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(o,r||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(e),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,i.parentContext=this,this.subContextCount++,i},t.prototype.transformIntoNewTimeline=function(t){return this.previousNode=Bt,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline},t.prototype.appendInstructionToTimeline=function(t,e,n){var r={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},o=new Qt(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(o),r},t.prototype.incrementTime=function(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)},t.prototype.delayNextStep=function(t){t>0&&this.currentTimeline.delayNextStep(t)},t.prototype.invokeQuery=function(t,e,n,r,o,i){var a=[];if(r&&a.push(this.element),t.length>0){t=(t=t.replace(Vt,"."+this._enterClassName)).replace(Lt,"."+this._leaveClassName);var s=this._driver.query(this.element,t,1!=n);0!==n&&(s=n<0?s.slice(s.length+n,s.length):s.slice(0,n)),a.push.apply(a,Object(u.__spread)(s))}return o||0!=a.length||i.push('`query("'+e+'")` returned zero elements. (Use `query("'+e+'", { optional: true })` if you wish to allow this.)'),a},t}(),qt=function(){function t(t,e,n,r){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=r,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()}return t.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}},t.prototype.getCurrentStyleProperties=function(){return Object.keys(this._currentKeyframe)},Object.defineProperty(t.prototype,"currentTime",{get:function(){return this.startTime+this.duration},enumerable:!0,configurable:!0}),t.prototype.delayNextStep=function(t){var e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t},t.prototype.fork=function(e,n){return this.applyStylesToKeyframe(),new t(this._driver,e,n||this.currentTime,this._elementTimelineStylesLookup)},t.prototype._loadKeyframe=function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))},t.prototype.forwardFrame=function(){this.duration+=1,this._loadKeyframe()},t.prototype.forwardTime=function(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()},t.prototype._updateStyle=function(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}},t.prototype.allowOnlyTimelineStyles=function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe},t.prototype.applyEmptyStep=function(t){var e=this;t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(function(t){e._backFill[t]=e._globalTimelineStyles[t]||j,e._currentKeyframe[t]=j}),this._currentEmptyStepKeyframe=this._currentKeyframe},t.prototype.setStyles=function(t,e,n,r){var o=this;e&&(this._previousKeyframe.easing=e);var i=r&&r.params||{},a=function(t,e){var n,r={};return t.forEach(function(t){"*"===t?(n=n||Object.keys(e)).forEach(function(t){r[t]=j}):ct(t,!1,r)}),r}(t,this._globalTimelineStyles);Object.keys(a).forEach(function(t){var e=gt(a[t],i,n);o._pendingStyles[t]=e,o._localTimelineStyles.hasOwnProperty(t)||(o._backFill[t]=o._globalTimelineStyles.hasOwnProperty(t)?o._globalTimelineStyles[t]:j),o._updateStyle(t,e)})},t.prototype.applyStylesToKeyframe=function(){var t=this,e=this._pendingStyles,n=Object.keys(e);0!=n.length&&(this._pendingStyles={},n.forEach(function(n){t._currentKeyframe[n]=e[n]}),Object.keys(this._localTimelineStyles).forEach(function(e){t._currentKeyframe.hasOwnProperty(e)||(t._currentKeyframe[e]=t._localTimelineStyles[e])}))},t.prototype.snapshotCurrentStyles=function(){var t=this;Object.keys(this._localTimelineStyles).forEach(function(e){var n=t._localTimelineStyles[e];t._pendingStyles[e]=n,t._updateStyle(e,n)})},t.prototype.getFinalKeyframe=function(){return this._keyframes.get(this.duration)},Object.defineProperty(t.prototype,"properties",{get:function(){var t=[];for(var e in this._currentKeyframe)t.push(e);return t},enumerable:!0,configurable:!0}),t.prototype.mergeTimelineCollectedStyles=function(t){var e=this;Object.keys(t._styleSummary).forEach(function(n){var r=e._styleSummary[n],o=t._styleSummary[n];(!r||o.time>r.time)&&e._updateStyle(n,o.value)})},t.prototype.buildKeyframes=function(){var t=this;this.applyStylesToKeyframe();var e=new Set,n=new Set,r=1===this._keyframes.size&&0===this.duration,o=[];this._keyframes.forEach(function(i,a){var s=ct(i,!0);Object.keys(s).forEach(function(t){var r=s[t];r==N?e.add(t):r==j&&n.add(t)}),r||(s.offset=a/t.duration),o.push(s)});var i=e.size?mt(e.values()):[],a=n.size?mt(n.values()):[];if(r){var s=o[0],u=ut(s);s.offset=0,u.offset=1,o=[s,u]}return Mt(this.element,o,i,a,this.duration,this.startTime,this.easing,!1)},t}(),Qt=function(t){function e(e,n,r,o,i,a,s){void 0===s&&(s=!1);var u=t.call(this,e,n,a.delay)||this;return u.element=n,u.keyframes=r,u.preStyleProps=o,u.postStyleProps=i,u._stretchStartingKeyframe=s,u.timings={duration:a.duration,delay:a.delay,easing:a.easing},u}return Object(u.__extends)(e,t),e.prototype.containsAnimation=function(){return this.keyframes.length>1},e.prototype.buildKeyframes=function(){var t=this.keyframes,e=this.timings,n=e.delay,r=e.duration,o=e.easing;if(this._stretchStartingKeyframe&&n){var i=[],a=r+n,s=n/a,u=ct(t[0],!1);u.offset=0,i.push(u);var c=ct(t[0],!1);c.offset=Kt(s),i.push(c);for(var l=t.length-1,f=1;f<=l;f++){var p=ct(t[f],!1);p.offset=Kt((n+p.offset*r)/a),i.push(p)}r=a,n=0,o="",t=i}return Mt(this.element,t,this.preStyleProps,this.postStyleProps,r,n,o,!0)},e}(qt);function Kt(t,e){void 0===e&&(e=3);var n=Math.pow(10,e-1);return Math.round(t*n)/n}var Zt=function(){return function(){}}(),Gt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(u.__extends)(e,t),e.prototype.normalizePropertyName=function(t,e){return bt(t)},e.prototype.normalizeStyleValue=function(t,e,n,r){var o="",i=n.toString().trim();if(Wt[e]&&0!==n&&"0"!==n)if("number"==typeof n)o="px";else{var a=n.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push("Please provide a CSS unit value for "+t+":"+n)}return i+o},e}(Zt),Wt=Yt("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){var e={};return t.forEach(function(t){return e[t]=!0}),e}function Jt(t,e,n,r,o,i,a,s,u,c,l,f,p){return{type:0,element:t,triggerName:e,isRemovalTransition:o,fromState:n,fromStyles:i,toState:r,toStyles:a,timelines:s,queriedElements:u,preStyleProps:c,postStyleProps:l,totalTime:f,errors:p}}var $t={},Xt=function(){function t(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}return t.prototype.match=function(t,e,n,r){return function(t,e,n,r,o){return t.some(function(t){return t(e,n,r,o)})}(this.ast.matchers,t,e,n,r)},t.prototype.buildStyles=function(t,e,n){var r=this._stateStyles["*"],o=this._stateStyles[t],i=r?r.buildStyles(e,n):{};return o?o.buildStyles(e,n):i},t.prototype.build=function(t,e,n,r,o,i,a,s,c,l){var f=[],p=this.ast.options&&this.ast.options.params||$t,d=this.buildStyles(n,a&&a.params||$t,f),h=s&&s.params||$t,v=this.buildStyles(r,h,f),y=new Set,g=new Map,m=new Map,_="void"===r,b={params:Object(u.__assign)({},p,h)},w=l?[]:Ut(t,e,this.ast.animation,o,i,d,v,b,c,f),C=0;if(w.forEach(function(t){C=Math.max(t.duration+t.delay,C)}),f.length)return Jt(e,this._triggerName,n,r,_,d,v,[],[],g,m,C,f);w.forEach(function(t){var n=t.element,r=H(g,n,{});t.preStyleProps.forEach(function(t){return r[t]=!0});var o=H(m,n,{});t.postStyleProps.forEach(function(t){return o[t]=!0}),n!==e&&y.add(n)});var S=mt(y.values());return Jt(e,this._triggerName,n,r,_,d,v,w,S,g,m,C)},t}(),te=function(){function t(t,e){this.styles=t,this.defaultParams=e}return t.prototype.buildStyles=function(t,e){var n={},r=ut(this.defaultParams);return Object.keys(t).forEach(function(e){var n=t[e];null!=n&&(r[e]=n)}),this.styles.styles.forEach(function(t){if("string"!=typeof t){var o=t;Object.keys(o).forEach(function(t){var i=o[t];i.length>1&&(i=gt(i,r,e)),n[t]=i})}}),n},t}(),ee=function(){function t(t,e){var n=this;this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(function(t){n.states[t.name]=new te(t.style,t.options&&t.options.params||{})}),ne(this.states,"true","1"),ne(this.states,"false","0"),e.transitions.forEach(function(e){n.transitionFactories.push(new Xt(t,e,n.states))}),this.fallbackTransition=new Xt(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(t,e){return!0}],options:null,queryCount:0,depCount:0},this.states)}return Object.defineProperty(t.prototype,"containsQueries",{get:function(){return this.ast.queryCount>0},enumerable:!0,configurable:!0}),t.prototype.matchTransition=function(t,e,n,r){return this.transitionFactories.find(function(o){return o.match(t,e,n,r)})||null},t.prototype.matchStyles=function(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)},t}();function ne(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}var re=new Ft,oe=function(){function t(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}return t.prototype.register=function(t,e){var n=[],r=It(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]=r},t.prototype._buildPlayer=function(t,e,n){var r=t.element,o=F(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(r,o,t.duration,t.delay,t.easing,[],!0)},t.prototype.create=function(t,e,n){var r=this;void 0===n&&(n={});var o,i=[],a=this._animations[t],s=new Map;if(a?(o=Ut(this._driver,e,a,"ng-enter","ng-leave",{},{},n,re,i)).forEach(function(t){var e=H(s,t.element,{});t.postStyleProps.forEach(function(t){return e[t]=null})}):(i.push("The requested animation doesn't exist or has already been destroyed"),o=[]),i.length)throw new Error("Unable to create the animation due to the following errors: "+i.join("\n"));s.forEach(function(t,e){Object.keys(t).forEach(function(n){t[n]=r._driver.computeStyle(e,n,j)})});var u=M(o.map(function(t){var e=s.get(t.element);return r._buildPlayer(t,{},e)}));return this._playersById[t]=u,u.onDestroy(function(){return r.destroy(t)}),this.players.push(u),u},t.prototype.destroy=function(t){var e=this._getPlayer(t);e.destroy(),delete this._playersById[t];var n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)},t.prototype._getPlayer=function(t){var e=this._playersById[t];if(!e)throw new Error("Unable to find the timeline player referenced by "+t);return e},t.prototype.listen=function(t,e,n,r){var o=U(e,"","","");return V(this._getPlayer(t),n,o,r),function(){}},t.prototype.command=function(t,e,n,r){if("register"!=n)if("create"!=n){var o=this._getPlayer(t);switch(n){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}}else this.create(t,e,r[0]||{});else this.register(t,r[0])},t}(),ie=[],ae={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},se={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ue="__ng_removed",ce=function(){function t(t,e){void 0===e&&(e=""),this.namespaceId=e;var n=t&&t.hasOwnProperty("value");if(this.value=function(t){return null!=t?t:null}(n?t.value:t),n){var r=ut(t);delete r.value,this.options=r}else this.options={};this.options.params||(this.options.params={})}return Object.defineProperty(t.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),t.prototype.absorbOptions=function(t){var e=t.params;if(e){var n=this.options.params;Object.keys(e).forEach(function(t){null==n[t]&&(n[t]=e[t])})}},t}(),le=new ce("void"),fe=function(){function t(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,_e(e,this._hostClassName)}return t.prototype.listen=function(t,e,n,r){var o,i=this;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"!=(o=n)&&"done"!=o)throw new Error('The provided animation trigger event "'+n+'" for the animation trigger "'+e+'" is not supported!');var a=H(this._elementListeners,t,[]),s={name:e,phase:n,callback:r};a.push(s);var u=H(this._engine.statesByElement,t,{});return u.hasOwnProperty(e)||(_e(t,"ng-trigger"),_e(t,"ng-trigger-"+e),u[e]=le),function(){i._engine.afterFlush(function(){var t=a.indexOf(s);t>=0&&a.splice(t,1),i._triggers[e]||delete u[e]})}},t.prototype.register=function(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)},t.prototype._getTrigger=function(t){var e=this._triggers[t];if(!e)throw new Error('The provided animation trigger "'+t+'" has not been registered!');return e},t.prototype.trigger=function(t,e,n,r){var o=this;void 0===r&&(r=!0);var i=this._getTrigger(e),a=new de(this.id,e,t),s=this._engine.statesByElement.get(t);s||(_e(t,"ng-trigger"),_e(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,s={}));var u=s[e],c=new ce(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&u&&c.absorbOptions(u.options),s[e]=c,u||(u=le),"void"===c.value||u.value!==c.value){var l=H(this._engine.playersByElement,t,[]);l.forEach(function(t){t.namespaceId==o.id&&t.triggerName==e&&t.queued&&t.destroy()});var f=i.matchTransition(u.value,c.value,t,c.params),p=!1;if(!f){if(!r)return;f=i.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:f,fromState:u,toState:c,player:a,isFallbackTransition:p}),p||(_e(t,"ng-animate-queued"),a.onStart(function(){be(t,"ng-animate-queued")})),a.onDone(function(){var e=o.players.indexOf(a);e>=0&&o.players.splice(e,1);var n=o._engine.playersByElement.get(t);if(n){var r=n.indexOf(a);r>=0&&n.splice(r,1)}}),this.players.push(a),l.push(a),a}if(!function(t,e){var n=Object.keys(t),r=Object.keys(e);if(n.length!=r.length)return!1;for(var o=0;o<n.length;o++){var i=n[o];if(!e.hasOwnProperty(i)||t[i]!==e[i])return!1}return!0}(u.params,c.params)){var d=[],h=i.matchStyles(u.value,u.params,d),v=i.matchStyles(c.value,c.params,d);d.length?this._engine.reportError(d):this._engine.afterFlush(function(){dt(t,h),pt(t,v)})}},t.prototype.deregister=function(t){var e=this;delete this._triggers[t],this._engine.statesByElement.forEach(function(e,n){delete e[t]}),this._elementListeners.forEach(function(n,r){e._elementListeners.set(r,n.filter(function(e){return e.name!=t}))})},t.prototype.clearElementCache=function(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);var e=this._engine.playersByElement.get(t);e&&(e.forEach(function(t){return t.destroy()}),this._engine.playersByElement.delete(t))},t.prototype._signalRemovalForInnerTriggers=function(t,e,n){var r=this;void 0===n&&(n=!1),this._engine.driver.query(t,".ng-trigger",!0).forEach(function(t){if(!t[ue]){var n=r._engine.fetchNamespacesByElement(t);n.size?n.forEach(function(n){return n.triggerLeaveAnimation(t,e,!1,!0)}):r.clearElementCache(t)}})},t.prototype.triggerLeaveAnimation=function(t,e,n,r){var o=this,i=this._engine.statesByElement.get(t);if(i){var a=[];if(Object.keys(i).forEach(function(e){if(o._triggers[e]){var n=o.trigger(t,e,"void",r);n&&a.push(n)}}),a.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&M(a).onDone(function(){return o._engine.processLeaveNode(t)}),!0}return!1},t.prototype.prepareLeaveAnimationListeners=function(t){var e=this,n=this._elementListeners.get(t);if(n){var r=new Set;n.forEach(function(n){var o=n.name;if(!r.has(o)){r.add(o);var i=e._triggers[o].fallbackTransition,a=e._engine.statesByElement.get(t)[o]||le,s=new ce("void"),u=new de(e.id,o,t);e._engine.totalQueuedPlayers++,e._queue.push({element:t,triggerName:o,transition:i,fromState:a,toState:s,player:u,isFallbackTransition:!0})}})}},t.prototype.removeNode=function(t,e){var n=this,r=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e,!0),!this.triggerLeaveAnimation(t,e,!0)){var o=!1;if(r.totalAnimations){var i=r.players.length?r.playersByQueriedElement.get(t):[];if(i&&i.length)o=!0;else for(var a=t;a=a.parentNode;)if(r.statesByElement.get(a)){o=!0;break}}this.prepareLeaveAnimationListeners(t),o?r.markElementAsRemoved(this.id,t,!1,e):(r.afterFlush(function(){return n.clearElementCache(t)}),r.destroyInnerAnimations(t),r._onRemovalComplete(t,e))}},t.prototype.insertNode=function(t,e){_e(t,this._hostClassName)},t.prototype.drainQueuedTransitions=function(t){var e=this,n=[];return this._queue.forEach(function(r){var o=r.player;if(!o.destroyed){var i=r.element,a=e._elementListeners.get(i);a&&a.forEach(function(e){if(e.name==r.triggerName){var n=U(i,r.triggerName,r.fromState.value,r.toState.value);n._data=t,V(r.player,e.phase,n,e.callback)}}),o.markedForDestroy?e._engine.afterFlush(function(){o.destroy()}):n.push(r)}}),this._queue=[],n.sort(function(t,n){var r=t.transition.ast.depCount,o=n.transition.ast.depCount;return 0==r||0==o?r-o:e._engine.driver.containsElement(t.element,n.element)?1:-1})},t.prototype.destroy=function(t){this.players.forEach(function(t){return t.destroy()}),this._signalRemovalForInnerTriggers(this.hostElement,t)},t.prototype.elementContainsData=function(t){var e=!1;return this._elementListeners.has(t)&&(e=!0),!!this._queue.find(function(e){return e.element===t})||e},t}(),pe=function(){function t(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=function(t,e){}}return t.prototype._onRemovalComplete=function(t,e){this.onRemovalComplete(t,e)},Object.defineProperty(t.prototype,"queuedPlayers",{get:function(){var t=[];return this._namespaceList.forEach(function(e){e.players.forEach(function(e){e.queued&&t.push(e)})}),t},enumerable:!0,configurable:!0}),t.prototype.createNamespace=function(t,e){var n=new fe(t,e,this);return e.parentNode?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n},t.prototype._balanceNamespaceList=function(t,e){var n=this._namespaceList.length-1;if(n>=0){for(var r=!1,o=n;o>=0;o--)if(this.driver.containsElement(this._namespaceList[o].hostElement,e)){this._namespaceList.splice(o+1,0,t),r=!0;break}r||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t},t.prototype.register=function(t,e){var n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n},t.prototype.registerTrigger=function(t,e,n){var r=this._namespaceLookup[t];r&&r.register(e,n)&&this.totalAnimations++},t.prototype.destroy=function(t,e){var n=this;if(t){var r=this._fetchNamespace(t);this.afterFlush(function(){n.namespacesByHostElement.delete(r.hostElement),delete n._namespaceLookup[t];var e=n._namespaceList.indexOf(r);e>=0&&n._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(function(){return r.destroy(e)})}},t.prototype._fetchNamespace=function(t){return this._namespaceLookup[t]},t.prototype.fetchNamespacesByElement=function(t){var e=new Set,n=this.statesByElement.get(t);if(n)for(var r=Object.keys(n),o=0;o<r.length;o++){var i=n[r[o]].namespaceId;if(i){var a=this._fetchNamespace(i);a&&e.add(a)}}return e},t.prototype.trigger=function(t,e,n,r){if(he(e)){var o=this._fetchNamespace(t);if(o)return o.trigger(e,n,r),!0}return!1},t.prototype.insertNode=function(t,e,n,r){if(he(e)){var o=e[ue];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;var i=this.collectedLeaveElements.indexOf(e);i>=0&&this.collectedLeaveElements.splice(i,1)}if(t){var a=this._fetchNamespace(t);a&&a.insertNode(e,n)}r&&this.collectEnterElement(e)}},t.prototype.collectEnterElement=function(t){this.collectedEnterElements.push(t)},t.prototype.markElementAsDisabled=function(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),_e(t,"ng-animate-disabled")):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),be(t,"ng-animate-disabled"))},t.prototype.removeNode=function(t,e,n){if(he(e)){var r=t?this._fetchNamespace(t):null;r?r.removeNode(e,n):this.markElementAsRemoved(t,e,!1,n)}else this._onRemovalComplete(e,n)},t.prototype.markElementAsRemoved=function(t,e,n,r){this.collectedLeaveElements.push(e),e[ue]={namespaceId:t,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}},t.prototype.listen=function(t,e,n,r,o){return he(e)?this._fetchNamespace(t).listen(e,n,r,o):function(){}},t.prototype._buildInstruction=function(t,e,n,r,o){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,r,t.fromState.options,t.toState.options,e,o)},t.prototype.destroyInnerAnimations=function(t){var e=this,n=this.driver.query(t,".ng-trigger",!0);n.forEach(function(t){return e.destroyActiveAnimationsForElement(t)}),0!=this.playersByQueriedElement.size&&(n=this.driver.query(t,".ng-animating",!0)).forEach(function(t){return e.finishActiveQueriedAnimationOnElement(t)})},t.prototype.destroyActiveAnimationsForElement=function(t){var e=this.playersByElement.get(t);e&&e.forEach(function(t){t.queued?t.markedForDestroy=!0:t.destroy()})},t.prototype.finishActiveQueriedAnimationOnElement=function(t){var e=this.playersByQueriedElement.get(t);e&&e.forEach(function(t){return t.finish()})},t.prototype.whenRenderingDone=function(){var t=this;return new Promise(function(e){if(t.players.length)return M(t.players).onDone(function(){return e()});e()})},t.prototype.processLeaveNode=function(t){var e=this,n=t[ue];if(n&&n.setForRemoval){if(t[ue]=ae,n.namespaceId){this.destroyInnerAnimations(t);var r=this._fetchNamespace(n.namespaceId);r&&r.clearElementCache(t)}this._onRemovalComplete(t,n.setForRemoval)}this.driver.matchesElement(t,".ng-animate-disabled")&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(function(n){e.markElementAsDisabled(t,!1)})},t.prototype.flush=function(t){var e=this;void 0===t&&(t=-1);var n=[];if(this.newHostElements.size&&(this.newHostElements.forEach(function(t,n){return e._balanceNamespaceList(t,n)}),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var r=0;r<this.collectedEnterElements.length;r++)_e(this.collectedEnterElements[r],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){var o=[];try{n=this._flushAnimations(o,t)}finally{for(r=0;r<o.length;r++)o[r]()}}else for(r=0;r<this.collectedLeaveElements.length;r++)this.processLeaveNode(this.collectedLeaveElements[r]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(function(t){return t()}),this._flushFns=[],this._whenQuietFns.length){var i=this._whenQuietFns;this._whenQuietFns=[],n.length?M(n).onDone(function(){i.forEach(function(t){return t()})}):i.forEach(function(t){return t()})}},t.prototype.reportError=function(t){throw new Error("Unable to process animations due to the following failed trigger transitions\n "+t.join("\n"))},t.prototype._flushAnimations=function(t,e){var n=this,r=new Ft,o=[],i=new Map,a=[],s=new Map,c=new Map,l=new Map,f=new Set;this.disabledNodes.forEach(function(t){f.add(t);for(var e=n.driver.query(t,".ng-animate-queued",!0),r=0;r<e.length;r++)f.add(e[r])});var p=this.bodyNode,d=Array.from(this.statesByElement.keys()),h=ge(d,this.collectedEnterElements),v=new Map,y=0;h.forEach(function(t,e){var n="ng-enter"+y++;v.set(e,n),t.forEach(function(t){return _e(t,n)})});for(var g=[],m=new Set,_=new Set,b=0;b<this.collectedLeaveElements.length;b++)(U=(L=this.collectedLeaveElements[b])[ue])&&U.setForRemoval&&(g.push(L),m.add(L),U.hasAnimation?this.driver.query(L,".ng-star-inserted",!0).forEach(function(t){return m.add(t)}):_.add(L));var w=new Map,C=ge(d,Array.from(m));C.forEach(function(t,e){var n="ng-leave"+y++;w.set(e,n),t.forEach(function(t){return _e(t,n)})}),t.push(function(){h.forEach(function(t,e){var n=v.get(e);t.forEach(function(t){return be(t,n)})}),C.forEach(function(t,e){var n=w.get(e);t.forEach(function(t){return be(t,n)})}),g.forEach(function(t){n.processLeaveNode(t)})});for(var S=[],E=[],O=this._namespaceList.length-1;O>=0;O--)this._namespaceList[O].drainQueuedTransitions(e).forEach(function(t){var e=t.player,i=t.element;if(S.push(e),n.collectedEnterElements.length){var u=i[ue];if(u&&u.setForMove)return void e.destroy()}var f=!p||!n.driver.containsElement(p,i),d=w.get(i),h=v.get(i),y=n._buildInstruction(t,r,h,d,f);if(y.errors&&y.errors.length)E.push(y);else{if(f)return e.onStart(function(){return dt(i,y.fromStyles)}),e.onDestroy(function(){return pt(i,y.toStyles)}),void o.push(e);if(t.isFallbackTransition)return e.onStart(function(){return dt(i,y.fromStyles)}),e.onDestroy(function(){return pt(i,y.toStyles)}),void o.push(e);y.timelines.forEach(function(t){return t.stretchStartingKeyframe=!0}),r.append(i,y.timelines),a.push({instruction:y,player:e,element:i}),y.queriedElements.forEach(function(t){return H(s,t,[]).push(e)}),y.preStyleProps.forEach(function(t,e){var n=Object.keys(t);if(n.length){var r=c.get(e);r||c.set(e,r=new Set),n.forEach(function(t){return r.add(t)})}}),y.postStyleProps.forEach(function(t,e){var n=Object.keys(t),r=l.get(e);r||l.set(e,r=new Set),n.forEach(function(t){return r.add(t)})})}});if(E.length){var x=[];E.forEach(function(t){x.push("@"+t.triggerName+" has failed due to:\n"),t.errors.forEach(function(t){return x.push("- "+t+"\n")})}),S.forEach(function(t){return t.destroy()}),this.reportError(x)}var T=new Map,k=new Map;a.forEach(function(t){var e=t.element;r.has(e)&&(k.set(e,e),n._beforeAnimationBuild(t.player.namespaceId,t.instruction,T))}),o.forEach(function(t){var e=t.element;n._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(function(t){H(T,e,[]).push(t),t.destroy()})});var I=g.filter(function(t){return Ce(t,c,l)}),P=new Map;ye(P,this.driver,_,l,j).forEach(function(t){Ce(t,c,l)&&I.push(t)});var R=new Map;h.forEach(function(t,e){ye(R,n.driver,new Set(t),c,N)}),I.forEach(function(t){var e=P.get(t),n=R.get(t);P.set(t,Object(u.__assign)({},e,n))});var A=[],D=[],F={};a.forEach(function(t){var e=t.element,a=t.player,s=t.instruction;if(r.has(e)){if(f.has(e))return a.onDestroy(function(){return pt(e,s.toStyles)}),a.disabled=!0,a.overrideTotalTime(s.totalTime),void o.push(a);var u=F;if(k.size>1){for(var c=e,l=[];c=c.parentNode;){var p=k.get(c);if(p){u=p;break}l.push(c)}l.forEach(function(t){return k.set(t,u)})}var d=n._buildAnimation(a.namespaceId,s,T,i,R,P);if(a.setRealPlayer(d),u===F)A.push(a);else{var h=n.playersByElement.get(u);h&&h.length&&(a.parentPlayer=M(h)),o.push(a)}}else dt(e,s.fromStyles),a.onDestroy(function(){return pt(e,s.toStyles)}),D.push(a),f.has(e)&&o.push(a)}),D.forEach(function(t){var e=i.get(t.element);if(e&&e.length){var n=M(e);t.setRealPlayer(n)}}),o.forEach(function(t){t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(var V=0;V<g.length;V++){var L,U=(L=g[V])[ue];if(be(L,"ng-leave"),!U||!U.hasAnimation){var B=[];if(s.size){var z=s.get(L);z&&z.length&&B.push.apply(B,Object(u.__spread)(z));for(var q=this.driver.query(L,".ng-animating",!0),Q=0;Q<q.length;Q++){var K=s.get(q[Q]);K&&K.length&&B.push.apply(B,Object(u.__spread)(K))}}var Z=B.filter(function(t){return!t.destroyed});Z.length?we(this,L,Z):this.processLeaveNode(L)}}return g.length=0,A.forEach(function(t){n.players.push(t),t.onDone(function(){t.destroy();var e=n.players.indexOf(t);n.players.splice(e,1)}),t.play()}),A},t.prototype.elementContainsData=function(t,e){var n=!1,r=e[ue];return r&&r.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},t.prototype.afterFlush=function(t){this._flushFns.push(t)},t.prototype.afterFlushAnimationsDone=function(t){this._whenQuietFns.push(t)},t.prototype._getPreviousPlayers=function(t,e,n,r,o){var i=[];if(e){var a=this.playersByQueriedElement.get(t);a&&(i=a)}else{var s=this.playersByElement.get(t);if(s){var u=!o||"void"==o;s.forEach(function(t){t.queued||(u||t.triggerName==r)&&i.push(t)})}}return(n||r)&&(i=i.filter(function(t){return!(n&&n!=t.namespaceId||r&&r!=t.triggerName)})),i},t.prototype._beforeAnimationBuild=function(t,e,n){var r,o,i=e.element,a=e.isRemovalTransition?void 0:t,s=e.isRemovalTransition?void 0:e.triggerName,c=function(t){var r=t.element,o=r!==i,u=H(n,r,[]);l._getPreviousPlayers(r,o,a,s,e.toState).forEach(function(t){var e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),u.push(t)})},l=this;try{for(var f=Object(u.__values)(e.timelines),p=f.next();!p.done;p=f.next())c(p.value)}catch(d){r={error:d}}finally{try{p&&!p.done&&(o=f.return)&&o.call(f)}finally{if(r)throw r.error}}dt(i,e.fromStyles)},t.prototype._buildAnimation=function(t,e,n,r,o,i){var a=this,s=e.triggerName,u=e.element,c=[],l=new Set,f=new Set,p=e.timelines.map(function(e){var p=e.element;l.add(p);var d=p[ue];if(d&&d.removedBeforeQueried)return new R(e.duration,e.delay);var h,v,y=p!==u,g=(h=(n.get(p)||ie).map(function(t){return t.getRealPlayer()}),v=[],function t(e,n){for(var r=0;r<e.length;r++){var o=e[r];o instanceof A?t(o.players,n):n.push(o)}}(h,v),v).filter(function(t){return!!t.element&&t.element===p}),m=o.get(p),_=i.get(p),b=F(0,a._normalizer,0,e.keyframes,m,_),w=a._buildPlayer(e,b,g);if(e.subTimeline&&r&&f.add(p),y){var C=new de(t,s,p);C.setRealPlayer(w),c.push(C)}return w});c.forEach(function(t){H(a.playersByQueriedElement,t.element,[]).push(t),t.onDone(function(){return function(t,e,n){var r;if(t instanceof Map){if(r=t.get(e)){if(r.length){var o=r.indexOf(n);r.splice(o,1)}0==r.length&&t.delete(e)}}else(r=t[e])&&(r.length&&(o=r.indexOf(n),r.splice(o,1)),0==r.length&&delete t[e]);return r}(a.playersByQueriedElement,t.element,t)})}),l.forEach(function(t){return _e(t,"ng-animating")});var d=M(p);return d.onDestroy(function(){l.forEach(function(t){return be(t,"ng-animating")}),pt(u,e.toStyles)}),f.forEach(function(t){H(r,t,[]).push(d)}),d},t.prototype._buildPlayer=function(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new R(t.duration,t.delay)},t}(),de=function(){function t(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new R,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return t.prototype.setRealPlayer=function(t){var e=this;this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(function(n){e._queuedCallbacks[n].forEach(function(e){return V(t,n,void 0,e)})}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)},t.prototype.getRealPlayer=function(){return this._player},t.prototype.overrideTotalTime=function(t){this.totalTime=t},t.prototype.syncPlayerEvents=function(t){var e=this,n=this._player;n.triggerCallback&&t.onStart(function(){return n.triggerCallback("start")}),t.onDone(function(){return e.finish()}),t.onDestroy(function(){return e.destroy()})},t.prototype._queueEvent=function(t,e){H(this._queuedCallbacks,t,[]).push(e)},t.prototype.onDone=function(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)},t.prototype.onStart=function(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)},t.prototype.onDestroy=function(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)},t.prototype.init=function(){this._player.init()},t.prototype.hasStarted=function(){return!this.queued&&this._player.hasStarted()},t.prototype.play=function(){!this.queued&&this._player.play()},t.prototype.pause=function(){!this.queued&&this._player.pause()},t.prototype.restart=function(){!this.queued&&this._player.restart()},t.prototype.finish=function(){this._player.finish()},t.prototype.destroy=function(){this.destroyed=!0,this._player.destroy()},t.prototype.reset=function(){!this.queued&&this._player.reset()},t.prototype.setPosition=function(t){this.queued||this._player.setPosition(t)},t.prototype.getPosition=function(){return this.queued?0:this._player.getPosition()},t.prototype.triggerCallback=function(t){var e=this._player;e.triggerCallback&&e.triggerCallback(t)},t}();function he(t){return t&&1===t.nodeType}function ve(t,e){var n=t.style.display;return t.style.display=null!=e?e:"none",n}function ye(t,e,n,r,o){var i=[];n.forEach(function(t){return i.push(ve(t))});var a=[];r.forEach(function(n,r){var i={};n.forEach(function(t){var n=i[t]=e.computeStyle(r,t,o);n&&0!=n.length||(r[ue]=se,a.push(r))}),t.set(r,i)});var s=0;return n.forEach(function(t){return ve(t,i[s++])}),a}function ge(t,e){var n=new Map;if(t.forEach(function(t){return n.set(t,[])}),0==e.length)return n;var r=new Set(e),o=new Map;return e.forEach(function(t){var e=function t(e){if(!e)return 1;var i=o.get(e);if(i)return i;var a=e.parentNode;return i=n.has(a)?a:r.has(a)?1:t(a),o.set(e,i),i}(t);1!==e&&n.get(e).push(t)}),n}var me="$$classes";function _e(t,e){if(t.classList)t.classList.add(e);else{var n=t[me];n||(n=t[me]={}),n[e]=!0}}function be(t,e){if(t.classList)t.classList.remove(e);else{var n=t[me];n&&delete n[e]}}function we(t,e,n){M(n).onDone(function(){return t.processLeaveNode(e)})}function Ce(t,e,n){var r=n.get(t);if(!r)return!1;var o=e.get(t);return o?r.forEach(function(t){return o.add(t)}):e.set(t,r),n.delete(t),!0}var Se=function(){function t(t,e,n){var r=this;this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=function(t,e){},this._transitionEngine=new pe(t,e,n),this._timelineEngine=new oe(t,e,n),this._transitionEngine.onRemovalComplete=function(t,e){return r.onRemovalComplete(t,e)}}return t.prototype.registerTrigger=function(t,e,n,r,o){var i=t+"-"+r,a=this._triggerCache[i];if(!a){var s=[],u=It(this._driver,o,s);if(s.length)throw new Error('The animation trigger "'+r+'" has failed to build due to the following errors:\n - '+s.join("\n - "));a=function(t,e){return new ee(t,e)}(r,u),this._triggerCache[i]=a}this._transitionEngine.registerTrigger(e,r,a)},t.prototype.register=function(t,e){this._transitionEngine.register(t,e)},t.prototype.destroy=function(t,e){this._transitionEngine.destroy(t,e)},t.prototype.onInsert=function(t,e,n,r){this._transitionEngine.insertNode(t,e,n,r)},t.prototype.onRemove=function(t,e,n){this._transitionEngine.removeNode(t,e,n)},t.prototype.disableAnimations=function(t,e){this._transitionEngine.markElementAsDisabled(t,e)},t.prototype.process=function(t,e,n,r){if("@"==n.charAt(0)){var o=Object(u.__read)(B(n),2);this._timelineEngine.command(o[0],e,o[1],r)}else this._transitionEngine.trigger(t,e,n,r)},t.prototype.listen=function(t,e,n,r,o){if("@"==n.charAt(0)){var i=Object(u.__read)(B(n),2);return this._timelineEngine.listen(i[0],e,i[1],o)}return this._transitionEngine.listen(t,e,n,r,o)},t.prototype.flush=function(t){void 0===t&&(t=-1),this._transitionEngine.flush(t)},Object.defineProperty(t.prototype,"players",{get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)},enumerable:!0,configurable:!0}),t.prototype.whenRenderingDone=function(){return this._transitionEngine.whenRenderingDone()},t}(),Ee="animation",Oe="animationend",xe=function(){function t(t,e,n,r,o,i,a){var s=this;this._element=t,this._name=e,this._duration=n,this._delay=r,this._easing=o,this._fillMode=i,this._onDoneFn=a,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=function(t){return s._handleCallback(t)}}return t.prototype.apply=function(){var t,e,n;e=this._duration+"ms "+this._easing+" "+this._delay+"ms 1 normal "+this._fillMode+" "+this._name,(n=Re(t=this._element,"").trim()).length&&(function(t,e){for(var n=0;n<t.length;n++)","===t.charAt(n)&&0}(n),e=n+", "+e),Pe(t,"",e),Ie(this._element,this._eventFn,!1),this._startTime=Date.now()},t.prototype.pause=function(){Te(this._element,this._name,"paused")},t.prototype.resume=function(){Te(this._element,this._name,"running")},t.prototype.setPosition=function(t){var e=je(this._element,this._name);this._position=t*this._duration,Pe(this._element,"Delay","-"+this._position+"ms",e)},t.prototype.getPosition=function(){return this._position},t.prototype._handleCallback=function(t){var 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()},t.prototype.finish=function(){this._finished||(this._finished=!0,this._onDoneFn(),Ie(this._element,this._eventFn,!0))},t.prototype.destroy=function(){var t,e,n,r;this._destroyed||(this._destroyed=!0,this.finish(),e=this._name,(r=ke(n=Re(t=this._element,"").split(","),e))>=0&&(n.splice(r,1),Pe(t,"",n.join(","))))},t}();function Te(t,e,n){Pe(t,"PlayState",n,je(t,e))}function je(t,e){var n=Re(t,"");return n.indexOf(",")>0?ke(n.split(","),e):ke([n],e)}function ke(t,e){for(var n=0;n<t.length;n++)if(t[n].indexOf(e)>=0)return n;return-1}function Ie(t,e,n){n?t.removeEventListener(Oe,e):t.addEventListener(Oe,e)}function Pe(t,e,n,r){var o=Ee+e;if(null!=r){var i=t.style[o];if(i.length){var a=i.split(",");a[r]=n,n=a.join(",")}}t.style[o]=n}function Re(t,e){return t.style[Ee+e]}var Ae="linear",Ne=function(){function t(t,e,n,r,o,i,a){this.element=t,this.keyframes=e,this.animationName=n,this._duration=r,this._delay=o,this._finalStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=i||Ae,this.totalTime=r+o,this._buildStyler()}return t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.destroy=function(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])},t.prototype._flushDoneFns=function(){this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[]},t.prototype._flushStartFns=function(){this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[]},t.prototype.finish=function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._flushDoneFns())},t.prototype.setPosition=function(t){this._styler.setPosition(t)},t.prototype.getPosition=function(){return this._styler.getPosition()},t.prototype.hasStarted=function(){return this._state>=2},t.prototype.init=function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())},t.prototype.play=function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2),this._styler.resume()},t.prototype.pause=function(){this.init(),this._styler.pause()},t.prototype.restart=function(){this.reset(),this.play()},t.prototype.reset=function(){this._styler.destroy(),this._buildStyler(),this._styler.apply()},t.prototype._buildStyler=function(){var t=this;this._styler=new xe(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",function(){return t.finish()})},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0},t.prototype.beforeDestroy=function(){var t=this;this.init();var e={};if(this.hasStarted()){var n=this._state>=3;Object.keys(this._finalStyles).forEach(function(r){"offset"!=r&&(e[r]=n?t._finalStyles[r]:Et(t.element,r))})}this.currentSnapshot=e},t}(),De=function(t){function e(e,n){var r=t.call(this)||this;return r.element=e,r._startingStyles={},r.__initialized=!1,r._styles=et(n),r}return Object(u.__extends)(e,t),e.prototype.init=function(){var e=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(function(t){e._startingStyles[t]=e.element.style[t]}),t.prototype.init.call(this))},e.prototype.play=function(){var e=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(function(t){return e.element.style.setProperty(t,e._styles[t])}),t.prototype.play.call(this))},e.prototype.destroy=function(){var e=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach(function(t){var n=e._startingStyles[t];n?e.element.style.setProperty(t,n):e.element.style.removeProperty(t)}),this._startingStyles=null,t.prototype.destroy.call(this))},e}(R),Me=function(){function t(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}return t.prototype.validateStyleProperty=function(t){return J(t)},t.prototype.matchesElement=function(t,e){return $(t,e)},t.prototype.containsElement=function(t,e){return X(t,e)},t.prototype.query=function(t,e,n){return tt(t,e,n)},t.prototype.computeStyle=function(t,e,n){return window.getComputedStyle(t)[e]},t.prototype.buildKeyframeElement=function(t,e,n){n=n.map(function(t){return et(t)});var r="@keyframes "+e+" {\n",o="";n.forEach(function(t){o=" ";var e=parseFloat(t.offset);r+=""+o+100*e+"% {\n",o+=" ",Object.keys(t).forEach(function(e){var n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(r+=o+"animation-timing-function: "+n+";\n"));default:return void(r+=""+o+e+": "+n+";\n")}}),r+=o+"}\n"}),r+="}\n";var i=document.createElement("style");return i.innerHTML=r,i},t.prototype.animate=function(t,e,n,r,o,i,a){void 0===i&&(i=[]),a&&this._notifyFaultyScrubber();var s=i.filter(function(t){return t instanceof Ne}),u={};wt(n,r)&&s.forEach(function(t){var e=t.currentSnapshot;Object.keys(e).forEach(function(t){return u[t]=e[t]})});var c=function(t){var e={};return t&&(Array.isArray(t)?t:[t]).forEach(function(t){Object.keys(t).forEach(function(n){"offset"!=n&&"easing"!=n&&(e[n]=t[n])})}),e}(e=Ct(t,e,u));if(0==n)return new De(t,c);var l="gen_css_kf_"+this._count++,f=this.buildKeyframeElement(t,l,e);document.querySelector("head").appendChild(f);var p=new Ne(t,e,l,n,r,o,c);return p.onDestroy(function(){var t;(t=f).parentNode.removeChild(t)}),p},t.prototype._notifyFaultyScrubber=function(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n"," visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)},t}(),Fe=function(){function t(t,e,n){this.element=t,this.keyframes=e,this.options=n,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}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},t.prototype.init=function(){this._buildPlayer(),this._preparePlayerBeforeStart()},t.prototype._buildPlayer=function(){var t=this;if(!this._initialized){this._initialized=!0;var e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",function(){return t._onFinish()})}},t.prototype._preparePlayerBeforeStart=function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()},t.prototype._triggerWebAnimation=function(t,e,n){return t.animate(e,n)},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.play=function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[],this._started=!0),this.domPlayer.play()},t.prototype.pause=function(){this.init(),this.domPlayer.pause()},t.prototype.finish=function(){this.init(),this._onFinish(),this.domPlayer.finish()},t.prototype.reset=function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1},t.prototype._resetDomPlayerState=function(){this.domPlayer&&this.domPlayer.cancel()},t.prototype.restart=function(){this.reset(),this.play()},t.prototype.hasStarted=function(){return this._started},t.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])},t.prototype.setPosition=function(t){this.domPlayer.currentTime=t*this.time},t.prototype.getPosition=function(){return this.domPlayer.currentTime/this.time},Object.defineProperty(t.prototype,"totalTime",{get:function(){return this._delay+this._duration},enumerable:!0,configurable:!0}),t.prototype.beforeDestroy=function(){var t=this,e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(function(n){"offset"!=n&&(e[n]=t._finished?t._finalKeyframe[n]:Et(t.element,n))}),this.currentSnapshot=e},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0},t}(),Ve=function(){function t(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Le().toString()),this._cssKeyframesDriver=new Me}return t.prototype.validateStyleProperty=function(t){return J(t)},t.prototype.matchesElement=function(t,e){return $(t,e)},t.prototype.containsElement=function(t,e){return X(t,e)},t.prototype.query=function(t,e,n){return tt(t,e,n)},t.prototype.computeStyle=function(t,e,n){return window.getComputedStyle(t)[e]},t.prototype.overrideWebAnimationsSupport=function(t){this._isNativeImpl=t},t.prototype.animate=function(t,e,n,r,o,i,a){if(void 0===i&&(i=[]),!a&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,r,o,i);var s={duration:n,delay:r,fill:0==r?"both":"forwards"};o&&(s.easing=o);var u={},c=i.filter(function(t){return t instanceof Fe});return wt(n,r)&&c.forEach(function(t){var e=t.currentSnapshot;Object.keys(e).forEach(function(t){return u[t]=e[t]})}),e=Ct(t,e=e.map(function(t){return ct(t,!1)}),u),new Fe(t,e,s)},t}();function Le(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var Ue=function(t){function e(e,n){var o=t.call(this)||this;return o._nextAnimationId=0,o._renderer=e.createRenderer(n.body,{id:"0",encapsulation:r.ViewEncapsulation.None,styles:[],data:{animation:[]}}),o}return Object(u.__extends)(e,t),e.prototype.build=function(t){var e=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(t)?k(t):t;return ze(this._renderer,null,e,"register",[n]),new He(e,this._renderer)},e}(x),He=function(t){function e(e,n){var r=t.call(this)||this;return r._id=e,r._renderer=n,r}return Object(u.__extends)(e,t),e.prototype.create=function(t,e){return new Be(this._id,t,e||{},this._renderer)},e}(T),Be=function(){function t(t,e,n,r){this.id=t,this.element=e,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}return t.prototype._listen=function(t,e){return this._renderer.listen(this.element,"@@"+this.id+":"+t,e)},t.prototype._command=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return ze(this._renderer,this.element,this.id,t,e)},t.prototype.onDone=function(t){this._listen("done",t)},t.prototype.onStart=function(t){this._listen("start",t)},t.prototype.onDestroy=function(t){this._listen("destroy",t)},t.prototype.init=function(){this._command("init")},t.prototype.hasStarted=function(){return this._started},t.prototype.play=function(){this._command("play"),this._started=!0},t.prototype.pause=function(){this._command("pause")},t.prototype.restart=function(){this._command("restart")},t.prototype.finish=function(){this._command("finish")},t.prototype.destroy=function(){this._command("destroy")},t.prototype.reset=function(){this._command("reset")},t.prototype.setPosition=function(t){this._command("setPosition",t)},t.prototype.getPosition=function(){return 0},t}();function ze(t,e,n,r,o){return t.setProperty(e,"@@"+n+":"+r,o)}var qe=function(){function t(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=function(t,e){e&&e.parentNode(t)&&e.removeChild(t.parentNode,t)}}return t.prototype.createRenderer=function(t,e){var n=this,r=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){var o=this._rendererCache.get(r);return o||(o=new Qe("",r,this.engine),this._rendererCache.set(r,o)),o}var i=e.id,a=e.id+"-"+this._currentId;return this._currentId++,this.engine.register(a,t),e.data.animation.forEach(function(e){return n.engine.registerTrigger(i,a,t,e.name,e)}),new Ke(this,a,r,this.engine)},t.prototype.begin=function(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()},t.prototype._scheduleCountTask=function(){var t=this;this.promise.then(function(){t._microtaskId++})},t.prototype.scheduleListenerCallback=function(t,e,n){var r=this;t>=0&&t<this._microtaskId?this._zone.run(function(){return e(n)}):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(function(){r._zone.run(function(){r._animationCallbacksBuffer.forEach(function(t){var e=Object(u.__read)(t,2);(0,e[0])(e[1])}),r._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([e,n]))},t.prototype.end=function(){var t=this;this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(function(){t._scheduleCountTask(),t.engine.flush(t._microtaskId)}),this.delegate.end&&this.delegate.end()},t.prototype.whenRenderingDone=function(){return this.engine.whenRenderingDone()},t}(),Qe=function(){function t(t,e,n){this.namespaceId=t,this.delegate=e,this.engine=n,this.destroyNode=this.delegate.destroyNode?function(t){return e.destroyNode(t)}:null}return Object.defineProperty(t.prototype,"data",{get:function(){return this.delegate.data},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()},t.prototype.createElement=function(t,e){return this.delegate.createElement(t,e)},t.prototype.createComment=function(t){return this.delegate.createComment(t)},t.prototype.createText=function(t){return this.delegate.createText(t)},t.prototype.appendChild=function(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)},t.prototype.insertBefore=function(t,e,n){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,!0)},t.prototype.removeChild=function(t,e){this.engine.onRemove(this.namespaceId,e,this.delegate)},t.prototype.selectRootElement=function(t,e){return this.delegate.selectRootElement(t,e)},t.prototype.parentNode=function(t){return this.delegate.parentNode(t)},t.prototype.nextSibling=function(t){return this.delegate.nextSibling(t)},t.prototype.setAttribute=function(t,e,n,r){this.delegate.setAttribute(t,e,n,r)},t.prototype.removeAttribute=function(t,e,n){this.delegate.removeAttribute(t,e,n)},t.prototype.addClass=function(t,e){this.delegate.addClass(t,e)},t.prototype.removeClass=function(t,e){this.delegate.removeClass(t,e)},t.prototype.setStyle=function(t,e,n,r){this.delegate.setStyle(t,e,n,r)},t.prototype.removeStyle=function(t,e,n){this.delegate.removeStyle(t,e,n)},t.prototype.setProperty=function(t,e,n){"@"==e.charAt(0)&&"@.disabled"==e?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)},t.prototype.setValue=function(t,e){this.delegate.setValue(t,e)},t.prototype.listen=function(t,e,n){return this.delegate.listen(t,e,n)},t.prototype.disableAnimations=function(t,e){this.engine.disableAnimations(t,e)},t}(),Ke=function(t){function e(e,n,r,o){var i=t.call(this,n,r,o)||this;return i.factory=e,i.namespaceId=n,i}return Object(u.__extends)(e,t),e.prototype.setProperty=function(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)},e.prototype.listen=function(t,e,n){var r,o,i,a=this;if("@"==e.charAt(0)){var s=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t),c=e.substr(1),l="";return"@"!=c.charAt(0)&&(c=(r=Object(u.__read)((o=c,i=o.indexOf("."),[o.substring(0,i),o.substr(i+1)]),2))[0],l=r[1]),this.engine.listen(this.namespaceId,s,c,l,function(t){a.factory.scheduleListenerCallback(t._data||-1,n,t)})}return this.delegate.listen(t,e,n)},e}(Qe),Ze=function(t){function e(e,n,r){return t.call(this,e.body,n,r)||this}return Object(u.__extends)(e,t),e}(Se);function Ge(){return"function"==typeof Le()?new Ve:new Me}function We(){return new Gt}function Ye(t,e,n){return new qe(t,e,n)}var Je=new r.InjectionToken("AnimationModuleType"),$e=function(){return function(){}}(),Xe=function(){return function(){}}();n("Phjn"),n("isby"),n("G5J1"),n("zotm"),n("MGBS"),n("9Z1F"),n("2WpN"),n("S1nX");var tn=function(){return function(){}}(),en=r["\u0275cmf"](i,[a],function(t){return r["\u0275mod"]([r["\u0275mpd"](512,r.ComponentFactoryResolver,r["\u0275CodegenComponentFactoryResolver"],[[8,[s.a,O]],[3,r.ComponentFactoryResolver],r.NgModuleRef]),r["\u0275mpd"](5120,r.LOCALE_ID,r["\u0275angular_packages_core_core_o"],[[3,r.LOCALE_ID]]),r["\u0275mpd"](4608,l.m,l.l,[r.LOCALE_ID,[2,l.t]]),r["\u0275mpd"](5120,r.APP_ID,r["\u0275angular_packages_core_core_g"],[]),r["\u0275mpd"](5120,r.IterableDiffers,r["\u0275angular_packages_core_core_m"],[]),r["\u0275mpd"](5120,r.KeyValueDiffers,r["\u0275angular_packages_core_core_n"],[]),r["\u0275mpd"](4608,c.c,c.l,[l.d]),r["\u0275mpd"](6144,r.Sanitizer,null,[c.c]),r["\u0275mpd"](4608,c.f,c.h,[]),r["\u0275mpd"](5120,c.d,function(t,e,n,r,o,i,a,s){return[new c.j(t,e,n),new c.o(r),new c.n(o,i,a,s)]},[l.d,r.NgZone,r.PLATFORM_ID,l.d,l.d,c.f,r["\u0275Console"],[2,c.g]]),r["\u0275mpd"](4608,c.e,c.e,[c.d,r.NgZone]),r["\u0275mpd"](135680,c.m,c.m,[l.d]),r["\u0275mpd"](4608,c.k,c.k,[c.e,c.m]),r["\u0275mpd"](5120,rt,Ge,[]),r["\u0275mpd"](5120,Zt,We,[]),r["\u0275mpd"](4608,Se,Ze,[l.d,rt,Zt]),r["\u0275mpd"](5120,r.RendererFactory2,Ye,[c.k,Se,r.NgZone]),r["\u0275mpd"](6144,c.p,null,[c.m]),r["\u0275mpd"](4608,r.Testability,r.Testability,[r.NgZone]),r["\u0275mpd"](4608,x,Ue,[r.RendererFactory2,c.b]),r["\u0275mpd"](5120,w.a,w.y,[w.k]),r["\u0275mpd"](4608,w.d,w.d,[]),r["\u0275mpd"](6144,w.f,null,[w.d]),r["\u0275mpd"](135680,w.o,w.o,[w.k,r.NgModuleFactoryLoader,r.Compiler,r.Injector,w.f]),r["\u0275mpd"](4608,w.e,w.e,[]),r["\u0275mpd"](5120,w.C,w.u,[w.k,l.p,w.g]),r["\u0275mpd"](5120,w.h,w.B,[w.z]),r["\u0275mpd"](5120,r.APP_BOOTSTRAP_LISTENER,function(t){return[t]},[w.h]),r["\u0275mpd"](1073742336,l.c,l.c,[]),r["\u0275mpd"](1024,r.ErrorHandler,c.q,[]),r["\u0275mpd"](1024,r.NgProbeToken,function(){return[w.t()]},[]),r["\u0275mpd"](512,w.z,w.z,[r.Injector]),r["\u0275mpd"](1024,r.APP_INITIALIZER,function(t,e){return[c.r(t),w.A(e)]},[[2,r.NgProbeToken],w.z]),r["\u0275mpd"](512,r.ApplicationInitStatus,r.ApplicationInitStatus,[[2,r.APP_INITIALIZER]]),r["\u0275mpd"](131584,r.ApplicationRef,r.ApplicationRef,[r.NgZone,r["\u0275Console"],r.Injector,r.ErrorHandler,r.ComponentFactoryResolver,r.ApplicationInitStatus]),r["\u0275mpd"](1073742336,r.ApplicationModule,r.ApplicationModule,[r.ApplicationRef]),r["\u0275mpd"](1073742336,c.a,c.a,[[3,c.a]]),r["\u0275mpd"](1073742336,$e,$e,[]),r["\u0275mpd"](1024,w.s,w.w,[[3,w.k]]),r["\u0275mpd"](512,w.q,w.c,[]),r["\u0275mpd"](512,w.b,w.b,[]),r["\u0275mpd"](256,w.g,{},[]),r["\u0275mpd"](1024,l.h,w.v,[l.o,[2,l.a],w.g]),r["\u0275mpd"](512,l.g,l.g,[l.h]),r["\u0275mpd"](512,r.Compiler,r.Compiler,[]),r["\u0275mpd"](512,r.NgModuleFactoryLoader,r.SystemJsNgModuleLoader,[r.Compiler,[2,r.SystemJsNgModuleLoaderConfig]]),r["\u0275mpd"](1024,w.i,function(){return[[{path:"",pathMatch:"full",redirectTo:"dashboard"},{path:"dashboard",loadChildren:"../dashboard/dashboard.module#DashboardModule"},{path:"**",redirectTo:"dashboard"}]]},[]),r["\u0275mpd"](1024,w.k,w.x,[r.ApplicationRef,w.q,w.b,l.g,r.Injector,r.NgModuleFactoryLoader,r.Compiler,w.i,w.g,[2,w.p],[2,w.j]]),r["\u0275mpd"](1073742336,w.m,w.m,[[2,w.s],[2,w.k]]),r["\u0275mpd"](1073742336,Xe,Xe,[]),r["\u0275mpd"](1073742336,m,m,[]),r["\u0275mpd"](1073742336,h,h,[[2,d],[2,c.g]]),r["\u0275mpd"](1073742336,g,g,[]),r["\u0275mpd"](1073742336,tn,tn,[]),r["\u0275mpd"](1073742336,i,i,[]),r["\u0275mpd"](256,r["\u0275APP_ROOT"],!0,[]),r["\u0275mpd"](256,Je,"BrowserAnimations",[])])});o.a.production&&Object(r.enableProdMode)(),c.i().bootstrapModuleFactory(en).catch(function(t){return console.log(t)})},zotm:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("rPjj"),o=n("Fxb1");function i(t,e,n,i,a){if(void 0===a&&(a=new r.a(t,n,i)),!a.closed)return Object(o.a)(e)(a)}}},[[0,0]]]);